]> git.saurik.com Git - wxWidgets.git/blame - configure
reverted last commit, still broken for VC6
[wxWidgets.git] / configure
CommitLineData
a848cd7e
SC
1#! /bin/sh
2# From configure.in Id: configure.in.
3# Guess values for system-dependent variables and create Makefiles.
7714864e 4# Generated by GNU Autoconf 2.59 for wxWidgets 2.5.3.
a848cd7e 5#
77ffb593 6# Report bugs to <wx-dev@lists.wxwidgets.org>.
a848cd7e 7#
ac1cb8d3 8# Copyright (C) 2003 Free Software Foundation, Inc.
a848cd7e
SC
9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it.
11## --------------------- ##
12## M4sh Initialization. ##
13## --------------------- ##
14
15# Be Bourne compatible
16if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 emulate sh
18 NULLCMD=:
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23 set -o posix
24fi
ac1cb8d3 25DUALCASE=1; export DUALCASE # for MKS sh
a848cd7e
SC
26
27# Support unset when possible.
ac1cb8d3 28if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
a848cd7e
SC
29 as_unset=unset
30else
31 as_unset=false
32fi
33
34
35# Work around bugs in pre-3.0 UWIN ksh.
36$as_unset ENV MAIL MAILPATH
37PS1='$ '
38PS2='> '
39PS4='+ '
40
41# NLS nuisances.
42for as_var in \
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45 LC_TELEPHONE LC_TIME
46do
ac1cb8d3 47 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
a848cd7e
SC
48 eval $as_var=C; export $as_var
49 else
50 $as_unset $as_var
51 fi
52done
53
54# Required to use basename.
55if expr a : '\(a\)' >/dev/null 2>&1; then
56 as_expr=expr
57else
58 as_expr=false
59fi
60
61if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
62 as_basename=basename
63else
64 as_basename=false
65fi
66
67
68# Name of the executable.
69as_me=`$as_basename "$0" ||
70$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
74echo X/"$0" |
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
78 s/.*/./; q'`
79
80
81# PATH needs CR, and LINENO needs CR and PATH.
82# Avoid depending upon Character Ranges.
83as_cr_letters='abcdefghijklmnopqrstuvwxyz'
84as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85as_cr_Letters=$as_cr_letters$as_cr_LETTERS
86as_cr_digits='0123456789'
87as_cr_alnum=$as_cr_Letters$as_cr_digits
88
89# The user is always right.
90if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
93 chmod +x conf$$.sh
94 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
95 PATH_SEPARATOR=';'
96 else
97 PATH_SEPARATOR=:
98 fi
99 rm -f conf$$.sh
100fi
101
102
103 as_lineno_1=$LINENO
104 as_lineno_2=$LINENO
105 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
109 # relative or not.
110 case $0 in
111 *[\\/]* ) as_myself=$0 ;;
112 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113for as_dir in $PATH
114do
115 IFS=$as_save_IFS
116 test -z "$as_dir" && as_dir=.
117 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
118done
119
120 ;;
121 esac
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x; then
125 as_myself=$0
126 fi
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
130 fi
131 case $CONFIG_SHELL in
132 '')
133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
134for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
135do
136 IFS=$as_save_IFS
137 test -z "$as_dir" && as_dir=.
138 for as_base in sh bash ksh sh5; do
139 case $as_dir in
140 /*)
141 if ("$as_dir/$as_base" -c '
142 as_lineno_1=$LINENO
143 as_lineno_2=$LINENO
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
147 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
148 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
149 CONFIG_SHELL=$as_dir/$as_base
150 export CONFIG_SHELL
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
152 fi;;
153 esac
154 done
155done
156;;
157 esac
158
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
168 sed '
169 N
170 s,$,-,
171 : loop
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
173 t loop
174 s,-$,,
175 s,^['$as_cr_digits']*\n,,
176 ' >$as_me.lineno &&
177 chmod +x $as_me.lineno ||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
180
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
184 . ./$as_me.lineno
185 # Exit status is that of the last command.
186 exit
187}
188
189
190case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c*,-n*) ECHO_N= ECHO_C='
192' ECHO_T=' ' ;;
193 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
194 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
195esac
196
197if expr a : '\(a\)' >/dev/null 2>&1; then
198 as_expr=expr
199else
200 as_expr=false
201fi
202
203rm -f conf$$ conf$$.exe conf$$.file
204echo >conf$$.file
205if ln -s conf$$.file conf$$ 2>/dev/null; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe; then
209 # Don't use ln at all; we don't have any links
210 as_ln_s='cp -p'
211 else
212 as_ln_s='ln -s'
213 fi
214elif ln conf$$.file conf$$ 2>/dev/null; then
215 as_ln_s=ln
216else
217 as_ln_s='cp -p'
218fi
219rm -f conf$$ conf$$.exe conf$$.file
220
221if mkdir -p . 2>/dev/null; then
222 as_mkdir_p=:
223else
ac1cb8d3 224 test -d ./-p && rmdir ./-p
a848cd7e
SC
225 as_mkdir_p=false
226fi
227
228as_executable_p="test -f"
229
230# Sed expression to map a string onto a valid CPP name.
ac1cb8d3 231as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
a848cd7e
SC
232
233# Sed expression to map a string onto a valid variable name.
ac1cb8d3 234as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
a848cd7e
SC
235
236
237# IFS
238# We need space, tab and new line, in precisely that order.
239as_nl='
240'
241IFS=" $as_nl"
242
243# CDPATH.
244$as_unset CDPATH
245
246
247# Name of the host.
248# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249# so uname gets run too.
250ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
251
252exec 6>&1
253
254#
255# Initializations.
256#
257ac_default_prefix=/usr/local
258ac_config_libobj_dir=.
259cross_compiling=no
260subdirs=
261MFLAGS=
262MAKEFLAGS=
263SHELL=${CONFIG_SHELL-/bin/sh}
264
265# Maximum number of lines to put in a shell here document.
266# This variable seems obsolete. It should probably be removed, and
267# only ac_max_sed_lines should be used.
268: ${ac_max_here_lines=38}
269
270# Identity of this package.
77ffb593
JS
271PACKAGE_NAME='wxWidgets'
272PACKAGE_TARNAME='wxwidgets'
7714864e
RL
273PACKAGE_VERSION='2.5.3'
274PACKAGE_STRING='wxWidgets 2.5.3'
77ffb593 275PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
a848cd7e
SC
276
277ac_unique_file="wx-config.in"
278# Factoring default headers for most tests.
279ac_includes_default="\
280#include <stdio.h>
281#if HAVE_SYS_TYPES_H
282# include <sys/types.h>
283#endif
284#if HAVE_SYS_STAT_H
285# include <sys/stat.h>
286#endif
287#if STDC_HEADERS
288# include <stdlib.h>
289# include <stddef.h>
290#else
291# if HAVE_STDLIB_H
292# include <stdlib.h>
293# endif
294#endif
295#if HAVE_STRING_H
296# if !STDC_HEADERS && HAVE_MEMORY_H
297# include <memory.h>
298# endif
299# include <string.h>
300#endif
301#if HAVE_STRINGS_H
302# include <strings.h>
303#endif
304#if HAVE_INTTYPES_H
305# include <inttypes.h>
306#else
307# if HAVE_STDINT_H
308# include <stdint.h>
309# endif
310#endif
311#if HAVE_UNISTD_H
312# include <unistd.h>
313#endif"
314
315ac_subdirs_all="$ac_subdirs_all src/expat"
d1c38808 316ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET ac_ct_AR ac_ct_STRIP NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOSX PLATFORM_OS2 SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_OPENGL_1 COND_USE_PLUGINS_0 COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_XRC_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN COND_TOOLKIT_MAC_WXUNIV_0 COND_TOOLKIT_MSW_WXUNIV_0 COND_TOOLKIT_PM_WXUNIV_0 SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_EXTRALIBS WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS GCC_PRAGMA_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
a848cd7e
SC
317ac_subst_files=''
318
319# Initialize some variables set by options.
320ac_init_help=
321ac_init_version=false
322# The variables have the same names as the options, with
323# dashes changed to underlines.
324cache_file=/dev/null
325exec_prefix=NONE
326no_create=
327no_recursion=
328prefix=NONE
329program_prefix=NONE
330program_suffix=NONE
331program_transform_name=s,x,x,
332silent=
333site=
334srcdir=
335verbose=
336x_includes=NONE
337x_libraries=NONE
338
339# Installation directory options.
340# These are left unexpanded so users can "make install exec_prefix=/foo"
341# and all the variables that are supposed to be based on exec_prefix
342# by default will actually change.
343# Use braces instead of parens because sh, perl, etc. also accept them.
344bindir='${exec_prefix}/bin'
345sbindir='${exec_prefix}/sbin'
346libexecdir='${exec_prefix}/libexec'
347datadir='${prefix}/share'
348sysconfdir='${prefix}/etc'
349sharedstatedir='${prefix}/com'
350localstatedir='${prefix}/var'
351libdir='${exec_prefix}/lib'
352includedir='${prefix}/include'
353oldincludedir='/usr/include'
354infodir='${prefix}/info'
355mandir='${prefix}/man'
356
357ac_prev=
358for ac_option
359do
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
363 ac_prev=
364 continue
365 fi
366
367 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
368
369 # Accept the important Cygnus configure options, so we can diagnose typos.
370
371 case $ac_option in
372
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
374 ac_prev=bindir ;;
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
376 bindir=$ac_optarg ;;
377
378 -build | --build | --buil | --bui | --bu)
379 ac_prev=build_alias ;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias=$ac_optarg ;;
382
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev=cache_file ;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file=$ac_optarg ;;
389
390 --config-cache | -C)
391 cache_file=config.cache ;;
392
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
394 ac_prev=datadir ;;
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
396 | --da=*)
397 datadir=$ac_optarg ;;
398
399 -disable-* | --disable-*)
400 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
407
408 -enable-* | --enable-*)
409 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
415 case $ac_option in
416 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 *) ac_optarg=yes ;;
418 esac
419 eval "enable_$ac_feature='$ac_optarg'" ;;
420
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev=exec_prefix ;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix=$ac_optarg ;;
429
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
432 with_gas=yes ;;
433
434 -help | --help | --hel | --he | -h)
435 ac_init_help=long ;;
436 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
437 ac_init_help=recursive ;;
438 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
439 ac_init_help=short ;;
440
441 -host | --host | --hos | --ho)
442 ac_prev=host_alias ;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias=$ac_optarg ;;
445
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev=includedir ;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir=$ac_optarg ;;
452
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
454 ac_prev=infodir ;;
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir=$ac_optarg ;;
457
458 -libdir | --libdir | --libdi | --libd)
459 ac_prev=libdir ;;
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
461 libdir=$ac_optarg ;;
462
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev=libexecdir ;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir=$ac_optarg ;;
469
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev=localstatedir ;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir=$ac_optarg ;;
478
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
480 ac_prev=mandir ;;
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
482 mandir=$ac_optarg ;;
483
484 -nfp | --nfp | --nf)
485 # Obsolete; use --without-fp.
486 with_fp=no ;;
487
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
490 no_create=yes ;;
491
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
494 no_recursion=yes ;;
495
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev=oldincludedir ;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir=$ac_optarg ;;
504
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
506 ac_prev=prefix ;;
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
508 prefix=$ac_optarg ;;
509
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev=program_prefix ;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix=$ac_optarg ;;
516
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev=program_suffix ;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix=$ac_optarg ;;
523
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev=program_transform_name ;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name=$ac_optarg ;;
540
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
543 silent=yes ;;
544
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
546 ac_prev=sbindir ;;
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
548 | --sbi=* | --sb=*)
549 sbindir=$ac_optarg ;;
550
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
554 | --sha | --sh)
555 ac_prev=sharedstatedir ;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
559 | --sha=* | --sh=*)
560 sharedstatedir=$ac_optarg ;;
561
562 -site | --site | --sit)
563 ac_prev=site ;;
564 -site=* | --site=* | --sit=*)
565 site=$ac_optarg ;;
566
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
568 ac_prev=srcdir ;;
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
570 srcdir=$ac_optarg ;;
571
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev=sysconfdir ;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir=$ac_optarg ;;
578
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev=target_alias ;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias=$ac_optarg ;;
583
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
585 verbose=yes ;;
586
587 -version | --version | --versio | --versi | --vers | -V)
588 ac_init_version=: ;;
589
590 -with-* | --with-*)
591 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package=`echo $ac_package| sed 's/-/_/g'`
597 case $ac_option in
598 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 *) ac_optarg=yes ;;
600 esac
601 eval "with_$ac_package='$ac_optarg'" ;;
602
603 -without-* | --without-*)
604 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
611
612 --x)
613 # Obsolete; use --with-x.
614 with_x=yes ;;
615
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev=x_includes ;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes=$ac_optarg ;;
622
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev=x_libraries ;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries=$ac_optarg ;;
629
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
633 ;;
634
635 *=*)
636 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
643 export $ac_envvar ;;
644
645 *)
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651 ;;
652
653 esac
654done
655
656if test -n "$ac_prev"; then
657 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
660fi
661
662# Be sure to have absolute paths.
663for ac_var in exec_prefix prefix
664do
665 eval ac_val=$`echo $ac_var`
666 case $ac_val in
667 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
670 esac
671done
672
673# Be sure to have absolute paths.
674for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
ac1cb8d3 675 localstatedir libdir includedir oldincludedir infodir mandir
a848cd7e
SC
676do
677 eval ac_val=$`echo $ac_var`
678 case $ac_val in
679 [\\/$]* | ?:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
682 esac
683done
684
685# There might be people who depend on the old broken behavior: `$host'
686# used to hold the argument of --host etc.
687# FIXME: To remove some day.
688build=$build_alias
689host=$host_alias
690target=$target_alias
691
692# FIXME: To remove some day.
693if test "x$host_alias" != x; then
694 if test "x$build_alias" = x; then
695 cross_compiling=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
699 cross_compiling=yes
700 fi
701fi
702
703ac_tool_prefix=
704test -n "$host_alias" && ac_tool_prefix=$host_alias-
705
706test "$silent" = yes && exec 6>/dev/null
707
708
709# Find the source files, if location was not specified.
710if test -z "$srcdir"; then
711 ac_srcdir_defaulted=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir=`(dirname "$0") 2>/dev/null ||
714$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
ac1cb8d3
VS
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
a848cd7e
SC
719echo X"$0" |
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
724 s/.*/./; q'`
725 srcdir=$ac_confdir
726 if test ! -r $srcdir/$ac_unique_file; then
727 srcdir=..
728 fi
729else
730 ac_srcdir_defaulted=no
731fi
732if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
736 else
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
739 fi
740fi
741(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745ac_env_build_alias_set=${build_alias+set}
746ac_env_build_alias_value=$build_alias
747ac_cv_env_build_alias_set=${build_alias+set}
748ac_cv_env_build_alias_value=$build_alias
749ac_env_host_alias_set=${host_alias+set}
750ac_env_host_alias_value=$host_alias
751ac_cv_env_host_alias_set=${host_alias+set}
752ac_cv_env_host_alias_value=$host_alias
753ac_env_target_alias_set=${target_alias+set}
754ac_env_target_alias_value=$target_alias
755ac_cv_env_target_alias_set=${target_alias+set}
756ac_cv_env_target_alias_value=$target_alias
757ac_env_CC_set=${CC+set}
758ac_env_CC_value=$CC
759ac_cv_env_CC_set=${CC+set}
760ac_cv_env_CC_value=$CC
761ac_env_CFLAGS_set=${CFLAGS+set}
762ac_env_CFLAGS_value=$CFLAGS
763ac_cv_env_CFLAGS_set=${CFLAGS+set}
764ac_cv_env_CFLAGS_value=$CFLAGS
765ac_env_LDFLAGS_set=${LDFLAGS+set}
766ac_env_LDFLAGS_value=$LDFLAGS
767ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
768ac_cv_env_LDFLAGS_value=$LDFLAGS
769ac_env_CPPFLAGS_set=${CPPFLAGS+set}
770ac_env_CPPFLAGS_value=$CPPFLAGS
771ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
772ac_cv_env_CPPFLAGS_value=$CPPFLAGS
773ac_env_CPP_set=${CPP+set}
774ac_env_CPP_value=$CPP
775ac_cv_env_CPP_set=${CPP+set}
776ac_cv_env_CPP_value=$CPP
777ac_env_CXX_set=${CXX+set}
778ac_env_CXX_value=$CXX
779ac_cv_env_CXX_set=${CXX+set}
780ac_cv_env_CXX_value=$CXX
781ac_env_CXXFLAGS_set=${CXXFLAGS+set}
782ac_env_CXXFLAGS_value=$CXXFLAGS
783ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
784ac_cv_env_CXXFLAGS_value=$CXXFLAGS
785ac_env_CXXCPP_set=${CXXCPP+set}
786ac_env_CXXCPP_value=$CXXCPP
787ac_cv_env_CXXCPP_set=${CXXCPP+set}
788ac_cv_env_CXXCPP_value=$CXXCPP
789
790#
791# Report the --help message.
792#
793if test "$ac_init_help" = "long"; then
794 # Omit some internal or obsolete options to make the list less imposing.
795 # This message is too long to be a string in the A/UX 3.1 sh.
796 cat <<_ACEOF
7714864e 797\`configure' configures wxWidgets 2.5.3 to adapt to many kinds of systems.
a848cd7e
SC
798
799Usage: $0 [OPTION]... [VAR=VALUE]...
800
801To assign environment variables (e.g., CC, CFLAGS...), specify them as
802VAR=VALUE. See below for descriptions of some of the useful variables.
803
804Defaults for the options are specified in brackets.
805
806Configuration:
807 -h, --help display this help and exit
808 --help=short display options specific to this package
809 --help=recursive display the short help of all the included packages
810 -V, --version display version information and exit
811 -q, --quiet, --silent do not print \`checking...' messages
812 --cache-file=FILE cache test results in FILE [disabled]
813 -C, --config-cache alias for \`--cache-file=config.cache'
814 -n, --no-create do not create output files
815 --srcdir=DIR find the sources in DIR [configure dir or \`..']
816
817_ACEOF
818
819 cat <<_ACEOF
820Installation directories:
821 --prefix=PREFIX install architecture-independent files in PREFIX
ac1cb8d3 822 [$ac_default_prefix]
a848cd7e 823 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
ac1cb8d3 824 [PREFIX]
a848cd7e
SC
825
826By default, \`make install' will install all the files in
827\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
828an installation prefix other than \`$ac_default_prefix' using \`--prefix',
829for instance \`--prefix=\$HOME'.
830
831For better control, use the options below.
832
833Fine tuning of the installation directories:
834 --bindir=DIR user executables [EPREFIX/bin]
835 --sbindir=DIR system admin executables [EPREFIX/sbin]
836 --libexecdir=DIR program executables [EPREFIX/libexec]
837 --datadir=DIR read-only architecture-independent data [PREFIX/share]
838 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
839 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
840 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
841 --libdir=DIR object code libraries [EPREFIX/lib]
842 --includedir=DIR C header files [PREFIX/include]
843 --oldincludedir=DIR C header files for non-gcc [/usr/include]
844 --infodir=DIR info documentation [PREFIX/info]
845 --mandir=DIR man documentation [PREFIX/man]
846_ACEOF
847
848 cat <<\_ACEOF
849
850X features:
851 --x-includes=DIR X include files are in DIR
852 --x-libraries=DIR X library files are in DIR
853
854System types:
855 --build=BUILD configure for building on BUILD [guessed]
856 --host=HOST cross-compile to build programs to run on HOST [BUILD]
857 --target=TARGET configure for building compilers for TARGET [HOST]
858_ACEOF
859fi
860
861if test -n "$ac_init_help"; then
862 case $ac_init_help in
7714864e 863 short | recursive ) echo "Configuration of wxWidgets 2.5.3:";;
a848cd7e
SC
864 esac
865 cat <<\_ACEOF
866
867Optional Features:
868 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
869 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
870 --enable-gui use GUI classes
77ffb593
JS
871 --enable-monolithic build wxWidgets as single library
872 --enable-plugins build parts of wxWidgets as loadable components
873 --enable-universal use wxWidgets GUI controls instead of native ones
a848cd7e 874 --enable-nanox use NanoX
9f45f08e 875 --disable-gtk2 use GTK+ 1.2 instead of 2.0
a848cd7e
SC
876 --enable-gpe use GNOME PDA Environment features if possible
877 --enable-shared create shared library code
878 --enable-optimise create optimised code
879 --enable-debug same as debug_flag and debug_info
880 --enable-stl use STL for containers
881 --enable-omf use OMF object format
882 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
883 --enable-debug_info create code with debugging information
884 --enable-debug_gdb create code with extra GDB debugging information
885 --enable-debug_cntxt use wxDebugContext
886 --enable-mem_tracing create code with memory tracing
887 --enable-profile create code with profiling information
888 --enable-no_rtti create code without RTTI information
889 --enable-no_exceptions create code without C++ exceptions handling
890 --enable-permissive compile code disregarding strict ANSI
891 --enable-no_deps create code without dependency information
77ffb593
JS
892 --enable-compat22 enable wxWidgets 2.2 compatibility
893 --disable-compat24 disable wxWidgets 2.4 compatibility
ffa0583f 894 --disable-rpath disable use of rpath for uninstalled builds
a848cd7e
SC
895 --enable-intl use internationalization system
896 --enable-config use wxConfig (and derived) classes
897 --enable-protocols use wxProtocol and derived classes
898 --enable-ftp use wxFTP (requires wxProtocol
899 --enable-http use wxHTTP (requires wxProtocol
900 --enable-fileproto use wxFileProto class (requires wxProtocol
901 --enable-sockets use socket/network classes
902 --enable-ole use OLE classes (Win32 only)
903 --enable-dataobj use data object classes
904 --enable-ipc use interprocess communication (wxSocket etc.)
905 --enable-apple_ieee use the Apple IEEE codec
906 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
907 --enable-cmdline use wxCmdLineParser class
908 --enable-datetime use wxDateTime class
909 --enable-dialupman use dialup network classes
910 --enable-dynlib use wxLibrary class for DLL loading
911 --enable-dynamicloader use (new) wxDynamicLibrary class
912 --enable-exceptions build exception-safe library
913 --enable-ffile use wxFFile class
914 --enable-file use wxFile class
915 --enable-filesystem use virtual file systems classes
916 --enable-fontmap use font encodings conversion classes
917 --enable-fs_inet use virtual HTTP/FTP filesystems
918 --enable-fs_zip use virtual ZIP filesystems
919 --enable-geometry use geometry class
920 --enable-log use logging system
921 --enable-longlong use wxLongLong class
922 --enable-mimetype use wxMimeTypesManager
923 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
924 --enable-snglinst use wxSingleInstanceChecker class
925 --enable-streams use wxStream etc classes
926 --enable-std_iostreams use standard C++ stream classes
927 --enable-stopwatch use wxStopWatch class
928 --enable-sysoptions use wxSystemOptions
929 --enable-textbuf use wxTextBuffer class
930 --enable-textfile use wxTextFile class
931 --enable-timer use wxTimer class
932 --enable-unicode compile wxString with Unicode support
933 --enable-sound use wxSound class
77ffb593 934 --enable-wxprintfv use wxWidgets implementation of vprintf()
a848cd7e 935 --enable-zipstream use wxZipInputStream
a848cd7e
SC
936 --enable-url use wxURL class
937 --enable-protocol use wxProtocol class
938 --enable-protocol-http HTTP support in wxProtocol
939 --enable-protocol-ftp FTP support in wxProtocol
940 --enable-protocol-file FILE support in wxProtocol
941 --enable-threads use threads
942 --enable-docview use document view architecture
943 --enable-help use help subsystem
944 --enable-mshtmlhelp use MS HTML Help (win32)
945 --enable-html use wxHTML sub-library
946 --enable-htmlhelp use wxHTML-based help
9a8f0513 947 --enable-xrc use XRC resources sub-library
a848cd7e
SC
948 --enable-constraints use layout-constraints system
949 --enable-printarch use printing architecture
950 --enable-mdi use multiple document interface architecture
8a7b1113 951 --enable-mdidoc use docview architecture with MDI
a848cd7e
SC
952 --enable-loggui use standard GUI logger
953 --enable-logwin use wxLogWindow
954 --enable-logdialog use wxLogDialog
646b6ec1 955 --enable-webkit use wxWebKitCtrl (Mac)
a848cd7e
SC
956 --enable-postscript use wxPostscriptDC device context (default for gtk+)
957 --enable-prologio not available; see contrib
958 --enable-resources not available; see contrib
959 --enable-clipboard use wxClipboard class
960 --enable-dnd use Drag'n'Drop classes
961 --enable-metafile use win32 metafiles
962 --enable-controls use all usual controls
963 --enable-accel use accelerators
964 --enable-button use wxButton class
965 --enable-bmpbutton use wxBitmapButton class
966 --enable-calendar use wxCalendarCtrl class
967 --enable-caret use wxCaret class
968 --enable-checkbox use wxCheckBox class
969 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
970 --enable-choice use wxChoice class
92bbdbcd 971 --enable-choicebook use wxChoicebook class
a848cd7e
SC
972 --enable-combobox use wxComboBox class
973 --enable-display use wxDisplay class
974 --enable-gauge use wxGauge class
975 --enable-grid use wxGrid class
976 --enable-imaglist use wxImageList class
977 --enable-listbook use wxListbook class
978 --enable-listbox use wxListBox class
979 --enable-listctrl use wxListCtrl class
980 --enable-notebook use wxNotebook class
981 --enable-radiobox use wxRadioBox class
982 --enable-radiobtn use wxRadioButton class
983 --enable-sash use wxSashWindow class
984 --enable-scrollbar use wxScrollBar class and scrollable windows
985 --enable-slider use wxSlider class
986 --enable-spinbtn use wxSpinButton class
987 --enable-spinctrl use wxSpinCtrl class
988 --enable-splitter use wxSplitterWindow class
989 --enable-statbmp use wxStaticBitmap class
990 --enable-statbox use wxStaticBox class
991 --enable-statline use wxStaticLine class
992 --enable-stattext use wxStaticText class
993 --enable-statusbar use wxStatusBar class
994 --enable-tabdialog use wxTabControl class
995 --enable-textctrl use wxTextCtrl class
996 --enable-togglebtn use wxToggleButton class
997 --enable-toolbar use wxToolBar class
998 --enable-tbarnative use native wxToolBar class
999 --enable-tbarsmpl use wxToolBarSimple class
1000 --enable-treectrl use wxTreeCtrl class
1001 --enable-tipwindow use wxTipWindow class
1002 --enable-popupwin use wxPopUpWindow class
1003 --enable-commondlg use all common dialogs
1004 --enable-choicedlg use wxChoiceDialog
1005 --enable-coldlg use wxColourDialog
1006 --enable-filedlg use wxFileDialog
1007 --enable-finddlg use wxFindReplaceDialog
1008 --enable-fontdlg use wxFontDialog
1009 --enable-dirdlg use wxDirDialog
1010 --enable-msgdlg use wxMessageDialog
1011 --enable-numberdlg use wxNumberEntryDialog
1012 --enable-splash use wxSplashScreen
1013 --enable-textdlg use wxTextDialog
1014 --enable-tipdlg use startup tips
1015 --enable-progressdlg use wxProgressDialog
1016 --enable-wizarddlg use wxWizard
1017 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1018 --enable-miniframe use wxMiniFrame class
1019 --enable-tooltips use wxToolTip class
1020 --enable-splines use spline drawing code
1021 --enable-validators use wxValidator and derived classes
1022 --enable-busyinfo use wxBusyInfo
1023 --enable-joystick use wxJoystick (Linux only)
1024 --enable-metafiles use wxMetaFile (Windows only)
1025 --enable-dragimage use wxDragImage
1026 --enable-accessibility enable accessibility support
1027 --enable-palette use wxPalette class
1028 --enable-image use wxImage class
1029 --enable-gif use gif images (GIF file format)
1030 --enable-pcx use pcx images (PCX file format)
1031 --enable-iff use iff images (IFF file format)
1032 --enable-pnm use pnm images (PNM file format)
1033 --enable-xpm use xpm images (XPM file format)
1034 --enable-icocur use Windows ICO and CUR formats
77ffb593 1035 --enable-official_build official build of wxWidgets (win32 DLL only)
a848cd7e
SC
1036 --enable-vendor=VENDOR vendor name (win32 DLL only)
1037 --disable-largefile omit support for large files
1038 --disable-gtktest do not try to compile and run a test GTK+ program
1039 --disable-gtktest Do not try to compile and run a test GTK program
1040 --disable-sdltest Do not try to compile and run a test SDL program
1041 --enable-omf use OMF object format (OS/2)
ebee3cd0
VS
1042 --disable-precomp-headers
1043 don't use precompiled headers even if compiler can
a848cd7e
SC
1044
1045Optional Packages:
1046 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1047 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1048 --with-gtk use GTK+
1049 --with-motif use Motif/Lesstif
1050 --with-mac use Mac OS X
1051 --with-cocoa use Cocoa
1052 --with-wine use Wine
1053 --with-msw use MS-Windows
1054 --with-pm use OS/2 Presentation Manager
1055 --with-mgl use SciTech MGL
1056 --with-microwin use MicroWindows
1057 --with-x11 use X11
1058 --with-libpng use libpng (PNG image format)
1059 --with-libjpeg use libjpeg (JPEG file format)
1060 --with-libtiff use libtiff (TIFF file format)
1061 --with-libxpm use libxpm (XPM file format)
1062 --with-libmspack use libmspack (CHM help files loading)
1063 --with-sdl use SDL for audio on Unix
d1c38808 1064 --with-gnomeprint use GNOME print for audio printing under Unix
a848cd7e
SC
1065 --with-opengl use OpenGL (or Mesa)
1066 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1067 --with-regex enable support for wxRegEx class
1068 --with-zlib use zlib for LZW compression
1069 --with-odbc use the IODBC and wxODBC classes
1070 --with-expat enable XML support using expat parser
ceec2216 1071 --with-flavour=NAME specify a name to identify this build
a848cd7e
SC
1072 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1073 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1074 --with-x use the X Window System
1075 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1076 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1077 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1078 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1079 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1080
1081Some influential environment variables:
dcc1b6ad
VS
1082 CC C compiler command
1083 CFLAGS C compiler flags
1084 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1085 nonstandard directory <lib dir>
1086 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1087 headers in a nonstandard directory <include dir>
1088 CPP C preprocessor
1089 CXX C++ compiler command
1090 CXXFLAGS C++ compiler flags
1091 CXXCPP C++ preprocessor
a848cd7e
SC
1092
1093Use these variables to override the choices made by `configure' or to help
1094it to find libraries and programs with nonstandard names/locations.
1095
77ffb593 1096Report bugs to <wx-dev@lists.wxwidgets.org>.
a848cd7e
SC
1097_ACEOF
1098fi
1099
1100if test "$ac_init_help" = "recursive"; then
1101 # If there are subdirs, report their specific --help.
1102 ac_popdir=`pwd`
1103 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1104 test -d $ac_dir || continue
1105 ac_builddir=.
1106
1107if test "$ac_dir" != .; then
1108 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1109 # A "../" for each directory in $ac_dir_suffix.
1110 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1111else
1112 ac_dir_suffix= ac_top_builddir=
1113fi
1114
1115case $srcdir in
1116 .) # No --srcdir option. We are building in place.
1117 ac_srcdir=.
1118 if test -z "$ac_top_builddir"; then
1119 ac_top_srcdir=.
1120 else
1121 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1122 fi ;;
1123 [\\/]* | ?:[\\/]* ) # Absolute path.
1124 ac_srcdir=$srcdir$ac_dir_suffix;
1125 ac_top_srcdir=$srcdir ;;
1126 *) # Relative path.
1127 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1128 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1129esac
ac1cb8d3
VS
1130
1131# Do not use `cd foo && pwd` to compute absolute paths, because
1132# the directories may not exist.
1133case `pwd` in
1134.) ac_abs_builddir="$ac_dir";;
1135*)
1136 case "$ac_dir" in
1137 .) ac_abs_builddir=`pwd`;;
1138 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1139 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1140 esac;;
1141esac
1142case $ac_abs_builddir in
1143.) ac_abs_top_builddir=${ac_top_builddir}.;;
1144*)
1145 case ${ac_top_builddir}. in
1146 .) ac_abs_top_builddir=$ac_abs_builddir;;
1147 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1148 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1149 esac;;
1150esac
1151case $ac_abs_builddir in
1152.) ac_abs_srcdir=$ac_srcdir;;
1153*)
1154 case $ac_srcdir in
1155 .) ac_abs_srcdir=$ac_abs_builddir;;
1156 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1157 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1158 esac;;
1159esac
1160case $ac_abs_builddir in
1161.) ac_abs_top_srcdir=$ac_top_srcdir;;
1162*)
1163 case $ac_top_srcdir in
1164 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1165 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1166 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1167 esac;;
1168esac
a848cd7e
SC
1169
1170 cd $ac_dir
1171 # Check for guested configure; otherwise get Cygnus style configure.
1172 if test -f $ac_srcdir/configure.gnu; then
1173 echo
1174 $SHELL $ac_srcdir/configure.gnu --help=recursive
1175 elif test -f $ac_srcdir/configure; then
1176 echo
1177 $SHELL $ac_srcdir/configure --help=recursive
1178 elif test -f $ac_srcdir/configure.ac ||
ac1cb8d3 1179 test -f $ac_srcdir/configure.in; then
a848cd7e
SC
1180 echo
1181 $ac_configure --help
1182 else
1183 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1184 fi
d1c38808 1185 cd "$ac_popdir"
a848cd7e
SC
1186 done
1187fi
1188
1189test -n "$ac_init_help" && exit 0
1190if $ac_init_version; then
1191 cat <<\_ACEOF
7714864e 1192wxWidgets configure 2.5.3
ac1cb8d3 1193generated by GNU Autoconf 2.59
a848cd7e 1194
ac1cb8d3 1195Copyright (C) 2003 Free Software Foundation, Inc.
a848cd7e
SC
1196This configure script is free software; the Free Software Foundation
1197gives unlimited permission to copy, distribute and modify it.
1198_ACEOF
1199 exit 0
1200fi
1201exec 5>config.log
1202cat >&5 <<_ACEOF
1203This file contains any messages produced by compilers while
1204running configure, to aid debugging if configure makes a mistake.
1205
7714864e 1206It was created by wxWidgets $as_me 2.5.3, which was
ac1cb8d3 1207generated by GNU Autoconf 2.59. Invocation command line was
a848cd7e
SC
1208
1209 $ $0 $@
1210
1211_ACEOF
1212{
1213cat <<_ASUNAME
1214## --------- ##
1215## Platform. ##
1216## --------- ##
1217
1218hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1219uname -m = `(uname -m) 2>/dev/null || echo unknown`
1220uname -r = `(uname -r) 2>/dev/null || echo unknown`
1221uname -s = `(uname -s) 2>/dev/null || echo unknown`
1222uname -v = `(uname -v) 2>/dev/null || echo unknown`
1223
1224/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1225/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1226
1227/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1228/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1229/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1230hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1231/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1232/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1233/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1234
1235_ASUNAME
1236
1237as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1238for as_dir in $PATH
1239do
1240 IFS=$as_save_IFS
1241 test -z "$as_dir" && as_dir=.
1242 echo "PATH: $as_dir"
1243done
1244
1245} >&5
1246
1247cat >&5 <<_ACEOF
1248
1249
1250## ----------- ##
1251## Core tests. ##
1252## ----------- ##
1253
1254_ACEOF
1255
1256
1257# Keep a trace of the command line.
1258# Strip out --no-create and --no-recursion so they do not pile up.
1259# Strip out --silent because we don't want to record it for future runs.
1260# Also quote any args containing shell meta-characters.
1261# Make two passes to allow for proper duplicate-argument suppression.
1262ac_configure_args=
1263ac_configure_args0=
1264ac_configure_args1=
1265ac_sep=
1266ac_must_keep_next=false
1267for ac_pass in 1 2
1268do
1269 for ac_arg
1270 do
1271 case $ac_arg in
1272 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1273 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1274 | -silent | --silent | --silen | --sile | --sil)
1275 continue ;;
1276 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1277 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1278 esac
1279 case $ac_pass in
1280 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1281 2)
1282 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1283 if test $ac_must_keep_next = true; then
ac1cb8d3 1284 ac_must_keep_next=false # Got value, back to normal.
a848cd7e 1285 else
ac1cb8d3
VS
1286 case $ac_arg in
1287 *=* | --config-cache | -C | -disable-* | --disable-* \
1288 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1289 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1290 | -with-* | --with-* | -without-* | --without-* | --x)
1291 case "$ac_configure_args0 " in
1292 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1293 esac
1294 ;;
1295 -* ) ac_must_keep_next=true ;;
1296 esac
a848cd7e
SC
1297 fi
1298 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1299 # Get rid of the leading space.
1300 ac_sep=" "
1301 ;;
1302 esac
1303 done
1304done
1305$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1306$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1307
1308# When interrupted or exit'd, cleanup temporary files, and complete
1309# config.log. We remove comments because anyway the quotes in there
1310# would cause problems or look ugly.
1311# WARNING: Be sure not to use single quotes in there, as some shells,
1312# such as our DU 5.0 friend, will then `close' the trap.
1313trap 'exit_status=$?
1314 # Save into config.log some information that might help in debugging.
1315 {
1316 echo
1317
1318 cat <<\_ASBOX
1319## ---------------- ##
1320## Cache variables. ##
1321## ---------------- ##
1322_ASBOX
1323 echo
1324 # The following way of writing the cache mishandles newlines in values,
1325{
1326 (set) 2>&1 |
1327 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1328 *ac_space=\ *)
1329 sed -n \
ac1cb8d3
VS
1330 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1331 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
a848cd7e
SC
1332 ;;
1333 *)
1334 sed -n \
ac1cb8d3 1335 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
a848cd7e
SC
1336 ;;
1337 esac;
1338}
1339 echo
1340
1341 cat <<\_ASBOX
1342## ----------------- ##
1343## Output variables. ##
1344## ----------------- ##
1345_ASBOX
1346 echo
1347 for ac_var in $ac_subst_vars
1348 do
1349 eval ac_val=$`echo $ac_var`
1350 echo "$ac_var='"'"'$ac_val'"'"'"
1351 done | sort
1352 echo
1353
1354 if test -n "$ac_subst_files"; then
1355 cat <<\_ASBOX
1356## ------------- ##
1357## Output files. ##
1358## ------------- ##
1359_ASBOX
1360 echo
1361 for ac_var in $ac_subst_files
1362 do
1363 eval ac_val=$`echo $ac_var`
ac1cb8d3 1364 echo "$ac_var='"'"'$ac_val'"'"'"
a848cd7e
SC
1365 done | sort
1366 echo
1367 fi
1368
1369 if test -s confdefs.h; then
1370 cat <<\_ASBOX
1371## ----------- ##
1372## confdefs.h. ##
1373## ----------- ##
1374_ASBOX
1375 echo
1376 sed "/^$/d" confdefs.h | sort
1377 echo
1378 fi
1379 test "$ac_signal" != 0 &&
1380 echo "$as_me: caught signal $ac_signal"
1381 echo "$as_me: exit $exit_status"
1382 } >&5
ac1cb8d3 1383 rm -f core *.core &&
a848cd7e
SC
1384 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1385 exit $exit_status
1386 ' 0
1387for ac_signal in 1 2 13 15; do
1388 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1389done
1390ac_signal=0
1391
1392# confdefs.h avoids OS command line length limits that DEFS can exceed.
1393rm -rf conftest* confdefs.h
1394# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1395echo >confdefs.h
1396
1397# Predefined preprocessor variables.
1398
1399cat >>confdefs.h <<_ACEOF
1400#define PACKAGE_NAME "$PACKAGE_NAME"
1401_ACEOF
1402
1403
1404cat >>confdefs.h <<_ACEOF
1405#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1406_ACEOF
1407
1408
1409cat >>confdefs.h <<_ACEOF
1410#define PACKAGE_VERSION "$PACKAGE_VERSION"
1411_ACEOF
1412
1413
1414cat >>confdefs.h <<_ACEOF
1415#define PACKAGE_STRING "$PACKAGE_STRING"
1416_ACEOF
1417
1418
1419cat >>confdefs.h <<_ACEOF
1420#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1421_ACEOF
1422
1423
1424# Let the site file select an alternate cache file if it wants to.
1425# Prefer explicitly selected file to automatically selected ones.
1426if test -z "$CONFIG_SITE"; then
1427 if test "x$prefix" != xNONE; then
1428 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1429 else
1430 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1431 fi
1432fi
1433for ac_site_file in $CONFIG_SITE; do
1434 if test -r "$ac_site_file"; then
1435 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1436echo "$as_me: loading site script $ac_site_file" >&6;}
1437 sed 's/^/| /' "$ac_site_file" >&5
1438 . "$ac_site_file"
1439 fi
1440done
1441
1442if test -r "$cache_file"; then
1443 # Some versions of bash will fail to source /dev/null (special
1444 # files actually), so we avoid doing that.
1445 if test -f "$cache_file"; then
1446 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1447echo "$as_me: loading cache $cache_file" >&6;}
1448 case $cache_file in
1449 [\\/]* | ?:[\\/]* ) . $cache_file;;
1450 *) . ./$cache_file;;
1451 esac
1452 fi
1453else
1454 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1455echo "$as_me: creating cache $cache_file" >&6;}
1456 >$cache_file
1457fi
1458
1459# Check that the precious variables saved in the cache have kept the same
1460# value.
1461ac_cache_corrupted=false
1462for ac_var in `(set) 2>&1 |
ac1cb8d3 1463 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
a848cd7e
SC
1464 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1465 eval ac_new_set=\$ac_env_${ac_var}_set
1466 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1467 eval ac_new_val="\$ac_env_${ac_var}_value"
1468 case $ac_old_set,$ac_new_set in
1469 set,)
1470 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1471echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1472 ac_cache_corrupted=: ;;
1473 ,set)
1474 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1475echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1476 ac_cache_corrupted=: ;;
1477 ,);;
1478 *)
1479 if test "x$ac_old_val" != "x$ac_new_val"; then
ac1cb8d3 1480 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
a848cd7e 1481echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
ac1cb8d3 1482 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
a848cd7e 1483echo "$as_me: former value: $ac_old_val" >&2;}
ac1cb8d3 1484 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
a848cd7e 1485echo "$as_me: current value: $ac_new_val" >&2;}
ac1cb8d3 1486 ac_cache_corrupted=:
a848cd7e
SC
1487 fi;;
1488 esac
1489 # Pass precious variables to config.status.
1490 if test "$ac_new_set" = set; then
1491 case $ac_new_val in
1492 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1493 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1494 *) ac_arg=$ac_var=$ac_new_val ;;
1495 esac
1496 case " $ac_configure_args " in
1497 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1498 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1499 esac
1500 fi
1501done
1502if $ac_cache_corrupted; then
1503 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1504echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1505 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1506echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1507 { (exit 1); exit 1; }; }
1508fi
1509
1510ac_ext=c
1511ac_cpp='$CPP $CPPFLAGS'
1512ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1513ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1514ac_compiler_gnu=$ac_cv_c_compiler_gnu
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545ac_aux_dir=
1546for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1547 if test -f $ac_dir/install-sh; then
1548 ac_aux_dir=$ac_dir
1549 ac_install_sh="$ac_aux_dir/install-sh -c"
1550 break
1551 elif test -f $ac_dir/install.sh; then
1552 ac_aux_dir=$ac_dir
1553 ac_install_sh="$ac_aux_dir/install.sh -c"
1554 break
1555 elif test -f $ac_dir/shtool; then
1556 ac_aux_dir=$ac_dir
1557 ac_install_sh="$ac_aux_dir/shtool install -c"
1558 break
1559 fi
1560done
1561if test -z "$ac_aux_dir"; then
1562 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1563echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1564 { (exit 1); exit 1; }; }
1565fi
1566ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1567ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1568ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1569
1570# Make sure we can run config.sub.
1571$ac_config_sub sun4 >/dev/null 2>&1 ||
1572 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1573echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1574 { (exit 1); exit 1; }; }
1575
1576echo "$as_me:$LINENO: checking build system type" >&5
1577echo $ECHO_N "checking build system type... $ECHO_C" >&6
1578if test "${ac_cv_build+set}" = set; then
1579 echo $ECHO_N "(cached) $ECHO_C" >&6
1580else
1581 ac_cv_build_alias=$build_alias
1582test -z "$ac_cv_build_alias" &&
1583 ac_cv_build_alias=`$ac_config_guess`
1584test -z "$ac_cv_build_alias" &&
1585 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1586echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1587 { (exit 1); exit 1; }; }
1588ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1589 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1590echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1591 { (exit 1); exit 1; }; }
1592
1593fi
1594echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1595echo "${ECHO_T}$ac_cv_build" >&6
1596build=$ac_cv_build
1597build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1598build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1599build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1600
1601
1602echo "$as_me:$LINENO: checking host system type" >&5
1603echo $ECHO_N "checking host system type... $ECHO_C" >&6
1604if test "${ac_cv_host+set}" = set; then
1605 echo $ECHO_N "(cached) $ECHO_C" >&6
1606else
1607 ac_cv_host_alias=$host_alias
1608test -z "$ac_cv_host_alias" &&
1609 ac_cv_host_alias=$ac_cv_build_alias
1610ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1611 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1612echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1613 { (exit 1); exit 1; }; }
1614
1615fi
1616echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1617echo "${ECHO_T}$ac_cv_host" >&6
1618host=$ac_cv_host
1619host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1620host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1621host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1622
1623
1624echo "$as_me:$LINENO: checking target system type" >&5
1625echo $ECHO_N "checking target system type... $ECHO_C" >&6
1626if test "${ac_cv_target+set}" = set; then
1627 echo $ECHO_N "(cached) $ECHO_C" >&6
1628else
1629 ac_cv_target_alias=$target_alias
1630test "x$ac_cv_target_alias" = "x" &&
1631 ac_cv_target_alias=$ac_cv_host_alias
1632ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1633 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1634echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1635 { (exit 1); exit 1; }; }
1636
1637fi
1638echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1639echo "${ECHO_T}$ac_cv_target" >&6
1640target=$ac_cv_target
1641target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1642target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1643target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1644
1645
1646# The aliases save the names the user supplied, while $host etc.
1647# will get canonicalized.
1648test -n "$target_alias" &&
1649 test "$program_prefix$program_suffix$program_transform_name" = \
1650 NONENONEs,x,x, &&
1651 program_prefix=${target_alias}-
1652
1653
1654
ceec2216
RL
1655wx_major_version_number=2
1656wx_minor_version_number=5
7714864e 1657wx_release_number=3
78a9e10d 1658wx_subrelease_number=1
a848cd7e 1659
ceec2216
RL
1660WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1661WX_VERSION=$WX_RELEASE.$wx_release_number
1662WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
a848cd7e 1663
ceec2216 1664WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
a848cd7e 1665
78a9e10d 1666WX_CURRENT=4
a848cd7e 1667WX_REVISION=0
78a9e10d 1668WX_AGE=1
a848cd7e
SC
1669
1670
1671
1672USE_UNIX=1
1673USE_OS2=0
1674USE_WIN32=0
1675USE_DOS=0
1676USE_BEOS=0
1677USE_MAC=0
1678
1679USE_AIX=
1680USE_BSD= USE_DARWIN= USE_FREEBSD=
1681USE_GNU= USE_HPUX=
1682USE_LINUX=
1683USE_NETBSD=
1684USE_OPENBSD=
1685USE_OSF= USE_SGI=
1686USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1687USE_ULTRIX=
1688USE_UNIXWARE=
1689
1690USE_ALPHA=
1691
1692NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1693
1694ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1695
1696DEFAULT_wxUSE_COCOA=0
1697DEFAULT_wxUSE_GTK=0
1698DEFAULT_wxUSE_MAC=0
1699DEFAULT_wxUSE_MGL=0
1700DEFAULT_wxUSE_MICROWIN=0
1701DEFAULT_wxUSE_MOTIF=0
1702DEFAULT_wxUSE_MSW=0
1703DEFAULT_wxUSE_PM=0
1704DEFAULT_wxUSE_X11=0
1705
1706DEFAULT_DEFAULT_wxUSE_COCOA=0
1707DEFAULT_DEFAULT_wxUSE_GTK=0
1708DEFAULT_DEFAULT_wxUSE_MAC=0
1709DEFAULT_DEFAULT_wxUSE_MGL=0
1710DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1711DEFAULT_DEFAULT_wxUSE_MOTIF=0
1712DEFAULT_DEFAULT_wxUSE_MSW=0
1713DEFAULT_DEFAULT_wxUSE_PM=0
1714DEFAULT_DEFAULT_wxUSE_X11=0
1715
1716PROGRAM_EXT=
1717SO_SUFFIX=so
1718SAMPLES_RPATH_FLAG=
1719SAMPLES_RPATH_POSTLINK=
1720
1721case "${host}" in
1722 *-hp-hpux* )
1723 USE_HPUX=1
1724 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1725 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1726 SO_SUFFIX=sl
1727 cat >>confdefs.h <<\_ACEOF
1728#define __HPUX__ 1
1729_ACEOF
1730
1731 ;;
1732 *-*-linux* )
1733 USE_LINUX=1
1734 cat >>confdefs.h <<\_ACEOF
1735#define __LINUX__ 1
1736_ACEOF
1737
1738 TMP=`uname -m`
1739 if test "x$TMP" = "xalpha"; then
1740 USE_ALPHA=1
1741 cat >>confdefs.h <<\_ACEOF
1742#define __ALPHA__ 1
1743_ACEOF
1744
1745 fi
1746 DEFAULT_DEFAULT_wxUSE_GTK=1
1747 ;;
1748 *-*-gnu* | *-*-k*bsd*-gnu )
1749 USE_GNU=1
1750 TMP=`uname -m`
1751 if test "x$TMP" = "xalpha"; then
1752 USE_ALPHA=1
1753 cat >>confdefs.h <<\_ACEOF
1754#define __ALPHA__ 1
1755_ACEOF
1756
1757 fi
1758 DEFAULT_DEFAULT_wxUSE_GTK=1
1759 ;;
1760 *-*-irix5* | *-*-irix6* )
1761 USE_SGI=1
1762 USE_SVR4=1
1763 cat >>confdefs.h <<\_ACEOF
1764#define __SGI__ 1
1765_ACEOF
1766
1767 cat >>confdefs.h <<\_ACEOF
1768#define __SVR4__ 1
1769_ACEOF
1770
1771 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1772 ;;
1773 *-*-solaris2* )
1774 USE_SUN=1
1775 USE_SOLARIS=1
1776 USE_SVR4=1
1777 cat >>confdefs.h <<\_ACEOF
1778#define __SUN__ 1
1779_ACEOF
1780
1781 cat >>confdefs.h <<\_ACEOF
1782#define __SOLARIS__ 1
1783_ACEOF
1784
1785 cat >>confdefs.h <<\_ACEOF
1786#define __SVR4__ 1
1787_ACEOF
1788
1789 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1790 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1791 ;;
1792 *-*-sunos4* )
1793 USE_SUN=1
1794 USE_SUNOS=1
1795 USE_BSD=1
1796 cat >>confdefs.h <<\_ACEOF
1797#define __SUN__ 1
1798_ACEOF
1799
1800 cat >>confdefs.h <<\_ACEOF
1801#define __SUNOS__ 1
1802_ACEOF
1803
1804 cat >>confdefs.h <<\_ACEOF
1805#define __BSD__ 1
1806_ACEOF
1807
1808 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1809 ;;
1810 *-*-freebsd*)
1811 USE_BSD=1
1812 USE_FREEBSD=1
1813 cat >>confdefs.h <<\_ACEOF
1814#define __FREEBSD__ 1
1815_ACEOF
1816
1817 cat >>confdefs.h <<\_ACEOF
1818#define __BSD__ 1
1819_ACEOF
1820
1821 DEFAULT_DEFAULT_wxUSE_GTK=1
1822 ;;
1823 *-*-openbsd*)
1824 USE_BSD=1
1825 USE_OPENBSD=1
1826 cat >>confdefs.h <<\_ACEOF
1827#define __OPENBSD__ 1
1828_ACEOF
1829
1830 cat >>confdefs.h <<\_ACEOF
1831#define __BSD__ 1
1832_ACEOF
1833
1834 DEFAULT_DEFAULT_wxUSE_GTK=1
1835 ;;
1836 *-*-netbsd*)
1837 USE_BSD=1
1838 USE_NETBSD=1
1839 cat >>confdefs.h <<\_ACEOF
1840#define __NETBSD__ 1
1841_ACEOF
1842
1843 cat >>confdefs.h <<\_ACEOF
1844#define __BSD__ 1
1845_ACEOF
1846
1847 DEFAULT_DEFAULT_wxUSE_GTK=1
1848 ;;
1849 *-*-osf* )
1850 USE_ALPHA=1
1851 USE_OSF=1
1852 cat >>confdefs.h <<\_ACEOF
1853#define __ALPHA__ 1
1854_ACEOF
1855
1856 cat >>confdefs.h <<\_ACEOF
1857#define __OSF__ 1
1858_ACEOF
1859
1860 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1861 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1862 ;;
1863 *-*-dgux5* )
1864 USE_ALPHA=1
1865 USE_SVR4=1
1866 cat >>confdefs.h <<\_ACEOF
1867#define __ALPHA__ 1
1868_ACEOF
1869
1870 cat >>confdefs.h <<\_ACEOF
1871#define __SVR4__ 1
1872_ACEOF
1873
1874 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1875 ;;
1876 *-*-sysv5* )
1877 USE_SYSV=1
1878 USE_SVR4=1
1879 cat >>confdefs.h <<\_ACEOF
1880#define __SYSV__ 1
1881_ACEOF
1882
1883 cat >>confdefs.h <<\_ACEOF
1884#define __SVR4__ 1
1885_ACEOF
1886
1887 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1888 ;;
1889 *-*-aix* )
1890 USE_AIX=1
1891 USE_SYSV=1
1892 USE_SVR4=1
1893 SO_SUFFIX=a
1894 cat >>confdefs.h <<\_ACEOF
1895#define __AIX__ 1
1896_ACEOF
1897
1898 cat >>confdefs.h <<\_ACEOF
1899#define __SYSV__ 1
1900_ACEOF
1901
1902 cat >>confdefs.h <<\_ACEOF
1903#define __SVR4__ 1
1904_ACEOF
1905
1906 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1907 ;;
1908
1909 *-*-*UnixWare*)
1910 USE_SYSV=1
1911 USE_SVR4=1
1912 USE_UNIXWARE=1
1913 cat >>confdefs.h <<\_ACEOF
1914#define __UNIXWARE__ 1
1915_ACEOF
1916
1917 ;;
1918
1919 *-*-cygwin* | *-*-mingw32* )
1920 SO_SUFFIX=dll
1921 PROGRAM_EXT=".exe"
1922 RESCOMP=windres
1923 DEFAULT_DEFAULT_wxUSE_MSW=1
1924 ;;
1925
1926 *-pc-msdosdjgpp )
1927 USE_UNIX=0
1928 USE_DOS=1
1929 cat >>confdefs.h <<\_ACEOF
1930#define __DOS__ 1
1931_ACEOF
1932
1933 PROGRAM_EXT=".exe"
1934 DEFAULT_DEFAULT_wxUSE_MGL=1
1935 LIBS="$LIBS -lstdc++"
1936 ;;
1937
1938 *-pc-os2_emx | *-pc-os2-emx )
1939 cat >>confdefs.h <<\_ACEOF
1940#define __EMX__ 1
1941_ACEOF
1942
1943 USE_OS2=1
1944 cat >>confdefs.h <<\_ACEOF
1945#define __OS2__ 1
1946_ACEOF
1947
1948 PROGRAM_EXT=".exe"
1949 DEFAULT_DEFAULT_wxUSE_PM=1
1950 CXX=gcc
1951 LDFLAGS="$LDFLAGS -Zcrtdll"
1952 ac_executable_extensions=".exe"
1953 export ac_executable_extensions
1954 ac_save_IFS="$IFS"
1955 IFS='\\'
1956 ac_TEMP_PATH=
1957 for ac_dir in $PATH; do
1958 IFS=$ac_save_IFS
1959 if test -z "$ac_TEMP_PATH"; then
1960 ac_TEMP_PATH="$ac_dir"
1961 else
1962 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1963 fi
1964 done
1965 export PATH="$ac_TEMP_PATH"
1966 unset ac_TEMP_PATH
1967 ;;
1968
1969 powerpc-*-darwin* )
1970 USE_BSD=1
1971 USE_DARWIN=1
1972 SO_SUFFIX=dylib
1973 cat >>confdefs.h <<\_ACEOF
1974#define __BSD__ 1
1975_ACEOF
1976
1977 cat >>confdefs.h <<\_ACEOF
1978#define __DARWIN__ 1
1979_ACEOF
1980
1981 cat >>confdefs.h <<\_ACEOF
1982#define __POWERPC__ 1
1983_ACEOF
1984
1985 cat >>confdefs.h <<\_ACEOF
1986#define TARGET_CARBON 1
1987_ACEOF
1988
1989 DEFAULT_DEFAULT_wxUSE_MAC=1
1990 ;;
1991
1992 *-*-beos* )
1993 USE_BEOS=1
1994 cat >>confdefs.h <<\_ACEOF
1995#define __BEOS__ 1
1996_ACEOF
1997
1998 ;;
1999
2000 *)
2001 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2002echo "$as_me: error: unknown system type ${host}." >&2;}
2003 { (exit 1); exit 1; }; }
2004esac
2005
2006
2007
2008
2009 wx_arg_cache_file="configarg.cache"
2010 echo "loading argument cache $wx_arg_cache_file"
2011 rm -f ${wx_arg_cache_file}.tmp
2012 touch ${wx_arg_cache_file}.tmp
2013 touch ${wx_arg_cache_file}
2014
2015
2016DEBUG_CONFIGURE=0
2017if test $DEBUG_CONFIGURE = 1; then
2018 DEFAULT_wxUSE_UNIVERSAL=no
2019 DEFAULT_wxUSE_STL=no
2020
2021 DEFAULT_wxUSE_NANOX=no
2022
2023 DEFAULT_wxUSE_THREADS=yes
2024
2025 DEFAULT_wxUSE_SHARED=yes
2026 DEFAULT_wxUSE_OPTIMISE=no
2027 DEFAULT_wxUSE_PROFILE=no
2028 DEFAULT_wxUSE_NO_DEPS=no
2029 DEFAULT_wxUSE_NO_RTTI=no
2030 DEFAULT_wxUSE_NO_EXCEPTIONS=no
ffa0583f 2031 DEFAULT_wxUSE_RPATH=yes
a848cd7e
SC
2032 DEFAULT_wxUSE_PERMISSIVE=no
2033 DEFAULT_wxUSE_DEBUG_FLAG=yes
2034 DEFAULT_wxUSE_DEBUG_INFO=yes
2035 DEFAULT_wxUSE_DEBUG_GDB=yes
2036 DEFAULT_wxUSE_MEM_TRACING=no
2037 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2038 DEFAULT_wxUSE_DMALLOC=no
2039 DEFAULT_wxUSE_APPLE_IEEE=no
2040
2041 DEFAULT_wxUSE_EXCEPTIONS=no
2042 DEFAULT_wxUSE_LOG=yes
2043 DEFAULT_wxUSE_LOGWINDOW=no
2044 DEFAULT_wxUSE_LOGGUI=no
2045 DEFAULT_wxUSE_LOGDIALOG=no
2046
2047 DEFAULT_wxUSE_GUI=yes
2048 DEFAULT_wxUSE_CONTROLS=no
2049
2050 DEFAULT_wxUSE_REGEX=no
2051 DEFAULT_wxUSE_XML=no
2052 DEFAULT_wxUSE_EXPAT=no
2053 DEFAULT_wxUSE_ZLIB=no
2054 DEFAULT_wxUSE_LIBPNG=no
2055 DEFAULT_wxUSE_LIBJPEG=no
2056 DEFAULT_wxUSE_LIBTIFF=no
2057 DEFAULT_wxUSE_LIBXPM=no
2058 DEFAULT_wxUSE_LIBMSPACK=no
2059 DEFAULT_wxUSE_LIBSDL=no
d1c38808 2060 DEFAULT_wxUSE_LIBGNOMEPRINT=no
a848cd7e
SC
2061 DEFAULT_wxUSE_ODBC=no
2062 DEFAULT_wxUSE_OPENGL=no
2063
2064 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2065 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2066 DEFAULT_wxUSE_STD_IOSTREAM=no
2067 DEFAULT_wxUSE_CMDLINE_PARSER=no
2068 DEFAULT_wxUSE_DATETIME=no
2069 DEFAULT_wxUSE_TIMER=no
2070 DEFAULT_wxUSE_STOPWATCH=no
2071 DEFAULT_wxUSE_FILE=no
2072 DEFAULT_wxUSE_FFILE=no
2073 DEFAULT_wxUSE_TEXTBUFFER=no
2074 DEFAULT_wxUSE_TEXTFILE=no
2075 DEFAULT_wxUSE_SOUND=no
2076 DEFAULT_wxUSE_INTL=no
2077 DEFAULT_wxUSE_CONFIG=no
2078 DEFAULT_wxUSE_FONTMAP=no
2079 DEFAULT_wxUSE_STREAMS=no
2080 DEFAULT_wxUSE_SOCKETS=no
2081 DEFAULT_wxUSE_OLE=no
2082 DEFAULT_wxUSE_DATAOBJ=no
2083 DEFAULT_wxUSE_DIALUP_MANAGER=no
2084 DEFAULT_wxUSE_JOYSTICK=no
2085 DEFAULT_wxUSE_DYNLIB_CLASS=no
2086 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2087 DEFAULT_wxUSE_LONGLONG=no
2088 DEFAULT_wxUSE_GEOMETRY=no
2089
2090 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2091 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2092 DEFAULT_wxUSE_POSTSCRIPT=no
2093
2094 DEFAULT_wxUSE_CLIPBOARD=no
2095 DEFAULT_wxUSE_TOOLTIPS=no
2096 DEFAULT_wxUSE_DRAG_AND_DROP=no
2097 DEFAULT_wxUSE_DRAGIMAGE=no
2098 DEFAULT_wxUSE_SPLINES=no
2099
8a7b1113 2100 DEFAULT_wxUSE_MDI=no
a848cd7e
SC
2101 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2102 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2103 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2104
2105 DEFAULT_wxUSE_RESOURCES=no
2106 DEFAULT_wxUSE_CONSTRAINTS=no
2107 DEFAULT_wxUSE_IPC=no
2108 DEFAULT_wxUSE_HELP=no
2109 DEFAULT_wxUSE_MS_HTML_HELP=no
2110 DEFAULT_wxUSE_WXHTML_HELP=no
2111 DEFAULT_wxUSE_TREELAYOUT=no
2112 DEFAULT_wxUSE_METAFILE=no
2113 DEFAULT_wxUSE_MIMETYPE=no
2114 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2115 DEFAULT_wxUSE_PROTOCOL=no
2116 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2117 DEFAULT_wxUSE_PROTOCOL_FTP=no
2118 DEFAULT_wxUSE_PROTOCOL_FILE=no
2119 DEFAULT_wxUSE_URL=no
2120
2121 DEFAULT_wxUSE_COMMONDLGS=no
2122 DEFAULT_wxUSE_CHOICEDLG=no
2123 DEFAULT_wxUSE_COLOURDLG=no
2124 DEFAULT_wxUSE_DIRDLG=no
2125 DEFAULT_wxUSE_FILEDLG=no
2126 DEFAULT_wxUSE_FINDREPLDLG=no
2127 DEFAULT_wxUSE_FONTDLG=no
2128 DEFAULT_wxUSE_MSGDLG=no
2129 DEFAULT_wxUSE_NUMBERDLG=no
2130 DEFAULT_wxUSE_TEXTDLG=no
2131 DEFAULT_wxUSE_SPLASH=no
2132 DEFAULT_wxUSE_STARTUP_TIPS=no
2133 DEFAULT_wxUSE_PROGRESSDLG=no
2134 DEFAULT_wxUSE_WIZARDDLG=no
2135
2136 DEFAULT_wxUSE_MENUS=no
2137 DEFAULT_wxUSE_MINIFRAME=no
2138 DEFAULT_wxUSE_HTML=no
9a8f0513 2139 DEFAULT_wxUSE_XRC=no
646b6ec1 2140 DEFAULT_wxUSE_WEBKIT=no
a848cd7e
SC
2141 DEFAULT_wxUSE_FILESYSTEM=no
2142 DEFAULT_wxUSE_FS_INET=no
2143 DEFAULT_wxUSE_FS_ZIP=no
2144 DEFAULT_wxUSE_BUSYINFO=no
2145 DEFAULT_wxUSE_ZIPSTREAM=no
a848cd7e
SC
2146 DEFAULT_wxUSE_VALIDATORS=no
2147
2148 DEFAULT_wxUSE_ACCEL=no
2149 DEFAULT_wxUSE_BUTTON=no
2150 DEFAULT_wxUSE_BMPBUTTON=no
2151 DEFAULT_wxUSE_CALCTRL=no
2152 DEFAULT_wxUSE_CARET=no
2153 DEFAULT_wxUSE_CHECKBOX=no
2154 DEFAULT_wxUSE_CHECKLST=no
2155 DEFAULT_wxUSE_CHOICE=no
92bbdbcd 2156 DEFAULT_wxUSE_CHOICEBOOK=no
a848cd7e
SC
2157 DEFAULT_wxUSE_COMBOBOX=no
2158 DEFAULT_wxUSE_DISPLAY=no
2159 DEFAULT_wxUSE_GAUGE=no
2160 DEFAULT_wxUSE_GRID=no
2161 DEFAULT_wxUSE_IMAGLIST=no
2162 DEFAULT_wxUSE_LISTBOOK=no
2163 DEFAULT_wxUSE_LISTBOX=no
2164 DEFAULT_wxUSE_LISTCTRL=no
2165 DEFAULT_wxUSE_NOTEBOOK=no
2166 DEFAULT_wxUSE_RADIOBOX=no
2167 DEFAULT_wxUSE_RADIOBTN=no
2168 DEFAULT_wxUSE_SASH=no
2169 DEFAULT_wxUSE_SCROLLBAR=no
2170 DEFAULT_wxUSE_SLIDER=no
2171 DEFAULT_wxUSE_SPINBTN=no
2172 DEFAULT_wxUSE_SPINCTRL=no
2173 DEFAULT_wxUSE_SPLITTER=no
2174 DEFAULT_wxUSE_STATBMP=no
2175 DEFAULT_wxUSE_STATBOX=no
2176 DEFAULT_wxUSE_STATLINE=no
2177 DEFAULT_wxUSE_STATTEXT=no
2178 DEFAULT_wxUSE_STATUSBAR=yes
2179 DEFAULT_wxUSE_TABDIALOG=no
2180 DEFAULT_wxUSE_TEXTCTRL=no
2181 DEFAULT_wxUSE_TOGGLEBTN=no
2182 DEFAULT_wxUSE_TOOLBAR=no
2183 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2184 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2185 DEFAULT_wxUSE_TREECTRL=no
2186 DEFAULT_wxUSE_POPUPWIN=no
2187 DEFAULT_wxUSE_TIPWINDOW=no
2188
2189 DEFAULT_wxUSE_UNICODE=no
2190 DEFAULT_wxUSE_UNICODE_MSLU=no
2191 DEFAULT_wxUSE_WCSRTOMBS=no
2192
2193 DEFAULT_wxUSE_PALETTE=no
2194 DEFAULT_wxUSE_IMAGE=no
2195 DEFAULT_wxUSE_GIF=no
2196 DEFAULT_wxUSE_PCX=no
2197 DEFAULT_wxUSE_PNM=no
2198 DEFAULT_wxUSE_IFF=no
2199 DEFAULT_wxUSE_XPM=no
2200 DEFAULT_wxUSE_ICO_CUR=no
2201 DEFAULT_wxUSE_ACCESSIBILITY=no
2202
2203 DEFAULT_wxUSE_MONOLITHIC=no
2204 DEFAULT_wxUSE_PLUGINS=no
2205 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2206else
2207 DEFAULT_wxUSE_UNIVERSAL=no
2208 DEFAULT_wxUSE_STL=no
2209
2210 DEFAULT_wxUSE_NANOX=no
2211
2212 DEFAULT_wxUSE_THREADS=yes
2213
2214 DEFAULT_wxUSE_SHARED=yes
2215 DEFAULT_wxUSE_OPTIMISE=yes
2216 DEFAULT_wxUSE_PROFILE=no
2217 DEFAULT_wxUSE_NO_DEPS=no
2218 DEFAULT_wxUSE_NO_RTTI=no
2219 DEFAULT_wxUSE_NO_EXCEPTIONS=no
ffa0583f 2220 DEFAULT_wxUSE_RPATH=yes
a848cd7e
SC
2221 DEFAULT_wxUSE_PERMISSIVE=no
2222 DEFAULT_wxUSE_DEBUG_FLAG=no
2223 DEFAULT_wxUSE_DEBUG_INFO=no
2224 DEFAULT_wxUSE_DEBUG_GDB=no
2225 DEFAULT_wxUSE_MEM_TRACING=no
2226 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2227 DEFAULT_wxUSE_DMALLOC=no
2228 DEFAULT_wxUSE_APPLE_IEEE=yes
2229
2230 DEFAULT_wxUSE_EXCEPTIONS=yes
2231 DEFAULT_wxUSE_LOG=yes
2232 DEFAULT_wxUSE_LOGWINDOW=yes
2233 DEFAULT_wxUSE_LOGGUI=yes
2234 DEFAULT_wxUSE_LOGDIALOG=yes
2235
2236 DEFAULT_wxUSE_GUI=yes
2237
2238 DEFAULT_wxUSE_REGEX=yes
2239 DEFAULT_wxUSE_XML=yes
2240 DEFAULT_wxUSE_EXPAT=yes
2241 DEFAULT_wxUSE_ZLIB=yes
2242 DEFAULT_wxUSE_LIBPNG=yes
2243 DEFAULT_wxUSE_LIBJPEG=yes
2244 DEFAULT_wxUSE_LIBTIFF=yes
2245 DEFAULT_wxUSE_LIBXPM=yes
2246 DEFAULT_wxUSE_LIBMSPACK=yes
2247 DEFAULT_wxUSE_LIBSDL=no
d1c38808 2248 DEFAULT_wxUSE_LIBGNOMEPRINT=no
a848cd7e
SC
2249 DEFAULT_wxUSE_ODBC=no
2250 DEFAULT_wxUSE_OPENGL=no
2251
2252 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2253 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2254 DEFAULT_wxUSE_STD_IOSTREAM=no
2255 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2256 DEFAULT_wxUSE_DATETIME=yes
2257 DEFAULT_wxUSE_TIMER=yes
2258 DEFAULT_wxUSE_STOPWATCH=yes
2259 DEFAULT_wxUSE_FILE=yes
2260 DEFAULT_wxUSE_FFILE=yes
2261 DEFAULT_wxUSE_TEXTBUFFER=yes
2262 DEFAULT_wxUSE_TEXTFILE=yes
2263 DEFAULT_wxUSE_SOUND=yes
2264 DEFAULT_wxUSE_INTL=yes
2265 DEFAULT_wxUSE_CONFIG=yes
2266 DEFAULT_wxUSE_FONTMAP=yes
2267 DEFAULT_wxUSE_STREAMS=yes
2268 DEFAULT_wxUSE_SOCKETS=yes
2269 DEFAULT_wxUSE_OLE=yes
2270 DEFAULT_wxUSE_DATAOBJ=yes
2271 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2272 DEFAULT_wxUSE_JOYSTICK=yes
2273 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2274 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2275 DEFAULT_wxUSE_LONGLONG=yes
2276 DEFAULT_wxUSE_GEOMETRY=yes
2277
2278 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2279 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2280 DEFAULT_wxUSE_POSTSCRIPT=yes
2281
2282 DEFAULT_wxUSE_CLIPBOARD=yes
2283 DEFAULT_wxUSE_TOOLTIPS=yes
2284 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2285 DEFAULT_wxUSE_DRAGIMAGE=yes
2286 DEFAULT_wxUSE_SPLINES=yes
2287
8a7b1113 2288 DEFAULT_wxUSE_MDI=yes
a848cd7e
SC
2289 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2290 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2291 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2292
2293 DEFAULT_wxUSE_RESOURCES=no
2294 DEFAULT_wxUSE_CONSTRAINTS=yes
2295 DEFAULT_wxUSE_IPC=yes
2296 DEFAULT_wxUSE_HELP=yes
2297 DEFAULT_wxUSE_MS_HTML_HELP=yes
2298 DEFAULT_wxUSE_WXHTML_HELP=yes
2299 DEFAULT_wxUSE_TREELAYOUT=yes
2300 DEFAULT_wxUSE_METAFILE=yes
2301 DEFAULT_wxUSE_MIMETYPE=yes
2302 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2303 DEFAULT_wxUSE_PROTOCOL=yes
2304 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2305 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2306 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2307 DEFAULT_wxUSE_URL=yes
2308
2309 DEFAULT_wxUSE_COMMONDLGS=yes
2310 DEFAULT_wxUSE_CHOICEDLG=yes
2311 DEFAULT_wxUSE_COLOURDLG=yes
2312 DEFAULT_wxUSE_DIRDLG=yes
2313 DEFAULT_wxUSE_FILEDLG=yes
2314 DEFAULT_wxUSE_FINDREPLDLG=yes
2315 DEFAULT_wxUSE_FONTDLG=yes
2316 DEFAULT_wxUSE_MSGDLG=yes
2317 DEFAULT_wxUSE_NUMBERDLG=yes
2318 DEFAULT_wxUSE_TEXTDLG=yes
2319 DEFAULT_wxUSE_SPLASH=yes
2320 DEFAULT_wxUSE_STARTUP_TIPS=yes
2321 DEFAULT_wxUSE_PROGRESSDLG=yes
2322 DEFAULT_wxUSE_WIZARDDLG=yes
2323
2324 DEFAULT_wxUSE_MENUS=yes
2325 DEFAULT_wxUSE_MINIFRAME=yes
2326 DEFAULT_wxUSE_HTML=yes
9a8f0513 2327 DEFAULT_wxUSE_XRC=yes
646b6ec1 2328 DEFAULT_wxUSE_WEBKIT=yes
a848cd7e
SC
2329 DEFAULT_wxUSE_FILESYSTEM=yes
2330 DEFAULT_wxUSE_FS_INET=yes
2331 DEFAULT_wxUSE_FS_ZIP=yes
2332 DEFAULT_wxUSE_BUSYINFO=yes
2333 DEFAULT_wxUSE_ZIPSTREAM=yes
a848cd7e
SC
2334 DEFAULT_wxUSE_VALIDATORS=yes
2335
2336 DEFAULT_wxUSE_ACCEL=yes
2337 DEFAULT_wxUSE_BUTTON=yes
2338 DEFAULT_wxUSE_BMPBUTTON=yes
2339 DEFAULT_wxUSE_CALCTRL=yes
2340 DEFAULT_wxUSE_CARET=yes
2341 DEFAULT_wxUSE_CHECKBOX=yes
2342 DEFAULT_wxUSE_CHECKLST=yes
2343 DEFAULT_wxUSE_CHOICE=yes
92bbdbcd 2344 DEFAULT_wxUSE_CHOICEBOOK=yes
a848cd7e
SC
2345 DEFAULT_wxUSE_COMBOBOX=yes
2346 DEFAULT_wxUSE_DISPLAY=yes
2347 DEFAULT_wxUSE_GAUGE=yes
2348 DEFAULT_wxUSE_GRID=yes
2349 DEFAULT_wxUSE_IMAGLIST=yes
2350 DEFAULT_wxUSE_LISTBOOK=yes
2351 DEFAULT_wxUSE_LISTBOX=yes
2352 DEFAULT_wxUSE_LISTCTRL=yes
2353 DEFAULT_wxUSE_NOTEBOOK=yes
2354 DEFAULT_wxUSE_RADIOBOX=yes
2355 DEFAULT_wxUSE_RADIOBTN=yes
2356 DEFAULT_wxUSE_SASH=yes
2357 DEFAULT_wxUSE_SCROLLBAR=yes
2358 DEFAULT_wxUSE_SLIDER=yes
2359 DEFAULT_wxUSE_SPINBTN=yes
2360 DEFAULT_wxUSE_SPINCTRL=yes
2361 DEFAULT_wxUSE_SPLITTER=yes
2362 DEFAULT_wxUSE_STATBMP=yes
2363 DEFAULT_wxUSE_STATBOX=yes
2364 DEFAULT_wxUSE_STATLINE=yes
2365 DEFAULT_wxUSE_STATTEXT=yes
2366 DEFAULT_wxUSE_STATUSBAR=yes
2367 DEFAULT_wxUSE_TABDIALOG=no
2368 DEFAULT_wxUSE_TEXTCTRL=yes
2369 DEFAULT_wxUSE_TOGGLEBTN=yes
2370 DEFAULT_wxUSE_TOOLBAR=yes
2371 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2372 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2373 DEFAULT_wxUSE_TREECTRL=yes
2374 DEFAULT_wxUSE_POPUPWIN=yes
2375 DEFAULT_wxUSE_TIPWINDOW=yes
2376
2377 DEFAULT_wxUSE_UNICODE=no
2378 DEFAULT_wxUSE_UNICODE_MSLU=yes
2379 DEFAULT_wxUSE_WCSRTOMBS=no
2380
2381 DEFAULT_wxUSE_PALETTE=yes
2382 DEFAULT_wxUSE_IMAGE=yes
2383 DEFAULT_wxUSE_GIF=yes
2384 DEFAULT_wxUSE_PCX=yes
2385 DEFAULT_wxUSE_IFF=no
2386 DEFAULT_wxUSE_PNM=yes
2387 DEFAULT_wxUSE_XPM=yes
2388 DEFAULT_wxUSE_ICO_CUR=yes
2389 DEFAULT_wxUSE_ACCESSIBILITY=no
2390
2391 DEFAULT_wxUSE_MONOLITHIC=no
2392 DEFAULT_wxUSE_PLUGINS=no
2393 DEFAULT_wxUSE_OFFICIAL_BUILD=no
9f45f08e
VS
2394
2395 DEFAULT_wxUSE_GTK2=yes
a848cd7e
SC
2396fi
2397
2398
2399
2400for toolkit in `echo $ALL_TOOLKITS`; do
2401 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2402 if test "x$LINE" != "x" ; then
2403 has_toolkit_in_cache=1
2404 eval "DEFAULT_$LINE"
2405 eval "CACHE_$toolkit=1"
2406 fi
2407done
2408
2409
2410
2411 enablestring=
2412 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2413echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2414 no_cache=0
2415 # Check whether --enable-gui or --disable-gui was given.
2416if test "${enable_gui+set}" = set; then
2417 enableval="$enable_gui"
2418
2419 if test "$enableval" = yes; then
2420 ac_cv_use_gui='wxUSE_GUI=yes'
2421 else
2422 ac_cv_use_gui='wxUSE_GUI=no'
2423 fi
2424
2425else
2426
2427 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2428 if test "x$LINE" != x ; then
2429 eval "DEFAULT_$LINE"
2430 else
2431 no_cache=1
2432 fi
2433
2434 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2435
2436fi;
2437
2438 eval "$ac_cv_use_gui"
2439 if test "$no_cache" != 1; then
2440 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2441 fi
2442
2443 if test "$wxUSE_GUI" = yes; then
2444 echo "$as_me:$LINENO: result: yes" >&5
2445echo "${ECHO_T}yes" >&6
2446 else
2447 echo "$as_me:$LINENO: result: no" >&5
2448echo "${ECHO_T}no" >&6
2449 fi
2450
2451
2452 enablestring=
2453 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2454echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2455 no_cache=0
2456 # Check whether --enable-monolithic or --disable-monolithic was given.
2457if test "${enable_monolithic+set}" = set; then
2458 enableval="$enable_monolithic"
2459
2460 if test "$enableval" = yes; then
2461 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2462 else
2463 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2464 fi
2465
2466else
2467
2468 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2469 if test "x$LINE" != x ; then
2470 eval "DEFAULT_$LINE"
2471 else
2472 no_cache=1
2473 fi
2474
2475 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2476
2477fi;
2478
2479 eval "$ac_cv_use_monolithic"
2480 if test "$no_cache" != 1; then
2481 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2482 fi
2483
2484 if test "$wxUSE_MONOLITHIC" = yes; then
2485 echo "$as_me:$LINENO: result: yes" >&5
2486echo "${ECHO_T}yes" >&6
2487 else
2488 echo "$as_me:$LINENO: result: no" >&5
2489echo "${ECHO_T}no" >&6
2490 fi
2491
2492
2493 enablestring=
2494 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2495echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2496 no_cache=0
2497 # Check whether --enable-plugins or --disable-plugins was given.
2498if test "${enable_plugins+set}" = set; then
2499 enableval="$enable_plugins"
2500
2501 if test "$enableval" = yes; then
2502 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2503 else
2504 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2505 fi
2506
2507else
2508
2509 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2510 if test "x$LINE" != x ; then
2511 eval "DEFAULT_$LINE"
2512 else
2513 no_cache=1
2514 fi
2515
2516 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2517
2518fi;
2519
2520 eval "$ac_cv_use_plugins"
2521 if test "$no_cache" != 1; then
2522 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2523 fi
2524
2525 if test "$wxUSE_PLUGINS" = yes; then
2526 echo "$as_me:$LINENO: result: yes" >&5
2527echo "${ECHO_T}yes" >&6
2528 else
2529 echo "$as_me:$LINENO: result: no" >&5
2530echo "${ECHO_T}no" >&6
2531 fi
2532
2533
2534if test "$wxUSE_GUI" = "yes"; then
2535
2536
2537 enablestring=
2538 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2539echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2540 no_cache=0
2541 # Check whether --enable-universal or --disable-universal was given.
2542if test "${enable_universal+set}" = set; then
2543 enableval="$enable_universal"
2544
2545 if test "$enableval" = yes; then
2546 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2547 else
2548 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2549 fi
2550
2551else
2552
2553 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2554 if test "x$LINE" != x ; then
2555 eval "DEFAULT_$LINE"
2556 else
2557 no_cache=1
2558 fi
2559
2560 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2561
2562fi;
2563
2564 eval "$ac_cv_use_universal"
2565 if test "$no_cache" != 1; then
2566 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2567 fi
2568
2569 if test "$wxUSE_UNIVERSAL" = yes; then
2570 echo "$as_me:$LINENO: result: yes" >&5
2571echo "${ECHO_T}yes" >&6
2572 else
2573 echo "$as_me:$LINENO: result: no" >&5
2574echo "${ECHO_T}no" >&6
2575 fi
2576
2577
2578# Check whether --with-gtk or --without-gtk was given.
2579if test "${with_gtk+set}" = set; then
2580 withval="$with_gtk"
2581 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2582fi;
2583
2584# Check whether --with-motif or --without-motif was given.
2585if test "${with_motif+set}" = set; then
2586 withval="$with_motif"
2587 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2588fi;
2589
2590# Check whether --with-mac or --without-mac was given.
2591if test "${with_mac+set}" = set; then
2592 withval="$with_mac"
c228d3a4 2593 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
a848cd7e
SC
2594fi;
2595
2596# Check whether --with-cocoa or --without-cocoa was given.
2597if test "${with_cocoa+set}" = set; then
2598 withval="$with_cocoa"
c228d3a4 2599 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
a848cd7e
SC
2600fi;
2601
2602# Check whether --with-wine or --without-wine was given.
2603if test "${with_wine+set}" = set; then
2604 withval="$with_wine"
2605 wxUSE_WINE="$withval" CACHE_WINE=1
2606fi;
2607
2608# Check whether --with-msw or --without-msw was given.
2609if test "${with_msw+set}" = set; then
2610 withval="$with_msw"
2611 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2612fi;
2613
2614# Check whether --with-pm or --without-pm was given.
2615if test "${with_pm+set}" = set; then
2616 withval="$with_pm"
2617 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2618fi;
2619
2620# Check whether --with-mgl or --without-mgl was given.
2621if test "${with_mgl+set}" = set; then
2622 withval="$with_mgl"
2623 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2624fi;
2625
2626# Check whether --with-microwin or --without-microwin was given.
2627if test "${with_microwin+set}" = set; then
2628 withval="$with_microwin"
2629 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2630fi;
2631
2632# Check whether --with-x11 or --without-x11 was given.
2633if test "${with_x11+set}" = set; then
2634 withval="$with_x11"
2635 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2636fi;
2637
2638 enablestring=
2639 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2640echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2641 no_cache=0
2642 # Check whether --enable-nanox or --disable-nanox was given.
2643if test "${enable_nanox+set}" = set; then
2644 enableval="$enable_nanox"
2645
2646 if test "$enableval" = yes; then
2647 ac_cv_use_nanox='wxUSE_NANOX=yes'
2648 else
2649 ac_cv_use_nanox='wxUSE_NANOX=no'
2650 fi
2651
2652else
2653
2654 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2655 if test "x$LINE" != x ; then
2656 eval "DEFAULT_$LINE"
2657 else
2658 no_cache=1
2659 fi
2660
2661 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2662
2663fi;
2664
2665 eval "$ac_cv_use_nanox"
2666 if test "$no_cache" != 1; then
2667 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2668 fi
2669
2670 if test "$wxUSE_NANOX" = yes; then
2671 echo "$as_me:$LINENO: result: yes" >&5
2672echo "${ECHO_T}yes" >&6
2673 else
2674 echo "$as_me:$LINENO: result: no" >&5
2675echo "${ECHO_T}no" >&6
2676 fi
2677
2678
2679
2680 enablestring=
2681 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2682echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2683 no_cache=0
2684 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2685if test "${enable_gtk2+set}" = set; then
2686 enableval="$enable_gtk2"
2687
2688 if test "$enableval" = yes; then
2689 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2690 else
2691 ac_cv_use_gtk2='wxUSE_GTK2=no'
2692 fi
2693
2694else
2695
2696 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2697 if test "x$LINE" != x ; then
2698 eval "DEFAULT_$LINE"
2699 else
2700 no_cache=1
2701 fi
2702
2703 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2704
2705fi;
2706
2707 eval "$ac_cv_use_gtk2"
2708 if test "$no_cache" != 1; then
2709 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2710 fi
2711
2712 if test "$wxUSE_GTK2" = yes; then
2713 echo "$as_me:$LINENO: result: yes" >&5
2714echo "${ECHO_T}yes" >&6
2715 else
2716 echo "$as_me:$LINENO: result: no" >&5
2717echo "${ECHO_T}no" >&6
2718 fi
2719
2720
2721 enablestring=
2722 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2723echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2724 no_cache=0
2725 # Check whether --enable-gpe or --disable-gpe was given.
2726if test "${enable_gpe+set}" = set; then
2727 enableval="$enable_gpe"
2728
2729 if test "$enableval" = yes; then
2730 ac_cv_use_gpe='wxUSE_GPE=yes'
2731 else
2732 ac_cv_use_gpe='wxUSE_GPE=no'
2733 fi
2734
2735else
2736
2737 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2738 if test "x$LINE" != x ; then
2739 eval "DEFAULT_$LINE"
2740 else
2741 no_cache=1
2742 fi
2743
2744 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2745
2746fi;
2747
2748 eval "$ac_cv_use_gpe"
2749 if test "$no_cache" != 1; then
2750 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2751 fi
2752
2753 if test "$wxUSE_GPE" = yes; then
2754 echo "$as_me:$LINENO: result: yes" >&5
2755echo "${ECHO_T}yes" >&6
2756 else
2757 echo "$as_me:$LINENO: result: no" >&5
2758echo "${ECHO_T}no" >&6
2759 fi
2760
2761
2762
2763 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2764echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2765 no_cache=0
2766
2767# Check whether --with-libpng or --without-libpng was given.
2768if test "${with_libpng+set}" = set; then
2769 withval="$with_libpng"
2770
2771 if test "$withval" = yes; then
2772 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2773 elif test "$withval" = no; then
2774 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2775 elif test "$withval" = sys; then
2776 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2777 elif test "$withval" = builtin; then
2778 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2779 else
2780 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2781echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2782 { (exit 1); exit 1; }; }
2783 fi
2784
2785else
2786
2787 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2788 if test "x$LINE" != x ; then
2789 eval "DEFAULT_$LINE"
2790 else
2791 no_cache=1
2792 fi
2793
2794 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2795
2796fi;
2797
2798 eval "$ac_cv_use_libpng"
2799 if test "$no_cache" != 1; then
2800 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2801 fi
2802
2803 if test "$wxUSE_LIBPNG" = yes; then
2804 echo "$as_me:$LINENO: result: yes" >&5
2805echo "${ECHO_T}yes" >&6
2806 elif test "$wxUSE_LIBPNG" = no; then
2807 echo "$as_me:$LINENO: result: no" >&5
2808echo "${ECHO_T}no" >&6
2809 elif test "$wxUSE_LIBPNG" = sys; then
2810 echo "$as_me:$LINENO: result: system version" >&5
2811echo "${ECHO_T}system version" >&6
2812 elif test "$wxUSE_LIBPNG" = builtin; then
2813 echo "$as_me:$LINENO: result: builtin version" >&5
2814echo "${ECHO_T}builtin version" >&6
2815 else
2816 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2817echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2818 { (exit 1); exit 1; }; }
2819 fi
2820
2821
2822 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2823echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2824 no_cache=0
2825
2826# Check whether --with-libjpeg or --without-libjpeg was given.
2827if test "${with_libjpeg+set}" = set; then
2828 withval="$with_libjpeg"
2829
2830 if test "$withval" = yes; then
2831 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2832 elif test "$withval" = no; then
2833 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2834 elif test "$withval" = sys; then
2835 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2836 elif test "$withval" = builtin; then
2837 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2838 else
2839 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2840echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2841 { (exit 1); exit 1; }; }
2842 fi
2843
2844else
2845
2846 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2847 if test "x$LINE" != x ; then
2848 eval "DEFAULT_$LINE"
2849 else
2850 no_cache=1
2851 fi
2852
2853 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2854
2855fi;
2856
2857 eval "$ac_cv_use_libjpeg"
2858 if test "$no_cache" != 1; then
2859 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2860 fi
2861
2862 if test "$wxUSE_LIBJPEG" = yes; then
2863 echo "$as_me:$LINENO: result: yes" >&5
2864echo "${ECHO_T}yes" >&6
2865 elif test "$wxUSE_LIBJPEG" = no; then
2866 echo "$as_me:$LINENO: result: no" >&5
2867echo "${ECHO_T}no" >&6
2868 elif test "$wxUSE_LIBJPEG" = sys; then
2869 echo "$as_me:$LINENO: result: system version" >&5
2870echo "${ECHO_T}system version" >&6
2871 elif test "$wxUSE_LIBJPEG" = builtin; then
2872 echo "$as_me:$LINENO: result: builtin version" >&5
2873echo "${ECHO_T}builtin version" >&6
2874 else
2875 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2876echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2877 { (exit 1); exit 1; }; }
2878 fi
2879
2880
2881 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2882echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2883 no_cache=0
2884
2885# Check whether --with-libtiff or --without-libtiff was given.
2886if test "${with_libtiff+set}" = set; then
2887 withval="$with_libtiff"
2888
2889 if test "$withval" = yes; then
2890 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2891 elif test "$withval" = no; then
2892 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2893 elif test "$withval" = sys; then
2894 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2895 elif test "$withval" = builtin; then
2896 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2897 else
2898 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2899echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2900 { (exit 1); exit 1; }; }
2901 fi
2902
2903else
2904
2905 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2906 if test "x$LINE" != x ; then
2907 eval "DEFAULT_$LINE"
2908 else
2909 no_cache=1
2910 fi
2911
2912 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2913
2914fi;
2915
2916 eval "$ac_cv_use_libtiff"
2917 if test "$no_cache" != 1; then
2918 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2919 fi
2920
2921 if test "$wxUSE_LIBTIFF" = yes; then
2922 echo "$as_me:$LINENO: result: yes" >&5
2923echo "${ECHO_T}yes" >&6
2924 elif test "$wxUSE_LIBTIFF" = no; then
2925 echo "$as_me:$LINENO: result: no" >&5
2926echo "${ECHO_T}no" >&6
2927 elif test "$wxUSE_LIBTIFF" = sys; then
2928 echo "$as_me:$LINENO: result: system version" >&5
2929echo "${ECHO_T}system version" >&6
2930 elif test "$wxUSE_LIBTIFF" = builtin; then
2931 echo "$as_me:$LINENO: result: builtin version" >&5
2932echo "${ECHO_T}builtin version" >&6
2933 else
2934 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2935echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2936 { (exit 1); exit 1; }; }
2937 fi
2938
2939
2940 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2941echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2942 no_cache=0
2943
2944# Check whether --with-libxpm or --without-libxpm was given.
2945if test "${with_libxpm+set}" = set; then
2946 withval="$with_libxpm"
2947
2948 if test "$withval" = yes; then
2949 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
2950 elif test "$withval" = no; then
2951 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
2952 elif test "$withval" = sys; then
2953 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
2954 elif test "$withval" = builtin; then
2955 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
2956 else
2957 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2958echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2959 { (exit 1); exit 1; }; }
2960 fi
2961
2962else
2963
2964 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2965 if test "x$LINE" != x ; then
2966 eval "DEFAULT_$LINE"
2967 else
2968 no_cache=1
2969 fi
2970
2971 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2972
2973fi;
2974
2975 eval "$ac_cv_use_libxpm"
2976 if test "$no_cache" != 1; then
2977 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2978 fi
2979
2980 if test "$wxUSE_LIBXPM" = yes; then
2981 echo "$as_me:$LINENO: result: yes" >&5
2982echo "${ECHO_T}yes" >&6
2983 elif test "$wxUSE_LIBXPM" = no; then
2984 echo "$as_me:$LINENO: result: no" >&5
2985echo "${ECHO_T}no" >&6
2986 elif test "$wxUSE_LIBXPM" = sys; then
2987 echo "$as_me:$LINENO: result: system version" >&5
2988echo "${ECHO_T}system version" >&6
2989 elif test "$wxUSE_LIBXPM" = builtin; then
2990 echo "$as_me:$LINENO: result: builtin version" >&5
2991echo "${ECHO_T}builtin version" >&6
2992 else
2993 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2994echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2995 { (exit 1); exit 1; }; }
2996 fi
2997
2998
2999 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
3000echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
3001 no_cache=0
3002
3003# Check whether --with-libmspack or --without-libmspack was given.
3004if test "${with_libmspack+set}" = set; then
3005 withval="$with_libmspack"
3006
3007 if test "$withval" = yes; then
3008 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3009 else
3010 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3011 fi
3012
3013else
3014
3015 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3016 if test "x$LINE" != x ; then
3017 eval "DEFAULT_$LINE"
3018 else
3019 no_cache=1
3020 fi
3021
3022 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3023
3024fi;
3025
3026 eval "$ac_cv_use_libmspack"
3027 if test "$no_cache" != 1; then
3028 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3029 fi
3030
3031 if test "$wxUSE_LIBMSPACK" = yes; then
3032 echo "$as_me:$LINENO: result: yes" >&5
3033echo "${ECHO_T}yes" >&6
3034 else
3035 echo "$as_me:$LINENO: result: no" >&5
3036echo "${ECHO_T}no" >&6
3037 fi
3038
3039
3040 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3041echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3042 no_cache=0
3043
3044# Check whether --with-sdl or --without-sdl was given.
3045if test "${with_sdl+set}" = set; then
3046 withval="$with_sdl"
3047
3048 if test "$withval" = yes; then
3049 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3050 else
3051 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3052 fi
3053
3054else
3055
3056 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3057 if test "x$LINE" != x ; then
3058 eval "DEFAULT_$LINE"
3059 else
3060 no_cache=1
3061 fi
3062
3063 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3064
3065fi;
3066
3067 eval "$ac_cv_use_sdl"
3068 if test "$no_cache" != 1; then
3069 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3070 fi
3071
3072 if test "$wxUSE_LIBSDL" = yes; then
3073 echo "$as_me:$LINENO: result: yes" >&5
3074echo "${ECHO_T}yes" >&6
3075 else
3076 echo "$as_me:$LINENO: result: no" >&5
3077echo "${ECHO_T}no" >&6
3078 fi
3079
3080
d1c38808
VZ
3081 echo "$as_me:$LINENO: checking for --with-gnomeprint" >&5
3082echo $ECHO_N "checking for --with-gnomeprint... $ECHO_C" >&6
3083 no_cache=0
3084
3085# Check whether --with-gnomeprint or --without-gnomeprint was given.
3086if test "${with_gnomeprint+set}" = set; then
3087 withval="$with_gnomeprint"
3088
3089 if test "$withval" = yes; then
3090 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3091 else
3092 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3093 fi
3094
3095else
3096
3097 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3098 if test "x$LINE" != x ; then
3099 eval "DEFAULT_$LINE"
3100 else
3101 no_cache=1
3102 fi
3103
3104 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3105
3106fi;
3107
3108 eval "$ac_cv_use_gnomeprint"
3109 if test "$no_cache" != 1; then
3110 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3111 fi
3112
3113 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3114 echo "$as_me:$LINENO: result: yes" >&5
3115echo "${ECHO_T}yes" >&6
3116 else
3117 echo "$as_me:$LINENO: result: no" >&5
3118echo "${ECHO_T}no" >&6
3119 fi
3120
3121
a848cd7e
SC
3122 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3123echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3124 no_cache=0
3125
3126# Check whether --with-opengl or --without-opengl was given.
3127if test "${with_opengl+set}" = set; then
3128 withval="$with_opengl"
3129
3130 if test "$withval" = yes; then
3131 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3132 else
3133 ac_cv_use_opengl='wxUSE_OPENGL=no'
3134 fi
3135
3136else
3137
3138 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3139 if test "x$LINE" != x ; then
3140 eval "DEFAULT_$LINE"
3141 else
3142 no_cache=1
3143 fi
3144
3145 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3146
3147fi;
3148
3149 eval "$ac_cv_use_opengl"
3150 if test "$no_cache" != 1; then
3151 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3152 fi
3153
3154 if test "$wxUSE_OPENGL" = yes; then
3155 echo "$as_me:$LINENO: result: yes" >&5
3156echo "${ECHO_T}yes" >&6
3157 else
3158 echo "$as_me:$LINENO: result: no" >&5
3159echo "${ECHO_T}no" >&6
3160 fi
3161
3162
3163fi
3164
3165
3166 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3167echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3168 no_cache=0
3169
3170# Check whether --with-dmalloc or --without-dmalloc was given.
3171if test "${with_dmalloc+set}" = set; then
3172 withval="$with_dmalloc"
3173
3174 if test "$withval" = yes; then
3175 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3176 else
3177 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3178 fi
3179
3180else
3181
3182 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3183 if test "x$LINE" != x ; then
3184 eval "DEFAULT_$LINE"
3185 else
3186 no_cache=1
3187 fi
3188
3189 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3190
3191fi;
3192
3193 eval "$ac_cv_use_dmalloc"
3194 if test "$no_cache" != 1; then
3195 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3196 fi
3197
3198 if test "$wxUSE_DMALLOC" = yes; then
3199 echo "$as_me:$LINENO: result: yes" >&5
3200echo "${ECHO_T}yes" >&6
3201 else
3202 echo "$as_me:$LINENO: result: no" >&5
3203echo "${ECHO_T}no" >&6
3204 fi
3205
3206
3207 echo "$as_me:$LINENO: checking for --with-regex" >&5
3208echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3209 no_cache=0
3210
3211# Check whether --with-regex or --without-regex was given.
3212if test "${with_regex+set}" = set; then
3213 withval="$with_regex"
3214
3215 if test "$withval" = yes; then
3216 ac_cv_use_regex='wxUSE_REGEX=yes'
3217 elif test "$withval" = no; then
3218 ac_cv_use_regex='wxUSE_REGEX=no'
3219 elif test "$withval" = sys; then
3220 ac_cv_use_regex='wxUSE_REGEX=sys'
3221 elif test "$withval" = builtin; then
3222 ac_cv_use_regex='wxUSE_REGEX=builtin'
3223 else
3224 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3225echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3226 { (exit 1); exit 1; }; }
3227 fi
3228
3229else
3230
3231 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3232 if test "x$LINE" != x ; then
3233 eval "DEFAULT_$LINE"
3234 else
3235 no_cache=1
3236 fi
3237
3238 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3239
3240fi;
3241
3242 eval "$ac_cv_use_regex"
3243 if test "$no_cache" != 1; then
3244 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3245 fi
3246
3247 if test "$wxUSE_REGEX" = yes; then
3248 echo "$as_me:$LINENO: result: yes" >&5
3249echo "${ECHO_T}yes" >&6
3250 elif test "$wxUSE_REGEX" = no; then
3251 echo "$as_me:$LINENO: result: no" >&5
3252echo "${ECHO_T}no" >&6
3253 elif test "$wxUSE_REGEX" = sys; then
3254 echo "$as_me:$LINENO: result: system version" >&5
3255echo "${ECHO_T}system version" >&6
3256 elif test "$wxUSE_REGEX" = builtin; then
3257 echo "$as_me:$LINENO: result: builtin version" >&5
3258echo "${ECHO_T}builtin version" >&6
3259 else
3260 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3261echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3262 { (exit 1); exit 1; }; }
3263 fi
3264
3265
3266 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3267echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3268 no_cache=0
3269
3270# Check whether --with-zlib or --without-zlib was given.
3271if test "${with_zlib+set}" = set; then
3272 withval="$with_zlib"
3273
3274 if test "$withval" = yes; then
3275 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3276 elif test "$withval" = no; then
3277 ac_cv_use_zlib='wxUSE_ZLIB=no'
3278 elif test "$withval" = sys; then
3279 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3280 elif test "$withval" = builtin; then
3281 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3282 else
3283 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3284echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3285 { (exit 1); exit 1; }; }
3286 fi
3287
3288else
3289
3290 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3291 if test "x$LINE" != x ; then
3292 eval "DEFAULT_$LINE"
3293 else
3294 no_cache=1
3295 fi
3296
3297 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3298
3299fi;
3300
3301 eval "$ac_cv_use_zlib"
3302 if test "$no_cache" != 1; then
3303 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3304 fi
3305
3306 if test "$wxUSE_ZLIB" = yes; then
3307 echo "$as_me:$LINENO: result: yes" >&5
3308echo "${ECHO_T}yes" >&6
3309 elif test "$wxUSE_ZLIB" = no; then
3310 echo "$as_me:$LINENO: result: no" >&5
3311echo "${ECHO_T}no" >&6
3312 elif test "$wxUSE_ZLIB" = sys; then
3313 echo "$as_me:$LINENO: result: system version" >&5
3314echo "${ECHO_T}system version" >&6
3315 elif test "$wxUSE_ZLIB" = builtin; then
3316 echo "$as_me:$LINENO: result: builtin version" >&5
3317echo "${ECHO_T}builtin version" >&6
3318 else
3319 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3320echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3321 { (exit 1); exit 1; }; }
3322 fi
3323
3324
3325 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3326echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3327 no_cache=0
3328
3329# Check whether --with-odbc or --without-odbc was given.
3330if test "${with_odbc+set}" = set; then
3331 withval="$with_odbc"
3332
3333 if test "$withval" = yes; then
3334 ac_cv_use_odbc='wxUSE_ODBC=yes'
3335 elif test "$withval" = no; then
3336 ac_cv_use_odbc='wxUSE_ODBC=no'
3337 elif test "$withval" = sys; then
3338 ac_cv_use_odbc='wxUSE_ODBC=sys'
3339 elif test "$withval" = builtin; then
3340 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3341 else
3342 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3343echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3344 { (exit 1); exit 1; }; }
3345 fi
3346
3347else
3348
3349 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3350 if test "x$LINE" != x ; then
3351 eval "DEFAULT_$LINE"
3352 else
3353 no_cache=1
3354 fi
3355
3356 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3357
3358fi;
3359
3360 eval "$ac_cv_use_odbc"
3361 if test "$no_cache" != 1; then
3362 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3363 fi
3364
3365 if test "$wxUSE_ODBC" = yes; then
3366 echo "$as_me:$LINENO: result: yes" >&5
3367echo "${ECHO_T}yes" >&6
3368 elif test "$wxUSE_ODBC" = no; then
3369 echo "$as_me:$LINENO: result: no" >&5
3370echo "${ECHO_T}no" >&6
3371 elif test "$wxUSE_ODBC" = sys; then
3372 echo "$as_me:$LINENO: result: system version" >&5
3373echo "${ECHO_T}system version" >&6
3374 elif test "$wxUSE_ODBC" = builtin; then
3375 echo "$as_me:$LINENO: result: builtin version" >&5
3376echo "${ECHO_T}builtin version" >&6
3377 else
3378 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3379echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3380 { (exit 1); exit 1; }; }
3381 fi
3382
3383
3384 echo "$as_me:$LINENO: checking for --with-expat" >&5
3385echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3386 no_cache=0
3387
3388# Check whether --with-expat or --without-expat was given.
3389if test "${with_expat+set}" = set; then
3390 withval="$with_expat"
3391
3392 if test "$withval" = yes; then
3393 ac_cv_use_expat='wxUSE_EXPAT=yes'
3394 elif test "$withval" = no; then
3395 ac_cv_use_expat='wxUSE_EXPAT=no'
3396 elif test "$withval" = sys; then
3397 ac_cv_use_expat='wxUSE_EXPAT=sys'
3398 elif test "$withval" = builtin; then
3399 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3400 else
3401 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3402echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3403 { (exit 1); exit 1; }; }
3404 fi
3405
3406else
3407
3408 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3409 if test "x$LINE" != x ; then
3410 eval "DEFAULT_$LINE"
3411 else
3412 no_cache=1
3413 fi
3414
3415 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3416
3417fi;
3418
3419 eval "$ac_cv_use_expat"
3420 if test "$no_cache" != 1; then
3421 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3422 fi
3423
3424 if test "$wxUSE_EXPAT" = yes; then
3425 echo "$as_me:$LINENO: result: yes" >&5
3426echo "${ECHO_T}yes" >&6
3427 elif test "$wxUSE_EXPAT" = no; then
3428 echo "$as_me:$LINENO: result: no" >&5
3429echo "${ECHO_T}no" >&6
3430 elif test "$wxUSE_EXPAT" = sys; then
3431 echo "$as_me:$LINENO: result: system version" >&5
3432echo "${ECHO_T}system version" >&6
3433 elif test "$wxUSE_EXPAT" = builtin; then
3434 echo "$as_me:$LINENO: result: builtin version" >&5
3435echo "${ECHO_T}builtin version" >&6
3436 else
3437 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3438echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3439 { (exit 1); exit 1; }; }
3440 fi
3441
3442
3443
3444
3445 enablestring=
3446 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3447echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3448 no_cache=0
3449 # Check whether --enable-shared or --disable-shared was given.
3450if test "${enable_shared+set}" = set; then
3451 enableval="$enable_shared"
3452
3453 if test "$enableval" = yes; then
3454 ac_cv_use_shared='wxUSE_SHARED=yes'
3455 else
3456 ac_cv_use_shared='wxUSE_SHARED=no'
3457 fi
3458
3459else
3460
3461 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3462 if test "x$LINE" != x ; then
3463 eval "DEFAULT_$LINE"
3464 else
3465 no_cache=1
3466 fi
3467
3468 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3469
3470fi;
3471
3472 eval "$ac_cv_use_shared"
3473 if test "$no_cache" != 1; then
3474 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3475 fi
3476
3477 if test "$wxUSE_SHARED" = yes; then
3478 echo "$as_me:$LINENO: result: yes" >&5
3479echo "${ECHO_T}yes" >&6
3480 else
3481 echo "$as_me:$LINENO: result: no" >&5
3482echo "${ECHO_T}no" >&6
3483 fi
3484
3485
3486 enablestring=
3487 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3488echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3489 no_cache=0
3490 # Check whether --enable-optimise or --disable-optimise was given.
3491if test "${enable_optimise+set}" = set; then
3492 enableval="$enable_optimise"
3493
3494 if test "$enableval" = yes; then
3495 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3496 else
3497 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3498 fi
3499
3500else
3501
3502 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3503 if test "x$LINE" != x ; then
3504 eval "DEFAULT_$LINE"
3505 else
3506 no_cache=1
3507 fi
3508
3509 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3510
3511fi;
3512
3513 eval "$ac_cv_use_optimise"
3514 if test "$no_cache" != 1; then
3515 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3516 fi
3517
3518 if test "$wxUSE_OPTIMISE" = yes; then
3519 echo "$as_me:$LINENO: result: yes" >&5
3520echo "${ECHO_T}yes" >&6
3521 else
3522 echo "$as_me:$LINENO: result: no" >&5
3523echo "${ECHO_T}no" >&6
3524 fi
3525
3526
3527 enablestring=
3528 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3529echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3530 no_cache=0
3531 # Check whether --enable-debug or --disable-debug was given.
3532if test "${enable_debug+set}" = set; then
3533 enableval="$enable_debug"
3534
3535 if test "$enableval" = yes; then
3536 ac_cv_use_debug='wxUSE_DEBUG=yes'
3537 else
3538 ac_cv_use_debug='wxUSE_DEBUG=no'
3539 fi
3540
3541else
3542
3543 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3544 if test "x$LINE" != x ; then
3545 eval "DEFAULT_$LINE"
3546 else
3547 no_cache=1
3548 fi
3549
3550 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3551
3552fi;
3553
3554 eval "$ac_cv_use_debug"
3555 if test "$no_cache" != 1; then
3556 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3557 fi
3558
3559 if test "$wxUSE_DEBUG" = yes; then
3560 echo "$as_me:$LINENO: result: yes" >&5
3561echo "${ECHO_T}yes" >&6
3562 else
3563 echo "$as_me:$LINENO: result: no" >&5
3564echo "${ECHO_T}no" >&6
3565 fi
3566
3567
3568 enablestring=
3569 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3570echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3571 no_cache=0
3572 # Check whether --enable-stl or --disable-stl was given.
3573if test "${enable_stl+set}" = set; then
3574 enableval="$enable_stl"
3575
3576 if test "$enableval" = yes; then
3577 ac_cv_use_stl='wxUSE_STL=yes'
3578 else
3579 ac_cv_use_stl='wxUSE_STL=no'
3580 fi
3581
3582else
3583
3584 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3585 if test "x$LINE" != x ; then
3586 eval "DEFAULT_$LINE"
3587 else
3588 no_cache=1
3589 fi
3590
3591 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3592
3593fi;
3594
3595 eval "$ac_cv_use_stl"
3596 if test "$no_cache" != 1; then
3597 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3598 fi
3599
3600 if test "$wxUSE_STL" = yes; then
3601 echo "$as_me:$LINENO: result: yes" >&5
3602echo "${ECHO_T}yes" >&6
3603 else
3604 echo "$as_me:$LINENO: result: no" >&5
3605echo "${ECHO_T}no" >&6
3606 fi
3607
3608if test "$USE_OS2" = "1"; then
3609
3610 enablestring=
3611 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3612echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3613 no_cache=0
3614 # Check whether --enable-omf or --disable-omf was given.
3615if test "${enable_omf+set}" = set; then
3616 enableval="$enable_omf"
3617
3618 if test "$enableval" = yes; then
3619 ac_cv_use_omf='wxUSE_OMF=yes'
3620 else
3621 ac_cv_use_omf='wxUSE_OMF=no'
3622 fi
3623
3624else
3625
3626 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3627 if test "x$LINE" != x ; then
3628 eval "DEFAULT_$LINE"
3629 else
3630 no_cache=1
3631 fi
3632
3633 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3634
3635fi;
3636
3637 eval "$ac_cv_use_omf"
3638 if test "$no_cache" != 1; then
3639 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3640 fi
3641
3642 if test "$wxUSE_OMF" = yes; then
3643 echo "$as_me:$LINENO: result: yes" >&5
3644echo "${ECHO_T}yes" >&6
3645 else
3646 echo "$as_me:$LINENO: result: no" >&5
3647echo "${ECHO_T}no" >&6
3648 fi
3649
3650fi
3651
3652if test "$wxUSE_DEBUG" = "yes"; then
3653 DEFAULT_wxUSE_DEBUG_FLAG=yes
3654 DEFAULT_wxUSE_DEBUG_INFO=yes
3655 BUILD=debug
3656elif test "$wxUSE_DEBUG" = "no"; then
3657 DEFAULT_wxUSE_DEBUG_FLAG=no
3658 DEFAULT_wxUSE_DEBUG_INFO=no
3659 BUILD=release
3660fi
3661
3662
3663 enablestring=
3664 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3665echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3666 no_cache=0
3667 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3668if test "${enable_debug_flag+set}" = set; then
3669 enableval="$enable_debug_flag"
3670
3671 if test "$enableval" = yes; then
3672 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3673 else
3674 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3675 fi
3676
3677else
3678
3679 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3680 if test "x$LINE" != x ; then
3681 eval "DEFAULT_$LINE"
3682 else
3683 no_cache=1
3684 fi
3685
3686 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3687
3688fi;
3689
3690 eval "$ac_cv_use_debug_flag"
3691 if test "$no_cache" != 1; then
3692 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3693 fi
3694
3695 if test "$wxUSE_DEBUG_FLAG" = yes; then
3696 echo "$as_me:$LINENO: result: yes" >&5
3697echo "${ECHO_T}yes" >&6
3698 else
3699 echo "$as_me:$LINENO: result: no" >&5
3700echo "${ECHO_T}no" >&6
3701 fi
3702
3703
3704 enablestring=
3705 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3706echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3707 no_cache=0
3708 # Check whether --enable-debug_info or --disable-debug_info was given.
3709if test "${enable_debug_info+set}" = set; then
3710 enableval="$enable_debug_info"
3711
3712 if test "$enableval" = yes; then
3713 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3714 else
3715 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3716 fi
3717
3718else
3719
3720 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3721 if test "x$LINE" != x ; then
3722 eval "DEFAULT_$LINE"
3723 else
3724 no_cache=1
3725 fi
3726
3727 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3728
3729fi;
3730
3731 eval "$ac_cv_use_debug_info"
3732 if test "$no_cache" != 1; then
3733 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3734 fi
3735
3736 if test "$wxUSE_DEBUG_INFO" = yes; then
3737 echo "$as_me:$LINENO: result: yes" >&5
3738echo "${ECHO_T}yes" >&6
3739 else
3740 echo "$as_me:$LINENO: result: no" >&5
3741echo "${ECHO_T}no" >&6
3742 fi
3743
3744
3745 enablestring=
3746 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3747echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3748 no_cache=0
3749 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3750if test "${enable_debug_gdb+set}" = set; then
3751 enableval="$enable_debug_gdb"
3752
3753 if test "$enableval" = yes; then
3754 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3755 else
3756 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3757 fi
3758
3759else
3760
3761 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3762 if test "x$LINE" != x ; then
3763 eval "DEFAULT_$LINE"
3764 else
3765 no_cache=1
3766 fi
3767
3768 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3769
3770fi;
3771
3772 eval "$ac_cv_use_debug_gdb"
3773 if test "$no_cache" != 1; then
3774 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3775 fi
3776
3777 if test "$wxUSE_DEBUG_GDB" = yes; then
3778 echo "$as_me:$LINENO: result: yes" >&5
3779echo "${ECHO_T}yes" >&6
3780 else
3781 echo "$as_me:$LINENO: result: no" >&5
3782echo "${ECHO_T}no" >&6
3783 fi
3784
3785
3786 enablestring=
3787 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3788echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3789 no_cache=0
3790 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3791if test "${enable_debug_cntxt+set}" = set; then
3792 enableval="$enable_debug_cntxt"
3793
3794 if test "$enableval" = yes; then
3795 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3796 else
3797 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3798 fi
3799
3800else
3801
3802 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3803 if test "x$LINE" != x ; then
3804 eval "DEFAULT_$LINE"
3805 else
3806 no_cache=1
3807 fi
3808
3809 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3810
3811fi;
3812
3813 eval "$ac_cv_use_debug_cntxt"
3814 if test "$no_cache" != 1; then
3815 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3816 fi
3817
3818 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3819 echo "$as_me:$LINENO: result: yes" >&5
3820echo "${ECHO_T}yes" >&6
3821 else
3822 echo "$as_me:$LINENO: result: no" >&5
3823echo "${ECHO_T}no" >&6
3824 fi
3825
3826
3827 enablestring=
3828 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3829echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3830 no_cache=0
3831 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3832if test "${enable_mem_tracing+set}" = set; then
3833 enableval="$enable_mem_tracing"
3834
3835 if test "$enableval" = yes; then
3836 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3837 else
3838 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3839 fi
3840
3841else
3842
3843 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3844 if test "x$LINE" != x ; then
3845 eval "DEFAULT_$LINE"
3846 else
3847 no_cache=1
3848 fi
3849
3850 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3851
3852fi;
3853
3854 eval "$ac_cv_use_mem_tracing"
3855 if test "$no_cache" != 1; then
3856 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3857 fi
3858
3859 if test "$wxUSE_MEM_TRACING" = yes; then
3860 echo "$as_me:$LINENO: result: yes" >&5
3861echo "${ECHO_T}yes" >&6
3862 else
3863 echo "$as_me:$LINENO: result: no" >&5
3864echo "${ECHO_T}no" >&6
3865 fi
3866
3867
3868 enablestring=
3869 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3870echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3871 no_cache=0
3872 # Check whether --enable-profile or --disable-profile was given.
3873if test "${enable_profile+set}" = set; then
3874 enableval="$enable_profile"
3875
3876 if test "$enableval" = yes; then
3877 ac_cv_use_profile='wxUSE_PROFILE=yes'
3878 else
3879 ac_cv_use_profile='wxUSE_PROFILE=no'
3880 fi
3881
3882else
3883
3884 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3885 if test "x$LINE" != x ; then
3886 eval "DEFAULT_$LINE"
3887 else
3888 no_cache=1
3889 fi
3890
3891 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3892
3893fi;
3894
3895 eval "$ac_cv_use_profile"
3896 if test "$no_cache" != 1; then
3897 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3898 fi
3899
3900 if test "$wxUSE_PROFILE" = yes; then
3901 echo "$as_me:$LINENO: result: yes" >&5
3902echo "${ECHO_T}yes" >&6
3903 else
3904 echo "$as_me:$LINENO: result: no" >&5
3905echo "${ECHO_T}no" >&6
3906 fi
3907
3908
3909 enablestring=
3910 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3911echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3912 no_cache=0
3913 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3914if test "${enable_no_rtti+set}" = set; then
3915 enableval="$enable_no_rtti"
3916
3917 if test "$enableval" = yes; then
3918 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3919 else
3920 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3921 fi
3922
3923else
3924
3925 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3926 if test "x$LINE" != x ; then
3927 eval "DEFAULT_$LINE"
3928 else
3929 no_cache=1
3930 fi
3931
3932 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3933
3934fi;
3935
3936 eval "$ac_cv_use_no_rtti"
3937 if test "$no_cache" != 1; then
3938 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3939 fi
3940
3941 if test "$wxUSE_NO_RTTI" = yes; then
3942 echo "$as_me:$LINENO: result: yes" >&5
3943echo "${ECHO_T}yes" >&6
3944 else
3945 echo "$as_me:$LINENO: result: no" >&5
3946echo "${ECHO_T}no" >&6
3947 fi
3948
3949
3950 enablestring=
3951 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3952echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3953 no_cache=0
3954 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3955if test "${enable_no_exceptions+set}" = set; then
3956 enableval="$enable_no_exceptions"
3957
3958 if test "$enableval" = yes; then
3959 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3960 else
3961 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3962 fi
3963
3964else
3965
3966 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3967 if test "x$LINE" != x ; then
3968 eval "DEFAULT_$LINE"
3969 else
3970 no_cache=1
3971 fi
3972
3973 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3974
3975fi;
3976
3977 eval "$ac_cv_use_no_exceptions"
3978 if test "$no_cache" != 1; then
3979 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3980 fi
3981
3982 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3983 echo "$as_me:$LINENO: result: yes" >&5
3984echo "${ECHO_T}yes" >&6
3985 else
3986 echo "$as_me:$LINENO: result: no" >&5
3987echo "${ECHO_T}no" >&6
3988 fi
3989
3990
3991 enablestring=
3992 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3993echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3994 no_cache=0
3995 # Check whether --enable-permissive or --disable-permissive was given.
3996if test "${enable_permissive+set}" = set; then
3997 enableval="$enable_permissive"
3998
3999 if test "$enableval" = yes; then
4000 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4001 else
4002 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4003 fi
4004
4005else
4006
4007 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4008 if test "x$LINE" != x ; then
4009 eval "DEFAULT_$LINE"
4010 else
4011 no_cache=1
4012 fi
4013
4014 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4015
4016fi;
4017
4018 eval "$ac_cv_use_permissive"
4019 if test "$no_cache" != 1; then
4020 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4021 fi
4022
4023 if test "$wxUSE_PERMISSIVE" = yes; then
4024 echo "$as_me:$LINENO: result: yes" >&5
4025echo "${ECHO_T}yes" >&6
4026 else
4027 echo "$as_me:$LINENO: result: no" >&5
4028echo "${ECHO_T}no" >&6
4029 fi
4030
4031
4032 enablestring=
4033 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4034echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4035 no_cache=0
4036 # Check whether --enable-no_deps or --disable-no_deps was given.
4037if test "${enable_no_deps+set}" = set; then
4038 enableval="$enable_no_deps"
4039
4040 if test "$enableval" = yes; then
4041 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4042 else
4043 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4044 fi
4045
4046else
4047
4048 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4049 if test "x$LINE" != x ; then
4050 eval "DEFAULT_$LINE"
4051 else
4052 no_cache=1
4053 fi
4054
4055 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4056
4057fi;
4058
4059 eval "$ac_cv_use_no_deps"
4060 if test "$no_cache" != 1; then
4061 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4062 fi
4063
4064 if test "$wxUSE_NO_DEPS" = yes; then
4065 echo "$as_me:$LINENO: result: yes" >&5
4066echo "${ECHO_T}yes" >&6
4067 else
4068 echo "$as_me:$LINENO: result: no" >&5
4069echo "${ECHO_T}no" >&6
4070 fi
4071
4072
4073
4074 enablestring=
4075 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4076echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4077 no_cache=0
4078 # Check whether --enable-compat22 or --disable-compat22 was given.
4079if test "${enable_compat22+set}" = set; then
4080 enableval="$enable_compat22"
4081
4082 if test "$enableval" = yes; then
4083 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
4084 else
4085 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
4086 fi
4087
4088else
4089
4090 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4091 if test "x$LINE" != x ; then
4092 eval "DEFAULT_$LINE"
4093 else
4094 no_cache=1
4095 fi
4096
4097 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4098
4099fi;
4100
4101 eval "$ac_cv_use_compat22"
4102 if test "$no_cache" != 1; then
4103 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4104 fi
4105
4106 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4107 echo "$as_me:$LINENO: result: yes" >&5
4108echo "${ECHO_T}yes" >&6
4109 else
4110 echo "$as_me:$LINENO: result: no" >&5
4111echo "${ECHO_T}no" >&6
4112 fi
4113
4114
4115 enablestring=disable
4116 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4117echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4118 no_cache=0
4119 # Check whether --enable-compat24 or --disable-compat24 was given.
4120if test "${enable_compat24+set}" = set; then
4121 enableval="$enable_compat24"
4122
4123 if test "$enableval" = yes; then
4124 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4125 else
4126 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4127 fi
4128
4129else
4130
4131 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4132 if test "x$LINE" != x ; then
4133 eval "DEFAULT_$LINE"
4134 else
4135 no_cache=1
4136 fi
4137
4138 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4139
4140fi;
4141
4142 eval "$ac_cv_use_compat24"
4143 if test "$no_cache" != 1; then
4144 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4145 fi
4146
4147 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4148 echo "$as_me:$LINENO: result: yes" >&5
4149echo "${ECHO_T}yes" >&6
4150 else
4151 echo "$as_me:$LINENO: result: no" >&5
4152echo "${ECHO_T}no" >&6
4153 fi
4154
4155
ffa0583f
RL
4156
4157 enablestring=
4158 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4159echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4160 no_cache=0
4161 # Check whether --enable-rpath or --disable-rpath was given.
a848cd7e
SC
4162if test "${enable_rpath+set}" = set; then
4163 enableval="$enable_rpath"
ffa0583f
RL
4164
4165 if test "$enableval" = yes; then
4166 ac_cv_use_rpath='wxUSE_RPATH=yes'
4167 else
4168 ac_cv_use_rpath='wxUSE_RPATH=no'
4169 fi
4170
4171else
4172
4173 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4174 if test "x$LINE" != x ; then
4175 eval "DEFAULT_$LINE"
4176 else
4177 no_cache=1
4178 fi
4179
4180 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4181
a848cd7e
SC
4182fi;
4183
ffa0583f
RL
4184 eval "$ac_cv_use_rpath"
4185 if test "$no_cache" != 1; then
4186 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4187 fi
4188
4189 if test "$wxUSE_RPATH" = yes; then
4190 echo "$as_me:$LINENO: result: yes" >&5
4191echo "${ECHO_T}yes" >&6
4192 else
4193 echo "$as_me:$LINENO: result: no" >&5
4194echo "${ECHO_T}no" >&6
4195 fi
4196
a848cd7e
SC
4197
4198
4199
4200
4201 enablestring=
4202 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4203echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4204 no_cache=0
4205 # Check whether --enable-intl or --disable-intl was given.
4206if test "${enable_intl+set}" = set; then
4207 enableval="$enable_intl"
4208
4209 if test "$enableval" = yes; then
4210 ac_cv_use_intl='wxUSE_INTL=yes'
4211 else
4212 ac_cv_use_intl='wxUSE_INTL=no'
4213 fi
4214
4215else
4216
4217 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4218 if test "x$LINE" != x ; then
4219 eval "DEFAULT_$LINE"
4220 else
4221 no_cache=1
4222 fi
4223
4224 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4225
4226fi;
4227
4228 eval "$ac_cv_use_intl"
4229 if test "$no_cache" != 1; then
4230 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4231 fi
4232
4233 if test "$wxUSE_INTL" = yes; then
4234 echo "$as_me:$LINENO: result: yes" >&5
4235echo "${ECHO_T}yes" >&6
4236 else
4237 echo "$as_me:$LINENO: result: no" >&5
4238echo "${ECHO_T}no" >&6
4239 fi
4240
4241
4242 enablestring=
4243 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4244echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4245 no_cache=0
4246 # Check whether --enable-config or --disable-config was given.
4247if test "${enable_config+set}" = set; then
4248 enableval="$enable_config"
4249
4250 if test "$enableval" = yes; then
4251 ac_cv_use_config='wxUSE_CONFIG=yes'
4252 else
4253 ac_cv_use_config='wxUSE_CONFIG=no'
4254 fi
4255
4256else
4257
4258 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4259 if test "x$LINE" != x ; then
4260 eval "DEFAULT_$LINE"
4261 else
4262 no_cache=1
4263 fi
4264
4265 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4266
4267fi;
4268
4269 eval "$ac_cv_use_config"
4270 if test "$no_cache" != 1; then
4271 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4272 fi
4273
4274 if test "$wxUSE_CONFIG" = yes; then
4275 echo "$as_me:$LINENO: result: yes" >&5
4276echo "${ECHO_T}yes" >&6
4277 else
4278 echo "$as_me:$LINENO: result: no" >&5
4279echo "${ECHO_T}no" >&6
4280 fi
4281
4282
4283
4284 enablestring=
4285 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4286echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4287 no_cache=0
4288 # Check whether --enable-protocols or --disable-protocols was given.
4289if test "${enable_protocols+set}" = set; then
4290 enableval="$enable_protocols"
4291
4292 if test "$enableval" = yes; then
4293 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4294 else
4295 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4296 fi
4297
4298else
4299
4300 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4301 if test "x$LINE" != x ; then
4302 eval "DEFAULT_$LINE"
4303 else
4304 no_cache=1
4305 fi
4306
4307 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4308
4309fi;
4310
4311 eval "$ac_cv_use_protocols"
4312 if test "$no_cache" != 1; then
4313 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4314 fi
4315
4316 if test "$wxUSE_PROTOCOL" = yes; then
4317 echo "$as_me:$LINENO: result: yes" >&5
4318echo "${ECHO_T}yes" >&6
4319 else
4320 echo "$as_me:$LINENO: result: no" >&5
4321echo "${ECHO_T}no" >&6
4322 fi
4323
4324
4325 enablestring=
4326 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4327echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4328 no_cache=0
4329 # Check whether --enable-ftp or --disable-ftp was given.
4330if test "${enable_ftp+set}" = set; then
4331 enableval="$enable_ftp"
4332
4333 if test "$enableval" = yes; then
4334 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4335 else
4336 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4337 fi
4338
4339else
4340
4341 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4342 if test "x$LINE" != x ; then
4343 eval "DEFAULT_$LINE"
4344 else
4345 no_cache=1
4346 fi
4347
4348 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4349
4350fi;
4351
4352 eval "$ac_cv_use_ftp"
4353 if test "$no_cache" != 1; then
4354 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4355 fi
4356
4357 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4358 echo "$as_me:$LINENO: result: yes" >&5
4359echo "${ECHO_T}yes" >&6
4360 else
4361 echo "$as_me:$LINENO: result: no" >&5
4362echo "${ECHO_T}no" >&6
4363 fi
4364
4365
4366 enablestring=
4367 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4368echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4369 no_cache=0
4370 # Check whether --enable-http or --disable-http was given.
4371if test "${enable_http+set}" = set; then
4372 enableval="$enable_http"
4373
4374 if test "$enableval" = yes; then
4375 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4376 else
4377 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4378 fi
4379
4380else
4381
4382 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4383 if test "x$LINE" != x ; then
4384 eval "DEFAULT_$LINE"
4385 else
4386 no_cache=1
4387 fi
4388
4389 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4390
4391fi;
4392
4393 eval "$ac_cv_use_http"
4394 if test "$no_cache" != 1; then
4395 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4396 fi
4397
4398 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4399 echo "$as_me:$LINENO: result: yes" >&5
4400echo "${ECHO_T}yes" >&6
4401 else
4402 echo "$as_me:$LINENO: result: no" >&5
4403echo "${ECHO_T}no" >&6
4404 fi
4405
4406
4407 enablestring=
4408 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4409echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4410 no_cache=0
4411 # Check whether --enable-fileproto or --disable-fileproto was given.
4412if test "${enable_fileproto+set}" = set; then
4413 enableval="$enable_fileproto"
4414
4415 if test "$enableval" = yes; then
4416 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4417 else
4418 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4419 fi
4420
4421else
4422
4423 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4424 if test "x$LINE" != x ; then
4425 eval "DEFAULT_$LINE"
4426 else
4427 no_cache=1
4428 fi
4429
4430 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4431
4432fi;
4433
4434 eval "$ac_cv_use_fileproto"
4435 if test "$no_cache" != 1; then
4436 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4437 fi
4438
4439 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4440 echo "$as_me:$LINENO: result: yes" >&5
4441echo "${ECHO_T}yes" >&6
4442 else
4443 echo "$as_me:$LINENO: result: no" >&5
4444echo "${ECHO_T}no" >&6
4445 fi
4446
4447
4448 enablestring=
4449 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4450echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4451 no_cache=0
4452 # Check whether --enable-sockets or --disable-sockets was given.
4453if test "${enable_sockets+set}" = set; then
4454 enableval="$enable_sockets"
4455
4456 if test "$enableval" = yes; then
4457 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4458 else
4459 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4460 fi
4461
4462else
4463
4464 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4465 if test "x$LINE" != x ; then
4466 eval "DEFAULT_$LINE"
4467 else
4468 no_cache=1
4469 fi
4470
4471 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4472
4473fi;
4474
4475 eval "$ac_cv_use_sockets"
4476 if test "$no_cache" != 1; then
4477 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4478 fi
4479
4480 if test "$wxUSE_SOCKETS" = yes; then
4481 echo "$as_me:$LINENO: result: yes" >&5
4482echo "${ECHO_T}yes" >&6
4483 else
4484 echo "$as_me:$LINENO: result: no" >&5
4485echo "${ECHO_T}no" >&6
4486 fi
4487
4488
4489 enablestring=
4490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4491echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4492 no_cache=0
4493 # Check whether --enable-ole or --disable-ole was given.
4494if test "${enable_ole+set}" = set; then
4495 enableval="$enable_ole"
4496
4497 if test "$enableval" = yes; then
4498 ac_cv_use_ole='wxUSE_OLE=yes'
4499 else
4500 ac_cv_use_ole='wxUSE_OLE=no'
4501 fi
4502
4503else
4504
4505 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4506 if test "x$LINE" != x ; then
4507 eval "DEFAULT_$LINE"
4508 else
4509 no_cache=1
4510 fi
4511
4512 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4513
4514fi;
4515
4516 eval "$ac_cv_use_ole"
4517 if test "$no_cache" != 1; then
4518 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4519 fi
4520
4521 if test "$wxUSE_OLE" = yes; then
4522 echo "$as_me:$LINENO: result: yes" >&5
4523echo "${ECHO_T}yes" >&6
4524 else
4525 echo "$as_me:$LINENO: result: no" >&5
4526echo "${ECHO_T}no" >&6
4527 fi
4528
4529
4530 enablestring=
4531 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4532echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4533 no_cache=0
4534 # Check whether --enable-dataobj or --disable-dataobj was given.
4535if test "${enable_dataobj+set}" = set; then
4536 enableval="$enable_dataobj"
4537
4538 if test "$enableval" = yes; then
4539 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4540 else
4541 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4542 fi
4543
4544else
4545
4546 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4547 if test "x$LINE" != x ; then
4548 eval "DEFAULT_$LINE"
4549 else
4550 no_cache=1
4551 fi
4552
4553 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4554
4555fi;
4556
4557 eval "$ac_cv_use_dataobj"
4558 if test "$no_cache" != 1; then
4559 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4560 fi
4561
4562 if test "$wxUSE_DATAOBJ" = yes; then
4563 echo "$as_me:$LINENO: result: yes" >&5
4564echo "${ECHO_T}yes" >&6
4565 else
4566 echo "$as_me:$LINENO: result: no" >&5
4567echo "${ECHO_T}no" >&6
4568 fi
4569
4570
4571
4572 enablestring=
4573 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4574echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4575 no_cache=0
4576 # Check whether --enable-ipc or --disable-ipc was given.
4577if test "${enable_ipc+set}" = set; then
4578 enableval="$enable_ipc"
4579
4580 if test "$enableval" = yes; then
4581 ac_cv_use_ipc='wxUSE_IPC=yes'
4582 else
4583 ac_cv_use_ipc='wxUSE_IPC=no'
4584 fi
4585
4586else
4587
4588 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4589 if test "x$LINE" != x ; then
4590 eval "DEFAULT_$LINE"
4591 else
4592 no_cache=1
4593 fi
4594
4595 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4596
4597fi;
4598
4599 eval "$ac_cv_use_ipc"
4600 if test "$no_cache" != 1; then
4601 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4602 fi
4603
4604 if test "$wxUSE_IPC" = yes; then
4605 echo "$as_me:$LINENO: result: yes" >&5
4606echo "${ECHO_T}yes" >&6
4607 else
4608 echo "$as_me:$LINENO: result: no" >&5
4609echo "${ECHO_T}no" >&6
4610 fi
4611
4612
4613
4614 enablestring=
4615 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4616echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4617 no_cache=0
4618 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4619if test "${enable_apple_ieee+set}" = set; then
4620 enableval="$enable_apple_ieee"
4621
4622 if test "$enableval" = yes; then
4623 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4624 else
4625 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4626 fi
4627
4628else
4629
4630 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4631 if test "x$LINE" != x ; then
4632 eval "DEFAULT_$LINE"
4633 else
4634 no_cache=1
4635 fi
4636
4637 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4638
4639fi;
4640
4641 eval "$ac_cv_use_apple_ieee"
4642 if test "$no_cache" != 1; then
4643 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4644 fi
4645
4646 if test "$wxUSE_APPLE_IEEE" = yes; then
4647 echo "$as_me:$LINENO: result: yes" >&5
4648echo "${ECHO_T}yes" >&6
4649 else
4650 echo "$as_me:$LINENO: result: no" >&5
4651echo "${ECHO_T}no" >&6
4652 fi
4653
4654
4655 enablestring=
4656 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4657echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4658 no_cache=0
4659 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4660if test "${enable_catch_segvs+set}" = set; then
4661 enableval="$enable_catch_segvs"
4662
4663 if test "$enableval" = yes; then
4664 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4665 else
4666 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4667 fi
4668
4669else
4670
4671 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4672 if test "x$LINE" != x ; then
4673 eval "DEFAULT_$LINE"
4674 else
4675 no_cache=1
4676 fi
4677
4678 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4679
4680fi;
4681
4682 eval "$ac_cv_use_catch_segvs"
4683 if test "$no_cache" != 1; then
4684 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4685 fi
4686
4687 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4688 echo "$as_me:$LINENO: result: yes" >&5
4689echo "${ECHO_T}yes" >&6
4690 else
4691 echo "$as_me:$LINENO: result: no" >&5
4692echo "${ECHO_T}no" >&6
4693 fi
4694
4695
4696 enablestring=
4697 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4698echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4699 no_cache=0
4700 # Check whether --enable-cmdline or --disable-cmdline was given.
4701if test "${enable_cmdline+set}" = set; then
4702 enableval="$enable_cmdline"
4703
4704 if test "$enableval" = yes; then
4705 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4706 else
4707 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4708 fi
4709
4710else
4711
4712 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4713 if test "x$LINE" != x ; then
4714 eval "DEFAULT_$LINE"
4715 else
4716 no_cache=1
4717 fi
4718
4719 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4720
4721fi;
4722
4723 eval "$ac_cv_use_cmdline"
4724 if test "$no_cache" != 1; then
4725 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4726 fi
4727
4728 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4729 echo "$as_me:$LINENO: result: yes" >&5
4730echo "${ECHO_T}yes" >&6
4731 else
4732 echo "$as_me:$LINENO: result: no" >&5
4733echo "${ECHO_T}no" >&6
4734 fi
4735
4736
4737 enablestring=
4738 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4739echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4740 no_cache=0
4741 # Check whether --enable-datetime or --disable-datetime was given.
4742if test "${enable_datetime+set}" = set; then
4743 enableval="$enable_datetime"
4744
4745 if test "$enableval" = yes; then
4746 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4747 else
4748 ac_cv_use_datetime='wxUSE_DATETIME=no'
4749 fi
4750
4751else
4752
4753 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4754 if test "x$LINE" != x ; then
4755 eval "DEFAULT_$LINE"
4756 else
4757 no_cache=1
4758 fi
4759
4760 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4761
4762fi;
4763
4764 eval "$ac_cv_use_datetime"
4765 if test "$no_cache" != 1; then
4766 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4767 fi
4768
4769 if test "$wxUSE_DATETIME" = yes; then
4770 echo "$as_me:$LINENO: result: yes" >&5
4771echo "${ECHO_T}yes" >&6
4772 else
4773 echo "$as_me:$LINENO: result: no" >&5
4774echo "${ECHO_T}no" >&6
4775 fi
4776
4777
4778 enablestring=
4779 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4780echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4781 no_cache=0
4782 # Check whether --enable-dialupman or --disable-dialupman was given.
4783if test "${enable_dialupman+set}" = set; then
4784 enableval="$enable_dialupman"
4785
4786 if test "$enableval" = yes; then
4787 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4788 else
4789 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4790 fi
4791
4792else
4793
4794 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4795 if test "x$LINE" != x ; then
4796 eval "DEFAULT_$LINE"
4797 else
4798 no_cache=1
4799 fi
4800
4801 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4802
4803fi;
4804
4805 eval "$ac_cv_use_dialupman"
4806 if test "$no_cache" != 1; then
4807 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4808 fi
4809
4810 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4811 echo "$as_me:$LINENO: result: yes" >&5
4812echo "${ECHO_T}yes" >&6
4813 else
4814 echo "$as_me:$LINENO: result: no" >&5
4815echo "${ECHO_T}no" >&6
4816 fi
4817
4818
4819 enablestring=
4820 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4821echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4822 no_cache=0
4823 # Check whether --enable-dynlib or --disable-dynlib was given.
4824if test "${enable_dynlib+set}" = set; then
4825 enableval="$enable_dynlib"
4826
4827 if test "$enableval" = yes; then
4828 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4829 else
4830 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4831 fi
4832
4833else
4834
4835 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4836 if test "x$LINE" != x ; then
4837 eval "DEFAULT_$LINE"
4838 else
4839 no_cache=1
4840 fi
4841
4842 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4843
4844fi;
4845
4846 eval "$ac_cv_use_dynlib"
4847 if test "$no_cache" != 1; then
4848 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4849 fi
4850
4851 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4852 echo "$as_me:$LINENO: result: yes" >&5
4853echo "${ECHO_T}yes" >&6
4854 else
4855 echo "$as_me:$LINENO: result: no" >&5
4856echo "${ECHO_T}no" >&6
4857 fi
4858
4859
4860 enablestring=
4861 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4862echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4863 no_cache=0
4864 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4865if test "${enable_dynamicloader+set}" = set; then
4866 enableval="$enable_dynamicloader"
4867
4868 if test "$enableval" = yes; then
4869 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4870 else
4871 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4872 fi
4873
4874else
4875
4876 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4877 if test "x$LINE" != x ; then
4878 eval "DEFAULT_$LINE"
4879 else
4880 no_cache=1
4881 fi
4882
4883 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4884
4885fi;
4886
4887 eval "$ac_cv_use_dynamicloader"
4888 if test "$no_cache" != 1; then
4889 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4890 fi
4891
4892 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4893 echo "$as_me:$LINENO: result: yes" >&5
4894echo "${ECHO_T}yes" >&6
4895 else
4896 echo "$as_me:$LINENO: result: no" >&5
4897echo "${ECHO_T}no" >&6
4898 fi
4899
4900
4901 enablestring=
4902 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4903echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4904 no_cache=0
4905 # Check whether --enable-exceptions or --disable-exceptions was given.
4906if test "${enable_exceptions+set}" = set; then
4907 enableval="$enable_exceptions"
4908
4909 if test "$enableval" = yes; then
4910 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
4911 else
4912 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
4913 fi
4914
4915else
4916
4917 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4918 if test "x$LINE" != x ; then
4919 eval "DEFAULT_$LINE"
4920 else
4921 no_cache=1
4922 fi
4923
4924 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4925
4926fi;
4927
4928 eval "$ac_cv_use_exceptions"
4929 if test "$no_cache" != 1; then
4930 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4931 fi
4932
4933 if test "$wxUSE_EXCEPTIONS" = yes; then
4934 echo "$as_me:$LINENO: result: yes" >&5
4935echo "${ECHO_T}yes" >&6
4936 else
4937 echo "$as_me:$LINENO: result: no" >&5
4938echo "${ECHO_T}no" >&6
4939 fi
4940
4941
4942 enablestring=
4943 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4944echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4945 no_cache=0
4946 # Check whether --enable-ffile or --disable-ffile was given.
4947if test "${enable_ffile+set}" = set; then
4948 enableval="$enable_ffile"
4949
4950 if test "$enableval" = yes; then
4951 ac_cv_use_ffile='wxUSE_FFILE=yes'
4952 else
4953 ac_cv_use_ffile='wxUSE_FFILE=no'
4954 fi
4955
4956else
4957
4958 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4959 if test "x$LINE" != x ; then
4960 eval "DEFAULT_$LINE"
4961 else
4962 no_cache=1
4963 fi
4964
4965 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4966
4967fi;
4968
4969 eval "$ac_cv_use_ffile"
4970 if test "$no_cache" != 1; then
4971 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4972 fi
4973
4974 if test "$wxUSE_FFILE" = yes; then
4975 echo "$as_me:$LINENO: result: yes" >&5
4976echo "${ECHO_T}yes" >&6
4977 else
4978 echo "$as_me:$LINENO: result: no" >&5
4979echo "${ECHO_T}no" >&6
4980 fi
4981
4982
4983 enablestring=
4984 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4985echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4986 no_cache=0
4987 # Check whether --enable-file or --disable-file was given.
4988if test "${enable_file+set}" = set; then
4989 enableval="$enable_file"
4990
4991 if test "$enableval" = yes; then
4992 ac_cv_use_file='wxUSE_FILE=yes'
4993 else
4994 ac_cv_use_file='wxUSE_FILE=no'
4995 fi
4996
4997else
4998
4999 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5000 if test "x$LINE" != x ; then
5001 eval "DEFAULT_$LINE"
5002 else
5003 no_cache=1
5004 fi
5005
5006 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5007
5008fi;
5009
5010 eval "$ac_cv_use_file"
5011 if test "$no_cache" != 1; then
5012 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5013 fi
5014
5015 if test "$wxUSE_FILE" = yes; then
5016 echo "$as_me:$LINENO: result: yes" >&5
5017echo "${ECHO_T}yes" >&6
5018 else
5019 echo "$as_me:$LINENO: result: no" >&5
5020echo "${ECHO_T}no" >&6
5021 fi
5022
5023
5024 enablestring=
5025 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5026echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5027 no_cache=0
5028 # Check whether --enable-filesystem or --disable-filesystem was given.
5029if test "${enable_filesystem+set}" = set; then
5030 enableval="$enable_filesystem"
5031
5032 if test "$enableval" = yes; then
5033 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5034 else
5035 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5036 fi
5037
5038else
5039
5040 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5041 if test "x$LINE" != x ; then
5042 eval "DEFAULT_$LINE"
5043 else
5044 no_cache=1
5045 fi
5046
5047 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5048
5049fi;
5050
5051 eval "$ac_cv_use_filesystem"
5052 if test "$no_cache" != 1; then
5053 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5054 fi
5055
5056 if test "$wxUSE_FILESYSTEM" = yes; then
5057 echo "$as_me:$LINENO: result: yes" >&5
5058echo "${ECHO_T}yes" >&6
5059 else
5060 echo "$as_me:$LINENO: result: no" >&5
5061echo "${ECHO_T}no" >&6
5062 fi
5063
5064
5065 enablestring=
5066 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5067echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5068 no_cache=0
5069 # Check whether --enable-fontmap or --disable-fontmap was given.
5070if test "${enable_fontmap+set}" = set; then
5071 enableval="$enable_fontmap"
5072
5073 if test "$enableval" = yes; then
5074 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5075 else
5076 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5077 fi
5078
5079else
5080
5081 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5082 if test "x$LINE" != x ; then
5083 eval "DEFAULT_$LINE"
5084 else
5085 no_cache=1
5086 fi
5087
5088 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5089
5090fi;
5091
5092 eval "$ac_cv_use_fontmap"
5093 if test "$no_cache" != 1; then
5094 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5095 fi
5096
5097 if test "$wxUSE_FONTMAP" = yes; then
5098 echo "$as_me:$LINENO: result: yes" >&5
5099echo "${ECHO_T}yes" >&6
5100 else
5101 echo "$as_me:$LINENO: result: no" >&5
5102echo "${ECHO_T}no" >&6
5103 fi
5104
5105
5106 enablestring=
5107 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5108echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5109 no_cache=0
5110 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5111if test "${enable_fs_inet+set}" = set; then
5112 enableval="$enable_fs_inet"
5113
5114 if test "$enableval" = yes; then
5115 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5116 else
5117 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5118 fi
5119
5120else
5121
5122 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5123 if test "x$LINE" != x ; then
5124 eval "DEFAULT_$LINE"
5125 else
5126 no_cache=1
5127 fi
5128
5129 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5130
5131fi;
5132
5133 eval "$ac_cv_use_fs_inet"
5134 if test "$no_cache" != 1; then
5135 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5136 fi
5137
5138 if test "$wxUSE_FS_INET" = yes; then
5139 echo "$as_me:$LINENO: result: yes" >&5
5140echo "${ECHO_T}yes" >&6
5141 else
5142 echo "$as_me:$LINENO: result: no" >&5
5143echo "${ECHO_T}no" >&6
5144 fi
5145
5146
5147 enablestring=
5148 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5149echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5150 no_cache=0
5151 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5152if test "${enable_fs_zip+set}" = set; then
5153 enableval="$enable_fs_zip"
5154
5155 if test "$enableval" = yes; then
5156 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5157 else
5158 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5159 fi
5160
5161else
5162
5163 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5164 if test "x$LINE" != x ; then
5165 eval "DEFAULT_$LINE"
5166 else
5167 no_cache=1
5168 fi
5169
5170 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5171
5172fi;
5173
5174 eval "$ac_cv_use_fs_zip"
5175 if test "$no_cache" != 1; then
5176 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5177 fi
5178
5179 if test "$wxUSE_FS_ZIP" = yes; then
5180 echo "$as_me:$LINENO: result: yes" >&5
5181echo "${ECHO_T}yes" >&6
5182 else
5183 echo "$as_me:$LINENO: result: no" >&5
5184echo "${ECHO_T}no" >&6
5185 fi
5186
5187
5188 enablestring=
5189 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5190echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5191 no_cache=0
5192 # Check whether --enable-geometry or --disable-geometry was given.
5193if test "${enable_geometry+set}" = set; then
5194 enableval="$enable_geometry"
5195
5196 if test "$enableval" = yes; then
5197 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5198 else
5199 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5200 fi
5201
5202else
5203
5204 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5205 if test "x$LINE" != x ; then
5206 eval "DEFAULT_$LINE"
5207 else
5208 no_cache=1
5209 fi
5210
5211 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5212
5213fi;
5214
5215 eval "$ac_cv_use_geometry"
5216 if test "$no_cache" != 1; then
5217 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5218 fi
5219
5220 if test "$wxUSE_GEOMETRY" = yes; then
5221 echo "$as_me:$LINENO: result: yes" >&5
5222echo "${ECHO_T}yes" >&6
5223 else
5224 echo "$as_me:$LINENO: result: no" >&5
5225echo "${ECHO_T}no" >&6
5226 fi
5227
5228
5229 enablestring=
5230 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5231echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5232 no_cache=0
5233 # Check whether --enable-log or --disable-log was given.
5234if test "${enable_log+set}" = set; then
5235 enableval="$enable_log"
5236
5237 if test "$enableval" = yes; then
5238 ac_cv_use_log='wxUSE_LOG=yes'
5239 else
5240 ac_cv_use_log='wxUSE_LOG=no'
5241 fi
5242
5243else
5244
5245 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5246 if test "x$LINE" != x ; then
5247 eval "DEFAULT_$LINE"
5248 else
5249 no_cache=1
5250 fi
5251
5252 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5253
5254fi;
5255
5256 eval "$ac_cv_use_log"
5257 if test "$no_cache" != 1; then
5258 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5259 fi
5260
5261 if test "$wxUSE_LOG" = yes; then
5262 echo "$as_me:$LINENO: result: yes" >&5
5263echo "${ECHO_T}yes" >&6
5264 else
5265 echo "$as_me:$LINENO: result: no" >&5
5266echo "${ECHO_T}no" >&6
5267 fi
5268
5269
5270 enablestring=
5271 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5272echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5273 no_cache=0
5274 # Check whether --enable-longlong or --disable-longlong was given.
5275if test "${enable_longlong+set}" = set; then
5276 enableval="$enable_longlong"
5277
5278 if test "$enableval" = yes; then
5279 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5280 else
5281 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5282 fi
5283
5284else
5285
5286 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5287 if test "x$LINE" != x ; then
5288 eval "DEFAULT_$LINE"
5289 else
5290 no_cache=1
5291 fi
5292
5293 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5294
5295fi;
5296
5297 eval "$ac_cv_use_longlong"
5298 if test "$no_cache" != 1; then
5299 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5300 fi
5301
5302 if test "$wxUSE_LONGLONG" = yes; then
5303 echo "$as_me:$LINENO: result: yes" >&5
5304echo "${ECHO_T}yes" >&6
5305 else
5306 echo "$as_me:$LINENO: result: no" >&5
5307echo "${ECHO_T}no" >&6
5308 fi
5309
5310
5311 enablestring=
5312 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5313echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5314 no_cache=0
5315 # Check whether --enable-mimetype or --disable-mimetype was given.
5316if test "${enable_mimetype+set}" = set; then
5317 enableval="$enable_mimetype"
5318
5319 if test "$enableval" = yes; then
5320 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5321 else
5322 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5323 fi
5324
5325else
5326
5327 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5328 if test "x$LINE" != x ; then
5329 eval "DEFAULT_$LINE"
5330 else
5331 no_cache=1
5332 fi
5333
5334 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5335
5336fi;
5337
5338 eval "$ac_cv_use_mimetype"
5339 if test "$no_cache" != 1; then
5340 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5341 fi
5342
5343 if test "$wxUSE_MIMETYPE" = yes; then
5344 echo "$as_me:$LINENO: result: yes" >&5
5345echo "${ECHO_T}yes" >&6
5346 else
5347 echo "$as_me:$LINENO: result: no" >&5
5348echo "${ECHO_T}no" >&6
5349 fi
5350
5351
5352 enablestring=
5353 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5354echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5355 no_cache=0
5356 # Check whether --enable-mslu or --disable-mslu was given.
5357if test "${enable_mslu+set}" = set; then
5358 enableval="$enable_mslu"
5359
5360 if test "$enableval" = yes; then
5361 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5362 else
5363 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5364 fi
5365
5366else
5367
5368 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5369 if test "x$LINE" != x ; then
5370 eval "DEFAULT_$LINE"
5371 else
5372 no_cache=1
5373 fi
5374
5375 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5376
5377fi;
5378
5379 eval "$ac_cv_use_mslu"
5380 if test "$no_cache" != 1; then
5381 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5382 fi
5383
5384 if test "$wxUSE_UNICODE_MSLU" = yes; then
5385 echo "$as_me:$LINENO: result: yes" >&5
5386echo "${ECHO_T}yes" >&6
5387 else
5388 echo "$as_me:$LINENO: result: no" >&5
5389echo "${ECHO_T}no" >&6
5390 fi
5391
5392
5393 enablestring=
5394 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5395echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5396 no_cache=0
5397 # Check whether --enable-snglinst or --disable-snglinst was given.
5398if test "${enable_snglinst+set}" = set; then
5399 enableval="$enable_snglinst"
5400
5401 if test "$enableval" = yes; then
5402 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5403 else
5404 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5405 fi
5406
5407else
5408
5409 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5410 if test "x$LINE" != x ; then
5411 eval "DEFAULT_$LINE"
5412 else
5413 no_cache=1
5414 fi
5415
5416 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5417
5418fi;
5419
5420 eval "$ac_cv_use_snglinst"
5421 if test "$no_cache" != 1; then
5422 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5423 fi
5424
5425 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5426 echo "$as_me:$LINENO: result: yes" >&5
5427echo "${ECHO_T}yes" >&6
5428 else
5429 echo "$as_me:$LINENO: result: no" >&5
5430echo "${ECHO_T}no" >&6
5431 fi
5432
5433
5434 enablestring=
5435 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5436echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5437 no_cache=0
5438 # Check whether --enable-streams or --disable-streams was given.
5439if test "${enable_streams+set}" = set; then
5440 enableval="$enable_streams"
5441
5442 if test "$enableval" = yes; then
5443 ac_cv_use_streams='wxUSE_STREAMS=yes'
5444 else
5445 ac_cv_use_streams='wxUSE_STREAMS=no'
5446 fi
5447
5448else
5449
5450 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5451 if test "x$LINE" != x ; then
5452 eval "DEFAULT_$LINE"
5453 else
5454 no_cache=1
5455 fi
5456
5457 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5458
5459fi;
5460
5461 eval "$ac_cv_use_streams"
5462 if test "$no_cache" != 1; then
5463 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5464 fi
5465
5466 if test "$wxUSE_STREAMS" = yes; then
5467 echo "$as_me:$LINENO: result: yes" >&5
5468echo "${ECHO_T}yes" >&6
5469 else
5470 echo "$as_me:$LINENO: result: no" >&5
5471echo "${ECHO_T}no" >&6
5472 fi
5473
5474
5475 enablestring=
5476 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5477echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5478 no_cache=0
5479 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5480if test "${enable_std_iostreams+set}" = set; then
5481 enableval="$enable_std_iostreams"
5482
5483 if test "$enableval" = yes; then
5484 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5485 else
5486 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5487 fi
5488
5489else
5490
5491 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5492 if test "x$LINE" != x ; then
5493 eval "DEFAULT_$LINE"
5494 else
5495 no_cache=1
5496 fi
5497
5498 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5499
5500fi;
5501
5502 eval "$ac_cv_use_std_iostreams"
5503 if test "$no_cache" != 1; then
5504 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5505 fi
5506
5507 if test "$wxUSE_STD_IOSTREAM" = yes; then
5508 echo "$as_me:$LINENO: result: yes" >&5
5509echo "${ECHO_T}yes" >&6
5510 else
5511 echo "$as_me:$LINENO: result: no" >&5
5512echo "${ECHO_T}no" >&6
5513 fi
5514
5515
5516 enablestring=
5517 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5518echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5519 no_cache=0
5520 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5521if test "${enable_stopwatch+set}" = set; then
5522 enableval="$enable_stopwatch"
5523
5524 if test "$enableval" = yes; then
5525 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5526 else
5527 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5528 fi
5529
5530else
5531
5532 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5533 if test "x$LINE" != x ; then
5534 eval "DEFAULT_$LINE"
5535 else
5536 no_cache=1
5537 fi
5538
5539 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5540
5541fi;
5542
5543 eval "$ac_cv_use_stopwatch"
5544 if test "$no_cache" != 1; then
5545 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5546 fi
5547
5548 if test "$wxUSE_STOPWATCH" = yes; then
5549 echo "$as_me:$LINENO: result: yes" >&5
5550echo "${ECHO_T}yes" >&6
5551 else
5552 echo "$as_me:$LINENO: result: no" >&5
5553echo "${ECHO_T}no" >&6
5554 fi
5555
5556
5557 enablestring=
5558 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5559echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5560 no_cache=0
5561 # Check whether --enable-system_options or --disable-system_options was given.
5562if test "${enable_system_options+set}" = set; then
5563 enableval="$enable_system_options"
5564
5565 if test "$enableval" = yes; then
5566 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5567 else
5568 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5569 fi
5570
5571else
5572
5573 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5574 if test "x$LINE" != x ; then
5575 eval "DEFAULT_$LINE"
5576 else
5577 no_cache=1
5578 fi
5579
5580 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5581
5582fi;
5583
5584 eval "$ac_cv_use_system_options"
5585 if test "$no_cache" != 1; then
5586 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5587 fi
5588
5589 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5590 echo "$as_me:$LINENO: result: yes" >&5
5591echo "${ECHO_T}yes" >&6
5592 else
5593 echo "$as_me:$LINENO: result: no" >&5
5594echo "${ECHO_T}no" >&6
5595 fi
5596
5597
5598 enablestring=
5599 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5600echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5601 no_cache=0
5602 # Check whether --enable-textbuf or --disable-textbuf was given.
5603if test "${enable_textbuf+set}" = set; then
5604 enableval="$enable_textbuf"
5605
5606 if test "$enableval" = yes; then
5607 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
5608 else
5609 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
5610 fi
5611
5612else
5613
5614 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5615 if test "x$LINE" != x ; then
5616 eval "DEFAULT_$LINE"
5617 else
5618 no_cache=1
5619 fi
5620
5621 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5622
5623fi;
5624
5625 eval "$ac_cv_use_textbuf"
5626 if test "$no_cache" != 1; then
5627 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5628 fi
5629
5630 if test "$wxUSE_TEXTBUFFER" = yes; then
5631 echo "$as_me:$LINENO: result: yes" >&5
5632echo "${ECHO_T}yes" >&6
5633 else
5634 echo "$as_me:$LINENO: result: no" >&5
5635echo "${ECHO_T}no" >&6
5636 fi
5637
5638
5639 enablestring=
5640 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5641echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5642 no_cache=0
5643 # Check whether --enable-textfile or --disable-textfile was given.
5644if test "${enable_textfile+set}" = set; then
5645 enableval="$enable_textfile"
5646
5647 if test "$enableval" = yes; then
5648 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
5649 else
5650 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
5651 fi
5652
5653else
5654
5655 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5656 if test "x$LINE" != x ; then
5657 eval "DEFAULT_$LINE"
5658 else
5659 no_cache=1
5660 fi
5661
5662 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5663
5664fi;
5665
5666 eval "$ac_cv_use_textfile"
5667 if test "$no_cache" != 1; then
5668 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5669 fi
5670
5671 if test "$wxUSE_TEXTFILE" = yes; then
5672 echo "$as_me:$LINENO: result: yes" >&5
5673echo "${ECHO_T}yes" >&6
5674 else
5675 echo "$as_me:$LINENO: result: no" >&5
5676echo "${ECHO_T}no" >&6
5677 fi
5678
5679
5680 enablestring=
5681 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5682echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5683 no_cache=0
5684 # Check whether --enable-timer or --disable-timer was given.
5685if test "${enable_timer+set}" = set; then
5686 enableval="$enable_timer"
5687
5688 if test "$enableval" = yes; then
5689 ac_cv_use_timer='wxUSE_TIMER=yes'
5690 else
5691 ac_cv_use_timer='wxUSE_TIMER=no'
5692 fi
5693
5694else
5695
5696 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5697 if test "x$LINE" != x ; then
5698 eval "DEFAULT_$LINE"
5699 else
5700 no_cache=1
5701 fi
5702
5703 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5704
5705fi;
5706
5707 eval "$ac_cv_use_timer"
5708 if test "$no_cache" != 1; then
5709 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5710 fi
5711
5712 if test "$wxUSE_TIMER" = yes; then
5713 echo "$as_me:$LINENO: result: yes" >&5
5714echo "${ECHO_T}yes" >&6
5715 else
5716 echo "$as_me:$LINENO: result: no" >&5
5717echo "${ECHO_T}no" >&6
5718 fi
5719
5720
5721 enablestring=
5722 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5723echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5724 no_cache=0
5725 # Check whether --enable-unicode or --disable-unicode was given.
5726if test "${enable_unicode+set}" = set; then
5727 enableval="$enable_unicode"
5728
5729 if test "$enableval" = yes; then
5730 ac_cv_use_unicode='wxUSE_UNICODE=yes'
5731 else
5732 ac_cv_use_unicode='wxUSE_UNICODE=no'
5733 fi
5734
5735else
5736
5737 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5738 if test "x$LINE" != x ; then
5739 eval "DEFAULT_$LINE"
5740 else
5741 no_cache=1
5742 fi
5743
5744 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5745
5746fi;
5747
5748 eval "$ac_cv_use_unicode"
5749 if test "$no_cache" != 1; then
5750 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5751 fi
5752
5753 if test "$wxUSE_UNICODE" = yes; then
5754 echo "$as_me:$LINENO: result: yes" >&5
5755echo "${ECHO_T}yes" >&6
5756 else
5757 echo "$as_me:$LINENO: result: no" >&5
5758echo "${ECHO_T}no" >&6
5759 fi
5760
5761
5762 enablestring=
5763 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5764echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5765 no_cache=0
5766 # Check whether --enable-sound or --disable-sound was given.
5767if test "${enable_sound+set}" = set; then
5768 enableval="$enable_sound"
5769
5770 if test "$enableval" = yes; then
5771 ac_cv_use_sound='wxUSE_SOUND=yes'
5772 else
5773 ac_cv_use_sound='wxUSE_SOUND=no'
5774 fi
5775
5776else
5777
5778 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5779 if test "x$LINE" != x ; then
5780 eval "DEFAULT_$LINE"
5781 else
5782 no_cache=1
5783 fi
5784
5785 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5786
5787fi;
5788
5789 eval "$ac_cv_use_sound"
5790 if test "$no_cache" != 1; then
5791 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5792 fi
5793
5794 if test "$wxUSE_SOUND" = yes; then
5795 echo "$as_me:$LINENO: result: yes" >&5
5796echo "${ECHO_T}yes" >&6
5797 else
5798 echo "$as_me:$LINENO: result: no" >&5
5799echo "${ECHO_T}no" >&6
5800 fi
5801
5802
5803 enablestring=
5804 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5805echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5806 no_cache=0
5807 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5808if test "${enable_wxprintfv+set}" = set; then
5809 enableval="$enable_wxprintfv"
5810
5811 if test "$enableval" = yes; then
5812 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
5813 else
5814 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
5815 fi
5816
5817else
5818
5819 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5820 if test "x$LINE" != x ; then
5821 eval "DEFAULT_$LINE"
5822 else
5823 no_cache=1
5824 fi
5825
5826 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5827
5828fi;
5829
5830 eval "$ac_cv_use_wxprintfv"
5831 if test "$no_cache" != 1; then
5832 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5833 fi
5834
5835 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5836 echo "$as_me:$LINENO: result: yes" >&5
5837echo "${ECHO_T}yes" >&6
5838 else
5839 echo "$as_me:$LINENO: result: no" >&5
5840echo "${ECHO_T}no" >&6
5841 fi
5842
5843
5844 enablestring=
5845 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5846echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5847 no_cache=0
5848 # Check whether --enable-zipstream or --disable-zipstream was given.
5849if test "${enable_zipstream+set}" = set; then
5850 enableval="$enable_zipstream"
5851
5852 if test "$enableval" = yes; then
5853 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
5854 else
5855 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
5856 fi
5857
5858else
5859
5860 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5861 if test "x$LINE" != x ; then
5862 eval "DEFAULT_$LINE"
5863 else
5864 no_cache=1
5865 fi
5866
5867 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5868
5869fi;
5870
5871 eval "$ac_cv_use_zipstream"
5872 if test "$no_cache" != 1; then
5873 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5874 fi
5875
5876 if test "$wxUSE_ZIPSTREAM" = yes; then
5877 echo "$as_me:$LINENO: result: yes" >&5
5878echo "${ECHO_T}yes" >&6
5879 else
5880 echo "$as_me:$LINENO: result: no" >&5
5881echo "${ECHO_T}no" >&6
5882 fi
5883
5884
a848cd7e
SC
5885
5886 enablestring=
5887 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5888echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5889 no_cache=0
5890 # Check whether --enable-url or --disable-url was given.
5891if test "${enable_url+set}" = set; then
5892 enableval="$enable_url"
5893
5894 if test "$enableval" = yes; then
5895 ac_cv_use_url='wxUSE_URL=yes'
5896 else
5897 ac_cv_use_url='wxUSE_URL=no'
5898 fi
5899
5900else
5901
5902 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5903 if test "x$LINE" != x ; then
5904 eval "DEFAULT_$LINE"
5905 else
5906 no_cache=1
5907 fi
5908
5909 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
5910
5911fi;
5912
5913 eval "$ac_cv_use_url"
5914 if test "$no_cache" != 1; then
5915 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5916 fi
5917
5918 if test "$wxUSE_URL" = yes; then
5919 echo "$as_me:$LINENO: result: yes" >&5
5920echo "${ECHO_T}yes" >&6
5921 else
5922 echo "$as_me:$LINENO: result: no" >&5
5923echo "${ECHO_T}no" >&6
5924 fi
5925
5926
5927 enablestring=
5928 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5929echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5930 no_cache=0
5931 # Check whether --enable-protocol or --disable-protocol was given.
5932if test "${enable_protocol+set}" = set; then
5933 enableval="$enable_protocol"
5934
5935 if test "$enableval" = yes; then
5936 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
5937 else
5938 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
5939 fi
5940
5941else
5942
5943 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5944 if test "x$LINE" != x ; then
5945 eval "DEFAULT_$LINE"
5946 else
5947 no_cache=1
5948 fi
5949
5950 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5951
5952fi;
5953
5954 eval "$ac_cv_use_protocol"
5955 if test "$no_cache" != 1; then
5956 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5957 fi
5958
5959 if test "$wxUSE_PROTOCOL" = yes; then
5960 echo "$as_me:$LINENO: result: yes" >&5
5961echo "${ECHO_T}yes" >&6
5962 else
5963 echo "$as_me:$LINENO: result: no" >&5
5964echo "${ECHO_T}no" >&6
5965 fi
5966
5967
5968 enablestring=
5969 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5970echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5971 no_cache=0
5972 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5973if test "${enable_protocol_http+set}" = set; then
5974 enableval="$enable_protocol_http"
5975
5976 if test "$enableval" = yes; then
5977 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
5978 else
5979 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
5980 fi
5981
5982else
5983
5984 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5985 if test "x$LINE" != x ; then
5986 eval "DEFAULT_$LINE"
5987 else
5988 no_cache=1
5989 fi
5990
5991 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5992
5993fi;
5994
5995 eval "$ac_cv_use_protocol_http"
5996 if test "$no_cache" != 1; then
5997 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5998 fi
5999
6000 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6001 echo "$as_me:$LINENO: result: yes" >&5
6002echo "${ECHO_T}yes" >&6
6003 else
6004 echo "$as_me:$LINENO: result: no" >&5
6005echo "${ECHO_T}no" >&6
6006 fi
6007
6008
6009 enablestring=
6010 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6011echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6012 no_cache=0
6013 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6014if test "${enable_protocol_ftp+set}" = set; then
6015 enableval="$enable_protocol_ftp"
6016
6017 if test "$enableval" = yes; then
6018 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6019 else
6020 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6021 fi
6022
6023else
6024
6025 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6026 if test "x$LINE" != x ; then
6027 eval "DEFAULT_$LINE"
6028 else
6029 no_cache=1
6030 fi
6031
6032 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6033
6034fi;
6035
6036 eval "$ac_cv_use_protocol_ftp"
6037 if test "$no_cache" != 1; then
6038 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6039 fi
6040
6041 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6042 echo "$as_me:$LINENO: result: yes" >&5
6043echo "${ECHO_T}yes" >&6
6044 else
6045 echo "$as_me:$LINENO: result: no" >&5
6046echo "${ECHO_T}no" >&6
6047 fi
6048
6049
6050 enablestring=
6051 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6052echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6053 no_cache=0
6054 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6055if test "${enable_protocol_file+set}" = set; then
6056 enableval="$enable_protocol_file"
6057
6058 if test "$enableval" = yes; then
6059 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6060 else
6061 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6062 fi
6063
6064else
6065
6066 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6067 if test "x$LINE" != x ; then
6068 eval "DEFAULT_$LINE"
6069 else
6070 no_cache=1
6071 fi
6072
6073 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6074
6075fi;
6076
6077 eval "$ac_cv_use_protocol_file"
6078 if test "$no_cache" != 1; then
6079 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6080 fi
6081
6082 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6083 echo "$as_me:$LINENO: result: yes" >&5
6084echo "${ECHO_T}yes" >&6
6085 else
6086 echo "$as_me:$LINENO: result: no" >&5
6087echo "${ECHO_T}no" >&6
6088 fi
6089
6090
6091
6092
6093
6094 enablestring=
6095 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6096echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6097 no_cache=0
6098 # Check whether --enable-threads or --disable-threads was given.
6099if test "${enable_threads+set}" = set; then
6100 enableval="$enable_threads"
6101
6102 if test "$enableval" = yes; then
6103 ac_cv_use_threads='wxUSE_THREADS=yes'
6104 else
6105 ac_cv_use_threads='wxUSE_THREADS=no'
6106 fi
6107
6108else
6109
6110 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6111 if test "x$LINE" != x ; then
6112 eval "DEFAULT_$LINE"
6113 else
6114 no_cache=1
6115 fi
6116
6117 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6118
6119fi;
6120
6121 eval "$ac_cv_use_threads"
6122 if test "$no_cache" != 1; then
6123 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6124 fi
6125
6126 if test "$wxUSE_THREADS" = yes; then
6127 echo "$as_me:$LINENO: result: yes" >&5
6128echo "${ECHO_T}yes" >&6
6129 else
6130 echo "$as_me:$LINENO: result: no" >&5
6131echo "${ECHO_T}no" >&6
6132 fi
6133
6134
6135if test "$wxUSE_GUI" = "yes"; then
6136
6137
6138
6139 enablestring=
6140 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6141echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6142 no_cache=0
6143 # Check whether --enable-docview or --disable-docview was given.
6144if test "${enable_docview+set}" = set; then
6145 enableval="$enable_docview"
6146
6147 if test "$enableval" = yes; then
6148 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6149 else
6150 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6151 fi
6152
6153else
6154
6155 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6156 if test "x$LINE" != x ; then
6157 eval "DEFAULT_$LINE"
6158 else
6159 no_cache=1
6160 fi
6161
6162 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6163
6164fi;
6165
6166 eval "$ac_cv_use_docview"
6167 if test "$no_cache" != 1; then
6168 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6169 fi
6170
6171 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6172 echo "$as_me:$LINENO: result: yes" >&5
6173echo "${ECHO_T}yes" >&6
6174 else
6175 echo "$as_me:$LINENO: result: no" >&5
6176echo "${ECHO_T}no" >&6
6177 fi
6178
6179
6180 enablestring=
6181 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6182echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6183 no_cache=0
6184 # Check whether --enable-help or --disable-help was given.
6185if test "${enable_help+set}" = set; then
6186 enableval="$enable_help"
6187
6188 if test "$enableval" = yes; then
6189 ac_cv_use_help='wxUSE_HELP=yes'
6190 else
6191 ac_cv_use_help='wxUSE_HELP=no'
6192 fi
6193
6194else
6195
6196 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6197 if test "x$LINE" != x ; then
6198 eval "DEFAULT_$LINE"
6199 else
6200 no_cache=1
6201 fi
6202
6203 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6204
6205fi;
6206
6207 eval "$ac_cv_use_help"
6208 if test "$no_cache" != 1; then
6209 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6210 fi
6211
6212 if test "$wxUSE_HELP" = yes; then
6213 echo "$as_me:$LINENO: result: yes" >&5
6214echo "${ECHO_T}yes" >&6
6215 else
6216 echo "$as_me:$LINENO: result: no" >&5
6217echo "${ECHO_T}no" >&6
6218 fi
6219
6220
6221 enablestring=
6222 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6223echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6224 no_cache=0
6225 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6226if test "${enable_mshtmlhelp+set}" = set; then
6227 enableval="$enable_mshtmlhelp"
6228
6229 if test "$enableval" = yes; then
6230 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6231 else
6232 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6233 fi
6234
6235else
6236
6237 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6238 if test "x$LINE" != x ; then
6239 eval "DEFAULT_$LINE"
6240 else
6241 no_cache=1
6242 fi
6243
6244 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6245
6246fi;
6247
6248 eval "$ac_cv_use_mshtmlhelp"
6249 if test "$no_cache" != 1; then
6250 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6251 fi
6252
6253 if test "$wxUSE_MS_HTML_HELP" = yes; then
6254 echo "$as_me:$LINENO: result: yes" >&5
6255echo "${ECHO_T}yes" >&6
6256 else
6257 echo "$as_me:$LINENO: result: no" >&5
6258echo "${ECHO_T}no" >&6
6259 fi
6260
6261
6262 enablestring=
6263 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6264echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6265 no_cache=0
6266 # Check whether --enable-html or --disable-html was given.
6267if test "${enable_html+set}" = set; then
6268 enableval="$enable_html"
6269
6270 if test "$enableval" = yes; then
6271 ac_cv_use_html='wxUSE_HTML=yes'
6272 else
6273 ac_cv_use_html='wxUSE_HTML=no'
6274 fi
6275
6276else
6277
6278 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6279 if test "x$LINE" != x ; then
6280 eval "DEFAULT_$LINE"
6281 else
6282 no_cache=1
6283 fi
6284
6285 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6286
6287fi;
6288
6289 eval "$ac_cv_use_html"
6290 if test "$no_cache" != 1; then
6291 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6292 fi
6293
6294 if test "$wxUSE_HTML" = yes; then
6295 echo "$as_me:$LINENO: result: yes" >&5
6296echo "${ECHO_T}yes" >&6
6297 else
6298 echo "$as_me:$LINENO: result: no" >&5
6299echo "${ECHO_T}no" >&6
6300 fi
6301
6302
6303 enablestring=
6304 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6305echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6306 no_cache=0
6307 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6308if test "${enable_htmlhelp+set}" = set; then
6309 enableval="$enable_htmlhelp"
6310
6311 if test "$enableval" = yes; then
6312 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6313 else
6314 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6315 fi
6316
6317else
6318
6319 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6320 if test "x$LINE" != x ; then
6321 eval "DEFAULT_$LINE"
6322 else
6323 no_cache=1
6324 fi
6325
6326 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6327
6328fi;
6329
6330 eval "$ac_cv_use_htmlhelp"
6331 if test "$no_cache" != 1; then
6332 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6333 fi
6334
6335 if test "$wxUSE_WXHTML_HELP" = yes; then
6336 echo "$as_me:$LINENO: result: yes" >&5
6337echo "${ECHO_T}yes" >&6
6338 else
6339 echo "$as_me:$LINENO: result: no" >&5
6340echo "${ECHO_T}no" >&6
6341 fi
6342
6343
9a8f0513
VS
6344 enablestring=
6345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6346echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6347 no_cache=0
6348 # Check whether --enable-xrc or --disable-xrc was given.
6349if test "${enable_xrc+set}" = set; then
6350 enableval="$enable_xrc"
6351
6352 if test "$enableval" = yes; then
6353 ac_cv_use_xrc='wxUSE_XRC=yes'
6354 else
6355 ac_cv_use_xrc='wxUSE_XRC=no'
6356 fi
6357
6358else
6359
6360 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6361 if test "x$LINE" != x ; then
6362 eval "DEFAULT_$LINE"
6363 else
6364 no_cache=1
6365 fi
6366
6367 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6368
6369fi;
6370
6371 eval "$ac_cv_use_xrc"
6372 if test "$no_cache" != 1; then
6373 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6374 fi
6375
6376 if test "$wxUSE_XRC" = yes; then
6377 echo "$as_me:$LINENO: result: yes" >&5
6378echo "${ECHO_T}yes" >&6
6379 else
6380 echo "$as_me:$LINENO: result: no" >&5
6381echo "${ECHO_T}no" >&6
6382 fi
6383
6384
a848cd7e
SC
6385 enablestring=
6386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6387echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6388 no_cache=0
6389 # Check whether --enable-constraints or --disable-constraints was given.
6390if test "${enable_constraints+set}" = set; then
6391 enableval="$enable_constraints"
6392
6393 if test "$enableval" = yes; then
6394 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
6395 else
6396 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
6397 fi
6398
6399else
6400
6401 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6402 if test "x$LINE" != x ; then
6403 eval "DEFAULT_$LINE"
6404 else
6405 no_cache=1
6406 fi
6407
6408 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6409
6410fi;
6411
6412 eval "$ac_cv_use_constraints"
6413 if test "$no_cache" != 1; then
6414 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6415 fi
6416
6417 if test "$wxUSE_CONSTRAINTS" = yes; then
6418 echo "$as_me:$LINENO: result: yes" >&5
6419echo "${ECHO_T}yes" >&6
6420 else
6421 echo "$as_me:$LINENO: result: no" >&5
6422echo "${ECHO_T}no" >&6
6423 fi
6424
6425
6426 enablestring=
6427 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6428echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6429 no_cache=0
6430 # Check whether --enable-printarch or --disable-printarch was given.
6431if test "${enable_printarch+set}" = set; then
6432 enableval="$enable_printarch"
6433
6434 if test "$enableval" = yes; then
6435 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6436 else
6437 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6438 fi
6439
6440else
6441
6442 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6443 if test "x$LINE" != x ; then
6444 eval "DEFAULT_$LINE"
6445 else
6446 no_cache=1
6447 fi
6448
6449 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6450
6451fi;
6452
6453 eval "$ac_cv_use_printarch"
6454 if test "$no_cache" != 1; then
6455 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6456 fi
6457
6458 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6459 echo "$as_me:$LINENO: result: yes" >&5
6460echo "${ECHO_T}yes" >&6
6461 else
6462 echo "$as_me:$LINENO: result: no" >&5
6463echo "${ECHO_T}no" >&6
6464 fi
6465
6466
6467 enablestring=
6468 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6469echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6470 no_cache=0
6471 # Check whether --enable-mdi or --disable-mdi was given.
6472if test "${enable_mdi+set}" = set; then
6473 enableval="$enable_mdi"
6474
6475 if test "$enableval" = yes; then
8a7b1113 6476 ac_cv_use_mdi='wxUSE_MDI=yes'
a848cd7e 6477 else
8a7b1113 6478 ac_cv_use_mdi='wxUSE_MDI=no'
a848cd7e
SC
6479 fi
6480
6481else
6482
8a7b1113 6483 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
a848cd7e
SC
6484 if test "x$LINE" != x ; then
6485 eval "DEFAULT_$LINE"
6486 else
6487 no_cache=1
6488 fi
6489
8a7b1113 6490 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
a848cd7e
SC
6491
6492fi;
6493
6494 eval "$ac_cv_use_mdi"
6495 if test "$no_cache" != 1; then
6496 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6497 fi
6498
8a7b1113
VZ
6499 if test "$wxUSE_MDI" = yes; then
6500 echo "$as_me:$LINENO: result: yes" >&5
6501echo "${ECHO_T}yes" >&6
6502 else
6503 echo "$as_me:$LINENO: result: no" >&5
6504echo "${ECHO_T}no" >&6
6505 fi
6506
6507
6508 enablestring=
6509 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6510echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6511 no_cache=0
6512 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6513if test "${enable_mdidoc+set}" = set; then
6514 enableval="$enable_mdidoc"
6515
6516 if test "$enableval" = yes; then
6517 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
6518 else
6519 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
6520 fi
6521
6522else
6523
6524 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6525 if test "x$LINE" != x ; then
6526 eval "DEFAULT_$LINE"
6527 else
6528 no_cache=1
6529 fi
6530
6531 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6532
6533fi;
6534
6535 eval "$ac_cv_use_mdidoc"
6536 if test "$no_cache" != 1; then
6537 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6538 fi
6539
a848cd7e
SC
6540 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6541 echo "$as_me:$LINENO: result: yes" >&5
6542echo "${ECHO_T}yes" >&6
6543 else
6544 echo "$as_me:$LINENO: result: no" >&5
6545echo "${ECHO_T}no" >&6
6546 fi
6547
6548
6549 enablestring=
6550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6551echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6552 no_cache=0
6553 # Check whether --enable-loggui or --disable-loggui was given.
6554if test "${enable_loggui+set}" = set; then
6555 enableval="$enable_loggui"
6556
6557 if test "$enableval" = yes; then
6558 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6559 else
6560 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6561 fi
6562
6563else
6564
6565 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6566 if test "x$LINE" != x ; then
6567 eval "DEFAULT_$LINE"
6568 else
6569 no_cache=1
6570 fi
6571
6572 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6573
6574fi;
6575
6576 eval "$ac_cv_use_loggui"
6577 if test "$no_cache" != 1; then
6578 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6579 fi
6580
6581 if test "$wxUSE_LOGGUI" = yes; then
6582 echo "$as_me:$LINENO: result: yes" >&5
6583echo "${ECHO_T}yes" >&6
6584 else
6585 echo "$as_me:$LINENO: result: no" >&5
6586echo "${ECHO_T}no" >&6
6587 fi
6588
6589
6590 enablestring=
6591 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6592echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6593 no_cache=0
6594 # Check whether --enable-logwin or --disable-logwin was given.
6595if test "${enable_logwin+set}" = set; then
6596 enableval="$enable_logwin"
6597
6598 if test "$enableval" = yes; then
6599 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6600 else
6601 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6602 fi
6603
6604else
6605
6606 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6607 if test "x$LINE" != x ; then
6608 eval "DEFAULT_$LINE"
6609 else
6610 no_cache=1
6611 fi
6612
6613 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6614
6615fi;
6616
6617 eval "$ac_cv_use_logwin"
6618 if test "$no_cache" != 1; then
6619 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6620 fi
6621
6622 if test "$wxUSE_LOGWINDOW" = yes; then
6623 echo "$as_me:$LINENO: result: yes" >&5
6624echo "${ECHO_T}yes" >&6
6625 else
6626 echo "$as_me:$LINENO: result: no" >&5
6627echo "${ECHO_T}no" >&6
6628 fi
6629
6630
6631 enablestring=
6632 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6633echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6634 no_cache=0
6635 # Check whether --enable-logdialog or --disable-logdialog was given.
6636if test "${enable_logdialog+set}" = set; then
6637 enableval="$enable_logdialog"
6638
6639 if test "$enableval" = yes; then
6640 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6641 else
6642 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6643 fi
6644
6645else
6646
6647 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6648 if test "x$LINE" != x ; then
6649 eval "DEFAULT_$LINE"
6650 else
6651 no_cache=1
6652 fi
6653
6654 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6655
6656fi;
6657
6658 eval "$ac_cv_use_logdialog"
6659 if test "$no_cache" != 1; then
6660 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6661 fi
6662
6663 if test "$wxUSE_LOGDIALOG" = yes; then
6664 echo "$as_me:$LINENO: result: yes" >&5
6665echo "${ECHO_T}yes" >&6
6666 else
6667 echo "$as_me:$LINENO: result: no" >&5
6668echo "${ECHO_T}no" >&6
6669 fi
6670
6671
646b6ec1
VS
6672 enablestring=
6673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6674echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6675 no_cache=0
6676 # Check whether --enable-webkit or --disable-webkit was given.
6677if test "${enable_webkit+set}" = set; then
6678 enableval="$enable_webkit"
6679
6680 if test "$enableval" = yes; then
6681 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
6682 else
6683 ac_cv_use_webkit='wxUSE_WEBKIT=no'
6684 fi
6685
6686else
6687
6688 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6689 if test "x$LINE" != x ; then
6690 eval "DEFAULT_$LINE"
6691 else
6692 no_cache=1
6693 fi
6694
6695 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6696
6697fi;
6698
6699 eval "$ac_cv_use_webkit"
6700 if test "$no_cache" != 1; then
6701 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6702 fi
6703
6704 if test "$wxUSE_WEBKIT" = yes; then
6705 echo "$as_me:$LINENO: result: yes" >&5
6706echo "${ECHO_T}yes" >&6
6707 else
6708 echo "$as_me:$LINENO: result: no" >&5
6709echo "${ECHO_T}no" >&6
6710 fi
6711
6712
a848cd7e
SC
6713
6714 enablestring=
6715 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6716echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6717 no_cache=0
6718 # Check whether --enable-postscript or --disable-postscript was given.
6719if test "${enable_postscript+set}" = set; then
6720 enableval="$enable_postscript"
6721
6722 if test "$enableval" = yes; then
6723 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6724 else
6725 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6726 fi
6727
6728else
6729
6730 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6731 if test "x$LINE" != x ; then
6732 eval "DEFAULT_$LINE"
6733 else
6734 no_cache=1
6735 fi
6736
6737 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6738
6739fi;
6740
6741 eval "$ac_cv_use_postscript"
6742 if test "$no_cache" != 1; then
6743 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6744 fi
6745
6746 if test "$wxUSE_POSTSCRIPT" = yes; then
6747 echo "$as_me:$LINENO: result: yes" >&5
6748echo "${ECHO_T}yes" >&6
6749 else
6750 echo "$as_me:$LINENO: result: no" >&5
6751echo "${ECHO_T}no" >&6
6752 fi
6753
6754
6755
6756
6757
6758 enablestring=
6759 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6760echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6761 no_cache=0
6762 # Check whether --enable-prologio or --disable-prologio was given.
6763if test "${enable_prologio+set}" = set; then
6764 enableval="$enable_prologio"
6765
6766 if test "$enableval" = yes; then
6767 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6768 else
6769 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6770 fi
6771
6772else
6773
6774 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6775 if test "x$LINE" != x ; then
6776 eval "DEFAULT_$LINE"
6777 else
6778 no_cache=1
6779 fi
6780
6781 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6782
6783fi;
6784
6785 eval "$ac_cv_use_prologio"
6786 if test "$no_cache" != 1; then
6787 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6788 fi
6789
6790 if test "$wxUSE_PROLOGIO" = yes; then
6791 echo "$as_me:$LINENO: result: yes" >&5
6792echo "${ECHO_T}yes" >&6
6793 else
6794 echo "$as_me:$LINENO: result: no" >&5
6795echo "${ECHO_T}no" >&6
6796 fi
6797
6798
6799 enablestring=
6800 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6801echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6802 no_cache=0
6803 # Check whether --enable-resources or --disable-resources was given.
6804if test "${enable_resources+set}" = set; then
6805 enableval="$enable_resources"
6806
6807 if test "$enableval" = yes; then
6808 ac_cv_use_resources='wxUSE_RESOURCES=yes'
6809 else
6810 ac_cv_use_resources='wxUSE_RESOURCES=no'
6811 fi
6812
6813else
6814
6815 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6816 if test "x$LINE" != x ; then
6817 eval "DEFAULT_$LINE"
6818 else
6819 no_cache=1
6820 fi
6821
6822 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6823
6824fi;
6825
6826 eval "$ac_cv_use_resources"
6827 if test "$no_cache" != 1; then
6828 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6829 fi
6830
6831 if test "$wxUSE_RESOURCES" = yes; then
6832 echo "$as_me:$LINENO: result: yes" >&5
6833echo "${ECHO_T}yes" >&6
6834 else
6835 echo "$as_me:$LINENO: result: no" >&5
6836echo "${ECHO_T}no" >&6
6837 fi
6838
6839
6840
6841
6842 enablestring=
6843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6844echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6845 no_cache=0
6846 # Check whether --enable-clipboard or --disable-clipboard was given.
6847if test "${enable_clipboard+set}" = set; then
6848 enableval="$enable_clipboard"
6849
6850 if test "$enableval" = yes; then
6851 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
6852 else
6853 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
6854 fi
6855
6856else
6857
6858 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6859 if test "x$LINE" != x ; then
6860 eval "DEFAULT_$LINE"
6861 else
6862 no_cache=1
6863 fi
6864
6865 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6866
6867fi;
6868
6869 eval "$ac_cv_use_clipboard"
6870 if test "$no_cache" != 1; then
6871 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6872 fi
6873
6874 if test "$wxUSE_CLIPBOARD" = yes; then
6875 echo "$as_me:$LINENO: result: yes" >&5
6876echo "${ECHO_T}yes" >&6
6877 else
6878 echo "$as_me:$LINENO: result: no" >&5
6879echo "${ECHO_T}no" >&6
6880 fi
6881
6882
6883 enablestring=
6884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6885echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6886 no_cache=0
6887 # Check whether --enable-dnd or --disable-dnd was given.
6888if test "${enable_dnd+set}" = set; then
6889 enableval="$enable_dnd"
6890
6891 if test "$enableval" = yes; then
6892 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
6893 else
6894 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
6895 fi
6896
6897else
6898
6899 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6900 if test "x$LINE" != x ; then
6901 eval "DEFAULT_$LINE"
6902 else
6903 no_cache=1
6904 fi
6905
6906 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6907
6908fi;
6909
6910 eval "$ac_cv_use_dnd"
6911 if test "$no_cache" != 1; then
6912 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6913 fi
6914
6915 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6916 echo "$as_me:$LINENO: result: yes" >&5
6917echo "${ECHO_T}yes" >&6
6918 else
6919 echo "$as_me:$LINENO: result: no" >&5
6920echo "${ECHO_T}no" >&6
6921 fi
6922
6923
6924 enablestring=
6925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6926echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6927 no_cache=0
6928 # Check whether --enable-metafile or --disable-metafile was given.
6929if test "${enable_metafile+set}" = set; then
6930 enableval="$enable_metafile"
6931
6932 if test "$enableval" = yes; then
6933 ac_cv_use_metafile='wxUSE_METAFILE=yes'
6934 else
6935 ac_cv_use_metafile='wxUSE_METAFILE=no'
6936 fi
6937
6938else
6939
6940 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6941 if test "x$LINE" != x ; then
6942 eval "DEFAULT_$LINE"
6943 else
6944 no_cache=1
6945 fi
6946
6947 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6948
6949fi;
6950
6951 eval "$ac_cv_use_metafile"
6952 if test "$no_cache" != 1; then
6953 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6954 fi
6955
6956 if test "$wxUSE_METAFILE" = yes; then
6957 echo "$as_me:$LINENO: result: yes" >&5
6958echo "${ECHO_T}yes" >&6
6959 else
6960 echo "$as_me:$LINENO: result: no" >&5
6961echo "${ECHO_T}no" >&6
6962 fi
6963
6964
6965
6966
6967
6968 enablestring=
6969 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6970echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6971 no_cache=0
6972 # Check whether --enable-controls or --disable-controls was given.
6973if test "${enable_controls+set}" = set; then
6974 enableval="$enable_controls"
6975
6976 if test "$enableval" = yes; then
6977 ac_cv_use_controls='wxUSE_CONTROLS=yes'
6978 else
6979 ac_cv_use_controls='wxUSE_CONTROLS=no'
6980 fi
6981
6982else
6983
6984 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6985 if test "x$LINE" != x ; then
6986 eval "DEFAULT_$LINE"
6987 else
6988 no_cache=1
6989 fi
6990
6991 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6992
6993fi;
6994
6995 eval "$ac_cv_use_controls"
6996 if test "$no_cache" != 1; then
6997 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6998 fi
6999
7000 if test "$wxUSE_CONTROLS" = yes; then
7001 echo "$as_me:$LINENO: result: yes" >&5
7002echo "${ECHO_T}yes" >&6
7003 else
7004 echo "$as_me:$LINENO: result: no" >&5
7005echo "${ECHO_T}no" >&6
7006 fi
7007
7008
7009if test "$wxUSE_CONTROLS" = "yes"; then
7010 DEFAULT_wxUSE_ACCEL=yes
7011 DEFAULT_wxUSE_BMPBUTTON=yes
7012 DEFAULT_wxUSE_BUTTON=yes
7013 DEFAULT_wxUSE_CALCTRL=no
7014 DEFAULT_wxUSE_CARET=yes
7015 DEFAULT_wxUSE_COMBOBOX=yes
7016 DEFAULT_wxUSE_CHECKBOX=yes
7017 DEFAULT_wxUSE_CHECKLISTBOX=yes
7018 DEFAULT_wxUSE_CHOICE=yes
92bbdbcd 7019 DEFAULT_wxUSE_CHOICEBOOK=yes
a848cd7e
SC
7020 DEFAULT_wxUSE_GAUGE=yes
7021 DEFAULT_wxUSE_GRID=yes
7022 DEFAULT_wxUSE_IMAGLIST=yes
7023 DEFAULT_wxUSE_LISTBOOK=yes
7024 DEFAULT_wxUSE_LISTBOX=yes
7025 DEFAULT_wxUSE_LISTCTRL=yes
7026 DEFAULT_wxUSE_NOTEBOOK=yes
7027 DEFAULT_wxUSE_RADIOBOX=yes
7028 DEFAULT_wxUSE_RADIOBTN=yes
7029 DEFAULT_wxUSE_SASH=yes
7030 DEFAULT_wxUSE_SCROLLBAR=yes
7031 DEFAULT_wxUSE_SLIDER=yes
7032 DEFAULT_wxUSE_SPINBTN=yes
7033 DEFAULT_wxUSE_SPINCTRL=yes
7034 DEFAULT_wxUSE_SPLITTER=yes
7035 DEFAULT_wxUSE_STATBMP=yes
7036 DEFAULT_wxUSE_STATBOX=yes
7037 DEFAULT_wxUSE_STATLINE=yes
7038 DEFAULT_wxUSE_STATUSBAR=yes
7039 DEFAULT_wxUSE_TAB_DIALOG=yes
7040 DEFAULT_wxUSE_TOGGLEBTN=yes
7041 DEFAULT_wxUSE_TOOLBAR=yes
7042 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7043 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
7044 DEFAULT_wxUSE_TOOLTIPS=yes
7045 DEFAULT_wxUSE_TREECTRL=yes
7046 DEFAULT_wxUSE_POPUPWIN=yes
7047 DEFAULT_wxUSE_TIPWINDOW=yes
7048elif test "$wxUSE_CONTROLS" = "no"; then
7049 DEFAULT_wxUSE_ACCEL=no
7050 DEFAULT_wxUSE_BMPBUTTON=no
7051 DEFAULT_wxUSE_BUTTON=no
7052 DEFAULT_wxUSE_CALCTRL=no
7053 DEFAULT_wxUSE_CARET=no
7054 DEFAULT_wxUSE_COMBOBOX=no
7055 DEFAULT_wxUSE_CHECKBOX=no
7056 DEFAULT_wxUSE_CHECKLISTBOX=no
7057 DEFAULT_wxUSE_CHOICE=no
92bbdbcd 7058 DEFAULT_wxUSE_CHOICEBOOK=no
a848cd7e
SC
7059 DEFAULT_wxUSE_GAUGE=no
7060 DEFAULT_wxUSE_GRID=no
7061 DEFAULT_wxUSE_IMAGLIST=no
7062 DEFAULT_wxUSE_LISTBOOK=no
7063 DEFAULT_wxUSE_LISTBOX=no
7064 DEFAULT_wxUSE_LISTCTRL=no
7065 DEFAULT_wxUSE_NOTEBOOK=no
7066 DEFAULT_wxUSE_RADIOBOX=no
7067 DEFAULT_wxUSE_RADIOBTN=no
7068 DEFAULT_wxUSE_SASH=no
7069 DEFAULT_wxUSE_SCROLLBAR=no
7070 DEFAULT_wxUSE_SLIDER=no
7071 DEFAULT_wxUSE_SPINBTN=no
7072 DEFAULT_wxUSE_SPINCTRL=no
7073 DEFAULT_wxUSE_SPLITTER=no
7074 DEFAULT_wxUSE_STATBMP=no
7075 DEFAULT_wxUSE_STATBOX=no
7076 DEFAULT_wxUSE_STATLINE=no
7077 DEFAULT_wxUSE_STATUSBAR=no
7078 DEFAULT_wxUSE_TAB_DIALOG=no
7079 DEFAULT_wxUSE_TOGGLEBTN=no
7080 DEFAULT_wxUSE_TOOLBAR=no
7081 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7082 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
7083 DEFAULT_wxUSE_TOOLTIPS=no
7084 DEFAULT_wxUSE_TREECTRL=no
7085 DEFAULT_wxUSE_POPUPWIN=no
7086 DEFAULT_wxUSE_TIPWINDOW=no
7087fi
7088
a848cd7e
SC
7089
7090 enablestring=
7091 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7092echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7093 no_cache=0
7094 # Check whether --enable-accel or --disable-accel was given.
7095if test "${enable_accel+set}" = set; then
7096 enableval="$enable_accel"
7097
7098 if test "$enableval" = yes; then
7099 ac_cv_use_accel='wxUSE_ACCEL=yes'
7100 else
7101 ac_cv_use_accel='wxUSE_ACCEL=no'
7102 fi
7103
7104else
7105
7106 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7107 if test "x$LINE" != x ; then
7108 eval "DEFAULT_$LINE"
7109 else
7110 no_cache=1
7111 fi
7112
7113 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7114
7115fi;
7116
7117 eval "$ac_cv_use_accel"
7118 if test "$no_cache" != 1; then
7119 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7120 fi
7121
7122 if test "$wxUSE_ACCEL" = yes; then
7123 echo "$as_me:$LINENO: result: yes" >&5
7124echo "${ECHO_T}yes" >&6
7125 else
7126 echo "$as_me:$LINENO: result: no" >&5
7127echo "${ECHO_T}no" >&6
7128 fi
7129
7130
7131 enablestring=
7132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7133echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7134 no_cache=0
7135 # Check whether --enable-button or --disable-button was given.
7136if test "${enable_button+set}" = set; then
7137 enableval="$enable_button"
7138
7139 if test "$enableval" = yes; then
7140 ac_cv_use_button='wxUSE_BUTTON=yes'
7141 else
7142 ac_cv_use_button='wxUSE_BUTTON=no'
7143 fi
7144
7145else
7146
7147 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7148 if test "x$LINE" != x ; then
7149 eval "DEFAULT_$LINE"
7150 else
7151 no_cache=1
7152 fi
7153
7154 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7155
7156fi;
7157
7158 eval "$ac_cv_use_button"
7159 if test "$no_cache" != 1; then
7160 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7161 fi
7162
7163 if test "$wxUSE_BUTTON" = yes; then
7164 echo "$as_me:$LINENO: result: yes" >&5
7165echo "${ECHO_T}yes" >&6
7166 else
7167 echo "$as_me:$LINENO: result: no" >&5
7168echo "${ECHO_T}no" >&6
7169 fi
7170
7171
7172 enablestring=
7173 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7174echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7175 no_cache=0
7176 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7177if test "${enable_bmpbutton+set}" = set; then
7178 enableval="$enable_bmpbutton"
7179
7180 if test "$enableval" = yes; then
7181 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
7182 else
7183 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
7184 fi
7185
7186else
7187
7188 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7189 if test "x$LINE" != x ; then
7190 eval "DEFAULT_$LINE"
7191 else
7192 no_cache=1
7193 fi
7194
7195 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7196
7197fi;
7198
7199 eval "$ac_cv_use_bmpbutton"
7200 if test "$no_cache" != 1; then
7201 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7202 fi
7203
7204 if test "$wxUSE_BMPBUTTON" = yes; then
7205 echo "$as_me:$LINENO: result: yes" >&5
7206echo "${ECHO_T}yes" >&6
7207 else
7208 echo "$as_me:$LINENO: result: no" >&5
7209echo "${ECHO_T}no" >&6
7210 fi
7211
7212
7213 enablestring=
7214 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7215echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7216 no_cache=0
7217 # Check whether --enable-calendar or --disable-calendar was given.
7218if test "${enable_calendar+set}" = set; then
7219 enableval="$enable_calendar"
7220
7221 if test "$enableval" = yes; then
7222 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
7223 else
7224 ac_cv_use_calendar='wxUSE_CALCTRL=no'
7225 fi
7226
7227else
7228
7229 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7230 if test "x$LINE" != x ; then
7231 eval "DEFAULT_$LINE"
7232 else
7233 no_cache=1
7234 fi
7235
7236 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7237
7238fi;
7239
7240 eval "$ac_cv_use_calendar"
7241 if test "$no_cache" != 1; then
7242 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7243 fi
7244
7245 if test "$wxUSE_CALCTRL" = yes; then
7246 echo "$as_me:$LINENO: result: yes" >&5
7247echo "${ECHO_T}yes" >&6
7248 else
7249 echo "$as_me:$LINENO: result: no" >&5
7250echo "${ECHO_T}no" >&6
7251 fi
7252
7253
7254 enablestring=
7255 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7256echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7257 no_cache=0
7258 # Check whether --enable-caret or --disable-caret was given.
7259if test "${enable_caret+set}" = set; then
7260 enableval="$enable_caret"
7261
7262 if test "$enableval" = yes; then
7263 ac_cv_use_caret='wxUSE_CARET=yes'
7264 else
7265 ac_cv_use_caret='wxUSE_CARET=no'
7266 fi
7267
7268else
7269
7270 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7271 if test "x$LINE" != x ; then
7272 eval "DEFAULT_$LINE"
7273 else
7274 no_cache=1
7275 fi
7276
7277 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7278
7279fi;
7280
7281 eval "$ac_cv_use_caret"
7282 if test "$no_cache" != 1; then
7283 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7284 fi
7285
7286 if test "$wxUSE_CARET" = yes; then
7287 echo "$as_me:$LINENO: result: yes" >&5
7288echo "${ECHO_T}yes" >&6
7289 else
7290 echo "$as_me:$LINENO: result: no" >&5
7291echo "${ECHO_T}no" >&6
7292 fi
7293
7294
7295 enablestring=
7296 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7297echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7298 no_cache=0
7299 # Check whether --enable-checkbox or --disable-checkbox was given.
7300if test "${enable_checkbox+set}" = set; then
7301 enableval="$enable_checkbox"
7302
7303 if test "$enableval" = yes; then
7304 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
7305 else
7306 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
7307 fi
7308
7309else
7310
7311 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7312 if test "x$LINE" != x ; then
7313 eval "DEFAULT_$LINE"
7314 else
7315 no_cache=1
7316 fi
7317
7318 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7319
7320fi;
7321
7322 eval "$ac_cv_use_checkbox"
7323 if test "$no_cache" != 1; then
7324 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7325 fi
7326
7327 if test "$wxUSE_CHECKBOX" = yes; then
7328 echo "$as_me:$LINENO: result: yes" >&5
7329echo "${ECHO_T}yes" >&6
7330 else
7331 echo "$as_me:$LINENO: result: no" >&5
7332echo "${ECHO_T}no" >&6
7333 fi
7334
7335
7336 enablestring=
7337 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7338echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7339 no_cache=0
7340 # Check whether --enable-checklst or --disable-checklst was given.
7341if test "${enable_checklst+set}" = set; then
7342 enableval="$enable_checklst"
7343
7344 if test "$enableval" = yes; then
7345 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
7346 else
7347 ac_cv_use_checklst='wxUSE_CHECKLST=no'
7348 fi
7349
7350else
7351
7352 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7353 if test "x$LINE" != x ; then
7354 eval "DEFAULT_$LINE"
7355 else
7356 no_cache=1
7357 fi
7358
7359 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7360
7361fi;
7362
7363 eval "$ac_cv_use_checklst"
7364 if test "$no_cache" != 1; then
7365 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7366 fi
7367
7368 if test "$wxUSE_CHECKLST" = yes; then
7369 echo "$as_me:$LINENO: result: yes" >&5
7370echo "${ECHO_T}yes" >&6
7371 else
7372 echo "$as_me:$LINENO: result: no" >&5
7373echo "${ECHO_T}no" >&6
7374 fi
7375
7376
7377 enablestring=
7378 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7379echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7380 no_cache=0
7381 # Check whether --enable-choice or --disable-choice was given.
7382if test "${enable_choice+set}" = set; then
7383 enableval="$enable_choice"
7384
7385 if test "$enableval" = yes; then
7386 ac_cv_use_choice='wxUSE_CHOICE=yes'
7387 else
7388 ac_cv_use_choice='wxUSE_CHOICE=no'
7389 fi
7390
7391else
7392
7393 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7394 if test "x$LINE" != x ; then
7395 eval "DEFAULT_$LINE"
7396 else
7397 no_cache=1
7398 fi
7399
7400 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7401
7402fi;
7403
7404 eval "$ac_cv_use_choice"
7405 if test "$no_cache" != 1; then
7406 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7407 fi
7408
7409 if test "$wxUSE_CHOICE" = yes; then
7410 echo "$as_me:$LINENO: result: yes" >&5
7411echo "${ECHO_T}yes" >&6
7412 else
7413 echo "$as_me:$LINENO: result: no" >&5
7414echo "${ECHO_T}no" >&6
7415 fi
7416
7417
92bbdbcd
WS
7418 enablestring=
7419 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7420echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7421 no_cache=0
7422 # Check whether --enable-choicebook or --disable-choicebook was given.
7423if test "${enable_choicebook+set}" = set; then
7424 enableval="$enable_choicebook"
7425
7426 if test "$enableval" = yes; then
7427 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
7428 else
7429 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
7430 fi
7431
7432else
7433
7434 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7435 if test "x$LINE" != x ; then
7436 eval "DEFAULT_$LINE"
7437 else
7438 no_cache=1
7439 fi
7440
7441 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7442
7443fi;
7444
7445 eval "$ac_cv_use_choicebook"
7446 if test "$no_cache" != 1; then
7447 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7448 fi
7449
7450 if test "$wxUSE_CHOICEBOOK" = yes; then
7451 echo "$as_me:$LINENO: result: yes" >&5
7452echo "${ECHO_T}yes" >&6
7453 else
7454 echo "$as_me:$LINENO: result: no" >&5
7455echo "${ECHO_T}no" >&6
7456 fi
7457
7458
a848cd7e
SC
7459 enablestring=
7460 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7461echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7462 no_cache=0
7463 # Check whether --enable-combobox or --disable-combobox was given.
7464if test "${enable_combobox+set}" = set; then
7465 enableval="$enable_combobox"
7466
7467 if test "$enableval" = yes; then
7468 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
7469 else
7470 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
7471 fi
7472
7473else
7474
7475 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7476 if test "x$LINE" != x ; then
7477 eval "DEFAULT_$LINE"
7478 else
7479 no_cache=1
7480 fi
7481
7482 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7483
7484fi;
7485
7486 eval "$ac_cv_use_combobox"
7487 if test "$no_cache" != 1; then
7488 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7489 fi
7490
7491 if test "$wxUSE_COMBOBOX" = yes; then
7492 echo "$as_me:$LINENO: result: yes" >&5
7493echo "${ECHO_T}yes" >&6
7494 else
7495 echo "$as_me:$LINENO: result: no" >&5
7496echo "${ECHO_T}no" >&6
7497 fi
7498
7499
7500 enablestring=
7501 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7502echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7503 no_cache=0
7504 # Check whether --enable-display or --disable-display was given.
7505if test "${enable_display+set}" = set; then
7506 enableval="$enable_display"
7507
7508 if test "$enableval" = yes; then
7509 ac_cv_use_display='wxUSE_DISPLAY=yes'
7510 else
7511 ac_cv_use_display='wxUSE_DISPLAY=no'
7512 fi
7513
7514else
7515
7516 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7517 if test "x$LINE" != x ; then
7518 eval "DEFAULT_$LINE"
7519 else
7520 no_cache=1
7521 fi
7522
7523 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7524
7525fi;
7526
7527 eval "$ac_cv_use_display"
7528 if test "$no_cache" != 1; then
7529 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7530 fi
7531
7532 if test "$wxUSE_DISPLAY" = yes; then
7533 echo "$as_me:$LINENO: result: yes" >&5
7534echo "${ECHO_T}yes" >&6
7535 else
7536 echo "$as_me:$LINENO: result: no" >&5
7537echo "${ECHO_T}no" >&6
7538 fi
7539
7540
7541 enablestring=
7542 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7543echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7544 no_cache=0
7545 # Check whether --enable-gauge or --disable-gauge was given.
7546if test "${enable_gauge+set}" = set; then
7547 enableval="$enable_gauge"
7548
7549 if test "$enableval" = yes; then
7550 ac_cv_use_gauge='wxUSE_GAUGE=yes'
7551 else
7552 ac_cv_use_gauge='wxUSE_GAUGE=no'
7553 fi
7554
7555else
7556
7557 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7558 if test "x$LINE" != x ; then
7559 eval "DEFAULT_$LINE"
7560 else
7561 no_cache=1
7562 fi
7563
7564 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7565
7566fi;
7567
7568 eval "$ac_cv_use_gauge"
7569 if test "$no_cache" != 1; then
7570 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7571 fi
7572
7573 if test "$wxUSE_GAUGE" = yes; then
7574 echo "$as_me:$LINENO: result: yes" >&5
7575echo "${ECHO_T}yes" >&6
7576 else
7577 echo "$as_me:$LINENO: result: no" >&5
7578echo "${ECHO_T}no" >&6
7579 fi
7580
7581
7582 enablestring=
7583 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7584echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7585 no_cache=0
7586 # Check whether --enable-grid or --disable-grid was given.
7587if test "${enable_grid+set}" = set; then
7588 enableval="$enable_grid"
7589
7590 if test "$enableval" = yes; then
7591 ac_cv_use_grid='wxUSE_GRID=yes'
7592 else
7593 ac_cv_use_grid='wxUSE_GRID=no'
7594 fi
7595
7596else
7597
7598 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7599 if test "x$LINE" != x ; then
7600 eval "DEFAULT_$LINE"
7601 else
7602 no_cache=1
7603 fi
7604
7605 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7606
7607fi;
7608
7609 eval "$ac_cv_use_grid"
7610 if test "$no_cache" != 1; then
7611 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7612 fi
7613
7614 if test "$wxUSE_GRID" = yes; then
7615 echo "$as_me:$LINENO: result: yes" >&5
7616echo "${ECHO_T}yes" >&6
7617 else
7618 echo "$as_me:$LINENO: result: no" >&5
7619echo "${ECHO_T}no" >&6
7620 fi
7621
7622
7623 enablestring=
7624 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7625echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7626 no_cache=0
7627 # Check whether --enable-imaglist or --disable-imaglist was given.
7628if test "${enable_imaglist+set}" = set; then
7629 enableval="$enable_imaglist"
7630
7631 if test "$enableval" = yes; then
7632 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7633 else
7634 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7635 fi
7636
7637else
7638
7639 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7640 if test "x$LINE" != x ; then
7641 eval "DEFAULT_$LINE"
7642 else
7643 no_cache=1
7644 fi
7645
7646 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7647
7648fi;
7649
7650 eval "$ac_cv_use_imaglist"
7651 if test "$no_cache" != 1; then
7652 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7653 fi
7654
7655 if test "$wxUSE_IMAGLIST" = yes; then
7656 echo "$as_me:$LINENO: result: yes" >&5
7657echo "${ECHO_T}yes" >&6
7658 else
7659 echo "$as_me:$LINENO: result: no" >&5
7660echo "${ECHO_T}no" >&6
7661 fi
7662
7663
7664 enablestring=
7665 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7666echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7667 no_cache=0
7668 # Check whether --enable-listbook or --disable-listbook was given.
7669if test "${enable_listbook+set}" = set; then
7670 enableval="$enable_listbook"
7671
7672 if test "$enableval" = yes; then
7673 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
7674 else
7675 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
7676 fi
7677
7678else
7679
7680 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7681 if test "x$LINE" != x ; then
7682 eval "DEFAULT_$LINE"
7683 else
7684 no_cache=1
7685 fi
7686
7687 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7688
7689fi;
7690
7691 eval "$ac_cv_use_listbook"
7692 if test "$no_cache" != 1; then
7693 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7694 fi
7695
7696 if test "$wxUSE_LISTBOOK" = yes; then
7697 echo "$as_me:$LINENO: result: yes" >&5
7698echo "${ECHO_T}yes" >&6
7699 else
7700 echo "$as_me:$LINENO: result: no" >&5
7701echo "${ECHO_T}no" >&6
7702 fi
7703
7704
7705 enablestring=
7706 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7707echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7708 no_cache=0
7709 # Check whether --enable-listbox or --disable-listbox was given.
7710if test "${enable_listbox+set}" = set; then
7711 enableval="$enable_listbox"
7712
7713 if test "$enableval" = yes; then
7714 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7715 else
7716 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7717 fi
7718
7719else
7720
7721 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7722 if test "x$LINE" != x ; then
7723 eval "DEFAULT_$LINE"
7724 else
7725 no_cache=1
7726 fi
7727
7728 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7729
7730fi;
7731
7732 eval "$ac_cv_use_listbox"
7733 if test "$no_cache" != 1; then
7734 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7735 fi
7736
7737 if test "$wxUSE_LISTBOX" = yes; then
7738 echo "$as_me:$LINENO: result: yes" >&5
7739echo "${ECHO_T}yes" >&6
7740 else
7741 echo "$as_me:$LINENO: result: no" >&5
7742echo "${ECHO_T}no" >&6
7743 fi
7744
7745
7746 enablestring=
7747 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7748echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7749 no_cache=0
7750 # Check whether --enable-listctrl or --disable-listctrl was given.
7751if test "${enable_listctrl+set}" = set; then
7752 enableval="$enable_listctrl"
7753
7754 if test "$enableval" = yes; then
7755 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
7756 else
7757 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
7758 fi
7759
7760else
7761
7762 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7763 if test "x$LINE" != x ; then
7764 eval "DEFAULT_$LINE"
7765 else
7766 no_cache=1
7767 fi
7768
7769 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7770
7771fi;
7772
7773 eval "$ac_cv_use_listctrl"
7774 if test "$no_cache" != 1; then
7775 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7776 fi
7777
7778 if test "$wxUSE_LISTCTRL" = yes; then
7779 echo "$as_me:$LINENO: result: yes" >&5
7780echo "${ECHO_T}yes" >&6
7781 else
7782 echo "$as_me:$LINENO: result: no" >&5
7783echo "${ECHO_T}no" >&6
7784 fi
7785
7786
7787 enablestring=
7788 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7789echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7790 no_cache=0
7791 # Check whether --enable-notebook or --disable-notebook was given.
7792if test "${enable_notebook+set}" = set; then
7793 enableval="$enable_notebook"
7794
7795 if test "$enableval" = yes; then
7796 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
7797 else
7798 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
7799 fi
7800
7801else
7802
7803 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7804 if test "x$LINE" != x ; then
7805 eval "DEFAULT_$LINE"
7806 else
7807 no_cache=1
7808 fi
7809
7810 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7811
7812fi;
7813
7814 eval "$ac_cv_use_notebook"
7815 if test "$no_cache" != 1; then
7816 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7817 fi
7818
7819 if test "$wxUSE_NOTEBOOK" = yes; then
7820 echo "$as_me:$LINENO: result: yes" >&5
7821echo "${ECHO_T}yes" >&6
7822 else
7823 echo "$as_me:$LINENO: result: no" >&5
7824echo "${ECHO_T}no" >&6
7825 fi
7826
7827
7828 enablestring=
7829 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7830echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7831 no_cache=0
7832 # Check whether --enable-radiobox or --disable-radiobox was given.
7833if test "${enable_radiobox+set}" = set; then
7834 enableval="$enable_radiobox"
7835
7836 if test "$enableval" = yes; then
7837 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
7838 else
7839 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
7840 fi
7841
7842else
7843
7844 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7845 if test "x$LINE" != x ; then
7846 eval "DEFAULT_$LINE"
7847 else
7848 no_cache=1
7849 fi
7850
7851 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7852
7853fi;
7854
7855 eval "$ac_cv_use_radiobox"
7856 if test "$no_cache" != 1; then
7857 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7858 fi
7859
7860 if test "$wxUSE_RADIOBOX" = yes; then
7861 echo "$as_me:$LINENO: result: yes" >&5
7862echo "${ECHO_T}yes" >&6
7863 else
7864 echo "$as_me:$LINENO: result: no" >&5
7865echo "${ECHO_T}no" >&6
7866 fi
7867
7868
7869 enablestring=
7870 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7871echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7872 no_cache=0
7873 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7874if test "${enable_radiobtn+set}" = set; then
7875 enableval="$enable_radiobtn"
7876
7877 if test "$enableval" = yes; then
7878 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
7879 else
7880 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
7881 fi
7882
7883else
7884
7885 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7886 if test "x$LINE" != x ; then
7887 eval "DEFAULT_$LINE"
7888 else
7889 no_cache=1
7890 fi
7891
7892 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7893
7894fi;
7895
7896 eval "$ac_cv_use_radiobtn"
7897 if test "$no_cache" != 1; then
7898 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7899 fi
7900
7901 if test "$wxUSE_RADIOBTN" = yes; then
7902 echo "$as_me:$LINENO: result: yes" >&5
7903echo "${ECHO_T}yes" >&6
7904 else
7905 echo "$as_me:$LINENO: result: no" >&5
7906echo "${ECHO_T}no" >&6
7907 fi
7908
7909
7910 enablestring=
7911 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7912echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7913 no_cache=0
7914 # Check whether --enable-sash or --disable-sash was given.
7915if test "${enable_sash+set}" = set; then
7916 enableval="$enable_sash"
7917
7918 if test "$enableval" = yes; then
7919 ac_cv_use_sash='wxUSE_SASH=yes'
7920 else
7921 ac_cv_use_sash='wxUSE_SASH=no'
7922 fi
7923
7924else
7925
7926 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7927 if test "x$LINE" != x ; then
7928 eval "DEFAULT_$LINE"
7929 else
7930 no_cache=1
7931 fi
7932
7933 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7934
7935fi;
7936
7937 eval "$ac_cv_use_sash"
7938 if test "$no_cache" != 1; then
7939 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7940 fi
7941
7942 if test "$wxUSE_SASH" = yes; then
7943 echo "$as_me:$LINENO: result: yes" >&5
7944echo "${ECHO_T}yes" >&6
7945 else
7946 echo "$as_me:$LINENO: result: no" >&5
7947echo "${ECHO_T}no" >&6
7948 fi
7949
7950
7951 enablestring=
7952 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7953echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7954 no_cache=0
7955 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7956if test "${enable_scrollbar+set}" = set; then
7957 enableval="$enable_scrollbar"
7958
7959 if test "$enableval" = yes; then
7960 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
7961 else
7962 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
7963 fi
7964
7965else
7966
7967 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7968 if test "x$LINE" != x ; then
7969 eval "DEFAULT_$LINE"
7970 else
7971 no_cache=1
7972 fi
7973
7974 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7975
7976fi;
7977
7978 eval "$ac_cv_use_scrollbar"
7979 if test "$no_cache" != 1; then
7980 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7981 fi
7982
7983 if test "$wxUSE_SCROLLBAR" = yes; then
7984 echo "$as_me:$LINENO: result: yes" >&5
7985echo "${ECHO_T}yes" >&6
7986 else
7987 echo "$as_me:$LINENO: result: no" >&5
7988echo "${ECHO_T}no" >&6
7989 fi
7990
7991
7992 enablestring=
7993 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7994echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7995 no_cache=0
7996 # Check whether --enable-slider or --disable-slider was given.
7997if test "${enable_slider+set}" = set; then
7998 enableval="$enable_slider"
7999
8000 if test "$enableval" = yes; then
8001 ac_cv_use_slider='wxUSE_SLIDER=yes'
8002 else
8003 ac_cv_use_slider='wxUSE_SLIDER=no'
8004 fi
8005
8006else
8007
8008 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8009 if test "x$LINE" != x ; then
8010 eval "DEFAULT_$LINE"
8011 else
8012 no_cache=1
8013 fi
8014
8015 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8016
8017fi;
8018
8019 eval "$ac_cv_use_slider"
8020 if test "$no_cache" != 1; then
8021 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8022 fi
8023
8024 if test "$wxUSE_SLIDER" = yes; then
8025 echo "$as_me:$LINENO: result: yes" >&5
8026echo "${ECHO_T}yes" >&6
8027 else
8028 echo "$as_me:$LINENO: result: no" >&5
8029echo "${ECHO_T}no" >&6
8030 fi
8031
8032
8033 enablestring=
8034 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8035echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8036 no_cache=0
8037 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8038if test "${enable_spinbtn+set}" = set; then
8039 enableval="$enable_spinbtn"
8040
8041 if test "$enableval" = yes; then
8042 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
8043 else
8044 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
8045 fi
8046
8047else
8048
8049 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8050 if test "x$LINE" != x ; then
8051 eval "DEFAULT_$LINE"
8052 else
8053 no_cache=1
8054 fi
8055
8056 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8057
8058fi;
8059
8060 eval "$ac_cv_use_spinbtn"
8061 if test "$no_cache" != 1; then
8062 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8063 fi
8064
8065 if test "$wxUSE_SPINBTN" = yes; then
8066 echo "$as_me:$LINENO: result: yes" >&5
8067echo "${ECHO_T}yes" >&6
8068 else
8069 echo "$as_me:$LINENO: result: no" >&5
8070echo "${ECHO_T}no" >&6
8071 fi
8072
8073
8074 enablestring=
8075 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8076echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8077 no_cache=0
8078 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8079if test "${enable_spinctrl+set}" = set; then
8080 enableval="$enable_spinctrl"
8081
8082 if test "$enableval" = yes; then
8083 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
8084 else
8085 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
8086 fi
8087
8088else
8089
8090 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8091 if test "x$LINE" != x ; then
8092 eval "DEFAULT_$LINE"
8093 else
8094 no_cache=1
8095 fi
8096
8097 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8098
8099fi;
8100
8101 eval "$ac_cv_use_spinctrl"
8102 if test "$no_cache" != 1; then
8103 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8104 fi
8105
8106 if test "$wxUSE_SPINCTRL" = yes; then
8107 echo "$as_me:$LINENO: result: yes" >&5
8108echo "${ECHO_T}yes" >&6
8109 else
8110 echo "$as_me:$LINENO: result: no" >&5
8111echo "${ECHO_T}no" >&6
8112 fi
8113
8114
8115 enablestring=
8116 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8117echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8118 no_cache=0
8119 # Check whether --enable-splitter or --disable-splitter was given.
8120if test "${enable_splitter+set}" = set; then
8121 enableval="$enable_splitter"
8122
8123 if test "$enableval" = yes; then
8124 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
8125 else
8126 ac_cv_use_splitter='wxUSE_SPLITTER=no'
8127 fi
8128
8129else
8130
8131 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8132 if test "x$LINE" != x ; then
8133 eval "DEFAULT_$LINE"
8134 else
8135 no_cache=1
8136 fi
8137
8138 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8139
8140fi;
8141
8142 eval "$ac_cv_use_splitter"
8143 if test "$no_cache" != 1; then
8144 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8145 fi
8146
8147 if test "$wxUSE_SPLITTER" = yes; then
8148 echo "$as_me:$LINENO: result: yes" >&5
8149echo "${ECHO_T}yes" >&6
8150 else
8151 echo "$as_me:$LINENO: result: no" >&5
8152echo "${ECHO_T}no" >&6
8153 fi
8154
8155
8156 enablestring=
8157 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8158echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8159 no_cache=0
8160 # Check whether --enable-statbmp or --disable-statbmp was given.
8161if test "${enable_statbmp+set}" = set; then
8162 enableval="$enable_statbmp"
8163
8164 if test "$enableval" = yes; then
8165 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
8166 else
8167 ac_cv_use_statbmp='wxUSE_STATBMP=no'
8168 fi
8169
8170else
8171
8172 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8173 if test "x$LINE" != x ; then
8174 eval "DEFAULT_$LINE"
8175 else
8176 no_cache=1
8177 fi
8178
8179 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8180
8181fi;
8182
8183 eval "$ac_cv_use_statbmp"
8184 if test "$no_cache" != 1; then
8185 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8186 fi
8187
8188 if test "$wxUSE_STATBMP" = yes; then
8189 echo "$as_me:$LINENO: result: yes" >&5
8190echo "${ECHO_T}yes" >&6
8191 else
8192 echo "$as_me:$LINENO: result: no" >&5
8193echo "${ECHO_T}no" >&6
8194 fi
8195
8196
8197 enablestring=
8198 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8199echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8200 no_cache=0
8201 # Check whether --enable-statbox or --disable-statbox was given.
8202if test "${enable_statbox+set}" = set; then
8203 enableval="$enable_statbox"
8204
8205 if test "$enableval" = yes; then
8206 ac_cv_use_statbox='wxUSE_STATBOX=yes'
8207 else
8208 ac_cv_use_statbox='wxUSE_STATBOX=no'
8209 fi
8210
8211else
8212
8213 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8214 if test "x$LINE" != x ; then
8215 eval "DEFAULT_$LINE"
8216 else
8217 no_cache=1
8218 fi
8219
8220 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8221
8222fi;
8223
8224 eval "$ac_cv_use_statbox"
8225 if test "$no_cache" != 1; then
8226 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8227 fi
8228
8229 if test "$wxUSE_STATBOX" = yes; then
8230 echo "$as_me:$LINENO: result: yes" >&5
8231echo "${ECHO_T}yes" >&6
8232 else
8233 echo "$as_me:$LINENO: result: no" >&5
8234echo "${ECHO_T}no" >&6
8235 fi
8236
8237
8238 enablestring=
8239 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8240echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8241 no_cache=0
8242 # Check whether --enable-statline or --disable-statline was given.
8243if test "${enable_statline+set}" = set; then
8244 enableval="$enable_statline"
8245
8246 if test "$enableval" = yes; then
8247 ac_cv_use_statline='wxUSE_STATLINE=yes'
8248 else
8249 ac_cv_use_statline='wxUSE_STATLINE=no'
8250 fi
8251
8252else
8253
8254 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8255 if test "x$LINE" != x ; then
8256 eval "DEFAULT_$LINE"
8257 else
8258 no_cache=1
8259 fi
8260
8261 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8262
8263fi;
8264
8265 eval "$ac_cv_use_statline"
8266 if test "$no_cache" != 1; then
8267 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8268 fi
8269
8270 if test "$wxUSE_STATLINE" = yes; then
8271 echo "$as_me:$LINENO: result: yes" >&5
8272echo "${ECHO_T}yes" >&6
8273 else
8274 echo "$as_me:$LINENO: result: no" >&5
8275echo "${ECHO_T}no" >&6
8276 fi
8277
8278
8279 enablestring=
8280 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8281echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8282 no_cache=0
8283 # Check whether --enable-stattext or --disable-stattext was given.
8284if test "${enable_stattext+set}" = set; then
8285 enableval="$enable_stattext"
8286
8287 if test "$enableval" = yes; then
8288 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
8289 else
8290 ac_cv_use_stattext='wxUSE_STATTEXT=no'
8291 fi
8292
8293else
8294
8295 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8296 if test "x$LINE" != x ; then
8297 eval "DEFAULT_$LINE"
8298 else
8299 no_cache=1
8300 fi
8301
8302 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8303
8304fi;
8305
8306 eval "$ac_cv_use_stattext"
8307 if test "$no_cache" != 1; then
8308 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8309 fi
8310
8311 if test "$wxUSE_STATTEXT" = yes; then
8312 echo "$as_me:$LINENO: result: yes" >&5
8313echo "${ECHO_T}yes" >&6
8314 else
8315 echo "$as_me:$LINENO: result: no" >&5
8316echo "${ECHO_T}no" >&6
8317 fi
8318
8319
8320 enablestring=
8321 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8322echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8323 no_cache=0
8324 # Check whether --enable-statusbar or --disable-statusbar was given.
8325if test "${enable_statusbar+set}" = set; then
8326 enableval="$enable_statusbar"
8327
8328 if test "$enableval" = yes; then
8329 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
8330 else
8331 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
8332 fi
8333
8334else
8335
8336 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8337 if test "x$LINE" != x ; then
8338 eval "DEFAULT_$LINE"
8339 else
8340 no_cache=1
8341 fi
8342
8343 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8344
8345fi;
8346
8347 eval "$ac_cv_use_statusbar"
8348 if test "$no_cache" != 1; then
8349 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8350 fi
8351
8352 if test "$wxUSE_STATUSBAR" = yes; then
8353 echo "$as_me:$LINENO: result: yes" >&5
8354echo "${ECHO_T}yes" >&6
8355 else
8356 echo "$as_me:$LINENO: result: no" >&5
8357echo "${ECHO_T}no" >&6
8358 fi
8359
8360
8361 enablestring=
8362 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8363echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8364 no_cache=0
8365 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8366if test "${enable_tabdialog+set}" = set; then
8367 enableval="$enable_tabdialog"
8368
8369 if test "$enableval" = yes; then
8370 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
8371 else
8372 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
8373 fi
8374
8375else
8376
8377 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8378 if test "x$LINE" != x ; then
8379 eval "DEFAULT_$LINE"
8380 else
8381 no_cache=1
8382 fi
8383
8384 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8385
8386fi;
8387
8388 eval "$ac_cv_use_tabdialog"
8389 if test "$no_cache" != 1; then
8390 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8391 fi
8392
8393 if test "$wxUSE_TABDIALOG" = yes; then
8394 echo "$as_me:$LINENO: result: yes" >&5
8395echo "${ECHO_T}yes" >&6
8396 else
8397 echo "$as_me:$LINENO: result: no" >&5
8398echo "${ECHO_T}no" >&6
8399 fi
8400
8401
8402 enablestring=
8403 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8404echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8405 no_cache=0
8406 # Check whether --enable-textctrl or --disable-textctrl was given.
8407if test "${enable_textctrl+set}" = set; then
8408 enableval="$enable_textctrl"
8409
8410 if test "$enableval" = yes; then
8411 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
8412 else
8413 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
8414 fi
8415
8416else
8417
8418 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8419 if test "x$LINE" != x ; then
8420 eval "DEFAULT_$LINE"
8421 else
8422 no_cache=1
8423 fi
8424
8425 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8426
8427fi;
8428
8429 eval "$ac_cv_use_textctrl"
8430 if test "$no_cache" != 1; then
8431 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8432 fi
8433
8434 if test "$wxUSE_TEXTCTRL" = yes; then
8435 echo "$as_me:$LINENO: result: yes" >&5
8436echo "${ECHO_T}yes" >&6
8437 else
8438 echo "$as_me:$LINENO: result: no" >&5
8439echo "${ECHO_T}no" >&6
8440 fi
8441
8442
8443 enablestring=
8444 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8445echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8446 no_cache=0
8447 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8448if test "${enable_togglebtn+set}" = set; then
8449 enableval="$enable_togglebtn"
8450
8451 if test "$enableval" = yes; then
8452 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
8453 else
8454 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
8455 fi
8456
8457else
8458
8459 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8460 if test "x$LINE" != x ; then
8461 eval "DEFAULT_$LINE"
8462 else
8463 no_cache=1
8464 fi
8465
8466 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8467
8468fi;
8469
8470 eval "$ac_cv_use_togglebtn"
8471 if test "$no_cache" != 1; then
8472 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8473 fi
8474
8475 if test "$wxUSE_TOGGLEBTN" = yes; then
8476 echo "$as_me:$LINENO: result: yes" >&5
8477echo "${ECHO_T}yes" >&6
8478 else
8479 echo "$as_me:$LINENO: result: no" >&5
8480echo "${ECHO_T}no" >&6
8481 fi
8482
8483
8484 enablestring=
8485 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8486echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8487 no_cache=0
8488 # Check whether --enable-toolbar or --disable-toolbar was given.
8489if test "${enable_toolbar+set}" = set; then
8490 enableval="$enable_toolbar"
8491
8492 if test "$enableval" = yes; then
8493 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
8494 else
8495 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
8496 fi
8497
8498else
8499
8500 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8501 if test "x$LINE" != x ; then
8502 eval "DEFAULT_$LINE"
8503 else
8504 no_cache=1
8505 fi
8506
8507 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8508
8509fi;
8510
8511 eval "$ac_cv_use_toolbar"
8512 if test "$no_cache" != 1; then
8513 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8514 fi
8515
8516 if test "$wxUSE_TOOLBAR" = yes; then
8517 echo "$as_me:$LINENO: result: yes" >&5
8518echo "${ECHO_T}yes" >&6
8519 else
8520 echo "$as_me:$LINENO: result: no" >&5
8521echo "${ECHO_T}no" >&6
8522 fi
8523
8524
8525 enablestring=
8526 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8527echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8528 no_cache=0
8529 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8530if test "${enable_tbarnative+set}" = set; then
8531 enableval="$enable_tbarnative"
8532
8533 if test "$enableval" = yes; then
8534 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
8535 else
8536 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
8537 fi
8538
8539else
8540
8541 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8542 if test "x$LINE" != x ; then
8543 eval "DEFAULT_$LINE"
8544 else
8545 no_cache=1
8546 fi
8547
8548 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8549
8550fi;
8551
8552 eval "$ac_cv_use_tbarnative"
8553 if test "$no_cache" != 1; then
8554 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8555 fi
8556
8557 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8558 echo "$as_me:$LINENO: result: yes" >&5
8559echo "${ECHO_T}yes" >&6
8560 else
8561 echo "$as_me:$LINENO: result: no" >&5
8562echo "${ECHO_T}no" >&6
8563 fi
8564
8565
8566 enablestring=
8567 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8568echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8569 no_cache=0
8570 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8571if test "${enable_tbarsmpl+set}" = set; then
8572 enableval="$enable_tbarsmpl"
8573
8574 if test "$enableval" = yes; then
8575 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
8576 else
8577 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
8578 fi
8579
8580else
8581
8582 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8583 if test "x$LINE" != x ; then
8584 eval "DEFAULT_$LINE"
8585 else
8586 no_cache=1
8587 fi
8588
8589 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8590
8591fi;
8592
8593 eval "$ac_cv_use_tbarsmpl"
8594 if test "$no_cache" != 1; then
8595 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8596 fi
8597
8598 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8599 echo "$as_me:$LINENO: result: yes" >&5
8600echo "${ECHO_T}yes" >&6
8601 else
8602 echo "$as_me:$LINENO: result: no" >&5
8603echo "${ECHO_T}no" >&6
8604 fi
8605
8606
8607 enablestring=
8608 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8609echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8610 no_cache=0
8611 # Check whether --enable-treectrl or --disable-treectrl was given.
8612if test "${enable_treectrl+set}" = set; then
8613 enableval="$enable_treectrl"
8614
8615 if test "$enableval" = yes; then
8616 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8617 else
8618 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8619 fi
8620
8621else
8622
8623 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8624 if test "x$LINE" != x ; then
8625 eval "DEFAULT_$LINE"
8626 else
8627 no_cache=1
8628 fi
8629
8630 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8631
8632fi;
8633
8634 eval "$ac_cv_use_treectrl"
8635 if test "$no_cache" != 1; then
8636 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8637 fi
8638
8639 if test "$wxUSE_TREECTRL" = yes; then
8640 echo "$as_me:$LINENO: result: yes" >&5
8641echo "${ECHO_T}yes" >&6
8642 else
8643 echo "$as_me:$LINENO: result: no" >&5
8644echo "${ECHO_T}no" >&6
8645 fi
8646
8647
8648 enablestring=
8649 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8650echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8651 no_cache=0
8652 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8653if test "${enable_tipwindow+set}" = set; then
8654 enableval="$enable_tipwindow"
8655
8656 if test "$enableval" = yes; then
8657 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8658 else
8659 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8660 fi
8661
8662else
8663
8664 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8665 if test "x$LINE" != x ; then
8666 eval "DEFAULT_$LINE"
8667 else
8668 no_cache=1
8669 fi
8670
8671 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8672
8673fi;
8674
8675 eval "$ac_cv_use_tipwindow"
8676 if test "$no_cache" != 1; then
8677 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8678 fi
8679
8680 if test "$wxUSE_TIPWINDOW" = yes; then
8681 echo "$as_me:$LINENO: result: yes" >&5
8682echo "${ECHO_T}yes" >&6
8683 else
8684 echo "$as_me:$LINENO: result: no" >&5
8685echo "${ECHO_T}no" >&6
8686 fi
8687
8688
8689 enablestring=
8690 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8691echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8692 no_cache=0
8693 # Check whether --enable-popupwin or --disable-popupwin was given.
8694if test "${enable_popupwin+set}" = set; then
8695 enableval="$enable_popupwin"
8696
8697 if test "$enableval" = yes; then
8698 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8699 else
8700 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8701 fi
8702
8703else
8704
8705 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8706 if test "x$LINE" != x ; then
8707 eval "DEFAULT_$LINE"
8708 else
8709 no_cache=1
8710 fi
8711
8712 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8713
8714fi;
8715
8716 eval "$ac_cv_use_popupwin"
8717 if test "$no_cache" != 1; then
8718 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8719 fi
8720
8721 if test "$wxUSE_POPUPWIN" = yes; then
8722 echo "$as_me:$LINENO: result: yes" >&5
8723echo "${ECHO_T}yes" >&6
8724 else
8725 echo "$as_me:$LINENO: result: no" >&5
8726echo "${ECHO_T}no" >&6
8727 fi
8728
8729
8730
8731
8732 enablestring=
8733 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8734echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8735 no_cache=0
8736 # Check whether --enable-commondlg or --disable-commondlg was given.
8737if test "${enable_commondlg+set}" = set; then
8738 enableval="$enable_commondlg"
8739
8740 if test "$enableval" = yes; then
8741 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
8742 else
8743 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
8744 fi
8745
8746else
8747
8748 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8749 if test "x$LINE" != x ; then
8750 eval "DEFAULT_$LINE"
8751 else
8752 no_cache=1
8753 fi
8754
8755 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8756
8757fi;
8758
8759 eval "$ac_cv_use_commondlg"
8760 if test "$no_cache" != 1; then
8761 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8762 fi
8763
8764 if test "$wxUSE_COMMONDLGS" = yes; then
8765 echo "$as_me:$LINENO: result: yes" >&5
8766echo "${ECHO_T}yes" >&6
8767 else
8768 echo "$as_me:$LINENO: result: no" >&5
8769echo "${ECHO_T}no" >&6
8770 fi
8771
8772
8773 enablestring=
8774 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8775echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8776 no_cache=0
8777 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8778if test "${enable_choicedlg+set}" = set; then
8779 enableval="$enable_choicedlg"
8780
8781 if test "$enableval" = yes; then
8782 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
8783 else
8784 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
8785 fi
8786
8787else
8788
8789 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8790 if test "x$LINE" != x ; then
8791 eval "DEFAULT_$LINE"
8792 else
8793 no_cache=1
8794 fi
8795
8796 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8797
8798fi;
8799
8800 eval "$ac_cv_use_choicedlg"
8801 if test "$no_cache" != 1; then
8802 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8803 fi
8804
8805 if test "$wxUSE_CHOICEDLG" = yes; then
8806 echo "$as_me:$LINENO: result: yes" >&5
8807echo "${ECHO_T}yes" >&6
8808 else
8809 echo "$as_me:$LINENO: result: no" >&5
8810echo "${ECHO_T}no" >&6
8811 fi
8812
8813
8814 enablestring=
8815 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8816echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8817 no_cache=0
8818 # Check whether --enable-coldlg or --disable-coldlg was given.
8819if test "${enable_coldlg+set}" = set; then
8820 enableval="$enable_coldlg"
8821
8822 if test "$enableval" = yes; then
8823 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
8824 else
8825 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
8826 fi
8827
8828else
8829
8830 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8831 if test "x$LINE" != x ; then
8832 eval "DEFAULT_$LINE"
8833 else
8834 no_cache=1
8835 fi
8836
8837 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8838
8839fi;
8840
8841 eval "$ac_cv_use_coldlg"
8842 if test "$no_cache" != 1; then
8843 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8844 fi
8845
8846 if test "$wxUSE_COLOURDLG" = yes; then
8847 echo "$as_me:$LINENO: result: yes" >&5
8848echo "${ECHO_T}yes" >&6
8849 else
8850 echo "$as_me:$LINENO: result: no" >&5
8851echo "${ECHO_T}no" >&6
8852 fi
8853
8854
8855 enablestring=
8856 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8857echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8858 no_cache=0
8859 # Check whether --enable-filedlg or --disable-filedlg was given.
8860if test "${enable_filedlg+set}" = set; then
8861 enableval="$enable_filedlg"
8862
8863 if test "$enableval" = yes; then
8864 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
8865 else
8866 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
8867 fi
8868
8869else
8870
8871 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8872 if test "x$LINE" != x ; then
8873 eval "DEFAULT_$LINE"
8874 else
8875 no_cache=1
8876 fi
8877
8878 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8879
8880fi;
8881
8882 eval "$ac_cv_use_filedlg"
8883 if test "$no_cache" != 1; then
8884 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8885 fi
8886
8887 if test "$wxUSE_FILEDLG" = yes; then
8888 echo "$as_me:$LINENO: result: yes" >&5
8889echo "${ECHO_T}yes" >&6
8890 else
8891 echo "$as_me:$LINENO: result: no" >&5
8892echo "${ECHO_T}no" >&6
8893 fi
8894
8895
8896 enablestring=
8897 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8898echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8899 no_cache=0
8900 # Check whether --enable-finddlg or --disable-finddlg was given.
8901if test "${enable_finddlg+set}" = set; then
8902 enableval="$enable_finddlg"
8903
8904 if test "$enableval" = yes; then
8905 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
8906 else
8907 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
8908 fi
8909
8910else
8911
8912 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8913 if test "x$LINE" != x ; then
8914 eval "DEFAULT_$LINE"
8915 else
8916 no_cache=1
8917 fi
8918
8919 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8920
8921fi;
8922
8923 eval "$ac_cv_use_finddlg"
8924 if test "$no_cache" != 1; then
8925 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8926 fi
8927
8928 if test "$wxUSE_FINDREPLDLG" = yes; then
8929 echo "$as_me:$LINENO: result: yes" >&5
8930echo "${ECHO_T}yes" >&6
8931 else
8932 echo "$as_me:$LINENO: result: no" >&5
8933echo "${ECHO_T}no" >&6
8934 fi
8935
8936
8937 enablestring=
8938 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8939echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8940 no_cache=0
8941 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8942if test "${enable_fontdlg+set}" = set; then
8943 enableval="$enable_fontdlg"
8944
8945 if test "$enableval" = yes; then
8946 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
8947 else
8948 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
8949 fi
8950
8951else
8952
8953 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8954 if test "x$LINE" != x ; then
8955 eval "DEFAULT_$LINE"
8956 else
8957 no_cache=1
8958 fi
8959
8960 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8961
8962fi;
8963
8964 eval "$ac_cv_use_fontdlg"
8965 if test "$no_cache" != 1; then
8966 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8967 fi
8968
8969 if test "$wxUSE_FONTDLG" = yes; then
8970 echo "$as_me:$LINENO: result: yes" >&5
8971echo "${ECHO_T}yes" >&6
8972 else
8973 echo "$as_me:$LINENO: result: no" >&5
8974echo "${ECHO_T}no" >&6
8975 fi
8976
8977
8978 enablestring=
8979 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8980echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8981 no_cache=0
8982 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8983if test "${enable_dirdlg+set}" = set; then
8984 enableval="$enable_dirdlg"
8985
8986 if test "$enableval" = yes; then
8987 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
8988 else
8989 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
8990 fi
8991
8992else
8993
8994 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8995 if test "x$LINE" != x ; then
8996 eval "DEFAULT_$LINE"
8997 else
8998 no_cache=1
8999 fi
9000
9001 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9002
9003fi;
9004
9005 eval "$ac_cv_use_dirdlg"
9006 if test "$no_cache" != 1; then
9007 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9008 fi
9009
9010 if test "$wxUSE_DIRDLG" = yes; then
9011 echo "$as_me:$LINENO: result: yes" >&5
9012echo "${ECHO_T}yes" >&6
9013 else
9014 echo "$as_me:$LINENO: result: no" >&5
9015echo "${ECHO_T}no" >&6
9016 fi
9017
9018
9019 enablestring=
9020 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9021echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9022 no_cache=0
9023 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9024if test "${enable_msgdlg+set}" = set; then
9025 enableval="$enable_msgdlg"
9026
9027 if test "$enableval" = yes; then
9028 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
9029 else
9030 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
9031 fi
9032
9033else
9034
9035 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9036 if test "x$LINE" != x ; then
9037 eval "DEFAULT_$LINE"
9038 else
9039 no_cache=1
9040 fi
9041
9042 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9043
9044fi;
9045
9046 eval "$ac_cv_use_msgdlg"
9047 if test "$no_cache" != 1; then
9048 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9049 fi
9050
9051 if test "$wxUSE_MSGDLG" = yes; then
9052 echo "$as_me:$LINENO: result: yes" >&5
9053echo "${ECHO_T}yes" >&6
9054 else
9055 echo "$as_me:$LINENO: result: no" >&5
9056echo "${ECHO_T}no" >&6
9057 fi
9058
9059
9060 enablestring=
9061 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9062echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9063 no_cache=0
9064 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9065if test "${enable_numberdlg+set}" = set; then
9066 enableval="$enable_numberdlg"
9067
9068 if test "$enableval" = yes; then
9069 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
9070 else
9071 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
9072 fi
9073
9074else
9075
9076 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9077 if test "x$LINE" != x ; then
9078 eval "DEFAULT_$LINE"
9079 else
9080 no_cache=1
9081 fi
9082
9083 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9084
9085fi;
9086
9087 eval "$ac_cv_use_numberdlg"
9088 if test "$no_cache" != 1; then
9089 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9090 fi
9091
9092 if test "$wxUSE_NUMBERDLG" = yes; then
9093 echo "$as_me:$LINENO: result: yes" >&5
9094echo "${ECHO_T}yes" >&6
9095 else
9096 echo "$as_me:$LINENO: result: no" >&5
9097echo "${ECHO_T}no" >&6
9098 fi
9099
9100
9101 enablestring=
9102 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9103echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9104 no_cache=0
9105 # Check whether --enable-splash or --disable-splash was given.
9106if test "${enable_splash+set}" = set; then
9107 enableval="$enable_splash"
9108
9109 if test "$enableval" = yes; then
9110 ac_cv_use_splash='wxUSE_SPLASH=yes'
9111 else
9112 ac_cv_use_splash='wxUSE_SPLASH=no'
9113 fi
9114
9115else
9116
9117 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9118 if test "x$LINE" != x ; then
9119 eval "DEFAULT_$LINE"
9120 else
9121 no_cache=1
9122 fi
9123
9124 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9125
9126fi;
9127
9128 eval "$ac_cv_use_splash"
9129 if test "$no_cache" != 1; then
9130 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9131 fi
9132
9133 if test "$wxUSE_SPLASH" = yes; then
9134 echo "$as_me:$LINENO: result: yes" >&5
9135echo "${ECHO_T}yes" >&6
9136 else
9137 echo "$as_me:$LINENO: result: no" >&5
9138echo "${ECHO_T}no" >&6
9139 fi
9140
9141
9142 enablestring=
9143 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9144echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9145 no_cache=0
9146 # Check whether --enable-textdlg or --disable-textdlg was given.
9147if test "${enable_textdlg+set}" = set; then
9148 enableval="$enable_textdlg"
9149
9150 if test "$enableval" = yes; then
9151 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
9152 else
9153 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
9154 fi
9155
9156else
9157
9158 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9159 if test "x$LINE" != x ; then
9160 eval "DEFAULT_$LINE"
9161 else
9162 no_cache=1
9163 fi
9164
9165 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9166
9167fi;
9168
9169 eval "$ac_cv_use_textdlg"
9170 if test "$no_cache" != 1; then
9171 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9172 fi
9173
9174 if test "$wxUSE_TEXTDLG" = yes; then
9175 echo "$as_me:$LINENO: result: yes" >&5
9176echo "${ECHO_T}yes" >&6
9177 else
9178 echo "$as_me:$LINENO: result: no" >&5
9179echo "${ECHO_T}no" >&6
9180 fi
9181
9182
9183 enablestring=
9184 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9185echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9186 no_cache=0
9187 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9188if test "${enable_tipdlg+set}" = set; then
9189 enableval="$enable_tipdlg"
9190
9191 if test "$enableval" = yes; then
9192 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
9193 else
9194 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
9195 fi
9196
9197else
9198
9199 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9200 if test "x$LINE" != x ; then
9201 eval "DEFAULT_$LINE"
9202 else
9203 no_cache=1
9204 fi
9205
9206 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9207
9208fi;
9209
9210 eval "$ac_cv_use_tipdlg"
9211 if test "$no_cache" != 1; then
9212 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9213 fi
9214
9215 if test "$wxUSE_STARTUP_TIPS" = yes; then
9216 echo "$as_me:$LINENO: result: yes" >&5
9217echo "${ECHO_T}yes" >&6
9218 else
9219 echo "$as_me:$LINENO: result: no" >&5
9220echo "${ECHO_T}no" >&6
9221 fi
9222
9223
9224 enablestring=
9225 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9226echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9227 no_cache=0
9228 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9229if test "${enable_progressdlg+set}" = set; then
9230 enableval="$enable_progressdlg"
9231
9232 if test "$enableval" = yes; then
9233 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
9234 else
9235 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
9236 fi
9237
9238else
9239
9240 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9241 if test "x$LINE" != x ; then
9242 eval "DEFAULT_$LINE"
9243 else
9244 no_cache=1
9245 fi
9246
9247 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9248
9249fi;
9250
9251 eval "$ac_cv_use_progressdlg"
9252 if test "$no_cache" != 1; then
9253 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9254 fi
9255
9256 if test "$wxUSE_PROGRESSDLG" = yes; then
9257 echo "$as_me:$LINENO: result: yes" >&5
9258echo "${ECHO_T}yes" >&6
9259 else
9260 echo "$as_me:$LINENO: result: no" >&5
9261echo "${ECHO_T}no" >&6
9262 fi
9263
9264
9265 enablestring=
9266 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9267echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9268 no_cache=0
9269 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9270if test "${enable_wizarddlg+set}" = set; then
9271 enableval="$enable_wizarddlg"
9272
9273 if test "$enableval" = yes; then
9274 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
9275 else
9276 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
9277 fi
9278
9279else
9280
9281 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9282 if test "x$LINE" != x ; then
9283 eval "DEFAULT_$LINE"
9284 else
9285 no_cache=1
9286 fi
9287
9288 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9289
9290fi;
9291
9292 eval "$ac_cv_use_wizarddlg"
9293 if test "$no_cache" != 1; then
9294 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9295 fi
9296
9297 if test "$wxUSE_WIZARDDLG" = yes; then
9298 echo "$as_me:$LINENO: result: yes" >&5
9299echo "${ECHO_T}yes" >&6
9300 else
9301 echo "$as_me:$LINENO: result: no" >&5
9302echo "${ECHO_T}no" >&6
9303 fi
9304
9305
9306
9307
9308 enablestring=
9309 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9310echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9311 no_cache=0
9312 # Check whether --enable-menus or --disable-menus was given.
9313if test "${enable_menus+set}" = set; then
9314 enableval="$enable_menus"
9315
9316 if test "$enableval" = yes; then
9317 ac_cv_use_menus='wxUSE_MENUS=yes'
9318 else
9319 ac_cv_use_menus='wxUSE_MENUS=no'
9320 fi
9321
9322else
9323
9324 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9325 if test "x$LINE" != x ; then
9326 eval "DEFAULT_$LINE"
9327 else
9328 no_cache=1
9329 fi
9330
9331 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9332
9333fi;
9334
9335 eval "$ac_cv_use_menus"
9336 if test "$no_cache" != 1; then
9337 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9338 fi
9339
9340 if test "$wxUSE_MENUS" = yes; then
9341 echo "$as_me:$LINENO: result: yes" >&5
9342echo "${ECHO_T}yes" >&6
9343 else
9344 echo "$as_me:$LINENO: result: no" >&5
9345echo "${ECHO_T}no" >&6
9346 fi
9347
9348
9349 enablestring=
9350 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9351echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9352 no_cache=0
9353 # Check whether --enable-miniframe or --disable-miniframe was given.
9354if test "${enable_miniframe+set}" = set; then
9355 enableval="$enable_miniframe"
9356
9357 if test "$enableval" = yes; then
9358 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
9359 else
9360 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
9361 fi
9362
9363else
9364
9365 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9366 if test "x$LINE" != x ; then
9367 eval "DEFAULT_$LINE"
9368 else
9369 no_cache=1
9370 fi
9371
9372 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9373
9374fi;
9375
9376 eval "$ac_cv_use_miniframe"
9377 if test "$no_cache" != 1; then
9378 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9379 fi
9380
9381 if test "$wxUSE_MINIFRAME" = yes; then
9382 echo "$as_me:$LINENO: result: yes" >&5
9383echo "${ECHO_T}yes" >&6
9384 else
9385 echo "$as_me:$LINENO: result: no" >&5
9386echo "${ECHO_T}no" >&6
9387 fi
9388
9389
9390 enablestring=
9391 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9392echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9393 no_cache=0
9394 # Check whether --enable-tooltips or --disable-tooltips was given.
9395if test "${enable_tooltips+set}" = set; then
9396 enableval="$enable_tooltips"
9397
9398 if test "$enableval" = yes; then
9399 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
9400 else
9401 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
9402 fi
9403
9404else
9405
9406 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9407 if test "x$LINE" != x ; then
9408 eval "DEFAULT_$LINE"
9409 else
9410 no_cache=1
9411 fi
9412
9413 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9414
9415fi;
9416
9417 eval "$ac_cv_use_tooltips"
9418 if test "$no_cache" != 1; then
9419 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9420 fi
9421
9422 if test "$wxUSE_TOOLTIPS" = yes; then
9423 echo "$as_me:$LINENO: result: yes" >&5
9424echo "${ECHO_T}yes" >&6
9425 else
9426 echo "$as_me:$LINENO: result: no" >&5
9427echo "${ECHO_T}no" >&6
9428 fi
9429
9430
9431 enablestring=
9432 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9433echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9434 no_cache=0
9435 # Check whether --enable-splines or --disable-splines was given.
9436if test "${enable_splines+set}" = set; then
9437 enableval="$enable_splines"
9438
9439 if test "$enableval" = yes; then
9440 ac_cv_use_splines='wxUSE_SPLINES=yes'
9441 else
9442 ac_cv_use_splines='wxUSE_SPLINES=no'
9443 fi
9444
9445else
9446
9447 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9448 if test "x$LINE" != x ; then
9449 eval "DEFAULT_$LINE"
9450 else
9451 no_cache=1
9452 fi
9453
9454 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9455
9456fi;
9457
9458 eval "$ac_cv_use_splines"
9459 if test "$no_cache" != 1; then
9460 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9461 fi
9462
9463 if test "$wxUSE_SPLINES" = yes; then
9464 echo "$as_me:$LINENO: result: yes" >&5
9465echo "${ECHO_T}yes" >&6
9466 else
9467 echo "$as_me:$LINENO: result: no" >&5
9468echo "${ECHO_T}no" >&6
9469 fi
9470
9471
9472 enablestring=
9473 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9474echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9475 no_cache=0
9476 # Check whether --enable-validators or --disable-validators was given.
9477if test "${enable_validators+set}" = set; then
9478 enableval="$enable_validators"
9479
9480 if test "$enableval" = yes; then
9481 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
9482 else
9483 ac_cv_use_validators='wxUSE_VALIDATORS=no'
9484 fi
9485
9486else
9487
9488 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9489 if test "x$LINE" != x ; then
9490 eval "DEFAULT_$LINE"
9491 else
9492 no_cache=1
9493 fi
9494
9495 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9496
9497fi;
9498
9499 eval "$ac_cv_use_validators"
9500 if test "$no_cache" != 1; then
9501 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9502 fi
9503
9504 if test "$wxUSE_VALIDATORS" = yes; then
9505 echo "$as_me:$LINENO: result: yes" >&5
9506echo "${ECHO_T}yes" >&6
9507 else
9508 echo "$as_me:$LINENO: result: no" >&5
9509echo "${ECHO_T}no" >&6
9510 fi
9511
9512
9513 enablestring=
9514 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9515echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9516 no_cache=0
9517 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9518if test "${enable_busyinfo+set}" = set; then
9519 enableval="$enable_busyinfo"
9520
9521 if test "$enableval" = yes; then
9522 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
9523 else
9524 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
9525 fi
9526
9527else
9528
9529 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9530 if test "x$LINE" != x ; then
9531 eval "DEFAULT_$LINE"
9532 else
9533 no_cache=1
9534 fi
9535
9536 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9537
9538fi;
9539
9540 eval "$ac_cv_use_busyinfo"
9541 if test "$no_cache" != 1; then
9542 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9543 fi
9544
9545 if test "$wxUSE_BUSYINFO" = yes; then
9546 echo "$as_me:$LINENO: result: yes" >&5
9547echo "${ECHO_T}yes" >&6
9548 else
9549 echo "$as_me:$LINENO: result: no" >&5
9550echo "${ECHO_T}no" >&6
9551 fi
9552
9553
9554 enablestring=
9555 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9556echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9557 no_cache=0
9558 # Check whether --enable-joystick or --disable-joystick was given.
9559if test "${enable_joystick+set}" = set; then
9560 enableval="$enable_joystick"
9561
9562 if test "$enableval" = yes; then
9563 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
9564 else
9565 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
9566 fi
9567
9568else
9569
9570 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9571 if test "x$LINE" != x ; then
9572 eval "DEFAULT_$LINE"
9573 else
9574 no_cache=1
9575 fi
9576
9577 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9578
9579fi;
9580
9581 eval "$ac_cv_use_joystick"
9582 if test "$no_cache" != 1; then
9583 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9584 fi
9585
9586 if test "$wxUSE_JOYSTICK" = yes; then
9587 echo "$as_me:$LINENO: result: yes" >&5
9588echo "${ECHO_T}yes" >&6
9589 else
9590 echo "$as_me:$LINENO: result: no" >&5
9591echo "${ECHO_T}no" >&6
9592 fi
9593
9594
9595 enablestring=
9596 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9597echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9598 no_cache=0
9599 # Check whether --enable-metafile or --disable-metafile was given.
9600if test "${enable_metafile+set}" = set; then
9601 enableval="$enable_metafile"
9602
9603 if test "$enableval" = yes; then
9604 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9605 else
9606 ac_cv_use_metafile='wxUSE_METAFILE=no'
9607 fi
9608
9609else
9610
9611 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9612 if test "x$LINE" != x ; then
9613 eval "DEFAULT_$LINE"
9614 else
9615 no_cache=1
9616 fi
9617
9618 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9619
9620fi;
9621
9622 eval "$ac_cv_use_metafile"
9623 if test "$no_cache" != 1; then
9624 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9625 fi
9626
9627 if test "$wxUSE_METAFILE" = yes; then
9628 echo "$as_me:$LINENO: result: yes" >&5
9629echo "${ECHO_T}yes" >&6
9630 else
9631 echo "$as_me:$LINENO: result: no" >&5
9632echo "${ECHO_T}no" >&6
9633 fi
9634
9635
9636 enablestring=
9637 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9638echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9639 no_cache=0
9640 # Check whether --enable-dragimage or --disable-dragimage was given.
9641if test "${enable_dragimage+set}" = set; then
9642 enableval="$enable_dragimage"
9643
9644 if test "$enableval" = yes; then
9645 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9646 else
9647 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9648 fi
9649
9650else
9651
9652 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9653 if test "x$LINE" != x ; then
9654 eval "DEFAULT_$LINE"
9655 else
9656 no_cache=1
9657 fi
9658
9659 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9660
9661fi;
9662
9663 eval "$ac_cv_use_dragimage"
9664 if test "$no_cache" != 1; then
9665 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9666 fi
9667
9668 if test "$wxUSE_DRAGIMAGE" = yes; then
9669 echo "$as_me:$LINENO: result: yes" >&5
9670echo "${ECHO_T}yes" >&6
9671 else
9672 echo "$as_me:$LINENO: result: no" >&5
9673echo "${ECHO_T}no" >&6
9674 fi
9675
9676
9677 enablestring=
9678 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9679echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9680 no_cache=0
9681 # Check whether --enable-accessibility or --disable-accessibility was given.
9682if test "${enable_accessibility+set}" = set; then
9683 enableval="$enable_accessibility"
9684
9685 if test "$enableval" = yes; then
9686 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9687 else
9688 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9689 fi
9690
9691else
9692
9693 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9694 if test "x$LINE" != x ; then
9695 eval "DEFAULT_$LINE"
9696 else
9697 no_cache=1
9698 fi
9699
9700 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9701
9702fi;
9703
9704 eval "$ac_cv_use_accessibility"
9705 if test "$no_cache" != 1; then
9706 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9707 fi
9708
9709 if test "$wxUSE_ACCESSIBILITY" = yes; then
9710 echo "$as_me:$LINENO: result: yes" >&5
9711echo "${ECHO_T}yes" >&6
9712 else
9713 echo "$as_me:$LINENO: result: no" >&5
9714echo "${ECHO_T}no" >&6
9715 fi
9716
9717
9718
9719
9720 enablestring=
9721 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9722echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9723 no_cache=0
9724 # Check whether --enable-palette or --disable-palette was given.
9725if test "${enable_palette+set}" = set; then
9726 enableval="$enable_palette"
9727
9728 if test "$enableval" = yes; then
9729 ac_cv_use_palette='wxUSE_PALETTE=yes'
9730 else
9731 ac_cv_use_palette='wxUSE_PALETTE=no'
9732 fi
9733
9734else
9735
9736 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9737 if test "x$LINE" != x ; then
9738 eval "DEFAULT_$LINE"
9739 else
9740 no_cache=1
9741 fi
9742
9743 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9744
9745fi;
9746
9747 eval "$ac_cv_use_palette"
9748 if test "$no_cache" != 1; then
9749 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9750 fi
9751
9752 if test "$wxUSE_PALETTE" = yes; then
9753 echo "$as_me:$LINENO: result: yes" >&5
9754echo "${ECHO_T}yes" >&6
9755 else
9756 echo "$as_me:$LINENO: result: no" >&5
9757echo "${ECHO_T}no" >&6
9758 fi
9759
9760
9761 enablestring=
9762 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9763echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9764 no_cache=0
9765 # Check whether --enable-image or --disable-image was given.
9766if test "${enable_image+set}" = set; then
9767 enableval="$enable_image"
9768
9769 if test "$enableval" = yes; then
9770 ac_cv_use_image='wxUSE_IMAGE=yes'
9771 else
9772 ac_cv_use_image='wxUSE_IMAGE=no'
9773 fi
9774
9775else
9776
9777 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9778 if test "x$LINE" != x ; then
9779 eval "DEFAULT_$LINE"
9780 else
9781 no_cache=1
9782 fi
9783
9784 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9785
9786fi;
9787
9788 eval "$ac_cv_use_image"
9789 if test "$no_cache" != 1; then
9790 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9791 fi
9792
9793 if test "$wxUSE_IMAGE" = yes; then
9794 echo "$as_me:$LINENO: result: yes" >&5
9795echo "${ECHO_T}yes" >&6
9796 else
9797 echo "$as_me:$LINENO: result: no" >&5
9798echo "${ECHO_T}no" >&6
9799 fi
9800
9801
9802 enablestring=
9803 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9804echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9805 no_cache=0
9806 # Check whether --enable-gif or --disable-gif was given.
9807if test "${enable_gif+set}" = set; then
9808 enableval="$enable_gif"
9809
9810 if test "$enableval" = yes; then
9811 ac_cv_use_gif='wxUSE_GIF=yes'
9812 else
9813 ac_cv_use_gif='wxUSE_GIF=no'
9814 fi
9815
9816else
9817
9818 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9819 if test "x$LINE" != x ; then
9820 eval "DEFAULT_$LINE"
9821 else
9822 no_cache=1
9823 fi
9824
9825 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9826
9827fi;
9828
9829 eval "$ac_cv_use_gif"
9830 if test "$no_cache" != 1; then
9831 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9832 fi
9833
9834 if test "$wxUSE_GIF" = yes; then
9835 echo "$as_me:$LINENO: result: yes" >&5
9836echo "${ECHO_T}yes" >&6
9837 else
9838 echo "$as_me:$LINENO: result: no" >&5
9839echo "${ECHO_T}no" >&6
9840 fi
9841
9842
9843 enablestring=
9844 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9845echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9846 no_cache=0
9847 # Check whether --enable-pcx or --disable-pcx was given.
9848if test "${enable_pcx+set}" = set; then
9849 enableval="$enable_pcx"
9850
9851 if test "$enableval" = yes; then
9852 ac_cv_use_pcx='wxUSE_PCX=yes'
9853 else
9854 ac_cv_use_pcx='wxUSE_PCX=no'
9855 fi
9856
9857else
9858
9859 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9860 if test "x$LINE" != x ; then
9861 eval "DEFAULT_$LINE"
9862 else
9863 no_cache=1
9864 fi
9865
9866 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9867
9868fi;
9869
9870 eval "$ac_cv_use_pcx"
9871 if test "$no_cache" != 1; then
9872 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9873 fi
9874
9875 if test "$wxUSE_PCX" = yes; then
9876 echo "$as_me:$LINENO: result: yes" >&5
9877echo "${ECHO_T}yes" >&6
9878 else
9879 echo "$as_me:$LINENO: result: no" >&5
9880echo "${ECHO_T}no" >&6
9881 fi
9882
9883
9884 enablestring=
9885 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9886echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9887 no_cache=0
9888 # Check whether --enable-iff or --disable-iff was given.
9889if test "${enable_iff+set}" = set; then
9890 enableval="$enable_iff"
9891
9892 if test "$enableval" = yes; then
9893 ac_cv_use_iff='wxUSE_IFF=yes'
9894 else
9895 ac_cv_use_iff='wxUSE_IFF=no'
9896 fi
9897
9898else
9899
9900 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9901 if test "x$LINE" != x ; then
9902 eval "DEFAULT_$LINE"
9903 else
9904 no_cache=1
9905 fi
9906
9907 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9908
9909fi;
9910
9911 eval "$ac_cv_use_iff"
9912 if test "$no_cache" != 1; then
9913 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9914 fi
9915
9916 if test "$wxUSE_IFF" = yes; then
9917 echo "$as_me:$LINENO: result: yes" >&5
9918echo "${ECHO_T}yes" >&6
9919 else
9920 echo "$as_me:$LINENO: result: no" >&5
9921echo "${ECHO_T}no" >&6
9922 fi
9923
9924
9925 enablestring=
9926 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9927echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9928 no_cache=0
9929 # Check whether --enable-pnm or --disable-pnm was given.
9930if test "${enable_pnm+set}" = set; then
9931 enableval="$enable_pnm"
9932
9933 if test "$enableval" = yes; then
9934 ac_cv_use_pnm='wxUSE_PNM=yes'
9935 else
9936 ac_cv_use_pnm='wxUSE_PNM=no'
9937 fi
9938
9939else
9940
9941 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9942 if test "x$LINE" != x ; then
9943 eval "DEFAULT_$LINE"
9944 else
9945 no_cache=1
9946 fi
9947
9948 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9949
9950fi;
9951
9952 eval "$ac_cv_use_pnm"
9953 if test "$no_cache" != 1; then
9954 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9955 fi
9956
9957 if test "$wxUSE_PNM" = yes; then
9958 echo "$as_me:$LINENO: result: yes" >&5
9959echo "${ECHO_T}yes" >&6
9960 else
9961 echo "$as_me:$LINENO: result: no" >&5
9962echo "${ECHO_T}no" >&6
9963 fi
9964
9965
9966 enablestring=
9967 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9968echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9969 no_cache=0
9970 # Check whether --enable-xpm or --disable-xpm was given.
9971if test "${enable_xpm+set}" = set; then
9972 enableval="$enable_xpm"
9973
9974 if test "$enableval" = yes; then
9975 ac_cv_use_xpm='wxUSE_XPM=yes'
9976 else
9977 ac_cv_use_xpm='wxUSE_XPM=no'
9978 fi
9979
9980else
9981
9982 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9983 if test "x$LINE" != x ; then
9984 eval "DEFAULT_$LINE"
9985 else
9986 no_cache=1
9987 fi
9988
9989 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9990
9991fi;
9992
9993 eval "$ac_cv_use_xpm"
9994 if test "$no_cache" != 1; then
9995 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9996 fi
9997
9998 if test "$wxUSE_XPM" = yes; then
9999 echo "$as_me:$LINENO: result: yes" >&5
10000echo "${ECHO_T}yes" >&6
10001 else
10002 echo "$as_me:$LINENO: result: no" >&5
10003echo "${ECHO_T}no" >&6
10004 fi
10005
10006
10007 enablestring=
10008 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10009echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10010 no_cache=0
10011 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10012if test "${enable_ico_cur+set}" = set; then
10013 enableval="$enable_ico_cur"
10014
10015 if test "$enableval" = yes; then
10016 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
10017 else
10018 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
10019 fi
10020
10021else
10022
10023 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10024 if test "x$LINE" != x ; then
10025 eval "DEFAULT_$LINE"
10026 else
10027 no_cache=1
10028 fi
10029
10030 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10031
10032fi;
10033
10034 eval "$ac_cv_use_ico_cur"
10035 if test "$no_cache" != 1; then
10036 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10037 fi
10038
10039 if test "$wxUSE_ICO_CUR" = yes; then
10040 echo "$as_me:$LINENO: result: yes" >&5
10041echo "${ECHO_T}yes" >&6
10042 else
10043 echo "$as_me:$LINENO: result: no" >&5
10044echo "${ECHO_T}no" >&6
10045 fi
10046
10047
10048fi
10049
10050
10051
ceec2216
RL
10052# Check whether --with-flavour or --without-flavour was given.
10053if test "${with_flavour+set}" = set; then
10054 withval="$with_flavour"
10055 WX_FLAVOUR="$withval"
10056fi;
10057
10058
10059
a848cd7e
SC
10060 enablestring=
10061 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10062echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10063 no_cache=0
10064 # Check whether --enable-official_build or --disable-official_build was given.
10065if test "${enable_official_build+set}" = set; then
10066 enableval="$enable_official_build"
10067
10068 if test "$enableval" = yes; then
10069 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
10070 else
10071 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
10072 fi
10073
10074else
10075
10076 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10077 if test "x$LINE" != x ; then
10078 eval "DEFAULT_$LINE"
10079 else
10080 no_cache=1
10081 fi
10082
10083 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10084
10085fi;
10086
10087 eval "$ac_cv_use_official_build"
10088 if test "$no_cache" != 1; then
10089 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10090 fi
10091
10092 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10093 echo "$as_me:$LINENO: result: yes" >&5
10094echo "${ECHO_T}yes" >&6
10095 else
10096 echo "$as_me:$LINENO: result: no" >&5
10097echo "${ECHO_T}no" >&6
10098 fi
10099
10100# Check whether --enable-vendor or --disable-vendor was given.
10101if test "${enable_vendor+set}" = set; then
10102 enableval="$enable_vendor"
10103 VENDOR="$enableval"
10104fi;
10105if test "x$VENDOR" = "x"; then
10106 VENDOR="custom"
10107fi
10108
a848cd7e
SC
10109
10110
10111
10112 echo "saving argument cache $wx_arg_cache_file"
10113 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
10114
10115
10116
10117echo "$as_me:$LINENO: checking for toolkit" >&5
10118echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10119
10120# In Wine, we need to default to MSW, not GTK or MOTIF
10121if test "$wxUSE_WINE" = "yes"; then
10122 DEFAULT_DEFAULT_wxUSE_GTK=0
10123 DEFAULT_DEFAULT_wxUSE_MOTIF=0
10124 DEFAULT_DEFAULT_wxUSE_MSW=1
10125 wxUSE_SHARED=no
10126fi
10127
10128if test "$wxUSE_GUI" = "yes"; then
10129
10130 if test "$USE_BEOS" = 1; then
10131 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10132echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10133 { (exit 1); exit 1; }; }
10134 fi
10135
10136 if test "$TOOLKIT_GIVEN" = 1; then
10137 for toolkit in `echo $ALL_TOOLKITS`; do
10138 var=wxUSE_$toolkit
10139 eval "value=\$${var}"
10140 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
10141 done
10142 else
10143 for toolkit in `echo $ALL_TOOLKITS`; do
10144 if test "$has_toolkit_in_cache" != 1; then
10145 var=DEFAULT_DEFAULT_wxUSE_$toolkit
10146 else
10147 var=DEFAULT_wxUSE_$toolkit
10148 fi
10149 eval "wxUSE_$toolkit=\$${var}"
10150 done
10151 fi
10152
10153 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10154 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10155 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10156
10157 case "${host}" in
10158 *-pc-os2_emx | *-pc-os2-emx )
10159 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10160 esac
10161
10162 case "$NUM_TOOLKITS" in
10163 1)
10164 ;;
10165 0)
10166 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10167echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10168 { (exit 1); exit 1; }; }
10169 ;;
10170 *)
10171 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10172echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10173 { (exit 1); exit 1; }; }
10174 esac
10175
10176 for toolkit in `echo $ALL_TOOLKITS`; do
10177 var=wxUSE_$toolkit
10178 eval "value=\$${var}"
10179 if test "x$value" != x; then
10180 cache_var=CACHE_$toolkit
10181 eval "cache=\$${cache_var}"
10182 if test "$cache" = 1; then
10183 echo "$var=$value" >> ${wx_arg_cache_file}
10184 fi
10185 if test "$value" = 1; then
10186 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10187 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10188echo "${ECHO_T}$toolkit_echo" >&6
10189 fi
10190 fi
10191 done
10192else
10193 if test "x$host_alias" != "x"; then
10194 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10195echo "${ECHO_T}base ($host_alias hosted) only" >&6
10196 else
10197 echo "$as_me:$LINENO: result: base only" >&5
10198echo "${ECHO_T}base only" >&6
10199 fi
10200fi
10201
10202wants_win32=0
10203doesnt_want_win32=0
10204case "${host}" in
10205 *-*-cygwin*)
10206 if test "$wxUSE_MSW" = 1 ; then
10207 wants_win32=1
10208 else
10209 doesnt_want_win32=1
10210 fi
10211 ;;
10212 *-*-mingw*)
10213 wants_win32=1
10214 ;;
10215esac
10216
10217if test "$wxUSE_WINE" = "yes"; then
10218 wants_win32=1
10219 CC=winegcc
10220 CXX=wineg++
10221 RESCOMP=wrc
10222 LDFLAGS_GUI="-mwindows"
10223fi
10224
10225if test "$wants_win32" = 1 ; then
10226 USE_UNIX=0
10227 USE_WIN32=1
10228 cat >>confdefs.h <<\_ACEOF
10229#define __WIN32__ 1
10230_ACEOF
10231
10232 cat >>confdefs.h <<\_ACEOF
10233#define __WIN95__ 1
10234_ACEOF
10235
10236 cat >>confdefs.h <<\_ACEOF
10237#define __WINDOWS__ 1
10238_ACEOF
10239
10240 cat >>confdefs.h <<\_ACEOF
10241#define __GNUWIN32__ 1
10242_ACEOF
10243
10244 cat >>confdefs.h <<\_ACEOF
10245#define STRICT 1
10246_ACEOF
10247
10248 cat >>confdefs.h <<\_ACEOF
10249#define WINVER 0x0400
10250_ACEOF
10251
10252fi
10253if test "$doesnt_want_win32" = 1 ; then
10254 USE_UNIX=1
10255 USE_WIN32=0
10256fi
10257
10258if test "$USE_UNIX" = 1 ; then
10259 wxUSE_UNIX=yes
10260 cat >>confdefs.h <<\_ACEOF
10261#define __UNIX__ 1
10262_ACEOF
10263
10264fi
10265
10266
10267cat >confcache <<\_ACEOF
10268# This file is a shell script that caches the results of configure
10269# tests run on this system so they can be shared between configure
10270# scripts and configure runs, see configure's option --config-cache.
10271# It is not useful on other systems. If it contains results you don't
10272# want to keep, you may remove or edit it.
10273#
10274# config.status only pays attention to the cache file if you give it
10275# the --recheck option to rerun configure.
10276#
10277# `ac_cv_env_foo' variables (set or unset) will be overridden when
10278# loading this file, other *unset* `ac_cv_foo' will be assigned the
10279# following values.
10280
10281_ACEOF
10282
10283# The following way of writing the cache mishandles newlines in values,
10284# but we know of no workaround that is simple, portable, and efficient.
10285# So, don't put newlines in cache variables' values.
10286# Ultrix sh set writes to stderr and can't be redirected directly,
10287# and sets the high bit in the cache file unless we assign to the vars.
10288{
10289 (set) 2>&1 |
10290 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10291 *ac_space=\ *)
10292 # `set' does not quote correctly, so add quotes (double-quote
10293 # substitution turns \\\\ into \\, and sed turns \\ into \).
10294 sed -n \
ac1cb8d3
VS
10295 "s/'/'\\\\''/g;
10296 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
a848cd7e
SC
10297 ;;
10298 *)
10299 # `set' quotes correctly as required by POSIX, so do not add quotes.
10300 sed -n \
ac1cb8d3 10301 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
a848cd7e
SC
10302 ;;
10303 esac;
10304} |
10305 sed '
10306 t clear
10307 : clear
10308 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10309 t end
10310 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10311 : end' >>confcache
10312if diff $cache_file confcache >/dev/null 2>&1; then :; else
10313 if test -w $cache_file; then
10314 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10315 cat confcache >$cache_file
10316 else
10317 echo "not updating unwritable cache $cache_file"
10318 fi
10319fi
10320rm -f confcache
10321
10322if test "$build" != "$host" ; then
10323 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
10324 CC=$host_alias-gcc
10325 CXX=$host_alias-c++
10326 AR=$host_alias-ar
10327 RANLIB=$host_alias-ranlib
10328 DLLTOOL=$host_alias-dlltool
10329 RESCOMP=$host_alias-windres
a848cd7e
SC
10330 STRIP=$host_alias-strip
10331 else
10332 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10333echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10334 { (exit 1); exit 1; }; }
10335 fi
10336fi
10337
10338CFLAGS=${CFLAGS:=}
10339ac_ext=c
10340ac_cpp='$CPP $CPPFLAGS'
10341ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10342ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10343ac_compiler_gnu=$ac_cv_c_compiler_gnu
10344if test -n "$ac_tool_prefix"; then
10345 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10346set dummy ${ac_tool_prefix}gcc; ac_word=$2
10347echo "$as_me:$LINENO: checking for $ac_word" >&5
10348echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10349if test "${ac_cv_prog_CC+set}" = set; then
10350 echo $ECHO_N "(cached) $ECHO_C" >&6
10351else
10352 if test -n "$CC"; then
10353 ac_cv_prog_CC="$CC" # Let the user override the test.
10354else
10355as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10356for as_dir in $PATH
10357do
10358 IFS=$as_save_IFS
10359 test -z "$as_dir" && as_dir=.
10360 for ac_exec_ext in '' $ac_executable_extensions; do
10361 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10362 ac_cv_prog_CC="${ac_tool_prefix}gcc"
10363 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10364 break 2
10365 fi
10366done
10367done
10368
10369fi
10370fi
10371CC=$ac_cv_prog_CC
10372if test -n "$CC"; then
10373 echo "$as_me:$LINENO: result: $CC" >&5
10374echo "${ECHO_T}$CC" >&6
10375else
10376 echo "$as_me:$LINENO: result: no" >&5
10377echo "${ECHO_T}no" >&6
10378fi
10379
10380fi
10381if test -z "$ac_cv_prog_CC"; then
10382 ac_ct_CC=$CC
10383 # Extract the first word of "gcc", so it can be a program name with args.
10384set dummy gcc; ac_word=$2
10385echo "$as_me:$LINENO: checking for $ac_word" >&5
10386echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10387if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10388 echo $ECHO_N "(cached) $ECHO_C" >&6
10389else
10390 if test -n "$ac_ct_CC"; then
10391 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10392else
10393as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10394for as_dir in $PATH
10395do
10396 IFS=$as_save_IFS
10397 test -z "$as_dir" && as_dir=.
10398 for ac_exec_ext in '' $ac_executable_extensions; do
10399 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10400 ac_cv_prog_ac_ct_CC="gcc"
10401 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10402 break 2
10403 fi
10404done
10405done
10406
10407fi
10408fi
10409ac_ct_CC=$ac_cv_prog_ac_ct_CC
10410if test -n "$ac_ct_CC"; then
10411 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10412echo "${ECHO_T}$ac_ct_CC" >&6
10413else
10414 echo "$as_me:$LINENO: result: no" >&5
10415echo "${ECHO_T}no" >&6
10416fi
10417
10418 CC=$ac_ct_CC
10419else
10420 CC="$ac_cv_prog_CC"
10421fi
10422
10423if test -z "$CC"; then
10424 if test -n "$ac_tool_prefix"; then
10425 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10426set dummy ${ac_tool_prefix}cc; ac_word=$2
10427echo "$as_me:$LINENO: checking for $ac_word" >&5
10428echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10429if test "${ac_cv_prog_CC+set}" = set; then
10430 echo $ECHO_N "(cached) $ECHO_C" >&6
10431else
10432 if test -n "$CC"; then
10433 ac_cv_prog_CC="$CC" # Let the user override the test.
10434else
10435as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10436for as_dir in $PATH
10437do
10438 IFS=$as_save_IFS
10439 test -z "$as_dir" && as_dir=.
10440 for ac_exec_ext in '' $ac_executable_extensions; do
10441 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10442 ac_cv_prog_CC="${ac_tool_prefix}cc"
10443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10444 break 2
10445 fi
10446done
10447done
10448
10449fi
10450fi
10451CC=$ac_cv_prog_CC
10452if test -n "$CC"; then
10453 echo "$as_me:$LINENO: result: $CC" >&5
10454echo "${ECHO_T}$CC" >&6
10455else
10456 echo "$as_me:$LINENO: result: no" >&5
10457echo "${ECHO_T}no" >&6
10458fi
10459
10460fi
10461if test -z "$ac_cv_prog_CC"; then
10462 ac_ct_CC=$CC
10463 # Extract the first word of "cc", so it can be a program name with args.
10464set dummy cc; ac_word=$2
10465echo "$as_me:$LINENO: checking for $ac_word" >&5
10466echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10467if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10468 echo $ECHO_N "(cached) $ECHO_C" >&6
10469else
10470 if test -n "$ac_ct_CC"; then
10471 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10472else
10473as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10474for as_dir in $PATH
10475do
10476 IFS=$as_save_IFS
10477 test -z "$as_dir" && as_dir=.
10478 for ac_exec_ext in '' $ac_executable_extensions; do
10479 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10480 ac_cv_prog_ac_ct_CC="cc"
10481 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10482 break 2
10483 fi
10484done
10485done
10486
10487fi
10488fi
10489ac_ct_CC=$ac_cv_prog_ac_ct_CC
10490if test -n "$ac_ct_CC"; then
10491 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10492echo "${ECHO_T}$ac_ct_CC" >&6
10493else
10494 echo "$as_me:$LINENO: result: no" >&5
10495echo "${ECHO_T}no" >&6
10496fi
10497
10498 CC=$ac_ct_CC
10499else
10500 CC="$ac_cv_prog_CC"
10501fi
10502
10503fi
10504if test -z "$CC"; then
10505 # Extract the first word of "cc", so it can be a program name with args.
10506set dummy cc; ac_word=$2
10507echo "$as_me:$LINENO: checking for $ac_word" >&5
10508echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10509if test "${ac_cv_prog_CC+set}" = set; then
10510 echo $ECHO_N "(cached) $ECHO_C" >&6
10511else
10512 if test -n "$CC"; then
10513 ac_cv_prog_CC="$CC" # Let the user override the test.
10514else
10515 ac_prog_rejected=no
10516as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10517for as_dir in $PATH
10518do
10519 IFS=$as_save_IFS
10520 test -z "$as_dir" && as_dir=.
10521 for ac_exec_ext in '' $ac_executable_extensions; do
10522 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10523 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10524 ac_prog_rejected=yes
10525 continue
10526 fi
10527 ac_cv_prog_CC="cc"
10528 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10529 break 2
10530 fi
10531done
10532done
10533
10534if test $ac_prog_rejected = yes; then
10535 # We found a bogon in the path, so make sure we never use it.
10536 set dummy $ac_cv_prog_CC
10537 shift
10538 if test $# != 0; then
10539 # We chose a different compiler from the bogus one.
10540 # However, it has the same basename, so the bogon will be chosen
10541 # first if we set CC to just the basename; use the full file name.
10542 shift
10543 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10544 fi
10545fi
10546fi
10547fi
10548CC=$ac_cv_prog_CC
10549if test -n "$CC"; then
10550 echo "$as_me:$LINENO: result: $CC" >&5
10551echo "${ECHO_T}$CC" >&6
10552else
10553 echo "$as_me:$LINENO: result: no" >&5
10554echo "${ECHO_T}no" >&6
10555fi
10556
10557fi
10558if test -z "$CC"; then
10559 if test -n "$ac_tool_prefix"; then
10560 for ac_prog in cl
10561 do
10562 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10563set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10564echo "$as_me:$LINENO: checking for $ac_word" >&5
10565echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10566if test "${ac_cv_prog_CC+set}" = set; then
10567 echo $ECHO_N "(cached) $ECHO_C" >&6
10568else
10569 if test -n "$CC"; then
10570 ac_cv_prog_CC="$CC" # Let the user override the test.
10571else
10572as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10573for as_dir in $PATH
10574do
10575 IFS=$as_save_IFS
10576 test -z "$as_dir" && as_dir=.
10577 for ac_exec_ext in '' $ac_executable_extensions; do
10578 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10579 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10580 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10581 break 2
10582 fi
10583done
10584done
10585
10586fi
10587fi
10588CC=$ac_cv_prog_CC
10589if test -n "$CC"; then
10590 echo "$as_me:$LINENO: result: $CC" >&5
10591echo "${ECHO_T}$CC" >&6
10592else
10593 echo "$as_me:$LINENO: result: no" >&5
10594echo "${ECHO_T}no" >&6
10595fi
10596
10597 test -n "$CC" && break
10598 done
10599fi
10600if test -z "$CC"; then
10601 ac_ct_CC=$CC
10602 for ac_prog in cl
10603do
10604 # Extract the first word of "$ac_prog", so it can be a program name with args.
10605set dummy $ac_prog; ac_word=$2
10606echo "$as_me:$LINENO: checking for $ac_word" >&5
10607echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10608if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10609 echo $ECHO_N "(cached) $ECHO_C" >&6
10610else
10611 if test -n "$ac_ct_CC"; then
10612 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10613else
10614as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10615for as_dir in $PATH
10616do
10617 IFS=$as_save_IFS
10618 test -z "$as_dir" && as_dir=.
10619 for ac_exec_ext in '' $ac_executable_extensions; do
10620 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10621 ac_cv_prog_ac_ct_CC="$ac_prog"
10622 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10623 break 2
10624 fi
10625done
10626done
10627
10628fi
10629fi
10630ac_ct_CC=$ac_cv_prog_ac_ct_CC
10631if test -n "$ac_ct_CC"; then
10632 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10633echo "${ECHO_T}$ac_ct_CC" >&6
10634else
10635 echo "$as_me:$LINENO: result: no" >&5
10636echo "${ECHO_T}no" >&6
10637fi
10638
10639 test -n "$ac_ct_CC" && break
10640done
10641
10642 CC=$ac_ct_CC
10643fi
10644
10645fi
10646
10647
10648test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10649See \`config.log' for more details." >&5
10650echo "$as_me: error: no acceptable C compiler found in \$PATH
10651See \`config.log' for more details." >&2;}
10652 { (exit 1); exit 1; }; }
10653
10654# Provide some information about the compiler.
10655echo "$as_me:$LINENO:" \
10656 "checking for C compiler version" >&5
10657ac_compiler=`set X $ac_compile; echo $2`
10658{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10659 (eval $ac_compiler --version </dev/null >&5) 2>&5
10660 ac_status=$?
10661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10662 (exit $ac_status); }
10663{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10664 (eval $ac_compiler -v </dev/null >&5) 2>&5
10665 ac_status=$?
10666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10667 (exit $ac_status); }
10668{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10669 (eval $ac_compiler -V </dev/null >&5) 2>&5
10670 ac_status=$?
10671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10672 (exit $ac_status); }
10673
10674cat >conftest.$ac_ext <<_ACEOF
10675/* confdefs.h. */
10676_ACEOF
10677cat confdefs.h >>conftest.$ac_ext
10678cat >>conftest.$ac_ext <<_ACEOF
10679/* end confdefs.h. */
10680
10681int
10682main ()
10683{
10684
10685 ;
10686 return 0;
10687}
10688_ACEOF
10689ac_clean_files_save=$ac_clean_files
10690ac_clean_files="$ac_clean_files a.out a.exe b.out"
10691# Try to create an executable without -o first, disregard a.out.
10692# It will help us diagnose broken compilers, and finding out an intuition
10693# of exeext.
ac1cb8d3
VS
10694echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10695echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
a848cd7e
SC
10696ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10697if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10698 (eval $ac_link_default) 2>&5
10699 ac_status=$?
10700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10701 (exit $ac_status); }; then
10702 # Find the output, starting from the most likely. This scheme is
10703# not robust to junk in `.', hence go to wildcards (a.*) only as a last
10704# resort.
10705
10706# Be careful to initialize this variable, since it used to be cached.
10707# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10708ac_cv_exeext=
10709# b.out is created by i960 compilers.
10710for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10711do
10712 test -f "$ac_file" || continue
10713 case $ac_file in
10714 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
ac1cb8d3 10715 ;;
a848cd7e 10716 conftest.$ac_ext )
ac1cb8d3
VS
10717 # This is the source file.
10718 ;;
a848cd7e 10719 [ab].out )
ac1cb8d3
VS
10720 # We found the default executable, but exeext='' is most
10721 # certainly right.
10722 break;;
a848cd7e 10723 *.* )
ac1cb8d3
VS
10724 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10725 # FIXME: I believe we export ac_cv_exeext for Libtool,
10726 # but it would be cool to find out if it's true. Does anybody
10727 # maintain Libtool? --akim.
10728 export ac_cv_exeext
10729 break;;
a848cd7e 10730 * )
ac1cb8d3 10731 break;;
a848cd7e
SC
10732 esac
10733done
10734else
10735 echo "$as_me: failed program was:" >&5
10736sed 's/^/| /' conftest.$ac_ext >&5
10737
10738{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
10739See \`config.log' for more details." >&5
10740echo "$as_me: error: C compiler cannot create executables
10741See \`config.log' for more details." >&2;}
10742 { (exit 77); exit 77; }; }
10743fi
10744
10745ac_exeext=$ac_cv_exeext
10746echo "$as_me:$LINENO: result: $ac_file" >&5
10747echo "${ECHO_T}$ac_file" >&6
10748
10749# Check the compiler produces executables we can run. If not, either
10750# the compiler is broken, or we cross compile.
10751echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10752echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10753# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10754# If not cross compiling, check that we can run a simple program.
10755if test "$cross_compiling" != yes; then
10756 if { ac_try='./$ac_file'
10757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10758 (eval $ac_try) 2>&5
10759 ac_status=$?
10760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10761 (exit $ac_status); }; }; then
10762 cross_compiling=no
10763 else
10764 if test "$cross_compiling" = maybe; then
10765 cross_compiling=yes
10766 else
10767 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10768If you meant to cross compile, use \`--host'.
10769See \`config.log' for more details." >&5
10770echo "$as_me: error: cannot run C compiled programs.
10771If you meant to cross compile, use \`--host'.
10772See \`config.log' for more details." >&2;}
10773 { (exit 1); exit 1; }; }
10774 fi
10775 fi
10776fi
10777echo "$as_me:$LINENO: result: yes" >&5
10778echo "${ECHO_T}yes" >&6
10779
10780rm -f a.out a.exe conftest$ac_cv_exeext b.out
10781ac_clean_files=$ac_clean_files_save
10782# Check the compiler produces executables we can run. If not, either
10783# the compiler is broken, or we cross compile.
10784echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10785echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10786echo "$as_me:$LINENO: result: $cross_compiling" >&5
10787echo "${ECHO_T}$cross_compiling" >&6
10788
10789echo "$as_me:$LINENO: checking for suffix of executables" >&5
10790echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10791if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10792 (eval $ac_link) 2>&5
10793 ac_status=$?
10794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10795 (exit $ac_status); }; then
10796 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10797# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10798# work properly (i.e., refer to `conftest.exe'), while it won't with
10799# `rm'.
10800for ac_file in conftest.exe conftest conftest.*; do
10801 test -f "$ac_file" || continue
10802 case $ac_file in
10803 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
10804 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
ac1cb8d3
VS
10805 export ac_cv_exeext
10806 break;;
a848cd7e
SC
10807 * ) break;;
10808 esac
10809done
10810else
10811 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10812See \`config.log' for more details." >&5
10813echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10814See \`config.log' for more details." >&2;}
10815 { (exit 1); exit 1; }; }
10816fi
10817
10818rm -f conftest$ac_cv_exeext
10819echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10820echo "${ECHO_T}$ac_cv_exeext" >&6
10821
10822rm -f conftest.$ac_ext
10823EXEEXT=$ac_cv_exeext
10824ac_exeext=$EXEEXT
10825echo "$as_me:$LINENO: checking for suffix of object files" >&5
10826echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10827if test "${ac_cv_objext+set}" = set; then
10828 echo $ECHO_N "(cached) $ECHO_C" >&6
10829else
10830 cat >conftest.$ac_ext <<_ACEOF
10831/* confdefs.h. */
10832_ACEOF
10833cat confdefs.h >>conftest.$ac_ext
10834cat >>conftest.$ac_ext <<_ACEOF
10835/* end confdefs.h. */
10836
10837int
10838main ()
10839{
10840
10841 ;
10842 return 0;
10843}
10844_ACEOF
10845rm -f conftest.o conftest.obj
10846if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10847 (eval $ac_compile) 2>&5
10848 ac_status=$?
10849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10850 (exit $ac_status); }; then
10851 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10852 case $ac_file in
10853 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
10854 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
10855 break;;
10856 esac
10857done
10858else
10859 echo "$as_me: failed program was:" >&5
10860sed 's/^/| /' conftest.$ac_ext >&5
10861
10862{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10863See \`config.log' for more details." >&5
10864echo "$as_me: error: cannot compute suffix of object files: cannot compile
10865See \`config.log' for more details." >&2;}
10866 { (exit 1); exit 1; }; }
10867fi
10868
10869rm -f conftest.$ac_cv_objext conftest.$ac_ext
10870fi
10871echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10872echo "${ECHO_T}$ac_cv_objext" >&6
10873OBJEXT=$ac_cv_objext
10874ac_objext=$OBJEXT
10875echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10876echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10877if test "${ac_cv_c_compiler_gnu+set}" = set; then
10878 echo $ECHO_N "(cached) $ECHO_C" >&6
10879else
10880 cat >conftest.$ac_ext <<_ACEOF
10881/* confdefs.h. */
10882_ACEOF
10883cat confdefs.h >>conftest.$ac_ext
10884cat >>conftest.$ac_ext <<_ACEOF
10885/* end confdefs.h. */
10886
10887int
10888main ()
10889{
10890#ifndef __GNUC__
10891 choke me
10892#endif
10893
10894 ;
10895 return 0;
10896}
10897_ACEOF
10898rm -f conftest.$ac_objext
10899if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 10900 (eval $ac_compile) 2>conftest.er1
a848cd7e 10901 ac_status=$?
ac1cb8d3
VS
10902 grep -v '^ *+' conftest.er1 >conftest.err
10903 rm -f conftest.er1
10904 cat conftest.err >&5
a848cd7e
SC
10905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10906 (exit $ac_status); } &&
d1c38808 10907 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
10908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10909 (eval $ac_try) 2>&5
10910 ac_status=$?
10911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10912 (exit $ac_status); }; } &&
10913 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
10914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10915 (eval $ac_try) 2>&5
10916 ac_status=$?
10917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10918 (exit $ac_status); }; }; then
10919 ac_compiler_gnu=yes
10920else
10921 echo "$as_me: failed program was:" >&5
10922sed 's/^/| /' conftest.$ac_ext >&5
10923
10924ac_compiler_gnu=no
10925fi
ac1cb8d3 10926rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
10927ac_cv_c_compiler_gnu=$ac_compiler_gnu
10928
10929fi
10930echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10931echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10932GCC=`test $ac_compiler_gnu = yes && echo yes`
10933ac_test_CFLAGS=${CFLAGS+set}
10934ac_save_CFLAGS=$CFLAGS
10935CFLAGS="-g"
10936echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10937echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10938if test "${ac_cv_prog_cc_g+set}" = set; then
10939 echo $ECHO_N "(cached) $ECHO_C" >&6
10940else
10941 cat >conftest.$ac_ext <<_ACEOF
10942/* confdefs.h. */
10943_ACEOF
10944cat confdefs.h >>conftest.$ac_ext
10945cat >>conftest.$ac_ext <<_ACEOF
10946/* end confdefs.h. */
10947
10948int
10949main ()
10950{
10951
10952 ;
10953 return 0;
10954}
10955_ACEOF
10956rm -f conftest.$ac_objext
10957if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 10958 (eval $ac_compile) 2>conftest.er1
a848cd7e 10959 ac_status=$?
ac1cb8d3
VS
10960 grep -v '^ *+' conftest.er1 >conftest.err
10961 rm -f conftest.er1
10962 cat conftest.err >&5
a848cd7e
SC
10963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10964 (exit $ac_status); } &&
d1c38808 10965 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
10966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10967 (eval $ac_try) 2>&5
10968 ac_status=$?
10969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10970 (exit $ac_status); }; } &&
10971 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
10972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10973 (eval $ac_try) 2>&5
10974 ac_status=$?
10975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10976 (exit $ac_status); }; }; then
10977 ac_cv_prog_cc_g=yes
10978else
10979 echo "$as_me: failed program was:" >&5
10980sed 's/^/| /' conftest.$ac_ext >&5
10981
10982ac_cv_prog_cc_g=no
10983fi
ac1cb8d3 10984rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
10985fi
10986echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10987echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10988if test "$ac_test_CFLAGS" = set; then
10989 CFLAGS=$ac_save_CFLAGS
10990elif test $ac_cv_prog_cc_g = yes; then
10991 if test "$GCC" = yes; then
10992 CFLAGS="-g -O2"
10993 else
10994 CFLAGS="-g"
10995 fi
10996else
10997 if test "$GCC" = yes; then
10998 CFLAGS="-O2"
10999 else
11000 CFLAGS=
11001 fi
11002fi
11003echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11004echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11005if test "${ac_cv_prog_cc_stdc+set}" = set; then
11006 echo $ECHO_N "(cached) $ECHO_C" >&6
11007else
11008 ac_cv_prog_cc_stdc=no
11009ac_save_CC=$CC
11010cat >conftest.$ac_ext <<_ACEOF
11011/* confdefs.h. */
11012_ACEOF
11013cat confdefs.h >>conftest.$ac_ext
11014cat >>conftest.$ac_ext <<_ACEOF
11015/* end confdefs.h. */
11016#include <stdarg.h>
11017#include <stdio.h>
11018#include <sys/types.h>
11019#include <sys/stat.h>
11020/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11021struct buf { int x; };
11022FILE * (*rcsopen) (struct buf *, struct stat *, int);
11023static char *e (p, i)
11024 char **p;
11025 int i;
11026{
11027 return p[i];
11028}
11029static char *f (char * (*g) (char **, int), char **p, ...)
11030{
11031 char *s;
11032 va_list v;
11033 va_start (v,p);
11034 s = g (p, va_arg (v,int));
11035 va_end (v);
11036 return s;
11037}
ac1cb8d3
VS
11038
11039/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11040 function prototypes and stuff, but not '\xHH' hex character constants.
11041 These don't provoke an error unfortunately, instead are silently treated
11042 as 'x'. The following induces an error, until -std1 is added to get
11043 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11044 array size at least. It's necessary to write '\x00'==0 to get something
11045 that's true only with -std1. */
11046int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11047
a848cd7e
SC
11048int test (int i, double x);
11049struct s1 {int (*f) (int a);};
11050struct s2 {int (*f) (double a);};
11051int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11052int argc;
11053char **argv;
11054int
11055main ()
11056{
11057return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11058 ;
11059 return 0;
11060}
11061_ACEOF
11062# Don't try gcc -ansi; that turns off useful extensions and
11063# breaks some systems' header files.
11064# AIX -qlanglvl=ansi
11065# Ultrix and OSF/1 -std1
11066# HP-UX 10.20 and later -Ae
11067# HP-UX older versions -Aa -D_HPUX_SOURCE
11068# SVR4 -Xc -D__EXTENSIONS__
11069for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11070do
11071 CC="$ac_save_CC $ac_arg"
11072 rm -f conftest.$ac_objext
11073if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 11074 (eval $ac_compile) 2>conftest.er1
a848cd7e 11075 ac_status=$?
ac1cb8d3
VS
11076 grep -v '^ *+' conftest.er1 >conftest.err
11077 rm -f conftest.er1
11078 cat conftest.err >&5
a848cd7e
SC
11079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11080 (exit $ac_status); } &&
d1c38808 11081 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
11082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11083 (eval $ac_try) 2>&5
11084 ac_status=$?
11085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11086 (exit $ac_status); }; } &&
11087 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
11088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11089 (eval $ac_try) 2>&5
11090 ac_status=$?
11091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11092 (exit $ac_status); }; }; then
11093 ac_cv_prog_cc_stdc=$ac_arg
11094break
11095else
11096 echo "$as_me: failed program was:" >&5
11097sed 's/^/| /' conftest.$ac_ext >&5
11098
11099fi
ac1cb8d3 11100rm -f conftest.err conftest.$ac_objext
a848cd7e
SC
11101done
11102rm -f conftest.$ac_ext conftest.$ac_objext
11103CC=$ac_save_CC
11104
11105fi
11106
11107case "x$ac_cv_prog_cc_stdc" in
11108 x|xno)
11109 echo "$as_me:$LINENO: result: none needed" >&5
11110echo "${ECHO_T}none needed" >&6 ;;
11111 *)
11112 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11113echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11114 CC="$CC $ac_cv_prog_cc_stdc" ;;
11115esac
11116
11117# Some people use a C++ compiler to compile C. Since we use `exit',
11118# in C++ we need to declare it. In case someone uses the same compiler
11119# for both compiling C and C++ we need to have the C++ compiler decide
11120# the declaration of exit, since it's the most demanding environment.
11121cat >conftest.$ac_ext <<_ACEOF
11122#ifndef __cplusplus
11123 choke me
11124#endif
11125_ACEOF
11126rm -f conftest.$ac_objext
11127if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 11128 (eval $ac_compile) 2>conftest.er1
a848cd7e 11129 ac_status=$?
ac1cb8d3
VS
11130 grep -v '^ *+' conftest.er1 >conftest.err
11131 rm -f conftest.er1
11132 cat conftest.err >&5
a848cd7e
SC
11133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11134 (exit $ac_status); } &&
d1c38808 11135 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
11136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11137 (eval $ac_try) 2>&5
11138 ac_status=$?
11139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11140 (exit $ac_status); }; } &&
11141 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
11142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11143 (eval $ac_try) 2>&5
11144 ac_status=$?
11145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11146 (exit $ac_status); }; }; then
11147 for ac_declaration in \
ac1cb8d3 11148 '' \
a848cd7e
SC
11149 'extern "C" void std::exit (int) throw (); using std::exit;' \
11150 'extern "C" void std::exit (int); using std::exit;' \
11151 'extern "C" void exit (int) throw ();' \
11152 'extern "C" void exit (int);' \
11153 'void exit (int);'
11154do
11155 cat >conftest.$ac_ext <<_ACEOF
11156/* confdefs.h. */
11157_ACEOF
11158cat confdefs.h >>conftest.$ac_ext
11159cat >>conftest.$ac_ext <<_ACEOF
11160/* end confdefs.h. */
de59c161 11161$ac_declaration
ac1cb8d3 11162#include <stdlib.h>
a848cd7e
SC
11163int
11164main ()
11165{
11166exit (42);
11167 ;
11168 return 0;
11169}
11170_ACEOF
11171rm -f conftest.$ac_objext
11172if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 11173 (eval $ac_compile) 2>conftest.er1
a848cd7e 11174 ac_status=$?
ac1cb8d3
VS
11175 grep -v '^ *+' conftest.er1 >conftest.err
11176 rm -f conftest.er1
11177 cat conftest.err >&5
a848cd7e
SC
11178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11179 (exit $ac_status); } &&
d1c38808 11180 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
11181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11182 (eval $ac_try) 2>&5
11183 ac_status=$?
11184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11185 (exit $ac_status); }; } &&
11186 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
11187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11188 (eval $ac_try) 2>&5
11189 ac_status=$?
11190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11191 (exit $ac_status); }; }; then
11192 :
11193else
11194 echo "$as_me: failed program was:" >&5
11195sed 's/^/| /' conftest.$ac_ext >&5
11196
11197continue
11198fi
ac1cb8d3 11199rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
11200 cat >conftest.$ac_ext <<_ACEOF
11201/* confdefs.h. */
11202_ACEOF
11203cat confdefs.h >>conftest.$ac_ext
11204cat >>conftest.$ac_ext <<_ACEOF
11205/* end confdefs.h. */
11206$ac_declaration
11207int
11208main ()
11209{
11210exit (42);
11211 ;
11212 return 0;
11213}
11214_ACEOF
11215rm -f conftest.$ac_objext
11216if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 11217 (eval $ac_compile) 2>conftest.er1
a848cd7e 11218 ac_status=$?
ac1cb8d3
VS
11219 grep -v '^ *+' conftest.er1 >conftest.err
11220 rm -f conftest.er1
11221 cat conftest.err >&5
a848cd7e
SC
11222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11223 (exit $ac_status); } &&
d1c38808 11224 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
11225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11226 (eval $ac_try) 2>&5
11227 ac_status=$?
11228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11229 (exit $ac_status); }; } &&
11230 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
11231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11232 (eval $ac_try) 2>&5
11233 ac_status=$?
11234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11235 (exit $ac_status); }; }; then
11236 break
11237else
11238 echo "$as_me: failed program was:" >&5
11239sed 's/^/| /' conftest.$ac_ext >&5
11240
11241fi
ac1cb8d3 11242rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
11243done
11244rm -f conftest*
11245if test -n "$ac_declaration"; then
11246 echo '#ifdef __cplusplus' >>confdefs.h
11247 echo $ac_declaration >>confdefs.h
11248 echo '#endif' >>confdefs.h
11249fi
11250
11251else
11252 echo "$as_me: failed program was:" >&5
11253sed 's/^/| /' conftest.$ac_ext >&5
11254
11255fi
ac1cb8d3 11256rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
11257ac_ext=c
11258ac_cpp='$CPP $CPPFLAGS'
11259ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11260ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11261ac_compiler_gnu=$ac_cv_c_compiler_gnu
11262
11263
11264
11265ac_ext=c
11266ac_cpp='$CPP $CPPFLAGS'
11267ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11268ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11269ac_compiler_gnu=$ac_cv_c_compiler_gnu
11270echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11271echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11272# On Suns, sometimes $CPP names a directory.
11273if test -n "$CPP" && test -d "$CPP"; then
11274 CPP=
11275fi
11276if test -z "$CPP"; then
11277 if test "${ac_cv_prog_CPP+set}" = set; then
11278 echo $ECHO_N "(cached) $ECHO_C" >&6
11279else
11280 # Double quotes because CPP needs to be expanded
11281 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11282 do
11283 ac_preproc_ok=false
11284for ac_c_preproc_warn_flag in '' yes
11285do
11286 # Use a header file that comes with gcc, so configuring glibc
11287 # with a fresh cross-compiler works.
11288 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11289 # <limits.h> exists even on freestanding compilers.
11290 # On the NeXT, cc -E runs the code through the compiler's parser,
11291 # not just through cpp. "Syntax error" is here to catch this case.
11292 cat >conftest.$ac_ext <<_ACEOF
11293/* confdefs.h. */
11294_ACEOF
11295cat confdefs.h >>conftest.$ac_ext
11296cat >>conftest.$ac_ext <<_ACEOF
11297/* end confdefs.h. */
11298#ifdef __STDC__
11299# include <limits.h>
11300#else
11301# include <assert.h>
11302#endif
ac1cb8d3 11303 Syntax error
a848cd7e
SC
11304_ACEOF
11305if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11306 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11307 ac_status=$?
11308 grep -v '^ *+' conftest.er1 >conftest.err
11309 rm -f conftest.er1
11310 cat conftest.err >&5
11311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11312 (exit $ac_status); } >/dev/null; then
11313 if test -s conftest.err; then
11314 ac_cpp_err=$ac_c_preproc_warn_flag
ac1cb8d3 11315 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
a848cd7e
SC
11316 else
11317 ac_cpp_err=
11318 fi
11319else
11320 ac_cpp_err=yes
11321fi
11322if test -z "$ac_cpp_err"; then
11323 :
11324else
11325 echo "$as_me: failed program was:" >&5
11326sed 's/^/| /' conftest.$ac_ext >&5
11327
11328 # Broken: fails on valid input.
11329continue
11330fi
11331rm -f conftest.err conftest.$ac_ext
11332
11333 # OK, works on sane cases. Now check whether non-existent headers
11334 # can be detected and how.
11335 cat >conftest.$ac_ext <<_ACEOF
11336/* confdefs.h. */
11337_ACEOF
11338cat confdefs.h >>conftest.$ac_ext
11339cat >>conftest.$ac_ext <<_ACEOF
11340/* end confdefs.h. */
11341#include <ac_nonexistent.h>
11342_ACEOF
11343if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11344 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11345 ac_status=$?
11346 grep -v '^ *+' conftest.er1 >conftest.err
11347 rm -f conftest.er1
11348 cat conftest.err >&5
11349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11350 (exit $ac_status); } >/dev/null; then
11351 if test -s conftest.err; then
11352 ac_cpp_err=$ac_c_preproc_warn_flag
ac1cb8d3 11353 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
a848cd7e
SC
11354 else
11355 ac_cpp_err=
11356 fi
11357else
11358 ac_cpp_err=yes
11359fi
11360if test -z "$ac_cpp_err"; then
11361 # Broken: success on invalid input.
11362continue
11363else
11364 echo "$as_me: failed program was:" >&5
11365sed 's/^/| /' conftest.$ac_ext >&5
11366
11367 # Passes both tests.
11368ac_preproc_ok=:
11369break
11370fi
11371rm -f conftest.err conftest.$ac_ext
11372
11373done
11374# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11375rm -f conftest.err conftest.$ac_ext
11376if $ac_preproc_ok; then
11377 break
11378fi
11379
11380 done
11381 ac_cv_prog_CPP=$CPP
11382
11383fi
11384 CPP=$ac_cv_prog_CPP
11385else
11386 ac_cv_prog_CPP=$CPP
11387fi
11388echo "$as_me:$LINENO: result: $CPP" >&5
11389echo "${ECHO_T}$CPP" >&6
11390ac_preproc_ok=false
11391for ac_c_preproc_warn_flag in '' yes
11392do
11393 # Use a header file that comes with gcc, so configuring glibc
11394 # with a fresh cross-compiler works.
11395 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11396 # <limits.h> exists even on freestanding compilers.
11397 # On the NeXT, cc -E runs the code through the compiler's parser,
11398 # not just through cpp. "Syntax error" is here to catch this case.
11399 cat >conftest.$ac_ext <<_ACEOF
11400/* confdefs.h. */
11401_ACEOF
11402cat confdefs.h >>conftest.$ac_ext
11403cat >>conftest.$ac_ext <<_ACEOF
11404/* end confdefs.h. */
11405#ifdef __STDC__
11406# include <limits.h>
11407#else
11408# include <assert.h>
11409#endif
ac1cb8d3 11410 Syntax error
a848cd7e
SC
11411_ACEOF
11412if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11413 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11414 ac_status=$?
11415 grep -v '^ *+' conftest.er1 >conftest.err
11416 rm -f conftest.er1
11417 cat conftest.err >&5
11418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11419 (exit $ac_status); } >/dev/null; then
11420 if test -s conftest.err; then
11421 ac_cpp_err=$ac_c_preproc_warn_flag
ac1cb8d3 11422 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
a848cd7e
SC
11423 else
11424 ac_cpp_err=
11425 fi
11426else
11427 ac_cpp_err=yes
11428fi
11429if test -z "$ac_cpp_err"; then
11430 :
11431else
11432 echo "$as_me: failed program was:" >&5
11433sed 's/^/| /' conftest.$ac_ext >&5
11434
11435 # Broken: fails on valid input.
11436continue
11437fi
11438rm -f conftest.err conftest.$ac_ext
11439
11440 # OK, works on sane cases. Now check whether non-existent headers
11441 # can be detected and how.
11442 cat >conftest.$ac_ext <<_ACEOF
11443/* confdefs.h. */
11444_ACEOF
11445cat confdefs.h >>conftest.$ac_ext
11446cat >>conftest.$ac_ext <<_ACEOF
11447/* end confdefs.h. */
11448#include <ac_nonexistent.h>
11449_ACEOF
11450if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11451 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11452 ac_status=$?
11453 grep -v '^ *+' conftest.er1 >conftest.err
11454 rm -f conftest.er1
11455 cat conftest.err >&5
11456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11457 (exit $ac_status); } >/dev/null; then
11458 if test -s conftest.err; then
11459 ac_cpp_err=$ac_c_preproc_warn_flag
ac1cb8d3 11460 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
a848cd7e
SC
11461 else
11462 ac_cpp_err=
11463 fi
11464else
11465 ac_cpp_err=yes
11466fi
11467if test -z "$ac_cpp_err"; then
11468 # Broken: success on invalid input.
11469continue
11470else
11471 echo "$as_me: failed program was:" >&5
11472sed 's/^/| /' conftest.$ac_ext >&5
11473
11474 # Passes both tests.
11475ac_preproc_ok=:
11476break
11477fi
11478rm -f conftest.err conftest.$ac_ext
11479
11480done
11481# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11482rm -f conftest.err conftest.$ac_ext
11483if $ac_preproc_ok; then
11484 :
11485else
11486 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11487See \`config.log' for more details." >&5
11488echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11489See \`config.log' for more details." >&2;}
11490 { (exit 1); exit 1; }; }
11491fi
11492
11493ac_ext=c
11494ac_cpp='$CPP $CPPFLAGS'
11495ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11496ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11497ac_compiler_gnu=$ac_cv_c_compiler_gnu
11498
11499
11500echo "$as_me:$LINENO: checking for egrep" >&5
11501echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11502if test "${ac_cv_prog_egrep+set}" = set; then
11503 echo $ECHO_N "(cached) $ECHO_C" >&6
11504else
11505 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
11506 then ac_cv_prog_egrep='grep -E'
11507 else ac_cv_prog_egrep='egrep'
11508 fi
11509fi
11510echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11511echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11512 EGREP=$ac_cv_prog_egrep
11513
11514
11515if test $ac_cv_c_compiler_gnu = yes; then
11516 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11517echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11518if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11519 echo $ECHO_N "(cached) $ECHO_C" >&6
11520else
11521 ac_pattern="Autoconf.*'x'"
11522 cat >conftest.$ac_ext <<_ACEOF
11523/* confdefs.h. */
11524_ACEOF
11525cat confdefs.h >>conftest.$ac_ext
11526cat >>conftest.$ac_ext <<_ACEOF
11527/* end confdefs.h. */
11528#include <sgtty.h>
11529Autoconf TIOCGETP
11530_ACEOF
11531if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11532 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11533 ac_cv_prog_gcc_traditional=yes
11534else
11535 ac_cv_prog_gcc_traditional=no
11536fi
11537rm -f conftest*
11538
11539
11540 if test $ac_cv_prog_gcc_traditional = no; then
11541 cat >conftest.$ac_ext <<_ACEOF
11542/* confdefs.h. */
11543_ACEOF
11544cat confdefs.h >>conftest.$ac_ext
11545cat >>conftest.$ac_ext <<_ACEOF
11546/* end confdefs.h. */
11547#include <termio.h>
11548Autoconf TCGETA
11549_ACEOF
11550if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11551 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11552 ac_cv_prog_gcc_traditional=yes
11553fi
11554rm -f conftest*
11555
11556 fi
11557fi
11558echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11559echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11560 if test $ac_cv_prog_gcc_traditional = yes; then
11561 CC="$CC -traditional"
11562 fi
11563fi
11564
11565
11566
11567
11568ac_ext=cc
11569ac_cpp='$CXXCPP $CPPFLAGS'
11570ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11571ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11572ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11573
11574
11575CXXFLAGS=${CXXFLAGS:=}
11576ac_ext=cc
11577ac_cpp='$CXXCPP $CPPFLAGS'
11578ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11579ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11580ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11581if test -n "$ac_tool_prefix"; then
11582 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11583 do
11584 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11585set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11586echo "$as_me:$LINENO: checking for $ac_word" >&5
11587echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11588if test "${ac_cv_prog_CXX+set}" = set; then
11589 echo $ECHO_N "(cached) $ECHO_C" >&6
11590else
11591 if test -n "$CXX"; then
11592 ac_cv_prog_CXX="$CXX" # Let the user override the test.
11593else
11594as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11595for as_dir in $PATH
11596do
11597 IFS=$as_save_IFS
11598 test -z "$as_dir" && as_dir=.
11599 for ac_exec_ext in '' $ac_executable_extensions; do
11600 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11601 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11602 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11603 break 2
11604 fi
11605done
11606done
11607
11608fi
11609fi
11610CXX=$ac_cv_prog_CXX
11611if test -n "$CXX"; then
11612 echo "$as_me:$LINENO: result: $CXX" >&5
11613echo "${ECHO_T}$CXX" >&6
11614else
11615 echo "$as_me:$LINENO: result: no" >&5
11616echo "${ECHO_T}no" >&6
11617fi
11618
11619 test -n "$CXX" && break
11620 done
11621fi
11622if test -z "$CXX"; then
11623 ac_ct_CXX=$CXX
11624 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11625do
11626 # Extract the first word of "$ac_prog", so it can be a program name with args.
11627set dummy $ac_prog; ac_word=$2
11628echo "$as_me:$LINENO: checking for $ac_word" >&5
11629echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11630if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11631 echo $ECHO_N "(cached) $ECHO_C" >&6
11632else
11633 if test -n "$ac_ct_CXX"; then
11634 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11635else
11636as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11637for as_dir in $PATH
11638do
11639 IFS=$as_save_IFS
11640 test -z "$as_dir" && as_dir=.
11641 for ac_exec_ext in '' $ac_executable_extensions; do
11642 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11643 ac_cv_prog_ac_ct_CXX="$ac_prog"
11644 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11645 break 2
11646 fi
11647done
11648done
11649
11650fi
11651fi
11652ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11653if test -n "$ac_ct_CXX"; then
11654 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11655echo "${ECHO_T}$ac_ct_CXX" >&6
11656else
11657 echo "$as_me:$LINENO: result: no" >&5
11658echo "${ECHO_T}no" >&6
11659fi
11660
11661 test -n "$ac_ct_CXX" && break
11662done
11663test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
11664
11665 CXX=$ac_ct_CXX
11666fi
11667
11668
11669# Provide some information about the compiler.
11670echo "$as_me:$LINENO:" \
11671 "checking for C++ compiler version" >&5
11672ac_compiler=`set X $ac_compile; echo $2`
11673{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11674 (eval $ac_compiler --version </dev/null >&5) 2>&5
11675 ac_status=$?
11676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11677 (exit $ac_status); }
11678{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11679 (eval $ac_compiler -v </dev/null >&5) 2>&5
11680 ac_status=$?
11681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11682 (exit $ac_status); }
11683{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11684 (eval $ac_compiler -V </dev/null >&5) 2>&5
11685 ac_status=$?
11686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11687 (exit $ac_status); }
11688
11689echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11690echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11691if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11692 echo $ECHO_N "(cached) $ECHO_C" >&6
11693else
11694 cat >conftest.$ac_ext <<_ACEOF
11695/* confdefs.h. */
11696_ACEOF
11697cat confdefs.h >>conftest.$ac_ext
11698cat >>conftest.$ac_ext <<_ACEOF
11699/* end confdefs.h. */
11700
11701int
11702main ()
11703{
11704#ifndef __GNUC__
11705 choke me
11706#endif
11707
11708 ;
11709 return 0;
11710}
11711_ACEOF
11712rm -f conftest.$ac_objext
11713if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 11714 (eval $ac_compile) 2>conftest.er1
a848cd7e 11715 ac_status=$?
ac1cb8d3
VS
11716 grep -v '^ *+' conftest.er1 >conftest.err
11717 rm -f conftest.er1
11718 cat conftest.err >&5
a848cd7e
SC
11719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11720 (exit $ac_status); } &&
d1c38808 11721 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
11722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11723 (eval $ac_try) 2>&5
11724 ac_status=$?
11725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11726 (exit $ac_status); }; } &&
11727 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
11728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11729 (eval $ac_try) 2>&5
11730 ac_status=$?
11731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11732 (exit $ac_status); }; }; then
11733 ac_compiler_gnu=yes
11734else
11735 echo "$as_me: failed program was:" >&5
11736sed 's/^/| /' conftest.$ac_ext >&5
11737
11738ac_compiler_gnu=no
11739fi
ac1cb8d3 11740rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
11741ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11742
11743fi
11744echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11745echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11746GXX=`test $ac_compiler_gnu = yes && echo yes`
11747ac_test_CXXFLAGS=${CXXFLAGS+set}
11748ac_save_CXXFLAGS=$CXXFLAGS
11749CXXFLAGS="-g"
11750echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11751echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11752if test "${ac_cv_prog_cxx_g+set}" = set; then
11753 echo $ECHO_N "(cached) $ECHO_C" >&6
11754else
11755 cat >conftest.$ac_ext <<_ACEOF
11756/* confdefs.h. */
11757_ACEOF
11758cat confdefs.h >>conftest.$ac_ext
11759cat >>conftest.$ac_ext <<_ACEOF
11760/* end confdefs.h. */
11761
11762int
11763main ()
11764{
11765
11766 ;
11767 return 0;
11768}
11769_ACEOF
11770rm -f conftest.$ac_objext
11771if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 11772 (eval $ac_compile) 2>conftest.er1
a848cd7e 11773 ac_status=$?
ac1cb8d3
VS
11774 grep -v '^ *+' conftest.er1 >conftest.err
11775 rm -f conftest.er1
11776 cat conftest.err >&5
a848cd7e
SC
11777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11778 (exit $ac_status); } &&
d1c38808 11779 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
11780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11781 (eval $ac_try) 2>&5
11782 ac_status=$?
11783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11784 (exit $ac_status); }; } &&
11785 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
11786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11787 (eval $ac_try) 2>&5
11788 ac_status=$?
11789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11790 (exit $ac_status); }; }; then
11791 ac_cv_prog_cxx_g=yes
11792else
11793 echo "$as_me: failed program was:" >&5
11794sed 's/^/| /' conftest.$ac_ext >&5
11795
11796ac_cv_prog_cxx_g=no
11797fi
ac1cb8d3 11798rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
11799fi
11800echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11801echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11802if test "$ac_test_CXXFLAGS" = set; then
11803 CXXFLAGS=$ac_save_CXXFLAGS
11804elif test $ac_cv_prog_cxx_g = yes; then
11805 if test "$GXX" = yes; then
11806 CXXFLAGS="-g -O2"
11807 else
11808 CXXFLAGS="-g"
11809 fi
11810else
11811 if test "$GXX" = yes; then
11812 CXXFLAGS="-O2"
11813 else
11814 CXXFLAGS=
11815 fi
11816fi
11817for ac_declaration in \
ac1cb8d3 11818 '' \
a848cd7e
SC
11819 'extern "C" void std::exit (int) throw (); using std::exit;' \
11820 'extern "C" void std::exit (int); using std::exit;' \
11821 'extern "C" void exit (int) throw ();' \
11822 'extern "C" void exit (int);' \
11823 'void exit (int);'
11824do
11825 cat >conftest.$ac_ext <<_ACEOF
11826/* confdefs.h. */
11827_ACEOF
11828cat confdefs.h >>conftest.$ac_ext
11829cat >>conftest.$ac_ext <<_ACEOF
11830/* end confdefs.h. */
de59c161 11831$ac_declaration
ac1cb8d3 11832#include <stdlib.h>
a848cd7e
SC
11833int
11834main ()
11835{
11836exit (42);
11837 ;
11838 return 0;
11839}
11840_ACEOF
11841rm -f conftest.$ac_objext
11842if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 11843 (eval $ac_compile) 2>conftest.er1
a848cd7e 11844 ac_status=$?
ac1cb8d3
VS
11845 grep -v '^ *+' conftest.er1 >conftest.err
11846 rm -f conftest.er1
11847 cat conftest.err >&5
a848cd7e
SC
11848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11849 (exit $ac_status); } &&
d1c38808 11850 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
11851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11852 (eval $ac_try) 2>&5
11853 ac_status=$?
11854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11855 (exit $ac_status); }; } &&
11856 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
11857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11858 (eval $ac_try) 2>&5
11859 ac_status=$?
11860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11861 (exit $ac_status); }; }; then
11862 :
11863else
11864 echo "$as_me: failed program was:" >&5
11865sed 's/^/| /' conftest.$ac_ext >&5
11866
11867continue
11868fi
ac1cb8d3 11869rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
11870 cat >conftest.$ac_ext <<_ACEOF
11871/* confdefs.h. */
11872_ACEOF
11873cat confdefs.h >>conftest.$ac_ext
11874cat >>conftest.$ac_ext <<_ACEOF
11875/* end confdefs.h. */
11876$ac_declaration
11877int
11878main ()
11879{
11880exit (42);
11881 ;
11882 return 0;
11883}
11884_ACEOF
11885rm -f conftest.$ac_objext
11886if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 11887 (eval $ac_compile) 2>conftest.er1
a848cd7e 11888 ac_status=$?
ac1cb8d3
VS
11889 grep -v '^ *+' conftest.er1 >conftest.err
11890 rm -f conftest.er1
11891 cat conftest.err >&5
a848cd7e
SC
11892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11893 (exit $ac_status); } &&
d1c38808 11894 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
11895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11896 (eval $ac_try) 2>&5
11897 ac_status=$?
11898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11899 (exit $ac_status); }; } &&
11900 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
11901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11902 (eval $ac_try) 2>&5
11903 ac_status=$?
11904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11905 (exit $ac_status); }; }; then
11906 break
11907else
11908 echo "$as_me: failed program was:" >&5
11909sed 's/^/| /' conftest.$ac_ext >&5
11910
11911fi
ac1cb8d3 11912rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
11913done
11914rm -f conftest*
11915if test -n "$ac_declaration"; then
11916 echo '#ifdef __cplusplus' >>confdefs.h
11917 echo $ac_declaration >>confdefs.h
11918 echo '#endif' >>confdefs.h
11919fi
11920
11921ac_ext=cc
11922ac_cpp='$CXXCPP $CPPFLAGS'
11923ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11924ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11925ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11926
11927
11928ac_ext=c
11929ac_cpp='$CPP $CPPFLAGS'
11930ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11931ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11932ac_compiler_gnu=$ac_cv_c_compiler_gnu
11933
11934
a848cd7e
SC
11935if test -n "$ac_tool_prefix"; then
11936 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11937set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11938echo "$as_me:$LINENO: checking for $ac_word" >&5
11939echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11940if test "${ac_cv_prog_RANLIB+set}" = set; then
11941 echo $ECHO_N "(cached) $ECHO_C" >&6
11942else
11943 if test -n "$RANLIB"; then
11944 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11945else
11946as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11947for as_dir in $PATH
11948do
11949 IFS=$as_save_IFS
11950 test -z "$as_dir" && as_dir=.
11951 for ac_exec_ext in '' $ac_executable_extensions; do
11952 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11953 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11954 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11955 break 2
11956 fi
11957done
11958done
11959
11960fi
11961fi
11962RANLIB=$ac_cv_prog_RANLIB
11963if test -n "$RANLIB"; then
11964 echo "$as_me:$LINENO: result: $RANLIB" >&5
11965echo "${ECHO_T}$RANLIB" >&6
11966else
11967 echo "$as_me:$LINENO: result: no" >&5
11968echo "${ECHO_T}no" >&6
11969fi
11970
11971fi
11972if test -z "$ac_cv_prog_RANLIB"; then
11973 ac_ct_RANLIB=$RANLIB
11974 # Extract the first word of "ranlib", so it can be a program name with args.
11975set dummy ranlib; ac_word=$2
11976echo "$as_me:$LINENO: checking for $ac_word" >&5
11977echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11978if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11979 echo $ECHO_N "(cached) $ECHO_C" >&6
11980else
11981 if test -n "$ac_ct_RANLIB"; then
11982 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11983else
11984as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11985for as_dir in $PATH
11986do
11987 IFS=$as_save_IFS
11988 test -z "$as_dir" && as_dir=.
11989 for ac_exec_ext in '' $ac_executable_extensions; do
11990 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11991 ac_cv_prog_ac_ct_RANLIB="ranlib"
11992 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11993 break 2
11994 fi
11995done
11996done
11997
11998 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
11999fi
12000fi
12001ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
12002if test -n "$ac_ct_RANLIB"; then
12003 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
12004echo "${ECHO_T}$ac_ct_RANLIB" >&6
12005else
12006 echo "$as_me:$LINENO: result: no" >&5
12007echo "${ECHO_T}no" >&6
12008fi
12009
12010 RANLIB=$ac_ct_RANLIB
12011else
12012 RANLIB="$ac_cv_prog_RANLIB"
12013fi
12014
12015
12016# Extract the first word of "ar", so it can be a program name with args.
12017set dummy ar; ac_word=$2
12018echo "$as_me:$LINENO: checking for $ac_word" >&5
12019echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12020if test "${ac_cv_prog_AR+set}" = set; then
12021 echo $ECHO_N "(cached) $ECHO_C" >&6
12022else
12023 if test -n "$AR"; then
12024 ac_cv_prog_AR="$AR" # Let the user override the test.
12025else
12026as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12027for as_dir in $PATH
12028do
12029 IFS=$as_save_IFS
12030 test -z "$as_dir" && as_dir=.
12031 for ac_exec_ext in '' $ac_executable_extensions; do
12032 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12033 ac_cv_prog_AR="ar"
12034 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12035 break 2
12036 fi
12037done
12038done
12039
12040fi
12041fi
12042AR=$ac_cv_prog_AR
12043if test -n "$AR"; then
12044 echo "$as_me:$LINENO: result: $AR" >&5
12045echo "${ECHO_T}$AR" >&6
12046else
12047 echo "$as_me:$LINENO: result: no" >&5
12048echo "${ECHO_T}no" >&6
12049fi
12050
12051if test "x$AR" = "x" ; then
77ffb593
JS
12052 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
12053echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
a848cd7e
SC
12054 { (exit 1); exit 1; }; }
12055fi
12056
12057# Find a good install program. We prefer a C program (faster),
12058# so one script is as good as another. But avoid the broken or
12059# incompatible versions:
12060# SysV /etc/install, /usr/sbin/install
12061# SunOS /usr/etc/install
12062# IRIX /sbin/install
12063# AIX /bin/install
12064# AmigaOS /C/install, which installs bootblocks on floppy discs
12065# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
12066# AFS /usr/afsws/bin/install, which mishandles nonexistent args
12067# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
ac1cb8d3 12068# OS/2's system install, which has a completely different semantic
a848cd7e
SC
12069# ./install, which can be erroneously created by make from ./install.sh.
12070echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
12071echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
12072if test -z "$INSTALL"; then
12073if test "${ac_cv_path_install+set}" = set; then
12074 echo $ECHO_N "(cached) $ECHO_C" >&6
12075else
12076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12077for as_dir in $PATH
12078do
12079 IFS=$as_save_IFS
12080 test -z "$as_dir" && as_dir=.
12081 # Account for people who put trailing slashes in PATH elements.
12082case $as_dir/ in
12083 ./ | .// | /cC/* | \
12084 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
ac1cb8d3 12085 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
a848cd7e
SC
12086 /usr/ucb/* ) ;;
12087 *)
12088 # OSF1 and SCO ODT 3.0 have their own names for install.
12089 # Don't use installbsd from OSF since it installs stuff as root
12090 # by default.
12091 for ac_prog in ginstall scoinst install; do
12092 for ac_exec_ext in '' $ac_executable_extensions; do
ac1cb8d3
VS
12093 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
12094 if test $ac_prog = install &&
12095 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
12096 # AIX install. It has an incompatible calling convention.
12097 :
12098 elif test $ac_prog = install &&
12099 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
12100 # program-specific install script used by HP pwplus--don't use.
12101 :
12102 else
12103 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
12104 break 3
12105 fi
12106 fi
a848cd7e
SC
12107 done
12108 done
12109 ;;
12110esac
12111done
12112
12113
12114fi
12115 if test "${ac_cv_path_install+set}" = set; then
12116 INSTALL=$ac_cv_path_install
12117 else
12118 # As a last resort, use the slow shell script. We don't cache a
12119 # path for INSTALL within a source directory, because that will
12120 # break other packages using the cache if that directory is
12121 # removed, or if the path is relative.
12122 INSTALL=$ac_install_sh
12123 fi
12124fi
12125echo "$as_me:$LINENO: result: $INSTALL" >&5
12126echo "${ECHO_T}$INSTALL" >&6
12127
12128# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
12129# It thinks the first close brace ends the variable substitution.
12130test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
12131
12132test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
12133
12134test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
12135
12136
12137case ${INSTALL} in
12138 /* ) # Absolute
12139 ;;
12140 ?:* ) # Drive letter, considered as absolute.
12141 ;;
12142 *)
12143 INSTALL=`pwd`/${INSTALL} ;;
12144esac
12145
a848cd7e
SC
12146
12147case "${host}" in
12148
12149 powerpc-*-darwin* )
12150 INSTALL_PROGRAM="cp -fp"
12151 INSTALL_DATA="cp -fp"
12152 ;;
12153 *)
12154 ;;
12155esac
12156
12157# Extract the first word of "strip", so it can be a program name with args.
12158set dummy strip; ac_word=$2
12159echo "$as_me:$LINENO: checking for $ac_word" >&5
12160echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12161if test "${ac_cv_prog_STRIP+set}" = set; then
12162 echo $ECHO_N "(cached) $ECHO_C" >&6
12163else
12164 if test -n "$STRIP"; then
12165 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
12166else
12167as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12168for as_dir in $PATH
12169do
12170 IFS=$as_save_IFS
12171 test -z "$as_dir" && as_dir=.
12172 for ac_exec_ext in '' $ac_executable_extensions; do
12173 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12174 ac_cv_prog_STRIP="strip"
12175 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12176 break 2
12177 fi
12178done
12179done
12180
12181 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
12182fi
12183fi
12184STRIP=$ac_cv_prog_STRIP
12185if test -n "$STRIP"; then
12186 echo "$as_me:$LINENO: result: $STRIP" >&5
12187echo "${ECHO_T}$STRIP" >&6
12188else
12189 echo "$as_me:$LINENO: result: no" >&5
12190echo "${ECHO_T}no" >&6
12191fi
12192
12193
12194echo "$as_me:$LINENO: checking if make is GNU make" >&5
12195echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
12196if test "${wx_cv_prog_makeisgnu+set}" = set; then
12197 echo $ECHO_N "(cached) $ECHO_C" >&6
12198else
12199
12200 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
12201 egrep -s GNU > /dev/null); then
12202 wx_cv_prog_makeisgnu="yes"
12203 else
12204 wx_cv_prog_makeisgnu="no"
12205 fi
12206
12207fi
12208echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
12209echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
12210
12211if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
12212 IF_GNU_MAKE=""
12213else
12214 IF_GNU_MAKE="#"
12215fi
12216
12217
12218
12219if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
12220echo "$as_me:$LINENO: checking if make supports VPATH" >&5
12221echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
12222if test "${wx_cv_prog_makevpath+set}" = set; then
12223 echo $ECHO_N "(cached) $ECHO_C" >&6
12224else
12225
12226cat - << EOF > confMake
12227check : file
12228 cp \$? \$@
12229 cp \$? final_file
12230EOF
12231
12232if test ! -d sub ; then
12233 mkdir sub
12234fi
12235echo dummy > sub/file
12236${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
12237RESULT=$?
12238rm -f sub/file check final_file confMake
12239rmdir sub
12240if test "$RESULT" = 0; then
12241 wx_cv_prog_makevpath="yes"
12242else
12243 wx_cv_prog_makevpath="no"
12244fi
12245
12246fi
12247echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
12248echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
12249
12250if test "x$wx_cv_prog_makevpath" != "xyes"; then
12251{ { echo "$as_me:$LINENO: error:
12252You need a make-utility that is able to use the variable
12253VPATH correctly.
12254If your version of make does not support VPATH correctly,
12255please install GNU-make (possibly as gmake), and start
12256configure with the following command:
12257export MAKE=gmake; ./configure for sh-type shells
12258setenv MAKE gmake; ./configure for csh-type shells
12259Also please do remember to use gmake in this case every time
12260you are trying to compile.
12261" >&5
12262echo "$as_me: error:
12263You need a make-utility that is able to use the variable
12264VPATH correctly.
12265If your version of make does not support VPATH correctly,
12266please install GNU-make (possibly as gmake), and start
12267configure with the following command:
12268export MAKE=gmake; ./configure for sh-type shells
12269setenv MAKE gmake; ./configure for csh-type shells
12270Also please do remember to use gmake in this case every time
12271you are trying to compile.
12272" >&2;}
12273 { (exit 1); exit 1; }; }
12274fi fi
12275echo "$as_me:$LINENO: checking whether ln -s works" >&5
12276echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
12277LN_S=$as_ln_s
12278if test "$LN_S" = "ln -s"; then
12279 echo "$as_me:$LINENO: result: yes" >&5
12280echo "${ECHO_T}yes" >&6
12281else
12282 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12283echo "${ECHO_T}no, using $LN_S" >&6
12284fi
12285
12286
12287
12288case "${host}" in
12289 *-pc-os2_emx | *-pc-os2-emx )
12290 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
12291 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
12292echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
12293if test "${ac_cv_lib_cExt_drand48+set}" = set; then
12294 echo $ECHO_N "(cached) $ECHO_C" >&6
12295else
12296 ac_check_lib_save_LIBS=$LIBS
12297LIBS="-lcExt $LIBS"
12298cat >conftest.$ac_ext <<_ACEOF
12299/* confdefs.h. */
12300_ACEOF
12301cat confdefs.h >>conftest.$ac_ext
12302cat >>conftest.$ac_ext <<_ACEOF
12303/* end confdefs.h. */
12304
12305/* Override any gcc2 internal prototype to avoid an error. */
12306#ifdef __cplusplus
12307extern "C"
12308#endif
12309/* We use char because int might match the return type of a gcc2
12310 builtin and then its argument prototype would still apply. */
12311char drand48 ();
12312int
12313main ()
12314{
12315drand48 ();
12316 ;
12317 return 0;
12318}
12319_ACEOF
12320rm -f conftest.$ac_objext conftest$ac_exeext
12321if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 12322 (eval $ac_link) 2>conftest.er1
a848cd7e 12323 ac_status=$?
ac1cb8d3
VS
12324 grep -v '^ *+' conftest.er1 >conftest.err
12325 rm -f conftest.er1
12326 cat conftest.err >&5
a848cd7e
SC
12327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12328 (exit $ac_status); } &&
d1c38808 12329 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
12330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12331 (eval $ac_try) 2>&5
12332 ac_status=$?
12333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12334 (exit $ac_status); }; } &&
12335 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
12336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12337 (eval $ac_try) 2>&5
12338 ac_status=$?
12339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12340 (exit $ac_status); }; }; then
12341 ac_cv_lib_cExt_drand48=yes
12342else
12343 echo "$as_me: failed program was:" >&5
12344sed 's/^/| /' conftest.$ac_ext >&5
12345
12346ac_cv_lib_cExt_drand48=no
12347fi
ac1cb8d3
VS
12348rm -f conftest.err conftest.$ac_objext \
12349 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
12350LIBS=$ac_check_lib_save_LIBS
12351fi
12352echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12353echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12354if test $ac_cv_lib_cExt_drand48 = yes; then
12355 LIBS="$LIBS -lcExt"
12356fi
12357
12358 else
12359 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
12360 fi
12361 echo "$as_me:$LINENO: checking for gcc version" >&5
12362echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
12363if test "${wx_cv_gccversion+set}" = set; then
12364 echo $ECHO_N "(cached) $ECHO_C" >&6
12365else
12366
12367 cat >conftest.$ac_ext <<_ACEOF
12368/* confdefs.h. */
12369_ACEOF
12370cat confdefs.h >>conftest.$ac_ext
12371cat >>conftest.$ac_ext <<_ACEOF
12372/* end confdefs.h. */
12373
12374int
12375main ()
12376{
12377
12378 #if (__GNUC__ < 3)
12379 #error old gcc
12380 #endif
12381
12382 ;
12383 return 0;
12384}
12385_ACEOF
12386rm -f conftest.$ac_objext
12387if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 12388 (eval $ac_compile) 2>conftest.er1
a848cd7e 12389 ac_status=$?
ac1cb8d3
VS
12390 grep -v '^ *+' conftest.er1 >conftest.err
12391 rm -f conftest.er1
12392 cat conftest.err >&5
a848cd7e
SC
12393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12394 (exit $ac_status); } &&
d1c38808 12395 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
12396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12397 (eval $ac_try) 2>&5
12398 ac_status=$?
12399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12400 (exit $ac_status); }; } &&
12401 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
12402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12403 (eval $ac_try) 2>&5
12404 ac_status=$?
12405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12406 (exit $ac_status); }; }; then
12407
12408 cat >conftest.$ac_ext <<_ACEOF
12409/* confdefs.h. */
12410_ACEOF
12411cat confdefs.h >>conftest.$ac_ext
12412cat >>conftest.$ac_ext <<_ACEOF
12413/* end confdefs.h. */
12414
12415int
12416main ()
12417{
12418
12419 #if (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
12420 #error intermediate gcc
12421 #endif
12422
12423 ;
12424 return 0;
12425}
12426_ACEOF
12427rm -f conftest.$ac_objext
12428if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 12429 (eval $ac_compile) 2>conftest.er1
a848cd7e 12430 ac_status=$?
ac1cb8d3
VS
12431 grep -v '^ *+' conftest.er1 >conftest.err
12432 rm -f conftest.er1
12433 cat conftest.err >&5
a848cd7e
SC
12434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12435 (exit $ac_status); } &&
d1c38808 12436 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
12437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12438 (eval $ac_try) 2>&5
12439 ac_status=$?
12440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12441 (exit $ac_status); }; } &&
12442 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
12443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12444 (eval $ac_try) 2>&5
12445 ac_status=$?
12446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12447 (exit $ac_status); }; }; then
12448
12449 wx_cv_gccversion=Innotek
12450
12451else
12452 echo "$as_me: failed program was:" >&5
12453sed 's/^/| /' conftest.$ac_ext >&5
12454
12455
12456 wx_cv_gccversion=3
12457
12458
12459fi
ac1cb8d3 12460rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
12461
12462else
12463 echo "$as_me: failed program was:" >&5
12464sed 's/^/| /' conftest.$ac_ext >&5
12465
12466
12467 wx_cv_gccversion=2
12468
12469
12470fi
ac1cb8d3 12471rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
12472
12473fi
12474echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
12475echo "${ECHO_T}$wx_cv_gccversion" >&6
12476 if test "$wx_cv_gccversion" = "2"; then
12477 LIBS="$LIBS -lstdcpp"
12478 LDFLAGS="$LDFLAGS -Zsysv-signals"
12479 else
12480 if test "$wx_cv_gccversion" = "3"; then
12481 LIBS="$LIBS -lstdcxx"
12482 LDFLAGS="$LDFLAGS -Zsysv-signals"
12483 else
12484 LIBS="$LIBS -lstdc++"
12485 fi
12486 fi
12487 if test "$wxUSE_OMF" = "yes"; then
de59c161 12488 LDFLAGS="$LDFLAGS -Zomf -Zlinker /PMTYPE:PM -Zlinker /EXEPACK"
a848cd7e
SC
12489 fi
12490 ;;
12491 *)
12492
12493
12494
12495 ac_ext=cc
12496ac_cpp='$CXXCPP $CPPFLAGS'
12497ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12498ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12499ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12500
12501
12502
12503echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12504echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12505if test "${ac_cv_string_strcasecmp+set}" = set; then
12506 echo $ECHO_N "(cached) $ECHO_C" >&6
12507else
12508
12509 cat >conftest.$ac_ext <<_ACEOF
12510/* confdefs.h. */
12511_ACEOF
12512cat confdefs.h >>conftest.$ac_ext
12513cat >>conftest.$ac_ext <<_ACEOF
12514/* end confdefs.h. */
12515
12516 #include <string.h>
12517
12518int
12519main ()
12520{
12521
12522 strcasecmp("foo", "bar");
12523
12524 ;
12525 return 0;
12526}
12527_ACEOF
12528rm -f conftest.$ac_objext conftest$ac_exeext
12529if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 12530 (eval $ac_link) 2>conftest.er1
a848cd7e 12531 ac_status=$?
ac1cb8d3
VS
12532 grep -v '^ *+' conftest.er1 >conftest.err
12533 rm -f conftest.er1
12534 cat conftest.err >&5
a848cd7e
SC
12535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12536 (exit $ac_status); } &&
d1c38808 12537 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
12538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12539 (eval $ac_try) 2>&5
12540 ac_status=$?
12541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12542 (exit $ac_status); }; } &&
12543 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
12544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12545 (eval $ac_try) 2>&5
12546 ac_status=$?
12547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12548 (exit $ac_status); }; }; then
12549 ac_cv_string_strcasecmp=yes
12550else
12551 echo "$as_me: failed program was:" >&5
12552sed 's/^/| /' conftest.$ac_ext >&5
12553
12554ac_cv_string_strcasecmp=no
12555
12556fi
ac1cb8d3
VS
12557rm -f conftest.err conftest.$ac_objext \
12558 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
12559
12560fi
12561echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12562echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12563
12564 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
12565 cat >>confdefs.h <<\_ACEOF
12566#define HAVE_STRCASECMP_IN_STRING_H 1
12567_ACEOF
12568
12569 else
12570 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12571echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12572if test "${ac_cv_strings_strcasecmp+set}" = set; then
12573 echo $ECHO_N "(cached) $ECHO_C" >&6
12574else
12575
12576 cat >conftest.$ac_ext <<_ACEOF
12577/* confdefs.h. */
12578_ACEOF
12579cat confdefs.h >>conftest.$ac_ext
12580cat >>conftest.$ac_ext <<_ACEOF
12581/* end confdefs.h. */
12582
12583 #include <strings.h>
12584
12585int
12586main ()
12587{
12588
12589 strcasecmp("foo", "bar");
12590
12591 ;
12592 return 0;
12593}
12594_ACEOF
12595rm -f conftest.$ac_objext conftest$ac_exeext
12596if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 12597 (eval $ac_link) 2>conftest.er1
a848cd7e 12598 ac_status=$?
ac1cb8d3
VS
12599 grep -v '^ *+' conftest.er1 >conftest.err
12600 rm -f conftest.er1
12601 cat conftest.err >&5
a848cd7e
SC
12602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12603 (exit $ac_status); } &&
d1c38808 12604 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
12605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12606 (eval $ac_try) 2>&5
12607 ac_status=$?
12608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12609 (exit $ac_status); }; } &&
12610 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
12611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12612 (eval $ac_try) 2>&5
12613 ac_status=$?
12614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12615 (exit $ac_status); }; }; then
12616 ac_cv_strings_strcasecmp=yes
12617else
12618 echo "$as_me: failed program was:" >&5
12619sed 's/^/| /' conftest.$ac_ext >&5
12620
12621ac_cv_strings_strcasecmp=no
12622
12623fi
ac1cb8d3
VS
12624rm -f conftest.err conftest.$ac_objext \
12625 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
12626
12627fi
12628echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12629echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12630
0c3c69fc 12631 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
a848cd7e
SC
12632 cat >>confdefs.h <<\_ACEOF
12633#define HAVE_STRCASECMP_IN_STRINGS_H 1
12634_ACEOF
12635
12636 else
12637 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12638echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12639 { (exit 1); exit 1; }; }
12640 fi
12641 fi
12642
12643 ac_ext=c
12644ac_cpp='$CPP $CPPFLAGS'
12645ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12646ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12647ac_compiler_gnu=$ac_cv_c_compiler_gnu
12648
12649 ;;
12650esac
12651
12652
12653echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12654echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12655if test "${ac_cv_header_stdc+set}" = set; then
12656 echo $ECHO_N "(cached) $ECHO_C" >&6
12657else
12658 cat >conftest.$ac_ext <<_ACEOF
12659/* confdefs.h. */
12660_ACEOF
12661cat confdefs.h >>conftest.$ac_ext
12662cat >>conftest.$ac_ext <<_ACEOF
12663/* end confdefs.h. */
12664#include <stdlib.h>
12665#include <stdarg.h>
12666#include <string.h>
12667#include <float.h>
12668
12669int
12670main ()
12671{
12672
12673 ;
12674 return 0;
12675}
12676_ACEOF
12677rm -f conftest.$ac_objext
12678if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 12679 (eval $ac_compile) 2>conftest.er1
a848cd7e 12680 ac_status=$?
ac1cb8d3
VS
12681 grep -v '^ *+' conftest.er1 >conftest.err
12682 rm -f conftest.er1
12683 cat conftest.err >&5
a848cd7e
SC
12684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12685 (exit $ac_status); } &&
d1c38808 12686 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
12687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12688 (eval $ac_try) 2>&5
12689 ac_status=$?
12690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12691 (exit $ac_status); }; } &&
12692 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
12693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12694 (eval $ac_try) 2>&5
12695 ac_status=$?
12696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12697 (exit $ac_status); }; }; then
12698 ac_cv_header_stdc=yes
12699else
12700 echo "$as_me: failed program was:" >&5
12701sed 's/^/| /' conftest.$ac_ext >&5
12702
12703ac_cv_header_stdc=no
12704fi
ac1cb8d3 12705rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
12706
12707if test $ac_cv_header_stdc = yes; then
12708 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12709 cat >conftest.$ac_ext <<_ACEOF
12710/* confdefs.h. */
12711_ACEOF
12712cat confdefs.h >>conftest.$ac_ext
12713cat >>conftest.$ac_ext <<_ACEOF
12714/* end confdefs.h. */
12715#include <string.h>
12716
12717_ACEOF
12718if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12719 $EGREP "memchr" >/dev/null 2>&1; then
12720 :
12721else
12722 ac_cv_header_stdc=no
12723fi
12724rm -f conftest*
12725
12726fi
12727
12728if test $ac_cv_header_stdc = yes; then
12729 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12730 cat >conftest.$ac_ext <<_ACEOF
12731/* confdefs.h. */
12732_ACEOF
12733cat confdefs.h >>conftest.$ac_ext
12734cat >>conftest.$ac_ext <<_ACEOF
12735/* end confdefs.h. */
12736#include <stdlib.h>
12737
12738_ACEOF
12739if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12740 $EGREP "free" >/dev/null 2>&1; then
12741 :
12742else
12743 ac_cv_header_stdc=no
12744fi
12745rm -f conftest*
12746
12747fi
12748
12749if test $ac_cv_header_stdc = yes; then
12750 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12751 if test "$cross_compiling" = yes; then
12752 :
12753else
12754 cat >conftest.$ac_ext <<_ACEOF
12755/* confdefs.h. */
12756_ACEOF
12757cat confdefs.h >>conftest.$ac_ext
12758cat >>conftest.$ac_ext <<_ACEOF
12759/* end confdefs.h. */
12760#include <ctype.h>
12761#if ((' ' & 0x0FF) == 0x020)
12762# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12763# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12764#else
12765# define ISLOWER(c) \
ac1cb8d3
VS
12766 (('a' <= (c) && (c) <= 'i') \
12767 || ('j' <= (c) && (c) <= 'r') \
12768 || ('s' <= (c) && (c) <= 'z'))
a848cd7e
SC
12769# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12770#endif
12771
12772#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12773int
12774main ()
12775{
12776 int i;
12777 for (i = 0; i < 256; i++)
12778 if (XOR (islower (i), ISLOWER (i))
ac1cb8d3 12779 || toupper (i) != TOUPPER (i))
a848cd7e
SC
12780 exit(2);
12781 exit (0);
12782}
12783_ACEOF
12784rm -f conftest$ac_exeext
12785if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12786 (eval $ac_link) 2>&5
12787 ac_status=$?
12788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12789 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12791 (eval $ac_try) 2>&5
12792 ac_status=$?
12793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12794 (exit $ac_status); }; }; then
12795 :
12796else
12797 echo "$as_me: program exited with status $ac_status" >&5
12798echo "$as_me: failed program was:" >&5
12799sed 's/^/| /' conftest.$ac_ext >&5
12800
12801( exit $ac_status )
12802ac_cv_header_stdc=no
12803fi
ac1cb8d3 12804rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
12805fi
12806fi
12807fi
12808echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12809echo "${ECHO_T}$ac_cv_header_stdc" >&6
12810if test $ac_cv_header_stdc = yes; then
12811
12812cat >>confdefs.h <<\_ACEOF
12813#define STDC_HEADERS 1
12814_ACEOF
12815
12816fi
12817
12818# On IRIX 5.3, sys/types and inttypes.h are conflicting.
12819
12820
12821
12822
12823
12824
12825
12826
12827
12828for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
ac1cb8d3 12829 inttypes.h stdint.h unistd.h
a848cd7e
SC
12830do
12831as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12832echo "$as_me:$LINENO: checking for $ac_header" >&5
12833echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12834if eval "test \"\${$as_ac_Header+set}\" = set"; then
12835 echo $ECHO_N "(cached) $ECHO_C" >&6
12836else
12837 cat >conftest.$ac_ext <<_ACEOF
12838/* confdefs.h. */
12839_ACEOF
12840cat confdefs.h >>conftest.$ac_ext
12841cat >>conftest.$ac_ext <<_ACEOF
12842/* end confdefs.h. */
12843$ac_includes_default
12844
12845#include <$ac_header>
12846_ACEOF
12847rm -f conftest.$ac_objext
12848if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 12849 (eval $ac_compile) 2>conftest.er1
a848cd7e 12850 ac_status=$?
ac1cb8d3
VS
12851 grep -v '^ *+' conftest.er1 >conftest.err
12852 rm -f conftest.er1
12853 cat conftest.err >&5
a848cd7e
SC
12854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12855 (exit $ac_status); } &&
d1c38808 12856 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
12857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12858 (eval $ac_try) 2>&5
12859 ac_status=$?
12860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12861 (exit $ac_status); }; } &&
12862 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
12863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12864 (eval $ac_try) 2>&5
12865 ac_status=$?
12866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12867 (exit $ac_status); }; }; then
12868 eval "$as_ac_Header=yes"
12869else
12870 echo "$as_me: failed program was:" >&5
12871sed 's/^/| /' conftest.$ac_ext >&5
12872
12873eval "$as_ac_Header=no"
12874fi
ac1cb8d3 12875rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
12876fi
12877echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12878echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12879if test `eval echo '${'$as_ac_Header'}'` = yes; then
12880 cat >>confdefs.h <<_ACEOF
12881#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12882_ACEOF
12883
12884fi
12885
12886done
12887
12888
12889
12890for ac_header in stdlib.h
12891do
12892as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12893if eval "test \"\${$as_ac_Header+set}\" = set"; then
12894 echo "$as_me:$LINENO: checking for $ac_header" >&5
12895echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12896if eval "test \"\${$as_ac_Header+set}\" = set"; then
12897 echo $ECHO_N "(cached) $ECHO_C" >&6
12898fi
12899echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12900echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12901else
12902 # Is the header compilable?
12903echo "$as_me:$LINENO: checking $ac_header usability" >&5
12904echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12905cat >conftest.$ac_ext <<_ACEOF
12906/* confdefs.h. */
12907_ACEOF
12908cat confdefs.h >>conftest.$ac_ext
12909cat >>conftest.$ac_ext <<_ACEOF
12910/* end confdefs.h. */
12911$ac_includes_default
12912#include <$ac_header>
12913_ACEOF
12914rm -f conftest.$ac_objext
12915if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 12916 (eval $ac_compile) 2>conftest.er1
a848cd7e 12917 ac_status=$?
ac1cb8d3
VS
12918 grep -v '^ *+' conftest.er1 >conftest.err
12919 rm -f conftest.er1
12920 cat conftest.err >&5
a848cd7e
SC
12921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12922 (exit $ac_status); } &&
d1c38808 12923 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
12924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12925 (eval $ac_try) 2>&5
12926 ac_status=$?
12927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12928 (exit $ac_status); }; } &&
12929 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
12930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12931 (eval $ac_try) 2>&5
12932 ac_status=$?
12933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12934 (exit $ac_status); }; }; then
12935 ac_header_compiler=yes
12936else
12937 echo "$as_me: failed program was:" >&5
12938sed 's/^/| /' conftest.$ac_ext >&5
12939
12940ac_header_compiler=no
12941fi
ac1cb8d3 12942rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
12943echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12944echo "${ECHO_T}$ac_header_compiler" >&6
12945
12946# Is the header present?
12947echo "$as_me:$LINENO: checking $ac_header presence" >&5
12948echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12949cat >conftest.$ac_ext <<_ACEOF
12950/* confdefs.h. */
12951_ACEOF
12952cat confdefs.h >>conftest.$ac_ext
12953cat >>conftest.$ac_ext <<_ACEOF
12954/* end confdefs.h. */
12955#include <$ac_header>
12956_ACEOF
12957if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12958 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12959 ac_status=$?
12960 grep -v '^ *+' conftest.er1 >conftest.err
12961 rm -f conftest.er1
12962 cat conftest.err >&5
12963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12964 (exit $ac_status); } >/dev/null; then
12965 if test -s conftest.err; then
12966 ac_cpp_err=$ac_c_preproc_warn_flag
ac1cb8d3 12967 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
a848cd7e
SC
12968 else
12969 ac_cpp_err=
12970 fi
12971else
12972 ac_cpp_err=yes
12973fi
12974if test -z "$ac_cpp_err"; then
12975 ac_header_preproc=yes
12976else
12977 echo "$as_me: failed program was:" >&5
12978sed 's/^/| /' conftest.$ac_ext >&5
12979
12980 ac_header_preproc=no
12981fi
12982rm -f conftest.err conftest.$ac_ext
12983echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12984echo "${ECHO_T}$ac_header_preproc" >&6
12985
12986# So? What about this header?
ac1cb8d3
VS
12987case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12988 yes:no: )
a848cd7e
SC
12989 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12990echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
ac1cb8d3
VS
12991 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12992echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12993 ac_header_preproc=yes
a848cd7e 12994 ;;
ac1cb8d3 12995 no:yes:* )
a848cd7e
SC
12996 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12997echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
ac1cb8d3
VS
12998 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12999echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13000 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13001echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13002 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13003echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
a848cd7e
SC
13004 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13005echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
ac1cb8d3
VS
13006 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13007echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
a848cd7e
SC
13008 (
13009 cat <<\_ASBOX
ac1cb8d3
VS
13010## ----------------------------------------- ##
13011## Report this to wx-dev@lists.wxwidgets.org ##
13012## ----------------------------------------- ##
a848cd7e
SC
13013_ASBOX
13014 ) |
13015 sed "s/^/$as_me: WARNING: /" >&2
13016 ;;
13017esac
13018echo "$as_me:$LINENO: checking for $ac_header" >&5
13019echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13020if eval "test \"\${$as_ac_Header+set}\" = set"; then
13021 echo $ECHO_N "(cached) $ECHO_C" >&6
13022else
ac1cb8d3 13023 eval "$as_ac_Header=\$ac_header_preproc"
a848cd7e
SC
13024fi
13025echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13026echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13027
13028fi
13029if test `eval echo '${'$as_ac_Header'}'` = yes; then
13030 cat >>confdefs.h <<_ACEOF
13031#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13032_ACEOF
13033
13034fi
13035
13036done
13037
13038
13039for ac_header in malloc.h
13040do
13041as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13042if eval "test \"\${$as_ac_Header+set}\" = set"; then
13043 echo "$as_me:$LINENO: checking for $ac_header" >&5
13044echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13045if eval "test \"\${$as_ac_Header+set}\" = set"; then
13046 echo $ECHO_N "(cached) $ECHO_C" >&6
13047fi
13048echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13049echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13050else
13051 # Is the header compilable?
13052echo "$as_me:$LINENO: checking $ac_header usability" >&5
13053echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13054cat >conftest.$ac_ext <<_ACEOF
13055/* confdefs.h. */
13056_ACEOF
13057cat confdefs.h >>conftest.$ac_ext
13058cat >>conftest.$ac_ext <<_ACEOF
13059/* end confdefs.h. */
13060$ac_includes_default
13061#include <$ac_header>
13062_ACEOF
13063rm -f conftest.$ac_objext
13064if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 13065 (eval $ac_compile) 2>conftest.er1
a848cd7e 13066 ac_status=$?
ac1cb8d3
VS
13067 grep -v '^ *+' conftest.er1 >conftest.err
13068 rm -f conftest.er1
13069 cat conftest.err >&5
a848cd7e
SC
13070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13071 (exit $ac_status); } &&
d1c38808 13072 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
13073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13074 (eval $ac_try) 2>&5
13075 ac_status=$?
13076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13077 (exit $ac_status); }; } &&
13078 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
13079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13080 (eval $ac_try) 2>&5
13081 ac_status=$?
13082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13083 (exit $ac_status); }; }; then
13084 ac_header_compiler=yes
13085else
13086 echo "$as_me: failed program was:" >&5
13087sed 's/^/| /' conftest.$ac_ext >&5
13088
13089ac_header_compiler=no
13090fi
ac1cb8d3 13091rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
13092echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13093echo "${ECHO_T}$ac_header_compiler" >&6
13094
13095# Is the header present?
13096echo "$as_me:$LINENO: checking $ac_header presence" >&5
13097echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13098cat >conftest.$ac_ext <<_ACEOF
13099/* confdefs.h. */
13100_ACEOF
13101cat confdefs.h >>conftest.$ac_ext
13102cat >>conftest.$ac_ext <<_ACEOF
13103/* end confdefs.h. */
13104#include <$ac_header>
13105_ACEOF
13106if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13107 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13108 ac_status=$?
13109 grep -v '^ *+' conftest.er1 >conftest.err
13110 rm -f conftest.er1
13111 cat conftest.err >&5
13112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13113 (exit $ac_status); } >/dev/null; then
13114 if test -s conftest.err; then
13115 ac_cpp_err=$ac_c_preproc_warn_flag
ac1cb8d3 13116 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
a848cd7e
SC
13117 else
13118 ac_cpp_err=
13119 fi
13120else
13121 ac_cpp_err=yes
13122fi
13123if test -z "$ac_cpp_err"; then
13124 ac_header_preproc=yes
13125else
13126 echo "$as_me: failed program was:" >&5
13127sed 's/^/| /' conftest.$ac_ext >&5
13128
13129 ac_header_preproc=no
13130fi
13131rm -f conftest.err conftest.$ac_ext
13132echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13133echo "${ECHO_T}$ac_header_preproc" >&6
13134
13135# So? What about this header?
ac1cb8d3
VS
13136case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13137 yes:no: )
a848cd7e
SC
13138 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13139echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
ac1cb8d3
VS
13140 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13141echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13142 ac_header_preproc=yes
a848cd7e 13143 ;;
ac1cb8d3 13144 no:yes:* )
a848cd7e
SC
13145 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13146echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
ac1cb8d3
VS
13147 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13148echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13149 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13150echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13151 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13152echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
a848cd7e
SC
13153 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13154echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
ac1cb8d3
VS
13155 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13156echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
a848cd7e
SC
13157 (
13158 cat <<\_ASBOX
ac1cb8d3
VS
13159## ----------------------------------------- ##
13160## Report this to wx-dev@lists.wxwidgets.org ##
13161## ----------------------------------------- ##
a848cd7e
SC
13162_ASBOX
13163 ) |
13164 sed "s/^/$as_me: WARNING: /" >&2
13165 ;;
13166esac
13167echo "$as_me:$LINENO: checking for $ac_header" >&5
13168echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13169if eval "test \"\${$as_ac_Header+set}\" = set"; then
13170 echo $ECHO_N "(cached) $ECHO_C" >&6
13171else
ac1cb8d3 13172 eval "$as_ac_Header=\$ac_header_preproc"
a848cd7e
SC
13173fi
13174echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13175echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13176
13177fi
13178if test `eval echo '${'$as_ac_Header'}'` = yes; then
13179 cat >>confdefs.h <<_ACEOF
13180#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13181_ACEOF
13182
13183fi
13184
13185done
13186
13187
13188for ac_header in unistd.h
13189do
13190as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13191if eval "test \"\${$as_ac_Header+set}\" = set"; then
13192 echo "$as_me:$LINENO: checking for $ac_header" >&5
13193echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13194if eval "test \"\${$as_ac_Header+set}\" = set"; then
13195 echo $ECHO_N "(cached) $ECHO_C" >&6
13196fi
13197echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13198echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13199else
13200 # Is the header compilable?
13201echo "$as_me:$LINENO: checking $ac_header usability" >&5
13202echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13203cat >conftest.$ac_ext <<_ACEOF
13204/* confdefs.h. */
13205_ACEOF
13206cat confdefs.h >>conftest.$ac_ext
13207cat >>conftest.$ac_ext <<_ACEOF
13208/* end confdefs.h. */
13209$ac_includes_default
13210#include <$ac_header>
13211_ACEOF
13212rm -f conftest.$ac_objext
13213if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 13214 (eval $ac_compile) 2>conftest.er1
a848cd7e 13215 ac_status=$?
ac1cb8d3
VS
13216 grep -v '^ *+' conftest.er1 >conftest.err
13217 rm -f conftest.er1
13218 cat conftest.err >&5
a848cd7e
SC
13219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13220 (exit $ac_status); } &&
d1c38808 13221 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
13222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13223 (eval $ac_try) 2>&5
13224 ac_status=$?
13225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13226 (exit $ac_status); }; } &&
13227 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
13228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13229 (eval $ac_try) 2>&5
13230 ac_status=$?
13231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13232 (exit $ac_status); }; }; then
13233 ac_header_compiler=yes
13234else
13235 echo "$as_me: failed program was:" >&5
13236sed 's/^/| /' conftest.$ac_ext >&5
13237
13238ac_header_compiler=no
13239fi
ac1cb8d3 13240rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
13241echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13242echo "${ECHO_T}$ac_header_compiler" >&6
13243
13244# Is the header present?
13245echo "$as_me:$LINENO: checking $ac_header presence" >&5
13246echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13247cat >conftest.$ac_ext <<_ACEOF
13248/* confdefs.h. */
13249_ACEOF
13250cat confdefs.h >>conftest.$ac_ext
13251cat >>conftest.$ac_ext <<_ACEOF
13252/* end confdefs.h. */
13253#include <$ac_header>
13254_ACEOF
13255if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13256 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13257 ac_status=$?
13258 grep -v '^ *+' conftest.er1 >conftest.err
13259 rm -f conftest.er1
13260 cat conftest.err >&5
13261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13262 (exit $ac_status); } >/dev/null; then
13263 if test -s conftest.err; then
13264 ac_cpp_err=$ac_c_preproc_warn_flag
ac1cb8d3 13265 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
a848cd7e
SC
13266 else
13267 ac_cpp_err=
13268 fi
13269else
13270 ac_cpp_err=yes
13271fi
13272if test -z "$ac_cpp_err"; then
13273 ac_header_preproc=yes
13274else
13275 echo "$as_me: failed program was:" >&5
13276sed 's/^/| /' conftest.$ac_ext >&5
13277
13278 ac_header_preproc=no
13279fi
13280rm -f conftest.err conftest.$ac_ext
13281echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13282echo "${ECHO_T}$ac_header_preproc" >&6
13283
13284# So? What about this header?
ac1cb8d3
VS
13285case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13286 yes:no: )
a848cd7e
SC
13287 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13288echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
ac1cb8d3
VS
13289 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13290echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13291 ac_header_preproc=yes
a848cd7e 13292 ;;
ac1cb8d3 13293 no:yes:* )
a848cd7e
SC
13294 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13295echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
ac1cb8d3
VS
13296 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13297echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13298 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13299echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13300 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13301echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
a848cd7e
SC
13302 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13303echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
ac1cb8d3
VS
13304 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13305echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
a848cd7e
SC
13306 (
13307 cat <<\_ASBOX
ac1cb8d3
VS
13308## ----------------------------------------- ##
13309## Report this to wx-dev@lists.wxwidgets.org ##
13310## ----------------------------------------- ##
a848cd7e
SC
13311_ASBOX
13312 ) |
13313 sed "s/^/$as_me: WARNING: /" >&2
13314 ;;
13315esac
13316echo "$as_me:$LINENO: checking for $ac_header" >&5
13317echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13318if eval "test \"\${$as_ac_Header+set}\" = set"; then
13319 echo $ECHO_N "(cached) $ECHO_C" >&6
13320else
ac1cb8d3 13321 eval "$as_ac_Header=\$ac_header_preproc"
a848cd7e
SC
13322fi
13323echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13324echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13325
13326fi
13327if test `eval echo '${'$as_ac_Header'}'` = yes; then
13328 cat >>confdefs.h <<_ACEOF
13329#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13330_ACEOF
13331
13332fi
13333
13334done
13335
13336
13337for ac_header in wchar.h
13338do
13339as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13340if eval "test \"\${$as_ac_Header+set}\" = set"; then
13341 echo "$as_me:$LINENO: checking for $ac_header" >&5
13342echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13343if eval "test \"\${$as_ac_Header+set}\" = set"; then
13344 echo $ECHO_N "(cached) $ECHO_C" >&6
13345fi
13346echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13347echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13348else
13349 # Is the header compilable?
13350echo "$as_me:$LINENO: checking $ac_header usability" >&5
13351echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13352cat >conftest.$ac_ext <<_ACEOF
13353/* confdefs.h. */
13354_ACEOF
13355cat confdefs.h >>conftest.$ac_ext
13356cat >>conftest.$ac_ext <<_ACEOF
13357/* end confdefs.h. */
13358$ac_includes_default
13359#include <$ac_header>
13360_ACEOF
13361rm -f conftest.$ac_objext
13362if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 13363 (eval $ac_compile) 2>conftest.er1
a848cd7e 13364 ac_status=$?
ac1cb8d3
VS
13365 grep -v '^ *+' conftest.er1 >conftest.err
13366 rm -f conftest.er1
13367 cat conftest.err >&5
a848cd7e
SC
13368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13369 (exit $ac_status); } &&
d1c38808 13370 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
13371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13372 (eval $ac_try) 2>&5
13373 ac_status=$?
13374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13375 (exit $ac_status); }; } &&
13376 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
13377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13378 (eval $ac_try) 2>&5
13379 ac_status=$?
13380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13381 (exit $ac_status); }; }; then
13382 ac_header_compiler=yes
13383else
13384 echo "$as_me: failed program was:" >&5
13385sed 's/^/| /' conftest.$ac_ext >&5
13386
13387ac_header_compiler=no
13388fi
ac1cb8d3 13389rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
13390echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13391echo "${ECHO_T}$ac_header_compiler" >&6
13392
13393# Is the header present?
13394echo "$as_me:$LINENO: checking $ac_header presence" >&5
13395echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13396cat >conftest.$ac_ext <<_ACEOF
13397/* confdefs.h. */
13398_ACEOF
13399cat confdefs.h >>conftest.$ac_ext
13400cat >>conftest.$ac_ext <<_ACEOF
13401/* end confdefs.h. */
13402#include <$ac_header>
13403_ACEOF
13404if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13405 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13406 ac_status=$?
13407 grep -v '^ *+' conftest.er1 >conftest.err
13408 rm -f conftest.er1
13409 cat conftest.err >&5
13410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13411 (exit $ac_status); } >/dev/null; then
13412 if test -s conftest.err; then
13413 ac_cpp_err=$ac_c_preproc_warn_flag
ac1cb8d3 13414 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
a848cd7e
SC
13415 else
13416 ac_cpp_err=
13417 fi
13418else
13419 ac_cpp_err=yes
13420fi
13421if test -z "$ac_cpp_err"; then
13422 ac_header_preproc=yes
13423else
13424 echo "$as_me: failed program was:" >&5
13425sed 's/^/| /' conftest.$ac_ext >&5
13426
13427 ac_header_preproc=no
13428fi
13429rm -f conftest.err conftest.$ac_ext
13430echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13431echo "${ECHO_T}$ac_header_preproc" >&6
13432
13433# So? What about this header?
ac1cb8d3
VS
13434case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13435 yes:no: )
a848cd7e
SC
13436 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13437echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
ac1cb8d3
VS
13438 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13439echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13440 ac_header_preproc=yes
a848cd7e 13441 ;;
ac1cb8d3 13442 no:yes:* )
a848cd7e
SC
13443 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13444echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
ac1cb8d3
VS
13445 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13446echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13447 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13448echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13449 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13450echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
a848cd7e
SC
13451 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13452echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
ac1cb8d3
VS
13453 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13454echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
a848cd7e
SC
13455 (
13456 cat <<\_ASBOX
ac1cb8d3
VS
13457## ----------------------------------------- ##
13458## Report this to wx-dev@lists.wxwidgets.org ##
13459## ----------------------------------------- ##
a848cd7e
SC
13460_ASBOX
13461 ) |
13462 sed "s/^/$as_me: WARNING: /" >&2
13463 ;;
13464esac
13465echo "$as_me:$LINENO: checking for $ac_header" >&5
13466echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13467if eval "test \"\${$as_ac_Header+set}\" = set"; then
13468 echo $ECHO_N "(cached) $ECHO_C" >&6
13469else
ac1cb8d3 13470 eval "$as_ac_Header=\$ac_header_preproc"
a848cd7e
SC
13471fi
13472echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13473echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13474
13475fi
13476if test `eval echo '${'$as_ac_Header'}'` = yes; then
13477 cat >>confdefs.h <<_ACEOF
13478#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13479_ACEOF
13480
13481fi
13482
13483done
13484
13485
13486if test "$ac_cv_header_wchar_h" != "yes"; then
13487
13488for ac_header in wcstr.h
13489do
13490as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13491if eval "test \"\${$as_ac_Header+set}\" = set"; then
13492 echo "$as_me:$LINENO: checking for $ac_header" >&5
13493echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13494if eval "test \"\${$as_ac_Header+set}\" = set"; then
13495 echo $ECHO_N "(cached) $ECHO_C" >&6
13496fi
13497echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13498echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13499else
13500 # Is the header compilable?
13501echo "$as_me:$LINENO: checking $ac_header usability" >&5
13502echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13503cat >conftest.$ac_ext <<_ACEOF
13504/* confdefs.h. */
13505_ACEOF
13506cat confdefs.h >>conftest.$ac_ext
13507cat >>conftest.$ac_ext <<_ACEOF
13508/* end confdefs.h. */
13509$ac_includes_default
13510#include <$ac_header>
13511_ACEOF
13512rm -f conftest.$ac_objext
13513if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 13514 (eval $ac_compile) 2>conftest.er1
a848cd7e 13515 ac_status=$?
ac1cb8d3
VS
13516 grep -v '^ *+' conftest.er1 >conftest.err
13517 rm -f conftest.er1
13518 cat conftest.err >&5
a848cd7e
SC
13519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13520 (exit $ac_status); } &&
d1c38808 13521 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
13522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13523 (eval $ac_try) 2>&5
13524 ac_status=$?
13525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13526 (exit $ac_status); }; } &&
13527 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
13528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13529 (eval $ac_try) 2>&5
13530 ac_status=$?
13531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13532 (exit $ac_status); }; }; then
13533 ac_header_compiler=yes
13534else
13535 echo "$as_me: failed program was:" >&5
13536sed 's/^/| /' conftest.$ac_ext >&5
13537
13538ac_header_compiler=no
13539fi
ac1cb8d3 13540rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
13541echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13542echo "${ECHO_T}$ac_header_compiler" >&6
13543
13544# Is the header present?
13545echo "$as_me:$LINENO: checking $ac_header presence" >&5
13546echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13547cat >conftest.$ac_ext <<_ACEOF
13548/* confdefs.h. */
13549_ACEOF
13550cat confdefs.h >>conftest.$ac_ext
13551cat >>conftest.$ac_ext <<_ACEOF
13552/* end confdefs.h. */
13553#include <$ac_header>
13554_ACEOF
13555if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13556 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13557 ac_status=$?
13558 grep -v '^ *+' conftest.er1 >conftest.err
13559 rm -f conftest.er1
13560 cat conftest.err >&5
13561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13562 (exit $ac_status); } >/dev/null; then
13563 if test -s conftest.err; then
13564 ac_cpp_err=$ac_c_preproc_warn_flag
ac1cb8d3 13565 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
a848cd7e
SC
13566 else
13567 ac_cpp_err=
13568 fi
13569else
13570 ac_cpp_err=yes
13571fi
13572if test -z "$ac_cpp_err"; then
13573 ac_header_preproc=yes
13574else
13575 echo "$as_me: failed program was:" >&5
13576sed 's/^/| /' conftest.$ac_ext >&5
13577
13578 ac_header_preproc=no
13579fi
13580rm -f conftest.err conftest.$ac_ext
13581echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13582echo "${ECHO_T}$ac_header_preproc" >&6
13583
13584# So? What about this header?
ac1cb8d3
VS
13585case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13586 yes:no: )
a848cd7e
SC
13587 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13588echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
ac1cb8d3
VS
13589 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13590echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13591 ac_header_preproc=yes
a848cd7e 13592 ;;
ac1cb8d3 13593 no:yes:* )
a848cd7e
SC
13594 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13595echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
ac1cb8d3
VS
13596 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13597echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13598 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13599echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13600 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13601echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
a848cd7e
SC
13602 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13603echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
ac1cb8d3
VS
13604 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13605echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
a848cd7e
SC
13606 (
13607 cat <<\_ASBOX
ac1cb8d3
VS
13608## ----------------------------------------- ##
13609## Report this to wx-dev@lists.wxwidgets.org ##
13610## ----------------------------------------- ##
a848cd7e
SC
13611_ASBOX
13612 ) |
13613 sed "s/^/$as_me: WARNING: /" >&2
13614 ;;
13615esac
13616echo "$as_me:$LINENO: checking for $ac_header" >&5
13617echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13618if eval "test \"\${$as_ac_Header+set}\" = set"; then
13619 echo $ECHO_N "(cached) $ECHO_C" >&6
13620else
ac1cb8d3 13621 eval "$as_ac_Header=\$ac_header_preproc"
a848cd7e
SC
13622fi
13623echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13624echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13625
13626fi
13627if test `eval echo '${'$as_ac_Header'}'` = yes; then
13628 cat >>confdefs.h <<_ACEOF
13629#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13630_ACEOF
13631
13632fi
13633
13634done
13635
13636fi
13637
13638
13639for ac_header in fnmatch.h
13640do
13641as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13642if eval "test \"\${$as_ac_Header+set}\" = set"; then
13643 echo "$as_me:$LINENO: checking for $ac_header" >&5
13644echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13645if eval "test \"\${$as_ac_Header+set}\" = set"; then
13646 echo $ECHO_N "(cached) $ECHO_C" >&6
13647fi
13648echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13649echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13650else
13651 # Is the header compilable?
13652echo "$as_me:$LINENO: checking $ac_header usability" >&5
13653echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13654cat >conftest.$ac_ext <<_ACEOF
13655/* confdefs.h. */
13656_ACEOF
13657cat confdefs.h >>conftest.$ac_ext
13658cat >>conftest.$ac_ext <<_ACEOF
13659/* end confdefs.h. */
13660$ac_includes_default
13661#include <$ac_header>
13662_ACEOF
13663rm -f conftest.$ac_objext
13664if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 13665 (eval $ac_compile) 2>conftest.er1
a848cd7e 13666 ac_status=$?
ac1cb8d3
VS
13667 grep -v '^ *+' conftest.er1 >conftest.err
13668 rm -f conftest.er1
13669 cat conftest.err >&5
a848cd7e
SC
13670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13671 (exit $ac_status); } &&
d1c38808 13672 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
13673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13674 (eval $ac_try) 2>&5
13675 ac_status=$?
13676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13677 (exit $ac_status); }; } &&
13678 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
13679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13680 (eval $ac_try) 2>&5
13681 ac_status=$?
13682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13683 (exit $ac_status); }; }; then
13684 ac_header_compiler=yes
13685else
13686 echo "$as_me: failed program was:" >&5
13687sed 's/^/| /' conftest.$ac_ext >&5
13688
13689ac_header_compiler=no
13690fi
ac1cb8d3 13691rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
13692echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13693echo "${ECHO_T}$ac_header_compiler" >&6
13694
13695# Is the header present?
13696echo "$as_me:$LINENO: checking $ac_header presence" >&5
13697echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13698cat >conftest.$ac_ext <<_ACEOF
13699/* confdefs.h. */
13700_ACEOF
13701cat confdefs.h >>conftest.$ac_ext
13702cat >>conftest.$ac_ext <<_ACEOF
13703/* end confdefs.h. */
13704#include <$ac_header>
13705_ACEOF
13706if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13707 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13708 ac_status=$?
13709 grep -v '^ *+' conftest.er1 >conftest.err
13710 rm -f conftest.er1
13711 cat conftest.err >&5
13712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13713 (exit $ac_status); } >/dev/null; then
13714 if test -s conftest.err; then
13715 ac_cpp_err=$ac_c_preproc_warn_flag
ac1cb8d3 13716 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
a848cd7e
SC
13717 else
13718 ac_cpp_err=
13719 fi
13720else
13721 ac_cpp_err=yes
13722fi
13723if test -z "$ac_cpp_err"; then
13724 ac_header_preproc=yes
13725else
13726 echo "$as_me: failed program was:" >&5
13727sed 's/^/| /' conftest.$ac_ext >&5
13728
13729 ac_header_preproc=no
13730fi
13731rm -f conftest.err conftest.$ac_ext
13732echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13733echo "${ECHO_T}$ac_header_preproc" >&6
13734
13735# So? What about this header?
ac1cb8d3
VS
13736case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13737 yes:no: )
a848cd7e
SC
13738 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13739echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
ac1cb8d3
VS
13740 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13741echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13742 ac_header_preproc=yes
a848cd7e 13743 ;;
ac1cb8d3 13744 no:yes:* )
a848cd7e
SC
13745 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13746echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
ac1cb8d3
VS
13747 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13748echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13749 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13750echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13751 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13752echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
a848cd7e
SC
13753 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13754echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
ac1cb8d3
VS
13755 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13756echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
a848cd7e
SC
13757 (
13758 cat <<\_ASBOX
ac1cb8d3
VS
13759## ----------------------------------------- ##
13760## Report this to wx-dev@lists.wxwidgets.org ##
13761## ----------------------------------------- ##
a848cd7e
SC
13762_ASBOX
13763 ) |
13764 sed "s/^/$as_me: WARNING: /" >&2
13765 ;;
13766esac
13767echo "$as_me:$LINENO: checking for $ac_header" >&5
13768echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13769if eval "test \"\${$as_ac_Header+set}\" = set"; then
13770 echo $ECHO_N "(cached) $ECHO_C" >&6
13771else
ac1cb8d3 13772 eval "$as_ac_Header=\$ac_header_preproc"
a848cd7e
SC
13773fi
13774echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13775echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13776
13777fi
13778if test `eval echo '${'$as_ac_Header'}'` = yes; then
13779 cat >>confdefs.h <<_ACEOF
13780#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13781_ACEOF
13782
13783fi
13784
13785done
13786
13787
13788if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13789
13790for ac_func in fnmatch
13791do
13792as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13793echo "$as_me:$LINENO: checking for $ac_func" >&5
13794echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13795if eval "test \"\${$as_ac_var+set}\" = set"; then
13796 echo $ECHO_N "(cached) $ECHO_C" >&6
13797else
13798 cat >conftest.$ac_ext <<_ACEOF
13799/* confdefs.h. */
13800_ACEOF
13801cat confdefs.h >>conftest.$ac_ext
13802cat >>conftest.$ac_ext <<_ACEOF
13803/* end confdefs.h. */
ac1cb8d3
VS
13804/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13805 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13806#define $ac_func innocuous_$ac_func
13807
a848cd7e
SC
13808/* System header to define __stub macros and hopefully few prototypes,
13809 which can conflict with char $ac_func (); below.
13810 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13811 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 13812
a848cd7e
SC
13813#ifdef __STDC__
13814# include <limits.h>
13815#else
13816# include <assert.h>
13817#endif
ac1cb8d3
VS
13818
13819#undef $ac_func
13820
a848cd7e
SC
13821/* Override any gcc2 internal prototype to avoid an error. */
13822#ifdef __cplusplus
13823extern "C"
13824{
13825#endif
13826/* We use char because int might match the return type of a gcc2
13827 builtin and then its argument prototype would still apply. */
13828char $ac_func ();
13829/* The GNU C library defines this for functions which it implements
13830 to always fail with ENOSYS. Some functions are actually named
13831 something starting with __ and the normal name is an alias. */
13832#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13833choke me
13834#else
13835char (*f) () = $ac_func;
13836#endif
13837#ifdef __cplusplus
13838}
13839#endif
13840
13841int
13842main ()
13843{
13844return f != $ac_func;
13845 ;
13846 return 0;
13847}
13848_ACEOF
13849rm -f conftest.$ac_objext conftest$ac_exeext
13850if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 13851 (eval $ac_link) 2>conftest.er1
a848cd7e 13852 ac_status=$?
ac1cb8d3
VS
13853 grep -v '^ *+' conftest.er1 >conftest.err
13854 rm -f conftest.er1
13855 cat conftest.err >&5
a848cd7e
SC
13856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13857 (exit $ac_status); } &&
d1c38808 13858 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
13859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13860 (eval $ac_try) 2>&5
13861 ac_status=$?
13862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13863 (exit $ac_status); }; } &&
13864 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
13865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13866 (eval $ac_try) 2>&5
13867 ac_status=$?
13868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13869 (exit $ac_status); }; }; then
13870 eval "$as_ac_var=yes"
13871else
13872 echo "$as_me: failed program was:" >&5
13873sed 's/^/| /' conftest.$ac_ext >&5
13874
13875eval "$as_ac_var=no"
13876fi
ac1cb8d3
VS
13877rm -f conftest.err conftest.$ac_objext \
13878 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
13879fi
13880echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13881echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13882if test `eval echo '${'$as_ac_var'}'` = yes; then
13883 cat >>confdefs.h <<_ACEOF
13884#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13885_ACEOF
13886
13887fi
13888done
13889
13890fi
13891
13892
13893for ac_header in langinfo.h
13894do
13895as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13896if eval "test \"\${$as_ac_Header+set}\" = set"; then
13897 echo "$as_me:$LINENO: checking for $ac_header" >&5
13898echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13899if eval "test \"\${$as_ac_Header+set}\" = set"; then
13900 echo $ECHO_N "(cached) $ECHO_C" >&6
13901fi
13902echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13903echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13904else
13905 # Is the header compilable?
13906echo "$as_me:$LINENO: checking $ac_header usability" >&5
13907echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13908cat >conftest.$ac_ext <<_ACEOF
13909/* confdefs.h. */
13910_ACEOF
13911cat confdefs.h >>conftest.$ac_ext
13912cat >>conftest.$ac_ext <<_ACEOF
13913/* end confdefs.h. */
13914$ac_includes_default
13915#include <$ac_header>
13916_ACEOF
13917rm -f conftest.$ac_objext
13918if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 13919 (eval $ac_compile) 2>conftest.er1
a848cd7e 13920 ac_status=$?
ac1cb8d3
VS
13921 grep -v '^ *+' conftest.er1 >conftest.err
13922 rm -f conftest.er1
13923 cat conftest.err >&5
a848cd7e
SC
13924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13925 (exit $ac_status); } &&
d1c38808 13926 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
13927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13928 (eval $ac_try) 2>&5
13929 ac_status=$?
13930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13931 (exit $ac_status); }; } &&
13932 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
13933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13934 (eval $ac_try) 2>&5
13935 ac_status=$?
13936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13937 (exit $ac_status); }; }; then
13938 ac_header_compiler=yes
13939else
13940 echo "$as_me: failed program was:" >&5
13941sed 's/^/| /' conftest.$ac_ext >&5
13942
13943ac_header_compiler=no
13944fi
ac1cb8d3 13945rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
13946echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13947echo "${ECHO_T}$ac_header_compiler" >&6
13948
13949# Is the header present?
13950echo "$as_me:$LINENO: checking $ac_header presence" >&5
13951echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13952cat >conftest.$ac_ext <<_ACEOF
13953/* confdefs.h. */
13954_ACEOF
13955cat confdefs.h >>conftest.$ac_ext
13956cat >>conftest.$ac_ext <<_ACEOF
13957/* end confdefs.h. */
13958#include <$ac_header>
13959_ACEOF
13960if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13961 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13962 ac_status=$?
13963 grep -v '^ *+' conftest.er1 >conftest.err
13964 rm -f conftest.er1
13965 cat conftest.err >&5
13966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13967 (exit $ac_status); } >/dev/null; then
13968 if test -s conftest.err; then
13969 ac_cpp_err=$ac_c_preproc_warn_flag
ac1cb8d3 13970 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
a848cd7e
SC
13971 else
13972 ac_cpp_err=
13973 fi
13974else
13975 ac_cpp_err=yes
13976fi
13977if test -z "$ac_cpp_err"; then
13978 ac_header_preproc=yes
13979else
13980 echo "$as_me: failed program was:" >&5
13981sed 's/^/| /' conftest.$ac_ext >&5
13982
13983 ac_header_preproc=no
13984fi
13985rm -f conftest.err conftest.$ac_ext
13986echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13987echo "${ECHO_T}$ac_header_preproc" >&6
13988
13989# So? What about this header?
ac1cb8d3
VS
13990case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13991 yes:no: )
a848cd7e
SC
13992 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13993echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
ac1cb8d3
VS
13994 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13995echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13996 ac_header_preproc=yes
a848cd7e 13997 ;;
ac1cb8d3 13998 no:yes:* )
a848cd7e
SC
13999 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14000echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
ac1cb8d3
VS
14001 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14002echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14003 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14004echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14005 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14006echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
a848cd7e
SC
14007 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14008echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
ac1cb8d3
VS
14009 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14010echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
a848cd7e
SC
14011 (
14012 cat <<\_ASBOX
ac1cb8d3
VS
14013## ----------------------------------------- ##
14014## Report this to wx-dev@lists.wxwidgets.org ##
14015## ----------------------------------------- ##
a848cd7e
SC
14016_ASBOX
14017 ) |
14018 sed "s/^/$as_me: WARNING: /" >&2
14019 ;;
14020esac
14021echo "$as_me:$LINENO: checking for $ac_header" >&5
14022echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14023if eval "test \"\${$as_ac_Header+set}\" = set"; then
14024 echo $ECHO_N "(cached) $ECHO_C" >&6
14025else
ac1cb8d3 14026 eval "$as_ac_Header=\$ac_header_preproc"
a848cd7e
SC
14027fi
14028echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14029echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14030
14031fi
14032if test `eval echo '${'$as_ac_Header'}'` = yes; then
14033 cat >>confdefs.h <<_ACEOF
14034#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14035_ACEOF
14036
14037fi
14038
14039done
14040
14041
14042case "${host}" in
14043 *-pc-os2_emx | *-pc-os2-emx )
14044 if test $ac_cv_header_langinfo_h = "yes"; then
14045 LIBS="$LIBS -lintl"
14046 fi
14047 ;;
14048esac
14049
14050if test "$wxUSE_GUI" = "yes"; then
14051 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
14052
14053for ac_header in X11/Xlib.h
14054do
14055as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14056if eval "test \"\${$as_ac_Header+set}\" = set"; then
14057 echo "$as_me:$LINENO: checking for $ac_header" >&5
14058echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14059if eval "test \"\${$as_ac_Header+set}\" = set"; then
14060 echo $ECHO_N "(cached) $ECHO_C" >&6
14061fi
14062echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14063echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14064else
14065 # Is the header compilable?
14066echo "$as_me:$LINENO: checking $ac_header usability" >&5
14067echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14068cat >conftest.$ac_ext <<_ACEOF
14069/* confdefs.h. */
14070_ACEOF
14071cat confdefs.h >>conftest.$ac_ext
14072cat >>conftest.$ac_ext <<_ACEOF
14073/* end confdefs.h. */
14074$ac_includes_default
14075#include <$ac_header>
14076_ACEOF
14077rm -f conftest.$ac_objext
14078if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 14079 (eval $ac_compile) 2>conftest.er1
a848cd7e 14080 ac_status=$?
ac1cb8d3
VS
14081 grep -v '^ *+' conftest.er1 >conftest.err
14082 rm -f conftest.er1
14083 cat conftest.err >&5
a848cd7e
SC
14084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14085 (exit $ac_status); } &&
d1c38808 14086 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
14087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14088 (eval $ac_try) 2>&5
14089 ac_status=$?
14090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14091 (exit $ac_status); }; } &&
14092 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
14093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14094 (eval $ac_try) 2>&5
14095 ac_status=$?
14096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14097 (exit $ac_status); }; }; then
14098 ac_header_compiler=yes
14099else
14100 echo "$as_me: failed program was:" >&5
14101sed 's/^/| /' conftest.$ac_ext >&5
14102
14103ac_header_compiler=no
14104fi
ac1cb8d3 14105rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
14106echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14107echo "${ECHO_T}$ac_header_compiler" >&6
14108
14109# Is the header present?
14110echo "$as_me:$LINENO: checking $ac_header presence" >&5
14111echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14112cat >conftest.$ac_ext <<_ACEOF
14113/* confdefs.h. */
14114_ACEOF
14115cat confdefs.h >>conftest.$ac_ext
14116cat >>conftest.$ac_ext <<_ACEOF
14117/* end confdefs.h. */
14118#include <$ac_header>
14119_ACEOF
14120if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14121 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14122 ac_status=$?
14123 grep -v '^ *+' conftest.er1 >conftest.err
14124 rm -f conftest.er1
14125 cat conftest.err >&5
14126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14127 (exit $ac_status); } >/dev/null; then
14128 if test -s conftest.err; then
14129 ac_cpp_err=$ac_c_preproc_warn_flag
ac1cb8d3 14130 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
a848cd7e
SC
14131 else
14132 ac_cpp_err=
14133 fi
14134else
14135 ac_cpp_err=yes
14136fi
14137if test -z "$ac_cpp_err"; then
14138 ac_header_preproc=yes
14139else
14140 echo "$as_me: failed program was:" >&5
14141sed 's/^/| /' conftest.$ac_ext >&5
14142
14143 ac_header_preproc=no
14144fi
14145rm -f conftest.err conftest.$ac_ext
14146echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14147echo "${ECHO_T}$ac_header_preproc" >&6
14148
14149# So? What about this header?
ac1cb8d3
VS
14150case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14151 yes:no: )
a848cd7e
SC
14152 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14153echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
ac1cb8d3
VS
14154 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14155echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14156 ac_header_preproc=yes
a848cd7e 14157 ;;
ac1cb8d3 14158 no:yes:* )
a848cd7e
SC
14159 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14160echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
ac1cb8d3
VS
14161 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14162echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14163 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14164echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14165 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14166echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
a848cd7e
SC
14167 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14168echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
ac1cb8d3
VS
14169 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14170echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
a848cd7e
SC
14171 (
14172 cat <<\_ASBOX
ac1cb8d3
VS
14173## ----------------------------------------- ##
14174## Report this to wx-dev@lists.wxwidgets.org ##
14175## ----------------------------------------- ##
a848cd7e
SC
14176_ASBOX
14177 ) |
14178 sed "s/^/$as_me: WARNING: /" >&2
14179 ;;
14180esac
14181echo "$as_me:$LINENO: checking for $ac_header" >&5
14182echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14183if eval "test \"\${$as_ac_Header+set}\" = set"; then
14184 echo $ECHO_N "(cached) $ECHO_C" >&6
14185else
ac1cb8d3 14186 eval "$as_ac_Header=\$ac_header_preproc"
a848cd7e
SC
14187fi
14188echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14189echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14190
14191fi
14192if test `eval echo '${'$as_ac_Header'}'` = yes; then
14193 cat >>confdefs.h <<_ACEOF
14194#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14195_ACEOF
14196
14197fi
14198
14199done
14200
14201
14202for ac_header in X11/XKBlib.h
14203do
14204as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14205echo "$as_me:$LINENO: checking for $ac_header" >&5
14206echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14207if eval "test \"\${$as_ac_Header+set}\" = set"; then
14208 echo $ECHO_N "(cached) $ECHO_C" >&6
14209else
14210 cat >conftest.$ac_ext <<_ACEOF
14211/* confdefs.h. */
14212_ACEOF
14213cat confdefs.h >>conftest.$ac_ext
14214cat >>conftest.$ac_ext <<_ACEOF
14215/* end confdefs.h. */
14216
14217 #if HAVE_X11_XLIB_H
14218 #include <X11/Xlib.h>
14219 #endif
14220
14221
14222#include <$ac_header>
14223_ACEOF
14224rm -f conftest.$ac_objext
14225if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 14226 (eval $ac_compile) 2>conftest.er1
a848cd7e 14227 ac_status=$?
ac1cb8d3
VS
14228 grep -v '^ *+' conftest.er1 >conftest.err
14229 rm -f conftest.er1
14230 cat conftest.err >&5
a848cd7e
SC
14231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14232 (exit $ac_status); } &&
d1c38808 14233 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
14234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14235 (eval $ac_try) 2>&5
14236 ac_status=$?
14237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14238 (exit $ac_status); }; } &&
14239 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
14240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14241 (eval $ac_try) 2>&5
14242 ac_status=$?
14243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14244 (exit $ac_status); }; }; then
14245 eval "$as_ac_Header=yes"
14246else
14247 echo "$as_me: failed program was:" >&5
14248sed 's/^/| /' conftest.$ac_ext >&5
14249
14250eval "$as_ac_Header=no"
14251fi
ac1cb8d3 14252rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
14253fi
14254echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14255echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14256if test `eval echo '${'$as_ac_Header'}'` = yes; then
14257 cat >>confdefs.h <<_ACEOF
14258#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14259_ACEOF
14260
14261fi
14262
14263done
14264
14265 fi
14266fi
14267
14268
14269echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14270echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14271if test "${ac_cv_c_const+set}" = set; then
14272 echo $ECHO_N "(cached) $ECHO_C" >&6
14273else
14274 cat >conftest.$ac_ext <<_ACEOF
14275/* confdefs.h. */
14276_ACEOF
14277cat confdefs.h >>conftest.$ac_ext
14278cat >>conftest.$ac_ext <<_ACEOF
14279/* end confdefs.h. */
14280
14281int
14282main ()
14283{
14284/* FIXME: Include the comments suggested by Paul. */
14285#ifndef __cplusplus
14286 /* Ultrix mips cc rejects this. */
14287 typedef int charset[2];
14288 const charset x;
14289 /* SunOS 4.1.1 cc rejects this. */
14290 char const *const *ccp;
14291 char **p;
14292 /* NEC SVR4.0.2 mips cc rejects this. */
14293 struct point {int x, y;};
14294 static struct point const zero = {0,0};
14295 /* AIX XL C 1.02.0.0 rejects this.
14296 It does not let you subtract one const X* pointer from another in
14297 an arm of an if-expression whose if-part is not a constant
14298 expression */
14299 const char *g = "string";
14300 ccp = &g + (g ? g-g : 0);
14301 /* HPUX 7.0 cc rejects these. */
14302 ++ccp;
14303 p = (char**) ccp;
14304 ccp = (char const *const *) p;
14305 { /* SCO 3.2v4 cc rejects this. */
14306 char *t;
14307 char const *s = 0 ? (char *) 0 : (char const *) 0;
14308
14309 *t++ = 0;
14310 }
14311 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14312 int x[] = {25, 17};
14313 const int *foo = &x[0];
14314 ++foo;
14315 }
14316 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14317 typedef const int *iptr;
14318 iptr p = 0;
14319 ++p;
14320 }
14321 { /* AIX XL C 1.02.0.0 rejects this saying
14322 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14323 struct s { int j; const int *ap[3]; };
14324 struct s *b; b->j = 5;
14325 }
14326 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14327 const int foo = 10;
14328 }
14329#endif
14330
14331 ;
14332 return 0;
14333}
14334_ACEOF
14335rm -f conftest.$ac_objext
14336if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 14337 (eval $ac_compile) 2>conftest.er1
a848cd7e 14338 ac_status=$?
ac1cb8d3
VS
14339 grep -v '^ *+' conftest.er1 >conftest.err
14340 rm -f conftest.er1
14341 cat conftest.err >&5
a848cd7e
SC
14342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14343 (exit $ac_status); } &&
d1c38808 14344 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
14345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14346 (eval $ac_try) 2>&5
14347 ac_status=$?
14348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14349 (exit $ac_status); }; } &&
14350 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
14351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14352 (eval $ac_try) 2>&5
14353 ac_status=$?
14354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14355 (exit $ac_status); }; }; then
14356 ac_cv_c_const=yes
14357else
14358 echo "$as_me: failed program was:" >&5
14359sed 's/^/| /' conftest.$ac_ext >&5
14360
14361ac_cv_c_const=no
14362fi
ac1cb8d3 14363rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
14364fi
14365echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14366echo "${ECHO_T}$ac_cv_c_const" >&6
14367if test $ac_cv_c_const = no; then
14368
14369cat >>confdefs.h <<\_ACEOF
14370#define const
14371_ACEOF
14372
14373fi
14374
14375echo "$as_me:$LINENO: checking for inline" >&5
14376echo $ECHO_N "checking for inline... $ECHO_C" >&6
14377if test "${ac_cv_c_inline+set}" = set; then
14378 echo $ECHO_N "(cached) $ECHO_C" >&6
14379else
14380 ac_cv_c_inline=no
14381for ac_kw in inline __inline__ __inline; do
14382 cat >conftest.$ac_ext <<_ACEOF
14383/* confdefs.h. */
14384_ACEOF
14385cat confdefs.h >>conftest.$ac_ext
14386cat >>conftest.$ac_ext <<_ACEOF
14387/* end confdefs.h. */
14388#ifndef __cplusplus
14389typedef int foo_t;
14390static $ac_kw foo_t static_foo () {return 0; }
14391$ac_kw foo_t foo () {return 0; }
14392#endif
14393
14394_ACEOF
14395rm -f conftest.$ac_objext
14396if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 14397 (eval $ac_compile) 2>conftest.er1
a848cd7e 14398 ac_status=$?
ac1cb8d3
VS
14399 grep -v '^ *+' conftest.er1 >conftest.err
14400 rm -f conftest.er1
14401 cat conftest.err >&5
a848cd7e
SC
14402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14403 (exit $ac_status); } &&
d1c38808 14404 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
14405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14406 (eval $ac_try) 2>&5
14407 ac_status=$?
14408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14409 (exit $ac_status); }; } &&
14410 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
14411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14412 (eval $ac_try) 2>&5
14413 ac_status=$?
14414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14415 (exit $ac_status); }; }; then
14416 ac_cv_c_inline=$ac_kw; break
14417else
14418 echo "$as_me: failed program was:" >&5
14419sed 's/^/| /' conftest.$ac_ext >&5
14420
14421fi
ac1cb8d3 14422rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
14423done
14424
14425fi
14426echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14427echo "${ECHO_T}$ac_cv_c_inline" >&6
ac1cb8d3
VS
14428
14429
a848cd7e
SC
14430case $ac_cv_c_inline in
14431 inline | yes) ;;
ac1cb8d3
VS
14432 *)
14433 case $ac_cv_c_inline in
14434 no) ac_val=;;
14435 *) ac_val=$ac_cv_c_inline;;
14436 esac
14437 cat >>confdefs.h <<_ACEOF
14438#ifndef __cplusplus
14439#define inline $ac_val
14440#endif
de59c161 14441_ACEOF
ac1cb8d3 14442 ;;
a848cd7e
SC
14443esac
14444
14445
14446echo "$as_me:$LINENO: checking for char" >&5
14447echo $ECHO_N "checking for char... $ECHO_C" >&6
14448if test "${ac_cv_type_char+set}" = set; then
14449 echo $ECHO_N "(cached) $ECHO_C" >&6
14450else
14451 cat >conftest.$ac_ext <<_ACEOF
14452/* confdefs.h. */
14453_ACEOF
14454cat confdefs.h >>conftest.$ac_ext
14455cat >>conftest.$ac_ext <<_ACEOF
14456/* end confdefs.h. */
14457$ac_includes_default
14458int
14459main ()
14460{
14461if ((char *) 0)
14462 return 0;
14463if (sizeof (char))
14464 return 0;
14465 ;
14466 return 0;
14467}
14468_ACEOF
14469rm -f conftest.$ac_objext
14470if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 14471 (eval $ac_compile) 2>conftest.er1
a848cd7e 14472 ac_status=$?
ac1cb8d3
VS
14473 grep -v '^ *+' conftest.er1 >conftest.err
14474 rm -f conftest.er1
14475 cat conftest.err >&5
a848cd7e
SC
14476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14477 (exit $ac_status); } &&
d1c38808 14478 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
14479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14480 (eval $ac_try) 2>&5
14481 ac_status=$?
14482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14483 (exit $ac_status); }; } &&
14484 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
14485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14486 (eval $ac_try) 2>&5
14487 ac_status=$?
14488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14489 (exit $ac_status); }; }; then
14490 ac_cv_type_char=yes
14491else
14492 echo "$as_me: failed program was:" >&5
14493sed 's/^/| /' conftest.$ac_ext >&5
14494
14495ac_cv_type_char=no
14496fi
ac1cb8d3 14497rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
14498fi
14499echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14500echo "${ECHO_T}$ac_cv_type_char" >&6
14501
14502echo "$as_me:$LINENO: checking size of char" >&5
14503echo $ECHO_N "checking size of char... $ECHO_C" >&6
14504if test "${ac_cv_sizeof_char+set}" = set; then
14505 echo $ECHO_N "(cached) $ECHO_C" >&6
14506else
14507 if test "$ac_cv_type_char" = yes; then
14508 # The cast to unsigned long works around a bug in the HP C Compiler
14509 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14510 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14511 # This bug is HP SR number 8606223364.
14512 if test "$cross_compiling" = yes; then
14513 # Depending upon the size, compute the lo and hi bounds.
14514cat >conftest.$ac_ext <<_ACEOF
14515/* confdefs.h. */
14516_ACEOF
14517cat confdefs.h >>conftest.$ac_ext
14518cat >>conftest.$ac_ext <<_ACEOF
14519/* end confdefs.h. */
14520$ac_includes_default
14521int
14522main ()
14523{
14524static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14525test_array [0] = 0
14526
14527 ;
14528 return 0;
14529}
14530_ACEOF
14531rm -f conftest.$ac_objext
14532if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 14533 (eval $ac_compile) 2>conftest.er1
a848cd7e 14534 ac_status=$?
ac1cb8d3
VS
14535 grep -v '^ *+' conftest.er1 >conftest.err
14536 rm -f conftest.er1
14537 cat conftest.err >&5
a848cd7e
SC
14538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14539 (exit $ac_status); } &&
d1c38808 14540 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
14541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14542 (eval $ac_try) 2>&5
14543 ac_status=$?
14544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14545 (exit $ac_status); }; } &&
14546 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
14547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14548 (eval $ac_try) 2>&5
14549 ac_status=$?
14550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14551 (exit $ac_status); }; }; then
14552 ac_lo=0 ac_mid=0
14553 while :; do
14554 cat >conftest.$ac_ext <<_ACEOF
14555/* confdefs.h. */
14556_ACEOF
14557cat confdefs.h >>conftest.$ac_ext
14558cat >>conftest.$ac_ext <<_ACEOF
14559/* end confdefs.h. */
14560$ac_includes_default
14561int
14562main ()
14563{
14564static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14565test_array [0] = 0
14566
14567 ;
14568 return 0;
14569}
14570_ACEOF
14571rm -f conftest.$ac_objext
14572if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 14573 (eval $ac_compile) 2>conftest.er1
a848cd7e 14574 ac_status=$?
ac1cb8d3
VS
14575 grep -v '^ *+' conftest.er1 >conftest.err
14576 rm -f conftest.er1
14577 cat conftest.err >&5
a848cd7e
SC
14578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14579 (exit $ac_status); } &&
d1c38808 14580 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
14581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14582 (eval $ac_try) 2>&5
14583 ac_status=$?
14584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14585 (exit $ac_status); }; } &&
14586 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
14587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14588 (eval $ac_try) 2>&5
14589 ac_status=$?
14590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14591 (exit $ac_status); }; }; then
14592 ac_hi=$ac_mid; break
14593else
14594 echo "$as_me: failed program was:" >&5
14595sed 's/^/| /' conftest.$ac_ext >&5
14596
14597ac_lo=`expr $ac_mid + 1`
ac1cb8d3
VS
14598 if test $ac_lo -le $ac_mid; then
14599 ac_lo= ac_hi=
14600 break
14601 fi
14602 ac_mid=`expr 2 '*' $ac_mid + 1`
a848cd7e 14603fi
ac1cb8d3 14604rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
14605 done
14606else
14607 echo "$as_me: failed program was:" >&5
14608sed 's/^/| /' conftest.$ac_ext >&5
14609
14610cat >conftest.$ac_ext <<_ACEOF
14611/* confdefs.h. */
14612_ACEOF
14613cat confdefs.h >>conftest.$ac_ext
14614cat >>conftest.$ac_ext <<_ACEOF
14615/* end confdefs.h. */
14616$ac_includes_default
14617int
14618main ()
14619{
14620static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14621test_array [0] = 0
14622
14623 ;
14624 return 0;
14625}
14626_ACEOF
14627rm -f conftest.$ac_objext
14628if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 14629 (eval $ac_compile) 2>conftest.er1
a848cd7e 14630 ac_status=$?
ac1cb8d3
VS
14631 grep -v '^ *+' conftest.er1 >conftest.err
14632 rm -f conftest.er1
14633 cat conftest.err >&5
a848cd7e
SC
14634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14635 (exit $ac_status); } &&
d1c38808 14636 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
14637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14638 (eval $ac_try) 2>&5
14639 ac_status=$?
14640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14641 (exit $ac_status); }; } &&
14642 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
14643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14644 (eval $ac_try) 2>&5
14645 ac_status=$?
14646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14647 (exit $ac_status); }; }; then
14648 ac_hi=-1 ac_mid=-1
14649 while :; do
14650 cat >conftest.$ac_ext <<_ACEOF
14651/* confdefs.h. */
14652_ACEOF
14653cat confdefs.h >>conftest.$ac_ext
14654cat >>conftest.$ac_ext <<_ACEOF
14655/* end confdefs.h. */
14656$ac_includes_default
14657int
14658main ()
14659{
14660static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14661test_array [0] = 0
14662
14663 ;
14664 return 0;
14665}
14666_ACEOF
14667rm -f conftest.$ac_objext
14668if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 14669 (eval $ac_compile) 2>conftest.er1
a848cd7e 14670 ac_status=$?
ac1cb8d3
VS
14671 grep -v '^ *+' conftest.er1 >conftest.err
14672 rm -f conftest.er1
14673 cat conftest.err >&5
a848cd7e
SC
14674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14675 (exit $ac_status); } &&
d1c38808 14676 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
14677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14678 (eval $ac_try) 2>&5
14679 ac_status=$?
14680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14681 (exit $ac_status); }; } &&
14682 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
14683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14684 (eval $ac_try) 2>&5
14685 ac_status=$?
14686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14687 (exit $ac_status); }; }; then
14688 ac_lo=$ac_mid; break
14689else
14690 echo "$as_me: failed program was:" >&5
14691sed 's/^/| /' conftest.$ac_ext >&5
14692
14693ac_hi=`expr '(' $ac_mid ')' - 1`
ac1cb8d3
VS
14694 if test $ac_mid -le $ac_hi; then
14695 ac_lo= ac_hi=
14696 break
14697 fi
14698 ac_mid=`expr 2 '*' $ac_mid`
a848cd7e 14699fi
ac1cb8d3 14700rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
14701 done
14702else
14703 echo "$as_me: failed program was:" >&5
14704sed 's/^/| /' conftest.$ac_ext >&5
14705
14706ac_lo= ac_hi=
14707fi
ac1cb8d3 14708rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e 14709fi
ac1cb8d3 14710rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
14711# Binary search between lo and hi bounds.
14712while test "x$ac_lo" != "x$ac_hi"; do
14713 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14714 cat >conftest.$ac_ext <<_ACEOF
14715/* confdefs.h. */
14716_ACEOF
14717cat confdefs.h >>conftest.$ac_ext
14718cat >>conftest.$ac_ext <<_ACEOF
14719/* end confdefs.h. */
14720$ac_includes_default
14721int
14722main ()
14723{
14724static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14725test_array [0] = 0
14726
14727 ;
14728 return 0;
14729}
14730_ACEOF
14731rm -f conftest.$ac_objext
14732if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 14733 (eval $ac_compile) 2>conftest.er1
a848cd7e 14734 ac_status=$?
ac1cb8d3
VS
14735 grep -v '^ *+' conftest.er1 >conftest.err
14736 rm -f conftest.er1
14737 cat conftest.err >&5
a848cd7e
SC
14738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14739 (exit $ac_status); } &&
d1c38808 14740 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
14741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14742 (eval $ac_try) 2>&5
14743 ac_status=$?
14744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14745 (exit $ac_status); }; } &&
14746 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
14747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14748 (eval $ac_try) 2>&5
14749 ac_status=$?
14750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14751 (exit $ac_status); }; }; then
14752 ac_hi=$ac_mid
14753else
14754 echo "$as_me: failed program was:" >&5
14755sed 's/^/| /' conftest.$ac_ext >&5
14756
14757ac_lo=`expr '(' $ac_mid ')' + 1`
14758fi
ac1cb8d3 14759rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
14760done
14761case $ac_lo in
14762?*) ac_cv_sizeof_char=$ac_lo;;
14763'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14764See \`config.log' for more details." >&5
14765echo "$as_me: error: cannot compute sizeof (char), 77
14766See \`config.log' for more details." >&2;}
14767 { (exit 1); exit 1; }; } ;;
14768esac
14769else
14770 if test "$cross_compiling" = yes; then
d1c38808
VZ
14771 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
14772echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
a848cd7e
SC
14773 { (exit 1); exit 1; }; }
14774else
14775 cat >conftest.$ac_ext <<_ACEOF
14776/* confdefs.h. */
14777_ACEOF
14778cat confdefs.h >>conftest.$ac_ext
14779cat >>conftest.$ac_ext <<_ACEOF
14780/* end confdefs.h. */
14781$ac_includes_default
14782long longval () { return (long) (sizeof (char)); }
14783unsigned long ulongval () { return (long) (sizeof (char)); }
14784#include <stdio.h>
14785#include <stdlib.h>
14786int
14787main ()
14788{
14789
14790 FILE *f = fopen ("conftest.val", "w");
14791 if (! f)
14792 exit (1);
14793 if (((long) (sizeof (char))) < 0)
14794 {
14795 long i = longval ();
14796 if (i != ((long) (sizeof (char))))
14797 exit (1);
14798 fprintf (f, "%ld\n", i);
14799 }
14800 else
14801 {
14802 unsigned long i = ulongval ();
14803 if (i != ((long) (sizeof (char))))
14804 exit (1);
14805 fprintf (f, "%lu\n", i);
14806 }
14807 exit (ferror (f) || fclose (f) != 0);
14808
14809 ;
14810 return 0;
14811}
14812_ACEOF
14813rm -f conftest$ac_exeext
14814if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14815 (eval $ac_link) 2>&5
14816 ac_status=$?
14817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14818 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14820 (eval $ac_try) 2>&5
14821 ac_status=$?
14822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14823 (exit $ac_status); }; }; then
14824 ac_cv_sizeof_char=`cat conftest.val`
14825else
14826 echo "$as_me: program exited with status $ac_status" >&5
14827echo "$as_me: failed program was:" >&5
14828sed 's/^/| /' conftest.$ac_ext >&5
14829
14830( exit $ac_status )
14831{ { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14832See \`config.log' for more details." >&5
14833echo "$as_me: error: cannot compute sizeof (char), 77
14834See \`config.log' for more details." >&2;}
14835 { (exit 1); exit 1; }; }
14836fi
ac1cb8d3 14837rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
14838fi
14839fi
14840rm -f conftest.val
14841else
14842 ac_cv_sizeof_char=0
14843fi
14844fi
14845echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14846echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14847cat >>confdefs.h <<_ACEOF
14848#define SIZEOF_CHAR $ac_cv_sizeof_char
14849_ACEOF
14850
14851
14852echo "$as_me:$LINENO: checking for short" >&5
14853echo $ECHO_N "checking for short... $ECHO_C" >&6
14854if test "${ac_cv_type_short+set}" = set; then
14855 echo $ECHO_N "(cached) $ECHO_C" >&6
14856else
14857 cat >conftest.$ac_ext <<_ACEOF
14858/* confdefs.h. */
14859_ACEOF
14860cat confdefs.h >>conftest.$ac_ext
14861cat >>conftest.$ac_ext <<_ACEOF
14862/* end confdefs.h. */
14863$ac_includes_default
14864int
14865main ()
14866{
14867if ((short *) 0)
14868 return 0;
14869if (sizeof (short))
14870 return 0;
14871 ;
14872 return 0;
14873}
14874_ACEOF
14875rm -f conftest.$ac_objext
14876if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 14877 (eval $ac_compile) 2>conftest.er1
a848cd7e 14878 ac_status=$?
ac1cb8d3
VS
14879 grep -v '^ *+' conftest.er1 >conftest.err
14880 rm -f conftest.er1
14881 cat conftest.err >&5
a848cd7e
SC
14882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14883 (exit $ac_status); } &&
d1c38808 14884 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
14885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14886 (eval $ac_try) 2>&5
14887 ac_status=$?
14888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14889 (exit $ac_status); }; } &&
14890 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
14891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14892 (eval $ac_try) 2>&5
14893 ac_status=$?
14894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14895 (exit $ac_status); }; }; then
14896 ac_cv_type_short=yes
14897else
14898 echo "$as_me: failed program was:" >&5
14899sed 's/^/| /' conftest.$ac_ext >&5
14900
14901ac_cv_type_short=no
14902fi
ac1cb8d3 14903rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
14904fi
14905echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14906echo "${ECHO_T}$ac_cv_type_short" >&6
14907
14908echo "$as_me:$LINENO: checking size of short" >&5
14909echo $ECHO_N "checking size of short... $ECHO_C" >&6
14910if test "${ac_cv_sizeof_short+set}" = set; then
14911 echo $ECHO_N "(cached) $ECHO_C" >&6
14912else
14913 if test "$ac_cv_type_short" = yes; then
14914 # The cast to unsigned long works around a bug in the HP C Compiler
14915 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14916 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14917 # This bug is HP SR number 8606223364.
14918 if test "$cross_compiling" = yes; then
14919 # Depending upon the size, compute the lo and hi bounds.
14920cat >conftest.$ac_ext <<_ACEOF
14921/* confdefs.h. */
14922_ACEOF
14923cat confdefs.h >>conftest.$ac_ext
14924cat >>conftest.$ac_ext <<_ACEOF
14925/* end confdefs.h. */
14926$ac_includes_default
14927int
14928main ()
14929{
14930static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14931test_array [0] = 0
14932
14933 ;
14934 return 0;
14935}
14936_ACEOF
14937rm -f conftest.$ac_objext
14938if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 14939 (eval $ac_compile) 2>conftest.er1
a848cd7e 14940 ac_status=$?
ac1cb8d3
VS
14941 grep -v '^ *+' conftest.er1 >conftest.err
14942 rm -f conftest.er1
14943 cat conftest.err >&5
a848cd7e
SC
14944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14945 (exit $ac_status); } &&
d1c38808 14946 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
14947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14948 (eval $ac_try) 2>&5
14949 ac_status=$?
14950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14951 (exit $ac_status); }; } &&
14952 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
14953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14954 (eval $ac_try) 2>&5
14955 ac_status=$?
14956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14957 (exit $ac_status); }; }; then
14958 ac_lo=0 ac_mid=0
14959 while :; do
14960 cat >conftest.$ac_ext <<_ACEOF
14961/* confdefs.h. */
14962_ACEOF
14963cat confdefs.h >>conftest.$ac_ext
14964cat >>conftest.$ac_ext <<_ACEOF
14965/* end confdefs.h. */
14966$ac_includes_default
14967int
14968main ()
14969{
14970static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14971test_array [0] = 0
14972
14973 ;
14974 return 0;
14975}
14976_ACEOF
14977rm -f conftest.$ac_objext
14978if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 14979 (eval $ac_compile) 2>conftest.er1
a848cd7e 14980 ac_status=$?
ac1cb8d3
VS
14981 grep -v '^ *+' conftest.er1 >conftest.err
14982 rm -f conftest.er1
14983 cat conftest.err >&5
a848cd7e
SC
14984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14985 (exit $ac_status); } &&
d1c38808 14986 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
14987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14988 (eval $ac_try) 2>&5
14989 ac_status=$?
14990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14991 (exit $ac_status); }; } &&
14992 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
14993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14994 (eval $ac_try) 2>&5
14995 ac_status=$?
14996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14997 (exit $ac_status); }; }; then
14998 ac_hi=$ac_mid; break
14999else
15000 echo "$as_me: failed program was:" >&5
15001sed 's/^/| /' conftest.$ac_ext >&5
15002
15003ac_lo=`expr $ac_mid + 1`
ac1cb8d3
VS
15004 if test $ac_lo -le $ac_mid; then
15005 ac_lo= ac_hi=
15006 break
15007 fi
15008 ac_mid=`expr 2 '*' $ac_mid + 1`
a848cd7e 15009fi
ac1cb8d3 15010rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
15011 done
15012else
15013 echo "$as_me: failed program was:" >&5
15014sed 's/^/| /' conftest.$ac_ext >&5
15015
15016cat >conftest.$ac_ext <<_ACEOF
15017/* confdefs.h. */
15018_ACEOF
15019cat confdefs.h >>conftest.$ac_ext
15020cat >>conftest.$ac_ext <<_ACEOF
15021/* end confdefs.h. */
15022$ac_includes_default
15023int
15024main ()
15025{
15026static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
15027test_array [0] = 0
15028
15029 ;
15030 return 0;
15031}
15032_ACEOF
15033rm -f conftest.$ac_objext
15034if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 15035 (eval $ac_compile) 2>conftest.er1
a848cd7e 15036 ac_status=$?
ac1cb8d3
VS
15037 grep -v '^ *+' conftest.er1 >conftest.err
15038 rm -f conftest.er1
15039 cat conftest.err >&5
a848cd7e
SC
15040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15041 (exit $ac_status); } &&
d1c38808 15042 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
15043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15044 (eval $ac_try) 2>&5
15045 ac_status=$?
15046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15047 (exit $ac_status); }; } &&
15048 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
15049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15050 (eval $ac_try) 2>&5
15051 ac_status=$?
15052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15053 (exit $ac_status); }; }; then
15054 ac_hi=-1 ac_mid=-1
15055 while :; do
15056 cat >conftest.$ac_ext <<_ACEOF
15057/* confdefs.h. */
15058_ACEOF
15059cat confdefs.h >>conftest.$ac_ext
15060cat >>conftest.$ac_ext <<_ACEOF
15061/* end confdefs.h. */
15062$ac_includes_default
15063int
15064main ()
15065{
15066static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
15067test_array [0] = 0
15068
15069 ;
15070 return 0;
15071}
15072_ACEOF
15073rm -f conftest.$ac_objext
15074if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 15075 (eval $ac_compile) 2>conftest.er1
a848cd7e 15076 ac_status=$?
ac1cb8d3
VS
15077 grep -v '^ *+' conftest.er1 >conftest.err
15078 rm -f conftest.er1
15079 cat conftest.err >&5
a848cd7e
SC
15080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15081 (exit $ac_status); } &&
d1c38808 15082 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
15083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15084 (eval $ac_try) 2>&5
15085 ac_status=$?
15086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15087 (exit $ac_status); }; } &&
15088 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
15089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15090 (eval $ac_try) 2>&5
15091 ac_status=$?
15092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15093 (exit $ac_status); }; }; then
15094 ac_lo=$ac_mid; break
15095else
15096 echo "$as_me: failed program was:" >&5
15097sed 's/^/| /' conftest.$ac_ext >&5
15098
15099ac_hi=`expr '(' $ac_mid ')' - 1`
ac1cb8d3
VS
15100 if test $ac_mid -le $ac_hi; then
15101 ac_lo= ac_hi=
15102 break
15103 fi
15104 ac_mid=`expr 2 '*' $ac_mid`
a848cd7e 15105fi
ac1cb8d3 15106rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
15107 done
15108else
15109 echo "$as_me: failed program was:" >&5
15110sed 's/^/| /' conftest.$ac_ext >&5
15111
15112ac_lo= ac_hi=
15113fi
ac1cb8d3 15114rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e 15115fi
ac1cb8d3 15116rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
15117# Binary search between lo and hi bounds.
15118while test "x$ac_lo" != "x$ac_hi"; do
15119 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15120 cat >conftest.$ac_ext <<_ACEOF
15121/* confdefs.h. */
15122_ACEOF
15123cat confdefs.h >>conftest.$ac_ext
15124cat >>conftest.$ac_ext <<_ACEOF
15125/* end confdefs.h. */
15126$ac_includes_default
15127int
15128main ()
15129{
15130static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15131test_array [0] = 0
15132
15133 ;
15134 return 0;
15135}
15136_ACEOF
15137rm -f conftest.$ac_objext
15138if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 15139 (eval $ac_compile) 2>conftest.er1
a848cd7e 15140 ac_status=$?
ac1cb8d3
VS
15141 grep -v '^ *+' conftest.er1 >conftest.err
15142 rm -f conftest.er1
15143 cat conftest.err >&5
a848cd7e
SC
15144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15145 (exit $ac_status); } &&
d1c38808 15146 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
15147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15148 (eval $ac_try) 2>&5
15149 ac_status=$?
15150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15151 (exit $ac_status); }; } &&
15152 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
15153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15154 (eval $ac_try) 2>&5
15155 ac_status=$?
15156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15157 (exit $ac_status); }; }; then
15158 ac_hi=$ac_mid
15159else
15160 echo "$as_me: failed program was:" >&5
15161sed 's/^/| /' conftest.$ac_ext >&5
15162
15163ac_lo=`expr '(' $ac_mid ')' + 1`
15164fi
ac1cb8d3 15165rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
15166done
15167case $ac_lo in
15168?*) ac_cv_sizeof_short=$ac_lo;;
15169'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15170See \`config.log' for more details." >&5
15171echo "$as_me: error: cannot compute sizeof (short), 77
15172See \`config.log' for more details." >&2;}
15173 { (exit 1); exit 1; }; } ;;
15174esac
15175else
15176 if test "$cross_compiling" = yes; then
d1c38808
VZ
15177 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15178echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
a848cd7e
SC
15179 { (exit 1); exit 1; }; }
15180else
15181 cat >conftest.$ac_ext <<_ACEOF
15182/* confdefs.h. */
15183_ACEOF
15184cat confdefs.h >>conftest.$ac_ext
15185cat >>conftest.$ac_ext <<_ACEOF
15186/* end confdefs.h. */
15187$ac_includes_default
15188long longval () { return (long) (sizeof (short)); }
15189unsigned long ulongval () { return (long) (sizeof (short)); }
15190#include <stdio.h>
15191#include <stdlib.h>
15192int
15193main ()
15194{
15195
15196 FILE *f = fopen ("conftest.val", "w");
15197 if (! f)
15198 exit (1);
15199 if (((long) (sizeof (short))) < 0)
15200 {
15201 long i = longval ();
15202 if (i != ((long) (sizeof (short))))
15203 exit (1);
15204 fprintf (f, "%ld\n", i);
15205 }
15206 else
15207 {
15208 unsigned long i = ulongval ();
15209 if (i != ((long) (sizeof (short))))
15210 exit (1);
15211 fprintf (f, "%lu\n", i);
15212 }
15213 exit (ferror (f) || fclose (f) != 0);
15214
15215 ;
15216 return 0;
15217}
15218_ACEOF
15219rm -f conftest$ac_exeext
15220if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15221 (eval $ac_link) 2>&5
15222 ac_status=$?
15223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15224 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15226 (eval $ac_try) 2>&5
15227 ac_status=$?
15228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15229 (exit $ac_status); }; }; then
15230 ac_cv_sizeof_short=`cat conftest.val`
15231else
15232 echo "$as_me: program exited with status $ac_status" >&5
15233echo "$as_me: failed program was:" >&5
15234sed 's/^/| /' conftest.$ac_ext >&5
15235
15236( exit $ac_status )
15237{ { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15238See \`config.log' for more details." >&5
15239echo "$as_me: error: cannot compute sizeof (short), 77
15240See \`config.log' for more details." >&2;}
15241 { (exit 1); exit 1; }; }
15242fi
ac1cb8d3 15243rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
15244fi
15245fi
15246rm -f conftest.val
15247else
15248 ac_cv_sizeof_short=0
15249fi
15250fi
15251echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15252echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15253cat >>confdefs.h <<_ACEOF
15254#define SIZEOF_SHORT $ac_cv_sizeof_short
15255_ACEOF
15256
15257
15258echo "$as_me:$LINENO: checking for void *" >&5
15259echo $ECHO_N "checking for void *... $ECHO_C" >&6
15260if test "${ac_cv_type_void_p+set}" = set; then
15261 echo $ECHO_N "(cached) $ECHO_C" >&6
15262else
15263 cat >conftest.$ac_ext <<_ACEOF
15264/* confdefs.h. */
15265_ACEOF
15266cat confdefs.h >>conftest.$ac_ext
15267cat >>conftest.$ac_ext <<_ACEOF
15268/* end confdefs.h. */
15269$ac_includes_default
15270int
15271main ()
15272{
15273if ((void * *) 0)
15274 return 0;
15275if (sizeof (void *))
15276 return 0;
15277 ;
15278 return 0;
15279}
15280_ACEOF
15281rm -f conftest.$ac_objext
15282if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 15283 (eval $ac_compile) 2>conftest.er1
a848cd7e 15284 ac_status=$?
ac1cb8d3
VS
15285 grep -v '^ *+' conftest.er1 >conftest.err
15286 rm -f conftest.er1
15287 cat conftest.err >&5
a848cd7e
SC
15288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15289 (exit $ac_status); } &&
d1c38808 15290 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
15291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15292 (eval $ac_try) 2>&5
15293 ac_status=$?
15294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15295 (exit $ac_status); }; } &&
15296 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
15297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15298 (eval $ac_try) 2>&5
15299 ac_status=$?
15300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15301 (exit $ac_status); }; }; then
15302 ac_cv_type_void_p=yes
15303else
15304 echo "$as_me: failed program was:" >&5
15305sed 's/^/| /' conftest.$ac_ext >&5
15306
15307ac_cv_type_void_p=no
15308fi
ac1cb8d3 15309rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
15310fi
15311echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15312echo "${ECHO_T}$ac_cv_type_void_p" >&6
15313
15314echo "$as_me:$LINENO: checking size of void *" >&5
15315echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15316if test "${ac_cv_sizeof_void_p+set}" = set; then
15317 echo $ECHO_N "(cached) $ECHO_C" >&6
15318else
15319 if test "$ac_cv_type_void_p" = yes; then
15320 # The cast to unsigned long works around a bug in the HP C Compiler
15321 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15322 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15323 # This bug is HP SR number 8606223364.
15324 if test "$cross_compiling" = yes; then
15325 # Depending upon the size, compute the lo and hi bounds.
15326cat >conftest.$ac_ext <<_ACEOF
15327/* confdefs.h. */
15328_ACEOF
15329cat confdefs.h >>conftest.$ac_ext
15330cat >>conftest.$ac_ext <<_ACEOF
15331/* end confdefs.h. */
15332$ac_includes_default
15333int
15334main ()
15335{
15336static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15337test_array [0] = 0
15338
15339 ;
15340 return 0;
15341}
15342_ACEOF
15343rm -f conftest.$ac_objext
15344if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 15345 (eval $ac_compile) 2>conftest.er1
a848cd7e 15346 ac_status=$?
ac1cb8d3
VS
15347 grep -v '^ *+' conftest.er1 >conftest.err
15348 rm -f conftest.er1
15349 cat conftest.err >&5
a848cd7e
SC
15350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15351 (exit $ac_status); } &&
d1c38808 15352 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
15353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15354 (eval $ac_try) 2>&5
15355 ac_status=$?
15356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15357 (exit $ac_status); }; } &&
15358 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
15359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15360 (eval $ac_try) 2>&5
15361 ac_status=$?
15362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15363 (exit $ac_status); }; }; then
15364 ac_lo=0 ac_mid=0
15365 while :; do
15366 cat >conftest.$ac_ext <<_ACEOF
15367/* confdefs.h. */
15368_ACEOF
15369cat confdefs.h >>conftest.$ac_ext
15370cat >>conftest.$ac_ext <<_ACEOF
15371/* end confdefs.h. */
15372$ac_includes_default
15373int
15374main ()
15375{
15376static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15377test_array [0] = 0
15378
15379 ;
15380 return 0;
15381}
15382_ACEOF
15383rm -f conftest.$ac_objext
15384if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 15385 (eval $ac_compile) 2>conftest.er1
a848cd7e 15386 ac_status=$?
ac1cb8d3
VS
15387 grep -v '^ *+' conftest.er1 >conftest.err
15388 rm -f conftest.er1
15389 cat conftest.err >&5
a848cd7e
SC
15390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15391 (exit $ac_status); } &&
d1c38808 15392 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
15393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15394 (eval $ac_try) 2>&5
15395 ac_status=$?
15396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15397 (exit $ac_status); }; } &&
15398 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
15399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15400 (eval $ac_try) 2>&5
15401 ac_status=$?
15402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15403 (exit $ac_status); }; }; then
15404 ac_hi=$ac_mid; break
15405else
15406 echo "$as_me: failed program was:" >&5
15407sed 's/^/| /' conftest.$ac_ext >&5
15408
15409ac_lo=`expr $ac_mid + 1`
ac1cb8d3
VS
15410 if test $ac_lo -le $ac_mid; then
15411 ac_lo= ac_hi=
15412 break
15413 fi
15414 ac_mid=`expr 2 '*' $ac_mid + 1`
a848cd7e 15415fi
ac1cb8d3 15416rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
15417 done
15418else
15419 echo "$as_me: failed program was:" >&5
15420sed 's/^/| /' conftest.$ac_ext >&5
15421
15422cat >conftest.$ac_ext <<_ACEOF
15423/* confdefs.h. */
15424_ACEOF
15425cat confdefs.h >>conftest.$ac_ext
15426cat >>conftest.$ac_ext <<_ACEOF
15427/* end confdefs.h. */
15428$ac_includes_default
15429int
15430main ()
15431{
15432static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15433test_array [0] = 0
15434
15435 ;
15436 return 0;
15437}
15438_ACEOF
15439rm -f conftest.$ac_objext
15440if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 15441 (eval $ac_compile) 2>conftest.er1
a848cd7e 15442 ac_status=$?
ac1cb8d3
VS
15443 grep -v '^ *+' conftest.er1 >conftest.err
15444 rm -f conftest.er1
15445 cat conftest.err >&5
a848cd7e
SC
15446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15447 (exit $ac_status); } &&
d1c38808 15448 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
15449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15450 (eval $ac_try) 2>&5
15451 ac_status=$?
15452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15453 (exit $ac_status); }; } &&
15454 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
15455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15456 (eval $ac_try) 2>&5
15457 ac_status=$?
15458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15459 (exit $ac_status); }; }; then
15460 ac_hi=-1 ac_mid=-1
15461 while :; do
15462 cat >conftest.$ac_ext <<_ACEOF
15463/* confdefs.h. */
15464_ACEOF
15465cat confdefs.h >>conftest.$ac_ext
15466cat >>conftest.$ac_ext <<_ACEOF
15467/* end confdefs.h. */
15468$ac_includes_default
15469int
15470main ()
15471{
15472static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15473test_array [0] = 0
15474
15475 ;
15476 return 0;
15477}
15478_ACEOF
15479rm -f conftest.$ac_objext
15480if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 15481 (eval $ac_compile) 2>conftest.er1
a848cd7e 15482 ac_status=$?
ac1cb8d3
VS
15483 grep -v '^ *+' conftest.er1 >conftest.err
15484 rm -f conftest.er1
15485 cat conftest.err >&5
a848cd7e
SC
15486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15487 (exit $ac_status); } &&
d1c38808 15488 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
15489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15490 (eval $ac_try) 2>&5
15491 ac_status=$?
15492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15493 (exit $ac_status); }; } &&
15494 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
15495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15496 (eval $ac_try) 2>&5
15497 ac_status=$?
15498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15499 (exit $ac_status); }; }; then
15500 ac_lo=$ac_mid; break
15501else
15502 echo "$as_me: failed program was:" >&5
15503sed 's/^/| /' conftest.$ac_ext >&5
15504
15505ac_hi=`expr '(' $ac_mid ')' - 1`
ac1cb8d3
VS
15506 if test $ac_mid -le $ac_hi; then
15507 ac_lo= ac_hi=
15508 break
15509 fi
15510 ac_mid=`expr 2 '*' $ac_mid`
a848cd7e 15511fi
ac1cb8d3 15512rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
15513 done
15514else
15515 echo "$as_me: failed program was:" >&5
15516sed 's/^/| /' conftest.$ac_ext >&5
15517
15518ac_lo= ac_hi=
15519fi
ac1cb8d3 15520rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e 15521fi
ac1cb8d3 15522rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
15523# Binary search between lo and hi bounds.
15524while test "x$ac_lo" != "x$ac_hi"; do
15525 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15526 cat >conftest.$ac_ext <<_ACEOF
15527/* confdefs.h. */
15528_ACEOF
15529cat confdefs.h >>conftest.$ac_ext
15530cat >>conftest.$ac_ext <<_ACEOF
15531/* end confdefs.h. */
15532$ac_includes_default
15533int
15534main ()
15535{
15536static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15537test_array [0] = 0
15538
15539 ;
15540 return 0;
15541}
15542_ACEOF
15543rm -f conftest.$ac_objext
15544if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 15545 (eval $ac_compile) 2>conftest.er1
a848cd7e 15546 ac_status=$?
ac1cb8d3
VS
15547 grep -v '^ *+' conftest.er1 >conftest.err
15548 rm -f conftest.er1
15549 cat conftest.err >&5
a848cd7e
SC
15550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15551 (exit $ac_status); } &&
d1c38808 15552 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
15553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15554 (eval $ac_try) 2>&5
15555 ac_status=$?
15556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15557 (exit $ac_status); }; } &&
15558 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
15559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15560 (eval $ac_try) 2>&5
15561 ac_status=$?
15562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15563 (exit $ac_status); }; }; then
15564 ac_hi=$ac_mid
15565else
15566 echo "$as_me: failed program was:" >&5
15567sed 's/^/| /' conftest.$ac_ext >&5
15568
15569ac_lo=`expr '(' $ac_mid ')' + 1`
15570fi
ac1cb8d3 15571rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
15572done
15573case $ac_lo in
15574?*) ac_cv_sizeof_void_p=$ac_lo;;
15575'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15576See \`config.log' for more details." >&5
15577echo "$as_me: error: cannot compute sizeof (void *), 77
15578See \`config.log' for more details." >&2;}
15579 { (exit 1); exit 1; }; } ;;
15580esac
15581else
15582 if test "$cross_compiling" = yes; then
d1c38808
VZ
15583 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15584echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
a848cd7e
SC
15585 { (exit 1); exit 1; }; }
15586else
15587 cat >conftest.$ac_ext <<_ACEOF
15588/* confdefs.h. */
15589_ACEOF
15590cat confdefs.h >>conftest.$ac_ext
15591cat >>conftest.$ac_ext <<_ACEOF
15592/* end confdefs.h. */
15593$ac_includes_default
15594long longval () { return (long) (sizeof (void *)); }
15595unsigned long ulongval () { return (long) (sizeof (void *)); }
15596#include <stdio.h>
15597#include <stdlib.h>
15598int
15599main ()
15600{
15601
15602 FILE *f = fopen ("conftest.val", "w");
15603 if (! f)
15604 exit (1);
15605 if (((long) (sizeof (void *))) < 0)
15606 {
15607 long i = longval ();
15608 if (i != ((long) (sizeof (void *))))
15609 exit (1);
15610 fprintf (f, "%ld\n", i);
15611 }
15612 else
15613 {
15614 unsigned long i = ulongval ();
15615 if (i != ((long) (sizeof (void *))))
15616 exit (1);
15617 fprintf (f, "%lu\n", i);
15618 }
15619 exit (ferror (f) || fclose (f) != 0);
15620
15621 ;
15622 return 0;
15623}
15624_ACEOF
15625rm -f conftest$ac_exeext
15626if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15627 (eval $ac_link) 2>&5
15628 ac_status=$?
15629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15630 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15632 (eval $ac_try) 2>&5
15633 ac_status=$?
15634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15635 (exit $ac_status); }; }; then
15636 ac_cv_sizeof_void_p=`cat conftest.val`
15637else
15638 echo "$as_me: program exited with status $ac_status" >&5
15639echo "$as_me: failed program was:" >&5
15640sed 's/^/| /' conftest.$ac_ext >&5
15641
15642( exit $ac_status )
15643{ { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15644See \`config.log' for more details." >&5
15645echo "$as_me: error: cannot compute sizeof (void *), 77
15646See \`config.log' for more details." >&2;}
15647 { (exit 1); exit 1; }; }
15648fi
ac1cb8d3 15649rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
15650fi
15651fi
15652rm -f conftest.val
15653else
15654 ac_cv_sizeof_void_p=0
15655fi
15656fi
15657echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15658echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15659cat >>confdefs.h <<_ACEOF
15660#define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15661_ACEOF
15662
15663
15664echo "$as_me:$LINENO: checking for int" >&5
15665echo $ECHO_N "checking for int... $ECHO_C" >&6
15666if test "${ac_cv_type_int+set}" = set; then
15667 echo $ECHO_N "(cached) $ECHO_C" >&6
15668else
15669 cat >conftest.$ac_ext <<_ACEOF
15670/* confdefs.h. */
15671_ACEOF
15672cat confdefs.h >>conftest.$ac_ext
15673cat >>conftest.$ac_ext <<_ACEOF
15674/* end confdefs.h. */
15675$ac_includes_default
15676int
15677main ()
15678{
15679if ((int *) 0)
15680 return 0;
15681if (sizeof (int))
15682 return 0;
15683 ;
15684 return 0;
15685}
15686_ACEOF
15687rm -f conftest.$ac_objext
15688if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 15689 (eval $ac_compile) 2>conftest.er1
a848cd7e 15690 ac_status=$?
ac1cb8d3
VS
15691 grep -v '^ *+' conftest.er1 >conftest.err
15692 rm -f conftest.er1
15693 cat conftest.err >&5
a848cd7e
SC
15694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15695 (exit $ac_status); } &&
d1c38808 15696 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
15697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15698 (eval $ac_try) 2>&5
15699 ac_status=$?
15700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15701 (exit $ac_status); }; } &&
15702 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
15703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15704 (eval $ac_try) 2>&5
15705 ac_status=$?
15706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15707 (exit $ac_status); }; }; then
15708 ac_cv_type_int=yes
15709else
15710 echo "$as_me: failed program was:" >&5
15711sed 's/^/| /' conftest.$ac_ext >&5
15712
15713ac_cv_type_int=no
15714fi
ac1cb8d3 15715rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
15716fi
15717echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15718echo "${ECHO_T}$ac_cv_type_int" >&6
15719
15720echo "$as_me:$LINENO: checking size of int" >&5
15721echo $ECHO_N "checking size of int... $ECHO_C" >&6
15722if test "${ac_cv_sizeof_int+set}" = set; then
15723 echo $ECHO_N "(cached) $ECHO_C" >&6
15724else
15725 if test "$ac_cv_type_int" = yes; then
15726 # The cast to unsigned long works around a bug in the HP C Compiler
15727 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15728 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15729 # This bug is HP SR number 8606223364.
15730 if test "$cross_compiling" = yes; then
15731 # Depending upon the size, compute the lo and hi bounds.
15732cat >conftest.$ac_ext <<_ACEOF
15733/* confdefs.h. */
15734_ACEOF
15735cat confdefs.h >>conftest.$ac_ext
15736cat >>conftest.$ac_ext <<_ACEOF
15737/* end confdefs.h. */
15738$ac_includes_default
15739int
15740main ()
15741{
15742static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15743test_array [0] = 0
15744
15745 ;
15746 return 0;
15747}
15748_ACEOF
15749rm -f conftest.$ac_objext
15750if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 15751 (eval $ac_compile) 2>conftest.er1
a848cd7e 15752 ac_status=$?
ac1cb8d3
VS
15753 grep -v '^ *+' conftest.er1 >conftest.err
15754 rm -f conftest.er1
15755 cat conftest.err >&5
a848cd7e
SC
15756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15757 (exit $ac_status); } &&
d1c38808 15758 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
15759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15760 (eval $ac_try) 2>&5
15761 ac_status=$?
15762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15763 (exit $ac_status); }; } &&
15764 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
15765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15766 (eval $ac_try) 2>&5
15767 ac_status=$?
15768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15769 (exit $ac_status); }; }; then
15770 ac_lo=0 ac_mid=0
15771 while :; do
15772 cat >conftest.$ac_ext <<_ACEOF
15773/* confdefs.h. */
15774_ACEOF
15775cat confdefs.h >>conftest.$ac_ext
15776cat >>conftest.$ac_ext <<_ACEOF
15777/* end confdefs.h. */
15778$ac_includes_default
15779int
15780main ()
15781{
15782static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15783test_array [0] = 0
15784
15785 ;
15786 return 0;
15787}
15788_ACEOF
15789rm -f conftest.$ac_objext
15790if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 15791 (eval $ac_compile) 2>conftest.er1
a848cd7e 15792 ac_status=$?
ac1cb8d3
VS
15793 grep -v '^ *+' conftest.er1 >conftest.err
15794 rm -f conftest.er1
15795 cat conftest.err >&5
a848cd7e
SC
15796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15797 (exit $ac_status); } &&
d1c38808 15798 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
15799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15800 (eval $ac_try) 2>&5
15801 ac_status=$?
15802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15803 (exit $ac_status); }; } &&
15804 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
15805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15806 (eval $ac_try) 2>&5
15807 ac_status=$?
15808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15809 (exit $ac_status); }; }; then
15810 ac_hi=$ac_mid; break
15811else
15812 echo "$as_me: failed program was:" >&5
15813sed 's/^/| /' conftest.$ac_ext >&5
15814
15815ac_lo=`expr $ac_mid + 1`
ac1cb8d3
VS
15816 if test $ac_lo -le $ac_mid; then
15817 ac_lo= ac_hi=
15818 break
15819 fi
15820 ac_mid=`expr 2 '*' $ac_mid + 1`
a848cd7e 15821fi
ac1cb8d3 15822rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
15823 done
15824else
15825 echo "$as_me: failed program was:" >&5
15826sed 's/^/| /' conftest.$ac_ext >&5
15827
15828cat >conftest.$ac_ext <<_ACEOF
15829/* confdefs.h. */
15830_ACEOF
15831cat confdefs.h >>conftest.$ac_ext
15832cat >>conftest.$ac_ext <<_ACEOF
15833/* end confdefs.h. */
15834$ac_includes_default
15835int
15836main ()
15837{
15838static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15839test_array [0] = 0
15840
15841 ;
15842 return 0;
15843}
15844_ACEOF
15845rm -f conftest.$ac_objext
15846if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 15847 (eval $ac_compile) 2>conftest.er1
a848cd7e 15848 ac_status=$?
ac1cb8d3
VS
15849 grep -v '^ *+' conftest.er1 >conftest.err
15850 rm -f conftest.er1
15851 cat conftest.err >&5
a848cd7e
SC
15852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15853 (exit $ac_status); } &&
d1c38808 15854 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
15855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15856 (eval $ac_try) 2>&5
15857 ac_status=$?
15858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15859 (exit $ac_status); }; } &&
15860 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
15861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15862 (eval $ac_try) 2>&5
15863 ac_status=$?
15864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15865 (exit $ac_status); }; }; then
15866 ac_hi=-1 ac_mid=-1
15867 while :; do
15868 cat >conftest.$ac_ext <<_ACEOF
15869/* confdefs.h. */
15870_ACEOF
15871cat confdefs.h >>conftest.$ac_ext
15872cat >>conftest.$ac_ext <<_ACEOF
15873/* end confdefs.h. */
15874$ac_includes_default
15875int
15876main ()
15877{
15878static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15879test_array [0] = 0
15880
15881 ;
15882 return 0;
15883}
15884_ACEOF
15885rm -f conftest.$ac_objext
15886if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 15887 (eval $ac_compile) 2>conftest.er1
a848cd7e 15888 ac_status=$?
ac1cb8d3
VS
15889 grep -v '^ *+' conftest.er1 >conftest.err
15890 rm -f conftest.er1
15891 cat conftest.err >&5
a848cd7e
SC
15892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15893 (exit $ac_status); } &&
d1c38808 15894 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
15895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15896 (eval $ac_try) 2>&5
15897 ac_status=$?
15898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15899 (exit $ac_status); }; } &&
15900 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
15901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15902 (eval $ac_try) 2>&5
15903 ac_status=$?
15904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15905 (exit $ac_status); }; }; then
15906 ac_lo=$ac_mid; break
15907else
15908 echo "$as_me: failed program was:" >&5
15909sed 's/^/| /' conftest.$ac_ext >&5
15910
15911ac_hi=`expr '(' $ac_mid ')' - 1`
ac1cb8d3
VS
15912 if test $ac_mid -le $ac_hi; then
15913 ac_lo= ac_hi=
15914 break
15915 fi
15916 ac_mid=`expr 2 '*' $ac_mid`
a848cd7e 15917fi
ac1cb8d3 15918rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
15919 done
15920else
15921 echo "$as_me: failed program was:" >&5
15922sed 's/^/| /' conftest.$ac_ext >&5
15923
15924ac_lo= ac_hi=
15925fi
ac1cb8d3 15926rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e 15927fi
ac1cb8d3 15928rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
15929# Binary search between lo and hi bounds.
15930while test "x$ac_lo" != "x$ac_hi"; do
15931 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15932 cat >conftest.$ac_ext <<_ACEOF
15933/* confdefs.h. */
15934_ACEOF
15935cat confdefs.h >>conftest.$ac_ext
15936cat >>conftest.$ac_ext <<_ACEOF
15937/* end confdefs.h. */
15938$ac_includes_default
15939int
15940main ()
15941{
15942static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15943test_array [0] = 0
15944
15945 ;
15946 return 0;
15947}
15948_ACEOF
15949rm -f conftest.$ac_objext
15950if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 15951 (eval $ac_compile) 2>conftest.er1
a848cd7e 15952 ac_status=$?
ac1cb8d3
VS
15953 grep -v '^ *+' conftest.er1 >conftest.err
15954 rm -f conftest.er1
15955 cat conftest.err >&5
a848cd7e
SC
15956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15957 (exit $ac_status); } &&
d1c38808 15958 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
15959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15960 (eval $ac_try) 2>&5
15961 ac_status=$?
15962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15963 (exit $ac_status); }; } &&
15964 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
15965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15966 (eval $ac_try) 2>&5
15967 ac_status=$?
15968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15969 (exit $ac_status); }; }; then
15970 ac_hi=$ac_mid
15971else
15972 echo "$as_me: failed program was:" >&5
15973sed 's/^/| /' conftest.$ac_ext >&5
15974
15975ac_lo=`expr '(' $ac_mid ')' + 1`
15976fi
ac1cb8d3 15977rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
15978done
15979case $ac_lo in
15980?*) ac_cv_sizeof_int=$ac_lo;;
15981'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15982See \`config.log' for more details." >&5
15983echo "$as_me: error: cannot compute sizeof (int), 77
15984See \`config.log' for more details." >&2;}
15985 { (exit 1); exit 1; }; } ;;
15986esac
15987else
15988 if test "$cross_compiling" = yes; then
d1c38808
VZ
15989 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15990echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
a848cd7e
SC
15991 { (exit 1); exit 1; }; }
15992else
15993 cat >conftest.$ac_ext <<_ACEOF
15994/* confdefs.h. */
15995_ACEOF
15996cat confdefs.h >>conftest.$ac_ext
15997cat >>conftest.$ac_ext <<_ACEOF
15998/* end confdefs.h. */
15999$ac_includes_default
16000long longval () { return (long) (sizeof (int)); }
16001unsigned long ulongval () { return (long) (sizeof (int)); }
16002#include <stdio.h>
16003#include <stdlib.h>
16004int
16005main ()
16006{
16007
16008 FILE *f = fopen ("conftest.val", "w");
16009 if (! f)
16010 exit (1);
16011 if (((long) (sizeof (int))) < 0)
16012 {
16013 long i = longval ();
16014 if (i != ((long) (sizeof (int))))
16015 exit (1);
16016 fprintf (f, "%ld\n", i);
16017 }
16018 else
16019 {
16020 unsigned long i = ulongval ();
16021 if (i != ((long) (sizeof (int))))
16022 exit (1);
16023 fprintf (f, "%lu\n", i);
16024 }
16025 exit (ferror (f) || fclose (f) != 0);
16026
16027 ;
16028 return 0;
16029}
16030_ACEOF
16031rm -f conftest$ac_exeext
16032if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16033 (eval $ac_link) 2>&5
16034 ac_status=$?
16035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16036 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16038 (eval $ac_try) 2>&5
16039 ac_status=$?
16040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16041 (exit $ac_status); }; }; then
16042 ac_cv_sizeof_int=`cat conftest.val`
16043else
16044 echo "$as_me: program exited with status $ac_status" >&5
16045echo "$as_me: failed program was:" >&5
16046sed 's/^/| /' conftest.$ac_ext >&5
16047
16048( exit $ac_status )
16049{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16050See \`config.log' for more details." >&5
16051echo "$as_me: error: cannot compute sizeof (int), 77
16052See \`config.log' for more details." >&2;}
16053 { (exit 1); exit 1; }; }
16054fi
ac1cb8d3 16055rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
16056fi
16057fi
16058rm -f conftest.val
16059else
16060 ac_cv_sizeof_int=0
16061fi
16062fi
16063echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
16064echo "${ECHO_T}$ac_cv_sizeof_int" >&6
16065cat >>confdefs.h <<_ACEOF
16066#define SIZEOF_INT $ac_cv_sizeof_int
16067_ACEOF
16068
16069
16070echo "$as_me:$LINENO: checking for long" >&5
16071echo $ECHO_N "checking for long... $ECHO_C" >&6
16072if test "${ac_cv_type_long+set}" = set; then
16073 echo $ECHO_N "(cached) $ECHO_C" >&6
16074else
16075 cat >conftest.$ac_ext <<_ACEOF
16076/* confdefs.h. */
16077_ACEOF
16078cat confdefs.h >>conftest.$ac_ext
16079cat >>conftest.$ac_ext <<_ACEOF
16080/* end confdefs.h. */
16081$ac_includes_default
16082int
16083main ()
16084{
16085if ((long *) 0)
16086 return 0;
16087if (sizeof (long))
16088 return 0;
16089 ;
16090 return 0;
16091}
16092_ACEOF
16093rm -f conftest.$ac_objext
16094if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 16095 (eval $ac_compile) 2>conftest.er1
a848cd7e 16096 ac_status=$?
ac1cb8d3
VS
16097 grep -v '^ *+' conftest.er1 >conftest.err
16098 rm -f conftest.er1
16099 cat conftest.err >&5
a848cd7e
SC
16100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16101 (exit $ac_status); } &&
d1c38808 16102 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
16103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16104 (eval $ac_try) 2>&5
16105 ac_status=$?
16106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16107 (exit $ac_status); }; } &&
16108 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
16109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16110 (eval $ac_try) 2>&5
16111 ac_status=$?
16112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16113 (exit $ac_status); }; }; then
16114 ac_cv_type_long=yes
16115else
16116 echo "$as_me: failed program was:" >&5
16117sed 's/^/| /' conftest.$ac_ext >&5
16118
16119ac_cv_type_long=no
16120fi
ac1cb8d3 16121rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
16122fi
16123echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16124echo "${ECHO_T}$ac_cv_type_long" >&6
16125
16126echo "$as_me:$LINENO: checking size of long" >&5
16127echo $ECHO_N "checking size of long... $ECHO_C" >&6
16128if test "${ac_cv_sizeof_long+set}" = set; then
16129 echo $ECHO_N "(cached) $ECHO_C" >&6
16130else
16131 if test "$ac_cv_type_long" = yes; then
16132 # The cast to unsigned long works around a bug in the HP C Compiler
16133 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16134 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16135 # This bug is HP SR number 8606223364.
16136 if test "$cross_compiling" = yes; then
16137 # Depending upon the size, compute the lo and hi bounds.
16138cat >conftest.$ac_ext <<_ACEOF
16139/* confdefs.h. */
16140_ACEOF
16141cat confdefs.h >>conftest.$ac_ext
16142cat >>conftest.$ac_ext <<_ACEOF
16143/* end confdefs.h. */
16144$ac_includes_default
16145int
16146main ()
16147{
16148static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16149test_array [0] = 0
16150
16151 ;
16152 return 0;
16153}
16154_ACEOF
16155rm -f conftest.$ac_objext
16156if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 16157 (eval $ac_compile) 2>conftest.er1
a848cd7e 16158 ac_status=$?
ac1cb8d3
VS
16159 grep -v '^ *+' conftest.er1 >conftest.err
16160 rm -f conftest.er1
16161 cat conftest.err >&5
a848cd7e
SC
16162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16163 (exit $ac_status); } &&
d1c38808 16164 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
16165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16166 (eval $ac_try) 2>&5
16167 ac_status=$?
16168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16169 (exit $ac_status); }; } &&
16170 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
16171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16172 (eval $ac_try) 2>&5
16173 ac_status=$?
16174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16175 (exit $ac_status); }; }; then
16176 ac_lo=0 ac_mid=0
16177 while :; do
16178 cat >conftest.$ac_ext <<_ACEOF
16179/* confdefs.h. */
16180_ACEOF
16181cat confdefs.h >>conftest.$ac_ext
16182cat >>conftest.$ac_ext <<_ACEOF
16183/* end confdefs.h. */
16184$ac_includes_default
16185int
16186main ()
16187{
16188static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16189test_array [0] = 0
16190
16191 ;
16192 return 0;
16193}
16194_ACEOF
16195rm -f conftest.$ac_objext
16196if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 16197 (eval $ac_compile) 2>conftest.er1
a848cd7e 16198 ac_status=$?
ac1cb8d3
VS
16199 grep -v '^ *+' conftest.er1 >conftest.err
16200 rm -f conftest.er1
16201 cat conftest.err >&5
a848cd7e
SC
16202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16203 (exit $ac_status); } &&
d1c38808 16204 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
16205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16206 (eval $ac_try) 2>&5
16207 ac_status=$?
16208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16209 (exit $ac_status); }; } &&
16210 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
16211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16212 (eval $ac_try) 2>&5
16213 ac_status=$?
16214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16215 (exit $ac_status); }; }; then
16216 ac_hi=$ac_mid; break
16217else
16218 echo "$as_me: failed program was:" >&5
16219sed 's/^/| /' conftest.$ac_ext >&5
16220
16221ac_lo=`expr $ac_mid + 1`
ac1cb8d3
VS
16222 if test $ac_lo -le $ac_mid; then
16223 ac_lo= ac_hi=
16224 break
16225 fi
16226 ac_mid=`expr 2 '*' $ac_mid + 1`
a848cd7e 16227fi
ac1cb8d3 16228rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
16229 done
16230else
16231 echo "$as_me: failed program was:" >&5
16232sed 's/^/| /' conftest.$ac_ext >&5
16233
16234cat >conftest.$ac_ext <<_ACEOF
16235/* confdefs.h. */
16236_ACEOF
16237cat confdefs.h >>conftest.$ac_ext
16238cat >>conftest.$ac_ext <<_ACEOF
16239/* end confdefs.h. */
16240$ac_includes_default
16241int
16242main ()
16243{
16244static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16245test_array [0] = 0
16246
16247 ;
16248 return 0;
16249}
16250_ACEOF
16251rm -f conftest.$ac_objext
16252if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 16253 (eval $ac_compile) 2>conftest.er1
a848cd7e 16254 ac_status=$?
ac1cb8d3
VS
16255 grep -v '^ *+' conftest.er1 >conftest.err
16256 rm -f conftest.er1
16257 cat conftest.err >&5
a848cd7e
SC
16258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16259 (exit $ac_status); } &&
d1c38808 16260 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
16261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16262 (eval $ac_try) 2>&5
16263 ac_status=$?
16264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16265 (exit $ac_status); }; } &&
16266 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
16267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16268 (eval $ac_try) 2>&5
16269 ac_status=$?
16270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16271 (exit $ac_status); }; }; then
16272 ac_hi=-1 ac_mid=-1
16273 while :; do
16274 cat >conftest.$ac_ext <<_ACEOF
16275/* confdefs.h. */
16276_ACEOF
16277cat confdefs.h >>conftest.$ac_ext
16278cat >>conftest.$ac_ext <<_ACEOF
16279/* end confdefs.h. */
16280$ac_includes_default
16281int
16282main ()
16283{
16284static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16285test_array [0] = 0
16286
16287 ;
16288 return 0;
16289}
16290_ACEOF
16291rm -f conftest.$ac_objext
16292if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 16293 (eval $ac_compile) 2>conftest.er1
a848cd7e 16294 ac_status=$?
ac1cb8d3
VS
16295 grep -v '^ *+' conftest.er1 >conftest.err
16296 rm -f conftest.er1
16297 cat conftest.err >&5
a848cd7e
SC
16298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16299 (exit $ac_status); } &&
d1c38808 16300 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
16301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16302 (eval $ac_try) 2>&5
16303 ac_status=$?
16304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16305 (exit $ac_status); }; } &&
16306 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
16307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16308 (eval $ac_try) 2>&5
16309 ac_status=$?
16310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16311 (exit $ac_status); }; }; then
16312 ac_lo=$ac_mid; break
16313else
16314 echo "$as_me: failed program was:" >&5
16315sed 's/^/| /' conftest.$ac_ext >&5
16316
16317ac_hi=`expr '(' $ac_mid ')' - 1`
ac1cb8d3
VS
16318 if test $ac_mid -le $ac_hi; then
16319 ac_lo= ac_hi=
16320 break
16321 fi
16322 ac_mid=`expr 2 '*' $ac_mid`
a848cd7e 16323fi
ac1cb8d3 16324rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
16325 done
16326else
16327 echo "$as_me: failed program was:" >&5
16328sed 's/^/| /' conftest.$ac_ext >&5
16329
16330ac_lo= ac_hi=
16331fi
ac1cb8d3 16332rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e 16333fi
ac1cb8d3 16334rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
16335# Binary search between lo and hi bounds.
16336while test "x$ac_lo" != "x$ac_hi"; do
16337 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16338 cat >conftest.$ac_ext <<_ACEOF
16339/* confdefs.h. */
16340_ACEOF
16341cat confdefs.h >>conftest.$ac_ext
16342cat >>conftest.$ac_ext <<_ACEOF
16343/* end confdefs.h. */
16344$ac_includes_default
16345int
16346main ()
16347{
16348static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16349test_array [0] = 0
16350
16351 ;
16352 return 0;
16353}
16354_ACEOF
16355rm -f conftest.$ac_objext
16356if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 16357 (eval $ac_compile) 2>conftest.er1
a848cd7e 16358 ac_status=$?
ac1cb8d3
VS
16359 grep -v '^ *+' conftest.er1 >conftest.err
16360 rm -f conftest.er1
16361 cat conftest.err >&5
a848cd7e
SC
16362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16363 (exit $ac_status); } &&
d1c38808 16364 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
16365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16366 (eval $ac_try) 2>&5
16367 ac_status=$?
16368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16369 (exit $ac_status); }; } &&
16370 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
16371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16372 (eval $ac_try) 2>&5
16373 ac_status=$?
16374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16375 (exit $ac_status); }; }; then
16376 ac_hi=$ac_mid
16377else
16378 echo "$as_me: failed program was:" >&5
16379sed 's/^/| /' conftest.$ac_ext >&5
16380
16381ac_lo=`expr '(' $ac_mid ')' + 1`
16382fi
ac1cb8d3 16383rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
16384done
16385case $ac_lo in
16386?*) ac_cv_sizeof_long=$ac_lo;;
16387'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16388See \`config.log' for more details." >&5
16389echo "$as_me: error: cannot compute sizeof (long), 77
16390See \`config.log' for more details." >&2;}
16391 { (exit 1); exit 1; }; } ;;
16392esac
16393else
16394 if test "$cross_compiling" = yes; then
d1c38808
VZ
16395 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16396echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
a848cd7e
SC
16397 { (exit 1); exit 1; }; }
16398else
16399 cat >conftest.$ac_ext <<_ACEOF
16400/* confdefs.h. */
16401_ACEOF
16402cat confdefs.h >>conftest.$ac_ext
16403cat >>conftest.$ac_ext <<_ACEOF
16404/* end confdefs.h. */
16405$ac_includes_default
16406long longval () { return (long) (sizeof (long)); }
16407unsigned long ulongval () { return (long) (sizeof (long)); }
16408#include <stdio.h>
16409#include <stdlib.h>
16410int
16411main ()
16412{
16413
16414 FILE *f = fopen ("conftest.val", "w");
16415 if (! f)
16416 exit (1);
16417 if (((long) (sizeof (long))) < 0)
16418 {
16419 long i = longval ();
16420 if (i != ((long) (sizeof (long))))
16421 exit (1);
16422 fprintf (f, "%ld\n", i);
16423 }
16424 else
16425 {
16426 unsigned long i = ulongval ();
16427 if (i != ((long) (sizeof (long))))
16428 exit (1);
16429 fprintf (f, "%lu\n", i);
16430 }
16431 exit (ferror (f) || fclose (f) != 0);
16432
16433 ;
16434 return 0;
16435}
16436_ACEOF
16437rm -f conftest$ac_exeext
16438if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16439 (eval $ac_link) 2>&5
16440 ac_status=$?
16441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16442 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16444 (eval $ac_try) 2>&5
16445 ac_status=$?
16446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16447 (exit $ac_status); }; }; then
16448 ac_cv_sizeof_long=`cat conftest.val`
16449else
16450 echo "$as_me: program exited with status $ac_status" >&5
16451echo "$as_me: failed program was:" >&5
16452sed 's/^/| /' conftest.$ac_ext >&5
16453
16454( exit $ac_status )
16455{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16456See \`config.log' for more details." >&5
16457echo "$as_me: error: cannot compute sizeof (long), 77
16458See \`config.log' for more details." >&2;}
16459 { (exit 1); exit 1; }; }
16460fi
ac1cb8d3 16461rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
16462fi
16463fi
16464rm -f conftest.val
16465else
16466 ac_cv_sizeof_long=0
16467fi
16468fi
16469echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16470echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16471cat >>confdefs.h <<_ACEOF
16472#define SIZEOF_LONG $ac_cv_sizeof_long
16473_ACEOF
16474
16475
16476echo "$as_me:$LINENO: checking for size_t" >&5
16477echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16478if test "${ac_cv_type_size_t+set}" = set; then
16479 echo $ECHO_N "(cached) $ECHO_C" >&6
16480else
16481 cat >conftest.$ac_ext <<_ACEOF
16482/* confdefs.h. */
16483_ACEOF
16484cat confdefs.h >>conftest.$ac_ext
16485cat >>conftest.$ac_ext <<_ACEOF
16486/* end confdefs.h. */
16487$ac_includes_default
16488int
16489main ()
16490{
16491if ((size_t *) 0)
16492 return 0;
16493if (sizeof (size_t))
16494 return 0;
16495 ;
16496 return 0;
16497}
16498_ACEOF
16499rm -f conftest.$ac_objext
16500if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 16501 (eval $ac_compile) 2>conftest.er1
a848cd7e 16502 ac_status=$?
ac1cb8d3
VS
16503 grep -v '^ *+' conftest.er1 >conftest.err
16504 rm -f conftest.er1
16505 cat conftest.err >&5
a848cd7e
SC
16506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16507 (exit $ac_status); } &&
d1c38808 16508 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
16509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16510 (eval $ac_try) 2>&5
16511 ac_status=$?
16512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16513 (exit $ac_status); }; } &&
16514 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
16515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16516 (eval $ac_try) 2>&5
16517 ac_status=$?
16518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16519 (exit $ac_status); }; }; then
16520 ac_cv_type_size_t=yes
16521else
16522 echo "$as_me: failed program was:" >&5
16523sed 's/^/| /' conftest.$ac_ext >&5
16524
16525ac_cv_type_size_t=no
16526fi
ac1cb8d3 16527rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
16528fi
16529echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16530echo "${ECHO_T}$ac_cv_type_size_t" >&6
16531
16532echo "$as_me:$LINENO: checking size of size_t" >&5
16533echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
16534if test "${ac_cv_sizeof_size_t+set}" = set; then
16535 echo $ECHO_N "(cached) $ECHO_C" >&6
16536else
16537 if test "$ac_cv_type_size_t" = yes; then
16538 # The cast to unsigned long works around a bug in the HP C Compiler
16539 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16540 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16541 # This bug is HP SR number 8606223364.
16542 if test "$cross_compiling" = yes; then
16543 # Depending upon the size, compute the lo and hi bounds.
16544cat >conftest.$ac_ext <<_ACEOF
16545/* confdefs.h. */
16546_ACEOF
16547cat confdefs.h >>conftest.$ac_ext
16548cat >>conftest.$ac_ext <<_ACEOF
16549/* end confdefs.h. */
16550$ac_includes_default
16551int
16552main ()
16553{
16554static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
16555test_array [0] = 0
16556
16557 ;
16558 return 0;
16559}
16560_ACEOF
16561rm -f conftest.$ac_objext
16562if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 16563 (eval $ac_compile) 2>conftest.er1
a848cd7e 16564 ac_status=$?
ac1cb8d3
VS
16565 grep -v '^ *+' conftest.er1 >conftest.err
16566 rm -f conftest.er1
16567 cat conftest.err >&5
a848cd7e
SC
16568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16569 (exit $ac_status); } &&
d1c38808 16570 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
16571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16572 (eval $ac_try) 2>&5
16573 ac_status=$?
16574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16575 (exit $ac_status); }; } &&
16576 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
16577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16578 (eval $ac_try) 2>&5
16579 ac_status=$?
16580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16581 (exit $ac_status); }; }; then
16582 ac_lo=0 ac_mid=0
16583 while :; do
16584 cat >conftest.$ac_ext <<_ACEOF
16585/* confdefs.h. */
16586_ACEOF
16587cat confdefs.h >>conftest.$ac_ext
16588cat >>conftest.$ac_ext <<_ACEOF
16589/* end confdefs.h. */
16590$ac_includes_default
16591int
16592main ()
16593{
16594static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16595test_array [0] = 0
16596
16597 ;
16598 return 0;
16599}
16600_ACEOF
16601rm -f conftest.$ac_objext
16602if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 16603 (eval $ac_compile) 2>conftest.er1
a848cd7e 16604 ac_status=$?
ac1cb8d3
VS
16605 grep -v '^ *+' conftest.er1 >conftest.err
16606 rm -f conftest.er1
16607 cat conftest.err >&5
a848cd7e
SC
16608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16609 (exit $ac_status); } &&
d1c38808 16610 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
16611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16612 (eval $ac_try) 2>&5
16613 ac_status=$?
16614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16615 (exit $ac_status); }; } &&
16616 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
16617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16618 (eval $ac_try) 2>&5
16619 ac_status=$?
16620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16621 (exit $ac_status); }; }; then
16622 ac_hi=$ac_mid; break
16623else
16624 echo "$as_me: failed program was:" >&5
16625sed 's/^/| /' conftest.$ac_ext >&5
16626
16627ac_lo=`expr $ac_mid + 1`
ac1cb8d3
VS
16628 if test $ac_lo -le $ac_mid; then
16629 ac_lo= ac_hi=
16630 break
16631 fi
16632 ac_mid=`expr 2 '*' $ac_mid + 1`
a848cd7e 16633fi
ac1cb8d3 16634rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
16635 done
16636else
16637 echo "$as_me: failed program was:" >&5
16638sed 's/^/| /' conftest.$ac_ext >&5
16639
16640cat >conftest.$ac_ext <<_ACEOF
16641/* confdefs.h. */
16642_ACEOF
16643cat confdefs.h >>conftest.$ac_ext
16644cat >>conftest.$ac_ext <<_ACEOF
16645/* end confdefs.h. */
16646$ac_includes_default
16647int
16648main ()
16649{
16650static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
16651test_array [0] = 0
16652
16653 ;
16654 return 0;
16655}
16656_ACEOF
16657rm -f conftest.$ac_objext
16658if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 16659 (eval $ac_compile) 2>conftest.er1
a848cd7e 16660 ac_status=$?
ac1cb8d3
VS
16661 grep -v '^ *+' conftest.er1 >conftest.err
16662 rm -f conftest.er1
16663 cat conftest.err >&5
a848cd7e
SC
16664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16665 (exit $ac_status); } &&
d1c38808 16666 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
16667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16668 (eval $ac_try) 2>&5
16669 ac_status=$?
16670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16671 (exit $ac_status); }; } &&
16672 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
16673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16674 (eval $ac_try) 2>&5
16675 ac_status=$?
16676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16677 (exit $ac_status); }; }; then
16678 ac_hi=-1 ac_mid=-1
16679 while :; do
16680 cat >conftest.$ac_ext <<_ACEOF
16681/* confdefs.h. */
16682_ACEOF
16683cat confdefs.h >>conftest.$ac_ext
16684cat >>conftest.$ac_ext <<_ACEOF
16685/* end confdefs.h. */
16686$ac_includes_default
16687int
16688main ()
16689{
16690static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
16691test_array [0] = 0
16692
16693 ;
16694 return 0;
16695}
16696_ACEOF
16697rm -f conftest.$ac_objext
16698if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 16699 (eval $ac_compile) 2>conftest.er1
a848cd7e 16700 ac_status=$?
ac1cb8d3
VS
16701 grep -v '^ *+' conftest.er1 >conftest.err
16702 rm -f conftest.er1
16703 cat conftest.err >&5
a848cd7e
SC
16704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16705 (exit $ac_status); } &&
d1c38808 16706 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
16707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16708 (eval $ac_try) 2>&5
16709 ac_status=$?
16710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16711 (exit $ac_status); }; } &&
16712 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
16713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16714 (eval $ac_try) 2>&5
16715 ac_status=$?
16716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16717 (exit $ac_status); }; }; then
16718 ac_lo=$ac_mid; break
16719else
16720 echo "$as_me: failed program was:" >&5
16721sed 's/^/| /' conftest.$ac_ext >&5
16722
16723ac_hi=`expr '(' $ac_mid ')' - 1`
ac1cb8d3
VS
16724 if test $ac_mid -le $ac_hi; then
16725 ac_lo= ac_hi=
16726 break
16727 fi
16728 ac_mid=`expr 2 '*' $ac_mid`
a848cd7e 16729fi
ac1cb8d3 16730rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
16731 done
16732else
16733 echo "$as_me: failed program was:" >&5
16734sed 's/^/| /' conftest.$ac_ext >&5
16735
16736ac_lo= ac_hi=
16737fi
ac1cb8d3 16738rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e 16739fi
ac1cb8d3 16740rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
16741# Binary search between lo and hi bounds.
16742while test "x$ac_lo" != "x$ac_hi"; do
16743 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16744 cat >conftest.$ac_ext <<_ACEOF
16745/* confdefs.h. */
16746_ACEOF
16747cat confdefs.h >>conftest.$ac_ext
16748cat >>conftest.$ac_ext <<_ACEOF
16749/* end confdefs.h. */
16750$ac_includes_default
16751int
16752main ()
16753{
16754static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16755test_array [0] = 0
16756
16757 ;
16758 return 0;
16759}
16760_ACEOF
16761rm -f conftest.$ac_objext
16762if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 16763 (eval $ac_compile) 2>conftest.er1
a848cd7e 16764 ac_status=$?
ac1cb8d3
VS
16765 grep -v '^ *+' conftest.er1 >conftest.err
16766 rm -f conftest.er1
16767 cat conftest.err >&5
a848cd7e
SC
16768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16769 (exit $ac_status); } &&
d1c38808 16770 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
16771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16772 (eval $ac_try) 2>&5
16773 ac_status=$?
16774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16775 (exit $ac_status); }; } &&
16776 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
16777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16778 (eval $ac_try) 2>&5
16779 ac_status=$?
16780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16781 (exit $ac_status); }; }; then
16782 ac_hi=$ac_mid
16783else
16784 echo "$as_me: failed program was:" >&5
16785sed 's/^/| /' conftest.$ac_ext >&5
16786
16787ac_lo=`expr '(' $ac_mid ')' + 1`
16788fi
ac1cb8d3 16789rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
16790done
16791case $ac_lo in
16792?*) ac_cv_sizeof_size_t=$ac_lo;;
16793'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16794See \`config.log' for more details." >&5
16795echo "$as_me: error: cannot compute sizeof (size_t), 77
16796See \`config.log' for more details." >&2;}
16797 { (exit 1); exit 1; }; } ;;
16798esac
16799else
16800 if test "$cross_compiling" = yes; then
d1c38808
VZ
16801 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16802echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
a848cd7e
SC
16803 { (exit 1); exit 1; }; }
16804else
16805 cat >conftest.$ac_ext <<_ACEOF
16806/* confdefs.h. */
16807_ACEOF
16808cat confdefs.h >>conftest.$ac_ext
16809cat >>conftest.$ac_ext <<_ACEOF
16810/* end confdefs.h. */
16811$ac_includes_default
16812long longval () { return (long) (sizeof (size_t)); }
16813unsigned long ulongval () { return (long) (sizeof (size_t)); }
16814#include <stdio.h>
16815#include <stdlib.h>
16816int
16817main ()
16818{
16819
16820 FILE *f = fopen ("conftest.val", "w");
16821 if (! f)
16822 exit (1);
16823 if (((long) (sizeof (size_t))) < 0)
16824 {
16825 long i = longval ();
16826 if (i != ((long) (sizeof (size_t))))
16827 exit (1);
16828 fprintf (f, "%ld\n", i);
16829 }
16830 else
16831 {
16832 unsigned long i = ulongval ();
16833 if (i != ((long) (sizeof (size_t))))
16834 exit (1);
16835 fprintf (f, "%lu\n", i);
16836 }
16837 exit (ferror (f) || fclose (f) != 0);
16838
16839 ;
16840 return 0;
16841}
16842_ACEOF
16843rm -f conftest$ac_exeext
16844if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16845 (eval $ac_link) 2>&5
16846 ac_status=$?
16847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16848 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16850 (eval $ac_try) 2>&5
16851 ac_status=$?
16852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16853 (exit $ac_status); }; }; then
16854 ac_cv_sizeof_size_t=`cat conftest.val`
16855else
16856 echo "$as_me: program exited with status $ac_status" >&5
16857echo "$as_me: failed program was:" >&5
16858sed 's/^/| /' conftest.$ac_ext >&5
16859
16860( exit $ac_status )
16861{ { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16862See \`config.log' for more details." >&5
16863echo "$as_me: error: cannot compute sizeof (size_t), 77
16864See \`config.log' for more details." >&2;}
16865 { (exit 1); exit 1; }; }
16866fi
ac1cb8d3 16867rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
16868fi
16869fi
16870rm -f conftest.val
16871else
16872 ac_cv_sizeof_size_t=0
16873fi
16874fi
16875echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
16876echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
16877cat >>confdefs.h <<_ACEOF
16878#define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
16879_ACEOF
16880
16881
16882
16883case "${host}" in
16884 arm-*-linux* )
16885 echo "$as_me:$LINENO: checking for long long" >&5
16886echo $ECHO_N "checking for long long... $ECHO_C" >&6
16887if test "${ac_cv_type_long_long+set}" = set; then
16888 echo $ECHO_N "(cached) $ECHO_C" >&6
16889else
16890 cat >conftest.$ac_ext <<_ACEOF
16891/* confdefs.h. */
16892_ACEOF
16893cat confdefs.h >>conftest.$ac_ext
16894cat >>conftest.$ac_ext <<_ACEOF
16895/* end confdefs.h. */
16896$ac_includes_default
16897int
16898main ()
16899{
16900if ((long long *) 0)
16901 return 0;
16902if (sizeof (long long))
16903 return 0;
16904 ;
16905 return 0;
16906}
16907_ACEOF
16908rm -f conftest.$ac_objext
16909if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 16910 (eval $ac_compile) 2>conftest.er1
a848cd7e 16911 ac_status=$?
ac1cb8d3
VS
16912 grep -v '^ *+' conftest.er1 >conftest.err
16913 rm -f conftest.er1
16914 cat conftest.err >&5
a848cd7e
SC
16915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16916 (exit $ac_status); } &&
d1c38808 16917 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
16918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16919 (eval $ac_try) 2>&5
16920 ac_status=$?
16921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16922 (exit $ac_status); }; } &&
16923 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
16924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16925 (eval $ac_try) 2>&5
16926 ac_status=$?
16927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16928 (exit $ac_status); }; }; then
16929 ac_cv_type_long_long=yes
16930else
16931 echo "$as_me: failed program was:" >&5
16932sed 's/^/| /' conftest.$ac_ext >&5
16933
16934ac_cv_type_long_long=no
16935fi
ac1cb8d3 16936rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
16937fi
16938echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16939echo "${ECHO_T}$ac_cv_type_long_long" >&6
16940
16941echo "$as_me:$LINENO: checking size of long long" >&5
16942echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16943if test "${ac_cv_sizeof_long_long+set}" = set; then
16944 echo $ECHO_N "(cached) $ECHO_C" >&6
16945else
16946 if test "$ac_cv_type_long_long" = yes; then
16947 # The cast to unsigned long works around a bug in the HP C Compiler
16948 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16949 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16950 # This bug is HP SR number 8606223364.
16951 if test "$cross_compiling" = yes; then
16952 # Depending upon the size, compute the lo and hi bounds.
16953cat >conftest.$ac_ext <<_ACEOF
16954/* confdefs.h. */
16955_ACEOF
16956cat confdefs.h >>conftest.$ac_ext
16957cat >>conftest.$ac_ext <<_ACEOF
16958/* end confdefs.h. */
16959$ac_includes_default
16960int
16961main ()
16962{
16963static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16964test_array [0] = 0
16965
16966 ;
16967 return 0;
16968}
16969_ACEOF
16970rm -f conftest.$ac_objext
16971if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 16972 (eval $ac_compile) 2>conftest.er1
a848cd7e 16973 ac_status=$?
ac1cb8d3
VS
16974 grep -v '^ *+' conftest.er1 >conftest.err
16975 rm -f conftest.er1
16976 cat conftest.err >&5
a848cd7e
SC
16977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16978 (exit $ac_status); } &&
d1c38808 16979 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
16980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16981 (eval $ac_try) 2>&5
16982 ac_status=$?
16983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16984 (exit $ac_status); }; } &&
16985 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
16986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16987 (eval $ac_try) 2>&5
16988 ac_status=$?
16989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16990 (exit $ac_status); }; }; then
16991 ac_lo=0 ac_mid=0
16992 while :; do
16993 cat >conftest.$ac_ext <<_ACEOF
16994/* confdefs.h. */
16995_ACEOF
16996cat confdefs.h >>conftest.$ac_ext
16997cat >>conftest.$ac_ext <<_ACEOF
16998/* end confdefs.h. */
16999$ac_includes_default
17000int
17001main ()
17002{
17003static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17004test_array [0] = 0
17005
17006 ;
17007 return 0;
17008}
17009_ACEOF
17010rm -f conftest.$ac_objext
17011if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 17012 (eval $ac_compile) 2>conftest.er1
a848cd7e 17013 ac_status=$?
ac1cb8d3
VS
17014 grep -v '^ *+' conftest.er1 >conftest.err
17015 rm -f conftest.er1
17016 cat conftest.err >&5
a848cd7e
SC
17017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17018 (exit $ac_status); } &&
d1c38808 17019 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
17020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17021 (eval $ac_try) 2>&5
17022 ac_status=$?
17023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17024 (exit $ac_status); }; } &&
17025 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
17026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17027 (eval $ac_try) 2>&5
17028 ac_status=$?
17029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17030 (exit $ac_status); }; }; then
17031 ac_hi=$ac_mid; break
17032else
17033 echo "$as_me: failed program was:" >&5
17034sed 's/^/| /' conftest.$ac_ext >&5
17035
17036ac_lo=`expr $ac_mid + 1`
ac1cb8d3
VS
17037 if test $ac_lo -le $ac_mid; then
17038 ac_lo= ac_hi=
17039 break
17040 fi
17041 ac_mid=`expr 2 '*' $ac_mid + 1`
a848cd7e 17042fi
ac1cb8d3 17043rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
17044 done
17045else
17046 echo "$as_me: failed program was:" >&5
17047sed 's/^/| /' conftest.$ac_ext >&5
17048
17049cat >conftest.$ac_ext <<_ACEOF
17050/* confdefs.h. */
17051_ACEOF
17052cat confdefs.h >>conftest.$ac_ext
17053cat >>conftest.$ac_ext <<_ACEOF
17054/* end confdefs.h. */
17055$ac_includes_default
17056int
17057main ()
17058{
17059static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17060test_array [0] = 0
17061
17062 ;
17063 return 0;
17064}
17065_ACEOF
17066rm -f conftest.$ac_objext
17067if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 17068 (eval $ac_compile) 2>conftest.er1
a848cd7e 17069 ac_status=$?
ac1cb8d3
VS
17070 grep -v '^ *+' conftest.er1 >conftest.err
17071 rm -f conftest.er1
17072 cat conftest.err >&5
a848cd7e
SC
17073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17074 (exit $ac_status); } &&
d1c38808 17075 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
17076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17077 (eval $ac_try) 2>&5
17078 ac_status=$?
17079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17080 (exit $ac_status); }; } &&
17081 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
17082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17083 (eval $ac_try) 2>&5
17084 ac_status=$?
17085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17086 (exit $ac_status); }; }; then
17087 ac_hi=-1 ac_mid=-1
17088 while :; do
17089 cat >conftest.$ac_ext <<_ACEOF
17090/* confdefs.h. */
17091_ACEOF
17092cat confdefs.h >>conftest.$ac_ext
17093cat >>conftest.$ac_ext <<_ACEOF
17094/* end confdefs.h. */
17095$ac_includes_default
17096int
17097main ()
17098{
17099static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17100test_array [0] = 0
17101
17102 ;
17103 return 0;
17104}
17105_ACEOF
17106rm -f conftest.$ac_objext
17107if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 17108 (eval $ac_compile) 2>conftest.er1
a848cd7e 17109 ac_status=$?
ac1cb8d3
VS
17110 grep -v '^ *+' conftest.er1 >conftest.err
17111 rm -f conftest.er1
17112 cat conftest.err >&5
a848cd7e
SC
17113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17114 (exit $ac_status); } &&
d1c38808 17115 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
17116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17117 (eval $ac_try) 2>&5
17118 ac_status=$?
17119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17120 (exit $ac_status); }; } &&
17121 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
17122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17123 (eval $ac_try) 2>&5
17124 ac_status=$?
17125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17126 (exit $ac_status); }; }; then
17127 ac_lo=$ac_mid; break
17128else
17129 echo "$as_me: failed program was:" >&5
17130sed 's/^/| /' conftest.$ac_ext >&5
17131
17132ac_hi=`expr '(' $ac_mid ')' - 1`
ac1cb8d3
VS
17133 if test $ac_mid -le $ac_hi; then
17134 ac_lo= ac_hi=
17135 break
17136 fi
17137 ac_mid=`expr 2 '*' $ac_mid`
a848cd7e 17138fi
ac1cb8d3 17139rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
17140 done
17141else
17142 echo "$as_me: failed program was:" >&5
17143sed 's/^/| /' conftest.$ac_ext >&5
17144
17145ac_lo= ac_hi=
17146fi
ac1cb8d3 17147rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e 17148fi
ac1cb8d3 17149rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
17150# Binary search between lo and hi bounds.
17151while test "x$ac_lo" != "x$ac_hi"; do
17152 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17153 cat >conftest.$ac_ext <<_ACEOF
17154/* confdefs.h. */
17155_ACEOF
17156cat confdefs.h >>conftest.$ac_ext
17157cat >>conftest.$ac_ext <<_ACEOF
17158/* end confdefs.h. */
17159$ac_includes_default
17160int
17161main ()
17162{
17163static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17164test_array [0] = 0
17165
17166 ;
17167 return 0;
17168}
17169_ACEOF
17170rm -f conftest.$ac_objext
17171if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 17172 (eval $ac_compile) 2>conftest.er1
a848cd7e 17173 ac_status=$?
ac1cb8d3
VS
17174 grep -v '^ *+' conftest.er1 >conftest.err
17175 rm -f conftest.er1
17176 cat conftest.err >&5
a848cd7e
SC
17177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17178 (exit $ac_status); } &&
d1c38808 17179 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
17180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17181 (eval $ac_try) 2>&5
17182 ac_status=$?
17183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17184 (exit $ac_status); }; } &&
17185 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
17186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17187 (eval $ac_try) 2>&5
17188 ac_status=$?
17189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17190 (exit $ac_status); }; }; then
17191 ac_hi=$ac_mid
17192else
17193 echo "$as_me: failed program was:" >&5
17194sed 's/^/| /' conftest.$ac_ext >&5
17195
17196ac_lo=`expr '(' $ac_mid ')' + 1`
17197fi
ac1cb8d3 17198rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
17199done
17200case $ac_lo in
17201?*) ac_cv_sizeof_long_long=$ac_lo;;
17202'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17203See \`config.log' for more details." >&5
17204echo "$as_me: error: cannot compute sizeof (long long), 77
17205See \`config.log' for more details." >&2;}
17206 { (exit 1); exit 1; }; } ;;
17207esac
17208else
17209 if test "$cross_compiling" = yes; then
d1c38808
VZ
17210 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17211echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
a848cd7e
SC
17212 { (exit 1); exit 1; }; }
17213else
17214 cat >conftest.$ac_ext <<_ACEOF
17215/* confdefs.h. */
17216_ACEOF
17217cat confdefs.h >>conftest.$ac_ext
17218cat >>conftest.$ac_ext <<_ACEOF
17219/* end confdefs.h. */
17220$ac_includes_default
17221long longval () { return (long) (sizeof (long long)); }
17222unsigned long ulongval () { return (long) (sizeof (long long)); }
17223#include <stdio.h>
17224#include <stdlib.h>
17225int
17226main ()
17227{
17228
17229 FILE *f = fopen ("conftest.val", "w");
17230 if (! f)
17231 exit (1);
17232 if (((long) (sizeof (long long))) < 0)
17233 {
17234 long i = longval ();
17235 if (i != ((long) (sizeof (long long))))
17236 exit (1);
17237 fprintf (f, "%ld\n", i);
17238 }
17239 else
17240 {
17241 unsigned long i = ulongval ();
17242 if (i != ((long) (sizeof (long long))))
17243 exit (1);
17244 fprintf (f, "%lu\n", i);
17245 }
17246 exit (ferror (f) || fclose (f) != 0);
17247
17248 ;
17249 return 0;
17250}
17251_ACEOF
17252rm -f conftest$ac_exeext
17253if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17254 (eval $ac_link) 2>&5
17255 ac_status=$?
17256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17257 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17259 (eval $ac_try) 2>&5
17260 ac_status=$?
17261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17262 (exit $ac_status); }; }; then
17263 ac_cv_sizeof_long_long=`cat conftest.val`
17264else
17265 echo "$as_me: program exited with status $ac_status" >&5
17266echo "$as_me: failed program was:" >&5
17267sed 's/^/| /' conftest.$ac_ext >&5
17268
17269( exit $ac_status )
17270{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17271See \`config.log' for more details." >&5
17272echo "$as_me: error: cannot compute sizeof (long long), 77
17273See \`config.log' for more details." >&2;}
17274 { (exit 1); exit 1; }; }
17275fi
ac1cb8d3 17276rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
17277fi
17278fi
17279rm -f conftest.val
17280else
17281 ac_cv_sizeof_long_long=0
17282fi
17283fi
17284echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17285echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17286cat >>confdefs.h <<_ACEOF
17287#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17288_ACEOF
17289
17290
17291 ;;
17292 *-hp-hpux* )
17293 echo "$as_me:$LINENO: checking for long long" >&5
17294echo $ECHO_N "checking for long long... $ECHO_C" >&6
17295if test "${ac_cv_type_long_long+set}" = set; then
17296 echo $ECHO_N "(cached) $ECHO_C" >&6
17297else
17298 cat >conftest.$ac_ext <<_ACEOF
17299/* confdefs.h. */
17300_ACEOF
17301cat confdefs.h >>conftest.$ac_ext
17302cat >>conftest.$ac_ext <<_ACEOF
17303/* end confdefs.h. */
17304$ac_includes_default
17305int
17306main ()
17307{
17308if ((long long *) 0)
17309 return 0;
17310if (sizeof (long long))
17311 return 0;
17312 ;
17313 return 0;
17314}
17315_ACEOF
17316rm -f conftest.$ac_objext
17317if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 17318 (eval $ac_compile) 2>conftest.er1
a848cd7e 17319 ac_status=$?
ac1cb8d3
VS
17320 grep -v '^ *+' conftest.er1 >conftest.err
17321 rm -f conftest.er1
17322 cat conftest.err >&5
a848cd7e
SC
17323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17324 (exit $ac_status); } &&
d1c38808 17325 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
17326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17327 (eval $ac_try) 2>&5
17328 ac_status=$?
17329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17330 (exit $ac_status); }; } &&
17331 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
17332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17333 (eval $ac_try) 2>&5
17334 ac_status=$?
17335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17336 (exit $ac_status); }; }; then
17337 ac_cv_type_long_long=yes
17338else
17339 echo "$as_me: failed program was:" >&5
17340sed 's/^/| /' conftest.$ac_ext >&5
17341
17342ac_cv_type_long_long=no
17343fi
ac1cb8d3 17344rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
17345fi
17346echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17347echo "${ECHO_T}$ac_cv_type_long_long" >&6
17348
17349echo "$as_me:$LINENO: checking size of long long" >&5
17350echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17351if test "${ac_cv_sizeof_long_long+set}" = set; then
17352 echo $ECHO_N "(cached) $ECHO_C" >&6
17353else
17354 if test "$ac_cv_type_long_long" = yes; then
17355 # The cast to unsigned long works around a bug in the HP C Compiler
17356 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17357 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17358 # This bug is HP SR number 8606223364.
17359 if test "$cross_compiling" = yes; then
17360 # Depending upon the size, compute the lo and hi bounds.
17361cat >conftest.$ac_ext <<_ACEOF
17362/* confdefs.h. */
17363_ACEOF
17364cat confdefs.h >>conftest.$ac_ext
17365cat >>conftest.$ac_ext <<_ACEOF
17366/* end confdefs.h. */
17367$ac_includes_default
17368int
17369main ()
17370{
17371static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17372test_array [0] = 0
17373
17374 ;
17375 return 0;
17376}
17377_ACEOF
17378rm -f conftest.$ac_objext
17379if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 17380 (eval $ac_compile) 2>conftest.er1
a848cd7e 17381 ac_status=$?
ac1cb8d3
VS
17382 grep -v '^ *+' conftest.er1 >conftest.err
17383 rm -f conftest.er1
17384 cat conftest.err >&5
a848cd7e
SC
17385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17386 (exit $ac_status); } &&
d1c38808 17387 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
17388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17389 (eval $ac_try) 2>&5
17390 ac_status=$?
17391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17392 (exit $ac_status); }; } &&
17393 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
17394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17395 (eval $ac_try) 2>&5
17396 ac_status=$?
17397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17398 (exit $ac_status); }; }; then
17399 ac_lo=0 ac_mid=0
17400 while :; do
17401 cat >conftest.$ac_ext <<_ACEOF
17402/* confdefs.h. */
17403_ACEOF
17404cat confdefs.h >>conftest.$ac_ext
17405cat >>conftest.$ac_ext <<_ACEOF
17406/* end confdefs.h. */
17407$ac_includes_default
17408int
17409main ()
17410{
17411static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17412test_array [0] = 0
17413
17414 ;
17415 return 0;
17416}
17417_ACEOF
17418rm -f conftest.$ac_objext
17419if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 17420 (eval $ac_compile) 2>conftest.er1
a848cd7e 17421 ac_status=$?
ac1cb8d3
VS
17422 grep -v '^ *+' conftest.er1 >conftest.err
17423 rm -f conftest.er1
17424 cat conftest.err >&5
a848cd7e
SC
17425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17426 (exit $ac_status); } &&
d1c38808 17427 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
17428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17429 (eval $ac_try) 2>&5
17430 ac_status=$?
17431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17432 (exit $ac_status); }; } &&
17433 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
17434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17435 (eval $ac_try) 2>&5
17436 ac_status=$?
17437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17438 (exit $ac_status); }; }; then
17439 ac_hi=$ac_mid; break
17440else
17441 echo "$as_me: failed program was:" >&5
17442sed 's/^/| /' conftest.$ac_ext >&5
17443
17444ac_lo=`expr $ac_mid + 1`
ac1cb8d3
VS
17445 if test $ac_lo -le $ac_mid; then
17446 ac_lo= ac_hi=
17447 break
17448 fi
17449 ac_mid=`expr 2 '*' $ac_mid + 1`
a848cd7e 17450fi
ac1cb8d3 17451rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
17452 done
17453else
17454 echo "$as_me: failed program was:" >&5
17455sed 's/^/| /' conftest.$ac_ext >&5
17456
17457cat >conftest.$ac_ext <<_ACEOF
17458/* confdefs.h. */
17459_ACEOF
17460cat confdefs.h >>conftest.$ac_ext
17461cat >>conftest.$ac_ext <<_ACEOF
17462/* end confdefs.h. */
17463$ac_includes_default
17464int
17465main ()
17466{
17467static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17468test_array [0] = 0
17469
17470 ;
17471 return 0;
17472}
17473_ACEOF
17474rm -f conftest.$ac_objext
17475if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 17476 (eval $ac_compile) 2>conftest.er1
a848cd7e 17477 ac_status=$?
ac1cb8d3
VS
17478 grep -v '^ *+' conftest.er1 >conftest.err
17479 rm -f conftest.er1
17480 cat conftest.err >&5
a848cd7e
SC
17481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17482 (exit $ac_status); } &&
d1c38808 17483 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
17484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17485 (eval $ac_try) 2>&5
17486 ac_status=$?
17487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17488 (exit $ac_status); }; } &&
17489 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
17490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17491 (eval $ac_try) 2>&5
17492 ac_status=$?
17493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17494 (exit $ac_status); }; }; then
17495 ac_hi=-1 ac_mid=-1
17496 while :; do
17497 cat >conftest.$ac_ext <<_ACEOF
17498/* confdefs.h. */
17499_ACEOF
17500cat confdefs.h >>conftest.$ac_ext
17501cat >>conftest.$ac_ext <<_ACEOF
17502/* end confdefs.h. */
17503$ac_includes_default
17504int
17505main ()
17506{
17507static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17508test_array [0] = 0
17509
17510 ;
17511 return 0;
17512}
17513_ACEOF
17514rm -f conftest.$ac_objext
17515if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 17516 (eval $ac_compile) 2>conftest.er1
a848cd7e 17517 ac_status=$?
ac1cb8d3
VS
17518 grep -v '^ *+' conftest.er1 >conftest.err
17519 rm -f conftest.er1
17520 cat conftest.err >&5
a848cd7e
SC
17521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17522 (exit $ac_status); } &&
d1c38808 17523 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
17524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17525 (eval $ac_try) 2>&5
17526 ac_status=$?
17527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17528 (exit $ac_status); }; } &&
17529 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
17530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17531 (eval $ac_try) 2>&5
17532 ac_status=$?
17533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17534 (exit $ac_status); }; }; then
17535 ac_lo=$ac_mid; break
17536else
17537 echo "$as_me: failed program was:" >&5
17538sed 's/^/| /' conftest.$ac_ext >&5
17539
17540ac_hi=`expr '(' $ac_mid ')' - 1`
ac1cb8d3
VS
17541 if test $ac_mid -le $ac_hi; then
17542 ac_lo= ac_hi=
17543 break
17544 fi
17545 ac_mid=`expr 2 '*' $ac_mid`
a848cd7e 17546fi
ac1cb8d3 17547rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
17548 done
17549else
17550 echo "$as_me: failed program was:" >&5
17551sed 's/^/| /' conftest.$ac_ext >&5
17552
17553ac_lo= ac_hi=
17554fi
ac1cb8d3 17555rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e 17556fi
ac1cb8d3 17557rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
17558# Binary search between lo and hi bounds.
17559while test "x$ac_lo" != "x$ac_hi"; do
17560 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17561 cat >conftest.$ac_ext <<_ACEOF
17562/* confdefs.h. */
17563_ACEOF
17564cat confdefs.h >>conftest.$ac_ext
17565cat >>conftest.$ac_ext <<_ACEOF
17566/* end confdefs.h. */
17567$ac_includes_default
17568int
17569main ()
17570{
17571static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17572test_array [0] = 0
17573
17574 ;
17575 return 0;
17576}
17577_ACEOF
17578rm -f conftest.$ac_objext
17579if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 17580 (eval $ac_compile) 2>conftest.er1
a848cd7e 17581 ac_status=$?
ac1cb8d3
VS
17582 grep -v '^ *+' conftest.er1 >conftest.err
17583 rm -f conftest.er1
17584 cat conftest.err >&5
a848cd7e
SC
17585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17586 (exit $ac_status); } &&
d1c38808 17587 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
17588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17589 (eval $ac_try) 2>&5
17590 ac_status=$?
17591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17592 (exit $ac_status); }; } &&
17593 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
17594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17595 (eval $ac_try) 2>&5
17596 ac_status=$?
17597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17598 (exit $ac_status); }; }; then
17599 ac_hi=$ac_mid
17600else
17601 echo "$as_me: failed program was:" >&5
17602sed 's/^/| /' conftest.$ac_ext >&5
17603
17604ac_lo=`expr '(' $ac_mid ')' + 1`
17605fi
ac1cb8d3 17606rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
17607done
17608case $ac_lo in
17609?*) ac_cv_sizeof_long_long=$ac_lo;;
17610'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17611See \`config.log' for more details." >&5
17612echo "$as_me: error: cannot compute sizeof (long long), 77
17613See \`config.log' for more details." >&2;}
17614 { (exit 1); exit 1; }; } ;;
17615esac
17616else
17617 if test "$cross_compiling" = yes; then
d1c38808
VZ
17618 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17619echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
a848cd7e
SC
17620 { (exit 1); exit 1; }; }
17621else
17622 cat >conftest.$ac_ext <<_ACEOF
17623/* confdefs.h. */
17624_ACEOF
17625cat confdefs.h >>conftest.$ac_ext
17626cat >>conftest.$ac_ext <<_ACEOF
17627/* end confdefs.h. */
17628$ac_includes_default
17629long longval () { return (long) (sizeof (long long)); }
17630unsigned long ulongval () { return (long) (sizeof (long long)); }
17631#include <stdio.h>
17632#include <stdlib.h>
17633int
17634main ()
17635{
17636
17637 FILE *f = fopen ("conftest.val", "w");
17638 if (! f)
17639 exit (1);
17640 if (((long) (sizeof (long long))) < 0)
17641 {
17642 long i = longval ();
17643 if (i != ((long) (sizeof (long long))))
17644 exit (1);
17645 fprintf (f, "%ld\n", i);
17646 }
17647 else
17648 {
17649 unsigned long i = ulongval ();
17650 if (i != ((long) (sizeof (long long))))
17651 exit (1);
17652 fprintf (f, "%lu\n", i);
17653 }
17654 exit (ferror (f) || fclose (f) != 0);
17655
17656 ;
17657 return 0;
17658}
17659_ACEOF
17660rm -f conftest$ac_exeext
17661if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17662 (eval $ac_link) 2>&5
17663 ac_status=$?
17664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17665 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17667 (eval $ac_try) 2>&5
17668 ac_status=$?
17669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17670 (exit $ac_status); }; }; then
17671 ac_cv_sizeof_long_long=`cat conftest.val`
17672else
17673 echo "$as_me: program exited with status $ac_status" >&5
17674echo "$as_me: failed program was:" >&5
17675sed 's/^/| /' conftest.$ac_ext >&5
17676
17677( exit $ac_status )
17678{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17679See \`config.log' for more details." >&5
17680echo "$as_me: error: cannot compute sizeof (long long), 77
17681See \`config.log' for more details." >&2;}
17682 { (exit 1); exit 1; }; }
17683fi
ac1cb8d3 17684rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
17685fi
17686fi
17687rm -f conftest.val
17688else
17689 ac_cv_sizeof_long_long=0
17690fi
17691fi
17692echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17693echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17694cat >>confdefs.h <<_ACEOF
17695#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17696_ACEOF
17697
17698
17699 if test "$ac_cv_sizeof_long_long" != "0"; then
17700 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
17701 fi
17702 ;;
17703 * )
17704 echo "$as_me:$LINENO: checking for long long" >&5
17705echo $ECHO_N "checking for long long... $ECHO_C" >&6
17706if test "${ac_cv_type_long_long+set}" = set; then
17707 echo $ECHO_N "(cached) $ECHO_C" >&6
17708else
17709 cat >conftest.$ac_ext <<_ACEOF
17710/* confdefs.h. */
17711_ACEOF
17712cat confdefs.h >>conftest.$ac_ext
17713cat >>conftest.$ac_ext <<_ACEOF
17714/* end confdefs.h. */
17715$ac_includes_default
17716int
17717main ()
17718{
17719if ((long long *) 0)
17720 return 0;
17721if (sizeof (long long))
17722 return 0;
17723 ;
17724 return 0;
17725}
17726_ACEOF
17727rm -f conftest.$ac_objext
17728if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 17729 (eval $ac_compile) 2>conftest.er1
a848cd7e 17730 ac_status=$?
ac1cb8d3
VS
17731 grep -v '^ *+' conftest.er1 >conftest.err
17732 rm -f conftest.er1
17733 cat conftest.err >&5
a848cd7e
SC
17734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17735 (exit $ac_status); } &&
d1c38808 17736 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
17737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17738 (eval $ac_try) 2>&5
17739 ac_status=$?
17740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17741 (exit $ac_status); }; } &&
17742 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
17743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17744 (eval $ac_try) 2>&5
17745 ac_status=$?
17746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17747 (exit $ac_status); }; }; then
17748 ac_cv_type_long_long=yes
17749else
17750 echo "$as_me: failed program was:" >&5
17751sed 's/^/| /' conftest.$ac_ext >&5
17752
17753ac_cv_type_long_long=no
17754fi
ac1cb8d3 17755rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
17756fi
17757echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17758echo "${ECHO_T}$ac_cv_type_long_long" >&6
17759
17760echo "$as_me:$LINENO: checking size of long long" >&5
17761echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17762if test "${ac_cv_sizeof_long_long+set}" = set; then
17763 echo $ECHO_N "(cached) $ECHO_C" >&6
17764else
17765 if test "$ac_cv_type_long_long" = yes; then
17766 # The cast to unsigned long works around a bug in the HP C Compiler
17767 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17768 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17769 # This bug is HP SR number 8606223364.
17770 if test "$cross_compiling" = yes; then
17771 # Depending upon the size, compute the lo and hi bounds.
17772cat >conftest.$ac_ext <<_ACEOF
17773/* confdefs.h. */
17774_ACEOF
17775cat confdefs.h >>conftest.$ac_ext
17776cat >>conftest.$ac_ext <<_ACEOF
17777/* end confdefs.h. */
17778$ac_includes_default
17779int
17780main ()
17781{
17782static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17783test_array [0] = 0
17784
17785 ;
17786 return 0;
17787}
17788_ACEOF
17789rm -f conftest.$ac_objext
17790if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 17791 (eval $ac_compile) 2>conftest.er1
a848cd7e 17792 ac_status=$?
ac1cb8d3
VS
17793 grep -v '^ *+' conftest.er1 >conftest.err
17794 rm -f conftest.er1
17795 cat conftest.err >&5
a848cd7e
SC
17796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17797 (exit $ac_status); } &&
d1c38808 17798 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
17799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17800 (eval $ac_try) 2>&5
17801 ac_status=$?
17802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17803 (exit $ac_status); }; } &&
17804 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
17805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17806 (eval $ac_try) 2>&5
17807 ac_status=$?
17808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17809 (exit $ac_status); }; }; then
17810 ac_lo=0 ac_mid=0
17811 while :; do
17812 cat >conftest.$ac_ext <<_ACEOF
17813/* confdefs.h. */
17814_ACEOF
17815cat confdefs.h >>conftest.$ac_ext
17816cat >>conftest.$ac_ext <<_ACEOF
17817/* end confdefs.h. */
17818$ac_includes_default
17819int
17820main ()
17821{
17822static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17823test_array [0] = 0
17824
17825 ;
17826 return 0;
17827}
17828_ACEOF
17829rm -f conftest.$ac_objext
17830if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 17831 (eval $ac_compile) 2>conftest.er1
a848cd7e 17832 ac_status=$?
ac1cb8d3
VS
17833 grep -v '^ *+' conftest.er1 >conftest.err
17834 rm -f conftest.er1
17835 cat conftest.err >&5
a848cd7e
SC
17836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17837 (exit $ac_status); } &&
d1c38808 17838 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
17839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17840 (eval $ac_try) 2>&5
17841 ac_status=$?
17842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17843 (exit $ac_status); }; } &&
17844 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
17845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17846 (eval $ac_try) 2>&5
17847 ac_status=$?
17848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17849 (exit $ac_status); }; }; then
17850 ac_hi=$ac_mid; break
17851else
17852 echo "$as_me: failed program was:" >&5
17853sed 's/^/| /' conftest.$ac_ext >&5
17854
17855ac_lo=`expr $ac_mid + 1`
ac1cb8d3
VS
17856 if test $ac_lo -le $ac_mid; then
17857 ac_lo= ac_hi=
17858 break
17859 fi
17860 ac_mid=`expr 2 '*' $ac_mid + 1`
a848cd7e 17861fi
ac1cb8d3 17862rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
17863 done
17864else
17865 echo "$as_me: failed program was:" >&5
17866sed 's/^/| /' conftest.$ac_ext >&5
17867
17868cat >conftest.$ac_ext <<_ACEOF
17869/* confdefs.h. */
17870_ACEOF
17871cat confdefs.h >>conftest.$ac_ext
17872cat >>conftest.$ac_ext <<_ACEOF
17873/* end confdefs.h. */
17874$ac_includes_default
17875int
17876main ()
17877{
17878static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17879test_array [0] = 0
17880
17881 ;
17882 return 0;
17883}
17884_ACEOF
17885rm -f conftest.$ac_objext
17886if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 17887 (eval $ac_compile) 2>conftest.er1
a848cd7e 17888 ac_status=$?
ac1cb8d3
VS
17889 grep -v '^ *+' conftest.er1 >conftest.err
17890 rm -f conftest.er1
17891 cat conftest.err >&5
a848cd7e
SC
17892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17893 (exit $ac_status); } &&
d1c38808 17894 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
17895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17896 (eval $ac_try) 2>&5
17897 ac_status=$?
17898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17899 (exit $ac_status); }; } &&
17900 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
17901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17902 (eval $ac_try) 2>&5
17903 ac_status=$?
17904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17905 (exit $ac_status); }; }; then
17906 ac_hi=-1 ac_mid=-1
17907 while :; do
17908 cat >conftest.$ac_ext <<_ACEOF
17909/* confdefs.h. */
17910_ACEOF
17911cat confdefs.h >>conftest.$ac_ext
17912cat >>conftest.$ac_ext <<_ACEOF
17913/* end confdefs.h. */
17914$ac_includes_default
17915int
17916main ()
17917{
17918static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17919test_array [0] = 0
17920
17921 ;
17922 return 0;
17923}
17924_ACEOF
17925rm -f conftest.$ac_objext
17926if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 17927 (eval $ac_compile) 2>conftest.er1
a848cd7e 17928 ac_status=$?
ac1cb8d3
VS
17929 grep -v '^ *+' conftest.er1 >conftest.err
17930 rm -f conftest.er1
17931 cat conftest.err >&5
a848cd7e
SC
17932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17933 (exit $ac_status); } &&
d1c38808 17934 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
17935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17936 (eval $ac_try) 2>&5
17937 ac_status=$?
17938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17939 (exit $ac_status); }; } &&
17940 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
17941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17942 (eval $ac_try) 2>&5
17943 ac_status=$?
17944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17945 (exit $ac_status); }; }; then
17946 ac_lo=$ac_mid; break
17947else
17948 echo "$as_me: failed program was:" >&5
17949sed 's/^/| /' conftest.$ac_ext >&5
17950
17951ac_hi=`expr '(' $ac_mid ')' - 1`
ac1cb8d3
VS
17952 if test $ac_mid -le $ac_hi; then
17953 ac_lo= ac_hi=
17954 break
17955 fi
17956 ac_mid=`expr 2 '*' $ac_mid`
a848cd7e 17957fi
ac1cb8d3 17958rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
17959 done
17960else
17961 echo "$as_me: failed program was:" >&5
17962sed 's/^/| /' conftest.$ac_ext >&5
17963
17964ac_lo= ac_hi=
17965fi
ac1cb8d3 17966rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e 17967fi
ac1cb8d3 17968rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
17969# Binary search between lo and hi bounds.
17970while test "x$ac_lo" != "x$ac_hi"; do
17971 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17972 cat >conftest.$ac_ext <<_ACEOF
17973/* confdefs.h. */
17974_ACEOF
17975cat confdefs.h >>conftest.$ac_ext
17976cat >>conftest.$ac_ext <<_ACEOF
17977/* end confdefs.h. */
17978$ac_includes_default
17979int
17980main ()
17981{
17982static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17983test_array [0] = 0
17984
17985 ;
17986 return 0;
17987}
17988_ACEOF
17989rm -f conftest.$ac_objext
17990if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 17991 (eval $ac_compile) 2>conftest.er1
a848cd7e 17992 ac_status=$?
ac1cb8d3
VS
17993 grep -v '^ *+' conftest.er1 >conftest.err
17994 rm -f conftest.er1
17995 cat conftest.err >&5
a848cd7e
SC
17996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17997 (exit $ac_status); } &&
d1c38808 17998 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
17999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18000 (eval $ac_try) 2>&5
18001 ac_status=$?
18002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18003 (exit $ac_status); }; } &&
18004 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
18005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18006 (eval $ac_try) 2>&5
18007 ac_status=$?
18008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18009 (exit $ac_status); }; }; then
18010 ac_hi=$ac_mid
18011else
18012 echo "$as_me: failed program was:" >&5
18013sed 's/^/| /' conftest.$ac_ext >&5
18014
18015ac_lo=`expr '(' $ac_mid ')' + 1`
18016fi
ac1cb8d3 18017rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
18018done
18019case $ac_lo in
18020?*) ac_cv_sizeof_long_long=$ac_lo;;
18021'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18022See \`config.log' for more details." >&5
18023echo "$as_me: error: cannot compute sizeof (long long), 77
18024See \`config.log' for more details." >&2;}
18025 { (exit 1); exit 1; }; } ;;
18026esac
18027else
18028 if test "$cross_compiling" = yes; then
d1c38808
VZ
18029 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18030echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
a848cd7e
SC
18031 { (exit 1); exit 1; }; }
18032else
18033 cat >conftest.$ac_ext <<_ACEOF
18034/* confdefs.h. */
18035_ACEOF
18036cat confdefs.h >>conftest.$ac_ext
18037cat >>conftest.$ac_ext <<_ACEOF
18038/* end confdefs.h. */
18039$ac_includes_default
18040long longval () { return (long) (sizeof (long long)); }
18041unsigned long ulongval () { return (long) (sizeof (long long)); }
18042#include <stdio.h>
18043#include <stdlib.h>
18044int
18045main ()
18046{
18047
18048 FILE *f = fopen ("conftest.val", "w");
18049 if (! f)
18050 exit (1);
18051 if (((long) (sizeof (long long))) < 0)
18052 {
18053 long i = longval ();
18054 if (i != ((long) (sizeof (long long))))
18055 exit (1);
18056 fprintf (f, "%ld\n", i);
18057 }
18058 else
18059 {
18060 unsigned long i = ulongval ();
18061 if (i != ((long) (sizeof (long long))))
18062 exit (1);
18063 fprintf (f, "%lu\n", i);
18064 }
18065 exit (ferror (f) || fclose (f) != 0);
18066
18067 ;
18068 return 0;
18069}
18070_ACEOF
18071rm -f conftest$ac_exeext
18072if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18073 (eval $ac_link) 2>&5
18074 ac_status=$?
18075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18076 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18078 (eval $ac_try) 2>&5
18079 ac_status=$?
18080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18081 (exit $ac_status); }; }; then
18082 ac_cv_sizeof_long_long=`cat conftest.val`
18083else
18084 echo "$as_me: program exited with status $ac_status" >&5
18085echo "$as_me: failed program was:" >&5
18086sed 's/^/| /' conftest.$ac_ext >&5
18087
18088( exit $ac_status )
18089{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18090See \`config.log' for more details." >&5
18091echo "$as_me: error: cannot compute sizeof (long long), 77
18092See \`config.log' for more details." >&2;}
18093 { (exit 1); exit 1; }; }
18094fi
ac1cb8d3 18095rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
18096fi
18097fi
18098rm -f conftest.val
18099else
18100 ac_cv_sizeof_long_long=0
18101fi
18102fi
18103echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18104echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18105cat >>confdefs.h <<_ACEOF
18106#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18107_ACEOF
18108
18109
18110esac
18111
18112echo "$as_me:$LINENO: checking size of wchar_t" >&5
18113echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
18114if test "${wx_cv_sizeof_wchar_t+set}" = set; then
18115 echo $ECHO_N "(cached) $ECHO_C" >&6
18116else
18117
18118 if test "$cross_compiling" = yes; then
18119
18120 case "${host}" in
18121 *-pc-msdosdjgpp )
18122 wx_cv_sizeof_wchar_t=0
18123 ;;
18124 * )
18125 wx_cv_sizeof_wchar_t=4
18126 ;;
18127 esac
18128
18129
18130else
18131 cat >conftest.$ac_ext <<_ACEOF
18132/* confdefs.h. */
18133_ACEOF
18134cat confdefs.h >>conftest.$ac_ext
18135cat >>conftest.$ac_ext <<_ACEOF
18136/* end confdefs.h. */
18137
18138 /* DJGPP only has fake wchar_t: */
18139 #ifdef __DJGPP__
18140 # error "fake wchar_t"
18141 #endif
18142 #ifdef HAVE_WCHAR_H
18143 # ifdef __CYGWIN__
18144 # include <stddef.h>
18145 # endif
18146 # include <wchar.h>
18147 #endif
18148 #ifdef HAVE_STDLIB_H
18149 # include <stdlib.h>
18150 #endif
18151 #include <stdio.h>
18152 int main()
18153 {
18154 FILE *f=fopen("conftestval", "w");
18155 if (!f) exit(1);
18156 fprintf(f, "%i", sizeof(wchar_t));
18157 exit(0);
18158 }
18159
18160_ACEOF
18161rm -f conftest$ac_exeext
18162if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18163 (eval $ac_link) 2>&5
18164 ac_status=$?
18165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18166 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18168 (eval $ac_try) 2>&5
18169 ac_status=$?
18170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18171 (exit $ac_status); }; }; then
18172 wx_cv_sizeof_wchar_t=`cat conftestval`
18173else
18174 echo "$as_me: program exited with status $ac_status" >&5
18175echo "$as_me: failed program was:" >&5
18176sed 's/^/| /' conftest.$ac_ext >&5
18177
18178( exit $ac_status )
18179wx_cv_sizeof_wchar_t=0
18180fi
ac1cb8d3 18181rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
18182fi
18183
18184fi
18185echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
18186echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
18187
18188cat >>confdefs.h <<_ACEOF
18189#define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
18190_ACEOF
18191
18192
ba3d13e1
VZ
18193echo "$as_me:$LINENO: checking for va_copy" >&5
18194echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
18195if test "${wx_cv_func_va_copy+set}" = set; then
18196 echo $ECHO_N "(cached) $ECHO_C" >&6
18197else
18198
18199 cat >conftest.$ac_ext <<_ACEOF
18200
18201 #include <stdarg.h>
18202 void foo(char *f, ...)
18203 {
18204 va_list ap1, ap2;
18205 va_start(ap1, f);
18206 va_copy(ap2, ap1);
18207 va_end(ap2);
18208 va_end(ap1);
18209 }
18210_ACEOF
18211rm -f conftest.$ac_objext conftest$ac_exeext
18212if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18213 (eval $ac_link) 2>conftest.er1
18214 ac_status=$?
18215 grep -v '^ *+' conftest.er1 >conftest.err
18216 rm -f conftest.er1
18217 cat conftest.err >&5
18218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18219 (exit $ac_status); } &&
d1c38808 18220 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ba3d13e1
VZ
18221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18222 (eval $ac_try) 2>&5
18223 ac_status=$?
18224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18225 (exit $ac_status); }; } &&
18226 { ac_try='test -s conftest$ac_exeext'
18227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18228 (eval $ac_try) 2>&5
18229 ac_status=$?
18230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18231 (exit $ac_status); }; }; then
18232 wx_cv_func_va_copy=yes
18233else
18234 echo "$as_me: failed program was:" >&5
18235sed 's/^/| /' conftest.$ac_ext >&5
18236
18237wx_cv_func_va_copy=no
18238
18239fi
18240rm -f conftest.err conftest.$ac_objext \
18241 conftest$ac_exeext conftest.$ac_ext
18242
18243
18244fi
18245echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
18246echo "${ECHO_T}$wx_cv_func_va_copy" >&6
18247
18248if test $wx_cv_func_va_copy = "yes"; then
18249 cat >>confdefs.h <<\_ACEOF
18250#define HAVE_VA_COPY 1
18251_ACEOF
18252
18253else
18254 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
18255echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
18256if test "${wx_cv_type_va_list_lvalue+set}" = set; then
18257 echo $ECHO_N "(cached) $ECHO_C" >&6
18258else
18259
18260 if test "$cross_compiling" = yes; then
18261 wx_cv_type_va_list_lvalue=yes
18262
18263else
18264 cat >conftest.$ac_ext <<_ACEOF
18265
18266 #include <stdarg.h>
18267 int foo(char *f, ...)
18268 {
18269 va_list ap1, ap2;
18270 va_start(ap1, f);
18271 ap2 = ap1;
18272 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
18273 return 1;
18274 va_end(ap2);
18275 va_end(ap1);
18276 return 0;
18277 }
18278 int main()
18279 {
18280 return foo("hi", 17);
18281 }
18282_ACEOF
18283rm -f conftest$ac_exeext
18284if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18285 (eval $ac_link) 2>&5
18286 ac_status=$?
18287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18288 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18290 (eval $ac_try) 2>&5
18291 ac_status=$?
18292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18293 (exit $ac_status); }; }; then
18294 wx_cv_type_va_list_lvalue=yes
18295else
18296 echo "$as_me: program exited with status $ac_status" >&5
18297echo "$as_me: failed program was:" >&5
18298sed 's/^/| /' conftest.$ac_ext >&5
18299
18300( exit $ac_status )
18301wx_cv_type_va_list_lvalue=no
18302fi
18303rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18304fi
18305
18306
18307fi
18308echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
18309echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
18310
18311 if test $wx_cv_type_va_list_lvalue != "yes"; then
18312 cat >>confdefs.h <<\_ACEOF
18313#define VA_LIST_IS_ARRAY 1
18314_ACEOF
18315
18316 fi
18317fi
18318
a848cd7e
SC
18319# Check whether --enable-largefile or --disable-largefile was given.
18320if test "${enable_largefile+set}" = set; then
18321 enableval="$enable_largefile"
18322
18323fi;
18324if test "$enable_largefile" != no; then
18325 wx_largefile=no
18326
18327 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
18328echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
18329if test "${ac_cv_sys_file_offset_bits+set}" = set; then
18330 echo $ECHO_N "(cached) $ECHO_C" >&6
18331else
18332
18333 cat >conftest.$ac_ext <<_ACEOF
18334/* confdefs.h. */
18335_ACEOF
18336cat confdefs.h >>conftest.$ac_ext
18337cat >>conftest.$ac_ext <<_ACEOF
18338/* end confdefs.h. */
18339#define _FILE_OFFSET_BITS 64
18340 #include <sys/types.h>
18341int
18342main ()
18343{
18344typedef struct {
18345 unsigned int field: sizeof(off_t) == 8;
18346} wxlf;
18347
18348 ;
18349 return 0;
18350}
18351_ACEOF
18352rm -f conftest.$ac_objext
18353if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 18354 (eval $ac_compile) 2>conftest.er1
a848cd7e 18355 ac_status=$?
ac1cb8d3
VS
18356 grep -v '^ *+' conftest.er1 >conftest.err
18357 rm -f conftest.er1
18358 cat conftest.err >&5
a848cd7e
SC
18359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18360 (exit $ac_status); } &&
d1c38808 18361 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
18362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18363 (eval $ac_try) 2>&5
18364 ac_status=$?
18365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18366 (exit $ac_status); }; } &&
18367 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
18368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18369 (eval $ac_try) 2>&5
18370 ac_status=$?
18371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18372 (exit $ac_status); }; }; then
18373 ac_cv_sys_file_offset_bits=64
18374else
18375 echo "$as_me: failed program was:" >&5
18376sed 's/^/| /' conftest.$ac_ext >&5
18377
18378ac_cv_sys_file_offset_bits=no
18379fi
ac1cb8d3 18380rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
18381
18382
18383fi
18384echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
18385echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
18386
18387 if test "$ac_cv_sys_file_offset_bits" != no; then
18388 wx_largefile=yes
18389 cat >>confdefs.h <<_ACEOF
18390#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18391_ACEOF
18392
18393 fi
18394
18395 if test "x$wx_largefile" != "xyes"; then
18396
18397 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
18398echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
18399if test "${ac_cv_sys_large_files+set}" = set; then
18400 echo $ECHO_N "(cached) $ECHO_C" >&6
18401else
18402
18403 cat >conftest.$ac_ext <<_ACEOF
18404/* confdefs.h. */
18405_ACEOF
18406cat confdefs.h >>conftest.$ac_ext
18407cat >>conftest.$ac_ext <<_ACEOF
18408/* end confdefs.h. */
18409#define _LARGE_FILES 1
18410 #include <sys/types.h>
18411int
18412main ()
18413{
18414typedef struct {
18415 unsigned int field: sizeof(off_t) == 8;
18416} wxlf;
18417
18418 ;
18419 return 0;
18420}
18421_ACEOF
18422rm -f conftest.$ac_objext
18423if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 18424 (eval $ac_compile) 2>conftest.er1
a848cd7e 18425 ac_status=$?
ac1cb8d3
VS
18426 grep -v '^ *+' conftest.er1 >conftest.err
18427 rm -f conftest.er1
18428 cat conftest.err >&5
a848cd7e
SC
18429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18430 (exit $ac_status); } &&
d1c38808 18431 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
18432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18433 (eval $ac_try) 2>&5
18434 ac_status=$?
18435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18436 (exit $ac_status); }; } &&
18437 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
18438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18439 (eval $ac_try) 2>&5
18440 ac_status=$?
18441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18442 (exit $ac_status); }; }; then
18443 ac_cv_sys_large_files=1
18444else
18445 echo "$as_me: failed program was:" >&5
18446sed 's/^/| /' conftest.$ac_ext >&5
18447
18448ac_cv_sys_large_files=no
18449fi
ac1cb8d3 18450rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
18451
18452
18453fi
18454echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
18455echo "${ECHO_T}$ac_cv_sys_large_files" >&6
18456
18457 if test "$ac_cv_sys_large_files" != no; then
18458 wx_largefile=yes
18459 cat >>confdefs.h <<_ACEOF
18460#define _LARGE_FILES $ac_cv_sys_large_files
18461_ACEOF
18462
18463 fi
18464
18465 fi
18466
18467 echo "$as_me:$LINENO: checking if large file support is available" >&5
18468echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
18469 if test "x$wx_largefile" = "xyes"; then
18470 cat >>confdefs.h <<\_ACEOF
18471#define HAVE_LARGEFILE_SUPPORT 1
18472_ACEOF
18473
18474 fi
18475 echo "$as_me:$LINENO: result: $wx_largefile" >&5
18476echo "${ECHO_T}$wx_largefile" >&6
18477fi
18478
18479
18480if test "x$wx_largefile" = "xyes"; then
18481 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
18482 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
18483 else
18484 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
18485 fi
18486 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
18487fi
18488
18489echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
18490echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
18491if test "${ac_cv_c_bigendian+set}" = set; then
18492 echo $ECHO_N "(cached) $ECHO_C" >&6
18493else
18494 ac_cv_c_bigendian=unknown
18495# See if sys/param.h defines the BYTE_ORDER macro.
18496cat >conftest.$ac_ext <<_ACEOF
18497/* confdefs.h. */
18498_ACEOF
18499cat confdefs.h >>conftest.$ac_ext
18500cat >>conftest.$ac_ext <<_ACEOF
18501/* end confdefs.h. */
18502#include <sys/types.h>
18503#include <sys/param.h>
18504int
18505main ()
18506{
18507
18508#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
18509 bogus endian macros
18510#endif
18511 ;
18512 return 0;
18513}
18514_ACEOF
18515rm -f conftest.$ac_objext
18516if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 18517 (eval $ac_compile) 2>conftest.er1
a848cd7e 18518 ac_status=$?
ac1cb8d3
VS
18519 grep -v '^ *+' conftest.er1 >conftest.err
18520 rm -f conftest.er1
18521 cat conftest.err >&5
a848cd7e
SC
18522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18523 (exit $ac_status); } &&
d1c38808 18524 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
18525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18526 (eval $ac_try) 2>&5
18527 ac_status=$?
18528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18529 (exit $ac_status); }; } &&
18530 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
18531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18532 (eval $ac_try) 2>&5
18533 ac_status=$?
18534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18535 (exit $ac_status); }; }; then
18536 # It does; now see whether it defined to BIG_ENDIAN or not.
18537cat >conftest.$ac_ext <<_ACEOF
18538/* confdefs.h. */
18539_ACEOF
18540cat confdefs.h >>conftest.$ac_ext
18541cat >>conftest.$ac_ext <<_ACEOF
18542/* end confdefs.h. */
18543#include <sys/types.h>
18544#include <sys/param.h>
18545int
18546main ()
18547{
18548
18549#if BYTE_ORDER != BIG_ENDIAN
18550 not big endian
18551#endif
18552 ;
18553 return 0;
18554}
18555_ACEOF
18556rm -f conftest.$ac_objext
18557if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 18558 (eval $ac_compile) 2>conftest.er1
a848cd7e 18559 ac_status=$?
ac1cb8d3
VS
18560 grep -v '^ *+' conftest.er1 >conftest.err
18561 rm -f conftest.er1
18562 cat conftest.err >&5
a848cd7e
SC
18563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18564 (exit $ac_status); } &&
d1c38808 18565 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
18566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18567 (eval $ac_try) 2>&5
18568 ac_status=$?
18569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18570 (exit $ac_status); }; } &&
18571 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
18572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18573 (eval $ac_try) 2>&5
18574 ac_status=$?
18575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18576 (exit $ac_status); }; }; then
18577 ac_cv_c_bigendian=yes
18578else
18579 echo "$as_me: failed program was:" >&5
18580sed 's/^/| /' conftest.$ac_ext >&5
18581
18582ac_cv_c_bigendian=no
18583fi
ac1cb8d3 18584rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
18585else
18586 echo "$as_me: failed program was:" >&5
18587sed 's/^/| /' conftest.$ac_ext >&5
18588
18589fi
ac1cb8d3 18590rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
18591if test $ac_cv_c_bigendian = unknown; then
18592if test "$cross_compiling" = yes; then
18593 ac_cv_c_bigendian=unknown
18594else
18595 cat >conftest.$ac_ext <<_ACEOF
18596/* confdefs.h. */
18597_ACEOF
18598cat confdefs.h >>conftest.$ac_ext
18599cat >>conftest.$ac_ext <<_ACEOF
18600/* end confdefs.h. */
18601main () {
18602 /* Are we little or big endian? From Harbison&Steele. */
18603 union
18604 {
18605 long l;
18606 char c[sizeof (long)];
18607 } u;
18608 u.l = 1;
18609 exit (u.c[sizeof (long) - 1] == 1);
18610}
18611_ACEOF
18612rm -f conftest$ac_exeext
18613if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18614 (eval $ac_link) 2>&5
18615 ac_status=$?
18616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18617 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18619 (eval $ac_try) 2>&5
18620 ac_status=$?
18621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18622 (exit $ac_status); }; }; then
18623 ac_cv_c_bigendian=no
18624else
18625 echo "$as_me: program exited with status $ac_status" >&5
18626echo "$as_me: failed program was:" >&5
18627sed 's/^/| /' conftest.$ac_ext >&5
18628
18629( exit $ac_status )
18630ac_cv_c_bigendian=yes
18631fi
ac1cb8d3 18632rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
18633fi
18634fi
18635fi
18636echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
18637echo "${ECHO_T}$ac_cv_c_bigendian" >&6
18638if test $ac_cv_c_bigendian = unknown; then
18639 { echo "$as_me:$LINENO: WARNING: Assuming little-endian target machine - this may be overriden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&5
18640echo "$as_me: WARNING: Assuming little-endian target machine - this may be overriden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&2;}
18641fi
18642if test $ac_cv_c_bigendian = yes; then
18643 cat >>confdefs.h <<\_ACEOF
18644#define WORDS_BIGENDIAN 1
18645_ACEOF
18646
18647fi
18648
18649
18650ac_ext=cc
18651ac_cpp='$CXXCPP $CPPFLAGS'
18652ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18653ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18654ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18655echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
18656echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
18657if test -z "$CXXCPP"; then
18658 if test "${ac_cv_prog_CXXCPP+set}" = set; then
18659 echo $ECHO_N "(cached) $ECHO_C" >&6
18660else
18661 # Double quotes because CXXCPP needs to be expanded
18662 for CXXCPP in "$CXX -E" "/lib/cpp"
18663 do
18664 ac_preproc_ok=false
18665for ac_cxx_preproc_warn_flag in '' yes
18666do
18667 # Use a header file that comes with gcc, so configuring glibc
18668 # with a fresh cross-compiler works.
18669 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18670 # <limits.h> exists even on freestanding compilers.
18671 # On the NeXT, cc -E runs the code through the compiler's parser,
18672 # not just through cpp. "Syntax error" is here to catch this case.
18673 cat >conftest.$ac_ext <<_ACEOF
18674/* confdefs.h. */
18675_ACEOF
18676cat confdefs.h >>conftest.$ac_ext
18677cat >>conftest.$ac_ext <<_ACEOF
18678/* end confdefs.h. */
18679#ifdef __STDC__
18680# include <limits.h>
18681#else
18682# include <assert.h>
18683#endif
ac1cb8d3 18684 Syntax error
a848cd7e
SC
18685_ACEOF
18686if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18687 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18688 ac_status=$?
18689 grep -v '^ *+' conftest.er1 >conftest.err
18690 rm -f conftest.er1
18691 cat conftest.err >&5
18692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18693 (exit $ac_status); } >/dev/null; then
18694 if test -s conftest.err; then
18695 ac_cpp_err=$ac_cxx_preproc_warn_flag
ac1cb8d3 18696 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
a848cd7e
SC
18697 else
18698 ac_cpp_err=
18699 fi
18700else
18701 ac_cpp_err=yes
18702fi
18703if test -z "$ac_cpp_err"; then
18704 :
18705else
18706 echo "$as_me: failed program was:" >&5
18707sed 's/^/| /' conftest.$ac_ext >&5
18708
18709 # Broken: fails on valid input.
18710continue
18711fi
18712rm -f conftest.err conftest.$ac_ext
18713
18714 # OK, works on sane cases. Now check whether non-existent headers
18715 # can be detected and how.
18716 cat >conftest.$ac_ext <<_ACEOF
18717/* confdefs.h. */
18718_ACEOF
18719cat confdefs.h >>conftest.$ac_ext
18720cat >>conftest.$ac_ext <<_ACEOF
18721/* end confdefs.h. */
18722#include <ac_nonexistent.h>
18723_ACEOF
18724if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18725 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18726 ac_status=$?
18727 grep -v '^ *+' conftest.er1 >conftest.err
18728 rm -f conftest.er1
18729 cat conftest.err >&5
18730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18731 (exit $ac_status); } >/dev/null; then
18732 if test -s conftest.err; then
18733 ac_cpp_err=$ac_cxx_preproc_warn_flag
ac1cb8d3 18734 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
a848cd7e
SC
18735 else
18736 ac_cpp_err=
18737 fi
18738else
18739 ac_cpp_err=yes
18740fi
18741if test -z "$ac_cpp_err"; then
18742 # Broken: success on invalid input.
18743continue
18744else
18745 echo "$as_me: failed program was:" >&5
18746sed 's/^/| /' conftest.$ac_ext >&5
18747
18748 # Passes both tests.
18749ac_preproc_ok=:
18750break
18751fi
18752rm -f conftest.err conftest.$ac_ext
18753
18754done
18755# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18756rm -f conftest.err conftest.$ac_ext
18757if $ac_preproc_ok; then
18758 break
18759fi
18760
18761 done
18762 ac_cv_prog_CXXCPP=$CXXCPP
18763
18764fi
18765 CXXCPP=$ac_cv_prog_CXXCPP
18766else
18767 ac_cv_prog_CXXCPP=$CXXCPP
18768fi
18769echo "$as_me:$LINENO: result: $CXXCPP" >&5
18770echo "${ECHO_T}$CXXCPP" >&6
18771ac_preproc_ok=false
18772for ac_cxx_preproc_warn_flag in '' yes
18773do
18774 # Use a header file that comes with gcc, so configuring glibc
18775 # with a fresh cross-compiler works.
18776 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18777 # <limits.h> exists even on freestanding compilers.
18778 # On the NeXT, cc -E runs the code through the compiler's parser,
18779 # not just through cpp. "Syntax error" is here to catch this case.
18780 cat >conftest.$ac_ext <<_ACEOF
18781/* confdefs.h. */
18782_ACEOF
18783cat confdefs.h >>conftest.$ac_ext
18784cat >>conftest.$ac_ext <<_ACEOF
18785/* end confdefs.h. */
18786#ifdef __STDC__
18787# include <limits.h>
18788#else
18789# include <assert.h>
18790#endif
ac1cb8d3 18791 Syntax error
a848cd7e
SC
18792_ACEOF
18793if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18794 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18795 ac_status=$?
18796 grep -v '^ *+' conftest.er1 >conftest.err
18797 rm -f conftest.er1
18798 cat conftest.err >&5
18799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18800 (exit $ac_status); } >/dev/null; then
18801 if test -s conftest.err; then
18802 ac_cpp_err=$ac_cxx_preproc_warn_flag
ac1cb8d3 18803 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
a848cd7e
SC
18804 else
18805 ac_cpp_err=
18806 fi
18807else
18808 ac_cpp_err=yes
18809fi
18810if test -z "$ac_cpp_err"; then
18811 :
18812else
18813 echo "$as_me: failed program was:" >&5
18814sed 's/^/| /' conftest.$ac_ext >&5
18815
18816 # Broken: fails on valid input.
18817continue
18818fi
18819rm -f conftest.err conftest.$ac_ext
18820
18821 # OK, works on sane cases. Now check whether non-existent headers
18822 # can be detected and how.
18823 cat >conftest.$ac_ext <<_ACEOF
18824/* confdefs.h. */
18825_ACEOF
18826cat confdefs.h >>conftest.$ac_ext
18827cat >>conftest.$ac_ext <<_ACEOF
18828/* end confdefs.h. */
18829#include <ac_nonexistent.h>
18830_ACEOF
18831if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18832 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18833 ac_status=$?
18834 grep -v '^ *+' conftest.er1 >conftest.err
18835 rm -f conftest.er1
18836 cat conftest.err >&5
18837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18838 (exit $ac_status); } >/dev/null; then
18839 if test -s conftest.err; then
18840 ac_cpp_err=$ac_cxx_preproc_warn_flag
ac1cb8d3 18841 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
a848cd7e
SC
18842 else
18843 ac_cpp_err=
18844 fi
18845else
18846 ac_cpp_err=yes
18847fi
18848if test -z "$ac_cpp_err"; then
18849 # Broken: success on invalid input.
18850continue
18851else
18852 echo "$as_me: failed program was:" >&5
18853sed 's/^/| /' conftest.$ac_ext >&5
18854
18855 # Passes both tests.
18856ac_preproc_ok=:
18857break
18858fi
18859rm -f conftest.err conftest.$ac_ext
18860
18861done
18862# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18863rm -f conftest.err conftest.$ac_ext
18864if $ac_preproc_ok; then
18865 :
18866else
18867 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18868See \`config.log' for more details." >&5
18869echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18870See \`config.log' for more details." >&2;}
18871 { (exit 1); exit 1; }; }
18872fi
18873
18874ac_ext=cc
18875ac_cpp='$CXXCPP $CPPFLAGS'
18876ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18877ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18878ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18879
18880
18881
18882
18883
18884 ac_ext=cc
18885ac_cpp='$CXXCPP $CPPFLAGS'
18886ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18887ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18888ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18889
18890
18891
18892for ac_header in iostream
18893do
18894as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18895if eval "test \"\${$as_ac_Header+set}\" = set"; then
18896 echo "$as_me:$LINENO: checking for $ac_header" >&5
18897echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18898if eval "test \"\${$as_ac_Header+set}\" = set"; then
18899 echo $ECHO_N "(cached) $ECHO_C" >&6
18900fi
18901echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18902echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18903else
18904 # Is the header compilable?
18905echo "$as_me:$LINENO: checking $ac_header usability" >&5
18906echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18907cat >conftest.$ac_ext <<_ACEOF
18908/* confdefs.h. */
18909_ACEOF
18910cat confdefs.h >>conftest.$ac_ext
18911cat >>conftest.$ac_ext <<_ACEOF
18912/* end confdefs.h. */
18913$ac_includes_default
18914#include <$ac_header>
18915_ACEOF
18916rm -f conftest.$ac_objext
18917if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 18918 (eval $ac_compile) 2>conftest.er1
a848cd7e 18919 ac_status=$?
ac1cb8d3
VS
18920 grep -v '^ *+' conftest.er1 >conftest.err
18921 rm -f conftest.er1
18922 cat conftest.err >&5
a848cd7e
SC
18923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18924 (exit $ac_status); } &&
d1c38808 18925 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
18926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18927 (eval $ac_try) 2>&5
18928 ac_status=$?
18929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18930 (exit $ac_status); }; } &&
18931 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
18932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18933 (eval $ac_try) 2>&5
18934 ac_status=$?
18935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18936 (exit $ac_status); }; }; then
18937 ac_header_compiler=yes
18938else
18939 echo "$as_me: failed program was:" >&5
18940sed 's/^/| /' conftest.$ac_ext >&5
18941
18942ac_header_compiler=no
18943fi
ac1cb8d3 18944rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
18945echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18946echo "${ECHO_T}$ac_header_compiler" >&6
18947
18948# Is the header present?
18949echo "$as_me:$LINENO: checking $ac_header presence" >&5
18950echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18951cat >conftest.$ac_ext <<_ACEOF
18952/* confdefs.h. */
18953_ACEOF
18954cat confdefs.h >>conftest.$ac_ext
18955cat >>conftest.$ac_ext <<_ACEOF
18956/* end confdefs.h. */
18957#include <$ac_header>
18958_ACEOF
18959if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18960 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18961 ac_status=$?
18962 grep -v '^ *+' conftest.er1 >conftest.err
18963 rm -f conftest.er1
18964 cat conftest.err >&5
18965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18966 (exit $ac_status); } >/dev/null; then
18967 if test -s conftest.err; then
18968 ac_cpp_err=$ac_cxx_preproc_warn_flag
ac1cb8d3 18969 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
a848cd7e
SC
18970 else
18971 ac_cpp_err=
18972 fi
18973else
18974 ac_cpp_err=yes
18975fi
18976if test -z "$ac_cpp_err"; then
18977 ac_header_preproc=yes
18978else
18979 echo "$as_me: failed program was:" >&5
18980sed 's/^/| /' conftest.$ac_ext >&5
18981
18982 ac_header_preproc=no
18983fi
18984rm -f conftest.err conftest.$ac_ext
18985echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18986echo "${ECHO_T}$ac_header_preproc" >&6
18987
18988# So? What about this header?
ac1cb8d3
VS
18989case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
18990 yes:no: )
a848cd7e
SC
18991 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18992echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
ac1cb8d3
VS
18993 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18994echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18995 ac_header_preproc=yes
a848cd7e 18996 ;;
ac1cb8d3 18997 no:yes:* )
a848cd7e
SC
18998 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18999echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
ac1cb8d3
VS
19000 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19001echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19002 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19003echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19004 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19005echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
a848cd7e
SC
19006 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19007echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
ac1cb8d3
VS
19008 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19009echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
a848cd7e
SC
19010 (
19011 cat <<\_ASBOX
ac1cb8d3
VS
19012## ----------------------------------------- ##
19013## Report this to wx-dev@lists.wxwidgets.org ##
19014## ----------------------------------------- ##
a848cd7e
SC
19015_ASBOX
19016 ) |
19017 sed "s/^/$as_me: WARNING: /" >&2
19018 ;;
19019esac
19020echo "$as_me:$LINENO: checking for $ac_header" >&5
19021echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19022if eval "test \"\${$as_ac_Header+set}\" = set"; then
19023 echo $ECHO_N "(cached) $ECHO_C" >&6
19024else
ac1cb8d3 19025 eval "$as_ac_Header=\$ac_header_preproc"
a848cd7e
SC
19026fi
19027echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19028echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19029
19030fi
19031if test `eval echo '${'$as_ac_Header'}'` = yes; then
19032 cat >>confdefs.h <<_ACEOF
19033#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19034_ACEOF
19035
19036fi
19037
19038done
19039
19040
19041 if test "$ac_cv_header_iostream" = "yes" ; then
19042 :
19043 else
19044 cat >>confdefs.h <<\_ACEOF
19045#define wxUSE_IOSTREAMH 1
19046_ACEOF
19047
19048 fi
19049
19050 ac_ext=c
19051ac_cpp='$CPP $CPPFLAGS'
19052ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19053ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19054ac_compiler_gnu=$ac_cv_c_compiler_gnu
19055
19056
19057
19058
19059 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
19060echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
19061if test "${wx_cv_cpp_bool+set}" = set; then
19062 echo $ECHO_N "(cached) $ECHO_C" >&6
19063else
19064
19065
19066
19067 ac_ext=cc
19068ac_cpp='$CXXCPP $CPPFLAGS'
19069ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19070ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19071ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19072
19073
19074 cat >conftest.$ac_ext <<_ACEOF
19075/* confdefs.h. */
19076_ACEOF
19077cat confdefs.h >>conftest.$ac_ext
19078cat >>conftest.$ac_ext <<_ACEOF
19079/* end confdefs.h. */
19080
19081
19082int
19083main ()
19084{
19085
19086 bool b = true;
19087
19088 return 0;
19089
19090 ;
19091 return 0;
19092}
19093_ACEOF
19094rm -f conftest.$ac_objext
19095if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 19096 (eval $ac_compile) 2>conftest.er1
a848cd7e 19097 ac_status=$?
ac1cb8d3
VS
19098 grep -v '^ *+' conftest.er1 >conftest.err
19099 rm -f conftest.er1
19100 cat conftest.err >&5
a848cd7e
SC
19101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19102 (exit $ac_status); } &&
d1c38808 19103 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
19104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19105 (eval $ac_try) 2>&5
19106 ac_status=$?
19107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19108 (exit $ac_status); }; } &&
19109 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
19110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19111 (eval $ac_try) 2>&5
19112 ac_status=$?
19113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19114 (exit $ac_status); }; }; then
19115
19116 wx_cv_cpp_bool=yes
19117
19118else
19119 echo "$as_me: failed program was:" >&5
19120sed 's/^/| /' conftest.$ac_ext >&5
19121
19122
19123 wx_cv_cpp_bool=no
19124
19125
19126fi
ac1cb8d3 19127rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
19128
19129 ac_ext=c
19130ac_cpp='$CPP $CPPFLAGS'
19131ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19132ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19133ac_compiler_gnu=$ac_cv_c_compiler_gnu
19134
19135
19136fi
19137echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
19138echo "${ECHO_T}$wx_cv_cpp_bool" >&6
19139
19140 if test "$wx_cv_cpp_bool" = "yes"; then
19141 cat >>confdefs.h <<\_ACEOF
19142#define HAVE_BOOL 1
19143_ACEOF
19144
19145 fi
19146
19147
19148
19149 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
19150echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
19151if test "${wx_cv_explicit+set}" = set; then
19152 echo $ECHO_N "(cached) $ECHO_C" >&6
19153else
19154
19155
19156
19157 ac_ext=cc
19158ac_cpp='$CXXCPP $CPPFLAGS'
19159ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19160ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19161ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19162
19163
19164 cat >conftest.$ac_ext <<_ACEOF
19165/* confdefs.h. */
19166_ACEOF
19167cat confdefs.h >>conftest.$ac_ext
19168cat >>conftest.$ac_ext <<_ACEOF
19169/* end confdefs.h. */
19170
19171 class Foo { public: explicit Foo(int) {} };
19172
19173int
19174main ()
19175{
19176
19177 return 0;
19178
19179 ;
19180 return 0;
19181}
19182_ACEOF
19183rm -f conftest.$ac_objext
19184if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 19185 (eval $ac_compile) 2>conftest.er1
a848cd7e 19186 ac_status=$?
ac1cb8d3
VS
19187 grep -v '^ *+' conftest.er1 >conftest.err
19188 rm -f conftest.er1
19189 cat conftest.err >&5
a848cd7e
SC
19190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19191 (exit $ac_status); } &&
d1c38808 19192 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
19193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19194 (eval $ac_try) 2>&5
19195 ac_status=$?
19196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19197 (exit $ac_status); }; } &&
19198 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
19199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19200 (eval $ac_try) 2>&5
19201 ac_status=$?
19202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19203 (exit $ac_status); }; }; then
19204
19205 cat >conftest.$ac_ext <<_ACEOF
19206/* confdefs.h. */
19207_ACEOF
19208cat confdefs.h >>conftest.$ac_ext
19209cat >>conftest.$ac_ext <<_ACEOF
19210/* end confdefs.h. */
19211
19212 class Foo { public: explicit Foo(int) {} };
19213 static void TakeFoo(const Foo& foo) { }
19214
19215int
19216main ()
19217{
19218
19219 TakeFoo(17);
19220 return 0;
19221
19222 ;
19223 return 0;
19224}
19225_ACEOF
19226rm -f conftest.$ac_objext
19227if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 19228 (eval $ac_compile) 2>conftest.er1
a848cd7e 19229 ac_status=$?
ac1cb8d3
VS
19230 grep -v '^ *+' conftest.er1 >conftest.err
19231 rm -f conftest.er1
19232 cat conftest.err >&5
a848cd7e
SC
19233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19234 (exit $ac_status); } &&
d1c38808 19235 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
19236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19237 (eval $ac_try) 2>&5
19238 ac_status=$?
19239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19240 (exit $ac_status); }; } &&
19241 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
19242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19243 (eval $ac_try) 2>&5
19244 ac_status=$?
19245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19246 (exit $ac_status); }; }; then
19247 wx_cv_explicit=no
19248else
19249 echo "$as_me: failed program was:" >&5
19250sed 's/^/| /' conftest.$ac_ext >&5
19251
19252wx_cv_explicit=yes
19253
19254fi
ac1cb8d3 19255rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
19256
19257else
19258 echo "$as_me: failed program was:" >&5
19259sed 's/^/| /' conftest.$ac_ext >&5
19260
19261wx_cv_explicit=no
19262
19263fi
ac1cb8d3 19264rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
19265
19266 ac_ext=c
19267ac_cpp='$CPP $CPPFLAGS'
19268ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19269ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19270ac_compiler_gnu=$ac_cv_c_compiler_gnu
19271
19272
19273fi
19274echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
19275echo "${ECHO_T}$wx_cv_explicit" >&6
19276
19277 if test "$wx_cv_explicit" = "yes"; then
19278 cat >>confdefs.h <<\_ACEOF
19279#define HAVE_EXPLICIT 1
19280_ACEOF
19281
19282 fi
19283
19284
19285echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
19286echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
19287if test "${ac_cv_cxx_const_cast+set}" = set; then
19288 echo $ECHO_N "(cached) $ECHO_C" >&6
19289else
19290
19291
19292 ac_ext=cc
19293ac_cpp='$CXXCPP $CPPFLAGS'
19294ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19295ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19296ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19297
19298 cat >conftest.$ac_ext <<_ACEOF
19299/* confdefs.h. */
19300_ACEOF
19301cat confdefs.h >>conftest.$ac_ext
19302cat >>conftest.$ac_ext <<_ACEOF
19303/* end confdefs.h. */
19304
19305int
19306main ()
19307{
19308int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
19309 ;
19310 return 0;
19311}
19312_ACEOF
19313rm -f conftest.$ac_objext
19314if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 19315 (eval $ac_compile) 2>conftest.er1
a848cd7e 19316 ac_status=$?
ac1cb8d3
VS
19317 grep -v '^ *+' conftest.er1 >conftest.err
19318 rm -f conftest.er1
19319 cat conftest.err >&5
a848cd7e
SC
19320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19321 (exit $ac_status); } &&
d1c38808 19322 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
19323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19324 (eval $ac_try) 2>&5
19325 ac_status=$?
19326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19327 (exit $ac_status); }; } &&
19328 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
19329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19330 (eval $ac_try) 2>&5
19331 ac_status=$?
19332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19333 (exit $ac_status); }; }; then
19334 ac_cv_cxx_const_cast=yes
19335else
19336 echo "$as_me: failed program was:" >&5
19337sed 's/^/| /' conftest.$ac_ext >&5
19338
19339ac_cv_cxx_const_cast=no
19340fi
ac1cb8d3 19341rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
19342 ac_ext=c
19343ac_cpp='$CPP $CPPFLAGS'
19344ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19345ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19346ac_compiler_gnu=$ac_cv_c_compiler_gnu
19347
19348
19349fi
19350echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
19351echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
19352if test "$ac_cv_cxx_const_cast" = yes; then
19353
19354cat >>confdefs.h <<\_ACEOF
19355#define HAVE_CONST_CAST
19356_ACEOF
19357
19358fi
19359
7714864e
RL
19360echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
19361echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
19362if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
19363 echo $ECHO_N "(cached) $ECHO_C" >&6
19364else
19365
19366
19367 ac_ext=cc
19368ac_cpp='$CXXCPP $CPPFLAGS'
19369ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19370ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19371ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19372
19373 cat >conftest.$ac_ext <<_ACEOF
19374/* confdefs.h. */
19375_ACEOF
19376cat confdefs.h >>conftest.$ac_ext
19377cat >>conftest.$ac_ext <<_ACEOF
19378/* end confdefs.h. */
19379#include <typeinfo>
19380class Base { public : Base () {} virtual void f () = 0;};
19381class Derived : public Base { public : Derived () {} virtual void f () {} };
19382class Unrelated { public : Unrelated () {} };
19383int g (Unrelated&) { return 0; }
19384int
19385main ()
19386{
19387
19388Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
19389 ;
19390 return 0;
19391}
19392_ACEOF
19393rm -f conftest.$ac_objext
19394if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19395 (eval $ac_compile) 2>conftest.er1
19396 ac_status=$?
19397 grep -v '^ *+' conftest.er1 >conftest.err
19398 rm -f conftest.er1
19399 cat conftest.err >&5
19400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19401 (exit $ac_status); } &&
d1c38808 19402 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7714864e
RL
19403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19404 (eval $ac_try) 2>&5
19405 ac_status=$?
19406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19407 (exit $ac_status); }; } &&
19408 { ac_try='test -s conftest.$ac_objext'
19409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19410 (eval $ac_try) 2>&5
19411 ac_status=$?
19412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19413 (exit $ac_status); }; }; then
19414 ac_cv_cxx_reinterpret_cast=yes
19415else
19416 echo "$as_me: failed program was:" >&5
19417sed 's/^/| /' conftest.$ac_ext >&5
19418
19419ac_cv_cxx_reinterpret_cast=no
19420fi
19421rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19422 ac_ext=c
19423ac_cpp='$CPP $CPPFLAGS'
19424ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19425ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19426ac_compiler_gnu=$ac_cv_c_compiler_gnu
19427
19428
19429fi
19430echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
19431echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
19432if test "$ac_cv_cxx_reinterpret_cast" = yes; then
19433
19434cat >>confdefs.h <<\_ACEOF
19435#define HAVE_REINTERPRET_CAST
19436_ACEOF
19437
19438fi
19439
a848cd7e
SC
19440echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
19441echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
19442if test "${ac_cv_cxx_static_cast+set}" = set; then
19443 echo $ECHO_N "(cached) $ECHO_C" >&6
19444else
19445
19446
19447 ac_ext=cc
19448ac_cpp='$CXXCPP $CPPFLAGS'
19449ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19450ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19451ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19452
19453 cat >conftest.$ac_ext <<_ACEOF
19454/* confdefs.h. */
19455_ACEOF
19456cat confdefs.h >>conftest.$ac_ext
19457cat >>conftest.$ac_ext <<_ACEOF
19458/* end confdefs.h. */
19459#include <typeinfo>
19460class Base { public : Base () {} virtual void f () = 0; };
19461class Derived : public Base { public : Derived () {} virtual void f () {} };
19462int g (Derived&) { return 0; }
19463int
19464main ()
19465{
19466
19467Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
19468 ;
19469 return 0;
19470}
19471_ACEOF
19472rm -f conftest.$ac_objext
19473if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 19474 (eval $ac_compile) 2>conftest.er1
a848cd7e 19475 ac_status=$?
ac1cb8d3
VS
19476 grep -v '^ *+' conftest.er1 >conftest.err
19477 rm -f conftest.er1
19478 cat conftest.err >&5
a848cd7e
SC
19479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19480 (exit $ac_status); } &&
d1c38808 19481 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
19482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19483 (eval $ac_try) 2>&5
19484 ac_status=$?
19485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19486 (exit $ac_status); }; } &&
19487 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
19488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19489 (eval $ac_try) 2>&5
19490 ac_status=$?
19491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19492 (exit $ac_status); }; }; then
19493 ac_cv_cxx_static_cast=yes
19494else
19495 echo "$as_me: failed program was:" >&5
19496sed 's/^/| /' conftest.$ac_ext >&5
19497
19498ac_cv_cxx_static_cast=no
19499fi
ac1cb8d3 19500rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
19501 ac_ext=c
19502ac_cpp='$CPP $CPPFLAGS'
19503ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19504ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19505ac_compiler_gnu=$ac_cv_c_compiler_gnu
19506
19507
19508fi
19509echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
19510echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
19511if test "$ac_cv_cxx_static_cast" = yes; then
19512
19513cat >>confdefs.h <<\_ACEOF
19514#define HAVE_STATIC_CAST
19515_ACEOF
19516
19517fi
19518
19519
19520if test "$wxUSE_STL" = "yes"; then
19521 ac_ext=cc
19522ac_cpp='$CXXCPP $CPPFLAGS'
19523ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19524ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19525ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19526
19527
19528 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
19529echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
19530 cat >conftest.$ac_ext <<_ACEOF
19531/* confdefs.h. */
19532_ACEOF
19533cat confdefs.h >>conftest.$ac_ext
19534cat >>conftest.$ac_ext <<_ACEOF
19535/* end confdefs.h. */
19536#include <string>
19537 #include <functional>
19538 #include <algorithm>
19539 #include <vector>
19540 #include <list>
19541int
19542main ()
19543{
19544std::vector<int> moo;
19545 std::list<int> foo;
19546 std::vector<int>::iterator it =
19547 std::find_if(moo.begin(), moo.end(),
19548 std::bind2nd(std::less<int>(), 3));
19549 ;
19550 return 0;
19551}
19552_ACEOF
19553rm -f conftest.$ac_objext
19554if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 19555 (eval $ac_compile) 2>conftest.er1
a848cd7e 19556 ac_status=$?
ac1cb8d3
VS
19557 grep -v '^ *+' conftest.er1 >conftest.err
19558 rm -f conftest.er1
19559 cat conftest.err >&5
a848cd7e
SC
19560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19561 (exit $ac_status); } &&
d1c38808 19562 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
19563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19564 (eval $ac_try) 2>&5
19565 ac_status=$?
19566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19567 (exit $ac_status); }; } &&
19568 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
19569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19570 (eval $ac_try) 2>&5
19571 ac_status=$?
19572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19573 (exit $ac_status); }; }; then
19574 echo "$as_me:$LINENO: result: yes" >&5
19575echo "${ECHO_T}yes" >&6
19576else
19577 echo "$as_me: failed program was:" >&5
19578sed 's/^/| /' conftest.$ac_ext >&5
19579
19580echo "$as_me:$LINENO: result: no" >&5
19581echo "${ECHO_T}no" >&6
19582 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
19583echo "$as_me: error: Basic STL functionality missing" >&2;}
19584 { (exit 1); exit 1; }; }
19585fi
ac1cb8d3 19586rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
19587
19588 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
19589echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
19590 cat >conftest.$ac_ext <<_ACEOF
19591/* confdefs.h. */
19592_ACEOF
19593cat confdefs.h >>conftest.$ac_ext
19594cat >>conftest.$ac_ext <<_ACEOF
19595/* end confdefs.h. */
19596#include <string>
19597int
19598main ()
19599{
19600std::wstring foo;
19601 ;
19602 return 0;
19603}
19604_ACEOF
19605rm -f conftest.$ac_objext
19606if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 19607 (eval $ac_compile) 2>conftest.er1
a848cd7e 19608 ac_status=$?
ac1cb8d3
VS
19609 grep -v '^ *+' conftest.er1 >conftest.err
19610 rm -f conftest.er1
19611 cat conftest.err >&5
a848cd7e
SC
19612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19613 (exit $ac_status); } &&
d1c38808 19614 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
19615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19616 (eval $ac_try) 2>&5
19617 ac_status=$?
19618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19619 (exit $ac_status); }; } &&
19620 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
19621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19622 (eval $ac_try) 2>&5
19623 ac_status=$?
19624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19625 (exit $ac_status); }; }; then
19626 echo "$as_me:$LINENO: result: yes" >&5
19627echo "${ECHO_T}yes" >&6
19628 cat >>confdefs.h <<\_ACEOF
19629#define HAVE_STD_WSTRING 1
19630_ACEOF
19631
19632else
19633 echo "$as_me: failed program was:" >&5
19634sed 's/^/| /' conftest.$ac_ext >&5
19635
19636echo "$as_me:$LINENO: result: no" >&5
19637echo "${ECHO_T}no" >&6
19638fi
ac1cb8d3 19639rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
19640
19641 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
19642echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
19643 cat >conftest.$ac_ext <<_ACEOF
19644/* confdefs.h. */
19645_ACEOF
19646cat confdefs.h >>conftest.$ac_ext
19647cat >>conftest.$ac_ext <<_ACEOF
19648/* end confdefs.h. */
19649#include <string>
19650int
19651main ()
19652{
19653std::string foo, bar;
19654 foo.compare(bar);
19655 foo.compare(1, 1, bar);
19656 foo.compare(1, 1, bar, 1, 1);
19657 foo.compare("");
19658 foo.compare(1, 1, "");
19659 foo.compare(1, 1, "", 2);
19660 ;
19661 return 0;
19662}
19663_ACEOF
19664rm -f conftest.$ac_objext
19665if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 19666 (eval $ac_compile) 2>conftest.er1
a848cd7e 19667 ac_status=$?
ac1cb8d3
VS
19668 grep -v '^ *+' conftest.er1 >conftest.err
19669 rm -f conftest.er1
19670 cat conftest.err >&5
a848cd7e
SC
19671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19672 (exit $ac_status); } &&
d1c38808 19673 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
19674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19675 (eval $ac_try) 2>&5
19676 ac_status=$?
19677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19678 (exit $ac_status); }; } &&
19679 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
19680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19681 (eval $ac_try) 2>&5
19682 ac_status=$?
19683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19684 (exit $ac_status); }; }; then
19685 echo "$as_me:$LINENO: result: yes" >&5
19686echo "${ECHO_T}yes" >&6
19687 cat >>confdefs.h <<\_ACEOF
19688#define HAVE_STD_STRING_COMPARE 1
19689_ACEOF
19690
19691else
19692 echo "$as_me: failed program was:" >&5
19693sed 's/^/| /' conftest.$ac_ext >&5
19694
19695echo "$as_me:$LINENO: result: no" >&5
19696echo "${ECHO_T}no" >&6
19697fi
ac1cb8d3 19698rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
bdcade0a
MB
19699
19700 if test "${ac_cv_header_hash_map+set}" = set; then
19701 echo "$as_me:$LINENO: checking for hash_map" >&5
19702echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
19703if test "${ac_cv_header_hash_map+set}" = set; then
19704 echo $ECHO_N "(cached) $ECHO_C" >&6
19705fi
19706echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19707echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19708else
19709 # Is the header compilable?
19710echo "$as_me:$LINENO: checking hash_map usability" >&5
19711echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
19712cat >conftest.$ac_ext <<_ACEOF
19713/* confdefs.h. */
19714_ACEOF
19715cat confdefs.h >>conftest.$ac_ext
19716cat >>conftest.$ac_ext <<_ACEOF
19717/* end confdefs.h. */
19718$ac_includes_default
19719#include <hash_map>
19720_ACEOF
19721rm -f conftest.$ac_objext
19722if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 19723 (eval $ac_compile) 2>conftest.er1
bdcade0a 19724 ac_status=$?
ac1cb8d3
VS
19725 grep -v '^ *+' conftest.er1 >conftest.err
19726 rm -f conftest.er1
19727 cat conftest.err >&5
bdcade0a
MB
19728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19729 (exit $ac_status); } &&
d1c38808 19730 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
19731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19732 (eval $ac_try) 2>&5
19733 ac_status=$?
19734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19735 (exit $ac_status); }; } &&
19736 { ac_try='test -s conftest.$ac_objext'
bdcade0a
MB
19737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19738 (eval $ac_try) 2>&5
19739 ac_status=$?
19740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19741 (exit $ac_status); }; }; then
19742 ac_header_compiler=yes
19743else
19744 echo "$as_me: failed program was:" >&5
19745sed 's/^/| /' conftest.$ac_ext >&5
19746
19747ac_header_compiler=no
19748fi
ac1cb8d3 19749rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
bdcade0a
MB
19750echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19751echo "${ECHO_T}$ac_header_compiler" >&6
19752
19753# Is the header present?
19754echo "$as_me:$LINENO: checking hash_map presence" >&5
19755echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
19756cat >conftest.$ac_ext <<_ACEOF
19757/* confdefs.h. */
19758_ACEOF
19759cat confdefs.h >>conftest.$ac_ext
19760cat >>conftest.$ac_ext <<_ACEOF
19761/* end confdefs.h. */
19762#include <hash_map>
19763_ACEOF
19764if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19765 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19766 ac_status=$?
19767 grep -v '^ *+' conftest.er1 >conftest.err
19768 rm -f conftest.er1
19769 cat conftest.err >&5
19770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19771 (exit $ac_status); } >/dev/null; then
19772 if test -s conftest.err; then
19773 ac_cpp_err=$ac_cxx_preproc_warn_flag
ac1cb8d3 19774 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
bdcade0a
MB
19775 else
19776 ac_cpp_err=
19777 fi
19778else
19779 ac_cpp_err=yes
19780fi
19781if test -z "$ac_cpp_err"; then
19782 ac_header_preproc=yes
19783else
19784 echo "$as_me: failed program was:" >&5
19785sed 's/^/| /' conftest.$ac_ext >&5
19786
19787 ac_header_preproc=no
19788fi
19789rm -f conftest.err conftest.$ac_ext
19790echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19791echo "${ECHO_T}$ac_header_preproc" >&6
19792
19793# So? What about this header?
ac1cb8d3
VS
19794case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19795 yes:no: )
bdcade0a
MB
19796 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
19797echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
ac1cb8d3
VS
19798 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
19799echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
19800 ac_header_preproc=yes
bdcade0a 19801 ;;
ac1cb8d3 19802 no:yes:* )
bdcade0a
MB
19803 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
19804echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
ac1cb8d3
VS
19805 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
19806echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
19807 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
19808echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
19809 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
19810echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
bdcade0a
MB
19811 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
19812echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
ac1cb8d3
VS
19813 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
19814echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
bdcade0a
MB
19815 (
19816 cat <<\_ASBOX
ac1cb8d3
VS
19817## ----------------------------------------- ##
19818## Report this to wx-dev@lists.wxwidgets.org ##
19819## ----------------------------------------- ##
bdcade0a
MB
19820_ASBOX
19821 ) |
19822 sed "s/^/$as_me: WARNING: /" >&2
19823 ;;
19824esac
19825echo "$as_me:$LINENO: checking for hash_map" >&5
19826echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
19827if test "${ac_cv_header_hash_map+set}" = set; then
19828 echo $ECHO_N "(cached) $ECHO_C" >&6
19829else
19830 ac_cv_header_hash_map=$ac_header_preproc
19831fi
19832echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19833echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19834
19835fi
19836if test $ac_cv_header_hash_map = yes; then
19837 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
19838echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
19839 cat >conftest.$ac_ext <<_ACEOF
19840/* confdefs.h. */
19841_ACEOF
19842cat confdefs.h >>conftest.$ac_ext
19843cat >>conftest.$ac_ext <<_ACEOF
19844/* end confdefs.h. */
19845#include <hash_map>
19846 #include <hash_set>
19847int
19848main ()
19849{
19850std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
19851 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
19852 ;
19853 return 0;
19854}
19855_ACEOF
19856rm -f conftest.$ac_objext
19857if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 19858 (eval $ac_compile) 2>conftest.er1
bdcade0a 19859 ac_status=$?
ac1cb8d3
VS
19860 grep -v '^ *+' conftest.er1 >conftest.err
19861 rm -f conftest.er1
19862 cat conftest.err >&5
bdcade0a
MB
19863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19864 (exit $ac_status); } &&
d1c38808 19865 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
19866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19867 (eval $ac_try) 2>&5
19868 ac_status=$?
19869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19870 (exit $ac_status); }; } &&
19871 { ac_try='test -s conftest.$ac_objext'
bdcade0a
MB
19872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19873 (eval $ac_try) 2>&5
19874 ac_status=$?
19875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19876 (exit $ac_status); }; }; then
19877 echo "$as_me:$LINENO: result: yes" >&5
19878echo "${ECHO_T}yes" >&6
19879 cat >>confdefs.h <<\_ACEOF
19880#define HAVE_HASH_MAP 1
19881_ACEOF
19882
19883 cat >>confdefs.h <<\_ACEOF
19884#define HAVE_STD_HASH_MAP 1
19885_ACEOF
19886
19887else
19888 echo "$as_me: failed program was:" >&5
19889sed 's/^/| /' conftest.$ac_ext >&5
19890
19891echo "$as_me:$LINENO: result: no" >&5
19892echo "${ECHO_T}no" >&6
19893fi
ac1cb8d3 19894rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
bdcade0a
MB
19895
19896fi
19897
19898
19899
19900 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19901 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
19902echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
19903if test "${ac_cv_header_ext_hash_map+set}" = set; then
19904 echo $ECHO_N "(cached) $ECHO_C" >&6
19905fi
19906echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
19907echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
19908else
19909 # Is the header compilable?
19910echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
19911echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
19912cat >conftest.$ac_ext <<_ACEOF
19913/* confdefs.h. */
19914_ACEOF
19915cat confdefs.h >>conftest.$ac_ext
19916cat >>conftest.$ac_ext <<_ACEOF
19917/* end confdefs.h. */
19918$ac_includes_default
19919#include <ext/hash_map>
19920_ACEOF
19921rm -f conftest.$ac_objext
19922if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 19923 (eval $ac_compile) 2>conftest.er1
bdcade0a 19924 ac_status=$?
ac1cb8d3
VS
19925 grep -v '^ *+' conftest.er1 >conftest.err
19926 rm -f conftest.er1
19927 cat conftest.err >&5
bdcade0a
MB
19928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19929 (exit $ac_status); } &&
d1c38808 19930 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
19931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19932 (eval $ac_try) 2>&5
19933 ac_status=$?
19934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19935 (exit $ac_status); }; } &&
19936 { ac_try='test -s conftest.$ac_objext'
bdcade0a
MB
19937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19938 (eval $ac_try) 2>&5
19939 ac_status=$?
19940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19941 (exit $ac_status); }; }; then
19942 ac_header_compiler=yes
19943else
19944 echo "$as_me: failed program was:" >&5
19945sed 's/^/| /' conftest.$ac_ext >&5
19946
19947ac_header_compiler=no
19948fi
ac1cb8d3 19949rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
bdcade0a
MB
19950echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19951echo "${ECHO_T}$ac_header_compiler" >&6
19952
19953# Is the header present?
19954echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
19955echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
19956cat >conftest.$ac_ext <<_ACEOF
19957/* confdefs.h. */
19958_ACEOF
19959cat confdefs.h >>conftest.$ac_ext
19960cat >>conftest.$ac_ext <<_ACEOF
19961/* end confdefs.h. */
19962#include <ext/hash_map>
19963_ACEOF
19964if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19965 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19966 ac_status=$?
19967 grep -v '^ *+' conftest.er1 >conftest.err
19968 rm -f conftest.er1
19969 cat conftest.err >&5
19970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19971 (exit $ac_status); } >/dev/null; then
19972 if test -s conftest.err; then
19973 ac_cpp_err=$ac_cxx_preproc_warn_flag
ac1cb8d3 19974 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
bdcade0a
MB
19975 else
19976 ac_cpp_err=
19977 fi
19978else
19979 ac_cpp_err=yes
19980fi
19981if test -z "$ac_cpp_err"; then
19982 ac_header_preproc=yes
19983else
19984 echo "$as_me: failed program was:" >&5
19985sed 's/^/| /' conftest.$ac_ext >&5
19986
19987 ac_header_preproc=no
19988fi
19989rm -f conftest.err conftest.$ac_ext
19990echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19991echo "${ECHO_T}$ac_header_preproc" >&6
19992
19993# So? What about this header?
ac1cb8d3
VS
19994case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19995 yes:no: )
bdcade0a
MB
19996 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
19997echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
ac1cb8d3
VS
19998 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
19999echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
20000 ac_header_preproc=yes
bdcade0a 20001 ;;
ac1cb8d3 20002 no:yes:* )
bdcade0a
MB
20003 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
20004echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
ac1cb8d3
VS
20005 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
20006echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
20007 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
20008echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
20009 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
20010echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
bdcade0a
MB
20011 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
20012echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
ac1cb8d3
VS
20013 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
20014echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
bdcade0a
MB
20015 (
20016 cat <<\_ASBOX
ac1cb8d3
VS
20017## ----------------------------------------- ##
20018## Report this to wx-dev@lists.wxwidgets.org ##
20019## ----------------------------------------- ##
bdcade0a
MB
20020_ASBOX
20021 ) |
20022 sed "s/^/$as_me: WARNING: /" >&2
20023 ;;
20024esac
20025echo "$as_me:$LINENO: checking for ext/hash_map" >&5
20026echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
20027if test "${ac_cv_header_ext_hash_map+set}" = set; then
20028 echo $ECHO_N "(cached) $ECHO_C" >&6
20029else
20030 ac_cv_header_ext_hash_map=$ac_header_preproc
20031fi
20032echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
20033echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
20034
20035fi
20036if test $ac_cv_header_ext_hash_map = yes; then
20037 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
20038echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
20039 cat >conftest.$ac_ext <<_ACEOF
20040/* confdefs.h. */
20041_ACEOF
20042cat confdefs.h >>conftest.$ac_ext
20043cat >>conftest.$ac_ext <<_ACEOF
20044/* end confdefs.h. */
20045#include <ext/hash_map>
20046 #include <ext/hash_set>
20047int
20048main ()
20049{
20050__gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
20051 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
20052 ;
20053 return 0;
20054}
20055_ACEOF
20056rm -f conftest.$ac_objext
20057if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 20058 (eval $ac_compile) 2>conftest.er1
bdcade0a 20059 ac_status=$?
ac1cb8d3
VS
20060 grep -v '^ *+' conftest.er1 >conftest.err
20061 rm -f conftest.er1
20062 cat conftest.err >&5
bdcade0a
MB
20063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20064 (exit $ac_status); } &&
d1c38808 20065 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
20066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20067 (eval $ac_try) 2>&5
20068 ac_status=$?
20069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20070 (exit $ac_status); }; } &&
20071 { ac_try='test -s conftest.$ac_objext'
bdcade0a
MB
20072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20073 (eval $ac_try) 2>&5
20074 ac_status=$?
20075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20076 (exit $ac_status); }; }; then
20077 echo "$as_me:$LINENO: result: yes" >&5
20078echo "${ECHO_T}yes" >&6
20079 cat >>confdefs.h <<\_ACEOF
20080#define HAVE_EXT_HASH_MAP 1
20081_ACEOF
20082
20083 cat >>confdefs.h <<\_ACEOF
20084#define HAVE_GNU_CXX_HASH_MAP 1
20085_ACEOF
20086
20087else
20088 echo "$as_me: failed program was:" >&5
20089sed 's/^/| /' conftest.$ac_ext >&5
20090
20091echo "$as_me:$LINENO: result: no" >&5
20092echo "${ECHO_T}no" >&6
20093fi
ac1cb8d3 20094rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
bdcade0a
MB
20095
20096fi
20097
20098
a848cd7e
SC
20099
20100 ac_ext=c
20101ac_cpp='$CPP $CPPFLAGS'
20102ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20103ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20104ac_compiler_gnu=$ac_cv_c_compiler_gnu
20105
20106fi
20107
20108
20109SEARCH_INCLUDE="\
20110 /usr/local/include \
20111 \
20112 /usr/Motif-2.1/include \
20113 /usr/Motif-1.2/include \
20114 /usr/include/Motif1.2 \
20115 /opt/xpm/include/X11 \
20116 /opt/GBxpm/include/ \
20117 /opt/GBxpm/X11/include/ \
20118 \
20119 /usr/dt/include \
20120 /usr/openwin/include \
20121 \
20122 /usr/include/Xm \
20123 \
20124 /usr/X11R6/include \
20125 /usr/X11R6.4/include \
20126 /usr/X11R5/include \
20127 /usr/X11R4/include \
20128 \
20129 /usr/include/X11R6 \
20130 /usr/include/X11R5 \
20131 /usr/include/X11R4 \
20132 \
20133 /usr/local/X11R6/include \
20134 /usr/local/X11R5/include \
20135 /usr/local/X11R4/include \
20136 \
20137 /usr/local/include/X11R6 \
20138 /usr/local/include/X11R5 \
20139 /usr/local/include/X11R4 \
20140 \
20141 /usr/X11/include \
20142 /usr/include/X11 \
20143 /usr/local/X11/include \
20144 /usr/local/include/X11 \
20145 \
20146 /usr/X386/include \
20147 /usr/x386/include \
20148 /usr/XFree86/include/X11 \
20149 \
20150 X:/XFree86/include \
20151 X:/XFree86/include/X11 \
20152 \
20153 /usr/include/gtk \
20154 /usr/local/include/gtk \
20155 /usr/include/glib \
20156 /usr/local/include/glib \
20157 \
20158 /usr/include/qt \
20159 /usr/local/include/qt \
20160 \
20161 /usr/local/arm/3.3.2/include \
20162 \
20163 /usr/include/windows \
20164 /usr/include/wine \
20165 /usr/local/include/wine \
20166 \
20167 /usr/unsupported/include \
20168 /usr/athena/include \
20169 /usr/local/x11r5/include \
20170 /usr/lpp/Xamples/include \
20171 \
20172 /usr/openwin/share/include"
20173
20174SEARCH_LIB="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
20175
20176
20177cat >confcache <<\_ACEOF
20178# This file is a shell script that caches the results of configure
20179# tests run on this system so they can be shared between configure
20180# scripts and configure runs, see configure's option --config-cache.
20181# It is not useful on other systems. If it contains results you don't
20182# want to keep, you may remove or edit it.
20183#
20184# config.status only pays attention to the cache file if you give it
20185# the --recheck option to rerun configure.
20186#
20187# `ac_cv_env_foo' variables (set or unset) will be overridden when
20188# loading this file, other *unset* `ac_cv_foo' will be assigned the
20189# following values.
20190
20191_ACEOF
20192
20193# The following way of writing the cache mishandles newlines in values,
20194# but we know of no workaround that is simple, portable, and efficient.
20195# So, don't put newlines in cache variables' values.
20196# Ultrix sh set writes to stderr and can't be redirected directly,
20197# and sets the high bit in the cache file unless we assign to the vars.
20198{
20199 (set) 2>&1 |
20200 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20201 *ac_space=\ *)
20202 # `set' does not quote correctly, so add quotes (double-quote
20203 # substitution turns \\\\ into \\, and sed turns \\ into \).
20204 sed -n \
ac1cb8d3
VS
20205 "s/'/'\\\\''/g;
20206 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
a848cd7e
SC
20207 ;;
20208 *)
20209 # `set' quotes correctly as required by POSIX, so do not add quotes.
20210 sed -n \
ac1cb8d3 20211 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
a848cd7e
SC
20212 ;;
20213 esac;
20214} |
20215 sed '
20216 t clear
20217 : clear
20218 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20219 t end
20220 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20221 : end' >>confcache
20222if diff $cache_file confcache >/dev/null 2>&1; then :; else
20223 if test -w $cache_file; then
20224 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20225 cat confcache >$cache_file
20226 else
20227 echo "not updating unwritable cache $cache_file"
20228 fi
20229fi
20230rm -f confcache
20231
20232if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
20233 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
20234echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
20235if test "${wx_cv_lib_glibc21+set}" = set; then
20236 echo $ECHO_N "(cached) $ECHO_C" >&6
20237else
20238
20239 cat >conftest.$ac_ext <<_ACEOF
20240/* confdefs.h. */
20241_ACEOF
20242cat confdefs.h >>conftest.$ac_ext
20243cat >>conftest.$ac_ext <<_ACEOF
20244/* end confdefs.h. */
20245#include <features.h>
20246int
20247main ()
20248{
20249
20250 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
20251 #error not glibc2.1
20252 #endif
20253
20254 ;
20255 return 0;
20256}
20257_ACEOF
20258rm -f conftest.$ac_objext
20259if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 20260 (eval $ac_compile) 2>conftest.er1
a848cd7e 20261 ac_status=$?
ac1cb8d3
VS
20262 grep -v '^ *+' conftest.er1 >conftest.err
20263 rm -f conftest.er1
20264 cat conftest.err >&5
a848cd7e
SC
20265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20266 (exit $ac_status); } &&
d1c38808 20267 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
20268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20269 (eval $ac_try) 2>&5
20270 ac_status=$?
20271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20272 (exit $ac_status); }; } &&
20273 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
20274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20275 (eval $ac_try) 2>&5
20276 ac_status=$?
20277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20278 (exit $ac_status); }; }; then
20279
20280 wx_cv_lib_glibc21=yes
20281
20282else
20283 echo "$as_me: failed program was:" >&5
20284sed 's/^/| /' conftest.$ac_ext >&5
20285
20286
20287 wx_cv_lib_glibc21=no
20288
20289
20290fi
ac1cb8d3 20291rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
20292
20293fi
20294echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
20295echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
20296 if test "$wx_cv_lib_glibc21" = "yes"; then
20297 cat >>confdefs.h <<\_ACEOF
20298#define wxHAVE_GLIBC2 1
20299_ACEOF
20300
20301 fi
20302fi
20303
20304if test "x$wx_cv_lib_glibc21" = "xyes"; then
20305 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
20306 cat >>confdefs.h <<\_ACEOF
20307#define _GNU_SOURCE 1
20308_ACEOF
20309
20310 fi
20311fi
20312
20313
20314
20315if test "$wxUSE_REGEX" != "no"; then
20316 cat >>confdefs.h <<\_ACEOF
20317#define wxUSE_REGEX 1
20318_ACEOF
20319
20320
20321 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
20322 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
20323echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
20324 wxUSE_REGEX=builtin
20325 fi
20326
20327 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
20328 if test "${ac_cv_header_regex_h+set}" = set; then
20329 echo "$as_me:$LINENO: checking for regex.h" >&5
20330echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20331if test "${ac_cv_header_regex_h+set}" = set; then
20332 echo $ECHO_N "(cached) $ECHO_C" >&6
20333fi
20334echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20335echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20336else
20337 # Is the header compilable?
20338echo "$as_me:$LINENO: checking regex.h usability" >&5
20339echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
20340cat >conftest.$ac_ext <<_ACEOF
20341/* confdefs.h. */
20342_ACEOF
20343cat confdefs.h >>conftest.$ac_ext
20344cat >>conftest.$ac_ext <<_ACEOF
20345/* end confdefs.h. */
20346$ac_includes_default
20347#include <regex.h>
20348_ACEOF
20349rm -f conftest.$ac_objext
20350if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 20351 (eval $ac_compile) 2>conftest.er1
a848cd7e 20352 ac_status=$?
ac1cb8d3
VS
20353 grep -v '^ *+' conftest.er1 >conftest.err
20354 rm -f conftest.er1
20355 cat conftest.err >&5
a848cd7e
SC
20356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20357 (exit $ac_status); } &&
d1c38808 20358 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
20359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20360 (eval $ac_try) 2>&5
20361 ac_status=$?
20362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20363 (exit $ac_status); }; } &&
20364 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
20365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20366 (eval $ac_try) 2>&5
20367 ac_status=$?
20368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20369 (exit $ac_status); }; }; then
20370 ac_header_compiler=yes
20371else
20372 echo "$as_me: failed program was:" >&5
20373sed 's/^/| /' conftest.$ac_ext >&5
20374
20375ac_header_compiler=no
20376fi
ac1cb8d3 20377rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
20378echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20379echo "${ECHO_T}$ac_header_compiler" >&6
20380
20381# Is the header present?
20382echo "$as_me:$LINENO: checking regex.h presence" >&5
20383echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
20384cat >conftest.$ac_ext <<_ACEOF
20385/* confdefs.h. */
20386_ACEOF
20387cat confdefs.h >>conftest.$ac_ext
20388cat >>conftest.$ac_ext <<_ACEOF
20389/* end confdefs.h. */
20390#include <regex.h>
20391_ACEOF
20392if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20393 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20394 ac_status=$?
20395 grep -v '^ *+' conftest.er1 >conftest.err
20396 rm -f conftest.er1
20397 cat conftest.err >&5
20398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20399 (exit $ac_status); } >/dev/null; then
20400 if test -s conftest.err; then
20401 ac_cpp_err=$ac_c_preproc_warn_flag
ac1cb8d3 20402 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
a848cd7e
SC
20403 else
20404 ac_cpp_err=
20405 fi
20406else
20407 ac_cpp_err=yes
20408fi
20409if test -z "$ac_cpp_err"; then
20410 ac_header_preproc=yes
20411else
20412 echo "$as_me: failed program was:" >&5
20413sed 's/^/| /' conftest.$ac_ext >&5
20414
20415 ac_header_preproc=no
20416fi
20417rm -f conftest.err conftest.$ac_ext
20418echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20419echo "${ECHO_T}$ac_header_preproc" >&6
20420
20421# So? What about this header?
ac1cb8d3
VS
20422case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20423 yes:no: )
a848cd7e
SC
20424 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
20425echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
ac1cb8d3
VS
20426 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
20427echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
20428 ac_header_preproc=yes
a848cd7e 20429 ;;
ac1cb8d3 20430 no:yes:* )
a848cd7e
SC
20431 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
20432echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
ac1cb8d3
VS
20433 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
20434echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
20435 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
20436echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
20437 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
20438echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
a848cd7e
SC
20439 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
20440echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
ac1cb8d3
VS
20441 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
20442echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
a848cd7e
SC
20443 (
20444 cat <<\_ASBOX
ac1cb8d3
VS
20445## ----------------------------------------- ##
20446## Report this to wx-dev@lists.wxwidgets.org ##
20447## ----------------------------------------- ##
a848cd7e
SC
20448_ASBOX
20449 ) |
20450 sed "s/^/$as_me: WARNING: /" >&2
20451 ;;
20452esac
20453echo "$as_me:$LINENO: checking for regex.h" >&5
20454echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20455if test "${ac_cv_header_regex_h+set}" = set; then
20456 echo $ECHO_N "(cached) $ECHO_C" >&6
20457else
20458 ac_cv_header_regex_h=$ac_header_preproc
20459fi
20460echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20461echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20462
20463fi
20464if test $ac_cv_header_regex_h = yes; then
20465
20466for ac_func in regcomp
20467do
20468as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20469echo "$as_me:$LINENO: checking for $ac_func" >&5
20470echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20471if eval "test \"\${$as_ac_var+set}\" = set"; then
20472 echo $ECHO_N "(cached) $ECHO_C" >&6
20473else
20474 cat >conftest.$ac_ext <<_ACEOF
20475/* confdefs.h. */
20476_ACEOF
20477cat confdefs.h >>conftest.$ac_ext
20478cat >>conftest.$ac_ext <<_ACEOF
20479/* end confdefs.h. */
ac1cb8d3
VS
20480/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20481 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20482#define $ac_func innocuous_$ac_func
20483
a848cd7e
SC
20484/* System header to define __stub macros and hopefully few prototypes,
20485 which can conflict with char $ac_func (); below.
20486 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20487 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 20488
a848cd7e
SC
20489#ifdef __STDC__
20490# include <limits.h>
20491#else
20492# include <assert.h>
20493#endif
ac1cb8d3
VS
20494
20495#undef $ac_func
20496
a848cd7e
SC
20497/* Override any gcc2 internal prototype to avoid an error. */
20498#ifdef __cplusplus
20499extern "C"
20500{
20501#endif
20502/* We use char because int might match the return type of a gcc2
20503 builtin and then its argument prototype would still apply. */
20504char $ac_func ();
20505/* The GNU C library defines this for functions which it implements
20506 to always fail with ENOSYS. Some functions are actually named
20507 something starting with __ and the normal name is an alias. */
20508#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20509choke me
20510#else
20511char (*f) () = $ac_func;
20512#endif
20513#ifdef __cplusplus
20514}
20515#endif
20516
20517int
20518main ()
20519{
20520return f != $ac_func;
20521 ;
20522 return 0;
20523}
20524_ACEOF
20525rm -f conftest.$ac_objext conftest$ac_exeext
20526if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 20527 (eval $ac_link) 2>conftest.er1
a848cd7e 20528 ac_status=$?
ac1cb8d3
VS
20529 grep -v '^ *+' conftest.er1 >conftest.err
20530 rm -f conftest.er1
20531 cat conftest.err >&5
a848cd7e
SC
20532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20533 (exit $ac_status); } &&
d1c38808 20534 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
20535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20536 (eval $ac_try) 2>&5
20537 ac_status=$?
20538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20539 (exit $ac_status); }; } &&
20540 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
20541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20542 (eval $ac_try) 2>&5
20543 ac_status=$?
20544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20545 (exit $ac_status); }; }; then
20546 eval "$as_ac_var=yes"
20547else
20548 echo "$as_me: failed program was:" >&5
20549sed 's/^/| /' conftest.$ac_ext >&5
20550
20551eval "$as_ac_var=no"
20552fi
ac1cb8d3
VS
20553rm -f conftest.err conftest.$ac_objext \
20554 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
20555fi
20556echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20557echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20558if test `eval echo '${'$as_ac_var'}'` = yes; then
20559 cat >>confdefs.h <<_ACEOF
20560#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20561_ACEOF
20562
20563fi
20564done
20565
20566fi
20567
20568
20569
20570 if test "x$ac_cv_func_regcomp" != "xyes"; then
20571 if test "$wxUSE_REGEX" = "sys" ; then
20572 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
20573echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
20574 { (exit 1); exit 1; }; }
20575 else
20576 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
20577echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
20578 wxUSE_REGEX=builtin
20579 fi
20580 else
20581 wxUSE_REGEX=sys
20582 cat >>confdefs.h <<\_ACEOF
20583#define WX_NO_REGEX_ADVANCED 1
20584_ACEOF
20585
20586 fi
20587 fi
20588fi
20589
20590
20591ZLIB_LINK=
20592if test "$wxUSE_ZLIB" != "no" ; then
20593 cat >>confdefs.h <<\_ACEOF
20594#define wxUSE_ZLIB 1
20595_ACEOF
20596
20597
20598 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
20599 if test "$USE_DARWIN" = 1; then
20600 system_zlib_h_ok="yes"
20601 else
20602 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
20603echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
20604if test "${ac_cv_header_zlib_h+set}" = set; then
20605 echo $ECHO_N "(cached) $ECHO_C" >&6
20606else
20607 if test "$cross_compiling" = yes; then
20608 unset ac_cv_header_zlib_h
20609
20610else
20611 cat >conftest.$ac_ext <<_ACEOF
20612/* confdefs.h. */
20613_ACEOF
20614cat confdefs.h >>conftest.$ac_ext
20615cat >>conftest.$ac_ext <<_ACEOF
20616/* end confdefs.h. */
20617
20618 #include <zlib.h>
20619 #include <stdio.h>
20620
20621 int main()
20622 {
20623 FILE *f=fopen("conftestval", "w");
20624 if (!f) exit(1);
20625 fprintf(f, "%s",
20626 ZLIB_VERSION[0] == '1' &&
20627 (ZLIB_VERSION[2] > '1' ||
20628 (ZLIB_VERSION[2] == '1' &&
20629 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
20630 exit(0);
20631 }
20632
20633_ACEOF
20634rm -f conftest$ac_exeext
20635if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20636 (eval $ac_link) 2>&5
20637 ac_status=$?
20638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20639 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20641 (eval $ac_try) 2>&5
20642 ac_status=$?
20643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20644 (exit $ac_status); }; }; then
20645 ac_cv_header_zlib_h=`cat conftestval`
20646else
20647 echo "$as_me: program exited with status $ac_status" >&5
20648echo "$as_me: failed program was:" >&5
20649sed 's/^/| /' conftest.$ac_ext >&5
20650
20651( exit $ac_status )
20652ac_cv_header_zlib_h=no
20653fi
ac1cb8d3 20654rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
20655fi
20656
20657fi
20658echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20659echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20660 if test "${ac_cv_header_zlib_h+set}" = set; then
20661 echo "$as_me:$LINENO: checking for zlib.h" >&5
20662echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20663if test "${ac_cv_header_zlib_h+set}" = set; then
20664 echo $ECHO_N "(cached) $ECHO_C" >&6
20665fi
20666echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20667echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20668else
20669 # Is the header compilable?
20670echo "$as_me:$LINENO: checking zlib.h usability" >&5
20671echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
20672cat >conftest.$ac_ext <<_ACEOF
20673/* confdefs.h. */
20674_ACEOF
20675cat confdefs.h >>conftest.$ac_ext
20676cat >>conftest.$ac_ext <<_ACEOF
20677/* end confdefs.h. */
20678$ac_includes_default
20679#include <zlib.h>
20680_ACEOF
20681rm -f conftest.$ac_objext
20682if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 20683 (eval $ac_compile) 2>conftest.er1
a848cd7e 20684 ac_status=$?
ac1cb8d3
VS
20685 grep -v '^ *+' conftest.er1 >conftest.err
20686 rm -f conftest.er1
20687 cat conftest.err >&5
a848cd7e
SC
20688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20689 (exit $ac_status); } &&
d1c38808 20690 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
20691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20692 (eval $ac_try) 2>&5
20693 ac_status=$?
20694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20695 (exit $ac_status); }; } &&
20696 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
20697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20698 (eval $ac_try) 2>&5
20699 ac_status=$?
20700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20701 (exit $ac_status); }; }; then
20702 ac_header_compiler=yes
20703else
20704 echo "$as_me: failed program was:" >&5
20705sed 's/^/| /' conftest.$ac_ext >&5
20706
20707ac_header_compiler=no
20708fi
ac1cb8d3 20709rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
20710echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20711echo "${ECHO_T}$ac_header_compiler" >&6
20712
20713# Is the header present?
20714echo "$as_me:$LINENO: checking zlib.h presence" >&5
20715echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
20716cat >conftest.$ac_ext <<_ACEOF
20717/* confdefs.h. */
20718_ACEOF
20719cat confdefs.h >>conftest.$ac_ext
20720cat >>conftest.$ac_ext <<_ACEOF
20721/* end confdefs.h. */
20722#include <zlib.h>
20723_ACEOF
20724if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20725 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20726 ac_status=$?
20727 grep -v '^ *+' conftest.er1 >conftest.err
20728 rm -f conftest.er1
20729 cat conftest.err >&5
20730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20731 (exit $ac_status); } >/dev/null; then
20732 if test -s conftest.err; then
20733 ac_cpp_err=$ac_c_preproc_warn_flag
ac1cb8d3 20734 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
a848cd7e
SC
20735 else
20736 ac_cpp_err=
20737 fi
20738else
20739 ac_cpp_err=yes
20740fi
20741if test -z "$ac_cpp_err"; then
20742 ac_header_preproc=yes
20743else
20744 echo "$as_me: failed program was:" >&5
20745sed 's/^/| /' conftest.$ac_ext >&5
20746
20747 ac_header_preproc=no
20748fi
20749rm -f conftest.err conftest.$ac_ext
20750echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20751echo "${ECHO_T}$ac_header_preproc" >&6
20752
20753# So? What about this header?
ac1cb8d3
VS
20754case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20755 yes:no: )
a848cd7e
SC
20756 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
20757echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
ac1cb8d3
VS
20758 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
20759echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
20760 ac_header_preproc=yes
a848cd7e 20761 ;;
ac1cb8d3 20762 no:yes:* )
a848cd7e
SC
20763 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
20764echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
ac1cb8d3
VS
20765 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
20766echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
20767 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
20768echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
20769 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
20770echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
a848cd7e
SC
20771 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
20772echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
ac1cb8d3
VS
20773 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
20774echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
a848cd7e
SC
20775 (
20776 cat <<\_ASBOX
ac1cb8d3
VS
20777## ----------------------------------------- ##
20778## Report this to wx-dev@lists.wxwidgets.org ##
20779## ----------------------------------------- ##
a848cd7e
SC
20780_ASBOX
20781 ) |
20782 sed "s/^/$as_me: WARNING: /" >&2
20783 ;;
20784esac
20785echo "$as_me:$LINENO: checking for zlib.h" >&5
20786echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20787if test "${ac_cv_header_zlib_h+set}" = set; then
20788 echo $ECHO_N "(cached) $ECHO_C" >&6
20789else
20790 ac_cv_header_zlib_h=$ac_header_preproc
20791fi
20792echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20793echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20794
20795fi
20796
20797
20798
20799 system_zlib_h_ok=$ac_cv_header_zlib_h
20800 fi
20801
20802 if test "$system_zlib_h_ok" = "yes"; then
20803 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
20804echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
20805if test "${ac_cv_lib_z_deflate+set}" = set; then
20806 echo $ECHO_N "(cached) $ECHO_C" >&6
20807else
20808 ac_check_lib_save_LIBS=$LIBS
20809LIBS="-lz $LIBS"
20810cat >conftest.$ac_ext <<_ACEOF
20811/* confdefs.h. */
20812_ACEOF
20813cat confdefs.h >>conftest.$ac_ext
20814cat >>conftest.$ac_ext <<_ACEOF
20815/* end confdefs.h. */
20816
20817/* Override any gcc2 internal prototype to avoid an error. */
20818#ifdef __cplusplus
20819extern "C"
20820#endif
20821/* We use char because int might match the return type of a gcc2
20822 builtin and then its argument prototype would still apply. */
20823char deflate ();
20824int
20825main ()
20826{
20827deflate ();
20828 ;
20829 return 0;
20830}
20831_ACEOF
20832rm -f conftest.$ac_objext conftest$ac_exeext
20833if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 20834 (eval $ac_link) 2>conftest.er1
a848cd7e 20835 ac_status=$?
ac1cb8d3
VS
20836 grep -v '^ *+' conftest.er1 >conftest.err
20837 rm -f conftest.er1
20838 cat conftest.err >&5
a848cd7e
SC
20839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20840 (exit $ac_status); } &&
d1c38808 20841 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
20842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20843 (eval $ac_try) 2>&5
20844 ac_status=$?
20845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20846 (exit $ac_status); }; } &&
20847 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
20848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20849 (eval $ac_try) 2>&5
20850 ac_status=$?
20851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20852 (exit $ac_status); }; }; then
20853 ac_cv_lib_z_deflate=yes
20854else
20855 echo "$as_me: failed program was:" >&5
20856sed 's/^/| /' conftest.$ac_ext >&5
20857
20858ac_cv_lib_z_deflate=no
20859fi
ac1cb8d3
VS
20860rm -f conftest.err conftest.$ac_objext \
20861 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
20862LIBS=$ac_check_lib_save_LIBS
20863fi
20864echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
20865echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
20866if test $ac_cv_lib_z_deflate = yes; then
20867 ZLIB_LINK=" -lz"
20868fi
20869
20870 fi
20871
20872 if test "x$ZLIB_LINK" = "x" ; then
20873 if test "$wxUSE_ZLIB" = "sys" ; then
20874 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
20875echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
20876 { (exit 1); exit 1; }; }
20877 else
20878 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
20879echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
20880 wxUSE_ZLIB=builtin
20881 fi
20882 else
20883 wxUSE_ZLIB=sys
20884 fi
20885 fi
20886fi
20887
20888
20889PNG_LINK=
20890if test "$wxUSE_LIBPNG" != "no" ; then
20891 cat >>confdefs.h <<\_ACEOF
20892#define wxUSE_LIBPNG 1
20893_ACEOF
20894
20895
20896 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
20897 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
20898echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
20899 wxUSE_LIBPNG=sys
20900 fi
20901
20902 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
20903 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
20904echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
20905 wxUSE_LIBPNG=builtin
20906 fi
20907
20908 if test "$wxUSE_MGL" != 1 ; then
20909 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
20910 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
20911echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
20912if test "${ac_cv_header_png_h+set}" = set; then
20913 echo $ECHO_N "(cached) $ECHO_C" >&6
20914else
20915 if test "$cross_compiling" = yes; then
20916 unset ac_cv_header_png_h
20917
20918else
20919 cat >conftest.$ac_ext <<_ACEOF
20920/* confdefs.h. */
20921_ACEOF
20922cat confdefs.h >>conftest.$ac_ext
20923cat >>conftest.$ac_ext <<_ACEOF
20924/* end confdefs.h. */
20925
20926 #include <png.h>
20927 #include <stdio.h>
20928
20929 int main()
20930 {
20931 FILE *f=fopen("conftestval", "w");
20932 if (!f) exit(1);
20933 fprintf(f, "%s",
20934 PNG_LIBPNG_VER > 90 ? "yes" : "no");
20935 exit(0);
20936 }
20937
20938_ACEOF
20939rm -f conftest$ac_exeext
20940if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20941 (eval $ac_link) 2>&5
20942 ac_status=$?
20943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20944 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20946 (eval $ac_try) 2>&5
20947 ac_status=$?
20948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20949 (exit $ac_status); }; }; then
20950 ac_cv_header_png_h=`cat conftestval`
20951else
20952 echo "$as_me: program exited with status $ac_status" >&5
20953echo "$as_me: failed program was:" >&5
20954sed 's/^/| /' conftest.$ac_ext >&5
20955
20956( exit $ac_status )
20957ac_cv_header_png_h=no
20958fi
ac1cb8d3 20959rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
20960fi
20961
20962fi
20963echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20964echo "${ECHO_T}$ac_cv_header_png_h" >&6
20965 if test "${ac_cv_header_png_h+set}" = set; then
20966 echo "$as_me:$LINENO: checking for png.h" >&5
20967echo $ECHO_N "checking for png.h... $ECHO_C" >&6
20968if test "${ac_cv_header_png_h+set}" = set; then
20969 echo $ECHO_N "(cached) $ECHO_C" >&6
20970fi
20971echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20972echo "${ECHO_T}$ac_cv_header_png_h" >&6
20973else
20974 # Is the header compilable?
20975echo "$as_me:$LINENO: checking png.h usability" >&5
20976echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
20977cat >conftest.$ac_ext <<_ACEOF
20978/* confdefs.h. */
20979_ACEOF
20980cat confdefs.h >>conftest.$ac_ext
20981cat >>conftest.$ac_ext <<_ACEOF
20982/* end confdefs.h. */
20983$ac_includes_default
20984#include <png.h>
20985_ACEOF
20986rm -f conftest.$ac_objext
20987if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 20988 (eval $ac_compile) 2>conftest.er1
a848cd7e 20989 ac_status=$?
ac1cb8d3
VS
20990 grep -v '^ *+' conftest.er1 >conftest.err
20991 rm -f conftest.er1
20992 cat conftest.err >&5
a848cd7e
SC
20993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20994 (exit $ac_status); } &&
d1c38808 20995 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
20996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20997 (eval $ac_try) 2>&5
20998 ac_status=$?
20999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21000 (exit $ac_status); }; } &&
21001 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
21002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21003 (eval $ac_try) 2>&5
21004 ac_status=$?
21005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21006 (exit $ac_status); }; }; then
21007 ac_header_compiler=yes
21008else
21009 echo "$as_me: failed program was:" >&5
21010sed 's/^/| /' conftest.$ac_ext >&5
21011
21012ac_header_compiler=no
21013fi
ac1cb8d3 21014rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
21015echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21016echo "${ECHO_T}$ac_header_compiler" >&6
21017
21018# Is the header present?
21019echo "$as_me:$LINENO: checking png.h presence" >&5
21020echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
21021cat >conftest.$ac_ext <<_ACEOF
21022/* confdefs.h. */
21023_ACEOF
21024cat confdefs.h >>conftest.$ac_ext
21025cat >>conftest.$ac_ext <<_ACEOF
21026/* end confdefs.h. */
21027#include <png.h>
21028_ACEOF
21029if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21030 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21031 ac_status=$?
21032 grep -v '^ *+' conftest.er1 >conftest.err
21033 rm -f conftest.er1
21034 cat conftest.err >&5
21035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21036 (exit $ac_status); } >/dev/null; then
21037 if test -s conftest.err; then
21038 ac_cpp_err=$ac_c_preproc_warn_flag
ac1cb8d3 21039 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
a848cd7e
SC
21040 else
21041 ac_cpp_err=
21042 fi
21043else
21044 ac_cpp_err=yes
21045fi
21046if test -z "$ac_cpp_err"; then
21047 ac_header_preproc=yes
21048else
21049 echo "$as_me: failed program was:" >&5
21050sed 's/^/| /' conftest.$ac_ext >&5
21051
21052 ac_header_preproc=no
21053fi
21054rm -f conftest.err conftest.$ac_ext
21055echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21056echo "${ECHO_T}$ac_header_preproc" >&6
21057
21058# So? What about this header?
ac1cb8d3
VS
21059case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21060 yes:no: )
a848cd7e
SC
21061 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
21062echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
ac1cb8d3
VS
21063 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
21064echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
21065 ac_header_preproc=yes
a848cd7e 21066 ;;
ac1cb8d3 21067 no:yes:* )
a848cd7e
SC
21068 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
21069echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
ac1cb8d3
VS
21070 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
21071echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
21072 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
21073echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
21074 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
21075echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
a848cd7e
SC
21076 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
21077echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
ac1cb8d3
VS
21078 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
21079echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
a848cd7e
SC
21080 (
21081 cat <<\_ASBOX
ac1cb8d3
VS
21082## ----------------------------------------- ##
21083## Report this to wx-dev@lists.wxwidgets.org ##
21084## ----------------------------------------- ##
a848cd7e
SC
21085_ASBOX
21086 ) |
21087 sed "s/^/$as_me: WARNING: /" >&2
21088 ;;
21089esac
21090echo "$as_me:$LINENO: checking for png.h" >&5
21091echo $ECHO_N "checking for png.h... $ECHO_C" >&6
21092if test "${ac_cv_header_png_h+set}" = set; then
21093 echo $ECHO_N "(cached) $ECHO_C" >&6
21094else
21095 ac_cv_header_png_h=$ac_header_preproc
21096fi
21097echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21098echo "${ECHO_T}$ac_cv_header_png_h" >&6
21099
21100fi
21101
21102
21103
21104 if test "$ac_cv_header_png_h" = "yes"; then
21105 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
21106echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
21107if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
21108 echo $ECHO_N "(cached) $ECHO_C" >&6
21109else
21110 ac_check_lib_save_LIBS=$LIBS
21111LIBS="-lpng -lz -lm $LIBS"
21112cat >conftest.$ac_ext <<_ACEOF
21113/* confdefs.h. */
21114_ACEOF
21115cat confdefs.h >>conftest.$ac_ext
21116cat >>conftest.$ac_ext <<_ACEOF
21117/* end confdefs.h. */
21118
21119/* Override any gcc2 internal prototype to avoid an error. */
21120#ifdef __cplusplus
21121extern "C"
21122#endif
21123/* We use char because int might match the return type of a gcc2
21124 builtin and then its argument prototype would still apply. */
21125char png_check_sig ();
21126int
21127main ()
21128{
21129png_check_sig ();
21130 ;
21131 return 0;
21132}
21133_ACEOF
21134rm -f conftest.$ac_objext conftest$ac_exeext
21135if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 21136 (eval $ac_link) 2>conftest.er1
a848cd7e 21137 ac_status=$?
ac1cb8d3
VS
21138 grep -v '^ *+' conftest.er1 >conftest.err
21139 rm -f conftest.er1
21140 cat conftest.err >&5
a848cd7e
SC
21141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21142 (exit $ac_status); } &&
d1c38808 21143 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
21144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21145 (eval $ac_try) 2>&5
21146 ac_status=$?
21147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21148 (exit $ac_status); }; } &&
21149 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
21150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21151 (eval $ac_try) 2>&5
21152 ac_status=$?
21153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21154 (exit $ac_status); }; }; then
21155 ac_cv_lib_png_png_check_sig=yes
21156else
21157 echo "$as_me: failed program was:" >&5
21158sed 's/^/| /' conftest.$ac_ext >&5
21159
21160ac_cv_lib_png_png_check_sig=no
21161fi
ac1cb8d3
VS
21162rm -f conftest.err conftest.$ac_objext \
21163 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
21164LIBS=$ac_check_lib_save_LIBS
21165fi
21166echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
21167echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
21168if test $ac_cv_lib_png_png_check_sig = yes; then
21169 PNG_LINK=" -lpng -lz"
21170fi
21171
21172 fi
21173
21174 if test "x$PNG_LINK" = "x" ; then
21175 if test "$wxUSE_LIBPNG" = "sys" ; then
21176 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
21177echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
21178 { (exit 1); exit 1; }; }
21179 else
21180 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
21181echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
21182 wxUSE_LIBPNG=builtin
21183 fi
21184 else
21185 wxUSE_LIBPNG=sys
21186 fi
21187 fi
21188 fi
21189
21190 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
21191fi
21192
21193
21194JPEG_LINK=
21195if test "$wxUSE_LIBJPEG" != "no" ; then
21196 cat >>confdefs.h <<\_ACEOF
21197#define wxUSE_LIBJPEG 1
21198_ACEOF
21199
21200
21201 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
21202 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
21203echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
21204 wxUSE_LIBJPEG=sys
21205 fi
21206
21207 if test "$wxUSE_MGL" != 1 ; then
21208 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
21209 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
21210echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
21211 if test "${ac_cv_header_jpeglib_h+set}" = set; then
21212 echo $ECHO_N "(cached) $ECHO_C" >&6
21213else
21214 cat >conftest.$ac_ext <<_ACEOF
21215/* confdefs.h. */
21216_ACEOF
21217cat confdefs.h >>conftest.$ac_ext
21218cat >>conftest.$ac_ext <<_ACEOF
21219/* end confdefs.h. */
21220
21221 #undef HAVE_STDLIB_H
21222 #include <stdio.h>
21223 #include <jpeglib.h>
21224
21225int
21226main ()
21227{
21228
21229
21230 ;
21231 return 0;
21232}
21233_ACEOF
21234rm -f conftest.$ac_objext
21235if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 21236 (eval $ac_compile) 2>conftest.er1
a848cd7e 21237 ac_status=$?
ac1cb8d3
VS
21238 grep -v '^ *+' conftest.er1 >conftest.err
21239 rm -f conftest.er1
21240 cat conftest.err >&5
a848cd7e
SC
21241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21242 (exit $ac_status); } &&
d1c38808 21243 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
21244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21245 (eval $ac_try) 2>&5
21246 ac_status=$?
21247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21248 (exit $ac_status); }; } &&
21249 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
21250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21251 (eval $ac_try) 2>&5
21252 ac_status=$?
21253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21254 (exit $ac_status); }; }; then
21255 ac_cv_header_jpeglib_h=yes
21256else
21257 echo "$as_me: failed program was:" >&5
21258sed 's/^/| /' conftest.$ac_ext >&5
21259
21260ac_cv_header_jpeglib_h=no
21261
21262fi
ac1cb8d3 21263rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
21264
21265fi
21266
21267 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
21268echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
21269
21270 if test "$ac_cv_header_jpeglib_h" = "yes"; then
21271 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
21272echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
21273if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
21274 echo $ECHO_N "(cached) $ECHO_C" >&6
21275else
21276 ac_check_lib_save_LIBS=$LIBS
21277LIBS="-ljpeg $LIBS"
21278cat >conftest.$ac_ext <<_ACEOF
21279/* confdefs.h. */
21280_ACEOF
21281cat confdefs.h >>conftest.$ac_ext
21282cat >>conftest.$ac_ext <<_ACEOF
21283/* end confdefs.h. */
21284
21285/* Override any gcc2 internal prototype to avoid an error. */
21286#ifdef __cplusplus
21287extern "C"
21288#endif
21289/* We use char because int might match the return type of a gcc2
21290 builtin and then its argument prototype would still apply. */
21291char jpeg_read_header ();
21292int
21293main ()
21294{
21295jpeg_read_header ();
21296 ;
21297 return 0;
21298}
21299_ACEOF
21300rm -f conftest.$ac_objext conftest$ac_exeext
21301if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 21302 (eval $ac_link) 2>conftest.er1
a848cd7e 21303 ac_status=$?
ac1cb8d3
VS
21304 grep -v '^ *+' conftest.er1 >conftest.err
21305 rm -f conftest.er1
21306 cat conftest.err >&5
a848cd7e
SC
21307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21308 (exit $ac_status); } &&
d1c38808 21309 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
21310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21311 (eval $ac_try) 2>&5
21312 ac_status=$?
21313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21314 (exit $ac_status); }; } &&
21315 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
21316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21317 (eval $ac_try) 2>&5
21318 ac_status=$?
21319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21320 (exit $ac_status); }; }; then
21321 ac_cv_lib_jpeg_jpeg_read_header=yes
21322else
21323 echo "$as_me: failed program was:" >&5
21324sed 's/^/| /' conftest.$ac_ext >&5
21325
21326ac_cv_lib_jpeg_jpeg_read_header=no
21327fi
ac1cb8d3
VS
21328rm -f conftest.err conftest.$ac_objext \
21329 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
21330LIBS=$ac_check_lib_save_LIBS
21331fi
21332echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
21333echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
21334if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
21335 JPEG_LINK=" -ljpeg"
21336fi
21337
21338 fi
21339
21340 if test "x$JPEG_LINK" = "x" ; then
21341 if test "$wxUSE_LIBJPEG" = "sys" ; then
21342 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
21343echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
21344 { (exit 1); exit 1; }; }
21345 else
21346 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
21347echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
21348 wxUSE_LIBJPEG=builtin
21349 fi
21350 else
21351 wxUSE_LIBJPEG=sys
21352 fi
21353 fi
21354 fi
21355fi
21356
21357
21358TIFF_LINK=
21359TIFF_PREREQ_LINKS=-lm
21360if test "$wxUSE_LIBTIFF" != "no" ; then
21361 cat >>confdefs.h <<\_ACEOF
21362#define wxUSE_LIBTIFF 1
21363_ACEOF
21364
21365
21366 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
21367 if test "$wxUSE_LIBJPEG" = "sys"; then
21368 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
21369 fi
21370 if test "$wxUSE_ZLIB" = "sys"; then
21371 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
21372 fi
21373 if test "${ac_cv_header_tiffio_h+set}" = set; then
21374 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21375echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21376if test "${ac_cv_header_tiffio_h+set}" = set; then
21377 echo $ECHO_N "(cached) $ECHO_C" >&6
21378fi
21379echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21380echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21381else
21382 # Is the header compilable?
21383echo "$as_me:$LINENO: checking tiffio.h usability" >&5
21384echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
21385cat >conftest.$ac_ext <<_ACEOF
21386/* confdefs.h. */
21387_ACEOF
21388cat confdefs.h >>conftest.$ac_ext
21389cat >>conftest.$ac_ext <<_ACEOF
21390/* end confdefs.h. */
21391$ac_includes_default
21392#include <tiffio.h>
21393_ACEOF
21394rm -f conftest.$ac_objext
21395if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 21396 (eval $ac_compile) 2>conftest.er1
a848cd7e 21397 ac_status=$?
ac1cb8d3
VS
21398 grep -v '^ *+' conftest.er1 >conftest.err
21399 rm -f conftest.er1
21400 cat conftest.err >&5
a848cd7e
SC
21401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21402 (exit $ac_status); } &&
d1c38808 21403 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
21404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21405 (eval $ac_try) 2>&5
21406 ac_status=$?
21407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21408 (exit $ac_status); }; } &&
21409 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
21410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21411 (eval $ac_try) 2>&5
21412 ac_status=$?
21413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21414 (exit $ac_status); }; }; then
21415 ac_header_compiler=yes
21416else
21417 echo "$as_me: failed program was:" >&5
21418sed 's/^/| /' conftest.$ac_ext >&5
21419
21420ac_header_compiler=no
21421fi
ac1cb8d3 21422rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
21423echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21424echo "${ECHO_T}$ac_header_compiler" >&6
21425
21426# Is the header present?
21427echo "$as_me:$LINENO: checking tiffio.h presence" >&5
21428echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
21429cat >conftest.$ac_ext <<_ACEOF
21430/* confdefs.h. */
21431_ACEOF
21432cat confdefs.h >>conftest.$ac_ext
21433cat >>conftest.$ac_ext <<_ACEOF
21434/* end confdefs.h. */
21435#include <tiffio.h>
21436_ACEOF
21437if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21438 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21439 ac_status=$?
21440 grep -v '^ *+' conftest.er1 >conftest.err
21441 rm -f conftest.er1
21442 cat conftest.err >&5
21443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21444 (exit $ac_status); } >/dev/null; then
21445 if test -s conftest.err; then
21446 ac_cpp_err=$ac_c_preproc_warn_flag
ac1cb8d3 21447 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
a848cd7e
SC
21448 else
21449 ac_cpp_err=
21450 fi
21451else
21452 ac_cpp_err=yes
21453fi
21454if test -z "$ac_cpp_err"; then
21455 ac_header_preproc=yes
21456else
21457 echo "$as_me: failed program was:" >&5
21458sed 's/^/| /' conftest.$ac_ext >&5
21459
21460 ac_header_preproc=no
21461fi
21462rm -f conftest.err conftest.$ac_ext
21463echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21464echo "${ECHO_T}$ac_header_preproc" >&6
21465
21466# So? What about this header?
ac1cb8d3
VS
21467case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21468 yes:no: )
a848cd7e
SC
21469 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
21470echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
ac1cb8d3
VS
21471 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
21472echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
21473 ac_header_preproc=yes
a848cd7e 21474 ;;
ac1cb8d3 21475 no:yes:* )
a848cd7e
SC
21476 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
21477echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
ac1cb8d3
VS
21478 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
21479echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
21480 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
21481echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
21482 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
21483echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
a848cd7e
SC
21484 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
21485echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
ac1cb8d3
VS
21486 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
21487echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
a848cd7e
SC
21488 (
21489 cat <<\_ASBOX
ac1cb8d3
VS
21490## ----------------------------------------- ##
21491## Report this to wx-dev@lists.wxwidgets.org ##
21492## ----------------------------------------- ##
a848cd7e
SC
21493_ASBOX
21494 ) |
21495 sed "s/^/$as_me: WARNING: /" >&2
21496 ;;
21497esac
21498echo "$as_me:$LINENO: checking for tiffio.h" >&5
21499echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21500if test "${ac_cv_header_tiffio_h+set}" = set; then
21501 echo $ECHO_N "(cached) $ECHO_C" >&6
21502else
21503 ac_cv_header_tiffio_h=$ac_header_preproc
21504fi
21505echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21506echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21507
21508fi
21509if test $ac_cv_header_tiffio_h = yes; then
21510
21511 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
21512echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
21513if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
21514 echo $ECHO_N "(cached) $ECHO_C" >&6
21515else
21516 ac_check_lib_save_LIBS=$LIBS
21517LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
21518cat >conftest.$ac_ext <<_ACEOF
21519/* confdefs.h. */
21520_ACEOF
21521cat confdefs.h >>conftest.$ac_ext
21522cat >>conftest.$ac_ext <<_ACEOF
21523/* end confdefs.h. */
21524
21525/* Override any gcc2 internal prototype to avoid an error. */
21526#ifdef __cplusplus
21527extern "C"
21528#endif
21529/* We use char because int might match the return type of a gcc2
21530 builtin and then its argument prototype would still apply. */
21531char TIFFError ();
21532int
21533main ()
21534{
21535TIFFError ();
21536 ;
21537 return 0;
21538}
21539_ACEOF
21540rm -f conftest.$ac_objext conftest$ac_exeext
21541if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 21542 (eval $ac_link) 2>conftest.er1
a848cd7e 21543 ac_status=$?
ac1cb8d3
VS
21544 grep -v '^ *+' conftest.er1 >conftest.err
21545 rm -f conftest.er1
21546 cat conftest.err >&5
a848cd7e
SC
21547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21548 (exit $ac_status); } &&
d1c38808 21549 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
21550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21551 (eval $ac_try) 2>&5
21552 ac_status=$?
21553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21554 (exit $ac_status); }; } &&
21555 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
21556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21557 (eval $ac_try) 2>&5
21558 ac_status=$?
21559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21560 (exit $ac_status); }; }; then
21561 ac_cv_lib_tiff_TIFFError=yes
21562else
21563 echo "$as_me: failed program was:" >&5
21564sed 's/^/| /' conftest.$ac_ext >&5
21565
21566ac_cv_lib_tiff_TIFFError=no
21567fi
ac1cb8d3
VS
21568rm -f conftest.err conftest.$ac_objext \
21569 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
21570LIBS=$ac_check_lib_save_LIBS
21571fi
21572echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
21573echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
21574if test $ac_cv_lib_tiff_TIFFError = yes; then
21575 TIFF_LINK=" -ltiff"
21576fi
21577
21578
21579
21580fi
21581
21582
21583
21584 if test "x$TIFF_LINK" = "x" ; then
21585 if test "$wxUSE_LIBTIFF" = "sys" ; then
21586 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
21587echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
21588 { (exit 1); exit 1; }; }
21589 else
21590 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
21591echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
21592 wxUSE_LIBTIFF=builtin
21593 fi
21594 else
21595 wxUSE_LIBTIFF=sys
21596 fi
21597 fi
21598fi
21599
21600
21601if test "$wxUSE_EXPAT" != "no"; then
21602 wxUSE_XML=yes
21603 cat >>confdefs.h <<\_ACEOF
21604#define wxUSE_EXPAT 1
21605_ACEOF
21606
21607 cat >>confdefs.h <<\_ACEOF
21608#define wxUSE_XML 1
21609_ACEOF
21610
21611
21612 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
21613 if test "${ac_cv_header_expat_h+set}" = set; then
21614 echo "$as_me:$LINENO: checking for expat.h" >&5
21615echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21616if test "${ac_cv_header_expat_h+set}" = set; then
21617 echo $ECHO_N "(cached) $ECHO_C" >&6
21618fi
21619echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21620echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21621else
21622 # Is the header compilable?
21623echo "$as_me:$LINENO: checking expat.h usability" >&5
21624echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
21625cat >conftest.$ac_ext <<_ACEOF
21626/* confdefs.h. */
21627_ACEOF
21628cat confdefs.h >>conftest.$ac_ext
21629cat >>conftest.$ac_ext <<_ACEOF
21630/* end confdefs.h. */
21631$ac_includes_default
21632#include <expat.h>
21633_ACEOF
21634rm -f conftest.$ac_objext
21635if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 21636 (eval $ac_compile) 2>conftest.er1
a848cd7e 21637 ac_status=$?
ac1cb8d3
VS
21638 grep -v '^ *+' conftest.er1 >conftest.err
21639 rm -f conftest.er1
21640 cat conftest.err >&5
a848cd7e
SC
21641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21642 (exit $ac_status); } &&
d1c38808 21643 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
21644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21645 (eval $ac_try) 2>&5
21646 ac_status=$?
21647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21648 (exit $ac_status); }; } &&
21649 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
21650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21651 (eval $ac_try) 2>&5
21652 ac_status=$?
21653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21654 (exit $ac_status); }; }; then
21655 ac_header_compiler=yes
21656else
21657 echo "$as_me: failed program was:" >&5
21658sed 's/^/| /' conftest.$ac_ext >&5
21659
21660ac_header_compiler=no
21661fi
ac1cb8d3 21662rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
21663echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21664echo "${ECHO_T}$ac_header_compiler" >&6
21665
21666# Is the header present?
21667echo "$as_me:$LINENO: checking expat.h presence" >&5
21668echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
21669cat >conftest.$ac_ext <<_ACEOF
21670/* confdefs.h. */
21671_ACEOF
21672cat confdefs.h >>conftest.$ac_ext
21673cat >>conftest.$ac_ext <<_ACEOF
21674/* end confdefs.h. */
21675#include <expat.h>
21676_ACEOF
21677if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21678 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21679 ac_status=$?
21680 grep -v '^ *+' conftest.er1 >conftest.err
21681 rm -f conftest.er1
21682 cat conftest.err >&5
21683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21684 (exit $ac_status); } >/dev/null; then
21685 if test -s conftest.err; then
21686 ac_cpp_err=$ac_c_preproc_warn_flag
ac1cb8d3 21687 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
a848cd7e
SC
21688 else
21689 ac_cpp_err=
21690 fi
21691else
21692 ac_cpp_err=yes
21693fi
21694if test -z "$ac_cpp_err"; then
21695 ac_header_preproc=yes
21696else
21697 echo "$as_me: failed program was:" >&5
21698sed 's/^/| /' conftest.$ac_ext >&5
21699
21700 ac_header_preproc=no
21701fi
21702rm -f conftest.err conftest.$ac_ext
21703echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21704echo "${ECHO_T}$ac_header_preproc" >&6
21705
21706# So? What about this header?
ac1cb8d3
VS
21707case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21708 yes:no: )
a848cd7e
SC
21709 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
21710echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
ac1cb8d3
VS
21711 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
21712echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
21713 ac_header_preproc=yes
a848cd7e 21714 ;;
ac1cb8d3 21715 no:yes:* )
a848cd7e
SC
21716 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
21717echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
ac1cb8d3
VS
21718 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
21719echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
21720 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
21721echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
21722 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
21723echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
a848cd7e
SC
21724 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
21725echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
ac1cb8d3
VS
21726 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
21727echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
a848cd7e
SC
21728 (
21729 cat <<\_ASBOX
ac1cb8d3
VS
21730## ----------------------------------------- ##
21731## Report this to wx-dev@lists.wxwidgets.org ##
21732## ----------------------------------------- ##
a848cd7e
SC
21733_ASBOX
21734 ) |
21735 sed "s/^/$as_me: WARNING: /" >&2
21736 ;;
21737esac
21738echo "$as_me:$LINENO: checking for expat.h" >&5
21739echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21740if test "${ac_cv_header_expat_h+set}" = set; then
21741 echo $ECHO_N "(cached) $ECHO_C" >&6
21742else
21743 ac_cv_header_expat_h=$ac_header_preproc
21744fi
21745echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21746echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21747
21748fi
21749if test $ac_cv_header_expat_h = yes; then
21750 found_expat_h=1
21751fi
21752
21753
21754 if test "x$found_expat_h" = "x1"; then
21755 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
21756echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
21757if test "${wx_cv_expat_is_not_broken+set}" = set; then
21758 echo $ECHO_N "(cached) $ECHO_C" >&6
21759else
21760
21761
21762
21763 ac_ext=cc
21764ac_cpp='$CXXCPP $CPPFLAGS'
21765ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21766ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21767ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21768
21769 cat >conftest.$ac_ext <<_ACEOF
21770/* confdefs.h. */
21771_ACEOF
21772cat confdefs.h >>conftest.$ac_ext
21773cat >>conftest.$ac_ext <<_ACEOF
21774/* end confdefs.h. */
21775#include <expat.h>
21776int
21777main ()
21778{
21779
21780 ;
21781 return 0;
21782}
21783_ACEOF
21784rm -f conftest.$ac_objext
21785if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 21786 (eval $ac_compile) 2>conftest.er1
a848cd7e 21787 ac_status=$?
ac1cb8d3
VS
21788 grep -v '^ *+' conftest.er1 >conftest.err
21789 rm -f conftest.er1
21790 cat conftest.err >&5
a848cd7e
SC
21791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21792 (exit $ac_status); } &&
d1c38808 21793 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
21794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21795 (eval $ac_try) 2>&5
21796 ac_status=$?
21797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21798 (exit $ac_status); }; } &&
21799 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
21800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21801 (eval $ac_try) 2>&5
21802 ac_status=$?
21803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21804 (exit $ac_status); }; }; then
21805 wx_cv_expat_is_not_broken=yes
21806else
21807 echo "$as_me: failed program was:" >&5
21808sed 's/^/| /' conftest.$ac_ext >&5
21809
21810wx_cv_expat_is_not_broken=no
21811
21812fi
ac1cb8d3 21813rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
21814 ac_ext=c
21815ac_cpp='$CPP $CPPFLAGS'
21816ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21817ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21818ac_compiler_gnu=$ac_cv_c_compiler_gnu
21819
21820
21821
21822fi
21823echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
21824echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
21825 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
21826 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
21827echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
21828if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
21829 echo $ECHO_N "(cached) $ECHO_C" >&6
21830else
21831 ac_check_lib_save_LIBS=$LIBS
21832LIBS="-lexpat $LIBS"
21833cat >conftest.$ac_ext <<_ACEOF
21834/* confdefs.h. */
21835_ACEOF
21836cat confdefs.h >>conftest.$ac_ext
21837cat >>conftest.$ac_ext <<_ACEOF
21838/* end confdefs.h. */
21839
21840/* Override any gcc2 internal prototype to avoid an error. */
21841#ifdef __cplusplus
21842extern "C"
21843#endif
21844/* We use char because int might match the return type of a gcc2
21845 builtin and then its argument prototype would still apply. */
21846char XML_ParserCreate ();
21847int
21848main ()
21849{
21850XML_ParserCreate ();
21851 ;
21852 return 0;
21853}
21854_ACEOF
21855rm -f conftest.$ac_objext conftest$ac_exeext
21856if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 21857 (eval $ac_link) 2>conftest.er1
a848cd7e 21858 ac_status=$?
ac1cb8d3
VS
21859 grep -v '^ *+' conftest.er1 >conftest.err
21860 rm -f conftest.er1
21861 cat conftest.err >&5
a848cd7e
SC
21862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21863 (exit $ac_status); } &&
d1c38808 21864 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
21865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21866 (eval $ac_try) 2>&5
21867 ac_status=$?
21868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21869 (exit $ac_status); }; } &&
21870 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
21871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21872 (eval $ac_try) 2>&5
21873 ac_status=$?
21874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21875 (exit $ac_status); }; }; then
21876 ac_cv_lib_expat_XML_ParserCreate=yes
21877else
21878 echo "$as_me: failed program was:" >&5
21879sed 's/^/| /' conftest.$ac_ext >&5
21880
21881ac_cv_lib_expat_XML_ParserCreate=no
21882fi
ac1cb8d3
VS
21883rm -f conftest.err conftest.$ac_objext \
21884 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
21885LIBS=$ac_check_lib_save_LIBS
21886fi
21887echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
21888echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
21889if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
21890 EXPAT_LINK=" -lexpat"
21891fi
21892
21893 fi
21894 fi
21895 if test "x$EXPAT_LINK" = "x" ; then
21896 if test "$wxUSE_EXPAT" = "sys" ; then
21897 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
21898echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
21899 { (exit 1); exit 1; }; }
21900 else
21901 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
21902echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
21903 wxUSE_EXPAT=builtin
21904 fi
21905 else
21906 wxUSE_EXPAT=sys
21907 fi
21908 fi
21909 if test "$wxUSE_EXPAT" = "builtin" ; then
21910
21911
21912subdirs="$subdirs src/expat"
21913
21914 fi
21915fi
21916
21917
21918
21919if test "$wxUSE_LIBMSPACK" != "no"; then
21920
21921 if test "${ac_cv_header_mspack_h+set}" = set; then
21922 echo "$as_me:$LINENO: checking for mspack.h" >&5
21923echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21924if test "${ac_cv_header_mspack_h+set}" = set; then
21925 echo $ECHO_N "(cached) $ECHO_C" >&6
21926fi
21927echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21928echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21929else
21930 # Is the header compilable?
21931echo "$as_me:$LINENO: checking mspack.h usability" >&5
21932echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
21933cat >conftest.$ac_ext <<_ACEOF
21934/* confdefs.h. */
21935_ACEOF
21936cat confdefs.h >>conftest.$ac_ext
21937cat >>conftest.$ac_ext <<_ACEOF
21938/* end confdefs.h. */
21939$ac_includes_default
21940#include <mspack.h>
21941_ACEOF
21942rm -f conftest.$ac_objext
21943if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 21944 (eval $ac_compile) 2>conftest.er1
a848cd7e 21945 ac_status=$?
ac1cb8d3
VS
21946 grep -v '^ *+' conftest.er1 >conftest.err
21947 rm -f conftest.er1
21948 cat conftest.err >&5
a848cd7e
SC
21949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21950 (exit $ac_status); } &&
d1c38808 21951 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
21952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21953 (eval $ac_try) 2>&5
21954 ac_status=$?
21955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21956 (exit $ac_status); }; } &&
21957 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
21958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21959 (eval $ac_try) 2>&5
21960 ac_status=$?
21961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21962 (exit $ac_status); }; }; then
21963 ac_header_compiler=yes
21964else
21965 echo "$as_me: failed program was:" >&5
21966sed 's/^/| /' conftest.$ac_ext >&5
21967
21968ac_header_compiler=no
21969fi
ac1cb8d3 21970rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
21971echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21972echo "${ECHO_T}$ac_header_compiler" >&6
21973
21974# Is the header present?
21975echo "$as_me:$LINENO: checking mspack.h presence" >&5
21976echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
21977cat >conftest.$ac_ext <<_ACEOF
21978/* confdefs.h. */
21979_ACEOF
21980cat confdefs.h >>conftest.$ac_ext
21981cat >>conftest.$ac_ext <<_ACEOF
21982/* end confdefs.h. */
21983#include <mspack.h>
21984_ACEOF
21985if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21986 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21987 ac_status=$?
21988 grep -v '^ *+' conftest.er1 >conftest.err
21989 rm -f conftest.er1
21990 cat conftest.err >&5
21991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21992 (exit $ac_status); } >/dev/null; then
21993 if test -s conftest.err; then
21994 ac_cpp_err=$ac_c_preproc_warn_flag
ac1cb8d3 21995 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
a848cd7e
SC
21996 else
21997 ac_cpp_err=
21998 fi
21999else
22000 ac_cpp_err=yes
22001fi
22002if test -z "$ac_cpp_err"; then
22003 ac_header_preproc=yes
22004else
22005 echo "$as_me: failed program was:" >&5
22006sed 's/^/| /' conftest.$ac_ext >&5
22007
22008 ac_header_preproc=no
22009fi
22010rm -f conftest.err conftest.$ac_ext
22011echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22012echo "${ECHO_T}$ac_header_preproc" >&6
22013
22014# So? What about this header?
ac1cb8d3
VS
22015case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22016 yes:no: )
a848cd7e
SC
22017 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
22018echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
ac1cb8d3
VS
22019 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
22020echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
22021 ac_header_preproc=yes
a848cd7e 22022 ;;
ac1cb8d3 22023 no:yes:* )
a848cd7e
SC
22024 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
22025echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
ac1cb8d3
VS
22026 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
22027echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
22028 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
22029echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
22030 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
22031echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
a848cd7e
SC
22032 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
22033echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
ac1cb8d3
VS
22034 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
22035echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
a848cd7e
SC
22036 (
22037 cat <<\_ASBOX
ac1cb8d3
VS
22038## ----------------------------------------- ##
22039## Report this to wx-dev@lists.wxwidgets.org ##
22040## ----------------------------------------- ##
a848cd7e
SC
22041_ASBOX
22042 ) |
22043 sed "s/^/$as_me: WARNING: /" >&2
22044 ;;
22045esac
22046echo "$as_me:$LINENO: checking for mspack.h" >&5
22047echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
22048if test "${ac_cv_header_mspack_h+set}" = set; then
22049 echo $ECHO_N "(cached) $ECHO_C" >&6
22050else
22051 ac_cv_header_mspack_h=$ac_header_preproc
22052fi
22053echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
22054echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
22055
22056fi
22057if test $ac_cv_header_mspack_h = yes; then
22058 found_mspack_h=1
22059fi
22060
22061
22062 if test "x$found_mspack_h" = "x1"; then
22063 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
22064echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
22065if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
22066 echo $ECHO_N "(cached) $ECHO_C" >&6
22067else
22068 ac_check_lib_save_LIBS=$LIBS
22069LIBS="-lmspack $LIBS"
22070cat >conftest.$ac_ext <<_ACEOF
22071/* confdefs.h. */
22072_ACEOF
22073cat confdefs.h >>conftest.$ac_ext
22074cat >>conftest.$ac_ext <<_ACEOF
22075/* end confdefs.h. */
22076
22077/* Override any gcc2 internal prototype to avoid an error. */
22078#ifdef __cplusplus
22079extern "C"
22080#endif
22081/* We use char because int might match the return type of a gcc2
22082 builtin and then its argument prototype would still apply. */
22083char mspack_create_chm_decompressor ();
22084int
22085main ()
22086{
22087mspack_create_chm_decompressor ();
22088 ;
22089 return 0;
22090}
22091_ACEOF
22092rm -f conftest.$ac_objext conftest$ac_exeext
22093if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 22094 (eval $ac_link) 2>conftest.er1
a848cd7e 22095 ac_status=$?
ac1cb8d3
VS
22096 grep -v '^ *+' conftest.er1 >conftest.err
22097 rm -f conftest.er1
22098 cat conftest.err >&5
a848cd7e
SC
22099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22100 (exit $ac_status); } &&
d1c38808 22101 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
22102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22103 (eval $ac_try) 2>&5
22104 ac_status=$?
22105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22106 (exit $ac_status); }; } &&
22107 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
22108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22109 (eval $ac_try) 2>&5
22110 ac_status=$?
22111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22112 (exit $ac_status); }; }; then
22113 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
22114else
22115 echo "$as_me: failed program was:" >&5
22116sed 's/^/| /' conftest.$ac_ext >&5
22117
22118ac_cv_lib_mspack_mspack_create_chm_decompressor=no
22119fi
ac1cb8d3
VS
22120rm -f conftest.err conftest.$ac_objext \
22121 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
22122LIBS=$ac_check_lib_save_LIBS
22123fi
22124echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
22125echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
22126if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
22127 MSPACK_LINK=" -lmspack"
22128fi
22129
22130 fi
22131 if test "x$MSPACK_LINK" = "x" ; then
22132 wxUSE_LIBMSPACK=no
22133 else
22134 cat >>confdefs.h <<\_ACEOF
22135#define wxUSE_LIBMSPACK 1
22136_ACEOF
22137
22138 fi
22139fi
22140
22141
22142
22143AFMINSTALL=
22144WIN32INSTALL=
22145
22146TOOLKIT=
22147TOOLKIT_INCLUDE=
22148WIDGET_SET=
22149
22150if test "$USE_WIN32" = 1 ; then
22151
22152for ac_header in w32api.h
22153do
22154as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22155if eval "test \"\${$as_ac_Header+set}\" = set"; then
22156 echo "$as_me:$LINENO: checking for $ac_header" >&5
22157echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22158if eval "test \"\${$as_ac_Header+set}\" = set"; then
22159 echo $ECHO_N "(cached) $ECHO_C" >&6
22160fi
22161echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22162echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22163else
22164 # Is the header compilable?
22165echo "$as_me:$LINENO: checking $ac_header usability" >&5
22166echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22167cat >conftest.$ac_ext <<_ACEOF
22168/* confdefs.h. */
22169_ACEOF
22170cat confdefs.h >>conftest.$ac_ext
22171cat >>conftest.$ac_ext <<_ACEOF
22172/* end confdefs.h. */
22173$ac_includes_default
22174#include <$ac_header>
22175_ACEOF
22176rm -f conftest.$ac_objext
22177if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 22178 (eval $ac_compile) 2>conftest.er1
a848cd7e 22179 ac_status=$?
ac1cb8d3
VS
22180 grep -v '^ *+' conftest.er1 >conftest.err
22181 rm -f conftest.er1
22182 cat conftest.err >&5
a848cd7e
SC
22183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22184 (exit $ac_status); } &&
d1c38808 22185 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
22186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22187 (eval $ac_try) 2>&5
22188 ac_status=$?
22189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22190 (exit $ac_status); }; } &&
22191 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
22192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22193 (eval $ac_try) 2>&5
22194 ac_status=$?
22195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22196 (exit $ac_status); }; }; then
22197 ac_header_compiler=yes
22198else
22199 echo "$as_me: failed program was:" >&5
22200sed 's/^/| /' conftest.$ac_ext >&5
22201
22202ac_header_compiler=no
22203fi
ac1cb8d3 22204rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
22205echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22206echo "${ECHO_T}$ac_header_compiler" >&6
22207
22208# Is the header present?
22209echo "$as_me:$LINENO: checking $ac_header presence" >&5
22210echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22211cat >conftest.$ac_ext <<_ACEOF
22212/* confdefs.h. */
22213_ACEOF
22214cat confdefs.h >>conftest.$ac_ext
22215cat >>conftest.$ac_ext <<_ACEOF
22216/* end confdefs.h. */
22217#include <$ac_header>
22218_ACEOF
22219if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22220 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22221 ac_status=$?
22222 grep -v '^ *+' conftest.er1 >conftest.err
22223 rm -f conftest.er1
22224 cat conftest.err >&5
22225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22226 (exit $ac_status); } >/dev/null; then
22227 if test -s conftest.err; then
22228 ac_cpp_err=$ac_c_preproc_warn_flag
ac1cb8d3 22229 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
a848cd7e
SC
22230 else
22231 ac_cpp_err=
22232 fi
22233else
22234 ac_cpp_err=yes
22235fi
22236if test -z "$ac_cpp_err"; then
22237 ac_header_preproc=yes
22238else
22239 echo "$as_me: failed program was:" >&5
22240sed 's/^/| /' conftest.$ac_ext >&5
22241
22242 ac_header_preproc=no
22243fi
22244rm -f conftest.err conftest.$ac_ext
22245echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22246echo "${ECHO_T}$ac_header_preproc" >&6
22247
22248# So? What about this header?
ac1cb8d3
VS
22249case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22250 yes:no: )
a848cd7e
SC
22251 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22252echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
ac1cb8d3
VS
22253 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22254echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22255 ac_header_preproc=yes
a848cd7e 22256 ;;
ac1cb8d3 22257 no:yes:* )
a848cd7e
SC
22258 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22259echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
ac1cb8d3
VS
22260 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22261echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22262 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22263echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22264 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22265echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
a848cd7e
SC
22266 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22267echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
ac1cb8d3
VS
22268 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22269echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
a848cd7e
SC
22270 (
22271 cat <<\_ASBOX
ac1cb8d3
VS
22272## ----------------------------------------- ##
22273## Report this to wx-dev@lists.wxwidgets.org ##
22274## ----------------------------------------- ##
a848cd7e
SC
22275_ASBOX
22276 ) |
22277 sed "s/^/$as_me: WARNING: /" >&2
22278 ;;
22279esac
22280echo "$as_me:$LINENO: checking for $ac_header" >&5
22281echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22282if eval "test \"\${$as_ac_Header+set}\" = set"; then
22283 echo $ECHO_N "(cached) $ECHO_C" >&6
22284else
ac1cb8d3 22285 eval "$as_ac_Header=\$ac_header_preproc"
a848cd7e
SC
22286fi
22287echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22288echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22289
22290fi
22291if test `eval echo '${'$as_ac_Header'}'` = yes; then
22292 cat >>confdefs.h <<_ACEOF
22293#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22294_ACEOF
22295
22296fi
22297
22298done
22299
22300 if test "${ac_cv_header_windows_h+set}" = set; then
22301 echo "$as_me:$LINENO: checking for windows.h" >&5
22302echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22303if test "${ac_cv_header_windows_h+set}" = set; then
22304 echo $ECHO_N "(cached) $ECHO_C" >&6
22305fi
22306echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22307echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22308else
22309 # Is the header compilable?
22310echo "$as_me:$LINENO: checking windows.h usability" >&5
22311echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
22312cat >conftest.$ac_ext <<_ACEOF
22313/* confdefs.h. */
22314_ACEOF
22315cat confdefs.h >>conftest.$ac_ext
22316cat >>conftest.$ac_ext <<_ACEOF
22317/* end confdefs.h. */
22318$ac_includes_default
22319#include <windows.h>
22320_ACEOF
22321rm -f conftest.$ac_objext
22322if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 22323 (eval $ac_compile) 2>conftest.er1
a848cd7e 22324 ac_status=$?
ac1cb8d3
VS
22325 grep -v '^ *+' conftest.er1 >conftest.err
22326 rm -f conftest.er1
22327 cat conftest.err >&5
a848cd7e
SC
22328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22329 (exit $ac_status); } &&
d1c38808 22330 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
22331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22332 (eval $ac_try) 2>&5
22333 ac_status=$?
22334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22335 (exit $ac_status); }; } &&
22336 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
22337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22338 (eval $ac_try) 2>&5
22339 ac_status=$?
22340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22341 (exit $ac_status); }; }; then
22342 ac_header_compiler=yes
22343else
22344 echo "$as_me: failed program was:" >&5
22345sed 's/^/| /' conftest.$ac_ext >&5
22346
22347ac_header_compiler=no
22348fi
ac1cb8d3 22349rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
22350echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22351echo "${ECHO_T}$ac_header_compiler" >&6
22352
22353# Is the header present?
22354echo "$as_me:$LINENO: checking windows.h presence" >&5
22355echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
22356cat >conftest.$ac_ext <<_ACEOF
22357/* confdefs.h. */
22358_ACEOF
22359cat confdefs.h >>conftest.$ac_ext
22360cat >>conftest.$ac_ext <<_ACEOF
22361/* end confdefs.h. */
22362#include <windows.h>
22363_ACEOF
22364if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22365 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22366 ac_status=$?
22367 grep -v '^ *+' conftest.er1 >conftest.err
22368 rm -f conftest.er1
22369 cat conftest.err >&5
22370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22371 (exit $ac_status); } >/dev/null; then
22372 if test -s conftest.err; then
22373 ac_cpp_err=$ac_c_preproc_warn_flag
ac1cb8d3 22374 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
a848cd7e
SC
22375 else
22376 ac_cpp_err=
22377 fi
22378else
22379 ac_cpp_err=yes
22380fi
22381if test -z "$ac_cpp_err"; then
22382 ac_header_preproc=yes
22383else
22384 echo "$as_me: failed program was:" >&5
22385sed 's/^/| /' conftest.$ac_ext >&5
22386
22387 ac_header_preproc=no
22388fi
22389rm -f conftest.err conftest.$ac_ext
22390echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22391echo "${ECHO_T}$ac_header_preproc" >&6
22392
22393# So? What about this header?
ac1cb8d3
VS
22394case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22395 yes:no: )
a848cd7e
SC
22396 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
22397echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
ac1cb8d3
VS
22398 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
22399echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
22400 ac_header_preproc=yes
a848cd7e 22401 ;;
ac1cb8d3 22402 no:yes:* )
a848cd7e
SC
22403 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
22404echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
ac1cb8d3
VS
22405 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
22406echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
22407 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
22408echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
22409 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
22410echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
a848cd7e
SC
22411 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
22412echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
ac1cb8d3
VS
22413 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
22414echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
a848cd7e
SC
22415 (
22416 cat <<\_ASBOX
ac1cb8d3
VS
22417## ----------------------------------------- ##
22418## Report this to wx-dev@lists.wxwidgets.org ##
22419## ----------------------------------------- ##
a848cd7e
SC
22420_ASBOX
22421 ) |
22422 sed "s/^/$as_me: WARNING: /" >&2
22423 ;;
22424esac
22425echo "$as_me:$LINENO: checking for windows.h" >&5
22426echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22427if test "${ac_cv_header_windows_h+set}" = set; then
22428 echo $ECHO_N "(cached) $ECHO_C" >&6
22429else
22430 ac_cv_header_windows_h=$ac_header_preproc
22431fi
22432echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22433echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22434
22435fi
22436if test $ac_cv_header_windows_h = yes; then
22437 :
22438else
22439
22440 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
22441echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
22442 { (exit 1); exit 1; }; }
22443
22444fi
22445
22446
22447
22448 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
22449
22450 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
22451 LIBS="$LIBS -loleacc"
22452 fi
22453
22454 case "${host}" in
22455 *-*-cygwin* )
22456 LIBS="$LIBS -lkernel32 -luser32"
22457 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
22458 esac
22459
22460 if test "$wxUSE_ODBC" = "sys" ; then
22461 wxUSE_ODBC = "yes"
22462 fi
22463 if test "$wxUSE_ODBC" = "yes" ; then
22464 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
22465 cat >>confdefs.h <<\_ACEOF
22466#define wxUSE_ODBC 1
22467_ACEOF
22468
22469 fi
22470
22471 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
22472 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
22473
22474 WIN32INSTALL=win32install
22475fi
22476
22477if test "$wxUSE_GUI" = "yes"; then
22478 USE_GUI=1
22479
22480 GUI_TK_LIBRARY=
22481
22482 WXGTK12=
22483 WXGTK127=
22484 WXGTK20=
22485 WXGPE=
22486
207bc66c
RN
22487 if test "$wxUSE_COCOA" = 1 ; then
22488 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
22489 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
22490echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
22491 wxUSE_PRINTING_ARCHITECTURE=no
22492 fi
22493 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
22494 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
22495echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
22496 wxUSE_DRAG_AND_DROP=no
22497 fi
22498 if test "$wxUSE_DRAGIMAGE" = "yes"; then
22499 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
22500echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
22501 wxUSE_DRAGIMAGE=no
22502 fi
22503 fi
22504
a848cd7e
SC
22505 if test "$wxUSE_MSW" = 1 ; then
22506 TOOLKIT=MSW
22507 GUIDIST=MSW_DIST
22508
ceec2216 22509 case "${host}" in
a848cd7e
SC
22510 *-*-mingw32* )
22511 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
22512 esac
22513 fi
22514
22515 if test "$wxUSE_GTK" = 1; then
22516 echo "$as_me:$LINENO: checking for GTK+ version" >&5
22517echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
22518
22519 gtk_version_cached=1
22520 if test "${wx_cv_lib_gtk+set}" = set; then
22521 echo $ECHO_N "(cached) $ECHO_C" >&6
22522else
22523
22524 gtk_version_cached=0
22525 echo "$as_me:$LINENO: result: " >&5
22526echo "${ECHO_T}" >&6
22527
22528 GTK_MODULES=
22529 if test "$wxUSE_THREADS" = "yes"; then
22530 GTK_MODULES=gthread
22531 fi
22532
22533 wx_cv_lib_gtk=
22534 if test "x$wxUSE_GTK2" = "xyes"; then
22535 # Check whether --enable-gtktest or --disable-gtktest was given.
22536if test "${enable_gtktest+set}" = set; then
22537 enableval="$enable_gtktest"
22538
22539else
22540 enable_gtktest=yes
22541fi;
22542
22543 pkg_config_args=gtk+-2.0
22544 for module in . $GTK_MODULES
22545 do
22546 case "$module" in
22547 gthread)
22548 pkg_config_args="$pkg_config_args gthread-2.0"
22549 ;;
22550 esac
22551 done
22552
22553 no_gtk=""
22554
22555 # Extract the first word of "pkg-config", so it can be a program name with args.
22556set dummy pkg-config; ac_word=$2
22557echo "$as_me:$LINENO: checking for $ac_word" >&5
22558echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22559if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22560 echo $ECHO_N "(cached) $ECHO_C" >&6
22561else
22562 case $PKG_CONFIG in
22563 [\\/]* | ?:[\\/]*)
22564 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22565 ;;
22566 *)
22567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22568for as_dir in $PATH
22569do
22570 IFS=$as_save_IFS
22571 test -z "$as_dir" && as_dir=.
22572 for ac_exec_ext in '' $ac_executable_extensions; do
22573 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22574 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22576 break 2
22577 fi
22578done
22579done
22580
22581 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22582 ;;
22583esac
22584fi
22585PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22586
22587if test -n "$PKG_CONFIG"; then
22588 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22589echo "${ECHO_T}$PKG_CONFIG" >&6
22590else
22591 echo "$as_me:$LINENO: result: no" >&5
22592echo "${ECHO_T}no" >&6
22593fi
22594
22595
22596 if test x$PKG_CONFIG != xno ; then
22597 if pkg-config --atleast-pkgconfig-version 0.7 ; then
22598 :
22599 else
c2218763 22600 echo "*** pkg-config too old; version 0.7 or better required."
a848cd7e
SC
22601 no_gtk=yes
22602 PKG_CONFIG=no
22603 fi
22604 else
22605 no_gtk=yes
22606 fi
22607
22608 min_gtk_version=2.0.0
22609 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
22610echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
22611
22612 if test x$PKG_CONFIG != xno ; then
22613 ## don't try to run the test against uninstalled libtool libs
22614 if $PKG_CONFIG --uninstalled $pkg_config_args; then
22615 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
22616 enable_gtktest=no
22617 fi
22618
22619 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
22620 :
22621 else
22622 no_gtk=yes
22623 fi
22624 fi
22625
22626 if test x"$no_gtk" = x ; then
22627 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
22628 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
22629 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
22630 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22631 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
22632 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22633 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
22634 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22635 if test "x$enable_gtktest" = "xyes" ; then
22636 ac_save_CFLAGS="$CFLAGS"
22637 ac_save_LIBS="$LIBS"
22638 CFLAGS="$CFLAGS $GTK_CFLAGS"
22639 LIBS="$GTK_LIBS $LIBS"
22640 rm -f conf.gtktest
22641 if test "$cross_compiling" = yes; then
22642 echo $ac_n "cross compiling; assumed OK... $ac_c"
22643else
22644 cat >conftest.$ac_ext <<_ACEOF
22645/* confdefs.h. */
22646_ACEOF
22647cat confdefs.h >>conftest.$ac_ext
22648cat >>conftest.$ac_ext <<_ACEOF
22649/* end confdefs.h. */
22650
22651#include <gtk/gtk.h>
22652#include <stdio.h>
22653#include <stdlib.h>
22654
22655int
22656main ()
22657{
22658 int major, minor, micro;
22659 char *tmp_version;
22660
22661 system ("touch conf.gtktest");
22662
22663 /* HP/UX 9 (%@#!) writes to sscanf strings */
22664 tmp_version = g_strdup("$min_gtk_version");
22665 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
22666 printf("%s, bad version string\n", "$min_gtk_version");
22667 exit(1);
22668 }
22669
22670 if ((gtk_major_version != $gtk_config_major_version) ||
22671 (gtk_minor_version != $gtk_config_minor_version) ||
22672 (gtk_micro_version != $gtk_config_micro_version))
22673 {
22674 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22675 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22676 gtk_major_version, gtk_minor_version, gtk_micro_version);
22677 printf ("*** was found! If pkg-config was correct, then it is best\n");
22678 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22679 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22680 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22681 printf("*** required on your system.\n");
22682 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
22683 printf("*** to point to the correct configuration files\n");
22684 }
22685 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22686 (gtk_minor_version != GTK_MINOR_VERSION) ||
22687 (gtk_micro_version != GTK_MICRO_VERSION))
22688 {
22689 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22690 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22691 printf("*** library (version %d.%d.%d)\n",
22692 gtk_major_version, gtk_minor_version, gtk_micro_version);
22693 }
22694 else
22695 {
22696 if ((gtk_major_version > major) ||
22697 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22698 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22699 {
22700 return 0;
22701 }
22702 else
22703 {
22704 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22705 gtk_major_version, gtk_minor_version, gtk_micro_version);
22706 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22707 major, minor, micro);
22708 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22709 printf("***\n");
22710 printf("*** If you have already installed a sufficiently new version, this error\n");
22711 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
22712 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22713 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
22714 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
22715 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22716 printf("*** so that the correct libraries are found at run-time))\n");
22717 }
22718 }
22719 return 1;
22720}
22721
22722_ACEOF
22723rm -f conftest$ac_exeext
22724if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22725 (eval $ac_link) 2>&5
22726 ac_status=$?
22727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22728 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22730 (eval $ac_try) 2>&5
22731 ac_status=$?
22732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22733 (exit $ac_status); }; }; then
22734 :
22735else
22736 echo "$as_me: program exited with status $ac_status" >&5
22737echo "$as_me: failed program was:" >&5
22738sed 's/^/| /' conftest.$ac_ext >&5
22739
22740( exit $ac_status )
22741no_gtk=yes
22742fi
ac1cb8d3 22743rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
22744fi
22745 CFLAGS="$ac_save_CFLAGS"
22746 LIBS="$ac_save_LIBS"
22747 fi
22748 fi
22749 if test "x$no_gtk" = x ; then
22750 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
22751echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
22752 wx_cv_lib_gtk=2.0
22753 else
22754 echo "$as_me:$LINENO: result: no" >&5
22755echo "${ECHO_T}no" >&6
22756 if test "$PKG_CONFIG" = "no" ; then
22757 echo "*** A new enough version of pkg-config was not found."
22758 echo "*** See http://pkgconfig.sourceforge.net"
22759 else
22760 if test -f conf.gtktest ; then
22761 :
22762 else
22763 echo "*** Could not run GTK+ test program, checking why..."
22764 ac_save_CFLAGS="$CFLAGS"
22765 ac_save_LIBS="$LIBS"
22766 CFLAGS="$CFLAGS $GTK_CFLAGS"
22767 LIBS="$LIBS $GTK_LIBS"
22768 cat >conftest.$ac_ext <<_ACEOF
22769/* confdefs.h. */
22770_ACEOF
22771cat confdefs.h >>conftest.$ac_ext
22772cat >>conftest.$ac_ext <<_ACEOF
22773/* end confdefs.h. */
22774
22775#include <gtk/gtk.h>
22776#include <stdio.h>
22777
22778int
22779main ()
22780{
22781 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22782 ;
22783 return 0;
22784}
22785_ACEOF
22786rm -f conftest.$ac_objext conftest$ac_exeext
22787if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 22788 (eval $ac_link) 2>conftest.er1
a848cd7e 22789 ac_status=$?
ac1cb8d3
VS
22790 grep -v '^ *+' conftest.er1 >conftest.err
22791 rm -f conftest.er1
22792 cat conftest.err >&5
a848cd7e
SC
22793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22794 (exit $ac_status); } &&
d1c38808 22795 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
22796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22797 (eval $ac_try) 2>&5
22798 ac_status=$?
22799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22800 (exit $ac_status); }; } &&
22801 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
22802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22803 (eval $ac_try) 2>&5
22804 ac_status=$?
22805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22806 (exit $ac_status); }; }; then
22807 echo "*** The test program compiled, but did not run. This usually means"
22808 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
22809 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
22810 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22811 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22812 echo "*** is required on your system"
22813 echo "***"
22814 echo "*** If you have an old version installed, it is best to remove it, although"
22815 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22816else
22817 echo "$as_me: failed program was:" >&5
22818sed 's/^/| /' conftest.$ac_ext >&5
22819
22820 echo "*** The test program failed to compile or link. See the file config.log for the"
22821 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
22822fi
ac1cb8d3
VS
22823rm -f conftest.err conftest.$ac_objext \
22824 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
22825 CFLAGS="$ac_save_CFLAGS"
22826 LIBS="$ac_save_LIBS"
22827 fi
22828 fi
22829 GTK_CFLAGS=""
22830 GTK_LIBS=""
22831 :
22832 fi
22833
22834
22835 rm -f conf.gtktest
22836
22837 else
22838
22839# Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22840if test "${with_gtk_prefix+set}" = set; then
22841 withval="$with_gtk_prefix"
22842 gtk_config_prefix="$withval"
22843else
22844 gtk_config_prefix=""
22845fi;
22846
22847# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22848if test "${with_gtk_exec_prefix+set}" = set; then
22849 withval="$with_gtk_exec_prefix"
22850 gtk_config_exec_prefix="$withval"
22851else
22852 gtk_config_exec_prefix=""
22853fi;
22854# Check whether --enable-gtktest or --disable-gtktest was given.
22855if test "${enable_gtktest+set}" = set; then
22856 enableval="$enable_gtktest"
22857
22858else
22859 enable_gtktest=yes
22860fi;
22861
22862 for module in . $GTK_MODULES
22863 do
22864 case "$module" in
22865 gthread)
22866 gtk_config_args="$gtk_config_args gthread"
22867 ;;
22868 esac
22869 done
22870
22871 if test x$gtk_config_exec_prefix != x ; then
22872 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22873 if test x${GTK_CONFIG+set} != xset ; then
22874 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
22875 fi
22876 fi
22877 if test x$gtk_config_prefix != x ; then
22878 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
22879 if test x${GTK_CONFIG+set} != xset ; then
22880 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
22881 fi
22882 fi
22883
22884 # Extract the first word of "gtk-config", so it can be a program name with args.
22885set dummy gtk-config; ac_word=$2
22886echo "$as_me:$LINENO: checking for $ac_word" >&5
22887echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22888if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22889 echo $ECHO_N "(cached) $ECHO_C" >&6
22890else
22891 case $GTK_CONFIG in
22892 [\\/]* | ?:[\\/]*)
22893 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
22894 ;;
22895 *)
22896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22897for as_dir in $PATH
22898do
22899 IFS=$as_save_IFS
22900 test -z "$as_dir" && as_dir=.
22901 for ac_exec_ext in '' $ac_executable_extensions; do
22902 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22903 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22904 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22905 break 2
22906 fi
22907done
22908done
22909
22910 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
22911 ;;
22912esac
22913fi
22914GTK_CONFIG=$ac_cv_path_GTK_CONFIG
22915
22916if test -n "$GTK_CONFIG"; then
22917 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
22918echo "${ECHO_T}$GTK_CONFIG" >&6
22919else
22920 echo "$as_me:$LINENO: result: no" >&5
22921echo "${ECHO_T}no" >&6
22922fi
22923
22924 min_gtk_version=1.2.7
22925 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
22926echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
22927 no_gtk=""
22928 if test "$GTK_CONFIG" = "no" ; then
22929 no_gtk=yes
22930 else
22931 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
22932 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
22933 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
22934 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22935 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
22936 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22937 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
22938 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22939 if test "x$enable_gtktest" = "xyes" ; then
22940 ac_save_CFLAGS="$CFLAGS"
22941 ac_save_LIBS="$LIBS"
22942 CFLAGS="$CFLAGS $GTK_CFLAGS"
22943 LIBS="$GTK_LIBS $LIBS"
22944 rm -f conf.gtktest
22945 if test "$cross_compiling" = yes; then
22946 echo $ac_n "cross compiling; assumed OK... $ac_c"
22947else
22948 cat >conftest.$ac_ext <<_ACEOF
22949/* confdefs.h. */
22950_ACEOF
22951cat confdefs.h >>conftest.$ac_ext
22952cat >>conftest.$ac_ext <<_ACEOF
22953/* end confdefs.h. */
22954
22955#include <gtk/gtk.h>
22956#include <stdio.h>
22957#include <stdlib.h>
22958
22959int
22960main ()
22961{
22962 int major, minor, micro;
22963 char *tmp_version;
22964
22965 system ("touch conf.gtktest");
22966
22967 /* HP/UX 9 (%@#!) writes to sscanf strings */
22968 tmp_version = g_strdup("$min_gtk_version");
22969 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
22970 printf("%s, bad version string\n", "$min_gtk_version");
22971 exit(1);
22972 }
22973
22974 if ((gtk_major_version != $gtk_config_major_version) ||
22975 (gtk_minor_version != $gtk_config_minor_version) ||
22976 (gtk_micro_version != $gtk_config_micro_version))
22977 {
22978 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22979 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22980 gtk_major_version, gtk_minor_version, gtk_micro_version);
22981 printf ("*** was found! If gtk-config was correct, then it is best\n");
22982 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22983 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22984 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22985 printf("*** required on your system.\n");
22986 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
22987 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
22988 printf("*** before re-running configure\n");
22989 }
22990#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
22991 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22992 (gtk_minor_version != GTK_MINOR_VERSION) ||
22993 (gtk_micro_version != GTK_MICRO_VERSION))
22994 {
22995 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22996 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22997 printf("*** library (version %d.%d.%d)\n",
22998 gtk_major_version, gtk_minor_version, gtk_micro_version);
22999 }
23000#endif /* defined (GTK_MAJOR_VERSION) ... */
23001 else
23002 {
23003 if ((gtk_major_version > major) ||
23004 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23005 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23006 {
23007 return 0;
23008 }
23009 else
23010 {
23011 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23012 gtk_major_version, gtk_minor_version, gtk_micro_version);
23013 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23014 major, minor, micro);
23015 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23016 printf("***\n");
23017 printf("*** If you have already installed a sufficiently new version, this error\n");
23018 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23019 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23020 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23021 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23022 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23023 printf("*** so that the correct libraries are found at run-time))\n");
23024 }
23025 }
23026 return 1;
23027}
23028
23029_ACEOF
23030rm -f conftest$ac_exeext
23031if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23032 (eval $ac_link) 2>&5
23033 ac_status=$?
23034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23035 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23037 (eval $ac_try) 2>&5
23038 ac_status=$?
23039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23040 (exit $ac_status); }; }; then
23041 :
23042else
23043 echo "$as_me: program exited with status $ac_status" >&5
23044echo "$as_me: failed program was:" >&5
23045sed 's/^/| /' conftest.$ac_ext >&5
23046
23047( exit $ac_status )
23048no_gtk=yes
23049fi
ac1cb8d3 23050rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
23051fi
23052 CFLAGS="$ac_save_CFLAGS"
23053 LIBS="$ac_save_LIBS"
23054 fi
23055 fi
23056 if test "x$no_gtk" = x ; then
23057 echo "$as_me:$LINENO: result: yes" >&5
23058echo "${ECHO_T}yes" >&6
23059 wx_cv_lib_gtk=1.2.7
23060 else
23061 echo "$as_me:$LINENO: result: no" >&5
23062echo "${ECHO_T}no" >&6
23063 if test "$GTK_CONFIG" = "no" ; then
23064 echo "*** The gtk-config script installed by GTK could not be found"
23065 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23066 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23067 echo "*** full path to gtk-config."
23068 else
23069 if test -f conf.gtktest ; then
23070 :
23071 else
23072 echo "*** Could not run GTK test program, checking why..."
23073 CFLAGS="$CFLAGS $GTK_CFLAGS"
23074 LIBS="$LIBS $GTK_LIBS"
23075 cat >conftest.$ac_ext <<_ACEOF
23076/* confdefs.h. */
23077_ACEOF
23078cat confdefs.h >>conftest.$ac_ext
23079cat >>conftest.$ac_ext <<_ACEOF
23080/* end confdefs.h. */
23081
23082#include <gtk/gtk.h>
23083#include <stdio.h>
23084
23085int
23086main ()
23087{
23088 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23089 ;
23090 return 0;
23091}
23092_ACEOF
23093rm -f conftest.$ac_objext conftest$ac_exeext
23094if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 23095 (eval $ac_link) 2>conftest.er1
a848cd7e 23096 ac_status=$?
ac1cb8d3
VS
23097 grep -v '^ *+' conftest.er1 >conftest.err
23098 rm -f conftest.er1
23099 cat conftest.err >&5
a848cd7e
SC
23100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23101 (exit $ac_status); } &&
d1c38808 23102 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
23103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23104 (eval $ac_try) 2>&5
23105 ac_status=$?
23106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23107 (exit $ac_status); }; } &&
23108 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
23109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23110 (eval $ac_try) 2>&5
23111 ac_status=$?
23112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23113 (exit $ac_status); }; }; then
23114 echo "*** The test program compiled, but did not run. This usually means"
23115 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23116 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23117 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23118 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23119 echo "*** is required on your system"
23120 echo "***"
23121 echo "*** If you have an old version installed, it is best to remove it, although"
23122 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23123 echo "***"
23124 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23125 echo "*** came with the system with the command"
23126 echo "***"
23127 echo "*** rpm --erase --nodeps gtk gtk-devel"
23128else
23129 echo "$as_me: failed program was:" >&5
23130sed 's/^/| /' conftest.$ac_ext >&5
23131
23132 echo "*** The test program failed to compile or link. See the file config.log for the"
23133 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23134 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23135 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23136fi
ac1cb8d3
VS
23137rm -f conftest.err conftest.$ac_objext \
23138 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
23139 CFLAGS="$ac_save_CFLAGS"
23140 LIBS="$ac_save_LIBS"
23141 fi
23142 fi
23143 GTK_CFLAGS=""
23144 GTK_LIBS=""
23145 :
23146 fi
23147
23148
23149 rm -f conf.gtktest
23150
23151
23152 if test -z "$wx_cv_lib_gtk"; then
23153
23154# Check whether --with-gtk-prefix or --without-gtk-prefix was given.
23155if test "${with_gtk_prefix+set}" = set; then
23156 withval="$with_gtk_prefix"
23157 gtk_config_prefix="$withval"
23158else
23159 gtk_config_prefix=""
23160fi;
23161
23162# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
23163if test "${with_gtk_exec_prefix+set}" = set; then
23164 withval="$with_gtk_exec_prefix"
23165 gtk_config_exec_prefix="$withval"
23166else
23167 gtk_config_exec_prefix=""
23168fi;
23169# Check whether --enable-gtktest or --disable-gtktest was given.
23170if test "${enable_gtktest+set}" = set; then
23171 enableval="$enable_gtktest"
23172
23173else
23174 enable_gtktest=yes
23175fi;
23176
23177 for module in . $GTK_MODULES
23178 do
23179 case "$module" in
23180 gthread)
23181 gtk_config_args="$gtk_config_args gthread"
23182 ;;
23183 esac
23184 done
23185
23186 if test x$gtk_config_exec_prefix != x ; then
23187 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23188 if test x${GTK_CONFIG+set} != xset ; then
23189 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
23190 fi
23191 fi
23192 if test x$gtk_config_prefix != x ; then
23193 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
23194 if test x${GTK_CONFIG+set} != xset ; then
23195 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
23196 fi
23197 fi
23198
23199 # Extract the first word of "gtk-config", so it can be a program name with args.
23200set dummy gtk-config; ac_word=$2
23201echo "$as_me:$LINENO: checking for $ac_word" >&5
23202echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23203if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
23204 echo $ECHO_N "(cached) $ECHO_C" >&6
23205else
23206 case $GTK_CONFIG in
23207 [\\/]* | ?:[\\/]*)
23208 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
23209 ;;
23210 *)
23211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23212for as_dir in $PATH
23213do
23214 IFS=$as_save_IFS
23215 test -z "$as_dir" && as_dir=.
23216 for ac_exec_ext in '' $ac_executable_extensions; do
23217 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23218 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23219 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23220 break 2
23221 fi
23222done
23223done
23224
23225 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
23226 ;;
23227esac
23228fi
23229GTK_CONFIG=$ac_cv_path_GTK_CONFIG
23230
23231if test -n "$GTK_CONFIG"; then
23232 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
23233echo "${ECHO_T}$GTK_CONFIG" >&6
23234else
23235 echo "$as_me:$LINENO: result: no" >&5
23236echo "${ECHO_T}no" >&6
23237fi
23238
23239 min_gtk_version=1.2.3
23240 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
23241echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
23242 no_gtk=""
23243 if test "$GTK_CONFIG" = "no" ; then
23244 no_gtk=yes
23245 else
23246 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
23247 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
23248 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
23249 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23250 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
23251 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23252 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
23253 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23254 if test "x$enable_gtktest" = "xyes" ; then
23255 ac_save_CFLAGS="$CFLAGS"
23256 ac_save_LIBS="$LIBS"
23257 CFLAGS="$CFLAGS $GTK_CFLAGS"
23258 LIBS="$GTK_LIBS $LIBS"
23259 rm -f conf.gtktest
23260 if test "$cross_compiling" = yes; then
23261 echo $ac_n "cross compiling; assumed OK... $ac_c"
23262else
23263 cat >conftest.$ac_ext <<_ACEOF
23264/* confdefs.h. */
23265_ACEOF
23266cat confdefs.h >>conftest.$ac_ext
23267cat >>conftest.$ac_ext <<_ACEOF
23268/* end confdefs.h. */
23269
23270#include <gtk/gtk.h>
23271#include <stdio.h>
23272#include <stdlib.h>
23273
23274int
23275main ()
23276{
23277 int major, minor, micro;
23278 char *tmp_version;
23279
23280 system ("touch conf.gtktest");
23281
23282 /* HP/UX 9 (%@#!) writes to sscanf strings */
23283 tmp_version = g_strdup("$min_gtk_version");
23284 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23285 printf("%s, bad version string\n", "$min_gtk_version");
23286 exit(1);
23287 }
23288
23289 if ((gtk_major_version != $gtk_config_major_version) ||
23290 (gtk_minor_version != $gtk_config_minor_version) ||
23291 (gtk_micro_version != $gtk_config_micro_version))
23292 {
23293 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23294 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23295 gtk_major_version, gtk_minor_version, gtk_micro_version);
23296 printf ("*** was found! If gtk-config was correct, then it is best\n");
23297 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23298 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23299 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23300 printf("*** required on your system.\n");
23301 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23302 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23303 printf("*** before re-running configure\n");
23304 }
23305#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23306 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23307 (gtk_minor_version != GTK_MINOR_VERSION) ||
23308 (gtk_micro_version != GTK_MICRO_VERSION))
23309 {
23310 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23311 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23312 printf("*** library (version %d.%d.%d)\n",
23313 gtk_major_version, gtk_minor_version, gtk_micro_version);
23314 }
23315#endif /* defined (GTK_MAJOR_VERSION) ... */
23316 else
23317 {
23318 if ((gtk_major_version > major) ||
23319 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23320 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23321 {
23322 return 0;
23323 }
23324 else
23325 {
23326 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23327 gtk_major_version, gtk_minor_version, gtk_micro_version);
23328 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23329 major, minor, micro);
23330 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23331 printf("***\n");
23332 printf("*** If you have already installed a sufficiently new version, this error\n");
23333 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23334 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23335 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23336 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23337 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23338 printf("*** so that the correct libraries are found at run-time))\n");
23339 }
23340 }
23341 return 1;
23342}
23343
23344_ACEOF
23345rm -f conftest$ac_exeext
23346if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23347 (eval $ac_link) 2>&5
23348 ac_status=$?
23349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23350 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23352 (eval $ac_try) 2>&5
23353 ac_status=$?
23354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23355 (exit $ac_status); }; }; then
23356 :
23357else
23358 echo "$as_me: program exited with status $ac_status" >&5
23359echo "$as_me: failed program was:" >&5
23360sed 's/^/| /' conftest.$ac_ext >&5
23361
23362( exit $ac_status )
23363no_gtk=yes
23364fi
ac1cb8d3 23365rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
23366fi
23367 CFLAGS="$ac_save_CFLAGS"
23368 LIBS="$ac_save_LIBS"
23369 fi
23370 fi
23371 if test "x$no_gtk" = x ; then
23372 echo "$as_me:$LINENO: result: yes" >&5
23373echo "${ECHO_T}yes" >&6
23374 wx_cv_lib_gtk=1.2.3
23375 else
23376 echo "$as_me:$LINENO: result: no" >&5
23377echo "${ECHO_T}no" >&6
23378 if test "$GTK_CONFIG" = "no" ; then
23379 echo "*** The gtk-config script installed by GTK could not be found"
23380 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23381 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23382 echo "*** full path to gtk-config."
23383 else
23384 if test -f conf.gtktest ; then
23385 :
23386 else
23387 echo "*** Could not run GTK test program, checking why..."
23388 CFLAGS="$CFLAGS $GTK_CFLAGS"
23389 LIBS="$LIBS $GTK_LIBS"
23390 cat >conftest.$ac_ext <<_ACEOF
23391/* confdefs.h. */
23392_ACEOF
23393cat confdefs.h >>conftest.$ac_ext
23394cat >>conftest.$ac_ext <<_ACEOF
23395/* end confdefs.h. */
23396
23397#include <gtk/gtk.h>
23398#include <stdio.h>
23399
23400int
23401main ()
23402{
23403 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23404 ;
23405 return 0;
23406}
23407_ACEOF
23408rm -f conftest.$ac_objext conftest$ac_exeext
23409if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 23410 (eval $ac_link) 2>conftest.er1
a848cd7e 23411 ac_status=$?
ac1cb8d3
VS
23412 grep -v '^ *+' conftest.er1 >conftest.err
23413 rm -f conftest.er1
23414 cat conftest.err >&5
a848cd7e
SC
23415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23416 (exit $ac_status); } &&
d1c38808 23417 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
23418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23419 (eval $ac_try) 2>&5
23420 ac_status=$?
23421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23422 (exit $ac_status); }; } &&
23423 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
23424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23425 (eval $ac_try) 2>&5
23426 ac_status=$?
23427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23428 (exit $ac_status); }; }; then
23429 echo "*** The test program compiled, but did not run. This usually means"
23430 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23431 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23432 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23433 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23434 echo "*** is required on your system"
23435 echo "***"
23436 echo "*** If you have an old version installed, it is best to remove it, although"
23437 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23438 echo "***"
23439 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23440 echo "*** came with the system with the command"
23441 echo "***"
23442 echo "*** rpm --erase --nodeps gtk gtk-devel"
23443else
23444 echo "$as_me: failed program was:" >&5
23445sed 's/^/| /' conftest.$ac_ext >&5
23446
23447 echo "*** The test program failed to compile or link. See the file config.log for the"
23448 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23449 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23450 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23451fi
ac1cb8d3
VS
23452rm -f conftest.err conftest.$ac_objext \
23453 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
23454 CFLAGS="$ac_save_CFLAGS"
23455 LIBS="$ac_save_LIBS"
23456 fi
23457 fi
23458 GTK_CFLAGS=""
23459 GTK_LIBS=""
23460 :
23461 fi
23462
23463
23464 rm -f conf.gtktest
23465
23466 fi
23467 fi
23468
23469 if test -z "$wx_cv_lib_gtk"; then
23470 wx_cv_lib_gtk=none
23471 else
23472 wx_cv_cflags_gtk=$GTK_CFLAGS
23473 wx_cv_libs_gtk=$GTK_LIBS
23474 fi
23475
23476
23477fi
23478
23479
23480 if test "$gtk_version_cached" = 1; then
23481 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
23482echo "${ECHO_T}$wx_cv_lib_gtk" >&6
23483 fi
23484
23485 case "$wx_cv_lib_gtk" in
23486 2.0) WXGTK20=1
23487 TOOLKIT_VERSION=2
23488 ;;
23489 1.2.7) WXGTK127=1
23490 WXGTK12=1
23491 ;;
23492 1.2.3) WXGTK12=1
23493 ;;
23494 *) { { echo "$as_me:$LINENO: error:
23495Please check that gtk-config is in path, the directory
23496where GTK+ libraries are installed (returned by
23497'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23498equivalent variable and GTK+ is version 1.2.3 or above.
23499 " >&5
23500echo "$as_me: error:
23501Please check that gtk-config is in path, the directory
23502where GTK+ libraries are installed (returned by
23503'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23504equivalent variable and GTK+ is version 1.2.3 or above.
23505 " >&2;}
23506 { (exit 1); exit 1; }; }
23507 ;;
23508 esac
23509
23510 if test "$WXGTK20" = 1; then
304205f1
VS
23511 save_CFLAGS="$CFLAGS"
23512 save_LIBS="$LIBS"
23513 CFLAGS="$CFLAGS $GTK_CFLAGS"
23514 LIBS="$LIBS $GTK_LIBS"
23515
23516for ac_func in pango_font_family_is_monospace
23517do
23518as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23519echo "$as_me:$LINENO: checking for $ac_func" >&5
23520echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23521if eval "test \"\${$as_ac_var+set}\" = set"; then
23522 echo $ECHO_N "(cached) $ECHO_C" >&6
23523else
23524 cat >conftest.$ac_ext <<_ACEOF
23525/* confdefs.h. */
23526_ACEOF
23527cat confdefs.h >>conftest.$ac_ext
23528cat >>conftest.$ac_ext <<_ACEOF
23529/* end confdefs.h. */
23530/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23531 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23532#define $ac_func innocuous_$ac_func
23533
23534/* System header to define __stub macros and hopefully few prototypes,
23535 which can conflict with char $ac_func (); below.
23536 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23537 <limits.h> exists even on freestanding compilers. */
23538
23539#ifdef __STDC__
23540# include <limits.h>
23541#else
23542# include <assert.h>
23543#endif
23544
23545#undef $ac_func
23546
23547/* Override any gcc2 internal prototype to avoid an error. */
23548#ifdef __cplusplus
23549extern "C"
23550{
23551#endif
23552/* We use char because int might match the return type of a gcc2
23553 builtin and then its argument prototype would still apply. */
23554char $ac_func ();
23555/* The GNU C library defines this for functions which it implements
23556 to always fail with ENOSYS. Some functions are actually named
23557 something starting with __ and the normal name is an alias. */
23558#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23559choke me
23560#else
23561char (*f) () = $ac_func;
23562#endif
23563#ifdef __cplusplus
23564}
23565#endif
23566
23567int
23568main ()
23569{
23570return f != $ac_func;
23571 ;
23572 return 0;
23573}
23574_ACEOF
23575rm -f conftest.$ac_objext conftest$ac_exeext
23576if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23577 (eval $ac_link) 2>conftest.er1
23578 ac_status=$?
23579 grep -v '^ *+' conftest.er1 >conftest.err
23580 rm -f conftest.er1
23581 cat conftest.err >&5
23582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23583 (exit $ac_status); } &&
d1c38808 23584 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
304205f1
VS
23585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23586 (eval $ac_try) 2>&5
23587 ac_status=$?
23588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23589 (exit $ac_status); }; } &&
23590 { ac_try='test -s conftest$ac_exeext'
23591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23592 (eval $ac_try) 2>&5
23593 ac_status=$?
23594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23595 (exit $ac_status); }; }; then
23596 eval "$as_ac_var=yes"
23597else
23598 echo "$as_me: failed program was:" >&5
23599sed 's/^/| /' conftest.$ac_ext >&5
23600
23601eval "$as_ac_var=no"
23602fi
23603rm -f conftest.err conftest.$ac_objext \
23604 conftest$ac_exeext conftest.$ac_ext
23605fi
23606echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23607echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23608if test `eval echo '${'$as_ac_var'}'` = yes; then
23609 cat >>confdefs.h <<_ACEOF
23610#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23611_ACEOF
23612
23613fi
23614done
23615
23616 CFLAGS="$save_CFLAGS"
23617 LIBS="$save_LIBS"
a848cd7e
SC
23618 else
23619 if test "$wxUSE_UNICODE" = "yes"; then
23620 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
23621echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
23622 wxUSE_UNICODE=no
23623 fi
23624 fi
23625
23626 if test "$USE_DARWIN" != 1; then
23627
23628for ac_func in poll
23629do
23630as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23631echo "$as_me:$LINENO: checking for $ac_func" >&5
23632echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23633if eval "test \"\${$as_ac_var+set}\" = set"; then
23634 echo $ECHO_N "(cached) $ECHO_C" >&6
23635else
23636 cat >conftest.$ac_ext <<_ACEOF
23637/* confdefs.h. */
23638_ACEOF
23639cat confdefs.h >>conftest.$ac_ext
23640cat >>conftest.$ac_ext <<_ACEOF
23641/* end confdefs.h. */
ac1cb8d3
VS
23642/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23644#define $ac_func innocuous_$ac_func
23645
a848cd7e
SC
23646/* System header to define __stub macros and hopefully few prototypes,
23647 which can conflict with char $ac_func (); below.
23648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23649 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 23650
a848cd7e
SC
23651#ifdef __STDC__
23652# include <limits.h>
23653#else
23654# include <assert.h>
23655#endif
ac1cb8d3
VS
23656
23657#undef $ac_func
23658
a848cd7e
SC
23659/* Override any gcc2 internal prototype to avoid an error. */
23660#ifdef __cplusplus
23661extern "C"
23662{
23663#endif
23664/* We use char because int might match the return type of a gcc2
23665 builtin and then its argument prototype would still apply. */
23666char $ac_func ();
23667/* The GNU C library defines this for functions which it implements
23668 to always fail with ENOSYS. Some functions are actually named
23669 something starting with __ and the normal name is an alias. */
23670#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23671choke me
23672#else
23673char (*f) () = $ac_func;
23674#endif
23675#ifdef __cplusplus
23676}
23677#endif
23678
23679int
23680main ()
23681{
23682return f != $ac_func;
23683 ;
23684 return 0;
23685}
23686_ACEOF
23687rm -f conftest.$ac_objext conftest$ac_exeext
23688if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 23689 (eval $ac_link) 2>conftest.er1
a848cd7e 23690 ac_status=$?
ac1cb8d3
VS
23691 grep -v '^ *+' conftest.er1 >conftest.err
23692 rm -f conftest.er1
23693 cat conftest.err >&5
a848cd7e
SC
23694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23695 (exit $ac_status); } &&
d1c38808 23696 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
23697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23698 (eval $ac_try) 2>&5
23699 ac_status=$?
23700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23701 (exit $ac_status); }; } &&
23702 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
23703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23704 (eval $ac_try) 2>&5
23705 ac_status=$?
23706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23707 (exit $ac_status); }; }; then
23708 eval "$as_ac_var=yes"
23709else
23710 echo "$as_me: failed program was:" >&5
23711sed 's/^/| /' conftest.$ac_ext >&5
23712
23713eval "$as_ac_var=no"
23714fi
ac1cb8d3
VS
23715rm -f conftest.err conftest.$ac_objext \
23716 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
23717fi
23718echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23719echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23720if test `eval echo '${'$as_ac_var'}'` = yes; then
23721 cat >>confdefs.h <<_ACEOF
23722#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23723_ACEOF
23724
23725fi
23726done
23727
23728 fi
23729
23730 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
23731 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
23732
23733 AFMINSTALL=afminstall
23734 TOOLKIT=GTK
23735 GUIDIST=GTK_DIST
23736
23737 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
23738echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
23739if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
23740 echo $ECHO_N "(cached) $ECHO_C" >&6
23741else
23742 ac_check_lib_save_LIBS=$LIBS
23743LIBS="-lgdk $LIBS"
23744cat >conftest.$ac_ext <<_ACEOF
23745/* confdefs.h. */
23746_ACEOF
23747cat confdefs.h >>conftest.$ac_ext
23748cat >>conftest.$ac_ext <<_ACEOF
23749/* end confdefs.h. */
23750
23751/* Override any gcc2 internal prototype to avoid an error. */
23752#ifdef __cplusplus
23753extern "C"
23754#endif
23755/* We use char because int might match the return type of a gcc2
23756 builtin and then its argument prototype would still apply. */
23757char gdk_im_open ();
23758int
23759main ()
23760{
23761gdk_im_open ();
23762 ;
23763 return 0;
23764}
23765_ACEOF
23766rm -f conftest.$ac_objext conftest$ac_exeext
23767if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 23768 (eval $ac_link) 2>conftest.er1
a848cd7e 23769 ac_status=$?
ac1cb8d3
VS
23770 grep -v '^ *+' conftest.er1 >conftest.err
23771 rm -f conftest.er1
23772 cat conftest.err >&5
a848cd7e
SC
23773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23774 (exit $ac_status); } &&
d1c38808 23775 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
23776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23777 (eval $ac_try) 2>&5
23778 ac_status=$?
23779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23780 (exit $ac_status); }; } &&
23781 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
23782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23783 (eval $ac_try) 2>&5
23784 ac_status=$?
23785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23786 (exit $ac_status); }; }; then
23787 ac_cv_lib_gdk_gdk_im_open=yes
23788else
23789 echo "$as_me: failed program was:" >&5
23790sed 's/^/| /' conftest.$ac_ext >&5
23791
23792ac_cv_lib_gdk_gdk_im_open=no
23793fi
ac1cb8d3
VS
23794rm -f conftest.err conftest.$ac_objext \
23795 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
23796LIBS=$ac_check_lib_save_LIBS
23797fi
23798echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
23799echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
23800if test $ac_cv_lib_gdk_gdk_im_open = yes; then
23801 cat >>confdefs.h <<\_ACEOF
23802#define HAVE_XIM 1
23803_ACEOF
23804
23805fi
23806
23807
23808
23809 if test "$wxUSE_GPE" = "yes"; then
23810 echo "$as_me:$LINENO: checking for gpewidget library" >&5
23811echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
23812
23813ac_find_libraries=
23814for ac_dir in $SEARCH_LIB /usr/lib;
23815 do
23816 for ac_extension in a so sl dylib; do
23817 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
23818 ac_find_libraries=$ac_dir
23819 break 2
23820 fi
23821 done
23822 done
23823
23824 if test "$ac_find_libraries" != "" ; then
23825
23826 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
23827 result=$?
23828 if test $result = 0; then
23829 ac_path_to_link=""
23830 else
23831 ac_path_to_link=" -L$ac_find_libraries"
23832 fi
23833
23834 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
23835 WXGPE=1
23836 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23837echo "${ECHO_T}found at $ac_find_libraries" >&6
23838 else
23839 echo "$as_me:$LINENO: result: not found" >&5
23840echo "${ECHO_T}not found" >&6
23841 fi
23842
23843 fi
23844 fi
23845
23846 if test "$wxUSE_MGL" = 1; then
23847 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
23848echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
23849 if test "x$MGL_ROOT" = x ; then
23850 echo "$as_me:$LINENO: result: not found" >&5
23851echo "${ECHO_T}not found" >&6
23852 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
23853echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
23854 { (exit 1); exit 1; }; }
23855 else
23856 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
23857echo "${ECHO_T}$MGL_ROOT" >&6
23858 fi
23859
23860 echo "$as_me:$LINENO: checking for libmgl location" >&5
23861echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
23862 case "${host}" in
23863 *-*-linux* )
23864 if test "x$wxUSE_SHARED" = xyes ; then
23865 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
23866 else
23867 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
23868 fi
23869 ;;
23870 *-pc-msdosdjgpp )
23871 mgl_os_candidates="dos32/dj2"
23872 ;;
23873 *)
23874 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
23875echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
23876 { (exit 1); exit 1; }; }
23877 esac
23878
23879 mgl_lib_type=""
23880 mgl_os=""
23881
23882 for mgl_os_i in $mgl_os_candidates ; do
23883 if test "x$mgl_os" = x ; then
23884 if test "$wxUSE_DEBUG_FLAG" = yes ; then
23885 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
23886 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
23887 mgl_lib_type=debug
23888 mgl_os=$mgl_os_i
23889 fi
23890 fi
23891 if test "x$mgl_lib_type" = x ; then
23892 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
23893 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
23894 mgl_lib_type=release
23895 mgl_os=$mgl_os_i
23896 fi
23897 fi
23898 fi
23899 done
23900
23901 if test "x$mgl_os" = x ; then
23902 echo "$as_me:$LINENO: result: not found" >&5
23903echo "${ECHO_T}not found" >&6
23904 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
23905echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
23906 { (exit 1); exit 1; }; }
23907 fi
23908 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
23909echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
23910
23911 wxUSE_UNIVERSAL="yes"
23912
23913 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
23914 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
23915
23916 AFMINSTALL=afminstall
23917 TOOLKIT=MGL
23918 GUIDIST=MGL_DIST
23919 fi
23920
23921 if test "$wxUSE_MICROWIN" = 1; then
23922 echo "$as_me:$LINENO: checking for MicroWindows" >&5
23923echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
23924 if test "x$MICROWINDOWS" = x ; then
23925 echo "$as_me:$LINENO: result: not found" >&5
23926echo "${ECHO_T}not found" >&6
23927 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
23928echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
23929 { (exit 1); exit 1; }; }
23930 else
23931 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
23932echo "${ECHO_T}$MICROWINDOWS" >&6
23933 fi
23934
23935 if test -f $MICROWINDOWS/lib/libmwin.a; then
23936 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
23937echo "${ECHO_T}MicroWindows' libraries found." >&6
23938 else
23939 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
23940echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
23941 { (exit 1); exit 1; }; }
23942 fi
23943
23944 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
23945 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
23946
23947 wxUSE_UNIVERSAL="yes"
23948
23949 AFMINSTALL=afminstall
23950 TOOLKIT=MICROWIN
23951 GUIDIST=MICROWIN_DIST
23952
23953 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
23954 fi
23955
74b84332 23956 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
d1c38808
VZ
23957
23958if test "x$ac_path_x_has_been_run" != xyes; then
23959 echo "$as_me:$LINENO: checking for X" >&5
a848cd7e
SC
23960echo $ECHO_N "checking for X... $ECHO_C" >&6
23961
d1c38808 23962ac_path_x_has_been_run=yes
a848cd7e
SC
23963
23964# Check whether --with-x or --without-x was given.
23965if test "${with_x+set}" = set; then
23966 withval="$with_x"
23967
23968fi;
23969# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
23970if test "x$with_x" = xno; then
23971 # The user explicitly disabled X.
23972 have_x=disabled
23973else
23974 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
23975 # Both variables are already set.
23976 have_x=yes
23977 else
23978 if test "${ac_cv_have_x+set}" = set; then
23979 echo $ECHO_N "(cached) $ECHO_C" >&6
23980else
23981 # One or both of the vars are not set, and there is no cached value.
23982ac_x_includes=no ac_x_libraries=no
23983rm -fr conftest.dir
23984if mkdir conftest.dir; then
23985 cd conftest.dir
23986 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
23987 cat >Imakefile <<'_ACEOF'
23988acfindx:
23989 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
23990_ACEOF
23991 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
23992 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
23993 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
23994 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
23995 for ac_extension in a so sl; do
23996 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
ac1cb8d3
VS
23997 test -f $ac_im_libdir/libX11.$ac_extension; then
23998 ac_im_usrlibdir=$ac_im_libdir; break
a848cd7e
SC
23999 fi
24000 done
24001 # Screen out bogus values from the imake configuration. They are
24002 # bogus both because they are the default anyway, and because
24003 # using them would break gcc on systems where it needs fixed includes.
24004 case $ac_im_incroot in
24005 /usr/include) ;;
24006 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
24007 esac
24008 case $ac_im_usrlibdir in
24009 /usr/lib | /lib) ;;
24010 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
24011 esac
24012 fi
24013 cd ..
24014 rm -fr conftest.dir
24015fi
24016
24017# Standard set of common directories for X headers.
24018# Check X11 before X11Rn because it is often a symlink to the current release.
24019ac_x_header_dirs='
24020/usr/X11/include
24021/usr/X11R6/include
24022/usr/X11R5/include
24023/usr/X11R4/include
24024
24025/usr/include/X11
24026/usr/include/X11R6
24027/usr/include/X11R5
24028/usr/include/X11R4
24029
24030/usr/local/X11/include
24031/usr/local/X11R6/include
24032/usr/local/X11R5/include
24033/usr/local/X11R4/include
24034
24035/usr/local/include/X11
24036/usr/local/include/X11R6
24037/usr/local/include/X11R5
24038/usr/local/include/X11R4
24039
24040/usr/X386/include
24041/usr/x386/include
24042/usr/XFree86/include/X11
24043
24044/usr/include
24045/usr/local/include
24046/usr/unsupported/include
24047/usr/athena/include
24048/usr/local/x11r5/include
24049/usr/lpp/Xamples/include
24050
24051/usr/openwin/include
24052/usr/openwin/share/include'
24053
24054if test "$ac_x_includes" = no; then
d1c38808 24055 # Guess where to find include files, by looking for a specified header file.
a848cd7e
SC
24056 # First, try using that file with no special directory specified.
24057 cat >conftest.$ac_ext <<_ACEOF
24058/* confdefs.h. */
24059_ACEOF
24060cat confdefs.h >>conftest.$ac_ext
24061cat >>conftest.$ac_ext <<_ACEOF
24062/* end confdefs.h. */
24063#include <X11/Intrinsic.h>
24064_ACEOF
24065if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24066 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24067 ac_status=$?
24068 grep -v '^ *+' conftest.er1 >conftest.err
24069 rm -f conftest.er1
24070 cat conftest.err >&5
24071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24072 (exit $ac_status); } >/dev/null; then
24073 if test -s conftest.err; then
24074 ac_cpp_err=$ac_c_preproc_warn_flag
ac1cb8d3 24075 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
a848cd7e
SC
24076 else
24077 ac_cpp_err=
24078 fi
24079else
24080 ac_cpp_err=yes
24081fi
24082if test -z "$ac_cpp_err"; then
24083 # We can compile using X headers with no special include directory.
24084ac_x_includes=
24085else
24086 echo "$as_me: failed program was:" >&5
24087sed 's/^/| /' conftest.$ac_ext >&5
24088
24089 for ac_dir in $ac_x_header_dirs; do
24090 if test -r "$ac_dir/X11/Intrinsic.h"; then
24091 ac_x_includes=$ac_dir
24092 break
24093 fi
24094done
24095fi
24096rm -f conftest.err conftest.$ac_ext
24097fi # $ac_x_includes = no
24098
24099if test "$ac_x_libraries" = no; then
24100 # Check for the libraries.
24101 # See if we find them without any special options.
24102 # Don't add to $LIBS permanently.
24103 ac_save_LIBS=$LIBS
24104 LIBS="-lXt $LIBS"
24105 cat >conftest.$ac_ext <<_ACEOF
24106/* confdefs.h. */
24107_ACEOF
24108cat confdefs.h >>conftest.$ac_ext
24109cat >>conftest.$ac_ext <<_ACEOF
24110/* end confdefs.h. */
24111#include <X11/Intrinsic.h>
24112int
24113main ()
24114{
24115XtMalloc (0)
24116 ;
24117 return 0;
24118}
24119_ACEOF
24120rm -f conftest.$ac_objext conftest$ac_exeext
24121if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 24122 (eval $ac_link) 2>conftest.er1
a848cd7e 24123 ac_status=$?
ac1cb8d3
VS
24124 grep -v '^ *+' conftest.er1 >conftest.err
24125 rm -f conftest.er1
24126 cat conftest.err >&5
a848cd7e
SC
24127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24128 (exit $ac_status); } &&
d1c38808 24129 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
24130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24131 (eval $ac_try) 2>&5
24132 ac_status=$?
24133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24134 (exit $ac_status); }; } &&
24135 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
24136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24137 (eval $ac_try) 2>&5
24138 ac_status=$?
24139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24140 (exit $ac_status); }; }; then
24141 LIBS=$ac_save_LIBS
24142# We can link X programs with no special library path.
24143ac_x_libraries=
24144else
24145 echo "$as_me: failed program was:" >&5
24146sed 's/^/| /' conftest.$ac_ext >&5
24147
24148LIBS=$ac_save_LIBS
24149for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24150do
24151 # Don't even attempt the hair of trying to link an X program!
24152 for ac_extension in a so sl; do
24153 if test -r $ac_dir/libXt.$ac_extension; then
24154 ac_x_libraries=$ac_dir
24155 break 2
24156 fi
24157 done
24158done
24159fi
ac1cb8d3
VS
24160rm -f conftest.err conftest.$ac_objext \
24161 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
24162fi # $ac_x_libraries = no
24163
24164if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
24165 # Didn't find X anywhere. Cache the known absence of X.
24166 ac_cv_have_x="have_x=no"
24167else
24168 # Record where we found X for the cache.
24169 ac_cv_have_x="have_x=yes \
ac1cb8d3 24170 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
a848cd7e
SC
24171fi
24172fi
24173
24174 fi
24175 eval "$ac_cv_have_x"
24176fi # $with_x != no
24177
24178if test "$have_x" != yes; then
24179 echo "$as_me:$LINENO: result: $have_x" >&5
24180echo "${ECHO_T}$have_x" >&6
24181 no_x=yes
24182else
24183 # If each of the values was on the command line, it overrides each guess.
24184 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
24185 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
24186 # Update the cache value to reflect the command line values.
24187 ac_cv_have_x="have_x=yes \
24188 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
d1c38808
VZ
24189 # It might be that x_includes is empty (headers are found in the
24190 # standard search path. Then output the corresponding message
24191 ac_out_x_includes=$x_includes
24192 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
24193 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
24194echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
a848cd7e
SC
24195fi
24196
d1c38808 24197fi
a848cd7e
SC
24198if test "$no_x" = yes; then
24199 # Not all programs may use this symbol, but it does not hurt to define it.
24200
24201cat >>confdefs.h <<\_ACEOF
24202#define X_DISPLAY_MISSING 1
24203_ACEOF
24204
24205 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
24206else
24207 if test -n "$x_includes"; then
24208 X_CFLAGS="$X_CFLAGS -I$x_includes"
24209 fi
24210
24211 # It would also be nice to do this for all -L options, not just this one.
24212 if test -n "$x_libraries"; then
24213 X_LIBS="$X_LIBS -L$x_libraries"
24214 # For Solaris; some versions of Sun CC require a space after -R and
24215 # others require no space. Words are not sufficient . . . .
24216 case `(uname -sr) 2>/dev/null` in
24217 "SunOS 5"*)
24218 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
24219echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
24220 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
24221 cat >conftest.$ac_ext <<_ACEOF
24222/* confdefs.h. */
24223_ACEOF
24224cat confdefs.h >>conftest.$ac_ext
24225cat >>conftest.$ac_ext <<_ACEOF
24226/* end confdefs.h. */
24227
24228int
24229main ()
24230{
24231
24232 ;
24233 return 0;
24234}
24235_ACEOF
24236rm -f conftest.$ac_objext conftest$ac_exeext
24237if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 24238 (eval $ac_link) 2>conftest.er1
a848cd7e 24239 ac_status=$?
ac1cb8d3
VS
24240 grep -v '^ *+' conftest.er1 >conftest.err
24241 rm -f conftest.er1
24242 cat conftest.err >&5
a848cd7e
SC
24243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24244 (exit $ac_status); } &&
d1c38808 24245 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
24246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24247 (eval $ac_try) 2>&5
24248 ac_status=$?
24249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24250 (exit $ac_status); }; } &&
24251 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
24252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24253 (eval $ac_try) 2>&5
24254 ac_status=$?
24255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24256 (exit $ac_status); }; }; then
24257 ac_R_nospace=yes
24258else
24259 echo "$as_me: failed program was:" >&5
24260sed 's/^/| /' conftest.$ac_ext >&5
24261
24262ac_R_nospace=no
24263fi
ac1cb8d3
VS
24264rm -f conftest.err conftest.$ac_objext \
24265 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
24266 if test $ac_R_nospace = yes; then
24267 echo "$as_me:$LINENO: result: no" >&5
24268echo "${ECHO_T}no" >&6
24269 X_LIBS="$X_LIBS -R$x_libraries"
24270 else
24271 LIBS="$ac_xsave_LIBS -R $x_libraries"
24272 cat >conftest.$ac_ext <<_ACEOF
24273/* confdefs.h. */
24274_ACEOF
24275cat confdefs.h >>conftest.$ac_ext
24276cat >>conftest.$ac_ext <<_ACEOF
24277/* end confdefs.h. */
24278
24279int
24280main ()
24281{
24282
24283 ;
24284 return 0;
24285}
24286_ACEOF
24287rm -f conftest.$ac_objext conftest$ac_exeext
24288if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 24289 (eval $ac_link) 2>conftest.er1
a848cd7e 24290 ac_status=$?
ac1cb8d3
VS
24291 grep -v '^ *+' conftest.er1 >conftest.err
24292 rm -f conftest.er1
24293 cat conftest.err >&5
a848cd7e
SC
24294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24295 (exit $ac_status); } &&
d1c38808 24296 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
24297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24298 (eval $ac_try) 2>&5
24299 ac_status=$?
24300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24301 (exit $ac_status); }; } &&
24302 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
24303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24304 (eval $ac_try) 2>&5
24305 ac_status=$?
24306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24307 (exit $ac_status); }; }; then
24308 ac_R_space=yes
24309else
24310 echo "$as_me: failed program was:" >&5
24311sed 's/^/| /' conftest.$ac_ext >&5
24312
24313ac_R_space=no
24314fi
ac1cb8d3
VS
24315rm -f conftest.err conftest.$ac_objext \
24316 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
24317 if test $ac_R_space = yes; then
24318 echo "$as_me:$LINENO: result: yes" >&5
24319echo "${ECHO_T}yes" >&6
24320 X_LIBS="$X_LIBS -R $x_libraries"
24321 else
24322 echo "$as_me:$LINENO: result: neither works" >&5
24323echo "${ECHO_T}neither works" >&6
24324 fi
24325 fi
24326 LIBS=$ac_xsave_LIBS
24327 esac
24328 fi
24329
24330 # Check for system-dependent libraries X programs must link with.
24331 # Do this before checking for the system-independent R6 libraries
24332 # (-lICE), since we may need -lsocket or whatever for X linking.
24333
24334 if test "$ISC" = yes; then
24335 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
24336 else
24337 # Martyn Johnson says this is needed for Ultrix, if the X
24338 # libraries were built with DECnet support. And Karl Berry says
24339 # the Alpha needs dnet_stub (dnet does not exist).
24340 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
24341 cat >conftest.$ac_ext <<_ACEOF
24342/* confdefs.h. */
24343_ACEOF
24344cat confdefs.h >>conftest.$ac_ext
24345cat >>conftest.$ac_ext <<_ACEOF
24346/* end confdefs.h. */
24347
24348/* Override any gcc2 internal prototype to avoid an error. */
24349#ifdef __cplusplus
24350extern "C"
24351#endif
24352/* We use char because int might match the return type of a gcc2
24353 builtin and then its argument prototype would still apply. */
24354char XOpenDisplay ();
24355int
24356main ()
24357{
24358XOpenDisplay ();
24359 ;
24360 return 0;
24361}
24362_ACEOF
24363rm -f conftest.$ac_objext conftest$ac_exeext
24364if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 24365 (eval $ac_link) 2>conftest.er1
a848cd7e 24366 ac_status=$?
ac1cb8d3
VS
24367 grep -v '^ *+' conftest.er1 >conftest.err
24368 rm -f conftest.er1
24369 cat conftest.err >&5
a848cd7e
SC
24370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24371 (exit $ac_status); } &&
d1c38808 24372 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
24373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24374 (eval $ac_try) 2>&5
24375 ac_status=$?
24376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24377 (exit $ac_status); }; } &&
24378 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
24379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24380 (eval $ac_try) 2>&5
24381 ac_status=$?
24382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24383 (exit $ac_status); }; }; then
24384 :
24385else
24386 echo "$as_me: failed program was:" >&5
24387sed 's/^/| /' conftest.$ac_ext >&5
24388
24389echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
24390echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
24391if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
24392 echo $ECHO_N "(cached) $ECHO_C" >&6
24393else
24394 ac_check_lib_save_LIBS=$LIBS
24395LIBS="-ldnet $LIBS"
24396cat >conftest.$ac_ext <<_ACEOF
24397/* confdefs.h. */
24398_ACEOF
24399cat confdefs.h >>conftest.$ac_ext
24400cat >>conftest.$ac_ext <<_ACEOF
24401/* end confdefs.h. */
24402
24403/* Override any gcc2 internal prototype to avoid an error. */
24404#ifdef __cplusplus
24405extern "C"
24406#endif
24407/* We use char because int might match the return type of a gcc2
24408 builtin and then its argument prototype would still apply. */
24409char dnet_ntoa ();
24410int
24411main ()
24412{
24413dnet_ntoa ();
24414 ;
24415 return 0;
24416}
24417_ACEOF
24418rm -f conftest.$ac_objext conftest$ac_exeext
24419if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 24420 (eval $ac_link) 2>conftest.er1
a848cd7e 24421 ac_status=$?
ac1cb8d3
VS
24422 grep -v '^ *+' conftest.er1 >conftest.err
24423 rm -f conftest.er1
24424 cat conftest.err >&5
a848cd7e
SC
24425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24426 (exit $ac_status); } &&
d1c38808 24427 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
24428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24429 (eval $ac_try) 2>&5
24430 ac_status=$?
24431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24432 (exit $ac_status); }; } &&
24433 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
24434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24435 (eval $ac_try) 2>&5
24436 ac_status=$?
24437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24438 (exit $ac_status); }; }; then
24439 ac_cv_lib_dnet_dnet_ntoa=yes
24440else
24441 echo "$as_me: failed program was:" >&5
24442sed 's/^/| /' conftest.$ac_ext >&5
24443
24444ac_cv_lib_dnet_dnet_ntoa=no
24445fi
ac1cb8d3
VS
24446rm -f conftest.err conftest.$ac_objext \
24447 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
24448LIBS=$ac_check_lib_save_LIBS
24449fi
24450echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24451echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
24452if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
24453 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
24454fi
24455
24456 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
24457 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
24458echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
24459if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
24460 echo $ECHO_N "(cached) $ECHO_C" >&6
24461else
24462 ac_check_lib_save_LIBS=$LIBS
24463LIBS="-ldnet_stub $LIBS"
24464cat >conftest.$ac_ext <<_ACEOF
24465/* confdefs.h. */
24466_ACEOF
24467cat confdefs.h >>conftest.$ac_ext
24468cat >>conftest.$ac_ext <<_ACEOF
24469/* end confdefs.h. */
24470
24471/* Override any gcc2 internal prototype to avoid an error. */
24472#ifdef __cplusplus
24473extern "C"
24474#endif
24475/* We use char because int might match the return type of a gcc2
24476 builtin and then its argument prototype would still apply. */
24477char dnet_ntoa ();
24478int
24479main ()
24480{
24481dnet_ntoa ();
24482 ;
24483 return 0;
24484}
24485_ACEOF
24486rm -f conftest.$ac_objext conftest$ac_exeext
24487if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 24488 (eval $ac_link) 2>conftest.er1
a848cd7e 24489 ac_status=$?
ac1cb8d3
VS
24490 grep -v '^ *+' conftest.er1 >conftest.err
24491 rm -f conftest.er1
24492 cat conftest.err >&5
a848cd7e
SC
24493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24494 (exit $ac_status); } &&
d1c38808 24495 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
24496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24497 (eval $ac_try) 2>&5
24498 ac_status=$?
24499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24500 (exit $ac_status); }; } &&
24501 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
24502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24503 (eval $ac_try) 2>&5
24504 ac_status=$?
24505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24506 (exit $ac_status); }; }; then
24507 ac_cv_lib_dnet_stub_dnet_ntoa=yes
24508else
24509 echo "$as_me: failed program was:" >&5
24510sed 's/^/| /' conftest.$ac_ext >&5
24511
24512ac_cv_lib_dnet_stub_dnet_ntoa=no
24513fi
ac1cb8d3
VS
24514rm -f conftest.err conftest.$ac_objext \
24515 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
24516LIBS=$ac_check_lib_save_LIBS
24517fi
24518echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
24519echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
24520if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
24521 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
24522fi
24523
24524 fi
24525fi
ac1cb8d3
VS
24526rm -f conftest.err conftest.$ac_objext \
24527 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
24528 LIBS="$ac_xsave_LIBS"
24529
24530 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
24531 # to get the SysV transport functions.
24532 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
24533 # needs -lnsl.
24534 # The nsl library prevents programs from opening the X display
24535 # on Irix 5.2, according to T.E. Dickey.
24536 # The functions gethostbyname, getservbyname, and inet_addr are
24537 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
24538 echo "$as_me:$LINENO: checking for gethostbyname" >&5
24539echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
24540if test "${ac_cv_func_gethostbyname+set}" = set; then
24541 echo $ECHO_N "(cached) $ECHO_C" >&6
24542else
24543 cat >conftest.$ac_ext <<_ACEOF
24544/* confdefs.h. */
24545_ACEOF
24546cat confdefs.h >>conftest.$ac_ext
24547cat >>conftest.$ac_ext <<_ACEOF
24548/* end confdefs.h. */
ac1cb8d3
VS
24549/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
24550 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24551#define gethostbyname innocuous_gethostbyname
24552
a848cd7e
SC
24553/* System header to define __stub macros and hopefully few prototypes,
24554 which can conflict with char gethostbyname (); below.
24555 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24556 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 24557
a848cd7e
SC
24558#ifdef __STDC__
24559# include <limits.h>
24560#else
24561# include <assert.h>
24562#endif
ac1cb8d3
VS
24563
24564#undef gethostbyname
24565
a848cd7e
SC
24566/* Override any gcc2 internal prototype to avoid an error. */
24567#ifdef __cplusplus
24568extern "C"
24569{
24570#endif
24571/* We use char because int might match the return type of a gcc2
24572 builtin and then its argument prototype would still apply. */
24573char gethostbyname ();
24574/* The GNU C library defines this for functions which it implements
24575 to always fail with ENOSYS. Some functions are actually named
24576 something starting with __ and the normal name is an alias. */
24577#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
24578choke me
24579#else
24580char (*f) () = gethostbyname;
24581#endif
24582#ifdef __cplusplus
24583}
24584#endif
24585
24586int
24587main ()
24588{
24589return f != gethostbyname;
24590 ;
24591 return 0;
24592}
24593_ACEOF
24594rm -f conftest.$ac_objext conftest$ac_exeext
24595if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 24596 (eval $ac_link) 2>conftest.er1
a848cd7e 24597 ac_status=$?
ac1cb8d3
VS
24598 grep -v '^ *+' conftest.er1 >conftest.err
24599 rm -f conftest.er1
24600 cat conftest.err >&5
a848cd7e
SC
24601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24602 (exit $ac_status); } &&
d1c38808 24603 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
24604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24605 (eval $ac_try) 2>&5
24606 ac_status=$?
24607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24608 (exit $ac_status); }; } &&
24609 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
24610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24611 (eval $ac_try) 2>&5
24612 ac_status=$?
24613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24614 (exit $ac_status); }; }; then
24615 ac_cv_func_gethostbyname=yes
24616else
24617 echo "$as_me: failed program was:" >&5
24618sed 's/^/| /' conftest.$ac_ext >&5
24619
24620ac_cv_func_gethostbyname=no
24621fi
ac1cb8d3
VS
24622rm -f conftest.err conftest.$ac_objext \
24623 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
24624fi
24625echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
24626echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
24627
24628 if test $ac_cv_func_gethostbyname = no; then
24629 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
24630echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
24631if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
24632 echo $ECHO_N "(cached) $ECHO_C" >&6
24633else
24634 ac_check_lib_save_LIBS=$LIBS
24635LIBS="-lnsl $LIBS"
24636cat >conftest.$ac_ext <<_ACEOF
24637/* confdefs.h. */
24638_ACEOF
24639cat confdefs.h >>conftest.$ac_ext
24640cat >>conftest.$ac_ext <<_ACEOF
24641/* end confdefs.h. */
24642
24643/* Override any gcc2 internal prototype to avoid an error. */
24644#ifdef __cplusplus
24645extern "C"
24646#endif
24647/* We use char because int might match the return type of a gcc2
24648 builtin and then its argument prototype would still apply. */
24649char gethostbyname ();
24650int
24651main ()
24652{
24653gethostbyname ();
24654 ;
24655 return 0;
24656}
24657_ACEOF
24658rm -f conftest.$ac_objext conftest$ac_exeext
24659if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3
VS
24660 (eval $ac_link) 2>conftest.er1
24661 ac_status=$?
24662 grep -v '^ *+' conftest.er1 >conftest.err
24663 rm -f conftest.er1
24664 cat conftest.err >&5
24665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24666 (exit $ac_status); } &&
d1c38808 24667 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
24668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24669 (eval $ac_try) 2>&5
24670 ac_status=$?
24671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24672 (exit $ac_status); }; } &&
24673 { ac_try='test -s conftest$ac_exeext'
24674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24675 (eval $ac_try) 2>&5
24676 ac_status=$?
24677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24678 (exit $ac_status); }; }; then
24679 ac_cv_lib_nsl_gethostbyname=yes
24680else
24681 echo "$as_me: failed program was:" >&5
24682sed 's/^/| /' conftest.$ac_ext >&5
24683
24684ac_cv_lib_nsl_gethostbyname=no
24685fi
24686rm -f conftest.err conftest.$ac_objext \
24687 conftest$ac_exeext conftest.$ac_ext
24688LIBS=$ac_check_lib_save_LIBS
24689fi
24690echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
24691echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
24692if test $ac_cv_lib_nsl_gethostbyname = yes; then
24693 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
24694fi
24695
24696 if test $ac_cv_lib_nsl_gethostbyname = no; then
24697 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
24698echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
24699if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
24700 echo $ECHO_N "(cached) $ECHO_C" >&6
24701else
24702 ac_check_lib_save_LIBS=$LIBS
24703LIBS="-lbsd $LIBS"
24704cat >conftest.$ac_ext <<_ACEOF
24705/* confdefs.h. */
24706_ACEOF
24707cat confdefs.h >>conftest.$ac_ext
24708cat >>conftest.$ac_ext <<_ACEOF
24709/* end confdefs.h. */
24710
24711/* Override any gcc2 internal prototype to avoid an error. */
24712#ifdef __cplusplus
24713extern "C"
24714#endif
24715/* We use char because int might match the return type of a gcc2
24716 builtin and then its argument prototype would still apply. */
24717char gethostbyname ();
24718int
24719main ()
24720{
24721gethostbyname ();
24722 ;
24723 return 0;
24724}
24725_ACEOF
24726rm -f conftest.$ac_objext conftest$ac_exeext
24727if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24728 (eval $ac_link) 2>conftest.er1
a848cd7e 24729 ac_status=$?
ac1cb8d3
VS
24730 grep -v '^ *+' conftest.er1 >conftest.err
24731 rm -f conftest.er1
24732 cat conftest.err >&5
a848cd7e
SC
24733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24734 (exit $ac_status); } &&
d1c38808 24735 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
a848cd7e
SC
24736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24737 (eval $ac_try) 2>&5
24738 ac_status=$?
24739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
ac1cb8d3
VS
24740 (exit $ac_status); }; } &&
24741 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
24742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24743 (eval $ac_try) 2>&5
24744 ac_status=$?
24745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24746 (exit $ac_status); }; }; then
24747 ac_cv_lib_bsd_gethostbyname=yes
24748else
24749 echo "$as_me: failed program was:" >&5
24750sed 's/^/| /' conftest.$ac_ext >&5
24751
24752ac_cv_lib_bsd_gethostbyname=no
24753fi
ac1cb8d3
VS
24754rm -f conftest.err conftest.$ac_objext \
24755 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
24756LIBS=$ac_check_lib_save_LIBS
24757fi
24758echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
24759echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
24760if test $ac_cv_lib_bsd_gethostbyname = yes; then
24761 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
24762fi
24763
24764 fi
24765 fi
24766
24767 # lieder@skyler.mavd.honeywell.com says without -lsocket,
24768 # socket/setsockopt and other routines are undefined under SCO ODT
24769 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
24770 # on later versions), says Simon Leinen: it contains gethostby*
24771 # variants that don't use the name server (or something). -lsocket
24772 # must be given before -lnsl if both are needed. We assume that
24773 # if connect needs -lnsl, so does gethostbyname.
24774 echo "$as_me:$LINENO: checking for connect" >&5
24775echo $ECHO_N "checking for connect... $ECHO_C" >&6
24776if test "${ac_cv_func_connect+set}" = set; then
24777 echo $ECHO_N "(cached) $ECHO_C" >&6
24778else
24779 cat >conftest.$ac_ext <<_ACEOF
24780/* confdefs.h. */
24781_ACEOF
24782cat confdefs.h >>conftest.$ac_ext
24783cat >>conftest.$ac_ext <<_ACEOF
24784/* end confdefs.h. */
ac1cb8d3
VS
24785/* Define connect to an innocuous variant, in case <limits.h> declares connect.
24786 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24787#define connect innocuous_connect
24788
a848cd7e
SC
24789/* System header to define __stub macros and hopefully few prototypes,
24790 which can conflict with char connect (); below.
24791 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24792 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 24793
a848cd7e
SC
24794#ifdef __STDC__
24795# include <limits.h>
24796#else
24797# include <assert.h>
24798#endif
ac1cb8d3
VS
24799
24800#undef connect
24801
a848cd7e
SC
24802/* Override any gcc2 internal prototype to avoid an error. */
24803#ifdef __cplusplus
24804extern "C"
24805{
24806#endif
24807/* We use char because int might match the return type of a gcc2
24808 builtin and then its argument prototype would still apply. */
24809char connect ();
24810/* The GNU C library defines this for functions which it implements
24811 to always fail with ENOSYS. Some functions are actually named
24812 something starting with __ and the normal name is an alias. */
24813#if defined (__stub_connect) || defined (__stub___connect)
24814choke me
24815#else
24816char (*f) () = connect;
24817#endif
24818#ifdef __cplusplus
24819}
24820#endif
24821
24822int
24823main ()
24824{
24825return f != connect;
24826 ;
24827 return 0;
24828}
24829_ACEOF
24830rm -f conftest.$ac_objext conftest$ac_exeext
24831if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 24832 (eval $ac_link) 2>conftest.er1
a848cd7e 24833 ac_status=$?
ac1cb8d3
VS
24834 grep -v '^ *+' conftest.er1 >conftest.err
24835 rm -f conftest.er1
24836 cat conftest.err >&5
a848cd7e
SC
24837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24838 (exit $ac_status); } &&
d1c38808 24839 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
24840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24841 (eval $ac_try) 2>&5
24842 ac_status=$?
24843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24844 (exit $ac_status); }; } &&
24845 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
24846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24847 (eval $ac_try) 2>&5
24848 ac_status=$?
24849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24850 (exit $ac_status); }; }; then
24851 ac_cv_func_connect=yes
24852else
24853 echo "$as_me: failed program was:" >&5
24854sed 's/^/| /' conftest.$ac_ext >&5
24855
24856ac_cv_func_connect=no
24857fi
ac1cb8d3
VS
24858rm -f conftest.err conftest.$ac_objext \
24859 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
24860fi
24861echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24862echo "${ECHO_T}$ac_cv_func_connect" >&6
24863
24864 if test $ac_cv_func_connect = no; then
24865 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
24866echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
24867if test "${ac_cv_lib_socket_connect+set}" = set; then
24868 echo $ECHO_N "(cached) $ECHO_C" >&6
24869else
24870 ac_check_lib_save_LIBS=$LIBS
24871LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
24872cat >conftest.$ac_ext <<_ACEOF
24873/* confdefs.h. */
24874_ACEOF
24875cat confdefs.h >>conftest.$ac_ext
24876cat >>conftest.$ac_ext <<_ACEOF
24877/* end confdefs.h. */
24878
24879/* Override any gcc2 internal prototype to avoid an error. */
24880#ifdef __cplusplus
24881extern "C"
24882#endif
24883/* We use char because int might match the return type of a gcc2
24884 builtin and then its argument prototype would still apply. */
24885char connect ();
24886int
24887main ()
24888{
24889connect ();
24890 ;
24891 return 0;
24892}
24893_ACEOF
24894rm -f conftest.$ac_objext conftest$ac_exeext
24895if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 24896 (eval $ac_link) 2>conftest.er1
a848cd7e 24897 ac_status=$?
ac1cb8d3
VS
24898 grep -v '^ *+' conftest.er1 >conftest.err
24899 rm -f conftest.er1
24900 cat conftest.err >&5
a848cd7e
SC
24901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24902 (exit $ac_status); } &&
d1c38808 24903 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
24904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24905 (eval $ac_try) 2>&5
24906 ac_status=$?
24907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24908 (exit $ac_status); }; } &&
24909 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
24910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24911 (eval $ac_try) 2>&5
24912 ac_status=$?
24913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24914 (exit $ac_status); }; }; then
24915 ac_cv_lib_socket_connect=yes
24916else
24917 echo "$as_me: failed program was:" >&5
24918sed 's/^/| /' conftest.$ac_ext >&5
24919
24920ac_cv_lib_socket_connect=no
24921fi
ac1cb8d3
VS
24922rm -f conftest.err conftest.$ac_objext \
24923 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
24924LIBS=$ac_check_lib_save_LIBS
24925fi
24926echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
24927echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
24928if test $ac_cv_lib_socket_connect = yes; then
24929 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
24930fi
24931
24932 fi
24933
24934 # Guillermo Gomez says -lposix is necessary on A/UX.
24935 echo "$as_me:$LINENO: checking for remove" >&5
24936echo $ECHO_N "checking for remove... $ECHO_C" >&6
24937if test "${ac_cv_func_remove+set}" = set; then
24938 echo $ECHO_N "(cached) $ECHO_C" >&6
24939else
24940 cat >conftest.$ac_ext <<_ACEOF
24941/* confdefs.h. */
24942_ACEOF
24943cat confdefs.h >>conftest.$ac_ext
24944cat >>conftest.$ac_ext <<_ACEOF
24945/* end confdefs.h. */
ac1cb8d3
VS
24946/* Define remove to an innocuous variant, in case <limits.h> declares remove.
24947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24948#define remove innocuous_remove
24949
a848cd7e
SC
24950/* System header to define __stub macros and hopefully few prototypes,
24951 which can conflict with char remove (); below.
24952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24953 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 24954
a848cd7e
SC
24955#ifdef __STDC__
24956# include <limits.h>
24957#else
24958# include <assert.h>
24959#endif
ac1cb8d3
VS
24960
24961#undef remove
24962
a848cd7e
SC
24963/* Override any gcc2 internal prototype to avoid an error. */
24964#ifdef __cplusplus
24965extern "C"
24966{
24967#endif
24968/* We use char because int might match the return type of a gcc2
24969 builtin and then its argument prototype would still apply. */
24970char remove ();
24971/* The GNU C library defines this for functions which it implements
24972 to always fail with ENOSYS. Some functions are actually named
24973 something starting with __ and the normal name is an alias. */
24974#if defined (__stub_remove) || defined (__stub___remove)
24975choke me
24976#else
24977char (*f) () = remove;
24978#endif
24979#ifdef __cplusplus
24980}
24981#endif
24982
24983int
24984main ()
24985{
24986return f != remove;
24987 ;
24988 return 0;
24989}
24990_ACEOF
24991rm -f conftest.$ac_objext conftest$ac_exeext
24992if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 24993 (eval $ac_link) 2>conftest.er1
a848cd7e 24994 ac_status=$?
ac1cb8d3
VS
24995 grep -v '^ *+' conftest.er1 >conftest.err
24996 rm -f conftest.er1
24997 cat conftest.err >&5
a848cd7e
SC
24998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24999 (exit $ac_status); } &&
d1c38808 25000 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
25001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25002 (eval $ac_try) 2>&5
25003 ac_status=$?
25004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25005 (exit $ac_status); }; } &&
25006 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
25007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25008 (eval $ac_try) 2>&5
25009 ac_status=$?
25010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25011 (exit $ac_status); }; }; then
25012 ac_cv_func_remove=yes
25013else
25014 echo "$as_me: failed program was:" >&5
25015sed 's/^/| /' conftest.$ac_ext >&5
25016
25017ac_cv_func_remove=no
25018fi
ac1cb8d3
VS
25019rm -f conftest.err conftest.$ac_objext \
25020 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
25021fi
25022echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
25023echo "${ECHO_T}$ac_cv_func_remove" >&6
25024
25025 if test $ac_cv_func_remove = no; then
25026 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
25027echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
25028if test "${ac_cv_lib_posix_remove+set}" = set; then
25029 echo $ECHO_N "(cached) $ECHO_C" >&6
25030else
25031 ac_check_lib_save_LIBS=$LIBS
25032LIBS="-lposix $LIBS"
25033cat >conftest.$ac_ext <<_ACEOF
25034/* confdefs.h. */
25035_ACEOF
25036cat confdefs.h >>conftest.$ac_ext
25037cat >>conftest.$ac_ext <<_ACEOF
25038/* end confdefs.h. */
25039
25040/* Override any gcc2 internal prototype to avoid an error. */
25041#ifdef __cplusplus
25042extern "C"
25043#endif
25044/* We use char because int might match the return type of a gcc2
25045 builtin and then its argument prototype would still apply. */
25046char remove ();
25047int
25048main ()
25049{
25050remove ();
25051 ;
25052 return 0;
25053}
25054_ACEOF
25055rm -f conftest.$ac_objext conftest$ac_exeext
25056if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 25057 (eval $ac_link) 2>conftest.er1
a848cd7e 25058 ac_status=$?
ac1cb8d3
VS
25059 grep -v '^ *+' conftest.er1 >conftest.err
25060 rm -f conftest.er1
25061 cat conftest.err >&5
a848cd7e
SC
25062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25063 (exit $ac_status); } &&
d1c38808 25064 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
25065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25066 (eval $ac_try) 2>&5
25067 ac_status=$?
25068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25069 (exit $ac_status); }; } &&
25070 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
25071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25072 (eval $ac_try) 2>&5
25073 ac_status=$?
25074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25075 (exit $ac_status); }; }; then
25076 ac_cv_lib_posix_remove=yes
25077else
25078 echo "$as_me: failed program was:" >&5
25079sed 's/^/| /' conftest.$ac_ext >&5
25080
25081ac_cv_lib_posix_remove=no
25082fi
ac1cb8d3
VS
25083rm -f conftest.err conftest.$ac_objext \
25084 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
25085LIBS=$ac_check_lib_save_LIBS
25086fi
25087echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
25088echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
25089if test $ac_cv_lib_posix_remove = yes; then
25090 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
25091fi
25092
25093 fi
25094
25095 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25096 echo "$as_me:$LINENO: checking for shmat" >&5
25097echo $ECHO_N "checking for shmat... $ECHO_C" >&6
25098if test "${ac_cv_func_shmat+set}" = set; then
25099 echo $ECHO_N "(cached) $ECHO_C" >&6
25100else
25101 cat >conftest.$ac_ext <<_ACEOF
25102/* confdefs.h. */
25103_ACEOF
25104cat confdefs.h >>conftest.$ac_ext
25105cat >>conftest.$ac_ext <<_ACEOF
25106/* end confdefs.h. */
ac1cb8d3
VS
25107/* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
25108 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25109#define shmat innocuous_shmat
25110
a848cd7e
SC
25111/* System header to define __stub macros and hopefully few prototypes,
25112 which can conflict with char shmat (); below.
25113 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25114 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 25115
a848cd7e
SC
25116#ifdef __STDC__
25117# include <limits.h>
25118#else
25119# include <assert.h>
25120#endif
ac1cb8d3
VS
25121
25122#undef shmat
25123
a848cd7e
SC
25124/* Override any gcc2 internal prototype to avoid an error. */
25125#ifdef __cplusplus
25126extern "C"
25127{
25128#endif
25129/* We use char because int might match the return type of a gcc2
25130 builtin and then its argument prototype would still apply. */
25131char shmat ();
25132/* The GNU C library defines this for functions which it implements
25133 to always fail with ENOSYS. Some functions are actually named
25134 something starting with __ and the normal name is an alias. */
25135#if defined (__stub_shmat) || defined (__stub___shmat)
25136choke me
25137#else
25138char (*f) () = shmat;
25139#endif
25140#ifdef __cplusplus
25141}
25142#endif
25143
25144int
25145main ()
25146{
25147return f != shmat;
25148 ;
25149 return 0;
25150}
25151_ACEOF
25152rm -f conftest.$ac_objext conftest$ac_exeext
25153if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 25154 (eval $ac_link) 2>conftest.er1
a848cd7e 25155 ac_status=$?
ac1cb8d3
VS
25156 grep -v '^ *+' conftest.er1 >conftest.err
25157 rm -f conftest.er1
25158 cat conftest.err >&5
a848cd7e
SC
25159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25160 (exit $ac_status); } &&
d1c38808 25161 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
25162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25163 (eval $ac_try) 2>&5
25164 ac_status=$?
25165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25166 (exit $ac_status); }; } &&
25167 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
25168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25169 (eval $ac_try) 2>&5
25170 ac_status=$?
25171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25172 (exit $ac_status); }; }; then
25173 ac_cv_func_shmat=yes
25174else
25175 echo "$as_me: failed program was:" >&5
25176sed 's/^/| /' conftest.$ac_ext >&5
25177
25178ac_cv_func_shmat=no
25179fi
ac1cb8d3
VS
25180rm -f conftest.err conftest.$ac_objext \
25181 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
25182fi
25183echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
25184echo "${ECHO_T}$ac_cv_func_shmat" >&6
25185
25186 if test $ac_cv_func_shmat = no; then
25187 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
25188echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
25189if test "${ac_cv_lib_ipc_shmat+set}" = set; then
25190 echo $ECHO_N "(cached) $ECHO_C" >&6
25191else
25192 ac_check_lib_save_LIBS=$LIBS
25193LIBS="-lipc $LIBS"
25194cat >conftest.$ac_ext <<_ACEOF
25195/* confdefs.h. */
25196_ACEOF
25197cat confdefs.h >>conftest.$ac_ext
25198cat >>conftest.$ac_ext <<_ACEOF
25199/* end confdefs.h. */
25200
25201/* Override any gcc2 internal prototype to avoid an error. */
25202#ifdef __cplusplus
25203extern "C"
25204#endif
25205/* We use char because int might match the return type of a gcc2
25206 builtin and then its argument prototype would still apply. */
25207char shmat ();
25208int
25209main ()
25210{
25211shmat ();
25212 ;
25213 return 0;
25214}
25215_ACEOF
25216rm -f conftest.$ac_objext conftest$ac_exeext
25217if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 25218 (eval $ac_link) 2>conftest.er1
a848cd7e 25219 ac_status=$?
ac1cb8d3
VS
25220 grep -v '^ *+' conftest.er1 >conftest.err
25221 rm -f conftest.er1
25222 cat conftest.err >&5
a848cd7e
SC
25223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25224 (exit $ac_status); } &&
d1c38808 25225 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
25226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25227 (eval $ac_try) 2>&5
25228 ac_status=$?
25229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25230 (exit $ac_status); }; } &&
25231 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
25232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25233 (eval $ac_try) 2>&5
25234 ac_status=$?
25235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25236 (exit $ac_status); }; }; then
25237 ac_cv_lib_ipc_shmat=yes
25238else
25239 echo "$as_me: failed program was:" >&5
25240sed 's/^/| /' conftest.$ac_ext >&5
25241
25242ac_cv_lib_ipc_shmat=no
25243fi
ac1cb8d3
VS
25244rm -f conftest.err conftest.$ac_objext \
25245 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
25246LIBS=$ac_check_lib_save_LIBS
25247fi
25248echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
25249echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
25250if test $ac_cv_lib_ipc_shmat = yes; then
25251 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
25252fi
25253
25254 fi
25255 fi
25256
25257 # Check for libraries that X11R6 Xt/Xaw programs need.
25258 ac_save_LDFLAGS=$LDFLAGS
25259 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
25260 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25261 # check for ICE first), but we must link in the order -lSM -lICE or
25262 # we get undefined symbols. So assume we have SM if we have ICE.
25263 # These have to be linked with before -lX11, unlike the other
25264 # libraries we check for below, so use a different variable.
25265 # John Interrante, Karl Berry
25266 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
25267echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
25268if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
25269 echo $ECHO_N "(cached) $ECHO_C" >&6
25270else
25271 ac_check_lib_save_LIBS=$LIBS
25272LIBS="-lICE $X_EXTRA_LIBS $LIBS"
25273cat >conftest.$ac_ext <<_ACEOF
25274/* confdefs.h. */
25275_ACEOF
25276cat confdefs.h >>conftest.$ac_ext
25277cat >>conftest.$ac_ext <<_ACEOF
25278/* end confdefs.h. */
25279
25280/* Override any gcc2 internal prototype to avoid an error. */
25281#ifdef __cplusplus
25282extern "C"
25283#endif
25284/* We use char because int might match the return type of a gcc2
25285 builtin and then its argument prototype would still apply. */
25286char IceConnectionNumber ();
25287int
25288main ()
25289{
25290IceConnectionNumber ();
25291 ;
25292 return 0;
25293}
25294_ACEOF
25295rm -f conftest.$ac_objext conftest$ac_exeext
25296if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 25297 (eval $ac_link) 2>conftest.er1
a848cd7e 25298 ac_status=$?
ac1cb8d3
VS
25299 grep -v '^ *+' conftest.er1 >conftest.err
25300 rm -f conftest.er1
25301 cat conftest.err >&5
a848cd7e
SC
25302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25303 (exit $ac_status); } &&
d1c38808 25304 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
25305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25306 (eval $ac_try) 2>&5
25307 ac_status=$?
25308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25309 (exit $ac_status); }; } &&
25310 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
25311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25312 (eval $ac_try) 2>&5
25313 ac_status=$?
25314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25315 (exit $ac_status); }; }; then
25316 ac_cv_lib_ICE_IceConnectionNumber=yes
25317else
25318 echo "$as_me: failed program was:" >&5
25319sed 's/^/| /' conftest.$ac_ext >&5
25320
25321ac_cv_lib_ICE_IceConnectionNumber=no
25322fi
ac1cb8d3
VS
25323rm -f conftest.err conftest.$ac_objext \
25324 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
25325LIBS=$ac_check_lib_save_LIBS
25326fi
25327echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25328echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
25329if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
25330 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
25331fi
25332
25333 LDFLAGS=$ac_save_LDFLAGS
25334
25335fi
25336
25337
25338 if test "$no_x" = "yes"; then
25339 { { echo "$as_me:$LINENO: error: X11 not found" >&5
25340echo "$as_me: error: X11 not found" >&2;}
25341 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
25342 fi
25343
74b84332
VS
25344 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25345 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
a848cd7e
SC
25346 AFMINSTALL=afminstall
25347 COMPILED_X_PROGRAM=0
25348
74b84332
VS
25349 fi
25350
25351 if test "$wxUSE_X11" = 1; then
a848cd7e
SC
25352 if test "$wxUSE_NANOX" = "yes"; then
25353 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
25354echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
25355 if test "x$MICROWIN" = x ; then
25356 echo "$as_me:$LINENO: result: not found" >&5
25357echo "${ECHO_T}not found" >&6
25358 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
25359echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
25360 { (exit 1); exit 1; }; }
25361 else
25362 echo "$as_me:$LINENO: result: $MICROWIN" >&5
25363echo "${ECHO_T}$MICROWIN" >&6
25364 cat >>confdefs.h <<\_ACEOF
25365#define wxUSE_NANOX 1
25366_ACEOF
25367
25368 fi
25369 fi
25370
25371 if test "$wxUSE_UNICODE" = "yes"; then
25372
25373 succeeded=no
25374
25375 if test -z "$PKG_CONFIG"; then
25376 # Extract the first word of "pkg-config", so it can be a program name with args.
25377set dummy pkg-config; ac_word=$2
25378echo "$as_me:$LINENO: checking for $ac_word" >&5
25379echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25380if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25381 echo $ECHO_N "(cached) $ECHO_C" >&6
25382else
25383 case $PKG_CONFIG in
25384 [\\/]* | ?:[\\/]*)
25385 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25386 ;;
25387 *)
25388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25389for as_dir in $PATH
25390do
25391 IFS=$as_save_IFS
25392 test -z "$as_dir" && as_dir=.
25393 for ac_exec_ext in '' $ac_executable_extensions; do
25394 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25395 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25396 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25397 break 2
25398 fi
25399done
25400done
25401
25402 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
25403 ;;
25404esac
25405fi
25406PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25407
25408if test -n "$PKG_CONFIG"; then
25409 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25410echo "${ECHO_T}$PKG_CONFIG" >&6
25411else
25412 echo "$as_me:$LINENO: result: no" >&5
25413echo "${ECHO_T}no" >&6
25414fi
25415
25416 fi
25417
25418 if test "$PKG_CONFIG" = "no" ; then
25419 echo "*** The pkg-config script could not be found. Make sure it is"
25420 echo "*** in your path, or set the PKG_CONFIG environment variable"
25421 echo "*** to the full path to pkg-config."
25422 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25423 else
25424 PKG_CONFIG_MIN_VERSION=0.9.0
25425 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25426 echo "$as_me:$LINENO: checking for pangox" >&5
25427echo $ECHO_N "checking for pangox... $ECHO_C" >&6
25428
25429 if $PKG_CONFIG --exists "pangox" ; then
25430 echo "$as_me:$LINENO: result: yes" >&5
25431echo "${ECHO_T}yes" >&6
25432 succeeded=yes
25433
25434 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
25435echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
25436 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
25437 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
25438echo "${ECHO_T}$PANGOX_CFLAGS" >&6
25439
25440 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
25441echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
25442 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
25443 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
25444echo "${ECHO_T}$PANGOX_LIBS" >&6
25445 else
25446 PANGOX_CFLAGS=""
25447 PANGOX_LIBS=""
25448 ## If we have a custom action on failure, don't print errors, but
25449 ## do set a variable so people can do so.
25450 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25451
25452 fi
25453
25454
25455
25456 else
25457 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25458 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25459 fi
25460 fi
25461
25462 if test $succeeded = yes; then
25463
25464 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
25465 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
25466
25467 else
25468
25469 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
25470echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
25471 { (exit 1); exit 1; }; }
25472
25473
25474 fi
25475
25476
25477 succeeded=no
25478
25479 if test -z "$PKG_CONFIG"; then
25480 # Extract the first word of "pkg-config", so it can be a program name with args.
25481set dummy pkg-config; ac_word=$2
25482echo "$as_me:$LINENO: checking for $ac_word" >&5
25483echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25484if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25485 echo $ECHO_N "(cached) $ECHO_C" >&6
25486else
25487 case $PKG_CONFIG in
25488 [\\/]* | ?:[\\/]*)
25489 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25490 ;;
25491 *)
25492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25493for as_dir in $PATH
25494do
25495 IFS=$as_save_IFS
25496 test -z "$as_dir" && as_dir=.
25497 for ac_exec_ext in '' $ac_executable_extensions; do
25498 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25499 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25500 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25501 break 2
25502 fi
25503done
25504done
25505
25506 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
25507 ;;
25508esac
25509fi
25510PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25511
25512if test -n "$PKG_CONFIG"; then
25513 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25514echo "${ECHO_T}$PKG_CONFIG" >&6
25515else
25516 echo "$as_me:$LINENO: result: no" >&5
25517echo "${ECHO_T}no" >&6
25518fi
25519
25520 fi
25521
25522 if test "$PKG_CONFIG" = "no" ; then
25523 echo "*** The pkg-config script could not be found. Make sure it is"
25524 echo "*** in your path, or set the PKG_CONFIG environment variable"
25525 echo "*** to the full path to pkg-config."
25526 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25527 else
25528 PKG_CONFIG_MIN_VERSION=0.9.0
25529 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25530 echo "$as_me:$LINENO: checking for pangoft2" >&5
25531echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
25532
25533 if $PKG_CONFIG --exists "pangoft2" ; then
25534 echo "$as_me:$LINENO: result: yes" >&5
25535echo "${ECHO_T}yes" >&6
25536 succeeded=yes
25537
25538 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
25539echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
25540 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
25541 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
25542echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
25543
25544 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
25545echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
25546 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
25547 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
25548echo "${ECHO_T}$PANGOFT2_LIBS" >&6
25549 else
25550 PANGOFT2_CFLAGS=""
25551 PANGOFT2_LIBS=""
25552 ## If we have a custom action on failure, don't print errors, but
25553 ## do set a variable so people can do so.
25554 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25555
25556 fi
25557
25558
25559
25560 else
25561 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25562 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25563 fi
25564 fi
25565
25566 if test $succeeded = yes; then
25567
25568 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
25569 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25570
25571 else
25572
25573 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25574echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25575 wxUSE_PRINTING_ARCHITECTURE="no"
25576
25577
25578 fi
25579
25580
25581 succeeded=no
25582
25583 if test -z "$PKG_CONFIG"; then
25584 # Extract the first word of "pkg-config", so it can be a program name with args.
25585set dummy pkg-config; ac_word=$2
25586echo "$as_me:$LINENO: checking for $ac_word" >&5
25587echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25588if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25589 echo $ECHO_N "(cached) $ECHO_C" >&6
25590else
25591 case $PKG_CONFIG in
25592 [\\/]* | ?:[\\/]*)
25593 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25594 ;;
25595 *)
25596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25597for as_dir in $PATH
25598do
25599 IFS=$as_save_IFS
25600 test -z "$as_dir" && as_dir=.
25601 for ac_exec_ext in '' $ac_executable_extensions; do
25602 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25603 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25604 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25605 break 2
25606 fi
25607done
25608done
25609
25610 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
25611 ;;
25612esac
25613fi
25614PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25615
25616if test -n "$PKG_CONFIG"; then
25617 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25618echo "${ECHO_T}$PKG_CONFIG" >&6
25619else
25620 echo "$as_me:$LINENO: result: no" >&5
25621echo "${ECHO_T}no" >&6
25622fi
25623
25624 fi
25625
25626 if test "$PKG_CONFIG" = "no" ; then
25627 echo "*** The pkg-config script could not be found. Make sure it is"
25628 echo "*** in your path, or set the PKG_CONFIG environment variable"
25629 echo "*** to the full path to pkg-config."
25630 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25631 else
25632 PKG_CONFIG_MIN_VERSION=0.9.0
25633 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25634 echo "$as_me:$LINENO: checking for pangoxft" >&5
25635echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
25636
25637 if $PKG_CONFIG --exists "pangoxft" ; then
25638 echo "$as_me:$LINENO: result: yes" >&5
25639echo "${ECHO_T}yes" >&6
25640 succeeded=yes
25641
25642 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
25643echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
25644 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
25645 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
25646echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
25647
25648 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
25649echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
25650 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
25651 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
25652echo "${ECHO_T}$PANGOXFT_LIBS" >&6
25653 else
25654 PANGOXFT_CFLAGS=""
25655 PANGOXFT_LIBS=""
25656 ## If we have a custom action on failure, don't print errors, but
25657 ## do set a variable so people can do so.
25658 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25659
25660 fi
25661
25662
25663
25664 else
25665 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25666 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25667 fi
25668 fi
25669
25670 if test $succeeded = yes; then
25671
25672 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
25673 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25674
25675 else
25676
25677 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25678echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25679
25680
25681 fi
25682
304205f1
VS
25683 save_CFLAGS="$CFLAGS"
25684 save_LIBS="$LIBS"
25685 CFLAGS="$CFLAGS $PANGOX_CFLAGS"
25686 LIBS="$LIBS $PANGOX_LIBS"
25687
25688for ac_func in pango_font_family_is_monospace
25689do
25690as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25691echo "$as_me:$LINENO: checking for $ac_func" >&5
25692echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25693if eval "test \"\${$as_ac_var+set}\" = set"; then
25694 echo $ECHO_N "(cached) $ECHO_C" >&6
25695else
25696 cat >conftest.$ac_ext <<_ACEOF
25697/* confdefs.h. */
25698_ACEOF
25699cat confdefs.h >>conftest.$ac_ext
25700cat >>conftest.$ac_ext <<_ACEOF
25701/* end confdefs.h. */
25702/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25703 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25704#define $ac_func innocuous_$ac_func
25705
25706/* System header to define __stub macros and hopefully few prototypes,
25707 which can conflict with char $ac_func (); below.
25708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25709 <limits.h> exists even on freestanding compilers. */
25710
25711#ifdef __STDC__
25712# include <limits.h>
25713#else
25714# include <assert.h>
25715#endif
25716
25717#undef $ac_func
25718
25719/* Override any gcc2 internal prototype to avoid an error. */
25720#ifdef __cplusplus
25721extern "C"
25722{
25723#endif
25724/* We use char because int might match the return type of a gcc2
25725 builtin and then its argument prototype would still apply. */
25726char $ac_func ();
25727/* The GNU C library defines this for functions which it implements
25728 to always fail with ENOSYS. Some functions are actually named
25729 something starting with __ and the normal name is an alias. */
25730#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25731choke me
25732#else
25733char (*f) () = $ac_func;
25734#endif
25735#ifdef __cplusplus
25736}
25737#endif
25738
25739int
25740main ()
25741{
25742return f != $ac_func;
25743 ;
25744 return 0;
25745}
25746_ACEOF
25747rm -f conftest.$ac_objext conftest$ac_exeext
25748if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25749 (eval $ac_link) 2>conftest.er1
25750 ac_status=$?
25751 grep -v '^ *+' conftest.er1 >conftest.err
25752 rm -f conftest.er1
25753 cat conftest.err >&5
25754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25755 (exit $ac_status); } &&
d1c38808 25756 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
304205f1
VS
25757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25758 (eval $ac_try) 2>&5
25759 ac_status=$?
25760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25761 (exit $ac_status); }; } &&
25762 { ac_try='test -s conftest$ac_exeext'
25763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25764 (eval $ac_try) 2>&5
25765 ac_status=$?
25766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25767 (exit $ac_status); }; }; then
25768 eval "$as_ac_var=yes"
25769else
25770 echo "$as_me: failed program was:" >&5
25771sed 's/^/| /' conftest.$ac_ext >&5
25772
25773eval "$as_ac_var=no"
25774fi
25775rm -f conftest.err conftest.$ac_objext \
25776 conftest$ac_exeext conftest.$ac_ext
25777fi
25778echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25779echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25780if test `eval echo '${'$as_ac_var'}'` = yes; then
25781 cat >>confdefs.h <<_ACEOF
25782#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25783_ACEOF
25784
25785fi
25786done
25787
25788 CFLAGS="$save_CFLAGS"
25789 LIBS="$save_LIBS"
a848cd7e
SC
25790 fi
25791
25792 wxUSE_UNIVERSAL="yes"
25793
25794 if test "$wxUSE_NANOX" = "yes"; then
25795 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
25796 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__NANOX__ -DMWPIXEL_FORMAT=MWPF_TRUECOLOR0888 -DHAVE_FILEIO -DHAVE_BMP_SUPPORT=1 -DHAVE_GIF_SUPPORT=1 -DHAVE_PNM_SUPPORT=1 -DHAVE_XPM_SUPPORT=1 -DUNIX=1 -DUSE_EXPOSURE -DSCREEN_HEIGHT=480 -DSCREEN_WIDTH=640 -DSCREEN_DEPTH=4 -DX11=1"
25797 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
25798 else
25799 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
25800 fi
25801
a848cd7e
SC
25802 TOOLKIT=X11
25803 GUIDIST=X11_DIST
25804 fi
25805
25806 if test "$wxUSE_MOTIF" = 1; then
74b84332
VS
25807 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
25808echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
a848cd7e 25809
74b84332
VS
25810ac_find_includes=
25811for ac_dir in $SEARCH_INCLUDE /usr/include;
25812 do
25813 if test -f "$ac_dir/Xm/Xm.h"; then
25814 ac_find_includes=$ac_dir
25815 break
25816 fi
25817 done
a848cd7e 25818
74b84332
VS
25819 if test "$ac_find_includes" != "" ; then
25820 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
25821echo "${ECHO_T}found in $ac_find_includes" >&6
25822
25823 if test "x$ac_find_includes" = "x/usr/include"; then
25824 ac_path_to_include=""
25825 else
25826 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
25827 result=$?
25828 if test $result = 0; then
25829 ac_path_to_include=""
25830 else
25831 ac_path_to_include=" -I$ac_find_includes"
25832 fi
a848cd7e
SC
25833 fi
25834
74b84332
VS
25835 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
25836 else
25837 cat >conftest.$ac_ext <<_ACEOF
a848cd7e
SC
25838/* confdefs.h. */
25839_ACEOF
25840cat confdefs.h >>conftest.$ac_ext
25841cat >>conftest.$ac_ext <<_ACEOF
25842/* end confdefs.h. */
25843
74b84332
VS
25844 #include <Xm/Xm.h>
25845
a848cd7e
SC
25846int
25847main ()
25848{
25849
74b84332
VS
25850 int version;
25851 version = xmUseVersion;
25852
a848cd7e
SC
25853 ;
25854 return 0;
25855}
25856_ACEOF
74b84332
VS
25857rm -f conftest.$ac_objext
25858if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25859 (eval $ac_compile) 2>conftest.er1
a848cd7e 25860 ac_status=$?
ac1cb8d3
VS
25861 grep -v '^ *+' conftest.er1 >conftest.err
25862 rm -f conftest.er1
25863 cat conftest.err >&5
a848cd7e
SC
25864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25865 (exit $ac_status); } &&
d1c38808 25866 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
25867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25868 (eval $ac_try) 2>&5
25869 ac_status=$?
25870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25871 (exit $ac_status); }; } &&
74b84332 25872 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
25873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25874 (eval $ac_try) 2>&5
25875 ac_status=$?
25876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25877 (exit $ac_status); }; }; then
74b84332
VS
25878
25879 echo "$as_me:$LINENO: result: found in default search path" >&5
25880echo "${ECHO_T}found in default search path" >&6
25881 COMPILED_X_PROGRAM=1
25882
a848cd7e
SC
25883else
25884 echo "$as_me: failed program was:" >&5
25885sed 's/^/| /' conftest.$ac_ext >&5
25886
a848cd7e 25887
74b84332
VS
25888 echo "$as_me:$LINENO: result: no" >&5
25889echo "${ECHO_T}no" >&6
25890 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
25891echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
25892 { (exit 1); exit 1; }; }
a848cd7e 25893
a848cd7e 25894
a848cd7e 25895fi
74b84332
VS
25896rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25897 fi
25898
25899 if test "$COMPILED_X_PROGRAM" = 0; then
25900 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
25901echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
25902
25903ac_find_libraries=
25904for ac_dir in $SEARCH_LIB /usr/lib;
25905 do
25906 for ac_extension in a so sl dylib; do
25907 if test -f "$ac_dir/libXm.$ac_extension"; then
25908 ac_find_libraries=$ac_dir
25909 break 2
a848cd7e 25910 fi
74b84332
VS
25911 done
25912 done
a848cd7e 25913
74b84332
VS
25914 if test "$ac_find_libraries" != "" ; then
25915 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
25916echo "${ECHO_T}found at $ac_find_libraries" >&6
a848cd7e 25917
74b84332
VS
25918
25919 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
25920 result=$?
25921 if test $result = 0; then
25922 ac_path_to_link=""
a848cd7e 25923 else
74b84332
VS
25924 ac_path_to_link=" -L$ac_find_libraries"
25925 fi
25926
25927 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
25928 else
25929 save_CFLAGS=$CFLAGS
25930 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
25931
25932 cat >conftest.$ac_ext <<_ACEOF
a848cd7e
SC
25933/* confdefs.h. */
25934_ACEOF
25935cat confdefs.h >>conftest.$ac_ext
25936cat >>conftest.$ac_ext <<_ACEOF
25937/* end confdefs.h. */
25938
74b84332
VS
25939 #include <Xm/Xm.h>
25940
a848cd7e
SC
25941int
25942main ()
25943{
74b84332
VS
25944
25945 int version;
25946 version = xmUseVersion;
25947
a848cd7e
SC
25948 ;
25949 return 0;
25950}
25951_ACEOF
74b84332
VS
25952rm -f conftest.$ac_objext
25953if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25954 (eval $ac_compile) 2>conftest.er1
a848cd7e 25955 ac_status=$?
ac1cb8d3
VS
25956 grep -v '^ *+' conftest.er1 >conftest.err
25957 rm -f conftest.er1
25958 cat conftest.err >&5
a848cd7e
SC
25959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25960 (exit $ac_status); } &&
d1c38808 25961 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
25962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25963 (eval $ac_try) 2>&5
25964 ac_status=$?
25965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25966 (exit $ac_status); }; } &&
74b84332 25967 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
25968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25969 (eval $ac_try) 2>&5
25970 ac_status=$?
25971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25972 (exit $ac_status); }; }; then
74b84332
VS
25973
25974 echo "$as_me:$LINENO: result: found in default search path" >&5
25975echo "${ECHO_T}found in default search path" >&6
25976 COMPILED_X_PROGRAM=1
25977
a848cd7e
SC
25978else
25979 echo "$as_me: failed program was:" >&5
25980sed 's/^/| /' conftest.$ac_ext >&5
25981
74b84332
VS
25982
25983 echo "$as_me:$LINENO: result: no" >&5
25984echo "${ECHO_T}no" >&6
25985 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
25986echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
25987 { (exit 1); exit 1; }; }
25988
25989
25990fi
25991rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25992
25993 CFLAGS=$save_CFLAGS
25994 fi
25995 fi
25996
25997 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
25998echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
25999 libp_link=""
26000 libsm_ice_link=""
26001 libs_found=0
26002 for libp in "" " -lXp"; do
26003 if test "$libs_found" = "0"; then
26004 for libsm_ice in "" " -lSM -lICE"; do
26005 if test "$libs_found" = "0"; then
26006 save_LIBS="$LIBS"
26007 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26008 save_CFLAGS=$CFLAGS
26009 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26010
26011 cat >conftest.$ac_ext <<_ACEOF
a848cd7e
SC
26012/* confdefs.h. */
26013_ACEOF
26014cat confdefs.h >>conftest.$ac_ext
26015cat >>conftest.$ac_ext <<_ACEOF
26016/* end confdefs.h. */
26017
74b84332
VS
26018 #include <Xm/Xm.h>
26019 #include <Xm/List.h>
26020
a848cd7e
SC
26021int
26022main ()
26023{
74b84332
VS
26024
26025 XmString string = NULL;
26026 Widget w = NULL;
26027 int position = 0;
26028 XmListAddItem(w, string, position);
26029
a848cd7e
SC
26030 ;
26031 return 0;
26032}
26033_ACEOF
26034rm -f conftest.$ac_objext conftest$ac_exeext
26035if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 26036 (eval $ac_link) 2>conftest.er1
a848cd7e 26037 ac_status=$?
ac1cb8d3
VS
26038 grep -v '^ *+' conftest.er1 >conftest.err
26039 rm -f conftest.er1
26040 cat conftest.err >&5
a848cd7e
SC
26041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26042 (exit $ac_status); } &&
d1c38808 26043 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
26044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26045 (eval $ac_try) 2>&5
26046 ac_status=$?
26047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26048 (exit $ac_status); }; } &&
26049 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
26050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26051 (eval $ac_try) 2>&5
26052 ac_status=$?
26053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26054 (exit $ac_status); }; }; then
26055
26056 libp_link="$libp"
26057 libsm_ice_link="$libsm_ice"
26058 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
26059echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
26060 libs_found=1
26061
26062else
26063 echo "$as_me: failed program was:" >&5
26064sed 's/^/| /' conftest.$ac_ext >&5
26065
26066
26067
26068fi
ac1cb8d3
VS
26069rm -f conftest.err conftest.$ac_objext \
26070 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
26071
26072 LIBS="$save_LIBS"
26073 CFLAGS=$save_CFLAGS
26074 fi
26075 done
26076 fi
26077 done
26078
26079 if test "$libs_found" = "0"; then
26080 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
26081echo "${ECHO_T}can't find the right libraries" >&6
26082 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
26083echo "$as_me: error: can't link a simple motif program" >&2;}
26084 { (exit 1); exit 1; }; }
26085 fi
26086
26087 save_CFLAGS=$CFLAGS
26088 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26089 echo "$as_me:$LINENO: checking for Motif 2" >&5
26090echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
26091 cat >conftest.$ac_ext <<_ACEOF
26092/* confdefs.h. */
26093_ACEOF
26094cat confdefs.h >>conftest.$ac_ext
26095cat >>conftest.$ac_ext <<_ACEOF
26096/* end confdefs.h. */
26097
26098 #include <Xm/Xm.h>
26099
26100int
26101main ()
26102{
26103
26104 #if XmVersion < 2000
26105 #error "Not Motif 2"
26106 #endif
26107
26108 ;
26109 return 0;
26110}
26111_ACEOF
26112rm -f conftest.$ac_objext
26113if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 26114 (eval $ac_compile) 2>conftest.er1
a848cd7e 26115 ac_status=$?
ac1cb8d3
VS
26116 grep -v '^ *+' conftest.er1 >conftest.err
26117 rm -f conftest.er1
26118 cat conftest.err >&5
a848cd7e
SC
26119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26120 (exit $ac_status); } &&
d1c38808 26121 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
26122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26123 (eval $ac_try) 2>&5
26124 ac_status=$?
26125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26126 (exit $ac_status); }; } &&
26127 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
26128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26129 (eval $ac_try) 2>&5
26130 ac_status=$?
26131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26132 (exit $ac_status); }; }; then
26133
26134 cat >>confdefs.h <<\_ACEOF
26135#define __WXMOTIF20__ 1
26136_ACEOF
26137
26138 echo "$as_me:$LINENO: result: found" >&5
26139echo "${ECHO_T}found" >&6
26140
26141else
26142 echo "$as_me: failed program was:" >&5
26143sed 's/^/| /' conftest.$ac_ext >&5
26144
26145
26146 cat >>confdefs.h <<\_ACEOF
26147#define __WXMOTIF20__ 0
26148_ACEOF
26149
26150 echo "$as_me:$LINENO: result: not found" >&5
26151echo "${ECHO_T}not found" >&6
26152
26153fi
ac1cb8d3 26154rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
26155 CFLAGS=$save_CFLAGS
26156
26157 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
a848cd7e
SC
26158 TOOLKIT=MOTIF
26159 GUIDIST=MOTIF_DIST
26160 fi
26161
74b84332 26162 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
a848cd7e
SC
26163 if test "$wxUSE_LIBXPM" = "sys"; then
26164 echo "$as_me:$LINENO: checking for Xpm library" >&5
26165echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
26166
26167ac_find_libraries=
26168for ac_dir in $SEARCH_LIB /usr/lib;
26169 do
26170 for ac_extension in a so sl dylib; do
26171 if test -f "$ac_dir/libXpm.$ac_extension"; then
26172 ac_find_libraries=$ac_dir
26173 break 2
26174 fi
26175 done
26176 done
26177
26178 if test "$ac_find_libraries" != "" ; then
26179
26180 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26181 result=$?
26182 if test $result = 0; then
26183 ac_path_to_link=""
26184 else
26185 ac_path_to_link=" -L$ac_find_libraries"
26186 fi
26187
26188 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26189 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26190echo "${ECHO_T}found at $ac_find_libraries" >&6
26191
26192 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
26193echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
26194if test "${wx_cv_x11_xpm_h+set}" = set; then
26195 echo $ECHO_N "(cached) $ECHO_C" >&6
26196else
26197
26198 save_CFLAGS=$CFLAGS
26199 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26200
26201 cat >conftest.$ac_ext <<_ACEOF
26202/* confdefs.h. */
26203_ACEOF
26204cat confdefs.h >>conftest.$ac_ext
26205cat >>conftest.$ac_ext <<_ACEOF
26206/* end confdefs.h. */
26207
26208 #include <X11/xpm.h>
26209
26210int
26211main ()
26212{
26213
26214 int version;
26215 version = XpmLibraryVersion();
26216
26217 ;
26218 return 0;
26219}
26220_ACEOF
26221rm -f conftest.$ac_objext
26222if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 26223 (eval $ac_compile) 2>conftest.er1
a848cd7e 26224 ac_status=$?
ac1cb8d3
VS
26225 grep -v '^ *+' conftest.er1 >conftest.err
26226 rm -f conftest.er1
26227 cat conftest.err >&5
a848cd7e
SC
26228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26229 (exit $ac_status); } &&
d1c38808 26230 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
26231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26232 (eval $ac_try) 2>&5
26233 ac_status=$?
26234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26235 (exit $ac_status); }; } &&
26236 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
26237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26238 (eval $ac_try) 2>&5
26239 ac_status=$?
26240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26241 (exit $ac_status); }; }; then
26242 wx_cv_x11_xpm_h=yes
26243else
26244 echo "$as_me: failed program was:" >&5
26245sed 's/^/| /' conftest.$ac_ext >&5
26246
26247wx_cv_x11_xpm_h=no
26248
26249fi
ac1cb8d3 26250rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
26251
26252 CFLAGS=$save_CFLAGS
26253
26254
26255fi
26256echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
26257echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
26258
26259 if test $wx_cv_x11_xpm_h = "yes"; then
26260 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
26261 cat >>confdefs.h <<\_ACEOF
26262#define wxHAVE_LIB_XPM 1
26263_ACEOF
26264
26265 else
26266 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
26267echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26268 fi
26269 fi
26270
26271 fi
26272
26273 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
26274echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
26275if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
26276 echo $ECHO_N "(cached) $ECHO_C" >&6
26277else
26278 ac_check_lib_save_LIBS=$LIBS
26279LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26280cat >conftest.$ac_ext <<_ACEOF
26281/* confdefs.h. */
26282_ACEOF
26283cat confdefs.h >>conftest.$ac_ext
26284cat >>conftest.$ac_ext <<_ACEOF
26285/* end confdefs.h. */
26286
26287/* Override any gcc2 internal prototype to avoid an error. */
26288#ifdef __cplusplus
26289extern "C"
26290#endif
26291/* We use char because int might match the return type of a gcc2
26292 builtin and then its argument prototype would still apply. */
26293char XShapeQueryExtension ();
26294int
26295main ()
26296{
26297XShapeQueryExtension ();
26298 ;
26299 return 0;
26300}
26301_ACEOF
26302rm -f conftest.$ac_objext conftest$ac_exeext
26303if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 26304 (eval $ac_link) 2>conftest.er1
a848cd7e 26305 ac_status=$?
ac1cb8d3
VS
26306 grep -v '^ *+' conftest.er1 >conftest.err
26307 rm -f conftest.er1
26308 cat conftest.err >&5
a848cd7e
SC
26309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26310 (exit $ac_status); } &&
d1c38808 26311 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
26312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26313 (eval $ac_try) 2>&5
26314 ac_status=$?
26315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26316 (exit $ac_status); }; } &&
26317 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
26318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26319 (eval $ac_try) 2>&5
26320 ac_status=$?
26321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26322 (exit $ac_status); }; }; then
26323 ac_cv_lib_Xext_XShapeQueryExtension=yes
26324else
26325 echo "$as_me: failed program was:" >&5
26326sed 's/^/| /' conftest.$ac_ext >&5
26327
26328ac_cv_lib_Xext_XShapeQueryExtension=no
26329fi
ac1cb8d3
VS
26330rm -f conftest.err conftest.$ac_objext \
26331 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
26332LIBS=$ac_check_lib_save_LIBS
26333fi
26334echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26335echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
26336if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
26337
26338 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
26339 wxHAVE_XEXT_LIB=1
26340
26341fi
26342
26343
26344 if test "$wxHAVE_XEXT_LIB" = 1; then
26345 save_CFLAGS="$CFLAGS"
26346 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26347
26348 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
26349echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
26350 cat >conftest.$ac_ext <<_ACEOF
26351/* confdefs.h. */
26352_ACEOF
26353cat confdefs.h >>conftest.$ac_ext
26354cat >>conftest.$ac_ext <<_ACEOF
26355/* end confdefs.h. */
26356
26357 #include <X11/Xlib.h>
26358 #include <X11/extensions/shape.h>
26359
26360int
26361main ()
26362{
26363
26364 int dummy1, dummy2;
26365 XShapeQueryExtension((Display*)NULL,
26366 (int*)NULL, (int*)NULL);
26367
26368 ;
26369 return 0;
26370}
26371_ACEOF
26372rm -f conftest.$ac_objext
26373if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 26374 (eval $ac_compile) 2>conftest.er1
a848cd7e 26375 ac_status=$?
ac1cb8d3
VS
26376 grep -v '^ *+' conftest.er1 >conftest.err
26377 rm -f conftest.er1
26378 cat conftest.err >&5
a848cd7e
SC
26379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26380 (exit $ac_status); } &&
d1c38808 26381 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
26382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26383 (eval $ac_try) 2>&5
26384 ac_status=$?
26385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26386 (exit $ac_status); }; } &&
26387 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
26388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26389 (eval $ac_try) 2>&5
26390 ac_status=$?
26391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26392 (exit $ac_status); }; }; then
26393
26394 cat >>confdefs.h <<\_ACEOF
26395#define HAVE_XSHAPE 1
26396_ACEOF
26397
26398 echo "$as_me:$LINENO: result: found" >&5
26399echo "${ECHO_T}found" >&6
26400
26401else
26402 echo "$as_me: failed program was:" >&5
26403sed 's/^/| /' conftest.$ac_ext >&5
26404
26405
26406 echo "$as_me:$LINENO: result: not found" >&5
26407echo "${ECHO_T}not found" >&6
26408
26409fi
ac1cb8d3 26410rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
26411 CFLAGS="$save_CFLAGS"
26412
26413 fi
26414 fi
26415
26416 if test "$wxUSE_MAC" = 1; then
26417 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
26418echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
26419 if test "$GCC" = yes; then
26420 echo "$as_me:$LINENO: result: gcc" >&5
26421echo "${ECHO_T}gcc" >&6
26422 CPPFLAGS_PASCAL="-fpascal-strings"
26423 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26424 echo "$as_me:$LINENO: result: xlc" >&5
26425echo "${ECHO_T}xlc" >&6
26426 CPPFLAGS_PASCAL="-qmacpstr"
26427 else
26428 echo "$as_me:$LINENO: result: none" >&5
26429echo "${ECHO_T}none" >&6
26430 fi
26431
26432 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
26433
a848cd7e
SC
26434 TOOLKIT=MAC
26435 GUIDIST=MACX_DIST
dd21ced8 26436 WXBASEPORT="_carbon"
a848cd7e
SC
26437 fi
26438
26439 if test "$wxUSE_COCOA" = 1; then
a848cd7e
SC
26440 TOOLKIT=COCOA
26441 GUIDIST=COCOA_DIST
26442 fi
26443
26444 if test "$wxUSE_PM" = 1; then
26445 TOOLKIT=PM
de59c161
RD
26446 GUIDIST=PM_DIST
26447 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
26448echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
26449if test "${wx_cv_spbcdata+set}" = set; then
26450 echo $ECHO_N "(cached) $ECHO_C" >&6
26451else
26452
26453 cat >conftest.$ac_ext <<_ACEOF
de59c161
RD
26454/* confdefs.h. */
26455_ACEOF
26456cat confdefs.h >>conftest.$ac_ext
26457cat >>conftest.$ac_ext <<_ACEOF
26458/* end confdefs.h. */
26459
26460 #define INCL_PM
26461 #include <os2.h>
26462
26463int
26464main ()
26465{
26466
26467 SPBCDATA test;
26468
26469 ;
26470 return 0;
26471}
26472_ACEOF
26473rm -f conftest.$ac_objext
26474if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 26475 (eval $ac_compile) 2>conftest.er1
de59c161 26476 ac_status=$?
ac1cb8d3
VS
26477 grep -v '^ *+' conftest.er1 >conftest.err
26478 rm -f conftest.er1
26479 cat conftest.err >&5
de59c161
RD
26480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26481 (exit $ac_status); } &&
d1c38808 26482 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
26483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26484 (eval $ac_try) 2>&5
26485 ac_status=$?
26486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26487 (exit $ac_status); }; } &&
26488 { ac_try='test -s conftest.$ac_objext'
de59c161
RD
26489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26490 (eval $ac_try) 2>&5
26491 ac_status=$?
26492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26493 (exit $ac_status); }; }; then
26494 wx_cv_spbcdata=yes
26495else
26496 echo "$as_me: failed program was:" >&5
26497sed 's/^/| /' conftest.$ac_ext >&5
26498
26499wx_cv_spbcdata=no
26500
26501fi
ac1cb8d3 26502rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
de59c161
RD
26503
26504
26505fi
26506echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
26507echo "${ECHO_T}$wx_cv_spbcdata" >&6
26508
26509 if test $wx_cv_spbcdata = "yes"; then
26510 cat >>confdefs.h <<\_ACEOF
26511#define HAVE_SPBCDATA 1
26512_ACEOF
26513
26514 fi
a848cd7e
SC
26515 fi
26516
26517 if test "$TOOLKIT" = "PM" ; then
26518 TOOLKIT_DIR="os2"
26519 else
26520 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
26521 fi
26522
a848cd7e 26523 if test "$wxUSE_UNIVERSAL" = "yes"; then
a848cd7e
SC
26524 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26525 WIDGET_SET=univ
a848cd7e
SC
26526 fi
26527
26528 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26529 DISTDIR="wx\$(TOOLKIT)"
26530else
26531 USE_GUI=0
26532
26533 TOOLKIT_DIR="base"
26534
26535 if test "$USE_WIN32" = 1 ; then
a848cd7e 26536 TOOLKIT="MSW"
a848cd7e
SC
26537 fi
26538
a848cd7e
SC
26539 GUIDIST="BASE_DIST"
26540 DISTDIR="wxBase"
26541fi
26542
26543
26544
26545
26546IODBC_C_SRC=""
26547
26548
26549if test "$TOOLKIT" != "MSW" ; then
26550
26551 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
26552
26553 if test "${ac_cv_header_sql_h+set}" = set; then
26554 echo "$as_me:$LINENO: checking for sql.h" >&5
26555echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26556if test "${ac_cv_header_sql_h+set}" = set; then
26557 echo $ECHO_N "(cached) $ECHO_C" >&6
26558fi
26559echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26560echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26561else
26562 # Is the header compilable?
26563echo "$as_me:$LINENO: checking sql.h usability" >&5
26564echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
26565cat >conftest.$ac_ext <<_ACEOF
26566/* confdefs.h. */
26567_ACEOF
26568cat confdefs.h >>conftest.$ac_ext
26569cat >>conftest.$ac_ext <<_ACEOF
26570/* end confdefs.h. */
26571$ac_includes_default
26572#include <sql.h>
26573_ACEOF
26574rm -f conftest.$ac_objext
26575if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 26576 (eval $ac_compile) 2>conftest.er1
a848cd7e 26577 ac_status=$?
ac1cb8d3
VS
26578 grep -v '^ *+' conftest.er1 >conftest.err
26579 rm -f conftest.er1
26580 cat conftest.err >&5
a848cd7e
SC
26581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26582 (exit $ac_status); } &&
d1c38808 26583 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
26584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26585 (eval $ac_try) 2>&5
26586 ac_status=$?
26587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26588 (exit $ac_status); }; } &&
26589 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
26590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26591 (eval $ac_try) 2>&5
26592 ac_status=$?
26593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26594 (exit $ac_status); }; }; then
26595 ac_header_compiler=yes
26596else
26597 echo "$as_me: failed program was:" >&5
26598sed 's/^/| /' conftest.$ac_ext >&5
26599
26600ac_header_compiler=no
26601fi
ac1cb8d3 26602rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
26603echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26604echo "${ECHO_T}$ac_header_compiler" >&6
26605
26606# Is the header present?
26607echo "$as_me:$LINENO: checking sql.h presence" >&5
26608echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
26609cat >conftest.$ac_ext <<_ACEOF
26610/* confdefs.h. */
26611_ACEOF
26612cat confdefs.h >>conftest.$ac_ext
26613cat >>conftest.$ac_ext <<_ACEOF
26614/* end confdefs.h. */
26615#include <sql.h>
26616_ACEOF
26617if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26618 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26619 ac_status=$?
26620 grep -v '^ *+' conftest.er1 >conftest.err
26621 rm -f conftest.er1
26622 cat conftest.err >&5
26623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26624 (exit $ac_status); } >/dev/null; then
26625 if test -s conftest.err; then
26626 ac_cpp_err=$ac_c_preproc_warn_flag
ac1cb8d3 26627 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
a848cd7e
SC
26628 else
26629 ac_cpp_err=
26630 fi
26631else
26632 ac_cpp_err=yes
26633fi
26634if test -z "$ac_cpp_err"; then
26635 ac_header_preproc=yes
26636else
26637 echo "$as_me: failed program was:" >&5
26638sed 's/^/| /' conftest.$ac_ext >&5
26639
26640 ac_header_preproc=no
26641fi
26642rm -f conftest.err conftest.$ac_ext
26643echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26644echo "${ECHO_T}$ac_header_preproc" >&6
26645
26646# So? What about this header?
ac1cb8d3
VS
26647case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26648 yes:no: )
a848cd7e
SC
26649 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
26650echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
ac1cb8d3
VS
26651 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
26652echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
26653 ac_header_preproc=yes
a848cd7e 26654 ;;
ac1cb8d3 26655 no:yes:* )
a848cd7e
SC
26656 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
26657echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
ac1cb8d3
VS
26658 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
26659echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
26660 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
26661echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
26662 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
26663echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
a848cd7e
SC
26664 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
26665echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
ac1cb8d3
VS
26666 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
26667echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
a848cd7e
SC
26668 (
26669 cat <<\_ASBOX
ac1cb8d3
VS
26670## ----------------------------------------- ##
26671## Report this to wx-dev@lists.wxwidgets.org ##
26672## ----------------------------------------- ##
a848cd7e
SC
26673_ASBOX
26674 ) |
26675 sed "s/^/$as_me: WARNING: /" >&2
26676 ;;
26677esac
26678echo "$as_me:$LINENO: checking for sql.h" >&5
26679echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26680if test "${ac_cv_header_sql_h+set}" = set; then
26681 echo $ECHO_N "(cached) $ECHO_C" >&6
26682else
26683 ac_cv_header_sql_h=$ac_header_preproc
26684fi
26685echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26686echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26687
26688fi
26689if test $ac_cv_header_sql_h = yes; then
26690 found_sql_h=1
26691fi
26692
26693
26694 if test "x$found_sql_h" = "x1" ; then
26695 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
26696echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
26697if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
26698 echo $ECHO_N "(cached) $ECHO_C" >&6
26699else
26700 ac_check_lib_save_LIBS=$LIBS
26701LIBS="-liodbc $LIBS"
26702cat >conftest.$ac_ext <<_ACEOF
26703/* confdefs.h. */
26704_ACEOF
26705cat confdefs.h >>conftest.$ac_ext
26706cat >>conftest.$ac_ext <<_ACEOF
26707/* end confdefs.h. */
26708
26709/* Override any gcc2 internal prototype to avoid an error. */
26710#ifdef __cplusplus
26711extern "C"
26712#endif
26713/* We use char because int might match the return type of a gcc2
26714 builtin and then its argument prototype would still apply. */
26715char SQLAllocEnv ();
26716int
26717main ()
26718{
26719SQLAllocEnv ();
26720 ;
26721 return 0;
26722}
26723_ACEOF
26724rm -f conftest.$ac_objext conftest$ac_exeext
26725if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 26726 (eval $ac_link) 2>conftest.er1
a848cd7e 26727 ac_status=$?
ac1cb8d3
VS
26728 grep -v '^ *+' conftest.er1 >conftest.err
26729 rm -f conftest.er1
26730 cat conftest.err >&5
a848cd7e
SC
26731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26732 (exit $ac_status); } &&
d1c38808 26733 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
26734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26735 (eval $ac_try) 2>&5
26736 ac_status=$?
26737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26738 (exit $ac_status); }; } &&
26739 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
26740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26741 (eval $ac_try) 2>&5
26742 ac_status=$?
26743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26744 (exit $ac_status); }; }; then
26745 ac_cv_lib_iodbc_SQLAllocEnv=yes
26746else
26747 echo "$as_me: failed program was:" >&5
26748sed 's/^/| /' conftest.$ac_ext >&5
26749
26750ac_cv_lib_iodbc_SQLAllocEnv=no
26751fi
ac1cb8d3
VS
26752rm -f conftest.err conftest.$ac_objext \
26753 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
26754LIBS=$ac_check_lib_save_LIBS
26755fi
26756echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
26757echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
26758if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
26759 ODBC_LINK=" -liodbc"
26760else
26761
26762 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
26763echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
26764if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
26765 echo $ECHO_N "(cached) $ECHO_C" >&6
26766else
26767 ac_check_lib_save_LIBS=$LIBS
26768LIBS="-lunixodbc $LIBS"
26769cat >conftest.$ac_ext <<_ACEOF
26770/* confdefs.h. */
26771_ACEOF
26772cat confdefs.h >>conftest.$ac_ext
26773cat >>conftest.$ac_ext <<_ACEOF
26774/* end confdefs.h. */
26775
26776/* Override any gcc2 internal prototype to avoid an error. */
26777#ifdef __cplusplus
26778extern "C"
26779#endif
26780/* We use char because int might match the return type of a gcc2
26781 builtin and then its argument prototype would still apply. */
26782char SQLAllocEnv ();
26783int
26784main ()
26785{
26786SQLAllocEnv ();
26787 ;
26788 return 0;
26789}
26790_ACEOF
26791rm -f conftest.$ac_objext conftest$ac_exeext
26792if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 26793 (eval $ac_link) 2>conftest.er1
a848cd7e 26794 ac_status=$?
ac1cb8d3
VS
26795 grep -v '^ *+' conftest.er1 >conftest.err
26796 rm -f conftest.er1
26797 cat conftest.err >&5
a848cd7e
SC
26798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26799 (exit $ac_status); } &&
d1c38808 26800 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
26801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26802 (eval $ac_try) 2>&5
26803 ac_status=$?
26804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26805 (exit $ac_status); }; } &&
26806 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
26807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26808 (eval $ac_try) 2>&5
26809 ac_status=$?
26810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26811 (exit $ac_status); }; }; then
26812 ac_cv_lib_unixodbc_SQLAllocEnv=yes
26813else
26814 echo "$as_me: failed program was:" >&5
26815sed 's/^/| /' conftest.$ac_ext >&5
26816
26817ac_cv_lib_unixodbc_SQLAllocEnv=no
26818fi
ac1cb8d3
VS
26819rm -f conftest.err conftest.$ac_objext \
26820 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
26821LIBS=$ac_check_lib_save_LIBS
26822fi
26823echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
26824echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
26825if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
26826 ODBC_LINK=" -lunixodbc"
26827else
26828
26829 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
26830echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
26831if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
26832 echo $ECHO_N "(cached) $ECHO_C" >&6
26833else
26834 ac_check_lib_save_LIBS=$LIBS
26835LIBS="-lodbc $LIBS"
26836cat >conftest.$ac_ext <<_ACEOF
26837/* confdefs.h. */
26838_ACEOF
26839cat confdefs.h >>conftest.$ac_ext
26840cat >>conftest.$ac_ext <<_ACEOF
26841/* end confdefs.h. */
26842
26843/* Override any gcc2 internal prototype to avoid an error. */
26844#ifdef __cplusplus
26845extern "C"
26846#endif
26847/* We use char because int might match the return type of a gcc2
26848 builtin and then its argument prototype would still apply. */
26849char SQLAllocEnv ();
26850int
26851main ()
26852{
26853SQLAllocEnv ();
26854 ;
26855 return 0;
26856}
26857_ACEOF
26858rm -f conftest.$ac_objext conftest$ac_exeext
26859if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 26860 (eval $ac_link) 2>conftest.er1
a848cd7e 26861 ac_status=$?
ac1cb8d3
VS
26862 grep -v '^ *+' conftest.er1 >conftest.err
26863 rm -f conftest.er1
26864 cat conftest.err >&5
a848cd7e
SC
26865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26866 (exit $ac_status); } &&
d1c38808 26867 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
26868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26869 (eval $ac_try) 2>&5
26870 ac_status=$?
26871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26872 (exit $ac_status); }; } &&
26873 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
26874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26875 (eval $ac_try) 2>&5
26876 ac_status=$?
26877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26878 (exit $ac_status); }; }; then
26879 ac_cv_lib_odbc_SQLAllocEnv=yes
26880else
26881 echo "$as_me: failed program was:" >&5
26882sed 's/^/| /' conftest.$ac_ext >&5
26883
26884ac_cv_lib_odbc_SQLAllocEnv=no
26885fi
ac1cb8d3
VS
26886rm -f conftest.err conftest.$ac_objext \
26887 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
26888LIBS=$ac_check_lib_save_LIBS
26889fi
26890echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
26891echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
26892if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
26893 ODBC_LINK=" -lodbc"
26894fi
26895
26896
26897fi
26898
26899
26900fi
26901
26902 fi
26903 if test "x$ODBC_LINK" = "x" ; then
26904 if test "$wxUSE_ODBC" = "sys" ; then
26905 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
26906echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
26907 { (exit 1); exit 1; }; }
26908 else
26909 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
26910echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
26911 wxUSE_ODBC=builtin
26912 fi
26913 else
26914 wxUSE_ODBC=sys
26915 fi
26916 fi
26917 if test "$wxUSE_ODBC" != "no" ; then
26918 cat >>confdefs.h <<\_ACEOF
26919#define wxUSE_ODBC 1
26920_ACEOF
26921
26922 if test "$wxUSE_ODBC" = "builtin" ; then
26923 cat >>confdefs.h <<\_ACEOF
26924#define wxUSE_BUILTIN_IODBC 1
26925_ACEOF
26926
26927 fi
26928 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
26929
26930 WXODBCFLAG="-D_IODBC_"
26931 fi
26932fi
26933
a848cd7e 26934
01cb68df 26935
a848cd7e 26936if test "$wxUSE_DISPLAY" = "yes"; then
2a5d7a98 26937 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
a848cd7e
SC
26938 echo "$as_me:$LINENO: checking for Xinerama" >&5
26939echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
26940
26941ac_find_libraries=
26942for ac_dir in $SEARCH_LIB /usr/lib;
26943 do
26944 for ac_extension in a so sl dylib; do
26945 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26946 ac_find_libraries=$ac_dir
26947 break 2
26948 fi
26949 done
26950 done
26951
26952 if test "$ac_find_libraries" != "" ; then
26953
26954 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
26955 result=$?
26956 if test $result = 0; then
26957 ac_path_to_link=""
26958 else
26959 ac_path_to_link=" -L$ac_find_libraries"
26960 fi
26961
26962 if test "$ac_path_to_link" != " -L/usr/lib" ; then
26963 LDFLAGS="$LDFLAGS $ac_path_to_link"
26964 fi
26965 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
26966 echo "$as_me:$LINENO: result: yes" >&5
26967echo "${ECHO_T}yes" >&6
26968
26969 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
26970echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
26971
26972ac_find_libraries=
26973for ac_dir in $SEARCH_LIB /usr/lib;
26974 do
26975 for ac_extension in a so sl dylib; do
26976 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
26977 ac_find_libraries=$ac_dir
26978 break 2
26979 fi
26980 done
26981 done
26982
26983 if test "$ac_find_libraries" != "" ; then
26984 echo "$as_me:$LINENO: result: yes" >&5
26985echo "${ECHO_T}yes" >&6
26986
26987for ac_header in X11/extensions/xf86vmode.h
26988do
26989as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26990echo "$as_me:$LINENO: checking for $ac_header" >&5
26991echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26992if eval "test \"\${$as_ac_Header+set}\" = set"; then
26993 echo $ECHO_N "(cached) $ECHO_C" >&6
26994else
26995 cat >conftest.$ac_ext <<_ACEOF
26996/* confdefs.h. */
26997_ACEOF
26998cat confdefs.h >>conftest.$ac_ext
26999cat >>conftest.$ac_ext <<_ACEOF
27000/* end confdefs.h. */
27001
27002 #if HAVE_X11_XLIB_H
27003 #include <X11/Xlib.h>
27004 #endif
27005
27006
27007#include <$ac_header>
27008_ACEOF
27009rm -f conftest.$ac_objext
27010if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 27011 (eval $ac_compile) 2>conftest.er1
a848cd7e 27012 ac_status=$?
ac1cb8d3
VS
27013 grep -v '^ *+' conftest.er1 >conftest.err
27014 rm -f conftest.er1
27015 cat conftest.err >&5
a848cd7e
SC
27016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27017 (exit $ac_status); } &&
d1c38808 27018 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
27019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27020 (eval $ac_try) 2>&5
27021 ac_status=$?
27022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27023 (exit $ac_status); }; } &&
27024 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
27025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27026 (eval $ac_try) 2>&5
27027 ac_status=$?
27028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27029 (exit $ac_status); }; }; then
27030 eval "$as_ac_Header=yes"
27031else
27032 echo "$as_me: failed program was:" >&5
27033sed 's/^/| /' conftest.$ac_ext >&5
27034
27035eval "$as_ac_Header=no"
27036fi
ac1cb8d3 27037rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
27038fi
27039echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27040echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27041if test `eval echo '${'$as_ac_Header'}'` = yes; then
27042 cat >>confdefs.h <<_ACEOF
27043#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27044_ACEOF
27045
27046 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
27047
27048fi
27049
27050done
27051
27052 else
27053 echo "$as_me:$LINENO: result: no" >&5
27054echo "${ECHO_T}no" >&6
27055 fi
27056
27057 else
27058 echo "$as_me:$LINENO: result: no" >&5
27059echo "${ECHO_T}no" >&6
dcc1b6ad
VS
27060 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
27061echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
a848cd7e
SC
27062 wxUSE_DISPLAY="no"
27063 fi
01cb68df
RG
27064 elif test "$wxUSE_MSW" = 1; then
27065
27066
27067for ac_header in multimon.h ddraw.h
27068do
27069as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27070if eval "test \"\${$as_ac_Header+set}\" = set"; then
27071 echo "$as_me:$LINENO: checking for $ac_header" >&5
27072echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27073if eval "test \"\${$as_ac_Header+set}\" = set"; then
27074 echo $ECHO_N "(cached) $ECHO_C" >&6
27075fi
27076echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27077echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27078else
27079 # Is the header compilable?
27080echo "$as_me:$LINENO: checking $ac_header usability" >&5
27081echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27082cat >conftest.$ac_ext <<_ACEOF
27083/* confdefs.h. */
27084_ACEOF
27085cat confdefs.h >>conftest.$ac_ext
27086cat >>conftest.$ac_ext <<_ACEOF
27087/* end confdefs.h. */
27088$ac_includes_default
27089#include <$ac_header>
27090_ACEOF
27091rm -f conftest.$ac_objext
27092if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 27093 (eval $ac_compile) 2>conftest.er1
01cb68df 27094 ac_status=$?
ac1cb8d3
VS
27095 grep -v '^ *+' conftest.er1 >conftest.err
27096 rm -f conftest.er1
27097 cat conftest.err >&5
01cb68df
RG
27098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27099 (exit $ac_status); } &&
d1c38808 27100 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
27101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27102 (eval $ac_try) 2>&5
27103 ac_status=$?
27104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27105 (exit $ac_status); }; } &&
27106 { ac_try='test -s conftest.$ac_objext'
01cb68df
RG
27107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27108 (eval $ac_try) 2>&5
27109 ac_status=$?
27110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27111 (exit $ac_status); }; }; then
27112 ac_header_compiler=yes
27113else
27114 echo "$as_me: failed program was:" >&5
27115sed 's/^/| /' conftest.$ac_ext >&5
27116
27117ac_header_compiler=no
27118fi
ac1cb8d3 27119rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
01cb68df
RG
27120echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27121echo "${ECHO_T}$ac_header_compiler" >&6
27122
27123# Is the header present?
27124echo "$as_me:$LINENO: checking $ac_header presence" >&5
27125echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27126cat >conftest.$ac_ext <<_ACEOF
27127/* confdefs.h. */
27128_ACEOF
27129cat confdefs.h >>conftest.$ac_ext
27130cat >>conftest.$ac_ext <<_ACEOF
27131/* end confdefs.h. */
27132#include <$ac_header>
27133_ACEOF
27134if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27135 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27136 ac_status=$?
27137 grep -v '^ *+' conftest.er1 >conftest.err
27138 rm -f conftest.er1
27139 cat conftest.err >&5
27140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27141 (exit $ac_status); } >/dev/null; then
27142 if test -s conftest.err; then
27143 ac_cpp_err=$ac_c_preproc_warn_flag
ac1cb8d3 27144 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
01cb68df
RG
27145 else
27146 ac_cpp_err=
27147 fi
27148else
27149 ac_cpp_err=yes
27150fi
27151if test -z "$ac_cpp_err"; then
27152 ac_header_preproc=yes
27153else
27154 echo "$as_me: failed program was:" >&5
27155sed 's/^/| /' conftest.$ac_ext >&5
27156
27157 ac_header_preproc=no
27158fi
27159rm -f conftest.err conftest.$ac_ext
27160echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27161echo "${ECHO_T}$ac_header_preproc" >&6
27162
27163# So? What about this header?
ac1cb8d3
VS
27164case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27165 yes:no: )
01cb68df
RG
27166 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27167echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
ac1cb8d3
VS
27168 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27169echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27170 ac_header_preproc=yes
01cb68df 27171 ;;
ac1cb8d3 27172 no:yes:* )
01cb68df
RG
27173 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27174echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
ac1cb8d3
VS
27175 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27176echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27177 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27178echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27179 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27180echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
01cb68df
RG
27181 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27182echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
ac1cb8d3
VS
27183 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27184echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
01cb68df
RG
27185 (
27186 cat <<\_ASBOX
ac1cb8d3
VS
27187## ----------------------------------------- ##
27188## Report this to wx-dev@lists.wxwidgets.org ##
27189## ----------------------------------------- ##
01cb68df
RG
27190_ASBOX
27191 ) |
27192 sed "s/^/$as_me: WARNING: /" >&2
27193 ;;
27194esac
27195echo "$as_me:$LINENO: checking for $ac_header" >&5
27196echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27197if eval "test \"\${$as_ac_Header+set}\" = set"; then
27198 echo $ECHO_N "(cached) $ECHO_C" >&6
27199else
ac1cb8d3 27200 eval "$as_ac_Header=\$ac_header_preproc"
01cb68df
RG
27201fi
27202echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27203echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27204
27205fi
27206if test `eval echo '${'$as_ac_Header'}'` = yes; then
27207 cat >>confdefs.h <<_ACEOF
27208#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27209_ACEOF
27210
27211else
27212
27213 wxUSE_DISPLAY="no"
dcc1b6ad
VS
27214 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
27215echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
01cb68df
RG
27216
27217fi
27218
27219done
27220
a848cd7e
SC
27221 fi
27222fi
27223
27224
27225USE_OPENGL=0
27226if test "$wxUSE_OPENGL" = "yes"; then
27227 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27228 OPENGL_LIBS="-framework OpenGL -framework AGL"
27229 elif test "$wxUSE_MSW" = 1; then
27230 OPENGL_LIBS="-lopengl32 -lglu32"
27231 else
27232
27233
27234ac_find_includes=
27235for ac_dir in $SEARCH_INCLUDE /usr/include;
27236 do
27237 if test -f "$ac_dir/GL/gl.h"; then
27238 ac_find_includes=$ac_dir
27239 break
27240 fi
27241 done
27242
27243 if test "$ac_find_includes" != "" ; then
27244 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27245echo "${ECHO_T}found in $ac_find_includes" >&6
27246
27247 if test "x$ac_find_includes" = "x/usr/include"; then
27248 ac_path_to_include=""
27249 else
27250 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
27251 result=$?
27252 if test $result = 0; then
27253 ac_path_to_include=""
27254 else
27255 ac_path_to_include=" -I$ac_find_includes"
27256 fi
27257 fi
27258
27259 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
27260 fi
27261
27262 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27263 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27264echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27265if test "${ac_cv_header_GL_gl_h+set}" = set; then
27266 echo $ECHO_N "(cached) $ECHO_C" >&6
27267fi
27268echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27269echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27270else
27271 # Is the header compilable?
27272echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
27273echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
27274cat >conftest.$ac_ext <<_ACEOF
27275/* confdefs.h. */
27276_ACEOF
27277cat confdefs.h >>conftest.$ac_ext
27278cat >>conftest.$ac_ext <<_ACEOF
27279/* end confdefs.h. */
27280$ac_includes_default
27281#include <GL/gl.h>
27282_ACEOF
27283rm -f conftest.$ac_objext
27284if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 27285 (eval $ac_compile) 2>conftest.er1
a848cd7e 27286 ac_status=$?
ac1cb8d3
VS
27287 grep -v '^ *+' conftest.er1 >conftest.err
27288 rm -f conftest.er1
27289 cat conftest.err >&5
a848cd7e
SC
27290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27291 (exit $ac_status); } &&
d1c38808 27292 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
27293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27294 (eval $ac_try) 2>&5
27295 ac_status=$?
27296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27297 (exit $ac_status); }; } &&
27298 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
27299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27300 (eval $ac_try) 2>&5
27301 ac_status=$?
27302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27303 (exit $ac_status); }; }; then
27304 ac_header_compiler=yes
27305else
27306 echo "$as_me: failed program was:" >&5
27307sed 's/^/| /' conftest.$ac_ext >&5
27308
27309ac_header_compiler=no
27310fi
ac1cb8d3 27311rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
27312echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27313echo "${ECHO_T}$ac_header_compiler" >&6
27314
27315# Is the header present?
27316echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
27317echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
27318cat >conftest.$ac_ext <<_ACEOF
27319/* confdefs.h. */
27320_ACEOF
27321cat confdefs.h >>conftest.$ac_ext
27322cat >>conftest.$ac_ext <<_ACEOF
27323/* end confdefs.h. */
27324#include <GL/gl.h>
27325_ACEOF
27326if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27327 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27328 ac_status=$?
27329 grep -v '^ *+' conftest.er1 >conftest.err
27330 rm -f conftest.er1
27331 cat conftest.err >&5
27332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27333 (exit $ac_status); } >/dev/null; then
27334 if test -s conftest.err; then
27335 ac_cpp_err=$ac_c_preproc_warn_flag
ac1cb8d3 27336 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
a848cd7e
SC
27337 else
27338 ac_cpp_err=
27339 fi
27340else
27341 ac_cpp_err=yes
27342fi
27343if test -z "$ac_cpp_err"; then
27344 ac_header_preproc=yes
27345else
27346 echo "$as_me: failed program was:" >&5
27347sed 's/^/| /' conftest.$ac_ext >&5
27348
27349 ac_header_preproc=no
27350fi
27351rm -f conftest.err conftest.$ac_ext
27352echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27353echo "${ECHO_T}$ac_header_preproc" >&6
27354
27355# So? What about this header?
ac1cb8d3
VS
27356case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27357 yes:no: )
a848cd7e
SC
27358 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
27359echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
ac1cb8d3
VS
27360 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
27361echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
27362 ac_header_preproc=yes
a848cd7e 27363 ;;
ac1cb8d3 27364 no:yes:* )
a848cd7e
SC
27365 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
27366echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
ac1cb8d3
VS
27367 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
27368echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
27369 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
27370echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
27371 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
27372echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
a848cd7e
SC
27373 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
27374echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
ac1cb8d3
VS
27375 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
27376echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
a848cd7e
SC
27377 (
27378 cat <<\_ASBOX
ac1cb8d3
VS
27379## ----------------------------------------- ##
27380## Report this to wx-dev@lists.wxwidgets.org ##
27381## ----------------------------------------- ##
a848cd7e
SC
27382_ASBOX
27383 ) |
27384 sed "s/^/$as_me: WARNING: /" >&2
27385 ;;
27386esac
27387echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27388echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27389if test "${ac_cv_header_GL_gl_h+set}" = set; then
27390 echo $ECHO_N "(cached) $ECHO_C" >&6
27391else
27392 ac_cv_header_GL_gl_h=$ac_header_preproc
27393fi
27394echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27395echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27396
27397fi
27398if test $ac_cv_header_GL_gl_h = yes; then
27399
27400 found_gl=0
27401
27402 echo "$as_me:$LINENO: checking for -lGL" >&5
27403echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
27404
27405ac_find_libraries=
27406for ac_dir in $SEARCH_LIB /usr/lib;
27407 do
27408 for ac_extension in a so sl dylib; do
27409 if test -f "$ac_dir/libGL.$ac_extension"; then
27410 ac_find_libraries=$ac_dir
27411 break 2
27412 fi
27413 done
27414 done
27415
27416 if test "$ac_find_libraries" != "" ; then
27417
27418 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27419 result=$?
27420 if test $result = 0; then
27421 ac_path_to_link=""
27422 else
27423 ac_path_to_link=" -L$ac_find_libraries"
27424 fi
27425
27426 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27427 LDFLAGS_GL="$ac_path_to_link"
27428 fi
27429
27430
27431ac_find_libraries=
27432for ac_dir in $SEARCH_LIB /usr/lib;
27433 do
27434 for ac_extension in a so sl dylib; do
27435 if test -f "$ac_dir/libGLU.$ac_extension"; then
27436 ac_find_libraries=$ac_dir
27437 break 2
27438 fi
27439 done
27440 done
27441
27442 if test "$ac_find_libraries" != "" ; then
27443
27444 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27445 result=$?
27446 if test $result = 0; then
27447 ac_path_to_link=""
27448 else
27449 ac_path_to_link=" -L$ac_find_libraries"
27450 fi
27451
27452 if test "$ac_path_to_link" != " -L/usr/lib" -a \
27453 "$ac_path_to_link" != "$LDFLAGS_GL"; then
27454 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
27455 fi
27456
27457 found_gl=1
27458 OPENGL_LIBS="-lGL -lGLU"
27459 echo "$as_me:$LINENO: result: yes" >&5
27460echo "${ECHO_T}yes" >&6
27461 fi
27462 fi
27463
27464 if test "$found_gl" != 1; then
27465 echo "$as_me:$LINENO: result: no" >&5
27466echo "${ECHO_T}no" >&6
27467 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
27468echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
27469
27470ac_find_libraries=
27471for ac_dir in $SEARCH_LIB /usr/lib;
27472 do
27473 for ac_extension in a so sl dylib; do
27474 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
27475 ac_find_libraries=$ac_dir
27476 break 2
27477 fi
27478 done
27479 done
27480
27481 if test "$ac_find_libraries" != "" ; then
27482
27483 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27484 result=$?
27485 if test $result = 0; then
27486 ac_path_to_link=""
27487 else
27488 ac_path_to_link=" -L$ac_find_libraries"
27489 fi
27490
27491 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
27492 OPENGL_LIBS="-lMesaGL -lMesaGLU"
27493 echo "$as_me:$LINENO: result: yes" >&5
27494echo "${ECHO_T}yes" >&6
27495 else
27496 echo "$as_me:$LINENO: result: no" >&5
27497echo "${ECHO_T}no" >&6
27498 fi
27499 fi
27500
27501fi
27502
27503
27504
27505 if test "x$OPENGL_LIBS" = "x"; then
27506 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
27507echo "$as_me: error: OpenGL libraries not available" >&2;}
27508 { (exit 1); exit 1; }; }
27509 fi
27510 fi
27511
27512 if test "$wxUSE_OPENGL" = "yes"; then
27513 USE_OPENGL=1
27514 cat >>confdefs.h <<\_ACEOF
27515#define wxUSE_OPENGL 1
27516_ACEOF
27517
27518 cat >>confdefs.h <<\_ACEOF
27519#define wxUSE_GLCANVAS 1
27520_ACEOF
27521
27522 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
27523 fi
27524fi
27525
a848cd7e
SC
27526
27527if test -n "$TOOLKIT" ; then
27528 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
27529fi
27530
a848cd7e
SC
27531
27532
27533if test "$wxUSE_SHARED" = "yes"; then
27534 case "${host}" in
27535 *-pc-msdosdjgpp )
27536 wxUSE_SHARED=no
27537 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
27538echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
27539 ;;
27540 esac
27541fi
27542
a848cd7e 27543if test "$wxUSE_SHARED" = "yes"; then
a848cd7e
SC
27544
27545
27546 found_versioning=no
27547
27548
27549 if test $found_versioning = no ; then
27550 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
27551echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
27552if test "${wx_cv_version_script+set}" = set; then
27553 echo $ECHO_N "(cached) $ECHO_C" >&6
27554else
27555
27556 echo "VER_1 { *; };" >conftest.sym
27557 echo "int main() { return 0; }" >conftest.cpp
27558
27559 if { ac_try='
27560 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
27561 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
27562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27563 (eval $ac_try) 2>&5
27564 ac_status=$?
27565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27566 (exit $ac_status); }; } ; then
27567 if test -s conftest.stderr ; then
27568 wx_cv_version_script=no
27569 else
27570 wx_cv_version_script=yes
27571 fi
27572 else
27573 wx_cv_version_script=no
27574 fi
27575 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
27576
27577fi
27578echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
27579echo "${ECHO_T}$wx_cv_version_script" >&6
27580 if test $wx_cv_version_script = yes ; then
27581 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
27582 fi
27583 fi
27584
27585
27586 case "${host}" in
27587 *-*-linux* | *-*-gnu* )
27588 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
ffa0583f 27589 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
a848cd7e
SC
27590 ;;
27591
27592 *-*-solaris2* )
27593 if test "$GCC" = yes ; then
27594 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
27595
27596 saveLdflags="$LDFLAGS"
27597 LDFLAGS="$saveLdflags -Wl,-rpath,/"
27598 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
27599echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
27600 cat >conftest.$ac_ext <<_ACEOF
27601/* confdefs.h. */
27602_ACEOF
27603cat confdefs.h >>conftest.$ac_ext
27604cat >>conftest.$ac_ext <<_ACEOF
27605/* end confdefs.h. */
27606
27607int
27608main ()
27609{
27610
27611 ;
27612 return 0;
27613}
27614_ACEOF
27615rm -f conftest.$ac_objext conftest$ac_exeext
27616if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 27617 (eval $ac_link) 2>conftest.er1
a848cd7e 27618 ac_status=$?
ac1cb8d3
VS
27619 grep -v '^ *+' conftest.er1 >conftest.err
27620 rm -f conftest.er1
27621 cat conftest.err >&5
a848cd7e
SC
27622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27623 (exit $ac_status); } &&
d1c38808 27624 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
27625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27626 (eval $ac_try) 2>&5
27627 ac_status=$?
27628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27629 (exit $ac_status); }; } &&
27630 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
27631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27632 (eval $ac_try) 2>&5
27633 ac_status=$?
27634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27635 (exit $ac_status); }; }; then
27636
27637 echo "$as_me:$LINENO: result: yes" >&5
27638echo "${ECHO_T}yes" >&6
27639 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
ffa0583f 27640 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
a848cd7e
SC
27641
27642else
27643 echo "$as_me: failed program was:" >&5
27644sed 's/^/| /' conftest.$ac_ext >&5
27645
27646
27647 echo "$as_me:$LINENO: result: no" >&5
27648echo "${ECHO_T}no" >&6
27649 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
27650echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
27651 LDFLAGS="$saveLdflags -Wl,-R,/"
27652 cat >conftest.$ac_ext <<_ACEOF
27653/* confdefs.h. */
27654_ACEOF
27655cat confdefs.h >>conftest.$ac_ext
27656cat >>conftest.$ac_ext <<_ACEOF
27657/* end confdefs.h. */
27658
27659int
27660main ()
27661{
27662
27663 ;
27664 return 0;
27665}
27666_ACEOF
27667rm -f conftest.$ac_objext conftest$ac_exeext
27668if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 27669 (eval $ac_link) 2>conftest.er1
a848cd7e 27670 ac_status=$?
ac1cb8d3
VS
27671 grep -v '^ *+' conftest.er1 >conftest.err
27672 rm -f conftest.er1
27673 cat conftest.err >&5
a848cd7e
SC
27674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27675 (exit $ac_status); } &&
d1c38808 27676 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
27677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27678 (eval $ac_try) 2>&5
27679 ac_status=$?
27680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27681 (exit $ac_status); }; } &&
27682 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
27683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27684 (eval $ac_try) 2>&5
27685 ac_status=$?
27686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27687 (exit $ac_status); }; }; then
27688
ffa0583f 27689 echo "$as_me:$LINENO: result: yes" >&5
a848cd7e 27690echo "${ECHO_T}yes" >&6
ffa0583f
RL
27691 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
27692 WXCONFIG_RPATH="-Wl,-R,\$libdir"
27693
a848cd7e
SC
27694else
27695 echo "$as_me: failed program was:" >&5
27696sed 's/^/| /' conftest.$ac_ext >&5
27697
27698
27699 echo "$as_me:$LINENO: result: no" >&5
27700echo "${ECHO_T}no" >&6
27701
27702fi
ac1cb8d3
VS
27703rm -f conftest.err conftest.$ac_objext \
27704 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
27705
27706fi
ac1cb8d3
VS
27707rm -f conftest.err conftest.$ac_objext \
27708 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
27709 LDFLAGS="$saveLdflags"
27710 else
a848cd7e 27711 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
ffa0583f 27712 WXCONFIG_RPATH="-R\$libdir"
a848cd7e
SC
27713 fi
27714 ;;
27715
27716 powerpc-*-darwin* )
27717 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
27718 cat <<EOF >change-install-names
27719#!/bin/sh
27720libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
27721inst_cmd="install_name_tool "
27722for i in \${libnames} ; do
27723 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
27724done
27725\${inst_cmd} \${3}
27726EOF
27727 chmod +x change-install-names
27728 ;;
27729
27730 *-*-cygwin* | *-*-mingw32* )
27731 TOOLCHAIN_DLL_DEFS="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
27732 ;;
27733
27734 esac
ceec2216 27735
ffa0583f
RL
27736 if test $wxUSE_RPATH = "no"; then
27737 SAMPLES_RPATH_FLAG=''
27738 SAMPLES_RPATH_POSTLINK=''
27739 WXCONFIG_RPATH=''
27740 fi
27741
27742 SHARED=1
27743
27744else
27745
ceec2216
RL
27746 config_linkage_component="-static"
27747 SHARED=0
ffa0583f 27748
ceec2216 27749fi
a848cd7e 27750
a848cd7e 27751
ceec2216
RL
27752UNICODE=0
27753lib_unicode_suffix=
27754WX_CHARTYPE="ansi"
27755if test "$wxUSE_UNICODE" = "yes"; then
27756 lib_unicode_suffix=u
27757 WX_CHARTYPE="unicode"
27758 UNICODE=1
a848cd7e
SC
27759fi
27760
ceec2216
RL
27761lib_debug_suffix=
27762WX_DEBUGTYPE="release"
27763DEBUG_FLAG=0
27764if test "$wxUSE_DEBUG_FLAG" = "yes"; then
27765 lib_debug_suffix=d
27766 WX_DEBUGTYPE="debug"
27767 DEBUG_FLAG=1
27768fi
a848cd7e 27769
ceec2216
RL
27770WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
27771WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
a848cd7e 27772
ceec2216
RL
27773DEBUG_INFO=0
27774if test "$wxUSE_DEBUG_INFO" = "yes"; then
27775 DEBUG_INFO=1
27776fi
a848cd7e 27777
ceec2216 27778WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
a848cd7e 27779
ceec2216 27780TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
a848cd7e 27781
ceec2216 27782TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
a848cd7e 27783
ceec2216
RL
27784if test "$cross_compiling" = "yes"; then
27785 HOST_SUFFIX="-$host_alias"
27786 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
27787 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
a848cd7e
SC
27788fi
27789
dd21ced8 27790WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
ceec2216
RL
27791WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
27792
27793
27794
a848cd7e 27795if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
ceec2216
RL
27796 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${WX_CURRENT}.r"
27797 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${WX_CURRENT}.rsrc"
27798
a848cd7e 27799 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
a848cd7e
SC
27800
27801 # Extract the first word of "Rez", so it can be a program name with args.
27802set dummy Rez; ac_word=$2
27803echo "$as_me:$LINENO: checking for $ac_word" >&5
27804echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27805if test "${ac_cv_prog_RESCOMP+set}" = set; then
27806 echo $ECHO_N "(cached) $ECHO_C" >&6
27807else
27808 if test -n "$RESCOMP"; then
27809 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
27810else
27811as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27812for as_dir in $PATH
27813do
27814 IFS=$as_save_IFS
27815 test -z "$as_dir" && as_dir=.
27816 for ac_exec_ext in '' $ac_executable_extensions; do
27817 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27818 ac_cv_prog_RESCOMP="Rez"
27819 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27820 break 2
27821 fi
27822done
27823done
27824
27825 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
27826fi
27827fi
27828RESCOMP=$ac_cv_prog_RESCOMP
27829if test -n "$RESCOMP"; then
27830 echo "$as_me:$LINENO: result: $RESCOMP" >&5
27831echo "${ECHO_T}$RESCOMP" >&6
27832else
27833 echo "$as_me:$LINENO: result: no" >&5
27834echo "${ECHO_T}no" >&6
27835fi
27836
27837 # Extract the first word of "DeRez", so it can be a program name with args.
27838set dummy DeRez; ac_word=$2
27839echo "$as_me:$LINENO: checking for $ac_word" >&5
27840echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27841if test "${ac_cv_prog_DEREZ+set}" = set; then
27842 echo $ECHO_N "(cached) $ECHO_C" >&6
27843else
27844 if test -n "$DEREZ"; then
27845 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
27846else
27847as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27848for as_dir in $PATH
27849do
27850 IFS=$as_save_IFS
27851 test -z "$as_dir" && as_dir=.
27852 for ac_exec_ext in '' $ac_executable_extensions; do
27853 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27854 ac_cv_prog_DEREZ="DeRez"
27855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27856 break 2
27857 fi
27858done
27859done
27860
27861 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
27862fi
27863fi
27864DEREZ=$ac_cv_prog_DEREZ
27865if test -n "$DEREZ"; then
27866 echo "$as_me:$LINENO: result: $DEREZ" >&5
27867echo "${ECHO_T}$DEREZ" >&6
27868else
27869 echo "$as_me:$LINENO: result: no" >&5
27870echo "${ECHO_T}no" >&6
27871fi
27872
27873 # Extract the first word of "SetFile", so it can be a program name with args.
27874set dummy SetFile; ac_word=$2
27875echo "$as_me:$LINENO: checking for $ac_word" >&5
27876echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27877if test "${ac_cv_prog_SETFILE+set}" = set; then
27878 echo $ECHO_N "(cached) $ECHO_C" >&6
27879else
27880 if test -n "$SETFILE"; then
27881 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
27882else
27883as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27884for as_dir in $PATH
27885do
27886 IFS=$as_save_IFS
27887 test -z "$as_dir" && as_dir=.
27888 for ac_exec_ext in '' $ac_executable_extensions; do
27889 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27890 ac_cv_prog_SETFILE="SetFile"
27891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27892 break 2
27893 fi
27894done
27895done
27896
27897 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
27898fi
27899fi
27900SETFILE=$ac_cv_prog_SETFILE
27901if test -n "$SETFILE"; then
27902 echo "$as_me:$LINENO: result: $SETFILE" >&5
27903echo "${ECHO_T}$SETFILE" >&6
27904else
27905 echo "$as_me:$LINENO: result: no" >&5
27906echo "${ECHO_T}no" >&6
27907fi
27908
27909
27910 MACSETFILE="\$(SETFILE)"
27911
27912 if test "$wxUSE_MAC" = 1; then
27913 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
27914
27915 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
27916 else
27917 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
27918 MACRESWXCONFIG="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
27919 fi
27920else
ffa0583f
RL
27921 MACSETFILE="@true"
27922 MACRESWXCONFIG="@true"
a848cd7e
SC
27923
27924 if test "$wxUSE_PM" = 1; then
27925 MACRESCOMP="emxbind -ep"
27926 else
ffa0583f 27927 MACRESCOMP="@true"
a848cd7e
SC
27928 fi
27929fi
27930
27931
27932
27933echo "$as_me:$LINENO: checking for mode_t" >&5
27934echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
27935if test "${ac_cv_type_mode_t+set}" = set; then
27936 echo $ECHO_N "(cached) $ECHO_C" >&6
27937else
27938 cat >conftest.$ac_ext <<_ACEOF
27939/* confdefs.h. */
27940_ACEOF
27941cat confdefs.h >>conftest.$ac_ext
27942cat >>conftest.$ac_ext <<_ACEOF
27943/* end confdefs.h. */
27944$ac_includes_default
27945int
27946main ()
27947{
27948if ((mode_t *) 0)
27949 return 0;
27950if (sizeof (mode_t))
27951 return 0;
27952 ;
27953 return 0;
27954}
27955_ACEOF
27956rm -f conftest.$ac_objext
27957if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 27958 (eval $ac_compile) 2>conftest.er1
a848cd7e 27959 ac_status=$?
ac1cb8d3
VS
27960 grep -v '^ *+' conftest.er1 >conftest.err
27961 rm -f conftest.er1
27962 cat conftest.err >&5
a848cd7e
SC
27963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27964 (exit $ac_status); } &&
d1c38808 27965 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
27966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27967 (eval $ac_try) 2>&5
27968 ac_status=$?
27969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27970 (exit $ac_status); }; } &&
27971 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
27972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27973 (eval $ac_try) 2>&5
27974 ac_status=$?
27975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27976 (exit $ac_status); }; }; then
27977 ac_cv_type_mode_t=yes
27978else
27979 echo "$as_me: failed program was:" >&5
27980sed 's/^/| /' conftest.$ac_ext >&5
27981
27982ac_cv_type_mode_t=no
27983fi
ac1cb8d3 27984rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
27985fi
27986echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
27987echo "${ECHO_T}$ac_cv_type_mode_t" >&6
27988if test $ac_cv_type_mode_t = yes; then
27989 :
27990else
27991
27992cat >>confdefs.h <<_ACEOF
27993#define mode_t int
27994_ACEOF
27995
27996fi
27997
27998echo "$as_me:$LINENO: checking for off_t" >&5
27999echo $ECHO_N "checking for off_t... $ECHO_C" >&6
28000if test "${ac_cv_type_off_t+set}" = set; then
28001 echo $ECHO_N "(cached) $ECHO_C" >&6
28002else
28003 cat >conftest.$ac_ext <<_ACEOF
28004/* confdefs.h. */
28005_ACEOF
28006cat confdefs.h >>conftest.$ac_ext
28007cat >>conftest.$ac_ext <<_ACEOF
28008/* end confdefs.h. */
28009$ac_includes_default
28010int
28011main ()
28012{
28013if ((off_t *) 0)
28014 return 0;
28015if (sizeof (off_t))
28016 return 0;
28017 ;
28018 return 0;
28019}
28020_ACEOF
28021rm -f conftest.$ac_objext
28022if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 28023 (eval $ac_compile) 2>conftest.er1
a848cd7e 28024 ac_status=$?
ac1cb8d3
VS
28025 grep -v '^ *+' conftest.er1 >conftest.err
28026 rm -f conftest.er1
28027 cat conftest.err >&5
a848cd7e
SC
28028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28029 (exit $ac_status); } &&
d1c38808 28030 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
28031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28032 (eval $ac_try) 2>&5
28033 ac_status=$?
28034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28035 (exit $ac_status); }; } &&
28036 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
28037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28038 (eval $ac_try) 2>&5
28039 ac_status=$?
28040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28041 (exit $ac_status); }; }; then
28042 ac_cv_type_off_t=yes
28043else
28044 echo "$as_me: failed program was:" >&5
28045sed 's/^/| /' conftest.$ac_ext >&5
28046
28047ac_cv_type_off_t=no
28048fi
ac1cb8d3 28049rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
28050fi
28051echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
28052echo "${ECHO_T}$ac_cv_type_off_t" >&6
28053if test $ac_cv_type_off_t = yes; then
28054 :
28055else
28056
28057cat >>confdefs.h <<_ACEOF
28058#define off_t long
28059_ACEOF
28060
28061fi
28062
28063echo "$as_me:$LINENO: checking for pid_t" >&5
28064echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
28065if test "${ac_cv_type_pid_t+set}" = set; then
28066 echo $ECHO_N "(cached) $ECHO_C" >&6
28067else
28068 cat >conftest.$ac_ext <<_ACEOF
28069/* confdefs.h. */
28070_ACEOF
28071cat confdefs.h >>conftest.$ac_ext
28072cat >>conftest.$ac_ext <<_ACEOF
28073/* end confdefs.h. */
28074$ac_includes_default
28075int
28076main ()
28077{
28078if ((pid_t *) 0)
28079 return 0;
28080if (sizeof (pid_t))
28081 return 0;
28082 ;
28083 return 0;
28084}
28085_ACEOF
28086rm -f conftest.$ac_objext
28087if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 28088 (eval $ac_compile) 2>conftest.er1
a848cd7e 28089 ac_status=$?
ac1cb8d3
VS
28090 grep -v '^ *+' conftest.er1 >conftest.err
28091 rm -f conftest.er1
28092 cat conftest.err >&5
a848cd7e
SC
28093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28094 (exit $ac_status); } &&
d1c38808 28095 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
28096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28097 (eval $ac_try) 2>&5
28098 ac_status=$?
28099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28100 (exit $ac_status); }; } &&
28101 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
28102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28103 (eval $ac_try) 2>&5
28104 ac_status=$?
28105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28106 (exit $ac_status); }; }; then
28107 ac_cv_type_pid_t=yes
28108else
28109 echo "$as_me: failed program was:" >&5
28110sed 's/^/| /' conftest.$ac_ext >&5
28111
28112ac_cv_type_pid_t=no
28113fi
ac1cb8d3 28114rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
28115fi
28116echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
28117echo "${ECHO_T}$ac_cv_type_pid_t" >&6
28118if test $ac_cv_type_pid_t = yes; then
28119 :
28120else
28121
28122cat >>confdefs.h <<_ACEOF
28123#define pid_t int
28124_ACEOF
28125
28126fi
28127
28128echo "$as_me:$LINENO: checking for size_t" >&5
28129echo $ECHO_N "checking for size_t... $ECHO_C" >&6
28130if test "${ac_cv_type_size_t+set}" = set; then
28131 echo $ECHO_N "(cached) $ECHO_C" >&6
28132else
28133 cat >conftest.$ac_ext <<_ACEOF
28134/* confdefs.h. */
28135_ACEOF
28136cat confdefs.h >>conftest.$ac_ext
28137cat >>conftest.$ac_ext <<_ACEOF
28138/* end confdefs.h. */
28139$ac_includes_default
28140int
28141main ()
28142{
28143if ((size_t *) 0)
28144 return 0;
28145if (sizeof (size_t))
28146 return 0;
28147 ;
28148 return 0;
28149}
28150_ACEOF
28151rm -f conftest.$ac_objext
28152if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 28153 (eval $ac_compile) 2>conftest.er1
a848cd7e 28154 ac_status=$?
ac1cb8d3
VS
28155 grep -v '^ *+' conftest.er1 >conftest.err
28156 rm -f conftest.er1
28157 cat conftest.err >&5
a848cd7e
SC
28158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28159 (exit $ac_status); } &&
d1c38808 28160 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
28161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28162 (eval $ac_try) 2>&5
28163 ac_status=$?
28164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28165 (exit $ac_status); }; } &&
28166 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
28167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28168 (eval $ac_try) 2>&5
28169 ac_status=$?
28170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28171 (exit $ac_status); }; }; then
28172 ac_cv_type_size_t=yes
28173else
28174 echo "$as_me: failed program was:" >&5
28175sed 's/^/| /' conftest.$ac_ext >&5
28176
28177ac_cv_type_size_t=no
28178fi
ac1cb8d3 28179rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
28180fi
28181echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
28182echo "${ECHO_T}$ac_cv_type_size_t" >&6
28183if test $ac_cv_type_size_t = yes; then
28184 :
28185else
28186
28187cat >>confdefs.h <<_ACEOF
28188#define size_t unsigned
28189_ACEOF
28190
28191fi
28192
28193echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
28194echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
28195if test "${ac_cv_type_uid_t+set}" = set; then
28196 echo $ECHO_N "(cached) $ECHO_C" >&6
28197else
28198 cat >conftest.$ac_ext <<_ACEOF
28199/* confdefs.h. */
28200_ACEOF
28201cat confdefs.h >>conftest.$ac_ext
28202cat >>conftest.$ac_ext <<_ACEOF
28203/* end confdefs.h. */
28204#include <sys/types.h>
28205
28206_ACEOF
28207if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28208 $EGREP "uid_t" >/dev/null 2>&1; then
28209 ac_cv_type_uid_t=yes
28210else
28211 ac_cv_type_uid_t=no
28212fi
28213rm -f conftest*
28214
28215fi
28216echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
28217echo "${ECHO_T}$ac_cv_type_uid_t" >&6
28218if test $ac_cv_type_uid_t = no; then
28219
28220cat >>confdefs.h <<\_ACEOF
28221#define uid_t int
28222_ACEOF
28223
28224
28225cat >>confdefs.h <<\_ACEOF
28226#define gid_t int
28227_ACEOF
28228
28229fi
28230
28231
28232
28233
28234ac_ext=cc
28235ac_cpp='$CXXCPP $CPPFLAGS'
28236ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28237ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28238ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28239
28240echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
28241echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
28242if test "${wx_cv_size_t_is_uint+set}" = set; then
28243 echo $ECHO_N "(cached) $ECHO_C" >&6
28244else
28245
28246 cat >conftest.$ac_ext <<_ACEOF
28247/* confdefs.h. */
28248_ACEOF
28249cat confdefs.h >>conftest.$ac_ext
28250cat >>conftest.$ac_ext <<_ACEOF
28251/* end confdefs.h. */
28252#include <stddef.h>
28253int
28254main ()
28255{
28256
28257 return 0; }
28258
28259 struct Foo { void foo(size_t); void foo(unsigned int); };
28260
28261 int bar() {
28262
28263 ;
28264 return 0;
28265}
28266_ACEOF
28267rm -f conftest.$ac_objext
28268if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 28269 (eval $ac_compile) 2>conftest.er1
a848cd7e 28270 ac_status=$?
ac1cb8d3
VS
28271 grep -v '^ *+' conftest.er1 >conftest.err
28272 rm -f conftest.er1
28273 cat conftest.err >&5
a848cd7e
SC
28274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28275 (exit $ac_status); } &&
d1c38808 28276 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
28277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28278 (eval $ac_try) 2>&5
28279 ac_status=$?
28280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28281 (exit $ac_status); }; } &&
28282 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
28283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28284 (eval $ac_try) 2>&5
28285 ac_status=$?
28286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28287 (exit $ac_status); }; }; then
28288 wx_cv_size_t_is_uint=no
28289else
28290 echo "$as_me: failed program was:" >&5
28291sed 's/^/| /' conftest.$ac_ext >&5
28292
28293wx_cv_size_t_is_uint=yes
28294
28295fi
ac1cb8d3 28296rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
28297
28298
28299fi
28300echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
28301echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
28302
28303if test "$wx_cv_size_t_is_uint" = "yes"; then
28304 cat >>confdefs.h <<\_ACEOF
28305#define wxSIZE_T_IS_UINT 1
28306_ACEOF
28307
28308else
28309 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
28310echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
28311if test "${wx_cv_size_t_is_ulong+set}" = set; then
28312 echo $ECHO_N "(cached) $ECHO_C" >&6
28313else
28314 cat >conftest.$ac_ext <<_ACEOF
28315/* confdefs.h. */
28316_ACEOF
28317cat confdefs.h >>conftest.$ac_ext
28318cat >>conftest.$ac_ext <<_ACEOF
28319/* end confdefs.h. */
28320#include <stddef.h>
28321int
28322main ()
28323{
28324
28325 return 0; }
28326
28327 struct Foo { void foo(size_t); void foo(unsigned long); };
28328
28329 int bar() {
28330
28331 ;
28332 return 0;
28333}
28334_ACEOF
28335rm -f conftest.$ac_objext
28336if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 28337 (eval $ac_compile) 2>conftest.er1
a848cd7e 28338 ac_status=$?
ac1cb8d3
VS
28339 grep -v '^ *+' conftest.er1 >conftest.err
28340 rm -f conftest.er1
28341 cat conftest.err >&5
a848cd7e
SC
28342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28343 (exit $ac_status); } &&
d1c38808 28344 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
28345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28346 (eval $ac_try) 2>&5
28347 ac_status=$?
28348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28349 (exit $ac_status); }; } &&
28350 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
28351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28352 (eval $ac_try) 2>&5
28353 ac_status=$?
28354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28355 (exit $ac_status); }; }; then
28356 wx_cv_size_t_is_ulong=no
28357else
28358 echo "$as_me: failed program was:" >&5
28359sed 's/^/| /' conftest.$ac_ext >&5
28360
28361wx_cv_size_t_is_ulong=yes
28362
28363fi
ac1cb8d3 28364rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
28365
28366fi
28367echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
28368echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
28369
28370 if test "$wx_cv_size_t_is_ulong" = "yes"; then
28371 cat >>confdefs.h <<\_ACEOF
28372#define wxSIZE_T_IS_ULONG 1
28373_ACEOF
28374
28375 fi
28376fi
28377
28378ac_ext=c
28379ac_cpp='$CPP $CPPFLAGS'
28380ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28381ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28382ac_compiler_gnu=$ac_cv_c_compiler_gnu
28383
28384
28385
28386echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
28387echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
28388if test "${wx_cv_struct_pw_gecos+set}" = set; then
28389 echo $ECHO_N "(cached) $ECHO_C" >&6
28390else
28391
28392 cat >conftest.$ac_ext <<_ACEOF
28393/* confdefs.h. */
28394_ACEOF
28395cat confdefs.h >>conftest.$ac_ext
28396cat >>conftest.$ac_ext <<_ACEOF
28397/* end confdefs.h. */
28398#include <pwd.h>
28399int
28400main ()
28401{
28402
28403 char *p;
28404 struct passwd *pw;
28405 p = pw->pw_gecos;
28406
28407 ;
28408 return 0;
28409}
28410_ACEOF
28411rm -f conftest.$ac_objext
28412if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 28413 (eval $ac_compile) 2>conftest.er1
a848cd7e 28414 ac_status=$?
ac1cb8d3
VS
28415 grep -v '^ *+' conftest.er1 >conftest.err
28416 rm -f conftest.er1
28417 cat conftest.err >&5
a848cd7e
SC
28418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28419 (exit $ac_status); } &&
d1c38808 28420 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
28421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28422 (eval $ac_try) 2>&5
28423 ac_status=$?
28424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28425 (exit $ac_status); }; } &&
28426 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
28427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28428 (eval $ac_try) 2>&5
28429 ac_status=$?
28430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28431 (exit $ac_status); }; }; then
28432
28433 wx_cv_struct_pw_gecos=yes
28434
28435else
28436 echo "$as_me: failed program was:" >&5
28437sed 's/^/| /' conftest.$ac_ext >&5
28438
28439
28440 wx_cv_struct_pw_gecos=no
28441
28442
28443fi
ac1cb8d3 28444rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
28445
28446
28447fi
28448echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
28449echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
28450
28451if test "$wx_cv_struct_pw_gecos" = "yes"; then
28452 cat >>confdefs.h <<\_ACEOF
28453#define HAVE_PW_GECOS 1
28454_ACEOF
28455
28456fi
28457
28458
28459if test "$wx_cv_sizeof_wchar_t" != "0"; then
28460 cat >>confdefs.h <<\_ACEOF
28461#define wxUSE_WCHAR_T 1
28462_ACEOF
28463
28464
28465 WCSLEN_FOUND=0
28466 WCHAR_LINK=
28467
28468for ac_func in wcslen
28469do
28470as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28471echo "$as_me:$LINENO: checking for $ac_func" >&5
28472echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28473if eval "test \"\${$as_ac_var+set}\" = set"; then
28474 echo $ECHO_N "(cached) $ECHO_C" >&6
28475else
28476 cat >conftest.$ac_ext <<_ACEOF
28477/* confdefs.h. */
28478_ACEOF
28479cat confdefs.h >>conftest.$ac_ext
28480cat >>conftest.$ac_ext <<_ACEOF
28481/* end confdefs.h. */
ac1cb8d3
VS
28482/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28483 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28484#define $ac_func innocuous_$ac_func
28485
a848cd7e
SC
28486/* System header to define __stub macros and hopefully few prototypes,
28487 which can conflict with char $ac_func (); below.
28488 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28489 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 28490
a848cd7e
SC
28491#ifdef __STDC__
28492# include <limits.h>
28493#else
28494# include <assert.h>
28495#endif
ac1cb8d3
VS
28496
28497#undef $ac_func
28498
a848cd7e
SC
28499/* Override any gcc2 internal prototype to avoid an error. */
28500#ifdef __cplusplus
28501extern "C"
28502{
28503#endif
28504/* We use char because int might match the return type of a gcc2
28505 builtin and then its argument prototype would still apply. */
28506char $ac_func ();
28507/* The GNU C library defines this for functions which it implements
28508 to always fail with ENOSYS. Some functions are actually named
28509 something starting with __ and the normal name is an alias. */
28510#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28511choke me
28512#else
28513char (*f) () = $ac_func;
28514#endif
28515#ifdef __cplusplus
28516}
28517#endif
28518
28519int
28520main ()
28521{
28522return f != $ac_func;
28523 ;
28524 return 0;
28525}
28526_ACEOF
28527rm -f conftest.$ac_objext conftest$ac_exeext
28528if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 28529 (eval $ac_link) 2>conftest.er1
a848cd7e 28530 ac_status=$?
ac1cb8d3
VS
28531 grep -v '^ *+' conftest.er1 >conftest.err
28532 rm -f conftest.er1
28533 cat conftest.err >&5
a848cd7e
SC
28534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28535 (exit $ac_status); } &&
d1c38808 28536 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
28537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28538 (eval $ac_try) 2>&5
28539 ac_status=$?
28540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28541 (exit $ac_status); }; } &&
28542 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
28543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28544 (eval $ac_try) 2>&5
28545 ac_status=$?
28546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28547 (exit $ac_status); }; }; then
28548 eval "$as_ac_var=yes"
28549else
28550 echo "$as_me: failed program was:" >&5
28551sed 's/^/| /' conftest.$ac_ext >&5
28552
28553eval "$as_ac_var=no"
28554fi
ac1cb8d3
VS
28555rm -f conftest.err conftest.$ac_objext \
28556 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
28557fi
28558echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28559echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28560if test `eval echo '${'$as_ac_var'}'` = yes; then
28561 cat >>confdefs.h <<_ACEOF
28562#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28563_ACEOF
28564 WCSLEN_FOUND=1
28565fi
28566done
28567
28568
28569 if test "$WCSLEN_FOUND" = 0; then
28570 if test "$TOOLKIT" = "MSW"; then
28571 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
28572echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
28573if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
28574 echo $ECHO_N "(cached) $ECHO_C" >&6
28575else
28576 ac_check_lib_save_LIBS=$LIBS
28577LIBS="-lmsvcrt $LIBS"
28578cat >conftest.$ac_ext <<_ACEOF
28579/* confdefs.h. */
28580_ACEOF
28581cat confdefs.h >>conftest.$ac_ext
28582cat >>conftest.$ac_ext <<_ACEOF
28583/* end confdefs.h. */
28584
28585/* Override any gcc2 internal prototype to avoid an error. */
28586#ifdef __cplusplus
28587extern "C"
28588#endif
28589/* We use char because int might match the return type of a gcc2
28590 builtin and then its argument prototype would still apply. */
28591char wcslen ();
28592int
28593main ()
28594{
28595wcslen ();
28596 ;
28597 return 0;
28598}
28599_ACEOF
28600rm -f conftest.$ac_objext conftest$ac_exeext
28601if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 28602 (eval $ac_link) 2>conftest.er1
a848cd7e 28603 ac_status=$?
ac1cb8d3
VS
28604 grep -v '^ *+' conftest.er1 >conftest.err
28605 rm -f conftest.er1
28606 cat conftest.err >&5
a848cd7e
SC
28607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28608 (exit $ac_status); } &&
d1c38808 28609 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
28610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28611 (eval $ac_try) 2>&5
28612 ac_status=$?
28613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28614 (exit $ac_status); }; } &&
28615 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
28616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28617 (eval $ac_try) 2>&5
28618 ac_status=$?
28619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28620 (exit $ac_status); }; }; then
28621 ac_cv_lib_msvcrt_wcslen=yes
28622else
28623 echo "$as_me: failed program was:" >&5
28624sed 's/^/| /' conftest.$ac_ext >&5
28625
28626ac_cv_lib_msvcrt_wcslen=no
28627fi
ac1cb8d3
VS
28628rm -f conftest.err conftest.$ac_objext \
28629 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
28630LIBS=$ac_check_lib_save_LIBS
28631fi
28632echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
28633echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
28634if test $ac_cv_lib_msvcrt_wcslen = yes; then
28635 WCHAR_OK=1
28636fi
28637
28638 else
28639 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
28640echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
28641if test "${ac_cv_lib_w_wcslen+set}" = set; then
28642 echo $ECHO_N "(cached) $ECHO_C" >&6
28643else
28644 ac_check_lib_save_LIBS=$LIBS
28645LIBS="-lw $LIBS"
28646cat >conftest.$ac_ext <<_ACEOF
28647/* confdefs.h. */
28648_ACEOF
28649cat confdefs.h >>conftest.$ac_ext
28650cat >>conftest.$ac_ext <<_ACEOF
28651/* end confdefs.h. */
28652
28653/* Override any gcc2 internal prototype to avoid an error. */
28654#ifdef __cplusplus
28655extern "C"
28656#endif
28657/* We use char because int might match the return type of a gcc2
28658 builtin and then its argument prototype would still apply. */
28659char wcslen ();
28660int
28661main ()
28662{
28663wcslen ();
28664 ;
28665 return 0;
28666}
28667_ACEOF
28668rm -f conftest.$ac_objext conftest$ac_exeext
28669if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 28670 (eval $ac_link) 2>conftest.er1
a848cd7e 28671 ac_status=$?
ac1cb8d3
VS
28672 grep -v '^ *+' conftest.er1 >conftest.err
28673 rm -f conftest.er1
28674 cat conftest.err >&5
a848cd7e
SC
28675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28676 (exit $ac_status); } &&
d1c38808 28677 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
28678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28679 (eval $ac_try) 2>&5
28680 ac_status=$?
28681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28682 (exit $ac_status); }; } &&
28683 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
28684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28685 (eval $ac_try) 2>&5
28686 ac_status=$?
28687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28688 (exit $ac_status); }; }; then
28689 ac_cv_lib_w_wcslen=yes
28690else
28691 echo "$as_me: failed program was:" >&5
28692sed 's/^/| /' conftest.$ac_ext >&5
28693
28694ac_cv_lib_w_wcslen=no
28695fi
ac1cb8d3
VS
28696rm -f conftest.err conftest.$ac_objext \
28697 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
28698LIBS=$ac_check_lib_save_LIBS
28699fi
28700echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
28701echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
28702if test $ac_cv_lib_w_wcslen = yes; then
28703
28704 WCHAR_LINK=" -lw"
28705 WCSLEN_FOUND=1
28706
28707fi
28708
28709 fi
28710 fi
28711
28712 if test "$WCSLEN_FOUND" = 1; then
28713 cat >>confdefs.h <<\_ACEOF
28714#define HAVE_WCSLEN 1
28715_ACEOF
28716
28717 fi
28718
473276a9
VS
28719 if test "$USE_HPUX" = 1 -a "x$GCC" != "xyes"; then
28720 CPPFLAGS="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
28721 fi
28722
a848cd7e
SC
28723
28724for ac_func in wcsrtombs
28725do
28726as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28727echo "$as_me:$LINENO: checking for $ac_func" >&5
28728echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28729if eval "test \"\${$as_ac_var+set}\" = set"; then
28730 echo $ECHO_N "(cached) $ECHO_C" >&6
28731else
28732 cat >conftest.$ac_ext <<_ACEOF
28733/* confdefs.h. */
28734_ACEOF
28735cat confdefs.h >>conftest.$ac_ext
28736cat >>conftest.$ac_ext <<_ACEOF
28737/* end confdefs.h. */
ac1cb8d3
VS
28738/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28739 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28740#define $ac_func innocuous_$ac_func
28741
a848cd7e
SC
28742/* System header to define __stub macros and hopefully few prototypes,
28743 which can conflict with char $ac_func (); below.
28744 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28745 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 28746
a848cd7e
SC
28747#ifdef __STDC__
28748# include <limits.h>
28749#else
28750# include <assert.h>
28751#endif
ac1cb8d3
VS
28752
28753#undef $ac_func
28754
a848cd7e
SC
28755/* Override any gcc2 internal prototype to avoid an error. */
28756#ifdef __cplusplus
28757extern "C"
28758{
28759#endif
28760/* We use char because int might match the return type of a gcc2
28761 builtin and then its argument prototype would still apply. */
28762char $ac_func ();
28763/* The GNU C library defines this for functions which it implements
28764 to always fail with ENOSYS. Some functions are actually named
28765 something starting with __ and the normal name is an alias. */
28766#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28767choke me
28768#else
28769char (*f) () = $ac_func;
28770#endif
28771#ifdef __cplusplus
28772}
28773#endif
28774
28775int
28776main ()
28777{
28778return f != $ac_func;
28779 ;
28780 return 0;
28781}
28782_ACEOF
28783rm -f conftest.$ac_objext conftest$ac_exeext
28784if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 28785 (eval $ac_link) 2>conftest.er1
a848cd7e 28786 ac_status=$?
ac1cb8d3
VS
28787 grep -v '^ *+' conftest.er1 >conftest.err
28788 rm -f conftest.er1
28789 cat conftest.err >&5
a848cd7e
SC
28790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28791 (exit $ac_status); } &&
d1c38808 28792 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
28793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28794 (eval $ac_try) 2>&5
28795 ac_status=$?
28796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28797 (exit $ac_status); }; } &&
28798 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
28799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28800 (eval $ac_try) 2>&5
28801 ac_status=$?
28802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28803 (exit $ac_status); }; }; then
28804 eval "$as_ac_var=yes"
28805else
28806 echo "$as_me: failed program was:" >&5
28807sed 's/^/| /' conftest.$ac_ext >&5
28808
28809eval "$as_ac_var=no"
28810fi
ac1cb8d3
VS
28811rm -f conftest.err conftest.$ac_objext \
28812 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
28813fi
28814echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28815echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28816if test `eval echo '${'$as_ac_var'}'` = yes; then
28817 cat >>confdefs.h <<_ACEOF
28818#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28819_ACEOF
28820
28821fi
28822done
28823
28824else
28825 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
28826echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
28827fi
28828
28829
28830
28831ac_ext=cc
28832ac_cpp='$CXXCPP $CPPFLAGS'
28833ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28834ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28835ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28836
28837
28838
28839for ac_func in vsnprintf
28840do
28841as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28842echo "$as_me:$LINENO: checking for $ac_func" >&5
28843echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28844if eval "test \"\${$as_ac_var+set}\" = set"; then
28845 echo $ECHO_N "(cached) $ECHO_C" >&6
28846else
28847 cat >conftest.$ac_ext <<_ACEOF
28848/* confdefs.h. */
28849_ACEOF
28850cat confdefs.h >>conftest.$ac_ext
28851cat >>conftest.$ac_ext <<_ACEOF
28852/* end confdefs.h. */
ac1cb8d3
VS
28853/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28855#define $ac_func innocuous_$ac_func
28856
a848cd7e
SC
28857/* System header to define __stub macros and hopefully few prototypes,
28858 which can conflict with char $ac_func (); below.
28859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28860 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 28861
a848cd7e
SC
28862#ifdef __STDC__
28863# include <limits.h>
28864#else
28865# include <assert.h>
28866#endif
ac1cb8d3
VS
28867
28868#undef $ac_func
28869
a848cd7e
SC
28870/* Override any gcc2 internal prototype to avoid an error. */
28871#ifdef __cplusplus
28872extern "C"
28873{
28874#endif
28875/* We use char because int might match the return type of a gcc2
28876 builtin and then its argument prototype would still apply. */
28877char $ac_func ();
28878/* The GNU C library defines this for functions which it implements
28879 to always fail with ENOSYS. Some functions are actually named
28880 something starting with __ and the normal name is an alias. */
28881#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28882choke me
28883#else
28884char (*f) () = $ac_func;
28885#endif
28886#ifdef __cplusplus
28887}
28888#endif
28889
28890int
28891main ()
28892{
28893return f != $ac_func;
28894 ;
28895 return 0;
28896}
28897_ACEOF
28898rm -f conftest.$ac_objext conftest$ac_exeext
28899if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 28900 (eval $ac_link) 2>conftest.er1
a848cd7e 28901 ac_status=$?
ac1cb8d3
VS
28902 grep -v '^ *+' conftest.er1 >conftest.err
28903 rm -f conftest.er1
28904 cat conftest.err >&5
a848cd7e
SC
28905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28906 (exit $ac_status); } &&
d1c38808 28907 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
28908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28909 (eval $ac_try) 2>&5
28910 ac_status=$?
28911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28912 (exit $ac_status); }; } &&
28913 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
28914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28915 (eval $ac_try) 2>&5
28916 ac_status=$?
28917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28918 (exit $ac_status); }; }; then
28919 eval "$as_ac_var=yes"
28920else
28921 echo "$as_me: failed program was:" >&5
28922sed 's/^/| /' conftest.$ac_ext >&5
28923
28924eval "$as_ac_var=no"
28925fi
ac1cb8d3
VS
28926rm -f conftest.err conftest.$ac_objext \
28927 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
28928fi
28929echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28930echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28931if test `eval echo '${'$as_ac_var'}'` = yes; then
28932 cat >>confdefs.h <<_ACEOF
28933#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28934_ACEOF
28935
28936fi
28937done
28938
28939
28940if test "$ac_cv_func_vsnprintf" = "yes"; then
28941 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
28942echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
28943if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
28944 echo $ECHO_N "(cached) $ECHO_C" >&6
28945else
28946
28947 cat >conftest.$ac_ext <<_ACEOF
28948/* confdefs.h. */
28949_ACEOF
28950cat confdefs.h >>conftest.$ac_ext
28951cat >>conftest.$ac_ext <<_ACEOF
28952/* end confdefs.h. */
28953
28954 #include <stdio.h>
28955 #include <stdarg.h>
28956
28957int
28958main ()
28959{
28960
28961 char *buf;
28962 va_list ap;
28963 vsnprintf(buf, 10u, "%s", ap);
28964
28965 ;
28966 return 0;
28967}
28968_ACEOF
28969rm -f conftest.$ac_objext
28970if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 28971 (eval $ac_compile) 2>conftest.er1
a848cd7e 28972 ac_status=$?
ac1cb8d3
VS
28973 grep -v '^ *+' conftest.er1 >conftest.err
28974 rm -f conftest.er1
28975 cat conftest.err >&5
a848cd7e
SC
28976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28977 (exit $ac_status); } &&
d1c38808 28978 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
28979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28980 (eval $ac_try) 2>&5
28981 ac_status=$?
28982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28983 (exit $ac_status); }; } &&
28984 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
28985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28986 (eval $ac_try) 2>&5
28987 ac_status=$?
28988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28989 (exit $ac_status); }; }; then
28990 wx_cv_func_vsnprintf_decl=yes
28991else
28992 echo "$as_me: failed program was:" >&5
28993sed 's/^/| /' conftest.$ac_ext >&5
28994
28995wx_cv_func_vsnprintf_decl=no
28996
28997fi
ac1cb8d3 28998rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
28999
29000
29001fi
29002echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
29003echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
29004
29005 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29006 cat >>confdefs.h <<\_ACEOF
29007#define HAVE_VSNPRINTF_DECL 1
29008_ACEOF
29009
29010 fi
29011fi
29012
29013if test "$wxUSE_UNICODE" = yes; then
29014
29015
29016
fbe47c7b
VS
29017
29018
29019
29020for ac_func in wputc wputchar putws fputws wprintf vswprintf
a848cd7e
SC
29021do
29022as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29023echo "$as_me:$LINENO: checking for $ac_func" >&5
29024echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29025if eval "test \"\${$as_ac_var+set}\" = set"; then
29026 echo $ECHO_N "(cached) $ECHO_C" >&6
29027else
29028 cat >conftest.$ac_ext <<_ACEOF
29029/* confdefs.h. */
29030_ACEOF
29031cat confdefs.h >>conftest.$ac_ext
29032cat >>conftest.$ac_ext <<_ACEOF
29033/* end confdefs.h. */
ac1cb8d3
VS
29034/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29035 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29036#define $ac_func innocuous_$ac_func
29037
a848cd7e
SC
29038/* System header to define __stub macros and hopefully few prototypes,
29039 which can conflict with char $ac_func (); below.
29040 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29041 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 29042
a848cd7e
SC
29043#ifdef __STDC__
29044# include <limits.h>
29045#else
29046# include <assert.h>
29047#endif
ac1cb8d3
VS
29048
29049#undef $ac_func
29050
a848cd7e
SC
29051/* Override any gcc2 internal prototype to avoid an error. */
29052#ifdef __cplusplus
29053extern "C"
29054{
29055#endif
29056/* We use char because int might match the return type of a gcc2
29057 builtin and then its argument prototype would still apply. */
29058char $ac_func ();
29059/* The GNU C library defines this for functions which it implements
29060 to always fail with ENOSYS. Some functions are actually named
29061 something starting with __ and the normal name is an alias. */
29062#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29063choke me
29064#else
29065char (*f) () = $ac_func;
29066#endif
29067#ifdef __cplusplus
29068}
29069#endif
29070
29071int
29072main ()
29073{
29074return f != $ac_func;
29075 ;
29076 return 0;
29077}
29078_ACEOF
29079rm -f conftest.$ac_objext conftest$ac_exeext
29080if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 29081 (eval $ac_link) 2>conftest.er1
a848cd7e 29082 ac_status=$?
ac1cb8d3
VS
29083 grep -v '^ *+' conftest.er1 >conftest.err
29084 rm -f conftest.er1
29085 cat conftest.err >&5
a848cd7e
SC
29086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29087 (exit $ac_status); } &&
d1c38808 29088 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
29089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29090 (eval $ac_try) 2>&5
29091 ac_status=$?
29092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29093 (exit $ac_status); }; } &&
29094 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
29095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29096 (eval $ac_try) 2>&5
29097 ac_status=$?
29098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29099 (exit $ac_status); }; }; then
29100 eval "$as_ac_var=yes"
29101else
29102 echo "$as_me: failed program was:" >&5
29103sed 's/^/| /' conftest.$ac_ext >&5
29104
29105eval "$as_ac_var=no"
29106fi
ac1cb8d3
VS
29107rm -f conftest.err conftest.$ac_objext \
29108 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
29109fi
29110echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29111echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29112if test `eval echo '${'$as_ac_var'}'` = yes; then
29113 cat >>confdefs.h <<_ACEOF
29114#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29115_ACEOF
29116
29117fi
29118done
29119
29120
29121 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
29122echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
29123 cat >conftest.$ac_ext <<_ACEOF
29124/* confdefs.h. */
29125_ACEOF
29126cat confdefs.h >>conftest.$ac_ext
29127cat >>conftest.$ac_ext <<_ACEOF
29128/* end confdefs.h. */
29129#include <wchar.h>
29130int
29131main ()
29132{
29133&_vsnwprintf;
29134 ;
29135 return 0;
29136}
29137_ACEOF
29138rm -f conftest.$ac_objext
29139if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 29140 (eval $ac_compile) 2>conftest.er1
a848cd7e 29141 ac_status=$?
ac1cb8d3
VS
29142 grep -v '^ *+' conftest.er1 >conftest.err
29143 rm -f conftest.er1
29144 cat conftest.err >&5
a848cd7e
SC
29145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29146 (exit $ac_status); } &&
d1c38808 29147 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
29148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29149 (eval $ac_try) 2>&5
29150 ac_status=$?
29151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29152 (exit $ac_status); }; } &&
29153 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
29154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29155 (eval $ac_try) 2>&5
29156 ac_status=$?
29157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29158 (exit $ac_status); }; }; then
29159 echo "$as_me:$LINENO: result: yes" >&5
29160echo "${ECHO_T}yes" >&6
29161 cat >>confdefs.h <<\_ACEOF
29162#define HAVE__VSNWPRINTF 1
29163_ACEOF
29164
29165else
29166 echo "$as_me: failed program was:" >&5
29167sed 's/^/| /' conftest.$ac_ext >&5
29168
29169echo "$as_me:$LINENO: result: no" >&5
29170echo "${ECHO_T}no" >&6
29171fi
ac1cb8d3 29172rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
a848cd7e
SC
29173fi
29174
29175ac_ext=c
29176ac_cpp='$CPP $CPPFLAGS'
29177ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29178ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29179ac_compiler_gnu=$ac_cv_c_compiler_gnu
29180
29181
29182
29183
29184if test "$TOOLKIT" != "MSW"; then
29185
29186
29187
29188
29189ac_ext=cc
29190ac_cpp='$CXXCPP $CPPFLAGS'
29191ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29192ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29193ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29194
29195
29196
29197
29198# Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
29199if test "${with_libiconv_prefix+set}" = set; then
29200 withval="$with_libiconv_prefix"
29201
29202 for dir in `echo "$withval" | tr : ' '`; do
29203 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
29204 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
29205 done
29206
29207fi;
29208
29209 echo "$as_me:$LINENO: checking for iconv" >&5
29210echo $ECHO_N "checking for iconv... $ECHO_C" >&6
29211if test "${am_cv_func_iconv+set}" = set; then
29212 echo $ECHO_N "(cached) $ECHO_C" >&6
29213else
29214
29215 am_cv_func_iconv="no, consider installing GNU libiconv"
29216 am_cv_lib_iconv=no
29217 cat >conftest.$ac_ext <<_ACEOF
29218/* confdefs.h. */
29219_ACEOF
29220cat confdefs.h >>conftest.$ac_ext
29221cat >>conftest.$ac_ext <<_ACEOF
29222/* end confdefs.h. */
29223#include <stdlib.h>
29224#include <iconv.h>
29225int
29226main ()
29227{
29228iconv_t cd = iconv_open("","");
29229 iconv(cd,NULL,NULL,NULL,NULL);
29230 iconv_close(cd);
29231 ;
29232 return 0;
29233}
29234_ACEOF
29235rm -f conftest.$ac_objext conftest$ac_exeext
29236if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 29237 (eval $ac_link) 2>conftest.er1
a848cd7e 29238 ac_status=$?
ac1cb8d3
VS
29239 grep -v '^ *+' conftest.er1 >conftest.err
29240 rm -f conftest.er1
29241 cat conftest.err >&5
a848cd7e
SC
29242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29243 (exit $ac_status); } &&
d1c38808 29244 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
29245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29246 (eval $ac_try) 2>&5
29247 ac_status=$?
29248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29249 (exit $ac_status); }; } &&
29250 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
29251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29252 (eval $ac_try) 2>&5
29253 ac_status=$?
29254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29255 (exit $ac_status); }; }; then
29256 am_cv_func_iconv=yes
29257else
29258 echo "$as_me: failed program was:" >&5
29259sed 's/^/| /' conftest.$ac_ext >&5
29260
29261fi
ac1cb8d3
VS
29262rm -f conftest.err conftest.$ac_objext \
29263 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
29264 if test "$am_cv_func_iconv" != yes; then
29265 am_save_LIBS="$LIBS"
29266 LIBS="$LIBS -liconv"
29267 cat >conftest.$ac_ext <<_ACEOF
29268/* confdefs.h. */
29269_ACEOF
29270cat confdefs.h >>conftest.$ac_ext
29271cat >>conftest.$ac_ext <<_ACEOF
29272/* end confdefs.h. */
29273#include <stdlib.h>
29274#include <iconv.h>
29275int
29276main ()
29277{
29278iconv_t cd = iconv_open("","");
29279 iconv(cd,NULL,NULL,NULL,NULL);
29280 iconv_close(cd);
29281 ;
29282 return 0;
29283}
29284_ACEOF
29285rm -f conftest.$ac_objext conftest$ac_exeext
29286if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 29287 (eval $ac_link) 2>conftest.er1
a848cd7e 29288 ac_status=$?
ac1cb8d3
VS
29289 grep -v '^ *+' conftest.er1 >conftest.err
29290 rm -f conftest.er1
29291 cat conftest.err >&5
a848cd7e
SC
29292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29293 (exit $ac_status); } &&
d1c38808 29294 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
29295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29296 (eval $ac_try) 2>&5
29297 ac_status=$?
29298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29299 (exit $ac_status); }; } &&
29300 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
29301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29302 (eval $ac_try) 2>&5
29303 ac_status=$?
29304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29305 (exit $ac_status); }; }; then
29306 am_cv_lib_iconv=yes
29307 am_cv_func_iconv=yes
29308else
29309 echo "$as_me: failed program was:" >&5
29310sed 's/^/| /' conftest.$ac_ext >&5
29311
29312fi
ac1cb8d3
VS
29313rm -f conftest.err conftest.$ac_objext \
29314 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
29315 LIBS="$am_save_LIBS"
29316 fi
29317
29318fi
29319echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
29320echo "${ECHO_T}$am_cv_func_iconv" >&6
29321 if test "$am_cv_func_iconv" = yes; then
29322
29323cat >>confdefs.h <<\_ACEOF
29324#define HAVE_ICONV 1
29325_ACEOF
29326
29327 echo "$as_me:$LINENO: checking if iconv needs const" >&5
29328echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
29329if test "${wx_cv_func_iconv_const+set}" = set; then
29330 echo $ECHO_N "(cached) $ECHO_C" >&6
29331else
29332 cat >conftest.$ac_ext <<_ACEOF
29333/* confdefs.h. */
29334_ACEOF
29335cat confdefs.h >>conftest.$ac_ext
29336cat >>conftest.$ac_ext <<_ACEOF
29337/* end confdefs.h. */
29338
29339#include <stdlib.h>
29340#include <iconv.h>
29341extern
29342#ifdef __cplusplus
29343"C"
29344#endif
29345#if defined(__STDC__) || defined(__cplusplus)
29346size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29347#else
29348size_t iconv();
29349#endif
29350
29351int
29352main ()
29353{
29354
29355 ;
29356 return 0;
29357}
29358_ACEOF
29359rm -f conftest.$ac_objext
29360if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 29361 (eval $ac_compile) 2>conftest.er1
a848cd7e 29362 ac_status=$?
ac1cb8d3
VS
29363 grep -v '^ *+' conftest.er1 >conftest.err
29364 rm -f conftest.er1
29365 cat conftest.err >&5
a848cd7e
SC
29366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29367 (exit $ac_status); } &&
d1c38808 29368 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
29369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29370 (eval $ac_try) 2>&5
29371 ac_status=$?
29372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29373 (exit $ac_status); }; } &&
29374 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
29375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29376 (eval $ac_try) 2>&5
29377 ac_status=$?
29378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29379 (exit $ac_status); }; }; then
29380 wx_cv_func_iconv_const="no"
29381else
29382 echo "$as_me: failed program was:" >&5
29383sed 's/^/| /' conftest.$ac_ext >&5
29384
29385wx_cv_func_iconv_const="yes"
29386
29387fi
ac1cb8d3 29388rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
29389
29390fi
29391echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
29392echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
29393
29394 iconv_const=
29395 if test "x$wx_cv_func_iconv_const" = "xyes"; then
29396 iconv_const="const"
29397 fi
29398
29399
29400cat >>confdefs.h <<_ACEOF
29401#define ICONV_CONST $iconv_const
29402_ACEOF
29403
29404 fi
29405 LIBICONV=
29406 if test "$am_cv_lib_iconv" = yes; then
29407 LIBICONV="-liconv"
29408 fi
29409
29410
29411LIBS="$LIBICONV $LIBS"
29412ac_ext=c
29413ac_cpp='$CPP $CPPFLAGS'
29414ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29415ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29416ac_compiler_gnu=$ac_cv_c_compiler_gnu
29417
29418
29419if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
29420
29421for ac_func in sigaction
29422do
29423as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29424echo "$as_me:$LINENO: checking for $ac_func" >&5
29425echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29426if eval "test \"\${$as_ac_var+set}\" = set"; then
29427 echo $ECHO_N "(cached) $ECHO_C" >&6
29428else
29429 cat >conftest.$ac_ext <<_ACEOF
29430/* confdefs.h. */
29431_ACEOF
29432cat confdefs.h >>conftest.$ac_ext
29433cat >>conftest.$ac_ext <<_ACEOF
29434/* end confdefs.h. */
ac1cb8d3
VS
29435/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29436 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29437#define $ac_func innocuous_$ac_func
29438
a848cd7e
SC
29439/* System header to define __stub macros and hopefully few prototypes,
29440 which can conflict with char $ac_func (); below.
29441 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29442 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 29443
a848cd7e
SC
29444#ifdef __STDC__
29445# include <limits.h>
29446#else
29447# include <assert.h>
29448#endif
ac1cb8d3
VS
29449
29450#undef $ac_func
29451
a848cd7e
SC
29452/* Override any gcc2 internal prototype to avoid an error. */
29453#ifdef __cplusplus
29454extern "C"
29455{
29456#endif
29457/* We use char because int might match the return type of a gcc2
29458 builtin and then its argument prototype would still apply. */
29459char $ac_func ();
29460/* The GNU C library defines this for functions which it implements
29461 to always fail with ENOSYS. Some functions are actually named
29462 something starting with __ and the normal name is an alias. */
29463#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29464choke me
29465#else
29466char (*f) () = $ac_func;
29467#endif
29468#ifdef __cplusplus
29469}
29470#endif
29471
29472int
29473main ()
29474{
29475return f != $ac_func;
29476 ;
29477 return 0;
29478}
29479_ACEOF
29480rm -f conftest.$ac_objext conftest$ac_exeext
29481if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 29482 (eval $ac_link) 2>conftest.er1
a848cd7e 29483 ac_status=$?
ac1cb8d3
VS
29484 grep -v '^ *+' conftest.er1 >conftest.err
29485 rm -f conftest.er1
29486 cat conftest.err >&5
a848cd7e
SC
29487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29488 (exit $ac_status); } &&
d1c38808 29489 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
29490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29491 (eval $ac_try) 2>&5
29492 ac_status=$?
29493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29494 (exit $ac_status); }; } &&
29495 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
29496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29497 (eval $ac_try) 2>&5
29498 ac_status=$?
29499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29500 (exit $ac_status); }; }; then
29501 eval "$as_ac_var=yes"
29502else
29503 echo "$as_me: failed program was:" >&5
29504sed 's/^/| /' conftest.$ac_ext >&5
29505
29506eval "$as_ac_var=no"
29507fi
ac1cb8d3
VS
29508rm -f conftest.err conftest.$ac_objext \
29509 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
29510fi
29511echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29512echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29513if test `eval echo '${'$as_ac_var'}'` = yes; then
29514 cat >>confdefs.h <<_ACEOF
29515#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29516_ACEOF
29517
29518fi
29519done
29520
29521
29522 if test "$ac_cv_func_sigaction" = "no"; then
29523 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
29524echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
29525 wxUSE_ON_FATAL_EXCEPTION=no
29526 fi
29527
29528 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
29529
29530
29531 ac_ext=cc
29532ac_cpp='$CXXCPP $CPPFLAGS'
29533ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29534ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29535ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29536
29537
29538 echo "$as_me:$LINENO: checking for sa_handler type" >&5
29539echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
29540if test "${wx_cv_type_sa_handler+set}" = set; then
29541 echo $ECHO_N "(cached) $ECHO_C" >&6
29542else
29543
29544 cat >conftest.$ac_ext <<_ACEOF
29545/* confdefs.h. */
29546_ACEOF
29547cat confdefs.h >>conftest.$ac_ext
29548cat >>conftest.$ac_ext <<_ACEOF
29549/* end confdefs.h. */
29550#include <signal.h>
29551int
29552main ()
29553{
29554
29555 extern void testSigHandler(int);
29556
29557 struct sigaction sa;
29558 sa.sa_handler = testSigHandler;
29559
29560 ;
29561 return 0;
29562}
29563_ACEOF
29564rm -f conftest.$ac_objext
29565if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 29566 (eval $ac_compile) 2>conftest.er1
a848cd7e 29567 ac_status=$?
ac1cb8d3
VS
29568 grep -v '^ *+' conftest.er1 >conftest.err
29569 rm -f conftest.er1
29570 cat conftest.err >&5
a848cd7e
SC
29571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29572 (exit $ac_status); } &&
d1c38808 29573 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
29574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29575 (eval $ac_try) 2>&5
29576 ac_status=$?
29577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29578 (exit $ac_status); }; } &&
29579 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
29580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29581 (eval $ac_try) 2>&5
29582 ac_status=$?
29583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29584 (exit $ac_status); }; }; then
29585
29586 wx_cv_type_sa_handler=int
29587
29588else
29589 echo "$as_me: failed program was:" >&5
29590sed 's/^/| /' conftest.$ac_ext >&5
29591
29592
29593 wx_cv_type_sa_handler=void
29594
29595fi
ac1cb8d3 29596rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
29597
29598fi
29599echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
29600echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
29601
29602 ac_ext=c
29603ac_cpp='$CPP $CPPFLAGS'
29604ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29605ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29606ac_compiler_gnu=$ac_cv_c_compiler_gnu
29607
29608
29609 cat >>confdefs.h <<_ACEOF
29610#define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
29611_ACEOF
29612
29613 fi
29614fi
29615
29616
29617
29618for ac_func in mkstemp mktemp
29619do
29620as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29621echo "$as_me:$LINENO: checking for $ac_func" >&5
29622echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29623if eval "test \"\${$as_ac_var+set}\" = set"; then
29624 echo $ECHO_N "(cached) $ECHO_C" >&6
29625else
29626 cat >conftest.$ac_ext <<_ACEOF
29627/* confdefs.h. */
29628_ACEOF
29629cat confdefs.h >>conftest.$ac_ext
29630cat >>conftest.$ac_ext <<_ACEOF
29631/* end confdefs.h. */
ac1cb8d3
VS
29632/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29633 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29634#define $ac_func innocuous_$ac_func
29635
a848cd7e
SC
29636/* System header to define __stub macros and hopefully few prototypes,
29637 which can conflict with char $ac_func (); below.
29638 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29639 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 29640
a848cd7e
SC
29641#ifdef __STDC__
29642# include <limits.h>
29643#else
29644# include <assert.h>
29645#endif
ac1cb8d3
VS
29646
29647#undef $ac_func
29648
a848cd7e
SC
29649/* Override any gcc2 internal prototype to avoid an error. */
29650#ifdef __cplusplus
29651extern "C"
29652{
29653#endif
29654/* We use char because int might match the return type of a gcc2
29655 builtin and then its argument prototype would still apply. */
29656char $ac_func ();
29657/* The GNU C library defines this for functions which it implements
29658 to always fail with ENOSYS. Some functions are actually named
29659 something starting with __ and the normal name is an alias. */
29660#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29661choke me
29662#else
29663char (*f) () = $ac_func;
29664#endif
29665#ifdef __cplusplus
29666}
29667#endif
29668
29669int
29670main ()
29671{
29672return f != $ac_func;
29673 ;
29674 return 0;
29675}
29676_ACEOF
29677rm -f conftest.$ac_objext conftest$ac_exeext
29678if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 29679 (eval $ac_link) 2>conftest.er1
a848cd7e 29680 ac_status=$?
ac1cb8d3
VS
29681 grep -v '^ *+' conftest.er1 >conftest.err
29682 rm -f conftest.er1
29683 cat conftest.err >&5
a848cd7e
SC
29684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29685 (exit $ac_status); } &&
d1c38808 29686 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
29687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29688 (eval $ac_try) 2>&5
29689 ac_status=$?
29690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29691 (exit $ac_status); }; } &&
29692 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
29693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29694 (eval $ac_try) 2>&5
29695 ac_status=$?
29696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29697 (exit $ac_status); }; }; then
29698 eval "$as_ac_var=yes"
29699else
29700 echo "$as_me: failed program was:" >&5
29701sed 's/^/| /' conftest.$ac_ext >&5
29702
29703eval "$as_ac_var=no"
29704fi
ac1cb8d3
VS
29705rm -f conftest.err conftest.$ac_objext \
29706 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
29707fi
29708echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29709echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29710if test `eval echo '${'$as_ac_var'}'` = yes; then
29711 cat >>confdefs.h <<_ACEOF
29712#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29713_ACEOF
29714 break
29715fi
29716done
29717
29718
29719echo "$as_me:$LINENO: checking for statfs" >&5
29720echo $ECHO_N "checking for statfs... $ECHO_C" >&6
29721if test "${wx_cv_func_statfs+set}" = set; then
29722 echo $ECHO_N "(cached) $ECHO_C" >&6
29723else
29724 cat >conftest.$ac_ext <<_ACEOF
29725/* confdefs.h. */
29726_ACEOF
29727cat confdefs.h >>conftest.$ac_ext
29728cat >>conftest.$ac_ext <<_ACEOF
29729/* end confdefs.h. */
29730
29731 #if defined(__BSD__)
29732 #include <sys/param.h>
29733 #include <sys/mount.h>
29734 #else
29735 #include <sys/vfs.h>
29736 #endif
29737
29738int
29739main ()
29740{
29741
29742 long l;
29743 struct statfs fs;
29744 statfs("/", &fs);
29745 l = fs.f_bsize;
29746 l += fs.f_blocks;
29747 l += fs.f_bavail;
29748
29749 ;
29750 return 0;
29751}
29752_ACEOF
29753rm -f conftest.$ac_objext
29754if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 29755 (eval $ac_compile) 2>conftest.er1
a848cd7e 29756 ac_status=$?
ac1cb8d3
VS
29757 grep -v '^ *+' conftest.er1 >conftest.err
29758 rm -f conftest.er1
29759 cat conftest.err >&5
a848cd7e
SC
29760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29761 (exit $ac_status); } &&
d1c38808 29762 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
29763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29764 (eval $ac_try) 2>&5
29765 ac_status=$?
29766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29767 (exit $ac_status); }; } &&
29768 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
29769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29770 (eval $ac_try) 2>&5
29771 ac_status=$?
29772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29773 (exit $ac_status); }; }; then
29774
29775 wx_cv_func_statfs=yes
29776
29777else
29778 echo "$as_me: failed program was:" >&5
29779sed 's/^/| /' conftest.$ac_ext >&5
29780
29781
29782 wx_cv_func_statfs=no
29783
29784
29785fi
ac1cb8d3 29786rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
29787
29788fi
29789echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
29790echo "${ECHO_T}$wx_cv_func_statfs" >&6
29791
29792if test "$wx_cv_func_statfs" = "yes"; then
29793 wx_cv_type_statvfs_t="struct statfs"
29794 cat >>confdefs.h <<\_ACEOF
29795#define HAVE_STATFS 1
29796_ACEOF
29797
29798else
29799 echo "$as_me:$LINENO: checking for statvfs" >&5
29800echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
29801if test "${wx_cv_func_statvfs+set}" = set; then
29802 echo $ECHO_N "(cached) $ECHO_C" >&6
29803else
29804 cat >conftest.$ac_ext <<_ACEOF
29805/* confdefs.h. */
29806_ACEOF
29807cat confdefs.h >>conftest.$ac_ext
29808cat >>conftest.$ac_ext <<_ACEOF
29809/* end confdefs.h. */
29810
29811 #include <stddef.h>
29812 #include <sys/statvfs.h>
29813
29814int
29815main ()
29816{
29817
29818 statvfs("/", NULL);
29819
29820 ;
29821 return 0;
29822}
29823_ACEOF
29824rm -f conftest.$ac_objext
29825if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 29826 (eval $ac_compile) 2>conftest.er1
a848cd7e 29827 ac_status=$?
ac1cb8d3
VS
29828 grep -v '^ *+' conftest.er1 >conftest.err
29829 rm -f conftest.er1
29830 cat conftest.err >&5
a848cd7e
SC
29831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29832 (exit $ac_status); } &&
d1c38808 29833 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
29834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29835 (eval $ac_try) 2>&5
29836 ac_status=$?
29837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29838 (exit $ac_status); }; } &&
29839 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
29840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29841 (eval $ac_try) 2>&5
29842 ac_status=$?
29843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29844 (exit $ac_status); }; }; then
29845 wx_cv_func_statvfs=yes
29846else
29847 echo "$as_me: failed program was:" >&5
29848sed 's/^/| /' conftest.$ac_ext >&5
29849
29850wx_cv_func_statvfs=no
29851
29852fi
ac1cb8d3 29853rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
29854
29855fi
29856echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
29857echo "${ECHO_T}$wx_cv_func_statvfs" >&6
29858
29859 if test "$wx_cv_func_statvfs" = "yes"; then
29860
29861
29862 ac_ext=cc
29863ac_cpp='$CXXCPP $CPPFLAGS'
29864ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29865ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29866ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29867
29868
29869 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
29870echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
29871if test "${wx_cv_type_statvfs_t+set}" = set; then
29872 echo $ECHO_N "(cached) $ECHO_C" >&6
29873else
29874 cat >conftest.$ac_ext <<_ACEOF
29875/* confdefs.h. */
29876_ACEOF
29877cat confdefs.h >>conftest.$ac_ext
29878cat >>conftest.$ac_ext <<_ACEOF
29879/* end confdefs.h. */
29880
29881 #include <sys/statvfs.h>
29882
29883int
29884main ()
29885{
29886
29887 long l;
29888 statvfs_t fs;
29889 statvfs("/", &fs);
29890 l = fs.f_bsize;
29891 l += fs.f_blocks;
29892 l += fs.f_bavail;
29893
29894 ;
29895 return 0;
29896}
29897_ACEOF
29898rm -f conftest.$ac_objext
29899if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 29900 (eval $ac_compile) 2>conftest.er1
a848cd7e 29901 ac_status=$?
ac1cb8d3
VS
29902 grep -v '^ *+' conftest.er1 >conftest.err
29903 rm -f conftest.er1
29904 cat conftest.err >&5
a848cd7e
SC
29905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29906 (exit $ac_status); } &&
d1c38808 29907 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
29908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29909 (eval $ac_try) 2>&5
29910 ac_status=$?
29911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29912 (exit $ac_status); }; } &&
29913 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
29914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29915 (eval $ac_try) 2>&5
29916 ac_status=$?
29917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29918 (exit $ac_status); }; }; then
29919 wx_cv_type_statvfs_t=statvfs_t
29920else
29921 echo "$as_me: failed program was:" >&5
29922sed 's/^/| /' conftest.$ac_ext >&5
29923
29924
29925 cat >conftest.$ac_ext <<_ACEOF
29926/* confdefs.h. */
29927_ACEOF
29928cat confdefs.h >>conftest.$ac_ext
29929cat >>conftest.$ac_ext <<_ACEOF
29930/* end confdefs.h. */
29931
29932 #include <sys/statvfs.h>
29933
29934int
29935main ()
29936{
29937
29938 long l;
29939 struct statvfs fs;
29940 statvfs("/", &fs);
29941 l = fs.f_bsize;
29942 l += fs.f_blocks;
29943 l += fs.f_bavail;
29944
29945 ;
29946 return 0;
29947}
29948_ACEOF
29949rm -f conftest.$ac_objext
29950if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 29951 (eval $ac_compile) 2>conftest.er1
a848cd7e 29952 ac_status=$?
ac1cb8d3
VS
29953 grep -v '^ *+' conftest.er1 >conftest.err
29954 rm -f conftest.er1
29955 cat conftest.err >&5
a848cd7e
SC
29956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29957 (exit $ac_status); } &&
d1c38808 29958 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
29959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29960 (eval $ac_try) 2>&5
29961 ac_status=$?
29962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29963 (exit $ac_status); }; } &&
29964 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
29965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29966 (eval $ac_try) 2>&5
29967 ac_status=$?
29968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29969 (exit $ac_status); }; }; then
29970 wx_cv_type_statvfs_t="struct statvfs"
29971else
29972 echo "$as_me: failed program was:" >&5
29973sed 's/^/| /' conftest.$ac_ext >&5
29974
29975wx_cv_type_statvfs_t="unknown"
29976
29977fi
ac1cb8d3 29978rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
29979
29980
29981fi
ac1cb8d3 29982rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
29983
29984fi
29985echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
29986echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
29987
29988 ac_ext=c
29989ac_cpp='$CPP $CPPFLAGS'
29990ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29991ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29992ac_compiler_gnu=$ac_cv_c_compiler_gnu
29993
29994
29995 if test "$wx_cv_type_statvfs_t" != "unknown"; then
29996 cat >>confdefs.h <<\_ACEOF
29997#define HAVE_STATVFS 1
29998_ACEOF
29999
30000 fi
30001 else
30002 wx_cv_type_statvfs_t="unknown"
30003 fi
30004fi
30005
30006if test "$wx_cv_type_statvfs_t" != "unknown"; then
30007 cat >>confdefs.h <<_ACEOF
30008#define WX_STATFS_T $wx_cv_type_statvfs_t
30009_ACEOF
30010
30011else
30012 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30013echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30014fi
30015
30016if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30017
30018
30019for ac_func in fcntl flock
30020do
30021as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30022echo "$as_me:$LINENO: checking for $ac_func" >&5
30023echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30024if eval "test \"\${$as_ac_var+set}\" = set"; then
30025 echo $ECHO_N "(cached) $ECHO_C" >&6
30026else
30027 cat >conftest.$ac_ext <<_ACEOF
30028/* confdefs.h. */
30029_ACEOF
30030cat confdefs.h >>conftest.$ac_ext
30031cat >>conftest.$ac_ext <<_ACEOF
30032/* end confdefs.h. */
ac1cb8d3
VS
30033/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30034 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30035#define $ac_func innocuous_$ac_func
30036
a848cd7e
SC
30037/* System header to define __stub macros and hopefully few prototypes,
30038 which can conflict with char $ac_func (); below.
30039 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30040 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 30041
a848cd7e
SC
30042#ifdef __STDC__
30043# include <limits.h>
30044#else
30045# include <assert.h>
30046#endif
ac1cb8d3
VS
30047
30048#undef $ac_func
30049
a848cd7e
SC
30050/* Override any gcc2 internal prototype to avoid an error. */
30051#ifdef __cplusplus
30052extern "C"
30053{
30054#endif
30055/* We use char because int might match the return type of a gcc2
30056 builtin and then its argument prototype would still apply. */
30057char $ac_func ();
30058/* The GNU C library defines this for functions which it implements
30059 to always fail with ENOSYS. Some functions are actually named
30060 something starting with __ and the normal name is an alias. */
30061#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30062choke me
30063#else
30064char (*f) () = $ac_func;
30065#endif
30066#ifdef __cplusplus
30067}
30068#endif
30069
30070int
30071main ()
30072{
30073return f != $ac_func;
30074 ;
30075 return 0;
30076}
30077_ACEOF
30078rm -f conftest.$ac_objext conftest$ac_exeext
30079if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 30080 (eval $ac_link) 2>conftest.er1
a848cd7e 30081 ac_status=$?
ac1cb8d3
VS
30082 grep -v '^ *+' conftest.er1 >conftest.err
30083 rm -f conftest.er1
30084 cat conftest.err >&5
a848cd7e
SC
30085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30086 (exit $ac_status); } &&
d1c38808 30087 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
30088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30089 (eval $ac_try) 2>&5
30090 ac_status=$?
30091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30092 (exit $ac_status); }; } &&
30093 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
30094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30095 (eval $ac_try) 2>&5
30096 ac_status=$?
30097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30098 (exit $ac_status); }; }; then
30099 eval "$as_ac_var=yes"
30100else
30101 echo "$as_me: failed program was:" >&5
30102sed 's/^/| /' conftest.$ac_ext >&5
30103
30104eval "$as_ac_var=no"
30105fi
ac1cb8d3
VS
30106rm -f conftest.err conftest.$ac_objext \
30107 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
30108fi
30109echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30110echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30111if test `eval echo '${'$as_ac_var'}'` = yes; then
30112 cat >>confdefs.h <<_ACEOF
30113#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30114_ACEOF
30115 break
30116fi
30117done
30118
30119
30120 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30121 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
30122echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30123 wxUSE_SNGLINST_CHECKER=no
30124 fi
30125fi
30126
30127
30128for ac_func in timegm
30129do
30130as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30131echo "$as_me:$LINENO: checking for $ac_func" >&5
30132echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30133if eval "test \"\${$as_ac_var+set}\" = set"; then
30134 echo $ECHO_N "(cached) $ECHO_C" >&6
30135else
30136 cat >conftest.$ac_ext <<_ACEOF
30137/* confdefs.h. */
30138_ACEOF
30139cat confdefs.h >>conftest.$ac_ext
30140cat >>conftest.$ac_ext <<_ACEOF
30141/* end confdefs.h. */
ac1cb8d3
VS
30142/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30143 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30144#define $ac_func innocuous_$ac_func
30145
a848cd7e
SC
30146/* System header to define __stub macros and hopefully few prototypes,
30147 which can conflict with char $ac_func (); below.
30148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30149 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 30150
a848cd7e
SC
30151#ifdef __STDC__
30152# include <limits.h>
30153#else
30154# include <assert.h>
30155#endif
ac1cb8d3
VS
30156
30157#undef $ac_func
30158
a848cd7e
SC
30159/* Override any gcc2 internal prototype to avoid an error. */
30160#ifdef __cplusplus
30161extern "C"
30162{
30163#endif
30164/* We use char because int might match the return type of a gcc2
30165 builtin and then its argument prototype would still apply. */
30166char $ac_func ();
30167/* The GNU C library defines this for functions which it implements
30168 to always fail with ENOSYS. Some functions are actually named
30169 something starting with __ and the normal name is an alias. */
30170#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30171choke me
30172#else
30173char (*f) () = $ac_func;
30174#endif
30175#ifdef __cplusplus
30176}
30177#endif
30178
30179int
30180main ()
30181{
30182return f != $ac_func;
30183 ;
30184 return 0;
30185}
30186_ACEOF
30187rm -f conftest.$ac_objext conftest$ac_exeext
30188if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 30189 (eval $ac_link) 2>conftest.er1
a848cd7e 30190 ac_status=$?
ac1cb8d3
VS
30191 grep -v '^ *+' conftest.er1 >conftest.err
30192 rm -f conftest.er1
30193 cat conftest.err >&5
a848cd7e
SC
30194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30195 (exit $ac_status); } &&
d1c38808 30196 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
30197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30198 (eval $ac_try) 2>&5
30199 ac_status=$?
30200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30201 (exit $ac_status); }; } &&
30202 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
30203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30204 (eval $ac_try) 2>&5
30205 ac_status=$?
30206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30207 (exit $ac_status); }; }; then
30208 eval "$as_ac_var=yes"
30209else
30210 echo "$as_me: failed program was:" >&5
30211sed 's/^/| /' conftest.$ac_ext >&5
30212
30213eval "$as_ac_var=no"
30214fi
ac1cb8d3
VS
30215rm -f conftest.err conftest.$ac_objext \
30216 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
30217fi
30218echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30219echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30220if test `eval echo '${'$as_ac_var'}'` = yes; then
30221 cat >>confdefs.h <<_ACEOF
30222#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30223_ACEOF
30224
30225fi
30226done
30227
30228
30229
30230
30231for ac_func in putenv setenv
30232do
30233as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30234echo "$as_me:$LINENO: checking for $ac_func" >&5
30235echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30236if eval "test \"\${$as_ac_var+set}\" = set"; then
30237 echo $ECHO_N "(cached) $ECHO_C" >&6
30238else
30239 cat >conftest.$ac_ext <<_ACEOF
30240/* confdefs.h. */
30241_ACEOF
30242cat confdefs.h >>conftest.$ac_ext
30243cat >>conftest.$ac_ext <<_ACEOF
30244/* end confdefs.h. */
ac1cb8d3
VS
30245/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30246 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30247#define $ac_func innocuous_$ac_func
30248
a848cd7e
SC
30249/* System header to define __stub macros and hopefully few prototypes,
30250 which can conflict with char $ac_func (); below.
30251 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30252 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 30253
a848cd7e
SC
30254#ifdef __STDC__
30255# include <limits.h>
30256#else
30257# include <assert.h>
30258#endif
ac1cb8d3
VS
30259
30260#undef $ac_func
30261
a848cd7e
SC
30262/* Override any gcc2 internal prototype to avoid an error. */
30263#ifdef __cplusplus
30264extern "C"
30265{
30266#endif
30267/* We use char because int might match the return type of a gcc2
30268 builtin and then its argument prototype would still apply. */
30269char $ac_func ();
30270/* The GNU C library defines this for functions which it implements
30271 to always fail with ENOSYS. Some functions are actually named
30272 something starting with __ and the normal name is an alias. */
30273#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30274choke me
30275#else
30276char (*f) () = $ac_func;
30277#endif
30278#ifdef __cplusplus
30279}
30280#endif
30281
30282int
30283main ()
30284{
30285return f != $ac_func;
30286 ;
30287 return 0;
30288}
30289_ACEOF
30290rm -f conftest.$ac_objext conftest$ac_exeext
30291if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 30292 (eval $ac_link) 2>conftest.er1
a848cd7e 30293 ac_status=$?
ac1cb8d3
VS
30294 grep -v '^ *+' conftest.er1 >conftest.err
30295 rm -f conftest.er1
30296 cat conftest.err >&5
a848cd7e
SC
30297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30298 (exit $ac_status); } &&
d1c38808 30299 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
30300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30301 (eval $ac_try) 2>&5
30302 ac_status=$?
30303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30304 (exit $ac_status); }; } &&
30305 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
30306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30307 (eval $ac_try) 2>&5
30308 ac_status=$?
30309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30310 (exit $ac_status); }; }; then
30311 eval "$as_ac_var=yes"
30312else
30313 echo "$as_me: failed program was:" >&5
30314sed 's/^/| /' conftest.$ac_ext >&5
30315
30316eval "$as_ac_var=no"
30317fi
ac1cb8d3
VS
30318rm -f conftest.err conftest.$ac_objext \
30319 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
30320fi
30321echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30322echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30323if test `eval echo '${'$as_ac_var'}'` = yes; then
30324 cat >>confdefs.h <<_ACEOF
30325#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30326_ACEOF
30327 break
30328fi
30329done
30330
30331
30332HAVE_SOME_SLEEP_FUNC=0
30333if test "$USE_BEOS" = 1; then
30334 cat >>confdefs.h <<\_ACEOF
30335#define HAVE_SLEEP 1
30336_ACEOF
30337
30338 HAVE_SOME_SLEEP_FUNC=1
30339fi
30340
30341if test "$USE_DARWIN" = 1; then
30342 cat >>confdefs.h <<\_ACEOF
30343#define HAVE_USLEEP 1
30344_ACEOF
30345
30346 HAVE_SOME_SLEEP_FUNC=1
30347fi
30348
30349if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30350 POSIX4_LINK=
30351
30352for ac_func in nanosleep
30353do
30354as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30355echo "$as_me:$LINENO: checking for $ac_func" >&5
30356echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30357if eval "test \"\${$as_ac_var+set}\" = set"; then
30358 echo $ECHO_N "(cached) $ECHO_C" >&6
30359else
30360 cat >conftest.$ac_ext <<_ACEOF
30361/* confdefs.h. */
30362_ACEOF
30363cat confdefs.h >>conftest.$ac_ext
30364cat >>conftest.$ac_ext <<_ACEOF
30365/* end confdefs.h. */
ac1cb8d3
VS
30366/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30367 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30368#define $ac_func innocuous_$ac_func
30369
a848cd7e
SC
30370/* System header to define __stub macros and hopefully few prototypes,
30371 which can conflict with char $ac_func (); below.
30372 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30373 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 30374
a848cd7e
SC
30375#ifdef __STDC__
30376# include <limits.h>
30377#else
30378# include <assert.h>
30379#endif
ac1cb8d3
VS
30380
30381#undef $ac_func
30382
a848cd7e
SC
30383/* Override any gcc2 internal prototype to avoid an error. */
30384#ifdef __cplusplus
30385extern "C"
30386{
30387#endif
30388/* We use char because int might match the return type of a gcc2
30389 builtin and then its argument prototype would still apply. */
30390char $ac_func ();
30391/* The GNU C library defines this for functions which it implements
30392 to always fail with ENOSYS. Some functions are actually named
30393 something starting with __ and the normal name is an alias. */
30394#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30395choke me
30396#else
30397char (*f) () = $ac_func;
30398#endif
30399#ifdef __cplusplus
30400}
30401#endif
30402
30403int
30404main ()
30405{
30406return f != $ac_func;
30407 ;
30408 return 0;
30409}
30410_ACEOF
30411rm -f conftest.$ac_objext conftest$ac_exeext
30412if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 30413 (eval $ac_link) 2>conftest.er1
a848cd7e 30414 ac_status=$?
ac1cb8d3
VS
30415 grep -v '^ *+' conftest.er1 >conftest.err
30416 rm -f conftest.er1
30417 cat conftest.err >&5
a848cd7e
SC
30418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30419 (exit $ac_status); } &&
d1c38808 30420 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
30421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30422 (eval $ac_try) 2>&5
30423 ac_status=$?
30424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30425 (exit $ac_status); }; } &&
30426 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
30427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30428 (eval $ac_try) 2>&5
30429 ac_status=$?
30430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30431 (exit $ac_status); }; }; then
30432 eval "$as_ac_var=yes"
30433else
30434 echo "$as_me: failed program was:" >&5
30435sed 's/^/| /' conftest.$ac_ext >&5
30436
30437eval "$as_ac_var=no"
30438fi
ac1cb8d3
VS
30439rm -f conftest.err conftest.$ac_objext \
30440 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
30441fi
30442echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30443echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30444if test `eval echo '${'$as_ac_var'}'` = yes; then
30445 cat >>confdefs.h <<_ACEOF
30446#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30447_ACEOF
30448 cat >>confdefs.h <<\_ACEOF
30449#define HAVE_NANOSLEEP 1
30450_ACEOF
30451
30452else
30453
30454 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
30455echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
30456if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
30457 echo $ECHO_N "(cached) $ECHO_C" >&6
30458else
30459 ac_check_lib_save_LIBS=$LIBS
30460LIBS="-lposix4 $LIBS"
30461cat >conftest.$ac_ext <<_ACEOF
30462/* confdefs.h. */
30463_ACEOF
30464cat confdefs.h >>conftest.$ac_ext
30465cat >>conftest.$ac_ext <<_ACEOF
30466/* end confdefs.h. */
30467
30468/* Override any gcc2 internal prototype to avoid an error. */
30469#ifdef __cplusplus
30470extern "C"
30471#endif
30472/* We use char because int might match the return type of a gcc2
30473 builtin and then its argument prototype would still apply. */
30474char nanosleep ();
30475int
30476main ()
30477{
30478nanosleep ();
30479 ;
30480 return 0;
30481}
30482_ACEOF
30483rm -f conftest.$ac_objext conftest$ac_exeext
30484if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 30485 (eval $ac_link) 2>conftest.er1
a848cd7e 30486 ac_status=$?
ac1cb8d3
VS
30487 grep -v '^ *+' conftest.er1 >conftest.err
30488 rm -f conftest.er1
30489 cat conftest.err >&5
a848cd7e
SC
30490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30491 (exit $ac_status); } &&
d1c38808 30492 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
30493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30494 (eval $ac_try) 2>&5
30495 ac_status=$?
30496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30497 (exit $ac_status); }; } &&
30498 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
30499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30500 (eval $ac_try) 2>&5
30501 ac_status=$?
30502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30503 (exit $ac_status); }; }; then
30504 ac_cv_lib_posix4_nanosleep=yes
30505else
30506 echo "$as_me: failed program was:" >&5
30507sed 's/^/| /' conftest.$ac_ext >&5
30508
30509ac_cv_lib_posix4_nanosleep=no
30510fi
ac1cb8d3
VS
30511rm -f conftest.err conftest.$ac_objext \
30512 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
30513LIBS=$ac_check_lib_save_LIBS
30514fi
30515echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
30516echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
30517if test $ac_cv_lib_posix4_nanosleep = yes; then
30518
30519 cat >>confdefs.h <<\_ACEOF
30520#define HAVE_NANOSLEEP 1
30521_ACEOF
30522
30523 POSIX4_LINK=" -lposix4"
30524
30525else
30526
30527
30528for ac_func in usleep
30529do
30530as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30531echo "$as_me:$LINENO: checking for $ac_func" >&5
30532echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30533if eval "test \"\${$as_ac_var+set}\" = set"; then
30534 echo $ECHO_N "(cached) $ECHO_C" >&6
30535else
30536 cat >conftest.$ac_ext <<_ACEOF
30537/* confdefs.h. */
30538_ACEOF
30539cat confdefs.h >>conftest.$ac_ext
30540cat >>conftest.$ac_ext <<_ACEOF
30541/* end confdefs.h. */
ac1cb8d3
VS
30542/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30543 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30544#define $ac_func innocuous_$ac_func
30545
a848cd7e
SC
30546/* System header to define __stub macros and hopefully few prototypes,
30547 which can conflict with char $ac_func (); below.
30548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30549 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 30550
a848cd7e
SC
30551#ifdef __STDC__
30552# include <limits.h>
30553#else
30554# include <assert.h>
30555#endif
ac1cb8d3
VS
30556
30557#undef $ac_func
30558
a848cd7e
SC
30559/* Override any gcc2 internal prototype to avoid an error. */
30560#ifdef __cplusplus
30561extern "C"
30562{
30563#endif
30564/* We use char because int might match the return type of a gcc2
30565 builtin and then its argument prototype would still apply. */
30566char $ac_func ();
30567/* The GNU C library defines this for functions which it implements
30568 to always fail with ENOSYS. Some functions are actually named
30569 something starting with __ and the normal name is an alias. */
30570#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30571choke me
30572#else
30573char (*f) () = $ac_func;
30574#endif
30575#ifdef __cplusplus
30576}
30577#endif
30578
30579int
30580main ()
30581{
30582return f != $ac_func;
30583 ;
30584 return 0;
30585}
30586_ACEOF
30587rm -f conftest.$ac_objext conftest$ac_exeext
30588if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 30589 (eval $ac_link) 2>conftest.er1
a848cd7e 30590 ac_status=$?
ac1cb8d3
VS
30591 grep -v '^ *+' conftest.er1 >conftest.err
30592 rm -f conftest.er1
30593 cat conftest.err >&5
a848cd7e
SC
30594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30595 (exit $ac_status); } &&
d1c38808 30596 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
30597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30598 (eval $ac_try) 2>&5
30599 ac_status=$?
30600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30601 (exit $ac_status); }; } &&
30602 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
30603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30604 (eval $ac_try) 2>&5
30605 ac_status=$?
30606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30607 (exit $ac_status); }; }; then
30608 eval "$as_ac_var=yes"
30609else
30610 echo "$as_me: failed program was:" >&5
30611sed 's/^/| /' conftest.$ac_ext >&5
30612
30613eval "$as_ac_var=no"
30614fi
ac1cb8d3
VS
30615rm -f conftest.err conftest.$ac_objext \
30616 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
30617fi
30618echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30619echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30620if test `eval echo '${'$as_ac_var'}'` = yes; then
30621 cat >>confdefs.h <<_ACEOF
30622#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30623_ACEOF
30624 cat >>confdefs.h <<\_ACEOF
30625#define HAVE_USLEEP 1
30626_ACEOF
30627
30628else
30629 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
30630echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
30631
30632fi
30633done
30634
30635
30636
30637fi
30638
30639
30640
30641fi
30642done
30643
30644fi
30645
30646
30647
30648for ac_func in uname gethostname
30649do
30650as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30651echo "$as_me:$LINENO: checking for $ac_func" >&5
30652echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30653if eval "test \"\${$as_ac_var+set}\" = set"; then
30654 echo $ECHO_N "(cached) $ECHO_C" >&6
30655else
30656 cat >conftest.$ac_ext <<_ACEOF
30657/* confdefs.h. */
30658_ACEOF
30659cat confdefs.h >>conftest.$ac_ext
30660cat >>conftest.$ac_ext <<_ACEOF
30661/* end confdefs.h. */
ac1cb8d3
VS
30662/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30663 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30664#define $ac_func innocuous_$ac_func
30665
a848cd7e
SC
30666/* System header to define __stub macros and hopefully few prototypes,
30667 which can conflict with char $ac_func (); below.
30668 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30669 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 30670
a848cd7e
SC
30671#ifdef __STDC__
30672# include <limits.h>
30673#else
30674# include <assert.h>
30675#endif
ac1cb8d3
VS
30676
30677#undef $ac_func
30678
a848cd7e
SC
30679/* Override any gcc2 internal prototype to avoid an error. */
30680#ifdef __cplusplus
30681extern "C"
30682{
30683#endif
30684/* We use char because int might match the return type of a gcc2
30685 builtin and then its argument prototype would still apply. */
30686char $ac_func ();
30687/* The GNU C library defines this for functions which it implements
30688 to always fail with ENOSYS. Some functions are actually named
30689 something starting with __ and the normal name is an alias. */
30690#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30691choke me
30692#else
30693char (*f) () = $ac_func;
30694#endif
30695#ifdef __cplusplus
30696}
30697#endif
30698
30699int
30700main ()
30701{
30702return f != $ac_func;
30703 ;
30704 return 0;
30705}
30706_ACEOF
30707rm -f conftest.$ac_objext conftest$ac_exeext
30708if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 30709 (eval $ac_link) 2>conftest.er1
a848cd7e 30710 ac_status=$?
ac1cb8d3
VS
30711 grep -v '^ *+' conftest.er1 >conftest.err
30712 rm -f conftest.er1
30713 cat conftest.err >&5
a848cd7e
SC
30714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30715 (exit $ac_status); } &&
d1c38808 30716 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
30717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30718 (eval $ac_try) 2>&5
30719 ac_status=$?
30720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30721 (exit $ac_status); }; } &&
30722 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
30723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30724 (eval $ac_try) 2>&5
30725 ac_status=$?
30726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30727 (exit $ac_status); }; }; then
30728 eval "$as_ac_var=yes"
30729else
30730 echo "$as_me: failed program was:" >&5
30731sed 's/^/| /' conftest.$ac_ext >&5
30732
30733eval "$as_ac_var=no"
30734fi
ac1cb8d3
VS
30735rm -f conftest.err conftest.$ac_objext \
30736 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
30737fi
30738echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30739echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30740if test `eval echo '${'$as_ac_var'}'` = yes; then
30741 cat >>confdefs.h <<_ACEOF
30742#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30743_ACEOF
30744 break
30745fi
30746done
30747
30748
30749
30750
30751ac_ext=cc
30752ac_cpp='$CXXCPP $CPPFLAGS'
30753ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30754ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30755ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30756
30757
30758
30759for ac_func in strtok_r
30760do
30761as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30762echo "$as_me:$LINENO: checking for $ac_func" >&5
30763echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30764if eval "test \"\${$as_ac_var+set}\" = set"; then
30765 echo $ECHO_N "(cached) $ECHO_C" >&6
30766else
30767 cat >conftest.$ac_ext <<_ACEOF
30768/* confdefs.h. */
30769_ACEOF
30770cat confdefs.h >>conftest.$ac_ext
30771cat >>conftest.$ac_ext <<_ACEOF
30772/* end confdefs.h. */
ac1cb8d3
VS
30773/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30774 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30775#define $ac_func innocuous_$ac_func
30776
a848cd7e
SC
30777/* System header to define __stub macros and hopefully few prototypes,
30778 which can conflict with char $ac_func (); below.
30779 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30780 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 30781
a848cd7e
SC
30782#ifdef __STDC__
30783# include <limits.h>
30784#else
30785# include <assert.h>
30786#endif
ac1cb8d3
VS
30787
30788#undef $ac_func
30789
a848cd7e
SC
30790/* Override any gcc2 internal prototype to avoid an error. */
30791#ifdef __cplusplus
30792extern "C"
30793{
30794#endif
30795/* We use char because int might match the return type of a gcc2
30796 builtin and then its argument prototype would still apply. */
30797char $ac_func ();
30798/* The GNU C library defines this for functions which it implements
30799 to always fail with ENOSYS. Some functions are actually named
30800 something starting with __ and the normal name is an alias. */
30801#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30802choke me
30803#else
30804char (*f) () = $ac_func;
30805#endif
30806#ifdef __cplusplus
30807}
30808#endif
30809
30810int
30811main ()
30812{
30813return f != $ac_func;
30814 ;
30815 return 0;
30816}
30817_ACEOF
30818rm -f conftest.$ac_objext conftest$ac_exeext
30819if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 30820 (eval $ac_link) 2>conftest.er1
a848cd7e 30821 ac_status=$?
ac1cb8d3
VS
30822 grep -v '^ *+' conftest.er1 >conftest.err
30823 rm -f conftest.er1
30824 cat conftest.err >&5
a848cd7e
SC
30825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30826 (exit $ac_status); } &&
d1c38808 30827 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
30828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30829 (eval $ac_try) 2>&5
30830 ac_status=$?
30831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30832 (exit $ac_status); }; } &&
30833 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
30834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30835 (eval $ac_try) 2>&5
30836 ac_status=$?
30837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30838 (exit $ac_status); }; }; then
30839 eval "$as_ac_var=yes"
30840else
30841 echo "$as_me: failed program was:" >&5
30842sed 's/^/| /' conftest.$ac_ext >&5
30843
30844eval "$as_ac_var=no"
30845fi
ac1cb8d3
VS
30846rm -f conftest.err conftest.$ac_objext \
30847 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
30848fi
30849echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30850echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30851if test `eval echo '${'$as_ac_var'}'` = yes; then
30852 cat >>confdefs.h <<_ACEOF
30853#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30854_ACEOF
30855
30856fi
30857done
30858
30859
30860ac_ext=c
30861ac_cpp='$CPP $CPPFLAGS'
30862ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30863ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30864ac_compiler_gnu=$ac_cv_c_compiler_gnu
30865
30866
30867INET_LINK=
30868
30869for ac_func in inet_addr
30870do
30871as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30872echo "$as_me:$LINENO: checking for $ac_func" >&5
30873echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30874if eval "test \"\${$as_ac_var+set}\" = set"; then
30875 echo $ECHO_N "(cached) $ECHO_C" >&6
30876else
30877 cat >conftest.$ac_ext <<_ACEOF
30878/* confdefs.h. */
30879_ACEOF
30880cat confdefs.h >>conftest.$ac_ext
30881cat >>conftest.$ac_ext <<_ACEOF
30882/* end confdefs.h. */
ac1cb8d3
VS
30883/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30884 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30885#define $ac_func innocuous_$ac_func
30886
a848cd7e
SC
30887/* System header to define __stub macros and hopefully few prototypes,
30888 which can conflict with char $ac_func (); below.
30889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30890 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 30891
a848cd7e
SC
30892#ifdef __STDC__
30893# include <limits.h>
30894#else
30895# include <assert.h>
30896#endif
ac1cb8d3
VS
30897
30898#undef $ac_func
30899
a848cd7e
SC
30900/* Override any gcc2 internal prototype to avoid an error. */
30901#ifdef __cplusplus
30902extern "C"
30903{
30904#endif
30905/* We use char because int might match the return type of a gcc2
30906 builtin and then its argument prototype would still apply. */
30907char $ac_func ();
30908/* The GNU C library defines this for functions which it implements
30909 to always fail with ENOSYS. Some functions are actually named
30910 something starting with __ and the normal name is an alias. */
30911#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30912choke me
30913#else
30914char (*f) () = $ac_func;
30915#endif
30916#ifdef __cplusplus
30917}
30918#endif
30919
30920int
30921main ()
30922{
30923return f != $ac_func;
30924 ;
30925 return 0;
30926}
30927_ACEOF
30928rm -f conftest.$ac_objext conftest$ac_exeext
30929if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 30930 (eval $ac_link) 2>conftest.er1
a848cd7e 30931 ac_status=$?
ac1cb8d3
VS
30932 grep -v '^ *+' conftest.er1 >conftest.err
30933 rm -f conftest.er1
30934 cat conftest.err >&5
a848cd7e
SC
30935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30936 (exit $ac_status); } &&
d1c38808 30937 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
30938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30939 (eval $ac_try) 2>&5
30940 ac_status=$?
30941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30942 (exit $ac_status); }; } &&
30943 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
30944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30945 (eval $ac_try) 2>&5
30946 ac_status=$?
30947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30948 (exit $ac_status); }; }; then
30949 eval "$as_ac_var=yes"
30950else
30951 echo "$as_me: failed program was:" >&5
30952sed 's/^/| /' conftest.$ac_ext >&5
30953
30954eval "$as_ac_var=no"
30955fi
ac1cb8d3
VS
30956rm -f conftest.err conftest.$ac_objext \
30957 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
30958fi
30959echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30960echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30961if test `eval echo '${'$as_ac_var'}'` = yes; then
30962 cat >>confdefs.h <<_ACEOF
30963#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30964_ACEOF
30965 cat >>confdefs.h <<\_ACEOF
30966#define HAVE_INET_ADDR 1
30967_ACEOF
30968
30969else
30970
30971 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
30972echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
30973if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
30974 echo $ECHO_N "(cached) $ECHO_C" >&6
30975else
30976 ac_check_lib_save_LIBS=$LIBS
30977LIBS="-lnsl $LIBS"
30978cat >conftest.$ac_ext <<_ACEOF
30979/* confdefs.h. */
30980_ACEOF
30981cat confdefs.h >>conftest.$ac_ext
30982cat >>conftest.$ac_ext <<_ACEOF
30983/* end confdefs.h. */
30984
30985/* Override any gcc2 internal prototype to avoid an error. */
30986#ifdef __cplusplus
30987extern "C"
30988#endif
30989/* We use char because int might match the return type of a gcc2
30990 builtin and then its argument prototype would still apply. */
30991char inet_addr ();
30992int
30993main ()
30994{
30995inet_addr ();
30996 ;
30997 return 0;
30998}
30999_ACEOF
31000rm -f conftest.$ac_objext conftest$ac_exeext
31001if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 31002 (eval $ac_link) 2>conftest.er1
a848cd7e 31003 ac_status=$?
ac1cb8d3
VS
31004 grep -v '^ *+' conftest.er1 >conftest.err
31005 rm -f conftest.er1
31006 cat conftest.err >&5
a848cd7e
SC
31007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31008 (exit $ac_status); } &&
d1c38808 31009 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
31010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31011 (eval $ac_try) 2>&5
31012 ac_status=$?
31013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31014 (exit $ac_status); }; } &&
31015 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
31016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31017 (eval $ac_try) 2>&5
31018 ac_status=$?
31019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31020 (exit $ac_status); }; }; then
31021 ac_cv_lib_nsl_inet_addr=yes
31022else
31023 echo "$as_me: failed program was:" >&5
31024sed 's/^/| /' conftest.$ac_ext >&5
31025
31026ac_cv_lib_nsl_inet_addr=no
31027fi
ac1cb8d3
VS
31028rm -f conftest.err conftest.$ac_objext \
31029 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
31030LIBS=$ac_check_lib_save_LIBS
31031fi
31032echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
31033echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
31034if test $ac_cv_lib_nsl_inet_addr = yes; then
31035 INET_LINK="nsl"
31036else
31037
31038 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
31039echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
31040if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
31041 echo $ECHO_N "(cached) $ECHO_C" >&6
31042else
31043 ac_check_lib_save_LIBS=$LIBS
31044LIBS="-lresolv $LIBS"
31045cat >conftest.$ac_ext <<_ACEOF
31046/* confdefs.h. */
31047_ACEOF
31048cat confdefs.h >>conftest.$ac_ext
31049cat >>conftest.$ac_ext <<_ACEOF
31050/* end confdefs.h. */
31051
31052/* Override any gcc2 internal prototype to avoid an error. */
31053#ifdef __cplusplus
31054extern "C"
31055#endif
31056/* We use char because int might match the return type of a gcc2
31057 builtin and then its argument prototype would still apply. */
31058char inet_addr ();
31059int
31060main ()
31061{
31062inet_addr ();
31063 ;
31064 return 0;
31065}
31066_ACEOF
31067rm -f conftest.$ac_objext conftest$ac_exeext
31068if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 31069 (eval $ac_link) 2>conftest.er1
a848cd7e 31070 ac_status=$?
ac1cb8d3
VS
31071 grep -v '^ *+' conftest.er1 >conftest.err
31072 rm -f conftest.er1
31073 cat conftest.err >&5
a848cd7e
SC
31074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31075 (exit $ac_status); } &&
d1c38808 31076 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
31077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31078 (eval $ac_try) 2>&5
31079 ac_status=$?
31080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31081 (exit $ac_status); }; } &&
31082 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
31083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31084 (eval $ac_try) 2>&5
31085 ac_status=$?
31086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31087 (exit $ac_status); }; }; then
31088 ac_cv_lib_resolv_inet_addr=yes
31089else
31090 echo "$as_me: failed program was:" >&5
31091sed 's/^/| /' conftest.$ac_ext >&5
31092
31093ac_cv_lib_resolv_inet_addr=no
31094fi
ac1cb8d3
VS
31095rm -f conftest.err conftest.$ac_objext \
31096 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
31097LIBS=$ac_check_lib_save_LIBS
31098fi
31099echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
31100echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
31101if test $ac_cv_lib_resolv_inet_addr = yes; then
31102 INET_LINK="resolv"
31103else
31104
31105 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
31106echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
31107if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
31108 echo $ECHO_N "(cached) $ECHO_C" >&6
31109else
31110 ac_check_lib_save_LIBS=$LIBS
31111LIBS="-lsocket $LIBS"
31112cat >conftest.$ac_ext <<_ACEOF
31113/* confdefs.h. */
31114_ACEOF
31115cat confdefs.h >>conftest.$ac_ext
31116cat >>conftest.$ac_ext <<_ACEOF
31117/* end confdefs.h. */
31118
31119/* Override any gcc2 internal prototype to avoid an error. */
31120#ifdef __cplusplus
31121extern "C"
31122#endif
31123/* We use char because int might match the return type of a gcc2
31124 builtin and then its argument prototype would still apply. */
31125char inet_addr ();
31126int
31127main ()
31128{
31129inet_addr ();
31130 ;
31131 return 0;
31132}
31133_ACEOF
31134rm -f conftest.$ac_objext conftest$ac_exeext
31135if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 31136 (eval $ac_link) 2>conftest.er1
a848cd7e 31137 ac_status=$?
ac1cb8d3
VS
31138 grep -v '^ *+' conftest.er1 >conftest.err
31139 rm -f conftest.er1
31140 cat conftest.err >&5
a848cd7e
SC
31141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31142 (exit $ac_status); } &&
d1c38808 31143 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
31144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31145 (eval $ac_try) 2>&5
31146 ac_status=$?
31147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31148 (exit $ac_status); }; } &&
31149 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
31150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31151 (eval $ac_try) 2>&5
31152 ac_status=$?
31153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31154 (exit $ac_status); }; }; then
31155 ac_cv_lib_socket_inet_addr=yes
31156else
31157 echo "$as_me: failed program was:" >&5
31158sed 's/^/| /' conftest.$ac_ext >&5
31159
31160ac_cv_lib_socket_inet_addr=no
31161fi
ac1cb8d3
VS
31162rm -f conftest.err conftest.$ac_objext \
31163 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
31164LIBS=$ac_check_lib_save_LIBS
31165fi
31166echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
31167echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
31168if test $ac_cv_lib_socket_inet_addr = yes; then
31169 INET_LINK="socket"
31170
31171fi
31172
31173
31174
31175fi
31176
31177
31178
31179fi
31180
31181
31182
31183fi
31184done
31185
31186
31187
31188for ac_func in inet_aton
31189do
31190as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31191echo "$as_me:$LINENO: checking for $ac_func" >&5
31192echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31193if eval "test \"\${$as_ac_var+set}\" = set"; then
31194 echo $ECHO_N "(cached) $ECHO_C" >&6
31195else
31196 cat >conftest.$ac_ext <<_ACEOF
31197/* confdefs.h. */
31198_ACEOF
31199cat confdefs.h >>conftest.$ac_ext
31200cat >>conftest.$ac_ext <<_ACEOF
31201/* end confdefs.h. */
ac1cb8d3
VS
31202/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31204#define $ac_func innocuous_$ac_func
31205
a848cd7e
SC
31206/* System header to define __stub macros and hopefully few prototypes,
31207 which can conflict with char $ac_func (); below.
31208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31209 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 31210
a848cd7e
SC
31211#ifdef __STDC__
31212# include <limits.h>
31213#else
31214# include <assert.h>
31215#endif
ac1cb8d3
VS
31216
31217#undef $ac_func
31218
a848cd7e
SC
31219/* Override any gcc2 internal prototype to avoid an error. */
31220#ifdef __cplusplus
31221extern "C"
31222{
31223#endif
31224/* We use char because int might match the return type of a gcc2
31225 builtin and then its argument prototype would still apply. */
31226char $ac_func ();
31227/* The GNU C library defines this for functions which it implements
31228 to always fail with ENOSYS. Some functions are actually named
31229 something starting with __ and the normal name is an alias. */
31230#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31231choke me
31232#else
31233char (*f) () = $ac_func;
31234#endif
31235#ifdef __cplusplus
31236}
31237#endif
31238
31239int
31240main ()
31241{
31242return f != $ac_func;
31243 ;
31244 return 0;
31245}
31246_ACEOF
31247rm -f conftest.$ac_objext conftest$ac_exeext
31248if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 31249 (eval $ac_link) 2>conftest.er1
a848cd7e 31250 ac_status=$?
ac1cb8d3
VS
31251 grep -v '^ *+' conftest.er1 >conftest.err
31252 rm -f conftest.er1
31253 cat conftest.err >&5
a848cd7e
SC
31254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31255 (exit $ac_status); } &&
d1c38808 31256 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
31257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31258 (eval $ac_try) 2>&5
31259 ac_status=$?
31260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31261 (exit $ac_status); }; } &&
31262 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
31263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31264 (eval $ac_try) 2>&5
31265 ac_status=$?
31266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31267 (exit $ac_status); }; }; then
31268 eval "$as_ac_var=yes"
31269else
31270 echo "$as_me: failed program was:" >&5
31271sed 's/^/| /' conftest.$ac_ext >&5
31272
31273eval "$as_ac_var=no"
31274fi
ac1cb8d3
VS
31275rm -f conftest.err conftest.$ac_objext \
31276 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
31277fi
31278echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31279echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31280if test `eval echo '${'$as_ac_var'}'` = yes; then
31281 cat >>confdefs.h <<_ACEOF
31282#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31283_ACEOF
31284 cat >>confdefs.h <<\_ACEOF
31285#define HAVE_INET_ATON 1
31286_ACEOF
31287
31288else
31289
31290 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31291echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
31292echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
31293if eval "test \"\${$as_ac_Lib+set}\" = set"; then
31294 echo $ECHO_N "(cached) $ECHO_C" >&6
31295else
31296 ac_check_lib_save_LIBS=$LIBS
31297LIBS="-l$INET_LINK $LIBS"
31298cat >conftest.$ac_ext <<_ACEOF
31299/* confdefs.h. */
31300_ACEOF
31301cat confdefs.h >>conftest.$ac_ext
31302cat >>conftest.$ac_ext <<_ACEOF
31303/* end confdefs.h. */
31304
31305/* Override any gcc2 internal prototype to avoid an error. */
31306#ifdef __cplusplus
31307extern "C"
31308#endif
31309/* We use char because int might match the return type of a gcc2
31310 builtin and then its argument prototype would still apply. */
31311char inet_aton ();
31312int
31313main ()
31314{
31315inet_aton ();
31316 ;
31317 return 0;
31318}
31319_ACEOF
31320rm -f conftest.$ac_objext conftest$ac_exeext
31321if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 31322 (eval $ac_link) 2>conftest.er1
a848cd7e 31323 ac_status=$?
ac1cb8d3
VS
31324 grep -v '^ *+' conftest.er1 >conftest.err
31325 rm -f conftest.er1
31326 cat conftest.err >&5
a848cd7e
SC
31327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31328 (exit $ac_status); } &&
d1c38808 31329 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
31330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31331 (eval $ac_try) 2>&5
31332 ac_status=$?
31333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31334 (exit $ac_status); }; } &&
31335 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
31336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31337 (eval $ac_try) 2>&5
31338 ac_status=$?
31339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31340 (exit $ac_status); }; }; then
31341 eval "$as_ac_Lib=yes"
31342else
31343 echo "$as_me: failed program was:" >&5
31344sed 's/^/| /' conftest.$ac_ext >&5
31345
31346eval "$as_ac_Lib=no"
31347fi
ac1cb8d3
VS
31348rm -f conftest.err conftest.$ac_objext \
31349 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
31350LIBS=$ac_check_lib_save_LIBS
31351fi
31352echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
31353echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
31354if test `eval echo '${'$as_ac_Lib'}'` = yes; then
31355 cat >>confdefs.h <<\_ACEOF
31356#define HAVE_INET_ATON 1
31357_ACEOF
31358
31359fi
31360
31361
31362fi
31363done
31364
31365
31366if test "x$INET_LINK" != "x"; then
31367 cat >>confdefs.h <<\_ACEOF
31368#define HAVE_INET_ADDR 1
31369_ACEOF
31370
31371 INET_LINK=" -l$INET_LINK"
31372fi
31373
31374fi
31375
31376
31377
31378EXTRALIBS_ESD=
31379echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
31380echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
31381if test "${ac_cv_lib_esd_esd_close+set}" = set; then
31382 echo $ECHO_N "(cached) $ECHO_C" >&6
31383else
31384 ac_check_lib_save_LIBS=$LIBS
31385LIBS="-lesd $LIBS"
31386cat >conftest.$ac_ext <<_ACEOF
31387/* confdefs.h. */
31388_ACEOF
31389cat confdefs.h >>conftest.$ac_ext
31390cat >>conftest.$ac_ext <<_ACEOF
31391/* end confdefs.h. */
31392
31393/* Override any gcc2 internal prototype to avoid an error. */
31394#ifdef __cplusplus
31395extern "C"
31396#endif
31397/* We use char because int might match the return type of a gcc2
31398 builtin and then its argument prototype would still apply. */
31399char esd_close ();
31400int
31401main ()
31402{
31403esd_close ();
31404 ;
31405 return 0;
31406}
31407_ACEOF
31408rm -f conftest.$ac_objext conftest$ac_exeext
31409if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 31410 (eval $ac_link) 2>conftest.er1
a848cd7e 31411 ac_status=$?
ac1cb8d3
VS
31412 grep -v '^ *+' conftest.er1 >conftest.err
31413 rm -f conftest.er1
31414 cat conftest.err >&5
a848cd7e
SC
31415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31416 (exit $ac_status); } &&
d1c38808 31417 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
31418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31419 (eval $ac_try) 2>&5
31420 ac_status=$?
31421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31422 (exit $ac_status); }; } &&
31423 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
31424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31425 (eval $ac_try) 2>&5
31426 ac_status=$?
31427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31428 (exit $ac_status); }; }; then
31429 ac_cv_lib_esd_esd_close=yes
31430else
31431 echo "$as_me: failed program was:" >&5
31432sed 's/^/| /' conftest.$ac_ext >&5
31433
31434ac_cv_lib_esd_esd_close=no
31435fi
ac1cb8d3
VS
31436rm -f conftest.err conftest.$ac_objext \
31437 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
31438LIBS=$ac_check_lib_save_LIBS
31439fi
31440echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
31441echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
31442if test $ac_cv_lib_esd_esd_close = yes; then
31443
31444
31445for ac_header in esd.h
31446do
31447as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31448if eval "test \"\${$as_ac_Header+set}\" = set"; then
31449 echo "$as_me:$LINENO: checking for $ac_header" >&5
31450echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31451if eval "test \"\${$as_ac_Header+set}\" = set"; then
31452 echo $ECHO_N "(cached) $ECHO_C" >&6
31453fi
31454echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31455echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31456else
31457 # Is the header compilable?
31458echo "$as_me:$LINENO: checking $ac_header usability" >&5
31459echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31460cat >conftest.$ac_ext <<_ACEOF
31461/* confdefs.h. */
31462_ACEOF
31463cat confdefs.h >>conftest.$ac_ext
31464cat >>conftest.$ac_ext <<_ACEOF
31465/* end confdefs.h. */
31466$ac_includes_default
31467#include <$ac_header>
31468_ACEOF
31469rm -f conftest.$ac_objext
31470if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 31471 (eval $ac_compile) 2>conftest.er1
a848cd7e 31472 ac_status=$?
ac1cb8d3
VS
31473 grep -v '^ *+' conftest.er1 >conftest.err
31474 rm -f conftest.er1
31475 cat conftest.err >&5
a848cd7e
SC
31476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31477 (exit $ac_status); } &&
d1c38808 31478 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
31479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31480 (eval $ac_try) 2>&5
31481 ac_status=$?
31482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31483 (exit $ac_status); }; } &&
31484 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
31485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31486 (eval $ac_try) 2>&5
31487 ac_status=$?
31488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31489 (exit $ac_status); }; }; then
31490 ac_header_compiler=yes
31491else
31492 echo "$as_me: failed program was:" >&5
31493sed 's/^/| /' conftest.$ac_ext >&5
31494
31495ac_header_compiler=no
31496fi
ac1cb8d3 31497rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
31498echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31499echo "${ECHO_T}$ac_header_compiler" >&6
31500
31501# Is the header present?
31502echo "$as_me:$LINENO: checking $ac_header presence" >&5
31503echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31504cat >conftest.$ac_ext <<_ACEOF
31505/* confdefs.h. */
31506_ACEOF
31507cat confdefs.h >>conftest.$ac_ext
31508cat >>conftest.$ac_ext <<_ACEOF
31509/* end confdefs.h. */
31510#include <$ac_header>
31511_ACEOF
31512if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31513 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31514 ac_status=$?
31515 grep -v '^ *+' conftest.er1 >conftest.err
31516 rm -f conftest.er1
31517 cat conftest.err >&5
31518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31519 (exit $ac_status); } >/dev/null; then
31520 if test -s conftest.err; then
31521 ac_cpp_err=$ac_c_preproc_warn_flag
ac1cb8d3 31522 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
a848cd7e
SC
31523 else
31524 ac_cpp_err=
31525 fi
31526else
31527 ac_cpp_err=yes
31528fi
31529if test -z "$ac_cpp_err"; then
31530 ac_header_preproc=yes
31531else
31532 echo "$as_me: failed program was:" >&5
31533sed 's/^/| /' conftest.$ac_ext >&5
31534
31535 ac_header_preproc=no
31536fi
31537rm -f conftest.err conftest.$ac_ext
31538echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31539echo "${ECHO_T}$ac_header_preproc" >&6
31540
31541# So? What about this header?
ac1cb8d3
VS
31542case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31543 yes:no: )
a848cd7e
SC
31544 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31545echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
ac1cb8d3
VS
31546 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31547echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31548 ac_header_preproc=yes
a848cd7e 31549 ;;
ac1cb8d3 31550 no:yes:* )
a848cd7e
SC
31551 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31552echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
ac1cb8d3
VS
31553 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31554echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31555 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31556echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31557 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31558echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
a848cd7e
SC
31559 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31560echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
ac1cb8d3
VS
31561 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31562echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
a848cd7e
SC
31563 (
31564 cat <<\_ASBOX
ac1cb8d3
VS
31565## ----------------------------------------- ##
31566## Report this to wx-dev@lists.wxwidgets.org ##
31567## ----------------------------------------- ##
a848cd7e
SC
31568_ASBOX
31569 ) |
31570 sed "s/^/$as_me: WARNING: /" >&2
31571 ;;
31572esac
31573echo "$as_me:$LINENO: checking for $ac_header" >&5
31574echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31575if eval "test \"\${$as_ac_Header+set}\" = set"; then
31576 echo $ECHO_N "(cached) $ECHO_C" >&6
31577else
ac1cb8d3 31578 eval "$as_ac_Header=\$ac_header_preproc"
a848cd7e
SC
31579fi
31580echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31581echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31582
31583fi
31584if test `eval echo '${'$as_ac_Header'}'` = yes; then
31585 cat >>confdefs.h <<_ACEOF
31586#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31587_ACEOF
31588
31589 EXTRALIBS_ESD="-lesd"
31590
31591fi
31592
31593done
31594
31595
31596fi
31597
31598
31599
31600echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
31601echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
31602cat >conftest.$ac_ext <<_ACEOF
31603/* confdefs.h. */
31604_ACEOF
31605cat confdefs.h >>conftest.$ac_ext
31606cat >>conftest.$ac_ext <<_ACEOF
31607/* end confdefs.h. */
31608#ifdef __linux__
31609 #include <linux/cdrom.h>
31610 #else
31611 /* For Solaris */
31612 #include <sys/cdio.h>
31613 #endif
31614
31615int
31616main ()
31617{
31618struct cdrom_tocentry entry, old_entry;
31619 ;
31620 return 0;
31621}
31622_ACEOF
31623rm -f conftest.$ac_objext
31624if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 31625 (eval $ac_compile) 2>conftest.er1
a848cd7e 31626 ac_status=$?
ac1cb8d3
VS
31627 grep -v '^ *+' conftest.er1 >conftest.err
31628 rm -f conftest.er1
31629 cat conftest.err >&5
a848cd7e
SC
31630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31631 (exit $ac_status); } &&
d1c38808 31632 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
31633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31634 (eval $ac_try) 2>&5
31635 ac_status=$?
31636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31637 (exit $ac_status); }; } &&
31638 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
31639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31640 (eval $ac_try) 2>&5
31641 ac_status=$?
31642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31643 (exit $ac_status); }; }; then
31644 echo "$as_me:$LINENO: result: yes" >&5
31645echo "${ECHO_T}yes" >&6
31646 cat >>confdefs.h <<\_ACEOF
31647#define HAVE_KNOWN_CDROM_INTERFACE 1
31648_ACEOF
31649
31650else
31651 echo "$as_me: failed program was:" >&5
31652sed 's/^/| /' conftest.$ac_ext >&5
31653
31654echo "$as_me:$LINENO: result: no" >&5
31655echo "${ECHO_T}no" >&6
31656fi
ac1cb8d3 31657rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
31658
31659
31660cat >confcache <<\_ACEOF
31661# This file is a shell script that caches the results of configure
31662# tests run on this system so they can be shared between configure
31663# scripts and configure runs, see configure's option --config-cache.
31664# It is not useful on other systems. If it contains results you don't
31665# want to keep, you may remove or edit it.
31666#
31667# config.status only pays attention to the cache file if you give it
31668# the --recheck option to rerun configure.
31669#
31670# `ac_cv_env_foo' variables (set or unset) will be overridden when
31671# loading this file, other *unset* `ac_cv_foo' will be assigned the
31672# following values.
31673
31674_ACEOF
31675
31676# The following way of writing the cache mishandles newlines in values,
31677# but we know of no workaround that is simple, portable, and efficient.
31678# So, don't put newlines in cache variables' values.
31679# Ultrix sh set writes to stderr and can't be redirected directly,
31680# and sets the high bit in the cache file unless we assign to the vars.
31681{
31682 (set) 2>&1 |
31683 case `(ac_space=' '; set | grep ac_space) 2>&1` in
31684 *ac_space=\ *)
31685 # `set' does not quote correctly, so add quotes (double-quote
31686 # substitution turns \\\\ into \\, and sed turns \\ into \).
31687 sed -n \
ac1cb8d3
VS
31688 "s/'/'\\\\''/g;
31689 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
a848cd7e
SC
31690 ;;
31691 *)
31692 # `set' quotes correctly as required by POSIX, so do not add quotes.
31693 sed -n \
ac1cb8d3 31694 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
a848cd7e
SC
31695 ;;
31696 esac;
31697} |
31698 sed '
31699 t clear
31700 : clear
31701 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31702 t end
31703 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31704 : end' >>confcache
31705if diff $cache_file confcache >/dev/null 2>&1; then :; else
31706 if test -w $cache_file; then
31707 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
31708 cat confcache >$cache_file
31709 else
31710 echo "not updating unwritable cache $cache_file"
31711 fi
31712fi
31713rm -f confcache
31714
31715
31716CPP_MT_FLAG=
31717if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31718
31719
31720 THREADS_LINK=
31721 THREADS_CFLAGS=
31722
31723 if test "$wxUSE_THREADS" = "yes" ; then
31724 if test "$USE_BEOS" = 1; then
31725 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
31726echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31727 wxUSE_THREADS="no"
31728 fi
31729 fi
31730
31731 if test "$wxUSE_THREADS" = "yes" ; then
31732
31733
31734 THREAD_OPTS="-pthread"
31735 case "${host}" in
31736 *-*-solaris2* | *-*-sunos4* )
31737 if test "x$GCC" = "xyes"; then
31738 THREAD_OPTS="-pthreads $THREAD_OPTS"
31739 else
31740 THREAD_OPTS="-mt $THREAD_OPTS"
31741 fi
31742 ;;
31743 *-*-freebsd*)
31744 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
31745 ;;
31746 *-*-darwin* | *-*-cygwin* )
31747 THREAD_OPTS=""
31748 ;;
31749 *-*-aix*)
31750 THREAD_OPTS="pthreads"
31751 ;;
31752 *-hp-hpux* )
31753 if test "x$GCC" != "xyes"; then
31754 THREAD_OPTS=""
31755 fi
31756 ;;
31757
31758 *-*-irix* )
31759 if test "x$GCC" = "xyes"; then
31760 THREAD_OPTS=""
31761 fi
31762 ;;
31763
31764 *-*-*UnixWare*)
31765 if test "x$GCC" != "xyes"; then
31766 THREAD_OPTS="-Ethread"
31767 fi
31768 ;;
31769 esac
31770
31771 THREAD_OPTS="$THREAD_OPTS pthread none"
31772
31773 THREADS_OK=no
31774 for flag in $THREAD_OPTS; do
31775 case $flag in
31776 none)
31777 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
31778echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
31779 ;;
31780
31781 -*)
31782 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
31783echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
31784 THREADS_CFLAGS="$flag"
31785 ;;
31786
31787 *)
31788 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
31789echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
31790 THREADS_LINK="-l$flag"
31791 ;;
31792 esac
31793
31794 save_LIBS="$LIBS"
31795 save_CFLAGS="$CFLAGS"
31796 LIBS="$THREADS_LINK $LIBS"
31797 CFLAGS="$THREADS_CFLAGS $CFLAGS"
31798
31799 cat >conftest.$ac_ext <<_ACEOF
31800/* confdefs.h. */
31801_ACEOF
31802cat confdefs.h >>conftest.$ac_ext
31803cat >>conftest.$ac_ext <<_ACEOF
31804/* end confdefs.h. */
31805#include <pthread.h>
31806int
31807main ()
31808{
31809pthread_create(0,0,0,0);
31810 ;
31811 return 0;
31812}
31813_ACEOF
31814rm -f conftest.$ac_objext conftest$ac_exeext
31815if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 31816 (eval $ac_link) 2>conftest.er1
a848cd7e 31817 ac_status=$?
ac1cb8d3
VS
31818 grep -v '^ *+' conftest.er1 >conftest.err
31819 rm -f conftest.er1
31820 cat conftest.err >&5
a848cd7e
SC
31821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31822 (exit $ac_status); } &&
d1c38808 31823 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
31824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31825 (eval $ac_try) 2>&5
31826 ac_status=$?
31827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31828 (exit $ac_status); }; } &&
31829 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
31830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31831 (eval $ac_try) 2>&5
31832 ac_status=$?
31833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31834 (exit $ac_status); }; }; then
31835 THREADS_OK=yes
31836else
31837 echo "$as_me: failed program was:" >&5
31838sed 's/^/| /' conftest.$ac_ext >&5
31839
31840fi
ac1cb8d3
VS
31841rm -f conftest.err conftest.$ac_objext \
31842 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
31843
31844 LIBS="$save_LIBS"
31845 CFLAGS="$save_CFLAGS"
31846
31847 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
31848echo "${ECHO_T}$THREADS_OK" >&6
31849 if test "x$THREADS_OK" = "xyes"; then
31850 break;
31851 fi
31852
31853 THREADS_LINK=""
31854 THREADS_CFLAGS=""
31855 done
31856
31857 if test "x$THREADS_OK" != "xyes"; then
31858 wxUSE_THREADS=no
31859 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
31860echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
31861 else
31862 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
31863 LIBS="$THREADS_LINK $LIBS"
31864
31865 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
31866echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
31867 flag=no
31868 case "${host}" in
31869 *-aix*)
31870 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
31871 flag="-D_THREAD_SAFE"
31872 ;;
31873 *-freebsd*)
31874 flag="-D_THREAD_SAFE"
31875 ;;
31876 *-hp-hpux* )
31877 flag="-D_REENTRANT"
31878 if test "x$GCC" != "xyes"; then
31879 flag="$flag -D_RWSTD_MULTI_THREAD"
473276a9
VS
31880
31881 LIBS="$LIBS -lcma"
a848cd7e
SC
31882 fi
31883 ;;
31884 *solaris* | alpha*-osf*)
31885 flag="-D_REENTRANT"
31886 ;;
31887 esac
31888 echo "$as_me:$LINENO: result: ${flag}" >&5
31889echo "${ECHO_T}${flag}" >&6
31890 if test "x$flag" != xno; then
31891 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
31892 fi
31893
31894 if test "x$THREADS_CFLAGS" != "x"; then
31895 CFLAGS="$CFLAGS $THREADS_CFLAGS"
31896 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
31897 fi
31898 fi
31899 fi
31900
31901 if test "$wxUSE_THREADS" = "yes" ; then
31902
31903for ac_func in thr_setconcurrency
31904do
31905as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31906echo "$as_me:$LINENO: checking for $ac_func" >&5
31907echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31908if eval "test \"\${$as_ac_var+set}\" = set"; then
31909 echo $ECHO_N "(cached) $ECHO_C" >&6
31910else
31911 cat >conftest.$ac_ext <<_ACEOF
31912/* confdefs.h. */
31913_ACEOF
31914cat confdefs.h >>conftest.$ac_ext
31915cat >>conftest.$ac_ext <<_ACEOF
31916/* end confdefs.h. */
ac1cb8d3
VS
31917/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31918 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31919#define $ac_func innocuous_$ac_func
31920
a848cd7e
SC
31921/* System header to define __stub macros and hopefully few prototypes,
31922 which can conflict with char $ac_func (); below.
31923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31924 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 31925
a848cd7e
SC
31926#ifdef __STDC__
31927# include <limits.h>
31928#else
31929# include <assert.h>
31930#endif
ac1cb8d3
VS
31931
31932#undef $ac_func
31933
a848cd7e
SC
31934/* Override any gcc2 internal prototype to avoid an error. */
31935#ifdef __cplusplus
31936extern "C"
31937{
31938#endif
31939/* We use char because int might match the return type of a gcc2
31940 builtin and then its argument prototype would still apply. */
31941char $ac_func ();
31942/* The GNU C library defines this for functions which it implements
31943 to always fail with ENOSYS. Some functions are actually named
31944 something starting with __ and the normal name is an alias. */
31945#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31946choke me
31947#else
31948char (*f) () = $ac_func;
31949#endif
31950#ifdef __cplusplus
31951}
31952#endif
31953
31954int
31955main ()
31956{
31957return f != $ac_func;
31958 ;
31959 return 0;
31960}
31961_ACEOF
31962rm -f conftest.$ac_objext conftest$ac_exeext
31963if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 31964 (eval $ac_link) 2>conftest.er1
a848cd7e 31965 ac_status=$?
ac1cb8d3
VS
31966 grep -v '^ *+' conftest.er1 >conftest.err
31967 rm -f conftest.er1
31968 cat conftest.err >&5
a848cd7e
SC
31969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31970 (exit $ac_status); } &&
d1c38808 31971 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
31972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31973 (eval $ac_try) 2>&5
31974 ac_status=$?
31975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31976 (exit $ac_status); }; } &&
31977 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
31978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31979 (eval $ac_try) 2>&5
31980 ac_status=$?
31981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31982 (exit $ac_status); }; }; then
31983 eval "$as_ac_var=yes"
31984else
31985 echo "$as_me: failed program was:" >&5
31986sed 's/^/| /' conftest.$ac_ext >&5
31987
31988eval "$as_ac_var=no"
31989fi
ac1cb8d3
VS
31990rm -f conftest.err conftest.$ac_objext \
31991 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
31992fi
31993echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31994echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31995if test `eval echo '${'$as_ac_var'}'` = yes; then
31996 cat >>confdefs.h <<_ACEOF
31997#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31998_ACEOF
31999
32000fi
32001done
32002
32003
32004
32005for ac_header in sched.h
32006do
32007as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32008if eval "test \"\${$as_ac_Header+set}\" = set"; then
32009 echo "$as_me:$LINENO: checking for $ac_header" >&5
32010echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32011if eval "test \"\${$as_ac_Header+set}\" = set"; then
32012 echo $ECHO_N "(cached) $ECHO_C" >&6
32013fi
32014echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32015echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32016else
32017 # Is the header compilable?
32018echo "$as_me:$LINENO: checking $ac_header usability" >&5
32019echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32020cat >conftest.$ac_ext <<_ACEOF
32021/* confdefs.h. */
32022_ACEOF
32023cat confdefs.h >>conftest.$ac_ext
32024cat >>conftest.$ac_ext <<_ACEOF
32025/* end confdefs.h. */
32026$ac_includes_default
32027#include <$ac_header>
32028_ACEOF
32029rm -f conftest.$ac_objext
32030if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 32031 (eval $ac_compile) 2>conftest.er1
a848cd7e 32032 ac_status=$?
ac1cb8d3
VS
32033 grep -v '^ *+' conftest.er1 >conftest.err
32034 rm -f conftest.er1
32035 cat conftest.err >&5
a848cd7e
SC
32036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32037 (exit $ac_status); } &&
d1c38808 32038 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
32039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32040 (eval $ac_try) 2>&5
32041 ac_status=$?
32042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32043 (exit $ac_status); }; } &&
32044 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
32045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32046 (eval $ac_try) 2>&5
32047 ac_status=$?
32048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32049 (exit $ac_status); }; }; then
32050 ac_header_compiler=yes
32051else
32052 echo "$as_me: failed program was:" >&5
32053sed 's/^/| /' conftest.$ac_ext >&5
32054
32055ac_header_compiler=no
32056fi
ac1cb8d3 32057rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
32058echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32059echo "${ECHO_T}$ac_header_compiler" >&6
32060
32061# Is the header present?
32062echo "$as_me:$LINENO: checking $ac_header presence" >&5
32063echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32064cat >conftest.$ac_ext <<_ACEOF
32065/* confdefs.h. */
32066_ACEOF
32067cat confdefs.h >>conftest.$ac_ext
32068cat >>conftest.$ac_ext <<_ACEOF
32069/* end confdefs.h. */
32070#include <$ac_header>
32071_ACEOF
32072if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32073 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32074 ac_status=$?
32075 grep -v '^ *+' conftest.er1 >conftest.err
32076 rm -f conftest.er1
32077 cat conftest.err >&5
32078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32079 (exit $ac_status); } >/dev/null; then
32080 if test -s conftest.err; then
32081 ac_cpp_err=$ac_c_preproc_warn_flag
ac1cb8d3 32082 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
a848cd7e
SC
32083 else
32084 ac_cpp_err=
32085 fi
32086else
32087 ac_cpp_err=yes
32088fi
32089if test -z "$ac_cpp_err"; then
32090 ac_header_preproc=yes
32091else
32092 echo "$as_me: failed program was:" >&5
32093sed 's/^/| /' conftest.$ac_ext >&5
32094
32095 ac_header_preproc=no
32096fi
32097rm -f conftest.err conftest.$ac_ext
32098echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32099echo "${ECHO_T}$ac_header_preproc" >&6
32100
32101# So? What about this header?
ac1cb8d3
VS
32102case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32103 yes:no: )
a848cd7e
SC
32104 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32105echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
ac1cb8d3
VS
32106 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32107echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32108 ac_header_preproc=yes
a848cd7e 32109 ;;
ac1cb8d3 32110 no:yes:* )
a848cd7e
SC
32111 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32112echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
ac1cb8d3
VS
32113 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32114echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32115 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32116echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32117 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32118echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
a848cd7e
SC
32119 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32120echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
ac1cb8d3
VS
32121 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32122echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
a848cd7e
SC
32123 (
32124 cat <<\_ASBOX
ac1cb8d3
VS
32125## ----------------------------------------- ##
32126## Report this to wx-dev@lists.wxwidgets.org ##
32127## ----------------------------------------- ##
a848cd7e
SC
32128_ASBOX
32129 ) |
32130 sed "s/^/$as_me: WARNING: /" >&2
32131 ;;
32132esac
32133echo "$as_me:$LINENO: checking for $ac_header" >&5
32134echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32135if eval "test \"\${$as_ac_Header+set}\" = set"; then
32136 echo $ECHO_N "(cached) $ECHO_C" >&6
32137else
ac1cb8d3 32138 eval "$as_ac_Header=\$ac_header_preproc"
a848cd7e
SC
32139fi
32140echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32141echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32142
32143fi
32144if test `eval echo '${'$as_ac_Header'}'` = yes; then
32145 cat >>confdefs.h <<_ACEOF
32146#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32147_ACEOF
32148
32149fi
32150
32151done
32152
32153 if test "$ac_cv_header_sched_h" = "yes"; then
32154 echo "$as_me:$LINENO: checking for sched_yield" >&5
32155echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
32156if test "${ac_cv_func_sched_yield+set}" = set; then
32157 echo $ECHO_N "(cached) $ECHO_C" >&6
32158else
32159 cat >conftest.$ac_ext <<_ACEOF
32160/* confdefs.h. */
32161_ACEOF
32162cat confdefs.h >>conftest.$ac_ext
32163cat >>conftest.$ac_ext <<_ACEOF
32164/* end confdefs.h. */
ac1cb8d3
VS
32165/* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
32166 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32167#define sched_yield innocuous_sched_yield
32168
a848cd7e
SC
32169/* System header to define __stub macros and hopefully few prototypes,
32170 which can conflict with char sched_yield (); below.
32171 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32172 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 32173
a848cd7e
SC
32174#ifdef __STDC__
32175# include <limits.h>
32176#else
32177# include <assert.h>
32178#endif
ac1cb8d3
VS
32179
32180#undef sched_yield
32181
a848cd7e
SC
32182/* Override any gcc2 internal prototype to avoid an error. */
32183#ifdef __cplusplus
32184extern "C"
32185{
32186#endif
32187/* We use char because int might match the return type of a gcc2
32188 builtin and then its argument prototype would still apply. */
32189char sched_yield ();
32190/* The GNU C library defines this for functions which it implements
32191 to always fail with ENOSYS. Some functions are actually named
32192 something starting with __ and the normal name is an alias. */
32193#if defined (__stub_sched_yield) || defined (__stub___sched_yield)
32194choke me
32195#else
32196char (*f) () = sched_yield;
32197#endif
32198#ifdef __cplusplus
32199}
32200#endif
32201
32202int
32203main ()
32204{
32205return f != sched_yield;
32206 ;
32207 return 0;
32208}
32209_ACEOF
32210rm -f conftest.$ac_objext conftest$ac_exeext
32211if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 32212 (eval $ac_link) 2>conftest.er1
a848cd7e 32213 ac_status=$?
ac1cb8d3
VS
32214 grep -v '^ *+' conftest.er1 >conftest.err
32215 rm -f conftest.er1
32216 cat conftest.err >&5
a848cd7e
SC
32217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32218 (exit $ac_status); } &&
d1c38808 32219 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
32220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32221 (eval $ac_try) 2>&5
32222 ac_status=$?
32223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32224 (exit $ac_status); }; } &&
32225 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
32226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32227 (eval $ac_try) 2>&5
32228 ac_status=$?
32229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32230 (exit $ac_status); }; }; then
32231 ac_cv_func_sched_yield=yes
32232else
32233 echo "$as_me: failed program was:" >&5
32234sed 's/^/| /' conftest.$ac_ext >&5
32235
32236ac_cv_func_sched_yield=no
32237fi
ac1cb8d3
VS
32238rm -f conftest.err conftest.$ac_objext \
32239 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
32240fi
32241echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
32242echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
32243if test $ac_cv_func_sched_yield = yes; then
32244 cat >>confdefs.h <<\_ACEOF
32245#define HAVE_SCHED_YIELD 1
32246_ACEOF
32247
32248else
32249
32250 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
32251echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
32252if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
32253 echo $ECHO_N "(cached) $ECHO_C" >&6
32254else
32255 ac_check_lib_save_LIBS=$LIBS
32256LIBS="-lposix4 $LIBS"
32257cat >conftest.$ac_ext <<_ACEOF
32258/* confdefs.h. */
32259_ACEOF
32260cat confdefs.h >>conftest.$ac_ext
32261cat >>conftest.$ac_ext <<_ACEOF
32262/* end confdefs.h. */
32263
32264/* Override any gcc2 internal prototype to avoid an error. */
32265#ifdef __cplusplus
32266extern "C"
32267#endif
32268/* We use char because int might match the return type of a gcc2
32269 builtin and then its argument prototype would still apply. */
32270char sched_yield ();
32271int
32272main ()
32273{
32274sched_yield ();
32275 ;
32276 return 0;
32277}
32278_ACEOF
32279rm -f conftest.$ac_objext conftest$ac_exeext
32280if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 32281 (eval $ac_link) 2>conftest.er1
a848cd7e 32282 ac_status=$?
ac1cb8d3
VS
32283 grep -v '^ *+' conftest.er1 >conftest.err
32284 rm -f conftest.er1
32285 cat conftest.err >&5
a848cd7e
SC
32286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32287 (exit $ac_status); } &&
d1c38808 32288 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
32289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32290 (eval $ac_try) 2>&5
32291 ac_status=$?
32292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32293 (exit $ac_status); }; } &&
32294 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
32295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32296 (eval $ac_try) 2>&5
32297 ac_status=$?
32298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32299 (exit $ac_status); }; }; then
32300 ac_cv_lib_posix4_sched_yield=yes
32301else
32302 echo "$as_me: failed program was:" >&5
32303sed 's/^/| /' conftest.$ac_ext >&5
32304
32305ac_cv_lib_posix4_sched_yield=no
32306fi
ac1cb8d3
VS
32307rm -f conftest.err conftest.$ac_objext \
32308 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
32309LIBS=$ac_check_lib_save_LIBS
32310fi
32311echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
32312echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
32313if test $ac_cv_lib_posix4_sched_yield = yes; then
32314 cat >>confdefs.h <<\_ACEOF
32315#define HAVE_SCHED_YIELD 1
32316_ACEOF
32317 POSIX4_LINK=" -lposix4"
32318else
32319 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
32320echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32321
32322fi
32323
32324
32325
32326fi
32327
32328 fi
32329
32330 HAVE_PRIOR_FUNCS=0
32331 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
32332echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
32333if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
32334 echo $ECHO_N "(cached) $ECHO_C" >&6
32335else
32336 cat >conftest.$ac_ext <<_ACEOF
32337/* confdefs.h. */
32338_ACEOF
32339cat confdefs.h >>conftest.$ac_ext
32340cat >>conftest.$ac_ext <<_ACEOF
32341/* end confdefs.h. */
ac1cb8d3
VS
32342/* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
32343 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32344#define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
32345
a848cd7e
SC
32346/* System header to define __stub macros and hopefully few prototypes,
32347 which can conflict with char pthread_attr_getschedpolicy (); below.
32348 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32349 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 32350
a848cd7e
SC
32351#ifdef __STDC__
32352# include <limits.h>
32353#else
32354# include <assert.h>
32355#endif
ac1cb8d3
VS
32356
32357#undef pthread_attr_getschedpolicy
32358
a848cd7e
SC
32359/* Override any gcc2 internal prototype to avoid an error. */
32360#ifdef __cplusplus
32361extern "C"
32362{
32363#endif
32364/* We use char because int might match the return type of a gcc2
32365 builtin and then its argument prototype would still apply. */
32366char pthread_attr_getschedpolicy ();
32367/* The GNU C library defines this for functions which it implements
32368 to always fail with ENOSYS. Some functions are actually named
32369 something starting with __ and the normal name is an alias. */
32370#if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
32371choke me
32372#else
32373char (*f) () = pthread_attr_getschedpolicy;
32374#endif
32375#ifdef __cplusplus
32376}
32377#endif
32378
32379int
32380main ()
32381{
32382return f != pthread_attr_getschedpolicy;
32383 ;
32384 return 0;
32385}
32386_ACEOF
32387rm -f conftest.$ac_objext conftest$ac_exeext
32388if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 32389 (eval $ac_link) 2>conftest.er1
a848cd7e 32390 ac_status=$?
ac1cb8d3
VS
32391 grep -v '^ *+' conftest.er1 >conftest.err
32392 rm -f conftest.er1
32393 cat conftest.err >&5
a848cd7e
SC
32394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32395 (exit $ac_status); } &&
d1c38808 32396 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
32397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32398 (eval $ac_try) 2>&5
32399 ac_status=$?
32400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32401 (exit $ac_status); }; } &&
32402 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
32403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32404 (eval $ac_try) 2>&5
32405 ac_status=$?
32406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32407 (exit $ac_status); }; }; then
32408 ac_cv_func_pthread_attr_getschedpolicy=yes
32409else
32410 echo "$as_me: failed program was:" >&5
32411sed 's/^/| /' conftest.$ac_ext >&5
32412
32413ac_cv_func_pthread_attr_getschedpolicy=no
32414fi
ac1cb8d3
VS
32415rm -f conftest.err conftest.$ac_objext \
32416 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
32417fi
32418echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
32419echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
32420if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
32421 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
32422echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
32423if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
32424 echo $ECHO_N "(cached) $ECHO_C" >&6
32425else
32426 cat >conftest.$ac_ext <<_ACEOF
32427/* confdefs.h. */
32428_ACEOF
32429cat confdefs.h >>conftest.$ac_ext
32430cat >>conftest.$ac_ext <<_ACEOF
32431/* end confdefs.h. */
ac1cb8d3
VS
32432/* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
32433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32434#define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
32435
a848cd7e
SC
32436/* System header to define __stub macros and hopefully few prototypes,
32437 which can conflict with char pthread_attr_setschedparam (); below.
32438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32439 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 32440
a848cd7e
SC
32441#ifdef __STDC__
32442# include <limits.h>
32443#else
32444# include <assert.h>
32445#endif
ac1cb8d3
VS
32446
32447#undef pthread_attr_setschedparam
32448
a848cd7e
SC
32449/* Override any gcc2 internal prototype to avoid an error. */
32450#ifdef __cplusplus
32451extern "C"
32452{
32453#endif
32454/* We use char because int might match the return type of a gcc2
32455 builtin and then its argument prototype would still apply. */
32456char pthread_attr_setschedparam ();
32457/* The GNU C library defines this for functions which it implements
32458 to always fail with ENOSYS. Some functions are actually named
32459 something starting with __ and the normal name is an alias. */
32460#if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
32461choke me
32462#else
32463char (*f) () = pthread_attr_setschedparam;
32464#endif
32465#ifdef __cplusplus
32466}
32467#endif
32468
32469int
32470main ()
32471{
32472return f != pthread_attr_setschedparam;
32473 ;
32474 return 0;
32475}
32476_ACEOF
32477rm -f conftest.$ac_objext conftest$ac_exeext
32478if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 32479 (eval $ac_link) 2>conftest.er1
a848cd7e 32480 ac_status=$?
ac1cb8d3
VS
32481 grep -v '^ *+' conftest.er1 >conftest.err
32482 rm -f conftest.er1
32483 cat conftest.err >&5
a848cd7e
SC
32484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32485 (exit $ac_status); } &&
d1c38808 32486 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
32487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32488 (eval $ac_try) 2>&5
32489 ac_status=$?
32490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32491 (exit $ac_status); }; } &&
32492 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
32493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32494 (eval $ac_try) 2>&5
32495 ac_status=$?
32496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32497 (exit $ac_status); }; }; then
32498 ac_cv_func_pthread_attr_setschedparam=yes
32499else
32500 echo "$as_me: failed program was:" >&5
32501sed 's/^/| /' conftest.$ac_ext >&5
32502
32503ac_cv_func_pthread_attr_setschedparam=no
32504fi
ac1cb8d3
VS
32505rm -f conftest.err conftest.$ac_objext \
32506 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
32507fi
32508echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
32509echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
32510if test $ac_cv_func_pthread_attr_setschedparam = yes; then
32511 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
32512echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
32513if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
32514 echo $ECHO_N "(cached) $ECHO_C" >&6
32515else
32516 cat >conftest.$ac_ext <<_ACEOF
32517/* confdefs.h. */
32518_ACEOF
32519cat confdefs.h >>conftest.$ac_ext
32520cat >>conftest.$ac_ext <<_ACEOF
32521/* end confdefs.h. */
ac1cb8d3
VS
32522/* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
32523 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32524#define sched_get_priority_max innocuous_sched_get_priority_max
32525
a848cd7e
SC
32526/* System header to define __stub macros and hopefully few prototypes,
32527 which can conflict with char sched_get_priority_max (); below.
32528 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32529 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 32530
a848cd7e
SC
32531#ifdef __STDC__
32532# include <limits.h>
32533#else
32534# include <assert.h>
32535#endif
ac1cb8d3
VS
32536
32537#undef sched_get_priority_max
32538
a848cd7e
SC
32539/* Override any gcc2 internal prototype to avoid an error. */
32540#ifdef __cplusplus
32541extern "C"
32542{
32543#endif
32544/* We use char because int might match the return type of a gcc2
32545 builtin and then its argument prototype would still apply. */
32546char sched_get_priority_max ();
32547/* The GNU C library defines this for functions which it implements
32548 to always fail with ENOSYS. Some functions are actually named
32549 something starting with __ and the normal name is an alias. */
32550#if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
32551choke me
32552#else
32553char (*f) () = sched_get_priority_max;
32554#endif
32555#ifdef __cplusplus
32556}
32557#endif
32558
32559int
32560main ()
32561{
32562return f != sched_get_priority_max;
32563 ;
32564 return 0;
32565}
32566_ACEOF
32567rm -f conftest.$ac_objext conftest$ac_exeext
32568if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 32569 (eval $ac_link) 2>conftest.er1
a848cd7e 32570 ac_status=$?
ac1cb8d3
VS
32571 grep -v '^ *+' conftest.er1 >conftest.err
32572 rm -f conftest.er1
32573 cat conftest.err >&5
a848cd7e
SC
32574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32575 (exit $ac_status); } &&
d1c38808 32576 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
32577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32578 (eval $ac_try) 2>&5
32579 ac_status=$?
32580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32581 (exit $ac_status); }; } &&
32582 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
32583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32584 (eval $ac_try) 2>&5
32585 ac_status=$?
32586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32587 (exit $ac_status); }; }; then
32588 ac_cv_func_sched_get_priority_max=yes
32589else
32590 echo "$as_me: failed program was:" >&5
32591sed 's/^/| /' conftest.$ac_ext >&5
32592
32593ac_cv_func_sched_get_priority_max=no
32594fi
ac1cb8d3
VS
32595rm -f conftest.err conftest.$ac_objext \
32596 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
32597fi
32598echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
32599echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
32600if test $ac_cv_func_sched_get_priority_max = yes; then
32601 HAVE_PRIOR_FUNCS=1
32602else
32603 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
32604echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
32605if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
32606 echo $ECHO_N "(cached) $ECHO_C" >&6
32607else
32608 ac_check_lib_save_LIBS=$LIBS
32609LIBS="-lposix4 $LIBS"
32610cat >conftest.$ac_ext <<_ACEOF
32611/* confdefs.h. */
32612_ACEOF
32613cat confdefs.h >>conftest.$ac_ext
32614cat >>conftest.$ac_ext <<_ACEOF
32615/* end confdefs.h. */
32616
32617/* Override any gcc2 internal prototype to avoid an error. */
32618#ifdef __cplusplus
32619extern "C"
32620#endif
32621/* We use char because int might match the return type of a gcc2
32622 builtin and then its argument prototype would still apply. */
32623char sched_get_priority_max ();
32624int
32625main ()
32626{
32627sched_get_priority_max ();
32628 ;
32629 return 0;
32630}
32631_ACEOF
32632rm -f conftest.$ac_objext conftest$ac_exeext
32633if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 32634 (eval $ac_link) 2>conftest.er1
a848cd7e 32635 ac_status=$?
ac1cb8d3
VS
32636 grep -v '^ *+' conftest.er1 >conftest.err
32637 rm -f conftest.er1
32638 cat conftest.err >&5
a848cd7e
SC
32639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32640 (exit $ac_status); } &&
d1c38808 32641 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
32642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32643 (eval $ac_try) 2>&5
32644 ac_status=$?
32645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32646 (exit $ac_status); }; } &&
32647 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
32648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32649 (eval $ac_try) 2>&5
32650 ac_status=$?
32651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32652 (exit $ac_status); }; }; then
32653 ac_cv_lib_posix4_sched_get_priority_max=yes
32654else
32655 echo "$as_me: failed program was:" >&5
32656sed 's/^/| /' conftest.$ac_ext >&5
32657
32658ac_cv_lib_posix4_sched_get_priority_max=no
32659fi
ac1cb8d3
VS
32660rm -f conftest.err conftest.$ac_objext \
32661 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
32662LIBS=$ac_check_lib_save_LIBS
32663fi
32664echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32665echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
32666if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
32667
32668 HAVE_PRIOR_FUNCS=1
32669 POSIX4_LINK=" -lposix4"
32670
32671fi
32672
32673
32674fi
32675
32676
32677fi
32678
32679
32680fi
32681
32682
32683 if test "$HAVE_PRIOR_FUNCS" = 1; then
32684 cat >>confdefs.h <<\_ACEOF
32685#define HAVE_THREAD_PRIORITY_FUNCTIONS 1
32686_ACEOF
32687
32688 else
32689 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
32690echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32691 fi
32692
32693 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
32694echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
32695if test "${ac_cv_func_pthread_cancel+set}" = set; then
32696 echo $ECHO_N "(cached) $ECHO_C" >&6
32697else
32698 cat >conftest.$ac_ext <<_ACEOF
32699/* confdefs.h. */
32700_ACEOF
32701cat confdefs.h >>conftest.$ac_ext
32702cat >>conftest.$ac_ext <<_ACEOF
32703/* end confdefs.h. */
ac1cb8d3
VS
32704/* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
32705 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32706#define pthread_cancel innocuous_pthread_cancel
32707
a848cd7e
SC
32708/* System header to define __stub macros and hopefully few prototypes,
32709 which can conflict with char pthread_cancel (); below.
32710 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32711 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 32712
a848cd7e
SC
32713#ifdef __STDC__
32714# include <limits.h>
32715#else
32716# include <assert.h>
32717#endif
ac1cb8d3
VS
32718
32719#undef pthread_cancel
32720
a848cd7e
SC
32721/* Override any gcc2 internal prototype to avoid an error. */
32722#ifdef __cplusplus
32723extern "C"
32724{
32725#endif
32726/* We use char because int might match the return type of a gcc2
32727 builtin and then its argument prototype would still apply. */
32728char pthread_cancel ();
32729/* The GNU C library defines this for functions which it implements
32730 to always fail with ENOSYS. Some functions are actually named
32731 something starting with __ and the normal name is an alias. */
32732#if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
32733choke me
32734#else
32735char (*f) () = pthread_cancel;
32736#endif
32737#ifdef __cplusplus
32738}
32739#endif
32740
32741int
32742main ()
32743{
32744return f != pthread_cancel;
32745 ;
32746 return 0;
32747}
32748_ACEOF
32749rm -f conftest.$ac_objext conftest$ac_exeext
32750if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 32751 (eval $ac_link) 2>conftest.er1
a848cd7e 32752 ac_status=$?
ac1cb8d3
VS
32753 grep -v '^ *+' conftest.er1 >conftest.err
32754 rm -f conftest.er1
32755 cat conftest.err >&5
a848cd7e
SC
32756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32757 (exit $ac_status); } &&
d1c38808 32758 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
32759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32760 (eval $ac_try) 2>&5
32761 ac_status=$?
32762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32763 (exit $ac_status); }; } &&
32764 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
32765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32766 (eval $ac_try) 2>&5
32767 ac_status=$?
32768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32769 (exit $ac_status); }; }; then
32770 ac_cv_func_pthread_cancel=yes
32771else
32772 echo "$as_me: failed program was:" >&5
32773sed 's/^/| /' conftest.$ac_ext >&5
32774
32775ac_cv_func_pthread_cancel=no
32776fi
ac1cb8d3
VS
32777rm -f conftest.err conftest.$ac_objext \
32778 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
32779fi
32780echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
32781echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
32782if test $ac_cv_func_pthread_cancel = yes; then
32783 cat >>confdefs.h <<\_ACEOF
32784#define HAVE_PTHREAD_CANCEL 1
32785_ACEOF
32786
32787else
32788 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
32789echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
32790fi
32791
32792
32793
32794
32795 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
32796echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
32797if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
32798 echo $ECHO_N "(cached) $ECHO_C" >&6
32799else
32800
32801 cat >conftest.$ac_ext <<_ACEOF
32802/* confdefs.h. */
32803_ACEOF
32804cat confdefs.h >>conftest.$ac_ext
32805cat >>conftest.$ac_ext <<_ACEOF
32806/* end confdefs.h. */
32807#include <pthread.h>
32808int
32809main ()
32810{
32811
32812 pthread_mutexattr_t attr;
32813 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32814
32815 ;
32816 return 0;
32817}
32818_ACEOF
32819rm -f conftest.$ac_objext
32820if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 32821 (eval $ac_compile) 2>conftest.er1
a848cd7e 32822 ac_status=$?
ac1cb8d3
VS
32823 grep -v '^ *+' conftest.er1 >conftest.err
32824 rm -f conftest.er1
32825 cat conftest.err >&5
a848cd7e
SC
32826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32827 (exit $ac_status); } &&
d1c38808 32828 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
32829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32830 (eval $ac_try) 2>&5
32831 ac_status=$?
32832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32833 (exit $ac_status); }; } &&
32834 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
32835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32836 (eval $ac_try) 2>&5
32837 ac_status=$?
32838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32839 (exit $ac_status); }; }; then
32840
32841 wx_cv_type_pthread_mutexattr_t=yes
32842
32843else
32844 echo "$as_me: failed program was:" >&5
32845sed 's/^/| /' conftest.$ac_ext >&5
32846
32847
32848 wx_cv_type_pthread_mutexattr_t=no
32849
32850
32851fi
ac1cb8d3 32852rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
32853
32854fi
32855echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
32856echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
32857
32858 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
32859 cat >>confdefs.h <<\_ACEOF
32860#define HAVE_PTHREAD_MUTEXATTR_T 1
32861_ACEOF
32862
32863 else
32864 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
32865echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
32866if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
32867 echo $ECHO_N "(cached) $ECHO_C" >&6
32868else
32869
32870 cat >conftest.$ac_ext <<_ACEOF
32871/* confdefs.h. */
32872_ACEOF
32873cat confdefs.h >>conftest.$ac_ext
32874cat >>conftest.$ac_ext <<_ACEOF
32875/* end confdefs.h. */
32876#include <pthread.h>
32877int
32878main ()
32879{
32880
32881 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
32882
32883 ;
32884 return 0;
32885}
32886_ACEOF
32887rm -f conftest.$ac_objext
32888if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 32889 (eval $ac_compile) 2>conftest.er1
a848cd7e 32890 ac_status=$?
ac1cb8d3
VS
32891 grep -v '^ *+' conftest.er1 >conftest.err
32892 rm -f conftest.er1
32893 cat conftest.err >&5
a848cd7e
SC
32894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32895 (exit $ac_status); } &&
d1c38808 32896 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
32897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32898 (eval $ac_try) 2>&5
32899 ac_status=$?
32900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32901 (exit $ac_status); }; } &&
32902 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
32903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32904 (eval $ac_try) 2>&5
32905 ac_status=$?
32906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32907 (exit $ac_status); }; }; then
32908
32909 wx_cv_type_pthread_rec_mutex_init=yes
32910
32911else
32912 echo "$as_me: failed program was:" >&5
32913sed 's/^/| /' conftest.$ac_ext >&5
32914
32915
32916 wx_cv_type_pthread_rec_mutex_init=no
32917
32918
32919fi
ac1cb8d3 32920rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
32921
32922fi
32923echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
32924echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
32925 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
32926 cat >>confdefs.h <<\_ACEOF
32927#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
32928_ACEOF
32929
32930 else
32931 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
32932echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
32933 fi
32934 fi
32935 fi
32936
32937else
32938 if test "$wxUSE_THREADS" = "yes" ; then
32939 case "${host}" in
32940 *-*-mingw32* )
32941 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
32942echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
32943if test "${wx_cv_cflags_mthread+set}" = set; then
32944 echo $ECHO_N "(cached) $ECHO_C" >&6
32945else
32946
32947 CFLAGS_OLD="$CFLAGS"
32948 CFLAGS="$CFLAGS -mthreads"
32949 cat >conftest.$ac_ext <<_ACEOF
32950/* confdefs.h. */
32951_ACEOF
32952cat confdefs.h >>conftest.$ac_ext
32953cat >>conftest.$ac_ext <<_ACEOF
32954/* end confdefs.h. */
32955
32956int
32957main ()
32958{
32959
32960 ;
32961 return 0;
32962}
32963_ACEOF
32964rm -f conftest.$ac_objext
32965if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 32966 (eval $ac_compile) 2>conftest.er1
a848cd7e 32967 ac_status=$?
ac1cb8d3
VS
32968 grep -v '^ *+' conftest.er1 >conftest.err
32969 rm -f conftest.er1
32970 cat conftest.err >&5
a848cd7e
SC
32971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32972 (exit $ac_status); } &&
d1c38808 32973 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
32974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32975 (eval $ac_try) 2>&5
32976 ac_status=$?
32977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32978 (exit $ac_status); }; } &&
32979 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
32980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32981 (eval $ac_try) 2>&5
32982 ac_status=$?
32983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32984 (exit $ac_status); }; }; then
32985 wx_cv_cflags_mthread=yes
32986else
32987 echo "$as_me: failed program was:" >&5
32988sed 's/^/| /' conftest.$ac_ext >&5
32989
32990wx_cv_cflags_mthread=no
32991
32992fi
ac1cb8d3 32993rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
32994
32995
32996fi
32997echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
32998echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
32999
33000 if test "$wx_cv_cflags_mthread" = "yes"; then
33001 CXXFLAGS="$CXXFLAGS -mthreads"
33002 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
33003 LDFLAGS="$LDFLAGS -mthreads"
33004 else
33005 CFLAGS="$CFLAGS_OLD"
33006 fi
33007 ;;
33008 *-pc-os2*emx )
33009 CFLAGS="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
33010 CXXFLAGS="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
33011 LDFLAGS="$LDFLAGS -Zmt"
33012 ;;
33013 esac
33014 fi
33015fi
33016
33017if test "$wxUSE_THREADS" = "yes"; then
33018 cat >>confdefs.h <<\_ACEOF
33019#define wxUSE_THREADS 1
33020_ACEOF
33021
33022
33023 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
33024else
33025 if test "$ac_cv_func_strtok_r" = "yes"; then
33026 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
33027echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
33028 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
33029 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
33030 echo "$as_me:$LINENO: result: yes" >&5
33031echo "${ECHO_T}yes" >&6
33032 else
33033 echo "$as_me:$LINENO: result: no" >&5
33034echo "${ECHO_T}no" >&6
33035 fi
33036 fi
33037fi
33038
33039if test "$WXGTK20" = 1 ; then
33040 cat >>confdefs.h <<_ACEOF
33041#define __WXGTK20__ $WXGTK20
33042_ACEOF
33043
33044 WXGTK12=1
33045fi
33046
33047if test "$WXGTK12" = 1 ; then
33048 cat >>confdefs.h <<_ACEOF
33049#define __WXGTK12__ $WXGTK12
33050_ACEOF
33051
33052fi
33053
33054if test "$WXGTK127" = 1 ; then
33055 cat >>confdefs.h <<_ACEOF
33056#define __WXGTK127__ $WXGTK127
33057_ACEOF
33058
33059fi
33060
33061if test "$WXGPE" = 1 ; then
33062 cat >>confdefs.h <<_ACEOF
33063#define __WXGPE__ $WXGPE
33064_ACEOF
33065
33066fi
33067
33068WXDEBUG=
33069
33070if test "$wxUSE_DEBUG_INFO" = "yes" ; then
33071 WXDEBUG="-g"
33072 wxUSE_OPTIMISE=no
33073fi
33074
33075if test "$wxUSE_DEBUG_GDB" = "yes" ; then
33076 wxUSE_DEBUG_INFO=yes
33077 WXDEBUG="-ggdb"
33078fi
33079
33080if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
33081 cat >>confdefs.h <<\_ACEOF
33082#define WXDEBUG 1
33083_ACEOF
33084
33085 WXDEBUG_DEFINE="-D__WXDEBUG__"
33086else
33087 if test "$wxUSE_GTK" = 1 ; then
33088 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
33089 fi
33090fi
33091
33092if test "$wxUSE_MEM_TRACING" = "yes" ; then
33093 cat >>confdefs.h <<\_ACEOF
33094#define wxUSE_MEMORY_TRACING 1
33095_ACEOF
33096
33097 cat >>confdefs.h <<\_ACEOF
33098#define wxUSE_GLOBAL_MEMORY_OPERATORS 1
33099_ACEOF
33100
33101 cat >>confdefs.h <<\_ACEOF
33102#define wxUSE_DEBUG_NEW_ALWAYS 1
33103_ACEOF
33104
33105 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
33106fi
33107
33108if test "$wxUSE_DMALLOC" = "yes" ; then
33109 DMALLOC_LIBS="-ldmalloc"
33110fi
33111
33112PROFILE=
33113if test "$wxUSE_PROFILE" = "yes" ; then
33114 PROFILE=" -pg"
33115fi
33116
33117CODE_GEN_FLAGS=
33118CODE_GEN_FLAGS_CXX=
33119if test "$GCC" = "yes" ; then
33120 if test "$wxUSE_NO_RTTI" = "yes" ; then
33121 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
33122 fi
33123 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33124 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
33125 fi
33126 if test "$wxUSE_PERMISSIVE" = "yes" ; then
33127 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
33128 fi
33129
33130 case "${host}" in
33131 powerpc*-*-aix* )
33132 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
33133 ;;
33134 *-hppa* )
33135 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
33136 ;;
33137 esac
33138fi
33139
33140OPTIMISE=
33141if test "$wxUSE_OPTIMISE" = "no" ; then
33142 if test "$GCC" = yes ; then
33143 OPTIMISE="-O0"
33144 fi
33145else
33146 if test "$GCC" = yes ; then
33147 OPTIMISE="-O2"
33148
33149 case "${host}" in
33150 i586-*-*|i686-*-* )
33151 OPTIMISE="${OPTIMISE} "
33152 ;;
33153 esac
33154 else
33155 OPTIMISE="-O"
33156 fi
33157fi
33158
33159
33160if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
33161 cat >>confdefs.h <<\_ACEOF
33162#define WXWIN_COMPATIBILITY_2_2 1
33163_ACEOF
33164
33165
33166 WXWIN_COMPATIBILITY_2_4="yes"
33167fi
33168
33169if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
33170 cat >>confdefs.h <<\_ACEOF
33171#define WXWIN_COMPATIBILITY_2_4 1
33172_ACEOF
33173
33174fi
33175
33176
33177if test "$wxUSE_GUI" = "yes"; then
33178 cat >>confdefs.h <<\_ACEOF
33179#define wxUSE_GUI 1
33180_ACEOF
33181
33182
33183 else
33184 cat >>confdefs.h <<\_ACEOF
33185#define wxUSE_NOGUI 1
33186_ACEOF
33187
33188fi
33189
33190
33191if test "$wxUSE_UNIX" = "yes"; then
33192 cat >>confdefs.h <<\_ACEOF
33193#define wxUSE_UNIX 1
33194_ACEOF
33195
33196fi
33197
33198
33199if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33200
33201 HAVE_DL_FUNCS=0
33202 HAVE_SHL_FUNCS=0
33203 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33204 if test "$USE_DARWIN" = 1; then
33205 HAVE_DL_FUNCS=1
33206 else
33207
33208for ac_func in dlopen
33209do
33210as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33211echo "$as_me:$LINENO: checking for $ac_func" >&5
33212echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33213if eval "test \"\${$as_ac_var+set}\" = set"; then
33214 echo $ECHO_N "(cached) $ECHO_C" >&6
33215else
33216 cat >conftest.$ac_ext <<_ACEOF
33217/* confdefs.h. */
33218_ACEOF
33219cat confdefs.h >>conftest.$ac_ext
33220cat >>conftest.$ac_ext <<_ACEOF
33221/* end confdefs.h. */
ac1cb8d3
VS
33222/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33223 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33224#define $ac_func innocuous_$ac_func
33225
a848cd7e
SC
33226/* System header to define __stub macros and hopefully few prototypes,
33227 which can conflict with char $ac_func (); below.
33228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33229 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 33230
a848cd7e
SC
33231#ifdef __STDC__
33232# include <limits.h>
33233#else
33234# include <assert.h>
33235#endif
ac1cb8d3
VS
33236
33237#undef $ac_func
33238
a848cd7e
SC
33239/* Override any gcc2 internal prototype to avoid an error. */
33240#ifdef __cplusplus
33241extern "C"
33242{
33243#endif
33244/* We use char because int might match the return type of a gcc2
33245 builtin and then its argument prototype would still apply. */
33246char $ac_func ();
33247/* The GNU C library defines this for functions which it implements
33248 to always fail with ENOSYS. Some functions are actually named
33249 something starting with __ and the normal name is an alias. */
33250#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33251choke me
33252#else
33253char (*f) () = $ac_func;
33254#endif
33255#ifdef __cplusplus
33256}
33257#endif
33258
33259int
33260main ()
33261{
33262return f != $ac_func;
33263 ;
33264 return 0;
33265}
33266_ACEOF
33267rm -f conftest.$ac_objext conftest$ac_exeext
33268if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 33269 (eval $ac_link) 2>conftest.er1
a848cd7e 33270 ac_status=$?
ac1cb8d3
VS
33271 grep -v '^ *+' conftest.er1 >conftest.err
33272 rm -f conftest.er1
33273 cat conftest.err >&5
a848cd7e
SC
33274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33275 (exit $ac_status); } &&
d1c38808 33276 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
33277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33278 (eval $ac_try) 2>&5
33279 ac_status=$?
33280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33281 (exit $ac_status); }; } &&
33282 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
33283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33284 (eval $ac_try) 2>&5
33285 ac_status=$?
33286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33287 (exit $ac_status); }; }; then
33288 eval "$as_ac_var=yes"
33289else
33290 echo "$as_me: failed program was:" >&5
33291sed 's/^/| /' conftest.$ac_ext >&5
33292
33293eval "$as_ac_var=no"
33294fi
ac1cb8d3
VS
33295rm -f conftest.err conftest.$ac_objext \
33296 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
33297fi
33298echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33299echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33300if test `eval echo '${'$as_ac_var'}'` = yes; then
33301 cat >>confdefs.h <<_ACEOF
33302#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33303_ACEOF
33304
33305 cat >>confdefs.h <<\_ACEOF
33306#define HAVE_DLOPEN 1
33307_ACEOF
33308
33309 HAVE_DL_FUNCS=1
33310
33311else
33312
33313 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
33314echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
33315if test "${ac_cv_lib_dl_dlopen+set}" = set; then
33316 echo $ECHO_N "(cached) $ECHO_C" >&6
33317else
33318 ac_check_lib_save_LIBS=$LIBS
33319LIBS="-ldl $LIBS"
33320cat >conftest.$ac_ext <<_ACEOF
33321/* confdefs.h. */
33322_ACEOF
33323cat confdefs.h >>conftest.$ac_ext
33324cat >>conftest.$ac_ext <<_ACEOF
33325/* end confdefs.h. */
33326
33327/* Override any gcc2 internal prototype to avoid an error. */
33328#ifdef __cplusplus
33329extern "C"
33330#endif
33331/* We use char because int might match the return type of a gcc2
33332 builtin and then its argument prototype would still apply. */
33333char dlopen ();
33334int
33335main ()
33336{
33337dlopen ();
33338 ;
33339 return 0;
33340}
33341_ACEOF
33342rm -f conftest.$ac_objext conftest$ac_exeext
33343if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 33344 (eval $ac_link) 2>conftest.er1
a848cd7e 33345 ac_status=$?
ac1cb8d3
VS
33346 grep -v '^ *+' conftest.er1 >conftest.err
33347 rm -f conftest.er1
33348 cat conftest.err >&5
a848cd7e
SC
33349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33350 (exit $ac_status); } &&
d1c38808 33351 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
33352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33353 (eval $ac_try) 2>&5
33354 ac_status=$?
33355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33356 (exit $ac_status); }; } &&
33357 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
33358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33359 (eval $ac_try) 2>&5
33360 ac_status=$?
33361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33362 (exit $ac_status); }; }; then
33363 ac_cv_lib_dl_dlopen=yes
33364else
33365 echo "$as_me: failed program was:" >&5
33366sed 's/^/| /' conftest.$ac_ext >&5
33367
33368ac_cv_lib_dl_dlopen=no
33369fi
ac1cb8d3
VS
33370rm -f conftest.err conftest.$ac_objext \
33371 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
33372LIBS=$ac_check_lib_save_LIBS
33373fi
33374echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
33375echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
33376if test $ac_cv_lib_dl_dlopen = yes; then
33377
33378 cat >>confdefs.h <<\_ACEOF
33379#define HAVE_DLOPEN 1
33380_ACEOF
33381
33382 HAVE_DL_FUNCS=1
33383 DL_LINK=" -ldl$DL_LINK"
33384
33385else
33386
33387
33388for ac_func in shl_load
33389do
33390as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33391echo "$as_me:$LINENO: checking for $ac_func" >&5
33392echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33393if eval "test \"\${$as_ac_var+set}\" = set"; then
33394 echo $ECHO_N "(cached) $ECHO_C" >&6
33395else
33396 cat >conftest.$ac_ext <<_ACEOF
33397/* confdefs.h. */
33398_ACEOF
33399cat confdefs.h >>conftest.$ac_ext
33400cat >>conftest.$ac_ext <<_ACEOF
33401/* end confdefs.h. */
ac1cb8d3
VS
33402/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33403 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33404#define $ac_func innocuous_$ac_func
33405
a848cd7e
SC
33406/* System header to define __stub macros and hopefully few prototypes,
33407 which can conflict with char $ac_func (); below.
33408 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33409 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 33410
a848cd7e
SC
33411#ifdef __STDC__
33412# include <limits.h>
33413#else
33414# include <assert.h>
33415#endif
ac1cb8d3
VS
33416
33417#undef $ac_func
33418
a848cd7e
SC
33419/* Override any gcc2 internal prototype to avoid an error. */
33420#ifdef __cplusplus
33421extern "C"
33422{
33423#endif
33424/* We use char because int might match the return type of a gcc2
33425 builtin and then its argument prototype would still apply. */
33426char $ac_func ();
33427/* The GNU C library defines this for functions which it implements
33428 to always fail with ENOSYS. Some functions are actually named
33429 something starting with __ and the normal name is an alias. */
33430#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33431choke me
33432#else
33433char (*f) () = $ac_func;
33434#endif
33435#ifdef __cplusplus
33436}
33437#endif
33438
33439int
33440main ()
33441{
33442return f != $ac_func;
33443 ;
33444 return 0;
33445}
33446_ACEOF
33447rm -f conftest.$ac_objext conftest$ac_exeext
33448if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 33449 (eval $ac_link) 2>conftest.er1
a848cd7e 33450 ac_status=$?
ac1cb8d3
VS
33451 grep -v '^ *+' conftest.er1 >conftest.err
33452 rm -f conftest.er1
33453 cat conftest.err >&5
a848cd7e
SC
33454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33455 (exit $ac_status); } &&
d1c38808 33456 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
33457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33458 (eval $ac_try) 2>&5
33459 ac_status=$?
33460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33461 (exit $ac_status); }; } &&
33462 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
33463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33464 (eval $ac_try) 2>&5
33465 ac_status=$?
33466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33467 (exit $ac_status); }; }; then
33468 eval "$as_ac_var=yes"
33469else
33470 echo "$as_me: failed program was:" >&5
33471sed 's/^/| /' conftest.$ac_ext >&5
33472
33473eval "$as_ac_var=no"
33474fi
ac1cb8d3
VS
33475rm -f conftest.err conftest.$ac_objext \
33476 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
33477fi
33478echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33479echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33480if test `eval echo '${'$as_ac_var'}'` = yes; then
33481 cat >>confdefs.h <<_ACEOF
33482#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33483_ACEOF
33484
33485 cat >>confdefs.h <<\_ACEOF
33486#define HAVE_SHL_LOAD 1
33487_ACEOF
33488
33489 HAVE_SHL_FUNCS=1
33490
33491else
33492
33493 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
33494echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
33495if test "${ac_cv_lib_shl_load_dld+set}" = set; then
33496 echo $ECHO_N "(cached) $ECHO_C" >&6
33497else
33498 ac_check_lib_save_LIBS=$LIBS
33499LIBS="-lshl_load $LIBS"
33500cat >conftest.$ac_ext <<_ACEOF
33501/* confdefs.h. */
33502_ACEOF
33503cat confdefs.h >>conftest.$ac_ext
33504cat >>conftest.$ac_ext <<_ACEOF
33505/* end confdefs.h. */
33506
33507/* Override any gcc2 internal prototype to avoid an error. */
33508#ifdef __cplusplus
33509extern "C"
33510#endif
33511/* We use char because int might match the return type of a gcc2
33512 builtin and then its argument prototype would still apply. */
33513char dld ();
33514int
33515main ()
33516{
33517dld ();
33518 ;
33519 return 0;
33520}
33521_ACEOF
33522rm -f conftest.$ac_objext conftest$ac_exeext
33523if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 33524 (eval $ac_link) 2>conftest.er1
a848cd7e 33525 ac_status=$?
ac1cb8d3
VS
33526 grep -v '^ *+' conftest.er1 >conftest.err
33527 rm -f conftest.er1
33528 cat conftest.err >&5
a848cd7e
SC
33529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33530 (exit $ac_status); } &&
d1c38808 33531 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
33532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33533 (eval $ac_try) 2>&5
33534 ac_status=$?
33535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33536 (exit $ac_status); }; } &&
33537 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
33538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33539 (eval $ac_try) 2>&5
33540 ac_status=$?
33541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33542 (exit $ac_status); }; }; then
33543 ac_cv_lib_shl_load_dld=yes
33544else
33545 echo "$as_me: failed program was:" >&5
33546sed 's/^/| /' conftest.$ac_ext >&5
33547
33548ac_cv_lib_shl_load_dld=no
33549fi
ac1cb8d3
VS
33550rm -f conftest.err conftest.$ac_objext \
33551 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
33552LIBS=$ac_check_lib_save_LIBS
33553fi
33554echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
33555echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
33556if test $ac_cv_lib_shl_load_dld = yes; then
33557
33558 HAVE_SHL_FUNCS=1
33559 DL_LINK=" -ldld$DL_LINK"
33560
33561fi
33562
33563
33564fi
33565done
33566
33567
33568fi
33569
33570
33571fi
33572done
33573
33574
33575 if test "$HAVE_DL_FUNCS" = 1; then
33576
33577for ac_func in dlerror
33578do
33579as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33580echo "$as_me:$LINENO: checking for $ac_func" >&5
33581echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33582if eval "test \"\${$as_ac_var+set}\" = set"; then
33583 echo $ECHO_N "(cached) $ECHO_C" >&6
33584else
33585 cat >conftest.$ac_ext <<_ACEOF
33586/* confdefs.h. */
33587_ACEOF
33588cat confdefs.h >>conftest.$ac_ext
33589cat >>conftest.$ac_ext <<_ACEOF
33590/* end confdefs.h. */
ac1cb8d3
VS
33591/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33592 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33593#define $ac_func innocuous_$ac_func
33594
a848cd7e
SC
33595/* System header to define __stub macros and hopefully few prototypes,
33596 which can conflict with char $ac_func (); below.
33597 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33598 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 33599
a848cd7e
SC
33600#ifdef __STDC__
33601# include <limits.h>
33602#else
33603# include <assert.h>
33604#endif
ac1cb8d3
VS
33605
33606#undef $ac_func
33607
a848cd7e
SC
33608/* Override any gcc2 internal prototype to avoid an error. */
33609#ifdef __cplusplus
33610extern "C"
33611{
33612#endif
33613/* We use char because int might match the return type of a gcc2
33614 builtin and then its argument prototype would still apply. */
33615char $ac_func ();
33616/* The GNU C library defines this for functions which it implements
33617 to always fail with ENOSYS. Some functions are actually named
33618 something starting with __ and the normal name is an alias. */
33619#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33620choke me
33621#else
33622char (*f) () = $ac_func;
33623#endif
33624#ifdef __cplusplus
33625}
33626#endif
33627
33628int
33629main ()
33630{
33631return f != $ac_func;
33632 ;
33633 return 0;
33634}
33635_ACEOF
33636rm -f conftest.$ac_objext conftest$ac_exeext
33637if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 33638 (eval $ac_link) 2>conftest.er1
a848cd7e 33639 ac_status=$?
ac1cb8d3
VS
33640 grep -v '^ *+' conftest.er1 >conftest.err
33641 rm -f conftest.er1
33642 cat conftest.err >&5
a848cd7e
SC
33643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33644 (exit $ac_status); } &&
d1c38808 33645 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
33646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33647 (eval $ac_try) 2>&5
33648 ac_status=$?
33649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33650 (exit $ac_status); }; } &&
33651 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
33652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33653 (eval $ac_try) 2>&5
33654 ac_status=$?
33655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33656 (exit $ac_status); }; }; then
33657 eval "$as_ac_var=yes"
33658else
33659 echo "$as_me: failed program was:" >&5
33660sed 's/^/| /' conftest.$ac_ext >&5
33661
33662eval "$as_ac_var=no"
33663fi
ac1cb8d3
VS
33664rm -f conftest.err conftest.$ac_objext \
33665 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
33666fi
33667echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33668echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33669if test `eval echo '${'$as_ac_var'}'` = yes; then
33670 cat >>confdefs.h <<_ACEOF
33671#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33672_ACEOF
33673 cat >>confdefs.h <<\_ACEOF
33674#define HAVE_DLERROR 1
33675_ACEOF
33676
33677else
33678
33679 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
33680echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
33681if test "${ac_cv_lib_dl_dlerror+set}" = set; then
33682 echo $ECHO_N "(cached) $ECHO_C" >&6
33683else
33684 ac_check_lib_save_LIBS=$LIBS
33685LIBS="-ldl $LIBS"
33686cat >conftest.$ac_ext <<_ACEOF
33687/* confdefs.h. */
33688_ACEOF
33689cat confdefs.h >>conftest.$ac_ext
33690cat >>conftest.$ac_ext <<_ACEOF
33691/* end confdefs.h. */
33692
33693/* Override any gcc2 internal prototype to avoid an error. */
33694#ifdef __cplusplus
33695extern "C"
33696#endif
33697/* We use char because int might match the return type of a gcc2
33698 builtin and then its argument prototype would still apply. */
33699char dlerror ();
33700int
33701main ()
33702{
33703dlerror ();
33704 ;
33705 return 0;
33706}
33707_ACEOF
33708rm -f conftest.$ac_objext conftest$ac_exeext
33709if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 33710 (eval $ac_link) 2>conftest.er1
a848cd7e 33711 ac_status=$?
ac1cb8d3
VS
33712 grep -v '^ *+' conftest.er1 >conftest.err
33713 rm -f conftest.er1
33714 cat conftest.err >&5
a848cd7e
SC
33715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33716 (exit $ac_status); } &&
d1c38808 33717 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
33718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33719 (eval $ac_try) 2>&5
33720 ac_status=$?
33721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33722 (exit $ac_status); }; } &&
33723 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
33724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33725 (eval $ac_try) 2>&5
33726 ac_status=$?
33727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33728 (exit $ac_status); }; }; then
33729 ac_cv_lib_dl_dlerror=yes
33730else
33731 echo "$as_me: failed program was:" >&5
33732sed 's/^/| /' conftest.$ac_ext >&5
33733
33734ac_cv_lib_dl_dlerror=no
33735fi
ac1cb8d3
VS
33736rm -f conftest.err conftest.$ac_objext \
33737 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
33738LIBS=$ac_check_lib_save_LIBS
33739fi
33740echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
33741echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
33742if test $ac_cv_lib_dl_dlerror = yes; then
33743 cat >>confdefs.h <<\_ACEOF
33744#define HAVE_DLERROR 1
33745_ACEOF
33746
33747fi
33748
33749
33750
33751fi
33752done
33753
33754 fi
33755 fi
33756
33757 if test "$HAVE_DL_FUNCS" = 0; then
33758 if test "$HAVE_SHL_FUNCS" = 0; then
33759 if test "$USE_UNIX" = 1; then
33760 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
33761echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
33762 wxUSE_DYNAMIC_LOADER=no
33763 wxUSE_DYNLIB_CLASS=no
33764 else
33765 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
33766echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
33767 fi
33768 fi
33769 fi
33770 fi
33771fi
33772
33773if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
33774 cat >>confdefs.h <<\_ACEOF
33775#define wxUSE_DYNAMIC_LOADER 1
33776_ACEOF
33777
33778fi
33779if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33780 cat >>confdefs.h <<\_ACEOF
33781#define wxUSE_DYNLIB_CLASS 1
33782_ACEOF
33783
33784fi
33785
33786
33787
33788if test "$wxUSE_PLUGINS" = "yes" ; then
33789 if test "$wxUSE_SHARED" = "no" ; then
33790 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
33791echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
33792 wxUSE_PLUGINS=no
33793 fi
33794 if test "$wxUSE_MONOLITHIC" = "yes" ; then
33795 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
33796echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
33797 wxUSE_PLUGINS=no
33798 fi
33799 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
33800 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
33801echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
33802 wxUSE_PLUGINS=no
33803 fi
33804 if test "$wxUSE_PLUGINS" = "yes" ; then
33805 cat >>confdefs.h <<\_ACEOF
33806#define wxUSE_PLUGINS 1
33807_ACEOF
33808
33809 fi
33810fi
33811
33812
33813if test "$wxUSE_STL" = "yes"; then
33814 cat >>confdefs.h <<\_ACEOF
33815#define wxUSE_STL 1
33816_ACEOF
33817
33818fi
33819
33820if test "$wxUSE_APPLE_IEEE" = "yes"; then
33821 cat >>confdefs.h <<\_ACEOF
33822#define wxUSE_APPLE_IEEE 1
33823_ACEOF
33824
33825fi
33826
33827if test "$wxUSE_TIMER" = "yes"; then
33828 cat >>confdefs.h <<\_ACEOF
33829#define wxUSE_TIMER 1
33830_ACEOF
33831
33832fi
33833
33834WITH_PLUGIN_SDL=0
33835if test "$wxUSE_SOUND" = "yes"; then
33836 if test "$USE_UNIX" = "1" ; then
33837
33838for ac_header in sys/soundcard.h
33839do
33840as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33841if eval "test \"\${$as_ac_Header+set}\" = set"; then
33842 echo "$as_me:$LINENO: checking for $ac_header" >&5
33843echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33844if eval "test \"\${$as_ac_Header+set}\" = set"; then
33845 echo $ECHO_N "(cached) $ECHO_C" >&6
33846fi
33847echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33848echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33849else
33850 # Is the header compilable?
33851echo "$as_me:$LINENO: checking $ac_header usability" >&5
33852echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33853cat >conftest.$ac_ext <<_ACEOF
33854/* confdefs.h. */
33855_ACEOF
33856cat confdefs.h >>conftest.$ac_ext
33857cat >>conftest.$ac_ext <<_ACEOF
33858/* end confdefs.h. */
33859$ac_includes_default
33860#include <$ac_header>
33861_ACEOF
33862rm -f conftest.$ac_objext
33863if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 33864 (eval $ac_compile) 2>conftest.er1
a848cd7e 33865 ac_status=$?
ac1cb8d3
VS
33866 grep -v '^ *+' conftest.er1 >conftest.err
33867 rm -f conftest.er1
33868 cat conftest.err >&5
a848cd7e
SC
33869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33870 (exit $ac_status); } &&
d1c38808 33871 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
33872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33873 (eval $ac_try) 2>&5
33874 ac_status=$?
33875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33876 (exit $ac_status); }; } &&
33877 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
33878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33879 (eval $ac_try) 2>&5
33880 ac_status=$?
33881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33882 (exit $ac_status); }; }; then
33883 ac_header_compiler=yes
33884else
33885 echo "$as_me: failed program was:" >&5
33886sed 's/^/| /' conftest.$ac_ext >&5
33887
33888ac_header_compiler=no
33889fi
ac1cb8d3 33890rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
33891echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33892echo "${ECHO_T}$ac_header_compiler" >&6
33893
33894# Is the header present?
33895echo "$as_me:$LINENO: checking $ac_header presence" >&5
33896echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33897cat >conftest.$ac_ext <<_ACEOF
33898/* confdefs.h. */
33899_ACEOF
33900cat confdefs.h >>conftest.$ac_ext
33901cat >>conftest.$ac_ext <<_ACEOF
33902/* end confdefs.h. */
33903#include <$ac_header>
33904_ACEOF
33905if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33906 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33907 ac_status=$?
33908 grep -v '^ *+' conftest.er1 >conftest.err
33909 rm -f conftest.er1
33910 cat conftest.err >&5
33911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33912 (exit $ac_status); } >/dev/null; then
33913 if test -s conftest.err; then
33914 ac_cpp_err=$ac_c_preproc_warn_flag
ac1cb8d3 33915 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
a848cd7e
SC
33916 else
33917 ac_cpp_err=
33918 fi
33919else
33920 ac_cpp_err=yes
33921fi
33922if test -z "$ac_cpp_err"; then
33923 ac_header_preproc=yes
33924else
33925 echo "$as_me: failed program was:" >&5
33926sed 's/^/| /' conftest.$ac_ext >&5
33927
33928 ac_header_preproc=no
33929fi
33930rm -f conftest.err conftest.$ac_ext
33931echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33932echo "${ECHO_T}$ac_header_preproc" >&6
33933
33934# So? What about this header?
ac1cb8d3
VS
33935case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33936 yes:no: )
a848cd7e
SC
33937 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33938echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
ac1cb8d3
VS
33939 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33940echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33941 ac_header_preproc=yes
a848cd7e 33942 ;;
ac1cb8d3 33943 no:yes:* )
a848cd7e
SC
33944 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33945echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
ac1cb8d3
VS
33946 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33947echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33948 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33949echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33950 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33951echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
a848cd7e
SC
33952 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33953echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
ac1cb8d3
VS
33954 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33955echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
a848cd7e
SC
33956 (
33957 cat <<\_ASBOX
ac1cb8d3
VS
33958## ----------------------------------------- ##
33959## Report this to wx-dev@lists.wxwidgets.org ##
33960## ----------------------------------------- ##
a848cd7e
SC
33961_ASBOX
33962 ) |
33963 sed "s/^/$as_me: WARNING: /" >&2
33964 ;;
33965esac
33966echo "$as_me:$LINENO: checking for $ac_header" >&5
33967echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33968if eval "test \"\${$as_ac_Header+set}\" = set"; then
33969 echo $ECHO_N "(cached) $ECHO_C" >&6
33970else
ac1cb8d3 33971 eval "$as_ac_Header=\$ac_header_preproc"
a848cd7e
SC
33972fi
33973echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33974echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33975
33976fi
33977if test `eval echo '${'$as_ac_Header'}'` = yes; then
33978 cat >>confdefs.h <<_ACEOF
33979#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33980_ACEOF
33981
33982fi
33983
33984done
33985
33986
33987 if test "$wxUSE_LIBSDL" != "no"; then
33988
33989# Check whether --with-sdl-prefix or --without-sdl-prefix was given.
33990if test "${with_sdl_prefix+set}" = set; then
33991 withval="$with_sdl_prefix"
33992 sdl_prefix="$withval"
33993else
33994 sdl_prefix=""
33995fi;
33996
33997# Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
33998if test "${with_sdl_exec_prefix+set}" = set; then
33999 withval="$with_sdl_exec_prefix"
34000 sdl_exec_prefix="$withval"
34001else
34002 sdl_exec_prefix=""
34003fi;
34004# Check whether --enable-sdltest or --disable-sdltest was given.
34005if test "${enable_sdltest+set}" = set; then
34006 enableval="$enable_sdltest"
34007
34008else
34009 enable_sdltest=yes
34010fi;
34011
34012 if test x$sdl_exec_prefix != x ; then
34013 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
34014 if test x${SDL_CONFIG+set} != xset ; then
34015 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
34016 fi
34017 fi
34018 if test x$sdl_prefix != x ; then
34019 sdl_args="$sdl_args --prefix=$sdl_prefix"
34020 if test x${SDL_CONFIG+set} != xset ; then
34021 SDL_CONFIG=$sdl_prefix/bin/sdl-config
34022 fi
34023 fi
34024
34025
34026 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
34027 # Extract the first word of "sdl-config", so it can be a program name with args.
34028set dummy sdl-config; ac_word=$2
34029echo "$as_me:$LINENO: checking for $ac_word" >&5
34030echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34031if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
34032 echo $ECHO_N "(cached) $ECHO_C" >&6
34033else
34034 case $SDL_CONFIG in
34035 [\\/]* | ?:[\\/]*)
34036 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
34037 ;;
34038 *)
34039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34040for as_dir in $PATH
34041do
34042 IFS=$as_save_IFS
34043 test -z "$as_dir" && as_dir=.
34044 for ac_exec_ext in '' $ac_executable_extensions; do
34045 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34046 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
34047 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34048 break 2
34049 fi
34050done
34051done
34052
34053 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
34054 ;;
34055esac
34056fi
34057SDL_CONFIG=$ac_cv_path_SDL_CONFIG
34058
34059if test -n "$SDL_CONFIG"; then
34060 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
34061echo "${ECHO_T}$SDL_CONFIG" >&6
34062else
34063 echo "$as_me:$LINENO: result: no" >&5
34064echo "${ECHO_T}no" >&6
34065fi
34066
34067 min_sdl_version=1.2.0
34068 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
34069echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
34070 no_sdl=""
34071 if test "$SDL_CONFIG" = "no" ; then
34072 no_sdl=yes
34073 else
34074 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
34075 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
34076
34077 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
34078 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
34079 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
34080 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
34081 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
34082 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
34083 if test "x$enable_sdltest" = "xyes" ; then
34084 ac_save_CFLAGS="$CFLAGS"
34085 ac_save_LIBS="$LIBS"
34086 CFLAGS="$CFLAGS $SDL_CFLAGS"
34087 LIBS="$LIBS $SDL_LIBS"
34088 rm -f conf.sdltest
34089 if test "$cross_compiling" = yes; then
34090 echo $ac_n "cross compiling; assumed OK... $ac_c"
34091else
34092 cat >conftest.$ac_ext <<_ACEOF
34093/* confdefs.h. */
34094_ACEOF
34095cat confdefs.h >>conftest.$ac_ext
34096cat >>conftest.$ac_ext <<_ACEOF
34097/* end confdefs.h. */
34098
34099#include <stdio.h>
34100#include <stdlib.h>
34101#include <string.h>
34102#include "SDL.h"
34103
34104char*
34105my_strdup (char *str)
34106{
34107 char *new_str;
34108
34109 if (str)
34110 {
34111 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
34112 strcpy (new_str, str);
34113 }
34114 else
34115 new_str = NULL;
34116
34117 return new_str;
34118}
34119
34120int main (int argc, char *argv[])
34121{
34122 int major, minor, micro;
34123 char *tmp_version;
34124
34125 /* This hangs on some systems (?)
34126 system ("touch conf.sdltest");
34127 */
34128 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
34129
34130 /* HP/UX 9 (%@#!) writes to sscanf strings */
34131 tmp_version = my_strdup("$min_sdl_version");
34132 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
34133 printf("%s, bad version string\n", "$min_sdl_version");
34134 exit(1);
34135 }
34136
34137 if (($sdl_major_version > major) ||
34138 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
34139 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
34140 {
34141 return 0;
34142 }
34143 else
34144 {
34145 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
34146 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
34147 printf("*** best to upgrade to the required version.\n");
34148 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
34149 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
34150 printf("*** config.cache before re-running configure\n");
34151 return 1;
34152 }
34153}
34154
34155
34156_ACEOF
34157rm -f conftest$ac_exeext
34158if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34159 (eval $ac_link) 2>&5
34160 ac_status=$?
34161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34162 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34164 (eval $ac_try) 2>&5
34165 ac_status=$?
34166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34167 (exit $ac_status); }; }; then
34168 :
34169else
34170 echo "$as_me: program exited with status $ac_status" >&5
34171echo "$as_me: failed program was:" >&5
34172sed 's/^/| /' conftest.$ac_ext >&5
34173
34174( exit $ac_status )
34175no_sdl=yes
34176fi
ac1cb8d3 34177rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
34178fi
34179 CFLAGS="$ac_save_CFLAGS"
34180 LIBS="$ac_save_LIBS"
34181 fi
34182 fi
34183 if test "x$no_sdl" = x ; then
34184 echo "$as_me:$LINENO: result: yes" >&5
34185echo "${ECHO_T}yes" >&6
34186
34187 EXTRALIBS_SDL="$SDL_LIBS"
34188 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
34189 cat >>confdefs.h <<\_ACEOF
34190#define wxUSE_LIBSDL 1
34191_ACEOF
34192
34193
34194 else
34195 echo "$as_me:$LINENO: result: no" >&5
34196echo "${ECHO_T}no" >&6
34197 if test "$SDL_CONFIG" = "no" ; then
34198 echo "*** The sdl-config script installed by SDL could not be found"
34199 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
34200 echo "*** your path, or set the SDL_CONFIG environment variable to the"
34201 echo "*** full path to sdl-config."
34202 else
34203 if test -f conf.sdltest ; then
34204 :
34205 else
34206 echo "*** Could not run SDL test program, checking why..."
34207 CFLAGS="$CFLAGS $SDL_CFLAGS"
34208 LIBS="$LIBS $SDL_LIBS"
34209 cat >conftest.$ac_ext <<_ACEOF
34210/* confdefs.h. */
34211_ACEOF
34212cat confdefs.h >>conftest.$ac_ext
34213cat >>conftest.$ac_ext <<_ACEOF
34214/* end confdefs.h. */
34215
34216#include <stdio.h>
34217#include "SDL.h"
34218
34219int main(int argc, char *argv[])
34220{ return 0; }
34221#undef main
34222#define main K_and_R_C_main
34223
34224int
34225main ()
34226{
34227 return 0;
34228 ;
34229 return 0;
34230}
34231_ACEOF
34232rm -f conftest.$ac_objext conftest$ac_exeext
34233if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 34234 (eval $ac_link) 2>conftest.er1
a848cd7e 34235 ac_status=$?
ac1cb8d3
VS
34236 grep -v '^ *+' conftest.er1 >conftest.err
34237 rm -f conftest.er1
34238 cat conftest.err >&5
a848cd7e
SC
34239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34240 (exit $ac_status); } &&
d1c38808 34241 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
34242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34243 (eval $ac_try) 2>&5
34244 ac_status=$?
34245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34246 (exit $ac_status); }; } &&
34247 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
34248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34249 (eval $ac_try) 2>&5
34250 ac_status=$?
34251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34252 (exit $ac_status); }; }; then
34253 echo "*** The test program compiled, but did not run. This usually means"
34254 echo "*** that the run-time linker is not finding SDL or finding the wrong"
34255 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
34256 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
34257 echo "*** to the installed location Also, make sure you have run ldconfig if that"
34258 echo "*** is required on your system"
34259 echo "***"
34260 echo "*** If you have an old version installed, it is best to remove it, although"
34261 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
34262else
34263 echo "$as_me: failed program was:" >&5
34264sed 's/^/| /' conftest.$ac_ext >&5
34265
34266 echo "*** The test program failed to compile or link. See the file config.log for the"
34267 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
34268 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
34269 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
34270fi
ac1cb8d3
VS
34271rm -f conftest.err conftest.$ac_objext \
34272 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
34273 CFLAGS="$ac_save_CFLAGS"
34274 LIBS="$ac_save_LIBS"
34275 fi
34276 fi
34277 SDL_CFLAGS=""
34278 SDL_LIBS=""
34279 wxUSE_LIBSDL="no"
34280 fi
34281
34282
34283 rm -f conf.sdltest
34284
34285 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
34286 WITH_PLUGIN_SDL=1
34287 fi
34288 fi
34289 fi
34290
34291 cat >>confdefs.h <<\_ACEOF
34292#define wxUSE_SOUND 1
34293_ACEOF
34294
34295 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
34296fi
34297
d1c38808
VZ
34298if test "$WXGTK20" = 1; then
34299 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
34300 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
34301
34302
34303 succeeded=no
34304
34305 if test -z "$PKG_CONFIG"; then
34306 # Extract the first word of "pkg-config", so it can be a program name with args.
34307set dummy pkg-config; ac_word=$2
34308echo "$as_me:$LINENO: checking for $ac_word" >&5
34309echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34310if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
34311 echo $ECHO_N "(cached) $ECHO_C" >&6
34312else
34313 case $PKG_CONFIG in
34314 [\\/]* | ?:[\\/]*)
34315 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
34316 ;;
34317 *)
34318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34319for as_dir in $PATH
34320do
34321 IFS=$as_save_IFS
34322 test -z "$as_dir" && as_dir=.
34323 for ac_exec_ext in '' $ac_executable_extensions; do
34324 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34325 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
34326 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34327 break 2
34328 fi
34329done
34330done
34331
34332 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
34333 ;;
34334esac
34335fi
34336PKG_CONFIG=$ac_cv_path_PKG_CONFIG
34337
34338if test -n "$PKG_CONFIG"; then
34339 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
34340echo "${ECHO_T}$PKG_CONFIG" >&6
34341else
34342 echo "$as_me:$LINENO: result: no" >&5
34343echo "${ECHO_T}no" >&6
34344fi
34345
34346 fi
34347
34348 if test "$PKG_CONFIG" = "no" ; then
34349 echo "*** The pkg-config script could not be found. Make sure it is"
34350 echo "*** in your path, or set the PKG_CONFIG environment variable"
34351 echo "*** to the full path to pkg-config."
34352 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
34353 else
34354 PKG_CONFIG_MIN_VERSION=0.9.0
34355 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
34356 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2" >&5
34357echo $ECHO_N "checking for libgnomeprintui-2.2... $ECHO_C" >&6
34358
34359 if $PKG_CONFIG --exists "libgnomeprintui-2.2" ; then
34360 echo "$as_me:$LINENO: result: yes" >&5
34361echo "${ECHO_T}yes" >&6
34362 succeeded=yes
34363
34364 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
34365echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
34366 LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2"`
34367 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
34368echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
34369
34370 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
34371echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
34372 LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2"`
34373 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
34374echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
34375 else
34376 LIBGNOMEPRINTUI_CFLAGS=""
34377 LIBGNOMEPRINTUI_LIBS=""
34378 ## If we have a custom action on failure, don't print errors, but
34379 ## do set a variable so people can do so.
34380 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2"`
34381
34382 fi
34383
34384
34385
34386 else
34387 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
34388 echo "*** See http://www.freedesktop.org/software/pkgconfig"
34389 fi
34390 fi
34391
34392 if test $succeeded = yes; then
34393
34394 EXTRALIBS_GNOMEPRINT="$LIBGNOMEPRINTUI_LIBS"
34395 CXXFLAGS="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
34396 cat >>confdefs.h <<\_ACEOF
34397#define wxUSE_LIBGNOMEPRINT 1
34398_ACEOF
34399
34400
34401 else
34402
34403 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
34404echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
34405 wxUSE_LIBGNOMEPRINT="no"
34406
34407
34408 fi
34409
34410 fi
34411 fi
34412fi
34413
34414
a848cd7e
SC
34415if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34416 cat >>confdefs.h <<\_ACEOF
34417#define wxUSE_CMDLINE_PARSER 1
34418_ACEOF
34419
34420fi
34421
34422if test "$wxUSE_STOPWATCH" = "yes"; then
34423 cat >>confdefs.h <<\_ACEOF
34424#define wxUSE_STOPWATCH 1
34425_ACEOF
34426
34427fi
34428
34429if test "$wxUSE_DATETIME" = "yes"; then
34430 cat >>confdefs.h <<\_ACEOF
34431#define wxUSE_DATETIME 1
34432_ACEOF
34433
34434fi
34435
34436if test "$wxUSE_FILE" = "yes"; then
34437 cat >>confdefs.h <<\_ACEOF
34438#define wxUSE_FILE 1
34439_ACEOF
34440
34441fi
34442
34443if test "$wxUSE_FFILE" = "yes"; then
34444 cat >>confdefs.h <<\_ACEOF
34445#define wxUSE_FFILE 1
34446_ACEOF
34447
34448fi
34449
34450if test "$wxUSE_FILESYSTEM" = "yes"; then
34451 cat >>confdefs.h <<\_ACEOF
34452#define wxUSE_FILESYSTEM 1
34453_ACEOF
34454
34455fi
34456
34457if test "$wxUSE_FS_ZIP" = "yes"; then
34458 cat >>confdefs.h <<\_ACEOF
34459#define wxUSE_FS_ZIP 1
34460_ACEOF
34461
34462fi
34463
34464if test "$wxUSE_ZIPSTREAM" = "yes"; then
34465 cat >>confdefs.h <<\_ACEOF
34466#define wxUSE_ZIPSTREAM 1
34467_ACEOF
34468
34469fi
34470
a848cd7e
SC
34471if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34472 cat >>confdefs.h <<\_ACEOF
34473#define wxUSE_ON_FATAL_EXCEPTION 1
34474_ACEOF
34475
34476fi
34477
34478if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34479 cat >>confdefs.h <<\_ACEOF
34480#define wxUSE_SNGLINST_CHECKER 1
34481_ACEOF
34482
34483fi
34484
34485if test "$wxUSE_BUSYINFO" = "yes"; then
34486 cat >>confdefs.h <<\_ACEOF
34487#define wxUSE_BUSYINFO 1
34488_ACEOF
34489
34490fi
34491
34492if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34493 cat >>confdefs.h <<\_ACEOF
34494#define wxUSE_STD_IOSTREAM 1
34495_ACEOF
34496
34497fi
34498
34499if test "$wxUSE_TEXTBUFFER" = "yes"; then
34500 cat >>confdefs.h <<\_ACEOF
34501#define wxUSE_TEXTBUFFER 1
34502_ACEOF
34503
34504fi
34505
34506if test "$wxUSE_TEXTFILE" = "yes"; then
34507 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34508 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34509echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34510 else
34511 cat >>confdefs.h <<\_ACEOF
34512#define wxUSE_TEXTFILE 1
34513_ACEOF
34514
34515 fi
34516fi
34517
34518if test "$wxUSE_CONFIG" = "yes" ; then
34519 if test "$wxUSE_TEXTFILE" != "yes"; then
34520 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
34521echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34522 else
34523 cat >>confdefs.h <<\_ACEOF
34524#define wxUSE_CONFIG 1
34525_ACEOF
34526
34527 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
34528 fi
34529fi
34530
34531if test "$wxUSE_INTL" = "yes" ; then
34532 if test "$wxUSE_FILE" != "yes"; then
34533 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
34534echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34535 else
34536 cat >>confdefs.h <<\_ACEOF
34537#define wxUSE_INTL 1
34538_ACEOF
34539
34540 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
34541 GUIDIST="$GUIDIST INTL_DIST"
34542 fi
34543fi
34544
34545if test "$wxUSE_LOG" = "yes"; then
34546 cat >>confdefs.h <<\_ACEOF
34547#define wxUSE_LOG 1
34548_ACEOF
34549
34550
34551 if test "$wxUSE_LOGGUI" = "yes"; then
34552 cat >>confdefs.h <<\_ACEOF
34553#define wxUSE_LOGGUI 1
34554_ACEOF
34555
34556 fi
34557
34558 if test "$wxUSE_LOGWINDOW" = "yes"; then
34559 cat >>confdefs.h <<\_ACEOF
34560#define wxUSE_LOGWINDOW 1
34561_ACEOF
34562
34563 fi
34564
34565 if test "$wxUSE_LOGDIALOG" = "yes"; then
34566 cat >>confdefs.h <<\_ACEOF
34567#define wxUSE_LOG_DIALOG 1
34568_ACEOF
34569
34570 fi
34571fi
34572
34573if test "$wxUSE_LONGLONG" = "yes"; then
34574 cat >>confdefs.h <<\_ACEOF
34575#define wxUSE_LONGLONG 1
34576_ACEOF
34577
34578fi
34579
34580if test "$wxUSE_GEOMETRY" = "yes"; then
34581 cat >>confdefs.h <<\_ACEOF
34582#define wxUSE_GEOMETRY 1
34583_ACEOF
34584
34585fi
34586
34587if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
34588 cat >>confdefs.h <<\_ACEOF
34589#define wxUSE_DIALUP_MANAGER 1
34590_ACEOF
34591
34592 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
34593fi
34594
34595if test "$wxUSE_STREAMS" = "yes" ; then
34596 cat >>confdefs.h <<\_ACEOF
34597#define wxUSE_STREAMS 1
34598_ACEOF
34599
34600fi
34601
34602
34603if test "$wxUSE_DATETIME" = "yes"; then
34604
34605for ac_func in strptime
34606do
34607as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34608echo "$as_me:$LINENO: checking for $ac_func" >&5
34609echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34610if eval "test \"\${$as_ac_var+set}\" = set"; then
34611 echo $ECHO_N "(cached) $ECHO_C" >&6
34612else
34613 cat >conftest.$ac_ext <<_ACEOF
34614/* confdefs.h. */
34615_ACEOF
34616cat confdefs.h >>conftest.$ac_ext
34617cat >>conftest.$ac_ext <<_ACEOF
34618/* end confdefs.h. */
ac1cb8d3
VS
34619/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34620 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34621#define $ac_func innocuous_$ac_func
34622
a848cd7e
SC
34623/* System header to define __stub macros and hopefully few prototypes,
34624 which can conflict with char $ac_func (); below.
34625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34626 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 34627
a848cd7e
SC
34628#ifdef __STDC__
34629# include <limits.h>
34630#else
34631# include <assert.h>
34632#endif
ac1cb8d3
VS
34633
34634#undef $ac_func
34635
a848cd7e
SC
34636/* Override any gcc2 internal prototype to avoid an error. */
34637#ifdef __cplusplus
34638extern "C"
34639{
34640#endif
34641/* We use char because int might match the return type of a gcc2
34642 builtin and then its argument prototype would still apply. */
34643char $ac_func ();
34644/* The GNU C library defines this for functions which it implements
34645 to always fail with ENOSYS. Some functions are actually named
34646 something starting with __ and the normal name is an alias. */
34647#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34648choke me
34649#else
34650char (*f) () = $ac_func;
34651#endif
34652#ifdef __cplusplus
34653}
34654#endif
34655
34656int
34657main ()
34658{
34659return f != $ac_func;
34660 ;
34661 return 0;
34662}
34663_ACEOF
34664rm -f conftest.$ac_objext conftest$ac_exeext
34665if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 34666 (eval $ac_link) 2>conftest.er1
a848cd7e 34667 ac_status=$?
ac1cb8d3
VS
34668 grep -v '^ *+' conftest.er1 >conftest.err
34669 rm -f conftest.er1
34670 cat conftest.err >&5
a848cd7e
SC
34671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34672 (exit $ac_status); } &&
d1c38808 34673 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
34674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34675 (eval $ac_try) 2>&5
34676 ac_status=$?
34677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34678 (exit $ac_status); }; } &&
34679 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
34680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34681 (eval $ac_try) 2>&5
34682 ac_status=$?
34683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34684 (exit $ac_status); }; }; then
34685 eval "$as_ac_var=yes"
34686else
34687 echo "$as_me: failed program was:" >&5
34688sed 's/^/| /' conftest.$ac_ext >&5
34689
34690eval "$as_ac_var=no"
34691fi
ac1cb8d3
VS
34692rm -f conftest.err conftest.$ac_objext \
34693 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
34694fi
34695echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34696echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34697if test `eval echo '${'$as_ac_var'}'` = yes; then
34698 cat >>confdefs.h <<_ACEOF
34699#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34700_ACEOF
34701
34702fi
34703done
34704
34705
34706 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
34707echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
34708if test "${wx_cv_var_timezone+set}" = set; then
34709 echo $ECHO_N "(cached) $ECHO_C" >&6
34710else
34711
34712 cat >conftest.$ac_ext <<_ACEOF
34713/* confdefs.h. */
34714_ACEOF
34715cat confdefs.h >>conftest.$ac_ext
34716cat >>conftest.$ac_ext <<_ACEOF
34717/* end confdefs.h. */
34718
34719 #include <time.h>
34720
34721int
34722main ()
34723{
34724
34725 int tz;
34726 tz = timezone;
34727
34728 ;
34729 return 0;
34730}
34731_ACEOF
34732rm -f conftest.$ac_objext
34733if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 34734 (eval $ac_compile) 2>conftest.er1
a848cd7e 34735 ac_status=$?
ac1cb8d3
VS
34736 grep -v '^ *+' conftest.er1 >conftest.err
34737 rm -f conftest.er1
34738 cat conftest.err >&5
a848cd7e
SC
34739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34740 (exit $ac_status); } &&
d1c38808 34741 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
34742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34743 (eval $ac_try) 2>&5
34744 ac_status=$?
34745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34746 (exit $ac_status); }; } &&
34747 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
34748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34749 (eval $ac_try) 2>&5
34750 ac_status=$?
34751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34752 (exit $ac_status); }; }; then
34753
34754 wx_cv_var_timezone=timezone
34755
34756else
34757 echo "$as_me: failed program was:" >&5
34758sed 's/^/| /' conftest.$ac_ext >&5
34759
34760
34761 cat >conftest.$ac_ext <<_ACEOF
34762/* confdefs.h. */
34763_ACEOF
34764cat confdefs.h >>conftest.$ac_ext
34765cat >>conftest.$ac_ext <<_ACEOF
34766/* end confdefs.h. */
34767
34768 #include <time.h>
34769
34770int
34771main ()
34772{
34773
34774 int tz;
34775 tz = _timezone;
34776
34777 ;
34778 return 0;
34779}
34780_ACEOF
34781rm -f conftest.$ac_objext
34782if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 34783 (eval $ac_compile) 2>conftest.er1
a848cd7e 34784 ac_status=$?
ac1cb8d3
VS
34785 grep -v '^ *+' conftest.er1 >conftest.err
34786 rm -f conftest.er1
34787 cat conftest.err >&5
a848cd7e
SC
34788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34789 (exit $ac_status); } &&
d1c38808 34790 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
34791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34792 (eval $ac_try) 2>&5
34793 ac_status=$?
34794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34795 (exit $ac_status); }; } &&
34796 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
34797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34798 (eval $ac_try) 2>&5
34799 ac_status=$?
34800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34801 (exit $ac_status); }; }; then
34802
34803 wx_cv_var_timezone=_timezone
34804
34805else
34806 echo "$as_me: failed program was:" >&5
34807sed 's/^/| /' conftest.$ac_ext >&5
34808
34809
34810 cat >conftest.$ac_ext <<_ACEOF
34811/* confdefs.h. */
34812_ACEOF
34813cat confdefs.h >>conftest.$ac_ext
34814cat >>conftest.$ac_ext <<_ACEOF
34815/* end confdefs.h. */
34816
34817 #include <time.h>
34818
34819int
34820main ()
34821{
34822
34823 int tz;
34824 tz = __timezone;
34825
34826 ;
34827 return 0;
34828}
34829_ACEOF
34830rm -f conftest.$ac_objext
34831if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 34832 (eval $ac_compile) 2>conftest.er1
a848cd7e 34833 ac_status=$?
ac1cb8d3
VS
34834 grep -v '^ *+' conftest.er1 >conftest.err
34835 rm -f conftest.er1
34836 cat conftest.err >&5
a848cd7e
SC
34837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34838 (exit $ac_status); } &&
d1c38808 34839 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
34840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34841 (eval $ac_try) 2>&5
34842 ac_status=$?
34843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34844 (exit $ac_status); }; } &&
34845 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
34846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34847 (eval $ac_try) 2>&5
34848 ac_status=$?
34849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34850 (exit $ac_status); }; }; then
34851
34852 wx_cv_var_timezone=__timezone
34853
34854else
34855 echo "$as_me: failed program was:" >&5
34856sed 's/^/| /' conftest.$ac_ext >&5
34857
34858
34859 if test "$USE_DOS" = 0 ; then
34860 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
34861echo "$as_me: WARNING: no timezone variable" >&2;}
34862 fi
34863
34864
34865fi
ac1cb8d3 34866rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
34867
34868
34869fi
ac1cb8d3 34870rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
34871
34872
34873fi
ac1cb8d3 34874rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
34875
34876
34877fi
34878echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
34879echo "${ECHO_T}$wx_cv_var_timezone" >&6
34880
34881 if test "x$wx_cv_var_timezone" != x ; then
34882 cat >>confdefs.h <<_ACEOF
34883#define WX_TIMEZONE $wx_cv_var_timezone
34884_ACEOF
34885
34886 fi
34887
34888
34889for ac_func in localtime
34890do
34891as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34892echo "$as_me:$LINENO: checking for $ac_func" >&5
34893echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34894if eval "test \"\${$as_ac_var+set}\" = set"; then
34895 echo $ECHO_N "(cached) $ECHO_C" >&6
34896else
34897 cat >conftest.$ac_ext <<_ACEOF
34898/* confdefs.h. */
34899_ACEOF
34900cat confdefs.h >>conftest.$ac_ext
34901cat >>conftest.$ac_ext <<_ACEOF
34902/* end confdefs.h. */
ac1cb8d3
VS
34903/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34904 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34905#define $ac_func innocuous_$ac_func
34906
a848cd7e
SC
34907/* System header to define __stub macros and hopefully few prototypes,
34908 which can conflict with char $ac_func (); below.
34909 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34910 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 34911
a848cd7e
SC
34912#ifdef __STDC__
34913# include <limits.h>
34914#else
34915# include <assert.h>
34916#endif
ac1cb8d3
VS
34917
34918#undef $ac_func
34919
a848cd7e
SC
34920/* Override any gcc2 internal prototype to avoid an error. */
34921#ifdef __cplusplus
34922extern "C"
34923{
34924#endif
34925/* We use char because int might match the return type of a gcc2
34926 builtin and then its argument prototype would still apply. */
34927char $ac_func ();
34928/* The GNU C library defines this for functions which it implements
34929 to always fail with ENOSYS. Some functions are actually named
34930 something starting with __ and the normal name is an alias. */
34931#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34932choke me
34933#else
34934char (*f) () = $ac_func;
34935#endif
34936#ifdef __cplusplus
34937}
34938#endif
34939
34940int
34941main ()
34942{
34943return f != $ac_func;
34944 ;
34945 return 0;
34946}
34947_ACEOF
34948rm -f conftest.$ac_objext conftest$ac_exeext
34949if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 34950 (eval $ac_link) 2>conftest.er1
a848cd7e 34951 ac_status=$?
ac1cb8d3
VS
34952 grep -v '^ *+' conftest.er1 >conftest.err
34953 rm -f conftest.er1
34954 cat conftest.err >&5
a848cd7e
SC
34955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34956 (exit $ac_status); } &&
d1c38808 34957 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
34958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34959 (eval $ac_try) 2>&5
34960 ac_status=$?
34961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34962 (exit $ac_status); }; } &&
34963 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
34964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34965 (eval $ac_try) 2>&5
34966 ac_status=$?
34967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34968 (exit $ac_status); }; }; then
34969 eval "$as_ac_var=yes"
34970else
34971 echo "$as_me: failed program was:" >&5
34972sed 's/^/| /' conftest.$ac_ext >&5
34973
34974eval "$as_ac_var=no"
34975fi
ac1cb8d3
VS
34976rm -f conftest.err conftest.$ac_objext \
34977 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
34978fi
34979echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34980echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34981if test `eval echo '${'$as_ac_var'}'` = yes; then
34982 cat >>confdefs.h <<_ACEOF
34983#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34984_ACEOF
34985
34986fi
34987done
34988
34989
34990 if test "$ac_cv_func_localtime" = "yes"; then
34991 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
34992echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
34993if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
34994 echo $ECHO_N "(cached) $ECHO_C" >&6
34995else
34996
34997 cat >conftest.$ac_ext <<_ACEOF
34998/* confdefs.h. */
34999_ACEOF
35000cat confdefs.h >>conftest.$ac_ext
35001cat >>conftest.$ac_ext <<_ACEOF
35002/* end confdefs.h. */
35003
35004 #include <time.h>
35005
35006int
35007main ()
35008{
35009
35010 struct tm tm;
35011 tm.tm_gmtoff++;
35012
35013 ;
35014 return 0;
35015}
35016_ACEOF
35017rm -f conftest.$ac_objext
35018if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 35019 (eval $ac_compile) 2>conftest.er1
a848cd7e 35020 ac_status=$?
ac1cb8d3
VS
35021 grep -v '^ *+' conftest.er1 >conftest.err
35022 rm -f conftest.er1
35023 cat conftest.err >&5
a848cd7e
SC
35024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35025 (exit $ac_status); } &&
d1c38808 35026 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
35027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35028 (eval $ac_try) 2>&5
35029 ac_status=$?
35030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35031 (exit $ac_status); }; } &&
35032 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
35033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35034 (eval $ac_try) 2>&5
35035 ac_status=$?
35036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35037 (exit $ac_status); }; }; then
35038
35039 wx_cv_struct_tm_has_gmtoff=yes
35040
35041else
35042 echo "$as_me: failed program was:" >&5
35043sed 's/^/| /' conftest.$ac_ext >&5
35044
35045wx_cv_struct_tm_has_gmtoff=no
35046
35047fi
ac1cb8d3 35048rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
35049
35050fi
35051echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
35052echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
35053 fi
35054
35055 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35056 cat >>confdefs.h <<\_ACEOF
35057#define WX_GMTOFF_IN_TM 1
35058_ACEOF
35059
35060 fi
35061
35062
35063
35064for ac_func in gettimeofday ftime
35065do
35066as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35067echo "$as_me:$LINENO: checking for $ac_func" >&5
35068echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35069if eval "test \"\${$as_ac_var+set}\" = set"; then
35070 echo $ECHO_N "(cached) $ECHO_C" >&6
35071else
35072 cat >conftest.$ac_ext <<_ACEOF
35073/* confdefs.h. */
35074_ACEOF
35075cat confdefs.h >>conftest.$ac_ext
35076cat >>conftest.$ac_ext <<_ACEOF
35077/* end confdefs.h. */
ac1cb8d3
VS
35078/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35079 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35080#define $ac_func innocuous_$ac_func
35081
a848cd7e
SC
35082/* System header to define __stub macros and hopefully few prototypes,
35083 which can conflict with char $ac_func (); below.
35084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35085 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 35086
a848cd7e
SC
35087#ifdef __STDC__
35088# include <limits.h>
35089#else
35090# include <assert.h>
35091#endif
ac1cb8d3
VS
35092
35093#undef $ac_func
35094
a848cd7e
SC
35095/* Override any gcc2 internal prototype to avoid an error. */
35096#ifdef __cplusplus
35097extern "C"
35098{
35099#endif
35100/* We use char because int might match the return type of a gcc2
35101 builtin and then its argument prototype would still apply. */
35102char $ac_func ();
35103/* The GNU C library defines this for functions which it implements
35104 to always fail with ENOSYS. Some functions are actually named
35105 something starting with __ and the normal name is an alias. */
35106#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35107choke me
35108#else
35109char (*f) () = $ac_func;
35110#endif
35111#ifdef __cplusplus
35112}
35113#endif
35114
35115int
35116main ()
35117{
35118return f != $ac_func;
35119 ;
35120 return 0;
35121}
35122_ACEOF
35123rm -f conftest.$ac_objext conftest$ac_exeext
35124if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 35125 (eval $ac_link) 2>conftest.er1
a848cd7e 35126 ac_status=$?
ac1cb8d3
VS
35127 grep -v '^ *+' conftest.er1 >conftest.err
35128 rm -f conftest.er1
35129 cat conftest.err >&5
a848cd7e
SC
35130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35131 (exit $ac_status); } &&
d1c38808 35132 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
35133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35134 (eval $ac_try) 2>&5
35135 ac_status=$?
35136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35137 (exit $ac_status); }; } &&
35138 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
35139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35140 (eval $ac_try) 2>&5
35141 ac_status=$?
35142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35143 (exit $ac_status); }; }; then
35144 eval "$as_ac_var=yes"
35145else
35146 echo "$as_me: failed program was:" >&5
35147sed 's/^/| /' conftest.$ac_ext >&5
35148
35149eval "$as_ac_var=no"
35150fi
ac1cb8d3
VS
35151rm -f conftest.err conftest.$ac_objext \
35152 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
35153fi
35154echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35155echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35156if test `eval echo '${'$as_ac_var'}'` = yes; then
35157 cat >>confdefs.h <<_ACEOF
35158#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35159_ACEOF
35160 break
35161fi
35162done
35163
35164
35165 if test "$ac_cv_func_gettimeofday" = "yes"; then
35166 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
35167echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
35168if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
35169 echo $ECHO_N "(cached) $ECHO_C" >&6
35170else
35171
35172
35173
35174 ac_ext=cc
35175ac_cpp='$CXXCPP $CPPFLAGS'
35176ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35177ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35178ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35179
35180
35181 cat >conftest.$ac_ext <<_ACEOF
35182/* confdefs.h. */
35183_ACEOF
35184cat confdefs.h >>conftest.$ac_ext
35185cat >>conftest.$ac_ext <<_ACEOF
35186/* end confdefs.h. */
35187
35188 #include <sys/time.h>
35189 #include <unistd.h>
35190
35191int
35192main ()
35193{
35194
35195 struct timeval tv;
35196 gettimeofday(&tv, NULL);
35197
35198 ;
35199 return 0;
35200}
35201_ACEOF
35202rm -f conftest.$ac_objext
35203if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 35204 (eval $ac_compile) 2>conftest.er1
a848cd7e 35205 ac_status=$?
ac1cb8d3
VS
35206 grep -v '^ *+' conftest.er1 >conftest.err
35207 rm -f conftest.er1
35208 cat conftest.err >&5
a848cd7e
SC
35209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35210 (exit $ac_status); } &&
d1c38808 35211 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
35212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35213 (eval $ac_try) 2>&5
35214 ac_status=$?
35215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35216 (exit $ac_status); }; } &&
35217 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
35218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35219 (eval $ac_try) 2>&5
35220 ac_status=$?
35221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35222 (exit $ac_status); }; }; then
35223 wx_cv_func_gettimeofday_has_2_args=yes
35224else
35225 echo "$as_me: failed program was:" >&5
35226sed 's/^/| /' conftest.$ac_ext >&5
35227
35228cat >conftest.$ac_ext <<_ACEOF
35229/* confdefs.h. */
35230_ACEOF
35231cat confdefs.h >>conftest.$ac_ext
35232cat >>conftest.$ac_ext <<_ACEOF
35233/* end confdefs.h. */
35234
35235 #include <sys/time.h>
35236 #include <unistd.h>
35237
35238int
35239main ()
35240{
35241
35242 struct timeval tv;
35243 gettimeofday(&tv);
35244
35245 ;
35246 return 0;
35247}
35248_ACEOF
35249rm -f conftest.$ac_objext
35250if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 35251 (eval $ac_compile) 2>conftest.er1
a848cd7e 35252 ac_status=$?
ac1cb8d3
VS
35253 grep -v '^ *+' conftest.er1 >conftest.err
35254 rm -f conftest.er1
35255 cat conftest.err >&5
a848cd7e
SC
35256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35257 (exit $ac_status); } &&
d1c38808 35258 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
35259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35260 (eval $ac_try) 2>&5
35261 ac_status=$?
35262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35263 (exit $ac_status); }; } &&
35264 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
35265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35266 (eval $ac_try) 2>&5
35267 ac_status=$?
35268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35269 (exit $ac_status); }; }; then
35270 wx_cv_func_gettimeofday_has_2_args=no
35271else
35272 echo "$as_me: failed program was:" >&5
35273sed 's/^/| /' conftest.$ac_ext >&5
35274
35275
35276 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
35277echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
35278 wx_cv_func_gettimeofday_has_2_args=unknown
35279
35280
35281fi
ac1cb8d3 35282rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
35283
35284fi
ac1cb8d3 35285rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
35286 ac_ext=c
35287ac_cpp='$CPP $CPPFLAGS'
35288ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35289ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35290ac_compiler_gnu=$ac_cv_c_compiler_gnu
35291
35292
35293fi
35294echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
35295echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
35296
35297 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
35298 cat >>confdefs.h <<\_ACEOF
35299#define WX_GETTIMEOFDAY_NO_TZ 1
35300_ACEOF
35301
35302 fi
35303 fi
35304
35305 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
35306fi
35307
35308
35309if test "$wxUSE_SOCKETS" = "yes"; then
35310 if test "$wxUSE_MGL" = "1"; then
35311 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
35312echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
35313 wxUSE_SOCKETS="no"
35314 fi
35315fi
35316
35317if test "$wxUSE_SOCKETS" = "yes"; then
35318 if test "$TOOLKIT" != "MSW"; then
35319 echo "$as_me:$LINENO: checking for socket" >&5
35320echo $ECHO_N "checking for socket... $ECHO_C" >&6
35321if test "${ac_cv_func_socket+set}" = set; then
35322 echo $ECHO_N "(cached) $ECHO_C" >&6
35323else
35324 cat >conftest.$ac_ext <<_ACEOF
35325/* confdefs.h. */
35326_ACEOF
35327cat confdefs.h >>conftest.$ac_ext
35328cat >>conftest.$ac_ext <<_ACEOF
35329/* end confdefs.h. */
ac1cb8d3
VS
35330/* Define socket to an innocuous variant, in case <limits.h> declares socket.
35331 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35332#define socket innocuous_socket
35333
a848cd7e
SC
35334/* System header to define __stub macros and hopefully few prototypes,
35335 which can conflict with char socket (); below.
35336 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35337 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 35338
a848cd7e
SC
35339#ifdef __STDC__
35340# include <limits.h>
35341#else
35342# include <assert.h>
35343#endif
ac1cb8d3
VS
35344
35345#undef socket
35346
a848cd7e
SC
35347/* Override any gcc2 internal prototype to avoid an error. */
35348#ifdef __cplusplus
35349extern "C"
35350{
35351#endif
35352/* We use char because int might match the return type of a gcc2
35353 builtin and then its argument prototype would still apply. */
35354char socket ();
35355/* The GNU C library defines this for functions which it implements
35356 to always fail with ENOSYS. Some functions are actually named
35357 something starting with __ and the normal name is an alias. */
35358#if defined (__stub_socket) || defined (__stub___socket)
35359choke me
35360#else
35361char (*f) () = socket;
35362#endif
35363#ifdef __cplusplus
35364}
35365#endif
35366
35367int
35368main ()
35369{
35370return f != socket;
35371 ;
35372 return 0;
35373}
35374_ACEOF
35375rm -f conftest.$ac_objext conftest$ac_exeext
35376if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 35377 (eval $ac_link) 2>conftest.er1
a848cd7e 35378 ac_status=$?
ac1cb8d3
VS
35379 grep -v '^ *+' conftest.er1 >conftest.err
35380 rm -f conftest.er1
35381 cat conftest.err >&5
a848cd7e
SC
35382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35383 (exit $ac_status); } &&
d1c38808 35384 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
35385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35386 (eval $ac_try) 2>&5
35387 ac_status=$?
35388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35389 (exit $ac_status); }; } &&
35390 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
35391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35392 (eval $ac_try) 2>&5
35393 ac_status=$?
35394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35395 (exit $ac_status); }; }; then
35396 ac_cv_func_socket=yes
35397else
35398 echo "$as_me: failed program was:" >&5
35399sed 's/^/| /' conftest.$ac_ext >&5
35400
35401ac_cv_func_socket=no
35402fi
ac1cb8d3
VS
35403rm -f conftest.err conftest.$ac_objext \
35404 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
35405fi
35406echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
35407echo "${ECHO_T}$ac_cv_func_socket" >&6
35408if test $ac_cv_func_socket = yes; then
35409 :
35410else
35411
35412 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
35413echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
35414if test "${ac_cv_lib_socket_socket+set}" = set; then
35415 echo $ECHO_N "(cached) $ECHO_C" >&6
35416else
35417 ac_check_lib_save_LIBS=$LIBS
35418LIBS="-lsocket $LIBS"
35419cat >conftest.$ac_ext <<_ACEOF
35420/* confdefs.h. */
35421_ACEOF
35422cat confdefs.h >>conftest.$ac_ext
35423cat >>conftest.$ac_ext <<_ACEOF
35424/* end confdefs.h. */
35425
35426/* Override any gcc2 internal prototype to avoid an error. */
35427#ifdef __cplusplus
35428extern "C"
35429#endif
35430/* We use char because int might match the return type of a gcc2
35431 builtin and then its argument prototype would still apply. */
35432char socket ();
35433int
35434main ()
35435{
35436socket ();
35437 ;
35438 return 0;
35439}
35440_ACEOF
35441rm -f conftest.$ac_objext conftest$ac_exeext
35442if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 35443 (eval $ac_link) 2>conftest.er1
a848cd7e 35444 ac_status=$?
ac1cb8d3
VS
35445 grep -v '^ *+' conftest.er1 >conftest.err
35446 rm -f conftest.er1
35447 cat conftest.err >&5
a848cd7e
SC
35448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35449 (exit $ac_status); } &&
d1c38808 35450 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
35451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35452 (eval $ac_try) 2>&5
35453 ac_status=$?
35454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35455 (exit $ac_status); }; } &&
35456 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
35457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35458 (eval $ac_try) 2>&5
35459 ac_status=$?
35460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35461 (exit $ac_status); }; }; then
35462 ac_cv_lib_socket_socket=yes
35463else
35464 echo "$as_me: failed program was:" >&5
35465sed 's/^/| /' conftest.$ac_ext >&5
35466
35467ac_cv_lib_socket_socket=no
35468fi
ac1cb8d3
VS
35469rm -f conftest.err conftest.$ac_objext \
35470 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
35471LIBS=$ac_check_lib_save_LIBS
35472fi
35473echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
35474echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
35475if test $ac_cv_lib_socket_socket = yes; then
35476 if test "$INET_LINK" != " -lsocket"; then
35477 INET_LINK="$INET_LINK -lsocket"
35478 fi
35479else
35480
35481 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
35482echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35483 wxUSE_SOCKETS=no
35484
35485
35486fi
35487
35488
35489
35490fi
35491
35492 fi
35493fi
35494
35495if test "$wxUSE_SOCKETS" = "yes" ; then
35496 if test "$TOOLKIT" != "MSW"; then
4d4ff94c
VZ
35497 ac_ext=cc
35498ac_cpp='$CXXCPP $CPPFLAGS'
35499ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35500ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35501ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35502
35503 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
a848cd7e
SC
35504echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
35505if test "${wx_cv_type_getsockname3+set}" = set; then
35506 echo $ECHO_N "(cached) $ECHO_C" >&6
35507else
35508
35509 cat >conftest.$ac_ext <<_ACEOF
35510/* confdefs.h. */
35511_ACEOF
35512cat confdefs.h >>conftest.$ac_ext
35513cat >>conftest.$ac_ext <<_ACEOF
35514/* end confdefs.h. */
35515
35516 #include <sys/types.h>
35517 #include <sys/socket.h>
35518
35519int
35520main ()
35521{
35522
35523 socklen_t len;
35524 getsockname(0, 0, &len);
35525
35526 ;
35527 return 0;
35528}
35529_ACEOF
35530rm -f conftest.$ac_objext
35531if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 35532 (eval $ac_compile) 2>conftest.er1
a848cd7e 35533 ac_status=$?
ac1cb8d3
VS
35534 grep -v '^ *+' conftest.er1 >conftest.err
35535 rm -f conftest.er1
35536 cat conftest.err >&5
a848cd7e
SC
35537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35538 (exit $ac_status); } &&
d1c38808 35539 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
35540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35541 (eval $ac_try) 2>&5
35542 ac_status=$?
35543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35544 (exit $ac_status); }; } &&
35545 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
35546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35547 (eval $ac_try) 2>&5
35548 ac_status=$?
35549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35550 (exit $ac_status); }; }; then
35551 wx_cv_type_getsockname3=socklen_t
35552else
35553 echo "$as_me: failed program was:" >&5
35554sed 's/^/| /' conftest.$ac_ext >&5
35555
35556
35557 CFLAGS_OLD="$CFLAGS"
35558 if test "$GCC" = yes ; then
35559 CFLAGS="$CFLAGS -Werror"
35560 fi
35561
35562 cat >conftest.$ac_ext <<_ACEOF
35563/* confdefs.h. */
35564_ACEOF
35565cat confdefs.h >>conftest.$ac_ext
35566cat >>conftest.$ac_ext <<_ACEOF
35567/* end confdefs.h. */
35568
35569 #include <sys/types.h>
35570 #include <sys/socket.h>
35571
35572int
35573main ()
35574{
35575
35576 size_t len;
35577 getsockname(0, 0, &len);
35578
35579 ;
35580 return 0;
35581}
35582_ACEOF
35583rm -f conftest.$ac_objext
35584if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 35585 (eval $ac_compile) 2>conftest.er1
a848cd7e 35586 ac_status=$?
ac1cb8d3
VS
35587 grep -v '^ *+' conftest.er1 >conftest.err
35588 rm -f conftest.er1
35589 cat conftest.err >&5
a848cd7e
SC
35590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35591 (exit $ac_status); } &&
d1c38808 35592 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
35593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35594 (eval $ac_try) 2>&5
35595 ac_status=$?
35596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35597 (exit $ac_status); }; } &&
35598 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
35599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35600 (eval $ac_try) 2>&5
35601 ac_status=$?
35602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35603 (exit $ac_status); }; }; then
35604 wx_cv_type_getsockname3=size_t
35605else
35606 echo "$as_me: failed program was:" >&5
35607sed 's/^/| /' conftest.$ac_ext >&5
35608
35609cat >conftest.$ac_ext <<_ACEOF
35610/* confdefs.h. */
35611_ACEOF
35612cat confdefs.h >>conftest.$ac_ext
35613cat >>conftest.$ac_ext <<_ACEOF
35614/* end confdefs.h. */
35615
35616 #include <sys/types.h>
35617 #include <sys/socket.h>
35618
35619int
35620main ()
35621{
35622
35623 int len;
35624 getsockname(0, 0, &len);
35625
35626 ;
35627 return 0;
35628}
35629_ACEOF
35630rm -f conftest.$ac_objext
35631if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 35632 (eval $ac_compile) 2>conftest.er1
a848cd7e 35633 ac_status=$?
ac1cb8d3
VS
35634 grep -v '^ *+' conftest.er1 >conftest.err
35635 rm -f conftest.er1
35636 cat conftest.err >&5
a848cd7e
SC
35637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35638 (exit $ac_status); } &&
d1c38808 35639 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
35640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35641 (eval $ac_try) 2>&5
35642 ac_status=$?
35643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35644 (exit $ac_status); }; } &&
35645 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
35646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35647 (eval $ac_try) 2>&5
35648 ac_status=$?
35649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35650 (exit $ac_status); }; }; then
35651 wx_cv_type_getsockname3=int
35652else
35653 echo "$as_me: failed program was:" >&5
35654sed 's/^/| /' conftest.$ac_ext >&5
35655
35656wx_cv_type_getsockname3=unknown
35657
35658fi
ac1cb8d3 35659rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
35660
35661fi
ac1cb8d3 35662rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
35663
35664 CFLAGS="$CFLAGS_OLD"
35665
35666
35667fi
ac1cb8d3 35668rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
35669
35670fi
35671echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
35672echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
35673
35674 if test "$wx_cv_type_getsockname3" = "unknown"; then
35675 wxUSE_SOCKETS=no
35676 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
35677echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35678 else
35679 cat >>confdefs.h <<_ACEOF
35680#define SOCKLEN_T $wx_cv_type_getsockname3
35681_ACEOF
35682
35683 fi
4d4ff94c
VZ
35684 ac_ext=c
35685ac_cpp='$CPP $CPPFLAGS'
35686ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35687ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35688ac_compiler_gnu=$ac_cv_c_compiler_gnu
35689
a848cd7e
SC
35690 fi
35691fi
35692
35693if test "$wxUSE_SOCKETS" = "yes" ; then
35694 cat >>confdefs.h <<\_ACEOF
35695#define wxUSE_SOCKETS 1
35696_ACEOF
35697
35698 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
35699fi
35700
35701if test "$wxUSE_PROTOCOL" = "yes"; then
35702 if test "$wxUSE_SOCKETS" != "yes"; then
35703 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
35704echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35705 wxUSE_PROTOCOL=no
35706 fi
35707fi
35708
35709if test "$wxUSE_PROTOCOL" = "yes"; then
35710 cat >>confdefs.h <<\_ACEOF
35711#define wxUSE_PROTOCOL 1
35712_ACEOF
35713
35714
35715 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35716 cat >>confdefs.h <<\_ACEOF
35717#define wxUSE_PROTOCOL_HTTP 1
35718_ACEOF
35719
35720 fi
35721 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35722 cat >>confdefs.h <<\_ACEOF
35723#define wxUSE_PROTOCOL_FTP 1
35724_ACEOF
35725
35726 fi
35727 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35728 cat >>confdefs.h <<\_ACEOF
35729#define wxUSE_PROTOCOL_FILE 1
35730_ACEOF
35731
35732 fi
35733else
35734 if test "$wxUSE_FS_INET" = "yes"; then
35735 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35736echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35737 wxUSE_FS_INET="no"
35738 fi
35739fi
35740
35741if test "$wxUSE_URL" = "yes"; then
35742 if test "$wxUSE_PROTOCOL" != "yes"; then
35743 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
35744echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35745 wxUSE_URL=no
35746 fi
35747 if test "$wxUSE_URL" = "yes"; then
35748 cat >>confdefs.h <<\_ACEOF
35749#define wxUSE_URL 1
35750_ACEOF
35751
35752 fi
35753fi
35754
35755if test "$wxUSE_FS_INET" = "yes"; then
35756 cat >>confdefs.h <<\_ACEOF
35757#define wxUSE_FS_INET 1
35758_ACEOF
35759
35760fi
35761
35762
35763if test "$wxUSE_GUI" = "yes"; then
35764
35765 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
35766 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
35767echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
35768 wxUSE_JOYSTICK=no
35769 fi
35770
35771 if test "$TOOLKIT" != "MSW"; then
35772 if test "$wxUSE_JOYSTICK" = "yes"; then
35773
35774for ac_header in linux/joystick.h
35775do
35776as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35777if eval "test \"\${$as_ac_Header+set}\" = set"; then
35778 echo "$as_me:$LINENO: checking for $ac_header" >&5
35779echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35780if eval "test \"\${$as_ac_Header+set}\" = set"; then
35781 echo $ECHO_N "(cached) $ECHO_C" >&6
35782fi
35783echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35784echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35785else
35786 # Is the header compilable?
35787echo "$as_me:$LINENO: checking $ac_header usability" >&5
35788echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35789cat >conftest.$ac_ext <<_ACEOF
35790/* confdefs.h. */
35791_ACEOF
35792cat confdefs.h >>conftest.$ac_ext
35793cat >>conftest.$ac_ext <<_ACEOF
35794/* end confdefs.h. */
35795$ac_includes_default
35796#include <$ac_header>
35797_ACEOF
35798rm -f conftest.$ac_objext
35799if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 35800 (eval $ac_compile) 2>conftest.er1
a848cd7e 35801 ac_status=$?
ac1cb8d3
VS
35802 grep -v '^ *+' conftest.er1 >conftest.err
35803 rm -f conftest.er1
35804 cat conftest.err >&5
a848cd7e
SC
35805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35806 (exit $ac_status); } &&
d1c38808 35807 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
35808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35809 (eval $ac_try) 2>&5
35810 ac_status=$?
35811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35812 (exit $ac_status); }; } &&
35813 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
35814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35815 (eval $ac_try) 2>&5
35816 ac_status=$?
35817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35818 (exit $ac_status); }; }; then
35819 ac_header_compiler=yes
35820else
35821 echo "$as_me: failed program was:" >&5
35822sed 's/^/| /' conftest.$ac_ext >&5
35823
35824ac_header_compiler=no
35825fi
ac1cb8d3 35826rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
35827echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35828echo "${ECHO_T}$ac_header_compiler" >&6
35829
35830# Is the header present?
35831echo "$as_me:$LINENO: checking $ac_header presence" >&5
35832echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35833cat >conftest.$ac_ext <<_ACEOF
35834/* confdefs.h. */
35835_ACEOF
35836cat confdefs.h >>conftest.$ac_ext
35837cat >>conftest.$ac_ext <<_ACEOF
35838/* end confdefs.h. */
35839#include <$ac_header>
35840_ACEOF
35841if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35842 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
35843 ac_status=$?
35844 grep -v '^ *+' conftest.er1 >conftest.err
35845 rm -f conftest.er1
35846 cat conftest.err >&5
35847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35848 (exit $ac_status); } >/dev/null; then
35849 if test -s conftest.err; then
35850 ac_cpp_err=$ac_c_preproc_warn_flag
ac1cb8d3 35851 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
a848cd7e
SC
35852 else
35853 ac_cpp_err=
35854 fi
35855else
35856 ac_cpp_err=yes
35857fi
35858if test -z "$ac_cpp_err"; then
35859 ac_header_preproc=yes
35860else
35861 echo "$as_me: failed program was:" >&5
35862sed 's/^/| /' conftest.$ac_ext >&5
35863
35864 ac_header_preproc=no
35865fi
35866rm -f conftest.err conftest.$ac_ext
35867echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35868echo "${ECHO_T}$ac_header_preproc" >&6
35869
35870# So? What about this header?
ac1cb8d3
VS
35871case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35872 yes:no: )
a848cd7e
SC
35873 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35874echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
ac1cb8d3
VS
35875 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35876echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35877 ac_header_preproc=yes
a848cd7e 35878 ;;
ac1cb8d3 35879 no:yes:* )
a848cd7e
SC
35880 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35881echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
ac1cb8d3
VS
35882 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35883echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35884 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35885echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35886 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35887echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
a848cd7e
SC
35888 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35889echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
ac1cb8d3
VS
35890 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35891echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
a848cd7e
SC
35892 (
35893 cat <<\_ASBOX
ac1cb8d3
VS
35894## ----------------------------------------- ##
35895## Report this to wx-dev@lists.wxwidgets.org ##
35896## ----------------------------------------- ##
a848cd7e
SC
35897_ASBOX
35898 ) |
35899 sed "s/^/$as_me: WARNING: /" >&2
35900 ;;
35901esac
35902echo "$as_me:$LINENO: checking for $ac_header" >&5
35903echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35904if eval "test \"\${$as_ac_Header+set}\" = set"; then
35905 echo $ECHO_N "(cached) $ECHO_C" >&6
35906else
ac1cb8d3 35907 eval "$as_ac_Header=\$ac_header_preproc"
a848cd7e
SC
35908fi
35909echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35910echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35911
35912fi
35913if test `eval echo '${'$as_ac_Header'}'` = yes; then
35914 cat >>confdefs.h <<_ACEOF
35915#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35916_ACEOF
35917
35918fi
35919
35920done
35921
35922 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
35923 wxUSE_JOYSTICK=no
35924 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
35925echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
35926 fi
35927 fi
35928 fi
35929
35930 if test "$wxUSE_JOYSTICK" = "yes"; then
35931 cat >>confdefs.h <<\_ACEOF
35932#define wxUSE_JOYSTICK 1
35933_ACEOF
35934
35935 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
35936 fi
35937fi
35938
35939
35940
35941if test "$wxUSE_FONTMAP" = "yes" ; then
35942 cat >>confdefs.h <<\_ACEOF
35943#define wxUSE_FONTMAP 1
35944_ACEOF
35945
35946fi
35947
35948if test "$wxUSE_UNICODE" = "yes" ; then
35949 cat >>confdefs.h <<\_ACEOF
35950#define wxUSE_UNICODE 1
35951_ACEOF
35952
35953
35954 if test "$USE_WIN32" != 1; then
35955 wxUSE_UNICODE_MSLU=no
35956 fi
35957
35958 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
35959 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
35960echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
35961if test "${ac_cv_lib_unicows_main+set}" = set; then
35962 echo $ECHO_N "(cached) $ECHO_C" >&6
35963else
35964 ac_check_lib_save_LIBS=$LIBS
35965LIBS="-lunicows $LIBS"
35966cat >conftest.$ac_ext <<_ACEOF
35967/* confdefs.h. */
35968_ACEOF
35969cat confdefs.h >>conftest.$ac_ext
35970cat >>conftest.$ac_ext <<_ACEOF
35971/* end confdefs.h. */
35972
35973
35974int
35975main ()
35976{
35977main ();
35978 ;
35979 return 0;
35980}
35981_ACEOF
35982rm -f conftest.$ac_objext conftest$ac_exeext
35983if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 35984 (eval $ac_link) 2>conftest.er1
a848cd7e 35985 ac_status=$?
ac1cb8d3
VS
35986 grep -v '^ *+' conftest.er1 >conftest.err
35987 rm -f conftest.er1
35988 cat conftest.err >&5
a848cd7e
SC
35989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35990 (exit $ac_status); } &&
d1c38808 35991 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
35992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35993 (eval $ac_try) 2>&5
35994 ac_status=$?
35995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35996 (exit $ac_status); }; } &&
35997 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
35998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35999 (eval $ac_try) 2>&5
36000 ac_status=$?
36001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36002 (exit $ac_status); }; }; then
36003 ac_cv_lib_unicows_main=yes
36004else
36005 echo "$as_me: failed program was:" >&5
36006sed 's/^/| /' conftest.$ac_ext >&5
36007
36008ac_cv_lib_unicows_main=no
36009fi
ac1cb8d3
VS
36010rm -f conftest.err conftest.$ac_objext \
36011 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
36012LIBS=$ac_check_lib_save_LIBS
36013fi
36014echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
36015echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
36016if test $ac_cv_lib_unicows_main = yes; then
36017
36018 cat >>confdefs.h <<\_ACEOF
36019#define wxUSE_UNICODE_MSLU 1
36020_ACEOF
36021
36022
36023else
36024
36025 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36026 Applications will only run on Windows NT/2000/XP!" >&5
36027echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36028 Applications will only run on Windows NT/2000/XP!" >&2;}
36029 wxUSE_UNICODE_MSLU=no
36030
36031fi
36032
36033 fi
36034fi
36035
36036if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
36037 cat >>confdefs.h <<\_ACEOF
36038#define wxUSE_EXPERIMENTAL_PRINTF 1
36039_ACEOF
36040
36041fi
36042
36043
36044if test "$wxUSE_POSTSCRIPT" = "yes" ; then
36045 cat >>confdefs.h <<\_ACEOF
36046#define wxUSE_POSTSCRIPT 1
36047_ACEOF
36048
36049fi
36050
36051cat >>confdefs.h <<\_ACEOF
36052#define wxUSE_AFM_FOR_POSTSCRIPT 1
36053_ACEOF
36054
36055
36056cat >>confdefs.h <<\_ACEOF
36057#define wxUSE_NORMALIZED_PS_FONTS 1
36058_ACEOF
36059
36060
36061
36062if test "$wxUSE_CONSTRAINTS" = "yes"; then
36063 cat >>confdefs.h <<\_ACEOF
36064#define wxUSE_CONSTRAINTS 1
36065_ACEOF
36066
36067 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
36068fi
36069
8a7b1113
VZ
36070if test "$wxUSE_MDI" = "yes"; then
36071 cat >>confdefs.h <<\_ACEOF
36072#define wxUSE_MDI 1
36073_ACEOF
36074
36075
36076 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36077 cat >>confdefs.h <<\_ACEOF
a848cd7e
SC
36078#define wxUSE_MDI_ARCHITECTURE 1
36079_ACEOF
36080
8a7b1113
VZ
36081 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
36082 fi
a848cd7e
SC
36083fi
36084
36085if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
36086 cat >>confdefs.h <<\_ACEOF
36087#define wxUSE_DOC_VIEW_ARCHITECTURE 1
36088_ACEOF
36089
36090 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
36091 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36092 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
36093 fi
36094fi
36095
36096if test "$wxUSE_HELP" = "yes"; then
36097 cat >>confdefs.h <<\_ACEOF
36098#define wxUSE_HELP 1
36099_ACEOF
36100
36101 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
36102
36103 if test "$wxUSE_MSW" = 1; then
36104 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
36105 cat >>confdefs.h <<\_ACEOF
36106#define wxUSE_MS_HTML_HELP 1
36107_ACEOF
36108
36109 fi
36110 fi
36111
36112 if test "$wxUSE_WXHTML_HELP" = "yes"; then
36113 if test "$wxUSE_HTML" = "yes"; then
36114 cat >>confdefs.h <<\_ACEOF
36115#define wxUSE_WXHTML_HELP 1
36116_ACEOF
36117
36118 else
36119 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
36120echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
36121 wxUSE_WXHTML_HELP=no
36122 fi
36123 fi
36124fi
36125
36126if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
36127 if test "$wxUSE_CONSTRAINTS" != "yes"; then
36128 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
36129echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
36130 else
36131 cat >>confdefs.h <<\_ACEOF
36132#define wxUSE_PRINTING_ARCHITECTURE 1
36133_ACEOF
36134
36135 fi
36136 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
36137fi
36138
36139if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
36140 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
36141echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
36142 { (exit 1); exit 1; }; }
36143fi
36144
36145
36146if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
36147 -o "$wxUSE_CLIPBOARD" = "yes" \
36148 -o "$wxUSE_OLE" = "yes" \
36149 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
36150
36151for ac_header in ole2.h
36152do
36153as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36154if eval "test \"\${$as_ac_Header+set}\" = set"; then
36155 echo "$as_me:$LINENO: checking for $ac_header" >&5
36156echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36157if eval "test \"\${$as_ac_Header+set}\" = set"; then
36158 echo $ECHO_N "(cached) $ECHO_C" >&6
36159fi
36160echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36161echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36162else
36163 # Is the header compilable?
36164echo "$as_me:$LINENO: checking $ac_header usability" >&5
36165echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36166cat >conftest.$ac_ext <<_ACEOF
36167/* confdefs.h. */
36168_ACEOF
36169cat confdefs.h >>conftest.$ac_ext
36170cat >>conftest.$ac_ext <<_ACEOF
36171/* end confdefs.h. */
36172$ac_includes_default
36173#include <$ac_header>
36174_ACEOF
36175rm -f conftest.$ac_objext
36176if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 36177 (eval $ac_compile) 2>conftest.er1
a848cd7e 36178 ac_status=$?
ac1cb8d3
VS
36179 grep -v '^ *+' conftest.er1 >conftest.err
36180 rm -f conftest.er1
36181 cat conftest.err >&5
a848cd7e
SC
36182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36183 (exit $ac_status); } &&
d1c38808 36184 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
36185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36186 (eval $ac_try) 2>&5
36187 ac_status=$?
36188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36189 (exit $ac_status); }; } &&
36190 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
36191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36192 (eval $ac_try) 2>&5
36193 ac_status=$?
36194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36195 (exit $ac_status); }; }; then
36196 ac_header_compiler=yes
36197else
36198 echo "$as_me: failed program was:" >&5
36199sed 's/^/| /' conftest.$ac_ext >&5
36200
36201ac_header_compiler=no
36202fi
ac1cb8d3 36203rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
36204echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36205echo "${ECHO_T}$ac_header_compiler" >&6
36206
36207# Is the header present?
36208echo "$as_me:$LINENO: checking $ac_header presence" >&5
36209echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36210cat >conftest.$ac_ext <<_ACEOF
36211/* confdefs.h. */
36212_ACEOF
36213cat confdefs.h >>conftest.$ac_ext
36214cat >>conftest.$ac_ext <<_ACEOF
36215/* end confdefs.h. */
36216#include <$ac_header>
36217_ACEOF
36218if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36219 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
36220 ac_status=$?
36221 grep -v '^ *+' conftest.er1 >conftest.err
36222 rm -f conftest.er1
36223 cat conftest.err >&5
36224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36225 (exit $ac_status); } >/dev/null; then
36226 if test -s conftest.err; then
36227 ac_cpp_err=$ac_c_preproc_warn_flag
ac1cb8d3 36228 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
a848cd7e
SC
36229 else
36230 ac_cpp_err=
36231 fi
36232else
36233 ac_cpp_err=yes
36234fi
36235if test -z "$ac_cpp_err"; then
36236 ac_header_preproc=yes
36237else
36238 echo "$as_me: failed program was:" >&5
36239sed 's/^/| /' conftest.$ac_ext >&5
36240
36241 ac_header_preproc=no
36242fi
36243rm -f conftest.err conftest.$ac_ext
36244echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36245echo "${ECHO_T}$ac_header_preproc" >&6
36246
36247# So? What about this header?
ac1cb8d3
VS
36248case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36249 yes:no: )
a848cd7e
SC
36250 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36251echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
ac1cb8d3
VS
36252 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36253echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36254 ac_header_preproc=yes
a848cd7e 36255 ;;
ac1cb8d3 36256 no:yes:* )
a848cd7e
SC
36257 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36258echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
ac1cb8d3
VS
36259 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36260echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36261 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36262echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36263 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36264echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
a848cd7e
SC
36265 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36266echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
ac1cb8d3
VS
36267 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36268echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
a848cd7e
SC
36269 (
36270 cat <<\_ASBOX
ac1cb8d3
VS
36271## ----------------------------------------- ##
36272## Report this to wx-dev@lists.wxwidgets.org ##
36273## ----------------------------------------- ##
a848cd7e
SC
36274_ASBOX
36275 ) |
36276 sed "s/^/$as_me: WARNING: /" >&2
36277 ;;
36278esac
36279echo "$as_me:$LINENO: checking for $ac_header" >&5
36280echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36281if eval "test \"\${$as_ac_Header+set}\" = set"; then
36282 echo $ECHO_N "(cached) $ECHO_C" >&6
36283else
ac1cb8d3 36284 eval "$as_ac_Header=\$ac_header_preproc"
a848cd7e
SC
36285fi
36286echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36287echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36288
36289fi
36290if test `eval echo '${'$as_ac_Header'}'` = yes; then
36291 cat >>confdefs.h <<_ACEOF
36292#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36293_ACEOF
36294
36295fi
36296
36297done
36298
36299
36300 if test "$ac_cv_header_ole2_h" = "yes" ; then
36301 if test "$GCC" = yes ; then
36302
36303
36304 ac_ext=cc
36305ac_cpp='$CXXCPP $CPPFLAGS'
36306ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36307ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36308ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36309
36310
36311 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
36312echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
36313 cat >conftest.$ac_ext <<_ACEOF
36314/* confdefs.h. */
36315_ACEOF
36316cat confdefs.h >>conftest.$ac_ext
36317cat >>conftest.$ac_ext <<_ACEOF
36318/* end confdefs.h. */
36319#include <windows.h>
36320 #include <ole2.h>
36321int
36322main ()
36323{
36324
36325 ;
36326 return 0;
36327}
36328_ACEOF
36329rm -f conftest.$ac_objext
36330if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 36331 (eval $ac_compile) 2>conftest.er1
a848cd7e 36332 ac_status=$?
ac1cb8d3
VS
36333 grep -v '^ *+' conftest.er1 >conftest.err
36334 rm -f conftest.er1
36335 cat conftest.err >&5
a848cd7e
SC
36336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36337 (exit $ac_status); } &&
d1c38808 36338 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
36339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36340 (eval $ac_try) 2>&5
36341 ac_status=$?
36342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36343 (exit $ac_status); }; } &&
36344 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
36345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36346 (eval $ac_try) 2>&5
36347 ac_status=$?
36348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36349 (exit $ac_status); }; }; then
36350 echo "$as_me:$LINENO: result: no" >&5
36351echo "${ECHO_T}no" >&6
36352else
36353 echo "$as_me: failed program was:" >&5
36354sed 's/^/| /' conftest.$ac_ext >&5
36355
36356echo "$as_me:$LINENO: result: yes" >&5
36357echo "${ECHO_T}yes" >&6
36358 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
36359fi
ac1cb8d3 36360rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
36361 ac_ext=c
36362ac_cpp='$CPP $CPPFLAGS'
36363ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36364ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36365ac_compiler_gnu=$ac_cv_c_compiler_gnu
36366
a848cd7e
SC
36367 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
36368 if test "$wxUSE_OLE" = "yes" ; then
36369 cat >>confdefs.h <<\_ACEOF
36370#define wxUSE_OLE 1
36371_ACEOF
36372
36373 fi
36374 fi
36375
36376 if test "$wxUSE_DATAOBJ" = "yes" ; then
36377 cat >>confdefs.h <<\_ACEOF
36378#define wxUSE_DATAOBJ 1
36379_ACEOF
36380
36381 fi
36382 else
36383 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
36384echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
36385
36386 wxUSE_CLIPBOARD=no
36387 wxUSE_DRAG_AND_DROP=no
36388 wxUSE_DATAOBJ=no
36389 wxUSE_OLE=no
36390 fi
36391
36392 if test "$wxUSE_METAFILE" = "yes"; then
36393 cat >>confdefs.h <<\_ACEOF
36394#define wxUSE_METAFILE 1
36395_ACEOF
36396
36397
36398 cat >>confdefs.h <<\_ACEOF
36399#define wxUSE_ENH_METAFILE 1
36400_ACEOF
36401
36402 fi
36403fi
36404
36405if test "$wxUSE_IPC" = "yes"; then
36406 if test "$wxUSE_SOCKETS" != "yes"; then
77ffb593
JS
36407 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
36408echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
a848cd7e
SC
36409 fi
36410
36411 cat >>confdefs.h <<\_ACEOF
36412#define wxUSE_IPC 1
36413_ACEOF
36414
36415fi
36416
36417if test "$wxUSE_CLIPBOARD" = "yes"; then
36418 if test "$wxUSE_MGL" = 1; then
36419 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
36420echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
36421 wxUSE_CLIPBOARD=no
36422 fi
36423
36424 if test "$wxUSE_CLIPBOARD" = "yes"; then
36425 cat >>confdefs.h <<\_ACEOF
36426#define wxUSE_CLIPBOARD 1
36427_ACEOF
36428
36429
36430 cat >>confdefs.h <<\_ACEOF
36431#define wxUSE_DATAOBJ 1
36432_ACEOF
36433
36434 fi
36435fi
36436
36437if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
36438 if test "$wxUSE_GTK" = 1; then
36439 if test "$WXGTK12" != 1; then
36440 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
36441echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
36442 wxUSE_DRAG_AND_DROP=no
36443 fi
36444 fi
36445
36446 if test "$wxUSE_MOTIF" = 1; then
36447 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
36448echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
36449 wxUSE_DRAG_AND_DROP=no
36450 fi
36451
36452 if test "$wxUSE_X11" = 1; then
36453 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
36454echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
36455 wxUSE_DRAG_AND_DROP=no
36456 fi
36457
36458 if test "$wxUSE_MGL" = 1; then
36459 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
36460echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
36461 wxUSE_DRAG_AND_DROP=no
36462 fi
36463
36464 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
36465 cat >>confdefs.h <<\_ACEOF
36466#define wxUSE_DRAG_AND_DROP 1
36467_ACEOF
36468
36469 fi
36470
36471fi
36472
36473if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
36474 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
36475fi
36476
36477if test "$wxUSE_SPLINES" = "yes" ; then
36478 cat >>confdefs.h <<\_ACEOF
36479#define wxUSE_SPLINES 1
36480_ACEOF
36481
36482fi
36483
36484
36485USES_CONTROLS=0
36486if test "$wxUSE_CONTROLS" = "yes"; then
36487 USES_CONTROLS=1
36488fi
36489
36490if test "$wxUSE_ACCEL" = "yes"; then
36491 cat >>confdefs.h <<\_ACEOF
36492#define wxUSE_ACCEL 1
36493_ACEOF
36494
36495 USES_CONTROLS=1
36496fi
36497
36498if test "$wxUSE_BUTTON" = "yes"; then
36499 cat >>confdefs.h <<\_ACEOF
36500#define wxUSE_BUTTON 1
36501_ACEOF
36502
36503 USES_CONTROLS=1
36504fi
36505
36506if test "$wxUSE_BMPBUTTON" = "yes"; then
36507 cat >>confdefs.h <<\_ACEOF
36508#define wxUSE_BMPBUTTON 1
36509_ACEOF
36510
36511 USES_CONTROLS=1
36512fi
36513
36514if test "$wxUSE_CALCTRL" = "yes"; then
36515 cat >>confdefs.h <<\_ACEOF
36516#define wxUSE_CALENDARCTRL 1
36517_ACEOF
36518
36519 USES_CONTROLS=1
36520 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
36521fi
36522
36523if test "$wxUSE_CARET" = "yes"; then
36524 cat >>confdefs.h <<\_ACEOF
36525#define wxUSE_CARET 1
36526_ACEOF
36527
36528 USES_CONTROLS=1
36529 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
36530fi
36531
36532if test "$wxUSE_COMBOBOX" = "yes"; then
36533 cat >>confdefs.h <<\_ACEOF
36534#define wxUSE_COMBOBOX 1
36535_ACEOF
36536
36537 USES_CONTROLS=1
36538fi
36539
36540if test "$wxUSE_CHOICE" = "yes"; then
36541 cat >>confdefs.h <<\_ACEOF
36542#define wxUSE_CHOICE 1
36543_ACEOF
36544
36545 USES_CONTROLS=1
36546fi
36547
92bbdbcd
WS
36548if test "$wxUSE_CHOICEBOOK" = "yes"; then
36549 cat >>confdefs.h <<\_ACEOF
36550#define wxUSE_CHOICEBOOK 1
36551_ACEOF
36552
36553 USES_CONTROLS=1
36554fi
36555
a848cd7e
SC
36556if test "$wxUSE_CHECKBOX" = "yes"; then
36557 cat >>confdefs.h <<\_ACEOF
36558#define wxUSE_CHECKBOX 1
36559_ACEOF
36560
36561 USES_CONTROLS=1
36562fi
36563
36564if test "$wxUSE_CHECKLST" = "yes"; then
36565 cat >>confdefs.h <<\_ACEOF
36566#define wxUSE_CHECKLISTBOX 1
36567_ACEOF
36568
36569 USES_CONTROLS=1
36570 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
36571fi
36572
36573if test "$wxUSE_DISPLAY" = "yes"; then
36574 cat >>confdefs.h <<\_ACEOF
36575#define wxUSE_DISPLAY 1
36576_ACEOF
36577
36578 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
36579fi
36580
36581if test "$wxUSE_GAUGE" = "yes"; then
36582 cat >>confdefs.h <<\_ACEOF
36583#define wxUSE_GAUGE 1
36584_ACEOF
36585
36586 USES_CONTROLS=1
36587fi
36588
36589if test "$wxUSE_GRID" = "yes"; then
36590 cat >>confdefs.h <<\_ACEOF
36591#define wxUSE_GRID 1
36592_ACEOF
36593
36594 USES_CONTROLS=1
36595 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
36596fi
36597
36598if test "$wxUSE_IMAGLIST" = "yes"; then
36599 cat >>confdefs.h <<\_ACEOF
36600#define wxUSE_IMAGLIST 1
36601_ACEOF
36602
36603fi
36604
36605if test "$wxUSE_LISTBOOK" = "yes"; then
36606 cat >>confdefs.h <<\_ACEOF
36607#define wxUSE_LISTBOOK 1
36608_ACEOF
36609
36610 USES_CONTROLS=1
36611fi
36612
36613if test "$wxUSE_LISTBOX" = "yes"; then
36614 cat >>confdefs.h <<\_ACEOF
36615#define wxUSE_LISTBOX 1
36616_ACEOF
36617
36618 USES_CONTROLS=1
36619fi
36620
36621if test "$wxUSE_LISTCTRL" = "yes"; then
36622 if test "$wxUSE_IMAGLIST" = "yes"; then
36623 cat >>confdefs.h <<\_ACEOF
36624#define wxUSE_LISTCTRL 1
36625_ACEOF
36626
36627 USES_CONTROLS=1
36628 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
36629 else
36630 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36631echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36632 fi
36633fi
36634
36635if test "$wxUSE_NOTEBOOK" = "yes"; then
36636 cat >>confdefs.h <<\_ACEOF
36637#define wxUSE_NOTEBOOK 1
36638_ACEOF
36639
36640 USES_CONTROLS=1
36641 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
36642fi
36643
36644
36645if test "$wxUSE_RADIOBOX" = "yes"; then
36646 cat >>confdefs.h <<\_ACEOF
36647#define wxUSE_RADIOBOX 1
36648_ACEOF
36649
36650 USES_CONTROLS=1
36651fi
36652
36653if test "$wxUSE_RADIOBTN" = "yes"; then
36654 cat >>confdefs.h <<\_ACEOF
36655#define wxUSE_RADIOBTN 1
36656_ACEOF
36657
36658 USES_CONTROLS=1
36659fi
36660
36661if test "$wxUSE_SASH" = "yes"; then
36662 cat >>confdefs.h <<\_ACEOF
36663#define wxUSE_SASH 1
36664_ACEOF
36665
36666 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
36667fi
36668
36669if test "$wxUSE_SCROLLBAR" = "yes"; then
36670 cat >>confdefs.h <<\_ACEOF
36671#define wxUSE_SCROLLBAR 1
36672_ACEOF
36673
36674 USES_CONTROLS=1
36675 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
36676fi
36677
36678if test "$wxUSE_SLIDER" = "yes"; then
36679 cat >>confdefs.h <<\_ACEOF
36680#define wxUSE_SLIDER 1
36681_ACEOF
36682
36683 USES_CONTROLS=1
36684fi
36685
36686if test "$wxUSE_SPINBTN" = "yes"; then
36687 cat >>confdefs.h <<\_ACEOF
36688#define wxUSE_SPINBTN 1
36689_ACEOF
36690
36691 USES_CONTROLS=1
36692fi
36693
36694if test "$wxUSE_SPINCTRL" = "yes"; then
36695 cat >>confdefs.h <<\_ACEOF
36696#define wxUSE_SPINCTRL 1
36697_ACEOF
36698
36699 USES_CONTROLS=1
36700fi
36701
36702if test "$wxUSE_SPLITTER" = "yes"; then
36703 cat >>confdefs.h <<\_ACEOF
36704#define wxUSE_SPLITTER 1
36705_ACEOF
36706
36707 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
36708fi
36709
36710if test "$wxUSE_STATBMP" = "yes"; then
36711 cat >>confdefs.h <<\_ACEOF
36712#define wxUSE_STATBMP 1
36713_ACEOF
36714
36715 USES_CONTROLS=1
36716fi
36717
36718if test "$wxUSE_STATBOX" = "yes"; then
36719 cat >>confdefs.h <<\_ACEOF
36720#define wxUSE_STATBOX 1
36721_ACEOF
36722
36723 USES_CONTROLS=1
36724fi
36725
36726if test "$wxUSE_STATTEXT" = "yes"; then
36727 cat >>confdefs.h <<\_ACEOF
36728#define wxUSE_STATTEXT 1
36729_ACEOF
36730
36731 USES_CONTROLS=1
36732fi
36733
36734if test "$wxUSE_STATLINE" = "yes"; then
36735 cat >>confdefs.h <<\_ACEOF
36736#define wxUSE_STATLINE 1
36737_ACEOF
36738
36739 USES_CONTROLS=1
36740fi
36741
36742if test "$wxUSE_STATUSBAR" = "yes"; then
36743 cat >>confdefs.h <<\_ACEOF
36744#define wxUSE_STATUSBAR 1
36745_ACEOF
36746
36747 USES_CONTROLS=1
36748
36749 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
36750fi
36751
36752if test "$wxUSE_TABDIALOG" = "yes"; then
36753 cat >>confdefs.h <<\_ACEOF
36754#define wxUSE_TAB_DIALOG 1
36755_ACEOF
36756
36757 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
36758fi
36759
36760if test "$wxUSE_TEXTCTRL" = "yes"; then
36761 cat >>confdefs.h <<\_ACEOF
36762#define wxUSE_TEXTCTRL 1
36763_ACEOF
36764
36765 USES_CONTROLS=1
36766 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
36767fi
36768
36769if test "$wxUSE_TOGGLEBTN" = "yes"; then
36770 if test "$wxUSE_COCOA" = 1 ; then
36771 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
36772echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
36773 wxUSE_TOGGLEBTN=no
bdcade0a
MB
36774 else
36775 if test "$wxUSE_PM" = 1; then
36776 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under PM... disabled" >&5
36777echo "$as_me: WARNING: Toggle button not yet supported under PM... disabled" >&2;}
36778 wxUSE_TOGGLEBTN=no
36779 fi
a848cd7e
SC
36780 fi
36781 if test "$wxUSE_UNIVERSAL" = "yes"; then
36782 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
36783echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
36784 wxUSE_TOGGLEBTN=no
36785 fi
36786
36787 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36788 cat >>confdefs.h <<\_ACEOF
36789#define wxUSE_TOGGLEBTN 1
36790_ACEOF
36791
36792 USES_CONTROLS=1
36793 fi
36794fi
36795
36796if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
36797 cat >>confdefs.h <<\_ACEOF
36798#define wxUSE_TOOLBAR_SIMPLE 1
36799_ACEOF
36800
36801 wxUSE_TOOLBAR="yes"
36802 USES_CONTROLS=1
36803fi
36804
36805if test "$wxUSE_TOOLBAR" = "yes"; then
36806 cat >>confdefs.h <<\_ACEOF
36807#define wxUSE_TOOLBAR 1
36808_ACEOF
36809
36810 USES_CONTROLS=1
36811
36812 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
36813 wxUSE_TOOLBAR_NATIVE="yes"
36814 fi
36815
36816 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
36817 cat >>confdefs.h <<\_ACEOF
36818#define wxUSE_TOOLBAR_NATIVE 1
36819_ACEOF
36820
36821 USES_CONTROLS=1
36822 fi
36823
36824 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
36825fi
36826
36827if test "$wxUSE_TOOLTIPS" = "yes"; then
36828 if test "$wxUSE_MOTIF" = 1; then
36829 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
36830echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
36831 else
36832 if test "$wxUSE_UNIVERSAL" = "yes"; then
36833 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
36834echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
36835 else
36836 cat >>confdefs.h <<\_ACEOF
36837#define wxUSE_TOOLTIPS 1
36838_ACEOF
36839
36840 fi
36841 fi
36842fi
36843
36844if test "$wxUSE_TREECTRL" = "yes"; then
36845 if test "$wxUSE_IMAGLIST" = "yes"; then
36846 cat >>confdefs.h <<\_ACEOF
36847#define wxUSE_TREECTRL 1
36848_ACEOF
36849
36850 USES_CONTROLS=1
36851 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
36852 else
36853 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
36854echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
36855 fi
36856fi
36857
36858if test "$wxUSE_POPUPWIN" = "yes"; then
36859 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
36860 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
36861echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
36862 else
36863 if test "$wxUSE_PM" = 1; then
36864 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
36865echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
36866 else
36867 cat >>confdefs.h <<\_ACEOF
36868#define wxUSE_POPUPWIN 1
36869_ACEOF
36870
36871
36872 USES_CONTROLS=1
36873 fi
36874 fi
36875fi
36876
36877if test "$wxUSE_TIPWINDOW" = "yes"; then
36878 if test "$wxUSE_PM" = 1; then
36879 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
36880echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
36881 else
36882 cat >>confdefs.h <<\_ACEOF
36883#define wxUSE_TIPWINDOW 1
36884_ACEOF
36885
36886 fi
36887fi
36888
36889if test "$USES_CONTROLS" = 1; then
36890 cat >>confdefs.h <<\_ACEOF
36891#define wxUSE_CONTROLS 1
36892_ACEOF
36893
36894fi
36895
36896
36897if test "$wxUSE_ACCESSIBILITY" = "yes"; then
36898 cat >>confdefs.h <<\_ACEOF
36899#define wxUSE_ACCESSIBILITY 1
36900_ACEOF
36901
36902 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
36903fi
36904
36905if test "$wxUSE_DRAGIMAGE" = "yes"; then
36906 cat >>confdefs.h <<\_ACEOF
36907#define wxUSE_DRAGIMAGE 1
36908_ACEOF
36909
36910 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
36911fi
36912
36913if test "$wxUSE_EXCEPTIONS" = "yes"; then
07bea8f0
VS
36914 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
36915 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
36916echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
36917 else
36918 cat >>confdefs.h <<\_ACEOF
a848cd7e
SC
36919#define wxUSE_EXCEPTIONS 1
36920_ACEOF
36921
07bea8f0
VS
36922 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
36923 fi
a848cd7e
SC
36924fi
36925
36926USE_HTML=0
36927if test "$wxUSE_HTML" = "yes"; then
36928 cat >>confdefs.h <<\_ACEOF
36929#define wxUSE_HTML 1
36930_ACEOF
36931
36932 USE_HTML=1
36933 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
de59c161
RD
36934 if test "$wxUSE_MAC" = 1; then
36935 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
36936 fi
a848cd7e 36937fi
646b6ec1 36938if test "$wxUSE_WEBKIT" = "yes"; then
07bea8f0
VS
36939 if test "$wxUSE_MAC" = 1; then
36940 old_CPPFLAGS="$CPPFLAGS"
36941 CPPFLAGS="$CPPFLAGS -x objective-c++"
36942 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
36943echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
36944if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
36945 echo $ECHO_N "(cached) $ECHO_C" >&6
36946else
36947 cat >conftest.$ac_ext <<_ACEOF
36948/* confdefs.h. */
36949_ACEOF
36950cat confdefs.h >>conftest.$ac_ext
36951cat >>conftest.$ac_ext <<_ACEOF
36952/* end confdefs.h. */
36953#include <Carbon/Carbon.h>
36954
36955#include <WebKit/HIWebView.h>
36956_ACEOF
36957rm -f conftest.$ac_objext
36958if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36959 (eval $ac_compile) 2>conftest.er1
36960 ac_status=$?
36961 grep -v '^ *+' conftest.er1 >conftest.err
36962 rm -f conftest.er1
36963 cat conftest.err >&5
36964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36965 (exit $ac_status); } &&
d1c38808 36966 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
07bea8f0
VS
36967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36968 (eval $ac_try) 2>&5
36969 ac_status=$?
36970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36971 (exit $ac_status); }; } &&
36972 { ac_try='test -s conftest.$ac_objext'
36973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36974 (eval $ac_try) 2>&5
36975 ac_status=$?
36976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36977 (exit $ac_status); }; }; then
36978 ac_cv_header_WebKit_HIWebView_h=yes
36979else
36980 echo "$as_me: failed program was:" >&5
36981sed 's/^/| /' conftest.$ac_ext >&5
36982
36983ac_cv_header_WebKit_HIWebView_h=no
36984fi
36985rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36986fi
36987echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
36988echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
36989if test $ac_cv_header_WebKit_HIWebView_h = yes; then
36990
36991 cat >>confdefs.h <<\_ACEOF
646b6ec1
VS
36992#define wxUSE_WEBKIT 1
36993_ACEOF
36994
07bea8f0
VS
36995 WEBKIT_LINK="-framework WebKit"
36996
36997else
36998
36999 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
37000echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
37001 wxUSE_WEBKIT=no
37002
646b6ec1
VS
37003fi
37004
07bea8f0
VS
37005
37006 CPPFLAGS="$old_CPPFLAGS"
37007 elif test "$wxUSE_COCOA" = 1; then
37008 cat >>confdefs.h <<\_ACEOF
37009#define wxUSE_WEBKIT 1
37010_ACEOF
37011
37012 else
37013 wxUSE_WEBKIT=no
37014 fi
37015fi
37016
9a8f0513
VS
37017USE_XRC=0
37018if test "$wxUSE_XRC" = "yes"; then
d2ebf0b7
VS
37019 if test "$wxUSE_XML" != "yes"; then
37020 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
37021echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
37022 wxUSE_XRC=no
37023 else
37024 cat >>confdefs.h <<\_ACEOF
9a8f0513
VS
37025#define wxUSE_XRC 1
37026_ACEOF
37027
d2ebf0b7
VS
37028 USE_XRC=1
37029 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
37030 fi
9a8f0513 37031fi
07bea8f0 37032
a848cd7e
SC
37033if test "$wxUSE_MENUS" = "yes"; then
37034 cat >>confdefs.h <<\_ACEOF
37035#define wxUSE_MENUS 1
37036_ACEOF
37037
37038 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
37039fi
37040
37041if test "$wxUSE_METAFILE" = "yes"; then
37042 cat >>confdefs.h <<\_ACEOF
37043#define wxUSE_METAFILE 1
37044_ACEOF
37045
37046fi
37047
37048if test "$wxUSE_MIMETYPE" = "yes"; then
37049 cat >>confdefs.h <<\_ACEOF
37050#define wxUSE_MIMETYPE 1
37051_ACEOF
37052
37053fi
37054
37055if test "$wxUSE_MINIFRAME" = "yes"; then
37056 cat >>confdefs.h <<\_ACEOF
37057#define wxUSE_MINIFRAME 1
37058_ACEOF
37059
37060 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
37061fi
37062
37063if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
37064 cat >>confdefs.h <<\_ACEOF
37065#define wxUSE_SYSTEM_OPTIONS 1
37066_ACEOF
37067
37068 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
a49baeab 37069 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
a848cd7e
SC
37070 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
37071 fi
37072fi
37073
37074
37075if test "$wxUSE_VALIDATORS" = "yes"; then
37076 cat >>confdefs.h <<\_ACEOF
37077#define wxUSE_VALIDATORS 1
37078_ACEOF
37079
37080 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
37081fi
37082
37083if test "$wxUSE_PALETTE" = "yes" ; then
37084 cat >>confdefs.h <<\_ACEOF
37085#define wxUSE_PALETTE 1
37086_ACEOF
37087
37088fi
37089
37090if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
37091 LIBS=" -lunicows $LIBS"
37092fi
37093
37094
37095if test "$wxUSE_IMAGE" = "yes" ; then
37096 cat >>confdefs.h <<\_ACEOF
37097#define wxUSE_IMAGE 1
37098_ACEOF
37099
37100
37101 if test "$wxUSE_GIF" = "yes" ; then
37102 cat >>confdefs.h <<\_ACEOF
37103#define wxUSE_GIF 1
37104_ACEOF
37105
37106 fi
37107
37108 if test "$wxUSE_PCX" = "yes" ; then
37109 cat >>confdefs.h <<\_ACEOF
37110#define wxUSE_PCX 1
37111_ACEOF
37112
37113 fi
37114
37115 if test "$wxUSE_IFF" = "yes" ; then
37116 cat >>confdefs.h <<\_ACEOF
37117#define wxUSE_IFF 1
37118_ACEOF
37119
37120 fi
37121
37122 if test "$wxUSE_PNM" = "yes" ; then
37123 cat >>confdefs.h <<\_ACEOF
37124#define wxUSE_PNM 1
37125_ACEOF
37126
37127 fi
37128
37129 if test "$wxUSE_XPM" = "yes" ; then
37130 cat >>confdefs.h <<\_ACEOF
37131#define wxUSE_XPM 1
37132_ACEOF
37133
37134 fi
37135
37136 if test "$wxUSE_ICO_CUR" = "yes" ; then
37137 cat >>confdefs.h <<\_ACEOF
37138#define wxUSE_ICO_CUR 1
37139_ACEOF
37140
37141 fi
37142fi
37143
37144
37145if test "$wxUSE_CHOICEDLG" = "yes"; then
37146 cat >>confdefs.h <<\_ACEOF
37147#define wxUSE_CHOICEDLG 1
37148_ACEOF
37149
37150fi
37151
37152if test "$wxUSE_COLOURDLG" = "yes"; then
37153 cat >>confdefs.h <<\_ACEOF
37154#define wxUSE_COLOURDLG 1
37155_ACEOF
37156
37157fi
37158
37159if test "$wxUSE_FILEDLG" = "yes"; then
37160 cat >>confdefs.h <<\_ACEOF
37161#define wxUSE_FILEDLG 1
37162_ACEOF
37163
37164fi
37165
37166if test "$wxUSE_FINDREPLDLG" = "yes"; then
37167 cat >>confdefs.h <<\_ACEOF
37168#define wxUSE_FINDREPLDLG 1
37169_ACEOF
37170
37171fi
37172
37173if test "$wxUSE_FONTDLG" = "yes"; then
37174 cat >>confdefs.h <<\_ACEOF
37175#define wxUSE_FONTDLG 1
37176_ACEOF
37177
37178fi
37179
37180if test "$wxUSE_DIRDLG" = "yes"; then
37181 if test "$wxUSE_TREECTRL" != "yes"; then
37182 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
37183echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
37184 else
37185 cat >>confdefs.h <<\_ACEOF
37186#define wxUSE_DIRDLG 1
37187_ACEOF
37188
37189 fi
37190fi
37191
37192if test "$wxUSE_MSGDLG" = "yes"; then
37193 cat >>confdefs.h <<\_ACEOF
37194#define wxUSE_MSGDLG 1
37195_ACEOF
37196
37197fi
37198
37199if test "$wxUSE_NUMBERDLG" = "yes"; then
37200 cat >>confdefs.h <<\_ACEOF
37201#define wxUSE_NUMBERDLG 1
37202_ACEOF
37203
37204fi
37205
37206if test "$wxUSE_PROGRESSDLG" = "yes"; then
37207 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37208 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
37209echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
37210 else
37211 cat >>confdefs.h <<\_ACEOF
37212#define wxUSE_PROGRESSDLG 1
37213_ACEOF
37214
37215 fi
37216fi
37217
37218if test "$wxUSE_SPLASH" = "yes"; then
37219 cat >>confdefs.h <<\_ACEOF
37220#define wxUSE_SPLASH 1
37221_ACEOF
37222
2057db16 37223 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
a848cd7e
SC
37224fi
37225
37226if test "$wxUSE_STARTUP_TIPS" = "yes"; then
37227 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37228 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
37229echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
37230 else
37231 cat >>confdefs.h <<\_ACEOF
37232#define wxUSE_STARTUP_TIPS 1
37233_ACEOF
37234
37235 fi
37236fi
37237
37238if test "$wxUSE_TEXTDLG" = "yes"; then
37239 cat >>confdefs.h <<\_ACEOF
37240#define wxUSE_TEXTDLG 1
37241_ACEOF
37242
37243fi
37244
37245if test "$wxUSE_WIZARDDLG" = "yes"; then
37246 cat >>confdefs.h <<\_ACEOF
37247#define wxUSE_WIZARDDLG 1
37248_ACEOF
37249
37250 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
37251fi
37252
37253
37254if test "$cross_compiling" = "yes"; then
37255 OSINFO="\"$host\""
37256else
37257 OSINFO=`uname -s -r -m`
37258 OSINFO="\"$OSINFO\""
37259fi
37260
37261cat >>confdefs.h <<_ACEOF
37262#define WXWIN_OS_DESCRIPTION $OSINFO
37263_ACEOF
37264
37265
37266
37267if test "x$prefix" != "xNONE"; then
37268 wxPREFIX=$prefix
37269else
37270 wxPREFIX=$ac_default_prefix
37271fi
37272
37273cat >>confdefs.h <<_ACEOF
37274#define wxINSTALL_PREFIX "$wxPREFIX"
37275_ACEOF
37276
37277
a848cd7e
SC
37278
37279
37280CORE_BASE_LIBS="net base"
37281CORE_GUI_LIBS="adv core"
37282
37283if test "$wxUSE_XML" = "yes" ; then
37284 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
37285fi
37286if test "$wxUSE_ODBC" != "no" ; then
37287 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
37288 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
37289fi
37290if test "$wxUSE_HTML" = "yes" ; then
37291 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
37292fi
9a8f0513
VS
37293if test "$wxUSE_XRC" = "yes" ; then
37294 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
37295fi
a848cd7e
SC
37296
37297if test "$wxUSE_GUI" != "yes"; then
37298 CORE_GUI_LIBS=""
37299fi
37300
37301
37302
37303
37304
37305
37306
37307
37308if test "$wxUSE_MAC" = 1 ; then
07bea8f0
VS
37309 if test "$wxUSE_SOUND" = "yes"; then
37310 LDFLAGS="$LDFLAGS -framework QuickTime"
37311 fi
5dcf30a0
RN
37312 if test "$USE_DARWIN" = 1; then
37313 LDFLAGS="$LDFLAGS -framework IOKit"
37314 fi
07bea8f0 37315 LDFLAGS="$LDFLAGS -framework Carbon -framework Cocoa -framework System"
a848cd7e
SC
37316fi
37317if test "$wxUSE_COCOA" = 1 ; then
f7e98dee 37318 LDFLAGS="$LDFLAGS -framework Cocoa"
a848cd7e
SC
37319fi
37320
37321
37322LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37323
37324have_cos=0
37325have_floor=0
37326
37327for ac_func in cos
37328do
37329as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37330echo "$as_me:$LINENO: checking for $ac_func" >&5
37331echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37332if eval "test \"\${$as_ac_var+set}\" = set"; then
37333 echo $ECHO_N "(cached) $ECHO_C" >&6
37334else
37335 cat >conftest.$ac_ext <<_ACEOF
37336/* confdefs.h. */
37337_ACEOF
37338cat confdefs.h >>conftest.$ac_ext
37339cat >>conftest.$ac_ext <<_ACEOF
37340/* end confdefs.h. */
ac1cb8d3
VS
37341/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37342 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37343#define $ac_func innocuous_$ac_func
37344
a848cd7e
SC
37345/* System header to define __stub macros and hopefully few prototypes,
37346 which can conflict with char $ac_func (); below.
37347 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37348 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 37349
a848cd7e
SC
37350#ifdef __STDC__
37351# include <limits.h>
37352#else
37353# include <assert.h>
37354#endif
ac1cb8d3
VS
37355
37356#undef $ac_func
37357
a848cd7e
SC
37358/* Override any gcc2 internal prototype to avoid an error. */
37359#ifdef __cplusplus
37360extern "C"
37361{
37362#endif
37363/* We use char because int might match the return type of a gcc2
37364 builtin and then its argument prototype would still apply. */
37365char $ac_func ();
37366/* The GNU C library defines this for functions which it implements
37367 to always fail with ENOSYS. Some functions are actually named
37368 something starting with __ and the normal name is an alias. */
37369#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37370choke me
37371#else
37372char (*f) () = $ac_func;
37373#endif
37374#ifdef __cplusplus
37375}
37376#endif
37377
37378int
37379main ()
37380{
37381return f != $ac_func;
37382 ;
37383 return 0;
37384}
37385_ACEOF
37386rm -f conftest.$ac_objext conftest$ac_exeext
37387if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 37388 (eval $ac_link) 2>conftest.er1
a848cd7e 37389 ac_status=$?
ac1cb8d3
VS
37390 grep -v '^ *+' conftest.er1 >conftest.err
37391 rm -f conftest.er1
37392 cat conftest.err >&5
a848cd7e
SC
37393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37394 (exit $ac_status); } &&
d1c38808 37395 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
37396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37397 (eval $ac_try) 2>&5
37398 ac_status=$?
37399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37400 (exit $ac_status); }; } &&
37401 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
37402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37403 (eval $ac_try) 2>&5
37404 ac_status=$?
37405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37406 (exit $ac_status); }; }; then
37407 eval "$as_ac_var=yes"
37408else
37409 echo "$as_me: failed program was:" >&5
37410sed 's/^/| /' conftest.$ac_ext >&5
37411
37412eval "$as_ac_var=no"
37413fi
ac1cb8d3
VS
37414rm -f conftest.err conftest.$ac_objext \
37415 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
37416fi
37417echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37418echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37419if test `eval echo '${'$as_ac_var'}'` = yes; then
37420 cat >>confdefs.h <<_ACEOF
37421#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37422_ACEOF
37423 have_cos=1
37424fi
37425done
37426
37427
37428for ac_func in floor
37429do
37430as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37431echo "$as_me:$LINENO: checking for $ac_func" >&5
37432echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37433if eval "test \"\${$as_ac_var+set}\" = set"; then
37434 echo $ECHO_N "(cached) $ECHO_C" >&6
37435else
37436 cat >conftest.$ac_ext <<_ACEOF
37437/* confdefs.h. */
37438_ACEOF
37439cat confdefs.h >>conftest.$ac_ext
37440cat >>conftest.$ac_ext <<_ACEOF
37441/* end confdefs.h. */
ac1cb8d3
VS
37442/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37444#define $ac_func innocuous_$ac_func
37445
a848cd7e
SC
37446/* System header to define __stub macros and hopefully few prototypes,
37447 which can conflict with char $ac_func (); below.
37448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37449 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 37450
a848cd7e
SC
37451#ifdef __STDC__
37452# include <limits.h>
37453#else
37454# include <assert.h>
37455#endif
ac1cb8d3
VS
37456
37457#undef $ac_func
37458
a848cd7e
SC
37459/* Override any gcc2 internal prototype to avoid an error. */
37460#ifdef __cplusplus
37461extern "C"
37462{
37463#endif
37464/* We use char because int might match the return type of a gcc2
37465 builtin and then its argument prototype would still apply. */
37466char $ac_func ();
37467/* The GNU C library defines this for functions which it implements
37468 to always fail with ENOSYS. Some functions are actually named
37469 something starting with __ and the normal name is an alias. */
37470#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37471choke me
37472#else
37473char (*f) () = $ac_func;
37474#endif
37475#ifdef __cplusplus
37476}
37477#endif
37478
37479int
37480main ()
37481{
37482return f != $ac_func;
37483 ;
37484 return 0;
37485}
37486_ACEOF
37487rm -f conftest.$ac_objext conftest$ac_exeext
37488if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 37489 (eval $ac_link) 2>conftest.er1
a848cd7e 37490 ac_status=$?
ac1cb8d3
VS
37491 grep -v '^ *+' conftest.er1 >conftest.err
37492 rm -f conftest.er1
37493 cat conftest.err >&5
a848cd7e
SC
37494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37495 (exit $ac_status); } &&
d1c38808 37496 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
37497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37498 (eval $ac_try) 2>&5
37499 ac_status=$?
37500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37501 (exit $ac_status); }; } &&
37502 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
37503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37504 (eval $ac_try) 2>&5
37505 ac_status=$?
37506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37507 (exit $ac_status); }; }; then
37508 eval "$as_ac_var=yes"
37509else
37510 echo "$as_me: failed program was:" >&5
37511sed 's/^/| /' conftest.$ac_ext >&5
37512
37513eval "$as_ac_var=no"
37514fi
ac1cb8d3
VS
37515rm -f conftest.err conftest.$ac_objext \
37516 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
37517fi
37518echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37519echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37520if test `eval echo '${'$as_ac_var'}'` = yes; then
37521 cat >>confdefs.h <<_ACEOF
37522#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37523_ACEOF
37524 have_floor=1
37525fi
37526done
37527
37528echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
37529echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
37530if test "$have_cos" = 1 -a "$have_floor" = 1; then
37531 echo "$as_me:$LINENO: result: yes" >&5
37532echo "${ECHO_T}yes" >&6
37533else
37534 echo "$as_me:$LINENO: result: no" >&5
37535echo "${ECHO_T}no" >&6
37536 LIBS="$LIBS -lm"
37537 # use different functions to avoid configure caching
37538 have_sin=0
37539 have_ceil=0
37540
37541for ac_func in sin
37542do
37543as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37544echo "$as_me:$LINENO: checking for $ac_func" >&5
37545echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37546if eval "test \"\${$as_ac_var+set}\" = set"; then
37547 echo $ECHO_N "(cached) $ECHO_C" >&6
37548else
37549 cat >conftest.$ac_ext <<_ACEOF
37550/* confdefs.h. */
37551_ACEOF
37552cat confdefs.h >>conftest.$ac_ext
37553cat >>conftest.$ac_ext <<_ACEOF
37554/* end confdefs.h. */
ac1cb8d3
VS
37555/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37556 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37557#define $ac_func innocuous_$ac_func
37558
a848cd7e
SC
37559/* System header to define __stub macros and hopefully few prototypes,
37560 which can conflict with char $ac_func (); below.
37561 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37562 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 37563
a848cd7e
SC
37564#ifdef __STDC__
37565# include <limits.h>
37566#else
37567# include <assert.h>
37568#endif
ac1cb8d3
VS
37569
37570#undef $ac_func
37571
a848cd7e
SC
37572/* Override any gcc2 internal prototype to avoid an error. */
37573#ifdef __cplusplus
37574extern "C"
37575{
37576#endif
37577/* We use char because int might match the return type of a gcc2
37578 builtin and then its argument prototype would still apply. */
37579char $ac_func ();
37580/* The GNU C library defines this for functions which it implements
37581 to always fail with ENOSYS. Some functions are actually named
37582 something starting with __ and the normal name is an alias. */
37583#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37584choke me
37585#else
37586char (*f) () = $ac_func;
37587#endif
37588#ifdef __cplusplus
37589}
37590#endif
37591
37592int
37593main ()
37594{
37595return f != $ac_func;
37596 ;
37597 return 0;
37598}
37599_ACEOF
37600rm -f conftest.$ac_objext conftest$ac_exeext
37601if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 37602 (eval $ac_link) 2>conftest.er1
a848cd7e 37603 ac_status=$?
ac1cb8d3
VS
37604 grep -v '^ *+' conftest.er1 >conftest.err
37605 rm -f conftest.er1
37606 cat conftest.err >&5
a848cd7e
SC
37607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37608 (exit $ac_status); } &&
d1c38808 37609 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
37610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37611 (eval $ac_try) 2>&5
37612 ac_status=$?
37613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37614 (exit $ac_status); }; } &&
37615 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
37616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37617 (eval $ac_try) 2>&5
37618 ac_status=$?
37619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37620 (exit $ac_status); }; }; then
37621 eval "$as_ac_var=yes"
37622else
37623 echo "$as_me: failed program was:" >&5
37624sed 's/^/| /' conftest.$ac_ext >&5
37625
37626eval "$as_ac_var=no"
37627fi
ac1cb8d3
VS
37628rm -f conftest.err conftest.$ac_objext \
37629 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
37630fi
37631echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37632echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37633if test `eval echo '${'$as_ac_var'}'` = yes; then
37634 cat >>confdefs.h <<_ACEOF
37635#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37636_ACEOF
37637 have_sin=1
37638fi
37639done
37640
37641
37642for ac_func in ceil
37643do
37644as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37645echo "$as_me:$LINENO: checking for $ac_func" >&5
37646echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37647if eval "test \"\${$as_ac_var+set}\" = set"; then
37648 echo $ECHO_N "(cached) $ECHO_C" >&6
37649else
37650 cat >conftest.$ac_ext <<_ACEOF
37651/* confdefs.h. */
37652_ACEOF
37653cat confdefs.h >>conftest.$ac_ext
37654cat >>conftest.$ac_ext <<_ACEOF
37655/* end confdefs.h. */
ac1cb8d3
VS
37656/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37658#define $ac_func innocuous_$ac_func
37659
a848cd7e
SC
37660/* System header to define __stub macros and hopefully few prototypes,
37661 which can conflict with char $ac_func (); below.
37662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37663 <limits.h> exists even on freestanding compilers. */
ac1cb8d3 37664
a848cd7e
SC
37665#ifdef __STDC__
37666# include <limits.h>
37667#else
37668# include <assert.h>
37669#endif
ac1cb8d3
VS
37670
37671#undef $ac_func
37672
a848cd7e
SC
37673/* Override any gcc2 internal prototype to avoid an error. */
37674#ifdef __cplusplus
37675extern "C"
37676{
37677#endif
37678/* We use char because int might match the return type of a gcc2
37679 builtin and then its argument prototype would still apply. */
37680char $ac_func ();
37681/* The GNU C library defines this for functions which it implements
37682 to always fail with ENOSYS. Some functions are actually named
37683 something starting with __ and the normal name is an alias. */
37684#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37685choke me
37686#else
37687char (*f) () = $ac_func;
37688#endif
37689#ifdef __cplusplus
37690}
37691#endif
37692
37693int
37694main ()
37695{
37696return f != $ac_func;
37697 ;
37698 return 0;
37699}
37700_ACEOF
37701rm -f conftest.$ac_objext conftest$ac_exeext
37702if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac1cb8d3 37703 (eval $ac_link) 2>conftest.er1
a848cd7e 37704 ac_status=$?
ac1cb8d3
VS
37705 grep -v '^ *+' conftest.er1 >conftest.err
37706 rm -f conftest.er1
37707 cat conftest.err >&5
a848cd7e
SC
37708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37709 (exit $ac_status); } &&
d1c38808 37710 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
37711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37712 (eval $ac_try) 2>&5
37713 ac_status=$?
37714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37715 (exit $ac_status); }; } &&
37716 { ac_try='test -s conftest$ac_exeext'
a848cd7e
SC
37717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37718 (eval $ac_try) 2>&5
37719 ac_status=$?
37720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37721 (exit $ac_status); }; }; then
37722 eval "$as_ac_var=yes"
37723else
37724 echo "$as_me: failed program was:" >&5
37725sed 's/^/| /' conftest.$ac_ext >&5
37726
37727eval "$as_ac_var=no"
37728fi
ac1cb8d3
VS
37729rm -f conftest.err conftest.$ac_objext \
37730 conftest$ac_exeext conftest.$ac_ext
a848cd7e
SC
37731fi
37732echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37733echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37734if test `eval echo '${'$as_ac_var'}'` = yes; then
37735 cat >>confdefs.h <<_ACEOF
37736#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37737_ACEOF
37738 have_ceil=1
37739fi
37740done
37741
37742 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
37743echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
37744 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
37745 echo "$as_me:$LINENO: result: yes" >&5
37746echo "${ECHO_T}yes" >&6
37747 else
37748 echo "$as_me:$LINENO: result: no" >&5
37749echo "${ECHO_T}no" >&6
37750 # not sure we should warn the user, crash, etc.
37751 fi
37752fi
37753
37754if test "$wxUSE_GUI" = "yes"; then
37755
37756
37757 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
37758 drawing dynamic erase event exec font image \
37759 minimal propsize rotate shaped widgets render"
37760
37761 if test "$wxUSE_MONOLITHIC" != "yes"; then
37762 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
37763 fi
37764else
37765 SAMPLES_SUBDIRS="console"
37766fi
37767
37768
ceec2216 37769INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
a848cd7e
SC
37770-I\${top_srcdir}/include $TOOLKIT_INCLUDE"
37771
37772if test "$GXX" = yes ; then
37773 CXXWARNINGS="-Wall"
37774 fi
37775
37776EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
37777
0c3c69fc
VS
37778CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
37779CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS`
37780CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
a848cd7e
SC
37781
37782
0c3c69fc 37783LIBS=`echo $LIBS`
a848cd7e
SC
37784EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37785EXTRALIBS_XML="$EXPAT_LINK"
37786EXTRALIBS_HTML="$MSPACK_LINK"
37787EXTRALIBS_ODBC="$ODBC_LINK"
37788if test "$wxUSE_GUI" = "yes"; then
0c3c69fc 37789 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK`
a848cd7e
SC
37790fi
37791if test "$wxUSE_OPENGL" = "yes"; then
37792 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
37793fi
37794
37795LDFLAGS="$LDFLAGS $PROFILE"
37796
37797if test "$wxUSE_GTK" = 1; then
37798 WXCONFIG_INCLUDE=
37799else
37800 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
37801fi
37802
37803WXCONFIG_EXTRALIBS="$LIBS"
37804
37805if test "$wxUSE_REGEX" = "builtin" ; then
37806 wxconfig_3rdparty="$wxconfig_3rdparty regex${lib_unicode_suffix}"
37807fi
37808if test "$wxUSE_EXPAT" = "builtin" ; then
37809 wxconfig_3rdparty="$wxconfig_3rdparty expat"
37810fi
37811if test "$wxUSE_ODBC" = "builtin" ; then
37812 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
37813fi
37814if test "$wxUSE_LIBTIFF" = "builtin" ; then
37815 wxconfig_3rdparty="$wxconfig_3rdparty tiff"
37816fi
37817if test "$wxUSE_LIBJPEG" = "builtin" ; then
37818 wxconfig_3rdparty="$wxconfig_3rdparty jpeg"
37819fi
37820if test "$wxUSE_LIBPNG" = "builtin" ; then
37821 wxconfig_3rdparty="$wxconfig_3rdparty png"
37822fi
37823if test "$wxUSE_ZLIB" = "builtin" ; then
37824 wxconfig_3rdparty="$wxconfig_3rdparty zlib"
37825fi
37826if test "$wxUSE_ODBC" = "builtin" ; then
37827 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
37828fi
37829
37830for i in $wxconfig_3rdparty ; do
ceec2216 37831 WXCONFIG_EXTRALIBS="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
a848cd7e
SC
37832done
37833
37834
37835if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37836 WXUNIV=1
37837else
37838 WXUNIV=0
37839fi
37840
37841
37842
37843
37844
37845
37846
37847
37848
37849if test $wxUSE_MONOLITHIC = "yes" ; then
37850 MONOLITHIC=1
37851else
37852 MONOLITHIC=0
37853fi
37854
37855if test $wxUSE_PLUGINS = "yes" ; then
37856 USE_PLUGINS=1
37857else
37858 USE_PLUGINS=0
37859fi
37860
37861if test $wxUSE_ODBC != "no" ; then
37862 USE_ODBC=1
37863else
37864 USE_ODBC=0
37865fi
37866
37867if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37868 OFFICIAL_BUILD=1
37869else
37870 OFFICIAL_BUILD=0
37871fi
37872
37873
37874
37875
37876
37877
37878
37879
37880
37881
37882
37883
37884
37885
37886
37887
37888
37889
37890
ceec2216 37891
d1c38808 37892
a848cd7e
SC
37893
37894
37895TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
37896
37897
37898
37899
37900
37901
37902
37903
4d4ff94c
VZ
37904case "$TOOLKIT" in
37905 GTK)
37906 TOOLKIT_USER="GTK+"
37907 if test "$WXGTK20" = 1; then
37908 TOOLKIT_USER="$TOOLKIT_USER 2"
37909 fi
9a8f0513 37910 ;;
4d4ff94c
VZ
37911
37912 *)
37913 TOOLKIT_USER=$TOOLKIT_LOWERCASE
9a8f0513 37914 ;;
4d4ff94c 37915esac
a848cd7e 37916
9a8f0513 37917
a848cd7e
SC
37918 if test "x$BAKEFILE_HOST" = "x"; then
37919 BAKEFILE_HOST="${host}"
37920 fi
37921
37922 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
37923
37924 if test -n "$ac_tool_prefix"; then
37925 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
37926set dummy ${ac_tool_prefix}ranlib; ac_word=$2
37927echo "$as_me:$LINENO: checking for $ac_word" >&5
37928echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37929if test "${ac_cv_prog_RANLIB+set}" = set; then
37930 echo $ECHO_N "(cached) $ECHO_C" >&6
37931else
37932 if test -n "$RANLIB"; then
37933 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
37934else
37935as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37936for as_dir in $PATH
37937do
37938 IFS=$as_save_IFS
37939 test -z "$as_dir" && as_dir=.
37940 for ac_exec_ext in '' $ac_executable_extensions; do
37941 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37942 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
37943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37944 break 2
37945 fi
37946done
37947done
37948
37949fi
37950fi
37951RANLIB=$ac_cv_prog_RANLIB
37952if test -n "$RANLIB"; then
37953 echo "$as_me:$LINENO: result: $RANLIB" >&5
37954echo "${ECHO_T}$RANLIB" >&6
37955else
37956 echo "$as_me:$LINENO: result: no" >&5
37957echo "${ECHO_T}no" >&6
37958fi
37959
37960fi
37961if test -z "$ac_cv_prog_RANLIB"; then
37962 ac_ct_RANLIB=$RANLIB
37963 # Extract the first word of "ranlib", so it can be a program name with args.
37964set dummy ranlib; ac_word=$2
37965echo "$as_me:$LINENO: checking for $ac_word" >&5
37966echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37967if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
37968 echo $ECHO_N "(cached) $ECHO_C" >&6
37969else
37970 if test -n "$ac_ct_RANLIB"; then
37971 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
37972else
37973as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37974for as_dir in $PATH
37975do
37976 IFS=$as_save_IFS
37977 test -z "$as_dir" && as_dir=.
37978 for ac_exec_ext in '' $ac_executable_extensions; do
37979 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37980 ac_cv_prog_ac_ct_RANLIB="ranlib"
37981 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37982 break 2
37983 fi
37984done
37985done
37986
37987 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
37988fi
37989fi
37990ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
37991if test -n "$ac_ct_RANLIB"; then
37992 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
37993echo "${ECHO_T}$ac_ct_RANLIB" >&6
37994else
37995 echo "$as_me:$LINENO: result: no" >&5
37996echo "${ECHO_T}no" >&6
37997fi
37998
37999 RANLIB=$ac_ct_RANLIB
38000else
38001 RANLIB="$ac_cv_prog_RANLIB"
38002fi
38003
38004 # Find a good install program. We prefer a C program (faster),
38005# so one script is as good as another. But avoid the broken or
38006# incompatible versions:
38007# SysV /etc/install, /usr/sbin/install
38008# SunOS /usr/etc/install
38009# IRIX /sbin/install
38010# AIX /bin/install
38011# AmigaOS /C/install, which installs bootblocks on floppy discs
38012# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
38013# AFS /usr/afsws/bin/install, which mishandles nonexistent args
38014# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
ac1cb8d3 38015# OS/2's system install, which has a completely different semantic
a848cd7e
SC
38016# ./install, which can be erroneously created by make from ./install.sh.
38017echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
38018echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
38019if test -z "$INSTALL"; then
38020if test "${ac_cv_path_install+set}" = set; then
38021 echo $ECHO_N "(cached) $ECHO_C" >&6
38022else
38023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38024for as_dir in $PATH
38025do
38026 IFS=$as_save_IFS
38027 test -z "$as_dir" && as_dir=.
38028 # Account for people who put trailing slashes in PATH elements.
38029case $as_dir/ in
38030 ./ | .// | /cC/* | \
38031 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
ac1cb8d3 38032 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
a848cd7e
SC
38033 /usr/ucb/* ) ;;
38034 *)
38035 # OSF1 and SCO ODT 3.0 have their own names for install.
38036 # Don't use installbsd from OSF since it installs stuff as root
38037 # by default.
38038 for ac_prog in ginstall scoinst install; do
38039 for ac_exec_ext in '' $ac_executable_extensions; do
ac1cb8d3
VS
38040 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
38041 if test $ac_prog = install &&
38042 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
38043 # AIX install. It has an incompatible calling convention.
38044 :
38045 elif test $ac_prog = install &&
38046 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
38047 # program-specific install script used by HP pwplus--don't use.
38048 :
38049 else
38050 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
38051 break 3
38052 fi
38053 fi
a848cd7e
SC
38054 done
38055 done
38056 ;;
38057esac
38058done
38059
38060
38061fi
38062 if test "${ac_cv_path_install+set}" = set; then
38063 INSTALL=$ac_cv_path_install
38064 else
38065 # As a last resort, use the slow shell script. We don't cache a
38066 # path for INSTALL within a source directory, because that will
38067 # break other packages using the cache if that directory is
38068 # removed, or if the path is relative.
38069 INSTALL=$ac_install_sh
38070 fi
38071fi
38072echo "$as_me:$LINENO: result: $INSTALL" >&5
38073echo "${ECHO_T}$INSTALL" >&6
38074
38075# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
38076# It thinks the first close brace ends the variable substitution.
38077test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
38078
38079test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
38080
38081test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
38082
38083 echo "$as_me:$LINENO: checking whether ln -s works" >&5
38084echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
38085LN_S=$as_ln_s
38086if test "$LN_S" = "ln -s"; then
38087 echo "$as_me:$LINENO: result: yes" >&5
38088echo "${ECHO_T}yes" >&6
38089else
38090 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
38091echo "${ECHO_T}no, using $LN_S" >&6
38092fi
38093
38094
38095 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
38096echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
ac1cb8d3 38097set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
a848cd7e
SC
38098if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
38099 echo $ECHO_N "(cached) $ECHO_C" >&6
38100else
38101 cat >conftest.make <<\_ACEOF
38102all:
38103 @echo 'ac_maketemp="$(MAKE)"'
38104_ACEOF
38105# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
38106eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
38107if test -n "$ac_maketemp"; then
38108 eval ac_cv_prog_make_${ac_make}_set=yes
38109else
38110 eval ac_cv_prog_make_${ac_make}_set=no
38111fi
38112rm -f conftest.make
38113fi
38114if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
38115 echo "$as_me:$LINENO: result: yes" >&5
38116echo "${ECHO_T}yes" >&6
38117 SET_MAKE=
38118else
38119 echo "$as_me:$LINENO: result: no" >&5
38120echo "${ECHO_T}no" >&6
38121 SET_MAKE="MAKE=${MAKE-make}"
38122fi
38123
38124
38125
38126 if test -n "$ac_tool_prefix"; then
38127 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
38128set dummy ${ac_tool_prefix}ar; ac_word=$2
38129echo "$as_me:$LINENO: checking for $ac_word" >&5
38130echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38131if test "${ac_cv_prog_AR+set}" = set; then
38132 echo $ECHO_N "(cached) $ECHO_C" >&6
38133else
38134 if test -n "$AR"; then
38135 ac_cv_prog_AR="$AR" # Let the user override the test.
38136else
38137as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38138for as_dir in $PATH
38139do
38140 IFS=$as_save_IFS
38141 test -z "$as_dir" && as_dir=.
38142 for ac_exec_ext in '' $ac_executable_extensions; do
38143 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38144 ac_cv_prog_AR="${ac_tool_prefix}ar"
38145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38146 break 2
38147 fi
38148done
38149done
38150
38151fi
38152fi
38153AR=$ac_cv_prog_AR
38154if test -n "$AR"; then
38155 echo "$as_me:$LINENO: result: $AR" >&5
38156echo "${ECHO_T}$AR" >&6
38157else
38158 echo "$as_me:$LINENO: result: no" >&5
38159echo "${ECHO_T}no" >&6
38160fi
38161
38162fi
38163if test -z "$ac_cv_prog_AR"; then
38164 ac_ct_AR=$AR
38165 # Extract the first word of "ar", so it can be a program name with args.
38166set dummy ar; ac_word=$2
38167echo "$as_me:$LINENO: checking for $ac_word" >&5
38168echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38169if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
38170 echo $ECHO_N "(cached) $ECHO_C" >&6
38171else
38172 if test -n "$ac_ct_AR"; then
38173 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
38174else
38175as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38176for as_dir in $PATH
38177do
38178 IFS=$as_save_IFS
38179 test -z "$as_dir" && as_dir=.
38180 for ac_exec_ext in '' $ac_executable_extensions; do
38181 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38182 ac_cv_prog_ac_ct_AR="ar"
38183 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38184 break 2
38185 fi
38186done
38187done
38188
38189 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
38190fi
38191fi
38192ac_ct_AR=$ac_cv_prog_ac_ct_AR
38193if test -n "$ac_ct_AR"; then
38194 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
38195echo "${ECHO_T}$ac_ct_AR" >&6
38196else
38197 echo "$as_me:$LINENO: result: no" >&5
38198echo "${ECHO_T}no" >&6
38199fi
38200
38201 AR=$ac_ct_AR
38202else
38203 AR="$ac_cv_prog_AR"
38204fi
38205
38206 if test -n "$ac_tool_prefix"; then
38207 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
38208set dummy ${ac_tool_prefix}strip; ac_word=$2
38209echo "$as_me:$LINENO: checking for $ac_word" >&5
38210echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38211if test "${ac_cv_prog_STRIP+set}" = set; then
38212 echo $ECHO_N "(cached) $ECHO_C" >&6
38213else
38214 if test -n "$STRIP"; then
38215 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
38216else
38217as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38218for as_dir in $PATH
38219do
38220 IFS=$as_save_IFS
38221 test -z "$as_dir" && as_dir=.
38222 for ac_exec_ext in '' $ac_executable_extensions; do
38223 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38224 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
38225 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38226 break 2
38227 fi
38228done
38229done
38230
38231fi
38232fi
38233STRIP=$ac_cv_prog_STRIP
38234if test -n "$STRIP"; then
38235 echo "$as_me:$LINENO: result: $STRIP" >&5
38236echo "${ECHO_T}$STRIP" >&6
38237else
38238 echo "$as_me:$LINENO: result: no" >&5
38239echo "${ECHO_T}no" >&6
38240fi
38241
38242fi
38243if test -z "$ac_cv_prog_STRIP"; then
38244 ac_ct_STRIP=$STRIP
38245 # Extract the first word of "strip", so it can be a program name with args.
38246set dummy strip; ac_word=$2
38247echo "$as_me:$LINENO: checking for $ac_word" >&5
38248echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38249if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
38250 echo $ECHO_N "(cached) $ECHO_C" >&6
38251else
38252 if test -n "$ac_ct_STRIP"; then
38253 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
38254else
38255as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38256for as_dir in $PATH
38257do
38258 IFS=$as_save_IFS
38259 test -z "$as_dir" && as_dir=.
38260 for ac_exec_ext in '' $ac_executable_extensions; do
38261 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38262 ac_cv_prog_ac_ct_STRIP="strip"
38263 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38264 break 2
38265 fi
38266done
38267done
38268
38269 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
38270fi
38271fi
38272ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
38273if test -n "$ac_ct_STRIP"; then
38274 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
38275echo "${ECHO_T}$ac_ct_STRIP" >&6
38276else
38277 echo "$as_me:$LINENO: result: no" >&5
38278echo "${ECHO_T}no" >&6
38279fi
38280
38281 STRIP=$ac_ct_STRIP
38282else
38283 STRIP="$ac_cv_prog_STRIP"
38284fi
38285
38286 if test -n "$ac_tool_prefix"; then
38287 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38288set dummy ${ac_tool_prefix}nm; ac_word=$2
38289echo "$as_me:$LINENO: checking for $ac_word" >&5
38290echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38291if test "${ac_cv_prog_NM+set}" = set; then
38292 echo $ECHO_N "(cached) $ECHO_C" >&6
38293else
38294 if test -n "$NM"; then
38295 ac_cv_prog_NM="$NM" # Let the user override the test.
38296else
38297as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38298for as_dir in $PATH
38299do
38300 IFS=$as_save_IFS
38301 test -z "$as_dir" && as_dir=.
38302 for ac_exec_ext in '' $ac_executable_extensions; do
38303 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38304 ac_cv_prog_NM="${ac_tool_prefix}nm"
38305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38306 break 2
38307 fi
38308done
38309done
38310
38311fi
38312fi
38313NM=$ac_cv_prog_NM
38314if test -n "$NM"; then
38315 echo "$as_me:$LINENO: result: $NM" >&5
38316echo "${ECHO_T}$NM" >&6
38317else
38318 echo "$as_me:$LINENO: result: no" >&5
38319echo "${ECHO_T}no" >&6
38320fi
38321
38322fi
38323if test -z "$ac_cv_prog_NM"; then
38324 ac_ct_NM=$NM
38325 # Extract the first word of "nm", so it can be a program name with args.
38326set dummy nm; ac_word=$2
38327echo "$as_me:$LINENO: checking for $ac_word" >&5
38328echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38329if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
38330 echo $ECHO_N "(cached) $ECHO_C" >&6
38331else
38332 if test -n "$ac_ct_NM"; then
38333 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
38334else
38335as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38336for as_dir in $PATH
38337do
38338 IFS=$as_save_IFS
38339 test -z "$as_dir" && as_dir=.
38340 for ac_exec_ext in '' $ac_executable_extensions; do
38341 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38342 ac_cv_prog_ac_ct_NM="nm"
38343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38344 break 2
38345 fi
38346done
38347done
38348
38349 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
38350fi
38351fi
38352ac_ct_NM=$ac_cv_prog_ac_ct_NM
38353if test -n "$ac_ct_NM"; then
38354 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
38355echo "${ECHO_T}$ac_ct_NM" >&6
38356else
38357 echo "$as_me:$LINENO: result: no" >&5
38358echo "${ECHO_T}no" >&6
38359fi
38360
38361 NM=$ac_ct_NM
38362else
38363 NM="$ac_cv_prog_NM"
38364fi
38365
38366
38367 case ${BAKEFILE_HOST} in
38368 *-hp-hpux* )
a49baeab 38369 INSTALL_DIR="mkdir -p"
a848cd7e
SC
38370 ;;
38371 *) INSTALL_DIR="$INSTALL -d"
38372 ;;
38373 esac
38374
38375
38376 LDFLAGS_GUI=
38377 case ${BAKEFILE_HOST} in
38378 *-*-cygwin* | *-*-mingw32* )
38379 LDFLAGS_GUI="-mwindows"
38380 esac
38381
38382
38383 fi
38384
38385 echo "$as_me:$LINENO: checking if make is GNU make" >&5
38386echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
38387if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
38388 echo $ECHO_N "(cached) $ECHO_C" >&6
38389else
38390
38391 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
38392 egrep -s GNU > /dev/null); then
38393 bakefile_cv_prog_makeisgnu="yes"
38394 else
38395 bakefile_cv_prog_makeisgnu="no"
38396 fi
38397
38398fi
38399echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
38400echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
38401
38402 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38403 IF_GNU_MAKE=""
38404 else
38405 IF_GNU_MAKE="#"
38406 fi
38407
38408
38409
38410 PLATFORM_UNIX=0
38411 PLATFORM_WIN32=0
38412 PLATFORM_MSDOS=0
38413 PLATFORM_MAC=0
38414 PLATFORM_MACOSX=0
38415 PLATFORM_OS2=0
38416
38417 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38418 case "${BAKEFILE_HOST}" in
38419 *-*-cygwin* | *-*-mingw32* )
38420 PLATFORM_WIN32=1
38421 ;;
38422 *-pc-msdosdjgpp )
38423 PLATFORM_MSDOS=1
38424 ;;
38425 *-pc-os2_emx | *-pc-os2-emx )
38426 PLATFORM_OS2=1
38427 ;;
38428 powerpc-*-darwin* )
38429 PLATFORM_MAC=1
38430 PLATFORM_MACOSX=1
38431 ;;
38432 * )
38433 PLATFORM_UNIX=1
38434 ;;
38435 esac
38436 else
38437 case "$BAKEFILE_FORCE_PLATFORM" in
38438 win32 )
38439 PLATFORM_WIN32=1
38440 ;;
38441 msdos )
38442 PLATFORM_MSDOS=1
38443 ;;
38444 os2 )
38445 PLATFORM_OS2=1
38446 ;;
38447 darwin )
38448 PLATFORM_MAC=1
38449 PLATFORM_MACOSX=1
38450 ;;
38451 unix )
38452 PLATFORM_UNIX=1
38453 ;;
38454 * )
38455 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
38456echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
38457 { (exit 1); exit 1; }; }
38458 ;;
38459 esac
38460 fi
38461
38462
38463
38464
38465
38466
38467
38468
38469
38470 # Check whether --enable-omf or --disable-omf was given.
38471if test "${enable_omf+set}" = set; then
38472 enableval="$enable_omf"
38473 bk_os2_use_omf="$enableval"
38474fi;
38475
38476 case "${BAKEFILE_HOST}" in
38477 *-*-darwin* )
38478 CFLAGS="$CFLAGS -fno-common"
38479 CXXFLAGS="$CXXFLAGS -fno-common"
38480 ;;
38481
38482 *-pc-os2_emx | *-pc-os2-emx )
38483 if test "x$bk_os2_use_omf" = "xyes" ; then
38484 AR=emxomfar
38485 RANLIB=:
38486 LDFLAGS="-Zomf $LDFLAGS"
38487 CFLAGS="-Zomf $CFLAGS"
38488 CXXFLAGS="-Zomf $CXXFLAGS"
38489 OS2_LIBEXT="lib"
38490 else
38491 OS2_LIBEXT="a"
38492 fi
38493 ;;
38494 esac
38495
38496
38497 SO_SUFFIX="so"
38498 SO_SUFFIX_MODULE="so"
38499 EXEEXT=""
38500 LIBPREFIX="lib"
38501 LIBEXT=".a"
38502 DLLPREFIX="lib"
38503 DLLPREFIX_MODULE=""
38504 DLLIMP_SUFFIX=""
38505
38506 case "${BAKEFILE_HOST}" in
38507 *-hp-hpux* )
38508 SO_SUFFIX="sl"
38509 SO_SUFFIX_MODULE="sl"
38510 ;;
38511 *-*-aix* )
38512 SO_SUFFIX="a"
38513 SO_SUFFIX_MODULE="a"
38514 ;;
38515 *-*-cygwin* | *-*-mingw32* )
38516 SO_SUFFIX="dll"
38517 SO_SUFFIX_MODULE="dll"
38518 DLLIMP_SUFFIX="dll.a"
38519 EXEEXT=".exe"
38520 DLLPREFIX=""
38521 ;;
38522 *-pc-msdosdjgpp )
38523 EXEEXT=".exe"
38524 DLLPREFIX=""
38525 ;;
38526 *-pc-os2_emx | *-pc-os2-emx )
38527 SO_SUFFIX="dll"
38528 SO_SUFFIX_MODULE="dll"
38529 DLLIMP_SUFFIX=$OS2_LIBEXT
38530 EXEEXT=".exe"
38531 DLLPREFIX=""
38532 LIBPREFIX=""
38533 LIBEXT=".$OS2_LIBEXT"
38534 ;;
38535 powerpc-*-darwin* )
38536 SO_SUFFIX="dylib"
38537 SO_SUFFIX_MODULE="bundle"
38538 ;;
38539 esac
38540
38541 if test "x$DLLIMP_SUFFIX" = "x" ; then
38542 DLLIMP_SUFFIX="$SO_SUFFIX"
38543 fi
38544
38545
38546
38547
38548
38549
38550
38551
38552
38553
38554
38555 SHARED_LD_CC="\$(CC) -shared -o"
38556 SHARED_LD_CXX="\$(CXX) -shared -o"
38557
38558 if test "x$GCC" = "xyes"; then
38559 PIC_FLAG="-fPIC"
38560 fi
38561
38562 case "${BAKEFILE_HOST}" in
38563 *-hp-hpux* )
38564 if test "x$GCC" = "xyes"; then
38565 SHARED_LD_CC="${CC} -shared ${PIC_FLAG} -o"
38566 SHARED_LD_CXX="${CXX} -shared ${PIC_FLAG} -o"
38567 else
38568 LDFLAGS="$LDFLAGS -L/usr/lib"
38569
38570 SHARED_LD_CC="${CC} -b -o"
38571 SHARED_LD_CXX="${CXX} -b -o"
38572 PIC_FLAG="+Z"
38573 fi
38574 ;;
38575
38576 *-*-linux* )
38577 if test "x$GCC" != "xyes"; then
38578 echo "$as_me:$LINENO: checking for Intel compiler" >&5
38579echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
38580if test "${bakefile_cv_prog_icc+set}" = set; then
38581 echo $ECHO_N "(cached) $ECHO_C" >&6
38582else
38583
38584 cat >conftest.$ac_ext <<_ACEOF
38585/* confdefs.h. */
38586_ACEOF
38587cat confdefs.h >>conftest.$ac_ext
38588cat >>conftest.$ac_ext <<_ACEOF
38589/* end confdefs.h. */
38590
38591int
38592main ()
38593{
38594
38595 #ifndef __INTEL_COMPILER
38596 #error Not icc
38597 #endif
38598
38599 ;
38600 return 0;
38601}
38602_ACEOF
38603rm -f conftest.$ac_objext
38604if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 38605 (eval $ac_compile) 2>conftest.er1
a848cd7e 38606 ac_status=$?
ac1cb8d3
VS
38607 grep -v '^ *+' conftest.er1 >conftest.err
38608 rm -f conftest.er1
38609 cat conftest.err >&5
a848cd7e
SC
38610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38611 (exit $ac_status); } &&
d1c38808 38612 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
38613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38614 (eval $ac_try) 2>&5
38615 ac_status=$?
38616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38617 (exit $ac_status); }; } &&
38618 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
38619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38620 (eval $ac_try) 2>&5
38621 ac_status=$?
38622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38623 (exit $ac_status); }; }; then
38624 bakefile_cv_prog_icc=yes
38625else
38626 echo "$as_me: failed program was:" >&5
38627sed 's/^/| /' conftest.$ac_ext >&5
38628
38629bakefile_cv_prog_icc=no
38630
38631fi
ac1cb8d3 38632rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
38633
38634fi
38635echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
38636echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
38637 if test "$bakefile_cv_prog_icc" = "yes"; then
38638 PIC_FLAG="-KPIC"
38639 fi
38640 fi
38641 ;;
38642
38643 *-*-solaris2* )
38644 if test "x$GCC" != xyes ; then
38645 SHARED_LD_CC="${CC} -G -o"
38646 SHARED_LD_CXX="${CXX} -G -o"
38647 PIC_FLAG="-KPIC"
38648 fi
38649 ;;
38650
38651 *-*-darwin* )
38652
38653 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
38654echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
38655if test "${wx_cv_gcc31+set}" = set; then
38656 echo $ECHO_N "(cached) $ECHO_C" >&6
38657else
38658
38659 cat >conftest.$ac_ext <<_ACEOF
38660/* confdefs.h. */
38661_ACEOF
38662cat confdefs.h >>conftest.$ac_ext
38663cat >>conftest.$ac_ext <<_ACEOF
38664/* end confdefs.h. */
38665
38666int
38667main ()
38668{
38669
38670 #if (__GNUC__ < 3) || \
38671 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38672 #error old gcc
38673 #endif
38674
38675 ;
38676 return 0;
38677}
38678_ACEOF
38679rm -f conftest.$ac_objext
38680if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 38681 (eval $ac_compile) 2>conftest.er1
a848cd7e 38682 ac_status=$?
ac1cb8d3
VS
38683 grep -v '^ *+' conftest.er1 >conftest.err
38684 rm -f conftest.er1
38685 cat conftest.err >&5
a848cd7e
SC
38686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38687 (exit $ac_status); } &&
d1c38808 38688 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
38689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38690 (eval $ac_try) 2>&5
38691 ac_status=$?
38692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38693 (exit $ac_status); }; } &&
38694 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
38695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38696 (eval $ac_try) 2>&5
38697 ac_status=$?
38698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38699 (exit $ac_status); }; }; then
38700
38701 wx_cv_gcc31=yes
38702
38703else
38704 echo "$as_me: failed program was:" >&5
38705sed 's/^/| /' conftest.$ac_ext >&5
38706
38707
38708 wx_cv_gcc31=no
38709
38710
38711fi
ac1cb8d3 38712rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
38713
38714fi
38715echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
38716echo "${ECHO_T}$wx_cv_gcc31" >&6
38717 if test "$wx_cv_gcc31" = "no"; then
473276a9
VS
38718
38719D='$'
38720cat <<EOF >shared-ld-sh
a848cd7e
SC
38721#!/bin/sh
38722#-----------------------------------------------------------------------------
38723#-- Name: distrib/mac/shared-ld-sh
38724#-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38725#-- Author: Gilles Depeyrot
38726#-- Copyright: (c) 2002 Gilles Depeyrot
38727#-- Licence: any use permitted
38728#-----------------------------------------------------------------------------
38729
38730verbose=0
38731args=""
38732objects=""
38733linking_flag="-dynamiclib"
38734
473276a9
VS
38735while test ${D}# -gt 0; do
38736 case ${D}1 in
a848cd7e
SC
38737
38738 -v)
38739 verbose=1
38740 ;;
38741
38742 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38743 # collect these options and values
473276a9 38744 args="${D}{args} ${D}1 ${D}2"
a848cd7e
SC
38745 shift
38746 ;;
38747
38748 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38749 # collect these options
473276a9 38750 args="${D}{args} ${D}1"
a848cd7e
SC
38751 ;;
38752
38753 -dynamiclib|-bundle)
473276a9 38754 linking_flag="${D}1"
a848cd7e
SC
38755 ;;
38756
38757 -*)
473276a9 38758 echo "shared-ld: unhandled option '${D}1'"
a848cd7e
SC
38759 exit 1
38760 ;;
38761
38762 *.o | *.a | *.dylib)
38763 # collect object files
473276a9 38764 objects="${D}{objects} ${D}1"
a848cd7e
SC
38765 ;;
38766
38767 *)
473276a9 38768 echo "shared-ld: unhandled argument '${D}1'"
a848cd7e
SC
38769 exit 1
38770 ;;
38771
38772 esac
38773 shift
38774done
38775
38776#
38777# Link one module containing all the others
38778#
473276a9
VS
38779if test ${D}{verbose} = 1; then
38780 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
a848cd7e 38781fi
473276a9
VS
38782c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
38783status=${D}?
38784if test ${D}{status} != 0; then
38785 exit ${D}{status}
a848cd7e
SC
38786fi
38787
38788#
38789# Link the shared library from the single module created
38790#
473276a9
VS
38791if test ${D}{verbose} = 1; then
38792 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
a848cd7e 38793fi
473276a9
VS
38794c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
38795status=${D}?
38796if test ${D}{status} != 0; then
38797 exit ${D}{status}
a848cd7e
SC
38798fi
38799
38800#
38801# Remove intermediate module
38802#
473276a9 38803rm -f master.${D}${D}.o
a848cd7e
SC
38804
38805exit 0
38806EOF
473276a9 38807
a848cd7e
SC
38808 chmod +x shared-ld-sh
38809
38810 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
38811 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38812 SHARED_LD_CXX="$SHARED_LD_CC"
38813 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
38814 else
38815 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
38816 SHARED_LD_MODULE_CC="\${CC} -bundle -single_module -headerpad_max_install_names -o"
38817 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
38818 SHARED_LD_MODULE_CXX="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
38819 fi
38820
38821 PIC_FLAG="-dynamic -fPIC"
38822 ;;
38823
38824 *-*-aix* )
38825 if test "x$GCC" != "xyes"; then
38826 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
38827set dummy makeC++SharedLib; ac_word=$2
38828echo "$as_me:$LINENO: checking for $ac_word" >&5
38829echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38830if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
38831 echo $ECHO_N "(cached) $ECHO_C" >&6
38832else
38833 if test -n "$AIX_CXX_LD"; then
38834 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
38835else
38836as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38837for as_dir in $PATH
38838do
38839 IFS=$as_save_IFS
38840 test -z "$as_dir" && as_dir=.
38841 for ac_exec_ext in '' $ac_executable_extensions; do
38842 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38843 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
38844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38845 break 2
38846 fi
38847done
38848done
38849
38850 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
38851fi
38852fi
38853AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
38854if test -n "$AIX_CXX_LD"; then
38855 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
38856echo "${ECHO_T}$AIX_CXX_LD" >&6
38857else
38858 echo "$as_me:$LINENO: result: no" >&5
38859echo "${ECHO_T}no" >&6
38860fi
38861
38862 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
38863 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
38864 fi
38865 ;;
38866
38867 *-*-beos* )
38868 SHARED_LD_CC="${LD} -shared -o"
38869 SHARED_LD_CXX="${LD} -shared -o"
38870 ;;
38871
38872 *-*-irix* )
38873 if test "x$GCC" != "xyes"; then
38874 PIC_FLAG="-KPIC"
38875 fi
38876 ;;
38877
38878 *-*-cygwin* | *-*-mingw32* )
38879 PIC_FLAG=""
38880 ;;
38881
38882 *-pc-os2_emx | *-pc-os2-emx )
473276a9
VS
38883 SHARED_LD_CC="`pwd`/dllar.sh -o"
38884 SHARED_LD_CXX="`pwd`/dllar.sh -o"
a848cd7e 38885 PIC_FLAG=""
473276a9
VS
38886
38887D='$'
38888cat <<EOF >dllar.sh
38889#!/bin/sh
38890#
38891# dllar - a tool to build both a .dll and an .a file
38892# from a set of object (.o) files for EMX/OS2.
38893#
38894# Written by Andrew Zabolotny, bit@freya.etu.ru
38895# Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
38896#
38897# This script will accept a set of files on the command line.
38898# All the public symbols from the .o files will be exported into
38899# a .DEF file, then linker will be run (through gcc) against them to
38900# build a shared library consisting of all given .o files. All libraries
38901# (.a) will be first decompressed into component .o files then act as
38902# described above. You can optionally give a description (-d "description")
38903# which will be put into .DLL. To see the list of accepted options (as well
38904# as command-line format) simply run this program without options. The .DLL
38905# is built to be imported by name (there is no guarantee that new versions
38906# of the library you build will have same ordinals for same symbols).
38907#
38908# dllar is free software; you can redistribute it and/or modify
38909# it under the terms of the GNU General Public License as published by
38910# the Free Software Foundation; either version 2, or (at your option)
38911# any later version.
38912#
38913# dllar is distributed in the hope that it will be useful,
38914# but WITHOUT ANY WARRANTY; without even the implied warranty of
38915# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
38916# GNU General Public License for more details.
38917#
38918# You should have received a copy of the GNU General Public License
38919# along with dllar; see the file COPYING. If not, write to the Free
38920# Software Foundation, 59 Temple Place - Suite 330, Boston, MA
38921# 02111-1307, USA.
38922
38923# To successfuly run this program you will need:
38924# - Current drive should have LFN support (HPFS, ext2, network, etc)
38925# (Sometimes dllar generates filenames which won't fit 8.3 scheme)
38926# - gcc
38927# (used to build the .dll)
38928# - emxexp
38929# (used to create .def file from .o files)
38930# - emximp
38931# (used to create .a file from .def file)
38932# - GNU text utilites (cat, sort, uniq)
38933# used to process emxexp output
38934# - GNU file utilities (mv, rm)
38935# - GNU sed
38936# - lxlite (optional, see flag below)
38937# (used for general .dll cleanup)
38938#
38939
38940flag_USE_LXLITE=1;
38941
38942#
38943# helper functions
38944# basnam, variant of basename, which does _not_ remove the path, _iff_
38945# second argument (suffix to remove) is given
38946basnam(){
38947 case ${D}# in
38948 1)
38949 echo ${D}1 | sed 's/.*\///' | sed 's/.*\\//'
38950 ;;
38951 2)
38952 echo ${D}1 | sed 's/'${D}2'${D}//'
38953 ;;
38954 *)
38955 echo "error in basnam ${D}*"
38956 exit 8
38957 ;;
38958 esac
38959}
38960
38961# Cleanup temporary files and output
38962CleanUp() {
38963 cd ${D}curDir
38964 for i in ${D}inputFiles ; do
38965 case ${D}i in
38966 *!)
38967 rm -rf \`basnam ${D}i !\`
38968 ;;
38969 *)
38970 ;;
38971 esac
38972 done
38973
38974 # Kill result in case of failure as there is just to many stupid make/nmake
38975 # things out there which doesn't do this.
2057db16 38976 if [] ${D}# -eq 0 []; then
473276a9
VS
38977 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
38978 fi
38979}
38980
38981# Print usage and exit script with rc=1.
38982PrintHelp() {
2057db16
VS
38983 echo 'Usage: dllar []-o[[]utput[]] output_file[] []-i[[]mport[]] importlib_name[]'
38984 echo ' []-d[[]escription[]] "dll descrption"[] []-cc "CC"[] []-f[[]lags[]] "CFLAGS"[]'
38985 echo ' []-ord[[]inals[]][] -ex[]clude[] "symbol(s)"'
38986 echo ' []-libf[[]lags[]] "{INIT|TERM}{GLOBAL|INSTANCE}"[] []-nocrt[[]dll[]][] []-nolxl[[]ite[]][]'
38987 echo ' []*.o[] []*.a[]'
473276a9
VS
38988 echo '*> "output_file" should have no extension.'
38989 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
38990 echo ' The import library name is derived from this and is set to "name".a,'
38991 echo ' unless overridden by -import'
38992 echo '*> "importlib_name" should have no extension.'
38993 echo ' If it has the .o, or .a extension, it is automatically removed.'
38994 echo ' This name is used as the import library name and may be longer and'
38995 echo ' more descriptive than the DLL name which has to follow the old '
38996 echo ' 8.3 convention of FAT.'
38997 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
38998 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
38999 echo ' These flags will be put at the start of GCC command line.'
2057db16
VS
39000 echo '*> -ord[]inals[] tells dllar to export entries by ordinals. Be careful.'
39001 echo '*> -ex[]clude[] defines symbols which will not be exported. You can define'
473276a9
VS
39002 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
39003 echo ' If the last character of a symbol is "*", all symbols beginning'
39004 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
2057db16 39005 echo '*> -libf[]lags[] can be used to add INITGLOBAL/INITINSTANCE and/or'
473276a9 39006 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
2057db16 39007 echo '*> -nocrt[]dll[] switch will disable linking the library against emx''s'
473276a9 39008 echo ' C runtime DLLs.'
2057db16 39009 echo '*> -nolxl[]ite[] switch will disable running lxlite on the resulting DLL.'
473276a9
VS
39010 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
39011 echo ' unchanged to GCC at the end of command line.'
39012 echo '*> If you create a DLL from a library and you do not specify -o,'
39013 echo ' the basename for DLL and import library will be set to library name,'
39014 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
39015 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
39016 echo ' library will be renamed into gcc_s.a.'
39017 echo '--------'
39018 echo 'Example:'
39019 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
39020 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
39021 CleanUp
39022 exit 1
39023}
39024
39025# Execute a command.
39026# If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
39027# @Uses Whatever CleanUp() uses.
39028doCommand() {
39029 echo "${D}*"
39030 eval ${D}*
39031 rcCmd=${D}?
39032
2057db16 39033 if [] ${D}rcCmd -ne 0 []; then
473276a9
VS
39034 echo "command failed, exit code="${D}rcCmd
39035 CleanUp
39036 exit ${D}rcCmd
39037 fi
39038}
39039
39040# main routine
39041# setup globals
39042cmdLine=${D}*
39043outFile=""
39044outimpFile=""
39045inputFiles=""
39046description=""
39047CC=gcc.exe
39048CFLAGS="-s -Zcrtdll"
39049EXTRA_CFLAGS=""
39050EXPORT_BY_ORDINALS=0
39051exclude_symbols=""
39052library_flags=""
39053curDir=\`pwd\`
39054curDirS=curDir
39055case ${D}curDirS in
39056*/)
39057 ;;
39058*)
39059 curDirS=${D}{curDirS}"/"
39060 ;;
39061esac
39062# Parse commandline
39063libsToLink=0
2057db16 39064while [] ${D}1 []; do
473276a9
VS
39065 case ${D}1 in
39066 -ord*)
39067 EXPORT_BY_ORDINALS=1;
39068 ;;
39069 -o*)
39070 shift
39071 outFile=${D}1
39072 ;;
39073 -i*)
39074 shift
39075 outimpFile=${D}1
39076 ;;
39077 -d*)
39078 shift
39079 description=${D}1
39080 ;;
39081 -f*)
39082 shift
39083 CFLAGS=${D}1
39084 ;;
39085 -c*)
39086 shift
39087 CC=${D}1
39088 ;;
39089 -h*)
39090 PrintHelp
39091 ;;
39092 -ex*)
39093 shift
39094 exclude_symbols=${D}{exclude_symbols}${D}1" "
39095 ;;
39096 -libf*)
39097 shift
39098 library_flags=${D}{library_flags}${D}1" "
39099 ;;
39100 -nocrt*)
39101 CFLAGS="-s"
39102 ;;
39103 -nolxl*)
39104 flag_USE_LXLITE=0
39105 ;;
39106 -* | /*)
39107 case ${D}1 in
39108 -L* | -l*)
39109 libsToLink=1
39110 ;;
39111 *)
39112 ;;
39113 esac
39114 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39115 ;;
39116 *)
39117 found=0;
2057db16 39118 if [] ${D}libsToLink -ne 0 []; then
473276a9
VS
39119 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39120 else
39121 for file in ${D}1 ; do
2057db16 39122 if [] -f ${D}file []; then
473276a9
VS
39123 inputFiles="${D}{inputFiles} ${D}file"
39124 found=1
39125 fi
39126 done
2057db16 39127 if [] ${D}found -eq 0 []; then
473276a9
VS
39128 echo "ERROR: No file(s) found: "${D}1
39129 exit 8
39130 fi
39131 fi
39132 ;;
39133 esac
39134 shift
39135done # iterate cmdline words
39136
39137#
2057db16 39138if [] -z "${D}inputFiles" []; then
473276a9
VS
39139 echo "dllar: no input files"
39140 PrintHelp
39141fi
39142
39143# Now extract all .o files from .a files
39144newInputFiles=""
39145for file in ${D}inputFiles ; do
39146 case ${D}file in
39147 *.a | *.lib)
39148 case ${D}file in
39149 *.a)
39150 suffix=".a"
39151 AR="ar"
39152 ;;
39153 *.lib)
39154 suffix=".lib"
39155 AR="emxomfar"
39156 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
39157 ;;
39158 *)
39159 ;;
39160 esac
39161 dirname=\`basnam ${D}file ${D}suffix\`"_%"
39162 mkdir ${D}dirname
2057db16 39163 if [] ${D}? -ne 0 []; then
473276a9
VS
39164 echo "Failed to create subdirectory ./${D}dirname"
39165 CleanUp
39166 exit 8;
39167 fi
39168 # Append '!' to indicate archive
39169 newInputFiles="${D}newInputFiles ${D}{dirname}!"
39170 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
39171 cd ${D}curDir
39172 found=0;
39173 for subfile in ${D}dirname/*.o* ; do
2057db16 39174 if [] -f ${D}subfile []; then
473276a9 39175 found=1
2057db16 39176 if [] -s ${D}subfile []; then
473276a9
VS
39177 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
39178 newInputFiles="${D}newInputFiles ${D}subfile"
39179 fi
39180 fi
39181 done
2057db16 39182 if [] ${D}found -eq 0 []; then
473276a9
VS
39183 echo "WARNING: there are no files in archive \'${D}file\'"
39184 fi
39185 ;;
39186 *)
39187 newInputFiles="${D}{newInputFiles} ${D}file"
39188 ;;
39189 esac
39190done
39191inputFiles="${D}newInputFiles"
39192
39193# Output filename(s).
39194do_backup=0;
2057db16 39195if [] -z ${D}outFile []; then
473276a9
VS
39196 do_backup=1;
39197 set outFile ${D}inputFiles; outFile=${D}2
39198fi
39199
39200# If it is an archive, remove the '!' and the '_%' suffixes
39201case ${D}outFile in
39202*_%!)
39203 outFile=\`basnam ${D}outFile _%!\`
39204 ;;
39205*)
39206 ;;
39207esac
39208case ${D}outFile in
39209*.dll)
39210 outFile=\`basnam ${D}outFile .dll\`
39211 ;;
39212*.DLL)
39213 outFile=\`basnam ${D}outFile .DLL\`
39214 ;;
39215*.o)
39216 outFile=\`basnam ${D}outFile .o\`
39217 ;;
39218*.obj)
39219 outFile=\`basnam ${D}outFile .obj\`
39220 ;;
39221*.a)
39222 outFile=\`basnam ${D}outFile .a\`
39223 ;;
39224*.lib)
39225 outFile=\`basnam ${D}outFile .lib\`
39226 ;;
39227*)
39228 ;;
39229esac
39230case ${D}outimpFile in
39231*.a)
39232 outimpFile=\`basnam ${D}outimpFile .a\`
39233 ;;
39234*.lib)
39235 outimpFile=\`basnam ${D}outimpFile .lib\`
39236 ;;
39237*)
39238 ;;
39239esac
2057db16 39240if [] -z ${D}outimpFile []; then
473276a9
VS
39241 outimpFile=${D}outFile
39242fi
39243defFile="${D}{outFile}.def"
39244arcFile="${D}{outimpFile}.a"
39245arcFile2="${D}{outimpFile}.lib"
39246dllFile="${D}outFile"
39247# Add suffix to dllFile later, first we need a version to use as
39248# name in .def file.
39249
2057db16
VS
39250if [] ${D}do_backup -ne 0 [] ; then
39251 if [] -f ${D}arcFile [] ; then
473276a9
VS
39252 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
39253 fi
2057db16 39254 if [] -f ${D}arcFile2 [] ; then
473276a9
VS
39255 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
39256 fi
39257fi
39258
39259# Extract public symbols from all the object files.
39260tmpdefFile=${D}{defFile}_%
39261rm -f ${D}tmpdefFile
39262for file in ${D}inputFiles ; do
39263 case ${D}file in
39264 *!)
39265 ;;
39266 *)
39267 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
39268 ;;
39269 esac
39270done
39271
39272# Create the def file.
39273rm -f ${D}defFile
39274echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
39275dllFile="${D}dllFile.dll"
2057db16 39276if [] -n ${D}description []; then
473276a9
VS
39277 echo "DESCRIPTION \"${D}{description}\"" >> ${D}defFile
39278fi
39279echo "EXPORTS" >> ${D}defFile
39280
39281doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
39282grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
39283
39284# Checks if the export is ok or not.
39285for word in ${D}exclude_symbols; do
39286 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
39287 mv ${D}{tmpdefFile}% ${D}tmpdefFile
39288done
39289
39290
2057db16 39291if [] ${D}EXPORT_BY_ORDINALS -ne 0 []; then
473276a9
VS
39292 sed "=" < ${D}tmpdefFile | \
39293 sed '
39294 N
39295 : loop
2057db16 39296 s/^\([]0-9[]\+\)\([]^;[]*\)\(;.*\)\?/\2 @\1 NONAME/
473276a9
VS
39297 t loop
39298 ' > ${D}{tmpdefFile}%
39299 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
39300else
39301 rm -f ${D}{tmpdefFile}%
39302fi
39303cat ${D}tmpdefFile >> ${D}defFile
39304rm -f ${D}tmpdefFile
39305
39306# Do linking, create implib, and apply lxlite.
39307gccCmdl="";
39308for file in ${D}inputFiles ; do
39309 case ${D}file in
39310 *!)
39311 ;;
39312 *)
39313 gccCmdl="${D}gccCmdl ${D}file"
39314 ;;
39315 esac
39316done
39317doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
39318touch "${D}{outFile}.dll"
39319
39320doCommand "emximp -o ${D}arcFile ${D}defFile"
2057db16 39321if [] ${D}flag_USE_LXLITE -ne 0 []; then
473276a9 39322 add_flags="";
2057db16 39323 if [] ${D}EXPORT_BY_ORDINALS -ne 0 []; then
473276a9
VS
39324 add_flags="-ynd"
39325 fi
39326 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
39327fi
39328doCommand "emxomf -s -l ${D}arcFile"
39329
39330# Successful exit.
39331CleanUp 1
39332exit 0
39333EOF
39334
39335 chmod +x dllar.sh
a848cd7e
SC
39336 ;;
39337
39338 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
39339 *-*-sunos4* | \
39340 *-*-osf* | \
39341 *-*-dgux5* | \
39342 *-*-sysv5* )
39343 ;;
39344
39345 *)
39346 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
39347echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
39348 { (exit 1); exit 1; }; }
39349 esac
39350
2057db16
VS
39351 if test "x$PIC_FLAG" != "x" ; then
39352 PIC_FLAG="$PIC_FLAG -DPIC"
39353 fi
39354
a848cd7e
SC
39355 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
39356 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
39357 fi
39358 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
39359 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
39360 fi
39361
39362
39363
39364
39365
39366
39367
39368
39369 USE_SOVERSION=0
39370 USE_SOVERLINUX=0
39371 USE_SOVERSOLARIS=0
39372 USE_SOSYMLINKS=0
39373 USE_MACVERSION=0
39374 SONAME_FLAG=
39375
39376 case "${BAKEFILE_HOST}" in
39377 *-*-linux* )
39378 SONAME_FLAG="-Wl,-soname,"
39379 USE_SOVERSION=1
39380 USE_SOVERLINUX=1
39381 USE_SOSYMLINKS=1
39382 ;;
39383
39384 *-*-solaris2* )
39385 SONAME_FLAG="-h "
39386 USE_SOVERSION=1
39387 USE_SOVERSOLARIS=1
39388 USE_SOSYMLINKS=1
39389 ;;
39390
39391 *-*-darwin* )
39392 USE_MACVERSION=1
39393 USE_SOVERSION=1
39394 USE_SOSYMLINKS=1
39395 ;;
39396 esac
39397
39398
39399
39400
39401
39402
39403
39404
39405
39406 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
39407echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
39408 DEPS_TRACKING=0
39409
39410 if test "x$GCC" = "xyes"; then
39411 DEPSMODE=gcc
39412 DEPS_TRACKING=1
39413 case "${BAKEFILE_HOST}" in
39414 powerpc-*-darwin* )
39415 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
39416 ;;
39417 * )
39418 DEPSFLAG_GCC="-MMD"
39419 ;;
39420 esac
39421 echo "$as_me:$LINENO: result: gcc" >&5
39422echo "${ECHO_T}gcc" >&6
39423 else
39424 echo "$as_me:$LINENO: result: none" >&5
39425echo "${ECHO_T}none" >&6
39426 fi
39427
39428 if test $DEPS_TRACKING = 1 ; then
473276a9
VS
39429
39430D='$'
39431cat <<EOF >bk-deps
a848cd7e
SC
39432#!/bin/sh
39433
39434# This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39435# script. It is used to track C/C++ files dependencies in portable way.
39436#
39437# Permission is given to use this file in any way.
39438
473276a9 39439DEPSMODE=${DEPSMODE}
a848cd7e 39440DEPSDIR=.deps
473276a9 39441DEPSFLAG_GCC="${DEPSFLAG_GCC}"
a848cd7e 39442
473276a9 39443mkdir -p ${D}DEPSDIR
a848cd7e 39444
473276a9
VS
39445if test ${D}DEPSMODE = gcc ; then
39446 ${D}* ${D}{DEPSFLAG_GCC}
39447 status=${D}?
39448 if test ${D}{status} != 0 ; then
39449 exit ${D}{status}
a848cd7e
SC
39450 fi
39451 # move created file to the location we want it in:
473276a9
VS
39452 while test ${D}# -gt 0; do
39453 case "${D}1" in
a848cd7e
SC
39454 -o )
39455 shift
473276a9 39456 objfile=${D}1
a848cd7e
SC
39457 ;;
39458 -* )
39459 ;;
39460 * )
473276a9 39461 srcfile=${D}1
a848cd7e
SC
39462 ;;
39463 esac
39464 shift
39465 done
473276a9
VS
39466 depfile=\`basename ${D}srcfile | sed -e 's/\..*${D}/.d/g'\`
39467 depobjname=\`echo ${D}depfile |sed -e 's/\.d/.o/g'\`
39468 if test -f ${D}depfile ; then
39469 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
39470 rm -f ${D}depfile
a848cd7e 39471 else
473276a9
VS
39472 depfile=\`basename ${D}objfile | sed -e 's/\..*${D}/.d/g'\`
39473 if test -f ${D}depfile ; then
39474 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
39475 rm -f ${D}depfile
a848cd7e
SC
39476 fi
39477 fi
39478 exit 0
39479else
473276a9
VS
39480 ${D}*
39481 exit ${D}?
a848cd7e
SC
39482fi
39483EOF
473276a9 39484
a848cd7e
SC
39485 chmod +x bk-deps
39486 fi
39487
39488
39489
39490
39491 RESCOMP=
39492 SETFILE=
39493
39494 case ${BAKEFILE_HOST} in
39495 *-*-cygwin* | *-*-mingw32* )
39496 if test "$build" != "$host" ; then
39497 RESCOMP=$host_alias-windres
39498 else
39499 # Extract the first word of "windres", so it can be a program name with args.
39500set dummy windres; ac_word=$2
39501echo "$as_me:$LINENO: checking for $ac_word" >&5
39502echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39503if test "${ac_cv_prog_RESCOMP+set}" = set; then
39504 echo $ECHO_N "(cached) $ECHO_C" >&6
39505else
39506 if test -n "$RESCOMP"; then
39507 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
39508else
39509as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39510for as_dir in $PATH
39511do
39512 IFS=$as_save_IFS
39513 test -z "$as_dir" && as_dir=.
39514 for ac_exec_ext in '' $ac_executable_extensions; do
39515 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39516 ac_cv_prog_RESCOMP="windres"
39517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39518 break 2
39519 fi
39520done
39521done
39522
39523 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
39524fi
39525fi
39526RESCOMP=$ac_cv_prog_RESCOMP
39527if test -n "$RESCOMP"; then
39528 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39529echo "${ECHO_T}$RESCOMP" >&6
39530else
39531 echo "$as_me:$LINENO: result: no" >&5
39532echo "${ECHO_T}no" >&6
39533fi
39534
39535 fi
39536 ;;
39537
39538 *-*-darwin* )
39539 # Extract the first word of "Rez", so it can be a program name with args.
39540set dummy Rez; ac_word=$2
39541echo "$as_me:$LINENO: checking for $ac_word" >&5
39542echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39543if test "${ac_cv_prog_RESCOMP+set}" = set; then
39544 echo $ECHO_N "(cached) $ECHO_C" >&6
39545else
39546 if test -n "$RESCOMP"; then
39547 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
39548else
39549as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39550for as_dir in $PATH
39551do
39552 IFS=$as_save_IFS
39553 test -z "$as_dir" && as_dir=.
39554 for ac_exec_ext in '' $ac_executable_extensions; do
39555 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39556 ac_cv_prog_RESCOMP="Rez"
39557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39558 break 2
39559 fi
39560done
39561done
39562
39563 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
39564fi
39565fi
39566RESCOMP=$ac_cv_prog_RESCOMP
39567if test -n "$RESCOMP"; then
39568 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39569echo "${ECHO_T}$RESCOMP" >&6
39570else
39571 echo "$as_me:$LINENO: result: no" >&5
39572echo "${ECHO_T}no" >&6
39573fi
39574
39575 # Extract the first word of "SetFile", so it can be a program name with args.
39576set dummy SetFile; ac_word=$2
39577echo "$as_me:$LINENO: checking for $ac_word" >&5
39578echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39579if test "${ac_cv_prog_SETFILE+set}" = set; then
39580 echo $ECHO_N "(cached) $ECHO_C" >&6
39581else
39582 if test -n "$SETFILE"; then
39583 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
39584else
39585as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39586for as_dir in $PATH
39587do
39588 IFS=$as_save_IFS
39589 test -z "$as_dir" && as_dir=.
39590 for ac_exec_ext in '' $ac_executable_extensions; do
39591 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39592 ac_cv_prog_SETFILE="SetFile"
39593 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39594 break 2
39595 fi
39596done
39597done
39598
39599 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
39600fi
39601fi
39602SETFILE=$ac_cv_prog_SETFILE
39603if test -n "$SETFILE"; then
39604 echo "$as_me:$LINENO: result: $SETFILE" >&5
39605echo "${ECHO_T}$SETFILE" >&6
39606else
39607 echo "$as_me:$LINENO: result: no" >&5
39608echo "${ECHO_T}no" >&6
39609fi
39610
39611 ;;
39612 esac
39613
39614
39615
39616
39617
2057db16 39618 BAKEFILE_BAKEFILE_M4_VERSION="0.1.4"
a848cd7e 39619
dcc1b6ad 39620
a49baeab
DE
39621
39622
39623
9f45f08e 39624BAKEFILE_AUTOCONF_INC_M4_VERSION="0.1.4"
a848cd7e 39625
646b6ec1 39626
74b84332 39627
a848cd7e
SC
39628 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
39629if test "${enable_precomp_headers+set}" = set; then
39630 enableval="$enable_precomp_headers"
39631 bk_use_pch="$enableval"
39632fi;
39633
39634 GCC_PCH=0
39635
39636 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39637 if test "x$GCC" = "xyes"; then
39638 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
39639echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
39640 cat >conftest.$ac_ext <<_ACEOF
39641/* confdefs.h. */
39642_ACEOF
39643cat confdefs.h >>conftest.$ac_ext
39644cat >>conftest.$ac_ext <<_ACEOF
39645/* end confdefs.h. */
39646
39647int
39648main ()
39649{
39650
39651 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39652 #error "no pch support"
39653 #endif
39654 #if (__GNUC__ < 3)
39655 #error "no pch support"
39656 #endif
39657 #if (__GNUC__ == 3) && \
39658 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39659 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
39660 #error "no pch support"
39661 #endif
39662
39663 ;
39664 return 0;
39665}
39666_ACEOF
39667rm -f conftest.$ac_objext
39668if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 39669 (eval $ac_compile) 2>conftest.er1
a848cd7e 39670 ac_status=$?
ac1cb8d3
VS
39671 grep -v '^ *+' conftest.er1 >conftest.err
39672 rm -f conftest.er1
39673 cat conftest.err >&5
a848cd7e
SC
39674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39675 (exit $ac_status); } &&
d1c38808 39676 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
39677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39678 (eval $ac_try) 2>&5
39679 ac_status=$?
39680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39681 (exit $ac_status); }; } &&
39682 { ac_try='test -s conftest.$ac_objext'
a848cd7e
SC
39683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39684 (eval $ac_try) 2>&5
39685 ac_status=$?
39686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39687 (exit $ac_status); }; }; then
39688
39689 echo "$as_me:$LINENO: result: yes" >&5
39690echo "${ECHO_T}yes" >&6
a848cd7e
SC
39691 GCC_PCH=1
39692
39693else
39694 echo "$as_me: failed program was:" >&5
39695sed 's/^/| /' conftest.$ac_ext >&5
39696
39697
39698 echo "$as_me:$LINENO: result: no" >&5
39699echo "${ECHO_T}no" >&6
39700
39701fi
ac1cb8d3 39702rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a848cd7e
SC
39703 if test $GCC_PCH = 1 ; then
39704 cat <<EOF >bk-make-pch
39705#!/bin/sh
39706
39707# This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39708# script. It is used to generated precompiled headers.
39709#
39710# Permission is given to use this file in any way.
39711
39712outfile="\${1}"
39713header="\${2}"
39714shift
39715shift
39716
39717compiler=
39718headerfile=
39719while test \${#} -gt 0; do
39720 case "\${1}" in
39721 -I* )
39722 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
39723 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
39724 headerfile="\${incdir}/\${header}"
39725 fi
39726 ;;
39727 esac
39728 compiler="\${compiler} \${1}"
39729 shift
39730done
39731
39732if test "x\${headerfile}" = "x" ; then
39733 echo "error: can't find header \${header} in include paths" >2
39734else
39735 if test -f \${outfile} ; then
39736 rm -f \${outfile}
39737 else
39738 mkdir -p \`dirname \${outfile}\`
39739 fi
39740 depsfile=".deps/\`basename \${outfile}\`.d"
39741 mkdir -p .deps
39742 # can do this because gcc is >= 3.4:
39743 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
39744 exit \${?}
39745fi
39746EOF
39747 chmod +x bk-make-pch
39748 fi
39749 fi
39750 fi
39751
39752
39753
39754
39755
dcc1b6ad
VS
39756
39757
39758 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
39759if test "${enable_precomp_headers+set}" = set; then
39760 enableval="$enable_precomp_headers"
39761 bk_use_pch="$enableval"
39762fi;
39763
39764 GCC_PCH=0
39765
39766 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39767 if test "x$GCC" = "xyes"; then
39768 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
39769echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
39770 cat >conftest.$ac_ext <<_ACEOF
39771/* confdefs.h. */
39772_ACEOF
39773cat confdefs.h >>conftest.$ac_ext
39774cat >>conftest.$ac_ext <<_ACEOF
39775/* end confdefs.h. */
39776
39777int
39778main ()
39779{
39780
39781 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39782 #error "no pch support"
39783 #endif
39784 #if (__GNUC__ < 3)
39785 #error "no pch support"
39786 #endif
39787 #if (__GNUC__ == 3) && \
39788 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39789 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
39790 #error "no pch support"
39791 #endif
39792
39793 ;
39794 return 0;
39795}
39796_ACEOF
39797rm -f conftest.$ac_objext
39798if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 39799 (eval $ac_compile) 2>conftest.er1
dcc1b6ad 39800 ac_status=$?
ac1cb8d3
VS
39801 grep -v '^ *+' conftest.er1 >conftest.err
39802 rm -f conftest.er1
39803 cat conftest.err >&5
dcc1b6ad
VS
39804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39805 (exit $ac_status); } &&
d1c38808 39806 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
39807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39808 (eval $ac_try) 2>&5
39809 ac_status=$?
39810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39811 (exit $ac_status); }; } &&
39812 { ac_try='test -s conftest.$ac_objext'
dcc1b6ad
VS
39813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39814 (eval $ac_try) 2>&5
39815 ac_status=$?
39816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39817 (exit $ac_status); }; }; then
39818
39819 echo "$as_me:$LINENO: result: yes" >&5
39820echo "${ECHO_T}yes" >&6
dcc1b6ad
VS
39821 GCC_PCH=1
39822
39823else
39824 echo "$as_me: failed program was:" >&5
39825sed 's/^/| /' conftest.$ac_ext >&5
39826
39827
39828 echo "$as_me:$LINENO: result: no" >&5
39829echo "${ECHO_T}no" >&6
39830
39831fi
ac1cb8d3 39832rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
dcc1b6ad
VS
39833 if test $GCC_PCH = 1 ; then
39834 cat <<EOF >bk-make-pch
39835#!/bin/sh
39836
39837# This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39838# script. It is used to generated precompiled headers.
39839#
39840# Permission is given to use this file in any way.
39841
39842outfile="\${1}"
39843header="\${2}"
39844shift
39845shift
39846
39847compiler=
39848headerfile=
39849while test \${#} -gt 0; do
39850 case "\${1}" in
39851 -I* )
39852 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
39853 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
39854 headerfile="\${incdir}/\${header}"
39855 fi
39856 ;;
39857 esac
39858 compiler="\${compiler} \${1}"
39859 shift
39860done
39861
39862if test "x\${headerfile}" = "x" ; then
39863 echo "error: can't find header \${header} in include paths" >2
39864else
39865 if test -f \${outfile} ; then
39866 rm -f \${outfile}
39867 else
39868 mkdir -p \`dirname \${outfile}\`
39869 fi
39870 depsfile=".deps/\`basename \${outfile}\`.d"
39871 mkdir -p .deps
39872 # can do this because gcc is >= 3.4:
39873 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
39874 exit \${?}
39875fi
39876EOF
39877 chmod +x bk-make-pch
39878 fi
39879 fi
39880 fi
39881
39882
39883
a848cd7e
SC
39884 COND_BUILD_DEBUG="#"
39885 if test "x$BUILD" = "xdebug" ; then
39886 COND_BUILD_DEBUG=""
39887 fi
39888
39889 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
39890 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39891 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
39892 fi
39893
39894 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
39895 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39896 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
39897 fi
39898
39899 COND_BUILD_DEBUG_UNICODE_0="#"
39900 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39901 COND_BUILD_DEBUG_UNICODE_0=""
39902 fi
39903
39904 COND_BUILD_DEBUG_UNICODE_1="#"
39905 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39906 COND_BUILD_DEBUG_UNICODE_1=""
39907 fi
39908
39909 COND_BUILD_RELEASE="#"
39910 if test "x$BUILD" = "xrelease" ; then
39911 COND_BUILD_RELEASE=""
39912 fi
39913
39914 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
39915 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39916 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
39917 fi
39918
39919 COND_BUILD_RELEASE_UNICODE_0="#"
39920 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39921 COND_BUILD_RELEASE_UNICODE_0=""
39922 fi
39923
39924 COND_BUILD_RELEASE_UNICODE_1="#"
39925 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39926 COND_BUILD_RELEASE_UNICODE_1=""
39927 fi
39928
39929 COND_DEBUG_FLAG_1="#"
39930 if test "x$DEBUG_FLAG" = "x1" ; then
39931 COND_DEBUG_FLAG_1=""
39932 fi
39933
39934 COND_DEBUG_INFO_0="#"
39935 if test "x$DEBUG_INFO" = "x0" ; then
39936 COND_DEBUG_INFO_0=""
39937 fi
39938
39939 COND_DEBUG_INFO_1="#"
39940 if test "x$DEBUG_INFO" = "x1" ; then
39941 COND_DEBUG_INFO_1=""
39942 fi
39943
39944 COND_DEPS_TRACKING_0="#"
39945 if test "x$DEPS_TRACKING" = "x0" ; then
39946 COND_DEPS_TRACKING_0=""
39947 fi
39948
39949 COND_DEPS_TRACKING_1="#"
39950 if test "x$DEPS_TRACKING" = "x1" ; then
39951 COND_DEPS_TRACKING_1=""
39952 fi
39953
39954 COND_GCC_PCH_1="#"
39955 if test "x$GCC_PCH" = "x1" ; then
39956 COND_GCC_PCH_1=""
39957 fi
39958
39959 COND_MONOLITHIC_0="#"
39960 if test "x$MONOLITHIC" = "x0" ; then
39961 COND_MONOLITHIC_0=""
39962 fi
39963
39964 COND_MONOLITHIC_0_SHARED_0="#"
39965 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
39966 COND_MONOLITHIC_0_SHARED_0=""
39967 fi
39968
39969 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
39970 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
39971 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
39972 fi
39973
39974 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
39975 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
39976 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
39977 fi
39978
39979 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
39980 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
39981 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
39982 fi
39983
39984 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
39985 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
39986 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
39987 fi
39988
ceec2216
RL
39989 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
39990 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
39991 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
39992 fi
39993
a848cd7e
SC
39994 COND_MONOLITHIC_0_SHARED_1="#"
39995 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
39996 COND_MONOLITHIC_0_SHARED_1=""
39997 fi
39998
39999 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
40000 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40001 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
40002 fi
40003
40004 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
40005 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40006 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
40007 fi
40008
40009 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
40010 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
40011 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
40012 fi
40013
40014 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
40015 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
40016 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
40017 fi
40018
ceec2216
RL
40019 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
40020 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
40021 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
40022 fi
40023
a848cd7e
SC
40024 COND_MONOLITHIC_0_USE_ODBC_1="#"
40025 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
40026 COND_MONOLITHIC_0_USE_ODBC_1=""
40027 fi
40028
40029 COND_MONOLITHIC_1="#"
40030 if test "x$MONOLITHIC" = "x1" ; then
40031 COND_MONOLITHIC_1=""
40032 fi
40033
40034 COND_MONOLITHIC_1_SHARED_0="#"
40035 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40036 COND_MONOLITHIC_1_SHARED_0=""
40037 fi
40038
40039 COND_MONOLITHIC_1_SHARED_1="#"
40040 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40041 COND_MONOLITHIC_1_SHARED_1=""
40042 fi
40043
40044 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
40045 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40046 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
40047 fi
40048
40049 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
40050 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40051 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
40052 fi
40053
40054 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
40055 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40056 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
40057 fi
40058
40059 COND_PLATFORM_MACOSX_1="#"
40060 if test "x$PLATFORM_MACOSX" = "x1" ; then
40061 COND_PLATFORM_MACOSX_1=""
40062 fi
40063
a30f955f
VS
40064 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
40065 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
40066 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
40067 fi
40068
a848cd7e
SC
40069 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
40070 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
40071 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
40072 fi
40073
40074 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
40075 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
40076 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
40077 fi
40078
40079 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
40080 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
40081 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
40082 fi
40083
ebee3cd0
VS
40084 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
40085 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
40086 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
40087 fi
40088
40089 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
40090 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
40091 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
40092 fi
40093
a848cd7e
SC
40094 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
40095 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40096 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
40097 fi
40098
40099 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
40100 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40101 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
40102 fi
40103
b48a2016
DE
40104 COND_PLATFORM_MACOS_1="#"
40105 if test "x$PLATFORM_MACOS" = "x1" ; then
40106 COND_PLATFORM_MACOS_1=""
40107 fi
40108
a848cd7e
SC
40109 COND_PLATFORM_MAC_1="#"
40110 if test "x$PLATFORM_MAC" = "x1" ; then
40111 COND_PLATFORM_MAC_1=""
40112 fi
40113
40114 COND_PLATFORM_OS2_1="#"
40115 if test "x$PLATFORM_OS2" = "x1" ; then
40116 COND_PLATFORM_OS2_1=""
40117 fi
40118
40119 COND_PLATFORM_UNIX_0="#"
40120 if test "x$PLATFORM_UNIX" = "x0" ; then
40121 COND_PLATFORM_UNIX_0=""
40122 fi
40123
40124 COND_PLATFORM_UNIX_1="#"
40125 if test "x$PLATFORM_UNIX" = "x1" ; then
40126 COND_PLATFORM_UNIX_1=""
40127 fi
40128
40129 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
40130 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40131 COND_PLATFORM_UNIX_1_USE_GUI_1=""
40132 fi
40133
40134 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
40135 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40136 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
40137 fi
40138
40139 COND_PLATFORM_WIN32_0="#"
40140 if test "x$PLATFORM_WIN32" = "x0" ; then
40141 COND_PLATFORM_WIN32_0=""
40142 fi
40143
40144 COND_PLATFORM_WIN32_1="#"
40145 if test "x$PLATFORM_WIN32" = "x1" ; then
40146 COND_PLATFORM_WIN32_1=""
40147 fi
40148
40149 COND_SHARED_0="#"
40150 if test "x$SHARED" = "x0" ; then
40151 COND_SHARED_0=""
40152 fi
40153
ceec2216
RL
40154 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
40155 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40156 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
40157 fi
40158
40159 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
40160 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40161 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
40162 fi
40163
40164 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
40165 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40166 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
40167 fi
40168
a848cd7e
SC
40169 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
40170 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40171 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
40172 fi
40173
40174 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
40175 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40176 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
40177 fi
40178
40179 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
40180 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40181 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
40182 fi
40183
40184 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
40185 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40186 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
40187 fi
40188
40189 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
40190 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40191 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
40192 fi
40193
40194 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
40195 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
40196 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
40197 fi
40198
40199 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
40200 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40201 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
40202 fi
40203
40204 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
40205 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40206 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
40207 fi
40208
40209 COND_SHARED_1="#"
40210 if test "x$SHARED" = "x1" ; then
40211 COND_SHARED_1=""
40212 fi
40213
40214 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
40215 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40216 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
40217 fi
40218
a30f955f
VS
40219 COND_TOOLKIT_="#"
40220 if test "x$TOOLKIT" = "x" ; then
40221 COND_TOOLKIT_=""
40222 fi
40223
a848cd7e
SC
40224 COND_TOOLKIT_COCOA="#"
40225 if test "x$TOOLKIT" = "xCOCOA" ; then
40226 COND_TOOLKIT_COCOA=""
40227 fi
40228
a49baeab
DE
40229 COND_TOOLKIT_COCOA_USE_GUI_1="#"
40230 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
40231 COND_TOOLKIT_COCOA_USE_GUI_1=""
40232 fi
40233
a848cd7e
SC
40234 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
40235 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40236 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
40237 fi
40238
40239 COND_TOOLKIT_GTK="#"
40240 if test "x$TOOLKIT" = "xGTK" ; then
40241 COND_TOOLKIT_GTK=""
40242 fi
40243
40244 COND_TOOLKIT_GTK_USE_GUI_1="#"
40245 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40246 COND_TOOLKIT_GTK_USE_GUI_1=""
40247 fi
40248
40249 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
40250 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40251 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
40252 fi
40253
40254 COND_TOOLKIT_MAC="#"
40255 if test "x$TOOLKIT" = "xMAC" ; then
40256 COND_TOOLKIT_MAC=""
40257 fi
40258
40259 COND_TOOLKIT_MAC_USE_GUI_1="#"
40260 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
40261 COND_TOOLKIT_MAC_USE_GUI_1=""
40262 fi
40263
40264 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
40265 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40266 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
40267 fi
40268
40269 COND_TOOLKIT_MGL="#"
40270 if test "x$TOOLKIT" = "xMGL" ; then
40271 COND_TOOLKIT_MGL=""
40272 fi
40273
40274 COND_TOOLKIT_MGL_USE_GUI_1="#"
40275 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
40276 COND_TOOLKIT_MGL_USE_GUI_1=""
40277 fi
40278
40279 COND_TOOLKIT_MOTIF="#"
40280 if test "x$TOOLKIT" = "xMOTIF" ; then
40281 COND_TOOLKIT_MOTIF=""
40282 fi
40283
40284 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
40285 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40286 COND_TOOLKIT_MOTIF_USE_GUI_1=""
40287 fi
40288
40289 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
40290 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40291 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
40292 fi
40293
40294 COND_TOOLKIT_MSW="#"
40295 if test "x$TOOLKIT" = "xMSW" ; then
40296 COND_TOOLKIT_MSW=""
40297 fi
40298
40299 COND_TOOLKIT_MSW_USE_GUI_1="#"
40300 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40301 COND_TOOLKIT_MSW_USE_GUI_1=""
40302 fi
40303
40304 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
40305 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40306 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
40307 fi
40308
40309 COND_TOOLKIT_PM="#"
40310 if test "x$TOOLKIT" = "xPM" ; then
40311 COND_TOOLKIT_PM=""
40312 fi
40313
40314 COND_TOOLKIT_PM_USE_GUI_1="#"
40315 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40316 COND_TOOLKIT_PM_USE_GUI_1=""
40317 fi
40318
40319 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
40320 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40321 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
40322 fi
40323
3fd9c298
DE
40324 COND_TOOLKIT_WINCE="#"
40325 if test "x$TOOLKIT" = "xWINCE" ; then
40326 COND_TOOLKIT_WINCE=""
40327 fi
40328
40329 COND_TOOLKIT_WINCE_USE_GUI_1="#"
40330 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40331 COND_TOOLKIT_WINCE_USE_GUI_1=""
40332 fi
40333
40334 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
40335 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40336 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
40337 fi
40338
a848cd7e
SC
40339 COND_TOOLKIT_X11="#"
40340 if test "x$TOOLKIT" = "xX11" ; then
40341 COND_TOOLKIT_X11=""
40342 fi
40343
40344 COND_TOOLKIT_X11_USE_GUI_1="#"
40345 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40346 COND_TOOLKIT_X11_USE_GUI_1=""
40347 fi
40348
40349 COND_UNICODE_1="#"
40350 if test "x$UNICODE" = "x1" ; then
40351 COND_UNICODE_1=""
40352 fi
40353
40354 COND_USE_EXCEPTIONS_0="#"
40355 if test "x$USE_EXCEPTIONS" = "x0" ; then
40356 COND_USE_EXCEPTIONS_0=""
40357 fi
40358
40359 COND_USE_EXCEPTIONS_1="#"
40360 if test "x$USE_EXCEPTIONS" = "x1" ; then
40361 COND_USE_EXCEPTIONS_1=""
40362 fi
40363
40364 COND_USE_GUI_0="#"
40365 if test "x$USE_GUI" = "x0" ; then
40366 COND_USE_GUI_0=""
40367 fi
40368
40369 COND_USE_GUI_1="#"
40370 if test "x$USE_GUI" = "x1" ; then
40371 COND_USE_GUI_1=""
40372 fi
40373
40374 COND_USE_GUI_1_WXUNIV_0="#"
40375 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40376 COND_USE_GUI_1_WXUNIV_0=""
40377 fi
40378
40379 COND_USE_GUI_1_WXUNIV_1="#"
40380 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40381 COND_USE_GUI_1_WXUNIV_1=""
40382 fi
40383
40384 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
40385 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40386 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
40387 fi
40388
40389 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
40390 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40391 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
40392 fi
40393
40394 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
40395 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40396 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
40397 fi
40398
ceec2216
RL
40399 COND_USE_ODBC_1="#"
40400 if test "x$USE_ODBC" = "x1" ; then
40401 COND_USE_ODBC_1=""
40402 fi
40403
ffa0583f
RL
40404 COND_USE_OPENGL_1="#"
40405 if test "x$USE_OPENGL" = "x1" ; then
40406 COND_USE_OPENGL_1=""
40407 fi
40408
a848cd7e
SC
40409 COND_USE_PLUGINS_0="#"
40410 if test "x$USE_PLUGINS" = "x0" ; then
40411 COND_USE_PLUGINS_0=""
40412 fi
40413
40414 COND_USE_SOSYMLINKS_1="#"
40415 if test "x$USE_SOSYMLINKS" = "x1" ; then
40416 COND_USE_SOSYMLINKS_1=""
40417 fi
40418
40419 COND_USE_SOVERLINUX_1="#"
40420 if test "x$USE_SOVERLINUX" = "x1" ; then
40421 COND_USE_SOVERLINUX_1=""
40422 fi
40423
40424 COND_USE_SOVERSION_0="#"
40425 if test "x$USE_SOVERSION" = "x0" ; then
40426 COND_USE_SOVERSION_0=""
40427 fi
40428
40429 COND_USE_SOVERSOLARIS_1="#"
40430 if test "x$USE_SOVERSOLARIS" = "x1" ; then
40431 COND_USE_SOVERSOLARIS_1=""
40432 fi
40433
a13a7f89
RL
40434 COND_USE_XRC_1="#"
40435 if test "x$USE_XRC" = "x1" ; then
40436 COND_USE_XRC_1=""
40437 fi
40438
a848cd7e
SC
40439 COND_WITH_PLUGIN_SDL_1="#"
40440 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40441 COND_WITH_PLUGIN_SDL_1=""
40442 fi
40443
a848cd7e
SC
40444 COND_WXUNIV_1="#"
40445 if test "x$WXUNIV" = "x1" ; then
40446 COND_WXUNIV_1=""
40447 fi
40448
40449 COND_WXUSE_EXPAT_BUILTIN="#"
40450 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40451 COND_WXUSE_EXPAT_BUILTIN=""
40452 fi
40453
40454 COND_WXUSE_LIBJPEG_BUILTIN="#"
40455 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40456 COND_WXUSE_LIBJPEG_BUILTIN=""
40457 fi
40458
40459 COND_WXUSE_LIBPNG_BUILTIN="#"
40460 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40461 COND_WXUSE_LIBPNG_BUILTIN=""
40462 fi
40463
40464 COND_WXUSE_LIBTIFF_BUILTIN="#"
40465 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40466 COND_WXUSE_LIBTIFF_BUILTIN=""
40467 fi
40468
40469 COND_WXUSE_ODBC_BUILTIN="#"
40470 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
40471 COND_WXUSE_ODBC_BUILTIN=""
40472 fi
40473
40474 COND_WXUSE_REGEX_BUILTIN="#"
40475 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40476 COND_WXUSE_REGEX_BUILTIN=""
40477 fi
40478
40479 COND_WXUSE_ZLIB_BUILTIN="#"
40480 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40481 COND_WXUSE_ZLIB_BUILTIN=""
40482 fi
40483
dcc1b6ad
VS
40484 COND_BUILD_DEBUG="#"
40485 if test "x$BUILD" = "xdebug" ; then
40486 COND_BUILD_DEBUG=""
40487 fi
40488
40489 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
40490 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
40491 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
40492 fi
40493
40494 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
40495 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40496 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
40497 fi
40498
40499 COND_BUILD_DEBUG_UNICODE_0="#"
40500 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
40501 COND_BUILD_DEBUG_UNICODE_0=""
40502 fi
40503
40504 COND_BUILD_DEBUG_UNICODE_1="#"
40505 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
40506 COND_BUILD_DEBUG_UNICODE_1=""
40507 fi
40508
40509 COND_BUILD_RELEASE="#"
40510 if test "x$BUILD" = "xrelease" ; then
40511 COND_BUILD_RELEASE=""
40512 fi
40513
40514 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
40515 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40516 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
40517 fi
40518
40519 COND_BUILD_RELEASE_UNICODE_0="#"
40520 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
40521 COND_BUILD_RELEASE_UNICODE_0=""
40522 fi
40523
40524 COND_BUILD_RELEASE_UNICODE_1="#"
40525 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
40526 COND_BUILD_RELEASE_UNICODE_1=""
40527 fi
40528
40529 COND_DEBUG_FLAG_1="#"
40530 if test "x$DEBUG_FLAG" = "x1" ; then
40531 COND_DEBUG_FLAG_1=""
40532 fi
40533
40534 COND_DEBUG_INFO_0="#"
40535 if test "x$DEBUG_INFO" = "x0" ; then
40536 COND_DEBUG_INFO_0=""
40537 fi
40538
40539 COND_DEBUG_INFO_1="#"
40540 if test "x$DEBUG_INFO" = "x1" ; then
40541 COND_DEBUG_INFO_1=""
40542 fi
40543
40544 COND_DEPS_TRACKING_0="#"
40545 if test "x$DEPS_TRACKING" = "x0" ; then
40546 COND_DEPS_TRACKING_0=""
40547 fi
40548
40549 COND_DEPS_TRACKING_1="#"
40550 if test "x$DEPS_TRACKING" = "x1" ; then
40551 COND_DEPS_TRACKING_1=""
40552 fi
40553
40554 COND_GCC_PCH_1="#"
40555 if test "x$GCC_PCH" = "x1" ; then
40556 COND_GCC_PCH_1=""
40557 fi
40558
40559 COND_MONOLITHIC_0="#"
40560 if test "x$MONOLITHIC" = "x0" ; then
40561 COND_MONOLITHIC_0=""
40562 fi
40563
40564 COND_MONOLITHIC_0_SHARED_0="#"
40565 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40566 COND_MONOLITHIC_0_SHARED_0=""
40567 fi
40568
40569 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
40570 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40571 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
40572 fi
40573
40574 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
40575 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40576 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
40577 fi
40578
40579 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
40580 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
40581 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
40582 fi
40583
40584 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
40585 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
40586 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
40587 fi
40588
9a8f0513
VS
40589 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
40590 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
40591 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
40592 fi
40593
dcc1b6ad
VS
40594 COND_MONOLITHIC_0_SHARED_1="#"
40595 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40596 COND_MONOLITHIC_0_SHARED_1=""
40597 fi
40598
40599 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
40600 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40601 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
40602 fi
40603
40604 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
40605 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40606 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
40607 fi
40608
40609 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
40610 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
40611 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
40612 fi
40613
40614 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
40615 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
40616 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
40617 fi
40618
9a8f0513
VS
40619 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
40620 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
40621 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
40622 fi
40623
dcc1b6ad
VS
40624 COND_MONOLITHIC_0_USE_ODBC_1="#"
40625 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
40626 COND_MONOLITHIC_0_USE_ODBC_1=""
40627 fi
40628
40629 COND_MONOLITHIC_1="#"
40630 if test "x$MONOLITHIC" = "x1" ; then
40631 COND_MONOLITHIC_1=""
40632 fi
40633
40634 COND_MONOLITHIC_1_SHARED_0="#"
40635 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40636 COND_MONOLITHIC_1_SHARED_0=""
40637 fi
40638
40639 COND_MONOLITHIC_1_SHARED_1="#"
40640 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40641 COND_MONOLITHIC_1_SHARED_1=""
40642 fi
40643
40644 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
40645 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40646 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
40647 fi
40648
40649 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
40650 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40651 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
40652 fi
40653
40654 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
40655 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40656 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
40657 fi
40658
40659 COND_PLATFORM_MACOSX_1="#"
40660 if test "x$PLATFORM_MACOSX" = "x1" ; then
40661 COND_PLATFORM_MACOSX_1=""
40662 fi
40663
40664 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
40665 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
40666 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
40667 fi
40668
40669 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
40670 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
40671 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
40672 fi
40673
40674 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
40675 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
40676 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
40677 fi
40678
9a8f0513
VS
40679 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
40680 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
40681 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
40682 fi
40683
40684 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
40685 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
40686 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
40687 fi
40688
dcc1b6ad
VS
40689 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
40690 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40691 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
40692 fi
40693
40694 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
40695 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40696 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
40697 fi
40698
40699 COND_PLATFORM_MAC_1="#"
40700 if test "x$PLATFORM_MAC" = "x1" ; then
40701 COND_PLATFORM_MAC_1=""
40702 fi
40703
40704 COND_PLATFORM_OS2_1="#"
40705 if test "x$PLATFORM_OS2" = "x1" ; then
40706 COND_PLATFORM_OS2_1=""
40707 fi
40708
40709 COND_PLATFORM_UNIX_0="#"
40710 if test "x$PLATFORM_UNIX" = "x0" ; then
40711 COND_PLATFORM_UNIX_0=""
40712 fi
40713
40714 COND_PLATFORM_UNIX_1="#"
40715 if test "x$PLATFORM_UNIX" = "x1" ; then
40716 COND_PLATFORM_UNIX_1=""
40717 fi
40718
40719 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
40720 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40721 COND_PLATFORM_UNIX_1_USE_GUI_1=""
40722 fi
40723
40724 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
40725 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40726 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
40727 fi
40728
40729 COND_PLATFORM_WIN32_0="#"
40730 if test "x$PLATFORM_WIN32" = "x0" ; then
40731 COND_PLATFORM_WIN32_0=""
40732 fi
40733
40734 COND_PLATFORM_WIN32_1="#"
40735 if test "x$PLATFORM_WIN32" = "x1" ; then
40736 COND_PLATFORM_WIN32_1=""
40737 fi
40738
40739 COND_SHARED_0="#"
40740 if test "x$SHARED" = "x0" ; then
40741 COND_SHARED_0=""
40742 fi
40743
40744 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
40745 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40746 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
40747 fi
40748
40749 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
40750 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40751 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
40752 fi
40753
40754 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
40755 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40756 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
40757 fi
40758
40759 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
40760 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40761 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
40762 fi
40763
40764 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
40765 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40766 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
40767 fi
40768
40769 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
40770 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
40771 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
40772 fi
40773
40774 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
40775 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40776 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
40777 fi
40778
40779 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
40780 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40781 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
40782 fi
40783
40784 COND_SHARED_1="#"
40785 if test "x$SHARED" = "x1" ; then
40786 COND_SHARED_1=""
40787 fi
40788
40789 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
40790 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40791 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
40792 fi
40793
40794 COND_TOOLKIT_COCOA="#"
40795 if test "x$TOOLKIT" = "xCOCOA" ; then
40796 COND_TOOLKIT_COCOA=""
40797 fi
40798
40799 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
40800 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40801 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
40802 fi
40803
40804 COND_TOOLKIT_GTK="#"
40805 if test "x$TOOLKIT" = "xGTK" ; then
40806 COND_TOOLKIT_GTK=""
40807 fi
40808
40809 COND_TOOLKIT_GTK_USE_GUI_1="#"
40810 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40811 COND_TOOLKIT_GTK_USE_GUI_1=""
40812 fi
40813
40814 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
40815 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40816 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
40817 fi
40818
40819 COND_TOOLKIT_MAC="#"
40820 if test "x$TOOLKIT" = "xMAC" ; then
40821 COND_TOOLKIT_MAC=""
40822 fi
40823
40824 COND_TOOLKIT_MAC_USE_GUI_1="#"
40825 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
40826 COND_TOOLKIT_MAC_USE_GUI_1=""
40827 fi
40828
40829 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
40830 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40831 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
40832 fi
40833
9a8f0513
VS
40834 COND_TOOLKIT_MAC_WXUNIV_0="#"
40835 if test "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40836 COND_TOOLKIT_MAC_WXUNIV_0=""
40837 fi
40838
dcc1b6ad
VS
40839 COND_TOOLKIT_MGL="#"
40840 if test "x$TOOLKIT" = "xMGL" ; then
40841 COND_TOOLKIT_MGL=""
40842 fi
40843
40844 COND_TOOLKIT_MGL_USE_GUI_1="#"
40845 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
40846 COND_TOOLKIT_MGL_USE_GUI_1=""
40847 fi
40848
40849 COND_TOOLKIT_MOTIF="#"
40850 if test "x$TOOLKIT" = "xMOTIF" ; then
40851 COND_TOOLKIT_MOTIF=""
40852 fi
40853
40854 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
40855 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40856 COND_TOOLKIT_MOTIF_USE_GUI_1=""
40857 fi
40858
40859 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
40860 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40861 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
40862 fi
40863
40864 COND_TOOLKIT_MSW="#"
40865 if test "x$TOOLKIT" = "xMSW" ; then
40866 COND_TOOLKIT_MSW=""
40867 fi
40868
40869 COND_TOOLKIT_MSW_USE_GUI_1="#"
40870 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40871 COND_TOOLKIT_MSW_USE_GUI_1=""
40872 fi
40873
40874 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
40875 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40876 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
40877 fi
40878
9a8f0513
VS
40879 COND_TOOLKIT_MSW_WXUNIV_0="#"
40880 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40881 COND_TOOLKIT_MSW_WXUNIV_0=""
40882 fi
40883
dcc1b6ad
VS
40884 COND_TOOLKIT_PM="#"
40885 if test "x$TOOLKIT" = "xPM" ; then
40886 COND_TOOLKIT_PM=""
40887 fi
40888
40889 COND_TOOLKIT_PM_USE_GUI_1="#"
40890 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40891 COND_TOOLKIT_PM_USE_GUI_1=""
40892 fi
40893
40894 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
40895 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40896 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
40897 fi
40898
9a8f0513
VS
40899 COND_TOOLKIT_PM_WXUNIV_0="#"
40900 if test "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40901 COND_TOOLKIT_PM_WXUNIV_0=""
40902 fi
40903
dcc1b6ad
VS
40904 COND_TOOLKIT_WINCE="#"
40905 if test "x$TOOLKIT" = "xWINCE" ; then
40906 COND_TOOLKIT_WINCE=""
40907 fi
40908
40909 COND_TOOLKIT_WINCE_USE_GUI_1="#"
40910 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40911 COND_TOOLKIT_WINCE_USE_GUI_1=""
40912 fi
40913
40914 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
40915 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40916 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
40917 fi
40918
40919 COND_TOOLKIT_X11="#"
40920 if test "x$TOOLKIT" = "xX11" ; then
40921 COND_TOOLKIT_X11=""
40922 fi
40923
40924 COND_TOOLKIT_X11_USE_GUI_1="#"
40925 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40926 COND_TOOLKIT_X11_USE_GUI_1=""
40927 fi
40928
40929 COND_UNICODE_1="#"
40930 if test "x$UNICODE" = "x1" ; then
40931 COND_UNICODE_1=""
40932 fi
40933
40934 COND_USE_EXCEPTIONS_0="#"
40935 if test "x$USE_EXCEPTIONS" = "x0" ; then
40936 COND_USE_EXCEPTIONS_0=""
40937 fi
40938
40939 COND_USE_EXCEPTIONS_1="#"
40940 if test "x$USE_EXCEPTIONS" = "x1" ; then
40941 COND_USE_EXCEPTIONS_1=""
40942 fi
40943
40944 COND_USE_GUI_0="#"
40945 if test "x$USE_GUI" = "x0" ; then
40946 COND_USE_GUI_0=""
40947 fi
40948
40949 COND_USE_GUI_1="#"
40950 if test "x$USE_GUI" = "x1" ; then
40951 COND_USE_GUI_1=""
40952 fi
40953
40954 COND_USE_GUI_1_WXUNIV_0="#"
40955 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40956 COND_USE_GUI_1_WXUNIV_0=""
40957 fi
40958
40959 COND_USE_GUI_1_WXUNIV_1="#"
40960 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40961 COND_USE_GUI_1_WXUNIV_1=""
40962 fi
40963
40964 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
40965 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40966 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
40967 fi
40968
40969 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
40970 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40971 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
40972 fi
40973
40974 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
40975 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40976 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
40977 fi
40978
40979 COND_USE_ODBC_1="#"
40980 if test "x$USE_ODBC" = "x1" ; then
40981 COND_USE_ODBC_1=""
40982 fi
40983
40984 COND_USE_PLUGINS_0="#"
40985 if test "x$USE_PLUGINS" = "x0" ; then
40986 COND_USE_PLUGINS_0=""
40987 fi
40988
40989 COND_USE_SOSYMLINKS_1="#"
40990 if test "x$USE_SOSYMLINKS" = "x1" ; then
40991 COND_USE_SOSYMLINKS_1=""
40992 fi
40993
40994 COND_USE_SOVERLINUX_1="#"
40995 if test "x$USE_SOVERLINUX" = "x1" ; then
40996 COND_USE_SOVERLINUX_1=""
40997 fi
40998
40999 COND_USE_SOVERSION_0="#"
41000 if test "x$USE_SOVERSION" = "x0" ; then
41001 COND_USE_SOVERSION_0=""
41002 fi
41003
41004 COND_USE_SOVERSOLARIS_1="#"
41005 if test "x$USE_SOVERSOLARIS" = "x1" ; then
41006 COND_USE_SOVERSOLARIS_1=""
41007 fi
41008
41009 COND_WITH_PLUGIN_SDL_1="#"
41010 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
41011 COND_WITH_PLUGIN_SDL_1=""
41012 fi
41013
41014 COND_WXUNIV_1="#"
41015 if test "x$WXUNIV" = "x1" ; then
41016 COND_WXUNIV_1=""
41017 fi
41018
41019 COND_WXUSE_EXPAT_BUILTIN="#"
41020 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
41021 COND_WXUSE_EXPAT_BUILTIN=""
41022 fi
41023
41024 COND_WXUSE_LIBJPEG_BUILTIN="#"
41025 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41026 COND_WXUSE_LIBJPEG_BUILTIN=""
41027 fi
41028
41029 COND_WXUSE_LIBPNG_BUILTIN="#"
41030 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41031 COND_WXUSE_LIBPNG_BUILTIN=""
41032 fi
41033
41034 COND_WXUSE_LIBTIFF_BUILTIN="#"
41035 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41036 COND_WXUSE_LIBTIFF_BUILTIN=""
41037 fi
41038
41039 COND_WXUSE_ODBC_BUILTIN="#"
41040 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
41041 COND_WXUSE_ODBC_BUILTIN=""
41042 fi
41043
41044 COND_WXUSE_REGEX_BUILTIN="#"
41045 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
41046 COND_WXUSE_REGEX_BUILTIN=""
41047 fi
41048
41049 COND_WXUSE_ZLIB_BUILTIN="#"
41050 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
41051 COND_WXUSE_ZLIB_BUILTIN=""
41052 fi
41053
a848cd7e
SC
41054
41055
2057db16
VS
41056 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
41057 { { echo "$as_me:$LINENO: error: Versions of Bakefile used to generate makefiles ($BAKEFILE_AUTOCONF_INC_M4_VERSION) and configure ($BAKEFILE_BAKEFILE_M4_VERSION) do not match." >&5
41058echo "$as_me: error: Versions of Bakefile used to generate makefiles ($BAKEFILE_AUTOCONF_INC_M4_VERSION) and configure ($BAKEFILE_BAKEFILE_M4_VERSION) do not match." >&2;}
41059 { (exit 1); exit 1; }; }
41060 fi
41061
a848cd7e 41062
ceec2216
RL
41063if test "$wxUSE_SHARED" = "yes"; then
41064
41065 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
41066 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
41067
41068else
41069
41070 EXE_LINKER="$CXX -o"
41071
41072fi
a848cd7e 41073
74b84332 41074GCC_PRAGMA_FLAGS=""
a848cd7e 41075if test $GCC_PCH = 1 ; then
74b84332 41076 GCC_PRAGMA_FLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA"
a848cd7e
SC
41077else
41078 case "${host}" in
41079 powerpc-*-darwin* )
74b84332 41080 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
a848cd7e 41081 ;;
bea8e651 41082 *-*-mingw32* )
1f344abf
VS
41083 if test "$wxUSE_STL" = "yes" -o \
41084 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
41085 "$wxUSE_NO_RTTI" != "yes"; then
41086 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
41087echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
bea8e651
MB
41088 cat >conftest.$ac_ext <<_ACEOF
41089/* confdefs.h. */
41090_ACEOF
41091cat confdefs.h >>conftest.$ac_ext
41092cat >>conftest.$ac_ext <<_ACEOF
41093/* end confdefs.h. */
41094
41095int
41096main ()
41097{
1f344abf 41098#if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
bea8e651
MB
41099 #error "Not GCC 3.2 or greater"
41100 #endif
41101
41102 ;
41103 return 0;
41104}
41105_ACEOF
41106rm -f conftest.$ac_objext
41107if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac1cb8d3 41108 (eval $ac_compile) 2>conftest.er1
bea8e651 41109 ac_status=$?
ac1cb8d3
VS
41110 grep -v '^ *+' conftest.er1 >conftest.err
41111 rm -f conftest.er1
41112 cat conftest.err >&5
bea8e651
MB
41113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41114 (exit $ac_status); } &&
d1c38808 41115 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
ac1cb8d3
VS
41116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41117 (eval $ac_try) 2>&5
41118 ac_status=$?
41119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41120 (exit $ac_status); }; } &&
41121 { ac_try='test -s conftest.$ac_objext'
bea8e651
MB
41122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41123 (eval $ac_try) 2>&5
41124 ac_status=$?
41125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41126 (exit $ac_status); }; }; then
74b84332 41127 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
bea8e651
MB
41128 echo "$as_me:$LINENO: result: yes" >&5
41129echo "${ECHO_T}yes" >&6
41130else
41131 echo "$as_me: failed program was:" >&5
41132sed 's/^/| /' conftest.$ac_ext >&5
41133
41134echo "$as_me:$LINENO: result: no" >&5
41135echo "${ECHO_T}no" >&6
41136fi
ac1cb8d3 41137rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
bea8e651
MB
41138 fi
41139 ;;
a848cd7e
SC
41140 esac
41141fi
74b84332 41142CPPFLAGS="$GCC_PRAGMA_FLAGS $CPPFLAGS"
a848cd7e
SC
41143
41144
41145SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
41146
41147
41148
41149
41150
41151
41152
41153
41154
41155
41156
41157
41158
41159
41160
41161
41162
41163
41164
41165
41166
41167
41168
41169
41170
41171
41172
41173
41174
41175
41176
41177
41178
41179
41180
41181
41182
41183
41184
41185
41186
41187
a848cd7e
SC
41188
41189
41190
41191
41192
41193
41194
41195
41196
41197
41198
41199
41200
41201
41202
41203
41204
41205
74b84332 41206
a848cd7e
SC
41207
41208
41209echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41210echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
ac1cb8d3 41211set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
a848cd7e
SC
41212if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
41213 echo $ECHO_N "(cached) $ECHO_C" >&6
41214else
41215 cat >conftest.make <<\_ACEOF
41216all:
41217 @echo 'ac_maketemp="$(MAKE)"'
41218_ACEOF
41219# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
41220eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
41221if test -n "$ac_maketemp"; then
41222 eval ac_cv_prog_make_${ac_make}_set=yes
41223else
41224 eval ac_cv_prog_make_${ac_make}_set=no
41225fi
41226rm -f conftest.make
41227fi
41228if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
41229 echo "$as_me:$LINENO: result: yes" >&5
41230echo "${ECHO_T}yes" >&6
41231 SET_MAKE=
41232else
41233 echo "$as_me:$LINENO: result: no" >&5
41234echo "${ECHO_T}no" >&6
41235 SET_MAKE="MAKE=${MAKE-make}"
41236fi
41237
41238
a848cd7e 41239
ceec2216
RL
41240 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
41241
a848cd7e 41242
ceec2216 41243 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
a848cd7e 41244
a848cd7e 41245
ceec2216 41246 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
a848cd7e 41247
ceec2216
RL
41248
41249 ac_config_files="$ac_config_files version-script Makefile"
41250
41251
41252 ac_config_commands="$ac_config_commands wx-config
41253 "
a848cd7e
SC
41254
41255
9103d280
RL
41256
41257
a848cd7e
SC
41258if test "$wxUSE_GUI" = "yes"; then
41259 SUBDIRS="samples demos utils contrib"
41260else SUBDIRS="samples utils"
41261fi
41262
41263
41264
41265# Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
41266if test "${with_cppunit_prefix+set}" = set; then
41267 withval="$with_cppunit_prefix"
41268 cppunit_config_prefix="$withval"
41269else
41270 cppunit_config_prefix=""
41271fi;
41272
41273# Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
41274if test "${with_cppunit_exec_prefix+set}" = set; then
41275 withval="$with_cppunit_exec_prefix"
41276 cppunit_config_exec_prefix="$withval"
41277else
41278 cppunit_config_exec_prefix=""
41279fi;
41280
41281 if test x$cppunit_config_exec_prefix != x ; then
41282 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
41283 if test x${CPPUNIT_CONFIG+set} != xset ; then
41284 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
41285 fi
41286 fi
41287 if test x$cppunit_config_prefix != x ; then
41288 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
41289 if test x${CPPUNIT_CONFIG+set} != xset ; then
41290 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
41291 fi
41292 fi
41293
41294 # Extract the first word of "cppunit-config", so it can be a program name with args.
41295set dummy cppunit-config; ac_word=$2
41296echo "$as_me:$LINENO: checking for $ac_word" >&5
41297echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41298if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
41299 echo $ECHO_N "(cached) $ECHO_C" >&6
41300else
41301 case $CPPUNIT_CONFIG in
41302 [\\/]* | ?:[\\/]*)
41303 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
41304 ;;
41305 *)
41306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41307for as_dir in $PATH
41308do
41309 IFS=$as_save_IFS
41310 test -z "$as_dir" && as_dir=.
41311 for ac_exec_ext in '' $ac_executable_extensions; do
41312 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41313 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41314 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41315 break 2
41316 fi
41317done
41318done
41319
41320 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
41321 ;;
41322esac
41323fi
41324CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
41325
41326if test -n "$CPPUNIT_CONFIG"; then
41327 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
41328echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
41329else
41330 echo "$as_me:$LINENO: result: no" >&5
41331echo "${ECHO_T}no" >&6
41332fi
41333
41334 cppunit_version_min=1.8.0
41335
41336 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
41337echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
41338 no_cppunit=""
41339 if test "$CPPUNIT_CONFIG" = "no" ; then
41340 no_cppunit=yes
41341 else
41342 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
41343 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
41344 cppunit_version=`$CPPUNIT_CONFIG --version`
41345
41346 cppunit_major_version=`echo $cppunit_version | \
41347 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41348 cppunit_minor_version=`echo $cppunit_version | \
41349 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41350 cppunit_micro_version=`echo $cppunit_version | \
41351 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41352
41353 cppunit_major_min=`echo $cppunit_version_min | \
41354 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41355 cppunit_minor_min=`echo $cppunit_version_min | \
41356 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41357 cppunit_micro_min=`echo $cppunit_version_min | \
41358 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41359
41360 cppunit_version_proper=`expr \
41361 $cppunit_major_version \> $cppunit_major_min \| \
41362 $cppunit_major_version \= $cppunit_major_min \& \
41363 $cppunit_minor_version \> $cppunit_minor_min \| \
41364 $cppunit_major_version \= $cppunit_major_min \& \
41365 $cppunit_minor_version \= $cppunit_minor_min \& \
41366 $cppunit_micro_version \>= $cppunit_micro_min `
41367
41368 if test "$cppunit_version_proper" = "1" ; then
41369 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
41370echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
41371 else
41372 echo "$as_me:$LINENO: result: no" >&5
41373echo "${ECHO_T}no" >&6
41374 no_cppunit=yes
41375 fi
41376 fi
41377
41378 if test "x$no_cppunit" = x ; then
c2218763 41379 SUBDIRS="$SUBDIRS tests"
a848cd7e
SC
41380 else
41381 CPPUNIT_CFLAGS=""
41382 CPPUNIT_LIBS=""
c2218763 41383 :
a848cd7e
SC
41384 fi
41385
41386
41387
41388
41389
41390for subdir in `echo $SUBDIRS`; do
41391 if test -d ${srcdir}/${subdir} ; then
41392 if test "$wxUSE_GUI" = "yes"; then
41393 if test ${subdir} = "samples"; then
41394 makefiles="samples/Makefile.in $makefiles"
41395 for sample in `echo $SAMPLES_SUBDIRS`; do
41396 if test -d $srcdir/samples/$sample; then
41397 makefiles="samples/$sample/Makefile.in $makefiles"
41398 fi
41399 done
41400 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
41401 fi
41402 else if test ${subdir} = "samples"; then
41403 makefiles="samples/Makefile.in samples/console/Makefile.in"
41404 elif test ${subdir} = "utils"; then
6537ccf8
VS
41405 makefiles=""
41406 for util in HelpGen tex2rtf ; do
41407 if test -d $srcdir/utils/$util ; then
41408 makefiles="utils/$util/Makefile.in \
41409 utils/$util/src/Makefile.in \
41410 $makefiles"
41411 fi
41412 done
a848cd7e
SC
41413 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
41414 fi
41415 fi
41416
41417 for mkin in $makefiles ; do
41418 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41419 ac_config_files="$ac_config_files $mk"
41420
41421 done
41422 fi
41423done
41424
41425
41426cat >confcache <<\_ACEOF
41427# This file is a shell script that caches the results of configure
41428# tests run on this system so they can be shared between configure
41429# scripts and configure runs, see configure's option --config-cache.
41430# It is not useful on other systems. If it contains results you don't
41431# want to keep, you may remove or edit it.
41432#
41433# config.status only pays attention to the cache file if you give it
41434# the --recheck option to rerun configure.
41435#
41436# `ac_cv_env_foo' variables (set or unset) will be overridden when
41437# loading this file, other *unset* `ac_cv_foo' will be assigned the
41438# following values.
41439
41440_ACEOF
41441
41442# The following way of writing the cache mishandles newlines in values,
41443# but we know of no workaround that is simple, portable, and efficient.
41444# So, don't put newlines in cache variables' values.
41445# Ultrix sh set writes to stderr and can't be redirected directly,
41446# and sets the high bit in the cache file unless we assign to the vars.
41447{
41448 (set) 2>&1 |
41449 case `(ac_space=' '; set | grep ac_space) 2>&1` in
41450 *ac_space=\ *)
41451 # `set' does not quote correctly, so add quotes (double-quote
41452 # substitution turns \\\\ into \\, and sed turns \\ into \).
41453 sed -n \
ac1cb8d3
VS
41454 "s/'/'\\\\''/g;
41455 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
a848cd7e
SC
41456 ;;
41457 *)
41458 # `set' quotes correctly as required by POSIX, so do not add quotes.
41459 sed -n \
ac1cb8d3 41460 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
a848cd7e
SC
41461 ;;
41462 esac;
41463} |
41464 sed '
41465 t clear
41466 : clear
41467 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41468 t end
41469 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41470 : end' >>confcache
41471if diff $cache_file confcache >/dev/null 2>&1; then :; else
41472 if test -w $cache_file; then
41473 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
41474 cat confcache >$cache_file
41475 else
41476 echo "not updating unwritable cache $cache_file"
41477 fi
41478fi
41479rm -f confcache
41480
41481test "x$prefix" = xNONE && prefix=$ac_default_prefix
41482# Let make expand exec_prefix.
41483test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
41484
41485# VPATH may cause trouble with some makes, so we remove $(srcdir),
41486# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
41487# trailing colons and then remove the whole line if VPATH becomes empty
41488# (actually we leave an empty line to preserve line numbers).
41489if test "x$srcdir" = x.; then
ac1cb8d3 41490 ac_vpsub='/^[ ]*VPATH[ ]*=/{
a848cd7e
SC
41491s/:*\$(srcdir):*/:/;
41492s/:*\${srcdir}:*/:/;
41493s/:*@srcdir@:*/:/;
ac1cb8d3 41494s/^\([^=]*=[ ]*\):*/\1/;
a848cd7e 41495s/:*$//;
ac1cb8d3 41496s/^[^=]*=[ ]*$//;
a848cd7e
SC
41497}'
41498fi
41499
41500DEFS=-DHAVE_CONFIG_H
41501
41502ac_libobjs=
41503ac_ltlibobjs=
41504for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
41505 # 1. Remove the extension, and $U if already installed.
41506 ac_i=`echo "$ac_i" |
ac1cb8d3 41507 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
a848cd7e
SC
41508 # 2. Add them.
41509 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
41510 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
41511done
41512LIBOBJS=$ac_libobjs
41513
41514LTLIBOBJS=$ac_ltlibobjs
41515
41516
41517
41518: ${CONFIG_STATUS=./config.status}
41519ac_clean_files_save=$ac_clean_files
41520ac_clean_files="$ac_clean_files $CONFIG_STATUS"
41521{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
41522echo "$as_me: creating $CONFIG_STATUS" >&6;}
41523cat >$CONFIG_STATUS <<_ACEOF
41524#! $SHELL
41525# Generated by $as_me.
41526# Run this file to recreate the current configuration.
41527# Compiler output produced by configure, useful for debugging
41528# configure, is in config.log if it exists.
41529
41530debug=false
41531ac_cs_recheck=false
41532ac_cs_silent=false
41533SHELL=\${CONFIG_SHELL-$SHELL}
41534_ACEOF
41535
41536cat >>$CONFIG_STATUS <<\_ACEOF
41537## --------------------- ##
41538## M4sh Initialization. ##
41539## --------------------- ##
41540
41541# Be Bourne compatible
41542if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
41543 emulate sh
41544 NULLCMD=:
41545 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
41546 # is contrary to our usage. Disable this feature.
41547 alias -g '${1+"$@"}'='"$@"'
41548elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
41549 set -o posix
41550fi
ac1cb8d3 41551DUALCASE=1; export DUALCASE # for MKS sh
a848cd7e
SC
41552
41553# Support unset when possible.
ac1cb8d3 41554if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
a848cd7e
SC
41555 as_unset=unset
41556else
41557 as_unset=false
41558fi
41559
41560
41561# Work around bugs in pre-3.0 UWIN ksh.
41562$as_unset ENV MAIL MAILPATH
41563PS1='$ '
41564PS2='> '
41565PS4='+ '
41566
41567# NLS nuisances.
41568for as_var in \
41569 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41570 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
41571 LC_TELEPHONE LC_TIME
41572do
ac1cb8d3 41573 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
a848cd7e
SC
41574 eval $as_var=C; export $as_var
41575 else
41576 $as_unset $as_var
41577 fi
41578done
41579
41580# Required to use basename.
41581if expr a : '\(a\)' >/dev/null 2>&1; then
41582 as_expr=expr
41583else
41584 as_expr=false
41585fi
41586
41587if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
41588 as_basename=basename
41589else
41590 as_basename=false
41591fi
41592
41593
41594# Name of the executable.
41595as_me=`$as_basename "$0" ||
41596$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
41597 X"$0" : 'X\(//\)$' \| \
41598 X"$0" : 'X\(/\)$' \| \
41599 . : '\(.\)' 2>/dev/null ||
41600echo X/"$0" |
41601 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
41602 /^X\/\(\/\/\)$/{ s//\1/; q; }
41603 /^X\/\(\/\).*/{ s//\1/; q; }
41604 s/.*/./; q'`
41605
41606
41607# PATH needs CR, and LINENO needs CR and PATH.
41608# Avoid depending upon Character Ranges.
41609as_cr_letters='abcdefghijklmnopqrstuvwxyz'
41610as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
41611as_cr_Letters=$as_cr_letters$as_cr_LETTERS
41612as_cr_digits='0123456789'
41613as_cr_alnum=$as_cr_Letters$as_cr_digits
41614
41615# The user is always right.
41616if test "${PATH_SEPARATOR+set}" != set; then
41617 echo "#! /bin/sh" >conf$$.sh
41618 echo "exit 0" >>conf$$.sh
41619 chmod +x conf$$.sh
41620 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
41621 PATH_SEPARATOR=';'
41622 else
41623 PATH_SEPARATOR=:
41624 fi
41625 rm -f conf$$.sh
41626fi
41627
41628
41629 as_lineno_1=$LINENO
41630 as_lineno_2=$LINENO
41631 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
41632 test "x$as_lineno_1" != "x$as_lineno_2" &&
41633 test "x$as_lineno_3" = "x$as_lineno_2" || {
41634 # Find who we are. Look in the path if we contain no path at all
41635 # relative or not.
41636 case $0 in
41637 *[\\/]* ) as_myself=$0 ;;
41638 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41639for as_dir in $PATH
41640do
41641 IFS=$as_save_IFS
41642 test -z "$as_dir" && as_dir=.
41643 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
41644done
41645
41646 ;;
41647 esac
41648 # We did not find ourselves, most probably we were run as `sh COMMAND'
41649 # in which case we are not to be found in the path.
41650 if test "x$as_myself" = x; then
41651 as_myself=$0
41652 fi
41653 if test ! -f "$as_myself"; then
41654 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
41655echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
41656 { (exit 1); exit 1; }; }
41657 fi
41658 case $CONFIG_SHELL in
41659 '')
41660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41661for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
41662do
41663 IFS=$as_save_IFS
41664 test -z "$as_dir" && as_dir=.
41665 for as_base in sh bash ksh sh5; do
41666 case $as_dir in
41667 /*)
41668 if ("$as_dir/$as_base" -c '
41669 as_lineno_1=$LINENO
41670 as_lineno_2=$LINENO
41671 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
41672 test "x$as_lineno_1" != "x$as_lineno_2" &&
41673 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
41674 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
41675 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
41676 CONFIG_SHELL=$as_dir/$as_base
41677 export CONFIG_SHELL
41678 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
41679 fi;;
41680 esac
41681 done
41682done
41683;;
41684 esac
41685
41686 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
41687 # uniformly replaced by the line number. The first 'sed' inserts a
41688 # line-number line before each line; the second 'sed' does the real
41689 # work. The second script uses 'N' to pair each line-number line
41690 # with the numbered line, and appends trailing '-' during
41691 # substitution so that $LINENO is not a special case at line end.
41692 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
41693 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
41694 sed '=' <$as_myself |
41695 sed '
41696 N
41697 s,$,-,
41698 : loop
41699 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
41700 t loop
41701 s,-$,,
41702 s,^['$as_cr_digits']*\n,,
41703 ' >$as_me.lineno &&
41704 chmod +x $as_me.lineno ||
41705 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
41706echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
41707 { (exit 1); exit 1; }; }
41708
41709 # Don't try to exec as it changes $[0], causing all sort of problems
41710 # (the dirname of $[0] is not the place where we might find the
41711 # original and so on. Autoconf is especially sensible to this).
41712 . ./$as_me.lineno
41713 # Exit status is that of the last command.
41714 exit
41715}
41716
41717
41718case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
41719 *c*,-n*) ECHO_N= ECHO_C='
41720' ECHO_T=' ' ;;
41721 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
41722 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
41723esac
41724
41725if expr a : '\(a\)' >/dev/null 2>&1; then
41726 as_expr=expr
41727else
41728 as_expr=false
41729fi
41730
41731rm -f conf$$ conf$$.exe conf$$.file
41732echo >conf$$.file
41733if ln -s conf$$.file conf$$ 2>/dev/null; then
41734 # We could just check for DJGPP; but this test a) works b) is more generic
41735 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
41736 if test -f conf$$.exe; then
41737 # Don't use ln at all; we don't have any links
41738 as_ln_s='cp -p'
41739 else
41740 as_ln_s='ln -s'
41741 fi
41742elif ln conf$$.file conf$$ 2>/dev/null; then
41743 as_ln_s=ln
41744else
41745 as_ln_s='cp -p'
41746fi
41747rm -f conf$$ conf$$.exe conf$$.file
41748
41749if mkdir -p . 2>/dev/null; then
41750 as_mkdir_p=:
41751else
ac1cb8d3 41752 test -d ./-p && rmdir ./-p
a848cd7e
SC
41753 as_mkdir_p=false
41754fi
41755
41756as_executable_p="test -f"
41757
41758# Sed expression to map a string onto a valid CPP name.
ac1cb8d3 41759as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
a848cd7e
SC
41760
41761# Sed expression to map a string onto a valid variable name.
ac1cb8d3 41762as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
a848cd7e
SC
41763
41764
41765# IFS
41766# We need space, tab and new line, in precisely that order.
41767as_nl='
41768'
41769IFS=" $as_nl"
41770
41771# CDPATH.
41772$as_unset CDPATH
41773
41774exec 6>&1
41775
41776# Open the log real soon, to keep \$[0] and so on meaningful, and to
41777# report actual input values of CONFIG_FILES etc. instead of their
41778# values after options handling. Logging --version etc. is OK.
41779exec 5>>config.log
41780{
41781 echo
41782 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
41783## Running $as_me. ##
41784_ASBOX
41785} >&5
41786cat >&5 <<_CSEOF
41787
7714864e 41788This file was extended by wxWidgets $as_me 2.5.3, which was
ac1cb8d3 41789generated by GNU Autoconf 2.59. Invocation command line was
a848cd7e
SC
41790
41791 CONFIG_FILES = $CONFIG_FILES
41792 CONFIG_HEADERS = $CONFIG_HEADERS
41793 CONFIG_LINKS = $CONFIG_LINKS
41794 CONFIG_COMMANDS = $CONFIG_COMMANDS
41795 $ $0 $@
41796
41797_CSEOF
41798echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
41799echo >&5
41800_ACEOF
41801
41802# Files that config.status was made for.
41803if test -n "$ac_config_files"; then
41804 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
41805fi
41806
41807if test -n "$ac_config_headers"; then
41808 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
41809fi
41810
41811if test -n "$ac_config_links"; then
41812 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
41813fi
41814
41815if test -n "$ac_config_commands"; then
41816 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
41817fi
41818
41819cat >>$CONFIG_STATUS <<\_ACEOF
41820
41821ac_cs_usage="\
41822\`$as_me' instantiates files from templates according to the
41823current configuration.
41824
41825Usage: $0 [OPTIONS] [FILE]...
41826
41827 -h, --help print this help, then exit
41828 -V, --version print version number, then exit
41829 -q, --quiet do not print progress messages
41830 -d, --debug don't remove temporary files
41831 --recheck update $as_me by reconfiguring in the same conditions
41832 --file=FILE[:TEMPLATE]
ac1cb8d3 41833 instantiate the configuration file FILE
a848cd7e 41834 --header=FILE[:TEMPLATE]
ac1cb8d3 41835 instantiate the configuration header FILE
a848cd7e
SC
41836
41837Configuration files:
41838$config_files
41839
41840Configuration headers:
41841$config_headers
41842
41843Configuration commands:
41844$config_commands
41845
41846Report bugs to <bug-autoconf@gnu.org>."
41847_ACEOF
41848
41849cat >>$CONFIG_STATUS <<_ACEOF
41850ac_cs_version="\\
7714864e 41851wxWidgets config.status 2.5.3
ac1cb8d3 41852configured by $0, generated by GNU Autoconf 2.59,
a848cd7e
SC
41853 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
41854
ac1cb8d3 41855Copyright (C) 2003 Free Software Foundation, Inc.
a848cd7e
SC
41856This config.status script is free software; the Free Software Foundation
41857gives unlimited permission to copy, distribute and modify it."
41858srcdir=$srcdir
41859INSTALL="$INSTALL"
41860_ACEOF
41861
41862cat >>$CONFIG_STATUS <<\_ACEOF
41863# If no file are specified by the user, then we need to provide default
41864# value. By we need to know if files were specified by the user.
41865ac_need_defaults=:
41866while test $# != 0
41867do
41868 case $1 in
41869 --*=*)
41870 ac_option=`expr "x$1" : 'x\([^=]*\)='`
41871 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
41872 ac_shift=:
41873 ;;
41874 -*)
41875 ac_option=$1
41876 ac_optarg=$2
41877 ac_shift=shift
41878 ;;
41879 *) # This is not an option, so the user has probably given explicit
41880 # arguments.
41881 ac_option=$1
41882 ac_need_defaults=false;;
41883 esac
41884
41885 case $ac_option in
41886 # Handling of the options.
41887_ACEOF
41888cat >>$CONFIG_STATUS <<\_ACEOF
41889 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
41890 ac_cs_recheck=: ;;
41891 --version | --vers* | -V )
41892 echo "$ac_cs_version"; exit 0 ;;
41893 --he | --h)
41894 # Conflict between --help and --header
41895 { { echo "$as_me:$LINENO: error: ambiguous option: $1
41896Try \`$0 --help' for more information." >&5
41897echo "$as_me: error: ambiguous option: $1
41898Try \`$0 --help' for more information." >&2;}
41899 { (exit 1); exit 1; }; };;
41900 --help | --hel | -h )
41901 echo "$ac_cs_usage"; exit 0 ;;
41902 --debug | --d* | -d )
41903 debug=: ;;
41904 --file | --fil | --fi | --f )
41905 $ac_shift
41906 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
41907 ac_need_defaults=false;;
41908 --header | --heade | --head | --hea )
41909 $ac_shift
41910 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
41911 ac_need_defaults=false;;
41912 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
41913 | -silent | --silent | --silen | --sile | --sil | --si | --s)
41914 ac_cs_silent=: ;;
41915
41916 # This is an error.
41917 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
41918Try \`$0 --help' for more information." >&5
41919echo "$as_me: error: unrecognized option: $1
41920Try \`$0 --help' for more information." >&2;}
41921 { (exit 1); exit 1; }; } ;;
41922
41923 *) ac_config_targets="$ac_config_targets $1" ;;
41924
41925 esac
41926 shift
41927done
41928
41929ac_configure_extra_args=
41930
41931if $ac_cs_silent; then
41932 exec 6>/dev/null
41933 ac_configure_extra_args="$ac_configure_extra_args --silent"
41934fi
41935
41936_ACEOF
41937cat >>$CONFIG_STATUS <<_ACEOF
41938if \$ac_cs_recheck; then
41939 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
41940 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
41941fi
41942
41943_ACEOF
41944
41945cat >>$CONFIG_STATUS <<_ACEOF
41946#
41947# INIT-COMMANDS section.
41948#
41949
ceec2216
RL
41950 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41951 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41952 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41953 LN_S="${LN_S}"
a848cd7e
SC
41954
41955
41956_ACEOF
41957
41958
41959
41960cat >>$CONFIG_STATUS <<\_ACEOF
41961for ac_config_target in $ac_config_targets
41962do
41963 case "$ac_config_target" in
41964 # Handling of arguments.
ceec2216
RL
41965 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
41966 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
a848cd7e
SC
41967 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
41968 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
41969 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
ceec2216
RL
41970 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
41971 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
a848cd7e
SC
41972 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
41973echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
41974 { (exit 1); exit 1; }; };;
41975 esac
41976done
41977
41978# If the user did not use the arguments to specify the items to instantiate,
41979# then the envvar interface is used. Set only those that are not.
41980# We use the long form for the default assignment because of an extremely
41981# bizarre bug on SunOS 4.1.3.
41982if $ac_need_defaults; then
41983 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
41984 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
41985 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
41986fi
41987
41988# Have a temporary directory for convenience. Make it in the build tree
41989# simply because there is no reason to put it here, and in addition,
41990# creating and moving files from /tmp can sometimes cause problems.
41991# Create a temporary directory, and hook for its removal unless debugging.
41992$debug ||
41993{
41994 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
41995 trap '{ (exit 1); exit 1; }' 1 2 13 15
41996}
41997
41998# Create a (secure) tmp directory for tmp files.
41999
42000{
42001 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
42002 test -n "$tmp" && test -d "$tmp"
42003} ||
42004{
42005 tmp=./confstat$$-$RANDOM
42006 (umask 077 && mkdir $tmp)
42007} ||
42008{
42009 echo "$me: cannot create a temporary directory in ." >&2
42010 { (exit 1); exit 1; }
42011}
42012
42013_ACEOF
42014
42015cat >>$CONFIG_STATUS <<_ACEOF
42016
42017#
42018# CONFIG_FILES section.
42019#
42020
42021# No need to generate the scripts if there are no CONFIG_FILES.
42022# This happens for instance when ./config.status config.h
42023if test -n "\$CONFIG_FILES"; then
42024 # Protect against being on the right side of a sed subst in config.status.
42025 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
42026 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
42027s,@SHELL@,$SHELL,;t t
42028s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
42029s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
42030s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
42031s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
42032s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
42033s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
42034s,@exec_prefix@,$exec_prefix,;t t
42035s,@prefix@,$prefix,;t t
42036s,@program_transform_name@,$program_transform_name,;t t
42037s,@bindir@,$bindir,;t t
42038s,@sbindir@,$sbindir,;t t
42039s,@libexecdir@,$libexecdir,;t t
42040s,@datadir@,$datadir,;t t
42041s,@sysconfdir@,$sysconfdir,;t t
42042s,@sharedstatedir@,$sharedstatedir,;t t
42043s,@localstatedir@,$localstatedir,;t t
42044s,@libdir@,$libdir,;t t
42045s,@includedir@,$includedir,;t t
42046s,@oldincludedir@,$oldincludedir,;t t
42047s,@infodir@,$infodir,;t t
42048s,@mandir@,$mandir,;t t
42049s,@build_alias@,$build_alias,;t t
42050s,@host_alias@,$host_alias,;t t
42051s,@target_alias@,$target_alias,;t t
42052s,@DEFS@,$DEFS,;t t
42053s,@ECHO_C@,$ECHO_C,;t t
42054s,@ECHO_N@,$ECHO_N,;t t
42055s,@ECHO_T@,$ECHO_T,;t t
42056s,@LIBS@,$LIBS,;t t
42057s,@build@,$build,;t t
42058s,@build_cpu@,$build_cpu,;t t
42059s,@build_vendor@,$build_vendor,;t t
42060s,@build_os@,$build_os,;t t
42061s,@host@,$host,;t t
42062s,@host_cpu@,$host_cpu,;t t
42063s,@host_vendor@,$host_vendor,;t t
42064s,@host_os@,$host_os,;t t
42065s,@target@,$target,;t t
42066s,@target_cpu@,$target_cpu,;t t
42067s,@target_vendor@,$target_vendor,;t t
42068s,@target_os@,$target_os,;t t
42069s,@CC@,$CC,;t t
42070s,@CFLAGS@,$CFLAGS,;t t
42071s,@LDFLAGS@,$LDFLAGS,;t t
42072s,@CPPFLAGS@,$CPPFLAGS,;t t
42073s,@ac_ct_CC@,$ac_ct_CC,;t t
42074s,@EXEEXT@,$EXEEXT,;t t
42075s,@OBJEXT@,$OBJEXT,;t t
42076s,@CPP@,$CPP,;t t
42077s,@EGREP@,$EGREP,;t t
42078s,@CXX@,$CXX,;t t
42079s,@CXXFLAGS@,$CXXFLAGS,;t t
42080s,@ac_ct_CXX@,$ac_ct_CXX,;t t
42081s,@RANLIB@,$RANLIB,;t t
42082s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
42083s,@AR@,$AR,;t t
42084s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
42085s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
42086s,@INSTALL_DATA@,$INSTALL_DATA,;t t
42087s,@STRIP@,$STRIP,;t t
42088s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
42089s,@LN_S@,$LN_S,;t t
42090s,@CXXCPP@,$CXXCPP,;t t
42091s,@subdirs@,$subdirs,;t t
42092s,@PKG_CONFIG@,$PKG_CONFIG,;t t
42093s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
42094s,@GTK_LIBS@,$GTK_LIBS,;t t
42095s,@GTK_CONFIG@,$GTK_CONFIG,;t t
a848cd7e
SC
42096s,@X_CFLAGS@,$X_CFLAGS,;t t
42097s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
42098s,@X_LIBS@,$X_LIBS,;t t
42099s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
42100s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
42101s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
d1c38808
VZ
42102s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
42103s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
a848cd7e
SC
42104s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
42105s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
42106s,@RESCOMP@,$RESCOMP,;t t
42107s,@DEREZ@,$DEREZ,;t t
42108s,@SETFILE@,$SETFILE,;t t
42109s,@LIBICONV@,$LIBICONV,;t t
42110s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
42111s,@SDL_CONFIG@,$SDL_CONFIG,;t t
42112s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
42113s,@SDL_LIBS@,$SDL_LIBS,;t t
d1c38808
VZ
42114s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
42115s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
a848cd7e
SC
42116s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
42117s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
42118s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
42119s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
42120s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
42121s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
42122s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
42123s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
42124s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
42125s,@VENDOR@,$VENDOR,;t t
42126s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
ceec2216
RL
42127s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
42128s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
a848cd7e
SC
42129s,@WXUNIV@,$WXUNIV,;t t
42130s,@MONOLITHIC@,$MONOLITHIC,;t t
42131s,@USE_PLUGINS@,$USE_PLUGINS,;t t
42132s,@EXTRALIBS@,$EXTRALIBS,;t t
42133s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
42134s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
42135s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
42136s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
42137s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
42138s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
42139s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
d1c38808 42140s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
a848cd7e
SC
42141s,@UNICODE@,$UNICODE,;t t
42142s,@BUILD@,$BUILD,;t t
42143s,@DEBUG_INFO@,$DEBUG_INFO,;t t
42144s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
a848cd7e
SC
42145s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
42146s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
42147s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
42148s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
42149s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
42150s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
42151s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
42152s,@SET_MAKE@,$SET_MAKE,;t t
42153s,@MAKE_SET@,$MAKE_SET,;t t
42154s,@ac_ct_AR@,$ac_ct_AR,;t t
42155s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
42156s,@NM@,$NM,;t t
42157s,@ac_ct_NM@,$ac_ct_NM,;t t
42158s,@INSTALL_DIR@,$INSTALL_DIR,;t t
42159s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
42160s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
42161s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
42162s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
42163s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
42164s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
42165s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
42166s,@SO_SUFFIX@,$SO_SUFFIX,;t t
42167s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
42168s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
42169s,@LIBPREFIX@,$LIBPREFIX,;t t
42170s,@LIBEXT@,$LIBEXT,;t t
42171s,@DLLPREFIX@,$DLLPREFIX,;t t
42172s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
42173s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
42174s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
42175s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
42176s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
42177s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
42178s,@PIC_FLAG@,$PIC_FLAG,;t t
42179s,@USE_SOVERSION@,$USE_SOVERSION,;t t
42180s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
42181s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
42182s,@USE_MACVERSION@,$USE_MACVERSION,;t t
42183s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
42184s,@SONAME_FLAG@,$SONAME_FLAG,;t t
42185s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
42186s,@GCC_PCH@,$GCC_PCH,;t t
42187s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
42188s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
42189s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
42190s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
42191s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
42192s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
42193s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
42194s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
42195s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
42196s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
42197s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
42198s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
42199s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
42200s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
42201s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
42202s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
42203s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
42204s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
42205s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1,;t t
42206s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
42207s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
ceec2216 42208s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
a848cd7e
SC
42209s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
42210s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
42211s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1,;t t
42212s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
42213s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
ceec2216 42214s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
a848cd7e
SC
42215s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
42216s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
42217s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
42218s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
42219s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
42220s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
42221s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
42222s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
a30f955f 42223s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
a848cd7e
SC
42224s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
42225s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
42226s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
ebee3cd0
VS
42227s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
42228s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
a848cd7e
SC
42229s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
42230s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
b48a2016 42231s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
a848cd7e
SC
42232s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
42233s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
42234s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
42235s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
42236s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
42237s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
42238s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
42239s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
42240s,@COND_SHARED_0@,$COND_SHARED_0,;t t
ceec2216
RL
42241s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
42242s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
42243s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
a848cd7e
SC
42244s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
42245s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
42246s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
42247s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
42248s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
42249s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
42250s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
42251s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
42252s,@COND_SHARED_1@,$COND_SHARED_1,;t t
42253s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
a30f955f 42254s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
a848cd7e 42255s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
a49baeab 42256s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
a848cd7e
SC
42257s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
42258s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
42259s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
42260s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
42261s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
42262s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
42263s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
42264s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
42265s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
42266s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
42267s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
42268s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
42269s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
42270s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
42271s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
42272s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
42273s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
42274s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
3fd9c298
DE
42275s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
42276s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
42277s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
a848cd7e
SC
42278s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
42279s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
42280s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
42281s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
42282s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
42283s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
42284s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
42285s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
42286s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
42287s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
42288s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
42289s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
ceec2216 42290s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
ffa0583f 42291s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
a848cd7e
SC
42292s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
42293s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
42294s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
42295s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
42296s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
a13a7f89 42297s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
a848cd7e 42298s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
a848cd7e
SC
42299s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
42300s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
42301s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
42302s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
42303s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
42304s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
42305s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
42306s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
9a8f0513
VS
42307s,@COND_TOOLKIT_MAC_WXUNIV_0@,$COND_TOOLKIT_MAC_WXUNIV_0,;t t
42308s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
42309s,@COND_TOOLKIT_PM_WXUNIV_0@,$COND_TOOLKIT_PM_WXUNIV_0,;t t
ceec2216 42310s,@SHARED@,$SHARED,;t t
a848cd7e
SC
42311s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
42312s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
a848cd7e
SC
42313s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
42314s,@USE_GUI@,$USE_GUI,;t t
42315s,@AFMINSTALL@,$AFMINSTALL,;t t
42316s,@WIN32INSTALL@,$WIN32INSTALL,;t t
42317s,@TOOLKIT@,$TOOLKIT,;t t
42318s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
a848cd7e 42319s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
ceec2216 42320s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
a848cd7e
SC
42321s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
42322s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
a848cd7e 42323s,@cross_compiling@,$cross_compiling,;t t
ceec2216
RL
42324s,@WIDGET_SET@,$WIDGET_SET,;t t
42325s,@WX_RELEASE@,$WX_RELEASE,;t t
42326s,@WX_VERSION@,$WX_VERSION,;t t
42327s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
42328s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
42329s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
a848cd7e 42330s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
a848cd7e
SC
42331s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
42332s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
42333s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
42334s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
74b84332 42335s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
a848cd7e
SC
42336s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
42337s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
ceec2216 42338s,@EXE_LINKER@,$EXE_LINKER,;t t
a848cd7e 42339s,@GUIDIST@,$GUIDIST,;t t
a848cd7e
SC
42340s,@DISTDIR@,$DISTDIR,;t t
42341s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
42342s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
a848cd7e
SC
42343s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
42344s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
42345s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
42346s,@RESFLAGS@,$RESFLAGS,;t t
42347s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
42348s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
42349s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
42350s,@LIBWXMACRES@,$LIBWXMACRES,;t t
42351s,@MACRESCOMP@,$MACRESCOMP,;t t
42352s,@MACSETFILE@,$MACSETFILE,;t t
42353s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
42354s,@GCC@,$GCC,;t t
a848cd7e 42355s,@DLLTOOL@,$DLLTOOL,;t t
a848cd7e
SC
42356s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
42357s,@LIBOBJS@,$LIBOBJS,;t t
42358s,@LTLIBOBJS@,$LTLIBOBJS,;t t
42359CEOF
42360
42361_ACEOF
42362
42363 cat >>$CONFIG_STATUS <<\_ACEOF
42364 # Split the substitutions into bite-sized pieces for seds with
42365 # small command number limits, like on Digital OSF/1 and HP-UX.
42366 ac_max_sed_lines=48
42367 ac_sed_frag=1 # Number of current file.
42368 ac_beg=1 # First line for current file.
42369 ac_end=$ac_max_sed_lines # Line after last line for current file.
42370 ac_more_lines=:
42371 ac_sed_cmds=
42372 while $ac_more_lines; do
42373 if test $ac_beg -gt 1; then
42374 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
42375 else
42376 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
42377 fi
42378 if test ! -s $tmp/subs.frag; then
42379 ac_more_lines=false
42380 else
42381 # The purpose of the label and of the branching condition is to
42382 # speed up the sed processing (if there are no `@' at all, there
42383 # is no need to browse any of the substitutions).
42384 # These are the two extra sed commands mentioned above.
42385 (echo ':t
42386 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
42387 if test -z "$ac_sed_cmds"; then
ac1cb8d3 42388 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
a848cd7e 42389 else
ac1cb8d3 42390 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
a848cd7e
SC
42391 fi
42392 ac_sed_frag=`expr $ac_sed_frag + 1`
42393 ac_beg=$ac_end
42394 ac_end=`expr $ac_end + $ac_max_sed_lines`
42395 fi
42396 done
42397 if test -z "$ac_sed_cmds"; then
42398 ac_sed_cmds=cat
42399 fi
42400fi # test -n "$CONFIG_FILES"
42401
42402_ACEOF
42403cat >>$CONFIG_STATUS <<\_ACEOF
42404for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
42405 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
42406 case $ac_file in
42407 - | *:- | *:-:* ) # input from stdin
ac1cb8d3
VS
42408 cat >$tmp/stdin
42409 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
42410 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
a848cd7e 42411 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
ac1cb8d3 42412 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
a848cd7e
SC
42413 * ) ac_file_in=$ac_file.in ;;
42414 esac
42415
42416 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
42417 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
42418$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
ac1cb8d3
VS
42419 X"$ac_file" : 'X\(//\)[^/]' \| \
42420 X"$ac_file" : 'X\(//\)$' \| \
42421 X"$ac_file" : 'X\(/\)' \| \
42422 . : '\(.\)' 2>/dev/null ||
a848cd7e
SC
42423echo X"$ac_file" |
42424 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42425 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42426 /^X\(\/\/\)$/{ s//\1/; q; }
42427 /^X\(\/\).*/{ s//\1/; q; }
42428 s/.*/./; q'`
42429 { if $as_mkdir_p; then
42430 mkdir -p "$ac_dir"
42431 else
42432 as_dir="$ac_dir"
42433 as_dirs=
42434 while test ! -d "$as_dir"; do
42435 as_dirs="$as_dir $as_dirs"
42436 as_dir=`(dirname "$as_dir") 2>/dev/null ||
42437$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
ac1cb8d3
VS
42438 X"$as_dir" : 'X\(//\)[^/]' \| \
42439 X"$as_dir" : 'X\(//\)$' \| \
42440 X"$as_dir" : 'X\(/\)' \| \
42441 . : '\(.\)' 2>/dev/null ||
a848cd7e
SC
42442echo X"$as_dir" |
42443 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42444 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42445 /^X\(\/\/\)$/{ s//\1/; q; }
42446 /^X\(\/\).*/{ s//\1/; q; }
42447 s/.*/./; q'`
42448 done
42449 test ! -n "$as_dirs" || mkdir $as_dirs
42450 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42451echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42452 { (exit 1); exit 1; }; }; }
42453
42454 ac_builddir=.
42455
42456if test "$ac_dir" != .; then
42457 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42458 # A "../" for each directory in $ac_dir_suffix.
42459 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42460else
42461 ac_dir_suffix= ac_top_builddir=
42462fi
42463
42464case $srcdir in
42465 .) # No --srcdir option. We are building in place.
42466 ac_srcdir=.
42467 if test -z "$ac_top_builddir"; then
42468 ac_top_srcdir=.
42469 else
42470 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
42471 fi ;;
42472 [\\/]* | ?:[\\/]* ) # Absolute path.
42473 ac_srcdir=$srcdir$ac_dir_suffix;
42474 ac_top_srcdir=$srcdir ;;
42475 *) # Relative path.
42476 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
42477 ac_top_srcdir=$ac_top_builddir$srcdir ;;
42478esac
ac1cb8d3
VS
42479
42480# Do not use `cd foo && pwd` to compute absolute paths, because
42481# the directories may not exist.
42482case `pwd` in
42483.) ac_abs_builddir="$ac_dir";;
42484*)
42485 case "$ac_dir" in
42486 .) ac_abs_builddir=`pwd`;;
42487 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
42488 *) ac_abs_builddir=`pwd`/"$ac_dir";;
42489 esac;;
42490esac
42491case $ac_abs_builddir in
42492.) ac_abs_top_builddir=${ac_top_builddir}.;;
42493*)
42494 case ${ac_top_builddir}. in
42495 .) ac_abs_top_builddir=$ac_abs_builddir;;
42496 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
42497 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
42498 esac;;
42499esac
42500case $ac_abs_builddir in
42501.) ac_abs_srcdir=$ac_srcdir;;
42502*)
42503 case $ac_srcdir in
42504 .) ac_abs_srcdir=$ac_abs_builddir;;
42505 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
42506 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
42507 esac;;
42508esac
42509case $ac_abs_builddir in
42510.) ac_abs_top_srcdir=$ac_top_srcdir;;
42511*)
42512 case $ac_top_srcdir in
42513 .) ac_abs_top_srcdir=$ac_abs_builddir;;
42514 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
42515 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
42516 esac;;
42517esac
a848cd7e
SC
42518
42519
42520 case $INSTALL in
42521 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
42522 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
42523 esac
42524
a848cd7e
SC
42525 # Let's still pretend it is `configure' which instantiates (i.e., don't
42526 # use $as_me), people would be surprised to read:
42527 # /* config.h. Generated by config.status. */
42528 if test x"$ac_file" = x-; then
42529 configure_input=
42530 else
42531 configure_input="$ac_file. "
42532 fi
42533 configure_input=$configure_input"Generated from `echo $ac_file_in |
ac1cb8d3 42534 sed 's,.*/,,'` by configure."
a848cd7e
SC
42535
42536 # First look for the input files in the build tree, otherwise in the
42537 # src tree.
42538 ac_file_inputs=`IFS=:
42539 for f in $ac_file_in; do
42540 case $f in
42541 -) echo $tmp/stdin ;;
42542 [\\/$]*)
ac1cb8d3
VS
42543 # Absolute (can't be DOS-style, as IFS=:)
42544 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
a848cd7e
SC
42545echo "$as_me: error: cannot find input file: $f" >&2;}
42546 { (exit 1); exit 1; }; }
ac1cb8d3 42547 echo "$f";;
a848cd7e 42548 *) # Relative
ac1cb8d3
VS
42549 if test -f "$f"; then
42550 # Build tree
42551 echo "$f"
42552 elif test -f "$srcdir/$f"; then
42553 # Source tree
42554 echo "$srcdir/$f"
42555 else
42556 # /dev/null tree
42557 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
a848cd7e
SC
42558echo "$as_me: error: cannot find input file: $f" >&2;}
42559 { (exit 1); exit 1; }; }
ac1cb8d3 42560 fi;;
a848cd7e
SC
42561 esac
42562 done` || { (exit 1); exit 1; }
d1c38808
VZ
42563
42564 if test x"$ac_file" != x-; then
42565 { echo "$as_me:$LINENO: creating $ac_file" >&5
42566echo "$as_me: creating $ac_file" >&6;}
42567 rm -f "$ac_file"
42568 fi
a848cd7e
SC
42569_ACEOF
42570cat >>$CONFIG_STATUS <<_ACEOF
42571 sed "$ac_vpsub
42572$extrasub
42573_ACEOF
42574cat >>$CONFIG_STATUS <<\_ACEOF
42575:t
42576/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
42577s,@configure_input@,$configure_input,;t t
42578s,@srcdir@,$ac_srcdir,;t t
42579s,@abs_srcdir@,$ac_abs_srcdir,;t t
42580s,@top_srcdir@,$ac_top_srcdir,;t t
42581s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
42582s,@builddir@,$ac_builddir,;t t
42583s,@abs_builddir@,$ac_abs_builddir,;t t
42584s,@top_builddir@,$ac_top_builddir,;t t
42585s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
42586s,@INSTALL@,$ac_INSTALL,;t t
42587" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
42588 rm -f $tmp/stdin
42589 if test x"$ac_file" != x-; then
42590 mv $tmp/out $ac_file
42591 else
42592 cat $tmp/out
42593 rm -f $tmp/out
42594 fi
42595
ceec2216
RL
42596 # Run the commands associated with the file.
42597 case $ac_file in
42598 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
42599 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
42600 esac
a848cd7e
SC
42601done
42602_ACEOF
42603cat >>$CONFIG_STATUS <<\_ACEOF
42604
42605#
42606# CONFIG_HEADER section.
42607#
42608
42609# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
42610# NAME is the cpp macro being defined and VALUE is the value it is being given.
42611#
42612# ac_d sets the value in "#define NAME VALUE" lines.
ac1cb8d3
VS
42613ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
42614ac_dB='[ ].*$,\1#\2'
a848cd7e
SC
42615ac_dC=' '
42616ac_dD=',;t'
42617# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
ac1cb8d3 42618ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
a848cd7e
SC
42619ac_uB='$,\1#\2define\3'
42620ac_uC=' '
42621ac_uD=',;t'
42622
42623for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
42624 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
42625 case $ac_file in
42626 - | *:- | *:-:* ) # input from stdin
ac1cb8d3
VS
42627 cat >$tmp/stdin
42628 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
42629 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
a848cd7e 42630 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
ac1cb8d3 42631 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
a848cd7e
SC
42632 * ) ac_file_in=$ac_file.in ;;
42633 esac
42634
42635 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
42636echo "$as_me: creating $ac_file" >&6;}
42637
42638 # First look for the input files in the build tree, otherwise in the
42639 # src tree.
42640 ac_file_inputs=`IFS=:
42641 for f in $ac_file_in; do
42642 case $f in
42643 -) echo $tmp/stdin ;;
42644 [\\/$]*)
ac1cb8d3
VS
42645 # Absolute (can't be DOS-style, as IFS=:)
42646 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
a848cd7e
SC
42647echo "$as_me: error: cannot find input file: $f" >&2;}
42648 { (exit 1); exit 1; }; }
ac1cb8d3
VS
42649 # Do quote $f, to prevent DOS paths from being IFS'd.
42650 echo "$f";;
a848cd7e 42651 *) # Relative
ac1cb8d3
VS
42652 if test -f "$f"; then
42653 # Build tree
42654 echo "$f"
42655 elif test -f "$srcdir/$f"; then
42656 # Source tree
42657 echo "$srcdir/$f"
42658 else
42659 # /dev/null tree
42660 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
a848cd7e
SC
42661echo "$as_me: error: cannot find input file: $f" >&2;}
42662 { (exit 1); exit 1; }; }
ac1cb8d3 42663 fi;;
a848cd7e
SC
42664 esac
42665 done` || { (exit 1); exit 1; }
42666 # Remove the trailing spaces.
ac1cb8d3 42667 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
a848cd7e
SC
42668
42669_ACEOF
42670
42671# Transform confdefs.h into two sed scripts, `conftest.defines' and
42672# `conftest.undefs', that substitutes the proper values into
42673# config.h.in to produce config.h. The first handles `#define'
42674# templates, and the second `#undef' templates.
42675# And first: Protect against being on the right side of a sed subst in
42676# config.status. Protect against being in an unquoted here document
42677# in config.status.
42678rm -f conftest.defines conftest.undefs
42679# Using a here document instead of a string reduces the quoting nightmare.
42680# Putting comments in sed scripts is not portable.
42681#
42682# `end' is used to avoid that the second main sed command (meant for
42683# 0-ary CPP macros) applies to n-ary macro definitions.
42684# See the Autoconf documentation for `clear'.
42685cat >confdef2sed.sed <<\_ACEOF
42686s/[\\&,]/\\&/g
42687s,[\\$`],\\&,g
42688t clear
42689: clear
ac1cb8d3 42690s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
a848cd7e 42691t end
ac1cb8d3 42692s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
a848cd7e
SC
42693: end
42694_ACEOF
42695# If some macros were called several times there might be several times
42696# the same #defines, which is useless. Nevertheless, we may not want to
42697# sort them, since we want the *last* AC-DEFINE to be honored.
42698uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
42699sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
42700rm -f confdef2sed.sed
42701
42702# This sed command replaces #undef with comments. This is necessary, for
42703# example, in the case of _POSIX_SOURCE, which is predefined and required
42704# on some systems where configure will not decide to define it.
42705cat >>conftest.undefs <<\_ACEOF
ac1cb8d3 42706s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
a848cd7e
SC
42707_ACEOF
42708
42709# Break up conftest.defines because some shells have a limit on the size
42710# of here documents, and old seds have small limits too (100 cmds).
42711echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
ac1cb8d3 42712echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
a848cd7e
SC
42713echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
42714echo ' :' >>$CONFIG_STATUS
42715rm -f conftest.tail
42716while grep . conftest.defines >/dev/null
42717do
42718 # Write a limited-size here document to $tmp/defines.sed.
42719 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
42720 # Speed up: don't consider the non `#define' lines.
ac1cb8d3 42721 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
a848cd7e
SC
42722 # Work around the forget-to-reset-the-flag bug.
42723 echo 't clr' >>$CONFIG_STATUS
42724 echo ': clr' >>$CONFIG_STATUS
42725 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
42726 echo 'CEOF
42727 sed -f $tmp/defines.sed $tmp/in >$tmp/out
42728 rm -f $tmp/in
42729 mv $tmp/out $tmp/in
42730' >>$CONFIG_STATUS
42731 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
42732 rm -f conftest.defines
42733 mv conftest.tail conftest.defines
42734done
42735rm -f conftest.defines
42736echo ' fi # grep' >>$CONFIG_STATUS
42737echo >>$CONFIG_STATUS
42738
42739# Break up conftest.undefs because some shells have a limit on the size
42740# of here documents, and old seds have small limits too (100 cmds).
42741echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
42742rm -f conftest.tail
42743while grep . conftest.undefs >/dev/null
42744do
42745 # Write a limited-size here document to $tmp/undefs.sed.
42746 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
42747 # Speed up: don't consider the non `#undef'
ac1cb8d3 42748 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
a848cd7e
SC
42749 # Work around the forget-to-reset-the-flag bug.
42750 echo 't clr' >>$CONFIG_STATUS
42751 echo ': clr' >>$CONFIG_STATUS
42752 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
42753 echo 'CEOF
42754 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
42755 rm -f $tmp/in
42756 mv $tmp/out $tmp/in
42757' >>$CONFIG_STATUS
42758 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
42759 rm -f conftest.undefs
42760 mv conftest.tail conftest.undefs
42761done
42762rm -f conftest.undefs
42763
42764cat >>$CONFIG_STATUS <<\_ACEOF
42765 # Let's still pretend it is `configure' which instantiates (i.e., don't
42766 # use $as_me), people would be surprised to read:
42767 # /* config.h. Generated by config.status. */
42768 if test x"$ac_file" = x-; then
42769 echo "/* Generated by configure. */" >$tmp/config.h
42770 else
42771 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
42772 fi
42773 cat $tmp/in >>$tmp/config.h
42774 rm -f $tmp/in
42775 if test x"$ac_file" != x-; then
42776 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
42777 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
42778echo "$as_me: $ac_file is unchanged" >&6;}
42779 else
42780 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
42781$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
ac1cb8d3
VS
42782 X"$ac_file" : 'X\(//\)[^/]' \| \
42783 X"$ac_file" : 'X\(//\)$' \| \
42784 X"$ac_file" : 'X\(/\)' \| \
42785 . : '\(.\)' 2>/dev/null ||
a848cd7e
SC
42786echo X"$ac_file" |
42787 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42788 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42789 /^X\(\/\/\)$/{ s//\1/; q; }
42790 /^X\(\/\).*/{ s//\1/; q; }
42791 s/.*/./; q'`
42792 { if $as_mkdir_p; then
42793 mkdir -p "$ac_dir"
42794 else
42795 as_dir="$ac_dir"
42796 as_dirs=
42797 while test ! -d "$as_dir"; do
42798 as_dirs="$as_dir $as_dirs"
42799 as_dir=`(dirname "$as_dir") 2>/dev/null ||
42800$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
ac1cb8d3
VS
42801 X"$as_dir" : 'X\(//\)[^/]' \| \
42802 X"$as_dir" : 'X\(//\)$' \| \
42803 X"$as_dir" : 'X\(/\)' \| \
42804 . : '\(.\)' 2>/dev/null ||
a848cd7e
SC
42805echo X"$as_dir" |
42806 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42807 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42808 /^X\(\/\/\)$/{ s//\1/; q; }
42809 /^X\(\/\).*/{ s//\1/; q; }
42810 s/.*/./; q'`
42811 done
42812 test ! -n "$as_dirs" || mkdir $as_dirs
42813 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42814echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42815 { (exit 1); exit 1; }; }; }
42816
42817 rm -f $ac_file
42818 mv $tmp/config.h $ac_file
42819 fi
42820 else
42821 cat $tmp/config.h
42822 rm -f $tmp/config.h
42823 fi
42824done
42825_ACEOF
42826cat >>$CONFIG_STATUS <<\_ACEOF
42827
42828#
42829# CONFIG_COMMANDS section.
42830#
42831for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
42832 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
42833 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
42834 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
42835$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
ac1cb8d3
VS
42836 X"$ac_dest" : 'X\(//\)[^/]' \| \
42837 X"$ac_dest" : 'X\(//\)$' \| \
42838 X"$ac_dest" : 'X\(/\)' \| \
42839 . : '\(.\)' 2>/dev/null ||
a848cd7e
SC
42840echo X"$ac_dest" |
42841 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42842 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42843 /^X\(\/\/\)$/{ s//\1/; q; }
42844 /^X\(\/\).*/{ s//\1/; q; }
42845 s/.*/./; q'`
ac1cb8d3
VS
42846 { if $as_mkdir_p; then
42847 mkdir -p "$ac_dir"
42848 else
42849 as_dir="$ac_dir"
42850 as_dirs=
42851 while test ! -d "$as_dir"; do
42852 as_dirs="$as_dir $as_dirs"
42853 as_dir=`(dirname "$as_dir") 2>/dev/null ||
42854$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42855 X"$as_dir" : 'X\(//\)[^/]' \| \
42856 X"$as_dir" : 'X\(//\)$' \| \
42857 X"$as_dir" : 'X\(/\)' \| \
42858 . : '\(.\)' 2>/dev/null ||
42859echo X"$as_dir" |
42860 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42861 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42862 /^X\(\/\/\)$/{ s//\1/; q; }
42863 /^X\(\/\).*/{ s//\1/; q; }
42864 s/.*/./; q'`
42865 done
42866 test ! -n "$as_dirs" || mkdir $as_dirs
42867 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42868echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42869 { (exit 1); exit 1; }; }; }
42870
a848cd7e
SC
42871 ac_builddir=.
42872
42873if test "$ac_dir" != .; then
42874 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42875 # A "../" for each directory in $ac_dir_suffix.
42876 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42877else
42878 ac_dir_suffix= ac_top_builddir=
42879fi
42880
42881case $srcdir in
42882 .) # No --srcdir option. We are building in place.
42883 ac_srcdir=.
42884 if test -z "$ac_top_builddir"; then
42885 ac_top_srcdir=.
42886 else
42887 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
42888 fi ;;
42889 [\\/]* | ?:[\\/]* ) # Absolute path.
42890 ac_srcdir=$srcdir$ac_dir_suffix;
42891 ac_top_srcdir=$srcdir ;;
42892 *) # Relative path.
42893 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
42894 ac_top_srcdir=$ac_top_builddir$srcdir ;;
42895esac
ac1cb8d3
VS
42896
42897# Do not use `cd foo && pwd` to compute absolute paths, because
42898# the directories may not exist.
42899case `pwd` in
42900.) ac_abs_builddir="$ac_dir";;
42901*)
42902 case "$ac_dir" in
42903 .) ac_abs_builddir=`pwd`;;
42904 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
42905 *) ac_abs_builddir=`pwd`/"$ac_dir";;
42906 esac;;
42907esac
42908case $ac_abs_builddir in
42909.) ac_abs_top_builddir=${ac_top_builddir}.;;
42910*)
42911 case ${ac_top_builddir}. in
42912 .) ac_abs_top_builddir=$ac_abs_builddir;;
42913 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
42914 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
42915 esac;;
42916esac
42917case $ac_abs_builddir in
42918.) ac_abs_srcdir=$ac_srcdir;;
42919*)
42920 case $ac_srcdir in
42921 .) ac_abs_srcdir=$ac_abs_builddir;;
42922 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
42923 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
42924 esac;;
42925esac
42926case $ac_abs_builddir in
42927.) ac_abs_top_srcdir=$ac_top_srcdir;;
42928*)
42929 case $ac_top_srcdir in
42930 .) ac_abs_top_srcdir=$ac_abs_builddir;;
42931 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
42932 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
42933 esac;;
42934esac
a848cd7e
SC
42935
42936
42937 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
42938echo "$as_me: executing $ac_dest commands" >&6;}
42939 case $ac_dest in
ceec2216
RL
42940 wx-config ) rm -f wx-config
42941 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
42942 ;;
a848cd7e
SC
42943 esac
42944done
42945_ACEOF
42946
42947cat >>$CONFIG_STATUS <<\_ACEOF
42948
42949{ (exit 0); exit 0; }
42950_ACEOF
42951chmod +x $CONFIG_STATUS
42952ac_clean_files=$ac_clean_files_save
42953
42954
42955# configure is writing to config.log, and then calls config.status.
42956# config.status does its own redirection, appending to config.log.
42957# Unfortunately, on DOS this fails, as config.log is still kept open
42958# by configure, so config.status won't be able to write to it; its
42959# output is simply discarded. So we exec the FD to /dev/null,
42960# effectively closing config.log, so it can be properly (re)opened and
42961# appended to by config.status. When coming back to configure, we
42962# need to make the FD available again.
42963if test "$no_create" != yes; then
42964 ac_cs_success=:
42965 ac_config_status_args=
42966 test "$silent" = yes &&
42967 ac_config_status_args="$ac_config_status_args --quiet"
42968 exec 5>/dev/null
42969 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
42970 exec 5>>config.log
42971 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
42972 # would make configure fail if this is the last instruction.
42973 $ac_cs_success || { (exit 1); exit 1; }
42974fi
42975
42976#
42977# CONFIG_SUBDIRS section.
42978#
42979if test "$no_recursion" != yes; then
42980
42981 # Remove --cache-file and --srcdir arguments so they do not pile up.
42982 ac_sub_configure_args=
42983 ac_prev=
42984 for ac_arg in $ac_configure_args; do
42985 if test -n "$ac_prev"; then
42986 ac_prev=
42987 continue
42988 fi
42989 case $ac_arg in
42990 -cache-file | --cache-file | --cache-fil | --cache-fi \
42991 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
42992 ac_prev=cache_file ;;
42993 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
42994 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
42995 | --c=*)
42996 ;;
42997 --config-cache | -C)
42998 ;;
42999 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
43000 ac_prev=srcdir ;;
43001 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
43002 ;;
43003 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
43004 ac_prev=prefix ;;
43005 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
43006 ;;
43007 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
43008 esac
43009 done
43010
43011 # Always prepend --prefix to ensure using the same prefix
43012 # in subdir configurations.
43013 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
43014
43015 ac_popdir=`pwd`
43016 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
43017
43018 # Do not complain, so a configure script can configure whichever
43019 # parts of a large source tree are present.
43020 test -d $srcdir/$ac_dir || continue
43021
43022 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
43023echo "$as_me: configuring in $ac_dir" >&6;}
43024 { if $as_mkdir_p; then
43025 mkdir -p "$ac_dir"
43026 else
43027 as_dir="$ac_dir"
43028 as_dirs=
43029 while test ! -d "$as_dir"; do
43030 as_dirs="$as_dir $as_dirs"
43031 as_dir=`(dirname "$as_dir") 2>/dev/null ||
43032$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
ac1cb8d3
VS
43033 X"$as_dir" : 'X\(//\)[^/]' \| \
43034 X"$as_dir" : 'X\(//\)$' \| \
43035 X"$as_dir" : 'X\(/\)' \| \
43036 . : '\(.\)' 2>/dev/null ||
a848cd7e
SC
43037echo X"$as_dir" |
43038 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43039 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43040 /^X\(\/\/\)$/{ s//\1/; q; }
43041 /^X\(\/\).*/{ s//\1/; q; }
43042 s/.*/./; q'`
43043 done
43044 test ! -n "$as_dirs" || mkdir $as_dirs
43045 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43046echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43047 { (exit 1); exit 1; }; }; }
43048
43049 ac_builddir=.
43050
43051if test "$ac_dir" != .; then
43052 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43053 # A "../" for each directory in $ac_dir_suffix.
43054 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43055else
43056 ac_dir_suffix= ac_top_builddir=
43057fi
43058
43059case $srcdir in
43060 .) # No --srcdir option. We are building in place.
43061 ac_srcdir=.
43062 if test -z "$ac_top_builddir"; then
43063 ac_top_srcdir=.
43064 else
43065 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
43066 fi ;;
43067 [\\/]* | ?:[\\/]* ) # Absolute path.
43068 ac_srcdir=$srcdir$ac_dir_suffix;
43069 ac_top_srcdir=$srcdir ;;
43070 *) # Relative path.
43071 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
43072 ac_top_srcdir=$ac_top_builddir$srcdir ;;
43073esac
ac1cb8d3
VS
43074
43075# Do not use `cd foo && pwd` to compute absolute paths, because
43076# the directories may not exist.
43077case `pwd` in
43078.) ac_abs_builddir="$ac_dir";;
43079*)
43080 case "$ac_dir" in
43081 .) ac_abs_builddir=`pwd`;;
43082 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
43083 *) ac_abs_builddir=`pwd`/"$ac_dir";;
43084 esac;;
43085esac
43086case $ac_abs_builddir in
43087.) ac_abs_top_builddir=${ac_top_builddir}.;;
43088*)
43089 case ${ac_top_builddir}. in
43090 .) ac_abs_top_builddir=$ac_abs_builddir;;
43091 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
43092 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
43093 esac;;
43094esac
43095case $ac_abs_builddir in
43096.) ac_abs_srcdir=$ac_srcdir;;
43097*)
43098 case $ac_srcdir in
43099 .) ac_abs_srcdir=$ac_abs_builddir;;
43100 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
43101 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
43102 esac;;
43103esac
43104case $ac_abs_builddir in
43105.) ac_abs_top_srcdir=$ac_top_srcdir;;
43106*)
43107 case $ac_top_srcdir in
43108 .) ac_abs_top_srcdir=$ac_abs_builddir;;
43109 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
43110 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
43111 esac;;
43112esac
a848cd7e
SC
43113
43114
43115 cd $ac_dir
43116
43117 # Check for guested configure; otherwise get Cygnus style configure.
43118 if test -f $ac_srcdir/configure.gnu; then
43119 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
43120 elif test -f $ac_srcdir/configure; then
43121 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
43122 elif test -f $ac_srcdir/configure.in; then
43123 ac_sub_configure=$ac_configure
43124 else
43125 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
43126echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
43127 ac_sub_configure=
43128 fi
43129
43130 # The recursion is here.
43131 if test -n "$ac_sub_configure"; then
43132 # Make the cache file name correct relative to the subdirectory.
43133 case $cache_file in
43134 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
43135 *) # Relative path.
ac1cb8d3 43136 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
a848cd7e
SC
43137 esac
43138
43139 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
43140echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
43141 # The eval makes quoting arguments work.
43142 eval $ac_sub_configure $ac_sub_configure_args \
ac1cb8d3
VS
43143 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
43144 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
a848cd7e
SC
43145echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
43146 { (exit 1); exit 1; }; }
43147 fi
43148
d1c38808 43149 cd "$ac_popdir"
a848cd7e
SC
43150 done
43151fi
43152
43153
43154echo
77ffb593 43155echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
a848cd7e 43156echo ""
4d4ff94c 43157echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
77ffb593 43158echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
a848cd7e 43159
77ffb593
JS
43160echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
43161echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
43162echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
a848cd7e 43163
77ffb593
JS
43164echo " What level of wxWidgets compatibility should be enabled?"
43165echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
43166echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
a848cd7e 43167
77ffb593 43168echo " Which libraries should wxWidgets use?"
a848cd7e
SC
43169echo " jpeg ${wxUSE_LIBJPEG-none}"
43170echo " png ${wxUSE_LIBPNG-none}"
43171echo " regex ${wxUSE_REGEX}"
43172echo " tiff ${wxUSE_LIBTIFF-none}"
43173if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
43174echo " xpm ${wxUSE_LIBXPM-none}"
43175fi
43176echo " zlib ${wxUSE_ZLIB}"
43177echo " odbc ${wxUSE_ODBC}"
43178echo " expat ${wxUSE_EXPAT}"
43179echo " libmspack ${wxUSE_LIBMSPACK}"
43180echo " sdl ${wxUSE_LIBSDL}"
d1c38808 43181echo " gnomeprint ${wxUSE_LIBGNOMEPRINT}"
a848cd7e
SC
43182
43183echo ""
43184