]> git.saurik.com Git - wxWidgets.git/blob - configure
added wxIsSameDouble() which wraps double comparison in a pragmas disabling icc warni...
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for wxWidgets 2.6.2.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 2003 Free Software Foundation, Inc.
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
16 if 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+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23 set -o posix
24 fi
25 DUALCASE=1; export DUALCASE # for MKS sh
26
27 # Support unset when possible.
28 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29 as_unset=unset
30 else
31 as_unset=false
32 fi
33
34
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
37 PS1='$ '
38 PS2='> '
39 PS4='+ '
40
41 # NLS nuisances.
42 for 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
46 do
47 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C; export $as_var
49 else
50 $as_unset $as_var
51 fi
52 done
53
54 # Required to use basename.
55 if expr a : '\(a\)' >/dev/null 2>&1; then
56 as_expr=expr
57 else
58 as_expr=false
59 fi
60
61 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
62 as_basename=basename
63 else
64 as_basename=false
65 fi
66
67
68 # Name of the executable.
69 as_me=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
74 echo 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.
83 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits='0123456789'
87 as_cr_alnum=$as_cr_Letters$as_cr_digits
88
89 # The user is always right.
90 if 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
100 fi
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
113 for as_dir in $PATH
114 do
115 IFS=$as_save_IFS
116 test -z "$as_dir" && as_dir=.
117 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
118 done
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
134 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
135 do
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
155 done
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
190 case `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= ;;
195 esac
196
197 if expr a : '\(a\)' >/dev/null 2>&1; then
198 as_expr=expr
199 else
200 as_expr=false
201 fi
202
203 rm -f conf$$ conf$$.exe conf$$.file
204 echo >conf$$.file
205 if 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
214 elif ln conf$$.file conf$$ 2>/dev/null; then
215 as_ln_s=ln
216 else
217 as_ln_s='cp -p'
218 fi
219 rm -f conf$$ conf$$.exe conf$$.file
220
221 if mkdir -p . 2>/dev/null; then
222 as_mkdir_p=:
223 else
224 test -d ./-p && rmdir ./-p
225 as_mkdir_p=false
226 fi
227
228 as_executable_p="test -f"
229
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235
236
237 # IFS
238 # We need space, tab and new line, in precisely that order.
239 as_nl='
240 '
241 IFS=" $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.
250 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
251
252 exec 6>&1
253
254 #
255 # Initializations.
256 #
257 ac_default_prefix=/usr/local
258 ac_config_libobj_dir=.
259 cross_compiling=no
260 subdirs=
261 MFLAGS=
262 MAKEFLAGS=
263 SHELL=${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.
271 PACKAGE_NAME='wxWidgets'
272 PACKAGE_TARNAME='wxwidgets'
273 PACKAGE_VERSION='2.6.2'
274 PACKAGE_STRING='wxWidgets 2.6.2'
275 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
276
277 ac_unique_file="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_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
315 ac_subdirs_all="$ac_subdirs_all src/expat"
316 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR ac_ct_AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP ac_ct_STRIP RESCOMP ac_ct_RESCOMP DLLTOOL ac_ct_DLLTOOL 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 DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GSTREAMER_CFLAGS GSTREAMER_LIBS GST_INSPECT 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 NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE dlldir AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG WINDOWS_IMPLIB USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_SOVERCYGWIN 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_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_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_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_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_SOVERCYGWIN_0_USE_SOVERSION_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_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 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_MSDOS_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_USE_XRC_1 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_SHARED_1_USE_XRC_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_RTTI_0 COND_USE_RTTI_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_THREADS_0 COND_USE_THREADS_1 COND_USE_XRC_1 COND_WINDOWS_IMPLIB_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_0 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 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 CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
317 ac_subst_files=''
318
319 # Initialize some variables set by options.
320 ac_init_help=
321 ac_init_version=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
324 cache_file=/dev/null
325 exec_prefix=NONE
326 no_create=
327 no_recursion=
328 prefix=NONE
329 program_prefix=NONE
330 program_suffix=NONE
331 program_transform_name=s,x,x,
332 silent=
333 site=
334 srcdir=
335 verbose=
336 x_includes=NONE
337 x_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.
344 bindir='${exec_prefix}/bin'
345 sbindir='${exec_prefix}/sbin'
346 libexecdir='${exec_prefix}/libexec'
347 datadir='${prefix}/share'
348 sysconfdir='${prefix}/etc'
349 sharedstatedir='${prefix}/com'
350 localstatedir='${prefix}/var'
351 libdir='${exec_prefix}/lib'
352 includedir='${prefix}/include'
353 oldincludedir='/usr/include'
354 infodir='${prefix}/info'
355 mandir='${prefix}/man'
356
357 ac_prev=
358 for ac_option
359 do
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
631 Try \`$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
654 done
655
656 if 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; }; }
660 fi
661
662 # Be sure to have absolute paths.
663 for ac_var in exec_prefix prefix
664 do
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
671 done
672
673 # Be sure to have absolute paths.
674 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
676 do
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
683 done
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.
688 build=$build_alias
689 host=$host_alias
690 target=$target_alias
691
692 # FIXME: To remove some day.
693 if 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
701 fi
702
703 ac_tool_prefix=
704 test -n "$host_alias" && ac_tool_prefix=$host_alias-
705
706 test "$silent" = yes && exec 6>/dev/null
707
708
709 # Find the source files, if location was not specified.
710 if 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\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
719 echo 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
729 else
730 ac_srcdir_defaulted=no
731 fi
732 if 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
740 fi
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; }; }
744 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set=${build_alias+set}
746 ac_env_build_alias_value=$build_alias
747 ac_cv_env_build_alias_set=${build_alias+set}
748 ac_cv_env_build_alias_value=$build_alias
749 ac_env_host_alias_set=${host_alias+set}
750 ac_env_host_alias_value=$host_alias
751 ac_cv_env_host_alias_set=${host_alias+set}
752 ac_cv_env_host_alias_value=$host_alias
753 ac_env_target_alias_set=${target_alias+set}
754 ac_env_target_alias_value=$target_alias
755 ac_cv_env_target_alias_set=${target_alias+set}
756 ac_cv_env_target_alias_value=$target_alias
757 ac_env_CC_set=${CC+set}
758 ac_env_CC_value=$CC
759 ac_cv_env_CC_set=${CC+set}
760 ac_cv_env_CC_value=$CC
761 ac_env_CFLAGS_set=${CFLAGS+set}
762 ac_env_CFLAGS_value=$CFLAGS
763 ac_cv_env_CFLAGS_set=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value=$CFLAGS
765 ac_env_LDFLAGS_set=${LDFLAGS+set}
766 ac_env_LDFLAGS_value=$LDFLAGS
767 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value=$LDFLAGS
769 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
773 ac_env_CPP_set=${CPP+set}
774 ac_env_CPP_value=$CPP
775 ac_cv_env_CPP_set=${CPP+set}
776 ac_cv_env_CPP_value=$CPP
777 ac_env_CXX_set=${CXX+set}
778 ac_env_CXX_value=$CXX
779 ac_cv_env_CXX_set=${CXX+set}
780 ac_cv_env_CXX_value=$CXX
781 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
785 ac_env_CXXCPP_set=${CXXCPP+set}
786 ac_env_CXXCPP_value=$CXXCPP
787 ac_cv_env_CXXCPP_set=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value=$CXXCPP
789
790 #
791 # Report the --help message.
792 #
793 if 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
797 \`configure' configures wxWidgets 2.6.2 to adapt to many kinds of systems.
798
799 Usage: $0 [OPTION]... [VAR=VALUE]...
800
801 To assign environment variables (e.g., CC, CFLAGS...), specify them as
802 VAR=VALUE. See below for descriptions of some of the useful variables.
803
804 Defaults for the options are specified in brackets.
805
806 Configuration:
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
820 Installation directories:
821 --prefix=PREFIX install architecture-independent files in PREFIX
822 [$ac_default_prefix]
823 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
824 [PREFIX]
825
826 By default, \`make install' will install all the files in
827 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
828 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
829 for instance \`--prefix=\$HOME'.
830
831 For better control, use the options below.
832
833 Fine 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
850 X features:
851 --x-includes=DIR X include files are in DIR
852 --x-libraries=DIR X library files are in DIR
853
854 System 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
859 fi
860
861 if test -n "$ac_init_help"; then
862 case $ac_init_help in
863 short | recursive ) echo "Configuration of wxWidgets 2.6.2:";;
864 esac
865 cat <<\_ACEOF
866
867 Optional 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
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
874 --enable-nanox use NanoX
875 --disable-gtk2 use GTK+ 1.2 instead of 2.0
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
892 --enable-compat22 enable wxWidgets 2.2 compatibility
893 --disable-compat24 disable wxWidgets 2.4 compatibility
894 --disable-rpath disable use of rpath for uninstalled builds
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-arcstream use wxArchive streams
907 --enable-backtrace use wxStackWalker class for getting backtraces
908 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
909 --enable-cmdline use wxCmdLineParser class
910 --enable-datetime use wxDateTime class
911 --enable-debugreport use wxDebugReport class
912 --enable-dialupman use dialup network classes
913 --enable-dynlib use wxLibrary class for DLL loading
914 --enable-dynamicloader use (new) wxDynamicLibrary class
915 --enable-exceptions build exception-safe library
916 --enable-ffile use wxFFile class
917 --enable-file use wxFile class
918 --enable-filesystem use virtual file systems classes
919 --enable-fontmap use font encodings conversion classes
920 --enable-fs_inet use virtual HTTP/FTP filesystems
921 --enable-fs_zip use virtual ZIP filesystems
922 --enable-geometry use geometry class
923 --enable-log use logging system
924 --enable-longlong use wxLongLong class
925 --enable-mimetype use wxMimeTypesManager
926 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
927 --enable-snglinst use wxSingleInstanceChecker class
928 --enable-std_iostreams use standard C++ stream classes
929 --enable-std_string use standard C++ string classes
930 --enable-stdpaths use wxStandardPaths class
931 --enable-stopwatch use wxStopWatch class
932 --enable-streams use wxStream etc classes
933 --enable-sysoptions use wxSystemOptions
934 --enable-textbuf use wxTextBuffer class
935 --enable-textfile use wxTextFile class
936 --enable-timer use wxTimer class
937 --enable-unicode compile wxString with Unicode support
938 --enable-sound use wxSound class
939 --enable-mediactrl use wxMediaCtrl class
940 --enable-wxprintfv use wxWidgets implementation of vprintf()
941 --enable-zipstream use wxZip streams
942 --enable-url use wxURL class
943 --enable-protocol use wxProtocol class
944 --enable-protocol-http HTTP support in wxProtocol
945 --enable-protocol-ftp FTP support in wxProtocol
946 --enable-protocol-file FILE support in wxProtocol
947 --enable-threads use threads
948 --enable-docview use document view architecture
949 --enable-help use help subsystem
950 --enable-mshtmlhelp use MS HTML Help (win32)
951 --enable-html use wxHTML sub-library
952 --enable-htmlhelp use wxHTML-based help
953 --enable-xrc use XRC resources sub-library
954 --enable-constraints use layout-constraints system
955 --enable-printarch use printing architecture
956 --enable-mdi use multiple document interface architecture
957 --enable-mdidoc use docview architecture with MDI
958 --enable-loggui use standard GUI logger
959 --enable-logwin use wxLogWindow
960 --enable-logdialog use wxLogDialog
961 --enable-webkit use wxWebKitCtrl (Mac)
962 --enable-postscript use wxPostscriptDC device context (default for gtk+)
963 --enable-prologio not available; see contrib
964 --enable-resources not available; see contrib
965 --enable-clipboard use wxClipboard class
966 --enable-dnd use Drag'n'Drop classes
967 --enable-metafile use win32 metafiles
968 --enable-controls use all usual controls
969 --enable-accel use accelerators
970 --enable-button use wxButton class
971 --enable-bmpbutton use wxBitmapButton class
972 --enable-calendar use wxCalendarCtrl class
973 --enable-caret use wxCaret class
974 --enable-checkbox use wxCheckBox class
975 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
976 --enable-choice use wxChoice class
977 --enable-choicebook use wxChoicebook class
978 --enable-combobox use wxComboBox class
979 --enable-datepick use wxDatePickerCtrl class
980 --enable-display use wxDisplay class
981 --enable-gauge use wxGauge class
982 --enable-grid use wxGrid class
983 --enable-imaglist use wxImageList class
984 --enable-listbook use wxListbook class
985 --enable-listbox use wxListBox class
986 --enable-listctrl use wxListCtrl class
987 --enable-notebook use wxNotebook class
988 --enable-radiobox use wxRadioBox class
989 --enable-radiobtn use wxRadioButton class
990 --enable-sash use wxSashWindow class
991 --enable-scrollbar use wxScrollBar class and scrollable windows
992 --enable-slider use wxSlider class
993 --enable-spinbtn use wxSpinButton class
994 --enable-spinctrl use wxSpinCtrl class
995 --enable-splitter use wxSplitterWindow class
996 --enable-statbmp use wxStaticBitmap class
997 --enable-statbox use wxStaticBox class
998 --enable-statline use wxStaticLine class
999 --enable-stattext use wxStaticText class
1000 --enable-statusbar use wxStatusBar class
1001 --enable-tabdialog use wxTabControl class
1002 --enable-textctrl use wxTextCtrl class
1003 --enable-togglebtn use wxToggleButton class
1004 --enable-toolbar use wxToolBar class
1005 --enable-tbarnative use native wxToolBar class
1006 --enable-tbarsmpl use wxToolBarSimple class
1007 --enable-treectrl use wxTreeCtrl class
1008 --enable-tipwindow use wxTipWindow class
1009 --enable-popupwin use wxPopUpWindow class
1010 --enable-commondlg use all common dialogs
1011 --enable-choicedlg use wxChoiceDialog
1012 --enable-coldlg use wxColourDialog
1013 --enable-filedlg use wxFileDialog
1014 --enable-finddlg use wxFindReplaceDialog
1015 --enable-fontdlg use wxFontDialog
1016 --enable-dirdlg use wxDirDialog
1017 --enable-msgdlg use wxMessageDialog
1018 --enable-numberdlg use wxNumberEntryDialog
1019 --enable-splash use wxSplashScreen
1020 --enable-textdlg use wxTextDialog
1021 --enable-tipdlg use startup tips
1022 --enable-progressdlg use wxProgressDialog
1023 --enable-wizarddlg use wxWizard
1024 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1025 --enable-miniframe use wxMiniFrame class
1026 --enable-tooltips use wxToolTip class
1027 --enable-splines use spline drawing code
1028 --enable-mousewheel use mousewheel
1029 --enable-validators use wxValidator and derived classes
1030 --enable-busyinfo use wxBusyInfo
1031 --enable-joystick use wxJoystick
1032 --enable-metafiles use wxMetaFile (Win32 only)
1033 --enable-dragimage use wxDragImage
1034 --enable-accessibility enable accessibility support
1035 --enable-dccache cache temporary wxDC objects (Win32 only)
1036 --enable-palette use wxPalette class
1037 --enable-image use wxImage class
1038 --enable-gif use gif images (GIF file format)
1039 --enable-pcx use pcx images (PCX file format)
1040 --enable-iff use iff images (IFF file format)
1041 --enable-pnm use pnm images (PNM file format)
1042 --enable-xpm use xpm images (XPM file format)
1043 --enable-icocur use Windows ICO and CUR formats
1044 --enable-official_build official build of wxWidgets (win32 DLL only)
1045 --enable-vendor=VENDOR vendor name (win32 DLL only)
1046 --disable-largefile omit support for large files
1047 --disable-gtktest do not try to compile and run a test GTK+ program
1048 --disable-gtktest Do not try to compile and run a test GTK program
1049 --disable-sdltest Do not try to compile and run a test SDL program
1050 --enable-omf use OMF object format (OS/2)
1051 --disable-precomp-headers
1052 don't use precompiled headers even if compiler can
1053
1054 Optional Packages:
1055 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1056 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1057 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1058 --with-motif use Motif/Lesstif
1059 --with-mac use Mac OS X
1060 --with-cocoa use Cocoa
1061 --with-wine use Wine
1062 --with-msw use MS-Windows
1063 --with-pm use OS/2 Presentation Manager
1064 --with-mgl use SciTech MGL
1065 --with-microwin use MicroWindows
1066 --with-x11 use X11
1067 --with-libpng use libpng (PNG image format)
1068 --with-libjpeg use libjpeg (JPEG file format)
1069 --with-libtiff use libtiff (TIFF file format)
1070 --with-libxpm use libxpm (XPM file format)
1071 --with-libmspack use libmspack (CHM help files loading)
1072 --with-sdl use SDL for audio on Unix
1073 --with-gnomeprint use GNOME print for printing under Unix
1074 --with-opengl use OpenGL (or Mesa)
1075 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1076 --with-regex enable support for wxRegEx class
1077 --with-zlib use zlib for LZW compression
1078 --with-odbc use the IODBC and wxODBC classes
1079 --with-expat enable XML support using expat parser
1080 --with-flavour=NAME specify a name to identify this build
1081 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1082 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1083 --with-x use the X Window System
1084 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1085 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1086 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1087 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1088 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1089
1090 Some influential environment variables:
1091 CC C compiler command
1092 CFLAGS C compiler flags
1093 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1094 nonstandard directory <lib dir>
1095 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1096 headers in a nonstandard directory <include dir>
1097 CPP C preprocessor
1098 CXX C++ compiler command
1099 CXXFLAGS C++ compiler flags
1100 CXXCPP C++ preprocessor
1101
1102 Use these variables to override the choices made by `configure' or to help
1103 it to find libraries and programs with nonstandard names/locations.
1104
1105 Report bugs to <wx-dev@lists.wxwidgets.org>.
1106 _ACEOF
1107 fi
1108
1109 if test "$ac_init_help" = "recursive"; then
1110 # If there are subdirs, report their specific --help.
1111 ac_popdir=`pwd`
1112 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1113 test -d $ac_dir || continue
1114 ac_builddir=.
1115
1116 if test "$ac_dir" != .; then
1117 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1118 # A "../" for each directory in $ac_dir_suffix.
1119 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1120 else
1121 ac_dir_suffix= ac_top_builddir=
1122 fi
1123
1124 case $srcdir in
1125 .) # No --srcdir option. We are building in place.
1126 ac_srcdir=.
1127 if test -z "$ac_top_builddir"; then
1128 ac_top_srcdir=.
1129 else
1130 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1131 fi ;;
1132 [\\/]* | ?:[\\/]* ) # Absolute path.
1133 ac_srcdir=$srcdir$ac_dir_suffix;
1134 ac_top_srcdir=$srcdir ;;
1135 *) # Relative path.
1136 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1137 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1138 esac
1139
1140 # Do not use `cd foo && pwd` to compute absolute paths, because
1141 # the directories may not exist.
1142 case `pwd` in
1143 .) ac_abs_builddir="$ac_dir";;
1144 *)
1145 case "$ac_dir" in
1146 .) ac_abs_builddir=`pwd`;;
1147 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1148 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1149 esac;;
1150 esac
1151 case $ac_abs_builddir in
1152 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1153 *)
1154 case ${ac_top_builddir}. in
1155 .) ac_abs_top_builddir=$ac_abs_builddir;;
1156 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1157 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1158 esac;;
1159 esac
1160 case $ac_abs_builddir in
1161 .) ac_abs_srcdir=$ac_srcdir;;
1162 *)
1163 case $ac_srcdir in
1164 .) ac_abs_srcdir=$ac_abs_builddir;;
1165 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1166 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1167 esac;;
1168 esac
1169 case $ac_abs_builddir in
1170 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1171 *)
1172 case $ac_top_srcdir in
1173 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1174 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1175 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1176 esac;;
1177 esac
1178
1179 cd $ac_dir
1180 # Check for guested configure; otherwise get Cygnus style configure.
1181 if test -f $ac_srcdir/configure.gnu; then
1182 echo
1183 $SHELL $ac_srcdir/configure.gnu --help=recursive
1184 elif test -f $ac_srcdir/configure; then
1185 echo
1186 $SHELL $ac_srcdir/configure --help=recursive
1187 elif test -f $ac_srcdir/configure.ac ||
1188 test -f $ac_srcdir/configure.in; then
1189 echo
1190 $ac_configure --help
1191 else
1192 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1193 fi
1194 cd "$ac_popdir"
1195 done
1196 fi
1197
1198 test -n "$ac_init_help" && exit 0
1199 if $ac_init_version; then
1200 cat <<\_ACEOF
1201 wxWidgets configure 2.6.2
1202 generated by GNU Autoconf 2.59
1203
1204 Copyright (C) 2003 Free Software Foundation, Inc.
1205 This configure script is free software; the Free Software Foundation
1206 gives unlimited permission to copy, distribute and modify it.
1207 _ACEOF
1208 exit 0
1209 fi
1210 exec 5>config.log
1211 cat >&5 <<_ACEOF
1212 This file contains any messages produced by compilers while
1213 running configure, to aid debugging if configure makes a mistake.
1214
1215 It was created by wxWidgets $as_me 2.6.2, which was
1216 generated by GNU Autoconf 2.59. Invocation command line was
1217
1218 $ $0 $@
1219
1220 _ACEOF
1221 {
1222 cat <<_ASUNAME
1223 ## --------- ##
1224 ## Platform. ##
1225 ## --------- ##
1226
1227 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1228 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1229 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1230 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1231 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1232
1233 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1234 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1235
1236 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1237 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1238 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1239 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1240 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1241 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1242 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1243
1244 _ASUNAME
1245
1246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1247 for as_dir in $PATH
1248 do
1249 IFS=$as_save_IFS
1250 test -z "$as_dir" && as_dir=.
1251 echo "PATH: $as_dir"
1252 done
1253
1254 } >&5
1255
1256 cat >&5 <<_ACEOF
1257
1258
1259 ## ----------- ##
1260 ## Core tests. ##
1261 ## ----------- ##
1262
1263 _ACEOF
1264
1265
1266 # Keep a trace of the command line.
1267 # Strip out --no-create and --no-recursion so they do not pile up.
1268 # Strip out --silent because we don't want to record it for future runs.
1269 # Also quote any args containing shell meta-characters.
1270 # Make two passes to allow for proper duplicate-argument suppression.
1271 ac_configure_args=
1272 ac_configure_args0=
1273 ac_configure_args1=
1274 ac_sep=
1275 ac_must_keep_next=false
1276 for ac_pass in 1 2
1277 do
1278 for ac_arg
1279 do
1280 case $ac_arg in
1281 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1282 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1283 | -silent | --silent | --silen | --sile | --sil)
1284 continue ;;
1285 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1286 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1287 esac
1288 case $ac_pass in
1289 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1290 2)
1291 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1292 if test $ac_must_keep_next = true; then
1293 ac_must_keep_next=false # Got value, back to normal.
1294 else
1295 case $ac_arg in
1296 *=* | --config-cache | -C | -disable-* | --disable-* \
1297 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1298 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1299 | -with-* | --with-* | -without-* | --without-* | --x)
1300 case "$ac_configure_args0 " in
1301 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1302 esac
1303 ;;
1304 -* ) ac_must_keep_next=true ;;
1305 esac
1306 fi
1307 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1308 # Get rid of the leading space.
1309 ac_sep=" "
1310 ;;
1311 esac
1312 done
1313 done
1314 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1315 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1316
1317 # When interrupted or exit'd, cleanup temporary files, and complete
1318 # config.log. We remove comments because anyway the quotes in there
1319 # would cause problems or look ugly.
1320 # WARNING: Be sure not to use single quotes in there, as some shells,
1321 # such as our DU 5.0 friend, will then `close' the trap.
1322 trap 'exit_status=$?
1323 # Save into config.log some information that might help in debugging.
1324 {
1325 echo
1326
1327 cat <<\_ASBOX
1328 ## ---------------- ##
1329 ## Cache variables. ##
1330 ## ---------------- ##
1331 _ASBOX
1332 echo
1333 # The following way of writing the cache mishandles newlines in values,
1334 {
1335 (set) 2>&1 |
1336 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1337 *ac_space=\ *)
1338 sed -n \
1339 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1340 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1341 ;;
1342 *)
1343 sed -n \
1344 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1345 ;;
1346 esac;
1347 }
1348 echo
1349
1350 cat <<\_ASBOX
1351 ## ----------------- ##
1352 ## Output variables. ##
1353 ## ----------------- ##
1354 _ASBOX
1355 echo
1356 for ac_var in $ac_subst_vars
1357 do
1358 eval ac_val=$`echo $ac_var`
1359 echo "$ac_var='"'"'$ac_val'"'"'"
1360 done | sort
1361 echo
1362
1363 if test -n "$ac_subst_files"; then
1364 cat <<\_ASBOX
1365 ## ------------- ##
1366 ## Output files. ##
1367 ## ------------- ##
1368 _ASBOX
1369 echo
1370 for ac_var in $ac_subst_files
1371 do
1372 eval ac_val=$`echo $ac_var`
1373 echo "$ac_var='"'"'$ac_val'"'"'"
1374 done | sort
1375 echo
1376 fi
1377
1378 if test -s confdefs.h; then
1379 cat <<\_ASBOX
1380 ## ----------- ##
1381 ## confdefs.h. ##
1382 ## ----------- ##
1383 _ASBOX
1384 echo
1385 sed "/^$/d" confdefs.h | sort
1386 echo
1387 fi
1388 test "$ac_signal" != 0 &&
1389 echo "$as_me: caught signal $ac_signal"
1390 echo "$as_me: exit $exit_status"
1391 } >&5
1392 rm -f core *.core &&
1393 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1394 exit $exit_status
1395 ' 0
1396 for ac_signal in 1 2 13 15; do
1397 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1398 done
1399 ac_signal=0
1400
1401 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1402 rm -rf conftest* confdefs.h
1403 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1404 echo >confdefs.h
1405
1406 # Predefined preprocessor variables.
1407
1408 cat >>confdefs.h <<_ACEOF
1409 #define PACKAGE_NAME "$PACKAGE_NAME"
1410 _ACEOF
1411
1412
1413 cat >>confdefs.h <<_ACEOF
1414 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1415 _ACEOF
1416
1417
1418 cat >>confdefs.h <<_ACEOF
1419 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1420 _ACEOF
1421
1422
1423 cat >>confdefs.h <<_ACEOF
1424 #define PACKAGE_STRING "$PACKAGE_STRING"
1425 _ACEOF
1426
1427
1428 cat >>confdefs.h <<_ACEOF
1429 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1430 _ACEOF
1431
1432
1433 # Let the site file select an alternate cache file if it wants to.
1434 # Prefer explicitly selected file to automatically selected ones.
1435 if test -z "$CONFIG_SITE"; then
1436 if test "x$prefix" != xNONE; then
1437 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1438 else
1439 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1440 fi
1441 fi
1442 for ac_site_file in $CONFIG_SITE; do
1443 if test -r "$ac_site_file"; then
1444 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1445 echo "$as_me: loading site script $ac_site_file" >&6;}
1446 sed 's/^/| /' "$ac_site_file" >&5
1447 . "$ac_site_file"
1448 fi
1449 done
1450
1451 if test -r "$cache_file"; then
1452 # Some versions of bash will fail to source /dev/null (special
1453 # files actually), so we avoid doing that.
1454 if test -f "$cache_file"; then
1455 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1456 echo "$as_me: loading cache $cache_file" >&6;}
1457 case $cache_file in
1458 [\\/]* | ?:[\\/]* ) . $cache_file;;
1459 *) . ./$cache_file;;
1460 esac
1461 fi
1462 else
1463 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1464 echo "$as_me: creating cache $cache_file" >&6;}
1465 >$cache_file
1466 fi
1467
1468 # Check that the precious variables saved in the cache have kept the same
1469 # value.
1470 ac_cache_corrupted=false
1471 for ac_var in `(set) 2>&1 |
1472 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1473 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1474 eval ac_new_set=\$ac_env_${ac_var}_set
1475 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1476 eval ac_new_val="\$ac_env_${ac_var}_value"
1477 case $ac_old_set,$ac_new_set in
1478 set,)
1479 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1480 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1481 ac_cache_corrupted=: ;;
1482 ,set)
1483 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1484 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1485 ac_cache_corrupted=: ;;
1486 ,);;
1487 *)
1488 if test "x$ac_old_val" != "x$ac_new_val"; then
1489 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1490 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1491 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1492 echo "$as_me: former value: $ac_old_val" >&2;}
1493 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1494 echo "$as_me: current value: $ac_new_val" >&2;}
1495 ac_cache_corrupted=:
1496 fi;;
1497 esac
1498 # Pass precious variables to config.status.
1499 if test "$ac_new_set" = set; then
1500 case $ac_new_val in
1501 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1502 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1503 *) ac_arg=$ac_var=$ac_new_val ;;
1504 esac
1505 case " $ac_configure_args " in
1506 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1507 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1508 esac
1509 fi
1510 done
1511 if $ac_cache_corrupted; then
1512 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1513 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1514 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1515 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1516 { (exit 1); exit 1; }; }
1517 fi
1518
1519 ac_ext=c
1520 ac_cpp='$CPP $CPPFLAGS'
1521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554 ac_aux_dir=
1555 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1556 if test -f $ac_dir/install-sh; then
1557 ac_aux_dir=$ac_dir
1558 ac_install_sh="$ac_aux_dir/install-sh -c"
1559 break
1560 elif test -f $ac_dir/install.sh; then
1561 ac_aux_dir=$ac_dir
1562 ac_install_sh="$ac_aux_dir/install.sh -c"
1563 break
1564 elif test -f $ac_dir/shtool; then
1565 ac_aux_dir=$ac_dir
1566 ac_install_sh="$ac_aux_dir/shtool install -c"
1567 break
1568 fi
1569 done
1570 if test -z "$ac_aux_dir"; then
1571 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1572 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1573 { (exit 1); exit 1; }; }
1574 fi
1575 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1576 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1577 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1578
1579 # Make sure we can run config.sub.
1580 $ac_config_sub sun4 >/dev/null 2>&1 ||
1581 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1582 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1583 { (exit 1); exit 1; }; }
1584
1585 echo "$as_me:$LINENO: checking build system type" >&5
1586 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1587 if test "${ac_cv_build+set}" = set; then
1588 echo $ECHO_N "(cached) $ECHO_C" >&6
1589 else
1590 ac_cv_build_alias=$build_alias
1591 test -z "$ac_cv_build_alias" &&
1592 ac_cv_build_alias=`$ac_config_guess`
1593 test -z "$ac_cv_build_alias" &&
1594 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1595 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1596 { (exit 1); exit 1; }; }
1597 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1598 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1599 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1600 { (exit 1); exit 1; }; }
1601
1602 fi
1603 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1604 echo "${ECHO_T}$ac_cv_build" >&6
1605 build=$ac_cv_build
1606 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1607 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1608 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1609
1610
1611 echo "$as_me:$LINENO: checking host system type" >&5
1612 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1613 if test "${ac_cv_host+set}" = set; then
1614 echo $ECHO_N "(cached) $ECHO_C" >&6
1615 else
1616 ac_cv_host_alias=$host_alias
1617 test -z "$ac_cv_host_alias" &&
1618 ac_cv_host_alias=$ac_cv_build_alias
1619 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1620 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1621 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1622 { (exit 1); exit 1; }; }
1623
1624 fi
1625 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1626 echo "${ECHO_T}$ac_cv_host" >&6
1627 host=$ac_cv_host
1628 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1629 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1630 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1631
1632
1633 echo "$as_me:$LINENO: checking target system type" >&5
1634 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1635 if test "${ac_cv_target+set}" = set; then
1636 echo $ECHO_N "(cached) $ECHO_C" >&6
1637 else
1638 ac_cv_target_alias=$target_alias
1639 test "x$ac_cv_target_alias" = "x" &&
1640 ac_cv_target_alias=$ac_cv_host_alias
1641 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1642 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1643 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1644 { (exit 1); exit 1; }; }
1645
1646 fi
1647 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1648 echo "${ECHO_T}$ac_cv_target" >&6
1649 target=$ac_cv_target
1650 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1651 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1652 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1653
1654
1655 # The aliases save the names the user supplied, while $host etc.
1656 # will get canonicalized.
1657 test -n "$target_alias" &&
1658 test "$program_prefix$program_suffix$program_transform_name" = \
1659 NONENONEs,x,x, &&
1660 program_prefix=${target_alias}-
1661
1662
1663
1664 wx_major_version_number=2
1665 wx_minor_version_number=6
1666 wx_release_number=2
1667 wx_subrelease_number=1
1668
1669 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1670 WX_VERSION=$WX_RELEASE.$wx_release_number
1671 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1672
1673 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1674
1675
1676
1677
1678 USE_UNIX=1
1679 USE_OS2=0
1680 USE_WIN32=0
1681 USE_DOS=0
1682 USE_BEOS=0
1683 USE_MAC=0
1684
1685 USE_AIX=
1686 USE_BSD= USE_DARWIN= USE_FREEBSD=
1687 USE_GNU= USE_HPUX=
1688 USE_LINUX=
1689 USE_NETBSD=
1690 USE_OPENBSD=
1691 USE_OSF= USE_SGI=
1692 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1693 USE_ULTRIX=
1694 USE_UNIXWARE=
1695
1696 USE_ALPHA=
1697
1698 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1699
1700 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1701
1702 DEFAULT_wxUSE_COCOA=0
1703 DEFAULT_wxUSE_GTK=0
1704 DEFAULT_wxUSE_MAC=0
1705 DEFAULT_wxUSE_MGL=0
1706 DEFAULT_wxUSE_MICROWIN=0
1707 DEFAULT_wxUSE_MOTIF=0
1708 DEFAULT_wxUSE_MSW=0
1709 DEFAULT_wxUSE_PM=0
1710 DEFAULT_wxUSE_X11=0
1711
1712 DEFAULT_DEFAULT_wxUSE_COCOA=0
1713 DEFAULT_DEFAULT_wxUSE_GTK=0
1714 DEFAULT_DEFAULT_wxUSE_MAC=0
1715 DEFAULT_DEFAULT_wxUSE_MGL=0
1716 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1717 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1718 DEFAULT_DEFAULT_wxUSE_MSW=0
1719 DEFAULT_DEFAULT_wxUSE_PM=0
1720 DEFAULT_DEFAULT_wxUSE_X11=0
1721
1722 PROGRAM_EXT=
1723 SO_SUFFIX=so
1724 SAMPLES_RPATH_FLAG=
1725 SAMPLES_RPATH_POSTLINK=
1726
1727 DEFAULT_STD_FLAG=yes
1728
1729 case "${host}" in
1730 *-hp-hpux* )
1731 USE_HPUX=1
1732 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1733 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1734 SO_SUFFIX=sl
1735 cat >>confdefs.h <<\_ACEOF
1736 #define __HPUX__ 1
1737 _ACEOF
1738
1739 ;;
1740 *-*-linux* )
1741 USE_LINUX=1
1742 cat >>confdefs.h <<\_ACEOF
1743 #define __LINUX__ 1
1744 _ACEOF
1745
1746 TMP=`uname -m`
1747 if test "x$TMP" = "xalpha"; then
1748 USE_ALPHA=1
1749 cat >>confdefs.h <<\_ACEOF
1750 #define __ALPHA__ 1
1751 _ACEOF
1752
1753 fi
1754 DEFAULT_DEFAULT_wxUSE_GTK=1
1755 ;;
1756 *-*-gnu* | *-*-k*bsd*-gnu )
1757 USE_GNU=1
1758 TMP=`uname -m`
1759 if test "x$TMP" = "xalpha"; then
1760 USE_ALPHA=1
1761 cat >>confdefs.h <<\_ACEOF
1762 #define __ALPHA__ 1
1763 _ACEOF
1764
1765 fi
1766 DEFAULT_DEFAULT_wxUSE_GTK=1
1767 ;;
1768 *-*-irix5* | *-*-irix6* )
1769 USE_SGI=1
1770 USE_SVR4=1
1771 cat >>confdefs.h <<\_ACEOF
1772 #define __SGI__ 1
1773 _ACEOF
1774
1775 cat >>confdefs.h <<\_ACEOF
1776 #define __SVR4__ 1
1777 _ACEOF
1778
1779 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1780 ;;
1781 *-*-solaris2* )
1782 USE_SUN=1
1783 USE_SOLARIS=1
1784 USE_SVR4=1
1785 cat >>confdefs.h <<\_ACEOF
1786 #define __SUN__ 1
1787 _ACEOF
1788
1789 cat >>confdefs.h <<\_ACEOF
1790 #define __SOLARIS__ 1
1791 _ACEOF
1792
1793 cat >>confdefs.h <<\_ACEOF
1794 #define __SVR4__ 1
1795 _ACEOF
1796
1797 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1798 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1799 ;;
1800 *-*-sunos4* )
1801 USE_SUN=1
1802 USE_SUNOS=1
1803 USE_BSD=1
1804 cat >>confdefs.h <<\_ACEOF
1805 #define __SUN__ 1
1806 _ACEOF
1807
1808 cat >>confdefs.h <<\_ACEOF
1809 #define __SUNOS__ 1
1810 _ACEOF
1811
1812 cat >>confdefs.h <<\_ACEOF
1813 #define __BSD__ 1
1814 _ACEOF
1815
1816 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1817 ;;
1818 *-*-freebsd*)
1819 USE_BSD=1
1820 USE_FREEBSD=1
1821 cat >>confdefs.h <<\_ACEOF
1822 #define __FREEBSD__ 1
1823 _ACEOF
1824
1825 cat >>confdefs.h <<\_ACEOF
1826 #define __BSD__ 1
1827 _ACEOF
1828
1829 DEFAULT_DEFAULT_wxUSE_GTK=1
1830 ;;
1831 *-*-openbsd*)
1832 USE_BSD=1
1833 USE_OPENBSD=1
1834 cat >>confdefs.h <<\_ACEOF
1835 #define __OPENBSD__ 1
1836 _ACEOF
1837
1838 cat >>confdefs.h <<\_ACEOF
1839 #define __BSD__ 1
1840 _ACEOF
1841
1842 DEFAULT_DEFAULT_wxUSE_GTK=1
1843 ;;
1844 *-*-netbsd*)
1845 USE_BSD=1
1846 USE_NETBSD=1
1847 cat >>confdefs.h <<\_ACEOF
1848 #define __NETBSD__ 1
1849 _ACEOF
1850
1851 cat >>confdefs.h <<\_ACEOF
1852 #define __BSD__ 1
1853 _ACEOF
1854
1855 DEFAULT_DEFAULT_wxUSE_GTK=1
1856 ;;
1857 *-*-osf* )
1858 USE_ALPHA=1
1859 USE_OSF=1
1860 cat >>confdefs.h <<\_ACEOF
1861 #define __ALPHA__ 1
1862 _ACEOF
1863
1864 cat >>confdefs.h <<\_ACEOF
1865 #define __OSF__ 1
1866 _ACEOF
1867
1868 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1869 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1870 ;;
1871 *-*-dgux5* )
1872 USE_ALPHA=1
1873 USE_SVR4=1
1874 cat >>confdefs.h <<\_ACEOF
1875 #define __ALPHA__ 1
1876 _ACEOF
1877
1878 cat >>confdefs.h <<\_ACEOF
1879 #define __SVR4__ 1
1880 _ACEOF
1881
1882 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1883 ;;
1884 *-*-sysv5* )
1885 USE_SYSV=1
1886 USE_SVR4=1
1887 cat >>confdefs.h <<\_ACEOF
1888 #define __SYSV__ 1
1889 _ACEOF
1890
1891 cat >>confdefs.h <<\_ACEOF
1892 #define __SVR4__ 1
1893 _ACEOF
1894
1895 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1896 ;;
1897 *-*-aix* )
1898 USE_AIX=1
1899 USE_SYSV=1
1900 USE_SVR4=1
1901 SO_SUFFIX=a
1902 cat >>confdefs.h <<\_ACEOF
1903 #define __AIX__ 1
1904 _ACEOF
1905
1906 cat >>confdefs.h <<\_ACEOF
1907 #define __SYSV__ 1
1908 _ACEOF
1909
1910 cat >>confdefs.h <<\_ACEOF
1911 #define __SVR4__ 1
1912 _ACEOF
1913
1914 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1915 ;;
1916
1917 *-*-*UnixWare*)
1918 USE_SYSV=1
1919 USE_SVR4=1
1920 USE_UNIXWARE=1
1921 cat >>confdefs.h <<\_ACEOF
1922 #define __UNIXWARE__ 1
1923 _ACEOF
1924
1925 ;;
1926
1927 *-*-cygwin* | *-*-mingw32* )
1928 SO_SUFFIX=dll
1929 PROGRAM_EXT=".exe"
1930 DEFAULT_DEFAULT_wxUSE_MSW=1
1931 DEFAULT_STD_FLAG=no
1932 ;;
1933
1934 *-pc-msdosdjgpp )
1935 USE_UNIX=0
1936 USE_DOS=1
1937 cat >>confdefs.h <<\_ACEOF
1938 #define __DOS__ 1
1939 _ACEOF
1940
1941 PROGRAM_EXT=".exe"
1942 DEFAULT_DEFAULT_wxUSE_MGL=1
1943 ;;
1944
1945 *-pc-os2_emx | *-pc-os2-emx )
1946 cat >>confdefs.h <<\_ACEOF
1947 #define __EMX__ 1
1948 _ACEOF
1949
1950 USE_OS2=1
1951 cat >>confdefs.h <<\_ACEOF
1952 #define __OS2__ 1
1953 _ACEOF
1954
1955 PROGRAM_EXT=".exe"
1956 DEFAULT_DEFAULT_wxUSE_PM=1
1957 CXX=gcc
1958 LDFLAGS="$LDFLAGS -Zcrtdll"
1959 ac_executable_extensions=".exe"
1960 export ac_executable_extensions
1961 ac_save_IFS="$IFS"
1962 IFS='\\'
1963 ac_TEMP_PATH=
1964 for ac_dir in $PATH; do
1965 IFS=$ac_save_IFS
1966 if test -z "$ac_TEMP_PATH"; then
1967 ac_TEMP_PATH="$ac_dir"
1968 else
1969 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1970 fi
1971 done
1972 export PATH="$ac_TEMP_PATH"
1973 unset ac_TEMP_PATH
1974 DEFAULT_STD_FLAG=no
1975 ;;
1976
1977 *-*-darwin* )
1978 USE_BSD=1
1979 USE_DARWIN=1
1980 SO_SUFFIX=dylib
1981 cat >>confdefs.h <<\_ACEOF
1982 #define __BSD__ 1
1983 _ACEOF
1984
1985 cat >>confdefs.h <<\_ACEOF
1986 #define __DARWIN__ 1
1987 _ACEOF
1988
1989 cat >>confdefs.h <<\_ACEOF
1990 #define TARGET_CARBON 1
1991 _ACEOF
1992
1993 DEFAULT_DEFAULT_wxUSE_MAC=1
1994 DEFAULT_STD_FLAG=no
1995 ;;
1996 powerpc-apple-macos* )
1997 USE_UNIX=0
1998 ac_cv_c_bigendian=yes
1999 SO_SUFFIX=shlib
2000 DEFAULT_DEFAULT_wxUSE_MAC=1
2001 DEFAULT_STD_FLAG=no
2002 ;;
2003
2004 *-*-beos* )
2005 USE_BEOS=1
2006 cat >>confdefs.h <<\_ACEOF
2007 #define __BEOS__ 1
2008 _ACEOF
2009
2010 ;;
2011
2012 *)
2013 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2014 echo "$as_me: error: unknown system type ${host}." >&2;}
2015 { (exit 1); exit 1; }; }
2016 esac
2017
2018
2019
2020
2021 wx_arg_cache_file="configarg.cache"
2022 echo "loading argument cache $wx_arg_cache_file"
2023 rm -f ${wx_arg_cache_file}.tmp
2024 touch ${wx_arg_cache_file}.tmp
2025 touch ${wx_arg_cache_file}
2026
2027
2028 DEBUG_CONFIGURE=0
2029 if test $DEBUG_CONFIGURE = 1; then
2030 DEFAULT_wxUSE_UNIVERSAL=no
2031 DEFAULT_wxUSE_STL=no
2032
2033 DEFAULT_wxUSE_NANOX=no
2034
2035 DEFAULT_wxUSE_THREADS=yes
2036
2037 DEFAULT_wxUSE_SHARED=yes
2038 DEFAULT_wxUSE_OPTIMISE=no
2039 DEFAULT_wxUSE_PROFILE=no
2040 DEFAULT_wxUSE_NO_DEPS=no
2041 DEFAULT_wxUSE_NO_RTTI=no
2042 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2043 DEFAULT_wxUSE_RPATH=yes
2044 DEFAULT_wxUSE_PERMISSIVE=no
2045 DEFAULT_wxUSE_DEBUG_FLAG=yes
2046 DEFAULT_wxUSE_DEBUG_INFO=yes
2047 DEFAULT_wxUSE_DEBUG_GDB=yes
2048 DEFAULT_wxUSE_MEM_TRACING=no
2049 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2050 DEFAULT_wxUSE_DMALLOC=no
2051 DEFAULT_wxUSE_APPLE_IEEE=no
2052
2053 DEFAULT_wxUSE_EXCEPTIONS=no
2054 DEFAULT_wxUSE_LOG=yes
2055 DEFAULT_wxUSE_LOGWINDOW=no
2056 DEFAULT_wxUSE_LOGGUI=no
2057 DEFAULT_wxUSE_LOGDIALOG=no
2058
2059 DEFAULT_wxUSE_GUI=yes
2060 DEFAULT_wxUSE_CONTROLS=no
2061
2062 DEFAULT_wxUSE_REGEX=no
2063 DEFAULT_wxUSE_XML=no
2064 DEFAULT_wxUSE_EXPAT=no
2065 DEFAULT_wxUSE_ZLIB=no
2066 DEFAULT_wxUSE_LIBPNG=no
2067 DEFAULT_wxUSE_LIBJPEG=no
2068 DEFAULT_wxUSE_LIBTIFF=no
2069 DEFAULT_wxUSE_LIBXPM=no
2070 DEFAULT_wxUSE_LIBMSPACK=no
2071 DEFAULT_wxUSE_LIBSDL=no
2072 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2073 DEFAULT_wxUSE_ODBC=no
2074 DEFAULT_wxUSE_OPENGL=no
2075
2076 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2077 DEFAULT_wxUSE_STACKWALKER=no
2078 DEFAULT_wxUSE_DEBUGREPORT=no
2079 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2080 DEFAULT_wxUSE_STD_IOSTREAM=no
2081 DEFAULT_wxUSE_STD_STRING=no
2082 DEFAULT_wxUSE_CMDLINE_PARSER=no
2083 DEFAULT_wxUSE_DATETIME=no
2084 DEFAULT_wxUSE_TIMER=no
2085 DEFAULT_wxUSE_STOPWATCH=no
2086 DEFAULT_wxUSE_FILE=no
2087 DEFAULT_wxUSE_FFILE=no
2088 DEFAULT_wxUSE_STDPATHS=no
2089 DEFAULT_wxUSE_TEXTBUFFER=no
2090 DEFAULT_wxUSE_TEXTFILE=no
2091 DEFAULT_wxUSE_SOUND=no
2092 DEFAULT_wxUSE_MEDIACTRL=no
2093 DEFAULT_wxUSE_INTL=no
2094 DEFAULT_wxUSE_CONFIG=no
2095 DEFAULT_wxUSE_FONTMAP=no
2096 DEFAULT_wxUSE_STREAMS=no
2097 DEFAULT_wxUSE_SOCKETS=no
2098 DEFAULT_wxUSE_OLE=no
2099 DEFAULT_wxUSE_DATAOBJ=no
2100 DEFAULT_wxUSE_DIALUP_MANAGER=no
2101 DEFAULT_wxUSE_JOYSTICK=no
2102 DEFAULT_wxUSE_DYNLIB_CLASS=no
2103 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2104 DEFAULT_wxUSE_LONGLONG=no
2105 DEFAULT_wxUSE_GEOMETRY=no
2106
2107 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2108 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2109 DEFAULT_wxUSE_POSTSCRIPT=no
2110
2111 DEFAULT_wxUSE_CLIPBOARD=no
2112 DEFAULT_wxUSE_TOOLTIPS=no
2113 DEFAULT_wxUSE_DRAG_AND_DROP=no
2114 DEFAULT_wxUSE_DRAGIMAGE=no
2115 DEFAULT_wxUSE_SPLINES=no
2116 DEFAULT_wxUSE_MOUSEWHEEL=no
2117
2118 DEFAULT_wxUSE_MDI=no
2119 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2120 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2121 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2122
2123 DEFAULT_wxUSE_RESOURCES=no
2124 DEFAULT_wxUSE_CONSTRAINTS=no
2125 DEFAULT_wxUSE_IPC=no
2126 DEFAULT_wxUSE_HELP=no
2127 DEFAULT_wxUSE_MS_HTML_HELP=no
2128 DEFAULT_wxUSE_WXHTML_HELP=no
2129 DEFAULT_wxUSE_TREELAYOUT=no
2130 DEFAULT_wxUSE_METAFILE=no
2131 DEFAULT_wxUSE_MIMETYPE=no
2132 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2133 DEFAULT_wxUSE_PROTOCOL=no
2134 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2135 DEFAULT_wxUSE_PROTOCOL_FTP=no
2136 DEFAULT_wxUSE_PROTOCOL_FILE=no
2137 DEFAULT_wxUSE_URL=no
2138
2139 DEFAULT_wxUSE_COMMONDLGS=no
2140 DEFAULT_wxUSE_CHOICEDLG=no
2141 DEFAULT_wxUSE_COLOURDLG=no
2142 DEFAULT_wxUSE_DIRDLG=no
2143 DEFAULT_wxUSE_FILEDLG=no
2144 DEFAULT_wxUSE_FINDREPLDLG=no
2145 DEFAULT_wxUSE_FONTDLG=no
2146 DEFAULT_wxUSE_MSGDLG=no
2147 DEFAULT_wxUSE_NUMBERDLG=no
2148 DEFAULT_wxUSE_TEXTDLG=no
2149 DEFAULT_wxUSE_SPLASH=no
2150 DEFAULT_wxUSE_STARTUP_TIPS=no
2151 DEFAULT_wxUSE_PROGRESSDLG=no
2152 DEFAULT_wxUSE_WIZARDDLG=no
2153
2154 DEFAULT_wxUSE_MENUS=no
2155 DEFAULT_wxUSE_MINIFRAME=no
2156 DEFAULT_wxUSE_HTML=no
2157 DEFAULT_wxUSE_XRC=no
2158 DEFAULT_wxUSE_WEBKIT=no
2159 DEFAULT_wxUSE_FILESYSTEM=no
2160 DEFAULT_wxUSE_FS_INET=no
2161 DEFAULT_wxUSE_FS_ZIP=no
2162 DEFAULT_wxUSE_BUSYINFO=no
2163 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2164 DEFAULT_wxUSE_ZIPSTREAM=no
2165 DEFAULT_wxUSE_VALIDATORS=no
2166
2167 DEFAULT_wxUSE_ACCEL=no
2168 DEFAULT_wxUSE_BUTTON=no
2169 DEFAULT_wxUSE_BMPBUTTON=no
2170 DEFAULT_wxUSE_CALCTRL=no
2171 DEFAULT_wxUSE_CARET=no
2172 DEFAULT_wxUSE_CHECKBOX=no
2173 DEFAULT_wxUSE_CHECKLST=no
2174 DEFAULT_wxUSE_CHOICE=no
2175 DEFAULT_wxUSE_CHOICEBOOK=no
2176 DEFAULT_wxUSE_COMBOBOX=no
2177 DEFAULT_wxUSE_DATEPICKCTRL=no
2178 DEFAULT_wxUSE_DISPLAY=no
2179 DEFAULT_wxUSE_GAUGE=no
2180 DEFAULT_wxUSE_GRID=no
2181 DEFAULT_wxUSE_IMAGLIST=no
2182 DEFAULT_wxUSE_LISTBOOK=no
2183 DEFAULT_wxUSE_LISTBOX=no
2184 DEFAULT_wxUSE_LISTCTRL=no
2185 DEFAULT_wxUSE_NOTEBOOK=no
2186 DEFAULT_wxUSE_RADIOBOX=no
2187 DEFAULT_wxUSE_RADIOBTN=no
2188 DEFAULT_wxUSE_SASH=no
2189 DEFAULT_wxUSE_SCROLLBAR=no
2190 DEFAULT_wxUSE_SLIDER=no
2191 DEFAULT_wxUSE_SPINBTN=no
2192 DEFAULT_wxUSE_SPINCTRL=no
2193 DEFAULT_wxUSE_SPLITTER=no
2194 DEFAULT_wxUSE_STATBMP=no
2195 DEFAULT_wxUSE_STATBOX=no
2196 DEFAULT_wxUSE_STATLINE=no
2197 DEFAULT_wxUSE_STATTEXT=no
2198 DEFAULT_wxUSE_STATUSBAR=yes
2199 DEFAULT_wxUSE_TABDIALOG=no
2200 DEFAULT_wxUSE_TEXTCTRL=no
2201 DEFAULT_wxUSE_TOGGLEBTN=no
2202 DEFAULT_wxUSE_TOOLBAR=no
2203 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2204 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2205 DEFAULT_wxUSE_TREECTRL=no
2206 DEFAULT_wxUSE_POPUPWIN=no
2207 DEFAULT_wxUSE_TIPWINDOW=no
2208
2209 DEFAULT_wxUSE_UNICODE=no
2210 DEFAULT_wxUSE_UNICODE_MSLU=no
2211 DEFAULT_wxUSE_WCSRTOMBS=no
2212
2213 DEFAULT_wxUSE_PALETTE=no
2214 DEFAULT_wxUSE_IMAGE=no
2215 DEFAULT_wxUSE_GIF=no
2216 DEFAULT_wxUSE_PCX=no
2217 DEFAULT_wxUSE_PNM=no
2218 DEFAULT_wxUSE_IFF=no
2219 DEFAULT_wxUSE_XPM=no
2220 DEFAULT_wxUSE_ICO_CUR=no
2221 DEFAULT_wxUSE_ACCESSIBILITY=no
2222
2223 DEFAULT_wxUSE_MONOLITHIC=no
2224 DEFAULT_wxUSE_PLUGINS=no
2225 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2226 else
2227 DEFAULT_wxUSE_UNIVERSAL=no
2228 DEFAULT_wxUSE_STL=no
2229
2230 DEFAULT_wxUSE_NANOX=no
2231
2232 DEFAULT_wxUSE_THREADS=yes
2233
2234 DEFAULT_wxUSE_SHARED=yes
2235 DEFAULT_wxUSE_OPTIMISE=yes
2236 DEFAULT_wxUSE_PROFILE=no
2237 DEFAULT_wxUSE_NO_DEPS=no
2238 DEFAULT_wxUSE_NO_RTTI=no
2239 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2240 DEFAULT_wxUSE_RPATH=yes
2241 DEFAULT_wxUSE_PERMISSIVE=no
2242 DEFAULT_wxUSE_DEBUG_FLAG=no
2243 DEFAULT_wxUSE_DEBUG_INFO=no
2244 DEFAULT_wxUSE_DEBUG_GDB=no
2245 DEFAULT_wxUSE_MEM_TRACING=no
2246 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2247 DEFAULT_wxUSE_DMALLOC=no
2248 DEFAULT_wxUSE_APPLE_IEEE=yes
2249
2250 DEFAULT_wxUSE_EXCEPTIONS=yes
2251 DEFAULT_wxUSE_LOG=yes
2252 DEFAULT_wxUSE_LOGWINDOW=yes
2253 DEFAULT_wxUSE_LOGGUI=yes
2254 DEFAULT_wxUSE_LOGDIALOG=yes
2255
2256 DEFAULT_wxUSE_GUI=yes
2257
2258 DEFAULT_wxUSE_REGEX=yes
2259 DEFAULT_wxUSE_XML=yes
2260 DEFAULT_wxUSE_EXPAT=yes
2261 DEFAULT_wxUSE_ZLIB=yes
2262 DEFAULT_wxUSE_LIBPNG=yes
2263 DEFAULT_wxUSE_LIBJPEG=yes
2264 DEFAULT_wxUSE_LIBTIFF=yes
2265 DEFAULT_wxUSE_LIBXPM=yes
2266 DEFAULT_wxUSE_LIBMSPACK=yes
2267 DEFAULT_wxUSE_LIBSDL=no
2268 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2269 DEFAULT_wxUSE_ODBC=no
2270 DEFAULT_wxUSE_OPENGL=no
2271
2272 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2273 DEFAULT_wxUSE_STACKWALKER=yes
2274 DEFAULT_wxUSE_DEBUGREPORT=yes
2275 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2276 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2277 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2278 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2279 DEFAULT_wxUSE_DATETIME=yes
2280 DEFAULT_wxUSE_TIMER=yes
2281 DEFAULT_wxUSE_STOPWATCH=yes
2282 DEFAULT_wxUSE_FILE=yes
2283 DEFAULT_wxUSE_FFILE=yes
2284 DEFAULT_wxUSE_STDPATHS=yes
2285 DEFAULT_wxUSE_TEXTBUFFER=yes
2286 DEFAULT_wxUSE_TEXTFILE=yes
2287 DEFAULT_wxUSE_SOUND=yes
2288 DEFAULT_wxUSE_MEDIACTRL=no
2289 DEFAULT_wxUSE_INTL=yes
2290 DEFAULT_wxUSE_CONFIG=yes
2291 DEFAULT_wxUSE_FONTMAP=yes
2292 DEFAULT_wxUSE_STREAMS=yes
2293 DEFAULT_wxUSE_SOCKETS=yes
2294 DEFAULT_wxUSE_OLE=yes
2295 DEFAULT_wxUSE_DATAOBJ=yes
2296 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2297 DEFAULT_wxUSE_JOYSTICK=yes
2298 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2299 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2300 DEFAULT_wxUSE_LONGLONG=yes
2301 DEFAULT_wxUSE_GEOMETRY=yes
2302
2303 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2304 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2305 DEFAULT_wxUSE_POSTSCRIPT=yes
2306
2307 DEFAULT_wxUSE_CLIPBOARD=yes
2308 DEFAULT_wxUSE_TOOLTIPS=yes
2309 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2310 DEFAULT_wxUSE_DRAGIMAGE=yes
2311 DEFAULT_wxUSE_SPLINES=yes
2312 DEFAULT_wxUSE_MOUSEWHEEL=yes
2313
2314 DEFAULT_wxUSE_MDI=yes
2315 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2316 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2317 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2318
2319 DEFAULT_wxUSE_RESOURCES=no
2320 DEFAULT_wxUSE_CONSTRAINTS=yes
2321 DEFAULT_wxUSE_IPC=yes
2322 DEFAULT_wxUSE_HELP=yes
2323 DEFAULT_wxUSE_MS_HTML_HELP=yes
2324 DEFAULT_wxUSE_WXHTML_HELP=yes
2325 DEFAULT_wxUSE_TREELAYOUT=yes
2326 DEFAULT_wxUSE_METAFILE=yes
2327 DEFAULT_wxUSE_MIMETYPE=yes
2328 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2329 DEFAULT_wxUSE_PROTOCOL=yes
2330 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2331 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2332 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2333 DEFAULT_wxUSE_URL=yes
2334
2335 DEFAULT_wxUSE_COMMONDLGS=yes
2336 DEFAULT_wxUSE_CHOICEDLG=yes
2337 DEFAULT_wxUSE_COLOURDLG=yes
2338 DEFAULT_wxUSE_DIRDLG=yes
2339 DEFAULT_wxUSE_FILEDLG=yes
2340 DEFAULT_wxUSE_FINDREPLDLG=yes
2341 DEFAULT_wxUSE_FONTDLG=yes
2342 DEFAULT_wxUSE_MSGDLG=yes
2343 DEFAULT_wxUSE_NUMBERDLG=yes
2344 DEFAULT_wxUSE_TEXTDLG=yes
2345 DEFAULT_wxUSE_SPLASH=yes
2346 DEFAULT_wxUSE_STARTUP_TIPS=yes
2347 DEFAULT_wxUSE_PROGRESSDLG=yes
2348 DEFAULT_wxUSE_WIZARDDLG=yes
2349
2350 DEFAULT_wxUSE_MENUS=yes
2351 DEFAULT_wxUSE_MINIFRAME=yes
2352 DEFAULT_wxUSE_HTML=yes
2353 DEFAULT_wxUSE_XRC=yes
2354 DEFAULT_wxUSE_WEBKIT=yes
2355 DEFAULT_wxUSE_FILESYSTEM=yes
2356 DEFAULT_wxUSE_FS_INET=yes
2357 DEFAULT_wxUSE_FS_ZIP=yes
2358 DEFAULT_wxUSE_BUSYINFO=yes
2359 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2360 DEFAULT_wxUSE_ZIPSTREAM=yes
2361 DEFAULT_wxUSE_VALIDATORS=yes
2362
2363 DEFAULT_wxUSE_ACCEL=yes
2364 DEFAULT_wxUSE_BUTTON=yes
2365 DEFAULT_wxUSE_BMPBUTTON=yes
2366 DEFAULT_wxUSE_CALCTRL=yes
2367 DEFAULT_wxUSE_CARET=yes
2368 DEFAULT_wxUSE_CHECKBOX=yes
2369 DEFAULT_wxUSE_CHECKLST=yes
2370 DEFAULT_wxUSE_CHOICE=yes
2371 DEFAULT_wxUSE_CHOICEBOOK=yes
2372 DEFAULT_wxUSE_COMBOBOX=yes
2373 DEFAULT_wxUSE_DATEPICKCTRL=yes
2374 DEFAULT_wxUSE_DISPLAY=yes
2375 DEFAULT_wxUSE_GAUGE=yes
2376 DEFAULT_wxUSE_GRID=yes
2377 DEFAULT_wxUSE_IMAGLIST=yes
2378 DEFAULT_wxUSE_LISTBOOK=yes
2379 DEFAULT_wxUSE_LISTBOX=yes
2380 DEFAULT_wxUSE_LISTCTRL=yes
2381 DEFAULT_wxUSE_NOTEBOOK=yes
2382 DEFAULT_wxUSE_RADIOBOX=yes
2383 DEFAULT_wxUSE_RADIOBTN=yes
2384 DEFAULT_wxUSE_SASH=yes
2385 DEFAULT_wxUSE_SCROLLBAR=yes
2386 DEFAULT_wxUSE_SLIDER=yes
2387 DEFAULT_wxUSE_SPINBTN=yes
2388 DEFAULT_wxUSE_SPINCTRL=yes
2389 DEFAULT_wxUSE_SPLITTER=yes
2390 DEFAULT_wxUSE_STATBMP=yes
2391 DEFAULT_wxUSE_STATBOX=yes
2392 DEFAULT_wxUSE_STATLINE=yes
2393 DEFAULT_wxUSE_STATTEXT=yes
2394 DEFAULT_wxUSE_STATUSBAR=yes
2395 DEFAULT_wxUSE_TABDIALOG=no
2396 DEFAULT_wxUSE_TEXTCTRL=yes
2397 DEFAULT_wxUSE_TOGGLEBTN=yes
2398 DEFAULT_wxUSE_TOOLBAR=yes
2399 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2400 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2401 DEFAULT_wxUSE_TREECTRL=yes
2402 DEFAULT_wxUSE_POPUPWIN=yes
2403 DEFAULT_wxUSE_TIPWINDOW=yes
2404
2405 DEFAULT_wxUSE_UNICODE=no
2406 DEFAULT_wxUSE_UNICODE_MSLU=yes
2407 DEFAULT_wxUSE_WCSRTOMBS=no
2408
2409 DEFAULT_wxUSE_PALETTE=yes
2410 DEFAULT_wxUSE_IMAGE=yes
2411 DEFAULT_wxUSE_GIF=yes
2412 DEFAULT_wxUSE_PCX=yes
2413 DEFAULT_wxUSE_IFF=no
2414 DEFAULT_wxUSE_PNM=yes
2415 DEFAULT_wxUSE_XPM=yes
2416 DEFAULT_wxUSE_ICO_CUR=yes
2417 DEFAULT_wxUSE_ACCESSIBILITY=no
2418
2419 DEFAULT_wxUSE_MONOLITHIC=no
2420 DEFAULT_wxUSE_PLUGINS=no
2421 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2422
2423 DEFAULT_wxUSE_GTK2=yes
2424 fi
2425
2426
2427
2428
2429 for toolkit in `echo $ALL_TOOLKITS`; do
2430 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2431 if test "x$LINE" != "x" ; then
2432 has_toolkit_in_cache=1
2433 eval "DEFAULT_$LINE"
2434 eval "CACHE_$toolkit=1"
2435
2436 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2437 if test "x$LINE" != "x" ; then
2438 eval "DEFAULT_$LINE"
2439 fi
2440 fi
2441 done
2442
2443
2444
2445 enablestring=
2446 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2447 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2448 no_cache=0
2449 # Check whether --enable-gui or --disable-gui was given.
2450 if test "${enable_gui+set}" = set; then
2451 enableval="$enable_gui"
2452
2453 if test "$enableval" = yes; then
2454 ac_cv_use_gui='wxUSE_GUI=yes'
2455 else
2456 ac_cv_use_gui='wxUSE_GUI=no'
2457 fi
2458
2459 else
2460
2461 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2462 if test "x$LINE" != x ; then
2463 eval "DEFAULT_$LINE"
2464 else
2465 no_cache=1
2466 fi
2467
2468 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2469
2470 fi;
2471
2472 eval "$ac_cv_use_gui"
2473 if test "$no_cache" != 1; then
2474 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2475 fi
2476
2477 if test "$wxUSE_GUI" = yes; then
2478 echo "$as_me:$LINENO: result: yes" >&5
2479 echo "${ECHO_T}yes" >&6
2480 else
2481 echo "$as_me:$LINENO: result: no" >&5
2482 echo "${ECHO_T}no" >&6
2483 fi
2484
2485
2486 enablestring=
2487 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2488 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2489 no_cache=0
2490 # Check whether --enable-monolithic or --disable-monolithic was given.
2491 if test "${enable_monolithic+set}" = set; then
2492 enableval="$enable_monolithic"
2493
2494 if test "$enableval" = yes; then
2495 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2496 else
2497 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2498 fi
2499
2500 else
2501
2502 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2503 if test "x$LINE" != x ; then
2504 eval "DEFAULT_$LINE"
2505 else
2506 no_cache=1
2507 fi
2508
2509 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2510
2511 fi;
2512
2513 eval "$ac_cv_use_monolithic"
2514 if test "$no_cache" != 1; then
2515 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2516 fi
2517
2518 if test "$wxUSE_MONOLITHIC" = yes; then
2519 echo "$as_me:$LINENO: result: yes" >&5
2520 echo "${ECHO_T}yes" >&6
2521 else
2522 echo "$as_me:$LINENO: result: no" >&5
2523 echo "${ECHO_T}no" >&6
2524 fi
2525
2526
2527 enablestring=
2528 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2529 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2530 no_cache=0
2531 # Check whether --enable-plugins or --disable-plugins was given.
2532 if test "${enable_plugins+set}" = set; then
2533 enableval="$enable_plugins"
2534
2535 if test "$enableval" = yes; then
2536 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2537 else
2538 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2539 fi
2540
2541 else
2542
2543 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2544 if test "x$LINE" != x ; then
2545 eval "DEFAULT_$LINE"
2546 else
2547 no_cache=1
2548 fi
2549
2550 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2551
2552 fi;
2553
2554 eval "$ac_cv_use_plugins"
2555 if test "$no_cache" != 1; then
2556 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2557 fi
2558
2559 if test "$wxUSE_PLUGINS" = yes; then
2560 echo "$as_me:$LINENO: result: yes" >&5
2561 echo "${ECHO_T}yes" >&6
2562 else
2563 echo "$as_me:$LINENO: result: no" >&5
2564 echo "${ECHO_T}no" >&6
2565 fi
2566
2567
2568 if test "$wxUSE_GUI" = "yes"; then
2569
2570
2571 enablestring=
2572 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2573 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2574 no_cache=0
2575 # Check whether --enable-universal or --disable-universal was given.
2576 if test "${enable_universal+set}" = set; then
2577 enableval="$enable_universal"
2578
2579 if test "$enableval" = yes; then
2580 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2581 else
2582 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2583 fi
2584
2585 else
2586
2587 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2588 if test "x$LINE" != x ; then
2589 eval "DEFAULT_$LINE"
2590 else
2591 no_cache=1
2592 fi
2593
2594 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2595
2596 fi;
2597
2598 eval "$ac_cv_use_universal"
2599 if test "$no_cache" != 1; then
2600 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2601 fi
2602
2603 if test "$wxUSE_UNIVERSAL" = yes; then
2604 echo "$as_me:$LINENO: result: yes" >&5
2605 echo "${ECHO_T}yes" >&6
2606 else
2607 echo "$as_me:$LINENO: result: no" >&5
2608 echo "${ECHO_T}no" >&6
2609 fi
2610
2611
2612 # Check whether --with-gtk or --without-gtk was given.
2613 if test "${with_gtk+set}" = set; then
2614 withval="$with_gtk"
2615 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2616 fi;
2617
2618 # Check whether --with-motif or --without-motif was given.
2619 if test "${with_motif+set}" = set; then
2620 withval="$with_motif"
2621 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2622 fi;
2623
2624 # Check whether --with-mac or --without-mac was given.
2625 if test "${with_mac+set}" = set; then
2626 withval="$with_mac"
2627 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2628 fi;
2629
2630 # Check whether --with-cocoa or --without-cocoa was given.
2631 if test "${with_cocoa+set}" = set; then
2632 withval="$with_cocoa"
2633 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2634 fi;
2635
2636 # Check whether --with-wine or --without-wine was given.
2637 if test "${with_wine+set}" = set; then
2638 withval="$with_wine"
2639 wxUSE_WINE="$withval" CACHE_WINE=1
2640 fi;
2641
2642 # Check whether --with-msw or --without-msw was given.
2643 if test "${with_msw+set}" = set; then
2644 withval="$with_msw"
2645 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2646 fi;
2647
2648 # Check whether --with-pm or --without-pm was given.
2649 if test "${with_pm+set}" = set; then
2650 withval="$with_pm"
2651 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2652 fi;
2653
2654 # Check whether --with-mgl or --without-mgl was given.
2655 if test "${with_mgl+set}" = set; then
2656 withval="$with_mgl"
2657 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2658 fi;
2659
2660 # Check whether --with-microwin or --without-microwin was given.
2661 if test "${with_microwin+set}" = set; then
2662 withval="$with_microwin"
2663 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2664 fi;
2665
2666 # Check whether --with-x11 or --without-x11 was given.
2667 if test "${with_x11+set}" = set; then
2668 withval="$with_x11"
2669 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2670 fi;
2671
2672 enablestring=
2673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2674 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2675 no_cache=0
2676 # Check whether --enable-nanox or --disable-nanox was given.
2677 if test "${enable_nanox+set}" = set; then
2678 enableval="$enable_nanox"
2679
2680 if test "$enableval" = yes; then
2681 ac_cv_use_nanox='wxUSE_NANOX=yes'
2682 else
2683 ac_cv_use_nanox='wxUSE_NANOX=no'
2684 fi
2685
2686 else
2687
2688 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2689 if test "x$LINE" != x ; then
2690 eval "DEFAULT_$LINE"
2691 else
2692 no_cache=1
2693 fi
2694
2695 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2696
2697 fi;
2698
2699 eval "$ac_cv_use_nanox"
2700 if test "$no_cache" != 1; then
2701 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2702 fi
2703
2704 if test "$wxUSE_NANOX" = yes; then
2705 echo "$as_me:$LINENO: result: yes" >&5
2706 echo "${ECHO_T}yes" >&6
2707 else
2708 echo "$as_me:$LINENO: result: no" >&5
2709 echo "${ECHO_T}no" >&6
2710 fi
2711
2712
2713 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2714 if test "${enable_gtk2+set}" = set; then
2715 enableval="$enable_gtk2"
2716 wxUSE_GTK2="$enableval"
2717 fi;
2718
2719 enablestring=
2720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2721 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2722 no_cache=0
2723 # Check whether --enable-gpe or --disable-gpe was given.
2724 if test "${enable_gpe+set}" = set; then
2725 enableval="$enable_gpe"
2726
2727 if test "$enableval" = yes; then
2728 ac_cv_use_gpe='wxUSE_GPE=yes'
2729 else
2730 ac_cv_use_gpe='wxUSE_GPE=no'
2731 fi
2732
2733 else
2734
2735 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2736 if test "x$LINE" != x ; then
2737 eval "DEFAULT_$LINE"
2738 else
2739 no_cache=1
2740 fi
2741
2742 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2743
2744 fi;
2745
2746 eval "$ac_cv_use_gpe"
2747 if test "$no_cache" != 1; then
2748 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2749 fi
2750
2751 if test "$wxUSE_GPE" = yes; then
2752 echo "$as_me:$LINENO: result: yes" >&5
2753 echo "${ECHO_T}yes" >&6
2754 else
2755 echo "$as_me:$LINENO: result: no" >&5
2756 echo "${ECHO_T}no" >&6
2757 fi
2758
2759
2760
2761 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2762 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2763 no_cache=0
2764
2765 # Check whether --with-libpng or --without-libpng was given.
2766 if test "${with_libpng+set}" = set; then
2767 withval="$with_libpng"
2768
2769 if test "$withval" = yes; then
2770 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2771 elif test "$withval" = no; then
2772 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2773 elif test "$withval" = sys; then
2774 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2775 elif test "$withval" = builtin; then
2776 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2777 else
2778 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2779 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2780 { (exit 1); exit 1; }; }
2781 fi
2782
2783 else
2784
2785 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2786 if test "x$LINE" != x ; then
2787 eval "DEFAULT_$LINE"
2788 else
2789 no_cache=1
2790 fi
2791
2792 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2793
2794 fi;
2795
2796 eval "$ac_cv_use_libpng"
2797 if test "$no_cache" != 1; then
2798 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2799 fi
2800
2801 if test "$wxUSE_LIBPNG" = yes; then
2802 echo "$as_me:$LINENO: result: yes" >&5
2803 echo "${ECHO_T}yes" >&6
2804 elif test "$wxUSE_LIBPNG" = no; then
2805 echo "$as_me:$LINENO: result: no" >&5
2806 echo "${ECHO_T}no" >&6
2807 elif test "$wxUSE_LIBPNG" = sys; then
2808 echo "$as_me:$LINENO: result: system version" >&5
2809 echo "${ECHO_T}system version" >&6
2810 elif test "$wxUSE_LIBPNG" = builtin; then
2811 echo "$as_me:$LINENO: result: builtin version" >&5
2812 echo "${ECHO_T}builtin version" >&6
2813 else
2814 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2815 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2816 { (exit 1); exit 1; }; }
2817 fi
2818
2819
2820 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2821 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2822 no_cache=0
2823
2824 # Check whether --with-libjpeg or --without-libjpeg was given.
2825 if test "${with_libjpeg+set}" = set; then
2826 withval="$with_libjpeg"
2827
2828 if test "$withval" = yes; then
2829 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2830 elif test "$withval" = no; then
2831 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2832 elif test "$withval" = sys; then
2833 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2834 elif test "$withval" = builtin; then
2835 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2836 else
2837 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2838 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2839 { (exit 1); exit 1; }; }
2840 fi
2841
2842 else
2843
2844 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2845 if test "x$LINE" != x ; then
2846 eval "DEFAULT_$LINE"
2847 else
2848 no_cache=1
2849 fi
2850
2851 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2852
2853 fi;
2854
2855 eval "$ac_cv_use_libjpeg"
2856 if test "$no_cache" != 1; then
2857 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2858 fi
2859
2860 if test "$wxUSE_LIBJPEG" = yes; then
2861 echo "$as_me:$LINENO: result: yes" >&5
2862 echo "${ECHO_T}yes" >&6
2863 elif test "$wxUSE_LIBJPEG" = no; then
2864 echo "$as_me:$LINENO: result: no" >&5
2865 echo "${ECHO_T}no" >&6
2866 elif test "$wxUSE_LIBJPEG" = sys; then
2867 echo "$as_me:$LINENO: result: system version" >&5
2868 echo "${ECHO_T}system version" >&6
2869 elif test "$wxUSE_LIBJPEG" = builtin; then
2870 echo "$as_me:$LINENO: result: builtin version" >&5
2871 echo "${ECHO_T}builtin version" >&6
2872 else
2873 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2874 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2875 { (exit 1); exit 1; }; }
2876 fi
2877
2878
2879 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2880 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2881 no_cache=0
2882
2883 # Check whether --with-libtiff or --without-libtiff was given.
2884 if test "${with_libtiff+set}" = set; then
2885 withval="$with_libtiff"
2886
2887 if test "$withval" = yes; then
2888 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2889 elif test "$withval" = no; then
2890 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2891 elif test "$withval" = sys; then
2892 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2893 elif test "$withval" = builtin; then
2894 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2895 else
2896 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2897 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2898 { (exit 1); exit 1; }; }
2899 fi
2900
2901 else
2902
2903 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2904 if test "x$LINE" != x ; then
2905 eval "DEFAULT_$LINE"
2906 else
2907 no_cache=1
2908 fi
2909
2910 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2911
2912 fi;
2913
2914 eval "$ac_cv_use_libtiff"
2915 if test "$no_cache" != 1; then
2916 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2917 fi
2918
2919 if test "$wxUSE_LIBTIFF" = yes; then
2920 echo "$as_me:$LINENO: result: yes" >&5
2921 echo "${ECHO_T}yes" >&6
2922 elif test "$wxUSE_LIBTIFF" = no; then
2923 echo "$as_me:$LINENO: result: no" >&5
2924 echo "${ECHO_T}no" >&6
2925 elif test "$wxUSE_LIBTIFF" = sys; then
2926 echo "$as_me:$LINENO: result: system version" >&5
2927 echo "${ECHO_T}system version" >&6
2928 elif test "$wxUSE_LIBTIFF" = builtin; then
2929 echo "$as_me:$LINENO: result: builtin version" >&5
2930 echo "${ECHO_T}builtin version" >&6
2931 else
2932 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2933 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2934 { (exit 1); exit 1; }; }
2935 fi
2936
2937
2938 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2939 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2940 no_cache=0
2941
2942 # Check whether --with-libxpm or --without-libxpm was given.
2943 if test "${with_libxpm+set}" = set; then
2944 withval="$with_libxpm"
2945
2946 if test "$withval" = yes; then
2947 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
2948 elif test "$withval" = no; then
2949 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
2950 elif test "$withval" = sys; then
2951 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
2952 elif test "$withval" = builtin; then
2953 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
2954 else
2955 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2956 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2957 { (exit 1); exit 1; }; }
2958 fi
2959
2960 else
2961
2962 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2963 if test "x$LINE" != x ; then
2964 eval "DEFAULT_$LINE"
2965 else
2966 no_cache=1
2967 fi
2968
2969 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2970
2971 fi;
2972
2973 eval "$ac_cv_use_libxpm"
2974 if test "$no_cache" != 1; then
2975 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2976 fi
2977
2978 if test "$wxUSE_LIBXPM" = yes; then
2979 echo "$as_me:$LINENO: result: yes" >&5
2980 echo "${ECHO_T}yes" >&6
2981 elif test "$wxUSE_LIBXPM" = no; then
2982 echo "$as_me:$LINENO: result: no" >&5
2983 echo "${ECHO_T}no" >&6
2984 elif test "$wxUSE_LIBXPM" = sys; then
2985 echo "$as_me:$LINENO: result: system version" >&5
2986 echo "${ECHO_T}system version" >&6
2987 elif test "$wxUSE_LIBXPM" = builtin; then
2988 echo "$as_me:$LINENO: result: builtin version" >&5
2989 echo "${ECHO_T}builtin version" >&6
2990 else
2991 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2992 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2993 { (exit 1); exit 1; }; }
2994 fi
2995
2996
2997 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
2998 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
2999 no_cache=0
3000
3001 # Check whether --with-libmspack or --without-libmspack was given.
3002 if test "${with_libmspack+set}" = set; then
3003 withval="$with_libmspack"
3004
3005 if test "$withval" = yes; then
3006 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3007 else
3008 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3009 fi
3010
3011 else
3012
3013 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3014 if test "x$LINE" != x ; then
3015 eval "DEFAULT_$LINE"
3016 else
3017 no_cache=1
3018 fi
3019
3020 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3021
3022 fi;
3023
3024 eval "$ac_cv_use_libmspack"
3025 if test "$no_cache" != 1; then
3026 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3027 fi
3028
3029 if test "$wxUSE_LIBMSPACK" = yes; then
3030 echo "$as_me:$LINENO: result: yes" >&5
3031 echo "${ECHO_T}yes" >&6
3032 else
3033 echo "$as_me:$LINENO: result: no" >&5
3034 echo "${ECHO_T}no" >&6
3035 fi
3036
3037
3038 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3039 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3040 no_cache=0
3041
3042 # Check whether --with-sdl or --without-sdl was given.
3043 if test "${with_sdl+set}" = set; then
3044 withval="$with_sdl"
3045
3046 if test "$withval" = yes; then
3047 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3048 else
3049 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3050 fi
3051
3052 else
3053
3054 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3055 if test "x$LINE" != x ; then
3056 eval "DEFAULT_$LINE"
3057 else
3058 no_cache=1
3059 fi
3060
3061 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3062
3063 fi;
3064
3065 eval "$ac_cv_use_sdl"
3066 if test "$no_cache" != 1; then
3067 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3068 fi
3069
3070 if test "$wxUSE_LIBSDL" = yes; then
3071 echo "$as_me:$LINENO: result: yes" >&5
3072 echo "${ECHO_T}yes" >&6
3073 else
3074 echo "$as_me:$LINENO: result: no" >&5
3075 echo "${ECHO_T}no" >&6
3076 fi
3077
3078
3079 echo "$as_me:$LINENO: checking for --with-gnomeprint" >&5
3080 echo $ECHO_N "checking for --with-gnomeprint... $ECHO_C" >&6
3081 no_cache=0
3082
3083 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3084 if test "${with_gnomeprint+set}" = set; then
3085 withval="$with_gnomeprint"
3086
3087 if test "$withval" = yes; then
3088 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3089 else
3090 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3091 fi
3092
3093 else
3094
3095 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3096 if test "x$LINE" != x ; then
3097 eval "DEFAULT_$LINE"
3098 else
3099 no_cache=1
3100 fi
3101
3102 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3103
3104 fi;
3105
3106 eval "$ac_cv_use_gnomeprint"
3107 if test "$no_cache" != 1; then
3108 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3109 fi
3110
3111 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3112 echo "$as_me:$LINENO: result: yes" >&5
3113 echo "${ECHO_T}yes" >&6
3114 else
3115 echo "$as_me:$LINENO: result: no" >&5
3116 echo "${ECHO_T}no" >&6
3117 fi
3118
3119
3120 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3121 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3122 no_cache=0
3123
3124 # Check whether --with-opengl or --without-opengl was given.
3125 if test "${with_opengl+set}" = set; then
3126 withval="$with_opengl"
3127
3128 if test "$withval" = yes; then
3129 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3130 else
3131 ac_cv_use_opengl='wxUSE_OPENGL=no'
3132 fi
3133
3134 else
3135
3136 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3137 if test "x$LINE" != x ; then
3138 eval "DEFAULT_$LINE"
3139 else
3140 no_cache=1
3141 fi
3142
3143 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3144
3145 fi;
3146
3147 eval "$ac_cv_use_opengl"
3148 if test "$no_cache" != 1; then
3149 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3150 fi
3151
3152 if test "$wxUSE_OPENGL" = yes; then
3153 echo "$as_me:$LINENO: result: yes" >&5
3154 echo "${ECHO_T}yes" >&6
3155 else
3156 echo "$as_me:$LINENO: result: no" >&5
3157 echo "${ECHO_T}no" >&6
3158 fi
3159
3160
3161 fi
3162
3163
3164 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3165 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3166 no_cache=0
3167
3168 # Check whether --with-dmalloc or --without-dmalloc was given.
3169 if test "${with_dmalloc+set}" = set; then
3170 withval="$with_dmalloc"
3171
3172 if test "$withval" = yes; then
3173 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3174 else
3175 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3176 fi
3177
3178 else
3179
3180 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3181 if test "x$LINE" != x ; then
3182 eval "DEFAULT_$LINE"
3183 else
3184 no_cache=1
3185 fi
3186
3187 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3188
3189 fi;
3190
3191 eval "$ac_cv_use_dmalloc"
3192 if test "$no_cache" != 1; then
3193 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3194 fi
3195
3196 if test "$wxUSE_DMALLOC" = yes; then
3197 echo "$as_me:$LINENO: result: yes" >&5
3198 echo "${ECHO_T}yes" >&6
3199 else
3200 echo "$as_me:$LINENO: result: no" >&5
3201 echo "${ECHO_T}no" >&6
3202 fi
3203
3204
3205 echo "$as_me:$LINENO: checking for --with-regex" >&5
3206 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3207 no_cache=0
3208
3209 # Check whether --with-regex or --without-regex was given.
3210 if test "${with_regex+set}" = set; then
3211 withval="$with_regex"
3212
3213 if test "$withval" = yes; then
3214 ac_cv_use_regex='wxUSE_REGEX=yes'
3215 elif test "$withval" = no; then
3216 ac_cv_use_regex='wxUSE_REGEX=no'
3217 elif test "$withval" = sys; then
3218 ac_cv_use_regex='wxUSE_REGEX=sys'
3219 elif test "$withval" = builtin; then
3220 ac_cv_use_regex='wxUSE_REGEX=builtin'
3221 else
3222 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3223 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3224 { (exit 1); exit 1; }; }
3225 fi
3226
3227 else
3228
3229 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3230 if test "x$LINE" != x ; then
3231 eval "DEFAULT_$LINE"
3232 else
3233 no_cache=1
3234 fi
3235
3236 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3237
3238 fi;
3239
3240 eval "$ac_cv_use_regex"
3241 if test "$no_cache" != 1; then
3242 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3243 fi
3244
3245 if test "$wxUSE_REGEX" = yes; then
3246 echo "$as_me:$LINENO: result: yes" >&5
3247 echo "${ECHO_T}yes" >&6
3248 elif test "$wxUSE_REGEX" = no; then
3249 echo "$as_me:$LINENO: result: no" >&5
3250 echo "${ECHO_T}no" >&6
3251 elif test "$wxUSE_REGEX" = sys; then
3252 echo "$as_me:$LINENO: result: system version" >&5
3253 echo "${ECHO_T}system version" >&6
3254 elif test "$wxUSE_REGEX" = builtin; then
3255 echo "$as_me:$LINENO: result: builtin version" >&5
3256 echo "${ECHO_T}builtin version" >&6
3257 else
3258 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3259 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3260 { (exit 1); exit 1; }; }
3261 fi
3262
3263
3264 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3265 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3266 no_cache=0
3267
3268 # Check whether --with-zlib or --without-zlib was given.
3269 if test "${with_zlib+set}" = set; then
3270 withval="$with_zlib"
3271
3272 if test "$withval" = yes; then
3273 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3274 elif test "$withval" = no; then
3275 ac_cv_use_zlib='wxUSE_ZLIB=no'
3276 elif test "$withval" = sys; then
3277 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3278 elif test "$withval" = builtin; then
3279 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3280 else
3281 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3282 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3283 { (exit 1); exit 1; }; }
3284 fi
3285
3286 else
3287
3288 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3289 if test "x$LINE" != x ; then
3290 eval "DEFAULT_$LINE"
3291 else
3292 no_cache=1
3293 fi
3294
3295 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3296
3297 fi;
3298
3299 eval "$ac_cv_use_zlib"
3300 if test "$no_cache" != 1; then
3301 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3302 fi
3303
3304 if test "$wxUSE_ZLIB" = yes; then
3305 echo "$as_me:$LINENO: result: yes" >&5
3306 echo "${ECHO_T}yes" >&6
3307 elif test "$wxUSE_ZLIB" = no; then
3308 echo "$as_me:$LINENO: result: no" >&5
3309 echo "${ECHO_T}no" >&6
3310 elif test "$wxUSE_ZLIB" = sys; then
3311 echo "$as_me:$LINENO: result: system version" >&5
3312 echo "${ECHO_T}system version" >&6
3313 elif test "$wxUSE_ZLIB" = builtin; then
3314 echo "$as_me:$LINENO: result: builtin version" >&5
3315 echo "${ECHO_T}builtin version" >&6
3316 else
3317 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3318 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3319 { (exit 1); exit 1; }; }
3320 fi
3321
3322
3323 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3324 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3325 no_cache=0
3326
3327 # Check whether --with-odbc or --without-odbc was given.
3328 if test "${with_odbc+set}" = set; then
3329 withval="$with_odbc"
3330
3331 if test "$withval" = yes; then
3332 ac_cv_use_odbc='wxUSE_ODBC=yes'
3333 elif test "$withval" = no; then
3334 ac_cv_use_odbc='wxUSE_ODBC=no'
3335 elif test "$withval" = sys; then
3336 ac_cv_use_odbc='wxUSE_ODBC=sys'
3337 elif test "$withval" = builtin; then
3338 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3339 else
3340 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3341 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3342 { (exit 1); exit 1; }; }
3343 fi
3344
3345 else
3346
3347 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3348 if test "x$LINE" != x ; then
3349 eval "DEFAULT_$LINE"
3350 else
3351 no_cache=1
3352 fi
3353
3354 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3355
3356 fi;
3357
3358 eval "$ac_cv_use_odbc"
3359 if test "$no_cache" != 1; then
3360 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3361 fi
3362
3363 if test "$wxUSE_ODBC" = yes; then
3364 echo "$as_me:$LINENO: result: yes" >&5
3365 echo "${ECHO_T}yes" >&6
3366 elif test "$wxUSE_ODBC" = no; then
3367 echo "$as_me:$LINENO: result: no" >&5
3368 echo "${ECHO_T}no" >&6
3369 elif test "$wxUSE_ODBC" = sys; then
3370 echo "$as_me:$LINENO: result: system version" >&5
3371 echo "${ECHO_T}system version" >&6
3372 elif test "$wxUSE_ODBC" = builtin; then
3373 echo "$as_me:$LINENO: result: builtin version" >&5
3374 echo "${ECHO_T}builtin version" >&6
3375 else
3376 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3377 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3378 { (exit 1); exit 1; }; }
3379 fi
3380
3381
3382 echo "$as_me:$LINENO: checking for --with-expat" >&5
3383 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3384 no_cache=0
3385
3386 # Check whether --with-expat or --without-expat was given.
3387 if test "${with_expat+set}" = set; then
3388 withval="$with_expat"
3389
3390 if test "$withval" = yes; then
3391 ac_cv_use_expat='wxUSE_EXPAT=yes'
3392 elif test "$withval" = no; then
3393 ac_cv_use_expat='wxUSE_EXPAT=no'
3394 elif test "$withval" = sys; then
3395 ac_cv_use_expat='wxUSE_EXPAT=sys'
3396 elif test "$withval" = builtin; then
3397 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3398 else
3399 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3400 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3401 { (exit 1); exit 1; }; }
3402 fi
3403
3404 else
3405
3406 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3407 if test "x$LINE" != x ; then
3408 eval "DEFAULT_$LINE"
3409 else
3410 no_cache=1
3411 fi
3412
3413 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3414
3415 fi;
3416
3417 eval "$ac_cv_use_expat"
3418 if test "$no_cache" != 1; then
3419 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3420 fi
3421
3422 if test "$wxUSE_EXPAT" = yes; then
3423 echo "$as_me:$LINENO: result: yes" >&5
3424 echo "${ECHO_T}yes" >&6
3425 elif test "$wxUSE_EXPAT" = no; then
3426 echo "$as_me:$LINENO: result: no" >&5
3427 echo "${ECHO_T}no" >&6
3428 elif test "$wxUSE_EXPAT" = sys; then
3429 echo "$as_me:$LINENO: result: system version" >&5
3430 echo "${ECHO_T}system version" >&6
3431 elif test "$wxUSE_EXPAT" = builtin; then
3432 echo "$as_me:$LINENO: result: builtin version" >&5
3433 echo "${ECHO_T}builtin version" >&6
3434 else
3435 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3436 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3437 { (exit 1); exit 1; }; }
3438 fi
3439
3440
3441
3442
3443 enablestring=
3444 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3445 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3446 no_cache=0
3447 # Check whether --enable-shared or --disable-shared was given.
3448 if test "${enable_shared+set}" = set; then
3449 enableval="$enable_shared"
3450
3451 if test "$enableval" = yes; then
3452 ac_cv_use_shared='wxUSE_SHARED=yes'
3453 else
3454 ac_cv_use_shared='wxUSE_SHARED=no'
3455 fi
3456
3457 else
3458
3459 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3460 if test "x$LINE" != x ; then
3461 eval "DEFAULT_$LINE"
3462 else
3463 no_cache=1
3464 fi
3465
3466 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3467
3468 fi;
3469
3470 eval "$ac_cv_use_shared"
3471 if test "$no_cache" != 1; then
3472 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3473 fi
3474
3475 if test "$wxUSE_SHARED" = yes; then
3476 echo "$as_me:$LINENO: result: yes" >&5
3477 echo "${ECHO_T}yes" >&6
3478 else
3479 echo "$as_me:$LINENO: result: no" >&5
3480 echo "${ECHO_T}no" >&6
3481 fi
3482
3483
3484 enablestring=
3485 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3486 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3487 no_cache=0
3488 # Check whether --enable-optimise or --disable-optimise was given.
3489 if test "${enable_optimise+set}" = set; then
3490 enableval="$enable_optimise"
3491
3492 if test "$enableval" = yes; then
3493 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3494 else
3495 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3496 fi
3497
3498 else
3499
3500 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3501 if test "x$LINE" != x ; then
3502 eval "DEFAULT_$LINE"
3503 else
3504 no_cache=1
3505 fi
3506
3507 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3508
3509 fi;
3510
3511 eval "$ac_cv_use_optimise"
3512 if test "$no_cache" != 1; then
3513 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3514 fi
3515
3516 if test "$wxUSE_OPTIMISE" = yes; then
3517 echo "$as_me:$LINENO: result: yes" >&5
3518 echo "${ECHO_T}yes" >&6
3519 else
3520 echo "$as_me:$LINENO: result: no" >&5
3521 echo "${ECHO_T}no" >&6
3522 fi
3523
3524
3525 enablestring=
3526 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3527 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3528 no_cache=0
3529 # Check whether --enable-debug or --disable-debug was given.
3530 if test "${enable_debug+set}" = set; then
3531 enableval="$enable_debug"
3532
3533 if test "$enableval" = yes; then
3534 ac_cv_use_debug='wxUSE_DEBUG=yes'
3535 else
3536 ac_cv_use_debug='wxUSE_DEBUG=no'
3537 fi
3538
3539 else
3540
3541 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3542 if test "x$LINE" != x ; then
3543 eval "DEFAULT_$LINE"
3544 else
3545 no_cache=1
3546 fi
3547
3548 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3549
3550 fi;
3551
3552 eval "$ac_cv_use_debug"
3553 if test "$no_cache" != 1; then
3554 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3555 fi
3556
3557 if test "$wxUSE_DEBUG" = yes; then
3558 echo "$as_me:$LINENO: result: yes" >&5
3559 echo "${ECHO_T}yes" >&6
3560 else
3561 echo "$as_me:$LINENO: result: no" >&5
3562 echo "${ECHO_T}no" >&6
3563 fi
3564
3565
3566 enablestring=
3567 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3568 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3569 no_cache=0
3570 # Check whether --enable-stl or --disable-stl was given.
3571 if test "${enable_stl+set}" = set; then
3572 enableval="$enable_stl"
3573
3574 if test "$enableval" = yes; then
3575 ac_cv_use_stl='wxUSE_STL=yes'
3576 else
3577 ac_cv_use_stl='wxUSE_STL=no'
3578 fi
3579
3580 else
3581
3582 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3583 if test "x$LINE" != x ; then
3584 eval "DEFAULT_$LINE"
3585 else
3586 no_cache=1
3587 fi
3588
3589 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3590
3591 fi;
3592
3593 eval "$ac_cv_use_stl"
3594 if test "$no_cache" != 1; then
3595 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3596 fi
3597
3598 if test "$wxUSE_STL" = yes; then
3599 echo "$as_me:$LINENO: result: yes" >&5
3600 echo "${ECHO_T}yes" >&6
3601 else
3602 echo "$as_me:$LINENO: result: no" >&5
3603 echo "${ECHO_T}no" >&6
3604 fi
3605
3606 if test "$USE_OS2" = "1"; then
3607 DEFAULT_wxUSE_OMF=no
3608
3609 enablestring=
3610 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3611 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3612 no_cache=0
3613 # Check whether --enable-omf or --disable-omf was given.
3614 if test "${enable_omf+set}" = set; then
3615 enableval="$enable_omf"
3616
3617 if test "$enableval" = yes; then
3618 ac_cv_use_omf='wxUSE_OMF=yes'
3619 else
3620 ac_cv_use_omf='wxUSE_OMF=no'
3621 fi
3622
3623 else
3624
3625 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3626 if test "x$LINE" != x ; then
3627 eval "DEFAULT_$LINE"
3628 else
3629 no_cache=1
3630 fi
3631
3632 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3633
3634 fi;
3635
3636 eval "$ac_cv_use_omf"
3637 if test "$no_cache" != 1; then
3638 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3639 fi
3640
3641 if test "$wxUSE_OMF" = yes; then
3642 echo "$as_me:$LINENO: result: yes" >&5
3643 echo "${ECHO_T}yes" >&6
3644 else
3645 echo "$as_me:$LINENO: result: no" >&5
3646 echo "${ECHO_T}no" >&6
3647 fi
3648
3649 fi
3650
3651 if test "$wxUSE_DEBUG" = "yes"; then
3652 DEFAULT_wxUSE_DEBUG_FLAG=yes
3653 DEFAULT_wxUSE_DEBUG_INFO=yes
3654 BUILD=debug
3655 elif test "$wxUSE_DEBUG" = "no"; then
3656 DEFAULT_wxUSE_DEBUG_FLAG=no
3657 DEFAULT_wxUSE_DEBUG_INFO=no
3658 BUILD=release
3659 fi
3660
3661
3662 enablestring=
3663 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3664 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3665 no_cache=0
3666 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3667 if test "${enable_debug_flag+set}" = set; then
3668 enableval="$enable_debug_flag"
3669
3670 if test "$enableval" = yes; then
3671 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3672 else
3673 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3674 fi
3675
3676 else
3677
3678 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3679 if test "x$LINE" != x ; then
3680 eval "DEFAULT_$LINE"
3681 else
3682 no_cache=1
3683 fi
3684
3685 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3686
3687 fi;
3688
3689 eval "$ac_cv_use_debug_flag"
3690 if test "$no_cache" != 1; then
3691 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3692 fi
3693
3694 if test "$wxUSE_DEBUG_FLAG" = yes; then
3695 echo "$as_me:$LINENO: result: yes" >&5
3696 echo "${ECHO_T}yes" >&6
3697 else
3698 echo "$as_me:$LINENO: result: no" >&5
3699 echo "${ECHO_T}no" >&6
3700 fi
3701
3702
3703 enablestring=
3704 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3705 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3706 no_cache=0
3707 # Check whether --enable-debug_info or --disable-debug_info was given.
3708 if test "${enable_debug_info+set}" = set; then
3709 enableval="$enable_debug_info"
3710
3711 if test "$enableval" = yes; then
3712 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3713 else
3714 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3715 fi
3716
3717 else
3718
3719 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3720 if test "x$LINE" != x ; then
3721 eval "DEFAULT_$LINE"
3722 else
3723 no_cache=1
3724 fi
3725
3726 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3727
3728 fi;
3729
3730 eval "$ac_cv_use_debug_info"
3731 if test "$no_cache" != 1; then
3732 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3733 fi
3734
3735 if test "$wxUSE_DEBUG_INFO" = yes; then
3736 echo "$as_me:$LINENO: result: yes" >&5
3737 echo "${ECHO_T}yes" >&6
3738 else
3739 echo "$as_me:$LINENO: result: no" >&5
3740 echo "${ECHO_T}no" >&6
3741 fi
3742
3743
3744 enablestring=
3745 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3746 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3747 no_cache=0
3748 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3749 if test "${enable_debug_gdb+set}" = set; then
3750 enableval="$enable_debug_gdb"
3751
3752 if test "$enableval" = yes; then
3753 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3754 else
3755 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3756 fi
3757
3758 else
3759
3760 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3761 if test "x$LINE" != x ; then
3762 eval "DEFAULT_$LINE"
3763 else
3764 no_cache=1
3765 fi
3766
3767 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3768
3769 fi;
3770
3771 eval "$ac_cv_use_debug_gdb"
3772 if test "$no_cache" != 1; then
3773 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3774 fi
3775
3776 if test "$wxUSE_DEBUG_GDB" = yes; then
3777 echo "$as_me:$LINENO: result: yes" >&5
3778 echo "${ECHO_T}yes" >&6
3779 else
3780 echo "$as_me:$LINENO: result: no" >&5
3781 echo "${ECHO_T}no" >&6
3782 fi
3783
3784
3785 enablestring=
3786 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3787 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3788 no_cache=0
3789 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3790 if test "${enable_debug_cntxt+set}" = set; then
3791 enableval="$enable_debug_cntxt"
3792
3793 if test "$enableval" = yes; then
3794 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3795 else
3796 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3797 fi
3798
3799 else
3800
3801 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3802 if test "x$LINE" != x ; then
3803 eval "DEFAULT_$LINE"
3804 else
3805 no_cache=1
3806 fi
3807
3808 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3809
3810 fi;
3811
3812 eval "$ac_cv_use_debug_cntxt"
3813 if test "$no_cache" != 1; then
3814 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3815 fi
3816
3817 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3818 echo "$as_me:$LINENO: result: yes" >&5
3819 echo "${ECHO_T}yes" >&6
3820 else
3821 echo "$as_me:$LINENO: result: no" >&5
3822 echo "${ECHO_T}no" >&6
3823 fi
3824
3825
3826 enablestring=
3827 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3828 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3829 no_cache=0
3830 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3831 if test "${enable_mem_tracing+set}" = set; then
3832 enableval="$enable_mem_tracing"
3833
3834 if test "$enableval" = yes; then
3835 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3836 else
3837 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3838 fi
3839
3840 else
3841
3842 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3843 if test "x$LINE" != x ; then
3844 eval "DEFAULT_$LINE"
3845 else
3846 no_cache=1
3847 fi
3848
3849 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3850
3851 fi;
3852
3853 eval "$ac_cv_use_mem_tracing"
3854 if test "$no_cache" != 1; then
3855 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3856 fi
3857
3858 if test "$wxUSE_MEM_TRACING" = yes; then
3859 echo "$as_me:$LINENO: result: yes" >&5
3860 echo "${ECHO_T}yes" >&6
3861 else
3862 echo "$as_me:$LINENO: result: no" >&5
3863 echo "${ECHO_T}no" >&6
3864 fi
3865
3866
3867 enablestring=
3868 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3869 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3870 no_cache=0
3871 # Check whether --enable-profile or --disable-profile was given.
3872 if test "${enable_profile+set}" = set; then
3873 enableval="$enable_profile"
3874
3875 if test "$enableval" = yes; then
3876 ac_cv_use_profile='wxUSE_PROFILE=yes'
3877 else
3878 ac_cv_use_profile='wxUSE_PROFILE=no'
3879 fi
3880
3881 else
3882
3883 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3884 if test "x$LINE" != x ; then
3885 eval "DEFAULT_$LINE"
3886 else
3887 no_cache=1
3888 fi
3889
3890 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3891
3892 fi;
3893
3894 eval "$ac_cv_use_profile"
3895 if test "$no_cache" != 1; then
3896 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3897 fi
3898
3899 if test "$wxUSE_PROFILE" = yes; then
3900 echo "$as_me:$LINENO: result: yes" >&5
3901 echo "${ECHO_T}yes" >&6
3902 else
3903 echo "$as_me:$LINENO: result: no" >&5
3904 echo "${ECHO_T}no" >&6
3905 fi
3906
3907
3908 enablestring=
3909 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3910 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3911 no_cache=0
3912 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3913 if test "${enable_no_rtti+set}" = set; then
3914 enableval="$enable_no_rtti"
3915
3916 if test "$enableval" = yes; then
3917 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3918 else
3919 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3920 fi
3921
3922 else
3923
3924 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3925 if test "x$LINE" != x ; then
3926 eval "DEFAULT_$LINE"
3927 else
3928 no_cache=1
3929 fi
3930
3931 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3932
3933 fi;
3934
3935 eval "$ac_cv_use_no_rtti"
3936 if test "$no_cache" != 1; then
3937 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3938 fi
3939
3940 if test "$wxUSE_NO_RTTI" = yes; then
3941 echo "$as_me:$LINENO: result: yes" >&5
3942 echo "${ECHO_T}yes" >&6
3943 else
3944 echo "$as_me:$LINENO: result: no" >&5
3945 echo "${ECHO_T}no" >&6
3946 fi
3947
3948
3949 enablestring=
3950 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3951 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3952 no_cache=0
3953 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3954 if test "${enable_no_exceptions+set}" = set; then
3955 enableval="$enable_no_exceptions"
3956
3957 if test "$enableval" = yes; then
3958 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3959 else
3960 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3961 fi
3962
3963 else
3964
3965 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3966 if test "x$LINE" != x ; then
3967 eval "DEFAULT_$LINE"
3968 else
3969 no_cache=1
3970 fi
3971
3972 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3973
3974 fi;
3975
3976 eval "$ac_cv_use_no_exceptions"
3977 if test "$no_cache" != 1; then
3978 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3979 fi
3980
3981 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3982 echo "$as_me:$LINENO: result: yes" >&5
3983 echo "${ECHO_T}yes" >&6
3984 else
3985 echo "$as_me:$LINENO: result: no" >&5
3986 echo "${ECHO_T}no" >&6
3987 fi
3988
3989
3990 enablestring=
3991 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3992 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3993 no_cache=0
3994 # Check whether --enable-permissive or --disable-permissive was given.
3995 if test "${enable_permissive+set}" = set; then
3996 enableval="$enable_permissive"
3997
3998 if test "$enableval" = yes; then
3999 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4000 else
4001 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4002 fi
4003
4004 else
4005
4006 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4007 if test "x$LINE" != x ; then
4008 eval "DEFAULT_$LINE"
4009 else
4010 no_cache=1
4011 fi
4012
4013 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4014
4015 fi;
4016
4017 eval "$ac_cv_use_permissive"
4018 if test "$no_cache" != 1; then
4019 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4020 fi
4021
4022 if test "$wxUSE_PERMISSIVE" = yes; then
4023 echo "$as_me:$LINENO: result: yes" >&5
4024 echo "${ECHO_T}yes" >&6
4025 else
4026 echo "$as_me:$LINENO: result: no" >&5
4027 echo "${ECHO_T}no" >&6
4028 fi
4029
4030
4031 enablestring=
4032 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4033 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4034 no_cache=0
4035 # Check whether --enable-no_deps or --disable-no_deps was given.
4036 if test "${enable_no_deps+set}" = set; then
4037 enableval="$enable_no_deps"
4038
4039 if test "$enableval" = yes; then
4040 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4041 else
4042 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4043 fi
4044
4045 else
4046
4047 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4048 if test "x$LINE" != x ; then
4049 eval "DEFAULT_$LINE"
4050 else
4051 no_cache=1
4052 fi
4053
4054 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4055
4056 fi;
4057
4058 eval "$ac_cv_use_no_deps"
4059 if test "$no_cache" != 1; then
4060 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4061 fi
4062
4063 if test "$wxUSE_NO_DEPS" = yes; then
4064 echo "$as_me:$LINENO: result: yes" >&5
4065 echo "${ECHO_T}yes" >&6
4066 else
4067 echo "$as_me:$LINENO: result: no" >&5
4068 echo "${ECHO_T}no" >&6
4069 fi
4070
4071
4072
4073 enablestring=
4074 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4075 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4076 no_cache=0
4077 # Check whether --enable-compat22 or --disable-compat22 was given.
4078 if test "${enable_compat22+set}" = set; then
4079 enableval="$enable_compat22"
4080
4081 if test "$enableval" = yes; then
4082 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
4083 else
4084 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
4085 fi
4086
4087 else
4088
4089 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4090 if test "x$LINE" != x ; then
4091 eval "DEFAULT_$LINE"
4092 else
4093 no_cache=1
4094 fi
4095
4096 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4097
4098 fi;
4099
4100 eval "$ac_cv_use_compat22"
4101 if test "$no_cache" != 1; then
4102 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4103 fi
4104
4105 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4106 echo "$as_me:$LINENO: result: yes" >&5
4107 echo "${ECHO_T}yes" >&6
4108 else
4109 echo "$as_me:$LINENO: result: no" >&5
4110 echo "${ECHO_T}no" >&6
4111 fi
4112
4113
4114 enablestring=disable
4115 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4116 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4117 no_cache=0
4118 # Check whether --enable-compat24 or --disable-compat24 was given.
4119 if test "${enable_compat24+set}" = set; then
4120 enableval="$enable_compat24"
4121
4122 if test "$enableval" = yes; then
4123 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4124 else
4125 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4126 fi
4127
4128 else
4129
4130 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4131 if test "x$LINE" != x ; then
4132 eval "DEFAULT_$LINE"
4133 else
4134 no_cache=1
4135 fi
4136
4137 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4138
4139 fi;
4140
4141 eval "$ac_cv_use_compat24"
4142 if test "$no_cache" != 1; then
4143 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4144 fi
4145
4146 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4147 echo "$as_me:$LINENO: result: yes" >&5
4148 echo "${ECHO_T}yes" >&6
4149 else
4150 echo "$as_me:$LINENO: result: no" >&5
4151 echo "${ECHO_T}no" >&6
4152 fi
4153
4154
4155
4156 enablestring=
4157 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4158 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4159 no_cache=0
4160 # Check whether --enable-rpath or --disable-rpath was given.
4161 if test "${enable_rpath+set}" = set; then
4162 enableval="$enable_rpath"
4163
4164 if test "$enableval" = yes; then
4165 ac_cv_use_rpath='wxUSE_RPATH=yes'
4166 else
4167 ac_cv_use_rpath='wxUSE_RPATH=no'
4168 fi
4169
4170 else
4171
4172 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4173 if test "x$LINE" != x ; then
4174 eval "DEFAULT_$LINE"
4175 else
4176 no_cache=1
4177 fi
4178
4179 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4180
4181 fi;
4182
4183 eval "$ac_cv_use_rpath"
4184 if test "$no_cache" != 1; then
4185 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4186 fi
4187
4188 if test "$wxUSE_RPATH" = yes; then
4189 echo "$as_me:$LINENO: result: yes" >&5
4190 echo "${ECHO_T}yes" >&6
4191 else
4192 echo "$as_me:$LINENO: result: no" >&5
4193 echo "${ECHO_T}no" >&6
4194 fi
4195
4196
4197
4198
4199
4200 enablestring=
4201 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4202 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4203 no_cache=0
4204 # Check whether --enable-intl or --disable-intl was given.
4205 if test "${enable_intl+set}" = set; then
4206 enableval="$enable_intl"
4207
4208 if test "$enableval" = yes; then
4209 ac_cv_use_intl='wxUSE_INTL=yes'
4210 else
4211 ac_cv_use_intl='wxUSE_INTL=no'
4212 fi
4213
4214 else
4215
4216 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4217 if test "x$LINE" != x ; then
4218 eval "DEFAULT_$LINE"
4219 else
4220 no_cache=1
4221 fi
4222
4223 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4224
4225 fi;
4226
4227 eval "$ac_cv_use_intl"
4228 if test "$no_cache" != 1; then
4229 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4230 fi
4231
4232 if test "$wxUSE_INTL" = yes; then
4233 echo "$as_me:$LINENO: result: yes" >&5
4234 echo "${ECHO_T}yes" >&6
4235 else
4236 echo "$as_me:$LINENO: result: no" >&5
4237 echo "${ECHO_T}no" >&6
4238 fi
4239
4240
4241 enablestring=
4242 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4243 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4244 no_cache=0
4245 # Check whether --enable-config or --disable-config was given.
4246 if test "${enable_config+set}" = set; then
4247 enableval="$enable_config"
4248
4249 if test "$enableval" = yes; then
4250 ac_cv_use_config='wxUSE_CONFIG=yes'
4251 else
4252 ac_cv_use_config='wxUSE_CONFIG=no'
4253 fi
4254
4255 else
4256
4257 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4258 if test "x$LINE" != x ; then
4259 eval "DEFAULT_$LINE"
4260 else
4261 no_cache=1
4262 fi
4263
4264 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4265
4266 fi;
4267
4268 eval "$ac_cv_use_config"
4269 if test "$no_cache" != 1; then
4270 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4271 fi
4272
4273 if test "$wxUSE_CONFIG" = yes; then
4274 echo "$as_me:$LINENO: result: yes" >&5
4275 echo "${ECHO_T}yes" >&6
4276 else
4277 echo "$as_me:$LINENO: result: no" >&5
4278 echo "${ECHO_T}no" >&6
4279 fi
4280
4281
4282
4283 enablestring=
4284 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4285 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4286 no_cache=0
4287 # Check whether --enable-protocols or --disable-protocols was given.
4288 if test "${enable_protocols+set}" = set; then
4289 enableval="$enable_protocols"
4290
4291 if test "$enableval" = yes; then
4292 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4293 else
4294 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4295 fi
4296
4297 else
4298
4299 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4300 if test "x$LINE" != x ; then
4301 eval "DEFAULT_$LINE"
4302 else
4303 no_cache=1
4304 fi
4305
4306 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4307
4308 fi;
4309
4310 eval "$ac_cv_use_protocols"
4311 if test "$no_cache" != 1; then
4312 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4313 fi
4314
4315 if test "$wxUSE_PROTOCOL" = yes; then
4316 echo "$as_me:$LINENO: result: yes" >&5
4317 echo "${ECHO_T}yes" >&6
4318 else
4319 echo "$as_me:$LINENO: result: no" >&5
4320 echo "${ECHO_T}no" >&6
4321 fi
4322
4323
4324 enablestring=
4325 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4326 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4327 no_cache=0
4328 # Check whether --enable-ftp or --disable-ftp was given.
4329 if test "${enable_ftp+set}" = set; then
4330 enableval="$enable_ftp"
4331
4332 if test "$enableval" = yes; then
4333 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4334 else
4335 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4336 fi
4337
4338 else
4339
4340 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4341 if test "x$LINE" != x ; then
4342 eval "DEFAULT_$LINE"
4343 else
4344 no_cache=1
4345 fi
4346
4347 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4348
4349 fi;
4350
4351 eval "$ac_cv_use_ftp"
4352 if test "$no_cache" != 1; then
4353 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4354 fi
4355
4356 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4357 echo "$as_me:$LINENO: result: yes" >&5
4358 echo "${ECHO_T}yes" >&6
4359 else
4360 echo "$as_me:$LINENO: result: no" >&5
4361 echo "${ECHO_T}no" >&6
4362 fi
4363
4364
4365 enablestring=
4366 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4367 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4368 no_cache=0
4369 # Check whether --enable-http or --disable-http was given.
4370 if test "${enable_http+set}" = set; then
4371 enableval="$enable_http"
4372
4373 if test "$enableval" = yes; then
4374 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4375 else
4376 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4377 fi
4378
4379 else
4380
4381 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4382 if test "x$LINE" != x ; then
4383 eval "DEFAULT_$LINE"
4384 else
4385 no_cache=1
4386 fi
4387
4388 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4389
4390 fi;
4391
4392 eval "$ac_cv_use_http"
4393 if test "$no_cache" != 1; then
4394 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4395 fi
4396
4397 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4398 echo "$as_me:$LINENO: result: yes" >&5
4399 echo "${ECHO_T}yes" >&6
4400 else
4401 echo "$as_me:$LINENO: result: no" >&5
4402 echo "${ECHO_T}no" >&6
4403 fi
4404
4405
4406 enablestring=
4407 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4408 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4409 no_cache=0
4410 # Check whether --enable-fileproto or --disable-fileproto was given.
4411 if test "${enable_fileproto+set}" = set; then
4412 enableval="$enable_fileproto"
4413
4414 if test "$enableval" = yes; then
4415 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4416 else
4417 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4418 fi
4419
4420 else
4421
4422 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4423 if test "x$LINE" != x ; then
4424 eval "DEFAULT_$LINE"
4425 else
4426 no_cache=1
4427 fi
4428
4429 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4430
4431 fi;
4432
4433 eval "$ac_cv_use_fileproto"
4434 if test "$no_cache" != 1; then
4435 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4436 fi
4437
4438 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4439 echo "$as_me:$LINENO: result: yes" >&5
4440 echo "${ECHO_T}yes" >&6
4441 else
4442 echo "$as_me:$LINENO: result: no" >&5
4443 echo "${ECHO_T}no" >&6
4444 fi
4445
4446
4447 enablestring=
4448 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4449 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4450 no_cache=0
4451 # Check whether --enable-sockets or --disable-sockets was given.
4452 if test "${enable_sockets+set}" = set; then
4453 enableval="$enable_sockets"
4454
4455 if test "$enableval" = yes; then
4456 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4457 else
4458 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4459 fi
4460
4461 else
4462
4463 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4464 if test "x$LINE" != x ; then
4465 eval "DEFAULT_$LINE"
4466 else
4467 no_cache=1
4468 fi
4469
4470 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4471
4472 fi;
4473
4474 eval "$ac_cv_use_sockets"
4475 if test "$no_cache" != 1; then
4476 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4477 fi
4478
4479 if test "$wxUSE_SOCKETS" = yes; then
4480 echo "$as_me:$LINENO: result: yes" >&5
4481 echo "${ECHO_T}yes" >&6
4482 else
4483 echo "$as_me:$LINENO: result: no" >&5
4484 echo "${ECHO_T}no" >&6
4485 fi
4486
4487
4488 enablestring=
4489 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4490 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4491 no_cache=0
4492 # Check whether --enable-ole or --disable-ole was given.
4493 if test "${enable_ole+set}" = set; then
4494 enableval="$enable_ole"
4495
4496 if test "$enableval" = yes; then
4497 ac_cv_use_ole='wxUSE_OLE=yes'
4498 else
4499 ac_cv_use_ole='wxUSE_OLE=no'
4500 fi
4501
4502 else
4503
4504 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4505 if test "x$LINE" != x ; then
4506 eval "DEFAULT_$LINE"
4507 else
4508 no_cache=1
4509 fi
4510
4511 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4512
4513 fi;
4514
4515 eval "$ac_cv_use_ole"
4516 if test "$no_cache" != 1; then
4517 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4518 fi
4519
4520 if test "$wxUSE_OLE" = yes; then
4521 echo "$as_me:$LINENO: result: yes" >&5
4522 echo "${ECHO_T}yes" >&6
4523 else
4524 echo "$as_me:$LINENO: result: no" >&5
4525 echo "${ECHO_T}no" >&6
4526 fi
4527
4528
4529 enablestring=
4530 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4531 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4532 no_cache=0
4533 # Check whether --enable-dataobj or --disable-dataobj was given.
4534 if test "${enable_dataobj+set}" = set; then
4535 enableval="$enable_dataobj"
4536
4537 if test "$enableval" = yes; then
4538 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4539 else
4540 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4541 fi
4542
4543 else
4544
4545 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4546 if test "x$LINE" != x ; then
4547 eval "DEFAULT_$LINE"
4548 else
4549 no_cache=1
4550 fi
4551
4552 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4553
4554 fi;
4555
4556 eval "$ac_cv_use_dataobj"
4557 if test "$no_cache" != 1; then
4558 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4559 fi
4560
4561 if test "$wxUSE_DATAOBJ" = yes; then
4562 echo "$as_me:$LINENO: result: yes" >&5
4563 echo "${ECHO_T}yes" >&6
4564 else
4565 echo "$as_me:$LINENO: result: no" >&5
4566 echo "${ECHO_T}no" >&6
4567 fi
4568
4569
4570
4571 enablestring=
4572 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4573 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4574 no_cache=0
4575 # Check whether --enable-ipc or --disable-ipc was given.
4576 if test "${enable_ipc+set}" = set; then
4577 enableval="$enable_ipc"
4578
4579 if test "$enableval" = yes; then
4580 ac_cv_use_ipc='wxUSE_IPC=yes'
4581 else
4582 ac_cv_use_ipc='wxUSE_IPC=no'
4583 fi
4584
4585 else
4586
4587 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4588 if test "x$LINE" != x ; then
4589 eval "DEFAULT_$LINE"
4590 else
4591 no_cache=1
4592 fi
4593
4594 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4595
4596 fi;
4597
4598 eval "$ac_cv_use_ipc"
4599 if test "$no_cache" != 1; then
4600 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4601 fi
4602
4603 if test "$wxUSE_IPC" = yes; then
4604 echo "$as_me:$LINENO: result: yes" >&5
4605 echo "${ECHO_T}yes" >&6
4606 else
4607 echo "$as_me:$LINENO: result: no" >&5
4608 echo "${ECHO_T}no" >&6
4609 fi
4610
4611
4612
4613 enablestring=
4614 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4615 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4616 no_cache=0
4617 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4618 if test "${enable_apple_ieee+set}" = set; then
4619 enableval="$enable_apple_ieee"
4620
4621 if test "$enableval" = yes; then
4622 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4623 else
4624 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4625 fi
4626
4627 else
4628
4629 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4630 if test "x$LINE" != x ; then
4631 eval "DEFAULT_$LINE"
4632 else
4633 no_cache=1
4634 fi
4635
4636 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4637
4638 fi;
4639
4640 eval "$ac_cv_use_apple_ieee"
4641 if test "$no_cache" != 1; then
4642 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4643 fi
4644
4645 if test "$wxUSE_APPLE_IEEE" = yes; then
4646 echo "$as_me:$LINENO: result: yes" >&5
4647 echo "${ECHO_T}yes" >&6
4648 else
4649 echo "$as_me:$LINENO: result: no" >&5
4650 echo "${ECHO_T}no" >&6
4651 fi
4652
4653
4654 enablestring=
4655 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4656 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4657 no_cache=0
4658 # Check whether --enable-arcstream or --disable-arcstream was given.
4659 if test "${enable_arcstream+set}" = set; then
4660 enableval="$enable_arcstream"
4661
4662 if test "$enableval" = yes; then
4663 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
4664 else
4665 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
4666 fi
4667
4668 else
4669
4670 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4671 if test "x$LINE" != x ; then
4672 eval "DEFAULT_$LINE"
4673 else
4674 no_cache=1
4675 fi
4676
4677 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4678
4679 fi;
4680
4681 eval "$ac_cv_use_arcstream"
4682 if test "$no_cache" != 1; then
4683 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4684 fi
4685
4686 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4687 echo "$as_me:$LINENO: result: yes" >&5
4688 echo "${ECHO_T}yes" >&6
4689 else
4690 echo "$as_me:$LINENO: result: no" >&5
4691 echo "${ECHO_T}no" >&6
4692 fi
4693
4694
4695 enablestring=
4696 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4697 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4698 no_cache=0
4699 # Check whether --enable-backtrace or --disable-backtrace was given.
4700 if test "${enable_backtrace+set}" = set; then
4701 enableval="$enable_backtrace"
4702
4703 if test "$enableval" = yes; then
4704 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
4705 else
4706 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
4707 fi
4708
4709 else
4710
4711 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4712 if test "x$LINE" != x ; then
4713 eval "DEFAULT_$LINE"
4714 else
4715 no_cache=1
4716 fi
4717
4718 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4719
4720 fi;
4721
4722 eval "$ac_cv_use_backtrace"
4723 if test "$no_cache" != 1; then
4724 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4725 fi
4726
4727 if test "$wxUSE_STACKWALKER" = yes; then
4728 echo "$as_me:$LINENO: result: yes" >&5
4729 echo "${ECHO_T}yes" >&6
4730 else
4731 echo "$as_me:$LINENO: result: no" >&5
4732 echo "${ECHO_T}no" >&6
4733 fi
4734
4735
4736 enablestring=
4737 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4738 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4739 no_cache=0
4740 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4741 if test "${enable_catch_segvs+set}" = set; then
4742 enableval="$enable_catch_segvs"
4743
4744 if test "$enableval" = yes; then
4745 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4746 else
4747 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4748 fi
4749
4750 else
4751
4752 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4753 if test "x$LINE" != x ; then
4754 eval "DEFAULT_$LINE"
4755 else
4756 no_cache=1
4757 fi
4758
4759 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4760
4761 fi;
4762
4763 eval "$ac_cv_use_catch_segvs"
4764 if test "$no_cache" != 1; then
4765 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4766 fi
4767
4768 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4769 echo "$as_me:$LINENO: result: yes" >&5
4770 echo "${ECHO_T}yes" >&6
4771 else
4772 echo "$as_me:$LINENO: result: no" >&5
4773 echo "${ECHO_T}no" >&6
4774 fi
4775
4776
4777 enablestring=
4778 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4779 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4780 no_cache=0
4781 # Check whether --enable-cmdline or --disable-cmdline was given.
4782 if test "${enable_cmdline+set}" = set; then
4783 enableval="$enable_cmdline"
4784
4785 if test "$enableval" = yes; then
4786 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4787 else
4788 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4789 fi
4790
4791 else
4792
4793 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4794 if test "x$LINE" != x ; then
4795 eval "DEFAULT_$LINE"
4796 else
4797 no_cache=1
4798 fi
4799
4800 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4801
4802 fi;
4803
4804 eval "$ac_cv_use_cmdline"
4805 if test "$no_cache" != 1; then
4806 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4807 fi
4808
4809 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4810 echo "$as_me:$LINENO: result: yes" >&5
4811 echo "${ECHO_T}yes" >&6
4812 else
4813 echo "$as_me:$LINENO: result: no" >&5
4814 echo "${ECHO_T}no" >&6
4815 fi
4816
4817
4818 enablestring=
4819 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4820 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4821 no_cache=0
4822 # Check whether --enable-datetime or --disable-datetime was given.
4823 if test "${enable_datetime+set}" = set; then
4824 enableval="$enable_datetime"
4825
4826 if test "$enableval" = yes; then
4827 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4828 else
4829 ac_cv_use_datetime='wxUSE_DATETIME=no'
4830 fi
4831
4832 else
4833
4834 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4835 if test "x$LINE" != x ; then
4836 eval "DEFAULT_$LINE"
4837 else
4838 no_cache=1
4839 fi
4840
4841 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4842
4843 fi;
4844
4845 eval "$ac_cv_use_datetime"
4846 if test "$no_cache" != 1; then
4847 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4848 fi
4849
4850 if test "$wxUSE_DATETIME" = yes; then
4851 echo "$as_me:$LINENO: result: yes" >&5
4852 echo "${ECHO_T}yes" >&6
4853 else
4854 echo "$as_me:$LINENO: result: no" >&5
4855 echo "${ECHO_T}no" >&6
4856 fi
4857
4858
4859 enablestring=
4860 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
4861 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
4862 no_cache=0
4863 # Check whether --enable-debugreport or --disable-debugreport was given.
4864 if test "${enable_debugreport+set}" = set; then
4865 enableval="$enable_debugreport"
4866
4867 if test "$enableval" = yes; then
4868 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
4869 else
4870 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
4871 fi
4872
4873 else
4874
4875 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
4876 if test "x$LINE" != x ; then
4877 eval "DEFAULT_$LINE"
4878 else
4879 no_cache=1
4880 fi
4881
4882 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
4883
4884 fi;
4885
4886 eval "$ac_cv_use_debugreport"
4887 if test "$no_cache" != 1; then
4888 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
4889 fi
4890
4891 if test "$wxUSE_DEBUGREPORT" = yes; then
4892 echo "$as_me:$LINENO: result: yes" >&5
4893 echo "${ECHO_T}yes" >&6
4894 else
4895 echo "$as_me:$LINENO: result: no" >&5
4896 echo "${ECHO_T}no" >&6
4897 fi
4898
4899
4900 enablestring=
4901 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4902 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4903 no_cache=0
4904 # Check whether --enable-dialupman or --disable-dialupman was given.
4905 if test "${enable_dialupman+set}" = set; then
4906 enableval="$enable_dialupman"
4907
4908 if test "$enableval" = yes; then
4909 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4910 else
4911 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4912 fi
4913
4914 else
4915
4916 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4917 if test "x$LINE" != x ; then
4918 eval "DEFAULT_$LINE"
4919 else
4920 no_cache=1
4921 fi
4922
4923 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4924
4925 fi;
4926
4927 eval "$ac_cv_use_dialupman"
4928 if test "$no_cache" != 1; then
4929 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4930 fi
4931
4932 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4933 echo "$as_me:$LINENO: result: yes" >&5
4934 echo "${ECHO_T}yes" >&6
4935 else
4936 echo "$as_me:$LINENO: result: no" >&5
4937 echo "${ECHO_T}no" >&6
4938 fi
4939
4940
4941 enablestring=
4942 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4943 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4944 no_cache=0
4945 # Check whether --enable-dynlib or --disable-dynlib was given.
4946 if test "${enable_dynlib+set}" = set; then
4947 enableval="$enable_dynlib"
4948
4949 if test "$enableval" = yes; then
4950 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4951 else
4952 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4953 fi
4954
4955 else
4956
4957 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4958 if test "x$LINE" != x ; then
4959 eval "DEFAULT_$LINE"
4960 else
4961 no_cache=1
4962 fi
4963
4964 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4965
4966 fi;
4967
4968 eval "$ac_cv_use_dynlib"
4969 if test "$no_cache" != 1; then
4970 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4971 fi
4972
4973 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4974 echo "$as_me:$LINENO: result: yes" >&5
4975 echo "${ECHO_T}yes" >&6
4976 else
4977 echo "$as_me:$LINENO: result: no" >&5
4978 echo "${ECHO_T}no" >&6
4979 fi
4980
4981
4982 enablestring=
4983 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4984 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4985 no_cache=0
4986 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4987 if test "${enable_dynamicloader+set}" = set; then
4988 enableval="$enable_dynamicloader"
4989
4990 if test "$enableval" = yes; then
4991 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4992 else
4993 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4994 fi
4995
4996 else
4997
4998 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4999 if test "x$LINE" != x ; then
5000 eval "DEFAULT_$LINE"
5001 else
5002 no_cache=1
5003 fi
5004
5005 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5006
5007 fi;
5008
5009 eval "$ac_cv_use_dynamicloader"
5010 if test "$no_cache" != 1; then
5011 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5012 fi
5013
5014 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5015 echo "$as_me:$LINENO: result: yes" >&5
5016 echo "${ECHO_T}yes" >&6
5017 else
5018 echo "$as_me:$LINENO: result: no" >&5
5019 echo "${ECHO_T}no" >&6
5020 fi
5021
5022
5023 enablestring=
5024 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5025 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5026 no_cache=0
5027 # Check whether --enable-exceptions or --disable-exceptions was given.
5028 if test "${enable_exceptions+set}" = set; then
5029 enableval="$enable_exceptions"
5030
5031 if test "$enableval" = yes; then
5032 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
5033 else
5034 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
5035 fi
5036
5037 else
5038
5039 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5040 if test "x$LINE" != x ; then
5041 eval "DEFAULT_$LINE"
5042 else
5043 no_cache=1
5044 fi
5045
5046 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5047
5048 fi;
5049
5050 eval "$ac_cv_use_exceptions"
5051 if test "$no_cache" != 1; then
5052 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5053 fi
5054
5055 if test "$wxUSE_EXCEPTIONS" = yes; then
5056 echo "$as_me:$LINENO: result: yes" >&5
5057 echo "${ECHO_T}yes" >&6
5058 else
5059 echo "$as_me:$LINENO: result: no" >&5
5060 echo "${ECHO_T}no" >&6
5061 fi
5062
5063
5064 enablestring=
5065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5066 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5067 no_cache=0
5068 # Check whether --enable-ffile or --disable-ffile was given.
5069 if test "${enable_ffile+set}" = set; then
5070 enableval="$enable_ffile"
5071
5072 if test "$enableval" = yes; then
5073 ac_cv_use_ffile='wxUSE_FFILE=yes'
5074 else
5075 ac_cv_use_ffile='wxUSE_FFILE=no'
5076 fi
5077
5078 else
5079
5080 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5081 if test "x$LINE" != x ; then
5082 eval "DEFAULT_$LINE"
5083 else
5084 no_cache=1
5085 fi
5086
5087 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5088
5089 fi;
5090
5091 eval "$ac_cv_use_ffile"
5092 if test "$no_cache" != 1; then
5093 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5094 fi
5095
5096 if test "$wxUSE_FFILE" = yes; then
5097 echo "$as_me:$LINENO: result: yes" >&5
5098 echo "${ECHO_T}yes" >&6
5099 else
5100 echo "$as_me:$LINENO: result: no" >&5
5101 echo "${ECHO_T}no" >&6
5102 fi
5103
5104
5105 enablestring=
5106 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5107 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5108 no_cache=0
5109 # Check whether --enable-file or --disable-file was given.
5110 if test "${enable_file+set}" = set; then
5111 enableval="$enable_file"
5112
5113 if test "$enableval" = yes; then
5114 ac_cv_use_file='wxUSE_FILE=yes'
5115 else
5116 ac_cv_use_file='wxUSE_FILE=no'
5117 fi
5118
5119 else
5120
5121 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5122 if test "x$LINE" != x ; then
5123 eval "DEFAULT_$LINE"
5124 else
5125 no_cache=1
5126 fi
5127
5128 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5129
5130 fi;
5131
5132 eval "$ac_cv_use_file"
5133 if test "$no_cache" != 1; then
5134 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5135 fi
5136
5137 if test "$wxUSE_FILE" = yes; then
5138 echo "$as_me:$LINENO: result: yes" >&5
5139 echo "${ECHO_T}yes" >&6
5140 else
5141 echo "$as_me:$LINENO: result: no" >&5
5142 echo "${ECHO_T}no" >&6
5143 fi
5144
5145
5146 enablestring=
5147 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5148 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5149 no_cache=0
5150 # Check whether --enable-filesystem or --disable-filesystem was given.
5151 if test "${enable_filesystem+set}" = set; then
5152 enableval="$enable_filesystem"
5153
5154 if test "$enableval" = yes; then
5155 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5156 else
5157 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5158 fi
5159
5160 else
5161
5162 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5163 if test "x$LINE" != x ; then
5164 eval "DEFAULT_$LINE"
5165 else
5166 no_cache=1
5167 fi
5168
5169 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5170
5171 fi;
5172
5173 eval "$ac_cv_use_filesystem"
5174 if test "$no_cache" != 1; then
5175 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5176 fi
5177
5178 if test "$wxUSE_FILESYSTEM" = yes; then
5179 echo "$as_me:$LINENO: result: yes" >&5
5180 echo "${ECHO_T}yes" >&6
5181 else
5182 echo "$as_me:$LINENO: result: no" >&5
5183 echo "${ECHO_T}no" >&6
5184 fi
5185
5186
5187 enablestring=
5188 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5189 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5190 no_cache=0
5191 # Check whether --enable-fontmap or --disable-fontmap was given.
5192 if test "${enable_fontmap+set}" = set; then
5193 enableval="$enable_fontmap"
5194
5195 if test "$enableval" = yes; then
5196 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5197 else
5198 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5199 fi
5200
5201 else
5202
5203 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5204 if test "x$LINE" != x ; then
5205 eval "DEFAULT_$LINE"
5206 else
5207 no_cache=1
5208 fi
5209
5210 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5211
5212 fi;
5213
5214 eval "$ac_cv_use_fontmap"
5215 if test "$no_cache" != 1; then
5216 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5217 fi
5218
5219 if test "$wxUSE_FONTMAP" = yes; then
5220 echo "$as_me:$LINENO: result: yes" >&5
5221 echo "${ECHO_T}yes" >&6
5222 else
5223 echo "$as_me:$LINENO: result: no" >&5
5224 echo "${ECHO_T}no" >&6
5225 fi
5226
5227
5228 enablestring=
5229 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5230 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5231 no_cache=0
5232 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5233 if test "${enable_fs_inet+set}" = set; then
5234 enableval="$enable_fs_inet"
5235
5236 if test "$enableval" = yes; then
5237 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5238 else
5239 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5240 fi
5241
5242 else
5243
5244 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5245 if test "x$LINE" != x ; then
5246 eval "DEFAULT_$LINE"
5247 else
5248 no_cache=1
5249 fi
5250
5251 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5252
5253 fi;
5254
5255 eval "$ac_cv_use_fs_inet"
5256 if test "$no_cache" != 1; then
5257 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5258 fi
5259
5260 if test "$wxUSE_FS_INET" = yes; then
5261 echo "$as_me:$LINENO: result: yes" >&5
5262 echo "${ECHO_T}yes" >&6
5263 else
5264 echo "$as_me:$LINENO: result: no" >&5
5265 echo "${ECHO_T}no" >&6
5266 fi
5267
5268
5269 enablestring=
5270 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5271 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5272 no_cache=0
5273 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5274 if test "${enable_fs_zip+set}" = set; then
5275 enableval="$enable_fs_zip"
5276
5277 if test "$enableval" = yes; then
5278 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5279 else
5280 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5281 fi
5282
5283 else
5284
5285 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5286 if test "x$LINE" != x ; then
5287 eval "DEFAULT_$LINE"
5288 else
5289 no_cache=1
5290 fi
5291
5292 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5293
5294 fi;
5295
5296 eval "$ac_cv_use_fs_zip"
5297 if test "$no_cache" != 1; then
5298 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5299 fi
5300
5301 if test "$wxUSE_FS_ZIP" = yes; then
5302 echo "$as_me:$LINENO: result: yes" >&5
5303 echo "${ECHO_T}yes" >&6
5304 else
5305 echo "$as_me:$LINENO: result: no" >&5
5306 echo "${ECHO_T}no" >&6
5307 fi
5308
5309
5310 enablestring=
5311 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5312 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5313 no_cache=0
5314 # Check whether --enable-geometry or --disable-geometry was given.
5315 if test "${enable_geometry+set}" = set; then
5316 enableval="$enable_geometry"
5317
5318 if test "$enableval" = yes; then
5319 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5320 else
5321 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5322 fi
5323
5324 else
5325
5326 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5327 if test "x$LINE" != x ; then
5328 eval "DEFAULT_$LINE"
5329 else
5330 no_cache=1
5331 fi
5332
5333 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5334
5335 fi;
5336
5337 eval "$ac_cv_use_geometry"
5338 if test "$no_cache" != 1; then
5339 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5340 fi
5341
5342 if test "$wxUSE_GEOMETRY" = yes; then
5343 echo "$as_me:$LINENO: result: yes" >&5
5344 echo "${ECHO_T}yes" >&6
5345 else
5346 echo "$as_me:$LINENO: result: no" >&5
5347 echo "${ECHO_T}no" >&6
5348 fi
5349
5350
5351 enablestring=
5352 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5353 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5354 no_cache=0
5355 # Check whether --enable-log or --disable-log was given.
5356 if test "${enable_log+set}" = set; then
5357 enableval="$enable_log"
5358
5359 if test "$enableval" = yes; then
5360 ac_cv_use_log='wxUSE_LOG=yes'
5361 else
5362 ac_cv_use_log='wxUSE_LOG=no'
5363 fi
5364
5365 else
5366
5367 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5368 if test "x$LINE" != x ; then
5369 eval "DEFAULT_$LINE"
5370 else
5371 no_cache=1
5372 fi
5373
5374 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5375
5376 fi;
5377
5378 eval "$ac_cv_use_log"
5379 if test "$no_cache" != 1; then
5380 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5381 fi
5382
5383 if test "$wxUSE_LOG" = yes; then
5384 echo "$as_me:$LINENO: result: yes" >&5
5385 echo "${ECHO_T}yes" >&6
5386 else
5387 echo "$as_me:$LINENO: result: no" >&5
5388 echo "${ECHO_T}no" >&6
5389 fi
5390
5391
5392 enablestring=
5393 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5394 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5395 no_cache=0
5396 # Check whether --enable-longlong or --disable-longlong was given.
5397 if test "${enable_longlong+set}" = set; then
5398 enableval="$enable_longlong"
5399
5400 if test "$enableval" = yes; then
5401 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5402 else
5403 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5404 fi
5405
5406 else
5407
5408 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5409 if test "x$LINE" != x ; then
5410 eval "DEFAULT_$LINE"
5411 else
5412 no_cache=1
5413 fi
5414
5415 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5416
5417 fi;
5418
5419 eval "$ac_cv_use_longlong"
5420 if test "$no_cache" != 1; then
5421 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5422 fi
5423
5424 if test "$wxUSE_LONGLONG" = yes; then
5425 echo "$as_me:$LINENO: result: yes" >&5
5426 echo "${ECHO_T}yes" >&6
5427 else
5428 echo "$as_me:$LINENO: result: no" >&5
5429 echo "${ECHO_T}no" >&6
5430 fi
5431
5432
5433 enablestring=
5434 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5435 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5436 no_cache=0
5437 # Check whether --enable-mimetype or --disable-mimetype was given.
5438 if test "${enable_mimetype+set}" = set; then
5439 enableval="$enable_mimetype"
5440
5441 if test "$enableval" = yes; then
5442 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5443 else
5444 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5445 fi
5446
5447 else
5448
5449 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5450 if test "x$LINE" != x ; then
5451 eval "DEFAULT_$LINE"
5452 else
5453 no_cache=1
5454 fi
5455
5456 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5457
5458 fi;
5459
5460 eval "$ac_cv_use_mimetype"
5461 if test "$no_cache" != 1; then
5462 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5463 fi
5464
5465 if test "$wxUSE_MIMETYPE" = yes; then
5466 echo "$as_me:$LINENO: result: yes" >&5
5467 echo "${ECHO_T}yes" >&6
5468 else
5469 echo "$as_me:$LINENO: result: no" >&5
5470 echo "${ECHO_T}no" >&6
5471 fi
5472
5473
5474 enablestring=
5475 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5476 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5477 no_cache=0
5478 # Check whether --enable-mslu or --disable-mslu was given.
5479 if test "${enable_mslu+set}" = set; then
5480 enableval="$enable_mslu"
5481
5482 if test "$enableval" = yes; then
5483 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5484 else
5485 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5486 fi
5487
5488 else
5489
5490 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5491 if test "x$LINE" != x ; then
5492 eval "DEFAULT_$LINE"
5493 else
5494 no_cache=1
5495 fi
5496
5497 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5498
5499 fi;
5500
5501 eval "$ac_cv_use_mslu"
5502 if test "$no_cache" != 1; then
5503 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5504 fi
5505
5506 if test "$wxUSE_UNICODE_MSLU" = yes; then
5507 echo "$as_me:$LINENO: result: yes" >&5
5508 echo "${ECHO_T}yes" >&6
5509 else
5510 echo "$as_me:$LINENO: result: no" >&5
5511 echo "${ECHO_T}no" >&6
5512 fi
5513
5514
5515 enablestring=
5516 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5517 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5518 no_cache=0
5519 # Check whether --enable-snglinst or --disable-snglinst was given.
5520 if test "${enable_snglinst+set}" = set; then
5521 enableval="$enable_snglinst"
5522
5523 if test "$enableval" = yes; then
5524 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5525 else
5526 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5527 fi
5528
5529 else
5530
5531 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5532 if test "x$LINE" != x ; then
5533 eval "DEFAULT_$LINE"
5534 else
5535 no_cache=1
5536 fi
5537
5538 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5539
5540 fi;
5541
5542 eval "$ac_cv_use_snglinst"
5543 if test "$no_cache" != 1; then
5544 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5545 fi
5546
5547 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5548 echo "$as_me:$LINENO: result: yes" >&5
5549 echo "${ECHO_T}yes" >&6
5550 else
5551 echo "$as_me:$LINENO: result: no" >&5
5552 echo "${ECHO_T}no" >&6
5553 fi
5554
5555
5556 enablestring=
5557 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5558 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5559 no_cache=0
5560 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5561 if test "${enable_std_iostreams+set}" = set; then
5562 enableval="$enable_std_iostreams"
5563
5564 if test "$enableval" = yes; then
5565 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5566 else
5567 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5568 fi
5569
5570 else
5571
5572 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5573 if test "x$LINE" != x ; then
5574 eval "DEFAULT_$LINE"
5575 else
5576 no_cache=1
5577 fi
5578
5579 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5580
5581 fi;
5582
5583 eval "$ac_cv_use_std_iostreams"
5584 if test "$no_cache" != 1; then
5585 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5586 fi
5587
5588 if test "$wxUSE_STD_IOSTREAM" = yes; then
5589 echo "$as_me:$LINENO: result: yes" >&5
5590 echo "${ECHO_T}yes" >&6
5591 else
5592 echo "$as_me:$LINENO: result: no" >&5
5593 echo "${ECHO_T}no" >&6
5594 fi
5595
5596
5597 enablestring=
5598 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5599 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5600 no_cache=0
5601 # Check whether --enable-std_string or --disable-std_string was given.
5602 if test "${enable_std_string+set}" = set; then
5603 enableval="$enable_std_string"
5604
5605 if test "$enableval" = yes; then
5606 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
5607 else
5608 ac_cv_use_std_string='wxUSE_STD_STRING=no'
5609 fi
5610
5611 else
5612
5613 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5614 if test "x$LINE" != x ; then
5615 eval "DEFAULT_$LINE"
5616 else
5617 no_cache=1
5618 fi
5619
5620 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5621
5622 fi;
5623
5624 eval "$ac_cv_use_std_string"
5625 if test "$no_cache" != 1; then
5626 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5627 fi
5628
5629 if test "$wxUSE_STD_STRING" = yes; then
5630 echo "$as_me:$LINENO: result: yes" >&5
5631 echo "${ECHO_T}yes" >&6
5632 else
5633 echo "$as_me:$LINENO: result: no" >&5
5634 echo "${ECHO_T}no" >&6
5635 fi
5636
5637
5638 enablestring=
5639 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5640 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5641 no_cache=0
5642 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5643 if test "${enable_stdpaths+set}" = set; then
5644 enableval="$enable_stdpaths"
5645
5646 if test "$enableval" = yes; then
5647 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
5648 else
5649 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
5650 fi
5651
5652 else
5653
5654 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5655 if test "x$LINE" != x ; then
5656 eval "DEFAULT_$LINE"
5657 else
5658 no_cache=1
5659 fi
5660
5661 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5662
5663 fi;
5664
5665 eval "$ac_cv_use_stdpaths"
5666 if test "$no_cache" != 1; then
5667 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5668 fi
5669
5670 if test "$wxUSE_STDPATHS" = yes; then
5671 echo "$as_me:$LINENO: result: yes" >&5
5672 echo "${ECHO_T}yes" >&6
5673 else
5674 echo "$as_me:$LINENO: result: no" >&5
5675 echo "${ECHO_T}no" >&6
5676 fi
5677
5678
5679 enablestring=
5680 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5681 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5682 no_cache=0
5683 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5684 if test "${enable_stopwatch+set}" = set; then
5685 enableval="$enable_stopwatch"
5686
5687 if test "$enableval" = yes; then
5688 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5689 else
5690 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5691 fi
5692
5693 else
5694
5695 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5696 if test "x$LINE" != x ; then
5697 eval "DEFAULT_$LINE"
5698 else
5699 no_cache=1
5700 fi
5701
5702 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5703
5704 fi;
5705
5706 eval "$ac_cv_use_stopwatch"
5707 if test "$no_cache" != 1; then
5708 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5709 fi
5710
5711 if test "$wxUSE_STOPWATCH" = yes; then
5712 echo "$as_me:$LINENO: result: yes" >&5
5713 echo "${ECHO_T}yes" >&6
5714 else
5715 echo "$as_me:$LINENO: result: no" >&5
5716 echo "${ECHO_T}no" >&6
5717 fi
5718
5719
5720 enablestring=
5721 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5722 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5723 no_cache=0
5724 # Check whether --enable-streams or --disable-streams was given.
5725 if test "${enable_streams+set}" = set; then
5726 enableval="$enable_streams"
5727
5728 if test "$enableval" = yes; then
5729 ac_cv_use_streams='wxUSE_STREAMS=yes'
5730 else
5731 ac_cv_use_streams='wxUSE_STREAMS=no'
5732 fi
5733
5734 else
5735
5736 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5737 if test "x$LINE" != x ; then
5738 eval "DEFAULT_$LINE"
5739 else
5740 no_cache=1
5741 fi
5742
5743 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5744
5745 fi;
5746
5747 eval "$ac_cv_use_streams"
5748 if test "$no_cache" != 1; then
5749 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5750 fi
5751
5752 if test "$wxUSE_STREAMS" = yes; then
5753 echo "$as_me:$LINENO: result: yes" >&5
5754 echo "${ECHO_T}yes" >&6
5755 else
5756 echo "$as_me:$LINENO: result: no" >&5
5757 echo "${ECHO_T}no" >&6
5758 fi
5759
5760
5761 enablestring=
5762 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5763 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5764 no_cache=0
5765 # Check whether --enable-system_options or --disable-system_options was given.
5766 if test "${enable_system_options+set}" = set; then
5767 enableval="$enable_system_options"
5768
5769 if test "$enableval" = yes; then
5770 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5771 else
5772 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5773 fi
5774
5775 else
5776
5777 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5778 if test "x$LINE" != x ; then
5779 eval "DEFAULT_$LINE"
5780 else
5781 no_cache=1
5782 fi
5783
5784 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5785
5786 fi;
5787
5788 eval "$ac_cv_use_system_options"
5789 if test "$no_cache" != 1; then
5790 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5791 fi
5792
5793 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5794 echo "$as_me:$LINENO: result: yes" >&5
5795 echo "${ECHO_T}yes" >&6
5796 else
5797 echo "$as_me:$LINENO: result: no" >&5
5798 echo "${ECHO_T}no" >&6
5799 fi
5800
5801
5802 enablestring=
5803 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5804 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5805 no_cache=0
5806 # Check whether --enable-textbuf or --disable-textbuf was given.
5807 if test "${enable_textbuf+set}" = set; then
5808 enableval="$enable_textbuf"
5809
5810 if test "$enableval" = yes; then
5811 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
5812 else
5813 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
5814 fi
5815
5816 else
5817
5818 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5819 if test "x$LINE" != x ; then
5820 eval "DEFAULT_$LINE"
5821 else
5822 no_cache=1
5823 fi
5824
5825 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5826
5827 fi;
5828
5829 eval "$ac_cv_use_textbuf"
5830 if test "$no_cache" != 1; then
5831 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5832 fi
5833
5834 if test "$wxUSE_TEXTBUFFER" = yes; then
5835 echo "$as_me:$LINENO: result: yes" >&5
5836 echo "${ECHO_T}yes" >&6
5837 else
5838 echo "$as_me:$LINENO: result: no" >&5
5839 echo "${ECHO_T}no" >&6
5840 fi
5841
5842
5843 enablestring=
5844 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5845 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5846 no_cache=0
5847 # Check whether --enable-textfile or --disable-textfile was given.
5848 if test "${enable_textfile+set}" = set; then
5849 enableval="$enable_textfile"
5850
5851 if test "$enableval" = yes; then
5852 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
5853 else
5854 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
5855 fi
5856
5857 else
5858
5859 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5860 if test "x$LINE" != x ; then
5861 eval "DEFAULT_$LINE"
5862 else
5863 no_cache=1
5864 fi
5865
5866 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5867
5868 fi;
5869
5870 eval "$ac_cv_use_textfile"
5871 if test "$no_cache" != 1; then
5872 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5873 fi
5874
5875 if test "$wxUSE_TEXTFILE" = yes; then
5876 echo "$as_me:$LINENO: result: yes" >&5
5877 echo "${ECHO_T}yes" >&6
5878 else
5879 echo "$as_me:$LINENO: result: no" >&5
5880 echo "${ECHO_T}no" >&6
5881 fi
5882
5883
5884 enablestring=
5885 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5886 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5887 no_cache=0
5888 # Check whether --enable-timer or --disable-timer was given.
5889 if test "${enable_timer+set}" = set; then
5890 enableval="$enable_timer"
5891
5892 if test "$enableval" = yes; then
5893 ac_cv_use_timer='wxUSE_TIMER=yes'
5894 else
5895 ac_cv_use_timer='wxUSE_TIMER=no'
5896 fi
5897
5898 else
5899
5900 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5901 if test "x$LINE" != x ; then
5902 eval "DEFAULT_$LINE"
5903 else
5904 no_cache=1
5905 fi
5906
5907 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5908
5909 fi;
5910
5911 eval "$ac_cv_use_timer"
5912 if test "$no_cache" != 1; then
5913 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5914 fi
5915
5916 if test "$wxUSE_TIMER" = yes; then
5917 echo "$as_me:$LINENO: result: yes" >&5
5918 echo "${ECHO_T}yes" >&6
5919 else
5920 echo "$as_me:$LINENO: result: no" >&5
5921 echo "${ECHO_T}no" >&6
5922 fi
5923
5924
5925 enablestring=
5926 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5927 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5928 no_cache=0
5929 # Check whether --enable-unicode or --disable-unicode was given.
5930 if test "${enable_unicode+set}" = set; then
5931 enableval="$enable_unicode"
5932
5933 if test "$enableval" = yes; then
5934 ac_cv_use_unicode='wxUSE_UNICODE=yes'
5935 else
5936 ac_cv_use_unicode='wxUSE_UNICODE=no'
5937 fi
5938
5939 else
5940
5941 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5942 if test "x$LINE" != x ; then
5943 eval "DEFAULT_$LINE"
5944 else
5945 no_cache=1
5946 fi
5947
5948 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5949
5950 fi;
5951
5952 eval "$ac_cv_use_unicode"
5953 if test "$no_cache" != 1; then
5954 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5955 fi
5956
5957 if test "$wxUSE_UNICODE" = yes; then
5958 echo "$as_me:$LINENO: result: yes" >&5
5959 echo "${ECHO_T}yes" >&6
5960 else
5961 echo "$as_me:$LINENO: result: no" >&5
5962 echo "${ECHO_T}no" >&6
5963 fi
5964
5965
5966 enablestring=
5967 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5968 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5969 no_cache=0
5970 # Check whether --enable-sound or --disable-sound was given.
5971 if test "${enable_sound+set}" = set; then
5972 enableval="$enable_sound"
5973
5974 if test "$enableval" = yes; then
5975 ac_cv_use_sound='wxUSE_SOUND=yes'
5976 else
5977 ac_cv_use_sound='wxUSE_SOUND=no'
5978 fi
5979
5980 else
5981
5982 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5983 if test "x$LINE" != x ; then
5984 eval "DEFAULT_$LINE"
5985 else
5986 no_cache=1
5987 fi
5988
5989 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5990
5991 fi;
5992
5993 eval "$ac_cv_use_sound"
5994 if test "$no_cache" != 1; then
5995 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5996 fi
5997
5998 if test "$wxUSE_SOUND" = yes; then
5999 echo "$as_me:$LINENO: result: yes" >&5
6000 echo "${ECHO_T}yes" >&6
6001 else
6002 echo "$as_me:$LINENO: result: no" >&5
6003 echo "${ECHO_T}no" >&6
6004 fi
6005
6006
6007 enablestring=
6008 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6009 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6010 no_cache=0
6011 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6012 if test "${enable_mediactrl+set}" = set; then
6013 enableval="$enable_mediactrl"
6014
6015 if test "$enableval" = yes; then
6016 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
6017 else
6018 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
6019 fi
6020
6021 else
6022
6023 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6024 if test "x$LINE" != x ; then
6025 eval "DEFAULT_$LINE"
6026 else
6027 no_cache=1
6028 fi
6029
6030 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6031
6032 fi;
6033
6034 eval "$ac_cv_use_mediactrl"
6035 if test "$no_cache" != 1; then
6036 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6037 fi
6038
6039 if test "$wxUSE_MEDIACTRL" = yes; then
6040 echo "$as_me:$LINENO: result: yes" >&5
6041 echo "${ECHO_T}yes" >&6
6042 else
6043 echo "$as_me:$LINENO: result: no" >&5
6044 echo "${ECHO_T}no" >&6
6045 fi
6046
6047
6048 enablestring=
6049 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
6050 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
6051 no_cache=0
6052 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
6053 if test "${enable_wxprintfv+set}" = set; then
6054 enableval="$enable_wxprintfv"
6055
6056 if test "$enableval" = yes; then
6057 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
6058 else
6059 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
6060 fi
6061
6062 else
6063
6064 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
6065 if test "x$LINE" != x ; then
6066 eval "DEFAULT_$LINE"
6067 else
6068 no_cache=1
6069 fi
6070
6071 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
6072
6073 fi;
6074
6075 eval "$ac_cv_use_wxprintfv"
6076 if test "$no_cache" != 1; then
6077 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
6078 fi
6079
6080 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
6081 echo "$as_me:$LINENO: result: yes" >&5
6082 echo "${ECHO_T}yes" >&6
6083 else
6084 echo "$as_me:$LINENO: result: no" >&5
6085 echo "${ECHO_T}no" >&6
6086 fi
6087
6088
6089 enablestring=
6090 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6091 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6092 no_cache=0
6093 # Check whether --enable-zipstream or --disable-zipstream was given.
6094 if test "${enable_zipstream+set}" = set; then
6095 enableval="$enable_zipstream"
6096
6097 if test "$enableval" = yes; then
6098 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
6099 else
6100 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
6101 fi
6102
6103 else
6104
6105 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6106 if test "x$LINE" != x ; then
6107 eval "DEFAULT_$LINE"
6108 else
6109 no_cache=1
6110 fi
6111
6112 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6113
6114 fi;
6115
6116 eval "$ac_cv_use_zipstream"
6117 if test "$no_cache" != 1; then
6118 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6119 fi
6120
6121 if test "$wxUSE_ZIPSTREAM" = yes; then
6122 echo "$as_me:$LINENO: result: yes" >&5
6123 echo "${ECHO_T}yes" >&6
6124 else
6125 echo "$as_me:$LINENO: result: no" >&5
6126 echo "${ECHO_T}no" >&6
6127 fi
6128
6129
6130
6131 enablestring=
6132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6133 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6134 no_cache=0
6135 # Check whether --enable-url or --disable-url was given.
6136 if test "${enable_url+set}" = set; then
6137 enableval="$enable_url"
6138
6139 if test "$enableval" = yes; then
6140 ac_cv_use_url='wxUSE_URL=yes'
6141 else
6142 ac_cv_use_url='wxUSE_URL=no'
6143 fi
6144
6145 else
6146
6147 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6148 if test "x$LINE" != x ; then
6149 eval "DEFAULT_$LINE"
6150 else
6151 no_cache=1
6152 fi
6153
6154 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6155
6156 fi;
6157
6158 eval "$ac_cv_use_url"
6159 if test "$no_cache" != 1; then
6160 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6161 fi
6162
6163 if test "$wxUSE_URL" = yes; then
6164 echo "$as_me:$LINENO: result: yes" >&5
6165 echo "${ECHO_T}yes" >&6
6166 else
6167 echo "$as_me:$LINENO: result: no" >&5
6168 echo "${ECHO_T}no" >&6
6169 fi
6170
6171
6172 enablestring=
6173 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6174 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6175 no_cache=0
6176 # Check whether --enable-protocol or --disable-protocol was given.
6177 if test "${enable_protocol+set}" = set; then
6178 enableval="$enable_protocol"
6179
6180 if test "$enableval" = yes; then
6181 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6182 else
6183 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6184 fi
6185
6186 else
6187
6188 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6189 if test "x$LINE" != x ; then
6190 eval "DEFAULT_$LINE"
6191 else
6192 no_cache=1
6193 fi
6194
6195 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6196
6197 fi;
6198
6199 eval "$ac_cv_use_protocol"
6200 if test "$no_cache" != 1; then
6201 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6202 fi
6203
6204 if test "$wxUSE_PROTOCOL" = yes; then
6205 echo "$as_me:$LINENO: result: yes" >&5
6206 echo "${ECHO_T}yes" >&6
6207 else
6208 echo "$as_me:$LINENO: result: no" >&5
6209 echo "${ECHO_T}no" >&6
6210 fi
6211
6212
6213 enablestring=
6214 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6215 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6216 no_cache=0
6217 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6218 if test "${enable_protocol_http+set}" = set; then
6219 enableval="$enable_protocol_http"
6220
6221 if test "$enableval" = yes; then
6222 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6223 else
6224 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6225 fi
6226
6227 else
6228
6229 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6230 if test "x$LINE" != x ; then
6231 eval "DEFAULT_$LINE"
6232 else
6233 no_cache=1
6234 fi
6235
6236 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6237
6238 fi;
6239
6240 eval "$ac_cv_use_protocol_http"
6241 if test "$no_cache" != 1; then
6242 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6243 fi
6244
6245 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6246 echo "$as_me:$LINENO: result: yes" >&5
6247 echo "${ECHO_T}yes" >&6
6248 else
6249 echo "$as_me:$LINENO: result: no" >&5
6250 echo "${ECHO_T}no" >&6
6251 fi
6252
6253
6254 enablestring=
6255 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6256 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6257 no_cache=0
6258 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6259 if test "${enable_protocol_ftp+set}" = set; then
6260 enableval="$enable_protocol_ftp"
6261
6262 if test "$enableval" = yes; then
6263 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6264 else
6265 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6266 fi
6267
6268 else
6269
6270 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6271 if test "x$LINE" != x ; then
6272 eval "DEFAULT_$LINE"
6273 else
6274 no_cache=1
6275 fi
6276
6277 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6278
6279 fi;
6280
6281 eval "$ac_cv_use_protocol_ftp"
6282 if test "$no_cache" != 1; then
6283 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6284 fi
6285
6286 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6287 echo "$as_me:$LINENO: result: yes" >&5
6288 echo "${ECHO_T}yes" >&6
6289 else
6290 echo "$as_me:$LINENO: result: no" >&5
6291 echo "${ECHO_T}no" >&6
6292 fi
6293
6294
6295 enablestring=
6296 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6297 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6298 no_cache=0
6299 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6300 if test "${enable_protocol_file+set}" = set; then
6301 enableval="$enable_protocol_file"
6302
6303 if test "$enableval" = yes; then
6304 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6305 else
6306 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6307 fi
6308
6309 else
6310
6311 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6312 if test "x$LINE" != x ; then
6313 eval "DEFAULT_$LINE"
6314 else
6315 no_cache=1
6316 fi
6317
6318 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6319
6320 fi;
6321
6322 eval "$ac_cv_use_protocol_file"
6323 if test "$no_cache" != 1; then
6324 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6325 fi
6326
6327 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6328 echo "$as_me:$LINENO: result: yes" >&5
6329 echo "${ECHO_T}yes" >&6
6330 else
6331 echo "$as_me:$LINENO: result: no" >&5
6332 echo "${ECHO_T}no" >&6
6333 fi
6334
6335
6336
6337
6338
6339 enablestring=
6340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6341 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6342 no_cache=0
6343 # Check whether --enable-threads or --disable-threads was given.
6344 if test "${enable_threads+set}" = set; then
6345 enableval="$enable_threads"
6346
6347 if test "$enableval" = yes; then
6348 ac_cv_use_threads='wxUSE_THREADS=yes'
6349 else
6350 ac_cv_use_threads='wxUSE_THREADS=no'
6351 fi
6352
6353 else
6354
6355 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6356 if test "x$LINE" != x ; then
6357 eval "DEFAULT_$LINE"
6358 else
6359 no_cache=1
6360 fi
6361
6362 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6363
6364 fi;
6365
6366 eval "$ac_cv_use_threads"
6367 if test "$no_cache" != 1; then
6368 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6369 fi
6370
6371 if test "$wxUSE_THREADS" = yes; then
6372 echo "$as_me:$LINENO: result: yes" >&5
6373 echo "${ECHO_T}yes" >&6
6374 else
6375 echo "$as_me:$LINENO: result: no" >&5
6376 echo "${ECHO_T}no" >&6
6377 fi
6378
6379
6380 if test "$wxUSE_GUI" = "yes"; then
6381
6382
6383
6384 enablestring=
6385 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6386 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6387 no_cache=0
6388 # Check whether --enable-docview or --disable-docview was given.
6389 if test "${enable_docview+set}" = set; then
6390 enableval="$enable_docview"
6391
6392 if test "$enableval" = yes; then
6393 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6394 else
6395 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6396 fi
6397
6398 else
6399
6400 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6401 if test "x$LINE" != x ; then
6402 eval "DEFAULT_$LINE"
6403 else
6404 no_cache=1
6405 fi
6406
6407 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6408
6409 fi;
6410
6411 eval "$ac_cv_use_docview"
6412 if test "$no_cache" != 1; then
6413 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6414 fi
6415
6416 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6417 echo "$as_me:$LINENO: result: yes" >&5
6418 echo "${ECHO_T}yes" >&6
6419 else
6420 echo "$as_me:$LINENO: result: no" >&5
6421 echo "${ECHO_T}no" >&6
6422 fi
6423
6424
6425 enablestring=
6426 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6427 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6428 no_cache=0
6429 # Check whether --enable-help or --disable-help was given.
6430 if test "${enable_help+set}" = set; then
6431 enableval="$enable_help"
6432
6433 if test "$enableval" = yes; then
6434 ac_cv_use_help='wxUSE_HELP=yes'
6435 else
6436 ac_cv_use_help='wxUSE_HELP=no'
6437 fi
6438
6439 else
6440
6441 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6442 if test "x$LINE" != x ; then
6443 eval "DEFAULT_$LINE"
6444 else
6445 no_cache=1
6446 fi
6447
6448 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6449
6450 fi;
6451
6452 eval "$ac_cv_use_help"
6453 if test "$no_cache" != 1; then
6454 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6455 fi
6456
6457 if test "$wxUSE_HELP" = yes; then
6458 echo "$as_me:$LINENO: result: yes" >&5
6459 echo "${ECHO_T}yes" >&6
6460 else
6461 echo "$as_me:$LINENO: result: no" >&5
6462 echo "${ECHO_T}no" >&6
6463 fi
6464
6465
6466 enablestring=
6467 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6468 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6469 no_cache=0
6470 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6471 if test "${enable_mshtmlhelp+set}" = set; then
6472 enableval="$enable_mshtmlhelp"
6473
6474 if test "$enableval" = yes; then
6475 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6476 else
6477 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6478 fi
6479
6480 else
6481
6482 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6483 if test "x$LINE" != x ; then
6484 eval "DEFAULT_$LINE"
6485 else
6486 no_cache=1
6487 fi
6488
6489 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6490
6491 fi;
6492
6493 eval "$ac_cv_use_mshtmlhelp"
6494 if test "$no_cache" != 1; then
6495 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6496 fi
6497
6498 if test "$wxUSE_MS_HTML_HELP" = yes; then
6499 echo "$as_me:$LINENO: result: yes" >&5
6500 echo "${ECHO_T}yes" >&6
6501 else
6502 echo "$as_me:$LINENO: result: no" >&5
6503 echo "${ECHO_T}no" >&6
6504 fi
6505
6506
6507 enablestring=
6508 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6509 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6510 no_cache=0
6511 # Check whether --enable-html or --disable-html was given.
6512 if test "${enable_html+set}" = set; then
6513 enableval="$enable_html"
6514
6515 if test "$enableval" = yes; then
6516 ac_cv_use_html='wxUSE_HTML=yes'
6517 else
6518 ac_cv_use_html='wxUSE_HTML=no'
6519 fi
6520
6521 else
6522
6523 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6524 if test "x$LINE" != x ; then
6525 eval "DEFAULT_$LINE"
6526 else
6527 no_cache=1
6528 fi
6529
6530 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6531
6532 fi;
6533
6534 eval "$ac_cv_use_html"
6535 if test "$no_cache" != 1; then
6536 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6537 fi
6538
6539 if test "$wxUSE_HTML" = yes; then
6540 echo "$as_me:$LINENO: result: yes" >&5
6541 echo "${ECHO_T}yes" >&6
6542 else
6543 echo "$as_me:$LINENO: result: no" >&5
6544 echo "${ECHO_T}no" >&6
6545 fi
6546
6547
6548 enablestring=
6549 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6550 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6551 no_cache=0
6552 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6553 if test "${enable_htmlhelp+set}" = set; then
6554 enableval="$enable_htmlhelp"
6555
6556 if test "$enableval" = yes; then
6557 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6558 else
6559 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6560 fi
6561
6562 else
6563
6564 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6565 if test "x$LINE" != x ; then
6566 eval "DEFAULT_$LINE"
6567 else
6568 no_cache=1
6569 fi
6570
6571 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6572
6573 fi;
6574
6575 eval "$ac_cv_use_htmlhelp"
6576 if test "$no_cache" != 1; then
6577 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6578 fi
6579
6580 if test "$wxUSE_WXHTML_HELP" = yes; then
6581 echo "$as_me:$LINENO: result: yes" >&5
6582 echo "${ECHO_T}yes" >&6
6583 else
6584 echo "$as_me:$LINENO: result: no" >&5
6585 echo "${ECHO_T}no" >&6
6586 fi
6587
6588
6589 enablestring=
6590 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6591 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6592 no_cache=0
6593 # Check whether --enable-xrc or --disable-xrc was given.
6594 if test "${enable_xrc+set}" = set; then
6595 enableval="$enable_xrc"
6596
6597 if test "$enableval" = yes; then
6598 ac_cv_use_xrc='wxUSE_XRC=yes'
6599 else
6600 ac_cv_use_xrc='wxUSE_XRC=no'
6601 fi
6602
6603 else
6604
6605 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6606 if test "x$LINE" != x ; then
6607 eval "DEFAULT_$LINE"
6608 else
6609 no_cache=1
6610 fi
6611
6612 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6613
6614 fi;
6615
6616 eval "$ac_cv_use_xrc"
6617 if test "$no_cache" != 1; then
6618 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6619 fi
6620
6621 if test "$wxUSE_XRC" = yes; then
6622 echo "$as_me:$LINENO: result: yes" >&5
6623 echo "${ECHO_T}yes" >&6
6624 else
6625 echo "$as_me:$LINENO: result: no" >&5
6626 echo "${ECHO_T}no" >&6
6627 fi
6628
6629
6630 enablestring=
6631 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6632 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6633 no_cache=0
6634 # Check whether --enable-constraints or --disable-constraints was given.
6635 if test "${enable_constraints+set}" = set; then
6636 enableval="$enable_constraints"
6637
6638 if test "$enableval" = yes; then
6639 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
6640 else
6641 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
6642 fi
6643
6644 else
6645
6646 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6647 if test "x$LINE" != x ; then
6648 eval "DEFAULT_$LINE"
6649 else
6650 no_cache=1
6651 fi
6652
6653 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6654
6655 fi;
6656
6657 eval "$ac_cv_use_constraints"
6658 if test "$no_cache" != 1; then
6659 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6660 fi
6661
6662 if test "$wxUSE_CONSTRAINTS" = yes; then
6663 echo "$as_me:$LINENO: result: yes" >&5
6664 echo "${ECHO_T}yes" >&6
6665 else
6666 echo "$as_me:$LINENO: result: no" >&5
6667 echo "${ECHO_T}no" >&6
6668 fi
6669
6670
6671 enablestring=
6672 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6673 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6674 no_cache=0
6675 # Check whether --enable-printarch or --disable-printarch was given.
6676 if test "${enable_printarch+set}" = set; then
6677 enableval="$enable_printarch"
6678
6679 if test "$enableval" = yes; then
6680 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6681 else
6682 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6683 fi
6684
6685 else
6686
6687 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6688 if test "x$LINE" != x ; then
6689 eval "DEFAULT_$LINE"
6690 else
6691 no_cache=1
6692 fi
6693
6694 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6695
6696 fi;
6697
6698 eval "$ac_cv_use_printarch"
6699 if test "$no_cache" != 1; then
6700 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6701 fi
6702
6703 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6704 echo "$as_me:$LINENO: result: yes" >&5
6705 echo "${ECHO_T}yes" >&6
6706 else
6707 echo "$as_me:$LINENO: result: no" >&5
6708 echo "${ECHO_T}no" >&6
6709 fi
6710
6711
6712 enablestring=
6713 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6714 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6715 no_cache=0
6716 # Check whether --enable-mdi or --disable-mdi was given.
6717 if test "${enable_mdi+set}" = set; then
6718 enableval="$enable_mdi"
6719
6720 if test "$enableval" = yes; then
6721 ac_cv_use_mdi='wxUSE_MDI=yes'
6722 else
6723 ac_cv_use_mdi='wxUSE_MDI=no'
6724 fi
6725
6726 else
6727
6728 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6729 if test "x$LINE" != x ; then
6730 eval "DEFAULT_$LINE"
6731 else
6732 no_cache=1
6733 fi
6734
6735 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6736
6737 fi;
6738
6739 eval "$ac_cv_use_mdi"
6740 if test "$no_cache" != 1; then
6741 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6742 fi
6743
6744 if test "$wxUSE_MDI" = yes; then
6745 echo "$as_me:$LINENO: result: yes" >&5
6746 echo "${ECHO_T}yes" >&6
6747 else
6748 echo "$as_me:$LINENO: result: no" >&5
6749 echo "${ECHO_T}no" >&6
6750 fi
6751
6752
6753 enablestring=
6754 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6755 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6756 no_cache=0
6757 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6758 if test "${enable_mdidoc+set}" = set; then
6759 enableval="$enable_mdidoc"
6760
6761 if test "$enableval" = yes; then
6762 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
6763 else
6764 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
6765 fi
6766
6767 else
6768
6769 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6770 if test "x$LINE" != x ; then
6771 eval "DEFAULT_$LINE"
6772 else
6773 no_cache=1
6774 fi
6775
6776 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6777
6778 fi;
6779
6780 eval "$ac_cv_use_mdidoc"
6781 if test "$no_cache" != 1; then
6782 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6783 fi
6784
6785 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6786 echo "$as_me:$LINENO: result: yes" >&5
6787 echo "${ECHO_T}yes" >&6
6788 else
6789 echo "$as_me:$LINENO: result: no" >&5
6790 echo "${ECHO_T}no" >&6
6791 fi
6792
6793
6794 enablestring=
6795 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6796 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6797 no_cache=0
6798 # Check whether --enable-loggui or --disable-loggui was given.
6799 if test "${enable_loggui+set}" = set; then
6800 enableval="$enable_loggui"
6801
6802 if test "$enableval" = yes; then
6803 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6804 else
6805 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6806 fi
6807
6808 else
6809
6810 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6811 if test "x$LINE" != x ; then
6812 eval "DEFAULT_$LINE"
6813 else
6814 no_cache=1
6815 fi
6816
6817 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6818
6819 fi;
6820
6821 eval "$ac_cv_use_loggui"
6822 if test "$no_cache" != 1; then
6823 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6824 fi
6825
6826 if test "$wxUSE_LOGGUI" = yes; then
6827 echo "$as_me:$LINENO: result: yes" >&5
6828 echo "${ECHO_T}yes" >&6
6829 else
6830 echo "$as_me:$LINENO: result: no" >&5
6831 echo "${ECHO_T}no" >&6
6832 fi
6833
6834
6835 enablestring=
6836 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6837 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6838 no_cache=0
6839 # Check whether --enable-logwin or --disable-logwin was given.
6840 if test "${enable_logwin+set}" = set; then
6841 enableval="$enable_logwin"
6842
6843 if test "$enableval" = yes; then
6844 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6845 else
6846 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6847 fi
6848
6849 else
6850
6851 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6852 if test "x$LINE" != x ; then
6853 eval "DEFAULT_$LINE"
6854 else
6855 no_cache=1
6856 fi
6857
6858 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6859
6860 fi;
6861
6862 eval "$ac_cv_use_logwin"
6863 if test "$no_cache" != 1; then
6864 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6865 fi
6866
6867 if test "$wxUSE_LOGWINDOW" = yes; then
6868 echo "$as_me:$LINENO: result: yes" >&5
6869 echo "${ECHO_T}yes" >&6
6870 else
6871 echo "$as_me:$LINENO: result: no" >&5
6872 echo "${ECHO_T}no" >&6
6873 fi
6874
6875
6876 enablestring=
6877 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6878 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6879 no_cache=0
6880 # Check whether --enable-logdialog or --disable-logdialog was given.
6881 if test "${enable_logdialog+set}" = set; then
6882 enableval="$enable_logdialog"
6883
6884 if test "$enableval" = yes; then
6885 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6886 else
6887 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6888 fi
6889
6890 else
6891
6892 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6893 if test "x$LINE" != x ; then
6894 eval "DEFAULT_$LINE"
6895 else
6896 no_cache=1
6897 fi
6898
6899 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6900
6901 fi;
6902
6903 eval "$ac_cv_use_logdialog"
6904 if test "$no_cache" != 1; then
6905 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6906 fi
6907
6908 if test "$wxUSE_LOGDIALOG" = yes; then
6909 echo "$as_me:$LINENO: result: yes" >&5
6910 echo "${ECHO_T}yes" >&6
6911 else
6912 echo "$as_me:$LINENO: result: no" >&5
6913 echo "${ECHO_T}no" >&6
6914 fi
6915
6916
6917 enablestring=
6918 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6919 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6920 no_cache=0
6921 # Check whether --enable-webkit or --disable-webkit was given.
6922 if test "${enable_webkit+set}" = set; then
6923 enableval="$enable_webkit"
6924
6925 if test "$enableval" = yes; then
6926 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
6927 else
6928 ac_cv_use_webkit='wxUSE_WEBKIT=no'
6929 fi
6930
6931 else
6932
6933 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6934 if test "x$LINE" != x ; then
6935 eval "DEFAULT_$LINE"
6936 else
6937 no_cache=1
6938 fi
6939
6940 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6941
6942 fi;
6943
6944 eval "$ac_cv_use_webkit"
6945 if test "$no_cache" != 1; then
6946 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6947 fi
6948
6949 if test "$wxUSE_WEBKIT" = yes; then
6950 echo "$as_me:$LINENO: result: yes" >&5
6951 echo "${ECHO_T}yes" >&6
6952 else
6953 echo "$as_me:$LINENO: result: no" >&5
6954 echo "${ECHO_T}no" >&6
6955 fi
6956
6957
6958
6959 enablestring=
6960 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6961 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6962 no_cache=0
6963 # Check whether --enable-postscript or --disable-postscript was given.
6964 if test "${enable_postscript+set}" = set; then
6965 enableval="$enable_postscript"
6966
6967 if test "$enableval" = yes; then
6968 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6969 else
6970 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6971 fi
6972
6973 else
6974
6975 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6976 if test "x$LINE" != x ; then
6977 eval "DEFAULT_$LINE"
6978 else
6979 no_cache=1
6980 fi
6981
6982 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6983
6984 fi;
6985
6986 eval "$ac_cv_use_postscript"
6987 if test "$no_cache" != 1; then
6988 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6989 fi
6990
6991 if test "$wxUSE_POSTSCRIPT" = yes; then
6992 echo "$as_me:$LINENO: result: yes" >&5
6993 echo "${ECHO_T}yes" >&6
6994 else
6995 echo "$as_me:$LINENO: result: no" >&5
6996 echo "${ECHO_T}no" >&6
6997 fi
6998
6999
7000
7001
7002
7003 enablestring=
7004 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7005 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7006 no_cache=0
7007 # Check whether --enable-prologio or --disable-prologio was given.
7008 if test "${enable_prologio+set}" = set; then
7009 enableval="$enable_prologio"
7010
7011 if test "$enableval" = yes; then
7012 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
7013 else
7014 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
7015 fi
7016
7017 else
7018
7019 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7020 if test "x$LINE" != x ; then
7021 eval "DEFAULT_$LINE"
7022 else
7023 no_cache=1
7024 fi
7025
7026 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7027
7028 fi;
7029
7030 eval "$ac_cv_use_prologio"
7031 if test "$no_cache" != 1; then
7032 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7033 fi
7034
7035 if test "$wxUSE_PROLOGIO" = yes; then
7036 echo "$as_me:$LINENO: result: yes" >&5
7037 echo "${ECHO_T}yes" >&6
7038 else
7039 echo "$as_me:$LINENO: result: no" >&5
7040 echo "${ECHO_T}no" >&6
7041 fi
7042
7043
7044 enablestring=
7045 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7046 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7047 no_cache=0
7048 # Check whether --enable-resources or --disable-resources was given.
7049 if test "${enable_resources+set}" = set; then
7050 enableval="$enable_resources"
7051
7052 if test "$enableval" = yes; then
7053 ac_cv_use_resources='wxUSE_RESOURCES=yes'
7054 else
7055 ac_cv_use_resources='wxUSE_RESOURCES=no'
7056 fi
7057
7058 else
7059
7060 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7061 if test "x$LINE" != x ; then
7062 eval "DEFAULT_$LINE"
7063 else
7064 no_cache=1
7065 fi
7066
7067 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7068
7069 fi;
7070
7071 eval "$ac_cv_use_resources"
7072 if test "$no_cache" != 1; then
7073 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7074 fi
7075
7076 if test "$wxUSE_RESOURCES" = yes; then
7077 echo "$as_me:$LINENO: result: yes" >&5
7078 echo "${ECHO_T}yes" >&6
7079 else
7080 echo "$as_me:$LINENO: result: no" >&5
7081 echo "${ECHO_T}no" >&6
7082 fi
7083
7084
7085
7086
7087 enablestring=
7088 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7089 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7090 no_cache=0
7091 # Check whether --enable-clipboard or --disable-clipboard was given.
7092 if test "${enable_clipboard+set}" = set; then
7093 enableval="$enable_clipboard"
7094
7095 if test "$enableval" = yes; then
7096 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
7097 else
7098 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
7099 fi
7100
7101 else
7102
7103 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7104 if test "x$LINE" != x ; then
7105 eval "DEFAULT_$LINE"
7106 else
7107 no_cache=1
7108 fi
7109
7110 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7111
7112 fi;
7113
7114 eval "$ac_cv_use_clipboard"
7115 if test "$no_cache" != 1; then
7116 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7117 fi
7118
7119 if test "$wxUSE_CLIPBOARD" = yes; then
7120 echo "$as_me:$LINENO: result: yes" >&5
7121 echo "${ECHO_T}yes" >&6
7122 else
7123 echo "$as_me:$LINENO: result: no" >&5
7124 echo "${ECHO_T}no" >&6
7125 fi
7126
7127
7128 enablestring=
7129 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7130 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7131 no_cache=0
7132 # Check whether --enable-dnd or --disable-dnd was given.
7133 if test "${enable_dnd+set}" = set; then
7134 enableval="$enable_dnd"
7135
7136 if test "$enableval" = yes; then
7137 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
7138 else
7139 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
7140 fi
7141
7142 else
7143
7144 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7145 if test "x$LINE" != x ; then
7146 eval "DEFAULT_$LINE"
7147 else
7148 no_cache=1
7149 fi
7150
7151 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7152
7153 fi;
7154
7155 eval "$ac_cv_use_dnd"
7156 if test "$no_cache" != 1; then
7157 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7158 fi
7159
7160 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7161 echo "$as_me:$LINENO: result: yes" >&5
7162 echo "${ECHO_T}yes" >&6
7163 else
7164 echo "$as_me:$LINENO: result: no" >&5
7165 echo "${ECHO_T}no" >&6
7166 fi
7167
7168
7169 enablestring=
7170 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7171 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7172 no_cache=0
7173 # Check whether --enable-metafile or --disable-metafile was given.
7174 if test "${enable_metafile+set}" = set; then
7175 enableval="$enable_metafile"
7176
7177 if test "$enableval" = yes; then
7178 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7179 else
7180 ac_cv_use_metafile='wxUSE_METAFILE=no'
7181 fi
7182
7183 else
7184
7185 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7186 if test "x$LINE" != x ; then
7187 eval "DEFAULT_$LINE"
7188 else
7189 no_cache=1
7190 fi
7191
7192 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7193
7194 fi;
7195
7196 eval "$ac_cv_use_metafile"
7197 if test "$no_cache" != 1; then
7198 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7199 fi
7200
7201 if test "$wxUSE_METAFILE" = yes; then
7202 echo "$as_me:$LINENO: result: yes" >&5
7203 echo "${ECHO_T}yes" >&6
7204 else
7205 echo "$as_me:$LINENO: result: no" >&5
7206 echo "${ECHO_T}no" >&6
7207 fi
7208
7209
7210
7211
7212
7213 enablestring=
7214 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7215 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7216 no_cache=0
7217 # Check whether --enable-controls or --disable-controls was given.
7218 if test "${enable_controls+set}" = set; then
7219 enableval="$enable_controls"
7220
7221 if test "$enableval" = yes; then
7222 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7223 else
7224 ac_cv_use_controls='wxUSE_CONTROLS=no'
7225 fi
7226
7227 else
7228
7229 LINE=`grep "wxUSE_CONTROLS" ${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_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7237
7238 fi;
7239
7240 eval "$ac_cv_use_controls"
7241 if test "$no_cache" != 1; then
7242 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7243 fi
7244
7245 if test "$wxUSE_CONTROLS" = yes; then
7246 echo "$as_me:$LINENO: result: yes" >&5
7247 echo "${ECHO_T}yes" >&6
7248 else
7249 echo "$as_me:$LINENO: result: no" >&5
7250 echo "${ECHO_T}no" >&6
7251 fi
7252
7253
7254 if test "$wxUSE_CONTROLS" = "yes"; then
7255 DEFAULT_wxUSE_ACCEL=yes
7256 DEFAULT_wxUSE_BMPBUTTON=yes
7257 DEFAULT_wxUSE_BUTTON=yes
7258 DEFAULT_wxUSE_CALCTRL=yes
7259 DEFAULT_wxUSE_CARET=yes
7260 DEFAULT_wxUSE_COMBOBOX=yes
7261 DEFAULT_wxUSE_CHECKBOX=yes
7262 DEFAULT_wxUSE_CHECKLISTBOX=yes
7263 DEFAULT_wxUSE_CHOICE=yes
7264 DEFAULT_wxUSE_CHOICEBOOK=yes
7265 DEFAULT_wxUSE_DATEPICKCTRL=yes
7266 DEFAULT_wxUSE_GAUGE=yes
7267 DEFAULT_wxUSE_GRID=yes
7268 DEFAULT_wxUSE_IMAGLIST=yes
7269 DEFAULT_wxUSE_LISTBOOK=yes
7270 DEFAULT_wxUSE_LISTBOX=yes
7271 DEFAULT_wxUSE_LISTCTRL=yes
7272 DEFAULT_wxUSE_NOTEBOOK=yes
7273 DEFAULT_wxUSE_RADIOBOX=yes
7274 DEFAULT_wxUSE_RADIOBTN=yes
7275 DEFAULT_wxUSE_SASH=yes
7276 DEFAULT_wxUSE_SCROLLBAR=yes
7277 DEFAULT_wxUSE_SLIDER=yes
7278 DEFAULT_wxUSE_SPINBTN=yes
7279 DEFAULT_wxUSE_SPINCTRL=yes
7280 DEFAULT_wxUSE_SPLITTER=yes
7281 DEFAULT_wxUSE_STATBMP=yes
7282 DEFAULT_wxUSE_STATBOX=yes
7283 DEFAULT_wxUSE_STATLINE=yes
7284 DEFAULT_wxUSE_STATUSBAR=yes
7285 DEFAULT_wxUSE_TAB_DIALOG=yes
7286 DEFAULT_wxUSE_TOGGLEBTN=yes
7287 DEFAULT_wxUSE_TOOLBAR=yes
7288 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7289 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
7290 DEFAULT_wxUSE_TOOLTIPS=yes
7291 DEFAULT_wxUSE_TREECTRL=yes
7292 DEFAULT_wxUSE_POPUPWIN=yes
7293 DEFAULT_wxUSE_TIPWINDOW=yes
7294 elif test "$wxUSE_CONTROLS" = "no"; then
7295 DEFAULT_wxUSE_ACCEL=no
7296 DEFAULT_wxUSE_BMPBUTTON=no
7297 DEFAULT_wxUSE_BUTTON=no
7298 DEFAULT_wxUSE_CALCTRL=no
7299 DEFAULT_wxUSE_CARET=no
7300 DEFAULT_wxUSE_COMBOBOX=no
7301 DEFAULT_wxUSE_CHECKBOX=no
7302 DEFAULT_wxUSE_CHECKLISTBOX=no
7303 DEFAULT_wxUSE_CHOICE=no
7304 DEFAULT_wxUSE_CHOICEBOOK=no
7305 DEFAULT_wxUSE_DATEPICKCTRL=no
7306 DEFAULT_wxUSE_GAUGE=no
7307 DEFAULT_wxUSE_GRID=no
7308 DEFAULT_wxUSE_IMAGLIST=no
7309 DEFAULT_wxUSE_LISTBOOK=no
7310 DEFAULT_wxUSE_LISTBOX=no
7311 DEFAULT_wxUSE_LISTCTRL=no
7312 DEFAULT_wxUSE_NOTEBOOK=no
7313 DEFAULT_wxUSE_RADIOBOX=no
7314 DEFAULT_wxUSE_RADIOBTN=no
7315 DEFAULT_wxUSE_SASH=no
7316 DEFAULT_wxUSE_SCROLLBAR=no
7317 DEFAULT_wxUSE_SLIDER=no
7318 DEFAULT_wxUSE_SPINBTN=no
7319 DEFAULT_wxUSE_SPINCTRL=no
7320 DEFAULT_wxUSE_SPLITTER=no
7321 DEFAULT_wxUSE_STATBMP=no
7322 DEFAULT_wxUSE_STATBOX=no
7323 DEFAULT_wxUSE_STATLINE=no
7324 DEFAULT_wxUSE_STATUSBAR=no
7325 DEFAULT_wxUSE_TAB_DIALOG=no
7326 DEFAULT_wxUSE_TOGGLEBTN=no
7327 DEFAULT_wxUSE_TOOLBAR=no
7328 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7329 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
7330 DEFAULT_wxUSE_TOOLTIPS=no
7331 DEFAULT_wxUSE_TREECTRL=no
7332 DEFAULT_wxUSE_POPUPWIN=no
7333 DEFAULT_wxUSE_TIPWINDOW=no
7334 fi
7335
7336
7337 enablestring=
7338 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7339 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7340 no_cache=0
7341 # Check whether --enable-accel or --disable-accel was given.
7342 if test "${enable_accel+set}" = set; then
7343 enableval="$enable_accel"
7344
7345 if test "$enableval" = yes; then
7346 ac_cv_use_accel='wxUSE_ACCEL=yes'
7347 else
7348 ac_cv_use_accel='wxUSE_ACCEL=no'
7349 fi
7350
7351 else
7352
7353 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7354 if test "x$LINE" != x ; then
7355 eval "DEFAULT_$LINE"
7356 else
7357 no_cache=1
7358 fi
7359
7360 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7361
7362 fi;
7363
7364 eval "$ac_cv_use_accel"
7365 if test "$no_cache" != 1; then
7366 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7367 fi
7368
7369 if test "$wxUSE_ACCEL" = yes; then
7370 echo "$as_me:$LINENO: result: yes" >&5
7371 echo "${ECHO_T}yes" >&6
7372 else
7373 echo "$as_me:$LINENO: result: no" >&5
7374 echo "${ECHO_T}no" >&6
7375 fi
7376
7377
7378 enablestring=
7379 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7380 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7381 no_cache=0
7382 # Check whether --enable-button or --disable-button was given.
7383 if test "${enable_button+set}" = set; then
7384 enableval="$enable_button"
7385
7386 if test "$enableval" = yes; then
7387 ac_cv_use_button='wxUSE_BUTTON=yes'
7388 else
7389 ac_cv_use_button='wxUSE_BUTTON=no'
7390 fi
7391
7392 else
7393
7394 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7395 if test "x$LINE" != x ; then
7396 eval "DEFAULT_$LINE"
7397 else
7398 no_cache=1
7399 fi
7400
7401 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7402
7403 fi;
7404
7405 eval "$ac_cv_use_button"
7406 if test "$no_cache" != 1; then
7407 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7408 fi
7409
7410 if test "$wxUSE_BUTTON" = yes; then
7411 echo "$as_me:$LINENO: result: yes" >&5
7412 echo "${ECHO_T}yes" >&6
7413 else
7414 echo "$as_me:$LINENO: result: no" >&5
7415 echo "${ECHO_T}no" >&6
7416 fi
7417
7418
7419 enablestring=
7420 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7421 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7422 no_cache=0
7423 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7424 if test "${enable_bmpbutton+set}" = set; then
7425 enableval="$enable_bmpbutton"
7426
7427 if test "$enableval" = yes; then
7428 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
7429 else
7430 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
7431 fi
7432
7433 else
7434
7435 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7436 if test "x$LINE" != x ; then
7437 eval "DEFAULT_$LINE"
7438 else
7439 no_cache=1
7440 fi
7441
7442 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7443
7444 fi;
7445
7446 eval "$ac_cv_use_bmpbutton"
7447 if test "$no_cache" != 1; then
7448 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7449 fi
7450
7451 if test "$wxUSE_BMPBUTTON" = yes; then
7452 echo "$as_me:$LINENO: result: yes" >&5
7453 echo "${ECHO_T}yes" >&6
7454 else
7455 echo "$as_me:$LINENO: result: no" >&5
7456 echo "${ECHO_T}no" >&6
7457 fi
7458
7459
7460 enablestring=
7461 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7462 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7463 no_cache=0
7464 # Check whether --enable-calendar or --disable-calendar was given.
7465 if test "${enable_calendar+set}" = set; then
7466 enableval="$enable_calendar"
7467
7468 if test "$enableval" = yes; then
7469 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
7470 else
7471 ac_cv_use_calendar='wxUSE_CALCTRL=no'
7472 fi
7473
7474 else
7475
7476 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7477 if test "x$LINE" != x ; then
7478 eval "DEFAULT_$LINE"
7479 else
7480 no_cache=1
7481 fi
7482
7483 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7484
7485 fi;
7486
7487 eval "$ac_cv_use_calendar"
7488 if test "$no_cache" != 1; then
7489 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7490 fi
7491
7492 if test "$wxUSE_CALCTRL" = yes; then
7493 echo "$as_me:$LINENO: result: yes" >&5
7494 echo "${ECHO_T}yes" >&6
7495 else
7496 echo "$as_me:$LINENO: result: no" >&5
7497 echo "${ECHO_T}no" >&6
7498 fi
7499
7500
7501 enablestring=
7502 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7503 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7504 no_cache=0
7505 # Check whether --enable-caret or --disable-caret was given.
7506 if test "${enable_caret+set}" = set; then
7507 enableval="$enable_caret"
7508
7509 if test "$enableval" = yes; then
7510 ac_cv_use_caret='wxUSE_CARET=yes'
7511 else
7512 ac_cv_use_caret='wxUSE_CARET=no'
7513 fi
7514
7515 else
7516
7517 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7518 if test "x$LINE" != x ; then
7519 eval "DEFAULT_$LINE"
7520 else
7521 no_cache=1
7522 fi
7523
7524 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7525
7526 fi;
7527
7528 eval "$ac_cv_use_caret"
7529 if test "$no_cache" != 1; then
7530 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7531 fi
7532
7533 if test "$wxUSE_CARET" = yes; then
7534 echo "$as_me:$LINENO: result: yes" >&5
7535 echo "${ECHO_T}yes" >&6
7536 else
7537 echo "$as_me:$LINENO: result: no" >&5
7538 echo "${ECHO_T}no" >&6
7539 fi
7540
7541
7542 enablestring=
7543 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7544 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7545 no_cache=0
7546 # Check whether --enable-checkbox or --disable-checkbox was given.
7547 if test "${enable_checkbox+set}" = set; then
7548 enableval="$enable_checkbox"
7549
7550 if test "$enableval" = yes; then
7551 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
7552 else
7553 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
7554 fi
7555
7556 else
7557
7558 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7559 if test "x$LINE" != x ; then
7560 eval "DEFAULT_$LINE"
7561 else
7562 no_cache=1
7563 fi
7564
7565 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7566
7567 fi;
7568
7569 eval "$ac_cv_use_checkbox"
7570 if test "$no_cache" != 1; then
7571 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7572 fi
7573
7574 if test "$wxUSE_CHECKBOX" = yes; then
7575 echo "$as_me:$LINENO: result: yes" >&5
7576 echo "${ECHO_T}yes" >&6
7577 else
7578 echo "$as_me:$LINENO: result: no" >&5
7579 echo "${ECHO_T}no" >&6
7580 fi
7581
7582
7583 enablestring=
7584 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7585 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7586 no_cache=0
7587 # Check whether --enable-checklst or --disable-checklst was given.
7588 if test "${enable_checklst+set}" = set; then
7589 enableval="$enable_checklst"
7590
7591 if test "$enableval" = yes; then
7592 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
7593 else
7594 ac_cv_use_checklst='wxUSE_CHECKLST=no'
7595 fi
7596
7597 else
7598
7599 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7600 if test "x$LINE" != x ; then
7601 eval "DEFAULT_$LINE"
7602 else
7603 no_cache=1
7604 fi
7605
7606 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7607
7608 fi;
7609
7610 eval "$ac_cv_use_checklst"
7611 if test "$no_cache" != 1; then
7612 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7613 fi
7614
7615 if test "$wxUSE_CHECKLST" = yes; then
7616 echo "$as_me:$LINENO: result: yes" >&5
7617 echo "${ECHO_T}yes" >&6
7618 else
7619 echo "$as_me:$LINENO: result: no" >&5
7620 echo "${ECHO_T}no" >&6
7621 fi
7622
7623
7624 enablestring=
7625 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7626 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7627 no_cache=0
7628 # Check whether --enable-choice or --disable-choice was given.
7629 if test "${enable_choice+set}" = set; then
7630 enableval="$enable_choice"
7631
7632 if test "$enableval" = yes; then
7633 ac_cv_use_choice='wxUSE_CHOICE=yes'
7634 else
7635 ac_cv_use_choice='wxUSE_CHOICE=no'
7636 fi
7637
7638 else
7639
7640 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7641 if test "x$LINE" != x ; then
7642 eval "DEFAULT_$LINE"
7643 else
7644 no_cache=1
7645 fi
7646
7647 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7648
7649 fi;
7650
7651 eval "$ac_cv_use_choice"
7652 if test "$no_cache" != 1; then
7653 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7654 fi
7655
7656 if test "$wxUSE_CHOICE" = yes; then
7657 echo "$as_me:$LINENO: result: yes" >&5
7658 echo "${ECHO_T}yes" >&6
7659 else
7660 echo "$as_me:$LINENO: result: no" >&5
7661 echo "${ECHO_T}no" >&6
7662 fi
7663
7664
7665 enablestring=
7666 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7667 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7668 no_cache=0
7669 # Check whether --enable-choicebook or --disable-choicebook was given.
7670 if test "${enable_choicebook+set}" = set; then
7671 enableval="$enable_choicebook"
7672
7673 if test "$enableval" = yes; then
7674 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
7675 else
7676 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
7677 fi
7678
7679 else
7680
7681 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7682 if test "x$LINE" != x ; then
7683 eval "DEFAULT_$LINE"
7684 else
7685 no_cache=1
7686 fi
7687
7688 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7689
7690 fi;
7691
7692 eval "$ac_cv_use_choicebook"
7693 if test "$no_cache" != 1; then
7694 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7695 fi
7696
7697 if test "$wxUSE_CHOICEBOOK" = yes; then
7698 echo "$as_me:$LINENO: result: yes" >&5
7699 echo "${ECHO_T}yes" >&6
7700 else
7701 echo "$as_me:$LINENO: result: no" >&5
7702 echo "${ECHO_T}no" >&6
7703 fi
7704
7705
7706 enablestring=
7707 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7708 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7709 no_cache=0
7710 # Check whether --enable-combobox or --disable-combobox was given.
7711 if test "${enable_combobox+set}" = set; then
7712 enableval="$enable_combobox"
7713
7714 if test "$enableval" = yes; then
7715 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
7716 else
7717 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
7718 fi
7719
7720 else
7721
7722 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7723 if test "x$LINE" != x ; then
7724 eval "DEFAULT_$LINE"
7725 else
7726 no_cache=1
7727 fi
7728
7729 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7730
7731 fi;
7732
7733 eval "$ac_cv_use_combobox"
7734 if test "$no_cache" != 1; then
7735 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7736 fi
7737
7738 if test "$wxUSE_COMBOBOX" = yes; then
7739 echo "$as_me:$LINENO: result: yes" >&5
7740 echo "${ECHO_T}yes" >&6
7741 else
7742 echo "$as_me:$LINENO: result: no" >&5
7743 echo "${ECHO_T}no" >&6
7744 fi
7745
7746
7747 enablestring=
7748 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
7749 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
7750 no_cache=0
7751 # Check whether --enable-datepick or --disable-datepick was given.
7752 if test "${enable_datepick+set}" = set; then
7753 enableval="$enable_datepick"
7754
7755 if test "$enableval" = yes; then
7756 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
7757 else
7758 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
7759 fi
7760
7761 else
7762
7763 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
7764 if test "x$LINE" != x ; then
7765 eval "DEFAULT_$LINE"
7766 else
7767 no_cache=1
7768 fi
7769
7770 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
7771
7772 fi;
7773
7774 eval "$ac_cv_use_datepick"
7775 if test "$no_cache" != 1; then
7776 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
7777 fi
7778
7779 if test "$wxUSE_DATEPICKCTRL" = yes; then
7780 echo "$as_me:$LINENO: result: yes" >&5
7781 echo "${ECHO_T}yes" >&6
7782 else
7783 echo "$as_me:$LINENO: result: no" >&5
7784 echo "${ECHO_T}no" >&6
7785 fi
7786
7787
7788 enablestring=
7789 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7790 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7791 no_cache=0
7792 # Check whether --enable-display or --disable-display was given.
7793 if test "${enable_display+set}" = set; then
7794 enableval="$enable_display"
7795
7796 if test "$enableval" = yes; then
7797 ac_cv_use_display='wxUSE_DISPLAY=yes'
7798 else
7799 ac_cv_use_display='wxUSE_DISPLAY=no'
7800 fi
7801
7802 else
7803
7804 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7805 if test "x$LINE" != x ; then
7806 eval "DEFAULT_$LINE"
7807 else
7808 no_cache=1
7809 fi
7810
7811 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7812
7813 fi;
7814
7815 eval "$ac_cv_use_display"
7816 if test "$no_cache" != 1; then
7817 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7818 fi
7819
7820 if test "$wxUSE_DISPLAY" = yes; then
7821 echo "$as_me:$LINENO: result: yes" >&5
7822 echo "${ECHO_T}yes" >&6
7823 else
7824 echo "$as_me:$LINENO: result: no" >&5
7825 echo "${ECHO_T}no" >&6
7826 fi
7827
7828
7829 enablestring=
7830 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7831 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7832 no_cache=0
7833 # Check whether --enable-gauge or --disable-gauge was given.
7834 if test "${enable_gauge+set}" = set; then
7835 enableval="$enable_gauge"
7836
7837 if test "$enableval" = yes; then
7838 ac_cv_use_gauge='wxUSE_GAUGE=yes'
7839 else
7840 ac_cv_use_gauge='wxUSE_GAUGE=no'
7841 fi
7842
7843 else
7844
7845 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7846 if test "x$LINE" != x ; then
7847 eval "DEFAULT_$LINE"
7848 else
7849 no_cache=1
7850 fi
7851
7852 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7853
7854 fi;
7855
7856 eval "$ac_cv_use_gauge"
7857 if test "$no_cache" != 1; then
7858 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7859 fi
7860
7861 if test "$wxUSE_GAUGE" = yes; then
7862 echo "$as_me:$LINENO: result: yes" >&5
7863 echo "${ECHO_T}yes" >&6
7864 else
7865 echo "$as_me:$LINENO: result: no" >&5
7866 echo "${ECHO_T}no" >&6
7867 fi
7868
7869
7870 enablestring=
7871 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7872 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7873 no_cache=0
7874 # Check whether --enable-grid or --disable-grid was given.
7875 if test "${enable_grid+set}" = set; then
7876 enableval="$enable_grid"
7877
7878 if test "$enableval" = yes; then
7879 ac_cv_use_grid='wxUSE_GRID=yes'
7880 else
7881 ac_cv_use_grid='wxUSE_GRID=no'
7882 fi
7883
7884 else
7885
7886 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7887 if test "x$LINE" != x ; then
7888 eval "DEFAULT_$LINE"
7889 else
7890 no_cache=1
7891 fi
7892
7893 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7894
7895 fi;
7896
7897 eval "$ac_cv_use_grid"
7898 if test "$no_cache" != 1; then
7899 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7900 fi
7901
7902 if test "$wxUSE_GRID" = yes; then
7903 echo "$as_me:$LINENO: result: yes" >&5
7904 echo "${ECHO_T}yes" >&6
7905 else
7906 echo "$as_me:$LINENO: result: no" >&5
7907 echo "${ECHO_T}no" >&6
7908 fi
7909
7910
7911 enablestring=
7912 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7913 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7914 no_cache=0
7915 # Check whether --enable-imaglist or --disable-imaglist was given.
7916 if test "${enable_imaglist+set}" = set; then
7917 enableval="$enable_imaglist"
7918
7919 if test "$enableval" = yes; then
7920 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7921 else
7922 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7923 fi
7924
7925 else
7926
7927 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7928 if test "x$LINE" != x ; then
7929 eval "DEFAULT_$LINE"
7930 else
7931 no_cache=1
7932 fi
7933
7934 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7935
7936 fi;
7937
7938 eval "$ac_cv_use_imaglist"
7939 if test "$no_cache" != 1; then
7940 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7941 fi
7942
7943 if test "$wxUSE_IMAGLIST" = yes; then
7944 echo "$as_me:$LINENO: result: yes" >&5
7945 echo "${ECHO_T}yes" >&6
7946 else
7947 echo "$as_me:$LINENO: result: no" >&5
7948 echo "${ECHO_T}no" >&6
7949 fi
7950
7951
7952 enablestring=
7953 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7954 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7955 no_cache=0
7956 # Check whether --enable-listbook or --disable-listbook was given.
7957 if test "${enable_listbook+set}" = set; then
7958 enableval="$enable_listbook"
7959
7960 if test "$enableval" = yes; then
7961 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
7962 else
7963 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
7964 fi
7965
7966 else
7967
7968 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7969 if test "x$LINE" != x ; then
7970 eval "DEFAULT_$LINE"
7971 else
7972 no_cache=1
7973 fi
7974
7975 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7976
7977 fi;
7978
7979 eval "$ac_cv_use_listbook"
7980 if test "$no_cache" != 1; then
7981 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7982 fi
7983
7984 if test "$wxUSE_LISTBOOK" = yes; then
7985 echo "$as_me:$LINENO: result: yes" >&5
7986 echo "${ECHO_T}yes" >&6
7987 else
7988 echo "$as_me:$LINENO: result: no" >&5
7989 echo "${ECHO_T}no" >&6
7990 fi
7991
7992
7993 enablestring=
7994 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7995 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7996 no_cache=0
7997 # Check whether --enable-listbox or --disable-listbox was given.
7998 if test "${enable_listbox+set}" = set; then
7999 enableval="$enable_listbox"
8000
8001 if test "$enableval" = yes; then
8002 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
8003 else
8004 ac_cv_use_listbox='wxUSE_LISTBOX=no'
8005 fi
8006
8007 else
8008
8009 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8010 if test "x$LINE" != x ; then
8011 eval "DEFAULT_$LINE"
8012 else
8013 no_cache=1
8014 fi
8015
8016 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8017
8018 fi;
8019
8020 eval "$ac_cv_use_listbox"
8021 if test "$no_cache" != 1; then
8022 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8023 fi
8024
8025 if test "$wxUSE_LISTBOX" = yes; then
8026 echo "$as_me:$LINENO: result: yes" >&5
8027 echo "${ECHO_T}yes" >&6
8028 else
8029 echo "$as_me:$LINENO: result: no" >&5
8030 echo "${ECHO_T}no" >&6
8031 fi
8032
8033
8034 enablestring=
8035 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8036 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8037 no_cache=0
8038 # Check whether --enable-listctrl or --disable-listctrl was given.
8039 if test "${enable_listctrl+set}" = set; then
8040 enableval="$enable_listctrl"
8041
8042 if test "$enableval" = yes; then
8043 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
8044 else
8045 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
8046 fi
8047
8048 else
8049
8050 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8051 if test "x$LINE" != x ; then
8052 eval "DEFAULT_$LINE"
8053 else
8054 no_cache=1
8055 fi
8056
8057 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8058
8059 fi;
8060
8061 eval "$ac_cv_use_listctrl"
8062 if test "$no_cache" != 1; then
8063 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8064 fi
8065
8066 if test "$wxUSE_LISTCTRL" = yes; then
8067 echo "$as_me:$LINENO: result: yes" >&5
8068 echo "${ECHO_T}yes" >&6
8069 else
8070 echo "$as_me:$LINENO: result: no" >&5
8071 echo "${ECHO_T}no" >&6
8072 fi
8073
8074
8075 enablestring=
8076 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8077 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8078 no_cache=0
8079 # Check whether --enable-notebook or --disable-notebook was given.
8080 if test "${enable_notebook+set}" = set; then
8081 enableval="$enable_notebook"
8082
8083 if test "$enableval" = yes; then
8084 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
8085 else
8086 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
8087 fi
8088
8089 else
8090
8091 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8092 if test "x$LINE" != x ; then
8093 eval "DEFAULT_$LINE"
8094 else
8095 no_cache=1
8096 fi
8097
8098 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8099
8100 fi;
8101
8102 eval "$ac_cv_use_notebook"
8103 if test "$no_cache" != 1; then
8104 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8105 fi
8106
8107 if test "$wxUSE_NOTEBOOK" = yes; then
8108 echo "$as_me:$LINENO: result: yes" >&5
8109 echo "${ECHO_T}yes" >&6
8110 else
8111 echo "$as_me:$LINENO: result: no" >&5
8112 echo "${ECHO_T}no" >&6
8113 fi
8114
8115
8116 enablestring=
8117 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8118 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8119 no_cache=0
8120 # Check whether --enable-radiobox or --disable-radiobox was given.
8121 if test "${enable_radiobox+set}" = set; then
8122 enableval="$enable_radiobox"
8123
8124 if test "$enableval" = yes; then
8125 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
8126 else
8127 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
8128 fi
8129
8130 else
8131
8132 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8133 if test "x$LINE" != x ; then
8134 eval "DEFAULT_$LINE"
8135 else
8136 no_cache=1
8137 fi
8138
8139 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8140
8141 fi;
8142
8143 eval "$ac_cv_use_radiobox"
8144 if test "$no_cache" != 1; then
8145 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8146 fi
8147
8148 if test "$wxUSE_RADIOBOX" = yes; then
8149 echo "$as_me:$LINENO: result: yes" >&5
8150 echo "${ECHO_T}yes" >&6
8151 else
8152 echo "$as_me:$LINENO: result: no" >&5
8153 echo "${ECHO_T}no" >&6
8154 fi
8155
8156
8157 enablestring=
8158 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8159 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8160 no_cache=0
8161 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8162 if test "${enable_radiobtn+set}" = set; then
8163 enableval="$enable_radiobtn"
8164
8165 if test "$enableval" = yes; then
8166 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
8167 else
8168 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
8169 fi
8170
8171 else
8172
8173 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8174 if test "x$LINE" != x ; then
8175 eval "DEFAULT_$LINE"
8176 else
8177 no_cache=1
8178 fi
8179
8180 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8181
8182 fi;
8183
8184 eval "$ac_cv_use_radiobtn"
8185 if test "$no_cache" != 1; then
8186 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8187 fi
8188
8189 if test "$wxUSE_RADIOBTN" = yes; then
8190 echo "$as_me:$LINENO: result: yes" >&5
8191 echo "${ECHO_T}yes" >&6
8192 else
8193 echo "$as_me:$LINENO: result: no" >&5
8194 echo "${ECHO_T}no" >&6
8195 fi
8196
8197
8198 enablestring=
8199 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8200 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8201 no_cache=0
8202 # Check whether --enable-sash or --disable-sash was given.
8203 if test "${enable_sash+set}" = set; then
8204 enableval="$enable_sash"
8205
8206 if test "$enableval" = yes; then
8207 ac_cv_use_sash='wxUSE_SASH=yes'
8208 else
8209 ac_cv_use_sash='wxUSE_SASH=no'
8210 fi
8211
8212 else
8213
8214 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8215 if test "x$LINE" != x ; then
8216 eval "DEFAULT_$LINE"
8217 else
8218 no_cache=1
8219 fi
8220
8221 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8222
8223 fi;
8224
8225 eval "$ac_cv_use_sash"
8226 if test "$no_cache" != 1; then
8227 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8228 fi
8229
8230 if test "$wxUSE_SASH" = yes; then
8231 echo "$as_me:$LINENO: result: yes" >&5
8232 echo "${ECHO_T}yes" >&6
8233 else
8234 echo "$as_me:$LINENO: result: no" >&5
8235 echo "${ECHO_T}no" >&6
8236 fi
8237
8238
8239 enablestring=
8240 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8241 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8242 no_cache=0
8243 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8244 if test "${enable_scrollbar+set}" = set; then
8245 enableval="$enable_scrollbar"
8246
8247 if test "$enableval" = yes; then
8248 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
8249 else
8250 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
8251 fi
8252
8253 else
8254
8255 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8256 if test "x$LINE" != x ; then
8257 eval "DEFAULT_$LINE"
8258 else
8259 no_cache=1
8260 fi
8261
8262 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8263
8264 fi;
8265
8266 eval "$ac_cv_use_scrollbar"
8267 if test "$no_cache" != 1; then
8268 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8269 fi
8270
8271 if test "$wxUSE_SCROLLBAR" = yes; then
8272 echo "$as_me:$LINENO: result: yes" >&5
8273 echo "${ECHO_T}yes" >&6
8274 else
8275 echo "$as_me:$LINENO: result: no" >&5
8276 echo "${ECHO_T}no" >&6
8277 fi
8278
8279
8280 enablestring=
8281 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8282 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8283 no_cache=0
8284 # Check whether --enable-slider or --disable-slider was given.
8285 if test "${enable_slider+set}" = set; then
8286 enableval="$enable_slider"
8287
8288 if test "$enableval" = yes; then
8289 ac_cv_use_slider='wxUSE_SLIDER=yes'
8290 else
8291 ac_cv_use_slider='wxUSE_SLIDER=no'
8292 fi
8293
8294 else
8295
8296 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8297 if test "x$LINE" != x ; then
8298 eval "DEFAULT_$LINE"
8299 else
8300 no_cache=1
8301 fi
8302
8303 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8304
8305 fi;
8306
8307 eval "$ac_cv_use_slider"
8308 if test "$no_cache" != 1; then
8309 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8310 fi
8311
8312 if test "$wxUSE_SLIDER" = yes; then
8313 echo "$as_me:$LINENO: result: yes" >&5
8314 echo "${ECHO_T}yes" >&6
8315 else
8316 echo "$as_me:$LINENO: result: no" >&5
8317 echo "${ECHO_T}no" >&6
8318 fi
8319
8320
8321 enablestring=
8322 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8323 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8324 no_cache=0
8325 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8326 if test "${enable_spinbtn+set}" = set; then
8327 enableval="$enable_spinbtn"
8328
8329 if test "$enableval" = yes; then
8330 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
8331 else
8332 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
8333 fi
8334
8335 else
8336
8337 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8338 if test "x$LINE" != x ; then
8339 eval "DEFAULT_$LINE"
8340 else
8341 no_cache=1
8342 fi
8343
8344 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8345
8346 fi;
8347
8348 eval "$ac_cv_use_spinbtn"
8349 if test "$no_cache" != 1; then
8350 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8351 fi
8352
8353 if test "$wxUSE_SPINBTN" = yes; then
8354 echo "$as_me:$LINENO: result: yes" >&5
8355 echo "${ECHO_T}yes" >&6
8356 else
8357 echo "$as_me:$LINENO: result: no" >&5
8358 echo "${ECHO_T}no" >&6
8359 fi
8360
8361
8362 enablestring=
8363 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8364 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8365 no_cache=0
8366 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8367 if test "${enable_spinctrl+set}" = set; then
8368 enableval="$enable_spinctrl"
8369
8370 if test "$enableval" = yes; then
8371 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
8372 else
8373 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
8374 fi
8375
8376 else
8377
8378 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8379 if test "x$LINE" != x ; then
8380 eval "DEFAULT_$LINE"
8381 else
8382 no_cache=1
8383 fi
8384
8385 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8386
8387 fi;
8388
8389 eval "$ac_cv_use_spinctrl"
8390 if test "$no_cache" != 1; then
8391 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8392 fi
8393
8394 if test "$wxUSE_SPINCTRL" = yes; then
8395 echo "$as_me:$LINENO: result: yes" >&5
8396 echo "${ECHO_T}yes" >&6
8397 else
8398 echo "$as_me:$LINENO: result: no" >&5
8399 echo "${ECHO_T}no" >&6
8400 fi
8401
8402
8403 enablestring=
8404 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8405 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8406 no_cache=0
8407 # Check whether --enable-splitter or --disable-splitter was given.
8408 if test "${enable_splitter+set}" = set; then
8409 enableval="$enable_splitter"
8410
8411 if test "$enableval" = yes; then
8412 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
8413 else
8414 ac_cv_use_splitter='wxUSE_SPLITTER=no'
8415 fi
8416
8417 else
8418
8419 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8420 if test "x$LINE" != x ; then
8421 eval "DEFAULT_$LINE"
8422 else
8423 no_cache=1
8424 fi
8425
8426 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8427
8428 fi;
8429
8430 eval "$ac_cv_use_splitter"
8431 if test "$no_cache" != 1; then
8432 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8433 fi
8434
8435 if test "$wxUSE_SPLITTER" = yes; then
8436 echo "$as_me:$LINENO: result: yes" >&5
8437 echo "${ECHO_T}yes" >&6
8438 else
8439 echo "$as_me:$LINENO: result: no" >&5
8440 echo "${ECHO_T}no" >&6
8441 fi
8442
8443
8444 enablestring=
8445 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8446 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8447 no_cache=0
8448 # Check whether --enable-statbmp or --disable-statbmp was given.
8449 if test "${enable_statbmp+set}" = set; then
8450 enableval="$enable_statbmp"
8451
8452 if test "$enableval" = yes; then
8453 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
8454 else
8455 ac_cv_use_statbmp='wxUSE_STATBMP=no'
8456 fi
8457
8458 else
8459
8460 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8461 if test "x$LINE" != x ; then
8462 eval "DEFAULT_$LINE"
8463 else
8464 no_cache=1
8465 fi
8466
8467 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8468
8469 fi;
8470
8471 eval "$ac_cv_use_statbmp"
8472 if test "$no_cache" != 1; then
8473 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8474 fi
8475
8476 if test "$wxUSE_STATBMP" = yes; then
8477 echo "$as_me:$LINENO: result: yes" >&5
8478 echo "${ECHO_T}yes" >&6
8479 else
8480 echo "$as_me:$LINENO: result: no" >&5
8481 echo "${ECHO_T}no" >&6
8482 fi
8483
8484
8485 enablestring=
8486 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8487 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8488 no_cache=0
8489 # Check whether --enable-statbox or --disable-statbox was given.
8490 if test "${enable_statbox+set}" = set; then
8491 enableval="$enable_statbox"
8492
8493 if test "$enableval" = yes; then
8494 ac_cv_use_statbox='wxUSE_STATBOX=yes'
8495 else
8496 ac_cv_use_statbox='wxUSE_STATBOX=no'
8497 fi
8498
8499 else
8500
8501 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8502 if test "x$LINE" != x ; then
8503 eval "DEFAULT_$LINE"
8504 else
8505 no_cache=1
8506 fi
8507
8508 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8509
8510 fi;
8511
8512 eval "$ac_cv_use_statbox"
8513 if test "$no_cache" != 1; then
8514 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8515 fi
8516
8517 if test "$wxUSE_STATBOX" = yes; then
8518 echo "$as_me:$LINENO: result: yes" >&5
8519 echo "${ECHO_T}yes" >&6
8520 else
8521 echo "$as_me:$LINENO: result: no" >&5
8522 echo "${ECHO_T}no" >&6
8523 fi
8524
8525
8526 enablestring=
8527 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8528 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8529 no_cache=0
8530 # Check whether --enable-statline or --disable-statline was given.
8531 if test "${enable_statline+set}" = set; then
8532 enableval="$enable_statline"
8533
8534 if test "$enableval" = yes; then
8535 ac_cv_use_statline='wxUSE_STATLINE=yes'
8536 else
8537 ac_cv_use_statline='wxUSE_STATLINE=no'
8538 fi
8539
8540 else
8541
8542 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8543 if test "x$LINE" != x ; then
8544 eval "DEFAULT_$LINE"
8545 else
8546 no_cache=1
8547 fi
8548
8549 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8550
8551 fi;
8552
8553 eval "$ac_cv_use_statline"
8554 if test "$no_cache" != 1; then
8555 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8556 fi
8557
8558 if test "$wxUSE_STATLINE" = yes; then
8559 echo "$as_me:$LINENO: result: yes" >&5
8560 echo "${ECHO_T}yes" >&6
8561 else
8562 echo "$as_me:$LINENO: result: no" >&5
8563 echo "${ECHO_T}no" >&6
8564 fi
8565
8566
8567 enablestring=
8568 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8569 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8570 no_cache=0
8571 # Check whether --enable-stattext or --disable-stattext was given.
8572 if test "${enable_stattext+set}" = set; then
8573 enableval="$enable_stattext"
8574
8575 if test "$enableval" = yes; then
8576 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
8577 else
8578 ac_cv_use_stattext='wxUSE_STATTEXT=no'
8579 fi
8580
8581 else
8582
8583 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8584 if test "x$LINE" != x ; then
8585 eval "DEFAULT_$LINE"
8586 else
8587 no_cache=1
8588 fi
8589
8590 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8591
8592 fi;
8593
8594 eval "$ac_cv_use_stattext"
8595 if test "$no_cache" != 1; then
8596 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8597 fi
8598
8599 if test "$wxUSE_STATTEXT" = yes; then
8600 echo "$as_me:$LINENO: result: yes" >&5
8601 echo "${ECHO_T}yes" >&6
8602 else
8603 echo "$as_me:$LINENO: result: no" >&5
8604 echo "${ECHO_T}no" >&6
8605 fi
8606
8607
8608 enablestring=
8609 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8610 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8611 no_cache=0
8612 # Check whether --enable-statusbar or --disable-statusbar was given.
8613 if test "${enable_statusbar+set}" = set; then
8614 enableval="$enable_statusbar"
8615
8616 if test "$enableval" = yes; then
8617 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
8618 else
8619 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
8620 fi
8621
8622 else
8623
8624 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8625 if test "x$LINE" != x ; then
8626 eval "DEFAULT_$LINE"
8627 else
8628 no_cache=1
8629 fi
8630
8631 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8632
8633 fi;
8634
8635 eval "$ac_cv_use_statusbar"
8636 if test "$no_cache" != 1; then
8637 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8638 fi
8639
8640 if test "$wxUSE_STATUSBAR" = yes; then
8641 echo "$as_me:$LINENO: result: yes" >&5
8642 echo "${ECHO_T}yes" >&6
8643 else
8644 echo "$as_me:$LINENO: result: no" >&5
8645 echo "${ECHO_T}no" >&6
8646 fi
8647
8648
8649 enablestring=
8650 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8651 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8652 no_cache=0
8653 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8654 if test "${enable_tabdialog+set}" = set; then
8655 enableval="$enable_tabdialog"
8656
8657 if test "$enableval" = yes; then
8658 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
8659 else
8660 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
8661 fi
8662
8663 else
8664
8665 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8666 if test "x$LINE" != x ; then
8667 eval "DEFAULT_$LINE"
8668 else
8669 no_cache=1
8670 fi
8671
8672 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8673
8674 fi;
8675
8676 eval "$ac_cv_use_tabdialog"
8677 if test "$no_cache" != 1; then
8678 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8679 fi
8680
8681 if test "$wxUSE_TABDIALOG" = yes; then
8682 echo "$as_me:$LINENO: result: yes" >&5
8683 echo "${ECHO_T}yes" >&6
8684 else
8685 echo "$as_me:$LINENO: result: no" >&5
8686 echo "${ECHO_T}no" >&6
8687 fi
8688
8689
8690 enablestring=
8691 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8692 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8693 no_cache=0
8694 # Check whether --enable-textctrl or --disable-textctrl was given.
8695 if test "${enable_textctrl+set}" = set; then
8696 enableval="$enable_textctrl"
8697
8698 if test "$enableval" = yes; then
8699 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
8700 else
8701 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
8702 fi
8703
8704 else
8705
8706 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8707 if test "x$LINE" != x ; then
8708 eval "DEFAULT_$LINE"
8709 else
8710 no_cache=1
8711 fi
8712
8713 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8714
8715 fi;
8716
8717 eval "$ac_cv_use_textctrl"
8718 if test "$no_cache" != 1; then
8719 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8720 fi
8721
8722 if test "$wxUSE_TEXTCTRL" = yes; then
8723 echo "$as_me:$LINENO: result: yes" >&5
8724 echo "${ECHO_T}yes" >&6
8725 else
8726 echo "$as_me:$LINENO: result: no" >&5
8727 echo "${ECHO_T}no" >&6
8728 fi
8729
8730
8731 enablestring=
8732 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8733 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8734 no_cache=0
8735 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8736 if test "${enable_togglebtn+set}" = set; then
8737 enableval="$enable_togglebtn"
8738
8739 if test "$enableval" = yes; then
8740 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
8741 else
8742 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
8743 fi
8744
8745 else
8746
8747 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8748 if test "x$LINE" != x ; then
8749 eval "DEFAULT_$LINE"
8750 else
8751 no_cache=1
8752 fi
8753
8754 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8755
8756 fi;
8757
8758 eval "$ac_cv_use_togglebtn"
8759 if test "$no_cache" != 1; then
8760 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8761 fi
8762
8763 if test "$wxUSE_TOGGLEBTN" = yes; then
8764 echo "$as_me:$LINENO: result: yes" >&5
8765 echo "${ECHO_T}yes" >&6
8766 else
8767 echo "$as_me:$LINENO: result: no" >&5
8768 echo "${ECHO_T}no" >&6
8769 fi
8770
8771
8772 enablestring=
8773 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8774 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8775 no_cache=0
8776 # Check whether --enable-toolbar or --disable-toolbar was given.
8777 if test "${enable_toolbar+set}" = set; then
8778 enableval="$enable_toolbar"
8779
8780 if test "$enableval" = yes; then
8781 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
8782 else
8783 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
8784 fi
8785
8786 else
8787
8788 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8789 if test "x$LINE" != x ; then
8790 eval "DEFAULT_$LINE"
8791 else
8792 no_cache=1
8793 fi
8794
8795 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8796
8797 fi;
8798
8799 eval "$ac_cv_use_toolbar"
8800 if test "$no_cache" != 1; then
8801 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8802 fi
8803
8804 if test "$wxUSE_TOOLBAR" = yes; then
8805 echo "$as_me:$LINENO: result: yes" >&5
8806 echo "${ECHO_T}yes" >&6
8807 else
8808 echo "$as_me:$LINENO: result: no" >&5
8809 echo "${ECHO_T}no" >&6
8810 fi
8811
8812
8813 enablestring=
8814 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8815 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8816 no_cache=0
8817 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8818 if test "${enable_tbarnative+set}" = set; then
8819 enableval="$enable_tbarnative"
8820
8821 if test "$enableval" = yes; then
8822 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
8823 else
8824 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
8825 fi
8826
8827 else
8828
8829 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8830 if test "x$LINE" != x ; then
8831 eval "DEFAULT_$LINE"
8832 else
8833 no_cache=1
8834 fi
8835
8836 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8837
8838 fi;
8839
8840 eval "$ac_cv_use_tbarnative"
8841 if test "$no_cache" != 1; then
8842 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8843 fi
8844
8845 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8846 echo "$as_me:$LINENO: result: yes" >&5
8847 echo "${ECHO_T}yes" >&6
8848 else
8849 echo "$as_me:$LINENO: result: no" >&5
8850 echo "${ECHO_T}no" >&6
8851 fi
8852
8853
8854 enablestring=
8855 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8856 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8857 no_cache=0
8858 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8859 if test "${enable_tbarsmpl+set}" = set; then
8860 enableval="$enable_tbarsmpl"
8861
8862 if test "$enableval" = yes; then
8863 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
8864 else
8865 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
8866 fi
8867
8868 else
8869
8870 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8871 if test "x$LINE" != x ; then
8872 eval "DEFAULT_$LINE"
8873 else
8874 no_cache=1
8875 fi
8876
8877 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8878
8879 fi;
8880
8881 eval "$ac_cv_use_tbarsmpl"
8882 if test "$no_cache" != 1; then
8883 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8884 fi
8885
8886 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8887 echo "$as_me:$LINENO: result: yes" >&5
8888 echo "${ECHO_T}yes" >&6
8889 else
8890 echo "$as_me:$LINENO: result: no" >&5
8891 echo "${ECHO_T}no" >&6
8892 fi
8893
8894
8895 enablestring=
8896 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8897 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8898 no_cache=0
8899 # Check whether --enable-treectrl or --disable-treectrl was given.
8900 if test "${enable_treectrl+set}" = set; then
8901 enableval="$enable_treectrl"
8902
8903 if test "$enableval" = yes; then
8904 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8905 else
8906 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8907 fi
8908
8909 else
8910
8911 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8912 if test "x$LINE" != x ; then
8913 eval "DEFAULT_$LINE"
8914 else
8915 no_cache=1
8916 fi
8917
8918 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8919
8920 fi;
8921
8922 eval "$ac_cv_use_treectrl"
8923 if test "$no_cache" != 1; then
8924 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8925 fi
8926
8927 if test "$wxUSE_TREECTRL" = yes; then
8928 echo "$as_me:$LINENO: result: yes" >&5
8929 echo "${ECHO_T}yes" >&6
8930 else
8931 echo "$as_me:$LINENO: result: no" >&5
8932 echo "${ECHO_T}no" >&6
8933 fi
8934
8935
8936 enablestring=
8937 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8938 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8939 no_cache=0
8940 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8941 if test "${enable_tipwindow+set}" = set; then
8942 enableval="$enable_tipwindow"
8943
8944 if test "$enableval" = yes; then
8945 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8946 else
8947 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8948 fi
8949
8950 else
8951
8952 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8953 if test "x$LINE" != x ; then
8954 eval "DEFAULT_$LINE"
8955 else
8956 no_cache=1
8957 fi
8958
8959 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8960
8961 fi;
8962
8963 eval "$ac_cv_use_tipwindow"
8964 if test "$no_cache" != 1; then
8965 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8966 fi
8967
8968 if test "$wxUSE_TIPWINDOW" = yes; then
8969 echo "$as_me:$LINENO: result: yes" >&5
8970 echo "${ECHO_T}yes" >&6
8971 else
8972 echo "$as_me:$LINENO: result: no" >&5
8973 echo "${ECHO_T}no" >&6
8974 fi
8975
8976
8977 enablestring=
8978 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8979 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8980 no_cache=0
8981 # Check whether --enable-popupwin or --disable-popupwin was given.
8982 if test "${enable_popupwin+set}" = set; then
8983 enableval="$enable_popupwin"
8984
8985 if test "$enableval" = yes; then
8986 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8987 else
8988 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8989 fi
8990
8991 else
8992
8993 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8994 if test "x$LINE" != x ; then
8995 eval "DEFAULT_$LINE"
8996 else
8997 no_cache=1
8998 fi
8999
9000 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
9001
9002 fi;
9003
9004 eval "$ac_cv_use_popupwin"
9005 if test "$no_cache" != 1; then
9006 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9007 fi
9008
9009 if test "$wxUSE_POPUPWIN" = yes; then
9010 echo "$as_me:$LINENO: result: yes" >&5
9011 echo "${ECHO_T}yes" >&6
9012 else
9013 echo "$as_me:$LINENO: result: no" >&5
9014 echo "${ECHO_T}no" >&6
9015 fi
9016
9017
9018
9019
9020 enablestring=
9021 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9022 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9023 no_cache=0
9024 # Check whether --enable-commondlg or --disable-commondlg was given.
9025 if test "${enable_commondlg+set}" = set; then
9026 enableval="$enable_commondlg"
9027
9028 if test "$enableval" = yes; then
9029 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
9030 else
9031 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
9032 fi
9033
9034 else
9035
9036 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9037 if test "x$LINE" != x ; then
9038 eval "DEFAULT_$LINE"
9039 else
9040 no_cache=1
9041 fi
9042
9043 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9044
9045 fi;
9046
9047 eval "$ac_cv_use_commondlg"
9048 if test "$no_cache" != 1; then
9049 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9050 fi
9051
9052 if test "$wxUSE_COMMONDLGS" = yes; then
9053 echo "$as_me:$LINENO: result: yes" >&5
9054 echo "${ECHO_T}yes" >&6
9055 else
9056 echo "$as_me:$LINENO: result: no" >&5
9057 echo "${ECHO_T}no" >&6
9058 fi
9059
9060
9061 enablestring=
9062 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9063 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9064 no_cache=0
9065 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9066 if test "${enable_choicedlg+set}" = set; then
9067 enableval="$enable_choicedlg"
9068
9069 if test "$enableval" = yes; then
9070 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
9071 else
9072 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
9073 fi
9074
9075 else
9076
9077 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9078 if test "x$LINE" != x ; then
9079 eval "DEFAULT_$LINE"
9080 else
9081 no_cache=1
9082 fi
9083
9084 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9085
9086 fi;
9087
9088 eval "$ac_cv_use_choicedlg"
9089 if test "$no_cache" != 1; then
9090 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9091 fi
9092
9093 if test "$wxUSE_CHOICEDLG" = yes; then
9094 echo "$as_me:$LINENO: result: yes" >&5
9095 echo "${ECHO_T}yes" >&6
9096 else
9097 echo "$as_me:$LINENO: result: no" >&5
9098 echo "${ECHO_T}no" >&6
9099 fi
9100
9101
9102 enablestring=
9103 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9104 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9105 no_cache=0
9106 # Check whether --enable-coldlg or --disable-coldlg was given.
9107 if test "${enable_coldlg+set}" = set; then
9108 enableval="$enable_coldlg"
9109
9110 if test "$enableval" = yes; then
9111 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
9112 else
9113 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
9114 fi
9115
9116 else
9117
9118 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9119 if test "x$LINE" != x ; then
9120 eval "DEFAULT_$LINE"
9121 else
9122 no_cache=1
9123 fi
9124
9125 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9126
9127 fi;
9128
9129 eval "$ac_cv_use_coldlg"
9130 if test "$no_cache" != 1; then
9131 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9132 fi
9133
9134 if test "$wxUSE_COLOURDLG" = yes; then
9135 echo "$as_me:$LINENO: result: yes" >&5
9136 echo "${ECHO_T}yes" >&6
9137 else
9138 echo "$as_me:$LINENO: result: no" >&5
9139 echo "${ECHO_T}no" >&6
9140 fi
9141
9142
9143 enablestring=
9144 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9145 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9146 no_cache=0
9147 # Check whether --enable-filedlg or --disable-filedlg was given.
9148 if test "${enable_filedlg+set}" = set; then
9149 enableval="$enable_filedlg"
9150
9151 if test "$enableval" = yes; then
9152 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
9153 else
9154 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
9155 fi
9156
9157 else
9158
9159 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9160 if test "x$LINE" != x ; then
9161 eval "DEFAULT_$LINE"
9162 else
9163 no_cache=1
9164 fi
9165
9166 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9167
9168 fi;
9169
9170 eval "$ac_cv_use_filedlg"
9171 if test "$no_cache" != 1; then
9172 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9173 fi
9174
9175 if test "$wxUSE_FILEDLG" = yes; then
9176 echo "$as_me:$LINENO: result: yes" >&5
9177 echo "${ECHO_T}yes" >&6
9178 else
9179 echo "$as_me:$LINENO: result: no" >&5
9180 echo "${ECHO_T}no" >&6
9181 fi
9182
9183
9184 enablestring=
9185 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9186 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9187 no_cache=0
9188 # Check whether --enable-finddlg or --disable-finddlg was given.
9189 if test "${enable_finddlg+set}" = set; then
9190 enableval="$enable_finddlg"
9191
9192 if test "$enableval" = yes; then
9193 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
9194 else
9195 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
9196 fi
9197
9198 else
9199
9200 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9201 if test "x$LINE" != x ; then
9202 eval "DEFAULT_$LINE"
9203 else
9204 no_cache=1
9205 fi
9206
9207 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9208
9209 fi;
9210
9211 eval "$ac_cv_use_finddlg"
9212 if test "$no_cache" != 1; then
9213 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9214 fi
9215
9216 if test "$wxUSE_FINDREPLDLG" = yes; then
9217 echo "$as_me:$LINENO: result: yes" >&5
9218 echo "${ECHO_T}yes" >&6
9219 else
9220 echo "$as_me:$LINENO: result: no" >&5
9221 echo "${ECHO_T}no" >&6
9222 fi
9223
9224
9225 enablestring=
9226 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9227 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9228 no_cache=0
9229 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9230 if test "${enable_fontdlg+set}" = set; then
9231 enableval="$enable_fontdlg"
9232
9233 if test "$enableval" = yes; then
9234 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
9235 else
9236 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
9237 fi
9238
9239 else
9240
9241 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9242 if test "x$LINE" != x ; then
9243 eval "DEFAULT_$LINE"
9244 else
9245 no_cache=1
9246 fi
9247
9248 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9249
9250 fi;
9251
9252 eval "$ac_cv_use_fontdlg"
9253 if test "$no_cache" != 1; then
9254 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9255 fi
9256
9257 if test "$wxUSE_FONTDLG" = yes; then
9258 echo "$as_me:$LINENO: result: yes" >&5
9259 echo "${ECHO_T}yes" >&6
9260 else
9261 echo "$as_me:$LINENO: result: no" >&5
9262 echo "${ECHO_T}no" >&6
9263 fi
9264
9265
9266 enablestring=
9267 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9268 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9269 no_cache=0
9270 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9271 if test "${enable_dirdlg+set}" = set; then
9272 enableval="$enable_dirdlg"
9273
9274 if test "$enableval" = yes; then
9275 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
9276 else
9277 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
9278 fi
9279
9280 else
9281
9282 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9283 if test "x$LINE" != x ; then
9284 eval "DEFAULT_$LINE"
9285 else
9286 no_cache=1
9287 fi
9288
9289 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9290
9291 fi;
9292
9293 eval "$ac_cv_use_dirdlg"
9294 if test "$no_cache" != 1; then
9295 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9296 fi
9297
9298 if test "$wxUSE_DIRDLG" = yes; then
9299 echo "$as_me:$LINENO: result: yes" >&5
9300 echo "${ECHO_T}yes" >&6
9301 else
9302 echo "$as_me:$LINENO: result: no" >&5
9303 echo "${ECHO_T}no" >&6
9304 fi
9305
9306
9307 enablestring=
9308 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9309 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9310 no_cache=0
9311 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9312 if test "${enable_msgdlg+set}" = set; then
9313 enableval="$enable_msgdlg"
9314
9315 if test "$enableval" = yes; then
9316 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
9317 else
9318 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
9319 fi
9320
9321 else
9322
9323 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9324 if test "x$LINE" != x ; then
9325 eval "DEFAULT_$LINE"
9326 else
9327 no_cache=1
9328 fi
9329
9330 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9331
9332 fi;
9333
9334 eval "$ac_cv_use_msgdlg"
9335 if test "$no_cache" != 1; then
9336 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9337 fi
9338
9339 if test "$wxUSE_MSGDLG" = yes; then
9340 echo "$as_me:$LINENO: result: yes" >&5
9341 echo "${ECHO_T}yes" >&6
9342 else
9343 echo "$as_me:$LINENO: result: no" >&5
9344 echo "${ECHO_T}no" >&6
9345 fi
9346
9347
9348 enablestring=
9349 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9350 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9351 no_cache=0
9352 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9353 if test "${enable_numberdlg+set}" = set; then
9354 enableval="$enable_numberdlg"
9355
9356 if test "$enableval" = yes; then
9357 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
9358 else
9359 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
9360 fi
9361
9362 else
9363
9364 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9365 if test "x$LINE" != x ; then
9366 eval "DEFAULT_$LINE"
9367 else
9368 no_cache=1
9369 fi
9370
9371 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9372
9373 fi;
9374
9375 eval "$ac_cv_use_numberdlg"
9376 if test "$no_cache" != 1; then
9377 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9378 fi
9379
9380 if test "$wxUSE_NUMBERDLG" = yes; then
9381 echo "$as_me:$LINENO: result: yes" >&5
9382 echo "${ECHO_T}yes" >&6
9383 else
9384 echo "$as_me:$LINENO: result: no" >&5
9385 echo "${ECHO_T}no" >&6
9386 fi
9387
9388
9389 enablestring=
9390 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9391 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9392 no_cache=0
9393 # Check whether --enable-splash or --disable-splash was given.
9394 if test "${enable_splash+set}" = set; then
9395 enableval="$enable_splash"
9396
9397 if test "$enableval" = yes; then
9398 ac_cv_use_splash='wxUSE_SPLASH=yes'
9399 else
9400 ac_cv_use_splash='wxUSE_SPLASH=no'
9401 fi
9402
9403 else
9404
9405 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9406 if test "x$LINE" != x ; then
9407 eval "DEFAULT_$LINE"
9408 else
9409 no_cache=1
9410 fi
9411
9412 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9413
9414 fi;
9415
9416 eval "$ac_cv_use_splash"
9417 if test "$no_cache" != 1; then
9418 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9419 fi
9420
9421 if test "$wxUSE_SPLASH" = yes; then
9422 echo "$as_me:$LINENO: result: yes" >&5
9423 echo "${ECHO_T}yes" >&6
9424 else
9425 echo "$as_me:$LINENO: result: no" >&5
9426 echo "${ECHO_T}no" >&6
9427 fi
9428
9429
9430 enablestring=
9431 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9432 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9433 no_cache=0
9434 # Check whether --enable-textdlg or --disable-textdlg was given.
9435 if test "${enable_textdlg+set}" = set; then
9436 enableval="$enable_textdlg"
9437
9438 if test "$enableval" = yes; then
9439 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
9440 else
9441 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
9442 fi
9443
9444 else
9445
9446 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9447 if test "x$LINE" != x ; then
9448 eval "DEFAULT_$LINE"
9449 else
9450 no_cache=1
9451 fi
9452
9453 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9454
9455 fi;
9456
9457 eval "$ac_cv_use_textdlg"
9458 if test "$no_cache" != 1; then
9459 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9460 fi
9461
9462 if test "$wxUSE_TEXTDLG" = yes; then
9463 echo "$as_me:$LINENO: result: yes" >&5
9464 echo "${ECHO_T}yes" >&6
9465 else
9466 echo "$as_me:$LINENO: result: no" >&5
9467 echo "${ECHO_T}no" >&6
9468 fi
9469
9470
9471 enablestring=
9472 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9473 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9474 no_cache=0
9475 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9476 if test "${enable_tipdlg+set}" = set; then
9477 enableval="$enable_tipdlg"
9478
9479 if test "$enableval" = yes; then
9480 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
9481 else
9482 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
9483 fi
9484
9485 else
9486
9487 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9488 if test "x$LINE" != x ; then
9489 eval "DEFAULT_$LINE"
9490 else
9491 no_cache=1
9492 fi
9493
9494 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9495
9496 fi;
9497
9498 eval "$ac_cv_use_tipdlg"
9499 if test "$no_cache" != 1; then
9500 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9501 fi
9502
9503 if test "$wxUSE_STARTUP_TIPS" = yes; then
9504 echo "$as_me:$LINENO: result: yes" >&5
9505 echo "${ECHO_T}yes" >&6
9506 else
9507 echo "$as_me:$LINENO: result: no" >&5
9508 echo "${ECHO_T}no" >&6
9509 fi
9510
9511
9512 enablestring=
9513 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9514 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9515 no_cache=0
9516 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9517 if test "${enable_progressdlg+set}" = set; then
9518 enableval="$enable_progressdlg"
9519
9520 if test "$enableval" = yes; then
9521 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
9522 else
9523 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
9524 fi
9525
9526 else
9527
9528 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9529 if test "x$LINE" != x ; then
9530 eval "DEFAULT_$LINE"
9531 else
9532 no_cache=1
9533 fi
9534
9535 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9536
9537 fi;
9538
9539 eval "$ac_cv_use_progressdlg"
9540 if test "$no_cache" != 1; then
9541 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9542 fi
9543
9544 if test "$wxUSE_PROGRESSDLG" = yes; then
9545 echo "$as_me:$LINENO: result: yes" >&5
9546 echo "${ECHO_T}yes" >&6
9547 else
9548 echo "$as_me:$LINENO: result: no" >&5
9549 echo "${ECHO_T}no" >&6
9550 fi
9551
9552
9553 enablestring=
9554 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9555 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9556 no_cache=0
9557 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9558 if test "${enable_wizarddlg+set}" = set; then
9559 enableval="$enable_wizarddlg"
9560
9561 if test "$enableval" = yes; then
9562 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
9563 else
9564 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
9565 fi
9566
9567 else
9568
9569 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9570 if test "x$LINE" != x ; then
9571 eval "DEFAULT_$LINE"
9572 else
9573 no_cache=1
9574 fi
9575
9576 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9577
9578 fi;
9579
9580 eval "$ac_cv_use_wizarddlg"
9581 if test "$no_cache" != 1; then
9582 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9583 fi
9584
9585 if test "$wxUSE_WIZARDDLG" = yes; then
9586 echo "$as_me:$LINENO: result: yes" >&5
9587 echo "${ECHO_T}yes" >&6
9588 else
9589 echo "$as_me:$LINENO: result: no" >&5
9590 echo "${ECHO_T}no" >&6
9591 fi
9592
9593
9594
9595
9596 enablestring=
9597 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9598 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9599 no_cache=0
9600 # Check whether --enable-menus or --disable-menus was given.
9601 if test "${enable_menus+set}" = set; then
9602 enableval="$enable_menus"
9603
9604 if test "$enableval" = yes; then
9605 ac_cv_use_menus='wxUSE_MENUS=yes'
9606 else
9607 ac_cv_use_menus='wxUSE_MENUS=no'
9608 fi
9609
9610 else
9611
9612 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9613 if test "x$LINE" != x ; then
9614 eval "DEFAULT_$LINE"
9615 else
9616 no_cache=1
9617 fi
9618
9619 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9620
9621 fi;
9622
9623 eval "$ac_cv_use_menus"
9624 if test "$no_cache" != 1; then
9625 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9626 fi
9627
9628 if test "$wxUSE_MENUS" = yes; then
9629 echo "$as_me:$LINENO: result: yes" >&5
9630 echo "${ECHO_T}yes" >&6
9631 else
9632 echo "$as_me:$LINENO: result: no" >&5
9633 echo "${ECHO_T}no" >&6
9634 fi
9635
9636
9637 enablestring=
9638 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9639 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9640 no_cache=0
9641 # Check whether --enable-miniframe or --disable-miniframe was given.
9642 if test "${enable_miniframe+set}" = set; then
9643 enableval="$enable_miniframe"
9644
9645 if test "$enableval" = yes; then
9646 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
9647 else
9648 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
9649 fi
9650
9651 else
9652
9653 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9654 if test "x$LINE" != x ; then
9655 eval "DEFAULT_$LINE"
9656 else
9657 no_cache=1
9658 fi
9659
9660 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9661
9662 fi;
9663
9664 eval "$ac_cv_use_miniframe"
9665 if test "$no_cache" != 1; then
9666 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9667 fi
9668
9669 if test "$wxUSE_MINIFRAME" = yes; then
9670 echo "$as_me:$LINENO: result: yes" >&5
9671 echo "${ECHO_T}yes" >&6
9672 else
9673 echo "$as_me:$LINENO: result: no" >&5
9674 echo "${ECHO_T}no" >&6
9675 fi
9676
9677
9678 enablestring=
9679 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9680 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9681 no_cache=0
9682 # Check whether --enable-tooltips or --disable-tooltips was given.
9683 if test "${enable_tooltips+set}" = set; then
9684 enableval="$enable_tooltips"
9685
9686 if test "$enableval" = yes; then
9687 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
9688 else
9689 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
9690 fi
9691
9692 else
9693
9694 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9695 if test "x$LINE" != x ; then
9696 eval "DEFAULT_$LINE"
9697 else
9698 no_cache=1
9699 fi
9700
9701 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9702
9703 fi;
9704
9705 eval "$ac_cv_use_tooltips"
9706 if test "$no_cache" != 1; then
9707 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9708 fi
9709
9710 if test "$wxUSE_TOOLTIPS" = yes; then
9711 echo "$as_me:$LINENO: result: yes" >&5
9712 echo "${ECHO_T}yes" >&6
9713 else
9714 echo "$as_me:$LINENO: result: no" >&5
9715 echo "${ECHO_T}no" >&6
9716 fi
9717
9718
9719 enablestring=
9720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9721 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9722 no_cache=0
9723 # Check whether --enable-splines or --disable-splines was given.
9724 if test "${enable_splines+set}" = set; then
9725 enableval="$enable_splines"
9726
9727 if test "$enableval" = yes; then
9728 ac_cv_use_splines='wxUSE_SPLINES=yes'
9729 else
9730 ac_cv_use_splines='wxUSE_SPLINES=no'
9731 fi
9732
9733 else
9734
9735 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9736 if test "x$LINE" != x ; then
9737 eval "DEFAULT_$LINE"
9738 else
9739 no_cache=1
9740 fi
9741
9742 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9743
9744 fi;
9745
9746 eval "$ac_cv_use_splines"
9747 if test "$no_cache" != 1; then
9748 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9749 fi
9750
9751 if test "$wxUSE_SPLINES" = yes; then
9752 echo "$as_me:$LINENO: result: yes" >&5
9753 echo "${ECHO_T}yes" >&6
9754 else
9755 echo "$as_me:$LINENO: result: no" >&5
9756 echo "${ECHO_T}no" >&6
9757 fi
9758
9759
9760 enablestring=
9761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
9762 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
9763 no_cache=0
9764 # Check whether --enable-mousewheel or --disable-mousewheel was given.
9765 if test "${enable_mousewheel+set}" = set; then
9766 enableval="$enable_mousewheel"
9767
9768 if test "$enableval" = yes; then
9769 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
9770 else
9771 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
9772 fi
9773
9774 else
9775
9776 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
9777 if test "x$LINE" != x ; then
9778 eval "DEFAULT_$LINE"
9779 else
9780 no_cache=1
9781 fi
9782
9783 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
9784
9785 fi;
9786
9787 eval "$ac_cv_use_mousewheel"
9788 if test "$no_cache" != 1; then
9789 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
9790 fi
9791
9792 if test "$wxUSE_MOUSEWHEEL" = yes; then
9793 echo "$as_me:$LINENO: result: yes" >&5
9794 echo "${ECHO_T}yes" >&6
9795 else
9796 echo "$as_me:$LINENO: result: no" >&5
9797 echo "${ECHO_T}no" >&6
9798 fi
9799
9800
9801 enablestring=
9802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9803 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9804 no_cache=0
9805 # Check whether --enable-validators or --disable-validators was given.
9806 if test "${enable_validators+set}" = set; then
9807 enableval="$enable_validators"
9808
9809 if test "$enableval" = yes; then
9810 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
9811 else
9812 ac_cv_use_validators='wxUSE_VALIDATORS=no'
9813 fi
9814
9815 else
9816
9817 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9818 if test "x$LINE" != x ; then
9819 eval "DEFAULT_$LINE"
9820 else
9821 no_cache=1
9822 fi
9823
9824 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9825
9826 fi;
9827
9828 eval "$ac_cv_use_validators"
9829 if test "$no_cache" != 1; then
9830 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9831 fi
9832
9833 if test "$wxUSE_VALIDATORS" = yes; then
9834 echo "$as_me:$LINENO: result: yes" >&5
9835 echo "${ECHO_T}yes" >&6
9836 else
9837 echo "$as_me:$LINENO: result: no" >&5
9838 echo "${ECHO_T}no" >&6
9839 fi
9840
9841
9842 enablestring=
9843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9844 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9845 no_cache=0
9846 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9847 if test "${enable_busyinfo+set}" = set; then
9848 enableval="$enable_busyinfo"
9849
9850 if test "$enableval" = yes; then
9851 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
9852 else
9853 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
9854 fi
9855
9856 else
9857
9858 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9859 if test "x$LINE" != x ; then
9860 eval "DEFAULT_$LINE"
9861 else
9862 no_cache=1
9863 fi
9864
9865 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9866
9867 fi;
9868
9869 eval "$ac_cv_use_busyinfo"
9870 if test "$no_cache" != 1; then
9871 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9872 fi
9873
9874 if test "$wxUSE_BUSYINFO" = yes; then
9875 echo "$as_me:$LINENO: result: yes" >&5
9876 echo "${ECHO_T}yes" >&6
9877 else
9878 echo "$as_me:$LINENO: result: no" >&5
9879 echo "${ECHO_T}no" >&6
9880 fi
9881
9882
9883 enablestring=
9884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9885 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9886 no_cache=0
9887 # Check whether --enable-joystick or --disable-joystick was given.
9888 if test "${enable_joystick+set}" = set; then
9889 enableval="$enable_joystick"
9890
9891 if test "$enableval" = yes; then
9892 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
9893 else
9894 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
9895 fi
9896
9897 else
9898
9899 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9900 if test "x$LINE" != x ; then
9901 eval "DEFAULT_$LINE"
9902 else
9903 no_cache=1
9904 fi
9905
9906 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9907
9908 fi;
9909
9910 eval "$ac_cv_use_joystick"
9911 if test "$no_cache" != 1; then
9912 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9913 fi
9914
9915 if test "$wxUSE_JOYSTICK" = yes; then
9916 echo "$as_me:$LINENO: result: yes" >&5
9917 echo "${ECHO_T}yes" >&6
9918 else
9919 echo "$as_me:$LINENO: result: no" >&5
9920 echo "${ECHO_T}no" >&6
9921 fi
9922
9923
9924 enablestring=
9925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9926 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9927 no_cache=0
9928 # Check whether --enable-metafile or --disable-metafile was given.
9929 if test "${enable_metafile+set}" = set; then
9930 enableval="$enable_metafile"
9931
9932 if test "$enableval" = yes; then
9933 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9934 else
9935 ac_cv_use_metafile='wxUSE_METAFILE=no'
9936 fi
9937
9938 else
9939
9940 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9941 if test "x$LINE" != x ; then
9942 eval "DEFAULT_$LINE"
9943 else
9944 no_cache=1
9945 fi
9946
9947 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9948
9949 fi;
9950
9951 eval "$ac_cv_use_metafile"
9952 if test "$no_cache" != 1; then
9953 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9954 fi
9955
9956 if test "$wxUSE_METAFILE" = yes; then
9957 echo "$as_me:$LINENO: result: yes" >&5
9958 echo "${ECHO_T}yes" >&6
9959 else
9960 echo "$as_me:$LINENO: result: no" >&5
9961 echo "${ECHO_T}no" >&6
9962 fi
9963
9964
9965 enablestring=
9966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9967 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9968 no_cache=0
9969 # Check whether --enable-dragimage or --disable-dragimage was given.
9970 if test "${enable_dragimage+set}" = set; then
9971 enableval="$enable_dragimage"
9972
9973 if test "$enableval" = yes; then
9974 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9975 else
9976 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9977 fi
9978
9979 else
9980
9981 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9982 if test "x$LINE" != x ; then
9983 eval "DEFAULT_$LINE"
9984 else
9985 no_cache=1
9986 fi
9987
9988 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9989
9990 fi;
9991
9992 eval "$ac_cv_use_dragimage"
9993 if test "$no_cache" != 1; then
9994 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9995 fi
9996
9997 if test "$wxUSE_DRAGIMAGE" = yes; then
9998 echo "$as_me:$LINENO: result: yes" >&5
9999 echo "${ECHO_T}yes" >&6
10000 else
10001 echo "$as_me:$LINENO: result: no" >&5
10002 echo "${ECHO_T}no" >&6
10003 fi
10004
10005
10006 enablestring=
10007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10008 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10009 no_cache=0
10010 # Check whether --enable-accessibility or --disable-accessibility was given.
10011 if test "${enable_accessibility+set}" = set; then
10012 enableval="$enable_accessibility"
10013
10014 if test "$enableval" = yes; then
10015 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
10016 else
10017 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
10018 fi
10019
10020 else
10021
10022 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10023 if test "x$LINE" != x ; then
10024 eval "DEFAULT_$LINE"
10025 else
10026 no_cache=1
10027 fi
10028
10029 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
10030
10031 fi;
10032
10033 eval "$ac_cv_use_accessibility"
10034 if test "$no_cache" != 1; then
10035 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10036 fi
10037
10038 if test "$wxUSE_ACCESSIBILITY" = yes; then
10039 echo "$as_me:$LINENO: result: yes" >&5
10040 echo "${ECHO_T}yes" >&6
10041 else
10042 echo "$as_me:$LINENO: result: no" >&5
10043 echo "${ECHO_T}no" >&6
10044 fi
10045
10046
10047 if test "$wxUSE_MSW" = "1"; then
10048
10049 enablestring=
10050 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
10051 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
10052 no_cache=0
10053 # Check whether --enable-dccache or --disable-dccache was given.
10054 if test "${enable_dccache+set}" = set; then
10055 enableval="$enable_dccache"
10056
10057 if test "$enableval" = yes; then
10058 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
10059 else
10060 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
10061 fi
10062
10063 else
10064
10065 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
10066 if test "x$LINE" != x ; then
10067 eval "DEFAULT_$LINE"
10068 else
10069 no_cache=1
10070 fi
10071
10072 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
10073
10074 fi;
10075
10076 eval "$ac_cv_use_dccache"
10077 if test "$no_cache" != 1; then
10078 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
10079 fi
10080
10081 if test "$wxUSE_DC_CACHEING" = yes; then
10082 echo "$as_me:$LINENO: result: yes" >&5
10083 echo "${ECHO_T}yes" >&6
10084 else
10085 echo "$as_me:$LINENO: result: no" >&5
10086 echo "${ECHO_T}no" >&6
10087 fi
10088
10089 fi
10090
10091
10092
10093 enablestring=
10094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10095 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10096 no_cache=0
10097 # Check whether --enable-palette or --disable-palette was given.
10098 if test "${enable_palette+set}" = set; then
10099 enableval="$enable_palette"
10100
10101 if test "$enableval" = yes; then
10102 ac_cv_use_palette='wxUSE_PALETTE=yes'
10103 else
10104 ac_cv_use_palette='wxUSE_PALETTE=no'
10105 fi
10106
10107 else
10108
10109 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10110 if test "x$LINE" != x ; then
10111 eval "DEFAULT_$LINE"
10112 else
10113 no_cache=1
10114 fi
10115
10116 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
10117
10118 fi;
10119
10120 eval "$ac_cv_use_palette"
10121 if test "$no_cache" != 1; then
10122 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10123 fi
10124
10125 if test "$wxUSE_PALETTE" = yes; then
10126 echo "$as_me:$LINENO: result: yes" >&5
10127 echo "${ECHO_T}yes" >&6
10128 else
10129 echo "$as_me:$LINENO: result: no" >&5
10130 echo "${ECHO_T}no" >&6
10131 fi
10132
10133
10134 enablestring=
10135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10136 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10137 no_cache=0
10138 # Check whether --enable-image or --disable-image was given.
10139 if test "${enable_image+set}" = set; then
10140 enableval="$enable_image"
10141
10142 if test "$enableval" = yes; then
10143 ac_cv_use_image='wxUSE_IMAGE=yes'
10144 else
10145 ac_cv_use_image='wxUSE_IMAGE=no'
10146 fi
10147
10148 else
10149
10150 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10151 if test "x$LINE" != x ; then
10152 eval "DEFAULT_$LINE"
10153 else
10154 no_cache=1
10155 fi
10156
10157 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
10158
10159 fi;
10160
10161 eval "$ac_cv_use_image"
10162 if test "$no_cache" != 1; then
10163 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10164 fi
10165
10166 if test "$wxUSE_IMAGE" = yes; then
10167 echo "$as_me:$LINENO: result: yes" >&5
10168 echo "${ECHO_T}yes" >&6
10169 else
10170 echo "$as_me:$LINENO: result: no" >&5
10171 echo "${ECHO_T}no" >&6
10172 fi
10173
10174
10175 enablestring=
10176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10177 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10178 no_cache=0
10179 # Check whether --enable-gif or --disable-gif was given.
10180 if test "${enable_gif+set}" = set; then
10181 enableval="$enable_gif"
10182
10183 if test "$enableval" = yes; then
10184 ac_cv_use_gif='wxUSE_GIF=yes'
10185 else
10186 ac_cv_use_gif='wxUSE_GIF=no'
10187 fi
10188
10189 else
10190
10191 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10192 if test "x$LINE" != x ; then
10193 eval "DEFAULT_$LINE"
10194 else
10195 no_cache=1
10196 fi
10197
10198 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
10199
10200 fi;
10201
10202 eval "$ac_cv_use_gif"
10203 if test "$no_cache" != 1; then
10204 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10205 fi
10206
10207 if test "$wxUSE_GIF" = yes; then
10208 echo "$as_me:$LINENO: result: yes" >&5
10209 echo "${ECHO_T}yes" >&6
10210 else
10211 echo "$as_me:$LINENO: result: no" >&5
10212 echo "${ECHO_T}no" >&6
10213 fi
10214
10215
10216 enablestring=
10217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10218 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10219 no_cache=0
10220 # Check whether --enable-pcx or --disable-pcx was given.
10221 if test "${enable_pcx+set}" = set; then
10222 enableval="$enable_pcx"
10223
10224 if test "$enableval" = yes; then
10225 ac_cv_use_pcx='wxUSE_PCX=yes'
10226 else
10227 ac_cv_use_pcx='wxUSE_PCX=no'
10228 fi
10229
10230 else
10231
10232 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10233 if test "x$LINE" != x ; then
10234 eval "DEFAULT_$LINE"
10235 else
10236 no_cache=1
10237 fi
10238
10239 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
10240
10241 fi;
10242
10243 eval "$ac_cv_use_pcx"
10244 if test "$no_cache" != 1; then
10245 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10246 fi
10247
10248 if test "$wxUSE_PCX" = yes; then
10249 echo "$as_me:$LINENO: result: yes" >&5
10250 echo "${ECHO_T}yes" >&6
10251 else
10252 echo "$as_me:$LINENO: result: no" >&5
10253 echo "${ECHO_T}no" >&6
10254 fi
10255
10256
10257 enablestring=
10258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10259 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10260 no_cache=0
10261 # Check whether --enable-iff or --disable-iff was given.
10262 if test "${enable_iff+set}" = set; then
10263 enableval="$enable_iff"
10264
10265 if test "$enableval" = yes; then
10266 ac_cv_use_iff='wxUSE_IFF=yes'
10267 else
10268 ac_cv_use_iff='wxUSE_IFF=no'
10269 fi
10270
10271 else
10272
10273 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10274 if test "x$LINE" != x ; then
10275 eval "DEFAULT_$LINE"
10276 else
10277 no_cache=1
10278 fi
10279
10280 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
10281
10282 fi;
10283
10284 eval "$ac_cv_use_iff"
10285 if test "$no_cache" != 1; then
10286 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10287 fi
10288
10289 if test "$wxUSE_IFF" = yes; then
10290 echo "$as_me:$LINENO: result: yes" >&5
10291 echo "${ECHO_T}yes" >&6
10292 else
10293 echo "$as_me:$LINENO: result: no" >&5
10294 echo "${ECHO_T}no" >&6
10295 fi
10296
10297
10298 enablestring=
10299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10300 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10301 no_cache=0
10302 # Check whether --enable-pnm or --disable-pnm was given.
10303 if test "${enable_pnm+set}" = set; then
10304 enableval="$enable_pnm"
10305
10306 if test "$enableval" = yes; then
10307 ac_cv_use_pnm='wxUSE_PNM=yes'
10308 else
10309 ac_cv_use_pnm='wxUSE_PNM=no'
10310 fi
10311
10312 else
10313
10314 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10315 if test "x$LINE" != x ; then
10316 eval "DEFAULT_$LINE"
10317 else
10318 no_cache=1
10319 fi
10320
10321 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10322
10323 fi;
10324
10325 eval "$ac_cv_use_pnm"
10326 if test "$no_cache" != 1; then
10327 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10328 fi
10329
10330 if test "$wxUSE_PNM" = yes; then
10331 echo "$as_me:$LINENO: result: yes" >&5
10332 echo "${ECHO_T}yes" >&6
10333 else
10334 echo "$as_me:$LINENO: result: no" >&5
10335 echo "${ECHO_T}no" >&6
10336 fi
10337
10338
10339 enablestring=
10340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10341 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10342 no_cache=0
10343 # Check whether --enable-xpm or --disable-xpm was given.
10344 if test "${enable_xpm+set}" = set; then
10345 enableval="$enable_xpm"
10346
10347 if test "$enableval" = yes; then
10348 ac_cv_use_xpm='wxUSE_XPM=yes'
10349 else
10350 ac_cv_use_xpm='wxUSE_XPM=no'
10351 fi
10352
10353 else
10354
10355 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10356 if test "x$LINE" != x ; then
10357 eval "DEFAULT_$LINE"
10358 else
10359 no_cache=1
10360 fi
10361
10362 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10363
10364 fi;
10365
10366 eval "$ac_cv_use_xpm"
10367 if test "$no_cache" != 1; then
10368 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10369 fi
10370
10371 if test "$wxUSE_XPM" = yes; then
10372 echo "$as_me:$LINENO: result: yes" >&5
10373 echo "${ECHO_T}yes" >&6
10374 else
10375 echo "$as_me:$LINENO: result: no" >&5
10376 echo "${ECHO_T}no" >&6
10377 fi
10378
10379
10380 enablestring=
10381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10382 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10383 no_cache=0
10384 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10385 if test "${enable_ico_cur+set}" = set; then
10386 enableval="$enable_ico_cur"
10387
10388 if test "$enableval" = yes; then
10389 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
10390 else
10391 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
10392 fi
10393
10394 else
10395
10396 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10397 if test "x$LINE" != x ; then
10398 eval "DEFAULT_$LINE"
10399 else
10400 no_cache=1
10401 fi
10402
10403 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10404
10405 fi;
10406
10407 eval "$ac_cv_use_ico_cur"
10408 if test "$no_cache" != 1; then
10409 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10410 fi
10411
10412 if test "$wxUSE_ICO_CUR" = yes; then
10413 echo "$as_me:$LINENO: result: yes" >&5
10414 echo "${ECHO_T}yes" >&6
10415 else
10416 echo "$as_me:$LINENO: result: no" >&5
10417 echo "${ECHO_T}no" >&6
10418 fi
10419
10420
10421 fi
10422
10423
10424
10425 # Check whether --with-flavour or --without-flavour was given.
10426 if test "${with_flavour+set}" = set; then
10427 withval="$with_flavour"
10428 WX_FLAVOUR="$withval"
10429 fi;
10430
10431
10432
10433 enablestring=
10434 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10435 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10436 no_cache=0
10437 # Check whether --enable-official_build or --disable-official_build was given.
10438 if test "${enable_official_build+set}" = set; then
10439 enableval="$enable_official_build"
10440
10441 if test "$enableval" = yes; then
10442 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
10443 else
10444 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
10445 fi
10446
10447 else
10448
10449 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10450 if test "x$LINE" != x ; then
10451 eval "DEFAULT_$LINE"
10452 else
10453 no_cache=1
10454 fi
10455
10456 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10457
10458 fi;
10459
10460 eval "$ac_cv_use_official_build"
10461 if test "$no_cache" != 1; then
10462 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10463 fi
10464
10465 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10466 echo "$as_me:$LINENO: result: yes" >&5
10467 echo "${ECHO_T}yes" >&6
10468 else
10469 echo "$as_me:$LINENO: result: no" >&5
10470 echo "${ECHO_T}no" >&6
10471 fi
10472
10473 # Check whether --enable-vendor or --disable-vendor was given.
10474 if test "${enable_vendor+set}" = set; then
10475 enableval="$enable_vendor"
10476 VENDOR="$enableval"
10477 fi;
10478 if test "x$VENDOR" = "x"; then
10479 VENDOR="custom"
10480 fi
10481
10482
10483
10484
10485 echo "saving argument cache $wx_arg_cache_file"
10486 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
10487
10488
10489
10490 echo "$as_me:$LINENO: checking for toolkit" >&5
10491 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10492
10493 # In Wine, we need to default to MSW, not GTK or MOTIF
10494 if test "$wxUSE_WINE" = "yes"; then
10495 DEFAULT_DEFAULT_wxUSE_GTK=0
10496 DEFAULT_DEFAULT_wxUSE_MOTIF=0
10497 DEFAULT_DEFAULT_wxUSE_MSW=1
10498 wxUSE_SHARED=no
10499 fi
10500
10501
10502 if test "$wxUSE_GUI" = "yes"; then
10503
10504 if test "$USE_BEOS" = 1; then
10505 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10506 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10507 { (exit 1); exit 1; }; }
10508 fi
10509
10510 if test "$TOOLKIT_GIVEN" = 1; then
10511 for toolkit in `echo $ALL_TOOLKITS`; do
10512 var=wxUSE_$toolkit
10513 eval "value=\$${var}"
10514 if test "x$value" = "xno"; then
10515 eval "$var=0"
10516 elif test "x$value" != "x"; then
10517 eval "$var=1"
10518 fi
10519
10520 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
10521 eval "wx${toolkit}_VERSION=$value"
10522 fi
10523 done
10524 else
10525 for toolkit in `echo $ALL_TOOLKITS`; do
10526 if test "$has_toolkit_in_cache" != 1; then
10527 var=DEFAULT_DEFAULT_wxUSE_$toolkit
10528 else
10529 var=DEFAULT_wxUSE_$toolkit
10530
10531 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
10532 if test "x$version" != "x"; then
10533 eval "wx${toolkit}_VERSION=$version"
10534 fi
10535 fi
10536 eval "wxUSE_$toolkit=\$${var}"
10537 done
10538 fi
10539
10540 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10541 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10542 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10543
10544 case "${host}" in
10545 *-pc-os2_emx | *-pc-os2-emx )
10546 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10547 esac
10548
10549 case "$NUM_TOOLKITS" in
10550 1)
10551 ;;
10552 0)
10553 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10554 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10555 { (exit 1); exit 1; }; }
10556 ;;
10557 *)
10558 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10559 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10560 { (exit 1); exit 1; }; }
10561 esac
10562
10563 # to be removed when --disable-gtk2 isn't needed
10564 if test "x$wxUSE_GTK2" = "xyes"; then
10565 wxGTK_VERSION=2
10566 elif test "x$wxUSE_GTK2" = "xno"; then
10567 wxGTK_VERSION=1
10568 fi
10569
10570 for toolkit in `echo $ALL_TOOLKITS`; do
10571 var=wxUSE_$toolkit
10572 eval "value=\$${var}"
10573 if test "x$value" != x; then
10574 cache_var=CACHE_$toolkit
10575 eval "cache=\$${cache_var}"
10576 if test "$cache" = 1; then
10577 echo "$var=$value" >> ${wx_arg_cache_file}
10578 eval "version=\$wx${toolkit}_VERSION"
10579 if test "x$version" != "x"; then
10580 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
10581 fi
10582 fi
10583 if test "$value" = 1; then
10584 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10585 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10586 echo "${ECHO_T}$toolkit_echo" >&6
10587 fi
10588 fi
10589 done
10590 else
10591 if test "x$host_alias" != "x"; then
10592 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10593 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10594 else
10595 echo "$as_me:$LINENO: result: base only" >&5
10596 echo "${ECHO_T}base only" >&6
10597 fi
10598 fi
10599
10600 wants_win32=0
10601 doesnt_want_win32=0
10602 case "${host}" in
10603 *-*-cygwin*)
10604 if test "$wxUSE_MSW" = 1 ; then
10605 wants_win32=1
10606 BAKEFILE_FORCE_PLATFORM=win32
10607 else
10608 doesnt_want_win32=1
10609 fi
10610 ;;
10611 *-*-mingw*)
10612 wants_win32=1
10613 ;;
10614 esac
10615
10616 if test "$wxUSE_WINE" = "yes"; then
10617 wants_win32=1
10618 CC=winegcc
10619 CXX=wineg++
10620 LDFLAGS_GUI="-mwindows"
10621 fi
10622
10623 if test "$wants_win32" = 1 ; then
10624 USE_UNIX=0
10625 USE_WIN32=1
10626 cat >>confdefs.h <<\_ACEOF
10627 #define __WIN32__ 1
10628 _ACEOF
10629
10630 cat >>confdefs.h <<\_ACEOF
10631 #define __WIN95__ 1
10632 _ACEOF
10633
10634 cat >>confdefs.h <<\_ACEOF
10635 #define __WINDOWS__ 1
10636 _ACEOF
10637
10638 cat >>confdefs.h <<\_ACEOF
10639 #define __GNUWIN32__ 1
10640 _ACEOF
10641
10642 cat >>confdefs.h <<\_ACEOF
10643 #define STRICT 1
10644 _ACEOF
10645
10646 cat >>confdefs.h <<\_ACEOF
10647 #define WINVER 0x0400
10648 _ACEOF
10649
10650 fi
10651 if test "$doesnt_want_win32" = 1 ; then
10652 USE_UNIX=1
10653 USE_WIN32=0
10654 fi
10655
10656 if test "$USE_UNIX" = 1 ; then
10657 wxUSE_UNIX=yes
10658 cat >>confdefs.h <<\_ACEOF
10659 #define __UNIX__ 1
10660 _ACEOF
10661
10662 fi
10663
10664
10665 cat >confcache <<\_ACEOF
10666 # This file is a shell script that caches the results of configure
10667 # tests run on this system so they can be shared between configure
10668 # scripts and configure runs, see configure's option --config-cache.
10669 # It is not useful on other systems. If it contains results you don't
10670 # want to keep, you may remove or edit it.
10671 #
10672 # config.status only pays attention to the cache file if you give it
10673 # the --recheck option to rerun configure.
10674 #
10675 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10676 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10677 # following values.
10678
10679 _ACEOF
10680
10681 # The following way of writing the cache mishandles newlines in values,
10682 # but we know of no workaround that is simple, portable, and efficient.
10683 # So, don't put newlines in cache variables' values.
10684 # Ultrix sh set writes to stderr and can't be redirected directly,
10685 # and sets the high bit in the cache file unless we assign to the vars.
10686 {
10687 (set) 2>&1 |
10688 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10689 *ac_space=\ *)
10690 # `set' does not quote correctly, so add quotes (double-quote
10691 # substitution turns \\\\ into \\, and sed turns \\ into \).
10692 sed -n \
10693 "s/'/'\\\\''/g;
10694 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10695 ;;
10696 *)
10697 # `set' quotes correctly as required by POSIX, so do not add quotes.
10698 sed -n \
10699 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10700 ;;
10701 esac;
10702 } |
10703 sed '
10704 t clear
10705 : clear
10706 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10707 t end
10708 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10709 : end' >>confcache
10710 if diff $cache_file confcache >/dev/null 2>&1; then :; else
10711 if test -w $cache_file; then
10712 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10713 cat confcache >$cache_file
10714 else
10715 echo "not updating unwritable cache $cache_file"
10716 fi
10717 fi
10718 rm -f confcache
10719
10720 CFLAGS=${CFLAGS:=}
10721
10722
10723 ac_ext=c
10724 ac_cpp='$CPP $CPPFLAGS'
10725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10728 if test -n "$ac_tool_prefix"; then
10729 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10730 set dummy ${ac_tool_prefix}gcc; ac_word=$2
10731 echo "$as_me:$LINENO: checking for $ac_word" >&5
10732 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10733 if test "${ac_cv_prog_CC+set}" = set; then
10734 echo $ECHO_N "(cached) $ECHO_C" >&6
10735 else
10736 if test -n "$CC"; then
10737 ac_cv_prog_CC="$CC" # Let the user override the test.
10738 else
10739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10740 for as_dir in $PATH
10741 do
10742 IFS=$as_save_IFS
10743 test -z "$as_dir" && as_dir=.
10744 for ac_exec_ext in '' $ac_executable_extensions; do
10745 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10746 ac_cv_prog_CC="${ac_tool_prefix}gcc"
10747 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10748 break 2
10749 fi
10750 done
10751 done
10752
10753 fi
10754 fi
10755 CC=$ac_cv_prog_CC
10756 if test -n "$CC"; then
10757 echo "$as_me:$LINENO: result: $CC" >&5
10758 echo "${ECHO_T}$CC" >&6
10759 else
10760 echo "$as_me:$LINENO: result: no" >&5
10761 echo "${ECHO_T}no" >&6
10762 fi
10763
10764 fi
10765 if test -z "$ac_cv_prog_CC"; then
10766 ac_ct_CC=$CC
10767 # Extract the first word of "gcc", so it can be a program name with args.
10768 set dummy gcc; ac_word=$2
10769 echo "$as_me:$LINENO: checking for $ac_word" >&5
10770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10771 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10772 echo $ECHO_N "(cached) $ECHO_C" >&6
10773 else
10774 if test -n "$ac_ct_CC"; then
10775 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10776 else
10777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10778 for as_dir in $PATH
10779 do
10780 IFS=$as_save_IFS
10781 test -z "$as_dir" && as_dir=.
10782 for ac_exec_ext in '' $ac_executable_extensions; do
10783 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10784 ac_cv_prog_ac_ct_CC="gcc"
10785 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10786 break 2
10787 fi
10788 done
10789 done
10790
10791 fi
10792 fi
10793 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10794 if test -n "$ac_ct_CC"; then
10795 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10796 echo "${ECHO_T}$ac_ct_CC" >&6
10797 else
10798 echo "$as_me:$LINENO: result: no" >&5
10799 echo "${ECHO_T}no" >&6
10800 fi
10801
10802 CC=$ac_ct_CC
10803 else
10804 CC="$ac_cv_prog_CC"
10805 fi
10806
10807 if test -z "$CC"; then
10808 if test -n "$ac_tool_prefix"; then
10809 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10810 set dummy ${ac_tool_prefix}cc; ac_word=$2
10811 echo "$as_me:$LINENO: checking for $ac_word" >&5
10812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10813 if test "${ac_cv_prog_CC+set}" = set; then
10814 echo $ECHO_N "(cached) $ECHO_C" >&6
10815 else
10816 if test -n "$CC"; then
10817 ac_cv_prog_CC="$CC" # Let the user override the test.
10818 else
10819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10820 for as_dir in $PATH
10821 do
10822 IFS=$as_save_IFS
10823 test -z "$as_dir" && as_dir=.
10824 for ac_exec_ext in '' $ac_executable_extensions; do
10825 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10826 ac_cv_prog_CC="${ac_tool_prefix}cc"
10827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10828 break 2
10829 fi
10830 done
10831 done
10832
10833 fi
10834 fi
10835 CC=$ac_cv_prog_CC
10836 if test -n "$CC"; then
10837 echo "$as_me:$LINENO: result: $CC" >&5
10838 echo "${ECHO_T}$CC" >&6
10839 else
10840 echo "$as_me:$LINENO: result: no" >&5
10841 echo "${ECHO_T}no" >&6
10842 fi
10843
10844 fi
10845 if test -z "$ac_cv_prog_CC"; then
10846 ac_ct_CC=$CC
10847 # Extract the first word of "cc", so it can be a program name with args.
10848 set dummy cc; ac_word=$2
10849 echo "$as_me:$LINENO: checking for $ac_word" >&5
10850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10851 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10852 echo $ECHO_N "(cached) $ECHO_C" >&6
10853 else
10854 if test -n "$ac_ct_CC"; then
10855 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10856 else
10857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10858 for as_dir in $PATH
10859 do
10860 IFS=$as_save_IFS
10861 test -z "$as_dir" && as_dir=.
10862 for ac_exec_ext in '' $ac_executable_extensions; do
10863 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10864 ac_cv_prog_ac_ct_CC="cc"
10865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10866 break 2
10867 fi
10868 done
10869 done
10870
10871 fi
10872 fi
10873 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10874 if test -n "$ac_ct_CC"; then
10875 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10876 echo "${ECHO_T}$ac_ct_CC" >&6
10877 else
10878 echo "$as_me:$LINENO: result: no" >&5
10879 echo "${ECHO_T}no" >&6
10880 fi
10881
10882 CC=$ac_ct_CC
10883 else
10884 CC="$ac_cv_prog_CC"
10885 fi
10886
10887 fi
10888 if test -z "$CC"; then
10889 # Extract the first word of "cc", so it can be a program name with args.
10890 set dummy cc; ac_word=$2
10891 echo "$as_me:$LINENO: checking for $ac_word" >&5
10892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10893 if test "${ac_cv_prog_CC+set}" = set; then
10894 echo $ECHO_N "(cached) $ECHO_C" >&6
10895 else
10896 if test -n "$CC"; then
10897 ac_cv_prog_CC="$CC" # Let the user override the test.
10898 else
10899 ac_prog_rejected=no
10900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10901 for as_dir in $PATH
10902 do
10903 IFS=$as_save_IFS
10904 test -z "$as_dir" && as_dir=.
10905 for ac_exec_ext in '' $ac_executable_extensions; do
10906 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10907 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10908 ac_prog_rejected=yes
10909 continue
10910 fi
10911 ac_cv_prog_CC="cc"
10912 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10913 break 2
10914 fi
10915 done
10916 done
10917
10918 if test $ac_prog_rejected = yes; then
10919 # We found a bogon in the path, so make sure we never use it.
10920 set dummy $ac_cv_prog_CC
10921 shift
10922 if test $# != 0; then
10923 # We chose a different compiler from the bogus one.
10924 # However, it has the same basename, so the bogon will be chosen
10925 # first if we set CC to just the basename; use the full file name.
10926 shift
10927 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10928 fi
10929 fi
10930 fi
10931 fi
10932 CC=$ac_cv_prog_CC
10933 if test -n "$CC"; then
10934 echo "$as_me:$LINENO: result: $CC" >&5
10935 echo "${ECHO_T}$CC" >&6
10936 else
10937 echo "$as_me:$LINENO: result: no" >&5
10938 echo "${ECHO_T}no" >&6
10939 fi
10940
10941 fi
10942 if test -z "$CC"; then
10943 if test -n "$ac_tool_prefix"; then
10944 for ac_prog in cl
10945 do
10946 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10947 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10948 echo "$as_me:$LINENO: checking for $ac_word" >&5
10949 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10950 if test "${ac_cv_prog_CC+set}" = set; then
10951 echo $ECHO_N "(cached) $ECHO_C" >&6
10952 else
10953 if test -n "$CC"; then
10954 ac_cv_prog_CC="$CC" # Let the user override the test.
10955 else
10956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10957 for as_dir in $PATH
10958 do
10959 IFS=$as_save_IFS
10960 test -z "$as_dir" && as_dir=.
10961 for ac_exec_ext in '' $ac_executable_extensions; do
10962 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10963 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10964 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10965 break 2
10966 fi
10967 done
10968 done
10969
10970 fi
10971 fi
10972 CC=$ac_cv_prog_CC
10973 if test -n "$CC"; then
10974 echo "$as_me:$LINENO: result: $CC" >&5
10975 echo "${ECHO_T}$CC" >&6
10976 else
10977 echo "$as_me:$LINENO: result: no" >&5
10978 echo "${ECHO_T}no" >&6
10979 fi
10980
10981 test -n "$CC" && break
10982 done
10983 fi
10984 if test -z "$CC"; then
10985 ac_ct_CC=$CC
10986 for ac_prog in cl
10987 do
10988 # Extract the first word of "$ac_prog", so it can be a program name with args.
10989 set dummy $ac_prog; ac_word=$2
10990 echo "$as_me:$LINENO: checking for $ac_word" >&5
10991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10992 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10993 echo $ECHO_N "(cached) $ECHO_C" >&6
10994 else
10995 if test -n "$ac_ct_CC"; then
10996 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10997 else
10998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10999 for as_dir in $PATH
11000 do
11001 IFS=$as_save_IFS
11002 test -z "$as_dir" && as_dir=.
11003 for ac_exec_ext in '' $ac_executable_extensions; do
11004 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11005 ac_cv_prog_ac_ct_CC="$ac_prog"
11006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11007 break 2
11008 fi
11009 done
11010 done
11011
11012 fi
11013 fi
11014 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11015 if test -n "$ac_ct_CC"; then
11016 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11017 echo "${ECHO_T}$ac_ct_CC" >&6
11018 else
11019 echo "$as_me:$LINENO: result: no" >&5
11020 echo "${ECHO_T}no" >&6
11021 fi
11022
11023 test -n "$ac_ct_CC" && break
11024 done
11025
11026 CC=$ac_ct_CC
11027 fi
11028
11029 fi
11030
11031
11032 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11033 See \`config.log' for more details." >&5
11034 echo "$as_me: error: no acceptable C compiler found in \$PATH
11035 See \`config.log' for more details." >&2;}
11036 { (exit 1); exit 1; }; }
11037
11038 # Provide some information about the compiler.
11039 echo "$as_me:$LINENO:" \
11040 "checking for C compiler version" >&5
11041 ac_compiler=`set X $ac_compile; echo $2`
11042 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11043 (eval $ac_compiler --version </dev/null >&5) 2>&5
11044 ac_status=$?
11045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11046 (exit $ac_status); }
11047 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11048 (eval $ac_compiler -v </dev/null >&5) 2>&5
11049 ac_status=$?
11050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11051 (exit $ac_status); }
11052 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11053 (eval $ac_compiler -V </dev/null >&5) 2>&5
11054 ac_status=$?
11055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11056 (exit $ac_status); }
11057
11058 cat >conftest.$ac_ext <<_ACEOF
11059 /* confdefs.h. */
11060 _ACEOF
11061 cat confdefs.h >>conftest.$ac_ext
11062 cat >>conftest.$ac_ext <<_ACEOF
11063 /* end confdefs.h. */
11064
11065 int
11066 main ()
11067 {
11068
11069 ;
11070 return 0;
11071 }
11072 _ACEOF
11073 ac_clean_files_save=$ac_clean_files
11074 ac_clean_files="$ac_clean_files a.out a.exe b.out"
11075 # Try to create an executable without -o first, disregard a.out.
11076 # It will help us diagnose broken compilers, and finding out an intuition
11077 # of exeext.
11078 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11079 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11080 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11081 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11082 (eval $ac_link_default) 2>&5
11083 ac_status=$?
11084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11085 (exit $ac_status); }; then
11086 # Find the output, starting from the most likely. This scheme is
11087 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11088 # resort.
11089
11090 # Be careful to initialize this variable, since it used to be cached.
11091 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11092 ac_cv_exeext=
11093 # b.out is created by i960 compilers.
11094 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
11095 do
11096 test -f "$ac_file" || continue
11097 case $ac_file in
11098 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
11099 ;;
11100 conftest.$ac_ext )
11101 # This is the source file.
11102 ;;
11103 [ab].out )
11104 # We found the default executable, but exeext='' is most
11105 # certainly right.
11106 break;;
11107 *.* )
11108 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
11109 # FIXME: I believe we export ac_cv_exeext for Libtool,
11110 # but it would be cool to find out if it's true. Does anybody
11111 # maintain Libtool? --akim.
11112 export ac_cv_exeext
11113 break;;
11114 * )
11115 break;;
11116 esac
11117 done
11118 else
11119 echo "$as_me: failed program was:" >&5
11120 sed 's/^/| /' conftest.$ac_ext >&5
11121
11122 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11123 See \`config.log' for more details." >&5
11124 echo "$as_me: error: C compiler cannot create executables
11125 See \`config.log' for more details." >&2;}
11126 { (exit 77); exit 77; }; }
11127 fi
11128
11129 ac_exeext=$ac_cv_exeext
11130 echo "$as_me:$LINENO: result: $ac_file" >&5
11131 echo "${ECHO_T}$ac_file" >&6
11132
11133 # Check the compiler produces executables we can run. If not, either
11134 # the compiler is broken, or we cross compile.
11135 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11136 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11137 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11138 # If not cross compiling, check that we can run a simple program.
11139 if test "$cross_compiling" != yes; then
11140 if { ac_try='./$ac_file'
11141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11142 (eval $ac_try) 2>&5
11143 ac_status=$?
11144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11145 (exit $ac_status); }; }; then
11146 cross_compiling=no
11147 else
11148 if test "$cross_compiling" = maybe; then
11149 cross_compiling=yes
11150 else
11151 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11152 If you meant to cross compile, use \`--host'.
11153 See \`config.log' for more details." >&5
11154 echo "$as_me: error: cannot run C compiled programs.
11155 If you meant to cross compile, use \`--host'.
11156 See \`config.log' for more details." >&2;}
11157 { (exit 1); exit 1; }; }
11158 fi
11159 fi
11160 fi
11161 echo "$as_me:$LINENO: result: yes" >&5
11162 echo "${ECHO_T}yes" >&6
11163
11164 rm -f a.out a.exe conftest$ac_cv_exeext b.out
11165 ac_clean_files=$ac_clean_files_save
11166 # Check the compiler produces executables we can run. If not, either
11167 # the compiler is broken, or we cross compile.
11168 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11169 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11170 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11171 echo "${ECHO_T}$cross_compiling" >&6
11172
11173 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11174 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11176 (eval $ac_link) 2>&5
11177 ac_status=$?
11178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11179 (exit $ac_status); }; then
11180 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11181 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11182 # work properly (i.e., refer to `conftest.exe'), while it won't with
11183 # `rm'.
11184 for ac_file in conftest.exe conftest conftest.*; do
11185 test -f "$ac_file" || continue
11186 case $ac_file in
11187 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
11188 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
11189 export ac_cv_exeext
11190 break;;
11191 * ) break;;
11192 esac
11193 done
11194 else
11195 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11196 See \`config.log' for more details." >&5
11197 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11198 See \`config.log' for more details." >&2;}
11199 { (exit 1); exit 1; }; }
11200 fi
11201
11202 rm -f conftest$ac_cv_exeext
11203 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11204 echo "${ECHO_T}$ac_cv_exeext" >&6
11205
11206 rm -f conftest.$ac_ext
11207 EXEEXT=$ac_cv_exeext
11208 ac_exeext=$EXEEXT
11209 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11210 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11211 if test "${ac_cv_objext+set}" = set; then
11212 echo $ECHO_N "(cached) $ECHO_C" >&6
11213 else
11214 cat >conftest.$ac_ext <<_ACEOF
11215 /* confdefs.h. */
11216 _ACEOF
11217 cat confdefs.h >>conftest.$ac_ext
11218 cat >>conftest.$ac_ext <<_ACEOF
11219 /* end confdefs.h. */
11220
11221 int
11222 main ()
11223 {
11224
11225 ;
11226 return 0;
11227 }
11228 _ACEOF
11229 rm -f conftest.o conftest.obj
11230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11231 (eval $ac_compile) 2>&5
11232 ac_status=$?
11233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11234 (exit $ac_status); }; then
11235 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11236 case $ac_file in
11237 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
11238 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
11239 break;;
11240 esac
11241 done
11242 else
11243 echo "$as_me: failed program was:" >&5
11244 sed 's/^/| /' conftest.$ac_ext >&5
11245
11246 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11247 See \`config.log' for more details." >&5
11248 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11249 See \`config.log' for more details." >&2;}
11250 { (exit 1); exit 1; }; }
11251 fi
11252
11253 rm -f conftest.$ac_cv_objext conftest.$ac_ext
11254 fi
11255 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11256 echo "${ECHO_T}$ac_cv_objext" >&6
11257 OBJEXT=$ac_cv_objext
11258 ac_objext=$OBJEXT
11259 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11260 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11261 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11262 echo $ECHO_N "(cached) $ECHO_C" >&6
11263 else
11264 cat >conftest.$ac_ext <<_ACEOF
11265 /* confdefs.h. */
11266 _ACEOF
11267 cat confdefs.h >>conftest.$ac_ext
11268 cat >>conftest.$ac_ext <<_ACEOF
11269 /* end confdefs.h. */
11270
11271 int
11272 main ()
11273 {
11274 #ifndef __GNUC__
11275 choke me
11276 #endif
11277
11278 ;
11279 return 0;
11280 }
11281 _ACEOF
11282 rm -f conftest.$ac_objext
11283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11284 (eval $ac_compile) 2>conftest.er1
11285 ac_status=$?
11286 grep -v '^ *+' conftest.er1 >conftest.err
11287 rm -f conftest.er1
11288 cat conftest.err >&5
11289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11290 (exit $ac_status); } &&
11291 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11293 (eval $ac_try) 2>&5
11294 ac_status=$?
11295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11296 (exit $ac_status); }; } &&
11297 { ac_try='test -s conftest.$ac_objext'
11298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11299 (eval $ac_try) 2>&5
11300 ac_status=$?
11301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11302 (exit $ac_status); }; }; then
11303 ac_compiler_gnu=yes
11304 else
11305 echo "$as_me: failed program was:" >&5
11306 sed 's/^/| /' conftest.$ac_ext >&5
11307
11308 ac_compiler_gnu=no
11309 fi
11310 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11311 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11312
11313 fi
11314 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11315 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11316 GCC=`test $ac_compiler_gnu = yes && echo yes`
11317 ac_test_CFLAGS=${CFLAGS+set}
11318 ac_save_CFLAGS=$CFLAGS
11319 CFLAGS="-g"
11320 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11321 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11322 if test "${ac_cv_prog_cc_g+set}" = set; then
11323 echo $ECHO_N "(cached) $ECHO_C" >&6
11324 else
11325 cat >conftest.$ac_ext <<_ACEOF
11326 /* confdefs.h. */
11327 _ACEOF
11328 cat confdefs.h >>conftest.$ac_ext
11329 cat >>conftest.$ac_ext <<_ACEOF
11330 /* end confdefs.h. */
11331
11332 int
11333 main ()
11334 {
11335
11336 ;
11337 return 0;
11338 }
11339 _ACEOF
11340 rm -f conftest.$ac_objext
11341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11342 (eval $ac_compile) 2>conftest.er1
11343 ac_status=$?
11344 grep -v '^ *+' conftest.er1 >conftest.err
11345 rm -f conftest.er1
11346 cat conftest.err >&5
11347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11348 (exit $ac_status); } &&
11349 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11351 (eval $ac_try) 2>&5
11352 ac_status=$?
11353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11354 (exit $ac_status); }; } &&
11355 { ac_try='test -s conftest.$ac_objext'
11356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11357 (eval $ac_try) 2>&5
11358 ac_status=$?
11359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11360 (exit $ac_status); }; }; then
11361 ac_cv_prog_cc_g=yes
11362 else
11363 echo "$as_me: failed program was:" >&5
11364 sed 's/^/| /' conftest.$ac_ext >&5
11365
11366 ac_cv_prog_cc_g=no
11367 fi
11368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11369 fi
11370 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11371 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11372 if test "$ac_test_CFLAGS" = set; then
11373 CFLAGS=$ac_save_CFLAGS
11374 elif test $ac_cv_prog_cc_g = yes; then
11375 if test "$GCC" = yes; then
11376 CFLAGS="-g -O2"
11377 else
11378 CFLAGS="-g"
11379 fi
11380 else
11381 if test "$GCC" = yes; then
11382 CFLAGS="-O2"
11383 else
11384 CFLAGS=
11385 fi
11386 fi
11387 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11388 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11389 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11390 echo $ECHO_N "(cached) $ECHO_C" >&6
11391 else
11392 ac_cv_prog_cc_stdc=no
11393 ac_save_CC=$CC
11394 cat >conftest.$ac_ext <<_ACEOF
11395 /* confdefs.h. */
11396 _ACEOF
11397 cat confdefs.h >>conftest.$ac_ext
11398 cat >>conftest.$ac_ext <<_ACEOF
11399 /* end confdefs.h. */
11400 #include <stdarg.h>
11401 #include <stdio.h>
11402 #include <sys/types.h>
11403 #include <sys/stat.h>
11404 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11405 struct buf { int x; };
11406 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11407 static char *e (p, i)
11408 char **p;
11409 int i;
11410 {
11411 return p[i];
11412 }
11413 static char *f (char * (*g) (char **, int), char **p, ...)
11414 {
11415 char *s;
11416 va_list v;
11417 va_start (v,p);
11418 s = g (p, va_arg (v,int));
11419 va_end (v);
11420 return s;
11421 }
11422
11423 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11424 function prototypes and stuff, but not '\xHH' hex character constants.
11425 These don't provoke an error unfortunately, instead are silently treated
11426 as 'x'. The following induces an error, until -std1 is added to get
11427 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11428 array size at least. It's necessary to write '\x00'==0 to get something
11429 that's true only with -std1. */
11430 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11431
11432 int test (int i, double x);
11433 struct s1 {int (*f) (int a);};
11434 struct s2 {int (*f) (double a);};
11435 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11436 int argc;
11437 char **argv;
11438 int
11439 main ()
11440 {
11441 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11442 ;
11443 return 0;
11444 }
11445 _ACEOF
11446 # Don't try gcc -ansi; that turns off useful extensions and
11447 # breaks some systems' header files.
11448 # AIX -qlanglvl=ansi
11449 # Ultrix and OSF/1 -std1
11450 # HP-UX 10.20 and later -Ae
11451 # HP-UX older versions -Aa -D_HPUX_SOURCE
11452 # SVR4 -Xc -D__EXTENSIONS__
11453 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11454 do
11455 CC="$ac_save_CC $ac_arg"
11456 rm -f conftest.$ac_objext
11457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11458 (eval $ac_compile) 2>conftest.er1
11459 ac_status=$?
11460 grep -v '^ *+' conftest.er1 >conftest.err
11461 rm -f conftest.er1
11462 cat conftest.err >&5
11463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11464 (exit $ac_status); } &&
11465 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11467 (eval $ac_try) 2>&5
11468 ac_status=$?
11469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11470 (exit $ac_status); }; } &&
11471 { ac_try='test -s conftest.$ac_objext'
11472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11473 (eval $ac_try) 2>&5
11474 ac_status=$?
11475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11476 (exit $ac_status); }; }; then
11477 ac_cv_prog_cc_stdc=$ac_arg
11478 break
11479 else
11480 echo "$as_me: failed program was:" >&5
11481 sed 's/^/| /' conftest.$ac_ext >&5
11482
11483 fi
11484 rm -f conftest.err conftest.$ac_objext
11485 done
11486 rm -f conftest.$ac_ext conftest.$ac_objext
11487 CC=$ac_save_CC
11488
11489 fi
11490
11491 case "x$ac_cv_prog_cc_stdc" in
11492 x|xno)
11493 echo "$as_me:$LINENO: result: none needed" >&5
11494 echo "${ECHO_T}none needed" >&6 ;;
11495 *)
11496 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11497 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11498 CC="$CC $ac_cv_prog_cc_stdc" ;;
11499 esac
11500
11501 # Some people use a C++ compiler to compile C. Since we use `exit',
11502 # in C++ we need to declare it. In case someone uses the same compiler
11503 # for both compiling C and C++ we need to have the C++ compiler decide
11504 # the declaration of exit, since it's the most demanding environment.
11505 cat >conftest.$ac_ext <<_ACEOF
11506 #ifndef __cplusplus
11507 choke me
11508 #endif
11509 _ACEOF
11510 rm -f conftest.$ac_objext
11511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11512 (eval $ac_compile) 2>conftest.er1
11513 ac_status=$?
11514 grep -v '^ *+' conftest.er1 >conftest.err
11515 rm -f conftest.er1
11516 cat conftest.err >&5
11517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11518 (exit $ac_status); } &&
11519 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11521 (eval $ac_try) 2>&5
11522 ac_status=$?
11523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11524 (exit $ac_status); }; } &&
11525 { ac_try='test -s conftest.$ac_objext'
11526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11527 (eval $ac_try) 2>&5
11528 ac_status=$?
11529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11530 (exit $ac_status); }; }; then
11531 for ac_declaration in \
11532 '' \
11533 'extern "C" void std::exit (int) throw (); using std::exit;' \
11534 'extern "C" void std::exit (int); using std::exit;' \
11535 'extern "C" void exit (int) throw ();' \
11536 'extern "C" void exit (int);' \
11537 'void exit (int);'
11538 do
11539 cat >conftest.$ac_ext <<_ACEOF
11540 /* confdefs.h. */
11541 _ACEOF
11542 cat confdefs.h >>conftest.$ac_ext
11543 cat >>conftest.$ac_ext <<_ACEOF
11544 /* end confdefs.h. */
11545 $ac_declaration
11546 #include <stdlib.h>
11547 int
11548 main ()
11549 {
11550 exit (42);
11551 ;
11552 return 0;
11553 }
11554 _ACEOF
11555 rm -f conftest.$ac_objext
11556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11557 (eval $ac_compile) 2>conftest.er1
11558 ac_status=$?
11559 grep -v '^ *+' conftest.er1 >conftest.err
11560 rm -f conftest.er1
11561 cat conftest.err >&5
11562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11563 (exit $ac_status); } &&
11564 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11566 (eval $ac_try) 2>&5
11567 ac_status=$?
11568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11569 (exit $ac_status); }; } &&
11570 { ac_try='test -s conftest.$ac_objext'
11571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11572 (eval $ac_try) 2>&5
11573 ac_status=$?
11574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11575 (exit $ac_status); }; }; then
11576 :
11577 else
11578 echo "$as_me: failed program was:" >&5
11579 sed 's/^/| /' conftest.$ac_ext >&5
11580
11581 continue
11582 fi
11583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11584 cat >conftest.$ac_ext <<_ACEOF
11585 /* confdefs.h. */
11586 _ACEOF
11587 cat confdefs.h >>conftest.$ac_ext
11588 cat >>conftest.$ac_ext <<_ACEOF
11589 /* end confdefs.h. */
11590 $ac_declaration
11591 int
11592 main ()
11593 {
11594 exit (42);
11595 ;
11596 return 0;
11597 }
11598 _ACEOF
11599 rm -f conftest.$ac_objext
11600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11601 (eval $ac_compile) 2>conftest.er1
11602 ac_status=$?
11603 grep -v '^ *+' conftest.er1 >conftest.err
11604 rm -f conftest.er1
11605 cat conftest.err >&5
11606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11607 (exit $ac_status); } &&
11608 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11610 (eval $ac_try) 2>&5
11611 ac_status=$?
11612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11613 (exit $ac_status); }; } &&
11614 { ac_try='test -s conftest.$ac_objext'
11615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11616 (eval $ac_try) 2>&5
11617 ac_status=$?
11618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11619 (exit $ac_status); }; }; then
11620 break
11621 else
11622 echo "$as_me: failed program was:" >&5
11623 sed 's/^/| /' conftest.$ac_ext >&5
11624
11625 fi
11626 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11627 done
11628 rm -f conftest*
11629 if test -n "$ac_declaration"; then
11630 echo '#ifdef __cplusplus' >>confdefs.h
11631 echo $ac_declaration >>confdefs.h
11632 echo '#endif' >>confdefs.h
11633 fi
11634
11635 else
11636 echo "$as_me: failed program was:" >&5
11637 sed 's/^/| /' conftest.$ac_ext >&5
11638
11639 fi
11640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11641 ac_ext=c
11642 ac_cpp='$CPP $CPPFLAGS'
11643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11646
11647
11648
11649 ac_ext=c
11650 ac_cpp='$CPP $CPPFLAGS'
11651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11654
11655 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
11656 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
11657 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
11658 echo $ECHO_N "(cached) $ECHO_C" >&6
11659 else
11660 cat >conftest.$ac_ext <<_ACEOF
11661 /* confdefs.h. */
11662 _ACEOF
11663 cat confdefs.h >>conftest.$ac_ext
11664 cat >>conftest.$ac_ext <<_ACEOF
11665 /* end confdefs.h. */
11666
11667 int
11668 main ()
11669 {
11670
11671 #ifndef __INTEL_COMPILER
11672 choke me
11673 #endif
11674
11675 ;
11676 return 0;
11677 }
11678 _ACEOF
11679 rm -f conftest.$ac_objext
11680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11681 (eval $ac_compile) 2>conftest.er1
11682 ac_status=$?
11683 grep -v '^ *+' conftest.er1 >conftest.err
11684 rm -f conftest.er1
11685 cat conftest.err >&5
11686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11687 (exit $ac_status); } &&
11688 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11690 (eval $ac_try) 2>&5
11691 ac_status=$?
11692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11693 (exit $ac_status); }; } &&
11694 { ac_try='test -s conftest.$ac_objext'
11695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11696 (eval $ac_try) 2>&5
11697 ac_status=$?
11698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11699 (exit $ac_status); }; }; then
11700 bakefile_cv_c_compiler___INTEL_COMPILER=yes
11701 else
11702 echo "$as_me: failed program was:" >&5
11703 sed 's/^/| /' conftest.$ac_ext >&5
11704
11705 bakefile_cv_c_compiler___INTEL_COMPILER=no
11706
11707 fi
11708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11709
11710
11711 fi
11712 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
11713 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
11714 ac_ext=c
11715 ac_cpp='$CPP $CPPFLAGS'
11716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11719
11720 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
11721 :; INTELCC=yes
11722 else
11723 :;
11724 fi
11725
11726
11727 if test "x$GCC" != "xyes"; then
11728 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
11729 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
11730 if test "${wx_cv_c_exto+set}" = set; then
11731 echo $ECHO_N "(cached) $ECHO_C" >&6
11732 else
11733 cat >conftest.$ac_ext <<_ACEOF
11734 /* confdefs.h. */
11735 _ACEOF
11736 cat confdefs.h >>conftest.$ac_ext
11737 cat >>conftest.$ac_ext <<_ACEOF
11738 /* end confdefs.h. */
11739
11740 int
11741 main ()
11742 {
11743
11744 ;
11745 return 0;
11746 }
11747 _ACEOF
11748 rm -f conftest.$ac_objext conftest.$ac_ext.o
11749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11750 (eval $ac_compile) 2>&5
11751 ac_status=$?
11752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11753 (exit $ac_status); }; then
11754 for ac_file in `(ls conftest.* 2>/dev/null)`; do
11755 case $ac_file in
11756 conftest.$ac_ext.o)
11757 wx_cv_c_exto="-ext o"
11758 ;;
11759 *)
11760 ;;
11761 esac
11762 done
11763 else
11764 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
11765 See \`config.log' for more details." >&5
11766 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
11767 See \`config.log' for more details." >&2;}
11768 { (exit 1); exit 1; }; }
11769
11770 fi
11771
11772 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
11773
11774 fi
11775 echo "$as_me:$LINENO: result: $wx_cv_c_exto" >&5
11776 echo "${ECHO_T}$wx_cv_c_exto" >&6
11777 if test "x$wx_cv_c_exto" '!=' "x"; then
11778 if test "c" = "c"; then
11779 CFLAGS="$wx_cv_c_exto $CFLAGS"
11780 fi
11781 if test "c" = "cxx"; then
11782 CXXFLAGS="$wx_cv_c_exto $CXXFLAGS"
11783 fi
11784 fi
11785
11786 if test "x$wx_cv_c_exto" '!=' "x"; then
11787 unset ac_cv_prog_cc_g
11788 ac_test_CFLAGS=${CFLAGS+set}
11789 ac_save_CFLAGS=$CFLAGS
11790 CFLAGS="-g"
11791 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11792 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11793 if test "${ac_cv_prog_cc_g+set}" = set; then
11794 echo $ECHO_N "(cached) $ECHO_C" >&6
11795 else
11796 cat >conftest.$ac_ext <<_ACEOF
11797 /* confdefs.h. */
11798 _ACEOF
11799 cat confdefs.h >>conftest.$ac_ext
11800 cat >>conftest.$ac_ext <<_ACEOF
11801 /* end confdefs.h. */
11802
11803 int
11804 main ()
11805 {
11806
11807 ;
11808 return 0;
11809 }
11810 _ACEOF
11811 rm -f conftest.$ac_objext
11812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11813 (eval $ac_compile) 2>conftest.er1
11814 ac_status=$?
11815 grep -v '^ *+' conftest.er1 >conftest.err
11816 rm -f conftest.er1
11817 cat conftest.err >&5
11818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11819 (exit $ac_status); } &&
11820 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11822 (eval $ac_try) 2>&5
11823 ac_status=$?
11824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11825 (exit $ac_status); }; } &&
11826 { ac_try='test -s conftest.$ac_objext'
11827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11828 (eval $ac_try) 2>&5
11829 ac_status=$?
11830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11831 (exit $ac_status); }; }; then
11832 ac_cv_prog_cc_g=yes
11833 else
11834 echo "$as_me: failed program was:" >&5
11835 sed 's/^/| /' conftest.$ac_ext >&5
11836
11837 ac_cv_prog_cc_g=no
11838 fi
11839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11840 fi
11841 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11842 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11843 if test "$ac_test_CFLAGS" = set; then
11844 CFLAGS=$ac_save_CFLAGS
11845 elif test $ac_cv_prog_cc_g = yes; then
11846 if test "$GCC" = yes; then
11847 CFLAGS="-g -O2"
11848 else
11849 CFLAGS="-g"
11850 fi
11851 else
11852 if test "$GCC" = yes; then
11853 CFLAGS="-O2"
11854 else
11855 CFLAGS=
11856 fi
11857 fi
11858 fi
11859 ac_ext=c
11860 ac_cpp='$CPP $CPPFLAGS'
11861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11864
11865 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
11866 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
11867 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
11868 echo $ECHO_N "(cached) $ECHO_C" >&6
11869 else
11870 cat >conftest.$ac_ext <<_ACEOF
11871 /* confdefs.h. */
11872 _ACEOF
11873 cat confdefs.h >>conftest.$ac_ext
11874 cat >>conftest.$ac_ext <<_ACEOF
11875 /* end confdefs.h. */
11876
11877 int
11878 main ()
11879 {
11880 #ifndef __MWERKS__
11881 choke me
11882 #endif
11883
11884 ;
11885 return 0;
11886 }
11887 _ACEOF
11888 rm -f conftest.$ac_objext
11889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11890 (eval $ac_compile) 2>conftest.er1
11891 ac_status=$?
11892 grep -v '^ *+' conftest.er1 >conftest.err
11893 rm -f conftest.er1
11894 cat conftest.err >&5
11895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11896 (exit $ac_status); } &&
11897 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11899 (eval $ac_try) 2>&5
11900 ac_status=$?
11901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11902 (exit $ac_status); }; } &&
11903 { ac_try='test -s conftest.$ac_objext'
11904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11905 (eval $ac_try) 2>&5
11906 ac_status=$?
11907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11908 (exit $ac_status); }; }; then
11909 bakefile_compiler_mwerks=yes
11910 else
11911 echo "$as_me: failed program was:" >&5
11912 sed 's/^/| /' conftest.$ac_ext >&5
11913
11914 bakefile_compiler_mwerks=no
11915 fi
11916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11917 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
11918
11919 fi
11920 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
11921 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
11922
11923 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
11924 ac_ext=c
11925 ac_cpp='$CPP $CPPFLAGS'
11926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11929
11930
11931 ac_ext=c
11932 ac_cpp='$CPP $CPPFLAGS'
11933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11936
11937 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
11938 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
11939 if test "${wx_cv_c_compiler_xlc+set}" = set; then
11940 echo $ECHO_N "(cached) $ECHO_C" >&6
11941 else
11942 cat >conftest.$ac_ext <<_ACEOF
11943 /* confdefs.h. */
11944 _ACEOF
11945 cat confdefs.h >>conftest.$ac_ext
11946 cat >>conftest.$ac_ext <<_ACEOF
11947 /* end confdefs.h. */
11948
11949 int
11950 main ()
11951 {
11952 #ifndef __xlC__
11953 choke me
11954 #endif
11955
11956 ;
11957 return 0;
11958 }
11959 _ACEOF
11960 rm -f conftest.$ac_objext
11961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11962 (eval $ac_compile) 2>conftest.er1
11963 ac_status=$?
11964 grep -v '^ *+' conftest.er1 >conftest.err
11965 rm -f conftest.er1
11966 cat conftest.err >&5
11967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11968 (exit $ac_status); } &&
11969 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11971 (eval $ac_try) 2>&5
11972 ac_status=$?
11973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11974 (exit $ac_status); }; } &&
11975 { ac_try='test -s conftest.$ac_objext'
11976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11977 (eval $ac_try) 2>&5
11978 ac_status=$?
11979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11980 (exit $ac_status); }; }; then
11981 wx_compiler_xlc=yes
11982 else
11983 echo "$as_me: failed program was:" >&5
11984 sed 's/^/| /' conftest.$ac_ext >&5
11985
11986 wx_compiler_xlc=no
11987 fi
11988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11989 wx_cv_c_compiler_xlc=$wx_compiler_xlc
11990
11991 fi
11992 echo "$as_me:$LINENO: result: $wx_cv_c_compiler_xlc" >&5
11993 echo "${ECHO_T}$wx_cv_c_compiler_xlc" >&6
11994
11995 XLCC=`test $wx_cv_c_compiler_xlc = yes && echo yes`
11996 ac_ext=c
11997 ac_cpp='$CPP $CPPFLAGS'
11998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12001
12002
12003
12004
12005 ac_ext=c
12006 ac_cpp='$CPP $CPPFLAGS'
12007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12010
12011 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
12012 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
12013 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
12014 echo $ECHO_N "(cached) $ECHO_C" >&6
12015 else
12016 cat >conftest.$ac_ext <<_ACEOF
12017 /* confdefs.h. */
12018 _ACEOF
12019 cat confdefs.h >>conftest.$ac_ext
12020 cat >>conftest.$ac_ext <<_ACEOF
12021 /* end confdefs.h. */
12022
12023 int
12024 main ()
12025 {
12026
12027 #ifndef _SGI_COMPILER_VERSION
12028 choke me
12029 #endif
12030
12031 ;
12032 return 0;
12033 }
12034 _ACEOF
12035 rm -f conftest.$ac_objext
12036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12037 (eval $ac_compile) 2>conftest.er1
12038 ac_status=$?
12039 grep -v '^ *+' conftest.er1 >conftest.err
12040 rm -f conftest.er1
12041 cat conftest.err >&5
12042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12043 (exit $ac_status); } &&
12044 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12046 (eval $ac_try) 2>&5
12047 ac_status=$?
12048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12049 (exit $ac_status); }; } &&
12050 { ac_try='test -s conftest.$ac_objext'
12051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12052 (eval $ac_try) 2>&5
12053 ac_status=$?
12054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12055 (exit $ac_status); }; }; then
12056 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
12057 else
12058 echo "$as_me: failed program was:" >&5
12059 sed 's/^/| /' conftest.$ac_ext >&5
12060
12061 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
12062
12063 fi
12064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12065
12066
12067 fi
12068 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
12069 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
12070 ac_ext=c
12071 ac_cpp='$CPP $CPPFLAGS'
12072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12075
12076 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
12077 :; SGICC=yes
12078 else
12079 :;
12080 fi
12081
12082
12083
12084
12085 ac_ext=c
12086 ac_cpp='$CPP $CPPFLAGS'
12087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12090
12091 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
12092 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
12093 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
12094 echo $ECHO_N "(cached) $ECHO_C" >&6
12095 else
12096 cat >conftest.$ac_ext <<_ACEOF
12097 /* confdefs.h. */
12098 _ACEOF
12099 cat confdefs.h >>conftest.$ac_ext
12100 cat >>conftest.$ac_ext <<_ACEOF
12101 /* end confdefs.h. */
12102
12103 int
12104 main ()
12105 {
12106
12107 #ifndef __SUNPRO_C
12108 choke me
12109 #endif
12110
12111 ;
12112 return 0;
12113 }
12114 _ACEOF
12115 rm -f conftest.$ac_objext
12116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12117 (eval $ac_compile) 2>conftest.er1
12118 ac_status=$?
12119 grep -v '^ *+' conftest.er1 >conftest.err
12120 rm -f conftest.er1
12121 cat conftest.err >&5
12122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12123 (exit $ac_status); } &&
12124 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12126 (eval $ac_try) 2>&5
12127 ac_status=$?
12128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12129 (exit $ac_status); }; } &&
12130 { ac_try='test -s conftest.$ac_objext'
12131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12132 (eval $ac_try) 2>&5
12133 ac_status=$?
12134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12135 (exit $ac_status); }; }; then
12136 bakefile_cv_c_compiler___SUNPRO_C=yes
12137 else
12138 echo "$as_me: failed program was:" >&5
12139 sed 's/^/| /' conftest.$ac_ext >&5
12140
12141 bakefile_cv_c_compiler___SUNPRO_C=no
12142
12143 fi
12144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12145
12146
12147 fi
12148 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
12149 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
12150 ac_ext=c
12151 ac_cpp='$CPP $CPPFLAGS'
12152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12155
12156 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
12157 :; SUNCC=yes
12158 else
12159 :;
12160 fi
12161
12162
12163 fi
12164
12165
12166 ac_ext=c
12167 ac_cpp='$CPP $CPPFLAGS'
12168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12171 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
12172 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
12173 # On Suns, sometimes $CPP names a directory.
12174 if test -n "$CPP" && test -d "$CPP"; then
12175 CPP=
12176 fi
12177 if test -z "$CPP"; then
12178 if test "${ac_cv_prog_CPP+set}" = set; then
12179 echo $ECHO_N "(cached) $ECHO_C" >&6
12180 else
12181 # Double quotes because CPP needs to be expanded
12182 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
12183 do
12184 ac_preproc_ok=false
12185 for ac_c_preproc_warn_flag in '' yes
12186 do
12187 # Use a header file that comes with gcc, so configuring glibc
12188 # with a fresh cross-compiler works.
12189 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12190 # <limits.h> exists even on freestanding compilers.
12191 # On the NeXT, cc -E runs the code through the compiler's parser,
12192 # not just through cpp. "Syntax error" is here to catch this case.
12193 cat >conftest.$ac_ext <<_ACEOF
12194 /* confdefs.h. */
12195 _ACEOF
12196 cat confdefs.h >>conftest.$ac_ext
12197 cat >>conftest.$ac_ext <<_ACEOF
12198 /* end confdefs.h. */
12199 #ifdef __STDC__
12200 # include <limits.h>
12201 #else
12202 # include <assert.h>
12203 #endif
12204 Syntax error
12205 _ACEOF
12206 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12207 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12208 ac_status=$?
12209 grep -v '^ *+' conftest.er1 >conftest.err
12210 rm -f conftest.er1
12211 cat conftest.err >&5
12212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12213 (exit $ac_status); } >/dev/null; then
12214 if test -s conftest.err; then
12215 ac_cpp_err=$ac_c_preproc_warn_flag
12216 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12217 else
12218 ac_cpp_err=
12219 fi
12220 else
12221 ac_cpp_err=yes
12222 fi
12223 if test -z "$ac_cpp_err"; then
12224 :
12225 else
12226 echo "$as_me: failed program was:" >&5
12227 sed 's/^/| /' conftest.$ac_ext >&5
12228
12229 # Broken: fails on valid input.
12230 continue
12231 fi
12232 rm -f conftest.err conftest.$ac_ext
12233
12234 # OK, works on sane cases. Now check whether non-existent headers
12235 # can be detected and how.
12236 cat >conftest.$ac_ext <<_ACEOF
12237 /* confdefs.h. */
12238 _ACEOF
12239 cat confdefs.h >>conftest.$ac_ext
12240 cat >>conftest.$ac_ext <<_ACEOF
12241 /* end confdefs.h. */
12242 #include <ac_nonexistent.h>
12243 _ACEOF
12244 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12245 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12246 ac_status=$?
12247 grep -v '^ *+' conftest.er1 >conftest.err
12248 rm -f conftest.er1
12249 cat conftest.err >&5
12250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12251 (exit $ac_status); } >/dev/null; then
12252 if test -s conftest.err; then
12253 ac_cpp_err=$ac_c_preproc_warn_flag
12254 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12255 else
12256 ac_cpp_err=
12257 fi
12258 else
12259 ac_cpp_err=yes
12260 fi
12261 if test -z "$ac_cpp_err"; then
12262 # Broken: success on invalid input.
12263 continue
12264 else
12265 echo "$as_me: failed program was:" >&5
12266 sed 's/^/| /' conftest.$ac_ext >&5
12267
12268 # Passes both tests.
12269 ac_preproc_ok=:
12270 break
12271 fi
12272 rm -f conftest.err conftest.$ac_ext
12273
12274 done
12275 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12276 rm -f conftest.err conftest.$ac_ext
12277 if $ac_preproc_ok; then
12278 break
12279 fi
12280
12281 done
12282 ac_cv_prog_CPP=$CPP
12283
12284 fi
12285 CPP=$ac_cv_prog_CPP
12286 else
12287 ac_cv_prog_CPP=$CPP
12288 fi
12289 echo "$as_me:$LINENO: result: $CPP" >&5
12290 echo "${ECHO_T}$CPP" >&6
12291 ac_preproc_ok=false
12292 for ac_c_preproc_warn_flag in '' yes
12293 do
12294 # Use a header file that comes with gcc, so configuring glibc
12295 # with a fresh cross-compiler works.
12296 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12297 # <limits.h> exists even on freestanding compilers.
12298 # On the NeXT, cc -E runs the code through the compiler's parser,
12299 # not just through cpp. "Syntax error" is here to catch this case.
12300 cat >conftest.$ac_ext <<_ACEOF
12301 /* confdefs.h. */
12302 _ACEOF
12303 cat confdefs.h >>conftest.$ac_ext
12304 cat >>conftest.$ac_ext <<_ACEOF
12305 /* end confdefs.h. */
12306 #ifdef __STDC__
12307 # include <limits.h>
12308 #else
12309 # include <assert.h>
12310 #endif
12311 Syntax error
12312 _ACEOF
12313 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12314 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12315 ac_status=$?
12316 grep -v '^ *+' conftest.er1 >conftest.err
12317 rm -f conftest.er1
12318 cat conftest.err >&5
12319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12320 (exit $ac_status); } >/dev/null; then
12321 if test -s conftest.err; then
12322 ac_cpp_err=$ac_c_preproc_warn_flag
12323 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12324 else
12325 ac_cpp_err=
12326 fi
12327 else
12328 ac_cpp_err=yes
12329 fi
12330 if test -z "$ac_cpp_err"; then
12331 :
12332 else
12333 echo "$as_me: failed program was:" >&5
12334 sed 's/^/| /' conftest.$ac_ext >&5
12335
12336 # Broken: fails on valid input.
12337 continue
12338 fi
12339 rm -f conftest.err conftest.$ac_ext
12340
12341 # OK, works on sane cases. Now check whether non-existent headers
12342 # can be detected and how.
12343 cat >conftest.$ac_ext <<_ACEOF
12344 /* confdefs.h. */
12345 _ACEOF
12346 cat confdefs.h >>conftest.$ac_ext
12347 cat >>conftest.$ac_ext <<_ACEOF
12348 /* end confdefs.h. */
12349 #include <ac_nonexistent.h>
12350 _ACEOF
12351 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12352 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12353 ac_status=$?
12354 grep -v '^ *+' conftest.er1 >conftest.err
12355 rm -f conftest.er1
12356 cat conftest.err >&5
12357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12358 (exit $ac_status); } >/dev/null; then
12359 if test -s conftest.err; then
12360 ac_cpp_err=$ac_c_preproc_warn_flag
12361 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12362 else
12363 ac_cpp_err=
12364 fi
12365 else
12366 ac_cpp_err=yes
12367 fi
12368 if test -z "$ac_cpp_err"; then
12369 # Broken: success on invalid input.
12370 continue
12371 else
12372 echo "$as_me: failed program was:" >&5
12373 sed 's/^/| /' conftest.$ac_ext >&5
12374
12375 # Passes both tests.
12376 ac_preproc_ok=:
12377 break
12378 fi
12379 rm -f conftest.err conftest.$ac_ext
12380
12381 done
12382 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12383 rm -f conftest.err conftest.$ac_ext
12384 if $ac_preproc_ok; then
12385 :
12386 else
12387 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
12388 See \`config.log' for more details." >&5
12389 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
12390 See \`config.log' for more details." >&2;}
12391 { (exit 1); exit 1; }; }
12392 fi
12393
12394 ac_ext=c
12395 ac_cpp='$CPP $CPPFLAGS'
12396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12399
12400
12401 echo "$as_me:$LINENO: checking for egrep" >&5
12402 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
12403 if test "${ac_cv_prog_egrep+set}" = set; then
12404 echo $ECHO_N "(cached) $ECHO_C" >&6
12405 else
12406 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
12407 then ac_cv_prog_egrep='grep -E'
12408 else ac_cv_prog_egrep='egrep'
12409 fi
12410 fi
12411 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
12412 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
12413 EGREP=$ac_cv_prog_egrep
12414
12415
12416 if test $ac_cv_c_compiler_gnu = yes; then
12417 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
12418 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
12419 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
12420 echo $ECHO_N "(cached) $ECHO_C" >&6
12421 else
12422 ac_pattern="Autoconf.*'x'"
12423 cat >conftest.$ac_ext <<_ACEOF
12424 /* confdefs.h. */
12425 _ACEOF
12426 cat confdefs.h >>conftest.$ac_ext
12427 cat >>conftest.$ac_ext <<_ACEOF
12428 /* end confdefs.h. */
12429 #include <sgtty.h>
12430 Autoconf TIOCGETP
12431 _ACEOF
12432 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12433 $EGREP "$ac_pattern" >/dev/null 2>&1; then
12434 ac_cv_prog_gcc_traditional=yes
12435 else
12436 ac_cv_prog_gcc_traditional=no
12437 fi
12438 rm -f conftest*
12439
12440
12441 if test $ac_cv_prog_gcc_traditional = no; then
12442 cat >conftest.$ac_ext <<_ACEOF
12443 /* confdefs.h. */
12444 _ACEOF
12445 cat confdefs.h >>conftest.$ac_ext
12446 cat >>conftest.$ac_ext <<_ACEOF
12447 /* end confdefs.h. */
12448 #include <termio.h>
12449 Autoconf TCGETA
12450 _ACEOF
12451 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12452 $EGREP "$ac_pattern" >/dev/null 2>&1; then
12453 ac_cv_prog_gcc_traditional=yes
12454 fi
12455 rm -f conftest*
12456
12457 fi
12458 fi
12459 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
12460 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
12461 if test $ac_cv_prog_gcc_traditional = yes; then
12462 CC="$CC -traditional"
12463 fi
12464 fi
12465
12466
12467
12468
12469 ac_ext=cc
12470 ac_cpp='$CXXCPP $CPPFLAGS'
12471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12474
12475
12476 CXXFLAGS=${CXXFLAGS:=}
12477
12478
12479 ac_ext=cc
12480 ac_cpp='$CXXCPP $CPPFLAGS'
12481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12484 if test -n "$ac_tool_prefix"; then
12485 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
12486 do
12487 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12488 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12489 echo "$as_me:$LINENO: checking for $ac_word" >&5
12490 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12491 if test "${ac_cv_prog_CXX+set}" = set; then
12492 echo $ECHO_N "(cached) $ECHO_C" >&6
12493 else
12494 if test -n "$CXX"; then
12495 ac_cv_prog_CXX="$CXX" # Let the user override the test.
12496 else
12497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12498 for as_dir in $PATH
12499 do
12500 IFS=$as_save_IFS
12501 test -z "$as_dir" && as_dir=.
12502 for ac_exec_ext in '' $ac_executable_extensions; do
12503 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12504 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
12505 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12506 break 2
12507 fi
12508 done
12509 done
12510
12511 fi
12512 fi
12513 CXX=$ac_cv_prog_CXX
12514 if test -n "$CXX"; then
12515 echo "$as_me:$LINENO: result: $CXX" >&5
12516 echo "${ECHO_T}$CXX" >&6
12517 else
12518 echo "$as_me:$LINENO: result: no" >&5
12519 echo "${ECHO_T}no" >&6
12520 fi
12521
12522 test -n "$CXX" && break
12523 done
12524 fi
12525 if test -z "$CXX"; then
12526 ac_ct_CXX=$CXX
12527 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
12528 do
12529 # Extract the first word of "$ac_prog", so it can be a program name with args.
12530 set dummy $ac_prog; ac_word=$2
12531 echo "$as_me:$LINENO: checking for $ac_word" >&5
12532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12533 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12534 echo $ECHO_N "(cached) $ECHO_C" >&6
12535 else
12536 if test -n "$ac_ct_CXX"; then
12537 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
12538 else
12539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12540 for as_dir in $PATH
12541 do
12542 IFS=$as_save_IFS
12543 test -z "$as_dir" && as_dir=.
12544 for ac_exec_ext in '' $ac_executable_extensions; do
12545 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12546 ac_cv_prog_ac_ct_CXX="$ac_prog"
12547 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12548 break 2
12549 fi
12550 done
12551 done
12552
12553 fi
12554 fi
12555 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
12556 if test -n "$ac_ct_CXX"; then
12557 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12558 echo "${ECHO_T}$ac_ct_CXX" >&6
12559 else
12560 echo "$as_me:$LINENO: result: no" >&5
12561 echo "${ECHO_T}no" >&6
12562 fi
12563
12564 test -n "$ac_ct_CXX" && break
12565 done
12566 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
12567
12568 CXX=$ac_ct_CXX
12569 fi
12570
12571
12572 # Provide some information about the compiler.
12573 echo "$as_me:$LINENO:" \
12574 "checking for C++ compiler version" >&5
12575 ac_compiler=`set X $ac_compile; echo $2`
12576 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12577 (eval $ac_compiler --version </dev/null >&5) 2>&5
12578 ac_status=$?
12579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12580 (exit $ac_status); }
12581 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12582 (eval $ac_compiler -v </dev/null >&5) 2>&5
12583 ac_status=$?
12584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12585 (exit $ac_status); }
12586 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12587 (eval $ac_compiler -V </dev/null >&5) 2>&5
12588 ac_status=$?
12589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12590 (exit $ac_status); }
12591
12592 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
12593 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
12594 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
12595 echo $ECHO_N "(cached) $ECHO_C" >&6
12596 else
12597 cat >conftest.$ac_ext <<_ACEOF
12598 /* confdefs.h. */
12599 _ACEOF
12600 cat confdefs.h >>conftest.$ac_ext
12601 cat >>conftest.$ac_ext <<_ACEOF
12602 /* end confdefs.h. */
12603
12604 int
12605 main ()
12606 {
12607 #ifndef __GNUC__
12608 choke me
12609 #endif
12610
12611 ;
12612 return 0;
12613 }
12614 _ACEOF
12615 rm -f conftest.$ac_objext
12616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12617 (eval $ac_compile) 2>conftest.er1
12618 ac_status=$?
12619 grep -v '^ *+' conftest.er1 >conftest.err
12620 rm -f conftest.er1
12621 cat conftest.err >&5
12622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12623 (exit $ac_status); } &&
12624 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12626 (eval $ac_try) 2>&5
12627 ac_status=$?
12628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12629 (exit $ac_status); }; } &&
12630 { ac_try='test -s conftest.$ac_objext'
12631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12632 (eval $ac_try) 2>&5
12633 ac_status=$?
12634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12635 (exit $ac_status); }; }; then
12636 ac_compiler_gnu=yes
12637 else
12638 echo "$as_me: failed program was:" >&5
12639 sed 's/^/| /' conftest.$ac_ext >&5
12640
12641 ac_compiler_gnu=no
12642 fi
12643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12644 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
12645
12646 fi
12647 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12648 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
12649 GXX=`test $ac_compiler_gnu = yes && echo yes`
12650 ac_test_CXXFLAGS=${CXXFLAGS+set}
12651 ac_save_CXXFLAGS=$CXXFLAGS
12652 CXXFLAGS="-g"
12653 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12654 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12655 if test "${ac_cv_prog_cxx_g+set}" = set; then
12656 echo $ECHO_N "(cached) $ECHO_C" >&6
12657 else
12658 cat >conftest.$ac_ext <<_ACEOF
12659 /* confdefs.h. */
12660 _ACEOF
12661 cat confdefs.h >>conftest.$ac_ext
12662 cat >>conftest.$ac_ext <<_ACEOF
12663 /* end confdefs.h. */
12664
12665 int
12666 main ()
12667 {
12668
12669 ;
12670 return 0;
12671 }
12672 _ACEOF
12673 rm -f conftest.$ac_objext
12674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12675 (eval $ac_compile) 2>conftest.er1
12676 ac_status=$?
12677 grep -v '^ *+' conftest.er1 >conftest.err
12678 rm -f conftest.er1
12679 cat conftest.err >&5
12680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12681 (exit $ac_status); } &&
12682 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12684 (eval $ac_try) 2>&5
12685 ac_status=$?
12686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12687 (exit $ac_status); }; } &&
12688 { ac_try='test -s conftest.$ac_objext'
12689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12690 (eval $ac_try) 2>&5
12691 ac_status=$?
12692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12693 (exit $ac_status); }; }; then
12694 ac_cv_prog_cxx_g=yes
12695 else
12696 echo "$as_me: failed program was:" >&5
12697 sed 's/^/| /' conftest.$ac_ext >&5
12698
12699 ac_cv_prog_cxx_g=no
12700 fi
12701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12702 fi
12703 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12704 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12705 if test "$ac_test_CXXFLAGS" = set; then
12706 CXXFLAGS=$ac_save_CXXFLAGS
12707 elif test $ac_cv_prog_cxx_g = yes; then
12708 if test "$GXX" = yes; then
12709 CXXFLAGS="-g -O2"
12710 else
12711 CXXFLAGS="-g"
12712 fi
12713 else
12714 if test "$GXX" = yes; then
12715 CXXFLAGS="-O2"
12716 else
12717 CXXFLAGS=
12718 fi
12719 fi
12720 for ac_declaration in \
12721 '' \
12722 'extern "C" void std::exit (int) throw (); using std::exit;' \
12723 'extern "C" void std::exit (int); using std::exit;' \
12724 'extern "C" void exit (int) throw ();' \
12725 'extern "C" void exit (int);' \
12726 'void exit (int);'
12727 do
12728 cat >conftest.$ac_ext <<_ACEOF
12729 /* confdefs.h. */
12730 _ACEOF
12731 cat confdefs.h >>conftest.$ac_ext
12732 cat >>conftest.$ac_ext <<_ACEOF
12733 /* end confdefs.h. */
12734 $ac_declaration
12735 #include <stdlib.h>
12736 int
12737 main ()
12738 {
12739 exit (42);
12740 ;
12741 return 0;
12742 }
12743 _ACEOF
12744 rm -f conftest.$ac_objext
12745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12746 (eval $ac_compile) 2>conftest.er1
12747 ac_status=$?
12748 grep -v '^ *+' conftest.er1 >conftest.err
12749 rm -f conftest.er1
12750 cat conftest.err >&5
12751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12752 (exit $ac_status); } &&
12753 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12755 (eval $ac_try) 2>&5
12756 ac_status=$?
12757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12758 (exit $ac_status); }; } &&
12759 { ac_try='test -s conftest.$ac_objext'
12760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12761 (eval $ac_try) 2>&5
12762 ac_status=$?
12763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12764 (exit $ac_status); }; }; then
12765 :
12766 else
12767 echo "$as_me: failed program was:" >&5
12768 sed 's/^/| /' conftest.$ac_ext >&5
12769
12770 continue
12771 fi
12772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12773 cat >conftest.$ac_ext <<_ACEOF
12774 /* confdefs.h. */
12775 _ACEOF
12776 cat confdefs.h >>conftest.$ac_ext
12777 cat >>conftest.$ac_ext <<_ACEOF
12778 /* end confdefs.h. */
12779 $ac_declaration
12780 int
12781 main ()
12782 {
12783 exit (42);
12784 ;
12785 return 0;
12786 }
12787 _ACEOF
12788 rm -f conftest.$ac_objext
12789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12790 (eval $ac_compile) 2>conftest.er1
12791 ac_status=$?
12792 grep -v '^ *+' conftest.er1 >conftest.err
12793 rm -f conftest.er1
12794 cat conftest.err >&5
12795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12796 (exit $ac_status); } &&
12797 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12799 (eval $ac_try) 2>&5
12800 ac_status=$?
12801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12802 (exit $ac_status); }; } &&
12803 { ac_try='test -s conftest.$ac_objext'
12804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12805 (eval $ac_try) 2>&5
12806 ac_status=$?
12807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12808 (exit $ac_status); }; }; then
12809 break
12810 else
12811 echo "$as_me: failed program was:" >&5
12812 sed 's/^/| /' conftest.$ac_ext >&5
12813
12814 fi
12815 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12816 done
12817 rm -f conftest*
12818 if test -n "$ac_declaration"; then
12819 echo '#ifdef __cplusplus' >>confdefs.h
12820 echo $ac_declaration >>confdefs.h
12821 echo '#endif' >>confdefs.h
12822 fi
12823
12824 ac_ext=cc
12825 ac_cpp='$CXXCPP $CPPFLAGS'
12826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12829
12830
12831
12832 ac_ext=cc
12833 ac_cpp='$CXXCPP $CPPFLAGS'
12834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12837
12838 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
12839 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
12840 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
12841 echo $ECHO_N "(cached) $ECHO_C" >&6
12842 else
12843 cat >conftest.$ac_ext <<_ACEOF
12844 /* confdefs.h. */
12845 _ACEOF
12846 cat confdefs.h >>conftest.$ac_ext
12847 cat >>conftest.$ac_ext <<_ACEOF
12848 /* end confdefs.h. */
12849
12850 int
12851 main ()
12852 {
12853
12854 #ifndef __INTEL_COMPILER
12855 choke me
12856 #endif
12857
12858 ;
12859 return 0;
12860 }
12861 _ACEOF
12862 rm -f conftest.$ac_objext
12863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12864 (eval $ac_compile) 2>conftest.er1
12865 ac_status=$?
12866 grep -v '^ *+' conftest.er1 >conftest.err
12867 rm -f conftest.er1
12868 cat conftest.err >&5
12869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12870 (exit $ac_status); } &&
12871 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12873 (eval $ac_try) 2>&5
12874 ac_status=$?
12875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12876 (exit $ac_status); }; } &&
12877 { ac_try='test -s conftest.$ac_objext'
12878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12879 (eval $ac_try) 2>&5
12880 ac_status=$?
12881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12882 (exit $ac_status); }; }; then
12883 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
12884 else
12885 echo "$as_me: failed program was:" >&5
12886 sed 's/^/| /' conftest.$ac_ext >&5
12887
12888 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
12889
12890 fi
12891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12892
12893
12894 fi
12895 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
12896 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
12897 ac_ext=cc
12898 ac_cpp='$CXXCPP $CPPFLAGS'
12899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12902
12903 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
12904 :; INTELCXX=yes
12905 else
12906 :;
12907 fi
12908
12909
12910 if test "x$GXX" != "xyes"; then
12911 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
12912 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
12913 if test "${wx_cv_cxx_exto+set}" = set; then
12914 echo $ECHO_N "(cached) $ECHO_C" >&6
12915 else
12916 cat >conftest.$ac_ext <<_ACEOF
12917 /* confdefs.h. */
12918 _ACEOF
12919 cat confdefs.h >>conftest.$ac_ext
12920 cat >>conftest.$ac_ext <<_ACEOF
12921 /* end confdefs.h. */
12922
12923 int
12924 main ()
12925 {
12926
12927 ;
12928 return 0;
12929 }
12930 _ACEOF
12931 rm -f conftest.$ac_objext conftest.$ac_ext.o
12932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12933 (eval $ac_compile) 2>&5
12934 ac_status=$?
12935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12936 (exit $ac_status); }; then
12937 for ac_file in `(ls conftest.* 2>/dev/null)`; do
12938 case $ac_file in
12939 conftest.$ac_ext.o)
12940 wx_cv_cxx_exto="-ext o"
12941 ;;
12942 *)
12943 ;;
12944 esac
12945 done
12946 else
12947 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12948 See \`config.log' for more details." >&5
12949 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12950 See \`config.log' for more details." >&2;}
12951 { (exit 1); exit 1; }; }
12952
12953 fi
12954
12955 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
12956
12957 fi
12958 echo "$as_me:$LINENO: result: $wx_cv_cxx_exto" >&5
12959 echo "${ECHO_T}$wx_cv_cxx_exto" >&6
12960 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12961 if test "cxx" = "c"; then
12962 CFLAGS="$wx_cv_cxx_exto $CFLAGS"
12963 fi
12964 if test "cxx" = "cxx"; then
12965 CXXFLAGS="$wx_cv_cxx_exto $CXXFLAGS"
12966 fi
12967 fi
12968
12969 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12970 unset ac_cv_prog_cxx_g
12971 ac_test_CXXFLAGS=${CXXFLAGS+set}
12972 ac_save_CXXFLAGS=$CXXFLAGS
12973 CXXFLAGS="-g"
12974 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12975 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12976 if test "${ac_cv_prog_cxx_g+set}" = set; then
12977 echo $ECHO_N "(cached) $ECHO_C" >&6
12978 else
12979 cat >conftest.$ac_ext <<_ACEOF
12980 /* confdefs.h. */
12981 _ACEOF
12982 cat confdefs.h >>conftest.$ac_ext
12983 cat >>conftest.$ac_ext <<_ACEOF
12984 /* end confdefs.h. */
12985
12986 int
12987 main ()
12988 {
12989
12990 ;
12991 return 0;
12992 }
12993 _ACEOF
12994 rm -f conftest.$ac_objext
12995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12996 (eval $ac_compile) 2>conftest.er1
12997 ac_status=$?
12998 grep -v '^ *+' conftest.er1 >conftest.err
12999 rm -f conftest.er1
13000 cat conftest.err >&5
13001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13002 (exit $ac_status); } &&
13003 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13005 (eval $ac_try) 2>&5
13006 ac_status=$?
13007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13008 (exit $ac_status); }; } &&
13009 { ac_try='test -s conftest.$ac_objext'
13010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13011 (eval $ac_try) 2>&5
13012 ac_status=$?
13013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13014 (exit $ac_status); }; }; then
13015 ac_cv_prog_cxx_g=yes
13016 else
13017 echo "$as_me: failed program was:" >&5
13018 sed 's/^/| /' conftest.$ac_ext >&5
13019
13020 ac_cv_prog_cxx_g=no
13021 fi
13022 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13023 fi
13024 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
13025 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
13026 if test "$ac_test_CXXFLAGS" = set; then
13027 CXXFLAGS=$ac_save_CXXFLAGS
13028 elif test $ac_cv_prog_cxx_g = yes; then
13029 if test "$GXX" = yes; then
13030 CXXFLAGS="-g -O2"
13031 else
13032 CXXFLAGS="-g"
13033 fi
13034 else
13035 if test "$GXX" = yes; then
13036 CXXFLAGS="-O2"
13037 else
13038 CXXFLAGS=
13039 fi
13040 fi
13041 fi
13042 ac_ext=cc
13043 ac_cpp='$CXXCPP $CPPFLAGS'
13044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13047
13048 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
13049 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
13050 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
13051 echo $ECHO_N "(cached) $ECHO_C" >&6
13052 else
13053 cat >conftest.$ac_ext <<_ACEOF
13054 /* confdefs.h. */
13055 _ACEOF
13056 cat confdefs.h >>conftest.$ac_ext
13057 cat >>conftest.$ac_ext <<_ACEOF
13058 /* end confdefs.h. */
13059
13060 int
13061 main ()
13062 {
13063 #ifndef __MWERKS__
13064 choke me
13065 #endif
13066
13067 ;
13068 return 0;
13069 }
13070 _ACEOF
13071 rm -f conftest.$ac_objext
13072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13073 (eval $ac_compile) 2>conftest.er1
13074 ac_status=$?
13075 grep -v '^ *+' conftest.er1 >conftest.err
13076 rm -f conftest.er1
13077 cat conftest.err >&5
13078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13079 (exit $ac_status); } &&
13080 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13082 (eval $ac_try) 2>&5
13083 ac_status=$?
13084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13085 (exit $ac_status); }; } &&
13086 { ac_try='test -s conftest.$ac_objext'
13087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13088 (eval $ac_try) 2>&5
13089 ac_status=$?
13090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13091 (exit $ac_status); }; }; then
13092 bakefile_compiler_mwerks=yes
13093 else
13094 echo "$as_me: failed program was:" >&5
13095 sed 's/^/| /' conftest.$ac_ext >&5
13096
13097 bakefile_compiler_mwerks=no
13098 fi
13099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13100 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
13101
13102 fi
13103 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
13104 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
13105
13106 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
13107 ac_ext=cc
13108 ac_cpp='$CXXCPP $CPPFLAGS'
13109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13112
13113
13114 ac_ext=cc
13115 ac_cpp='$CXXCPP $CPPFLAGS'
13116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13119
13120 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
13121 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
13122 if test "${wx_cv_cxx_compiler_xlc+set}" = set; then
13123 echo $ECHO_N "(cached) $ECHO_C" >&6
13124 else
13125 cat >conftest.$ac_ext <<_ACEOF
13126 /* confdefs.h. */
13127 _ACEOF
13128 cat confdefs.h >>conftest.$ac_ext
13129 cat >>conftest.$ac_ext <<_ACEOF
13130 /* end confdefs.h. */
13131
13132 int
13133 main ()
13134 {
13135 #ifndef __xlC__
13136 choke me
13137 #endif
13138
13139 ;
13140 return 0;
13141 }
13142 _ACEOF
13143 rm -f conftest.$ac_objext
13144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13145 (eval $ac_compile) 2>conftest.er1
13146 ac_status=$?
13147 grep -v '^ *+' conftest.er1 >conftest.err
13148 rm -f conftest.er1
13149 cat conftest.err >&5
13150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13151 (exit $ac_status); } &&
13152 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13154 (eval $ac_try) 2>&5
13155 ac_status=$?
13156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13157 (exit $ac_status); }; } &&
13158 { ac_try='test -s conftest.$ac_objext'
13159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13160 (eval $ac_try) 2>&5
13161 ac_status=$?
13162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13163 (exit $ac_status); }; }; then
13164 wx_compiler_xlc=yes
13165 else
13166 echo "$as_me: failed program was:" >&5
13167 sed 's/^/| /' conftest.$ac_ext >&5
13168
13169 wx_compiler_xlc=no
13170 fi
13171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13172 wx_cv_cxx_compiler_xlc=$wx_compiler_xlc
13173
13174 fi
13175 echo "$as_me:$LINENO: result: $wx_cv_cxx_compiler_xlc" >&5
13176 echo "${ECHO_T}$wx_cv_cxx_compiler_xlc" >&6
13177
13178 XLCXX=`test $wx_cv_cxx_compiler_xlc = yes && echo yes`
13179 ac_ext=cc
13180 ac_cpp='$CXXCPP $CPPFLAGS'
13181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13184
13185
13186
13187
13188 ac_ext=cc
13189 ac_cpp='$CXXCPP $CPPFLAGS'
13190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13193
13194 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
13195 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
13196 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
13197 echo $ECHO_N "(cached) $ECHO_C" >&6
13198 else
13199 cat >conftest.$ac_ext <<_ACEOF
13200 /* confdefs.h. */
13201 _ACEOF
13202 cat confdefs.h >>conftest.$ac_ext
13203 cat >>conftest.$ac_ext <<_ACEOF
13204 /* end confdefs.h. */
13205
13206 int
13207 main ()
13208 {
13209
13210 #ifndef _SGI_COMPILER_VERSION
13211 choke me
13212 #endif
13213
13214 ;
13215 return 0;
13216 }
13217 _ACEOF
13218 rm -f conftest.$ac_objext
13219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13220 (eval $ac_compile) 2>conftest.er1
13221 ac_status=$?
13222 grep -v '^ *+' conftest.er1 >conftest.err
13223 rm -f conftest.er1
13224 cat conftest.err >&5
13225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13226 (exit $ac_status); } &&
13227 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
13233 { ac_try='test -s conftest.$ac_objext'
13234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13235 (eval $ac_try) 2>&5
13236 ac_status=$?
13237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13238 (exit $ac_status); }; }; then
13239 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
13240 else
13241 echo "$as_me: failed program was:" >&5
13242 sed 's/^/| /' conftest.$ac_ext >&5
13243
13244 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
13245
13246 fi
13247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13248
13249
13250 fi
13251 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
13252 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
13253 ac_ext=cc
13254 ac_cpp='$CXXCPP $CPPFLAGS'
13255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13258
13259 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13260 :; SGICXX=yes
13261 else
13262 :;
13263 fi
13264
13265
13266
13267
13268 ac_ext=cc
13269 ac_cpp='$CXXCPP $CPPFLAGS'
13270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13273
13274 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
13275 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
13276 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
13277 echo $ECHO_N "(cached) $ECHO_C" >&6
13278 else
13279 cat >conftest.$ac_ext <<_ACEOF
13280 /* confdefs.h. */
13281 _ACEOF
13282 cat confdefs.h >>conftest.$ac_ext
13283 cat >>conftest.$ac_ext <<_ACEOF
13284 /* end confdefs.h. */
13285
13286 int
13287 main ()
13288 {
13289
13290 #ifndef __SUNPRO_CC
13291 choke me
13292 #endif
13293
13294 ;
13295 return 0;
13296 }
13297 _ACEOF
13298 rm -f conftest.$ac_objext
13299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13300 (eval $ac_compile) 2>conftest.er1
13301 ac_status=$?
13302 grep -v '^ *+' conftest.er1 >conftest.err
13303 rm -f conftest.er1
13304 cat conftest.err >&5
13305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13306 (exit $ac_status); } &&
13307 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13309 (eval $ac_try) 2>&5
13310 ac_status=$?
13311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13312 (exit $ac_status); }; } &&
13313 { ac_try='test -s conftest.$ac_objext'
13314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13315 (eval $ac_try) 2>&5
13316 ac_status=$?
13317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13318 (exit $ac_status); }; }; then
13319 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
13320 else
13321 echo "$as_me: failed program was:" >&5
13322 sed 's/^/| /' conftest.$ac_ext >&5
13323
13324 bakefile_cv_cxx_compiler___SUNPRO_CC=no
13325
13326 fi
13327 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13328
13329
13330 fi
13331 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
13332 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
13333 ac_ext=cc
13334 ac_cpp='$CXXCPP $CPPFLAGS'
13335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13338
13339 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
13340 :; SUNCXX=yes
13341 else
13342 :;
13343 fi
13344
13345
13346 fi
13347
13348
13349 ac_ext=c
13350 ac_cpp='$CPP $CPPFLAGS'
13351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13354
13355
13356 if test -n "$ac_tool_prefix"; then
13357 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
13358 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
13359 echo "$as_me:$LINENO: checking for $ac_word" >&5
13360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13361 if test "${ac_cv_prog_RANLIB+set}" = set; then
13362 echo $ECHO_N "(cached) $ECHO_C" >&6
13363 else
13364 if test -n "$RANLIB"; then
13365 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
13366 else
13367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13368 for as_dir in $PATH
13369 do
13370 IFS=$as_save_IFS
13371 test -z "$as_dir" && as_dir=.
13372 for ac_exec_ext in '' $ac_executable_extensions; do
13373 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13374 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
13375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13376 break 2
13377 fi
13378 done
13379 done
13380
13381 fi
13382 fi
13383 RANLIB=$ac_cv_prog_RANLIB
13384 if test -n "$RANLIB"; then
13385 echo "$as_me:$LINENO: result: $RANLIB" >&5
13386 echo "${ECHO_T}$RANLIB" >&6
13387 else
13388 echo "$as_me:$LINENO: result: no" >&5
13389 echo "${ECHO_T}no" >&6
13390 fi
13391
13392 fi
13393 if test -z "$ac_cv_prog_RANLIB"; then
13394 ac_ct_RANLIB=$RANLIB
13395 # Extract the first word of "ranlib", so it can be a program name with args.
13396 set dummy ranlib; ac_word=$2
13397 echo "$as_me:$LINENO: checking for $ac_word" >&5
13398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13399 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
13400 echo $ECHO_N "(cached) $ECHO_C" >&6
13401 else
13402 if test -n "$ac_ct_RANLIB"; then
13403 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
13404 else
13405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13406 for as_dir in $PATH
13407 do
13408 IFS=$as_save_IFS
13409 test -z "$as_dir" && as_dir=.
13410 for ac_exec_ext in '' $ac_executable_extensions; do
13411 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13412 ac_cv_prog_ac_ct_RANLIB="ranlib"
13413 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13414 break 2
13415 fi
13416 done
13417 done
13418
13419 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
13420 fi
13421 fi
13422 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
13423 if test -n "$ac_ct_RANLIB"; then
13424 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
13425 echo "${ECHO_T}$ac_ct_RANLIB" >&6
13426 else
13427 echo "$as_me:$LINENO: result: no" >&5
13428 echo "${ECHO_T}no" >&6
13429 fi
13430
13431 RANLIB=$ac_ct_RANLIB
13432 else
13433 RANLIB="$ac_cv_prog_RANLIB"
13434 fi
13435
13436
13437 if test -n "$ac_tool_prefix"; then
13438 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
13439 set dummy ${ac_tool_prefix}ar; ac_word=$2
13440 echo "$as_me:$LINENO: checking for $ac_word" >&5
13441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13442 if test "${ac_cv_prog_AR+set}" = set; then
13443 echo $ECHO_N "(cached) $ECHO_C" >&6
13444 else
13445 if test -n "$AR"; then
13446 ac_cv_prog_AR="$AR" # Let the user override the test.
13447 else
13448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13449 for as_dir in $PATH
13450 do
13451 IFS=$as_save_IFS
13452 test -z "$as_dir" && as_dir=.
13453 for ac_exec_ext in '' $ac_executable_extensions; do
13454 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13455 ac_cv_prog_AR="${ac_tool_prefix}ar"
13456 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13457 break 2
13458 fi
13459 done
13460 done
13461
13462 fi
13463 fi
13464 AR=$ac_cv_prog_AR
13465 if test -n "$AR"; then
13466 echo "$as_me:$LINENO: result: $AR" >&5
13467 echo "${ECHO_T}$AR" >&6
13468 else
13469 echo "$as_me:$LINENO: result: no" >&5
13470 echo "${ECHO_T}no" >&6
13471 fi
13472
13473 fi
13474 if test -z "$ac_cv_prog_AR"; then
13475 ac_ct_AR=$AR
13476 # Extract the first word of "ar", so it can be a program name with args.
13477 set dummy ar; ac_word=$2
13478 echo "$as_me:$LINENO: checking for $ac_word" >&5
13479 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13480 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
13481 echo $ECHO_N "(cached) $ECHO_C" >&6
13482 else
13483 if test -n "$ac_ct_AR"; then
13484 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
13485 else
13486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13487 for as_dir in $PATH
13488 do
13489 IFS=$as_save_IFS
13490 test -z "$as_dir" && as_dir=.
13491 for ac_exec_ext in '' $ac_executable_extensions; do
13492 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13493 ac_cv_prog_ac_ct_AR="ar"
13494 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13495 break 2
13496 fi
13497 done
13498 done
13499
13500 fi
13501 fi
13502 ac_ct_AR=$ac_cv_prog_ac_ct_AR
13503 if test -n "$ac_ct_AR"; then
13504 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
13505 echo "${ECHO_T}$ac_ct_AR" >&6
13506 else
13507 echo "$as_me:$LINENO: result: no" >&5
13508 echo "${ECHO_T}no" >&6
13509 fi
13510
13511 AR=$ac_ct_AR
13512 else
13513 AR="$ac_cv_prog_AR"
13514 fi
13515
13516 if test "x$AR" = "x" ; then
13517 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
13518 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
13519 { (exit 1); exit 1; }; }
13520 fi
13521
13522 # Find a good install program. We prefer a C program (faster),
13523 # so one script is as good as another. But avoid the broken or
13524 # incompatible versions:
13525 # SysV /etc/install, /usr/sbin/install
13526 # SunOS /usr/etc/install
13527 # IRIX /sbin/install
13528 # AIX /bin/install
13529 # AmigaOS /C/install, which installs bootblocks on floppy discs
13530 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
13531 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
13532 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
13533 # OS/2's system install, which has a completely different semantic
13534 # ./install, which can be erroneously created by make from ./install.sh.
13535 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
13536 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
13537 if test -z "$INSTALL"; then
13538 if test "${ac_cv_path_install+set}" = set; then
13539 echo $ECHO_N "(cached) $ECHO_C" >&6
13540 else
13541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13542 for as_dir in $PATH
13543 do
13544 IFS=$as_save_IFS
13545 test -z "$as_dir" && as_dir=.
13546 # Account for people who put trailing slashes in PATH elements.
13547 case $as_dir/ in
13548 ./ | .// | /cC/* | \
13549 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
13550 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
13551 /usr/ucb/* ) ;;
13552 *)
13553 # OSF1 and SCO ODT 3.0 have their own names for install.
13554 # Don't use installbsd from OSF since it installs stuff as root
13555 # by default.
13556 for ac_prog in ginstall scoinst install; do
13557 for ac_exec_ext in '' $ac_executable_extensions; do
13558 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
13559 if test $ac_prog = install &&
13560 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
13561 # AIX install. It has an incompatible calling convention.
13562 :
13563 elif test $ac_prog = install &&
13564 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
13565 # program-specific install script used by HP pwplus--don't use.
13566 :
13567 else
13568 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
13569 break 3
13570 fi
13571 fi
13572 done
13573 done
13574 ;;
13575 esac
13576 done
13577
13578
13579 fi
13580 if test "${ac_cv_path_install+set}" = set; then
13581 INSTALL=$ac_cv_path_install
13582 else
13583 # As a last resort, use the slow shell script. We don't cache a
13584 # path for INSTALL within a source directory, because that will
13585 # break other packages using the cache if that directory is
13586 # removed, or if the path is relative.
13587 INSTALL=$ac_install_sh
13588 fi
13589 fi
13590 echo "$as_me:$LINENO: result: $INSTALL" >&5
13591 echo "${ECHO_T}$INSTALL" >&6
13592
13593 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
13594 # It thinks the first close brace ends the variable substitution.
13595 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
13596
13597 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
13598
13599 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
13600
13601
13602 case ${INSTALL} in
13603 /* ) # Absolute
13604 ;;
13605 ?:* ) # Drive letter, considered as absolute.
13606 ;;
13607 *)
13608 INSTALL=`pwd`/${INSTALL} ;;
13609 esac
13610
13611
13612 case "${host}" in
13613
13614 *-*-darwin* )
13615 INSTALL_PROGRAM="cp -fp"
13616 INSTALL_DATA="cp -fp"
13617 ;;
13618 *)
13619 ;;
13620 esac
13621
13622 if test -n "$ac_tool_prefix"; then
13623 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
13624 set dummy ${ac_tool_prefix}strip; ac_word=$2
13625 echo "$as_me:$LINENO: checking for $ac_word" >&5
13626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13627 if test "${ac_cv_prog_STRIP+set}" = set; then
13628 echo $ECHO_N "(cached) $ECHO_C" >&6
13629 else
13630 if test -n "$STRIP"; then
13631 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
13632 else
13633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13634 for as_dir in $PATH
13635 do
13636 IFS=$as_save_IFS
13637 test -z "$as_dir" && as_dir=.
13638 for ac_exec_ext in '' $ac_executable_extensions; do
13639 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13640 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
13641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13642 break 2
13643 fi
13644 done
13645 done
13646
13647 fi
13648 fi
13649 STRIP=$ac_cv_prog_STRIP
13650 if test -n "$STRIP"; then
13651 echo "$as_me:$LINENO: result: $STRIP" >&5
13652 echo "${ECHO_T}$STRIP" >&6
13653 else
13654 echo "$as_me:$LINENO: result: no" >&5
13655 echo "${ECHO_T}no" >&6
13656 fi
13657
13658 fi
13659 if test -z "$ac_cv_prog_STRIP"; then
13660 ac_ct_STRIP=$STRIP
13661 # Extract the first word of "strip", so it can be a program name with args.
13662 set dummy strip; ac_word=$2
13663 echo "$as_me:$LINENO: checking for $ac_word" >&5
13664 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13665 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
13666 echo $ECHO_N "(cached) $ECHO_C" >&6
13667 else
13668 if test -n "$ac_ct_STRIP"; then
13669 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
13670 else
13671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13672 for as_dir in $PATH
13673 do
13674 IFS=$as_save_IFS
13675 test -z "$as_dir" && as_dir=.
13676 for ac_exec_ext in '' $ac_executable_extensions; do
13677 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13678 ac_cv_prog_ac_ct_STRIP="strip"
13679 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13680 break 2
13681 fi
13682 done
13683 done
13684
13685 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="true"
13686 fi
13687 fi
13688 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
13689 if test -n "$ac_ct_STRIP"; then
13690 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
13691 echo "${ECHO_T}$ac_ct_STRIP" >&6
13692 else
13693 echo "$as_me:$LINENO: result: no" >&5
13694 echo "${ECHO_T}no" >&6
13695 fi
13696
13697 STRIP=$ac_ct_STRIP
13698 else
13699 STRIP="$ac_cv_prog_STRIP"
13700 fi
13701
13702
13703 if test "$wxUSE_WINE" = "yes"; then
13704 if test -n "$ac_tool_prefix"; then
13705 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
13706 set dummy ${ac_tool_prefix}wrc; ac_word=$2
13707 echo "$as_me:$LINENO: checking for $ac_word" >&5
13708 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13709 if test "${ac_cv_prog_RESCOMP+set}" = set; then
13710 echo $ECHO_N "(cached) $ECHO_C" >&6
13711 else
13712 if test -n "$RESCOMP"; then
13713 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
13714 else
13715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13716 for as_dir in $PATH
13717 do
13718 IFS=$as_save_IFS
13719 test -z "$as_dir" && as_dir=.
13720 for ac_exec_ext in '' $ac_executable_extensions; do
13721 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13722 ac_cv_prog_RESCOMP="${ac_tool_prefix}wrc"
13723 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13724 break 2
13725 fi
13726 done
13727 done
13728
13729 fi
13730 fi
13731 RESCOMP=$ac_cv_prog_RESCOMP
13732 if test -n "$RESCOMP"; then
13733 echo "$as_me:$LINENO: result: $RESCOMP" >&5
13734 echo "${ECHO_T}$RESCOMP" >&6
13735 else
13736 echo "$as_me:$LINENO: result: no" >&5
13737 echo "${ECHO_T}no" >&6
13738 fi
13739
13740 fi
13741 if test -z "$ac_cv_prog_RESCOMP"; then
13742 ac_ct_RESCOMP=$RESCOMP
13743 # Extract the first word of "wrc", so it can be a program name with args.
13744 set dummy wrc; ac_word=$2
13745 echo "$as_me:$LINENO: checking for $ac_word" >&5
13746 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13747 if test "${ac_cv_prog_ac_ct_RESCOMP+set}" = set; then
13748 echo $ECHO_N "(cached) $ECHO_C" >&6
13749 else
13750 if test -n "$ac_ct_RESCOMP"; then
13751 ac_cv_prog_ac_ct_RESCOMP="$ac_ct_RESCOMP" # Let the user override the test.
13752 else
13753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13754 for as_dir in $PATH
13755 do
13756 IFS=$as_save_IFS
13757 test -z "$as_dir" && as_dir=.
13758 for ac_exec_ext in '' $ac_executable_extensions; do
13759 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13760 ac_cv_prog_ac_ct_RESCOMP="wrc"
13761 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13762 break 2
13763 fi
13764 done
13765 done
13766
13767 fi
13768 fi
13769 ac_ct_RESCOMP=$ac_cv_prog_ac_ct_RESCOMP
13770 if test -n "$ac_ct_RESCOMP"; then
13771 echo "$as_me:$LINENO: result: $ac_ct_RESCOMP" >&5
13772 echo "${ECHO_T}$ac_ct_RESCOMP" >&6
13773 else
13774 echo "$as_me:$LINENO: result: no" >&5
13775 echo "${ECHO_T}no" >&6
13776 fi
13777
13778 RESCOMP=$ac_ct_RESCOMP
13779 else
13780 RESCOMP="$ac_cv_prog_RESCOMP"
13781 fi
13782
13783 else
13784 case "${host}" in
13785 *-*-cygwin* | *-*-mingw32* )
13786 if test -n "$ac_tool_prefix"; then
13787 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
13788 set dummy ${ac_tool_prefix}windres; ac_word=$2
13789 echo "$as_me:$LINENO: checking for $ac_word" >&5
13790 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13791 if test "${ac_cv_prog_RESCOMP+set}" = set; then
13792 echo $ECHO_N "(cached) $ECHO_C" >&6
13793 else
13794 if test -n "$RESCOMP"; then
13795 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
13796 else
13797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13798 for as_dir in $PATH
13799 do
13800 IFS=$as_save_IFS
13801 test -z "$as_dir" && as_dir=.
13802 for ac_exec_ext in '' $ac_executable_extensions; do
13803 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13804 ac_cv_prog_RESCOMP="${ac_tool_prefix}windres"
13805 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13806 break 2
13807 fi
13808 done
13809 done
13810
13811 fi
13812 fi
13813 RESCOMP=$ac_cv_prog_RESCOMP
13814 if test -n "$RESCOMP"; then
13815 echo "$as_me:$LINENO: result: $RESCOMP" >&5
13816 echo "${ECHO_T}$RESCOMP" >&6
13817 else
13818 echo "$as_me:$LINENO: result: no" >&5
13819 echo "${ECHO_T}no" >&6
13820 fi
13821
13822 fi
13823 if test -z "$ac_cv_prog_RESCOMP"; then
13824 ac_ct_RESCOMP=$RESCOMP
13825 # Extract the first word of "windres", so it can be a program name with args.
13826 set dummy windres; ac_word=$2
13827 echo "$as_me:$LINENO: checking for $ac_word" >&5
13828 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13829 if test "${ac_cv_prog_ac_ct_RESCOMP+set}" = set; then
13830 echo $ECHO_N "(cached) $ECHO_C" >&6
13831 else
13832 if test -n "$ac_ct_RESCOMP"; then
13833 ac_cv_prog_ac_ct_RESCOMP="$ac_ct_RESCOMP" # Let the user override the test.
13834 else
13835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13836 for as_dir in $PATH
13837 do
13838 IFS=$as_save_IFS
13839 test -z "$as_dir" && as_dir=.
13840 for ac_exec_ext in '' $ac_executable_extensions; do
13841 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13842 ac_cv_prog_ac_ct_RESCOMP="windres"
13843 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13844 break 2
13845 fi
13846 done
13847 done
13848
13849 fi
13850 fi
13851 ac_ct_RESCOMP=$ac_cv_prog_ac_ct_RESCOMP
13852 if test -n "$ac_ct_RESCOMP"; then
13853 echo "$as_me:$LINENO: result: $ac_ct_RESCOMP" >&5
13854 echo "${ECHO_T}$ac_ct_RESCOMP" >&6
13855 else
13856 echo "$as_me:$LINENO: result: no" >&5
13857 echo "${ECHO_T}no" >&6
13858 fi
13859
13860 RESCOMP=$ac_ct_RESCOMP
13861 else
13862 RESCOMP="$ac_cv_prog_RESCOMP"
13863 fi
13864
13865 if test -n "$ac_tool_prefix"; then
13866 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
13867 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
13868 echo "$as_me:$LINENO: checking for $ac_word" >&5
13869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13870 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
13871 echo $ECHO_N "(cached) $ECHO_C" >&6
13872 else
13873 if test -n "$DLLTOOL"; then
13874 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
13875 else
13876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13877 for as_dir in $PATH
13878 do
13879 IFS=$as_save_IFS
13880 test -z "$as_dir" && as_dir=.
13881 for ac_exec_ext in '' $ac_executable_extensions; do
13882 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13883 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
13884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13885 break 2
13886 fi
13887 done
13888 done
13889
13890 fi
13891 fi
13892 DLLTOOL=$ac_cv_prog_DLLTOOL
13893 if test -n "$DLLTOOL"; then
13894 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
13895 echo "${ECHO_T}$DLLTOOL" >&6
13896 else
13897 echo "$as_me:$LINENO: result: no" >&5
13898 echo "${ECHO_T}no" >&6
13899 fi
13900
13901 fi
13902 if test -z "$ac_cv_prog_DLLTOOL"; then
13903 ac_ct_DLLTOOL=$DLLTOOL
13904 # Extract the first word of "dlltool", so it can be a program name with args.
13905 set dummy dlltool; ac_word=$2
13906 echo "$as_me:$LINENO: checking for $ac_word" >&5
13907 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13908 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
13909 echo $ECHO_N "(cached) $ECHO_C" >&6
13910 else
13911 if test -n "$ac_ct_DLLTOOL"; then
13912 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
13913 else
13914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13915 for as_dir in $PATH
13916 do
13917 IFS=$as_save_IFS
13918 test -z "$as_dir" && as_dir=.
13919 for ac_exec_ext in '' $ac_executable_extensions; do
13920 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13921 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
13922 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13923 break 2
13924 fi
13925 done
13926 done
13927
13928 fi
13929 fi
13930 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
13931 if test -n "$ac_ct_DLLTOOL"; then
13932 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
13933 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
13934 else
13935 echo "$as_me:$LINENO: result: no" >&5
13936 echo "${ECHO_T}no" >&6
13937 fi
13938
13939 DLLTOOL=$ac_ct_DLLTOOL
13940 else
13941 DLLTOOL="$ac_cv_prog_DLLTOOL"
13942 fi
13943
13944 ;;
13945 esac
13946 fi
13947
13948 echo "$as_me:$LINENO: checking if make is GNU make" >&5
13949 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
13950 if test "${wx_cv_prog_makeisgnu+set}" = set; then
13951 echo $ECHO_N "(cached) $ECHO_C" >&6
13952 else
13953
13954 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
13955 egrep -s GNU > /dev/null); then
13956 wx_cv_prog_makeisgnu="yes"
13957 else
13958 wx_cv_prog_makeisgnu="no"
13959 fi
13960
13961 fi
13962 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
13963 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
13964
13965 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
13966 IF_GNU_MAKE=""
13967 else
13968 IF_GNU_MAKE="#"
13969 fi
13970
13971
13972
13973 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
13974 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
13975 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
13976 if test "${wx_cv_prog_makevpath+set}" = set; then
13977 echo $ECHO_N "(cached) $ECHO_C" >&6
13978 else
13979
13980 cat - << EOF > confMake
13981 check : file
13982 cp \$? \$@
13983 cp \$? final_file
13984 EOF
13985
13986 if test ! -d sub ; then
13987 mkdir sub
13988 fi
13989 echo dummy > sub/file
13990 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
13991 RESULT=$?
13992 rm -f sub/file check final_file confMake
13993 rmdir sub
13994 if test "$RESULT" = 0; then
13995 wx_cv_prog_makevpath="yes"
13996 else
13997 wx_cv_prog_makevpath="no"
13998 fi
13999
14000 fi
14001 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
14002 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
14003
14004 if test "x$wx_cv_prog_makevpath" != "xyes"; then
14005 { { echo "$as_me:$LINENO: error:
14006 You need a make-utility that is able to use the variable
14007 VPATH correctly.
14008 If your version of make does not support VPATH correctly,
14009 please install GNU-make (possibly as gmake), and start
14010 configure with the following command:
14011 export MAKE=gmake; ./configure for sh-type shells
14012 setenv MAKE gmake; ./configure for csh-type shells
14013 Also please do remember to use gmake in this case every time
14014 you are trying to compile.
14015 " >&5
14016 echo "$as_me: error:
14017 You need a make-utility that is able to use the variable
14018 VPATH correctly.
14019 If your version of make does not support VPATH correctly,
14020 please install GNU-make (possibly as gmake), and start
14021 configure with the following command:
14022 export MAKE=gmake; ./configure for sh-type shells
14023 setenv MAKE gmake; ./configure for csh-type shells
14024 Also please do remember to use gmake in this case every time
14025 you are trying to compile.
14026 " >&2;}
14027 { (exit 1); exit 1; }; }
14028 fi fi
14029 echo "$as_me:$LINENO: checking whether ln -s works" >&5
14030 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
14031 LN_S=$as_ln_s
14032 if test "$LN_S" = "ln -s"; then
14033 echo "$as_me:$LINENO: result: yes" >&5
14034 echo "${ECHO_T}yes" >&6
14035 else
14036 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
14037 echo "${ECHO_T}no, using $LN_S" >&6
14038 fi
14039
14040
14041
14042 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
14043 CXXFLAGS="$CXXFLAGS -qunique"
14044 fi
14045
14046
14047 case "${host}" in
14048 powerpc-*-darwin* )
14049 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
14050 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
14051 cat >conftest.$ac_ext <<_ACEOF
14052 /* confdefs.h. */
14053 _ACEOF
14054 cat confdefs.h >>conftest.$ac_ext
14055 cat >>conftest.$ac_ext <<_ACEOF
14056 /* end confdefs.h. */
14057
14058 int
14059 main ()
14060 {
14061 #ifndef __POWERPC__
14062 choke me for lack of PowerPC
14063 #endif
14064
14065 ;
14066 return 0;
14067 }
14068 _ACEOF
14069 rm -f conftest.$ac_objext
14070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14071 (eval $ac_compile) 2>conftest.er1
14072 ac_status=$?
14073 grep -v '^ *+' conftest.er1 >conftest.err
14074 rm -f conftest.er1
14075 cat conftest.err >&5
14076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14077 (exit $ac_status); } &&
14078 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14080 (eval $ac_try) 2>&5
14081 ac_status=$?
14082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14083 (exit $ac_status); }; } &&
14084 { ac_try='test -s conftest.$ac_objext'
14085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14086 (eval $ac_try) 2>&5
14087 ac_status=$?
14088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14089 (exit $ac_status); }; }; then
14090 echo "$as_me:$LINENO: result: yes" >&5
14091 echo "${ECHO_T}yes" >&6
14092 else
14093 echo "$as_me: failed program was:" >&5
14094 sed 's/^/| /' conftest.$ac_ext >&5
14095
14096 echo "$as_me:$LINENO: result: no" >&5
14097 echo "${ECHO_T}no" >&6
14098 cat >>confdefs.h <<\_ACEOF
14099 #define __POWERPC__ 1
14100 _ACEOF
14101
14102
14103 fi
14104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14105 ;;
14106 esac
14107
14108 case "${host}" in
14109 *-*-darwin* )
14110 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
14111 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
14112 cat >conftest.$ac_ext <<_ACEOF
14113 /* confdefs.h. */
14114 _ACEOF
14115 cat confdefs.h >>conftest.$ac_ext
14116 cat >>conftest.$ac_ext <<_ACEOF
14117 /* end confdefs.h. */
14118 #include <CoreFoundation/CFBase.h>
14119
14120 int
14121 main ()
14122 {
14123
14124 ;
14125 return 0;
14126 }
14127 _ACEOF
14128 rm -f conftest.$ac_objext
14129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14130 (eval $ac_compile) 2>conftest.er1
14131 ac_status=$?
14132 grep -v '^ *+' conftest.er1 >conftest.err
14133 rm -f conftest.er1
14134 cat conftest.err >&5
14135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14136 (exit $ac_status); } &&
14137 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14139 (eval $ac_try) 2>&5
14140 ac_status=$?
14141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14142 (exit $ac_status); }; } &&
14143 { ac_try='test -s conftest.$ac_objext'
14144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14145 (eval $ac_try) 2>&5
14146 ac_status=$?
14147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14148 (exit $ac_status); }; }; then
14149 echo "$as_me:$LINENO: result: yes" >&5
14150 echo "${ECHO_T}yes" >&6
14151 else
14152 echo "$as_me: failed program was:" >&5
14153 sed 's/^/| /' conftest.$ac_ext >&5
14154
14155 echo "$as_me:$LINENO: result: no" >&5
14156 echo "${ECHO_T}no" >&6
14157 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
14158 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
14159 cat >conftest.$ac_ext <<_ACEOF
14160 /* confdefs.h. */
14161 _ACEOF
14162 cat confdefs.h >>conftest.$ac_ext
14163 cat >>conftest.$ac_ext <<_ACEOF
14164 /* end confdefs.h. */
14165 #define __CF_USE_FRAMEWORK_INCLUDES__
14166 #include <CoreFoundation/CFBase.h>
14167
14168 int
14169 main ()
14170 {
14171
14172 ;
14173 return 0;
14174 }
14175 _ACEOF
14176 rm -f conftest.$ac_objext
14177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14178 (eval $ac_compile) 2>conftest.er1
14179 ac_status=$?
14180 grep -v '^ *+' conftest.er1 >conftest.err
14181 rm -f conftest.er1
14182 cat conftest.err >&5
14183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14184 (exit $ac_status); } &&
14185 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14187 (eval $ac_try) 2>&5
14188 ac_status=$?
14189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14190 (exit $ac_status); }; } &&
14191 { ac_try='test -s conftest.$ac_objext'
14192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14193 (eval $ac_try) 2>&5
14194 ac_status=$?
14195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14196 (exit $ac_status); }; }; then
14197 echo "$as_me:$LINENO: result: yes" >&5
14198 echo "${ECHO_T}yes" >&6
14199 CPPFLAGS="$CPPFLAGS -D__CF_USE_FRAMEWORK_INCLUDES__"
14200 else
14201 echo "$as_me: failed program was:" >&5
14202 sed 's/^/| /' conftest.$ac_ext >&5
14203
14204 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
14205 See \`config.log' for more details." >&5
14206 echo "$as_me: error: no. CoreFoundation not available.
14207 See \`config.log' for more details." >&2;}
14208 { (exit 1); exit 1; }; }
14209
14210 fi
14211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14212
14213
14214 fi
14215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14216 ;;
14217 esac
14218
14219 case "${host}" in
14220 *-pc-os2_emx | *-pc-os2-emx )
14221 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
14222 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
14223 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
14224 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
14225 echo $ECHO_N "(cached) $ECHO_C" >&6
14226 else
14227 ac_check_lib_save_LIBS=$LIBS
14228 LIBS="-lcExt $LIBS"
14229 cat >conftest.$ac_ext <<_ACEOF
14230 /* confdefs.h. */
14231 _ACEOF
14232 cat confdefs.h >>conftest.$ac_ext
14233 cat >>conftest.$ac_ext <<_ACEOF
14234 /* end confdefs.h. */
14235
14236 /* Override any gcc2 internal prototype to avoid an error. */
14237 #ifdef __cplusplus
14238 extern "C"
14239 #endif
14240 /* We use char because int might match the return type of a gcc2
14241 builtin and then its argument prototype would still apply. */
14242 char drand48 ();
14243 int
14244 main ()
14245 {
14246 drand48 ();
14247 ;
14248 return 0;
14249 }
14250 _ACEOF
14251 rm -f conftest.$ac_objext conftest$ac_exeext
14252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14253 (eval $ac_link) 2>conftest.er1
14254 ac_status=$?
14255 grep -v '^ *+' conftest.er1 >conftest.err
14256 rm -f conftest.er1
14257 cat conftest.err >&5
14258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14259 (exit $ac_status); } &&
14260 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14262 (eval $ac_try) 2>&5
14263 ac_status=$?
14264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14265 (exit $ac_status); }; } &&
14266 { ac_try='test -s conftest$ac_exeext'
14267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14268 (eval $ac_try) 2>&5
14269 ac_status=$?
14270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14271 (exit $ac_status); }; }; then
14272 ac_cv_lib_cExt_drand48=yes
14273 else
14274 echo "$as_me: failed program was:" >&5
14275 sed 's/^/| /' conftest.$ac_ext >&5
14276
14277 ac_cv_lib_cExt_drand48=no
14278 fi
14279 rm -f conftest.err conftest.$ac_objext \
14280 conftest$ac_exeext conftest.$ac_ext
14281 LIBS=$ac_check_lib_save_LIBS
14282 fi
14283 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
14284 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
14285 if test $ac_cv_lib_cExt_drand48 = yes; then
14286 LIBS="$LIBS -lcExt"
14287 fi
14288
14289 else
14290 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
14291 fi
14292 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
14293 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
14294 if test "${wx_cv_gccversion+set}" = set; then
14295 echo $ECHO_N "(cached) $ECHO_C" >&6
14296 else
14297
14298 if test "$cross_compiling" = yes; then
14299 wx_cv_gccversion="EMX2"
14300
14301 else
14302 cat >conftest.$ac_ext <<_ACEOF
14303 /* confdefs.h. */
14304 _ACEOF
14305 cat confdefs.h >>conftest.$ac_ext
14306 cat >>conftest.$ac_ext <<_ACEOF
14307 /* end confdefs.h. */
14308
14309 #include <stdio.h>
14310
14311 int main()
14312 {
14313 FILE *f=fopen("conftestval", "w");
14314 if (!f) exit(1);
14315 fprintf(f,
14316 #if (__GNUC__ < 3)
14317 "EMX2"
14318 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
14319 "EMX3"
14320 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
14321 "Innotek5"
14322 #else
14323 "Innotek6"
14324 #endif
14325 );
14326 exit(0);
14327 }
14328
14329 _ACEOF
14330 rm -f conftest$ac_exeext
14331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14332 (eval $ac_link) 2>&5
14333 ac_status=$?
14334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14335 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14337 (eval $ac_try) 2>&5
14338 ac_status=$?
14339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14340 (exit $ac_status); }; }; then
14341 wx_cv_gccversion=`cat conftestval`
14342 else
14343 echo "$as_me: program exited with status $ac_status" >&5
14344 echo "$as_me: failed program was:" >&5
14345 sed 's/^/| /' conftest.$ac_ext >&5
14346
14347 ( exit $ac_status )
14348 wx_cv_gccversion="EMX2"
14349 fi
14350 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14351 fi
14352
14353 fi
14354 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
14355 echo "${ECHO_T}$wx_cv_gccversion" >&6
14356 if test "$wx_cv_gccversion" = "EMX2"; then
14357 LIBS="$LIBS -lstdcpp"
14358 LDFLAGS="$LDFLAGS -Zsysv-signals"
14359 else
14360 if test "$wx_cv_gccversion" = "EMX3"; then
14361 LIBS="$LIBS -lstdcxx -lgcc"
14362 LDFLAGS="$LDFLAGS -Zsysv-signals"
14363 else
14364 LIBS="$LIBS -lstdc++"
14365 fi
14366 fi
14367 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
14368 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
14369 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
14370 wxUSE_OMF=yes
14371 enable_omf=yes
14372 fi
14373 ;;
14374 *)
14375
14376
14377
14378 ac_ext=cc
14379 ac_cpp='$CXXCPP $CPPFLAGS'
14380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14383
14384
14385 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
14386 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
14387 if test "${ac_cv_string_strcasecmp+set}" = set; then
14388 echo $ECHO_N "(cached) $ECHO_C" >&6
14389 else
14390
14391 cat >conftest.$ac_ext <<_ACEOF
14392 /* confdefs.h. */
14393 _ACEOF
14394 cat confdefs.h >>conftest.$ac_ext
14395 cat >>conftest.$ac_ext <<_ACEOF
14396 /* end confdefs.h. */
14397
14398 #include <string.h>
14399
14400 int
14401 main ()
14402 {
14403
14404 strcasecmp("foo", "bar");
14405
14406 ;
14407 return 0;
14408 }
14409 _ACEOF
14410 rm -f conftest.$ac_objext conftest$ac_exeext
14411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14412 (eval $ac_link) 2>conftest.er1
14413 ac_status=$?
14414 grep -v '^ *+' conftest.er1 >conftest.err
14415 rm -f conftest.er1
14416 cat conftest.err >&5
14417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14418 (exit $ac_status); } &&
14419 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14421 (eval $ac_try) 2>&5
14422 ac_status=$?
14423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14424 (exit $ac_status); }; } &&
14425 { ac_try='test -s conftest$ac_exeext'
14426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14427 (eval $ac_try) 2>&5
14428 ac_status=$?
14429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14430 (exit $ac_status); }; }; then
14431 ac_cv_string_strcasecmp=yes
14432 else
14433 echo "$as_me: failed program was:" >&5
14434 sed 's/^/| /' conftest.$ac_ext >&5
14435
14436 ac_cv_string_strcasecmp=no
14437
14438 fi
14439 rm -f conftest.err conftest.$ac_objext \
14440 conftest$ac_exeext conftest.$ac_ext
14441
14442 fi
14443 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
14444 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
14445
14446 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
14447 cat >>confdefs.h <<\_ACEOF
14448 #define HAVE_STRCASECMP_IN_STRING_H 1
14449 _ACEOF
14450
14451 else
14452 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
14453 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
14454 if test "${ac_cv_strings_strcasecmp+set}" = set; then
14455 echo $ECHO_N "(cached) $ECHO_C" >&6
14456 else
14457
14458 cat >conftest.$ac_ext <<_ACEOF
14459 /* confdefs.h. */
14460 _ACEOF
14461 cat confdefs.h >>conftest.$ac_ext
14462 cat >>conftest.$ac_ext <<_ACEOF
14463 /* end confdefs.h. */
14464
14465 #include <strings.h>
14466
14467 int
14468 main ()
14469 {
14470
14471 strcasecmp("foo", "bar");
14472
14473 ;
14474 return 0;
14475 }
14476 _ACEOF
14477 rm -f conftest.$ac_objext conftest$ac_exeext
14478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14479 (eval $ac_link) 2>conftest.er1
14480 ac_status=$?
14481 grep -v '^ *+' conftest.er1 >conftest.err
14482 rm -f conftest.er1
14483 cat conftest.err >&5
14484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14485 (exit $ac_status); } &&
14486 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14488 (eval $ac_try) 2>&5
14489 ac_status=$?
14490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14491 (exit $ac_status); }; } &&
14492 { ac_try='test -s conftest$ac_exeext'
14493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14494 (eval $ac_try) 2>&5
14495 ac_status=$?
14496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14497 (exit $ac_status); }; }; then
14498 ac_cv_strings_strcasecmp=yes
14499 else
14500 echo "$as_me: failed program was:" >&5
14501 sed 's/^/| /' conftest.$ac_ext >&5
14502
14503 ac_cv_strings_strcasecmp=no
14504
14505 fi
14506 rm -f conftest.err conftest.$ac_objext \
14507 conftest$ac_exeext conftest.$ac_ext
14508
14509 fi
14510 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
14511 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
14512
14513 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
14514 cat >>confdefs.h <<\_ACEOF
14515 #define HAVE_STRCASECMP_IN_STRINGS_H 1
14516 _ACEOF
14517
14518 else
14519 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
14520 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
14521 { (exit 1); exit 1; }; }
14522 fi
14523 fi
14524
14525 ac_ext=c
14526 ac_cpp='$CPP $CPPFLAGS'
14527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14530
14531 ;;
14532 esac
14533
14534
14535 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
14536 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
14537 if test "${ac_cv_header_stdc+set}" = set; then
14538 echo $ECHO_N "(cached) $ECHO_C" >&6
14539 else
14540 cat >conftest.$ac_ext <<_ACEOF
14541 /* confdefs.h. */
14542 _ACEOF
14543 cat confdefs.h >>conftest.$ac_ext
14544 cat >>conftest.$ac_ext <<_ACEOF
14545 /* end confdefs.h. */
14546 #include <stdlib.h>
14547 #include <stdarg.h>
14548 #include <string.h>
14549 #include <float.h>
14550
14551 int
14552 main ()
14553 {
14554
14555 ;
14556 return 0;
14557 }
14558 _ACEOF
14559 rm -f conftest.$ac_objext
14560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14561 (eval $ac_compile) 2>conftest.er1
14562 ac_status=$?
14563 grep -v '^ *+' conftest.er1 >conftest.err
14564 rm -f conftest.er1
14565 cat conftest.err >&5
14566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14567 (exit $ac_status); } &&
14568 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14570 (eval $ac_try) 2>&5
14571 ac_status=$?
14572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14573 (exit $ac_status); }; } &&
14574 { ac_try='test -s conftest.$ac_objext'
14575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14576 (eval $ac_try) 2>&5
14577 ac_status=$?
14578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14579 (exit $ac_status); }; }; then
14580 ac_cv_header_stdc=yes
14581 else
14582 echo "$as_me: failed program was:" >&5
14583 sed 's/^/| /' conftest.$ac_ext >&5
14584
14585 ac_cv_header_stdc=no
14586 fi
14587 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14588
14589 if test $ac_cv_header_stdc = yes; then
14590 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14591 cat >conftest.$ac_ext <<_ACEOF
14592 /* confdefs.h. */
14593 _ACEOF
14594 cat confdefs.h >>conftest.$ac_ext
14595 cat >>conftest.$ac_ext <<_ACEOF
14596 /* end confdefs.h. */
14597 #include <string.h>
14598
14599 _ACEOF
14600 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14601 $EGREP "memchr" >/dev/null 2>&1; then
14602 :
14603 else
14604 ac_cv_header_stdc=no
14605 fi
14606 rm -f conftest*
14607
14608 fi
14609
14610 if test $ac_cv_header_stdc = yes; then
14611 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14612 cat >conftest.$ac_ext <<_ACEOF
14613 /* confdefs.h. */
14614 _ACEOF
14615 cat confdefs.h >>conftest.$ac_ext
14616 cat >>conftest.$ac_ext <<_ACEOF
14617 /* end confdefs.h. */
14618 #include <stdlib.h>
14619
14620 _ACEOF
14621 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14622 $EGREP "free" >/dev/null 2>&1; then
14623 :
14624 else
14625 ac_cv_header_stdc=no
14626 fi
14627 rm -f conftest*
14628
14629 fi
14630
14631 if test $ac_cv_header_stdc = yes; then
14632 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14633 if test "$cross_compiling" = yes; then
14634 :
14635 else
14636 cat >conftest.$ac_ext <<_ACEOF
14637 /* confdefs.h. */
14638 _ACEOF
14639 cat confdefs.h >>conftest.$ac_ext
14640 cat >>conftest.$ac_ext <<_ACEOF
14641 /* end confdefs.h. */
14642 #include <ctype.h>
14643 #if ((' ' & 0x0FF) == 0x020)
14644 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14645 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14646 #else
14647 # define ISLOWER(c) \
14648 (('a' <= (c) && (c) <= 'i') \
14649 || ('j' <= (c) && (c) <= 'r') \
14650 || ('s' <= (c) && (c) <= 'z'))
14651 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14652 #endif
14653
14654 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14655 int
14656 main ()
14657 {
14658 int i;
14659 for (i = 0; i < 256; i++)
14660 if (XOR (islower (i), ISLOWER (i))
14661 || toupper (i) != TOUPPER (i))
14662 exit(2);
14663 exit (0);
14664 }
14665 _ACEOF
14666 rm -f conftest$ac_exeext
14667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14668 (eval $ac_link) 2>&5
14669 ac_status=$?
14670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14671 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14673 (eval $ac_try) 2>&5
14674 ac_status=$?
14675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14676 (exit $ac_status); }; }; then
14677 :
14678 else
14679 echo "$as_me: program exited with status $ac_status" >&5
14680 echo "$as_me: failed program was:" >&5
14681 sed 's/^/| /' conftest.$ac_ext >&5
14682
14683 ( exit $ac_status )
14684 ac_cv_header_stdc=no
14685 fi
14686 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14687 fi
14688 fi
14689 fi
14690 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
14691 echo "${ECHO_T}$ac_cv_header_stdc" >&6
14692 if test $ac_cv_header_stdc = yes; then
14693
14694 cat >>confdefs.h <<\_ACEOF
14695 #define STDC_HEADERS 1
14696 _ACEOF
14697
14698 fi
14699
14700 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
14701
14702
14703
14704
14705
14706
14707
14708
14709
14710 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
14711 inttypes.h stdint.h unistd.h
14712 do
14713 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14714 echo "$as_me:$LINENO: checking for $ac_header" >&5
14715 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14716 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14717 echo $ECHO_N "(cached) $ECHO_C" >&6
14718 else
14719 cat >conftest.$ac_ext <<_ACEOF
14720 /* confdefs.h. */
14721 _ACEOF
14722 cat confdefs.h >>conftest.$ac_ext
14723 cat >>conftest.$ac_ext <<_ACEOF
14724 /* end confdefs.h. */
14725 $ac_includes_default
14726
14727 #include <$ac_header>
14728 _ACEOF
14729 rm -f conftest.$ac_objext
14730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14731 (eval $ac_compile) 2>conftest.er1
14732 ac_status=$?
14733 grep -v '^ *+' conftest.er1 >conftest.err
14734 rm -f conftest.er1
14735 cat conftest.err >&5
14736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14737 (exit $ac_status); } &&
14738 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14740 (eval $ac_try) 2>&5
14741 ac_status=$?
14742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14743 (exit $ac_status); }; } &&
14744 { ac_try='test -s conftest.$ac_objext'
14745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14746 (eval $ac_try) 2>&5
14747 ac_status=$?
14748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14749 (exit $ac_status); }; }; then
14750 eval "$as_ac_Header=yes"
14751 else
14752 echo "$as_me: failed program was:" >&5
14753 sed 's/^/| /' conftest.$ac_ext >&5
14754
14755 eval "$as_ac_Header=no"
14756 fi
14757 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14758 fi
14759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14760 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14761 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14762 cat >>confdefs.h <<_ACEOF
14763 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14764 _ACEOF
14765
14766 fi
14767
14768 done
14769
14770
14771
14772 for ac_header in stdlib.h
14773 do
14774 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14775 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14776 echo "$as_me:$LINENO: checking for $ac_header" >&5
14777 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14778 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14779 echo $ECHO_N "(cached) $ECHO_C" >&6
14780 fi
14781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14782 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14783 else
14784 # Is the header compilable?
14785 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14786 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14787 cat >conftest.$ac_ext <<_ACEOF
14788 /* confdefs.h. */
14789 _ACEOF
14790 cat confdefs.h >>conftest.$ac_ext
14791 cat >>conftest.$ac_ext <<_ACEOF
14792 /* end confdefs.h. */
14793 $ac_includes_default
14794 #include <$ac_header>
14795 _ACEOF
14796 rm -f conftest.$ac_objext
14797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14798 (eval $ac_compile) 2>conftest.er1
14799 ac_status=$?
14800 grep -v '^ *+' conftest.er1 >conftest.err
14801 rm -f conftest.er1
14802 cat conftest.err >&5
14803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14804 (exit $ac_status); } &&
14805 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14807 (eval $ac_try) 2>&5
14808 ac_status=$?
14809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14810 (exit $ac_status); }; } &&
14811 { ac_try='test -s conftest.$ac_objext'
14812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14813 (eval $ac_try) 2>&5
14814 ac_status=$?
14815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14816 (exit $ac_status); }; }; then
14817 ac_header_compiler=yes
14818 else
14819 echo "$as_me: failed program was:" >&5
14820 sed 's/^/| /' conftest.$ac_ext >&5
14821
14822 ac_header_compiler=no
14823 fi
14824 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14825 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14826 echo "${ECHO_T}$ac_header_compiler" >&6
14827
14828 # Is the header present?
14829 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14830 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14831 cat >conftest.$ac_ext <<_ACEOF
14832 /* confdefs.h. */
14833 _ACEOF
14834 cat confdefs.h >>conftest.$ac_ext
14835 cat >>conftest.$ac_ext <<_ACEOF
14836 /* end confdefs.h. */
14837 #include <$ac_header>
14838 _ACEOF
14839 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14840 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14841 ac_status=$?
14842 grep -v '^ *+' conftest.er1 >conftest.err
14843 rm -f conftest.er1
14844 cat conftest.err >&5
14845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14846 (exit $ac_status); } >/dev/null; then
14847 if test -s conftest.err; then
14848 ac_cpp_err=$ac_c_preproc_warn_flag
14849 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14850 else
14851 ac_cpp_err=
14852 fi
14853 else
14854 ac_cpp_err=yes
14855 fi
14856 if test -z "$ac_cpp_err"; then
14857 ac_header_preproc=yes
14858 else
14859 echo "$as_me: failed program was:" >&5
14860 sed 's/^/| /' conftest.$ac_ext >&5
14861
14862 ac_header_preproc=no
14863 fi
14864 rm -f conftest.err conftest.$ac_ext
14865 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14866 echo "${ECHO_T}$ac_header_preproc" >&6
14867
14868 # So? What about this header?
14869 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14870 yes:no: )
14871 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14872 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14873 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14874 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14875 ac_header_preproc=yes
14876 ;;
14877 no:yes:* )
14878 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14879 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14880 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14881 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14882 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14883 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14884 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14885 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14886 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14887 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14888 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14889 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14890 (
14891 cat <<\_ASBOX
14892 ## ----------------------------------------- ##
14893 ## Report this to wx-dev@lists.wxwidgets.org ##
14894 ## ----------------------------------------- ##
14895 _ASBOX
14896 ) |
14897 sed "s/^/$as_me: WARNING: /" >&2
14898 ;;
14899 esac
14900 echo "$as_me:$LINENO: checking for $ac_header" >&5
14901 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14902 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14903 echo $ECHO_N "(cached) $ECHO_C" >&6
14904 else
14905 eval "$as_ac_Header=\$ac_header_preproc"
14906 fi
14907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14908 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14909
14910 fi
14911 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14912 cat >>confdefs.h <<_ACEOF
14913 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14914 _ACEOF
14915
14916 fi
14917
14918 done
14919
14920
14921 for ac_header in malloc.h
14922 do
14923 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14924 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14925 echo "$as_me:$LINENO: checking for $ac_header" >&5
14926 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14927 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14928 echo $ECHO_N "(cached) $ECHO_C" >&6
14929 fi
14930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14931 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14932 else
14933 # Is the header compilable?
14934 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14935 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14936 cat >conftest.$ac_ext <<_ACEOF
14937 /* confdefs.h. */
14938 _ACEOF
14939 cat confdefs.h >>conftest.$ac_ext
14940 cat >>conftest.$ac_ext <<_ACEOF
14941 /* end confdefs.h. */
14942 $ac_includes_default
14943 #include <$ac_header>
14944 _ACEOF
14945 rm -f conftest.$ac_objext
14946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14947 (eval $ac_compile) 2>conftest.er1
14948 ac_status=$?
14949 grep -v '^ *+' conftest.er1 >conftest.err
14950 rm -f conftest.er1
14951 cat conftest.err >&5
14952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14953 (exit $ac_status); } &&
14954 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14956 (eval $ac_try) 2>&5
14957 ac_status=$?
14958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14959 (exit $ac_status); }; } &&
14960 { ac_try='test -s conftest.$ac_objext'
14961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14962 (eval $ac_try) 2>&5
14963 ac_status=$?
14964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14965 (exit $ac_status); }; }; then
14966 ac_header_compiler=yes
14967 else
14968 echo "$as_me: failed program was:" >&5
14969 sed 's/^/| /' conftest.$ac_ext >&5
14970
14971 ac_header_compiler=no
14972 fi
14973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14974 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14975 echo "${ECHO_T}$ac_header_compiler" >&6
14976
14977 # Is the header present?
14978 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14979 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14980 cat >conftest.$ac_ext <<_ACEOF
14981 /* confdefs.h. */
14982 _ACEOF
14983 cat confdefs.h >>conftest.$ac_ext
14984 cat >>conftest.$ac_ext <<_ACEOF
14985 /* end confdefs.h. */
14986 #include <$ac_header>
14987 _ACEOF
14988 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14989 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14990 ac_status=$?
14991 grep -v '^ *+' conftest.er1 >conftest.err
14992 rm -f conftest.er1
14993 cat conftest.err >&5
14994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14995 (exit $ac_status); } >/dev/null; then
14996 if test -s conftest.err; then
14997 ac_cpp_err=$ac_c_preproc_warn_flag
14998 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14999 else
15000 ac_cpp_err=
15001 fi
15002 else
15003 ac_cpp_err=yes
15004 fi
15005 if test -z "$ac_cpp_err"; then
15006 ac_header_preproc=yes
15007 else
15008 echo "$as_me: failed program was:" >&5
15009 sed 's/^/| /' conftest.$ac_ext >&5
15010
15011 ac_header_preproc=no
15012 fi
15013 rm -f conftest.err conftest.$ac_ext
15014 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15015 echo "${ECHO_T}$ac_header_preproc" >&6
15016
15017 # So? What about this header?
15018 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15019 yes:no: )
15020 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15021 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15022 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15023 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15024 ac_header_preproc=yes
15025 ;;
15026 no:yes:* )
15027 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15028 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15029 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15030 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15031 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15032 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15033 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15034 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15035 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15036 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15037 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15038 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15039 (
15040 cat <<\_ASBOX
15041 ## ----------------------------------------- ##
15042 ## Report this to wx-dev@lists.wxwidgets.org ##
15043 ## ----------------------------------------- ##
15044 _ASBOX
15045 ) |
15046 sed "s/^/$as_me: WARNING: /" >&2
15047 ;;
15048 esac
15049 echo "$as_me:$LINENO: checking for $ac_header" >&5
15050 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15051 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15052 echo $ECHO_N "(cached) $ECHO_C" >&6
15053 else
15054 eval "$as_ac_Header=\$ac_header_preproc"
15055 fi
15056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15057 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15058
15059 fi
15060 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15061 cat >>confdefs.h <<_ACEOF
15062 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15063 _ACEOF
15064
15065 fi
15066
15067 done
15068
15069
15070 for ac_header in unistd.h
15071 do
15072 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15073 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15074 echo "$as_me:$LINENO: checking for $ac_header" >&5
15075 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15076 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15077 echo $ECHO_N "(cached) $ECHO_C" >&6
15078 fi
15079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15080 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15081 else
15082 # Is the header compilable?
15083 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15084 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15085 cat >conftest.$ac_ext <<_ACEOF
15086 /* confdefs.h. */
15087 _ACEOF
15088 cat confdefs.h >>conftest.$ac_ext
15089 cat >>conftest.$ac_ext <<_ACEOF
15090 /* end confdefs.h. */
15091 $ac_includes_default
15092 #include <$ac_header>
15093 _ACEOF
15094 rm -f conftest.$ac_objext
15095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15096 (eval $ac_compile) 2>conftest.er1
15097 ac_status=$?
15098 grep -v '^ *+' conftest.er1 >conftest.err
15099 rm -f conftest.er1
15100 cat conftest.err >&5
15101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15102 (exit $ac_status); } &&
15103 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15105 (eval $ac_try) 2>&5
15106 ac_status=$?
15107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15108 (exit $ac_status); }; } &&
15109 { ac_try='test -s conftest.$ac_objext'
15110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15111 (eval $ac_try) 2>&5
15112 ac_status=$?
15113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15114 (exit $ac_status); }; }; then
15115 ac_header_compiler=yes
15116 else
15117 echo "$as_me: failed program was:" >&5
15118 sed 's/^/| /' conftest.$ac_ext >&5
15119
15120 ac_header_compiler=no
15121 fi
15122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15123 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15124 echo "${ECHO_T}$ac_header_compiler" >&6
15125
15126 # Is the header present?
15127 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15128 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15129 cat >conftest.$ac_ext <<_ACEOF
15130 /* confdefs.h. */
15131 _ACEOF
15132 cat confdefs.h >>conftest.$ac_ext
15133 cat >>conftest.$ac_ext <<_ACEOF
15134 /* end confdefs.h. */
15135 #include <$ac_header>
15136 _ACEOF
15137 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15138 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15139 ac_status=$?
15140 grep -v '^ *+' conftest.er1 >conftest.err
15141 rm -f conftest.er1
15142 cat conftest.err >&5
15143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15144 (exit $ac_status); } >/dev/null; then
15145 if test -s conftest.err; then
15146 ac_cpp_err=$ac_c_preproc_warn_flag
15147 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15148 else
15149 ac_cpp_err=
15150 fi
15151 else
15152 ac_cpp_err=yes
15153 fi
15154 if test -z "$ac_cpp_err"; then
15155 ac_header_preproc=yes
15156 else
15157 echo "$as_me: failed program was:" >&5
15158 sed 's/^/| /' conftest.$ac_ext >&5
15159
15160 ac_header_preproc=no
15161 fi
15162 rm -f conftest.err conftest.$ac_ext
15163 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15164 echo "${ECHO_T}$ac_header_preproc" >&6
15165
15166 # So? What about this header?
15167 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15168 yes:no: )
15169 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15170 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15171 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15172 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15173 ac_header_preproc=yes
15174 ;;
15175 no:yes:* )
15176 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15177 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15178 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15179 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15180 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15181 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15182 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15183 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15184 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15185 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15186 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15187 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15188 (
15189 cat <<\_ASBOX
15190 ## ----------------------------------------- ##
15191 ## Report this to wx-dev@lists.wxwidgets.org ##
15192 ## ----------------------------------------- ##
15193 _ASBOX
15194 ) |
15195 sed "s/^/$as_me: WARNING: /" >&2
15196 ;;
15197 esac
15198 echo "$as_me:$LINENO: checking for $ac_header" >&5
15199 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15200 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15201 echo $ECHO_N "(cached) $ECHO_C" >&6
15202 else
15203 eval "$as_ac_Header=\$ac_header_preproc"
15204 fi
15205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15206 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15207
15208 fi
15209 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15210 cat >>confdefs.h <<_ACEOF
15211 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15212 _ACEOF
15213
15214 fi
15215
15216 done
15217
15218
15219 for ac_header in wchar.h
15220 do
15221 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15222 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15223 echo "$as_me:$LINENO: checking for $ac_header" >&5
15224 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15225 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15226 echo $ECHO_N "(cached) $ECHO_C" >&6
15227 fi
15228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15229 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15230 else
15231 # Is the header compilable?
15232 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15233 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15234 cat >conftest.$ac_ext <<_ACEOF
15235 /* confdefs.h. */
15236 _ACEOF
15237 cat confdefs.h >>conftest.$ac_ext
15238 cat >>conftest.$ac_ext <<_ACEOF
15239 /* end confdefs.h. */
15240 $ac_includes_default
15241 #include <$ac_header>
15242 _ACEOF
15243 rm -f conftest.$ac_objext
15244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15245 (eval $ac_compile) 2>conftest.er1
15246 ac_status=$?
15247 grep -v '^ *+' conftest.er1 >conftest.err
15248 rm -f conftest.er1
15249 cat conftest.err >&5
15250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15251 (exit $ac_status); } &&
15252 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15254 (eval $ac_try) 2>&5
15255 ac_status=$?
15256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15257 (exit $ac_status); }; } &&
15258 { ac_try='test -s conftest.$ac_objext'
15259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15260 (eval $ac_try) 2>&5
15261 ac_status=$?
15262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15263 (exit $ac_status); }; }; then
15264 ac_header_compiler=yes
15265 else
15266 echo "$as_me: failed program was:" >&5
15267 sed 's/^/| /' conftest.$ac_ext >&5
15268
15269 ac_header_compiler=no
15270 fi
15271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15272 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15273 echo "${ECHO_T}$ac_header_compiler" >&6
15274
15275 # Is the header present?
15276 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15277 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15278 cat >conftest.$ac_ext <<_ACEOF
15279 /* confdefs.h. */
15280 _ACEOF
15281 cat confdefs.h >>conftest.$ac_ext
15282 cat >>conftest.$ac_ext <<_ACEOF
15283 /* end confdefs.h. */
15284 #include <$ac_header>
15285 _ACEOF
15286 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15287 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15288 ac_status=$?
15289 grep -v '^ *+' conftest.er1 >conftest.err
15290 rm -f conftest.er1
15291 cat conftest.err >&5
15292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15293 (exit $ac_status); } >/dev/null; then
15294 if test -s conftest.err; then
15295 ac_cpp_err=$ac_c_preproc_warn_flag
15296 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15297 else
15298 ac_cpp_err=
15299 fi
15300 else
15301 ac_cpp_err=yes
15302 fi
15303 if test -z "$ac_cpp_err"; then
15304 ac_header_preproc=yes
15305 else
15306 echo "$as_me: failed program was:" >&5
15307 sed 's/^/| /' conftest.$ac_ext >&5
15308
15309 ac_header_preproc=no
15310 fi
15311 rm -f conftest.err conftest.$ac_ext
15312 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15313 echo "${ECHO_T}$ac_header_preproc" >&6
15314
15315 # So? What about this header?
15316 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15317 yes:no: )
15318 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15319 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15320 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15321 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15322 ac_header_preproc=yes
15323 ;;
15324 no:yes:* )
15325 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15326 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15327 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15328 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15329 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15330 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15331 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15332 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15333 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15334 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15335 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15336 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15337 (
15338 cat <<\_ASBOX
15339 ## ----------------------------------------- ##
15340 ## Report this to wx-dev@lists.wxwidgets.org ##
15341 ## ----------------------------------------- ##
15342 _ASBOX
15343 ) |
15344 sed "s/^/$as_me: WARNING: /" >&2
15345 ;;
15346 esac
15347 echo "$as_me:$LINENO: checking for $ac_header" >&5
15348 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15349 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15350 echo $ECHO_N "(cached) $ECHO_C" >&6
15351 else
15352 eval "$as_ac_Header=\$ac_header_preproc"
15353 fi
15354 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15355 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15356
15357 fi
15358 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15359 cat >>confdefs.h <<_ACEOF
15360 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15361 _ACEOF
15362
15363 fi
15364
15365 done
15366
15367
15368 if test "$ac_cv_header_wchar_h" != "yes"; then
15369
15370 for ac_header in wcstr.h
15371 do
15372 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15373 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15374 echo "$as_me:$LINENO: checking for $ac_header" >&5
15375 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15376 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15377 echo $ECHO_N "(cached) $ECHO_C" >&6
15378 fi
15379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15380 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15381 else
15382 # Is the header compilable?
15383 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15384 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15385 cat >conftest.$ac_ext <<_ACEOF
15386 /* confdefs.h. */
15387 _ACEOF
15388 cat confdefs.h >>conftest.$ac_ext
15389 cat >>conftest.$ac_ext <<_ACEOF
15390 /* end confdefs.h. */
15391 $ac_includes_default
15392 #include <$ac_header>
15393 _ACEOF
15394 rm -f conftest.$ac_objext
15395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15396 (eval $ac_compile) 2>conftest.er1
15397 ac_status=$?
15398 grep -v '^ *+' conftest.er1 >conftest.err
15399 rm -f conftest.er1
15400 cat conftest.err >&5
15401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15402 (exit $ac_status); } &&
15403 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15405 (eval $ac_try) 2>&5
15406 ac_status=$?
15407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15408 (exit $ac_status); }; } &&
15409 { ac_try='test -s conftest.$ac_objext'
15410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15411 (eval $ac_try) 2>&5
15412 ac_status=$?
15413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15414 (exit $ac_status); }; }; then
15415 ac_header_compiler=yes
15416 else
15417 echo "$as_me: failed program was:" >&5
15418 sed 's/^/| /' conftest.$ac_ext >&5
15419
15420 ac_header_compiler=no
15421 fi
15422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15423 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15424 echo "${ECHO_T}$ac_header_compiler" >&6
15425
15426 # Is the header present?
15427 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15428 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15429 cat >conftest.$ac_ext <<_ACEOF
15430 /* confdefs.h. */
15431 _ACEOF
15432 cat confdefs.h >>conftest.$ac_ext
15433 cat >>conftest.$ac_ext <<_ACEOF
15434 /* end confdefs.h. */
15435 #include <$ac_header>
15436 _ACEOF
15437 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15438 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15439 ac_status=$?
15440 grep -v '^ *+' conftest.er1 >conftest.err
15441 rm -f conftest.er1
15442 cat conftest.err >&5
15443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15444 (exit $ac_status); } >/dev/null; then
15445 if test -s conftest.err; then
15446 ac_cpp_err=$ac_c_preproc_warn_flag
15447 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15448 else
15449 ac_cpp_err=
15450 fi
15451 else
15452 ac_cpp_err=yes
15453 fi
15454 if test -z "$ac_cpp_err"; then
15455 ac_header_preproc=yes
15456 else
15457 echo "$as_me: failed program was:" >&5
15458 sed 's/^/| /' conftest.$ac_ext >&5
15459
15460 ac_header_preproc=no
15461 fi
15462 rm -f conftest.err conftest.$ac_ext
15463 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15464 echo "${ECHO_T}$ac_header_preproc" >&6
15465
15466 # So? What about this header?
15467 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15468 yes:no: )
15469 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15470 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15471 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15472 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15473 ac_header_preproc=yes
15474 ;;
15475 no:yes:* )
15476 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15477 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15478 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15479 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15480 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15481 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15482 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15483 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15484 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15485 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15486 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15487 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15488 (
15489 cat <<\_ASBOX
15490 ## ----------------------------------------- ##
15491 ## Report this to wx-dev@lists.wxwidgets.org ##
15492 ## ----------------------------------------- ##
15493 _ASBOX
15494 ) |
15495 sed "s/^/$as_me: WARNING: /" >&2
15496 ;;
15497 esac
15498 echo "$as_me:$LINENO: checking for $ac_header" >&5
15499 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15500 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15501 echo $ECHO_N "(cached) $ECHO_C" >&6
15502 else
15503 eval "$as_ac_Header=\$ac_header_preproc"
15504 fi
15505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15506 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15507
15508 fi
15509 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15510 cat >>confdefs.h <<_ACEOF
15511 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15512 _ACEOF
15513
15514 fi
15515
15516 done
15517
15518 fi
15519
15520
15521 for ac_header in fnmatch.h
15522 do
15523 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15524 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15525 echo "$as_me:$LINENO: checking for $ac_header" >&5
15526 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15527 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15528 echo $ECHO_N "(cached) $ECHO_C" >&6
15529 fi
15530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15531 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15532 else
15533 # Is the header compilable?
15534 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15535 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15536 cat >conftest.$ac_ext <<_ACEOF
15537 /* confdefs.h. */
15538 _ACEOF
15539 cat confdefs.h >>conftest.$ac_ext
15540 cat >>conftest.$ac_ext <<_ACEOF
15541 /* end confdefs.h. */
15542 $ac_includes_default
15543 #include <$ac_header>
15544 _ACEOF
15545 rm -f conftest.$ac_objext
15546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15547 (eval $ac_compile) 2>conftest.er1
15548 ac_status=$?
15549 grep -v '^ *+' conftest.er1 >conftest.err
15550 rm -f conftest.er1
15551 cat conftest.err >&5
15552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15553 (exit $ac_status); } &&
15554 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15556 (eval $ac_try) 2>&5
15557 ac_status=$?
15558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15559 (exit $ac_status); }; } &&
15560 { ac_try='test -s conftest.$ac_objext'
15561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15562 (eval $ac_try) 2>&5
15563 ac_status=$?
15564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15565 (exit $ac_status); }; }; then
15566 ac_header_compiler=yes
15567 else
15568 echo "$as_me: failed program was:" >&5
15569 sed 's/^/| /' conftest.$ac_ext >&5
15570
15571 ac_header_compiler=no
15572 fi
15573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15574 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15575 echo "${ECHO_T}$ac_header_compiler" >&6
15576
15577 # Is the header present?
15578 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15579 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15580 cat >conftest.$ac_ext <<_ACEOF
15581 /* confdefs.h. */
15582 _ACEOF
15583 cat confdefs.h >>conftest.$ac_ext
15584 cat >>conftest.$ac_ext <<_ACEOF
15585 /* end confdefs.h. */
15586 #include <$ac_header>
15587 _ACEOF
15588 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15589 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15590 ac_status=$?
15591 grep -v '^ *+' conftest.er1 >conftest.err
15592 rm -f conftest.er1
15593 cat conftest.err >&5
15594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15595 (exit $ac_status); } >/dev/null; then
15596 if test -s conftest.err; then
15597 ac_cpp_err=$ac_c_preproc_warn_flag
15598 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15599 else
15600 ac_cpp_err=
15601 fi
15602 else
15603 ac_cpp_err=yes
15604 fi
15605 if test -z "$ac_cpp_err"; then
15606 ac_header_preproc=yes
15607 else
15608 echo "$as_me: failed program was:" >&5
15609 sed 's/^/| /' conftest.$ac_ext >&5
15610
15611 ac_header_preproc=no
15612 fi
15613 rm -f conftest.err conftest.$ac_ext
15614 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15615 echo "${ECHO_T}$ac_header_preproc" >&6
15616
15617 # So? What about this header?
15618 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15619 yes:no: )
15620 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15621 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15622 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15623 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15624 ac_header_preproc=yes
15625 ;;
15626 no:yes:* )
15627 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15628 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15629 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15630 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15631 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15632 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15633 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15634 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15635 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15636 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15637 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15638 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15639 (
15640 cat <<\_ASBOX
15641 ## ----------------------------------------- ##
15642 ## Report this to wx-dev@lists.wxwidgets.org ##
15643 ## ----------------------------------------- ##
15644 _ASBOX
15645 ) |
15646 sed "s/^/$as_me: WARNING: /" >&2
15647 ;;
15648 esac
15649 echo "$as_me:$LINENO: checking for $ac_header" >&5
15650 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15651 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15652 echo $ECHO_N "(cached) $ECHO_C" >&6
15653 else
15654 eval "$as_ac_Header=\$ac_header_preproc"
15655 fi
15656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15657 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15658
15659 fi
15660 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15661 cat >>confdefs.h <<_ACEOF
15662 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15663 _ACEOF
15664
15665 fi
15666
15667 done
15668
15669
15670
15671 for ac_header in langinfo.h
15672 do
15673 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15674 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15675 echo "$as_me:$LINENO: checking for $ac_header" >&5
15676 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15677 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15678 echo $ECHO_N "(cached) $ECHO_C" >&6
15679 fi
15680 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15681 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15682 else
15683 # Is the header compilable?
15684 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15685 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15686 cat >conftest.$ac_ext <<_ACEOF
15687 /* confdefs.h. */
15688 _ACEOF
15689 cat confdefs.h >>conftest.$ac_ext
15690 cat >>conftest.$ac_ext <<_ACEOF
15691 /* end confdefs.h. */
15692 $ac_includes_default
15693 #include <$ac_header>
15694 _ACEOF
15695 rm -f conftest.$ac_objext
15696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15697 (eval $ac_compile) 2>conftest.er1
15698 ac_status=$?
15699 grep -v '^ *+' conftest.er1 >conftest.err
15700 rm -f conftest.er1
15701 cat conftest.err >&5
15702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15703 (exit $ac_status); } &&
15704 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15706 (eval $ac_try) 2>&5
15707 ac_status=$?
15708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15709 (exit $ac_status); }; } &&
15710 { ac_try='test -s conftest.$ac_objext'
15711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15712 (eval $ac_try) 2>&5
15713 ac_status=$?
15714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15715 (exit $ac_status); }; }; then
15716 ac_header_compiler=yes
15717 else
15718 echo "$as_me: failed program was:" >&5
15719 sed 's/^/| /' conftest.$ac_ext >&5
15720
15721 ac_header_compiler=no
15722 fi
15723 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15724 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15725 echo "${ECHO_T}$ac_header_compiler" >&6
15726
15727 # Is the header present?
15728 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15729 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15730 cat >conftest.$ac_ext <<_ACEOF
15731 /* confdefs.h. */
15732 _ACEOF
15733 cat confdefs.h >>conftest.$ac_ext
15734 cat >>conftest.$ac_ext <<_ACEOF
15735 /* end confdefs.h. */
15736 #include <$ac_header>
15737 _ACEOF
15738 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15739 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15740 ac_status=$?
15741 grep -v '^ *+' conftest.er1 >conftest.err
15742 rm -f conftest.er1
15743 cat conftest.err >&5
15744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15745 (exit $ac_status); } >/dev/null; then
15746 if test -s conftest.err; then
15747 ac_cpp_err=$ac_c_preproc_warn_flag
15748 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15749 else
15750 ac_cpp_err=
15751 fi
15752 else
15753 ac_cpp_err=yes
15754 fi
15755 if test -z "$ac_cpp_err"; then
15756 ac_header_preproc=yes
15757 else
15758 echo "$as_me: failed program was:" >&5
15759 sed 's/^/| /' conftest.$ac_ext >&5
15760
15761 ac_header_preproc=no
15762 fi
15763 rm -f conftest.err conftest.$ac_ext
15764 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15765 echo "${ECHO_T}$ac_header_preproc" >&6
15766
15767 # So? What about this header?
15768 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15769 yes:no: )
15770 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15771 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15772 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15773 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15774 ac_header_preproc=yes
15775 ;;
15776 no:yes:* )
15777 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15778 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15779 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15780 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15781 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15782 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15783 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15784 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15785 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15786 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15787 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15788 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15789 (
15790 cat <<\_ASBOX
15791 ## ----------------------------------------- ##
15792 ## Report this to wx-dev@lists.wxwidgets.org ##
15793 ## ----------------------------------------- ##
15794 _ASBOX
15795 ) |
15796 sed "s/^/$as_me: WARNING: /" >&2
15797 ;;
15798 esac
15799 echo "$as_me:$LINENO: checking for $ac_header" >&5
15800 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15801 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15802 echo $ECHO_N "(cached) $ECHO_C" >&6
15803 else
15804 eval "$as_ac_Header=\$ac_header_preproc"
15805 fi
15806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15807 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15808
15809 fi
15810 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15811 cat >>confdefs.h <<_ACEOF
15812 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15813 _ACEOF
15814
15815 fi
15816
15817 done
15818
15819
15820 case "${host}" in
15821 *-pc-os2_emx | *-pc-os2-emx )
15822 if test $ac_cv_header_langinfo_h = "yes" \
15823 -a \( "$wx_cv_gccversion" = "EMX2" \
15824 -o "$wx_cv_gccversion" = "EMX3" \
15825 -o "$wx_cv_gccversion" = "Innotek5" \); then
15826 LIBS="$LIBS -lintl"
15827 fi
15828 ;;
15829 esac
15830
15831
15832 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
15833 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
15834 if test "${ac_cv_c_const+set}" = set; then
15835 echo $ECHO_N "(cached) $ECHO_C" >&6
15836 else
15837 cat >conftest.$ac_ext <<_ACEOF
15838 /* confdefs.h. */
15839 _ACEOF
15840 cat confdefs.h >>conftest.$ac_ext
15841 cat >>conftest.$ac_ext <<_ACEOF
15842 /* end confdefs.h. */
15843
15844 int
15845 main ()
15846 {
15847 /* FIXME: Include the comments suggested by Paul. */
15848 #ifndef __cplusplus
15849 /* Ultrix mips cc rejects this. */
15850 typedef int charset[2];
15851 const charset x;
15852 /* SunOS 4.1.1 cc rejects this. */
15853 char const *const *ccp;
15854 char **p;
15855 /* NEC SVR4.0.2 mips cc rejects this. */
15856 struct point {int x, y;};
15857 static struct point const zero = {0,0};
15858 /* AIX XL C 1.02.0.0 rejects this.
15859 It does not let you subtract one const X* pointer from another in
15860 an arm of an if-expression whose if-part is not a constant
15861 expression */
15862 const char *g = "string";
15863 ccp = &g + (g ? g-g : 0);
15864 /* HPUX 7.0 cc rejects these. */
15865 ++ccp;
15866 p = (char**) ccp;
15867 ccp = (char const *const *) p;
15868 { /* SCO 3.2v4 cc rejects this. */
15869 char *t;
15870 char const *s = 0 ? (char *) 0 : (char const *) 0;
15871
15872 *t++ = 0;
15873 }
15874 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15875 int x[] = {25, 17};
15876 const int *foo = &x[0];
15877 ++foo;
15878 }
15879 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15880 typedef const int *iptr;
15881 iptr p = 0;
15882 ++p;
15883 }
15884 { /* AIX XL C 1.02.0.0 rejects this saying
15885 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15886 struct s { int j; const int *ap[3]; };
15887 struct s *b; b->j = 5;
15888 }
15889 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15890 const int foo = 10;
15891 }
15892 #endif
15893
15894 ;
15895 return 0;
15896 }
15897 _ACEOF
15898 rm -f conftest.$ac_objext
15899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15900 (eval $ac_compile) 2>conftest.er1
15901 ac_status=$?
15902 grep -v '^ *+' conftest.er1 >conftest.err
15903 rm -f conftest.er1
15904 cat conftest.err >&5
15905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15906 (exit $ac_status); } &&
15907 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15909 (eval $ac_try) 2>&5
15910 ac_status=$?
15911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15912 (exit $ac_status); }; } &&
15913 { ac_try='test -s conftest.$ac_objext'
15914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15915 (eval $ac_try) 2>&5
15916 ac_status=$?
15917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15918 (exit $ac_status); }; }; then
15919 ac_cv_c_const=yes
15920 else
15921 echo "$as_me: failed program was:" >&5
15922 sed 's/^/| /' conftest.$ac_ext >&5
15923
15924 ac_cv_c_const=no
15925 fi
15926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15927 fi
15928 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
15929 echo "${ECHO_T}$ac_cv_c_const" >&6
15930 if test $ac_cv_c_const = no; then
15931
15932 cat >>confdefs.h <<\_ACEOF
15933 #define const
15934 _ACEOF
15935
15936 fi
15937
15938 echo "$as_me:$LINENO: checking for inline" >&5
15939 echo $ECHO_N "checking for inline... $ECHO_C" >&6
15940 if test "${ac_cv_c_inline+set}" = set; then
15941 echo $ECHO_N "(cached) $ECHO_C" >&6
15942 else
15943 ac_cv_c_inline=no
15944 for ac_kw in inline __inline__ __inline; do
15945 cat >conftest.$ac_ext <<_ACEOF
15946 /* confdefs.h. */
15947 _ACEOF
15948 cat confdefs.h >>conftest.$ac_ext
15949 cat >>conftest.$ac_ext <<_ACEOF
15950 /* end confdefs.h. */
15951 #ifndef __cplusplus
15952 typedef int foo_t;
15953 static $ac_kw foo_t static_foo () {return 0; }
15954 $ac_kw foo_t foo () {return 0; }
15955 #endif
15956
15957 _ACEOF
15958 rm -f conftest.$ac_objext
15959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15960 (eval $ac_compile) 2>conftest.er1
15961 ac_status=$?
15962 grep -v '^ *+' conftest.er1 >conftest.err
15963 rm -f conftest.er1
15964 cat conftest.err >&5
15965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15966 (exit $ac_status); } &&
15967 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15969 (eval $ac_try) 2>&5
15970 ac_status=$?
15971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15972 (exit $ac_status); }; } &&
15973 { ac_try='test -s conftest.$ac_objext'
15974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15975 (eval $ac_try) 2>&5
15976 ac_status=$?
15977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15978 (exit $ac_status); }; }; then
15979 ac_cv_c_inline=$ac_kw; break
15980 else
15981 echo "$as_me: failed program was:" >&5
15982 sed 's/^/| /' conftest.$ac_ext >&5
15983
15984 fi
15985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15986 done
15987
15988 fi
15989 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
15990 echo "${ECHO_T}$ac_cv_c_inline" >&6
15991
15992
15993 case $ac_cv_c_inline in
15994 inline | yes) ;;
15995 *)
15996 case $ac_cv_c_inline in
15997 no) ac_val=;;
15998 *) ac_val=$ac_cv_c_inline;;
15999 esac
16000 cat >>confdefs.h <<_ACEOF
16001 #ifndef __cplusplus
16002 #define inline $ac_val
16003 #endif
16004 _ACEOF
16005 ;;
16006 esac
16007
16008
16009 echo "$as_me:$LINENO: checking for char" >&5
16010 echo $ECHO_N "checking for char... $ECHO_C" >&6
16011 if test "${ac_cv_type_char+set}" = set; then
16012 echo $ECHO_N "(cached) $ECHO_C" >&6
16013 else
16014 cat >conftest.$ac_ext <<_ACEOF
16015 /* confdefs.h. */
16016 _ACEOF
16017 cat confdefs.h >>conftest.$ac_ext
16018 cat >>conftest.$ac_ext <<_ACEOF
16019 /* end confdefs.h. */
16020 $ac_includes_default
16021 int
16022 main ()
16023 {
16024 if ((char *) 0)
16025 return 0;
16026 if (sizeof (char))
16027 return 0;
16028 ;
16029 return 0;
16030 }
16031 _ACEOF
16032 rm -f conftest.$ac_objext
16033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16034 (eval $ac_compile) 2>conftest.er1
16035 ac_status=$?
16036 grep -v '^ *+' conftest.er1 >conftest.err
16037 rm -f conftest.er1
16038 cat conftest.err >&5
16039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16040 (exit $ac_status); } &&
16041 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16043 (eval $ac_try) 2>&5
16044 ac_status=$?
16045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16046 (exit $ac_status); }; } &&
16047 { ac_try='test -s conftest.$ac_objext'
16048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16049 (eval $ac_try) 2>&5
16050 ac_status=$?
16051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16052 (exit $ac_status); }; }; then
16053 ac_cv_type_char=yes
16054 else
16055 echo "$as_me: failed program was:" >&5
16056 sed 's/^/| /' conftest.$ac_ext >&5
16057
16058 ac_cv_type_char=no
16059 fi
16060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16061 fi
16062 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
16063 echo "${ECHO_T}$ac_cv_type_char" >&6
16064
16065 echo "$as_me:$LINENO: checking size of char" >&5
16066 echo $ECHO_N "checking size of char... $ECHO_C" >&6
16067 if test "${ac_cv_sizeof_char+set}" = set; then
16068 echo $ECHO_N "(cached) $ECHO_C" >&6
16069 else
16070 if test "$ac_cv_type_char" = yes; then
16071 # The cast to unsigned long works around a bug in the HP C Compiler
16072 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16073 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16074 # This bug is HP SR number 8606223364.
16075 if test "$cross_compiling" = yes; then
16076 # Depending upon the size, compute the lo and hi bounds.
16077 cat >conftest.$ac_ext <<_ACEOF
16078 /* confdefs.h. */
16079 _ACEOF
16080 cat confdefs.h >>conftest.$ac_ext
16081 cat >>conftest.$ac_ext <<_ACEOF
16082 /* end confdefs.h. */
16083 $ac_includes_default
16084 int
16085 main ()
16086 {
16087 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
16088 test_array [0] = 0
16089
16090 ;
16091 return 0;
16092 }
16093 _ACEOF
16094 rm -f conftest.$ac_objext
16095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16096 (eval $ac_compile) 2>conftest.er1
16097 ac_status=$?
16098 grep -v '^ *+' conftest.er1 >conftest.err
16099 rm -f conftest.er1
16100 cat conftest.err >&5
16101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16102 (exit $ac_status); } &&
16103 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16105 (eval $ac_try) 2>&5
16106 ac_status=$?
16107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16108 (exit $ac_status); }; } &&
16109 { ac_try='test -s conftest.$ac_objext'
16110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16111 (eval $ac_try) 2>&5
16112 ac_status=$?
16113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16114 (exit $ac_status); }; }; then
16115 ac_lo=0 ac_mid=0
16116 while :; do
16117 cat >conftest.$ac_ext <<_ACEOF
16118 /* confdefs.h. */
16119 _ACEOF
16120 cat confdefs.h >>conftest.$ac_ext
16121 cat >>conftest.$ac_ext <<_ACEOF
16122 /* end confdefs.h. */
16123 $ac_includes_default
16124 int
16125 main ()
16126 {
16127 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
16128 test_array [0] = 0
16129
16130 ;
16131 return 0;
16132 }
16133 _ACEOF
16134 rm -f conftest.$ac_objext
16135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16136 (eval $ac_compile) 2>conftest.er1
16137 ac_status=$?
16138 grep -v '^ *+' conftest.er1 >conftest.err
16139 rm -f conftest.er1
16140 cat conftest.err >&5
16141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16142 (exit $ac_status); } &&
16143 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16145 (eval $ac_try) 2>&5
16146 ac_status=$?
16147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16148 (exit $ac_status); }; } &&
16149 { ac_try='test -s conftest.$ac_objext'
16150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16151 (eval $ac_try) 2>&5
16152 ac_status=$?
16153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16154 (exit $ac_status); }; }; then
16155 ac_hi=$ac_mid; break
16156 else
16157 echo "$as_me: failed program was:" >&5
16158 sed 's/^/| /' conftest.$ac_ext >&5
16159
16160 ac_lo=`expr $ac_mid + 1`
16161 if test $ac_lo -le $ac_mid; then
16162 ac_lo= ac_hi=
16163 break
16164 fi
16165 ac_mid=`expr 2 '*' $ac_mid + 1`
16166 fi
16167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16168 done
16169 else
16170 echo "$as_me: failed program was:" >&5
16171 sed 's/^/| /' conftest.$ac_ext >&5
16172
16173 cat >conftest.$ac_ext <<_ACEOF
16174 /* confdefs.h. */
16175 _ACEOF
16176 cat confdefs.h >>conftest.$ac_ext
16177 cat >>conftest.$ac_ext <<_ACEOF
16178 /* end confdefs.h. */
16179 $ac_includes_default
16180 int
16181 main ()
16182 {
16183 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
16184 test_array [0] = 0
16185
16186 ;
16187 return 0;
16188 }
16189 _ACEOF
16190 rm -f conftest.$ac_objext
16191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16192 (eval $ac_compile) 2>conftest.er1
16193 ac_status=$?
16194 grep -v '^ *+' conftest.er1 >conftest.err
16195 rm -f conftest.er1
16196 cat conftest.err >&5
16197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16198 (exit $ac_status); } &&
16199 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16201 (eval $ac_try) 2>&5
16202 ac_status=$?
16203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16204 (exit $ac_status); }; } &&
16205 { ac_try='test -s conftest.$ac_objext'
16206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16207 (eval $ac_try) 2>&5
16208 ac_status=$?
16209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16210 (exit $ac_status); }; }; then
16211 ac_hi=-1 ac_mid=-1
16212 while :; do
16213 cat >conftest.$ac_ext <<_ACEOF
16214 /* confdefs.h. */
16215 _ACEOF
16216 cat confdefs.h >>conftest.$ac_ext
16217 cat >>conftest.$ac_ext <<_ACEOF
16218 /* end confdefs.h. */
16219 $ac_includes_default
16220 int
16221 main ()
16222 {
16223 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
16224 test_array [0] = 0
16225
16226 ;
16227 return 0;
16228 }
16229 _ACEOF
16230 rm -f conftest.$ac_objext
16231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16232 (eval $ac_compile) 2>conftest.er1
16233 ac_status=$?
16234 grep -v '^ *+' conftest.er1 >conftest.err
16235 rm -f conftest.er1
16236 cat conftest.err >&5
16237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16238 (exit $ac_status); } &&
16239 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16241 (eval $ac_try) 2>&5
16242 ac_status=$?
16243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16244 (exit $ac_status); }; } &&
16245 { ac_try='test -s conftest.$ac_objext'
16246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16247 (eval $ac_try) 2>&5
16248 ac_status=$?
16249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16250 (exit $ac_status); }; }; then
16251 ac_lo=$ac_mid; break
16252 else
16253 echo "$as_me: failed program was:" >&5
16254 sed 's/^/| /' conftest.$ac_ext >&5
16255
16256 ac_hi=`expr '(' $ac_mid ')' - 1`
16257 if test $ac_mid -le $ac_hi; then
16258 ac_lo= ac_hi=
16259 break
16260 fi
16261 ac_mid=`expr 2 '*' $ac_mid`
16262 fi
16263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16264 done
16265 else
16266 echo "$as_me: failed program was:" >&5
16267 sed 's/^/| /' conftest.$ac_ext >&5
16268
16269 ac_lo= ac_hi=
16270 fi
16271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16272 fi
16273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16274 # Binary search between lo and hi bounds.
16275 while test "x$ac_lo" != "x$ac_hi"; do
16276 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16277 cat >conftest.$ac_ext <<_ACEOF
16278 /* confdefs.h. */
16279 _ACEOF
16280 cat confdefs.h >>conftest.$ac_ext
16281 cat >>conftest.$ac_ext <<_ACEOF
16282 /* end confdefs.h. */
16283 $ac_includes_default
16284 int
16285 main ()
16286 {
16287 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
16288 test_array [0] = 0
16289
16290 ;
16291 return 0;
16292 }
16293 _ACEOF
16294 rm -f conftest.$ac_objext
16295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16296 (eval $ac_compile) 2>conftest.er1
16297 ac_status=$?
16298 grep -v '^ *+' conftest.er1 >conftest.err
16299 rm -f conftest.er1
16300 cat conftest.err >&5
16301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16302 (exit $ac_status); } &&
16303 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16305 (eval $ac_try) 2>&5
16306 ac_status=$?
16307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16308 (exit $ac_status); }; } &&
16309 { ac_try='test -s conftest.$ac_objext'
16310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16311 (eval $ac_try) 2>&5
16312 ac_status=$?
16313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16314 (exit $ac_status); }; }; then
16315 ac_hi=$ac_mid
16316 else
16317 echo "$as_me: failed program was:" >&5
16318 sed 's/^/| /' conftest.$ac_ext >&5
16319
16320 ac_lo=`expr '(' $ac_mid ')' + 1`
16321 fi
16322 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16323 done
16324 case $ac_lo in
16325 ?*) ac_cv_sizeof_char=$ac_lo;;
16326 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
16327 See \`config.log' for more details." >&5
16328 echo "$as_me: error: cannot compute sizeof (char), 77
16329 See \`config.log' for more details." >&2;}
16330 { (exit 1); exit 1; }; } ;;
16331 esac
16332 else
16333 if test "$cross_compiling" = yes; then
16334 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16335 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16336 { (exit 1); exit 1; }; }
16337 else
16338 cat >conftest.$ac_ext <<_ACEOF
16339 /* confdefs.h. */
16340 _ACEOF
16341 cat confdefs.h >>conftest.$ac_ext
16342 cat >>conftest.$ac_ext <<_ACEOF
16343 /* end confdefs.h. */
16344 $ac_includes_default
16345 long longval () { return (long) (sizeof (char)); }
16346 unsigned long ulongval () { return (long) (sizeof (char)); }
16347 #include <stdio.h>
16348 #include <stdlib.h>
16349 int
16350 main ()
16351 {
16352
16353 FILE *f = fopen ("conftest.val", "w");
16354 if (! f)
16355 exit (1);
16356 if (((long) (sizeof (char))) < 0)
16357 {
16358 long i = longval ();
16359 if (i != ((long) (sizeof (char))))
16360 exit (1);
16361 fprintf (f, "%ld\n", i);
16362 }
16363 else
16364 {
16365 unsigned long i = ulongval ();
16366 if (i != ((long) (sizeof (char))))
16367 exit (1);
16368 fprintf (f, "%lu\n", i);
16369 }
16370 exit (ferror (f) || fclose (f) != 0);
16371
16372 ;
16373 return 0;
16374 }
16375 _ACEOF
16376 rm -f conftest$ac_exeext
16377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16378 (eval $ac_link) 2>&5
16379 ac_status=$?
16380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16381 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16383 (eval $ac_try) 2>&5
16384 ac_status=$?
16385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16386 (exit $ac_status); }; }; then
16387 ac_cv_sizeof_char=`cat conftest.val`
16388 else
16389 echo "$as_me: program exited with status $ac_status" >&5
16390 echo "$as_me: failed program was:" >&5
16391 sed 's/^/| /' conftest.$ac_ext >&5
16392
16393 ( exit $ac_status )
16394 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
16395 See \`config.log' for more details." >&5
16396 echo "$as_me: error: cannot compute sizeof (char), 77
16397 See \`config.log' for more details." >&2;}
16398 { (exit 1); exit 1; }; }
16399 fi
16400 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16401 fi
16402 fi
16403 rm -f conftest.val
16404 else
16405 ac_cv_sizeof_char=0
16406 fi
16407 fi
16408 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
16409 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
16410 cat >>confdefs.h <<_ACEOF
16411 #define SIZEOF_CHAR $ac_cv_sizeof_char
16412 _ACEOF
16413
16414
16415 echo "$as_me:$LINENO: checking for short" >&5
16416 echo $ECHO_N "checking for short... $ECHO_C" >&6
16417 if test "${ac_cv_type_short+set}" = set; then
16418 echo $ECHO_N "(cached) $ECHO_C" >&6
16419 else
16420 cat >conftest.$ac_ext <<_ACEOF
16421 /* confdefs.h. */
16422 _ACEOF
16423 cat confdefs.h >>conftest.$ac_ext
16424 cat >>conftest.$ac_ext <<_ACEOF
16425 /* end confdefs.h. */
16426 $ac_includes_default
16427 int
16428 main ()
16429 {
16430 if ((short *) 0)
16431 return 0;
16432 if (sizeof (short))
16433 return 0;
16434 ;
16435 return 0;
16436 }
16437 _ACEOF
16438 rm -f conftest.$ac_objext
16439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16440 (eval $ac_compile) 2>conftest.er1
16441 ac_status=$?
16442 grep -v '^ *+' conftest.er1 >conftest.err
16443 rm -f conftest.er1
16444 cat conftest.err >&5
16445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16446 (exit $ac_status); } &&
16447 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16449 (eval $ac_try) 2>&5
16450 ac_status=$?
16451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16452 (exit $ac_status); }; } &&
16453 { ac_try='test -s conftest.$ac_objext'
16454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16455 (eval $ac_try) 2>&5
16456 ac_status=$?
16457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16458 (exit $ac_status); }; }; then
16459 ac_cv_type_short=yes
16460 else
16461 echo "$as_me: failed program was:" >&5
16462 sed 's/^/| /' conftest.$ac_ext >&5
16463
16464 ac_cv_type_short=no
16465 fi
16466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16467 fi
16468 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
16469 echo "${ECHO_T}$ac_cv_type_short" >&6
16470
16471 echo "$as_me:$LINENO: checking size of short" >&5
16472 echo $ECHO_N "checking size of short... $ECHO_C" >&6
16473 if test "${ac_cv_sizeof_short+set}" = set; then
16474 echo $ECHO_N "(cached) $ECHO_C" >&6
16475 else
16476 if test "$ac_cv_type_short" = yes; then
16477 # The cast to unsigned long works around a bug in the HP C Compiler
16478 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16479 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16480 # This bug is HP SR number 8606223364.
16481 if test "$cross_compiling" = yes; then
16482 # Depending upon the size, compute the lo and hi bounds.
16483 cat >conftest.$ac_ext <<_ACEOF
16484 /* confdefs.h. */
16485 _ACEOF
16486 cat confdefs.h >>conftest.$ac_ext
16487 cat >>conftest.$ac_ext <<_ACEOF
16488 /* end confdefs.h. */
16489 $ac_includes_default
16490 int
16491 main ()
16492 {
16493 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
16494 test_array [0] = 0
16495
16496 ;
16497 return 0;
16498 }
16499 _ACEOF
16500 rm -f conftest.$ac_objext
16501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16502 (eval $ac_compile) 2>conftest.er1
16503 ac_status=$?
16504 grep -v '^ *+' conftest.er1 >conftest.err
16505 rm -f conftest.er1
16506 cat conftest.err >&5
16507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16508 (exit $ac_status); } &&
16509 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16511 (eval $ac_try) 2>&5
16512 ac_status=$?
16513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16514 (exit $ac_status); }; } &&
16515 { ac_try='test -s conftest.$ac_objext'
16516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16517 (eval $ac_try) 2>&5
16518 ac_status=$?
16519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16520 (exit $ac_status); }; }; then
16521 ac_lo=0 ac_mid=0
16522 while :; do
16523 cat >conftest.$ac_ext <<_ACEOF
16524 /* confdefs.h. */
16525 _ACEOF
16526 cat confdefs.h >>conftest.$ac_ext
16527 cat >>conftest.$ac_ext <<_ACEOF
16528 /* end confdefs.h. */
16529 $ac_includes_default
16530 int
16531 main ()
16532 {
16533 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16534 test_array [0] = 0
16535
16536 ;
16537 return 0;
16538 }
16539 _ACEOF
16540 rm -f conftest.$ac_objext
16541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16542 (eval $ac_compile) 2>conftest.er1
16543 ac_status=$?
16544 grep -v '^ *+' conftest.er1 >conftest.err
16545 rm -f conftest.er1
16546 cat conftest.err >&5
16547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16548 (exit $ac_status); } &&
16549 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16551 (eval $ac_try) 2>&5
16552 ac_status=$?
16553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16554 (exit $ac_status); }; } &&
16555 { ac_try='test -s conftest.$ac_objext'
16556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16557 (eval $ac_try) 2>&5
16558 ac_status=$?
16559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16560 (exit $ac_status); }; }; then
16561 ac_hi=$ac_mid; break
16562 else
16563 echo "$as_me: failed program was:" >&5
16564 sed 's/^/| /' conftest.$ac_ext >&5
16565
16566 ac_lo=`expr $ac_mid + 1`
16567 if test $ac_lo -le $ac_mid; then
16568 ac_lo= ac_hi=
16569 break
16570 fi
16571 ac_mid=`expr 2 '*' $ac_mid + 1`
16572 fi
16573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16574 done
16575 else
16576 echo "$as_me: failed program was:" >&5
16577 sed 's/^/| /' conftest.$ac_ext >&5
16578
16579 cat >conftest.$ac_ext <<_ACEOF
16580 /* confdefs.h. */
16581 _ACEOF
16582 cat confdefs.h >>conftest.$ac_ext
16583 cat >>conftest.$ac_ext <<_ACEOF
16584 /* end confdefs.h. */
16585 $ac_includes_default
16586 int
16587 main ()
16588 {
16589 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
16590 test_array [0] = 0
16591
16592 ;
16593 return 0;
16594 }
16595 _ACEOF
16596 rm -f conftest.$ac_objext
16597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16598 (eval $ac_compile) 2>conftest.er1
16599 ac_status=$?
16600 grep -v '^ *+' conftest.er1 >conftest.err
16601 rm -f conftest.er1
16602 cat conftest.err >&5
16603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16604 (exit $ac_status); } &&
16605 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16607 (eval $ac_try) 2>&5
16608 ac_status=$?
16609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16610 (exit $ac_status); }; } &&
16611 { ac_try='test -s conftest.$ac_objext'
16612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16613 (eval $ac_try) 2>&5
16614 ac_status=$?
16615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16616 (exit $ac_status); }; }; then
16617 ac_hi=-1 ac_mid=-1
16618 while :; do
16619 cat >conftest.$ac_ext <<_ACEOF
16620 /* confdefs.h. */
16621 _ACEOF
16622 cat confdefs.h >>conftest.$ac_ext
16623 cat >>conftest.$ac_ext <<_ACEOF
16624 /* end confdefs.h. */
16625 $ac_includes_default
16626 int
16627 main ()
16628 {
16629 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
16630 test_array [0] = 0
16631
16632 ;
16633 return 0;
16634 }
16635 _ACEOF
16636 rm -f conftest.$ac_objext
16637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16638 (eval $ac_compile) 2>conftest.er1
16639 ac_status=$?
16640 grep -v '^ *+' conftest.er1 >conftest.err
16641 rm -f conftest.er1
16642 cat conftest.err >&5
16643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16644 (exit $ac_status); } &&
16645 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16647 (eval $ac_try) 2>&5
16648 ac_status=$?
16649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16650 (exit $ac_status); }; } &&
16651 { ac_try='test -s conftest.$ac_objext'
16652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16653 (eval $ac_try) 2>&5
16654 ac_status=$?
16655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16656 (exit $ac_status); }; }; then
16657 ac_lo=$ac_mid; break
16658 else
16659 echo "$as_me: failed program was:" >&5
16660 sed 's/^/| /' conftest.$ac_ext >&5
16661
16662 ac_hi=`expr '(' $ac_mid ')' - 1`
16663 if test $ac_mid -le $ac_hi; then
16664 ac_lo= ac_hi=
16665 break
16666 fi
16667 ac_mid=`expr 2 '*' $ac_mid`
16668 fi
16669 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16670 done
16671 else
16672 echo "$as_me: failed program was:" >&5
16673 sed 's/^/| /' conftest.$ac_ext >&5
16674
16675 ac_lo= ac_hi=
16676 fi
16677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16678 fi
16679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16680 # Binary search between lo and hi bounds.
16681 while test "x$ac_lo" != "x$ac_hi"; do
16682 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16683 cat >conftest.$ac_ext <<_ACEOF
16684 /* confdefs.h. */
16685 _ACEOF
16686 cat confdefs.h >>conftest.$ac_ext
16687 cat >>conftest.$ac_ext <<_ACEOF
16688 /* end confdefs.h. */
16689 $ac_includes_default
16690 int
16691 main ()
16692 {
16693 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16694 test_array [0] = 0
16695
16696 ;
16697 return 0;
16698 }
16699 _ACEOF
16700 rm -f conftest.$ac_objext
16701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16702 (eval $ac_compile) 2>conftest.er1
16703 ac_status=$?
16704 grep -v '^ *+' conftest.er1 >conftest.err
16705 rm -f conftest.er1
16706 cat conftest.err >&5
16707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16708 (exit $ac_status); } &&
16709 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16711 (eval $ac_try) 2>&5
16712 ac_status=$?
16713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16714 (exit $ac_status); }; } &&
16715 { ac_try='test -s conftest.$ac_objext'
16716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16717 (eval $ac_try) 2>&5
16718 ac_status=$?
16719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16720 (exit $ac_status); }; }; then
16721 ac_hi=$ac_mid
16722 else
16723 echo "$as_me: failed program was:" >&5
16724 sed 's/^/| /' conftest.$ac_ext >&5
16725
16726 ac_lo=`expr '(' $ac_mid ')' + 1`
16727 fi
16728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16729 done
16730 case $ac_lo in
16731 ?*) ac_cv_sizeof_short=$ac_lo;;
16732 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16733 See \`config.log' for more details." >&5
16734 echo "$as_me: error: cannot compute sizeof (short), 77
16735 See \`config.log' for more details." >&2;}
16736 { (exit 1); exit 1; }; } ;;
16737 esac
16738 else
16739 if test "$cross_compiling" = yes; then
16740 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16741 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16742 { (exit 1); exit 1; }; }
16743 else
16744 cat >conftest.$ac_ext <<_ACEOF
16745 /* confdefs.h. */
16746 _ACEOF
16747 cat confdefs.h >>conftest.$ac_ext
16748 cat >>conftest.$ac_ext <<_ACEOF
16749 /* end confdefs.h. */
16750 $ac_includes_default
16751 long longval () { return (long) (sizeof (short)); }
16752 unsigned long ulongval () { return (long) (sizeof (short)); }
16753 #include <stdio.h>
16754 #include <stdlib.h>
16755 int
16756 main ()
16757 {
16758
16759 FILE *f = fopen ("conftest.val", "w");
16760 if (! f)
16761 exit (1);
16762 if (((long) (sizeof (short))) < 0)
16763 {
16764 long i = longval ();
16765 if (i != ((long) (sizeof (short))))
16766 exit (1);
16767 fprintf (f, "%ld\n", i);
16768 }
16769 else
16770 {
16771 unsigned long i = ulongval ();
16772 if (i != ((long) (sizeof (short))))
16773 exit (1);
16774 fprintf (f, "%lu\n", i);
16775 }
16776 exit (ferror (f) || fclose (f) != 0);
16777
16778 ;
16779 return 0;
16780 }
16781 _ACEOF
16782 rm -f conftest$ac_exeext
16783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16784 (eval $ac_link) 2>&5
16785 ac_status=$?
16786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16787 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16789 (eval $ac_try) 2>&5
16790 ac_status=$?
16791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16792 (exit $ac_status); }; }; then
16793 ac_cv_sizeof_short=`cat conftest.val`
16794 else
16795 echo "$as_me: program exited with status $ac_status" >&5
16796 echo "$as_me: failed program was:" >&5
16797 sed 's/^/| /' conftest.$ac_ext >&5
16798
16799 ( exit $ac_status )
16800 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16801 See \`config.log' for more details." >&5
16802 echo "$as_me: error: cannot compute sizeof (short), 77
16803 See \`config.log' for more details." >&2;}
16804 { (exit 1); exit 1; }; }
16805 fi
16806 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16807 fi
16808 fi
16809 rm -f conftest.val
16810 else
16811 ac_cv_sizeof_short=0
16812 fi
16813 fi
16814 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
16815 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
16816 cat >>confdefs.h <<_ACEOF
16817 #define SIZEOF_SHORT $ac_cv_sizeof_short
16818 _ACEOF
16819
16820
16821 echo "$as_me:$LINENO: checking for void *" >&5
16822 echo $ECHO_N "checking for void *... $ECHO_C" >&6
16823 if test "${ac_cv_type_void_p+set}" = set; then
16824 echo $ECHO_N "(cached) $ECHO_C" >&6
16825 else
16826 cat >conftest.$ac_ext <<_ACEOF
16827 /* confdefs.h. */
16828 _ACEOF
16829 cat confdefs.h >>conftest.$ac_ext
16830 cat >>conftest.$ac_ext <<_ACEOF
16831 /* end confdefs.h. */
16832 $ac_includes_default
16833 int
16834 main ()
16835 {
16836 if ((void * *) 0)
16837 return 0;
16838 if (sizeof (void *))
16839 return 0;
16840 ;
16841 return 0;
16842 }
16843 _ACEOF
16844 rm -f conftest.$ac_objext
16845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16846 (eval $ac_compile) 2>conftest.er1
16847 ac_status=$?
16848 grep -v '^ *+' conftest.er1 >conftest.err
16849 rm -f conftest.er1
16850 cat conftest.err >&5
16851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16852 (exit $ac_status); } &&
16853 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16855 (eval $ac_try) 2>&5
16856 ac_status=$?
16857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16858 (exit $ac_status); }; } &&
16859 { ac_try='test -s conftest.$ac_objext'
16860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16861 (eval $ac_try) 2>&5
16862 ac_status=$?
16863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16864 (exit $ac_status); }; }; then
16865 ac_cv_type_void_p=yes
16866 else
16867 echo "$as_me: failed program was:" >&5
16868 sed 's/^/| /' conftest.$ac_ext >&5
16869
16870 ac_cv_type_void_p=no
16871 fi
16872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16873 fi
16874 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
16875 echo "${ECHO_T}$ac_cv_type_void_p" >&6
16876
16877 echo "$as_me:$LINENO: checking size of void *" >&5
16878 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
16879 if test "${ac_cv_sizeof_void_p+set}" = set; then
16880 echo $ECHO_N "(cached) $ECHO_C" >&6
16881 else
16882 if test "$ac_cv_type_void_p" = yes; then
16883 # The cast to unsigned long works around a bug in the HP C Compiler
16884 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16885 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16886 # This bug is HP SR number 8606223364.
16887 if test "$cross_compiling" = yes; then
16888 # Depending upon the size, compute the lo and hi bounds.
16889 cat >conftest.$ac_ext <<_ACEOF
16890 /* confdefs.h. */
16891 _ACEOF
16892 cat confdefs.h >>conftest.$ac_ext
16893 cat >>conftest.$ac_ext <<_ACEOF
16894 /* end confdefs.h. */
16895 $ac_includes_default
16896 int
16897 main ()
16898 {
16899 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
16900 test_array [0] = 0
16901
16902 ;
16903 return 0;
16904 }
16905 _ACEOF
16906 rm -f conftest.$ac_objext
16907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16908 (eval $ac_compile) 2>conftest.er1
16909 ac_status=$?
16910 grep -v '^ *+' conftest.er1 >conftest.err
16911 rm -f conftest.er1
16912 cat conftest.err >&5
16913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16914 (exit $ac_status); } &&
16915 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16917 (eval $ac_try) 2>&5
16918 ac_status=$?
16919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16920 (exit $ac_status); }; } &&
16921 { ac_try='test -s conftest.$ac_objext'
16922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16923 (eval $ac_try) 2>&5
16924 ac_status=$?
16925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16926 (exit $ac_status); }; }; then
16927 ac_lo=0 ac_mid=0
16928 while :; do
16929 cat >conftest.$ac_ext <<_ACEOF
16930 /* confdefs.h. */
16931 _ACEOF
16932 cat confdefs.h >>conftest.$ac_ext
16933 cat >>conftest.$ac_ext <<_ACEOF
16934 /* end confdefs.h. */
16935 $ac_includes_default
16936 int
16937 main ()
16938 {
16939 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16940 test_array [0] = 0
16941
16942 ;
16943 return 0;
16944 }
16945 _ACEOF
16946 rm -f conftest.$ac_objext
16947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16948 (eval $ac_compile) 2>conftest.er1
16949 ac_status=$?
16950 grep -v '^ *+' conftest.er1 >conftest.err
16951 rm -f conftest.er1
16952 cat conftest.err >&5
16953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16954 (exit $ac_status); } &&
16955 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16957 (eval $ac_try) 2>&5
16958 ac_status=$?
16959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16960 (exit $ac_status); }; } &&
16961 { ac_try='test -s conftest.$ac_objext'
16962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16963 (eval $ac_try) 2>&5
16964 ac_status=$?
16965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16966 (exit $ac_status); }; }; then
16967 ac_hi=$ac_mid; break
16968 else
16969 echo "$as_me: failed program was:" >&5
16970 sed 's/^/| /' conftest.$ac_ext >&5
16971
16972 ac_lo=`expr $ac_mid + 1`
16973 if test $ac_lo -le $ac_mid; then
16974 ac_lo= ac_hi=
16975 break
16976 fi
16977 ac_mid=`expr 2 '*' $ac_mid + 1`
16978 fi
16979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16980 done
16981 else
16982 echo "$as_me: failed program was:" >&5
16983 sed 's/^/| /' conftest.$ac_ext >&5
16984
16985 cat >conftest.$ac_ext <<_ACEOF
16986 /* confdefs.h. */
16987 _ACEOF
16988 cat confdefs.h >>conftest.$ac_ext
16989 cat >>conftest.$ac_ext <<_ACEOF
16990 /* end confdefs.h. */
16991 $ac_includes_default
16992 int
16993 main ()
16994 {
16995 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
16996 test_array [0] = 0
16997
16998 ;
16999 return 0;
17000 }
17001 _ACEOF
17002 rm -f conftest.$ac_objext
17003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17004 (eval $ac_compile) 2>conftest.er1
17005 ac_status=$?
17006 grep -v '^ *+' conftest.er1 >conftest.err
17007 rm -f conftest.er1
17008 cat conftest.err >&5
17009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17010 (exit $ac_status); } &&
17011 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17013 (eval $ac_try) 2>&5
17014 ac_status=$?
17015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17016 (exit $ac_status); }; } &&
17017 { ac_try='test -s conftest.$ac_objext'
17018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17019 (eval $ac_try) 2>&5
17020 ac_status=$?
17021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17022 (exit $ac_status); }; }; then
17023 ac_hi=-1 ac_mid=-1
17024 while :; do
17025 cat >conftest.$ac_ext <<_ACEOF
17026 /* confdefs.h. */
17027 _ACEOF
17028 cat confdefs.h >>conftest.$ac_ext
17029 cat >>conftest.$ac_ext <<_ACEOF
17030 /* end confdefs.h. */
17031 $ac_includes_default
17032 int
17033 main ()
17034 {
17035 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
17036 test_array [0] = 0
17037
17038 ;
17039 return 0;
17040 }
17041 _ACEOF
17042 rm -f conftest.$ac_objext
17043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17044 (eval $ac_compile) 2>conftest.er1
17045 ac_status=$?
17046 grep -v '^ *+' conftest.er1 >conftest.err
17047 rm -f conftest.er1
17048 cat conftest.err >&5
17049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17050 (exit $ac_status); } &&
17051 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17053 (eval $ac_try) 2>&5
17054 ac_status=$?
17055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17056 (exit $ac_status); }; } &&
17057 { ac_try='test -s conftest.$ac_objext'
17058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17059 (eval $ac_try) 2>&5
17060 ac_status=$?
17061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17062 (exit $ac_status); }; }; then
17063 ac_lo=$ac_mid; break
17064 else
17065 echo "$as_me: failed program was:" >&5
17066 sed 's/^/| /' conftest.$ac_ext >&5
17067
17068 ac_hi=`expr '(' $ac_mid ')' - 1`
17069 if test $ac_mid -le $ac_hi; then
17070 ac_lo= ac_hi=
17071 break
17072 fi
17073 ac_mid=`expr 2 '*' $ac_mid`
17074 fi
17075 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17076 done
17077 else
17078 echo "$as_me: failed program was:" >&5
17079 sed 's/^/| /' conftest.$ac_ext >&5
17080
17081 ac_lo= ac_hi=
17082 fi
17083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17084 fi
17085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17086 # Binary search between lo and hi bounds.
17087 while test "x$ac_lo" != "x$ac_hi"; do
17088 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17089 cat >conftest.$ac_ext <<_ACEOF
17090 /* confdefs.h. */
17091 _ACEOF
17092 cat confdefs.h >>conftest.$ac_ext
17093 cat >>conftest.$ac_ext <<_ACEOF
17094 /* end confdefs.h. */
17095 $ac_includes_default
17096 int
17097 main ()
17098 {
17099 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
17100 test_array [0] = 0
17101
17102 ;
17103 return 0;
17104 }
17105 _ACEOF
17106 rm -f conftest.$ac_objext
17107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17108 (eval $ac_compile) 2>conftest.er1
17109 ac_status=$?
17110 grep -v '^ *+' conftest.er1 >conftest.err
17111 rm -f conftest.er1
17112 cat conftest.err >&5
17113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17114 (exit $ac_status); } &&
17115 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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'
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_hi=$ac_mid
17128 else
17129 echo "$as_me: failed program was:" >&5
17130 sed 's/^/| /' conftest.$ac_ext >&5
17131
17132 ac_lo=`expr '(' $ac_mid ')' + 1`
17133 fi
17134 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17135 done
17136 case $ac_lo in
17137 ?*) ac_cv_sizeof_void_p=$ac_lo;;
17138 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
17139 See \`config.log' for more details." >&5
17140 echo "$as_me: error: cannot compute sizeof (void *), 77
17141 See \`config.log' for more details." >&2;}
17142 { (exit 1); exit 1; }; } ;;
17143 esac
17144 else
17145 if test "$cross_compiling" = yes; then
17146 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17147 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17148 { (exit 1); exit 1; }; }
17149 else
17150 cat >conftest.$ac_ext <<_ACEOF
17151 /* confdefs.h. */
17152 _ACEOF
17153 cat confdefs.h >>conftest.$ac_ext
17154 cat >>conftest.$ac_ext <<_ACEOF
17155 /* end confdefs.h. */
17156 $ac_includes_default
17157 long longval () { return (long) (sizeof (void *)); }
17158 unsigned long ulongval () { return (long) (sizeof (void *)); }
17159 #include <stdio.h>
17160 #include <stdlib.h>
17161 int
17162 main ()
17163 {
17164
17165 FILE *f = fopen ("conftest.val", "w");
17166 if (! f)
17167 exit (1);
17168 if (((long) (sizeof (void *))) < 0)
17169 {
17170 long i = longval ();
17171 if (i != ((long) (sizeof (void *))))
17172 exit (1);
17173 fprintf (f, "%ld\n", i);
17174 }
17175 else
17176 {
17177 unsigned long i = ulongval ();
17178 if (i != ((long) (sizeof (void *))))
17179 exit (1);
17180 fprintf (f, "%lu\n", i);
17181 }
17182 exit (ferror (f) || fclose (f) != 0);
17183
17184 ;
17185 return 0;
17186 }
17187 _ACEOF
17188 rm -f conftest$ac_exeext
17189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17190 (eval $ac_link) 2>&5
17191 ac_status=$?
17192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17193 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17195 (eval $ac_try) 2>&5
17196 ac_status=$?
17197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17198 (exit $ac_status); }; }; then
17199 ac_cv_sizeof_void_p=`cat conftest.val`
17200 else
17201 echo "$as_me: program exited with status $ac_status" >&5
17202 echo "$as_me: failed program was:" >&5
17203 sed 's/^/| /' conftest.$ac_ext >&5
17204
17205 ( exit $ac_status )
17206 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
17207 See \`config.log' for more details." >&5
17208 echo "$as_me: error: cannot compute sizeof (void *), 77
17209 See \`config.log' for more details." >&2;}
17210 { (exit 1); exit 1; }; }
17211 fi
17212 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17213 fi
17214 fi
17215 rm -f conftest.val
17216 else
17217 ac_cv_sizeof_void_p=0
17218 fi
17219 fi
17220 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
17221 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
17222 cat >>confdefs.h <<_ACEOF
17223 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
17224 _ACEOF
17225
17226
17227 echo "$as_me:$LINENO: checking for int" >&5
17228 echo $ECHO_N "checking for int... $ECHO_C" >&6
17229 if test "${ac_cv_type_int+set}" = set; then
17230 echo $ECHO_N "(cached) $ECHO_C" >&6
17231 else
17232 cat >conftest.$ac_ext <<_ACEOF
17233 /* confdefs.h. */
17234 _ACEOF
17235 cat confdefs.h >>conftest.$ac_ext
17236 cat >>conftest.$ac_ext <<_ACEOF
17237 /* end confdefs.h. */
17238 $ac_includes_default
17239 int
17240 main ()
17241 {
17242 if ((int *) 0)
17243 return 0;
17244 if (sizeof (int))
17245 return 0;
17246 ;
17247 return 0;
17248 }
17249 _ACEOF
17250 rm -f conftest.$ac_objext
17251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17252 (eval $ac_compile) 2>conftest.er1
17253 ac_status=$?
17254 grep -v '^ *+' conftest.er1 >conftest.err
17255 rm -f conftest.er1
17256 cat conftest.err >&5
17257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17258 (exit $ac_status); } &&
17259 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17261 (eval $ac_try) 2>&5
17262 ac_status=$?
17263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17264 (exit $ac_status); }; } &&
17265 { ac_try='test -s conftest.$ac_objext'
17266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17267 (eval $ac_try) 2>&5
17268 ac_status=$?
17269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17270 (exit $ac_status); }; }; then
17271 ac_cv_type_int=yes
17272 else
17273 echo "$as_me: failed program was:" >&5
17274 sed 's/^/| /' conftest.$ac_ext >&5
17275
17276 ac_cv_type_int=no
17277 fi
17278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17279 fi
17280 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
17281 echo "${ECHO_T}$ac_cv_type_int" >&6
17282
17283 echo "$as_me:$LINENO: checking size of int" >&5
17284 echo $ECHO_N "checking size of int... $ECHO_C" >&6
17285 if test "${ac_cv_sizeof_int+set}" = set; then
17286 echo $ECHO_N "(cached) $ECHO_C" >&6
17287 else
17288 if test "$ac_cv_type_int" = yes; then
17289 # The cast to unsigned long works around a bug in the HP C Compiler
17290 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17291 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17292 # This bug is HP SR number 8606223364.
17293 if test "$cross_compiling" = yes; then
17294 # Depending upon the size, compute the lo and hi bounds.
17295 cat >conftest.$ac_ext <<_ACEOF
17296 /* confdefs.h. */
17297 _ACEOF
17298 cat confdefs.h >>conftest.$ac_ext
17299 cat >>conftest.$ac_ext <<_ACEOF
17300 /* end confdefs.h. */
17301 $ac_includes_default
17302 int
17303 main ()
17304 {
17305 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
17306 test_array [0] = 0
17307
17308 ;
17309 return 0;
17310 }
17311 _ACEOF
17312 rm -f conftest.$ac_objext
17313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17314 (eval $ac_compile) 2>conftest.er1
17315 ac_status=$?
17316 grep -v '^ *+' conftest.er1 >conftest.err
17317 rm -f conftest.er1
17318 cat conftest.err >&5
17319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17320 (exit $ac_status); } &&
17321 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17323 (eval $ac_try) 2>&5
17324 ac_status=$?
17325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17326 (exit $ac_status); }; } &&
17327 { ac_try='test -s conftest.$ac_objext'
17328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17329 (eval $ac_try) 2>&5
17330 ac_status=$?
17331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17332 (exit $ac_status); }; }; then
17333 ac_lo=0 ac_mid=0
17334 while :; do
17335 cat >conftest.$ac_ext <<_ACEOF
17336 /* confdefs.h. */
17337 _ACEOF
17338 cat confdefs.h >>conftest.$ac_ext
17339 cat >>conftest.$ac_ext <<_ACEOF
17340 /* end confdefs.h. */
17341 $ac_includes_default
17342 int
17343 main ()
17344 {
17345 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
17346 test_array [0] = 0
17347
17348 ;
17349 return 0;
17350 }
17351 _ACEOF
17352 rm -f conftest.$ac_objext
17353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17354 (eval $ac_compile) 2>conftest.er1
17355 ac_status=$?
17356 grep -v '^ *+' conftest.er1 >conftest.err
17357 rm -f conftest.er1
17358 cat conftest.err >&5
17359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17360 (exit $ac_status); } &&
17361 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17363 (eval $ac_try) 2>&5
17364 ac_status=$?
17365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17366 (exit $ac_status); }; } &&
17367 { ac_try='test -s conftest.$ac_objext'
17368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17369 (eval $ac_try) 2>&5
17370 ac_status=$?
17371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17372 (exit $ac_status); }; }; then
17373 ac_hi=$ac_mid; break
17374 else
17375 echo "$as_me: failed program was:" >&5
17376 sed 's/^/| /' conftest.$ac_ext >&5
17377
17378 ac_lo=`expr $ac_mid + 1`
17379 if test $ac_lo -le $ac_mid; then
17380 ac_lo= ac_hi=
17381 break
17382 fi
17383 ac_mid=`expr 2 '*' $ac_mid + 1`
17384 fi
17385 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17386 done
17387 else
17388 echo "$as_me: failed program was:" >&5
17389 sed 's/^/| /' conftest.$ac_ext >&5
17390
17391 cat >conftest.$ac_ext <<_ACEOF
17392 /* confdefs.h. */
17393 _ACEOF
17394 cat confdefs.h >>conftest.$ac_ext
17395 cat >>conftest.$ac_ext <<_ACEOF
17396 /* end confdefs.h. */
17397 $ac_includes_default
17398 int
17399 main ()
17400 {
17401 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
17402 test_array [0] = 0
17403
17404 ;
17405 return 0;
17406 }
17407 _ACEOF
17408 rm -f conftest.$ac_objext
17409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17410 (eval $ac_compile) 2>conftest.er1
17411 ac_status=$?
17412 grep -v '^ *+' conftest.er1 >conftest.err
17413 rm -f conftest.er1
17414 cat conftest.err >&5
17415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17416 (exit $ac_status); } &&
17417 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17419 (eval $ac_try) 2>&5
17420 ac_status=$?
17421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17422 (exit $ac_status); }; } &&
17423 { ac_try='test -s conftest.$ac_objext'
17424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17425 (eval $ac_try) 2>&5
17426 ac_status=$?
17427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17428 (exit $ac_status); }; }; then
17429 ac_hi=-1 ac_mid=-1
17430 while :; do
17431 cat >conftest.$ac_ext <<_ACEOF
17432 /* confdefs.h. */
17433 _ACEOF
17434 cat confdefs.h >>conftest.$ac_ext
17435 cat >>conftest.$ac_ext <<_ACEOF
17436 /* end confdefs.h. */
17437 $ac_includes_default
17438 int
17439 main ()
17440 {
17441 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
17442 test_array [0] = 0
17443
17444 ;
17445 return 0;
17446 }
17447 _ACEOF
17448 rm -f conftest.$ac_objext
17449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17450 (eval $ac_compile) 2>conftest.er1
17451 ac_status=$?
17452 grep -v '^ *+' conftest.er1 >conftest.err
17453 rm -f conftest.er1
17454 cat conftest.err >&5
17455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17456 (exit $ac_status); } &&
17457 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17459 (eval $ac_try) 2>&5
17460 ac_status=$?
17461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17462 (exit $ac_status); }; } &&
17463 { ac_try='test -s conftest.$ac_objext'
17464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17465 (eval $ac_try) 2>&5
17466 ac_status=$?
17467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17468 (exit $ac_status); }; }; then
17469 ac_lo=$ac_mid; break
17470 else
17471 echo "$as_me: failed program was:" >&5
17472 sed 's/^/| /' conftest.$ac_ext >&5
17473
17474 ac_hi=`expr '(' $ac_mid ')' - 1`
17475 if test $ac_mid -le $ac_hi; then
17476 ac_lo= ac_hi=
17477 break
17478 fi
17479 ac_mid=`expr 2 '*' $ac_mid`
17480 fi
17481 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17482 done
17483 else
17484 echo "$as_me: failed program was:" >&5
17485 sed 's/^/| /' conftest.$ac_ext >&5
17486
17487 ac_lo= ac_hi=
17488 fi
17489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17490 fi
17491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17492 # Binary search between lo and hi bounds.
17493 while test "x$ac_lo" != "x$ac_hi"; do
17494 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17495 cat >conftest.$ac_ext <<_ACEOF
17496 /* confdefs.h. */
17497 _ACEOF
17498 cat confdefs.h >>conftest.$ac_ext
17499 cat >>conftest.$ac_ext <<_ACEOF
17500 /* end confdefs.h. */
17501 $ac_includes_default
17502 int
17503 main ()
17504 {
17505 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
17506 test_array [0] = 0
17507
17508 ;
17509 return 0;
17510 }
17511 _ACEOF
17512 rm -f conftest.$ac_objext
17513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17514 (eval $ac_compile) 2>conftest.er1
17515 ac_status=$?
17516 grep -v '^ *+' conftest.er1 >conftest.err
17517 rm -f conftest.er1
17518 cat conftest.err >&5
17519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17520 (exit $ac_status); } &&
17521 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17523 (eval $ac_try) 2>&5
17524 ac_status=$?
17525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17526 (exit $ac_status); }; } &&
17527 { ac_try='test -s conftest.$ac_objext'
17528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17529 (eval $ac_try) 2>&5
17530 ac_status=$?
17531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17532 (exit $ac_status); }; }; then
17533 ac_hi=$ac_mid
17534 else
17535 echo "$as_me: failed program was:" >&5
17536 sed 's/^/| /' conftest.$ac_ext >&5
17537
17538 ac_lo=`expr '(' $ac_mid ')' + 1`
17539 fi
17540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17541 done
17542 case $ac_lo in
17543 ?*) ac_cv_sizeof_int=$ac_lo;;
17544 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17545 See \`config.log' for more details." >&5
17546 echo "$as_me: error: cannot compute sizeof (int), 77
17547 See \`config.log' for more details." >&2;}
17548 { (exit 1); exit 1; }; } ;;
17549 esac
17550 else
17551 if test "$cross_compiling" = yes; then
17552 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17553 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17554 { (exit 1); exit 1; }; }
17555 else
17556 cat >conftest.$ac_ext <<_ACEOF
17557 /* confdefs.h. */
17558 _ACEOF
17559 cat confdefs.h >>conftest.$ac_ext
17560 cat >>conftest.$ac_ext <<_ACEOF
17561 /* end confdefs.h. */
17562 $ac_includes_default
17563 long longval () { return (long) (sizeof (int)); }
17564 unsigned long ulongval () { return (long) (sizeof (int)); }
17565 #include <stdio.h>
17566 #include <stdlib.h>
17567 int
17568 main ()
17569 {
17570
17571 FILE *f = fopen ("conftest.val", "w");
17572 if (! f)
17573 exit (1);
17574 if (((long) (sizeof (int))) < 0)
17575 {
17576 long i = longval ();
17577 if (i != ((long) (sizeof (int))))
17578 exit (1);
17579 fprintf (f, "%ld\n", i);
17580 }
17581 else
17582 {
17583 unsigned long i = ulongval ();
17584 if (i != ((long) (sizeof (int))))
17585 exit (1);
17586 fprintf (f, "%lu\n", i);
17587 }
17588 exit (ferror (f) || fclose (f) != 0);
17589
17590 ;
17591 return 0;
17592 }
17593 _ACEOF
17594 rm -f conftest$ac_exeext
17595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17596 (eval $ac_link) 2>&5
17597 ac_status=$?
17598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17599 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17601 (eval $ac_try) 2>&5
17602 ac_status=$?
17603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17604 (exit $ac_status); }; }; then
17605 ac_cv_sizeof_int=`cat conftest.val`
17606 else
17607 echo "$as_me: program exited with status $ac_status" >&5
17608 echo "$as_me: failed program was:" >&5
17609 sed 's/^/| /' conftest.$ac_ext >&5
17610
17611 ( exit $ac_status )
17612 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17613 See \`config.log' for more details." >&5
17614 echo "$as_me: error: cannot compute sizeof (int), 77
17615 See \`config.log' for more details." >&2;}
17616 { (exit 1); exit 1; }; }
17617 fi
17618 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17619 fi
17620 fi
17621 rm -f conftest.val
17622 else
17623 ac_cv_sizeof_int=0
17624 fi
17625 fi
17626 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
17627 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
17628 cat >>confdefs.h <<_ACEOF
17629 #define SIZEOF_INT $ac_cv_sizeof_int
17630 _ACEOF
17631
17632
17633 echo "$as_me:$LINENO: checking for long" >&5
17634 echo $ECHO_N "checking for long... $ECHO_C" >&6
17635 if test "${ac_cv_type_long+set}" = set; then
17636 echo $ECHO_N "(cached) $ECHO_C" >&6
17637 else
17638 cat >conftest.$ac_ext <<_ACEOF
17639 /* confdefs.h. */
17640 _ACEOF
17641 cat confdefs.h >>conftest.$ac_ext
17642 cat >>conftest.$ac_ext <<_ACEOF
17643 /* end confdefs.h. */
17644 $ac_includes_default
17645 int
17646 main ()
17647 {
17648 if ((long *) 0)
17649 return 0;
17650 if (sizeof (long))
17651 return 0;
17652 ;
17653 return 0;
17654 }
17655 _ACEOF
17656 rm -f conftest.$ac_objext
17657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17658 (eval $ac_compile) 2>conftest.er1
17659 ac_status=$?
17660 grep -v '^ *+' conftest.er1 >conftest.err
17661 rm -f conftest.er1
17662 cat conftest.err >&5
17663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17664 (exit $ac_status); } &&
17665 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
17671 { ac_try='test -s conftest.$ac_objext'
17672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17673 (eval $ac_try) 2>&5
17674 ac_status=$?
17675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17676 (exit $ac_status); }; }; then
17677 ac_cv_type_long=yes
17678 else
17679 echo "$as_me: failed program was:" >&5
17680 sed 's/^/| /' conftest.$ac_ext >&5
17681
17682 ac_cv_type_long=no
17683 fi
17684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17685 fi
17686 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
17687 echo "${ECHO_T}$ac_cv_type_long" >&6
17688
17689 echo "$as_me:$LINENO: checking size of long" >&5
17690 echo $ECHO_N "checking size of long... $ECHO_C" >&6
17691 if test "${ac_cv_sizeof_long+set}" = set; then
17692 echo $ECHO_N "(cached) $ECHO_C" >&6
17693 else
17694 if test "$ac_cv_type_long" = yes; then
17695 # The cast to unsigned long works around a bug in the HP C Compiler
17696 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17697 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17698 # This bug is HP SR number 8606223364.
17699 if test "$cross_compiling" = yes; then
17700 # Depending upon the size, compute the lo and hi bounds.
17701 cat >conftest.$ac_ext <<_ACEOF
17702 /* confdefs.h. */
17703 _ACEOF
17704 cat confdefs.h >>conftest.$ac_ext
17705 cat >>conftest.$ac_ext <<_ACEOF
17706 /* end confdefs.h. */
17707 $ac_includes_default
17708 int
17709 main ()
17710 {
17711 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
17712 test_array [0] = 0
17713
17714 ;
17715 return 0;
17716 }
17717 _ACEOF
17718 rm -f conftest.$ac_objext
17719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17720 (eval $ac_compile) 2>conftest.er1
17721 ac_status=$?
17722 grep -v '^ *+' conftest.er1 >conftest.err
17723 rm -f conftest.er1
17724 cat conftest.err >&5
17725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17726 (exit $ac_status); } &&
17727 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17729 (eval $ac_try) 2>&5
17730 ac_status=$?
17731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17732 (exit $ac_status); }; } &&
17733 { ac_try='test -s conftest.$ac_objext'
17734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17735 (eval $ac_try) 2>&5
17736 ac_status=$?
17737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17738 (exit $ac_status); }; }; then
17739 ac_lo=0 ac_mid=0
17740 while :; do
17741 cat >conftest.$ac_ext <<_ACEOF
17742 /* confdefs.h. */
17743 _ACEOF
17744 cat confdefs.h >>conftest.$ac_ext
17745 cat >>conftest.$ac_ext <<_ACEOF
17746 /* end confdefs.h. */
17747 $ac_includes_default
17748 int
17749 main ()
17750 {
17751 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17752 test_array [0] = 0
17753
17754 ;
17755 return 0;
17756 }
17757 _ACEOF
17758 rm -f conftest.$ac_objext
17759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17760 (eval $ac_compile) 2>conftest.er1
17761 ac_status=$?
17762 grep -v '^ *+' conftest.er1 >conftest.err
17763 rm -f conftest.er1
17764 cat conftest.err >&5
17765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17766 (exit $ac_status); } &&
17767 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17769 (eval $ac_try) 2>&5
17770 ac_status=$?
17771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17772 (exit $ac_status); }; } &&
17773 { ac_try='test -s conftest.$ac_objext'
17774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17775 (eval $ac_try) 2>&5
17776 ac_status=$?
17777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17778 (exit $ac_status); }; }; then
17779 ac_hi=$ac_mid; break
17780 else
17781 echo "$as_me: failed program was:" >&5
17782 sed 's/^/| /' conftest.$ac_ext >&5
17783
17784 ac_lo=`expr $ac_mid + 1`
17785 if test $ac_lo -le $ac_mid; then
17786 ac_lo= ac_hi=
17787 break
17788 fi
17789 ac_mid=`expr 2 '*' $ac_mid + 1`
17790 fi
17791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17792 done
17793 else
17794 echo "$as_me: failed program was:" >&5
17795 sed 's/^/| /' conftest.$ac_ext >&5
17796
17797 cat >conftest.$ac_ext <<_ACEOF
17798 /* confdefs.h. */
17799 _ACEOF
17800 cat confdefs.h >>conftest.$ac_ext
17801 cat >>conftest.$ac_ext <<_ACEOF
17802 /* end confdefs.h. */
17803 $ac_includes_default
17804 int
17805 main ()
17806 {
17807 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
17808 test_array [0] = 0
17809
17810 ;
17811 return 0;
17812 }
17813 _ACEOF
17814 rm -f conftest.$ac_objext
17815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17816 (eval $ac_compile) 2>conftest.er1
17817 ac_status=$?
17818 grep -v '^ *+' conftest.er1 >conftest.err
17819 rm -f conftest.er1
17820 cat conftest.err >&5
17821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17822 (exit $ac_status); } &&
17823 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17825 (eval $ac_try) 2>&5
17826 ac_status=$?
17827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17828 (exit $ac_status); }; } &&
17829 { ac_try='test -s conftest.$ac_objext'
17830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17831 (eval $ac_try) 2>&5
17832 ac_status=$?
17833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17834 (exit $ac_status); }; }; then
17835 ac_hi=-1 ac_mid=-1
17836 while :; do
17837 cat >conftest.$ac_ext <<_ACEOF
17838 /* confdefs.h. */
17839 _ACEOF
17840 cat confdefs.h >>conftest.$ac_ext
17841 cat >>conftest.$ac_ext <<_ACEOF
17842 /* end confdefs.h. */
17843 $ac_includes_default
17844 int
17845 main ()
17846 {
17847 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
17848 test_array [0] = 0
17849
17850 ;
17851 return 0;
17852 }
17853 _ACEOF
17854 rm -f conftest.$ac_objext
17855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17856 (eval $ac_compile) 2>conftest.er1
17857 ac_status=$?
17858 grep -v '^ *+' conftest.er1 >conftest.err
17859 rm -f conftest.er1
17860 cat conftest.err >&5
17861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17862 (exit $ac_status); } &&
17863 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17865 (eval $ac_try) 2>&5
17866 ac_status=$?
17867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17868 (exit $ac_status); }; } &&
17869 { ac_try='test -s conftest.$ac_objext'
17870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17871 (eval $ac_try) 2>&5
17872 ac_status=$?
17873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17874 (exit $ac_status); }; }; then
17875 ac_lo=$ac_mid; break
17876 else
17877 echo "$as_me: failed program was:" >&5
17878 sed 's/^/| /' conftest.$ac_ext >&5
17879
17880 ac_hi=`expr '(' $ac_mid ')' - 1`
17881 if test $ac_mid -le $ac_hi; then
17882 ac_lo= ac_hi=
17883 break
17884 fi
17885 ac_mid=`expr 2 '*' $ac_mid`
17886 fi
17887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17888 done
17889 else
17890 echo "$as_me: failed program was:" >&5
17891 sed 's/^/| /' conftest.$ac_ext >&5
17892
17893 ac_lo= ac_hi=
17894 fi
17895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17896 fi
17897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17898 # Binary search between lo and hi bounds.
17899 while test "x$ac_lo" != "x$ac_hi"; do
17900 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17901 cat >conftest.$ac_ext <<_ACEOF
17902 /* confdefs.h. */
17903 _ACEOF
17904 cat confdefs.h >>conftest.$ac_ext
17905 cat >>conftest.$ac_ext <<_ACEOF
17906 /* end confdefs.h. */
17907 $ac_includes_default
17908 int
17909 main ()
17910 {
17911 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17912 test_array [0] = 0
17913
17914 ;
17915 return 0;
17916 }
17917 _ACEOF
17918 rm -f conftest.$ac_objext
17919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17920 (eval $ac_compile) 2>conftest.er1
17921 ac_status=$?
17922 grep -v '^ *+' conftest.er1 >conftest.err
17923 rm -f conftest.er1
17924 cat conftest.err >&5
17925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17926 (exit $ac_status); } &&
17927 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17929 (eval $ac_try) 2>&5
17930 ac_status=$?
17931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17932 (exit $ac_status); }; } &&
17933 { ac_try='test -s conftest.$ac_objext'
17934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17935 (eval $ac_try) 2>&5
17936 ac_status=$?
17937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17938 (exit $ac_status); }; }; then
17939 ac_hi=$ac_mid
17940 else
17941 echo "$as_me: failed program was:" >&5
17942 sed 's/^/| /' conftest.$ac_ext >&5
17943
17944 ac_lo=`expr '(' $ac_mid ')' + 1`
17945 fi
17946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17947 done
17948 case $ac_lo in
17949 ?*) ac_cv_sizeof_long=$ac_lo;;
17950 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17951 See \`config.log' for more details." >&5
17952 echo "$as_me: error: cannot compute sizeof (long), 77
17953 See \`config.log' for more details." >&2;}
17954 { (exit 1); exit 1; }; } ;;
17955 esac
17956 else
17957 if test "$cross_compiling" = yes; then
17958 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17959 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17960 { (exit 1); exit 1; }; }
17961 else
17962 cat >conftest.$ac_ext <<_ACEOF
17963 /* confdefs.h. */
17964 _ACEOF
17965 cat confdefs.h >>conftest.$ac_ext
17966 cat >>conftest.$ac_ext <<_ACEOF
17967 /* end confdefs.h. */
17968 $ac_includes_default
17969 long longval () { return (long) (sizeof (long)); }
17970 unsigned long ulongval () { return (long) (sizeof (long)); }
17971 #include <stdio.h>
17972 #include <stdlib.h>
17973 int
17974 main ()
17975 {
17976
17977 FILE *f = fopen ("conftest.val", "w");
17978 if (! f)
17979 exit (1);
17980 if (((long) (sizeof (long))) < 0)
17981 {
17982 long i = longval ();
17983 if (i != ((long) (sizeof (long))))
17984 exit (1);
17985 fprintf (f, "%ld\n", i);
17986 }
17987 else
17988 {
17989 unsigned long i = ulongval ();
17990 if (i != ((long) (sizeof (long))))
17991 exit (1);
17992 fprintf (f, "%lu\n", i);
17993 }
17994 exit (ferror (f) || fclose (f) != 0);
17995
17996 ;
17997 return 0;
17998 }
17999 _ACEOF
18000 rm -f conftest$ac_exeext
18001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18002 (eval $ac_link) 2>&5
18003 ac_status=$?
18004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18005 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18007 (eval $ac_try) 2>&5
18008 ac_status=$?
18009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18010 (exit $ac_status); }; }; then
18011 ac_cv_sizeof_long=`cat conftest.val`
18012 else
18013 echo "$as_me: program exited with status $ac_status" >&5
18014 echo "$as_me: failed program was:" >&5
18015 sed 's/^/| /' conftest.$ac_ext >&5
18016
18017 ( exit $ac_status )
18018 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18019 See \`config.log' for more details." >&5
18020 echo "$as_me: error: cannot compute sizeof (long), 77
18021 See \`config.log' for more details." >&2;}
18022 { (exit 1); exit 1; }; }
18023 fi
18024 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18025 fi
18026 fi
18027 rm -f conftest.val
18028 else
18029 ac_cv_sizeof_long=0
18030 fi
18031 fi
18032 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
18033 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
18034 cat >>confdefs.h <<_ACEOF
18035 #define SIZEOF_LONG $ac_cv_sizeof_long
18036 _ACEOF
18037
18038
18039 echo "$as_me:$LINENO: checking for size_t" >&5
18040 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
18041 if test "${ac_cv_type_size_t+set}" = set; then
18042 echo $ECHO_N "(cached) $ECHO_C" >&6
18043 else
18044 cat >conftest.$ac_ext <<_ACEOF
18045 /* confdefs.h. */
18046 _ACEOF
18047 cat confdefs.h >>conftest.$ac_ext
18048 cat >>conftest.$ac_ext <<_ACEOF
18049 /* end confdefs.h. */
18050 $ac_includes_default
18051 int
18052 main ()
18053 {
18054 if ((size_t *) 0)
18055 return 0;
18056 if (sizeof (size_t))
18057 return 0;
18058 ;
18059 return 0;
18060 }
18061 _ACEOF
18062 rm -f conftest.$ac_objext
18063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18064 (eval $ac_compile) 2>conftest.er1
18065 ac_status=$?
18066 grep -v '^ *+' conftest.er1 >conftest.err
18067 rm -f conftest.er1
18068 cat conftest.err >&5
18069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18070 (exit $ac_status); } &&
18071 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18073 (eval $ac_try) 2>&5
18074 ac_status=$?
18075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18076 (exit $ac_status); }; } &&
18077 { ac_try='test -s conftest.$ac_objext'
18078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18079 (eval $ac_try) 2>&5
18080 ac_status=$?
18081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18082 (exit $ac_status); }; }; then
18083 ac_cv_type_size_t=yes
18084 else
18085 echo "$as_me: failed program was:" >&5
18086 sed 's/^/| /' conftest.$ac_ext >&5
18087
18088 ac_cv_type_size_t=no
18089 fi
18090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18091 fi
18092 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
18093 echo "${ECHO_T}$ac_cv_type_size_t" >&6
18094
18095 echo "$as_me:$LINENO: checking size of size_t" >&5
18096 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
18097 if test "${ac_cv_sizeof_size_t+set}" = set; then
18098 echo $ECHO_N "(cached) $ECHO_C" >&6
18099 else
18100 if test "$ac_cv_type_size_t" = yes; then
18101 # The cast to unsigned long works around a bug in the HP C Compiler
18102 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18103 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18104 # This bug is HP SR number 8606223364.
18105 if test "$cross_compiling" = yes; then
18106 # Depending upon the size, compute the lo and hi bounds.
18107 cat >conftest.$ac_ext <<_ACEOF
18108 /* confdefs.h. */
18109 _ACEOF
18110 cat confdefs.h >>conftest.$ac_ext
18111 cat >>conftest.$ac_ext <<_ACEOF
18112 /* end confdefs.h. */
18113 $ac_includes_default
18114 int
18115 main ()
18116 {
18117 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
18118 test_array [0] = 0
18119
18120 ;
18121 return 0;
18122 }
18123 _ACEOF
18124 rm -f conftest.$ac_objext
18125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18126 (eval $ac_compile) 2>conftest.er1
18127 ac_status=$?
18128 grep -v '^ *+' conftest.er1 >conftest.err
18129 rm -f conftest.er1
18130 cat conftest.err >&5
18131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18132 (exit $ac_status); } &&
18133 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18135 (eval $ac_try) 2>&5
18136 ac_status=$?
18137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18138 (exit $ac_status); }; } &&
18139 { ac_try='test -s conftest.$ac_objext'
18140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18141 (eval $ac_try) 2>&5
18142 ac_status=$?
18143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18144 (exit $ac_status); }; }; then
18145 ac_lo=0 ac_mid=0
18146 while :; do
18147 cat >conftest.$ac_ext <<_ACEOF
18148 /* confdefs.h. */
18149 _ACEOF
18150 cat confdefs.h >>conftest.$ac_ext
18151 cat >>conftest.$ac_ext <<_ACEOF
18152 /* end confdefs.h. */
18153 $ac_includes_default
18154 int
18155 main ()
18156 {
18157 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
18158 test_array [0] = 0
18159
18160 ;
18161 return 0;
18162 }
18163 _ACEOF
18164 rm -f conftest.$ac_objext
18165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18166 (eval $ac_compile) 2>conftest.er1
18167 ac_status=$?
18168 grep -v '^ *+' conftest.er1 >conftest.err
18169 rm -f conftest.er1
18170 cat conftest.err >&5
18171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18172 (exit $ac_status); } &&
18173 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18175 (eval $ac_try) 2>&5
18176 ac_status=$?
18177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18178 (exit $ac_status); }; } &&
18179 { ac_try='test -s conftest.$ac_objext'
18180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18181 (eval $ac_try) 2>&5
18182 ac_status=$?
18183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18184 (exit $ac_status); }; }; then
18185 ac_hi=$ac_mid; break
18186 else
18187 echo "$as_me: failed program was:" >&5
18188 sed 's/^/| /' conftest.$ac_ext >&5
18189
18190 ac_lo=`expr $ac_mid + 1`
18191 if test $ac_lo -le $ac_mid; then
18192 ac_lo= ac_hi=
18193 break
18194 fi
18195 ac_mid=`expr 2 '*' $ac_mid + 1`
18196 fi
18197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18198 done
18199 else
18200 echo "$as_me: failed program was:" >&5
18201 sed 's/^/| /' conftest.$ac_ext >&5
18202
18203 cat >conftest.$ac_ext <<_ACEOF
18204 /* confdefs.h. */
18205 _ACEOF
18206 cat confdefs.h >>conftest.$ac_ext
18207 cat >>conftest.$ac_ext <<_ACEOF
18208 /* end confdefs.h. */
18209 $ac_includes_default
18210 int
18211 main ()
18212 {
18213 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
18214 test_array [0] = 0
18215
18216 ;
18217 return 0;
18218 }
18219 _ACEOF
18220 rm -f conftest.$ac_objext
18221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18222 (eval $ac_compile) 2>conftest.er1
18223 ac_status=$?
18224 grep -v '^ *+' conftest.er1 >conftest.err
18225 rm -f conftest.er1
18226 cat conftest.err >&5
18227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18228 (exit $ac_status); } &&
18229 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18231 (eval $ac_try) 2>&5
18232 ac_status=$?
18233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18234 (exit $ac_status); }; } &&
18235 { ac_try='test -s conftest.$ac_objext'
18236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18237 (eval $ac_try) 2>&5
18238 ac_status=$?
18239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18240 (exit $ac_status); }; }; then
18241 ac_hi=-1 ac_mid=-1
18242 while :; do
18243 cat >conftest.$ac_ext <<_ACEOF
18244 /* confdefs.h. */
18245 _ACEOF
18246 cat confdefs.h >>conftest.$ac_ext
18247 cat >>conftest.$ac_ext <<_ACEOF
18248 /* end confdefs.h. */
18249 $ac_includes_default
18250 int
18251 main ()
18252 {
18253 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
18254 test_array [0] = 0
18255
18256 ;
18257 return 0;
18258 }
18259 _ACEOF
18260 rm -f conftest.$ac_objext
18261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18262 (eval $ac_compile) 2>conftest.er1
18263 ac_status=$?
18264 grep -v '^ *+' conftest.er1 >conftest.err
18265 rm -f conftest.er1
18266 cat conftest.err >&5
18267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18268 (exit $ac_status); } &&
18269 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18271 (eval $ac_try) 2>&5
18272 ac_status=$?
18273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18274 (exit $ac_status); }; } &&
18275 { ac_try='test -s conftest.$ac_objext'
18276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18277 (eval $ac_try) 2>&5
18278 ac_status=$?
18279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18280 (exit $ac_status); }; }; then
18281 ac_lo=$ac_mid; break
18282 else
18283 echo "$as_me: failed program was:" >&5
18284 sed 's/^/| /' conftest.$ac_ext >&5
18285
18286 ac_hi=`expr '(' $ac_mid ')' - 1`
18287 if test $ac_mid -le $ac_hi; then
18288 ac_lo= ac_hi=
18289 break
18290 fi
18291 ac_mid=`expr 2 '*' $ac_mid`
18292 fi
18293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18294 done
18295 else
18296 echo "$as_me: failed program was:" >&5
18297 sed 's/^/| /' conftest.$ac_ext >&5
18298
18299 ac_lo= ac_hi=
18300 fi
18301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18302 fi
18303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18304 # Binary search between lo and hi bounds.
18305 while test "x$ac_lo" != "x$ac_hi"; do
18306 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18307 cat >conftest.$ac_ext <<_ACEOF
18308 /* confdefs.h. */
18309 _ACEOF
18310 cat confdefs.h >>conftest.$ac_ext
18311 cat >>conftest.$ac_ext <<_ACEOF
18312 /* end confdefs.h. */
18313 $ac_includes_default
18314 int
18315 main ()
18316 {
18317 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
18318 test_array [0] = 0
18319
18320 ;
18321 return 0;
18322 }
18323 _ACEOF
18324 rm -f conftest.$ac_objext
18325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18326 (eval $ac_compile) 2>conftest.er1
18327 ac_status=$?
18328 grep -v '^ *+' conftest.er1 >conftest.err
18329 rm -f conftest.er1
18330 cat conftest.err >&5
18331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18332 (exit $ac_status); } &&
18333 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18335 (eval $ac_try) 2>&5
18336 ac_status=$?
18337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18338 (exit $ac_status); }; } &&
18339 { ac_try='test -s conftest.$ac_objext'
18340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18341 (eval $ac_try) 2>&5
18342 ac_status=$?
18343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18344 (exit $ac_status); }; }; then
18345 ac_hi=$ac_mid
18346 else
18347 echo "$as_me: failed program was:" >&5
18348 sed 's/^/| /' conftest.$ac_ext >&5
18349
18350 ac_lo=`expr '(' $ac_mid ')' + 1`
18351 fi
18352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18353 done
18354 case $ac_lo in
18355 ?*) ac_cv_sizeof_size_t=$ac_lo;;
18356 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
18357 See \`config.log' for more details." >&5
18358 echo "$as_me: error: cannot compute sizeof (size_t), 77
18359 See \`config.log' for more details." >&2;}
18360 { (exit 1); exit 1; }; } ;;
18361 esac
18362 else
18363 if test "$cross_compiling" = yes; then
18364 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18365 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18366 { (exit 1); exit 1; }; }
18367 else
18368 cat >conftest.$ac_ext <<_ACEOF
18369 /* confdefs.h. */
18370 _ACEOF
18371 cat confdefs.h >>conftest.$ac_ext
18372 cat >>conftest.$ac_ext <<_ACEOF
18373 /* end confdefs.h. */
18374 $ac_includes_default
18375 long longval () { return (long) (sizeof (size_t)); }
18376 unsigned long ulongval () { return (long) (sizeof (size_t)); }
18377 #include <stdio.h>
18378 #include <stdlib.h>
18379 int
18380 main ()
18381 {
18382
18383 FILE *f = fopen ("conftest.val", "w");
18384 if (! f)
18385 exit (1);
18386 if (((long) (sizeof (size_t))) < 0)
18387 {
18388 long i = longval ();
18389 if (i != ((long) (sizeof (size_t))))
18390 exit (1);
18391 fprintf (f, "%ld\n", i);
18392 }
18393 else
18394 {
18395 unsigned long i = ulongval ();
18396 if (i != ((long) (sizeof (size_t))))
18397 exit (1);
18398 fprintf (f, "%lu\n", i);
18399 }
18400 exit (ferror (f) || fclose (f) != 0);
18401
18402 ;
18403 return 0;
18404 }
18405 _ACEOF
18406 rm -f conftest$ac_exeext
18407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18408 (eval $ac_link) 2>&5
18409 ac_status=$?
18410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18411 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18413 (eval $ac_try) 2>&5
18414 ac_status=$?
18415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18416 (exit $ac_status); }; }; then
18417 ac_cv_sizeof_size_t=`cat conftest.val`
18418 else
18419 echo "$as_me: program exited with status $ac_status" >&5
18420 echo "$as_me: failed program was:" >&5
18421 sed 's/^/| /' conftest.$ac_ext >&5
18422
18423 ( exit $ac_status )
18424 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
18425 See \`config.log' for more details." >&5
18426 echo "$as_me: error: cannot compute sizeof (size_t), 77
18427 See \`config.log' for more details." >&2;}
18428 { (exit 1); exit 1; }; }
18429 fi
18430 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18431 fi
18432 fi
18433 rm -f conftest.val
18434 else
18435 ac_cv_sizeof_size_t=0
18436 fi
18437 fi
18438 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
18439 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
18440 cat >>confdefs.h <<_ACEOF
18441 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
18442 _ACEOF
18443
18444
18445
18446 case "${host}" in
18447 arm-*-linux* )
18448 echo "$as_me:$LINENO: checking for long long" >&5
18449 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18450 if test "${ac_cv_type_long_long+set}" = set; then
18451 echo $ECHO_N "(cached) $ECHO_C" >&6
18452 else
18453 cat >conftest.$ac_ext <<_ACEOF
18454 /* confdefs.h. */
18455 _ACEOF
18456 cat confdefs.h >>conftest.$ac_ext
18457 cat >>conftest.$ac_ext <<_ACEOF
18458 /* end confdefs.h. */
18459 $ac_includes_default
18460 int
18461 main ()
18462 {
18463 if ((long long *) 0)
18464 return 0;
18465 if (sizeof (long long))
18466 return 0;
18467 ;
18468 return 0;
18469 }
18470 _ACEOF
18471 rm -f conftest.$ac_objext
18472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18473 (eval $ac_compile) 2>conftest.er1
18474 ac_status=$?
18475 grep -v '^ *+' conftest.er1 >conftest.err
18476 rm -f conftest.er1
18477 cat conftest.err >&5
18478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18479 (exit $ac_status); } &&
18480 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18482 (eval $ac_try) 2>&5
18483 ac_status=$?
18484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18485 (exit $ac_status); }; } &&
18486 { ac_try='test -s conftest.$ac_objext'
18487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18488 (eval $ac_try) 2>&5
18489 ac_status=$?
18490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18491 (exit $ac_status); }; }; then
18492 ac_cv_type_long_long=yes
18493 else
18494 echo "$as_me: failed program was:" >&5
18495 sed 's/^/| /' conftest.$ac_ext >&5
18496
18497 ac_cv_type_long_long=no
18498 fi
18499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18500 fi
18501 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18502 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18503
18504 echo "$as_me:$LINENO: checking size of long long" >&5
18505 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18506 if test "${ac_cv_sizeof_long_long+set}" = set; then
18507 echo $ECHO_N "(cached) $ECHO_C" >&6
18508 else
18509 if test "$ac_cv_type_long_long" = yes; then
18510 # The cast to unsigned long works around a bug in the HP C Compiler
18511 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18512 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18513 # This bug is HP SR number 8606223364.
18514 if test "$cross_compiling" = yes; then
18515 # Depending upon the size, compute the lo and hi bounds.
18516 cat >conftest.$ac_ext <<_ACEOF
18517 /* confdefs.h. */
18518 _ACEOF
18519 cat confdefs.h >>conftest.$ac_ext
18520 cat >>conftest.$ac_ext <<_ACEOF
18521 /* end confdefs.h. */
18522 $ac_includes_default
18523 int
18524 main ()
18525 {
18526 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18527 test_array [0] = 0
18528
18529 ;
18530 return 0;
18531 }
18532 _ACEOF
18533 rm -f conftest.$ac_objext
18534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18535 (eval $ac_compile) 2>conftest.er1
18536 ac_status=$?
18537 grep -v '^ *+' conftest.er1 >conftest.err
18538 rm -f conftest.er1
18539 cat conftest.err >&5
18540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18541 (exit $ac_status); } &&
18542 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18544 (eval $ac_try) 2>&5
18545 ac_status=$?
18546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18547 (exit $ac_status); }; } &&
18548 { ac_try='test -s conftest.$ac_objext'
18549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18550 (eval $ac_try) 2>&5
18551 ac_status=$?
18552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18553 (exit $ac_status); }; }; then
18554 ac_lo=0 ac_mid=0
18555 while :; do
18556 cat >conftest.$ac_ext <<_ACEOF
18557 /* confdefs.h. */
18558 _ACEOF
18559 cat confdefs.h >>conftest.$ac_ext
18560 cat >>conftest.$ac_ext <<_ACEOF
18561 /* end confdefs.h. */
18562 $ac_includes_default
18563 int
18564 main ()
18565 {
18566 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18567 test_array [0] = 0
18568
18569 ;
18570 return 0;
18571 }
18572 _ACEOF
18573 rm -f conftest.$ac_objext
18574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18575 (eval $ac_compile) 2>conftest.er1
18576 ac_status=$?
18577 grep -v '^ *+' conftest.er1 >conftest.err
18578 rm -f conftest.er1
18579 cat conftest.err >&5
18580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18581 (exit $ac_status); } &&
18582 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18584 (eval $ac_try) 2>&5
18585 ac_status=$?
18586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18587 (exit $ac_status); }; } &&
18588 { ac_try='test -s conftest.$ac_objext'
18589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18590 (eval $ac_try) 2>&5
18591 ac_status=$?
18592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18593 (exit $ac_status); }; }; then
18594 ac_hi=$ac_mid; break
18595 else
18596 echo "$as_me: failed program was:" >&5
18597 sed 's/^/| /' conftest.$ac_ext >&5
18598
18599 ac_lo=`expr $ac_mid + 1`
18600 if test $ac_lo -le $ac_mid; then
18601 ac_lo= ac_hi=
18602 break
18603 fi
18604 ac_mid=`expr 2 '*' $ac_mid + 1`
18605 fi
18606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18607 done
18608 else
18609 echo "$as_me: failed program was:" >&5
18610 sed 's/^/| /' conftest.$ac_ext >&5
18611
18612 cat >conftest.$ac_ext <<_ACEOF
18613 /* confdefs.h. */
18614 _ACEOF
18615 cat confdefs.h >>conftest.$ac_ext
18616 cat >>conftest.$ac_ext <<_ACEOF
18617 /* end confdefs.h. */
18618 $ac_includes_default
18619 int
18620 main ()
18621 {
18622 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18623 test_array [0] = 0
18624
18625 ;
18626 return 0;
18627 }
18628 _ACEOF
18629 rm -f conftest.$ac_objext
18630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18631 (eval $ac_compile) 2>conftest.er1
18632 ac_status=$?
18633 grep -v '^ *+' conftest.er1 >conftest.err
18634 rm -f conftest.er1
18635 cat conftest.err >&5
18636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18637 (exit $ac_status); } &&
18638 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18640 (eval $ac_try) 2>&5
18641 ac_status=$?
18642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18643 (exit $ac_status); }; } &&
18644 { ac_try='test -s conftest.$ac_objext'
18645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18646 (eval $ac_try) 2>&5
18647 ac_status=$?
18648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18649 (exit $ac_status); }; }; then
18650 ac_hi=-1 ac_mid=-1
18651 while :; do
18652 cat >conftest.$ac_ext <<_ACEOF
18653 /* confdefs.h. */
18654 _ACEOF
18655 cat confdefs.h >>conftest.$ac_ext
18656 cat >>conftest.$ac_ext <<_ACEOF
18657 /* end confdefs.h. */
18658 $ac_includes_default
18659 int
18660 main ()
18661 {
18662 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18663 test_array [0] = 0
18664
18665 ;
18666 return 0;
18667 }
18668 _ACEOF
18669 rm -f conftest.$ac_objext
18670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18671 (eval $ac_compile) 2>conftest.er1
18672 ac_status=$?
18673 grep -v '^ *+' conftest.er1 >conftest.err
18674 rm -f conftest.er1
18675 cat conftest.err >&5
18676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18677 (exit $ac_status); } &&
18678 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18680 (eval $ac_try) 2>&5
18681 ac_status=$?
18682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18683 (exit $ac_status); }; } &&
18684 { ac_try='test -s conftest.$ac_objext'
18685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18686 (eval $ac_try) 2>&5
18687 ac_status=$?
18688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18689 (exit $ac_status); }; }; then
18690 ac_lo=$ac_mid; break
18691 else
18692 echo "$as_me: failed program was:" >&5
18693 sed 's/^/| /' conftest.$ac_ext >&5
18694
18695 ac_hi=`expr '(' $ac_mid ')' - 1`
18696 if test $ac_mid -le $ac_hi; then
18697 ac_lo= ac_hi=
18698 break
18699 fi
18700 ac_mid=`expr 2 '*' $ac_mid`
18701 fi
18702 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18703 done
18704 else
18705 echo "$as_me: failed program was:" >&5
18706 sed 's/^/| /' conftest.$ac_ext >&5
18707
18708 ac_lo= ac_hi=
18709 fi
18710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18711 fi
18712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18713 # Binary search between lo and hi bounds.
18714 while test "x$ac_lo" != "x$ac_hi"; do
18715 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18716 cat >conftest.$ac_ext <<_ACEOF
18717 /* confdefs.h. */
18718 _ACEOF
18719 cat confdefs.h >>conftest.$ac_ext
18720 cat >>conftest.$ac_ext <<_ACEOF
18721 /* end confdefs.h. */
18722 $ac_includes_default
18723 int
18724 main ()
18725 {
18726 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18727 test_array [0] = 0
18728
18729 ;
18730 return 0;
18731 }
18732 _ACEOF
18733 rm -f conftest.$ac_objext
18734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18735 (eval $ac_compile) 2>conftest.er1
18736 ac_status=$?
18737 grep -v '^ *+' conftest.er1 >conftest.err
18738 rm -f conftest.er1
18739 cat conftest.err >&5
18740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18741 (exit $ac_status); } &&
18742 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18744 (eval $ac_try) 2>&5
18745 ac_status=$?
18746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18747 (exit $ac_status); }; } &&
18748 { ac_try='test -s conftest.$ac_objext'
18749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18750 (eval $ac_try) 2>&5
18751 ac_status=$?
18752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18753 (exit $ac_status); }; }; then
18754 ac_hi=$ac_mid
18755 else
18756 echo "$as_me: failed program was:" >&5
18757 sed 's/^/| /' conftest.$ac_ext >&5
18758
18759 ac_lo=`expr '(' $ac_mid ')' + 1`
18760 fi
18761 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18762 done
18763 case $ac_lo in
18764 ?*) ac_cv_sizeof_long_long=$ac_lo;;
18765 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18766 See \`config.log' for more details." >&5
18767 echo "$as_me: error: cannot compute sizeof (long long), 77
18768 See \`config.log' for more details." >&2;}
18769 { (exit 1); exit 1; }; } ;;
18770 esac
18771 else
18772 if test "$cross_compiling" = yes; then
18773 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18774 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18775 { (exit 1); exit 1; }; }
18776 else
18777 cat >conftest.$ac_ext <<_ACEOF
18778 /* confdefs.h. */
18779 _ACEOF
18780 cat confdefs.h >>conftest.$ac_ext
18781 cat >>conftest.$ac_ext <<_ACEOF
18782 /* end confdefs.h. */
18783 $ac_includes_default
18784 long longval () { return (long) (sizeof (long long)); }
18785 unsigned long ulongval () { return (long) (sizeof (long long)); }
18786 #include <stdio.h>
18787 #include <stdlib.h>
18788 int
18789 main ()
18790 {
18791
18792 FILE *f = fopen ("conftest.val", "w");
18793 if (! f)
18794 exit (1);
18795 if (((long) (sizeof (long long))) < 0)
18796 {
18797 long i = longval ();
18798 if (i != ((long) (sizeof (long long))))
18799 exit (1);
18800 fprintf (f, "%ld\n", i);
18801 }
18802 else
18803 {
18804 unsigned long i = ulongval ();
18805 if (i != ((long) (sizeof (long long))))
18806 exit (1);
18807 fprintf (f, "%lu\n", i);
18808 }
18809 exit (ferror (f) || fclose (f) != 0);
18810
18811 ;
18812 return 0;
18813 }
18814 _ACEOF
18815 rm -f conftest$ac_exeext
18816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18817 (eval $ac_link) 2>&5
18818 ac_status=$?
18819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18820 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18822 (eval $ac_try) 2>&5
18823 ac_status=$?
18824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18825 (exit $ac_status); }; }; then
18826 ac_cv_sizeof_long_long=`cat conftest.val`
18827 else
18828 echo "$as_me: program exited with status $ac_status" >&5
18829 echo "$as_me: failed program was:" >&5
18830 sed 's/^/| /' conftest.$ac_ext >&5
18831
18832 ( exit $ac_status )
18833 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18834 See \`config.log' for more details." >&5
18835 echo "$as_me: error: cannot compute sizeof (long long), 77
18836 See \`config.log' for more details." >&2;}
18837 { (exit 1); exit 1; }; }
18838 fi
18839 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18840 fi
18841 fi
18842 rm -f conftest.val
18843 else
18844 ac_cv_sizeof_long_long=0
18845 fi
18846 fi
18847 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18848 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18849 cat >>confdefs.h <<_ACEOF
18850 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18851 _ACEOF
18852
18853
18854 ;;
18855 *-hp-hpux* )
18856 echo "$as_me:$LINENO: checking for long long" >&5
18857 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18858 if test "${ac_cv_type_long_long+set}" = set; then
18859 echo $ECHO_N "(cached) $ECHO_C" >&6
18860 else
18861 cat >conftest.$ac_ext <<_ACEOF
18862 /* confdefs.h. */
18863 _ACEOF
18864 cat confdefs.h >>conftest.$ac_ext
18865 cat >>conftest.$ac_ext <<_ACEOF
18866 /* end confdefs.h. */
18867 $ac_includes_default
18868 int
18869 main ()
18870 {
18871 if ((long long *) 0)
18872 return 0;
18873 if (sizeof (long long))
18874 return 0;
18875 ;
18876 return 0;
18877 }
18878 _ACEOF
18879 rm -f conftest.$ac_objext
18880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18881 (eval $ac_compile) 2>conftest.er1
18882 ac_status=$?
18883 grep -v '^ *+' conftest.er1 >conftest.err
18884 rm -f conftest.er1
18885 cat conftest.err >&5
18886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18887 (exit $ac_status); } &&
18888 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18890 (eval $ac_try) 2>&5
18891 ac_status=$?
18892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18893 (exit $ac_status); }; } &&
18894 { ac_try='test -s conftest.$ac_objext'
18895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18896 (eval $ac_try) 2>&5
18897 ac_status=$?
18898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18899 (exit $ac_status); }; }; then
18900 ac_cv_type_long_long=yes
18901 else
18902 echo "$as_me: failed program was:" >&5
18903 sed 's/^/| /' conftest.$ac_ext >&5
18904
18905 ac_cv_type_long_long=no
18906 fi
18907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18908 fi
18909 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18910 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18911
18912 echo "$as_me:$LINENO: checking size of long long" >&5
18913 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18914 if test "${ac_cv_sizeof_long_long+set}" = set; then
18915 echo $ECHO_N "(cached) $ECHO_C" >&6
18916 else
18917 if test "$ac_cv_type_long_long" = yes; then
18918 # The cast to unsigned long works around a bug in the HP C Compiler
18919 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18920 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18921 # This bug is HP SR number 8606223364.
18922 if test "$cross_compiling" = yes; then
18923 # Depending upon the size, compute the lo and hi bounds.
18924 cat >conftest.$ac_ext <<_ACEOF
18925 /* confdefs.h. */
18926 _ACEOF
18927 cat confdefs.h >>conftest.$ac_ext
18928 cat >>conftest.$ac_ext <<_ACEOF
18929 /* end confdefs.h. */
18930 $ac_includes_default
18931 int
18932 main ()
18933 {
18934 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18935 test_array [0] = 0
18936
18937 ;
18938 return 0;
18939 }
18940 _ACEOF
18941 rm -f conftest.$ac_objext
18942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18943 (eval $ac_compile) 2>conftest.er1
18944 ac_status=$?
18945 grep -v '^ *+' conftest.er1 >conftest.err
18946 rm -f conftest.er1
18947 cat conftest.err >&5
18948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18949 (exit $ac_status); } &&
18950 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18952 (eval $ac_try) 2>&5
18953 ac_status=$?
18954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18955 (exit $ac_status); }; } &&
18956 { ac_try='test -s conftest.$ac_objext'
18957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18958 (eval $ac_try) 2>&5
18959 ac_status=$?
18960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18961 (exit $ac_status); }; }; then
18962 ac_lo=0 ac_mid=0
18963 while :; do
18964 cat >conftest.$ac_ext <<_ACEOF
18965 /* confdefs.h. */
18966 _ACEOF
18967 cat confdefs.h >>conftest.$ac_ext
18968 cat >>conftest.$ac_ext <<_ACEOF
18969 /* end confdefs.h. */
18970 $ac_includes_default
18971 int
18972 main ()
18973 {
18974 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18975 test_array [0] = 0
18976
18977 ;
18978 return 0;
18979 }
18980 _ACEOF
18981 rm -f conftest.$ac_objext
18982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18983 (eval $ac_compile) 2>conftest.er1
18984 ac_status=$?
18985 grep -v '^ *+' conftest.er1 >conftest.err
18986 rm -f conftest.er1
18987 cat conftest.err >&5
18988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18989 (exit $ac_status); } &&
18990 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18992 (eval $ac_try) 2>&5
18993 ac_status=$?
18994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18995 (exit $ac_status); }; } &&
18996 { ac_try='test -s conftest.$ac_objext'
18997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18998 (eval $ac_try) 2>&5
18999 ac_status=$?
19000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19001 (exit $ac_status); }; }; then
19002 ac_hi=$ac_mid; break
19003 else
19004 echo "$as_me: failed program was:" >&5
19005 sed 's/^/| /' conftest.$ac_ext >&5
19006
19007 ac_lo=`expr $ac_mid + 1`
19008 if test $ac_lo -le $ac_mid; then
19009 ac_lo= ac_hi=
19010 break
19011 fi
19012 ac_mid=`expr 2 '*' $ac_mid + 1`
19013 fi
19014 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19015 done
19016 else
19017 echo "$as_me: failed program was:" >&5
19018 sed 's/^/| /' conftest.$ac_ext >&5
19019
19020 cat >conftest.$ac_ext <<_ACEOF
19021 /* confdefs.h. */
19022 _ACEOF
19023 cat confdefs.h >>conftest.$ac_ext
19024 cat >>conftest.$ac_ext <<_ACEOF
19025 /* end confdefs.h. */
19026 $ac_includes_default
19027 int
19028 main ()
19029 {
19030 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19031 test_array [0] = 0
19032
19033 ;
19034 return 0;
19035 }
19036 _ACEOF
19037 rm -f conftest.$ac_objext
19038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19039 (eval $ac_compile) 2>conftest.er1
19040 ac_status=$?
19041 grep -v '^ *+' conftest.er1 >conftest.err
19042 rm -f conftest.er1
19043 cat conftest.err >&5
19044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19045 (exit $ac_status); } &&
19046 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19048 (eval $ac_try) 2>&5
19049 ac_status=$?
19050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19051 (exit $ac_status); }; } &&
19052 { ac_try='test -s conftest.$ac_objext'
19053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19054 (eval $ac_try) 2>&5
19055 ac_status=$?
19056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19057 (exit $ac_status); }; }; then
19058 ac_hi=-1 ac_mid=-1
19059 while :; do
19060 cat >conftest.$ac_ext <<_ACEOF
19061 /* confdefs.h. */
19062 _ACEOF
19063 cat confdefs.h >>conftest.$ac_ext
19064 cat >>conftest.$ac_ext <<_ACEOF
19065 /* end confdefs.h. */
19066 $ac_includes_default
19067 int
19068 main ()
19069 {
19070 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19071 test_array [0] = 0
19072
19073 ;
19074 return 0;
19075 }
19076 _ACEOF
19077 rm -f conftest.$ac_objext
19078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19079 (eval $ac_compile) 2>conftest.er1
19080 ac_status=$?
19081 grep -v '^ *+' conftest.er1 >conftest.err
19082 rm -f conftest.er1
19083 cat conftest.err >&5
19084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19085 (exit $ac_status); } &&
19086 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19088 (eval $ac_try) 2>&5
19089 ac_status=$?
19090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19091 (exit $ac_status); }; } &&
19092 { ac_try='test -s conftest.$ac_objext'
19093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19094 (eval $ac_try) 2>&5
19095 ac_status=$?
19096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19097 (exit $ac_status); }; }; then
19098 ac_lo=$ac_mid; break
19099 else
19100 echo "$as_me: failed program was:" >&5
19101 sed 's/^/| /' conftest.$ac_ext >&5
19102
19103 ac_hi=`expr '(' $ac_mid ')' - 1`
19104 if test $ac_mid -le $ac_hi; then
19105 ac_lo= ac_hi=
19106 break
19107 fi
19108 ac_mid=`expr 2 '*' $ac_mid`
19109 fi
19110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19111 done
19112 else
19113 echo "$as_me: failed program was:" >&5
19114 sed 's/^/| /' conftest.$ac_ext >&5
19115
19116 ac_lo= ac_hi=
19117 fi
19118 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19119 fi
19120 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19121 # Binary search between lo and hi bounds.
19122 while test "x$ac_lo" != "x$ac_hi"; do
19123 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19124 cat >conftest.$ac_ext <<_ACEOF
19125 /* confdefs.h. */
19126 _ACEOF
19127 cat confdefs.h >>conftest.$ac_ext
19128 cat >>conftest.$ac_ext <<_ACEOF
19129 /* end confdefs.h. */
19130 $ac_includes_default
19131 int
19132 main ()
19133 {
19134 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19135 test_array [0] = 0
19136
19137 ;
19138 return 0;
19139 }
19140 _ACEOF
19141 rm -f conftest.$ac_objext
19142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19143 (eval $ac_compile) 2>conftest.er1
19144 ac_status=$?
19145 grep -v '^ *+' conftest.er1 >conftest.err
19146 rm -f conftest.er1
19147 cat conftest.err >&5
19148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19149 (exit $ac_status); } &&
19150 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19152 (eval $ac_try) 2>&5
19153 ac_status=$?
19154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19155 (exit $ac_status); }; } &&
19156 { ac_try='test -s conftest.$ac_objext'
19157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19158 (eval $ac_try) 2>&5
19159 ac_status=$?
19160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19161 (exit $ac_status); }; }; then
19162 ac_hi=$ac_mid
19163 else
19164 echo "$as_me: failed program was:" >&5
19165 sed 's/^/| /' conftest.$ac_ext >&5
19166
19167 ac_lo=`expr '(' $ac_mid ')' + 1`
19168 fi
19169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19170 done
19171 case $ac_lo in
19172 ?*) ac_cv_sizeof_long_long=$ac_lo;;
19173 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19174 See \`config.log' for more details." >&5
19175 echo "$as_me: error: cannot compute sizeof (long long), 77
19176 See \`config.log' for more details." >&2;}
19177 { (exit 1); exit 1; }; } ;;
19178 esac
19179 else
19180 if test "$cross_compiling" = yes; then
19181 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19182 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19183 { (exit 1); exit 1; }; }
19184 else
19185 cat >conftest.$ac_ext <<_ACEOF
19186 /* confdefs.h. */
19187 _ACEOF
19188 cat confdefs.h >>conftest.$ac_ext
19189 cat >>conftest.$ac_ext <<_ACEOF
19190 /* end confdefs.h. */
19191 $ac_includes_default
19192 long longval () { return (long) (sizeof (long long)); }
19193 unsigned long ulongval () { return (long) (sizeof (long long)); }
19194 #include <stdio.h>
19195 #include <stdlib.h>
19196 int
19197 main ()
19198 {
19199
19200 FILE *f = fopen ("conftest.val", "w");
19201 if (! f)
19202 exit (1);
19203 if (((long) (sizeof (long long))) < 0)
19204 {
19205 long i = longval ();
19206 if (i != ((long) (sizeof (long long))))
19207 exit (1);
19208 fprintf (f, "%ld\n", i);
19209 }
19210 else
19211 {
19212 unsigned long i = ulongval ();
19213 if (i != ((long) (sizeof (long long))))
19214 exit (1);
19215 fprintf (f, "%lu\n", i);
19216 }
19217 exit (ferror (f) || fclose (f) != 0);
19218
19219 ;
19220 return 0;
19221 }
19222 _ACEOF
19223 rm -f conftest$ac_exeext
19224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19225 (eval $ac_link) 2>&5
19226 ac_status=$?
19227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19228 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19230 (eval $ac_try) 2>&5
19231 ac_status=$?
19232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19233 (exit $ac_status); }; }; then
19234 ac_cv_sizeof_long_long=`cat conftest.val`
19235 else
19236 echo "$as_me: program exited with status $ac_status" >&5
19237 echo "$as_me: failed program was:" >&5
19238 sed 's/^/| /' conftest.$ac_ext >&5
19239
19240 ( exit $ac_status )
19241 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19242 See \`config.log' for more details." >&5
19243 echo "$as_me: error: cannot compute sizeof (long long), 77
19244 See \`config.log' for more details." >&2;}
19245 { (exit 1); exit 1; }; }
19246 fi
19247 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19248 fi
19249 fi
19250 rm -f conftest.val
19251 else
19252 ac_cv_sizeof_long_long=0
19253 fi
19254 fi
19255 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19256 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19257 cat >>confdefs.h <<_ACEOF
19258 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19259 _ACEOF
19260
19261
19262 if test "$ac_cv_sizeof_long_long" != "0"; then
19263 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
19264 fi
19265 ;;
19266 * )
19267 echo "$as_me:$LINENO: checking for long long" >&5
19268 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19269 if test "${ac_cv_type_long_long+set}" = set; then
19270 echo $ECHO_N "(cached) $ECHO_C" >&6
19271 else
19272 cat >conftest.$ac_ext <<_ACEOF
19273 /* confdefs.h. */
19274 _ACEOF
19275 cat confdefs.h >>conftest.$ac_ext
19276 cat >>conftest.$ac_ext <<_ACEOF
19277 /* end confdefs.h. */
19278 $ac_includes_default
19279 int
19280 main ()
19281 {
19282 if ((long long *) 0)
19283 return 0;
19284 if (sizeof (long long))
19285 return 0;
19286 ;
19287 return 0;
19288 }
19289 _ACEOF
19290 rm -f conftest.$ac_objext
19291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19292 (eval $ac_compile) 2>conftest.er1
19293 ac_status=$?
19294 grep -v '^ *+' conftest.er1 >conftest.err
19295 rm -f conftest.er1
19296 cat conftest.err >&5
19297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19298 (exit $ac_status); } &&
19299 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19301 (eval $ac_try) 2>&5
19302 ac_status=$?
19303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19304 (exit $ac_status); }; } &&
19305 { ac_try='test -s conftest.$ac_objext'
19306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19307 (eval $ac_try) 2>&5
19308 ac_status=$?
19309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19310 (exit $ac_status); }; }; then
19311 ac_cv_type_long_long=yes
19312 else
19313 echo "$as_me: failed program was:" >&5
19314 sed 's/^/| /' conftest.$ac_ext >&5
19315
19316 ac_cv_type_long_long=no
19317 fi
19318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19319 fi
19320 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19321 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19322
19323 echo "$as_me:$LINENO: checking size of long long" >&5
19324 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19325 if test "${ac_cv_sizeof_long_long+set}" = set; then
19326 echo $ECHO_N "(cached) $ECHO_C" >&6
19327 else
19328 if test "$ac_cv_type_long_long" = yes; then
19329 # The cast to unsigned long works around a bug in the HP C Compiler
19330 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19331 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19332 # This bug is HP SR number 8606223364.
19333 if test "$cross_compiling" = yes; then
19334 # Depending upon the size, compute the lo and hi bounds.
19335 cat >conftest.$ac_ext <<_ACEOF
19336 /* confdefs.h. */
19337 _ACEOF
19338 cat confdefs.h >>conftest.$ac_ext
19339 cat >>conftest.$ac_ext <<_ACEOF
19340 /* end confdefs.h. */
19341 $ac_includes_default
19342 int
19343 main ()
19344 {
19345 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19346 test_array [0] = 0
19347
19348 ;
19349 return 0;
19350 }
19351 _ACEOF
19352 rm -f conftest.$ac_objext
19353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19354 (eval $ac_compile) 2>conftest.er1
19355 ac_status=$?
19356 grep -v '^ *+' conftest.er1 >conftest.err
19357 rm -f conftest.er1
19358 cat conftest.err >&5
19359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19360 (exit $ac_status); } &&
19361 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19363 (eval $ac_try) 2>&5
19364 ac_status=$?
19365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19366 (exit $ac_status); }; } &&
19367 { ac_try='test -s conftest.$ac_objext'
19368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19369 (eval $ac_try) 2>&5
19370 ac_status=$?
19371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19372 (exit $ac_status); }; }; then
19373 ac_lo=0 ac_mid=0
19374 while :; do
19375 cat >conftest.$ac_ext <<_ACEOF
19376 /* confdefs.h. */
19377 _ACEOF
19378 cat confdefs.h >>conftest.$ac_ext
19379 cat >>conftest.$ac_ext <<_ACEOF
19380 /* end confdefs.h. */
19381 $ac_includes_default
19382 int
19383 main ()
19384 {
19385 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19386 test_array [0] = 0
19387
19388 ;
19389 return 0;
19390 }
19391 _ACEOF
19392 rm -f conftest.$ac_objext
19393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19394 (eval $ac_compile) 2>conftest.er1
19395 ac_status=$?
19396 grep -v '^ *+' conftest.er1 >conftest.err
19397 rm -f conftest.er1
19398 cat conftest.err >&5
19399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19400 (exit $ac_status); } &&
19401 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19403 (eval $ac_try) 2>&5
19404 ac_status=$?
19405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19406 (exit $ac_status); }; } &&
19407 { ac_try='test -s conftest.$ac_objext'
19408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19409 (eval $ac_try) 2>&5
19410 ac_status=$?
19411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19412 (exit $ac_status); }; }; then
19413 ac_hi=$ac_mid; break
19414 else
19415 echo "$as_me: failed program was:" >&5
19416 sed 's/^/| /' conftest.$ac_ext >&5
19417
19418 ac_lo=`expr $ac_mid + 1`
19419 if test $ac_lo -le $ac_mid; then
19420 ac_lo= ac_hi=
19421 break
19422 fi
19423 ac_mid=`expr 2 '*' $ac_mid + 1`
19424 fi
19425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19426 done
19427 else
19428 echo "$as_me: failed program was:" >&5
19429 sed 's/^/| /' conftest.$ac_ext >&5
19430
19431 cat >conftest.$ac_ext <<_ACEOF
19432 /* confdefs.h. */
19433 _ACEOF
19434 cat confdefs.h >>conftest.$ac_ext
19435 cat >>conftest.$ac_ext <<_ACEOF
19436 /* end confdefs.h. */
19437 $ac_includes_default
19438 int
19439 main ()
19440 {
19441 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19442 test_array [0] = 0
19443
19444 ;
19445 return 0;
19446 }
19447 _ACEOF
19448 rm -f conftest.$ac_objext
19449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19450 (eval $ac_compile) 2>conftest.er1
19451 ac_status=$?
19452 grep -v '^ *+' conftest.er1 >conftest.err
19453 rm -f conftest.er1
19454 cat conftest.err >&5
19455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19456 (exit $ac_status); } &&
19457 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19459 (eval $ac_try) 2>&5
19460 ac_status=$?
19461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19462 (exit $ac_status); }; } &&
19463 { ac_try='test -s conftest.$ac_objext'
19464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19465 (eval $ac_try) 2>&5
19466 ac_status=$?
19467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19468 (exit $ac_status); }; }; then
19469 ac_hi=-1 ac_mid=-1
19470 while :; do
19471 cat >conftest.$ac_ext <<_ACEOF
19472 /* confdefs.h. */
19473 _ACEOF
19474 cat confdefs.h >>conftest.$ac_ext
19475 cat >>conftest.$ac_ext <<_ACEOF
19476 /* end confdefs.h. */
19477 $ac_includes_default
19478 int
19479 main ()
19480 {
19481 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19482 test_array [0] = 0
19483
19484 ;
19485 return 0;
19486 }
19487 _ACEOF
19488 rm -f conftest.$ac_objext
19489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19490 (eval $ac_compile) 2>conftest.er1
19491 ac_status=$?
19492 grep -v '^ *+' conftest.er1 >conftest.err
19493 rm -f conftest.er1
19494 cat conftest.err >&5
19495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19496 (exit $ac_status); } &&
19497 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19499 (eval $ac_try) 2>&5
19500 ac_status=$?
19501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19502 (exit $ac_status); }; } &&
19503 { ac_try='test -s conftest.$ac_objext'
19504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19505 (eval $ac_try) 2>&5
19506 ac_status=$?
19507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19508 (exit $ac_status); }; }; then
19509 ac_lo=$ac_mid; break
19510 else
19511 echo "$as_me: failed program was:" >&5
19512 sed 's/^/| /' conftest.$ac_ext >&5
19513
19514 ac_hi=`expr '(' $ac_mid ')' - 1`
19515 if test $ac_mid -le $ac_hi; then
19516 ac_lo= ac_hi=
19517 break
19518 fi
19519 ac_mid=`expr 2 '*' $ac_mid`
19520 fi
19521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19522 done
19523 else
19524 echo "$as_me: failed program was:" >&5
19525 sed 's/^/| /' conftest.$ac_ext >&5
19526
19527 ac_lo= ac_hi=
19528 fi
19529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19530 fi
19531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19532 # Binary search between lo and hi bounds.
19533 while test "x$ac_lo" != "x$ac_hi"; do
19534 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19535 cat >conftest.$ac_ext <<_ACEOF
19536 /* confdefs.h. */
19537 _ACEOF
19538 cat confdefs.h >>conftest.$ac_ext
19539 cat >>conftest.$ac_ext <<_ACEOF
19540 /* end confdefs.h. */
19541 $ac_includes_default
19542 int
19543 main ()
19544 {
19545 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19546 test_array [0] = 0
19547
19548 ;
19549 return 0;
19550 }
19551 _ACEOF
19552 rm -f conftest.$ac_objext
19553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19554 (eval $ac_compile) 2>conftest.er1
19555 ac_status=$?
19556 grep -v '^ *+' conftest.er1 >conftest.err
19557 rm -f conftest.er1
19558 cat conftest.err >&5
19559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19560 (exit $ac_status); } &&
19561 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19563 (eval $ac_try) 2>&5
19564 ac_status=$?
19565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19566 (exit $ac_status); }; } &&
19567 { ac_try='test -s conftest.$ac_objext'
19568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19569 (eval $ac_try) 2>&5
19570 ac_status=$?
19571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19572 (exit $ac_status); }; }; then
19573 ac_hi=$ac_mid
19574 else
19575 echo "$as_me: failed program was:" >&5
19576 sed 's/^/| /' conftest.$ac_ext >&5
19577
19578 ac_lo=`expr '(' $ac_mid ')' + 1`
19579 fi
19580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19581 done
19582 case $ac_lo in
19583 ?*) ac_cv_sizeof_long_long=$ac_lo;;
19584 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19585 See \`config.log' for more details." >&5
19586 echo "$as_me: error: cannot compute sizeof (long long), 77
19587 See \`config.log' for more details." >&2;}
19588 { (exit 1); exit 1; }; } ;;
19589 esac
19590 else
19591 if test "$cross_compiling" = yes; then
19592 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19593 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19594 { (exit 1); exit 1; }; }
19595 else
19596 cat >conftest.$ac_ext <<_ACEOF
19597 /* confdefs.h. */
19598 _ACEOF
19599 cat confdefs.h >>conftest.$ac_ext
19600 cat >>conftest.$ac_ext <<_ACEOF
19601 /* end confdefs.h. */
19602 $ac_includes_default
19603 long longval () { return (long) (sizeof (long long)); }
19604 unsigned long ulongval () { return (long) (sizeof (long long)); }
19605 #include <stdio.h>
19606 #include <stdlib.h>
19607 int
19608 main ()
19609 {
19610
19611 FILE *f = fopen ("conftest.val", "w");
19612 if (! f)
19613 exit (1);
19614 if (((long) (sizeof (long long))) < 0)
19615 {
19616 long i = longval ();
19617 if (i != ((long) (sizeof (long long))))
19618 exit (1);
19619 fprintf (f, "%ld\n", i);
19620 }
19621 else
19622 {
19623 unsigned long i = ulongval ();
19624 if (i != ((long) (sizeof (long long))))
19625 exit (1);
19626 fprintf (f, "%lu\n", i);
19627 }
19628 exit (ferror (f) || fclose (f) != 0);
19629
19630 ;
19631 return 0;
19632 }
19633 _ACEOF
19634 rm -f conftest$ac_exeext
19635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19636 (eval $ac_link) 2>&5
19637 ac_status=$?
19638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19639 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19641 (eval $ac_try) 2>&5
19642 ac_status=$?
19643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19644 (exit $ac_status); }; }; then
19645 ac_cv_sizeof_long_long=`cat conftest.val`
19646 else
19647 echo "$as_me: program exited with status $ac_status" >&5
19648 echo "$as_me: failed program was:" >&5
19649 sed 's/^/| /' conftest.$ac_ext >&5
19650
19651 ( exit $ac_status )
19652 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19653 See \`config.log' for more details." >&5
19654 echo "$as_me: error: cannot compute sizeof (long long), 77
19655 See \`config.log' for more details." >&2;}
19656 { (exit 1); exit 1; }; }
19657 fi
19658 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19659 fi
19660 fi
19661 rm -f conftest.val
19662 else
19663 ac_cv_sizeof_long_long=0
19664 fi
19665 fi
19666 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19667 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19668 cat >>confdefs.h <<_ACEOF
19669 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19670 _ACEOF
19671
19672
19673 esac
19674
19675 echo "$as_me:$LINENO: checking for wchar_t" >&5
19676 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
19677 if test "${ac_cv_type_wchar_t+set}" = set; then
19678 echo $ECHO_N "(cached) $ECHO_C" >&6
19679 else
19680 cat >conftest.$ac_ext <<_ACEOF
19681 /* confdefs.h. */
19682 _ACEOF
19683 cat confdefs.h >>conftest.$ac_ext
19684 cat >>conftest.$ac_ext <<_ACEOF
19685 /* end confdefs.h. */
19686
19687 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19688 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19689 # error "fake wchar_t"
19690 #endif
19691 #ifdef HAVE_WCHAR_H
19692 # ifdef __CYGWIN__
19693 # include <stddef.h>
19694 # endif
19695 # include <wchar.h>
19696 #endif
19697 #ifdef HAVE_STDLIB_H
19698 # include <stdlib.h>
19699 #endif
19700 #include <stdio.h>
19701
19702
19703
19704 int
19705 main ()
19706 {
19707 if ((wchar_t *) 0)
19708 return 0;
19709 if (sizeof (wchar_t))
19710 return 0;
19711 ;
19712 return 0;
19713 }
19714 _ACEOF
19715 rm -f conftest.$ac_objext
19716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19717 (eval $ac_compile) 2>conftest.er1
19718 ac_status=$?
19719 grep -v '^ *+' conftest.er1 >conftest.err
19720 rm -f conftest.er1
19721 cat conftest.err >&5
19722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19723 (exit $ac_status); } &&
19724 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19726 (eval $ac_try) 2>&5
19727 ac_status=$?
19728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19729 (exit $ac_status); }; } &&
19730 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
19736 ac_cv_type_wchar_t=yes
19737 else
19738 echo "$as_me: failed program was:" >&5
19739 sed 's/^/| /' conftest.$ac_ext >&5
19740
19741 ac_cv_type_wchar_t=no
19742 fi
19743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19744 fi
19745 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
19746 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
19747
19748 echo "$as_me:$LINENO: checking size of wchar_t" >&5
19749 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
19750 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
19751 echo $ECHO_N "(cached) $ECHO_C" >&6
19752 else
19753 if test "$ac_cv_type_wchar_t" = yes; then
19754 # The cast to unsigned long works around a bug in the HP C Compiler
19755 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19756 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19757 # This bug is HP SR number 8606223364.
19758 if test "$cross_compiling" = yes; then
19759 # Depending upon the size, compute the lo and hi bounds.
19760 cat >conftest.$ac_ext <<_ACEOF
19761 /* confdefs.h. */
19762 _ACEOF
19763 cat confdefs.h >>conftest.$ac_ext
19764 cat >>conftest.$ac_ext <<_ACEOF
19765 /* end confdefs.h. */
19766
19767 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19768 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19769 # error "fake wchar_t"
19770 #endif
19771 #ifdef HAVE_WCHAR_H
19772 # ifdef __CYGWIN__
19773 # include <stddef.h>
19774 # endif
19775 # include <wchar.h>
19776 #endif
19777 #ifdef HAVE_STDLIB_H
19778 # include <stdlib.h>
19779 #endif
19780 #include <stdio.h>
19781
19782
19783
19784 int
19785 main ()
19786 {
19787 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
19788 test_array [0] = 0
19789
19790 ;
19791 return 0;
19792 }
19793 _ACEOF
19794 rm -f conftest.$ac_objext
19795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19796 (eval $ac_compile) 2>conftest.er1
19797 ac_status=$?
19798 grep -v '^ *+' conftest.er1 >conftest.err
19799 rm -f conftest.er1
19800 cat conftest.err >&5
19801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19802 (exit $ac_status); } &&
19803 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19805 (eval $ac_try) 2>&5
19806 ac_status=$?
19807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19808 (exit $ac_status); }; } &&
19809 { ac_try='test -s conftest.$ac_objext'
19810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19811 (eval $ac_try) 2>&5
19812 ac_status=$?
19813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19814 (exit $ac_status); }; }; then
19815 ac_lo=0 ac_mid=0
19816 while :; do
19817 cat >conftest.$ac_ext <<_ACEOF
19818 /* confdefs.h. */
19819 _ACEOF
19820 cat confdefs.h >>conftest.$ac_ext
19821 cat >>conftest.$ac_ext <<_ACEOF
19822 /* end confdefs.h. */
19823
19824 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19825 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19826 # error "fake wchar_t"
19827 #endif
19828 #ifdef HAVE_WCHAR_H
19829 # ifdef __CYGWIN__
19830 # include <stddef.h>
19831 # endif
19832 # include <wchar.h>
19833 #endif
19834 #ifdef HAVE_STDLIB_H
19835 # include <stdlib.h>
19836 #endif
19837 #include <stdio.h>
19838
19839
19840
19841 int
19842 main ()
19843 {
19844 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19845 test_array [0] = 0
19846
19847 ;
19848 return 0;
19849 }
19850 _ACEOF
19851 rm -f conftest.$ac_objext
19852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19853 (eval $ac_compile) 2>conftest.er1
19854 ac_status=$?
19855 grep -v '^ *+' conftest.er1 >conftest.err
19856 rm -f conftest.er1
19857 cat conftest.err >&5
19858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19859 (exit $ac_status); } &&
19860 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19862 (eval $ac_try) 2>&5
19863 ac_status=$?
19864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19865 (exit $ac_status); }; } &&
19866 { ac_try='test -s conftest.$ac_objext'
19867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19868 (eval $ac_try) 2>&5
19869 ac_status=$?
19870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19871 (exit $ac_status); }; }; then
19872 ac_hi=$ac_mid; break
19873 else
19874 echo "$as_me: failed program was:" >&5
19875 sed 's/^/| /' conftest.$ac_ext >&5
19876
19877 ac_lo=`expr $ac_mid + 1`
19878 if test $ac_lo -le $ac_mid; then
19879 ac_lo= ac_hi=
19880 break
19881 fi
19882 ac_mid=`expr 2 '*' $ac_mid + 1`
19883 fi
19884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19885 done
19886 else
19887 echo "$as_me: failed program was:" >&5
19888 sed 's/^/| /' conftest.$ac_ext >&5
19889
19890 cat >conftest.$ac_ext <<_ACEOF
19891 /* confdefs.h. */
19892 _ACEOF
19893 cat confdefs.h >>conftest.$ac_ext
19894 cat >>conftest.$ac_ext <<_ACEOF
19895 /* end confdefs.h. */
19896
19897 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19898 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19899 # error "fake wchar_t"
19900 #endif
19901 #ifdef HAVE_WCHAR_H
19902 # ifdef __CYGWIN__
19903 # include <stddef.h>
19904 # endif
19905 # include <wchar.h>
19906 #endif
19907 #ifdef HAVE_STDLIB_H
19908 # include <stdlib.h>
19909 #endif
19910 #include <stdio.h>
19911
19912
19913
19914 int
19915 main ()
19916 {
19917 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
19918 test_array [0] = 0
19919
19920 ;
19921 return 0;
19922 }
19923 _ACEOF
19924 rm -f conftest.$ac_objext
19925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19926 (eval $ac_compile) 2>conftest.er1
19927 ac_status=$?
19928 grep -v '^ *+' conftest.er1 >conftest.err
19929 rm -f conftest.er1
19930 cat conftest.err >&5
19931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19932 (exit $ac_status); } &&
19933 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19935 (eval $ac_try) 2>&5
19936 ac_status=$?
19937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19938 (exit $ac_status); }; } &&
19939 { ac_try='test -s conftest.$ac_objext'
19940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19941 (eval $ac_try) 2>&5
19942 ac_status=$?
19943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19944 (exit $ac_status); }; }; then
19945 ac_hi=-1 ac_mid=-1
19946 while :; do
19947 cat >conftest.$ac_ext <<_ACEOF
19948 /* confdefs.h. */
19949 _ACEOF
19950 cat confdefs.h >>conftest.$ac_ext
19951 cat >>conftest.$ac_ext <<_ACEOF
19952 /* end confdefs.h. */
19953
19954 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19955 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19956 # error "fake wchar_t"
19957 #endif
19958 #ifdef HAVE_WCHAR_H
19959 # ifdef __CYGWIN__
19960 # include <stddef.h>
19961 # endif
19962 # include <wchar.h>
19963 #endif
19964 #ifdef HAVE_STDLIB_H
19965 # include <stdlib.h>
19966 #endif
19967 #include <stdio.h>
19968
19969
19970
19971 int
19972 main ()
19973 {
19974 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
19975 test_array [0] = 0
19976
19977 ;
19978 return 0;
19979 }
19980 _ACEOF
19981 rm -f conftest.$ac_objext
19982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19983 (eval $ac_compile) 2>conftest.er1
19984 ac_status=$?
19985 grep -v '^ *+' conftest.er1 >conftest.err
19986 rm -f conftest.er1
19987 cat conftest.err >&5
19988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19989 (exit $ac_status); } &&
19990 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19992 (eval $ac_try) 2>&5
19993 ac_status=$?
19994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19995 (exit $ac_status); }; } &&
19996 { ac_try='test -s conftest.$ac_objext'
19997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19998 (eval $ac_try) 2>&5
19999 ac_status=$?
20000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20001 (exit $ac_status); }; }; then
20002 ac_lo=$ac_mid; break
20003 else
20004 echo "$as_me: failed program was:" >&5
20005 sed 's/^/| /' conftest.$ac_ext >&5
20006
20007 ac_hi=`expr '(' $ac_mid ')' - 1`
20008 if test $ac_mid -le $ac_hi; then
20009 ac_lo= ac_hi=
20010 break
20011 fi
20012 ac_mid=`expr 2 '*' $ac_mid`
20013 fi
20014 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20015 done
20016 else
20017 echo "$as_me: failed program was:" >&5
20018 sed 's/^/| /' conftest.$ac_ext >&5
20019
20020 ac_lo= ac_hi=
20021 fi
20022 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20023 fi
20024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20025 # Binary search between lo and hi bounds.
20026 while test "x$ac_lo" != "x$ac_hi"; do
20027 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20028 cat >conftest.$ac_ext <<_ACEOF
20029 /* confdefs.h. */
20030 _ACEOF
20031 cat confdefs.h >>conftest.$ac_ext
20032 cat >>conftest.$ac_ext <<_ACEOF
20033 /* end confdefs.h. */
20034
20035 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20036 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20037 # error "fake wchar_t"
20038 #endif
20039 #ifdef HAVE_WCHAR_H
20040 # ifdef __CYGWIN__
20041 # include <stddef.h>
20042 # endif
20043 # include <wchar.h>
20044 #endif
20045 #ifdef HAVE_STDLIB_H
20046 # include <stdlib.h>
20047 #endif
20048 #include <stdio.h>
20049
20050
20051
20052 int
20053 main ()
20054 {
20055 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
20056 test_array [0] = 0
20057
20058 ;
20059 return 0;
20060 }
20061 _ACEOF
20062 rm -f conftest.$ac_objext
20063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20064 (eval $ac_compile) 2>conftest.er1
20065 ac_status=$?
20066 grep -v '^ *+' conftest.er1 >conftest.err
20067 rm -f conftest.er1
20068 cat conftest.err >&5
20069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20070 (exit $ac_status); } &&
20071 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
20077 { ac_try='test -s conftest.$ac_objext'
20078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20079 (eval $ac_try) 2>&5
20080 ac_status=$?
20081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20082 (exit $ac_status); }; }; then
20083 ac_hi=$ac_mid
20084 else
20085 echo "$as_me: failed program was:" >&5
20086 sed 's/^/| /' conftest.$ac_ext >&5
20087
20088 ac_lo=`expr '(' $ac_mid ')' + 1`
20089 fi
20090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20091 done
20092 case $ac_lo in
20093 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
20094 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
20095 See \`config.log' for more details." >&5
20096 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
20097 See \`config.log' for more details." >&2;}
20098 { (exit 1); exit 1; }; } ;;
20099 esac
20100 else
20101 if test "$cross_compiling" = yes; then
20102 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20103 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20104 { (exit 1); exit 1; }; }
20105 else
20106 cat >conftest.$ac_ext <<_ACEOF
20107 /* confdefs.h. */
20108 _ACEOF
20109 cat confdefs.h >>conftest.$ac_ext
20110 cat >>conftest.$ac_ext <<_ACEOF
20111 /* end confdefs.h. */
20112
20113 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20114 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20115 # error "fake wchar_t"
20116 #endif
20117 #ifdef HAVE_WCHAR_H
20118 # ifdef __CYGWIN__
20119 # include <stddef.h>
20120 # endif
20121 # include <wchar.h>
20122 #endif
20123 #ifdef HAVE_STDLIB_H
20124 # include <stdlib.h>
20125 #endif
20126 #include <stdio.h>
20127
20128
20129
20130 long longval () { return (long) (sizeof (wchar_t)); }
20131 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
20132 #include <stdio.h>
20133 #include <stdlib.h>
20134 int
20135 main ()
20136 {
20137
20138 FILE *f = fopen ("conftest.val", "w");
20139 if (! f)
20140 exit (1);
20141 if (((long) (sizeof (wchar_t))) < 0)
20142 {
20143 long i = longval ();
20144 if (i != ((long) (sizeof (wchar_t))))
20145 exit (1);
20146 fprintf (f, "%ld\n", i);
20147 }
20148 else
20149 {
20150 unsigned long i = ulongval ();
20151 if (i != ((long) (sizeof (wchar_t))))
20152 exit (1);
20153 fprintf (f, "%lu\n", i);
20154 }
20155 exit (ferror (f) || fclose (f) != 0);
20156
20157 ;
20158 return 0;
20159 }
20160 _ACEOF
20161 rm -f conftest$ac_exeext
20162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20163 (eval $ac_link) 2>&5
20164 ac_status=$?
20165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20166 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20168 (eval $ac_try) 2>&5
20169 ac_status=$?
20170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20171 (exit $ac_status); }; }; then
20172 ac_cv_sizeof_wchar_t=`cat conftest.val`
20173 else
20174 echo "$as_me: program exited with status $ac_status" >&5
20175 echo "$as_me: failed program was:" >&5
20176 sed 's/^/| /' conftest.$ac_ext >&5
20177
20178 ( exit $ac_status )
20179 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
20180 See \`config.log' for more details." >&5
20181 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
20182 See \`config.log' for more details." >&2;}
20183 { (exit 1); exit 1; }; }
20184 fi
20185 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20186 fi
20187 fi
20188 rm -f conftest.val
20189 else
20190 ac_cv_sizeof_wchar_t=0
20191 fi
20192 fi
20193 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
20194 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
20195 cat >>confdefs.h <<_ACEOF
20196 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
20197 _ACEOF
20198
20199
20200 if test "$ac_cv_sizeof_wchar_t" != "0"; then
20201 wxUSE_WCHAR_T=yes
20202 else
20203 wxUSE_WCHAR_T=no
20204 fi
20205
20206 echo "$as_me:$LINENO: checking for va_copy" >&5
20207 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
20208 if test "${wx_cv_func_va_copy+set}" = set; then
20209 echo $ECHO_N "(cached) $ECHO_C" >&6
20210 else
20211
20212 cat >conftest.$ac_ext <<_ACEOF
20213
20214 #include <stdarg.h>
20215 void foo(char *f, ...)
20216 {
20217 va_list ap1, ap2;
20218 va_start(ap1, f);
20219 va_copy(ap2, ap1);
20220 va_end(ap2);
20221 va_end(ap1);
20222 }
20223 int main()
20224 {
20225 foo("hi", 17);
20226 return 0;
20227 }
20228 _ACEOF
20229 rm -f conftest.$ac_objext conftest$ac_exeext
20230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20231 (eval $ac_link) 2>conftest.er1
20232 ac_status=$?
20233 grep -v '^ *+' conftest.er1 >conftest.err
20234 rm -f conftest.er1
20235 cat conftest.err >&5
20236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20237 (exit $ac_status); } &&
20238 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20240 (eval $ac_try) 2>&5
20241 ac_status=$?
20242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20243 (exit $ac_status); }; } &&
20244 { ac_try='test -s conftest$ac_exeext'
20245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20246 (eval $ac_try) 2>&5
20247 ac_status=$?
20248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20249 (exit $ac_status); }; }; then
20250 wx_cv_func_va_copy=yes
20251 else
20252 echo "$as_me: failed program was:" >&5
20253 sed 's/^/| /' conftest.$ac_ext >&5
20254
20255 wx_cv_func_va_copy=no
20256
20257 fi
20258 rm -f conftest.err conftest.$ac_objext \
20259 conftest$ac_exeext conftest.$ac_ext
20260
20261
20262 fi
20263 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
20264 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
20265
20266 if test $wx_cv_func_va_copy = "yes"; then
20267 cat >>confdefs.h <<\_ACEOF
20268 #define HAVE_VA_COPY 1
20269 _ACEOF
20270
20271 else
20272 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
20273 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
20274 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
20275 echo $ECHO_N "(cached) $ECHO_C" >&6
20276 else
20277
20278 if test "$cross_compiling" = yes; then
20279 wx_cv_type_va_list_lvalue=yes
20280
20281 else
20282 cat >conftest.$ac_ext <<_ACEOF
20283
20284 #include <stdarg.h>
20285 int foo(char *f, ...)
20286 {
20287 va_list ap1, ap2;
20288 va_start(ap1, f);
20289 ap2 = ap1;
20290 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
20291 return 1;
20292 va_end(ap2);
20293 va_end(ap1);
20294 return 0;
20295 }
20296 int main()
20297 {
20298 return foo("hi", 17);
20299 }
20300 _ACEOF
20301 rm -f conftest$ac_exeext
20302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20303 (eval $ac_link) 2>&5
20304 ac_status=$?
20305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20306 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20308 (eval $ac_try) 2>&5
20309 ac_status=$?
20310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20311 (exit $ac_status); }; }; then
20312 wx_cv_type_va_list_lvalue=yes
20313 else
20314 echo "$as_me: program exited with status $ac_status" >&5
20315 echo "$as_me: failed program was:" >&5
20316 sed 's/^/| /' conftest.$ac_ext >&5
20317
20318 ( exit $ac_status )
20319 wx_cv_type_va_list_lvalue=no
20320 fi
20321 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20322 fi
20323
20324
20325 fi
20326 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
20327 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
20328
20329 if test $wx_cv_type_va_list_lvalue != "yes"; then
20330 cat >>confdefs.h <<\_ACEOF
20331 #define VA_LIST_IS_ARRAY 1
20332 _ACEOF
20333
20334 fi
20335 fi
20336
20337 # Check whether --enable-largefile or --disable-largefile was given.
20338 if test "${enable_largefile+set}" = set; then
20339 enableval="$enable_largefile"
20340
20341 fi;
20342 if test "$enable_largefile" != no; then
20343 wx_largefile=no
20344
20345 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
20346 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
20347 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
20348 echo $ECHO_N "(cached) $ECHO_C" >&6
20349 else
20350
20351 cat >conftest.$ac_ext <<_ACEOF
20352 /* confdefs.h. */
20353 _ACEOF
20354 cat confdefs.h >>conftest.$ac_ext
20355 cat >>conftest.$ac_ext <<_ACEOF
20356 /* end confdefs.h. */
20357 #define _FILE_OFFSET_BITS 64
20358 #include <sys/types.h>
20359 int
20360 main ()
20361 {
20362 typedef struct {
20363 unsigned int field: sizeof(off_t) == 8;
20364 } wxlf;
20365
20366 ;
20367 return 0;
20368 }
20369 _ACEOF
20370 rm -f conftest.$ac_objext
20371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20372 (eval $ac_compile) 2>conftest.er1
20373 ac_status=$?
20374 grep -v '^ *+' conftest.er1 >conftest.err
20375 rm -f conftest.er1
20376 cat conftest.err >&5
20377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20378 (exit $ac_status); } &&
20379 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20381 (eval $ac_try) 2>&5
20382 ac_status=$?
20383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20384 (exit $ac_status); }; } &&
20385 { ac_try='test -s conftest.$ac_objext'
20386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20387 (eval $ac_try) 2>&5
20388 ac_status=$?
20389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20390 (exit $ac_status); }; }; then
20391 ac_cv_sys_file_offset_bits=64
20392 else
20393 echo "$as_me: failed program was:" >&5
20394 sed 's/^/| /' conftest.$ac_ext >&5
20395
20396 ac_cv_sys_file_offset_bits=no
20397 fi
20398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20399
20400
20401 fi
20402 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
20403 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
20404
20405 if test "$ac_cv_sys_file_offset_bits" != no; then
20406 wx_largefile=yes
20407 cat >>confdefs.h <<_ACEOF
20408 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
20409 _ACEOF
20410
20411 fi
20412
20413 if test "x$wx_largefile" != "xyes"; then
20414
20415 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
20416 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
20417 if test "${ac_cv_sys_large_files+set}" = set; then
20418 echo $ECHO_N "(cached) $ECHO_C" >&6
20419 else
20420
20421 cat >conftest.$ac_ext <<_ACEOF
20422 /* confdefs.h. */
20423 _ACEOF
20424 cat confdefs.h >>conftest.$ac_ext
20425 cat >>conftest.$ac_ext <<_ACEOF
20426 /* end confdefs.h. */
20427 #define _LARGE_FILES 1
20428 #include <sys/types.h>
20429 int
20430 main ()
20431 {
20432 typedef struct {
20433 unsigned int field: sizeof(off_t) == 8;
20434 } wxlf;
20435
20436 ;
20437 return 0;
20438 }
20439 _ACEOF
20440 rm -f conftest.$ac_objext
20441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20442 (eval $ac_compile) 2>conftest.er1
20443 ac_status=$?
20444 grep -v '^ *+' conftest.er1 >conftest.err
20445 rm -f conftest.er1
20446 cat conftest.err >&5
20447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20448 (exit $ac_status); } &&
20449 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20451 (eval $ac_try) 2>&5
20452 ac_status=$?
20453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20454 (exit $ac_status); }; } &&
20455 { ac_try='test -s conftest.$ac_objext'
20456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20457 (eval $ac_try) 2>&5
20458 ac_status=$?
20459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20460 (exit $ac_status); }; }; then
20461 ac_cv_sys_large_files=1
20462 else
20463 echo "$as_me: failed program was:" >&5
20464 sed 's/^/| /' conftest.$ac_ext >&5
20465
20466 ac_cv_sys_large_files=no
20467 fi
20468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20469
20470
20471 fi
20472 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
20473 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
20474
20475 if test "$ac_cv_sys_large_files" != no; then
20476 wx_largefile=yes
20477 cat >>confdefs.h <<_ACEOF
20478 #define _LARGE_FILES $ac_cv_sys_large_files
20479 _ACEOF
20480
20481 fi
20482
20483 fi
20484
20485 echo "$as_me:$LINENO: checking if large file support is available" >&5
20486 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
20487 if test "x$wx_largefile" = "xyes"; then
20488 cat >>confdefs.h <<\_ACEOF
20489 #define HAVE_LARGEFILE_SUPPORT 1
20490 _ACEOF
20491
20492 fi
20493 echo "$as_me:$LINENO: result: $wx_largefile" >&5
20494 echo "${ECHO_T}$wx_largefile" >&6
20495 fi
20496
20497
20498 if test "x$wx_largefile" = "xyes"; then
20499 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
20500 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
20501
20502 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
20503 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
20504 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
20505 if test "${wx_cv_STDC_EXT_required+set}" = set; then
20506 echo $ECHO_N "(cached) $ECHO_C" >&6
20507 else
20508
20509
20510
20511 ac_ext=cc
20512 ac_cpp='$CXXCPP $CPPFLAGS'
20513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20516
20517 cat >conftest.$ac_ext <<_ACEOF
20518 /* confdefs.h. */
20519 _ACEOF
20520 cat confdefs.h >>conftest.$ac_ext
20521 cat >>conftest.$ac_ext <<_ACEOF
20522 /* end confdefs.h. */
20523
20524 int
20525 main ()
20526 {
20527
20528 #ifndef __STDC_EXT__
20529 choke me
20530 #endif
20531
20532 ;
20533 return 0;
20534 }
20535 _ACEOF
20536 rm -f conftest.$ac_objext
20537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20538 (eval $ac_compile) 2>conftest.er1
20539 ac_status=$?
20540 grep -v '^ *+' conftest.er1 >conftest.err
20541 rm -f conftest.er1
20542 cat conftest.err >&5
20543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20544 (exit $ac_status); } &&
20545 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20547 (eval $ac_try) 2>&5
20548 ac_status=$?
20549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20550 (exit $ac_status); }; } &&
20551 { ac_try='test -s conftest.$ac_objext'
20552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20553 (eval $ac_try) 2>&5
20554 ac_status=$?
20555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20556 (exit $ac_status); }; }; then
20557 wx_cv_STDC_EXT_required=no
20558 else
20559 echo "$as_me: failed program was:" >&5
20560 sed 's/^/| /' conftest.$ac_ext >&5
20561
20562 wx_cv_STDC_EXT_required=yes
20563
20564 fi
20565 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20566 ac_ext=c
20567 ac_cpp='$CPP $CPPFLAGS'
20568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20571
20572
20573
20574 fi
20575 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
20576 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
20577 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
20578 CXXFLAGS="$CXXFLAGS -D__STDC_EXT__"
20579 fi
20580 fi
20581 else
20582 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
20583 fi
20584 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20585 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
20586 if test "${ac_cv_sys_largefile_source+set}" = set; then
20587 echo $ECHO_N "(cached) $ECHO_C" >&6
20588 else
20589 while :; do
20590 ac_cv_sys_largefile_source=no
20591 cat >conftest.$ac_ext <<_ACEOF
20592 /* confdefs.h. */
20593 _ACEOF
20594 cat confdefs.h >>conftest.$ac_ext
20595 cat >>conftest.$ac_ext <<_ACEOF
20596 /* end confdefs.h. */
20597 #include <stdio.h>
20598 int
20599 main ()
20600 {
20601 return !fseeko;
20602 ;
20603 return 0;
20604 }
20605 _ACEOF
20606 rm -f conftest.$ac_objext
20607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20608 (eval $ac_compile) 2>conftest.er1
20609 ac_status=$?
20610 grep -v '^ *+' conftest.er1 >conftest.err
20611 rm -f conftest.er1
20612 cat conftest.err >&5
20613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20614 (exit $ac_status); } &&
20615 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20617 (eval $ac_try) 2>&5
20618 ac_status=$?
20619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20620 (exit $ac_status); }; } &&
20621 { ac_try='test -s conftest.$ac_objext'
20622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20623 (eval $ac_try) 2>&5
20624 ac_status=$?
20625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20626 (exit $ac_status); }; }; then
20627 break
20628 else
20629 echo "$as_me: failed program was:" >&5
20630 sed 's/^/| /' conftest.$ac_ext >&5
20631
20632 fi
20633 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20634 cat >conftest.$ac_ext <<_ACEOF
20635 /* confdefs.h. */
20636 _ACEOF
20637 cat confdefs.h >>conftest.$ac_ext
20638 cat >>conftest.$ac_ext <<_ACEOF
20639 /* end confdefs.h. */
20640 #define _LARGEFILE_SOURCE 1
20641 #include <stdio.h>
20642 int
20643 main ()
20644 {
20645 return !fseeko;
20646 ;
20647 return 0;
20648 }
20649 _ACEOF
20650 rm -f conftest.$ac_objext
20651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20652 (eval $ac_compile) 2>conftest.er1
20653 ac_status=$?
20654 grep -v '^ *+' conftest.er1 >conftest.err
20655 rm -f conftest.er1
20656 cat conftest.err >&5
20657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20658 (exit $ac_status); } &&
20659 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20661 (eval $ac_try) 2>&5
20662 ac_status=$?
20663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20664 (exit $ac_status); }; } &&
20665 { ac_try='test -s conftest.$ac_objext'
20666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20667 (eval $ac_try) 2>&5
20668 ac_status=$?
20669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20670 (exit $ac_status); }; }; then
20671 ac_cv_sys_largefile_source=1; break
20672 else
20673 echo "$as_me: failed program was:" >&5
20674 sed 's/^/| /' conftest.$ac_ext >&5
20675
20676 fi
20677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20678 break
20679 done
20680 fi
20681 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
20682 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
20683 if test "$ac_cv_sys_largefile_source" != no; then
20684
20685 cat >>confdefs.h <<_ACEOF
20686 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
20687 _ACEOF
20688
20689 fi
20690 rm -f conftest*
20691
20692 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
20693 # in glibc 2.1.3, but that breaks too many other things.
20694 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
20695 echo "$as_me:$LINENO: checking for fseeko" >&5
20696 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
20697 if test "${ac_cv_func_fseeko+set}" = set; then
20698 echo $ECHO_N "(cached) $ECHO_C" >&6
20699 else
20700 cat >conftest.$ac_ext <<_ACEOF
20701 /* confdefs.h. */
20702 _ACEOF
20703 cat confdefs.h >>conftest.$ac_ext
20704 cat >>conftest.$ac_ext <<_ACEOF
20705 /* end confdefs.h. */
20706 #include <stdio.h>
20707 int
20708 main ()
20709 {
20710 return fseeko && fseeko (stdin, 0, 0);
20711 ;
20712 return 0;
20713 }
20714 _ACEOF
20715 rm -f conftest.$ac_objext conftest$ac_exeext
20716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20717 (eval $ac_link) 2>conftest.er1
20718 ac_status=$?
20719 grep -v '^ *+' conftest.er1 >conftest.err
20720 rm -f conftest.er1
20721 cat conftest.err >&5
20722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20723 (exit $ac_status); } &&
20724 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20726 (eval $ac_try) 2>&5
20727 ac_status=$?
20728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20729 (exit $ac_status); }; } &&
20730 { ac_try='test -s conftest$ac_exeext'
20731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20732 (eval $ac_try) 2>&5
20733 ac_status=$?
20734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20735 (exit $ac_status); }; }; then
20736 ac_cv_func_fseeko=yes
20737 else
20738 echo "$as_me: failed program was:" >&5
20739 sed 's/^/| /' conftest.$ac_ext >&5
20740
20741 ac_cv_func_fseeko=no
20742 fi
20743 rm -f conftest.err conftest.$ac_objext \
20744 conftest$ac_exeext conftest.$ac_ext
20745 fi
20746 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
20747 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
20748 if test $ac_cv_func_fseeko = yes; then
20749
20750 cat >>confdefs.h <<\_ACEOF
20751 #define HAVE_FSEEKO 1
20752 _ACEOF
20753
20754 fi
20755
20756 if test "$ac_cv_sys_largefile_source" != no; then
20757 WX_LARGEFILE_FLAGS="$WX_LARGEFILE_FLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
20758 fi
20759 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
20760 fi
20761
20762 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20763 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20764 if test "${ac_cv_c_bigendian+set}" = set; then
20765 echo $ECHO_N "(cached) $ECHO_C" >&6
20766 else
20767 ac_cv_c_bigendian=unknown
20768 # See if sys/param.h defines the BYTE_ORDER macro.
20769 cat >conftest.$ac_ext <<_ACEOF
20770 /* confdefs.h. */
20771 _ACEOF
20772 cat confdefs.h >>conftest.$ac_ext
20773 cat >>conftest.$ac_ext <<_ACEOF
20774 /* end confdefs.h. */
20775 #include <sys/types.h>
20776 #include <sys/param.h>
20777 int
20778 main ()
20779 {
20780
20781 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20782 bogus endian macros
20783 #endif
20784 ;
20785 return 0;
20786 }
20787 _ACEOF
20788 rm -f conftest.$ac_objext
20789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20790 (eval $ac_compile) 2>conftest.er1
20791 ac_status=$?
20792 grep -v '^ *+' conftest.er1 >conftest.err
20793 rm -f conftest.er1
20794 cat conftest.err >&5
20795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20796 (exit $ac_status); } &&
20797 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20799 (eval $ac_try) 2>&5
20800 ac_status=$?
20801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20802 (exit $ac_status); }; } &&
20803 { ac_try='test -s conftest.$ac_objext'
20804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20805 (eval $ac_try) 2>&5
20806 ac_status=$?
20807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20808 (exit $ac_status); }; }; then
20809 # It does; now see whether it defined to BIG_ENDIAN or not.
20810 cat >conftest.$ac_ext <<_ACEOF
20811 /* confdefs.h. */
20812 _ACEOF
20813 cat confdefs.h >>conftest.$ac_ext
20814 cat >>conftest.$ac_ext <<_ACEOF
20815 /* end confdefs.h. */
20816 #include <sys/types.h>
20817 #include <sys/param.h>
20818 int
20819 main ()
20820 {
20821
20822 #if BYTE_ORDER != BIG_ENDIAN
20823 not big endian
20824 #endif
20825 ;
20826 return 0;
20827 }
20828 _ACEOF
20829 rm -f conftest.$ac_objext
20830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20831 (eval $ac_compile) 2>conftest.er1
20832 ac_status=$?
20833 grep -v '^ *+' conftest.er1 >conftest.err
20834 rm -f conftest.er1
20835 cat conftest.err >&5
20836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20837 (exit $ac_status); } &&
20838 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20840 (eval $ac_try) 2>&5
20841 ac_status=$?
20842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20843 (exit $ac_status); }; } &&
20844 { ac_try='test -s conftest.$ac_objext'
20845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20846 (eval $ac_try) 2>&5
20847 ac_status=$?
20848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20849 (exit $ac_status); }; }; then
20850 ac_cv_c_bigendian=yes
20851 else
20852 echo "$as_me: failed program was:" >&5
20853 sed 's/^/| /' conftest.$ac_ext >&5
20854
20855 ac_cv_c_bigendian=no
20856 fi
20857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20858 else
20859 echo "$as_me: failed program was:" >&5
20860 sed 's/^/| /' conftest.$ac_ext >&5
20861
20862 fi
20863 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20864 if test $ac_cv_c_bigendian = unknown; then
20865 if test "$cross_compiling" = yes; then
20866 ac_cv_c_bigendian=unknown
20867 else
20868 cat >conftest.$ac_ext <<_ACEOF
20869 /* confdefs.h. */
20870 _ACEOF
20871 cat confdefs.h >>conftest.$ac_ext
20872 cat >>conftest.$ac_ext <<_ACEOF
20873 /* end confdefs.h. */
20874 main () {
20875 /* Are we little or big endian? From Harbison&Steele. */
20876 union
20877 {
20878 long l;
20879 char c[sizeof (long)];
20880 } u;
20881 u.l = 1;
20882 exit (u.c[sizeof (long) - 1] == 1);
20883 }
20884 _ACEOF
20885 rm -f conftest$ac_exeext
20886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20887 (eval $ac_link) 2>&5
20888 ac_status=$?
20889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20890 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20892 (eval $ac_try) 2>&5
20893 ac_status=$?
20894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20895 (exit $ac_status); }; }; then
20896 ac_cv_c_bigendian=no
20897 else
20898 echo "$as_me: program exited with status $ac_status" >&5
20899 echo "$as_me: failed program was:" >&5
20900 sed 's/^/| /' conftest.$ac_ext >&5
20901
20902 ( exit $ac_status )
20903 ac_cv_c_bigendian=yes
20904 fi
20905 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20906 fi
20907 fi
20908 fi
20909 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20910 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20911 if test $ac_cv_c_bigendian = unknown; then
20912 { 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
20913 echo "$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;}
20914 fi
20915 if test $ac_cv_c_bigendian = yes; then
20916 cat >>confdefs.h <<\_ACEOF
20917 #define WORDS_BIGENDIAN 1
20918 _ACEOF
20919
20920 fi
20921
20922
20923 ac_ext=cc
20924 ac_cpp='$CXXCPP $CPPFLAGS'
20925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20928 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
20929 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
20930 if test -z "$CXXCPP"; then
20931 if test "${ac_cv_prog_CXXCPP+set}" = set; then
20932 echo $ECHO_N "(cached) $ECHO_C" >&6
20933 else
20934 # Double quotes because CXXCPP needs to be expanded
20935 for CXXCPP in "$CXX -E" "/lib/cpp"
20936 do
20937 ac_preproc_ok=false
20938 for ac_cxx_preproc_warn_flag in '' yes
20939 do
20940 # Use a header file that comes with gcc, so configuring glibc
20941 # with a fresh cross-compiler works.
20942 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20943 # <limits.h> exists even on freestanding compilers.
20944 # On the NeXT, cc -E runs the code through the compiler's parser,
20945 # not just through cpp. "Syntax error" is here to catch this case.
20946 cat >conftest.$ac_ext <<_ACEOF
20947 /* confdefs.h. */
20948 _ACEOF
20949 cat confdefs.h >>conftest.$ac_ext
20950 cat >>conftest.$ac_ext <<_ACEOF
20951 /* end confdefs.h. */
20952 #ifdef __STDC__
20953 # include <limits.h>
20954 #else
20955 # include <assert.h>
20956 #endif
20957 Syntax error
20958 _ACEOF
20959 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20960 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20961 ac_status=$?
20962 grep -v '^ *+' conftest.er1 >conftest.err
20963 rm -f conftest.er1
20964 cat conftest.err >&5
20965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20966 (exit $ac_status); } >/dev/null; then
20967 if test -s conftest.err; then
20968 ac_cpp_err=$ac_cxx_preproc_warn_flag
20969 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20970 else
20971 ac_cpp_err=
20972 fi
20973 else
20974 ac_cpp_err=yes
20975 fi
20976 if test -z "$ac_cpp_err"; then
20977 :
20978 else
20979 echo "$as_me: failed program was:" >&5
20980 sed 's/^/| /' conftest.$ac_ext >&5
20981
20982 # Broken: fails on valid input.
20983 continue
20984 fi
20985 rm -f conftest.err conftest.$ac_ext
20986
20987 # OK, works on sane cases. Now check whether non-existent headers
20988 # can be detected and how.
20989 cat >conftest.$ac_ext <<_ACEOF
20990 /* confdefs.h. */
20991 _ACEOF
20992 cat confdefs.h >>conftest.$ac_ext
20993 cat >>conftest.$ac_ext <<_ACEOF
20994 /* end confdefs.h. */
20995 #include <ac_nonexistent.h>
20996 _ACEOF
20997 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20998 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20999 ac_status=$?
21000 grep -v '^ *+' conftest.er1 >conftest.err
21001 rm -f conftest.er1
21002 cat conftest.err >&5
21003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21004 (exit $ac_status); } >/dev/null; then
21005 if test -s conftest.err; then
21006 ac_cpp_err=$ac_cxx_preproc_warn_flag
21007 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21008 else
21009 ac_cpp_err=
21010 fi
21011 else
21012 ac_cpp_err=yes
21013 fi
21014 if test -z "$ac_cpp_err"; then
21015 # Broken: success on invalid input.
21016 continue
21017 else
21018 echo "$as_me: failed program was:" >&5
21019 sed 's/^/| /' conftest.$ac_ext >&5
21020
21021 # Passes both tests.
21022 ac_preproc_ok=:
21023 break
21024 fi
21025 rm -f conftest.err conftest.$ac_ext
21026
21027 done
21028 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21029 rm -f conftest.err conftest.$ac_ext
21030 if $ac_preproc_ok; then
21031 break
21032 fi
21033
21034 done
21035 ac_cv_prog_CXXCPP=$CXXCPP
21036
21037 fi
21038 CXXCPP=$ac_cv_prog_CXXCPP
21039 else
21040 ac_cv_prog_CXXCPP=$CXXCPP
21041 fi
21042 echo "$as_me:$LINENO: result: $CXXCPP" >&5
21043 echo "${ECHO_T}$CXXCPP" >&6
21044 ac_preproc_ok=false
21045 for ac_cxx_preproc_warn_flag in '' yes
21046 do
21047 # Use a header file that comes with gcc, so configuring glibc
21048 # with a fresh cross-compiler works.
21049 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21050 # <limits.h> exists even on freestanding compilers.
21051 # On the NeXT, cc -E runs the code through the compiler's parser,
21052 # not just through cpp. "Syntax error" is here to catch this case.
21053 cat >conftest.$ac_ext <<_ACEOF
21054 /* confdefs.h. */
21055 _ACEOF
21056 cat confdefs.h >>conftest.$ac_ext
21057 cat >>conftest.$ac_ext <<_ACEOF
21058 /* end confdefs.h. */
21059 #ifdef __STDC__
21060 # include <limits.h>
21061 #else
21062 # include <assert.h>
21063 #endif
21064 Syntax error
21065 _ACEOF
21066 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21067 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21068 ac_status=$?
21069 grep -v '^ *+' conftest.er1 >conftest.err
21070 rm -f conftest.er1
21071 cat conftest.err >&5
21072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21073 (exit $ac_status); } >/dev/null; then
21074 if test -s conftest.err; then
21075 ac_cpp_err=$ac_cxx_preproc_warn_flag
21076 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21077 else
21078 ac_cpp_err=
21079 fi
21080 else
21081 ac_cpp_err=yes
21082 fi
21083 if test -z "$ac_cpp_err"; then
21084 :
21085 else
21086 echo "$as_me: failed program was:" >&5
21087 sed 's/^/| /' conftest.$ac_ext >&5
21088
21089 # Broken: fails on valid input.
21090 continue
21091 fi
21092 rm -f conftest.err conftest.$ac_ext
21093
21094 # OK, works on sane cases. Now check whether non-existent headers
21095 # can be detected and how.
21096 cat >conftest.$ac_ext <<_ACEOF
21097 /* confdefs.h. */
21098 _ACEOF
21099 cat confdefs.h >>conftest.$ac_ext
21100 cat >>conftest.$ac_ext <<_ACEOF
21101 /* end confdefs.h. */
21102 #include <ac_nonexistent.h>
21103 _ACEOF
21104 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21105 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21106 ac_status=$?
21107 grep -v '^ *+' conftest.er1 >conftest.err
21108 rm -f conftest.er1
21109 cat conftest.err >&5
21110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21111 (exit $ac_status); } >/dev/null; then
21112 if test -s conftest.err; then
21113 ac_cpp_err=$ac_cxx_preproc_warn_flag
21114 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21115 else
21116 ac_cpp_err=
21117 fi
21118 else
21119 ac_cpp_err=yes
21120 fi
21121 if test -z "$ac_cpp_err"; then
21122 # Broken: success on invalid input.
21123 continue
21124 else
21125 echo "$as_me: failed program was:" >&5
21126 sed 's/^/| /' conftest.$ac_ext >&5
21127
21128 # Passes both tests.
21129 ac_preproc_ok=:
21130 break
21131 fi
21132 rm -f conftest.err conftest.$ac_ext
21133
21134 done
21135 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21136 rm -f conftest.err conftest.$ac_ext
21137 if $ac_preproc_ok; then
21138 :
21139 else
21140 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
21141 See \`config.log' for more details." >&5
21142 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
21143 See \`config.log' for more details." >&2;}
21144 { (exit 1); exit 1; }; }
21145 fi
21146
21147 ac_ext=cc
21148 ac_cpp='$CXXCPP $CPPFLAGS'
21149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21152
21153
21154
21155
21156
21157 ac_ext=cc
21158 ac_cpp='$CXXCPP $CPPFLAGS'
21159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21162
21163
21164
21165 for ac_header in iostream
21166 do
21167 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21168 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21169 echo "$as_me:$LINENO: checking for $ac_header" >&5
21170 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21171 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21172 echo $ECHO_N "(cached) $ECHO_C" >&6
21173 fi
21174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21175 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21176 else
21177 # Is the header compilable?
21178 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21179 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21180 cat >conftest.$ac_ext <<_ACEOF
21181 /* confdefs.h. */
21182 _ACEOF
21183 cat confdefs.h >>conftest.$ac_ext
21184 cat >>conftest.$ac_ext <<_ACEOF
21185 /* end confdefs.h. */
21186 $ac_includes_default
21187 #include <$ac_header>
21188 _ACEOF
21189 rm -f conftest.$ac_objext
21190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21191 (eval $ac_compile) 2>conftest.er1
21192 ac_status=$?
21193 grep -v '^ *+' conftest.er1 >conftest.err
21194 rm -f conftest.er1
21195 cat conftest.err >&5
21196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21197 (exit $ac_status); } &&
21198 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21200 (eval $ac_try) 2>&5
21201 ac_status=$?
21202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21203 (exit $ac_status); }; } &&
21204 { ac_try='test -s conftest.$ac_objext'
21205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21206 (eval $ac_try) 2>&5
21207 ac_status=$?
21208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21209 (exit $ac_status); }; }; then
21210 ac_header_compiler=yes
21211 else
21212 echo "$as_me: failed program was:" >&5
21213 sed 's/^/| /' conftest.$ac_ext >&5
21214
21215 ac_header_compiler=no
21216 fi
21217 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21218 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21219 echo "${ECHO_T}$ac_header_compiler" >&6
21220
21221 # Is the header present?
21222 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21223 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21224 cat >conftest.$ac_ext <<_ACEOF
21225 /* confdefs.h. */
21226 _ACEOF
21227 cat confdefs.h >>conftest.$ac_ext
21228 cat >>conftest.$ac_ext <<_ACEOF
21229 /* end confdefs.h. */
21230 #include <$ac_header>
21231 _ACEOF
21232 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21233 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21234 ac_status=$?
21235 grep -v '^ *+' conftest.er1 >conftest.err
21236 rm -f conftest.er1
21237 cat conftest.err >&5
21238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21239 (exit $ac_status); } >/dev/null; then
21240 if test -s conftest.err; then
21241 ac_cpp_err=$ac_cxx_preproc_warn_flag
21242 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21243 else
21244 ac_cpp_err=
21245 fi
21246 else
21247 ac_cpp_err=yes
21248 fi
21249 if test -z "$ac_cpp_err"; then
21250 ac_header_preproc=yes
21251 else
21252 echo "$as_me: failed program was:" >&5
21253 sed 's/^/| /' conftest.$ac_ext >&5
21254
21255 ac_header_preproc=no
21256 fi
21257 rm -f conftest.err conftest.$ac_ext
21258 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21259 echo "${ECHO_T}$ac_header_preproc" >&6
21260
21261 # So? What about this header?
21262 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21263 yes:no: )
21264 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21265 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21266 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21267 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21268 ac_header_preproc=yes
21269 ;;
21270 no:yes:* )
21271 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21272 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21273 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21274 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21275 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21276 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21277 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21278 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21279 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21280 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21281 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21282 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21283 (
21284 cat <<\_ASBOX
21285 ## ----------------------------------------- ##
21286 ## Report this to wx-dev@lists.wxwidgets.org ##
21287 ## ----------------------------------------- ##
21288 _ASBOX
21289 ) |
21290 sed "s/^/$as_me: WARNING: /" >&2
21291 ;;
21292 esac
21293 echo "$as_me:$LINENO: checking for $ac_header" >&5
21294 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21295 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21296 echo $ECHO_N "(cached) $ECHO_C" >&6
21297 else
21298 eval "$as_ac_Header=\$ac_header_preproc"
21299 fi
21300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21301 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21302
21303 fi
21304 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21305 cat >>confdefs.h <<_ACEOF
21306 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21307 _ACEOF
21308
21309 fi
21310
21311 done
21312
21313
21314 if test "$ac_cv_header_iostream" = "yes" ; then
21315 :
21316 else
21317 cat >>confdefs.h <<\_ACEOF
21318 #define wxUSE_IOSTREAMH 1
21319 _ACEOF
21320
21321 fi
21322
21323 ac_ext=c
21324 ac_cpp='$CPP $CPPFLAGS'
21325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21328
21329
21330
21331
21332 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
21333 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
21334 if test "${wx_cv_cpp_bool+set}" = set; then
21335 echo $ECHO_N "(cached) $ECHO_C" >&6
21336 else
21337
21338
21339
21340 ac_ext=cc
21341 ac_cpp='$CXXCPP $CPPFLAGS'
21342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21345
21346
21347 cat >conftest.$ac_ext <<_ACEOF
21348 /* confdefs.h. */
21349 _ACEOF
21350 cat confdefs.h >>conftest.$ac_ext
21351 cat >>conftest.$ac_ext <<_ACEOF
21352 /* end confdefs.h. */
21353
21354
21355 int
21356 main ()
21357 {
21358
21359 bool b = true;
21360
21361 return 0;
21362
21363 ;
21364 return 0;
21365 }
21366 _ACEOF
21367 rm -f conftest.$ac_objext
21368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21369 (eval $ac_compile) 2>conftest.er1
21370 ac_status=$?
21371 grep -v '^ *+' conftest.er1 >conftest.err
21372 rm -f conftest.er1
21373 cat conftest.err >&5
21374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21375 (exit $ac_status); } &&
21376 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21378 (eval $ac_try) 2>&5
21379 ac_status=$?
21380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21381 (exit $ac_status); }; } &&
21382 { ac_try='test -s conftest.$ac_objext'
21383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21384 (eval $ac_try) 2>&5
21385 ac_status=$?
21386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21387 (exit $ac_status); }; }; then
21388
21389 wx_cv_cpp_bool=yes
21390
21391 else
21392 echo "$as_me: failed program was:" >&5
21393 sed 's/^/| /' conftest.$ac_ext >&5
21394
21395
21396 wx_cv_cpp_bool=no
21397
21398
21399 fi
21400 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21401
21402 ac_ext=c
21403 ac_cpp='$CPP $CPPFLAGS'
21404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21407
21408
21409 fi
21410 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
21411 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
21412
21413 if test "$wx_cv_cpp_bool" = "yes"; then
21414 cat >>confdefs.h <<\_ACEOF
21415 #define HAVE_BOOL 1
21416 _ACEOF
21417
21418 fi
21419
21420
21421
21422 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
21423 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
21424 if test "${wx_cv_explicit+set}" = set; then
21425 echo $ECHO_N "(cached) $ECHO_C" >&6
21426 else
21427
21428
21429
21430 ac_ext=cc
21431 ac_cpp='$CXXCPP $CPPFLAGS'
21432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21435
21436
21437 cat >conftest.$ac_ext <<_ACEOF
21438 /* confdefs.h. */
21439 _ACEOF
21440 cat confdefs.h >>conftest.$ac_ext
21441 cat >>conftest.$ac_ext <<_ACEOF
21442 /* end confdefs.h. */
21443
21444 class Foo { public: explicit Foo(int) {} };
21445
21446 int
21447 main ()
21448 {
21449
21450 return 0;
21451
21452 ;
21453 return 0;
21454 }
21455 _ACEOF
21456 rm -f conftest.$ac_objext
21457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21458 (eval $ac_compile) 2>conftest.er1
21459 ac_status=$?
21460 grep -v '^ *+' conftest.er1 >conftest.err
21461 rm -f conftest.er1
21462 cat conftest.err >&5
21463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21464 (exit $ac_status); } &&
21465 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21467 (eval $ac_try) 2>&5
21468 ac_status=$?
21469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21470 (exit $ac_status); }; } &&
21471 { ac_try='test -s conftest.$ac_objext'
21472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21473 (eval $ac_try) 2>&5
21474 ac_status=$?
21475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21476 (exit $ac_status); }; }; then
21477
21478 cat >conftest.$ac_ext <<_ACEOF
21479 /* confdefs.h. */
21480 _ACEOF
21481 cat confdefs.h >>conftest.$ac_ext
21482 cat >>conftest.$ac_ext <<_ACEOF
21483 /* end confdefs.h. */
21484
21485 class Foo { public: explicit Foo(int) {} };
21486 static void TakeFoo(const Foo& foo) { }
21487
21488 int
21489 main ()
21490 {
21491
21492 TakeFoo(17);
21493 return 0;
21494
21495 ;
21496 return 0;
21497 }
21498 _ACEOF
21499 rm -f conftest.$ac_objext
21500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21501 (eval $ac_compile) 2>conftest.er1
21502 ac_status=$?
21503 grep -v '^ *+' conftest.er1 >conftest.err
21504 rm -f conftest.er1
21505 cat conftest.err >&5
21506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21507 (exit $ac_status); } &&
21508 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21510 (eval $ac_try) 2>&5
21511 ac_status=$?
21512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21513 (exit $ac_status); }; } &&
21514 { ac_try='test -s conftest.$ac_objext'
21515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21516 (eval $ac_try) 2>&5
21517 ac_status=$?
21518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21519 (exit $ac_status); }; }; then
21520 wx_cv_explicit=no
21521 else
21522 echo "$as_me: failed program was:" >&5
21523 sed 's/^/| /' conftest.$ac_ext >&5
21524
21525 wx_cv_explicit=yes
21526
21527 fi
21528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21529
21530 else
21531 echo "$as_me: failed program was:" >&5
21532 sed 's/^/| /' conftest.$ac_ext >&5
21533
21534 wx_cv_explicit=no
21535
21536 fi
21537 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21538
21539 ac_ext=c
21540 ac_cpp='$CPP $CPPFLAGS'
21541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21544
21545
21546 fi
21547 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
21548 echo "${ECHO_T}$wx_cv_explicit" >&6
21549
21550 if test "$wx_cv_explicit" = "yes"; then
21551 cat >>confdefs.h <<\_ACEOF
21552 #define HAVE_EXPLICIT 1
21553 _ACEOF
21554
21555 fi
21556
21557
21558 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
21559 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
21560 if test "${ac_cv_cxx_const_cast+set}" = set; then
21561 echo $ECHO_N "(cached) $ECHO_C" >&6
21562 else
21563
21564
21565 ac_ext=cc
21566 ac_cpp='$CXXCPP $CPPFLAGS'
21567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21570
21571 cat >conftest.$ac_ext <<_ACEOF
21572 /* confdefs.h. */
21573 _ACEOF
21574 cat confdefs.h >>conftest.$ac_ext
21575 cat >>conftest.$ac_ext <<_ACEOF
21576 /* end confdefs.h. */
21577
21578 int
21579 main ()
21580 {
21581 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
21582 ;
21583 return 0;
21584 }
21585 _ACEOF
21586 rm -f conftest.$ac_objext
21587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21588 (eval $ac_compile) 2>conftest.er1
21589 ac_status=$?
21590 grep -v '^ *+' conftest.er1 >conftest.err
21591 rm -f conftest.er1
21592 cat conftest.err >&5
21593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21594 (exit $ac_status); } &&
21595 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21597 (eval $ac_try) 2>&5
21598 ac_status=$?
21599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21600 (exit $ac_status); }; } &&
21601 { ac_try='test -s conftest.$ac_objext'
21602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21603 (eval $ac_try) 2>&5
21604 ac_status=$?
21605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21606 (exit $ac_status); }; }; then
21607 ac_cv_cxx_const_cast=yes
21608 else
21609 echo "$as_me: failed program was:" >&5
21610 sed 's/^/| /' conftest.$ac_ext >&5
21611
21612 ac_cv_cxx_const_cast=no
21613 fi
21614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21615 ac_ext=c
21616 ac_cpp='$CPP $CPPFLAGS'
21617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21620
21621
21622 fi
21623 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
21624 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
21625 if test "$ac_cv_cxx_const_cast" = yes; then
21626
21627 cat >>confdefs.h <<\_ACEOF
21628 #define HAVE_CONST_CAST
21629 _ACEOF
21630
21631 fi
21632
21633 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
21634 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
21635 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
21636 echo $ECHO_N "(cached) $ECHO_C" >&6
21637 else
21638
21639
21640 ac_ext=cc
21641 ac_cpp='$CXXCPP $CPPFLAGS'
21642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21645
21646 cat >conftest.$ac_ext <<_ACEOF
21647 /* confdefs.h. */
21648 _ACEOF
21649 cat confdefs.h >>conftest.$ac_ext
21650 cat >>conftest.$ac_ext <<_ACEOF
21651 /* end confdefs.h. */
21652 #include <typeinfo>
21653 class Base { public : Base () {} virtual void f () = 0;};
21654 class Derived : public Base { public : Derived () {} virtual void f () {} };
21655 class Unrelated { public : Unrelated () {} };
21656 int g (Unrelated&) { return 0; }
21657 int
21658 main ()
21659 {
21660
21661 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
21662 ;
21663 return 0;
21664 }
21665 _ACEOF
21666 rm -f conftest.$ac_objext
21667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21668 (eval $ac_compile) 2>conftest.er1
21669 ac_status=$?
21670 grep -v '^ *+' conftest.er1 >conftest.err
21671 rm -f conftest.er1
21672 cat conftest.err >&5
21673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21674 (exit $ac_status); } &&
21675 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21677 (eval $ac_try) 2>&5
21678 ac_status=$?
21679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21680 (exit $ac_status); }; } &&
21681 { ac_try='test -s conftest.$ac_objext'
21682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21683 (eval $ac_try) 2>&5
21684 ac_status=$?
21685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21686 (exit $ac_status); }; }; then
21687 ac_cv_cxx_reinterpret_cast=yes
21688 else
21689 echo "$as_me: failed program was:" >&5
21690 sed 's/^/| /' conftest.$ac_ext >&5
21691
21692 ac_cv_cxx_reinterpret_cast=no
21693 fi
21694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21695 ac_ext=c
21696 ac_cpp='$CPP $CPPFLAGS'
21697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21700
21701
21702 fi
21703 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
21704 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
21705 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
21706
21707 cat >>confdefs.h <<\_ACEOF
21708 #define HAVE_REINTERPRET_CAST
21709 _ACEOF
21710
21711 fi
21712
21713 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
21714 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
21715 if test "${ac_cv_cxx_static_cast+set}" = set; then
21716 echo $ECHO_N "(cached) $ECHO_C" >&6
21717 else
21718
21719
21720 ac_ext=cc
21721 ac_cpp='$CXXCPP $CPPFLAGS'
21722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21725
21726 cat >conftest.$ac_ext <<_ACEOF
21727 /* confdefs.h. */
21728 _ACEOF
21729 cat confdefs.h >>conftest.$ac_ext
21730 cat >>conftest.$ac_ext <<_ACEOF
21731 /* end confdefs.h. */
21732 #include <typeinfo>
21733 class Base { public : Base () {} virtual void f () = 0; };
21734 class Derived : public Base { public : Derived () {} virtual void f () {} };
21735 int g (Derived&) { return 0; }
21736 int
21737 main ()
21738 {
21739
21740 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
21741 ;
21742 return 0;
21743 }
21744 _ACEOF
21745 rm -f conftest.$ac_objext
21746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21747 (eval $ac_compile) 2>conftest.er1
21748 ac_status=$?
21749 grep -v '^ *+' conftest.er1 >conftest.err
21750 rm -f conftest.er1
21751 cat conftest.err >&5
21752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21753 (exit $ac_status); } &&
21754 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21756 (eval $ac_try) 2>&5
21757 ac_status=$?
21758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21759 (exit $ac_status); }; } &&
21760 { ac_try='test -s conftest.$ac_objext'
21761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21762 (eval $ac_try) 2>&5
21763 ac_status=$?
21764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21765 (exit $ac_status); }; }; then
21766 ac_cv_cxx_static_cast=yes
21767 else
21768 echo "$as_me: failed program was:" >&5
21769 sed 's/^/| /' conftest.$ac_ext >&5
21770
21771 ac_cv_cxx_static_cast=no
21772 fi
21773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21774 ac_ext=c
21775 ac_cpp='$CPP $CPPFLAGS'
21776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21779
21780
21781 fi
21782 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
21783 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
21784 if test "$ac_cv_cxx_static_cast" = yes; then
21785
21786 cat >>confdefs.h <<\_ACEOF
21787 #define HAVE_STATIC_CAST
21788 _ACEOF
21789
21790 fi
21791
21792
21793 if test "x$SUNCXX" = xyes; then
21794 CXXFLAGS="$CXXFLAGS -features=tmplife"
21795 fi
21796
21797 if test "x$SUNCC" = xyes; then
21798 CFLAGS="$CFLAGS -erroff=E_NO_EXPLICIT_TYPE_GIVEN"
21799 fi
21800
21801 if test "x$SGICC" = "xyes"; then
21802 CFLAGS="$CFLAGS -woff 3970"
21803 fi
21804 if test "x$SGICXX" = "xyes"; then
21805 CXXFLAGS="$CXXFLAGS -woff 3970"
21806 fi
21807
21808 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
21809 ac_ext=cc
21810 ac_cpp='$CXXCPP $CPPFLAGS'
21811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21814
21815
21816 if test "$wxUSE_UNICODE" = "yes"; then
21817 std_string="std::wstring"
21818 char_type="wchar_t"
21819 else
21820 std_string="std::string"
21821 char_type="char"
21822 fi
21823
21824 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
21825 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
21826 cat >conftest.$ac_ext <<_ACEOF
21827 /* confdefs.h. */
21828 _ACEOF
21829 cat confdefs.h >>conftest.$ac_ext
21830 cat >>conftest.$ac_ext <<_ACEOF
21831 /* end confdefs.h. */
21832 #include <string>
21833 int
21834 main ()
21835 {
21836 $std_string foo;
21837 ;
21838 return 0;
21839 }
21840 _ACEOF
21841 rm -f conftest.$ac_objext
21842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21843 (eval $ac_compile) 2>conftest.er1
21844 ac_status=$?
21845 grep -v '^ *+' conftest.er1 >conftest.err
21846 rm -f conftest.er1
21847 cat conftest.err >&5
21848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21849 (exit $ac_status); } &&
21850 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21852 (eval $ac_try) 2>&5
21853 ac_status=$?
21854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21855 (exit $ac_status); }; } &&
21856 { ac_try='test -s conftest.$ac_objext'
21857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21858 (eval $ac_try) 2>&5
21859 ac_status=$?
21860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21861 (exit $ac_status); }; }; then
21862 echo "$as_me:$LINENO: result: yes" >&5
21863 echo "${ECHO_T}yes" >&6
21864 cat >>confdefs.h <<\_ACEOF
21865 #define HAVE_STD_WSTRING 1
21866 _ACEOF
21867
21868 else
21869 echo "$as_me: failed program was:" >&5
21870 sed 's/^/| /' conftest.$ac_ext >&5
21871
21872 echo "$as_me:$LINENO: result: no" >&5
21873 echo "${ECHO_T}no" >&6
21874 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
21875 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
21876 cat >conftest.$ac_ext <<_ACEOF
21877 /* confdefs.h. */
21878 _ACEOF
21879 cat confdefs.h >>conftest.$ac_ext
21880 cat >>conftest.$ac_ext <<_ACEOF
21881 /* end confdefs.h. */
21882
21883 #ifdef HAVE_WCHAR_H
21884 # ifdef __CYGWIN__
21885 # include <stddef.h>
21886 # endif
21887 # include <wchar.h>
21888 #endif
21889 #ifdef HAVE_STDLIB_H
21890 # include <stdlib.h>
21891 #endif
21892 #include <stdio.h>
21893 #include <string>
21894
21895 int
21896 main ()
21897 {
21898 std::basic_string<$char_type> foo;
21899 const $char_type* dummy = foo.c_str();
21900 ;
21901 return 0;
21902 }
21903 _ACEOF
21904 rm -f conftest.$ac_objext
21905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21906 (eval $ac_compile) 2>conftest.er1
21907 ac_status=$?
21908 grep -v '^ *+' conftest.er1 >conftest.err
21909 rm -f conftest.er1
21910 cat conftest.err >&5
21911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21912 (exit $ac_status); } &&
21913 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21915 (eval $ac_try) 2>&5
21916 ac_status=$?
21917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21918 (exit $ac_status); }; } &&
21919 { ac_try='test -s conftest.$ac_objext'
21920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21921 (eval $ac_try) 2>&5
21922 ac_status=$?
21923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21924 (exit $ac_status); }; }; then
21925 echo "$as_me:$LINENO: result: yes" >&5
21926 echo "${ECHO_T}yes" >&6
21927 else
21928 echo "$as_me: failed program was:" >&5
21929 sed 's/^/| /' conftest.$ac_ext >&5
21930
21931 echo "$as_me:$LINENO: result: no" >&5
21932 echo "${ECHO_T}no" >&6
21933 if test "$wxUSE_STL" = "yes"; then
21934 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
21935 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
21936 { (exit 1); exit 1; }; }
21937 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
21938 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
21939 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
21940 { (exit 1); exit 1; }; }
21941 else
21942 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
21943 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
21944 wxUSE_STD_STRING=no
21945 fi
21946
21947
21948 fi
21949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21950
21951 fi
21952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21953
21954 ac_ext=c
21955 ac_cpp='$CPP $CPPFLAGS'
21956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21959
21960 fi
21961
21962 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21963 ac_ext=cc
21964 ac_cpp='$CXXCPP $CPPFLAGS'
21965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21968
21969
21970 echo "$as_me:$LINENO: checking for std::istream" >&5
21971 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
21972 if test "${ac_cv_type_std__istream+set}" = set; then
21973 echo $ECHO_N "(cached) $ECHO_C" >&6
21974 else
21975 cat >conftest.$ac_ext <<_ACEOF
21976 /* confdefs.h. */
21977 _ACEOF
21978 cat confdefs.h >>conftest.$ac_ext
21979 cat >>conftest.$ac_ext <<_ACEOF
21980 /* end confdefs.h. */
21981 #include <iostream>
21982
21983 int
21984 main ()
21985 {
21986 if ((std::istream *) 0)
21987 return 0;
21988 if (sizeof (std::istream))
21989 return 0;
21990 ;
21991 return 0;
21992 }
21993 _ACEOF
21994 rm -f conftest.$ac_objext
21995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21996 (eval $ac_compile) 2>conftest.er1
21997 ac_status=$?
21998 grep -v '^ *+' conftest.er1 >conftest.err
21999 rm -f conftest.er1
22000 cat conftest.err >&5
22001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22002 (exit $ac_status); } &&
22003 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22005 (eval $ac_try) 2>&5
22006 ac_status=$?
22007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22008 (exit $ac_status); }; } &&
22009 { ac_try='test -s conftest.$ac_objext'
22010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22011 (eval $ac_try) 2>&5
22012 ac_status=$?
22013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22014 (exit $ac_status); }; }; then
22015 ac_cv_type_std__istream=yes
22016 else
22017 echo "$as_me: failed program was:" >&5
22018 sed 's/^/| /' conftest.$ac_ext >&5
22019
22020 ac_cv_type_std__istream=no
22021 fi
22022 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22023 fi
22024 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
22025 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
22026 if test $ac_cv_type_std__istream = yes; then
22027
22028 cat >>confdefs.h <<_ACEOF
22029 #define HAVE_STD__ISTREAM 1
22030 _ACEOF
22031
22032
22033 else
22034 wxUSE_STD_IOSTREAM=no
22035 fi
22036 echo "$as_me:$LINENO: checking for std::ostream" >&5
22037 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
22038 if test "${ac_cv_type_std__ostream+set}" = set; then
22039 echo $ECHO_N "(cached) $ECHO_C" >&6
22040 else
22041 cat >conftest.$ac_ext <<_ACEOF
22042 /* confdefs.h. */
22043 _ACEOF
22044 cat confdefs.h >>conftest.$ac_ext
22045 cat >>conftest.$ac_ext <<_ACEOF
22046 /* end confdefs.h. */
22047 #include <iostream>
22048
22049 int
22050 main ()
22051 {
22052 if ((std::ostream *) 0)
22053 return 0;
22054 if (sizeof (std::ostream))
22055 return 0;
22056 ;
22057 return 0;
22058 }
22059 _ACEOF
22060 rm -f conftest.$ac_objext
22061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22062 (eval $ac_compile) 2>conftest.er1
22063 ac_status=$?
22064 grep -v '^ *+' conftest.er1 >conftest.err
22065 rm -f conftest.er1
22066 cat conftest.err >&5
22067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22068 (exit $ac_status); } &&
22069 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22071 (eval $ac_try) 2>&5
22072 ac_status=$?
22073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22074 (exit $ac_status); }; } &&
22075 { ac_try='test -s conftest.$ac_objext'
22076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22077 (eval $ac_try) 2>&5
22078 ac_status=$?
22079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22080 (exit $ac_status); }; }; then
22081 ac_cv_type_std__ostream=yes
22082 else
22083 echo "$as_me: failed program was:" >&5
22084 sed 's/^/| /' conftest.$ac_ext >&5
22085
22086 ac_cv_type_std__ostream=no
22087 fi
22088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22089 fi
22090 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
22091 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
22092 if test $ac_cv_type_std__ostream = yes; then
22093
22094 cat >>confdefs.h <<_ACEOF
22095 #define HAVE_STD__OSTREAM 1
22096 _ACEOF
22097
22098
22099 else
22100 wxUSE_STD_IOSTREAM=no
22101 fi
22102
22103
22104 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
22105 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
22106 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
22107 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
22108 { (exit 1); exit 1; }; }
22109 else
22110 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
22111 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
22112 fi
22113 fi
22114
22115 ac_ext=c
22116 ac_cpp='$CPP $CPPFLAGS'
22117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22120
22121 fi
22122
22123 if test "$wxUSE_STL" = "yes"; then
22124 ac_ext=cc
22125 ac_cpp='$CXXCPP $CPPFLAGS'
22126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22129
22130
22131 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
22132 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
22133 cat >conftest.$ac_ext <<_ACEOF
22134 /* confdefs.h. */
22135 _ACEOF
22136 cat confdefs.h >>conftest.$ac_ext
22137 cat >>conftest.$ac_ext <<_ACEOF
22138 /* end confdefs.h. */
22139 #include <string>
22140 #include <functional>
22141 #include <algorithm>
22142 #include <vector>
22143 #include <list>
22144 int
22145 main ()
22146 {
22147 std::vector<int> moo;
22148 std::list<int> foo;
22149 std::vector<int>::iterator it =
22150 std::find_if(moo.begin(), moo.end(),
22151 std::bind2nd(std::less<int>(), 3));
22152 ;
22153 return 0;
22154 }
22155 _ACEOF
22156 rm -f conftest.$ac_objext
22157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22158 (eval $ac_compile) 2>conftest.er1
22159 ac_status=$?
22160 grep -v '^ *+' conftest.er1 >conftest.err
22161 rm -f conftest.er1
22162 cat conftest.err >&5
22163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22164 (exit $ac_status); } &&
22165 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22167 (eval $ac_try) 2>&5
22168 ac_status=$?
22169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22170 (exit $ac_status); }; } &&
22171 { ac_try='test -s conftest.$ac_objext'
22172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22173 (eval $ac_try) 2>&5
22174 ac_status=$?
22175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22176 (exit $ac_status); }; }; then
22177 echo "$as_me:$LINENO: result: yes" >&5
22178 echo "${ECHO_T}yes" >&6
22179 else
22180 echo "$as_me: failed program was:" >&5
22181 sed 's/^/| /' conftest.$ac_ext >&5
22182
22183 echo "$as_me:$LINENO: result: no" >&5
22184 echo "${ECHO_T}no" >&6
22185 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
22186 echo "$as_me: error: Basic STL functionality missing" >&2;}
22187 { (exit 1); exit 1; }; }
22188 fi
22189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22190
22191 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
22192 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
22193 cat >conftest.$ac_ext <<_ACEOF
22194 /* confdefs.h. */
22195 _ACEOF
22196 cat confdefs.h >>conftest.$ac_ext
22197 cat >>conftest.$ac_ext <<_ACEOF
22198 /* end confdefs.h. */
22199 #include <string>
22200 int
22201 main ()
22202 {
22203 std::string foo, bar;
22204 foo.compare(bar);
22205 foo.compare(1, 1, bar);
22206 foo.compare(1, 1, bar, 1, 1);
22207 foo.compare("");
22208 foo.compare(1, 1, "");
22209 foo.compare(1, 1, "", 2);
22210 ;
22211 return 0;
22212 }
22213 _ACEOF
22214 rm -f conftest.$ac_objext
22215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22216 (eval $ac_compile) 2>conftest.er1
22217 ac_status=$?
22218 grep -v '^ *+' conftest.er1 >conftest.err
22219 rm -f conftest.er1
22220 cat conftest.err >&5
22221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22222 (exit $ac_status); } &&
22223 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22225 (eval $ac_try) 2>&5
22226 ac_status=$?
22227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22228 (exit $ac_status); }; } &&
22229 { ac_try='test -s conftest.$ac_objext'
22230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22231 (eval $ac_try) 2>&5
22232 ac_status=$?
22233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22234 (exit $ac_status); }; }; then
22235 echo "$as_me:$LINENO: result: yes" >&5
22236 echo "${ECHO_T}yes" >&6
22237 cat >>confdefs.h <<\_ACEOF
22238 #define HAVE_STD_STRING_COMPARE 1
22239 _ACEOF
22240
22241 else
22242 echo "$as_me: failed program was:" >&5
22243 sed 's/^/| /' conftest.$ac_ext >&5
22244
22245 echo "$as_me:$LINENO: result: no" >&5
22246 echo "${ECHO_T}no" >&6
22247 fi
22248 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22249
22250 if test "${ac_cv_header_hash_map+set}" = set; then
22251 echo "$as_me:$LINENO: checking for hash_map" >&5
22252 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
22253 if test "${ac_cv_header_hash_map+set}" = set; then
22254 echo $ECHO_N "(cached) $ECHO_C" >&6
22255 fi
22256 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
22257 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
22258 else
22259 # Is the header compilable?
22260 echo "$as_me:$LINENO: checking hash_map usability" >&5
22261 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
22262 cat >conftest.$ac_ext <<_ACEOF
22263 /* confdefs.h. */
22264 _ACEOF
22265 cat confdefs.h >>conftest.$ac_ext
22266 cat >>conftest.$ac_ext <<_ACEOF
22267 /* end confdefs.h. */
22268 $ac_includes_default
22269 #include <hash_map>
22270 _ACEOF
22271 rm -f conftest.$ac_objext
22272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22273 (eval $ac_compile) 2>conftest.er1
22274 ac_status=$?
22275 grep -v '^ *+' conftest.er1 >conftest.err
22276 rm -f conftest.er1
22277 cat conftest.err >&5
22278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22279 (exit $ac_status); } &&
22280 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22282 (eval $ac_try) 2>&5
22283 ac_status=$?
22284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22285 (exit $ac_status); }; } &&
22286 { ac_try='test -s conftest.$ac_objext'
22287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22288 (eval $ac_try) 2>&5
22289 ac_status=$?
22290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22291 (exit $ac_status); }; }; then
22292 ac_header_compiler=yes
22293 else
22294 echo "$as_me: failed program was:" >&5
22295 sed 's/^/| /' conftest.$ac_ext >&5
22296
22297 ac_header_compiler=no
22298 fi
22299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22300 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22301 echo "${ECHO_T}$ac_header_compiler" >&6
22302
22303 # Is the header present?
22304 echo "$as_me:$LINENO: checking hash_map presence" >&5
22305 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
22306 cat >conftest.$ac_ext <<_ACEOF
22307 /* confdefs.h. */
22308 _ACEOF
22309 cat confdefs.h >>conftest.$ac_ext
22310 cat >>conftest.$ac_ext <<_ACEOF
22311 /* end confdefs.h. */
22312 #include <hash_map>
22313 _ACEOF
22314 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22315 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22316 ac_status=$?
22317 grep -v '^ *+' conftest.er1 >conftest.err
22318 rm -f conftest.er1
22319 cat conftest.err >&5
22320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22321 (exit $ac_status); } >/dev/null; then
22322 if test -s conftest.err; then
22323 ac_cpp_err=$ac_cxx_preproc_warn_flag
22324 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22325 else
22326 ac_cpp_err=
22327 fi
22328 else
22329 ac_cpp_err=yes
22330 fi
22331 if test -z "$ac_cpp_err"; then
22332 ac_header_preproc=yes
22333 else
22334 echo "$as_me: failed program was:" >&5
22335 sed 's/^/| /' conftest.$ac_ext >&5
22336
22337 ac_header_preproc=no
22338 fi
22339 rm -f conftest.err conftest.$ac_ext
22340 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22341 echo "${ECHO_T}$ac_header_preproc" >&6
22342
22343 # So? What about this header?
22344 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22345 yes:no: )
22346 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
22347 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
22348 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
22349 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
22350 ac_header_preproc=yes
22351 ;;
22352 no:yes:* )
22353 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
22354 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
22355 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
22356 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
22357 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
22358 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
22359 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
22360 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
22361 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
22362 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
22363 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
22364 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
22365 (
22366 cat <<\_ASBOX
22367 ## ----------------------------------------- ##
22368 ## Report this to wx-dev@lists.wxwidgets.org ##
22369 ## ----------------------------------------- ##
22370 _ASBOX
22371 ) |
22372 sed "s/^/$as_me: WARNING: /" >&2
22373 ;;
22374 esac
22375 echo "$as_me:$LINENO: checking for hash_map" >&5
22376 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
22377 if test "${ac_cv_header_hash_map+set}" = set; then
22378 echo $ECHO_N "(cached) $ECHO_C" >&6
22379 else
22380 ac_cv_header_hash_map=$ac_header_preproc
22381 fi
22382 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
22383 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
22384
22385 fi
22386 if test $ac_cv_header_hash_map = yes; then
22387 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
22388 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
22389 cat >conftest.$ac_ext <<_ACEOF
22390 /* confdefs.h. */
22391 _ACEOF
22392 cat confdefs.h >>conftest.$ac_ext
22393 cat >>conftest.$ac_ext <<_ACEOF
22394 /* end confdefs.h. */
22395 #include <hash_map>
22396 #include <hash_set>
22397 int
22398 main ()
22399 {
22400 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
22401 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
22402 ;
22403 return 0;
22404 }
22405 _ACEOF
22406 rm -f conftest.$ac_objext
22407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22408 (eval $ac_compile) 2>conftest.er1
22409 ac_status=$?
22410 grep -v '^ *+' conftest.er1 >conftest.err
22411 rm -f conftest.er1
22412 cat conftest.err >&5
22413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22414 (exit $ac_status); } &&
22415 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22417 (eval $ac_try) 2>&5
22418 ac_status=$?
22419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22420 (exit $ac_status); }; } &&
22421 { ac_try='test -s conftest.$ac_objext'
22422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22423 (eval $ac_try) 2>&5
22424 ac_status=$?
22425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22426 (exit $ac_status); }; }; then
22427 echo "$as_me:$LINENO: result: yes" >&5
22428 echo "${ECHO_T}yes" >&6
22429 cat >>confdefs.h <<\_ACEOF
22430 #define HAVE_HASH_MAP 1
22431 _ACEOF
22432
22433 cat >>confdefs.h <<\_ACEOF
22434 #define HAVE_STD_HASH_MAP 1
22435 _ACEOF
22436
22437 else
22438 echo "$as_me: failed program was:" >&5
22439 sed 's/^/| /' conftest.$ac_ext >&5
22440
22441 echo "$as_me:$LINENO: result: no" >&5
22442 echo "${ECHO_T}no" >&6
22443 fi
22444 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22445
22446 fi
22447
22448
22449
22450 if test "${ac_cv_header_ext_hash_map+set}" = set; then
22451 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
22452 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
22453 if test "${ac_cv_header_ext_hash_map+set}" = set; then
22454 echo $ECHO_N "(cached) $ECHO_C" >&6
22455 fi
22456 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
22457 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
22458 else
22459 # Is the header compilable?
22460 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
22461 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
22462 cat >conftest.$ac_ext <<_ACEOF
22463 /* confdefs.h. */
22464 _ACEOF
22465 cat confdefs.h >>conftest.$ac_ext
22466 cat >>conftest.$ac_ext <<_ACEOF
22467 /* end confdefs.h. */
22468 $ac_includes_default
22469 #include <ext/hash_map>
22470 _ACEOF
22471 rm -f conftest.$ac_objext
22472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22473 (eval $ac_compile) 2>conftest.er1
22474 ac_status=$?
22475 grep -v '^ *+' conftest.er1 >conftest.err
22476 rm -f conftest.er1
22477 cat conftest.err >&5
22478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22479 (exit $ac_status); } &&
22480 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22482 (eval $ac_try) 2>&5
22483 ac_status=$?
22484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22485 (exit $ac_status); }; } &&
22486 { ac_try='test -s conftest.$ac_objext'
22487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22488 (eval $ac_try) 2>&5
22489 ac_status=$?
22490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22491 (exit $ac_status); }; }; then
22492 ac_header_compiler=yes
22493 else
22494 echo "$as_me: failed program was:" >&5
22495 sed 's/^/| /' conftest.$ac_ext >&5
22496
22497 ac_header_compiler=no
22498 fi
22499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22500 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22501 echo "${ECHO_T}$ac_header_compiler" >&6
22502
22503 # Is the header present?
22504 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
22505 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
22506 cat >conftest.$ac_ext <<_ACEOF
22507 /* confdefs.h. */
22508 _ACEOF
22509 cat confdefs.h >>conftest.$ac_ext
22510 cat >>conftest.$ac_ext <<_ACEOF
22511 /* end confdefs.h. */
22512 #include <ext/hash_map>
22513 _ACEOF
22514 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22515 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22516 ac_status=$?
22517 grep -v '^ *+' conftest.er1 >conftest.err
22518 rm -f conftest.er1
22519 cat conftest.err >&5
22520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22521 (exit $ac_status); } >/dev/null; then
22522 if test -s conftest.err; then
22523 ac_cpp_err=$ac_cxx_preproc_warn_flag
22524 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22525 else
22526 ac_cpp_err=
22527 fi
22528 else
22529 ac_cpp_err=yes
22530 fi
22531 if test -z "$ac_cpp_err"; then
22532 ac_header_preproc=yes
22533 else
22534 echo "$as_me: failed program was:" >&5
22535 sed 's/^/| /' conftest.$ac_ext >&5
22536
22537 ac_header_preproc=no
22538 fi
22539 rm -f conftest.err conftest.$ac_ext
22540 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22541 echo "${ECHO_T}$ac_header_preproc" >&6
22542
22543 # So? What about this header?
22544 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22545 yes:no: )
22546 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
22547 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
22548 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
22549 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
22550 ac_header_preproc=yes
22551 ;;
22552 no:yes:* )
22553 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
22554 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
22555 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
22556 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
22557 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
22558 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
22559 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
22560 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
22561 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
22562 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
22563 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
22564 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
22565 (
22566 cat <<\_ASBOX
22567 ## ----------------------------------------- ##
22568 ## Report this to wx-dev@lists.wxwidgets.org ##
22569 ## ----------------------------------------- ##
22570 _ASBOX
22571 ) |
22572 sed "s/^/$as_me: WARNING: /" >&2
22573 ;;
22574 esac
22575 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
22576 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
22577 if test "${ac_cv_header_ext_hash_map+set}" = set; then
22578 echo $ECHO_N "(cached) $ECHO_C" >&6
22579 else
22580 ac_cv_header_ext_hash_map=$ac_header_preproc
22581 fi
22582 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
22583 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
22584
22585 fi
22586 if test $ac_cv_header_ext_hash_map = yes; then
22587 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
22588 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
22589 cat >conftest.$ac_ext <<_ACEOF
22590 /* confdefs.h. */
22591 _ACEOF
22592 cat confdefs.h >>conftest.$ac_ext
22593 cat >>conftest.$ac_ext <<_ACEOF
22594 /* end confdefs.h. */
22595 #include <ext/hash_map>
22596 #include <ext/hash_set>
22597 int
22598 main ()
22599 {
22600 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
22601 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
22602 ;
22603 return 0;
22604 }
22605 _ACEOF
22606 rm -f conftest.$ac_objext
22607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22608 (eval $ac_compile) 2>conftest.er1
22609 ac_status=$?
22610 grep -v '^ *+' conftest.er1 >conftest.err
22611 rm -f conftest.er1
22612 cat conftest.err >&5
22613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22614 (exit $ac_status); } &&
22615 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22617 (eval $ac_try) 2>&5
22618 ac_status=$?
22619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22620 (exit $ac_status); }; } &&
22621 { ac_try='test -s conftest.$ac_objext'
22622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22623 (eval $ac_try) 2>&5
22624 ac_status=$?
22625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22626 (exit $ac_status); }; }; then
22627 echo "$as_me:$LINENO: result: yes" >&5
22628 echo "${ECHO_T}yes" >&6
22629 cat >>confdefs.h <<\_ACEOF
22630 #define HAVE_EXT_HASH_MAP 1
22631 _ACEOF
22632
22633 cat >>confdefs.h <<\_ACEOF
22634 #define HAVE_GNU_CXX_HASH_MAP 1
22635 _ACEOF
22636
22637 else
22638 echo "$as_me: failed program was:" >&5
22639 sed 's/^/| /' conftest.$ac_ext >&5
22640
22641 echo "$as_me:$LINENO: result: no" >&5
22642 echo "${ECHO_T}no" >&6
22643 fi
22644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22645
22646 fi
22647
22648
22649
22650 ac_ext=c
22651 ac_cpp='$CPP $CPPFLAGS'
22652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22655
22656 fi
22657
22658
22659 SEARCH_INCLUDE="\
22660 /usr/local/include \
22661 \
22662 /usr/Motif-2.1/include \
22663 /usr/Motif-1.2/include \
22664 /usr/include/Motif1.2 \
22665 \
22666 /usr/dt/include \
22667 /usr/openwin/include \
22668 \
22669 /usr/include/Xm \
22670 \
22671 /usr/X11R6/include \
22672 /usr/X11R6.4/include \
22673 /usr/X11R5/include \
22674 /usr/X11R4/include \
22675 \
22676 /usr/include/X11R6 \
22677 /usr/include/X11R5 \
22678 /usr/include/X11R4 \
22679 \
22680 /usr/local/X11R6/include \
22681 /usr/local/X11R5/include \
22682 /usr/local/X11R4/include \
22683 \
22684 /usr/local/include/X11R6 \
22685 /usr/local/include/X11R5 \
22686 /usr/local/include/X11R4 \
22687 \
22688 /usr/X11/include \
22689 /usr/include/X11 \
22690 /usr/local/X11/include \
22691 /usr/local/include/X11 \
22692 \
22693 /usr/XFree86/include/X11 \
22694 /usr/pkg/include \
22695 \
22696 /usr/openwin/share/include"
22697
22698 echo "$as_me:$LINENO: checking for libraries directory" >&5
22699 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
22700
22701 case "${host}" in
22702 *-*-irix6* )
22703 if test "${wx_cv_std_libpath+set}" = set; then
22704 echo $ECHO_N "(cached) $ECHO_C" >&6
22705 else
22706
22707 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
22708 for e in a so sl dylib dll.a; do
22709 libc="$d/libc.$e"
22710 if test -f $libc; then
22711 save_LIBS="$LIBS"
22712 LIBS="$libc"
22713 cat >conftest.$ac_ext <<_ACEOF
22714 int main() { return 0; }
22715 _ACEOF
22716 rm -f conftest.$ac_objext conftest$ac_exeext
22717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22718 (eval $ac_link) 2>conftest.er1
22719 ac_status=$?
22720 grep -v '^ *+' conftest.er1 >conftest.err
22721 rm -f conftest.er1
22722 cat conftest.err >&5
22723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22724 (exit $ac_status); } &&
22725 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22727 (eval $ac_try) 2>&5
22728 ac_status=$?
22729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22730 (exit $ac_status); }; } &&
22731 { ac_try='test -s conftest$ac_exeext'
22732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22733 (eval $ac_try) 2>&5
22734 ac_status=$?
22735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22736 (exit $ac_status); }; }; then
22737 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
22738 else
22739 echo "$as_me: failed program was:" >&5
22740 sed 's/^/| /' conftest.$ac_ext >&5
22741
22742 fi
22743 rm -f conftest.err conftest.$ac_objext \
22744 conftest$ac_exeext conftest.$ac_ext
22745 LIBS="$save_LIBS"
22746 if test "x$wx_cv_std_libpath" != "x"; then
22747 break 2
22748 fi
22749 fi
22750 done
22751 done
22752 if test "x$wx_cv_std_libpath" = "x"; then
22753 wx_cv_std_libpath="lib"
22754 fi
22755
22756
22757 fi
22758
22759 ;;
22760
22761 *-*-solaris2* )
22762 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
22763 wx_cv_std_libpath="lib/64"
22764 else
22765 wx_cv_std_libpath="lib"
22766 fi
22767 ;;
22768
22769 *-*-linux* )
22770 if test "$ac_cv_sizeof_void_p" = 8 -a \
22771 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
22772 wx_cv_std_libpath="lib64"
22773 else
22774 wx_cv_std_libpath="lib"
22775 fi
22776 ;;
22777
22778 *)
22779 wx_cv_std_libpath="lib";
22780 ;;
22781 esac
22782
22783 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
22784 echo "${ECHO_T}$wx_cv_std_libpath" >&6
22785
22786 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
22787
22788 if test "$build" != "$host" -a "$GCC" = yes; then
22789 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
22790 cross_root=`dirname $cross_root`
22791 cross_root=`dirname $cross_root`
22792
22793 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22794 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22795
22796 if test -z "$PKG_CONFIG_PATH"; then
22797 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
22798 export PKG_CONFIG_PATH
22799 fi
22800
22801 if test -z "$x_includes" -o "$x_includes" = NONE; then
22802
22803 ac_find_includes=
22804 for ac_dir in $SEARCH_INCLUDE /usr/include;
22805 do
22806 if test -f "$ac_dir/X11/Intrinsic.h"; then
22807 ac_find_includes=$ac_dir
22808 break
22809 fi
22810 done
22811
22812 x_includes=$ac_find_includes
22813 fi
22814 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
22815
22816 ac_find_libraries=
22817 for ac_dir in $SEARCH_LIB;
22818 do
22819 for ac_extension in a so sl dylib dll.a; do
22820 if test -f "$ac_dir/libXt.$ac_extension"; then
22821 ac_find_libraries=$ac_dir
22822 break 2
22823 fi
22824 done
22825 done
22826
22827 x_libraries=$ac_find_libraries
22828 fi
22829 fi
22830 fi
22831
22832
22833 cat >confcache <<\_ACEOF
22834 # This file is a shell script that caches the results of configure
22835 # tests run on this system so they can be shared between configure
22836 # scripts and configure runs, see configure's option --config-cache.
22837 # It is not useful on other systems. If it contains results you don't
22838 # want to keep, you may remove or edit it.
22839 #
22840 # config.status only pays attention to the cache file if you give it
22841 # the --recheck option to rerun configure.
22842 #
22843 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22844 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22845 # following values.
22846
22847 _ACEOF
22848
22849 # The following way of writing the cache mishandles newlines in values,
22850 # but we know of no workaround that is simple, portable, and efficient.
22851 # So, don't put newlines in cache variables' values.
22852 # Ultrix sh set writes to stderr and can't be redirected directly,
22853 # and sets the high bit in the cache file unless we assign to the vars.
22854 {
22855 (set) 2>&1 |
22856 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22857 *ac_space=\ *)
22858 # `set' does not quote correctly, so add quotes (double-quote
22859 # substitution turns \\\\ into \\, and sed turns \\ into \).
22860 sed -n \
22861 "s/'/'\\\\''/g;
22862 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22863 ;;
22864 *)
22865 # `set' quotes correctly as required by POSIX, so do not add quotes.
22866 sed -n \
22867 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22868 ;;
22869 esac;
22870 } |
22871 sed '
22872 t clear
22873 : clear
22874 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22875 t end
22876 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22877 : end' >>confcache
22878 if diff $cache_file confcache >/dev/null 2>&1; then :; else
22879 if test -w $cache_file; then
22880 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22881 cat confcache >$cache_file
22882 else
22883 echo "not updating unwritable cache $cache_file"
22884 fi
22885 fi
22886 rm -f confcache
22887
22888 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
22889 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
22890 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
22891 if test "${wx_cv_lib_glibc21+set}" = set; then
22892 echo $ECHO_N "(cached) $ECHO_C" >&6
22893 else
22894
22895 cat >conftest.$ac_ext <<_ACEOF
22896 /* confdefs.h. */
22897 _ACEOF
22898 cat confdefs.h >>conftest.$ac_ext
22899 cat >>conftest.$ac_ext <<_ACEOF
22900 /* end confdefs.h. */
22901 #include <features.h>
22902 int
22903 main ()
22904 {
22905
22906 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
22907 not glibc 2.1
22908 #endif
22909
22910 ;
22911 return 0;
22912 }
22913 _ACEOF
22914 rm -f conftest.$ac_objext
22915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22916 (eval $ac_compile) 2>conftest.er1
22917 ac_status=$?
22918 grep -v '^ *+' conftest.er1 >conftest.err
22919 rm -f conftest.er1
22920 cat conftest.err >&5
22921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22922 (exit $ac_status); } &&
22923 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22925 (eval $ac_try) 2>&5
22926 ac_status=$?
22927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22928 (exit $ac_status); }; } &&
22929 { ac_try='test -s conftest.$ac_objext'
22930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22931 (eval $ac_try) 2>&5
22932 ac_status=$?
22933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22934 (exit $ac_status); }; }; then
22935
22936 wx_cv_lib_glibc21=yes
22937
22938 else
22939 echo "$as_me: failed program was:" >&5
22940 sed 's/^/| /' conftest.$ac_ext >&5
22941
22942
22943 wx_cv_lib_glibc21=no
22944
22945
22946 fi
22947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22948
22949 fi
22950 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
22951 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
22952 if test "$wx_cv_lib_glibc21" = "yes"; then
22953 cat >>confdefs.h <<\_ACEOF
22954 #define wxHAVE_GLIBC2 1
22955 _ACEOF
22956
22957 fi
22958 fi
22959
22960 if test "x$wx_cv_lib_glibc21" = "xyes"; then
22961 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
22962 cat >>confdefs.h <<\_ACEOF
22963 #define _GNU_SOURCE 1
22964 _ACEOF
22965
22966 fi
22967 fi
22968
22969
22970
22971 if test "$wxUSE_REGEX" != "no"; then
22972 cat >>confdefs.h <<\_ACEOF
22973 #define wxUSE_REGEX 1
22974 _ACEOF
22975
22976
22977 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22978 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
22979 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
22980 wxUSE_REGEX=builtin
22981 fi
22982
22983 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22984 if test "${ac_cv_header_regex_h+set}" = set; then
22985 echo "$as_me:$LINENO: checking for regex.h" >&5
22986 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
22987 if test "${ac_cv_header_regex_h+set}" = set; then
22988 echo $ECHO_N "(cached) $ECHO_C" >&6
22989 fi
22990 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
22991 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
22992 else
22993 # Is the header compilable?
22994 echo "$as_me:$LINENO: checking regex.h usability" >&5
22995 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
22996 cat >conftest.$ac_ext <<_ACEOF
22997 /* confdefs.h. */
22998 _ACEOF
22999 cat confdefs.h >>conftest.$ac_ext
23000 cat >>conftest.$ac_ext <<_ACEOF
23001 /* end confdefs.h. */
23002 $ac_includes_default
23003 #include <regex.h>
23004 _ACEOF
23005 rm -f conftest.$ac_objext
23006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23007 (eval $ac_compile) 2>conftest.er1
23008 ac_status=$?
23009 grep -v '^ *+' conftest.er1 >conftest.err
23010 rm -f conftest.er1
23011 cat conftest.err >&5
23012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23013 (exit $ac_status); } &&
23014 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23016 (eval $ac_try) 2>&5
23017 ac_status=$?
23018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23019 (exit $ac_status); }; } &&
23020 { ac_try='test -s conftest.$ac_objext'
23021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23022 (eval $ac_try) 2>&5
23023 ac_status=$?
23024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23025 (exit $ac_status); }; }; then
23026 ac_header_compiler=yes
23027 else
23028 echo "$as_me: failed program was:" >&5
23029 sed 's/^/| /' conftest.$ac_ext >&5
23030
23031 ac_header_compiler=no
23032 fi
23033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23034 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23035 echo "${ECHO_T}$ac_header_compiler" >&6
23036
23037 # Is the header present?
23038 echo "$as_me:$LINENO: checking regex.h presence" >&5
23039 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
23040 cat >conftest.$ac_ext <<_ACEOF
23041 /* confdefs.h. */
23042 _ACEOF
23043 cat confdefs.h >>conftest.$ac_ext
23044 cat >>conftest.$ac_ext <<_ACEOF
23045 /* end confdefs.h. */
23046 #include <regex.h>
23047 _ACEOF
23048 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23049 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23050 ac_status=$?
23051 grep -v '^ *+' conftest.er1 >conftest.err
23052 rm -f conftest.er1
23053 cat conftest.err >&5
23054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23055 (exit $ac_status); } >/dev/null; then
23056 if test -s conftest.err; then
23057 ac_cpp_err=$ac_c_preproc_warn_flag
23058 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23059 else
23060 ac_cpp_err=
23061 fi
23062 else
23063 ac_cpp_err=yes
23064 fi
23065 if test -z "$ac_cpp_err"; then
23066 ac_header_preproc=yes
23067 else
23068 echo "$as_me: failed program was:" >&5
23069 sed 's/^/| /' conftest.$ac_ext >&5
23070
23071 ac_header_preproc=no
23072 fi
23073 rm -f conftest.err conftest.$ac_ext
23074 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23075 echo "${ECHO_T}$ac_header_preproc" >&6
23076
23077 # So? What about this header?
23078 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23079 yes:no: )
23080 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
23081 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23082 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
23083 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
23084 ac_header_preproc=yes
23085 ;;
23086 no:yes:* )
23087 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
23088 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
23089 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
23090 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
23091 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
23092 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
23093 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
23094 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
23095 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
23096 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
23097 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
23098 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
23099 (
23100 cat <<\_ASBOX
23101 ## ----------------------------------------- ##
23102 ## Report this to wx-dev@lists.wxwidgets.org ##
23103 ## ----------------------------------------- ##
23104 _ASBOX
23105 ) |
23106 sed "s/^/$as_me: WARNING: /" >&2
23107 ;;
23108 esac
23109 echo "$as_me:$LINENO: checking for regex.h" >&5
23110 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
23111 if test "${ac_cv_header_regex_h+set}" = set; then
23112 echo $ECHO_N "(cached) $ECHO_C" >&6
23113 else
23114 ac_cv_header_regex_h=$ac_header_preproc
23115 fi
23116 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
23117 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
23118
23119 fi
23120 if test $ac_cv_header_regex_h = yes; then
23121
23122 for ac_func in regcomp
23123 do
23124 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23125 echo "$as_me:$LINENO: checking for $ac_func" >&5
23126 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23127 if eval "test \"\${$as_ac_var+set}\" = set"; then
23128 echo $ECHO_N "(cached) $ECHO_C" >&6
23129 else
23130 cat >conftest.$ac_ext <<_ACEOF
23131 /* confdefs.h. */
23132 _ACEOF
23133 cat confdefs.h >>conftest.$ac_ext
23134 cat >>conftest.$ac_ext <<_ACEOF
23135 /* end confdefs.h. */
23136 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23137 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23138 #define $ac_func innocuous_$ac_func
23139
23140 /* System header to define __stub macros and hopefully few prototypes,
23141 which can conflict with char $ac_func (); below.
23142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23143 <limits.h> exists even on freestanding compilers. */
23144
23145 #ifdef __STDC__
23146 # include <limits.h>
23147 #else
23148 # include <assert.h>
23149 #endif
23150
23151 #undef $ac_func
23152
23153 /* Override any gcc2 internal prototype to avoid an error. */
23154 #ifdef __cplusplus
23155 extern "C"
23156 {
23157 #endif
23158 /* We use char because int might match the return type of a gcc2
23159 builtin and then its argument prototype would still apply. */
23160 char $ac_func ();
23161 /* The GNU C library defines this for functions which it implements
23162 to always fail with ENOSYS. Some functions are actually named
23163 something starting with __ and the normal name is an alias. */
23164 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23165 choke me
23166 #else
23167 char (*f) () = $ac_func;
23168 #endif
23169 #ifdef __cplusplus
23170 }
23171 #endif
23172
23173 int
23174 main ()
23175 {
23176 return f != $ac_func;
23177 ;
23178 return 0;
23179 }
23180 _ACEOF
23181 rm -f conftest.$ac_objext conftest$ac_exeext
23182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23183 (eval $ac_link) 2>conftest.er1
23184 ac_status=$?
23185 grep -v '^ *+' conftest.er1 >conftest.err
23186 rm -f conftest.er1
23187 cat conftest.err >&5
23188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23189 (exit $ac_status); } &&
23190 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23192 (eval $ac_try) 2>&5
23193 ac_status=$?
23194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23195 (exit $ac_status); }; } &&
23196 { ac_try='test -s conftest$ac_exeext'
23197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23198 (eval $ac_try) 2>&5
23199 ac_status=$?
23200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23201 (exit $ac_status); }; }; then
23202 eval "$as_ac_var=yes"
23203 else
23204 echo "$as_me: failed program was:" >&5
23205 sed 's/^/| /' conftest.$ac_ext >&5
23206
23207 eval "$as_ac_var=no"
23208 fi
23209 rm -f conftest.err conftest.$ac_objext \
23210 conftest$ac_exeext conftest.$ac_ext
23211 fi
23212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23213 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23214 if test `eval echo '${'$as_ac_var'}'` = yes; then
23215 cat >>confdefs.h <<_ACEOF
23216 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23217 _ACEOF
23218
23219 fi
23220 done
23221
23222 fi
23223
23224
23225
23226 if test "x$ac_cv_func_regcomp" != "xyes"; then
23227 if test "$wxUSE_REGEX" = "sys" ; then
23228 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
23229 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
23230 { (exit 1); exit 1; }; }
23231 else
23232 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
23233 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
23234 wxUSE_REGEX=builtin
23235 fi
23236 else
23237 wxUSE_REGEX=sys
23238 cat >>confdefs.h <<\_ACEOF
23239 #define WX_NO_REGEX_ADVANCED 1
23240 _ACEOF
23241
23242 fi
23243 fi
23244 fi
23245
23246
23247 ZLIB_LINK=
23248 if test "$wxUSE_ZLIB" != "no" ; then
23249 cat >>confdefs.h <<\_ACEOF
23250 #define wxUSE_ZLIB 1
23251 _ACEOF
23252
23253
23254 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
23255 if test "$USE_DARWIN" = 1; then
23256 system_zlib_h_ok="yes"
23257 else
23258 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
23259 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
23260 if test "${ac_cv_header_zlib_h+set}" = set; then
23261 echo $ECHO_N "(cached) $ECHO_C" >&6
23262 else
23263 if test "$cross_compiling" = yes; then
23264 unset ac_cv_header_zlib_h
23265
23266 else
23267 cat >conftest.$ac_ext <<_ACEOF
23268 /* confdefs.h. */
23269 _ACEOF
23270 cat confdefs.h >>conftest.$ac_ext
23271 cat >>conftest.$ac_ext <<_ACEOF
23272 /* end confdefs.h. */
23273
23274 #include <zlib.h>
23275 #include <stdio.h>
23276
23277 int main()
23278 {
23279 FILE *f=fopen("conftestval", "w");
23280 if (!f) exit(1);
23281 fprintf(f, "%s",
23282 ZLIB_VERSION[0] == '1' &&
23283 (ZLIB_VERSION[2] > '1' ||
23284 (ZLIB_VERSION[2] == '1' &&
23285 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
23286 exit(0);
23287 }
23288
23289 _ACEOF
23290 rm -f conftest$ac_exeext
23291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23292 (eval $ac_link) 2>&5
23293 ac_status=$?
23294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23295 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23297 (eval $ac_try) 2>&5
23298 ac_status=$?
23299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23300 (exit $ac_status); }; }; then
23301 ac_cv_header_zlib_h=`cat conftestval`
23302 else
23303 echo "$as_me: program exited with status $ac_status" >&5
23304 echo "$as_me: failed program was:" >&5
23305 sed 's/^/| /' conftest.$ac_ext >&5
23306
23307 ( exit $ac_status )
23308 ac_cv_header_zlib_h=no
23309 fi
23310 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23311 fi
23312
23313 fi
23314 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
23315 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
23316 if test "${ac_cv_header_zlib_h+set}" = set; then
23317 echo "$as_me:$LINENO: checking for zlib.h" >&5
23318 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
23319 if test "${ac_cv_header_zlib_h+set}" = set; then
23320 echo $ECHO_N "(cached) $ECHO_C" >&6
23321 fi
23322 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
23323 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
23324 else
23325 # Is the header compilable?
23326 echo "$as_me:$LINENO: checking zlib.h usability" >&5
23327 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
23328 cat >conftest.$ac_ext <<_ACEOF
23329 /* confdefs.h. */
23330 _ACEOF
23331 cat confdefs.h >>conftest.$ac_ext
23332 cat >>conftest.$ac_ext <<_ACEOF
23333 /* end confdefs.h. */
23334 $ac_includes_default
23335 #include <zlib.h>
23336 _ACEOF
23337 rm -f conftest.$ac_objext
23338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23339 (eval $ac_compile) 2>conftest.er1
23340 ac_status=$?
23341 grep -v '^ *+' conftest.er1 >conftest.err
23342 rm -f conftest.er1
23343 cat conftest.err >&5
23344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23345 (exit $ac_status); } &&
23346 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23348 (eval $ac_try) 2>&5
23349 ac_status=$?
23350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23351 (exit $ac_status); }; } &&
23352 { ac_try='test -s conftest.$ac_objext'
23353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23354 (eval $ac_try) 2>&5
23355 ac_status=$?
23356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23357 (exit $ac_status); }; }; then
23358 ac_header_compiler=yes
23359 else
23360 echo "$as_me: failed program was:" >&5
23361 sed 's/^/| /' conftest.$ac_ext >&5
23362
23363 ac_header_compiler=no
23364 fi
23365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23366 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23367 echo "${ECHO_T}$ac_header_compiler" >&6
23368
23369 # Is the header present?
23370 echo "$as_me:$LINENO: checking zlib.h presence" >&5
23371 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
23372 cat >conftest.$ac_ext <<_ACEOF
23373 /* confdefs.h. */
23374 _ACEOF
23375 cat confdefs.h >>conftest.$ac_ext
23376 cat >>conftest.$ac_ext <<_ACEOF
23377 /* end confdefs.h. */
23378 #include <zlib.h>
23379 _ACEOF
23380 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23381 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23382 ac_status=$?
23383 grep -v '^ *+' conftest.er1 >conftest.err
23384 rm -f conftest.er1
23385 cat conftest.err >&5
23386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23387 (exit $ac_status); } >/dev/null; then
23388 if test -s conftest.err; then
23389 ac_cpp_err=$ac_c_preproc_warn_flag
23390 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23391 else
23392 ac_cpp_err=
23393 fi
23394 else
23395 ac_cpp_err=yes
23396 fi
23397 if test -z "$ac_cpp_err"; then
23398 ac_header_preproc=yes
23399 else
23400 echo "$as_me: failed program was:" >&5
23401 sed 's/^/| /' conftest.$ac_ext >&5
23402
23403 ac_header_preproc=no
23404 fi
23405 rm -f conftest.err conftest.$ac_ext
23406 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23407 echo "${ECHO_T}$ac_header_preproc" >&6
23408
23409 # So? What about this header?
23410 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23411 yes:no: )
23412 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
23413 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23414 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
23415 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
23416 ac_header_preproc=yes
23417 ;;
23418 no:yes:* )
23419 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
23420 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
23421 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
23422 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
23423 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
23424 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
23425 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
23426 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
23427 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
23428 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
23429 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
23430 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
23431 (
23432 cat <<\_ASBOX
23433 ## ----------------------------------------- ##
23434 ## Report this to wx-dev@lists.wxwidgets.org ##
23435 ## ----------------------------------------- ##
23436 _ASBOX
23437 ) |
23438 sed "s/^/$as_me: WARNING: /" >&2
23439 ;;
23440 esac
23441 echo "$as_me:$LINENO: checking for zlib.h" >&5
23442 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
23443 if test "${ac_cv_header_zlib_h+set}" = set; then
23444 echo $ECHO_N "(cached) $ECHO_C" >&6
23445 else
23446 ac_cv_header_zlib_h=$ac_header_preproc
23447 fi
23448 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
23449 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
23450
23451 fi
23452
23453
23454
23455 system_zlib_h_ok=$ac_cv_header_zlib_h
23456 fi
23457
23458 if test "$system_zlib_h_ok" = "yes"; then
23459 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
23460 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
23461 if test "${ac_cv_lib_z_deflate+set}" = set; then
23462 echo $ECHO_N "(cached) $ECHO_C" >&6
23463 else
23464 ac_check_lib_save_LIBS=$LIBS
23465 LIBS="-lz $LIBS"
23466 cat >conftest.$ac_ext <<_ACEOF
23467 /* confdefs.h. */
23468 _ACEOF
23469 cat confdefs.h >>conftest.$ac_ext
23470 cat >>conftest.$ac_ext <<_ACEOF
23471 /* end confdefs.h. */
23472
23473 /* Override any gcc2 internal prototype to avoid an error. */
23474 #ifdef __cplusplus
23475 extern "C"
23476 #endif
23477 /* We use char because int might match the return type of a gcc2
23478 builtin and then its argument prototype would still apply. */
23479 char deflate ();
23480 int
23481 main ()
23482 {
23483 deflate ();
23484 ;
23485 return 0;
23486 }
23487 _ACEOF
23488 rm -f conftest.$ac_objext conftest$ac_exeext
23489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23490 (eval $ac_link) 2>conftest.er1
23491 ac_status=$?
23492 grep -v '^ *+' conftest.er1 >conftest.err
23493 rm -f conftest.er1
23494 cat conftest.err >&5
23495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23496 (exit $ac_status); } &&
23497 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23499 (eval $ac_try) 2>&5
23500 ac_status=$?
23501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23502 (exit $ac_status); }; } &&
23503 { ac_try='test -s conftest$ac_exeext'
23504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23505 (eval $ac_try) 2>&5
23506 ac_status=$?
23507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23508 (exit $ac_status); }; }; then
23509 ac_cv_lib_z_deflate=yes
23510 else
23511 echo "$as_me: failed program was:" >&5
23512 sed 's/^/| /' conftest.$ac_ext >&5
23513
23514 ac_cv_lib_z_deflate=no
23515 fi
23516 rm -f conftest.err conftest.$ac_objext \
23517 conftest$ac_exeext conftest.$ac_ext
23518 LIBS=$ac_check_lib_save_LIBS
23519 fi
23520 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
23521 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
23522 if test $ac_cv_lib_z_deflate = yes; then
23523 ZLIB_LINK=" -lz"
23524 fi
23525
23526 fi
23527
23528 if test "x$ZLIB_LINK" = "x" ; then
23529 if test "$wxUSE_ZLIB" = "sys" ; then
23530 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
23531 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
23532 { (exit 1); exit 1; }; }
23533 else
23534 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
23535 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
23536 wxUSE_ZLIB=builtin
23537 fi
23538 else
23539 wxUSE_ZLIB=sys
23540 fi
23541 fi
23542 fi
23543
23544
23545 PNG_LINK=
23546 if test "$wxUSE_LIBPNG" != "no" ; then
23547 cat >>confdefs.h <<\_ACEOF
23548 #define wxUSE_LIBPNG 1
23549 _ACEOF
23550
23551
23552 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
23553 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
23554 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
23555 wxUSE_LIBPNG=sys
23556 fi
23557
23558 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
23559 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
23560 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
23561 wxUSE_LIBPNG=builtin
23562 fi
23563
23564 if test "$wxUSE_MGL" != 1 ; then
23565 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
23566 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
23567 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
23568 if test "${ac_cv_header_png_h+set}" = set; then
23569 echo $ECHO_N "(cached) $ECHO_C" >&6
23570 else
23571 if test "$cross_compiling" = yes; then
23572 unset ac_cv_header_png_h
23573
23574 else
23575 cat >conftest.$ac_ext <<_ACEOF
23576 /* confdefs.h. */
23577 _ACEOF
23578 cat confdefs.h >>conftest.$ac_ext
23579 cat >>conftest.$ac_ext <<_ACEOF
23580 /* end confdefs.h. */
23581
23582 #include <png.h>
23583 #include <stdio.h>
23584
23585 int main()
23586 {
23587 FILE *f=fopen("conftestval", "w");
23588 if (!f) exit(1);
23589 fprintf(f, "%s",
23590 PNG_LIBPNG_VER > 90 ? "yes" : "no");
23591 exit(0);
23592 }
23593
23594 _ACEOF
23595 rm -f conftest$ac_exeext
23596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23597 (eval $ac_link) 2>&5
23598 ac_status=$?
23599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23600 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23602 (eval $ac_try) 2>&5
23603 ac_status=$?
23604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23605 (exit $ac_status); }; }; then
23606 ac_cv_header_png_h=`cat conftestval`
23607 else
23608 echo "$as_me: program exited with status $ac_status" >&5
23609 echo "$as_me: failed program was:" >&5
23610 sed 's/^/| /' conftest.$ac_ext >&5
23611
23612 ( exit $ac_status )
23613 ac_cv_header_png_h=no
23614 fi
23615 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23616 fi
23617
23618 fi
23619 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
23620 echo "${ECHO_T}$ac_cv_header_png_h" >&6
23621 if test "${ac_cv_header_png_h+set}" = set; then
23622 echo "$as_me:$LINENO: checking for png.h" >&5
23623 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
23624 if test "${ac_cv_header_png_h+set}" = set; then
23625 echo $ECHO_N "(cached) $ECHO_C" >&6
23626 fi
23627 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
23628 echo "${ECHO_T}$ac_cv_header_png_h" >&6
23629 else
23630 # Is the header compilable?
23631 echo "$as_me:$LINENO: checking png.h usability" >&5
23632 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
23633 cat >conftest.$ac_ext <<_ACEOF
23634 /* confdefs.h. */
23635 _ACEOF
23636 cat confdefs.h >>conftest.$ac_ext
23637 cat >>conftest.$ac_ext <<_ACEOF
23638 /* end confdefs.h. */
23639 $ac_includes_default
23640 #include <png.h>
23641 _ACEOF
23642 rm -f conftest.$ac_objext
23643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23644 (eval $ac_compile) 2>conftest.er1
23645 ac_status=$?
23646 grep -v '^ *+' conftest.er1 >conftest.err
23647 rm -f conftest.er1
23648 cat conftest.err >&5
23649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23650 (exit $ac_status); } &&
23651 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23653 (eval $ac_try) 2>&5
23654 ac_status=$?
23655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23656 (exit $ac_status); }; } &&
23657 { ac_try='test -s conftest.$ac_objext'
23658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23659 (eval $ac_try) 2>&5
23660 ac_status=$?
23661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23662 (exit $ac_status); }; }; then
23663 ac_header_compiler=yes
23664 else
23665 echo "$as_me: failed program was:" >&5
23666 sed 's/^/| /' conftest.$ac_ext >&5
23667
23668 ac_header_compiler=no
23669 fi
23670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23671 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23672 echo "${ECHO_T}$ac_header_compiler" >&6
23673
23674 # Is the header present?
23675 echo "$as_me:$LINENO: checking png.h presence" >&5
23676 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
23677 cat >conftest.$ac_ext <<_ACEOF
23678 /* confdefs.h. */
23679 _ACEOF
23680 cat confdefs.h >>conftest.$ac_ext
23681 cat >>conftest.$ac_ext <<_ACEOF
23682 /* end confdefs.h. */
23683 #include <png.h>
23684 _ACEOF
23685 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23686 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23687 ac_status=$?
23688 grep -v '^ *+' conftest.er1 >conftest.err
23689 rm -f conftest.er1
23690 cat conftest.err >&5
23691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23692 (exit $ac_status); } >/dev/null; then
23693 if test -s conftest.err; then
23694 ac_cpp_err=$ac_c_preproc_warn_flag
23695 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23696 else
23697 ac_cpp_err=
23698 fi
23699 else
23700 ac_cpp_err=yes
23701 fi
23702 if test -z "$ac_cpp_err"; then
23703 ac_header_preproc=yes
23704 else
23705 echo "$as_me: failed program was:" >&5
23706 sed 's/^/| /' conftest.$ac_ext >&5
23707
23708 ac_header_preproc=no
23709 fi
23710 rm -f conftest.err conftest.$ac_ext
23711 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23712 echo "${ECHO_T}$ac_header_preproc" >&6
23713
23714 # So? What about this header?
23715 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23716 yes:no: )
23717 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
23718 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23719 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
23720 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
23721 ac_header_preproc=yes
23722 ;;
23723 no:yes:* )
23724 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
23725 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
23726 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
23727 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
23728 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
23729 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
23730 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
23731 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
23732 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
23733 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
23734 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
23735 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
23736 (
23737 cat <<\_ASBOX
23738 ## ----------------------------------------- ##
23739 ## Report this to wx-dev@lists.wxwidgets.org ##
23740 ## ----------------------------------------- ##
23741 _ASBOX
23742 ) |
23743 sed "s/^/$as_me: WARNING: /" >&2
23744 ;;
23745 esac
23746 echo "$as_me:$LINENO: checking for png.h" >&5
23747 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
23748 if test "${ac_cv_header_png_h+set}" = set; then
23749 echo $ECHO_N "(cached) $ECHO_C" >&6
23750 else
23751 ac_cv_header_png_h=$ac_header_preproc
23752 fi
23753 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
23754 echo "${ECHO_T}$ac_cv_header_png_h" >&6
23755
23756 fi
23757
23758
23759
23760 if test "$ac_cv_header_png_h" = "yes"; then
23761 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
23762 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
23763 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
23764 echo $ECHO_N "(cached) $ECHO_C" >&6
23765 else
23766 ac_check_lib_save_LIBS=$LIBS
23767 LIBS="-lpng -lz -lm $LIBS"
23768 cat >conftest.$ac_ext <<_ACEOF
23769 /* confdefs.h. */
23770 _ACEOF
23771 cat confdefs.h >>conftest.$ac_ext
23772 cat >>conftest.$ac_ext <<_ACEOF
23773 /* end confdefs.h. */
23774
23775 /* Override any gcc2 internal prototype to avoid an error. */
23776 #ifdef __cplusplus
23777 extern "C"
23778 #endif
23779 /* We use char because int might match the return type of a gcc2
23780 builtin and then its argument prototype would still apply. */
23781 char png_check_sig ();
23782 int
23783 main ()
23784 {
23785 png_check_sig ();
23786 ;
23787 return 0;
23788 }
23789 _ACEOF
23790 rm -f conftest.$ac_objext conftest$ac_exeext
23791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23792 (eval $ac_link) 2>conftest.er1
23793 ac_status=$?
23794 grep -v '^ *+' conftest.er1 >conftest.err
23795 rm -f conftest.er1
23796 cat conftest.err >&5
23797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23798 (exit $ac_status); } &&
23799 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23801 (eval $ac_try) 2>&5
23802 ac_status=$?
23803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23804 (exit $ac_status); }; } &&
23805 { ac_try='test -s conftest$ac_exeext'
23806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23807 (eval $ac_try) 2>&5
23808 ac_status=$?
23809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23810 (exit $ac_status); }; }; then
23811 ac_cv_lib_png_png_check_sig=yes
23812 else
23813 echo "$as_me: failed program was:" >&5
23814 sed 's/^/| /' conftest.$ac_ext >&5
23815
23816 ac_cv_lib_png_png_check_sig=no
23817 fi
23818 rm -f conftest.err conftest.$ac_objext \
23819 conftest$ac_exeext conftest.$ac_ext
23820 LIBS=$ac_check_lib_save_LIBS
23821 fi
23822 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
23823 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
23824 if test $ac_cv_lib_png_png_check_sig = yes; then
23825 PNG_LINK=" -lpng -lz"
23826 fi
23827
23828 fi
23829
23830 if test "x$PNG_LINK" = "x" ; then
23831 if test "$wxUSE_LIBPNG" = "sys" ; then
23832 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
23833 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
23834 { (exit 1); exit 1; }; }
23835 else
23836 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
23837 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
23838 wxUSE_LIBPNG=builtin
23839 fi
23840 else
23841 wxUSE_LIBPNG=sys
23842 fi
23843 fi
23844 fi
23845
23846 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
23847 fi
23848
23849
23850 JPEG_LINK=
23851 if test "$wxUSE_LIBJPEG" != "no" ; then
23852 cat >>confdefs.h <<\_ACEOF
23853 #define wxUSE_LIBJPEG 1
23854 _ACEOF
23855
23856
23857 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
23858 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
23859 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
23860 wxUSE_LIBJPEG=sys
23861 fi
23862
23863 if test "$wxUSE_MGL" != 1 ; then
23864 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
23865 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
23866 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
23867 if test "${ac_cv_header_jpeglib_h+set}" = set; then
23868 echo $ECHO_N "(cached) $ECHO_C" >&6
23869 else
23870 cat >conftest.$ac_ext <<_ACEOF
23871 /* confdefs.h. */
23872 _ACEOF
23873 cat confdefs.h >>conftest.$ac_ext
23874 cat >>conftest.$ac_ext <<_ACEOF
23875 /* end confdefs.h. */
23876
23877 #undef HAVE_STDLIB_H
23878 #include <stdio.h>
23879 #include <jpeglib.h>
23880
23881 int
23882 main ()
23883 {
23884
23885
23886 ;
23887 return 0;
23888 }
23889 _ACEOF
23890 rm -f conftest.$ac_objext
23891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23892 (eval $ac_compile) 2>conftest.er1
23893 ac_status=$?
23894 grep -v '^ *+' conftest.er1 >conftest.err
23895 rm -f conftest.er1
23896 cat conftest.err >&5
23897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23898 (exit $ac_status); } &&
23899 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23901 (eval $ac_try) 2>&5
23902 ac_status=$?
23903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23904 (exit $ac_status); }; } &&
23905 { ac_try='test -s conftest.$ac_objext'
23906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23907 (eval $ac_try) 2>&5
23908 ac_status=$?
23909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23910 (exit $ac_status); }; }; then
23911 ac_cv_header_jpeglib_h=yes
23912 else
23913 echo "$as_me: failed program was:" >&5
23914 sed 's/^/| /' conftest.$ac_ext >&5
23915
23916 ac_cv_header_jpeglib_h=no
23917
23918 fi
23919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23920
23921 fi
23922
23923 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
23924 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
23925
23926 if test "$ac_cv_header_jpeglib_h" = "yes"; then
23927 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
23928 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
23929 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
23930 echo $ECHO_N "(cached) $ECHO_C" >&6
23931 else
23932 ac_check_lib_save_LIBS=$LIBS
23933 LIBS="-ljpeg $LIBS"
23934 cat >conftest.$ac_ext <<_ACEOF
23935 /* confdefs.h. */
23936 _ACEOF
23937 cat confdefs.h >>conftest.$ac_ext
23938 cat >>conftest.$ac_ext <<_ACEOF
23939 /* end confdefs.h. */
23940
23941 /* Override any gcc2 internal prototype to avoid an error. */
23942 #ifdef __cplusplus
23943 extern "C"
23944 #endif
23945 /* We use char because int might match the return type of a gcc2
23946 builtin and then its argument prototype would still apply. */
23947 char jpeg_read_header ();
23948 int
23949 main ()
23950 {
23951 jpeg_read_header ();
23952 ;
23953 return 0;
23954 }
23955 _ACEOF
23956 rm -f conftest.$ac_objext conftest$ac_exeext
23957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23958 (eval $ac_link) 2>conftest.er1
23959 ac_status=$?
23960 grep -v '^ *+' conftest.er1 >conftest.err
23961 rm -f conftest.er1
23962 cat conftest.err >&5
23963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23964 (exit $ac_status); } &&
23965 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23967 (eval $ac_try) 2>&5
23968 ac_status=$?
23969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23970 (exit $ac_status); }; } &&
23971 { ac_try='test -s conftest$ac_exeext'
23972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23973 (eval $ac_try) 2>&5
23974 ac_status=$?
23975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23976 (exit $ac_status); }; }; then
23977 ac_cv_lib_jpeg_jpeg_read_header=yes
23978 else
23979 echo "$as_me: failed program was:" >&5
23980 sed 's/^/| /' conftest.$ac_ext >&5
23981
23982 ac_cv_lib_jpeg_jpeg_read_header=no
23983 fi
23984 rm -f conftest.err conftest.$ac_objext \
23985 conftest$ac_exeext conftest.$ac_ext
23986 LIBS=$ac_check_lib_save_LIBS
23987 fi
23988 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
23989 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
23990 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
23991 JPEG_LINK=" -ljpeg"
23992 fi
23993
23994 fi
23995
23996 if test "x$JPEG_LINK" = "x" ; then
23997 if test "$wxUSE_LIBJPEG" = "sys" ; then
23998 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
23999 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
24000 { (exit 1); exit 1; }; }
24001 else
24002 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
24003 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
24004 wxUSE_LIBJPEG=builtin
24005 fi
24006 else
24007 wxUSE_LIBJPEG=sys
24008 fi
24009 fi
24010 fi
24011 fi
24012
24013
24014 TIFF_LINK=
24015 TIFF_PREREQ_LINKS=-lm
24016 if test "$wxUSE_LIBTIFF" != "no" ; then
24017 cat >>confdefs.h <<\_ACEOF
24018 #define wxUSE_LIBTIFF 1
24019 _ACEOF
24020
24021
24022 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
24023 if test "$wxUSE_LIBJPEG" = "sys"; then
24024 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
24025 fi
24026 if test "$wxUSE_ZLIB" = "sys"; then
24027 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
24028 fi
24029 if test "${ac_cv_header_tiffio_h+set}" = set; then
24030 echo "$as_me:$LINENO: checking for tiffio.h" >&5
24031 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
24032 if test "${ac_cv_header_tiffio_h+set}" = set; then
24033 echo $ECHO_N "(cached) $ECHO_C" >&6
24034 fi
24035 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
24036 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
24037 else
24038 # Is the header compilable?
24039 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
24040 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
24041 cat >conftest.$ac_ext <<_ACEOF
24042 /* confdefs.h. */
24043 _ACEOF
24044 cat confdefs.h >>conftest.$ac_ext
24045 cat >>conftest.$ac_ext <<_ACEOF
24046 /* end confdefs.h. */
24047 $ac_includes_default
24048 #include <tiffio.h>
24049 _ACEOF
24050 rm -f conftest.$ac_objext
24051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24052 (eval $ac_compile) 2>conftest.er1
24053 ac_status=$?
24054 grep -v '^ *+' conftest.er1 >conftest.err
24055 rm -f conftest.er1
24056 cat conftest.err >&5
24057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24058 (exit $ac_status); } &&
24059 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24061 (eval $ac_try) 2>&5
24062 ac_status=$?
24063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24064 (exit $ac_status); }; } &&
24065 { ac_try='test -s conftest.$ac_objext'
24066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24067 (eval $ac_try) 2>&5
24068 ac_status=$?
24069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24070 (exit $ac_status); }; }; then
24071 ac_header_compiler=yes
24072 else
24073 echo "$as_me: failed program was:" >&5
24074 sed 's/^/| /' conftest.$ac_ext >&5
24075
24076 ac_header_compiler=no
24077 fi
24078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24079 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24080 echo "${ECHO_T}$ac_header_compiler" >&6
24081
24082 # Is the header present?
24083 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
24084 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
24085 cat >conftest.$ac_ext <<_ACEOF
24086 /* confdefs.h. */
24087 _ACEOF
24088 cat confdefs.h >>conftest.$ac_ext
24089 cat >>conftest.$ac_ext <<_ACEOF
24090 /* end confdefs.h. */
24091 #include <tiffio.h>
24092 _ACEOF
24093 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24094 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24095 ac_status=$?
24096 grep -v '^ *+' conftest.er1 >conftest.err
24097 rm -f conftest.er1
24098 cat conftest.err >&5
24099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24100 (exit $ac_status); } >/dev/null; then
24101 if test -s conftest.err; then
24102 ac_cpp_err=$ac_c_preproc_warn_flag
24103 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24104 else
24105 ac_cpp_err=
24106 fi
24107 else
24108 ac_cpp_err=yes
24109 fi
24110 if test -z "$ac_cpp_err"; then
24111 ac_header_preproc=yes
24112 else
24113 echo "$as_me: failed program was:" >&5
24114 sed 's/^/| /' conftest.$ac_ext >&5
24115
24116 ac_header_preproc=no
24117 fi
24118 rm -f conftest.err conftest.$ac_ext
24119 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24120 echo "${ECHO_T}$ac_header_preproc" >&6
24121
24122 # So? What about this header?
24123 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24124 yes:no: )
24125 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
24126 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24127 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
24128 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
24129 ac_header_preproc=yes
24130 ;;
24131 no:yes:* )
24132 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
24133 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
24134 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
24135 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
24136 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
24137 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
24138 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
24139 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
24140 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
24141 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
24142 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
24143 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
24144 (
24145 cat <<\_ASBOX
24146 ## ----------------------------------------- ##
24147 ## Report this to wx-dev@lists.wxwidgets.org ##
24148 ## ----------------------------------------- ##
24149 _ASBOX
24150 ) |
24151 sed "s/^/$as_me: WARNING: /" >&2
24152 ;;
24153 esac
24154 echo "$as_me:$LINENO: checking for tiffio.h" >&5
24155 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
24156 if test "${ac_cv_header_tiffio_h+set}" = set; then
24157 echo $ECHO_N "(cached) $ECHO_C" >&6
24158 else
24159 ac_cv_header_tiffio_h=$ac_header_preproc
24160 fi
24161 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
24162 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
24163
24164 fi
24165 if test $ac_cv_header_tiffio_h = yes; then
24166
24167 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
24168 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
24169 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
24170 echo $ECHO_N "(cached) $ECHO_C" >&6
24171 else
24172 ac_check_lib_save_LIBS=$LIBS
24173 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
24174 cat >conftest.$ac_ext <<_ACEOF
24175 /* confdefs.h. */
24176 _ACEOF
24177 cat confdefs.h >>conftest.$ac_ext
24178 cat >>conftest.$ac_ext <<_ACEOF
24179 /* end confdefs.h. */
24180
24181 /* Override any gcc2 internal prototype to avoid an error. */
24182 #ifdef __cplusplus
24183 extern "C"
24184 #endif
24185 /* We use char because int might match the return type of a gcc2
24186 builtin and then its argument prototype would still apply. */
24187 char TIFFError ();
24188 int
24189 main ()
24190 {
24191 TIFFError ();
24192 ;
24193 return 0;
24194 }
24195 _ACEOF
24196 rm -f conftest.$ac_objext conftest$ac_exeext
24197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24198 (eval $ac_link) 2>conftest.er1
24199 ac_status=$?
24200 grep -v '^ *+' conftest.er1 >conftest.err
24201 rm -f conftest.er1
24202 cat conftest.err >&5
24203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24204 (exit $ac_status); } &&
24205 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24207 (eval $ac_try) 2>&5
24208 ac_status=$?
24209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24210 (exit $ac_status); }; } &&
24211 { ac_try='test -s conftest$ac_exeext'
24212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24213 (eval $ac_try) 2>&5
24214 ac_status=$?
24215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24216 (exit $ac_status); }; }; then
24217 ac_cv_lib_tiff_TIFFError=yes
24218 else
24219 echo "$as_me: failed program was:" >&5
24220 sed 's/^/| /' conftest.$ac_ext >&5
24221
24222 ac_cv_lib_tiff_TIFFError=no
24223 fi
24224 rm -f conftest.err conftest.$ac_objext \
24225 conftest$ac_exeext conftest.$ac_ext
24226 LIBS=$ac_check_lib_save_LIBS
24227 fi
24228 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
24229 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
24230 if test $ac_cv_lib_tiff_TIFFError = yes; then
24231 TIFF_LINK=" -ltiff"
24232 fi
24233
24234
24235
24236 fi
24237
24238
24239
24240 if test "x$TIFF_LINK" = "x" ; then
24241 if test "$wxUSE_LIBTIFF" = "sys" ; then
24242 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
24243 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
24244 { (exit 1); exit 1; }; }
24245 else
24246 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
24247 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
24248 wxUSE_LIBTIFF=builtin
24249 fi
24250 else
24251 wxUSE_LIBTIFF=sys
24252 fi
24253 fi
24254 fi
24255
24256
24257 if test "$wxUSE_WCHAR_T" != "yes"; then
24258 if test "$wxUSE_EXPAT" != "no"; then
24259 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
24260 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
24261 wxUSE_EXPAT=no
24262 fi
24263 if test "$wxUSE_XML" != "no"; then
24264 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
24265 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
24266 wxUSE_XML=no
24267 fi
24268 fi
24269
24270 if test "$wxUSE_EXPAT" != "no"; then
24271 wxUSE_XML=yes
24272 cat >>confdefs.h <<\_ACEOF
24273 #define wxUSE_EXPAT 1
24274 _ACEOF
24275
24276 cat >>confdefs.h <<\_ACEOF
24277 #define wxUSE_XML 1
24278 _ACEOF
24279
24280
24281 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
24282 if test "${ac_cv_header_expat_h+set}" = set; then
24283 echo "$as_me:$LINENO: checking for expat.h" >&5
24284 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
24285 if test "${ac_cv_header_expat_h+set}" = set; then
24286 echo $ECHO_N "(cached) $ECHO_C" >&6
24287 fi
24288 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
24289 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
24290 else
24291 # Is the header compilable?
24292 echo "$as_me:$LINENO: checking expat.h usability" >&5
24293 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
24294 cat >conftest.$ac_ext <<_ACEOF
24295 /* confdefs.h. */
24296 _ACEOF
24297 cat confdefs.h >>conftest.$ac_ext
24298 cat >>conftest.$ac_ext <<_ACEOF
24299 /* end confdefs.h. */
24300 $ac_includes_default
24301 #include <expat.h>
24302 _ACEOF
24303 rm -f conftest.$ac_objext
24304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24305 (eval $ac_compile) 2>conftest.er1
24306 ac_status=$?
24307 grep -v '^ *+' conftest.er1 >conftest.err
24308 rm -f conftest.er1
24309 cat conftest.err >&5
24310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24311 (exit $ac_status); } &&
24312 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24314 (eval $ac_try) 2>&5
24315 ac_status=$?
24316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24317 (exit $ac_status); }; } &&
24318 { ac_try='test -s conftest.$ac_objext'
24319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24320 (eval $ac_try) 2>&5
24321 ac_status=$?
24322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24323 (exit $ac_status); }; }; then
24324 ac_header_compiler=yes
24325 else
24326 echo "$as_me: failed program was:" >&5
24327 sed 's/^/| /' conftest.$ac_ext >&5
24328
24329 ac_header_compiler=no
24330 fi
24331 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24332 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24333 echo "${ECHO_T}$ac_header_compiler" >&6
24334
24335 # Is the header present?
24336 echo "$as_me:$LINENO: checking expat.h presence" >&5
24337 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
24338 cat >conftest.$ac_ext <<_ACEOF
24339 /* confdefs.h. */
24340 _ACEOF
24341 cat confdefs.h >>conftest.$ac_ext
24342 cat >>conftest.$ac_ext <<_ACEOF
24343 /* end confdefs.h. */
24344 #include <expat.h>
24345 _ACEOF
24346 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24347 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24348 ac_status=$?
24349 grep -v '^ *+' conftest.er1 >conftest.err
24350 rm -f conftest.er1
24351 cat conftest.err >&5
24352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24353 (exit $ac_status); } >/dev/null; then
24354 if test -s conftest.err; then
24355 ac_cpp_err=$ac_c_preproc_warn_flag
24356 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24357 else
24358 ac_cpp_err=
24359 fi
24360 else
24361 ac_cpp_err=yes
24362 fi
24363 if test -z "$ac_cpp_err"; then
24364 ac_header_preproc=yes
24365 else
24366 echo "$as_me: failed program was:" >&5
24367 sed 's/^/| /' conftest.$ac_ext >&5
24368
24369 ac_header_preproc=no
24370 fi
24371 rm -f conftest.err conftest.$ac_ext
24372 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24373 echo "${ECHO_T}$ac_header_preproc" >&6
24374
24375 # So? What about this header?
24376 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24377 yes:no: )
24378 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
24379 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24380 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
24381 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
24382 ac_header_preproc=yes
24383 ;;
24384 no:yes:* )
24385 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
24386 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
24387 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
24388 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
24389 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
24390 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
24391 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
24392 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
24393 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
24394 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
24395 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
24396 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
24397 (
24398 cat <<\_ASBOX
24399 ## ----------------------------------------- ##
24400 ## Report this to wx-dev@lists.wxwidgets.org ##
24401 ## ----------------------------------------- ##
24402 _ASBOX
24403 ) |
24404 sed "s/^/$as_me: WARNING: /" >&2
24405 ;;
24406 esac
24407 echo "$as_me:$LINENO: checking for expat.h" >&5
24408 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
24409 if test "${ac_cv_header_expat_h+set}" = set; then
24410 echo $ECHO_N "(cached) $ECHO_C" >&6
24411 else
24412 ac_cv_header_expat_h=$ac_header_preproc
24413 fi
24414 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
24415 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
24416
24417 fi
24418 if test $ac_cv_header_expat_h = yes; then
24419 found_expat_h=1
24420 fi
24421
24422
24423 if test "x$found_expat_h" = "x1"; then
24424 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
24425 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
24426 if test "${wx_cv_expat_is_not_broken+set}" = set; then
24427 echo $ECHO_N "(cached) $ECHO_C" >&6
24428 else
24429
24430
24431
24432 ac_ext=cc
24433 ac_cpp='$CXXCPP $CPPFLAGS'
24434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24437
24438 cat >conftest.$ac_ext <<_ACEOF
24439 /* confdefs.h. */
24440 _ACEOF
24441 cat confdefs.h >>conftest.$ac_ext
24442 cat >>conftest.$ac_ext <<_ACEOF
24443 /* end confdefs.h. */
24444 #include <expat.h>
24445 int
24446 main ()
24447 {
24448
24449 ;
24450 return 0;
24451 }
24452 _ACEOF
24453 rm -f conftest.$ac_objext
24454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24455 (eval $ac_compile) 2>conftest.er1
24456 ac_status=$?
24457 grep -v '^ *+' conftest.er1 >conftest.err
24458 rm -f conftest.er1
24459 cat conftest.err >&5
24460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24461 (exit $ac_status); } &&
24462 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24464 (eval $ac_try) 2>&5
24465 ac_status=$?
24466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24467 (exit $ac_status); }; } &&
24468 { ac_try='test -s conftest.$ac_objext'
24469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24470 (eval $ac_try) 2>&5
24471 ac_status=$?
24472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24473 (exit $ac_status); }; }; then
24474 wx_cv_expat_is_not_broken=yes
24475 else
24476 echo "$as_me: failed program was:" >&5
24477 sed 's/^/| /' conftest.$ac_ext >&5
24478
24479 wx_cv_expat_is_not_broken=no
24480
24481 fi
24482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24483 ac_ext=c
24484 ac_cpp='$CPP $CPPFLAGS'
24485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24488
24489
24490
24491 fi
24492 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
24493 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
24494 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
24495 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
24496 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
24497 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
24498 echo $ECHO_N "(cached) $ECHO_C" >&6
24499 else
24500 ac_check_lib_save_LIBS=$LIBS
24501 LIBS="-lexpat $LIBS"
24502 cat >conftest.$ac_ext <<_ACEOF
24503 /* confdefs.h. */
24504 _ACEOF
24505 cat confdefs.h >>conftest.$ac_ext
24506 cat >>conftest.$ac_ext <<_ACEOF
24507 /* end confdefs.h. */
24508
24509 /* Override any gcc2 internal prototype to avoid an error. */
24510 #ifdef __cplusplus
24511 extern "C"
24512 #endif
24513 /* We use char because int might match the return type of a gcc2
24514 builtin and then its argument prototype would still apply. */
24515 char XML_ParserCreate ();
24516 int
24517 main ()
24518 {
24519 XML_ParserCreate ();
24520 ;
24521 return 0;
24522 }
24523 _ACEOF
24524 rm -f conftest.$ac_objext conftest$ac_exeext
24525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24526 (eval $ac_link) 2>conftest.er1
24527 ac_status=$?
24528 grep -v '^ *+' conftest.er1 >conftest.err
24529 rm -f conftest.er1
24530 cat conftest.err >&5
24531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24532 (exit $ac_status); } &&
24533 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24535 (eval $ac_try) 2>&5
24536 ac_status=$?
24537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24538 (exit $ac_status); }; } &&
24539 { ac_try='test -s conftest$ac_exeext'
24540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24541 (eval $ac_try) 2>&5
24542 ac_status=$?
24543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24544 (exit $ac_status); }; }; then
24545 ac_cv_lib_expat_XML_ParserCreate=yes
24546 else
24547 echo "$as_me: failed program was:" >&5
24548 sed 's/^/| /' conftest.$ac_ext >&5
24549
24550 ac_cv_lib_expat_XML_ParserCreate=no
24551 fi
24552 rm -f conftest.err conftest.$ac_objext \
24553 conftest$ac_exeext conftest.$ac_ext
24554 LIBS=$ac_check_lib_save_LIBS
24555 fi
24556 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
24557 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
24558 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
24559 EXPAT_LINK=" -lexpat"
24560 fi
24561
24562 fi
24563 fi
24564 if test "x$EXPAT_LINK" = "x" ; then
24565 if test "$wxUSE_EXPAT" = "sys" ; then
24566 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
24567 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
24568 { (exit 1); exit 1; }; }
24569 else
24570 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
24571 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
24572 wxUSE_EXPAT=builtin
24573 fi
24574 else
24575 wxUSE_EXPAT=sys
24576 fi
24577 fi
24578 if test "$wxUSE_EXPAT" = "builtin" ; then
24579
24580
24581 subdirs="$subdirs src/expat"
24582
24583 fi
24584 fi
24585
24586
24587
24588 if test "$wxUSE_LIBMSPACK" != "no"; then
24589 if test "${ac_cv_header_mspack_h+set}" = set; then
24590 echo "$as_me:$LINENO: checking for mspack.h" >&5
24591 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
24592 if test "${ac_cv_header_mspack_h+set}" = set; then
24593 echo $ECHO_N "(cached) $ECHO_C" >&6
24594 fi
24595 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
24596 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
24597 else
24598 # Is the header compilable?
24599 echo "$as_me:$LINENO: checking mspack.h usability" >&5
24600 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
24601 cat >conftest.$ac_ext <<_ACEOF
24602 /* confdefs.h. */
24603 _ACEOF
24604 cat confdefs.h >>conftest.$ac_ext
24605 cat >>conftest.$ac_ext <<_ACEOF
24606 /* end confdefs.h. */
24607 $ac_includes_default
24608 #include <mspack.h>
24609 _ACEOF
24610 rm -f conftest.$ac_objext
24611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24612 (eval $ac_compile) 2>conftest.er1
24613 ac_status=$?
24614 grep -v '^ *+' conftest.er1 >conftest.err
24615 rm -f conftest.er1
24616 cat conftest.err >&5
24617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24618 (exit $ac_status); } &&
24619 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24621 (eval $ac_try) 2>&5
24622 ac_status=$?
24623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24624 (exit $ac_status); }; } &&
24625 { ac_try='test -s conftest.$ac_objext'
24626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24627 (eval $ac_try) 2>&5
24628 ac_status=$?
24629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24630 (exit $ac_status); }; }; then
24631 ac_header_compiler=yes
24632 else
24633 echo "$as_me: failed program was:" >&5
24634 sed 's/^/| /' conftest.$ac_ext >&5
24635
24636 ac_header_compiler=no
24637 fi
24638 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24639 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24640 echo "${ECHO_T}$ac_header_compiler" >&6
24641
24642 # Is the header present?
24643 echo "$as_me:$LINENO: checking mspack.h presence" >&5
24644 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
24645 cat >conftest.$ac_ext <<_ACEOF
24646 /* confdefs.h. */
24647 _ACEOF
24648 cat confdefs.h >>conftest.$ac_ext
24649 cat >>conftest.$ac_ext <<_ACEOF
24650 /* end confdefs.h. */
24651 #include <mspack.h>
24652 _ACEOF
24653 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24654 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24655 ac_status=$?
24656 grep -v '^ *+' conftest.er1 >conftest.err
24657 rm -f conftest.er1
24658 cat conftest.err >&5
24659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24660 (exit $ac_status); } >/dev/null; then
24661 if test -s conftest.err; then
24662 ac_cpp_err=$ac_c_preproc_warn_flag
24663 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24664 else
24665 ac_cpp_err=
24666 fi
24667 else
24668 ac_cpp_err=yes
24669 fi
24670 if test -z "$ac_cpp_err"; then
24671 ac_header_preproc=yes
24672 else
24673 echo "$as_me: failed program was:" >&5
24674 sed 's/^/| /' conftest.$ac_ext >&5
24675
24676 ac_header_preproc=no
24677 fi
24678 rm -f conftest.err conftest.$ac_ext
24679 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24680 echo "${ECHO_T}$ac_header_preproc" >&6
24681
24682 # So? What about this header?
24683 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24684 yes:no: )
24685 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
24686 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24687 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
24688 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
24689 ac_header_preproc=yes
24690 ;;
24691 no:yes:* )
24692 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
24693 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
24694 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
24695 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
24696 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
24697 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
24698 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
24699 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
24700 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
24701 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
24702 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
24703 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
24704 (
24705 cat <<\_ASBOX
24706 ## ----------------------------------------- ##
24707 ## Report this to wx-dev@lists.wxwidgets.org ##
24708 ## ----------------------------------------- ##
24709 _ASBOX
24710 ) |
24711 sed "s/^/$as_me: WARNING: /" >&2
24712 ;;
24713 esac
24714 echo "$as_me:$LINENO: checking for mspack.h" >&5
24715 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
24716 if test "${ac_cv_header_mspack_h+set}" = set; then
24717 echo $ECHO_N "(cached) $ECHO_C" >&6
24718 else
24719 ac_cv_header_mspack_h=$ac_header_preproc
24720 fi
24721 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
24722 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
24723
24724 fi
24725 if test $ac_cv_header_mspack_h = yes; then
24726 found_mspack_h=1
24727 fi
24728
24729
24730 if test "x$found_mspack_h" = "x1"; then
24731 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
24732 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
24733 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
24734 echo $ECHO_N "(cached) $ECHO_C" >&6
24735 else
24736 ac_check_lib_save_LIBS=$LIBS
24737 LIBS="-lmspack $LIBS"
24738 cat >conftest.$ac_ext <<_ACEOF
24739 /* confdefs.h. */
24740 _ACEOF
24741 cat confdefs.h >>conftest.$ac_ext
24742 cat >>conftest.$ac_ext <<_ACEOF
24743 /* end confdefs.h. */
24744
24745 /* Override any gcc2 internal prototype to avoid an error. */
24746 #ifdef __cplusplus
24747 extern "C"
24748 #endif
24749 /* We use char because int might match the return type of a gcc2
24750 builtin and then its argument prototype would still apply. */
24751 char mspack_create_chm_decompressor ();
24752 int
24753 main ()
24754 {
24755 mspack_create_chm_decompressor ();
24756 ;
24757 return 0;
24758 }
24759 _ACEOF
24760 rm -f conftest.$ac_objext conftest$ac_exeext
24761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24762 (eval $ac_link) 2>conftest.er1
24763 ac_status=$?
24764 grep -v '^ *+' conftest.er1 >conftest.err
24765 rm -f conftest.er1
24766 cat conftest.err >&5
24767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24768 (exit $ac_status); } &&
24769 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24771 (eval $ac_try) 2>&5
24772 ac_status=$?
24773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24774 (exit $ac_status); }; } &&
24775 { ac_try='test -s conftest$ac_exeext'
24776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24777 (eval $ac_try) 2>&5
24778 ac_status=$?
24779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24780 (exit $ac_status); }; }; then
24781 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
24782 else
24783 echo "$as_me: failed program was:" >&5
24784 sed 's/^/| /' conftest.$ac_ext >&5
24785
24786 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
24787 fi
24788 rm -f conftest.err conftest.$ac_objext \
24789 conftest$ac_exeext conftest.$ac_ext
24790 LIBS=$ac_check_lib_save_LIBS
24791 fi
24792 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
24793 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
24794 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
24795 MSPACK_LINK=" -lmspack"
24796 fi
24797
24798 fi
24799 if test "x$MSPACK_LINK" = "x" ; then
24800 wxUSE_LIBMSPACK=no
24801 fi
24802 fi
24803
24804 if test "$wxUSE_LIBMSPACK" != "no"; then
24805 cat >>confdefs.h <<\_ACEOF
24806 #define wxUSE_LIBMSPACK 1
24807 _ACEOF
24808
24809 fi
24810
24811
24812
24813 AFMINSTALL=
24814 WIN32INSTALL=
24815
24816 TOOLKIT=
24817 TOOLKIT_INCLUDE=
24818 WIDGET_SET=
24819
24820 if test "$USE_WIN32" = 1 ; then
24821
24822 for ac_header in w32api.h
24823 do
24824 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24825 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24826 echo "$as_me:$LINENO: checking for $ac_header" >&5
24827 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24828 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24829 echo $ECHO_N "(cached) $ECHO_C" >&6
24830 fi
24831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24832 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24833 else
24834 # Is the header compilable?
24835 echo "$as_me:$LINENO: checking $ac_header usability" >&5
24836 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
24837 cat >conftest.$ac_ext <<_ACEOF
24838 /* confdefs.h. */
24839 _ACEOF
24840 cat confdefs.h >>conftest.$ac_ext
24841 cat >>conftest.$ac_ext <<_ACEOF
24842 /* end confdefs.h. */
24843 $ac_includes_default
24844 #include <$ac_header>
24845 _ACEOF
24846 rm -f conftest.$ac_objext
24847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24848 (eval $ac_compile) 2>conftest.er1
24849 ac_status=$?
24850 grep -v '^ *+' conftest.er1 >conftest.err
24851 rm -f conftest.er1
24852 cat conftest.err >&5
24853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24854 (exit $ac_status); } &&
24855 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24857 (eval $ac_try) 2>&5
24858 ac_status=$?
24859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24860 (exit $ac_status); }; } &&
24861 { ac_try='test -s conftest.$ac_objext'
24862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24863 (eval $ac_try) 2>&5
24864 ac_status=$?
24865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24866 (exit $ac_status); }; }; then
24867 ac_header_compiler=yes
24868 else
24869 echo "$as_me: failed program was:" >&5
24870 sed 's/^/| /' conftest.$ac_ext >&5
24871
24872 ac_header_compiler=no
24873 fi
24874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24875 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24876 echo "${ECHO_T}$ac_header_compiler" >&6
24877
24878 # Is the header present?
24879 echo "$as_me:$LINENO: checking $ac_header presence" >&5
24880 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
24881 cat >conftest.$ac_ext <<_ACEOF
24882 /* confdefs.h. */
24883 _ACEOF
24884 cat confdefs.h >>conftest.$ac_ext
24885 cat >>conftest.$ac_ext <<_ACEOF
24886 /* end confdefs.h. */
24887 #include <$ac_header>
24888 _ACEOF
24889 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24890 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24891 ac_status=$?
24892 grep -v '^ *+' conftest.er1 >conftest.err
24893 rm -f conftest.er1
24894 cat conftest.err >&5
24895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24896 (exit $ac_status); } >/dev/null; then
24897 if test -s conftest.err; then
24898 ac_cpp_err=$ac_c_preproc_warn_flag
24899 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24900 else
24901 ac_cpp_err=
24902 fi
24903 else
24904 ac_cpp_err=yes
24905 fi
24906 if test -z "$ac_cpp_err"; then
24907 ac_header_preproc=yes
24908 else
24909 echo "$as_me: failed program was:" >&5
24910 sed 's/^/| /' conftest.$ac_ext >&5
24911
24912 ac_header_preproc=no
24913 fi
24914 rm -f conftest.err conftest.$ac_ext
24915 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24916 echo "${ECHO_T}$ac_header_preproc" >&6
24917
24918 # So? What about this header?
24919 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24920 yes:no: )
24921 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24922 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24923 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24924 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24925 ac_header_preproc=yes
24926 ;;
24927 no:yes:* )
24928 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24929 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24930 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24931 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24932 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24933 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24934 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24935 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24936 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24937 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24938 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24939 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24940 (
24941 cat <<\_ASBOX
24942 ## ----------------------------------------- ##
24943 ## Report this to wx-dev@lists.wxwidgets.org ##
24944 ## ----------------------------------------- ##
24945 _ASBOX
24946 ) |
24947 sed "s/^/$as_me: WARNING: /" >&2
24948 ;;
24949 esac
24950 echo "$as_me:$LINENO: checking for $ac_header" >&5
24951 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24952 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24953 echo $ECHO_N "(cached) $ECHO_C" >&6
24954 else
24955 eval "$as_ac_Header=\$ac_header_preproc"
24956 fi
24957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24958 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24959
24960 fi
24961 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24962 cat >>confdefs.h <<_ACEOF
24963 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24964 _ACEOF
24965
24966 fi
24967
24968 done
24969
24970 if test "${ac_cv_header_windows_h+set}" = set; then
24971 echo "$as_me:$LINENO: checking for windows.h" >&5
24972 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
24973 if test "${ac_cv_header_windows_h+set}" = set; then
24974 echo $ECHO_N "(cached) $ECHO_C" >&6
24975 fi
24976 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
24977 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
24978 else
24979 # Is the header compilable?
24980 echo "$as_me:$LINENO: checking windows.h usability" >&5
24981 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
24982 cat >conftest.$ac_ext <<_ACEOF
24983 /* confdefs.h. */
24984 _ACEOF
24985 cat confdefs.h >>conftest.$ac_ext
24986 cat >>conftest.$ac_ext <<_ACEOF
24987 /* end confdefs.h. */
24988 $ac_includes_default
24989 #include <windows.h>
24990 _ACEOF
24991 rm -f conftest.$ac_objext
24992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24993 (eval $ac_compile) 2>conftest.er1
24994 ac_status=$?
24995 grep -v '^ *+' conftest.er1 >conftest.err
24996 rm -f conftest.er1
24997 cat conftest.err >&5
24998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24999 (exit $ac_status); } &&
25000 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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_objext'
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_header_compiler=yes
25013 else
25014 echo "$as_me: failed program was:" >&5
25015 sed 's/^/| /' conftest.$ac_ext >&5
25016
25017 ac_header_compiler=no
25018 fi
25019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25020 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25021 echo "${ECHO_T}$ac_header_compiler" >&6
25022
25023 # Is the header present?
25024 echo "$as_me:$LINENO: checking windows.h presence" >&5
25025 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
25026 cat >conftest.$ac_ext <<_ACEOF
25027 /* confdefs.h. */
25028 _ACEOF
25029 cat confdefs.h >>conftest.$ac_ext
25030 cat >>conftest.$ac_ext <<_ACEOF
25031 /* end confdefs.h. */
25032 #include <windows.h>
25033 _ACEOF
25034 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25035 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25036 ac_status=$?
25037 grep -v '^ *+' conftest.er1 >conftest.err
25038 rm -f conftest.er1
25039 cat conftest.err >&5
25040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25041 (exit $ac_status); } >/dev/null; then
25042 if test -s conftest.err; then
25043 ac_cpp_err=$ac_c_preproc_warn_flag
25044 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
25045 else
25046 ac_cpp_err=
25047 fi
25048 else
25049 ac_cpp_err=yes
25050 fi
25051 if test -z "$ac_cpp_err"; then
25052 ac_header_preproc=yes
25053 else
25054 echo "$as_me: failed program was:" >&5
25055 sed 's/^/| /' conftest.$ac_ext >&5
25056
25057 ac_header_preproc=no
25058 fi
25059 rm -f conftest.err conftest.$ac_ext
25060 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25061 echo "${ECHO_T}$ac_header_preproc" >&6
25062
25063 # So? What about this header?
25064 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25065 yes:no: )
25066 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
25067 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25068 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
25069 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
25070 ac_header_preproc=yes
25071 ;;
25072 no:yes:* )
25073 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
25074 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
25075 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
25076 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
25077 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
25078 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
25079 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
25080 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
25081 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
25082 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
25083 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
25084 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
25085 (
25086 cat <<\_ASBOX
25087 ## ----------------------------------------- ##
25088 ## Report this to wx-dev@lists.wxwidgets.org ##
25089 ## ----------------------------------------- ##
25090 _ASBOX
25091 ) |
25092 sed "s/^/$as_me: WARNING: /" >&2
25093 ;;
25094 esac
25095 echo "$as_me:$LINENO: checking for windows.h" >&5
25096 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
25097 if test "${ac_cv_header_windows_h+set}" = set; then
25098 echo $ECHO_N "(cached) $ECHO_C" >&6
25099 else
25100 ac_cv_header_windows_h=$ac_header_preproc
25101 fi
25102 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
25103 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
25104
25105 fi
25106 if test $ac_cv_header_windows_h = yes; then
25107 :
25108 else
25109
25110 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
25111 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
25112 { (exit 1); exit 1; }; }
25113
25114 fi
25115
25116
25117
25118 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
25119
25120 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
25121 LIBS="$LIBS -loleacc"
25122 fi
25123
25124 case "${host}" in
25125 *-*-cygwin* )
25126 LIBS="$LIBS -lkernel32 -luser32"
25127 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
25128 esac
25129
25130 if test "$wxUSE_ODBC" = "sys" ; then
25131 wxUSE_ODBC = "yes"
25132 fi
25133 if test "$wxUSE_ODBC" = "yes" ; then
25134 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
25135 cat >>confdefs.h <<\_ACEOF
25136 #define wxUSE_ODBC 1
25137 _ACEOF
25138
25139 fi
25140
25141 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
25142 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
25143
25144 WIN32INSTALL=win32install
25145 fi
25146
25147 if test "$wxUSE_GUI" = "yes"; then
25148 USE_GUI=1
25149
25150 GUI_TK_LIBRARY=
25151
25152 WXGTK12=
25153 WXGTK127=
25154 WXGTK20=
25155 WXGPE=
25156
25157 if test "$wxUSE_COCOA" = 1 ; then
25158 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
25159 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
25160 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
25161 wxUSE_PRINTING_ARCHITECTURE=no
25162 fi
25163 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
25164 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
25165 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
25166 wxUSE_DRAG_AND_DROP=no
25167 fi
25168 if test "$wxUSE_DRAGIMAGE" = "yes"; then
25169 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
25170 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
25171 wxUSE_DRAGIMAGE=no
25172 fi
25173 fi
25174
25175 if test "$wxUSE_MSW" = 1 ; then
25176 TOOLKIT=MSW
25177 GUIDIST=MSW_DIST
25178
25179 case "${host}" in
25180 *-*-mingw32* )
25181 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
25182 esac
25183 fi
25184
25185 if test "$wxUSE_GTK" = 1; then
25186 echo "$as_me:$LINENO: checking for GTK+ version" >&5
25187 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
25188
25189 gtk_version_cached=1
25190 if test "${wx_cv_lib_gtk+set}" = set; then
25191 echo $ECHO_N "(cached) $ECHO_C" >&6
25192 else
25193
25194 gtk_version_cached=0
25195 echo "$as_me:$LINENO: result: " >&5
25196 echo "${ECHO_T}" >&6
25197
25198 GTK_MODULES=
25199 if test "$wxUSE_THREADS" = "yes"; then
25200 GTK_MODULES=gthread
25201 fi
25202
25203 wx_cv_lib_gtk=
25204 if test "x$wxGTK_VERSION" != "x1"
25205 then
25206 case "${host}" in
25207 *-*-solaris2* )
25208 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
25209 enable_gtktest=no
25210 fi
25211 esac
25212
25213 # Check whether --enable-gtktest or --disable-gtktest was given.
25214 if test "${enable_gtktest+set}" = set; then
25215 enableval="$enable_gtktest"
25216
25217 else
25218 enable_gtktest=yes
25219 fi;
25220
25221 pkg_config_args=gtk+-2.0
25222 for module in . $GTK_MODULES
25223 do
25224 case "$module" in
25225 gthread)
25226 pkg_config_args="$pkg_config_args gthread-2.0"
25227 ;;
25228 esac
25229 done
25230
25231 no_gtk=""
25232
25233 # Extract the first word of "pkg-config", so it can be a program name with args.
25234 set dummy pkg-config; ac_word=$2
25235 echo "$as_me:$LINENO: checking for $ac_word" >&5
25236 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25237 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25238 echo $ECHO_N "(cached) $ECHO_C" >&6
25239 else
25240 case $PKG_CONFIG in
25241 [\\/]* | ?:[\\/]*)
25242 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25243 ;;
25244 *)
25245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25246 for as_dir in $PATH
25247 do
25248 IFS=$as_save_IFS
25249 test -z "$as_dir" && as_dir=.
25250 for ac_exec_ext in '' $ac_executable_extensions; do
25251 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25252 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25253 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25254 break 2
25255 fi
25256 done
25257 done
25258
25259 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
25260 ;;
25261 esac
25262 fi
25263 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25264
25265 if test -n "$PKG_CONFIG"; then
25266 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25267 echo "${ECHO_T}$PKG_CONFIG" >&6
25268 else
25269 echo "$as_me:$LINENO: result: no" >&5
25270 echo "${ECHO_T}no" >&6
25271 fi
25272
25273
25274 if test x$PKG_CONFIG != xno ; then
25275 if pkg-config --atleast-pkgconfig-version 0.7 ; then
25276 :
25277 else
25278 echo "*** pkg-config too old; version 0.7 or better required."
25279 no_gtk=yes
25280 PKG_CONFIG=no
25281 fi
25282 else
25283 no_gtk=yes
25284 fi
25285
25286 min_gtk_version=2.0.0
25287 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
25288 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
25289
25290 if test x$PKG_CONFIG != xno ; then
25291 ## don't try to run the test against uninstalled libtool libs
25292 if $PKG_CONFIG --uninstalled $pkg_config_args; then
25293 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
25294 enable_gtktest=no
25295 fi
25296
25297 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
25298 :
25299 else
25300 no_gtk=yes
25301 fi
25302 fi
25303
25304 if test x"$no_gtk" = x ; then
25305 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
25306 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
25307 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
25308 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
25309 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
25310 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
25311 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
25312 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
25313 if test "x$enable_gtktest" = "xyes" ; then
25314 ac_save_CFLAGS="$CFLAGS"
25315 ac_save_LIBS="$LIBS"
25316 CFLAGS="$CFLAGS $GTK_CFLAGS"
25317 LIBS="$GTK_LIBS $LIBS"
25318 rm -f conf.gtktest
25319 if test "$cross_compiling" = yes; then
25320 echo $ac_n "cross compiling; assumed OK... $ac_c"
25321 else
25322 cat >conftest.$ac_ext <<_ACEOF
25323 /* confdefs.h. */
25324 _ACEOF
25325 cat confdefs.h >>conftest.$ac_ext
25326 cat >>conftest.$ac_ext <<_ACEOF
25327 /* end confdefs.h. */
25328
25329 #include <gtk/gtk.h>
25330 #include <stdio.h>
25331 #include <stdlib.h>
25332
25333 int
25334 main ()
25335 {
25336 int major, minor, micro;
25337 char *tmp_version;
25338
25339 system ("touch conf.gtktest");
25340
25341 /* HP/UX 9 (%@#!) writes to sscanf strings */
25342 tmp_version = g_strdup("$min_gtk_version");
25343 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
25344 printf("%s, bad version string\n", "$min_gtk_version");
25345 exit(1);
25346 }
25347
25348 if ((gtk_major_version != $gtk_config_major_version) ||
25349 (gtk_minor_version != $gtk_config_minor_version) ||
25350 (gtk_micro_version != $gtk_config_micro_version))
25351 {
25352 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
25353 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
25354 gtk_major_version, gtk_minor_version, gtk_micro_version);
25355 printf ("*** was found! If pkg-config was correct, then it is best\n");
25356 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
25357 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
25358 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
25359 printf("*** required on your system.\n");
25360 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
25361 printf("*** to point to the correct configuration files\n");
25362 }
25363 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
25364 (gtk_minor_version != GTK_MINOR_VERSION) ||
25365 (gtk_micro_version != GTK_MICRO_VERSION))
25366 {
25367 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
25368 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
25369 printf("*** library (version %d.%d.%d)\n",
25370 gtk_major_version, gtk_minor_version, gtk_micro_version);
25371 }
25372 else
25373 {
25374 if ((gtk_major_version > major) ||
25375 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
25376 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
25377 {
25378 return 0;
25379 }
25380 else
25381 {
25382 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
25383 gtk_major_version, gtk_minor_version, gtk_micro_version);
25384 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
25385 major, minor, micro);
25386 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
25387 printf("***\n");
25388 printf("*** If you have already installed a sufficiently new version, this error\n");
25389 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
25390 printf("*** being found. The easiest way to fix this is to remove the old version\n");
25391 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
25392 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
25393 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
25394 printf("*** so that the correct libraries are found at run-time))\n");
25395 }
25396 }
25397 return 1;
25398 }
25399
25400 _ACEOF
25401 rm -f conftest$ac_exeext
25402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25403 (eval $ac_link) 2>&5
25404 ac_status=$?
25405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25406 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25408 (eval $ac_try) 2>&5
25409 ac_status=$?
25410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25411 (exit $ac_status); }; }; then
25412 :
25413 else
25414 echo "$as_me: program exited with status $ac_status" >&5
25415 echo "$as_me: failed program was:" >&5
25416 sed 's/^/| /' conftest.$ac_ext >&5
25417
25418 ( exit $ac_status )
25419 no_gtk=yes
25420 fi
25421 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25422 fi
25423 CFLAGS="$ac_save_CFLAGS"
25424 LIBS="$ac_save_LIBS"
25425 fi
25426 fi
25427 if test "x$no_gtk" = x ; then
25428 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
25429 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
25430 wx_cv_lib_gtk=2.0
25431 else
25432 echo "$as_me:$LINENO: result: no" >&5
25433 echo "${ECHO_T}no" >&6
25434 if test "$PKG_CONFIG" = "no" ; then
25435 echo "*** A new enough version of pkg-config was not found."
25436 echo "*** See http://pkgconfig.sourceforge.net"
25437 else
25438 if test -f conf.gtktest ; then
25439 :
25440 else
25441 echo "*** Could not run GTK+ test program, checking why..."
25442 ac_save_CFLAGS="$CFLAGS"
25443 ac_save_LIBS="$LIBS"
25444 CFLAGS="$CFLAGS $GTK_CFLAGS"
25445 LIBS="$LIBS $GTK_LIBS"
25446 cat >conftest.$ac_ext <<_ACEOF
25447 /* confdefs.h. */
25448 _ACEOF
25449 cat confdefs.h >>conftest.$ac_ext
25450 cat >>conftest.$ac_ext <<_ACEOF
25451 /* end confdefs.h. */
25452
25453 #include <gtk/gtk.h>
25454 #include <stdio.h>
25455
25456 int
25457 main ()
25458 {
25459 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
25460 ;
25461 return 0;
25462 }
25463 _ACEOF
25464 rm -f conftest.$ac_objext conftest$ac_exeext
25465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25466 (eval $ac_link) 2>conftest.er1
25467 ac_status=$?
25468 grep -v '^ *+' conftest.er1 >conftest.err
25469 rm -f conftest.er1
25470 cat conftest.err >&5
25471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25472 (exit $ac_status); } &&
25473 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25475 (eval $ac_try) 2>&5
25476 ac_status=$?
25477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25478 (exit $ac_status); }; } &&
25479 { ac_try='test -s conftest$ac_exeext'
25480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25481 (eval $ac_try) 2>&5
25482 ac_status=$?
25483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25484 (exit $ac_status); }; }; then
25485 echo "*** The test program compiled, but did not run. This usually means"
25486 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
25487 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
25488 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25489 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25490 echo "*** is required on your system"
25491 echo "***"
25492 echo "*** If you have an old version installed, it is best to remove it, although"
25493 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25494 else
25495 echo "$as_me: failed program was:" >&5
25496 sed 's/^/| /' conftest.$ac_ext >&5
25497
25498 echo "*** The test program failed to compile or link. See the file config.log for the"
25499 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
25500 fi
25501 rm -f conftest.err conftest.$ac_objext \
25502 conftest$ac_exeext conftest.$ac_ext
25503 CFLAGS="$ac_save_CFLAGS"
25504 LIBS="$ac_save_LIBS"
25505 fi
25506 fi
25507 GTK_CFLAGS=""
25508 GTK_LIBS=""
25509 :
25510 fi
25511
25512
25513 rm -f conf.gtktest
25514
25515
25516 case "${host}" in
25517 *-*-solaris2* )
25518 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
25519 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
25520 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
25521 fi
25522 if test "$wxUSE_SHARED" != "yes"; then
25523 GTK_LIBS="$GTK_LIBS -lX11"
25524 fi
25525 esac
25526 fi
25527
25528 if test -z "$wx_cv_lib_gtk"; then
25529 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
25530
25531 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
25532 if test "${with_gtk_prefix+set}" = set; then
25533 withval="$with_gtk_prefix"
25534 gtk_config_prefix="$withval"
25535 else
25536 gtk_config_prefix=""
25537 fi;
25538
25539 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
25540 if test "${with_gtk_exec_prefix+set}" = set; then
25541 withval="$with_gtk_exec_prefix"
25542 gtk_config_exec_prefix="$withval"
25543 else
25544 gtk_config_exec_prefix=""
25545 fi;
25546 # Check whether --enable-gtktest or --disable-gtktest was given.
25547 if test "${enable_gtktest+set}" = set; then
25548 enableval="$enable_gtktest"
25549
25550 else
25551 enable_gtktest=yes
25552 fi;
25553
25554 for module in . $GTK_MODULES
25555 do
25556 case "$module" in
25557 gthread)
25558 gtk_config_args="$gtk_config_args gthread"
25559 ;;
25560 esac
25561 done
25562
25563 if test x$gtk_config_exec_prefix != x ; then
25564 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
25565 if test x${GTK_CONFIG+set} != xset ; then
25566 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
25567 fi
25568 fi
25569 if test x$gtk_config_prefix != x ; then
25570 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
25571 if test x${GTK_CONFIG+set} != xset ; then
25572 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
25573 fi
25574 fi
25575
25576 # Extract the first word of "gtk-config", so it can be a program name with args.
25577 set dummy gtk-config; ac_word=$2
25578 echo "$as_me:$LINENO: checking for $ac_word" >&5
25579 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25580 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
25581 echo $ECHO_N "(cached) $ECHO_C" >&6
25582 else
25583 case $GTK_CONFIG in
25584 [\\/]* | ?:[\\/]*)
25585 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
25586 ;;
25587 *)
25588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25589 for as_dir in $PATH
25590 do
25591 IFS=$as_save_IFS
25592 test -z "$as_dir" && as_dir=.
25593 for ac_exec_ext in '' $ac_executable_extensions; do
25594 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25595 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25596 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25597 break 2
25598 fi
25599 done
25600 done
25601
25602 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
25603 ;;
25604 esac
25605 fi
25606 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
25607
25608 if test -n "$GTK_CONFIG"; then
25609 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
25610 echo "${ECHO_T}$GTK_CONFIG" >&6
25611 else
25612 echo "$as_me:$LINENO: result: no" >&5
25613 echo "${ECHO_T}no" >&6
25614 fi
25615
25616 min_gtk_version=1.2.7
25617 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
25618 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
25619 no_gtk=""
25620 if test "$GTK_CONFIG" = "no" ; then
25621 no_gtk=yes
25622 else
25623 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
25624 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
25625 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
25626 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
25627 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
25628 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
25629 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
25630 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
25631 if test "x$enable_gtktest" = "xyes" ; then
25632 ac_save_CFLAGS="$CFLAGS"
25633 ac_save_LIBS="$LIBS"
25634 CFLAGS="$CFLAGS $GTK_CFLAGS"
25635 LIBS="$GTK_LIBS $LIBS"
25636 rm -f conf.gtktest
25637 if test "$cross_compiling" = yes; then
25638 echo $ac_n "cross compiling; assumed OK... $ac_c"
25639 else
25640 cat >conftest.$ac_ext <<_ACEOF
25641 /* confdefs.h. */
25642 _ACEOF
25643 cat confdefs.h >>conftest.$ac_ext
25644 cat >>conftest.$ac_ext <<_ACEOF
25645 /* end confdefs.h. */
25646
25647 #include <gtk/gtk.h>
25648 #include <stdio.h>
25649 #include <stdlib.h>
25650
25651 int
25652 main ()
25653 {
25654 int major, minor, micro;
25655 char *tmp_version;
25656
25657 system ("touch conf.gtktest");
25658
25659 /* HP/UX 9 (%@#!) writes to sscanf strings */
25660 tmp_version = g_strdup("$min_gtk_version");
25661 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
25662 printf("%s, bad version string\n", "$min_gtk_version");
25663 exit(1);
25664 }
25665
25666 if ((gtk_major_version != $gtk_config_major_version) ||
25667 (gtk_minor_version != $gtk_config_minor_version) ||
25668 (gtk_micro_version != $gtk_config_micro_version))
25669 {
25670 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
25671 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
25672 gtk_major_version, gtk_minor_version, gtk_micro_version);
25673 printf ("*** was found! If gtk-config was correct, then it is best\n");
25674 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
25675 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
25676 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
25677 printf("*** required on your system.\n");
25678 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
25679 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
25680 printf("*** before re-running configure\n");
25681 }
25682 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
25683 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
25684 (gtk_minor_version != GTK_MINOR_VERSION) ||
25685 (gtk_micro_version != GTK_MICRO_VERSION))
25686 {
25687 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
25688 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
25689 printf("*** library (version %d.%d.%d)\n",
25690 gtk_major_version, gtk_minor_version, gtk_micro_version);
25691 }
25692 #endif /* defined (GTK_MAJOR_VERSION) ... */
25693 else
25694 {
25695 if ((gtk_major_version > major) ||
25696 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
25697 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
25698 {
25699 return 0;
25700 }
25701 else
25702 {
25703 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
25704 gtk_major_version, gtk_minor_version, gtk_micro_version);
25705 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
25706 major, minor, micro);
25707 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
25708 printf("***\n");
25709 printf("*** If you have already installed a sufficiently new version, this error\n");
25710 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
25711 printf("*** being found. The easiest way to fix this is to remove the old version\n");
25712 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
25713 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
25714 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
25715 printf("*** so that the correct libraries are found at run-time))\n");
25716 }
25717 }
25718 return 1;
25719 }
25720
25721 _ACEOF
25722 rm -f conftest$ac_exeext
25723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25724 (eval $ac_link) 2>&5
25725 ac_status=$?
25726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25727 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25729 (eval $ac_try) 2>&5
25730 ac_status=$?
25731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25732 (exit $ac_status); }; }; then
25733 :
25734 else
25735 echo "$as_me: program exited with status $ac_status" >&5
25736 echo "$as_me: failed program was:" >&5
25737 sed 's/^/| /' conftest.$ac_ext >&5
25738
25739 ( exit $ac_status )
25740 no_gtk=yes
25741 fi
25742 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25743 fi
25744 CFLAGS="$ac_save_CFLAGS"
25745 LIBS="$ac_save_LIBS"
25746 fi
25747 fi
25748 if test "x$no_gtk" = x ; then
25749 echo "$as_me:$LINENO: result: yes" >&5
25750 echo "${ECHO_T}yes" >&6
25751 wx_cv_lib_gtk=1.2.7
25752 else
25753 echo "$as_me:$LINENO: result: no" >&5
25754 echo "${ECHO_T}no" >&6
25755 if test "$GTK_CONFIG" = "no" ; then
25756 echo "*** The gtk-config script installed by GTK could not be found"
25757 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
25758 echo "*** your path, or set the GTK_CONFIG environment variable to the"
25759 echo "*** full path to gtk-config."
25760 else
25761 if test -f conf.gtktest ; then
25762 :
25763 else
25764 echo "*** Could not run GTK test program, checking why..."
25765 CFLAGS="$CFLAGS $GTK_CFLAGS"
25766 LIBS="$LIBS $GTK_LIBS"
25767 cat >conftest.$ac_ext <<_ACEOF
25768 /* confdefs.h. */
25769 _ACEOF
25770 cat confdefs.h >>conftest.$ac_ext
25771 cat >>conftest.$ac_ext <<_ACEOF
25772 /* end confdefs.h. */
25773
25774 #include <gtk/gtk.h>
25775 #include <stdio.h>
25776
25777 int
25778 main ()
25779 {
25780 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
25781 ;
25782 return 0;
25783 }
25784 _ACEOF
25785 rm -f conftest.$ac_objext conftest$ac_exeext
25786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25787 (eval $ac_link) 2>conftest.er1
25788 ac_status=$?
25789 grep -v '^ *+' conftest.er1 >conftest.err
25790 rm -f conftest.er1
25791 cat conftest.err >&5
25792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25793 (exit $ac_status); } &&
25794 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25796 (eval $ac_try) 2>&5
25797 ac_status=$?
25798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25799 (exit $ac_status); }; } &&
25800 { ac_try='test -s conftest$ac_exeext'
25801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25802 (eval $ac_try) 2>&5
25803 ac_status=$?
25804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25805 (exit $ac_status); }; }; then
25806 echo "*** The test program compiled, but did not run. This usually means"
25807 echo "*** that the run-time linker is not finding GTK or finding the wrong"
25808 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
25809 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25810 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25811 echo "*** is required on your system"
25812 echo "***"
25813 echo "*** If you have an old version installed, it is best to remove it, although"
25814 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25815 echo "***"
25816 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
25817 echo "*** came with the system with the command"
25818 echo "***"
25819 echo "*** rpm --erase --nodeps gtk gtk-devel"
25820 else
25821 echo "$as_me: failed program was:" >&5
25822 sed 's/^/| /' conftest.$ac_ext >&5
25823
25824 echo "*** The test program failed to compile or link. See the file config.log for the"
25825 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
25826 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
25827 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
25828 fi
25829 rm -f conftest.err conftest.$ac_objext \
25830 conftest$ac_exeext conftest.$ac_ext
25831 CFLAGS="$ac_save_CFLAGS"
25832 LIBS="$ac_save_LIBS"
25833 fi
25834 fi
25835 GTK_CFLAGS=""
25836 GTK_LIBS=""
25837 :
25838 fi
25839
25840
25841 rm -f conf.gtktest
25842
25843
25844 if test -z "$wx_cv_lib_gtk"; then
25845
25846 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
25847 if test "${with_gtk_prefix+set}" = set; then
25848 withval="$with_gtk_prefix"
25849 gtk_config_prefix="$withval"
25850 else
25851 gtk_config_prefix=""
25852 fi;
25853
25854 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
25855 if test "${with_gtk_exec_prefix+set}" = set; then
25856 withval="$with_gtk_exec_prefix"
25857 gtk_config_exec_prefix="$withval"
25858 else
25859 gtk_config_exec_prefix=""
25860 fi;
25861 # Check whether --enable-gtktest or --disable-gtktest was given.
25862 if test "${enable_gtktest+set}" = set; then
25863 enableval="$enable_gtktest"
25864
25865 else
25866 enable_gtktest=yes
25867 fi;
25868
25869 for module in . $GTK_MODULES
25870 do
25871 case "$module" in
25872 gthread)
25873 gtk_config_args="$gtk_config_args gthread"
25874 ;;
25875 esac
25876 done
25877
25878 if test x$gtk_config_exec_prefix != x ; then
25879 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
25880 if test x${GTK_CONFIG+set} != xset ; then
25881 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
25882 fi
25883 fi
25884 if test x$gtk_config_prefix != x ; then
25885 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
25886 if test x${GTK_CONFIG+set} != xset ; then
25887 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
25888 fi
25889 fi
25890
25891 # Extract the first word of "gtk-config", so it can be a program name with args.
25892 set dummy gtk-config; ac_word=$2
25893 echo "$as_me:$LINENO: checking for $ac_word" >&5
25894 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25895 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
25896 echo $ECHO_N "(cached) $ECHO_C" >&6
25897 else
25898 case $GTK_CONFIG in
25899 [\\/]* | ?:[\\/]*)
25900 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
25901 ;;
25902 *)
25903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25904 for as_dir in $PATH
25905 do
25906 IFS=$as_save_IFS
25907 test -z "$as_dir" && as_dir=.
25908 for ac_exec_ext in '' $ac_executable_extensions; do
25909 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25910 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25911 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25912 break 2
25913 fi
25914 done
25915 done
25916
25917 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
25918 ;;
25919 esac
25920 fi
25921 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
25922
25923 if test -n "$GTK_CONFIG"; then
25924 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
25925 echo "${ECHO_T}$GTK_CONFIG" >&6
25926 else
25927 echo "$as_me:$LINENO: result: no" >&5
25928 echo "${ECHO_T}no" >&6
25929 fi
25930
25931 min_gtk_version=1.2.3
25932 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
25933 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
25934 no_gtk=""
25935 if test "$GTK_CONFIG" = "no" ; then
25936 no_gtk=yes
25937 else
25938 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
25939 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
25940 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
25941 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
25942 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
25943 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
25944 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
25945 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
25946 if test "x$enable_gtktest" = "xyes" ; then
25947 ac_save_CFLAGS="$CFLAGS"
25948 ac_save_LIBS="$LIBS"
25949 CFLAGS="$CFLAGS $GTK_CFLAGS"
25950 LIBS="$GTK_LIBS $LIBS"
25951 rm -f conf.gtktest
25952 if test "$cross_compiling" = yes; then
25953 echo $ac_n "cross compiling; assumed OK... $ac_c"
25954 else
25955 cat >conftest.$ac_ext <<_ACEOF
25956 /* confdefs.h. */
25957 _ACEOF
25958 cat confdefs.h >>conftest.$ac_ext
25959 cat >>conftest.$ac_ext <<_ACEOF
25960 /* end confdefs.h. */
25961
25962 #include <gtk/gtk.h>
25963 #include <stdio.h>
25964 #include <stdlib.h>
25965
25966 int
25967 main ()
25968 {
25969 int major, minor, micro;
25970 char *tmp_version;
25971
25972 system ("touch conf.gtktest");
25973
25974 /* HP/UX 9 (%@#!) writes to sscanf strings */
25975 tmp_version = g_strdup("$min_gtk_version");
25976 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
25977 printf("%s, bad version string\n", "$min_gtk_version");
25978 exit(1);
25979 }
25980
25981 if ((gtk_major_version != $gtk_config_major_version) ||
25982 (gtk_minor_version != $gtk_config_minor_version) ||
25983 (gtk_micro_version != $gtk_config_micro_version))
25984 {
25985 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
25986 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
25987 gtk_major_version, gtk_minor_version, gtk_micro_version);
25988 printf ("*** was found! If gtk-config was correct, then it is best\n");
25989 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
25990 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
25991 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
25992 printf("*** required on your system.\n");
25993 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
25994 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
25995 printf("*** before re-running configure\n");
25996 }
25997 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
25998 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
25999 (gtk_minor_version != GTK_MINOR_VERSION) ||
26000 (gtk_micro_version != GTK_MICRO_VERSION))
26001 {
26002 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26003 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26004 printf("*** library (version %d.%d.%d)\n",
26005 gtk_major_version, gtk_minor_version, gtk_micro_version);
26006 }
26007 #endif /* defined (GTK_MAJOR_VERSION) ... */
26008 else
26009 {
26010 if ((gtk_major_version > major) ||
26011 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26012 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26013 {
26014 return 0;
26015 }
26016 else
26017 {
26018 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26019 gtk_major_version, gtk_minor_version, gtk_micro_version);
26020 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26021 major, minor, micro);
26022 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26023 printf("***\n");
26024 printf("*** If you have already installed a sufficiently new version, this error\n");
26025 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
26026 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26027 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
26028 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
26029 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26030 printf("*** so that the correct libraries are found at run-time))\n");
26031 }
26032 }
26033 return 1;
26034 }
26035
26036 _ACEOF
26037 rm -f conftest$ac_exeext
26038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26039 (eval $ac_link) 2>&5
26040 ac_status=$?
26041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26042 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26044 (eval $ac_try) 2>&5
26045 ac_status=$?
26046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26047 (exit $ac_status); }; }; then
26048 :
26049 else
26050 echo "$as_me: program exited with status $ac_status" >&5
26051 echo "$as_me: failed program was:" >&5
26052 sed 's/^/| /' conftest.$ac_ext >&5
26053
26054 ( exit $ac_status )
26055 no_gtk=yes
26056 fi
26057 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26058 fi
26059 CFLAGS="$ac_save_CFLAGS"
26060 LIBS="$ac_save_LIBS"
26061 fi
26062 fi
26063 if test "x$no_gtk" = x ; then
26064 echo "$as_me:$LINENO: result: yes" >&5
26065 echo "${ECHO_T}yes" >&6
26066 wx_cv_lib_gtk=1.2.3
26067 else
26068 echo "$as_me:$LINENO: result: no" >&5
26069 echo "${ECHO_T}no" >&6
26070 if test "$GTK_CONFIG" = "no" ; then
26071 echo "*** The gtk-config script installed by GTK could not be found"
26072 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
26073 echo "*** your path, or set the GTK_CONFIG environment variable to the"
26074 echo "*** full path to gtk-config."
26075 else
26076 if test -f conf.gtktest ; then
26077 :
26078 else
26079 echo "*** Could not run GTK test program, checking why..."
26080 CFLAGS="$CFLAGS $GTK_CFLAGS"
26081 LIBS="$LIBS $GTK_LIBS"
26082 cat >conftest.$ac_ext <<_ACEOF
26083 /* confdefs.h. */
26084 _ACEOF
26085 cat confdefs.h >>conftest.$ac_ext
26086 cat >>conftest.$ac_ext <<_ACEOF
26087 /* end confdefs.h. */
26088
26089 #include <gtk/gtk.h>
26090 #include <stdio.h>
26091
26092 int
26093 main ()
26094 {
26095 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26096 ;
26097 return 0;
26098 }
26099 _ACEOF
26100 rm -f conftest.$ac_objext conftest$ac_exeext
26101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26102 (eval $ac_link) 2>conftest.er1
26103 ac_status=$?
26104 grep -v '^ *+' conftest.er1 >conftest.err
26105 rm -f conftest.er1
26106 cat conftest.err >&5
26107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26108 (exit $ac_status); } &&
26109 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26111 (eval $ac_try) 2>&5
26112 ac_status=$?
26113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26114 (exit $ac_status); }; } &&
26115 { ac_try='test -s conftest$ac_exeext'
26116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26117 (eval $ac_try) 2>&5
26118 ac_status=$?
26119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26120 (exit $ac_status); }; }; then
26121 echo "*** The test program compiled, but did not run. This usually means"
26122 echo "*** that the run-time linker is not finding GTK or finding the wrong"
26123 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
26124 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26125 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26126 echo "*** is required on your system"
26127 echo "***"
26128 echo "*** If you have an old version installed, it is best to remove it, although"
26129 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26130 echo "***"
26131 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
26132 echo "*** came with the system with the command"
26133 echo "***"
26134 echo "*** rpm --erase --nodeps gtk gtk-devel"
26135 else
26136 echo "$as_me: failed program was:" >&5
26137 sed 's/^/| /' conftest.$ac_ext >&5
26138
26139 echo "*** The test program failed to compile or link. See the file config.log for the"
26140 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
26141 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
26142 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
26143 fi
26144 rm -f conftest.err conftest.$ac_objext \
26145 conftest$ac_exeext conftest.$ac_ext
26146 CFLAGS="$ac_save_CFLAGS"
26147 LIBS="$ac_save_LIBS"
26148 fi
26149 fi
26150 GTK_CFLAGS=""
26151 GTK_LIBS=""
26152 :
26153 fi
26154
26155
26156 rm -f conf.gtktest
26157
26158 fi
26159 fi
26160 fi
26161
26162 if test -z "$wx_cv_lib_gtk"; then
26163 wx_cv_lib_gtk=none
26164 else
26165 wx_cv_cflags_gtk=$GTK_CFLAGS
26166 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
26167 fi
26168
26169
26170 fi
26171
26172
26173 if test "$gtk_version_cached" = 1; then
26174 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
26175 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
26176 fi
26177
26178 case "$wx_cv_lib_gtk" in
26179 2.0) WXGTK20=1
26180 TOOLKIT_VERSION=2
26181 ;;
26182 1.2.7) WXGTK127=1
26183 WXGTK12=1
26184 ;;
26185 1.2.3) WXGTK12=1
26186 ;;
26187 *) { { echo "$as_me:$LINENO: error:
26188 The development files for GTK+ were not found. For GTK+ 2, please
26189 ensure that pkg-config is in the path and that gtk+-2.0.pc is
26190 installed. For GTK+ 1.2 please check that gtk-config is in the path,
26191 and that the version is 1.2.3 or above. Also check that the
26192 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
26193 --libs' are in the LD_LIBRARY_PATH or equivalent.
26194 " >&5
26195 echo "$as_me: error:
26196 The development files for GTK+ were not found. For GTK+ 2, please
26197 ensure that pkg-config is in the path and that gtk+-2.0.pc is
26198 installed. For GTK+ 1.2 please check that gtk-config is in the path,
26199 and that the version is 1.2.3 or above. Also check that the
26200 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
26201 --libs' are in the LD_LIBRARY_PATH or equivalent.
26202 " >&2;}
26203 { (exit 1); exit 1; }; }
26204 ;;
26205 esac
26206
26207 if test "$WXGTK20" = 1; then
26208 save_CFLAGS="$CFLAGS"
26209 save_LIBS="$LIBS"
26210 CFLAGS="$CFLAGS $wx_cv_cflags_gtk"
26211 LIBS="$LIBS $wx_cv_libs_gtk"
26212
26213 echo "$as_me:$LINENO: checking if gtk_icon_size_lookup is missing" >&5
26214 echo $ECHO_N "checking if gtk_icon_size_lookup is missing... $ECHO_C" >&6
26215 cat >conftest.$ac_ext <<_ACEOF
26216 /* confdefs.h. */
26217 _ACEOF
26218 cat confdefs.h >>conftest.$ac_ext
26219 cat >>conftest.$ac_ext <<_ACEOF
26220 /* end confdefs.h. */
26221
26222 #include <gtk/gtk.h>
26223
26224 int
26225 main ()
26226 {
26227
26228 void *f = gtk_icon_size_lookup;
26229
26230 ;
26231 return 0;
26232 }
26233 _ACEOF
26234 rm -f conftest.$ac_objext
26235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26236 (eval $ac_compile) 2>conftest.er1
26237 ac_status=$?
26238 grep -v '^ *+' conftest.er1 >conftest.err
26239 rm -f conftest.er1
26240 cat conftest.err >&5
26241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26242 (exit $ac_status); } &&
26243 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26245 (eval $ac_try) 2>&5
26246 ac_status=$?
26247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26248 (exit $ac_status); }; } &&
26249 { ac_try='test -s conftest.$ac_objext'
26250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26251 (eval $ac_try) 2>&5
26252 ac_status=$?
26253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26254 (exit $ac_status); }; }; then
26255
26256 echo "$as_me:$LINENO: result: no" >&5
26257 echo "${ECHO_T}no" >&6
26258
26259 else
26260 echo "$as_me: failed program was:" >&5
26261 sed 's/^/| /' conftest.$ac_ext >&5
26262
26263
26264 cat >>confdefs.h <<\_ACEOF
26265 #define NEED_GTK_ICON_SIZE_LOOKUP 1
26266 _ACEOF
26267
26268 echo "$as_me:$LINENO: result: yes" >&5
26269 echo "${ECHO_T}yes" >&6
26270
26271 fi
26272 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26273
26274 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
26275 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
26276 cat >conftest.$ac_ext <<_ACEOF
26277 /* confdefs.h. */
26278 _ACEOF
26279 cat confdefs.h >>conftest.$ac_ext
26280 cat >>conftest.$ac_ext <<_ACEOF
26281 /* end confdefs.h. */
26282
26283 #include <gtk/gtk.h>
26284
26285 int
26286 main ()
26287 {
26288
26289 #if !GTK_CHECK_VERSION(2,4,0)
26290 Not GTK+ 2.4
26291 #endif
26292
26293 ;
26294 return 0;
26295 }
26296 _ACEOF
26297 rm -f conftest.$ac_objext
26298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26299 (eval $ac_compile) 2>conftest.er1
26300 ac_status=$?
26301 grep -v '^ *+' conftest.er1 >conftest.err
26302 rm -f conftest.er1
26303 cat conftest.err >&5
26304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26305 (exit $ac_status); } &&
26306 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26308 (eval $ac_try) 2>&5
26309 ac_status=$?
26310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26311 (exit $ac_status); }; } &&
26312 { ac_try='test -s conftest.$ac_objext'
26313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26314 (eval $ac_try) 2>&5
26315 ac_status=$?
26316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26317 (exit $ac_status); }; }; then
26318
26319 cat >>confdefs.h <<\_ACEOF
26320 #define __WXGTK24__ 1
26321 _ACEOF
26322
26323 echo "$as_me:$LINENO: result: yes" >&5
26324 echo "${ECHO_T}yes" >&6
26325
26326 else
26327 echo "$as_me: failed program was:" >&5
26328 sed 's/^/| /' conftest.$ac_ext >&5
26329
26330
26331 echo "$as_me:$LINENO: result: no" >&5
26332 echo "${ECHO_T}no" >&6
26333
26334 fi
26335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26336
26337 CFLAGS="$save_CFLAGS"
26338 LIBS="$save_LIBS"
26339 else
26340 if test "$wxUSE_UNICODE" = "yes"; then
26341 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
26342 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
26343 wxUSE_UNICODE=no
26344 fi
26345 fi
26346
26347 if test "$USE_DARWIN" != 1; then
26348
26349 for ac_func in poll
26350 do
26351 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26352 echo "$as_me:$LINENO: checking for $ac_func" >&5
26353 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26354 if eval "test \"\${$as_ac_var+set}\" = set"; then
26355 echo $ECHO_N "(cached) $ECHO_C" >&6
26356 else
26357 cat >conftest.$ac_ext <<_ACEOF
26358 /* confdefs.h. */
26359 _ACEOF
26360 cat confdefs.h >>conftest.$ac_ext
26361 cat >>conftest.$ac_ext <<_ACEOF
26362 /* end confdefs.h. */
26363 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26364 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26365 #define $ac_func innocuous_$ac_func
26366
26367 /* System header to define __stub macros and hopefully few prototypes,
26368 which can conflict with char $ac_func (); below.
26369 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26370 <limits.h> exists even on freestanding compilers. */
26371
26372 #ifdef __STDC__
26373 # include <limits.h>
26374 #else
26375 # include <assert.h>
26376 #endif
26377
26378 #undef $ac_func
26379
26380 /* Override any gcc2 internal prototype to avoid an error. */
26381 #ifdef __cplusplus
26382 extern "C"
26383 {
26384 #endif
26385 /* We use char because int might match the return type of a gcc2
26386 builtin and then its argument prototype would still apply. */
26387 char $ac_func ();
26388 /* The GNU C library defines this for functions which it implements
26389 to always fail with ENOSYS. Some functions are actually named
26390 something starting with __ and the normal name is an alias. */
26391 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26392 choke me
26393 #else
26394 char (*f) () = $ac_func;
26395 #endif
26396 #ifdef __cplusplus
26397 }
26398 #endif
26399
26400 int
26401 main ()
26402 {
26403 return f != $ac_func;
26404 ;
26405 return 0;
26406 }
26407 _ACEOF
26408 rm -f conftest.$ac_objext conftest$ac_exeext
26409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26410 (eval $ac_link) 2>conftest.er1
26411 ac_status=$?
26412 grep -v '^ *+' conftest.er1 >conftest.err
26413 rm -f conftest.er1
26414 cat conftest.err >&5
26415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26416 (exit $ac_status); } &&
26417 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26419 (eval $ac_try) 2>&5
26420 ac_status=$?
26421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26422 (exit $ac_status); }; } &&
26423 { ac_try='test -s conftest$ac_exeext'
26424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26425 (eval $ac_try) 2>&5
26426 ac_status=$?
26427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26428 (exit $ac_status); }; }; then
26429 eval "$as_ac_var=yes"
26430 else
26431 echo "$as_me: failed program was:" >&5
26432 sed 's/^/| /' conftest.$ac_ext >&5
26433
26434 eval "$as_ac_var=no"
26435 fi
26436 rm -f conftest.err conftest.$ac_objext \
26437 conftest$ac_exeext conftest.$ac_ext
26438 fi
26439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26440 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26441 if test `eval echo '${'$as_ac_var'}'` = yes; then
26442 cat >>confdefs.h <<_ACEOF
26443 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26444 _ACEOF
26445
26446 fi
26447 done
26448
26449 fi
26450
26451 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
26452 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
26453
26454 AFMINSTALL=afminstall
26455 TOOLKIT=GTK
26456 GUIDIST=GTK_DIST
26457
26458 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
26459 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
26460 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
26461 echo $ECHO_N "(cached) $ECHO_C" >&6
26462 else
26463 ac_check_lib_save_LIBS=$LIBS
26464 LIBS="-lgdk $LIBS"
26465 cat >conftest.$ac_ext <<_ACEOF
26466 /* confdefs.h. */
26467 _ACEOF
26468 cat confdefs.h >>conftest.$ac_ext
26469 cat >>conftest.$ac_ext <<_ACEOF
26470 /* end confdefs.h. */
26471
26472 /* Override any gcc2 internal prototype to avoid an error. */
26473 #ifdef __cplusplus
26474 extern "C"
26475 #endif
26476 /* We use char because int might match the return type of a gcc2
26477 builtin and then its argument prototype would still apply. */
26478 char gdk_im_open ();
26479 int
26480 main ()
26481 {
26482 gdk_im_open ();
26483 ;
26484 return 0;
26485 }
26486 _ACEOF
26487 rm -f conftest.$ac_objext conftest$ac_exeext
26488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26489 (eval $ac_link) 2>conftest.er1
26490 ac_status=$?
26491 grep -v '^ *+' conftest.er1 >conftest.err
26492 rm -f conftest.er1
26493 cat conftest.err >&5
26494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26495 (exit $ac_status); } &&
26496 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26498 (eval $ac_try) 2>&5
26499 ac_status=$?
26500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26501 (exit $ac_status); }; } &&
26502 { ac_try='test -s conftest$ac_exeext'
26503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26504 (eval $ac_try) 2>&5
26505 ac_status=$?
26506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26507 (exit $ac_status); }; }; then
26508 ac_cv_lib_gdk_gdk_im_open=yes
26509 else
26510 echo "$as_me: failed program was:" >&5
26511 sed 's/^/| /' conftest.$ac_ext >&5
26512
26513 ac_cv_lib_gdk_gdk_im_open=no
26514 fi
26515 rm -f conftest.err conftest.$ac_objext \
26516 conftest$ac_exeext conftest.$ac_ext
26517 LIBS=$ac_check_lib_save_LIBS
26518 fi
26519 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
26520 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
26521 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
26522 cat >>confdefs.h <<\_ACEOF
26523 #define HAVE_XIM 1
26524 _ACEOF
26525
26526 fi
26527
26528
26529
26530 if test "$wxUSE_GPE" = "yes"; then
26531 echo "$as_me:$LINENO: checking for gpewidget library" >&5
26532 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
26533
26534 ac_find_libraries=
26535 for ac_dir in $SEARCH_LIB;
26536 do
26537 for ac_extension in a so sl dylib dll.a; do
26538 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
26539 ac_find_libraries=$ac_dir
26540 break 2
26541 fi
26542 done
26543 done
26544
26545 if test "$ac_find_libraries" != "" ; then
26546
26547 if test "$ac_find_libraries" = "default location"; then
26548 ac_path_to_link=""
26549 else
26550 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26551 result=$?
26552 if test $result = 0; then
26553 ac_path_to_link=""
26554 else
26555 ac_path_to_link=" -L$ac_find_libraries"
26556 fi
26557 fi
26558
26559 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
26560 WXGPE=1
26561 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
26562 echo "${ECHO_T}found in $ac_find_libraries" >&6
26563 else
26564 echo "$as_me:$LINENO: result: not found" >&5
26565 echo "${ECHO_T}not found" >&6
26566 fi
26567
26568 fi
26569 fi
26570
26571 if test "$wxUSE_MGL" = 1; then
26572 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
26573 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
26574 if test "x$MGL_ROOT" = x ; then
26575 echo "$as_me:$LINENO: result: not found" >&5
26576 echo "${ECHO_T}not found" >&6
26577 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
26578 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
26579 { (exit 1); exit 1; }; }
26580 else
26581 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
26582 echo "${ECHO_T}$MGL_ROOT" >&6
26583 fi
26584
26585 echo "$as_me:$LINENO: checking for libmgl location" >&5
26586 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
26587 case "${host}" in
26588 *-*-linux* )
26589 if test "x$wxUSE_SHARED" = xyes ; then
26590 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
26591 else
26592 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
26593 fi
26594 ;;
26595 *-pc-msdosdjgpp )
26596 mgl_os_candidates="dos32/dj2"
26597 ;;
26598 *)
26599 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
26600 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
26601 { (exit 1); exit 1; }; }
26602 esac
26603
26604 mgl_lib_type=""
26605 mgl_os=""
26606
26607 for mgl_os_i in $mgl_os_candidates ; do
26608 if test "x$mgl_os" = x ; then
26609 if test "$wxUSE_DEBUG_FLAG" = yes ; then
26610 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
26611 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
26612 mgl_lib_type=debug
26613 mgl_os=$mgl_os_i
26614 fi
26615 fi
26616 if test "x$mgl_lib_type" = x ; then
26617 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
26618 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
26619 mgl_lib_type=release
26620 mgl_os=$mgl_os_i
26621 fi
26622 fi
26623 fi
26624 done
26625
26626 if test "x$mgl_os" = x ; then
26627 echo "$as_me:$LINENO: result: not found" >&5
26628 echo "${ECHO_T}not found" >&6
26629 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
26630 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
26631 { (exit 1); exit 1; }; }
26632 fi
26633 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
26634 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
26635
26636 wxUSE_UNIVERSAL="yes"
26637
26638 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
26639 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
26640
26641 AFMINSTALL=afminstall
26642 TOOLKIT=MGL
26643 GUIDIST=MGL_DIST
26644 fi
26645
26646 if test "$wxUSE_MICROWIN" = 1; then
26647 echo "$as_me:$LINENO: checking for MicroWindows" >&5
26648 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
26649 if test "x$MICROWINDOWS" = x ; then
26650 echo "$as_me:$LINENO: result: not found" >&5
26651 echo "${ECHO_T}not found" >&6
26652 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
26653 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
26654 { (exit 1); exit 1; }; }
26655 else
26656 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
26657 echo "${ECHO_T}$MICROWINDOWS" >&6
26658 fi
26659
26660 if test -f $MICROWINDOWS/lib/libmwin.a; then
26661 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
26662 echo "${ECHO_T}MicroWindows' libraries found." >&6
26663 else
26664 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
26665 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
26666 { (exit 1); exit 1; }; }
26667 fi
26668
26669 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
26670 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
26671
26672 wxUSE_UNIVERSAL="yes"
26673
26674 AFMINSTALL=afminstall
26675 TOOLKIT=MICROWIN
26676 GUIDIST=MICROWIN_DIST
26677
26678 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
26679 fi
26680
26681 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26682
26683 if test "x$ac_path_x_has_been_run" != xyes; then
26684 echo "$as_me:$LINENO: checking for X" >&5
26685 echo $ECHO_N "checking for X... $ECHO_C" >&6
26686
26687 ac_path_x_has_been_run=yes
26688
26689 # Check whether --with-x or --without-x was given.
26690 if test "${with_x+set}" = set; then
26691 withval="$with_x"
26692
26693 fi;
26694 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
26695 if test "x$with_x" = xno; then
26696 # The user explicitly disabled X.
26697 have_x=disabled
26698 else
26699 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
26700 # Both variables are already set.
26701 have_x=yes
26702 else
26703 if test "${ac_cv_have_x+set}" = set; then
26704 echo $ECHO_N "(cached) $ECHO_C" >&6
26705 else
26706 # One or both of the vars are not set, and there is no cached value.
26707 ac_x_includes=no ac_x_libraries=no
26708 rm -fr conftest.dir
26709 if mkdir conftest.dir; then
26710 cd conftest.dir
26711 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
26712 cat >Imakefile <<'_ACEOF'
26713 acfindx:
26714 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
26715 _ACEOF
26716 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
26717 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
26718 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
26719 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
26720 for ac_extension in a so sl; do
26721 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
26722 test -f $ac_im_libdir/libX11.$ac_extension; then
26723 ac_im_usrlibdir=$ac_im_libdir; break
26724 fi
26725 done
26726 # Screen out bogus values from the imake configuration. They are
26727 # bogus both because they are the default anyway, and because
26728 # using them would break gcc on systems where it needs fixed includes.
26729 case $ac_im_incroot in
26730 /usr/include) ;;
26731 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
26732 esac
26733 case $ac_im_usrlibdir in
26734 /usr/lib | /lib) ;;
26735 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
26736 esac
26737 fi
26738 cd ..
26739 rm -fr conftest.dir
26740 fi
26741
26742 # Standard set of common directories for X headers.
26743 # Check X11 before X11Rn because it is often a symlink to the current release.
26744 ac_x_header_dirs='
26745 /usr/X11/include
26746 /usr/X11R6/include
26747 /usr/X11R5/include
26748 /usr/X11R4/include
26749
26750 /usr/include/X11
26751 /usr/include/X11R6
26752 /usr/include/X11R5
26753 /usr/include/X11R4
26754
26755 /usr/local/X11/include
26756 /usr/local/X11R6/include
26757 /usr/local/X11R5/include
26758 /usr/local/X11R4/include
26759
26760 /usr/local/include/X11
26761 /usr/local/include/X11R6
26762 /usr/local/include/X11R5
26763 /usr/local/include/X11R4
26764
26765 /usr/X386/include
26766 /usr/x386/include
26767 /usr/XFree86/include/X11
26768
26769 /usr/include
26770 /usr/local/include
26771 /usr/unsupported/include
26772 /usr/athena/include
26773 /usr/local/x11r5/include
26774 /usr/lpp/Xamples/include
26775
26776 /usr/openwin/include
26777 /usr/openwin/share/include'
26778
26779 if test "$ac_x_includes" = no; then
26780 # Guess where to find include files, by looking for a specified header file.
26781 # First, try using that file with no special directory specified.
26782 cat >conftest.$ac_ext <<_ACEOF
26783 /* confdefs.h. */
26784 _ACEOF
26785 cat confdefs.h >>conftest.$ac_ext
26786 cat >>conftest.$ac_ext <<_ACEOF
26787 /* end confdefs.h. */
26788 #include <X11/Intrinsic.h>
26789 _ACEOF
26790 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26791 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26792 ac_status=$?
26793 grep -v '^ *+' conftest.er1 >conftest.err
26794 rm -f conftest.er1
26795 cat conftest.err >&5
26796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26797 (exit $ac_status); } >/dev/null; then
26798 if test -s conftest.err; then
26799 ac_cpp_err=$ac_c_preproc_warn_flag
26800 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26801 else
26802 ac_cpp_err=
26803 fi
26804 else
26805 ac_cpp_err=yes
26806 fi
26807 if test -z "$ac_cpp_err"; then
26808 # We can compile using X headers with no special include directory.
26809 ac_x_includes=
26810 else
26811 echo "$as_me: failed program was:" >&5
26812 sed 's/^/| /' conftest.$ac_ext >&5
26813
26814 for ac_dir in $ac_x_header_dirs; do
26815 if test -r "$ac_dir/X11/Intrinsic.h"; then
26816 ac_x_includes=$ac_dir
26817 break
26818 fi
26819 done
26820 fi
26821 rm -f conftest.err conftest.$ac_ext
26822 fi # $ac_x_includes = no
26823
26824 if test "$ac_x_libraries" = no; then
26825 # Check for the libraries.
26826 # See if we find them without any special options.
26827 # Don't add to $LIBS permanently.
26828 ac_save_LIBS=$LIBS
26829 LIBS="-lXt $LIBS"
26830 cat >conftest.$ac_ext <<_ACEOF
26831 /* confdefs.h. */
26832 _ACEOF
26833 cat confdefs.h >>conftest.$ac_ext
26834 cat >>conftest.$ac_ext <<_ACEOF
26835 /* end confdefs.h. */
26836 #include <X11/Intrinsic.h>
26837 int
26838 main ()
26839 {
26840 XtMalloc (0)
26841 ;
26842 return 0;
26843 }
26844 _ACEOF
26845 rm -f conftest.$ac_objext conftest$ac_exeext
26846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26847 (eval $ac_link) 2>conftest.er1
26848 ac_status=$?
26849 grep -v '^ *+' conftest.er1 >conftest.err
26850 rm -f conftest.er1
26851 cat conftest.err >&5
26852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26853 (exit $ac_status); } &&
26854 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26856 (eval $ac_try) 2>&5
26857 ac_status=$?
26858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26859 (exit $ac_status); }; } &&
26860 { ac_try='test -s conftest$ac_exeext'
26861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26862 (eval $ac_try) 2>&5
26863 ac_status=$?
26864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26865 (exit $ac_status); }; }; then
26866 LIBS=$ac_save_LIBS
26867 # We can link X programs with no special library path.
26868 ac_x_libraries=
26869 else
26870 echo "$as_me: failed program was:" >&5
26871 sed 's/^/| /' conftest.$ac_ext >&5
26872
26873 LIBS=$ac_save_LIBS
26874 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
26875 do
26876 # Don't even attempt the hair of trying to link an X program!
26877 for ac_extension in a so sl; do
26878 if test -r $ac_dir/libXt.$ac_extension; then
26879 ac_x_libraries=$ac_dir
26880 break 2
26881 fi
26882 done
26883 done
26884 fi
26885 rm -f conftest.err conftest.$ac_objext \
26886 conftest$ac_exeext conftest.$ac_ext
26887 fi # $ac_x_libraries = no
26888
26889 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
26890 # Didn't find X anywhere. Cache the known absence of X.
26891 ac_cv_have_x="have_x=no"
26892 else
26893 # Record where we found X for the cache.
26894 ac_cv_have_x="have_x=yes \
26895 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
26896 fi
26897 fi
26898
26899 fi
26900 eval "$ac_cv_have_x"
26901 fi # $with_x != no
26902
26903 if test "$have_x" != yes; then
26904 echo "$as_me:$LINENO: result: $have_x" >&5
26905 echo "${ECHO_T}$have_x" >&6
26906 no_x=yes
26907 else
26908 # If each of the values was on the command line, it overrides each guess.
26909 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
26910 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
26911 # Update the cache value to reflect the command line values.
26912 ac_cv_have_x="have_x=yes \
26913 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
26914 # It might be that x_includes is empty (headers are found in the
26915 # standard search path. Then output the corresponding message
26916 ac_out_x_includes=$x_includes
26917 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
26918 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
26919 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
26920 fi
26921
26922 fi
26923 if test "$no_x" = yes; then
26924 # Not all programs may use this symbol, but it does not hurt to define it.
26925
26926 cat >>confdefs.h <<\_ACEOF
26927 #define X_DISPLAY_MISSING 1
26928 _ACEOF
26929
26930 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
26931 else
26932 if test -n "$x_includes"; then
26933 X_CFLAGS="$X_CFLAGS -I$x_includes"
26934 fi
26935
26936 # It would also be nice to do this for all -L options, not just this one.
26937 if test -n "$x_libraries"; then
26938 X_LIBS="$X_LIBS -L$x_libraries"
26939 # For Solaris; some versions of Sun CC require a space after -R and
26940 # others require no space. Words are not sufficient . . . .
26941 case `(uname -sr) 2>/dev/null` in
26942 "SunOS 5"*)
26943 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
26944 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
26945 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
26946 cat >conftest.$ac_ext <<_ACEOF
26947 /* confdefs.h. */
26948 _ACEOF
26949 cat confdefs.h >>conftest.$ac_ext
26950 cat >>conftest.$ac_ext <<_ACEOF
26951 /* end confdefs.h. */
26952
26953 int
26954 main ()
26955 {
26956
26957 ;
26958 return 0;
26959 }
26960 _ACEOF
26961 rm -f conftest.$ac_objext conftest$ac_exeext
26962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26963 (eval $ac_link) 2>conftest.er1
26964 ac_status=$?
26965 grep -v '^ *+' conftest.er1 >conftest.err
26966 rm -f conftest.er1
26967 cat conftest.err >&5
26968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26969 (exit $ac_status); } &&
26970 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26972 (eval $ac_try) 2>&5
26973 ac_status=$?
26974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26975 (exit $ac_status); }; } &&
26976 { ac_try='test -s conftest$ac_exeext'
26977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26978 (eval $ac_try) 2>&5
26979 ac_status=$?
26980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26981 (exit $ac_status); }; }; then
26982 ac_R_nospace=yes
26983 else
26984 echo "$as_me: failed program was:" >&5
26985 sed 's/^/| /' conftest.$ac_ext >&5
26986
26987 ac_R_nospace=no
26988 fi
26989 rm -f conftest.err conftest.$ac_objext \
26990 conftest$ac_exeext conftest.$ac_ext
26991 if test $ac_R_nospace = yes; then
26992 echo "$as_me:$LINENO: result: no" >&5
26993 echo "${ECHO_T}no" >&6
26994 X_LIBS="$X_LIBS -R$x_libraries"
26995 else
26996 LIBS="$ac_xsave_LIBS -R $x_libraries"
26997 cat >conftest.$ac_ext <<_ACEOF
26998 /* confdefs.h. */
26999 _ACEOF
27000 cat confdefs.h >>conftest.$ac_ext
27001 cat >>conftest.$ac_ext <<_ACEOF
27002 /* end confdefs.h. */
27003
27004 int
27005 main ()
27006 {
27007
27008 ;
27009 return 0;
27010 }
27011 _ACEOF
27012 rm -f conftest.$ac_objext conftest$ac_exeext
27013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27014 (eval $ac_link) 2>conftest.er1
27015 ac_status=$?
27016 grep -v '^ *+' conftest.er1 >conftest.err
27017 rm -f conftest.er1
27018 cat conftest.err >&5
27019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27020 (exit $ac_status); } &&
27021 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27023 (eval $ac_try) 2>&5
27024 ac_status=$?
27025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27026 (exit $ac_status); }; } &&
27027 { ac_try='test -s conftest$ac_exeext'
27028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27029 (eval $ac_try) 2>&5
27030 ac_status=$?
27031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27032 (exit $ac_status); }; }; then
27033 ac_R_space=yes
27034 else
27035 echo "$as_me: failed program was:" >&5
27036 sed 's/^/| /' conftest.$ac_ext >&5
27037
27038 ac_R_space=no
27039 fi
27040 rm -f conftest.err conftest.$ac_objext \
27041 conftest$ac_exeext conftest.$ac_ext
27042 if test $ac_R_space = yes; then
27043 echo "$as_me:$LINENO: result: yes" >&5
27044 echo "${ECHO_T}yes" >&6
27045 X_LIBS="$X_LIBS -R $x_libraries"
27046 else
27047 echo "$as_me:$LINENO: result: neither works" >&5
27048 echo "${ECHO_T}neither works" >&6
27049 fi
27050 fi
27051 LIBS=$ac_xsave_LIBS
27052 esac
27053 fi
27054
27055 # Check for system-dependent libraries X programs must link with.
27056 # Do this before checking for the system-independent R6 libraries
27057 # (-lICE), since we may need -lsocket or whatever for X linking.
27058
27059 if test "$ISC" = yes; then
27060 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
27061 else
27062 # Martyn Johnson says this is needed for Ultrix, if the X
27063 # libraries were built with DECnet support. And Karl Berry says
27064 # the Alpha needs dnet_stub (dnet does not exist).
27065 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
27066 cat >conftest.$ac_ext <<_ACEOF
27067 /* confdefs.h. */
27068 _ACEOF
27069 cat confdefs.h >>conftest.$ac_ext
27070 cat >>conftest.$ac_ext <<_ACEOF
27071 /* end confdefs.h. */
27072
27073 /* Override any gcc2 internal prototype to avoid an error. */
27074 #ifdef __cplusplus
27075 extern "C"
27076 #endif
27077 /* We use char because int might match the return type of a gcc2
27078 builtin and then its argument prototype would still apply. */
27079 char XOpenDisplay ();
27080 int
27081 main ()
27082 {
27083 XOpenDisplay ();
27084 ;
27085 return 0;
27086 }
27087 _ACEOF
27088 rm -f conftest.$ac_objext conftest$ac_exeext
27089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27090 (eval $ac_link) 2>conftest.er1
27091 ac_status=$?
27092 grep -v '^ *+' conftest.er1 >conftest.err
27093 rm -f conftest.er1
27094 cat conftest.err >&5
27095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27096 (exit $ac_status); } &&
27097 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27099 (eval $ac_try) 2>&5
27100 ac_status=$?
27101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27102 (exit $ac_status); }; } &&
27103 { ac_try='test -s conftest$ac_exeext'
27104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27105 (eval $ac_try) 2>&5
27106 ac_status=$?
27107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27108 (exit $ac_status); }; }; then
27109 :
27110 else
27111 echo "$as_me: failed program was:" >&5
27112 sed 's/^/| /' conftest.$ac_ext >&5
27113
27114 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
27115 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
27116 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
27117 echo $ECHO_N "(cached) $ECHO_C" >&6
27118 else
27119 ac_check_lib_save_LIBS=$LIBS
27120 LIBS="-ldnet $LIBS"
27121 cat >conftest.$ac_ext <<_ACEOF
27122 /* confdefs.h. */
27123 _ACEOF
27124 cat confdefs.h >>conftest.$ac_ext
27125 cat >>conftest.$ac_ext <<_ACEOF
27126 /* end confdefs.h. */
27127
27128 /* Override any gcc2 internal prototype to avoid an error. */
27129 #ifdef __cplusplus
27130 extern "C"
27131 #endif
27132 /* We use char because int might match the return type of a gcc2
27133 builtin and then its argument prototype would still apply. */
27134 char dnet_ntoa ();
27135 int
27136 main ()
27137 {
27138 dnet_ntoa ();
27139 ;
27140 return 0;
27141 }
27142 _ACEOF
27143 rm -f conftest.$ac_objext conftest$ac_exeext
27144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27145 (eval $ac_link) 2>conftest.er1
27146 ac_status=$?
27147 grep -v '^ *+' conftest.er1 >conftest.err
27148 rm -f conftest.er1
27149 cat conftest.err >&5
27150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27151 (exit $ac_status); } &&
27152 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27154 (eval $ac_try) 2>&5
27155 ac_status=$?
27156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27157 (exit $ac_status); }; } &&
27158 { ac_try='test -s conftest$ac_exeext'
27159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27160 (eval $ac_try) 2>&5
27161 ac_status=$?
27162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27163 (exit $ac_status); }; }; then
27164 ac_cv_lib_dnet_dnet_ntoa=yes
27165 else
27166 echo "$as_me: failed program was:" >&5
27167 sed 's/^/| /' conftest.$ac_ext >&5
27168
27169 ac_cv_lib_dnet_dnet_ntoa=no
27170 fi
27171 rm -f conftest.err conftest.$ac_objext \
27172 conftest$ac_exeext conftest.$ac_ext
27173 LIBS=$ac_check_lib_save_LIBS
27174 fi
27175 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
27176 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
27177 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
27178 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
27179 fi
27180
27181 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
27182 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
27183 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
27184 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
27185 echo $ECHO_N "(cached) $ECHO_C" >&6
27186 else
27187 ac_check_lib_save_LIBS=$LIBS
27188 LIBS="-ldnet_stub $LIBS"
27189 cat >conftest.$ac_ext <<_ACEOF
27190 /* confdefs.h. */
27191 _ACEOF
27192 cat confdefs.h >>conftest.$ac_ext
27193 cat >>conftest.$ac_ext <<_ACEOF
27194 /* end confdefs.h. */
27195
27196 /* Override any gcc2 internal prototype to avoid an error. */
27197 #ifdef __cplusplus
27198 extern "C"
27199 #endif
27200 /* We use char because int might match the return type of a gcc2
27201 builtin and then its argument prototype would still apply. */
27202 char dnet_ntoa ();
27203 int
27204 main ()
27205 {
27206 dnet_ntoa ();
27207 ;
27208 return 0;
27209 }
27210 _ACEOF
27211 rm -f conftest.$ac_objext conftest$ac_exeext
27212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27213 (eval $ac_link) 2>conftest.er1
27214 ac_status=$?
27215 grep -v '^ *+' conftest.er1 >conftest.err
27216 rm -f conftest.er1
27217 cat conftest.err >&5
27218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27219 (exit $ac_status); } &&
27220 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27222 (eval $ac_try) 2>&5
27223 ac_status=$?
27224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27225 (exit $ac_status); }; } &&
27226 { ac_try='test -s conftest$ac_exeext'
27227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27228 (eval $ac_try) 2>&5
27229 ac_status=$?
27230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27231 (exit $ac_status); }; }; then
27232 ac_cv_lib_dnet_stub_dnet_ntoa=yes
27233 else
27234 echo "$as_me: failed program was:" >&5
27235 sed 's/^/| /' conftest.$ac_ext >&5
27236
27237 ac_cv_lib_dnet_stub_dnet_ntoa=no
27238 fi
27239 rm -f conftest.err conftest.$ac_objext \
27240 conftest$ac_exeext conftest.$ac_ext
27241 LIBS=$ac_check_lib_save_LIBS
27242 fi
27243 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
27244 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
27245 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
27246 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
27247 fi
27248
27249 fi
27250 fi
27251 rm -f conftest.err conftest.$ac_objext \
27252 conftest$ac_exeext conftest.$ac_ext
27253 LIBS="$ac_xsave_LIBS"
27254
27255 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
27256 # to get the SysV transport functions.
27257 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
27258 # needs -lnsl.
27259 # The nsl library prevents programs from opening the X display
27260 # on Irix 5.2, according to T.E. Dickey.
27261 # The functions gethostbyname, getservbyname, and inet_addr are
27262 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
27263 echo "$as_me:$LINENO: checking for gethostbyname" >&5
27264 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
27265 if test "${ac_cv_func_gethostbyname+set}" = set; then
27266 echo $ECHO_N "(cached) $ECHO_C" >&6
27267 else
27268 cat >conftest.$ac_ext <<_ACEOF
27269 /* confdefs.h. */
27270 _ACEOF
27271 cat confdefs.h >>conftest.$ac_ext
27272 cat >>conftest.$ac_ext <<_ACEOF
27273 /* end confdefs.h. */
27274 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
27275 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27276 #define gethostbyname innocuous_gethostbyname
27277
27278 /* System header to define __stub macros and hopefully few prototypes,
27279 which can conflict with char gethostbyname (); below.
27280 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27281 <limits.h> exists even on freestanding compilers. */
27282
27283 #ifdef __STDC__
27284 # include <limits.h>
27285 #else
27286 # include <assert.h>
27287 #endif
27288
27289 #undef gethostbyname
27290
27291 /* Override any gcc2 internal prototype to avoid an error. */
27292 #ifdef __cplusplus
27293 extern "C"
27294 {
27295 #endif
27296 /* We use char because int might match the return type of a gcc2
27297 builtin and then its argument prototype would still apply. */
27298 char gethostbyname ();
27299 /* The GNU C library defines this for functions which it implements
27300 to always fail with ENOSYS. Some functions are actually named
27301 something starting with __ and the normal name is an alias. */
27302 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
27303 choke me
27304 #else
27305 char (*f) () = gethostbyname;
27306 #endif
27307 #ifdef __cplusplus
27308 }
27309 #endif
27310
27311 int
27312 main ()
27313 {
27314 return f != gethostbyname;
27315 ;
27316 return 0;
27317 }
27318 _ACEOF
27319 rm -f conftest.$ac_objext conftest$ac_exeext
27320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27321 (eval $ac_link) 2>conftest.er1
27322 ac_status=$?
27323 grep -v '^ *+' conftest.er1 >conftest.err
27324 rm -f conftest.er1
27325 cat conftest.err >&5
27326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27327 (exit $ac_status); } &&
27328 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27330 (eval $ac_try) 2>&5
27331 ac_status=$?
27332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27333 (exit $ac_status); }; } &&
27334 { ac_try='test -s conftest$ac_exeext'
27335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27336 (eval $ac_try) 2>&5
27337 ac_status=$?
27338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27339 (exit $ac_status); }; }; then
27340 ac_cv_func_gethostbyname=yes
27341 else
27342 echo "$as_me: failed program was:" >&5
27343 sed 's/^/| /' conftest.$ac_ext >&5
27344
27345 ac_cv_func_gethostbyname=no
27346 fi
27347 rm -f conftest.err conftest.$ac_objext \
27348 conftest$ac_exeext conftest.$ac_ext
27349 fi
27350 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
27351 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
27352
27353 if test $ac_cv_func_gethostbyname = no; then
27354 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
27355 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
27356 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
27357 echo $ECHO_N "(cached) $ECHO_C" >&6
27358 else
27359 ac_check_lib_save_LIBS=$LIBS
27360 LIBS="-lnsl $LIBS"
27361 cat >conftest.$ac_ext <<_ACEOF
27362 /* confdefs.h. */
27363 _ACEOF
27364 cat confdefs.h >>conftest.$ac_ext
27365 cat >>conftest.$ac_ext <<_ACEOF
27366 /* end confdefs.h. */
27367
27368 /* Override any gcc2 internal prototype to avoid an error. */
27369 #ifdef __cplusplus
27370 extern "C"
27371 #endif
27372 /* We use char because int might match the return type of a gcc2
27373 builtin and then its argument prototype would still apply. */
27374 char gethostbyname ();
27375 int
27376 main ()
27377 {
27378 gethostbyname ();
27379 ;
27380 return 0;
27381 }
27382 _ACEOF
27383 rm -f conftest.$ac_objext conftest$ac_exeext
27384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27385 (eval $ac_link) 2>conftest.er1
27386 ac_status=$?
27387 grep -v '^ *+' conftest.er1 >conftest.err
27388 rm -f conftest.er1
27389 cat conftest.err >&5
27390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27391 (exit $ac_status); } &&
27392 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27394 (eval $ac_try) 2>&5
27395 ac_status=$?
27396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27397 (exit $ac_status); }; } &&
27398 { ac_try='test -s conftest$ac_exeext'
27399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27400 (eval $ac_try) 2>&5
27401 ac_status=$?
27402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27403 (exit $ac_status); }; }; then
27404 ac_cv_lib_nsl_gethostbyname=yes
27405 else
27406 echo "$as_me: failed program was:" >&5
27407 sed 's/^/| /' conftest.$ac_ext >&5
27408
27409 ac_cv_lib_nsl_gethostbyname=no
27410 fi
27411 rm -f conftest.err conftest.$ac_objext \
27412 conftest$ac_exeext conftest.$ac_ext
27413 LIBS=$ac_check_lib_save_LIBS
27414 fi
27415 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
27416 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
27417 if test $ac_cv_lib_nsl_gethostbyname = yes; then
27418 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
27419 fi
27420
27421 if test $ac_cv_lib_nsl_gethostbyname = no; then
27422 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
27423 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
27424 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
27425 echo $ECHO_N "(cached) $ECHO_C" >&6
27426 else
27427 ac_check_lib_save_LIBS=$LIBS
27428 LIBS="-lbsd $LIBS"
27429 cat >conftest.$ac_ext <<_ACEOF
27430 /* confdefs.h. */
27431 _ACEOF
27432 cat confdefs.h >>conftest.$ac_ext
27433 cat >>conftest.$ac_ext <<_ACEOF
27434 /* end confdefs.h. */
27435
27436 /* Override any gcc2 internal prototype to avoid an error. */
27437 #ifdef __cplusplus
27438 extern "C"
27439 #endif
27440 /* We use char because int might match the return type of a gcc2
27441 builtin and then its argument prototype would still apply. */
27442 char gethostbyname ();
27443 int
27444 main ()
27445 {
27446 gethostbyname ();
27447 ;
27448 return 0;
27449 }
27450 _ACEOF
27451 rm -f conftest.$ac_objext conftest$ac_exeext
27452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27453 (eval $ac_link) 2>conftest.er1
27454 ac_status=$?
27455 grep -v '^ *+' conftest.er1 >conftest.err
27456 rm -f conftest.er1
27457 cat conftest.err >&5
27458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27459 (exit $ac_status); } &&
27460 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27462 (eval $ac_try) 2>&5
27463 ac_status=$?
27464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27465 (exit $ac_status); }; } &&
27466 { ac_try='test -s conftest$ac_exeext'
27467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27468 (eval $ac_try) 2>&5
27469 ac_status=$?
27470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27471 (exit $ac_status); }; }; then
27472 ac_cv_lib_bsd_gethostbyname=yes
27473 else
27474 echo "$as_me: failed program was:" >&5
27475 sed 's/^/| /' conftest.$ac_ext >&5
27476
27477 ac_cv_lib_bsd_gethostbyname=no
27478 fi
27479 rm -f conftest.err conftest.$ac_objext \
27480 conftest$ac_exeext conftest.$ac_ext
27481 LIBS=$ac_check_lib_save_LIBS
27482 fi
27483 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
27484 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
27485 if test $ac_cv_lib_bsd_gethostbyname = yes; then
27486 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
27487 fi
27488
27489 fi
27490 fi
27491
27492 # lieder@skyler.mavd.honeywell.com says without -lsocket,
27493 # socket/setsockopt and other routines are undefined under SCO ODT
27494 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
27495 # on later versions), says Simon Leinen: it contains gethostby*
27496 # variants that don't use the name server (or something). -lsocket
27497 # must be given before -lnsl if both are needed. We assume that
27498 # if connect needs -lnsl, so does gethostbyname.
27499 echo "$as_me:$LINENO: checking for connect" >&5
27500 echo $ECHO_N "checking for connect... $ECHO_C" >&6
27501 if test "${ac_cv_func_connect+set}" = set; then
27502 echo $ECHO_N "(cached) $ECHO_C" >&6
27503 else
27504 cat >conftest.$ac_ext <<_ACEOF
27505 /* confdefs.h. */
27506 _ACEOF
27507 cat confdefs.h >>conftest.$ac_ext
27508 cat >>conftest.$ac_ext <<_ACEOF
27509 /* end confdefs.h. */
27510 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
27511 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27512 #define connect innocuous_connect
27513
27514 /* System header to define __stub macros and hopefully few prototypes,
27515 which can conflict with char connect (); below.
27516 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27517 <limits.h> exists even on freestanding compilers. */
27518
27519 #ifdef __STDC__
27520 # include <limits.h>
27521 #else
27522 # include <assert.h>
27523 #endif
27524
27525 #undef connect
27526
27527 /* Override any gcc2 internal prototype to avoid an error. */
27528 #ifdef __cplusplus
27529 extern "C"
27530 {
27531 #endif
27532 /* We use char because int might match the return type of a gcc2
27533 builtin and then its argument prototype would still apply. */
27534 char connect ();
27535 /* The GNU C library defines this for functions which it implements
27536 to always fail with ENOSYS. Some functions are actually named
27537 something starting with __ and the normal name is an alias. */
27538 #if defined (__stub_connect) || defined (__stub___connect)
27539 choke me
27540 #else
27541 char (*f) () = connect;
27542 #endif
27543 #ifdef __cplusplus
27544 }
27545 #endif
27546
27547 int
27548 main ()
27549 {
27550 return f != connect;
27551 ;
27552 return 0;
27553 }
27554 _ACEOF
27555 rm -f conftest.$ac_objext conftest$ac_exeext
27556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27557 (eval $ac_link) 2>conftest.er1
27558 ac_status=$?
27559 grep -v '^ *+' conftest.er1 >conftest.err
27560 rm -f conftest.er1
27561 cat conftest.err >&5
27562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27563 (exit $ac_status); } &&
27564 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27566 (eval $ac_try) 2>&5
27567 ac_status=$?
27568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27569 (exit $ac_status); }; } &&
27570 { ac_try='test -s conftest$ac_exeext'
27571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27572 (eval $ac_try) 2>&5
27573 ac_status=$?
27574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27575 (exit $ac_status); }; }; then
27576 ac_cv_func_connect=yes
27577 else
27578 echo "$as_me: failed program was:" >&5
27579 sed 's/^/| /' conftest.$ac_ext >&5
27580
27581 ac_cv_func_connect=no
27582 fi
27583 rm -f conftest.err conftest.$ac_objext \
27584 conftest$ac_exeext conftest.$ac_ext
27585 fi
27586 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
27587 echo "${ECHO_T}$ac_cv_func_connect" >&6
27588
27589 if test $ac_cv_func_connect = no; then
27590 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
27591 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
27592 if test "${ac_cv_lib_socket_connect+set}" = set; then
27593 echo $ECHO_N "(cached) $ECHO_C" >&6
27594 else
27595 ac_check_lib_save_LIBS=$LIBS
27596 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
27597 cat >conftest.$ac_ext <<_ACEOF
27598 /* confdefs.h. */
27599 _ACEOF
27600 cat confdefs.h >>conftest.$ac_ext
27601 cat >>conftest.$ac_ext <<_ACEOF
27602 /* end confdefs.h. */
27603
27604 /* Override any gcc2 internal prototype to avoid an error. */
27605 #ifdef __cplusplus
27606 extern "C"
27607 #endif
27608 /* We use char because int might match the return type of a gcc2
27609 builtin and then its argument prototype would still apply. */
27610 char connect ();
27611 int
27612 main ()
27613 {
27614 connect ();
27615 ;
27616 return 0;
27617 }
27618 _ACEOF
27619 rm -f conftest.$ac_objext conftest$ac_exeext
27620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27621 (eval $ac_link) 2>conftest.er1
27622 ac_status=$?
27623 grep -v '^ *+' conftest.er1 >conftest.err
27624 rm -f conftest.er1
27625 cat conftest.err >&5
27626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27627 (exit $ac_status); } &&
27628 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27630 (eval $ac_try) 2>&5
27631 ac_status=$?
27632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27633 (exit $ac_status); }; } &&
27634 { ac_try='test -s conftest$ac_exeext'
27635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27636 (eval $ac_try) 2>&5
27637 ac_status=$?
27638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27639 (exit $ac_status); }; }; then
27640 ac_cv_lib_socket_connect=yes
27641 else
27642 echo "$as_me: failed program was:" >&5
27643 sed 's/^/| /' conftest.$ac_ext >&5
27644
27645 ac_cv_lib_socket_connect=no
27646 fi
27647 rm -f conftest.err conftest.$ac_objext \
27648 conftest$ac_exeext conftest.$ac_ext
27649 LIBS=$ac_check_lib_save_LIBS
27650 fi
27651 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
27652 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
27653 if test $ac_cv_lib_socket_connect = yes; then
27654 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
27655 fi
27656
27657 fi
27658
27659 # Guillermo Gomez says -lposix is necessary on A/UX.
27660 echo "$as_me:$LINENO: checking for remove" >&5
27661 echo $ECHO_N "checking for remove... $ECHO_C" >&6
27662 if test "${ac_cv_func_remove+set}" = set; then
27663 echo $ECHO_N "(cached) $ECHO_C" >&6
27664 else
27665 cat >conftest.$ac_ext <<_ACEOF
27666 /* confdefs.h. */
27667 _ACEOF
27668 cat confdefs.h >>conftest.$ac_ext
27669 cat >>conftest.$ac_ext <<_ACEOF
27670 /* end confdefs.h. */
27671 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
27672 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27673 #define remove innocuous_remove
27674
27675 /* System header to define __stub macros and hopefully few prototypes,
27676 which can conflict with char remove (); below.
27677 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27678 <limits.h> exists even on freestanding compilers. */
27679
27680 #ifdef __STDC__
27681 # include <limits.h>
27682 #else
27683 # include <assert.h>
27684 #endif
27685
27686 #undef remove
27687
27688 /* Override any gcc2 internal prototype to avoid an error. */
27689 #ifdef __cplusplus
27690 extern "C"
27691 {
27692 #endif
27693 /* We use char because int might match the return type of a gcc2
27694 builtin and then its argument prototype would still apply. */
27695 char remove ();
27696 /* The GNU C library defines this for functions which it implements
27697 to always fail with ENOSYS. Some functions are actually named
27698 something starting with __ and the normal name is an alias. */
27699 #if defined (__stub_remove) || defined (__stub___remove)
27700 choke me
27701 #else
27702 char (*f) () = remove;
27703 #endif
27704 #ifdef __cplusplus
27705 }
27706 #endif
27707
27708 int
27709 main ()
27710 {
27711 return f != remove;
27712 ;
27713 return 0;
27714 }
27715 _ACEOF
27716 rm -f conftest.$ac_objext conftest$ac_exeext
27717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27718 (eval $ac_link) 2>conftest.er1
27719 ac_status=$?
27720 grep -v '^ *+' conftest.er1 >conftest.err
27721 rm -f conftest.er1
27722 cat conftest.err >&5
27723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27724 (exit $ac_status); } &&
27725 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27727 (eval $ac_try) 2>&5
27728 ac_status=$?
27729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27730 (exit $ac_status); }; } &&
27731 { ac_try='test -s conftest$ac_exeext'
27732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27733 (eval $ac_try) 2>&5
27734 ac_status=$?
27735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27736 (exit $ac_status); }; }; then
27737 ac_cv_func_remove=yes
27738 else
27739 echo "$as_me: failed program was:" >&5
27740 sed 's/^/| /' conftest.$ac_ext >&5
27741
27742 ac_cv_func_remove=no
27743 fi
27744 rm -f conftest.err conftest.$ac_objext \
27745 conftest$ac_exeext conftest.$ac_ext
27746 fi
27747 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
27748 echo "${ECHO_T}$ac_cv_func_remove" >&6
27749
27750 if test $ac_cv_func_remove = no; then
27751 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
27752 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
27753 if test "${ac_cv_lib_posix_remove+set}" = set; then
27754 echo $ECHO_N "(cached) $ECHO_C" >&6
27755 else
27756 ac_check_lib_save_LIBS=$LIBS
27757 LIBS="-lposix $LIBS"
27758 cat >conftest.$ac_ext <<_ACEOF
27759 /* confdefs.h. */
27760 _ACEOF
27761 cat confdefs.h >>conftest.$ac_ext
27762 cat >>conftest.$ac_ext <<_ACEOF
27763 /* end confdefs.h. */
27764
27765 /* Override any gcc2 internal prototype to avoid an error. */
27766 #ifdef __cplusplus
27767 extern "C"
27768 #endif
27769 /* We use char because int might match the return type of a gcc2
27770 builtin and then its argument prototype would still apply. */
27771 char remove ();
27772 int
27773 main ()
27774 {
27775 remove ();
27776 ;
27777 return 0;
27778 }
27779 _ACEOF
27780 rm -f conftest.$ac_objext conftest$ac_exeext
27781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27782 (eval $ac_link) 2>conftest.er1
27783 ac_status=$?
27784 grep -v '^ *+' conftest.er1 >conftest.err
27785 rm -f conftest.er1
27786 cat conftest.err >&5
27787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27788 (exit $ac_status); } &&
27789 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27791 (eval $ac_try) 2>&5
27792 ac_status=$?
27793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27794 (exit $ac_status); }; } &&
27795 { ac_try='test -s conftest$ac_exeext'
27796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27797 (eval $ac_try) 2>&5
27798 ac_status=$?
27799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27800 (exit $ac_status); }; }; then
27801 ac_cv_lib_posix_remove=yes
27802 else
27803 echo "$as_me: failed program was:" >&5
27804 sed 's/^/| /' conftest.$ac_ext >&5
27805
27806 ac_cv_lib_posix_remove=no
27807 fi
27808 rm -f conftest.err conftest.$ac_objext \
27809 conftest$ac_exeext conftest.$ac_ext
27810 LIBS=$ac_check_lib_save_LIBS
27811 fi
27812 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
27813 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
27814 if test $ac_cv_lib_posix_remove = yes; then
27815 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
27816 fi
27817
27818 fi
27819
27820 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
27821 echo "$as_me:$LINENO: checking for shmat" >&5
27822 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
27823 if test "${ac_cv_func_shmat+set}" = set; then
27824 echo $ECHO_N "(cached) $ECHO_C" >&6
27825 else
27826 cat >conftest.$ac_ext <<_ACEOF
27827 /* confdefs.h. */
27828 _ACEOF
27829 cat confdefs.h >>conftest.$ac_ext
27830 cat >>conftest.$ac_ext <<_ACEOF
27831 /* end confdefs.h. */
27832 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
27833 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27834 #define shmat innocuous_shmat
27835
27836 /* System header to define __stub macros and hopefully few prototypes,
27837 which can conflict with char shmat (); below.
27838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27839 <limits.h> exists even on freestanding compilers. */
27840
27841 #ifdef __STDC__
27842 # include <limits.h>
27843 #else
27844 # include <assert.h>
27845 #endif
27846
27847 #undef shmat
27848
27849 /* Override any gcc2 internal prototype to avoid an error. */
27850 #ifdef __cplusplus
27851 extern "C"
27852 {
27853 #endif
27854 /* We use char because int might match the return type of a gcc2
27855 builtin and then its argument prototype would still apply. */
27856 char shmat ();
27857 /* The GNU C library defines this for functions which it implements
27858 to always fail with ENOSYS. Some functions are actually named
27859 something starting with __ and the normal name is an alias. */
27860 #if defined (__stub_shmat) || defined (__stub___shmat)
27861 choke me
27862 #else
27863 char (*f) () = shmat;
27864 #endif
27865 #ifdef __cplusplus
27866 }
27867 #endif
27868
27869 int
27870 main ()
27871 {
27872 return f != shmat;
27873 ;
27874 return 0;
27875 }
27876 _ACEOF
27877 rm -f conftest.$ac_objext conftest$ac_exeext
27878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27879 (eval $ac_link) 2>conftest.er1
27880 ac_status=$?
27881 grep -v '^ *+' conftest.er1 >conftest.err
27882 rm -f conftest.er1
27883 cat conftest.err >&5
27884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27885 (exit $ac_status); } &&
27886 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27888 (eval $ac_try) 2>&5
27889 ac_status=$?
27890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27891 (exit $ac_status); }; } &&
27892 { ac_try='test -s conftest$ac_exeext'
27893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27894 (eval $ac_try) 2>&5
27895 ac_status=$?
27896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27897 (exit $ac_status); }; }; then
27898 ac_cv_func_shmat=yes
27899 else
27900 echo "$as_me: failed program was:" >&5
27901 sed 's/^/| /' conftest.$ac_ext >&5
27902
27903 ac_cv_func_shmat=no
27904 fi
27905 rm -f conftest.err conftest.$ac_objext \
27906 conftest$ac_exeext conftest.$ac_ext
27907 fi
27908 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
27909 echo "${ECHO_T}$ac_cv_func_shmat" >&6
27910
27911 if test $ac_cv_func_shmat = no; then
27912 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
27913 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
27914 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
27915 echo $ECHO_N "(cached) $ECHO_C" >&6
27916 else
27917 ac_check_lib_save_LIBS=$LIBS
27918 LIBS="-lipc $LIBS"
27919 cat >conftest.$ac_ext <<_ACEOF
27920 /* confdefs.h. */
27921 _ACEOF
27922 cat confdefs.h >>conftest.$ac_ext
27923 cat >>conftest.$ac_ext <<_ACEOF
27924 /* end confdefs.h. */
27925
27926 /* Override any gcc2 internal prototype to avoid an error. */
27927 #ifdef __cplusplus
27928 extern "C"
27929 #endif
27930 /* We use char because int might match the return type of a gcc2
27931 builtin and then its argument prototype would still apply. */
27932 char shmat ();
27933 int
27934 main ()
27935 {
27936 shmat ();
27937 ;
27938 return 0;
27939 }
27940 _ACEOF
27941 rm -f conftest.$ac_objext conftest$ac_exeext
27942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27943 (eval $ac_link) 2>conftest.er1
27944 ac_status=$?
27945 grep -v '^ *+' conftest.er1 >conftest.err
27946 rm -f conftest.er1
27947 cat conftest.err >&5
27948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27949 (exit $ac_status); } &&
27950 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27952 (eval $ac_try) 2>&5
27953 ac_status=$?
27954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27955 (exit $ac_status); }; } &&
27956 { ac_try='test -s conftest$ac_exeext'
27957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27958 (eval $ac_try) 2>&5
27959 ac_status=$?
27960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27961 (exit $ac_status); }; }; then
27962 ac_cv_lib_ipc_shmat=yes
27963 else
27964 echo "$as_me: failed program was:" >&5
27965 sed 's/^/| /' conftest.$ac_ext >&5
27966
27967 ac_cv_lib_ipc_shmat=no
27968 fi
27969 rm -f conftest.err conftest.$ac_objext \
27970 conftest$ac_exeext conftest.$ac_ext
27971 LIBS=$ac_check_lib_save_LIBS
27972 fi
27973 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
27974 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
27975 if test $ac_cv_lib_ipc_shmat = yes; then
27976 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
27977 fi
27978
27979 fi
27980 fi
27981
27982 # Check for libraries that X11R6 Xt/Xaw programs need.
27983 ac_save_LDFLAGS=$LDFLAGS
27984 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
27985 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
27986 # check for ICE first), but we must link in the order -lSM -lICE or
27987 # we get undefined symbols. So assume we have SM if we have ICE.
27988 # These have to be linked with before -lX11, unlike the other
27989 # libraries we check for below, so use a different variable.
27990 # John Interrante, Karl Berry
27991 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
27992 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
27993 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
27994 echo $ECHO_N "(cached) $ECHO_C" >&6
27995 else
27996 ac_check_lib_save_LIBS=$LIBS
27997 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
27998 cat >conftest.$ac_ext <<_ACEOF
27999 /* confdefs.h. */
28000 _ACEOF
28001 cat confdefs.h >>conftest.$ac_ext
28002 cat >>conftest.$ac_ext <<_ACEOF
28003 /* end confdefs.h. */
28004
28005 /* Override any gcc2 internal prototype to avoid an error. */
28006 #ifdef __cplusplus
28007 extern "C"
28008 #endif
28009 /* We use char because int might match the return type of a gcc2
28010 builtin and then its argument prototype would still apply. */
28011 char IceConnectionNumber ();
28012 int
28013 main ()
28014 {
28015 IceConnectionNumber ();
28016 ;
28017 return 0;
28018 }
28019 _ACEOF
28020 rm -f conftest.$ac_objext conftest$ac_exeext
28021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28022 (eval $ac_link) 2>conftest.er1
28023 ac_status=$?
28024 grep -v '^ *+' conftest.er1 >conftest.err
28025 rm -f conftest.er1
28026 cat conftest.err >&5
28027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28028 (exit $ac_status); } &&
28029 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28031 (eval $ac_try) 2>&5
28032 ac_status=$?
28033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28034 (exit $ac_status); }; } &&
28035 { ac_try='test -s conftest$ac_exeext'
28036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28037 (eval $ac_try) 2>&5
28038 ac_status=$?
28039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28040 (exit $ac_status); }; }; then
28041 ac_cv_lib_ICE_IceConnectionNumber=yes
28042 else
28043 echo "$as_me: failed program was:" >&5
28044 sed 's/^/| /' conftest.$ac_ext >&5
28045
28046 ac_cv_lib_ICE_IceConnectionNumber=no
28047 fi
28048 rm -f conftest.err conftest.$ac_objext \
28049 conftest$ac_exeext conftest.$ac_ext
28050 LIBS=$ac_check_lib_save_LIBS
28051 fi
28052 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
28053 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
28054 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
28055 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
28056 fi
28057
28058 LDFLAGS=$ac_save_LDFLAGS
28059
28060 fi
28061
28062
28063 if test "$no_x" = "yes"; then
28064 { { echo "$as_me:$LINENO: error: X11 not found" >&5
28065 echo "$as_me: error: X11 not found" >&2;}
28066 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
28067 fi
28068
28069 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
28070 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
28071 AFMINSTALL=afminstall
28072 COMPILED_X_PROGRAM=0
28073
28074 fi
28075
28076 if test "$wxUSE_X11" = 1; then
28077 if test "$wxUSE_NANOX" = "yes"; then
28078 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
28079 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
28080 if test "x$MICROWIN" = x ; then
28081 echo "$as_me:$LINENO: result: not found" >&5
28082 echo "${ECHO_T}not found" >&6
28083 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
28084 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
28085 { (exit 1); exit 1; }; }
28086 else
28087 echo "$as_me:$LINENO: result: $MICROWIN" >&5
28088 echo "${ECHO_T}$MICROWIN" >&6
28089 cat >>confdefs.h <<\_ACEOF
28090 #define wxUSE_NANOX 1
28091 _ACEOF
28092
28093 fi
28094 fi
28095
28096 if test "$wxUSE_UNICODE" = "yes"; then
28097
28098 succeeded=no
28099
28100 if test -z "$PKG_CONFIG"; then
28101 # Extract the first word of "pkg-config", so it can be a program name with args.
28102 set dummy pkg-config; ac_word=$2
28103 echo "$as_me:$LINENO: checking for $ac_word" >&5
28104 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28105 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28106 echo $ECHO_N "(cached) $ECHO_C" >&6
28107 else
28108 case $PKG_CONFIG in
28109 [\\/]* | ?:[\\/]*)
28110 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28111 ;;
28112 *)
28113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28114 for as_dir in $PATH
28115 do
28116 IFS=$as_save_IFS
28117 test -z "$as_dir" && as_dir=.
28118 for ac_exec_ext in '' $ac_executable_extensions; do
28119 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28120 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28121 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28122 break 2
28123 fi
28124 done
28125 done
28126
28127 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28128 ;;
28129 esac
28130 fi
28131 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28132
28133 if test -n "$PKG_CONFIG"; then
28134 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28135 echo "${ECHO_T}$PKG_CONFIG" >&6
28136 else
28137 echo "$as_me:$LINENO: result: no" >&5
28138 echo "${ECHO_T}no" >&6
28139 fi
28140
28141 fi
28142
28143 if test "$PKG_CONFIG" = "no" ; then
28144 echo "*** The pkg-config script could not be found. Make sure it is"
28145 echo "*** in your path, or set the PKG_CONFIG environment variable"
28146 echo "*** to the full path to pkg-config."
28147 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
28148 else
28149 PKG_CONFIG_MIN_VERSION=0.9.0
28150 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
28151 echo "$as_me:$LINENO: checking for pangox" >&5
28152 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
28153
28154 if $PKG_CONFIG --exists "pangox" ; then
28155 echo "$as_me:$LINENO: result: yes" >&5
28156 echo "${ECHO_T}yes" >&6
28157 succeeded=yes
28158
28159 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
28160 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
28161 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
28162 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
28163 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
28164
28165 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
28166 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
28167 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
28168 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
28169 echo "${ECHO_T}$PANGOX_LIBS" >&6
28170 else
28171 PANGOX_CFLAGS=""
28172 PANGOX_LIBS=""
28173 ## If we have a custom action on failure, don't print errors, but
28174 ## do set a variable so people can do so.
28175 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
28176
28177 fi
28178
28179
28180
28181 else
28182 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
28183 echo "*** See http://www.freedesktop.org/software/pkgconfig"
28184 fi
28185 fi
28186
28187 if test $succeeded = yes; then
28188
28189 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
28190 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
28191
28192 else
28193
28194 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
28195 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
28196 { (exit 1); exit 1; }; }
28197
28198
28199 fi
28200
28201
28202 succeeded=no
28203
28204 if test -z "$PKG_CONFIG"; then
28205 # Extract the first word of "pkg-config", so it can be a program name with args.
28206 set dummy pkg-config; ac_word=$2
28207 echo "$as_me:$LINENO: checking for $ac_word" >&5
28208 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28209 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28210 echo $ECHO_N "(cached) $ECHO_C" >&6
28211 else
28212 case $PKG_CONFIG in
28213 [\\/]* | ?:[\\/]*)
28214 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28215 ;;
28216 *)
28217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28218 for as_dir in $PATH
28219 do
28220 IFS=$as_save_IFS
28221 test -z "$as_dir" && as_dir=.
28222 for ac_exec_ext in '' $ac_executable_extensions; do
28223 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28224 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28225 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28226 break 2
28227 fi
28228 done
28229 done
28230
28231 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28232 ;;
28233 esac
28234 fi
28235 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28236
28237 if test -n "$PKG_CONFIG"; then
28238 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28239 echo "${ECHO_T}$PKG_CONFIG" >&6
28240 else
28241 echo "$as_me:$LINENO: result: no" >&5
28242 echo "${ECHO_T}no" >&6
28243 fi
28244
28245 fi
28246
28247 if test "$PKG_CONFIG" = "no" ; then
28248 echo "*** The pkg-config script could not be found. Make sure it is"
28249 echo "*** in your path, or set the PKG_CONFIG environment variable"
28250 echo "*** to the full path to pkg-config."
28251 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
28252 else
28253 PKG_CONFIG_MIN_VERSION=0.9.0
28254 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
28255 echo "$as_me:$LINENO: checking for pangoft2" >&5
28256 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
28257
28258 if $PKG_CONFIG --exists "pangoft2" ; then
28259 echo "$as_me:$LINENO: result: yes" >&5
28260 echo "${ECHO_T}yes" >&6
28261 succeeded=yes
28262
28263 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
28264 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
28265 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
28266 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
28267 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
28268
28269 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
28270 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
28271 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
28272 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
28273 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
28274 else
28275 PANGOFT2_CFLAGS=""
28276 PANGOFT2_LIBS=""
28277 ## If we have a custom action on failure, don't print errors, but
28278 ## do set a variable so people can do so.
28279 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
28280
28281 fi
28282
28283
28284
28285 else
28286 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
28287 echo "*** See http://www.freedesktop.org/software/pkgconfig"
28288 fi
28289 fi
28290
28291 if test $succeeded = yes; then
28292
28293 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
28294 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
28295
28296 else
28297
28298 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
28299 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
28300 wxUSE_PRINTING_ARCHITECTURE="no"
28301
28302
28303 fi
28304
28305
28306 succeeded=no
28307
28308 if test -z "$PKG_CONFIG"; then
28309 # Extract the first word of "pkg-config", so it can be a program name with args.
28310 set dummy pkg-config; ac_word=$2
28311 echo "$as_me:$LINENO: checking for $ac_word" >&5
28312 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28313 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28314 echo $ECHO_N "(cached) $ECHO_C" >&6
28315 else
28316 case $PKG_CONFIG in
28317 [\\/]* | ?:[\\/]*)
28318 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28319 ;;
28320 *)
28321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28322 for as_dir in $PATH
28323 do
28324 IFS=$as_save_IFS
28325 test -z "$as_dir" && as_dir=.
28326 for ac_exec_ext in '' $ac_executable_extensions; do
28327 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28328 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28330 break 2
28331 fi
28332 done
28333 done
28334
28335 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28336 ;;
28337 esac
28338 fi
28339 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28340
28341 if test -n "$PKG_CONFIG"; then
28342 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28343 echo "${ECHO_T}$PKG_CONFIG" >&6
28344 else
28345 echo "$as_me:$LINENO: result: no" >&5
28346 echo "${ECHO_T}no" >&6
28347 fi
28348
28349 fi
28350
28351 if test "$PKG_CONFIG" = "no" ; then
28352 echo "*** The pkg-config script could not be found. Make sure it is"
28353 echo "*** in your path, or set the PKG_CONFIG environment variable"
28354 echo "*** to the full path to pkg-config."
28355 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
28356 else
28357 PKG_CONFIG_MIN_VERSION=0.9.0
28358 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
28359 echo "$as_me:$LINENO: checking for pangoxft" >&5
28360 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
28361
28362 if $PKG_CONFIG --exists "pangoxft" ; then
28363 echo "$as_me:$LINENO: result: yes" >&5
28364 echo "${ECHO_T}yes" >&6
28365 succeeded=yes
28366
28367 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
28368 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
28369 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
28370 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
28371 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
28372
28373 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
28374 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
28375 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
28376 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
28377 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
28378 else
28379 PANGOXFT_CFLAGS=""
28380 PANGOXFT_LIBS=""
28381 ## If we have a custom action on failure, don't print errors, but
28382 ## do set a variable so people can do so.
28383 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
28384
28385 fi
28386
28387
28388
28389 else
28390 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
28391 echo "*** See http://www.freedesktop.org/software/pkgconfig"
28392 fi
28393 fi
28394
28395 if test $succeeded = yes; then
28396
28397 cat >>confdefs.h <<\_ACEOF
28398 #define HAVE_PANGO_XFT 1
28399 _ACEOF
28400
28401 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
28402 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
28403
28404 else
28405
28406 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
28407 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
28408
28409
28410 fi
28411
28412 save_CFLAGS="$CFLAGS"
28413 save_LIBS="$LIBS"
28414 CFLAGS="$CFLAGS $PANGOX_CFLAGS"
28415 LIBS="$LIBS $PANGOX_LIBS"
28416
28417 for ac_func in pango_font_family_is_monospace
28418 do
28419 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28420 echo "$as_me:$LINENO: checking for $ac_func" >&5
28421 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28422 if eval "test \"\${$as_ac_var+set}\" = set"; then
28423 echo $ECHO_N "(cached) $ECHO_C" >&6
28424 else
28425 cat >conftest.$ac_ext <<_ACEOF
28426 /* confdefs.h. */
28427 _ACEOF
28428 cat confdefs.h >>conftest.$ac_ext
28429 cat >>conftest.$ac_ext <<_ACEOF
28430 /* end confdefs.h. */
28431 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28432 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28433 #define $ac_func innocuous_$ac_func
28434
28435 /* System header to define __stub macros and hopefully few prototypes,
28436 which can conflict with char $ac_func (); below.
28437 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28438 <limits.h> exists even on freestanding compilers. */
28439
28440 #ifdef __STDC__
28441 # include <limits.h>
28442 #else
28443 # include <assert.h>
28444 #endif
28445
28446 #undef $ac_func
28447
28448 /* Override any gcc2 internal prototype to avoid an error. */
28449 #ifdef __cplusplus
28450 extern "C"
28451 {
28452 #endif
28453 /* We use char because int might match the return type of a gcc2
28454 builtin and then its argument prototype would still apply. */
28455 char $ac_func ();
28456 /* The GNU C library defines this for functions which it implements
28457 to always fail with ENOSYS. Some functions are actually named
28458 something starting with __ and the normal name is an alias. */
28459 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28460 choke me
28461 #else
28462 char (*f) () = $ac_func;
28463 #endif
28464 #ifdef __cplusplus
28465 }
28466 #endif
28467
28468 int
28469 main ()
28470 {
28471 return f != $ac_func;
28472 ;
28473 return 0;
28474 }
28475 _ACEOF
28476 rm -f conftest.$ac_objext conftest$ac_exeext
28477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28478 (eval $ac_link) 2>conftest.er1
28479 ac_status=$?
28480 grep -v '^ *+' conftest.er1 >conftest.err
28481 rm -f conftest.er1
28482 cat conftest.err >&5
28483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28484 (exit $ac_status); } &&
28485 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28487 (eval $ac_try) 2>&5
28488 ac_status=$?
28489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28490 (exit $ac_status); }; } &&
28491 { ac_try='test -s conftest$ac_exeext'
28492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28493 (eval $ac_try) 2>&5
28494 ac_status=$?
28495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28496 (exit $ac_status); }; }; then
28497 eval "$as_ac_var=yes"
28498 else
28499 echo "$as_me: failed program was:" >&5
28500 sed 's/^/| /' conftest.$ac_ext >&5
28501
28502 eval "$as_ac_var=no"
28503 fi
28504 rm -f conftest.err conftest.$ac_objext \
28505 conftest$ac_exeext conftest.$ac_ext
28506 fi
28507 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28508 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28509 if test `eval echo '${'$as_ac_var'}'` = yes; then
28510 cat >>confdefs.h <<_ACEOF
28511 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28512 _ACEOF
28513
28514 fi
28515 done
28516
28517 CFLAGS="$save_CFLAGS"
28518 LIBS="$save_LIBS"
28519 fi
28520
28521 wxUSE_UNIVERSAL="yes"
28522
28523 if test "$wxUSE_NANOX" = "yes"; then
28524 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
28525 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"
28526 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
28527 else
28528 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
28529 fi
28530
28531 TOOLKIT=X11
28532 GUIDIST=X11_DIST
28533 fi
28534
28535 if test "$wxUSE_MOTIF" = 1; then
28536 if test "$wxUSE_UNICODE" = "yes"; then
28537 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
28538 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
28539 { (exit 1); exit 1; }; }
28540 fi
28541
28542 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
28543 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
28544
28545 ac_find_includes=
28546 for ac_dir in $SEARCH_INCLUDE /usr/include;
28547 do
28548 if test -f "$ac_dir/Xm/Xm.h"; then
28549 ac_find_includes=$ac_dir
28550 break
28551 fi
28552 done
28553
28554 if test "$ac_find_includes" != "" ; then
28555 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
28556 echo "${ECHO_T}found in $ac_find_includes" >&6
28557
28558 if test "x$ac_find_includes" = "x/usr/include"; then
28559 ac_path_to_include=""
28560 else
28561 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
28562 result=$?
28563 if test $result = 0; then
28564 ac_path_to_include=""
28565 else
28566 ac_path_to_include=" -I$ac_find_includes"
28567 fi
28568 fi
28569
28570 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
28571 else
28572 save_CFLAGS=$CFLAGS
28573 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
28574
28575 cat >conftest.$ac_ext <<_ACEOF
28576 /* confdefs.h. */
28577 _ACEOF
28578 cat confdefs.h >>conftest.$ac_ext
28579 cat >>conftest.$ac_ext <<_ACEOF
28580 /* end confdefs.h. */
28581
28582 #include <Xm/Xm.h>
28583
28584 int
28585 main ()
28586 {
28587
28588 int version;
28589 version = xmUseVersion;
28590
28591 ;
28592 return 0;
28593 }
28594 _ACEOF
28595 rm -f conftest.$ac_objext
28596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28597 (eval $ac_compile) 2>conftest.er1
28598 ac_status=$?
28599 grep -v '^ *+' conftest.er1 >conftest.err
28600 rm -f conftest.er1
28601 cat conftest.err >&5
28602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28603 (exit $ac_status); } &&
28604 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28606 (eval $ac_try) 2>&5
28607 ac_status=$?
28608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28609 (exit $ac_status); }; } &&
28610 { ac_try='test -s conftest.$ac_objext'
28611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28612 (eval $ac_try) 2>&5
28613 ac_status=$?
28614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28615 (exit $ac_status); }; }; then
28616
28617 echo "$as_me:$LINENO: result: found in default search path" >&5
28618 echo "${ECHO_T}found in default search path" >&6
28619 COMPILED_X_PROGRAM=1
28620
28621 else
28622 echo "$as_me: failed program was:" >&5
28623 sed 's/^/| /' conftest.$ac_ext >&5
28624
28625
28626 echo "$as_me:$LINENO: result: no" >&5
28627 echo "${ECHO_T}no" >&6
28628 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
28629 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
28630 { (exit 1); exit 1; }; }
28631
28632
28633 fi
28634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28635
28636 CFLAGS=$save_CFLAGS
28637 fi
28638
28639
28640 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
28641 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
28642
28643 ac_find_libraries=
28644 for ac_dir in $SEARCH_LIB;
28645 do
28646 for ac_extension in a so sl dylib dll.a; do
28647 if test -f "$ac_dir/libXm.$ac_extension"; then
28648 ac_find_libraries=$ac_dir
28649 break 2
28650 fi
28651 done
28652 done
28653
28654
28655 if test "x$ac_find_libraries" != "x" ; then
28656 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
28657 echo "${ECHO_T}found in $ac_find_libraries" >&6
28658
28659
28660 if test "$ac_find_libraries" = "default location"; then
28661 ac_path_to_link=""
28662 else
28663 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
28664 result=$?
28665 if test $result = 0; then
28666 ac_path_to_link=""
28667 else
28668 ac_path_to_link=" -L$ac_find_libraries"
28669 fi
28670 fi
28671
28672 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
28673 else
28674 save_CFLAGS=$CFLAGS
28675 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
28676 save_LIBS="$LIBS"
28677 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
28678
28679 cat >conftest.$ac_ext <<_ACEOF
28680 /* confdefs.h. */
28681 _ACEOF
28682 cat confdefs.h >>conftest.$ac_ext
28683 cat >>conftest.$ac_ext <<_ACEOF
28684 /* end confdefs.h. */
28685
28686 #include <Xm/Xm.h>
28687
28688 int
28689 main ()
28690 {
28691
28692 int version;
28693 version = xmUseVersion;
28694
28695 ;
28696 return 0;
28697 }
28698 _ACEOF
28699 rm -f conftest.$ac_objext conftest$ac_exeext
28700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28701 (eval $ac_link) 2>conftest.er1
28702 ac_status=$?
28703 grep -v '^ *+' conftest.er1 >conftest.err
28704 rm -f conftest.er1
28705 cat conftest.err >&5
28706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28707 (exit $ac_status); } &&
28708 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28710 (eval $ac_try) 2>&5
28711 ac_status=$?
28712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28713 (exit $ac_status); }; } &&
28714 { ac_try='test -s conftest$ac_exeext'
28715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28716 (eval $ac_try) 2>&5
28717 ac_status=$?
28718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28719 (exit $ac_status); }; }; then
28720
28721 echo "$as_me:$LINENO: result: found in default search path" >&5
28722 echo "${ECHO_T}found in default search path" >&6
28723 COMPILED_X_PROGRAM=1
28724
28725 else
28726 echo "$as_me: failed program was:" >&5
28727 sed 's/^/| /' conftest.$ac_ext >&5
28728
28729
28730 echo "$as_me:$LINENO: result: no" >&5
28731 echo "${ECHO_T}no" >&6
28732 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
28733 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
28734 { (exit 1); exit 1; }; }
28735
28736
28737 fi
28738 rm -f conftest.err conftest.$ac_objext \
28739 conftest$ac_exeext conftest.$ac_ext
28740
28741 CFLAGS=$save_CFLAGS
28742 LIBS="$save_LIBS"
28743 fi
28744
28745 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
28746 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
28747 libp_link=""
28748 libsm_ice_link=""
28749 libs_found=0
28750 for libp in "" " -lXp"; do
28751 if test "$libs_found" = "0"; then
28752 for libsm_ice in "" " -lSM -lICE"; do
28753 if test "$libs_found" = "0"; then
28754 save_LIBS="$LIBS"
28755 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
28756 save_CFLAGS=$CFLAGS
28757 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
28758
28759 cat >conftest.$ac_ext <<_ACEOF
28760 /* confdefs.h. */
28761 _ACEOF
28762 cat confdefs.h >>conftest.$ac_ext
28763 cat >>conftest.$ac_ext <<_ACEOF
28764 /* end confdefs.h. */
28765
28766 #include <Xm/Xm.h>
28767 #include <Xm/List.h>
28768
28769 int
28770 main ()
28771 {
28772
28773 XmString string = NULL;
28774 Widget w = NULL;
28775 int position = 0;
28776 XmListAddItem(w, string, position);
28777
28778 ;
28779 return 0;
28780 }
28781 _ACEOF
28782 rm -f conftest.$ac_objext conftest$ac_exeext
28783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28784 (eval $ac_link) 2>conftest.er1
28785 ac_status=$?
28786 grep -v '^ *+' conftest.er1 >conftest.err
28787 rm -f conftest.er1
28788 cat conftest.err >&5
28789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28790 (exit $ac_status); } &&
28791 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28793 (eval $ac_try) 2>&5
28794 ac_status=$?
28795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28796 (exit $ac_status); }; } &&
28797 { ac_try='test -s conftest$ac_exeext'
28798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28799 (eval $ac_try) 2>&5
28800 ac_status=$?
28801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28802 (exit $ac_status); }; }; then
28803
28804 libp_link="$libp"
28805 libsm_ice_link="$libsm_ice"
28806 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
28807 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
28808 libs_found=1
28809
28810 else
28811 echo "$as_me: failed program was:" >&5
28812 sed 's/^/| /' conftest.$ac_ext >&5
28813
28814
28815
28816 fi
28817 rm -f conftest.err conftest.$ac_objext \
28818 conftest$ac_exeext conftest.$ac_ext
28819
28820 LIBS="$save_LIBS"
28821 CFLAGS=$save_CFLAGS
28822 fi
28823 done
28824 fi
28825 done
28826
28827 if test "$libs_found" = "0"; then
28828 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
28829 echo "${ECHO_T}can't find the right libraries" >&6
28830 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
28831 echo "$as_me: error: can't link a simple motif program" >&2;}
28832 { (exit 1); exit 1; }; }
28833 fi
28834
28835 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
28836 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
28837 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
28838 echo $ECHO_N "(cached) $ECHO_C" >&6
28839 else
28840 ac_check_lib_save_LIBS=$LIBS
28841 LIBS="-lSgm $LIBS"
28842 cat >conftest.$ac_ext <<_ACEOF
28843 /* confdefs.h. */
28844 _ACEOF
28845 cat confdefs.h >>conftest.$ac_ext
28846 cat >>conftest.$ac_ext <<_ACEOF
28847 /* end confdefs.h. */
28848
28849 /* Override any gcc2 internal prototype to avoid an error. */
28850 #ifdef __cplusplus
28851 extern "C"
28852 #endif
28853 /* We use char because int might match the return type of a gcc2
28854 builtin and then its argument prototype would still apply. */
28855 char SgCreateList ();
28856 int
28857 main ()
28858 {
28859 SgCreateList ();
28860 ;
28861 return 0;
28862 }
28863 _ACEOF
28864 rm -f conftest.$ac_objext conftest$ac_exeext
28865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28866 (eval $ac_link) 2>conftest.er1
28867 ac_status=$?
28868 grep -v '^ *+' conftest.er1 >conftest.err
28869 rm -f conftest.er1
28870 cat conftest.err >&5
28871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28872 (exit $ac_status); } &&
28873 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28875 (eval $ac_try) 2>&5
28876 ac_status=$?
28877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28878 (exit $ac_status); }; } &&
28879 { ac_try='test -s conftest$ac_exeext'
28880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28881 (eval $ac_try) 2>&5
28882 ac_status=$?
28883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28884 (exit $ac_status); }; }; then
28885 ac_cv_lib_Sgm_SgCreateList=yes
28886 else
28887 echo "$as_me: failed program was:" >&5
28888 sed 's/^/| /' conftest.$ac_ext >&5
28889
28890 ac_cv_lib_Sgm_SgCreateList=no
28891 fi
28892 rm -f conftest.err conftest.$ac_objext \
28893 conftest$ac_exeext conftest.$ac_ext
28894 LIBS=$ac_check_lib_save_LIBS
28895 fi
28896 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
28897 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
28898 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
28899 libsgm_link=" -lSgm"
28900 fi
28901
28902
28903 save_CFLAGS=$CFLAGS
28904 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
28905
28906 echo "$as_me:$LINENO: checking for Motif 2" >&5
28907 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
28908 if test "${wx_cv_lib_motif2+set}" = set; then
28909 echo $ECHO_N "(cached) $ECHO_C" >&6
28910 else
28911 cat >conftest.$ac_ext <<_ACEOF
28912 /* confdefs.h. */
28913 _ACEOF
28914 cat confdefs.h >>conftest.$ac_ext
28915 cat >>conftest.$ac_ext <<_ACEOF
28916 /* end confdefs.h. */
28917
28918 #include <Xm/Xm.h>
28919
28920 int
28921 main ()
28922 {
28923
28924 #if XmVersion < 2000
28925 Not Motif 2
28926 #endif
28927
28928 ;
28929 return 0;
28930 }
28931 _ACEOF
28932 rm -f conftest.$ac_objext
28933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28934 (eval $ac_compile) 2>conftest.er1
28935 ac_status=$?
28936 grep -v '^ *+' conftest.er1 >conftest.err
28937 rm -f conftest.er1
28938 cat conftest.err >&5
28939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28940 (exit $ac_status); } &&
28941 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28943 (eval $ac_try) 2>&5
28944 ac_status=$?
28945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28946 (exit $ac_status); }; } &&
28947 { ac_try='test -s conftest.$ac_objext'
28948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28949 (eval $ac_try) 2>&5
28950 ac_status=$?
28951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28952 (exit $ac_status); }; }; then
28953 wx_cv_lib_motif2="yes"
28954 else
28955 echo "$as_me: failed program was:" >&5
28956 sed 's/^/| /' conftest.$ac_ext >&5
28957
28958 wx_cv_lib_motif2="no"
28959 fi
28960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28961 fi
28962 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
28963 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
28964 if test "$wx_cv_lib_motif2" = "yes"; then
28965 cat >>confdefs.h <<\_ACEOF
28966 #define __WXMOTIF20__ 1
28967 _ACEOF
28968
28969 else
28970 cat >>confdefs.h <<\_ACEOF
28971 #define __WXMOTIF20__ 0
28972 _ACEOF
28973
28974 fi
28975
28976 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
28977 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
28978 if test "${wx_cv_lib_lesstif+set}" = set; then
28979 echo $ECHO_N "(cached) $ECHO_C" >&6
28980 else
28981 cat >conftest.$ac_ext <<_ACEOF
28982 /* confdefs.h. */
28983 _ACEOF
28984 cat confdefs.h >>conftest.$ac_ext
28985 cat >>conftest.$ac_ext <<_ACEOF
28986 /* end confdefs.h. */
28987
28988 #include <Xm/Xm.h>
28989
28990 int
28991 main ()
28992 {
28993
28994 #if !defined(LesstifVersion) || LesstifVersion <= 0
28995 Not Lesstif
28996 #endif
28997
28998 ;
28999 return 0;
29000 }
29001 _ACEOF
29002 rm -f conftest.$ac_objext
29003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29004 (eval $ac_compile) 2>conftest.er1
29005 ac_status=$?
29006 grep -v '^ *+' conftest.er1 >conftest.err
29007 rm -f conftest.er1
29008 cat conftest.err >&5
29009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29010 (exit $ac_status); } &&
29011 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29013 (eval $ac_try) 2>&5
29014 ac_status=$?
29015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29016 (exit $ac_status); }; } &&
29017 { ac_try='test -s conftest.$ac_objext'
29018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29019 (eval $ac_try) 2>&5
29020 ac_status=$?
29021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29022 (exit $ac_status); }; }; then
29023 wx_cv_lib_lesstif="yes"
29024 else
29025 echo "$as_me: failed program was:" >&5
29026 sed 's/^/| /' conftest.$ac_ext >&5
29027
29028 wx_cv_lib_lesstif="no"
29029 fi
29030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29031
29032 fi
29033 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
29034 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
29035 if test "$wx_cv_lib_lesstif" = "yes"; then
29036 cat >>confdefs.h <<\_ACEOF
29037 #define __WXLESSTIF__ 1
29038 _ACEOF
29039
29040 else
29041 cat >>confdefs.h <<\_ACEOF
29042 #define __WXLESSTIF__ 0
29043 _ACEOF
29044
29045 fi
29046
29047 CFLAGS=$save_CFLAGS
29048
29049 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
29050 TOOLKIT=MOTIF
29051 GUIDIST=MOTIF_DIST
29052 fi
29053
29054 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29055 if test "$wxUSE_LIBXPM" = "sys"; then
29056 echo "$as_me:$LINENO: checking for Xpm library" >&5
29057 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
29058
29059 ac_find_libraries=
29060 for ac_dir in $SEARCH_LIB;
29061 do
29062 for ac_extension in a so sl dylib dll.a; do
29063 if test -f "$ac_dir/libXpm.$ac_extension"; then
29064 ac_find_libraries=$ac_dir
29065 break 2
29066 fi
29067 done
29068 done
29069
29070 if test "$ac_find_libraries" != "" ; then
29071
29072 if test "$ac_find_libraries" = "default location"; then
29073 ac_path_to_link=""
29074 else
29075 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29076 result=$?
29077 if test $result = 0; then
29078 ac_path_to_link=""
29079 else
29080 ac_path_to_link=" -L$ac_find_libraries"
29081 fi
29082 fi
29083
29084 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
29085 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29086 echo "${ECHO_T}found in $ac_find_libraries" >&6
29087
29088 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
29089 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
29090 if test "${wx_cv_x11_xpm_h+set}" = set; then
29091 echo $ECHO_N "(cached) $ECHO_C" >&6
29092 else
29093
29094 save_CFLAGS=$CFLAGS
29095 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
29096
29097 cat >conftest.$ac_ext <<_ACEOF
29098 /* confdefs.h. */
29099 _ACEOF
29100 cat confdefs.h >>conftest.$ac_ext
29101 cat >>conftest.$ac_ext <<_ACEOF
29102 /* end confdefs.h. */
29103
29104 #include <X11/xpm.h>
29105
29106 int
29107 main ()
29108 {
29109
29110 int version;
29111 version = XpmLibraryVersion();
29112
29113 ;
29114 return 0;
29115 }
29116 _ACEOF
29117 rm -f conftest.$ac_objext
29118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29119 (eval $ac_compile) 2>conftest.er1
29120 ac_status=$?
29121 grep -v '^ *+' conftest.er1 >conftest.err
29122 rm -f conftest.er1
29123 cat conftest.err >&5
29124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29125 (exit $ac_status); } &&
29126 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29128 (eval $ac_try) 2>&5
29129 ac_status=$?
29130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29131 (exit $ac_status); }; } &&
29132 { ac_try='test -s conftest.$ac_objext'
29133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29134 (eval $ac_try) 2>&5
29135 ac_status=$?
29136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29137 (exit $ac_status); }; }; then
29138 wx_cv_x11_xpm_h=yes
29139 else
29140 echo "$as_me: failed program was:" >&5
29141 sed 's/^/| /' conftest.$ac_ext >&5
29142
29143 wx_cv_x11_xpm_h=no
29144
29145 fi
29146 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29147
29148 CFLAGS=$save_CFLAGS
29149
29150
29151 fi
29152 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
29153 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
29154
29155 if test $wx_cv_x11_xpm_h = "yes"; then
29156 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
29157 cat >>confdefs.h <<\_ACEOF
29158 #define wxHAVE_LIB_XPM 1
29159 _ACEOF
29160
29161 else
29162 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
29163 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
29164 fi
29165 fi
29166
29167 fi
29168
29169 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
29170 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
29171 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
29172 echo $ECHO_N "(cached) $ECHO_C" >&6
29173 else
29174 ac_check_lib_save_LIBS=$LIBS
29175 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
29176 cat >conftest.$ac_ext <<_ACEOF
29177 /* confdefs.h. */
29178 _ACEOF
29179 cat confdefs.h >>conftest.$ac_ext
29180 cat >>conftest.$ac_ext <<_ACEOF
29181 /* end confdefs.h. */
29182
29183 /* Override any gcc2 internal prototype to avoid an error. */
29184 #ifdef __cplusplus
29185 extern "C"
29186 #endif
29187 /* We use char because int might match the return type of a gcc2
29188 builtin and then its argument prototype would still apply. */
29189 char XShapeQueryExtension ();
29190 int
29191 main ()
29192 {
29193 XShapeQueryExtension ();
29194 ;
29195 return 0;
29196 }
29197 _ACEOF
29198 rm -f conftest.$ac_objext conftest$ac_exeext
29199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29200 (eval $ac_link) 2>conftest.er1
29201 ac_status=$?
29202 grep -v '^ *+' conftest.er1 >conftest.err
29203 rm -f conftest.er1
29204 cat conftest.err >&5
29205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29206 (exit $ac_status); } &&
29207 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29209 (eval $ac_try) 2>&5
29210 ac_status=$?
29211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29212 (exit $ac_status); }; } &&
29213 { ac_try='test -s conftest$ac_exeext'
29214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29215 (eval $ac_try) 2>&5
29216 ac_status=$?
29217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29218 (exit $ac_status); }; }; then
29219 ac_cv_lib_Xext_XShapeQueryExtension=yes
29220 else
29221 echo "$as_me: failed program was:" >&5
29222 sed 's/^/| /' conftest.$ac_ext >&5
29223
29224 ac_cv_lib_Xext_XShapeQueryExtension=no
29225 fi
29226 rm -f conftest.err conftest.$ac_objext \
29227 conftest$ac_exeext conftest.$ac_ext
29228 LIBS=$ac_check_lib_save_LIBS
29229 fi
29230 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
29231 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
29232 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
29233
29234 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
29235 wxHAVE_XEXT_LIB=1
29236
29237 fi
29238
29239
29240 if test "$wxHAVE_XEXT_LIB" = 1; then
29241 save_CFLAGS="$CFLAGS"
29242 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
29243
29244 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
29245 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
29246 cat >conftest.$ac_ext <<_ACEOF
29247 /* confdefs.h. */
29248 _ACEOF
29249 cat confdefs.h >>conftest.$ac_ext
29250 cat >>conftest.$ac_ext <<_ACEOF
29251 /* end confdefs.h. */
29252
29253 #include <X11/Xlib.h>
29254 #include <X11/extensions/shape.h>
29255
29256 int
29257 main ()
29258 {
29259
29260 int dummy1, dummy2;
29261 XShapeQueryExtension((Display*)NULL,
29262 (int*)NULL, (int*)NULL);
29263
29264 ;
29265 return 0;
29266 }
29267 _ACEOF
29268 rm -f conftest.$ac_objext
29269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29270 (eval $ac_compile) 2>conftest.er1
29271 ac_status=$?
29272 grep -v '^ *+' conftest.er1 >conftest.err
29273 rm -f conftest.er1
29274 cat conftest.err >&5
29275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29276 (exit $ac_status); } &&
29277 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29279 (eval $ac_try) 2>&5
29280 ac_status=$?
29281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29282 (exit $ac_status); }; } &&
29283 { ac_try='test -s conftest.$ac_objext'
29284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29285 (eval $ac_try) 2>&5
29286 ac_status=$?
29287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29288 (exit $ac_status); }; }; then
29289
29290 cat >>confdefs.h <<\_ACEOF
29291 #define HAVE_XSHAPE 1
29292 _ACEOF
29293
29294 echo "$as_me:$LINENO: result: found" >&5
29295 echo "${ECHO_T}found" >&6
29296
29297 else
29298 echo "$as_me: failed program was:" >&5
29299 sed 's/^/| /' conftest.$ac_ext >&5
29300
29301
29302 echo "$as_me:$LINENO: result: not found" >&5
29303 echo "${ECHO_T}not found" >&6
29304
29305 fi
29306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29307 CFLAGS="$save_CFLAGS"
29308
29309 fi
29310 fi
29311
29312 if test "$wxUSE_MAC" = 1; then
29313 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
29314 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
29315 if test "$GCC" = yes; then
29316 echo "$as_me:$LINENO: result: gcc" >&5
29317 echo "${ECHO_T}gcc" >&6
29318 CPPFLAGS_PASCAL="-fpascal-strings"
29319 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
29320 echo "$as_me:$LINENO: result: xlc" >&5
29321 echo "${ECHO_T}xlc" >&6
29322 CPPFLAGS_PASCAL="-qmacpstr"
29323 else
29324 echo "$as_me:$LINENO: result: none" >&5
29325 echo "${ECHO_T}none" >&6
29326 fi
29327
29328 if test "x$wxUSE_UNIX" = "xyes"; then
29329 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
29330 else
29331 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
29332 fi
29333
29334 TOOLKIT=MAC
29335 GUIDIST=MACX_DIST
29336 WXBASEPORT="_carbon"
29337 fi
29338
29339 if test "$wxUSE_COCOA" = 1; then
29340 TOOLKIT=COCOA
29341 GUIDIST=COCOA_DIST
29342 fi
29343
29344 if test "$wxUSE_PM" = 1; then
29345 TOOLKIT=PM
29346 GUIDIST=PM_DIST
29347 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
29348 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
29349 if test "${wx_cv_spbcdata+set}" = set; then
29350 echo $ECHO_N "(cached) $ECHO_C" >&6
29351 else
29352
29353 cat >conftest.$ac_ext <<_ACEOF
29354 /* confdefs.h. */
29355 _ACEOF
29356 cat confdefs.h >>conftest.$ac_ext
29357 cat >>conftest.$ac_ext <<_ACEOF
29358 /* end confdefs.h. */
29359
29360 #define INCL_PM
29361 #include <os2.h>
29362
29363 int
29364 main ()
29365 {
29366
29367 SPBCDATA test;
29368
29369 ;
29370 return 0;
29371 }
29372 _ACEOF
29373 rm -f conftest.$ac_objext
29374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29375 (eval $ac_compile) 2>conftest.er1
29376 ac_status=$?
29377 grep -v '^ *+' conftest.er1 >conftest.err
29378 rm -f conftest.er1
29379 cat conftest.err >&5
29380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29381 (exit $ac_status); } &&
29382 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29384 (eval $ac_try) 2>&5
29385 ac_status=$?
29386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29387 (exit $ac_status); }; } &&
29388 { ac_try='test -s conftest.$ac_objext'
29389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29390 (eval $ac_try) 2>&5
29391 ac_status=$?
29392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29393 (exit $ac_status); }; }; then
29394 wx_cv_spbcdata=yes
29395 else
29396 echo "$as_me: failed program was:" >&5
29397 sed 's/^/| /' conftest.$ac_ext >&5
29398
29399 wx_cv_spbcdata=no
29400
29401 fi
29402 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29403
29404
29405 fi
29406 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
29407 echo "${ECHO_T}$wx_cv_spbcdata" >&6
29408
29409 if test $wx_cv_spbcdata = "yes"; then
29410 cat >>confdefs.h <<\_ACEOF
29411 #define HAVE_SPBCDATA 1
29412 _ACEOF
29413
29414 fi
29415 fi
29416
29417 if test "$TOOLKIT" = "PM" ; then
29418 TOOLKIT_DIR="os2"
29419 else
29420 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
29421 fi
29422
29423 if test "$wxUSE_UNIVERSAL" = "yes"; then
29424 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
29425 WIDGET_SET=univ
29426 fi
29427
29428 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
29429 DISTDIR="wx\$(TOOLKIT)"
29430 else
29431 USE_GUI=0
29432
29433 TOOLKIT_DIR="base"
29434
29435 if test "$USE_WIN32" = 1 ; then
29436 TOOLKIT="MSW"
29437 fi
29438
29439 GUIDIST="BASE_DIST"
29440 DISTDIR="wxBase"
29441 fi
29442
29443
29444 if test "$wxUSE_GUI" = "yes"; then
29445 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
29446
29447 for ac_header in X11/Xlib.h
29448 do
29449 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29450 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29451 echo "$as_me:$LINENO: checking for $ac_header" >&5
29452 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29453 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29454 echo $ECHO_N "(cached) $ECHO_C" >&6
29455 fi
29456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29457 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29458 else
29459 # Is the header compilable?
29460 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29461 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29462 cat >conftest.$ac_ext <<_ACEOF
29463 /* confdefs.h. */
29464 _ACEOF
29465 cat confdefs.h >>conftest.$ac_ext
29466 cat >>conftest.$ac_ext <<_ACEOF
29467 /* end confdefs.h. */
29468 $ac_includes_default
29469 #include <$ac_header>
29470 _ACEOF
29471 rm -f conftest.$ac_objext
29472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29473 (eval $ac_compile) 2>conftest.er1
29474 ac_status=$?
29475 grep -v '^ *+' conftest.er1 >conftest.err
29476 rm -f conftest.er1
29477 cat conftest.err >&5
29478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29479 (exit $ac_status); } &&
29480 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29482 (eval $ac_try) 2>&5
29483 ac_status=$?
29484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29485 (exit $ac_status); }; } &&
29486 { ac_try='test -s conftest.$ac_objext'
29487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29488 (eval $ac_try) 2>&5
29489 ac_status=$?
29490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29491 (exit $ac_status); }; }; then
29492 ac_header_compiler=yes
29493 else
29494 echo "$as_me: failed program was:" >&5
29495 sed 's/^/| /' conftest.$ac_ext >&5
29496
29497 ac_header_compiler=no
29498 fi
29499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29500 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29501 echo "${ECHO_T}$ac_header_compiler" >&6
29502
29503 # Is the header present?
29504 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29505 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29506 cat >conftest.$ac_ext <<_ACEOF
29507 /* confdefs.h. */
29508 _ACEOF
29509 cat confdefs.h >>conftest.$ac_ext
29510 cat >>conftest.$ac_ext <<_ACEOF
29511 /* end confdefs.h. */
29512 #include <$ac_header>
29513 _ACEOF
29514 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29515 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29516 ac_status=$?
29517 grep -v '^ *+' conftest.er1 >conftest.err
29518 rm -f conftest.er1
29519 cat conftest.err >&5
29520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29521 (exit $ac_status); } >/dev/null; then
29522 if test -s conftest.err; then
29523 ac_cpp_err=$ac_c_preproc_warn_flag
29524 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29525 else
29526 ac_cpp_err=
29527 fi
29528 else
29529 ac_cpp_err=yes
29530 fi
29531 if test -z "$ac_cpp_err"; then
29532 ac_header_preproc=yes
29533 else
29534 echo "$as_me: failed program was:" >&5
29535 sed 's/^/| /' conftest.$ac_ext >&5
29536
29537 ac_header_preproc=no
29538 fi
29539 rm -f conftest.err conftest.$ac_ext
29540 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29541 echo "${ECHO_T}$ac_header_preproc" >&6
29542
29543 # So? What about this header?
29544 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29545 yes:no: )
29546 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29547 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29548 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29549 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29550 ac_header_preproc=yes
29551 ;;
29552 no:yes:* )
29553 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29554 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29555 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29556 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29557 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29558 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29559 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29560 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29561 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29562 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29563 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29564 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29565 (
29566 cat <<\_ASBOX
29567 ## ----------------------------------------- ##
29568 ## Report this to wx-dev@lists.wxwidgets.org ##
29569 ## ----------------------------------------- ##
29570 _ASBOX
29571 ) |
29572 sed "s/^/$as_me: WARNING: /" >&2
29573 ;;
29574 esac
29575 echo "$as_me:$LINENO: checking for $ac_header" >&5
29576 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29577 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29578 echo $ECHO_N "(cached) $ECHO_C" >&6
29579 else
29580 eval "$as_ac_Header=\$ac_header_preproc"
29581 fi
29582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29583 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29584
29585 fi
29586 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29587 cat >>confdefs.h <<_ACEOF
29588 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29589 _ACEOF
29590
29591 fi
29592
29593 done
29594
29595
29596 for ac_header in X11/XKBlib.h
29597 do
29598 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29599 echo "$as_me:$LINENO: checking for $ac_header" >&5
29600 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29601 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29602 echo $ECHO_N "(cached) $ECHO_C" >&6
29603 else
29604 cat >conftest.$ac_ext <<_ACEOF
29605 /* confdefs.h. */
29606 _ACEOF
29607 cat confdefs.h >>conftest.$ac_ext
29608 cat >>conftest.$ac_ext <<_ACEOF
29609 /* end confdefs.h. */
29610
29611 #if HAVE_X11_XLIB_H
29612 #include <X11/Xlib.h>
29613 #endif
29614
29615
29616 #include <$ac_header>
29617 _ACEOF
29618 rm -f conftest.$ac_objext
29619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29620 (eval $ac_compile) 2>conftest.er1
29621 ac_status=$?
29622 grep -v '^ *+' conftest.er1 >conftest.err
29623 rm -f conftest.er1
29624 cat conftest.err >&5
29625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29626 (exit $ac_status); } &&
29627 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29629 (eval $ac_try) 2>&5
29630 ac_status=$?
29631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29632 (exit $ac_status); }; } &&
29633 { ac_try='test -s conftest.$ac_objext'
29634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29635 (eval $ac_try) 2>&5
29636 ac_status=$?
29637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29638 (exit $ac_status); }; }; then
29639 eval "$as_ac_Header=yes"
29640 else
29641 echo "$as_me: failed program was:" >&5
29642 sed 's/^/| /' conftest.$ac_ext >&5
29643
29644 eval "$as_ac_Header=no"
29645 fi
29646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29647 fi
29648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29649 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29650 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29651 cat >>confdefs.h <<_ACEOF
29652 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29653 _ACEOF
29654
29655 fi
29656
29657 done
29658
29659 fi
29660 fi
29661
29662
29663
29664 IODBC_C_SRC=""
29665
29666
29667 if test "$TOOLKIT" != "MSW" ; then
29668
29669 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
29670
29671 if test "${ac_cv_header_sql_h+set}" = set; then
29672 echo "$as_me:$LINENO: checking for sql.h" >&5
29673 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
29674 if test "${ac_cv_header_sql_h+set}" = set; then
29675 echo $ECHO_N "(cached) $ECHO_C" >&6
29676 fi
29677 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
29678 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
29679 else
29680 # Is the header compilable?
29681 echo "$as_me:$LINENO: checking sql.h usability" >&5
29682 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
29683 cat >conftest.$ac_ext <<_ACEOF
29684 /* confdefs.h. */
29685 _ACEOF
29686 cat confdefs.h >>conftest.$ac_ext
29687 cat >>conftest.$ac_ext <<_ACEOF
29688 /* end confdefs.h. */
29689 $ac_includes_default
29690 #include <sql.h>
29691 _ACEOF
29692 rm -f conftest.$ac_objext
29693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29694 (eval $ac_compile) 2>conftest.er1
29695 ac_status=$?
29696 grep -v '^ *+' conftest.er1 >conftest.err
29697 rm -f conftest.er1
29698 cat conftest.err >&5
29699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29700 (exit $ac_status); } &&
29701 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29703 (eval $ac_try) 2>&5
29704 ac_status=$?
29705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29706 (exit $ac_status); }; } &&
29707 { ac_try='test -s conftest.$ac_objext'
29708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29709 (eval $ac_try) 2>&5
29710 ac_status=$?
29711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29712 (exit $ac_status); }; }; then
29713 ac_header_compiler=yes
29714 else
29715 echo "$as_me: failed program was:" >&5
29716 sed 's/^/| /' conftest.$ac_ext >&5
29717
29718 ac_header_compiler=no
29719 fi
29720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29721 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29722 echo "${ECHO_T}$ac_header_compiler" >&6
29723
29724 # Is the header present?
29725 echo "$as_me:$LINENO: checking sql.h presence" >&5
29726 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
29727 cat >conftest.$ac_ext <<_ACEOF
29728 /* confdefs.h. */
29729 _ACEOF
29730 cat confdefs.h >>conftest.$ac_ext
29731 cat >>conftest.$ac_ext <<_ACEOF
29732 /* end confdefs.h. */
29733 #include <sql.h>
29734 _ACEOF
29735 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29736 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29737 ac_status=$?
29738 grep -v '^ *+' conftest.er1 >conftest.err
29739 rm -f conftest.er1
29740 cat conftest.err >&5
29741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29742 (exit $ac_status); } >/dev/null; then
29743 if test -s conftest.err; then
29744 ac_cpp_err=$ac_c_preproc_warn_flag
29745 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29746 else
29747 ac_cpp_err=
29748 fi
29749 else
29750 ac_cpp_err=yes
29751 fi
29752 if test -z "$ac_cpp_err"; then
29753 ac_header_preproc=yes
29754 else
29755 echo "$as_me: failed program was:" >&5
29756 sed 's/^/| /' conftest.$ac_ext >&5
29757
29758 ac_header_preproc=no
29759 fi
29760 rm -f conftest.err conftest.$ac_ext
29761 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29762 echo "${ECHO_T}$ac_header_preproc" >&6
29763
29764 # So? What about this header?
29765 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29766 yes:no: )
29767 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
29768 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29769 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
29770 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
29771 ac_header_preproc=yes
29772 ;;
29773 no:yes:* )
29774 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
29775 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
29776 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
29777 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
29778 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
29779 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
29780 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
29781 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
29782 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
29783 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
29784 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
29785 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
29786 (
29787 cat <<\_ASBOX
29788 ## ----------------------------------------- ##
29789 ## Report this to wx-dev@lists.wxwidgets.org ##
29790 ## ----------------------------------------- ##
29791 _ASBOX
29792 ) |
29793 sed "s/^/$as_me: WARNING: /" >&2
29794 ;;
29795 esac
29796 echo "$as_me:$LINENO: checking for sql.h" >&5
29797 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
29798 if test "${ac_cv_header_sql_h+set}" = set; then
29799 echo $ECHO_N "(cached) $ECHO_C" >&6
29800 else
29801 ac_cv_header_sql_h=$ac_header_preproc
29802 fi
29803 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
29804 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
29805
29806 fi
29807 if test $ac_cv_header_sql_h = yes; then
29808 found_sql_h=1
29809 fi
29810
29811
29812 if test "x$found_sql_h" = "x1" ; then
29813 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
29814 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
29815 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
29816 echo $ECHO_N "(cached) $ECHO_C" >&6
29817 else
29818 ac_check_lib_save_LIBS=$LIBS
29819 LIBS="-liodbc $LIBS"
29820 cat >conftest.$ac_ext <<_ACEOF
29821 /* confdefs.h. */
29822 _ACEOF
29823 cat confdefs.h >>conftest.$ac_ext
29824 cat >>conftest.$ac_ext <<_ACEOF
29825 /* end confdefs.h. */
29826
29827 /* Override any gcc2 internal prototype to avoid an error. */
29828 #ifdef __cplusplus
29829 extern "C"
29830 #endif
29831 /* We use char because int might match the return type of a gcc2
29832 builtin and then its argument prototype would still apply. */
29833 char SQLAllocEnv ();
29834 int
29835 main ()
29836 {
29837 SQLAllocEnv ();
29838 ;
29839 return 0;
29840 }
29841 _ACEOF
29842 rm -f conftest.$ac_objext conftest$ac_exeext
29843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29844 (eval $ac_link) 2>conftest.er1
29845 ac_status=$?
29846 grep -v '^ *+' conftest.er1 >conftest.err
29847 rm -f conftest.er1
29848 cat conftest.err >&5
29849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29850 (exit $ac_status); } &&
29851 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29853 (eval $ac_try) 2>&5
29854 ac_status=$?
29855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29856 (exit $ac_status); }; } &&
29857 { ac_try='test -s conftest$ac_exeext'
29858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29859 (eval $ac_try) 2>&5
29860 ac_status=$?
29861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29862 (exit $ac_status); }; }; then
29863 ac_cv_lib_iodbc_SQLAllocEnv=yes
29864 else
29865 echo "$as_me: failed program was:" >&5
29866 sed 's/^/| /' conftest.$ac_ext >&5
29867
29868 ac_cv_lib_iodbc_SQLAllocEnv=no
29869 fi
29870 rm -f conftest.err conftest.$ac_objext \
29871 conftest$ac_exeext conftest.$ac_ext
29872 LIBS=$ac_check_lib_save_LIBS
29873 fi
29874 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
29875 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
29876 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
29877 ODBC_LINK=" -liodbc"
29878 else
29879
29880 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
29881 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
29882 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
29883 echo $ECHO_N "(cached) $ECHO_C" >&6
29884 else
29885 ac_check_lib_save_LIBS=$LIBS
29886 LIBS="-lunixodbc $LIBS"
29887 cat >conftest.$ac_ext <<_ACEOF
29888 /* confdefs.h. */
29889 _ACEOF
29890 cat confdefs.h >>conftest.$ac_ext
29891 cat >>conftest.$ac_ext <<_ACEOF
29892 /* end confdefs.h. */
29893
29894 /* Override any gcc2 internal prototype to avoid an error. */
29895 #ifdef __cplusplus
29896 extern "C"
29897 #endif
29898 /* We use char because int might match the return type of a gcc2
29899 builtin and then its argument prototype would still apply. */
29900 char SQLAllocEnv ();
29901 int
29902 main ()
29903 {
29904 SQLAllocEnv ();
29905 ;
29906 return 0;
29907 }
29908 _ACEOF
29909 rm -f conftest.$ac_objext conftest$ac_exeext
29910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29911 (eval $ac_link) 2>conftest.er1
29912 ac_status=$?
29913 grep -v '^ *+' conftest.er1 >conftest.err
29914 rm -f conftest.er1
29915 cat conftest.err >&5
29916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29917 (exit $ac_status); } &&
29918 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29920 (eval $ac_try) 2>&5
29921 ac_status=$?
29922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29923 (exit $ac_status); }; } &&
29924 { ac_try='test -s conftest$ac_exeext'
29925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29926 (eval $ac_try) 2>&5
29927 ac_status=$?
29928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29929 (exit $ac_status); }; }; then
29930 ac_cv_lib_unixodbc_SQLAllocEnv=yes
29931 else
29932 echo "$as_me: failed program was:" >&5
29933 sed 's/^/| /' conftest.$ac_ext >&5
29934
29935 ac_cv_lib_unixodbc_SQLAllocEnv=no
29936 fi
29937 rm -f conftest.err conftest.$ac_objext \
29938 conftest$ac_exeext conftest.$ac_ext
29939 LIBS=$ac_check_lib_save_LIBS
29940 fi
29941 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
29942 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
29943 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
29944 ODBC_LINK=" -lunixodbc"
29945 else
29946
29947 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
29948 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
29949 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
29950 echo $ECHO_N "(cached) $ECHO_C" >&6
29951 else
29952 ac_check_lib_save_LIBS=$LIBS
29953 LIBS="-lodbc $LIBS"
29954 cat >conftest.$ac_ext <<_ACEOF
29955 /* confdefs.h. */
29956 _ACEOF
29957 cat confdefs.h >>conftest.$ac_ext
29958 cat >>conftest.$ac_ext <<_ACEOF
29959 /* end confdefs.h. */
29960
29961 /* Override any gcc2 internal prototype to avoid an error. */
29962 #ifdef __cplusplus
29963 extern "C"
29964 #endif
29965 /* We use char because int might match the return type of a gcc2
29966 builtin and then its argument prototype would still apply. */
29967 char SQLAllocEnv ();
29968 int
29969 main ()
29970 {
29971 SQLAllocEnv ();
29972 ;
29973 return 0;
29974 }
29975 _ACEOF
29976 rm -f conftest.$ac_objext conftest$ac_exeext
29977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29978 (eval $ac_link) 2>conftest.er1
29979 ac_status=$?
29980 grep -v '^ *+' conftest.er1 >conftest.err
29981 rm -f conftest.er1
29982 cat conftest.err >&5
29983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29984 (exit $ac_status); } &&
29985 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29987 (eval $ac_try) 2>&5
29988 ac_status=$?
29989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29990 (exit $ac_status); }; } &&
29991 { ac_try='test -s conftest$ac_exeext'
29992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29993 (eval $ac_try) 2>&5
29994 ac_status=$?
29995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29996 (exit $ac_status); }; }; then
29997 ac_cv_lib_odbc_SQLAllocEnv=yes
29998 else
29999 echo "$as_me: failed program was:" >&5
30000 sed 's/^/| /' conftest.$ac_ext >&5
30001
30002 ac_cv_lib_odbc_SQLAllocEnv=no
30003 fi
30004 rm -f conftest.err conftest.$ac_objext \
30005 conftest$ac_exeext conftest.$ac_ext
30006 LIBS=$ac_check_lib_save_LIBS
30007 fi
30008 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
30009 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
30010 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
30011 ODBC_LINK=" -lodbc"
30012 fi
30013
30014
30015 fi
30016
30017
30018 fi
30019
30020 fi
30021 if test "x$ODBC_LINK" = "x" ; then
30022 if test "$wxUSE_ODBC" = "sys" ; then
30023 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
30024 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
30025 { (exit 1); exit 1; }; }
30026 else
30027 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
30028 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
30029 wxUSE_ODBC=builtin
30030 fi
30031 else
30032 wxUSE_ODBC=sys
30033 fi
30034 fi
30035
30036 if test "$wxUSE_ODBC" = "builtin" ; then
30037 cat >>confdefs.h <<\_ACEOF
30038 #define wxUSE_BUILTIN_IODBC 1
30039 _ACEOF
30040
30041 fi
30042 fi
30043
30044 if test "$wxUSE_ODBC" != "no" ; then
30045 cat >>confdefs.h <<\_ACEOF
30046 #define wxUSE_ODBC 1
30047 _ACEOF
30048
30049 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
30050
30051 WXODBCFLAG="-D_IODBC_"
30052 fi
30053
30054
30055 if test "$wxUSE_DISPLAY" = "yes"; then
30056 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
30057 echo "$as_me:$LINENO: checking for Xinerama" >&5
30058 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
30059
30060 ac_find_libraries=
30061 for ac_dir in $SEARCH_LIB;
30062 do
30063 for ac_extension in a so sl dylib dll.a; do
30064 if test -f "$ac_dir/libXinerama.$ac_extension"; then
30065 ac_find_libraries=$ac_dir
30066 break 2
30067 fi
30068 done
30069 done
30070
30071 if test "$ac_find_libraries" != "" ; then
30072
30073 if test "$ac_find_libraries" = "default location"; then
30074 ac_path_to_link=""
30075 else
30076 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
30077 result=$?
30078 if test $result = 0; then
30079 ac_path_to_link=""
30080 else
30081 ac_path_to_link=" -L$ac_find_libraries"
30082 fi
30083 fi
30084
30085 if test "$ac_path_to_link" != " -L/usr/lib" ; then
30086 LDFLAGS="$LDFLAGS $ac_path_to_link"
30087 fi
30088 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
30089 echo "$as_me:$LINENO: result: yes" >&5
30090 echo "${ECHO_T}yes" >&6
30091
30092 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
30093 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
30094
30095 ac_find_libraries=
30096 for ac_dir in $SEARCH_LIB;
30097 do
30098 for ac_extension in a so sl dylib dll.a; do
30099 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
30100 ac_find_libraries=$ac_dir
30101 break 2
30102 fi
30103 done
30104 done
30105
30106 if test "$ac_find_libraries" != "" ; then
30107 echo "$as_me:$LINENO: result: yes" >&5
30108 echo "${ECHO_T}yes" >&6
30109
30110 for ac_header in X11/extensions/xf86vmode.h
30111 do
30112 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30113 echo "$as_me:$LINENO: checking for $ac_header" >&5
30114 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30115 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30116 echo $ECHO_N "(cached) $ECHO_C" >&6
30117 else
30118 cat >conftest.$ac_ext <<_ACEOF
30119 /* confdefs.h. */
30120 _ACEOF
30121 cat confdefs.h >>conftest.$ac_ext
30122 cat >>conftest.$ac_ext <<_ACEOF
30123 /* end confdefs.h. */
30124
30125 #if HAVE_X11_XLIB_H
30126 #include <X11/Xlib.h>
30127 #endif
30128
30129
30130 #include <$ac_header>
30131 _ACEOF
30132 rm -f conftest.$ac_objext
30133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30134 (eval $ac_compile) 2>conftest.er1
30135 ac_status=$?
30136 grep -v '^ *+' conftest.er1 >conftest.err
30137 rm -f conftest.er1
30138 cat conftest.err >&5
30139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30140 (exit $ac_status); } &&
30141 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30143 (eval $ac_try) 2>&5
30144 ac_status=$?
30145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30146 (exit $ac_status); }; } &&
30147 { ac_try='test -s conftest.$ac_objext'
30148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30149 (eval $ac_try) 2>&5
30150 ac_status=$?
30151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30152 (exit $ac_status); }; }; then
30153 eval "$as_ac_Header=yes"
30154 else
30155 echo "$as_me: failed program was:" >&5
30156 sed 's/^/| /' conftest.$ac_ext >&5
30157
30158 eval "$as_ac_Header=no"
30159 fi
30160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30161 fi
30162 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30163 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30164 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30165 cat >>confdefs.h <<_ACEOF
30166 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30167 _ACEOF
30168
30169 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
30170
30171 fi
30172
30173 done
30174
30175 else
30176 echo "$as_me:$LINENO: result: no" >&5
30177 echo "${ECHO_T}no" >&6
30178 fi
30179
30180 else
30181 echo "$as_me:$LINENO: result: no" >&5
30182 echo "${ECHO_T}no" >&6
30183 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
30184 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
30185 wxUSE_DISPLAY="no"
30186 fi
30187 elif test "$wxUSE_MSW" = 1; then
30188
30189
30190 for ac_header in multimon.h ddraw.h
30191 do
30192 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30193 echo "$as_me:$LINENO: checking for $ac_header" >&5
30194 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30195 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30196 echo $ECHO_N "(cached) $ECHO_C" >&6
30197 else
30198 cat >conftest.$ac_ext <<_ACEOF
30199 /* confdefs.h. */
30200 _ACEOF
30201 cat confdefs.h >>conftest.$ac_ext
30202 cat >>conftest.$ac_ext <<_ACEOF
30203 /* end confdefs.h. */
30204 #include <windows.h>
30205
30206 #include <$ac_header>
30207 _ACEOF
30208 rm -f conftest.$ac_objext
30209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30210 (eval $ac_compile) 2>conftest.er1
30211 ac_status=$?
30212 grep -v '^ *+' conftest.er1 >conftest.err
30213 rm -f conftest.er1
30214 cat conftest.err >&5
30215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30216 (exit $ac_status); } &&
30217 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30219 (eval $ac_try) 2>&5
30220 ac_status=$?
30221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30222 (exit $ac_status); }; } &&
30223 { ac_try='test -s conftest.$ac_objext'
30224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30225 (eval $ac_try) 2>&5
30226 ac_status=$?
30227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30228 (exit $ac_status); }; }; then
30229 eval "$as_ac_Header=yes"
30230 else
30231 echo "$as_me: failed program was:" >&5
30232 sed 's/^/| /' conftest.$ac_ext >&5
30233
30234 eval "$as_ac_Header=no"
30235 fi
30236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30237 fi
30238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30239 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30240 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30241 cat >>confdefs.h <<_ACEOF
30242 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30243 _ACEOF
30244
30245 else
30246
30247 wxUSE_DISPLAY="no"
30248 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
30249 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
30250
30251 fi
30252
30253 done
30254
30255 fi
30256 fi
30257
30258
30259 USE_OPENGL=0
30260 if test "$wxUSE_OPENGL" = "yes"; then
30261 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
30262 OPENGL_LIBS="-framework OpenGL -framework AGL"
30263 elif test "$wxUSE_MSW" = 1; then
30264 OPENGL_LIBS="-lopengl32 -lglu32"
30265 else
30266
30267
30268 ac_find_includes=
30269 for ac_dir in $SEARCH_INCLUDE /usr/include;
30270 do
30271 if test -f "$ac_dir/GL/gl.h"; then
30272 ac_find_includes=$ac_dir
30273 break
30274 fi
30275 done
30276
30277 if test "$ac_find_includes" != "" ; then
30278 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
30279 echo "${ECHO_T}found in $ac_find_includes" >&6
30280
30281 if test "x$ac_find_includes" = "x/usr/include"; then
30282 ac_path_to_include=""
30283 else
30284 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
30285 result=$?
30286 if test $result = 0; then
30287 ac_path_to_include=""
30288 else
30289 ac_path_to_include=" -I$ac_find_includes"
30290 fi
30291 fi
30292
30293 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
30294 fi
30295
30296 if test "${ac_cv_header_GL_gl_h+set}" = set; then
30297 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
30298 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
30299 if test "${ac_cv_header_GL_gl_h+set}" = set; then
30300 echo $ECHO_N "(cached) $ECHO_C" >&6
30301 fi
30302 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
30303 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
30304 else
30305 # Is the header compilable?
30306 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
30307 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
30308 cat >conftest.$ac_ext <<_ACEOF
30309 /* confdefs.h. */
30310 _ACEOF
30311 cat confdefs.h >>conftest.$ac_ext
30312 cat >>conftest.$ac_ext <<_ACEOF
30313 /* end confdefs.h. */
30314 $ac_includes_default
30315 #include <GL/gl.h>
30316 _ACEOF
30317 rm -f conftest.$ac_objext
30318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30319 (eval $ac_compile) 2>conftest.er1
30320 ac_status=$?
30321 grep -v '^ *+' conftest.er1 >conftest.err
30322 rm -f conftest.er1
30323 cat conftest.err >&5
30324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30325 (exit $ac_status); } &&
30326 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30328 (eval $ac_try) 2>&5
30329 ac_status=$?
30330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30331 (exit $ac_status); }; } &&
30332 { ac_try='test -s conftest.$ac_objext'
30333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30334 (eval $ac_try) 2>&5
30335 ac_status=$?
30336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30337 (exit $ac_status); }; }; then
30338 ac_header_compiler=yes
30339 else
30340 echo "$as_me: failed program was:" >&5
30341 sed 's/^/| /' conftest.$ac_ext >&5
30342
30343 ac_header_compiler=no
30344 fi
30345 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30346 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30347 echo "${ECHO_T}$ac_header_compiler" >&6
30348
30349 # Is the header present?
30350 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
30351 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
30352 cat >conftest.$ac_ext <<_ACEOF
30353 /* confdefs.h. */
30354 _ACEOF
30355 cat confdefs.h >>conftest.$ac_ext
30356 cat >>conftest.$ac_ext <<_ACEOF
30357 /* end confdefs.h. */
30358 #include <GL/gl.h>
30359 _ACEOF
30360 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30361 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30362 ac_status=$?
30363 grep -v '^ *+' conftest.er1 >conftest.err
30364 rm -f conftest.er1
30365 cat conftest.err >&5
30366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30367 (exit $ac_status); } >/dev/null; then
30368 if test -s conftest.err; then
30369 ac_cpp_err=$ac_c_preproc_warn_flag
30370 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30371 else
30372 ac_cpp_err=
30373 fi
30374 else
30375 ac_cpp_err=yes
30376 fi
30377 if test -z "$ac_cpp_err"; then
30378 ac_header_preproc=yes
30379 else
30380 echo "$as_me: failed program was:" >&5
30381 sed 's/^/| /' conftest.$ac_ext >&5
30382
30383 ac_header_preproc=no
30384 fi
30385 rm -f conftest.err conftest.$ac_ext
30386 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30387 echo "${ECHO_T}$ac_header_preproc" >&6
30388
30389 # So? What about this header?
30390 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30391 yes:no: )
30392 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
30393 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30394 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
30395 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
30396 ac_header_preproc=yes
30397 ;;
30398 no:yes:* )
30399 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
30400 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
30401 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
30402 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
30403 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
30404 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
30405 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
30406 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
30407 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
30408 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
30409 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
30410 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
30411 (
30412 cat <<\_ASBOX
30413 ## ----------------------------------------- ##
30414 ## Report this to wx-dev@lists.wxwidgets.org ##
30415 ## ----------------------------------------- ##
30416 _ASBOX
30417 ) |
30418 sed "s/^/$as_me: WARNING: /" >&2
30419 ;;
30420 esac
30421 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
30422 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
30423 if test "${ac_cv_header_GL_gl_h+set}" = set; then
30424 echo $ECHO_N "(cached) $ECHO_C" >&6
30425 else
30426 ac_cv_header_GL_gl_h=$ac_header_preproc
30427 fi
30428 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
30429 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
30430
30431 fi
30432 if test $ac_cv_header_GL_gl_h = yes; then
30433
30434 found_gl=0
30435
30436 echo "$as_me:$LINENO: checking for -lGL" >&5
30437 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
30438
30439 ac_find_libraries=
30440 for ac_dir in $SEARCH_LIB;
30441 do
30442 for ac_extension in a so sl dylib dll.a; do
30443 if test -f "$ac_dir/libGL.$ac_extension"; then
30444 ac_find_libraries=$ac_dir
30445 break 2
30446 fi
30447 done
30448 done
30449
30450 if test "$ac_find_libraries" != "" ; then
30451 echo "$as_me:$LINENO: result: yes" >&5
30452 echo "${ECHO_T}yes" >&6
30453
30454
30455 if test "$ac_find_libraries" = "default location"; then
30456 ac_path_to_link=""
30457 else
30458 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
30459 result=$?
30460 if test $result = 0; then
30461 ac_path_to_link=""
30462 else
30463 ac_path_to_link=" -L$ac_find_libraries"
30464 fi
30465 fi
30466
30467 if test "$ac_path_to_link" != " -L/usr/lib" ; then
30468 LDFLAGS_GL="$ac_path_to_link"
30469 fi
30470
30471 echo "$as_me:$LINENO: checking for -lGLU" >&5
30472 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
30473
30474 ac_find_libraries=
30475 for ac_dir in $SEARCH_LIB;
30476 do
30477 for ac_extension in a so sl dylib dll.a; do
30478 if test -f "$ac_dir/libGLU.$ac_extension"; then
30479 ac_find_libraries=$ac_dir
30480 break 2
30481 fi
30482 done
30483 done
30484
30485 if test "$ac_find_libraries" != "" ; then
30486
30487 if test "$ac_find_libraries" = "default location"; then
30488 ac_path_to_link=""
30489 else
30490 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
30491 result=$?
30492 if test $result = 0; then
30493 ac_path_to_link=""
30494 else
30495 ac_path_to_link=" -L$ac_find_libraries"
30496 fi
30497 fi
30498
30499 if test "$ac_path_to_link" != " -L/usr/lib" -a \
30500 "$ac_path_to_link" != "$LDFLAGS_GL"; then
30501 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
30502 fi
30503
30504 found_gl=1
30505 OPENGL_LIBS="-lGL -lGLU"
30506 echo "$as_me:$LINENO: result: yes" >&5
30507 echo "${ECHO_T}yes" >&6
30508 else
30509 echo "$as_me:$LINENO: result: no" >&5
30510 echo "${ECHO_T}no" >&6
30511 fi
30512 else
30513 echo "$as_me:$LINENO: result: no" >&5
30514 echo "${ECHO_T}no" >&6
30515 fi
30516
30517 if test "$found_gl" != 1; then
30518 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
30519 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
30520
30521 ac_find_libraries=
30522 for ac_dir in $SEARCH_LIB;
30523 do
30524 for ac_extension in a so sl dylib dll.a; do
30525 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
30526 ac_find_libraries=$ac_dir
30527 break 2
30528 fi
30529 done
30530 done
30531
30532 if test "$ac_find_libraries" != "" ; then
30533
30534 if test "$ac_find_libraries" = "default location"; then
30535 ac_path_to_link=""
30536 else
30537 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
30538 result=$?
30539 if test $result = 0; then
30540 ac_path_to_link=""
30541 else
30542 ac_path_to_link=" -L$ac_find_libraries"
30543 fi
30544 fi
30545
30546 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
30547 OPENGL_LIBS="-lMesaGL -lMesaGLU"
30548 echo "$as_me:$LINENO: result: yes" >&5
30549 echo "${ECHO_T}yes" >&6
30550 else
30551 echo "$as_me:$LINENO: result: no" >&5
30552 echo "${ECHO_T}no" >&6
30553 fi
30554 fi
30555
30556 fi
30557
30558
30559
30560 if test "x$OPENGL_LIBS" = "x"; then
30561 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
30562 echo "$as_me: error: OpenGL libraries not available" >&2;}
30563 { (exit 1); exit 1; }; }
30564 fi
30565 fi
30566
30567 if test "$wxUSE_OPENGL" = "yes"; then
30568 USE_OPENGL=1
30569 cat >>confdefs.h <<\_ACEOF
30570 #define wxUSE_OPENGL 1
30571 _ACEOF
30572
30573 cat >>confdefs.h <<\_ACEOF
30574 #define wxUSE_GLCANVAS 1
30575 _ACEOF
30576
30577 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
30578 fi
30579 fi
30580
30581
30582 if test -n "$TOOLKIT" ; then
30583 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
30584 fi
30585
30586
30587
30588 if test "$wxUSE_SHARED" = "yes"; then
30589 case "${host}" in
30590 *-pc-msdosdjgpp )
30591 wxUSE_SHARED=no
30592 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
30593 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
30594 ;;
30595 esac
30596 fi
30597
30598 if test "$wxUSE_SHARED" = "yes"; then
30599
30600
30601 found_versioning=no
30602
30603
30604 if test $found_versioning = no ; then
30605 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
30606 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
30607 if test "${wx_cv_version_script+set}" = set; then
30608 echo $ECHO_N "(cached) $ECHO_C" >&6
30609 else
30610
30611 echo "VER_1 { *; };" >conftest.sym
30612 echo "int main() { return 0; }" >conftest.cpp
30613
30614 if { ac_try='
30615 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
30616 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
30617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30618 (eval $ac_try) 2>&5
30619 ac_status=$?
30620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30621 (exit $ac_status); }; } ; then
30622 if test -s conftest.stderr ; then
30623 wx_cv_version_script=no
30624 else
30625 wx_cv_version_script=yes
30626 fi
30627 else
30628 wx_cv_version_script=no
30629 fi
30630
30631 if test $wx_cv_version_script = yes
30632 then
30633 echo "struct B { virtual ~B() { } }; \
30634 struct D : public B { }; \
30635 void F() { D d; }" > conftest.cpp
30636
30637 if { ac_try='
30638 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
30639 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
30640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30641 (eval $ac_try) 2>&5
30642 ac_status=$?
30643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30644 (exit $ac_status); }; } &&
30645 { ac_try='
30646 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
30647 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
30648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30649 (eval $ac_try) 2>&5
30650 ac_status=$?
30651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30652 (exit $ac_status); }; }
30653 then
30654 if { ac_try='
30655 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
30656 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
30657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30658 (eval $ac_try) 2>&5
30659 ac_status=$?
30660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30661 (exit $ac_status); }; }
30662 then
30663 wx_cv_version_script=yes
30664 else
30665 wx_cv_version_script=no
30666 fi
30667 fi
30668 fi
30669
30670 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
30671 rm -f conftest1.output conftest2.output conftest3.output
30672
30673 fi
30674 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
30675 echo "${ECHO_T}$wx_cv_version_script" >&6
30676 if test $wx_cv_version_script = yes ; then
30677 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
30678 fi
30679 fi
30680
30681
30682 case "${host}" in
30683 *-*-linux* | *-*-gnu* )
30684 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
30685 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
30686 ;;
30687
30688 *-*-solaris2* )
30689 if test "$GCC" = yes ; then
30690 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
30691
30692 saveLdflags="$LDFLAGS"
30693 LDFLAGS="$saveLdflags -Wl,-rpath,/"
30694 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
30695 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
30696 cat >conftest.$ac_ext <<_ACEOF
30697 /* confdefs.h. */
30698 _ACEOF
30699 cat confdefs.h >>conftest.$ac_ext
30700 cat >>conftest.$ac_ext <<_ACEOF
30701 /* end confdefs.h. */
30702
30703 int
30704 main ()
30705 {
30706
30707 ;
30708 return 0;
30709 }
30710 _ACEOF
30711 rm -f conftest.$ac_objext conftest$ac_exeext
30712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30713 (eval $ac_link) 2>conftest.er1
30714 ac_status=$?
30715 grep -v '^ *+' conftest.er1 >conftest.err
30716 rm -f conftest.er1
30717 cat conftest.err >&5
30718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30719 (exit $ac_status); } &&
30720 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30722 (eval $ac_try) 2>&5
30723 ac_status=$?
30724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30725 (exit $ac_status); }; } &&
30726 { ac_try='test -s conftest$ac_exeext'
30727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30728 (eval $ac_try) 2>&5
30729 ac_status=$?
30730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30731 (exit $ac_status); }; }; then
30732
30733 echo "$as_me:$LINENO: result: yes" >&5
30734 echo "${ECHO_T}yes" >&6
30735 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
30736 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
30737
30738 else
30739 echo "$as_me: failed program was:" >&5
30740 sed 's/^/| /' conftest.$ac_ext >&5
30741
30742
30743 echo "$as_me:$LINENO: result: no" >&5
30744 echo "${ECHO_T}no" >&6
30745 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
30746 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
30747 LDFLAGS="$saveLdflags -Wl,-R,/"
30748 cat >conftest.$ac_ext <<_ACEOF
30749 /* confdefs.h. */
30750 _ACEOF
30751 cat confdefs.h >>conftest.$ac_ext
30752 cat >>conftest.$ac_ext <<_ACEOF
30753 /* end confdefs.h. */
30754
30755 int
30756 main ()
30757 {
30758
30759 ;
30760 return 0;
30761 }
30762 _ACEOF
30763 rm -f conftest.$ac_objext conftest$ac_exeext
30764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30765 (eval $ac_link) 2>conftest.er1
30766 ac_status=$?
30767 grep -v '^ *+' conftest.er1 >conftest.err
30768 rm -f conftest.er1
30769 cat conftest.err >&5
30770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30771 (exit $ac_status); } &&
30772 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30774 (eval $ac_try) 2>&5
30775 ac_status=$?
30776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30777 (exit $ac_status); }; } &&
30778 { ac_try='test -s conftest$ac_exeext'
30779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30780 (eval $ac_try) 2>&5
30781 ac_status=$?
30782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30783 (exit $ac_status); }; }; then
30784
30785 echo "$as_me:$LINENO: result: yes" >&5
30786 echo "${ECHO_T}yes" >&6
30787 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
30788 WXCONFIG_RPATH="-Wl,-R,\$libdir"
30789
30790 else
30791 echo "$as_me: failed program was:" >&5
30792 sed 's/^/| /' conftest.$ac_ext >&5
30793
30794
30795 echo "$as_me:$LINENO: result: no" >&5
30796 echo "${ECHO_T}no" >&6
30797
30798 fi
30799 rm -f conftest.err conftest.$ac_objext \
30800 conftest$ac_exeext conftest.$ac_ext
30801
30802 fi
30803 rm -f conftest.err conftest.$ac_objext \
30804 conftest$ac_exeext conftest.$ac_ext
30805 LDFLAGS="$saveLdflags"
30806 else
30807 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
30808 WXCONFIG_RPATH="-R\$libdir"
30809 fi
30810 ;;
30811
30812 *-*-darwin* )
30813 install_name_tool=`which install_name_tool`
30814 if test "$install_name_tool" -a -x "$install_name_tool"; then
30815 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
30816 cat <<EOF >change-install-names
30817 #!/bin/sh
30818 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
30819 inst_cmd="install_name_tool "
30820 for i in \${libnames} ; do
30821 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
30822 done
30823 \${inst_cmd} \${3}
30824 EOF
30825 chmod +x change-install-names
30826 fi
30827 ;;
30828
30829 *-*-cygwin* | *-*-mingw32* )
30830 TOOLCHAIN_DLL_DEFS="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
30831 ;;
30832
30833 *-*-hpux* )
30834 SAMPLES_RPATH_FLAG="-Wl,+b,\$(top_builddir)lib"
30835 WXCONFIG_RPATH="-Wl,+b,\$libdir"
30836 ;;
30837
30838 esac
30839
30840 if test $wxUSE_RPATH = "no"; then
30841 SAMPLES_RPATH_FLAG=''
30842 SAMPLES_RPATH_POSTLINK=''
30843 WXCONFIG_RPATH=''
30844 fi
30845
30846 SHARED=1
30847
30848 else
30849
30850 config_linkage_component="-static"
30851 SHARED=0
30852
30853 fi
30854
30855
30856 UNICODE=0
30857 lib_unicode_suffix=
30858 WX_CHARTYPE="ansi"
30859 if test "$wxUSE_UNICODE" = "yes"; then
30860 lib_unicode_suffix=u
30861 WX_CHARTYPE="unicode"
30862 UNICODE=1
30863 fi
30864
30865 lib_debug_suffix=
30866 WX_DEBUGTYPE="release"
30867 DEBUG_FLAG=0
30868 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
30869 lib_debug_suffix=d
30870 WX_DEBUGTYPE="debug"
30871 DEBUG_FLAG=1
30872 fi
30873
30874 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
30875 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
30876
30877 DEBUG_INFO=0
30878 if test "$wxUSE_DEBUG_INFO" = "yes"; then
30879 DEBUG_INFO=1
30880 fi
30881
30882 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
30883
30884 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
30885
30886 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
30887
30888 if test "$cross_compiling" = "yes"; then
30889 HOST_SUFFIX="-$host_alias"
30890 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
30891 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
30892 fi
30893
30894 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
30895 if test "${TOOLKIT_DIR}" = "os2"; then
30896 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
30897 else
30898 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
30899 fi
30900
30901
30902
30903 if test "$wxUSE_COCOA" = 1; then
30904
30905
30906 ac_ext=c
30907 ac_cpp='$CPP $CPPFLAGS'
30908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30911
30912 ac_ext=m
30913
30914 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
30915 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
30916 cat >conftest.$ac_ext <<_ACEOF
30917 /* confdefs.h. */
30918 _ACEOF
30919 cat confdefs.h >>conftest.$ac_ext
30920 cat >>conftest.$ac_ext <<_ACEOF
30921 /* end confdefs.h. */
30922 #include <AppKit/NSEvent.h>
30923 #include <CoreFoundation/CoreFoundation.h>
30924
30925 int
30926 main ()
30927 {
30928
30929 ;
30930 return 0;
30931 }
30932 _ACEOF
30933 rm -f conftest.$ac_objext
30934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30935 (eval $ac_compile) 2>conftest.er1
30936 ac_status=$?
30937 grep -v '^ *+' conftest.er1 >conftest.err
30938 rm -f conftest.er1
30939 cat conftest.err >&5
30940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30941 (exit $ac_status); } &&
30942 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30944 (eval $ac_try) 2>&5
30945 ac_status=$?
30946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30947 (exit $ac_status); }; } &&
30948 { ac_try='test -s conftest.$ac_objext'
30949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30950 (eval $ac_try) 2>&5
30951 ac_status=$?
30952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30953 (exit $ac_status); }; }; then
30954 echo "$as_me:$LINENO: result: no" >&5
30955 echo "${ECHO_T}no" >&6
30956 else
30957 echo "$as_me: failed program was:" >&5
30958 sed 's/^/| /' conftest.$ac_ext >&5
30959
30960 echo "$as_me:$LINENO: result: yes" >&5
30961 echo "${ECHO_T}yes" >&6
30962 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
30963 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
30964 cat >conftest.$ac_ext <<_ACEOF
30965 /* confdefs.h. */
30966 _ACEOF
30967 cat confdefs.h >>conftest.$ac_ext
30968 cat >>conftest.$ac_ext <<_ACEOF
30969 /* end confdefs.h. */
30970 #define __Point__ 1
30971 #include <AppKit/NSEvent.h>
30972 #include <CoreFoundation/CoreFoundation.h>
30973
30974 int
30975 main ()
30976 {
30977
30978 ;
30979 return 0;
30980 }
30981 _ACEOF
30982 rm -f conftest.$ac_objext
30983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30984 (eval $ac_compile) 2>conftest.er1
30985 ac_status=$?
30986 grep -v '^ *+' conftest.er1 >conftest.err
30987 rm -f conftest.er1
30988 cat conftest.err >&5
30989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30990 (exit $ac_status); } &&
30991 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30993 (eval $ac_try) 2>&5
30994 ac_status=$?
30995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30996 (exit $ac_status); }; } &&
30997 { ac_try='test -s conftest.$ac_objext'
30998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30999 (eval $ac_try) 2>&5
31000 ac_status=$?
31001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31002 (exit $ac_status); }; }; then
31003 echo "$as_me:$LINENO: result: yes" >&5
31004 echo "${ECHO_T}yes" >&6
31005 cat >>confdefs.h <<\_ACEOF
31006 #define __Point__ 1
31007 _ACEOF
31008
31009
31010 else
31011 echo "$as_me: failed program was:" >&5
31012 sed 's/^/| /' conftest.$ac_ext >&5
31013
31014 { { echo "$as_me:$LINENO: error: no
31015 See \`config.log' for more details." >&5
31016 echo "$as_me: error: no
31017 See \`config.log' for more details." >&2;}
31018 { (exit 1); exit 1; }; }
31019
31020 fi
31021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31022
31023 fi
31024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31025 ac_ext=c
31026 ac_cpp='$CPP $CPPFLAGS'
31027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31030
31031 fi
31032
31033 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
31034 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
31035 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
31036
31037 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
31038
31039 # Extract the first word of "Rez", so it can be a program name with args.
31040 set dummy Rez; ac_word=$2
31041 echo "$as_me:$LINENO: checking for $ac_word" >&5
31042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31043 if test "${ac_cv_prog_RESCOMP+set}" = set; then
31044 echo $ECHO_N "(cached) $ECHO_C" >&6
31045 else
31046 if test -n "$RESCOMP"; then
31047 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
31048 else
31049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31050 for as_dir in $PATH
31051 do
31052 IFS=$as_save_IFS
31053 test -z "$as_dir" && as_dir=.
31054 for ac_exec_ext in '' $ac_executable_extensions; do
31055 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31056 ac_cv_prog_RESCOMP="Rez"
31057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31058 break 2
31059 fi
31060 done
31061 done
31062
31063 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
31064 fi
31065 fi
31066 RESCOMP=$ac_cv_prog_RESCOMP
31067 if test -n "$RESCOMP"; then
31068 echo "$as_me:$LINENO: result: $RESCOMP" >&5
31069 echo "${ECHO_T}$RESCOMP" >&6
31070 else
31071 echo "$as_me:$LINENO: result: no" >&5
31072 echo "${ECHO_T}no" >&6
31073 fi
31074
31075 # Extract the first word of "DeRez", so it can be a program name with args.
31076 set dummy DeRez; ac_word=$2
31077 echo "$as_me:$LINENO: checking for $ac_word" >&5
31078 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31079 if test "${ac_cv_prog_DEREZ+set}" = set; then
31080 echo $ECHO_N "(cached) $ECHO_C" >&6
31081 else
31082 if test -n "$DEREZ"; then
31083 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
31084 else
31085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31086 for as_dir in $PATH
31087 do
31088 IFS=$as_save_IFS
31089 test -z "$as_dir" && as_dir=.
31090 for ac_exec_ext in '' $ac_executable_extensions; do
31091 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31092 ac_cv_prog_DEREZ="DeRez"
31093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31094 break 2
31095 fi
31096 done
31097 done
31098
31099 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
31100 fi
31101 fi
31102 DEREZ=$ac_cv_prog_DEREZ
31103 if test -n "$DEREZ"; then
31104 echo "$as_me:$LINENO: result: $DEREZ" >&5
31105 echo "${ECHO_T}$DEREZ" >&6
31106 else
31107 echo "$as_me:$LINENO: result: no" >&5
31108 echo "${ECHO_T}no" >&6
31109 fi
31110
31111 # Extract the first word of "SetFile", so it can be a program name with args.
31112 set dummy SetFile; ac_word=$2
31113 echo "$as_me:$LINENO: checking for $ac_word" >&5
31114 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31115 if test "${ac_cv_prog_SETFILE+set}" = set; then
31116 echo $ECHO_N "(cached) $ECHO_C" >&6
31117 else
31118 if test -n "$SETFILE"; then
31119 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
31120 else
31121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31122 for as_dir in $PATH
31123 do
31124 IFS=$as_save_IFS
31125 test -z "$as_dir" && as_dir=.
31126 for ac_exec_ext in '' $ac_executable_extensions; do
31127 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31128 ac_cv_prog_SETFILE="SetFile"
31129 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31130 break 2
31131 fi
31132 done
31133 done
31134
31135 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
31136 fi
31137 fi
31138 SETFILE=$ac_cv_prog_SETFILE
31139 if test -n "$SETFILE"; then
31140 echo "$as_me:$LINENO: result: $SETFILE" >&5
31141 echo "${ECHO_T}$SETFILE" >&6
31142 else
31143 echo "$as_me:$LINENO: result: no" >&5
31144 echo "${ECHO_T}no" >&6
31145 fi
31146
31147
31148 MACSETFILE="\$(SETFILE)"
31149
31150 if test "$wxUSE_MAC" = 1; then
31151 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r -o"
31152
31153 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r -o"
31154 else
31155 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
31156 MACRESWXCONFIG="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
31157 fi
31158 else
31159 MACSETFILE="@true"
31160 MACRESWXCONFIG="@true"
31161
31162 if test "$wxUSE_PM" = 1; then
31163 MACRESCOMP="emxbind -ep"
31164 else
31165 MACRESCOMP="@true"
31166 fi
31167 fi
31168
31169
31170
31171 echo "$as_me:$LINENO: checking for mode_t" >&5
31172 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
31173 if test "${ac_cv_type_mode_t+set}" = set; then
31174 echo $ECHO_N "(cached) $ECHO_C" >&6
31175 else
31176 cat >conftest.$ac_ext <<_ACEOF
31177 /* confdefs.h. */
31178 _ACEOF
31179 cat confdefs.h >>conftest.$ac_ext
31180 cat >>conftest.$ac_ext <<_ACEOF
31181 /* end confdefs.h. */
31182 $ac_includes_default
31183 int
31184 main ()
31185 {
31186 if ((mode_t *) 0)
31187 return 0;
31188 if (sizeof (mode_t))
31189 return 0;
31190 ;
31191 return 0;
31192 }
31193 _ACEOF
31194 rm -f conftest.$ac_objext
31195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31196 (eval $ac_compile) 2>conftest.er1
31197 ac_status=$?
31198 grep -v '^ *+' conftest.er1 >conftest.err
31199 rm -f conftest.er1
31200 cat conftest.err >&5
31201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31202 (exit $ac_status); } &&
31203 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31205 (eval $ac_try) 2>&5
31206 ac_status=$?
31207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31208 (exit $ac_status); }; } &&
31209 { ac_try='test -s conftest.$ac_objext'
31210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31211 (eval $ac_try) 2>&5
31212 ac_status=$?
31213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31214 (exit $ac_status); }; }; then
31215 ac_cv_type_mode_t=yes
31216 else
31217 echo "$as_me: failed program was:" >&5
31218 sed 's/^/| /' conftest.$ac_ext >&5
31219
31220 ac_cv_type_mode_t=no
31221 fi
31222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31223 fi
31224 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
31225 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
31226 if test $ac_cv_type_mode_t = yes; then
31227 :
31228 else
31229
31230 cat >>confdefs.h <<_ACEOF
31231 #define mode_t int
31232 _ACEOF
31233
31234 fi
31235
31236 echo "$as_me:$LINENO: checking for off_t" >&5
31237 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
31238 if test "${ac_cv_type_off_t+set}" = set; then
31239 echo $ECHO_N "(cached) $ECHO_C" >&6
31240 else
31241 cat >conftest.$ac_ext <<_ACEOF
31242 /* confdefs.h. */
31243 _ACEOF
31244 cat confdefs.h >>conftest.$ac_ext
31245 cat >>conftest.$ac_ext <<_ACEOF
31246 /* end confdefs.h. */
31247 $ac_includes_default
31248 int
31249 main ()
31250 {
31251 if ((off_t *) 0)
31252 return 0;
31253 if (sizeof (off_t))
31254 return 0;
31255 ;
31256 return 0;
31257 }
31258 _ACEOF
31259 rm -f conftest.$ac_objext
31260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31261 (eval $ac_compile) 2>conftest.er1
31262 ac_status=$?
31263 grep -v '^ *+' conftest.er1 >conftest.err
31264 rm -f conftest.er1
31265 cat conftest.err >&5
31266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31267 (exit $ac_status); } &&
31268 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31270 (eval $ac_try) 2>&5
31271 ac_status=$?
31272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31273 (exit $ac_status); }; } &&
31274 { ac_try='test -s conftest.$ac_objext'
31275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31276 (eval $ac_try) 2>&5
31277 ac_status=$?
31278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31279 (exit $ac_status); }; }; then
31280 ac_cv_type_off_t=yes
31281 else
31282 echo "$as_me: failed program was:" >&5
31283 sed 's/^/| /' conftest.$ac_ext >&5
31284
31285 ac_cv_type_off_t=no
31286 fi
31287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31288 fi
31289 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
31290 echo "${ECHO_T}$ac_cv_type_off_t" >&6
31291 if test $ac_cv_type_off_t = yes; then
31292 :
31293 else
31294
31295 cat >>confdefs.h <<_ACEOF
31296 #define off_t long
31297 _ACEOF
31298
31299 fi
31300
31301 echo "$as_me:$LINENO: checking for pid_t" >&5
31302 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
31303 if test "${ac_cv_type_pid_t+set}" = set; then
31304 echo $ECHO_N "(cached) $ECHO_C" >&6
31305 else
31306 cat >conftest.$ac_ext <<_ACEOF
31307 /* confdefs.h. */
31308 _ACEOF
31309 cat confdefs.h >>conftest.$ac_ext
31310 cat >>conftest.$ac_ext <<_ACEOF
31311 /* end confdefs.h. */
31312 $ac_includes_default
31313 int
31314 main ()
31315 {
31316 if ((pid_t *) 0)
31317 return 0;
31318 if (sizeof (pid_t))
31319 return 0;
31320 ;
31321 return 0;
31322 }
31323 _ACEOF
31324 rm -f conftest.$ac_objext
31325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31326 (eval $ac_compile) 2>conftest.er1
31327 ac_status=$?
31328 grep -v '^ *+' conftest.er1 >conftest.err
31329 rm -f conftest.er1
31330 cat conftest.err >&5
31331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31332 (exit $ac_status); } &&
31333 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31335 (eval $ac_try) 2>&5
31336 ac_status=$?
31337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31338 (exit $ac_status); }; } &&
31339 { ac_try='test -s conftest.$ac_objext'
31340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31341 (eval $ac_try) 2>&5
31342 ac_status=$?
31343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31344 (exit $ac_status); }; }; then
31345 ac_cv_type_pid_t=yes
31346 else
31347 echo "$as_me: failed program was:" >&5
31348 sed 's/^/| /' conftest.$ac_ext >&5
31349
31350 ac_cv_type_pid_t=no
31351 fi
31352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31353 fi
31354 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
31355 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
31356 if test $ac_cv_type_pid_t = yes; then
31357 :
31358 else
31359
31360 cat >>confdefs.h <<_ACEOF
31361 #define pid_t int
31362 _ACEOF
31363
31364 fi
31365
31366 echo "$as_me:$LINENO: checking for size_t" >&5
31367 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
31368 if test "${ac_cv_type_size_t+set}" = set; then
31369 echo $ECHO_N "(cached) $ECHO_C" >&6
31370 else
31371 cat >conftest.$ac_ext <<_ACEOF
31372 /* confdefs.h. */
31373 _ACEOF
31374 cat confdefs.h >>conftest.$ac_ext
31375 cat >>conftest.$ac_ext <<_ACEOF
31376 /* end confdefs.h. */
31377 $ac_includes_default
31378 int
31379 main ()
31380 {
31381 if ((size_t *) 0)
31382 return 0;
31383 if (sizeof (size_t))
31384 return 0;
31385 ;
31386 return 0;
31387 }
31388 _ACEOF
31389 rm -f conftest.$ac_objext
31390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31391 (eval $ac_compile) 2>conftest.er1
31392 ac_status=$?
31393 grep -v '^ *+' conftest.er1 >conftest.err
31394 rm -f conftest.er1
31395 cat conftest.err >&5
31396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31397 (exit $ac_status); } &&
31398 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31400 (eval $ac_try) 2>&5
31401 ac_status=$?
31402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31403 (exit $ac_status); }; } &&
31404 { ac_try='test -s conftest.$ac_objext'
31405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31406 (eval $ac_try) 2>&5
31407 ac_status=$?
31408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31409 (exit $ac_status); }; }; then
31410 ac_cv_type_size_t=yes
31411 else
31412 echo "$as_me: failed program was:" >&5
31413 sed 's/^/| /' conftest.$ac_ext >&5
31414
31415 ac_cv_type_size_t=no
31416 fi
31417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31418 fi
31419 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
31420 echo "${ECHO_T}$ac_cv_type_size_t" >&6
31421 if test $ac_cv_type_size_t = yes; then
31422 :
31423 else
31424
31425 cat >>confdefs.h <<_ACEOF
31426 #define size_t unsigned
31427 _ACEOF
31428
31429 fi
31430
31431 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
31432 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
31433 if test "${ac_cv_type_uid_t+set}" = set; then
31434 echo $ECHO_N "(cached) $ECHO_C" >&6
31435 else
31436 cat >conftest.$ac_ext <<_ACEOF
31437 /* confdefs.h. */
31438 _ACEOF
31439 cat confdefs.h >>conftest.$ac_ext
31440 cat >>conftest.$ac_ext <<_ACEOF
31441 /* end confdefs.h. */
31442 #include <sys/types.h>
31443
31444 _ACEOF
31445 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
31446 $EGREP "uid_t" >/dev/null 2>&1; then
31447 ac_cv_type_uid_t=yes
31448 else
31449 ac_cv_type_uid_t=no
31450 fi
31451 rm -f conftest*
31452
31453 fi
31454 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
31455 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
31456 if test $ac_cv_type_uid_t = no; then
31457
31458 cat >>confdefs.h <<\_ACEOF
31459 #define uid_t int
31460 _ACEOF
31461
31462
31463 cat >>confdefs.h <<\_ACEOF
31464 #define gid_t int
31465 _ACEOF
31466
31467 fi
31468
31469
31470 echo "$as_me:$LINENO: checking for ssize_t" >&5
31471 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
31472 if test "${ac_cv_type_ssize_t+set}" = set; then
31473 echo $ECHO_N "(cached) $ECHO_C" >&6
31474 else
31475 cat >conftest.$ac_ext <<_ACEOF
31476 /* confdefs.h. */
31477 _ACEOF
31478 cat confdefs.h >>conftest.$ac_ext
31479 cat >>conftest.$ac_ext <<_ACEOF
31480 /* end confdefs.h. */
31481 $ac_includes_default
31482 int
31483 main ()
31484 {
31485 if ((ssize_t *) 0)
31486 return 0;
31487 if (sizeof (ssize_t))
31488 return 0;
31489 ;
31490 return 0;
31491 }
31492 _ACEOF
31493 rm -f conftest.$ac_objext
31494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31495 (eval $ac_compile) 2>conftest.er1
31496 ac_status=$?
31497 grep -v '^ *+' conftest.er1 >conftest.err
31498 rm -f conftest.er1
31499 cat conftest.err >&5
31500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31501 (exit $ac_status); } &&
31502 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31504 (eval $ac_try) 2>&5
31505 ac_status=$?
31506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31507 (exit $ac_status); }; } &&
31508 { ac_try='test -s conftest.$ac_objext'
31509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31510 (eval $ac_try) 2>&5
31511 ac_status=$?
31512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31513 (exit $ac_status); }; }; then
31514 ac_cv_type_ssize_t=yes
31515 else
31516 echo "$as_me: failed program was:" >&5
31517 sed 's/^/| /' conftest.$ac_ext >&5
31518
31519 ac_cv_type_ssize_t=no
31520 fi
31521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31522 fi
31523 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
31524 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
31525 if test $ac_cv_type_ssize_t = yes; then
31526
31527 cat >>confdefs.h <<_ACEOF
31528 #define HAVE_SSIZE_T 1
31529 _ACEOF
31530
31531
31532 fi
31533
31534
31535
31536
31537 ac_ext=cc
31538 ac_cpp='$CXXCPP $CPPFLAGS'
31539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31542
31543 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
31544 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
31545 if test "${wx_cv_size_t_is_uint+set}" = set; then
31546 echo $ECHO_N "(cached) $ECHO_C" >&6
31547 else
31548
31549 cat >conftest.$ac_ext <<_ACEOF
31550 /* confdefs.h. */
31551 _ACEOF
31552 cat confdefs.h >>conftest.$ac_ext
31553 cat >>conftest.$ac_ext <<_ACEOF
31554 /* end confdefs.h. */
31555 #include <stddef.h>
31556 int
31557 main ()
31558 {
31559
31560 return 0; }
31561
31562 struct Foo { void foo(size_t); void foo(unsigned int); };
31563
31564 int bar() {
31565
31566 ;
31567 return 0;
31568 }
31569 _ACEOF
31570 rm -f conftest.$ac_objext
31571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31572 (eval $ac_compile) 2>conftest.er1
31573 ac_status=$?
31574 grep -v '^ *+' conftest.er1 >conftest.err
31575 rm -f conftest.er1
31576 cat conftest.err >&5
31577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31578 (exit $ac_status); } &&
31579 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31581 (eval $ac_try) 2>&5
31582 ac_status=$?
31583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31584 (exit $ac_status); }; } &&
31585 { ac_try='test -s conftest.$ac_objext'
31586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31587 (eval $ac_try) 2>&5
31588 ac_status=$?
31589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31590 (exit $ac_status); }; }; then
31591 wx_cv_size_t_is_uint=no
31592 else
31593 echo "$as_me: failed program was:" >&5
31594 sed 's/^/| /' conftest.$ac_ext >&5
31595
31596 wx_cv_size_t_is_uint=yes
31597
31598 fi
31599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31600
31601
31602 fi
31603 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
31604 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
31605
31606 if test "$wx_cv_size_t_is_uint" = "yes"; then
31607 cat >>confdefs.h <<\_ACEOF
31608 #define wxSIZE_T_IS_UINT 1
31609 _ACEOF
31610
31611 else
31612 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
31613 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
31614 if test "${wx_cv_size_t_is_ulong+set}" = set; then
31615 echo $ECHO_N "(cached) $ECHO_C" >&6
31616 else
31617 cat >conftest.$ac_ext <<_ACEOF
31618 /* confdefs.h. */
31619 _ACEOF
31620 cat confdefs.h >>conftest.$ac_ext
31621 cat >>conftest.$ac_ext <<_ACEOF
31622 /* end confdefs.h. */
31623 #include <stddef.h>
31624 int
31625 main ()
31626 {
31627
31628 return 0; }
31629
31630 struct Foo { void foo(size_t); void foo(unsigned long); };
31631
31632 int bar() {
31633
31634 ;
31635 return 0;
31636 }
31637 _ACEOF
31638 rm -f conftest.$ac_objext
31639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31640 (eval $ac_compile) 2>conftest.er1
31641 ac_status=$?
31642 grep -v '^ *+' conftest.er1 >conftest.err
31643 rm -f conftest.er1
31644 cat conftest.err >&5
31645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31646 (exit $ac_status); } &&
31647 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31649 (eval $ac_try) 2>&5
31650 ac_status=$?
31651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31652 (exit $ac_status); }; } &&
31653 { ac_try='test -s conftest.$ac_objext'
31654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31655 (eval $ac_try) 2>&5
31656 ac_status=$?
31657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31658 (exit $ac_status); }; }; then
31659 wx_cv_size_t_is_ulong=no
31660 else
31661 echo "$as_me: failed program was:" >&5
31662 sed 's/^/| /' conftest.$ac_ext >&5
31663
31664 wx_cv_size_t_is_ulong=yes
31665
31666 fi
31667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31668
31669 fi
31670 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
31671 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
31672
31673 if test "$wx_cv_size_t_is_ulong" = "yes"; then
31674 cat >>confdefs.h <<\_ACEOF
31675 #define wxSIZE_T_IS_ULONG 1
31676 _ACEOF
31677
31678 fi
31679 fi
31680
31681 ac_ext=c
31682 ac_cpp='$CPP $CPPFLAGS'
31683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31686
31687
31688
31689 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
31690 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
31691 if test "${wx_cv_struct_pw_gecos+set}" = set; then
31692 echo $ECHO_N "(cached) $ECHO_C" >&6
31693 else
31694
31695 cat >conftest.$ac_ext <<_ACEOF
31696 /* confdefs.h. */
31697 _ACEOF
31698 cat confdefs.h >>conftest.$ac_ext
31699 cat >>conftest.$ac_ext <<_ACEOF
31700 /* end confdefs.h. */
31701 #include <pwd.h>
31702 int
31703 main ()
31704 {
31705
31706 char *p;
31707 struct passwd *pw;
31708 p = pw->pw_gecos;
31709
31710 ;
31711 return 0;
31712 }
31713 _ACEOF
31714 rm -f conftest.$ac_objext
31715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31716 (eval $ac_compile) 2>conftest.er1
31717 ac_status=$?
31718 grep -v '^ *+' conftest.er1 >conftest.err
31719 rm -f conftest.er1
31720 cat conftest.err >&5
31721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31722 (exit $ac_status); } &&
31723 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31725 (eval $ac_try) 2>&5
31726 ac_status=$?
31727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31728 (exit $ac_status); }; } &&
31729 { ac_try='test -s conftest.$ac_objext'
31730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31731 (eval $ac_try) 2>&5
31732 ac_status=$?
31733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31734 (exit $ac_status); }; }; then
31735
31736 wx_cv_struct_pw_gecos=yes
31737
31738 else
31739 echo "$as_me: failed program was:" >&5
31740 sed 's/^/| /' conftest.$ac_ext >&5
31741
31742
31743 wx_cv_struct_pw_gecos=no
31744
31745
31746 fi
31747 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31748
31749
31750 fi
31751 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
31752 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
31753
31754 if test "$wx_cv_struct_pw_gecos" = "yes"; then
31755 cat >>confdefs.h <<\_ACEOF
31756 #define HAVE_PW_GECOS 1
31757 _ACEOF
31758
31759 fi
31760
31761
31762 if test "$wxUSE_WCHAR_T" = "yes"; then
31763 cat >>confdefs.h <<\_ACEOF
31764 #define wxUSE_WCHAR_T 1
31765 _ACEOF
31766
31767
31768 WCSLEN_FOUND=0
31769 WCHAR_LINK=
31770
31771 for ac_func in wcslen
31772 do
31773 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31774 echo "$as_me:$LINENO: checking for $ac_func" >&5
31775 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31776 if eval "test \"\${$as_ac_var+set}\" = set"; then
31777 echo $ECHO_N "(cached) $ECHO_C" >&6
31778 else
31779 cat >conftest.$ac_ext <<_ACEOF
31780 /* confdefs.h. */
31781 _ACEOF
31782 cat confdefs.h >>conftest.$ac_ext
31783 cat >>conftest.$ac_ext <<_ACEOF
31784 /* end confdefs.h. */
31785 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31786 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31787 #define $ac_func innocuous_$ac_func
31788
31789 /* System header to define __stub macros and hopefully few prototypes,
31790 which can conflict with char $ac_func (); below.
31791 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31792 <limits.h> exists even on freestanding compilers. */
31793
31794 #ifdef __STDC__
31795 # include <limits.h>
31796 #else
31797 # include <assert.h>
31798 #endif
31799
31800 #undef $ac_func
31801
31802 /* Override any gcc2 internal prototype to avoid an error. */
31803 #ifdef __cplusplus
31804 extern "C"
31805 {
31806 #endif
31807 /* We use char because int might match the return type of a gcc2
31808 builtin and then its argument prototype would still apply. */
31809 char $ac_func ();
31810 /* The GNU C library defines this for functions which it implements
31811 to always fail with ENOSYS. Some functions are actually named
31812 something starting with __ and the normal name is an alias. */
31813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31814 choke me
31815 #else
31816 char (*f) () = $ac_func;
31817 #endif
31818 #ifdef __cplusplus
31819 }
31820 #endif
31821
31822 int
31823 main ()
31824 {
31825 return f != $ac_func;
31826 ;
31827 return 0;
31828 }
31829 _ACEOF
31830 rm -f conftest.$ac_objext conftest$ac_exeext
31831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31832 (eval $ac_link) 2>conftest.er1
31833 ac_status=$?
31834 grep -v '^ *+' conftest.er1 >conftest.err
31835 rm -f conftest.er1
31836 cat conftest.err >&5
31837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31838 (exit $ac_status); } &&
31839 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31841 (eval $ac_try) 2>&5
31842 ac_status=$?
31843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31844 (exit $ac_status); }; } &&
31845 { ac_try='test -s conftest$ac_exeext'
31846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31847 (eval $ac_try) 2>&5
31848 ac_status=$?
31849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31850 (exit $ac_status); }; }; then
31851 eval "$as_ac_var=yes"
31852 else
31853 echo "$as_me: failed program was:" >&5
31854 sed 's/^/| /' conftest.$ac_ext >&5
31855
31856 eval "$as_ac_var=no"
31857 fi
31858 rm -f conftest.err conftest.$ac_objext \
31859 conftest$ac_exeext conftest.$ac_ext
31860 fi
31861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31862 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31863 if test `eval echo '${'$as_ac_var'}'` = yes; then
31864 cat >>confdefs.h <<_ACEOF
31865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31866 _ACEOF
31867 WCSLEN_FOUND=1
31868 fi
31869 done
31870
31871
31872 if test "$WCSLEN_FOUND" = 0; then
31873 if test "$TOOLKIT" = "MSW"; then
31874 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
31875 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
31876 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
31877 echo $ECHO_N "(cached) $ECHO_C" >&6
31878 else
31879 ac_check_lib_save_LIBS=$LIBS
31880 LIBS="-lmsvcrt $LIBS"
31881 cat >conftest.$ac_ext <<_ACEOF
31882 /* confdefs.h. */
31883 _ACEOF
31884 cat confdefs.h >>conftest.$ac_ext
31885 cat >>conftest.$ac_ext <<_ACEOF
31886 /* end confdefs.h. */
31887
31888 /* Override any gcc2 internal prototype to avoid an error. */
31889 #ifdef __cplusplus
31890 extern "C"
31891 #endif
31892 /* We use char because int might match the return type of a gcc2
31893 builtin and then its argument prototype would still apply. */
31894 char wcslen ();
31895 int
31896 main ()
31897 {
31898 wcslen ();
31899 ;
31900 return 0;
31901 }
31902 _ACEOF
31903 rm -f conftest.$ac_objext conftest$ac_exeext
31904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31905 (eval $ac_link) 2>conftest.er1
31906 ac_status=$?
31907 grep -v '^ *+' conftest.er1 >conftest.err
31908 rm -f conftest.er1
31909 cat conftest.err >&5
31910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31911 (exit $ac_status); } &&
31912 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31914 (eval $ac_try) 2>&5
31915 ac_status=$?
31916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31917 (exit $ac_status); }; } &&
31918 { ac_try='test -s conftest$ac_exeext'
31919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31920 (eval $ac_try) 2>&5
31921 ac_status=$?
31922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31923 (exit $ac_status); }; }; then
31924 ac_cv_lib_msvcrt_wcslen=yes
31925 else
31926 echo "$as_me: failed program was:" >&5
31927 sed 's/^/| /' conftest.$ac_ext >&5
31928
31929 ac_cv_lib_msvcrt_wcslen=no
31930 fi
31931 rm -f conftest.err conftest.$ac_objext \
31932 conftest$ac_exeext conftest.$ac_ext
31933 LIBS=$ac_check_lib_save_LIBS
31934 fi
31935 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
31936 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
31937 if test $ac_cv_lib_msvcrt_wcslen = yes; then
31938 WCHAR_OK=1
31939 fi
31940
31941 else
31942 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
31943 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
31944 if test "${ac_cv_lib_w_wcslen+set}" = set; then
31945 echo $ECHO_N "(cached) $ECHO_C" >&6
31946 else
31947 ac_check_lib_save_LIBS=$LIBS
31948 LIBS="-lw $LIBS"
31949 cat >conftest.$ac_ext <<_ACEOF
31950 /* confdefs.h. */
31951 _ACEOF
31952 cat confdefs.h >>conftest.$ac_ext
31953 cat >>conftest.$ac_ext <<_ACEOF
31954 /* end confdefs.h. */
31955
31956 /* Override any gcc2 internal prototype to avoid an error. */
31957 #ifdef __cplusplus
31958 extern "C"
31959 #endif
31960 /* We use char because int might match the return type of a gcc2
31961 builtin and then its argument prototype would still apply. */
31962 char wcslen ();
31963 int
31964 main ()
31965 {
31966 wcslen ();
31967 ;
31968 return 0;
31969 }
31970 _ACEOF
31971 rm -f conftest.$ac_objext conftest$ac_exeext
31972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31973 (eval $ac_link) 2>conftest.er1
31974 ac_status=$?
31975 grep -v '^ *+' conftest.er1 >conftest.err
31976 rm -f conftest.er1
31977 cat conftest.err >&5
31978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31979 (exit $ac_status); } &&
31980 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31982 (eval $ac_try) 2>&5
31983 ac_status=$?
31984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31985 (exit $ac_status); }; } &&
31986 { ac_try='test -s conftest$ac_exeext'
31987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31988 (eval $ac_try) 2>&5
31989 ac_status=$?
31990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31991 (exit $ac_status); }; }; then
31992 ac_cv_lib_w_wcslen=yes
31993 else
31994 echo "$as_me: failed program was:" >&5
31995 sed 's/^/| /' conftest.$ac_ext >&5
31996
31997 ac_cv_lib_w_wcslen=no
31998 fi
31999 rm -f conftest.err conftest.$ac_objext \
32000 conftest$ac_exeext conftest.$ac_ext
32001 LIBS=$ac_check_lib_save_LIBS
32002 fi
32003 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
32004 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
32005 if test $ac_cv_lib_w_wcslen = yes; then
32006
32007 WCHAR_LINK=" -lw"
32008 WCSLEN_FOUND=1
32009
32010 fi
32011
32012 fi
32013 fi
32014
32015 if test "$WCSLEN_FOUND" = 1; then
32016 cat >>confdefs.h <<\_ACEOF
32017 #define HAVE_WCSLEN 1
32018 _ACEOF
32019
32020 fi
32021
32022 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
32023 CPPFLAGS="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
32024 fi
32025
32026 echo "$as_me:$LINENO: checking for mbstate_t" >&5
32027 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
32028 if test "${ac_cv_type_mbstate_t+set}" = set; then
32029 echo $ECHO_N "(cached) $ECHO_C" >&6
32030 else
32031 cat >conftest.$ac_ext <<_ACEOF
32032 /* confdefs.h. */
32033 _ACEOF
32034 cat confdefs.h >>conftest.$ac_ext
32035 cat >>conftest.$ac_ext <<_ACEOF
32036 /* end confdefs.h. */
32037 #include <wchar.h>
32038
32039 int
32040 main ()
32041 {
32042 if ((mbstate_t *) 0)
32043 return 0;
32044 if (sizeof (mbstate_t))
32045 return 0;
32046 ;
32047 return 0;
32048 }
32049 _ACEOF
32050 rm -f conftest.$ac_objext
32051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32052 (eval $ac_compile) 2>conftest.er1
32053 ac_status=$?
32054 grep -v '^ *+' conftest.er1 >conftest.err
32055 rm -f conftest.er1
32056 cat conftest.err >&5
32057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32058 (exit $ac_status); } &&
32059 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32061 (eval $ac_try) 2>&5
32062 ac_status=$?
32063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32064 (exit $ac_status); }; } &&
32065 { ac_try='test -s conftest.$ac_objext'
32066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32067 (eval $ac_try) 2>&5
32068 ac_status=$?
32069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32070 (exit $ac_status); }; }; then
32071 ac_cv_type_mbstate_t=yes
32072 else
32073 echo "$as_me: failed program was:" >&5
32074 sed 's/^/| /' conftest.$ac_ext >&5
32075
32076 ac_cv_type_mbstate_t=no
32077 fi
32078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32079 fi
32080 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
32081 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
32082 if test $ac_cv_type_mbstate_t = yes; then
32083
32084 cat >>confdefs.h <<_ACEOF
32085 #define HAVE_MBSTATE_T 1
32086 _ACEOF
32087
32088
32089 for ac_func in wcsrtombs
32090 do
32091 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32092 echo "$as_me:$LINENO: checking for $ac_func" >&5
32093 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32094 if eval "test \"\${$as_ac_var+set}\" = set"; then
32095 echo $ECHO_N "(cached) $ECHO_C" >&6
32096 else
32097 cat >conftest.$ac_ext <<_ACEOF
32098 /* confdefs.h. */
32099 _ACEOF
32100 cat confdefs.h >>conftest.$ac_ext
32101 cat >>conftest.$ac_ext <<_ACEOF
32102 /* end confdefs.h. */
32103 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32104 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32105 #define $ac_func innocuous_$ac_func
32106
32107 /* System header to define __stub macros and hopefully few prototypes,
32108 which can conflict with char $ac_func (); below.
32109 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32110 <limits.h> exists even on freestanding compilers. */
32111
32112 #ifdef __STDC__
32113 # include <limits.h>
32114 #else
32115 # include <assert.h>
32116 #endif
32117
32118 #undef $ac_func
32119
32120 /* Override any gcc2 internal prototype to avoid an error. */
32121 #ifdef __cplusplus
32122 extern "C"
32123 {
32124 #endif
32125 /* We use char because int might match the return type of a gcc2
32126 builtin and then its argument prototype would still apply. */
32127 char $ac_func ();
32128 /* The GNU C library defines this for functions which it implements
32129 to always fail with ENOSYS. Some functions are actually named
32130 something starting with __ and the normal name is an alias. */
32131 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32132 choke me
32133 #else
32134 char (*f) () = $ac_func;
32135 #endif
32136 #ifdef __cplusplus
32137 }
32138 #endif
32139
32140 int
32141 main ()
32142 {
32143 return f != $ac_func;
32144 ;
32145 return 0;
32146 }
32147 _ACEOF
32148 rm -f conftest.$ac_objext conftest$ac_exeext
32149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32150 (eval $ac_link) 2>conftest.er1
32151 ac_status=$?
32152 grep -v '^ *+' conftest.er1 >conftest.err
32153 rm -f conftest.er1
32154 cat conftest.err >&5
32155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32156 (exit $ac_status); } &&
32157 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32159 (eval $ac_try) 2>&5
32160 ac_status=$?
32161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32162 (exit $ac_status); }; } &&
32163 { ac_try='test -s conftest$ac_exeext'
32164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32165 (eval $ac_try) 2>&5
32166 ac_status=$?
32167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32168 (exit $ac_status); }; }; then
32169 eval "$as_ac_var=yes"
32170 else
32171 echo "$as_me: failed program was:" >&5
32172 sed 's/^/| /' conftest.$ac_ext >&5
32173
32174 eval "$as_ac_var=no"
32175 fi
32176 rm -f conftest.err conftest.$ac_objext \
32177 conftest$ac_exeext conftest.$ac_ext
32178 fi
32179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32180 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32181 if test `eval echo '${'$as_ac_var'}'` = yes; then
32182 cat >>confdefs.h <<_ACEOF
32183 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32184 _ACEOF
32185
32186 fi
32187 done
32188
32189 fi
32190
32191 else
32192 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
32193 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
32194 fi
32195
32196
32197
32198 ac_ext=cc
32199 ac_cpp='$CXXCPP $CPPFLAGS'
32200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32203
32204
32205
32206
32207 for ac_func in snprintf vsnprintf
32208 do
32209 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32210 echo "$as_me:$LINENO: checking for $ac_func" >&5
32211 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32212 if eval "test \"\${$as_ac_var+set}\" = set"; then
32213 echo $ECHO_N "(cached) $ECHO_C" >&6
32214 else
32215 cat >conftest.$ac_ext <<_ACEOF
32216 /* confdefs.h. */
32217 _ACEOF
32218 cat confdefs.h >>conftest.$ac_ext
32219 cat >>conftest.$ac_ext <<_ACEOF
32220 /* end confdefs.h. */
32221 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32222 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32223 #define $ac_func innocuous_$ac_func
32224
32225 /* System header to define __stub macros and hopefully few prototypes,
32226 which can conflict with char $ac_func (); below.
32227 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32228 <limits.h> exists even on freestanding compilers. */
32229
32230 #ifdef __STDC__
32231 # include <limits.h>
32232 #else
32233 # include <assert.h>
32234 #endif
32235
32236 #undef $ac_func
32237
32238 /* Override any gcc2 internal prototype to avoid an error. */
32239 #ifdef __cplusplus
32240 extern "C"
32241 {
32242 #endif
32243 /* We use char because int might match the return type of a gcc2
32244 builtin and then its argument prototype would still apply. */
32245 char $ac_func ();
32246 /* The GNU C library defines this for functions which it implements
32247 to always fail with ENOSYS. Some functions are actually named
32248 something starting with __ and the normal name is an alias. */
32249 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32250 choke me
32251 #else
32252 char (*f) () = $ac_func;
32253 #endif
32254 #ifdef __cplusplus
32255 }
32256 #endif
32257
32258 int
32259 main ()
32260 {
32261 return f != $ac_func;
32262 ;
32263 return 0;
32264 }
32265 _ACEOF
32266 rm -f conftest.$ac_objext conftest$ac_exeext
32267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32268 (eval $ac_link) 2>conftest.er1
32269 ac_status=$?
32270 grep -v '^ *+' conftest.er1 >conftest.err
32271 rm -f conftest.er1
32272 cat conftest.err >&5
32273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32274 (exit $ac_status); } &&
32275 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32277 (eval $ac_try) 2>&5
32278 ac_status=$?
32279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32280 (exit $ac_status); }; } &&
32281 { ac_try='test -s conftest$ac_exeext'
32282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32283 (eval $ac_try) 2>&5
32284 ac_status=$?
32285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32286 (exit $ac_status); }; }; then
32287 eval "$as_ac_var=yes"
32288 else
32289 echo "$as_me: failed program was:" >&5
32290 sed 's/^/| /' conftest.$ac_ext >&5
32291
32292 eval "$as_ac_var=no"
32293 fi
32294 rm -f conftest.err conftest.$ac_objext \
32295 conftest$ac_exeext conftest.$ac_ext
32296 fi
32297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32298 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32299 if test `eval echo '${'$as_ac_var'}'` = yes; then
32300 cat >>confdefs.h <<_ACEOF
32301 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32302 _ACEOF
32303
32304 fi
32305 done
32306
32307
32308 if test "$ac_cv_func_vsnprintf" = "yes"; then
32309 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
32310 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
32311 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
32312 echo $ECHO_N "(cached) $ECHO_C" >&6
32313 else
32314
32315 cat >conftest.$ac_ext <<_ACEOF
32316 /* confdefs.h. */
32317 _ACEOF
32318 cat confdefs.h >>conftest.$ac_ext
32319 cat >>conftest.$ac_ext <<_ACEOF
32320 /* end confdefs.h. */
32321
32322 #include <stdio.h>
32323 #include <stdarg.h>
32324 #ifdef __MSL__
32325 #if __MSL__ >= 0x6000
32326 namespace std {}
32327 using namespace std;
32328 #endif
32329 #endif
32330
32331 int
32332 main ()
32333 {
32334
32335 char *buf;
32336 va_list ap;
32337 vsnprintf(buf, 10u, "%s", ap);
32338
32339 ;
32340 return 0;
32341 }
32342 _ACEOF
32343 rm -f conftest.$ac_objext
32344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32345 (eval $ac_compile) 2>conftest.er1
32346 ac_status=$?
32347 grep -v '^ *+' conftest.er1 >conftest.err
32348 rm -f conftest.er1
32349 cat conftest.err >&5
32350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32351 (exit $ac_status); } &&
32352 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32354 (eval $ac_try) 2>&5
32355 ac_status=$?
32356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32357 (exit $ac_status); }; } &&
32358 { ac_try='test -s conftest.$ac_objext'
32359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32360 (eval $ac_try) 2>&5
32361 ac_status=$?
32362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32363 (exit $ac_status); }; }; then
32364 wx_cv_func_vsnprintf_decl=yes
32365 else
32366 echo "$as_me: failed program was:" >&5
32367 sed 's/^/| /' conftest.$ac_ext >&5
32368
32369 wx_cv_func_vsnprintf_decl=no
32370
32371 fi
32372 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32373
32374
32375 fi
32376 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
32377 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
32378
32379 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
32380 cat >>confdefs.h <<\_ACEOF
32381 #define HAVE_VSNPRINTF_DECL 1
32382 _ACEOF
32383
32384
32385 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
32386 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
32387 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
32388 echo $ECHO_N "(cached) $ECHO_C" >&6
32389 else
32390
32391 cat >conftest.$ac_ext <<_ACEOF
32392 /* confdefs.h. */
32393 _ACEOF
32394 cat confdefs.h >>conftest.$ac_ext
32395 cat >>conftest.$ac_ext <<_ACEOF
32396 /* end confdefs.h. */
32397
32398 #include <stdio.h>
32399 #include <stdarg.h>
32400 #ifdef __MSL__
32401 #if __MSL__ >= 0x6000
32402 namespace std {}
32403 using namespace std;
32404 #endif
32405 #endif
32406
32407 int
32408 main ()
32409 {
32410
32411 char *buf;
32412 va_list ap;
32413 const char *fmt = "%s";
32414 vsnprintf(buf, 10u, fmt, ap);
32415
32416 ;
32417 return 0;
32418 }
32419 _ACEOF
32420 rm -f conftest.$ac_objext
32421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32422 (eval $ac_compile) 2>conftest.er1
32423 ac_status=$?
32424 grep -v '^ *+' conftest.er1 >conftest.err
32425 rm -f conftest.er1
32426 cat conftest.err >&5
32427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32428 (exit $ac_status); } &&
32429 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32431 (eval $ac_try) 2>&5
32432 ac_status=$?
32433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32434 (exit $ac_status); }; } &&
32435 { ac_try='test -s conftest.$ac_objext'
32436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32437 (eval $ac_try) 2>&5
32438 ac_status=$?
32439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32440 (exit $ac_status); }; }; then
32441 wx_cv_func_broken_vsnprintf_decl=no
32442 else
32443 echo "$as_me: failed program was:" >&5
32444 sed 's/^/| /' conftest.$ac_ext >&5
32445
32446 wx_cv_func_broken_vsnprintf_decl=yes
32447
32448 fi
32449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32450
32451
32452 fi
32453 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
32454 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
32455
32456 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
32457 cat >>confdefs.h <<\_ACEOF
32458 #define HAVE_BROKEN_VSNPRINTF_DECL 1
32459 _ACEOF
32460
32461 fi
32462 fi
32463 fi
32464
32465 if test "$ac_cv_func_snprintf" = "yes"; then
32466 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
32467 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
32468 if test "${wx_cv_func_snprintf_decl+set}" = set; then
32469 echo $ECHO_N "(cached) $ECHO_C" >&6
32470 else
32471
32472 cat >conftest.$ac_ext <<_ACEOF
32473 /* confdefs.h. */
32474 _ACEOF
32475 cat confdefs.h >>conftest.$ac_ext
32476 cat >>conftest.$ac_ext <<_ACEOF
32477 /* end confdefs.h. */
32478
32479 #include <stdio.h>
32480 #include <stdarg.h>
32481 #ifdef __MSL__
32482 #if __MSL__ >= 0x6000
32483 namespace std {}
32484 using namespace std;
32485 #endif
32486 #endif
32487
32488 int
32489 main ()
32490 {
32491
32492 char *buf;
32493 snprintf(buf, 10u, "%s", "wx");
32494
32495 ;
32496 return 0;
32497 }
32498 _ACEOF
32499 rm -f conftest.$ac_objext
32500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32501 (eval $ac_compile) 2>conftest.er1
32502 ac_status=$?
32503 grep -v '^ *+' conftest.er1 >conftest.err
32504 rm -f conftest.er1
32505 cat conftest.err >&5
32506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32507 (exit $ac_status); } &&
32508 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32510 (eval $ac_try) 2>&5
32511 ac_status=$?
32512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32513 (exit $ac_status); }; } &&
32514 { ac_try='test -s conftest.$ac_objext'
32515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32516 (eval $ac_try) 2>&5
32517 ac_status=$?
32518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32519 (exit $ac_status); }; }; then
32520 wx_cv_func_snprintf_decl=yes
32521 else
32522 echo "$as_me: failed program was:" >&5
32523 sed 's/^/| /' conftest.$ac_ext >&5
32524
32525 wx_cv_func_snprintf_decl=no
32526
32527 fi
32528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32529
32530
32531 fi
32532 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
32533 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
32534
32535 if test "$wx_cv_func_snprintf_decl" = "yes"; then
32536 cat >>confdefs.h <<\_ACEOF
32537 #define HAVE_SNPRINTF_DECL 1
32538 _ACEOF
32539
32540
32541 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
32542 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
32543 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
32544 echo $ECHO_N "(cached) $ECHO_C" >&6
32545 else
32546
32547 cat >conftest.$ac_ext <<_ACEOF
32548 /* confdefs.h. */
32549 _ACEOF
32550 cat confdefs.h >>conftest.$ac_ext
32551 cat >>conftest.$ac_ext <<_ACEOF
32552 /* end confdefs.h. */
32553
32554 #include <stdio.h>
32555 #include <stdarg.h>
32556 #ifdef __MSL__
32557 #if __MSL__ >= 0x6000
32558 namespace std {}
32559 using namespace std;
32560 #endif
32561 #endif
32562
32563 int
32564 main ()
32565 {
32566
32567 char *buf;
32568 const char *fmt = "%s";
32569 snprintf(buf, 10u, fmt, "wx");
32570
32571 ;
32572 return 0;
32573 }
32574 _ACEOF
32575 rm -f conftest.$ac_objext
32576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32577 (eval $ac_compile) 2>conftest.er1
32578 ac_status=$?
32579 grep -v '^ *+' conftest.er1 >conftest.err
32580 rm -f conftest.er1
32581 cat conftest.err >&5
32582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32583 (exit $ac_status); } &&
32584 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32586 (eval $ac_try) 2>&5
32587 ac_status=$?
32588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32589 (exit $ac_status); }; } &&
32590 { ac_try='test -s conftest.$ac_objext'
32591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32592 (eval $ac_try) 2>&5
32593 ac_status=$?
32594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32595 (exit $ac_status); }; }; then
32596 wx_cv_func_broken_snprintf_decl=no
32597 else
32598 echo "$as_me: failed program was:" >&5
32599 sed 's/^/| /' conftest.$ac_ext >&5
32600
32601 wx_cv_func_broken_snprintf_decl=yes
32602
32603 fi
32604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32605
32606
32607 fi
32608 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
32609 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
32610
32611 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
32612 cat >>confdefs.h <<\_ACEOF
32613 #define HAVE_BROKEN_SNPRINTF_DECL 1
32614 _ACEOF
32615
32616 fi
32617 fi
32618 fi
32619
32620 if test "$wxUSE_UNICODE" = yes; then
32621
32622
32623
32624
32625
32626
32627 for ac_func in wputc wputchar putws fputws wprintf vswprintf
32628 do
32629 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32630 echo "$as_me:$LINENO: checking for $ac_func" >&5
32631 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32632 if eval "test \"\${$as_ac_var+set}\" = set"; then
32633 echo $ECHO_N "(cached) $ECHO_C" >&6
32634 else
32635 cat >conftest.$ac_ext <<_ACEOF
32636 /* confdefs.h. */
32637 _ACEOF
32638 cat confdefs.h >>conftest.$ac_ext
32639 cat >>conftest.$ac_ext <<_ACEOF
32640 /* end confdefs.h. */
32641 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32642 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32643 #define $ac_func innocuous_$ac_func
32644
32645 /* System header to define __stub macros and hopefully few prototypes,
32646 which can conflict with char $ac_func (); below.
32647 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32648 <limits.h> exists even on freestanding compilers. */
32649
32650 #ifdef __STDC__
32651 # include <limits.h>
32652 #else
32653 # include <assert.h>
32654 #endif
32655
32656 #undef $ac_func
32657
32658 /* Override any gcc2 internal prototype to avoid an error. */
32659 #ifdef __cplusplus
32660 extern "C"
32661 {
32662 #endif
32663 /* We use char because int might match the return type of a gcc2
32664 builtin and then its argument prototype would still apply. */
32665 char $ac_func ();
32666 /* The GNU C library defines this for functions which it implements
32667 to always fail with ENOSYS. Some functions are actually named
32668 something starting with __ and the normal name is an alias. */
32669 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32670 choke me
32671 #else
32672 char (*f) () = $ac_func;
32673 #endif
32674 #ifdef __cplusplus
32675 }
32676 #endif
32677
32678 int
32679 main ()
32680 {
32681 return f != $ac_func;
32682 ;
32683 return 0;
32684 }
32685 _ACEOF
32686 rm -f conftest.$ac_objext conftest$ac_exeext
32687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32688 (eval $ac_link) 2>conftest.er1
32689 ac_status=$?
32690 grep -v '^ *+' conftest.er1 >conftest.err
32691 rm -f conftest.er1
32692 cat conftest.err >&5
32693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32694 (exit $ac_status); } &&
32695 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32697 (eval $ac_try) 2>&5
32698 ac_status=$?
32699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32700 (exit $ac_status); }; } &&
32701 { ac_try='test -s conftest$ac_exeext'
32702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32703 (eval $ac_try) 2>&5
32704 ac_status=$?
32705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32706 (exit $ac_status); }; }; then
32707 eval "$as_ac_var=yes"
32708 else
32709 echo "$as_me: failed program was:" >&5
32710 sed 's/^/| /' conftest.$ac_ext >&5
32711
32712 eval "$as_ac_var=no"
32713 fi
32714 rm -f conftest.err conftest.$ac_objext \
32715 conftest$ac_exeext conftest.$ac_ext
32716 fi
32717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32718 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32719 if test `eval echo '${'$as_ac_var'}'` = yes; then
32720 cat >>confdefs.h <<_ACEOF
32721 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32722 _ACEOF
32723
32724 fi
32725 done
32726
32727
32728 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
32729 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
32730 cat >conftest.$ac_ext <<_ACEOF
32731 /* confdefs.h. */
32732 _ACEOF
32733 cat confdefs.h >>conftest.$ac_ext
32734 cat >>conftest.$ac_ext <<_ACEOF
32735 /* end confdefs.h. */
32736 #include <wchar.h>
32737 int
32738 main ()
32739 {
32740 &_vsnwprintf;
32741 ;
32742 return 0;
32743 }
32744 _ACEOF
32745 rm -f conftest.$ac_objext
32746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32747 (eval $ac_compile) 2>conftest.er1
32748 ac_status=$?
32749 grep -v '^ *+' conftest.er1 >conftest.err
32750 rm -f conftest.er1
32751 cat conftest.err >&5
32752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32753 (exit $ac_status); } &&
32754 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32756 (eval $ac_try) 2>&5
32757 ac_status=$?
32758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32759 (exit $ac_status); }; } &&
32760 { ac_try='test -s conftest.$ac_objext'
32761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32762 (eval $ac_try) 2>&5
32763 ac_status=$?
32764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32765 (exit $ac_status); }; }; then
32766 echo "$as_me:$LINENO: result: yes" >&5
32767 echo "${ECHO_T}yes" >&6
32768 cat >>confdefs.h <<\_ACEOF
32769 #define HAVE__VSNWPRINTF 1
32770 _ACEOF
32771
32772 else
32773 echo "$as_me: failed program was:" >&5
32774 sed 's/^/| /' conftest.$ac_ext >&5
32775
32776 echo "$as_me:$LINENO: result: no" >&5
32777 echo "${ECHO_T}no" >&6
32778 fi
32779 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
32780 fi
32781
32782 ac_ext=c
32783 ac_cpp='$CPP $CPPFLAGS'
32784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32787
32788
32789 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
32790
32791 for ac_func in fnmatch
32792 do
32793 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32794 echo "$as_me:$LINENO: checking for $ac_func" >&5
32795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32796 if eval "test \"\${$as_ac_var+set}\" = set"; then
32797 echo $ECHO_N "(cached) $ECHO_C" >&6
32798 else
32799 cat >conftest.$ac_ext <<_ACEOF
32800 /* confdefs.h. */
32801 _ACEOF
32802 cat confdefs.h >>conftest.$ac_ext
32803 cat >>conftest.$ac_ext <<_ACEOF
32804 /* end confdefs.h. */
32805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32807 #define $ac_func innocuous_$ac_func
32808
32809 /* System header to define __stub macros and hopefully few prototypes,
32810 which can conflict with char $ac_func (); below.
32811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32812 <limits.h> exists even on freestanding compilers. */
32813
32814 #ifdef __STDC__
32815 # include <limits.h>
32816 #else
32817 # include <assert.h>
32818 #endif
32819
32820 #undef $ac_func
32821
32822 /* Override any gcc2 internal prototype to avoid an error. */
32823 #ifdef __cplusplus
32824 extern "C"
32825 {
32826 #endif
32827 /* We use char because int might match the return type of a gcc2
32828 builtin and then its argument prototype would still apply. */
32829 char $ac_func ();
32830 /* The GNU C library defines this for functions which it implements
32831 to always fail with ENOSYS. Some functions are actually named
32832 something starting with __ and the normal name is an alias. */
32833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32834 choke me
32835 #else
32836 char (*f) () = $ac_func;
32837 #endif
32838 #ifdef __cplusplus
32839 }
32840 #endif
32841
32842 int
32843 main ()
32844 {
32845 return f != $ac_func;
32846 ;
32847 return 0;
32848 }
32849 _ACEOF
32850 rm -f conftest.$ac_objext conftest$ac_exeext
32851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32852 (eval $ac_link) 2>conftest.er1
32853 ac_status=$?
32854 grep -v '^ *+' conftest.er1 >conftest.err
32855 rm -f conftest.er1
32856 cat conftest.err >&5
32857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32858 (exit $ac_status); } &&
32859 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32861 (eval $ac_try) 2>&5
32862 ac_status=$?
32863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32864 (exit $ac_status); }; } &&
32865 { ac_try='test -s conftest$ac_exeext'
32866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32867 (eval $ac_try) 2>&5
32868 ac_status=$?
32869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32870 (exit $ac_status); }; }; then
32871 eval "$as_ac_var=yes"
32872 else
32873 echo "$as_me: failed program was:" >&5
32874 sed 's/^/| /' conftest.$ac_ext >&5
32875
32876 eval "$as_ac_var=no"
32877 fi
32878 rm -f conftest.err conftest.$ac_objext \
32879 conftest$ac_exeext conftest.$ac_ext
32880 fi
32881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32882 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32883 if test `eval echo '${'$as_ac_var'}'` = yes; then
32884 cat >>confdefs.h <<_ACEOF
32885 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32886 _ACEOF
32887
32888 fi
32889 done
32890
32891 fi
32892
32893 if test "$wxUSE_FILE" = "yes"; then
32894
32895 for ac_func in fsync
32896 do
32897 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32898 echo "$as_me:$LINENO: checking for $ac_func" >&5
32899 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32900 if eval "test \"\${$as_ac_var+set}\" = set"; then
32901 echo $ECHO_N "(cached) $ECHO_C" >&6
32902 else
32903 cat >conftest.$ac_ext <<_ACEOF
32904 /* confdefs.h. */
32905 _ACEOF
32906 cat confdefs.h >>conftest.$ac_ext
32907 cat >>conftest.$ac_ext <<_ACEOF
32908 /* end confdefs.h. */
32909 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32910 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32911 #define $ac_func innocuous_$ac_func
32912
32913 /* System header to define __stub macros and hopefully few prototypes,
32914 which can conflict with char $ac_func (); below.
32915 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32916 <limits.h> exists even on freestanding compilers. */
32917
32918 #ifdef __STDC__
32919 # include <limits.h>
32920 #else
32921 # include <assert.h>
32922 #endif
32923
32924 #undef $ac_func
32925
32926 /* Override any gcc2 internal prototype to avoid an error. */
32927 #ifdef __cplusplus
32928 extern "C"
32929 {
32930 #endif
32931 /* We use char because int might match the return type of a gcc2
32932 builtin and then its argument prototype would still apply. */
32933 char $ac_func ();
32934 /* The GNU C library defines this for functions which it implements
32935 to always fail with ENOSYS. Some functions are actually named
32936 something starting with __ and the normal name is an alias. */
32937 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32938 choke me
32939 #else
32940 char (*f) () = $ac_func;
32941 #endif
32942 #ifdef __cplusplus
32943 }
32944 #endif
32945
32946 int
32947 main ()
32948 {
32949 return f != $ac_func;
32950 ;
32951 return 0;
32952 }
32953 _ACEOF
32954 rm -f conftest.$ac_objext conftest$ac_exeext
32955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32956 (eval $ac_link) 2>conftest.er1
32957 ac_status=$?
32958 grep -v '^ *+' conftest.er1 >conftest.err
32959 rm -f conftest.er1
32960 cat conftest.err >&5
32961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32962 (exit $ac_status); } &&
32963 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32965 (eval $ac_try) 2>&5
32966 ac_status=$?
32967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32968 (exit $ac_status); }; } &&
32969 { ac_try='test -s conftest$ac_exeext'
32970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32971 (eval $ac_try) 2>&5
32972 ac_status=$?
32973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32974 (exit $ac_status); }; }; then
32975 eval "$as_ac_var=yes"
32976 else
32977 echo "$as_me: failed program was:" >&5
32978 sed 's/^/| /' conftest.$ac_ext >&5
32979
32980 eval "$as_ac_var=no"
32981 fi
32982 rm -f conftest.err conftest.$ac_objext \
32983 conftest$ac_exeext conftest.$ac_ext
32984 fi
32985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32986 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32987 if test `eval echo '${'$as_ac_var'}'` = yes; then
32988 cat >>confdefs.h <<_ACEOF
32989 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32990 _ACEOF
32991
32992 fi
32993 done
32994
32995 fi
32996
32997
32998 if test "$TOOLKIT" != "MSW"; then
32999
33000
33001
33002
33003 ac_ext=cc
33004 ac_cpp='$CXXCPP $CPPFLAGS'
33005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33008
33009
33010
33011
33012 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
33013 if test "${with_libiconv_prefix+set}" = set; then
33014 withval="$with_libiconv_prefix"
33015
33016 for dir in `echo "$withval" | tr : ' '`; do
33017 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
33018 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
33019 done
33020
33021 fi;
33022
33023 echo "$as_me:$LINENO: checking for iconv" >&5
33024 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
33025 if test "${am_cv_func_iconv+set}" = set; then
33026 echo $ECHO_N "(cached) $ECHO_C" >&6
33027 else
33028
33029 am_cv_func_iconv="no, consider installing GNU libiconv"
33030 am_cv_lib_iconv=no
33031 cat >conftest.$ac_ext <<_ACEOF
33032 /* confdefs.h. */
33033 _ACEOF
33034 cat confdefs.h >>conftest.$ac_ext
33035 cat >>conftest.$ac_ext <<_ACEOF
33036 /* end confdefs.h. */
33037 #include <stdlib.h>
33038 #include <iconv.h>
33039 int
33040 main ()
33041 {
33042 iconv_t cd = iconv_open("","");
33043 iconv(cd,NULL,NULL,NULL,NULL);
33044 iconv_close(cd);
33045 ;
33046 return 0;
33047 }
33048 _ACEOF
33049 rm -f conftest.$ac_objext conftest$ac_exeext
33050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33051 (eval $ac_link) 2>conftest.er1
33052 ac_status=$?
33053 grep -v '^ *+' conftest.er1 >conftest.err
33054 rm -f conftest.er1
33055 cat conftest.err >&5
33056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33057 (exit $ac_status); } &&
33058 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33060 (eval $ac_try) 2>&5
33061 ac_status=$?
33062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33063 (exit $ac_status); }; } &&
33064 { ac_try='test -s conftest$ac_exeext'
33065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33066 (eval $ac_try) 2>&5
33067 ac_status=$?
33068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33069 (exit $ac_status); }; }; then
33070 am_cv_func_iconv=yes
33071 else
33072 echo "$as_me: failed program was:" >&5
33073 sed 's/^/| /' conftest.$ac_ext >&5
33074
33075 fi
33076 rm -f conftest.err conftest.$ac_objext \
33077 conftest$ac_exeext conftest.$ac_ext
33078 if test "$am_cv_func_iconv" != yes; then
33079 am_save_LIBS="$LIBS"
33080 LIBS="$LIBS -liconv"
33081 cat >conftest.$ac_ext <<_ACEOF
33082 /* confdefs.h. */
33083 _ACEOF
33084 cat confdefs.h >>conftest.$ac_ext
33085 cat >>conftest.$ac_ext <<_ACEOF
33086 /* end confdefs.h. */
33087 #include <stdlib.h>
33088 #include <iconv.h>
33089 int
33090 main ()
33091 {
33092 iconv_t cd = iconv_open("","");
33093 iconv(cd,NULL,NULL,NULL,NULL);
33094 iconv_close(cd);
33095 ;
33096 return 0;
33097 }
33098 _ACEOF
33099 rm -f conftest.$ac_objext conftest$ac_exeext
33100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33101 (eval $ac_link) 2>conftest.er1
33102 ac_status=$?
33103 grep -v '^ *+' conftest.er1 >conftest.err
33104 rm -f conftest.er1
33105 cat conftest.err >&5
33106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33107 (exit $ac_status); } &&
33108 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33110 (eval $ac_try) 2>&5
33111 ac_status=$?
33112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33113 (exit $ac_status); }; } &&
33114 { ac_try='test -s conftest$ac_exeext'
33115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33116 (eval $ac_try) 2>&5
33117 ac_status=$?
33118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33119 (exit $ac_status); }; }; then
33120 am_cv_lib_iconv=yes
33121 am_cv_func_iconv=yes
33122 else
33123 echo "$as_me: failed program was:" >&5
33124 sed 's/^/| /' conftest.$ac_ext >&5
33125
33126 fi
33127 rm -f conftest.err conftest.$ac_objext \
33128 conftest$ac_exeext conftest.$ac_ext
33129 LIBS="$am_save_LIBS"
33130 fi
33131
33132 fi
33133 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
33134 echo "${ECHO_T}$am_cv_func_iconv" >&6
33135 if test "$am_cv_func_iconv" = yes; then
33136
33137 cat >>confdefs.h <<\_ACEOF
33138 #define HAVE_ICONV 1
33139 _ACEOF
33140
33141 echo "$as_me:$LINENO: checking if iconv needs const" >&5
33142 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
33143 if test "${wx_cv_func_iconv_const+set}" = set; then
33144 echo $ECHO_N "(cached) $ECHO_C" >&6
33145 else
33146 cat >conftest.$ac_ext <<_ACEOF
33147 /* confdefs.h. */
33148 _ACEOF
33149 cat confdefs.h >>conftest.$ac_ext
33150 cat >>conftest.$ac_ext <<_ACEOF
33151 /* end confdefs.h. */
33152
33153 #include <stdlib.h>
33154 #include <iconv.h>
33155 extern
33156 #ifdef __cplusplus
33157 "C"
33158 #endif
33159 #if defined(__STDC__) || defined(__cplusplus)
33160 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
33161 #else
33162 size_t iconv();
33163 #endif
33164
33165 int
33166 main ()
33167 {
33168
33169 ;
33170 return 0;
33171 }
33172 _ACEOF
33173 rm -f conftest.$ac_objext
33174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33175 (eval $ac_compile) 2>conftest.er1
33176 ac_status=$?
33177 grep -v '^ *+' conftest.er1 >conftest.err
33178 rm -f conftest.er1
33179 cat conftest.err >&5
33180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33181 (exit $ac_status); } &&
33182 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33184 (eval $ac_try) 2>&5
33185 ac_status=$?
33186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33187 (exit $ac_status); }; } &&
33188 { ac_try='test -s conftest.$ac_objext'
33189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33190 (eval $ac_try) 2>&5
33191 ac_status=$?
33192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33193 (exit $ac_status); }; }; then
33194 wx_cv_func_iconv_const="no"
33195 else
33196 echo "$as_me: failed program was:" >&5
33197 sed 's/^/| /' conftest.$ac_ext >&5
33198
33199 wx_cv_func_iconv_const="yes"
33200
33201 fi
33202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33203
33204 fi
33205 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
33206 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
33207
33208 iconv_const=
33209 if test "x$wx_cv_func_iconv_const" = "xyes"; then
33210 iconv_const="const"
33211 fi
33212
33213
33214 cat >>confdefs.h <<_ACEOF
33215 #define ICONV_CONST $iconv_const
33216 _ACEOF
33217
33218 fi
33219 LIBICONV=
33220 if test "$am_cv_lib_iconv" = yes; then
33221 LIBICONV="-liconv"
33222 fi
33223
33224
33225 LIBS="$LIBICONV $LIBS"
33226 ac_ext=c
33227 ac_cpp='$CPP $CPPFLAGS'
33228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33231
33232
33233 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
33234
33235 for ac_func in sigaction
33236 do
33237 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33238 echo "$as_me:$LINENO: checking for $ac_func" >&5
33239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33240 if eval "test \"\${$as_ac_var+set}\" = set"; then
33241 echo $ECHO_N "(cached) $ECHO_C" >&6
33242 else
33243 cat >conftest.$ac_ext <<_ACEOF
33244 /* confdefs.h. */
33245 _ACEOF
33246 cat confdefs.h >>conftest.$ac_ext
33247 cat >>conftest.$ac_ext <<_ACEOF
33248 /* end confdefs.h. */
33249 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33250 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33251 #define $ac_func innocuous_$ac_func
33252
33253 /* System header to define __stub macros and hopefully few prototypes,
33254 which can conflict with char $ac_func (); below.
33255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33256 <limits.h> exists even on freestanding compilers. */
33257
33258 #ifdef __STDC__
33259 # include <limits.h>
33260 #else
33261 # include <assert.h>
33262 #endif
33263
33264 #undef $ac_func
33265
33266 /* Override any gcc2 internal prototype to avoid an error. */
33267 #ifdef __cplusplus
33268 extern "C"
33269 {
33270 #endif
33271 /* We use char because int might match the return type of a gcc2
33272 builtin and then its argument prototype would still apply. */
33273 char $ac_func ();
33274 /* The GNU C library defines this for functions which it implements
33275 to always fail with ENOSYS. Some functions are actually named
33276 something starting with __ and the normal name is an alias. */
33277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33278 choke me
33279 #else
33280 char (*f) () = $ac_func;
33281 #endif
33282 #ifdef __cplusplus
33283 }
33284 #endif
33285
33286 int
33287 main ()
33288 {
33289 return f != $ac_func;
33290 ;
33291 return 0;
33292 }
33293 _ACEOF
33294 rm -f conftest.$ac_objext conftest$ac_exeext
33295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33296 (eval $ac_link) 2>conftest.er1
33297 ac_status=$?
33298 grep -v '^ *+' conftest.er1 >conftest.err
33299 rm -f conftest.er1
33300 cat conftest.err >&5
33301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33302 (exit $ac_status); } &&
33303 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33305 (eval $ac_try) 2>&5
33306 ac_status=$?
33307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33308 (exit $ac_status); }; } &&
33309 { ac_try='test -s conftest$ac_exeext'
33310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33311 (eval $ac_try) 2>&5
33312 ac_status=$?
33313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33314 (exit $ac_status); }; }; then
33315 eval "$as_ac_var=yes"
33316 else
33317 echo "$as_me: failed program was:" >&5
33318 sed 's/^/| /' conftest.$ac_ext >&5
33319
33320 eval "$as_ac_var=no"
33321 fi
33322 rm -f conftest.err conftest.$ac_objext \
33323 conftest$ac_exeext conftest.$ac_ext
33324 fi
33325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33326 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33327 if test `eval echo '${'$as_ac_var'}'` = yes; then
33328 cat >>confdefs.h <<_ACEOF
33329 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33330 _ACEOF
33331
33332 fi
33333 done
33334
33335
33336 if test "$ac_cv_func_sigaction" = "no"; then
33337 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
33338 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
33339 wxUSE_ON_FATAL_EXCEPTION=no
33340 fi
33341
33342 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
33343
33344
33345 ac_ext=cc
33346 ac_cpp='$CXXCPP $CPPFLAGS'
33347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33350
33351
33352 echo "$as_me:$LINENO: checking for sa_handler type" >&5
33353 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
33354 if test "${wx_cv_type_sa_handler+set}" = set; then
33355 echo $ECHO_N "(cached) $ECHO_C" >&6
33356 else
33357
33358 cat >conftest.$ac_ext <<_ACEOF
33359 /* confdefs.h. */
33360 _ACEOF
33361 cat confdefs.h >>conftest.$ac_ext
33362 cat >>conftest.$ac_ext <<_ACEOF
33363 /* end confdefs.h. */
33364 #include <signal.h>
33365 int
33366 main ()
33367 {
33368
33369 extern void testSigHandler(int);
33370
33371 struct sigaction sa;
33372 sa.sa_handler = testSigHandler;
33373
33374 ;
33375 return 0;
33376 }
33377 _ACEOF
33378 rm -f conftest.$ac_objext
33379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33380 (eval $ac_compile) 2>conftest.er1
33381 ac_status=$?
33382 grep -v '^ *+' conftest.er1 >conftest.err
33383 rm -f conftest.er1
33384 cat conftest.err >&5
33385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33386 (exit $ac_status); } &&
33387 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33389 (eval $ac_try) 2>&5
33390 ac_status=$?
33391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33392 (exit $ac_status); }; } &&
33393 { ac_try='test -s conftest.$ac_objext'
33394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33395 (eval $ac_try) 2>&5
33396 ac_status=$?
33397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33398 (exit $ac_status); }; }; then
33399
33400 wx_cv_type_sa_handler=int
33401
33402 else
33403 echo "$as_me: failed program was:" >&5
33404 sed 's/^/| /' conftest.$ac_ext >&5
33405
33406
33407 wx_cv_type_sa_handler=void
33408
33409 fi
33410 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33411
33412 fi
33413 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
33414 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
33415
33416 ac_ext=c
33417 ac_cpp='$CPP $CPPFLAGS'
33418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33421
33422
33423 cat >>confdefs.h <<_ACEOF
33424 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
33425 _ACEOF
33426
33427 fi
33428 fi
33429
33430 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
33431
33432
33433 ac_ext=cc
33434 ac_cpp='$CXXCPP $CPPFLAGS'
33435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33438
33439
33440 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
33441 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
33442 if test "${wx_cv_func_backtrace+set}" = set; then
33443 echo $ECHO_N "(cached) $ECHO_C" >&6
33444 else
33445
33446 cat >conftest.$ac_ext <<_ACEOF
33447 /* confdefs.h. */
33448 _ACEOF
33449 cat confdefs.h >>conftest.$ac_ext
33450 cat >>conftest.$ac_ext <<_ACEOF
33451 /* end confdefs.h. */
33452 #include <execinfo.h>
33453 int
33454 main ()
33455 {
33456
33457 void *trace[1];
33458 char **messages;
33459
33460 backtrace(trace, 1);
33461 messages = backtrace_symbols(trace, 1);
33462
33463 ;
33464 return 0;
33465 }
33466 _ACEOF
33467 rm -f conftest.$ac_objext
33468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33469 (eval $ac_compile) 2>conftest.er1
33470 ac_status=$?
33471 grep -v '^ *+' conftest.er1 >conftest.err
33472 rm -f conftest.er1
33473 cat conftest.err >&5
33474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33475 (exit $ac_status); } &&
33476 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33478 (eval $ac_try) 2>&5
33479 ac_status=$?
33480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33481 (exit $ac_status); }; } &&
33482 { ac_try='test -s conftest.$ac_objext'
33483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33484 (eval $ac_try) 2>&5
33485 ac_status=$?
33486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33487 (exit $ac_status); }; }; then
33488 wx_cv_func_backtrace=yes
33489 else
33490 echo "$as_me: failed program was:" >&5
33491 sed 's/^/| /' conftest.$ac_ext >&5
33492
33493 wx_cv_func_backtrace=no
33494
33495 fi
33496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33497
33498
33499 fi
33500 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
33501 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
33502
33503
33504 if test "$wx_cv_func_backtrace" = "no"; then
33505 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
33506 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
33507 wxUSE_STACKWALKER=no
33508 else
33509 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
33510 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
33511 if test "${wx_cv_func_cxa_demangle+set}" = set; then
33512 echo $ECHO_N "(cached) $ECHO_C" >&6
33513 else
33514
33515 cat >conftest.$ac_ext <<_ACEOF
33516 /* confdefs.h. */
33517 _ACEOF
33518 cat confdefs.h >>conftest.$ac_ext
33519 cat >>conftest.$ac_ext <<_ACEOF
33520 /* end confdefs.h. */
33521 #include <cxxabi.h>
33522 int
33523 main ()
33524 {
33525
33526 int rc;
33527 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
33528
33529 ;
33530 return 0;
33531 }
33532 _ACEOF
33533 rm -f conftest.$ac_objext conftest$ac_exeext
33534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33535 (eval $ac_link) 2>conftest.er1
33536 ac_status=$?
33537 grep -v '^ *+' conftest.er1 >conftest.err
33538 rm -f conftest.er1
33539 cat conftest.err >&5
33540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33541 (exit $ac_status); } &&
33542 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33544 (eval $ac_try) 2>&5
33545 ac_status=$?
33546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33547 (exit $ac_status); }; } &&
33548 { ac_try='test -s conftest$ac_exeext'
33549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33550 (eval $ac_try) 2>&5
33551 ac_status=$?
33552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33553 (exit $ac_status); }; }; then
33554 wx_cv_func_cxa_demangle=yes
33555 else
33556 echo "$as_me: failed program was:" >&5
33557 sed 's/^/| /' conftest.$ac_ext >&5
33558
33559 wx_cv_func_cxa_demangle=no
33560
33561 fi
33562 rm -f conftest.err conftest.$ac_objext \
33563 conftest$ac_exeext conftest.$ac_ext
33564
33565
33566 fi
33567 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
33568 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
33569
33570 if test "$wx_cv_func_cxa_demangle" = "yes"; then
33571 cat >>confdefs.h <<\_ACEOF
33572 #define HAVE_CXA_DEMANGLE 1
33573 _ACEOF
33574
33575 fi
33576 fi
33577
33578 ac_ext=c
33579 ac_cpp='$CPP $CPPFLAGS'
33580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33583
33584 fi
33585
33586 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
33587 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
33588 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
33589 wxUSE_STACKWALKER=no
33590 fi
33591
33592
33593
33594
33595 for ac_func in mkstemp mktemp
33596 do
33597 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33598 echo "$as_me:$LINENO: checking for $ac_func" >&5
33599 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33600 if eval "test \"\${$as_ac_var+set}\" = set"; then
33601 echo $ECHO_N "(cached) $ECHO_C" >&6
33602 else
33603 cat >conftest.$ac_ext <<_ACEOF
33604 /* confdefs.h. */
33605 _ACEOF
33606 cat confdefs.h >>conftest.$ac_ext
33607 cat >>conftest.$ac_ext <<_ACEOF
33608 /* end confdefs.h. */
33609 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33610 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33611 #define $ac_func innocuous_$ac_func
33612
33613 /* System header to define __stub macros and hopefully few prototypes,
33614 which can conflict with char $ac_func (); below.
33615 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33616 <limits.h> exists even on freestanding compilers. */
33617
33618 #ifdef __STDC__
33619 # include <limits.h>
33620 #else
33621 # include <assert.h>
33622 #endif
33623
33624 #undef $ac_func
33625
33626 /* Override any gcc2 internal prototype to avoid an error. */
33627 #ifdef __cplusplus
33628 extern "C"
33629 {
33630 #endif
33631 /* We use char because int might match the return type of a gcc2
33632 builtin and then its argument prototype would still apply. */
33633 char $ac_func ();
33634 /* The GNU C library defines this for functions which it implements
33635 to always fail with ENOSYS. Some functions are actually named
33636 something starting with __ and the normal name is an alias. */
33637 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33638 choke me
33639 #else
33640 char (*f) () = $ac_func;
33641 #endif
33642 #ifdef __cplusplus
33643 }
33644 #endif
33645
33646 int
33647 main ()
33648 {
33649 return f != $ac_func;
33650 ;
33651 return 0;
33652 }
33653 _ACEOF
33654 rm -f conftest.$ac_objext conftest$ac_exeext
33655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33656 (eval $ac_link) 2>conftest.er1
33657 ac_status=$?
33658 grep -v '^ *+' conftest.er1 >conftest.err
33659 rm -f conftest.er1
33660 cat conftest.err >&5
33661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33662 (exit $ac_status); } &&
33663 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33665 (eval $ac_try) 2>&5
33666 ac_status=$?
33667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33668 (exit $ac_status); }; } &&
33669 { ac_try='test -s conftest$ac_exeext'
33670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33671 (eval $ac_try) 2>&5
33672 ac_status=$?
33673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33674 (exit $ac_status); }; }; then
33675 eval "$as_ac_var=yes"
33676 else
33677 echo "$as_me: failed program was:" >&5
33678 sed 's/^/| /' conftest.$ac_ext >&5
33679
33680 eval "$as_ac_var=no"
33681 fi
33682 rm -f conftest.err conftest.$ac_objext \
33683 conftest$ac_exeext conftest.$ac_ext
33684 fi
33685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33686 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33687 if test `eval echo '${'$as_ac_var'}'` = yes; then
33688 cat >>confdefs.h <<_ACEOF
33689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33690 _ACEOF
33691 break
33692 fi
33693 done
33694
33695
33696 echo "$as_me:$LINENO: checking for statfs" >&5
33697 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
33698 if test "${wx_cv_func_statfs+set}" = set; then
33699 echo $ECHO_N "(cached) $ECHO_C" >&6
33700 else
33701 cat >conftest.$ac_ext <<_ACEOF
33702 /* confdefs.h. */
33703 _ACEOF
33704 cat confdefs.h >>conftest.$ac_ext
33705 cat >>conftest.$ac_ext <<_ACEOF
33706 /* end confdefs.h. */
33707
33708 #if defined(__BSD__)
33709 #include <sys/param.h>
33710 #include <sys/mount.h>
33711 #else
33712 #include <sys/vfs.h>
33713 #endif
33714
33715 int
33716 main ()
33717 {
33718
33719 long l;
33720 struct statfs fs;
33721 statfs("/", &fs);
33722 l = fs.f_bsize;
33723 l += fs.f_blocks;
33724 l += fs.f_bavail;
33725
33726 ;
33727 return 0;
33728 }
33729 _ACEOF
33730 rm -f conftest.$ac_objext
33731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33732 (eval $ac_compile) 2>conftest.er1
33733 ac_status=$?
33734 grep -v '^ *+' conftest.er1 >conftest.err
33735 rm -f conftest.er1
33736 cat conftest.err >&5
33737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33738 (exit $ac_status); } &&
33739 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33741 (eval $ac_try) 2>&5
33742 ac_status=$?
33743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33744 (exit $ac_status); }; } &&
33745 { ac_try='test -s conftest.$ac_objext'
33746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33747 (eval $ac_try) 2>&5
33748 ac_status=$?
33749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33750 (exit $ac_status); }; }; then
33751 wx_cv_func_statfs=yes
33752 else
33753 echo "$as_me: failed program was:" >&5
33754 sed 's/^/| /' conftest.$ac_ext >&5
33755
33756 wx_cv_func_statfs=no
33757
33758 fi
33759 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33760
33761 fi
33762 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
33763 echo "${ECHO_T}$wx_cv_func_statfs" >&6
33764
33765 if test "$wx_cv_func_statfs" = "yes"; then
33766
33767
33768 ac_ext=cc
33769 ac_cpp='$CXXCPP $CPPFLAGS'
33770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33773
33774 echo "$as_me:$LINENO: checking for statfs declaration" >&5
33775 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
33776 if test "${wx_cv_func_statfs_decl+set}" = set; then
33777 echo $ECHO_N "(cached) $ECHO_C" >&6
33778 else
33779 cat >conftest.$ac_ext <<_ACEOF
33780 /* confdefs.h. */
33781 _ACEOF
33782 cat confdefs.h >>conftest.$ac_ext
33783 cat >>conftest.$ac_ext <<_ACEOF
33784 /* end confdefs.h. */
33785
33786 #if defined(__BSD__)
33787 #include <sys/param.h>
33788 #include <sys/mount.h>
33789 #else
33790 #include <sys/vfs.h>
33791 #endif
33792
33793 int
33794 main ()
33795 {
33796
33797 struct statfs fs;
33798 statfs("", &fs);
33799
33800 ;
33801 return 0;
33802 }
33803 _ACEOF
33804 rm -f conftest.$ac_objext
33805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33806 (eval $ac_compile) 2>conftest.er1
33807 ac_status=$?
33808 grep -v '^ *+' conftest.er1 >conftest.err
33809 rm -f conftest.er1
33810 cat conftest.err >&5
33811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33812 (exit $ac_status); } &&
33813 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33815 (eval $ac_try) 2>&5
33816 ac_status=$?
33817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33818 (exit $ac_status); }; } &&
33819 { ac_try='test -s conftest.$ac_objext'
33820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33821 (eval $ac_try) 2>&5
33822 ac_status=$?
33823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33824 (exit $ac_status); }; }; then
33825 wx_cv_func_statfs_decl=yes
33826 else
33827 echo "$as_me: failed program was:" >&5
33828 sed 's/^/| /' conftest.$ac_ext >&5
33829
33830 wx_cv_func_statfs_decl=no
33831
33832 fi
33833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33834
33835 fi
33836 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
33837 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
33838 ac_ext=c
33839 ac_cpp='$CPP $CPPFLAGS'
33840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33843
33844
33845 if test "$wx_cv_func_statfs_decl" = "yes"; then
33846 cat >>confdefs.h <<\_ACEOF
33847 #define HAVE_STATFS_DECL 1
33848 _ACEOF
33849
33850 fi
33851
33852 wx_cv_type_statvfs_t="struct statfs"
33853 cat >>confdefs.h <<\_ACEOF
33854 #define HAVE_STATFS 1
33855 _ACEOF
33856
33857 else
33858 echo "$as_me:$LINENO: checking for statvfs" >&5
33859 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
33860 if test "${wx_cv_func_statvfs+set}" = set; then
33861 echo $ECHO_N "(cached) $ECHO_C" >&6
33862 else
33863 cat >conftest.$ac_ext <<_ACEOF
33864 /* confdefs.h. */
33865 _ACEOF
33866 cat confdefs.h >>conftest.$ac_ext
33867 cat >>conftest.$ac_ext <<_ACEOF
33868 /* end confdefs.h. */
33869
33870 #include <stddef.h>
33871 #include <sys/statvfs.h>
33872
33873 int
33874 main ()
33875 {
33876
33877 statvfs("/", NULL);
33878
33879 ;
33880 return 0;
33881 }
33882 _ACEOF
33883 rm -f conftest.$ac_objext
33884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33885 (eval $ac_compile) 2>conftest.er1
33886 ac_status=$?
33887 grep -v '^ *+' conftest.er1 >conftest.err
33888 rm -f conftest.er1
33889 cat conftest.err >&5
33890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33891 (exit $ac_status); } &&
33892 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33894 (eval $ac_try) 2>&5
33895 ac_status=$?
33896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33897 (exit $ac_status); }; } &&
33898 { ac_try='test -s conftest.$ac_objext'
33899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33900 (eval $ac_try) 2>&5
33901 ac_status=$?
33902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33903 (exit $ac_status); }; }; then
33904 wx_cv_func_statvfs=yes
33905 else
33906 echo "$as_me: failed program was:" >&5
33907 sed 's/^/| /' conftest.$ac_ext >&5
33908
33909 wx_cv_func_statvfs=no
33910
33911 fi
33912 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33913
33914 fi
33915 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
33916 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
33917
33918 if test "$wx_cv_func_statvfs" = "yes"; then
33919
33920
33921 ac_ext=cc
33922 ac_cpp='$CXXCPP $CPPFLAGS'
33923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33926
33927
33928 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
33929 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
33930 if test "${wx_cv_type_statvfs_t+set}" = set; then
33931 echo $ECHO_N "(cached) $ECHO_C" >&6
33932 else
33933 cat >conftest.$ac_ext <<_ACEOF
33934 /* confdefs.h. */
33935 _ACEOF
33936 cat confdefs.h >>conftest.$ac_ext
33937 cat >>conftest.$ac_ext <<_ACEOF
33938 /* end confdefs.h. */
33939
33940 #include <sys/statvfs.h>
33941
33942 int
33943 main ()
33944 {
33945
33946 long l;
33947 statvfs_t fs;
33948 statvfs("/", &fs);
33949 l = fs.f_bsize;
33950 l += fs.f_blocks;
33951 l += fs.f_bavail;
33952
33953 ;
33954 return 0;
33955 }
33956 _ACEOF
33957 rm -f conftest.$ac_objext
33958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33959 (eval $ac_compile) 2>conftest.er1
33960 ac_status=$?
33961 grep -v '^ *+' conftest.er1 >conftest.err
33962 rm -f conftest.er1
33963 cat conftest.err >&5
33964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33965 (exit $ac_status); } &&
33966 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33968 (eval $ac_try) 2>&5
33969 ac_status=$?
33970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33971 (exit $ac_status); }; } &&
33972 { ac_try='test -s conftest.$ac_objext'
33973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33974 (eval $ac_try) 2>&5
33975 ac_status=$?
33976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33977 (exit $ac_status); }; }; then
33978 wx_cv_type_statvfs_t=statvfs_t
33979 else
33980 echo "$as_me: failed program was:" >&5
33981 sed 's/^/| /' conftest.$ac_ext >&5
33982
33983
33984 cat >conftest.$ac_ext <<_ACEOF
33985 /* confdefs.h. */
33986 _ACEOF
33987 cat confdefs.h >>conftest.$ac_ext
33988 cat >>conftest.$ac_ext <<_ACEOF
33989 /* end confdefs.h. */
33990
33991 #include <sys/statvfs.h>
33992
33993 int
33994 main ()
33995 {
33996
33997 long l;
33998 struct statvfs fs;
33999 statvfs("/", &fs);
34000 l = fs.f_bsize;
34001 l += fs.f_blocks;
34002 l += fs.f_bavail;
34003
34004 ;
34005 return 0;
34006 }
34007 _ACEOF
34008 rm -f conftest.$ac_objext
34009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34010 (eval $ac_compile) 2>conftest.er1
34011 ac_status=$?
34012 grep -v '^ *+' conftest.er1 >conftest.err
34013 rm -f conftest.er1
34014 cat conftest.err >&5
34015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34016 (exit $ac_status); } &&
34017 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34019 (eval $ac_try) 2>&5
34020 ac_status=$?
34021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34022 (exit $ac_status); }; } &&
34023 { ac_try='test -s conftest.$ac_objext'
34024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34025 (eval $ac_try) 2>&5
34026 ac_status=$?
34027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34028 (exit $ac_status); }; }; then
34029 wx_cv_type_statvfs_t="struct statvfs"
34030 else
34031 echo "$as_me: failed program was:" >&5
34032 sed 's/^/| /' conftest.$ac_ext >&5
34033
34034 wx_cv_type_statvfs_t="unknown"
34035
34036 fi
34037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34038
34039
34040 fi
34041 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34042
34043 fi
34044 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
34045 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
34046
34047 ac_ext=c
34048 ac_cpp='$CPP $CPPFLAGS'
34049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34052
34053
34054 if test "$wx_cv_type_statvfs_t" != "unknown"; then
34055 cat >>confdefs.h <<\_ACEOF
34056 #define HAVE_STATVFS 1
34057 _ACEOF
34058
34059 fi
34060 else
34061 wx_cv_type_statvfs_t="unknown"
34062 fi
34063 fi
34064
34065 if test "$wx_cv_type_statvfs_t" != "unknown"; then
34066 cat >>confdefs.h <<_ACEOF
34067 #define WX_STATFS_T $wx_cv_type_statvfs_t
34068 _ACEOF
34069
34070 else
34071 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
34072 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
34073 fi
34074
34075 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34076
34077
34078 for ac_func in fcntl flock
34079 do
34080 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34081 echo "$as_me:$LINENO: checking for $ac_func" >&5
34082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34083 if eval "test \"\${$as_ac_var+set}\" = set"; then
34084 echo $ECHO_N "(cached) $ECHO_C" >&6
34085 else
34086 cat >conftest.$ac_ext <<_ACEOF
34087 /* confdefs.h. */
34088 _ACEOF
34089 cat confdefs.h >>conftest.$ac_ext
34090 cat >>conftest.$ac_ext <<_ACEOF
34091 /* end confdefs.h. */
34092 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34093 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34094 #define $ac_func innocuous_$ac_func
34095
34096 /* System header to define __stub macros and hopefully few prototypes,
34097 which can conflict with char $ac_func (); below.
34098 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34099 <limits.h> exists even on freestanding compilers. */
34100
34101 #ifdef __STDC__
34102 # include <limits.h>
34103 #else
34104 # include <assert.h>
34105 #endif
34106
34107 #undef $ac_func
34108
34109 /* Override any gcc2 internal prototype to avoid an error. */
34110 #ifdef __cplusplus
34111 extern "C"
34112 {
34113 #endif
34114 /* We use char because int might match the return type of a gcc2
34115 builtin and then its argument prototype would still apply. */
34116 char $ac_func ();
34117 /* The GNU C library defines this for functions which it implements
34118 to always fail with ENOSYS. Some functions are actually named
34119 something starting with __ and the normal name is an alias. */
34120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34121 choke me
34122 #else
34123 char (*f) () = $ac_func;
34124 #endif
34125 #ifdef __cplusplus
34126 }
34127 #endif
34128
34129 int
34130 main ()
34131 {
34132 return f != $ac_func;
34133 ;
34134 return 0;
34135 }
34136 _ACEOF
34137 rm -f conftest.$ac_objext conftest$ac_exeext
34138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34139 (eval $ac_link) 2>conftest.er1
34140 ac_status=$?
34141 grep -v '^ *+' conftest.er1 >conftest.err
34142 rm -f conftest.er1
34143 cat conftest.err >&5
34144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34145 (exit $ac_status); } &&
34146 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34148 (eval $ac_try) 2>&5
34149 ac_status=$?
34150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34151 (exit $ac_status); }; } &&
34152 { ac_try='test -s conftest$ac_exeext'
34153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34154 (eval $ac_try) 2>&5
34155 ac_status=$?
34156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34157 (exit $ac_status); }; }; then
34158 eval "$as_ac_var=yes"
34159 else
34160 echo "$as_me: failed program was:" >&5
34161 sed 's/^/| /' conftest.$ac_ext >&5
34162
34163 eval "$as_ac_var=no"
34164 fi
34165 rm -f conftest.err conftest.$ac_objext \
34166 conftest$ac_exeext conftest.$ac_ext
34167 fi
34168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34170 if test `eval echo '${'$as_ac_var'}'` = yes; then
34171 cat >>confdefs.h <<_ACEOF
34172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34173 _ACEOF
34174 break
34175 fi
34176 done
34177
34178
34179 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
34180 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
34181 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
34182 wxUSE_SNGLINST_CHECKER=no
34183 fi
34184 fi
34185
34186
34187 for ac_func in timegm
34188 do
34189 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34190 echo "$as_me:$LINENO: checking for $ac_func" >&5
34191 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34192 if eval "test \"\${$as_ac_var+set}\" = set"; then
34193 echo $ECHO_N "(cached) $ECHO_C" >&6
34194 else
34195 cat >conftest.$ac_ext <<_ACEOF
34196 /* confdefs.h. */
34197 _ACEOF
34198 cat confdefs.h >>conftest.$ac_ext
34199 cat >>conftest.$ac_ext <<_ACEOF
34200 /* end confdefs.h. */
34201 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34202 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34203 #define $ac_func innocuous_$ac_func
34204
34205 /* System header to define __stub macros and hopefully few prototypes,
34206 which can conflict with char $ac_func (); below.
34207 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34208 <limits.h> exists even on freestanding compilers. */
34209
34210 #ifdef __STDC__
34211 # include <limits.h>
34212 #else
34213 # include <assert.h>
34214 #endif
34215
34216 #undef $ac_func
34217
34218 /* Override any gcc2 internal prototype to avoid an error. */
34219 #ifdef __cplusplus
34220 extern "C"
34221 {
34222 #endif
34223 /* We use char because int might match the return type of a gcc2
34224 builtin and then its argument prototype would still apply. */
34225 char $ac_func ();
34226 /* The GNU C library defines this for functions which it implements
34227 to always fail with ENOSYS. Some functions are actually named
34228 something starting with __ and the normal name is an alias. */
34229 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34230 choke me
34231 #else
34232 char (*f) () = $ac_func;
34233 #endif
34234 #ifdef __cplusplus
34235 }
34236 #endif
34237
34238 int
34239 main ()
34240 {
34241 return f != $ac_func;
34242 ;
34243 return 0;
34244 }
34245 _ACEOF
34246 rm -f conftest.$ac_objext conftest$ac_exeext
34247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34248 (eval $ac_link) 2>conftest.er1
34249 ac_status=$?
34250 grep -v '^ *+' conftest.er1 >conftest.err
34251 rm -f conftest.er1
34252 cat conftest.err >&5
34253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34254 (exit $ac_status); } &&
34255 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34257 (eval $ac_try) 2>&5
34258 ac_status=$?
34259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34260 (exit $ac_status); }; } &&
34261 { ac_try='test -s conftest$ac_exeext'
34262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34263 (eval $ac_try) 2>&5
34264 ac_status=$?
34265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34266 (exit $ac_status); }; }; then
34267 eval "$as_ac_var=yes"
34268 else
34269 echo "$as_me: failed program was:" >&5
34270 sed 's/^/| /' conftest.$ac_ext >&5
34271
34272 eval "$as_ac_var=no"
34273 fi
34274 rm -f conftest.err conftest.$ac_objext \
34275 conftest$ac_exeext conftest.$ac_ext
34276 fi
34277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34278 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34279 if test `eval echo '${'$as_ac_var'}'` = yes; then
34280 cat >>confdefs.h <<_ACEOF
34281 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34282 _ACEOF
34283
34284 fi
34285 done
34286
34287
34288
34289
34290 for ac_func in putenv setenv
34291 do
34292 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34293 echo "$as_me:$LINENO: checking for $ac_func" >&5
34294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34295 if eval "test \"\${$as_ac_var+set}\" = set"; then
34296 echo $ECHO_N "(cached) $ECHO_C" >&6
34297 else
34298 cat >conftest.$ac_ext <<_ACEOF
34299 /* confdefs.h. */
34300 _ACEOF
34301 cat confdefs.h >>conftest.$ac_ext
34302 cat >>conftest.$ac_ext <<_ACEOF
34303 /* end confdefs.h. */
34304 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34306 #define $ac_func innocuous_$ac_func
34307
34308 /* System header to define __stub macros and hopefully few prototypes,
34309 which can conflict with char $ac_func (); below.
34310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34311 <limits.h> exists even on freestanding compilers. */
34312
34313 #ifdef __STDC__
34314 # include <limits.h>
34315 #else
34316 # include <assert.h>
34317 #endif
34318
34319 #undef $ac_func
34320
34321 /* Override any gcc2 internal prototype to avoid an error. */
34322 #ifdef __cplusplus
34323 extern "C"
34324 {
34325 #endif
34326 /* We use char because int might match the return type of a gcc2
34327 builtin and then its argument prototype would still apply. */
34328 char $ac_func ();
34329 /* The GNU C library defines this for functions which it implements
34330 to always fail with ENOSYS. Some functions are actually named
34331 something starting with __ and the normal name is an alias. */
34332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34333 choke me
34334 #else
34335 char (*f) () = $ac_func;
34336 #endif
34337 #ifdef __cplusplus
34338 }
34339 #endif
34340
34341 int
34342 main ()
34343 {
34344 return f != $ac_func;
34345 ;
34346 return 0;
34347 }
34348 _ACEOF
34349 rm -f conftest.$ac_objext conftest$ac_exeext
34350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34351 (eval $ac_link) 2>conftest.er1
34352 ac_status=$?
34353 grep -v '^ *+' conftest.er1 >conftest.err
34354 rm -f conftest.er1
34355 cat conftest.err >&5
34356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34357 (exit $ac_status); } &&
34358 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34360 (eval $ac_try) 2>&5
34361 ac_status=$?
34362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34363 (exit $ac_status); }; } &&
34364 { ac_try='test -s conftest$ac_exeext'
34365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34366 (eval $ac_try) 2>&5
34367 ac_status=$?
34368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34369 (exit $ac_status); }; }; then
34370 eval "$as_ac_var=yes"
34371 else
34372 echo "$as_me: failed program was:" >&5
34373 sed 's/^/| /' conftest.$ac_ext >&5
34374
34375 eval "$as_ac_var=no"
34376 fi
34377 rm -f conftest.err conftest.$ac_objext \
34378 conftest$ac_exeext conftest.$ac_ext
34379 fi
34380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34381 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34382 if test `eval echo '${'$as_ac_var'}'` = yes; then
34383 cat >>confdefs.h <<_ACEOF
34384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34385 _ACEOF
34386 break
34387 fi
34388 done
34389
34390
34391 HAVE_SOME_SLEEP_FUNC=0
34392 if test "$USE_BEOS" = 1; then
34393 cat >>confdefs.h <<\_ACEOF
34394 #define HAVE_SLEEP 1
34395 _ACEOF
34396
34397 HAVE_SOME_SLEEP_FUNC=1
34398 fi
34399
34400 if test "$USE_DARWIN" = 1; then
34401 cat >>confdefs.h <<\_ACEOF
34402 #define HAVE_USLEEP 1
34403 _ACEOF
34404
34405 HAVE_SOME_SLEEP_FUNC=1
34406 fi
34407
34408 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
34409 POSIX4_LINK=
34410
34411 for ac_func in nanosleep
34412 do
34413 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34414 echo "$as_me:$LINENO: checking for $ac_func" >&5
34415 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34416 if eval "test \"\${$as_ac_var+set}\" = set"; then
34417 echo $ECHO_N "(cached) $ECHO_C" >&6
34418 else
34419 cat >conftest.$ac_ext <<_ACEOF
34420 /* confdefs.h. */
34421 _ACEOF
34422 cat confdefs.h >>conftest.$ac_ext
34423 cat >>conftest.$ac_ext <<_ACEOF
34424 /* end confdefs.h. */
34425 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34426 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34427 #define $ac_func innocuous_$ac_func
34428
34429 /* System header to define __stub macros and hopefully few prototypes,
34430 which can conflict with char $ac_func (); below.
34431 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34432 <limits.h> exists even on freestanding compilers. */
34433
34434 #ifdef __STDC__
34435 # include <limits.h>
34436 #else
34437 # include <assert.h>
34438 #endif
34439
34440 #undef $ac_func
34441
34442 /* Override any gcc2 internal prototype to avoid an error. */
34443 #ifdef __cplusplus
34444 extern "C"
34445 {
34446 #endif
34447 /* We use char because int might match the return type of a gcc2
34448 builtin and then its argument prototype would still apply. */
34449 char $ac_func ();
34450 /* The GNU C library defines this for functions which it implements
34451 to always fail with ENOSYS. Some functions are actually named
34452 something starting with __ and the normal name is an alias. */
34453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34454 choke me
34455 #else
34456 char (*f) () = $ac_func;
34457 #endif
34458 #ifdef __cplusplus
34459 }
34460 #endif
34461
34462 int
34463 main ()
34464 {
34465 return f != $ac_func;
34466 ;
34467 return 0;
34468 }
34469 _ACEOF
34470 rm -f conftest.$ac_objext conftest$ac_exeext
34471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34472 (eval $ac_link) 2>conftest.er1
34473 ac_status=$?
34474 grep -v '^ *+' conftest.er1 >conftest.err
34475 rm -f conftest.er1
34476 cat conftest.err >&5
34477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34478 (exit $ac_status); } &&
34479 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34481 (eval $ac_try) 2>&5
34482 ac_status=$?
34483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34484 (exit $ac_status); }; } &&
34485 { ac_try='test -s conftest$ac_exeext'
34486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34487 (eval $ac_try) 2>&5
34488 ac_status=$?
34489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34490 (exit $ac_status); }; }; then
34491 eval "$as_ac_var=yes"
34492 else
34493 echo "$as_me: failed program was:" >&5
34494 sed 's/^/| /' conftest.$ac_ext >&5
34495
34496 eval "$as_ac_var=no"
34497 fi
34498 rm -f conftest.err conftest.$ac_objext \
34499 conftest$ac_exeext conftest.$ac_ext
34500 fi
34501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34502 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34503 if test `eval echo '${'$as_ac_var'}'` = yes; then
34504 cat >>confdefs.h <<_ACEOF
34505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34506 _ACEOF
34507 cat >>confdefs.h <<\_ACEOF
34508 #define HAVE_NANOSLEEP 1
34509 _ACEOF
34510
34511 else
34512
34513 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
34514 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
34515 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
34516 echo $ECHO_N "(cached) $ECHO_C" >&6
34517 else
34518 ac_check_lib_save_LIBS=$LIBS
34519 LIBS="-lposix4 $LIBS"
34520 cat >conftest.$ac_ext <<_ACEOF
34521 /* confdefs.h. */
34522 _ACEOF
34523 cat confdefs.h >>conftest.$ac_ext
34524 cat >>conftest.$ac_ext <<_ACEOF
34525 /* end confdefs.h. */
34526
34527 /* Override any gcc2 internal prototype to avoid an error. */
34528 #ifdef __cplusplus
34529 extern "C"
34530 #endif
34531 /* We use char because int might match the return type of a gcc2
34532 builtin and then its argument prototype would still apply. */
34533 char nanosleep ();
34534 int
34535 main ()
34536 {
34537 nanosleep ();
34538 ;
34539 return 0;
34540 }
34541 _ACEOF
34542 rm -f conftest.$ac_objext conftest$ac_exeext
34543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34544 (eval $ac_link) 2>conftest.er1
34545 ac_status=$?
34546 grep -v '^ *+' conftest.er1 >conftest.err
34547 rm -f conftest.er1
34548 cat conftest.err >&5
34549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34550 (exit $ac_status); } &&
34551 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34553 (eval $ac_try) 2>&5
34554 ac_status=$?
34555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34556 (exit $ac_status); }; } &&
34557 { ac_try='test -s conftest$ac_exeext'
34558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34559 (eval $ac_try) 2>&5
34560 ac_status=$?
34561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34562 (exit $ac_status); }; }; then
34563 ac_cv_lib_posix4_nanosleep=yes
34564 else
34565 echo "$as_me: failed program was:" >&5
34566 sed 's/^/| /' conftest.$ac_ext >&5
34567
34568 ac_cv_lib_posix4_nanosleep=no
34569 fi
34570 rm -f conftest.err conftest.$ac_objext \
34571 conftest$ac_exeext conftest.$ac_ext
34572 LIBS=$ac_check_lib_save_LIBS
34573 fi
34574 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
34575 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
34576 if test $ac_cv_lib_posix4_nanosleep = yes; then
34577
34578 cat >>confdefs.h <<\_ACEOF
34579 #define HAVE_NANOSLEEP 1
34580 _ACEOF
34581
34582 POSIX4_LINK=" -lposix4"
34583
34584 else
34585
34586
34587 for ac_func in usleep
34588 do
34589 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34590 echo "$as_me:$LINENO: checking for $ac_func" >&5
34591 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34592 if eval "test \"\${$as_ac_var+set}\" = set"; then
34593 echo $ECHO_N "(cached) $ECHO_C" >&6
34594 else
34595 cat >conftest.$ac_ext <<_ACEOF
34596 /* confdefs.h. */
34597 _ACEOF
34598 cat confdefs.h >>conftest.$ac_ext
34599 cat >>conftest.$ac_ext <<_ACEOF
34600 /* end confdefs.h. */
34601 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34602 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34603 #define $ac_func innocuous_$ac_func
34604
34605 /* System header to define __stub macros and hopefully few prototypes,
34606 which can conflict with char $ac_func (); below.
34607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34608 <limits.h> exists even on freestanding compilers. */
34609
34610 #ifdef __STDC__
34611 # include <limits.h>
34612 #else
34613 # include <assert.h>
34614 #endif
34615
34616 #undef $ac_func
34617
34618 /* Override any gcc2 internal prototype to avoid an error. */
34619 #ifdef __cplusplus
34620 extern "C"
34621 {
34622 #endif
34623 /* We use char because int might match the return type of a gcc2
34624 builtin and then its argument prototype would still apply. */
34625 char $ac_func ();
34626 /* The GNU C library defines this for functions which it implements
34627 to always fail with ENOSYS. Some functions are actually named
34628 something starting with __ and the normal name is an alias. */
34629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34630 choke me
34631 #else
34632 char (*f) () = $ac_func;
34633 #endif
34634 #ifdef __cplusplus
34635 }
34636 #endif
34637
34638 int
34639 main ()
34640 {
34641 return f != $ac_func;
34642 ;
34643 return 0;
34644 }
34645 _ACEOF
34646 rm -f conftest.$ac_objext conftest$ac_exeext
34647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34648 (eval $ac_link) 2>conftest.er1
34649 ac_status=$?
34650 grep -v '^ *+' conftest.er1 >conftest.err
34651 rm -f conftest.er1
34652 cat conftest.err >&5
34653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34654 (exit $ac_status); } &&
34655 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34657 (eval $ac_try) 2>&5
34658 ac_status=$?
34659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34660 (exit $ac_status); }; } &&
34661 { ac_try='test -s conftest$ac_exeext'
34662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34663 (eval $ac_try) 2>&5
34664 ac_status=$?
34665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34666 (exit $ac_status); }; }; then
34667 eval "$as_ac_var=yes"
34668 else
34669 echo "$as_me: failed program was:" >&5
34670 sed 's/^/| /' conftest.$ac_ext >&5
34671
34672 eval "$as_ac_var=no"
34673 fi
34674 rm -f conftest.err conftest.$ac_objext \
34675 conftest$ac_exeext conftest.$ac_ext
34676 fi
34677 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34678 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34679 if test `eval echo '${'$as_ac_var'}'` = yes; then
34680 cat >>confdefs.h <<_ACEOF
34681 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34682 _ACEOF
34683 cat >>confdefs.h <<\_ACEOF
34684 #define HAVE_USLEEP 1
34685 _ACEOF
34686
34687 else
34688 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
34689 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
34690
34691 fi
34692 done
34693
34694
34695
34696 fi
34697
34698
34699
34700 fi
34701 done
34702
34703 fi
34704
34705
34706
34707 for ac_func in uname gethostname
34708 do
34709 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34710 echo "$as_me:$LINENO: checking for $ac_func" >&5
34711 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34712 if eval "test \"\${$as_ac_var+set}\" = set"; then
34713 echo $ECHO_N "(cached) $ECHO_C" >&6
34714 else
34715 cat >conftest.$ac_ext <<_ACEOF
34716 /* confdefs.h. */
34717 _ACEOF
34718 cat confdefs.h >>conftest.$ac_ext
34719 cat >>conftest.$ac_ext <<_ACEOF
34720 /* end confdefs.h. */
34721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34723 #define $ac_func innocuous_$ac_func
34724
34725 /* System header to define __stub macros and hopefully few prototypes,
34726 which can conflict with char $ac_func (); below.
34727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34728 <limits.h> exists even on freestanding compilers. */
34729
34730 #ifdef __STDC__
34731 # include <limits.h>
34732 #else
34733 # include <assert.h>
34734 #endif
34735
34736 #undef $ac_func
34737
34738 /* Override any gcc2 internal prototype to avoid an error. */
34739 #ifdef __cplusplus
34740 extern "C"
34741 {
34742 #endif
34743 /* We use char because int might match the return type of a gcc2
34744 builtin and then its argument prototype would still apply. */
34745 char $ac_func ();
34746 /* The GNU C library defines this for functions which it implements
34747 to always fail with ENOSYS. Some functions are actually named
34748 something starting with __ and the normal name is an alias. */
34749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34750 choke me
34751 #else
34752 char (*f) () = $ac_func;
34753 #endif
34754 #ifdef __cplusplus
34755 }
34756 #endif
34757
34758 int
34759 main ()
34760 {
34761 return f != $ac_func;
34762 ;
34763 return 0;
34764 }
34765 _ACEOF
34766 rm -f conftest.$ac_objext conftest$ac_exeext
34767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34768 (eval $ac_link) 2>conftest.er1
34769 ac_status=$?
34770 grep -v '^ *+' conftest.er1 >conftest.err
34771 rm -f conftest.er1
34772 cat conftest.err >&5
34773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34774 (exit $ac_status); } &&
34775 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34777 (eval $ac_try) 2>&5
34778 ac_status=$?
34779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34780 (exit $ac_status); }; } &&
34781 { ac_try='test -s conftest$ac_exeext'
34782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34783 (eval $ac_try) 2>&5
34784 ac_status=$?
34785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34786 (exit $ac_status); }; }; then
34787 eval "$as_ac_var=yes"
34788 else
34789 echo "$as_me: failed program was:" >&5
34790 sed 's/^/| /' conftest.$ac_ext >&5
34791
34792 eval "$as_ac_var=no"
34793 fi
34794 rm -f conftest.err conftest.$ac_objext \
34795 conftest$ac_exeext conftest.$ac_ext
34796 fi
34797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34798 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34799 if test `eval echo '${'$as_ac_var'}'` = yes; then
34800 cat >>confdefs.h <<_ACEOF
34801 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34802 _ACEOF
34803 break
34804 fi
34805 done
34806
34807
34808
34809
34810 ac_ext=cc
34811 ac_cpp='$CXXCPP $CPPFLAGS'
34812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34815
34816
34817
34818 for ac_func in strtok_r
34819 do
34820 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34821 echo "$as_me:$LINENO: checking for $ac_func" >&5
34822 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34823 if eval "test \"\${$as_ac_var+set}\" = set"; then
34824 echo $ECHO_N "(cached) $ECHO_C" >&6
34825 else
34826 cat >conftest.$ac_ext <<_ACEOF
34827 /* confdefs.h. */
34828 _ACEOF
34829 cat confdefs.h >>conftest.$ac_ext
34830 cat >>conftest.$ac_ext <<_ACEOF
34831 /* end confdefs.h. */
34832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34833 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34834 #define $ac_func innocuous_$ac_func
34835
34836 /* System header to define __stub macros and hopefully few prototypes,
34837 which can conflict with char $ac_func (); below.
34838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34839 <limits.h> exists even on freestanding compilers. */
34840
34841 #ifdef __STDC__
34842 # include <limits.h>
34843 #else
34844 # include <assert.h>
34845 #endif
34846
34847 #undef $ac_func
34848
34849 /* Override any gcc2 internal prototype to avoid an error. */
34850 #ifdef __cplusplus
34851 extern "C"
34852 {
34853 #endif
34854 /* We use char because int might match the return type of a gcc2
34855 builtin and then its argument prototype would still apply. */
34856 char $ac_func ();
34857 /* The GNU C library defines this for functions which it implements
34858 to always fail with ENOSYS. Some functions are actually named
34859 something starting with __ and the normal name is an alias. */
34860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34861 choke me
34862 #else
34863 char (*f) () = $ac_func;
34864 #endif
34865 #ifdef __cplusplus
34866 }
34867 #endif
34868
34869 int
34870 main ()
34871 {
34872 return f != $ac_func;
34873 ;
34874 return 0;
34875 }
34876 _ACEOF
34877 rm -f conftest.$ac_objext conftest$ac_exeext
34878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34879 (eval $ac_link) 2>conftest.er1
34880 ac_status=$?
34881 grep -v '^ *+' conftest.er1 >conftest.err
34882 rm -f conftest.er1
34883 cat conftest.err >&5
34884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34885 (exit $ac_status); } &&
34886 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34888 (eval $ac_try) 2>&5
34889 ac_status=$?
34890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34891 (exit $ac_status); }; } &&
34892 { ac_try='test -s conftest$ac_exeext'
34893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34894 (eval $ac_try) 2>&5
34895 ac_status=$?
34896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34897 (exit $ac_status); }; }; then
34898 eval "$as_ac_var=yes"
34899 else
34900 echo "$as_me: failed program was:" >&5
34901 sed 's/^/| /' conftest.$ac_ext >&5
34902
34903 eval "$as_ac_var=no"
34904 fi
34905 rm -f conftest.err conftest.$ac_objext \
34906 conftest$ac_exeext conftest.$ac_ext
34907 fi
34908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34910 if test `eval echo '${'$as_ac_var'}'` = yes; then
34911 cat >>confdefs.h <<_ACEOF
34912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34913 _ACEOF
34914
34915 fi
34916 done
34917
34918
34919 ac_ext=c
34920 ac_cpp='$CPP $CPPFLAGS'
34921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34924
34925
34926 INET_LINK=
34927
34928 for ac_func in inet_addr
34929 do
34930 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34931 echo "$as_me:$LINENO: checking for $ac_func" >&5
34932 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34933 if eval "test \"\${$as_ac_var+set}\" = set"; then
34934 echo $ECHO_N "(cached) $ECHO_C" >&6
34935 else
34936 cat >conftest.$ac_ext <<_ACEOF
34937 /* confdefs.h. */
34938 _ACEOF
34939 cat confdefs.h >>conftest.$ac_ext
34940 cat >>conftest.$ac_ext <<_ACEOF
34941 /* end confdefs.h. */
34942 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34943 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34944 #define $ac_func innocuous_$ac_func
34945
34946 /* System header to define __stub macros and hopefully few prototypes,
34947 which can conflict with char $ac_func (); below.
34948 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34949 <limits.h> exists even on freestanding compilers. */
34950
34951 #ifdef __STDC__
34952 # include <limits.h>
34953 #else
34954 # include <assert.h>
34955 #endif
34956
34957 #undef $ac_func
34958
34959 /* Override any gcc2 internal prototype to avoid an error. */
34960 #ifdef __cplusplus
34961 extern "C"
34962 {
34963 #endif
34964 /* We use char because int might match the return type of a gcc2
34965 builtin and then its argument prototype would still apply. */
34966 char $ac_func ();
34967 /* The GNU C library defines this for functions which it implements
34968 to always fail with ENOSYS. Some functions are actually named
34969 something starting with __ and the normal name is an alias. */
34970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34971 choke me
34972 #else
34973 char (*f) () = $ac_func;
34974 #endif
34975 #ifdef __cplusplus
34976 }
34977 #endif
34978
34979 int
34980 main ()
34981 {
34982 return f != $ac_func;
34983 ;
34984 return 0;
34985 }
34986 _ACEOF
34987 rm -f conftest.$ac_objext conftest$ac_exeext
34988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34989 (eval $ac_link) 2>conftest.er1
34990 ac_status=$?
34991 grep -v '^ *+' conftest.er1 >conftest.err
34992 rm -f conftest.er1
34993 cat conftest.err >&5
34994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34995 (exit $ac_status); } &&
34996 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34998 (eval $ac_try) 2>&5
34999 ac_status=$?
35000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35001 (exit $ac_status); }; } &&
35002 { ac_try='test -s conftest$ac_exeext'
35003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35004 (eval $ac_try) 2>&5
35005 ac_status=$?
35006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35007 (exit $ac_status); }; }; then
35008 eval "$as_ac_var=yes"
35009 else
35010 echo "$as_me: failed program was:" >&5
35011 sed 's/^/| /' conftest.$ac_ext >&5
35012
35013 eval "$as_ac_var=no"
35014 fi
35015 rm -f conftest.err conftest.$ac_objext \
35016 conftest$ac_exeext conftest.$ac_ext
35017 fi
35018 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35019 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35020 if test `eval echo '${'$as_ac_var'}'` = yes; then
35021 cat >>confdefs.h <<_ACEOF
35022 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35023 _ACEOF
35024 cat >>confdefs.h <<\_ACEOF
35025 #define HAVE_INET_ADDR 1
35026 _ACEOF
35027
35028 else
35029
35030 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
35031 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
35032 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
35033 echo $ECHO_N "(cached) $ECHO_C" >&6
35034 else
35035 ac_check_lib_save_LIBS=$LIBS
35036 LIBS="-lnsl $LIBS"
35037 cat >conftest.$ac_ext <<_ACEOF
35038 /* confdefs.h. */
35039 _ACEOF
35040 cat confdefs.h >>conftest.$ac_ext
35041 cat >>conftest.$ac_ext <<_ACEOF
35042 /* end confdefs.h. */
35043
35044 /* Override any gcc2 internal prototype to avoid an error. */
35045 #ifdef __cplusplus
35046 extern "C"
35047 #endif
35048 /* We use char because int might match the return type of a gcc2
35049 builtin and then its argument prototype would still apply. */
35050 char inet_addr ();
35051 int
35052 main ()
35053 {
35054 inet_addr ();
35055 ;
35056 return 0;
35057 }
35058 _ACEOF
35059 rm -f conftest.$ac_objext conftest$ac_exeext
35060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35061 (eval $ac_link) 2>conftest.er1
35062 ac_status=$?
35063 grep -v '^ *+' conftest.er1 >conftest.err
35064 rm -f conftest.er1
35065 cat conftest.err >&5
35066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35067 (exit $ac_status); } &&
35068 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35070 (eval $ac_try) 2>&5
35071 ac_status=$?
35072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35073 (exit $ac_status); }; } &&
35074 { ac_try='test -s conftest$ac_exeext'
35075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35076 (eval $ac_try) 2>&5
35077 ac_status=$?
35078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35079 (exit $ac_status); }; }; then
35080 ac_cv_lib_nsl_inet_addr=yes
35081 else
35082 echo "$as_me: failed program was:" >&5
35083 sed 's/^/| /' conftest.$ac_ext >&5
35084
35085 ac_cv_lib_nsl_inet_addr=no
35086 fi
35087 rm -f conftest.err conftest.$ac_objext \
35088 conftest$ac_exeext conftest.$ac_ext
35089 LIBS=$ac_check_lib_save_LIBS
35090 fi
35091 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
35092 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
35093 if test $ac_cv_lib_nsl_inet_addr = yes; then
35094 INET_LINK="nsl"
35095 else
35096
35097 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
35098 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
35099 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
35100 echo $ECHO_N "(cached) $ECHO_C" >&6
35101 else
35102 ac_check_lib_save_LIBS=$LIBS
35103 LIBS="-lresolv $LIBS"
35104 cat >conftest.$ac_ext <<_ACEOF
35105 /* confdefs.h. */
35106 _ACEOF
35107 cat confdefs.h >>conftest.$ac_ext
35108 cat >>conftest.$ac_ext <<_ACEOF
35109 /* end confdefs.h. */
35110
35111 /* Override any gcc2 internal prototype to avoid an error. */
35112 #ifdef __cplusplus
35113 extern "C"
35114 #endif
35115 /* We use char because int might match the return type of a gcc2
35116 builtin and then its argument prototype would still apply. */
35117 char inet_addr ();
35118 int
35119 main ()
35120 {
35121 inet_addr ();
35122 ;
35123 return 0;
35124 }
35125 _ACEOF
35126 rm -f conftest.$ac_objext conftest$ac_exeext
35127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35128 (eval $ac_link) 2>conftest.er1
35129 ac_status=$?
35130 grep -v '^ *+' conftest.er1 >conftest.err
35131 rm -f conftest.er1
35132 cat conftest.err >&5
35133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35134 (exit $ac_status); } &&
35135 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35137 (eval $ac_try) 2>&5
35138 ac_status=$?
35139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35140 (exit $ac_status); }; } &&
35141 { ac_try='test -s conftest$ac_exeext'
35142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35143 (eval $ac_try) 2>&5
35144 ac_status=$?
35145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35146 (exit $ac_status); }; }; then
35147 ac_cv_lib_resolv_inet_addr=yes
35148 else
35149 echo "$as_me: failed program was:" >&5
35150 sed 's/^/| /' conftest.$ac_ext >&5
35151
35152 ac_cv_lib_resolv_inet_addr=no
35153 fi
35154 rm -f conftest.err conftest.$ac_objext \
35155 conftest$ac_exeext conftest.$ac_ext
35156 LIBS=$ac_check_lib_save_LIBS
35157 fi
35158 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
35159 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
35160 if test $ac_cv_lib_resolv_inet_addr = yes; then
35161 INET_LINK="resolv"
35162 else
35163
35164 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
35165 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
35166 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
35167 echo $ECHO_N "(cached) $ECHO_C" >&6
35168 else
35169 ac_check_lib_save_LIBS=$LIBS
35170 LIBS="-lsocket $LIBS"
35171 cat >conftest.$ac_ext <<_ACEOF
35172 /* confdefs.h. */
35173 _ACEOF
35174 cat confdefs.h >>conftest.$ac_ext
35175 cat >>conftest.$ac_ext <<_ACEOF
35176 /* end confdefs.h. */
35177
35178 /* Override any gcc2 internal prototype to avoid an error. */
35179 #ifdef __cplusplus
35180 extern "C"
35181 #endif
35182 /* We use char because int might match the return type of a gcc2
35183 builtin and then its argument prototype would still apply. */
35184 char inet_addr ();
35185 int
35186 main ()
35187 {
35188 inet_addr ();
35189 ;
35190 return 0;
35191 }
35192 _ACEOF
35193 rm -f conftest.$ac_objext conftest$ac_exeext
35194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35195 (eval $ac_link) 2>conftest.er1
35196 ac_status=$?
35197 grep -v '^ *+' conftest.er1 >conftest.err
35198 rm -f conftest.er1
35199 cat conftest.err >&5
35200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35201 (exit $ac_status); } &&
35202 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35204 (eval $ac_try) 2>&5
35205 ac_status=$?
35206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35207 (exit $ac_status); }; } &&
35208 { ac_try='test -s conftest$ac_exeext'
35209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35210 (eval $ac_try) 2>&5
35211 ac_status=$?
35212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35213 (exit $ac_status); }; }; then
35214 ac_cv_lib_socket_inet_addr=yes
35215 else
35216 echo "$as_me: failed program was:" >&5
35217 sed 's/^/| /' conftest.$ac_ext >&5
35218
35219 ac_cv_lib_socket_inet_addr=no
35220 fi
35221 rm -f conftest.err conftest.$ac_objext \
35222 conftest$ac_exeext conftest.$ac_ext
35223 LIBS=$ac_check_lib_save_LIBS
35224 fi
35225 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
35226 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
35227 if test $ac_cv_lib_socket_inet_addr = yes; then
35228 INET_LINK="socket"
35229
35230 fi
35231
35232
35233
35234 fi
35235
35236
35237
35238 fi
35239
35240
35241
35242 fi
35243 done
35244
35245
35246
35247 for ac_func in inet_aton
35248 do
35249 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35250 echo "$as_me:$LINENO: checking for $ac_func" >&5
35251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35252 if eval "test \"\${$as_ac_var+set}\" = set"; then
35253 echo $ECHO_N "(cached) $ECHO_C" >&6
35254 else
35255 cat >conftest.$ac_ext <<_ACEOF
35256 /* confdefs.h. */
35257 _ACEOF
35258 cat confdefs.h >>conftest.$ac_ext
35259 cat >>conftest.$ac_ext <<_ACEOF
35260 /* end confdefs.h. */
35261 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35262 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35263 #define $ac_func innocuous_$ac_func
35264
35265 /* System header to define __stub macros and hopefully few prototypes,
35266 which can conflict with char $ac_func (); below.
35267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35268 <limits.h> exists even on freestanding compilers. */
35269
35270 #ifdef __STDC__
35271 # include <limits.h>
35272 #else
35273 # include <assert.h>
35274 #endif
35275
35276 #undef $ac_func
35277
35278 /* Override any gcc2 internal prototype to avoid an error. */
35279 #ifdef __cplusplus
35280 extern "C"
35281 {
35282 #endif
35283 /* We use char because int might match the return type of a gcc2
35284 builtin and then its argument prototype would still apply. */
35285 char $ac_func ();
35286 /* The GNU C library defines this for functions which it implements
35287 to always fail with ENOSYS. Some functions are actually named
35288 something starting with __ and the normal name is an alias. */
35289 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35290 choke me
35291 #else
35292 char (*f) () = $ac_func;
35293 #endif
35294 #ifdef __cplusplus
35295 }
35296 #endif
35297
35298 int
35299 main ()
35300 {
35301 return f != $ac_func;
35302 ;
35303 return 0;
35304 }
35305 _ACEOF
35306 rm -f conftest.$ac_objext conftest$ac_exeext
35307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35308 (eval $ac_link) 2>conftest.er1
35309 ac_status=$?
35310 grep -v '^ *+' conftest.er1 >conftest.err
35311 rm -f conftest.er1
35312 cat conftest.err >&5
35313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35314 (exit $ac_status); } &&
35315 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35317 (eval $ac_try) 2>&5
35318 ac_status=$?
35319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35320 (exit $ac_status); }; } &&
35321 { ac_try='test -s conftest$ac_exeext'
35322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35323 (eval $ac_try) 2>&5
35324 ac_status=$?
35325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35326 (exit $ac_status); }; }; then
35327 eval "$as_ac_var=yes"
35328 else
35329 echo "$as_me: failed program was:" >&5
35330 sed 's/^/| /' conftest.$ac_ext >&5
35331
35332 eval "$as_ac_var=no"
35333 fi
35334 rm -f conftest.err conftest.$ac_objext \
35335 conftest$ac_exeext conftest.$ac_ext
35336 fi
35337 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35338 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35339 if test `eval echo '${'$as_ac_var'}'` = yes; then
35340 cat >>confdefs.h <<_ACEOF
35341 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35342 _ACEOF
35343 cat >>confdefs.h <<\_ACEOF
35344 #define HAVE_INET_ATON 1
35345 _ACEOF
35346
35347 else
35348
35349 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
35350 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
35351 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
35352 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
35353 echo $ECHO_N "(cached) $ECHO_C" >&6
35354 else
35355 ac_check_lib_save_LIBS=$LIBS
35356 LIBS="-l$INET_LINK $LIBS"
35357 cat >conftest.$ac_ext <<_ACEOF
35358 /* confdefs.h. */
35359 _ACEOF
35360 cat confdefs.h >>conftest.$ac_ext
35361 cat >>conftest.$ac_ext <<_ACEOF
35362 /* end confdefs.h. */
35363
35364 /* Override any gcc2 internal prototype to avoid an error. */
35365 #ifdef __cplusplus
35366 extern "C"
35367 #endif
35368 /* We use char because int might match the return type of a gcc2
35369 builtin and then its argument prototype would still apply. */
35370 char inet_aton ();
35371 int
35372 main ()
35373 {
35374 inet_aton ();
35375 ;
35376 return 0;
35377 }
35378 _ACEOF
35379 rm -f conftest.$ac_objext conftest$ac_exeext
35380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35381 (eval $ac_link) 2>conftest.er1
35382 ac_status=$?
35383 grep -v '^ *+' conftest.er1 >conftest.err
35384 rm -f conftest.er1
35385 cat conftest.err >&5
35386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35387 (exit $ac_status); } &&
35388 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35390 (eval $ac_try) 2>&5
35391 ac_status=$?
35392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35393 (exit $ac_status); }; } &&
35394 { ac_try='test -s conftest$ac_exeext'
35395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35396 (eval $ac_try) 2>&5
35397 ac_status=$?
35398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35399 (exit $ac_status); }; }; then
35400 eval "$as_ac_Lib=yes"
35401 else
35402 echo "$as_me: failed program was:" >&5
35403 sed 's/^/| /' conftest.$ac_ext >&5
35404
35405 eval "$as_ac_Lib=no"
35406 fi
35407 rm -f conftest.err conftest.$ac_objext \
35408 conftest$ac_exeext conftest.$ac_ext
35409 LIBS=$ac_check_lib_save_LIBS
35410 fi
35411 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
35412 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
35413 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
35414 cat >>confdefs.h <<\_ACEOF
35415 #define HAVE_INET_ATON 1
35416 _ACEOF
35417
35418 fi
35419
35420
35421 fi
35422 done
35423
35424
35425 if test "x$INET_LINK" != "x"; then
35426 cat >>confdefs.h <<\_ACEOF
35427 #define HAVE_INET_ADDR 1
35428 _ACEOF
35429
35430 INET_LINK=" -l$INET_LINK"
35431 fi
35432
35433 fi
35434
35435
35436
35437 EXTRALIBS_ESD=
35438 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
35439 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
35440 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
35441 echo $ECHO_N "(cached) $ECHO_C" >&6
35442 else
35443 ac_check_lib_save_LIBS=$LIBS
35444 LIBS="-lesd $LIBS"
35445 cat >conftest.$ac_ext <<_ACEOF
35446 /* confdefs.h. */
35447 _ACEOF
35448 cat confdefs.h >>conftest.$ac_ext
35449 cat >>conftest.$ac_ext <<_ACEOF
35450 /* end confdefs.h. */
35451
35452 /* Override any gcc2 internal prototype to avoid an error. */
35453 #ifdef __cplusplus
35454 extern "C"
35455 #endif
35456 /* We use char because int might match the return type of a gcc2
35457 builtin and then its argument prototype would still apply. */
35458 char esd_close ();
35459 int
35460 main ()
35461 {
35462 esd_close ();
35463 ;
35464 return 0;
35465 }
35466 _ACEOF
35467 rm -f conftest.$ac_objext conftest$ac_exeext
35468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35469 (eval $ac_link) 2>conftest.er1
35470 ac_status=$?
35471 grep -v '^ *+' conftest.er1 >conftest.err
35472 rm -f conftest.er1
35473 cat conftest.err >&5
35474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35475 (exit $ac_status); } &&
35476 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35478 (eval $ac_try) 2>&5
35479 ac_status=$?
35480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35481 (exit $ac_status); }; } &&
35482 { ac_try='test -s conftest$ac_exeext'
35483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35484 (eval $ac_try) 2>&5
35485 ac_status=$?
35486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35487 (exit $ac_status); }; }; then
35488 ac_cv_lib_esd_esd_close=yes
35489 else
35490 echo "$as_me: failed program was:" >&5
35491 sed 's/^/| /' conftest.$ac_ext >&5
35492
35493 ac_cv_lib_esd_esd_close=no
35494 fi
35495 rm -f conftest.err conftest.$ac_objext \
35496 conftest$ac_exeext conftest.$ac_ext
35497 LIBS=$ac_check_lib_save_LIBS
35498 fi
35499 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
35500 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
35501 if test $ac_cv_lib_esd_esd_close = yes; then
35502
35503
35504 for ac_header in esd.h
35505 do
35506 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35507 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35508 echo "$as_me:$LINENO: checking for $ac_header" >&5
35509 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35510 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35511 echo $ECHO_N "(cached) $ECHO_C" >&6
35512 fi
35513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35514 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35515 else
35516 # Is the header compilable?
35517 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35518 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35519 cat >conftest.$ac_ext <<_ACEOF
35520 /* confdefs.h. */
35521 _ACEOF
35522 cat confdefs.h >>conftest.$ac_ext
35523 cat >>conftest.$ac_ext <<_ACEOF
35524 /* end confdefs.h. */
35525 $ac_includes_default
35526 #include <$ac_header>
35527 _ACEOF
35528 rm -f conftest.$ac_objext
35529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35530 (eval $ac_compile) 2>conftest.er1
35531 ac_status=$?
35532 grep -v '^ *+' conftest.er1 >conftest.err
35533 rm -f conftest.er1
35534 cat conftest.err >&5
35535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35536 (exit $ac_status); } &&
35537 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35539 (eval $ac_try) 2>&5
35540 ac_status=$?
35541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35542 (exit $ac_status); }; } &&
35543 { ac_try='test -s conftest.$ac_objext'
35544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35545 (eval $ac_try) 2>&5
35546 ac_status=$?
35547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35548 (exit $ac_status); }; }; then
35549 ac_header_compiler=yes
35550 else
35551 echo "$as_me: failed program was:" >&5
35552 sed 's/^/| /' conftest.$ac_ext >&5
35553
35554 ac_header_compiler=no
35555 fi
35556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35557 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35558 echo "${ECHO_T}$ac_header_compiler" >&6
35559
35560 # Is the header present?
35561 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35562 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35563 cat >conftest.$ac_ext <<_ACEOF
35564 /* confdefs.h. */
35565 _ACEOF
35566 cat confdefs.h >>conftest.$ac_ext
35567 cat >>conftest.$ac_ext <<_ACEOF
35568 /* end confdefs.h. */
35569 #include <$ac_header>
35570 _ACEOF
35571 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35572 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
35573 ac_status=$?
35574 grep -v '^ *+' conftest.er1 >conftest.err
35575 rm -f conftest.er1
35576 cat conftest.err >&5
35577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35578 (exit $ac_status); } >/dev/null; then
35579 if test -s conftest.err; then
35580 ac_cpp_err=$ac_c_preproc_warn_flag
35581 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
35582 else
35583 ac_cpp_err=
35584 fi
35585 else
35586 ac_cpp_err=yes
35587 fi
35588 if test -z "$ac_cpp_err"; then
35589 ac_header_preproc=yes
35590 else
35591 echo "$as_me: failed program was:" >&5
35592 sed 's/^/| /' conftest.$ac_ext >&5
35593
35594 ac_header_preproc=no
35595 fi
35596 rm -f conftest.err conftest.$ac_ext
35597 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35598 echo "${ECHO_T}$ac_header_preproc" >&6
35599
35600 # So? What about this header?
35601 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35602 yes:no: )
35603 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35604 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35605 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35606 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35607 ac_header_preproc=yes
35608 ;;
35609 no:yes:* )
35610 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35611 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35612 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35613 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35614 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35615 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35616 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35617 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35618 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35619 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35620 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35621 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35622 (
35623 cat <<\_ASBOX
35624 ## ----------------------------------------- ##
35625 ## Report this to wx-dev@lists.wxwidgets.org ##
35626 ## ----------------------------------------- ##
35627 _ASBOX
35628 ) |
35629 sed "s/^/$as_me: WARNING: /" >&2
35630 ;;
35631 esac
35632 echo "$as_me:$LINENO: checking for $ac_header" >&5
35633 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35634 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35635 echo $ECHO_N "(cached) $ECHO_C" >&6
35636 else
35637 eval "$as_ac_Header=\$ac_header_preproc"
35638 fi
35639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35640 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35641
35642 fi
35643 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35644 cat >>confdefs.h <<_ACEOF
35645 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35646 _ACEOF
35647
35648 EXTRALIBS_ESD="-lesd"
35649
35650 fi
35651
35652 done
35653
35654
35655 fi
35656
35657
35658
35659 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
35660 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
35661 cat >conftest.$ac_ext <<_ACEOF
35662 /* confdefs.h. */
35663 _ACEOF
35664 cat confdefs.h >>conftest.$ac_ext
35665 cat >>conftest.$ac_ext <<_ACEOF
35666 /* end confdefs.h. */
35667 #ifdef __linux__
35668 #include <linux/cdrom.h>
35669 #else
35670 /* For Solaris */
35671 #include <sys/cdio.h>
35672 #endif
35673
35674 int
35675 main ()
35676 {
35677 struct cdrom_tocentry entry, old_entry;
35678 ;
35679 return 0;
35680 }
35681 _ACEOF
35682 rm -f conftest.$ac_objext
35683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35684 (eval $ac_compile) 2>conftest.er1
35685 ac_status=$?
35686 grep -v '^ *+' conftest.er1 >conftest.err
35687 rm -f conftest.er1
35688 cat conftest.err >&5
35689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35690 (exit $ac_status); } &&
35691 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35693 (eval $ac_try) 2>&5
35694 ac_status=$?
35695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35696 (exit $ac_status); }; } &&
35697 { ac_try='test -s conftest.$ac_objext'
35698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35699 (eval $ac_try) 2>&5
35700 ac_status=$?
35701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35702 (exit $ac_status); }; }; then
35703 echo "$as_me:$LINENO: result: yes" >&5
35704 echo "${ECHO_T}yes" >&6
35705 cat >>confdefs.h <<\_ACEOF
35706 #define HAVE_KNOWN_CDROM_INTERFACE 1
35707 _ACEOF
35708
35709 else
35710 echo "$as_me: failed program was:" >&5
35711 sed 's/^/| /' conftest.$ac_ext >&5
35712
35713 echo "$as_me:$LINENO: result: no" >&5
35714 echo "${ECHO_T}no" >&6
35715 fi
35716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35717
35718
35719 cat >confcache <<\_ACEOF
35720 # This file is a shell script that caches the results of configure
35721 # tests run on this system so they can be shared between configure
35722 # scripts and configure runs, see configure's option --config-cache.
35723 # It is not useful on other systems. If it contains results you don't
35724 # want to keep, you may remove or edit it.
35725 #
35726 # config.status only pays attention to the cache file if you give it
35727 # the --recheck option to rerun configure.
35728 #
35729 # `ac_cv_env_foo' variables (set or unset) will be overridden when
35730 # loading this file, other *unset* `ac_cv_foo' will be assigned the
35731 # following values.
35732
35733 _ACEOF
35734
35735 # The following way of writing the cache mishandles newlines in values,
35736 # but we know of no workaround that is simple, portable, and efficient.
35737 # So, don't put newlines in cache variables' values.
35738 # Ultrix sh set writes to stderr and can't be redirected directly,
35739 # and sets the high bit in the cache file unless we assign to the vars.
35740 {
35741 (set) 2>&1 |
35742 case `(ac_space=' '; set | grep ac_space) 2>&1` in
35743 *ac_space=\ *)
35744 # `set' does not quote correctly, so add quotes (double-quote
35745 # substitution turns \\\\ into \\, and sed turns \\ into \).
35746 sed -n \
35747 "s/'/'\\\\''/g;
35748 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
35749 ;;
35750 *)
35751 # `set' quotes correctly as required by POSIX, so do not add quotes.
35752 sed -n \
35753 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
35754 ;;
35755 esac;
35756 } |
35757 sed '
35758 t clear
35759 : clear
35760 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
35761 t end
35762 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
35763 : end' >>confcache
35764 if diff $cache_file confcache >/dev/null 2>&1; then :; else
35765 if test -w $cache_file; then
35766 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
35767 cat confcache >$cache_file
35768 else
35769 echo "not updating unwritable cache $cache_file"
35770 fi
35771 fi
35772 rm -f confcache
35773
35774
35775 CPP_MT_FLAG=
35776 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
35777
35778
35779 THREADS_LINK=
35780 THREADS_CFLAGS=
35781
35782 if test "$wxUSE_THREADS" = "yes" ; then
35783 if test "$USE_BEOS" = 1; then
35784 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
35785 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
35786 wxUSE_THREADS="no"
35787 fi
35788 fi
35789
35790 if test "$wxUSE_THREADS" = "yes" ; then
35791
35792
35793 THREAD_OPTS="-pthread"
35794 case "${host}" in
35795 *-*-solaris2* | *-*-sunos4* )
35796 if test "x$GCC" = "xyes"; then
35797 THREAD_OPTS="-pthreads $THREAD_OPTS"
35798 else
35799 THREAD_OPTS="-mt $THREAD_OPTS"
35800 fi
35801 ;;
35802 *-*-freebsd*)
35803 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
35804 ;;
35805 *-*-darwin* | *-*-cygwin* )
35806 THREAD_OPTS=""
35807 ;;
35808 *-*-aix*)
35809 THREAD_OPTS="pthreads"
35810 ;;
35811 *-hp-hpux* )
35812 if test "x$GCC" = "xyes"; then
35813 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
35814 THREAD_OPTS=""
35815 else
35816 THREAD_OPTS=""
35817 fi
35818 ;;
35819
35820 *-*-irix* )
35821 if test "x$GCC" = "xyes"; then
35822 THREAD_OPTS=""
35823 fi
35824 ;;
35825
35826 *-*-*UnixWare*)
35827 if test "x$GCC" != "xyes"; then
35828 THREAD_OPTS="-Ethread"
35829 fi
35830 ;;
35831 esac
35832
35833 THREAD_OPTS="$THREAD_OPTS pthread none"
35834
35835 THREADS_OK=no
35836 for flag in $THREAD_OPTS; do
35837 case $flag in
35838 none)
35839 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
35840 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
35841 ;;
35842
35843 -*)
35844 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
35845 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
35846 THREADS_CFLAGS="$flag"
35847 ;;
35848
35849 *)
35850 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
35851 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
35852 THREADS_LINK="-l$flag"
35853 ;;
35854 esac
35855
35856 save_LIBS="$LIBS"
35857 save_CFLAGS="$CFLAGS"
35858 LIBS="$THREADS_LINK $LIBS"
35859 CFLAGS="$THREADS_CFLAGS $CFLAGS"
35860
35861 cat >conftest.$ac_ext <<_ACEOF
35862 /* confdefs.h. */
35863 _ACEOF
35864 cat confdefs.h >>conftest.$ac_ext
35865 cat >>conftest.$ac_ext <<_ACEOF
35866 /* end confdefs.h. */
35867 #include <pthread.h>
35868 int
35869 main ()
35870 {
35871 pthread_create(0,0,0,0);
35872 ;
35873 return 0;
35874 }
35875 _ACEOF
35876 rm -f conftest.$ac_objext conftest$ac_exeext
35877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35878 (eval $ac_link) 2>conftest.er1
35879 ac_status=$?
35880 grep -v '^ *+' conftest.er1 >conftest.err
35881 rm -f conftest.er1
35882 cat conftest.err >&5
35883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35884 (exit $ac_status); } &&
35885 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35887 (eval $ac_try) 2>&5
35888 ac_status=$?
35889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35890 (exit $ac_status); }; } &&
35891 { ac_try='test -s conftest$ac_exeext'
35892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35893 (eval $ac_try) 2>&5
35894 ac_status=$?
35895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35896 (exit $ac_status); }; }; then
35897 THREADS_OK=yes
35898 else
35899 echo "$as_me: failed program was:" >&5
35900 sed 's/^/| /' conftest.$ac_ext >&5
35901
35902 fi
35903 rm -f conftest.err conftest.$ac_objext \
35904 conftest$ac_exeext conftest.$ac_ext
35905
35906 LIBS="$save_LIBS"
35907 CFLAGS="$save_CFLAGS"
35908
35909 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
35910 echo "${ECHO_T}$THREADS_OK" >&6
35911 if test "x$THREADS_OK" = "xyes"; then
35912 break;
35913 fi
35914
35915 THREADS_LINK=""
35916 THREADS_CFLAGS=""
35917 done
35918
35919 if test "x$THREADS_OK" != "xyes"; then
35920 wxUSE_THREADS=no
35921 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
35922 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
35923 else
35924 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
35925 LIBS="$THREADS_LINK $LIBS"
35926
35927 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
35928 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
35929 flag=no
35930 case "${host}" in
35931 *-aix*)
35932 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
35933 flag="-D_THREAD_SAFE"
35934 ;;
35935 *-freebsd*)
35936 flag="-D_THREAD_SAFE"
35937 ;;
35938 *-hp-hpux* )
35939 flag="-D_REENTRANT"
35940 if test "x$GCC" != "xyes"; then
35941 flag="$flag -D_RWSTD_MULTI_THREAD"
35942 fi
35943 ;;
35944 *solaris* | alpha*-osf*)
35945 flag="-D_REENTRANT"
35946 ;;
35947 esac
35948 echo "$as_me:$LINENO: result: ${flag}" >&5
35949 echo "${ECHO_T}${flag}" >&6
35950 if test "x$flag" != xno; then
35951 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
35952 fi
35953
35954 if test "x$THREADS_CFLAGS" != "x"; then
35955 CFLAGS="$CFLAGS $THREADS_CFLAGS"
35956 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
35957 fi
35958 fi
35959 fi
35960
35961 if test "$wxUSE_THREADS" = "yes" ; then
35962
35963 for ac_func in thr_setconcurrency
35964 do
35965 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35966 echo "$as_me:$LINENO: checking for $ac_func" >&5
35967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35968 if eval "test \"\${$as_ac_var+set}\" = set"; then
35969 echo $ECHO_N "(cached) $ECHO_C" >&6
35970 else
35971 cat >conftest.$ac_ext <<_ACEOF
35972 /* confdefs.h. */
35973 _ACEOF
35974 cat confdefs.h >>conftest.$ac_ext
35975 cat >>conftest.$ac_ext <<_ACEOF
35976 /* end confdefs.h. */
35977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35979 #define $ac_func innocuous_$ac_func
35980
35981 /* System header to define __stub macros and hopefully few prototypes,
35982 which can conflict with char $ac_func (); below.
35983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35984 <limits.h> exists even on freestanding compilers. */
35985
35986 #ifdef __STDC__
35987 # include <limits.h>
35988 #else
35989 # include <assert.h>
35990 #endif
35991
35992 #undef $ac_func
35993
35994 /* Override any gcc2 internal prototype to avoid an error. */
35995 #ifdef __cplusplus
35996 extern "C"
35997 {
35998 #endif
35999 /* We use char because int might match the return type of a gcc2
36000 builtin and then its argument prototype would still apply. */
36001 char $ac_func ();
36002 /* The GNU C library defines this for functions which it implements
36003 to always fail with ENOSYS. Some functions are actually named
36004 something starting with __ and the normal name is an alias. */
36005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36006 choke me
36007 #else
36008 char (*f) () = $ac_func;
36009 #endif
36010 #ifdef __cplusplus
36011 }
36012 #endif
36013
36014 int
36015 main ()
36016 {
36017 return f != $ac_func;
36018 ;
36019 return 0;
36020 }
36021 _ACEOF
36022 rm -f conftest.$ac_objext conftest$ac_exeext
36023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36024 (eval $ac_link) 2>conftest.er1
36025 ac_status=$?
36026 grep -v '^ *+' conftest.er1 >conftest.err
36027 rm -f conftest.er1
36028 cat conftest.err >&5
36029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36030 (exit $ac_status); } &&
36031 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36033 (eval $ac_try) 2>&5
36034 ac_status=$?
36035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36036 (exit $ac_status); }; } &&
36037 { ac_try='test -s conftest$ac_exeext'
36038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36039 (eval $ac_try) 2>&5
36040 ac_status=$?
36041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36042 (exit $ac_status); }; }; then
36043 eval "$as_ac_var=yes"
36044 else
36045 echo "$as_me: failed program was:" >&5
36046 sed 's/^/| /' conftest.$ac_ext >&5
36047
36048 eval "$as_ac_var=no"
36049 fi
36050 rm -f conftest.err conftest.$ac_objext \
36051 conftest$ac_exeext conftest.$ac_ext
36052 fi
36053 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36054 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36055 if test `eval echo '${'$as_ac_var'}'` = yes; then
36056 cat >>confdefs.h <<_ACEOF
36057 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36058 _ACEOF
36059
36060 fi
36061 done
36062
36063
36064 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
36065 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
36066 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
36067 echo $ECHO_N "(cached) $ECHO_C" >&6
36068 else
36069
36070 cat >conftest.$ac_ext <<_ACEOF
36071 /* confdefs.h. */
36072 _ACEOF
36073 cat confdefs.h >>conftest.$ac_ext
36074 cat >>conftest.$ac_ext <<_ACEOF
36075 /* end confdefs.h. */
36076 #include <pthread.h>
36077 void ThreadCleanupFunc(void *p);
36078
36079 int
36080 main ()
36081 {
36082
36083 void *p;
36084 pthread_cleanup_push(ThreadCleanupFunc, p);
36085 pthread_cleanup_pop(0);
36086
36087 ;
36088 return 0;
36089 }
36090 _ACEOF
36091 rm -f conftest.$ac_objext
36092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36093 (eval $ac_compile) 2>conftest.er1
36094 ac_status=$?
36095 grep -v '^ *+' conftest.er1 >conftest.err
36096 rm -f conftest.er1
36097 cat conftest.err >&5
36098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36099 (exit $ac_status); } &&
36100 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36102 (eval $ac_try) 2>&5
36103 ac_status=$?
36104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36105 (exit $ac_status); }; } &&
36106 { ac_try='test -s conftest.$ac_objext'
36107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36108 (eval $ac_try) 2>&5
36109 ac_status=$?
36110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36111 (exit $ac_status); }; }; then
36112
36113 wx_cv_func_pthread_cleanup=yes
36114
36115 else
36116 echo "$as_me: failed program was:" >&5
36117 sed 's/^/| /' conftest.$ac_ext >&5
36118
36119
36120 wx_cv_func_pthread_cleanup=no
36121
36122
36123 fi
36124 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36125
36126 fi
36127 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
36128 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
36129 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
36130 cat >>confdefs.h <<\_ACEOF
36131 #define wxHAVE_PTHREAD_CLEANUP 1
36132 _ACEOF
36133
36134 fi
36135
36136
36137 for ac_header in sched.h
36138 do
36139 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36140 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36141 echo "$as_me:$LINENO: checking for $ac_header" >&5
36142 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36143 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36144 echo $ECHO_N "(cached) $ECHO_C" >&6
36145 fi
36146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36147 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36148 else
36149 # Is the header compilable?
36150 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36151 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36152 cat >conftest.$ac_ext <<_ACEOF
36153 /* confdefs.h. */
36154 _ACEOF
36155 cat confdefs.h >>conftest.$ac_ext
36156 cat >>conftest.$ac_ext <<_ACEOF
36157 /* end confdefs.h. */
36158 $ac_includes_default
36159 #include <$ac_header>
36160 _ACEOF
36161 rm -f conftest.$ac_objext
36162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36163 (eval $ac_compile) 2>conftest.er1
36164 ac_status=$?
36165 grep -v '^ *+' conftest.er1 >conftest.err
36166 rm -f conftest.er1
36167 cat conftest.err >&5
36168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36169 (exit $ac_status); } &&
36170 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36172 (eval $ac_try) 2>&5
36173 ac_status=$?
36174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36175 (exit $ac_status); }; } &&
36176 { ac_try='test -s conftest.$ac_objext'
36177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36178 (eval $ac_try) 2>&5
36179 ac_status=$?
36180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36181 (exit $ac_status); }; }; then
36182 ac_header_compiler=yes
36183 else
36184 echo "$as_me: failed program was:" >&5
36185 sed 's/^/| /' conftest.$ac_ext >&5
36186
36187 ac_header_compiler=no
36188 fi
36189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36190 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36191 echo "${ECHO_T}$ac_header_compiler" >&6
36192
36193 # Is the header present?
36194 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36195 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36196 cat >conftest.$ac_ext <<_ACEOF
36197 /* confdefs.h. */
36198 _ACEOF
36199 cat confdefs.h >>conftest.$ac_ext
36200 cat >>conftest.$ac_ext <<_ACEOF
36201 /* end confdefs.h. */
36202 #include <$ac_header>
36203 _ACEOF
36204 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36205 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
36206 ac_status=$?
36207 grep -v '^ *+' conftest.er1 >conftest.err
36208 rm -f conftest.er1
36209 cat conftest.err >&5
36210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36211 (exit $ac_status); } >/dev/null; then
36212 if test -s conftest.err; then
36213 ac_cpp_err=$ac_c_preproc_warn_flag
36214 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
36215 else
36216 ac_cpp_err=
36217 fi
36218 else
36219 ac_cpp_err=yes
36220 fi
36221 if test -z "$ac_cpp_err"; then
36222 ac_header_preproc=yes
36223 else
36224 echo "$as_me: failed program was:" >&5
36225 sed 's/^/| /' conftest.$ac_ext >&5
36226
36227 ac_header_preproc=no
36228 fi
36229 rm -f conftest.err conftest.$ac_ext
36230 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36231 echo "${ECHO_T}$ac_header_preproc" >&6
36232
36233 # So? What about this header?
36234 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36235 yes:no: )
36236 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36237 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36238 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36239 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36240 ac_header_preproc=yes
36241 ;;
36242 no:yes:* )
36243 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36244 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36245 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36246 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36247 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36248 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36249 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36250 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36251 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36252 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36253 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36254 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36255 (
36256 cat <<\_ASBOX
36257 ## ----------------------------------------- ##
36258 ## Report this to wx-dev@lists.wxwidgets.org ##
36259 ## ----------------------------------------- ##
36260 _ASBOX
36261 ) |
36262 sed "s/^/$as_me: WARNING: /" >&2
36263 ;;
36264 esac
36265 echo "$as_me:$LINENO: checking for $ac_header" >&5
36266 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36267 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36268 echo $ECHO_N "(cached) $ECHO_C" >&6
36269 else
36270 eval "$as_ac_Header=\$ac_header_preproc"
36271 fi
36272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36273 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36274
36275 fi
36276 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36277 cat >>confdefs.h <<_ACEOF
36278 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36279 _ACEOF
36280
36281 fi
36282
36283 done
36284
36285 if test "$ac_cv_header_sched_h" = "yes"; then
36286 echo "$as_me:$LINENO: checking for sched_yield" >&5
36287 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
36288 if test "${ac_cv_func_sched_yield+set}" = set; then
36289 echo $ECHO_N "(cached) $ECHO_C" >&6
36290 else
36291 cat >conftest.$ac_ext <<_ACEOF
36292 /* confdefs.h. */
36293 _ACEOF
36294 cat confdefs.h >>conftest.$ac_ext
36295 cat >>conftest.$ac_ext <<_ACEOF
36296 /* end confdefs.h. */
36297 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
36298 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36299 #define sched_yield innocuous_sched_yield
36300
36301 /* System header to define __stub macros and hopefully few prototypes,
36302 which can conflict with char sched_yield (); below.
36303 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36304 <limits.h> exists even on freestanding compilers. */
36305
36306 #ifdef __STDC__
36307 # include <limits.h>
36308 #else
36309 # include <assert.h>
36310 #endif
36311
36312 #undef sched_yield
36313
36314 /* Override any gcc2 internal prototype to avoid an error. */
36315 #ifdef __cplusplus
36316 extern "C"
36317 {
36318 #endif
36319 /* We use char because int might match the return type of a gcc2
36320 builtin and then its argument prototype would still apply. */
36321 char sched_yield ();
36322 /* The GNU C library defines this for functions which it implements
36323 to always fail with ENOSYS. Some functions are actually named
36324 something starting with __ and the normal name is an alias. */
36325 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
36326 choke me
36327 #else
36328 char (*f) () = sched_yield;
36329 #endif
36330 #ifdef __cplusplus
36331 }
36332 #endif
36333
36334 int
36335 main ()
36336 {
36337 return f != sched_yield;
36338 ;
36339 return 0;
36340 }
36341 _ACEOF
36342 rm -f conftest.$ac_objext conftest$ac_exeext
36343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36344 (eval $ac_link) 2>conftest.er1
36345 ac_status=$?
36346 grep -v '^ *+' conftest.er1 >conftest.err
36347 rm -f conftest.er1
36348 cat conftest.err >&5
36349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36350 (exit $ac_status); } &&
36351 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36353 (eval $ac_try) 2>&5
36354 ac_status=$?
36355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36356 (exit $ac_status); }; } &&
36357 { ac_try='test -s conftest$ac_exeext'
36358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36359 (eval $ac_try) 2>&5
36360 ac_status=$?
36361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36362 (exit $ac_status); }; }; then
36363 ac_cv_func_sched_yield=yes
36364 else
36365 echo "$as_me: failed program was:" >&5
36366 sed 's/^/| /' conftest.$ac_ext >&5
36367
36368 ac_cv_func_sched_yield=no
36369 fi
36370 rm -f conftest.err conftest.$ac_objext \
36371 conftest$ac_exeext conftest.$ac_ext
36372 fi
36373 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
36374 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
36375 if test $ac_cv_func_sched_yield = yes; then
36376 cat >>confdefs.h <<\_ACEOF
36377 #define HAVE_SCHED_YIELD 1
36378 _ACEOF
36379
36380 else
36381
36382 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
36383 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
36384 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
36385 echo $ECHO_N "(cached) $ECHO_C" >&6
36386 else
36387 ac_check_lib_save_LIBS=$LIBS
36388 LIBS="-lposix4 $LIBS"
36389 cat >conftest.$ac_ext <<_ACEOF
36390 /* confdefs.h. */
36391 _ACEOF
36392 cat confdefs.h >>conftest.$ac_ext
36393 cat >>conftest.$ac_ext <<_ACEOF
36394 /* end confdefs.h. */
36395
36396 /* Override any gcc2 internal prototype to avoid an error. */
36397 #ifdef __cplusplus
36398 extern "C"
36399 #endif
36400 /* We use char because int might match the return type of a gcc2
36401 builtin and then its argument prototype would still apply. */
36402 char sched_yield ();
36403 int
36404 main ()
36405 {
36406 sched_yield ();
36407 ;
36408 return 0;
36409 }
36410 _ACEOF
36411 rm -f conftest.$ac_objext conftest$ac_exeext
36412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36413 (eval $ac_link) 2>conftest.er1
36414 ac_status=$?
36415 grep -v '^ *+' conftest.er1 >conftest.err
36416 rm -f conftest.er1
36417 cat conftest.err >&5
36418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36419 (exit $ac_status); } &&
36420 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36422 (eval $ac_try) 2>&5
36423 ac_status=$?
36424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36425 (exit $ac_status); }; } &&
36426 { ac_try='test -s conftest$ac_exeext'
36427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36428 (eval $ac_try) 2>&5
36429 ac_status=$?
36430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36431 (exit $ac_status); }; }; then
36432 ac_cv_lib_posix4_sched_yield=yes
36433 else
36434 echo "$as_me: failed program was:" >&5
36435 sed 's/^/| /' conftest.$ac_ext >&5
36436
36437 ac_cv_lib_posix4_sched_yield=no
36438 fi
36439 rm -f conftest.err conftest.$ac_objext \
36440 conftest$ac_exeext conftest.$ac_ext
36441 LIBS=$ac_check_lib_save_LIBS
36442 fi
36443 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
36444 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
36445 if test $ac_cv_lib_posix4_sched_yield = yes; then
36446 cat >>confdefs.h <<\_ACEOF
36447 #define HAVE_SCHED_YIELD 1
36448 _ACEOF
36449 POSIX4_LINK=" -lposix4"
36450 else
36451 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
36452 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
36453
36454 fi
36455
36456
36457
36458 fi
36459
36460 fi
36461
36462 HAVE_PRIOR_FUNCS=0
36463 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
36464 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
36465 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
36466 echo $ECHO_N "(cached) $ECHO_C" >&6
36467 else
36468 cat >conftest.$ac_ext <<_ACEOF
36469 /* confdefs.h. */
36470 _ACEOF
36471 cat confdefs.h >>conftest.$ac_ext
36472 cat >>conftest.$ac_ext <<_ACEOF
36473 /* end confdefs.h. */
36474 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
36475 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36476 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
36477
36478 /* System header to define __stub macros and hopefully few prototypes,
36479 which can conflict with char pthread_attr_getschedpolicy (); below.
36480 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36481 <limits.h> exists even on freestanding compilers. */
36482
36483 #ifdef __STDC__
36484 # include <limits.h>
36485 #else
36486 # include <assert.h>
36487 #endif
36488
36489 #undef pthread_attr_getschedpolicy
36490
36491 /* Override any gcc2 internal prototype to avoid an error. */
36492 #ifdef __cplusplus
36493 extern "C"
36494 {
36495 #endif
36496 /* We use char because int might match the return type of a gcc2
36497 builtin and then its argument prototype would still apply. */
36498 char pthread_attr_getschedpolicy ();
36499 /* The GNU C library defines this for functions which it implements
36500 to always fail with ENOSYS. Some functions are actually named
36501 something starting with __ and the normal name is an alias. */
36502 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
36503 choke me
36504 #else
36505 char (*f) () = pthread_attr_getschedpolicy;
36506 #endif
36507 #ifdef __cplusplus
36508 }
36509 #endif
36510
36511 int
36512 main ()
36513 {
36514 return f != pthread_attr_getschedpolicy;
36515 ;
36516 return 0;
36517 }
36518 _ACEOF
36519 rm -f conftest.$ac_objext conftest$ac_exeext
36520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36521 (eval $ac_link) 2>conftest.er1
36522 ac_status=$?
36523 grep -v '^ *+' conftest.er1 >conftest.err
36524 rm -f conftest.er1
36525 cat conftest.err >&5
36526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36527 (exit $ac_status); } &&
36528 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36530 (eval $ac_try) 2>&5
36531 ac_status=$?
36532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36533 (exit $ac_status); }; } &&
36534 { ac_try='test -s conftest$ac_exeext'
36535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36536 (eval $ac_try) 2>&5
36537 ac_status=$?
36538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36539 (exit $ac_status); }; }; then
36540 ac_cv_func_pthread_attr_getschedpolicy=yes
36541 else
36542 echo "$as_me: failed program was:" >&5
36543 sed 's/^/| /' conftest.$ac_ext >&5
36544
36545 ac_cv_func_pthread_attr_getschedpolicy=no
36546 fi
36547 rm -f conftest.err conftest.$ac_objext \
36548 conftest$ac_exeext conftest.$ac_ext
36549 fi
36550 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
36551 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
36552 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
36553 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
36554 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
36555 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
36556 echo $ECHO_N "(cached) $ECHO_C" >&6
36557 else
36558 cat >conftest.$ac_ext <<_ACEOF
36559 /* confdefs.h. */
36560 _ACEOF
36561 cat confdefs.h >>conftest.$ac_ext
36562 cat >>conftest.$ac_ext <<_ACEOF
36563 /* end confdefs.h. */
36564 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
36565 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36566 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
36567
36568 /* System header to define __stub macros and hopefully few prototypes,
36569 which can conflict with char pthread_attr_setschedparam (); below.
36570 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36571 <limits.h> exists even on freestanding compilers. */
36572
36573 #ifdef __STDC__
36574 # include <limits.h>
36575 #else
36576 # include <assert.h>
36577 #endif
36578
36579 #undef pthread_attr_setschedparam
36580
36581 /* Override any gcc2 internal prototype to avoid an error. */
36582 #ifdef __cplusplus
36583 extern "C"
36584 {
36585 #endif
36586 /* We use char because int might match the return type of a gcc2
36587 builtin and then its argument prototype would still apply. */
36588 char pthread_attr_setschedparam ();
36589 /* The GNU C library defines this for functions which it implements
36590 to always fail with ENOSYS. Some functions are actually named
36591 something starting with __ and the normal name is an alias. */
36592 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
36593 choke me
36594 #else
36595 char (*f) () = pthread_attr_setschedparam;
36596 #endif
36597 #ifdef __cplusplus
36598 }
36599 #endif
36600
36601 int
36602 main ()
36603 {
36604 return f != pthread_attr_setschedparam;
36605 ;
36606 return 0;
36607 }
36608 _ACEOF
36609 rm -f conftest.$ac_objext conftest$ac_exeext
36610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36611 (eval $ac_link) 2>conftest.er1
36612 ac_status=$?
36613 grep -v '^ *+' conftest.er1 >conftest.err
36614 rm -f conftest.er1
36615 cat conftest.err >&5
36616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36617 (exit $ac_status); } &&
36618 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36620 (eval $ac_try) 2>&5
36621 ac_status=$?
36622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36623 (exit $ac_status); }; } &&
36624 { ac_try='test -s conftest$ac_exeext'
36625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36626 (eval $ac_try) 2>&5
36627 ac_status=$?
36628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36629 (exit $ac_status); }; }; then
36630 ac_cv_func_pthread_attr_setschedparam=yes
36631 else
36632 echo "$as_me: failed program was:" >&5
36633 sed 's/^/| /' conftest.$ac_ext >&5
36634
36635 ac_cv_func_pthread_attr_setschedparam=no
36636 fi
36637 rm -f conftest.err conftest.$ac_objext \
36638 conftest$ac_exeext conftest.$ac_ext
36639 fi
36640 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
36641 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
36642 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
36643 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
36644 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
36645 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
36646 echo $ECHO_N "(cached) $ECHO_C" >&6
36647 else
36648 cat >conftest.$ac_ext <<_ACEOF
36649 /* confdefs.h. */
36650 _ACEOF
36651 cat confdefs.h >>conftest.$ac_ext
36652 cat >>conftest.$ac_ext <<_ACEOF
36653 /* end confdefs.h. */
36654 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
36655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36656 #define sched_get_priority_max innocuous_sched_get_priority_max
36657
36658 /* System header to define __stub macros and hopefully few prototypes,
36659 which can conflict with char sched_get_priority_max (); below.
36660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36661 <limits.h> exists even on freestanding compilers. */
36662
36663 #ifdef __STDC__
36664 # include <limits.h>
36665 #else
36666 # include <assert.h>
36667 #endif
36668
36669 #undef sched_get_priority_max
36670
36671 /* Override any gcc2 internal prototype to avoid an error. */
36672 #ifdef __cplusplus
36673 extern "C"
36674 {
36675 #endif
36676 /* We use char because int might match the return type of a gcc2
36677 builtin and then its argument prototype would still apply. */
36678 char sched_get_priority_max ();
36679 /* The GNU C library defines this for functions which it implements
36680 to always fail with ENOSYS. Some functions are actually named
36681 something starting with __ and the normal name is an alias. */
36682 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
36683 choke me
36684 #else
36685 char (*f) () = sched_get_priority_max;
36686 #endif
36687 #ifdef __cplusplus
36688 }
36689 #endif
36690
36691 int
36692 main ()
36693 {
36694 return f != sched_get_priority_max;
36695 ;
36696 return 0;
36697 }
36698 _ACEOF
36699 rm -f conftest.$ac_objext conftest$ac_exeext
36700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36701 (eval $ac_link) 2>conftest.er1
36702 ac_status=$?
36703 grep -v '^ *+' conftest.er1 >conftest.err
36704 rm -f conftest.er1
36705 cat conftest.err >&5
36706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36707 (exit $ac_status); } &&
36708 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36710 (eval $ac_try) 2>&5
36711 ac_status=$?
36712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36713 (exit $ac_status); }; } &&
36714 { ac_try='test -s conftest$ac_exeext'
36715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36716 (eval $ac_try) 2>&5
36717 ac_status=$?
36718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36719 (exit $ac_status); }; }; then
36720 ac_cv_func_sched_get_priority_max=yes
36721 else
36722 echo "$as_me: failed program was:" >&5
36723 sed 's/^/| /' conftest.$ac_ext >&5
36724
36725 ac_cv_func_sched_get_priority_max=no
36726 fi
36727 rm -f conftest.err conftest.$ac_objext \
36728 conftest$ac_exeext conftest.$ac_ext
36729 fi
36730 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
36731 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
36732 if test $ac_cv_func_sched_get_priority_max = yes; then
36733 HAVE_PRIOR_FUNCS=1
36734 else
36735 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
36736 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
36737 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
36738 echo $ECHO_N "(cached) $ECHO_C" >&6
36739 else
36740 ac_check_lib_save_LIBS=$LIBS
36741 LIBS="-lposix4 $LIBS"
36742 cat >conftest.$ac_ext <<_ACEOF
36743 /* confdefs.h. */
36744 _ACEOF
36745 cat confdefs.h >>conftest.$ac_ext
36746 cat >>conftest.$ac_ext <<_ACEOF
36747 /* end confdefs.h. */
36748
36749 /* Override any gcc2 internal prototype to avoid an error. */
36750 #ifdef __cplusplus
36751 extern "C"
36752 #endif
36753 /* We use char because int might match the return type of a gcc2
36754 builtin and then its argument prototype would still apply. */
36755 char sched_get_priority_max ();
36756 int
36757 main ()
36758 {
36759 sched_get_priority_max ();
36760 ;
36761 return 0;
36762 }
36763 _ACEOF
36764 rm -f conftest.$ac_objext conftest$ac_exeext
36765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36766 (eval $ac_link) 2>conftest.er1
36767 ac_status=$?
36768 grep -v '^ *+' conftest.er1 >conftest.err
36769 rm -f conftest.er1
36770 cat conftest.err >&5
36771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36772 (exit $ac_status); } &&
36773 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36775 (eval $ac_try) 2>&5
36776 ac_status=$?
36777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36778 (exit $ac_status); }; } &&
36779 { ac_try='test -s conftest$ac_exeext'
36780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36781 (eval $ac_try) 2>&5
36782 ac_status=$?
36783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36784 (exit $ac_status); }; }; then
36785 ac_cv_lib_posix4_sched_get_priority_max=yes
36786 else
36787 echo "$as_me: failed program was:" >&5
36788 sed 's/^/| /' conftest.$ac_ext >&5
36789
36790 ac_cv_lib_posix4_sched_get_priority_max=no
36791 fi
36792 rm -f conftest.err conftest.$ac_objext \
36793 conftest$ac_exeext conftest.$ac_ext
36794 LIBS=$ac_check_lib_save_LIBS
36795 fi
36796 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
36797 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
36798 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
36799
36800 HAVE_PRIOR_FUNCS=1
36801 POSIX4_LINK=" -lposix4"
36802
36803 fi
36804
36805
36806 fi
36807
36808
36809 fi
36810
36811
36812 fi
36813
36814
36815 if test "$HAVE_PRIOR_FUNCS" = 1; then
36816 cat >>confdefs.h <<\_ACEOF
36817 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
36818 _ACEOF
36819
36820 else
36821 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
36822 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
36823 fi
36824
36825 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
36826 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
36827 if test "${ac_cv_func_pthread_cancel+set}" = set; then
36828 echo $ECHO_N "(cached) $ECHO_C" >&6
36829 else
36830 cat >conftest.$ac_ext <<_ACEOF
36831 /* confdefs.h. */
36832 _ACEOF
36833 cat confdefs.h >>conftest.$ac_ext
36834 cat >>conftest.$ac_ext <<_ACEOF
36835 /* end confdefs.h. */
36836 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
36837 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36838 #define pthread_cancel innocuous_pthread_cancel
36839
36840 /* System header to define __stub macros and hopefully few prototypes,
36841 which can conflict with char pthread_cancel (); below.
36842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36843 <limits.h> exists even on freestanding compilers. */
36844
36845 #ifdef __STDC__
36846 # include <limits.h>
36847 #else
36848 # include <assert.h>
36849 #endif
36850
36851 #undef pthread_cancel
36852
36853 /* Override any gcc2 internal prototype to avoid an error. */
36854 #ifdef __cplusplus
36855 extern "C"
36856 {
36857 #endif
36858 /* We use char because int might match the return type of a gcc2
36859 builtin and then its argument prototype would still apply. */
36860 char pthread_cancel ();
36861 /* The GNU C library defines this for functions which it implements
36862 to always fail with ENOSYS. Some functions are actually named
36863 something starting with __ and the normal name is an alias. */
36864 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
36865 choke me
36866 #else
36867 char (*f) () = pthread_cancel;
36868 #endif
36869 #ifdef __cplusplus
36870 }
36871 #endif
36872
36873 int
36874 main ()
36875 {
36876 return f != pthread_cancel;
36877 ;
36878 return 0;
36879 }
36880 _ACEOF
36881 rm -f conftest.$ac_objext conftest$ac_exeext
36882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36883 (eval $ac_link) 2>conftest.er1
36884 ac_status=$?
36885 grep -v '^ *+' conftest.er1 >conftest.err
36886 rm -f conftest.er1
36887 cat conftest.err >&5
36888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36889 (exit $ac_status); } &&
36890 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36892 (eval $ac_try) 2>&5
36893 ac_status=$?
36894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36895 (exit $ac_status); }; } &&
36896 { ac_try='test -s conftest$ac_exeext'
36897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36898 (eval $ac_try) 2>&5
36899 ac_status=$?
36900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36901 (exit $ac_status); }; }; then
36902 ac_cv_func_pthread_cancel=yes
36903 else
36904 echo "$as_me: failed program was:" >&5
36905 sed 's/^/| /' conftest.$ac_ext >&5
36906
36907 ac_cv_func_pthread_cancel=no
36908 fi
36909 rm -f conftest.err conftest.$ac_objext \
36910 conftest$ac_exeext conftest.$ac_ext
36911 fi
36912 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
36913 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
36914 if test $ac_cv_func_pthread_cancel = yes; then
36915 cat >>confdefs.h <<\_ACEOF
36916 #define HAVE_PTHREAD_CANCEL 1
36917 _ACEOF
36918
36919 else
36920 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
36921 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
36922 fi
36923
36924
36925 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
36926 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
36927 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
36928 echo $ECHO_N "(cached) $ECHO_C" >&6
36929 else
36930 cat >conftest.$ac_ext <<_ACEOF
36931 /* confdefs.h. */
36932 _ACEOF
36933 cat confdefs.h >>conftest.$ac_ext
36934 cat >>conftest.$ac_ext <<_ACEOF
36935 /* end confdefs.h. */
36936 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
36937 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36938 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
36939
36940 /* System header to define __stub macros and hopefully few prototypes,
36941 which can conflict with char pthread_attr_setstacksize (); below.
36942 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36943 <limits.h> exists even on freestanding compilers. */
36944
36945 #ifdef __STDC__
36946 # include <limits.h>
36947 #else
36948 # include <assert.h>
36949 #endif
36950
36951 #undef pthread_attr_setstacksize
36952
36953 /* Override any gcc2 internal prototype to avoid an error. */
36954 #ifdef __cplusplus
36955 extern "C"
36956 {
36957 #endif
36958 /* We use char because int might match the return type of a gcc2
36959 builtin and then its argument prototype would still apply. */
36960 char pthread_attr_setstacksize ();
36961 /* The GNU C library defines this for functions which it implements
36962 to always fail with ENOSYS. Some functions are actually named
36963 something starting with __ and the normal name is an alias. */
36964 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
36965 choke me
36966 #else
36967 char (*f) () = pthread_attr_setstacksize;
36968 #endif
36969 #ifdef __cplusplus
36970 }
36971 #endif
36972
36973 int
36974 main ()
36975 {
36976 return f != pthread_attr_setstacksize;
36977 ;
36978 return 0;
36979 }
36980 _ACEOF
36981 rm -f conftest.$ac_objext conftest$ac_exeext
36982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36983 (eval $ac_link) 2>conftest.er1
36984 ac_status=$?
36985 grep -v '^ *+' conftest.er1 >conftest.err
36986 rm -f conftest.er1
36987 cat conftest.err >&5
36988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36989 (exit $ac_status); } &&
36990 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36992 (eval $ac_try) 2>&5
36993 ac_status=$?
36994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36995 (exit $ac_status); }; } &&
36996 { ac_try='test -s conftest$ac_exeext'
36997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36998 (eval $ac_try) 2>&5
36999 ac_status=$?
37000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37001 (exit $ac_status); }; }; then
37002 ac_cv_func_pthread_attr_setstacksize=yes
37003 else
37004 echo "$as_me: failed program was:" >&5
37005 sed 's/^/| /' conftest.$ac_ext >&5
37006
37007 ac_cv_func_pthread_attr_setstacksize=no
37008 fi
37009 rm -f conftest.err conftest.$ac_objext \
37010 conftest$ac_exeext conftest.$ac_ext
37011 fi
37012 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
37013 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
37014 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
37015 cat >>confdefs.h <<\_ACEOF
37016 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
37017 _ACEOF
37018
37019 fi
37020
37021
37022
37023 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
37024 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
37025 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
37026 echo $ECHO_N "(cached) $ECHO_C" >&6
37027 else
37028
37029 cat >conftest.$ac_ext <<_ACEOF
37030 /* confdefs.h. */
37031 _ACEOF
37032 cat confdefs.h >>conftest.$ac_ext
37033 cat >>conftest.$ac_ext <<_ACEOF
37034 /* end confdefs.h. */
37035 #include <pthread.h>
37036 int
37037 main ()
37038 {
37039
37040 pthread_mutexattr_t attr;
37041 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
37042
37043 ;
37044 return 0;
37045 }
37046 _ACEOF
37047 rm -f conftest.$ac_objext
37048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37049 (eval $ac_compile) 2>conftest.er1
37050 ac_status=$?
37051 grep -v '^ *+' conftest.er1 >conftest.err
37052 rm -f conftest.er1
37053 cat conftest.err >&5
37054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37055 (exit $ac_status); } &&
37056 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37058 (eval $ac_try) 2>&5
37059 ac_status=$?
37060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37061 (exit $ac_status); }; } &&
37062 { ac_try='test -s conftest.$ac_objext'
37063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37064 (eval $ac_try) 2>&5
37065 ac_status=$?
37066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37067 (exit $ac_status); }; }; then
37068
37069 wx_cv_type_pthread_mutexattr_t=yes
37070
37071 else
37072 echo "$as_me: failed program was:" >&5
37073 sed 's/^/| /' conftest.$ac_ext >&5
37074
37075
37076 wx_cv_type_pthread_mutexattr_t=no
37077
37078
37079 fi
37080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37081
37082 fi
37083 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
37084 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
37085
37086 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
37087 cat >>confdefs.h <<\_ACEOF
37088 #define HAVE_PTHREAD_MUTEXATTR_T 1
37089 _ACEOF
37090
37091 else
37092 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
37093 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
37094 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
37095 echo $ECHO_N "(cached) $ECHO_C" >&6
37096 else
37097
37098 cat >conftest.$ac_ext <<_ACEOF
37099 /* confdefs.h. */
37100 _ACEOF
37101 cat confdefs.h >>conftest.$ac_ext
37102 cat >>conftest.$ac_ext <<_ACEOF
37103 /* end confdefs.h. */
37104 #include <pthread.h>
37105 int
37106 main ()
37107 {
37108
37109 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
37110
37111 ;
37112 return 0;
37113 }
37114 _ACEOF
37115 rm -f conftest.$ac_objext
37116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37117 (eval $ac_compile) 2>conftest.er1
37118 ac_status=$?
37119 grep -v '^ *+' conftest.er1 >conftest.err
37120 rm -f conftest.er1
37121 cat conftest.err >&5
37122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37123 (exit $ac_status); } &&
37124 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37126 (eval $ac_try) 2>&5
37127 ac_status=$?
37128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37129 (exit $ac_status); }; } &&
37130 { ac_try='test -s conftest.$ac_objext'
37131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37132 (eval $ac_try) 2>&5
37133 ac_status=$?
37134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37135 (exit $ac_status); }; }; then
37136
37137 wx_cv_type_pthread_rec_mutex_init=yes
37138
37139 else
37140 echo "$as_me: failed program was:" >&5
37141 sed 's/^/| /' conftest.$ac_ext >&5
37142
37143
37144 wx_cv_type_pthread_rec_mutex_init=no
37145
37146
37147 fi
37148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37149
37150 fi
37151 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
37152 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
37153 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
37154 cat >>confdefs.h <<\_ACEOF
37155 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
37156 _ACEOF
37157
37158 else
37159 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
37160 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
37161 fi
37162 fi
37163 fi
37164
37165 else
37166 if test "$wxUSE_THREADS" = "yes" ; then
37167 case "${host}" in
37168 *-*-mingw32* )
37169 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
37170 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
37171 if test "${wx_cv_cflags_mthread+set}" = set; then
37172 echo $ECHO_N "(cached) $ECHO_C" >&6
37173 else
37174
37175 CFLAGS_OLD="$CFLAGS"
37176 CFLAGS="$CFLAGS -mthreads"
37177 cat >conftest.$ac_ext <<_ACEOF
37178 /* confdefs.h. */
37179 _ACEOF
37180 cat confdefs.h >>conftest.$ac_ext
37181 cat >>conftest.$ac_ext <<_ACEOF
37182 /* end confdefs.h. */
37183
37184 int
37185 main ()
37186 {
37187
37188 ;
37189 return 0;
37190 }
37191 _ACEOF
37192 rm -f conftest.$ac_objext
37193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37194 (eval $ac_compile) 2>conftest.er1
37195 ac_status=$?
37196 grep -v '^ *+' conftest.er1 >conftest.err
37197 rm -f conftest.er1
37198 cat conftest.err >&5
37199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37200 (exit $ac_status); } &&
37201 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37203 (eval $ac_try) 2>&5
37204 ac_status=$?
37205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37206 (exit $ac_status); }; } &&
37207 { ac_try='test -s conftest.$ac_objext'
37208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37209 (eval $ac_try) 2>&5
37210 ac_status=$?
37211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37212 (exit $ac_status); }; }; then
37213 wx_cv_cflags_mthread=yes
37214 else
37215 echo "$as_me: failed program was:" >&5
37216 sed 's/^/| /' conftest.$ac_ext >&5
37217
37218 wx_cv_cflags_mthread=no
37219
37220 fi
37221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37222
37223
37224 fi
37225 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
37226 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
37227
37228 if test "$wx_cv_cflags_mthread" = "yes"; then
37229 CXXFLAGS="$CXXFLAGS -mthreads"
37230 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
37231 LDFLAGS="$LDFLAGS -mthreads"
37232 else
37233 CFLAGS="$CFLAGS_OLD"
37234 fi
37235 ;;
37236 *-pc-os2*emx )
37237 CFLAGS="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
37238 CXXFLAGS="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
37239 LDFLAGS="$LDFLAGS -Zmt"
37240 ;;
37241 esac
37242 fi
37243 fi
37244
37245 if test "$wxUSE_THREADS" = "yes"; then
37246 cat >>confdefs.h <<\_ACEOF
37247 #define wxUSE_THREADS 1
37248 _ACEOF
37249
37250
37251 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
37252 else
37253 if test "$ac_cv_func_strtok_r" = "yes"; then
37254 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
37255 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
37256 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
37257 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
37258 echo "$as_me:$LINENO: result: yes" >&5
37259 echo "${ECHO_T}yes" >&6
37260 else
37261 echo "$as_me:$LINENO: result: no" >&5
37262 echo "${ECHO_T}no" >&6
37263 fi
37264 fi
37265 fi
37266
37267 if test "$WXGTK20" = 1 ; then
37268 cat >>confdefs.h <<_ACEOF
37269 #define __WXGTK20__ $WXGTK20
37270 _ACEOF
37271
37272 WXGTK12=1
37273 fi
37274
37275 if test "$WXGTK12" = 1 ; then
37276 cat >>confdefs.h <<_ACEOF
37277 #define __WXGTK12__ $WXGTK12
37278 _ACEOF
37279
37280 fi
37281
37282 if test "$WXGTK127" = 1 ; then
37283 cat >>confdefs.h <<_ACEOF
37284 #define __WXGTK127__ $WXGTK127
37285 _ACEOF
37286
37287 fi
37288
37289 if test "$WXGPE" = 1 ; then
37290 cat >>confdefs.h <<_ACEOF
37291 #define __WXGPE__ $WXGPE
37292 _ACEOF
37293
37294 fi
37295
37296 WXDEBUG=
37297
37298 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
37299 WXDEBUG="-g"
37300 wxUSE_OPTIMISE=no
37301 fi
37302
37303 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
37304 wxUSE_DEBUG_INFO=yes
37305 if test "$GCC" = yes; then
37306 WXDEBUG="-ggdb"
37307 fi
37308 fi
37309
37310 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
37311 cat >>confdefs.h <<\_ACEOF
37312 #define WXDEBUG 1
37313 _ACEOF
37314
37315 WXDEBUG_DEFINE="-D__WXDEBUG__"
37316 else
37317 if test "$wxUSE_GTK" = 1 ; then
37318 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
37319 fi
37320 fi
37321
37322 if test "$wxUSE_MEM_TRACING" = "yes" ; then
37323 cat >>confdefs.h <<\_ACEOF
37324 #define wxUSE_MEMORY_TRACING 1
37325 _ACEOF
37326
37327 cat >>confdefs.h <<\_ACEOF
37328 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
37329 _ACEOF
37330
37331 cat >>confdefs.h <<\_ACEOF
37332 #define wxUSE_DEBUG_NEW_ALWAYS 1
37333 _ACEOF
37334
37335 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
37336 fi
37337
37338 if test "$wxUSE_DMALLOC" = "yes" ; then
37339 DMALLOC_LIBS="-ldmallocthcxx"
37340 fi
37341
37342 PROFILE=
37343 if test "$wxUSE_PROFILE" = "yes" ; then
37344 PROFILE=" -pg"
37345 fi
37346
37347 CODE_GEN_FLAGS=
37348 CODE_GEN_FLAGS_CXX=
37349 if test "$GCC" = "yes" ; then
37350 if test "$wxUSE_NO_RTTI" = "yes" ; then
37351 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
37352 fi
37353 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
37354 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
37355 fi
37356 if test "$wxUSE_PERMISSIVE" = "yes" ; then
37357 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
37358 fi
37359
37360 case "${host}" in
37361 powerpc*-*-aix* )
37362 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
37363 ;;
37364 *-hppa* )
37365 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
37366 ;;
37367 esac
37368 fi
37369
37370 OPTIMISE=
37371 if test "$wxUSE_OPTIMISE" = "no" ; then
37372 if test "$GCC" = yes ; then
37373 OPTIMISE="-O0"
37374 fi
37375 else
37376 if test "$GCC" = yes ; then
37377 OPTIMISE="-O2"
37378
37379 case "${host}" in
37380 i586-*-*|i686-*-* )
37381 OPTIMISE="${OPTIMISE} "
37382 ;;
37383 esac
37384 else
37385 OPTIMISE="-O"
37386 fi
37387 fi
37388
37389
37390 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
37391 cat >>confdefs.h <<\_ACEOF
37392 #define WXWIN_COMPATIBILITY_2_2 1
37393 _ACEOF
37394
37395
37396 WXWIN_COMPATIBILITY_2_4="yes"
37397 fi
37398
37399 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
37400 cat >>confdefs.h <<\_ACEOF
37401 #define WXWIN_COMPATIBILITY_2_4 1
37402 _ACEOF
37403
37404 fi
37405
37406
37407 if test "$wxUSE_GUI" = "yes"; then
37408 cat >>confdefs.h <<\_ACEOF
37409 #define wxUSE_GUI 1
37410 _ACEOF
37411
37412
37413 fi
37414
37415
37416 if test "$wxUSE_UNIX" = "yes"; then
37417 cat >>confdefs.h <<\_ACEOF
37418 #define wxUSE_UNIX 1
37419 _ACEOF
37420
37421 fi
37422
37423
37424 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
37425
37426 HAVE_DL_FUNCS=0
37427 HAVE_SHL_FUNCS=0
37428 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
37429 if test "$USE_DARWIN" = 1; then
37430 HAVE_DL_FUNCS=1
37431 elif test "$USE_DOS" = 1; then
37432 HAVE_DL_FUNCS=0
37433 else
37434
37435 for ac_func in dlopen
37436 do
37437 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37438 echo "$as_me:$LINENO: checking for $ac_func" >&5
37439 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37440 if eval "test \"\${$as_ac_var+set}\" = set"; then
37441 echo $ECHO_N "(cached) $ECHO_C" >&6
37442 else
37443 cat >conftest.$ac_ext <<_ACEOF
37444 /* confdefs.h. */
37445 _ACEOF
37446 cat confdefs.h >>conftest.$ac_ext
37447 cat >>conftest.$ac_ext <<_ACEOF
37448 /* end confdefs.h. */
37449 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37450 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37451 #define $ac_func innocuous_$ac_func
37452
37453 /* System header to define __stub macros and hopefully few prototypes,
37454 which can conflict with char $ac_func (); below.
37455 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37456 <limits.h> exists even on freestanding compilers. */
37457
37458 #ifdef __STDC__
37459 # include <limits.h>
37460 #else
37461 # include <assert.h>
37462 #endif
37463
37464 #undef $ac_func
37465
37466 /* Override any gcc2 internal prototype to avoid an error. */
37467 #ifdef __cplusplus
37468 extern "C"
37469 {
37470 #endif
37471 /* We use char because int might match the return type of a gcc2
37472 builtin and then its argument prototype would still apply. */
37473 char $ac_func ();
37474 /* The GNU C library defines this for functions which it implements
37475 to always fail with ENOSYS. Some functions are actually named
37476 something starting with __ and the normal name is an alias. */
37477 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37478 choke me
37479 #else
37480 char (*f) () = $ac_func;
37481 #endif
37482 #ifdef __cplusplus
37483 }
37484 #endif
37485
37486 int
37487 main ()
37488 {
37489 return f != $ac_func;
37490 ;
37491 return 0;
37492 }
37493 _ACEOF
37494 rm -f conftest.$ac_objext conftest$ac_exeext
37495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37496 (eval $ac_link) 2>conftest.er1
37497 ac_status=$?
37498 grep -v '^ *+' conftest.er1 >conftest.err
37499 rm -f conftest.er1
37500 cat conftest.err >&5
37501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37502 (exit $ac_status); } &&
37503 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37505 (eval $ac_try) 2>&5
37506 ac_status=$?
37507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37508 (exit $ac_status); }; } &&
37509 { ac_try='test -s conftest$ac_exeext'
37510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37511 (eval $ac_try) 2>&5
37512 ac_status=$?
37513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37514 (exit $ac_status); }; }; then
37515 eval "$as_ac_var=yes"
37516 else
37517 echo "$as_me: failed program was:" >&5
37518 sed 's/^/| /' conftest.$ac_ext >&5
37519
37520 eval "$as_ac_var=no"
37521 fi
37522 rm -f conftest.err conftest.$ac_objext \
37523 conftest$ac_exeext conftest.$ac_ext
37524 fi
37525 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37526 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37527 if test `eval echo '${'$as_ac_var'}'` = yes; then
37528 cat >>confdefs.h <<_ACEOF
37529 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37530 _ACEOF
37531
37532 cat >>confdefs.h <<\_ACEOF
37533 #define HAVE_DLOPEN 1
37534 _ACEOF
37535
37536 HAVE_DL_FUNCS=1
37537
37538 else
37539
37540 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
37541 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
37542 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
37543 echo $ECHO_N "(cached) $ECHO_C" >&6
37544 else
37545 ac_check_lib_save_LIBS=$LIBS
37546 LIBS="-ldl $LIBS"
37547 cat >conftest.$ac_ext <<_ACEOF
37548 /* confdefs.h. */
37549 _ACEOF
37550 cat confdefs.h >>conftest.$ac_ext
37551 cat >>conftest.$ac_ext <<_ACEOF
37552 /* end confdefs.h. */
37553
37554 /* Override any gcc2 internal prototype to avoid an error. */
37555 #ifdef __cplusplus
37556 extern "C"
37557 #endif
37558 /* We use char because int might match the return type of a gcc2
37559 builtin and then its argument prototype would still apply. */
37560 char dlopen ();
37561 int
37562 main ()
37563 {
37564 dlopen ();
37565 ;
37566 return 0;
37567 }
37568 _ACEOF
37569 rm -f conftest.$ac_objext conftest$ac_exeext
37570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37571 (eval $ac_link) 2>conftest.er1
37572 ac_status=$?
37573 grep -v '^ *+' conftest.er1 >conftest.err
37574 rm -f conftest.er1
37575 cat conftest.err >&5
37576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37577 (exit $ac_status); } &&
37578 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37580 (eval $ac_try) 2>&5
37581 ac_status=$?
37582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37583 (exit $ac_status); }; } &&
37584 { ac_try='test -s conftest$ac_exeext'
37585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37586 (eval $ac_try) 2>&5
37587 ac_status=$?
37588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37589 (exit $ac_status); }; }; then
37590 ac_cv_lib_dl_dlopen=yes
37591 else
37592 echo "$as_me: failed program was:" >&5
37593 sed 's/^/| /' conftest.$ac_ext >&5
37594
37595 ac_cv_lib_dl_dlopen=no
37596 fi
37597 rm -f conftest.err conftest.$ac_objext \
37598 conftest$ac_exeext conftest.$ac_ext
37599 LIBS=$ac_check_lib_save_LIBS
37600 fi
37601 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
37602 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
37603 if test $ac_cv_lib_dl_dlopen = yes; then
37604
37605 cat >>confdefs.h <<\_ACEOF
37606 #define HAVE_DLOPEN 1
37607 _ACEOF
37608
37609 HAVE_DL_FUNCS=1
37610 DL_LINK=" -ldl$DL_LINK"
37611
37612 else
37613
37614
37615 for ac_func in shl_load
37616 do
37617 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37618 echo "$as_me:$LINENO: checking for $ac_func" >&5
37619 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37620 if eval "test \"\${$as_ac_var+set}\" = set"; then
37621 echo $ECHO_N "(cached) $ECHO_C" >&6
37622 else
37623 cat >conftest.$ac_ext <<_ACEOF
37624 /* confdefs.h. */
37625 _ACEOF
37626 cat confdefs.h >>conftest.$ac_ext
37627 cat >>conftest.$ac_ext <<_ACEOF
37628 /* end confdefs.h. */
37629 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37630 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37631 #define $ac_func innocuous_$ac_func
37632
37633 /* System header to define __stub macros and hopefully few prototypes,
37634 which can conflict with char $ac_func (); below.
37635 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37636 <limits.h> exists even on freestanding compilers. */
37637
37638 #ifdef __STDC__
37639 # include <limits.h>
37640 #else
37641 # include <assert.h>
37642 #endif
37643
37644 #undef $ac_func
37645
37646 /* Override any gcc2 internal prototype to avoid an error. */
37647 #ifdef __cplusplus
37648 extern "C"
37649 {
37650 #endif
37651 /* We use char because int might match the return type of a gcc2
37652 builtin and then its argument prototype would still apply. */
37653 char $ac_func ();
37654 /* The GNU C library defines this for functions which it implements
37655 to always fail with ENOSYS. Some functions are actually named
37656 something starting with __ and the normal name is an alias. */
37657 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37658 choke me
37659 #else
37660 char (*f) () = $ac_func;
37661 #endif
37662 #ifdef __cplusplus
37663 }
37664 #endif
37665
37666 int
37667 main ()
37668 {
37669 return f != $ac_func;
37670 ;
37671 return 0;
37672 }
37673 _ACEOF
37674 rm -f conftest.$ac_objext conftest$ac_exeext
37675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37676 (eval $ac_link) 2>conftest.er1
37677 ac_status=$?
37678 grep -v '^ *+' conftest.er1 >conftest.err
37679 rm -f conftest.er1
37680 cat conftest.err >&5
37681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37682 (exit $ac_status); } &&
37683 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37685 (eval $ac_try) 2>&5
37686 ac_status=$?
37687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37688 (exit $ac_status); }; } &&
37689 { ac_try='test -s conftest$ac_exeext'
37690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37691 (eval $ac_try) 2>&5
37692 ac_status=$?
37693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37694 (exit $ac_status); }; }; then
37695 eval "$as_ac_var=yes"
37696 else
37697 echo "$as_me: failed program was:" >&5
37698 sed 's/^/| /' conftest.$ac_ext >&5
37699
37700 eval "$as_ac_var=no"
37701 fi
37702 rm -f conftest.err conftest.$ac_objext \
37703 conftest$ac_exeext conftest.$ac_ext
37704 fi
37705 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37706 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37707 if test `eval echo '${'$as_ac_var'}'` = yes; then
37708 cat >>confdefs.h <<_ACEOF
37709 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37710 _ACEOF
37711
37712 cat >>confdefs.h <<\_ACEOF
37713 #define HAVE_SHL_LOAD 1
37714 _ACEOF
37715
37716 HAVE_SHL_FUNCS=1
37717
37718 else
37719
37720 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
37721 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
37722 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
37723 echo $ECHO_N "(cached) $ECHO_C" >&6
37724 else
37725 ac_check_lib_save_LIBS=$LIBS
37726 LIBS="-lshl_load $LIBS"
37727 cat >conftest.$ac_ext <<_ACEOF
37728 /* confdefs.h. */
37729 _ACEOF
37730 cat confdefs.h >>conftest.$ac_ext
37731 cat >>conftest.$ac_ext <<_ACEOF
37732 /* end confdefs.h. */
37733
37734 /* Override any gcc2 internal prototype to avoid an error. */
37735 #ifdef __cplusplus
37736 extern "C"
37737 #endif
37738 /* We use char because int might match the return type of a gcc2
37739 builtin and then its argument prototype would still apply. */
37740 char dld ();
37741 int
37742 main ()
37743 {
37744 dld ();
37745 ;
37746 return 0;
37747 }
37748 _ACEOF
37749 rm -f conftest.$ac_objext conftest$ac_exeext
37750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37751 (eval $ac_link) 2>conftest.er1
37752 ac_status=$?
37753 grep -v '^ *+' conftest.er1 >conftest.err
37754 rm -f conftest.er1
37755 cat conftest.err >&5
37756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37757 (exit $ac_status); } &&
37758 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37760 (eval $ac_try) 2>&5
37761 ac_status=$?
37762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37763 (exit $ac_status); }; } &&
37764 { ac_try='test -s conftest$ac_exeext'
37765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37766 (eval $ac_try) 2>&5
37767 ac_status=$?
37768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37769 (exit $ac_status); }; }; then
37770 ac_cv_lib_shl_load_dld=yes
37771 else
37772 echo "$as_me: failed program was:" >&5
37773 sed 's/^/| /' conftest.$ac_ext >&5
37774
37775 ac_cv_lib_shl_load_dld=no
37776 fi
37777 rm -f conftest.err conftest.$ac_objext \
37778 conftest$ac_exeext conftest.$ac_ext
37779 LIBS=$ac_check_lib_save_LIBS
37780 fi
37781 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
37782 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
37783 if test $ac_cv_lib_shl_load_dld = yes; then
37784
37785 HAVE_SHL_FUNCS=1
37786 DL_LINK=" -ldld$DL_LINK"
37787
37788 fi
37789
37790
37791 fi
37792 done
37793
37794
37795 fi
37796
37797
37798 fi
37799 done
37800
37801
37802 if test "$HAVE_DL_FUNCS" = 1; then
37803
37804 for ac_func in dlerror
37805 do
37806 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37807 echo "$as_me:$LINENO: checking for $ac_func" >&5
37808 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37809 if eval "test \"\${$as_ac_var+set}\" = set"; then
37810 echo $ECHO_N "(cached) $ECHO_C" >&6
37811 else
37812 cat >conftest.$ac_ext <<_ACEOF
37813 /* confdefs.h. */
37814 _ACEOF
37815 cat confdefs.h >>conftest.$ac_ext
37816 cat >>conftest.$ac_ext <<_ACEOF
37817 /* end confdefs.h. */
37818 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37819 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37820 #define $ac_func innocuous_$ac_func
37821
37822 /* System header to define __stub macros and hopefully few prototypes,
37823 which can conflict with char $ac_func (); below.
37824 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37825 <limits.h> exists even on freestanding compilers. */
37826
37827 #ifdef __STDC__
37828 # include <limits.h>
37829 #else
37830 # include <assert.h>
37831 #endif
37832
37833 #undef $ac_func
37834
37835 /* Override any gcc2 internal prototype to avoid an error. */
37836 #ifdef __cplusplus
37837 extern "C"
37838 {
37839 #endif
37840 /* We use char because int might match the return type of a gcc2
37841 builtin and then its argument prototype would still apply. */
37842 char $ac_func ();
37843 /* The GNU C library defines this for functions which it implements
37844 to always fail with ENOSYS. Some functions are actually named
37845 something starting with __ and the normal name is an alias. */
37846 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37847 choke me
37848 #else
37849 char (*f) () = $ac_func;
37850 #endif
37851 #ifdef __cplusplus
37852 }
37853 #endif
37854
37855 int
37856 main ()
37857 {
37858 return f != $ac_func;
37859 ;
37860 return 0;
37861 }
37862 _ACEOF
37863 rm -f conftest.$ac_objext conftest$ac_exeext
37864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37865 (eval $ac_link) 2>conftest.er1
37866 ac_status=$?
37867 grep -v '^ *+' conftest.er1 >conftest.err
37868 rm -f conftest.er1
37869 cat conftest.err >&5
37870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37871 (exit $ac_status); } &&
37872 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37874 (eval $ac_try) 2>&5
37875 ac_status=$?
37876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37877 (exit $ac_status); }; } &&
37878 { ac_try='test -s conftest$ac_exeext'
37879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37880 (eval $ac_try) 2>&5
37881 ac_status=$?
37882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37883 (exit $ac_status); }; }; then
37884 eval "$as_ac_var=yes"
37885 else
37886 echo "$as_me: failed program was:" >&5
37887 sed 's/^/| /' conftest.$ac_ext >&5
37888
37889 eval "$as_ac_var=no"
37890 fi
37891 rm -f conftest.err conftest.$ac_objext \
37892 conftest$ac_exeext conftest.$ac_ext
37893 fi
37894 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37895 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37896 if test `eval echo '${'$as_ac_var'}'` = yes; then
37897 cat >>confdefs.h <<_ACEOF
37898 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37899 _ACEOF
37900 cat >>confdefs.h <<\_ACEOF
37901 #define HAVE_DLERROR 1
37902 _ACEOF
37903
37904 else
37905
37906 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
37907 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
37908 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
37909 echo $ECHO_N "(cached) $ECHO_C" >&6
37910 else
37911 ac_check_lib_save_LIBS=$LIBS
37912 LIBS="-ldl $LIBS"
37913 cat >conftest.$ac_ext <<_ACEOF
37914 /* confdefs.h. */
37915 _ACEOF
37916 cat confdefs.h >>conftest.$ac_ext
37917 cat >>conftest.$ac_ext <<_ACEOF
37918 /* end confdefs.h. */
37919
37920 /* Override any gcc2 internal prototype to avoid an error. */
37921 #ifdef __cplusplus
37922 extern "C"
37923 #endif
37924 /* We use char because int might match the return type of a gcc2
37925 builtin and then its argument prototype would still apply. */
37926 char dlerror ();
37927 int
37928 main ()
37929 {
37930 dlerror ();
37931 ;
37932 return 0;
37933 }
37934 _ACEOF
37935 rm -f conftest.$ac_objext conftest$ac_exeext
37936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37937 (eval $ac_link) 2>conftest.er1
37938 ac_status=$?
37939 grep -v '^ *+' conftest.er1 >conftest.err
37940 rm -f conftest.er1
37941 cat conftest.err >&5
37942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37943 (exit $ac_status); } &&
37944 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37946 (eval $ac_try) 2>&5
37947 ac_status=$?
37948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37949 (exit $ac_status); }; } &&
37950 { ac_try='test -s conftest$ac_exeext'
37951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37952 (eval $ac_try) 2>&5
37953 ac_status=$?
37954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37955 (exit $ac_status); }; }; then
37956 ac_cv_lib_dl_dlerror=yes
37957 else
37958 echo "$as_me: failed program was:" >&5
37959 sed 's/^/| /' conftest.$ac_ext >&5
37960
37961 ac_cv_lib_dl_dlerror=no
37962 fi
37963 rm -f conftest.err conftest.$ac_objext \
37964 conftest$ac_exeext conftest.$ac_ext
37965 LIBS=$ac_check_lib_save_LIBS
37966 fi
37967 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
37968 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
37969 if test $ac_cv_lib_dl_dlerror = yes; then
37970 cat >>confdefs.h <<\_ACEOF
37971 #define HAVE_DLERROR 1
37972 _ACEOF
37973
37974 fi
37975
37976
37977
37978 fi
37979 done
37980
37981 fi
37982 fi
37983
37984 if test "$HAVE_DL_FUNCS" = 0; then
37985 if test "$HAVE_SHL_FUNCS" = 0; then
37986 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
37987 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
37988 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
37989 wxUSE_DYNAMIC_LOADER=no
37990 wxUSE_DYNLIB_CLASS=no
37991 else
37992 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
37993 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
37994 fi
37995 fi
37996 fi
37997 fi
37998 fi
37999
38000 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
38001 cat >>confdefs.h <<\_ACEOF
38002 #define wxUSE_DYNAMIC_LOADER 1
38003 _ACEOF
38004
38005 fi
38006 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
38007 cat >>confdefs.h <<\_ACEOF
38008 #define wxUSE_DYNLIB_CLASS 1
38009 _ACEOF
38010
38011 fi
38012
38013
38014
38015 if test "$wxUSE_PLUGINS" = "yes" ; then
38016 if test "$wxUSE_SHARED" = "no" ; then
38017 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
38018 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
38019 wxUSE_PLUGINS=no
38020 fi
38021 if test "$wxUSE_MONOLITHIC" = "yes" ; then
38022 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
38023 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
38024 wxUSE_PLUGINS=no
38025 fi
38026 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
38027 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
38028 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
38029 wxUSE_PLUGINS=no
38030 fi
38031 if test "$wxUSE_PLUGINS" = "yes" ; then
38032 cat >>confdefs.h <<\_ACEOF
38033 #define wxUSE_PLUGINS 1
38034 _ACEOF
38035
38036 fi
38037 fi
38038
38039
38040 if test "$wxUSE_STL" = "yes"; then
38041 cat >>confdefs.h <<\_ACEOF
38042 #define wxUSE_STL 1
38043 _ACEOF
38044
38045 fi
38046
38047 if test "$wxUSE_APPLE_IEEE" = "yes"; then
38048 cat >>confdefs.h <<\_ACEOF
38049 #define wxUSE_APPLE_IEEE 1
38050 _ACEOF
38051
38052 fi
38053
38054 if test "$wxUSE_TIMER" = "yes"; then
38055 cat >>confdefs.h <<\_ACEOF
38056 #define wxUSE_TIMER 1
38057 _ACEOF
38058
38059 fi
38060
38061 if test "$USE_UNIX" = "1" ; then
38062 echo "$as_me:$LINENO: checking for ioctl() in sys/soundcard.h" >&5
38063 echo $ECHO_N "checking for ioctl() in sys/soundcard.h... $ECHO_C" >&6
38064 if test "${ac_cv_header_sys_soundcard+set}" = set; then
38065 echo $ECHO_N "(cached) $ECHO_C" >&6
38066 else
38067
38068 cat >conftest.$ac_ext <<_ACEOF
38069 /* confdefs.h. */
38070 _ACEOF
38071 cat confdefs.h >>conftest.$ac_ext
38072 cat >>conftest.$ac_ext <<_ACEOF
38073 /* end confdefs.h. */
38074
38075 #include <sys/soundcard.h>
38076
38077 int
38078 main ()
38079 {
38080
38081 ioctl(0, SNDCTL_DSP_SYNC, 0);
38082
38083 ;
38084 return 0;
38085 }
38086 _ACEOF
38087 rm -f conftest.$ac_objext conftest$ac_exeext
38088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38089 (eval $ac_link) 2>conftest.er1
38090 ac_status=$?
38091 grep -v '^ *+' conftest.er1 >conftest.err
38092 rm -f conftest.er1
38093 cat conftest.err >&5
38094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38095 (exit $ac_status); } &&
38096 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38098 (eval $ac_try) 2>&5
38099 ac_status=$?
38100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38101 (exit $ac_status); }; } &&
38102 { ac_try='test -s conftest$ac_exeext'
38103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38104 (eval $ac_try) 2>&5
38105 ac_status=$?
38106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38107 (exit $ac_status); }; }; then
38108 ac_cv_header_sys_soundcard=yes
38109 else
38110 echo "$as_me: failed program was:" >&5
38111 sed 's/^/| /' conftest.$ac_ext >&5
38112
38113
38114 saveLibs="$LIBS"
38115 LIBS="$saveLibs -lossaudio"
38116 cat >conftest.$ac_ext <<_ACEOF
38117 /* confdefs.h. */
38118 _ACEOF
38119 cat confdefs.h >>conftest.$ac_ext
38120 cat >>conftest.$ac_ext <<_ACEOF
38121 /* end confdefs.h. */
38122
38123 #include <sys/soundcard.h>
38124
38125 int
38126 main ()
38127 {
38128
38129 ioctl(0, SNDCTL_DSP_SYNC, 0);
38130
38131 ;
38132 return 0;
38133 }
38134 _ACEOF
38135 rm -f conftest.$ac_objext conftest$ac_exeext
38136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38137 (eval $ac_link) 2>conftest.er1
38138 ac_status=$?
38139 grep -v '^ *+' conftest.er1 >conftest.err
38140 rm -f conftest.er1
38141 cat conftest.err >&5
38142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38143 (exit $ac_status); } &&
38144 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38146 (eval $ac_try) 2>&5
38147 ac_status=$?
38148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38149 (exit $ac_status); }; } &&
38150 { ac_try='test -s conftest$ac_exeext'
38151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38152 (eval $ac_try) 2>&5
38153 ac_status=$?
38154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38155 (exit $ac_status); }; }; then
38156 ac_cv_header_sys_soundcard=yes
38157 else
38158 echo "$as_me: failed program was:" >&5
38159 sed 's/^/| /' conftest.$ac_ext >&5
38160
38161
38162 LIBS="$saveLibs"
38163 ac_cv_header_sys_soundcard=no
38164
38165
38166 fi
38167 rm -f conftest.err conftest.$ac_objext \
38168 conftest$ac_exeext conftest.$ac_ext
38169
38170
38171 fi
38172 rm -f conftest.err conftest.$ac_objext \
38173 conftest$ac_exeext conftest.$ac_ext
38174
38175 fi
38176 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
38177 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
38178
38179 if test "$ac_cv_header_sys_soundcard" = "yes"; then
38180 cat >>confdefs.h <<\_ACEOF
38181 #define HAVE_SYS_SOUNDCARD_H 1
38182 _ACEOF
38183
38184 else
38185 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
38186 fi
38187 fi
38188 WITH_PLUGIN_SDL=0
38189 if test "$wxUSE_SOUND" = "yes"; then
38190 if test "$USE_UNIX" = "1" ; then
38191 if test "$wxUSE_LIBSDL" != "no"; then
38192
38193 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
38194 if test "${with_sdl_prefix+set}" = set; then
38195 withval="$with_sdl_prefix"
38196 sdl_prefix="$withval"
38197 else
38198 sdl_prefix=""
38199 fi;
38200
38201 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
38202 if test "${with_sdl_exec_prefix+set}" = set; then
38203 withval="$with_sdl_exec_prefix"
38204 sdl_exec_prefix="$withval"
38205 else
38206 sdl_exec_prefix=""
38207 fi;
38208 # Check whether --enable-sdltest or --disable-sdltest was given.
38209 if test "${enable_sdltest+set}" = set; then
38210 enableval="$enable_sdltest"
38211
38212 else
38213 enable_sdltest=yes
38214 fi;
38215
38216 if test x$sdl_exec_prefix != x ; then
38217 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
38218 if test x${SDL_CONFIG+set} != xset ; then
38219 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
38220 fi
38221 fi
38222 if test x$sdl_prefix != x ; then
38223 sdl_args="$sdl_args --prefix=$sdl_prefix"
38224 if test x${SDL_CONFIG+set} != xset ; then
38225 SDL_CONFIG=$sdl_prefix/bin/sdl-config
38226 fi
38227 fi
38228
38229
38230 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
38231 # Extract the first word of "sdl-config", so it can be a program name with args.
38232 set dummy sdl-config; ac_word=$2
38233 echo "$as_me:$LINENO: checking for $ac_word" >&5
38234 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38235 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
38236 echo $ECHO_N "(cached) $ECHO_C" >&6
38237 else
38238 case $SDL_CONFIG in
38239 [\\/]* | ?:[\\/]*)
38240 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
38241 ;;
38242 *)
38243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38244 for as_dir in $PATH
38245 do
38246 IFS=$as_save_IFS
38247 test -z "$as_dir" && as_dir=.
38248 for ac_exec_ext in '' $ac_executable_extensions; do
38249 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38250 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
38251 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38252 break 2
38253 fi
38254 done
38255 done
38256
38257 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
38258 ;;
38259 esac
38260 fi
38261 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
38262
38263 if test -n "$SDL_CONFIG"; then
38264 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
38265 echo "${ECHO_T}$SDL_CONFIG" >&6
38266 else
38267 echo "$as_me:$LINENO: result: no" >&5
38268 echo "${ECHO_T}no" >&6
38269 fi
38270
38271 min_sdl_version=1.2.0
38272 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
38273 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
38274 no_sdl=""
38275 if test "$SDL_CONFIG" = "no" ; then
38276 no_sdl=yes
38277 else
38278 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
38279 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
38280
38281 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
38282 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
38283 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
38284 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
38285 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
38286 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
38287 if test "x$enable_sdltest" = "xyes" ; then
38288 ac_save_CFLAGS="$CFLAGS"
38289 ac_save_CXXFLAGS="$CXXFLAGS"
38290 ac_save_LIBS="$LIBS"
38291 CFLAGS="$CFLAGS $SDL_CFLAGS"
38292 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
38293 LIBS="$LIBS $SDL_LIBS"
38294 rm -f conf.sdltest
38295 if test "$cross_compiling" = yes; then
38296 echo $ac_n "cross compiling; assumed OK... $ac_c"
38297 else
38298 cat >conftest.$ac_ext <<_ACEOF
38299 /* confdefs.h. */
38300 _ACEOF
38301 cat confdefs.h >>conftest.$ac_ext
38302 cat >>conftest.$ac_ext <<_ACEOF
38303 /* end confdefs.h. */
38304
38305 #include <stdio.h>
38306 #include <stdlib.h>
38307 #include <string.h>
38308 #include "SDL.h"
38309
38310 char*
38311 my_strdup (char *str)
38312 {
38313 char *new_str;
38314
38315 if (str)
38316 {
38317 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
38318 strcpy (new_str, str);
38319 }
38320 else
38321 new_str = NULL;
38322
38323 return new_str;
38324 }
38325
38326 int main (int argc, char *argv[])
38327 {
38328 int major, minor, micro;
38329 char *tmp_version;
38330
38331 /* This hangs on some systems (?)
38332 system ("touch conf.sdltest");
38333 */
38334 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
38335
38336 /* HP/UX 9 (%@#!) writes to sscanf strings */
38337 tmp_version = my_strdup("$min_sdl_version");
38338 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
38339 printf("%s, bad version string\n", "$min_sdl_version");
38340 exit(1);
38341 }
38342
38343 if (($sdl_major_version > major) ||
38344 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
38345 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
38346 {
38347 return 0;
38348 }
38349 else
38350 {
38351 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
38352 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
38353 printf("*** best to upgrade to the required version.\n");
38354 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
38355 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
38356 printf("*** config.cache before re-running configure\n");
38357 return 1;
38358 }
38359 }
38360
38361
38362 _ACEOF
38363 rm -f conftest$ac_exeext
38364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38365 (eval $ac_link) 2>&5
38366 ac_status=$?
38367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38368 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
38369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38370 (eval $ac_try) 2>&5
38371 ac_status=$?
38372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38373 (exit $ac_status); }; }; then
38374 :
38375 else
38376 echo "$as_me: program exited with status $ac_status" >&5
38377 echo "$as_me: failed program was:" >&5
38378 sed 's/^/| /' conftest.$ac_ext >&5
38379
38380 ( exit $ac_status )
38381 no_sdl=yes
38382 fi
38383 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
38384 fi
38385 CFLAGS="$ac_save_CFLAGS"
38386 CXXFLAGS="$ac_save_CXXFLAGS"
38387 LIBS="$ac_save_LIBS"
38388 fi
38389 fi
38390 if test "x$no_sdl" = x ; then
38391 echo "$as_me:$LINENO: result: yes" >&5
38392 echo "${ECHO_T}yes" >&6
38393
38394 EXTRALIBS_SDL="$SDL_LIBS"
38395 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
38396 cat >>confdefs.h <<\_ACEOF
38397 #define wxUSE_LIBSDL 1
38398 _ACEOF
38399
38400
38401 else
38402 echo "$as_me:$LINENO: result: no" >&5
38403 echo "${ECHO_T}no" >&6
38404 if test "$SDL_CONFIG" = "no" ; then
38405 echo "*** The sdl-config script installed by SDL could not be found"
38406 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
38407 echo "*** your path, or set the SDL_CONFIG environment variable to the"
38408 echo "*** full path to sdl-config."
38409 else
38410 if test -f conf.sdltest ; then
38411 :
38412 else
38413 echo "*** Could not run SDL test program, checking why..."
38414 CFLAGS="$CFLAGS $SDL_CFLAGS"
38415 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
38416 LIBS="$LIBS $SDL_LIBS"
38417 cat >conftest.$ac_ext <<_ACEOF
38418 /* confdefs.h. */
38419 _ACEOF
38420 cat confdefs.h >>conftest.$ac_ext
38421 cat >>conftest.$ac_ext <<_ACEOF
38422 /* end confdefs.h. */
38423
38424 #include <stdio.h>
38425 #include "SDL.h"
38426
38427 int main(int argc, char *argv[])
38428 { return 0; }
38429 #undef main
38430 #define main K_and_R_C_main
38431
38432 int
38433 main ()
38434 {
38435 return 0;
38436 ;
38437 return 0;
38438 }
38439 _ACEOF
38440 rm -f conftest.$ac_objext conftest$ac_exeext
38441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38442 (eval $ac_link) 2>conftest.er1
38443 ac_status=$?
38444 grep -v '^ *+' conftest.er1 >conftest.err
38445 rm -f conftest.er1
38446 cat conftest.err >&5
38447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38448 (exit $ac_status); } &&
38449 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38451 (eval $ac_try) 2>&5
38452 ac_status=$?
38453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38454 (exit $ac_status); }; } &&
38455 { ac_try='test -s conftest$ac_exeext'
38456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38457 (eval $ac_try) 2>&5
38458 ac_status=$?
38459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38460 (exit $ac_status); }; }; then
38461 echo "*** The test program compiled, but did not run. This usually means"
38462 echo "*** that the run-time linker is not finding SDL or finding the wrong"
38463 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
38464 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
38465 echo "*** to the installed location Also, make sure you have run ldconfig if that"
38466 echo "*** is required on your system"
38467 echo "***"
38468 echo "*** If you have an old version installed, it is best to remove it, although"
38469 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
38470 else
38471 echo "$as_me: failed program was:" >&5
38472 sed 's/^/| /' conftest.$ac_ext >&5
38473
38474 echo "*** The test program failed to compile or link. See the file config.log for the"
38475 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
38476 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
38477 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
38478 fi
38479 rm -f conftest.err conftest.$ac_objext \
38480 conftest$ac_exeext conftest.$ac_ext
38481 CFLAGS="$ac_save_CFLAGS"
38482 CXXFLAGS="$ac_save_CXXFLAGS"
38483 LIBS="$ac_save_LIBS"
38484 fi
38485 fi
38486 SDL_CFLAGS=""
38487 SDL_LIBS=""
38488 wxUSE_LIBSDL="no"
38489 fi
38490
38491
38492 rm -f conf.sdltest
38493
38494 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
38495 WITH_PLUGIN_SDL=1
38496 fi
38497 fi
38498 fi
38499
38500 cat >>confdefs.h <<\_ACEOF
38501 #define wxUSE_SOUND 1
38502 _ACEOF
38503
38504 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
38505 fi
38506
38507 if test "$WXGTK20" = 1; then
38508 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
38509 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
38510
38511
38512 succeeded=no
38513
38514 if test -z "$PKG_CONFIG"; then
38515 # Extract the first word of "pkg-config", so it can be a program name with args.
38516 set dummy pkg-config; ac_word=$2
38517 echo "$as_me:$LINENO: checking for $ac_word" >&5
38518 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38519 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
38520 echo $ECHO_N "(cached) $ECHO_C" >&6
38521 else
38522 case $PKG_CONFIG in
38523 [\\/]* | ?:[\\/]*)
38524 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
38525 ;;
38526 *)
38527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38528 for as_dir in $PATH
38529 do
38530 IFS=$as_save_IFS
38531 test -z "$as_dir" && as_dir=.
38532 for ac_exec_ext in '' $ac_executable_extensions; do
38533 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38534 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
38535 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38536 break 2
38537 fi
38538 done
38539 done
38540
38541 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
38542 ;;
38543 esac
38544 fi
38545 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
38546
38547 if test -n "$PKG_CONFIG"; then
38548 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
38549 echo "${ECHO_T}$PKG_CONFIG" >&6
38550 else
38551 echo "$as_me:$LINENO: result: no" >&5
38552 echo "${ECHO_T}no" >&6
38553 fi
38554
38555 fi
38556
38557 if test "$PKG_CONFIG" = "no" ; then
38558 echo "*** The pkg-config script could not be found. Make sure it is"
38559 echo "*** in your path, or set the PKG_CONFIG environment variable"
38560 echo "*** to the full path to pkg-config."
38561 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
38562 else
38563 PKG_CONFIG_MIN_VERSION=0.9.0
38564 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
38565 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
38566 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
38567
38568 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
38569 echo "$as_me:$LINENO: result: yes" >&5
38570 echo "${ECHO_T}yes" >&6
38571 succeeded=yes
38572
38573 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
38574 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
38575 LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
38576 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
38577 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
38578
38579 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
38580 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
38581 LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
38582 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
38583 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
38584 else
38585 LIBGNOMEPRINTUI_CFLAGS=""
38586 LIBGNOMEPRINTUI_LIBS=""
38587 ## If we have a custom action on failure, don't print errors, but
38588 ## do set a variable so people can do so.
38589 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
38590
38591 fi
38592
38593
38594
38595 else
38596 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
38597 echo "*** See http://www.freedesktop.org/software/pkgconfig"
38598 fi
38599 fi
38600
38601 if test $succeeded = yes; then
38602
38603 CXXFLAGS="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
38604 cat >>confdefs.h <<\_ACEOF
38605 #define wxUSE_LIBGNOMEPRINT 1
38606 _ACEOF
38607
38608
38609 else
38610
38611 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
38612 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
38613 wxUSE_LIBGNOMEPRINT="no"
38614
38615
38616 fi
38617
38618 fi
38619 fi
38620 fi
38621
38622
38623 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
38624 cat >>confdefs.h <<\_ACEOF
38625 #define wxUSE_CMDLINE_PARSER 1
38626 _ACEOF
38627
38628 fi
38629
38630 if test "$wxUSE_STOPWATCH" = "yes"; then
38631 cat >>confdefs.h <<\_ACEOF
38632 #define wxUSE_STOPWATCH 1
38633 _ACEOF
38634
38635 fi
38636
38637 if test "$wxUSE_DATETIME" = "yes"; then
38638 cat >>confdefs.h <<\_ACEOF
38639 #define wxUSE_DATETIME 1
38640 _ACEOF
38641
38642 fi
38643
38644 if test "$wxUSE_FILE" = "yes"; then
38645 cat >>confdefs.h <<\_ACEOF
38646 #define wxUSE_FILE 1
38647 _ACEOF
38648
38649 fi
38650
38651 if test "$wxUSE_FFILE" = "yes"; then
38652 cat >>confdefs.h <<\_ACEOF
38653 #define wxUSE_FFILE 1
38654 _ACEOF
38655
38656 fi
38657
38658 if test "$wxUSE_FILESYSTEM" = "yes"; then
38659 cat >>confdefs.h <<\_ACEOF
38660 #define wxUSE_FILESYSTEM 1
38661 _ACEOF
38662
38663 fi
38664
38665 if test "$wxUSE_FS_ZIP" = "yes"; then
38666 cat >>confdefs.h <<\_ACEOF
38667 #define wxUSE_FS_ZIP 1
38668 _ACEOF
38669
38670 fi
38671
38672 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
38673 cat >>confdefs.h <<\_ACEOF
38674 #define wxUSE_ARCHIVE_STREAMS 1
38675 _ACEOF
38676
38677 fi
38678
38679 if test "$wxUSE_ZIPSTREAM" = "yes"; then
38680 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
38681 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
38682 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
38683 elif test "$wxUSE_ZLIB" = "no"; then
38684 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
38685 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
38686 else
38687 cat >>confdefs.h <<\_ACEOF
38688 #define wxUSE_ZIPSTREAM 1
38689 _ACEOF
38690
38691 fi
38692 fi
38693
38694 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
38695 if test "$USE_UNIX" != 1; then
38696 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
38697 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
38698 wxUSE_ON_FATAL_EXCEPTION=no
38699 else
38700 cat >>confdefs.h <<\_ACEOF
38701 #define wxUSE_ON_FATAL_EXCEPTION 1
38702 _ACEOF
38703
38704 fi
38705 fi
38706
38707 if test "$wxUSE_STACKWALKER" = "yes"; then
38708 cat >>confdefs.h <<\_ACEOF
38709 #define wxUSE_STACKWALKER 1
38710 _ACEOF
38711
38712 fi
38713
38714 if test "$wxUSE_DEBUGREPORT" = "yes"; then
38715 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
38716 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
38717 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
38718 wxUSE_DEBUGREPORT=no
38719 else
38720 cat >>confdefs.h <<\_ACEOF
38721 #define wxUSE_DEBUGREPORT 1
38722 _ACEOF
38723
38724 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
38725 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
38726 fi
38727 fi
38728 fi
38729
38730 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
38731 cat >>confdefs.h <<\_ACEOF
38732 #define wxUSE_SNGLINST_CHECKER 1
38733 _ACEOF
38734
38735 fi
38736
38737 if test "$wxUSE_BUSYINFO" = "yes"; then
38738 cat >>confdefs.h <<\_ACEOF
38739 #define wxUSE_BUSYINFO 1
38740 _ACEOF
38741
38742 fi
38743
38744 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
38745 cat >>confdefs.h <<\_ACEOF
38746 #define wxUSE_STD_IOSTREAM 1
38747 _ACEOF
38748
38749 fi
38750
38751 if test "$wxUSE_STD_STRING" = "yes"; then
38752 cat >>confdefs.h <<\_ACEOF
38753 #define wxUSE_STD_STRING 1
38754 _ACEOF
38755
38756 fi
38757
38758 if test "$wxUSE_STDPATHS" = "yes"; then
38759 cat >>confdefs.h <<\_ACEOF
38760 #define wxUSE_STDPATHS 1
38761 _ACEOF
38762
38763 fi
38764
38765 if test "$wxUSE_TEXTBUFFER" = "yes"; then
38766 cat >>confdefs.h <<\_ACEOF
38767 #define wxUSE_TEXTBUFFER 1
38768 _ACEOF
38769
38770 fi
38771
38772 if test "$wxUSE_TEXTFILE" = "yes"; then
38773 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
38774 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
38775 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
38776 else
38777 cat >>confdefs.h <<\_ACEOF
38778 #define wxUSE_TEXTFILE 1
38779 _ACEOF
38780
38781 fi
38782 fi
38783
38784 if test "$wxUSE_CONFIG" = "yes" ; then
38785 if test "$wxUSE_TEXTFILE" != "yes"; then
38786 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
38787 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
38788 else
38789 cat >>confdefs.h <<\_ACEOF
38790 #define wxUSE_CONFIG 1
38791 _ACEOF
38792
38793 cat >>confdefs.h <<\_ACEOF
38794 #define wxUSE_CONFIG_NATIVE 1
38795 _ACEOF
38796
38797 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
38798 fi
38799 fi
38800
38801 if test "$wxUSE_INTL" = "yes" ; then
38802 if test "$wxUSE_FILE" != "yes"; then
38803 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
38804 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
38805 else
38806 cat >>confdefs.h <<\_ACEOF
38807 #define wxUSE_INTL 1
38808 _ACEOF
38809
38810 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
38811 GUIDIST="$GUIDIST INTL_DIST"
38812 fi
38813 fi
38814
38815 if test "$wxUSE_LOG" = "yes"; then
38816 cat >>confdefs.h <<\_ACEOF
38817 #define wxUSE_LOG 1
38818 _ACEOF
38819
38820
38821 if test "$wxUSE_LOGGUI" = "yes"; then
38822 cat >>confdefs.h <<\_ACEOF
38823 #define wxUSE_LOGGUI 1
38824 _ACEOF
38825
38826 fi
38827
38828 if test "$wxUSE_LOGWINDOW" = "yes"; then
38829 cat >>confdefs.h <<\_ACEOF
38830 #define wxUSE_LOGWINDOW 1
38831 _ACEOF
38832
38833 fi
38834
38835 if test "$wxUSE_LOGDIALOG" = "yes"; then
38836 cat >>confdefs.h <<\_ACEOF
38837 #define wxUSE_LOG_DIALOG 1
38838 _ACEOF
38839
38840 fi
38841
38842 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
38843 fi
38844
38845 if test "$wxUSE_LONGLONG" = "yes"; then
38846 cat >>confdefs.h <<\_ACEOF
38847 #define wxUSE_LONGLONG 1
38848 _ACEOF
38849
38850 fi
38851
38852 if test "$wxUSE_GEOMETRY" = "yes"; then
38853 cat >>confdefs.h <<\_ACEOF
38854 #define wxUSE_GEOMETRY 1
38855 _ACEOF
38856
38857 fi
38858
38859 if test "$wxUSE_STREAMS" = "yes" ; then
38860 cat >>confdefs.h <<\_ACEOF
38861 #define wxUSE_STREAMS 1
38862 _ACEOF
38863
38864 fi
38865
38866
38867 if test "$wxUSE_DATETIME" = "yes"; then
38868
38869 for ac_func in strptime
38870 do
38871 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38872 echo "$as_me:$LINENO: checking for $ac_func" >&5
38873 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38874 if eval "test \"\${$as_ac_var+set}\" = set"; then
38875 echo $ECHO_N "(cached) $ECHO_C" >&6
38876 else
38877 cat >conftest.$ac_ext <<_ACEOF
38878 /* confdefs.h. */
38879 _ACEOF
38880 cat confdefs.h >>conftest.$ac_ext
38881 cat >>conftest.$ac_ext <<_ACEOF
38882 /* end confdefs.h. */
38883 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38884 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38885 #define $ac_func innocuous_$ac_func
38886
38887 /* System header to define __stub macros and hopefully few prototypes,
38888 which can conflict with char $ac_func (); below.
38889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38890 <limits.h> exists even on freestanding compilers. */
38891
38892 #ifdef __STDC__
38893 # include <limits.h>
38894 #else
38895 # include <assert.h>
38896 #endif
38897
38898 #undef $ac_func
38899
38900 /* Override any gcc2 internal prototype to avoid an error. */
38901 #ifdef __cplusplus
38902 extern "C"
38903 {
38904 #endif
38905 /* We use char because int might match the return type of a gcc2
38906 builtin and then its argument prototype would still apply. */
38907 char $ac_func ();
38908 /* The GNU C library defines this for functions which it implements
38909 to always fail with ENOSYS. Some functions are actually named
38910 something starting with __ and the normal name is an alias. */
38911 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38912 choke me
38913 #else
38914 char (*f) () = $ac_func;
38915 #endif
38916 #ifdef __cplusplus
38917 }
38918 #endif
38919
38920 int
38921 main ()
38922 {
38923 return f != $ac_func;
38924 ;
38925 return 0;
38926 }
38927 _ACEOF
38928 rm -f conftest.$ac_objext conftest$ac_exeext
38929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38930 (eval $ac_link) 2>conftest.er1
38931 ac_status=$?
38932 grep -v '^ *+' conftest.er1 >conftest.err
38933 rm -f conftest.er1
38934 cat conftest.err >&5
38935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38936 (exit $ac_status); } &&
38937 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38939 (eval $ac_try) 2>&5
38940 ac_status=$?
38941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38942 (exit $ac_status); }; } &&
38943 { ac_try='test -s conftest$ac_exeext'
38944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38945 (eval $ac_try) 2>&5
38946 ac_status=$?
38947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38948 (exit $ac_status); }; }; then
38949 eval "$as_ac_var=yes"
38950 else
38951 echo "$as_me: failed program was:" >&5
38952 sed 's/^/| /' conftest.$ac_ext >&5
38953
38954 eval "$as_ac_var=no"
38955 fi
38956 rm -f conftest.err conftest.$ac_objext \
38957 conftest$ac_exeext conftest.$ac_ext
38958 fi
38959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38960 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38961 if test `eval echo '${'$as_ac_var'}'` = yes; then
38962 cat >>confdefs.h <<_ACEOF
38963 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38964 _ACEOF
38965
38966 fi
38967 done
38968
38969
38970 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
38971 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
38972 if test "${wx_cv_var_timezone+set}" = set; then
38973 echo $ECHO_N "(cached) $ECHO_C" >&6
38974 else
38975
38976 cat >conftest.$ac_ext <<_ACEOF
38977 /* confdefs.h. */
38978 _ACEOF
38979 cat confdefs.h >>conftest.$ac_ext
38980 cat >>conftest.$ac_ext <<_ACEOF
38981 /* end confdefs.h. */
38982
38983 #include <time.h>
38984
38985 int
38986 main ()
38987 {
38988
38989 int tz;
38990 tz = timezone;
38991
38992 ;
38993 return 0;
38994 }
38995 _ACEOF
38996 rm -f conftest.$ac_objext
38997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38998 (eval $ac_compile) 2>conftest.er1
38999 ac_status=$?
39000 grep -v '^ *+' conftest.er1 >conftest.err
39001 rm -f conftest.er1
39002 cat conftest.err >&5
39003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39004 (exit $ac_status); } &&
39005 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39007 (eval $ac_try) 2>&5
39008 ac_status=$?
39009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39010 (exit $ac_status); }; } &&
39011 { ac_try='test -s conftest.$ac_objext'
39012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39013 (eval $ac_try) 2>&5
39014 ac_status=$?
39015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39016 (exit $ac_status); }; }; then
39017
39018 wx_cv_var_timezone=timezone
39019
39020 else
39021 echo "$as_me: failed program was:" >&5
39022 sed 's/^/| /' conftest.$ac_ext >&5
39023
39024
39025 cat >conftest.$ac_ext <<_ACEOF
39026 /* confdefs.h. */
39027 _ACEOF
39028 cat confdefs.h >>conftest.$ac_ext
39029 cat >>conftest.$ac_ext <<_ACEOF
39030 /* end confdefs.h. */
39031
39032 #include <time.h>
39033
39034 int
39035 main ()
39036 {
39037
39038 int tz;
39039 tz = _timezone;
39040
39041 ;
39042 return 0;
39043 }
39044 _ACEOF
39045 rm -f conftest.$ac_objext
39046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39047 (eval $ac_compile) 2>conftest.er1
39048 ac_status=$?
39049 grep -v '^ *+' conftest.er1 >conftest.err
39050 rm -f conftest.er1
39051 cat conftest.err >&5
39052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39053 (exit $ac_status); } &&
39054 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39056 (eval $ac_try) 2>&5
39057 ac_status=$?
39058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39059 (exit $ac_status); }; } &&
39060 { ac_try='test -s conftest.$ac_objext'
39061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39062 (eval $ac_try) 2>&5
39063 ac_status=$?
39064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39065 (exit $ac_status); }; }; then
39066
39067 wx_cv_var_timezone=_timezone
39068
39069 else
39070 echo "$as_me: failed program was:" >&5
39071 sed 's/^/| /' conftest.$ac_ext >&5
39072
39073
39074 cat >conftest.$ac_ext <<_ACEOF
39075 /* confdefs.h. */
39076 _ACEOF
39077 cat confdefs.h >>conftest.$ac_ext
39078 cat >>conftest.$ac_ext <<_ACEOF
39079 /* end confdefs.h. */
39080
39081 #include <time.h>
39082
39083 int
39084 main ()
39085 {
39086
39087 int tz;
39088 tz = __timezone;
39089
39090 ;
39091 return 0;
39092 }
39093 _ACEOF
39094 rm -f conftest.$ac_objext
39095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39096 (eval $ac_compile) 2>conftest.er1
39097 ac_status=$?
39098 grep -v '^ *+' conftest.er1 >conftest.err
39099 rm -f conftest.er1
39100 cat conftest.err >&5
39101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39102 (exit $ac_status); } &&
39103 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39105 (eval $ac_try) 2>&5
39106 ac_status=$?
39107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39108 (exit $ac_status); }; } &&
39109 { ac_try='test -s conftest.$ac_objext'
39110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39111 (eval $ac_try) 2>&5
39112 ac_status=$?
39113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39114 (exit $ac_status); }; }; then
39115
39116 wx_cv_var_timezone=__timezone
39117
39118 else
39119 echo "$as_me: failed program was:" >&5
39120 sed 's/^/| /' conftest.$ac_ext >&5
39121
39122
39123 if test "$USE_DOS" = 0 ; then
39124 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
39125 echo "$as_me: WARNING: no timezone variable" >&2;}
39126 fi
39127
39128
39129 fi
39130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39131
39132
39133 fi
39134 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39135
39136
39137 fi
39138 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39139
39140
39141 fi
39142 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
39143 echo "${ECHO_T}$wx_cv_var_timezone" >&6
39144
39145 if test "x$wx_cv_var_timezone" != x ; then
39146 cat >>confdefs.h <<_ACEOF
39147 #define WX_TIMEZONE $wx_cv_var_timezone
39148 _ACEOF
39149
39150 fi
39151
39152
39153 for ac_func in localtime
39154 do
39155 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39156 echo "$as_me:$LINENO: checking for $ac_func" >&5
39157 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39158 if eval "test \"\${$as_ac_var+set}\" = set"; then
39159 echo $ECHO_N "(cached) $ECHO_C" >&6
39160 else
39161 cat >conftest.$ac_ext <<_ACEOF
39162 /* confdefs.h. */
39163 _ACEOF
39164 cat confdefs.h >>conftest.$ac_ext
39165 cat >>conftest.$ac_ext <<_ACEOF
39166 /* end confdefs.h. */
39167 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39168 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39169 #define $ac_func innocuous_$ac_func
39170
39171 /* System header to define __stub macros and hopefully few prototypes,
39172 which can conflict with char $ac_func (); below.
39173 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39174 <limits.h> exists even on freestanding compilers. */
39175
39176 #ifdef __STDC__
39177 # include <limits.h>
39178 #else
39179 # include <assert.h>
39180 #endif
39181
39182 #undef $ac_func
39183
39184 /* Override any gcc2 internal prototype to avoid an error. */
39185 #ifdef __cplusplus
39186 extern "C"
39187 {
39188 #endif
39189 /* We use char because int might match the return type of a gcc2
39190 builtin and then its argument prototype would still apply. */
39191 char $ac_func ();
39192 /* The GNU C library defines this for functions which it implements
39193 to always fail with ENOSYS. Some functions are actually named
39194 something starting with __ and the normal name is an alias. */
39195 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39196 choke me
39197 #else
39198 char (*f) () = $ac_func;
39199 #endif
39200 #ifdef __cplusplus
39201 }
39202 #endif
39203
39204 int
39205 main ()
39206 {
39207 return f != $ac_func;
39208 ;
39209 return 0;
39210 }
39211 _ACEOF
39212 rm -f conftest.$ac_objext conftest$ac_exeext
39213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39214 (eval $ac_link) 2>conftest.er1
39215 ac_status=$?
39216 grep -v '^ *+' conftest.er1 >conftest.err
39217 rm -f conftest.er1
39218 cat conftest.err >&5
39219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39220 (exit $ac_status); } &&
39221 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39223 (eval $ac_try) 2>&5
39224 ac_status=$?
39225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39226 (exit $ac_status); }; } &&
39227 { ac_try='test -s conftest$ac_exeext'
39228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39229 (eval $ac_try) 2>&5
39230 ac_status=$?
39231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39232 (exit $ac_status); }; }; then
39233 eval "$as_ac_var=yes"
39234 else
39235 echo "$as_me: failed program was:" >&5
39236 sed 's/^/| /' conftest.$ac_ext >&5
39237
39238 eval "$as_ac_var=no"
39239 fi
39240 rm -f conftest.err conftest.$ac_objext \
39241 conftest$ac_exeext conftest.$ac_ext
39242 fi
39243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39244 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39245 if test `eval echo '${'$as_ac_var'}'` = yes; then
39246 cat >>confdefs.h <<_ACEOF
39247 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39248 _ACEOF
39249
39250 fi
39251 done
39252
39253
39254 if test "$ac_cv_func_localtime" = "yes"; then
39255 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
39256 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
39257 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
39258 echo $ECHO_N "(cached) $ECHO_C" >&6
39259 else
39260
39261 cat >conftest.$ac_ext <<_ACEOF
39262 /* confdefs.h. */
39263 _ACEOF
39264 cat confdefs.h >>conftest.$ac_ext
39265 cat >>conftest.$ac_ext <<_ACEOF
39266 /* end confdefs.h. */
39267
39268 #include <time.h>
39269
39270 int
39271 main ()
39272 {
39273
39274 struct tm tm;
39275 tm.tm_gmtoff++;
39276
39277 ;
39278 return 0;
39279 }
39280 _ACEOF
39281 rm -f conftest.$ac_objext
39282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39283 (eval $ac_compile) 2>conftest.er1
39284 ac_status=$?
39285 grep -v '^ *+' conftest.er1 >conftest.err
39286 rm -f conftest.er1
39287 cat conftest.err >&5
39288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39289 (exit $ac_status); } &&
39290 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39292 (eval $ac_try) 2>&5
39293 ac_status=$?
39294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39295 (exit $ac_status); }; } &&
39296 { ac_try='test -s conftest.$ac_objext'
39297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39298 (eval $ac_try) 2>&5
39299 ac_status=$?
39300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39301 (exit $ac_status); }; }; then
39302
39303 wx_cv_struct_tm_has_gmtoff=yes
39304
39305 else
39306 echo "$as_me: failed program was:" >&5
39307 sed 's/^/| /' conftest.$ac_ext >&5
39308
39309 wx_cv_struct_tm_has_gmtoff=no
39310
39311 fi
39312 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39313
39314 fi
39315 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
39316 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
39317 fi
39318
39319 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
39320 cat >>confdefs.h <<\_ACEOF
39321 #define WX_GMTOFF_IN_TM 1
39322 _ACEOF
39323
39324 fi
39325
39326
39327
39328 for ac_func in gettimeofday ftime
39329 do
39330 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39331 echo "$as_me:$LINENO: checking for $ac_func" >&5
39332 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39333 if eval "test \"\${$as_ac_var+set}\" = set"; then
39334 echo $ECHO_N "(cached) $ECHO_C" >&6
39335 else
39336 cat >conftest.$ac_ext <<_ACEOF
39337 /* confdefs.h. */
39338 _ACEOF
39339 cat confdefs.h >>conftest.$ac_ext
39340 cat >>conftest.$ac_ext <<_ACEOF
39341 /* end confdefs.h. */
39342 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39343 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39344 #define $ac_func innocuous_$ac_func
39345
39346 /* System header to define __stub macros and hopefully few prototypes,
39347 which can conflict with char $ac_func (); below.
39348 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39349 <limits.h> exists even on freestanding compilers. */
39350
39351 #ifdef __STDC__
39352 # include <limits.h>
39353 #else
39354 # include <assert.h>
39355 #endif
39356
39357 #undef $ac_func
39358
39359 /* Override any gcc2 internal prototype to avoid an error. */
39360 #ifdef __cplusplus
39361 extern "C"
39362 {
39363 #endif
39364 /* We use char because int might match the return type of a gcc2
39365 builtin and then its argument prototype would still apply. */
39366 char $ac_func ();
39367 /* The GNU C library defines this for functions which it implements
39368 to always fail with ENOSYS. Some functions are actually named
39369 something starting with __ and the normal name is an alias. */
39370 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39371 choke me
39372 #else
39373 char (*f) () = $ac_func;
39374 #endif
39375 #ifdef __cplusplus
39376 }
39377 #endif
39378
39379 int
39380 main ()
39381 {
39382 return f != $ac_func;
39383 ;
39384 return 0;
39385 }
39386 _ACEOF
39387 rm -f conftest.$ac_objext conftest$ac_exeext
39388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39389 (eval $ac_link) 2>conftest.er1
39390 ac_status=$?
39391 grep -v '^ *+' conftest.er1 >conftest.err
39392 rm -f conftest.er1
39393 cat conftest.err >&5
39394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39395 (exit $ac_status); } &&
39396 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39398 (eval $ac_try) 2>&5
39399 ac_status=$?
39400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39401 (exit $ac_status); }; } &&
39402 { ac_try='test -s conftest$ac_exeext'
39403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39404 (eval $ac_try) 2>&5
39405 ac_status=$?
39406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39407 (exit $ac_status); }; }; then
39408 eval "$as_ac_var=yes"
39409 else
39410 echo "$as_me: failed program was:" >&5
39411 sed 's/^/| /' conftest.$ac_ext >&5
39412
39413 eval "$as_ac_var=no"
39414 fi
39415 rm -f conftest.err conftest.$ac_objext \
39416 conftest$ac_exeext conftest.$ac_ext
39417 fi
39418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39419 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39420 if test `eval echo '${'$as_ac_var'}'` = yes; then
39421 cat >>confdefs.h <<_ACEOF
39422 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39423 _ACEOF
39424 break
39425 fi
39426 done
39427
39428
39429 if test "$ac_cv_func_gettimeofday" = "yes"; then
39430 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
39431 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
39432 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
39433 echo $ECHO_N "(cached) $ECHO_C" >&6
39434 else
39435
39436
39437
39438 ac_ext=cc
39439 ac_cpp='$CXXCPP $CPPFLAGS'
39440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39443
39444
39445 cat >conftest.$ac_ext <<_ACEOF
39446 /* confdefs.h. */
39447 _ACEOF
39448 cat confdefs.h >>conftest.$ac_ext
39449 cat >>conftest.$ac_ext <<_ACEOF
39450 /* end confdefs.h. */
39451
39452 #include <sys/time.h>
39453 #include <unistd.h>
39454
39455 int
39456 main ()
39457 {
39458
39459 struct timeval tv;
39460 gettimeofday(&tv, NULL);
39461
39462 ;
39463 return 0;
39464 }
39465 _ACEOF
39466 rm -f conftest.$ac_objext
39467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39468 (eval $ac_compile) 2>conftest.er1
39469 ac_status=$?
39470 grep -v '^ *+' conftest.er1 >conftest.err
39471 rm -f conftest.er1
39472 cat conftest.err >&5
39473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39474 (exit $ac_status); } &&
39475 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39477 (eval $ac_try) 2>&5
39478 ac_status=$?
39479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39480 (exit $ac_status); }; } &&
39481 { ac_try='test -s conftest.$ac_objext'
39482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39483 (eval $ac_try) 2>&5
39484 ac_status=$?
39485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39486 (exit $ac_status); }; }; then
39487 wx_cv_func_gettimeofday_has_2_args=yes
39488 else
39489 echo "$as_me: failed program was:" >&5
39490 sed 's/^/| /' conftest.$ac_ext >&5
39491
39492 cat >conftest.$ac_ext <<_ACEOF
39493 /* confdefs.h. */
39494 _ACEOF
39495 cat confdefs.h >>conftest.$ac_ext
39496 cat >>conftest.$ac_ext <<_ACEOF
39497 /* end confdefs.h. */
39498
39499 #include <sys/time.h>
39500 #include <unistd.h>
39501
39502 int
39503 main ()
39504 {
39505
39506 struct timeval tv;
39507 gettimeofday(&tv);
39508
39509 ;
39510 return 0;
39511 }
39512 _ACEOF
39513 rm -f conftest.$ac_objext
39514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39515 (eval $ac_compile) 2>conftest.er1
39516 ac_status=$?
39517 grep -v '^ *+' conftest.er1 >conftest.err
39518 rm -f conftest.er1
39519 cat conftest.err >&5
39520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39521 (exit $ac_status); } &&
39522 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39524 (eval $ac_try) 2>&5
39525 ac_status=$?
39526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39527 (exit $ac_status); }; } &&
39528 { ac_try='test -s conftest.$ac_objext'
39529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39530 (eval $ac_try) 2>&5
39531 ac_status=$?
39532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39533 (exit $ac_status); }; }; then
39534 wx_cv_func_gettimeofday_has_2_args=no
39535 else
39536 echo "$as_me: failed program was:" >&5
39537 sed 's/^/| /' conftest.$ac_ext >&5
39538
39539
39540 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
39541 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
39542 wx_cv_func_gettimeofday_has_2_args=unknown
39543
39544
39545 fi
39546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39547
39548 fi
39549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39550 ac_ext=c
39551 ac_cpp='$CPP $CPPFLAGS'
39552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39555
39556
39557 fi
39558 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
39559 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
39560
39561 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
39562 cat >>confdefs.h <<\_ACEOF
39563 #define WX_GETTIMEOFDAY_NO_TZ 1
39564 _ACEOF
39565
39566 fi
39567 fi
39568
39569 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
39570 fi
39571
39572
39573 if test "$wxUSE_SOCKETS" = "yes"; then
39574 if test "$wxUSE_MGL" = "1"; then
39575 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
39576 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
39577 wxUSE_SOCKETS="no"
39578 fi
39579 fi
39580
39581 if test "$wxUSE_SOCKETS" = "yes"; then
39582 if test "$TOOLKIT" != "MSW"; then
39583 echo "$as_me:$LINENO: checking for socket" >&5
39584 echo $ECHO_N "checking for socket... $ECHO_C" >&6
39585 if test "${ac_cv_func_socket+set}" = set; then
39586 echo $ECHO_N "(cached) $ECHO_C" >&6
39587 else
39588 cat >conftest.$ac_ext <<_ACEOF
39589 /* confdefs.h. */
39590 _ACEOF
39591 cat confdefs.h >>conftest.$ac_ext
39592 cat >>conftest.$ac_ext <<_ACEOF
39593 /* end confdefs.h. */
39594 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
39595 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39596 #define socket innocuous_socket
39597
39598 /* System header to define __stub macros and hopefully few prototypes,
39599 which can conflict with char socket (); below.
39600 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39601 <limits.h> exists even on freestanding compilers. */
39602
39603 #ifdef __STDC__
39604 # include <limits.h>
39605 #else
39606 # include <assert.h>
39607 #endif
39608
39609 #undef socket
39610
39611 /* Override any gcc2 internal prototype to avoid an error. */
39612 #ifdef __cplusplus
39613 extern "C"
39614 {
39615 #endif
39616 /* We use char because int might match the return type of a gcc2
39617 builtin and then its argument prototype would still apply. */
39618 char socket ();
39619 /* The GNU C library defines this for functions which it implements
39620 to always fail with ENOSYS. Some functions are actually named
39621 something starting with __ and the normal name is an alias. */
39622 #if defined (__stub_socket) || defined (__stub___socket)
39623 choke me
39624 #else
39625 char (*f) () = socket;
39626 #endif
39627 #ifdef __cplusplus
39628 }
39629 #endif
39630
39631 int
39632 main ()
39633 {
39634 return f != socket;
39635 ;
39636 return 0;
39637 }
39638 _ACEOF
39639 rm -f conftest.$ac_objext conftest$ac_exeext
39640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39641 (eval $ac_link) 2>conftest.er1
39642 ac_status=$?
39643 grep -v '^ *+' conftest.er1 >conftest.err
39644 rm -f conftest.er1
39645 cat conftest.err >&5
39646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39647 (exit $ac_status); } &&
39648 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39650 (eval $ac_try) 2>&5
39651 ac_status=$?
39652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39653 (exit $ac_status); }; } &&
39654 { ac_try='test -s conftest$ac_exeext'
39655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39656 (eval $ac_try) 2>&5
39657 ac_status=$?
39658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39659 (exit $ac_status); }; }; then
39660 ac_cv_func_socket=yes
39661 else
39662 echo "$as_me: failed program was:" >&5
39663 sed 's/^/| /' conftest.$ac_ext >&5
39664
39665 ac_cv_func_socket=no
39666 fi
39667 rm -f conftest.err conftest.$ac_objext \
39668 conftest$ac_exeext conftest.$ac_ext
39669 fi
39670 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
39671 echo "${ECHO_T}$ac_cv_func_socket" >&6
39672 if test $ac_cv_func_socket = yes; then
39673 :
39674 else
39675
39676 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
39677 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
39678 if test "${ac_cv_lib_socket_socket+set}" = set; then
39679 echo $ECHO_N "(cached) $ECHO_C" >&6
39680 else
39681 ac_check_lib_save_LIBS=$LIBS
39682 LIBS="-lsocket $LIBS"
39683 cat >conftest.$ac_ext <<_ACEOF
39684 /* confdefs.h. */
39685 _ACEOF
39686 cat confdefs.h >>conftest.$ac_ext
39687 cat >>conftest.$ac_ext <<_ACEOF
39688 /* end confdefs.h. */
39689
39690 /* Override any gcc2 internal prototype to avoid an error. */
39691 #ifdef __cplusplus
39692 extern "C"
39693 #endif
39694 /* We use char because int might match the return type of a gcc2
39695 builtin and then its argument prototype would still apply. */
39696 char socket ();
39697 int
39698 main ()
39699 {
39700 socket ();
39701 ;
39702 return 0;
39703 }
39704 _ACEOF
39705 rm -f conftest.$ac_objext conftest$ac_exeext
39706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39707 (eval $ac_link) 2>conftest.er1
39708 ac_status=$?
39709 grep -v '^ *+' conftest.er1 >conftest.err
39710 rm -f conftest.er1
39711 cat conftest.err >&5
39712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39713 (exit $ac_status); } &&
39714 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39716 (eval $ac_try) 2>&5
39717 ac_status=$?
39718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39719 (exit $ac_status); }; } &&
39720 { ac_try='test -s conftest$ac_exeext'
39721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39722 (eval $ac_try) 2>&5
39723 ac_status=$?
39724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39725 (exit $ac_status); }; }; then
39726 ac_cv_lib_socket_socket=yes
39727 else
39728 echo "$as_me: failed program was:" >&5
39729 sed 's/^/| /' conftest.$ac_ext >&5
39730
39731 ac_cv_lib_socket_socket=no
39732 fi
39733 rm -f conftest.err conftest.$ac_objext \
39734 conftest$ac_exeext conftest.$ac_ext
39735 LIBS=$ac_check_lib_save_LIBS
39736 fi
39737 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
39738 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
39739 if test $ac_cv_lib_socket_socket = yes; then
39740 if test "$INET_LINK" != " -lsocket"; then
39741 INET_LINK="$INET_LINK -lsocket"
39742 fi
39743 else
39744
39745 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
39746 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
39747 wxUSE_SOCKETS=no
39748
39749
39750 fi
39751
39752
39753
39754 fi
39755
39756 fi
39757 fi
39758
39759 if test "$wxUSE_SOCKETS" = "yes" ; then
39760 if test "$TOOLKIT" != "MSW"; then
39761 ac_ext=cc
39762 ac_cpp='$CXXCPP $CPPFLAGS'
39763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39766
39767 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
39768 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
39769 if test "${wx_cv_type_getsockname3+set}" = set; then
39770 echo $ECHO_N "(cached) $ECHO_C" >&6
39771 else
39772
39773 cat >conftest.$ac_ext <<_ACEOF
39774 /* confdefs.h. */
39775 _ACEOF
39776 cat confdefs.h >>conftest.$ac_ext
39777 cat >>conftest.$ac_ext <<_ACEOF
39778 /* end confdefs.h. */
39779
39780 #include <sys/types.h>
39781 #include <sys/socket.h>
39782
39783 int
39784 main ()
39785 {
39786
39787 socklen_t len;
39788 getsockname(0, 0, &len);
39789
39790 ;
39791 return 0;
39792 }
39793 _ACEOF
39794 rm -f conftest.$ac_objext
39795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39796 (eval $ac_compile) 2>conftest.er1
39797 ac_status=$?
39798 grep -v '^ *+' conftest.er1 >conftest.err
39799 rm -f conftest.er1
39800 cat conftest.err >&5
39801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39802 (exit $ac_status); } &&
39803 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39805 (eval $ac_try) 2>&5
39806 ac_status=$?
39807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39808 (exit $ac_status); }; } &&
39809 { ac_try='test -s conftest.$ac_objext'
39810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39811 (eval $ac_try) 2>&5
39812 ac_status=$?
39813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39814 (exit $ac_status); }; }; then
39815 wx_cv_type_getsockname3=socklen_t
39816 else
39817 echo "$as_me: failed program was:" >&5
39818 sed 's/^/| /' conftest.$ac_ext >&5
39819
39820
39821 CXXFLAGS_OLD="$CXXFLAGS"
39822 if test "$GCC" = yes ; then
39823 CXXFLAGS="$CXXFLAGS -Werror"
39824 fi
39825
39826 cat >conftest.$ac_ext <<_ACEOF
39827 /* confdefs.h. */
39828 _ACEOF
39829 cat confdefs.h >>conftest.$ac_ext
39830 cat >>conftest.$ac_ext <<_ACEOF
39831 /* end confdefs.h. */
39832
39833 #include <sys/types.h>
39834 #include <sys/socket.h>
39835
39836 int
39837 main ()
39838 {
39839
39840 size_t len;
39841 getsockname(0, 0, &len);
39842
39843 ;
39844 return 0;
39845 }
39846 _ACEOF
39847 rm -f conftest.$ac_objext
39848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39849 (eval $ac_compile) 2>conftest.er1
39850 ac_status=$?
39851 grep -v '^ *+' conftest.er1 >conftest.err
39852 rm -f conftest.er1
39853 cat conftest.err >&5
39854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39855 (exit $ac_status); } &&
39856 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39858 (eval $ac_try) 2>&5
39859 ac_status=$?
39860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39861 (exit $ac_status); }; } &&
39862 { ac_try='test -s conftest.$ac_objext'
39863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39864 (eval $ac_try) 2>&5
39865 ac_status=$?
39866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39867 (exit $ac_status); }; }; then
39868 wx_cv_type_getsockname3=size_t
39869 else
39870 echo "$as_me: failed program was:" >&5
39871 sed 's/^/| /' conftest.$ac_ext >&5
39872
39873 cat >conftest.$ac_ext <<_ACEOF
39874 /* confdefs.h. */
39875 _ACEOF
39876 cat confdefs.h >>conftest.$ac_ext
39877 cat >>conftest.$ac_ext <<_ACEOF
39878 /* end confdefs.h. */
39879
39880 #include <sys/types.h>
39881 #include <sys/socket.h>
39882
39883 int
39884 main ()
39885 {
39886
39887 int len;
39888 getsockname(0, 0, &len);
39889
39890 ;
39891 return 0;
39892 }
39893 _ACEOF
39894 rm -f conftest.$ac_objext
39895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39896 (eval $ac_compile) 2>conftest.er1
39897 ac_status=$?
39898 grep -v '^ *+' conftest.er1 >conftest.err
39899 rm -f conftest.er1
39900 cat conftest.err >&5
39901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39902 (exit $ac_status); } &&
39903 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39905 (eval $ac_try) 2>&5
39906 ac_status=$?
39907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39908 (exit $ac_status); }; } &&
39909 { ac_try='test -s conftest.$ac_objext'
39910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39911 (eval $ac_try) 2>&5
39912 ac_status=$?
39913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39914 (exit $ac_status); }; }; then
39915 wx_cv_type_getsockname3=int
39916 else
39917 echo "$as_me: failed program was:" >&5
39918 sed 's/^/| /' conftest.$ac_ext >&5
39919
39920 wx_cv_type_getsockname3=unknown
39921
39922 fi
39923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39924
39925 fi
39926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39927
39928 CXXFLAGS="$CXXFLAGS_OLD"
39929
39930
39931 fi
39932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39933
39934 fi
39935 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
39936 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
39937
39938 if test "$wx_cv_type_getsockname3" = "unknown"; then
39939 wxUSE_SOCKETS=no
39940 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
39941 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
39942 else
39943 cat >>confdefs.h <<_ACEOF
39944 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
39945 _ACEOF
39946
39947 fi
39948 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
39949 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
39950 if test "${wx_cv_type_getsockopt5+set}" = set; then
39951 echo $ECHO_N "(cached) $ECHO_C" >&6
39952 else
39953
39954 cat >conftest.$ac_ext <<_ACEOF
39955 /* confdefs.h. */
39956 _ACEOF
39957 cat confdefs.h >>conftest.$ac_ext
39958 cat >>conftest.$ac_ext <<_ACEOF
39959 /* end confdefs.h. */
39960
39961 #include <sys/types.h>
39962 #include <sys/socket.h>
39963
39964 int
39965 main ()
39966 {
39967
39968 socklen_t len;
39969 getsockopt(0, 0, 0, 0, &len);
39970
39971 ;
39972 return 0;
39973 }
39974 _ACEOF
39975 rm -f conftest.$ac_objext
39976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39977 (eval $ac_compile) 2>conftest.er1
39978 ac_status=$?
39979 grep -v '^ *+' conftest.er1 >conftest.err
39980 rm -f conftest.er1
39981 cat conftest.err >&5
39982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39983 (exit $ac_status); } &&
39984 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39986 (eval $ac_try) 2>&5
39987 ac_status=$?
39988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39989 (exit $ac_status); }; } &&
39990 { ac_try='test -s conftest.$ac_objext'
39991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39992 (eval $ac_try) 2>&5
39993 ac_status=$?
39994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39995 (exit $ac_status); }; }; then
39996 wx_cv_type_getsockopt5=socklen_t
39997 else
39998 echo "$as_me: failed program was:" >&5
39999 sed 's/^/| /' conftest.$ac_ext >&5
40000
40001
40002 CXXFLAGS_OLD="$CXXFLAGS"
40003 if test "$GCC" = yes ; then
40004 CXXFLAGS="$CXXFLAGS -Werror"
40005 fi
40006
40007 cat >conftest.$ac_ext <<_ACEOF
40008 /* confdefs.h. */
40009 _ACEOF
40010 cat confdefs.h >>conftest.$ac_ext
40011 cat >>conftest.$ac_ext <<_ACEOF
40012 /* end confdefs.h. */
40013
40014 #include <sys/types.h>
40015 #include <sys/socket.h>
40016
40017 int
40018 main ()
40019 {
40020
40021 size_t len;
40022 getsockopt(0, 0, 0, 0, &len);
40023
40024 ;
40025 return 0;
40026 }
40027 _ACEOF
40028 rm -f conftest.$ac_objext
40029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40030 (eval $ac_compile) 2>conftest.er1
40031 ac_status=$?
40032 grep -v '^ *+' conftest.er1 >conftest.err
40033 rm -f conftest.er1
40034 cat conftest.err >&5
40035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40036 (exit $ac_status); } &&
40037 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40039 (eval $ac_try) 2>&5
40040 ac_status=$?
40041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40042 (exit $ac_status); }; } &&
40043 { ac_try='test -s conftest.$ac_objext'
40044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40045 (eval $ac_try) 2>&5
40046 ac_status=$?
40047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40048 (exit $ac_status); }; }; then
40049 wx_cv_type_getsockopt5=size_t
40050 else
40051 echo "$as_me: failed program was:" >&5
40052 sed 's/^/| /' conftest.$ac_ext >&5
40053
40054 cat >conftest.$ac_ext <<_ACEOF
40055 /* confdefs.h. */
40056 _ACEOF
40057 cat confdefs.h >>conftest.$ac_ext
40058 cat >>conftest.$ac_ext <<_ACEOF
40059 /* end confdefs.h. */
40060
40061 #include <sys/types.h>
40062 #include <sys/socket.h>
40063
40064 int
40065 main ()
40066 {
40067
40068 int len;
40069 getsockopt(0, 0, 0, 0, &len);
40070
40071 ;
40072 return 0;
40073 }
40074 _ACEOF
40075 rm -f conftest.$ac_objext
40076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40077 (eval $ac_compile) 2>conftest.er1
40078 ac_status=$?
40079 grep -v '^ *+' conftest.er1 >conftest.err
40080 rm -f conftest.er1
40081 cat conftest.err >&5
40082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40083 (exit $ac_status); } &&
40084 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40086 (eval $ac_try) 2>&5
40087 ac_status=$?
40088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40089 (exit $ac_status); }; } &&
40090 { ac_try='test -s conftest.$ac_objext'
40091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40092 (eval $ac_try) 2>&5
40093 ac_status=$?
40094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40095 (exit $ac_status); }; }; then
40096 wx_cv_type_getsockopt5=int
40097 else
40098 echo "$as_me: failed program was:" >&5
40099 sed 's/^/| /' conftest.$ac_ext >&5
40100
40101 wx_cv_type_getsockopt5=unknown
40102
40103 fi
40104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40105
40106 fi
40107 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40108
40109 CXXFLAGS="$CXXFLAGS_OLD"
40110
40111
40112 fi
40113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40114
40115 fi
40116 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
40117 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
40118
40119 if test "$wx_cv_type_getsockopt5" = "unknown"; then
40120 wxUSE_SOCKETS=no
40121 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
40122 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
40123 else
40124 cat >>confdefs.h <<_ACEOF
40125 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
40126 _ACEOF
40127
40128 fi
40129 ac_ext=c
40130 ac_cpp='$CPP $CPPFLAGS'
40131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40134
40135 fi
40136 fi
40137
40138 if test "$wxUSE_SOCKETS" = "yes" ; then
40139 cat >>confdefs.h <<\_ACEOF
40140 #define wxUSE_SOCKETS 1
40141 _ACEOF
40142
40143 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
40144 fi
40145
40146 if test "$wxUSE_PROTOCOL" = "yes"; then
40147 if test "$wxUSE_SOCKETS" != "yes"; then
40148 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
40149 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
40150 wxUSE_PROTOCOL=no
40151 fi
40152 fi
40153
40154 if test "$wxUSE_PROTOCOL" = "yes"; then
40155 cat >>confdefs.h <<\_ACEOF
40156 #define wxUSE_PROTOCOL 1
40157 _ACEOF
40158
40159
40160 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
40161 cat >>confdefs.h <<\_ACEOF
40162 #define wxUSE_PROTOCOL_HTTP 1
40163 _ACEOF
40164
40165 fi
40166 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
40167 cat >>confdefs.h <<\_ACEOF
40168 #define wxUSE_PROTOCOL_FTP 1
40169 _ACEOF
40170
40171 fi
40172 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
40173 cat >>confdefs.h <<\_ACEOF
40174 #define wxUSE_PROTOCOL_FILE 1
40175 _ACEOF
40176
40177 fi
40178 else
40179 if test "$wxUSE_FS_INET" = "yes"; then
40180 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
40181 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
40182 wxUSE_FS_INET="no"
40183 fi
40184 fi
40185
40186 if test "$wxUSE_URL" = "yes"; then
40187 if test "$wxUSE_PROTOCOL" != "yes"; then
40188 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
40189 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
40190 wxUSE_URL=no
40191 fi
40192 if test "$wxUSE_URL" = "yes"; then
40193 cat >>confdefs.h <<\_ACEOF
40194 #define wxUSE_URL 1
40195 _ACEOF
40196
40197 fi
40198 fi
40199
40200 if test "$wxUSE_FS_INET" = "yes"; then
40201 cat >>confdefs.h <<\_ACEOF
40202 #define wxUSE_FS_INET 1
40203 _ACEOF
40204
40205 fi
40206
40207
40208 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
40209 wxUSE_JOYSTICK=no
40210
40211 if test "$TOOLKIT" = "MSW"; then
40212 wxUSE_JOYSTICK=yes
40213
40214 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
40215 if test "$USE_DARWIN" = 1; then
40216 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
40217 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
40218 ac_ext=cc
40219 ac_cpp='$CXXCPP $CPPFLAGS'
40220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40223
40224 cat >conftest.$ac_ext <<_ACEOF
40225 /* confdefs.h. */
40226 _ACEOF
40227 cat confdefs.h >>conftest.$ac_ext
40228 cat >>conftest.$ac_ext <<_ACEOF
40229 /* end confdefs.h. */
40230 #include <IOKit/hid/IOHIDLib.h>
40231 int
40232 main ()
40233 {
40234 IOHIDQueueInterface *qi = NULL;
40235 IOHIDCallbackFunction cb = NULL;
40236 qi->setEventCallout(NULL, cb, NULL, NULL);
40237 ;
40238 return 0;
40239 }
40240 _ACEOF
40241 rm -f conftest.$ac_objext
40242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40243 (eval $ac_compile) 2>conftest.er1
40244 ac_status=$?
40245 grep -v '^ *+' conftest.er1 >conftest.err
40246 rm -f conftest.er1
40247 cat conftest.err >&5
40248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40249 (exit $ac_status); } &&
40250 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40252 (eval $ac_try) 2>&5
40253 ac_status=$?
40254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40255 (exit $ac_status); }; } &&
40256 { ac_try='test -s conftest.$ac_objext'
40257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40258 (eval $ac_try) 2>&5
40259 ac_status=$?
40260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40261 (exit $ac_status); }; }; then
40262 wxUSE_JOYSTICK=yes
40263
40264 else
40265 echo "$as_me: failed program was:" >&5
40266 sed 's/^/| /' conftest.$ac_ext >&5
40267
40268 fi
40269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40270 ac_ext=c
40271 ac_cpp='$CPP $CPPFLAGS'
40272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40275
40276 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
40277 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
40278 fi
40279
40280 else
40281
40282 for ac_header in linux/joystick.h
40283 do
40284 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40285 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40286 echo "$as_me:$LINENO: checking for $ac_header" >&5
40287 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40288 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40289 echo $ECHO_N "(cached) $ECHO_C" >&6
40290 fi
40291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40292 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40293 else
40294 # Is the header compilable?
40295 echo "$as_me:$LINENO: checking $ac_header usability" >&5
40296 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
40297 cat >conftest.$ac_ext <<_ACEOF
40298 /* confdefs.h. */
40299 _ACEOF
40300 cat confdefs.h >>conftest.$ac_ext
40301 cat >>conftest.$ac_ext <<_ACEOF
40302 /* end confdefs.h. */
40303 $ac_includes_default
40304 #include <$ac_header>
40305 _ACEOF
40306 rm -f conftest.$ac_objext
40307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40308 (eval $ac_compile) 2>conftest.er1
40309 ac_status=$?
40310 grep -v '^ *+' conftest.er1 >conftest.err
40311 rm -f conftest.er1
40312 cat conftest.err >&5
40313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40314 (exit $ac_status); } &&
40315 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40317 (eval $ac_try) 2>&5
40318 ac_status=$?
40319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40320 (exit $ac_status); }; } &&
40321 { ac_try='test -s conftest.$ac_objext'
40322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40323 (eval $ac_try) 2>&5
40324 ac_status=$?
40325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40326 (exit $ac_status); }; }; then
40327 ac_header_compiler=yes
40328 else
40329 echo "$as_me: failed program was:" >&5
40330 sed 's/^/| /' conftest.$ac_ext >&5
40331
40332 ac_header_compiler=no
40333 fi
40334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40335 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40336 echo "${ECHO_T}$ac_header_compiler" >&6
40337
40338 # Is the header present?
40339 echo "$as_me:$LINENO: checking $ac_header presence" >&5
40340 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
40341 cat >conftest.$ac_ext <<_ACEOF
40342 /* confdefs.h. */
40343 _ACEOF
40344 cat confdefs.h >>conftest.$ac_ext
40345 cat >>conftest.$ac_ext <<_ACEOF
40346 /* end confdefs.h. */
40347 #include <$ac_header>
40348 _ACEOF
40349 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40350 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
40351 ac_status=$?
40352 grep -v '^ *+' conftest.er1 >conftest.err
40353 rm -f conftest.er1
40354 cat conftest.err >&5
40355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40356 (exit $ac_status); } >/dev/null; then
40357 if test -s conftest.err; then
40358 ac_cpp_err=$ac_c_preproc_warn_flag
40359 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
40360 else
40361 ac_cpp_err=
40362 fi
40363 else
40364 ac_cpp_err=yes
40365 fi
40366 if test -z "$ac_cpp_err"; then
40367 ac_header_preproc=yes
40368 else
40369 echo "$as_me: failed program was:" >&5
40370 sed 's/^/| /' conftest.$ac_ext >&5
40371
40372 ac_header_preproc=no
40373 fi
40374 rm -f conftest.err conftest.$ac_ext
40375 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40376 echo "${ECHO_T}$ac_header_preproc" >&6
40377
40378 # So? What about this header?
40379 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
40380 yes:no: )
40381 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40382 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40383 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40384 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40385 ac_header_preproc=yes
40386 ;;
40387 no:yes:* )
40388 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40389 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40390 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
40391 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
40392 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40393 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40394 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
40395 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
40396 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40397 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40398 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40399 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40400 (
40401 cat <<\_ASBOX
40402 ## ----------------------------------------- ##
40403 ## Report this to wx-dev@lists.wxwidgets.org ##
40404 ## ----------------------------------------- ##
40405 _ASBOX
40406 ) |
40407 sed "s/^/$as_me: WARNING: /" >&2
40408 ;;
40409 esac
40410 echo "$as_me:$LINENO: checking for $ac_header" >&5
40411 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40412 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40413 echo $ECHO_N "(cached) $ECHO_C" >&6
40414 else
40415 eval "$as_ac_Header=\$ac_header_preproc"
40416 fi
40417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40418 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40419
40420 fi
40421 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40422 cat >>confdefs.h <<_ACEOF
40423 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40424 _ACEOF
40425 wxUSE_JOYSTICK=yes
40426 fi
40427
40428 done
40429
40430 fi
40431
40432 if test "$wxUSE_JOYSTICK" = "yes"; then
40433 cat >>confdefs.h <<\_ACEOF
40434 #define wxUSE_JOYSTICK 1
40435 _ACEOF
40436
40437 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
40438 else
40439 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
40440 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
40441 fi
40442 fi
40443
40444
40445
40446 if test "$wxUSE_FONTMAP" = "yes" ; then
40447 cat >>confdefs.h <<\_ACEOF
40448 #define wxUSE_FONTMAP 1
40449 _ACEOF
40450
40451 fi
40452
40453 if test "$wxUSE_UNICODE" = "yes" ; then
40454 cat >>confdefs.h <<\_ACEOF
40455 #define wxUSE_UNICODE 1
40456 _ACEOF
40457
40458
40459 if test "$USE_WIN32" != 1; then
40460 wxUSE_UNICODE_MSLU=no
40461 fi
40462
40463 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
40464 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
40465 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
40466 if test "${ac_cv_lib_unicows_main+set}" = set; then
40467 echo $ECHO_N "(cached) $ECHO_C" >&6
40468 else
40469 ac_check_lib_save_LIBS=$LIBS
40470 LIBS="-lunicows $LIBS"
40471 cat >conftest.$ac_ext <<_ACEOF
40472 /* confdefs.h. */
40473 _ACEOF
40474 cat confdefs.h >>conftest.$ac_ext
40475 cat >>conftest.$ac_ext <<_ACEOF
40476 /* end confdefs.h. */
40477
40478
40479 int
40480 main ()
40481 {
40482 main ();
40483 ;
40484 return 0;
40485 }
40486 _ACEOF
40487 rm -f conftest.$ac_objext conftest$ac_exeext
40488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40489 (eval $ac_link) 2>conftest.er1
40490 ac_status=$?
40491 grep -v '^ *+' conftest.er1 >conftest.err
40492 rm -f conftest.er1
40493 cat conftest.err >&5
40494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40495 (exit $ac_status); } &&
40496 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40498 (eval $ac_try) 2>&5
40499 ac_status=$?
40500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40501 (exit $ac_status); }; } &&
40502 { ac_try='test -s conftest$ac_exeext'
40503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40504 (eval $ac_try) 2>&5
40505 ac_status=$?
40506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40507 (exit $ac_status); }; }; then
40508 ac_cv_lib_unicows_main=yes
40509 else
40510 echo "$as_me: failed program was:" >&5
40511 sed 's/^/| /' conftest.$ac_ext >&5
40512
40513 ac_cv_lib_unicows_main=no
40514 fi
40515 rm -f conftest.err conftest.$ac_objext \
40516 conftest$ac_exeext conftest.$ac_ext
40517 LIBS=$ac_check_lib_save_LIBS
40518 fi
40519 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
40520 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
40521 if test $ac_cv_lib_unicows_main = yes; then
40522
40523 cat >>confdefs.h <<\_ACEOF
40524 #define wxUSE_UNICODE_MSLU 1
40525 _ACEOF
40526
40527
40528 else
40529
40530 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
40531 Applications will only run on Windows NT/2000/XP!" >&5
40532 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
40533 Applications will only run on Windows NT/2000/XP!" >&2;}
40534 wxUSE_UNICODE_MSLU=no
40535
40536 fi
40537
40538 fi
40539 fi
40540
40541 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
40542 cat >>confdefs.h <<\_ACEOF
40543 #define wxUSE_EXPERIMENTAL_PRINTF 1
40544 _ACEOF
40545
40546 fi
40547
40548
40549 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
40550 cat >>confdefs.h <<\_ACEOF
40551 #define wxUSE_POSTSCRIPT 1
40552 _ACEOF
40553
40554 fi
40555
40556 cat >>confdefs.h <<\_ACEOF
40557 #define wxUSE_AFM_FOR_POSTSCRIPT 1
40558 _ACEOF
40559
40560
40561 cat >>confdefs.h <<\_ACEOF
40562 #define wxUSE_NORMALIZED_PS_FONTS 1
40563 _ACEOF
40564
40565
40566
40567 if test "$wxUSE_CONSTRAINTS" = "yes"; then
40568 cat >>confdefs.h <<\_ACEOF
40569 #define wxUSE_CONSTRAINTS 1
40570 _ACEOF
40571
40572 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
40573 fi
40574
40575 if test "$wxUSE_MDI" = "yes"; then
40576 cat >>confdefs.h <<\_ACEOF
40577 #define wxUSE_MDI 1
40578 _ACEOF
40579
40580
40581 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
40582 cat >>confdefs.h <<\_ACEOF
40583 #define wxUSE_MDI_ARCHITECTURE 1
40584 _ACEOF
40585
40586 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
40587 fi
40588 fi
40589
40590 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
40591 cat >>confdefs.h <<\_ACEOF
40592 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
40593 _ACEOF
40594
40595 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
40596 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
40597 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
40598 fi
40599 fi
40600
40601 if test "$wxUSE_HELP" = "yes"; then
40602 cat >>confdefs.h <<\_ACEOF
40603 #define wxUSE_HELP 1
40604 _ACEOF
40605
40606 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
40607
40608 if test "$wxUSE_MSW" = 1; then
40609 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
40610 cat >>confdefs.h <<\_ACEOF
40611 #define wxUSE_MS_HTML_HELP 1
40612 _ACEOF
40613
40614 fi
40615 fi
40616
40617 if test "$wxUSE_WXHTML_HELP" = "yes"; then
40618 if test "$wxUSE_HTML" = "yes"; then
40619 cat >>confdefs.h <<\_ACEOF
40620 #define wxUSE_WXHTML_HELP 1
40621 _ACEOF
40622
40623 else
40624 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
40625 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
40626 wxUSE_WXHTML_HELP=no
40627 fi
40628 fi
40629 fi
40630
40631 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
40632 if test "$wxUSE_CONSTRAINTS" != "yes"; then
40633 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
40634 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
40635 else
40636 cat >>confdefs.h <<\_ACEOF
40637 #define wxUSE_PRINTING_ARCHITECTURE 1
40638 _ACEOF
40639
40640 fi
40641 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
40642 fi
40643
40644 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
40645 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
40646 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
40647 { (exit 1); exit 1; }; }
40648 fi
40649
40650
40651 if test "$wxUSE_METAFILE" = "yes"; then
40652 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
40653 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
40654 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
40655 wxUSE_METAFILE=no
40656 fi
40657 fi
40658
40659
40660 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
40661 -o "$wxUSE_CLIPBOARD" = "yes" \
40662 -o "$wxUSE_OLE" = "yes" \
40663 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
40664
40665 for ac_header in ole2.h
40666 do
40667 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40668 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40669 echo "$as_me:$LINENO: checking for $ac_header" >&5
40670 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40671 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40672 echo $ECHO_N "(cached) $ECHO_C" >&6
40673 fi
40674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40675 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40676 else
40677 # Is the header compilable?
40678 echo "$as_me:$LINENO: checking $ac_header usability" >&5
40679 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
40680 cat >conftest.$ac_ext <<_ACEOF
40681 /* confdefs.h. */
40682 _ACEOF
40683 cat confdefs.h >>conftest.$ac_ext
40684 cat >>conftest.$ac_ext <<_ACEOF
40685 /* end confdefs.h. */
40686 $ac_includes_default
40687 #include <$ac_header>
40688 _ACEOF
40689 rm -f conftest.$ac_objext
40690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40691 (eval $ac_compile) 2>conftest.er1
40692 ac_status=$?
40693 grep -v '^ *+' conftest.er1 >conftest.err
40694 rm -f conftest.er1
40695 cat conftest.err >&5
40696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40697 (exit $ac_status); } &&
40698 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40700 (eval $ac_try) 2>&5
40701 ac_status=$?
40702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40703 (exit $ac_status); }; } &&
40704 { ac_try='test -s conftest.$ac_objext'
40705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40706 (eval $ac_try) 2>&5
40707 ac_status=$?
40708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40709 (exit $ac_status); }; }; then
40710 ac_header_compiler=yes
40711 else
40712 echo "$as_me: failed program was:" >&5
40713 sed 's/^/| /' conftest.$ac_ext >&5
40714
40715 ac_header_compiler=no
40716 fi
40717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40718 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40719 echo "${ECHO_T}$ac_header_compiler" >&6
40720
40721 # Is the header present?
40722 echo "$as_me:$LINENO: checking $ac_header presence" >&5
40723 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
40724 cat >conftest.$ac_ext <<_ACEOF
40725 /* confdefs.h. */
40726 _ACEOF
40727 cat confdefs.h >>conftest.$ac_ext
40728 cat >>conftest.$ac_ext <<_ACEOF
40729 /* end confdefs.h. */
40730 #include <$ac_header>
40731 _ACEOF
40732 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40733 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
40734 ac_status=$?
40735 grep -v '^ *+' conftest.er1 >conftest.err
40736 rm -f conftest.er1
40737 cat conftest.err >&5
40738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40739 (exit $ac_status); } >/dev/null; then
40740 if test -s conftest.err; then
40741 ac_cpp_err=$ac_c_preproc_warn_flag
40742 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
40743 else
40744 ac_cpp_err=
40745 fi
40746 else
40747 ac_cpp_err=yes
40748 fi
40749 if test -z "$ac_cpp_err"; then
40750 ac_header_preproc=yes
40751 else
40752 echo "$as_me: failed program was:" >&5
40753 sed 's/^/| /' conftest.$ac_ext >&5
40754
40755 ac_header_preproc=no
40756 fi
40757 rm -f conftest.err conftest.$ac_ext
40758 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40759 echo "${ECHO_T}$ac_header_preproc" >&6
40760
40761 # So? What about this header?
40762 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
40763 yes:no: )
40764 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40765 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40766 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40767 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40768 ac_header_preproc=yes
40769 ;;
40770 no:yes:* )
40771 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40772 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40773 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
40774 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
40775 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40776 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40777 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
40778 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
40779 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40780 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40781 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40782 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40783 (
40784 cat <<\_ASBOX
40785 ## ----------------------------------------- ##
40786 ## Report this to wx-dev@lists.wxwidgets.org ##
40787 ## ----------------------------------------- ##
40788 _ASBOX
40789 ) |
40790 sed "s/^/$as_me: WARNING: /" >&2
40791 ;;
40792 esac
40793 echo "$as_me:$LINENO: checking for $ac_header" >&5
40794 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40795 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40796 echo $ECHO_N "(cached) $ECHO_C" >&6
40797 else
40798 eval "$as_ac_Header=\$ac_header_preproc"
40799 fi
40800 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40801 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40802
40803 fi
40804 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40805 cat >>confdefs.h <<_ACEOF
40806 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40807 _ACEOF
40808
40809 fi
40810
40811 done
40812
40813
40814 if test "$ac_cv_header_ole2_h" = "yes" ; then
40815 if test "$GCC" = yes ; then
40816
40817
40818 ac_ext=cc
40819 ac_cpp='$CXXCPP $CPPFLAGS'
40820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40823
40824
40825 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
40826 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
40827 cat >conftest.$ac_ext <<_ACEOF
40828 /* confdefs.h. */
40829 _ACEOF
40830 cat confdefs.h >>conftest.$ac_ext
40831 cat >>conftest.$ac_ext <<_ACEOF
40832 /* end confdefs.h. */
40833 #include <windows.h>
40834 #include <ole2.h>
40835 int
40836 main ()
40837 {
40838
40839 ;
40840 return 0;
40841 }
40842 _ACEOF
40843 rm -f conftest.$ac_objext
40844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40845 (eval $ac_compile) 2>conftest.er1
40846 ac_status=$?
40847 grep -v '^ *+' conftest.er1 >conftest.err
40848 rm -f conftest.er1
40849 cat conftest.err >&5
40850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40851 (exit $ac_status); } &&
40852 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40854 (eval $ac_try) 2>&5
40855 ac_status=$?
40856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40857 (exit $ac_status); }; } &&
40858 { ac_try='test -s conftest.$ac_objext'
40859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40860 (eval $ac_try) 2>&5
40861 ac_status=$?
40862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40863 (exit $ac_status); }; }; then
40864 echo "$as_me:$LINENO: result: no" >&5
40865 echo "${ECHO_T}no" >&6
40866 else
40867 echo "$as_me: failed program was:" >&5
40868 sed 's/^/| /' conftest.$ac_ext >&5
40869
40870 echo "$as_me:$LINENO: result: yes" >&5
40871 echo "${ECHO_T}yes" >&6
40872 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
40873 fi
40874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40875 ac_ext=c
40876 ac_cpp='$CPP $CPPFLAGS'
40877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40880
40881 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
40882 if test "$wxUSE_OLE" = "yes" ; then
40883 cat >>confdefs.h <<\_ACEOF
40884 #define wxUSE_OLE 1
40885 _ACEOF
40886
40887 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
40888 fi
40889 fi
40890
40891 if test "$wxUSE_DATAOBJ" = "yes" ; then
40892 cat >>confdefs.h <<\_ACEOF
40893 #define wxUSE_DATAOBJ 1
40894 _ACEOF
40895
40896 fi
40897 else
40898 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
40899 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
40900
40901 wxUSE_CLIPBOARD=no
40902 wxUSE_DRAG_AND_DROP=no
40903 wxUSE_DATAOBJ=no
40904 wxUSE_OLE=no
40905 fi
40906
40907 if test "$wxUSE_METAFILE" = "yes"; then
40908 cat >>confdefs.h <<\_ACEOF
40909 #define wxUSE_METAFILE 1
40910 _ACEOF
40911
40912
40913 cat >>confdefs.h <<\_ACEOF
40914 #define wxUSE_ENH_METAFILE 1
40915 _ACEOF
40916
40917 fi
40918 fi
40919
40920 if test "$wxUSE_IPC" = "yes"; then
40921 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
40922 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
40923 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
40924 wxUSE_IPC=no
40925 fi
40926
40927 if test "$wxUSE_IPC" = "yes"; then
40928 cat >>confdefs.h <<\_ACEOF
40929 #define wxUSE_IPC 1
40930 _ACEOF
40931
40932 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
40933 fi
40934 fi
40935
40936 if test "$wxUSE_DATAOBJ" = "yes"; then
40937 if test "$wxUSE_MGL" = 1; then
40938 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
40939 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
40940 wxUSE_DATAOBJ=no
40941 else
40942 cat >>confdefs.h <<\_ACEOF
40943 #define wxUSE_DATAOBJ 1
40944 _ACEOF
40945
40946 fi
40947 else
40948 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
40949 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
40950 wxUSE_CLIPBOARD=no
40951 wxUSE_DRAG_AND_DROP=no
40952 fi
40953
40954 if test "$wxUSE_CLIPBOARD" = "yes"; then
40955 if test "$wxUSE_MGL" = 1; then
40956 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
40957 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
40958 wxUSE_CLIPBOARD=no
40959 fi
40960
40961 if test "$wxUSE_CLIPBOARD" = "yes"; then
40962 cat >>confdefs.h <<\_ACEOF
40963 #define wxUSE_CLIPBOARD 1
40964 _ACEOF
40965
40966 fi
40967 fi
40968
40969 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
40970 if test "$wxUSE_GTK" = 1; then
40971 if test "$WXGTK12" != 1; then
40972 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
40973 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
40974 wxUSE_DRAG_AND_DROP=no
40975 fi
40976 fi
40977
40978 if test "$wxUSE_MOTIF" = 1; then
40979 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
40980 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
40981 wxUSE_DRAG_AND_DROP=no
40982 fi
40983
40984 if test "$wxUSE_X11" = 1; then
40985 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
40986 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
40987 wxUSE_DRAG_AND_DROP=no
40988 fi
40989
40990 if test "$wxUSE_MGL" = 1; then
40991 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
40992 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
40993 wxUSE_DRAG_AND_DROP=no
40994 fi
40995
40996 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
40997 cat >>confdefs.h <<\_ACEOF
40998 #define wxUSE_DRAG_AND_DROP 1
40999 _ACEOF
41000
41001 fi
41002
41003 fi
41004
41005 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
41006 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
41007 fi
41008
41009 if test "$wxUSE_SPLINES" = "yes" ; then
41010 cat >>confdefs.h <<\_ACEOF
41011 #define wxUSE_SPLINES 1
41012 _ACEOF
41013
41014 fi
41015
41016 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
41017 cat >>confdefs.h <<\_ACEOF
41018 #define wxUSE_MOUSEWHEEL 1
41019 _ACEOF
41020
41021 fi
41022
41023
41024 USES_CONTROLS=0
41025 if test "$wxUSE_CONTROLS" = "yes"; then
41026 USES_CONTROLS=1
41027 fi
41028
41029 if test "$wxUSE_ACCEL" = "yes"; then
41030 cat >>confdefs.h <<\_ACEOF
41031 #define wxUSE_ACCEL 1
41032 _ACEOF
41033
41034 USES_CONTROLS=1
41035 fi
41036
41037 if test "$wxUSE_BUTTON" = "yes"; then
41038 cat >>confdefs.h <<\_ACEOF
41039 #define wxUSE_BUTTON 1
41040 _ACEOF
41041
41042 USES_CONTROLS=1
41043 fi
41044
41045 if test "$wxUSE_BMPBUTTON" = "yes"; then
41046 cat >>confdefs.h <<\_ACEOF
41047 #define wxUSE_BMPBUTTON 1
41048 _ACEOF
41049
41050 USES_CONTROLS=1
41051 fi
41052
41053 if test "$wxUSE_CALCTRL" = "yes"; then
41054 cat >>confdefs.h <<\_ACEOF
41055 #define wxUSE_CALENDARCTRL 1
41056 _ACEOF
41057
41058 USES_CONTROLS=1
41059 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
41060 fi
41061
41062 if test "$wxUSE_CARET" = "yes"; then
41063 cat >>confdefs.h <<\_ACEOF
41064 #define wxUSE_CARET 1
41065 _ACEOF
41066
41067 USES_CONTROLS=1
41068 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
41069 fi
41070
41071 if test "$wxUSE_COMBOBOX" = "yes"; then
41072 cat >>confdefs.h <<\_ACEOF
41073 #define wxUSE_COMBOBOX 1
41074 _ACEOF
41075
41076 USES_CONTROLS=1
41077 fi
41078
41079 if test "$wxUSE_CHOICE" = "yes"; then
41080 cat >>confdefs.h <<\_ACEOF
41081 #define wxUSE_CHOICE 1
41082 _ACEOF
41083
41084 USES_CONTROLS=1
41085 fi
41086
41087 if test "$wxUSE_CHOICEBOOK" = "yes"; then
41088 cat >>confdefs.h <<\_ACEOF
41089 #define wxUSE_CHOICEBOOK 1
41090 _ACEOF
41091
41092 USES_CONTROLS=1
41093 fi
41094
41095 if test "$wxUSE_CHECKBOX" = "yes"; then
41096 cat >>confdefs.h <<\_ACEOF
41097 #define wxUSE_CHECKBOX 1
41098 _ACEOF
41099
41100 USES_CONTROLS=1
41101 fi
41102
41103 if test "$wxUSE_CHECKLST" = "yes"; then
41104 cat >>confdefs.h <<\_ACEOF
41105 #define wxUSE_CHECKLISTBOX 1
41106 _ACEOF
41107
41108 USES_CONTROLS=1
41109 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
41110 fi
41111
41112 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
41113 cat >>confdefs.h <<\_ACEOF
41114 #define wxUSE_DATEPICKCTRL 1
41115 _ACEOF
41116
41117 USES_CONTROLS=1
41118 fi
41119
41120 if test "$wxUSE_DISPLAY" = "yes"; then
41121 cat >>confdefs.h <<\_ACEOF
41122 #define wxUSE_DISPLAY 1
41123 _ACEOF
41124
41125 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
41126 fi
41127
41128 if test "$wxUSE_GAUGE" = "yes"; then
41129 cat >>confdefs.h <<\_ACEOF
41130 #define wxUSE_GAUGE 1
41131 _ACEOF
41132
41133 USES_CONTROLS=1
41134 fi
41135
41136 if test "$wxUSE_GRID" = "yes"; then
41137 cat >>confdefs.h <<\_ACEOF
41138 #define wxUSE_GRID 1
41139 _ACEOF
41140
41141 USES_CONTROLS=1
41142 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
41143 fi
41144
41145 if test "$wxUSE_IMAGLIST" = "yes"; then
41146 cat >>confdefs.h <<\_ACEOF
41147 #define wxUSE_IMAGLIST 1
41148 _ACEOF
41149
41150 fi
41151
41152 if test "$wxUSE_LISTBOOK" = "yes"; then
41153 cat >>confdefs.h <<\_ACEOF
41154 #define wxUSE_LISTBOOK 1
41155 _ACEOF
41156
41157 USES_CONTROLS=1
41158 fi
41159
41160 if test "$wxUSE_LISTBOX" = "yes"; then
41161 cat >>confdefs.h <<\_ACEOF
41162 #define wxUSE_LISTBOX 1
41163 _ACEOF
41164
41165 USES_CONTROLS=1
41166 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
41167 fi
41168
41169 if test "$wxUSE_LISTCTRL" = "yes"; then
41170 if test "$wxUSE_IMAGLIST" = "yes"; then
41171 cat >>confdefs.h <<\_ACEOF
41172 #define wxUSE_LISTCTRL 1
41173 _ACEOF
41174
41175 USES_CONTROLS=1
41176 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
41177 else
41178 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
41179 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
41180 fi
41181 fi
41182
41183 if test "$wxUSE_NOTEBOOK" = "yes"; then
41184 cat >>confdefs.h <<\_ACEOF
41185 #define wxUSE_NOTEBOOK 1
41186 _ACEOF
41187
41188 USES_CONTROLS=1
41189 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
41190 fi
41191
41192
41193 if test "$wxUSE_RADIOBOX" = "yes"; then
41194 cat >>confdefs.h <<\_ACEOF
41195 #define wxUSE_RADIOBOX 1
41196 _ACEOF
41197
41198 USES_CONTROLS=1
41199 fi
41200
41201 if test "$wxUSE_RADIOBTN" = "yes"; then
41202 cat >>confdefs.h <<\_ACEOF
41203 #define wxUSE_RADIOBTN 1
41204 _ACEOF
41205
41206 USES_CONTROLS=1
41207 fi
41208
41209 if test "$wxUSE_SASH" = "yes"; then
41210 cat >>confdefs.h <<\_ACEOF
41211 #define wxUSE_SASH 1
41212 _ACEOF
41213
41214 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
41215 fi
41216
41217 if test "$wxUSE_SCROLLBAR" = "yes"; then
41218 cat >>confdefs.h <<\_ACEOF
41219 #define wxUSE_SCROLLBAR 1
41220 _ACEOF
41221
41222 USES_CONTROLS=1
41223 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
41224 fi
41225
41226 if test "$wxUSE_SLIDER" = "yes"; then
41227 cat >>confdefs.h <<\_ACEOF
41228 #define wxUSE_SLIDER 1
41229 _ACEOF
41230
41231 USES_CONTROLS=1
41232 fi
41233
41234 if test "$wxUSE_SPINBTN" = "yes"; then
41235 cat >>confdefs.h <<\_ACEOF
41236 #define wxUSE_SPINBTN 1
41237 _ACEOF
41238
41239 USES_CONTROLS=1
41240 fi
41241
41242 if test "$wxUSE_SPINCTRL" = "yes"; then
41243 cat >>confdefs.h <<\_ACEOF
41244 #define wxUSE_SPINCTRL 1
41245 _ACEOF
41246
41247 USES_CONTROLS=1
41248 fi
41249
41250 if test "$wxUSE_SPLITTER" = "yes"; then
41251 cat >>confdefs.h <<\_ACEOF
41252 #define wxUSE_SPLITTER 1
41253 _ACEOF
41254
41255 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
41256 fi
41257
41258 if test "$wxUSE_STATBMP" = "yes"; then
41259 cat >>confdefs.h <<\_ACEOF
41260 #define wxUSE_STATBMP 1
41261 _ACEOF
41262
41263 USES_CONTROLS=1
41264 fi
41265
41266 if test "$wxUSE_STATBOX" = "yes"; then
41267 cat >>confdefs.h <<\_ACEOF
41268 #define wxUSE_STATBOX 1
41269 _ACEOF
41270
41271 USES_CONTROLS=1
41272 fi
41273
41274 if test "$wxUSE_STATTEXT" = "yes"; then
41275 cat >>confdefs.h <<\_ACEOF
41276 #define wxUSE_STATTEXT 1
41277 _ACEOF
41278
41279 USES_CONTROLS=1
41280 fi
41281
41282 if test "$wxUSE_STATLINE" = "yes"; then
41283 cat >>confdefs.h <<\_ACEOF
41284 #define wxUSE_STATLINE 1
41285 _ACEOF
41286
41287 USES_CONTROLS=1
41288 fi
41289
41290 if test "$wxUSE_STATUSBAR" = "yes"; then
41291 cat >>confdefs.h <<\_ACEOF
41292 #define wxUSE_NATIVE_STATUSBAR 1
41293 _ACEOF
41294
41295 cat >>confdefs.h <<\_ACEOF
41296 #define wxUSE_STATUSBAR 1
41297 _ACEOF
41298
41299 USES_CONTROLS=1
41300
41301 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
41302 fi
41303
41304 if test "$wxUSE_TABDIALOG" = "yes"; then
41305 cat >>confdefs.h <<\_ACEOF
41306 #define wxUSE_TAB_DIALOG 1
41307 _ACEOF
41308
41309 fi
41310
41311 if test "$wxUSE_TEXTCTRL" = "yes"; then
41312 cat >>confdefs.h <<\_ACEOF
41313 #define wxUSE_TEXTCTRL 1
41314 _ACEOF
41315
41316 USES_CONTROLS=1
41317 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
41318 fi
41319
41320 if test "$wxUSE_TOGGLEBTN" = "yes"; then
41321 if test "$wxUSE_COCOA" = 1 ; then
41322 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
41323 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
41324 wxUSE_TOGGLEBTN=no
41325 fi
41326 if test "$wxUSE_UNIVERSAL" = "yes"; then
41327 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
41328 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
41329 wxUSE_TOGGLEBTN=no
41330 fi
41331
41332 if test "$wxUSE_TOGGLEBTN" = "yes"; then
41333 cat >>confdefs.h <<\_ACEOF
41334 #define wxUSE_TOGGLEBTN 1
41335 _ACEOF
41336
41337 USES_CONTROLS=1
41338 fi
41339 fi
41340
41341 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
41342 cat >>confdefs.h <<\_ACEOF
41343 #define wxUSE_TOOLBAR_SIMPLE 1
41344 _ACEOF
41345
41346 wxUSE_TOOLBAR="yes"
41347 USES_CONTROLS=1
41348 fi
41349
41350 if test "$wxUSE_TOOLBAR" = "yes"; then
41351 cat >>confdefs.h <<\_ACEOF
41352 #define wxUSE_TOOLBAR 1
41353 _ACEOF
41354
41355 USES_CONTROLS=1
41356
41357 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
41358 wxUSE_TOOLBAR_NATIVE="yes"
41359 fi
41360
41361 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
41362 cat >>confdefs.h <<\_ACEOF
41363 #define wxUSE_TOOLBAR_NATIVE 1
41364 _ACEOF
41365
41366 USES_CONTROLS=1
41367 fi
41368
41369 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
41370 fi
41371
41372 if test "$wxUSE_TOOLTIPS" = "yes"; then
41373 if test "$wxUSE_MOTIF" = 1; then
41374 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
41375 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
41376 else
41377 if test "$wxUSE_UNIVERSAL" = "yes"; then
41378 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
41379 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
41380 else
41381 cat >>confdefs.h <<\_ACEOF
41382 #define wxUSE_TOOLTIPS 1
41383 _ACEOF
41384
41385 fi
41386 fi
41387 fi
41388
41389 if test "$wxUSE_TREECTRL" = "yes"; then
41390 if test "$wxUSE_IMAGLIST" = "yes"; then
41391 cat >>confdefs.h <<\_ACEOF
41392 #define wxUSE_TREECTRL 1
41393 _ACEOF
41394
41395 USES_CONTROLS=1
41396 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
41397 else
41398 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
41399 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
41400 fi
41401 fi
41402
41403 if test "$wxUSE_POPUPWIN" = "yes"; then
41404 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
41405 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
41406 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
41407 else
41408 if test "$wxUSE_PM" = 1; then
41409 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
41410 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
41411 else
41412 cat >>confdefs.h <<\_ACEOF
41413 #define wxUSE_POPUPWIN 1
41414 _ACEOF
41415
41416 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
41417
41418 USES_CONTROLS=1
41419 fi
41420 fi
41421 fi
41422
41423 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
41424 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
41425 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
41426 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
41427 else
41428 cat >>confdefs.h <<\_ACEOF
41429 #define wxUSE_DIALUP_MANAGER 1
41430 _ACEOF
41431
41432 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
41433 fi
41434 fi
41435
41436 if test "$wxUSE_TIPWINDOW" = "yes"; then
41437 if test "$wxUSE_PM" = 1; then
41438 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
41439 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
41440 else
41441 cat >>confdefs.h <<\_ACEOF
41442 #define wxUSE_TIPWINDOW 1
41443 _ACEOF
41444
41445 fi
41446 fi
41447
41448 if test "$USES_CONTROLS" = 1; then
41449 cat >>confdefs.h <<\_ACEOF
41450 #define wxUSE_CONTROLS 1
41451 _ACEOF
41452
41453 fi
41454
41455
41456 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
41457 cat >>confdefs.h <<\_ACEOF
41458 #define wxUSE_ACCESSIBILITY 1
41459 _ACEOF
41460
41461 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
41462 fi
41463
41464 if test "$wxUSE_DC_CACHEING" = "yes"; then
41465 cat >>confdefs.h <<\_ACEOF
41466 #define wxUSE_DC_CACHEING 1
41467 _ACEOF
41468
41469 fi
41470
41471 if test "$wxUSE_DRAGIMAGE" = "yes"; then
41472 cat >>confdefs.h <<\_ACEOF
41473 #define wxUSE_DRAGIMAGE 1
41474 _ACEOF
41475
41476 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
41477 fi
41478
41479 if test "$wxUSE_EXCEPTIONS" = "yes"; then
41480 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41481 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
41482 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
41483 else
41484 cat >>confdefs.h <<\_ACEOF
41485 #define wxUSE_EXCEPTIONS 1
41486 _ACEOF
41487
41488 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
41489 fi
41490 fi
41491
41492 USE_HTML=0
41493 if test "$wxUSE_HTML" = "yes"; then
41494 cat >>confdefs.h <<\_ACEOF
41495 #define wxUSE_HTML 1
41496 _ACEOF
41497
41498 USE_HTML=1
41499 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
41500 if test "$wxUSE_MAC" = 1; then
41501 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
41502 fi
41503 fi
41504 if test "$wxUSE_WEBKIT" = "yes"; then
41505 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
41506 old_CPPFLAGS="$CPPFLAGS"
41507 CPPFLAGS="$CPPFLAGS -x objective-c++"
41508 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
41509 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
41510 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
41511 echo $ECHO_N "(cached) $ECHO_C" >&6
41512 else
41513 cat >conftest.$ac_ext <<_ACEOF
41514 /* confdefs.h. */
41515 _ACEOF
41516 cat confdefs.h >>conftest.$ac_ext
41517 cat >>conftest.$ac_ext <<_ACEOF
41518 /* end confdefs.h. */
41519 #include <Carbon/Carbon.h>
41520
41521 #include <WebKit/HIWebView.h>
41522 _ACEOF
41523 rm -f conftest.$ac_objext
41524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41525 (eval $ac_compile) 2>conftest.er1
41526 ac_status=$?
41527 grep -v '^ *+' conftest.er1 >conftest.err
41528 rm -f conftest.er1
41529 cat conftest.err >&5
41530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41531 (exit $ac_status); } &&
41532 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41534 (eval $ac_try) 2>&5
41535 ac_status=$?
41536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41537 (exit $ac_status); }; } &&
41538 { ac_try='test -s conftest.$ac_objext'
41539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41540 (eval $ac_try) 2>&5
41541 ac_status=$?
41542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41543 (exit $ac_status); }; }; then
41544 ac_cv_header_WebKit_HIWebView_h=yes
41545 else
41546 echo "$as_me: failed program was:" >&5
41547 sed 's/^/| /' conftest.$ac_ext >&5
41548
41549 ac_cv_header_WebKit_HIWebView_h=no
41550 fi
41551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41552 fi
41553 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
41554 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
41555 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
41556
41557 cat >>confdefs.h <<\_ACEOF
41558 #define wxUSE_WEBKIT 1
41559 _ACEOF
41560
41561 WEBKIT_LINK="-framework WebKit"
41562
41563 else
41564
41565 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
41566 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
41567 wxUSE_WEBKIT=no
41568
41569 fi
41570
41571
41572 CPPFLAGS="$old_CPPFLAGS"
41573 elif test "$wxUSE_COCOA" = 1; then
41574 cat >>confdefs.h <<\_ACEOF
41575 #define wxUSE_WEBKIT 1
41576 _ACEOF
41577
41578 else
41579 wxUSE_WEBKIT=no
41580 fi
41581 fi
41582
41583 USE_XRC=0
41584 if test "$wxUSE_XRC" = "yes"; then
41585 if test "$wxUSE_XML" != "yes"; then
41586 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
41587 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
41588 wxUSE_XRC=no
41589 else
41590 cat >>confdefs.h <<\_ACEOF
41591 #define wxUSE_XRC 1
41592 _ACEOF
41593
41594 USE_XRC=1
41595 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
41596 fi
41597 fi
41598
41599 if test "$wxUSE_MENUS" = "yes"; then
41600 cat >>confdefs.h <<\_ACEOF
41601 #define wxUSE_MENUS 1
41602 _ACEOF
41603
41604 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
41605 fi
41606
41607 if test "$wxUSE_METAFILE" = "yes"; then
41608 cat >>confdefs.h <<\_ACEOF
41609 #define wxUSE_METAFILE 1
41610 _ACEOF
41611
41612 fi
41613
41614 if test "$wxUSE_MIMETYPE" = "yes"; then
41615 cat >>confdefs.h <<\_ACEOF
41616 #define wxUSE_MIMETYPE 1
41617 _ACEOF
41618
41619 fi
41620
41621 if test "$wxUSE_MINIFRAME" = "yes"; then
41622 cat >>confdefs.h <<\_ACEOF
41623 #define wxUSE_MINIFRAME 1
41624 _ACEOF
41625
41626 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
41627 fi
41628
41629 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
41630 cat >>confdefs.h <<\_ACEOF
41631 #define wxUSE_SYSTEM_OPTIONS 1
41632 _ACEOF
41633
41634 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
41635 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
41636 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
41637 fi
41638 fi
41639
41640
41641 if test "$wxUSE_VALIDATORS" = "yes"; then
41642 cat >>confdefs.h <<\_ACEOF
41643 #define wxUSE_VALIDATORS 1
41644 _ACEOF
41645
41646 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
41647 fi
41648
41649 if test "$wxUSE_PALETTE" = "yes" ; then
41650 cat >>confdefs.h <<\_ACEOF
41651 #define wxUSE_PALETTE 1
41652 _ACEOF
41653
41654 fi
41655
41656 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
41657 LIBS=" -lunicows $LIBS"
41658 fi
41659
41660
41661 if test "$wxUSE_IMAGE" = "yes" ; then
41662 cat >>confdefs.h <<\_ACEOF
41663 #define wxUSE_IMAGE 1
41664 _ACEOF
41665
41666
41667 if test "$wxUSE_GIF" = "yes" ; then
41668 cat >>confdefs.h <<\_ACEOF
41669 #define wxUSE_GIF 1
41670 _ACEOF
41671
41672 fi
41673
41674 if test "$wxUSE_PCX" = "yes" ; then
41675 cat >>confdefs.h <<\_ACEOF
41676 #define wxUSE_PCX 1
41677 _ACEOF
41678
41679 fi
41680
41681 if test "$wxUSE_IFF" = "yes" ; then
41682 cat >>confdefs.h <<\_ACEOF
41683 #define wxUSE_IFF 1
41684 _ACEOF
41685
41686 fi
41687
41688 if test "$wxUSE_PNM" = "yes" ; then
41689 cat >>confdefs.h <<\_ACEOF
41690 #define wxUSE_PNM 1
41691 _ACEOF
41692
41693 fi
41694
41695 if test "$wxUSE_XPM" = "yes" ; then
41696 cat >>confdefs.h <<\_ACEOF
41697 #define wxUSE_XPM 1
41698 _ACEOF
41699
41700 fi
41701
41702 if test "$wxUSE_ICO_CUR" = "yes" ; then
41703 cat >>confdefs.h <<\_ACEOF
41704 #define wxUSE_ICO_CUR 1
41705 _ACEOF
41706
41707 fi
41708 fi
41709
41710
41711 if test "$wxUSE_CHOICEDLG" = "yes"; then
41712 cat >>confdefs.h <<\_ACEOF
41713 #define wxUSE_CHOICEDLG 1
41714 _ACEOF
41715
41716 fi
41717
41718 if test "$wxUSE_COLOURDLG" = "yes"; then
41719 cat >>confdefs.h <<\_ACEOF
41720 #define wxUSE_COLOURDLG 1
41721 _ACEOF
41722
41723 fi
41724
41725 if test "$wxUSE_FILEDLG" = "yes"; then
41726 cat >>confdefs.h <<\_ACEOF
41727 #define wxUSE_FILEDLG 1
41728 _ACEOF
41729
41730 fi
41731
41732 if test "$wxUSE_FINDREPLDLG" = "yes"; then
41733 cat >>confdefs.h <<\_ACEOF
41734 #define wxUSE_FINDREPLDLG 1
41735 _ACEOF
41736
41737 fi
41738
41739 if test "$wxUSE_FONTDLG" = "yes"; then
41740 cat >>confdefs.h <<\_ACEOF
41741 #define wxUSE_FONTDLG 1
41742 _ACEOF
41743
41744 fi
41745
41746 if test "$wxUSE_DIRDLG" = "yes"; then
41747 if test "$wxUSE_TREECTRL" != "yes"; then
41748 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
41749 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
41750 else
41751 cat >>confdefs.h <<\_ACEOF
41752 #define wxUSE_DIRDLG 1
41753 _ACEOF
41754
41755 fi
41756 fi
41757
41758 if test "$wxUSE_MSGDLG" = "yes"; then
41759 cat >>confdefs.h <<\_ACEOF
41760 #define wxUSE_MSGDLG 1
41761 _ACEOF
41762
41763 fi
41764
41765 if test "$wxUSE_NUMBERDLG" = "yes"; then
41766 cat >>confdefs.h <<\_ACEOF
41767 #define wxUSE_NUMBERDLG 1
41768 _ACEOF
41769
41770 fi
41771
41772 if test "$wxUSE_PROGRESSDLG" = "yes"; then
41773 if test "$wxUSE_CONSTRAINTS" != "yes"; then
41774 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
41775 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
41776 else
41777 cat >>confdefs.h <<\_ACEOF
41778 #define wxUSE_PROGRESSDLG 1
41779 _ACEOF
41780
41781 fi
41782 fi
41783
41784 if test "$wxUSE_SPLASH" = "yes"; then
41785 cat >>confdefs.h <<\_ACEOF
41786 #define wxUSE_SPLASH 1
41787 _ACEOF
41788
41789 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
41790 fi
41791
41792 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
41793 if test "$wxUSE_CONSTRAINTS" != "yes"; then
41794 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
41795 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
41796 else
41797 cat >>confdefs.h <<\_ACEOF
41798 #define wxUSE_STARTUP_TIPS 1
41799 _ACEOF
41800
41801 fi
41802 fi
41803
41804 if test "$wxUSE_TEXTDLG" = "yes"; then
41805 cat >>confdefs.h <<\_ACEOF
41806 #define wxUSE_TEXTDLG 1
41807 _ACEOF
41808
41809 fi
41810
41811 if test "$wxUSE_WIZARDDLG" = "yes"; then
41812 cat >>confdefs.h <<\_ACEOF
41813 #define wxUSE_WIZARDDLG 1
41814 _ACEOF
41815
41816 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
41817 fi
41818
41819
41820 if test "$wxUSE_MEDIACTRL" = "yes"; then
41821 if test "$wxUSE_GTK" = 1; then
41822 wxUSE_GSTREAMER="yes"
41823
41824
41825 succeeded=no
41826
41827 if test -z "$PKG_CONFIG"; then
41828 # Extract the first word of "pkg-config", so it can be a program name with args.
41829 set dummy pkg-config; ac_word=$2
41830 echo "$as_me:$LINENO: checking for $ac_word" >&5
41831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41832 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41833 echo $ECHO_N "(cached) $ECHO_C" >&6
41834 else
41835 case $PKG_CONFIG in
41836 [\\/]* | ?:[\\/]*)
41837 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41838 ;;
41839 *)
41840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41841 for as_dir in $PATH
41842 do
41843 IFS=$as_save_IFS
41844 test -z "$as_dir" && as_dir=.
41845 for ac_exec_ext in '' $ac_executable_extensions; do
41846 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41847 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41848 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41849 break 2
41850 fi
41851 done
41852 done
41853
41854 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
41855 ;;
41856 esac
41857 fi
41858 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41859
41860 if test -n "$PKG_CONFIG"; then
41861 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41862 echo "${ECHO_T}$PKG_CONFIG" >&6
41863 else
41864 echo "$as_me:$LINENO: result: no" >&5
41865 echo "${ECHO_T}no" >&6
41866 fi
41867
41868 fi
41869
41870 if test "$PKG_CONFIG" = "no" ; then
41871 echo "*** The pkg-config script could not be found. Make sure it is"
41872 echo "*** in your path, or set the PKG_CONFIG environment variable"
41873 echo "*** to the full path to pkg-config."
41874 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
41875 else
41876 PKG_CONFIG_MIN_VERSION=0.9.0
41877 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
41878 echo "$as_me:$LINENO: checking for gstreamer-0.8" >&5
41879 echo $ECHO_N "checking for gstreamer-0.8... $ECHO_C" >&6
41880
41881 if $PKG_CONFIG --exists "gstreamer-0.8" ; then
41882 echo "$as_me:$LINENO: result: yes" >&5
41883 echo "${ECHO_T}yes" >&6
41884 succeeded=yes
41885
41886 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
41887 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
41888 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-0.8"`
41889 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
41890 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
41891
41892 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
41893 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
41894 GSTREAMER_LIBS=`$PKG_CONFIG --libs "gstreamer-0.8"`
41895 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
41896 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
41897 else
41898 GSTREAMER_CFLAGS=""
41899 GSTREAMER_LIBS=""
41900 ## If we have a custom action on failure, don't print errors, but
41901 ## do set a variable so people can do so.
41902 GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.8"`
41903
41904 fi
41905
41906
41907
41908 else
41909 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
41910 echo "*** See http://www.freedesktop.org/software/pkgconfig"
41911 fi
41912 fi
41913
41914 if test $succeeded = yes; then
41915
41916 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
41917 LIBS="$LIBS $GSTREAMER_LIBS -lgstplay-0.8"
41918
41919 else
41920
41921 { echo "$as_me:$LINENO: WARNING: GStreamer installation not found" >&5
41922 echo "$as_me: WARNING: GStreamer installation not found" >&2;}
41923 wxUSE_GSTREAMER="no"
41924
41925 fi
41926
41927
41928
41929
41930
41931 if test "x$GST_INSPECT" == "x"; then
41932 # Extract the first word of "gst-inspect", so it can be a program name with args.
41933 set dummy gst-inspect; ac_word=$2
41934 echo "$as_me:$LINENO: checking for $ac_word" >&5
41935 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41936 if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
41937 echo $ECHO_N "(cached) $ECHO_C" >&6
41938 else
41939 if test -n "$GST_INSPECT"; then
41940 ac_cv_prog_GST_INSPECT="$GST_INSPECT" # Let the user override the test.
41941 else
41942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41943 for as_dir in $PATH
41944 do
41945 IFS=$as_save_IFS
41946 test -z "$as_dir" && as_dir=.
41947 for ac_exec_ext in '' $ac_executable_extensions; do
41948 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41949 ac_cv_prog_GST_INSPECT="gst-inspect"
41950 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41951 break 2
41952 fi
41953 done
41954 done
41955
41956 fi
41957 fi
41958 GST_INSPECT=$ac_cv_prog_GST_INSPECT
41959 if test -n "$GST_INSPECT"; then
41960 echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
41961 echo "${ECHO_T}$GST_INSPECT" >&6
41962 else
41963 echo "$as_me:$LINENO: result: no" >&5
41964 echo "${ECHO_T}no" >&6
41965 fi
41966
41967 fi
41968
41969 if test "x$GST_INSPECT" != "x"; then
41970 echo "$as_me:$LINENO: checking GStreamer element xvimagesink" >&5
41971 echo $ECHO_N "checking GStreamer element xvimagesink... $ECHO_C" >&6
41972 if $GST_INSPECT xvimagesink > /dev/null 2> /dev/null ; then
41973 echo "$as_me:$LINENO: result: found." >&5
41974 echo "${ECHO_T}found." >&6
41975
41976 else
41977 echo "$as_me:$LINENO: result: not found." >&5
41978 echo "${ECHO_T}not found." >&6
41979
41980 wxUSE_GSTREAMER="no"
41981 { echo "$as_me:$LINENO: WARNING: x video sink not found - cannot use GStreamer" >&5
41982 echo "$as_me: WARNING: x video sink not found - cannot use GStreamer" >&2;}
41983
41984 fi
41985 fi
41986
41987
41988 echo "$as_me:$LINENO: checking for gst/xoverlay/xoverlay.h" >&5
41989 echo $ECHO_N "checking for gst/xoverlay/xoverlay.h... $ECHO_C" >&6
41990 if test "${ac_cv_header_gst_xoverlay_xoverlay_h+set}" = set; then
41991 echo $ECHO_N "(cached) $ECHO_C" >&6
41992 else
41993 cat >conftest.$ac_ext <<_ACEOF
41994 /* confdefs.h. */
41995 _ACEOF
41996 cat confdefs.h >>conftest.$ac_ext
41997 cat >>conftest.$ac_ext <<_ACEOF
41998 /* end confdefs.h. */
41999 #include <gst/gst.h>
42000
42001 #include <gst/xoverlay/xoverlay.h>
42002 _ACEOF
42003 rm -f conftest.$ac_objext
42004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42005 (eval $ac_compile) 2>conftest.er1
42006 ac_status=$?
42007 grep -v '^ *+' conftest.er1 >conftest.err
42008 rm -f conftest.er1
42009 cat conftest.err >&5
42010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42011 (exit $ac_status); } &&
42012 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42014 (eval $ac_try) 2>&5
42015 ac_status=$?
42016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42017 (exit $ac_status); }; } &&
42018 { ac_try='test -s conftest.$ac_objext'
42019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42020 (eval $ac_try) 2>&5
42021 ac_status=$?
42022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42023 (exit $ac_status); }; }; then
42024 ac_cv_header_gst_xoverlay_xoverlay_h=yes
42025 else
42026 echo "$as_me: failed program was:" >&5
42027 sed 's/^/| /' conftest.$ac_ext >&5
42028
42029 ac_cv_header_gst_xoverlay_xoverlay_h=no
42030 fi
42031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42032 fi
42033 echo "$as_me:$LINENO: result: $ac_cv_header_gst_xoverlay_xoverlay_h" >&5
42034 echo "${ECHO_T}$ac_cv_header_gst_xoverlay_xoverlay_h" >&6
42035 if test $ac_cv_header_gst_xoverlay_xoverlay_h = yes; then
42036 :
42037 else
42038
42039 wxUSE_GSTREAMER="no"
42040 { echo "$as_me:$LINENO: WARNING: xoverlay header not found, cannot use GStreamer" >&5
42041 echo "$as_me: WARNING: xoverlay header not found, cannot use GStreamer" >&2;}
42042
42043 fi
42044
42045
42046
42047 echo "$as_me:$LINENO: checking for gstplay 0.8" >&5
42048 echo $ECHO_N "checking for gstplay 0.8... $ECHO_C" >&6
42049
42050 ac_find_libraries=
42051 for ac_dir in $SEARCH_LIB;
42052 do
42053 for ac_extension in a so sl dylib dll.a; do
42054 if test -f "$ac_dir/libgstplay-0.8.$ac_extension"; then
42055 ac_find_libraries=$ac_dir
42056 break 2
42057 fi
42058 done
42059 done
42060
42061
42062 if test "$ac_find_libraries" = "" ; then
42063 echo "$as_me:$LINENO: result: no" >&5
42064 echo "${ECHO_T}no" >&6
42065 wxUSE_GSTREAMER="no"
42066 else
42067 echo "$as_me:$LINENO: result: yes" >&5
42068 echo "${ECHO_T}yes" >&6
42069 fi
42070
42071 if test "$wxUSE_GSTREAMER" = "yes"; then
42072 cat >>confdefs.h <<\_ACEOF
42073 #define wxUSE_GSTREAMER 1
42074 _ACEOF
42075
42076 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
42077 echo "${ECHO_T}GStreamer detection successful" >&6
42078 fi
42079 fi
42080 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
42081 cat >>confdefs.h <<\_ACEOF
42082 #define wxUSE_MEDIACTRL 1
42083 _ACEOF
42084
42085 fi
42086
42087
42088 if test "$cross_compiling" = "yes"; then
42089 OSINFO="\"$host\""
42090 else
42091 OSINFO=`uname -s -r -m`
42092 OSINFO="\"$OSINFO\""
42093 fi
42094
42095 cat >>confdefs.h <<_ACEOF
42096 #define WXWIN_OS_DESCRIPTION $OSINFO
42097 _ACEOF
42098
42099
42100
42101 if test "x$prefix" != "xNONE"; then
42102 wxPREFIX=$prefix
42103 else
42104 wxPREFIX=$ac_default_prefix
42105 fi
42106
42107 cat >>confdefs.h <<_ACEOF
42108 #define wxINSTALL_PREFIX "$wxPREFIX"
42109 _ACEOF
42110
42111
42112
42113
42114 CORE_BASE_LIBS="net base"
42115 CORE_GUI_LIBS="adv core"
42116
42117 if test "$wxUSE_XML" = "yes" ; then
42118 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
42119 fi
42120 if test "$wxUSE_ODBC" != "no" ; then
42121 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
42122 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
42123 fi
42124 if test "$wxUSE_HTML" = "yes" ; then
42125 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
42126 fi
42127 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
42128 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
42129 fi
42130 if test "$wxUSE_XRC" = "yes" ; then
42131 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
42132 fi
42133
42134 if test "$wxUSE_GUI" != "yes"; then
42135 CORE_GUI_LIBS=""
42136 fi
42137
42138
42139
42140
42141
42142
42143
42144
42145 if test "$wxUSE_MAC" = 1 ; then
42146 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
42147 if test "$USE_DARWIN" = 1; then
42148 LDFLAGS="$LDFLAGS -framework QuickTime"
42149 else
42150 LDFLAGS="$LDFLAGS -lQuickTimeLib"
42151 fi
42152 fi
42153 if test "$USE_DARWIN" = 1; then
42154 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
42155 else
42156 LDFLAGS="$LDFLAGS -lCarbonLib"
42157 fi
42158 fi
42159 if test "$wxUSE_COCOA" = 1 ; then
42160 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
42161 if test "$wxUSE_MEDIACTRL" = "yes"; then
42162 LDFLAGS="$LDFLAGS -framework QuickTime"
42163 fi
42164 fi
42165 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
42166 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
42167 fi
42168
42169
42170 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
42171
42172 have_cos=0
42173 have_floor=0
42174
42175 for ac_func in cos
42176 do
42177 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42178 echo "$as_me:$LINENO: checking for $ac_func" >&5
42179 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42180 if eval "test \"\${$as_ac_var+set}\" = set"; then
42181 echo $ECHO_N "(cached) $ECHO_C" >&6
42182 else
42183 cat >conftest.$ac_ext <<_ACEOF
42184 /* confdefs.h. */
42185 _ACEOF
42186 cat confdefs.h >>conftest.$ac_ext
42187 cat >>conftest.$ac_ext <<_ACEOF
42188 /* end confdefs.h. */
42189 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42190 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42191 #define $ac_func innocuous_$ac_func
42192
42193 /* System header to define __stub macros and hopefully few prototypes,
42194 which can conflict with char $ac_func (); below.
42195 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42196 <limits.h> exists even on freestanding compilers. */
42197
42198 #ifdef __STDC__
42199 # include <limits.h>
42200 #else
42201 # include <assert.h>
42202 #endif
42203
42204 #undef $ac_func
42205
42206 /* Override any gcc2 internal prototype to avoid an error. */
42207 #ifdef __cplusplus
42208 extern "C"
42209 {
42210 #endif
42211 /* We use char because int might match the return type of a gcc2
42212 builtin and then its argument prototype would still apply. */
42213 char $ac_func ();
42214 /* The GNU C library defines this for functions which it implements
42215 to always fail with ENOSYS. Some functions are actually named
42216 something starting with __ and the normal name is an alias. */
42217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42218 choke me
42219 #else
42220 char (*f) () = $ac_func;
42221 #endif
42222 #ifdef __cplusplus
42223 }
42224 #endif
42225
42226 int
42227 main ()
42228 {
42229 return f != $ac_func;
42230 ;
42231 return 0;
42232 }
42233 _ACEOF
42234 rm -f conftest.$ac_objext conftest$ac_exeext
42235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42236 (eval $ac_link) 2>conftest.er1
42237 ac_status=$?
42238 grep -v '^ *+' conftest.er1 >conftest.err
42239 rm -f conftest.er1
42240 cat conftest.err >&5
42241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42242 (exit $ac_status); } &&
42243 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42245 (eval $ac_try) 2>&5
42246 ac_status=$?
42247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42248 (exit $ac_status); }; } &&
42249 { ac_try='test -s conftest$ac_exeext'
42250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42251 (eval $ac_try) 2>&5
42252 ac_status=$?
42253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42254 (exit $ac_status); }; }; then
42255 eval "$as_ac_var=yes"
42256 else
42257 echo "$as_me: failed program was:" >&5
42258 sed 's/^/| /' conftest.$ac_ext >&5
42259
42260 eval "$as_ac_var=no"
42261 fi
42262 rm -f conftest.err conftest.$ac_objext \
42263 conftest$ac_exeext conftest.$ac_ext
42264 fi
42265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42267 if test `eval echo '${'$as_ac_var'}'` = yes; then
42268 cat >>confdefs.h <<_ACEOF
42269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42270 _ACEOF
42271 have_cos=1
42272 fi
42273 done
42274
42275
42276 for ac_func in floor
42277 do
42278 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42279 echo "$as_me:$LINENO: checking for $ac_func" >&5
42280 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42281 if eval "test \"\${$as_ac_var+set}\" = set"; then
42282 echo $ECHO_N "(cached) $ECHO_C" >&6
42283 else
42284 cat >conftest.$ac_ext <<_ACEOF
42285 /* confdefs.h. */
42286 _ACEOF
42287 cat confdefs.h >>conftest.$ac_ext
42288 cat >>conftest.$ac_ext <<_ACEOF
42289 /* end confdefs.h. */
42290 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42291 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42292 #define $ac_func innocuous_$ac_func
42293
42294 /* System header to define __stub macros and hopefully few prototypes,
42295 which can conflict with char $ac_func (); below.
42296 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42297 <limits.h> exists even on freestanding compilers. */
42298
42299 #ifdef __STDC__
42300 # include <limits.h>
42301 #else
42302 # include <assert.h>
42303 #endif
42304
42305 #undef $ac_func
42306
42307 /* Override any gcc2 internal prototype to avoid an error. */
42308 #ifdef __cplusplus
42309 extern "C"
42310 {
42311 #endif
42312 /* We use char because int might match the return type of a gcc2
42313 builtin and then its argument prototype would still apply. */
42314 char $ac_func ();
42315 /* The GNU C library defines this for functions which it implements
42316 to always fail with ENOSYS. Some functions are actually named
42317 something starting with __ and the normal name is an alias. */
42318 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42319 choke me
42320 #else
42321 char (*f) () = $ac_func;
42322 #endif
42323 #ifdef __cplusplus
42324 }
42325 #endif
42326
42327 int
42328 main ()
42329 {
42330 return f != $ac_func;
42331 ;
42332 return 0;
42333 }
42334 _ACEOF
42335 rm -f conftest.$ac_objext conftest$ac_exeext
42336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42337 (eval $ac_link) 2>conftest.er1
42338 ac_status=$?
42339 grep -v '^ *+' conftest.er1 >conftest.err
42340 rm -f conftest.er1
42341 cat conftest.err >&5
42342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42343 (exit $ac_status); } &&
42344 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42346 (eval $ac_try) 2>&5
42347 ac_status=$?
42348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42349 (exit $ac_status); }; } &&
42350 { ac_try='test -s conftest$ac_exeext'
42351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42352 (eval $ac_try) 2>&5
42353 ac_status=$?
42354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42355 (exit $ac_status); }; }; then
42356 eval "$as_ac_var=yes"
42357 else
42358 echo "$as_me: failed program was:" >&5
42359 sed 's/^/| /' conftest.$ac_ext >&5
42360
42361 eval "$as_ac_var=no"
42362 fi
42363 rm -f conftest.err conftest.$ac_objext \
42364 conftest$ac_exeext conftest.$ac_ext
42365 fi
42366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42367 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42368 if test `eval echo '${'$as_ac_var'}'` = yes; then
42369 cat >>confdefs.h <<_ACEOF
42370 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42371 _ACEOF
42372 have_floor=1
42373 fi
42374 done
42375
42376 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
42377 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
42378 if test "$have_cos" = 1 -a "$have_floor" = 1; then
42379 echo "$as_me:$LINENO: result: yes" >&5
42380 echo "${ECHO_T}yes" >&6
42381 else
42382 echo "$as_me:$LINENO: result: no" >&5
42383 echo "${ECHO_T}no" >&6
42384 LIBS="$LIBS -lm"
42385 # use different functions to avoid configure caching
42386 have_sin=0
42387 have_ceil=0
42388
42389 for ac_func in sin
42390 do
42391 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42392 echo "$as_me:$LINENO: checking for $ac_func" >&5
42393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42394 if eval "test \"\${$as_ac_var+set}\" = set"; then
42395 echo $ECHO_N "(cached) $ECHO_C" >&6
42396 else
42397 cat >conftest.$ac_ext <<_ACEOF
42398 /* confdefs.h. */
42399 _ACEOF
42400 cat confdefs.h >>conftest.$ac_ext
42401 cat >>conftest.$ac_ext <<_ACEOF
42402 /* end confdefs.h. */
42403 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42404 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42405 #define $ac_func innocuous_$ac_func
42406
42407 /* System header to define __stub macros and hopefully few prototypes,
42408 which can conflict with char $ac_func (); below.
42409 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42410 <limits.h> exists even on freestanding compilers. */
42411
42412 #ifdef __STDC__
42413 # include <limits.h>
42414 #else
42415 # include <assert.h>
42416 #endif
42417
42418 #undef $ac_func
42419
42420 /* Override any gcc2 internal prototype to avoid an error. */
42421 #ifdef __cplusplus
42422 extern "C"
42423 {
42424 #endif
42425 /* We use char because int might match the return type of a gcc2
42426 builtin and then its argument prototype would still apply. */
42427 char $ac_func ();
42428 /* The GNU C library defines this for functions which it implements
42429 to always fail with ENOSYS. Some functions are actually named
42430 something starting with __ and the normal name is an alias. */
42431 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42432 choke me
42433 #else
42434 char (*f) () = $ac_func;
42435 #endif
42436 #ifdef __cplusplus
42437 }
42438 #endif
42439
42440 int
42441 main ()
42442 {
42443 return f != $ac_func;
42444 ;
42445 return 0;
42446 }
42447 _ACEOF
42448 rm -f conftest.$ac_objext conftest$ac_exeext
42449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42450 (eval $ac_link) 2>conftest.er1
42451 ac_status=$?
42452 grep -v '^ *+' conftest.er1 >conftest.err
42453 rm -f conftest.er1
42454 cat conftest.err >&5
42455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42456 (exit $ac_status); } &&
42457 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42459 (eval $ac_try) 2>&5
42460 ac_status=$?
42461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42462 (exit $ac_status); }; } &&
42463 { ac_try='test -s conftest$ac_exeext'
42464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42465 (eval $ac_try) 2>&5
42466 ac_status=$?
42467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42468 (exit $ac_status); }; }; then
42469 eval "$as_ac_var=yes"
42470 else
42471 echo "$as_me: failed program was:" >&5
42472 sed 's/^/| /' conftest.$ac_ext >&5
42473
42474 eval "$as_ac_var=no"
42475 fi
42476 rm -f conftest.err conftest.$ac_objext \
42477 conftest$ac_exeext conftest.$ac_ext
42478 fi
42479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42480 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42481 if test `eval echo '${'$as_ac_var'}'` = yes; then
42482 cat >>confdefs.h <<_ACEOF
42483 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42484 _ACEOF
42485 have_sin=1
42486 fi
42487 done
42488
42489
42490 for ac_func in ceil
42491 do
42492 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42493 echo "$as_me:$LINENO: checking for $ac_func" >&5
42494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42495 if eval "test \"\${$as_ac_var+set}\" = set"; then
42496 echo $ECHO_N "(cached) $ECHO_C" >&6
42497 else
42498 cat >conftest.$ac_ext <<_ACEOF
42499 /* confdefs.h. */
42500 _ACEOF
42501 cat confdefs.h >>conftest.$ac_ext
42502 cat >>conftest.$ac_ext <<_ACEOF
42503 /* end confdefs.h. */
42504 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42505 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42506 #define $ac_func innocuous_$ac_func
42507
42508 /* System header to define __stub macros and hopefully few prototypes,
42509 which can conflict with char $ac_func (); below.
42510 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42511 <limits.h> exists even on freestanding compilers. */
42512
42513 #ifdef __STDC__
42514 # include <limits.h>
42515 #else
42516 # include <assert.h>
42517 #endif
42518
42519 #undef $ac_func
42520
42521 /* Override any gcc2 internal prototype to avoid an error. */
42522 #ifdef __cplusplus
42523 extern "C"
42524 {
42525 #endif
42526 /* We use char because int might match the return type of a gcc2
42527 builtin and then its argument prototype would still apply. */
42528 char $ac_func ();
42529 /* The GNU C library defines this for functions which it implements
42530 to always fail with ENOSYS. Some functions are actually named
42531 something starting with __ and the normal name is an alias. */
42532 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42533 choke me
42534 #else
42535 char (*f) () = $ac_func;
42536 #endif
42537 #ifdef __cplusplus
42538 }
42539 #endif
42540
42541 int
42542 main ()
42543 {
42544 return f != $ac_func;
42545 ;
42546 return 0;
42547 }
42548 _ACEOF
42549 rm -f conftest.$ac_objext conftest$ac_exeext
42550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42551 (eval $ac_link) 2>conftest.er1
42552 ac_status=$?
42553 grep -v '^ *+' conftest.er1 >conftest.err
42554 rm -f conftest.er1
42555 cat conftest.err >&5
42556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42557 (exit $ac_status); } &&
42558 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42560 (eval $ac_try) 2>&5
42561 ac_status=$?
42562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42563 (exit $ac_status); }; } &&
42564 { ac_try='test -s conftest$ac_exeext'
42565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42566 (eval $ac_try) 2>&5
42567 ac_status=$?
42568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42569 (exit $ac_status); }; }; then
42570 eval "$as_ac_var=yes"
42571 else
42572 echo "$as_me: failed program was:" >&5
42573 sed 's/^/| /' conftest.$ac_ext >&5
42574
42575 eval "$as_ac_var=no"
42576 fi
42577 rm -f conftest.err conftest.$ac_objext \
42578 conftest$ac_exeext conftest.$ac_ext
42579 fi
42580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42581 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42582 if test `eval echo '${'$as_ac_var'}'` = yes; then
42583 cat >>confdefs.h <<_ACEOF
42584 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42585 _ACEOF
42586 have_ceil=1
42587 fi
42588 done
42589
42590 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
42591 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
42592 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
42593 echo "$as_me:$LINENO: result: yes" >&5
42594 echo "${ECHO_T}yes" >&6
42595 else
42596 echo "$as_me:$LINENO: result: no" >&5
42597 echo "${ECHO_T}no" >&6
42598 # not sure we should warn the user, crash, etc.
42599 fi
42600 fi
42601
42602 if test "$wxUSE_GUI" = "yes"; then
42603
42604
42605 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
42606 dynamic erase event exec font image minimal mobile \
42607 mobile/wxedit mobile/styles propsize render \
42608 richedit rotate shaped vscroll widgets"
42609
42610 if test "$wxUSE_MONOLITHIC" != "yes"; then
42611 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
42612 fi
42613 if test "$TOOLKIT" = "MSW"; then
42614 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
42615 if test "$wxUSE_UNIVERSAL" != "yes"; then
42616 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
42617 fi
42618 fi
42619 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
42620 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
42621 fi
42622 else
42623 SAMPLES_SUBDIRS="console"
42624 fi
42625
42626
42627 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
42628 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
42629
42630 if test "$GXX" = yes ; then
42631 CWARNINGS="-Wall -Wundef"
42632 CXXWARNINGS="$CWARNINGS -Wno-ctor-dtor-privacy"
42633 fi
42634
42635 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
42636
42637 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
42638 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CWARNINGS`
42639 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
42640
42641 if test "x$MWCC" = "xyes"; then
42642
42643 CC="$CC -cwd source -I-"
42644 CXX="$CXX -cwd source -I-"
42645 fi
42646
42647
42648 LIBS=`echo $LIBS`
42649 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
42650 EXTRALIBS_XML="$EXPAT_LINK"
42651 EXTRALIBS_HTML="$MSPACK_LINK"
42652 EXTRALIBS_ODBC="$ODBC_LINK"
42653 if test "$wxUSE_GUI" = "yes"; then
42654 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_GNOMEPRINT`
42655 fi
42656 if test "$wxUSE_OPENGL" = "yes"; then
42657 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
42658 fi
42659
42660 LDFLAGS="$LDFLAGS $PROFILE"
42661
42662 if test "$wxUSE_GTK" = 1; then
42663 WXCONFIG_INCLUDE=
42664 else
42665 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
42666 fi
42667
42668 WXCONFIG_EXTRALIBS="$LIBS"
42669
42670 if test "$wxUSE_REGEX" = "builtin" ; then
42671 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
42672 fi
42673 if test "$wxUSE_EXPAT" = "builtin" ; then
42674 wxconfig_3rdparty="expat $wxconfig_3rdparty"
42675 fi
42676 if test "$wxUSE_ODBC" = "builtin" ; then
42677 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
42678 fi
42679 if test "$wxUSE_LIBTIFF" = "builtin" ; then
42680 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
42681 fi
42682 if test "$wxUSE_LIBJPEG" = "builtin" ; then
42683 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
42684 fi
42685 if test "$wxUSE_LIBPNG" = "builtin" ; then
42686 wxconfig_3rdparty="png $wxconfig_3rdparty"
42687 fi
42688 if test "$wxUSE_ZLIB" = "builtin" ; then
42689 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
42690 fi
42691
42692 for i in $wxconfig_3rdparty ; do
42693 WXCONFIG_EXTRALIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_EXTRALIBS"
42694 done
42695
42696
42697 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
42698 WXUNIV=1
42699 else
42700 WXUNIV=0
42701 fi
42702
42703
42704
42705
42706
42707
42708
42709
42710
42711 if test $wxUSE_MONOLITHIC = "yes" ; then
42712 MONOLITHIC=1
42713 else
42714 MONOLITHIC=0
42715 fi
42716
42717 if test $wxUSE_PLUGINS = "yes" ; then
42718 USE_PLUGINS=1
42719 else
42720 USE_PLUGINS=0
42721 fi
42722
42723 if test $wxUSE_ODBC != "no" ; then
42724 USE_ODBC=1
42725 else
42726 USE_ODBC=0
42727 fi
42728
42729 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
42730 USE_QA=1
42731 else
42732 USE_QA=0
42733 fi
42734
42735 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
42736 OFFICIAL_BUILD=1
42737 else
42738 OFFICIAL_BUILD=0
42739 fi
42740
42741
42742
42743
42744
42745
42746
42747
42748
42749
42750
42751
42752
42753
42754
42755
42756
42757
42758
42759
42760
42761
42762
42763 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
42764
42765
42766
42767
42768
42769
42770
42771
42772 case "$TOOLKIT" in
42773 GTK)
42774 TOOLKIT_USER="GTK+"
42775 if test "$WXGTK20" = 1; then
42776 TOOLKIT_USER="$TOOLKIT_USER 2"
42777 fi
42778 ;;
42779
42780 *)
42781 TOOLKIT_USER=$TOOLKIT_LOWERCASE
42782 ;;
42783 esac
42784
42785 if test "$wxUSE_WINE" = "yes"; then
42786 BAKEFILE_FORCE_PLATFORM=win32
42787 fi
42788
42789
42790
42791
42792 if test "x$BAKEFILE_HOST" = "x"; then
42793 BAKEFILE_HOST="${host}"
42794 fi
42795
42796 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
42797
42798 if test -n "$ac_tool_prefix"; then
42799 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
42800 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
42801 echo "$as_me:$LINENO: checking for $ac_word" >&5
42802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42803 if test "${ac_cv_prog_RANLIB+set}" = set; then
42804 echo $ECHO_N "(cached) $ECHO_C" >&6
42805 else
42806 if test -n "$RANLIB"; then
42807 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
42808 else
42809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42810 for as_dir in $PATH
42811 do
42812 IFS=$as_save_IFS
42813 test -z "$as_dir" && as_dir=.
42814 for ac_exec_ext in '' $ac_executable_extensions; do
42815 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42816 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
42817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42818 break 2
42819 fi
42820 done
42821 done
42822
42823 fi
42824 fi
42825 RANLIB=$ac_cv_prog_RANLIB
42826 if test -n "$RANLIB"; then
42827 echo "$as_me:$LINENO: result: $RANLIB" >&5
42828 echo "${ECHO_T}$RANLIB" >&6
42829 else
42830 echo "$as_me:$LINENO: result: no" >&5
42831 echo "${ECHO_T}no" >&6
42832 fi
42833
42834 fi
42835 if test -z "$ac_cv_prog_RANLIB"; then
42836 ac_ct_RANLIB=$RANLIB
42837 # Extract the first word of "ranlib", so it can be a program name with args.
42838 set dummy ranlib; ac_word=$2
42839 echo "$as_me:$LINENO: checking for $ac_word" >&5
42840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42841 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
42842 echo $ECHO_N "(cached) $ECHO_C" >&6
42843 else
42844 if test -n "$ac_ct_RANLIB"; then
42845 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
42846 else
42847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42848 for as_dir in $PATH
42849 do
42850 IFS=$as_save_IFS
42851 test -z "$as_dir" && as_dir=.
42852 for ac_exec_ext in '' $ac_executable_extensions; do
42853 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42854 ac_cv_prog_ac_ct_RANLIB="ranlib"
42855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42856 break 2
42857 fi
42858 done
42859 done
42860
42861 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
42862 fi
42863 fi
42864 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
42865 if test -n "$ac_ct_RANLIB"; then
42866 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
42867 echo "${ECHO_T}$ac_ct_RANLIB" >&6
42868 else
42869 echo "$as_me:$LINENO: result: no" >&5
42870 echo "${ECHO_T}no" >&6
42871 fi
42872
42873 RANLIB=$ac_ct_RANLIB
42874 else
42875 RANLIB="$ac_cv_prog_RANLIB"
42876 fi
42877
42878 # Find a good install program. We prefer a C program (faster),
42879 # so one script is as good as another. But avoid the broken or
42880 # incompatible versions:
42881 # SysV /etc/install, /usr/sbin/install
42882 # SunOS /usr/etc/install
42883 # IRIX /sbin/install
42884 # AIX /bin/install
42885 # AmigaOS /C/install, which installs bootblocks on floppy discs
42886 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
42887 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
42888 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
42889 # OS/2's system install, which has a completely different semantic
42890 # ./install, which can be erroneously created by make from ./install.sh.
42891 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
42892 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
42893 if test -z "$INSTALL"; then
42894 if test "${ac_cv_path_install+set}" = set; then
42895 echo $ECHO_N "(cached) $ECHO_C" >&6
42896 else
42897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42898 for as_dir in $PATH
42899 do
42900 IFS=$as_save_IFS
42901 test -z "$as_dir" && as_dir=.
42902 # Account for people who put trailing slashes in PATH elements.
42903 case $as_dir/ in
42904 ./ | .// | /cC/* | \
42905 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
42906 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
42907 /usr/ucb/* ) ;;
42908 *)
42909 # OSF1 and SCO ODT 3.0 have their own names for install.
42910 # Don't use installbsd from OSF since it installs stuff as root
42911 # by default.
42912 for ac_prog in ginstall scoinst install; do
42913 for ac_exec_ext in '' $ac_executable_extensions; do
42914 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
42915 if test $ac_prog = install &&
42916 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
42917 # AIX install. It has an incompatible calling convention.
42918 :
42919 elif test $ac_prog = install &&
42920 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
42921 # program-specific install script used by HP pwplus--don't use.
42922 :
42923 else
42924 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
42925 break 3
42926 fi
42927 fi
42928 done
42929 done
42930 ;;
42931 esac
42932 done
42933
42934
42935 fi
42936 if test "${ac_cv_path_install+set}" = set; then
42937 INSTALL=$ac_cv_path_install
42938 else
42939 # As a last resort, use the slow shell script. We don't cache a
42940 # path for INSTALL within a source directory, because that will
42941 # break other packages using the cache if that directory is
42942 # removed, or if the path is relative.
42943 INSTALL=$ac_install_sh
42944 fi
42945 fi
42946 echo "$as_me:$LINENO: result: $INSTALL" >&5
42947 echo "${ECHO_T}$INSTALL" >&6
42948
42949 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
42950 # It thinks the first close brace ends the variable substitution.
42951 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
42952
42953 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
42954
42955 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
42956
42957 echo "$as_me:$LINENO: checking whether ln -s works" >&5
42958 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
42959 LN_S=$as_ln_s
42960 if test "$LN_S" = "ln -s"; then
42961 echo "$as_me:$LINENO: result: yes" >&5
42962 echo "${ECHO_T}yes" >&6
42963 else
42964 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
42965 echo "${ECHO_T}no, using $LN_S" >&6
42966 fi
42967
42968
42969 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
42970 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
42971 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
42972 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
42973 echo $ECHO_N "(cached) $ECHO_C" >&6
42974 else
42975 cat >conftest.make <<\_ACEOF
42976 all:
42977 @echo 'ac_maketemp="$(MAKE)"'
42978 _ACEOF
42979 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
42980 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
42981 if test -n "$ac_maketemp"; then
42982 eval ac_cv_prog_make_${ac_make}_set=yes
42983 else
42984 eval ac_cv_prog_make_${ac_make}_set=no
42985 fi
42986 rm -f conftest.make
42987 fi
42988 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
42989 echo "$as_me:$LINENO: result: yes" >&5
42990 echo "${ECHO_T}yes" >&6
42991 SET_MAKE=
42992 else
42993 echo "$as_me:$LINENO: result: no" >&5
42994 echo "${ECHO_T}no" >&6
42995 SET_MAKE="MAKE=${MAKE-make}"
42996 fi
42997
42998
42999
43000 if test -n "$ac_tool_prefix"; then
43001 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
43002 set dummy ${ac_tool_prefix}ar; ac_word=$2
43003 echo "$as_me:$LINENO: checking for $ac_word" >&5
43004 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43005 if test "${ac_cv_prog_AR+set}" = set; then
43006 echo $ECHO_N "(cached) $ECHO_C" >&6
43007 else
43008 if test -n "$AR"; then
43009 ac_cv_prog_AR="$AR" # Let the user override the test.
43010 else
43011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43012 for as_dir in $PATH
43013 do
43014 IFS=$as_save_IFS
43015 test -z "$as_dir" && as_dir=.
43016 for ac_exec_ext in '' $ac_executable_extensions; do
43017 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43018 ac_cv_prog_AR="${ac_tool_prefix}ar"
43019 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43020 break 2
43021 fi
43022 done
43023 done
43024
43025 fi
43026 fi
43027 AR=$ac_cv_prog_AR
43028 if test -n "$AR"; then
43029 echo "$as_me:$LINENO: result: $AR" >&5
43030 echo "${ECHO_T}$AR" >&6
43031 else
43032 echo "$as_me:$LINENO: result: no" >&5
43033 echo "${ECHO_T}no" >&6
43034 fi
43035
43036 fi
43037 if test -z "$ac_cv_prog_AR"; then
43038 ac_ct_AR=$AR
43039 # Extract the first word of "ar", so it can be a program name with args.
43040 set dummy ar; ac_word=$2
43041 echo "$as_me:$LINENO: checking for $ac_word" >&5
43042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43043 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
43044 echo $ECHO_N "(cached) $ECHO_C" >&6
43045 else
43046 if test -n "$ac_ct_AR"; then
43047 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
43048 else
43049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43050 for as_dir in $PATH
43051 do
43052 IFS=$as_save_IFS
43053 test -z "$as_dir" && as_dir=.
43054 for ac_exec_ext in '' $ac_executable_extensions; do
43055 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43056 ac_cv_prog_ac_ct_AR="ar"
43057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43058 break 2
43059 fi
43060 done
43061 done
43062
43063 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
43064 fi
43065 fi
43066 ac_ct_AR=$ac_cv_prog_ac_ct_AR
43067 if test -n "$ac_ct_AR"; then
43068 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
43069 echo "${ECHO_T}$ac_ct_AR" >&6
43070 else
43071 echo "$as_me:$LINENO: result: no" >&5
43072 echo "${ECHO_T}no" >&6
43073 fi
43074
43075 AR=$ac_ct_AR
43076 else
43077 AR="$ac_cv_prog_AR"
43078 fi
43079
43080 if test -n "$ac_tool_prefix"; then
43081 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
43082 set dummy ${ac_tool_prefix}strip; ac_word=$2
43083 echo "$as_me:$LINENO: checking for $ac_word" >&5
43084 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43085 if test "${ac_cv_prog_STRIP+set}" = set; then
43086 echo $ECHO_N "(cached) $ECHO_C" >&6
43087 else
43088 if test -n "$STRIP"; then
43089 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
43090 else
43091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43092 for as_dir in $PATH
43093 do
43094 IFS=$as_save_IFS
43095 test -z "$as_dir" && as_dir=.
43096 for ac_exec_ext in '' $ac_executable_extensions; do
43097 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43098 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
43099 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43100 break 2
43101 fi
43102 done
43103 done
43104
43105 fi
43106 fi
43107 STRIP=$ac_cv_prog_STRIP
43108 if test -n "$STRIP"; then
43109 echo "$as_me:$LINENO: result: $STRIP" >&5
43110 echo "${ECHO_T}$STRIP" >&6
43111 else
43112 echo "$as_me:$LINENO: result: no" >&5
43113 echo "${ECHO_T}no" >&6
43114 fi
43115
43116 fi
43117 if test -z "$ac_cv_prog_STRIP"; then
43118 ac_ct_STRIP=$STRIP
43119 # Extract the first word of "strip", so it can be a program name with args.
43120 set dummy strip; ac_word=$2
43121 echo "$as_me:$LINENO: checking for $ac_word" >&5
43122 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43123 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
43124 echo $ECHO_N "(cached) $ECHO_C" >&6
43125 else
43126 if test -n "$ac_ct_STRIP"; then
43127 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
43128 else
43129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43130 for as_dir in $PATH
43131 do
43132 IFS=$as_save_IFS
43133 test -z "$as_dir" && as_dir=.
43134 for ac_exec_ext in '' $ac_executable_extensions; do
43135 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43136 ac_cv_prog_ac_ct_STRIP="strip"
43137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43138 break 2
43139 fi
43140 done
43141 done
43142
43143 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
43144 fi
43145 fi
43146 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
43147 if test -n "$ac_ct_STRIP"; then
43148 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
43149 echo "${ECHO_T}$ac_ct_STRIP" >&6
43150 else
43151 echo "$as_me:$LINENO: result: no" >&5
43152 echo "${ECHO_T}no" >&6
43153 fi
43154
43155 STRIP=$ac_ct_STRIP
43156 else
43157 STRIP="$ac_cv_prog_STRIP"
43158 fi
43159
43160 if test -n "$ac_tool_prefix"; then
43161 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
43162 set dummy ${ac_tool_prefix}nm; ac_word=$2
43163 echo "$as_me:$LINENO: checking for $ac_word" >&5
43164 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43165 if test "${ac_cv_prog_NM+set}" = set; then
43166 echo $ECHO_N "(cached) $ECHO_C" >&6
43167 else
43168 if test -n "$NM"; then
43169 ac_cv_prog_NM="$NM" # Let the user override the test.
43170 else
43171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43172 for as_dir in $PATH
43173 do
43174 IFS=$as_save_IFS
43175 test -z "$as_dir" && as_dir=.
43176 for ac_exec_ext in '' $ac_executable_extensions; do
43177 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43178 ac_cv_prog_NM="${ac_tool_prefix}nm"
43179 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43180 break 2
43181 fi
43182 done
43183 done
43184
43185 fi
43186 fi
43187 NM=$ac_cv_prog_NM
43188 if test -n "$NM"; then
43189 echo "$as_me:$LINENO: result: $NM" >&5
43190 echo "${ECHO_T}$NM" >&6
43191 else
43192 echo "$as_me:$LINENO: result: no" >&5
43193 echo "${ECHO_T}no" >&6
43194 fi
43195
43196 fi
43197 if test -z "$ac_cv_prog_NM"; then
43198 ac_ct_NM=$NM
43199 # Extract the first word of "nm", so it can be a program name with args.
43200 set dummy nm; ac_word=$2
43201 echo "$as_me:$LINENO: checking for $ac_word" >&5
43202 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43203 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
43204 echo $ECHO_N "(cached) $ECHO_C" >&6
43205 else
43206 if test -n "$ac_ct_NM"; then
43207 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
43208 else
43209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43210 for as_dir in $PATH
43211 do
43212 IFS=$as_save_IFS
43213 test -z "$as_dir" && as_dir=.
43214 for ac_exec_ext in '' $ac_executable_extensions; do
43215 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43216 ac_cv_prog_ac_ct_NM="nm"
43217 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43218 break 2
43219 fi
43220 done
43221 done
43222
43223 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
43224 fi
43225 fi
43226 ac_ct_NM=$ac_cv_prog_ac_ct_NM
43227 if test -n "$ac_ct_NM"; then
43228 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
43229 echo "${ECHO_T}$ac_ct_NM" >&6
43230 else
43231 echo "$as_me:$LINENO: result: no" >&5
43232 echo "${ECHO_T}no" >&6
43233 fi
43234
43235 NM=$ac_ct_NM
43236 else
43237 NM="$ac_cv_prog_NM"
43238 fi
43239
43240
43241 case ${BAKEFILE_HOST} in
43242 *-hp-hpux* )
43243 INSTALL_DIR="mkdir -p"
43244 ;;
43245 *) INSTALL_DIR="$INSTALL -d"
43246 ;;
43247 esac
43248
43249
43250 LDFLAGS_GUI=
43251 case ${BAKEFILE_HOST} in
43252 *-*-cygwin* | *-*-mingw32* )
43253 LDFLAGS_GUI="-mwindows"
43254 esac
43255
43256
43257 fi
43258
43259 echo "$as_me:$LINENO: checking if make is GNU make" >&5
43260 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
43261 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
43262 echo $ECHO_N "(cached) $ECHO_C" >&6
43263 else
43264
43265 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
43266 egrep -s GNU > /dev/null); then
43267 bakefile_cv_prog_makeisgnu="yes"
43268 else
43269 bakefile_cv_prog_makeisgnu="no"
43270 fi
43271
43272 fi
43273 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
43274 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
43275
43276 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
43277 IF_GNU_MAKE=""
43278 else
43279 IF_GNU_MAKE="#"
43280 fi
43281
43282
43283
43284 PLATFORM_UNIX=0
43285 PLATFORM_WIN32=0
43286 PLATFORM_MSDOS=0
43287 PLATFORM_MAC=0
43288 PLATFORM_MACOS=0
43289 PLATFORM_MACOSX=0
43290 PLATFORM_OS2=0
43291 PLATFORM_BEOS=0
43292
43293 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
43294 case "${BAKEFILE_HOST}" in
43295 *-*-mingw32* )
43296 PLATFORM_WIN32=1
43297 ;;
43298 *-pc-msdosdjgpp )
43299 PLATFORM_MSDOS=1
43300 ;;
43301 *-pc-os2_emx | *-pc-os2-emx )
43302 PLATFORM_OS2=1
43303 ;;
43304 *-*-darwin* )
43305 PLATFORM_MAC=1
43306 PLATFORM_MACOSX=1
43307 ;;
43308 *-*-beos* )
43309 PLATFORM_BEOS=1
43310 ;;
43311 powerpc-apple-macos* )
43312 PLATFORM_MAC=1
43313 PLATFORM_MACOS=1
43314 ;;
43315 * )
43316 PLATFORM_UNIX=1
43317 ;;
43318 esac
43319 else
43320 case "$BAKEFILE_FORCE_PLATFORM" in
43321 win32 )
43322 PLATFORM_WIN32=1
43323 ;;
43324 msdos )
43325 PLATFORM_MSDOS=1
43326 ;;
43327 os2 )
43328 PLATFORM_OS2=1
43329 ;;
43330 darwin )
43331 PLATFORM_MAC=1
43332 PLATFORM_MACOSX=1
43333 ;;
43334 unix )
43335 PLATFORM_UNIX=1
43336 ;;
43337 beos )
43338 PLATFORM_BEOS=1
43339 ;;
43340 * )
43341 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
43342 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
43343 { (exit 1); exit 1; }; }
43344 ;;
43345 esac
43346 fi
43347
43348
43349
43350
43351
43352
43353
43354
43355
43356
43357
43358 # Check whether --enable-omf or --disable-omf was given.
43359 if test "${enable_omf+set}" = set; then
43360 enableval="$enable_omf"
43361 bk_os2_use_omf="$enableval"
43362 fi;
43363
43364 case "${BAKEFILE_HOST}" in
43365 *-*-darwin* )
43366 if test "x$GCC" = "xyes"; then
43367 CFLAGS="$CFLAGS -fno-common"
43368 CXXFLAGS="$CXXFLAGS -fno-common"
43369 fi
43370 if test "x$XLCC" = "xyes"; then
43371 CFLAGS="$CFLAGS -qnocommon"
43372 CXXFLAGS="$CXXFLAGS -qnocommon"
43373 fi
43374 ;;
43375
43376 *-pc-os2_emx | *-pc-os2-emx )
43377 if test "x$bk_os2_use_omf" = "xyes" ; then
43378 AR=emxomfar
43379 RANLIB=:
43380 LDFLAGS="-Zomf $LDFLAGS"
43381 CFLAGS="-Zomf $CFLAGS"
43382 CXXFLAGS="-Zomf $CXXFLAGS"
43383 OS2_LIBEXT="lib"
43384 else
43385 OS2_LIBEXT="a"
43386 fi
43387 ;;
43388
43389 i*86-*-beos* )
43390 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
43391 ;;
43392 esac
43393
43394
43395 SO_SUFFIX="so"
43396 SO_SUFFIX_MODULE="so"
43397 EXEEXT=""
43398 LIBPREFIX="lib"
43399 LIBEXT=".a"
43400 DLLPREFIX="lib"
43401 DLLPREFIX_MODULE=""
43402 DLLIMP_SUFFIX=""
43403 dlldir="$libdir"
43404
43405 case "${BAKEFILE_HOST}" in
43406 *-hp-hpux* )
43407 SO_SUFFIX="sl"
43408 SO_SUFFIX_MODULE="sl"
43409 ;;
43410 *-*-aix* )
43411 SO_SUFFIX="a"
43412 SO_SUFFIX_MODULE="a"
43413 ;;
43414 *-*-cygwin* )
43415 SO_SUFFIX="dll"
43416 SO_SUFFIX_MODULE="dll"
43417 DLLIMP_SUFFIX="dll.a"
43418 EXEEXT=".exe"
43419 DLLPREFIX="cyg"
43420 dlldir="$bindir"
43421 ;;
43422 *-*-mingw32* )
43423 SO_SUFFIX="dll"
43424 SO_SUFFIX_MODULE="dll"
43425 DLLIMP_SUFFIX="dll.a"
43426 EXEEXT=".exe"
43427 DLLPREFIX=""
43428 dlldir="$bindir"
43429 ;;
43430 *-pc-msdosdjgpp )
43431 EXEEXT=".exe"
43432 DLLPREFIX=""
43433 dlldir="$bindir"
43434 ;;
43435 *-pc-os2_emx | *-pc-os2-emx )
43436 SO_SUFFIX="dll"
43437 SO_SUFFIX_MODULE="dll"
43438 DLLIMP_SUFFIX=$OS2_LIBEXT
43439 EXEEXT=".exe"
43440 DLLPREFIX=""
43441 LIBPREFIX=""
43442 LIBEXT=".$OS2_LIBEXT"
43443 dlldir="$bindir"
43444 ;;
43445 *-*-darwin* )
43446 SO_SUFFIX="dylib"
43447 SO_SUFFIX_MODULE="bundle"
43448 ;;
43449 esac
43450
43451 if test "x$DLLIMP_SUFFIX" = "x" ; then
43452 DLLIMP_SUFFIX="$SO_SUFFIX"
43453 fi
43454
43455
43456
43457
43458
43459
43460
43461
43462
43463
43464
43465
43466 PIC_FLAG=""
43467 if test "x$GCC" = "xyes"; then
43468 PIC_FLAG="-fPIC"
43469 fi
43470
43471 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
43472 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
43473 WINDOWS_IMPLIB=0
43474
43475 case "${BAKEFILE_HOST}" in
43476 *-hp-hpux* )
43477 if test "x$GCC" != "xyes"; then
43478 LDFLAGS="$LDFLAGS -L/usr/lib"
43479
43480 SHARED_LD_CC="${CC} -b -o"
43481 SHARED_LD_CXX="${CXX} -b -o"
43482 PIC_FLAG="+Z"
43483 fi
43484 ;;
43485
43486 *-*-linux* )
43487 if test "x$GCC" != "xyes"; then
43488 echo "$as_me:$LINENO: checking for Intel compiler" >&5
43489 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
43490 if test "${bakefile_cv_prog_icc+set}" = set; then
43491 echo $ECHO_N "(cached) $ECHO_C" >&6
43492 else
43493
43494 cat >conftest.$ac_ext <<_ACEOF
43495 /* confdefs.h. */
43496 _ACEOF
43497 cat confdefs.h >>conftest.$ac_ext
43498 cat >>conftest.$ac_ext <<_ACEOF
43499 /* end confdefs.h. */
43500
43501 int
43502 main ()
43503 {
43504
43505 #ifndef __INTEL_COMPILER
43506 #error Not icc
43507 #endif
43508
43509 ;
43510 return 0;
43511 }
43512 _ACEOF
43513 rm -f conftest.$ac_objext
43514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43515 (eval $ac_compile) 2>conftest.er1
43516 ac_status=$?
43517 grep -v '^ *+' conftest.er1 >conftest.err
43518 rm -f conftest.er1
43519 cat conftest.err >&5
43520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43521 (exit $ac_status); } &&
43522 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43524 (eval $ac_try) 2>&5
43525 ac_status=$?
43526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43527 (exit $ac_status); }; } &&
43528 { ac_try='test -s conftest.$ac_objext'
43529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43530 (eval $ac_try) 2>&5
43531 ac_status=$?
43532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43533 (exit $ac_status); }; }; then
43534 bakefile_cv_prog_icc=yes
43535 else
43536 echo "$as_me: failed program was:" >&5
43537 sed 's/^/| /' conftest.$ac_ext >&5
43538
43539 bakefile_cv_prog_icc=no
43540
43541 fi
43542 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43543
43544 fi
43545 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
43546 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
43547 if test "$bakefile_cv_prog_icc" = "yes"; then
43548 PIC_FLAG="-KPIC"
43549 fi
43550 fi
43551 ;;
43552
43553 *-*-solaris2* )
43554 if test "x$GCC" != xyes ; then
43555 SHARED_LD_CC="${CC} -G -o"
43556 SHARED_LD_CXX="${CXX} -G -o"
43557 PIC_FLAG="-KPIC"
43558 fi
43559 ;;
43560
43561 *-*-darwin* )
43562
43563 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
43564 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
43565 if test "${wx_cv_gcc31+set}" = set; then
43566 echo $ECHO_N "(cached) $ECHO_C" >&6
43567 else
43568
43569 cat >conftest.$ac_ext <<_ACEOF
43570 /* confdefs.h. */
43571 _ACEOF
43572 cat confdefs.h >>conftest.$ac_ext
43573 cat >>conftest.$ac_ext <<_ACEOF
43574 /* end confdefs.h. */
43575
43576 int
43577 main ()
43578 {
43579
43580 #if (__GNUC__ < 3) || \
43581 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
43582 #error old gcc
43583 #endif
43584
43585 ;
43586 return 0;
43587 }
43588 _ACEOF
43589 rm -f conftest.$ac_objext
43590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43591 (eval $ac_compile) 2>conftest.er1
43592 ac_status=$?
43593 grep -v '^ *+' conftest.er1 >conftest.err
43594 rm -f conftest.er1
43595 cat conftest.err >&5
43596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43597 (exit $ac_status); } &&
43598 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43600 (eval $ac_try) 2>&5
43601 ac_status=$?
43602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43603 (exit $ac_status); }; } &&
43604 { ac_try='test -s conftest.$ac_objext'
43605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43606 (eval $ac_try) 2>&5
43607 ac_status=$?
43608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43609 (exit $ac_status); }; }; then
43610
43611 wx_cv_gcc31=yes
43612
43613 else
43614 echo "$as_me: failed program was:" >&5
43615 sed 's/^/| /' conftest.$ac_ext >&5
43616
43617
43618 wx_cv_gcc31=no
43619
43620
43621 fi
43622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43623
43624 fi
43625 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
43626 echo "${ECHO_T}$wx_cv_gcc31" >&6
43627 if test "$wx_cv_gcc31" = "no"; then
43628
43629 D='$'
43630 cat <<EOF >shared-ld-sh
43631 #!/bin/sh
43632 #-----------------------------------------------------------------------------
43633 #-- Name: distrib/mac/shared-ld-sh
43634 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
43635 #-- Author: Gilles Depeyrot
43636 #-- Copyright: (c) 2002 Gilles Depeyrot
43637 #-- Licence: any use permitted
43638 #-----------------------------------------------------------------------------
43639
43640 verbose=0
43641 args=""
43642 objects=""
43643 linking_flag="-dynamiclib"
43644 ldargs="-r -keep_private_externs -nostdlib"
43645
43646 while test ${D}# -gt 0; do
43647 case ${D}1 in
43648
43649 -v)
43650 verbose=1
43651 ;;
43652
43653 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
43654 # collect these options and values
43655 args="${D}{args} ${D}1 ${D}2"
43656 shift
43657 ;;
43658
43659 -s|-Wl,*)
43660 # collect these load args
43661 ldargs="${D}{ldargs} ${D}1"
43662 ;;
43663
43664 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
43665 # collect these options
43666 args="${D}{args} ${D}1"
43667 ;;
43668
43669 -dynamiclib|-bundle)
43670 linking_flag="${D}1"
43671 ;;
43672
43673 -*)
43674 echo "shared-ld: unhandled option '${D}1'"
43675 exit 1
43676 ;;
43677
43678 *.o | *.a | *.dylib)
43679 # collect object files
43680 objects="${D}{objects} ${D}1"
43681 ;;
43682
43683 *)
43684 echo "shared-ld: unhandled argument '${D}1'"
43685 exit 1
43686 ;;
43687
43688 esac
43689 shift
43690 done
43691
43692 status=0
43693
43694 #
43695 # Link one module containing all the others
43696 #
43697 if test ${D}{verbose} = 1; then
43698 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
43699 fi
43700 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
43701 status=${D}?
43702
43703 #
43704 # Link the shared library from the single module created, but only if the
43705 # previous command didn't fail:
43706 #
43707 if test ${D}{status} = 0; then
43708 if test ${D}{verbose} = 1; then
43709 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
43710 fi
43711 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
43712 status=${D}?
43713 fi
43714
43715 #
43716 # Remove intermediate module
43717 #
43718 rm -f master.${D}${D}.o
43719
43720 exit ${D}status
43721 EOF
43722
43723 chmod +x shared-ld-sh
43724
43725 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
43726 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
43727 SHARED_LD_CXX="$SHARED_LD_CC"
43728 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
43729 else
43730 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
43731 SHARED_LD_MODULE_CC="\${CC} -bundle -single_module -headerpad_max_install_names -o"
43732 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
43733 SHARED_LD_MODULE_CXX="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
43734 fi
43735
43736 if test "x$GCC" == "xyes"; then
43737 PIC_FLAG="-dynamic -fPIC"
43738 fi
43739 if test "x$XLCC" = "xyes"; then
43740 PIC_FLAG="-dynamic -DPIC"
43741 fi
43742 ;;
43743
43744 *-*-aix* )
43745 if test "x$GCC" = "xyes"; then
43746 PIC_FLAG=""
43747
43748 case "${BAKEFILE_HOST}" in
43749 *-*-aix5* )
43750 LD_EXPFULL="-Wl,-bexpfull"
43751 ;;
43752 esac
43753
43754 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
43755 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
43756 else
43757 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
43758 set dummy makeC++SharedLib; ac_word=$2
43759 echo "$as_me:$LINENO: checking for $ac_word" >&5
43760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43761 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
43762 echo $ECHO_N "(cached) $ECHO_C" >&6
43763 else
43764 if test -n "$AIX_CXX_LD"; then
43765 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
43766 else
43767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43768 for as_dir in $PATH
43769 do
43770 IFS=$as_save_IFS
43771 test -z "$as_dir" && as_dir=.
43772 for ac_exec_ext in '' $ac_executable_extensions; do
43773 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43774 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
43775 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43776 break 2
43777 fi
43778 done
43779 done
43780
43781 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
43782 fi
43783 fi
43784 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
43785 if test -n "$AIX_CXX_LD"; then
43786 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
43787 echo "${ECHO_T}$AIX_CXX_LD" >&6
43788 else
43789 echo "$as_me:$LINENO: result: no" >&5
43790 echo "${ECHO_T}no" >&6
43791 fi
43792
43793 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
43794 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
43795 fi
43796 ;;
43797
43798 *-*-beos* )
43799 SHARED_LD_CC="${LD} -nostart -o"
43800 SHARED_LD_CXX="${LD} -nostart -o"
43801 ;;
43802
43803 *-*-irix* )
43804 if test "x$GCC" != "xyes"; then
43805 PIC_FLAG="-KPIC"
43806 fi
43807 ;;
43808
43809 *-*-cygwin* | *-*-mingw32* )
43810 PIC_FLAG=""
43811 SHARED_LD_CC="\$(CC) -shared -o"
43812 SHARED_LD_CXX="\$(CXX) -shared -o"
43813 WINDOWS_IMPLIB=1
43814 ;;
43815
43816 *-pc-os2_emx | *-pc-os2-emx )
43817 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
43818 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
43819 PIC_FLAG=""
43820
43821 D='$'
43822 cat <<EOF >dllar.sh
43823 #!/bin/sh
43824 #
43825 # dllar - a tool to build both a .dll and an .a file
43826 # from a set of object (.o) files for EMX/OS2.
43827 #
43828 # Written by Andrew Zabolotny, bit@freya.etu.ru
43829 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
43830 #
43831 # This script will accept a set of files on the command line.
43832 # All the public symbols from the .o files will be exported into
43833 # a .DEF file, then linker will be run (through gcc) against them to
43834 # build a shared library consisting of all given .o files. All libraries
43835 # (.a) will be first decompressed into component .o files then act as
43836 # described above. You can optionally give a description (-d "description")
43837 # which will be put into .DLL. To see the list of accepted options (as well
43838 # as command-line format) simply run this program without options. The .DLL
43839 # is built to be imported by name (there is no guarantee that new versions
43840 # of the library you build will have same ordinals for same symbols).
43841 #
43842 # dllar is free software; you can redistribute it and/or modify
43843 # it under the terms of the GNU General Public License as published by
43844 # the Free Software Foundation; either version 2, or (at your option)
43845 # any later version.
43846 #
43847 # dllar is distributed in the hope that it will be useful,
43848 # but WITHOUT ANY WARRANTY; without even the implied warranty of
43849 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
43850 # GNU General Public License for more details.
43851 #
43852 # You should have received a copy of the GNU General Public License
43853 # along with dllar; see the file COPYING. If not, write to the Free
43854 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
43855 # 02111-1307, USA.
43856
43857 # To successfuly run this program you will need:
43858 # - Current drive should have LFN support (HPFS, ext2, network, etc)
43859 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
43860 # - gcc
43861 # (used to build the .dll)
43862 # - emxexp
43863 # (used to create .def file from .o files)
43864 # - emximp
43865 # (used to create .a file from .def file)
43866 # - GNU text utilites (cat, sort, uniq)
43867 # used to process emxexp output
43868 # - GNU file utilities (mv, rm)
43869 # - GNU sed
43870 # - lxlite (optional, see flag below)
43871 # (used for general .dll cleanup)
43872 #
43873
43874 flag_USE_LXLITE=1;
43875
43876 #
43877 # helper functions
43878 # basnam, variant of basename, which does _not_ remove the path, _iff_
43879 # second argument (suffix to remove) is given
43880 basnam(){
43881 case ${D}# in
43882 1)
43883 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
43884 ;;
43885 2)
43886 echo ${D}1 | sed 's/'${D}2'${D}//'
43887 ;;
43888 *)
43889 echo "error in basnam ${D}*"
43890 exit 8
43891 ;;
43892 esac
43893 }
43894
43895 # Cleanup temporary files and output
43896 CleanUp() {
43897 cd ${D}curDir
43898 for i in ${D}inputFiles ; do
43899 case ${D}i in
43900 *!)
43901 rm -rf \`basnam ${D}i !\`
43902 ;;
43903 *)
43904 ;;
43905 esac
43906 done
43907
43908 # Kill result in case of failure as there is just to many stupid make/nmake
43909 # things out there which doesn't do this.
43910 if [ ${D}# -eq 0 ]; then
43911 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
43912 fi
43913 }
43914
43915 # Print usage and exit script with rc=1.
43916 PrintHelp() {
43917 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
43918 echo ' [-name-mangler-script script.sh]'
43919 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
43920 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
43921 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
43922 echo ' [*.o] [*.a]'
43923 echo '*> "output_file" should have no extension.'
43924 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
43925 echo ' The import library name is derived from this and is set to "name".a,'
43926 echo ' unless overridden by -import'
43927 echo '*> "importlib_name" should have no extension.'
43928 echo ' If it has the .o, or .a extension, it is automatically removed.'
43929 echo ' This name is used as the import library name and may be longer and'
43930 echo ' more descriptive than the DLL name which has to follow the old '
43931 echo ' 8.3 convention of FAT.'
43932 echo '*> "script.sh may be given to override the output_file name by a'
43933 echo ' different name. It is mainly useful if the regular make process'
43934 echo ' of some package does not take into account OS/2 restriction of'
43935 echo ' DLL name lengths. It takes the importlib name as input and is'
43936 echo ' supposed to procude a shorter name as output. The script should'
43937 echo ' expect to get importlib_name without extension and should produce'
43938 echo ' a (max.) 8 letter name without extension.'
43939 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
43940 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
43941 echo ' These flags will be put at the start of GCC command line.'
43942 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
43943 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
43944 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
43945 echo ' If the last character of a symbol is "*", all symbols beginning'
43946 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
43947 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
43948 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
43949 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
43950 echo ' C runtime DLLs.'
43951 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
43952 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
43953 echo ' unchanged to GCC at the end of command line.'
43954 echo '*> If you create a DLL from a library and you do not specify -o,'
43955 echo ' the basename for DLL and import library will be set to library name,'
43956 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
43957 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
43958 echo ' library will be renamed into gcc_s.a.'
43959 echo '--------'
43960 echo 'Example:'
43961 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
43962 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
43963 CleanUp
43964 exit 1
43965 }
43966
43967 # Execute a command.
43968 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
43969 # @Uses Whatever CleanUp() uses.
43970 doCommand() {
43971 echo "${D}*"
43972 eval ${D}*
43973 rcCmd=${D}?
43974
43975 if [ ${D}rcCmd -ne 0 ]; then
43976 echo "command failed, exit code="${D}rcCmd
43977 CleanUp
43978 exit ${D}rcCmd
43979 fi
43980 }
43981
43982 # main routine
43983 # setup globals
43984 cmdLine=${D}*
43985 outFile=""
43986 outimpFile=""
43987 inputFiles=""
43988 renameScript=""
43989 description=""
43990 CC=gcc.exe
43991 CFLAGS="-s -Zcrtdll"
43992 EXTRA_CFLAGS=""
43993 EXPORT_BY_ORDINALS=0
43994 exclude_symbols=""
43995 library_flags=""
43996 curDir=\`pwd\`
43997 curDirS=curDir
43998 case ${D}curDirS in
43999 */)
44000 ;;
44001 *)
44002 curDirS=${D}{curDirS}"/"
44003 ;;
44004 esac
44005 # Parse commandline
44006 libsToLink=0
44007 omfLinking=0
44008 while [ ${D}1 ]; do
44009 case ${D}1 in
44010 -ord*)
44011 EXPORT_BY_ORDINALS=1;
44012 ;;
44013 -o*)
44014 shift
44015 outFile=${D}1
44016 ;;
44017 -i*)
44018 shift
44019 outimpFile=${D}1
44020 ;;
44021 -name-mangler-script)
44022 shift
44023 renameScript=${D}1
44024 ;;
44025 -d*)
44026 shift
44027 description=${D}1
44028 ;;
44029 -f*)
44030 shift
44031 CFLAGS=${D}1
44032 ;;
44033 -c*)
44034 shift
44035 CC=${D}1
44036 ;;
44037 -h*)
44038 PrintHelp
44039 ;;
44040 -ex*)
44041 shift
44042 exclude_symbols=${D}{exclude_symbols}${D}1" "
44043 ;;
44044 -libf*)
44045 shift
44046 library_flags=${D}{library_flags}${D}1" "
44047 ;;
44048 -nocrt*)
44049 CFLAGS="-s"
44050 ;;
44051 -nolxl*)
44052 flag_USE_LXLITE=0
44053 ;;
44054 -* | /*)
44055 case ${D}1 in
44056 -L* | -l*)
44057 libsToLink=1
44058 ;;
44059 -Zomf)
44060 omfLinking=1
44061 ;;
44062 *)
44063 ;;
44064 esac
44065 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
44066 ;;
44067 *.dll)
44068 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
44069 if [ ${D}omfLinking -eq 1 ]; then
44070 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
44071 else
44072 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
44073 fi
44074 ;;
44075 *)
44076 found=0;
44077 if [ ${D}libsToLink -ne 0 ]; then
44078 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
44079 else
44080 for file in ${D}1 ; do
44081 if [ -f ${D}file ]; then
44082 inputFiles="${D}{inputFiles} ${D}file"
44083 found=1
44084 fi
44085 done
44086 if [ ${D}found -eq 0 ]; then
44087 echo "ERROR: No file(s) found: "${D}1
44088 exit 8
44089 fi
44090 fi
44091 ;;
44092 esac
44093 shift
44094 done # iterate cmdline words
44095
44096 #
44097 if [ -z "${D}inputFiles" ]; then
44098 echo "dllar: no input files"
44099 PrintHelp
44100 fi
44101
44102 # Now extract all .o files from .a files
44103 newInputFiles=""
44104 for file in ${D}inputFiles ; do
44105 case ${D}file in
44106 *.a | *.lib)
44107 case ${D}file in
44108 *.a)
44109 suffix=".a"
44110 AR="ar"
44111 ;;
44112 *.lib)
44113 suffix=".lib"
44114 AR="emxomfar"
44115 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
44116 ;;
44117 *)
44118 ;;
44119 esac
44120 dirname=\`basnam ${D}file ${D}suffix\`"_%"
44121 mkdir ${D}dirname
44122 if [ ${D}? -ne 0 ]; then
44123 echo "Failed to create subdirectory ./${D}dirname"
44124 CleanUp
44125 exit 8;
44126 fi
44127 # Append '!' to indicate archive
44128 newInputFiles="${D}newInputFiles ${D}{dirname}!"
44129 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
44130 cd ${D}curDir
44131 found=0;
44132 for subfile in ${D}dirname/*.o* ; do
44133 if [ -f ${D}subfile ]; then
44134 found=1
44135 if [ -s ${D}subfile ]; then
44136 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
44137 newInputFiles="${D}newInputFiles ${D}subfile"
44138 fi
44139 fi
44140 done
44141 if [ ${D}found -eq 0 ]; then
44142 echo "WARNING: there are no files in archive \\'${D}file\\'"
44143 fi
44144 ;;
44145 *)
44146 newInputFiles="${D}{newInputFiles} ${D}file"
44147 ;;
44148 esac
44149 done
44150 inputFiles="${D}newInputFiles"
44151
44152 # Output filename(s).
44153 do_backup=0;
44154 if [ -z ${D}outFile ]; then
44155 do_backup=1;
44156 set outFile ${D}inputFiles; outFile=${D}2
44157 fi
44158
44159 # If it is an archive, remove the '!' and the '_%' suffixes
44160 case ${D}outFile in
44161 *_%!)
44162 outFile=\`basnam ${D}outFile _%!\`
44163 ;;
44164 *)
44165 ;;
44166 esac
44167 case ${D}outFile in
44168 *.dll)
44169 outFile=\`basnam ${D}outFile .dll\`
44170 ;;
44171 *.DLL)
44172 outFile=\`basnam ${D}outFile .DLL\`
44173 ;;
44174 *.o)
44175 outFile=\`basnam ${D}outFile .o\`
44176 ;;
44177 *.obj)
44178 outFile=\`basnam ${D}outFile .obj\`
44179 ;;
44180 *.a)
44181 outFile=\`basnam ${D}outFile .a\`
44182 ;;
44183 *.lib)
44184 outFile=\`basnam ${D}outFile .lib\`
44185 ;;
44186 *)
44187 ;;
44188 esac
44189 case ${D}outimpFile in
44190 *.a)
44191 outimpFile=\`basnam ${D}outimpFile .a\`
44192 ;;
44193 *.lib)
44194 outimpFile=\`basnam ${D}outimpFile .lib\`
44195 ;;
44196 *)
44197 ;;
44198 esac
44199 if [ -z ${D}outimpFile ]; then
44200 outimpFile=${D}outFile
44201 fi
44202 defFile="${D}{outFile}.def"
44203 arcFile="${D}{outimpFile}.a"
44204 arcFile2="${D}{outimpFile}.lib"
44205
44206 #create ${D}dllFile as something matching 8.3 restrictions,
44207 if [ -z ${D}renameScript ] ; then
44208 dllFile="${D}outFile"
44209 else
44210 dllFile=\`${D}renameScript ${D}outimpFile\`
44211 fi
44212
44213 if [ ${D}do_backup -ne 0 ] ; then
44214 if [ -f ${D}arcFile ] ; then
44215 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
44216 fi
44217 if [ -f ${D}arcFile2 ] ; then
44218 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
44219 fi
44220 fi
44221
44222 # Extract public symbols from all the object files.
44223 tmpdefFile=${D}{defFile}_%
44224 rm -f ${D}tmpdefFile
44225 for file in ${D}inputFiles ; do
44226 case ${D}file in
44227 *!)
44228 ;;
44229 *)
44230 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
44231 ;;
44232 esac
44233 done
44234
44235 # Create the def file.
44236 rm -f ${D}defFile
44237 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
44238 dllFile="${D}{dllFile}.dll"
44239 if [ ! -z ${D}description ]; then
44240 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
44241 fi
44242 echo "EXPORTS" >> ${D}defFile
44243
44244 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
44245 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
44246
44247 # Checks if the export is ok or not.
44248 for word in ${D}exclude_symbols; do
44249 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
44250 mv ${D}{tmpdefFile}% ${D}tmpdefFile
44251 done
44252
44253
44254 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
44255 sed "=" < ${D}tmpdefFile | \\
44256 sed '
44257 N
44258 : loop
44259 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
44260 t loop
44261 ' > ${D}{tmpdefFile}%
44262 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
44263 else
44264 rm -f ${D}{tmpdefFile}%
44265 fi
44266 cat ${D}tmpdefFile >> ${D}defFile
44267 rm -f ${D}tmpdefFile
44268
44269 # Do linking, create implib, and apply lxlite.
44270 gccCmdl="";
44271 for file in ${D}inputFiles ; do
44272 case ${D}file in
44273 *!)
44274 ;;
44275 *)
44276 gccCmdl="${D}gccCmdl ${D}file"
44277 ;;
44278 esac
44279 done
44280 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
44281 touch "${D}{outFile}.dll"
44282
44283 doCommand "emximp -o ${D}arcFile ${D}defFile"
44284 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
44285 add_flags="";
44286 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
44287 add_flags="-ynd"
44288 fi
44289 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
44290 fi
44291 doCommand "emxomf -s -l ${D}arcFile"
44292
44293 # Successful exit.
44294 CleanUp 1
44295 exit 0
44296 EOF
44297
44298 chmod +x dllar.sh
44299 ;;
44300
44301 powerpc-apple-macos* | \
44302 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
44303 *-*-sunos4* | \
44304 *-*-osf* | \
44305 *-*-dgux5* | \
44306 *-*-sysv5* | \
44307 *-pc-msdosdjgpp )
44308 ;;
44309
44310 *)
44311 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
44312 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
44313 { (exit 1); exit 1; }; }
44314 esac
44315
44316 if test "x$PIC_FLAG" != "x" ; then
44317 PIC_FLAG="$PIC_FLAG -DPIC"
44318 fi
44319
44320 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
44321 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
44322 fi
44323 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
44324 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
44325 fi
44326
44327
44328
44329
44330
44331
44332
44333
44334
44335 USE_SOVERSION=0
44336 USE_SOVERLINUX=0
44337 USE_SOVERSOLARIS=0
44338 USE_SOVERCYGWIN=0
44339 USE_SOSYMLINKS=0
44340 USE_MACVERSION=0
44341 SONAME_FLAG=
44342
44343 case "${BAKEFILE_HOST}" in
44344 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
44345 SONAME_FLAG="-Wl,-soname,"
44346 USE_SOVERSION=1
44347 USE_SOVERLINUX=1
44348 USE_SOSYMLINKS=1
44349 ;;
44350
44351 *-*-solaris2* )
44352 SONAME_FLAG="-h "
44353 USE_SOVERSION=1
44354 USE_SOVERSOLARIS=1
44355 USE_SOSYMLINKS=1
44356 ;;
44357
44358 *-*-darwin* )
44359 USE_MACVERSION=1
44360 USE_SOVERSION=1
44361 USE_SOSYMLINKS=1
44362 ;;
44363
44364 *-*-cygwin* )
44365 USE_SOVERSION=1
44366 USE_SOVERCYGWIN=1
44367 ;;
44368 esac
44369
44370
44371
44372
44373
44374
44375
44376
44377
44378
44379 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
44380 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
44381 DEPS_TRACKING=1
44382
44383 if test "x$GCC" = "xyes"; then
44384 DEPSMODE=gcc
44385 case "${BAKEFILE_HOST}" in
44386 *-*-darwin* )
44387 DEPSFLAG="-no-cpp-precomp -MMD"
44388 ;;
44389 * )
44390 DEPSFLAG="-MMD"
44391 ;;
44392 esac
44393 echo "$as_me:$LINENO: result: gcc" >&5
44394 echo "${ECHO_T}gcc" >&6
44395 elif test "x$MWCC" = "xyes"; then
44396 DEPSMODE=mwcc
44397 DEPSFLAG="-MM"
44398 echo "$as_me:$LINENO: result: mwcc" >&5
44399 echo "${ECHO_T}mwcc" >&6
44400 elif test "x$SUNCC" = "xyes"; then
44401 DEPSMODE=unixcc
44402 DEPSFLAG="-xM1"
44403 echo "$as_me:$LINENO: result: Sun cc" >&5
44404 echo "${ECHO_T}Sun cc" >&6
44405 elif test "x$SGICC" = "xyes"; then
44406 DEPSMODE=unixcc
44407 DEPSFLAG="-M"
44408 echo "$as_me:$LINENO: result: SGI cc" >&5
44409 echo "${ECHO_T}SGI cc" >&6
44410 else
44411 DEPS_TRACKING=0
44412 echo "$as_me:$LINENO: result: none" >&5
44413 echo "${ECHO_T}none" >&6
44414 fi
44415
44416 if test $DEPS_TRACKING = 1 ; then
44417
44418 D='$'
44419 cat <<EOF >bk-deps
44420 #!/bin/sh
44421
44422 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
44423 # script. It is used to track C/C++ files dependencies in portable way.
44424 #
44425 # Permission is given to use this file in any way.
44426
44427 DEPSMODE=${DEPSMODE}
44428 DEPSDIR=.deps
44429 DEPSFLAG="${DEPSFLAG}"
44430
44431 mkdir -p ${D}DEPSDIR
44432
44433 if test ${D}DEPSMODE = gcc ; then
44434 ${D}* ${D}{DEPSFLAG}
44435 status=${D}?
44436 if test ${D}{status} != 0 ; then
44437 exit ${D}{status}
44438 fi
44439 # move created file to the location we want it in:
44440 while test ${D}# -gt 0; do
44441 case "${D}1" in
44442 -o )
44443 shift
44444 objfile=${D}1
44445 ;;
44446 -* )
44447 ;;
44448 * )
44449 srcfile=${D}1
44450 ;;
44451 esac
44452 shift
44453 done
44454 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
44455 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
44456 if test -f ${D}depfile ; then
44457 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
44458 rm -f ${D}depfile
44459 else
44460 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
44461 if test -f ${D}depfile ; then
44462 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
44463 rm -f ${D}depfile
44464 fi
44465 fi
44466 exit 0
44467 elif test ${D}DEPSMODE = mwcc ; then
44468 ${D}* || exit ${D}?
44469 # Run mwcc again with -MM and redirect into the dep file we want
44470 # NOTE: We can't use shift here because we need ${D}* to be valid
44471 prevarg=
44472 for arg in ${D}* ; do
44473 if test "${D}prevarg" = "-o"; then
44474 objfile=${D}arg
44475 else
44476 case "${D}arg" in
44477 -* )
44478 ;;
44479 * )
44480 srcfile=${D}arg
44481 ;;
44482 esac
44483 fi
44484 prevarg="${D}arg"
44485 done
44486 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
44487 exit 0
44488 elif test ${D}DEPSMODE = unixcc; then
44489 ${D}* || exit ${D}?
44490 # Run compiler again with deps flag and redirect into the dep file.
44491 # It doesn't work if the '-o FILE' option is used, but without it the
44492 # dependency file will contain the wrong name for the object. So it is
44493 # removed from the command line, and the dep file is fixed with sed.
44494 cmd=""
44495 while test ${D}# -gt 0; do
44496 case "${D}1" in
44497 -o )
44498 shift
44499 objfile=${D}1
44500 ;;
44501 * )
44502 eval arg${D}#=\\${D}1
44503 cmd="${D}cmd \\${D}arg${D}#"
44504 ;;
44505 esac
44506 shift
44507 done
44508 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
44509 exit 0
44510 else
44511 ${D}*
44512 exit ${D}?
44513 fi
44514 EOF
44515
44516 chmod +x bk-deps
44517 fi
44518
44519
44520
44521
44522 RESCOMP=
44523 SETFILE=
44524
44525 case ${BAKEFILE_HOST} in
44526 *-*-cygwin* | *-*-mingw32* )
44527 if test "$build" != "$host" ; then
44528 RESCOMP=$host_alias-windres
44529 else
44530 # Extract the first word of "windres", so it can be a program name with args.
44531 set dummy windres; ac_word=$2
44532 echo "$as_me:$LINENO: checking for $ac_word" >&5
44533 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44534 if test "${ac_cv_prog_RESCOMP+set}" = set; then
44535 echo $ECHO_N "(cached) $ECHO_C" >&6
44536 else
44537 if test -n "$RESCOMP"; then
44538 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
44539 else
44540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44541 for as_dir in $PATH
44542 do
44543 IFS=$as_save_IFS
44544 test -z "$as_dir" && as_dir=.
44545 for ac_exec_ext in '' $ac_executable_extensions; do
44546 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44547 ac_cv_prog_RESCOMP="windres"
44548 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44549 break 2
44550 fi
44551 done
44552 done
44553
44554 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
44555 fi
44556 fi
44557 RESCOMP=$ac_cv_prog_RESCOMP
44558 if test -n "$RESCOMP"; then
44559 echo "$as_me:$LINENO: result: $RESCOMP" >&5
44560 echo "${ECHO_T}$RESCOMP" >&6
44561 else
44562 echo "$as_me:$LINENO: result: no" >&5
44563 echo "${ECHO_T}no" >&6
44564 fi
44565
44566 fi
44567 ;;
44568
44569 *-*-darwin* | powerpc-apple-macos* )
44570 # Extract the first word of "Rez", so it can be a program name with args.
44571 set dummy Rez; ac_word=$2
44572 echo "$as_me:$LINENO: checking for $ac_word" >&5
44573 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44574 if test "${ac_cv_prog_RESCOMP+set}" = set; then
44575 echo $ECHO_N "(cached) $ECHO_C" >&6
44576 else
44577 if test -n "$RESCOMP"; then
44578 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
44579 else
44580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44581 for as_dir in $PATH
44582 do
44583 IFS=$as_save_IFS
44584 test -z "$as_dir" && as_dir=.
44585 for ac_exec_ext in '' $ac_executable_extensions; do
44586 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44587 ac_cv_prog_RESCOMP="Rez"
44588 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44589 break 2
44590 fi
44591 done
44592 done
44593
44594 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
44595 fi
44596 fi
44597 RESCOMP=$ac_cv_prog_RESCOMP
44598 if test -n "$RESCOMP"; then
44599 echo "$as_me:$LINENO: result: $RESCOMP" >&5
44600 echo "${ECHO_T}$RESCOMP" >&6
44601 else
44602 echo "$as_me:$LINENO: result: no" >&5
44603 echo "${ECHO_T}no" >&6
44604 fi
44605
44606 # Extract the first word of "SetFile", so it can be a program name with args.
44607 set dummy SetFile; ac_word=$2
44608 echo "$as_me:$LINENO: checking for $ac_word" >&5
44609 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44610 if test "${ac_cv_prog_SETFILE+set}" = set; then
44611 echo $ECHO_N "(cached) $ECHO_C" >&6
44612 else
44613 if test -n "$SETFILE"; then
44614 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
44615 else
44616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44617 for as_dir in $PATH
44618 do
44619 IFS=$as_save_IFS
44620 test -z "$as_dir" && as_dir=.
44621 for ac_exec_ext in '' $ac_executable_extensions; do
44622 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44623 ac_cv_prog_SETFILE="SetFile"
44624 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44625 break 2
44626 fi
44627 done
44628 done
44629
44630 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
44631 fi
44632 fi
44633 SETFILE=$ac_cv_prog_SETFILE
44634 if test -n "$SETFILE"; then
44635 echo "$as_me:$LINENO: result: $SETFILE" >&5
44636 echo "${ECHO_T}$SETFILE" >&6
44637 else
44638 echo "$as_me:$LINENO: result: no" >&5
44639 echo "${ECHO_T}no" >&6
44640 fi
44641
44642 ;;
44643 esac
44644
44645
44646
44647
44648
44649 BAKEFILE_BAKEFILE_M4_VERSION="0.1.9"
44650
44651
44652 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.1.9"
44653
44654
44655
44656 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
44657 if test "${enable_precomp_headers+set}" = set; then
44658 enableval="$enable_precomp_headers"
44659 bk_use_pch="$enableval"
44660 fi;
44661
44662 GCC_PCH=0
44663
44664 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
44665 if test "x$GCC" = "xyes"; then
44666 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
44667 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
44668 cat >conftest.$ac_ext <<_ACEOF
44669 /* confdefs.h. */
44670 _ACEOF
44671 cat confdefs.h >>conftest.$ac_ext
44672 cat >>conftest.$ac_ext <<_ACEOF
44673 /* end confdefs.h. */
44674
44675 int
44676 main ()
44677 {
44678
44679 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
44680 #error "no pch support"
44681 #endif
44682 #if (__GNUC__ < 3)
44683 #error "no pch support"
44684 #endif
44685 #if (__GNUC__ == 3) && \
44686 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
44687 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
44688 #error "no pch support"
44689 #endif
44690
44691 ;
44692 return 0;
44693 }
44694 _ACEOF
44695 rm -f conftest.$ac_objext
44696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44697 (eval $ac_compile) 2>conftest.er1
44698 ac_status=$?
44699 grep -v '^ *+' conftest.er1 >conftest.err
44700 rm -f conftest.er1
44701 cat conftest.err >&5
44702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44703 (exit $ac_status); } &&
44704 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44706 (eval $ac_try) 2>&5
44707 ac_status=$?
44708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44709 (exit $ac_status); }; } &&
44710 { ac_try='test -s conftest.$ac_objext'
44711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44712 (eval $ac_try) 2>&5
44713 ac_status=$?
44714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44715 (exit $ac_status); }; }; then
44716
44717 echo "$as_me:$LINENO: result: yes" >&5
44718 echo "${ECHO_T}yes" >&6
44719 GCC_PCH=1
44720
44721 else
44722 echo "$as_me: failed program was:" >&5
44723 sed 's/^/| /' conftest.$ac_ext >&5
44724
44725
44726 echo "$as_me:$LINENO: result: no" >&5
44727 echo "${ECHO_T}no" >&6
44728
44729 fi
44730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44731 if test $GCC_PCH = 1 ; then
44732
44733 D='$'
44734 cat <<EOF >bk-make-pch
44735 #!/bin/sh
44736
44737 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
44738 # script. It is used to generated precompiled headers.
44739 #
44740 # Permission is given to use this file in any way.
44741
44742 outfile="${D}{1}"
44743 header="${D}{2}"
44744 shift
44745 shift
44746
44747 compiler=
44748 headerfile=
44749 while test ${D}{#} -gt 0; do
44750 case "${D}{1}" in
44751 -I* )
44752 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
44753 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
44754 headerfile="${D}{incdir}/${D}{header}"
44755 fi
44756 ;;
44757 esac
44758 compiler="${D}{compiler} ${D}{1}"
44759 shift
44760 done
44761
44762 if test "x${D}{headerfile}" = "x" ; then
44763 echo "error: can't find header ${D}{header} in include paths" >2
44764 else
44765 if test -f ${D}{outfile} ; then
44766 rm -f ${D}{outfile}
44767 else
44768 mkdir -p \`dirname ${D}{outfile}\`
44769 fi
44770 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
44771 mkdir -p .deps
44772 # can do this because gcc is >= 3.4:
44773 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
44774 exit ${D}{?}
44775 fi
44776 EOF
44777
44778 chmod +x bk-make-pch
44779 fi
44780 fi
44781 fi
44782
44783
44784
44785 COND_BUILD_DEBUG="#"
44786 if test "x$BUILD" = "xdebug" ; then
44787 COND_BUILD_DEBUG=""
44788 fi
44789
44790 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
44791 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
44792 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
44793 fi
44794
44795 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
44796 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
44797 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
44798 fi
44799
44800 COND_BUILD_DEBUG_UNICODE_0="#"
44801 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
44802 COND_BUILD_DEBUG_UNICODE_0=""
44803 fi
44804
44805 COND_BUILD_DEBUG_UNICODE_1="#"
44806 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
44807 COND_BUILD_DEBUG_UNICODE_1=""
44808 fi
44809
44810 COND_BUILD_RELEASE="#"
44811 if test "x$BUILD" = "xrelease" ; then
44812 COND_BUILD_RELEASE=""
44813 fi
44814
44815 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
44816 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
44817 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
44818 fi
44819
44820 COND_BUILD_RELEASE_UNICODE_0="#"
44821 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
44822 COND_BUILD_RELEASE_UNICODE_0=""
44823 fi
44824
44825 COND_BUILD_RELEASE_UNICODE_1="#"
44826 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
44827 COND_BUILD_RELEASE_UNICODE_1=""
44828 fi
44829
44830 COND_DEBUG_FLAG_1="#"
44831 if test "x$DEBUG_FLAG" = "x1" ; then
44832 COND_DEBUG_FLAG_1=""
44833 fi
44834
44835 COND_DEBUG_INFO_0="#"
44836 if test "x$DEBUG_INFO" = "x0" ; then
44837 COND_DEBUG_INFO_0=""
44838 fi
44839
44840 COND_DEBUG_INFO_1="#"
44841 if test "x$DEBUG_INFO" = "x1" ; then
44842 COND_DEBUG_INFO_1=""
44843 fi
44844
44845 COND_DEPS_TRACKING_0="#"
44846 if test "x$DEPS_TRACKING" = "x0" ; then
44847 COND_DEPS_TRACKING_0=""
44848 fi
44849
44850 COND_DEPS_TRACKING_1="#"
44851 if test "x$DEPS_TRACKING" = "x1" ; then
44852 COND_DEPS_TRACKING_1=""
44853 fi
44854
44855 COND_GCC_PCH_1="#"
44856 if test "x$GCC_PCH" = "x1" ; then
44857 COND_GCC_PCH_1=""
44858 fi
44859
44860 COND_MONOLITHIC_0="#"
44861 if test "x$MONOLITHIC" = "x0" ; then
44862 COND_MONOLITHIC_0=""
44863 fi
44864
44865 COND_MONOLITHIC_0_SHARED_0="#"
44866 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
44867 COND_MONOLITHIC_0_SHARED_0=""
44868 fi
44869
44870 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
44871 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
44872 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
44873 fi
44874
44875 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
44876 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
44877 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
44878 fi
44879
44880 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
44881 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
44882 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
44883 fi
44884
44885 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
44886 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
44887 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
44888 fi
44889
44890 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
44891 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
44892 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
44893 fi
44894
44895 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
44896 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
44897 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
44898 fi
44899
44900 COND_MONOLITHIC_0_SHARED_1="#"
44901 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
44902 COND_MONOLITHIC_0_SHARED_1=""
44903 fi
44904
44905 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
44906 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
44907 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
44908 fi
44909
44910 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
44911 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
44912 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
44913 fi
44914
44915 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
44916 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
44917 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
44918 fi
44919
44920 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
44921 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
44922 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
44923 fi
44924
44925 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
44926 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
44927 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
44928 fi
44929
44930 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
44931 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
44932 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
44933 fi
44934
44935 COND_MONOLITHIC_0_USE_ODBC_1="#"
44936 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
44937 COND_MONOLITHIC_0_USE_ODBC_1=""
44938 fi
44939
44940 COND_MONOLITHIC_1="#"
44941 if test "x$MONOLITHIC" = "x1" ; then
44942 COND_MONOLITHIC_1=""
44943 fi
44944
44945 COND_MONOLITHIC_1_SHARED_0="#"
44946 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
44947 COND_MONOLITHIC_1_SHARED_0=""
44948 fi
44949
44950 COND_MONOLITHIC_1_SHARED_1="#"
44951 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
44952 COND_MONOLITHIC_1_SHARED_1=""
44953 fi
44954
44955 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
44956 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
44957 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
44958 fi
44959
44960 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
44961 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
44962 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
44963 fi
44964
44965 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
44966 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
44967 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
44968 fi
44969
44970 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
44971 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
44972 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
44973 fi
44974
44975 COND_PLATFORM_MACOSX_1="#"
44976 if test "x$PLATFORM_MACOSX" = "x1" ; then
44977 COND_PLATFORM_MACOSX_1=""
44978 fi
44979
44980 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
44981 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
44982 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
44983 fi
44984
44985 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
44986 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
44987 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
44988 fi
44989
44990 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
44991 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
44992 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
44993 fi
44994
44995 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
44996 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
44997 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
44998 fi
44999
45000 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
45001 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
45002 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
45003 fi
45004
45005 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
45006 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45007 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
45008 fi
45009
45010 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
45011 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
45012 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
45013 fi
45014
45015 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
45016 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
45017 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
45018 fi
45019
45020 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
45021 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
45022 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
45023 fi
45024
45025 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
45026 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
45027 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
45028 fi
45029
45030 COND_PLATFORM_MACOS_1="#"
45031 if test "x$PLATFORM_MACOS" = "x1" ; then
45032 COND_PLATFORM_MACOS_1=""
45033 fi
45034
45035 COND_PLATFORM_MAC_1="#"
45036 if test "x$PLATFORM_MAC" = "x1" ; then
45037 COND_PLATFORM_MAC_1=""
45038 fi
45039
45040 COND_PLATFORM_MSDOS_1="#"
45041 if test "x$PLATFORM_MSDOS" = "x1" ; then
45042 COND_PLATFORM_MSDOS_1=""
45043 fi
45044
45045 COND_PLATFORM_OS2_1="#"
45046 if test "x$PLATFORM_OS2" = "x1" ; then
45047 COND_PLATFORM_OS2_1=""
45048 fi
45049
45050 COND_PLATFORM_UNIX_0="#"
45051 if test "x$PLATFORM_UNIX" = "x0" ; then
45052 COND_PLATFORM_UNIX_0=""
45053 fi
45054
45055 COND_PLATFORM_UNIX_1="#"
45056 if test "x$PLATFORM_UNIX" = "x1" ; then
45057 COND_PLATFORM_UNIX_1=""
45058 fi
45059
45060 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
45061 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
45062 COND_PLATFORM_UNIX_1_USE_GUI_1=""
45063 fi
45064
45065 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
45066 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
45067 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
45068 fi
45069
45070 COND_PLATFORM_WIN32_0="#"
45071 if test "x$PLATFORM_WIN32" = "x0" ; then
45072 COND_PLATFORM_WIN32_0=""
45073 fi
45074
45075 COND_PLATFORM_WIN32_1="#"
45076 if test "x$PLATFORM_WIN32" = "x1" ; then
45077 COND_PLATFORM_WIN32_1=""
45078 fi
45079
45080 COND_SHARED_0="#"
45081 if test "x$SHARED" = "x0" ; then
45082 COND_SHARED_0=""
45083 fi
45084
45085 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
45086 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
45087 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
45088 fi
45089
45090 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
45091 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
45092 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
45093 fi
45094
45095 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
45096 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
45097 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
45098 fi
45099
45100 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
45101 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
45102 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
45103 fi
45104
45105 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
45106 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
45107 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
45108 fi
45109
45110 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
45111 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
45112 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
45113 fi
45114
45115 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
45116 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
45117 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
45118 fi
45119
45120 COND_SHARED_0_USE_XRC_1="#"
45121 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
45122 COND_SHARED_0_USE_XRC_1=""
45123 fi
45124
45125 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
45126 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
45127 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
45128 fi
45129
45130 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
45131 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
45132 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
45133 fi
45134
45135 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
45136 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
45137 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
45138 fi
45139
45140 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
45141 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
45142 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
45143 fi
45144
45145 COND_SHARED_1="#"
45146 if test "x$SHARED" = "x1" ; then
45147 COND_SHARED_1=""
45148 fi
45149
45150 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
45151 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
45152 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
45153 fi
45154
45155 COND_SHARED_1_USE_XRC_1="#"
45156 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
45157 COND_SHARED_1_USE_XRC_1=""
45158 fi
45159
45160 COND_TOOLKIT_="#"
45161 if test "x$TOOLKIT" = "x" ; then
45162 COND_TOOLKIT_=""
45163 fi
45164
45165 COND_TOOLKIT_COCOA="#"
45166 if test "x$TOOLKIT" = "xCOCOA" ; then
45167 COND_TOOLKIT_COCOA=""
45168 fi
45169
45170 COND_TOOLKIT_COCOA_USE_GUI_1="#"
45171 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
45172 COND_TOOLKIT_COCOA_USE_GUI_1=""
45173 fi
45174
45175 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
45176 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45177 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
45178 fi
45179
45180 COND_TOOLKIT_GTK="#"
45181 if test "x$TOOLKIT" = "xGTK" ; then
45182 COND_TOOLKIT_GTK=""
45183 fi
45184
45185 COND_TOOLKIT_GTK_USE_GUI_1="#"
45186 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
45187 COND_TOOLKIT_GTK_USE_GUI_1=""
45188 fi
45189
45190 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
45191 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45192 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
45193 fi
45194
45195 COND_TOOLKIT_MAC="#"
45196 if test "x$TOOLKIT" = "xMAC" ; then
45197 COND_TOOLKIT_MAC=""
45198 fi
45199
45200 COND_TOOLKIT_MAC_USE_GUI_1="#"
45201 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
45202 COND_TOOLKIT_MAC_USE_GUI_1=""
45203 fi
45204
45205 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
45206 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45207 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
45208 fi
45209
45210 COND_TOOLKIT_MGL="#"
45211 if test "x$TOOLKIT" = "xMGL" ; then
45212 COND_TOOLKIT_MGL=""
45213 fi
45214
45215 COND_TOOLKIT_MGL_USE_GUI_1="#"
45216 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
45217 COND_TOOLKIT_MGL_USE_GUI_1=""
45218 fi
45219
45220 COND_TOOLKIT_MOTIF="#"
45221 if test "x$TOOLKIT" = "xMOTIF" ; then
45222 COND_TOOLKIT_MOTIF=""
45223 fi
45224
45225 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
45226 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
45227 COND_TOOLKIT_MOTIF_USE_GUI_1=""
45228 fi
45229
45230 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
45231 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45232 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
45233 fi
45234
45235 COND_TOOLKIT_MSW="#"
45236 if test "x$TOOLKIT" = "xMSW" ; then
45237 COND_TOOLKIT_MSW=""
45238 fi
45239
45240 COND_TOOLKIT_MSW_USE_GUI_1="#"
45241 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
45242 COND_TOOLKIT_MSW_USE_GUI_1=""
45243 fi
45244
45245 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
45246 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45247 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
45248 fi
45249
45250 COND_TOOLKIT_PM="#"
45251 if test "x$TOOLKIT" = "xPM" ; then
45252 COND_TOOLKIT_PM=""
45253 fi
45254
45255 COND_TOOLKIT_PM_USE_GUI_1="#"
45256 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
45257 COND_TOOLKIT_PM_USE_GUI_1=""
45258 fi
45259
45260 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
45261 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45262 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
45263 fi
45264
45265 COND_TOOLKIT_WINCE="#"
45266 if test "x$TOOLKIT" = "xWINCE" ; then
45267 COND_TOOLKIT_WINCE=""
45268 fi
45269
45270 COND_TOOLKIT_WINCE_USE_GUI_1="#"
45271 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
45272 COND_TOOLKIT_WINCE_USE_GUI_1=""
45273 fi
45274
45275 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
45276 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45277 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
45278 fi
45279
45280 COND_TOOLKIT_X11="#"
45281 if test "x$TOOLKIT" = "xX11" ; then
45282 COND_TOOLKIT_X11=""
45283 fi
45284
45285 COND_TOOLKIT_X11_USE_GUI_1="#"
45286 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
45287 COND_TOOLKIT_X11_USE_GUI_1=""
45288 fi
45289
45290 COND_UNICODE_1="#"
45291 if test "x$UNICODE" = "x1" ; then
45292 COND_UNICODE_1=""
45293 fi
45294
45295 COND_USE_EXCEPTIONS_0="#"
45296 if test "x$USE_EXCEPTIONS" = "x0" ; then
45297 COND_USE_EXCEPTIONS_0=""
45298 fi
45299
45300 COND_USE_EXCEPTIONS_1="#"
45301 if test "x$USE_EXCEPTIONS" = "x1" ; then
45302 COND_USE_EXCEPTIONS_1=""
45303 fi
45304
45305 COND_USE_GUI_0="#"
45306 if test "x$USE_GUI" = "x0" ; then
45307 COND_USE_GUI_0=""
45308 fi
45309
45310 COND_USE_GUI_1="#"
45311 if test "x$USE_GUI" = "x1" ; then
45312 COND_USE_GUI_1=""
45313 fi
45314
45315 COND_USE_GUI_1_WXUNIV_0="#"
45316 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45317 COND_USE_GUI_1_WXUNIV_0=""
45318 fi
45319
45320 COND_USE_GUI_1_WXUNIV_1="#"
45321 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
45322 COND_USE_GUI_1_WXUNIV_1=""
45323 fi
45324
45325 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
45326 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
45327 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
45328 fi
45329
45330 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
45331 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
45332 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
45333 fi
45334
45335 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
45336 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
45337 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
45338 fi
45339
45340 COND_USE_ODBC_1="#"
45341 if test "x$USE_ODBC" = "x1" ; then
45342 COND_USE_ODBC_1=""
45343 fi
45344
45345 COND_USE_OPENGL_1="#"
45346 if test "x$USE_OPENGL" = "x1" ; then
45347 COND_USE_OPENGL_1=""
45348 fi
45349
45350 COND_USE_PLUGINS_0="#"
45351 if test "x$USE_PLUGINS" = "x0" ; then
45352 COND_USE_PLUGINS_0=""
45353 fi
45354
45355 COND_USE_RTTI_0="#"
45356 if test "x$USE_RTTI" = "x0" ; then
45357 COND_USE_RTTI_0=""
45358 fi
45359
45360 COND_USE_RTTI_1="#"
45361 if test "x$USE_RTTI" = "x1" ; then
45362 COND_USE_RTTI_1=""
45363 fi
45364
45365 COND_USE_SOSYMLINKS_1="#"
45366 if test "x$USE_SOSYMLINKS" = "x1" ; then
45367 COND_USE_SOSYMLINKS_1=""
45368 fi
45369
45370 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
45371 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
45372 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
45373 fi
45374
45375 COND_USE_SOVERLINUX_1="#"
45376 if test "x$USE_SOVERLINUX" = "x1" ; then
45377 COND_USE_SOVERLINUX_1=""
45378 fi
45379
45380 COND_USE_SOVERSION_0="#"
45381 if test "x$USE_SOVERSION" = "x0" ; then
45382 COND_USE_SOVERSION_0=""
45383 fi
45384
45385 COND_USE_SOVERSOLARIS_1="#"
45386 if test "x$USE_SOVERSOLARIS" = "x1" ; then
45387 COND_USE_SOVERSOLARIS_1=""
45388 fi
45389
45390 COND_USE_THREADS_0="#"
45391 if test "x$USE_THREADS" = "x0" ; then
45392 COND_USE_THREADS_0=""
45393 fi
45394
45395 COND_USE_THREADS_1="#"
45396 if test "x$USE_THREADS" = "x1" ; then
45397 COND_USE_THREADS_1=""
45398 fi
45399
45400 COND_USE_XRC_1="#"
45401 if test "x$USE_XRC" = "x1" ; then
45402 COND_USE_XRC_1=""
45403 fi
45404
45405 COND_WINDOWS_IMPLIB_1="#"
45406 if test "x$WINDOWS_IMPLIB" = "x1" ; then
45407 COND_WINDOWS_IMPLIB_1=""
45408 fi
45409
45410 COND_WITH_PLUGIN_SDL_1="#"
45411 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
45412 COND_WITH_PLUGIN_SDL_1=""
45413 fi
45414
45415 COND_WXUNIV_0="#"
45416 if test "x$WXUNIV" = "x0" ; then
45417 COND_WXUNIV_0=""
45418 fi
45419
45420 COND_WXUNIV_1="#"
45421 if test "x$WXUNIV" = "x1" ; then
45422 COND_WXUNIV_1=""
45423 fi
45424
45425 COND_WXUSE_EXPAT_BUILTIN="#"
45426 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
45427 COND_WXUSE_EXPAT_BUILTIN=""
45428 fi
45429
45430 COND_WXUSE_LIBJPEG_BUILTIN="#"
45431 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
45432 COND_WXUSE_LIBJPEG_BUILTIN=""
45433 fi
45434
45435 COND_WXUSE_LIBPNG_BUILTIN="#"
45436 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
45437 COND_WXUSE_LIBPNG_BUILTIN=""
45438 fi
45439
45440 COND_WXUSE_LIBTIFF_BUILTIN="#"
45441 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
45442 COND_WXUSE_LIBTIFF_BUILTIN=""
45443 fi
45444
45445 COND_WXUSE_ODBC_BUILTIN="#"
45446 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
45447 COND_WXUSE_ODBC_BUILTIN=""
45448 fi
45449
45450 COND_WXUSE_REGEX_BUILTIN="#"
45451 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
45452 COND_WXUSE_REGEX_BUILTIN=""
45453 fi
45454
45455 COND_WXUSE_ZLIB_BUILTIN="#"
45456 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
45457 COND_WXUSE_ZLIB_BUILTIN=""
45458 fi
45459
45460
45461
45462 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
45463 { { echo "$as_me:$LINENO: error: No version found in autoconf_inc.m4 - bakefile macro was changed to take additional argument, perhaps configure.in wasn't updated (see the documentation)?" >&5
45464 echo "$as_me: error: No version found in autoconf_inc.m4 - bakefile macro was changed to take additional argument, perhaps configure.in wasn't updated (see the documentation)?" >&2;}
45465 { (exit 1); exit 1; }; }
45466 fi
45467
45468 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
45469 { { 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
45470 echo "$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;}
45471 { (exit 1); exit 1; }; }
45472 fi
45473
45474
45475 if test "$wxUSE_SHARED" = "yes"; then
45476
45477 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
45478 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
45479
45480 case "${host}" in
45481 *-pc-os2_emx | *-pc-os2-emx )
45482 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
45483 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
45484 cp -p ${srcdir}/src/os2/dllnames.sh .
45485 cp -p ${srcdir}/src/os2/dllar.sh .
45486 ;;
45487 esac
45488 else
45489
45490 EXE_LINKER="$CXX -o"
45491
45492 fi
45493 if test "$wxUSE_OMF" = "yes"; then
45494 case "${host}" in
45495 *-pc-os2_emx | *-pc-os2-emx )
45496 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
45497 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
45498 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
45499 ;;
45500 esac
45501 fi
45502
45503 if test $GCC_PCH = 1 ; then
45504 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
45505 fi
45506
45507
45508 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
45509
45510
45511
45512
45513
45514
45515
45516
45517
45518
45519
45520
45521
45522
45523
45524
45525
45526
45527
45528
45529
45530
45531
45532
45533
45534
45535
45536
45537
45538
45539
45540
45541
45542
45543
45544
45545
45546
45547
45548
45549
45550
45551
45552
45553
45554
45555
45556
45557
45558
45559
45560
45561
45562
45563
45564
45565
45566
45567
45568
45569
45570
45571
45572 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
45573 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
45574 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
45575 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
45576 echo $ECHO_N "(cached) $ECHO_C" >&6
45577 else
45578 cat >conftest.make <<\_ACEOF
45579 all:
45580 @echo 'ac_maketemp="$(MAKE)"'
45581 _ACEOF
45582 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
45583 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
45584 if test -n "$ac_maketemp"; then
45585 eval ac_cv_prog_make_${ac_make}_set=yes
45586 else
45587 eval ac_cv_prog_make_${ac_make}_set=no
45588 fi
45589 rm -f conftest.make
45590 fi
45591 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
45592 echo "$as_me:$LINENO: result: yes" >&5
45593 echo "${ECHO_T}yes" >&6
45594 SET_MAKE=
45595 else
45596 echo "$as_me:$LINENO: result: no" >&5
45597 echo "${ECHO_T}no" >&6
45598 SET_MAKE="MAKE=${MAKE-make}"
45599 fi
45600
45601
45602
45603 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
45604
45605
45606 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
45607
45608
45609 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
45610
45611
45612 ac_config_files="$ac_config_files version-script Makefile"
45613
45614
45615 ac_config_commands="$ac_config_commands wx-config
45616 "
45617
45618
45619
45620
45621 if test "$wxUSE_GUI" = "yes"; then
45622 SUBDIRS="samples demos utils contrib"
45623 else SUBDIRS="samples utils"
45624 fi
45625
45626
45627
45628 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
45629 if test "${with_cppunit_prefix+set}" = set; then
45630 withval="$with_cppunit_prefix"
45631 cppunit_config_prefix="$withval"
45632 else
45633 cppunit_config_prefix=""
45634 fi;
45635
45636 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
45637 if test "${with_cppunit_exec_prefix+set}" = set; then
45638 withval="$with_cppunit_exec_prefix"
45639 cppunit_config_exec_prefix="$withval"
45640 else
45641 cppunit_config_exec_prefix=""
45642 fi;
45643
45644 if test x$cppunit_config_exec_prefix != x ; then
45645 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
45646 if test x${CPPUNIT_CONFIG+set} != xset ; then
45647 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
45648 fi
45649 fi
45650 if test x$cppunit_config_prefix != x ; then
45651 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
45652 if test x${CPPUNIT_CONFIG+set} != xset ; then
45653 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
45654 fi
45655 fi
45656
45657 # Extract the first word of "cppunit-config", so it can be a program name with args.
45658 set dummy cppunit-config; ac_word=$2
45659 echo "$as_me:$LINENO: checking for $ac_word" >&5
45660 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45661 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
45662 echo $ECHO_N "(cached) $ECHO_C" >&6
45663 else
45664 case $CPPUNIT_CONFIG in
45665 [\\/]* | ?:[\\/]*)
45666 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
45667 ;;
45668 *)
45669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45670 for as_dir in $PATH
45671 do
45672 IFS=$as_save_IFS
45673 test -z "$as_dir" && as_dir=.
45674 for ac_exec_ext in '' $ac_executable_extensions; do
45675 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45676 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
45677 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45678 break 2
45679 fi
45680 done
45681 done
45682
45683 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
45684 ;;
45685 esac
45686 fi
45687 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
45688
45689 if test -n "$CPPUNIT_CONFIG"; then
45690 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
45691 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
45692 else
45693 echo "$as_me:$LINENO: result: no" >&5
45694 echo "${ECHO_T}no" >&6
45695 fi
45696
45697 cppunit_version_min=1.8.0
45698
45699 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
45700 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
45701 no_cppunit=""
45702 if test "$CPPUNIT_CONFIG" = "no" ; then
45703 no_cppunit=yes
45704 else
45705 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
45706 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
45707 cppunit_version=`$CPPUNIT_CONFIG --version`
45708
45709 cppunit_major_version=`echo $cppunit_version | \
45710 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
45711 cppunit_minor_version=`echo $cppunit_version | \
45712 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
45713 cppunit_micro_version=`echo $cppunit_version | \
45714 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
45715
45716 cppunit_major_min=`echo $cppunit_version_min | \
45717 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
45718 cppunit_minor_min=`echo $cppunit_version_min | \
45719 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
45720 cppunit_micro_min=`echo $cppunit_version_min | \
45721 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
45722
45723 cppunit_version_proper=`expr \
45724 $cppunit_major_version \> $cppunit_major_min \| \
45725 $cppunit_major_version \= $cppunit_major_min \& \
45726 $cppunit_minor_version \> $cppunit_minor_min \| \
45727 $cppunit_major_version \= $cppunit_major_min \& \
45728 $cppunit_minor_version \= $cppunit_minor_min \& \
45729 $cppunit_micro_version \>= $cppunit_micro_min `
45730
45731 if test "$cppunit_version_proper" = "1" ; then
45732 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
45733 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
45734 else
45735 echo "$as_me:$LINENO: result: no" >&5
45736 echo "${ECHO_T}no" >&6
45737 no_cppunit=yes
45738 fi
45739 fi
45740
45741 if test "x$no_cppunit" = x ; then
45742 SUBDIRS="$SUBDIRS tests"
45743 else
45744 CPPUNIT_CFLAGS=""
45745 CPPUNIT_LIBS=""
45746 :
45747 fi
45748
45749
45750
45751
45752
45753 for subdir in `echo $SUBDIRS`; do
45754 if test -d ${srcdir}/${subdir} ; then
45755 if test "$wxUSE_GUI" = "yes"; then
45756 if test ${subdir} = "samples"; then
45757 makefiles="samples/Makefile.in $makefiles"
45758 for sample in `echo $SAMPLES_SUBDIRS`; do
45759 if test -d $srcdir/samples/$sample; then
45760 makefiles="samples/$sample/Makefile.in $makefiles"
45761 fi
45762 done
45763 else
45764 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
45765 eval "disabled=\$$disabled_var"
45766 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
45767 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
45768 fi
45769 else if test ${subdir} = "samples"; then
45770 makefiles="samples/Makefile.in samples/console/Makefile.in"
45771 elif test ${subdir} = "utils"; then
45772 makefiles=""
45773 for util in HelpGen tex2rtf ; do
45774 if test -d $srcdir/utils/$util ; then
45775 makefiles="utils/$util/Makefile.in \
45776 utils/$util/src/Makefile.in \
45777 $makefiles"
45778 fi
45779 done
45780 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
45781 fi
45782 fi
45783
45784 for mkin in $makefiles ; do
45785 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
45786 ac_config_files="$ac_config_files $mk"
45787
45788 done
45789 fi
45790 done
45791
45792
45793 cat >confcache <<\_ACEOF
45794 # This file is a shell script that caches the results of configure
45795 # tests run on this system so they can be shared between configure
45796 # scripts and configure runs, see configure's option --config-cache.
45797 # It is not useful on other systems. If it contains results you don't
45798 # want to keep, you may remove or edit it.
45799 #
45800 # config.status only pays attention to the cache file if you give it
45801 # the --recheck option to rerun configure.
45802 #
45803 # `ac_cv_env_foo' variables (set or unset) will be overridden when
45804 # loading this file, other *unset* `ac_cv_foo' will be assigned the
45805 # following values.
45806
45807 _ACEOF
45808
45809 # The following way of writing the cache mishandles newlines in values,
45810 # but we know of no workaround that is simple, portable, and efficient.
45811 # So, don't put newlines in cache variables' values.
45812 # Ultrix sh set writes to stderr and can't be redirected directly,
45813 # and sets the high bit in the cache file unless we assign to the vars.
45814 {
45815 (set) 2>&1 |
45816 case `(ac_space=' '; set | grep ac_space) 2>&1` in
45817 *ac_space=\ *)
45818 # `set' does not quote correctly, so add quotes (double-quote
45819 # substitution turns \\\\ into \\, and sed turns \\ into \).
45820 sed -n \
45821 "s/'/'\\\\''/g;
45822 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
45823 ;;
45824 *)
45825 # `set' quotes correctly as required by POSIX, so do not add quotes.
45826 sed -n \
45827 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
45828 ;;
45829 esac;
45830 } |
45831 sed '
45832 t clear
45833 : clear
45834 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
45835 t end
45836 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
45837 : end' >>confcache
45838 if diff $cache_file confcache >/dev/null 2>&1; then :; else
45839 if test -w $cache_file; then
45840 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
45841 cat confcache >$cache_file
45842 else
45843 echo "not updating unwritable cache $cache_file"
45844 fi
45845 fi
45846 rm -f confcache
45847
45848 test "x$prefix" = xNONE && prefix=$ac_default_prefix
45849 # Let make expand exec_prefix.
45850 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
45851
45852 # VPATH may cause trouble with some makes, so we remove $(srcdir),
45853 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
45854 # trailing colons and then remove the whole line if VPATH becomes empty
45855 # (actually we leave an empty line to preserve line numbers).
45856 if test "x$srcdir" = x.; then
45857 ac_vpsub='/^[ ]*VPATH[ ]*=/{
45858 s/:*\$(srcdir):*/:/;
45859 s/:*\${srcdir}:*/:/;
45860 s/:*@srcdir@:*/:/;
45861 s/^\([^=]*=[ ]*\):*/\1/;
45862 s/:*$//;
45863 s/^[^=]*=[ ]*$//;
45864 }'
45865 fi
45866
45867 DEFS=-DHAVE_CONFIG_H
45868
45869 ac_libobjs=
45870 ac_ltlibobjs=
45871 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
45872 # 1. Remove the extension, and $U if already installed.
45873 ac_i=`echo "$ac_i" |
45874 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
45875 # 2. Add them.
45876 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
45877 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
45878 done
45879 LIBOBJS=$ac_libobjs
45880
45881 LTLIBOBJS=$ac_ltlibobjs
45882
45883
45884
45885 : ${CONFIG_STATUS=./config.status}
45886 ac_clean_files_save=$ac_clean_files
45887 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
45888 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
45889 echo "$as_me: creating $CONFIG_STATUS" >&6;}
45890 cat >$CONFIG_STATUS <<_ACEOF
45891 #! $SHELL
45892 # Generated by $as_me.
45893 # Run this file to recreate the current configuration.
45894 # Compiler output produced by configure, useful for debugging
45895 # configure, is in config.log if it exists.
45896
45897 debug=false
45898 ac_cs_recheck=false
45899 ac_cs_silent=false
45900 SHELL=\${CONFIG_SHELL-$SHELL}
45901 _ACEOF
45902
45903 cat >>$CONFIG_STATUS <<\_ACEOF
45904 ## --------------------- ##
45905 ## M4sh Initialization. ##
45906 ## --------------------- ##
45907
45908 # Be Bourne compatible
45909 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
45910 emulate sh
45911 NULLCMD=:
45912 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
45913 # is contrary to our usage. Disable this feature.
45914 alias -g '${1+"$@"}'='"$@"'
45915 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
45916 set -o posix
45917 fi
45918 DUALCASE=1; export DUALCASE # for MKS sh
45919
45920 # Support unset when possible.
45921 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
45922 as_unset=unset
45923 else
45924 as_unset=false
45925 fi
45926
45927
45928 # Work around bugs in pre-3.0 UWIN ksh.
45929 $as_unset ENV MAIL MAILPATH
45930 PS1='$ '
45931 PS2='> '
45932 PS4='+ '
45933
45934 # NLS nuisances.
45935 for as_var in \
45936 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
45937 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45938 LC_TELEPHONE LC_TIME
45939 do
45940 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45941 eval $as_var=C; export $as_var
45942 else
45943 $as_unset $as_var
45944 fi
45945 done
45946
45947 # Required to use basename.
45948 if expr a : '\(a\)' >/dev/null 2>&1; then
45949 as_expr=expr
45950 else
45951 as_expr=false
45952 fi
45953
45954 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
45955 as_basename=basename
45956 else
45957 as_basename=false
45958 fi
45959
45960
45961 # Name of the executable.
45962 as_me=`$as_basename "$0" ||
45963 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
45964 X"$0" : 'X\(//\)$' \| \
45965 X"$0" : 'X\(/\)$' \| \
45966 . : '\(.\)' 2>/dev/null ||
45967 echo X/"$0" |
45968 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
45969 /^X\/\(\/\/\)$/{ s//\1/; q; }
45970 /^X\/\(\/\).*/{ s//\1/; q; }
45971 s/.*/./; q'`
45972
45973
45974 # PATH needs CR, and LINENO needs CR and PATH.
45975 # Avoid depending upon Character Ranges.
45976 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
45977 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
45978 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
45979 as_cr_digits='0123456789'
45980 as_cr_alnum=$as_cr_Letters$as_cr_digits
45981
45982 # The user is always right.
45983 if test "${PATH_SEPARATOR+set}" != set; then
45984 echo "#! /bin/sh" >conf$$.sh
45985 echo "exit 0" >>conf$$.sh
45986 chmod +x conf$$.sh
45987 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
45988 PATH_SEPARATOR=';'
45989 else
45990 PATH_SEPARATOR=:
45991 fi
45992 rm -f conf$$.sh
45993 fi
45994
45995
45996 as_lineno_1=$LINENO
45997 as_lineno_2=$LINENO
45998 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
45999 test "x$as_lineno_1" != "x$as_lineno_2" &&
46000 test "x$as_lineno_3" = "x$as_lineno_2" || {
46001 # Find who we are. Look in the path if we contain no path at all
46002 # relative or not.
46003 case $0 in
46004 *[\\/]* ) as_myself=$0 ;;
46005 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46006 for as_dir in $PATH
46007 do
46008 IFS=$as_save_IFS
46009 test -z "$as_dir" && as_dir=.
46010 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
46011 done
46012
46013 ;;
46014 esac
46015 # We did not find ourselves, most probably we were run as `sh COMMAND'
46016 # in which case we are not to be found in the path.
46017 if test "x$as_myself" = x; then
46018 as_myself=$0
46019 fi
46020 if test ! -f "$as_myself"; then
46021 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
46022 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
46023 { (exit 1); exit 1; }; }
46024 fi
46025 case $CONFIG_SHELL in
46026 '')
46027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46028 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
46029 do
46030 IFS=$as_save_IFS
46031 test -z "$as_dir" && as_dir=.
46032 for as_base in sh bash ksh sh5; do
46033 case $as_dir in
46034 /*)
46035 if ("$as_dir/$as_base" -c '
46036 as_lineno_1=$LINENO
46037 as_lineno_2=$LINENO
46038 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
46039 test "x$as_lineno_1" != "x$as_lineno_2" &&
46040 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
46041 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
46042 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
46043 CONFIG_SHELL=$as_dir/$as_base
46044 export CONFIG_SHELL
46045 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
46046 fi;;
46047 esac
46048 done
46049 done
46050 ;;
46051 esac
46052
46053 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
46054 # uniformly replaced by the line number. The first 'sed' inserts a
46055 # line-number line before each line; the second 'sed' does the real
46056 # work. The second script uses 'N' to pair each line-number line
46057 # with the numbered line, and appends trailing '-' during
46058 # substitution so that $LINENO is not a special case at line end.
46059 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
46060 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
46061 sed '=' <$as_myself |
46062 sed '
46063 N
46064 s,$,-,
46065 : loop
46066 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
46067 t loop
46068 s,-$,,
46069 s,^['$as_cr_digits']*\n,,
46070 ' >$as_me.lineno &&
46071 chmod +x $as_me.lineno ||
46072 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
46073 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
46074 { (exit 1); exit 1; }; }
46075
46076 # Don't try to exec as it changes $[0], causing all sort of problems
46077 # (the dirname of $[0] is not the place where we might find the
46078 # original and so on. Autoconf is especially sensible to this).
46079 . ./$as_me.lineno
46080 # Exit status is that of the last command.
46081 exit
46082 }
46083
46084
46085 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
46086 *c*,-n*) ECHO_N= ECHO_C='
46087 ' ECHO_T=' ' ;;
46088 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
46089 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
46090 esac
46091
46092 if expr a : '\(a\)' >/dev/null 2>&1; then
46093 as_expr=expr
46094 else
46095 as_expr=false
46096 fi
46097
46098 rm -f conf$$ conf$$.exe conf$$.file
46099 echo >conf$$.file
46100 if ln -s conf$$.file conf$$ 2>/dev/null; then
46101 # We could just check for DJGPP; but this test a) works b) is more generic
46102 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
46103 if test -f conf$$.exe; then
46104 # Don't use ln at all; we don't have any links
46105 as_ln_s='cp -p'
46106 else
46107 as_ln_s='ln -s'
46108 fi
46109 elif ln conf$$.file conf$$ 2>/dev/null; then
46110 as_ln_s=ln
46111 else
46112 as_ln_s='cp -p'
46113 fi
46114 rm -f conf$$ conf$$.exe conf$$.file
46115
46116 if mkdir -p . 2>/dev/null; then
46117 as_mkdir_p=:
46118 else
46119 test -d ./-p && rmdir ./-p
46120 as_mkdir_p=false
46121 fi
46122
46123 as_executable_p="test -f"
46124
46125 # Sed expression to map a string onto a valid CPP name.
46126 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
46127
46128 # Sed expression to map a string onto a valid variable name.
46129 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
46130
46131
46132 # IFS
46133 # We need space, tab and new line, in precisely that order.
46134 as_nl='
46135 '
46136 IFS=" $as_nl"
46137
46138 # CDPATH.
46139 $as_unset CDPATH
46140
46141 exec 6>&1
46142
46143 # Open the log real soon, to keep \$[0] and so on meaningful, and to
46144 # report actual input values of CONFIG_FILES etc. instead of their
46145 # values after options handling. Logging --version etc. is OK.
46146 exec 5>>config.log
46147 {
46148 echo
46149 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
46150 ## Running $as_me. ##
46151 _ASBOX
46152 } >&5
46153 cat >&5 <<_CSEOF
46154
46155 This file was extended by wxWidgets $as_me 2.6.2, which was
46156 generated by GNU Autoconf 2.59. Invocation command line was
46157
46158 CONFIG_FILES = $CONFIG_FILES
46159 CONFIG_HEADERS = $CONFIG_HEADERS
46160 CONFIG_LINKS = $CONFIG_LINKS
46161 CONFIG_COMMANDS = $CONFIG_COMMANDS
46162 $ $0 $@
46163
46164 _CSEOF
46165 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
46166 echo >&5
46167 _ACEOF
46168
46169 # Files that config.status was made for.
46170 if test -n "$ac_config_files"; then
46171 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
46172 fi
46173
46174 if test -n "$ac_config_headers"; then
46175 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
46176 fi
46177
46178 if test -n "$ac_config_links"; then
46179 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
46180 fi
46181
46182 if test -n "$ac_config_commands"; then
46183 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
46184 fi
46185
46186 cat >>$CONFIG_STATUS <<\_ACEOF
46187
46188 ac_cs_usage="\
46189 \`$as_me' instantiates files from templates according to the
46190 current configuration.
46191
46192 Usage: $0 [OPTIONS] [FILE]...
46193
46194 -h, --help print this help, then exit
46195 -V, --version print version number, then exit
46196 -q, --quiet do not print progress messages
46197 -d, --debug don't remove temporary files
46198 --recheck update $as_me by reconfiguring in the same conditions
46199 --file=FILE[:TEMPLATE]
46200 instantiate the configuration file FILE
46201 --header=FILE[:TEMPLATE]
46202 instantiate the configuration header FILE
46203
46204 Configuration files:
46205 $config_files
46206
46207 Configuration headers:
46208 $config_headers
46209
46210 Configuration commands:
46211 $config_commands
46212
46213 Report bugs to <bug-autoconf@gnu.org>."
46214 _ACEOF
46215
46216 cat >>$CONFIG_STATUS <<_ACEOF
46217 ac_cs_version="\\
46218 wxWidgets config.status 2.6.2
46219 configured by $0, generated by GNU Autoconf 2.59,
46220 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
46221
46222 Copyright (C) 2003 Free Software Foundation, Inc.
46223 This config.status script is free software; the Free Software Foundation
46224 gives unlimited permission to copy, distribute and modify it."
46225 srcdir=$srcdir
46226 INSTALL="$INSTALL"
46227 _ACEOF
46228
46229 cat >>$CONFIG_STATUS <<\_ACEOF
46230 # If no file are specified by the user, then we need to provide default
46231 # value. By we need to know if files were specified by the user.
46232 ac_need_defaults=:
46233 while test $# != 0
46234 do
46235 case $1 in
46236 --*=*)
46237 ac_option=`expr "x$1" : 'x\([^=]*\)='`
46238 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
46239 ac_shift=:
46240 ;;
46241 -*)
46242 ac_option=$1
46243 ac_optarg=$2
46244 ac_shift=shift
46245 ;;
46246 *) # This is not an option, so the user has probably given explicit
46247 # arguments.
46248 ac_option=$1
46249 ac_need_defaults=false;;
46250 esac
46251
46252 case $ac_option in
46253 # Handling of the options.
46254 _ACEOF
46255 cat >>$CONFIG_STATUS <<\_ACEOF
46256 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
46257 ac_cs_recheck=: ;;
46258 --version | --vers* | -V )
46259 echo "$ac_cs_version"; exit 0 ;;
46260 --he | --h)
46261 # Conflict between --help and --header
46262 { { echo "$as_me:$LINENO: error: ambiguous option: $1
46263 Try \`$0 --help' for more information." >&5
46264 echo "$as_me: error: ambiguous option: $1
46265 Try \`$0 --help' for more information." >&2;}
46266 { (exit 1); exit 1; }; };;
46267 --help | --hel | -h )
46268 echo "$ac_cs_usage"; exit 0 ;;
46269 --debug | --d* | -d )
46270 debug=: ;;
46271 --file | --fil | --fi | --f )
46272 $ac_shift
46273 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
46274 ac_need_defaults=false;;
46275 --header | --heade | --head | --hea )
46276 $ac_shift
46277 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
46278 ac_need_defaults=false;;
46279 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
46280 | -silent | --silent | --silen | --sile | --sil | --si | --s)
46281 ac_cs_silent=: ;;
46282
46283 # This is an error.
46284 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
46285 Try \`$0 --help' for more information." >&5
46286 echo "$as_me: error: unrecognized option: $1
46287 Try \`$0 --help' for more information." >&2;}
46288 { (exit 1); exit 1; }; } ;;
46289
46290 *) ac_config_targets="$ac_config_targets $1" ;;
46291
46292 esac
46293 shift
46294 done
46295
46296 ac_configure_extra_args=
46297
46298 if $ac_cs_silent; then
46299 exec 6>/dev/null
46300 ac_configure_extra_args="$ac_configure_extra_args --silent"
46301 fi
46302
46303 _ACEOF
46304 cat >>$CONFIG_STATUS <<_ACEOF
46305 if \$ac_cs_recheck; then
46306 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
46307 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
46308 fi
46309
46310 _ACEOF
46311
46312 cat >>$CONFIG_STATUS <<_ACEOF
46313 #
46314 # INIT-COMMANDS section.
46315 #
46316
46317 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
46318 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
46319 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
46320 LN_S="${LN_S}"
46321
46322
46323 _ACEOF
46324
46325
46326
46327 cat >>$CONFIG_STATUS <<\_ACEOF
46328 for ac_config_target in $ac_config_targets
46329 do
46330 case "$ac_config_target" in
46331 # Handling of arguments.
46332 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
46333 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
46334 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
46335 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
46336 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
46337 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
46338 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
46339 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
46340 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
46341 { (exit 1); exit 1; }; };;
46342 esac
46343 done
46344
46345 # If the user did not use the arguments to specify the items to instantiate,
46346 # then the envvar interface is used. Set only those that are not.
46347 # We use the long form for the default assignment because of an extremely
46348 # bizarre bug on SunOS 4.1.3.
46349 if $ac_need_defaults; then
46350 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
46351 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
46352 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
46353 fi
46354
46355 # Have a temporary directory for convenience. Make it in the build tree
46356 # simply because there is no reason to put it here, and in addition,
46357 # creating and moving files from /tmp can sometimes cause problems.
46358 # Create a temporary directory, and hook for its removal unless debugging.
46359 $debug ||
46360 {
46361 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
46362 trap '{ (exit 1); exit 1; }' 1 2 13 15
46363 }
46364
46365 # Create a (secure) tmp directory for tmp files.
46366
46367 {
46368 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
46369 test -n "$tmp" && test -d "$tmp"
46370 } ||
46371 {
46372 tmp=./confstat$$-$RANDOM
46373 (umask 077 && mkdir $tmp)
46374 } ||
46375 {
46376 echo "$me: cannot create a temporary directory in ." >&2
46377 { (exit 1); exit 1; }
46378 }
46379
46380 _ACEOF
46381
46382 cat >>$CONFIG_STATUS <<_ACEOF
46383
46384 #
46385 # CONFIG_FILES section.
46386 #
46387
46388 # No need to generate the scripts if there are no CONFIG_FILES.
46389 # This happens for instance when ./config.status config.h
46390 if test -n "\$CONFIG_FILES"; then
46391 # Protect against being on the right side of a sed subst in config.status.
46392 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
46393 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
46394 s,@SHELL@,$SHELL,;t t
46395 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
46396 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
46397 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
46398 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
46399 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
46400 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
46401 s,@exec_prefix@,$exec_prefix,;t t
46402 s,@prefix@,$prefix,;t t
46403 s,@program_transform_name@,$program_transform_name,;t t
46404 s,@bindir@,$bindir,;t t
46405 s,@sbindir@,$sbindir,;t t
46406 s,@libexecdir@,$libexecdir,;t t
46407 s,@datadir@,$datadir,;t t
46408 s,@sysconfdir@,$sysconfdir,;t t
46409 s,@sharedstatedir@,$sharedstatedir,;t t
46410 s,@localstatedir@,$localstatedir,;t t
46411 s,@libdir@,$libdir,;t t
46412 s,@includedir@,$includedir,;t t
46413 s,@oldincludedir@,$oldincludedir,;t t
46414 s,@infodir@,$infodir,;t t
46415 s,@mandir@,$mandir,;t t
46416 s,@build_alias@,$build_alias,;t t
46417 s,@host_alias@,$host_alias,;t t
46418 s,@target_alias@,$target_alias,;t t
46419 s,@DEFS@,$DEFS,;t t
46420 s,@ECHO_C@,$ECHO_C,;t t
46421 s,@ECHO_N@,$ECHO_N,;t t
46422 s,@ECHO_T@,$ECHO_T,;t t
46423 s,@LIBS@,$LIBS,;t t
46424 s,@build@,$build,;t t
46425 s,@build_cpu@,$build_cpu,;t t
46426 s,@build_vendor@,$build_vendor,;t t
46427 s,@build_os@,$build_os,;t t
46428 s,@host@,$host,;t t
46429 s,@host_cpu@,$host_cpu,;t t
46430 s,@host_vendor@,$host_vendor,;t t
46431 s,@host_os@,$host_os,;t t
46432 s,@target@,$target,;t t
46433 s,@target_cpu@,$target_cpu,;t t
46434 s,@target_vendor@,$target_vendor,;t t
46435 s,@target_os@,$target_os,;t t
46436 s,@CC@,$CC,;t t
46437 s,@CFLAGS@,$CFLAGS,;t t
46438 s,@LDFLAGS@,$LDFLAGS,;t t
46439 s,@CPPFLAGS@,$CPPFLAGS,;t t
46440 s,@ac_ct_CC@,$ac_ct_CC,;t t
46441 s,@EXEEXT@,$EXEEXT,;t t
46442 s,@OBJEXT@,$OBJEXT,;t t
46443 s,@CPP@,$CPP,;t t
46444 s,@EGREP@,$EGREP,;t t
46445 s,@CXX@,$CXX,;t t
46446 s,@CXXFLAGS@,$CXXFLAGS,;t t
46447 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
46448 s,@RANLIB@,$RANLIB,;t t
46449 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
46450 s,@AR@,$AR,;t t
46451 s,@ac_ct_AR@,$ac_ct_AR,;t t
46452 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
46453 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
46454 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
46455 s,@STRIP@,$STRIP,;t t
46456 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
46457 s,@RESCOMP@,$RESCOMP,;t t
46458 s,@ac_ct_RESCOMP@,$ac_ct_RESCOMP,;t t
46459 s,@DLLTOOL@,$DLLTOOL,;t t
46460 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
46461 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
46462 s,@LN_S@,$LN_S,;t t
46463 s,@CXXCPP@,$CXXCPP,;t t
46464 s,@subdirs@,$subdirs,;t t
46465 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
46466 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
46467 s,@GTK_LIBS@,$GTK_LIBS,;t t
46468 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
46469 s,@X_CFLAGS@,$X_CFLAGS,;t t
46470 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
46471 s,@X_LIBS@,$X_LIBS,;t t
46472 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
46473 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
46474 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
46475 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
46476 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
46477 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
46478 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
46479 s,@DEREZ@,$DEREZ,;t t
46480 s,@SETFILE@,$SETFILE,;t t
46481 s,@LIBICONV@,$LIBICONV,;t t
46482 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
46483 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
46484 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
46485 s,@SDL_LIBS@,$SDL_LIBS,;t t
46486 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
46487 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
46488 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
46489 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
46490 s,@GST_INSPECT@,$GST_INSPECT,;t t
46491 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
46492 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
46493 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
46494 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
46495 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
46496 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
46497 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
46498 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
46499 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
46500 s,@VENDOR@,$VENDOR,;t t
46501 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
46502 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
46503 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
46504 s,@WXUNIV@,$WXUNIV,;t t
46505 s,@MONOLITHIC@,$MONOLITHIC,;t t
46506 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
46507 s,@EXTRALIBS@,$EXTRALIBS,;t t
46508 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
46509 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
46510 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
46511 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
46512 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
46513 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
46514 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
46515 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
46516 s,@UNICODE@,$UNICODE,;t t
46517 s,@BUILD@,$BUILD,;t t
46518 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
46519 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
46520 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
46521 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
46522 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
46523 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
46524 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
46525 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
46526 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
46527 s,@SET_MAKE@,$SET_MAKE,;t t
46528 s,@MAKE_SET@,$MAKE_SET,;t t
46529 s,@NM@,$NM,;t t
46530 s,@ac_ct_NM@,$ac_ct_NM,;t t
46531 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
46532 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
46533 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
46534 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
46535 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
46536 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
46537 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
46538 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
46539 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
46540 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
46541 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
46542 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
46543 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
46544 s,@LIBPREFIX@,$LIBPREFIX,;t t
46545 s,@LIBEXT@,$LIBEXT,;t t
46546 s,@DLLPREFIX@,$DLLPREFIX,;t t
46547 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
46548 s,@dlldir@,$dlldir,;t t
46549 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
46550 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
46551 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
46552 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
46553 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
46554 s,@PIC_FLAG@,$PIC_FLAG,;t t
46555 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
46556 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
46557 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
46558 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
46559 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
46560 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
46561 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
46562 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
46563 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
46564 s,@GCC_PCH@,$GCC_PCH,;t t
46565 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
46566 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
46567 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
46568 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
46569 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
46570 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
46571 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
46572 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
46573 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
46574 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
46575 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
46576 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
46577 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
46578 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
46579 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
46580 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
46581 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
46582 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
46583 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1,;t t
46584 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1,;t t
46585 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1,;t t
46586 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
46587 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
46588 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
46589 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
46590 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1,;t t
46591 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1,;t t
46592 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1,;t t
46593 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
46594 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
46595 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
46596 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
46597 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
46598 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
46599 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
46600 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
46601 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
46602 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
46603 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
46604 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
46605 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
46606 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
46607 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
46608 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
46609 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
46610 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
46611 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
46612 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
46613 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
46614 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
46615 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
46616 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
46617 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
46618 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
46619 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
46620 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
46621 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
46622 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
46623 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
46624 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
46625 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
46626 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
46627 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
46628 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
46629 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
46630 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
46631 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
46632 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
46633 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
46634 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
46635 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
46636 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
46637 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
46638 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
46639 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
46640 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
46641 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
46642 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
46643 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
46644 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
46645 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
46646 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
46647 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
46648 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
46649 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
46650 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
46651 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
46652 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
46653 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
46654 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
46655 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
46656 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
46657 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
46658 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
46659 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
46660 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
46661 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
46662 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
46663 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
46664 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
46665 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
46666 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
46667 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
46668 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
46669 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
46670 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
46671 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
46672 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
46673 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
46674 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
46675 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
46676 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
46677 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
46678 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
46679 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
46680 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
46681 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
46682 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
46683 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
46684 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
46685 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
46686 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
46687 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
46688 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
46689 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
46690 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
46691 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
46692 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
46693 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
46694 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
46695 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
46696 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
46697 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
46698 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
46699 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
46700 s,@SHARED@,$SHARED,;t t
46701 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
46702 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
46703 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
46704 s,@USE_GUI@,$USE_GUI,;t t
46705 s,@AFMINSTALL@,$AFMINSTALL,;t t
46706 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
46707 s,@TOOLKIT@,$TOOLKIT,;t t
46708 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
46709 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
46710 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
46711 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
46712 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
46713 s,@cross_compiling@,$cross_compiling,;t t
46714 s,@WIDGET_SET@,$WIDGET_SET,;t t
46715 s,@WX_RELEASE@,$WX_RELEASE,;t t
46716 s,@WX_VERSION@,$WX_VERSION,;t t
46717 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
46718 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
46719 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
46720 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
46721 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
46722 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
46723 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
46724 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
46725 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
46726 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
46727 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
46728 s,@EXE_LINKER@,$EXE_LINKER,;t t
46729 s,@GUIDIST@,$GUIDIST,;t t
46730 s,@DISTDIR@,$DISTDIR,;t t
46731 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
46732 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
46733 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
46734 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
46735 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
46736 s,@RESFLAGS@,$RESFLAGS,;t t
46737 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
46738 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
46739 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
46740 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
46741 s,@MACRESCOMP@,$MACRESCOMP,;t t
46742 s,@MACSETFILE@,$MACSETFILE,;t t
46743 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
46744 s,@GCC@,$GCC,;t t
46745 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
46746 s,@LIBOBJS@,$LIBOBJS,;t t
46747 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
46748 CEOF
46749
46750 _ACEOF
46751
46752 cat >>$CONFIG_STATUS <<\_ACEOF
46753 # Split the substitutions into bite-sized pieces for seds with
46754 # small command number limits, like on Digital OSF/1 and HP-UX.
46755 ac_max_sed_lines=48
46756 ac_sed_frag=1 # Number of current file.
46757 ac_beg=1 # First line for current file.
46758 ac_end=$ac_max_sed_lines # Line after last line for current file.
46759 ac_more_lines=:
46760 ac_sed_cmds=
46761 while $ac_more_lines; do
46762 if test $ac_beg -gt 1; then
46763 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
46764 else
46765 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
46766 fi
46767 if test ! -s $tmp/subs.frag; then
46768 ac_more_lines=false
46769 else
46770 # The purpose of the label and of the branching condition is to
46771 # speed up the sed processing (if there are no `@' at all, there
46772 # is no need to browse any of the substitutions).
46773 # These are the two extra sed commands mentioned above.
46774 (echo ':t
46775 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
46776 if test -z "$ac_sed_cmds"; then
46777 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
46778 else
46779 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
46780 fi
46781 ac_sed_frag=`expr $ac_sed_frag + 1`
46782 ac_beg=$ac_end
46783 ac_end=`expr $ac_end + $ac_max_sed_lines`
46784 fi
46785 done
46786 if test -z "$ac_sed_cmds"; then
46787 ac_sed_cmds=cat
46788 fi
46789 fi # test -n "$CONFIG_FILES"
46790
46791 _ACEOF
46792 cat >>$CONFIG_STATUS <<\_ACEOF
46793 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
46794 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
46795 case $ac_file in
46796 - | *:- | *:-:* ) # input from stdin
46797 cat >$tmp/stdin
46798 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
46799 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
46800 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
46801 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
46802 * ) ac_file_in=$ac_file.in ;;
46803 esac
46804
46805 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
46806 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
46807 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46808 X"$ac_file" : 'X\(//\)[^/]' \| \
46809 X"$ac_file" : 'X\(//\)$' \| \
46810 X"$ac_file" : 'X\(/\)' \| \
46811 . : '\(.\)' 2>/dev/null ||
46812 echo X"$ac_file" |
46813 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46814 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46815 /^X\(\/\/\)$/{ s//\1/; q; }
46816 /^X\(\/\).*/{ s//\1/; q; }
46817 s/.*/./; q'`
46818 { if $as_mkdir_p; then
46819 mkdir -p "$ac_dir"
46820 else
46821 as_dir="$ac_dir"
46822 as_dirs=
46823 while test ! -d "$as_dir"; do
46824 as_dirs="$as_dir $as_dirs"
46825 as_dir=`(dirname "$as_dir") 2>/dev/null ||
46826 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46827 X"$as_dir" : 'X\(//\)[^/]' \| \
46828 X"$as_dir" : 'X\(//\)$' \| \
46829 X"$as_dir" : 'X\(/\)' \| \
46830 . : '\(.\)' 2>/dev/null ||
46831 echo X"$as_dir" |
46832 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46833 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46834 /^X\(\/\/\)$/{ s//\1/; q; }
46835 /^X\(\/\).*/{ s//\1/; q; }
46836 s/.*/./; q'`
46837 done
46838 test ! -n "$as_dirs" || mkdir $as_dirs
46839 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
46840 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
46841 { (exit 1); exit 1; }; }; }
46842
46843 ac_builddir=.
46844
46845 if test "$ac_dir" != .; then
46846 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
46847 # A "../" for each directory in $ac_dir_suffix.
46848 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
46849 else
46850 ac_dir_suffix= ac_top_builddir=
46851 fi
46852
46853 case $srcdir in
46854 .) # No --srcdir option. We are building in place.
46855 ac_srcdir=.
46856 if test -z "$ac_top_builddir"; then
46857 ac_top_srcdir=.
46858 else
46859 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
46860 fi ;;
46861 [\\/]* | ?:[\\/]* ) # Absolute path.
46862 ac_srcdir=$srcdir$ac_dir_suffix;
46863 ac_top_srcdir=$srcdir ;;
46864 *) # Relative path.
46865 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
46866 ac_top_srcdir=$ac_top_builddir$srcdir ;;
46867 esac
46868
46869 # Do not use `cd foo && pwd` to compute absolute paths, because
46870 # the directories may not exist.
46871 case `pwd` in
46872 .) ac_abs_builddir="$ac_dir";;
46873 *)
46874 case "$ac_dir" in
46875 .) ac_abs_builddir=`pwd`;;
46876 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
46877 *) ac_abs_builddir=`pwd`/"$ac_dir";;
46878 esac;;
46879 esac
46880 case $ac_abs_builddir in
46881 .) ac_abs_top_builddir=${ac_top_builddir}.;;
46882 *)
46883 case ${ac_top_builddir}. in
46884 .) ac_abs_top_builddir=$ac_abs_builddir;;
46885 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
46886 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
46887 esac;;
46888 esac
46889 case $ac_abs_builddir in
46890 .) ac_abs_srcdir=$ac_srcdir;;
46891 *)
46892 case $ac_srcdir in
46893 .) ac_abs_srcdir=$ac_abs_builddir;;
46894 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
46895 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
46896 esac;;
46897 esac
46898 case $ac_abs_builddir in
46899 .) ac_abs_top_srcdir=$ac_top_srcdir;;
46900 *)
46901 case $ac_top_srcdir in
46902 .) ac_abs_top_srcdir=$ac_abs_builddir;;
46903 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
46904 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
46905 esac;;
46906 esac
46907
46908
46909 case $INSTALL in
46910 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
46911 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
46912 esac
46913
46914 # Let's still pretend it is `configure' which instantiates (i.e., don't
46915 # use $as_me), people would be surprised to read:
46916 # /* config.h. Generated by config.status. */
46917 if test x"$ac_file" = x-; then
46918 configure_input=
46919 else
46920 configure_input="$ac_file. "
46921 fi
46922 configure_input=$configure_input"Generated from `echo $ac_file_in |
46923 sed 's,.*/,,'` by configure."
46924
46925 # First look for the input files in the build tree, otherwise in the
46926 # src tree.
46927 ac_file_inputs=`IFS=:
46928 for f in $ac_file_in; do
46929 case $f in
46930 -) echo $tmp/stdin ;;
46931 [\\/$]*)
46932 # Absolute (can't be DOS-style, as IFS=:)
46933 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
46934 echo "$as_me: error: cannot find input file: $f" >&2;}
46935 { (exit 1); exit 1; }; }
46936 echo "$f";;
46937 *) # Relative
46938 if test -f "$f"; then
46939 # Build tree
46940 echo "$f"
46941 elif test -f "$srcdir/$f"; then
46942 # Source tree
46943 echo "$srcdir/$f"
46944 else
46945 # /dev/null tree
46946 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
46947 echo "$as_me: error: cannot find input file: $f" >&2;}
46948 { (exit 1); exit 1; }; }
46949 fi;;
46950 esac
46951 done` || { (exit 1); exit 1; }
46952
46953 if test x"$ac_file" != x-; then
46954 { echo "$as_me:$LINENO: creating $ac_file" >&5
46955 echo "$as_me: creating $ac_file" >&6;}
46956 rm -f "$ac_file"
46957 fi
46958 _ACEOF
46959 cat >>$CONFIG_STATUS <<_ACEOF
46960 sed "$ac_vpsub
46961 $extrasub
46962 _ACEOF
46963 cat >>$CONFIG_STATUS <<\_ACEOF
46964 :t
46965 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
46966 s,@configure_input@,$configure_input,;t t
46967 s,@srcdir@,$ac_srcdir,;t t
46968 s,@abs_srcdir@,$ac_abs_srcdir,;t t
46969 s,@top_srcdir@,$ac_top_srcdir,;t t
46970 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
46971 s,@builddir@,$ac_builddir,;t t
46972 s,@abs_builddir@,$ac_abs_builddir,;t t
46973 s,@top_builddir@,$ac_top_builddir,;t t
46974 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
46975 s,@INSTALL@,$ac_INSTALL,;t t
46976 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
46977 rm -f $tmp/stdin
46978 if test x"$ac_file" != x-; then
46979 mv $tmp/out $ac_file
46980 else
46981 cat $tmp/out
46982 rm -f $tmp/out
46983 fi
46984
46985 # Run the commands associated with the file.
46986 case $ac_file in
46987 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
46988 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
46989 esac
46990 done
46991 _ACEOF
46992 cat >>$CONFIG_STATUS <<\_ACEOF
46993
46994 #
46995 # CONFIG_HEADER section.
46996 #
46997
46998 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
46999 # NAME is the cpp macro being defined and VALUE is the value it is being given.
47000 #
47001 # ac_d sets the value in "#define NAME VALUE" lines.
47002 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
47003 ac_dB='[ ].*$,\1#\2'
47004 ac_dC=' '
47005 ac_dD=',;t'
47006 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
47007 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
47008 ac_uB='$,\1#\2define\3'
47009 ac_uC=' '
47010 ac_uD=',;t'
47011
47012 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
47013 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
47014 case $ac_file in
47015 - | *:- | *:-:* ) # input from stdin
47016 cat >$tmp/stdin
47017 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
47018 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
47019 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
47020 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
47021 * ) ac_file_in=$ac_file.in ;;
47022 esac
47023
47024 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
47025 echo "$as_me: creating $ac_file" >&6;}
47026
47027 # First look for the input files in the build tree, otherwise in the
47028 # src tree.
47029 ac_file_inputs=`IFS=:
47030 for f in $ac_file_in; do
47031 case $f in
47032 -) echo $tmp/stdin ;;
47033 [\\/$]*)
47034 # Absolute (can't be DOS-style, as IFS=:)
47035 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
47036 echo "$as_me: error: cannot find input file: $f" >&2;}
47037 { (exit 1); exit 1; }; }
47038 # Do quote $f, to prevent DOS paths from being IFS'd.
47039 echo "$f";;
47040 *) # Relative
47041 if test -f "$f"; then
47042 # Build tree
47043 echo "$f"
47044 elif test -f "$srcdir/$f"; then
47045 # Source tree
47046 echo "$srcdir/$f"
47047 else
47048 # /dev/null tree
47049 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
47050 echo "$as_me: error: cannot find input file: $f" >&2;}
47051 { (exit 1); exit 1; }; }
47052 fi;;
47053 esac
47054 done` || { (exit 1); exit 1; }
47055 # Remove the trailing spaces.
47056 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
47057
47058 _ACEOF
47059
47060 # Transform confdefs.h into two sed scripts, `conftest.defines' and
47061 # `conftest.undefs', that substitutes the proper values into
47062 # config.h.in to produce config.h. The first handles `#define'
47063 # templates, and the second `#undef' templates.
47064 # And first: Protect against being on the right side of a sed subst in
47065 # config.status. Protect against being in an unquoted here document
47066 # in config.status.
47067 rm -f conftest.defines conftest.undefs
47068 # Using a here document instead of a string reduces the quoting nightmare.
47069 # Putting comments in sed scripts is not portable.
47070 #
47071 # `end' is used to avoid that the second main sed command (meant for
47072 # 0-ary CPP macros) applies to n-ary macro definitions.
47073 # See the Autoconf documentation for `clear'.
47074 cat >confdef2sed.sed <<\_ACEOF
47075 s/[\\&,]/\\&/g
47076 s,[\\$`],\\&,g
47077 t clear
47078 : clear
47079 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
47080 t end
47081 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
47082 : end
47083 _ACEOF
47084 # If some macros were called several times there might be several times
47085 # the same #defines, which is useless. Nevertheless, we may not want to
47086 # sort them, since we want the *last* AC-DEFINE to be honored.
47087 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
47088 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
47089 rm -f confdef2sed.sed
47090
47091 # This sed command replaces #undef with comments. This is necessary, for
47092 # example, in the case of _POSIX_SOURCE, which is predefined and required
47093 # on some systems where configure will not decide to define it.
47094 cat >>conftest.undefs <<\_ACEOF
47095 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
47096 _ACEOF
47097
47098 # Break up conftest.defines because some shells have a limit on the size
47099 # of here documents, and old seds have small limits too (100 cmds).
47100 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
47101 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
47102 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
47103 echo ' :' >>$CONFIG_STATUS
47104 rm -f conftest.tail
47105 while grep . conftest.defines >/dev/null
47106 do
47107 # Write a limited-size here document to $tmp/defines.sed.
47108 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
47109 # Speed up: don't consider the non `#define' lines.
47110 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
47111 # Work around the forget-to-reset-the-flag bug.
47112 echo 't clr' >>$CONFIG_STATUS
47113 echo ': clr' >>$CONFIG_STATUS
47114 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
47115 echo 'CEOF
47116 sed -f $tmp/defines.sed $tmp/in >$tmp/out
47117 rm -f $tmp/in
47118 mv $tmp/out $tmp/in
47119 ' >>$CONFIG_STATUS
47120 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
47121 rm -f conftest.defines
47122 mv conftest.tail conftest.defines
47123 done
47124 rm -f conftest.defines
47125 echo ' fi # grep' >>$CONFIG_STATUS
47126 echo >>$CONFIG_STATUS
47127
47128 # Break up conftest.undefs because some shells have a limit on the size
47129 # of here documents, and old seds have small limits too (100 cmds).
47130 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
47131 rm -f conftest.tail
47132 while grep . conftest.undefs >/dev/null
47133 do
47134 # Write a limited-size here document to $tmp/undefs.sed.
47135 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
47136 # Speed up: don't consider the non `#undef'
47137 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
47138 # Work around the forget-to-reset-the-flag bug.
47139 echo 't clr' >>$CONFIG_STATUS
47140 echo ': clr' >>$CONFIG_STATUS
47141 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
47142 echo 'CEOF
47143 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
47144 rm -f $tmp/in
47145 mv $tmp/out $tmp/in
47146 ' >>$CONFIG_STATUS
47147 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
47148 rm -f conftest.undefs
47149 mv conftest.tail conftest.undefs
47150 done
47151 rm -f conftest.undefs
47152
47153 cat >>$CONFIG_STATUS <<\_ACEOF
47154 # Let's still pretend it is `configure' which instantiates (i.e., don't
47155 # use $as_me), people would be surprised to read:
47156 # /* config.h. Generated by config.status. */
47157 if test x"$ac_file" = x-; then
47158 echo "/* Generated by configure. */" >$tmp/config.h
47159 else
47160 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
47161 fi
47162 cat $tmp/in >>$tmp/config.h
47163 rm -f $tmp/in
47164 if test x"$ac_file" != x-; then
47165 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
47166 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
47167 echo "$as_me: $ac_file is unchanged" >&6;}
47168 else
47169 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
47170 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47171 X"$ac_file" : 'X\(//\)[^/]' \| \
47172 X"$ac_file" : 'X\(//\)$' \| \
47173 X"$ac_file" : 'X\(/\)' \| \
47174 . : '\(.\)' 2>/dev/null ||
47175 echo X"$ac_file" |
47176 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
47177 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
47178 /^X\(\/\/\)$/{ s//\1/; q; }
47179 /^X\(\/\).*/{ s//\1/; q; }
47180 s/.*/./; q'`
47181 { if $as_mkdir_p; then
47182 mkdir -p "$ac_dir"
47183 else
47184 as_dir="$ac_dir"
47185 as_dirs=
47186 while test ! -d "$as_dir"; do
47187 as_dirs="$as_dir $as_dirs"
47188 as_dir=`(dirname "$as_dir") 2>/dev/null ||
47189 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47190 X"$as_dir" : 'X\(//\)[^/]' \| \
47191 X"$as_dir" : 'X\(//\)$' \| \
47192 X"$as_dir" : 'X\(/\)' \| \
47193 . : '\(.\)' 2>/dev/null ||
47194 echo X"$as_dir" |
47195 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
47196 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
47197 /^X\(\/\/\)$/{ s//\1/; q; }
47198 /^X\(\/\).*/{ s//\1/; q; }
47199 s/.*/./; q'`
47200 done
47201 test ! -n "$as_dirs" || mkdir $as_dirs
47202 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
47203 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
47204 { (exit 1); exit 1; }; }; }
47205
47206 rm -f $ac_file
47207 mv $tmp/config.h $ac_file
47208 fi
47209 else
47210 cat $tmp/config.h
47211 rm -f $tmp/config.h
47212 fi
47213 done
47214 _ACEOF
47215 cat >>$CONFIG_STATUS <<\_ACEOF
47216
47217 #
47218 # CONFIG_COMMANDS section.
47219 #
47220 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
47221 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
47222 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
47223 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
47224 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47225 X"$ac_dest" : 'X\(//\)[^/]' \| \
47226 X"$ac_dest" : 'X\(//\)$' \| \
47227 X"$ac_dest" : 'X\(/\)' \| \
47228 . : '\(.\)' 2>/dev/null ||
47229 echo X"$ac_dest" |
47230 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
47231 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
47232 /^X\(\/\/\)$/{ s//\1/; q; }
47233 /^X\(\/\).*/{ s//\1/; q; }
47234 s/.*/./; q'`
47235 { if $as_mkdir_p; then
47236 mkdir -p "$ac_dir"
47237 else
47238 as_dir="$ac_dir"
47239 as_dirs=
47240 while test ! -d "$as_dir"; do
47241 as_dirs="$as_dir $as_dirs"
47242 as_dir=`(dirname "$as_dir") 2>/dev/null ||
47243 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47244 X"$as_dir" : 'X\(//\)[^/]' \| \
47245 X"$as_dir" : 'X\(//\)$' \| \
47246 X"$as_dir" : 'X\(/\)' \| \
47247 . : '\(.\)' 2>/dev/null ||
47248 echo X"$as_dir" |
47249 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
47250 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
47251 /^X\(\/\/\)$/{ s//\1/; q; }
47252 /^X\(\/\).*/{ s//\1/; q; }
47253 s/.*/./; q'`
47254 done
47255 test ! -n "$as_dirs" || mkdir $as_dirs
47256 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
47257 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
47258 { (exit 1); exit 1; }; }; }
47259
47260 ac_builddir=.
47261
47262 if test "$ac_dir" != .; then
47263 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
47264 # A "../" for each directory in $ac_dir_suffix.
47265 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
47266 else
47267 ac_dir_suffix= ac_top_builddir=
47268 fi
47269
47270 case $srcdir in
47271 .) # No --srcdir option. We are building in place.
47272 ac_srcdir=.
47273 if test -z "$ac_top_builddir"; then
47274 ac_top_srcdir=.
47275 else
47276 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
47277 fi ;;
47278 [\\/]* | ?:[\\/]* ) # Absolute path.
47279 ac_srcdir=$srcdir$ac_dir_suffix;
47280 ac_top_srcdir=$srcdir ;;
47281 *) # Relative path.
47282 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
47283 ac_top_srcdir=$ac_top_builddir$srcdir ;;
47284 esac
47285
47286 # Do not use `cd foo && pwd` to compute absolute paths, because
47287 # the directories may not exist.
47288 case `pwd` in
47289 .) ac_abs_builddir="$ac_dir";;
47290 *)
47291 case "$ac_dir" in
47292 .) ac_abs_builddir=`pwd`;;
47293 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
47294 *) ac_abs_builddir=`pwd`/"$ac_dir";;
47295 esac;;
47296 esac
47297 case $ac_abs_builddir in
47298 .) ac_abs_top_builddir=${ac_top_builddir}.;;
47299 *)
47300 case ${ac_top_builddir}. in
47301 .) ac_abs_top_builddir=$ac_abs_builddir;;
47302 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
47303 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
47304 esac;;
47305 esac
47306 case $ac_abs_builddir in
47307 .) ac_abs_srcdir=$ac_srcdir;;
47308 *)
47309 case $ac_srcdir in
47310 .) ac_abs_srcdir=$ac_abs_builddir;;
47311 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
47312 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
47313 esac;;
47314 esac
47315 case $ac_abs_builddir in
47316 .) ac_abs_top_srcdir=$ac_top_srcdir;;
47317 *)
47318 case $ac_top_srcdir in
47319 .) ac_abs_top_srcdir=$ac_abs_builddir;;
47320 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
47321 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
47322 esac;;
47323 esac
47324
47325
47326 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
47327 echo "$as_me: executing $ac_dest commands" >&6;}
47328 case $ac_dest in
47329 wx-config ) rm -f wx-config
47330 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
47331 ;;
47332 esac
47333 done
47334 _ACEOF
47335
47336 cat >>$CONFIG_STATUS <<\_ACEOF
47337
47338 { (exit 0); exit 0; }
47339 _ACEOF
47340 chmod +x $CONFIG_STATUS
47341 ac_clean_files=$ac_clean_files_save
47342
47343
47344 # configure is writing to config.log, and then calls config.status.
47345 # config.status does its own redirection, appending to config.log.
47346 # Unfortunately, on DOS this fails, as config.log is still kept open
47347 # by configure, so config.status won't be able to write to it; its
47348 # output is simply discarded. So we exec the FD to /dev/null,
47349 # effectively closing config.log, so it can be properly (re)opened and
47350 # appended to by config.status. When coming back to configure, we
47351 # need to make the FD available again.
47352 if test "$no_create" != yes; then
47353 ac_cs_success=:
47354 ac_config_status_args=
47355 test "$silent" = yes &&
47356 ac_config_status_args="$ac_config_status_args --quiet"
47357 exec 5>/dev/null
47358 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
47359 exec 5>>config.log
47360 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
47361 # would make configure fail if this is the last instruction.
47362 $ac_cs_success || { (exit 1); exit 1; }
47363 fi
47364
47365 #
47366 # CONFIG_SUBDIRS section.
47367 #
47368 if test "$no_recursion" != yes; then
47369
47370 # Remove --cache-file and --srcdir arguments so they do not pile up.
47371 ac_sub_configure_args=
47372 ac_prev=
47373 for ac_arg in $ac_configure_args; do
47374 if test -n "$ac_prev"; then
47375 ac_prev=
47376 continue
47377 fi
47378 case $ac_arg in
47379 -cache-file | --cache-file | --cache-fil | --cache-fi \
47380 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
47381 ac_prev=cache_file ;;
47382 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
47383 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
47384 | --c=*)
47385 ;;
47386 --config-cache | -C)
47387 ;;
47388 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
47389 ac_prev=srcdir ;;
47390 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
47391 ;;
47392 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
47393 ac_prev=prefix ;;
47394 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
47395 ;;
47396 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
47397 esac
47398 done
47399
47400 # Always prepend --prefix to ensure using the same prefix
47401 # in subdir configurations.
47402 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
47403
47404 ac_popdir=`pwd`
47405 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
47406
47407 # Do not complain, so a configure script can configure whichever
47408 # parts of a large source tree are present.
47409 test -d $srcdir/$ac_dir || continue
47410
47411 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
47412 echo "$as_me: configuring in $ac_dir" >&6;}
47413 { if $as_mkdir_p; then
47414 mkdir -p "$ac_dir"
47415 else
47416 as_dir="$ac_dir"
47417 as_dirs=
47418 while test ! -d "$as_dir"; do
47419 as_dirs="$as_dir $as_dirs"
47420 as_dir=`(dirname "$as_dir") 2>/dev/null ||
47421 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47422 X"$as_dir" : 'X\(//\)[^/]' \| \
47423 X"$as_dir" : 'X\(//\)$' \| \
47424 X"$as_dir" : 'X\(/\)' \| \
47425 . : '\(.\)' 2>/dev/null ||
47426 echo X"$as_dir" |
47427 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
47428 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
47429 /^X\(\/\/\)$/{ s//\1/; q; }
47430 /^X\(\/\).*/{ s//\1/; q; }
47431 s/.*/./; q'`
47432 done
47433 test ! -n "$as_dirs" || mkdir $as_dirs
47434 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
47435 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
47436 { (exit 1); exit 1; }; }; }
47437
47438 ac_builddir=.
47439
47440 if test "$ac_dir" != .; then
47441 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
47442 # A "../" for each directory in $ac_dir_suffix.
47443 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
47444 else
47445 ac_dir_suffix= ac_top_builddir=
47446 fi
47447
47448 case $srcdir in
47449 .) # No --srcdir option. We are building in place.
47450 ac_srcdir=.
47451 if test -z "$ac_top_builddir"; then
47452 ac_top_srcdir=.
47453 else
47454 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
47455 fi ;;
47456 [\\/]* | ?:[\\/]* ) # Absolute path.
47457 ac_srcdir=$srcdir$ac_dir_suffix;
47458 ac_top_srcdir=$srcdir ;;
47459 *) # Relative path.
47460 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
47461 ac_top_srcdir=$ac_top_builddir$srcdir ;;
47462 esac
47463
47464 # Do not use `cd foo && pwd` to compute absolute paths, because
47465 # the directories may not exist.
47466 case `pwd` in
47467 .) ac_abs_builddir="$ac_dir";;
47468 *)
47469 case "$ac_dir" in
47470 .) ac_abs_builddir=`pwd`;;
47471 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
47472 *) ac_abs_builddir=`pwd`/"$ac_dir";;
47473 esac;;
47474 esac
47475 case $ac_abs_builddir in
47476 .) ac_abs_top_builddir=${ac_top_builddir}.;;
47477 *)
47478 case ${ac_top_builddir}. in
47479 .) ac_abs_top_builddir=$ac_abs_builddir;;
47480 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
47481 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
47482 esac;;
47483 esac
47484 case $ac_abs_builddir in
47485 .) ac_abs_srcdir=$ac_srcdir;;
47486 *)
47487 case $ac_srcdir in
47488 .) ac_abs_srcdir=$ac_abs_builddir;;
47489 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
47490 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
47491 esac;;
47492 esac
47493 case $ac_abs_builddir in
47494 .) ac_abs_top_srcdir=$ac_top_srcdir;;
47495 *)
47496 case $ac_top_srcdir in
47497 .) ac_abs_top_srcdir=$ac_abs_builddir;;
47498 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
47499 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
47500 esac;;
47501 esac
47502
47503
47504 cd $ac_dir
47505
47506 # Check for guested configure; otherwise get Cygnus style configure.
47507 if test -f $ac_srcdir/configure.gnu; then
47508 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
47509 elif test -f $ac_srcdir/configure; then
47510 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
47511 elif test -f $ac_srcdir/configure.in; then
47512 ac_sub_configure=$ac_configure
47513 else
47514 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
47515 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
47516 ac_sub_configure=
47517 fi
47518
47519 # The recursion is here.
47520 if test -n "$ac_sub_configure"; then
47521 # Make the cache file name correct relative to the subdirectory.
47522 case $cache_file in
47523 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
47524 *) # Relative path.
47525 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
47526 esac
47527
47528 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
47529 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
47530 # The eval makes quoting arguments work.
47531 eval $ac_sub_configure $ac_sub_configure_args \
47532 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
47533 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
47534 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
47535 { (exit 1); exit 1; }; }
47536 fi
47537
47538 cd "$ac_popdir"
47539 done
47540 fi
47541
47542
47543 echo
47544 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
47545 echo ""
47546 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
47547 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
47548
47549 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
47550 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
47551 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
47552
47553 echo " What level of wxWidgets compatibility should be enabled?"
47554 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
47555 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
47556
47557 echo " Which libraries should wxWidgets use?"
47558 echo " jpeg ${wxUSE_LIBJPEG-none}"
47559 echo " png ${wxUSE_LIBPNG-none}"
47560 echo " regex ${wxUSE_REGEX}"
47561 echo " tiff ${wxUSE_LIBTIFF-none}"
47562 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
47563 echo " xpm ${wxUSE_LIBXPM-none}"
47564 fi
47565 echo " zlib ${wxUSE_ZLIB}"
47566 echo " odbc ${wxUSE_ODBC}"
47567 echo " expat ${wxUSE_EXPAT}"
47568 echo " libmspack ${wxUSE_LIBMSPACK}"
47569 echo " sdl ${wxUSE_LIBSDL}"
47570 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"
47571
47572 echo ""
47573