]> git.saurik.com Git - wxWidgets.git/blob - configure
Verified and applied [ 1042133 ] GTK2.0: DrawRotatedText dumb implementation
[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.5.3.
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.5.3'
274 PACKAGE_STRING='wxWidgets 2.5.3'
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 INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG PANGOFT2_CFLAGS PANGOFT2_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET ac_ct_AR ac_ct_STRIP NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOSX PLATFORM_OS2 SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MAC_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_TOOLKIT_COCOA 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_PLUGINS_0 COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_XRC_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN COND_TOOLKIT_MAC_WXUNIV_0 COND_TOOLKIT_MSW_WXUNIV_0 COND_TOOLKIT_PM_WXUNIV_0 SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_EXTRALIBS WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS GCC_PRAGMA_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
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.5.3 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.5.3:";;
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 --enable-rpath=DIR output the rpath flag from wx-config
895 --enable-intl use internationalization system
896 --enable-config use wxConfig (and derived) classes
897 --enable-protocols use wxProtocol and derived classes
898 --enable-ftp use wxFTP (requires wxProtocol
899 --enable-http use wxHTTP (requires wxProtocol
900 --enable-fileproto use wxFileProto class (requires wxProtocol
901 --enable-sockets use socket/network classes
902 --enable-ole use OLE classes (Win32 only)
903 --enable-dataobj use data object classes
904 --enable-ipc use interprocess communication (wxSocket etc.)
905 --enable-apple_ieee use the Apple IEEE codec
906 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
907 --enable-cmdline use wxCmdLineParser class
908 --enable-datetime use wxDateTime class
909 --enable-dialupman use dialup network classes
910 --enable-dynlib use wxLibrary class for DLL loading
911 --enable-dynamicloader use (new) wxDynamicLibrary class
912 --enable-exceptions build exception-safe library
913 --enable-ffile use wxFFile class
914 --enable-file use wxFile class
915 --enable-filesystem use virtual file systems classes
916 --enable-fontmap use font encodings conversion classes
917 --enable-fs_inet use virtual HTTP/FTP filesystems
918 --enable-fs_zip use virtual ZIP filesystems
919 --enable-geometry use geometry class
920 --enable-log use logging system
921 --enable-longlong use wxLongLong class
922 --enable-mimetype use wxMimeTypesManager
923 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
924 --enable-snglinst use wxSingleInstanceChecker class
925 --enable-streams use wxStream etc classes
926 --enable-std_iostreams use standard C++ stream classes
927 --enable-stopwatch use wxStopWatch class
928 --enable-sysoptions use wxSystemOptions
929 --enable-textbuf use wxTextBuffer class
930 --enable-textfile use wxTextFile class
931 --enable-timer use wxTimer class
932 --enable-unicode compile wxString with Unicode support
933 --enable-sound use wxSound class
934 --enable-wxprintfv use wxWidgets implementation of vprintf()
935 --enable-zipstream use wxZipInputStream
936 --enable-url use wxURL class
937 --enable-protocol use wxProtocol class
938 --enable-protocol-http HTTP support in wxProtocol
939 --enable-protocol-ftp FTP support in wxProtocol
940 --enable-protocol-file FILE support in wxProtocol
941 --enable-threads use threads
942 --enable-docview use document view architecture
943 --enable-help use help subsystem
944 --enable-mshtmlhelp use MS HTML Help (win32)
945 --enable-html use wxHTML sub-library
946 --enable-htmlhelp use wxHTML-based help
947 --enable-xrc use XRC resources sub-library
948 --enable-constraints use layout-constraints system
949 --enable-printarch use printing architecture
950 --enable-mdi use multiple document interface architecture
951 --enable-mdidoc use docview architecture with MDI
952 --enable-loggui use standard GUI logger
953 --enable-logwin use wxLogWindow
954 --enable-logdialog use wxLogDialog
955 --enable-webkit use wxWebKitCtrl (Mac)
956 --enable-postscript use wxPostscriptDC device context (default for gtk+)
957 --enable-prologio not available; see contrib
958 --enable-resources not available; see contrib
959 --enable-clipboard use wxClipboard class
960 --enable-dnd use Drag'n'Drop classes
961 --enable-metafile use win32 metafiles
962 --enable-controls use all usual controls
963 --enable-accel use accelerators
964 --enable-button use wxButton class
965 --enable-bmpbutton use wxBitmapButton class
966 --enable-calendar use wxCalendarCtrl class
967 --enable-caret use wxCaret class
968 --enable-checkbox use wxCheckBox class
969 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
970 --enable-choice use wxChoice class
971 --enable-choicebook use wxChoicebook class
972 --enable-combobox use wxComboBox class
973 --enable-display use wxDisplay class
974 --enable-gauge use wxGauge class
975 --enable-grid use wxGrid class
976 --enable-imaglist use wxImageList class
977 --enable-listbook use wxListbook class
978 --enable-listbox use wxListBox class
979 --enable-listctrl use wxListCtrl class
980 --enable-notebook use wxNotebook class
981 --enable-radiobox use wxRadioBox class
982 --enable-radiobtn use wxRadioButton class
983 --enable-sash use wxSashWindow class
984 --enable-scrollbar use wxScrollBar class and scrollable windows
985 --enable-slider use wxSlider class
986 --enable-spinbtn use wxSpinButton class
987 --enable-spinctrl use wxSpinCtrl class
988 --enable-splitter use wxSplitterWindow class
989 --enable-statbmp use wxStaticBitmap class
990 --enable-statbox use wxStaticBox class
991 --enable-statline use wxStaticLine class
992 --enable-stattext use wxStaticText class
993 --enable-statusbar use wxStatusBar class
994 --enable-tabdialog use wxTabControl class
995 --enable-textctrl use wxTextCtrl class
996 --enable-togglebtn use wxToggleButton class
997 --enable-toolbar use wxToolBar class
998 --enable-tbarnative use native wxToolBar class
999 --enable-tbarsmpl use wxToolBarSimple class
1000 --enable-treectrl use wxTreeCtrl class
1001 --enable-tipwindow use wxTipWindow class
1002 --enable-popupwin use wxPopUpWindow class
1003 --enable-commondlg use all common dialogs
1004 --enable-choicedlg use wxChoiceDialog
1005 --enable-coldlg use wxColourDialog
1006 --enable-filedlg use wxFileDialog
1007 --enable-finddlg use wxFindReplaceDialog
1008 --enable-fontdlg use wxFontDialog
1009 --enable-dirdlg use wxDirDialog
1010 --enable-msgdlg use wxMessageDialog
1011 --enable-numberdlg use wxNumberEntryDialog
1012 --enable-splash use wxSplashScreen
1013 --enable-textdlg use wxTextDialog
1014 --enable-tipdlg use startup tips
1015 --enable-progressdlg use wxProgressDialog
1016 --enable-wizarddlg use wxWizard
1017 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1018 --enable-miniframe use wxMiniFrame class
1019 --enable-tooltips use wxToolTip class
1020 --enable-splines use spline drawing code
1021 --enable-validators use wxValidator and derived classes
1022 --enable-busyinfo use wxBusyInfo
1023 --enable-joystick use wxJoystick (Linux only)
1024 --enable-metafiles use wxMetaFile (Windows only)
1025 --enable-dragimage use wxDragImage
1026 --enable-accessibility enable accessibility support
1027 --enable-palette use wxPalette class
1028 --enable-image use wxImage class
1029 --enable-gif use gif images (GIF file format)
1030 --enable-pcx use pcx images (PCX file format)
1031 --enable-iff use iff images (IFF file format)
1032 --enable-pnm use pnm images (PNM file format)
1033 --enable-xpm use xpm images (XPM file format)
1034 --enable-icocur use Windows ICO and CUR formats
1035 --enable-official_build official build of wxWidgets (win32 DLL only)
1036 --enable-vendor=VENDOR vendor name (win32 DLL only)
1037 --disable-largefile omit support for large files
1038 --disable-gtktest do not try to compile and run a test GTK+ program
1039 --disable-gtktest Do not try to compile and run a test GTK program
1040 --disable-sdltest Do not try to compile and run a test SDL program
1041 --enable-omf use OMF object format (OS/2)
1042 --disable-precomp-headers
1043 don't use precompiled headers even if compiler can
1044
1045 Optional Packages:
1046 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1047 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1048 --with-gtk use GTK+
1049 --with-motif use Motif/Lesstif
1050 --with-mac use Mac OS X
1051 --with-cocoa use Cocoa
1052 --with-wine use Wine
1053 --with-msw use MS-Windows
1054 --with-pm use OS/2 Presentation Manager
1055 --with-mgl use SciTech MGL
1056 --with-microwin use MicroWindows
1057 --with-x11 use X11
1058 --with-libpng use libpng (PNG image format)
1059 --with-libjpeg use libjpeg (JPEG file format)
1060 --with-libtiff use libtiff (TIFF file format)
1061 --with-libxpm use libxpm (XPM file format)
1062 --with-libmspack use libmspack (CHM help files loading)
1063 --with-sdl use SDL for audio on Unix
1064 --with-opengl use OpenGL (or Mesa)
1065 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1066 --with-regex enable support for wxRegEx class
1067 --with-zlib use zlib for LZW compression
1068 --with-odbc use the IODBC and wxODBC classes
1069 --with-expat enable XML support using expat parser
1070 --with-flavour=NAME specify a name to identify this build
1071 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1072 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1073 --with-x use the X Window System
1074 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1075 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1076 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1077 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1078 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1079
1080 Some influential environment variables:
1081 CC C compiler command
1082 CFLAGS C compiler flags
1083 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1084 nonstandard directory <lib dir>
1085 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1086 headers in a nonstandard directory <include dir>
1087 CPP C preprocessor
1088 CXX C++ compiler command
1089 CXXFLAGS C++ compiler flags
1090 CXXCPP C++ preprocessor
1091
1092 Use these variables to override the choices made by `configure' or to help
1093 it to find libraries and programs with nonstandard names/locations.
1094
1095 Report bugs to <wx-dev@lists.wxwidgets.org>.
1096 _ACEOF
1097 fi
1098
1099 if test "$ac_init_help" = "recursive"; then
1100 # If there are subdirs, report their specific --help.
1101 ac_popdir=`pwd`
1102 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1103 test -d $ac_dir || continue
1104 ac_builddir=.
1105
1106 if test "$ac_dir" != .; then
1107 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1108 # A "../" for each directory in $ac_dir_suffix.
1109 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1110 else
1111 ac_dir_suffix= ac_top_builddir=
1112 fi
1113
1114 case $srcdir in
1115 .) # No --srcdir option. We are building in place.
1116 ac_srcdir=.
1117 if test -z "$ac_top_builddir"; then
1118 ac_top_srcdir=.
1119 else
1120 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1121 fi ;;
1122 [\\/]* | ?:[\\/]* ) # Absolute path.
1123 ac_srcdir=$srcdir$ac_dir_suffix;
1124 ac_top_srcdir=$srcdir ;;
1125 *) # Relative path.
1126 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1127 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1128 esac
1129
1130 # Do not use `cd foo && pwd` to compute absolute paths, because
1131 # the directories may not exist.
1132 case `pwd` in
1133 .) ac_abs_builddir="$ac_dir";;
1134 *)
1135 case "$ac_dir" in
1136 .) ac_abs_builddir=`pwd`;;
1137 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1138 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1139 esac;;
1140 esac
1141 case $ac_abs_builddir in
1142 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1143 *)
1144 case ${ac_top_builddir}. in
1145 .) ac_abs_top_builddir=$ac_abs_builddir;;
1146 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1147 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1148 esac;;
1149 esac
1150 case $ac_abs_builddir in
1151 .) ac_abs_srcdir=$ac_srcdir;;
1152 *)
1153 case $ac_srcdir in
1154 .) ac_abs_srcdir=$ac_abs_builddir;;
1155 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1156 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1157 esac;;
1158 esac
1159 case $ac_abs_builddir in
1160 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1161 *)
1162 case $ac_top_srcdir in
1163 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1164 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1165 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1166 esac;;
1167 esac
1168
1169 cd $ac_dir
1170 # Check for guested configure; otherwise get Cygnus style configure.
1171 if test -f $ac_srcdir/configure.gnu; then
1172 echo
1173 $SHELL $ac_srcdir/configure.gnu --help=recursive
1174 elif test -f $ac_srcdir/configure; then
1175 echo
1176 $SHELL $ac_srcdir/configure --help=recursive
1177 elif test -f $ac_srcdir/configure.ac ||
1178 test -f $ac_srcdir/configure.in; then
1179 echo
1180 $ac_configure --help
1181 else
1182 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1183 fi
1184 cd $ac_popdir
1185 done
1186 fi
1187
1188 test -n "$ac_init_help" && exit 0
1189 if $ac_init_version; then
1190 cat <<\_ACEOF
1191 wxWidgets configure 2.5.3
1192 generated by GNU Autoconf 2.59
1193
1194 Copyright (C) 2003 Free Software Foundation, Inc.
1195 This configure script is free software; the Free Software Foundation
1196 gives unlimited permission to copy, distribute and modify it.
1197 _ACEOF
1198 exit 0
1199 fi
1200 exec 5>config.log
1201 cat >&5 <<_ACEOF
1202 This file contains any messages produced by compilers while
1203 running configure, to aid debugging if configure makes a mistake.
1204
1205 It was created by wxWidgets $as_me 2.5.3, which was
1206 generated by GNU Autoconf 2.59. Invocation command line was
1207
1208 $ $0 $@
1209
1210 _ACEOF
1211 {
1212 cat <<_ASUNAME
1213 ## --------- ##
1214 ## Platform. ##
1215 ## --------- ##
1216
1217 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1218 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1219 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1220 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1221 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1222
1223 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1224 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1225
1226 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1227 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1228 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1229 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1230 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1231 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1232 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1233
1234 _ASUNAME
1235
1236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1237 for as_dir in $PATH
1238 do
1239 IFS=$as_save_IFS
1240 test -z "$as_dir" && as_dir=.
1241 echo "PATH: $as_dir"
1242 done
1243
1244 } >&5
1245
1246 cat >&5 <<_ACEOF
1247
1248
1249 ## ----------- ##
1250 ## Core tests. ##
1251 ## ----------- ##
1252
1253 _ACEOF
1254
1255
1256 # Keep a trace of the command line.
1257 # Strip out --no-create and --no-recursion so they do not pile up.
1258 # Strip out --silent because we don't want to record it for future runs.
1259 # Also quote any args containing shell meta-characters.
1260 # Make two passes to allow for proper duplicate-argument suppression.
1261 ac_configure_args=
1262 ac_configure_args0=
1263 ac_configure_args1=
1264 ac_sep=
1265 ac_must_keep_next=false
1266 for ac_pass in 1 2
1267 do
1268 for ac_arg
1269 do
1270 case $ac_arg in
1271 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1272 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1273 | -silent | --silent | --silen | --sile | --sil)
1274 continue ;;
1275 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1276 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1277 esac
1278 case $ac_pass in
1279 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1280 2)
1281 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1282 if test $ac_must_keep_next = true; then
1283 ac_must_keep_next=false # Got value, back to normal.
1284 else
1285 case $ac_arg in
1286 *=* | --config-cache | -C | -disable-* | --disable-* \
1287 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1288 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1289 | -with-* | --with-* | -without-* | --without-* | --x)
1290 case "$ac_configure_args0 " in
1291 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1292 esac
1293 ;;
1294 -* ) ac_must_keep_next=true ;;
1295 esac
1296 fi
1297 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1298 # Get rid of the leading space.
1299 ac_sep=" "
1300 ;;
1301 esac
1302 done
1303 done
1304 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1305 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1306
1307 # When interrupted or exit'd, cleanup temporary files, and complete
1308 # config.log. We remove comments because anyway the quotes in there
1309 # would cause problems or look ugly.
1310 # WARNING: Be sure not to use single quotes in there, as some shells,
1311 # such as our DU 5.0 friend, will then `close' the trap.
1312 trap 'exit_status=$?
1313 # Save into config.log some information that might help in debugging.
1314 {
1315 echo
1316
1317 cat <<\_ASBOX
1318 ## ---------------- ##
1319 ## Cache variables. ##
1320 ## ---------------- ##
1321 _ASBOX
1322 echo
1323 # The following way of writing the cache mishandles newlines in values,
1324 {
1325 (set) 2>&1 |
1326 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1327 *ac_space=\ *)
1328 sed -n \
1329 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1330 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1331 ;;
1332 *)
1333 sed -n \
1334 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1335 ;;
1336 esac;
1337 }
1338 echo
1339
1340 cat <<\_ASBOX
1341 ## ----------------- ##
1342 ## Output variables. ##
1343 ## ----------------- ##
1344 _ASBOX
1345 echo
1346 for ac_var in $ac_subst_vars
1347 do
1348 eval ac_val=$`echo $ac_var`
1349 echo "$ac_var='"'"'$ac_val'"'"'"
1350 done | sort
1351 echo
1352
1353 if test -n "$ac_subst_files"; then
1354 cat <<\_ASBOX
1355 ## ------------- ##
1356 ## Output files. ##
1357 ## ------------- ##
1358 _ASBOX
1359 echo
1360 for ac_var in $ac_subst_files
1361 do
1362 eval ac_val=$`echo $ac_var`
1363 echo "$ac_var='"'"'$ac_val'"'"'"
1364 done | sort
1365 echo
1366 fi
1367
1368 if test -s confdefs.h; then
1369 cat <<\_ASBOX
1370 ## ----------- ##
1371 ## confdefs.h. ##
1372 ## ----------- ##
1373 _ASBOX
1374 echo
1375 sed "/^$/d" confdefs.h | sort
1376 echo
1377 fi
1378 test "$ac_signal" != 0 &&
1379 echo "$as_me: caught signal $ac_signal"
1380 echo "$as_me: exit $exit_status"
1381 } >&5
1382 rm -f core *.core &&
1383 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1384 exit $exit_status
1385 ' 0
1386 for ac_signal in 1 2 13 15; do
1387 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1388 done
1389 ac_signal=0
1390
1391 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1392 rm -rf conftest* confdefs.h
1393 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1394 echo >confdefs.h
1395
1396 # Predefined preprocessor variables.
1397
1398 cat >>confdefs.h <<_ACEOF
1399 #define PACKAGE_NAME "$PACKAGE_NAME"
1400 _ACEOF
1401
1402
1403 cat >>confdefs.h <<_ACEOF
1404 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1405 _ACEOF
1406
1407
1408 cat >>confdefs.h <<_ACEOF
1409 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1410 _ACEOF
1411
1412
1413 cat >>confdefs.h <<_ACEOF
1414 #define PACKAGE_STRING "$PACKAGE_STRING"
1415 _ACEOF
1416
1417
1418 cat >>confdefs.h <<_ACEOF
1419 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1420 _ACEOF
1421
1422
1423 # Let the site file select an alternate cache file if it wants to.
1424 # Prefer explicitly selected file to automatically selected ones.
1425 if test -z "$CONFIG_SITE"; then
1426 if test "x$prefix" != xNONE; then
1427 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1428 else
1429 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1430 fi
1431 fi
1432 for ac_site_file in $CONFIG_SITE; do
1433 if test -r "$ac_site_file"; then
1434 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1435 echo "$as_me: loading site script $ac_site_file" >&6;}
1436 sed 's/^/| /' "$ac_site_file" >&5
1437 . "$ac_site_file"
1438 fi
1439 done
1440
1441 if test -r "$cache_file"; then
1442 # Some versions of bash will fail to source /dev/null (special
1443 # files actually), so we avoid doing that.
1444 if test -f "$cache_file"; then
1445 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1446 echo "$as_me: loading cache $cache_file" >&6;}
1447 case $cache_file in
1448 [\\/]* | ?:[\\/]* ) . $cache_file;;
1449 *) . ./$cache_file;;
1450 esac
1451 fi
1452 else
1453 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1454 echo "$as_me: creating cache $cache_file" >&6;}
1455 >$cache_file
1456 fi
1457
1458 # Check that the precious variables saved in the cache have kept the same
1459 # value.
1460 ac_cache_corrupted=false
1461 for ac_var in `(set) 2>&1 |
1462 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1463 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1464 eval ac_new_set=\$ac_env_${ac_var}_set
1465 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1466 eval ac_new_val="\$ac_env_${ac_var}_value"
1467 case $ac_old_set,$ac_new_set in
1468 set,)
1469 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1470 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1471 ac_cache_corrupted=: ;;
1472 ,set)
1473 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1474 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1475 ac_cache_corrupted=: ;;
1476 ,);;
1477 *)
1478 if test "x$ac_old_val" != "x$ac_new_val"; then
1479 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1480 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1481 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1482 echo "$as_me: former value: $ac_old_val" >&2;}
1483 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1484 echo "$as_me: current value: $ac_new_val" >&2;}
1485 ac_cache_corrupted=:
1486 fi;;
1487 esac
1488 # Pass precious variables to config.status.
1489 if test "$ac_new_set" = set; then
1490 case $ac_new_val in
1491 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1492 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1493 *) ac_arg=$ac_var=$ac_new_val ;;
1494 esac
1495 case " $ac_configure_args " in
1496 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1497 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1498 esac
1499 fi
1500 done
1501 if $ac_cache_corrupted; then
1502 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1503 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1504 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1505 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1506 { (exit 1); exit 1; }; }
1507 fi
1508
1509 ac_ext=c
1510 ac_cpp='$CPP $CPPFLAGS'
1511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544 ac_aux_dir=
1545 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1546 if test -f $ac_dir/install-sh; then
1547 ac_aux_dir=$ac_dir
1548 ac_install_sh="$ac_aux_dir/install-sh -c"
1549 break
1550 elif test -f $ac_dir/install.sh; then
1551 ac_aux_dir=$ac_dir
1552 ac_install_sh="$ac_aux_dir/install.sh -c"
1553 break
1554 elif test -f $ac_dir/shtool; then
1555 ac_aux_dir=$ac_dir
1556 ac_install_sh="$ac_aux_dir/shtool install -c"
1557 break
1558 fi
1559 done
1560 if test -z "$ac_aux_dir"; then
1561 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1562 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1563 { (exit 1); exit 1; }; }
1564 fi
1565 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1566 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1567 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1568
1569 # Make sure we can run config.sub.
1570 $ac_config_sub sun4 >/dev/null 2>&1 ||
1571 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1572 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1573 { (exit 1); exit 1; }; }
1574
1575 echo "$as_me:$LINENO: checking build system type" >&5
1576 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1577 if test "${ac_cv_build+set}" = set; then
1578 echo $ECHO_N "(cached) $ECHO_C" >&6
1579 else
1580 ac_cv_build_alias=$build_alias
1581 test -z "$ac_cv_build_alias" &&
1582 ac_cv_build_alias=`$ac_config_guess`
1583 test -z "$ac_cv_build_alias" &&
1584 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1585 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1586 { (exit 1); exit 1; }; }
1587 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1588 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1589 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1590 { (exit 1); exit 1; }; }
1591
1592 fi
1593 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1594 echo "${ECHO_T}$ac_cv_build" >&6
1595 build=$ac_cv_build
1596 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1597 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1598 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1599
1600
1601 echo "$as_me:$LINENO: checking host system type" >&5
1602 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1603 if test "${ac_cv_host+set}" = set; then
1604 echo $ECHO_N "(cached) $ECHO_C" >&6
1605 else
1606 ac_cv_host_alias=$host_alias
1607 test -z "$ac_cv_host_alias" &&
1608 ac_cv_host_alias=$ac_cv_build_alias
1609 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1610 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1611 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1612 { (exit 1); exit 1; }; }
1613
1614 fi
1615 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1616 echo "${ECHO_T}$ac_cv_host" >&6
1617 host=$ac_cv_host
1618 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1619 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1620 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1621
1622
1623 echo "$as_me:$LINENO: checking target system type" >&5
1624 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1625 if test "${ac_cv_target+set}" = set; then
1626 echo $ECHO_N "(cached) $ECHO_C" >&6
1627 else
1628 ac_cv_target_alias=$target_alias
1629 test "x$ac_cv_target_alias" = "x" &&
1630 ac_cv_target_alias=$ac_cv_host_alias
1631 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1632 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1633 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1634 { (exit 1); exit 1; }; }
1635
1636 fi
1637 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1638 echo "${ECHO_T}$ac_cv_target" >&6
1639 target=$ac_cv_target
1640 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1641 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1642 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1643
1644
1645 # The aliases save the names the user supplied, while $host etc.
1646 # will get canonicalized.
1647 test -n "$target_alias" &&
1648 test "$program_prefix$program_suffix$program_transform_name" = \
1649 NONENONEs,x,x, &&
1650 program_prefix=${target_alias}-
1651
1652
1653
1654 wx_major_version_number=2
1655 wx_minor_version_number=5
1656 wx_release_number=3
1657 wx_subrelease_number=0
1658
1659 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1660 WX_VERSION=$WX_RELEASE.$wx_release_number
1661 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1662
1663 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1664
1665 WX_CURRENT=3
1666 WX_REVISION=0
1667 WX_AGE=0
1668
1669
1670
1671 USE_UNIX=1
1672 USE_OS2=0
1673 USE_WIN32=0
1674 USE_DOS=0
1675 USE_BEOS=0
1676 USE_MAC=0
1677
1678 USE_AIX=
1679 USE_BSD= USE_DARWIN= USE_FREEBSD=
1680 USE_GNU= USE_HPUX=
1681 USE_LINUX=
1682 USE_NETBSD=
1683 USE_OPENBSD=
1684 USE_OSF= USE_SGI=
1685 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1686 USE_ULTRIX=
1687 USE_UNIXWARE=
1688
1689 USE_ALPHA=
1690
1691 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1692
1693 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1694
1695 DEFAULT_wxUSE_COCOA=0
1696 DEFAULT_wxUSE_GTK=0
1697 DEFAULT_wxUSE_MAC=0
1698 DEFAULT_wxUSE_MGL=0
1699 DEFAULT_wxUSE_MICROWIN=0
1700 DEFAULT_wxUSE_MOTIF=0
1701 DEFAULT_wxUSE_MSW=0
1702 DEFAULT_wxUSE_PM=0
1703 DEFAULT_wxUSE_X11=0
1704
1705 DEFAULT_DEFAULT_wxUSE_COCOA=0
1706 DEFAULT_DEFAULT_wxUSE_GTK=0
1707 DEFAULT_DEFAULT_wxUSE_MAC=0
1708 DEFAULT_DEFAULT_wxUSE_MGL=0
1709 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1710 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1711 DEFAULT_DEFAULT_wxUSE_MSW=0
1712 DEFAULT_DEFAULT_wxUSE_PM=0
1713 DEFAULT_DEFAULT_wxUSE_X11=0
1714
1715 PROGRAM_EXT=
1716 SO_SUFFIX=so
1717 SAMPLES_RPATH_FLAG=
1718 SAMPLES_RPATH_POSTLINK=
1719
1720 case "${host}" in
1721 *-hp-hpux* )
1722 USE_HPUX=1
1723 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1724 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1725 SO_SUFFIX=sl
1726 cat >>confdefs.h <<\_ACEOF
1727 #define __HPUX__ 1
1728 _ACEOF
1729
1730 ;;
1731 *-*-linux* )
1732 USE_LINUX=1
1733 cat >>confdefs.h <<\_ACEOF
1734 #define __LINUX__ 1
1735 _ACEOF
1736
1737 TMP=`uname -m`
1738 if test "x$TMP" = "xalpha"; then
1739 USE_ALPHA=1
1740 cat >>confdefs.h <<\_ACEOF
1741 #define __ALPHA__ 1
1742 _ACEOF
1743
1744 fi
1745 DEFAULT_DEFAULT_wxUSE_GTK=1
1746 ;;
1747 *-*-gnu* | *-*-k*bsd*-gnu )
1748 USE_GNU=1
1749 TMP=`uname -m`
1750 if test "x$TMP" = "xalpha"; then
1751 USE_ALPHA=1
1752 cat >>confdefs.h <<\_ACEOF
1753 #define __ALPHA__ 1
1754 _ACEOF
1755
1756 fi
1757 DEFAULT_DEFAULT_wxUSE_GTK=1
1758 ;;
1759 *-*-irix5* | *-*-irix6* )
1760 USE_SGI=1
1761 USE_SVR4=1
1762 cat >>confdefs.h <<\_ACEOF
1763 #define __SGI__ 1
1764 _ACEOF
1765
1766 cat >>confdefs.h <<\_ACEOF
1767 #define __SVR4__ 1
1768 _ACEOF
1769
1770 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1771 ;;
1772 *-*-solaris2* )
1773 USE_SUN=1
1774 USE_SOLARIS=1
1775 USE_SVR4=1
1776 cat >>confdefs.h <<\_ACEOF
1777 #define __SUN__ 1
1778 _ACEOF
1779
1780 cat >>confdefs.h <<\_ACEOF
1781 #define __SOLARIS__ 1
1782 _ACEOF
1783
1784 cat >>confdefs.h <<\_ACEOF
1785 #define __SVR4__ 1
1786 _ACEOF
1787
1788 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1789 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1790 ;;
1791 *-*-sunos4* )
1792 USE_SUN=1
1793 USE_SUNOS=1
1794 USE_BSD=1
1795 cat >>confdefs.h <<\_ACEOF
1796 #define __SUN__ 1
1797 _ACEOF
1798
1799 cat >>confdefs.h <<\_ACEOF
1800 #define __SUNOS__ 1
1801 _ACEOF
1802
1803 cat >>confdefs.h <<\_ACEOF
1804 #define __BSD__ 1
1805 _ACEOF
1806
1807 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1808 ;;
1809 *-*-freebsd*)
1810 USE_BSD=1
1811 USE_FREEBSD=1
1812 cat >>confdefs.h <<\_ACEOF
1813 #define __FREEBSD__ 1
1814 _ACEOF
1815
1816 cat >>confdefs.h <<\_ACEOF
1817 #define __BSD__ 1
1818 _ACEOF
1819
1820 DEFAULT_DEFAULT_wxUSE_GTK=1
1821 ;;
1822 *-*-openbsd*)
1823 USE_BSD=1
1824 USE_OPENBSD=1
1825 cat >>confdefs.h <<\_ACEOF
1826 #define __OPENBSD__ 1
1827 _ACEOF
1828
1829 cat >>confdefs.h <<\_ACEOF
1830 #define __BSD__ 1
1831 _ACEOF
1832
1833 DEFAULT_DEFAULT_wxUSE_GTK=1
1834 ;;
1835 *-*-netbsd*)
1836 USE_BSD=1
1837 USE_NETBSD=1
1838 cat >>confdefs.h <<\_ACEOF
1839 #define __NETBSD__ 1
1840 _ACEOF
1841
1842 cat >>confdefs.h <<\_ACEOF
1843 #define __BSD__ 1
1844 _ACEOF
1845
1846 DEFAULT_DEFAULT_wxUSE_GTK=1
1847 ;;
1848 *-*-osf* )
1849 USE_ALPHA=1
1850 USE_OSF=1
1851 cat >>confdefs.h <<\_ACEOF
1852 #define __ALPHA__ 1
1853 _ACEOF
1854
1855 cat >>confdefs.h <<\_ACEOF
1856 #define __OSF__ 1
1857 _ACEOF
1858
1859 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1860 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1861 ;;
1862 *-*-dgux5* )
1863 USE_ALPHA=1
1864 USE_SVR4=1
1865 cat >>confdefs.h <<\_ACEOF
1866 #define __ALPHA__ 1
1867 _ACEOF
1868
1869 cat >>confdefs.h <<\_ACEOF
1870 #define __SVR4__ 1
1871 _ACEOF
1872
1873 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1874 ;;
1875 *-*-sysv5* )
1876 USE_SYSV=1
1877 USE_SVR4=1
1878 cat >>confdefs.h <<\_ACEOF
1879 #define __SYSV__ 1
1880 _ACEOF
1881
1882 cat >>confdefs.h <<\_ACEOF
1883 #define __SVR4__ 1
1884 _ACEOF
1885
1886 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1887 ;;
1888 *-*-aix* )
1889 USE_AIX=1
1890 USE_SYSV=1
1891 USE_SVR4=1
1892 SO_SUFFIX=a
1893 cat >>confdefs.h <<\_ACEOF
1894 #define __AIX__ 1
1895 _ACEOF
1896
1897 cat >>confdefs.h <<\_ACEOF
1898 #define __SYSV__ 1
1899 _ACEOF
1900
1901 cat >>confdefs.h <<\_ACEOF
1902 #define __SVR4__ 1
1903 _ACEOF
1904
1905 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1906 ;;
1907
1908 *-*-*UnixWare*)
1909 USE_SYSV=1
1910 USE_SVR4=1
1911 USE_UNIXWARE=1
1912 cat >>confdefs.h <<\_ACEOF
1913 #define __UNIXWARE__ 1
1914 _ACEOF
1915
1916 ;;
1917
1918 *-*-cygwin* | *-*-mingw32* )
1919 SO_SUFFIX=dll
1920 PROGRAM_EXT=".exe"
1921 RESCOMP=windres
1922 DEFAULT_DEFAULT_wxUSE_MSW=1
1923 ;;
1924
1925 *-pc-msdosdjgpp )
1926 USE_UNIX=0
1927 USE_DOS=1
1928 cat >>confdefs.h <<\_ACEOF
1929 #define __DOS__ 1
1930 _ACEOF
1931
1932 PROGRAM_EXT=".exe"
1933 DEFAULT_DEFAULT_wxUSE_MGL=1
1934 LIBS="$LIBS -lstdc++"
1935 ;;
1936
1937 *-pc-os2_emx | *-pc-os2-emx )
1938 cat >>confdefs.h <<\_ACEOF
1939 #define __EMX__ 1
1940 _ACEOF
1941
1942 USE_OS2=1
1943 cat >>confdefs.h <<\_ACEOF
1944 #define __OS2__ 1
1945 _ACEOF
1946
1947 PROGRAM_EXT=".exe"
1948 DEFAULT_DEFAULT_wxUSE_PM=1
1949 CXX=gcc
1950 LDFLAGS="$LDFLAGS -Zcrtdll"
1951 ac_executable_extensions=".exe"
1952 export ac_executable_extensions
1953 ac_save_IFS="$IFS"
1954 IFS='\\'
1955 ac_TEMP_PATH=
1956 for ac_dir in $PATH; do
1957 IFS=$ac_save_IFS
1958 if test -z "$ac_TEMP_PATH"; then
1959 ac_TEMP_PATH="$ac_dir"
1960 else
1961 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1962 fi
1963 done
1964 export PATH="$ac_TEMP_PATH"
1965 unset ac_TEMP_PATH
1966 ;;
1967
1968 powerpc-*-darwin* )
1969 USE_BSD=1
1970 USE_DARWIN=1
1971 SO_SUFFIX=dylib
1972 cat >>confdefs.h <<\_ACEOF
1973 #define __BSD__ 1
1974 _ACEOF
1975
1976 cat >>confdefs.h <<\_ACEOF
1977 #define __DARWIN__ 1
1978 _ACEOF
1979
1980 cat >>confdefs.h <<\_ACEOF
1981 #define __POWERPC__ 1
1982 _ACEOF
1983
1984 cat >>confdefs.h <<\_ACEOF
1985 #define TARGET_CARBON 1
1986 _ACEOF
1987
1988 DEFAULT_DEFAULT_wxUSE_MAC=1
1989 ;;
1990
1991 *-*-beos* )
1992 USE_BEOS=1
1993 cat >>confdefs.h <<\_ACEOF
1994 #define __BEOS__ 1
1995 _ACEOF
1996
1997 ;;
1998
1999 *)
2000 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2001 echo "$as_me: error: unknown system type ${host}." >&2;}
2002 { (exit 1); exit 1; }; }
2003 esac
2004
2005
2006
2007
2008 wx_arg_cache_file="configarg.cache"
2009 echo "loading argument cache $wx_arg_cache_file"
2010 rm -f ${wx_arg_cache_file}.tmp
2011 touch ${wx_arg_cache_file}.tmp
2012 touch ${wx_arg_cache_file}
2013
2014
2015 DEBUG_CONFIGURE=0
2016 if test $DEBUG_CONFIGURE = 1; then
2017 DEFAULT_wxUSE_UNIVERSAL=no
2018 DEFAULT_wxUSE_STL=no
2019
2020 DEFAULT_wxUSE_NANOX=no
2021
2022 DEFAULT_wxUSE_THREADS=yes
2023
2024 DEFAULT_wxUSE_SHARED=yes
2025 DEFAULT_wxUSE_OPTIMISE=no
2026 DEFAULT_wxUSE_PROFILE=no
2027 DEFAULT_wxUSE_NO_DEPS=no
2028 DEFAULT_wxUSE_NO_RTTI=no
2029 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2030 DEFAULT_wxUSE_PERMISSIVE=no
2031 DEFAULT_wxUSE_DEBUG_FLAG=yes
2032 DEFAULT_wxUSE_DEBUG_INFO=yes
2033 DEFAULT_wxUSE_DEBUG_GDB=yes
2034 DEFAULT_wxUSE_MEM_TRACING=no
2035 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2036 DEFAULT_wxUSE_DMALLOC=no
2037 DEFAULT_wxUSE_APPLE_IEEE=no
2038
2039 DEFAULT_wxUSE_EXCEPTIONS=no
2040 DEFAULT_wxUSE_LOG=yes
2041 DEFAULT_wxUSE_LOGWINDOW=no
2042 DEFAULT_wxUSE_LOGGUI=no
2043 DEFAULT_wxUSE_LOGDIALOG=no
2044
2045 DEFAULT_wxUSE_GUI=yes
2046 DEFAULT_wxUSE_CONTROLS=no
2047
2048 DEFAULT_wxUSE_REGEX=no
2049 DEFAULT_wxUSE_XML=no
2050 DEFAULT_wxUSE_EXPAT=no
2051 DEFAULT_wxUSE_ZLIB=no
2052 DEFAULT_wxUSE_LIBPNG=no
2053 DEFAULT_wxUSE_LIBJPEG=no
2054 DEFAULT_wxUSE_LIBTIFF=no
2055 DEFAULT_wxUSE_LIBXPM=no
2056 DEFAULT_wxUSE_LIBMSPACK=no
2057 DEFAULT_wxUSE_LIBSDL=no
2058 DEFAULT_wxUSE_ODBC=no
2059 DEFAULT_wxUSE_OPENGL=no
2060
2061 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2062 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2063 DEFAULT_wxUSE_STD_IOSTREAM=no
2064 DEFAULT_wxUSE_CMDLINE_PARSER=no
2065 DEFAULT_wxUSE_DATETIME=no
2066 DEFAULT_wxUSE_TIMER=no
2067 DEFAULT_wxUSE_STOPWATCH=no
2068 DEFAULT_wxUSE_FILE=no
2069 DEFAULT_wxUSE_FFILE=no
2070 DEFAULT_wxUSE_TEXTBUFFER=no
2071 DEFAULT_wxUSE_TEXTFILE=no
2072 DEFAULT_wxUSE_SOUND=no
2073 DEFAULT_wxUSE_INTL=no
2074 DEFAULT_wxUSE_CONFIG=no
2075 DEFAULT_wxUSE_FONTMAP=no
2076 DEFAULT_wxUSE_STREAMS=no
2077 DEFAULT_wxUSE_SOCKETS=no
2078 DEFAULT_wxUSE_OLE=no
2079 DEFAULT_wxUSE_DATAOBJ=no
2080 DEFAULT_wxUSE_DIALUP_MANAGER=no
2081 DEFAULT_wxUSE_JOYSTICK=no
2082 DEFAULT_wxUSE_DYNLIB_CLASS=no
2083 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2084 DEFAULT_wxUSE_LONGLONG=no
2085 DEFAULT_wxUSE_GEOMETRY=no
2086
2087 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2088 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2089 DEFAULT_wxUSE_POSTSCRIPT=no
2090
2091 DEFAULT_wxUSE_CLIPBOARD=no
2092 DEFAULT_wxUSE_TOOLTIPS=no
2093 DEFAULT_wxUSE_DRAG_AND_DROP=no
2094 DEFAULT_wxUSE_DRAGIMAGE=no
2095 DEFAULT_wxUSE_SPLINES=no
2096
2097 DEFAULT_wxUSE_MDI=no
2098 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2099 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2100 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2101
2102 DEFAULT_wxUSE_RESOURCES=no
2103 DEFAULT_wxUSE_CONSTRAINTS=no
2104 DEFAULT_wxUSE_IPC=no
2105 DEFAULT_wxUSE_HELP=no
2106 DEFAULT_wxUSE_MS_HTML_HELP=no
2107 DEFAULT_wxUSE_WXHTML_HELP=no
2108 DEFAULT_wxUSE_TREELAYOUT=no
2109 DEFAULT_wxUSE_METAFILE=no
2110 DEFAULT_wxUSE_MIMETYPE=no
2111 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2112 DEFAULT_wxUSE_PROTOCOL=no
2113 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2114 DEFAULT_wxUSE_PROTOCOL_FTP=no
2115 DEFAULT_wxUSE_PROTOCOL_FILE=no
2116 DEFAULT_wxUSE_URL=no
2117
2118 DEFAULT_wxUSE_COMMONDLGS=no
2119 DEFAULT_wxUSE_CHOICEDLG=no
2120 DEFAULT_wxUSE_COLOURDLG=no
2121 DEFAULT_wxUSE_DIRDLG=no
2122 DEFAULT_wxUSE_FILEDLG=no
2123 DEFAULT_wxUSE_FINDREPLDLG=no
2124 DEFAULT_wxUSE_FONTDLG=no
2125 DEFAULT_wxUSE_MSGDLG=no
2126 DEFAULT_wxUSE_NUMBERDLG=no
2127 DEFAULT_wxUSE_TEXTDLG=no
2128 DEFAULT_wxUSE_SPLASH=no
2129 DEFAULT_wxUSE_STARTUP_TIPS=no
2130 DEFAULT_wxUSE_PROGRESSDLG=no
2131 DEFAULT_wxUSE_WIZARDDLG=no
2132
2133 DEFAULT_wxUSE_MENUS=no
2134 DEFAULT_wxUSE_MINIFRAME=no
2135 DEFAULT_wxUSE_HTML=no
2136 DEFAULT_wxUSE_XRC=no
2137 DEFAULT_wxUSE_WEBKIT=no
2138 DEFAULT_wxUSE_FILESYSTEM=no
2139 DEFAULT_wxUSE_FS_INET=no
2140 DEFAULT_wxUSE_FS_ZIP=no
2141 DEFAULT_wxUSE_BUSYINFO=no
2142 DEFAULT_wxUSE_ZIPSTREAM=no
2143 DEFAULT_wxUSE_VALIDATORS=no
2144
2145 DEFAULT_wxUSE_ACCEL=no
2146 DEFAULT_wxUSE_BUTTON=no
2147 DEFAULT_wxUSE_BMPBUTTON=no
2148 DEFAULT_wxUSE_CALCTRL=no
2149 DEFAULT_wxUSE_CARET=no
2150 DEFAULT_wxUSE_CHECKBOX=no
2151 DEFAULT_wxUSE_CHECKLST=no
2152 DEFAULT_wxUSE_CHOICE=no
2153 DEFAULT_wxUSE_CHOICEBOOK=no
2154 DEFAULT_wxUSE_COMBOBOX=no
2155 DEFAULT_wxUSE_DISPLAY=no
2156 DEFAULT_wxUSE_GAUGE=no
2157 DEFAULT_wxUSE_GRID=no
2158 DEFAULT_wxUSE_IMAGLIST=no
2159 DEFAULT_wxUSE_LISTBOOK=no
2160 DEFAULT_wxUSE_LISTBOX=no
2161 DEFAULT_wxUSE_LISTCTRL=no
2162 DEFAULT_wxUSE_NOTEBOOK=no
2163 DEFAULT_wxUSE_RADIOBOX=no
2164 DEFAULT_wxUSE_RADIOBTN=no
2165 DEFAULT_wxUSE_SASH=no
2166 DEFAULT_wxUSE_SCROLLBAR=no
2167 DEFAULT_wxUSE_SLIDER=no
2168 DEFAULT_wxUSE_SPINBTN=no
2169 DEFAULT_wxUSE_SPINCTRL=no
2170 DEFAULT_wxUSE_SPLITTER=no
2171 DEFAULT_wxUSE_STATBMP=no
2172 DEFAULT_wxUSE_STATBOX=no
2173 DEFAULT_wxUSE_STATLINE=no
2174 DEFAULT_wxUSE_STATTEXT=no
2175 DEFAULT_wxUSE_STATUSBAR=yes
2176 DEFAULT_wxUSE_TABDIALOG=no
2177 DEFAULT_wxUSE_TEXTCTRL=no
2178 DEFAULT_wxUSE_TOGGLEBTN=no
2179 DEFAULT_wxUSE_TOOLBAR=no
2180 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2181 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2182 DEFAULT_wxUSE_TREECTRL=no
2183 DEFAULT_wxUSE_POPUPWIN=no
2184 DEFAULT_wxUSE_TIPWINDOW=no
2185
2186 DEFAULT_wxUSE_UNICODE=no
2187 DEFAULT_wxUSE_UNICODE_MSLU=no
2188 DEFAULT_wxUSE_WCSRTOMBS=no
2189
2190 DEFAULT_wxUSE_PALETTE=no
2191 DEFAULT_wxUSE_IMAGE=no
2192 DEFAULT_wxUSE_GIF=no
2193 DEFAULT_wxUSE_PCX=no
2194 DEFAULT_wxUSE_PNM=no
2195 DEFAULT_wxUSE_IFF=no
2196 DEFAULT_wxUSE_XPM=no
2197 DEFAULT_wxUSE_ICO_CUR=no
2198 DEFAULT_wxUSE_ACCESSIBILITY=no
2199
2200 DEFAULT_wxUSE_MONOLITHIC=no
2201 DEFAULT_wxUSE_PLUGINS=no
2202 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2203 else
2204 DEFAULT_wxUSE_UNIVERSAL=no
2205 DEFAULT_wxUSE_STL=no
2206
2207 DEFAULT_wxUSE_NANOX=no
2208
2209 DEFAULT_wxUSE_THREADS=yes
2210
2211 DEFAULT_wxUSE_SHARED=yes
2212 DEFAULT_wxUSE_OPTIMISE=yes
2213 DEFAULT_wxUSE_PROFILE=no
2214 DEFAULT_wxUSE_NO_DEPS=no
2215 DEFAULT_wxUSE_NO_RTTI=no
2216 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2217 DEFAULT_wxUSE_PERMISSIVE=no
2218 DEFAULT_wxUSE_DEBUG_FLAG=no
2219 DEFAULT_wxUSE_DEBUG_INFO=no
2220 DEFAULT_wxUSE_DEBUG_GDB=no
2221 DEFAULT_wxUSE_MEM_TRACING=no
2222 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2223 DEFAULT_wxUSE_DMALLOC=no
2224 DEFAULT_wxUSE_APPLE_IEEE=yes
2225
2226 DEFAULT_wxUSE_EXCEPTIONS=yes
2227 DEFAULT_wxUSE_LOG=yes
2228 DEFAULT_wxUSE_LOGWINDOW=yes
2229 DEFAULT_wxUSE_LOGGUI=yes
2230 DEFAULT_wxUSE_LOGDIALOG=yes
2231
2232 DEFAULT_wxUSE_GUI=yes
2233
2234 DEFAULT_wxUSE_REGEX=yes
2235 DEFAULT_wxUSE_XML=yes
2236 DEFAULT_wxUSE_EXPAT=yes
2237 DEFAULT_wxUSE_ZLIB=yes
2238 DEFAULT_wxUSE_LIBPNG=yes
2239 DEFAULT_wxUSE_LIBJPEG=yes
2240 DEFAULT_wxUSE_LIBTIFF=yes
2241 DEFAULT_wxUSE_LIBXPM=yes
2242 DEFAULT_wxUSE_LIBMSPACK=yes
2243 DEFAULT_wxUSE_LIBSDL=no
2244 DEFAULT_wxUSE_ODBC=no
2245 DEFAULT_wxUSE_OPENGL=no
2246
2247 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2248 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2249 DEFAULT_wxUSE_STD_IOSTREAM=no
2250 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2251 DEFAULT_wxUSE_DATETIME=yes
2252 DEFAULT_wxUSE_TIMER=yes
2253 DEFAULT_wxUSE_STOPWATCH=yes
2254 DEFAULT_wxUSE_FILE=yes
2255 DEFAULT_wxUSE_FFILE=yes
2256 DEFAULT_wxUSE_TEXTBUFFER=yes
2257 DEFAULT_wxUSE_TEXTFILE=yes
2258 DEFAULT_wxUSE_SOUND=yes
2259 DEFAULT_wxUSE_INTL=yes
2260 DEFAULT_wxUSE_CONFIG=yes
2261 DEFAULT_wxUSE_FONTMAP=yes
2262 DEFAULT_wxUSE_STREAMS=yes
2263 DEFAULT_wxUSE_SOCKETS=yes
2264 DEFAULT_wxUSE_OLE=yes
2265 DEFAULT_wxUSE_DATAOBJ=yes
2266 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2267 DEFAULT_wxUSE_JOYSTICK=yes
2268 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2269 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2270 DEFAULT_wxUSE_LONGLONG=yes
2271 DEFAULT_wxUSE_GEOMETRY=yes
2272
2273 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2274 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2275 DEFAULT_wxUSE_POSTSCRIPT=yes
2276
2277 DEFAULT_wxUSE_CLIPBOARD=yes
2278 DEFAULT_wxUSE_TOOLTIPS=yes
2279 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2280 DEFAULT_wxUSE_DRAGIMAGE=yes
2281 DEFAULT_wxUSE_SPLINES=yes
2282
2283 DEFAULT_wxUSE_MDI=yes
2284 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2285 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2286 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2287
2288 DEFAULT_wxUSE_RESOURCES=no
2289 DEFAULT_wxUSE_CONSTRAINTS=yes
2290 DEFAULT_wxUSE_IPC=yes
2291 DEFAULT_wxUSE_HELP=yes
2292 DEFAULT_wxUSE_MS_HTML_HELP=yes
2293 DEFAULT_wxUSE_WXHTML_HELP=yes
2294 DEFAULT_wxUSE_TREELAYOUT=yes
2295 DEFAULT_wxUSE_METAFILE=yes
2296 DEFAULT_wxUSE_MIMETYPE=yes
2297 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2298 DEFAULT_wxUSE_PROTOCOL=yes
2299 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2300 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2301 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2302 DEFAULT_wxUSE_URL=yes
2303
2304 DEFAULT_wxUSE_COMMONDLGS=yes
2305 DEFAULT_wxUSE_CHOICEDLG=yes
2306 DEFAULT_wxUSE_COLOURDLG=yes
2307 DEFAULT_wxUSE_DIRDLG=yes
2308 DEFAULT_wxUSE_FILEDLG=yes
2309 DEFAULT_wxUSE_FINDREPLDLG=yes
2310 DEFAULT_wxUSE_FONTDLG=yes
2311 DEFAULT_wxUSE_MSGDLG=yes
2312 DEFAULT_wxUSE_NUMBERDLG=yes
2313 DEFAULT_wxUSE_TEXTDLG=yes
2314 DEFAULT_wxUSE_SPLASH=yes
2315 DEFAULT_wxUSE_STARTUP_TIPS=yes
2316 DEFAULT_wxUSE_PROGRESSDLG=yes
2317 DEFAULT_wxUSE_WIZARDDLG=yes
2318
2319 DEFAULT_wxUSE_MENUS=yes
2320 DEFAULT_wxUSE_MINIFRAME=yes
2321 DEFAULT_wxUSE_HTML=yes
2322 DEFAULT_wxUSE_XRC=yes
2323 DEFAULT_wxUSE_WEBKIT=yes
2324 DEFAULT_wxUSE_FILESYSTEM=yes
2325 DEFAULT_wxUSE_FS_INET=yes
2326 DEFAULT_wxUSE_FS_ZIP=yes
2327 DEFAULT_wxUSE_BUSYINFO=yes
2328 DEFAULT_wxUSE_ZIPSTREAM=yes
2329 DEFAULT_wxUSE_VALIDATORS=yes
2330
2331 DEFAULT_wxUSE_ACCEL=yes
2332 DEFAULT_wxUSE_BUTTON=yes
2333 DEFAULT_wxUSE_BMPBUTTON=yes
2334 DEFAULT_wxUSE_CALCTRL=yes
2335 DEFAULT_wxUSE_CARET=yes
2336 DEFAULT_wxUSE_CHECKBOX=yes
2337 DEFAULT_wxUSE_CHECKLST=yes
2338 DEFAULT_wxUSE_CHOICE=yes
2339 DEFAULT_wxUSE_CHOICEBOOK=yes
2340 DEFAULT_wxUSE_COMBOBOX=yes
2341 DEFAULT_wxUSE_DISPLAY=yes
2342 DEFAULT_wxUSE_GAUGE=yes
2343 DEFAULT_wxUSE_GRID=yes
2344 DEFAULT_wxUSE_IMAGLIST=yes
2345 DEFAULT_wxUSE_LISTBOOK=yes
2346 DEFAULT_wxUSE_LISTBOX=yes
2347 DEFAULT_wxUSE_LISTCTRL=yes
2348 DEFAULT_wxUSE_NOTEBOOK=yes
2349 DEFAULT_wxUSE_RADIOBOX=yes
2350 DEFAULT_wxUSE_RADIOBTN=yes
2351 DEFAULT_wxUSE_SASH=yes
2352 DEFAULT_wxUSE_SCROLLBAR=yes
2353 DEFAULT_wxUSE_SLIDER=yes
2354 DEFAULT_wxUSE_SPINBTN=yes
2355 DEFAULT_wxUSE_SPINCTRL=yes
2356 DEFAULT_wxUSE_SPLITTER=yes
2357 DEFAULT_wxUSE_STATBMP=yes
2358 DEFAULT_wxUSE_STATBOX=yes
2359 DEFAULT_wxUSE_STATLINE=yes
2360 DEFAULT_wxUSE_STATTEXT=yes
2361 DEFAULT_wxUSE_STATUSBAR=yes
2362 DEFAULT_wxUSE_TABDIALOG=no
2363 DEFAULT_wxUSE_TEXTCTRL=yes
2364 DEFAULT_wxUSE_TOGGLEBTN=yes
2365 DEFAULT_wxUSE_TOOLBAR=yes
2366 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2367 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2368 DEFAULT_wxUSE_TREECTRL=yes
2369 DEFAULT_wxUSE_POPUPWIN=yes
2370 DEFAULT_wxUSE_TIPWINDOW=yes
2371
2372 DEFAULT_wxUSE_UNICODE=no
2373 DEFAULT_wxUSE_UNICODE_MSLU=yes
2374 DEFAULT_wxUSE_WCSRTOMBS=no
2375
2376 DEFAULT_wxUSE_PALETTE=yes
2377 DEFAULT_wxUSE_IMAGE=yes
2378 DEFAULT_wxUSE_GIF=yes
2379 DEFAULT_wxUSE_PCX=yes
2380 DEFAULT_wxUSE_IFF=no
2381 DEFAULT_wxUSE_PNM=yes
2382 DEFAULT_wxUSE_XPM=yes
2383 DEFAULT_wxUSE_ICO_CUR=yes
2384 DEFAULT_wxUSE_ACCESSIBILITY=no
2385
2386 DEFAULT_wxUSE_MONOLITHIC=no
2387 DEFAULT_wxUSE_PLUGINS=no
2388 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2389
2390 DEFAULT_wxUSE_GTK2=yes
2391 fi
2392
2393
2394
2395 for toolkit in `echo $ALL_TOOLKITS`; do
2396 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2397 if test "x$LINE" != "x" ; then
2398 has_toolkit_in_cache=1
2399 eval "DEFAULT_$LINE"
2400 eval "CACHE_$toolkit=1"
2401 fi
2402 done
2403
2404
2405
2406 enablestring=
2407 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2408 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2409 no_cache=0
2410 # Check whether --enable-gui or --disable-gui was given.
2411 if test "${enable_gui+set}" = set; then
2412 enableval="$enable_gui"
2413
2414 if test "$enableval" = yes; then
2415 ac_cv_use_gui='wxUSE_GUI=yes'
2416 else
2417 ac_cv_use_gui='wxUSE_GUI=no'
2418 fi
2419
2420 else
2421
2422 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2423 if test "x$LINE" != x ; then
2424 eval "DEFAULT_$LINE"
2425 else
2426 no_cache=1
2427 fi
2428
2429 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2430
2431 fi;
2432
2433 eval "$ac_cv_use_gui"
2434 if test "$no_cache" != 1; then
2435 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2436 fi
2437
2438 if test "$wxUSE_GUI" = yes; then
2439 echo "$as_me:$LINENO: result: yes" >&5
2440 echo "${ECHO_T}yes" >&6
2441 else
2442 echo "$as_me:$LINENO: result: no" >&5
2443 echo "${ECHO_T}no" >&6
2444 fi
2445
2446
2447 enablestring=
2448 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2449 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2450 no_cache=0
2451 # Check whether --enable-monolithic or --disable-monolithic was given.
2452 if test "${enable_monolithic+set}" = set; then
2453 enableval="$enable_monolithic"
2454
2455 if test "$enableval" = yes; then
2456 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2457 else
2458 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2459 fi
2460
2461 else
2462
2463 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2464 if test "x$LINE" != x ; then
2465 eval "DEFAULT_$LINE"
2466 else
2467 no_cache=1
2468 fi
2469
2470 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2471
2472 fi;
2473
2474 eval "$ac_cv_use_monolithic"
2475 if test "$no_cache" != 1; then
2476 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2477 fi
2478
2479 if test "$wxUSE_MONOLITHIC" = yes; then
2480 echo "$as_me:$LINENO: result: yes" >&5
2481 echo "${ECHO_T}yes" >&6
2482 else
2483 echo "$as_me:$LINENO: result: no" >&5
2484 echo "${ECHO_T}no" >&6
2485 fi
2486
2487
2488 enablestring=
2489 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2490 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2491 no_cache=0
2492 # Check whether --enable-plugins or --disable-plugins was given.
2493 if test "${enable_plugins+set}" = set; then
2494 enableval="$enable_plugins"
2495
2496 if test "$enableval" = yes; then
2497 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2498 else
2499 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2500 fi
2501
2502 else
2503
2504 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2505 if test "x$LINE" != x ; then
2506 eval "DEFAULT_$LINE"
2507 else
2508 no_cache=1
2509 fi
2510
2511 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2512
2513 fi;
2514
2515 eval "$ac_cv_use_plugins"
2516 if test "$no_cache" != 1; then
2517 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2518 fi
2519
2520 if test "$wxUSE_PLUGINS" = yes; then
2521 echo "$as_me:$LINENO: result: yes" >&5
2522 echo "${ECHO_T}yes" >&6
2523 else
2524 echo "$as_me:$LINENO: result: no" >&5
2525 echo "${ECHO_T}no" >&6
2526 fi
2527
2528
2529 if test "$wxUSE_GUI" = "yes"; then
2530
2531
2532 enablestring=
2533 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2534 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2535 no_cache=0
2536 # Check whether --enable-universal or --disable-universal was given.
2537 if test "${enable_universal+set}" = set; then
2538 enableval="$enable_universal"
2539
2540 if test "$enableval" = yes; then
2541 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2542 else
2543 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2544 fi
2545
2546 else
2547
2548 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2549 if test "x$LINE" != x ; then
2550 eval "DEFAULT_$LINE"
2551 else
2552 no_cache=1
2553 fi
2554
2555 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2556
2557 fi;
2558
2559 eval "$ac_cv_use_universal"
2560 if test "$no_cache" != 1; then
2561 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2562 fi
2563
2564 if test "$wxUSE_UNIVERSAL" = yes; then
2565 echo "$as_me:$LINENO: result: yes" >&5
2566 echo "${ECHO_T}yes" >&6
2567 else
2568 echo "$as_me:$LINENO: result: no" >&5
2569 echo "${ECHO_T}no" >&6
2570 fi
2571
2572
2573 # Check whether --with-gtk or --without-gtk was given.
2574 if test "${with_gtk+set}" = set; then
2575 withval="$with_gtk"
2576 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2577 fi;
2578
2579 # Check whether --with-motif or --without-motif was given.
2580 if test "${with_motif+set}" = set; then
2581 withval="$with_motif"
2582 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2583 fi;
2584
2585 # Check whether --with-mac or --without-mac was given.
2586 if test "${with_mac+set}" = set; then
2587 withval="$with_mac"
2588 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2589 fi;
2590
2591 # Check whether --with-cocoa or --without-cocoa was given.
2592 if test "${with_cocoa+set}" = set; then
2593 withval="$with_cocoa"
2594 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2595 fi;
2596
2597 # Check whether --with-wine or --without-wine was given.
2598 if test "${with_wine+set}" = set; then
2599 withval="$with_wine"
2600 wxUSE_WINE="$withval" CACHE_WINE=1
2601 fi;
2602
2603 # Check whether --with-msw or --without-msw was given.
2604 if test "${with_msw+set}" = set; then
2605 withval="$with_msw"
2606 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2607 fi;
2608
2609 # Check whether --with-pm or --without-pm was given.
2610 if test "${with_pm+set}" = set; then
2611 withval="$with_pm"
2612 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2613 fi;
2614
2615 # Check whether --with-mgl or --without-mgl was given.
2616 if test "${with_mgl+set}" = set; then
2617 withval="$with_mgl"
2618 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2619 fi;
2620
2621 # Check whether --with-microwin or --without-microwin was given.
2622 if test "${with_microwin+set}" = set; then
2623 withval="$with_microwin"
2624 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2625 fi;
2626
2627 # Check whether --with-x11 or --without-x11 was given.
2628 if test "${with_x11+set}" = set; then
2629 withval="$with_x11"
2630 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2631 fi;
2632
2633 enablestring=
2634 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2635 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2636 no_cache=0
2637 # Check whether --enable-nanox or --disable-nanox was given.
2638 if test "${enable_nanox+set}" = set; then
2639 enableval="$enable_nanox"
2640
2641 if test "$enableval" = yes; then
2642 ac_cv_use_nanox='wxUSE_NANOX=yes'
2643 else
2644 ac_cv_use_nanox='wxUSE_NANOX=no'
2645 fi
2646
2647 else
2648
2649 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2650 if test "x$LINE" != x ; then
2651 eval "DEFAULT_$LINE"
2652 else
2653 no_cache=1
2654 fi
2655
2656 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2657
2658 fi;
2659
2660 eval "$ac_cv_use_nanox"
2661 if test "$no_cache" != 1; then
2662 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2663 fi
2664
2665 if test "$wxUSE_NANOX" = yes; then
2666 echo "$as_me:$LINENO: result: yes" >&5
2667 echo "${ECHO_T}yes" >&6
2668 else
2669 echo "$as_me:$LINENO: result: no" >&5
2670 echo "${ECHO_T}no" >&6
2671 fi
2672
2673
2674
2675 enablestring=
2676 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2677 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2678 no_cache=0
2679 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2680 if test "${enable_gtk2+set}" = set; then
2681 enableval="$enable_gtk2"
2682
2683 if test "$enableval" = yes; then
2684 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2685 else
2686 ac_cv_use_gtk2='wxUSE_GTK2=no'
2687 fi
2688
2689 else
2690
2691 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2692 if test "x$LINE" != x ; then
2693 eval "DEFAULT_$LINE"
2694 else
2695 no_cache=1
2696 fi
2697
2698 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2699
2700 fi;
2701
2702 eval "$ac_cv_use_gtk2"
2703 if test "$no_cache" != 1; then
2704 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2705 fi
2706
2707 if test "$wxUSE_GTK2" = yes; then
2708 echo "$as_me:$LINENO: result: yes" >&5
2709 echo "${ECHO_T}yes" >&6
2710 else
2711 echo "$as_me:$LINENO: result: no" >&5
2712 echo "${ECHO_T}no" >&6
2713 fi
2714
2715
2716 enablestring=
2717 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2718 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2719 no_cache=0
2720 # Check whether --enable-gpe or --disable-gpe was given.
2721 if test "${enable_gpe+set}" = set; then
2722 enableval="$enable_gpe"
2723
2724 if test "$enableval" = yes; then
2725 ac_cv_use_gpe='wxUSE_GPE=yes'
2726 else
2727 ac_cv_use_gpe='wxUSE_GPE=no'
2728 fi
2729
2730 else
2731
2732 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2733 if test "x$LINE" != x ; then
2734 eval "DEFAULT_$LINE"
2735 else
2736 no_cache=1
2737 fi
2738
2739 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2740
2741 fi;
2742
2743 eval "$ac_cv_use_gpe"
2744 if test "$no_cache" != 1; then
2745 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2746 fi
2747
2748 if test "$wxUSE_GPE" = yes; then
2749 echo "$as_me:$LINENO: result: yes" >&5
2750 echo "${ECHO_T}yes" >&6
2751 else
2752 echo "$as_me:$LINENO: result: no" >&5
2753 echo "${ECHO_T}no" >&6
2754 fi
2755
2756
2757
2758 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2759 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2760 no_cache=0
2761
2762 # Check whether --with-libpng or --without-libpng was given.
2763 if test "${with_libpng+set}" = set; then
2764 withval="$with_libpng"
2765
2766 if test "$withval" = yes; then
2767 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2768 elif test "$withval" = no; then
2769 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2770 elif test "$withval" = sys; then
2771 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2772 elif test "$withval" = builtin; then
2773 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2774 else
2775 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2776 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2777 { (exit 1); exit 1; }; }
2778 fi
2779
2780 else
2781
2782 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2783 if test "x$LINE" != x ; then
2784 eval "DEFAULT_$LINE"
2785 else
2786 no_cache=1
2787 fi
2788
2789 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2790
2791 fi;
2792
2793 eval "$ac_cv_use_libpng"
2794 if test "$no_cache" != 1; then
2795 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2796 fi
2797
2798 if test "$wxUSE_LIBPNG" = yes; then
2799 echo "$as_me:$LINENO: result: yes" >&5
2800 echo "${ECHO_T}yes" >&6
2801 elif test "$wxUSE_LIBPNG" = no; then
2802 echo "$as_me:$LINENO: result: no" >&5
2803 echo "${ECHO_T}no" >&6
2804 elif test "$wxUSE_LIBPNG" = sys; then
2805 echo "$as_me:$LINENO: result: system version" >&5
2806 echo "${ECHO_T}system version" >&6
2807 elif test "$wxUSE_LIBPNG" = builtin; then
2808 echo "$as_me:$LINENO: result: builtin version" >&5
2809 echo "${ECHO_T}builtin version" >&6
2810 else
2811 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2812 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2813 { (exit 1); exit 1; }; }
2814 fi
2815
2816
2817 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2818 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2819 no_cache=0
2820
2821 # Check whether --with-libjpeg or --without-libjpeg was given.
2822 if test "${with_libjpeg+set}" = set; then
2823 withval="$with_libjpeg"
2824
2825 if test "$withval" = yes; then
2826 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2827 elif test "$withval" = no; then
2828 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2829 elif test "$withval" = sys; then
2830 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2831 elif test "$withval" = builtin; then
2832 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2833 else
2834 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2835 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2836 { (exit 1); exit 1; }; }
2837 fi
2838
2839 else
2840
2841 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2842 if test "x$LINE" != x ; then
2843 eval "DEFAULT_$LINE"
2844 else
2845 no_cache=1
2846 fi
2847
2848 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2849
2850 fi;
2851
2852 eval "$ac_cv_use_libjpeg"
2853 if test "$no_cache" != 1; then
2854 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2855 fi
2856
2857 if test "$wxUSE_LIBJPEG" = yes; then
2858 echo "$as_me:$LINENO: result: yes" >&5
2859 echo "${ECHO_T}yes" >&6
2860 elif test "$wxUSE_LIBJPEG" = no; then
2861 echo "$as_me:$LINENO: result: no" >&5
2862 echo "${ECHO_T}no" >&6
2863 elif test "$wxUSE_LIBJPEG" = sys; then
2864 echo "$as_me:$LINENO: result: system version" >&5
2865 echo "${ECHO_T}system version" >&6
2866 elif test "$wxUSE_LIBJPEG" = builtin; then
2867 echo "$as_me:$LINENO: result: builtin version" >&5
2868 echo "${ECHO_T}builtin version" >&6
2869 else
2870 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2871 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2872 { (exit 1); exit 1; }; }
2873 fi
2874
2875
2876 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2877 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2878 no_cache=0
2879
2880 # Check whether --with-libtiff or --without-libtiff was given.
2881 if test "${with_libtiff+set}" = set; then
2882 withval="$with_libtiff"
2883
2884 if test "$withval" = yes; then
2885 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2886 elif test "$withval" = no; then
2887 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2888 elif test "$withval" = sys; then
2889 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2890 elif test "$withval" = builtin; then
2891 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2892 else
2893 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2894 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2895 { (exit 1); exit 1; }; }
2896 fi
2897
2898 else
2899
2900 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2901 if test "x$LINE" != x ; then
2902 eval "DEFAULT_$LINE"
2903 else
2904 no_cache=1
2905 fi
2906
2907 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2908
2909 fi;
2910
2911 eval "$ac_cv_use_libtiff"
2912 if test "$no_cache" != 1; then
2913 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2914 fi
2915
2916 if test "$wxUSE_LIBTIFF" = yes; then
2917 echo "$as_me:$LINENO: result: yes" >&5
2918 echo "${ECHO_T}yes" >&6
2919 elif test "$wxUSE_LIBTIFF" = no; then
2920 echo "$as_me:$LINENO: result: no" >&5
2921 echo "${ECHO_T}no" >&6
2922 elif test "$wxUSE_LIBTIFF" = sys; then
2923 echo "$as_me:$LINENO: result: system version" >&5
2924 echo "${ECHO_T}system version" >&6
2925 elif test "$wxUSE_LIBTIFF" = builtin; then
2926 echo "$as_me:$LINENO: result: builtin version" >&5
2927 echo "${ECHO_T}builtin version" >&6
2928 else
2929 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2930 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2931 { (exit 1); exit 1; }; }
2932 fi
2933
2934
2935 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2936 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2937 no_cache=0
2938
2939 # Check whether --with-libxpm or --without-libxpm was given.
2940 if test "${with_libxpm+set}" = set; then
2941 withval="$with_libxpm"
2942
2943 if test "$withval" = yes; then
2944 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
2945 elif test "$withval" = no; then
2946 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
2947 elif test "$withval" = sys; then
2948 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
2949 elif test "$withval" = builtin; then
2950 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
2951 else
2952 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2953 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2954 { (exit 1); exit 1; }; }
2955 fi
2956
2957 else
2958
2959 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2960 if test "x$LINE" != x ; then
2961 eval "DEFAULT_$LINE"
2962 else
2963 no_cache=1
2964 fi
2965
2966 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2967
2968 fi;
2969
2970 eval "$ac_cv_use_libxpm"
2971 if test "$no_cache" != 1; then
2972 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2973 fi
2974
2975 if test "$wxUSE_LIBXPM" = yes; then
2976 echo "$as_me:$LINENO: result: yes" >&5
2977 echo "${ECHO_T}yes" >&6
2978 elif test "$wxUSE_LIBXPM" = no; then
2979 echo "$as_me:$LINENO: result: no" >&5
2980 echo "${ECHO_T}no" >&6
2981 elif test "$wxUSE_LIBXPM" = sys; then
2982 echo "$as_me:$LINENO: result: system version" >&5
2983 echo "${ECHO_T}system version" >&6
2984 elif test "$wxUSE_LIBXPM" = builtin; then
2985 echo "$as_me:$LINENO: result: builtin version" >&5
2986 echo "${ECHO_T}builtin version" >&6
2987 else
2988 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2989 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2990 { (exit 1); exit 1; }; }
2991 fi
2992
2993
2994 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
2995 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
2996 no_cache=0
2997
2998 # Check whether --with-libmspack or --without-libmspack was given.
2999 if test "${with_libmspack+set}" = set; then
3000 withval="$with_libmspack"
3001
3002 if test "$withval" = yes; then
3003 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3004 else
3005 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3006 fi
3007
3008 else
3009
3010 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3011 if test "x$LINE" != x ; then
3012 eval "DEFAULT_$LINE"
3013 else
3014 no_cache=1
3015 fi
3016
3017 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3018
3019 fi;
3020
3021 eval "$ac_cv_use_libmspack"
3022 if test "$no_cache" != 1; then
3023 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3024 fi
3025
3026 if test "$wxUSE_LIBMSPACK" = yes; then
3027 echo "$as_me:$LINENO: result: yes" >&5
3028 echo "${ECHO_T}yes" >&6
3029 else
3030 echo "$as_me:$LINENO: result: no" >&5
3031 echo "${ECHO_T}no" >&6
3032 fi
3033
3034
3035 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3036 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3037 no_cache=0
3038
3039 # Check whether --with-sdl or --without-sdl was given.
3040 if test "${with_sdl+set}" = set; then
3041 withval="$with_sdl"
3042
3043 if test "$withval" = yes; then
3044 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3045 else
3046 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3047 fi
3048
3049 else
3050
3051 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3052 if test "x$LINE" != x ; then
3053 eval "DEFAULT_$LINE"
3054 else
3055 no_cache=1
3056 fi
3057
3058 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3059
3060 fi;
3061
3062 eval "$ac_cv_use_sdl"
3063 if test "$no_cache" != 1; then
3064 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3065 fi
3066
3067 if test "$wxUSE_LIBSDL" = yes; then
3068 echo "$as_me:$LINENO: result: yes" >&5
3069 echo "${ECHO_T}yes" >&6
3070 else
3071 echo "$as_me:$LINENO: result: no" >&5
3072 echo "${ECHO_T}no" >&6
3073 fi
3074
3075
3076 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3077 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3078 no_cache=0
3079
3080 # Check whether --with-opengl or --without-opengl was given.
3081 if test "${with_opengl+set}" = set; then
3082 withval="$with_opengl"
3083
3084 if test "$withval" = yes; then
3085 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3086 else
3087 ac_cv_use_opengl='wxUSE_OPENGL=no'
3088 fi
3089
3090 else
3091
3092 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3093 if test "x$LINE" != x ; then
3094 eval "DEFAULT_$LINE"
3095 else
3096 no_cache=1
3097 fi
3098
3099 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3100
3101 fi;
3102
3103 eval "$ac_cv_use_opengl"
3104 if test "$no_cache" != 1; then
3105 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3106 fi
3107
3108 if test "$wxUSE_OPENGL" = yes; then
3109 echo "$as_me:$LINENO: result: yes" >&5
3110 echo "${ECHO_T}yes" >&6
3111 else
3112 echo "$as_me:$LINENO: result: no" >&5
3113 echo "${ECHO_T}no" >&6
3114 fi
3115
3116
3117 fi
3118
3119
3120 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3121 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3122 no_cache=0
3123
3124 # Check whether --with-dmalloc or --without-dmalloc was given.
3125 if test "${with_dmalloc+set}" = set; then
3126 withval="$with_dmalloc"
3127
3128 if test "$withval" = yes; then
3129 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3130 else
3131 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3132 fi
3133
3134 else
3135
3136 LINE=`grep "wxUSE_DMALLOC" ${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_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3144
3145 fi;
3146
3147 eval "$ac_cv_use_dmalloc"
3148 if test "$no_cache" != 1; then
3149 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3150 fi
3151
3152 if test "$wxUSE_DMALLOC" = 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 echo "$as_me:$LINENO: checking for --with-regex" >&5
3162 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3163 no_cache=0
3164
3165 # Check whether --with-regex or --without-regex was given.
3166 if test "${with_regex+set}" = set; then
3167 withval="$with_regex"
3168
3169 if test "$withval" = yes; then
3170 ac_cv_use_regex='wxUSE_REGEX=yes'
3171 elif test "$withval" = no; then
3172 ac_cv_use_regex='wxUSE_REGEX=no'
3173 elif test "$withval" = sys; then
3174 ac_cv_use_regex='wxUSE_REGEX=sys'
3175 elif test "$withval" = builtin; then
3176 ac_cv_use_regex='wxUSE_REGEX=builtin'
3177 else
3178 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3179 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3180 { (exit 1); exit 1; }; }
3181 fi
3182
3183 else
3184
3185 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3186 if test "x$LINE" != x ; then
3187 eval "DEFAULT_$LINE"
3188 else
3189 no_cache=1
3190 fi
3191
3192 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3193
3194 fi;
3195
3196 eval "$ac_cv_use_regex"
3197 if test "$no_cache" != 1; then
3198 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3199 fi
3200
3201 if test "$wxUSE_REGEX" = yes; then
3202 echo "$as_me:$LINENO: result: yes" >&5
3203 echo "${ECHO_T}yes" >&6
3204 elif test "$wxUSE_REGEX" = no; then
3205 echo "$as_me:$LINENO: result: no" >&5
3206 echo "${ECHO_T}no" >&6
3207 elif test "$wxUSE_REGEX" = sys; then
3208 echo "$as_me:$LINENO: result: system version" >&5
3209 echo "${ECHO_T}system version" >&6
3210 elif test "$wxUSE_REGEX" = builtin; then
3211 echo "$as_me:$LINENO: result: builtin version" >&5
3212 echo "${ECHO_T}builtin version" >&6
3213 else
3214 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3215 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3216 { (exit 1); exit 1; }; }
3217 fi
3218
3219
3220 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3221 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3222 no_cache=0
3223
3224 # Check whether --with-zlib or --without-zlib was given.
3225 if test "${with_zlib+set}" = set; then
3226 withval="$with_zlib"
3227
3228 if test "$withval" = yes; then
3229 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3230 elif test "$withval" = no; then
3231 ac_cv_use_zlib='wxUSE_ZLIB=no'
3232 elif test "$withval" = sys; then
3233 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3234 elif test "$withval" = builtin; then
3235 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3236 else
3237 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3238 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3239 { (exit 1); exit 1; }; }
3240 fi
3241
3242 else
3243
3244 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3245 if test "x$LINE" != x ; then
3246 eval "DEFAULT_$LINE"
3247 else
3248 no_cache=1
3249 fi
3250
3251 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3252
3253 fi;
3254
3255 eval "$ac_cv_use_zlib"
3256 if test "$no_cache" != 1; then
3257 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3258 fi
3259
3260 if test "$wxUSE_ZLIB" = yes; then
3261 echo "$as_me:$LINENO: result: yes" >&5
3262 echo "${ECHO_T}yes" >&6
3263 elif test "$wxUSE_ZLIB" = no; then
3264 echo "$as_me:$LINENO: result: no" >&5
3265 echo "${ECHO_T}no" >&6
3266 elif test "$wxUSE_ZLIB" = sys; then
3267 echo "$as_me:$LINENO: result: system version" >&5
3268 echo "${ECHO_T}system version" >&6
3269 elif test "$wxUSE_ZLIB" = builtin; then
3270 echo "$as_me:$LINENO: result: builtin version" >&5
3271 echo "${ECHO_T}builtin version" >&6
3272 else
3273 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3274 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3275 { (exit 1); exit 1; }; }
3276 fi
3277
3278
3279 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3280 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3281 no_cache=0
3282
3283 # Check whether --with-odbc or --without-odbc was given.
3284 if test "${with_odbc+set}" = set; then
3285 withval="$with_odbc"
3286
3287 if test "$withval" = yes; then
3288 ac_cv_use_odbc='wxUSE_ODBC=yes'
3289 elif test "$withval" = no; then
3290 ac_cv_use_odbc='wxUSE_ODBC=no'
3291 elif test "$withval" = sys; then
3292 ac_cv_use_odbc='wxUSE_ODBC=sys'
3293 elif test "$withval" = builtin; then
3294 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3295 else
3296 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3297 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3298 { (exit 1); exit 1; }; }
3299 fi
3300
3301 else
3302
3303 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3304 if test "x$LINE" != x ; then
3305 eval "DEFAULT_$LINE"
3306 else
3307 no_cache=1
3308 fi
3309
3310 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3311
3312 fi;
3313
3314 eval "$ac_cv_use_odbc"
3315 if test "$no_cache" != 1; then
3316 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3317 fi
3318
3319 if test "$wxUSE_ODBC" = yes; then
3320 echo "$as_me:$LINENO: result: yes" >&5
3321 echo "${ECHO_T}yes" >&6
3322 elif test "$wxUSE_ODBC" = no; then
3323 echo "$as_me:$LINENO: result: no" >&5
3324 echo "${ECHO_T}no" >&6
3325 elif test "$wxUSE_ODBC" = sys; then
3326 echo "$as_me:$LINENO: result: system version" >&5
3327 echo "${ECHO_T}system version" >&6
3328 elif test "$wxUSE_ODBC" = builtin; then
3329 echo "$as_me:$LINENO: result: builtin version" >&5
3330 echo "${ECHO_T}builtin version" >&6
3331 else
3332 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3333 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3334 { (exit 1); exit 1; }; }
3335 fi
3336
3337
3338 echo "$as_me:$LINENO: checking for --with-expat" >&5
3339 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3340 no_cache=0
3341
3342 # Check whether --with-expat or --without-expat was given.
3343 if test "${with_expat+set}" = set; then
3344 withval="$with_expat"
3345
3346 if test "$withval" = yes; then
3347 ac_cv_use_expat='wxUSE_EXPAT=yes'
3348 elif test "$withval" = no; then
3349 ac_cv_use_expat='wxUSE_EXPAT=no'
3350 elif test "$withval" = sys; then
3351 ac_cv_use_expat='wxUSE_EXPAT=sys'
3352 elif test "$withval" = builtin; then
3353 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3354 else
3355 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3356 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3357 { (exit 1); exit 1; }; }
3358 fi
3359
3360 else
3361
3362 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3363 if test "x$LINE" != x ; then
3364 eval "DEFAULT_$LINE"
3365 else
3366 no_cache=1
3367 fi
3368
3369 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3370
3371 fi;
3372
3373 eval "$ac_cv_use_expat"
3374 if test "$no_cache" != 1; then
3375 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3376 fi
3377
3378 if test "$wxUSE_EXPAT" = yes; then
3379 echo "$as_me:$LINENO: result: yes" >&5
3380 echo "${ECHO_T}yes" >&6
3381 elif test "$wxUSE_EXPAT" = no; then
3382 echo "$as_me:$LINENO: result: no" >&5
3383 echo "${ECHO_T}no" >&6
3384 elif test "$wxUSE_EXPAT" = sys; then
3385 echo "$as_me:$LINENO: result: system version" >&5
3386 echo "${ECHO_T}system version" >&6
3387 elif test "$wxUSE_EXPAT" = builtin; then
3388 echo "$as_me:$LINENO: result: builtin version" >&5
3389 echo "${ECHO_T}builtin version" >&6
3390 else
3391 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3392 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3393 { (exit 1); exit 1; }; }
3394 fi
3395
3396
3397
3398
3399 enablestring=
3400 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3401 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3402 no_cache=0
3403 # Check whether --enable-shared or --disable-shared was given.
3404 if test "${enable_shared+set}" = set; then
3405 enableval="$enable_shared"
3406
3407 if test "$enableval" = yes; then
3408 ac_cv_use_shared='wxUSE_SHARED=yes'
3409 else
3410 ac_cv_use_shared='wxUSE_SHARED=no'
3411 fi
3412
3413 else
3414
3415 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3416 if test "x$LINE" != x ; then
3417 eval "DEFAULT_$LINE"
3418 else
3419 no_cache=1
3420 fi
3421
3422 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3423
3424 fi;
3425
3426 eval "$ac_cv_use_shared"
3427 if test "$no_cache" != 1; then
3428 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3429 fi
3430
3431 if test "$wxUSE_SHARED" = yes; then
3432 echo "$as_me:$LINENO: result: yes" >&5
3433 echo "${ECHO_T}yes" >&6
3434 else
3435 echo "$as_me:$LINENO: result: no" >&5
3436 echo "${ECHO_T}no" >&6
3437 fi
3438
3439
3440 enablestring=
3441 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3442 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3443 no_cache=0
3444 # Check whether --enable-optimise or --disable-optimise was given.
3445 if test "${enable_optimise+set}" = set; then
3446 enableval="$enable_optimise"
3447
3448 if test "$enableval" = yes; then
3449 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3450 else
3451 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3452 fi
3453
3454 else
3455
3456 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3457 if test "x$LINE" != x ; then
3458 eval "DEFAULT_$LINE"
3459 else
3460 no_cache=1
3461 fi
3462
3463 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3464
3465 fi;
3466
3467 eval "$ac_cv_use_optimise"
3468 if test "$no_cache" != 1; then
3469 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3470 fi
3471
3472 if test "$wxUSE_OPTIMISE" = yes; then
3473 echo "$as_me:$LINENO: result: yes" >&5
3474 echo "${ECHO_T}yes" >&6
3475 else
3476 echo "$as_me:$LINENO: result: no" >&5
3477 echo "${ECHO_T}no" >&6
3478 fi
3479
3480
3481 enablestring=
3482 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3483 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3484 no_cache=0
3485 # Check whether --enable-debug or --disable-debug was given.
3486 if test "${enable_debug+set}" = set; then
3487 enableval="$enable_debug"
3488
3489 if test "$enableval" = yes; then
3490 ac_cv_use_debug='wxUSE_DEBUG=yes'
3491 else
3492 ac_cv_use_debug='wxUSE_DEBUG=no'
3493 fi
3494
3495 else
3496
3497 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3498 if test "x$LINE" != x ; then
3499 eval "DEFAULT_$LINE"
3500 else
3501 no_cache=1
3502 fi
3503
3504 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3505
3506 fi;
3507
3508 eval "$ac_cv_use_debug"
3509 if test "$no_cache" != 1; then
3510 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3511 fi
3512
3513 if test "$wxUSE_DEBUG" = yes; then
3514 echo "$as_me:$LINENO: result: yes" >&5
3515 echo "${ECHO_T}yes" >&6
3516 else
3517 echo "$as_me:$LINENO: result: no" >&5
3518 echo "${ECHO_T}no" >&6
3519 fi
3520
3521
3522 enablestring=
3523 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3524 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3525 no_cache=0
3526 # Check whether --enable-stl or --disable-stl was given.
3527 if test "${enable_stl+set}" = set; then
3528 enableval="$enable_stl"
3529
3530 if test "$enableval" = yes; then
3531 ac_cv_use_stl='wxUSE_STL=yes'
3532 else
3533 ac_cv_use_stl='wxUSE_STL=no'
3534 fi
3535
3536 else
3537
3538 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3539 if test "x$LINE" != x ; then
3540 eval "DEFAULT_$LINE"
3541 else
3542 no_cache=1
3543 fi
3544
3545 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3546
3547 fi;
3548
3549 eval "$ac_cv_use_stl"
3550 if test "$no_cache" != 1; then
3551 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3552 fi
3553
3554 if test "$wxUSE_STL" = yes; then
3555 echo "$as_me:$LINENO: result: yes" >&5
3556 echo "${ECHO_T}yes" >&6
3557 else
3558 echo "$as_me:$LINENO: result: no" >&5
3559 echo "${ECHO_T}no" >&6
3560 fi
3561
3562 if test "$USE_OS2" = "1"; then
3563
3564 enablestring=
3565 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3566 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3567 no_cache=0
3568 # Check whether --enable-omf or --disable-omf was given.
3569 if test "${enable_omf+set}" = set; then
3570 enableval="$enable_omf"
3571
3572 if test "$enableval" = yes; then
3573 ac_cv_use_omf='wxUSE_OMF=yes'
3574 else
3575 ac_cv_use_omf='wxUSE_OMF=no'
3576 fi
3577
3578 else
3579
3580 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3581 if test "x$LINE" != x ; then
3582 eval "DEFAULT_$LINE"
3583 else
3584 no_cache=1
3585 fi
3586
3587 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3588
3589 fi;
3590
3591 eval "$ac_cv_use_omf"
3592 if test "$no_cache" != 1; then
3593 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3594 fi
3595
3596 if test "$wxUSE_OMF" = yes; then
3597 echo "$as_me:$LINENO: result: yes" >&5
3598 echo "${ECHO_T}yes" >&6
3599 else
3600 echo "$as_me:$LINENO: result: no" >&5
3601 echo "${ECHO_T}no" >&6
3602 fi
3603
3604 fi
3605
3606 if test "$wxUSE_DEBUG" = "yes"; then
3607 DEFAULT_wxUSE_DEBUG_FLAG=yes
3608 DEFAULT_wxUSE_DEBUG_INFO=yes
3609 BUILD=debug
3610 elif test "$wxUSE_DEBUG" = "no"; then
3611 DEFAULT_wxUSE_DEBUG_FLAG=no
3612 DEFAULT_wxUSE_DEBUG_INFO=no
3613 BUILD=release
3614 fi
3615
3616
3617 enablestring=
3618 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3619 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3620 no_cache=0
3621 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3622 if test "${enable_debug_flag+set}" = set; then
3623 enableval="$enable_debug_flag"
3624
3625 if test "$enableval" = yes; then
3626 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3627 else
3628 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3629 fi
3630
3631 else
3632
3633 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3634 if test "x$LINE" != x ; then
3635 eval "DEFAULT_$LINE"
3636 else
3637 no_cache=1
3638 fi
3639
3640 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3641
3642 fi;
3643
3644 eval "$ac_cv_use_debug_flag"
3645 if test "$no_cache" != 1; then
3646 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3647 fi
3648
3649 if test "$wxUSE_DEBUG_FLAG" = yes; then
3650 echo "$as_me:$LINENO: result: yes" >&5
3651 echo "${ECHO_T}yes" >&6
3652 else
3653 echo "$as_me:$LINENO: result: no" >&5
3654 echo "${ECHO_T}no" >&6
3655 fi
3656
3657
3658 enablestring=
3659 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3660 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3661 no_cache=0
3662 # Check whether --enable-debug_info or --disable-debug_info was given.
3663 if test "${enable_debug_info+set}" = set; then
3664 enableval="$enable_debug_info"
3665
3666 if test "$enableval" = yes; then
3667 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3668 else
3669 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3670 fi
3671
3672 else
3673
3674 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3675 if test "x$LINE" != x ; then
3676 eval "DEFAULT_$LINE"
3677 else
3678 no_cache=1
3679 fi
3680
3681 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3682
3683 fi;
3684
3685 eval "$ac_cv_use_debug_info"
3686 if test "$no_cache" != 1; then
3687 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3688 fi
3689
3690 if test "$wxUSE_DEBUG_INFO" = yes; then
3691 echo "$as_me:$LINENO: result: yes" >&5
3692 echo "${ECHO_T}yes" >&6
3693 else
3694 echo "$as_me:$LINENO: result: no" >&5
3695 echo "${ECHO_T}no" >&6
3696 fi
3697
3698
3699 enablestring=
3700 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3701 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3702 no_cache=0
3703 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3704 if test "${enable_debug_gdb+set}" = set; then
3705 enableval="$enable_debug_gdb"
3706
3707 if test "$enableval" = yes; then
3708 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3709 else
3710 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3711 fi
3712
3713 else
3714
3715 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3716 if test "x$LINE" != x ; then
3717 eval "DEFAULT_$LINE"
3718 else
3719 no_cache=1
3720 fi
3721
3722 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3723
3724 fi;
3725
3726 eval "$ac_cv_use_debug_gdb"
3727 if test "$no_cache" != 1; then
3728 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3729 fi
3730
3731 if test "$wxUSE_DEBUG_GDB" = yes; then
3732 echo "$as_me:$LINENO: result: yes" >&5
3733 echo "${ECHO_T}yes" >&6
3734 else
3735 echo "$as_me:$LINENO: result: no" >&5
3736 echo "${ECHO_T}no" >&6
3737 fi
3738
3739
3740 enablestring=
3741 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3742 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3743 no_cache=0
3744 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3745 if test "${enable_debug_cntxt+set}" = set; then
3746 enableval="$enable_debug_cntxt"
3747
3748 if test "$enableval" = yes; then
3749 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3750 else
3751 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3752 fi
3753
3754 else
3755
3756 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3757 if test "x$LINE" != x ; then
3758 eval "DEFAULT_$LINE"
3759 else
3760 no_cache=1
3761 fi
3762
3763 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3764
3765 fi;
3766
3767 eval "$ac_cv_use_debug_cntxt"
3768 if test "$no_cache" != 1; then
3769 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3770 fi
3771
3772 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3773 echo "$as_me:$LINENO: result: yes" >&5
3774 echo "${ECHO_T}yes" >&6
3775 else
3776 echo "$as_me:$LINENO: result: no" >&5
3777 echo "${ECHO_T}no" >&6
3778 fi
3779
3780
3781 enablestring=
3782 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3783 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3784 no_cache=0
3785 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3786 if test "${enable_mem_tracing+set}" = set; then
3787 enableval="$enable_mem_tracing"
3788
3789 if test "$enableval" = yes; then
3790 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3791 else
3792 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3793 fi
3794
3795 else
3796
3797 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3798 if test "x$LINE" != x ; then
3799 eval "DEFAULT_$LINE"
3800 else
3801 no_cache=1
3802 fi
3803
3804 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3805
3806 fi;
3807
3808 eval "$ac_cv_use_mem_tracing"
3809 if test "$no_cache" != 1; then
3810 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3811 fi
3812
3813 if test "$wxUSE_MEM_TRACING" = yes; then
3814 echo "$as_me:$LINENO: result: yes" >&5
3815 echo "${ECHO_T}yes" >&6
3816 else
3817 echo "$as_me:$LINENO: result: no" >&5
3818 echo "${ECHO_T}no" >&6
3819 fi
3820
3821
3822 enablestring=
3823 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3824 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3825 no_cache=0
3826 # Check whether --enable-profile or --disable-profile was given.
3827 if test "${enable_profile+set}" = set; then
3828 enableval="$enable_profile"
3829
3830 if test "$enableval" = yes; then
3831 ac_cv_use_profile='wxUSE_PROFILE=yes'
3832 else
3833 ac_cv_use_profile='wxUSE_PROFILE=no'
3834 fi
3835
3836 else
3837
3838 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3839 if test "x$LINE" != x ; then
3840 eval "DEFAULT_$LINE"
3841 else
3842 no_cache=1
3843 fi
3844
3845 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3846
3847 fi;
3848
3849 eval "$ac_cv_use_profile"
3850 if test "$no_cache" != 1; then
3851 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3852 fi
3853
3854 if test "$wxUSE_PROFILE" = yes; then
3855 echo "$as_me:$LINENO: result: yes" >&5
3856 echo "${ECHO_T}yes" >&6
3857 else
3858 echo "$as_me:$LINENO: result: no" >&5
3859 echo "${ECHO_T}no" >&6
3860 fi
3861
3862
3863 enablestring=
3864 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3865 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3866 no_cache=0
3867 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3868 if test "${enable_no_rtti+set}" = set; then
3869 enableval="$enable_no_rtti"
3870
3871 if test "$enableval" = yes; then
3872 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3873 else
3874 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3875 fi
3876
3877 else
3878
3879 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3880 if test "x$LINE" != x ; then
3881 eval "DEFAULT_$LINE"
3882 else
3883 no_cache=1
3884 fi
3885
3886 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3887
3888 fi;
3889
3890 eval "$ac_cv_use_no_rtti"
3891 if test "$no_cache" != 1; then
3892 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3893 fi
3894
3895 if test "$wxUSE_NO_RTTI" = yes; then
3896 echo "$as_me:$LINENO: result: yes" >&5
3897 echo "${ECHO_T}yes" >&6
3898 else
3899 echo "$as_me:$LINENO: result: no" >&5
3900 echo "${ECHO_T}no" >&6
3901 fi
3902
3903
3904 enablestring=
3905 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3906 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3907 no_cache=0
3908 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3909 if test "${enable_no_exceptions+set}" = set; then
3910 enableval="$enable_no_exceptions"
3911
3912 if test "$enableval" = yes; then
3913 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3914 else
3915 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3916 fi
3917
3918 else
3919
3920 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3921 if test "x$LINE" != x ; then
3922 eval "DEFAULT_$LINE"
3923 else
3924 no_cache=1
3925 fi
3926
3927 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3928
3929 fi;
3930
3931 eval "$ac_cv_use_no_exceptions"
3932 if test "$no_cache" != 1; then
3933 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3934 fi
3935
3936 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3937 echo "$as_me:$LINENO: result: yes" >&5
3938 echo "${ECHO_T}yes" >&6
3939 else
3940 echo "$as_me:$LINENO: result: no" >&5
3941 echo "${ECHO_T}no" >&6
3942 fi
3943
3944
3945 enablestring=
3946 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3947 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3948 no_cache=0
3949 # Check whether --enable-permissive or --disable-permissive was given.
3950 if test "${enable_permissive+set}" = set; then
3951 enableval="$enable_permissive"
3952
3953 if test "$enableval" = yes; then
3954 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
3955 else
3956 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
3957 fi
3958
3959 else
3960
3961 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3962 if test "x$LINE" != x ; then
3963 eval "DEFAULT_$LINE"
3964 else
3965 no_cache=1
3966 fi
3967
3968 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3969
3970 fi;
3971
3972 eval "$ac_cv_use_permissive"
3973 if test "$no_cache" != 1; then
3974 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3975 fi
3976
3977 if test "$wxUSE_PERMISSIVE" = yes; then
3978 echo "$as_me:$LINENO: result: yes" >&5
3979 echo "${ECHO_T}yes" >&6
3980 else
3981 echo "$as_me:$LINENO: result: no" >&5
3982 echo "${ECHO_T}no" >&6
3983 fi
3984
3985
3986 enablestring=
3987 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3988 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3989 no_cache=0
3990 # Check whether --enable-no_deps or --disable-no_deps was given.
3991 if test "${enable_no_deps+set}" = set; then
3992 enableval="$enable_no_deps"
3993
3994 if test "$enableval" = yes; then
3995 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
3996 else
3997 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
3998 fi
3999
4000 else
4001
4002 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4003 if test "x$LINE" != x ; then
4004 eval "DEFAULT_$LINE"
4005 else
4006 no_cache=1
4007 fi
4008
4009 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4010
4011 fi;
4012
4013 eval "$ac_cv_use_no_deps"
4014 if test "$no_cache" != 1; then
4015 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4016 fi
4017
4018 if test "$wxUSE_NO_DEPS" = yes; then
4019 echo "$as_me:$LINENO: result: yes" >&5
4020 echo "${ECHO_T}yes" >&6
4021 else
4022 echo "$as_me:$LINENO: result: no" >&5
4023 echo "${ECHO_T}no" >&6
4024 fi
4025
4026
4027
4028 enablestring=
4029 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4030 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4031 no_cache=0
4032 # Check whether --enable-compat22 or --disable-compat22 was given.
4033 if test "${enable_compat22+set}" = set; then
4034 enableval="$enable_compat22"
4035
4036 if test "$enableval" = yes; then
4037 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
4038 else
4039 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
4040 fi
4041
4042 else
4043
4044 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4045 if test "x$LINE" != x ; then
4046 eval "DEFAULT_$LINE"
4047 else
4048 no_cache=1
4049 fi
4050
4051 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4052
4053 fi;
4054
4055 eval "$ac_cv_use_compat22"
4056 if test "$no_cache" != 1; then
4057 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4058 fi
4059
4060 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4061 echo "$as_me:$LINENO: result: yes" >&5
4062 echo "${ECHO_T}yes" >&6
4063 else
4064 echo "$as_me:$LINENO: result: no" >&5
4065 echo "${ECHO_T}no" >&6
4066 fi
4067
4068
4069 enablestring=disable
4070 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4071 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4072 no_cache=0
4073 # Check whether --enable-compat24 or --disable-compat24 was given.
4074 if test "${enable_compat24+set}" = set; then
4075 enableval="$enable_compat24"
4076
4077 if test "$enableval" = yes; then
4078 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4079 else
4080 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4081 fi
4082
4083 else
4084
4085 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4086 if test "x$LINE" != x ; then
4087 eval "DEFAULT_$LINE"
4088 else
4089 no_cache=1
4090 fi
4091
4092 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4093
4094 fi;
4095
4096 eval "$ac_cv_use_compat24"
4097 if test "$no_cache" != 1; then
4098 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4099 fi
4100
4101 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4102 echo "$as_me:$LINENO: result: yes" >&5
4103 echo "${ECHO_T}yes" >&6
4104 else
4105 echo "$as_me:$LINENO: result: no" >&5
4106 echo "${ECHO_T}no" >&6
4107 fi
4108
4109
4110 # Check whether --enable-rpath or --disable-rpath was given.
4111 if test "${enable_rpath+set}" = set; then
4112 enableval="$enable_rpath"
4113 wxRPATH_DIR="$enableval"
4114 fi;
4115
4116 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable" -a "$wxRPATH_DIR" != "no"; then
4117 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
4118 fi
4119
4120
4121
4122
4123 enablestring=
4124 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4125 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4126 no_cache=0
4127 # Check whether --enable-intl or --disable-intl was given.
4128 if test "${enable_intl+set}" = set; then
4129 enableval="$enable_intl"
4130
4131 if test "$enableval" = yes; then
4132 ac_cv_use_intl='wxUSE_INTL=yes'
4133 else
4134 ac_cv_use_intl='wxUSE_INTL=no'
4135 fi
4136
4137 else
4138
4139 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4140 if test "x$LINE" != x ; then
4141 eval "DEFAULT_$LINE"
4142 else
4143 no_cache=1
4144 fi
4145
4146 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4147
4148 fi;
4149
4150 eval "$ac_cv_use_intl"
4151 if test "$no_cache" != 1; then
4152 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4153 fi
4154
4155 if test "$wxUSE_INTL" = yes; then
4156 echo "$as_me:$LINENO: result: yes" >&5
4157 echo "${ECHO_T}yes" >&6
4158 else
4159 echo "$as_me:$LINENO: result: no" >&5
4160 echo "${ECHO_T}no" >&6
4161 fi
4162
4163
4164 enablestring=
4165 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4166 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4167 no_cache=0
4168 # Check whether --enable-config or --disable-config was given.
4169 if test "${enable_config+set}" = set; then
4170 enableval="$enable_config"
4171
4172 if test "$enableval" = yes; then
4173 ac_cv_use_config='wxUSE_CONFIG=yes'
4174 else
4175 ac_cv_use_config='wxUSE_CONFIG=no'
4176 fi
4177
4178 else
4179
4180 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4181 if test "x$LINE" != x ; then
4182 eval "DEFAULT_$LINE"
4183 else
4184 no_cache=1
4185 fi
4186
4187 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4188
4189 fi;
4190
4191 eval "$ac_cv_use_config"
4192 if test "$no_cache" != 1; then
4193 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4194 fi
4195
4196 if test "$wxUSE_CONFIG" = yes; then
4197 echo "$as_me:$LINENO: result: yes" >&5
4198 echo "${ECHO_T}yes" >&6
4199 else
4200 echo "$as_me:$LINENO: result: no" >&5
4201 echo "${ECHO_T}no" >&6
4202 fi
4203
4204
4205
4206 enablestring=
4207 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4208 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4209 no_cache=0
4210 # Check whether --enable-protocols or --disable-protocols was given.
4211 if test "${enable_protocols+set}" = set; then
4212 enableval="$enable_protocols"
4213
4214 if test "$enableval" = yes; then
4215 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4216 else
4217 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4218 fi
4219
4220 else
4221
4222 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4223 if test "x$LINE" != x ; then
4224 eval "DEFAULT_$LINE"
4225 else
4226 no_cache=1
4227 fi
4228
4229 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4230
4231 fi;
4232
4233 eval "$ac_cv_use_protocols"
4234 if test "$no_cache" != 1; then
4235 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4236 fi
4237
4238 if test "$wxUSE_PROTOCOL" = yes; then
4239 echo "$as_me:$LINENO: result: yes" >&5
4240 echo "${ECHO_T}yes" >&6
4241 else
4242 echo "$as_me:$LINENO: result: no" >&5
4243 echo "${ECHO_T}no" >&6
4244 fi
4245
4246
4247 enablestring=
4248 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4249 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4250 no_cache=0
4251 # Check whether --enable-ftp or --disable-ftp was given.
4252 if test "${enable_ftp+set}" = set; then
4253 enableval="$enable_ftp"
4254
4255 if test "$enableval" = yes; then
4256 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4257 else
4258 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4259 fi
4260
4261 else
4262
4263 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4264 if test "x$LINE" != x ; then
4265 eval "DEFAULT_$LINE"
4266 else
4267 no_cache=1
4268 fi
4269
4270 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4271
4272 fi;
4273
4274 eval "$ac_cv_use_ftp"
4275 if test "$no_cache" != 1; then
4276 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4277 fi
4278
4279 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4280 echo "$as_me:$LINENO: result: yes" >&5
4281 echo "${ECHO_T}yes" >&6
4282 else
4283 echo "$as_me:$LINENO: result: no" >&5
4284 echo "${ECHO_T}no" >&6
4285 fi
4286
4287
4288 enablestring=
4289 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4290 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4291 no_cache=0
4292 # Check whether --enable-http or --disable-http was given.
4293 if test "${enable_http+set}" = set; then
4294 enableval="$enable_http"
4295
4296 if test "$enableval" = yes; then
4297 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4298 else
4299 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4300 fi
4301
4302 else
4303
4304 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4305 if test "x$LINE" != x ; then
4306 eval "DEFAULT_$LINE"
4307 else
4308 no_cache=1
4309 fi
4310
4311 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4312
4313 fi;
4314
4315 eval "$ac_cv_use_http"
4316 if test "$no_cache" != 1; then
4317 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4318 fi
4319
4320 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4321 echo "$as_me:$LINENO: result: yes" >&5
4322 echo "${ECHO_T}yes" >&6
4323 else
4324 echo "$as_me:$LINENO: result: no" >&5
4325 echo "${ECHO_T}no" >&6
4326 fi
4327
4328
4329 enablestring=
4330 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4331 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4332 no_cache=0
4333 # Check whether --enable-fileproto or --disable-fileproto was given.
4334 if test "${enable_fileproto+set}" = set; then
4335 enableval="$enable_fileproto"
4336
4337 if test "$enableval" = yes; then
4338 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4339 else
4340 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4341 fi
4342
4343 else
4344
4345 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4346 if test "x$LINE" != x ; then
4347 eval "DEFAULT_$LINE"
4348 else
4349 no_cache=1
4350 fi
4351
4352 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4353
4354 fi;
4355
4356 eval "$ac_cv_use_fileproto"
4357 if test "$no_cache" != 1; then
4358 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4359 fi
4360
4361 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4362 echo "$as_me:$LINENO: result: yes" >&5
4363 echo "${ECHO_T}yes" >&6
4364 else
4365 echo "$as_me:$LINENO: result: no" >&5
4366 echo "${ECHO_T}no" >&6
4367 fi
4368
4369
4370 enablestring=
4371 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4372 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4373 no_cache=0
4374 # Check whether --enable-sockets or --disable-sockets was given.
4375 if test "${enable_sockets+set}" = set; then
4376 enableval="$enable_sockets"
4377
4378 if test "$enableval" = yes; then
4379 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4380 else
4381 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4382 fi
4383
4384 else
4385
4386 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4387 if test "x$LINE" != x ; then
4388 eval "DEFAULT_$LINE"
4389 else
4390 no_cache=1
4391 fi
4392
4393 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4394
4395 fi;
4396
4397 eval "$ac_cv_use_sockets"
4398 if test "$no_cache" != 1; then
4399 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4400 fi
4401
4402 if test "$wxUSE_SOCKETS" = yes; then
4403 echo "$as_me:$LINENO: result: yes" >&5
4404 echo "${ECHO_T}yes" >&6
4405 else
4406 echo "$as_me:$LINENO: result: no" >&5
4407 echo "${ECHO_T}no" >&6
4408 fi
4409
4410
4411 enablestring=
4412 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4413 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4414 no_cache=0
4415 # Check whether --enable-ole or --disable-ole was given.
4416 if test "${enable_ole+set}" = set; then
4417 enableval="$enable_ole"
4418
4419 if test "$enableval" = yes; then
4420 ac_cv_use_ole='wxUSE_OLE=yes'
4421 else
4422 ac_cv_use_ole='wxUSE_OLE=no'
4423 fi
4424
4425 else
4426
4427 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4428 if test "x$LINE" != x ; then
4429 eval "DEFAULT_$LINE"
4430 else
4431 no_cache=1
4432 fi
4433
4434 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4435
4436 fi;
4437
4438 eval "$ac_cv_use_ole"
4439 if test "$no_cache" != 1; then
4440 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4441 fi
4442
4443 if test "$wxUSE_OLE" = yes; then
4444 echo "$as_me:$LINENO: result: yes" >&5
4445 echo "${ECHO_T}yes" >&6
4446 else
4447 echo "$as_me:$LINENO: result: no" >&5
4448 echo "${ECHO_T}no" >&6
4449 fi
4450
4451
4452 enablestring=
4453 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4454 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4455 no_cache=0
4456 # Check whether --enable-dataobj or --disable-dataobj was given.
4457 if test "${enable_dataobj+set}" = set; then
4458 enableval="$enable_dataobj"
4459
4460 if test "$enableval" = yes; then
4461 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4462 else
4463 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4464 fi
4465
4466 else
4467
4468 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4469 if test "x$LINE" != x ; then
4470 eval "DEFAULT_$LINE"
4471 else
4472 no_cache=1
4473 fi
4474
4475 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4476
4477 fi;
4478
4479 eval "$ac_cv_use_dataobj"
4480 if test "$no_cache" != 1; then
4481 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4482 fi
4483
4484 if test "$wxUSE_DATAOBJ" = yes; then
4485 echo "$as_me:$LINENO: result: yes" >&5
4486 echo "${ECHO_T}yes" >&6
4487 else
4488 echo "$as_me:$LINENO: result: no" >&5
4489 echo "${ECHO_T}no" >&6
4490 fi
4491
4492
4493
4494 enablestring=
4495 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4496 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4497 no_cache=0
4498 # Check whether --enable-ipc or --disable-ipc was given.
4499 if test "${enable_ipc+set}" = set; then
4500 enableval="$enable_ipc"
4501
4502 if test "$enableval" = yes; then
4503 ac_cv_use_ipc='wxUSE_IPC=yes'
4504 else
4505 ac_cv_use_ipc='wxUSE_IPC=no'
4506 fi
4507
4508 else
4509
4510 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4511 if test "x$LINE" != x ; then
4512 eval "DEFAULT_$LINE"
4513 else
4514 no_cache=1
4515 fi
4516
4517 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4518
4519 fi;
4520
4521 eval "$ac_cv_use_ipc"
4522 if test "$no_cache" != 1; then
4523 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4524 fi
4525
4526 if test "$wxUSE_IPC" = yes; then
4527 echo "$as_me:$LINENO: result: yes" >&5
4528 echo "${ECHO_T}yes" >&6
4529 else
4530 echo "$as_me:$LINENO: result: no" >&5
4531 echo "${ECHO_T}no" >&6
4532 fi
4533
4534
4535
4536 enablestring=
4537 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4538 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4539 no_cache=0
4540 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4541 if test "${enable_apple_ieee+set}" = set; then
4542 enableval="$enable_apple_ieee"
4543
4544 if test "$enableval" = yes; then
4545 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4546 else
4547 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4548 fi
4549
4550 else
4551
4552 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4553 if test "x$LINE" != x ; then
4554 eval "DEFAULT_$LINE"
4555 else
4556 no_cache=1
4557 fi
4558
4559 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4560
4561 fi;
4562
4563 eval "$ac_cv_use_apple_ieee"
4564 if test "$no_cache" != 1; then
4565 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4566 fi
4567
4568 if test "$wxUSE_APPLE_IEEE" = yes; then
4569 echo "$as_me:$LINENO: result: yes" >&5
4570 echo "${ECHO_T}yes" >&6
4571 else
4572 echo "$as_me:$LINENO: result: no" >&5
4573 echo "${ECHO_T}no" >&6
4574 fi
4575
4576
4577 enablestring=
4578 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4579 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4580 no_cache=0
4581 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4582 if test "${enable_catch_segvs+set}" = set; then
4583 enableval="$enable_catch_segvs"
4584
4585 if test "$enableval" = yes; then
4586 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4587 else
4588 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4589 fi
4590
4591 else
4592
4593 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4594 if test "x$LINE" != x ; then
4595 eval "DEFAULT_$LINE"
4596 else
4597 no_cache=1
4598 fi
4599
4600 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4601
4602 fi;
4603
4604 eval "$ac_cv_use_catch_segvs"
4605 if test "$no_cache" != 1; then
4606 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4607 fi
4608
4609 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4610 echo "$as_me:$LINENO: result: yes" >&5
4611 echo "${ECHO_T}yes" >&6
4612 else
4613 echo "$as_me:$LINENO: result: no" >&5
4614 echo "${ECHO_T}no" >&6
4615 fi
4616
4617
4618 enablestring=
4619 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4620 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4621 no_cache=0
4622 # Check whether --enable-cmdline or --disable-cmdline was given.
4623 if test "${enable_cmdline+set}" = set; then
4624 enableval="$enable_cmdline"
4625
4626 if test "$enableval" = yes; then
4627 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4628 else
4629 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4630 fi
4631
4632 else
4633
4634 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4635 if test "x$LINE" != x ; then
4636 eval "DEFAULT_$LINE"
4637 else
4638 no_cache=1
4639 fi
4640
4641 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4642
4643 fi;
4644
4645 eval "$ac_cv_use_cmdline"
4646 if test "$no_cache" != 1; then
4647 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4648 fi
4649
4650 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4651 echo "$as_me:$LINENO: result: yes" >&5
4652 echo "${ECHO_T}yes" >&6
4653 else
4654 echo "$as_me:$LINENO: result: no" >&5
4655 echo "${ECHO_T}no" >&6
4656 fi
4657
4658
4659 enablestring=
4660 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4661 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4662 no_cache=0
4663 # Check whether --enable-datetime or --disable-datetime was given.
4664 if test "${enable_datetime+set}" = set; then
4665 enableval="$enable_datetime"
4666
4667 if test "$enableval" = yes; then
4668 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4669 else
4670 ac_cv_use_datetime='wxUSE_DATETIME=no'
4671 fi
4672
4673 else
4674
4675 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4676 if test "x$LINE" != x ; then
4677 eval "DEFAULT_$LINE"
4678 else
4679 no_cache=1
4680 fi
4681
4682 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4683
4684 fi;
4685
4686 eval "$ac_cv_use_datetime"
4687 if test "$no_cache" != 1; then
4688 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4689 fi
4690
4691 if test "$wxUSE_DATETIME" = yes; then
4692 echo "$as_me:$LINENO: result: yes" >&5
4693 echo "${ECHO_T}yes" >&6
4694 else
4695 echo "$as_me:$LINENO: result: no" >&5
4696 echo "${ECHO_T}no" >&6
4697 fi
4698
4699
4700 enablestring=
4701 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4702 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4703 no_cache=0
4704 # Check whether --enable-dialupman or --disable-dialupman was given.
4705 if test "${enable_dialupman+set}" = set; then
4706 enableval="$enable_dialupman"
4707
4708 if test "$enableval" = yes; then
4709 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4710 else
4711 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4712 fi
4713
4714 else
4715
4716 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4717 if test "x$LINE" != x ; then
4718 eval "DEFAULT_$LINE"
4719 else
4720 no_cache=1
4721 fi
4722
4723 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4724
4725 fi;
4726
4727 eval "$ac_cv_use_dialupman"
4728 if test "$no_cache" != 1; then
4729 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4730 fi
4731
4732 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4733 echo "$as_me:$LINENO: result: yes" >&5
4734 echo "${ECHO_T}yes" >&6
4735 else
4736 echo "$as_me:$LINENO: result: no" >&5
4737 echo "${ECHO_T}no" >&6
4738 fi
4739
4740
4741 enablestring=
4742 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4743 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4744 no_cache=0
4745 # Check whether --enable-dynlib or --disable-dynlib was given.
4746 if test "${enable_dynlib+set}" = set; then
4747 enableval="$enable_dynlib"
4748
4749 if test "$enableval" = yes; then
4750 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4751 else
4752 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4753 fi
4754
4755 else
4756
4757 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4758 if test "x$LINE" != x ; then
4759 eval "DEFAULT_$LINE"
4760 else
4761 no_cache=1
4762 fi
4763
4764 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4765
4766 fi;
4767
4768 eval "$ac_cv_use_dynlib"
4769 if test "$no_cache" != 1; then
4770 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4771 fi
4772
4773 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4774 echo "$as_me:$LINENO: result: yes" >&5
4775 echo "${ECHO_T}yes" >&6
4776 else
4777 echo "$as_me:$LINENO: result: no" >&5
4778 echo "${ECHO_T}no" >&6
4779 fi
4780
4781
4782 enablestring=
4783 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4784 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4785 no_cache=0
4786 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4787 if test "${enable_dynamicloader+set}" = set; then
4788 enableval="$enable_dynamicloader"
4789
4790 if test "$enableval" = yes; then
4791 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4792 else
4793 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4794 fi
4795
4796 else
4797
4798 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4799 if test "x$LINE" != x ; then
4800 eval "DEFAULT_$LINE"
4801 else
4802 no_cache=1
4803 fi
4804
4805 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4806
4807 fi;
4808
4809 eval "$ac_cv_use_dynamicloader"
4810 if test "$no_cache" != 1; then
4811 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4812 fi
4813
4814 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4815 echo "$as_me:$LINENO: result: yes" >&5
4816 echo "${ECHO_T}yes" >&6
4817 else
4818 echo "$as_me:$LINENO: result: no" >&5
4819 echo "${ECHO_T}no" >&6
4820 fi
4821
4822
4823 enablestring=
4824 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4825 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4826 no_cache=0
4827 # Check whether --enable-exceptions or --disable-exceptions was given.
4828 if test "${enable_exceptions+set}" = set; then
4829 enableval="$enable_exceptions"
4830
4831 if test "$enableval" = yes; then
4832 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
4833 else
4834 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
4835 fi
4836
4837 else
4838
4839 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4840 if test "x$LINE" != x ; then
4841 eval "DEFAULT_$LINE"
4842 else
4843 no_cache=1
4844 fi
4845
4846 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4847
4848 fi;
4849
4850 eval "$ac_cv_use_exceptions"
4851 if test "$no_cache" != 1; then
4852 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4853 fi
4854
4855 if test "$wxUSE_EXCEPTIONS" = yes; then
4856 echo "$as_me:$LINENO: result: yes" >&5
4857 echo "${ECHO_T}yes" >&6
4858 else
4859 echo "$as_me:$LINENO: result: no" >&5
4860 echo "${ECHO_T}no" >&6
4861 fi
4862
4863
4864 enablestring=
4865 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4866 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4867 no_cache=0
4868 # Check whether --enable-ffile or --disable-ffile was given.
4869 if test "${enable_ffile+set}" = set; then
4870 enableval="$enable_ffile"
4871
4872 if test "$enableval" = yes; then
4873 ac_cv_use_ffile='wxUSE_FFILE=yes'
4874 else
4875 ac_cv_use_ffile='wxUSE_FFILE=no'
4876 fi
4877
4878 else
4879
4880 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4881 if test "x$LINE" != x ; then
4882 eval "DEFAULT_$LINE"
4883 else
4884 no_cache=1
4885 fi
4886
4887 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4888
4889 fi;
4890
4891 eval "$ac_cv_use_ffile"
4892 if test "$no_cache" != 1; then
4893 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4894 fi
4895
4896 if test "$wxUSE_FFILE" = yes; then
4897 echo "$as_me:$LINENO: result: yes" >&5
4898 echo "${ECHO_T}yes" >&6
4899 else
4900 echo "$as_me:$LINENO: result: no" >&5
4901 echo "${ECHO_T}no" >&6
4902 fi
4903
4904
4905 enablestring=
4906 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4907 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4908 no_cache=0
4909 # Check whether --enable-file or --disable-file was given.
4910 if test "${enable_file+set}" = set; then
4911 enableval="$enable_file"
4912
4913 if test "$enableval" = yes; then
4914 ac_cv_use_file='wxUSE_FILE=yes'
4915 else
4916 ac_cv_use_file='wxUSE_FILE=no'
4917 fi
4918
4919 else
4920
4921 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4922 if test "x$LINE" != x ; then
4923 eval "DEFAULT_$LINE"
4924 else
4925 no_cache=1
4926 fi
4927
4928 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4929
4930 fi;
4931
4932 eval "$ac_cv_use_file"
4933 if test "$no_cache" != 1; then
4934 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4935 fi
4936
4937 if test "$wxUSE_FILE" = yes; then
4938 echo "$as_me:$LINENO: result: yes" >&5
4939 echo "${ECHO_T}yes" >&6
4940 else
4941 echo "$as_me:$LINENO: result: no" >&5
4942 echo "${ECHO_T}no" >&6
4943 fi
4944
4945
4946 enablestring=
4947 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
4948 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
4949 no_cache=0
4950 # Check whether --enable-filesystem or --disable-filesystem was given.
4951 if test "${enable_filesystem+set}" = set; then
4952 enableval="$enable_filesystem"
4953
4954 if test "$enableval" = yes; then
4955 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
4956 else
4957 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
4958 fi
4959
4960 else
4961
4962 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4963 if test "x$LINE" != x ; then
4964 eval "DEFAULT_$LINE"
4965 else
4966 no_cache=1
4967 fi
4968
4969 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4970
4971 fi;
4972
4973 eval "$ac_cv_use_filesystem"
4974 if test "$no_cache" != 1; then
4975 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4976 fi
4977
4978 if test "$wxUSE_FILESYSTEM" = yes; then
4979 echo "$as_me:$LINENO: result: yes" >&5
4980 echo "${ECHO_T}yes" >&6
4981 else
4982 echo "$as_me:$LINENO: result: no" >&5
4983 echo "${ECHO_T}no" >&6
4984 fi
4985
4986
4987 enablestring=
4988 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4989 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4990 no_cache=0
4991 # Check whether --enable-fontmap or --disable-fontmap was given.
4992 if test "${enable_fontmap+set}" = set; then
4993 enableval="$enable_fontmap"
4994
4995 if test "$enableval" = yes; then
4996 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
4997 else
4998 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
4999 fi
5000
5001 else
5002
5003 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5004 if test "x$LINE" != x ; then
5005 eval "DEFAULT_$LINE"
5006 else
5007 no_cache=1
5008 fi
5009
5010 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5011
5012 fi;
5013
5014 eval "$ac_cv_use_fontmap"
5015 if test "$no_cache" != 1; then
5016 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5017 fi
5018
5019 if test "$wxUSE_FONTMAP" = yes; then
5020 echo "$as_me:$LINENO: result: yes" >&5
5021 echo "${ECHO_T}yes" >&6
5022 else
5023 echo "$as_me:$LINENO: result: no" >&5
5024 echo "${ECHO_T}no" >&6
5025 fi
5026
5027
5028 enablestring=
5029 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5030 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5031 no_cache=0
5032 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5033 if test "${enable_fs_inet+set}" = set; then
5034 enableval="$enable_fs_inet"
5035
5036 if test "$enableval" = yes; then
5037 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5038 else
5039 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5040 fi
5041
5042 else
5043
5044 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5045 if test "x$LINE" != x ; then
5046 eval "DEFAULT_$LINE"
5047 else
5048 no_cache=1
5049 fi
5050
5051 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5052
5053 fi;
5054
5055 eval "$ac_cv_use_fs_inet"
5056 if test "$no_cache" != 1; then
5057 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5058 fi
5059
5060 if test "$wxUSE_FS_INET" = yes; then
5061 echo "$as_me:$LINENO: result: yes" >&5
5062 echo "${ECHO_T}yes" >&6
5063 else
5064 echo "$as_me:$LINENO: result: no" >&5
5065 echo "${ECHO_T}no" >&6
5066 fi
5067
5068
5069 enablestring=
5070 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5071 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5072 no_cache=0
5073 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5074 if test "${enable_fs_zip+set}" = set; then
5075 enableval="$enable_fs_zip"
5076
5077 if test "$enableval" = yes; then
5078 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5079 else
5080 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5081 fi
5082
5083 else
5084
5085 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5086 if test "x$LINE" != x ; then
5087 eval "DEFAULT_$LINE"
5088 else
5089 no_cache=1
5090 fi
5091
5092 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5093
5094 fi;
5095
5096 eval "$ac_cv_use_fs_zip"
5097 if test "$no_cache" != 1; then
5098 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5099 fi
5100
5101 if test "$wxUSE_FS_ZIP" = yes; then
5102 echo "$as_me:$LINENO: result: yes" >&5
5103 echo "${ECHO_T}yes" >&6
5104 else
5105 echo "$as_me:$LINENO: result: no" >&5
5106 echo "${ECHO_T}no" >&6
5107 fi
5108
5109
5110 enablestring=
5111 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5112 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5113 no_cache=0
5114 # Check whether --enable-geometry or --disable-geometry was given.
5115 if test "${enable_geometry+set}" = set; then
5116 enableval="$enable_geometry"
5117
5118 if test "$enableval" = yes; then
5119 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5120 else
5121 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5122 fi
5123
5124 else
5125
5126 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5127 if test "x$LINE" != x ; then
5128 eval "DEFAULT_$LINE"
5129 else
5130 no_cache=1
5131 fi
5132
5133 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5134
5135 fi;
5136
5137 eval "$ac_cv_use_geometry"
5138 if test "$no_cache" != 1; then
5139 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5140 fi
5141
5142 if test "$wxUSE_GEOMETRY" = yes; then
5143 echo "$as_me:$LINENO: result: yes" >&5
5144 echo "${ECHO_T}yes" >&6
5145 else
5146 echo "$as_me:$LINENO: result: no" >&5
5147 echo "${ECHO_T}no" >&6
5148 fi
5149
5150
5151 enablestring=
5152 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5153 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5154 no_cache=0
5155 # Check whether --enable-log or --disable-log was given.
5156 if test "${enable_log+set}" = set; then
5157 enableval="$enable_log"
5158
5159 if test "$enableval" = yes; then
5160 ac_cv_use_log='wxUSE_LOG=yes'
5161 else
5162 ac_cv_use_log='wxUSE_LOG=no'
5163 fi
5164
5165 else
5166
5167 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5168 if test "x$LINE" != x ; then
5169 eval "DEFAULT_$LINE"
5170 else
5171 no_cache=1
5172 fi
5173
5174 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5175
5176 fi;
5177
5178 eval "$ac_cv_use_log"
5179 if test "$no_cache" != 1; then
5180 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5181 fi
5182
5183 if test "$wxUSE_LOG" = yes; then
5184 echo "$as_me:$LINENO: result: yes" >&5
5185 echo "${ECHO_T}yes" >&6
5186 else
5187 echo "$as_me:$LINENO: result: no" >&5
5188 echo "${ECHO_T}no" >&6
5189 fi
5190
5191
5192 enablestring=
5193 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5194 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5195 no_cache=0
5196 # Check whether --enable-longlong or --disable-longlong was given.
5197 if test "${enable_longlong+set}" = set; then
5198 enableval="$enable_longlong"
5199
5200 if test "$enableval" = yes; then
5201 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5202 else
5203 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5204 fi
5205
5206 else
5207
5208 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5209 if test "x$LINE" != x ; then
5210 eval "DEFAULT_$LINE"
5211 else
5212 no_cache=1
5213 fi
5214
5215 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5216
5217 fi;
5218
5219 eval "$ac_cv_use_longlong"
5220 if test "$no_cache" != 1; then
5221 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5222 fi
5223
5224 if test "$wxUSE_LONGLONG" = yes; then
5225 echo "$as_me:$LINENO: result: yes" >&5
5226 echo "${ECHO_T}yes" >&6
5227 else
5228 echo "$as_me:$LINENO: result: no" >&5
5229 echo "${ECHO_T}no" >&6
5230 fi
5231
5232
5233 enablestring=
5234 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5235 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5236 no_cache=0
5237 # Check whether --enable-mimetype or --disable-mimetype was given.
5238 if test "${enable_mimetype+set}" = set; then
5239 enableval="$enable_mimetype"
5240
5241 if test "$enableval" = yes; then
5242 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5243 else
5244 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5245 fi
5246
5247 else
5248
5249 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5250 if test "x$LINE" != x ; then
5251 eval "DEFAULT_$LINE"
5252 else
5253 no_cache=1
5254 fi
5255
5256 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5257
5258 fi;
5259
5260 eval "$ac_cv_use_mimetype"
5261 if test "$no_cache" != 1; then
5262 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5263 fi
5264
5265 if test "$wxUSE_MIMETYPE" = yes; then
5266 echo "$as_me:$LINENO: result: yes" >&5
5267 echo "${ECHO_T}yes" >&6
5268 else
5269 echo "$as_me:$LINENO: result: no" >&5
5270 echo "${ECHO_T}no" >&6
5271 fi
5272
5273
5274 enablestring=
5275 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5276 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5277 no_cache=0
5278 # Check whether --enable-mslu or --disable-mslu was given.
5279 if test "${enable_mslu+set}" = set; then
5280 enableval="$enable_mslu"
5281
5282 if test "$enableval" = yes; then
5283 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5284 else
5285 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5286 fi
5287
5288 else
5289
5290 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5291 if test "x$LINE" != x ; then
5292 eval "DEFAULT_$LINE"
5293 else
5294 no_cache=1
5295 fi
5296
5297 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5298
5299 fi;
5300
5301 eval "$ac_cv_use_mslu"
5302 if test "$no_cache" != 1; then
5303 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5304 fi
5305
5306 if test "$wxUSE_UNICODE_MSLU" = yes; then
5307 echo "$as_me:$LINENO: result: yes" >&5
5308 echo "${ECHO_T}yes" >&6
5309 else
5310 echo "$as_me:$LINENO: result: no" >&5
5311 echo "${ECHO_T}no" >&6
5312 fi
5313
5314
5315 enablestring=
5316 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5317 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5318 no_cache=0
5319 # Check whether --enable-snglinst or --disable-snglinst was given.
5320 if test "${enable_snglinst+set}" = set; then
5321 enableval="$enable_snglinst"
5322
5323 if test "$enableval" = yes; then
5324 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5325 else
5326 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5327 fi
5328
5329 else
5330
5331 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5332 if test "x$LINE" != x ; then
5333 eval "DEFAULT_$LINE"
5334 else
5335 no_cache=1
5336 fi
5337
5338 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5339
5340 fi;
5341
5342 eval "$ac_cv_use_snglinst"
5343 if test "$no_cache" != 1; then
5344 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5345 fi
5346
5347 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5348 echo "$as_me:$LINENO: result: yes" >&5
5349 echo "${ECHO_T}yes" >&6
5350 else
5351 echo "$as_me:$LINENO: result: no" >&5
5352 echo "${ECHO_T}no" >&6
5353 fi
5354
5355
5356 enablestring=
5357 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5358 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5359 no_cache=0
5360 # Check whether --enable-streams or --disable-streams was given.
5361 if test "${enable_streams+set}" = set; then
5362 enableval="$enable_streams"
5363
5364 if test "$enableval" = yes; then
5365 ac_cv_use_streams='wxUSE_STREAMS=yes'
5366 else
5367 ac_cv_use_streams='wxUSE_STREAMS=no'
5368 fi
5369
5370 else
5371
5372 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5373 if test "x$LINE" != x ; then
5374 eval "DEFAULT_$LINE"
5375 else
5376 no_cache=1
5377 fi
5378
5379 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5380
5381 fi;
5382
5383 eval "$ac_cv_use_streams"
5384 if test "$no_cache" != 1; then
5385 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5386 fi
5387
5388 if test "$wxUSE_STREAMS" = yes; then
5389 echo "$as_me:$LINENO: result: yes" >&5
5390 echo "${ECHO_T}yes" >&6
5391 else
5392 echo "$as_me:$LINENO: result: no" >&5
5393 echo "${ECHO_T}no" >&6
5394 fi
5395
5396
5397 enablestring=
5398 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5399 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5400 no_cache=0
5401 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5402 if test "${enable_std_iostreams+set}" = set; then
5403 enableval="$enable_std_iostreams"
5404
5405 if test "$enableval" = yes; then
5406 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5407 else
5408 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5409 fi
5410
5411 else
5412
5413 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5414 if test "x$LINE" != x ; then
5415 eval "DEFAULT_$LINE"
5416 else
5417 no_cache=1
5418 fi
5419
5420 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5421
5422 fi;
5423
5424 eval "$ac_cv_use_std_iostreams"
5425 if test "$no_cache" != 1; then
5426 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5427 fi
5428
5429 if test "$wxUSE_STD_IOSTREAM" = yes; then
5430 echo "$as_me:$LINENO: result: yes" >&5
5431 echo "${ECHO_T}yes" >&6
5432 else
5433 echo "$as_me:$LINENO: result: no" >&5
5434 echo "${ECHO_T}no" >&6
5435 fi
5436
5437
5438 enablestring=
5439 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5440 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5441 no_cache=0
5442 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5443 if test "${enable_stopwatch+set}" = set; then
5444 enableval="$enable_stopwatch"
5445
5446 if test "$enableval" = yes; then
5447 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5448 else
5449 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5450 fi
5451
5452 else
5453
5454 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5455 if test "x$LINE" != x ; then
5456 eval "DEFAULT_$LINE"
5457 else
5458 no_cache=1
5459 fi
5460
5461 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5462
5463 fi;
5464
5465 eval "$ac_cv_use_stopwatch"
5466 if test "$no_cache" != 1; then
5467 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5468 fi
5469
5470 if test "$wxUSE_STOPWATCH" = yes; then
5471 echo "$as_me:$LINENO: result: yes" >&5
5472 echo "${ECHO_T}yes" >&6
5473 else
5474 echo "$as_me:$LINENO: result: no" >&5
5475 echo "${ECHO_T}no" >&6
5476 fi
5477
5478
5479 enablestring=
5480 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5481 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5482 no_cache=0
5483 # Check whether --enable-system_options or --disable-system_options was given.
5484 if test "${enable_system_options+set}" = set; then
5485 enableval="$enable_system_options"
5486
5487 if test "$enableval" = yes; then
5488 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5489 else
5490 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5491 fi
5492
5493 else
5494
5495 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5496 if test "x$LINE" != x ; then
5497 eval "DEFAULT_$LINE"
5498 else
5499 no_cache=1
5500 fi
5501
5502 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5503
5504 fi;
5505
5506 eval "$ac_cv_use_system_options"
5507 if test "$no_cache" != 1; then
5508 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5509 fi
5510
5511 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5512 echo "$as_me:$LINENO: result: yes" >&5
5513 echo "${ECHO_T}yes" >&6
5514 else
5515 echo "$as_me:$LINENO: result: no" >&5
5516 echo "${ECHO_T}no" >&6
5517 fi
5518
5519
5520 enablestring=
5521 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5522 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5523 no_cache=0
5524 # Check whether --enable-textbuf or --disable-textbuf was given.
5525 if test "${enable_textbuf+set}" = set; then
5526 enableval="$enable_textbuf"
5527
5528 if test "$enableval" = yes; then
5529 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
5530 else
5531 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
5532 fi
5533
5534 else
5535
5536 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5537 if test "x$LINE" != x ; then
5538 eval "DEFAULT_$LINE"
5539 else
5540 no_cache=1
5541 fi
5542
5543 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5544
5545 fi;
5546
5547 eval "$ac_cv_use_textbuf"
5548 if test "$no_cache" != 1; then
5549 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5550 fi
5551
5552 if test "$wxUSE_TEXTBUFFER" = yes; then
5553 echo "$as_me:$LINENO: result: yes" >&5
5554 echo "${ECHO_T}yes" >&6
5555 else
5556 echo "$as_me:$LINENO: result: no" >&5
5557 echo "${ECHO_T}no" >&6
5558 fi
5559
5560
5561 enablestring=
5562 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5563 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5564 no_cache=0
5565 # Check whether --enable-textfile or --disable-textfile was given.
5566 if test "${enable_textfile+set}" = set; then
5567 enableval="$enable_textfile"
5568
5569 if test "$enableval" = yes; then
5570 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
5571 else
5572 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
5573 fi
5574
5575 else
5576
5577 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5578 if test "x$LINE" != x ; then
5579 eval "DEFAULT_$LINE"
5580 else
5581 no_cache=1
5582 fi
5583
5584 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5585
5586 fi;
5587
5588 eval "$ac_cv_use_textfile"
5589 if test "$no_cache" != 1; then
5590 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5591 fi
5592
5593 if test "$wxUSE_TEXTFILE" = yes; then
5594 echo "$as_me:$LINENO: result: yes" >&5
5595 echo "${ECHO_T}yes" >&6
5596 else
5597 echo "$as_me:$LINENO: result: no" >&5
5598 echo "${ECHO_T}no" >&6
5599 fi
5600
5601
5602 enablestring=
5603 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5604 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5605 no_cache=0
5606 # Check whether --enable-timer or --disable-timer was given.
5607 if test "${enable_timer+set}" = set; then
5608 enableval="$enable_timer"
5609
5610 if test "$enableval" = yes; then
5611 ac_cv_use_timer='wxUSE_TIMER=yes'
5612 else
5613 ac_cv_use_timer='wxUSE_TIMER=no'
5614 fi
5615
5616 else
5617
5618 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5619 if test "x$LINE" != x ; then
5620 eval "DEFAULT_$LINE"
5621 else
5622 no_cache=1
5623 fi
5624
5625 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5626
5627 fi;
5628
5629 eval "$ac_cv_use_timer"
5630 if test "$no_cache" != 1; then
5631 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5632 fi
5633
5634 if test "$wxUSE_TIMER" = yes; then
5635 echo "$as_me:$LINENO: result: yes" >&5
5636 echo "${ECHO_T}yes" >&6
5637 else
5638 echo "$as_me:$LINENO: result: no" >&5
5639 echo "${ECHO_T}no" >&6
5640 fi
5641
5642
5643 enablestring=
5644 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5645 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5646 no_cache=0
5647 # Check whether --enable-unicode or --disable-unicode was given.
5648 if test "${enable_unicode+set}" = set; then
5649 enableval="$enable_unicode"
5650
5651 if test "$enableval" = yes; then
5652 ac_cv_use_unicode='wxUSE_UNICODE=yes'
5653 else
5654 ac_cv_use_unicode='wxUSE_UNICODE=no'
5655 fi
5656
5657 else
5658
5659 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5660 if test "x$LINE" != x ; then
5661 eval "DEFAULT_$LINE"
5662 else
5663 no_cache=1
5664 fi
5665
5666 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5667
5668 fi;
5669
5670 eval "$ac_cv_use_unicode"
5671 if test "$no_cache" != 1; then
5672 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5673 fi
5674
5675 if test "$wxUSE_UNICODE" = yes; then
5676 echo "$as_me:$LINENO: result: yes" >&5
5677 echo "${ECHO_T}yes" >&6
5678 else
5679 echo "$as_me:$LINENO: result: no" >&5
5680 echo "${ECHO_T}no" >&6
5681 fi
5682
5683
5684 enablestring=
5685 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5686 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5687 no_cache=0
5688 # Check whether --enable-sound or --disable-sound was given.
5689 if test "${enable_sound+set}" = set; then
5690 enableval="$enable_sound"
5691
5692 if test "$enableval" = yes; then
5693 ac_cv_use_sound='wxUSE_SOUND=yes'
5694 else
5695 ac_cv_use_sound='wxUSE_SOUND=no'
5696 fi
5697
5698 else
5699
5700 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5701 if test "x$LINE" != x ; then
5702 eval "DEFAULT_$LINE"
5703 else
5704 no_cache=1
5705 fi
5706
5707 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5708
5709 fi;
5710
5711 eval "$ac_cv_use_sound"
5712 if test "$no_cache" != 1; then
5713 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5714 fi
5715
5716 if test "$wxUSE_SOUND" = yes; then
5717 echo "$as_me:$LINENO: result: yes" >&5
5718 echo "${ECHO_T}yes" >&6
5719 else
5720 echo "$as_me:$LINENO: result: no" >&5
5721 echo "${ECHO_T}no" >&6
5722 fi
5723
5724
5725 enablestring=
5726 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5727 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5728 no_cache=0
5729 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5730 if test "${enable_wxprintfv+set}" = set; then
5731 enableval="$enable_wxprintfv"
5732
5733 if test "$enableval" = yes; then
5734 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
5735 else
5736 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
5737 fi
5738
5739 else
5740
5741 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5742 if test "x$LINE" != x ; then
5743 eval "DEFAULT_$LINE"
5744 else
5745 no_cache=1
5746 fi
5747
5748 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5749
5750 fi;
5751
5752 eval "$ac_cv_use_wxprintfv"
5753 if test "$no_cache" != 1; then
5754 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5755 fi
5756
5757 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5758 echo "$as_me:$LINENO: result: yes" >&5
5759 echo "${ECHO_T}yes" >&6
5760 else
5761 echo "$as_me:$LINENO: result: no" >&5
5762 echo "${ECHO_T}no" >&6
5763 fi
5764
5765
5766 enablestring=
5767 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5768 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5769 no_cache=0
5770 # Check whether --enable-zipstream or --disable-zipstream was given.
5771 if test "${enable_zipstream+set}" = set; then
5772 enableval="$enable_zipstream"
5773
5774 if test "$enableval" = yes; then
5775 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
5776 else
5777 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
5778 fi
5779
5780 else
5781
5782 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5783 if test "x$LINE" != x ; then
5784 eval "DEFAULT_$LINE"
5785 else
5786 no_cache=1
5787 fi
5788
5789 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5790
5791 fi;
5792
5793 eval "$ac_cv_use_zipstream"
5794 if test "$no_cache" != 1; then
5795 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5796 fi
5797
5798 if test "$wxUSE_ZIPSTREAM" = yes; then
5799 echo "$as_me:$LINENO: result: yes" >&5
5800 echo "${ECHO_T}yes" >&6
5801 else
5802 echo "$as_me:$LINENO: result: no" >&5
5803 echo "${ECHO_T}no" >&6
5804 fi
5805
5806
5807
5808 enablestring=
5809 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5810 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5811 no_cache=0
5812 # Check whether --enable-url or --disable-url was given.
5813 if test "${enable_url+set}" = set; then
5814 enableval="$enable_url"
5815
5816 if test "$enableval" = yes; then
5817 ac_cv_use_url='wxUSE_URL=yes'
5818 else
5819 ac_cv_use_url='wxUSE_URL=no'
5820 fi
5821
5822 else
5823
5824 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5825 if test "x$LINE" != x ; then
5826 eval "DEFAULT_$LINE"
5827 else
5828 no_cache=1
5829 fi
5830
5831 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
5832
5833 fi;
5834
5835 eval "$ac_cv_use_url"
5836 if test "$no_cache" != 1; then
5837 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5838 fi
5839
5840 if test "$wxUSE_URL" = yes; then
5841 echo "$as_me:$LINENO: result: yes" >&5
5842 echo "${ECHO_T}yes" >&6
5843 else
5844 echo "$as_me:$LINENO: result: no" >&5
5845 echo "${ECHO_T}no" >&6
5846 fi
5847
5848
5849 enablestring=
5850 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5851 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5852 no_cache=0
5853 # Check whether --enable-protocol or --disable-protocol was given.
5854 if test "${enable_protocol+set}" = set; then
5855 enableval="$enable_protocol"
5856
5857 if test "$enableval" = yes; then
5858 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
5859 else
5860 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
5861 fi
5862
5863 else
5864
5865 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5866 if test "x$LINE" != x ; then
5867 eval "DEFAULT_$LINE"
5868 else
5869 no_cache=1
5870 fi
5871
5872 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5873
5874 fi;
5875
5876 eval "$ac_cv_use_protocol"
5877 if test "$no_cache" != 1; then
5878 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5879 fi
5880
5881 if test "$wxUSE_PROTOCOL" = yes; then
5882 echo "$as_me:$LINENO: result: yes" >&5
5883 echo "${ECHO_T}yes" >&6
5884 else
5885 echo "$as_me:$LINENO: result: no" >&5
5886 echo "${ECHO_T}no" >&6
5887 fi
5888
5889
5890 enablestring=
5891 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5892 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5893 no_cache=0
5894 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5895 if test "${enable_protocol_http+set}" = set; then
5896 enableval="$enable_protocol_http"
5897
5898 if test "$enableval" = yes; then
5899 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
5900 else
5901 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
5902 fi
5903
5904 else
5905
5906 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5907 if test "x$LINE" != x ; then
5908 eval "DEFAULT_$LINE"
5909 else
5910 no_cache=1
5911 fi
5912
5913 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5914
5915 fi;
5916
5917 eval "$ac_cv_use_protocol_http"
5918 if test "$no_cache" != 1; then
5919 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5920 fi
5921
5922 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5923 echo "$as_me:$LINENO: result: yes" >&5
5924 echo "${ECHO_T}yes" >&6
5925 else
5926 echo "$as_me:$LINENO: result: no" >&5
5927 echo "${ECHO_T}no" >&6
5928 fi
5929
5930
5931 enablestring=
5932 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5933 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5934 no_cache=0
5935 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5936 if test "${enable_protocol_ftp+set}" = set; then
5937 enableval="$enable_protocol_ftp"
5938
5939 if test "$enableval" = yes; then
5940 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
5941 else
5942 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
5943 fi
5944
5945 else
5946
5947 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5948 if test "x$LINE" != x ; then
5949 eval "DEFAULT_$LINE"
5950 else
5951 no_cache=1
5952 fi
5953
5954 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5955
5956 fi;
5957
5958 eval "$ac_cv_use_protocol_ftp"
5959 if test "$no_cache" != 1; then
5960 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5961 fi
5962
5963 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5964 echo "$as_me:$LINENO: result: yes" >&5
5965 echo "${ECHO_T}yes" >&6
5966 else
5967 echo "$as_me:$LINENO: result: no" >&5
5968 echo "${ECHO_T}no" >&6
5969 fi
5970
5971
5972 enablestring=
5973 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5974 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5975 no_cache=0
5976 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5977 if test "${enable_protocol_file+set}" = set; then
5978 enableval="$enable_protocol_file"
5979
5980 if test "$enableval" = yes; then
5981 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
5982 else
5983 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
5984 fi
5985
5986 else
5987
5988 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5989 if test "x$LINE" != x ; then
5990 eval "DEFAULT_$LINE"
5991 else
5992 no_cache=1
5993 fi
5994
5995 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5996
5997 fi;
5998
5999 eval "$ac_cv_use_protocol_file"
6000 if test "$no_cache" != 1; then
6001 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6002 fi
6003
6004 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6005 echo "$as_me:$LINENO: result: yes" >&5
6006 echo "${ECHO_T}yes" >&6
6007 else
6008 echo "$as_me:$LINENO: result: no" >&5
6009 echo "${ECHO_T}no" >&6
6010 fi
6011
6012
6013
6014
6015
6016 enablestring=
6017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6018 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6019 no_cache=0
6020 # Check whether --enable-threads or --disable-threads was given.
6021 if test "${enable_threads+set}" = set; then
6022 enableval="$enable_threads"
6023
6024 if test "$enableval" = yes; then
6025 ac_cv_use_threads='wxUSE_THREADS=yes'
6026 else
6027 ac_cv_use_threads='wxUSE_THREADS=no'
6028 fi
6029
6030 else
6031
6032 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6033 if test "x$LINE" != x ; then
6034 eval "DEFAULT_$LINE"
6035 else
6036 no_cache=1
6037 fi
6038
6039 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6040
6041 fi;
6042
6043 eval "$ac_cv_use_threads"
6044 if test "$no_cache" != 1; then
6045 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6046 fi
6047
6048 if test "$wxUSE_THREADS" = yes; then
6049 echo "$as_me:$LINENO: result: yes" >&5
6050 echo "${ECHO_T}yes" >&6
6051 else
6052 echo "$as_me:$LINENO: result: no" >&5
6053 echo "${ECHO_T}no" >&6
6054 fi
6055
6056
6057 if test "$wxUSE_GUI" = "yes"; then
6058
6059
6060
6061 enablestring=
6062 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6063 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6064 no_cache=0
6065 # Check whether --enable-docview or --disable-docview was given.
6066 if test "${enable_docview+set}" = set; then
6067 enableval="$enable_docview"
6068
6069 if test "$enableval" = yes; then
6070 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6071 else
6072 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6073 fi
6074
6075 else
6076
6077 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6078 if test "x$LINE" != x ; then
6079 eval "DEFAULT_$LINE"
6080 else
6081 no_cache=1
6082 fi
6083
6084 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6085
6086 fi;
6087
6088 eval "$ac_cv_use_docview"
6089 if test "$no_cache" != 1; then
6090 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6091 fi
6092
6093 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6094 echo "$as_me:$LINENO: result: yes" >&5
6095 echo "${ECHO_T}yes" >&6
6096 else
6097 echo "$as_me:$LINENO: result: no" >&5
6098 echo "${ECHO_T}no" >&6
6099 fi
6100
6101
6102 enablestring=
6103 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6104 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6105 no_cache=0
6106 # Check whether --enable-help or --disable-help was given.
6107 if test "${enable_help+set}" = set; then
6108 enableval="$enable_help"
6109
6110 if test "$enableval" = yes; then
6111 ac_cv_use_help='wxUSE_HELP=yes'
6112 else
6113 ac_cv_use_help='wxUSE_HELP=no'
6114 fi
6115
6116 else
6117
6118 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6119 if test "x$LINE" != x ; then
6120 eval "DEFAULT_$LINE"
6121 else
6122 no_cache=1
6123 fi
6124
6125 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6126
6127 fi;
6128
6129 eval "$ac_cv_use_help"
6130 if test "$no_cache" != 1; then
6131 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6132 fi
6133
6134 if test "$wxUSE_HELP" = yes; then
6135 echo "$as_me:$LINENO: result: yes" >&5
6136 echo "${ECHO_T}yes" >&6
6137 else
6138 echo "$as_me:$LINENO: result: no" >&5
6139 echo "${ECHO_T}no" >&6
6140 fi
6141
6142
6143 enablestring=
6144 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6145 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6146 no_cache=0
6147 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6148 if test "${enable_mshtmlhelp+set}" = set; then
6149 enableval="$enable_mshtmlhelp"
6150
6151 if test "$enableval" = yes; then
6152 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6153 else
6154 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6155 fi
6156
6157 else
6158
6159 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6160 if test "x$LINE" != x ; then
6161 eval "DEFAULT_$LINE"
6162 else
6163 no_cache=1
6164 fi
6165
6166 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6167
6168 fi;
6169
6170 eval "$ac_cv_use_mshtmlhelp"
6171 if test "$no_cache" != 1; then
6172 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6173 fi
6174
6175 if test "$wxUSE_MS_HTML_HELP" = yes; then
6176 echo "$as_me:$LINENO: result: yes" >&5
6177 echo "${ECHO_T}yes" >&6
6178 else
6179 echo "$as_me:$LINENO: result: no" >&5
6180 echo "${ECHO_T}no" >&6
6181 fi
6182
6183
6184 enablestring=
6185 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6186 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6187 no_cache=0
6188 # Check whether --enable-html or --disable-html was given.
6189 if test "${enable_html+set}" = set; then
6190 enableval="$enable_html"
6191
6192 if test "$enableval" = yes; then
6193 ac_cv_use_html='wxUSE_HTML=yes'
6194 else
6195 ac_cv_use_html='wxUSE_HTML=no'
6196 fi
6197
6198 else
6199
6200 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6201 if test "x$LINE" != x ; then
6202 eval "DEFAULT_$LINE"
6203 else
6204 no_cache=1
6205 fi
6206
6207 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6208
6209 fi;
6210
6211 eval "$ac_cv_use_html"
6212 if test "$no_cache" != 1; then
6213 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6214 fi
6215
6216 if test "$wxUSE_HTML" = yes; then
6217 echo "$as_me:$LINENO: result: yes" >&5
6218 echo "${ECHO_T}yes" >&6
6219 else
6220 echo "$as_me:$LINENO: result: no" >&5
6221 echo "${ECHO_T}no" >&6
6222 fi
6223
6224
6225 enablestring=
6226 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6227 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6228 no_cache=0
6229 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6230 if test "${enable_htmlhelp+set}" = set; then
6231 enableval="$enable_htmlhelp"
6232
6233 if test "$enableval" = yes; then
6234 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6235 else
6236 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6237 fi
6238
6239 else
6240
6241 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6242 if test "x$LINE" != x ; then
6243 eval "DEFAULT_$LINE"
6244 else
6245 no_cache=1
6246 fi
6247
6248 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6249
6250 fi;
6251
6252 eval "$ac_cv_use_htmlhelp"
6253 if test "$no_cache" != 1; then
6254 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6255 fi
6256
6257 if test "$wxUSE_WXHTML_HELP" = yes; then
6258 echo "$as_me:$LINENO: result: yes" >&5
6259 echo "${ECHO_T}yes" >&6
6260 else
6261 echo "$as_me:$LINENO: result: no" >&5
6262 echo "${ECHO_T}no" >&6
6263 fi
6264
6265
6266 enablestring=
6267 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6268 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6269 no_cache=0
6270 # Check whether --enable-xrc or --disable-xrc was given.
6271 if test "${enable_xrc+set}" = set; then
6272 enableval="$enable_xrc"
6273
6274 if test "$enableval" = yes; then
6275 ac_cv_use_xrc='wxUSE_XRC=yes'
6276 else
6277 ac_cv_use_xrc='wxUSE_XRC=no'
6278 fi
6279
6280 else
6281
6282 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6283 if test "x$LINE" != x ; then
6284 eval "DEFAULT_$LINE"
6285 else
6286 no_cache=1
6287 fi
6288
6289 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6290
6291 fi;
6292
6293 eval "$ac_cv_use_xrc"
6294 if test "$no_cache" != 1; then
6295 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6296 fi
6297
6298 if test "$wxUSE_XRC" = yes; then
6299 echo "$as_me:$LINENO: result: yes" >&5
6300 echo "${ECHO_T}yes" >&6
6301 else
6302 echo "$as_me:$LINENO: result: no" >&5
6303 echo "${ECHO_T}no" >&6
6304 fi
6305
6306
6307 enablestring=
6308 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6309 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6310 no_cache=0
6311 # Check whether --enable-constraints or --disable-constraints was given.
6312 if test "${enable_constraints+set}" = set; then
6313 enableval="$enable_constraints"
6314
6315 if test "$enableval" = yes; then
6316 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
6317 else
6318 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
6319 fi
6320
6321 else
6322
6323 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6324 if test "x$LINE" != x ; then
6325 eval "DEFAULT_$LINE"
6326 else
6327 no_cache=1
6328 fi
6329
6330 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6331
6332 fi;
6333
6334 eval "$ac_cv_use_constraints"
6335 if test "$no_cache" != 1; then
6336 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6337 fi
6338
6339 if test "$wxUSE_CONSTRAINTS" = yes; then
6340 echo "$as_me:$LINENO: result: yes" >&5
6341 echo "${ECHO_T}yes" >&6
6342 else
6343 echo "$as_me:$LINENO: result: no" >&5
6344 echo "${ECHO_T}no" >&6
6345 fi
6346
6347
6348 enablestring=
6349 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6350 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6351 no_cache=0
6352 # Check whether --enable-printarch or --disable-printarch was given.
6353 if test "${enable_printarch+set}" = set; then
6354 enableval="$enable_printarch"
6355
6356 if test "$enableval" = yes; then
6357 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6358 else
6359 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6360 fi
6361
6362 else
6363
6364 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6365 if test "x$LINE" != x ; then
6366 eval "DEFAULT_$LINE"
6367 else
6368 no_cache=1
6369 fi
6370
6371 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6372
6373 fi;
6374
6375 eval "$ac_cv_use_printarch"
6376 if test "$no_cache" != 1; then
6377 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6378 fi
6379
6380 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6381 echo "$as_me:$LINENO: result: yes" >&5
6382 echo "${ECHO_T}yes" >&6
6383 else
6384 echo "$as_me:$LINENO: result: no" >&5
6385 echo "${ECHO_T}no" >&6
6386 fi
6387
6388
6389 enablestring=
6390 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6391 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6392 no_cache=0
6393 # Check whether --enable-mdi or --disable-mdi was given.
6394 if test "${enable_mdi+set}" = set; then
6395 enableval="$enable_mdi"
6396
6397 if test "$enableval" = yes; then
6398 ac_cv_use_mdi='wxUSE_MDI=yes'
6399 else
6400 ac_cv_use_mdi='wxUSE_MDI=no'
6401 fi
6402
6403 else
6404
6405 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6406 if test "x$LINE" != x ; then
6407 eval "DEFAULT_$LINE"
6408 else
6409 no_cache=1
6410 fi
6411
6412 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6413
6414 fi;
6415
6416 eval "$ac_cv_use_mdi"
6417 if test "$no_cache" != 1; then
6418 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6419 fi
6420
6421 if test "$wxUSE_MDI" = yes; then
6422 echo "$as_me:$LINENO: result: yes" >&5
6423 echo "${ECHO_T}yes" >&6
6424 else
6425 echo "$as_me:$LINENO: result: no" >&5
6426 echo "${ECHO_T}no" >&6
6427 fi
6428
6429
6430 enablestring=
6431 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6432 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6433 no_cache=0
6434 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6435 if test "${enable_mdidoc+set}" = set; then
6436 enableval="$enable_mdidoc"
6437
6438 if test "$enableval" = yes; then
6439 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
6440 else
6441 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
6442 fi
6443
6444 else
6445
6446 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6447 if test "x$LINE" != x ; then
6448 eval "DEFAULT_$LINE"
6449 else
6450 no_cache=1
6451 fi
6452
6453 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6454
6455 fi;
6456
6457 eval "$ac_cv_use_mdidoc"
6458 if test "$no_cache" != 1; then
6459 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6460 fi
6461
6462 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6463 echo "$as_me:$LINENO: result: yes" >&5
6464 echo "${ECHO_T}yes" >&6
6465 else
6466 echo "$as_me:$LINENO: result: no" >&5
6467 echo "${ECHO_T}no" >&6
6468 fi
6469
6470
6471 enablestring=
6472 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6473 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6474 no_cache=0
6475 # Check whether --enable-loggui or --disable-loggui was given.
6476 if test "${enable_loggui+set}" = set; then
6477 enableval="$enable_loggui"
6478
6479 if test "$enableval" = yes; then
6480 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6481 else
6482 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6483 fi
6484
6485 else
6486
6487 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6488 if test "x$LINE" != x ; then
6489 eval "DEFAULT_$LINE"
6490 else
6491 no_cache=1
6492 fi
6493
6494 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6495
6496 fi;
6497
6498 eval "$ac_cv_use_loggui"
6499 if test "$no_cache" != 1; then
6500 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6501 fi
6502
6503 if test "$wxUSE_LOGGUI" = yes; then
6504 echo "$as_me:$LINENO: result: yes" >&5
6505 echo "${ECHO_T}yes" >&6
6506 else
6507 echo "$as_me:$LINENO: result: no" >&5
6508 echo "${ECHO_T}no" >&6
6509 fi
6510
6511
6512 enablestring=
6513 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6514 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6515 no_cache=0
6516 # Check whether --enable-logwin or --disable-logwin was given.
6517 if test "${enable_logwin+set}" = set; then
6518 enableval="$enable_logwin"
6519
6520 if test "$enableval" = yes; then
6521 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6522 else
6523 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6524 fi
6525
6526 else
6527
6528 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6529 if test "x$LINE" != x ; then
6530 eval "DEFAULT_$LINE"
6531 else
6532 no_cache=1
6533 fi
6534
6535 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6536
6537 fi;
6538
6539 eval "$ac_cv_use_logwin"
6540 if test "$no_cache" != 1; then
6541 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6542 fi
6543
6544 if test "$wxUSE_LOGWINDOW" = yes; then
6545 echo "$as_me:$LINENO: result: yes" >&5
6546 echo "${ECHO_T}yes" >&6
6547 else
6548 echo "$as_me:$LINENO: result: no" >&5
6549 echo "${ECHO_T}no" >&6
6550 fi
6551
6552
6553 enablestring=
6554 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6555 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6556 no_cache=0
6557 # Check whether --enable-logdialog or --disable-logdialog was given.
6558 if test "${enable_logdialog+set}" = set; then
6559 enableval="$enable_logdialog"
6560
6561 if test "$enableval" = yes; then
6562 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6563 else
6564 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6565 fi
6566
6567 else
6568
6569 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6570 if test "x$LINE" != x ; then
6571 eval "DEFAULT_$LINE"
6572 else
6573 no_cache=1
6574 fi
6575
6576 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6577
6578 fi;
6579
6580 eval "$ac_cv_use_logdialog"
6581 if test "$no_cache" != 1; then
6582 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6583 fi
6584
6585 if test "$wxUSE_LOGDIALOG" = yes; then
6586 echo "$as_me:$LINENO: result: yes" >&5
6587 echo "${ECHO_T}yes" >&6
6588 else
6589 echo "$as_me:$LINENO: result: no" >&5
6590 echo "${ECHO_T}no" >&6
6591 fi
6592
6593
6594 enablestring=
6595 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6596 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6597 no_cache=0
6598 # Check whether --enable-webkit or --disable-webkit was given.
6599 if test "${enable_webkit+set}" = set; then
6600 enableval="$enable_webkit"
6601
6602 if test "$enableval" = yes; then
6603 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
6604 else
6605 ac_cv_use_webkit='wxUSE_WEBKIT=no'
6606 fi
6607
6608 else
6609
6610 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6611 if test "x$LINE" != x ; then
6612 eval "DEFAULT_$LINE"
6613 else
6614 no_cache=1
6615 fi
6616
6617 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6618
6619 fi;
6620
6621 eval "$ac_cv_use_webkit"
6622 if test "$no_cache" != 1; then
6623 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6624 fi
6625
6626 if test "$wxUSE_WEBKIT" = yes; then
6627 echo "$as_me:$LINENO: result: yes" >&5
6628 echo "${ECHO_T}yes" >&6
6629 else
6630 echo "$as_me:$LINENO: result: no" >&5
6631 echo "${ECHO_T}no" >&6
6632 fi
6633
6634
6635
6636 enablestring=
6637 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6638 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6639 no_cache=0
6640 # Check whether --enable-postscript or --disable-postscript was given.
6641 if test "${enable_postscript+set}" = set; then
6642 enableval="$enable_postscript"
6643
6644 if test "$enableval" = yes; then
6645 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6646 else
6647 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6648 fi
6649
6650 else
6651
6652 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6653 if test "x$LINE" != x ; then
6654 eval "DEFAULT_$LINE"
6655 else
6656 no_cache=1
6657 fi
6658
6659 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6660
6661 fi;
6662
6663 eval "$ac_cv_use_postscript"
6664 if test "$no_cache" != 1; then
6665 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6666 fi
6667
6668 if test "$wxUSE_POSTSCRIPT" = yes; then
6669 echo "$as_me:$LINENO: result: yes" >&5
6670 echo "${ECHO_T}yes" >&6
6671 else
6672 echo "$as_me:$LINENO: result: no" >&5
6673 echo "${ECHO_T}no" >&6
6674 fi
6675
6676
6677
6678
6679
6680 enablestring=
6681 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6682 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6683 no_cache=0
6684 # Check whether --enable-prologio or --disable-prologio was given.
6685 if test "${enable_prologio+set}" = set; then
6686 enableval="$enable_prologio"
6687
6688 if test "$enableval" = yes; then
6689 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6690 else
6691 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6692 fi
6693
6694 else
6695
6696 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6697 if test "x$LINE" != x ; then
6698 eval "DEFAULT_$LINE"
6699 else
6700 no_cache=1
6701 fi
6702
6703 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6704
6705 fi;
6706
6707 eval "$ac_cv_use_prologio"
6708 if test "$no_cache" != 1; then
6709 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6710 fi
6711
6712 if test "$wxUSE_PROLOGIO" = yes; then
6713 echo "$as_me:$LINENO: result: yes" >&5
6714 echo "${ECHO_T}yes" >&6
6715 else
6716 echo "$as_me:$LINENO: result: no" >&5
6717 echo "${ECHO_T}no" >&6
6718 fi
6719
6720
6721 enablestring=
6722 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6723 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6724 no_cache=0
6725 # Check whether --enable-resources or --disable-resources was given.
6726 if test "${enable_resources+set}" = set; then
6727 enableval="$enable_resources"
6728
6729 if test "$enableval" = yes; then
6730 ac_cv_use_resources='wxUSE_RESOURCES=yes'
6731 else
6732 ac_cv_use_resources='wxUSE_RESOURCES=no'
6733 fi
6734
6735 else
6736
6737 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6738 if test "x$LINE" != x ; then
6739 eval "DEFAULT_$LINE"
6740 else
6741 no_cache=1
6742 fi
6743
6744 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6745
6746 fi;
6747
6748 eval "$ac_cv_use_resources"
6749 if test "$no_cache" != 1; then
6750 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6751 fi
6752
6753 if test "$wxUSE_RESOURCES" = yes; then
6754 echo "$as_me:$LINENO: result: yes" >&5
6755 echo "${ECHO_T}yes" >&6
6756 else
6757 echo "$as_me:$LINENO: result: no" >&5
6758 echo "${ECHO_T}no" >&6
6759 fi
6760
6761
6762
6763
6764 enablestring=
6765 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6766 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6767 no_cache=0
6768 # Check whether --enable-clipboard or --disable-clipboard was given.
6769 if test "${enable_clipboard+set}" = set; then
6770 enableval="$enable_clipboard"
6771
6772 if test "$enableval" = yes; then
6773 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
6774 else
6775 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
6776 fi
6777
6778 else
6779
6780 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6781 if test "x$LINE" != x ; then
6782 eval "DEFAULT_$LINE"
6783 else
6784 no_cache=1
6785 fi
6786
6787 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6788
6789 fi;
6790
6791 eval "$ac_cv_use_clipboard"
6792 if test "$no_cache" != 1; then
6793 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6794 fi
6795
6796 if test "$wxUSE_CLIPBOARD" = yes; then
6797 echo "$as_me:$LINENO: result: yes" >&5
6798 echo "${ECHO_T}yes" >&6
6799 else
6800 echo "$as_me:$LINENO: result: no" >&5
6801 echo "${ECHO_T}no" >&6
6802 fi
6803
6804
6805 enablestring=
6806 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6807 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6808 no_cache=0
6809 # Check whether --enable-dnd or --disable-dnd was given.
6810 if test "${enable_dnd+set}" = set; then
6811 enableval="$enable_dnd"
6812
6813 if test "$enableval" = yes; then
6814 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
6815 else
6816 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
6817 fi
6818
6819 else
6820
6821 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6822 if test "x$LINE" != x ; then
6823 eval "DEFAULT_$LINE"
6824 else
6825 no_cache=1
6826 fi
6827
6828 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6829
6830 fi;
6831
6832 eval "$ac_cv_use_dnd"
6833 if test "$no_cache" != 1; then
6834 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6835 fi
6836
6837 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6838 echo "$as_me:$LINENO: result: yes" >&5
6839 echo "${ECHO_T}yes" >&6
6840 else
6841 echo "$as_me:$LINENO: result: no" >&5
6842 echo "${ECHO_T}no" >&6
6843 fi
6844
6845
6846 enablestring=
6847 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6848 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6849 no_cache=0
6850 # Check whether --enable-metafile or --disable-metafile was given.
6851 if test "${enable_metafile+set}" = set; then
6852 enableval="$enable_metafile"
6853
6854 if test "$enableval" = yes; then
6855 ac_cv_use_metafile='wxUSE_METAFILE=yes'
6856 else
6857 ac_cv_use_metafile='wxUSE_METAFILE=no'
6858 fi
6859
6860 else
6861
6862 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6863 if test "x$LINE" != x ; then
6864 eval "DEFAULT_$LINE"
6865 else
6866 no_cache=1
6867 fi
6868
6869 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6870
6871 fi;
6872
6873 eval "$ac_cv_use_metafile"
6874 if test "$no_cache" != 1; then
6875 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6876 fi
6877
6878 if test "$wxUSE_METAFILE" = yes; then
6879 echo "$as_me:$LINENO: result: yes" >&5
6880 echo "${ECHO_T}yes" >&6
6881 else
6882 echo "$as_me:$LINENO: result: no" >&5
6883 echo "${ECHO_T}no" >&6
6884 fi
6885
6886
6887
6888
6889
6890 enablestring=
6891 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6892 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6893 no_cache=0
6894 # Check whether --enable-controls or --disable-controls was given.
6895 if test "${enable_controls+set}" = set; then
6896 enableval="$enable_controls"
6897
6898 if test "$enableval" = yes; then
6899 ac_cv_use_controls='wxUSE_CONTROLS=yes'
6900 else
6901 ac_cv_use_controls='wxUSE_CONTROLS=no'
6902 fi
6903
6904 else
6905
6906 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6907 if test "x$LINE" != x ; then
6908 eval "DEFAULT_$LINE"
6909 else
6910 no_cache=1
6911 fi
6912
6913 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6914
6915 fi;
6916
6917 eval "$ac_cv_use_controls"
6918 if test "$no_cache" != 1; then
6919 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6920 fi
6921
6922 if test "$wxUSE_CONTROLS" = yes; then
6923 echo "$as_me:$LINENO: result: yes" >&5
6924 echo "${ECHO_T}yes" >&6
6925 else
6926 echo "$as_me:$LINENO: result: no" >&5
6927 echo "${ECHO_T}no" >&6
6928 fi
6929
6930
6931 if test "$wxUSE_CONTROLS" = "yes"; then
6932 DEFAULT_wxUSE_ACCEL=yes
6933 DEFAULT_wxUSE_BMPBUTTON=yes
6934 DEFAULT_wxUSE_BUTTON=yes
6935 DEFAULT_wxUSE_CALCTRL=no
6936 DEFAULT_wxUSE_CARET=yes
6937 DEFAULT_wxUSE_COMBOBOX=yes
6938 DEFAULT_wxUSE_CHECKBOX=yes
6939 DEFAULT_wxUSE_CHECKLISTBOX=yes
6940 DEFAULT_wxUSE_CHOICE=yes
6941 DEFAULT_wxUSE_CHOICEBOOK=yes
6942 DEFAULT_wxUSE_GAUGE=yes
6943 DEFAULT_wxUSE_GRID=yes
6944 DEFAULT_wxUSE_IMAGLIST=yes
6945 DEFAULT_wxUSE_LISTBOOK=yes
6946 DEFAULT_wxUSE_LISTBOX=yes
6947 DEFAULT_wxUSE_LISTCTRL=yes
6948 DEFAULT_wxUSE_NOTEBOOK=yes
6949 DEFAULT_wxUSE_RADIOBOX=yes
6950 DEFAULT_wxUSE_RADIOBTN=yes
6951 DEFAULT_wxUSE_SASH=yes
6952 DEFAULT_wxUSE_SCROLLBAR=yes
6953 DEFAULT_wxUSE_SLIDER=yes
6954 DEFAULT_wxUSE_SPINBTN=yes
6955 DEFAULT_wxUSE_SPINCTRL=yes
6956 DEFAULT_wxUSE_SPLITTER=yes
6957 DEFAULT_wxUSE_STATBMP=yes
6958 DEFAULT_wxUSE_STATBOX=yes
6959 DEFAULT_wxUSE_STATLINE=yes
6960 DEFAULT_wxUSE_STATUSBAR=yes
6961 DEFAULT_wxUSE_TAB_DIALOG=yes
6962 DEFAULT_wxUSE_TOGGLEBTN=yes
6963 DEFAULT_wxUSE_TOOLBAR=yes
6964 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6965 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6966 DEFAULT_wxUSE_TOOLTIPS=yes
6967 DEFAULT_wxUSE_TREECTRL=yes
6968 DEFAULT_wxUSE_POPUPWIN=yes
6969 DEFAULT_wxUSE_TIPWINDOW=yes
6970 elif test "$wxUSE_CONTROLS" = "no"; then
6971 DEFAULT_wxUSE_ACCEL=no
6972 DEFAULT_wxUSE_BMPBUTTON=no
6973 DEFAULT_wxUSE_BUTTON=no
6974 DEFAULT_wxUSE_CALCTRL=no
6975 DEFAULT_wxUSE_CARET=no
6976 DEFAULT_wxUSE_COMBOBOX=no
6977 DEFAULT_wxUSE_CHECKBOX=no
6978 DEFAULT_wxUSE_CHECKLISTBOX=no
6979 DEFAULT_wxUSE_CHOICE=no
6980 DEFAULT_wxUSE_CHOICEBOOK=no
6981 DEFAULT_wxUSE_GAUGE=no
6982 DEFAULT_wxUSE_GRID=no
6983 DEFAULT_wxUSE_IMAGLIST=no
6984 DEFAULT_wxUSE_LISTBOOK=no
6985 DEFAULT_wxUSE_LISTBOX=no
6986 DEFAULT_wxUSE_LISTCTRL=no
6987 DEFAULT_wxUSE_NOTEBOOK=no
6988 DEFAULT_wxUSE_RADIOBOX=no
6989 DEFAULT_wxUSE_RADIOBTN=no
6990 DEFAULT_wxUSE_SASH=no
6991 DEFAULT_wxUSE_SCROLLBAR=no
6992 DEFAULT_wxUSE_SLIDER=no
6993 DEFAULT_wxUSE_SPINBTN=no
6994 DEFAULT_wxUSE_SPINCTRL=no
6995 DEFAULT_wxUSE_SPLITTER=no
6996 DEFAULT_wxUSE_STATBMP=no
6997 DEFAULT_wxUSE_STATBOX=no
6998 DEFAULT_wxUSE_STATLINE=no
6999 DEFAULT_wxUSE_STATUSBAR=no
7000 DEFAULT_wxUSE_TAB_DIALOG=no
7001 DEFAULT_wxUSE_TOGGLEBTN=no
7002 DEFAULT_wxUSE_TOOLBAR=no
7003 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7004 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
7005 DEFAULT_wxUSE_TOOLTIPS=no
7006 DEFAULT_wxUSE_TREECTRL=no
7007 DEFAULT_wxUSE_POPUPWIN=no
7008 DEFAULT_wxUSE_TIPWINDOW=no
7009 fi
7010
7011 ## FIXME: This is a blatant hack
7012 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
7013 wxUSE_PRINTING_ARCHITECTURE=no
7014 wxUSE_DRAG_AND_DROP=no
7015 DEFAULT_wxUSE_DRAGIMAGE=no
7016 fi
7017
7018
7019 enablestring=
7020 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7021 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7022 no_cache=0
7023 # Check whether --enable-accel or --disable-accel was given.
7024 if test "${enable_accel+set}" = set; then
7025 enableval="$enable_accel"
7026
7027 if test "$enableval" = yes; then
7028 ac_cv_use_accel='wxUSE_ACCEL=yes'
7029 else
7030 ac_cv_use_accel='wxUSE_ACCEL=no'
7031 fi
7032
7033 else
7034
7035 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7036 if test "x$LINE" != x ; then
7037 eval "DEFAULT_$LINE"
7038 else
7039 no_cache=1
7040 fi
7041
7042 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7043
7044 fi;
7045
7046 eval "$ac_cv_use_accel"
7047 if test "$no_cache" != 1; then
7048 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7049 fi
7050
7051 if test "$wxUSE_ACCEL" = yes; then
7052 echo "$as_me:$LINENO: result: yes" >&5
7053 echo "${ECHO_T}yes" >&6
7054 else
7055 echo "$as_me:$LINENO: result: no" >&5
7056 echo "${ECHO_T}no" >&6
7057 fi
7058
7059
7060 enablestring=
7061 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7062 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7063 no_cache=0
7064 # Check whether --enable-button or --disable-button was given.
7065 if test "${enable_button+set}" = set; then
7066 enableval="$enable_button"
7067
7068 if test "$enableval" = yes; then
7069 ac_cv_use_button='wxUSE_BUTTON=yes'
7070 else
7071 ac_cv_use_button='wxUSE_BUTTON=no'
7072 fi
7073
7074 else
7075
7076 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7077 if test "x$LINE" != x ; then
7078 eval "DEFAULT_$LINE"
7079 else
7080 no_cache=1
7081 fi
7082
7083 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7084
7085 fi;
7086
7087 eval "$ac_cv_use_button"
7088 if test "$no_cache" != 1; then
7089 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7090 fi
7091
7092 if test "$wxUSE_BUTTON" = yes; then
7093 echo "$as_me:$LINENO: result: yes" >&5
7094 echo "${ECHO_T}yes" >&6
7095 else
7096 echo "$as_me:$LINENO: result: no" >&5
7097 echo "${ECHO_T}no" >&6
7098 fi
7099
7100
7101 enablestring=
7102 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7103 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7104 no_cache=0
7105 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7106 if test "${enable_bmpbutton+set}" = set; then
7107 enableval="$enable_bmpbutton"
7108
7109 if test "$enableval" = yes; then
7110 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
7111 else
7112 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
7113 fi
7114
7115 else
7116
7117 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7118 if test "x$LINE" != x ; then
7119 eval "DEFAULT_$LINE"
7120 else
7121 no_cache=1
7122 fi
7123
7124 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7125
7126 fi;
7127
7128 eval "$ac_cv_use_bmpbutton"
7129 if test "$no_cache" != 1; then
7130 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7131 fi
7132
7133 if test "$wxUSE_BMPBUTTON" = yes; then
7134 echo "$as_me:$LINENO: result: yes" >&5
7135 echo "${ECHO_T}yes" >&6
7136 else
7137 echo "$as_me:$LINENO: result: no" >&5
7138 echo "${ECHO_T}no" >&6
7139 fi
7140
7141
7142 enablestring=
7143 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7144 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7145 no_cache=0
7146 # Check whether --enable-calendar or --disable-calendar was given.
7147 if test "${enable_calendar+set}" = set; then
7148 enableval="$enable_calendar"
7149
7150 if test "$enableval" = yes; then
7151 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
7152 else
7153 ac_cv_use_calendar='wxUSE_CALCTRL=no'
7154 fi
7155
7156 else
7157
7158 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7159 if test "x$LINE" != x ; then
7160 eval "DEFAULT_$LINE"
7161 else
7162 no_cache=1
7163 fi
7164
7165 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7166
7167 fi;
7168
7169 eval "$ac_cv_use_calendar"
7170 if test "$no_cache" != 1; then
7171 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7172 fi
7173
7174 if test "$wxUSE_CALCTRL" = yes; then
7175 echo "$as_me:$LINENO: result: yes" >&5
7176 echo "${ECHO_T}yes" >&6
7177 else
7178 echo "$as_me:$LINENO: result: no" >&5
7179 echo "${ECHO_T}no" >&6
7180 fi
7181
7182
7183 enablestring=
7184 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7185 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7186 no_cache=0
7187 # Check whether --enable-caret or --disable-caret was given.
7188 if test "${enable_caret+set}" = set; then
7189 enableval="$enable_caret"
7190
7191 if test "$enableval" = yes; then
7192 ac_cv_use_caret='wxUSE_CARET=yes'
7193 else
7194 ac_cv_use_caret='wxUSE_CARET=no'
7195 fi
7196
7197 else
7198
7199 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7200 if test "x$LINE" != x ; then
7201 eval "DEFAULT_$LINE"
7202 else
7203 no_cache=1
7204 fi
7205
7206 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7207
7208 fi;
7209
7210 eval "$ac_cv_use_caret"
7211 if test "$no_cache" != 1; then
7212 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7213 fi
7214
7215 if test "$wxUSE_CARET" = yes; then
7216 echo "$as_me:$LINENO: result: yes" >&5
7217 echo "${ECHO_T}yes" >&6
7218 else
7219 echo "$as_me:$LINENO: result: no" >&5
7220 echo "${ECHO_T}no" >&6
7221 fi
7222
7223
7224 enablestring=
7225 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7226 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7227 no_cache=0
7228 # Check whether --enable-checkbox or --disable-checkbox was given.
7229 if test "${enable_checkbox+set}" = set; then
7230 enableval="$enable_checkbox"
7231
7232 if test "$enableval" = yes; then
7233 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
7234 else
7235 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
7236 fi
7237
7238 else
7239
7240 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7241 if test "x$LINE" != x ; then
7242 eval "DEFAULT_$LINE"
7243 else
7244 no_cache=1
7245 fi
7246
7247 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7248
7249 fi;
7250
7251 eval "$ac_cv_use_checkbox"
7252 if test "$no_cache" != 1; then
7253 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7254 fi
7255
7256 if test "$wxUSE_CHECKBOX" = yes; then
7257 echo "$as_me:$LINENO: result: yes" >&5
7258 echo "${ECHO_T}yes" >&6
7259 else
7260 echo "$as_me:$LINENO: result: no" >&5
7261 echo "${ECHO_T}no" >&6
7262 fi
7263
7264
7265 enablestring=
7266 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7267 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7268 no_cache=0
7269 # Check whether --enable-checklst or --disable-checklst was given.
7270 if test "${enable_checklst+set}" = set; then
7271 enableval="$enable_checklst"
7272
7273 if test "$enableval" = yes; then
7274 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
7275 else
7276 ac_cv_use_checklst='wxUSE_CHECKLST=no'
7277 fi
7278
7279 else
7280
7281 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7282 if test "x$LINE" != x ; then
7283 eval "DEFAULT_$LINE"
7284 else
7285 no_cache=1
7286 fi
7287
7288 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7289
7290 fi;
7291
7292 eval "$ac_cv_use_checklst"
7293 if test "$no_cache" != 1; then
7294 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7295 fi
7296
7297 if test "$wxUSE_CHECKLST" = yes; then
7298 echo "$as_me:$LINENO: result: yes" >&5
7299 echo "${ECHO_T}yes" >&6
7300 else
7301 echo "$as_me:$LINENO: result: no" >&5
7302 echo "${ECHO_T}no" >&6
7303 fi
7304
7305
7306 enablestring=
7307 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7308 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7309 no_cache=0
7310 # Check whether --enable-choice or --disable-choice was given.
7311 if test "${enable_choice+set}" = set; then
7312 enableval="$enable_choice"
7313
7314 if test "$enableval" = yes; then
7315 ac_cv_use_choice='wxUSE_CHOICE=yes'
7316 else
7317 ac_cv_use_choice='wxUSE_CHOICE=no'
7318 fi
7319
7320 else
7321
7322 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7323 if test "x$LINE" != x ; then
7324 eval "DEFAULT_$LINE"
7325 else
7326 no_cache=1
7327 fi
7328
7329 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7330
7331 fi;
7332
7333 eval "$ac_cv_use_choice"
7334 if test "$no_cache" != 1; then
7335 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7336 fi
7337
7338 if test "$wxUSE_CHOICE" = yes; then
7339 echo "$as_me:$LINENO: result: yes" >&5
7340 echo "${ECHO_T}yes" >&6
7341 else
7342 echo "$as_me:$LINENO: result: no" >&5
7343 echo "${ECHO_T}no" >&6
7344 fi
7345
7346
7347 enablestring=
7348 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7349 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7350 no_cache=0
7351 # Check whether --enable-choicebook or --disable-choicebook was given.
7352 if test "${enable_choicebook+set}" = set; then
7353 enableval="$enable_choicebook"
7354
7355 if test "$enableval" = yes; then
7356 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
7357 else
7358 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
7359 fi
7360
7361 else
7362
7363 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7364 if test "x$LINE" != x ; then
7365 eval "DEFAULT_$LINE"
7366 else
7367 no_cache=1
7368 fi
7369
7370 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7371
7372 fi;
7373
7374 eval "$ac_cv_use_choicebook"
7375 if test "$no_cache" != 1; then
7376 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7377 fi
7378
7379 if test "$wxUSE_CHOICEBOOK" = yes; then
7380 echo "$as_me:$LINENO: result: yes" >&5
7381 echo "${ECHO_T}yes" >&6
7382 else
7383 echo "$as_me:$LINENO: result: no" >&5
7384 echo "${ECHO_T}no" >&6
7385 fi
7386
7387
7388 enablestring=
7389 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7390 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7391 no_cache=0
7392 # Check whether --enable-combobox or --disable-combobox was given.
7393 if test "${enable_combobox+set}" = set; then
7394 enableval="$enable_combobox"
7395
7396 if test "$enableval" = yes; then
7397 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
7398 else
7399 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
7400 fi
7401
7402 else
7403
7404 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7405 if test "x$LINE" != x ; then
7406 eval "DEFAULT_$LINE"
7407 else
7408 no_cache=1
7409 fi
7410
7411 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7412
7413 fi;
7414
7415 eval "$ac_cv_use_combobox"
7416 if test "$no_cache" != 1; then
7417 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7418 fi
7419
7420 if test "$wxUSE_COMBOBOX" = yes; then
7421 echo "$as_me:$LINENO: result: yes" >&5
7422 echo "${ECHO_T}yes" >&6
7423 else
7424 echo "$as_me:$LINENO: result: no" >&5
7425 echo "${ECHO_T}no" >&6
7426 fi
7427
7428
7429 enablestring=
7430 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7431 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7432 no_cache=0
7433 # Check whether --enable-display or --disable-display was given.
7434 if test "${enable_display+set}" = set; then
7435 enableval="$enable_display"
7436
7437 if test "$enableval" = yes; then
7438 ac_cv_use_display='wxUSE_DISPLAY=yes'
7439 else
7440 ac_cv_use_display='wxUSE_DISPLAY=no'
7441 fi
7442
7443 else
7444
7445 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7446 if test "x$LINE" != x ; then
7447 eval "DEFAULT_$LINE"
7448 else
7449 no_cache=1
7450 fi
7451
7452 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7453
7454 fi;
7455
7456 eval "$ac_cv_use_display"
7457 if test "$no_cache" != 1; then
7458 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7459 fi
7460
7461 if test "$wxUSE_DISPLAY" = yes; then
7462 echo "$as_me:$LINENO: result: yes" >&5
7463 echo "${ECHO_T}yes" >&6
7464 else
7465 echo "$as_me:$LINENO: result: no" >&5
7466 echo "${ECHO_T}no" >&6
7467 fi
7468
7469
7470 enablestring=
7471 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7472 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7473 no_cache=0
7474 # Check whether --enable-gauge or --disable-gauge was given.
7475 if test "${enable_gauge+set}" = set; then
7476 enableval="$enable_gauge"
7477
7478 if test "$enableval" = yes; then
7479 ac_cv_use_gauge='wxUSE_GAUGE=yes'
7480 else
7481 ac_cv_use_gauge='wxUSE_GAUGE=no'
7482 fi
7483
7484 else
7485
7486 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7487 if test "x$LINE" != x ; then
7488 eval "DEFAULT_$LINE"
7489 else
7490 no_cache=1
7491 fi
7492
7493 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7494
7495 fi;
7496
7497 eval "$ac_cv_use_gauge"
7498 if test "$no_cache" != 1; then
7499 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7500 fi
7501
7502 if test "$wxUSE_GAUGE" = yes; then
7503 echo "$as_me:$LINENO: result: yes" >&5
7504 echo "${ECHO_T}yes" >&6
7505 else
7506 echo "$as_me:$LINENO: result: no" >&5
7507 echo "${ECHO_T}no" >&6
7508 fi
7509
7510
7511 enablestring=
7512 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7513 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7514 no_cache=0
7515 # Check whether --enable-grid or --disable-grid was given.
7516 if test "${enable_grid+set}" = set; then
7517 enableval="$enable_grid"
7518
7519 if test "$enableval" = yes; then
7520 ac_cv_use_grid='wxUSE_GRID=yes'
7521 else
7522 ac_cv_use_grid='wxUSE_GRID=no'
7523 fi
7524
7525 else
7526
7527 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7528 if test "x$LINE" != x ; then
7529 eval "DEFAULT_$LINE"
7530 else
7531 no_cache=1
7532 fi
7533
7534 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7535
7536 fi;
7537
7538 eval "$ac_cv_use_grid"
7539 if test "$no_cache" != 1; then
7540 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7541 fi
7542
7543 if test "$wxUSE_GRID" = yes; then
7544 echo "$as_me:$LINENO: result: yes" >&5
7545 echo "${ECHO_T}yes" >&6
7546 else
7547 echo "$as_me:$LINENO: result: no" >&5
7548 echo "${ECHO_T}no" >&6
7549 fi
7550
7551
7552 enablestring=
7553 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7554 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7555 no_cache=0
7556 # Check whether --enable-imaglist or --disable-imaglist was given.
7557 if test "${enable_imaglist+set}" = set; then
7558 enableval="$enable_imaglist"
7559
7560 if test "$enableval" = yes; then
7561 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7562 else
7563 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7564 fi
7565
7566 else
7567
7568 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7569 if test "x$LINE" != x ; then
7570 eval "DEFAULT_$LINE"
7571 else
7572 no_cache=1
7573 fi
7574
7575 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7576
7577 fi;
7578
7579 eval "$ac_cv_use_imaglist"
7580 if test "$no_cache" != 1; then
7581 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7582 fi
7583
7584 if test "$wxUSE_IMAGLIST" = yes; then
7585 echo "$as_me:$LINENO: result: yes" >&5
7586 echo "${ECHO_T}yes" >&6
7587 else
7588 echo "$as_me:$LINENO: result: no" >&5
7589 echo "${ECHO_T}no" >&6
7590 fi
7591
7592
7593 enablestring=
7594 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7595 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7596 no_cache=0
7597 # Check whether --enable-listbook or --disable-listbook was given.
7598 if test "${enable_listbook+set}" = set; then
7599 enableval="$enable_listbook"
7600
7601 if test "$enableval" = yes; then
7602 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
7603 else
7604 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
7605 fi
7606
7607 else
7608
7609 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7610 if test "x$LINE" != x ; then
7611 eval "DEFAULT_$LINE"
7612 else
7613 no_cache=1
7614 fi
7615
7616 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7617
7618 fi;
7619
7620 eval "$ac_cv_use_listbook"
7621 if test "$no_cache" != 1; then
7622 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7623 fi
7624
7625 if test "$wxUSE_LISTBOOK" = yes; then
7626 echo "$as_me:$LINENO: result: yes" >&5
7627 echo "${ECHO_T}yes" >&6
7628 else
7629 echo "$as_me:$LINENO: result: no" >&5
7630 echo "${ECHO_T}no" >&6
7631 fi
7632
7633
7634 enablestring=
7635 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7636 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7637 no_cache=0
7638 # Check whether --enable-listbox or --disable-listbox was given.
7639 if test "${enable_listbox+set}" = set; then
7640 enableval="$enable_listbox"
7641
7642 if test "$enableval" = yes; then
7643 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7644 else
7645 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7646 fi
7647
7648 else
7649
7650 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7651 if test "x$LINE" != x ; then
7652 eval "DEFAULT_$LINE"
7653 else
7654 no_cache=1
7655 fi
7656
7657 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7658
7659 fi;
7660
7661 eval "$ac_cv_use_listbox"
7662 if test "$no_cache" != 1; then
7663 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7664 fi
7665
7666 if test "$wxUSE_LISTBOX" = yes; then
7667 echo "$as_me:$LINENO: result: yes" >&5
7668 echo "${ECHO_T}yes" >&6
7669 else
7670 echo "$as_me:$LINENO: result: no" >&5
7671 echo "${ECHO_T}no" >&6
7672 fi
7673
7674
7675 enablestring=
7676 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7677 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7678 no_cache=0
7679 # Check whether --enable-listctrl or --disable-listctrl was given.
7680 if test "${enable_listctrl+set}" = set; then
7681 enableval="$enable_listctrl"
7682
7683 if test "$enableval" = yes; then
7684 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
7685 else
7686 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
7687 fi
7688
7689 else
7690
7691 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7692 if test "x$LINE" != x ; then
7693 eval "DEFAULT_$LINE"
7694 else
7695 no_cache=1
7696 fi
7697
7698 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7699
7700 fi;
7701
7702 eval "$ac_cv_use_listctrl"
7703 if test "$no_cache" != 1; then
7704 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7705 fi
7706
7707 if test "$wxUSE_LISTCTRL" = yes; then
7708 echo "$as_me:$LINENO: result: yes" >&5
7709 echo "${ECHO_T}yes" >&6
7710 else
7711 echo "$as_me:$LINENO: result: no" >&5
7712 echo "${ECHO_T}no" >&6
7713 fi
7714
7715
7716 enablestring=
7717 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7718 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7719 no_cache=0
7720 # Check whether --enable-notebook or --disable-notebook was given.
7721 if test "${enable_notebook+set}" = set; then
7722 enableval="$enable_notebook"
7723
7724 if test "$enableval" = yes; then
7725 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
7726 else
7727 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
7728 fi
7729
7730 else
7731
7732 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7733 if test "x$LINE" != x ; then
7734 eval "DEFAULT_$LINE"
7735 else
7736 no_cache=1
7737 fi
7738
7739 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7740
7741 fi;
7742
7743 eval "$ac_cv_use_notebook"
7744 if test "$no_cache" != 1; then
7745 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7746 fi
7747
7748 if test "$wxUSE_NOTEBOOK" = yes; then
7749 echo "$as_me:$LINENO: result: yes" >&5
7750 echo "${ECHO_T}yes" >&6
7751 else
7752 echo "$as_me:$LINENO: result: no" >&5
7753 echo "${ECHO_T}no" >&6
7754 fi
7755
7756
7757 enablestring=
7758 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7759 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7760 no_cache=0
7761 # Check whether --enable-radiobox or --disable-radiobox was given.
7762 if test "${enable_radiobox+set}" = set; then
7763 enableval="$enable_radiobox"
7764
7765 if test "$enableval" = yes; then
7766 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
7767 else
7768 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
7769 fi
7770
7771 else
7772
7773 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7774 if test "x$LINE" != x ; then
7775 eval "DEFAULT_$LINE"
7776 else
7777 no_cache=1
7778 fi
7779
7780 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7781
7782 fi;
7783
7784 eval "$ac_cv_use_radiobox"
7785 if test "$no_cache" != 1; then
7786 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7787 fi
7788
7789 if test "$wxUSE_RADIOBOX" = yes; then
7790 echo "$as_me:$LINENO: result: yes" >&5
7791 echo "${ECHO_T}yes" >&6
7792 else
7793 echo "$as_me:$LINENO: result: no" >&5
7794 echo "${ECHO_T}no" >&6
7795 fi
7796
7797
7798 enablestring=
7799 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7800 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7801 no_cache=0
7802 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7803 if test "${enable_radiobtn+set}" = set; then
7804 enableval="$enable_radiobtn"
7805
7806 if test "$enableval" = yes; then
7807 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
7808 else
7809 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
7810 fi
7811
7812 else
7813
7814 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7815 if test "x$LINE" != x ; then
7816 eval "DEFAULT_$LINE"
7817 else
7818 no_cache=1
7819 fi
7820
7821 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7822
7823 fi;
7824
7825 eval "$ac_cv_use_radiobtn"
7826 if test "$no_cache" != 1; then
7827 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7828 fi
7829
7830 if test "$wxUSE_RADIOBTN" = yes; then
7831 echo "$as_me:$LINENO: result: yes" >&5
7832 echo "${ECHO_T}yes" >&6
7833 else
7834 echo "$as_me:$LINENO: result: no" >&5
7835 echo "${ECHO_T}no" >&6
7836 fi
7837
7838
7839 enablestring=
7840 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7841 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7842 no_cache=0
7843 # Check whether --enable-sash or --disable-sash was given.
7844 if test "${enable_sash+set}" = set; then
7845 enableval="$enable_sash"
7846
7847 if test "$enableval" = yes; then
7848 ac_cv_use_sash='wxUSE_SASH=yes'
7849 else
7850 ac_cv_use_sash='wxUSE_SASH=no'
7851 fi
7852
7853 else
7854
7855 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7856 if test "x$LINE" != x ; then
7857 eval "DEFAULT_$LINE"
7858 else
7859 no_cache=1
7860 fi
7861
7862 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7863
7864 fi;
7865
7866 eval "$ac_cv_use_sash"
7867 if test "$no_cache" != 1; then
7868 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7869 fi
7870
7871 if test "$wxUSE_SASH" = yes; then
7872 echo "$as_me:$LINENO: result: yes" >&5
7873 echo "${ECHO_T}yes" >&6
7874 else
7875 echo "$as_me:$LINENO: result: no" >&5
7876 echo "${ECHO_T}no" >&6
7877 fi
7878
7879
7880 enablestring=
7881 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7882 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7883 no_cache=0
7884 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7885 if test "${enable_scrollbar+set}" = set; then
7886 enableval="$enable_scrollbar"
7887
7888 if test "$enableval" = yes; then
7889 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
7890 else
7891 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
7892 fi
7893
7894 else
7895
7896 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7897 if test "x$LINE" != x ; then
7898 eval "DEFAULT_$LINE"
7899 else
7900 no_cache=1
7901 fi
7902
7903 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7904
7905 fi;
7906
7907 eval "$ac_cv_use_scrollbar"
7908 if test "$no_cache" != 1; then
7909 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7910 fi
7911
7912 if test "$wxUSE_SCROLLBAR" = yes; then
7913 echo "$as_me:$LINENO: result: yes" >&5
7914 echo "${ECHO_T}yes" >&6
7915 else
7916 echo "$as_me:$LINENO: result: no" >&5
7917 echo "${ECHO_T}no" >&6
7918 fi
7919
7920
7921 enablestring=
7922 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7923 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7924 no_cache=0
7925 # Check whether --enable-slider or --disable-slider was given.
7926 if test "${enable_slider+set}" = set; then
7927 enableval="$enable_slider"
7928
7929 if test "$enableval" = yes; then
7930 ac_cv_use_slider='wxUSE_SLIDER=yes'
7931 else
7932 ac_cv_use_slider='wxUSE_SLIDER=no'
7933 fi
7934
7935 else
7936
7937 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7938 if test "x$LINE" != x ; then
7939 eval "DEFAULT_$LINE"
7940 else
7941 no_cache=1
7942 fi
7943
7944 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7945
7946 fi;
7947
7948 eval "$ac_cv_use_slider"
7949 if test "$no_cache" != 1; then
7950 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7951 fi
7952
7953 if test "$wxUSE_SLIDER" = yes; then
7954 echo "$as_me:$LINENO: result: yes" >&5
7955 echo "${ECHO_T}yes" >&6
7956 else
7957 echo "$as_me:$LINENO: result: no" >&5
7958 echo "${ECHO_T}no" >&6
7959 fi
7960
7961
7962 enablestring=
7963 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7964 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7965 no_cache=0
7966 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7967 if test "${enable_spinbtn+set}" = set; then
7968 enableval="$enable_spinbtn"
7969
7970 if test "$enableval" = yes; then
7971 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
7972 else
7973 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
7974 fi
7975
7976 else
7977
7978 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7979 if test "x$LINE" != x ; then
7980 eval "DEFAULT_$LINE"
7981 else
7982 no_cache=1
7983 fi
7984
7985 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7986
7987 fi;
7988
7989 eval "$ac_cv_use_spinbtn"
7990 if test "$no_cache" != 1; then
7991 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7992 fi
7993
7994 if test "$wxUSE_SPINBTN" = yes; then
7995 echo "$as_me:$LINENO: result: yes" >&5
7996 echo "${ECHO_T}yes" >&6
7997 else
7998 echo "$as_me:$LINENO: result: no" >&5
7999 echo "${ECHO_T}no" >&6
8000 fi
8001
8002
8003 enablestring=
8004 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8005 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8006 no_cache=0
8007 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8008 if test "${enable_spinctrl+set}" = set; then
8009 enableval="$enable_spinctrl"
8010
8011 if test "$enableval" = yes; then
8012 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
8013 else
8014 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
8015 fi
8016
8017 else
8018
8019 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8020 if test "x$LINE" != x ; then
8021 eval "DEFAULT_$LINE"
8022 else
8023 no_cache=1
8024 fi
8025
8026 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8027
8028 fi;
8029
8030 eval "$ac_cv_use_spinctrl"
8031 if test "$no_cache" != 1; then
8032 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8033 fi
8034
8035 if test "$wxUSE_SPINCTRL" = yes; then
8036 echo "$as_me:$LINENO: result: yes" >&5
8037 echo "${ECHO_T}yes" >&6
8038 else
8039 echo "$as_me:$LINENO: result: no" >&5
8040 echo "${ECHO_T}no" >&6
8041 fi
8042
8043
8044 enablestring=
8045 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8046 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8047 no_cache=0
8048 # Check whether --enable-splitter or --disable-splitter was given.
8049 if test "${enable_splitter+set}" = set; then
8050 enableval="$enable_splitter"
8051
8052 if test "$enableval" = yes; then
8053 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
8054 else
8055 ac_cv_use_splitter='wxUSE_SPLITTER=no'
8056 fi
8057
8058 else
8059
8060 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8061 if test "x$LINE" != x ; then
8062 eval "DEFAULT_$LINE"
8063 else
8064 no_cache=1
8065 fi
8066
8067 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8068
8069 fi;
8070
8071 eval "$ac_cv_use_splitter"
8072 if test "$no_cache" != 1; then
8073 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8074 fi
8075
8076 if test "$wxUSE_SPLITTER" = yes; then
8077 echo "$as_me:$LINENO: result: yes" >&5
8078 echo "${ECHO_T}yes" >&6
8079 else
8080 echo "$as_me:$LINENO: result: no" >&5
8081 echo "${ECHO_T}no" >&6
8082 fi
8083
8084
8085 enablestring=
8086 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8087 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8088 no_cache=0
8089 # Check whether --enable-statbmp or --disable-statbmp was given.
8090 if test "${enable_statbmp+set}" = set; then
8091 enableval="$enable_statbmp"
8092
8093 if test "$enableval" = yes; then
8094 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
8095 else
8096 ac_cv_use_statbmp='wxUSE_STATBMP=no'
8097 fi
8098
8099 else
8100
8101 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8102 if test "x$LINE" != x ; then
8103 eval "DEFAULT_$LINE"
8104 else
8105 no_cache=1
8106 fi
8107
8108 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8109
8110 fi;
8111
8112 eval "$ac_cv_use_statbmp"
8113 if test "$no_cache" != 1; then
8114 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8115 fi
8116
8117 if test "$wxUSE_STATBMP" = yes; then
8118 echo "$as_me:$LINENO: result: yes" >&5
8119 echo "${ECHO_T}yes" >&6
8120 else
8121 echo "$as_me:$LINENO: result: no" >&5
8122 echo "${ECHO_T}no" >&6
8123 fi
8124
8125
8126 enablestring=
8127 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8128 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8129 no_cache=0
8130 # Check whether --enable-statbox or --disable-statbox was given.
8131 if test "${enable_statbox+set}" = set; then
8132 enableval="$enable_statbox"
8133
8134 if test "$enableval" = yes; then
8135 ac_cv_use_statbox='wxUSE_STATBOX=yes'
8136 else
8137 ac_cv_use_statbox='wxUSE_STATBOX=no'
8138 fi
8139
8140 else
8141
8142 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8143 if test "x$LINE" != x ; then
8144 eval "DEFAULT_$LINE"
8145 else
8146 no_cache=1
8147 fi
8148
8149 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8150
8151 fi;
8152
8153 eval "$ac_cv_use_statbox"
8154 if test "$no_cache" != 1; then
8155 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8156 fi
8157
8158 if test "$wxUSE_STATBOX" = yes; then
8159 echo "$as_me:$LINENO: result: yes" >&5
8160 echo "${ECHO_T}yes" >&6
8161 else
8162 echo "$as_me:$LINENO: result: no" >&5
8163 echo "${ECHO_T}no" >&6
8164 fi
8165
8166
8167 enablestring=
8168 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8169 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8170 no_cache=0
8171 # Check whether --enable-statline or --disable-statline was given.
8172 if test "${enable_statline+set}" = set; then
8173 enableval="$enable_statline"
8174
8175 if test "$enableval" = yes; then
8176 ac_cv_use_statline='wxUSE_STATLINE=yes'
8177 else
8178 ac_cv_use_statline='wxUSE_STATLINE=no'
8179 fi
8180
8181 else
8182
8183 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8184 if test "x$LINE" != x ; then
8185 eval "DEFAULT_$LINE"
8186 else
8187 no_cache=1
8188 fi
8189
8190 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8191
8192 fi;
8193
8194 eval "$ac_cv_use_statline"
8195 if test "$no_cache" != 1; then
8196 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8197 fi
8198
8199 if test "$wxUSE_STATLINE" = yes; then
8200 echo "$as_me:$LINENO: result: yes" >&5
8201 echo "${ECHO_T}yes" >&6
8202 else
8203 echo "$as_me:$LINENO: result: no" >&5
8204 echo "${ECHO_T}no" >&6
8205 fi
8206
8207
8208 enablestring=
8209 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8210 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8211 no_cache=0
8212 # Check whether --enable-stattext or --disable-stattext was given.
8213 if test "${enable_stattext+set}" = set; then
8214 enableval="$enable_stattext"
8215
8216 if test "$enableval" = yes; then
8217 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
8218 else
8219 ac_cv_use_stattext='wxUSE_STATTEXT=no'
8220 fi
8221
8222 else
8223
8224 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8225 if test "x$LINE" != x ; then
8226 eval "DEFAULT_$LINE"
8227 else
8228 no_cache=1
8229 fi
8230
8231 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8232
8233 fi;
8234
8235 eval "$ac_cv_use_stattext"
8236 if test "$no_cache" != 1; then
8237 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8238 fi
8239
8240 if test "$wxUSE_STATTEXT" = yes; then
8241 echo "$as_me:$LINENO: result: yes" >&5
8242 echo "${ECHO_T}yes" >&6
8243 else
8244 echo "$as_me:$LINENO: result: no" >&5
8245 echo "${ECHO_T}no" >&6
8246 fi
8247
8248
8249 enablestring=
8250 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8251 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8252 no_cache=0
8253 # Check whether --enable-statusbar or --disable-statusbar was given.
8254 if test "${enable_statusbar+set}" = set; then
8255 enableval="$enable_statusbar"
8256
8257 if test "$enableval" = yes; then
8258 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
8259 else
8260 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
8261 fi
8262
8263 else
8264
8265 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8266 if test "x$LINE" != x ; then
8267 eval "DEFAULT_$LINE"
8268 else
8269 no_cache=1
8270 fi
8271
8272 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8273
8274 fi;
8275
8276 eval "$ac_cv_use_statusbar"
8277 if test "$no_cache" != 1; then
8278 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8279 fi
8280
8281 if test "$wxUSE_STATUSBAR" = yes; then
8282 echo "$as_me:$LINENO: result: yes" >&5
8283 echo "${ECHO_T}yes" >&6
8284 else
8285 echo "$as_me:$LINENO: result: no" >&5
8286 echo "${ECHO_T}no" >&6
8287 fi
8288
8289
8290 enablestring=
8291 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8292 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8293 no_cache=0
8294 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8295 if test "${enable_tabdialog+set}" = set; then
8296 enableval="$enable_tabdialog"
8297
8298 if test "$enableval" = yes; then
8299 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
8300 else
8301 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
8302 fi
8303
8304 else
8305
8306 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8307 if test "x$LINE" != x ; then
8308 eval "DEFAULT_$LINE"
8309 else
8310 no_cache=1
8311 fi
8312
8313 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8314
8315 fi;
8316
8317 eval "$ac_cv_use_tabdialog"
8318 if test "$no_cache" != 1; then
8319 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8320 fi
8321
8322 if test "$wxUSE_TABDIALOG" = yes; then
8323 echo "$as_me:$LINENO: result: yes" >&5
8324 echo "${ECHO_T}yes" >&6
8325 else
8326 echo "$as_me:$LINENO: result: no" >&5
8327 echo "${ECHO_T}no" >&6
8328 fi
8329
8330
8331 enablestring=
8332 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8333 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8334 no_cache=0
8335 # Check whether --enable-textctrl or --disable-textctrl was given.
8336 if test "${enable_textctrl+set}" = set; then
8337 enableval="$enable_textctrl"
8338
8339 if test "$enableval" = yes; then
8340 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
8341 else
8342 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
8343 fi
8344
8345 else
8346
8347 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8348 if test "x$LINE" != x ; then
8349 eval "DEFAULT_$LINE"
8350 else
8351 no_cache=1
8352 fi
8353
8354 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8355
8356 fi;
8357
8358 eval "$ac_cv_use_textctrl"
8359 if test "$no_cache" != 1; then
8360 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8361 fi
8362
8363 if test "$wxUSE_TEXTCTRL" = yes; then
8364 echo "$as_me:$LINENO: result: yes" >&5
8365 echo "${ECHO_T}yes" >&6
8366 else
8367 echo "$as_me:$LINENO: result: no" >&5
8368 echo "${ECHO_T}no" >&6
8369 fi
8370
8371
8372 enablestring=
8373 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8374 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8375 no_cache=0
8376 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8377 if test "${enable_togglebtn+set}" = set; then
8378 enableval="$enable_togglebtn"
8379
8380 if test "$enableval" = yes; then
8381 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
8382 else
8383 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
8384 fi
8385
8386 else
8387
8388 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8389 if test "x$LINE" != x ; then
8390 eval "DEFAULT_$LINE"
8391 else
8392 no_cache=1
8393 fi
8394
8395 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8396
8397 fi;
8398
8399 eval "$ac_cv_use_togglebtn"
8400 if test "$no_cache" != 1; then
8401 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8402 fi
8403
8404 if test "$wxUSE_TOGGLEBTN" = yes; then
8405 echo "$as_me:$LINENO: result: yes" >&5
8406 echo "${ECHO_T}yes" >&6
8407 else
8408 echo "$as_me:$LINENO: result: no" >&5
8409 echo "${ECHO_T}no" >&6
8410 fi
8411
8412
8413 enablestring=
8414 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8415 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8416 no_cache=0
8417 # Check whether --enable-toolbar or --disable-toolbar was given.
8418 if test "${enable_toolbar+set}" = set; then
8419 enableval="$enable_toolbar"
8420
8421 if test "$enableval" = yes; then
8422 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
8423 else
8424 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
8425 fi
8426
8427 else
8428
8429 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8430 if test "x$LINE" != x ; then
8431 eval "DEFAULT_$LINE"
8432 else
8433 no_cache=1
8434 fi
8435
8436 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8437
8438 fi;
8439
8440 eval "$ac_cv_use_toolbar"
8441 if test "$no_cache" != 1; then
8442 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8443 fi
8444
8445 if test "$wxUSE_TOOLBAR" = yes; then
8446 echo "$as_me:$LINENO: result: yes" >&5
8447 echo "${ECHO_T}yes" >&6
8448 else
8449 echo "$as_me:$LINENO: result: no" >&5
8450 echo "${ECHO_T}no" >&6
8451 fi
8452
8453
8454 enablestring=
8455 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8456 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8457 no_cache=0
8458 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8459 if test "${enable_tbarnative+set}" = set; then
8460 enableval="$enable_tbarnative"
8461
8462 if test "$enableval" = yes; then
8463 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
8464 else
8465 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
8466 fi
8467
8468 else
8469
8470 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8471 if test "x$LINE" != x ; then
8472 eval "DEFAULT_$LINE"
8473 else
8474 no_cache=1
8475 fi
8476
8477 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8478
8479 fi;
8480
8481 eval "$ac_cv_use_tbarnative"
8482 if test "$no_cache" != 1; then
8483 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8484 fi
8485
8486 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8487 echo "$as_me:$LINENO: result: yes" >&5
8488 echo "${ECHO_T}yes" >&6
8489 else
8490 echo "$as_me:$LINENO: result: no" >&5
8491 echo "${ECHO_T}no" >&6
8492 fi
8493
8494
8495 enablestring=
8496 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8497 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8498 no_cache=0
8499 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8500 if test "${enable_tbarsmpl+set}" = set; then
8501 enableval="$enable_tbarsmpl"
8502
8503 if test "$enableval" = yes; then
8504 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
8505 else
8506 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
8507 fi
8508
8509 else
8510
8511 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8512 if test "x$LINE" != x ; then
8513 eval "DEFAULT_$LINE"
8514 else
8515 no_cache=1
8516 fi
8517
8518 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8519
8520 fi;
8521
8522 eval "$ac_cv_use_tbarsmpl"
8523 if test "$no_cache" != 1; then
8524 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8525 fi
8526
8527 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8528 echo "$as_me:$LINENO: result: yes" >&5
8529 echo "${ECHO_T}yes" >&6
8530 else
8531 echo "$as_me:$LINENO: result: no" >&5
8532 echo "${ECHO_T}no" >&6
8533 fi
8534
8535
8536 enablestring=
8537 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8538 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8539 no_cache=0
8540 # Check whether --enable-treectrl or --disable-treectrl was given.
8541 if test "${enable_treectrl+set}" = set; then
8542 enableval="$enable_treectrl"
8543
8544 if test "$enableval" = yes; then
8545 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8546 else
8547 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8548 fi
8549
8550 else
8551
8552 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8553 if test "x$LINE" != x ; then
8554 eval "DEFAULT_$LINE"
8555 else
8556 no_cache=1
8557 fi
8558
8559 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8560
8561 fi;
8562
8563 eval "$ac_cv_use_treectrl"
8564 if test "$no_cache" != 1; then
8565 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8566 fi
8567
8568 if test "$wxUSE_TREECTRL" = yes; then
8569 echo "$as_me:$LINENO: result: yes" >&5
8570 echo "${ECHO_T}yes" >&6
8571 else
8572 echo "$as_me:$LINENO: result: no" >&5
8573 echo "${ECHO_T}no" >&6
8574 fi
8575
8576
8577 enablestring=
8578 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8579 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8580 no_cache=0
8581 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8582 if test "${enable_tipwindow+set}" = set; then
8583 enableval="$enable_tipwindow"
8584
8585 if test "$enableval" = yes; then
8586 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8587 else
8588 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8589 fi
8590
8591 else
8592
8593 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8594 if test "x$LINE" != x ; then
8595 eval "DEFAULT_$LINE"
8596 else
8597 no_cache=1
8598 fi
8599
8600 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8601
8602 fi;
8603
8604 eval "$ac_cv_use_tipwindow"
8605 if test "$no_cache" != 1; then
8606 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8607 fi
8608
8609 if test "$wxUSE_TIPWINDOW" = yes; then
8610 echo "$as_me:$LINENO: result: yes" >&5
8611 echo "${ECHO_T}yes" >&6
8612 else
8613 echo "$as_me:$LINENO: result: no" >&5
8614 echo "${ECHO_T}no" >&6
8615 fi
8616
8617
8618 enablestring=
8619 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8620 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8621 no_cache=0
8622 # Check whether --enable-popupwin or --disable-popupwin was given.
8623 if test "${enable_popupwin+set}" = set; then
8624 enableval="$enable_popupwin"
8625
8626 if test "$enableval" = yes; then
8627 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8628 else
8629 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8630 fi
8631
8632 else
8633
8634 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8635 if test "x$LINE" != x ; then
8636 eval "DEFAULT_$LINE"
8637 else
8638 no_cache=1
8639 fi
8640
8641 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8642
8643 fi;
8644
8645 eval "$ac_cv_use_popupwin"
8646 if test "$no_cache" != 1; then
8647 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8648 fi
8649
8650 if test "$wxUSE_POPUPWIN" = yes; then
8651 echo "$as_me:$LINENO: result: yes" >&5
8652 echo "${ECHO_T}yes" >&6
8653 else
8654 echo "$as_me:$LINENO: result: no" >&5
8655 echo "${ECHO_T}no" >&6
8656 fi
8657
8658
8659
8660
8661 enablestring=
8662 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8663 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8664 no_cache=0
8665 # Check whether --enable-commondlg or --disable-commondlg was given.
8666 if test "${enable_commondlg+set}" = set; then
8667 enableval="$enable_commondlg"
8668
8669 if test "$enableval" = yes; then
8670 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
8671 else
8672 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
8673 fi
8674
8675 else
8676
8677 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8678 if test "x$LINE" != x ; then
8679 eval "DEFAULT_$LINE"
8680 else
8681 no_cache=1
8682 fi
8683
8684 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8685
8686 fi;
8687
8688 eval "$ac_cv_use_commondlg"
8689 if test "$no_cache" != 1; then
8690 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8691 fi
8692
8693 if test "$wxUSE_COMMONDLGS" = yes; then
8694 echo "$as_me:$LINENO: result: yes" >&5
8695 echo "${ECHO_T}yes" >&6
8696 else
8697 echo "$as_me:$LINENO: result: no" >&5
8698 echo "${ECHO_T}no" >&6
8699 fi
8700
8701
8702 enablestring=
8703 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8704 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8705 no_cache=0
8706 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8707 if test "${enable_choicedlg+set}" = set; then
8708 enableval="$enable_choicedlg"
8709
8710 if test "$enableval" = yes; then
8711 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
8712 else
8713 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
8714 fi
8715
8716 else
8717
8718 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8719 if test "x$LINE" != x ; then
8720 eval "DEFAULT_$LINE"
8721 else
8722 no_cache=1
8723 fi
8724
8725 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8726
8727 fi;
8728
8729 eval "$ac_cv_use_choicedlg"
8730 if test "$no_cache" != 1; then
8731 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8732 fi
8733
8734 if test "$wxUSE_CHOICEDLG" = yes; then
8735 echo "$as_me:$LINENO: result: yes" >&5
8736 echo "${ECHO_T}yes" >&6
8737 else
8738 echo "$as_me:$LINENO: result: no" >&5
8739 echo "${ECHO_T}no" >&6
8740 fi
8741
8742
8743 enablestring=
8744 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8745 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8746 no_cache=0
8747 # Check whether --enable-coldlg or --disable-coldlg was given.
8748 if test "${enable_coldlg+set}" = set; then
8749 enableval="$enable_coldlg"
8750
8751 if test "$enableval" = yes; then
8752 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
8753 else
8754 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
8755 fi
8756
8757 else
8758
8759 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8760 if test "x$LINE" != x ; then
8761 eval "DEFAULT_$LINE"
8762 else
8763 no_cache=1
8764 fi
8765
8766 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8767
8768 fi;
8769
8770 eval "$ac_cv_use_coldlg"
8771 if test "$no_cache" != 1; then
8772 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8773 fi
8774
8775 if test "$wxUSE_COLOURDLG" = yes; then
8776 echo "$as_me:$LINENO: result: yes" >&5
8777 echo "${ECHO_T}yes" >&6
8778 else
8779 echo "$as_me:$LINENO: result: no" >&5
8780 echo "${ECHO_T}no" >&6
8781 fi
8782
8783
8784 enablestring=
8785 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8786 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8787 no_cache=0
8788 # Check whether --enable-filedlg or --disable-filedlg was given.
8789 if test "${enable_filedlg+set}" = set; then
8790 enableval="$enable_filedlg"
8791
8792 if test "$enableval" = yes; then
8793 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
8794 else
8795 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
8796 fi
8797
8798 else
8799
8800 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8801 if test "x$LINE" != x ; then
8802 eval "DEFAULT_$LINE"
8803 else
8804 no_cache=1
8805 fi
8806
8807 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8808
8809 fi;
8810
8811 eval "$ac_cv_use_filedlg"
8812 if test "$no_cache" != 1; then
8813 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8814 fi
8815
8816 if test "$wxUSE_FILEDLG" = yes; then
8817 echo "$as_me:$LINENO: result: yes" >&5
8818 echo "${ECHO_T}yes" >&6
8819 else
8820 echo "$as_me:$LINENO: result: no" >&5
8821 echo "${ECHO_T}no" >&6
8822 fi
8823
8824
8825 enablestring=
8826 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8827 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8828 no_cache=0
8829 # Check whether --enable-finddlg or --disable-finddlg was given.
8830 if test "${enable_finddlg+set}" = set; then
8831 enableval="$enable_finddlg"
8832
8833 if test "$enableval" = yes; then
8834 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
8835 else
8836 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
8837 fi
8838
8839 else
8840
8841 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8842 if test "x$LINE" != x ; then
8843 eval "DEFAULT_$LINE"
8844 else
8845 no_cache=1
8846 fi
8847
8848 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8849
8850 fi;
8851
8852 eval "$ac_cv_use_finddlg"
8853 if test "$no_cache" != 1; then
8854 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8855 fi
8856
8857 if test "$wxUSE_FINDREPLDLG" = yes; then
8858 echo "$as_me:$LINENO: result: yes" >&5
8859 echo "${ECHO_T}yes" >&6
8860 else
8861 echo "$as_me:$LINENO: result: no" >&5
8862 echo "${ECHO_T}no" >&6
8863 fi
8864
8865
8866 enablestring=
8867 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8868 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8869 no_cache=0
8870 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8871 if test "${enable_fontdlg+set}" = set; then
8872 enableval="$enable_fontdlg"
8873
8874 if test "$enableval" = yes; then
8875 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
8876 else
8877 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
8878 fi
8879
8880 else
8881
8882 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8883 if test "x$LINE" != x ; then
8884 eval "DEFAULT_$LINE"
8885 else
8886 no_cache=1
8887 fi
8888
8889 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8890
8891 fi;
8892
8893 eval "$ac_cv_use_fontdlg"
8894 if test "$no_cache" != 1; then
8895 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8896 fi
8897
8898 if test "$wxUSE_FONTDLG" = yes; then
8899 echo "$as_me:$LINENO: result: yes" >&5
8900 echo "${ECHO_T}yes" >&6
8901 else
8902 echo "$as_me:$LINENO: result: no" >&5
8903 echo "${ECHO_T}no" >&6
8904 fi
8905
8906
8907 enablestring=
8908 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8909 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8910 no_cache=0
8911 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8912 if test "${enable_dirdlg+set}" = set; then
8913 enableval="$enable_dirdlg"
8914
8915 if test "$enableval" = yes; then
8916 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
8917 else
8918 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
8919 fi
8920
8921 else
8922
8923 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8924 if test "x$LINE" != x ; then
8925 eval "DEFAULT_$LINE"
8926 else
8927 no_cache=1
8928 fi
8929
8930 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8931
8932 fi;
8933
8934 eval "$ac_cv_use_dirdlg"
8935 if test "$no_cache" != 1; then
8936 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8937 fi
8938
8939 if test "$wxUSE_DIRDLG" = yes; then
8940 echo "$as_me:$LINENO: result: yes" >&5
8941 echo "${ECHO_T}yes" >&6
8942 else
8943 echo "$as_me:$LINENO: result: no" >&5
8944 echo "${ECHO_T}no" >&6
8945 fi
8946
8947
8948 enablestring=
8949 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8950 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8951 no_cache=0
8952 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8953 if test "${enable_msgdlg+set}" = set; then
8954 enableval="$enable_msgdlg"
8955
8956 if test "$enableval" = yes; then
8957 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
8958 else
8959 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
8960 fi
8961
8962 else
8963
8964 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8965 if test "x$LINE" != x ; then
8966 eval "DEFAULT_$LINE"
8967 else
8968 no_cache=1
8969 fi
8970
8971 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8972
8973 fi;
8974
8975 eval "$ac_cv_use_msgdlg"
8976 if test "$no_cache" != 1; then
8977 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8978 fi
8979
8980 if test "$wxUSE_MSGDLG" = yes; then
8981 echo "$as_me:$LINENO: result: yes" >&5
8982 echo "${ECHO_T}yes" >&6
8983 else
8984 echo "$as_me:$LINENO: result: no" >&5
8985 echo "${ECHO_T}no" >&6
8986 fi
8987
8988
8989 enablestring=
8990 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8991 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8992 no_cache=0
8993 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8994 if test "${enable_numberdlg+set}" = set; then
8995 enableval="$enable_numberdlg"
8996
8997 if test "$enableval" = yes; then
8998 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
8999 else
9000 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
9001 fi
9002
9003 else
9004
9005 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9006 if test "x$LINE" != x ; then
9007 eval "DEFAULT_$LINE"
9008 else
9009 no_cache=1
9010 fi
9011
9012 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9013
9014 fi;
9015
9016 eval "$ac_cv_use_numberdlg"
9017 if test "$no_cache" != 1; then
9018 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9019 fi
9020
9021 if test "$wxUSE_NUMBERDLG" = yes; then
9022 echo "$as_me:$LINENO: result: yes" >&5
9023 echo "${ECHO_T}yes" >&6
9024 else
9025 echo "$as_me:$LINENO: result: no" >&5
9026 echo "${ECHO_T}no" >&6
9027 fi
9028
9029
9030 enablestring=
9031 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9032 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9033 no_cache=0
9034 # Check whether --enable-splash or --disable-splash was given.
9035 if test "${enable_splash+set}" = set; then
9036 enableval="$enable_splash"
9037
9038 if test "$enableval" = yes; then
9039 ac_cv_use_splash='wxUSE_SPLASH=yes'
9040 else
9041 ac_cv_use_splash='wxUSE_SPLASH=no'
9042 fi
9043
9044 else
9045
9046 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9047 if test "x$LINE" != x ; then
9048 eval "DEFAULT_$LINE"
9049 else
9050 no_cache=1
9051 fi
9052
9053 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9054
9055 fi;
9056
9057 eval "$ac_cv_use_splash"
9058 if test "$no_cache" != 1; then
9059 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9060 fi
9061
9062 if test "$wxUSE_SPLASH" = yes; then
9063 echo "$as_me:$LINENO: result: yes" >&5
9064 echo "${ECHO_T}yes" >&6
9065 else
9066 echo "$as_me:$LINENO: result: no" >&5
9067 echo "${ECHO_T}no" >&6
9068 fi
9069
9070
9071 enablestring=
9072 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9073 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9074 no_cache=0
9075 # Check whether --enable-textdlg or --disable-textdlg was given.
9076 if test "${enable_textdlg+set}" = set; then
9077 enableval="$enable_textdlg"
9078
9079 if test "$enableval" = yes; then
9080 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
9081 else
9082 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
9083 fi
9084
9085 else
9086
9087 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9088 if test "x$LINE" != x ; then
9089 eval "DEFAULT_$LINE"
9090 else
9091 no_cache=1
9092 fi
9093
9094 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9095
9096 fi;
9097
9098 eval "$ac_cv_use_textdlg"
9099 if test "$no_cache" != 1; then
9100 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9101 fi
9102
9103 if test "$wxUSE_TEXTDLG" = yes; then
9104 echo "$as_me:$LINENO: result: yes" >&5
9105 echo "${ECHO_T}yes" >&6
9106 else
9107 echo "$as_me:$LINENO: result: no" >&5
9108 echo "${ECHO_T}no" >&6
9109 fi
9110
9111
9112 enablestring=
9113 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9114 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9115 no_cache=0
9116 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9117 if test "${enable_tipdlg+set}" = set; then
9118 enableval="$enable_tipdlg"
9119
9120 if test "$enableval" = yes; then
9121 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
9122 else
9123 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
9124 fi
9125
9126 else
9127
9128 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9129 if test "x$LINE" != x ; then
9130 eval "DEFAULT_$LINE"
9131 else
9132 no_cache=1
9133 fi
9134
9135 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9136
9137 fi;
9138
9139 eval "$ac_cv_use_tipdlg"
9140 if test "$no_cache" != 1; then
9141 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9142 fi
9143
9144 if test "$wxUSE_STARTUP_TIPS" = yes; then
9145 echo "$as_me:$LINENO: result: yes" >&5
9146 echo "${ECHO_T}yes" >&6
9147 else
9148 echo "$as_me:$LINENO: result: no" >&5
9149 echo "${ECHO_T}no" >&6
9150 fi
9151
9152
9153 enablestring=
9154 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9155 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9156 no_cache=0
9157 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9158 if test "${enable_progressdlg+set}" = set; then
9159 enableval="$enable_progressdlg"
9160
9161 if test "$enableval" = yes; then
9162 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
9163 else
9164 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
9165 fi
9166
9167 else
9168
9169 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9170 if test "x$LINE" != x ; then
9171 eval "DEFAULT_$LINE"
9172 else
9173 no_cache=1
9174 fi
9175
9176 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9177
9178 fi;
9179
9180 eval "$ac_cv_use_progressdlg"
9181 if test "$no_cache" != 1; then
9182 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9183 fi
9184
9185 if test "$wxUSE_PROGRESSDLG" = yes; then
9186 echo "$as_me:$LINENO: result: yes" >&5
9187 echo "${ECHO_T}yes" >&6
9188 else
9189 echo "$as_me:$LINENO: result: no" >&5
9190 echo "${ECHO_T}no" >&6
9191 fi
9192
9193
9194 enablestring=
9195 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9196 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9197 no_cache=0
9198 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9199 if test "${enable_wizarddlg+set}" = set; then
9200 enableval="$enable_wizarddlg"
9201
9202 if test "$enableval" = yes; then
9203 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
9204 else
9205 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
9206 fi
9207
9208 else
9209
9210 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9211 if test "x$LINE" != x ; then
9212 eval "DEFAULT_$LINE"
9213 else
9214 no_cache=1
9215 fi
9216
9217 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9218
9219 fi;
9220
9221 eval "$ac_cv_use_wizarddlg"
9222 if test "$no_cache" != 1; then
9223 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9224 fi
9225
9226 if test "$wxUSE_WIZARDDLG" = yes; then
9227 echo "$as_me:$LINENO: result: yes" >&5
9228 echo "${ECHO_T}yes" >&6
9229 else
9230 echo "$as_me:$LINENO: result: no" >&5
9231 echo "${ECHO_T}no" >&6
9232 fi
9233
9234
9235
9236
9237 enablestring=
9238 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9239 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9240 no_cache=0
9241 # Check whether --enable-menus or --disable-menus was given.
9242 if test "${enable_menus+set}" = set; then
9243 enableval="$enable_menus"
9244
9245 if test "$enableval" = yes; then
9246 ac_cv_use_menus='wxUSE_MENUS=yes'
9247 else
9248 ac_cv_use_menus='wxUSE_MENUS=no'
9249 fi
9250
9251 else
9252
9253 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9254 if test "x$LINE" != x ; then
9255 eval "DEFAULT_$LINE"
9256 else
9257 no_cache=1
9258 fi
9259
9260 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9261
9262 fi;
9263
9264 eval "$ac_cv_use_menus"
9265 if test "$no_cache" != 1; then
9266 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9267 fi
9268
9269 if test "$wxUSE_MENUS" = yes; then
9270 echo "$as_me:$LINENO: result: yes" >&5
9271 echo "${ECHO_T}yes" >&6
9272 else
9273 echo "$as_me:$LINENO: result: no" >&5
9274 echo "${ECHO_T}no" >&6
9275 fi
9276
9277
9278 enablestring=
9279 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9280 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9281 no_cache=0
9282 # Check whether --enable-miniframe or --disable-miniframe was given.
9283 if test "${enable_miniframe+set}" = set; then
9284 enableval="$enable_miniframe"
9285
9286 if test "$enableval" = yes; then
9287 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
9288 else
9289 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
9290 fi
9291
9292 else
9293
9294 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9295 if test "x$LINE" != x ; then
9296 eval "DEFAULT_$LINE"
9297 else
9298 no_cache=1
9299 fi
9300
9301 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9302
9303 fi;
9304
9305 eval "$ac_cv_use_miniframe"
9306 if test "$no_cache" != 1; then
9307 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9308 fi
9309
9310 if test "$wxUSE_MINIFRAME" = yes; then
9311 echo "$as_me:$LINENO: result: yes" >&5
9312 echo "${ECHO_T}yes" >&6
9313 else
9314 echo "$as_me:$LINENO: result: no" >&5
9315 echo "${ECHO_T}no" >&6
9316 fi
9317
9318
9319 enablestring=
9320 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9321 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9322 no_cache=0
9323 # Check whether --enable-tooltips or --disable-tooltips was given.
9324 if test "${enable_tooltips+set}" = set; then
9325 enableval="$enable_tooltips"
9326
9327 if test "$enableval" = yes; then
9328 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
9329 else
9330 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
9331 fi
9332
9333 else
9334
9335 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9336 if test "x$LINE" != x ; then
9337 eval "DEFAULT_$LINE"
9338 else
9339 no_cache=1
9340 fi
9341
9342 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9343
9344 fi;
9345
9346 eval "$ac_cv_use_tooltips"
9347 if test "$no_cache" != 1; then
9348 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9349 fi
9350
9351 if test "$wxUSE_TOOLTIPS" = yes; then
9352 echo "$as_me:$LINENO: result: yes" >&5
9353 echo "${ECHO_T}yes" >&6
9354 else
9355 echo "$as_me:$LINENO: result: no" >&5
9356 echo "${ECHO_T}no" >&6
9357 fi
9358
9359
9360 enablestring=
9361 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9362 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9363 no_cache=0
9364 # Check whether --enable-splines or --disable-splines was given.
9365 if test "${enable_splines+set}" = set; then
9366 enableval="$enable_splines"
9367
9368 if test "$enableval" = yes; then
9369 ac_cv_use_splines='wxUSE_SPLINES=yes'
9370 else
9371 ac_cv_use_splines='wxUSE_SPLINES=no'
9372 fi
9373
9374 else
9375
9376 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9377 if test "x$LINE" != x ; then
9378 eval "DEFAULT_$LINE"
9379 else
9380 no_cache=1
9381 fi
9382
9383 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9384
9385 fi;
9386
9387 eval "$ac_cv_use_splines"
9388 if test "$no_cache" != 1; then
9389 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9390 fi
9391
9392 if test "$wxUSE_SPLINES" = yes; then
9393 echo "$as_me:$LINENO: result: yes" >&5
9394 echo "${ECHO_T}yes" >&6
9395 else
9396 echo "$as_me:$LINENO: result: no" >&5
9397 echo "${ECHO_T}no" >&6
9398 fi
9399
9400
9401 enablestring=
9402 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9403 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9404 no_cache=0
9405 # Check whether --enable-validators or --disable-validators was given.
9406 if test "${enable_validators+set}" = set; then
9407 enableval="$enable_validators"
9408
9409 if test "$enableval" = yes; then
9410 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
9411 else
9412 ac_cv_use_validators='wxUSE_VALIDATORS=no'
9413 fi
9414
9415 else
9416
9417 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9418 if test "x$LINE" != x ; then
9419 eval "DEFAULT_$LINE"
9420 else
9421 no_cache=1
9422 fi
9423
9424 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9425
9426 fi;
9427
9428 eval "$ac_cv_use_validators"
9429 if test "$no_cache" != 1; then
9430 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9431 fi
9432
9433 if test "$wxUSE_VALIDATORS" = yes; then
9434 echo "$as_me:$LINENO: result: yes" >&5
9435 echo "${ECHO_T}yes" >&6
9436 else
9437 echo "$as_me:$LINENO: result: no" >&5
9438 echo "${ECHO_T}no" >&6
9439 fi
9440
9441
9442 enablestring=
9443 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9444 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9445 no_cache=0
9446 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9447 if test "${enable_busyinfo+set}" = set; then
9448 enableval="$enable_busyinfo"
9449
9450 if test "$enableval" = yes; then
9451 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
9452 else
9453 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
9454 fi
9455
9456 else
9457
9458 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9459 if test "x$LINE" != x ; then
9460 eval "DEFAULT_$LINE"
9461 else
9462 no_cache=1
9463 fi
9464
9465 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9466
9467 fi;
9468
9469 eval "$ac_cv_use_busyinfo"
9470 if test "$no_cache" != 1; then
9471 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9472 fi
9473
9474 if test "$wxUSE_BUSYINFO" = yes; then
9475 echo "$as_me:$LINENO: result: yes" >&5
9476 echo "${ECHO_T}yes" >&6
9477 else
9478 echo "$as_me:$LINENO: result: no" >&5
9479 echo "${ECHO_T}no" >&6
9480 fi
9481
9482
9483 enablestring=
9484 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9485 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9486 no_cache=0
9487 # Check whether --enable-joystick or --disable-joystick was given.
9488 if test "${enable_joystick+set}" = set; then
9489 enableval="$enable_joystick"
9490
9491 if test "$enableval" = yes; then
9492 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
9493 else
9494 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
9495 fi
9496
9497 else
9498
9499 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9500 if test "x$LINE" != x ; then
9501 eval "DEFAULT_$LINE"
9502 else
9503 no_cache=1
9504 fi
9505
9506 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9507
9508 fi;
9509
9510 eval "$ac_cv_use_joystick"
9511 if test "$no_cache" != 1; then
9512 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9513 fi
9514
9515 if test "$wxUSE_JOYSTICK" = yes; then
9516 echo "$as_me:$LINENO: result: yes" >&5
9517 echo "${ECHO_T}yes" >&6
9518 else
9519 echo "$as_me:$LINENO: result: no" >&5
9520 echo "${ECHO_T}no" >&6
9521 fi
9522
9523
9524 enablestring=
9525 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9526 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9527 no_cache=0
9528 # Check whether --enable-metafile or --disable-metafile was given.
9529 if test "${enable_metafile+set}" = set; then
9530 enableval="$enable_metafile"
9531
9532 if test "$enableval" = yes; then
9533 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9534 else
9535 ac_cv_use_metafile='wxUSE_METAFILE=no'
9536 fi
9537
9538 else
9539
9540 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9541 if test "x$LINE" != x ; then
9542 eval "DEFAULT_$LINE"
9543 else
9544 no_cache=1
9545 fi
9546
9547 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9548
9549 fi;
9550
9551 eval "$ac_cv_use_metafile"
9552 if test "$no_cache" != 1; then
9553 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9554 fi
9555
9556 if test "$wxUSE_METAFILE" = yes; then
9557 echo "$as_me:$LINENO: result: yes" >&5
9558 echo "${ECHO_T}yes" >&6
9559 else
9560 echo "$as_me:$LINENO: result: no" >&5
9561 echo "${ECHO_T}no" >&6
9562 fi
9563
9564
9565 enablestring=
9566 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9567 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9568 no_cache=0
9569 # Check whether --enable-dragimage or --disable-dragimage was given.
9570 if test "${enable_dragimage+set}" = set; then
9571 enableval="$enable_dragimage"
9572
9573 if test "$enableval" = yes; then
9574 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9575 else
9576 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9577 fi
9578
9579 else
9580
9581 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9582 if test "x$LINE" != x ; then
9583 eval "DEFAULT_$LINE"
9584 else
9585 no_cache=1
9586 fi
9587
9588 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9589
9590 fi;
9591
9592 eval "$ac_cv_use_dragimage"
9593 if test "$no_cache" != 1; then
9594 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9595 fi
9596
9597 if test "$wxUSE_DRAGIMAGE" = yes; then
9598 echo "$as_me:$LINENO: result: yes" >&5
9599 echo "${ECHO_T}yes" >&6
9600 else
9601 echo "$as_me:$LINENO: result: no" >&5
9602 echo "${ECHO_T}no" >&6
9603 fi
9604
9605
9606 enablestring=
9607 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9608 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9609 no_cache=0
9610 # Check whether --enable-accessibility or --disable-accessibility was given.
9611 if test "${enable_accessibility+set}" = set; then
9612 enableval="$enable_accessibility"
9613
9614 if test "$enableval" = yes; then
9615 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9616 else
9617 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9618 fi
9619
9620 else
9621
9622 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9623 if test "x$LINE" != x ; then
9624 eval "DEFAULT_$LINE"
9625 else
9626 no_cache=1
9627 fi
9628
9629 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9630
9631 fi;
9632
9633 eval "$ac_cv_use_accessibility"
9634 if test "$no_cache" != 1; then
9635 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9636 fi
9637
9638 if test "$wxUSE_ACCESSIBILITY" = yes; then
9639 echo "$as_me:$LINENO: result: yes" >&5
9640 echo "${ECHO_T}yes" >&6
9641 else
9642 echo "$as_me:$LINENO: result: no" >&5
9643 echo "${ECHO_T}no" >&6
9644 fi
9645
9646
9647
9648
9649 enablestring=
9650 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9651 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9652 no_cache=0
9653 # Check whether --enable-palette or --disable-palette was given.
9654 if test "${enable_palette+set}" = set; then
9655 enableval="$enable_palette"
9656
9657 if test "$enableval" = yes; then
9658 ac_cv_use_palette='wxUSE_PALETTE=yes'
9659 else
9660 ac_cv_use_palette='wxUSE_PALETTE=no'
9661 fi
9662
9663 else
9664
9665 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9666 if test "x$LINE" != x ; then
9667 eval "DEFAULT_$LINE"
9668 else
9669 no_cache=1
9670 fi
9671
9672 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9673
9674 fi;
9675
9676 eval "$ac_cv_use_palette"
9677 if test "$no_cache" != 1; then
9678 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9679 fi
9680
9681 if test "$wxUSE_PALETTE" = yes; then
9682 echo "$as_me:$LINENO: result: yes" >&5
9683 echo "${ECHO_T}yes" >&6
9684 else
9685 echo "$as_me:$LINENO: result: no" >&5
9686 echo "${ECHO_T}no" >&6
9687 fi
9688
9689
9690 enablestring=
9691 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9692 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9693 no_cache=0
9694 # Check whether --enable-image or --disable-image was given.
9695 if test "${enable_image+set}" = set; then
9696 enableval="$enable_image"
9697
9698 if test "$enableval" = yes; then
9699 ac_cv_use_image='wxUSE_IMAGE=yes'
9700 else
9701 ac_cv_use_image='wxUSE_IMAGE=no'
9702 fi
9703
9704 else
9705
9706 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9707 if test "x$LINE" != x ; then
9708 eval "DEFAULT_$LINE"
9709 else
9710 no_cache=1
9711 fi
9712
9713 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9714
9715 fi;
9716
9717 eval "$ac_cv_use_image"
9718 if test "$no_cache" != 1; then
9719 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9720 fi
9721
9722 if test "$wxUSE_IMAGE" = yes; then
9723 echo "$as_me:$LINENO: result: yes" >&5
9724 echo "${ECHO_T}yes" >&6
9725 else
9726 echo "$as_me:$LINENO: result: no" >&5
9727 echo "${ECHO_T}no" >&6
9728 fi
9729
9730
9731 enablestring=
9732 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9733 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9734 no_cache=0
9735 # Check whether --enable-gif or --disable-gif was given.
9736 if test "${enable_gif+set}" = set; then
9737 enableval="$enable_gif"
9738
9739 if test "$enableval" = yes; then
9740 ac_cv_use_gif='wxUSE_GIF=yes'
9741 else
9742 ac_cv_use_gif='wxUSE_GIF=no'
9743 fi
9744
9745 else
9746
9747 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9748 if test "x$LINE" != x ; then
9749 eval "DEFAULT_$LINE"
9750 else
9751 no_cache=1
9752 fi
9753
9754 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9755
9756 fi;
9757
9758 eval "$ac_cv_use_gif"
9759 if test "$no_cache" != 1; then
9760 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9761 fi
9762
9763 if test "$wxUSE_GIF" = yes; then
9764 echo "$as_me:$LINENO: result: yes" >&5
9765 echo "${ECHO_T}yes" >&6
9766 else
9767 echo "$as_me:$LINENO: result: no" >&5
9768 echo "${ECHO_T}no" >&6
9769 fi
9770
9771
9772 enablestring=
9773 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9774 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9775 no_cache=0
9776 # Check whether --enable-pcx or --disable-pcx was given.
9777 if test "${enable_pcx+set}" = set; then
9778 enableval="$enable_pcx"
9779
9780 if test "$enableval" = yes; then
9781 ac_cv_use_pcx='wxUSE_PCX=yes'
9782 else
9783 ac_cv_use_pcx='wxUSE_PCX=no'
9784 fi
9785
9786 else
9787
9788 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9789 if test "x$LINE" != x ; then
9790 eval "DEFAULT_$LINE"
9791 else
9792 no_cache=1
9793 fi
9794
9795 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9796
9797 fi;
9798
9799 eval "$ac_cv_use_pcx"
9800 if test "$no_cache" != 1; then
9801 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9802 fi
9803
9804 if test "$wxUSE_PCX" = yes; then
9805 echo "$as_me:$LINENO: result: yes" >&5
9806 echo "${ECHO_T}yes" >&6
9807 else
9808 echo "$as_me:$LINENO: result: no" >&5
9809 echo "${ECHO_T}no" >&6
9810 fi
9811
9812
9813 enablestring=
9814 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9815 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9816 no_cache=0
9817 # Check whether --enable-iff or --disable-iff was given.
9818 if test "${enable_iff+set}" = set; then
9819 enableval="$enable_iff"
9820
9821 if test "$enableval" = yes; then
9822 ac_cv_use_iff='wxUSE_IFF=yes'
9823 else
9824 ac_cv_use_iff='wxUSE_IFF=no'
9825 fi
9826
9827 else
9828
9829 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9830 if test "x$LINE" != x ; then
9831 eval "DEFAULT_$LINE"
9832 else
9833 no_cache=1
9834 fi
9835
9836 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9837
9838 fi;
9839
9840 eval "$ac_cv_use_iff"
9841 if test "$no_cache" != 1; then
9842 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9843 fi
9844
9845 if test "$wxUSE_IFF" = yes; then
9846 echo "$as_me:$LINENO: result: yes" >&5
9847 echo "${ECHO_T}yes" >&6
9848 else
9849 echo "$as_me:$LINENO: result: no" >&5
9850 echo "${ECHO_T}no" >&6
9851 fi
9852
9853
9854 enablestring=
9855 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9856 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9857 no_cache=0
9858 # Check whether --enable-pnm or --disable-pnm was given.
9859 if test "${enable_pnm+set}" = set; then
9860 enableval="$enable_pnm"
9861
9862 if test "$enableval" = yes; then
9863 ac_cv_use_pnm='wxUSE_PNM=yes'
9864 else
9865 ac_cv_use_pnm='wxUSE_PNM=no'
9866 fi
9867
9868 else
9869
9870 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9871 if test "x$LINE" != x ; then
9872 eval "DEFAULT_$LINE"
9873 else
9874 no_cache=1
9875 fi
9876
9877 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9878
9879 fi;
9880
9881 eval "$ac_cv_use_pnm"
9882 if test "$no_cache" != 1; then
9883 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9884 fi
9885
9886 if test "$wxUSE_PNM" = yes; then
9887 echo "$as_me:$LINENO: result: yes" >&5
9888 echo "${ECHO_T}yes" >&6
9889 else
9890 echo "$as_me:$LINENO: result: no" >&5
9891 echo "${ECHO_T}no" >&6
9892 fi
9893
9894
9895 enablestring=
9896 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9897 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9898 no_cache=0
9899 # Check whether --enable-xpm or --disable-xpm was given.
9900 if test "${enable_xpm+set}" = set; then
9901 enableval="$enable_xpm"
9902
9903 if test "$enableval" = yes; then
9904 ac_cv_use_xpm='wxUSE_XPM=yes'
9905 else
9906 ac_cv_use_xpm='wxUSE_XPM=no'
9907 fi
9908
9909 else
9910
9911 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9912 if test "x$LINE" != x ; then
9913 eval "DEFAULT_$LINE"
9914 else
9915 no_cache=1
9916 fi
9917
9918 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9919
9920 fi;
9921
9922 eval "$ac_cv_use_xpm"
9923 if test "$no_cache" != 1; then
9924 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9925 fi
9926
9927 if test "$wxUSE_XPM" = yes; then
9928 echo "$as_me:$LINENO: result: yes" >&5
9929 echo "${ECHO_T}yes" >&6
9930 else
9931 echo "$as_me:$LINENO: result: no" >&5
9932 echo "${ECHO_T}no" >&6
9933 fi
9934
9935
9936 enablestring=
9937 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9938 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9939 no_cache=0
9940 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9941 if test "${enable_ico_cur+set}" = set; then
9942 enableval="$enable_ico_cur"
9943
9944 if test "$enableval" = yes; then
9945 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
9946 else
9947 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
9948 fi
9949
9950 else
9951
9952 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9953 if test "x$LINE" != x ; then
9954 eval "DEFAULT_$LINE"
9955 else
9956 no_cache=1
9957 fi
9958
9959 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9960
9961 fi;
9962
9963 eval "$ac_cv_use_ico_cur"
9964 if test "$no_cache" != 1; then
9965 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9966 fi
9967
9968 if test "$wxUSE_ICO_CUR" = yes; then
9969 echo "$as_me:$LINENO: result: yes" >&5
9970 echo "${ECHO_T}yes" >&6
9971 else
9972 echo "$as_me:$LINENO: result: no" >&5
9973 echo "${ECHO_T}no" >&6
9974 fi
9975
9976
9977 fi
9978
9979
9980
9981 # Check whether --with-flavour or --without-flavour was given.
9982 if test "${with_flavour+set}" = set; then
9983 withval="$with_flavour"
9984 WX_FLAVOUR="$withval"
9985 fi;
9986
9987
9988
9989 enablestring=
9990 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9991 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9992 no_cache=0
9993 # Check whether --enable-official_build or --disable-official_build was given.
9994 if test "${enable_official_build+set}" = set; then
9995 enableval="$enable_official_build"
9996
9997 if test "$enableval" = yes; then
9998 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
9999 else
10000 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
10001 fi
10002
10003 else
10004
10005 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10006 if test "x$LINE" != x ; then
10007 eval "DEFAULT_$LINE"
10008 else
10009 no_cache=1
10010 fi
10011
10012 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10013
10014 fi;
10015
10016 eval "$ac_cv_use_official_build"
10017 if test "$no_cache" != 1; then
10018 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10019 fi
10020
10021 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10022 echo "$as_me:$LINENO: result: yes" >&5
10023 echo "${ECHO_T}yes" >&6
10024 else
10025 echo "$as_me:$LINENO: result: no" >&5
10026 echo "${ECHO_T}no" >&6
10027 fi
10028
10029 # Check whether --enable-vendor or --disable-vendor was given.
10030 if test "${enable_vendor+set}" = set; then
10031 enableval="$enable_vendor"
10032 VENDOR="$enableval"
10033 fi;
10034 if test "x$VENDOR" = "x"; then
10035 VENDOR="custom"
10036 fi
10037
10038
10039
10040
10041 echo "saving argument cache $wx_arg_cache_file"
10042 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
10043
10044
10045
10046 echo "$as_me:$LINENO: checking for toolkit" >&5
10047 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10048
10049 # In Wine, we need to default to MSW, not GTK or MOTIF
10050 if test "$wxUSE_WINE" = "yes"; then
10051 DEFAULT_DEFAULT_wxUSE_GTK=0
10052 DEFAULT_DEFAULT_wxUSE_MOTIF=0
10053 DEFAULT_DEFAULT_wxUSE_MSW=1
10054 wxUSE_SHARED=no
10055 fi
10056
10057 if test "$wxUSE_GUI" = "yes"; then
10058
10059 if test "$USE_BEOS" = 1; then
10060 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10061 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10062 { (exit 1); exit 1; }; }
10063 fi
10064
10065 if test "$TOOLKIT_GIVEN" = 1; then
10066 for toolkit in `echo $ALL_TOOLKITS`; do
10067 var=wxUSE_$toolkit
10068 eval "value=\$${var}"
10069 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
10070 done
10071 else
10072 for toolkit in `echo $ALL_TOOLKITS`; do
10073 if test "$has_toolkit_in_cache" != 1; then
10074 var=DEFAULT_DEFAULT_wxUSE_$toolkit
10075 else
10076 var=DEFAULT_wxUSE_$toolkit
10077 fi
10078 eval "wxUSE_$toolkit=\$${var}"
10079 done
10080 fi
10081
10082 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10083 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10084 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10085
10086 case "${host}" in
10087 *-pc-os2_emx | *-pc-os2-emx )
10088 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10089 esac
10090
10091 case "$NUM_TOOLKITS" in
10092 1)
10093 ;;
10094 0)
10095 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10096 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10097 { (exit 1); exit 1; }; }
10098 ;;
10099 *)
10100 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10101 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10102 { (exit 1); exit 1; }; }
10103 esac
10104
10105 for toolkit in `echo $ALL_TOOLKITS`; do
10106 var=wxUSE_$toolkit
10107 eval "value=\$${var}"
10108 if test "x$value" != x; then
10109 cache_var=CACHE_$toolkit
10110 eval "cache=\$${cache_var}"
10111 if test "$cache" = 1; then
10112 echo "$var=$value" >> ${wx_arg_cache_file}
10113 fi
10114 if test "$value" = 1; then
10115 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10116 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10117 echo "${ECHO_T}$toolkit_echo" >&6
10118 fi
10119 fi
10120 done
10121 else
10122 if test "x$host_alias" != "x"; then
10123 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10124 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10125 else
10126 echo "$as_me:$LINENO: result: base only" >&5
10127 echo "${ECHO_T}base only" >&6
10128 fi
10129 fi
10130
10131 wants_win32=0
10132 doesnt_want_win32=0
10133 case "${host}" in
10134 *-*-cygwin*)
10135 if test "$wxUSE_MSW" = 1 ; then
10136 wants_win32=1
10137 else
10138 doesnt_want_win32=1
10139 fi
10140 ;;
10141 *-*-mingw*)
10142 wants_win32=1
10143 ;;
10144 esac
10145
10146 if test "$wxUSE_WINE" = "yes"; then
10147 wants_win32=1
10148 CC=winegcc
10149 CXX=wineg++
10150 RESCOMP=wrc
10151 LDFLAGS_GUI="-mwindows"
10152 fi
10153
10154 if test "$wants_win32" = 1 ; then
10155 USE_UNIX=0
10156 USE_WIN32=1
10157 cat >>confdefs.h <<\_ACEOF
10158 #define __WIN32__ 1
10159 _ACEOF
10160
10161 cat >>confdefs.h <<\_ACEOF
10162 #define __WIN95__ 1
10163 _ACEOF
10164
10165 cat >>confdefs.h <<\_ACEOF
10166 #define __WINDOWS__ 1
10167 _ACEOF
10168
10169 cat >>confdefs.h <<\_ACEOF
10170 #define __GNUWIN32__ 1
10171 _ACEOF
10172
10173 cat >>confdefs.h <<\_ACEOF
10174 #define STRICT 1
10175 _ACEOF
10176
10177 cat >>confdefs.h <<\_ACEOF
10178 #define WINVER 0x0400
10179 _ACEOF
10180
10181 fi
10182 if test "$doesnt_want_win32" = 1 ; then
10183 USE_UNIX=1
10184 USE_WIN32=0
10185 fi
10186
10187 if test "$USE_UNIX" = 1 ; then
10188 wxUSE_UNIX=yes
10189 cat >>confdefs.h <<\_ACEOF
10190 #define __UNIX__ 1
10191 _ACEOF
10192
10193 fi
10194
10195
10196 cat >confcache <<\_ACEOF
10197 # This file is a shell script that caches the results of configure
10198 # tests run on this system so they can be shared between configure
10199 # scripts and configure runs, see configure's option --config-cache.
10200 # It is not useful on other systems. If it contains results you don't
10201 # want to keep, you may remove or edit it.
10202 #
10203 # config.status only pays attention to the cache file if you give it
10204 # the --recheck option to rerun configure.
10205 #
10206 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10207 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10208 # following values.
10209
10210 _ACEOF
10211
10212 # The following way of writing the cache mishandles newlines in values,
10213 # but we know of no workaround that is simple, portable, and efficient.
10214 # So, don't put newlines in cache variables' values.
10215 # Ultrix sh set writes to stderr and can't be redirected directly,
10216 # and sets the high bit in the cache file unless we assign to the vars.
10217 {
10218 (set) 2>&1 |
10219 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10220 *ac_space=\ *)
10221 # `set' does not quote correctly, so add quotes (double-quote
10222 # substitution turns \\\\ into \\, and sed turns \\ into \).
10223 sed -n \
10224 "s/'/'\\\\''/g;
10225 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10226 ;;
10227 *)
10228 # `set' quotes correctly as required by POSIX, so do not add quotes.
10229 sed -n \
10230 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10231 ;;
10232 esac;
10233 } |
10234 sed '
10235 t clear
10236 : clear
10237 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10238 t end
10239 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10240 : end' >>confcache
10241 if diff $cache_file confcache >/dev/null 2>&1; then :; else
10242 if test -w $cache_file; then
10243 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10244 cat confcache >$cache_file
10245 else
10246 echo "not updating unwritable cache $cache_file"
10247 fi
10248 fi
10249 rm -f confcache
10250
10251 if test "$build" != "$host" ; then
10252 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
10253 CC=$host_alias-gcc
10254 CXX=$host_alias-c++
10255 AR=$host_alias-ar
10256 RANLIB=$host_alias-ranlib
10257 DLLTOOL=$host_alias-dlltool
10258 RESCOMP=$host_alias-windres
10259 STRIP=$host_alias-strip
10260 else
10261 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10262 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10263 { (exit 1); exit 1; }; }
10264 fi
10265 fi
10266
10267 CFLAGS=${CFLAGS:=}
10268 ac_ext=c
10269 ac_cpp='$CPP $CPPFLAGS'
10270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10273 if test -n "$ac_tool_prefix"; then
10274 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10275 set dummy ${ac_tool_prefix}gcc; ac_word=$2
10276 echo "$as_me:$LINENO: checking for $ac_word" >&5
10277 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10278 if test "${ac_cv_prog_CC+set}" = set; then
10279 echo $ECHO_N "(cached) $ECHO_C" >&6
10280 else
10281 if test -n "$CC"; then
10282 ac_cv_prog_CC="$CC" # Let the user override the test.
10283 else
10284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10285 for as_dir in $PATH
10286 do
10287 IFS=$as_save_IFS
10288 test -z "$as_dir" && as_dir=.
10289 for ac_exec_ext in '' $ac_executable_extensions; do
10290 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10291 ac_cv_prog_CC="${ac_tool_prefix}gcc"
10292 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10293 break 2
10294 fi
10295 done
10296 done
10297
10298 fi
10299 fi
10300 CC=$ac_cv_prog_CC
10301 if test -n "$CC"; then
10302 echo "$as_me:$LINENO: result: $CC" >&5
10303 echo "${ECHO_T}$CC" >&6
10304 else
10305 echo "$as_me:$LINENO: result: no" >&5
10306 echo "${ECHO_T}no" >&6
10307 fi
10308
10309 fi
10310 if test -z "$ac_cv_prog_CC"; then
10311 ac_ct_CC=$CC
10312 # Extract the first word of "gcc", so it can be a program name with args.
10313 set dummy gcc; ac_word=$2
10314 echo "$as_me:$LINENO: checking for $ac_word" >&5
10315 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10316 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10317 echo $ECHO_N "(cached) $ECHO_C" >&6
10318 else
10319 if test -n "$ac_ct_CC"; then
10320 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10321 else
10322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10323 for as_dir in $PATH
10324 do
10325 IFS=$as_save_IFS
10326 test -z "$as_dir" && as_dir=.
10327 for ac_exec_ext in '' $ac_executable_extensions; do
10328 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10329 ac_cv_prog_ac_ct_CC="gcc"
10330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10331 break 2
10332 fi
10333 done
10334 done
10335
10336 fi
10337 fi
10338 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10339 if test -n "$ac_ct_CC"; then
10340 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10341 echo "${ECHO_T}$ac_ct_CC" >&6
10342 else
10343 echo "$as_me:$LINENO: result: no" >&5
10344 echo "${ECHO_T}no" >&6
10345 fi
10346
10347 CC=$ac_ct_CC
10348 else
10349 CC="$ac_cv_prog_CC"
10350 fi
10351
10352 if test -z "$CC"; then
10353 if test -n "$ac_tool_prefix"; then
10354 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10355 set dummy ${ac_tool_prefix}cc; ac_word=$2
10356 echo "$as_me:$LINENO: checking for $ac_word" >&5
10357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10358 if test "${ac_cv_prog_CC+set}" = set; then
10359 echo $ECHO_N "(cached) $ECHO_C" >&6
10360 else
10361 if test -n "$CC"; then
10362 ac_cv_prog_CC="$CC" # Let the user override the test.
10363 else
10364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10365 for as_dir in $PATH
10366 do
10367 IFS=$as_save_IFS
10368 test -z "$as_dir" && as_dir=.
10369 for ac_exec_ext in '' $ac_executable_extensions; do
10370 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10371 ac_cv_prog_CC="${ac_tool_prefix}cc"
10372 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10373 break 2
10374 fi
10375 done
10376 done
10377
10378 fi
10379 fi
10380 CC=$ac_cv_prog_CC
10381 if test -n "$CC"; then
10382 echo "$as_me:$LINENO: result: $CC" >&5
10383 echo "${ECHO_T}$CC" >&6
10384 else
10385 echo "$as_me:$LINENO: result: no" >&5
10386 echo "${ECHO_T}no" >&6
10387 fi
10388
10389 fi
10390 if test -z "$ac_cv_prog_CC"; then
10391 ac_ct_CC=$CC
10392 # Extract the first word of "cc", so it can be a program name with args.
10393 set dummy cc; ac_word=$2
10394 echo "$as_me:$LINENO: checking for $ac_word" >&5
10395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10396 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10397 echo $ECHO_N "(cached) $ECHO_C" >&6
10398 else
10399 if test -n "$ac_ct_CC"; then
10400 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10401 else
10402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10403 for as_dir in $PATH
10404 do
10405 IFS=$as_save_IFS
10406 test -z "$as_dir" && as_dir=.
10407 for ac_exec_ext in '' $ac_executable_extensions; do
10408 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10409 ac_cv_prog_ac_ct_CC="cc"
10410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10411 break 2
10412 fi
10413 done
10414 done
10415
10416 fi
10417 fi
10418 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10419 if test -n "$ac_ct_CC"; then
10420 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10421 echo "${ECHO_T}$ac_ct_CC" >&6
10422 else
10423 echo "$as_me:$LINENO: result: no" >&5
10424 echo "${ECHO_T}no" >&6
10425 fi
10426
10427 CC=$ac_ct_CC
10428 else
10429 CC="$ac_cv_prog_CC"
10430 fi
10431
10432 fi
10433 if test -z "$CC"; then
10434 # Extract the first word of "cc", so it can be a program name with args.
10435 set dummy cc; ac_word=$2
10436 echo "$as_me:$LINENO: checking for $ac_word" >&5
10437 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10438 if test "${ac_cv_prog_CC+set}" = set; then
10439 echo $ECHO_N "(cached) $ECHO_C" >&6
10440 else
10441 if test -n "$CC"; then
10442 ac_cv_prog_CC="$CC" # Let the user override the test.
10443 else
10444 ac_prog_rejected=no
10445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10446 for as_dir in $PATH
10447 do
10448 IFS=$as_save_IFS
10449 test -z "$as_dir" && as_dir=.
10450 for ac_exec_ext in '' $ac_executable_extensions; do
10451 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10452 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10453 ac_prog_rejected=yes
10454 continue
10455 fi
10456 ac_cv_prog_CC="cc"
10457 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10458 break 2
10459 fi
10460 done
10461 done
10462
10463 if test $ac_prog_rejected = yes; then
10464 # We found a bogon in the path, so make sure we never use it.
10465 set dummy $ac_cv_prog_CC
10466 shift
10467 if test $# != 0; then
10468 # We chose a different compiler from the bogus one.
10469 # However, it has the same basename, so the bogon will be chosen
10470 # first if we set CC to just the basename; use the full file name.
10471 shift
10472 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10473 fi
10474 fi
10475 fi
10476 fi
10477 CC=$ac_cv_prog_CC
10478 if test -n "$CC"; then
10479 echo "$as_me:$LINENO: result: $CC" >&5
10480 echo "${ECHO_T}$CC" >&6
10481 else
10482 echo "$as_me:$LINENO: result: no" >&5
10483 echo "${ECHO_T}no" >&6
10484 fi
10485
10486 fi
10487 if test -z "$CC"; then
10488 if test -n "$ac_tool_prefix"; then
10489 for ac_prog in cl
10490 do
10491 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10492 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10493 echo "$as_me:$LINENO: checking for $ac_word" >&5
10494 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10495 if test "${ac_cv_prog_CC+set}" = set; then
10496 echo $ECHO_N "(cached) $ECHO_C" >&6
10497 else
10498 if test -n "$CC"; then
10499 ac_cv_prog_CC="$CC" # Let the user override the test.
10500 else
10501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10502 for as_dir in $PATH
10503 do
10504 IFS=$as_save_IFS
10505 test -z "$as_dir" && as_dir=.
10506 for ac_exec_ext in '' $ac_executable_extensions; do
10507 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10508 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10509 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10510 break 2
10511 fi
10512 done
10513 done
10514
10515 fi
10516 fi
10517 CC=$ac_cv_prog_CC
10518 if test -n "$CC"; then
10519 echo "$as_me:$LINENO: result: $CC" >&5
10520 echo "${ECHO_T}$CC" >&6
10521 else
10522 echo "$as_me:$LINENO: result: no" >&5
10523 echo "${ECHO_T}no" >&6
10524 fi
10525
10526 test -n "$CC" && break
10527 done
10528 fi
10529 if test -z "$CC"; then
10530 ac_ct_CC=$CC
10531 for ac_prog in cl
10532 do
10533 # Extract the first word of "$ac_prog", so it can be a program name with args.
10534 set dummy $ac_prog; ac_word=$2
10535 echo "$as_me:$LINENO: checking for $ac_word" >&5
10536 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10537 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10538 echo $ECHO_N "(cached) $ECHO_C" >&6
10539 else
10540 if test -n "$ac_ct_CC"; then
10541 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10542 else
10543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10544 for as_dir in $PATH
10545 do
10546 IFS=$as_save_IFS
10547 test -z "$as_dir" && as_dir=.
10548 for ac_exec_ext in '' $ac_executable_extensions; do
10549 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10550 ac_cv_prog_ac_ct_CC="$ac_prog"
10551 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10552 break 2
10553 fi
10554 done
10555 done
10556
10557 fi
10558 fi
10559 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10560 if test -n "$ac_ct_CC"; then
10561 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10562 echo "${ECHO_T}$ac_ct_CC" >&6
10563 else
10564 echo "$as_me:$LINENO: result: no" >&5
10565 echo "${ECHO_T}no" >&6
10566 fi
10567
10568 test -n "$ac_ct_CC" && break
10569 done
10570
10571 CC=$ac_ct_CC
10572 fi
10573
10574 fi
10575
10576
10577 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10578 See \`config.log' for more details." >&5
10579 echo "$as_me: error: no acceptable C compiler found in \$PATH
10580 See \`config.log' for more details." >&2;}
10581 { (exit 1); exit 1; }; }
10582
10583 # Provide some information about the compiler.
10584 echo "$as_me:$LINENO:" \
10585 "checking for C compiler version" >&5
10586 ac_compiler=`set X $ac_compile; echo $2`
10587 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10588 (eval $ac_compiler --version </dev/null >&5) 2>&5
10589 ac_status=$?
10590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10591 (exit $ac_status); }
10592 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10593 (eval $ac_compiler -v </dev/null >&5) 2>&5
10594 ac_status=$?
10595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10596 (exit $ac_status); }
10597 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10598 (eval $ac_compiler -V </dev/null >&5) 2>&5
10599 ac_status=$?
10600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10601 (exit $ac_status); }
10602
10603 cat >conftest.$ac_ext <<_ACEOF
10604 /* confdefs.h. */
10605 _ACEOF
10606 cat confdefs.h >>conftest.$ac_ext
10607 cat >>conftest.$ac_ext <<_ACEOF
10608 /* end confdefs.h. */
10609
10610 int
10611 main ()
10612 {
10613
10614 ;
10615 return 0;
10616 }
10617 _ACEOF
10618 ac_clean_files_save=$ac_clean_files
10619 ac_clean_files="$ac_clean_files a.out a.exe b.out"
10620 # Try to create an executable without -o first, disregard a.out.
10621 # It will help us diagnose broken compilers, and finding out an intuition
10622 # of exeext.
10623 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10624 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10625 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10626 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10627 (eval $ac_link_default) 2>&5
10628 ac_status=$?
10629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10630 (exit $ac_status); }; then
10631 # Find the output, starting from the most likely. This scheme is
10632 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10633 # resort.
10634
10635 # Be careful to initialize this variable, since it used to be cached.
10636 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10637 ac_cv_exeext=
10638 # b.out is created by i960 compilers.
10639 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10640 do
10641 test -f "$ac_file" || continue
10642 case $ac_file in
10643 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10644 ;;
10645 conftest.$ac_ext )
10646 # This is the source file.
10647 ;;
10648 [ab].out )
10649 # We found the default executable, but exeext='' is most
10650 # certainly right.
10651 break;;
10652 *.* )
10653 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10654 # FIXME: I believe we export ac_cv_exeext for Libtool,
10655 # but it would be cool to find out if it's true. Does anybody
10656 # maintain Libtool? --akim.
10657 export ac_cv_exeext
10658 break;;
10659 * )
10660 break;;
10661 esac
10662 done
10663 else
10664 echo "$as_me: failed program was:" >&5
10665 sed 's/^/| /' conftest.$ac_ext >&5
10666
10667 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10668 See \`config.log' for more details." >&5
10669 echo "$as_me: error: C compiler cannot create executables
10670 See \`config.log' for more details." >&2;}
10671 { (exit 77); exit 77; }; }
10672 fi
10673
10674 ac_exeext=$ac_cv_exeext
10675 echo "$as_me:$LINENO: result: $ac_file" >&5
10676 echo "${ECHO_T}$ac_file" >&6
10677
10678 # Check the compiler produces executables we can run. If not, either
10679 # the compiler is broken, or we cross compile.
10680 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10681 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10682 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10683 # If not cross compiling, check that we can run a simple program.
10684 if test "$cross_compiling" != yes; then
10685 if { ac_try='./$ac_file'
10686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10687 (eval $ac_try) 2>&5
10688 ac_status=$?
10689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10690 (exit $ac_status); }; }; then
10691 cross_compiling=no
10692 else
10693 if test "$cross_compiling" = maybe; then
10694 cross_compiling=yes
10695 else
10696 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10697 If you meant to cross compile, use \`--host'.
10698 See \`config.log' for more details." >&5
10699 echo "$as_me: error: cannot run C compiled programs.
10700 If you meant to cross compile, use \`--host'.
10701 See \`config.log' for more details." >&2;}
10702 { (exit 1); exit 1; }; }
10703 fi
10704 fi
10705 fi
10706 echo "$as_me:$LINENO: result: yes" >&5
10707 echo "${ECHO_T}yes" >&6
10708
10709 rm -f a.out a.exe conftest$ac_cv_exeext b.out
10710 ac_clean_files=$ac_clean_files_save
10711 # Check the compiler produces executables we can run. If not, either
10712 # the compiler is broken, or we cross compile.
10713 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10714 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10715 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10716 echo "${ECHO_T}$cross_compiling" >&6
10717
10718 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10719 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10721 (eval $ac_link) 2>&5
10722 ac_status=$?
10723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10724 (exit $ac_status); }; then
10725 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10726 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10727 # work properly (i.e., refer to `conftest.exe'), while it won't with
10728 # `rm'.
10729 for ac_file in conftest.exe conftest conftest.*; do
10730 test -f "$ac_file" || continue
10731 case $ac_file in
10732 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
10733 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10734 export ac_cv_exeext
10735 break;;
10736 * ) break;;
10737 esac
10738 done
10739 else
10740 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10741 See \`config.log' for more details." >&5
10742 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10743 See \`config.log' for more details." >&2;}
10744 { (exit 1); exit 1; }; }
10745 fi
10746
10747 rm -f conftest$ac_cv_exeext
10748 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10749 echo "${ECHO_T}$ac_cv_exeext" >&6
10750
10751 rm -f conftest.$ac_ext
10752 EXEEXT=$ac_cv_exeext
10753 ac_exeext=$EXEEXT
10754 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10755 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10756 if test "${ac_cv_objext+set}" = set; then
10757 echo $ECHO_N "(cached) $ECHO_C" >&6
10758 else
10759 cat >conftest.$ac_ext <<_ACEOF
10760 /* confdefs.h. */
10761 _ACEOF
10762 cat confdefs.h >>conftest.$ac_ext
10763 cat >>conftest.$ac_ext <<_ACEOF
10764 /* end confdefs.h. */
10765
10766 int
10767 main ()
10768 {
10769
10770 ;
10771 return 0;
10772 }
10773 _ACEOF
10774 rm -f conftest.o conftest.obj
10775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10776 (eval $ac_compile) 2>&5
10777 ac_status=$?
10778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10779 (exit $ac_status); }; then
10780 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10781 case $ac_file in
10782 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
10783 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
10784 break;;
10785 esac
10786 done
10787 else
10788 echo "$as_me: failed program was:" >&5
10789 sed 's/^/| /' conftest.$ac_ext >&5
10790
10791 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10792 See \`config.log' for more details." >&5
10793 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10794 See \`config.log' for more details." >&2;}
10795 { (exit 1); exit 1; }; }
10796 fi
10797
10798 rm -f conftest.$ac_cv_objext conftest.$ac_ext
10799 fi
10800 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10801 echo "${ECHO_T}$ac_cv_objext" >&6
10802 OBJEXT=$ac_cv_objext
10803 ac_objext=$OBJEXT
10804 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10805 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10806 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10807 echo $ECHO_N "(cached) $ECHO_C" >&6
10808 else
10809 cat >conftest.$ac_ext <<_ACEOF
10810 /* confdefs.h. */
10811 _ACEOF
10812 cat confdefs.h >>conftest.$ac_ext
10813 cat >>conftest.$ac_ext <<_ACEOF
10814 /* end confdefs.h. */
10815
10816 int
10817 main ()
10818 {
10819 #ifndef __GNUC__
10820 choke me
10821 #endif
10822
10823 ;
10824 return 0;
10825 }
10826 _ACEOF
10827 rm -f conftest.$ac_objext
10828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10829 (eval $ac_compile) 2>conftest.er1
10830 ac_status=$?
10831 grep -v '^ *+' conftest.er1 >conftest.err
10832 rm -f conftest.er1
10833 cat conftest.err >&5
10834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10835 (exit $ac_status); } &&
10836 { ac_try='test -z "$ac_c_werror_flag"
10837 || test ! -s conftest.err'
10838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10839 (eval $ac_try) 2>&5
10840 ac_status=$?
10841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10842 (exit $ac_status); }; } &&
10843 { ac_try='test -s conftest.$ac_objext'
10844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10845 (eval $ac_try) 2>&5
10846 ac_status=$?
10847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10848 (exit $ac_status); }; }; then
10849 ac_compiler_gnu=yes
10850 else
10851 echo "$as_me: failed program was:" >&5
10852 sed 's/^/| /' conftest.$ac_ext >&5
10853
10854 ac_compiler_gnu=no
10855 fi
10856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10857 ac_cv_c_compiler_gnu=$ac_compiler_gnu
10858
10859 fi
10860 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10861 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10862 GCC=`test $ac_compiler_gnu = yes && echo yes`
10863 ac_test_CFLAGS=${CFLAGS+set}
10864 ac_save_CFLAGS=$CFLAGS
10865 CFLAGS="-g"
10866 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10867 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10868 if test "${ac_cv_prog_cc_g+set}" = set; then
10869 echo $ECHO_N "(cached) $ECHO_C" >&6
10870 else
10871 cat >conftest.$ac_ext <<_ACEOF
10872 /* confdefs.h. */
10873 _ACEOF
10874 cat confdefs.h >>conftest.$ac_ext
10875 cat >>conftest.$ac_ext <<_ACEOF
10876 /* end confdefs.h. */
10877
10878 int
10879 main ()
10880 {
10881
10882 ;
10883 return 0;
10884 }
10885 _ACEOF
10886 rm -f conftest.$ac_objext
10887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10888 (eval $ac_compile) 2>conftest.er1
10889 ac_status=$?
10890 grep -v '^ *+' conftest.er1 >conftest.err
10891 rm -f conftest.er1
10892 cat conftest.err >&5
10893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10894 (exit $ac_status); } &&
10895 { ac_try='test -z "$ac_c_werror_flag"
10896 || test ! -s conftest.err'
10897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10898 (eval $ac_try) 2>&5
10899 ac_status=$?
10900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10901 (exit $ac_status); }; } &&
10902 { ac_try='test -s conftest.$ac_objext'
10903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10904 (eval $ac_try) 2>&5
10905 ac_status=$?
10906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10907 (exit $ac_status); }; }; then
10908 ac_cv_prog_cc_g=yes
10909 else
10910 echo "$as_me: failed program was:" >&5
10911 sed 's/^/| /' conftest.$ac_ext >&5
10912
10913 ac_cv_prog_cc_g=no
10914 fi
10915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10916 fi
10917 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10918 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10919 if test "$ac_test_CFLAGS" = set; then
10920 CFLAGS=$ac_save_CFLAGS
10921 elif test $ac_cv_prog_cc_g = yes; then
10922 if test "$GCC" = yes; then
10923 CFLAGS="-g -O2"
10924 else
10925 CFLAGS="-g"
10926 fi
10927 else
10928 if test "$GCC" = yes; then
10929 CFLAGS="-O2"
10930 else
10931 CFLAGS=
10932 fi
10933 fi
10934 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10935 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10936 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10937 echo $ECHO_N "(cached) $ECHO_C" >&6
10938 else
10939 ac_cv_prog_cc_stdc=no
10940 ac_save_CC=$CC
10941 cat >conftest.$ac_ext <<_ACEOF
10942 /* confdefs.h. */
10943 _ACEOF
10944 cat confdefs.h >>conftest.$ac_ext
10945 cat >>conftest.$ac_ext <<_ACEOF
10946 /* end confdefs.h. */
10947 #include <stdarg.h>
10948 #include <stdio.h>
10949 #include <sys/types.h>
10950 #include <sys/stat.h>
10951 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10952 struct buf { int x; };
10953 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10954 static char *e (p, i)
10955 char **p;
10956 int i;
10957 {
10958 return p[i];
10959 }
10960 static char *f (char * (*g) (char **, int), char **p, ...)
10961 {
10962 char *s;
10963 va_list v;
10964 va_start (v,p);
10965 s = g (p, va_arg (v,int));
10966 va_end (v);
10967 return s;
10968 }
10969
10970 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
10971 function prototypes and stuff, but not '\xHH' hex character constants.
10972 These don't provoke an error unfortunately, instead are silently treated
10973 as 'x'. The following induces an error, until -std1 is added to get
10974 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
10975 array size at least. It's necessary to write '\x00'==0 to get something
10976 that's true only with -std1. */
10977 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
10978
10979 int test (int i, double x);
10980 struct s1 {int (*f) (int a);};
10981 struct s2 {int (*f) (double a);};
10982 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10983 int argc;
10984 char **argv;
10985 int
10986 main ()
10987 {
10988 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10989 ;
10990 return 0;
10991 }
10992 _ACEOF
10993 # Don't try gcc -ansi; that turns off useful extensions and
10994 # breaks some systems' header files.
10995 # AIX -qlanglvl=ansi
10996 # Ultrix and OSF/1 -std1
10997 # HP-UX 10.20 and later -Ae
10998 # HP-UX older versions -Aa -D_HPUX_SOURCE
10999 # SVR4 -Xc -D__EXTENSIONS__
11000 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11001 do
11002 CC="$ac_save_CC $ac_arg"
11003 rm -f conftest.$ac_objext
11004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11005 (eval $ac_compile) 2>conftest.er1
11006 ac_status=$?
11007 grep -v '^ *+' conftest.er1 >conftest.err
11008 rm -f conftest.er1
11009 cat conftest.err >&5
11010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11011 (exit $ac_status); } &&
11012 { ac_try='test -z "$ac_c_werror_flag"
11013 || test ! -s conftest.err'
11014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11015 (eval $ac_try) 2>&5
11016 ac_status=$?
11017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11018 (exit $ac_status); }; } &&
11019 { ac_try='test -s conftest.$ac_objext'
11020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11021 (eval $ac_try) 2>&5
11022 ac_status=$?
11023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11024 (exit $ac_status); }; }; then
11025 ac_cv_prog_cc_stdc=$ac_arg
11026 break
11027 else
11028 echo "$as_me: failed program was:" >&5
11029 sed 's/^/| /' conftest.$ac_ext >&5
11030
11031 fi
11032 rm -f conftest.err conftest.$ac_objext
11033 done
11034 rm -f conftest.$ac_ext conftest.$ac_objext
11035 CC=$ac_save_CC
11036
11037 fi
11038
11039 case "x$ac_cv_prog_cc_stdc" in
11040 x|xno)
11041 echo "$as_me:$LINENO: result: none needed" >&5
11042 echo "${ECHO_T}none needed" >&6 ;;
11043 *)
11044 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11045 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11046 CC="$CC $ac_cv_prog_cc_stdc" ;;
11047 esac
11048
11049 # Some people use a C++ compiler to compile C. Since we use `exit',
11050 # in C++ we need to declare it. In case someone uses the same compiler
11051 # for both compiling C and C++ we need to have the C++ compiler decide
11052 # the declaration of exit, since it's the most demanding environment.
11053 cat >conftest.$ac_ext <<_ACEOF
11054 #ifndef __cplusplus
11055 choke me
11056 #endif
11057 _ACEOF
11058 rm -f conftest.$ac_objext
11059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11060 (eval $ac_compile) 2>conftest.er1
11061 ac_status=$?
11062 grep -v '^ *+' conftest.er1 >conftest.err
11063 rm -f conftest.er1
11064 cat conftest.err >&5
11065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11066 (exit $ac_status); } &&
11067 { ac_try='test -z "$ac_c_werror_flag"
11068 || test ! -s conftest.err'
11069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11070 (eval $ac_try) 2>&5
11071 ac_status=$?
11072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11073 (exit $ac_status); }; } &&
11074 { ac_try='test -s conftest.$ac_objext'
11075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11076 (eval $ac_try) 2>&5
11077 ac_status=$?
11078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11079 (exit $ac_status); }; }; then
11080 for ac_declaration in \
11081 '' \
11082 'extern "C" void std::exit (int) throw (); using std::exit;' \
11083 'extern "C" void std::exit (int); using std::exit;' \
11084 'extern "C" void exit (int) throw ();' \
11085 'extern "C" void exit (int);' \
11086 'void exit (int);'
11087 do
11088 cat >conftest.$ac_ext <<_ACEOF
11089 /* confdefs.h. */
11090 _ACEOF
11091 cat confdefs.h >>conftest.$ac_ext
11092 cat >>conftest.$ac_ext <<_ACEOF
11093 /* end confdefs.h. */
11094 $ac_declaration
11095 #include <stdlib.h>
11096 int
11097 main ()
11098 {
11099 exit (42);
11100 ;
11101 return 0;
11102 }
11103 _ACEOF
11104 rm -f conftest.$ac_objext
11105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11106 (eval $ac_compile) 2>conftest.er1
11107 ac_status=$?
11108 grep -v '^ *+' conftest.er1 >conftest.err
11109 rm -f conftest.er1
11110 cat conftest.err >&5
11111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11112 (exit $ac_status); } &&
11113 { ac_try='test -z "$ac_c_werror_flag"
11114 || test ! -s conftest.err'
11115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11116 (eval $ac_try) 2>&5
11117 ac_status=$?
11118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11119 (exit $ac_status); }; } &&
11120 { ac_try='test -s conftest.$ac_objext'
11121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11122 (eval $ac_try) 2>&5
11123 ac_status=$?
11124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11125 (exit $ac_status); }; }; then
11126 :
11127 else
11128 echo "$as_me: failed program was:" >&5
11129 sed 's/^/| /' conftest.$ac_ext >&5
11130
11131 continue
11132 fi
11133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11134 cat >conftest.$ac_ext <<_ACEOF
11135 /* confdefs.h. */
11136 _ACEOF
11137 cat confdefs.h >>conftest.$ac_ext
11138 cat >>conftest.$ac_ext <<_ACEOF
11139 /* end confdefs.h. */
11140 $ac_declaration
11141 int
11142 main ()
11143 {
11144 exit (42);
11145 ;
11146 return 0;
11147 }
11148 _ACEOF
11149 rm -f conftest.$ac_objext
11150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11151 (eval $ac_compile) 2>conftest.er1
11152 ac_status=$?
11153 grep -v '^ *+' conftest.er1 >conftest.err
11154 rm -f conftest.er1
11155 cat conftest.err >&5
11156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11157 (exit $ac_status); } &&
11158 { ac_try='test -z "$ac_c_werror_flag"
11159 || test ! -s conftest.err'
11160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11161 (eval $ac_try) 2>&5
11162 ac_status=$?
11163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11164 (exit $ac_status); }; } &&
11165 { ac_try='test -s conftest.$ac_objext'
11166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11167 (eval $ac_try) 2>&5
11168 ac_status=$?
11169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11170 (exit $ac_status); }; }; then
11171 break
11172 else
11173 echo "$as_me: failed program was:" >&5
11174 sed 's/^/| /' conftest.$ac_ext >&5
11175
11176 fi
11177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11178 done
11179 rm -f conftest*
11180 if test -n "$ac_declaration"; then
11181 echo '#ifdef __cplusplus' >>confdefs.h
11182 echo $ac_declaration >>confdefs.h
11183 echo '#endif' >>confdefs.h
11184 fi
11185
11186 else
11187 echo "$as_me: failed program was:" >&5
11188 sed 's/^/| /' conftest.$ac_ext >&5
11189
11190 fi
11191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11192 ac_ext=c
11193 ac_cpp='$CPP $CPPFLAGS'
11194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11197
11198
11199
11200 ac_ext=c
11201 ac_cpp='$CPP $CPPFLAGS'
11202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11205 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11206 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11207 # On Suns, sometimes $CPP names a directory.
11208 if test -n "$CPP" && test -d "$CPP"; then
11209 CPP=
11210 fi
11211 if test -z "$CPP"; then
11212 if test "${ac_cv_prog_CPP+set}" = set; then
11213 echo $ECHO_N "(cached) $ECHO_C" >&6
11214 else
11215 # Double quotes because CPP needs to be expanded
11216 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11217 do
11218 ac_preproc_ok=false
11219 for ac_c_preproc_warn_flag in '' yes
11220 do
11221 # Use a header file that comes with gcc, so configuring glibc
11222 # with a fresh cross-compiler works.
11223 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11224 # <limits.h> exists even on freestanding compilers.
11225 # On the NeXT, cc -E runs the code through the compiler's parser,
11226 # not just through cpp. "Syntax error" is here to catch this case.
11227 cat >conftest.$ac_ext <<_ACEOF
11228 /* confdefs.h. */
11229 _ACEOF
11230 cat confdefs.h >>conftest.$ac_ext
11231 cat >>conftest.$ac_ext <<_ACEOF
11232 /* end confdefs.h. */
11233 #ifdef __STDC__
11234 # include <limits.h>
11235 #else
11236 # include <assert.h>
11237 #endif
11238 Syntax error
11239 _ACEOF
11240 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11241 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11242 ac_status=$?
11243 grep -v '^ *+' conftest.er1 >conftest.err
11244 rm -f conftest.er1
11245 cat conftest.err >&5
11246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11247 (exit $ac_status); } >/dev/null; then
11248 if test -s conftest.err; then
11249 ac_cpp_err=$ac_c_preproc_warn_flag
11250 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11251 else
11252 ac_cpp_err=
11253 fi
11254 else
11255 ac_cpp_err=yes
11256 fi
11257 if test -z "$ac_cpp_err"; then
11258 :
11259 else
11260 echo "$as_me: failed program was:" >&5
11261 sed 's/^/| /' conftest.$ac_ext >&5
11262
11263 # Broken: fails on valid input.
11264 continue
11265 fi
11266 rm -f conftest.err conftest.$ac_ext
11267
11268 # OK, works on sane cases. Now check whether non-existent headers
11269 # can be detected and how.
11270 cat >conftest.$ac_ext <<_ACEOF
11271 /* confdefs.h. */
11272 _ACEOF
11273 cat confdefs.h >>conftest.$ac_ext
11274 cat >>conftest.$ac_ext <<_ACEOF
11275 /* end confdefs.h. */
11276 #include <ac_nonexistent.h>
11277 _ACEOF
11278 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11279 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11280 ac_status=$?
11281 grep -v '^ *+' conftest.er1 >conftest.err
11282 rm -f conftest.er1
11283 cat conftest.err >&5
11284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11285 (exit $ac_status); } >/dev/null; then
11286 if test -s conftest.err; then
11287 ac_cpp_err=$ac_c_preproc_warn_flag
11288 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11289 else
11290 ac_cpp_err=
11291 fi
11292 else
11293 ac_cpp_err=yes
11294 fi
11295 if test -z "$ac_cpp_err"; then
11296 # Broken: success on invalid input.
11297 continue
11298 else
11299 echo "$as_me: failed program was:" >&5
11300 sed 's/^/| /' conftest.$ac_ext >&5
11301
11302 # Passes both tests.
11303 ac_preproc_ok=:
11304 break
11305 fi
11306 rm -f conftest.err conftest.$ac_ext
11307
11308 done
11309 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11310 rm -f conftest.err conftest.$ac_ext
11311 if $ac_preproc_ok; then
11312 break
11313 fi
11314
11315 done
11316 ac_cv_prog_CPP=$CPP
11317
11318 fi
11319 CPP=$ac_cv_prog_CPP
11320 else
11321 ac_cv_prog_CPP=$CPP
11322 fi
11323 echo "$as_me:$LINENO: result: $CPP" >&5
11324 echo "${ECHO_T}$CPP" >&6
11325 ac_preproc_ok=false
11326 for ac_c_preproc_warn_flag in '' yes
11327 do
11328 # Use a header file that comes with gcc, so configuring glibc
11329 # with a fresh cross-compiler works.
11330 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11331 # <limits.h> exists even on freestanding compilers.
11332 # On the NeXT, cc -E runs the code through the compiler's parser,
11333 # not just through cpp. "Syntax error" is here to catch this case.
11334 cat >conftest.$ac_ext <<_ACEOF
11335 /* confdefs.h. */
11336 _ACEOF
11337 cat confdefs.h >>conftest.$ac_ext
11338 cat >>conftest.$ac_ext <<_ACEOF
11339 /* end confdefs.h. */
11340 #ifdef __STDC__
11341 # include <limits.h>
11342 #else
11343 # include <assert.h>
11344 #endif
11345 Syntax error
11346 _ACEOF
11347 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11348 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11349 ac_status=$?
11350 grep -v '^ *+' conftest.er1 >conftest.err
11351 rm -f conftest.er1
11352 cat conftest.err >&5
11353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11354 (exit $ac_status); } >/dev/null; then
11355 if test -s conftest.err; then
11356 ac_cpp_err=$ac_c_preproc_warn_flag
11357 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11358 else
11359 ac_cpp_err=
11360 fi
11361 else
11362 ac_cpp_err=yes
11363 fi
11364 if test -z "$ac_cpp_err"; then
11365 :
11366 else
11367 echo "$as_me: failed program was:" >&5
11368 sed 's/^/| /' conftest.$ac_ext >&5
11369
11370 # Broken: fails on valid input.
11371 continue
11372 fi
11373 rm -f conftest.err conftest.$ac_ext
11374
11375 # OK, works on sane cases. Now check whether non-existent headers
11376 # can be detected and how.
11377 cat >conftest.$ac_ext <<_ACEOF
11378 /* confdefs.h. */
11379 _ACEOF
11380 cat confdefs.h >>conftest.$ac_ext
11381 cat >>conftest.$ac_ext <<_ACEOF
11382 /* end confdefs.h. */
11383 #include <ac_nonexistent.h>
11384 _ACEOF
11385 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11386 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11387 ac_status=$?
11388 grep -v '^ *+' conftest.er1 >conftest.err
11389 rm -f conftest.er1
11390 cat conftest.err >&5
11391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11392 (exit $ac_status); } >/dev/null; then
11393 if test -s conftest.err; then
11394 ac_cpp_err=$ac_c_preproc_warn_flag
11395 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11396 else
11397 ac_cpp_err=
11398 fi
11399 else
11400 ac_cpp_err=yes
11401 fi
11402 if test -z "$ac_cpp_err"; then
11403 # Broken: success on invalid input.
11404 continue
11405 else
11406 echo "$as_me: failed program was:" >&5
11407 sed 's/^/| /' conftest.$ac_ext >&5
11408
11409 # Passes both tests.
11410 ac_preproc_ok=:
11411 break
11412 fi
11413 rm -f conftest.err conftest.$ac_ext
11414
11415 done
11416 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11417 rm -f conftest.err conftest.$ac_ext
11418 if $ac_preproc_ok; then
11419 :
11420 else
11421 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11422 See \`config.log' for more details." >&5
11423 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11424 See \`config.log' for more details." >&2;}
11425 { (exit 1); exit 1; }; }
11426 fi
11427
11428 ac_ext=c
11429 ac_cpp='$CPP $CPPFLAGS'
11430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11433
11434
11435 echo "$as_me:$LINENO: checking for egrep" >&5
11436 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11437 if test "${ac_cv_prog_egrep+set}" = set; then
11438 echo $ECHO_N "(cached) $ECHO_C" >&6
11439 else
11440 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
11441 then ac_cv_prog_egrep='grep -E'
11442 else ac_cv_prog_egrep='egrep'
11443 fi
11444 fi
11445 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11446 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11447 EGREP=$ac_cv_prog_egrep
11448
11449
11450 if test $ac_cv_c_compiler_gnu = yes; then
11451 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11452 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11453 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11454 echo $ECHO_N "(cached) $ECHO_C" >&6
11455 else
11456 ac_pattern="Autoconf.*'x'"
11457 cat >conftest.$ac_ext <<_ACEOF
11458 /* confdefs.h. */
11459 _ACEOF
11460 cat confdefs.h >>conftest.$ac_ext
11461 cat >>conftest.$ac_ext <<_ACEOF
11462 /* end confdefs.h. */
11463 #include <sgtty.h>
11464 Autoconf TIOCGETP
11465 _ACEOF
11466 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11467 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11468 ac_cv_prog_gcc_traditional=yes
11469 else
11470 ac_cv_prog_gcc_traditional=no
11471 fi
11472 rm -f conftest*
11473
11474
11475 if test $ac_cv_prog_gcc_traditional = no; then
11476 cat >conftest.$ac_ext <<_ACEOF
11477 /* confdefs.h. */
11478 _ACEOF
11479 cat confdefs.h >>conftest.$ac_ext
11480 cat >>conftest.$ac_ext <<_ACEOF
11481 /* end confdefs.h. */
11482 #include <termio.h>
11483 Autoconf TCGETA
11484 _ACEOF
11485 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11486 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11487 ac_cv_prog_gcc_traditional=yes
11488 fi
11489 rm -f conftest*
11490
11491 fi
11492 fi
11493 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11494 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11495 if test $ac_cv_prog_gcc_traditional = yes; then
11496 CC="$CC -traditional"
11497 fi
11498 fi
11499
11500
11501
11502
11503 ac_ext=cc
11504 ac_cpp='$CXXCPP $CPPFLAGS'
11505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11508
11509
11510 CXXFLAGS=${CXXFLAGS:=}
11511 ac_ext=cc
11512 ac_cpp='$CXXCPP $CPPFLAGS'
11513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11516 if test -n "$ac_tool_prefix"; then
11517 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11518 do
11519 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11520 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11521 echo "$as_me:$LINENO: checking for $ac_word" >&5
11522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11523 if test "${ac_cv_prog_CXX+set}" = set; then
11524 echo $ECHO_N "(cached) $ECHO_C" >&6
11525 else
11526 if test -n "$CXX"; then
11527 ac_cv_prog_CXX="$CXX" # Let the user override the test.
11528 else
11529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11530 for as_dir in $PATH
11531 do
11532 IFS=$as_save_IFS
11533 test -z "$as_dir" && as_dir=.
11534 for ac_exec_ext in '' $ac_executable_extensions; do
11535 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11536 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11537 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11538 break 2
11539 fi
11540 done
11541 done
11542
11543 fi
11544 fi
11545 CXX=$ac_cv_prog_CXX
11546 if test -n "$CXX"; then
11547 echo "$as_me:$LINENO: result: $CXX" >&5
11548 echo "${ECHO_T}$CXX" >&6
11549 else
11550 echo "$as_me:$LINENO: result: no" >&5
11551 echo "${ECHO_T}no" >&6
11552 fi
11553
11554 test -n "$CXX" && break
11555 done
11556 fi
11557 if test -z "$CXX"; then
11558 ac_ct_CXX=$CXX
11559 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11560 do
11561 # Extract the first word of "$ac_prog", so it can be a program name with args.
11562 set dummy $ac_prog; ac_word=$2
11563 echo "$as_me:$LINENO: checking for $ac_word" >&5
11564 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11565 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11566 echo $ECHO_N "(cached) $ECHO_C" >&6
11567 else
11568 if test -n "$ac_ct_CXX"; then
11569 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11570 else
11571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11572 for as_dir in $PATH
11573 do
11574 IFS=$as_save_IFS
11575 test -z "$as_dir" && as_dir=.
11576 for ac_exec_ext in '' $ac_executable_extensions; do
11577 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11578 ac_cv_prog_ac_ct_CXX="$ac_prog"
11579 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11580 break 2
11581 fi
11582 done
11583 done
11584
11585 fi
11586 fi
11587 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11588 if test -n "$ac_ct_CXX"; then
11589 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11590 echo "${ECHO_T}$ac_ct_CXX" >&6
11591 else
11592 echo "$as_me:$LINENO: result: no" >&5
11593 echo "${ECHO_T}no" >&6
11594 fi
11595
11596 test -n "$ac_ct_CXX" && break
11597 done
11598 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
11599
11600 CXX=$ac_ct_CXX
11601 fi
11602
11603
11604 # Provide some information about the compiler.
11605 echo "$as_me:$LINENO:" \
11606 "checking for C++ compiler version" >&5
11607 ac_compiler=`set X $ac_compile; echo $2`
11608 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11609 (eval $ac_compiler --version </dev/null >&5) 2>&5
11610 ac_status=$?
11611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11612 (exit $ac_status); }
11613 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11614 (eval $ac_compiler -v </dev/null >&5) 2>&5
11615 ac_status=$?
11616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11617 (exit $ac_status); }
11618 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11619 (eval $ac_compiler -V </dev/null >&5) 2>&5
11620 ac_status=$?
11621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11622 (exit $ac_status); }
11623
11624 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11625 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11626 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11627 echo $ECHO_N "(cached) $ECHO_C" >&6
11628 else
11629 cat >conftest.$ac_ext <<_ACEOF
11630 /* confdefs.h. */
11631 _ACEOF
11632 cat confdefs.h >>conftest.$ac_ext
11633 cat >>conftest.$ac_ext <<_ACEOF
11634 /* end confdefs.h. */
11635
11636 int
11637 main ()
11638 {
11639 #ifndef __GNUC__
11640 choke me
11641 #endif
11642
11643 ;
11644 return 0;
11645 }
11646 _ACEOF
11647 rm -f conftest.$ac_objext
11648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11649 (eval $ac_compile) 2>conftest.er1
11650 ac_status=$?
11651 grep -v '^ *+' conftest.er1 >conftest.err
11652 rm -f conftest.er1
11653 cat conftest.err >&5
11654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11655 (exit $ac_status); } &&
11656 { ac_try='test -z "$ac_cxx_werror_flag"
11657 || test ! -s conftest.err'
11658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11659 (eval $ac_try) 2>&5
11660 ac_status=$?
11661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11662 (exit $ac_status); }; } &&
11663 { ac_try='test -s conftest.$ac_objext'
11664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11665 (eval $ac_try) 2>&5
11666 ac_status=$?
11667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11668 (exit $ac_status); }; }; then
11669 ac_compiler_gnu=yes
11670 else
11671 echo "$as_me: failed program was:" >&5
11672 sed 's/^/| /' conftest.$ac_ext >&5
11673
11674 ac_compiler_gnu=no
11675 fi
11676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11677 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11678
11679 fi
11680 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11681 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11682 GXX=`test $ac_compiler_gnu = yes && echo yes`
11683 ac_test_CXXFLAGS=${CXXFLAGS+set}
11684 ac_save_CXXFLAGS=$CXXFLAGS
11685 CXXFLAGS="-g"
11686 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11687 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11688 if test "${ac_cv_prog_cxx_g+set}" = set; then
11689 echo $ECHO_N "(cached) $ECHO_C" >&6
11690 else
11691 cat >conftest.$ac_ext <<_ACEOF
11692 /* confdefs.h. */
11693 _ACEOF
11694 cat confdefs.h >>conftest.$ac_ext
11695 cat >>conftest.$ac_ext <<_ACEOF
11696 /* end confdefs.h. */
11697
11698 int
11699 main ()
11700 {
11701
11702 ;
11703 return 0;
11704 }
11705 _ACEOF
11706 rm -f conftest.$ac_objext
11707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11708 (eval $ac_compile) 2>conftest.er1
11709 ac_status=$?
11710 grep -v '^ *+' conftest.er1 >conftest.err
11711 rm -f conftest.er1
11712 cat conftest.err >&5
11713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11714 (exit $ac_status); } &&
11715 { ac_try='test -z "$ac_cxx_werror_flag"
11716 || test ! -s conftest.err'
11717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11718 (eval $ac_try) 2>&5
11719 ac_status=$?
11720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11721 (exit $ac_status); }; } &&
11722 { ac_try='test -s conftest.$ac_objext'
11723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11724 (eval $ac_try) 2>&5
11725 ac_status=$?
11726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11727 (exit $ac_status); }; }; then
11728 ac_cv_prog_cxx_g=yes
11729 else
11730 echo "$as_me: failed program was:" >&5
11731 sed 's/^/| /' conftest.$ac_ext >&5
11732
11733 ac_cv_prog_cxx_g=no
11734 fi
11735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11736 fi
11737 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11738 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11739 if test "$ac_test_CXXFLAGS" = set; then
11740 CXXFLAGS=$ac_save_CXXFLAGS
11741 elif test $ac_cv_prog_cxx_g = yes; then
11742 if test "$GXX" = yes; then
11743 CXXFLAGS="-g -O2"
11744 else
11745 CXXFLAGS="-g"
11746 fi
11747 else
11748 if test "$GXX" = yes; then
11749 CXXFLAGS="-O2"
11750 else
11751 CXXFLAGS=
11752 fi
11753 fi
11754 for ac_declaration in \
11755 '' \
11756 'extern "C" void std::exit (int) throw (); using std::exit;' \
11757 'extern "C" void std::exit (int); using std::exit;' \
11758 'extern "C" void exit (int) throw ();' \
11759 'extern "C" void exit (int);' \
11760 'void exit (int);'
11761 do
11762 cat >conftest.$ac_ext <<_ACEOF
11763 /* confdefs.h. */
11764 _ACEOF
11765 cat confdefs.h >>conftest.$ac_ext
11766 cat >>conftest.$ac_ext <<_ACEOF
11767 /* end confdefs.h. */
11768 $ac_declaration
11769 #include <stdlib.h>
11770 int
11771 main ()
11772 {
11773 exit (42);
11774 ;
11775 return 0;
11776 }
11777 _ACEOF
11778 rm -f conftest.$ac_objext
11779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11780 (eval $ac_compile) 2>conftest.er1
11781 ac_status=$?
11782 grep -v '^ *+' conftest.er1 >conftest.err
11783 rm -f conftest.er1
11784 cat conftest.err >&5
11785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11786 (exit $ac_status); } &&
11787 { ac_try='test -z "$ac_cxx_werror_flag"
11788 || test ! -s conftest.err'
11789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11790 (eval $ac_try) 2>&5
11791 ac_status=$?
11792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11793 (exit $ac_status); }; } &&
11794 { ac_try='test -s conftest.$ac_objext'
11795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11796 (eval $ac_try) 2>&5
11797 ac_status=$?
11798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11799 (exit $ac_status); }; }; then
11800 :
11801 else
11802 echo "$as_me: failed program was:" >&5
11803 sed 's/^/| /' conftest.$ac_ext >&5
11804
11805 continue
11806 fi
11807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11808 cat >conftest.$ac_ext <<_ACEOF
11809 /* confdefs.h. */
11810 _ACEOF
11811 cat confdefs.h >>conftest.$ac_ext
11812 cat >>conftest.$ac_ext <<_ACEOF
11813 /* end confdefs.h. */
11814 $ac_declaration
11815 int
11816 main ()
11817 {
11818 exit (42);
11819 ;
11820 return 0;
11821 }
11822 _ACEOF
11823 rm -f conftest.$ac_objext
11824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11825 (eval $ac_compile) 2>conftest.er1
11826 ac_status=$?
11827 grep -v '^ *+' conftest.er1 >conftest.err
11828 rm -f conftest.er1
11829 cat conftest.err >&5
11830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11831 (exit $ac_status); } &&
11832 { ac_try='test -z "$ac_cxx_werror_flag"
11833 || test ! -s conftest.err'
11834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11835 (eval $ac_try) 2>&5
11836 ac_status=$?
11837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11838 (exit $ac_status); }; } &&
11839 { ac_try='test -s conftest.$ac_objext'
11840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11841 (eval $ac_try) 2>&5
11842 ac_status=$?
11843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11844 (exit $ac_status); }; }; then
11845 break
11846 else
11847 echo "$as_me: failed program was:" >&5
11848 sed 's/^/| /' conftest.$ac_ext >&5
11849
11850 fi
11851 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11852 done
11853 rm -f conftest*
11854 if test -n "$ac_declaration"; then
11855 echo '#ifdef __cplusplus' >>confdefs.h
11856 echo $ac_declaration >>confdefs.h
11857 echo '#endif' >>confdefs.h
11858 fi
11859
11860 ac_ext=cc
11861 ac_cpp='$CXXCPP $CPPFLAGS'
11862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11865
11866
11867 ac_ext=c
11868 ac_cpp='$CPP $CPPFLAGS'
11869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11872
11873
11874 if test -n "$ac_tool_prefix"; then
11875 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11876 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11877 echo "$as_me:$LINENO: checking for $ac_word" >&5
11878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11879 if test "${ac_cv_prog_RANLIB+set}" = set; then
11880 echo $ECHO_N "(cached) $ECHO_C" >&6
11881 else
11882 if test -n "$RANLIB"; then
11883 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11884 else
11885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11886 for as_dir in $PATH
11887 do
11888 IFS=$as_save_IFS
11889 test -z "$as_dir" && as_dir=.
11890 for ac_exec_ext in '' $ac_executable_extensions; do
11891 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11892 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11893 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11894 break 2
11895 fi
11896 done
11897 done
11898
11899 fi
11900 fi
11901 RANLIB=$ac_cv_prog_RANLIB
11902 if test -n "$RANLIB"; then
11903 echo "$as_me:$LINENO: result: $RANLIB" >&5
11904 echo "${ECHO_T}$RANLIB" >&6
11905 else
11906 echo "$as_me:$LINENO: result: no" >&5
11907 echo "${ECHO_T}no" >&6
11908 fi
11909
11910 fi
11911 if test -z "$ac_cv_prog_RANLIB"; then
11912 ac_ct_RANLIB=$RANLIB
11913 # Extract the first word of "ranlib", so it can be a program name with args.
11914 set dummy ranlib; ac_word=$2
11915 echo "$as_me:$LINENO: checking for $ac_word" >&5
11916 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11917 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11918 echo $ECHO_N "(cached) $ECHO_C" >&6
11919 else
11920 if test -n "$ac_ct_RANLIB"; then
11921 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11922 else
11923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11924 for as_dir in $PATH
11925 do
11926 IFS=$as_save_IFS
11927 test -z "$as_dir" && as_dir=.
11928 for ac_exec_ext in '' $ac_executable_extensions; do
11929 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11930 ac_cv_prog_ac_ct_RANLIB="ranlib"
11931 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11932 break 2
11933 fi
11934 done
11935 done
11936
11937 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
11938 fi
11939 fi
11940 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11941 if test -n "$ac_ct_RANLIB"; then
11942 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11943 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11944 else
11945 echo "$as_me:$LINENO: result: no" >&5
11946 echo "${ECHO_T}no" >&6
11947 fi
11948
11949 RANLIB=$ac_ct_RANLIB
11950 else
11951 RANLIB="$ac_cv_prog_RANLIB"
11952 fi
11953
11954
11955 # Extract the first word of "ar", so it can be a program name with args.
11956 set dummy ar; ac_word=$2
11957 echo "$as_me:$LINENO: checking for $ac_word" >&5
11958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11959 if test "${ac_cv_prog_AR+set}" = set; then
11960 echo $ECHO_N "(cached) $ECHO_C" >&6
11961 else
11962 if test -n "$AR"; then
11963 ac_cv_prog_AR="$AR" # Let the user override the test.
11964 else
11965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11966 for as_dir in $PATH
11967 do
11968 IFS=$as_save_IFS
11969 test -z "$as_dir" && as_dir=.
11970 for ac_exec_ext in '' $ac_executable_extensions; do
11971 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11972 ac_cv_prog_AR="ar"
11973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11974 break 2
11975 fi
11976 done
11977 done
11978
11979 fi
11980 fi
11981 AR=$ac_cv_prog_AR
11982 if test -n "$AR"; then
11983 echo "$as_me:$LINENO: result: $AR" >&5
11984 echo "${ECHO_T}$AR" >&6
11985 else
11986 echo "$as_me:$LINENO: result: no" >&5
11987 echo "${ECHO_T}no" >&6
11988 fi
11989
11990 if test "x$AR" = "x" ; then
11991 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
11992 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
11993 { (exit 1); exit 1; }; }
11994 fi
11995
11996 # Find a good install program. We prefer a C program (faster),
11997 # so one script is as good as another. But avoid the broken or
11998 # incompatible versions:
11999 # SysV /etc/install, /usr/sbin/install
12000 # SunOS /usr/etc/install
12001 # IRIX /sbin/install
12002 # AIX /bin/install
12003 # AmigaOS /C/install, which installs bootblocks on floppy discs
12004 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
12005 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
12006 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
12007 # OS/2's system install, which has a completely different semantic
12008 # ./install, which can be erroneously created by make from ./install.sh.
12009 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
12010 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
12011 if test -z "$INSTALL"; then
12012 if test "${ac_cv_path_install+set}" = set; then
12013 echo $ECHO_N "(cached) $ECHO_C" >&6
12014 else
12015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12016 for as_dir in $PATH
12017 do
12018 IFS=$as_save_IFS
12019 test -z "$as_dir" && as_dir=.
12020 # Account for people who put trailing slashes in PATH elements.
12021 case $as_dir/ in
12022 ./ | .// | /cC/* | \
12023 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
12024 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
12025 /usr/ucb/* ) ;;
12026 *)
12027 # OSF1 and SCO ODT 3.0 have their own names for install.
12028 # Don't use installbsd from OSF since it installs stuff as root
12029 # by default.
12030 for ac_prog in ginstall scoinst install; do
12031 for ac_exec_ext in '' $ac_executable_extensions; do
12032 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
12033 if test $ac_prog = install &&
12034 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
12035 # AIX install. It has an incompatible calling convention.
12036 :
12037 elif test $ac_prog = install &&
12038 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
12039 # program-specific install script used by HP pwplus--don't use.
12040 :
12041 else
12042 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
12043 break 3
12044 fi
12045 fi
12046 done
12047 done
12048 ;;
12049 esac
12050 done
12051
12052
12053 fi
12054 if test "${ac_cv_path_install+set}" = set; then
12055 INSTALL=$ac_cv_path_install
12056 else
12057 # As a last resort, use the slow shell script. We don't cache a
12058 # path for INSTALL within a source directory, because that will
12059 # break other packages using the cache if that directory is
12060 # removed, or if the path is relative.
12061 INSTALL=$ac_install_sh
12062 fi
12063 fi
12064 echo "$as_me:$LINENO: result: $INSTALL" >&5
12065 echo "${ECHO_T}$INSTALL" >&6
12066
12067 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
12068 # It thinks the first close brace ends the variable substitution.
12069 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
12070
12071 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
12072
12073 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
12074
12075
12076 case ${INSTALL} in
12077 /* ) # Absolute
12078 ;;
12079 ?:* ) # Drive letter, considered as absolute.
12080 ;;
12081 *)
12082 INSTALL=`pwd`/${INSTALL} ;;
12083 esac
12084
12085
12086 case "${host}" in
12087
12088 powerpc-*-darwin* )
12089 INSTALL_PROGRAM="cp -fp"
12090 INSTALL_DATA="cp -fp"
12091 ;;
12092 *)
12093 ;;
12094 esac
12095
12096 # Extract the first word of "strip", so it can be a program name with args.
12097 set dummy strip; ac_word=$2
12098 echo "$as_me:$LINENO: checking for $ac_word" >&5
12099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12100 if test "${ac_cv_prog_STRIP+set}" = set; then
12101 echo $ECHO_N "(cached) $ECHO_C" >&6
12102 else
12103 if test -n "$STRIP"; then
12104 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
12105 else
12106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12107 for as_dir in $PATH
12108 do
12109 IFS=$as_save_IFS
12110 test -z "$as_dir" && as_dir=.
12111 for ac_exec_ext in '' $ac_executable_extensions; do
12112 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12113 ac_cv_prog_STRIP="strip"
12114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12115 break 2
12116 fi
12117 done
12118 done
12119
12120 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
12121 fi
12122 fi
12123 STRIP=$ac_cv_prog_STRIP
12124 if test -n "$STRIP"; then
12125 echo "$as_me:$LINENO: result: $STRIP" >&5
12126 echo "${ECHO_T}$STRIP" >&6
12127 else
12128 echo "$as_me:$LINENO: result: no" >&5
12129 echo "${ECHO_T}no" >&6
12130 fi
12131
12132
12133 echo "$as_me:$LINENO: checking if make is GNU make" >&5
12134 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
12135 if test "${wx_cv_prog_makeisgnu+set}" = set; then
12136 echo $ECHO_N "(cached) $ECHO_C" >&6
12137 else
12138
12139 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
12140 egrep -s GNU > /dev/null); then
12141 wx_cv_prog_makeisgnu="yes"
12142 else
12143 wx_cv_prog_makeisgnu="no"
12144 fi
12145
12146 fi
12147 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
12148 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
12149
12150 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
12151 IF_GNU_MAKE=""
12152 else
12153 IF_GNU_MAKE="#"
12154 fi
12155
12156
12157
12158 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
12159 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
12160 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
12161 if test "${wx_cv_prog_makevpath+set}" = set; then
12162 echo $ECHO_N "(cached) $ECHO_C" >&6
12163 else
12164
12165 cat - << EOF > confMake
12166 check : file
12167 cp \$? \$@
12168 cp \$? final_file
12169 EOF
12170
12171 if test ! -d sub ; then
12172 mkdir sub
12173 fi
12174 echo dummy > sub/file
12175 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
12176 RESULT=$?
12177 rm -f sub/file check final_file confMake
12178 rmdir sub
12179 if test "$RESULT" = 0; then
12180 wx_cv_prog_makevpath="yes"
12181 else
12182 wx_cv_prog_makevpath="no"
12183 fi
12184
12185 fi
12186 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
12187 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
12188
12189 if test "x$wx_cv_prog_makevpath" != "xyes"; then
12190 { { echo "$as_me:$LINENO: error:
12191 You need a make-utility that is able to use the variable
12192 VPATH correctly.
12193 If your version of make does not support VPATH correctly,
12194 please install GNU-make (possibly as gmake), and start
12195 configure with the following command:
12196 export MAKE=gmake; ./configure for sh-type shells
12197 setenv MAKE gmake; ./configure for csh-type shells
12198 Also please do remember to use gmake in this case every time
12199 you are trying to compile.
12200 " >&5
12201 echo "$as_me: error:
12202 You need a make-utility that is able to use the variable
12203 VPATH correctly.
12204 If your version of make does not support VPATH correctly,
12205 please install GNU-make (possibly as gmake), and start
12206 configure with the following command:
12207 export MAKE=gmake; ./configure for sh-type shells
12208 setenv MAKE gmake; ./configure for csh-type shells
12209 Also please do remember to use gmake in this case every time
12210 you are trying to compile.
12211 " >&2;}
12212 { (exit 1); exit 1; }; }
12213 fi fi
12214 echo "$as_me:$LINENO: checking whether ln -s works" >&5
12215 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
12216 LN_S=$as_ln_s
12217 if test "$LN_S" = "ln -s"; then
12218 echo "$as_me:$LINENO: result: yes" >&5
12219 echo "${ECHO_T}yes" >&6
12220 else
12221 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12222 echo "${ECHO_T}no, using $LN_S" >&6
12223 fi
12224
12225
12226
12227 case "${host}" in
12228 *-pc-os2_emx | *-pc-os2-emx )
12229 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
12230 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
12231 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
12232 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
12233 echo $ECHO_N "(cached) $ECHO_C" >&6
12234 else
12235 ac_check_lib_save_LIBS=$LIBS
12236 LIBS="-lcExt $LIBS"
12237 cat >conftest.$ac_ext <<_ACEOF
12238 /* confdefs.h. */
12239 _ACEOF
12240 cat confdefs.h >>conftest.$ac_ext
12241 cat >>conftest.$ac_ext <<_ACEOF
12242 /* end confdefs.h. */
12243
12244 /* Override any gcc2 internal prototype to avoid an error. */
12245 #ifdef __cplusplus
12246 extern "C"
12247 #endif
12248 /* We use char because int might match the return type of a gcc2
12249 builtin and then its argument prototype would still apply. */
12250 char drand48 ();
12251 int
12252 main ()
12253 {
12254 drand48 ();
12255 ;
12256 return 0;
12257 }
12258 _ACEOF
12259 rm -f conftest.$ac_objext conftest$ac_exeext
12260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12261 (eval $ac_link) 2>conftest.er1
12262 ac_status=$?
12263 grep -v '^ *+' conftest.er1 >conftest.err
12264 rm -f conftest.er1
12265 cat conftest.err >&5
12266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12267 (exit $ac_status); } &&
12268 { ac_try='test -z "$ac_c_werror_flag"
12269 || test ! -s conftest.err'
12270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12271 (eval $ac_try) 2>&5
12272 ac_status=$?
12273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12274 (exit $ac_status); }; } &&
12275 { ac_try='test -s conftest$ac_exeext'
12276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12277 (eval $ac_try) 2>&5
12278 ac_status=$?
12279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12280 (exit $ac_status); }; }; then
12281 ac_cv_lib_cExt_drand48=yes
12282 else
12283 echo "$as_me: failed program was:" >&5
12284 sed 's/^/| /' conftest.$ac_ext >&5
12285
12286 ac_cv_lib_cExt_drand48=no
12287 fi
12288 rm -f conftest.err conftest.$ac_objext \
12289 conftest$ac_exeext conftest.$ac_ext
12290 LIBS=$ac_check_lib_save_LIBS
12291 fi
12292 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12293 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12294 if test $ac_cv_lib_cExt_drand48 = yes; then
12295 LIBS="$LIBS -lcExt"
12296 fi
12297
12298 else
12299 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
12300 fi
12301 echo "$as_me:$LINENO: checking for gcc version" >&5
12302 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
12303 if test "${wx_cv_gccversion+set}" = set; then
12304 echo $ECHO_N "(cached) $ECHO_C" >&6
12305 else
12306
12307 cat >conftest.$ac_ext <<_ACEOF
12308 /* confdefs.h. */
12309 _ACEOF
12310 cat confdefs.h >>conftest.$ac_ext
12311 cat >>conftest.$ac_ext <<_ACEOF
12312 /* end confdefs.h. */
12313
12314 int
12315 main ()
12316 {
12317
12318 #if (__GNUC__ < 3)
12319 #error old gcc
12320 #endif
12321
12322 ;
12323 return 0;
12324 }
12325 _ACEOF
12326 rm -f conftest.$ac_objext
12327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12328 (eval $ac_compile) 2>conftest.er1
12329 ac_status=$?
12330 grep -v '^ *+' conftest.er1 >conftest.err
12331 rm -f conftest.er1
12332 cat conftest.err >&5
12333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12334 (exit $ac_status); } &&
12335 { ac_try='test -z "$ac_c_werror_flag"
12336 || test ! -s conftest.err'
12337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12338 (eval $ac_try) 2>&5
12339 ac_status=$?
12340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12341 (exit $ac_status); }; } &&
12342 { ac_try='test -s conftest.$ac_objext'
12343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12344 (eval $ac_try) 2>&5
12345 ac_status=$?
12346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12347 (exit $ac_status); }; }; then
12348
12349 cat >conftest.$ac_ext <<_ACEOF
12350 /* confdefs.h. */
12351 _ACEOF
12352 cat confdefs.h >>conftest.$ac_ext
12353 cat >>conftest.$ac_ext <<_ACEOF
12354 /* end confdefs.h. */
12355
12356 int
12357 main ()
12358 {
12359
12360 #if (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
12361 #error intermediate gcc
12362 #endif
12363
12364 ;
12365 return 0;
12366 }
12367 _ACEOF
12368 rm -f conftest.$ac_objext
12369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12370 (eval $ac_compile) 2>conftest.er1
12371 ac_status=$?
12372 grep -v '^ *+' conftest.er1 >conftest.err
12373 rm -f conftest.er1
12374 cat conftest.err >&5
12375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12376 (exit $ac_status); } &&
12377 { ac_try='test -z "$ac_c_werror_flag"
12378 || test ! -s conftest.err'
12379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12380 (eval $ac_try) 2>&5
12381 ac_status=$?
12382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12383 (exit $ac_status); }; } &&
12384 { ac_try='test -s conftest.$ac_objext'
12385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12386 (eval $ac_try) 2>&5
12387 ac_status=$?
12388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12389 (exit $ac_status); }; }; then
12390
12391 wx_cv_gccversion=Innotek
12392
12393 else
12394 echo "$as_me: failed program was:" >&5
12395 sed 's/^/| /' conftest.$ac_ext >&5
12396
12397
12398 wx_cv_gccversion=3
12399
12400
12401 fi
12402 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12403
12404 else
12405 echo "$as_me: failed program was:" >&5
12406 sed 's/^/| /' conftest.$ac_ext >&5
12407
12408
12409 wx_cv_gccversion=2
12410
12411
12412 fi
12413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12414
12415 fi
12416 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
12417 echo "${ECHO_T}$wx_cv_gccversion" >&6
12418 if test "$wx_cv_gccversion" = "2"; then
12419 LIBS="$LIBS -lstdcpp"
12420 LDFLAGS="$LDFLAGS -Zsysv-signals"
12421 else
12422 if test "$wx_cv_gccversion" = "3"; then
12423 LIBS="$LIBS -lstdcxx"
12424 LDFLAGS="$LDFLAGS -Zsysv-signals"
12425 else
12426 LIBS="$LIBS -lstdc++"
12427 fi
12428 fi
12429 if test "$wxUSE_OMF" = "yes"; then
12430 LDFLAGS="$LDFLAGS -Zomf -Zlinker /PMTYPE:PM -Zlinker /EXEPACK"
12431 fi
12432 ;;
12433 *)
12434
12435
12436
12437 ac_ext=cc
12438 ac_cpp='$CXXCPP $CPPFLAGS'
12439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12442
12443
12444
12445 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12446 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12447 if test "${ac_cv_string_strcasecmp+set}" = set; then
12448 echo $ECHO_N "(cached) $ECHO_C" >&6
12449 else
12450
12451 cat >conftest.$ac_ext <<_ACEOF
12452 /* confdefs.h. */
12453 _ACEOF
12454 cat confdefs.h >>conftest.$ac_ext
12455 cat >>conftest.$ac_ext <<_ACEOF
12456 /* end confdefs.h. */
12457
12458 #include <string.h>
12459
12460 int
12461 main ()
12462 {
12463
12464 strcasecmp("foo", "bar");
12465
12466 ;
12467 return 0;
12468 }
12469 _ACEOF
12470 rm -f conftest.$ac_objext conftest$ac_exeext
12471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12472 (eval $ac_link) 2>conftest.er1
12473 ac_status=$?
12474 grep -v '^ *+' conftest.er1 >conftest.err
12475 rm -f conftest.er1
12476 cat conftest.err >&5
12477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12478 (exit $ac_status); } &&
12479 { ac_try='test -z "$ac_cxx_werror_flag"
12480 || test ! -s conftest.err'
12481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12482 (eval $ac_try) 2>&5
12483 ac_status=$?
12484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12485 (exit $ac_status); }; } &&
12486 { ac_try='test -s conftest$ac_exeext'
12487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12488 (eval $ac_try) 2>&5
12489 ac_status=$?
12490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12491 (exit $ac_status); }; }; then
12492 ac_cv_string_strcasecmp=yes
12493 else
12494 echo "$as_me: failed program was:" >&5
12495 sed 's/^/| /' conftest.$ac_ext >&5
12496
12497 ac_cv_string_strcasecmp=no
12498
12499 fi
12500 rm -f conftest.err conftest.$ac_objext \
12501 conftest$ac_exeext conftest.$ac_ext
12502
12503 fi
12504 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12505 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12506
12507 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
12508 cat >>confdefs.h <<\_ACEOF
12509 #define HAVE_STRCASECMP_IN_STRING_H 1
12510 _ACEOF
12511
12512 else
12513 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12514 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12515 if test "${ac_cv_strings_strcasecmp+set}" = set; then
12516 echo $ECHO_N "(cached) $ECHO_C" >&6
12517 else
12518
12519 cat >conftest.$ac_ext <<_ACEOF
12520 /* confdefs.h. */
12521 _ACEOF
12522 cat confdefs.h >>conftest.$ac_ext
12523 cat >>conftest.$ac_ext <<_ACEOF
12524 /* end confdefs.h. */
12525
12526 #include <strings.h>
12527
12528 int
12529 main ()
12530 {
12531
12532 strcasecmp("foo", "bar");
12533
12534 ;
12535 return 0;
12536 }
12537 _ACEOF
12538 rm -f conftest.$ac_objext conftest$ac_exeext
12539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12540 (eval $ac_link) 2>conftest.er1
12541 ac_status=$?
12542 grep -v '^ *+' conftest.er1 >conftest.err
12543 rm -f conftest.er1
12544 cat conftest.err >&5
12545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12546 (exit $ac_status); } &&
12547 { ac_try='test -z "$ac_cxx_werror_flag"
12548 || test ! -s conftest.err'
12549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12550 (eval $ac_try) 2>&5
12551 ac_status=$?
12552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12553 (exit $ac_status); }; } &&
12554 { ac_try='test -s conftest$ac_exeext'
12555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12556 (eval $ac_try) 2>&5
12557 ac_status=$?
12558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12559 (exit $ac_status); }; }; then
12560 ac_cv_strings_strcasecmp=yes
12561 else
12562 echo "$as_me: failed program was:" >&5
12563 sed 's/^/| /' conftest.$ac_ext >&5
12564
12565 ac_cv_strings_strcasecmp=no
12566
12567 fi
12568 rm -f conftest.err conftest.$ac_objext \
12569 conftest$ac_exeext conftest.$ac_ext
12570
12571 fi
12572 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12573 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12574
12575 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
12576 cat >>confdefs.h <<\_ACEOF
12577 #define HAVE_STRCASECMP_IN_STRINGS_H 1
12578 _ACEOF
12579
12580 else
12581 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12582 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12583 { (exit 1); exit 1; }; }
12584 fi
12585 fi
12586
12587 ac_ext=c
12588 ac_cpp='$CPP $CPPFLAGS'
12589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12592
12593 ;;
12594 esac
12595
12596
12597 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12598 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12599 if test "${ac_cv_header_stdc+set}" = set; then
12600 echo $ECHO_N "(cached) $ECHO_C" >&6
12601 else
12602 cat >conftest.$ac_ext <<_ACEOF
12603 /* confdefs.h. */
12604 _ACEOF
12605 cat confdefs.h >>conftest.$ac_ext
12606 cat >>conftest.$ac_ext <<_ACEOF
12607 /* end confdefs.h. */
12608 #include <stdlib.h>
12609 #include <stdarg.h>
12610 #include <string.h>
12611 #include <float.h>
12612
12613 int
12614 main ()
12615 {
12616
12617 ;
12618 return 0;
12619 }
12620 _ACEOF
12621 rm -f conftest.$ac_objext
12622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12623 (eval $ac_compile) 2>conftest.er1
12624 ac_status=$?
12625 grep -v '^ *+' conftest.er1 >conftest.err
12626 rm -f conftest.er1
12627 cat conftest.err >&5
12628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12629 (exit $ac_status); } &&
12630 { ac_try='test -z "$ac_c_werror_flag"
12631 || test ! -s conftest.err'
12632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12633 (eval $ac_try) 2>&5
12634 ac_status=$?
12635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12636 (exit $ac_status); }; } &&
12637 { ac_try='test -s conftest.$ac_objext'
12638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12639 (eval $ac_try) 2>&5
12640 ac_status=$?
12641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12642 (exit $ac_status); }; }; then
12643 ac_cv_header_stdc=yes
12644 else
12645 echo "$as_me: failed program was:" >&5
12646 sed 's/^/| /' conftest.$ac_ext >&5
12647
12648 ac_cv_header_stdc=no
12649 fi
12650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12651
12652 if test $ac_cv_header_stdc = yes; then
12653 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12654 cat >conftest.$ac_ext <<_ACEOF
12655 /* confdefs.h. */
12656 _ACEOF
12657 cat confdefs.h >>conftest.$ac_ext
12658 cat >>conftest.$ac_ext <<_ACEOF
12659 /* end confdefs.h. */
12660 #include <string.h>
12661
12662 _ACEOF
12663 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12664 $EGREP "memchr" >/dev/null 2>&1; then
12665 :
12666 else
12667 ac_cv_header_stdc=no
12668 fi
12669 rm -f conftest*
12670
12671 fi
12672
12673 if test $ac_cv_header_stdc = yes; then
12674 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12675 cat >conftest.$ac_ext <<_ACEOF
12676 /* confdefs.h. */
12677 _ACEOF
12678 cat confdefs.h >>conftest.$ac_ext
12679 cat >>conftest.$ac_ext <<_ACEOF
12680 /* end confdefs.h. */
12681 #include <stdlib.h>
12682
12683 _ACEOF
12684 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12685 $EGREP "free" >/dev/null 2>&1; then
12686 :
12687 else
12688 ac_cv_header_stdc=no
12689 fi
12690 rm -f conftest*
12691
12692 fi
12693
12694 if test $ac_cv_header_stdc = yes; then
12695 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12696 if test "$cross_compiling" = yes; then
12697 :
12698 else
12699 cat >conftest.$ac_ext <<_ACEOF
12700 /* confdefs.h. */
12701 _ACEOF
12702 cat confdefs.h >>conftest.$ac_ext
12703 cat >>conftest.$ac_ext <<_ACEOF
12704 /* end confdefs.h. */
12705 #include <ctype.h>
12706 #if ((' ' & 0x0FF) == 0x020)
12707 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12708 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12709 #else
12710 # define ISLOWER(c) \
12711 (('a' <= (c) && (c) <= 'i') \
12712 || ('j' <= (c) && (c) <= 'r') \
12713 || ('s' <= (c) && (c) <= 'z'))
12714 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12715 #endif
12716
12717 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12718 int
12719 main ()
12720 {
12721 int i;
12722 for (i = 0; i < 256; i++)
12723 if (XOR (islower (i), ISLOWER (i))
12724 || toupper (i) != TOUPPER (i))
12725 exit(2);
12726 exit (0);
12727 }
12728 _ACEOF
12729 rm -f conftest$ac_exeext
12730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12731 (eval $ac_link) 2>&5
12732 ac_status=$?
12733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12734 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12736 (eval $ac_try) 2>&5
12737 ac_status=$?
12738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12739 (exit $ac_status); }; }; then
12740 :
12741 else
12742 echo "$as_me: program exited with status $ac_status" >&5
12743 echo "$as_me: failed program was:" >&5
12744 sed 's/^/| /' conftest.$ac_ext >&5
12745
12746 ( exit $ac_status )
12747 ac_cv_header_stdc=no
12748 fi
12749 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12750 fi
12751 fi
12752 fi
12753 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12754 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12755 if test $ac_cv_header_stdc = yes; then
12756
12757 cat >>confdefs.h <<\_ACEOF
12758 #define STDC_HEADERS 1
12759 _ACEOF
12760
12761 fi
12762
12763 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
12774 inttypes.h stdint.h unistd.h
12775 do
12776 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12777 echo "$as_me:$LINENO: checking for $ac_header" >&5
12778 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12779 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12780 echo $ECHO_N "(cached) $ECHO_C" >&6
12781 else
12782 cat >conftest.$ac_ext <<_ACEOF
12783 /* confdefs.h. */
12784 _ACEOF
12785 cat confdefs.h >>conftest.$ac_ext
12786 cat >>conftest.$ac_ext <<_ACEOF
12787 /* end confdefs.h. */
12788 $ac_includes_default
12789
12790 #include <$ac_header>
12791 _ACEOF
12792 rm -f conftest.$ac_objext
12793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12794 (eval $ac_compile) 2>conftest.er1
12795 ac_status=$?
12796 grep -v '^ *+' conftest.er1 >conftest.err
12797 rm -f conftest.er1
12798 cat conftest.err >&5
12799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12800 (exit $ac_status); } &&
12801 { ac_try='test -z "$ac_c_werror_flag"
12802 || test ! -s conftest.err'
12803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12804 (eval $ac_try) 2>&5
12805 ac_status=$?
12806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12807 (exit $ac_status); }; } &&
12808 { ac_try='test -s conftest.$ac_objext'
12809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12810 (eval $ac_try) 2>&5
12811 ac_status=$?
12812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12813 (exit $ac_status); }; }; then
12814 eval "$as_ac_Header=yes"
12815 else
12816 echo "$as_me: failed program was:" >&5
12817 sed 's/^/| /' conftest.$ac_ext >&5
12818
12819 eval "$as_ac_Header=no"
12820 fi
12821 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12822 fi
12823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12824 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12825 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12826 cat >>confdefs.h <<_ACEOF
12827 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12828 _ACEOF
12829
12830 fi
12831
12832 done
12833
12834
12835
12836 for ac_header in stdlib.h
12837 do
12838 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12839 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12840 echo "$as_me:$LINENO: checking for $ac_header" >&5
12841 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12842 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12843 echo $ECHO_N "(cached) $ECHO_C" >&6
12844 fi
12845 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12846 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12847 else
12848 # Is the header compilable?
12849 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12850 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12851 cat >conftest.$ac_ext <<_ACEOF
12852 /* confdefs.h. */
12853 _ACEOF
12854 cat confdefs.h >>conftest.$ac_ext
12855 cat >>conftest.$ac_ext <<_ACEOF
12856 /* end confdefs.h. */
12857 $ac_includes_default
12858 #include <$ac_header>
12859 _ACEOF
12860 rm -f conftest.$ac_objext
12861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12862 (eval $ac_compile) 2>conftest.er1
12863 ac_status=$?
12864 grep -v '^ *+' conftest.er1 >conftest.err
12865 rm -f conftest.er1
12866 cat conftest.err >&5
12867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12868 (exit $ac_status); } &&
12869 { ac_try='test -z "$ac_c_werror_flag"
12870 || test ! -s conftest.err'
12871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12872 (eval $ac_try) 2>&5
12873 ac_status=$?
12874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12875 (exit $ac_status); }; } &&
12876 { ac_try='test -s conftest.$ac_objext'
12877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12878 (eval $ac_try) 2>&5
12879 ac_status=$?
12880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12881 (exit $ac_status); }; }; then
12882 ac_header_compiler=yes
12883 else
12884 echo "$as_me: failed program was:" >&5
12885 sed 's/^/| /' conftest.$ac_ext >&5
12886
12887 ac_header_compiler=no
12888 fi
12889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12890 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12891 echo "${ECHO_T}$ac_header_compiler" >&6
12892
12893 # Is the header present?
12894 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12895 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12896 cat >conftest.$ac_ext <<_ACEOF
12897 /* confdefs.h. */
12898 _ACEOF
12899 cat confdefs.h >>conftest.$ac_ext
12900 cat >>conftest.$ac_ext <<_ACEOF
12901 /* end confdefs.h. */
12902 #include <$ac_header>
12903 _ACEOF
12904 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12905 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12906 ac_status=$?
12907 grep -v '^ *+' conftest.er1 >conftest.err
12908 rm -f conftest.er1
12909 cat conftest.err >&5
12910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12911 (exit $ac_status); } >/dev/null; then
12912 if test -s conftest.err; then
12913 ac_cpp_err=$ac_c_preproc_warn_flag
12914 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12915 else
12916 ac_cpp_err=
12917 fi
12918 else
12919 ac_cpp_err=yes
12920 fi
12921 if test -z "$ac_cpp_err"; then
12922 ac_header_preproc=yes
12923 else
12924 echo "$as_me: failed program was:" >&5
12925 sed 's/^/| /' conftest.$ac_ext >&5
12926
12927 ac_header_preproc=no
12928 fi
12929 rm -f conftest.err conftest.$ac_ext
12930 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12931 echo "${ECHO_T}$ac_header_preproc" >&6
12932
12933 # So? What about this header?
12934 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12935 yes:no: )
12936 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12937 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12938 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12939 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12940 ac_header_preproc=yes
12941 ;;
12942 no:yes:* )
12943 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12944 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12945 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12946 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12947 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12948 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12949 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12950 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12951 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12952 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12953 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12954 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12955 (
12956 cat <<\_ASBOX
12957 ## ----------------------------------------- ##
12958 ## Report this to wx-dev@lists.wxwidgets.org ##
12959 ## ----------------------------------------- ##
12960 _ASBOX
12961 ) |
12962 sed "s/^/$as_me: WARNING: /" >&2
12963 ;;
12964 esac
12965 echo "$as_me:$LINENO: checking for $ac_header" >&5
12966 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12967 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12968 echo $ECHO_N "(cached) $ECHO_C" >&6
12969 else
12970 eval "$as_ac_Header=\$ac_header_preproc"
12971 fi
12972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12973 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12974
12975 fi
12976 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12977 cat >>confdefs.h <<_ACEOF
12978 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12979 _ACEOF
12980
12981 fi
12982
12983 done
12984
12985
12986 for ac_header in malloc.h
12987 do
12988 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12989 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12990 echo "$as_me:$LINENO: checking for $ac_header" >&5
12991 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12992 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12993 echo $ECHO_N "(cached) $ECHO_C" >&6
12994 fi
12995 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12996 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12997 else
12998 # Is the header compilable?
12999 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13000 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13001 cat >conftest.$ac_ext <<_ACEOF
13002 /* confdefs.h. */
13003 _ACEOF
13004 cat confdefs.h >>conftest.$ac_ext
13005 cat >>conftest.$ac_ext <<_ACEOF
13006 /* end confdefs.h. */
13007 $ac_includes_default
13008 #include <$ac_header>
13009 _ACEOF
13010 rm -f conftest.$ac_objext
13011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13012 (eval $ac_compile) 2>conftest.er1
13013 ac_status=$?
13014 grep -v '^ *+' conftest.er1 >conftest.err
13015 rm -f conftest.er1
13016 cat conftest.err >&5
13017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13018 (exit $ac_status); } &&
13019 { ac_try='test -z "$ac_c_werror_flag"
13020 || test ! -s conftest.err'
13021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13022 (eval $ac_try) 2>&5
13023 ac_status=$?
13024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13025 (exit $ac_status); }; } &&
13026 { ac_try='test -s conftest.$ac_objext'
13027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13028 (eval $ac_try) 2>&5
13029 ac_status=$?
13030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13031 (exit $ac_status); }; }; then
13032 ac_header_compiler=yes
13033 else
13034 echo "$as_me: failed program was:" >&5
13035 sed 's/^/| /' conftest.$ac_ext >&5
13036
13037 ac_header_compiler=no
13038 fi
13039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13040 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13041 echo "${ECHO_T}$ac_header_compiler" >&6
13042
13043 # Is the header present?
13044 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13045 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13046 cat >conftest.$ac_ext <<_ACEOF
13047 /* confdefs.h. */
13048 _ACEOF
13049 cat confdefs.h >>conftest.$ac_ext
13050 cat >>conftest.$ac_ext <<_ACEOF
13051 /* end confdefs.h. */
13052 #include <$ac_header>
13053 _ACEOF
13054 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13055 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13056 ac_status=$?
13057 grep -v '^ *+' conftest.er1 >conftest.err
13058 rm -f conftest.er1
13059 cat conftest.err >&5
13060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13061 (exit $ac_status); } >/dev/null; then
13062 if test -s conftest.err; then
13063 ac_cpp_err=$ac_c_preproc_warn_flag
13064 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13065 else
13066 ac_cpp_err=
13067 fi
13068 else
13069 ac_cpp_err=yes
13070 fi
13071 if test -z "$ac_cpp_err"; then
13072 ac_header_preproc=yes
13073 else
13074 echo "$as_me: failed program was:" >&5
13075 sed 's/^/| /' conftest.$ac_ext >&5
13076
13077 ac_header_preproc=no
13078 fi
13079 rm -f conftest.err conftest.$ac_ext
13080 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13081 echo "${ECHO_T}$ac_header_preproc" >&6
13082
13083 # So? What about this header?
13084 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13085 yes:no: )
13086 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13087 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13088 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13089 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13090 ac_header_preproc=yes
13091 ;;
13092 no:yes:* )
13093 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13094 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13095 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13096 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13097 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13098 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13099 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13100 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13101 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13102 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13103 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13104 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13105 (
13106 cat <<\_ASBOX
13107 ## ----------------------------------------- ##
13108 ## Report this to wx-dev@lists.wxwidgets.org ##
13109 ## ----------------------------------------- ##
13110 _ASBOX
13111 ) |
13112 sed "s/^/$as_me: WARNING: /" >&2
13113 ;;
13114 esac
13115 echo "$as_me:$LINENO: checking for $ac_header" >&5
13116 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13117 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13118 echo $ECHO_N "(cached) $ECHO_C" >&6
13119 else
13120 eval "$as_ac_Header=\$ac_header_preproc"
13121 fi
13122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13123 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13124
13125 fi
13126 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13127 cat >>confdefs.h <<_ACEOF
13128 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13129 _ACEOF
13130
13131 fi
13132
13133 done
13134
13135
13136 for ac_header in unistd.h
13137 do
13138 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13139 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13140 echo "$as_me:$LINENO: checking for $ac_header" >&5
13141 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13142 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13143 echo $ECHO_N "(cached) $ECHO_C" >&6
13144 fi
13145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13146 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13147 else
13148 # Is the header compilable?
13149 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13150 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13151 cat >conftest.$ac_ext <<_ACEOF
13152 /* confdefs.h. */
13153 _ACEOF
13154 cat confdefs.h >>conftest.$ac_ext
13155 cat >>conftest.$ac_ext <<_ACEOF
13156 /* end confdefs.h. */
13157 $ac_includes_default
13158 #include <$ac_header>
13159 _ACEOF
13160 rm -f conftest.$ac_objext
13161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13162 (eval $ac_compile) 2>conftest.er1
13163 ac_status=$?
13164 grep -v '^ *+' conftest.er1 >conftest.err
13165 rm -f conftest.er1
13166 cat conftest.err >&5
13167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13168 (exit $ac_status); } &&
13169 { ac_try='test -z "$ac_c_werror_flag"
13170 || test ! -s conftest.err'
13171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13172 (eval $ac_try) 2>&5
13173 ac_status=$?
13174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13175 (exit $ac_status); }; } &&
13176 { ac_try='test -s conftest.$ac_objext'
13177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13178 (eval $ac_try) 2>&5
13179 ac_status=$?
13180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13181 (exit $ac_status); }; }; then
13182 ac_header_compiler=yes
13183 else
13184 echo "$as_me: failed program was:" >&5
13185 sed 's/^/| /' conftest.$ac_ext >&5
13186
13187 ac_header_compiler=no
13188 fi
13189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13190 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13191 echo "${ECHO_T}$ac_header_compiler" >&6
13192
13193 # Is the header present?
13194 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13195 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13196 cat >conftest.$ac_ext <<_ACEOF
13197 /* confdefs.h. */
13198 _ACEOF
13199 cat confdefs.h >>conftest.$ac_ext
13200 cat >>conftest.$ac_ext <<_ACEOF
13201 /* end confdefs.h. */
13202 #include <$ac_header>
13203 _ACEOF
13204 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13205 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13206 ac_status=$?
13207 grep -v '^ *+' conftest.er1 >conftest.err
13208 rm -f conftest.er1
13209 cat conftest.err >&5
13210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13211 (exit $ac_status); } >/dev/null; then
13212 if test -s conftest.err; then
13213 ac_cpp_err=$ac_c_preproc_warn_flag
13214 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13215 else
13216 ac_cpp_err=
13217 fi
13218 else
13219 ac_cpp_err=yes
13220 fi
13221 if test -z "$ac_cpp_err"; then
13222 ac_header_preproc=yes
13223 else
13224 echo "$as_me: failed program was:" >&5
13225 sed 's/^/| /' conftest.$ac_ext >&5
13226
13227 ac_header_preproc=no
13228 fi
13229 rm -f conftest.err conftest.$ac_ext
13230 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13231 echo "${ECHO_T}$ac_header_preproc" >&6
13232
13233 # So? What about this header?
13234 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13235 yes:no: )
13236 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13237 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13238 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13239 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13240 ac_header_preproc=yes
13241 ;;
13242 no:yes:* )
13243 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13244 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13245 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13246 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13247 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13248 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13249 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13250 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13251 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13252 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13253 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13254 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13255 (
13256 cat <<\_ASBOX
13257 ## ----------------------------------------- ##
13258 ## Report this to wx-dev@lists.wxwidgets.org ##
13259 ## ----------------------------------------- ##
13260 _ASBOX
13261 ) |
13262 sed "s/^/$as_me: WARNING: /" >&2
13263 ;;
13264 esac
13265 echo "$as_me:$LINENO: checking for $ac_header" >&5
13266 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13267 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13268 echo $ECHO_N "(cached) $ECHO_C" >&6
13269 else
13270 eval "$as_ac_Header=\$ac_header_preproc"
13271 fi
13272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13273 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13274
13275 fi
13276 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13277 cat >>confdefs.h <<_ACEOF
13278 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13279 _ACEOF
13280
13281 fi
13282
13283 done
13284
13285
13286 for ac_header in wchar.h
13287 do
13288 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13289 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13290 echo "$as_me:$LINENO: checking for $ac_header" >&5
13291 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13292 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13293 echo $ECHO_N "(cached) $ECHO_C" >&6
13294 fi
13295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13296 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13297 else
13298 # Is the header compilable?
13299 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13300 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13301 cat >conftest.$ac_ext <<_ACEOF
13302 /* confdefs.h. */
13303 _ACEOF
13304 cat confdefs.h >>conftest.$ac_ext
13305 cat >>conftest.$ac_ext <<_ACEOF
13306 /* end confdefs.h. */
13307 $ac_includes_default
13308 #include <$ac_header>
13309 _ACEOF
13310 rm -f conftest.$ac_objext
13311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13312 (eval $ac_compile) 2>conftest.er1
13313 ac_status=$?
13314 grep -v '^ *+' conftest.er1 >conftest.err
13315 rm -f conftest.er1
13316 cat conftest.err >&5
13317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13318 (exit $ac_status); } &&
13319 { ac_try='test -z "$ac_c_werror_flag"
13320 || test ! -s conftest.err'
13321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13322 (eval $ac_try) 2>&5
13323 ac_status=$?
13324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13325 (exit $ac_status); }; } &&
13326 { ac_try='test -s conftest.$ac_objext'
13327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13328 (eval $ac_try) 2>&5
13329 ac_status=$?
13330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13331 (exit $ac_status); }; }; then
13332 ac_header_compiler=yes
13333 else
13334 echo "$as_me: failed program was:" >&5
13335 sed 's/^/| /' conftest.$ac_ext >&5
13336
13337 ac_header_compiler=no
13338 fi
13339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13340 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13341 echo "${ECHO_T}$ac_header_compiler" >&6
13342
13343 # Is the header present?
13344 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13345 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13346 cat >conftest.$ac_ext <<_ACEOF
13347 /* confdefs.h. */
13348 _ACEOF
13349 cat confdefs.h >>conftest.$ac_ext
13350 cat >>conftest.$ac_ext <<_ACEOF
13351 /* end confdefs.h. */
13352 #include <$ac_header>
13353 _ACEOF
13354 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13355 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13356 ac_status=$?
13357 grep -v '^ *+' conftest.er1 >conftest.err
13358 rm -f conftest.er1
13359 cat conftest.err >&5
13360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13361 (exit $ac_status); } >/dev/null; then
13362 if test -s conftest.err; then
13363 ac_cpp_err=$ac_c_preproc_warn_flag
13364 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13365 else
13366 ac_cpp_err=
13367 fi
13368 else
13369 ac_cpp_err=yes
13370 fi
13371 if test -z "$ac_cpp_err"; then
13372 ac_header_preproc=yes
13373 else
13374 echo "$as_me: failed program was:" >&5
13375 sed 's/^/| /' conftest.$ac_ext >&5
13376
13377 ac_header_preproc=no
13378 fi
13379 rm -f conftest.err conftest.$ac_ext
13380 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13381 echo "${ECHO_T}$ac_header_preproc" >&6
13382
13383 # So? What about this header?
13384 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13385 yes:no: )
13386 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13387 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13388 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13389 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13390 ac_header_preproc=yes
13391 ;;
13392 no:yes:* )
13393 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13394 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13395 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13396 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13397 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13398 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13399 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13400 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13401 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13402 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13403 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13404 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13405 (
13406 cat <<\_ASBOX
13407 ## ----------------------------------------- ##
13408 ## Report this to wx-dev@lists.wxwidgets.org ##
13409 ## ----------------------------------------- ##
13410 _ASBOX
13411 ) |
13412 sed "s/^/$as_me: WARNING: /" >&2
13413 ;;
13414 esac
13415 echo "$as_me:$LINENO: checking for $ac_header" >&5
13416 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13417 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13418 echo $ECHO_N "(cached) $ECHO_C" >&6
13419 else
13420 eval "$as_ac_Header=\$ac_header_preproc"
13421 fi
13422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13423 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13424
13425 fi
13426 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13427 cat >>confdefs.h <<_ACEOF
13428 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13429 _ACEOF
13430
13431 fi
13432
13433 done
13434
13435
13436 if test "$ac_cv_header_wchar_h" != "yes"; then
13437
13438 for ac_header in wcstr.h
13439 do
13440 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13441 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13442 echo "$as_me:$LINENO: checking for $ac_header" >&5
13443 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13444 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13445 echo $ECHO_N "(cached) $ECHO_C" >&6
13446 fi
13447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13448 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13449 else
13450 # Is the header compilable?
13451 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13452 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13453 cat >conftest.$ac_ext <<_ACEOF
13454 /* confdefs.h. */
13455 _ACEOF
13456 cat confdefs.h >>conftest.$ac_ext
13457 cat >>conftest.$ac_ext <<_ACEOF
13458 /* end confdefs.h. */
13459 $ac_includes_default
13460 #include <$ac_header>
13461 _ACEOF
13462 rm -f conftest.$ac_objext
13463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13464 (eval $ac_compile) 2>conftest.er1
13465 ac_status=$?
13466 grep -v '^ *+' conftest.er1 >conftest.err
13467 rm -f conftest.er1
13468 cat conftest.err >&5
13469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13470 (exit $ac_status); } &&
13471 { ac_try='test -z "$ac_c_werror_flag"
13472 || test ! -s conftest.err'
13473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13474 (eval $ac_try) 2>&5
13475 ac_status=$?
13476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13477 (exit $ac_status); }; } &&
13478 { ac_try='test -s conftest.$ac_objext'
13479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13480 (eval $ac_try) 2>&5
13481 ac_status=$?
13482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13483 (exit $ac_status); }; }; then
13484 ac_header_compiler=yes
13485 else
13486 echo "$as_me: failed program was:" >&5
13487 sed 's/^/| /' conftest.$ac_ext >&5
13488
13489 ac_header_compiler=no
13490 fi
13491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13492 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13493 echo "${ECHO_T}$ac_header_compiler" >&6
13494
13495 # Is the header present?
13496 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13497 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13498 cat >conftest.$ac_ext <<_ACEOF
13499 /* confdefs.h. */
13500 _ACEOF
13501 cat confdefs.h >>conftest.$ac_ext
13502 cat >>conftest.$ac_ext <<_ACEOF
13503 /* end confdefs.h. */
13504 #include <$ac_header>
13505 _ACEOF
13506 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13507 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13508 ac_status=$?
13509 grep -v '^ *+' conftest.er1 >conftest.err
13510 rm -f conftest.er1
13511 cat conftest.err >&5
13512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13513 (exit $ac_status); } >/dev/null; then
13514 if test -s conftest.err; then
13515 ac_cpp_err=$ac_c_preproc_warn_flag
13516 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13517 else
13518 ac_cpp_err=
13519 fi
13520 else
13521 ac_cpp_err=yes
13522 fi
13523 if test -z "$ac_cpp_err"; then
13524 ac_header_preproc=yes
13525 else
13526 echo "$as_me: failed program was:" >&5
13527 sed 's/^/| /' conftest.$ac_ext >&5
13528
13529 ac_header_preproc=no
13530 fi
13531 rm -f conftest.err conftest.$ac_ext
13532 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13533 echo "${ECHO_T}$ac_header_preproc" >&6
13534
13535 # So? What about this header?
13536 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13537 yes:no: )
13538 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13539 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13540 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13541 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13542 ac_header_preproc=yes
13543 ;;
13544 no:yes:* )
13545 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13546 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13547 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13548 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13549 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13550 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13551 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13552 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13553 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13554 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13555 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13556 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13557 (
13558 cat <<\_ASBOX
13559 ## ----------------------------------------- ##
13560 ## Report this to wx-dev@lists.wxwidgets.org ##
13561 ## ----------------------------------------- ##
13562 _ASBOX
13563 ) |
13564 sed "s/^/$as_me: WARNING: /" >&2
13565 ;;
13566 esac
13567 echo "$as_me:$LINENO: checking for $ac_header" >&5
13568 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13569 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13570 echo $ECHO_N "(cached) $ECHO_C" >&6
13571 else
13572 eval "$as_ac_Header=\$ac_header_preproc"
13573 fi
13574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13575 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13576
13577 fi
13578 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13579 cat >>confdefs.h <<_ACEOF
13580 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13581 _ACEOF
13582
13583 fi
13584
13585 done
13586
13587 fi
13588
13589
13590 for ac_header in fnmatch.h
13591 do
13592 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13593 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13594 echo "$as_me:$LINENO: checking for $ac_header" >&5
13595 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13596 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13597 echo $ECHO_N "(cached) $ECHO_C" >&6
13598 fi
13599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13600 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13601 else
13602 # Is the header compilable?
13603 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13604 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13605 cat >conftest.$ac_ext <<_ACEOF
13606 /* confdefs.h. */
13607 _ACEOF
13608 cat confdefs.h >>conftest.$ac_ext
13609 cat >>conftest.$ac_ext <<_ACEOF
13610 /* end confdefs.h. */
13611 $ac_includes_default
13612 #include <$ac_header>
13613 _ACEOF
13614 rm -f conftest.$ac_objext
13615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13616 (eval $ac_compile) 2>conftest.er1
13617 ac_status=$?
13618 grep -v '^ *+' conftest.er1 >conftest.err
13619 rm -f conftest.er1
13620 cat conftest.err >&5
13621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13622 (exit $ac_status); } &&
13623 { ac_try='test -z "$ac_c_werror_flag"
13624 || test ! -s conftest.err'
13625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13626 (eval $ac_try) 2>&5
13627 ac_status=$?
13628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13629 (exit $ac_status); }; } &&
13630 { ac_try='test -s conftest.$ac_objext'
13631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13632 (eval $ac_try) 2>&5
13633 ac_status=$?
13634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13635 (exit $ac_status); }; }; then
13636 ac_header_compiler=yes
13637 else
13638 echo "$as_me: failed program was:" >&5
13639 sed 's/^/| /' conftest.$ac_ext >&5
13640
13641 ac_header_compiler=no
13642 fi
13643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13644 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13645 echo "${ECHO_T}$ac_header_compiler" >&6
13646
13647 # Is the header present?
13648 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13649 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13650 cat >conftest.$ac_ext <<_ACEOF
13651 /* confdefs.h. */
13652 _ACEOF
13653 cat confdefs.h >>conftest.$ac_ext
13654 cat >>conftest.$ac_ext <<_ACEOF
13655 /* end confdefs.h. */
13656 #include <$ac_header>
13657 _ACEOF
13658 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13659 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13660 ac_status=$?
13661 grep -v '^ *+' conftest.er1 >conftest.err
13662 rm -f conftest.er1
13663 cat conftest.err >&5
13664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13665 (exit $ac_status); } >/dev/null; then
13666 if test -s conftest.err; then
13667 ac_cpp_err=$ac_c_preproc_warn_flag
13668 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13669 else
13670 ac_cpp_err=
13671 fi
13672 else
13673 ac_cpp_err=yes
13674 fi
13675 if test -z "$ac_cpp_err"; then
13676 ac_header_preproc=yes
13677 else
13678 echo "$as_me: failed program was:" >&5
13679 sed 's/^/| /' conftest.$ac_ext >&5
13680
13681 ac_header_preproc=no
13682 fi
13683 rm -f conftest.err conftest.$ac_ext
13684 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13685 echo "${ECHO_T}$ac_header_preproc" >&6
13686
13687 # So? What about this header?
13688 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13689 yes:no: )
13690 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13691 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13692 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13693 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13694 ac_header_preproc=yes
13695 ;;
13696 no:yes:* )
13697 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13698 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13699 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13700 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13701 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13702 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13703 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13704 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13705 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13706 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13707 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13708 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13709 (
13710 cat <<\_ASBOX
13711 ## ----------------------------------------- ##
13712 ## Report this to wx-dev@lists.wxwidgets.org ##
13713 ## ----------------------------------------- ##
13714 _ASBOX
13715 ) |
13716 sed "s/^/$as_me: WARNING: /" >&2
13717 ;;
13718 esac
13719 echo "$as_me:$LINENO: checking for $ac_header" >&5
13720 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13721 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13722 echo $ECHO_N "(cached) $ECHO_C" >&6
13723 else
13724 eval "$as_ac_Header=\$ac_header_preproc"
13725 fi
13726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13727 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13728
13729 fi
13730 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13731 cat >>confdefs.h <<_ACEOF
13732 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13733 _ACEOF
13734
13735 fi
13736
13737 done
13738
13739
13740 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13741
13742 for ac_func in fnmatch
13743 do
13744 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13745 echo "$as_me:$LINENO: checking for $ac_func" >&5
13746 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13747 if eval "test \"\${$as_ac_var+set}\" = set"; then
13748 echo $ECHO_N "(cached) $ECHO_C" >&6
13749 else
13750 cat >conftest.$ac_ext <<_ACEOF
13751 /* confdefs.h. */
13752 _ACEOF
13753 cat confdefs.h >>conftest.$ac_ext
13754 cat >>conftest.$ac_ext <<_ACEOF
13755 /* end confdefs.h. */
13756 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13757 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13758 #define $ac_func innocuous_$ac_func
13759
13760 /* System header to define __stub macros and hopefully few prototypes,
13761 which can conflict with char $ac_func (); below.
13762 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13763 <limits.h> exists even on freestanding compilers. */
13764
13765 #ifdef __STDC__
13766 # include <limits.h>
13767 #else
13768 # include <assert.h>
13769 #endif
13770
13771 #undef $ac_func
13772
13773 /* Override any gcc2 internal prototype to avoid an error. */
13774 #ifdef __cplusplus
13775 extern "C"
13776 {
13777 #endif
13778 /* We use char because int might match the return type of a gcc2
13779 builtin and then its argument prototype would still apply. */
13780 char $ac_func ();
13781 /* The GNU C library defines this for functions which it implements
13782 to always fail with ENOSYS. Some functions are actually named
13783 something starting with __ and the normal name is an alias. */
13784 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13785 choke me
13786 #else
13787 char (*f) () = $ac_func;
13788 #endif
13789 #ifdef __cplusplus
13790 }
13791 #endif
13792
13793 int
13794 main ()
13795 {
13796 return f != $ac_func;
13797 ;
13798 return 0;
13799 }
13800 _ACEOF
13801 rm -f conftest.$ac_objext conftest$ac_exeext
13802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13803 (eval $ac_link) 2>conftest.er1
13804 ac_status=$?
13805 grep -v '^ *+' conftest.er1 >conftest.err
13806 rm -f conftest.er1
13807 cat conftest.err >&5
13808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13809 (exit $ac_status); } &&
13810 { ac_try='test -z "$ac_c_werror_flag"
13811 || test ! -s conftest.err'
13812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13813 (eval $ac_try) 2>&5
13814 ac_status=$?
13815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13816 (exit $ac_status); }; } &&
13817 { ac_try='test -s conftest$ac_exeext'
13818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13819 (eval $ac_try) 2>&5
13820 ac_status=$?
13821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13822 (exit $ac_status); }; }; then
13823 eval "$as_ac_var=yes"
13824 else
13825 echo "$as_me: failed program was:" >&5
13826 sed 's/^/| /' conftest.$ac_ext >&5
13827
13828 eval "$as_ac_var=no"
13829 fi
13830 rm -f conftest.err conftest.$ac_objext \
13831 conftest$ac_exeext conftest.$ac_ext
13832 fi
13833 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13834 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13835 if test `eval echo '${'$as_ac_var'}'` = yes; then
13836 cat >>confdefs.h <<_ACEOF
13837 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13838 _ACEOF
13839
13840 fi
13841 done
13842
13843 fi
13844
13845
13846 for ac_header in langinfo.h
13847 do
13848 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13849 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13850 echo "$as_me:$LINENO: checking for $ac_header" >&5
13851 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13852 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13853 echo $ECHO_N "(cached) $ECHO_C" >&6
13854 fi
13855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13856 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13857 else
13858 # Is the header compilable?
13859 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13860 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13861 cat >conftest.$ac_ext <<_ACEOF
13862 /* confdefs.h. */
13863 _ACEOF
13864 cat confdefs.h >>conftest.$ac_ext
13865 cat >>conftest.$ac_ext <<_ACEOF
13866 /* end confdefs.h. */
13867 $ac_includes_default
13868 #include <$ac_header>
13869 _ACEOF
13870 rm -f conftest.$ac_objext
13871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13872 (eval $ac_compile) 2>conftest.er1
13873 ac_status=$?
13874 grep -v '^ *+' conftest.er1 >conftest.err
13875 rm -f conftest.er1
13876 cat conftest.err >&5
13877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13878 (exit $ac_status); } &&
13879 { ac_try='test -z "$ac_c_werror_flag"
13880 || test ! -s conftest.err'
13881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13882 (eval $ac_try) 2>&5
13883 ac_status=$?
13884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13885 (exit $ac_status); }; } &&
13886 { ac_try='test -s conftest.$ac_objext'
13887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13888 (eval $ac_try) 2>&5
13889 ac_status=$?
13890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13891 (exit $ac_status); }; }; then
13892 ac_header_compiler=yes
13893 else
13894 echo "$as_me: failed program was:" >&5
13895 sed 's/^/| /' conftest.$ac_ext >&5
13896
13897 ac_header_compiler=no
13898 fi
13899 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13900 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13901 echo "${ECHO_T}$ac_header_compiler" >&6
13902
13903 # Is the header present?
13904 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13905 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13906 cat >conftest.$ac_ext <<_ACEOF
13907 /* confdefs.h. */
13908 _ACEOF
13909 cat confdefs.h >>conftest.$ac_ext
13910 cat >>conftest.$ac_ext <<_ACEOF
13911 /* end confdefs.h. */
13912 #include <$ac_header>
13913 _ACEOF
13914 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13915 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13916 ac_status=$?
13917 grep -v '^ *+' conftest.er1 >conftest.err
13918 rm -f conftest.er1
13919 cat conftest.err >&5
13920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13921 (exit $ac_status); } >/dev/null; then
13922 if test -s conftest.err; then
13923 ac_cpp_err=$ac_c_preproc_warn_flag
13924 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13925 else
13926 ac_cpp_err=
13927 fi
13928 else
13929 ac_cpp_err=yes
13930 fi
13931 if test -z "$ac_cpp_err"; then
13932 ac_header_preproc=yes
13933 else
13934 echo "$as_me: failed program was:" >&5
13935 sed 's/^/| /' conftest.$ac_ext >&5
13936
13937 ac_header_preproc=no
13938 fi
13939 rm -f conftest.err conftest.$ac_ext
13940 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13941 echo "${ECHO_T}$ac_header_preproc" >&6
13942
13943 # So? What about this header?
13944 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13945 yes:no: )
13946 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13947 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13948 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13949 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13950 ac_header_preproc=yes
13951 ;;
13952 no:yes:* )
13953 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13954 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13955 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13956 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13957 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13958 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13959 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13960 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13961 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13962 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13963 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13964 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13965 (
13966 cat <<\_ASBOX
13967 ## ----------------------------------------- ##
13968 ## Report this to wx-dev@lists.wxwidgets.org ##
13969 ## ----------------------------------------- ##
13970 _ASBOX
13971 ) |
13972 sed "s/^/$as_me: WARNING: /" >&2
13973 ;;
13974 esac
13975 echo "$as_me:$LINENO: checking for $ac_header" >&5
13976 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13977 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13978 echo $ECHO_N "(cached) $ECHO_C" >&6
13979 else
13980 eval "$as_ac_Header=\$ac_header_preproc"
13981 fi
13982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13983 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13984
13985 fi
13986 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13987 cat >>confdefs.h <<_ACEOF
13988 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13989 _ACEOF
13990
13991 fi
13992
13993 done
13994
13995
13996 case "${host}" in
13997 *-pc-os2_emx | *-pc-os2-emx )
13998 if test $ac_cv_header_langinfo_h = "yes"; then
13999 LIBS="$LIBS -lintl"
14000 fi
14001 ;;
14002 esac
14003
14004 if test "$wxUSE_GUI" = "yes"; then
14005 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
14006
14007 for ac_header in X11/Xlib.h
14008 do
14009 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14010 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14011 echo "$as_me:$LINENO: checking for $ac_header" >&5
14012 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14013 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14014 echo $ECHO_N "(cached) $ECHO_C" >&6
14015 fi
14016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14017 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14018 else
14019 # Is the header compilable?
14020 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14021 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14022 cat >conftest.$ac_ext <<_ACEOF
14023 /* confdefs.h. */
14024 _ACEOF
14025 cat confdefs.h >>conftest.$ac_ext
14026 cat >>conftest.$ac_ext <<_ACEOF
14027 /* end confdefs.h. */
14028 $ac_includes_default
14029 #include <$ac_header>
14030 _ACEOF
14031 rm -f conftest.$ac_objext
14032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14033 (eval $ac_compile) 2>conftest.er1
14034 ac_status=$?
14035 grep -v '^ *+' conftest.er1 >conftest.err
14036 rm -f conftest.er1
14037 cat conftest.err >&5
14038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14039 (exit $ac_status); } &&
14040 { ac_try='test -z "$ac_c_werror_flag"
14041 || test ! -s conftest.err'
14042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14043 (eval $ac_try) 2>&5
14044 ac_status=$?
14045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14046 (exit $ac_status); }; } &&
14047 { ac_try='test -s conftest.$ac_objext'
14048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14049 (eval $ac_try) 2>&5
14050 ac_status=$?
14051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14052 (exit $ac_status); }; }; then
14053 ac_header_compiler=yes
14054 else
14055 echo "$as_me: failed program was:" >&5
14056 sed 's/^/| /' conftest.$ac_ext >&5
14057
14058 ac_header_compiler=no
14059 fi
14060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14061 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14062 echo "${ECHO_T}$ac_header_compiler" >&6
14063
14064 # Is the header present?
14065 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14066 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14067 cat >conftest.$ac_ext <<_ACEOF
14068 /* confdefs.h. */
14069 _ACEOF
14070 cat confdefs.h >>conftest.$ac_ext
14071 cat >>conftest.$ac_ext <<_ACEOF
14072 /* end confdefs.h. */
14073 #include <$ac_header>
14074 _ACEOF
14075 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14076 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14077 ac_status=$?
14078 grep -v '^ *+' conftest.er1 >conftest.err
14079 rm -f conftest.er1
14080 cat conftest.err >&5
14081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14082 (exit $ac_status); } >/dev/null; then
14083 if test -s conftest.err; then
14084 ac_cpp_err=$ac_c_preproc_warn_flag
14085 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14086 else
14087 ac_cpp_err=
14088 fi
14089 else
14090 ac_cpp_err=yes
14091 fi
14092 if test -z "$ac_cpp_err"; then
14093 ac_header_preproc=yes
14094 else
14095 echo "$as_me: failed program was:" >&5
14096 sed 's/^/| /' conftest.$ac_ext >&5
14097
14098 ac_header_preproc=no
14099 fi
14100 rm -f conftest.err conftest.$ac_ext
14101 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14102 echo "${ECHO_T}$ac_header_preproc" >&6
14103
14104 # So? What about this header?
14105 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14106 yes:no: )
14107 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14108 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14109 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14110 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14111 ac_header_preproc=yes
14112 ;;
14113 no:yes:* )
14114 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14115 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14116 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14117 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14118 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14119 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14120 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14121 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14122 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14123 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14124 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14125 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14126 (
14127 cat <<\_ASBOX
14128 ## ----------------------------------------- ##
14129 ## Report this to wx-dev@lists.wxwidgets.org ##
14130 ## ----------------------------------------- ##
14131 _ASBOX
14132 ) |
14133 sed "s/^/$as_me: WARNING: /" >&2
14134 ;;
14135 esac
14136 echo "$as_me:$LINENO: checking for $ac_header" >&5
14137 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14138 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14139 echo $ECHO_N "(cached) $ECHO_C" >&6
14140 else
14141 eval "$as_ac_Header=\$ac_header_preproc"
14142 fi
14143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14144 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14145
14146 fi
14147 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14148 cat >>confdefs.h <<_ACEOF
14149 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14150 _ACEOF
14151
14152 fi
14153
14154 done
14155
14156
14157 for ac_header in X11/XKBlib.h
14158 do
14159 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14160 echo "$as_me:$LINENO: checking for $ac_header" >&5
14161 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14162 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14163 echo $ECHO_N "(cached) $ECHO_C" >&6
14164 else
14165 cat >conftest.$ac_ext <<_ACEOF
14166 /* confdefs.h. */
14167 _ACEOF
14168 cat confdefs.h >>conftest.$ac_ext
14169 cat >>conftest.$ac_ext <<_ACEOF
14170 /* end confdefs.h. */
14171
14172 #if HAVE_X11_XLIB_H
14173 #include <X11/Xlib.h>
14174 #endif
14175
14176
14177 #include <$ac_header>
14178 _ACEOF
14179 rm -f conftest.$ac_objext
14180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14181 (eval $ac_compile) 2>conftest.er1
14182 ac_status=$?
14183 grep -v '^ *+' conftest.er1 >conftest.err
14184 rm -f conftest.er1
14185 cat conftest.err >&5
14186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14187 (exit $ac_status); } &&
14188 { ac_try='test -z "$ac_c_werror_flag"
14189 || test ! -s conftest.err'
14190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14191 (eval $ac_try) 2>&5
14192 ac_status=$?
14193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14194 (exit $ac_status); }; } &&
14195 { ac_try='test -s conftest.$ac_objext'
14196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14197 (eval $ac_try) 2>&5
14198 ac_status=$?
14199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14200 (exit $ac_status); }; }; then
14201 eval "$as_ac_Header=yes"
14202 else
14203 echo "$as_me: failed program was:" >&5
14204 sed 's/^/| /' conftest.$ac_ext >&5
14205
14206 eval "$as_ac_Header=no"
14207 fi
14208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14209 fi
14210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14211 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14212 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14213 cat >>confdefs.h <<_ACEOF
14214 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14215 _ACEOF
14216
14217 fi
14218
14219 done
14220
14221 fi
14222 fi
14223
14224
14225 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14226 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14227 if test "${ac_cv_c_const+set}" = set; then
14228 echo $ECHO_N "(cached) $ECHO_C" >&6
14229 else
14230 cat >conftest.$ac_ext <<_ACEOF
14231 /* confdefs.h. */
14232 _ACEOF
14233 cat confdefs.h >>conftest.$ac_ext
14234 cat >>conftest.$ac_ext <<_ACEOF
14235 /* end confdefs.h. */
14236
14237 int
14238 main ()
14239 {
14240 /* FIXME: Include the comments suggested by Paul. */
14241 #ifndef __cplusplus
14242 /* Ultrix mips cc rejects this. */
14243 typedef int charset[2];
14244 const charset x;
14245 /* SunOS 4.1.1 cc rejects this. */
14246 char const *const *ccp;
14247 char **p;
14248 /* NEC SVR4.0.2 mips cc rejects this. */
14249 struct point {int x, y;};
14250 static struct point const zero = {0,0};
14251 /* AIX XL C 1.02.0.0 rejects this.
14252 It does not let you subtract one const X* pointer from another in
14253 an arm of an if-expression whose if-part is not a constant
14254 expression */
14255 const char *g = "string";
14256 ccp = &g + (g ? g-g : 0);
14257 /* HPUX 7.0 cc rejects these. */
14258 ++ccp;
14259 p = (char**) ccp;
14260 ccp = (char const *const *) p;
14261 { /* SCO 3.2v4 cc rejects this. */
14262 char *t;
14263 char const *s = 0 ? (char *) 0 : (char const *) 0;
14264
14265 *t++ = 0;
14266 }
14267 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14268 int x[] = {25, 17};
14269 const int *foo = &x[0];
14270 ++foo;
14271 }
14272 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14273 typedef const int *iptr;
14274 iptr p = 0;
14275 ++p;
14276 }
14277 { /* AIX XL C 1.02.0.0 rejects this saying
14278 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14279 struct s { int j; const int *ap[3]; };
14280 struct s *b; b->j = 5;
14281 }
14282 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14283 const int foo = 10;
14284 }
14285 #endif
14286
14287 ;
14288 return 0;
14289 }
14290 _ACEOF
14291 rm -f conftest.$ac_objext
14292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14293 (eval $ac_compile) 2>conftest.er1
14294 ac_status=$?
14295 grep -v '^ *+' conftest.er1 >conftest.err
14296 rm -f conftest.er1
14297 cat conftest.err >&5
14298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14299 (exit $ac_status); } &&
14300 { ac_try='test -z "$ac_c_werror_flag"
14301 || test ! -s conftest.err'
14302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14303 (eval $ac_try) 2>&5
14304 ac_status=$?
14305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14306 (exit $ac_status); }; } &&
14307 { ac_try='test -s conftest.$ac_objext'
14308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14309 (eval $ac_try) 2>&5
14310 ac_status=$?
14311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14312 (exit $ac_status); }; }; then
14313 ac_cv_c_const=yes
14314 else
14315 echo "$as_me: failed program was:" >&5
14316 sed 's/^/| /' conftest.$ac_ext >&5
14317
14318 ac_cv_c_const=no
14319 fi
14320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14321 fi
14322 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14323 echo "${ECHO_T}$ac_cv_c_const" >&6
14324 if test $ac_cv_c_const = no; then
14325
14326 cat >>confdefs.h <<\_ACEOF
14327 #define const
14328 _ACEOF
14329
14330 fi
14331
14332 echo "$as_me:$LINENO: checking for inline" >&5
14333 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14334 if test "${ac_cv_c_inline+set}" = set; then
14335 echo $ECHO_N "(cached) $ECHO_C" >&6
14336 else
14337 ac_cv_c_inline=no
14338 for ac_kw in inline __inline__ __inline; do
14339 cat >conftest.$ac_ext <<_ACEOF
14340 /* confdefs.h. */
14341 _ACEOF
14342 cat confdefs.h >>conftest.$ac_ext
14343 cat >>conftest.$ac_ext <<_ACEOF
14344 /* end confdefs.h. */
14345 #ifndef __cplusplus
14346 typedef int foo_t;
14347 static $ac_kw foo_t static_foo () {return 0; }
14348 $ac_kw foo_t foo () {return 0; }
14349 #endif
14350
14351 _ACEOF
14352 rm -f conftest.$ac_objext
14353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14354 (eval $ac_compile) 2>conftest.er1
14355 ac_status=$?
14356 grep -v '^ *+' conftest.er1 >conftest.err
14357 rm -f conftest.er1
14358 cat conftest.err >&5
14359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14360 (exit $ac_status); } &&
14361 { ac_try='test -z "$ac_c_werror_flag"
14362 || test ! -s conftest.err'
14363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14364 (eval $ac_try) 2>&5
14365 ac_status=$?
14366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14367 (exit $ac_status); }; } &&
14368 { ac_try='test -s conftest.$ac_objext'
14369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14370 (eval $ac_try) 2>&5
14371 ac_status=$?
14372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14373 (exit $ac_status); }; }; then
14374 ac_cv_c_inline=$ac_kw; break
14375 else
14376 echo "$as_me: failed program was:" >&5
14377 sed 's/^/| /' conftest.$ac_ext >&5
14378
14379 fi
14380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14381 done
14382
14383 fi
14384 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14385 echo "${ECHO_T}$ac_cv_c_inline" >&6
14386
14387
14388 case $ac_cv_c_inline in
14389 inline | yes) ;;
14390 *)
14391 case $ac_cv_c_inline in
14392 no) ac_val=;;
14393 *) ac_val=$ac_cv_c_inline;;
14394 esac
14395 cat >>confdefs.h <<_ACEOF
14396 #ifndef __cplusplus
14397 #define inline $ac_val
14398 #endif
14399 _ACEOF
14400 ;;
14401 esac
14402
14403
14404 echo "$as_me:$LINENO: checking for char" >&5
14405 echo $ECHO_N "checking for char... $ECHO_C" >&6
14406 if test "${ac_cv_type_char+set}" = set; then
14407 echo $ECHO_N "(cached) $ECHO_C" >&6
14408 else
14409 cat >conftest.$ac_ext <<_ACEOF
14410 /* confdefs.h. */
14411 _ACEOF
14412 cat confdefs.h >>conftest.$ac_ext
14413 cat >>conftest.$ac_ext <<_ACEOF
14414 /* end confdefs.h. */
14415 $ac_includes_default
14416 int
14417 main ()
14418 {
14419 if ((char *) 0)
14420 return 0;
14421 if (sizeof (char))
14422 return 0;
14423 ;
14424 return 0;
14425 }
14426 _ACEOF
14427 rm -f conftest.$ac_objext
14428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14429 (eval $ac_compile) 2>conftest.er1
14430 ac_status=$?
14431 grep -v '^ *+' conftest.er1 >conftest.err
14432 rm -f conftest.er1
14433 cat conftest.err >&5
14434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14435 (exit $ac_status); } &&
14436 { ac_try='test -z "$ac_c_werror_flag"
14437 || test ! -s conftest.err'
14438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14439 (eval $ac_try) 2>&5
14440 ac_status=$?
14441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14442 (exit $ac_status); }; } &&
14443 { ac_try='test -s conftest.$ac_objext'
14444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14445 (eval $ac_try) 2>&5
14446 ac_status=$?
14447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14448 (exit $ac_status); }; }; then
14449 ac_cv_type_char=yes
14450 else
14451 echo "$as_me: failed program was:" >&5
14452 sed 's/^/| /' conftest.$ac_ext >&5
14453
14454 ac_cv_type_char=no
14455 fi
14456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14457 fi
14458 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14459 echo "${ECHO_T}$ac_cv_type_char" >&6
14460
14461 echo "$as_me:$LINENO: checking size of char" >&5
14462 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14463 if test "${ac_cv_sizeof_char+set}" = set; then
14464 echo $ECHO_N "(cached) $ECHO_C" >&6
14465 else
14466 if test "$ac_cv_type_char" = yes; then
14467 # The cast to unsigned long works around a bug in the HP C Compiler
14468 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14469 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14470 # This bug is HP SR number 8606223364.
14471 if test "$cross_compiling" = yes; then
14472 # Depending upon the size, compute the lo and hi bounds.
14473 cat >conftest.$ac_ext <<_ACEOF
14474 /* confdefs.h. */
14475 _ACEOF
14476 cat confdefs.h >>conftest.$ac_ext
14477 cat >>conftest.$ac_ext <<_ACEOF
14478 /* end confdefs.h. */
14479 $ac_includes_default
14480 int
14481 main ()
14482 {
14483 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14484 test_array [0] = 0
14485
14486 ;
14487 return 0;
14488 }
14489 _ACEOF
14490 rm -f conftest.$ac_objext
14491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14492 (eval $ac_compile) 2>conftest.er1
14493 ac_status=$?
14494 grep -v '^ *+' conftest.er1 >conftest.err
14495 rm -f conftest.er1
14496 cat conftest.err >&5
14497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14498 (exit $ac_status); } &&
14499 { ac_try='test -z "$ac_c_werror_flag"
14500 || test ! -s conftest.err'
14501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14502 (eval $ac_try) 2>&5
14503 ac_status=$?
14504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14505 (exit $ac_status); }; } &&
14506 { ac_try='test -s conftest.$ac_objext'
14507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14508 (eval $ac_try) 2>&5
14509 ac_status=$?
14510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14511 (exit $ac_status); }; }; then
14512 ac_lo=0 ac_mid=0
14513 while :; do
14514 cat >conftest.$ac_ext <<_ACEOF
14515 /* confdefs.h. */
14516 _ACEOF
14517 cat confdefs.h >>conftest.$ac_ext
14518 cat >>conftest.$ac_ext <<_ACEOF
14519 /* end confdefs.h. */
14520 $ac_includes_default
14521 int
14522 main ()
14523 {
14524 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14525 test_array [0] = 0
14526
14527 ;
14528 return 0;
14529 }
14530 _ACEOF
14531 rm -f conftest.$ac_objext
14532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14533 (eval $ac_compile) 2>conftest.er1
14534 ac_status=$?
14535 grep -v '^ *+' conftest.er1 >conftest.err
14536 rm -f conftest.er1
14537 cat conftest.err >&5
14538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14539 (exit $ac_status); } &&
14540 { ac_try='test -z "$ac_c_werror_flag"
14541 || test ! -s conftest.err'
14542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14543 (eval $ac_try) 2>&5
14544 ac_status=$?
14545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14546 (exit $ac_status); }; } &&
14547 { ac_try='test -s conftest.$ac_objext'
14548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14549 (eval $ac_try) 2>&5
14550 ac_status=$?
14551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14552 (exit $ac_status); }; }; then
14553 ac_hi=$ac_mid; break
14554 else
14555 echo "$as_me: failed program was:" >&5
14556 sed 's/^/| /' conftest.$ac_ext >&5
14557
14558 ac_lo=`expr $ac_mid + 1`
14559 if test $ac_lo -le $ac_mid; then
14560 ac_lo= ac_hi=
14561 break
14562 fi
14563 ac_mid=`expr 2 '*' $ac_mid + 1`
14564 fi
14565 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14566 done
14567 else
14568 echo "$as_me: failed program was:" >&5
14569 sed 's/^/| /' conftest.$ac_ext >&5
14570
14571 cat >conftest.$ac_ext <<_ACEOF
14572 /* confdefs.h. */
14573 _ACEOF
14574 cat confdefs.h >>conftest.$ac_ext
14575 cat >>conftest.$ac_ext <<_ACEOF
14576 /* end confdefs.h. */
14577 $ac_includes_default
14578 int
14579 main ()
14580 {
14581 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14582 test_array [0] = 0
14583
14584 ;
14585 return 0;
14586 }
14587 _ACEOF
14588 rm -f conftest.$ac_objext
14589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14590 (eval $ac_compile) 2>conftest.er1
14591 ac_status=$?
14592 grep -v '^ *+' conftest.er1 >conftest.err
14593 rm -f conftest.er1
14594 cat conftest.err >&5
14595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14596 (exit $ac_status); } &&
14597 { ac_try='test -z "$ac_c_werror_flag"
14598 || test ! -s conftest.err'
14599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14600 (eval $ac_try) 2>&5
14601 ac_status=$?
14602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14603 (exit $ac_status); }; } &&
14604 { ac_try='test -s conftest.$ac_objext'
14605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14606 (eval $ac_try) 2>&5
14607 ac_status=$?
14608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14609 (exit $ac_status); }; }; then
14610 ac_hi=-1 ac_mid=-1
14611 while :; do
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 $ac_includes_default
14619 int
14620 main ()
14621 {
14622 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14623 test_array [0] = 0
14624
14625 ;
14626 return 0;
14627 }
14628 _ACEOF
14629 rm -f conftest.$ac_objext
14630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14631 (eval $ac_compile) 2>conftest.er1
14632 ac_status=$?
14633 grep -v '^ *+' conftest.er1 >conftest.err
14634 rm -f conftest.er1
14635 cat conftest.err >&5
14636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14637 (exit $ac_status); } &&
14638 { ac_try='test -z "$ac_c_werror_flag"
14639 || test ! -s conftest.err'
14640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14641 (eval $ac_try) 2>&5
14642 ac_status=$?
14643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14644 (exit $ac_status); }; } &&
14645 { ac_try='test -s conftest.$ac_objext'
14646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14647 (eval $ac_try) 2>&5
14648 ac_status=$?
14649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14650 (exit $ac_status); }; }; then
14651 ac_lo=$ac_mid; break
14652 else
14653 echo "$as_me: failed program was:" >&5
14654 sed 's/^/| /' conftest.$ac_ext >&5
14655
14656 ac_hi=`expr '(' $ac_mid ')' - 1`
14657 if test $ac_mid -le $ac_hi; then
14658 ac_lo= ac_hi=
14659 break
14660 fi
14661 ac_mid=`expr 2 '*' $ac_mid`
14662 fi
14663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14664 done
14665 else
14666 echo "$as_me: failed program was:" >&5
14667 sed 's/^/| /' conftest.$ac_ext >&5
14668
14669 ac_lo= ac_hi=
14670 fi
14671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14672 fi
14673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14674 # Binary search between lo and hi bounds.
14675 while test "x$ac_lo" != "x$ac_hi"; do
14676 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14677 cat >conftest.$ac_ext <<_ACEOF
14678 /* confdefs.h. */
14679 _ACEOF
14680 cat confdefs.h >>conftest.$ac_ext
14681 cat >>conftest.$ac_ext <<_ACEOF
14682 /* end confdefs.h. */
14683 $ac_includes_default
14684 int
14685 main ()
14686 {
14687 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14688 test_array [0] = 0
14689
14690 ;
14691 return 0;
14692 }
14693 _ACEOF
14694 rm -f conftest.$ac_objext
14695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14696 (eval $ac_compile) 2>conftest.er1
14697 ac_status=$?
14698 grep -v '^ *+' conftest.er1 >conftest.err
14699 rm -f conftest.er1
14700 cat conftest.err >&5
14701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14702 (exit $ac_status); } &&
14703 { ac_try='test -z "$ac_c_werror_flag"
14704 || test ! -s conftest.err'
14705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14706 (eval $ac_try) 2>&5
14707 ac_status=$?
14708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14709 (exit $ac_status); }; } &&
14710 { ac_try='test -s conftest.$ac_objext'
14711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14712 (eval $ac_try) 2>&5
14713 ac_status=$?
14714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14715 (exit $ac_status); }; }; then
14716 ac_hi=$ac_mid
14717 else
14718 echo "$as_me: failed program was:" >&5
14719 sed 's/^/| /' conftest.$ac_ext >&5
14720
14721 ac_lo=`expr '(' $ac_mid ')' + 1`
14722 fi
14723 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14724 done
14725 case $ac_lo in
14726 ?*) ac_cv_sizeof_char=$ac_lo;;
14727 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14728 See \`config.log' for more details." >&5
14729 echo "$as_me: error: cannot compute sizeof (char), 77
14730 See \`config.log' for more details." >&2;}
14731 { (exit 1); exit 1; }; } ;;
14732 esac
14733 else
14734 if test "$cross_compiling" = yes; then
14735 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14736 See \`config.log' for more details." >&5
14737 echo "$as_me: error: cannot run test program while cross compiling
14738 See \`config.log' for more details." >&2;}
14739 { (exit 1); exit 1; }; }
14740 else
14741 cat >conftest.$ac_ext <<_ACEOF
14742 /* confdefs.h. */
14743 _ACEOF
14744 cat confdefs.h >>conftest.$ac_ext
14745 cat >>conftest.$ac_ext <<_ACEOF
14746 /* end confdefs.h. */
14747 $ac_includes_default
14748 long longval () { return (long) (sizeof (char)); }
14749 unsigned long ulongval () { return (long) (sizeof (char)); }
14750 #include <stdio.h>
14751 #include <stdlib.h>
14752 int
14753 main ()
14754 {
14755
14756 FILE *f = fopen ("conftest.val", "w");
14757 if (! f)
14758 exit (1);
14759 if (((long) (sizeof (char))) < 0)
14760 {
14761 long i = longval ();
14762 if (i != ((long) (sizeof (char))))
14763 exit (1);
14764 fprintf (f, "%ld\n", i);
14765 }
14766 else
14767 {
14768 unsigned long i = ulongval ();
14769 if (i != ((long) (sizeof (char))))
14770 exit (1);
14771 fprintf (f, "%lu\n", i);
14772 }
14773 exit (ferror (f) || fclose (f) != 0);
14774
14775 ;
14776 return 0;
14777 }
14778 _ACEOF
14779 rm -f conftest$ac_exeext
14780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14781 (eval $ac_link) 2>&5
14782 ac_status=$?
14783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14784 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14786 (eval $ac_try) 2>&5
14787 ac_status=$?
14788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14789 (exit $ac_status); }; }; then
14790 ac_cv_sizeof_char=`cat conftest.val`
14791 else
14792 echo "$as_me: program exited with status $ac_status" >&5
14793 echo "$as_me: failed program was:" >&5
14794 sed 's/^/| /' conftest.$ac_ext >&5
14795
14796 ( exit $ac_status )
14797 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14798 See \`config.log' for more details." >&5
14799 echo "$as_me: error: cannot compute sizeof (char), 77
14800 See \`config.log' for more details." >&2;}
14801 { (exit 1); exit 1; }; }
14802 fi
14803 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14804 fi
14805 fi
14806 rm -f conftest.val
14807 else
14808 ac_cv_sizeof_char=0
14809 fi
14810 fi
14811 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14812 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14813 cat >>confdefs.h <<_ACEOF
14814 #define SIZEOF_CHAR $ac_cv_sizeof_char
14815 _ACEOF
14816
14817
14818 echo "$as_me:$LINENO: checking for short" >&5
14819 echo $ECHO_N "checking for short... $ECHO_C" >&6
14820 if test "${ac_cv_type_short+set}" = set; then
14821 echo $ECHO_N "(cached) $ECHO_C" >&6
14822 else
14823 cat >conftest.$ac_ext <<_ACEOF
14824 /* confdefs.h. */
14825 _ACEOF
14826 cat confdefs.h >>conftest.$ac_ext
14827 cat >>conftest.$ac_ext <<_ACEOF
14828 /* end confdefs.h. */
14829 $ac_includes_default
14830 int
14831 main ()
14832 {
14833 if ((short *) 0)
14834 return 0;
14835 if (sizeof (short))
14836 return 0;
14837 ;
14838 return 0;
14839 }
14840 _ACEOF
14841 rm -f conftest.$ac_objext
14842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14843 (eval $ac_compile) 2>conftest.er1
14844 ac_status=$?
14845 grep -v '^ *+' conftest.er1 >conftest.err
14846 rm -f conftest.er1
14847 cat conftest.err >&5
14848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14849 (exit $ac_status); } &&
14850 { ac_try='test -z "$ac_c_werror_flag"
14851 || test ! -s conftest.err'
14852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14853 (eval $ac_try) 2>&5
14854 ac_status=$?
14855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14856 (exit $ac_status); }; } &&
14857 { ac_try='test -s conftest.$ac_objext'
14858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14859 (eval $ac_try) 2>&5
14860 ac_status=$?
14861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14862 (exit $ac_status); }; }; then
14863 ac_cv_type_short=yes
14864 else
14865 echo "$as_me: failed program was:" >&5
14866 sed 's/^/| /' conftest.$ac_ext >&5
14867
14868 ac_cv_type_short=no
14869 fi
14870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14871 fi
14872 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14873 echo "${ECHO_T}$ac_cv_type_short" >&6
14874
14875 echo "$as_me:$LINENO: checking size of short" >&5
14876 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14877 if test "${ac_cv_sizeof_short+set}" = set; then
14878 echo $ECHO_N "(cached) $ECHO_C" >&6
14879 else
14880 if test "$ac_cv_type_short" = yes; then
14881 # The cast to unsigned long works around a bug in the HP C Compiler
14882 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14883 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14884 # This bug is HP SR number 8606223364.
14885 if test "$cross_compiling" = yes; then
14886 # Depending upon the size, compute the lo and hi bounds.
14887 cat >conftest.$ac_ext <<_ACEOF
14888 /* confdefs.h. */
14889 _ACEOF
14890 cat confdefs.h >>conftest.$ac_ext
14891 cat >>conftest.$ac_ext <<_ACEOF
14892 /* end confdefs.h. */
14893 $ac_includes_default
14894 int
14895 main ()
14896 {
14897 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14898 test_array [0] = 0
14899
14900 ;
14901 return 0;
14902 }
14903 _ACEOF
14904 rm -f conftest.$ac_objext
14905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14906 (eval $ac_compile) 2>conftest.er1
14907 ac_status=$?
14908 grep -v '^ *+' conftest.er1 >conftest.err
14909 rm -f conftest.er1
14910 cat conftest.err >&5
14911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14912 (exit $ac_status); } &&
14913 { ac_try='test -z "$ac_c_werror_flag"
14914 || test ! -s conftest.err'
14915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14916 (eval $ac_try) 2>&5
14917 ac_status=$?
14918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14919 (exit $ac_status); }; } &&
14920 { ac_try='test -s conftest.$ac_objext'
14921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14922 (eval $ac_try) 2>&5
14923 ac_status=$?
14924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14925 (exit $ac_status); }; }; then
14926 ac_lo=0 ac_mid=0
14927 while :; do
14928 cat >conftest.$ac_ext <<_ACEOF
14929 /* confdefs.h. */
14930 _ACEOF
14931 cat confdefs.h >>conftest.$ac_ext
14932 cat >>conftest.$ac_ext <<_ACEOF
14933 /* end confdefs.h. */
14934 $ac_includes_default
14935 int
14936 main ()
14937 {
14938 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14939 test_array [0] = 0
14940
14941 ;
14942 return 0;
14943 }
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"
14955 || test ! -s conftest.err'
14956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14957 (eval $ac_try) 2>&5
14958 ac_status=$?
14959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14960 (exit $ac_status); }; } &&
14961 { ac_try='test -s conftest.$ac_objext'
14962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14963 (eval $ac_try) 2>&5
14964 ac_status=$?
14965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14966 (exit $ac_status); }; }; then
14967 ac_hi=$ac_mid; break
14968 else
14969 echo "$as_me: failed program was:" >&5
14970 sed 's/^/| /' conftest.$ac_ext >&5
14971
14972 ac_lo=`expr $ac_mid + 1`
14973 if test $ac_lo -le $ac_mid; then
14974 ac_lo= ac_hi=
14975 break
14976 fi
14977 ac_mid=`expr 2 '*' $ac_mid + 1`
14978 fi
14979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14980 done
14981 else
14982 echo "$as_me: failed program was:" >&5
14983 sed 's/^/| /' conftest.$ac_ext >&5
14984
14985 cat >conftest.$ac_ext <<_ACEOF
14986 /* confdefs.h. */
14987 _ACEOF
14988 cat confdefs.h >>conftest.$ac_ext
14989 cat >>conftest.$ac_ext <<_ACEOF
14990 /* end confdefs.h. */
14991 $ac_includes_default
14992 int
14993 main ()
14994 {
14995 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14996 test_array [0] = 0
14997
14998 ;
14999 return 0;
15000 }
15001 _ACEOF
15002 rm -f conftest.$ac_objext
15003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15004 (eval $ac_compile) 2>conftest.er1
15005 ac_status=$?
15006 grep -v '^ *+' conftest.er1 >conftest.err
15007 rm -f conftest.er1
15008 cat conftest.err >&5
15009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15010 (exit $ac_status); } &&
15011 { ac_try='test -z "$ac_c_werror_flag"
15012 || test ! -s conftest.err'
15013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15014 (eval $ac_try) 2>&5
15015 ac_status=$?
15016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15017 (exit $ac_status); }; } &&
15018 { ac_try='test -s conftest.$ac_objext'
15019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15020 (eval $ac_try) 2>&5
15021 ac_status=$?
15022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15023 (exit $ac_status); }; }; then
15024 ac_hi=-1 ac_mid=-1
15025 while :; do
15026 cat >conftest.$ac_ext <<_ACEOF
15027 /* confdefs.h. */
15028 _ACEOF
15029 cat confdefs.h >>conftest.$ac_ext
15030 cat >>conftest.$ac_ext <<_ACEOF
15031 /* end confdefs.h. */
15032 $ac_includes_default
15033 int
15034 main ()
15035 {
15036 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
15037 test_array [0] = 0
15038
15039 ;
15040 return 0;
15041 }
15042 _ACEOF
15043 rm -f conftest.$ac_objext
15044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15045 (eval $ac_compile) 2>conftest.er1
15046 ac_status=$?
15047 grep -v '^ *+' conftest.er1 >conftest.err
15048 rm -f conftest.er1
15049 cat conftest.err >&5
15050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15051 (exit $ac_status); } &&
15052 { ac_try='test -z "$ac_c_werror_flag"
15053 || test ! -s conftest.err'
15054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15055 (eval $ac_try) 2>&5
15056 ac_status=$?
15057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15058 (exit $ac_status); }; } &&
15059 { ac_try='test -s conftest.$ac_objext'
15060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15061 (eval $ac_try) 2>&5
15062 ac_status=$?
15063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15064 (exit $ac_status); }; }; then
15065 ac_lo=$ac_mid; break
15066 else
15067 echo "$as_me: failed program was:" >&5
15068 sed 's/^/| /' conftest.$ac_ext >&5
15069
15070 ac_hi=`expr '(' $ac_mid ')' - 1`
15071 if test $ac_mid -le $ac_hi; then
15072 ac_lo= ac_hi=
15073 break
15074 fi
15075 ac_mid=`expr 2 '*' $ac_mid`
15076 fi
15077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15078 done
15079 else
15080 echo "$as_me: failed program was:" >&5
15081 sed 's/^/| /' conftest.$ac_ext >&5
15082
15083 ac_lo= ac_hi=
15084 fi
15085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15086 fi
15087 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15088 # Binary search between lo and hi bounds.
15089 while test "x$ac_lo" != "x$ac_hi"; do
15090 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15091 cat >conftest.$ac_ext <<_ACEOF
15092 /* confdefs.h. */
15093 _ACEOF
15094 cat confdefs.h >>conftest.$ac_ext
15095 cat >>conftest.$ac_ext <<_ACEOF
15096 /* end confdefs.h. */
15097 $ac_includes_default
15098 int
15099 main ()
15100 {
15101 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15102 test_array [0] = 0
15103
15104 ;
15105 return 0;
15106 }
15107 _ACEOF
15108 rm -f conftest.$ac_objext
15109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15110 (eval $ac_compile) 2>conftest.er1
15111 ac_status=$?
15112 grep -v '^ *+' conftest.er1 >conftest.err
15113 rm -f conftest.er1
15114 cat conftest.err >&5
15115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15116 (exit $ac_status); } &&
15117 { ac_try='test -z "$ac_c_werror_flag"
15118 || test ! -s conftest.err'
15119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15120 (eval $ac_try) 2>&5
15121 ac_status=$?
15122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15123 (exit $ac_status); }; } &&
15124 { ac_try='test -s conftest.$ac_objext'
15125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15126 (eval $ac_try) 2>&5
15127 ac_status=$?
15128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15129 (exit $ac_status); }; }; then
15130 ac_hi=$ac_mid
15131 else
15132 echo "$as_me: failed program was:" >&5
15133 sed 's/^/| /' conftest.$ac_ext >&5
15134
15135 ac_lo=`expr '(' $ac_mid ')' + 1`
15136 fi
15137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15138 done
15139 case $ac_lo in
15140 ?*) ac_cv_sizeof_short=$ac_lo;;
15141 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15142 See \`config.log' for more details." >&5
15143 echo "$as_me: error: cannot compute sizeof (short), 77
15144 See \`config.log' for more details." >&2;}
15145 { (exit 1); exit 1; }; } ;;
15146 esac
15147 else
15148 if test "$cross_compiling" = yes; then
15149 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15150 See \`config.log' for more details." >&5
15151 echo "$as_me: error: cannot run test program while cross compiling
15152 See \`config.log' for more details." >&2;}
15153 { (exit 1); exit 1; }; }
15154 else
15155 cat >conftest.$ac_ext <<_ACEOF
15156 /* confdefs.h. */
15157 _ACEOF
15158 cat confdefs.h >>conftest.$ac_ext
15159 cat >>conftest.$ac_ext <<_ACEOF
15160 /* end confdefs.h. */
15161 $ac_includes_default
15162 long longval () { return (long) (sizeof (short)); }
15163 unsigned long ulongval () { return (long) (sizeof (short)); }
15164 #include <stdio.h>
15165 #include <stdlib.h>
15166 int
15167 main ()
15168 {
15169
15170 FILE *f = fopen ("conftest.val", "w");
15171 if (! f)
15172 exit (1);
15173 if (((long) (sizeof (short))) < 0)
15174 {
15175 long i = longval ();
15176 if (i != ((long) (sizeof (short))))
15177 exit (1);
15178 fprintf (f, "%ld\n", i);
15179 }
15180 else
15181 {
15182 unsigned long i = ulongval ();
15183 if (i != ((long) (sizeof (short))))
15184 exit (1);
15185 fprintf (f, "%lu\n", i);
15186 }
15187 exit (ferror (f) || fclose (f) != 0);
15188
15189 ;
15190 return 0;
15191 }
15192 _ACEOF
15193 rm -f conftest$ac_exeext
15194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15195 (eval $ac_link) 2>&5
15196 ac_status=$?
15197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15198 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15200 (eval $ac_try) 2>&5
15201 ac_status=$?
15202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15203 (exit $ac_status); }; }; then
15204 ac_cv_sizeof_short=`cat conftest.val`
15205 else
15206 echo "$as_me: program exited with status $ac_status" >&5
15207 echo "$as_me: failed program was:" >&5
15208 sed 's/^/| /' conftest.$ac_ext >&5
15209
15210 ( exit $ac_status )
15211 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15212 See \`config.log' for more details." >&5
15213 echo "$as_me: error: cannot compute sizeof (short), 77
15214 See \`config.log' for more details." >&2;}
15215 { (exit 1); exit 1; }; }
15216 fi
15217 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15218 fi
15219 fi
15220 rm -f conftest.val
15221 else
15222 ac_cv_sizeof_short=0
15223 fi
15224 fi
15225 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15226 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15227 cat >>confdefs.h <<_ACEOF
15228 #define SIZEOF_SHORT $ac_cv_sizeof_short
15229 _ACEOF
15230
15231
15232 echo "$as_me:$LINENO: checking for void *" >&5
15233 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15234 if test "${ac_cv_type_void_p+set}" = set; then
15235 echo $ECHO_N "(cached) $ECHO_C" >&6
15236 else
15237 cat >conftest.$ac_ext <<_ACEOF
15238 /* confdefs.h. */
15239 _ACEOF
15240 cat confdefs.h >>conftest.$ac_ext
15241 cat >>conftest.$ac_ext <<_ACEOF
15242 /* end confdefs.h. */
15243 $ac_includes_default
15244 int
15245 main ()
15246 {
15247 if ((void * *) 0)
15248 return 0;
15249 if (sizeof (void *))
15250 return 0;
15251 ;
15252 return 0;
15253 }
15254 _ACEOF
15255 rm -f conftest.$ac_objext
15256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15257 (eval $ac_compile) 2>conftest.er1
15258 ac_status=$?
15259 grep -v '^ *+' conftest.er1 >conftest.err
15260 rm -f conftest.er1
15261 cat conftest.err >&5
15262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15263 (exit $ac_status); } &&
15264 { ac_try='test -z "$ac_c_werror_flag"
15265 || test ! -s conftest.err'
15266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15267 (eval $ac_try) 2>&5
15268 ac_status=$?
15269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15270 (exit $ac_status); }; } &&
15271 { ac_try='test -s conftest.$ac_objext'
15272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15273 (eval $ac_try) 2>&5
15274 ac_status=$?
15275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15276 (exit $ac_status); }; }; then
15277 ac_cv_type_void_p=yes
15278 else
15279 echo "$as_me: failed program was:" >&5
15280 sed 's/^/| /' conftest.$ac_ext >&5
15281
15282 ac_cv_type_void_p=no
15283 fi
15284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15285 fi
15286 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15287 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15288
15289 echo "$as_me:$LINENO: checking size of void *" >&5
15290 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15291 if test "${ac_cv_sizeof_void_p+set}" = set; then
15292 echo $ECHO_N "(cached) $ECHO_C" >&6
15293 else
15294 if test "$ac_cv_type_void_p" = yes; then
15295 # The cast to unsigned long works around a bug in the HP C Compiler
15296 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15297 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15298 # This bug is HP SR number 8606223364.
15299 if test "$cross_compiling" = yes; then
15300 # Depending upon the size, compute the lo and hi bounds.
15301 cat >conftest.$ac_ext <<_ACEOF
15302 /* confdefs.h. */
15303 _ACEOF
15304 cat confdefs.h >>conftest.$ac_ext
15305 cat >>conftest.$ac_ext <<_ACEOF
15306 /* end confdefs.h. */
15307 $ac_includes_default
15308 int
15309 main ()
15310 {
15311 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15312 test_array [0] = 0
15313
15314 ;
15315 return 0;
15316 }
15317 _ACEOF
15318 rm -f conftest.$ac_objext
15319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15320 (eval $ac_compile) 2>conftest.er1
15321 ac_status=$?
15322 grep -v '^ *+' conftest.er1 >conftest.err
15323 rm -f conftest.er1
15324 cat conftest.err >&5
15325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15326 (exit $ac_status); } &&
15327 { ac_try='test -z "$ac_c_werror_flag"
15328 || test ! -s conftest.err'
15329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15330 (eval $ac_try) 2>&5
15331 ac_status=$?
15332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15333 (exit $ac_status); }; } &&
15334 { ac_try='test -s conftest.$ac_objext'
15335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15336 (eval $ac_try) 2>&5
15337 ac_status=$?
15338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15339 (exit $ac_status); }; }; then
15340 ac_lo=0 ac_mid=0
15341 while :; do
15342 cat >conftest.$ac_ext <<_ACEOF
15343 /* confdefs.h. */
15344 _ACEOF
15345 cat confdefs.h >>conftest.$ac_ext
15346 cat >>conftest.$ac_ext <<_ACEOF
15347 /* end confdefs.h. */
15348 $ac_includes_default
15349 int
15350 main ()
15351 {
15352 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15353 test_array [0] = 0
15354
15355 ;
15356 return 0;
15357 }
15358 _ACEOF
15359 rm -f conftest.$ac_objext
15360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15361 (eval $ac_compile) 2>conftest.er1
15362 ac_status=$?
15363 grep -v '^ *+' conftest.er1 >conftest.err
15364 rm -f conftest.er1
15365 cat conftest.err >&5
15366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15367 (exit $ac_status); } &&
15368 { ac_try='test -z "$ac_c_werror_flag"
15369 || test ! -s conftest.err'
15370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15371 (eval $ac_try) 2>&5
15372 ac_status=$?
15373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15374 (exit $ac_status); }; } &&
15375 { ac_try='test -s conftest.$ac_objext'
15376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15377 (eval $ac_try) 2>&5
15378 ac_status=$?
15379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15380 (exit $ac_status); }; }; then
15381 ac_hi=$ac_mid; break
15382 else
15383 echo "$as_me: failed program was:" >&5
15384 sed 's/^/| /' conftest.$ac_ext >&5
15385
15386 ac_lo=`expr $ac_mid + 1`
15387 if test $ac_lo -le $ac_mid; then
15388 ac_lo= ac_hi=
15389 break
15390 fi
15391 ac_mid=`expr 2 '*' $ac_mid + 1`
15392 fi
15393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15394 done
15395 else
15396 echo "$as_me: failed program was:" >&5
15397 sed 's/^/| /' conftest.$ac_ext >&5
15398
15399 cat >conftest.$ac_ext <<_ACEOF
15400 /* confdefs.h. */
15401 _ACEOF
15402 cat confdefs.h >>conftest.$ac_ext
15403 cat >>conftest.$ac_ext <<_ACEOF
15404 /* end confdefs.h. */
15405 $ac_includes_default
15406 int
15407 main ()
15408 {
15409 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15410 test_array [0] = 0
15411
15412 ;
15413 return 0;
15414 }
15415 _ACEOF
15416 rm -f conftest.$ac_objext
15417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15418 (eval $ac_compile) 2>conftest.er1
15419 ac_status=$?
15420 grep -v '^ *+' conftest.er1 >conftest.err
15421 rm -f conftest.er1
15422 cat conftest.err >&5
15423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15424 (exit $ac_status); } &&
15425 { ac_try='test -z "$ac_c_werror_flag"
15426 || test ! -s conftest.err'
15427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15428 (eval $ac_try) 2>&5
15429 ac_status=$?
15430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15431 (exit $ac_status); }; } &&
15432 { ac_try='test -s conftest.$ac_objext'
15433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15434 (eval $ac_try) 2>&5
15435 ac_status=$?
15436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15437 (exit $ac_status); }; }; then
15438 ac_hi=-1 ac_mid=-1
15439 while :; do
15440 cat >conftest.$ac_ext <<_ACEOF
15441 /* confdefs.h. */
15442 _ACEOF
15443 cat confdefs.h >>conftest.$ac_ext
15444 cat >>conftest.$ac_ext <<_ACEOF
15445 /* end confdefs.h. */
15446 $ac_includes_default
15447 int
15448 main ()
15449 {
15450 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15451 test_array [0] = 0
15452
15453 ;
15454 return 0;
15455 }
15456 _ACEOF
15457 rm -f conftest.$ac_objext
15458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15459 (eval $ac_compile) 2>conftest.er1
15460 ac_status=$?
15461 grep -v '^ *+' conftest.er1 >conftest.err
15462 rm -f conftest.er1
15463 cat conftest.err >&5
15464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15465 (exit $ac_status); } &&
15466 { ac_try='test -z "$ac_c_werror_flag"
15467 || test ! -s conftest.err'
15468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15469 (eval $ac_try) 2>&5
15470 ac_status=$?
15471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15472 (exit $ac_status); }; } &&
15473 { ac_try='test -s conftest.$ac_objext'
15474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15475 (eval $ac_try) 2>&5
15476 ac_status=$?
15477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15478 (exit $ac_status); }; }; then
15479 ac_lo=$ac_mid; break
15480 else
15481 echo "$as_me: failed program was:" >&5
15482 sed 's/^/| /' conftest.$ac_ext >&5
15483
15484 ac_hi=`expr '(' $ac_mid ')' - 1`
15485 if test $ac_mid -le $ac_hi; then
15486 ac_lo= ac_hi=
15487 break
15488 fi
15489 ac_mid=`expr 2 '*' $ac_mid`
15490 fi
15491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15492 done
15493 else
15494 echo "$as_me: failed program was:" >&5
15495 sed 's/^/| /' conftest.$ac_ext >&5
15496
15497 ac_lo= ac_hi=
15498 fi
15499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15500 fi
15501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15502 # Binary search between lo and hi bounds.
15503 while test "x$ac_lo" != "x$ac_hi"; do
15504 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15505 cat >conftest.$ac_ext <<_ACEOF
15506 /* confdefs.h. */
15507 _ACEOF
15508 cat confdefs.h >>conftest.$ac_ext
15509 cat >>conftest.$ac_ext <<_ACEOF
15510 /* end confdefs.h. */
15511 $ac_includes_default
15512 int
15513 main ()
15514 {
15515 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15516 test_array [0] = 0
15517
15518 ;
15519 return 0;
15520 }
15521 _ACEOF
15522 rm -f conftest.$ac_objext
15523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15524 (eval $ac_compile) 2>conftest.er1
15525 ac_status=$?
15526 grep -v '^ *+' conftest.er1 >conftest.err
15527 rm -f conftest.er1
15528 cat conftest.err >&5
15529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15530 (exit $ac_status); } &&
15531 { ac_try='test -z "$ac_c_werror_flag"
15532 || test ! -s conftest.err'
15533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15534 (eval $ac_try) 2>&5
15535 ac_status=$?
15536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15537 (exit $ac_status); }; } &&
15538 { ac_try='test -s conftest.$ac_objext'
15539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15540 (eval $ac_try) 2>&5
15541 ac_status=$?
15542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15543 (exit $ac_status); }; }; then
15544 ac_hi=$ac_mid
15545 else
15546 echo "$as_me: failed program was:" >&5
15547 sed 's/^/| /' conftest.$ac_ext >&5
15548
15549 ac_lo=`expr '(' $ac_mid ')' + 1`
15550 fi
15551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15552 done
15553 case $ac_lo in
15554 ?*) ac_cv_sizeof_void_p=$ac_lo;;
15555 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15556 See \`config.log' for more details." >&5
15557 echo "$as_me: error: cannot compute sizeof (void *), 77
15558 See \`config.log' for more details." >&2;}
15559 { (exit 1); exit 1; }; } ;;
15560 esac
15561 else
15562 if test "$cross_compiling" = yes; then
15563 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15564 See \`config.log' for more details." >&5
15565 echo "$as_me: error: cannot run test program while cross compiling
15566 See \`config.log' for more details." >&2;}
15567 { (exit 1); exit 1; }; }
15568 else
15569 cat >conftest.$ac_ext <<_ACEOF
15570 /* confdefs.h. */
15571 _ACEOF
15572 cat confdefs.h >>conftest.$ac_ext
15573 cat >>conftest.$ac_ext <<_ACEOF
15574 /* end confdefs.h. */
15575 $ac_includes_default
15576 long longval () { return (long) (sizeof (void *)); }
15577 unsigned long ulongval () { return (long) (sizeof (void *)); }
15578 #include <stdio.h>
15579 #include <stdlib.h>
15580 int
15581 main ()
15582 {
15583
15584 FILE *f = fopen ("conftest.val", "w");
15585 if (! f)
15586 exit (1);
15587 if (((long) (sizeof (void *))) < 0)
15588 {
15589 long i = longval ();
15590 if (i != ((long) (sizeof (void *))))
15591 exit (1);
15592 fprintf (f, "%ld\n", i);
15593 }
15594 else
15595 {
15596 unsigned long i = ulongval ();
15597 if (i != ((long) (sizeof (void *))))
15598 exit (1);
15599 fprintf (f, "%lu\n", i);
15600 }
15601 exit (ferror (f) || fclose (f) != 0);
15602
15603 ;
15604 return 0;
15605 }
15606 _ACEOF
15607 rm -f conftest$ac_exeext
15608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15609 (eval $ac_link) 2>&5
15610 ac_status=$?
15611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15612 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15614 (eval $ac_try) 2>&5
15615 ac_status=$?
15616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15617 (exit $ac_status); }; }; then
15618 ac_cv_sizeof_void_p=`cat conftest.val`
15619 else
15620 echo "$as_me: program exited with status $ac_status" >&5
15621 echo "$as_me: failed program was:" >&5
15622 sed 's/^/| /' conftest.$ac_ext >&5
15623
15624 ( exit $ac_status )
15625 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15626 See \`config.log' for more details." >&5
15627 echo "$as_me: error: cannot compute sizeof (void *), 77
15628 See \`config.log' for more details." >&2;}
15629 { (exit 1); exit 1; }; }
15630 fi
15631 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15632 fi
15633 fi
15634 rm -f conftest.val
15635 else
15636 ac_cv_sizeof_void_p=0
15637 fi
15638 fi
15639 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15640 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15641 cat >>confdefs.h <<_ACEOF
15642 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15643 _ACEOF
15644
15645
15646 echo "$as_me:$LINENO: checking for int" >&5
15647 echo $ECHO_N "checking for int... $ECHO_C" >&6
15648 if test "${ac_cv_type_int+set}" = set; then
15649 echo $ECHO_N "(cached) $ECHO_C" >&6
15650 else
15651 cat >conftest.$ac_ext <<_ACEOF
15652 /* confdefs.h. */
15653 _ACEOF
15654 cat confdefs.h >>conftest.$ac_ext
15655 cat >>conftest.$ac_ext <<_ACEOF
15656 /* end confdefs.h. */
15657 $ac_includes_default
15658 int
15659 main ()
15660 {
15661 if ((int *) 0)
15662 return 0;
15663 if (sizeof (int))
15664 return 0;
15665 ;
15666 return 0;
15667 }
15668 _ACEOF
15669 rm -f conftest.$ac_objext
15670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15671 (eval $ac_compile) 2>conftest.er1
15672 ac_status=$?
15673 grep -v '^ *+' conftest.er1 >conftest.err
15674 rm -f conftest.er1
15675 cat conftest.err >&5
15676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15677 (exit $ac_status); } &&
15678 { ac_try='test -z "$ac_c_werror_flag"
15679 || test ! -s conftest.err'
15680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15681 (eval $ac_try) 2>&5
15682 ac_status=$?
15683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15684 (exit $ac_status); }; } &&
15685 { ac_try='test -s conftest.$ac_objext'
15686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15687 (eval $ac_try) 2>&5
15688 ac_status=$?
15689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15690 (exit $ac_status); }; }; then
15691 ac_cv_type_int=yes
15692 else
15693 echo "$as_me: failed program was:" >&5
15694 sed 's/^/| /' conftest.$ac_ext >&5
15695
15696 ac_cv_type_int=no
15697 fi
15698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15699 fi
15700 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15701 echo "${ECHO_T}$ac_cv_type_int" >&6
15702
15703 echo "$as_me:$LINENO: checking size of int" >&5
15704 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15705 if test "${ac_cv_sizeof_int+set}" = set; then
15706 echo $ECHO_N "(cached) $ECHO_C" >&6
15707 else
15708 if test "$ac_cv_type_int" = yes; then
15709 # The cast to unsigned long works around a bug in the HP C Compiler
15710 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15711 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15712 # This bug is HP SR number 8606223364.
15713 if test "$cross_compiling" = yes; then
15714 # Depending upon the size, compute the lo and hi bounds.
15715 cat >conftest.$ac_ext <<_ACEOF
15716 /* confdefs.h. */
15717 _ACEOF
15718 cat confdefs.h >>conftest.$ac_ext
15719 cat >>conftest.$ac_ext <<_ACEOF
15720 /* end confdefs.h. */
15721 $ac_includes_default
15722 int
15723 main ()
15724 {
15725 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15726 test_array [0] = 0
15727
15728 ;
15729 return 0;
15730 }
15731 _ACEOF
15732 rm -f conftest.$ac_objext
15733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15734 (eval $ac_compile) 2>conftest.er1
15735 ac_status=$?
15736 grep -v '^ *+' conftest.er1 >conftest.err
15737 rm -f conftest.er1
15738 cat conftest.err >&5
15739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15740 (exit $ac_status); } &&
15741 { ac_try='test -z "$ac_c_werror_flag"
15742 || test ! -s conftest.err'
15743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15744 (eval $ac_try) 2>&5
15745 ac_status=$?
15746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15747 (exit $ac_status); }; } &&
15748 { ac_try='test -s conftest.$ac_objext'
15749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15750 (eval $ac_try) 2>&5
15751 ac_status=$?
15752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15753 (exit $ac_status); }; }; then
15754 ac_lo=0 ac_mid=0
15755 while :; do
15756 cat >conftest.$ac_ext <<_ACEOF
15757 /* confdefs.h. */
15758 _ACEOF
15759 cat confdefs.h >>conftest.$ac_ext
15760 cat >>conftest.$ac_ext <<_ACEOF
15761 /* end confdefs.h. */
15762 $ac_includes_default
15763 int
15764 main ()
15765 {
15766 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15767 test_array [0] = 0
15768
15769 ;
15770 return 0;
15771 }
15772 _ACEOF
15773 rm -f conftest.$ac_objext
15774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15775 (eval $ac_compile) 2>conftest.er1
15776 ac_status=$?
15777 grep -v '^ *+' conftest.er1 >conftest.err
15778 rm -f conftest.er1
15779 cat conftest.err >&5
15780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15781 (exit $ac_status); } &&
15782 { ac_try='test -z "$ac_c_werror_flag"
15783 || test ! -s conftest.err'
15784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15785 (eval $ac_try) 2>&5
15786 ac_status=$?
15787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15788 (exit $ac_status); }; } &&
15789 { ac_try='test -s conftest.$ac_objext'
15790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15791 (eval $ac_try) 2>&5
15792 ac_status=$?
15793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15794 (exit $ac_status); }; }; then
15795 ac_hi=$ac_mid; break
15796 else
15797 echo "$as_me: failed program was:" >&5
15798 sed 's/^/| /' conftest.$ac_ext >&5
15799
15800 ac_lo=`expr $ac_mid + 1`
15801 if test $ac_lo -le $ac_mid; then
15802 ac_lo= ac_hi=
15803 break
15804 fi
15805 ac_mid=`expr 2 '*' $ac_mid + 1`
15806 fi
15807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15808 done
15809 else
15810 echo "$as_me: failed program was:" >&5
15811 sed 's/^/| /' conftest.$ac_ext >&5
15812
15813 cat >conftest.$ac_ext <<_ACEOF
15814 /* confdefs.h. */
15815 _ACEOF
15816 cat confdefs.h >>conftest.$ac_ext
15817 cat >>conftest.$ac_ext <<_ACEOF
15818 /* end confdefs.h. */
15819 $ac_includes_default
15820 int
15821 main ()
15822 {
15823 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15824 test_array [0] = 0
15825
15826 ;
15827 return 0;
15828 }
15829 _ACEOF
15830 rm -f conftest.$ac_objext
15831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15832 (eval $ac_compile) 2>conftest.er1
15833 ac_status=$?
15834 grep -v '^ *+' conftest.er1 >conftest.err
15835 rm -f conftest.er1
15836 cat conftest.err >&5
15837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15838 (exit $ac_status); } &&
15839 { ac_try='test -z "$ac_c_werror_flag"
15840 || test ! -s conftest.err'
15841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15842 (eval $ac_try) 2>&5
15843 ac_status=$?
15844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15845 (exit $ac_status); }; } &&
15846 { ac_try='test -s conftest.$ac_objext'
15847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15848 (eval $ac_try) 2>&5
15849 ac_status=$?
15850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15851 (exit $ac_status); }; }; then
15852 ac_hi=-1 ac_mid=-1
15853 while :; do
15854 cat >conftest.$ac_ext <<_ACEOF
15855 /* confdefs.h. */
15856 _ACEOF
15857 cat confdefs.h >>conftest.$ac_ext
15858 cat >>conftest.$ac_ext <<_ACEOF
15859 /* end confdefs.h. */
15860 $ac_includes_default
15861 int
15862 main ()
15863 {
15864 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15865 test_array [0] = 0
15866
15867 ;
15868 return 0;
15869 }
15870 _ACEOF
15871 rm -f conftest.$ac_objext
15872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15873 (eval $ac_compile) 2>conftest.er1
15874 ac_status=$?
15875 grep -v '^ *+' conftest.er1 >conftest.err
15876 rm -f conftest.er1
15877 cat conftest.err >&5
15878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15879 (exit $ac_status); } &&
15880 { ac_try='test -z "$ac_c_werror_flag"
15881 || test ! -s conftest.err'
15882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15883 (eval $ac_try) 2>&5
15884 ac_status=$?
15885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15886 (exit $ac_status); }; } &&
15887 { ac_try='test -s conftest.$ac_objext'
15888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15889 (eval $ac_try) 2>&5
15890 ac_status=$?
15891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15892 (exit $ac_status); }; }; then
15893 ac_lo=$ac_mid; break
15894 else
15895 echo "$as_me: failed program was:" >&5
15896 sed 's/^/| /' conftest.$ac_ext >&5
15897
15898 ac_hi=`expr '(' $ac_mid ')' - 1`
15899 if test $ac_mid -le $ac_hi; then
15900 ac_lo= ac_hi=
15901 break
15902 fi
15903 ac_mid=`expr 2 '*' $ac_mid`
15904 fi
15905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15906 done
15907 else
15908 echo "$as_me: failed program was:" >&5
15909 sed 's/^/| /' conftest.$ac_ext >&5
15910
15911 ac_lo= ac_hi=
15912 fi
15913 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15914 fi
15915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15916 # Binary search between lo and hi bounds.
15917 while test "x$ac_lo" != "x$ac_hi"; do
15918 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15919 cat >conftest.$ac_ext <<_ACEOF
15920 /* confdefs.h. */
15921 _ACEOF
15922 cat confdefs.h >>conftest.$ac_ext
15923 cat >>conftest.$ac_ext <<_ACEOF
15924 /* end confdefs.h. */
15925 $ac_includes_default
15926 int
15927 main ()
15928 {
15929 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15930 test_array [0] = 0
15931
15932 ;
15933 return 0;
15934 }
15935 _ACEOF
15936 rm -f conftest.$ac_objext
15937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15938 (eval $ac_compile) 2>conftest.er1
15939 ac_status=$?
15940 grep -v '^ *+' conftest.er1 >conftest.err
15941 rm -f conftest.er1
15942 cat conftest.err >&5
15943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15944 (exit $ac_status); } &&
15945 { ac_try='test -z "$ac_c_werror_flag"
15946 || test ! -s conftest.err'
15947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15948 (eval $ac_try) 2>&5
15949 ac_status=$?
15950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15951 (exit $ac_status); }; } &&
15952 { ac_try='test -s conftest.$ac_objext'
15953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15954 (eval $ac_try) 2>&5
15955 ac_status=$?
15956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15957 (exit $ac_status); }; }; then
15958 ac_hi=$ac_mid
15959 else
15960 echo "$as_me: failed program was:" >&5
15961 sed 's/^/| /' conftest.$ac_ext >&5
15962
15963 ac_lo=`expr '(' $ac_mid ')' + 1`
15964 fi
15965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15966 done
15967 case $ac_lo in
15968 ?*) ac_cv_sizeof_int=$ac_lo;;
15969 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15970 See \`config.log' for more details." >&5
15971 echo "$as_me: error: cannot compute sizeof (int), 77
15972 See \`config.log' for more details." >&2;}
15973 { (exit 1); exit 1; }; } ;;
15974 esac
15975 else
15976 if test "$cross_compiling" = yes; then
15977 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15978 See \`config.log' for more details." >&5
15979 echo "$as_me: error: cannot run test program while cross compiling
15980 See \`config.log' for more details." >&2;}
15981 { (exit 1); exit 1; }; }
15982 else
15983 cat >conftest.$ac_ext <<_ACEOF
15984 /* confdefs.h. */
15985 _ACEOF
15986 cat confdefs.h >>conftest.$ac_ext
15987 cat >>conftest.$ac_ext <<_ACEOF
15988 /* end confdefs.h. */
15989 $ac_includes_default
15990 long longval () { return (long) (sizeof (int)); }
15991 unsigned long ulongval () { return (long) (sizeof (int)); }
15992 #include <stdio.h>
15993 #include <stdlib.h>
15994 int
15995 main ()
15996 {
15997
15998 FILE *f = fopen ("conftest.val", "w");
15999 if (! f)
16000 exit (1);
16001 if (((long) (sizeof (int))) < 0)
16002 {
16003 long i = longval ();
16004 if (i != ((long) (sizeof (int))))
16005 exit (1);
16006 fprintf (f, "%ld\n", i);
16007 }
16008 else
16009 {
16010 unsigned long i = ulongval ();
16011 if (i != ((long) (sizeof (int))))
16012 exit (1);
16013 fprintf (f, "%lu\n", i);
16014 }
16015 exit (ferror (f) || fclose (f) != 0);
16016
16017 ;
16018 return 0;
16019 }
16020 _ACEOF
16021 rm -f conftest$ac_exeext
16022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16023 (eval $ac_link) 2>&5
16024 ac_status=$?
16025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16026 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16028 (eval $ac_try) 2>&5
16029 ac_status=$?
16030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16031 (exit $ac_status); }; }; then
16032 ac_cv_sizeof_int=`cat conftest.val`
16033 else
16034 echo "$as_me: program exited with status $ac_status" >&5
16035 echo "$as_me: failed program was:" >&5
16036 sed 's/^/| /' conftest.$ac_ext >&5
16037
16038 ( exit $ac_status )
16039 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16040 See \`config.log' for more details." >&5
16041 echo "$as_me: error: cannot compute sizeof (int), 77
16042 See \`config.log' for more details." >&2;}
16043 { (exit 1); exit 1; }; }
16044 fi
16045 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16046 fi
16047 fi
16048 rm -f conftest.val
16049 else
16050 ac_cv_sizeof_int=0
16051 fi
16052 fi
16053 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
16054 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
16055 cat >>confdefs.h <<_ACEOF
16056 #define SIZEOF_INT $ac_cv_sizeof_int
16057 _ACEOF
16058
16059
16060 echo "$as_me:$LINENO: checking for long" >&5
16061 echo $ECHO_N "checking for long... $ECHO_C" >&6
16062 if test "${ac_cv_type_long+set}" = set; then
16063 echo $ECHO_N "(cached) $ECHO_C" >&6
16064 else
16065 cat >conftest.$ac_ext <<_ACEOF
16066 /* confdefs.h. */
16067 _ACEOF
16068 cat confdefs.h >>conftest.$ac_ext
16069 cat >>conftest.$ac_ext <<_ACEOF
16070 /* end confdefs.h. */
16071 $ac_includes_default
16072 int
16073 main ()
16074 {
16075 if ((long *) 0)
16076 return 0;
16077 if (sizeof (long))
16078 return 0;
16079 ;
16080 return 0;
16081 }
16082 _ACEOF
16083 rm -f conftest.$ac_objext
16084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16085 (eval $ac_compile) 2>conftest.er1
16086 ac_status=$?
16087 grep -v '^ *+' conftest.er1 >conftest.err
16088 rm -f conftest.er1
16089 cat conftest.err >&5
16090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16091 (exit $ac_status); } &&
16092 { ac_try='test -z "$ac_c_werror_flag"
16093 || test ! -s conftest.err'
16094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16095 (eval $ac_try) 2>&5
16096 ac_status=$?
16097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16098 (exit $ac_status); }; } &&
16099 { ac_try='test -s conftest.$ac_objext'
16100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16101 (eval $ac_try) 2>&5
16102 ac_status=$?
16103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16104 (exit $ac_status); }; }; then
16105 ac_cv_type_long=yes
16106 else
16107 echo "$as_me: failed program was:" >&5
16108 sed 's/^/| /' conftest.$ac_ext >&5
16109
16110 ac_cv_type_long=no
16111 fi
16112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16113 fi
16114 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16115 echo "${ECHO_T}$ac_cv_type_long" >&6
16116
16117 echo "$as_me:$LINENO: checking size of long" >&5
16118 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16119 if test "${ac_cv_sizeof_long+set}" = set; then
16120 echo $ECHO_N "(cached) $ECHO_C" >&6
16121 else
16122 if test "$ac_cv_type_long" = yes; then
16123 # The cast to unsigned long works around a bug in the HP C Compiler
16124 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16125 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16126 # This bug is HP SR number 8606223364.
16127 if test "$cross_compiling" = yes; then
16128 # Depending upon the size, compute the lo and hi bounds.
16129 cat >conftest.$ac_ext <<_ACEOF
16130 /* confdefs.h. */
16131 _ACEOF
16132 cat confdefs.h >>conftest.$ac_ext
16133 cat >>conftest.$ac_ext <<_ACEOF
16134 /* end confdefs.h. */
16135 $ac_includes_default
16136 int
16137 main ()
16138 {
16139 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16140 test_array [0] = 0
16141
16142 ;
16143 return 0;
16144 }
16145 _ACEOF
16146 rm -f conftest.$ac_objext
16147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16148 (eval $ac_compile) 2>conftest.er1
16149 ac_status=$?
16150 grep -v '^ *+' conftest.er1 >conftest.err
16151 rm -f conftest.er1
16152 cat conftest.err >&5
16153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16154 (exit $ac_status); } &&
16155 { ac_try='test -z "$ac_c_werror_flag"
16156 || test ! -s conftest.err'
16157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16158 (eval $ac_try) 2>&5
16159 ac_status=$?
16160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16161 (exit $ac_status); }; } &&
16162 { ac_try='test -s conftest.$ac_objext'
16163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16164 (eval $ac_try) 2>&5
16165 ac_status=$?
16166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16167 (exit $ac_status); }; }; then
16168 ac_lo=0 ac_mid=0
16169 while :; do
16170 cat >conftest.$ac_ext <<_ACEOF
16171 /* confdefs.h. */
16172 _ACEOF
16173 cat confdefs.h >>conftest.$ac_ext
16174 cat >>conftest.$ac_ext <<_ACEOF
16175 /* end confdefs.h. */
16176 $ac_includes_default
16177 int
16178 main ()
16179 {
16180 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16181 test_array [0] = 0
16182
16183 ;
16184 return 0;
16185 }
16186 _ACEOF
16187 rm -f conftest.$ac_objext
16188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16189 (eval $ac_compile) 2>conftest.er1
16190 ac_status=$?
16191 grep -v '^ *+' conftest.er1 >conftest.err
16192 rm -f conftest.er1
16193 cat conftest.err >&5
16194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16195 (exit $ac_status); } &&
16196 { ac_try='test -z "$ac_c_werror_flag"
16197 || test ! -s conftest.err'
16198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16199 (eval $ac_try) 2>&5
16200 ac_status=$?
16201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16202 (exit $ac_status); }; } &&
16203 { ac_try='test -s conftest.$ac_objext'
16204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16205 (eval $ac_try) 2>&5
16206 ac_status=$?
16207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16208 (exit $ac_status); }; }; then
16209 ac_hi=$ac_mid; break
16210 else
16211 echo "$as_me: failed program was:" >&5
16212 sed 's/^/| /' conftest.$ac_ext >&5
16213
16214 ac_lo=`expr $ac_mid + 1`
16215 if test $ac_lo -le $ac_mid; then
16216 ac_lo= ac_hi=
16217 break
16218 fi
16219 ac_mid=`expr 2 '*' $ac_mid + 1`
16220 fi
16221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16222 done
16223 else
16224 echo "$as_me: failed program was:" >&5
16225 sed 's/^/| /' conftest.$ac_ext >&5
16226
16227 cat >conftest.$ac_ext <<_ACEOF
16228 /* confdefs.h. */
16229 _ACEOF
16230 cat confdefs.h >>conftest.$ac_ext
16231 cat >>conftest.$ac_ext <<_ACEOF
16232 /* end confdefs.h. */
16233 $ac_includes_default
16234 int
16235 main ()
16236 {
16237 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16238 test_array [0] = 0
16239
16240 ;
16241 return 0;
16242 }
16243 _ACEOF
16244 rm -f conftest.$ac_objext
16245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16246 (eval $ac_compile) 2>conftest.er1
16247 ac_status=$?
16248 grep -v '^ *+' conftest.er1 >conftest.err
16249 rm -f conftest.er1
16250 cat conftest.err >&5
16251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16252 (exit $ac_status); } &&
16253 { ac_try='test -z "$ac_c_werror_flag"
16254 || test ! -s conftest.err'
16255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16256 (eval $ac_try) 2>&5
16257 ac_status=$?
16258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16259 (exit $ac_status); }; } &&
16260 { ac_try='test -s conftest.$ac_objext'
16261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16262 (eval $ac_try) 2>&5
16263 ac_status=$?
16264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16265 (exit $ac_status); }; }; then
16266 ac_hi=-1 ac_mid=-1
16267 while :; do
16268 cat >conftest.$ac_ext <<_ACEOF
16269 /* confdefs.h. */
16270 _ACEOF
16271 cat confdefs.h >>conftest.$ac_ext
16272 cat >>conftest.$ac_ext <<_ACEOF
16273 /* end confdefs.h. */
16274 $ac_includes_default
16275 int
16276 main ()
16277 {
16278 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16279 test_array [0] = 0
16280
16281 ;
16282 return 0;
16283 }
16284 _ACEOF
16285 rm -f conftest.$ac_objext
16286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16287 (eval $ac_compile) 2>conftest.er1
16288 ac_status=$?
16289 grep -v '^ *+' conftest.er1 >conftest.err
16290 rm -f conftest.er1
16291 cat conftest.err >&5
16292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16293 (exit $ac_status); } &&
16294 { ac_try='test -z "$ac_c_werror_flag"
16295 || test ! -s conftest.err'
16296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16297 (eval $ac_try) 2>&5
16298 ac_status=$?
16299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16300 (exit $ac_status); }; } &&
16301 { ac_try='test -s conftest.$ac_objext'
16302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16303 (eval $ac_try) 2>&5
16304 ac_status=$?
16305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16306 (exit $ac_status); }; }; then
16307 ac_lo=$ac_mid; break
16308 else
16309 echo "$as_me: failed program was:" >&5
16310 sed 's/^/| /' conftest.$ac_ext >&5
16311
16312 ac_hi=`expr '(' $ac_mid ')' - 1`
16313 if test $ac_mid -le $ac_hi; then
16314 ac_lo= ac_hi=
16315 break
16316 fi
16317 ac_mid=`expr 2 '*' $ac_mid`
16318 fi
16319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16320 done
16321 else
16322 echo "$as_me: failed program was:" >&5
16323 sed 's/^/| /' conftest.$ac_ext >&5
16324
16325 ac_lo= ac_hi=
16326 fi
16327 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16328 fi
16329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16330 # Binary search between lo and hi bounds.
16331 while test "x$ac_lo" != "x$ac_hi"; do
16332 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16333 cat >conftest.$ac_ext <<_ACEOF
16334 /* confdefs.h. */
16335 _ACEOF
16336 cat confdefs.h >>conftest.$ac_ext
16337 cat >>conftest.$ac_ext <<_ACEOF
16338 /* end confdefs.h. */
16339 $ac_includes_default
16340 int
16341 main ()
16342 {
16343 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16344 test_array [0] = 0
16345
16346 ;
16347 return 0;
16348 }
16349 _ACEOF
16350 rm -f conftest.$ac_objext
16351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16352 (eval $ac_compile) 2>conftest.er1
16353 ac_status=$?
16354 grep -v '^ *+' conftest.er1 >conftest.err
16355 rm -f conftest.er1
16356 cat conftest.err >&5
16357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16358 (exit $ac_status); } &&
16359 { ac_try='test -z "$ac_c_werror_flag"
16360 || test ! -s conftest.err'
16361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16362 (eval $ac_try) 2>&5
16363 ac_status=$?
16364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16365 (exit $ac_status); }; } &&
16366 { ac_try='test -s conftest.$ac_objext'
16367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16368 (eval $ac_try) 2>&5
16369 ac_status=$?
16370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16371 (exit $ac_status); }; }; then
16372 ac_hi=$ac_mid
16373 else
16374 echo "$as_me: failed program was:" >&5
16375 sed 's/^/| /' conftest.$ac_ext >&5
16376
16377 ac_lo=`expr '(' $ac_mid ')' + 1`
16378 fi
16379 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16380 done
16381 case $ac_lo in
16382 ?*) ac_cv_sizeof_long=$ac_lo;;
16383 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16384 See \`config.log' for more details." >&5
16385 echo "$as_me: error: cannot compute sizeof (long), 77
16386 See \`config.log' for more details." >&2;}
16387 { (exit 1); exit 1; }; } ;;
16388 esac
16389 else
16390 if test "$cross_compiling" = yes; then
16391 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16392 See \`config.log' for more details." >&5
16393 echo "$as_me: error: cannot run test program while cross compiling
16394 See \`config.log' for more details." >&2;}
16395 { (exit 1); exit 1; }; }
16396 else
16397 cat >conftest.$ac_ext <<_ACEOF
16398 /* confdefs.h. */
16399 _ACEOF
16400 cat confdefs.h >>conftest.$ac_ext
16401 cat >>conftest.$ac_ext <<_ACEOF
16402 /* end confdefs.h. */
16403 $ac_includes_default
16404 long longval () { return (long) (sizeof (long)); }
16405 unsigned long ulongval () { return (long) (sizeof (long)); }
16406 #include <stdio.h>
16407 #include <stdlib.h>
16408 int
16409 main ()
16410 {
16411
16412 FILE *f = fopen ("conftest.val", "w");
16413 if (! f)
16414 exit (1);
16415 if (((long) (sizeof (long))) < 0)
16416 {
16417 long i = longval ();
16418 if (i != ((long) (sizeof (long))))
16419 exit (1);
16420 fprintf (f, "%ld\n", i);
16421 }
16422 else
16423 {
16424 unsigned long i = ulongval ();
16425 if (i != ((long) (sizeof (long))))
16426 exit (1);
16427 fprintf (f, "%lu\n", i);
16428 }
16429 exit (ferror (f) || fclose (f) != 0);
16430
16431 ;
16432 return 0;
16433 }
16434 _ACEOF
16435 rm -f conftest$ac_exeext
16436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16437 (eval $ac_link) 2>&5
16438 ac_status=$?
16439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16440 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16442 (eval $ac_try) 2>&5
16443 ac_status=$?
16444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16445 (exit $ac_status); }; }; then
16446 ac_cv_sizeof_long=`cat conftest.val`
16447 else
16448 echo "$as_me: program exited with status $ac_status" >&5
16449 echo "$as_me: failed program was:" >&5
16450 sed 's/^/| /' conftest.$ac_ext >&5
16451
16452 ( exit $ac_status )
16453 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16454 See \`config.log' for more details." >&5
16455 echo "$as_me: error: cannot compute sizeof (long), 77
16456 See \`config.log' for more details." >&2;}
16457 { (exit 1); exit 1; }; }
16458 fi
16459 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16460 fi
16461 fi
16462 rm -f conftest.val
16463 else
16464 ac_cv_sizeof_long=0
16465 fi
16466 fi
16467 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16468 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16469 cat >>confdefs.h <<_ACEOF
16470 #define SIZEOF_LONG $ac_cv_sizeof_long
16471 _ACEOF
16472
16473
16474 echo "$as_me:$LINENO: checking for size_t" >&5
16475 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16476 if test "${ac_cv_type_size_t+set}" = set; then
16477 echo $ECHO_N "(cached) $ECHO_C" >&6
16478 else
16479 cat >conftest.$ac_ext <<_ACEOF
16480 /* confdefs.h. */
16481 _ACEOF
16482 cat confdefs.h >>conftest.$ac_ext
16483 cat >>conftest.$ac_ext <<_ACEOF
16484 /* end confdefs.h. */
16485 $ac_includes_default
16486 int
16487 main ()
16488 {
16489 if ((size_t *) 0)
16490 return 0;
16491 if (sizeof (size_t))
16492 return 0;
16493 ;
16494 return 0;
16495 }
16496 _ACEOF
16497 rm -f conftest.$ac_objext
16498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16499 (eval $ac_compile) 2>conftest.er1
16500 ac_status=$?
16501 grep -v '^ *+' conftest.er1 >conftest.err
16502 rm -f conftest.er1
16503 cat conftest.err >&5
16504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16505 (exit $ac_status); } &&
16506 { ac_try='test -z "$ac_c_werror_flag"
16507 || test ! -s conftest.err'
16508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16509 (eval $ac_try) 2>&5
16510 ac_status=$?
16511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16512 (exit $ac_status); }; } &&
16513 { ac_try='test -s conftest.$ac_objext'
16514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16515 (eval $ac_try) 2>&5
16516 ac_status=$?
16517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16518 (exit $ac_status); }; }; then
16519 ac_cv_type_size_t=yes
16520 else
16521 echo "$as_me: failed program was:" >&5
16522 sed 's/^/| /' conftest.$ac_ext >&5
16523
16524 ac_cv_type_size_t=no
16525 fi
16526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16527 fi
16528 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16529 echo "${ECHO_T}$ac_cv_type_size_t" >&6
16530
16531 echo "$as_me:$LINENO: checking size of size_t" >&5
16532 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
16533 if test "${ac_cv_sizeof_size_t+set}" = set; then
16534 echo $ECHO_N "(cached) $ECHO_C" >&6
16535 else
16536 if test "$ac_cv_type_size_t" = yes; then
16537 # The cast to unsigned long works around a bug in the HP C Compiler
16538 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16539 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16540 # This bug is HP SR number 8606223364.
16541 if test "$cross_compiling" = yes; then
16542 # Depending upon the size, compute the lo and hi bounds.
16543 cat >conftest.$ac_ext <<_ACEOF
16544 /* confdefs.h. */
16545 _ACEOF
16546 cat confdefs.h >>conftest.$ac_ext
16547 cat >>conftest.$ac_ext <<_ACEOF
16548 /* end confdefs.h. */
16549 $ac_includes_default
16550 int
16551 main ()
16552 {
16553 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
16554 test_array [0] = 0
16555
16556 ;
16557 return 0;
16558 }
16559 _ACEOF
16560 rm -f conftest.$ac_objext
16561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16562 (eval $ac_compile) 2>conftest.er1
16563 ac_status=$?
16564 grep -v '^ *+' conftest.er1 >conftest.err
16565 rm -f conftest.er1
16566 cat conftest.err >&5
16567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16568 (exit $ac_status); } &&
16569 { ac_try='test -z "$ac_c_werror_flag"
16570 || test ! -s conftest.err'
16571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16572 (eval $ac_try) 2>&5
16573 ac_status=$?
16574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16575 (exit $ac_status); }; } &&
16576 { ac_try='test -s conftest.$ac_objext'
16577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16578 (eval $ac_try) 2>&5
16579 ac_status=$?
16580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16581 (exit $ac_status); }; }; then
16582 ac_lo=0 ac_mid=0
16583 while :; do
16584 cat >conftest.$ac_ext <<_ACEOF
16585 /* confdefs.h. */
16586 _ACEOF
16587 cat confdefs.h >>conftest.$ac_ext
16588 cat >>conftest.$ac_ext <<_ACEOF
16589 /* end confdefs.h. */
16590 $ac_includes_default
16591 int
16592 main ()
16593 {
16594 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16595 test_array [0] = 0
16596
16597 ;
16598 return 0;
16599 }
16600 _ACEOF
16601 rm -f conftest.$ac_objext
16602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16603 (eval $ac_compile) 2>conftest.er1
16604 ac_status=$?
16605 grep -v '^ *+' conftest.er1 >conftest.err
16606 rm -f conftest.er1
16607 cat conftest.err >&5
16608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16609 (exit $ac_status); } &&
16610 { ac_try='test -z "$ac_c_werror_flag"
16611 || test ! -s conftest.err'
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); }; } &&
16617 { ac_try='test -s conftest.$ac_objext'
16618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16619 (eval $ac_try) 2>&5
16620 ac_status=$?
16621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16622 (exit $ac_status); }; }; then
16623 ac_hi=$ac_mid; break
16624 else
16625 echo "$as_me: failed program was:" >&5
16626 sed 's/^/| /' conftest.$ac_ext >&5
16627
16628 ac_lo=`expr $ac_mid + 1`
16629 if test $ac_lo -le $ac_mid; then
16630 ac_lo= ac_hi=
16631 break
16632 fi
16633 ac_mid=`expr 2 '*' $ac_mid + 1`
16634 fi
16635 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16636 done
16637 else
16638 echo "$as_me: failed program was:" >&5
16639 sed 's/^/| /' conftest.$ac_ext >&5
16640
16641 cat >conftest.$ac_ext <<_ACEOF
16642 /* confdefs.h. */
16643 _ACEOF
16644 cat confdefs.h >>conftest.$ac_ext
16645 cat >>conftest.$ac_ext <<_ACEOF
16646 /* end confdefs.h. */
16647 $ac_includes_default
16648 int
16649 main ()
16650 {
16651 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
16652 test_array [0] = 0
16653
16654 ;
16655 return 0;
16656 }
16657 _ACEOF
16658 rm -f conftest.$ac_objext
16659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16660 (eval $ac_compile) 2>conftest.er1
16661 ac_status=$?
16662 grep -v '^ *+' conftest.er1 >conftest.err
16663 rm -f conftest.er1
16664 cat conftest.err >&5
16665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16666 (exit $ac_status); } &&
16667 { ac_try='test -z "$ac_c_werror_flag"
16668 || test ! -s conftest.err'
16669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16670 (eval $ac_try) 2>&5
16671 ac_status=$?
16672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16673 (exit $ac_status); }; } &&
16674 { ac_try='test -s conftest.$ac_objext'
16675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16676 (eval $ac_try) 2>&5
16677 ac_status=$?
16678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16679 (exit $ac_status); }; }; then
16680 ac_hi=-1 ac_mid=-1
16681 while :; do
16682 cat >conftest.$ac_ext <<_ACEOF
16683 /* confdefs.h. */
16684 _ACEOF
16685 cat confdefs.h >>conftest.$ac_ext
16686 cat >>conftest.$ac_ext <<_ACEOF
16687 /* end confdefs.h. */
16688 $ac_includes_default
16689 int
16690 main ()
16691 {
16692 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
16693 test_array [0] = 0
16694
16695 ;
16696 return 0;
16697 }
16698 _ACEOF
16699 rm -f conftest.$ac_objext
16700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16701 (eval $ac_compile) 2>conftest.er1
16702 ac_status=$?
16703 grep -v '^ *+' conftest.er1 >conftest.err
16704 rm -f conftest.er1
16705 cat conftest.err >&5
16706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16707 (exit $ac_status); } &&
16708 { ac_try='test -z "$ac_c_werror_flag"
16709 || 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_lo=$ac_mid; break
16722 else
16723 echo "$as_me: failed program was:" >&5
16724 sed 's/^/| /' conftest.$ac_ext >&5
16725
16726 ac_hi=`expr '(' $ac_mid ')' - 1`
16727 if test $ac_mid -le $ac_hi; then
16728 ac_lo= ac_hi=
16729 break
16730 fi
16731 ac_mid=`expr 2 '*' $ac_mid`
16732 fi
16733 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16734 done
16735 else
16736 echo "$as_me: failed program was:" >&5
16737 sed 's/^/| /' conftest.$ac_ext >&5
16738
16739 ac_lo= ac_hi=
16740 fi
16741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16742 fi
16743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16744 # Binary search between lo and hi bounds.
16745 while test "x$ac_lo" != "x$ac_hi"; do
16746 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16747 cat >conftest.$ac_ext <<_ACEOF
16748 /* confdefs.h. */
16749 _ACEOF
16750 cat confdefs.h >>conftest.$ac_ext
16751 cat >>conftest.$ac_ext <<_ACEOF
16752 /* end confdefs.h. */
16753 $ac_includes_default
16754 int
16755 main ()
16756 {
16757 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16758 test_array [0] = 0
16759
16760 ;
16761 return 0;
16762 }
16763 _ACEOF
16764 rm -f conftest.$ac_objext
16765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16766 (eval $ac_compile) 2>conftest.er1
16767 ac_status=$?
16768 grep -v '^ *+' conftest.er1 >conftest.err
16769 rm -f conftest.er1
16770 cat conftest.err >&5
16771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16772 (exit $ac_status); } &&
16773 { ac_try='test -z "$ac_c_werror_flag"
16774 || test ! -s conftest.err'
16775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16776 (eval $ac_try) 2>&5
16777 ac_status=$?
16778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16779 (exit $ac_status); }; } &&
16780 { ac_try='test -s conftest.$ac_objext'
16781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16782 (eval $ac_try) 2>&5
16783 ac_status=$?
16784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16785 (exit $ac_status); }; }; then
16786 ac_hi=$ac_mid
16787 else
16788 echo "$as_me: failed program was:" >&5
16789 sed 's/^/| /' conftest.$ac_ext >&5
16790
16791 ac_lo=`expr '(' $ac_mid ')' + 1`
16792 fi
16793 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16794 done
16795 case $ac_lo in
16796 ?*) ac_cv_sizeof_size_t=$ac_lo;;
16797 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16798 See \`config.log' for more details." >&5
16799 echo "$as_me: error: cannot compute sizeof (size_t), 77
16800 See \`config.log' for more details." >&2;}
16801 { (exit 1); exit 1; }; } ;;
16802 esac
16803 else
16804 if test "$cross_compiling" = yes; then
16805 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16806 See \`config.log' for more details." >&5
16807 echo "$as_me: error: cannot run test program while cross compiling
16808 See \`config.log' for more details." >&2;}
16809 { (exit 1); exit 1; }; }
16810 else
16811 cat >conftest.$ac_ext <<_ACEOF
16812 /* confdefs.h. */
16813 _ACEOF
16814 cat confdefs.h >>conftest.$ac_ext
16815 cat >>conftest.$ac_ext <<_ACEOF
16816 /* end confdefs.h. */
16817 $ac_includes_default
16818 long longval () { return (long) (sizeof (size_t)); }
16819 unsigned long ulongval () { return (long) (sizeof (size_t)); }
16820 #include <stdio.h>
16821 #include <stdlib.h>
16822 int
16823 main ()
16824 {
16825
16826 FILE *f = fopen ("conftest.val", "w");
16827 if (! f)
16828 exit (1);
16829 if (((long) (sizeof (size_t))) < 0)
16830 {
16831 long i = longval ();
16832 if (i != ((long) (sizeof (size_t))))
16833 exit (1);
16834 fprintf (f, "%ld\n", i);
16835 }
16836 else
16837 {
16838 unsigned long i = ulongval ();
16839 if (i != ((long) (sizeof (size_t))))
16840 exit (1);
16841 fprintf (f, "%lu\n", i);
16842 }
16843 exit (ferror (f) || fclose (f) != 0);
16844
16845 ;
16846 return 0;
16847 }
16848 _ACEOF
16849 rm -f conftest$ac_exeext
16850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16851 (eval $ac_link) 2>&5
16852 ac_status=$?
16853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16854 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16856 (eval $ac_try) 2>&5
16857 ac_status=$?
16858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16859 (exit $ac_status); }; }; then
16860 ac_cv_sizeof_size_t=`cat conftest.val`
16861 else
16862 echo "$as_me: program exited with status $ac_status" >&5
16863 echo "$as_me: failed program was:" >&5
16864 sed 's/^/| /' conftest.$ac_ext >&5
16865
16866 ( exit $ac_status )
16867 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16868 See \`config.log' for more details." >&5
16869 echo "$as_me: error: cannot compute sizeof (size_t), 77
16870 See \`config.log' for more details." >&2;}
16871 { (exit 1); exit 1; }; }
16872 fi
16873 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16874 fi
16875 fi
16876 rm -f conftest.val
16877 else
16878 ac_cv_sizeof_size_t=0
16879 fi
16880 fi
16881 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
16882 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
16883 cat >>confdefs.h <<_ACEOF
16884 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
16885 _ACEOF
16886
16887
16888
16889 case "${host}" in
16890 arm-*-linux* )
16891 echo "$as_me:$LINENO: checking for long long" >&5
16892 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16893 if test "${ac_cv_type_long_long+set}" = set; then
16894 echo $ECHO_N "(cached) $ECHO_C" >&6
16895 else
16896 cat >conftest.$ac_ext <<_ACEOF
16897 /* confdefs.h. */
16898 _ACEOF
16899 cat confdefs.h >>conftest.$ac_ext
16900 cat >>conftest.$ac_ext <<_ACEOF
16901 /* end confdefs.h. */
16902 $ac_includes_default
16903 int
16904 main ()
16905 {
16906 if ((long long *) 0)
16907 return 0;
16908 if (sizeof (long long))
16909 return 0;
16910 ;
16911 return 0;
16912 }
16913 _ACEOF
16914 rm -f conftest.$ac_objext
16915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16916 (eval $ac_compile) 2>conftest.er1
16917 ac_status=$?
16918 grep -v '^ *+' conftest.er1 >conftest.err
16919 rm -f conftest.er1
16920 cat conftest.err >&5
16921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16922 (exit $ac_status); } &&
16923 { ac_try='test -z "$ac_c_werror_flag"
16924 || test ! -s conftest.err'
16925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16926 (eval $ac_try) 2>&5
16927 ac_status=$?
16928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16929 (exit $ac_status); }; } &&
16930 { ac_try='test -s conftest.$ac_objext'
16931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16932 (eval $ac_try) 2>&5
16933 ac_status=$?
16934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16935 (exit $ac_status); }; }; then
16936 ac_cv_type_long_long=yes
16937 else
16938 echo "$as_me: failed program was:" >&5
16939 sed 's/^/| /' conftest.$ac_ext >&5
16940
16941 ac_cv_type_long_long=no
16942 fi
16943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16944 fi
16945 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16946 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16947
16948 echo "$as_me:$LINENO: checking size of long long" >&5
16949 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16950 if test "${ac_cv_sizeof_long_long+set}" = set; then
16951 echo $ECHO_N "(cached) $ECHO_C" >&6
16952 else
16953 if test "$ac_cv_type_long_long" = yes; then
16954 # The cast to unsigned long works around a bug in the HP C Compiler
16955 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16956 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16957 # This bug is HP SR number 8606223364.
16958 if test "$cross_compiling" = yes; then
16959 # Depending upon the size, compute the lo and hi bounds.
16960 cat >conftest.$ac_ext <<_ACEOF
16961 /* confdefs.h. */
16962 _ACEOF
16963 cat confdefs.h >>conftest.$ac_ext
16964 cat >>conftest.$ac_ext <<_ACEOF
16965 /* end confdefs.h. */
16966 $ac_includes_default
16967 int
16968 main ()
16969 {
16970 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16971 test_array [0] = 0
16972
16973 ;
16974 return 0;
16975 }
16976 _ACEOF
16977 rm -f conftest.$ac_objext
16978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16979 (eval $ac_compile) 2>conftest.er1
16980 ac_status=$?
16981 grep -v '^ *+' conftest.er1 >conftest.err
16982 rm -f conftest.er1
16983 cat conftest.err >&5
16984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16985 (exit $ac_status); } &&
16986 { ac_try='test -z "$ac_c_werror_flag"
16987 || test ! -s conftest.err'
16988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16989 (eval $ac_try) 2>&5
16990 ac_status=$?
16991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16992 (exit $ac_status); }; } &&
16993 { ac_try='test -s conftest.$ac_objext'
16994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16995 (eval $ac_try) 2>&5
16996 ac_status=$?
16997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16998 (exit $ac_status); }; }; then
16999 ac_lo=0 ac_mid=0
17000 while :; do
17001 cat >conftest.$ac_ext <<_ACEOF
17002 /* confdefs.h. */
17003 _ACEOF
17004 cat confdefs.h >>conftest.$ac_ext
17005 cat >>conftest.$ac_ext <<_ACEOF
17006 /* end confdefs.h. */
17007 $ac_includes_default
17008 int
17009 main ()
17010 {
17011 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17012 test_array [0] = 0
17013
17014 ;
17015 return 0;
17016 }
17017 _ACEOF
17018 rm -f conftest.$ac_objext
17019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17020 (eval $ac_compile) 2>conftest.er1
17021 ac_status=$?
17022 grep -v '^ *+' conftest.er1 >conftest.err
17023 rm -f conftest.er1
17024 cat conftest.err >&5
17025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17026 (exit $ac_status); } &&
17027 { ac_try='test -z "$ac_c_werror_flag"
17028 || test ! -s conftest.err'
17029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17030 (eval $ac_try) 2>&5
17031 ac_status=$?
17032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17033 (exit $ac_status); }; } &&
17034 { ac_try='test -s conftest.$ac_objext'
17035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17036 (eval $ac_try) 2>&5
17037 ac_status=$?
17038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17039 (exit $ac_status); }; }; then
17040 ac_hi=$ac_mid; break
17041 else
17042 echo "$as_me: failed program was:" >&5
17043 sed 's/^/| /' conftest.$ac_ext >&5
17044
17045 ac_lo=`expr $ac_mid + 1`
17046 if test $ac_lo -le $ac_mid; then
17047 ac_lo= ac_hi=
17048 break
17049 fi
17050 ac_mid=`expr 2 '*' $ac_mid + 1`
17051 fi
17052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17053 done
17054 else
17055 echo "$as_me: failed program was:" >&5
17056 sed 's/^/| /' conftest.$ac_ext >&5
17057
17058 cat >conftest.$ac_ext <<_ACEOF
17059 /* confdefs.h. */
17060 _ACEOF
17061 cat confdefs.h >>conftest.$ac_ext
17062 cat >>conftest.$ac_ext <<_ACEOF
17063 /* end confdefs.h. */
17064 $ac_includes_default
17065 int
17066 main ()
17067 {
17068 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17069 test_array [0] = 0
17070
17071 ;
17072 return 0;
17073 }
17074 _ACEOF
17075 rm -f conftest.$ac_objext
17076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17077 (eval $ac_compile) 2>conftest.er1
17078 ac_status=$?
17079 grep -v '^ *+' conftest.er1 >conftest.err
17080 rm -f conftest.er1
17081 cat conftest.err >&5
17082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17083 (exit $ac_status); } &&
17084 { ac_try='test -z "$ac_c_werror_flag"
17085 || test ! -s conftest.err'
17086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17087 (eval $ac_try) 2>&5
17088 ac_status=$?
17089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17090 (exit $ac_status); }; } &&
17091 { ac_try='test -s conftest.$ac_objext'
17092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17093 (eval $ac_try) 2>&5
17094 ac_status=$?
17095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17096 (exit $ac_status); }; }; then
17097 ac_hi=-1 ac_mid=-1
17098 while :; do
17099 cat >conftest.$ac_ext <<_ACEOF
17100 /* confdefs.h. */
17101 _ACEOF
17102 cat confdefs.h >>conftest.$ac_ext
17103 cat >>conftest.$ac_ext <<_ACEOF
17104 /* end confdefs.h. */
17105 $ac_includes_default
17106 int
17107 main ()
17108 {
17109 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17110 test_array [0] = 0
17111
17112 ;
17113 return 0;
17114 }
17115 _ACEOF
17116 rm -f conftest.$ac_objext
17117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17118 (eval $ac_compile) 2>conftest.er1
17119 ac_status=$?
17120 grep -v '^ *+' conftest.er1 >conftest.err
17121 rm -f conftest.er1
17122 cat conftest.err >&5
17123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17124 (exit $ac_status); } &&
17125 { ac_try='test -z "$ac_c_werror_flag"
17126 || test ! -s conftest.err'
17127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17128 (eval $ac_try) 2>&5
17129 ac_status=$?
17130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17131 (exit $ac_status); }; } &&
17132 { ac_try='test -s conftest.$ac_objext'
17133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17134 (eval $ac_try) 2>&5
17135 ac_status=$?
17136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17137 (exit $ac_status); }; }; then
17138 ac_lo=$ac_mid; break
17139 else
17140 echo "$as_me: failed program was:" >&5
17141 sed 's/^/| /' conftest.$ac_ext >&5
17142
17143 ac_hi=`expr '(' $ac_mid ')' - 1`
17144 if test $ac_mid -le $ac_hi; then
17145 ac_lo= ac_hi=
17146 break
17147 fi
17148 ac_mid=`expr 2 '*' $ac_mid`
17149 fi
17150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17151 done
17152 else
17153 echo "$as_me: failed program was:" >&5
17154 sed 's/^/| /' conftest.$ac_ext >&5
17155
17156 ac_lo= ac_hi=
17157 fi
17158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17159 fi
17160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17161 # Binary search between lo and hi bounds.
17162 while test "x$ac_lo" != "x$ac_hi"; do
17163 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17164 cat >conftest.$ac_ext <<_ACEOF
17165 /* confdefs.h. */
17166 _ACEOF
17167 cat confdefs.h >>conftest.$ac_ext
17168 cat >>conftest.$ac_ext <<_ACEOF
17169 /* end confdefs.h. */
17170 $ac_includes_default
17171 int
17172 main ()
17173 {
17174 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17175 test_array [0] = 0
17176
17177 ;
17178 return 0;
17179 }
17180 _ACEOF
17181 rm -f conftest.$ac_objext
17182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17183 (eval $ac_compile) 2>conftest.er1
17184 ac_status=$?
17185 grep -v '^ *+' conftest.er1 >conftest.err
17186 rm -f conftest.er1
17187 cat conftest.err >&5
17188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17189 (exit $ac_status); } &&
17190 { ac_try='test -z "$ac_c_werror_flag"
17191 || test ! -s conftest.err'
17192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17193 (eval $ac_try) 2>&5
17194 ac_status=$?
17195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17196 (exit $ac_status); }; } &&
17197 { ac_try='test -s conftest.$ac_objext'
17198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17199 (eval $ac_try) 2>&5
17200 ac_status=$?
17201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17202 (exit $ac_status); }; }; then
17203 ac_hi=$ac_mid
17204 else
17205 echo "$as_me: failed program was:" >&5
17206 sed 's/^/| /' conftest.$ac_ext >&5
17207
17208 ac_lo=`expr '(' $ac_mid ')' + 1`
17209 fi
17210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17211 done
17212 case $ac_lo in
17213 ?*) ac_cv_sizeof_long_long=$ac_lo;;
17214 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17215 See \`config.log' for more details." >&5
17216 echo "$as_me: error: cannot compute sizeof (long long), 77
17217 See \`config.log' for more details." >&2;}
17218 { (exit 1); exit 1; }; } ;;
17219 esac
17220 else
17221 if test "$cross_compiling" = yes; then
17222 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17223 See \`config.log' for more details." >&5
17224 echo "$as_me: error: cannot run test program while cross compiling
17225 See \`config.log' for more details." >&2;}
17226 { (exit 1); exit 1; }; }
17227 else
17228 cat >conftest.$ac_ext <<_ACEOF
17229 /* confdefs.h. */
17230 _ACEOF
17231 cat confdefs.h >>conftest.$ac_ext
17232 cat >>conftest.$ac_ext <<_ACEOF
17233 /* end confdefs.h. */
17234 $ac_includes_default
17235 long longval () { return (long) (sizeof (long long)); }
17236 unsigned long ulongval () { return (long) (sizeof (long long)); }
17237 #include <stdio.h>
17238 #include <stdlib.h>
17239 int
17240 main ()
17241 {
17242
17243 FILE *f = fopen ("conftest.val", "w");
17244 if (! f)
17245 exit (1);
17246 if (((long) (sizeof (long long))) < 0)
17247 {
17248 long i = longval ();
17249 if (i != ((long) (sizeof (long long))))
17250 exit (1);
17251 fprintf (f, "%ld\n", i);
17252 }
17253 else
17254 {
17255 unsigned long i = ulongval ();
17256 if (i != ((long) (sizeof (long long))))
17257 exit (1);
17258 fprintf (f, "%lu\n", i);
17259 }
17260 exit (ferror (f) || fclose (f) != 0);
17261
17262 ;
17263 return 0;
17264 }
17265 _ACEOF
17266 rm -f conftest$ac_exeext
17267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17268 (eval $ac_link) 2>&5
17269 ac_status=$?
17270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17271 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17273 (eval $ac_try) 2>&5
17274 ac_status=$?
17275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17276 (exit $ac_status); }; }; then
17277 ac_cv_sizeof_long_long=`cat conftest.val`
17278 else
17279 echo "$as_me: program exited with status $ac_status" >&5
17280 echo "$as_me: failed program was:" >&5
17281 sed 's/^/| /' conftest.$ac_ext >&5
17282
17283 ( exit $ac_status )
17284 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17285 See \`config.log' for more details." >&5
17286 echo "$as_me: error: cannot compute sizeof (long long), 77
17287 See \`config.log' for more details." >&2;}
17288 { (exit 1); exit 1; }; }
17289 fi
17290 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17291 fi
17292 fi
17293 rm -f conftest.val
17294 else
17295 ac_cv_sizeof_long_long=0
17296 fi
17297 fi
17298 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17299 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17300 cat >>confdefs.h <<_ACEOF
17301 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17302 _ACEOF
17303
17304
17305 ;;
17306 *-hp-hpux* )
17307 echo "$as_me:$LINENO: checking for long long" >&5
17308 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17309 if test "${ac_cv_type_long_long+set}" = set; then
17310 echo $ECHO_N "(cached) $ECHO_C" >&6
17311 else
17312 cat >conftest.$ac_ext <<_ACEOF
17313 /* confdefs.h. */
17314 _ACEOF
17315 cat confdefs.h >>conftest.$ac_ext
17316 cat >>conftest.$ac_ext <<_ACEOF
17317 /* end confdefs.h. */
17318 $ac_includes_default
17319 int
17320 main ()
17321 {
17322 if ((long long *) 0)
17323 return 0;
17324 if (sizeof (long long))
17325 return 0;
17326 ;
17327 return 0;
17328 }
17329 _ACEOF
17330 rm -f conftest.$ac_objext
17331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17332 (eval $ac_compile) 2>conftest.er1
17333 ac_status=$?
17334 grep -v '^ *+' conftest.er1 >conftest.err
17335 rm -f conftest.er1
17336 cat conftest.err >&5
17337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17338 (exit $ac_status); } &&
17339 { ac_try='test -z "$ac_c_werror_flag"
17340 || test ! -s conftest.err'
17341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17342 (eval $ac_try) 2>&5
17343 ac_status=$?
17344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17345 (exit $ac_status); }; } &&
17346 { ac_try='test -s conftest.$ac_objext'
17347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17348 (eval $ac_try) 2>&5
17349 ac_status=$?
17350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17351 (exit $ac_status); }; }; then
17352 ac_cv_type_long_long=yes
17353 else
17354 echo "$as_me: failed program was:" >&5
17355 sed 's/^/| /' conftest.$ac_ext >&5
17356
17357 ac_cv_type_long_long=no
17358 fi
17359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17360 fi
17361 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17362 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17363
17364 echo "$as_me:$LINENO: checking size of long long" >&5
17365 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17366 if test "${ac_cv_sizeof_long_long+set}" = set; then
17367 echo $ECHO_N "(cached) $ECHO_C" >&6
17368 else
17369 if test "$ac_cv_type_long_long" = yes; then
17370 # The cast to unsigned long works around a bug in the HP C Compiler
17371 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17372 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17373 # This bug is HP SR number 8606223364.
17374 if test "$cross_compiling" = yes; then
17375 # Depending upon the size, compute the lo and hi bounds.
17376 cat >conftest.$ac_ext <<_ACEOF
17377 /* confdefs.h. */
17378 _ACEOF
17379 cat confdefs.h >>conftest.$ac_ext
17380 cat >>conftest.$ac_ext <<_ACEOF
17381 /* end confdefs.h. */
17382 $ac_includes_default
17383 int
17384 main ()
17385 {
17386 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17387 test_array [0] = 0
17388
17389 ;
17390 return 0;
17391 }
17392 _ACEOF
17393 rm -f conftest.$ac_objext
17394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17395 (eval $ac_compile) 2>conftest.er1
17396 ac_status=$?
17397 grep -v '^ *+' conftest.er1 >conftest.err
17398 rm -f conftest.er1
17399 cat conftest.err >&5
17400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17401 (exit $ac_status); } &&
17402 { ac_try='test -z "$ac_c_werror_flag"
17403 || test ! -s conftest.err'
17404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17405 (eval $ac_try) 2>&5
17406 ac_status=$?
17407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17408 (exit $ac_status); }; } &&
17409 { ac_try='test -s conftest.$ac_objext'
17410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17411 (eval $ac_try) 2>&5
17412 ac_status=$?
17413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17414 (exit $ac_status); }; }; then
17415 ac_lo=0 ac_mid=0
17416 while :; do
17417 cat >conftest.$ac_ext <<_ACEOF
17418 /* confdefs.h. */
17419 _ACEOF
17420 cat confdefs.h >>conftest.$ac_ext
17421 cat >>conftest.$ac_ext <<_ACEOF
17422 /* end confdefs.h. */
17423 $ac_includes_default
17424 int
17425 main ()
17426 {
17427 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17428 test_array [0] = 0
17429
17430 ;
17431 return 0;
17432 }
17433 _ACEOF
17434 rm -f conftest.$ac_objext
17435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17436 (eval $ac_compile) 2>conftest.er1
17437 ac_status=$?
17438 grep -v '^ *+' conftest.er1 >conftest.err
17439 rm -f conftest.er1
17440 cat conftest.err >&5
17441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17442 (exit $ac_status); } &&
17443 { ac_try='test -z "$ac_c_werror_flag"
17444 || test ! -s conftest.err'
17445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17446 (eval $ac_try) 2>&5
17447 ac_status=$?
17448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17449 (exit $ac_status); }; } &&
17450 { ac_try='test -s conftest.$ac_objext'
17451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17452 (eval $ac_try) 2>&5
17453 ac_status=$?
17454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17455 (exit $ac_status); }; }; then
17456 ac_hi=$ac_mid; break
17457 else
17458 echo "$as_me: failed program was:" >&5
17459 sed 's/^/| /' conftest.$ac_ext >&5
17460
17461 ac_lo=`expr $ac_mid + 1`
17462 if test $ac_lo -le $ac_mid; then
17463 ac_lo= ac_hi=
17464 break
17465 fi
17466 ac_mid=`expr 2 '*' $ac_mid + 1`
17467 fi
17468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17469 done
17470 else
17471 echo "$as_me: failed program was:" >&5
17472 sed 's/^/| /' conftest.$ac_ext >&5
17473
17474 cat >conftest.$ac_ext <<_ACEOF
17475 /* confdefs.h. */
17476 _ACEOF
17477 cat confdefs.h >>conftest.$ac_ext
17478 cat >>conftest.$ac_ext <<_ACEOF
17479 /* end confdefs.h. */
17480 $ac_includes_default
17481 int
17482 main ()
17483 {
17484 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17485 test_array [0] = 0
17486
17487 ;
17488 return 0;
17489 }
17490 _ACEOF
17491 rm -f conftest.$ac_objext
17492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17493 (eval $ac_compile) 2>conftest.er1
17494 ac_status=$?
17495 grep -v '^ *+' conftest.er1 >conftest.err
17496 rm -f conftest.er1
17497 cat conftest.err >&5
17498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17499 (exit $ac_status); } &&
17500 { ac_try='test -z "$ac_c_werror_flag"
17501 || test ! -s conftest.err'
17502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17503 (eval $ac_try) 2>&5
17504 ac_status=$?
17505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17506 (exit $ac_status); }; } &&
17507 { ac_try='test -s conftest.$ac_objext'
17508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17509 (eval $ac_try) 2>&5
17510 ac_status=$?
17511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17512 (exit $ac_status); }; }; then
17513 ac_hi=-1 ac_mid=-1
17514 while :; do
17515 cat >conftest.$ac_ext <<_ACEOF
17516 /* confdefs.h. */
17517 _ACEOF
17518 cat confdefs.h >>conftest.$ac_ext
17519 cat >>conftest.$ac_ext <<_ACEOF
17520 /* end confdefs.h. */
17521 $ac_includes_default
17522 int
17523 main ()
17524 {
17525 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17526 test_array [0] = 0
17527
17528 ;
17529 return 0;
17530 }
17531 _ACEOF
17532 rm -f conftest.$ac_objext
17533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17534 (eval $ac_compile) 2>conftest.er1
17535 ac_status=$?
17536 grep -v '^ *+' conftest.er1 >conftest.err
17537 rm -f conftest.er1
17538 cat conftest.err >&5
17539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17540 (exit $ac_status); } &&
17541 { ac_try='test -z "$ac_c_werror_flag"
17542 || test ! -s conftest.err'
17543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17544 (eval $ac_try) 2>&5
17545 ac_status=$?
17546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17547 (exit $ac_status); }; } &&
17548 { ac_try='test -s conftest.$ac_objext'
17549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17550 (eval $ac_try) 2>&5
17551 ac_status=$?
17552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17553 (exit $ac_status); }; }; then
17554 ac_lo=$ac_mid; break
17555 else
17556 echo "$as_me: failed program was:" >&5
17557 sed 's/^/| /' conftest.$ac_ext >&5
17558
17559 ac_hi=`expr '(' $ac_mid ')' - 1`
17560 if test $ac_mid -le $ac_hi; then
17561 ac_lo= ac_hi=
17562 break
17563 fi
17564 ac_mid=`expr 2 '*' $ac_mid`
17565 fi
17566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17567 done
17568 else
17569 echo "$as_me: failed program was:" >&5
17570 sed 's/^/| /' conftest.$ac_ext >&5
17571
17572 ac_lo= ac_hi=
17573 fi
17574 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17575 fi
17576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17577 # Binary search between lo and hi bounds.
17578 while test "x$ac_lo" != "x$ac_hi"; do
17579 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17580 cat >conftest.$ac_ext <<_ACEOF
17581 /* confdefs.h. */
17582 _ACEOF
17583 cat confdefs.h >>conftest.$ac_ext
17584 cat >>conftest.$ac_ext <<_ACEOF
17585 /* end confdefs.h. */
17586 $ac_includes_default
17587 int
17588 main ()
17589 {
17590 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17591 test_array [0] = 0
17592
17593 ;
17594 return 0;
17595 }
17596 _ACEOF
17597 rm -f conftest.$ac_objext
17598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17599 (eval $ac_compile) 2>conftest.er1
17600 ac_status=$?
17601 grep -v '^ *+' conftest.er1 >conftest.err
17602 rm -f conftest.er1
17603 cat conftest.err >&5
17604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17605 (exit $ac_status); } &&
17606 { ac_try='test -z "$ac_c_werror_flag"
17607 || test ! -s conftest.err'
17608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17609 (eval $ac_try) 2>&5
17610 ac_status=$?
17611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17612 (exit $ac_status); }; } &&
17613 { ac_try='test -s conftest.$ac_objext'
17614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17615 (eval $ac_try) 2>&5
17616 ac_status=$?
17617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17618 (exit $ac_status); }; }; then
17619 ac_hi=$ac_mid
17620 else
17621 echo "$as_me: failed program was:" >&5
17622 sed 's/^/| /' conftest.$ac_ext >&5
17623
17624 ac_lo=`expr '(' $ac_mid ')' + 1`
17625 fi
17626 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17627 done
17628 case $ac_lo in
17629 ?*) ac_cv_sizeof_long_long=$ac_lo;;
17630 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17631 See \`config.log' for more details." >&5
17632 echo "$as_me: error: cannot compute sizeof (long long), 77
17633 See \`config.log' for more details." >&2;}
17634 { (exit 1); exit 1; }; } ;;
17635 esac
17636 else
17637 if test "$cross_compiling" = yes; then
17638 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17639 See \`config.log' for more details." >&5
17640 echo "$as_me: error: cannot run test program while cross compiling
17641 See \`config.log' for more details." >&2;}
17642 { (exit 1); exit 1; }; }
17643 else
17644 cat >conftest.$ac_ext <<_ACEOF
17645 /* confdefs.h. */
17646 _ACEOF
17647 cat confdefs.h >>conftest.$ac_ext
17648 cat >>conftest.$ac_ext <<_ACEOF
17649 /* end confdefs.h. */
17650 $ac_includes_default
17651 long longval () { return (long) (sizeof (long long)); }
17652 unsigned long ulongval () { return (long) (sizeof (long long)); }
17653 #include <stdio.h>
17654 #include <stdlib.h>
17655 int
17656 main ()
17657 {
17658
17659 FILE *f = fopen ("conftest.val", "w");
17660 if (! f)
17661 exit (1);
17662 if (((long) (sizeof (long long))) < 0)
17663 {
17664 long i = longval ();
17665 if (i != ((long) (sizeof (long long))))
17666 exit (1);
17667 fprintf (f, "%ld\n", i);
17668 }
17669 else
17670 {
17671 unsigned long i = ulongval ();
17672 if (i != ((long) (sizeof (long long))))
17673 exit (1);
17674 fprintf (f, "%lu\n", i);
17675 }
17676 exit (ferror (f) || fclose (f) != 0);
17677
17678 ;
17679 return 0;
17680 }
17681 _ACEOF
17682 rm -f conftest$ac_exeext
17683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17684 (eval $ac_link) 2>&5
17685 ac_status=$?
17686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17687 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17689 (eval $ac_try) 2>&5
17690 ac_status=$?
17691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17692 (exit $ac_status); }; }; then
17693 ac_cv_sizeof_long_long=`cat conftest.val`
17694 else
17695 echo "$as_me: program exited with status $ac_status" >&5
17696 echo "$as_me: failed program was:" >&5
17697 sed 's/^/| /' conftest.$ac_ext >&5
17698
17699 ( exit $ac_status )
17700 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17701 See \`config.log' for more details." >&5
17702 echo "$as_me: error: cannot compute sizeof (long long), 77
17703 See \`config.log' for more details." >&2;}
17704 { (exit 1); exit 1; }; }
17705 fi
17706 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17707 fi
17708 fi
17709 rm -f conftest.val
17710 else
17711 ac_cv_sizeof_long_long=0
17712 fi
17713 fi
17714 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17715 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17716 cat >>confdefs.h <<_ACEOF
17717 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17718 _ACEOF
17719
17720
17721 if test "$ac_cv_sizeof_long_long" != "0"; then
17722 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
17723 fi
17724 ;;
17725 * )
17726 echo "$as_me:$LINENO: checking for long long" >&5
17727 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17728 if test "${ac_cv_type_long_long+set}" = set; then
17729 echo $ECHO_N "(cached) $ECHO_C" >&6
17730 else
17731 cat >conftest.$ac_ext <<_ACEOF
17732 /* confdefs.h. */
17733 _ACEOF
17734 cat confdefs.h >>conftest.$ac_ext
17735 cat >>conftest.$ac_ext <<_ACEOF
17736 /* end confdefs.h. */
17737 $ac_includes_default
17738 int
17739 main ()
17740 {
17741 if ((long long *) 0)
17742 return 0;
17743 if (sizeof (long long))
17744 return 0;
17745 ;
17746 return 0;
17747 }
17748 _ACEOF
17749 rm -f conftest.$ac_objext
17750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17751 (eval $ac_compile) 2>conftest.er1
17752 ac_status=$?
17753 grep -v '^ *+' conftest.er1 >conftest.err
17754 rm -f conftest.er1
17755 cat conftest.err >&5
17756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17757 (exit $ac_status); } &&
17758 { ac_try='test -z "$ac_c_werror_flag"
17759 || test ! -s conftest.err'
17760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17761 (eval $ac_try) 2>&5
17762 ac_status=$?
17763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17764 (exit $ac_status); }; } &&
17765 { ac_try='test -s conftest.$ac_objext'
17766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17767 (eval $ac_try) 2>&5
17768 ac_status=$?
17769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17770 (exit $ac_status); }; }; then
17771 ac_cv_type_long_long=yes
17772 else
17773 echo "$as_me: failed program was:" >&5
17774 sed 's/^/| /' conftest.$ac_ext >&5
17775
17776 ac_cv_type_long_long=no
17777 fi
17778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17779 fi
17780 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17781 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17782
17783 echo "$as_me:$LINENO: checking size of long long" >&5
17784 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17785 if test "${ac_cv_sizeof_long_long+set}" = set; then
17786 echo $ECHO_N "(cached) $ECHO_C" >&6
17787 else
17788 if test "$ac_cv_type_long_long" = yes; then
17789 # The cast to unsigned long works around a bug in the HP C Compiler
17790 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17791 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17792 # This bug is HP SR number 8606223364.
17793 if test "$cross_compiling" = yes; then
17794 # Depending upon the size, compute the lo and hi bounds.
17795 cat >conftest.$ac_ext <<_ACEOF
17796 /* confdefs.h. */
17797 _ACEOF
17798 cat confdefs.h >>conftest.$ac_ext
17799 cat >>conftest.$ac_ext <<_ACEOF
17800 /* end confdefs.h. */
17801 $ac_includes_default
17802 int
17803 main ()
17804 {
17805 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17806 test_array [0] = 0
17807
17808 ;
17809 return 0;
17810 }
17811 _ACEOF
17812 rm -f conftest.$ac_objext
17813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17814 (eval $ac_compile) 2>conftest.er1
17815 ac_status=$?
17816 grep -v '^ *+' conftest.er1 >conftest.err
17817 rm -f conftest.er1
17818 cat conftest.err >&5
17819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17820 (exit $ac_status); } &&
17821 { ac_try='test -z "$ac_c_werror_flag"
17822 || test ! -s conftest.err'
17823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17824 (eval $ac_try) 2>&5
17825 ac_status=$?
17826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17827 (exit $ac_status); }; } &&
17828 { ac_try='test -s conftest.$ac_objext'
17829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17830 (eval $ac_try) 2>&5
17831 ac_status=$?
17832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17833 (exit $ac_status); }; }; then
17834 ac_lo=0 ac_mid=0
17835 while :; do
17836 cat >conftest.$ac_ext <<_ACEOF
17837 /* confdefs.h. */
17838 _ACEOF
17839 cat confdefs.h >>conftest.$ac_ext
17840 cat >>conftest.$ac_ext <<_ACEOF
17841 /* end confdefs.h. */
17842 $ac_includes_default
17843 int
17844 main ()
17845 {
17846 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17847 test_array [0] = 0
17848
17849 ;
17850 return 0;
17851 }
17852 _ACEOF
17853 rm -f conftest.$ac_objext
17854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17855 (eval $ac_compile) 2>conftest.er1
17856 ac_status=$?
17857 grep -v '^ *+' conftest.er1 >conftest.err
17858 rm -f conftest.er1
17859 cat conftest.err >&5
17860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17861 (exit $ac_status); } &&
17862 { ac_try='test -z "$ac_c_werror_flag"
17863 || 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_hi=$ac_mid; break
17876 else
17877 echo "$as_me: failed program was:" >&5
17878 sed 's/^/| /' conftest.$ac_ext >&5
17879
17880 ac_lo=`expr $ac_mid + 1`
17881 if test $ac_lo -le $ac_mid; then
17882 ac_lo= ac_hi=
17883 break
17884 fi
17885 ac_mid=`expr 2 '*' $ac_mid + 1`
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 cat >conftest.$ac_ext <<_ACEOF
17894 /* confdefs.h. */
17895 _ACEOF
17896 cat confdefs.h >>conftest.$ac_ext
17897 cat >>conftest.$ac_ext <<_ACEOF
17898 /* end confdefs.h. */
17899 $ac_includes_default
17900 int
17901 main ()
17902 {
17903 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17904 test_array [0] = 0
17905
17906 ;
17907 return 0;
17908 }
17909 _ACEOF
17910 rm -f conftest.$ac_objext
17911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17912 (eval $ac_compile) 2>conftest.er1
17913 ac_status=$?
17914 grep -v '^ *+' conftest.er1 >conftest.err
17915 rm -f conftest.er1
17916 cat conftest.err >&5
17917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17918 (exit $ac_status); } &&
17919 { ac_try='test -z "$ac_c_werror_flag"
17920 || test ! -s conftest.err'
17921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17922 (eval $ac_try) 2>&5
17923 ac_status=$?
17924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17925 (exit $ac_status); }; } &&
17926 { ac_try='test -s conftest.$ac_objext'
17927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17928 (eval $ac_try) 2>&5
17929 ac_status=$?
17930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17931 (exit $ac_status); }; }; then
17932 ac_hi=-1 ac_mid=-1
17933 while :; do
17934 cat >conftest.$ac_ext <<_ACEOF
17935 /* confdefs.h. */
17936 _ACEOF
17937 cat confdefs.h >>conftest.$ac_ext
17938 cat >>conftest.$ac_ext <<_ACEOF
17939 /* end confdefs.h. */
17940 $ac_includes_default
17941 int
17942 main ()
17943 {
17944 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17945 test_array [0] = 0
17946
17947 ;
17948 return 0;
17949 }
17950 _ACEOF
17951 rm -f conftest.$ac_objext
17952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17953 (eval $ac_compile) 2>conftest.er1
17954 ac_status=$?
17955 grep -v '^ *+' conftest.er1 >conftest.err
17956 rm -f conftest.er1
17957 cat conftest.err >&5
17958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17959 (exit $ac_status); } &&
17960 { ac_try='test -z "$ac_c_werror_flag"
17961 || test ! -s conftest.err'
17962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17963 (eval $ac_try) 2>&5
17964 ac_status=$?
17965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17966 (exit $ac_status); }; } &&
17967 { ac_try='test -s conftest.$ac_objext'
17968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17969 (eval $ac_try) 2>&5
17970 ac_status=$?
17971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17972 (exit $ac_status); }; }; then
17973 ac_lo=$ac_mid; break
17974 else
17975 echo "$as_me: failed program was:" >&5
17976 sed 's/^/| /' conftest.$ac_ext >&5
17977
17978 ac_hi=`expr '(' $ac_mid ')' - 1`
17979 if test $ac_mid -le $ac_hi; then
17980 ac_lo= ac_hi=
17981 break
17982 fi
17983 ac_mid=`expr 2 '*' $ac_mid`
17984 fi
17985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17986 done
17987 else
17988 echo "$as_me: failed program was:" >&5
17989 sed 's/^/| /' conftest.$ac_ext >&5
17990
17991 ac_lo= ac_hi=
17992 fi
17993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17994 fi
17995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17996 # Binary search between lo and hi bounds.
17997 while test "x$ac_lo" != "x$ac_hi"; do
17998 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17999 cat >conftest.$ac_ext <<_ACEOF
18000 /* confdefs.h. */
18001 _ACEOF
18002 cat confdefs.h >>conftest.$ac_ext
18003 cat >>conftest.$ac_ext <<_ACEOF
18004 /* end confdefs.h. */
18005 $ac_includes_default
18006 int
18007 main ()
18008 {
18009 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18010 test_array [0] = 0
18011
18012 ;
18013 return 0;
18014 }
18015 _ACEOF
18016 rm -f conftest.$ac_objext
18017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18018 (eval $ac_compile) 2>conftest.er1
18019 ac_status=$?
18020 grep -v '^ *+' conftest.er1 >conftest.err
18021 rm -f conftest.er1
18022 cat conftest.err >&5
18023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18024 (exit $ac_status); } &&
18025 { ac_try='test -z "$ac_c_werror_flag"
18026 || test ! -s conftest.err'
18027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18028 (eval $ac_try) 2>&5
18029 ac_status=$?
18030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18031 (exit $ac_status); }; } &&
18032 { ac_try='test -s conftest.$ac_objext'
18033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18034 (eval $ac_try) 2>&5
18035 ac_status=$?
18036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18037 (exit $ac_status); }; }; then
18038 ac_hi=$ac_mid
18039 else
18040 echo "$as_me: failed program was:" >&5
18041 sed 's/^/| /' conftest.$ac_ext >&5
18042
18043 ac_lo=`expr '(' $ac_mid ')' + 1`
18044 fi
18045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18046 done
18047 case $ac_lo in
18048 ?*) ac_cv_sizeof_long_long=$ac_lo;;
18049 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18050 See \`config.log' for more details." >&5
18051 echo "$as_me: error: cannot compute sizeof (long long), 77
18052 See \`config.log' for more details." >&2;}
18053 { (exit 1); exit 1; }; } ;;
18054 esac
18055 else
18056 if test "$cross_compiling" = yes; then
18057 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18058 See \`config.log' for more details." >&5
18059 echo "$as_me: error: cannot run test program while cross compiling
18060 See \`config.log' for more details." >&2;}
18061 { (exit 1); exit 1; }; }
18062 else
18063 cat >conftest.$ac_ext <<_ACEOF
18064 /* confdefs.h. */
18065 _ACEOF
18066 cat confdefs.h >>conftest.$ac_ext
18067 cat >>conftest.$ac_ext <<_ACEOF
18068 /* end confdefs.h. */
18069 $ac_includes_default
18070 long longval () { return (long) (sizeof (long long)); }
18071 unsigned long ulongval () { return (long) (sizeof (long long)); }
18072 #include <stdio.h>
18073 #include <stdlib.h>
18074 int
18075 main ()
18076 {
18077
18078 FILE *f = fopen ("conftest.val", "w");
18079 if (! f)
18080 exit (1);
18081 if (((long) (sizeof (long long))) < 0)
18082 {
18083 long i = longval ();
18084 if (i != ((long) (sizeof (long long))))
18085 exit (1);
18086 fprintf (f, "%ld\n", i);
18087 }
18088 else
18089 {
18090 unsigned long i = ulongval ();
18091 if (i != ((long) (sizeof (long long))))
18092 exit (1);
18093 fprintf (f, "%lu\n", i);
18094 }
18095 exit (ferror (f) || fclose (f) != 0);
18096
18097 ;
18098 return 0;
18099 }
18100 _ACEOF
18101 rm -f conftest$ac_exeext
18102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18103 (eval $ac_link) 2>&5
18104 ac_status=$?
18105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18106 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18108 (eval $ac_try) 2>&5
18109 ac_status=$?
18110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18111 (exit $ac_status); }; }; then
18112 ac_cv_sizeof_long_long=`cat conftest.val`
18113 else
18114 echo "$as_me: program exited with status $ac_status" >&5
18115 echo "$as_me: failed program was:" >&5
18116 sed 's/^/| /' conftest.$ac_ext >&5
18117
18118 ( exit $ac_status )
18119 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18120 See \`config.log' for more details." >&5
18121 echo "$as_me: error: cannot compute sizeof (long long), 77
18122 See \`config.log' for more details." >&2;}
18123 { (exit 1); exit 1; }; }
18124 fi
18125 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18126 fi
18127 fi
18128 rm -f conftest.val
18129 else
18130 ac_cv_sizeof_long_long=0
18131 fi
18132 fi
18133 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18134 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18135 cat >>confdefs.h <<_ACEOF
18136 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18137 _ACEOF
18138
18139
18140 esac
18141
18142 echo "$as_me:$LINENO: checking size of wchar_t" >&5
18143 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
18144 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
18145 echo $ECHO_N "(cached) $ECHO_C" >&6
18146 else
18147
18148 if test "$cross_compiling" = yes; then
18149
18150 case "${host}" in
18151 *-pc-msdosdjgpp )
18152 wx_cv_sizeof_wchar_t=0
18153 ;;
18154 * )
18155 wx_cv_sizeof_wchar_t=4
18156 ;;
18157 esac
18158
18159
18160 else
18161 cat >conftest.$ac_ext <<_ACEOF
18162 /* confdefs.h. */
18163 _ACEOF
18164 cat confdefs.h >>conftest.$ac_ext
18165 cat >>conftest.$ac_ext <<_ACEOF
18166 /* end confdefs.h. */
18167
18168 /* DJGPP only has fake wchar_t: */
18169 #ifdef __DJGPP__
18170 # error "fake wchar_t"
18171 #endif
18172 #ifdef HAVE_WCHAR_H
18173 # ifdef __CYGWIN__
18174 # include <stddef.h>
18175 # endif
18176 # include <wchar.h>
18177 #endif
18178 #ifdef HAVE_STDLIB_H
18179 # include <stdlib.h>
18180 #endif
18181 #include <stdio.h>
18182 int main()
18183 {
18184 FILE *f=fopen("conftestval", "w");
18185 if (!f) exit(1);
18186 fprintf(f, "%i", sizeof(wchar_t));
18187 exit(0);
18188 }
18189
18190 _ACEOF
18191 rm -f conftest$ac_exeext
18192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18193 (eval $ac_link) 2>&5
18194 ac_status=$?
18195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18196 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18198 (eval $ac_try) 2>&5
18199 ac_status=$?
18200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18201 (exit $ac_status); }; }; then
18202 wx_cv_sizeof_wchar_t=`cat conftestval`
18203 else
18204 echo "$as_me: program exited with status $ac_status" >&5
18205 echo "$as_me: failed program was:" >&5
18206 sed 's/^/| /' conftest.$ac_ext >&5
18207
18208 ( exit $ac_status )
18209 wx_cv_sizeof_wchar_t=0
18210 fi
18211 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18212 fi
18213
18214 fi
18215 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
18216 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
18217
18218 cat >>confdefs.h <<_ACEOF
18219 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
18220 _ACEOF
18221
18222
18223 echo "$as_me:$LINENO: checking for va_copy" >&5
18224 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
18225 if test "${wx_cv_func_va_copy+set}" = set; then
18226 echo $ECHO_N "(cached) $ECHO_C" >&6
18227 else
18228
18229 cat >conftest.$ac_ext <<_ACEOF
18230
18231 #include <stdarg.h>
18232 void foo(char *f, ...)
18233 {
18234 va_list ap1, ap2;
18235 va_start(ap1, f);
18236 va_copy(ap2, ap1);
18237 va_end(ap2);
18238 va_end(ap1);
18239 }
18240 _ACEOF
18241 rm -f conftest.$ac_objext conftest$ac_exeext
18242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18243 (eval $ac_link) 2>conftest.er1
18244 ac_status=$?
18245 grep -v '^ *+' conftest.er1 >conftest.err
18246 rm -f conftest.er1
18247 cat conftest.err >&5
18248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18249 (exit $ac_status); } &&
18250 { ac_try='test -z "$ac_c_werror_flag"
18251 || test ! -s conftest.err'
18252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18253 (eval $ac_try) 2>&5
18254 ac_status=$?
18255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18256 (exit $ac_status); }; } &&
18257 { ac_try='test -s conftest$ac_exeext'
18258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18259 (eval $ac_try) 2>&5
18260 ac_status=$?
18261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18262 (exit $ac_status); }; }; then
18263 wx_cv_func_va_copy=yes
18264 else
18265 echo "$as_me: failed program was:" >&5
18266 sed 's/^/| /' conftest.$ac_ext >&5
18267
18268 wx_cv_func_va_copy=no
18269
18270 fi
18271 rm -f conftest.err conftest.$ac_objext \
18272 conftest$ac_exeext conftest.$ac_ext
18273
18274
18275 fi
18276 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
18277 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
18278
18279 if test $wx_cv_func_va_copy = "yes"; then
18280 cat >>confdefs.h <<\_ACEOF
18281 #define HAVE_VA_COPY 1
18282 _ACEOF
18283
18284 else
18285 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
18286 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
18287 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
18288 echo $ECHO_N "(cached) $ECHO_C" >&6
18289 else
18290
18291 if test "$cross_compiling" = yes; then
18292 wx_cv_type_va_list_lvalue=yes
18293
18294 else
18295 cat >conftest.$ac_ext <<_ACEOF
18296
18297 #include <stdarg.h>
18298 int foo(char *f, ...)
18299 {
18300 va_list ap1, ap2;
18301 va_start(ap1, f);
18302 ap2 = ap1;
18303 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
18304 return 1;
18305 va_end(ap2);
18306 va_end(ap1);
18307 return 0;
18308 }
18309 int main()
18310 {
18311 return foo("hi", 17);
18312 }
18313 _ACEOF
18314 rm -f conftest$ac_exeext
18315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18316 (eval $ac_link) 2>&5
18317 ac_status=$?
18318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18319 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18321 (eval $ac_try) 2>&5
18322 ac_status=$?
18323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18324 (exit $ac_status); }; }; then
18325 wx_cv_type_va_list_lvalue=yes
18326 else
18327 echo "$as_me: program exited with status $ac_status" >&5
18328 echo "$as_me: failed program was:" >&5
18329 sed 's/^/| /' conftest.$ac_ext >&5
18330
18331 ( exit $ac_status )
18332 wx_cv_type_va_list_lvalue=no
18333 fi
18334 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18335 fi
18336
18337
18338 fi
18339 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
18340 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
18341
18342 if test $wx_cv_type_va_list_lvalue != "yes"; then
18343 cat >>confdefs.h <<\_ACEOF
18344 #define VA_LIST_IS_ARRAY 1
18345 _ACEOF
18346
18347 fi
18348 fi
18349
18350 # Check whether --enable-largefile or --disable-largefile was given.
18351 if test "${enable_largefile+set}" = set; then
18352 enableval="$enable_largefile"
18353
18354 fi;
18355 if test "$enable_largefile" != no; then
18356 wx_largefile=no
18357
18358 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
18359 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
18360 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
18361 echo $ECHO_N "(cached) $ECHO_C" >&6
18362 else
18363
18364 cat >conftest.$ac_ext <<_ACEOF
18365 /* confdefs.h. */
18366 _ACEOF
18367 cat confdefs.h >>conftest.$ac_ext
18368 cat >>conftest.$ac_ext <<_ACEOF
18369 /* end confdefs.h. */
18370 #define _FILE_OFFSET_BITS 64
18371 #include <sys/types.h>
18372 int
18373 main ()
18374 {
18375 typedef struct {
18376 unsigned int field: sizeof(off_t) == 8;
18377 } wxlf;
18378
18379 ;
18380 return 0;
18381 }
18382 _ACEOF
18383 rm -f conftest.$ac_objext
18384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18385 (eval $ac_compile) 2>conftest.er1
18386 ac_status=$?
18387 grep -v '^ *+' conftest.er1 >conftest.err
18388 rm -f conftest.er1
18389 cat conftest.err >&5
18390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18391 (exit $ac_status); } &&
18392 { ac_try='test -z "$ac_c_werror_flag"
18393 || test ! -s conftest.err'
18394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18395 (eval $ac_try) 2>&5
18396 ac_status=$?
18397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18398 (exit $ac_status); }; } &&
18399 { ac_try='test -s conftest.$ac_objext'
18400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18401 (eval $ac_try) 2>&5
18402 ac_status=$?
18403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18404 (exit $ac_status); }; }; then
18405 ac_cv_sys_file_offset_bits=64
18406 else
18407 echo "$as_me: failed program was:" >&5
18408 sed 's/^/| /' conftest.$ac_ext >&5
18409
18410 ac_cv_sys_file_offset_bits=no
18411 fi
18412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18413
18414
18415 fi
18416 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
18417 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
18418
18419 if test "$ac_cv_sys_file_offset_bits" != no; then
18420 wx_largefile=yes
18421 cat >>confdefs.h <<_ACEOF
18422 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18423 _ACEOF
18424
18425 fi
18426
18427 if test "x$wx_largefile" != "xyes"; then
18428
18429 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
18430 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
18431 if test "${ac_cv_sys_large_files+set}" = set; then
18432 echo $ECHO_N "(cached) $ECHO_C" >&6
18433 else
18434
18435 cat >conftest.$ac_ext <<_ACEOF
18436 /* confdefs.h. */
18437 _ACEOF
18438 cat confdefs.h >>conftest.$ac_ext
18439 cat >>conftest.$ac_ext <<_ACEOF
18440 /* end confdefs.h. */
18441 #define _LARGE_FILES 1
18442 #include <sys/types.h>
18443 int
18444 main ()
18445 {
18446 typedef struct {
18447 unsigned int field: sizeof(off_t) == 8;
18448 } wxlf;
18449
18450 ;
18451 return 0;
18452 }
18453 _ACEOF
18454 rm -f conftest.$ac_objext
18455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18456 (eval $ac_compile) 2>conftest.er1
18457 ac_status=$?
18458 grep -v '^ *+' conftest.er1 >conftest.err
18459 rm -f conftest.er1
18460 cat conftest.err >&5
18461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18462 (exit $ac_status); } &&
18463 { ac_try='test -z "$ac_c_werror_flag"
18464 || test ! -s conftest.err'
18465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18466 (eval $ac_try) 2>&5
18467 ac_status=$?
18468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18469 (exit $ac_status); }; } &&
18470 { ac_try='test -s conftest.$ac_objext'
18471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18472 (eval $ac_try) 2>&5
18473 ac_status=$?
18474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18475 (exit $ac_status); }; }; then
18476 ac_cv_sys_large_files=1
18477 else
18478 echo "$as_me: failed program was:" >&5
18479 sed 's/^/| /' conftest.$ac_ext >&5
18480
18481 ac_cv_sys_large_files=no
18482 fi
18483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18484
18485
18486 fi
18487 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
18488 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
18489
18490 if test "$ac_cv_sys_large_files" != no; then
18491 wx_largefile=yes
18492 cat >>confdefs.h <<_ACEOF
18493 #define _LARGE_FILES $ac_cv_sys_large_files
18494 _ACEOF
18495
18496 fi
18497
18498 fi
18499
18500 echo "$as_me:$LINENO: checking if large file support is available" >&5
18501 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
18502 if test "x$wx_largefile" = "xyes"; then
18503 cat >>confdefs.h <<\_ACEOF
18504 #define HAVE_LARGEFILE_SUPPORT 1
18505 _ACEOF
18506
18507 fi
18508 echo "$as_me:$LINENO: result: $wx_largefile" >&5
18509 echo "${ECHO_T}$wx_largefile" >&6
18510 fi
18511
18512
18513 if test "x$wx_largefile" = "xyes"; then
18514 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
18515 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
18516 else
18517 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
18518 fi
18519 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
18520 fi
18521
18522 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
18523 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
18524 if test "${ac_cv_c_bigendian+set}" = set; then
18525 echo $ECHO_N "(cached) $ECHO_C" >&6
18526 else
18527 ac_cv_c_bigendian=unknown
18528 # See if sys/param.h defines the BYTE_ORDER macro.
18529 cat >conftest.$ac_ext <<_ACEOF
18530 /* confdefs.h. */
18531 _ACEOF
18532 cat confdefs.h >>conftest.$ac_ext
18533 cat >>conftest.$ac_ext <<_ACEOF
18534 /* end confdefs.h. */
18535 #include <sys/types.h>
18536 #include <sys/param.h>
18537 int
18538 main ()
18539 {
18540
18541 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
18542 bogus endian macros
18543 #endif
18544 ;
18545 return 0;
18546 }
18547 _ACEOF
18548 rm -f conftest.$ac_objext
18549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18550 (eval $ac_compile) 2>conftest.er1
18551 ac_status=$?
18552 grep -v '^ *+' conftest.er1 >conftest.err
18553 rm -f conftest.er1
18554 cat conftest.err >&5
18555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18556 (exit $ac_status); } &&
18557 { ac_try='test -z "$ac_c_werror_flag"
18558 || test ! -s conftest.err'
18559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18560 (eval $ac_try) 2>&5
18561 ac_status=$?
18562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18563 (exit $ac_status); }; } &&
18564 { ac_try='test -s conftest.$ac_objext'
18565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18566 (eval $ac_try) 2>&5
18567 ac_status=$?
18568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18569 (exit $ac_status); }; }; then
18570 # It does; now see whether it defined to BIG_ENDIAN or not.
18571 cat >conftest.$ac_ext <<_ACEOF
18572 /* confdefs.h. */
18573 _ACEOF
18574 cat confdefs.h >>conftest.$ac_ext
18575 cat >>conftest.$ac_ext <<_ACEOF
18576 /* end confdefs.h. */
18577 #include <sys/types.h>
18578 #include <sys/param.h>
18579 int
18580 main ()
18581 {
18582
18583 #if BYTE_ORDER != BIG_ENDIAN
18584 not big endian
18585 #endif
18586 ;
18587 return 0;
18588 }
18589 _ACEOF
18590 rm -f conftest.$ac_objext
18591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18592 (eval $ac_compile) 2>conftest.er1
18593 ac_status=$?
18594 grep -v '^ *+' conftest.er1 >conftest.err
18595 rm -f conftest.er1
18596 cat conftest.err >&5
18597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18598 (exit $ac_status); } &&
18599 { ac_try='test -z "$ac_c_werror_flag"
18600 || test ! -s conftest.err'
18601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18602 (eval $ac_try) 2>&5
18603 ac_status=$?
18604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18605 (exit $ac_status); }; } &&
18606 { ac_try='test -s conftest.$ac_objext'
18607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18608 (eval $ac_try) 2>&5
18609 ac_status=$?
18610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18611 (exit $ac_status); }; }; then
18612 ac_cv_c_bigendian=yes
18613 else
18614 echo "$as_me: failed program was:" >&5
18615 sed 's/^/| /' conftest.$ac_ext >&5
18616
18617 ac_cv_c_bigendian=no
18618 fi
18619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18620 else
18621 echo "$as_me: failed program was:" >&5
18622 sed 's/^/| /' conftest.$ac_ext >&5
18623
18624 fi
18625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18626 if test $ac_cv_c_bigendian = unknown; then
18627 if test "$cross_compiling" = yes; then
18628 ac_cv_c_bigendian=unknown
18629 else
18630 cat >conftest.$ac_ext <<_ACEOF
18631 /* confdefs.h. */
18632 _ACEOF
18633 cat confdefs.h >>conftest.$ac_ext
18634 cat >>conftest.$ac_ext <<_ACEOF
18635 /* end confdefs.h. */
18636 main () {
18637 /* Are we little or big endian? From Harbison&Steele. */
18638 union
18639 {
18640 long l;
18641 char c[sizeof (long)];
18642 } u;
18643 u.l = 1;
18644 exit (u.c[sizeof (long) - 1] == 1);
18645 }
18646 _ACEOF
18647 rm -f conftest$ac_exeext
18648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18649 (eval $ac_link) 2>&5
18650 ac_status=$?
18651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18652 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18654 (eval $ac_try) 2>&5
18655 ac_status=$?
18656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18657 (exit $ac_status); }; }; then
18658 ac_cv_c_bigendian=no
18659 else
18660 echo "$as_me: program exited with status $ac_status" >&5
18661 echo "$as_me: failed program was:" >&5
18662 sed 's/^/| /' conftest.$ac_ext >&5
18663
18664 ( exit $ac_status )
18665 ac_cv_c_bigendian=yes
18666 fi
18667 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18668 fi
18669 fi
18670 fi
18671 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
18672 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
18673 if test $ac_cv_c_bigendian = unknown; then
18674 { 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
18675 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;}
18676 fi
18677 if test $ac_cv_c_bigendian = yes; then
18678 cat >>confdefs.h <<\_ACEOF
18679 #define WORDS_BIGENDIAN 1
18680 _ACEOF
18681
18682 fi
18683
18684
18685 ac_ext=cc
18686 ac_cpp='$CXXCPP $CPPFLAGS'
18687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18690 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
18691 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
18692 if test -z "$CXXCPP"; then
18693 if test "${ac_cv_prog_CXXCPP+set}" = set; then
18694 echo $ECHO_N "(cached) $ECHO_C" >&6
18695 else
18696 # Double quotes because CXXCPP needs to be expanded
18697 for CXXCPP in "$CXX -E" "/lib/cpp"
18698 do
18699 ac_preproc_ok=false
18700 for ac_cxx_preproc_warn_flag in '' yes
18701 do
18702 # Use a header file that comes with gcc, so configuring glibc
18703 # with a fresh cross-compiler works.
18704 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18705 # <limits.h> exists even on freestanding compilers.
18706 # On the NeXT, cc -E runs the code through the compiler's parser,
18707 # not just through cpp. "Syntax error" is here to catch this case.
18708 cat >conftest.$ac_ext <<_ACEOF
18709 /* confdefs.h. */
18710 _ACEOF
18711 cat confdefs.h >>conftest.$ac_ext
18712 cat >>conftest.$ac_ext <<_ACEOF
18713 /* end confdefs.h. */
18714 #ifdef __STDC__
18715 # include <limits.h>
18716 #else
18717 # include <assert.h>
18718 #endif
18719 Syntax error
18720 _ACEOF
18721 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18722 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18723 ac_status=$?
18724 grep -v '^ *+' conftest.er1 >conftest.err
18725 rm -f conftest.er1
18726 cat conftest.err >&5
18727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18728 (exit $ac_status); } >/dev/null; then
18729 if test -s conftest.err; then
18730 ac_cpp_err=$ac_cxx_preproc_warn_flag
18731 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18732 else
18733 ac_cpp_err=
18734 fi
18735 else
18736 ac_cpp_err=yes
18737 fi
18738 if test -z "$ac_cpp_err"; then
18739 :
18740 else
18741 echo "$as_me: failed program was:" >&5
18742 sed 's/^/| /' conftest.$ac_ext >&5
18743
18744 # Broken: fails on valid input.
18745 continue
18746 fi
18747 rm -f conftest.err conftest.$ac_ext
18748
18749 # OK, works on sane cases. Now check whether non-existent headers
18750 # can be detected and how.
18751 cat >conftest.$ac_ext <<_ACEOF
18752 /* confdefs.h. */
18753 _ACEOF
18754 cat confdefs.h >>conftest.$ac_ext
18755 cat >>conftest.$ac_ext <<_ACEOF
18756 /* end confdefs.h. */
18757 #include <ac_nonexistent.h>
18758 _ACEOF
18759 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18760 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18761 ac_status=$?
18762 grep -v '^ *+' conftest.er1 >conftest.err
18763 rm -f conftest.er1
18764 cat conftest.err >&5
18765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18766 (exit $ac_status); } >/dev/null; then
18767 if test -s conftest.err; then
18768 ac_cpp_err=$ac_cxx_preproc_warn_flag
18769 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18770 else
18771 ac_cpp_err=
18772 fi
18773 else
18774 ac_cpp_err=yes
18775 fi
18776 if test -z "$ac_cpp_err"; then
18777 # Broken: success on invalid input.
18778 continue
18779 else
18780 echo "$as_me: failed program was:" >&5
18781 sed 's/^/| /' conftest.$ac_ext >&5
18782
18783 # Passes both tests.
18784 ac_preproc_ok=:
18785 break
18786 fi
18787 rm -f conftest.err conftest.$ac_ext
18788
18789 done
18790 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18791 rm -f conftest.err conftest.$ac_ext
18792 if $ac_preproc_ok; then
18793 break
18794 fi
18795
18796 done
18797 ac_cv_prog_CXXCPP=$CXXCPP
18798
18799 fi
18800 CXXCPP=$ac_cv_prog_CXXCPP
18801 else
18802 ac_cv_prog_CXXCPP=$CXXCPP
18803 fi
18804 echo "$as_me:$LINENO: result: $CXXCPP" >&5
18805 echo "${ECHO_T}$CXXCPP" >&6
18806 ac_preproc_ok=false
18807 for ac_cxx_preproc_warn_flag in '' yes
18808 do
18809 # Use a header file that comes with gcc, so configuring glibc
18810 # with a fresh cross-compiler works.
18811 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18812 # <limits.h> exists even on freestanding compilers.
18813 # On the NeXT, cc -E runs the code through the compiler's parser,
18814 # not just through cpp. "Syntax error" is here to catch this case.
18815 cat >conftest.$ac_ext <<_ACEOF
18816 /* confdefs.h. */
18817 _ACEOF
18818 cat confdefs.h >>conftest.$ac_ext
18819 cat >>conftest.$ac_ext <<_ACEOF
18820 /* end confdefs.h. */
18821 #ifdef __STDC__
18822 # include <limits.h>
18823 #else
18824 # include <assert.h>
18825 #endif
18826 Syntax error
18827 _ACEOF
18828 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18829 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18830 ac_status=$?
18831 grep -v '^ *+' conftest.er1 >conftest.err
18832 rm -f conftest.er1
18833 cat conftest.err >&5
18834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18835 (exit $ac_status); } >/dev/null; then
18836 if test -s conftest.err; then
18837 ac_cpp_err=$ac_cxx_preproc_warn_flag
18838 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18839 else
18840 ac_cpp_err=
18841 fi
18842 else
18843 ac_cpp_err=yes
18844 fi
18845 if test -z "$ac_cpp_err"; then
18846 :
18847 else
18848 echo "$as_me: failed program was:" >&5
18849 sed 's/^/| /' conftest.$ac_ext >&5
18850
18851 # Broken: fails on valid input.
18852 continue
18853 fi
18854 rm -f conftest.err conftest.$ac_ext
18855
18856 # OK, works on sane cases. Now check whether non-existent headers
18857 # can be detected and how.
18858 cat >conftest.$ac_ext <<_ACEOF
18859 /* confdefs.h. */
18860 _ACEOF
18861 cat confdefs.h >>conftest.$ac_ext
18862 cat >>conftest.$ac_ext <<_ACEOF
18863 /* end confdefs.h. */
18864 #include <ac_nonexistent.h>
18865 _ACEOF
18866 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18867 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18868 ac_status=$?
18869 grep -v '^ *+' conftest.er1 >conftest.err
18870 rm -f conftest.er1
18871 cat conftest.err >&5
18872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18873 (exit $ac_status); } >/dev/null; then
18874 if test -s conftest.err; then
18875 ac_cpp_err=$ac_cxx_preproc_warn_flag
18876 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18877 else
18878 ac_cpp_err=
18879 fi
18880 else
18881 ac_cpp_err=yes
18882 fi
18883 if test -z "$ac_cpp_err"; then
18884 # Broken: success on invalid input.
18885 continue
18886 else
18887 echo "$as_me: failed program was:" >&5
18888 sed 's/^/| /' conftest.$ac_ext >&5
18889
18890 # Passes both tests.
18891 ac_preproc_ok=:
18892 break
18893 fi
18894 rm -f conftest.err conftest.$ac_ext
18895
18896 done
18897 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18898 rm -f conftest.err conftest.$ac_ext
18899 if $ac_preproc_ok; then
18900 :
18901 else
18902 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18903 See \`config.log' for more details." >&5
18904 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18905 See \`config.log' for more details." >&2;}
18906 { (exit 1); exit 1; }; }
18907 fi
18908
18909 ac_ext=cc
18910 ac_cpp='$CXXCPP $CPPFLAGS'
18911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18914
18915
18916
18917
18918
18919 ac_ext=cc
18920 ac_cpp='$CXXCPP $CPPFLAGS'
18921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18924
18925
18926
18927 for ac_header in iostream
18928 do
18929 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18930 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18931 echo "$as_me:$LINENO: checking for $ac_header" >&5
18932 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18933 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18934 echo $ECHO_N "(cached) $ECHO_C" >&6
18935 fi
18936 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18937 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18938 else
18939 # Is the header compilable?
18940 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18941 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18942 cat >conftest.$ac_ext <<_ACEOF
18943 /* confdefs.h. */
18944 _ACEOF
18945 cat confdefs.h >>conftest.$ac_ext
18946 cat >>conftest.$ac_ext <<_ACEOF
18947 /* end confdefs.h. */
18948 $ac_includes_default
18949 #include <$ac_header>
18950 _ACEOF
18951 rm -f conftest.$ac_objext
18952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18953 (eval $ac_compile) 2>conftest.er1
18954 ac_status=$?
18955 grep -v '^ *+' conftest.er1 >conftest.err
18956 rm -f conftest.er1
18957 cat conftest.err >&5
18958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18959 (exit $ac_status); } &&
18960 { ac_try='test -z "$ac_cxx_werror_flag"
18961 || test ! -s conftest.err'
18962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18963 (eval $ac_try) 2>&5
18964 ac_status=$?
18965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18966 (exit $ac_status); }; } &&
18967 { ac_try='test -s conftest.$ac_objext'
18968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18969 (eval $ac_try) 2>&5
18970 ac_status=$?
18971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18972 (exit $ac_status); }; }; then
18973 ac_header_compiler=yes
18974 else
18975 echo "$as_me: failed program was:" >&5
18976 sed 's/^/| /' conftest.$ac_ext >&5
18977
18978 ac_header_compiler=no
18979 fi
18980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18981 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18982 echo "${ECHO_T}$ac_header_compiler" >&6
18983
18984 # Is the header present?
18985 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18986 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18987 cat >conftest.$ac_ext <<_ACEOF
18988 /* confdefs.h. */
18989 _ACEOF
18990 cat confdefs.h >>conftest.$ac_ext
18991 cat >>conftest.$ac_ext <<_ACEOF
18992 /* end confdefs.h. */
18993 #include <$ac_header>
18994 _ACEOF
18995 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18996 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18997 ac_status=$?
18998 grep -v '^ *+' conftest.er1 >conftest.err
18999 rm -f conftest.er1
19000 cat conftest.err >&5
19001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19002 (exit $ac_status); } >/dev/null; then
19003 if test -s conftest.err; then
19004 ac_cpp_err=$ac_cxx_preproc_warn_flag
19005 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
19006 else
19007 ac_cpp_err=
19008 fi
19009 else
19010 ac_cpp_err=yes
19011 fi
19012 if test -z "$ac_cpp_err"; then
19013 ac_header_preproc=yes
19014 else
19015 echo "$as_me: failed program was:" >&5
19016 sed 's/^/| /' conftest.$ac_ext >&5
19017
19018 ac_header_preproc=no
19019 fi
19020 rm -f conftest.err conftest.$ac_ext
19021 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19022 echo "${ECHO_T}$ac_header_preproc" >&6
19023
19024 # So? What about this header?
19025 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19026 yes:no: )
19027 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19028 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19029 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19030 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19031 ac_header_preproc=yes
19032 ;;
19033 no:yes:* )
19034 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19035 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19036 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19037 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19038 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19039 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19040 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19041 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19042 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19043 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19044 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19045 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19046 (
19047 cat <<\_ASBOX
19048 ## ----------------------------------------- ##
19049 ## Report this to wx-dev@lists.wxwidgets.org ##
19050 ## ----------------------------------------- ##
19051 _ASBOX
19052 ) |
19053 sed "s/^/$as_me: WARNING: /" >&2
19054 ;;
19055 esac
19056 echo "$as_me:$LINENO: checking for $ac_header" >&5
19057 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19058 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19059 echo $ECHO_N "(cached) $ECHO_C" >&6
19060 else
19061 eval "$as_ac_Header=\$ac_header_preproc"
19062 fi
19063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19064 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19065
19066 fi
19067 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19068 cat >>confdefs.h <<_ACEOF
19069 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19070 _ACEOF
19071
19072 fi
19073
19074 done
19075
19076
19077 if test "$ac_cv_header_iostream" = "yes" ; then
19078 :
19079 else
19080 cat >>confdefs.h <<\_ACEOF
19081 #define wxUSE_IOSTREAMH 1
19082 _ACEOF
19083
19084 fi
19085
19086 ac_ext=c
19087 ac_cpp='$CPP $CPPFLAGS'
19088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19091
19092
19093
19094
19095 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
19096 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
19097 if test "${wx_cv_cpp_bool+set}" = set; then
19098 echo $ECHO_N "(cached) $ECHO_C" >&6
19099 else
19100
19101
19102
19103 ac_ext=cc
19104 ac_cpp='$CXXCPP $CPPFLAGS'
19105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19108
19109
19110 cat >conftest.$ac_ext <<_ACEOF
19111 /* confdefs.h. */
19112 _ACEOF
19113 cat confdefs.h >>conftest.$ac_ext
19114 cat >>conftest.$ac_ext <<_ACEOF
19115 /* end confdefs.h. */
19116
19117
19118 int
19119 main ()
19120 {
19121
19122 bool b = true;
19123
19124 return 0;
19125
19126 ;
19127 return 0;
19128 }
19129 _ACEOF
19130 rm -f conftest.$ac_objext
19131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19132 (eval $ac_compile) 2>conftest.er1
19133 ac_status=$?
19134 grep -v '^ *+' conftest.er1 >conftest.err
19135 rm -f conftest.er1
19136 cat conftest.err >&5
19137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19138 (exit $ac_status); } &&
19139 { ac_try='test -z "$ac_cxx_werror_flag"
19140 || test ! -s conftest.err'
19141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19142 (eval $ac_try) 2>&5
19143 ac_status=$?
19144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19145 (exit $ac_status); }; } &&
19146 { ac_try='test -s conftest.$ac_objext'
19147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19148 (eval $ac_try) 2>&5
19149 ac_status=$?
19150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19151 (exit $ac_status); }; }; then
19152
19153 wx_cv_cpp_bool=yes
19154
19155 else
19156 echo "$as_me: failed program was:" >&5
19157 sed 's/^/| /' conftest.$ac_ext >&5
19158
19159
19160 wx_cv_cpp_bool=no
19161
19162
19163 fi
19164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19165
19166 ac_ext=c
19167 ac_cpp='$CPP $CPPFLAGS'
19168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19171
19172
19173 fi
19174 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
19175 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
19176
19177 if test "$wx_cv_cpp_bool" = "yes"; then
19178 cat >>confdefs.h <<\_ACEOF
19179 #define HAVE_BOOL 1
19180 _ACEOF
19181
19182 fi
19183
19184
19185
19186 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
19187 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
19188 if test "${wx_cv_explicit+set}" = set; then
19189 echo $ECHO_N "(cached) $ECHO_C" >&6
19190 else
19191
19192
19193
19194 ac_ext=cc
19195 ac_cpp='$CXXCPP $CPPFLAGS'
19196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19199
19200
19201 cat >conftest.$ac_ext <<_ACEOF
19202 /* confdefs.h. */
19203 _ACEOF
19204 cat confdefs.h >>conftest.$ac_ext
19205 cat >>conftest.$ac_ext <<_ACEOF
19206 /* end confdefs.h. */
19207
19208 class Foo { public: explicit Foo(int) {} };
19209
19210 int
19211 main ()
19212 {
19213
19214 return 0;
19215
19216 ;
19217 return 0;
19218 }
19219 _ACEOF
19220 rm -f conftest.$ac_objext
19221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19222 (eval $ac_compile) 2>conftest.er1
19223 ac_status=$?
19224 grep -v '^ *+' conftest.er1 >conftest.err
19225 rm -f conftest.er1
19226 cat conftest.err >&5
19227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19228 (exit $ac_status); } &&
19229 { ac_try='test -z "$ac_cxx_werror_flag"
19230 || test ! -s conftest.err'
19231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19232 (eval $ac_try) 2>&5
19233 ac_status=$?
19234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19235 (exit $ac_status); }; } &&
19236 { ac_try='test -s conftest.$ac_objext'
19237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19238 (eval $ac_try) 2>&5
19239 ac_status=$?
19240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19241 (exit $ac_status); }; }; then
19242
19243 cat >conftest.$ac_ext <<_ACEOF
19244 /* confdefs.h. */
19245 _ACEOF
19246 cat confdefs.h >>conftest.$ac_ext
19247 cat >>conftest.$ac_ext <<_ACEOF
19248 /* end confdefs.h. */
19249
19250 class Foo { public: explicit Foo(int) {} };
19251 static void TakeFoo(const Foo& foo) { }
19252
19253 int
19254 main ()
19255 {
19256
19257 TakeFoo(17);
19258 return 0;
19259
19260 ;
19261 return 0;
19262 }
19263 _ACEOF
19264 rm -f conftest.$ac_objext
19265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19266 (eval $ac_compile) 2>conftest.er1
19267 ac_status=$?
19268 grep -v '^ *+' conftest.er1 >conftest.err
19269 rm -f conftest.er1
19270 cat conftest.err >&5
19271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19272 (exit $ac_status); } &&
19273 { ac_try='test -z "$ac_cxx_werror_flag"
19274 || test ! -s conftest.err'
19275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19276 (eval $ac_try) 2>&5
19277 ac_status=$?
19278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19279 (exit $ac_status); }; } &&
19280 { ac_try='test -s conftest.$ac_objext'
19281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19282 (eval $ac_try) 2>&5
19283 ac_status=$?
19284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19285 (exit $ac_status); }; }; then
19286 wx_cv_explicit=no
19287 else
19288 echo "$as_me: failed program was:" >&5
19289 sed 's/^/| /' conftest.$ac_ext >&5
19290
19291 wx_cv_explicit=yes
19292
19293 fi
19294 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19295
19296 else
19297 echo "$as_me: failed program was:" >&5
19298 sed 's/^/| /' conftest.$ac_ext >&5
19299
19300 wx_cv_explicit=no
19301
19302 fi
19303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19304
19305 ac_ext=c
19306 ac_cpp='$CPP $CPPFLAGS'
19307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19310
19311
19312 fi
19313 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
19314 echo "${ECHO_T}$wx_cv_explicit" >&6
19315
19316 if test "$wx_cv_explicit" = "yes"; then
19317 cat >>confdefs.h <<\_ACEOF
19318 #define HAVE_EXPLICIT 1
19319 _ACEOF
19320
19321 fi
19322
19323
19324 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
19325 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
19326 if test "${ac_cv_cxx_const_cast+set}" = set; then
19327 echo $ECHO_N "(cached) $ECHO_C" >&6
19328 else
19329
19330
19331 ac_ext=cc
19332 ac_cpp='$CXXCPP $CPPFLAGS'
19333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19336
19337 cat >conftest.$ac_ext <<_ACEOF
19338 /* confdefs.h. */
19339 _ACEOF
19340 cat confdefs.h >>conftest.$ac_ext
19341 cat >>conftest.$ac_ext <<_ACEOF
19342 /* end confdefs.h. */
19343
19344 int
19345 main ()
19346 {
19347 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
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_cxx_werror_flag"
19362 || test ! -s conftest.err'
19363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19364 (eval $ac_try) 2>&5
19365 ac_status=$?
19366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19367 (exit $ac_status); }; } &&
19368 { ac_try='test -s conftest.$ac_objext'
19369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19370 (eval $ac_try) 2>&5
19371 ac_status=$?
19372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19373 (exit $ac_status); }; }; then
19374 ac_cv_cxx_const_cast=yes
19375 else
19376 echo "$as_me: failed program was:" >&5
19377 sed 's/^/| /' conftest.$ac_ext >&5
19378
19379 ac_cv_cxx_const_cast=no
19380 fi
19381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19382 ac_ext=c
19383 ac_cpp='$CPP $CPPFLAGS'
19384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19387
19388
19389 fi
19390 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
19391 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
19392 if test "$ac_cv_cxx_const_cast" = yes; then
19393
19394 cat >>confdefs.h <<\_ACEOF
19395 #define HAVE_CONST_CAST
19396 _ACEOF
19397
19398 fi
19399
19400 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
19401 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
19402 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
19403 echo $ECHO_N "(cached) $ECHO_C" >&6
19404 else
19405
19406
19407 ac_ext=cc
19408 ac_cpp='$CXXCPP $CPPFLAGS'
19409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19412
19413 cat >conftest.$ac_ext <<_ACEOF
19414 /* confdefs.h. */
19415 _ACEOF
19416 cat confdefs.h >>conftest.$ac_ext
19417 cat >>conftest.$ac_ext <<_ACEOF
19418 /* end confdefs.h. */
19419 #include <typeinfo>
19420 class Base { public : Base () {} virtual void f () = 0;};
19421 class Derived : public Base { public : Derived () {} virtual void f () {} };
19422 class Unrelated { public : Unrelated () {} };
19423 int g (Unrelated&) { return 0; }
19424 int
19425 main ()
19426 {
19427
19428 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
19429 ;
19430 return 0;
19431 }
19432 _ACEOF
19433 rm -f conftest.$ac_objext
19434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19435 (eval $ac_compile) 2>conftest.er1
19436 ac_status=$?
19437 grep -v '^ *+' conftest.er1 >conftest.err
19438 rm -f conftest.er1
19439 cat conftest.err >&5
19440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19441 (exit $ac_status); } &&
19442 { ac_try='test -z "$ac_cxx_werror_flag"
19443 || test ! -s conftest.err'
19444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19445 (eval $ac_try) 2>&5
19446 ac_status=$?
19447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19448 (exit $ac_status); }; } &&
19449 { ac_try='test -s conftest.$ac_objext'
19450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19451 (eval $ac_try) 2>&5
19452 ac_status=$?
19453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19454 (exit $ac_status); }; }; then
19455 ac_cv_cxx_reinterpret_cast=yes
19456 else
19457 echo "$as_me: failed program was:" >&5
19458 sed 's/^/| /' conftest.$ac_ext >&5
19459
19460 ac_cv_cxx_reinterpret_cast=no
19461 fi
19462 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19463 ac_ext=c
19464 ac_cpp='$CPP $CPPFLAGS'
19465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19468
19469
19470 fi
19471 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
19472 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
19473 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
19474
19475 cat >>confdefs.h <<\_ACEOF
19476 #define HAVE_REINTERPRET_CAST
19477 _ACEOF
19478
19479 fi
19480
19481 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
19482 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
19483 if test "${ac_cv_cxx_static_cast+set}" = set; then
19484 echo $ECHO_N "(cached) $ECHO_C" >&6
19485 else
19486
19487
19488 ac_ext=cc
19489 ac_cpp='$CXXCPP $CPPFLAGS'
19490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19493
19494 cat >conftest.$ac_ext <<_ACEOF
19495 /* confdefs.h. */
19496 _ACEOF
19497 cat confdefs.h >>conftest.$ac_ext
19498 cat >>conftest.$ac_ext <<_ACEOF
19499 /* end confdefs.h. */
19500 #include <typeinfo>
19501 class Base { public : Base () {} virtual void f () = 0; };
19502 class Derived : public Base { public : Derived () {} virtual void f () {} };
19503 int g (Derived&) { return 0; }
19504 int
19505 main ()
19506 {
19507
19508 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
19509 ;
19510 return 0;
19511 }
19512 _ACEOF
19513 rm -f conftest.$ac_objext
19514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19515 (eval $ac_compile) 2>conftest.er1
19516 ac_status=$?
19517 grep -v '^ *+' conftest.er1 >conftest.err
19518 rm -f conftest.er1
19519 cat conftest.err >&5
19520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19521 (exit $ac_status); } &&
19522 { ac_try='test -z "$ac_cxx_werror_flag"
19523 || test ! -s conftest.err'
19524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19525 (eval $ac_try) 2>&5
19526 ac_status=$?
19527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19528 (exit $ac_status); }; } &&
19529 { ac_try='test -s conftest.$ac_objext'
19530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19531 (eval $ac_try) 2>&5
19532 ac_status=$?
19533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19534 (exit $ac_status); }; }; then
19535 ac_cv_cxx_static_cast=yes
19536 else
19537 echo "$as_me: failed program was:" >&5
19538 sed 's/^/| /' conftest.$ac_ext >&5
19539
19540 ac_cv_cxx_static_cast=no
19541 fi
19542 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19543 ac_ext=c
19544 ac_cpp='$CPP $CPPFLAGS'
19545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19548
19549
19550 fi
19551 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
19552 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
19553 if test "$ac_cv_cxx_static_cast" = yes; then
19554
19555 cat >>confdefs.h <<\_ACEOF
19556 #define HAVE_STATIC_CAST
19557 _ACEOF
19558
19559 fi
19560
19561
19562 if test "$wxUSE_STL" = "yes"; then
19563 ac_ext=cc
19564 ac_cpp='$CXXCPP $CPPFLAGS'
19565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19568
19569
19570 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
19571 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
19572 cat >conftest.$ac_ext <<_ACEOF
19573 /* confdefs.h. */
19574 _ACEOF
19575 cat confdefs.h >>conftest.$ac_ext
19576 cat >>conftest.$ac_ext <<_ACEOF
19577 /* end confdefs.h. */
19578 #include <string>
19579 #include <functional>
19580 #include <algorithm>
19581 #include <vector>
19582 #include <list>
19583 int
19584 main ()
19585 {
19586 std::vector<int> moo;
19587 std::list<int> foo;
19588 std::vector<int>::iterator it =
19589 std::find_if(moo.begin(), moo.end(),
19590 std::bind2nd(std::less<int>(), 3));
19591 ;
19592 return 0;
19593 }
19594 _ACEOF
19595 rm -f conftest.$ac_objext
19596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19597 (eval $ac_compile) 2>conftest.er1
19598 ac_status=$?
19599 grep -v '^ *+' conftest.er1 >conftest.err
19600 rm -f conftest.er1
19601 cat conftest.err >&5
19602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19603 (exit $ac_status); } &&
19604 { ac_try='test -z "$ac_cxx_werror_flag"
19605 || test ! -s conftest.err'
19606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19607 (eval $ac_try) 2>&5
19608 ac_status=$?
19609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19610 (exit $ac_status); }; } &&
19611 { ac_try='test -s conftest.$ac_objext'
19612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19613 (eval $ac_try) 2>&5
19614 ac_status=$?
19615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19616 (exit $ac_status); }; }; then
19617 echo "$as_me:$LINENO: result: yes" >&5
19618 echo "${ECHO_T}yes" >&6
19619 else
19620 echo "$as_me: failed program was:" >&5
19621 sed 's/^/| /' conftest.$ac_ext >&5
19622
19623 echo "$as_me:$LINENO: result: no" >&5
19624 echo "${ECHO_T}no" >&6
19625 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
19626 echo "$as_me: error: Basic STL functionality missing" >&2;}
19627 { (exit 1); exit 1; }; }
19628 fi
19629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19630
19631 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
19632 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
19633 cat >conftest.$ac_ext <<_ACEOF
19634 /* confdefs.h. */
19635 _ACEOF
19636 cat confdefs.h >>conftest.$ac_ext
19637 cat >>conftest.$ac_ext <<_ACEOF
19638 /* end confdefs.h. */
19639 #include <string>
19640 int
19641 main ()
19642 {
19643 std::wstring foo;
19644 ;
19645 return 0;
19646 }
19647 _ACEOF
19648 rm -f conftest.$ac_objext
19649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19650 (eval $ac_compile) 2>conftest.er1
19651 ac_status=$?
19652 grep -v '^ *+' conftest.er1 >conftest.err
19653 rm -f conftest.er1
19654 cat conftest.err >&5
19655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19656 (exit $ac_status); } &&
19657 { ac_try='test -z "$ac_cxx_werror_flag"
19658 || test ! -s conftest.err'
19659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19660 (eval $ac_try) 2>&5
19661 ac_status=$?
19662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19663 (exit $ac_status); }; } &&
19664 { ac_try='test -s conftest.$ac_objext'
19665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19666 (eval $ac_try) 2>&5
19667 ac_status=$?
19668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19669 (exit $ac_status); }; }; then
19670 echo "$as_me:$LINENO: result: yes" >&5
19671 echo "${ECHO_T}yes" >&6
19672 cat >>confdefs.h <<\_ACEOF
19673 #define HAVE_STD_WSTRING 1
19674 _ACEOF
19675
19676 else
19677 echo "$as_me: failed program was:" >&5
19678 sed 's/^/| /' conftest.$ac_ext >&5
19679
19680 echo "$as_me:$LINENO: result: no" >&5
19681 echo "${ECHO_T}no" >&6
19682 fi
19683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19684
19685 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
19686 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
19687 cat >conftest.$ac_ext <<_ACEOF
19688 /* confdefs.h. */
19689 _ACEOF
19690 cat confdefs.h >>conftest.$ac_ext
19691 cat >>conftest.$ac_ext <<_ACEOF
19692 /* end confdefs.h. */
19693 #include <string>
19694 int
19695 main ()
19696 {
19697 std::string foo, bar;
19698 foo.compare(bar);
19699 foo.compare(1, 1, bar);
19700 foo.compare(1, 1, bar, 1, 1);
19701 foo.compare("");
19702 foo.compare(1, 1, "");
19703 foo.compare(1, 1, "", 2);
19704 ;
19705 return 0;
19706 }
19707 _ACEOF
19708 rm -f conftest.$ac_objext
19709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19710 (eval $ac_compile) 2>conftest.er1
19711 ac_status=$?
19712 grep -v '^ *+' conftest.er1 >conftest.err
19713 rm -f conftest.er1
19714 cat conftest.err >&5
19715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19716 (exit $ac_status); } &&
19717 { ac_try='test -z "$ac_cxx_werror_flag"
19718 || test ! -s conftest.err'
19719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19720 (eval $ac_try) 2>&5
19721 ac_status=$?
19722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19723 (exit $ac_status); }; } &&
19724 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
19730 echo "$as_me:$LINENO: result: yes" >&5
19731 echo "${ECHO_T}yes" >&6
19732 cat >>confdefs.h <<\_ACEOF
19733 #define HAVE_STD_STRING_COMPARE 1
19734 _ACEOF
19735
19736 else
19737 echo "$as_me: failed program was:" >&5
19738 sed 's/^/| /' conftest.$ac_ext >&5
19739
19740 echo "$as_me:$LINENO: result: no" >&5
19741 echo "${ECHO_T}no" >&6
19742 fi
19743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19744
19745 if test "${ac_cv_header_hash_map+set}" = set; then
19746 echo "$as_me:$LINENO: checking for hash_map" >&5
19747 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
19748 if test "${ac_cv_header_hash_map+set}" = set; then
19749 echo $ECHO_N "(cached) $ECHO_C" >&6
19750 fi
19751 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19752 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19753 else
19754 # Is the header compilable?
19755 echo "$as_me:$LINENO: checking hash_map usability" >&5
19756 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
19757 cat >conftest.$ac_ext <<_ACEOF
19758 /* confdefs.h. */
19759 _ACEOF
19760 cat confdefs.h >>conftest.$ac_ext
19761 cat >>conftest.$ac_ext <<_ACEOF
19762 /* end confdefs.h. */
19763 $ac_includes_default
19764 #include <hash_map>
19765 _ACEOF
19766 rm -f conftest.$ac_objext
19767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19768 (eval $ac_compile) 2>conftest.er1
19769 ac_status=$?
19770 grep -v '^ *+' conftest.er1 >conftest.err
19771 rm -f conftest.er1
19772 cat conftest.err >&5
19773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19774 (exit $ac_status); } &&
19775 { ac_try='test -z "$ac_cxx_werror_flag"
19776 || test ! -s conftest.err'
19777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19778 (eval $ac_try) 2>&5
19779 ac_status=$?
19780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19781 (exit $ac_status); }; } &&
19782 { ac_try='test -s conftest.$ac_objext'
19783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19784 (eval $ac_try) 2>&5
19785 ac_status=$?
19786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19787 (exit $ac_status); }; }; then
19788 ac_header_compiler=yes
19789 else
19790 echo "$as_me: failed program was:" >&5
19791 sed 's/^/| /' conftest.$ac_ext >&5
19792
19793 ac_header_compiler=no
19794 fi
19795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19796 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19797 echo "${ECHO_T}$ac_header_compiler" >&6
19798
19799 # Is the header present?
19800 echo "$as_me:$LINENO: checking hash_map presence" >&5
19801 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
19802 cat >conftest.$ac_ext <<_ACEOF
19803 /* confdefs.h. */
19804 _ACEOF
19805 cat confdefs.h >>conftest.$ac_ext
19806 cat >>conftest.$ac_ext <<_ACEOF
19807 /* end confdefs.h. */
19808 #include <hash_map>
19809 _ACEOF
19810 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19811 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19812 ac_status=$?
19813 grep -v '^ *+' conftest.er1 >conftest.err
19814 rm -f conftest.er1
19815 cat conftest.err >&5
19816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19817 (exit $ac_status); } >/dev/null; then
19818 if test -s conftest.err; then
19819 ac_cpp_err=$ac_cxx_preproc_warn_flag
19820 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
19821 else
19822 ac_cpp_err=
19823 fi
19824 else
19825 ac_cpp_err=yes
19826 fi
19827 if test -z "$ac_cpp_err"; then
19828 ac_header_preproc=yes
19829 else
19830 echo "$as_me: failed program was:" >&5
19831 sed 's/^/| /' conftest.$ac_ext >&5
19832
19833 ac_header_preproc=no
19834 fi
19835 rm -f conftest.err conftest.$ac_ext
19836 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19837 echo "${ECHO_T}$ac_header_preproc" >&6
19838
19839 # So? What about this header?
19840 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19841 yes:no: )
19842 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
19843 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
19844 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
19845 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
19846 ac_header_preproc=yes
19847 ;;
19848 no:yes:* )
19849 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
19850 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
19851 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
19852 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
19853 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
19854 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
19855 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
19856 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
19857 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
19858 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
19859 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
19860 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
19861 (
19862 cat <<\_ASBOX
19863 ## ----------------------------------------- ##
19864 ## Report this to wx-dev@lists.wxwidgets.org ##
19865 ## ----------------------------------------- ##
19866 _ASBOX
19867 ) |
19868 sed "s/^/$as_me: WARNING: /" >&2
19869 ;;
19870 esac
19871 echo "$as_me:$LINENO: checking for hash_map" >&5
19872 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
19873 if test "${ac_cv_header_hash_map+set}" = set; then
19874 echo $ECHO_N "(cached) $ECHO_C" >&6
19875 else
19876 ac_cv_header_hash_map=$ac_header_preproc
19877 fi
19878 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19879 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19880
19881 fi
19882 if test $ac_cv_header_hash_map = yes; then
19883 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
19884 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
19885 cat >conftest.$ac_ext <<_ACEOF
19886 /* confdefs.h. */
19887 _ACEOF
19888 cat confdefs.h >>conftest.$ac_ext
19889 cat >>conftest.$ac_ext <<_ACEOF
19890 /* end confdefs.h. */
19891 #include <hash_map>
19892 #include <hash_set>
19893 int
19894 main ()
19895 {
19896 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
19897 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
19898 ;
19899 return 0;
19900 }
19901 _ACEOF
19902 rm -f conftest.$ac_objext
19903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19904 (eval $ac_compile) 2>conftest.er1
19905 ac_status=$?
19906 grep -v '^ *+' conftest.er1 >conftest.err
19907 rm -f conftest.er1
19908 cat conftest.err >&5
19909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19910 (exit $ac_status); } &&
19911 { ac_try='test -z "$ac_cxx_werror_flag"
19912 || test ! -s conftest.err'
19913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19914 (eval $ac_try) 2>&5
19915 ac_status=$?
19916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19917 (exit $ac_status); }; } &&
19918 { ac_try='test -s conftest.$ac_objext'
19919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19920 (eval $ac_try) 2>&5
19921 ac_status=$?
19922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19923 (exit $ac_status); }; }; then
19924 echo "$as_me:$LINENO: result: yes" >&5
19925 echo "${ECHO_T}yes" >&6
19926 cat >>confdefs.h <<\_ACEOF
19927 #define HAVE_HASH_MAP 1
19928 _ACEOF
19929
19930 cat >>confdefs.h <<\_ACEOF
19931 #define HAVE_STD_HASH_MAP 1
19932 _ACEOF
19933
19934 else
19935 echo "$as_me: failed program was:" >&5
19936 sed 's/^/| /' conftest.$ac_ext >&5
19937
19938 echo "$as_me:$LINENO: result: no" >&5
19939 echo "${ECHO_T}no" >&6
19940 fi
19941 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19942
19943 fi
19944
19945
19946
19947 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19948 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
19949 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
19950 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19951 echo $ECHO_N "(cached) $ECHO_C" >&6
19952 fi
19953 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
19954 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
19955 else
19956 # Is the header compilable?
19957 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
19958 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
19959 cat >conftest.$ac_ext <<_ACEOF
19960 /* confdefs.h. */
19961 _ACEOF
19962 cat confdefs.h >>conftest.$ac_ext
19963 cat >>conftest.$ac_ext <<_ACEOF
19964 /* end confdefs.h. */
19965 $ac_includes_default
19966 #include <ext/hash_map>
19967 _ACEOF
19968 rm -f conftest.$ac_objext
19969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19970 (eval $ac_compile) 2>conftest.er1
19971 ac_status=$?
19972 grep -v '^ *+' conftest.er1 >conftest.err
19973 rm -f conftest.er1
19974 cat conftest.err >&5
19975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19976 (exit $ac_status); } &&
19977 { ac_try='test -z "$ac_cxx_werror_flag"
19978 || test ! -s conftest.err'
19979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19980 (eval $ac_try) 2>&5
19981 ac_status=$?
19982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19983 (exit $ac_status); }; } &&
19984 { ac_try='test -s conftest.$ac_objext'
19985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19986 (eval $ac_try) 2>&5
19987 ac_status=$?
19988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19989 (exit $ac_status); }; }; then
19990 ac_header_compiler=yes
19991 else
19992 echo "$as_me: failed program was:" >&5
19993 sed 's/^/| /' conftest.$ac_ext >&5
19994
19995 ac_header_compiler=no
19996 fi
19997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19998 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19999 echo "${ECHO_T}$ac_header_compiler" >&6
20000
20001 # Is the header present?
20002 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
20003 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
20004 cat >conftest.$ac_ext <<_ACEOF
20005 /* confdefs.h. */
20006 _ACEOF
20007 cat confdefs.h >>conftest.$ac_ext
20008 cat >>conftest.$ac_ext <<_ACEOF
20009 /* end confdefs.h. */
20010 #include <ext/hash_map>
20011 _ACEOF
20012 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20013 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20014 ac_status=$?
20015 grep -v '^ *+' conftest.er1 >conftest.err
20016 rm -f conftest.er1
20017 cat conftest.err >&5
20018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20019 (exit $ac_status); } >/dev/null; then
20020 if test -s conftest.err; then
20021 ac_cpp_err=$ac_cxx_preproc_warn_flag
20022 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20023 else
20024 ac_cpp_err=
20025 fi
20026 else
20027 ac_cpp_err=yes
20028 fi
20029 if test -z "$ac_cpp_err"; then
20030 ac_header_preproc=yes
20031 else
20032 echo "$as_me: failed program was:" >&5
20033 sed 's/^/| /' conftest.$ac_ext >&5
20034
20035 ac_header_preproc=no
20036 fi
20037 rm -f conftest.err conftest.$ac_ext
20038 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20039 echo "${ECHO_T}$ac_header_preproc" >&6
20040
20041 # So? What about this header?
20042 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20043 yes:no: )
20044 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
20045 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
20046 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
20047 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
20048 ac_header_preproc=yes
20049 ;;
20050 no:yes:* )
20051 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
20052 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
20053 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
20054 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
20055 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
20056 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
20057 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
20058 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
20059 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
20060 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
20061 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
20062 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
20063 (
20064 cat <<\_ASBOX
20065 ## ----------------------------------------- ##
20066 ## Report this to wx-dev@lists.wxwidgets.org ##
20067 ## ----------------------------------------- ##
20068 _ASBOX
20069 ) |
20070 sed "s/^/$as_me: WARNING: /" >&2
20071 ;;
20072 esac
20073 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
20074 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
20075 if test "${ac_cv_header_ext_hash_map+set}" = set; then
20076 echo $ECHO_N "(cached) $ECHO_C" >&6
20077 else
20078 ac_cv_header_ext_hash_map=$ac_header_preproc
20079 fi
20080 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
20081 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
20082
20083 fi
20084 if test $ac_cv_header_ext_hash_map = yes; then
20085 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
20086 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
20087 cat >conftest.$ac_ext <<_ACEOF
20088 /* confdefs.h. */
20089 _ACEOF
20090 cat confdefs.h >>conftest.$ac_ext
20091 cat >>conftest.$ac_ext <<_ACEOF
20092 /* end confdefs.h. */
20093 #include <ext/hash_map>
20094 #include <ext/hash_set>
20095 int
20096 main ()
20097 {
20098 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
20099 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
20100 ;
20101 return 0;
20102 }
20103 _ACEOF
20104 rm -f conftest.$ac_objext
20105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20106 (eval $ac_compile) 2>conftest.er1
20107 ac_status=$?
20108 grep -v '^ *+' conftest.er1 >conftest.err
20109 rm -f conftest.er1
20110 cat conftest.err >&5
20111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20112 (exit $ac_status); } &&
20113 { ac_try='test -z "$ac_cxx_werror_flag"
20114 || test ! -s conftest.err'
20115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20116 (eval $ac_try) 2>&5
20117 ac_status=$?
20118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20119 (exit $ac_status); }; } &&
20120 { ac_try='test -s conftest.$ac_objext'
20121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20122 (eval $ac_try) 2>&5
20123 ac_status=$?
20124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20125 (exit $ac_status); }; }; then
20126 echo "$as_me:$LINENO: result: yes" >&5
20127 echo "${ECHO_T}yes" >&6
20128 cat >>confdefs.h <<\_ACEOF
20129 #define HAVE_EXT_HASH_MAP 1
20130 _ACEOF
20131
20132 cat >>confdefs.h <<\_ACEOF
20133 #define HAVE_GNU_CXX_HASH_MAP 1
20134 _ACEOF
20135
20136 else
20137 echo "$as_me: failed program was:" >&5
20138 sed 's/^/| /' conftest.$ac_ext >&5
20139
20140 echo "$as_me:$LINENO: result: no" >&5
20141 echo "${ECHO_T}no" >&6
20142 fi
20143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20144
20145 fi
20146
20147
20148
20149 ac_ext=c
20150 ac_cpp='$CPP $CPPFLAGS'
20151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20154
20155 fi
20156
20157
20158 SEARCH_INCLUDE="\
20159 /usr/local/include \
20160 \
20161 /usr/Motif-2.1/include \
20162 /usr/Motif-1.2/include \
20163 /usr/include/Motif1.2 \
20164 /opt/xpm/include/X11 \
20165 /opt/GBxpm/include/ \
20166 /opt/GBxpm/X11/include/ \
20167 \
20168 /usr/dt/include \
20169 /usr/openwin/include \
20170 \
20171 /usr/include/Xm \
20172 \
20173 /usr/X11R6/include \
20174 /usr/X11R6.4/include \
20175 /usr/X11R5/include \
20176 /usr/X11R4/include \
20177 \
20178 /usr/include/X11R6 \
20179 /usr/include/X11R5 \
20180 /usr/include/X11R4 \
20181 \
20182 /usr/local/X11R6/include \
20183 /usr/local/X11R5/include \
20184 /usr/local/X11R4/include \
20185 \
20186 /usr/local/include/X11R6 \
20187 /usr/local/include/X11R5 \
20188 /usr/local/include/X11R4 \
20189 \
20190 /usr/X11/include \
20191 /usr/include/X11 \
20192 /usr/local/X11/include \
20193 /usr/local/include/X11 \
20194 \
20195 /usr/X386/include \
20196 /usr/x386/include \
20197 /usr/XFree86/include/X11 \
20198 \
20199 X:/XFree86/include \
20200 X:/XFree86/include/X11 \
20201 \
20202 /usr/include/gtk \
20203 /usr/local/include/gtk \
20204 /usr/include/glib \
20205 /usr/local/include/glib \
20206 \
20207 /usr/include/qt \
20208 /usr/local/include/qt \
20209 \
20210 /usr/local/arm/3.3.2/include \
20211 \
20212 /usr/include/windows \
20213 /usr/include/wine \
20214 /usr/local/include/wine \
20215 \
20216 /usr/unsupported/include \
20217 /usr/athena/include \
20218 /usr/local/x11r5/include \
20219 /usr/lpp/Xamples/include \
20220 \
20221 /usr/openwin/share/include"
20222
20223 SEARCH_LIB="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
20224
20225
20226 cat >confcache <<\_ACEOF
20227 # This file is a shell script that caches the results of configure
20228 # tests run on this system so they can be shared between configure
20229 # scripts and configure runs, see configure's option --config-cache.
20230 # It is not useful on other systems. If it contains results you don't
20231 # want to keep, you may remove or edit it.
20232 #
20233 # config.status only pays attention to the cache file if you give it
20234 # the --recheck option to rerun configure.
20235 #
20236 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20237 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20238 # following values.
20239
20240 _ACEOF
20241
20242 # The following way of writing the cache mishandles newlines in values,
20243 # but we know of no workaround that is simple, portable, and efficient.
20244 # So, don't put newlines in cache variables' values.
20245 # Ultrix sh set writes to stderr and can't be redirected directly,
20246 # and sets the high bit in the cache file unless we assign to the vars.
20247 {
20248 (set) 2>&1 |
20249 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20250 *ac_space=\ *)
20251 # `set' does not quote correctly, so add quotes (double-quote
20252 # substitution turns \\\\ into \\, and sed turns \\ into \).
20253 sed -n \
20254 "s/'/'\\\\''/g;
20255 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20256 ;;
20257 *)
20258 # `set' quotes correctly as required by POSIX, so do not add quotes.
20259 sed -n \
20260 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20261 ;;
20262 esac;
20263 } |
20264 sed '
20265 t clear
20266 : clear
20267 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20268 t end
20269 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20270 : end' >>confcache
20271 if diff $cache_file confcache >/dev/null 2>&1; then :; else
20272 if test -w $cache_file; then
20273 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20274 cat confcache >$cache_file
20275 else
20276 echo "not updating unwritable cache $cache_file"
20277 fi
20278 fi
20279 rm -f confcache
20280
20281 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
20282 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
20283 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
20284 if test "${wx_cv_lib_glibc21+set}" = set; then
20285 echo $ECHO_N "(cached) $ECHO_C" >&6
20286 else
20287
20288 cat >conftest.$ac_ext <<_ACEOF
20289 /* confdefs.h. */
20290 _ACEOF
20291 cat confdefs.h >>conftest.$ac_ext
20292 cat >>conftest.$ac_ext <<_ACEOF
20293 /* end confdefs.h. */
20294 #include <features.h>
20295 int
20296 main ()
20297 {
20298
20299 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
20300 #error not glibc2.1
20301 #endif
20302
20303 ;
20304 return 0;
20305 }
20306 _ACEOF
20307 rm -f conftest.$ac_objext
20308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20309 (eval $ac_compile) 2>conftest.er1
20310 ac_status=$?
20311 grep -v '^ *+' conftest.er1 >conftest.err
20312 rm -f conftest.er1
20313 cat conftest.err >&5
20314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20315 (exit $ac_status); } &&
20316 { ac_try='test -z "$ac_c_werror_flag"
20317 || test ! -s conftest.err'
20318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20319 (eval $ac_try) 2>&5
20320 ac_status=$?
20321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20322 (exit $ac_status); }; } &&
20323 { ac_try='test -s conftest.$ac_objext'
20324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20325 (eval $ac_try) 2>&5
20326 ac_status=$?
20327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20328 (exit $ac_status); }; }; then
20329
20330 wx_cv_lib_glibc21=yes
20331
20332 else
20333 echo "$as_me: failed program was:" >&5
20334 sed 's/^/| /' conftest.$ac_ext >&5
20335
20336
20337 wx_cv_lib_glibc21=no
20338
20339
20340 fi
20341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20342
20343 fi
20344 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
20345 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
20346 if test "$wx_cv_lib_glibc21" = "yes"; then
20347 cat >>confdefs.h <<\_ACEOF
20348 #define wxHAVE_GLIBC2 1
20349 _ACEOF
20350
20351 fi
20352 fi
20353
20354 if test "x$wx_cv_lib_glibc21" = "xyes"; then
20355 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
20356 cat >>confdefs.h <<\_ACEOF
20357 #define _GNU_SOURCE 1
20358 _ACEOF
20359
20360 fi
20361 fi
20362
20363
20364
20365 if test "$wxUSE_REGEX" != "no"; then
20366 cat >>confdefs.h <<\_ACEOF
20367 #define wxUSE_REGEX 1
20368 _ACEOF
20369
20370
20371 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
20372 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
20373 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
20374 wxUSE_REGEX=builtin
20375 fi
20376
20377 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
20378 if test "${ac_cv_header_regex_h+set}" = set; then
20379 echo "$as_me:$LINENO: checking for regex.h" >&5
20380 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20381 if test "${ac_cv_header_regex_h+set}" = set; then
20382 echo $ECHO_N "(cached) $ECHO_C" >&6
20383 fi
20384 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20385 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20386 else
20387 # Is the header compilable?
20388 echo "$as_me:$LINENO: checking regex.h usability" >&5
20389 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
20390 cat >conftest.$ac_ext <<_ACEOF
20391 /* confdefs.h. */
20392 _ACEOF
20393 cat confdefs.h >>conftest.$ac_ext
20394 cat >>conftest.$ac_ext <<_ACEOF
20395 /* end confdefs.h. */
20396 $ac_includes_default
20397 #include <regex.h>
20398 _ACEOF
20399 rm -f conftest.$ac_objext
20400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20401 (eval $ac_compile) 2>conftest.er1
20402 ac_status=$?
20403 grep -v '^ *+' conftest.er1 >conftest.err
20404 rm -f conftest.er1
20405 cat conftest.err >&5
20406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20407 (exit $ac_status); } &&
20408 { ac_try='test -z "$ac_c_werror_flag"
20409 || test ! -s conftest.err'
20410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20411 (eval $ac_try) 2>&5
20412 ac_status=$?
20413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20414 (exit $ac_status); }; } &&
20415 { ac_try='test -s conftest.$ac_objext'
20416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20417 (eval $ac_try) 2>&5
20418 ac_status=$?
20419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20420 (exit $ac_status); }; }; then
20421 ac_header_compiler=yes
20422 else
20423 echo "$as_me: failed program was:" >&5
20424 sed 's/^/| /' conftest.$ac_ext >&5
20425
20426 ac_header_compiler=no
20427 fi
20428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20429 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20430 echo "${ECHO_T}$ac_header_compiler" >&6
20431
20432 # Is the header present?
20433 echo "$as_me:$LINENO: checking regex.h presence" >&5
20434 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
20435 cat >conftest.$ac_ext <<_ACEOF
20436 /* confdefs.h. */
20437 _ACEOF
20438 cat confdefs.h >>conftest.$ac_ext
20439 cat >>conftest.$ac_ext <<_ACEOF
20440 /* end confdefs.h. */
20441 #include <regex.h>
20442 _ACEOF
20443 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20444 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20445 ac_status=$?
20446 grep -v '^ *+' conftest.er1 >conftest.err
20447 rm -f conftest.er1
20448 cat conftest.err >&5
20449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20450 (exit $ac_status); } >/dev/null; then
20451 if test -s conftest.err; then
20452 ac_cpp_err=$ac_c_preproc_warn_flag
20453 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20454 else
20455 ac_cpp_err=
20456 fi
20457 else
20458 ac_cpp_err=yes
20459 fi
20460 if test -z "$ac_cpp_err"; then
20461 ac_header_preproc=yes
20462 else
20463 echo "$as_me: failed program was:" >&5
20464 sed 's/^/| /' conftest.$ac_ext >&5
20465
20466 ac_header_preproc=no
20467 fi
20468 rm -f conftest.err conftest.$ac_ext
20469 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20470 echo "${ECHO_T}$ac_header_preproc" >&6
20471
20472 # So? What about this header?
20473 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20474 yes:no: )
20475 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
20476 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20477 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
20478 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
20479 ac_header_preproc=yes
20480 ;;
20481 no:yes:* )
20482 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
20483 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
20484 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
20485 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
20486 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
20487 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
20488 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
20489 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
20490 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
20491 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
20492 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
20493 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
20494 (
20495 cat <<\_ASBOX
20496 ## ----------------------------------------- ##
20497 ## Report this to wx-dev@lists.wxwidgets.org ##
20498 ## ----------------------------------------- ##
20499 _ASBOX
20500 ) |
20501 sed "s/^/$as_me: WARNING: /" >&2
20502 ;;
20503 esac
20504 echo "$as_me:$LINENO: checking for regex.h" >&5
20505 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20506 if test "${ac_cv_header_regex_h+set}" = set; then
20507 echo $ECHO_N "(cached) $ECHO_C" >&6
20508 else
20509 ac_cv_header_regex_h=$ac_header_preproc
20510 fi
20511 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20512 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20513
20514 fi
20515 if test $ac_cv_header_regex_h = yes; then
20516
20517 for ac_func in regcomp
20518 do
20519 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20520 echo "$as_me:$LINENO: checking for $ac_func" >&5
20521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20522 if eval "test \"\${$as_ac_var+set}\" = set"; then
20523 echo $ECHO_N "(cached) $ECHO_C" >&6
20524 else
20525 cat >conftest.$ac_ext <<_ACEOF
20526 /* confdefs.h. */
20527 _ACEOF
20528 cat confdefs.h >>conftest.$ac_ext
20529 cat >>conftest.$ac_ext <<_ACEOF
20530 /* end confdefs.h. */
20531 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20532 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20533 #define $ac_func innocuous_$ac_func
20534
20535 /* System header to define __stub macros and hopefully few prototypes,
20536 which can conflict with char $ac_func (); below.
20537 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20538 <limits.h> exists even on freestanding compilers. */
20539
20540 #ifdef __STDC__
20541 # include <limits.h>
20542 #else
20543 # include <assert.h>
20544 #endif
20545
20546 #undef $ac_func
20547
20548 /* Override any gcc2 internal prototype to avoid an error. */
20549 #ifdef __cplusplus
20550 extern "C"
20551 {
20552 #endif
20553 /* We use char because int might match the return type of a gcc2
20554 builtin and then its argument prototype would still apply. */
20555 char $ac_func ();
20556 /* The GNU C library defines this for functions which it implements
20557 to always fail with ENOSYS. Some functions are actually named
20558 something starting with __ and the normal name is an alias. */
20559 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20560 choke me
20561 #else
20562 char (*f) () = $ac_func;
20563 #endif
20564 #ifdef __cplusplus
20565 }
20566 #endif
20567
20568 int
20569 main ()
20570 {
20571 return f != $ac_func;
20572 ;
20573 return 0;
20574 }
20575 _ACEOF
20576 rm -f conftest.$ac_objext conftest$ac_exeext
20577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20578 (eval $ac_link) 2>conftest.er1
20579 ac_status=$?
20580 grep -v '^ *+' conftest.er1 >conftest.err
20581 rm -f conftest.er1
20582 cat conftest.err >&5
20583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20584 (exit $ac_status); } &&
20585 { ac_try='test -z "$ac_c_werror_flag"
20586 || test ! -s conftest.err'
20587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20588 (eval $ac_try) 2>&5
20589 ac_status=$?
20590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20591 (exit $ac_status); }; } &&
20592 { ac_try='test -s conftest$ac_exeext'
20593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20594 (eval $ac_try) 2>&5
20595 ac_status=$?
20596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20597 (exit $ac_status); }; }; then
20598 eval "$as_ac_var=yes"
20599 else
20600 echo "$as_me: failed program was:" >&5
20601 sed 's/^/| /' conftest.$ac_ext >&5
20602
20603 eval "$as_ac_var=no"
20604 fi
20605 rm -f conftest.err conftest.$ac_objext \
20606 conftest$ac_exeext conftest.$ac_ext
20607 fi
20608 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20609 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20610 if test `eval echo '${'$as_ac_var'}'` = yes; then
20611 cat >>confdefs.h <<_ACEOF
20612 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20613 _ACEOF
20614
20615 fi
20616 done
20617
20618 fi
20619
20620
20621
20622 if test "x$ac_cv_func_regcomp" != "xyes"; then
20623 if test "$wxUSE_REGEX" = "sys" ; then
20624 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
20625 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
20626 { (exit 1); exit 1; }; }
20627 else
20628 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
20629 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
20630 wxUSE_REGEX=builtin
20631 fi
20632 else
20633 wxUSE_REGEX=sys
20634 cat >>confdefs.h <<\_ACEOF
20635 #define WX_NO_REGEX_ADVANCED 1
20636 _ACEOF
20637
20638 fi
20639 fi
20640 fi
20641
20642
20643 ZLIB_LINK=
20644 if test "$wxUSE_ZLIB" != "no" ; then
20645 cat >>confdefs.h <<\_ACEOF
20646 #define wxUSE_ZLIB 1
20647 _ACEOF
20648
20649
20650 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
20651 if test "$USE_DARWIN" = 1; then
20652 system_zlib_h_ok="yes"
20653 else
20654 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
20655 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
20656 if test "${ac_cv_header_zlib_h+set}" = set; then
20657 echo $ECHO_N "(cached) $ECHO_C" >&6
20658 else
20659 if test "$cross_compiling" = yes; then
20660 unset ac_cv_header_zlib_h
20661
20662 else
20663 cat >conftest.$ac_ext <<_ACEOF
20664 /* confdefs.h. */
20665 _ACEOF
20666 cat confdefs.h >>conftest.$ac_ext
20667 cat >>conftest.$ac_ext <<_ACEOF
20668 /* end confdefs.h. */
20669
20670 #include <zlib.h>
20671 #include <stdio.h>
20672
20673 int main()
20674 {
20675 FILE *f=fopen("conftestval", "w");
20676 if (!f) exit(1);
20677 fprintf(f, "%s",
20678 ZLIB_VERSION[0] == '1' &&
20679 (ZLIB_VERSION[2] > '1' ||
20680 (ZLIB_VERSION[2] == '1' &&
20681 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
20682 exit(0);
20683 }
20684
20685 _ACEOF
20686 rm -f conftest$ac_exeext
20687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20688 (eval $ac_link) 2>&5
20689 ac_status=$?
20690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20691 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20693 (eval $ac_try) 2>&5
20694 ac_status=$?
20695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20696 (exit $ac_status); }; }; then
20697 ac_cv_header_zlib_h=`cat conftestval`
20698 else
20699 echo "$as_me: program exited with status $ac_status" >&5
20700 echo "$as_me: failed program was:" >&5
20701 sed 's/^/| /' conftest.$ac_ext >&5
20702
20703 ( exit $ac_status )
20704 ac_cv_header_zlib_h=no
20705 fi
20706 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20707 fi
20708
20709 fi
20710 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20711 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20712 if test "${ac_cv_header_zlib_h+set}" = set; then
20713 echo "$as_me:$LINENO: checking for zlib.h" >&5
20714 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20715 if test "${ac_cv_header_zlib_h+set}" = set; then
20716 echo $ECHO_N "(cached) $ECHO_C" >&6
20717 fi
20718 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20719 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20720 else
20721 # Is the header compilable?
20722 echo "$as_me:$LINENO: checking zlib.h usability" >&5
20723 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
20724 cat >conftest.$ac_ext <<_ACEOF
20725 /* confdefs.h. */
20726 _ACEOF
20727 cat confdefs.h >>conftest.$ac_ext
20728 cat >>conftest.$ac_ext <<_ACEOF
20729 /* end confdefs.h. */
20730 $ac_includes_default
20731 #include <zlib.h>
20732 _ACEOF
20733 rm -f conftest.$ac_objext
20734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20735 (eval $ac_compile) 2>conftest.er1
20736 ac_status=$?
20737 grep -v '^ *+' conftest.er1 >conftest.err
20738 rm -f conftest.er1
20739 cat conftest.err >&5
20740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20741 (exit $ac_status); } &&
20742 { ac_try='test -z "$ac_c_werror_flag"
20743 || test ! -s conftest.err'
20744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20745 (eval $ac_try) 2>&5
20746 ac_status=$?
20747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20748 (exit $ac_status); }; } &&
20749 { ac_try='test -s conftest.$ac_objext'
20750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20751 (eval $ac_try) 2>&5
20752 ac_status=$?
20753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20754 (exit $ac_status); }; }; then
20755 ac_header_compiler=yes
20756 else
20757 echo "$as_me: failed program was:" >&5
20758 sed 's/^/| /' conftest.$ac_ext >&5
20759
20760 ac_header_compiler=no
20761 fi
20762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20763 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20764 echo "${ECHO_T}$ac_header_compiler" >&6
20765
20766 # Is the header present?
20767 echo "$as_me:$LINENO: checking zlib.h presence" >&5
20768 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
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 <zlib.h>
20776 _ACEOF
20777 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20778 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20779 ac_status=$?
20780 grep -v '^ *+' conftest.er1 >conftest.err
20781 rm -f conftest.er1
20782 cat conftest.err >&5
20783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20784 (exit $ac_status); } >/dev/null; then
20785 if test -s conftest.err; then
20786 ac_cpp_err=$ac_c_preproc_warn_flag
20787 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20788 else
20789 ac_cpp_err=
20790 fi
20791 else
20792 ac_cpp_err=yes
20793 fi
20794 if test -z "$ac_cpp_err"; then
20795 ac_header_preproc=yes
20796 else
20797 echo "$as_me: failed program was:" >&5
20798 sed 's/^/| /' conftest.$ac_ext >&5
20799
20800 ac_header_preproc=no
20801 fi
20802 rm -f conftest.err conftest.$ac_ext
20803 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20804 echo "${ECHO_T}$ac_header_preproc" >&6
20805
20806 # So? What about this header?
20807 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20808 yes:no: )
20809 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
20810 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20811 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
20812 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
20813 ac_header_preproc=yes
20814 ;;
20815 no:yes:* )
20816 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
20817 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
20818 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
20819 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
20820 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
20821 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
20822 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
20823 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
20824 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
20825 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
20826 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
20827 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
20828 (
20829 cat <<\_ASBOX
20830 ## ----------------------------------------- ##
20831 ## Report this to wx-dev@lists.wxwidgets.org ##
20832 ## ----------------------------------------- ##
20833 _ASBOX
20834 ) |
20835 sed "s/^/$as_me: WARNING: /" >&2
20836 ;;
20837 esac
20838 echo "$as_me:$LINENO: checking for zlib.h" >&5
20839 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20840 if test "${ac_cv_header_zlib_h+set}" = set; then
20841 echo $ECHO_N "(cached) $ECHO_C" >&6
20842 else
20843 ac_cv_header_zlib_h=$ac_header_preproc
20844 fi
20845 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20846 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20847
20848 fi
20849
20850
20851
20852 system_zlib_h_ok=$ac_cv_header_zlib_h
20853 fi
20854
20855 if test "$system_zlib_h_ok" = "yes"; then
20856 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
20857 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
20858 if test "${ac_cv_lib_z_deflate+set}" = set; then
20859 echo $ECHO_N "(cached) $ECHO_C" >&6
20860 else
20861 ac_check_lib_save_LIBS=$LIBS
20862 LIBS="-lz $LIBS"
20863 cat >conftest.$ac_ext <<_ACEOF
20864 /* confdefs.h. */
20865 _ACEOF
20866 cat confdefs.h >>conftest.$ac_ext
20867 cat >>conftest.$ac_ext <<_ACEOF
20868 /* end confdefs.h. */
20869
20870 /* Override any gcc2 internal prototype to avoid an error. */
20871 #ifdef __cplusplus
20872 extern "C"
20873 #endif
20874 /* We use char because int might match the return type of a gcc2
20875 builtin and then its argument prototype would still apply. */
20876 char deflate ();
20877 int
20878 main ()
20879 {
20880 deflate ();
20881 ;
20882 return 0;
20883 }
20884 _ACEOF
20885 rm -f conftest.$ac_objext conftest$ac_exeext
20886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20887 (eval $ac_link) 2>conftest.er1
20888 ac_status=$?
20889 grep -v '^ *+' conftest.er1 >conftest.err
20890 rm -f conftest.er1
20891 cat conftest.err >&5
20892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20893 (exit $ac_status); } &&
20894 { ac_try='test -z "$ac_c_werror_flag"
20895 || test ! -s conftest.err'
20896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20897 (eval $ac_try) 2>&5
20898 ac_status=$?
20899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20900 (exit $ac_status); }; } &&
20901 { ac_try='test -s conftest$ac_exeext'
20902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20903 (eval $ac_try) 2>&5
20904 ac_status=$?
20905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20906 (exit $ac_status); }; }; then
20907 ac_cv_lib_z_deflate=yes
20908 else
20909 echo "$as_me: failed program was:" >&5
20910 sed 's/^/| /' conftest.$ac_ext >&5
20911
20912 ac_cv_lib_z_deflate=no
20913 fi
20914 rm -f conftest.err conftest.$ac_objext \
20915 conftest$ac_exeext conftest.$ac_ext
20916 LIBS=$ac_check_lib_save_LIBS
20917 fi
20918 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
20919 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
20920 if test $ac_cv_lib_z_deflate = yes; then
20921 ZLIB_LINK=" -lz"
20922 fi
20923
20924 fi
20925
20926 if test "x$ZLIB_LINK" = "x" ; then
20927 if test "$wxUSE_ZLIB" = "sys" ; then
20928 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
20929 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
20930 { (exit 1); exit 1; }; }
20931 else
20932 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
20933 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
20934 wxUSE_ZLIB=builtin
20935 fi
20936 else
20937 wxUSE_ZLIB=sys
20938 fi
20939 fi
20940 fi
20941
20942
20943 PNG_LINK=
20944 if test "$wxUSE_LIBPNG" != "no" ; then
20945 cat >>confdefs.h <<\_ACEOF
20946 #define wxUSE_LIBPNG 1
20947 _ACEOF
20948
20949
20950 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
20951 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
20952 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
20953 wxUSE_LIBPNG=sys
20954 fi
20955
20956 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
20957 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
20958 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
20959 wxUSE_LIBPNG=builtin
20960 fi
20961
20962 if test "$wxUSE_MGL" != 1 ; then
20963 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
20964 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
20965 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
20966 if test "${ac_cv_header_png_h+set}" = set; then
20967 echo $ECHO_N "(cached) $ECHO_C" >&6
20968 else
20969 if test "$cross_compiling" = yes; then
20970 unset ac_cv_header_png_h
20971
20972 else
20973 cat >conftest.$ac_ext <<_ACEOF
20974 /* confdefs.h. */
20975 _ACEOF
20976 cat confdefs.h >>conftest.$ac_ext
20977 cat >>conftest.$ac_ext <<_ACEOF
20978 /* end confdefs.h. */
20979
20980 #include <png.h>
20981 #include <stdio.h>
20982
20983 int main()
20984 {
20985 FILE *f=fopen("conftestval", "w");
20986 if (!f) exit(1);
20987 fprintf(f, "%s",
20988 PNG_LIBPNG_VER > 90 ? "yes" : "no");
20989 exit(0);
20990 }
20991
20992 _ACEOF
20993 rm -f conftest$ac_exeext
20994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20995 (eval $ac_link) 2>&5
20996 ac_status=$?
20997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20998 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21000 (eval $ac_try) 2>&5
21001 ac_status=$?
21002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21003 (exit $ac_status); }; }; then
21004 ac_cv_header_png_h=`cat conftestval`
21005 else
21006 echo "$as_me: program exited with status $ac_status" >&5
21007 echo "$as_me: failed program was:" >&5
21008 sed 's/^/| /' conftest.$ac_ext >&5
21009
21010 ( exit $ac_status )
21011 ac_cv_header_png_h=no
21012 fi
21013 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21014 fi
21015
21016 fi
21017 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21018 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21019 if test "${ac_cv_header_png_h+set}" = set; then
21020 echo "$as_me:$LINENO: checking for png.h" >&5
21021 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
21022 if test "${ac_cv_header_png_h+set}" = set; then
21023 echo $ECHO_N "(cached) $ECHO_C" >&6
21024 fi
21025 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21026 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21027 else
21028 # Is the header compilable?
21029 echo "$as_me:$LINENO: checking png.h usability" >&5
21030 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
21031 cat >conftest.$ac_ext <<_ACEOF
21032 /* confdefs.h. */
21033 _ACEOF
21034 cat confdefs.h >>conftest.$ac_ext
21035 cat >>conftest.$ac_ext <<_ACEOF
21036 /* end confdefs.h. */
21037 $ac_includes_default
21038 #include <png.h>
21039 _ACEOF
21040 rm -f conftest.$ac_objext
21041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21042 (eval $ac_compile) 2>conftest.er1
21043 ac_status=$?
21044 grep -v '^ *+' conftest.er1 >conftest.err
21045 rm -f conftest.er1
21046 cat conftest.err >&5
21047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21048 (exit $ac_status); } &&
21049 { ac_try='test -z "$ac_c_werror_flag"
21050 || test ! -s conftest.err'
21051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21052 (eval $ac_try) 2>&5
21053 ac_status=$?
21054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21055 (exit $ac_status); }; } &&
21056 { ac_try='test -s conftest.$ac_objext'
21057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21058 (eval $ac_try) 2>&5
21059 ac_status=$?
21060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21061 (exit $ac_status); }; }; then
21062 ac_header_compiler=yes
21063 else
21064 echo "$as_me: failed program was:" >&5
21065 sed 's/^/| /' conftest.$ac_ext >&5
21066
21067 ac_header_compiler=no
21068 fi
21069 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21070 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21071 echo "${ECHO_T}$ac_header_compiler" >&6
21072
21073 # Is the header present?
21074 echo "$as_me:$LINENO: checking png.h presence" >&5
21075 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
21076 cat >conftest.$ac_ext <<_ACEOF
21077 /* confdefs.h. */
21078 _ACEOF
21079 cat confdefs.h >>conftest.$ac_ext
21080 cat >>conftest.$ac_ext <<_ACEOF
21081 /* end confdefs.h. */
21082 #include <png.h>
21083 _ACEOF
21084 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21085 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21086 ac_status=$?
21087 grep -v '^ *+' conftest.er1 >conftest.err
21088 rm -f conftest.er1
21089 cat conftest.err >&5
21090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21091 (exit $ac_status); } >/dev/null; then
21092 if test -s conftest.err; then
21093 ac_cpp_err=$ac_c_preproc_warn_flag
21094 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21095 else
21096 ac_cpp_err=
21097 fi
21098 else
21099 ac_cpp_err=yes
21100 fi
21101 if test -z "$ac_cpp_err"; then
21102 ac_header_preproc=yes
21103 else
21104 echo "$as_me: failed program was:" >&5
21105 sed 's/^/| /' conftest.$ac_ext >&5
21106
21107 ac_header_preproc=no
21108 fi
21109 rm -f conftest.err conftest.$ac_ext
21110 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21111 echo "${ECHO_T}$ac_header_preproc" >&6
21112
21113 # So? What about this header?
21114 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21115 yes:no: )
21116 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
21117 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21118 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
21119 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
21120 ac_header_preproc=yes
21121 ;;
21122 no:yes:* )
21123 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
21124 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
21125 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
21126 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
21127 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
21128 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
21129 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
21130 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
21131 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
21132 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
21133 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
21134 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
21135 (
21136 cat <<\_ASBOX
21137 ## ----------------------------------------- ##
21138 ## Report this to wx-dev@lists.wxwidgets.org ##
21139 ## ----------------------------------------- ##
21140 _ASBOX
21141 ) |
21142 sed "s/^/$as_me: WARNING: /" >&2
21143 ;;
21144 esac
21145 echo "$as_me:$LINENO: checking for png.h" >&5
21146 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
21147 if test "${ac_cv_header_png_h+set}" = set; then
21148 echo $ECHO_N "(cached) $ECHO_C" >&6
21149 else
21150 ac_cv_header_png_h=$ac_header_preproc
21151 fi
21152 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21153 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21154
21155 fi
21156
21157
21158
21159 if test "$ac_cv_header_png_h" = "yes"; then
21160 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
21161 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
21162 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
21163 echo $ECHO_N "(cached) $ECHO_C" >&6
21164 else
21165 ac_check_lib_save_LIBS=$LIBS
21166 LIBS="-lpng -lz -lm $LIBS"
21167 cat >conftest.$ac_ext <<_ACEOF
21168 /* confdefs.h. */
21169 _ACEOF
21170 cat confdefs.h >>conftest.$ac_ext
21171 cat >>conftest.$ac_ext <<_ACEOF
21172 /* end confdefs.h. */
21173
21174 /* Override any gcc2 internal prototype to avoid an error. */
21175 #ifdef __cplusplus
21176 extern "C"
21177 #endif
21178 /* We use char because int might match the return type of a gcc2
21179 builtin and then its argument prototype would still apply. */
21180 char png_check_sig ();
21181 int
21182 main ()
21183 {
21184 png_check_sig ();
21185 ;
21186 return 0;
21187 }
21188 _ACEOF
21189 rm -f conftest.$ac_objext conftest$ac_exeext
21190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21191 (eval $ac_link) 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_c_werror_flag"
21199 || test ! -s conftest.err'
21200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21201 (eval $ac_try) 2>&5
21202 ac_status=$?
21203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21204 (exit $ac_status); }; } &&
21205 { ac_try='test -s conftest$ac_exeext'
21206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21207 (eval $ac_try) 2>&5
21208 ac_status=$?
21209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21210 (exit $ac_status); }; }; then
21211 ac_cv_lib_png_png_check_sig=yes
21212 else
21213 echo "$as_me: failed program was:" >&5
21214 sed 's/^/| /' conftest.$ac_ext >&5
21215
21216 ac_cv_lib_png_png_check_sig=no
21217 fi
21218 rm -f conftest.err conftest.$ac_objext \
21219 conftest$ac_exeext conftest.$ac_ext
21220 LIBS=$ac_check_lib_save_LIBS
21221 fi
21222 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
21223 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
21224 if test $ac_cv_lib_png_png_check_sig = yes; then
21225 PNG_LINK=" -lpng -lz"
21226 fi
21227
21228 fi
21229
21230 if test "x$PNG_LINK" = "x" ; then
21231 if test "$wxUSE_LIBPNG" = "sys" ; then
21232 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
21233 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
21234 { (exit 1); exit 1; }; }
21235 else
21236 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
21237 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
21238 wxUSE_LIBPNG=builtin
21239 fi
21240 else
21241 wxUSE_LIBPNG=sys
21242 fi
21243 fi
21244 fi
21245
21246 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
21247 fi
21248
21249
21250 JPEG_LINK=
21251 if test "$wxUSE_LIBJPEG" != "no" ; then
21252 cat >>confdefs.h <<\_ACEOF
21253 #define wxUSE_LIBJPEG 1
21254 _ACEOF
21255
21256
21257 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
21258 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
21259 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
21260 wxUSE_LIBJPEG=sys
21261 fi
21262
21263 if test "$wxUSE_MGL" != 1 ; then
21264 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
21265 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
21266 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
21267 if test "${ac_cv_header_jpeglib_h+set}" = set; then
21268 echo $ECHO_N "(cached) $ECHO_C" >&6
21269 else
21270 cat >conftest.$ac_ext <<_ACEOF
21271 /* confdefs.h. */
21272 _ACEOF
21273 cat confdefs.h >>conftest.$ac_ext
21274 cat >>conftest.$ac_ext <<_ACEOF
21275 /* end confdefs.h. */
21276
21277 #undef HAVE_STDLIB_H
21278 #include <stdio.h>
21279 #include <jpeglib.h>
21280
21281 int
21282 main ()
21283 {
21284
21285
21286 ;
21287 return 0;
21288 }
21289 _ACEOF
21290 rm -f conftest.$ac_objext
21291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21292 (eval $ac_compile) 2>conftest.er1
21293 ac_status=$?
21294 grep -v '^ *+' conftest.er1 >conftest.err
21295 rm -f conftest.er1
21296 cat conftest.err >&5
21297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21298 (exit $ac_status); } &&
21299 { ac_try='test -z "$ac_c_werror_flag"
21300 || test ! -s conftest.err'
21301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21302 (eval $ac_try) 2>&5
21303 ac_status=$?
21304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21305 (exit $ac_status); }; } &&
21306 { ac_try='test -s conftest.$ac_objext'
21307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21308 (eval $ac_try) 2>&5
21309 ac_status=$?
21310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21311 (exit $ac_status); }; }; then
21312 ac_cv_header_jpeglib_h=yes
21313 else
21314 echo "$as_me: failed program was:" >&5
21315 sed 's/^/| /' conftest.$ac_ext >&5
21316
21317 ac_cv_header_jpeglib_h=no
21318
21319 fi
21320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21321
21322 fi
21323
21324 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
21325 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
21326
21327 if test "$ac_cv_header_jpeglib_h" = "yes"; then
21328 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
21329 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
21330 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
21331 echo $ECHO_N "(cached) $ECHO_C" >&6
21332 else
21333 ac_check_lib_save_LIBS=$LIBS
21334 LIBS="-ljpeg $LIBS"
21335 cat >conftest.$ac_ext <<_ACEOF
21336 /* confdefs.h. */
21337 _ACEOF
21338 cat confdefs.h >>conftest.$ac_ext
21339 cat >>conftest.$ac_ext <<_ACEOF
21340 /* end confdefs.h. */
21341
21342 /* Override any gcc2 internal prototype to avoid an error. */
21343 #ifdef __cplusplus
21344 extern "C"
21345 #endif
21346 /* We use char because int might match the return type of a gcc2
21347 builtin and then its argument prototype would still apply. */
21348 char jpeg_read_header ();
21349 int
21350 main ()
21351 {
21352 jpeg_read_header ();
21353 ;
21354 return 0;
21355 }
21356 _ACEOF
21357 rm -f conftest.$ac_objext conftest$ac_exeext
21358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21359 (eval $ac_link) 2>conftest.er1
21360 ac_status=$?
21361 grep -v '^ *+' conftest.er1 >conftest.err
21362 rm -f conftest.er1
21363 cat conftest.err >&5
21364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21365 (exit $ac_status); } &&
21366 { ac_try='test -z "$ac_c_werror_flag"
21367 || test ! -s conftest.err'
21368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21369 (eval $ac_try) 2>&5
21370 ac_status=$?
21371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21372 (exit $ac_status); }; } &&
21373 { ac_try='test -s conftest$ac_exeext'
21374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21375 (eval $ac_try) 2>&5
21376 ac_status=$?
21377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21378 (exit $ac_status); }; }; then
21379 ac_cv_lib_jpeg_jpeg_read_header=yes
21380 else
21381 echo "$as_me: failed program was:" >&5
21382 sed 's/^/| /' conftest.$ac_ext >&5
21383
21384 ac_cv_lib_jpeg_jpeg_read_header=no
21385 fi
21386 rm -f conftest.err conftest.$ac_objext \
21387 conftest$ac_exeext conftest.$ac_ext
21388 LIBS=$ac_check_lib_save_LIBS
21389 fi
21390 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
21391 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
21392 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
21393 JPEG_LINK=" -ljpeg"
21394 fi
21395
21396 fi
21397
21398 if test "x$JPEG_LINK" = "x" ; then
21399 if test "$wxUSE_LIBJPEG" = "sys" ; then
21400 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
21401 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
21402 { (exit 1); exit 1; }; }
21403 else
21404 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
21405 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
21406 wxUSE_LIBJPEG=builtin
21407 fi
21408 else
21409 wxUSE_LIBJPEG=sys
21410 fi
21411 fi
21412 fi
21413 fi
21414
21415
21416 TIFF_LINK=
21417 TIFF_PREREQ_LINKS=-lm
21418 if test "$wxUSE_LIBTIFF" != "no" ; then
21419 cat >>confdefs.h <<\_ACEOF
21420 #define wxUSE_LIBTIFF 1
21421 _ACEOF
21422
21423
21424 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
21425 if test "$wxUSE_LIBJPEG" = "sys"; then
21426 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
21427 fi
21428 if test "$wxUSE_ZLIB" = "sys"; then
21429 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
21430 fi
21431 if test "${ac_cv_header_tiffio_h+set}" = set; then
21432 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21433 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21434 if test "${ac_cv_header_tiffio_h+set}" = set; then
21435 echo $ECHO_N "(cached) $ECHO_C" >&6
21436 fi
21437 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21438 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21439 else
21440 # Is the header compilable?
21441 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
21442 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
21443 cat >conftest.$ac_ext <<_ACEOF
21444 /* confdefs.h. */
21445 _ACEOF
21446 cat confdefs.h >>conftest.$ac_ext
21447 cat >>conftest.$ac_ext <<_ACEOF
21448 /* end confdefs.h. */
21449 $ac_includes_default
21450 #include <tiffio.h>
21451 _ACEOF
21452 rm -f conftest.$ac_objext
21453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21454 (eval $ac_compile) 2>conftest.er1
21455 ac_status=$?
21456 grep -v '^ *+' conftest.er1 >conftest.err
21457 rm -f conftest.er1
21458 cat conftest.err >&5
21459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21460 (exit $ac_status); } &&
21461 { ac_try='test -z "$ac_c_werror_flag"
21462 || test ! -s conftest.err'
21463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21464 (eval $ac_try) 2>&5
21465 ac_status=$?
21466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21467 (exit $ac_status); }; } &&
21468 { ac_try='test -s conftest.$ac_objext'
21469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21470 (eval $ac_try) 2>&5
21471 ac_status=$?
21472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21473 (exit $ac_status); }; }; then
21474 ac_header_compiler=yes
21475 else
21476 echo "$as_me: failed program was:" >&5
21477 sed 's/^/| /' conftest.$ac_ext >&5
21478
21479 ac_header_compiler=no
21480 fi
21481 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21482 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21483 echo "${ECHO_T}$ac_header_compiler" >&6
21484
21485 # Is the header present?
21486 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
21487 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
21488 cat >conftest.$ac_ext <<_ACEOF
21489 /* confdefs.h. */
21490 _ACEOF
21491 cat confdefs.h >>conftest.$ac_ext
21492 cat >>conftest.$ac_ext <<_ACEOF
21493 /* end confdefs.h. */
21494 #include <tiffio.h>
21495 _ACEOF
21496 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21497 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21498 ac_status=$?
21499 grep -v '^ *+' conftest.er1 >conftest.err
21500 rm -f conftest.er1
21501 cat conftest.err >&5
21502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21503 (exit $ac_status); } >/dev/null; then
21504 if test -s conftest.err; then
21505 ac_cpp_err=$ac_c_preproc_warn_flag
21506 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21507 else
21508 ac_cpp_err=
21509 fi
21510 else
21511 ac_cpp_err=yes
21512 fi
21513 if test -z "$ac_cpp_err"; then
21514 ac_header_preproc=yes
21515 else
21516 echo "$as_me: failed program was:" >&5
21517 sed 's/^/| /' conftest.$ac_ext >&5
21518
21519 ac_header_preproc=no
21520 fi
21521 rm -f conftest.err conftest.$ac_ext
21522 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21523 echo "${ECHO_T}$ac_header_preproc" >&6
21524
21525 # So? What about this header?
21526 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21527 yes:no: )
21528 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
21529 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21530 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
21531 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
21532 ac_header_preproc=yes
21533 ;;
21534 no:yes:* )
21535 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
21536 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
21537 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
21538 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
21539 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
21540 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
21541 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
21542 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
21543 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
21544 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
21545 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
21546 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
21547 (
21548 cat <<\_ASBOX
21549 ## ----------------------------------------- ##
21550 ## Report this to wx-dev@lists.wxwidgets.org ##
21551 ## ----------------------------------------- ##
21552 _ASBOX
21553 ) |
21554 sed "s/^/$as_me: WARNING: /" >&2
21555 ;;
21556 esac
21557 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21558 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21559 if test "${ac_cv_header_tiffio_h+set}" = set; then
21560 echo $ECHO_N "(cached) $ECHO_C" >&6
21561 else
21562 ac_cv_header_tiffio_h=$ac_header_preproc
21563 fi
21564 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21565 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21566
21567 fi
21568 if test $ac_cv_header_tiffio_h = yes; then
21569
21570 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
21571 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
21572 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
21573 echo $ECHO_N "(cached) $ECHO_C" >&6
21574 else
21575 ac_check_lib_save_LIBS=$LIBS
21576 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
21577 cat >conftest.$ac_ext <<_ACEOF
21578 /* confdefs.h. */
21579 _ACEOF
21580 cat confdefs.h >>conftest.$ac_ext
21581 cat >>conftest.$ac_ext <<_ACEOF
21582 /* end confdefs.h. */
21583
21584 /* Override any gcc2 internal prototype to avoid an error. */
21585 #ifdef __cplusplus
21586 extern "C"
21587 #endif
21588 /* We use char because int might match the return type of a gcc2
21589 builtin and then its argument prototype would still apply. */
21590 char TIFFError ();
21591 int
21592 main ()
21593 {
21594 TIFFError ();
21595 ;
21596 return 0;
21597 }
21598 _ACEOF
21599 rm -f conftest.$ac_objext conftest$ac_exeext
21600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21601 (eval $ac_link) 2>conftest.er1
21602 ac_status=$?
21603 grep -v '^ *+' conftest.er1 >conftest.err
21604 rm -f conftest.er1
21605 cat conftest.err >&5
21606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21607 (exit $ac_status); } &&
21608 { ac_try='test -z "$ac_c_werror_flag"
21609 || test ! -s conftest.err'
21610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21611 (eval $ac_try) 2>&5
21612 ac_status=$?
21613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21614 (exit $ac_status); }; } &&
21615 { ac_try='test -s conftest$ac_exeext'
21616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21617 (eval $ac_try) 2>&5
21618 ac_status=$?
21619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21620 (exit $ac_status); }; }; then
21621 ac_cv_lib_tiff_TIFFError=yes
21622 else
21623 echo "$as_me: failed program was:" >&5
21624 sed 's/^/| /' conftest.$ac_ext >&5
21625
21626 ac_cv_lib_tiff_TIFFError=no
21627 fi
21628 rm -f conftest.err conftest.$ac_objext \
21629 conftest$ac_exeext conftest.$ac_ext
21630 LIBS=$ac_check_lib_save_LIBS
21631 fi
21632 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
21633 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
21634 if test $ac_cv_lib_tiff_TIFFError = yes; then
21635 TIFF_LINK=" -ltiff"
21636 fi
21637
21638
21639
21640 fi
21641
21642
21643
21644 if test "x$TIFF_LINK" = "x" ; then
21645 if test "$wxUSE_LIBTIFF" = "sys" ; then
21646 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
21647 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
21648 { (exit 1); exit 1; }; }
21649 else
21650 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
21651 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
21652 wxUSE_LIBTIFF=builtin
21653 fi
21654 else
21655 wxUSE_LIBTIFF=sys
21656 fi
21657 fi
21658 fi
21659
21660
21661 if test "$wxUSE_EXPAT" != "no"; then
21662 wxUSE_XML=yes
21663 cat >>confdefs.h <<\_ACEOF
21664 #define wxUSE_EXPAT 1
21665 _ACEOF
21666
21667 cat >>confdefs.h <<\_ACEOF
21668 #define wxUSE_XML 1
21669 _ACEOF
21670
21671
21672 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
21673 if test "${ac_cv_header_expat_h+set}" = set; then
21674 echo "$as_me:$LINENO: checking for expat.h" >&5
21675 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21676 if test "${ac_cv_header_expat_h+set}" = set; then
21677 echo $ECHO_N "(cached) $ECHO_C" >&6
21678 fi
21679 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21680 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21681 else
21682 # Is the header compilable?
21683 echo "$as_me:$LINENO: checking expat.h usability" >&5
21684 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
21685 cat >conftest.$ac_ext <<_ACEOF
21686 /* confdefs.h. */
21687 _ACEOF
21688 cat confdefs.h >>conftest.$ac_ext
21689 cat >>conftest.$ac_ext <<_ACEOF
21690 /* end confdefs.h. */
21691 $ac_includes_default
21692 #include <expat.h>
21693 _ACEOF
21694 rm -f conftest.$ac_objext
21695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21696 (eval $ac_compile) 2>conftest.er1
21697 ac_status=$?
21698 grep -v '^ *+' conftest.er1 >conftest.err
21699 rm -f conftest.er1
21700 cat conftest.err >&5
21701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21702 (exit $ac_status); } &&
21703 { ac_try='test -z "$ac_c_werror_flag"
21704 || test ! -s conftest.err'
21705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21706 (eval $ac_try) 2>&5
21707 ac_status=$?
21708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21709 (exit $ac_status); }; } &&
21710 { ac_try='test -s conftest.$ac_objext'
21711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21712 (eval $ac_try) 2>&5
21713 ac_status=$?
21714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21715 (exit $ac_status); }; }; then
21716 ac_header_compiler=yes
21717 else
21718 echo "$as_me: failed program was:" >&5
21719 sed 's/^/| /' conftest.$ac_ext >&5
21720
21721 ac_header_compiler=no
21722 fi
21723 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21724 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21725 echo "${ECHO_T}$ac_header_compiler" >&6
21726
21727 # Is the header present?
21728 echo "$as_me:$LINENO: checking expat.h presence" >&5
21729 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
21730 cat >conftest.$ac_ext <<_ACEOF
21731 /* confdefs.h. */
21732 _ACEOF
21733 cat confdefs.h >>conftest.$ac_ext
21734 cat >>conftest.$ac_ext <<_ACEOF
21735 /* end confdefs.h. */
21736 #include <expat.h>
21737 _ACEOF
21738 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21739 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21740 ac_status=$?
21741 grep -v '^ *+' conftest.er1 >conftest.err
21742 rm -f conftest.er1
21743 cat conftest.err >&5
21744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21745 (exit $ac_status); } >/dev/null; then
21746 if test -s conftest.err; then
21747 ac_cpp_err=$ac_c_preproc_warn_flag
21748 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21749 else
21750 ac_cpp_err=
21751 fi
21752 else
21753 ac_cpp_err=yes
21754 fi
21755 if test -z "$ac_cpp_err"; then
21756 ac_header_preproc=yes
21757 else
21758 echo "$as_me: failed program was:" >&5
21759 sed 's/^/| /' conftest.$ac_ext >&5
21760
21761 ac_header_preproc=no
21762 fi
21763 rm -f conftest.err conftest.$ac_ext
21764 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21765 echo "${ECHO_T}$ac_header_preproc" >&6
21766
21767 # So? What about this header?
21768 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21769 yes:no: )
21770 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
21771 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21772 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
21773 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
21774 ac_header_preproc=yes
21775 ;;
21776 no:yes:* )
21777 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
21778 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
21779 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
21780 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
21781 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
21782 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
21783 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
21784 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
21785 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
21786 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
21787 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
21788 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
21789 (
21790 cat <<\_ASBOX
21791 ## ----------------------------------------- ##
21792 ## Report this to wx-dev@lists.wxwidgets.org ##
21793 ## ----------------------------------------- ##
21794 _ASBOX
21795 ) |
21796 sed "s/^/$as_me: WARNING: /" >&2
21797 ;;
21798 esac
21799 echo "$as_me:$LINENO: checking for expat.h" >&5
21800 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21801 if test "${ac_cv_header_expat_h+set}" = set; then
21802 echo $ECHO_N "(cached) $ECHO_C" >&6
21803 else
21804 ac_cv_header_expat_h=$ac_header_preproc
21805 fi
21806 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21807 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21808
21809 fi
21810 if test $ac_cv_header_expat_h = yes; then
21811 found_expat_h=1
21812 fi
21813
21814
21815 if test "x$found_expat_h" = "x1"; then
21816 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
21817 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
21818 if test "${wx_cv_expat_is_not_broken+set}" = set; then
21819 echo $ECHO_N "(cached) $ECHO_C" >&6
21820 else
21821
21822
21823
21824 ac_ext=cc
21825 ac_cpp='$CXXCPP $CPPFLAGS'
21826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21829
21830 cat >conftest.$ac_ext <<_ACEOF
21831 /* confdefs.h. */
21832 _ACEOF
21833 cat confdefs.h >>conftest.$ac_ext
21834 cat >>conftest.$ac_ext <<_ACEOF
21835 /* end confdefs.h. */
21836 #include <expat.h>
21837 int
21838 main ()
21839 {
21840
21841 ;
21842 return 0;
21843 }
21844 _ACEOF
21845 rm -f conftest.$ac_objext
21846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21847 (eval $ac_compile) 2>conftest.er1
21848 ac_status=$?
21849 grep -v '^ *+' conftest.er1 >conftest.err
21850 rm -f conftest.er1
21851 cat conftest.err >&5
21852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21853 (exit $ac_status); } &&
21854 { ac_try='test -z "$ac_cxx_werror_flag"
21855 || test ! -s conftest.err'
21856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21857 (eval $ac_try) 2>&5
21858 ac_status=$?
21859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21860 (exit $ac_status); }; } &&
21861 { ac_try='test -s conftest.$ac_objext'
21862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21863 (eval $ac_try) 2>&5
21864 ac_status=$?
21865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21866 (exit $ac_status); }; }; then
21867 wx_cv_expat_is_not_broken=yes
21868 else
21869 echo "$as_me: failed program was:" >&5
21870 sed 's/^/| /' conftest.$ac_ext >&5
21871
21872 wx_cv_expat_is_not_broken=no
21873
21874 fi
21875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21876 ac_ext=c
21877 ac_cpp='$CPP $CPPFLAGS'
21878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21881
21882
21883
21884 fi
21885 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
21886 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
21887 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
21888 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
21889 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
21890 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
21891 echo $ECHO_N "(cached) $ECHO_C" >&6
21892 else
21893 ac_check_lib_save_LIBS=$LIBS
21894 LIBS="-lexpat $LIBS"
21895 cat >conftest.$ac_ext <<_ACEOF
21896 /* confdefs.h. */
21897 _ACEOF
21898 cat confdefs.h >>conftest.$ac_ext
21899 cat >>conftest.$ac_ext <<_ACEOF
21900 /* end confdefs.h. */
21901
21902 /* Override any gcc2 internal prototype to avoid an error. */
21903 #ifdef __cplusplus
21904 extern "C"
21905 #endif
21906 /* We use char because int might match the return type of a gcc2
21907 builtin and then its argument prototype would still apply. */
21908 char XML_ParserCreate ();
21909 int
21910 main ()
21911 {
21912 XML_ParserCreate ();
21913 ;
21914 return 0;
21915 }
21916 _ACEOF
21917 rm -f conftest.$ac_objext conftest$ac_exeext
21918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21919 (eval $ac_link) 2>conftest.er1
21920 ac_status=$?
21921 grep -v '^ *+' conftest.er1 >conftest.err
21922 rm -f conftest.er1
21923 cat conftest.err >&5
21924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21925 (exit $ac_status); } &&
21926 { ac_try='test -z "$ac_c_werror_flag"
21927 || test ! -s conftest.err'
21928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21929 (eval $ac_try) 2>&5
21930 ac_status=$?
21931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21932 (exit $ac_status); }; } &&
21933 { ac_try='test -s conftest$ac_exeext'
21934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21935 (eval $ac_try) 2>&5
21936 ac_status=$?
21937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21938 (exit $ac_status); }; }; then
21939 ac_cv_lib_expat_XML_ParserCreate=yes
21940 else
21941 echo "$as_me: failed program was:" >&5
21942 sed 's/^/| /' conftest.$ac_ext >&5
21943
21944 ac_cv_lib_expat_XML_ParserCreate=no
21945 fi
21946 rm -f conftest.err conftest.$ac_objext \
21947 conftest$ac_exeext conftest.$ac_ext
21948 LIBS=$ac_check_lib_save_LIBS
21949 fi
21950 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
21951 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
21952 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
21953 EXPAT_LINK=" -lexpat"
21954 fi
21955
21956 fi
21957 fi
21958 if test "x$EXPAT_LINK" = "x" ; then
21959 if test "$wxUSE_EXPAT" = "sys" ; then
21960 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
21961 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
21962 { (exit 1); exit 1; }; }
21963 else
21964 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
21965 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
21966 wxUSE_EXPAT=builtin
21967 fi
21968 else
21969 wxUSE_EXPAT=sys
21970 fi
21971 fi
21972 if test "$wxUSE_EXPAT" = "builtin" ; then
21973
21974
21975 subdirs="$subdirs src/expat"
21976
21977 fi
21978 fi
21979
21980
21981
21982 if test "$wxUSE_LIBMSPACK" != "no"; then
21983
21984 if test "${ac_cv_header_mspack_h+set}" = set; then
21985 echo "$as_me:$LINENO: checking for mspack.h" >&5
21986 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21987 if test "${ac_cv_header_mspack_h+set}" = set; then
21988 echo $ECHO_N "(cached) $ECHO_C" >&6
21989 fi
21990 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21991 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21992 else
21993 # Is the header compilable?
21994 echo "$as_me:$LINENO: checking mspack.h usability" >&5
21995 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
21996 cat >conftest.$ac_ext <<_ACEOF
21997 /* confdefs.h. */
21998 _ACEOF
21999 cat confdefs.h >>conftest.$ac_ext
22000 cat >>conftest.$ac_ext <<_ACEOF
22001 /* end confdefs.h. */
22002 $ac_includes_default
22003 #include <mspack.h>
22004 _ACEOF
22005 rm -f conftest.$ac_objext
22006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22007 (eval $ac_compile) 2>conftest.er1
22008 ac_status=$?
22009 grep -v '^ *+' conftest.er1 >conftest.err
22010 rm -f conftest.er1
22011 cat conftest.err >&5
22012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22013 (exit $ac_status); } &&
22014 { ac_try='test -z "$ac_c_werror_flag"
22015 || test ! -s conftest.err'
22016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22017 (eval $ac_try) 2>&5
22018 ac_status=$?
22019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22020 (exit $ac_status); }; } &&
22021 { ac_try='test -s conftest.$ac_objext'
22022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22023 (eval $ac_try) 2>&5
22024 ac_status=$?
22025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22026 (exit $ac_status); }; }; then
22027 ac_header_compiler=yes
22028 else
22029 echo "$as_me: failed program was:" >&5
22030 sed 's/^/| /' conftest.$ac_ext >&5
22031
22032 ac_header_compiler=no
22033 fi
22034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22035 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22036 echo "${ECHO_T}$ac_header_compiler" >&6
22037
22038 # Is the header present?
22039 echo "$as_me:$LINENO: checking mspack.h presence" >&5
22040 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
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 <mspack.h>
22048 _ACEOF
22049 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22050 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22051 ac_status=$?
22052 grep -v '^ *+' conftest.er1 >conftest.err
22053 rm -f conftest.er1
22054 cat conftest.err >&5
22055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22056 (exit $ac_status); } >/dev/null; then
22057 if test -s conftest.err; then
22058 ac_cpp_err=$ac_c_preproc_warn_flag
22059 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22060 else
22061 ac_cpp_err=
22062 fi
22063 else
22064 ac_cpp_err=yes
22065 fi
22066 if test -z "$ac_cpp_err"; then
22067 ac_header_preproc=yes
22068 else
22069 echo "$as_me: failed program was:" >&5
22070 sed 's/^/| /' conftest.$ac_ext >&5
22071
22072 ac_header_preproc=no
22073 fi
22074 rm -f conftest.err conftest.$ac_ext
22075 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22076 echo "${ECHO_T}$ac_header_preproc" >&6
22077
22078 # So? What about this header?
22079 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22080 yes:no: )
22081 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
22082 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22083 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
22084 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
22085 ac_header_preproc=yes
22086 ;;
22087 no:yes:* )
22088 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
22089 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
22090 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
22091 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
22092 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
22093 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
22094 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
22095 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
22096 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
22097 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
22098 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
22099 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
22100 (
22101 cat <<\_ASBOX
22102 ## ----------------------------------------- ##
22103 ## Report this to wx-dev@lists.wxwidgets.org ##
22104 ## ----------------------------------------- ##
22105 _ASBOX
22106 ) |
22107 sed "s/^/$as_me: WARNING: /" >&2
22108 ;;
22109 esac
22110 echo "$as_me:$LINENO: checking for mspack.h" >&5
22111 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
22112 if test "${ac_cv_header_mspack_h+set}" = set; then
22113 echo $ECHO_N "(cached) $ECHO_C" >&6
22114 else
22115 ac_cv_header_mspack_h=$ac_header_preproc
22116 fi
22117 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
22118 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
22119
22120 fi
22121 if test $ac_cv_header_mspack_h = yes; then
22122 found_mspack_h=1
22123 fi
22124
22125
22126 if test "x$found_mspack_h" = "x1"; then
22127 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
22128 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
22129 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
22130 echo $ECHO_N "(cached) $ECHO_C" >&6
22131 else
22132 ac_check_lib_save_LIBS=$LIBS
22133 LIBS="-lmspack $LIBS"
22134 cat >conftest.$ac_ext <<_ACEOF
22135 /* confdefs.h. */
22136 _ACEOF
22137 cat confdefs.h >>conftest.$ac_ext
22138 cat >>conftest.$ac_ext <<_ACEOF
22139 /* end confdefs.h. */
22140
22141 /* Override any gcc2 internal prototype to avoid an error. */
22142 #ifdef __cplusplus
22143 extern "C"
22144 #endif
22145 /* We use char because int might match the return type of a gcc2
22146 builtin and then its argument prototype would still apply. */
22147 char mspack_create_chm_decompressor ();
22148 int
22149 main ()
22150 {
22151 mspack_create_chm_decompressor ();
22152 ;
22153 return 0;
22154 }
22155 _ACEOF
22156 rm -f conftest.$ac_objext conftest$ac_exeext
22157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22158 (eval $ac_link) 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_c_werror_flag"
22166 || test ! -s conftest.err'
22167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22168 (eval $ac_try) 2>&5
22169 ac_status=$?
22170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22171 (exit $ac_status); }; } &&
22172 { ac_try='test -s conftest$ac_exeext'
22173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22174 (eval $ac_try) 2>&5
22175 ac_status=$?
22176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22177 (exit $ac_status); }; }; then
22178 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
22179 else
22180 echo "$as_me: failed program was:" >&5
22181 sed 's/^/| /' conftest.$ac_ext >&5
22182
22183 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
22184 fi
22185 rm -f conftest.err conftest.$ac_objext \
22186 conftest$ac_exeext conftest.$ac_ext
22187 LIBS=$ac_check_lib_save_LIBS
22188 fi
22189 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
22190 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
22191 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
22192 MSPACK_LINK=" -lmspack"
22193 fi
22194
22195 fi
22196 if test "x$MSPACK_LINK" = "x" ; then
22197 wxUSE_LIBMSPACK=no
22198 else
22199 cat >>confdefs.h <<\_ACEOF
22200 #define wxUSE_LIBMSPACK 1
22201 _ACEOF
22202
22203 fi
22204 fi
22205
22206
22207
22208 AFMINSTALL=
22209 WIN32INSTALL=
22210
22211 TOOLKIT=
22212 TOOLKIT_INCLUDE=
22213 WIDGET_SET=
22214
22215 if test "$USE_WIN32" = 1 ; then
22216
22217 for ac_header in w32api.h
22218 do
22219 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22220 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22221 echo "$as_me:$LINENO: checking for $ac_header" >&5
22222 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22223 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22224 echo $ECHO_N "(cached) $ECHO_C" >&6
22225 fi
22226 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22227 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22228 else
22229 # Is the header compilable?
22230 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22231 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22232 cat >conftest.$ac_ext <<_ACEOF
22233 /* confdefs.h. */
22234 _ACEOF
22235 cat confdefs.h >>conftest.$ac_ext
22236 cat >>conftest.$ac_ext <<_ACEOF
22237 /* end confdefs.h. */
22238 $ac_includes_default
22239 #include <$ac_header>
22240 _ACEOF
22241 rm -f conftest.$ac_objext
22242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22243 (eval $ac_compile) 2>conftest.er1
22244 ac_status=$?
22245 grep -v '^ *+' conftest.er1 >conftest.err
22246 rm -f conftest.er1
22247 cat conftest.err >&5
22248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22249 (exit $ac_status); } &&
22250 { ac_try='test -z "$ac_c_werror_flag"
22251 || test ! -s conftest.err'
22252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22253 (eval $ac_try) 2>&5
22254 ac_status=$?
22255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22256 (exit $ac_status); }; } &&
22257 { ac_try='test -s conftest.$ac_objext'
22258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22259 (eval $ac_try) 2>&5
22260 ac_status=$?
22261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22262 (exit $ac_status); }; }; then
22263 ac_header_compiler=yes
22264 else
22265 echo "$as_me: failed program was:" >&5
22266 sed 's/^/| /' conftest.$ac_ext >&5
22267
22268 ac_header_compiler=no
22269 fi
22270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22271 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22272 echo "${ECHO_T}$ac_header_compiler" >&6
22273
22274 # Is the header present?
22275 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22276 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22277 cat >conftest.$ac_ext <<_ACEOF
22278 /* confdefs.h. */
22279 _ACEOF
22280 cat confdefs.h >>conftest.$ac_ext
22281 cat >>conftest.$ac_ext <<_ACEOF
22282 /* end confdefs.h. */
22283 #include <$ac_header>
22284 _ACEOF
22285 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22286 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22287 ac_status=$?
22288 grep -v '^ *+' conftest.er1 >conftest.err
22289 rm -f conftest.er1
22290 cat conftest.err >&5
22291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22292 (exit $ac_status); } >/dev/null; then
22293 if test -s conftest.err; then
22294 ac_cpp_err=$ac_c_preproc_warn_flag
22295 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22296 else
22297 ac_cpp_err=
22298 fi
22299 else
22300 ac_cpp_err=yes
22301 fi
22302 if test -z "$ac_cpp_err"; then
22303 ac_header_preproc=yes
22304 else
22305 echo "$as_me: failed program was:" >&5
22306 sed 's/^/| /' conftest.$ac_ext >&5
22307
22308 ac_header_preproc=no
22309 fi
22310 rm -f conftest.err conftest.$ac_ext
22311 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22312 echo "${ECHO_T}$ac_header_preproc" >&6
22313
22314 # So? What about this header?
22315 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22316 yes:no: )
22317 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22318 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22319 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22320 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22321 ac_header_preproc=yes
22322 ;;
22323 no:yes:* )
22324 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22325 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22326 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22327 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22328 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22329 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22330 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22331 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22332 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22333 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22334 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22335 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22336 (
22337 cat <<\_ASBOX
22338 ## ----------------------------------------- ##
22339 ## Report this to wx-dev@lists.wxwidgets.org ##
22340 ## ----------------------------------------- ##
22341 _ASBOX
22342 ) |
22343 sed "s/^/$as_me: WARNING: /" >&2
22344 ;;
22345 esac
22346 echo "$as_me:$LINENO: checking for $ac_header" >&5
22347 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22348 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22349 echo $ECHO_N "(cached) $ECHO_C" >&6
22350 else
22351 eval "$as_ac_Header=\$ac_header_preproc"
22352 fi
22353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22354 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22355
22356 fi
22357 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22358 cat >>confdefs.h <<_ACEOF
22359 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22360 _ACEOF
22361
22362 fi
22363
22364 done
22365
22366 if test "${ac_cv_header_windows_h+set}" = set; then
22367 echo "$as_me:$LINENO: checking for windows.h" >&5
22368 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22369 if test "${ac_cv_header_windows_h+set}" = set; then
22370 echo $ECHO_N "(cached) $ECHO_C" >&6
22371 fi
22372 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22373 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22374 else
22375 # Is the header compilable?
22376 echo "$as_me:$LINENO: checking windows.h usability" >&5
22377 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
22378 cat >conftest.$ac_ext <<_ACEOF
22379 /* confdefs.h. */
22380 _ACEOF
22381 cat confdefs.h >>conftest.$ac_ext
22382 cat >>conftest.$ac_ext <<_ACEOF
22383 /* end confdefs.h. */
22384 $ac_includes_default
22385 #include <windows.h>
22386 _ACEOF
22387 rm -f conftest.$ac_objext
22388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22389 (eval $ac_compile) 2>conftest.er1
22390 ac_status=$?
22391 grep -v '^ *+' conftest.er1 >conftest.err
22392 rm -f conftest.er1
22393 cat conftest.err >&5
22394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22395 (exit $ac_status); } &&
22396 { ac_try='test -z "$ac_c_werror_flag"
22397 || test ! -s conftest.err'
22398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22399 (eval $ac_try) 2>&5
22400 ac_status=$?
22401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22402 (exit $ac_status); }; } &&
22403 { ac_try='test -s conftest.$ac_objext'
22404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22405 (eval $ac_try) 2>&5
22406 ac_status=$?
22407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22408 (exit $ac_status); }; }; then
22409 ac_header_compiler=yes
22410 else
22411 echo "$as_me: failed program was:" >&5
22412 sed 's/^/| /' conftest.$ac_ext >&5
22413
22414 ac_header_compiler=no
22415 fi
22416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22417 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22418 echo "${ECHO_T}$ac_header_compiler" >&6
22419
22420 # Is the header present?
22421 echo "$as_me:$LINENO: checking windows.h presence" >&5
22422 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
22423 cat >conftest.$ac_ext <<_ACEOF
22424 /* confdefs.h. */
22425 _ACEOF
22426 cat confdefs.h >>conftest.$ac_ext
22427 cat >>conftest.$ac_ext <<_ACEOF
22428 /* end confdefs.h. */
22429 #include <windows.h>
22430 _ACEOF
22431 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22432 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22433 ac_status=$?
22434 grep -v '^ *+' conftest.er1 >conftest.err
22435 rm -f conftest.er1
22436 cat conftest.err >&5
22437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22438 (exit $ac_status); } >/dev/null; then
22439 if test -s conftest.err; then
22440 ac_cpp_err=$ac_c_preproc_warn_flag
22441 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22442 else
22443 ac_cpp_err=
22444 fi
22445 else
22446 ac_cpp_err=yes
22447 fi
22448 if test -z "$ac_cpp_err"; then
22449 ac_header_preproc=yes
22450 else
22451 echo "$as_me: failed program was:" >&5
22452 sed 's/^/| /' conftest.$ac_ext >&5
22453
22454 ac_header_preproc=no
22455 fi
22456 rm -f conftest.err conftest.$ac_ext
22457 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22458 echo "${ECHO_T}$ac_header_preproc" >&6
22459
22460 # So? What about this header?
22461 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22462 yes:no: )
22463 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
22464 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22465 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
22466 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
22467 ac_header_preproc=yes
22468 ;;
22469 no:yes:* )
22470 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
22471 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
22472 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
22473 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
22474 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
22475 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
22476 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
22477 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
22478 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
22479 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
22480 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
22481 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
22482 (
22483 cat <<\_ASBOX
22484 ## ----------------------------------------- ##
22485 ## Report this to wx-dev@lists.wxwidgets.org ##
22486 ## ----------------------------------------- ##
22487 _ASBOX
22488 ) |
22489 sed "s/^/$as_me: WARNING: /" >&2
22490 ;;
22491 esac
22492 echo "$as_me:$LINENO: checking for windows.h" >&5
22493 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22494 if test "${ac_cv_header_windows_h+set}" = set; then
22495 echo $ECHO_N "(cached) $ECHO_C" >&6
22496 else
22497 ac_cv_header_windows_h=$ac_header_preproc
22498 fi
22499 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22500 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22501
22502 fi
22503 if test $ac_cv_header_windows_h = yes; then
22504 :
22505 else
22506
22507 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
22508 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
22509 { (exit 1); exit 1; }; }
22510
22511 fi
22512
22513
22514
22515 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
22516
22517 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
22518 LIBS="$LIBS -loleacc"
22519 fi
22520
22521 case "${host}" in
22522 *-*-cygwin* )
22523 LIBS="$LIBS -lkernel32 -luser32"
22524 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
22525 esac
22526
22527 if test "$wxUSE_ODBC" = "sys" ; then
22528 wxUSE_ODBC = "yes"
22529 fi
22530 if test "$wxUSE_ODBC" = "yes" ; then
22531 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
22532 cat >>confdefs.h <<\_ACEOF
22533 #define wxUSE_ODBC 1
22534 _ACEOF
22535
22536 fi
22537
22538 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
22539 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
22540
22541 WIN32INSTALL=win32install
22542 fi
22543
22544 if test "$wxUSE_GUI" = "yes"; then
22545 USE_GUI=1
22546
22547 GUI_TK_LIBRARY=
22548
22549 WXGTK12=
22550 WXGTK127=
22551 WXGTK20=
22552 WXGPE=
22553
22554 if test "$wxUSE_MSW" = 1 ; then
22555 TOOLKIT=MSW
22556 GUIDIST=MSW_DIST
22557
22558 case "${host}" in
22559 *-*-mingw32* )
22560 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
22561 esac
22562 fi
22563
22564 if test "$wxUSE_GTK" = 1; then
22565 echo "$as_me:$LINENO: checking for GTK+ version" >&5
22566 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
22567
22568 gtk_version_cached=1
22569 if test "${wx_cv_lib_gtk+set}" = set; then
22570 echo $ECHO_N "(cached) $ECHO_C" >&6
22571 else
22572
22573 gtk_version_cached=0
22574 echo "$as_me:$LINENO: result: " >&5
22575 echo "${ECHO_T}" >&6
22576
22577 GTK_MODULES=
22578 if test "$wxUSE_THREADS" = "yes"; then
22579 GTK_MODULES=gthread
22580 fi
22581
22582 wx_cv_lib_gtk=
22583 if test "x$wxUSE_GTK2" = "xyes"; then
22584 # Check whether --enable-gtktest or --disable-gtktest was given.
22585 if test "${enable_gtktest+set}" = set; then
22586 enableval="$enable_gtktest"
22587
22588 else
22589 enable_gtktest=yes
22590 fi;
22591
22592 pkg_config_args=gtk+-2.0
22593 for module in . $GTK_MODULES
22594 do
22595 case "$module" in
22596 gthread)
22597 pkg_config_args="$pkg_config_args gthread-2.0"
22598 ;;
22599 esac
22600 done
22601
22602 no_gtk=""
22603
22604 # Extract the first word of "pkg-config", so it can be a program name with args.
22605 set dummy pkg-config; ac_word=$2
22606 echo "$as_me:$LINENO: checking for $ac_word" >&5
22607 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22608 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22609 echo $ECHO_N "(cached) $ECHO_C" >&6
22610 else
22611 case $PKG_CONFIG in
22612 [\\/]* | ?:[\\/]*)
22613 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22614 ;;
22615 *)
22616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22617 for as_dir in $PATH
22618 do
22619 IFS=$as_save_IFS
22620 test -z "$as_dir" && as_dir=.
22621 for ac_exec_ext in '' $ac_executable_extensions; do
22622 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22623 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22624 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22625 break 2
22626 fi
22627 done
22628 done
22629
22630 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22631 ;;
22632 esac
22633 fi
22634 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22635
22636 if test -n "$PKG_CONFIG"; then
22637 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22638 echo "${ECHO_T}$PKG_CONFIG" >&6
22639 else
22640 echo "$as_me:$LINENO: result: no" >&5
22641 echo "${ECHO_T}no" >&6
22642 fi
22643
22644
22645 if test x$PKG_CONFIG != xno ; then
22646 if pkg-config --atleast-pkgconfig-version 0.7 ; then
22647 :
22648 else
22649 echo "*** pkg-config too old; version 0.7 or better required."
22650 no_gtk=yes
22651 PKG_CONFIG=no
22652 fi
22653 else
22654 no_gtk=yes
22655 fi
22656
22657 min_gtk_version=2.0.0
22658 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
22659 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
22660
22661 if test x$PKG_CONFIG != xno ; then
22662 ## don't try to run the test against uninstalled libtool libs
22663 if $PKG_CONFIG --uninstalled $pkg_config_args; then
22664 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
22665 enable_gtktest=no
22666 fi
22667
22668 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
22669 :
22670 else
22671 no_gtk=yes
22672 fi
22673 fi
22674
22675 if test x"$no_gtk" = x ; then
22676 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
22677 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
22678 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
22679 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22680 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
22681 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22682 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
22683 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22684 if test "x$enable_gtktest" = "xyes" ; then
22685 ac_save_CFLAGS="$CFLAGS"
22686 ac_save_LIBS="$LIBS"
22687 CFLAGS="$CFLAGS $GTK_CFLAGS"
22688 LIBS="$GTK_LIBS $LIBS"
22689 rm -f conf.gtktest
22690 if test "$cross_compiling" = yes; then
22691 echo $ac_n "cross compiling; assumed OK... $ac_c"
22692 else
22693 cat >conftest.$ac_ext <<_ACEOF
22694 /* confdefs.h. */
22695 _ACEOF
22696 cat confdefs.h >>conftest.$ac_ext
22697 cat >>conftest.$ac_ext <<_ACEOF
22698 /* end confdefs.h. */
22699
22700 #include <gtk/gtk.h>
22701 #include <stdio.h>
22702 #include <stdlib.h>
22703
22704 int
22705 main ()
22706 {
22707 int major, minor, micro;
22708 char *tmp_version;
22709
22710 system ("touch conf.gtktest");
22711
22712 /* HP/UX 9 (%@#!) writes to sscanf strings */
22713 tmp_version = g_strdup("$min_gtk_version");
22714 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
22715 printf("%s, bad version string\n", "$min_gtk_version");
22716 exit(1);
22717 }
22718
22719 if ((gtk_major_version != $gtk_config_major_version) ||
22720 (gtk_minor_version != $gtk_config_minor_version) ||
22721 (gtk_micro_version != $gtk_config_micro_version))
22722 {
22723 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22724 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22725 gtk_major_version, gtk_minor_version, gtk_micro_version);
22726 printf ("*** was found! If pkg-config was correct, then it is best\n");
22727 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22728 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22729 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22730 printf("*** required on your system.\n");
22731 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
22732 printf("*** to point to the correct configuration files\n");
22733 }
22734 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22735 (gtk_minor_version != GTK_MINOR_VERSION) ||
22736 (gtk_micro_version != GTK_MICRO_VERSION))
22737 {
22738 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22739 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22740 printf("*** library (version %d.%d.%d)\n",
22741 gtk_major_version, gtk_minor_version, gtk_micro_version);
22742 }
22743 else
22744 {
22745 if ((gtk_major_version > major) ||
22746 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22747 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22748 {
22749 return 0;
22750 }
22751 else
22752 {
22753 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22754 gtk_major_version, gtk_minor_version, gtk_micro_version);
22755 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22756 major, minor, micro);
22757 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22758 printf("***\n");
22759 printf("*** If you have already installed a sufficiently new version, this error\n");
22760 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
22761 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22762 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
22763 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
22764 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22765 printf("*** so that the correct libraries are found at run-time))\n");
22766 }
22767 }
22768 return 1;
22769 }
22770
22771 _ACEOF
22772 rm -f conftest$ac_exeext
22773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22774 (eval $ac_link) 2>&5
22775 ac_status=$?
22776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22777 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22779 (eval $ac_try) 2>&5
22780 ac_status=$?
22781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22782 (exit $ac_status); }; }; then
22783 :
22784 else
22785 echo "$as_me: program exited with status $ac_status" >&5
22786 echo "$as_me: failed program was:" >&5
22787 sed 's/^/| /' conftest.$ac_ext >&5
22788
22789 ( exit $ac_status )
22790 no_gtk=yes
22791 fi
22792 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22793 fi
22794 CFLAGS="$ac_save_CFLAGS"
22795 LIBS="$ac_save_LIBS"
22796 fi
22797 fi
22798 if test "x$no_gtk" = x ; then
22799 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
22800 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
22801 wx_cv_lib_gtk=2.0
22802 else
22803 echo "$as_me:$LINENO: result: no" >&5
22804 echo "${ECHO_T}no" >&6
22805 if test "$PKG_CONFIG" = "no" ; then
22806 echo "*** A new enough version of pkg-config was not found."
22807 echo "*** See http://pkgconfig.sourceforge.net"
22808 else
22809 if test -f conf.gtktest ; then
22810 :
22811 else
22812 echo "*** Could not run GTK+ test program, checking why..."
22813 ac_save_CFLAGS="$CFLAGS"
22814 ac_save_LIBS="$LIBS"
22815 CFLAGS="$CFLAGS $GTK_CFLAGS"
22816 LIBS="$LIBS $GTK_LIBS"
22817 cat >conftest.$ac_ext <<_ACEOF
22818 /* confdefs.h. */
22819 _ACEOF
22820 cat confdefs.h >>conftest.$ac_ext
22821 cat >>conftest.$ac_ext <<_ACEOF
22822 /* end confdefs.h. */
22823
22824 #include <gtk/gtk.h>
22825 #include <stdio.h>
22826
22827 int
22828 main ()
22829 {
22830 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22831 ;
22832 return 0;
22833 }
22834 _ACEOF
22835 rm -f conftest.$ac_objext conftest$ac_exeext
22836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22837 (eval $ac_link) 2>conftest.er1
22838 ac_status=$?
22839 grep -v '^ *+' conftest.er1 >conftest.err
22840 rm -f conftest.er1
22841 cat conftest.err >&5
22842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22843 (exit $ac_status); } &&
22844 { ac_try='test -z "$ac_c_werror_flag"
22845 || test ! -s conftest.err'
22846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22847 (eval $ac_try) 2>&5
22848 ac_status=$?
22849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22850 (exit $ac_status); }; } &&
22851 { ac_try='test -s conftest$ac_exeext'
22852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22853 (eval $ac_try) 2>&5
22854 ac_status=$?
22855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22856 (exit $ac_status); }; }; then
22857 echo "*** The test program compiled, but did not run. This usually means"
22858 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
22859 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
22860 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22861 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22862 echo "*** is required on your system"
22863 echo "***"
22864 echo "*** If you have an old version installed, it is best to remove it, although"
22865 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22866 else
22867 echo "$as_me: failed program was:" >&5
22868 sed 's/^/| /' conftest.$ac_ext >&5
22869
22870 echo "*** The test program failed to compile or link. See the file config.log for the"
22871 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
22872 fi
22873 rm -f conftest.err conftest.$ac_objext \
22874 conftest$ac_exeext conftest.$ac_ext
22875 CFLAGS="$ac_save_CFLAGS"
22876 LIBS="$ac_save_LIBS"
22877 fi
22878 fi
22879 GTK_CFLAGS=""
22880 GTK_LIBS=""
22881 :
22882 fi
22883
22884
22885 rm -f conf.gtktest
22886
22887 else
22888
22889 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22890 if test "${with_gtk_prefix+set}" = set; then
22891 withval="$with_gtk_prefix"
22892 gtk_config_prefix="$withval"
22893 else
22894 gtk_config_prefix=""
22895 fi;
22896
22897 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22898 if test "${with_gtk_exec_prefix+set}" = set; then
22899 withval="$with_gtk_exec_prefix"
22900 gtk_config_exec_prefix="$withval"
22901 else
22902 gtk_config_exec_prefix=""
22903 fi;
22904 # Check whether --enable-gtktest or --disable-gtktest was given.
22905 if test "${enable_gtktest+set}" = set; then
22906 enableval="$enable_gtktest"
22907
22908 else
22909 enable_gtktest=yes
22910 fi;
22911
22912 for module in . $GTK_MODULES
22913 do
22914 case "$module" in
22915 gthread)
22916 gtk_config_args="$gtk_config_args gthread"
22917 ;;
22918 esac
22919 done
22920
22921 if test x$gtk_config_exec_prefix != x ; then
22922 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22923 if test x${GTK_CONFIG+set} != xset ; then
22924 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
22925 fi
22926 fi
22927 if test x$gtk_config_prefix != x ; then
22928 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
22929 if test x${GTK_CONFIG+set} != xset ; then
22930 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
22931 fi
22932 fi
22933
22934 # Extract the first word of "gtk-config", so it can be a program name with args.
22935 set dummy gtk-config; ac_word=$2
22936 echo "$as_me:$LINENO: checking for $ac_word" >&5
22937 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22938 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22939 echo $ECHO_N "(cached) $ECHO_C" >&6
22940 else
22941 case $GTK_CONFIG in
22942 [\\/]* | ?:[\\/]*)
22943 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
22944 ;;
22945 *)
22946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22947 for as_dir in $PATH
22948 do
22949 IFS=$as_save_IFS
22950 test -z "$as_dir" && as_dir=.
22951 for ac_exec_ext in '' $ac_executable_extensions; do
22952 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22953 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22954 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22955 break 2
22956 fi
22957 done
22958 done
22959
22960 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
22961 ;;
22962 esac
22963 fi
22964 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
22965
22966 if test -n "$GTK_CONFIG"; then
22967 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
22968 echo "${ECHO_T}$GTK_CONFIG" >&6
22969 else
22970 echo "$as_me:$LINENO: result: no" >&5
22971 echo "${ECHO_T}no" >&6
22972 fi
22973
22974 min_gtk_version=1.2.7
22975 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
22976 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
22977 no_gtk=""
22978 if test "$GTK_CONFIG" = "no" ; then
22979 no_gtk=yes
22980 else
22981 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
22982 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
22983 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
22984 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22985 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
22986 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22987 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
22988 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22989 if test "x$enable_gtktest" = "xyes" ; then
22990 ac_save_CFLAGS="$CFLAGS"
22991 ac_save_LIBS="$LIBS"
22992 CFLAGS="$CFLAGS $GTK_CFLAGS"
22993 LIBS="$GTK_LIBS $LIBS"
22994 rm -f conf.gtktest
22995 if test "$cross_compiling" = yes; then
22996 echo $ac_n "cross compiling; assumed OK... $ac_c"
22997 else
22998 cat >conftest.$ac_ext <<_ACEOF
22999 /* confdefs.h. */
23000 _ACEOF
23001 cat confdefs.h >>conftest.$ac_ext
23002 cat >>conftest.$ac_ext <<_ACEOF
23003 /* end confdefs.h. */
23004
23005 #include <gtk/gtk.h>
23006 #include <stdio.h>
23007 #include <stdlib.h>
23008
23009 int
23010 main ()
23011 {
23012 int major, minor, micro;
23013 char *tmp_version;
23014
23015 system ("touch conf.gtktest");
23016
23017 /* HP/UX 9 (%@#!) writes to sscanf strings */
23018 tmp_version = g_strdup("$min_gtk_version");
23019 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23020 printf("%s, bad version string\n", "$min_gtk_version");
23021 exit(1);
23022 }
23023
23024 if ((gtk_major_version != $gtk_config_major_version) ||
23025 (gtk_minor_version != $gtk_config_minor_version) ||
23026 (gtk_micro_version != $gtk_config_micro_version))
23027 {
23028 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23029 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23030 gtk_major_version, gtk_minor_version, gtk_micro_version);
23031 printf ("*** was found! If gtk-config was correct, then it is best\n");
23032 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23033 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23034 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23035 printf("*** required on your system.\n");
23036 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23037 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23038 printf("*** before re-running configure\n");
23039 }
23040 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23041 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23042 (gtk_minor_version != GTK_MINOR_VERSION) ||
23043 (gtk_micro_version != GTK_MICRO_VERSION))
23044 {
23045 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23046 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23047 printf("*** library (version %d.%d.%d)\n",
23048 gtk_major_version, gtk_minor_version, gtk_micro_version);
23049 }
23050 #endif /* defined (GTK_MAJOR_VERSION) ... */
23051 else
23052 {
23053 if ((gtk_major_version > major) ||
23054 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23055 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23056 {
23057 return 0;
23058 }
23059 else
23060 {
23061 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23062 gtk_major_version, gtk_minor_version, gtk_micro_version);
23063 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23064 major, minor, micro);
23065 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23066 printf("***\n");
23067 printf("*** If you have already installed a sufficiently new version, this error\n");
23068 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23069 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23070 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23071 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23072 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23073 printf("*** so that the correct libraries are found at run-time))\n");
23074 }
23075 }
23076 return 1;
23077 }
23078
23079 _ACEOF
23080 rm -f conftest$ac_exeext
23081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23082 (eval $ac_link) 2>&5
23083 ac_status=$?
23084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23085 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23087 (eval $ac_try) 2>&5
23088 ac_status=$?
23089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23090 (exit $ac_status); }; }; then
23091 :
23092 else
23093 echo "$as_me: program exited with status $ac_status" >&5
23094 echo "$as_me: failed program was:" >&5
23095 sed 's/^/| /' conftest.$ac_ext >&5
23096
23097 ( exit $ac_status )
23098 no_gtk=yes
23099 fi
23100 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23101 fi
23102 CFLAGS="$ac_save_CFLAGS"
23103 LIBS="$ac_save_LIBS"
23104 fi
23105 fi
23106 if test "x$no_gtk" = x ; then
23107 echo "$as_me:$LINENO: result: yes" >&5
23108 echo "${ECHO_T}yes" >&6
23109 wx_cv_lib_gtk=1.2.7
23110 else
23111 echo "$as_me:$LINENO: result: no" >&5
23112 echo "${ECHO_T}no" >&6
23113 if test "$GTK_CONFIG" = "no" ; then
23114 echo "*** The gtk-config script installed by GTK could not be found"
23115 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23116 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23117 echo "*** full path to gtk-config."
23118 else
23119 if test -f conf.gtktest ; then
23120 :
23121 else
23122 echo "*** Could not run GTK test program, checking why..."
23123 CFLAGS="$CFLAGS $GTK_CFLAGS"
23124 LIBS="$LIBS $GTK_LIBS"
23125 cat >conftest.$ac_ext <<_ACEOF
23126 /* confdefs.h. */
23127 _ACEOF
23128 cat confdefs.h >>conftest.$ac_ext
23129 cat >>conftest.$ac_ext <<_ACEOF
23130 /* end confdefs.h. */
23131
23132 #include <gtk/gtk.h>
23133 #include <stdio.h>
23134
23135 int
23136 main ()
23137 {
23138 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23139 ;
23140 return 0;
23141 }
23142 _ACEOF
23143 rm -f conftest.$ac_objext conftest$ac_exeext
23144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23145 (eval $ac_link) 2>conftest.er1
23146 ac_status=$?
23147 grep -v '^ *+' conftest.er1 >conftest.err
23148 rm -f conftest.er1
23149 cat conftest.err >&5
23150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23151 (exit $ac_status); } &&
23152 { ac_try='test -z "$ac_c_werror_flag"
23153 || test ! -s conftest.err'
23154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23155 (eval $ac_try) 2>&5
23156 ac_status=$?
23157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23158 (exit $ac_status); }; } &&
23159 { ac_try='test -s conftest$ac_exeext'
23160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23161 (eval $ac_try) 2>&5
23162 ac_status=$?
23163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23164 (exit $ac_status); }; }; then
23165 echo "*** The test program compiled, but did not run. This usually means"
23166 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23167 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23168 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23169 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23170 echo "*** is required on your system"
23171 echo "***"
23172 echo "*** If you have an old version installed, it is best to remove it, although"
23173 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23174 echo "***"
23175 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23176 echo "*** came with the system with the command"
23177 echo "***"
23178 echo "*** rpm --erase --nodeps gtk gtk-devel"
23179 else
23180 echo "$as_me: failed program was:" >&5
23181 sed 's/^/| /' conftest.$ac_ext >&5
23182
23183 echo "*** The test program failed to compile or link. See the file config.log for the"
23184 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23185 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23186 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23187 fi
23188 rm -f conftest.err conftest.$ac_objext \
23189 conftest$ac_exeext conftest.$ac_ext
23190 CFLAGS="$ac_save_CFLAGS"
23191 LIBS="$ac_save_LIBS"
23192 fi
23193 fi
23194 GTK_CFLAGS=""
23195 GTK_LIBS=""
23196 :
23197 fi
23198
23199
23200 rm -f conf.gtktest
23201
23202
23203 if test -z "$wx_cv_lib_gtk"; then
23204
23205 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
23206 if test "${with_gtk_prefix+set}" = set; then
23207 withval="$with_gtk_prefix"
23208 gtk_config_prefix="$withval"
23209 else
23210 gtk_config_prefix=""
23211 fi;
23212
23213 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
23214 if test "${with_gtk_exec_prefix+set}" = set; then
23215 withval="$with_gtk_exec_prefix"
23216 gtk_config_exec_prefix="$withval"
23217 else
23218 gtk_config_exec_prefix=""
23219 fi;
23220 # Check whether --enable-gtktest or --disable-gtktest was given.
23221 if test "${enable_gtktest+set}" = set; then
23222 enableval="$enable_gtktest"
23223
23224 else
23225 enable_gtktest=yes
23226 fi;
23227
23228 for module in . $GTK_MODULES
23229 do
23230 case "$module" in
23231 gthread)
23232 gtk_config_args="$gtk_config_args gthread"
23233 ;;
23234 esac
23235 done
23236
23237 if test x$gtk_config_exec_prefix != x ; then
23238 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23239 if test x${GTK_CONFIG+set} != xset ; then
23240 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
23241 fi
23242 fi
23243 if test x$gtk_config_prefix != x ; then
23244 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
23245 if test x${GTK_CONFIG+set} != xset ; then
23246 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
23247 fi
23248 fi
23249
23250 # Extract the first word of "gtk-config", so it can be a program name with args.
23251 set dummy gtk-config; ac_word=$2
23252 echo "$as_me:$LINENO: checking for $ac_word" >&5
23253 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23254 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
23255 echo $ECHO_N "(cached) $ECHO_C" >&6
23256 else
23257 case $GTK_CONFIG in
23258 [\\/]* | ?:[\\/]*)
23259 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
23260 ;;
23261 *)
23262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23263 for as_dir in $PATH
23264 do
23265 IFS=$as_save_IFS
23266 test -z "$as_dir" && as_dir=.
23267 for ac_exec_ext in '' $ac_executable_extensions; do
23268 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23269 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23270 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23271 break 2
23272 fi
23273 done
23274 done
23275
23276 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
23277 ;;
23278 esac
23279 fi
23280 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
23281
23282 if test -n "$GTK_CONFIG"; then
23283 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
23284 echo "${ECHO_T}$GTK_CONFIG" >&6
23285 else
23286 echo "$as_me:$LINENO: result: no" >&5
23287 echo "${ECHO_T}no" >&6
23288 fi
23289
23290 min_gtk_version=1.2.3
23291 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
23292 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
23293 no_gtk=""
23294 if test "$GTK_CONFIG" = "no" ; then
23295 no_gtk=yes
23296 else
23297 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
23298 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
23299 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
23300 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23301 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
23302 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23303 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
23304 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23305 if test "x$enable_gtktest" = "xyes" ; then
23306 ac_save_CFLAGS="$CFLAGS"
23307 ac_save_LIBS="$LIBS"
23308 CFLAGS="$CFLAGS $GTK_CFLAGS"
23309 LIBS="$GTK_LIBS $LIBS"
23310 rm -f conf.gtktest
23311 if test "$cross_compiling" = yes; then
23312 echo $ac_n "cross compiling; assumed OK... $ac_c"
23313 else
23314 cat >conftest.$ac_ext <<_ACEOF
23315 /* confdefs.h. */
23316 _ACEOF
23317 cat confdefs.h >>conftest.$ac_ext
23318 cat >>conftest.$ac_ext <<_ACEOF
23319 /* end confdefs.h. */
23320
23321 #include <gtk/gtk.h>
23322 #include <stdio.h>
23323 #include <stdlib.h>
23324
23325 int
23326 main ()
23327 {
23328 int major, minor, micro;
23329 char *tmp_version;
23330
23331 system ("touch conf.gtktest");
23332
23333 /* HP/UX 9 (%@#!) writes to sscanf strings */
23334 tmp_version = g_strdup("$min_gtk_version");
23335 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23336 printf("%s, bad version string\n", "$min_gtk_version");
23337 exit(1);
23338 }
23339
23340 if ((gtk_major_version != $gtk_config_major_version) ||
23341 (gtk_minor_version != $gtk_config_minor_version) ||
23342 (gtk_micro_version != $gtk_config_micro_version))
23343 {
23344 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23345 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23346 gtk_major_version, gtk_minor_version, gtk_micro_version);
23347 printf ("*** was found! If gtk-config was correct, then it is best\n");
23348 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23349 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23350 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23351 printf("*** required on your system.\n");
23352 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23353 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23354 printf("*** before re-running configure\n");
23355 }
23356 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23357 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23358 (gtk_minor_version != GTK_MINOR_VERSION) ||
23359 (gtk_micro_version != GTK_MICRO_VERSION))
23360 {
23361 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23362 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23363 printf("*** library (version %d.%d.%d)\n",
23364 gtk_major_version, gtk_minor_version, gtk_micro_version);
23365 }
23366 #endif /* defined (GTK_MAJOR_VERSION) ... */
23367 else
23368 {
23369 if ((gtk_major_version > major) ||
23370 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23371 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23372 {
23373 return 0;
23374 }
23375 else
23376 {
23377 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23378 gtk_major_version, gtk_minor_version, gtk_micro_version);
23379 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23380 major, minor, micro);
23381 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23382 printf("***\n");
23383 printf("*** If you have already installed a sufficiently new version, this error\n");
23384 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23385 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23386 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23387 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23388 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23389 printf("*** so that the correct libraries are found at run-time))\n");
23390 }
23391 }
23392 return 1;
23393 }
23394
23395 _ACEOF
23396 rm -f conftest$ac_exeext
23397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23398 (eval $ac_link) 2>&5
23399 ac_status=$?
23400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23401 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23403 (eval $ac_try) 2>&5
23404 ac_status=$?
23405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23406 (exit $ac_status); }; }; then
23407 :
23408 else
23409 echo "$as_me: program exited with status $ac_status" >&5
23410 echo "$as_me: failed program was:" >&5
23411 sed 's/^/| /' conftest.$ac_ext >&5
23412
23413 ( exit $ac_status )
23414 no_gtk=yes
23415 fi
23416 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23417 fi
23418 CFLAGS="$ac_save_CFLAGS"
23419 LIBS="$ac_save_LIBS"
23420 fi
23421 fi
23422 if test "x$no_gtk" = x ; then
23423 echo "$as_me:$LINENO: result: yes" >&5
23424 echo "${ECHO_T}yes" >&6
23425 wx_cv_lib_gtk=1.2.3
23426 else
23427 echo "$as_me:$LINENO: result: no" >&5
23428 echo "${ECHO_T}no" >&6
23429 if test "$GTK_CONFIG" = "no" ; then
23430 echo "*** The gtk-config script installed by GTK could not be found"
23431 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23432 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23433 echo "*** full path to gtk-config."
23434 else
23435 if test -f conf.gtktest ; then
23436 :
23437 else
23438 echo "*** Could not run GTK test program, checking why..."
23439 CFLAGS="$CFLAGS $GTK_CFLAGS"
23440 LIBS="$LIBS $GTK_LIBS"
23441 cat >conftest.$ac_ext <<_ACEOF
23442 /* confdefs.h. */
23443 _ACEOF
23444 cat confdefs.h >>conftest.$ac_ext
23445 cat >>conftest.$ac_ext <<_ACEOF
23446 /* end confdefs.h. */
23447
23448 #include <gtk/gtk.h>
23449 #include <stdio.h>
23450
23451 int
23452 main ()
23453 {
23454 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23455 ;
23456 return 0;
23457 }
23458 _ACEOF
23459 rm -f conftest.$ac_objext conftest$ac_exeext
23460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23461 (eval $ac_link) 2>conftest.er1
23462 ac_status=$?
23463 grep -v '^ *+' conftest.er1 >conftest.err
23464 rm -f conftest.er1
23465 cat conftest.err >&5
23466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23467 (exit $ac_status); } &&
23468 { ac_try='test -z "$ac_c_werror_flag"
23469 || test ! -s conftest.err'
23470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23471 (eval $ac_try) 2>&5
23472 ac_status=$?
23473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23474 (exit $ac_status); }; } &&
23475 { ac_try='test -s conftest$ac_exeext'
23476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23477 (eval $ac_try) 2>&5
23478 ac_status=$?
23479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23480 (exit $ac_status); }; }; then
23481 echo "*** The test program compiled, but did not run. This usually means"
23482 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23483 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23484 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23485 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23486 echo "*** is required on your system"
23487 echo "***"
23488 echo "*** If you have an old version installed, it is best to remove it, although"
23489 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23490 echo "***"
23491 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23492 echo "*** came with the system with the command"
23493 echo "***"
23494 echo "*** rpm --erase --nodeps gtk gtk-devel"
23495 else
23496 echo "$as_me: failed program was:" >&5
23497 sed 's/^/| /' conftest.$ac_ext >&5
23498
23499 echo "*** The test program failed to compile or link. See the file config.log for the"
23500 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23501 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23502 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23503 fi
23504 rm -f conftest.err conftest.$ac_objext \
23505 conftest$ac_exeext conftest.$ac_ext
23506 CFLAGS="$ac_save_CFLAGS"
23507 LIBS="$ac_save_LIBS"
23508 fi
23509 fi
23510 GTK_CFLAGS=""
23511 GTK_LIBS=""
23512 :
23513 fi
23514
23515
23516 rm -f conf.gtktest
23517
23518 fi
23519 fi
23520
23521 if test -z "$wx_cv_lib_gtk"; then
23522 wx_cv_lib_gtk=none
23523 else
23524 wx_cv_cflags_gtk=$GTK_CFLAGS
23525 wx_cv_libs_gtk=$GTK_LIBS
23526 fi
23527
23528
23529 fi
23530
23531
23532 if test "$gtk_version_cached" = 1; then
23533 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
23534 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
23535 fi
23536
23537 case "$wx_cv_lib_gtk" in
23538 2.0) WXGTK20=1
23539 TOOLKIT_VERSION=2
23540 ;;
23541 1.2.7) WXGTK127=1
23542 WXGTK12=1
23543 ;;
23544 1.2.3) WXGTK12=1
23545 ;;
23546 *) { { echo "$as_me:$LINENO: error:
23547 Please check that gtk-config is in path, the directory
23548 where GTK+ libraries are installed (returned by
23549 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23550 equivalent variable and GTK+ is version 1.2.3 or above.
23551 " >&5
23552 echo "$as_me: error:
23553 Please check that gtk-config is in path, the directory
23554 where GTK+ libraries are installed (returned by
23555 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23556 equivalent variable and GTK+ is version 1.2.3 or above.
23557 " >&2;}
23558 { (exit 1); exit 1; }; }
23559 ;;
23560 esac
23561
23562 if test "$WXGTK20" = 1; then
23563 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
23564
23565 succeeded=no
23566
23567 if test -z "$PKG_CONFIG"; then
23568 # Extract the first word of "pkg-config", so it can be a program name with args.
23569 set dummy pkg-config; ac_word=$2
23570 echo "$as_me:$LINENO: checking for $ac_word" >&5
23571 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23572 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23573 echo $ECHO_N "(cached) $ECHO_C" >&6
23574 else
23575 case $PKG_CONFIG in
23576 [\\/]* | ?:[\\/]*)
23577 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23578 ;;
23579 *)
23580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23581 for as_dir in $PATH
23582 do
23583 IFS=$as_save_IFS
23584 test -z "$as_dir" && as_dir=.
23585 for ac_exec_ext in '' $ac_executable_extensions; do
23586 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23587 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23588 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23589 break 2
23590 fi
23591 done
23592 done
23593
23594 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23595 ;;
23596 esac
23597 fi
23598 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23599
23600 if test -n "$PKG_CONFIG"; then
23601 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23602 echo "${ECHO_T}$PKG_CONFIG" >&6
23603 else
23604 echo "$as_me:$LINENO: result: no" >&5
23605 echo "${ECHO_T}no" >&6
23606 fi
23607
23608 fi
23609
23610 if test "$PKG_CONFIG" = "no" ; then
23611 echo "*** The pkg-config script could not be found. Make sure it is"
23612 echo "*** in your path, or set the PKG_CONFIG environment variable"
23613 echo "*** to the full path to pkg-config."
23614 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23615 else
23616 PKG_CONFIG_MIN_VERSION=0.9.0
23617 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23618 echo "$as_me:$LINENO: checking for pangoft2" >&5
23619 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
23620
23621 if $PKG_CONFIG --exists "pangoft2" ; then
23622 echo "$as_me:$LINENO: result: yes" >&5
23623 echo "${ECHO_T}yes" >&6
23624 succeeded=yes
23625
23626 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
23627 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
23628 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
23629 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
23630 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
23631
23632 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
23633 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
23634 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
23635 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
23636 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
23637 else
23638 PANGOFT2_CFLAGS=""
23639 PANGOFT2_LIBS=""
23640 ## If we have a custom action on failure, don't print errors, but
23641 ## do set a variable so people can do so.
23642 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
23643
23644 fi
23645
23646
23647
23648 else
23649 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23650 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23651 fi
23652 fi
23653
23654 if test $succeeded = yes; then
23655
23656 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
23657 # FIXME: GTK_LIBS already has a lot of what this is
23658 # about to add, but we go ahead and just add
23659 # it all again anyway.
23660 # This is not a good way to manage things. And simply
23661 # uniq'ing the list later is hardly better.
23662 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
23663
23664 else
23665
23666 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
23667 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
23668 wxUSE_PRINTING_ARCHITECTURE="no"
23669
23670
23671 fi
23672
23673 fi
23674
23675 save_CFLAGS="$CFLAGS"
23676 save_LIBS="$LIBS"
23677 CFLAGS="$CFLAGS $GTK_CFLAGS"
23678 LIBS="$LIBS $GTK_LIBS"
23679
23680 for ac_func in pango_font_family_is_monospace
23681 do
23682 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23683 echo "$as_me:$LINENO: checking for $ac_func" >&5
23684 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23685 if eval "test \"\${$as_ac_var+set}\" = set"; then
23686 echo $ECHO_N "(cached) $ECHO_C" >&6
23687 else
23688 cat >conftest.$ac_ext <<_ACEOF
23689 /* confdefs.h. */
23690 _ACEOF
23691 cat confdefs.h >>conftest.$ac_ext
23692 cat >>conftest.$ac_ext <<_ACEOF
23693 /* end confdefs.h. */
23694 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23695 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23696 #define $ac_func innocuous_$ac_func
23697
23698 /* System header to define __stub macros and hopefully few prototypes,
23699 which can conflict with char $ac_func (); below.
23700 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23701 <limits.h> exists even on freestanding compilers. */
23702
23703 #ifdef __STDC__
23704 # include <limits.h>
23705 #else
23706 # include <assert.h>
23707 #endif
23708
23709 #undef $ac_func
23710
23711 /* Override any gcc2 internal prototype to avoid an error. */
23712 #ifdef __cplusplus
23713 extern "C"
23714 {
23715 #endif
23716 /* We use char because int might match the return type of a gcc2
23717 builtin and then its argument prototype would still apply. */
23718 char $ac_func ();
23719 /* The GNU C library defines this for functions which it implements
23720 to always fail with ENOSYS. Some functions are actually named
23721 something starting with __ and the normal name is an alias. */
23722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23723 choke me
23724 #else
23725 char (*f) () = $ac_func;
23726 #endif
23727 #ifdef __cplusplus
23728 }
23729 #endif
23730
23731 int
23732 main ()
23733 {
23734 return f != $ac_func;
23735 ;
23736 return 0;
23737 }
23738 _ACEOF
23739 rm -f conftest.$ac_objext conftest$ac_exeext
23740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23741 (eval $ac_link) 2>conftest.er1
23742 ac_status=$?
23743 grep -v '^ *+' conftest.er1 >conftest.err
23744 rm -f conftest.er1
23745 cat conftest.err >&5
23746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23747 (exit $ac_status); } &&
23748 { ac_try='test -z "$ac_c_werror_flag"
23749 || test ! -s conftest.err'
23750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23751 (eval $ac_try) 2>&5
23752 ac_status=$?
23753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23754 (exit $ac_status); }; } &&
23755 { ac_try='test -s conftest$ac_exeext'
23756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23757 (eval $ac_try) 2>&5
23758 ac_status=$?
23759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23760 (exit $ac_status); }; }; then
23761 eval "$as_ac_var=yes"
23762 else
23763 echo "$as_me: failed program was:" >&5
23764 sed 's/^/| /' conftest.$ac_ext >&5
23765
23766 eval "$as_ac_var=no"
23767 fi
23768 rm -f conftest.err conftest.$ac_objext \
23769 conftest$ac_exeext conftest.$ac_ext
23770 fi
23771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23772 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23773 if test `eval echo '${'$as_ac_var'}'` = yes; then
23774 cat >>confdefs.h <<_ACEOF
23775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23776 _ACEOF
23777
23778 fi
23779 done
23780
23781 CFLAGS="$save_CFLAGS"
23782 LIBS="$save_LIBS"
23783 else
23784 if test "$wxUSE_UNICODE" = "yes"; then
23785 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
23786 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
23787 wxUSE_UNICODE=no
23788 fi
23789 fi
23790
23791 if test "$USE_DARWIN" != 1; then
23792
23793 for ac_func in poll
23794 do
23795 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23796 echo "$as_me:$LINENO: checking for $ac_func" >&5
23797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23798 if eval "test \"\${$as_ac_var+set}\" = set"; then
23799 echo $ECHO_N "(cached) $ECHO_C" >&6
23800 else
23801 cat >conftest.$ac_ext <<_ACEOF
23802 /* confdefs.h. */
23803 _ACEOF
23804 cat confdefs.h >>conftest.$ac_ext
23805 cat >>conftest.$ac_ext <<_ACEOF
23806 /* end confdefs.h. */
23807 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23808 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23809 #define $ac_func innocuous_$ac_func
23810
23811 /* System header to define __stub macros and hopefully few prototypes,
23812 which can conflict with char $ac_func (); below.
23813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23814 <limits.h> exists even on freestanding compilers. */
23815
23816 #ifdef __STDC__
23817 # include <limits.h>
23818 #else
23819 # include <assert.h>
23820 #endif
23821
23822 #undef $ac_func
23823
23824 /* Override any gcc2 internal prototype to avoid an error. */
23825 #ifdef __cplusplus
23826 extern "C"
23827 {
23828 #endif
23829 /* We use char because int might match the return type of a gcc2
23830 builtin and then its argument prototype would still apply. */
23831 char $ac_func ();
23832 /* The GNU C library defines this for functions which it implements
23833 to always fail with ENOSYS. Some functions are actually named
23834 something starting with __ and the normal name is an alias. */
23835 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23836 choke me
23837 #else
23838 char (*f) () = $ac_func;
23839 #endif
23840 #ifdef __cplusplus
23841 }
23842 #endif
23843
23844 int
23845 main ()
23846 {
23847 return f != $ac_func;
23848 ;
23849 return 0;
23850 }
23851 _ACEOF
23852 rm -f conftest.$ac_objext conftest$ac_exeext
23853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23854 (eval $ac_link) 2>conftest.er1
23855 ac_status=$?
23856 grep -v '^ *+' conftest.er1 >conftest.err
23857 rm -f conftest.er1
23858 cat conftest.err >&5
23859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23860 (exit $ac_status); } &&
23861 { ac_try='test -z "$ac_c_werror_flag"
23862 || test ! -s conftest.err'
23863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23864 (eval $ac_try) 2>&5
23865 ac_status=$?
23866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23867 (exit $ac_status); }; } &&
23868 { ac_try='test -s conftest$ac_exeext'
23869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23870 (eval $ac_try) 2>&5
23871 ac_status=$?
23872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23873 (exit $ac_status); }; }; then
23874 eval "$as_ac_var=yes"
23875 else
23876 echo "$as_me: failed program was:" >&5
23877 sed 's/^/| /' conftest.$ac_ext >&5
23878
23879 eval "$as_ac_var=no"
23880 fi
23881 rm -f conftest.err conftest.$ac_objext \
23882 conftest$ac_exeext conftest.$ac_ext
23883 fi
23884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23885 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23886 if test `eval echo '${'$as_ac_var'}'` = yes; then
23887 cat >>confdefs.h <<_ACEOF
23888 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23889 _ACEOF
23890
23891 fi
23892 done
23893
23894 fi
23895
23896 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
23897 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
23898
23899 AFMINSTALL=afminstall
23900 TOOLKIT=GTK
23901 GUIDIST=GTK_DIST
23902
23903 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
23904 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
23905 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
23906 echo $ECHO_N "(cached) $ECHO_C" >&6
23907 else
23908 ac_check_lib_save_LIBS=$LIBS
23909 LIBS="-lgdk $LIBS"
23910 cat >conftest.$ac_ext <<_ACEOF
23911 /* confdefs.h. */
23912 _ACEOF
23913 cat confdefs.h >>conftest.$ac_ext
23914 cat >>conftest.$ac_ext <<_ACEOF
23915 /* end confdefs.h. */
23916
23917 /* Override any gcc2 internal prototype to avoid an error. */
23918 #ifdef __cplusplus
23919 extern "C"
23920 #endif
23921 /* We use char because int might match the return type of a gcc2
23922 builtin and then its argument prototype would still apply. */
23923 char gdk_im_open ();
23924 int
23925 main ()
23926 {
23927 gdk_im_open ();
23928 ;
23929 return 0;
23930 }
23931 _ACEOF
23932 rm -f conftest.$ac_objext conftest$ac_exeext
23933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23934 (eval $ac_link) 2>conftest.er1
23935 ac_status=$?
23936 grep -v '^ *+' conftest.er1 >conftest.err
23937 rm -f conftest.er1
23938 cat conftest.err >&5
23939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23940 (exit $ac_status); } &&
23941 { ac_try='test -z "$ac_c_werror_flag"
23942 || test ! -s conftest.err'
23943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23944 (eval $ac_try) 2>&5
23945 ac_status=$?
23946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23947 (exit $ac_status); }; } &&
23948 { ac_try='test -s conftest$ac_exeext'
23949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23950 (eval $ac_try) 2>&5
23951 ac_status=$?
23952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23953 (exit $ac_status); }; }; then
23954 ac_cv_lib_gdk_gdk_im_open=yes
23955 else
23956 echo "$as_me: failed program was:" >&5
23957 sed 's/^/| /' conftest.$ac_ext >&5
23958
23959 ac_cv_lib_gdk_gdk_im_open=no
23960 fi
23961 rm -f conftest.err conftest.$ac_objext \
23962 conftest$ac_exeext conftest.$ac_ext
23963 LIBS=$ac_check_lib_save_LIBS
23964 fi
23965 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
23966 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
23967 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
23968 cat >>confdefs.h <<\_ACEOF
23969 #define HAVE_XIM 1
23970 _ACEOF
23971
23972 fi
23973
23974
23975
23976 if test "$wxUSE_GPE" = "yes"; then
23977 echo "$as_me:$LINENO: checking for gpewidget library" >&5
23978 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
23979
23980 ac_find_libraries=
23981 for ac_dir in $SEARCH_LIB /usr/lib;
23982 do
23983 for ac_extension in a so sl dylib; do
23984 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
23985 ac_find_libraries=$ac_dir
23986 break 2
23987 fi
23988 done
23989 done
23990
23991 if test "$ac_find_libraries" != "" ; then
23992
23993 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
23994 result=$?
23995 if test $result = 0; then
23996 ac_path_to_link=""
23997 else
23998 ac_path_to_link=" -L$ac_find_libraries"
23999 fi
24000
24001 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
24002 WXGPE=1
24003 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24004 echo "${ECHO_T}found at $ac_find_libraries" >&6
24005 else
24006 echo "$as_me:$LINENO: result: not found" >&5
24007 echo "${ECHO_T}not found" >&6
24008 fi
24009
24010 fi
24011 fi
24012
24013 if test "$wxUSE_MGL" = 1; then
24014 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
24015 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
24016 if test "x$MGL_ROOT" = x ; then
24017 echo "$as_me:$LINENO: result: not found" >&5
24018 echo "${ECHO_T}not found" >&6
24019 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
24020 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
24021 { (exit 1); exit 1; }; }
24022 else
24023 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
24024 echo "${ECHO_T}$MGL_ROOT" >&6
24025 fi
24026
24027 echo "$as_me:$LINENO: checking for libmgl location" >&5
24028 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
24029 case "${host}" in
24030 *-*-linux* )
24031 if test "x$wxUSE_SHARED" = xyes ; then
24032 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
24033 else
24034 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
24035 fi
24036 ;;
24037 *-pc-msdosdjgpp )
24038 mgl_os_candidates="dos32/dj2"
24039 ;;
24040 *)
24041 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
24042 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
24043 { (exit 1); exit 1; }; }
24044 esac
24045
24046 mgl_lib_type=""
24047 mgl_os=""
24048
24049 for mgl_os_i in $mgl_os_candidates ; do
24050 if test "x$mgl_os" = x ; then
24051 if test "$wxUSE_DEBUG_FLAG" = yes ; then
24052 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
24053 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
24054 mgl_lib_type=debug
24055 mgl_os=$mgl_os_i
24056 fi
24057 fi
24058 if test "x$mgl_lib_type" = x ; then
24059 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
24060 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
24061 mgl_lib_type=release
24062 mgl_os=$mgl_os_i
24063 fi
24064 fi
24065 fi
24066 done
24067
24068 if test "x$mgl_os" = x ; then
24069 echo "$as_me:$LINENO: result: not found" >&5
24070 echo "${ECHO_T}not found" >&6
24071 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
24072 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
24073 { (exit 1); exit 1; }; }
24074 fi
24075 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
24076 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
24077
24078 wxUSE_UNIVERSAL="yes"
24079
24080 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
24081 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
24082
24083 AFMINSTALL=afminstall
24084 TOOLKIT=MGL
24085 GUIDIST=MGL_DIST
24086 fi
24087
24088 if test "$wxUSE_MICROWIN" = 1; then
24089 echo "$as_me:$LINENO: checking for MicroWindows" >&5
24090 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
24091 if test "x$MICROWINDOWS" = x ; then
24092 echo "$as_me:$LINENO: result: not found" >&5
24093 echo "${ECHO_T}not found" >&6
24094 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
24095 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
24096 { (exit 1); exit 1; }; }
24097 else
24098 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
24099 echo "${ECHO_T}$MICROWINDOWS" >&6
24100 fi
24101
24102 if test -f $MICROWINDOWS/lib/libmwin.a; then
24103 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
24104 echo "${ECHO_T}MicroWindows' libraries found." >&6
24105 else
24106 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
24107 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
24108 { (exit 1); exit 1; }; }
24109 fi
24110
24111 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
24112 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24113
24114 wxUSE_UNIVERSAL="yes"
24115
24116 AFMINSTALL=afminstall
24117 TOOLKIT=MICROWIN
24118 GUIDIST=MICROWIN_DIST
24119
24120 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24121 fi
24122
24123 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24124 echo "$as_me:$LINENO: checking for X" >&5
24125 echo $ECHO_N "checking for X... $ECHO_C" >&6
24126
24127
24128 # Check whether --with-x or --without-x was given.
24129 if test "${with_x+set}" = set; then
24130 withval="$with_x"
24131
24132 fi;
24133 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24134 if test "x$with_x" = xno; then
24135 # The user explicitly disabled X.
24136 have_x=disabled
24137 else
24138 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
24139 # Both variables are already set.
24140 have_x=yes
24141 else
24142 if test "${ac_cv_have_x+set}" = set; then
24143 echo $ECHO_N "(cached) $ECHO_C" >&6
24144 else
24145 # One or both of the vars are not set, and there is no cached value.
24146 ac_x_includes=no ac_x_libraries=no
24147 rm -fr conftest.dir
24148 if mkdir conftest.dir; then
24149 cd conftest.dir
24150 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
24151 cat >Imakefile <<'_ACEOF'
24152 acfindx:
24153 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
24154 _ACEOF
24155 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
24156 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
24157 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
24158 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24159 for ac_extension in a so sl; do
24160 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
24161 test -f $ac_im_libdir/libX11.$ac_extension; then
24162 ac_im_usrlibdir=$ac_im_libdir; break
24163 fi
24164 done
24165 # Screen out bogus values from the imake configuration. They are
24166 # bogus both because they are the default anyway, and because
24167 # using them would break gcc on systems where it needs fixed includes.
24168 case $ac_im_incroot in
24169 /usr/include) ;;
24170 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
24171 esac
24172 case $ac_im_usrlibdir in
24173 /usr/lib | /lib) ;;
24174 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
24175 esac
24176 fi
24177 cd ..
24178 rm -fr conftest.dir
24179 fi
24180
24181 # Standard set of common directories for X headers.
24182 # Check X11 before X11Rn because it is often a symlink to the current release.
24183 ac_x_header_dirs='
24184 /usr/X11/include
24185 /usr/X11R6/include
24186 /usr/X11R5/include
24187 /usr/X11R4/include
24188
24189 /usr/include/X11
24190 /usr/include/X11R6
24191 /usr/include/X11R5
24192 /usr/include/X11R4
24193
24194 /usr/local/X11/include
24195 /usr/local/X11R6/include
24196 /usr/local/X11R5/include
24197 /usr/local/X11R4/include
24198
24199 /usr/local/include/X11
24200 /usr/local/include/X11R6
24201 /usr/local/include/X11R5
24202 /usr/local/include/X11R4
24203
24204 /usr/X386/include
24205 /usr/x386/include
24206 /usr/XFree86/include/X11
24207
24208 /usr/include
24209 /usr/local/include
24210 /usr/unsupported/include
24211 /usr/athena/include
24212 /usr/local/x11r5/include
24213 /usr/lpp/Xamples/include
24214
24215 /usr/openwin/include
24216 /usr/openwin/share/include'
24217
24218 if test "$ac_x_includes" = no; then
24219 # Guess where to find include files, by looking for Intrinsic.h.
24220 # First, try using that file with no special directory specified.
24221 cat >conftest.$ac_ext <<_ACEOF
24222 /* confdefs.h. */
24223 _ACEOF
24224 cat confdefs.h >>conftest.$ac_ext
24225 cat >>conftest.$ac_ext <<_ACEOF
24226 /* end confdefs.h. */
24227 #include <X11/Intrinsic.h>
24228 _ACEOF
24229 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24230 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24231 ac_status=$?
24232 grep -v '^ *+' conftest.er1 >conftest.err
24233 rm -f conftest.er1
24234 cat conftest.err >&5
24235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24236 (exit $ac_status); } >/dev/null; then
24237 if test -s conftest.err; then
24238 ac_cpp_err=$ac_c_preproc_warn_flag
24239 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24240 else
24241 ac_cpp_err=
24242 fi
24243 else
24244 ac_cpp_err=yes
24245 fi
24246 if test -z "$ac_cpp_err"; then
24247 # We can compile using X headers with no special include directory.
24248 ac_x_includes=
24249 else
24250 echo "$as_me: failed program was:" >&5
24251 sed 's/^/| /' conftest.$ac_ext >&5
24252
24253 for ac_dir in $ac_x_header_dirs; do
24254 if test -r "$ac_dir/X11/Intrinsic.h"; then
24255 ac_x_includes=$ac_dir
24256 break
24257 fi
24258 done
24259 fi
24260 rm -f conftest.err conftest.$ac_ext
24261 fi # $ac_x_includes = no
24262
24263 if test "$ac_x_libraries" = no; then
24264 # Check for the libraries.
24265 # See if we find them without any special options.
24266 # Don't add to $LIBS permanently.
24267 ac_save_LIBS=$LIBS
24268 LIBS="-lXt $LIBS"
24269 cat >conftest.$ac_ext <<_ACEOF
24270 /* confdefs.h. */
24271 _ACEOF
24272 cat confdefs.h >>conftest.$ac_ext
24273 cat >>conftest.$ac_ext <<_ACEOF
24274 /* end confdefs.h. */
24275 #include <X11/Intrinsic.h>
24276 int
24277 main ()
24278 {
24279 XtMalloc (0)
24280 ;
24281 return 0;
24282 }
24283 _ACEOF
24284 rm -f conftest.$ac_objext conftest$ac_exeext
24285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24286 (eval $ac_link) 2>conftest.er1
24287 ac_status=$?
24288 grep -v '^ *+' conftest.er1 >conftest.err
24289 rm -f conftest.er1
24290 cat conftest.err >&5
24291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24292 (exit $ac_status); } &&
24293 { ac_try='test -z "$ac_c_werror_flag"
24294 || test ! -s conftest.err'
24295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24296 (eval $ac_try) 2>&5
24297 ac_status=$?
24298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24299 (exit $ac_status); }; } &&
24300 { ac_try='test -s conftest$ac_exeext'
24301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24302 (eval $ac_try) 2>&5
24303 ac_status=$?
24304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24305 (exit $ac_status); }; }; then
24306 LIBS=$ac_save_LIBS
24307 # We can link X programs with no special library path.
24308 ac_x_libraries=
24309 else
24310 echo "$as_me: failed program was:" >&5
24311 sed 's/^/| /' conftest.$ac_ext >&5
24312
24313 LIBS=$ac_save_LIBS
24314 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24315 do
24316 # Don't even attempt the hair of trying to link an X program!
24317 for ac_extension in a so sl; do
24318 if test -r $ac_dir/libXt.$ac_extension; then
24319 ac_x_libraries=$ac_dir
24320 break 2
24321 fi
24322 done
24323 done
24324 fi
24325 rm -f conftest.err conftest.$ac_objext \
24326 conftest$ac_exeext conftest.$ac_ext
24327 fi # $ac_x_libraries = no
24328
24329 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
24330 # Didn't find X anywhere. Cache the known absence of X.
24331 ac_cv_have_x="have_x=no"
24332 else
24333 # Record where we found X for the cache.
24334 ac_cv_have_x="have_x=yes \
24335 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
24336 fi
24337 fi
24338
24339 fi
24340 eval "$ac_cv_have_x"
24341 fi # $with_x != no
24342
24343 if test "$have_x" != yes; then
24344 echo "$as_me:$LINENO: result: $have_x" >&5
24345 echo "${ECHO_T}$have_x" >&6
24346 no_x=yes
24347 else
24348 # If each of the values was on the command line, it overrides each guess.
24349 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
24350 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
24351 # Update the cache value to reflect the command line values.
24352 ac_cv_have_x="have_x=yes \
24353 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
24354 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
24355 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
24356 fi
24357
24358 if test "$no_x" = yes; then
24359 # Not all programs may use this symbol, but it does not hurt to define it.
24360
24361 cat >>confdefs.h <<\_ACEOF
24362 #define X_DISPLAY_MISSING 1
24363 _ACEOF
24364
24365 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
24366 else
24367 if test -n "$x_includes"; then
24368 X_CFLAGS="$X_CFLAGS -I$x_includes"
24369 fi
24370
24371 # It would also be nice to do this for all -L options, not just this one.
24372 if test -n "$x_libraries"; then
24373 X_LIBS="$X_LIBS -L$x_libraries"
24374 # For Solaris; some versions of Sun CC require a space after -R and
24375 # others require no space. Words are not sufficient . . . .
24376 case `(uname -sr) 2>/dev/null` in
24377 "SunOS 5"*)
24378 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
24379 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
24380 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
24381 cat >conftest.$ac_ext <<_ACEOF
24382 /* confdefs.h. */
24383 _ACEOF
24384 cat confdefs.h >>conftest.$ac_ext
24385 cat >>conftest.$ac_ext <<_ACEOF
24386 /* end confdefs.h. */
24387
24388 int
24389 main ()
24390 {
24391
24392 ;
24393 return 0;
24394 }
24395 _ACEOF
24396 rm -f conftest.$ac_objext conftest$ac_exeext
24397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24398 (eval $ac_link) 2>conftest.er1
24399 ac_status=$?
24400 grep -v '^ *+' conftest.er1 >conftest.err
24401 rm -f conftest.er1
24402 cat conftest.err >&5
24403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24404 (exit $ac_status); } &&
24405 { ac_try='test -z "$ac_c_werror_flag"
24406 || test ! -s conftest.err'
24407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24408 (eval $ac_try) 2>&5
24409 ac_status=$?
24410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24411 (exit $ac_status); }; } &&
24412 { ac_try='test -s conftest$ac_exeext'
24413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24414 (eval $ac_try) 2>&5
24415 ac_status=$?
24416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24417 (exit $ac_status); }; }; then
24418 ac_R_nospace=yes
24419 else
24420 echo "$as_me: failed program was:" >&5
24421 sed 's/^/| /' conftest.$ac_ext >&5
24422
24423 ac_R_nospace=no
24424 fi
24425 rm -f conftest.err conftest.$ac_objext \
24426 conftest$ac_exeext conftest.$ac_ext
24427 if test $ac_R_nospace = yes; then
24428 echo "$as_me:$LINENO: result: no" >&5
24429 echo "${ECHO_T}no" >&6
24430 X_LIBS="$X_LIBS -R$x_libraries"
24431 else
24432 LIBS="$ac_xsave_LIBS -R $x_libraries"
24433 cat >conftest.$ac_ext <<_ACEOF
24434 /* confdefs.h. */
24435 _ACEOF
24436 cat confdefs.h >>conftest.$ac_ext
24437 cat >>conftest.$ac_ext <<_ACEOF
24438 /* end confdefs.h. */
24439
24440 int
24441 main ()
24442 {
24443
24444 ;
24445 return 0;
24446 }
24447 _ACEOF
24448 rm -f conftest.$ac_objext conftest$ac_exeext
24449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24450 (eval $ac_link) 2>conftest.er1
24451 ac_status=$?
24452 grep -v '^ *+' conftest.er1 >conftest.err
24453 rm -f conftest.er1
24454 cat conftest.err >&5
24455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24456 (exit $ac_status); } &&
24457 { ac_try='test -z "$ac_c_werror_flag"
24458 || test ! -s conftest.err'
24459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24460 (eval $ac_try) 2>&5
24461 ac_status=$?
24462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24463 (exit $ac_status); }; } &&
24464 { ac_try='test -s conftest$ac_exeext'
24465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24466 (eval $ac_try) 2>&5
24467 ac_status=$?
24468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24469 (exit $ac_status); }; }; then
24470 ac_R_space=yes
24471 else
24472 echo "$as_me: failed program was:" >&5
24473 sed 's/^/| /' conftest.$ac_ext >&5
24474
24475 ac_R_space=no
24476 fi
24477 rm -f conftest.err conftest.$ac_objext \
24478 conftest$ac_exeext conftest.$ac_ext
24479 if test $ac_R_space = yes; then
24480 echo "$as_me:$LINENO: result: yes" >&5
24481 echo "${ECHO_T}yes" >&6
24482 X_LIBS="$X_LIBS -R $x_libraries"
24483 else
24484 echo "$as_me:$LINENO: result: neither works" >&5
24485 echo "${ECHO_T}neither works" >&6
24486 fi
24487 fi
24488 LIBS=$ac_xsave_LIBS
24489 esac
24490 fi
24491
24492 # Check for system-dependent libraries X programs must link with.
24493 # Do this before checking for the system-independent R6 libraries
24494 # (-lICE), since we may need -lsocket or whatever for X linking.
24495
24496 if test "$ISC" = yes; then
24497 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
24498 else
24499 # Martyn Johnson says this is needed for Ultrix, if the X
24500 # libraries were built with DECnet support. And Karl Berry says
24501 # the Alpha needs dnet_stub (dnet does not exist).
24502 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
24503 cat >conftest.$ac_ext <<_ACEOF
24504 /* confdefs.h. */
24505 _ACEOF
24506 cat confdefs.h >>conftest.$ac_ext
24507 cat >>conftest.$ac_ext <<_ACEOF
24508 /* end confdefs.h. */
24509
24510 /* Override any gcc2 internal prototype to avoid an error. */
24511 #ifdef __cplusplus
24512 extern "C"
24513 #endif
24514 /* We use char because int might match the return type of a gcc2
24515 builtin and then its argument prototype would still apply. */
24516 char XOpenDisplay ();
24517 int
24518 main ()
24519 {
24520 XOpenDisplay ();
24521 ;
24522 return 0;
24523 }
24524 _ACEOF
24525 rm -f conftest.$ac_objext conftest$ac_exeext
24526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24527 (eval $ac_link) 2>conftest.er1
24528 ac_status=$?
24529 grep -v '^ *+' conftest.er1 >conftest.err
24530 rm -f conftest.er1
24531 cat conftest.err >&5
24532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24533 (exit $ac_status); } &&
24534 { ac_try='test -z "$ac_c_werror_flag"
24535 || test ! -s conftest.err'
24536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24537 (eval $ac_try) 2>&5
24538 ac_status=$?
24539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24540 (exit $ac_status); }; } &&
24541 { ac_try='test -s conftest$ac_exeext'
24542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24543 (eval $ac_try) 2>&5
24544 ac_status=$?
24545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24546 (exit $ac_status); }; }; then
24547 :
24548 else
24549 echo "$as_me: failed program was:" >&5
24550 sed 's/^/| /' conftest.$ac_ext >&5
24551
24552 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
24553 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
24554 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
24555 echo $ECHO_N "(cached) $ECHO_C" >&6
24556 else
24557 ac_check_lib_save_LIBS=$LIBS
24558 LIBS="-ldnet $LIBS"
24559 cat >conftest.$ac_ext <<_ACEOF
24560 /* confdefs.h. */
24561 _ACEOF
24562 cat confdefs.h >>conftest.$ac_ext
24563 cat >>conftest.$ac_ext <<_ACEOF
24564 /* end confdefs.h. */
24565
24566 /* Override any gcc2 internal prototype to avoid an error. */
24567 #ifdef __cplusplus
24568 extern "C"
24569 #endif
24570 /* We use char because int might match the return type of a gcc2
24571 builtin and then its argument prototype would still apply. */
24572 char dnet_ntoa ();
24573 int
24574 main ()
24575 {
24576 dnet_ntoa ();
24577 ;
24578 return 0;
24579 }
24580 _ACEOF
24581 rm -f conftest.$ac_objext conftest$ac_exeext
24582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24583 (eval $ac_link) 2>conftest.er1
24584 ac_status=$?
24585 grep -v '^ *+' conftest.er1 >conftest.err
24586 rm -f conftest.er1
24587 cat conftest.err >&5
24588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24589 (exit $ac_status); } &&
24590 { ac_try='test -z "$ac_c_werror_flag"
24591 || test ! -s conftest.err'
24592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24593 (eval $ac_try) 2>&5
24594 ac_status=$?
24595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24596 (exit $ac_status); }; } &&
24597 { ac_try='test -s conftest$ac_exeext'
24598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24599 (eval $ac_try) 2>&5
24600 ac_status=$?
24601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24602 (exit $ac_status); }; }; then
24603 ac_cv_lib_dnet_dnet_ntoa=yes
24604 else
24605 echo "$as_me: failed program was:" >&5
24606 sed 's/^/| /' conftest.$ac_ext >&5
24607
24608 ac_cv_lib_dnet_dnet_ntoa=no
24609 fi
24610 rm -f conftest.err conftest.$ac_objext \
24611 conftest$ac_exeext conftest.$ac_ext
24612 LIBS=$ac_check_lib_save_LIBS
24613 fi
24614 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24615 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
24616 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
24617 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
24618 fi
24619
24620 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
24621 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
24622 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
24623 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
24624 echo $ECHO_N "(cached) $ECHO_C" >&6
24625 else
24626 ac_check_lib_save_LIBS=$LIBS
24627 LIBS="-ldnet_stub $LIBS"
24628 cat >conftest.$ac_ext <<_ACEOF
24629 /* confdefs.h. */
24630 _ACEOF
24631 cat confdefs.h >>conftest.$ac_ext
24632 cat >>conftest.$ac_ext <<_ACEOF
24633 /* end confdefs.h. */
24634
24635 /* Override any gcc2 internal prototype to avoid an error. */
24636 #ifdef __cplusplus
24637 extern "C"
24638 #endif
24639 /* We use char because int might match the return type of a gcc2
24640 builtin and then its argument prototype would still apply. */
24641 char dnet_ntoa ();
24642 int
24643 main ()
24644 {
24645 dnet_ntoa ();
24646 ;
24647 return 0;
24648 }
24649 _ACEOF
24650 rm -f conftest.$ac_objext conftest$ac_exeext
24651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24652 (eval $ac_link) 2>conftest.er1
24653 ac_status=$?
24654 grep -v '^ *+' conftest.er1 >conftest.err
24655 rm -f conftest.er1
24656 cat conftest.err >&5
24657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24658 (exit $ac_status); } &&
24659 { ac_try='test -z "$ac_c_werror_flag"
24660 || test ! -s conftest.err'
24661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24662 (eval $ac_try) 2>&5
24663 ac_status=$?
24664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24665 (exit $ac_status); }; } &&
24666 { ac_try='test -s conftest$ac_exeext'
24667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24668 (eval $ac_try) 2>&5
24669 ac_status=$?
24670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24671 (exit $ac_status); }; }; then
24672 ac_cv_lib_dnet_stub_dnet_ntoa=yes
24673 else
24674 echo "$as_me: failed program was:" >&5
24675 sed 's/^/| /' conftest.$ac_ext >&5
24676
24677 ac_cv_lib_dnet_stub_dnet_ntoa=no
24678 fi
24679 rm -f conftest.err conftest.$ac_objext \
24680 conftest$ac_exeext conftest.$ac_ext
24681 LIBS=$ac_check_lib_save_LIBS
24682 fi
24683 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
24684 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
24685 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
24686 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
24687 fi
24688
24689 fi
24690 fi
24691 rm -f conftest.err conftest.$ac_objext \
24692 conftest$ac_exeext conftest.$ac_ext
24693 LIBS="$ac_xsave_LIBS"
24694
24695 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
24696 # to get the SysV transport functions.
24697 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
24698 # needs -lnsl.
24699 # The nsl library prevents programs from opening the X display
24700 # on Irix 5.2, according to T.E. Dickey.
24701 # The functions gethostbyname, getservbyname, and inet_addr are
24702 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
24703 echo "$as_me:$LINENO: checking for gethostbyname" >&5
24704 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
24705 if test "${ac_cv_func_gethostbyname+set}" = set; then
24706 echo $ECHO_N "(cached) $ECHO_C" >&6
24707 else
24708 cat >conftest.$ac_ext <<_ACEOF
24709 /* confdefs.h. */
24710 _ACEOF
24711 cat confdefs.h >>conftest.$ac_ext
24712 cat >>conftest.$ac_ext <<_ACEOF
24713 /* end confdefs.h. */
24714 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
24715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24716 #define gethostbyname innocuous_gethostbyname
24717
24718 /* System header to define __stub macros and hopefully few prototypes,
24719 which can conflict with char gethostbyname (); below.
24720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24721 <limits.h> exists even on freestanding compilers. */
24722
24723 #ifdef __STDC__
24724 # include <limits.h>
24725 #else
24726 # include <assert.h>
24727 #endif
24728
24729 #undef gethostbyname
24730
24731 /* Override any gcc2 internal prototype to avoid an error. */
24732 #ifdef __cplusplus
24733 extern "C"
24734 {
24735 #endif
24736 /* We use char because int might match the return type of a gcc2
24737 builtin and then its argument prototype would still apply. */
24738 char gethostbyname ();
24739 /* The GNU C library defines this for functions which it implements
24740 to always fail with ENOSYS. Some functions are actually named
24741 something starting with __ and the normal name is an alias. */
24742 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
24743 choke me
24744 #else
24745 char (*f) () = gethostbyname;
24746 #endif
24747 #ifdef __cplusplus
24748 }
24749 #endif
24750
24751 int
24752 main ()
24753 {
24754 return f != gethostbyname;
24755 ;
24756 return 0;
24757 }
24758 _ACEOF
24759 rm -f conftest.$ac_objext conftest$ac_exeext
24760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24761 (eval $ac_link) 2>conftest.er1
24762 ac_status=$?
24763 grep -v '^ *+' conftest.er1 >conftest.err
24764 rm -f conftest.er1
24765 cat conftest.err >&5
24766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24767 (exit $ac_status); } &&
24768 { ac_try='test -z "$ac_c_werror_flag"
24769 || 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_func_gethostbyname=yes
24782 else
24783 echo "$as_me: failed program was:" >&5
24784 sed 's/^/| /' conftest.$ac_ext >&5
24785
24786 ac_cv_func_gethostbyname=no
24787 fi
24788 rm -f conftest.err conftest.$ac_objext \
24789 conftest$ac_exeext conftest.$ac_ext
24790 fi
24791 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
24792 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
24793
24794 if test $ac_cv_func_gethostbyname = no; then
24795 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
24796 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
24797 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
24798 echo $ECHO_N "(cached) $ECHO_C" >&6
24799 else
24800 ac_check_lib_save_LIBS=$LIBS
24801 LIBS="-lnsl $LIBS"
24802 cat >conftest.$ac_ext <<_ACEOF
24803 /* confdefs.h. */
24804 _ACEOF
24805 cat confdefs.h >>conftest.$ac_ext
24806 cat >>conftest.$ac_ext <<_ACEOF
24807 /* end confdefs.h. */
24808
24809 /* Override any gcc2 internal prototype to avoid an error. */
24810 #ifdef __cplusplus
24811 extern "C"
24812 #endif
24813 /* We use char because int might match the return type of a gcc2
24814 builtin and then its argument prototype would still apply. */
24815 char gethostbyname ();
24816 int
24817 main ()
24818 {
24819 gethostbyname ();
24820 ;
24821 return 0;
24822 }
24823 _ACEOF
24824 rm -f conftest.$ac_objext conftest$ac_exeext
24825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24826 (eval $ac_link) 2>conftest.er1
24827 ac_status=$?
24828 grep -v '^ *+' conftest.er1 >conftest.err
24829 rm -f conftest.er1
24830 cat conftest.err >&5
24831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24832 (exit $ac_status); } &&
24833 { ac_try='test -z "$ac_c_werror_flag"
24834 || test ! -s conftest.err'
24835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24836 (eval $ac_try) 2>&5
24837 ac_status=$?
24838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24839 (exit $ac_status); }; } &&
24840 { ac_try='test -s conftest$ac_exeext'
24841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24842 (eval $ac_try) 2>&5
24843 ac_status=$?
24844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24845 (exit $ac_status); }; }; then
24846 ac_cv_lib_nsl_gethostbyname=yes
24847 else
24848 echo "$as_me: failed program was:" >&5
24849 sed 's/^/| /' conftest.$ac_ext >&5
24850
24851 ac_cv_lib_nsl_gethostbyname=no
24852 fi
24853 rm -f conftest.err conftest.$ac_objext \
24854 conftest$ac_exeext conftest.$ac_ext
24855 LIBS=$ac_check_lib_save_LIBS
24856 fi
24857 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
24858 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
24859 if test $ac_cv_lib_nsl_gethostbyname = yes; then
24860 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
24861 fi
24862
24863 if test $ac_cv_lib_nsl_gethostbyname = no; then
24864 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
24865 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
24866 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
24867 echo $ECHO_N "(cached) $ECHO_C" >&6
24868 else
24869 ac_check_lib_save_LIBS=$LIBS
24870 LIBS="-lbsd $LIBS"
24871 cat >conftest.$ac_ext <<_ACEOF
24872 /* confdefs.h. */
24873 _ACEOF
24874 cat confdefs.h >>conftest.$ac_ext
24875 cat >>conftest.$ac_ext <<_ACEOF
24876 /* end confdefs.h. */
24877
24878 /* Override any gcc2 internal prototype to avoid an error. */
24879 #ifdef __cplusplus
24880 extern "C"
24881 #endif
24882 /* We use char because int might match the return type of a gcc2
24883 builtin and then its argument prototype would still apply. */
24884 char gethostbyname ();
24885 int
24886 main ()
24887 {
24888 gethostbyname ();
24889 ;
24890 return 0;
24891 }
24892 _ACEOF
24893 rm -f conftest.$ac_objext conftest$ac_exeext
24894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24895 (eval $ac_link) 2>conftest.er1
24896 ac_status=$?
24897 grep -v '^ *+' conftest.er1 >conftest.err
24898 rm -f conftest.er1
24899 cat conftest.err >&5
24900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24901 (exit $ac_status); } &&
24902 { ac_try='test -z "$ac_c_werror_flag"
24903 || test ! -s conftest.err'
24904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24905 (eval $ac_try) 2>&5
24906 ac_status=$?
24907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24908 (exit $ac_status); }; } &&
24909 { ac_try='test -s conftest$ac_exeext'
24910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24911 (eval $ac_try) 2>&5
24912 ac_status=$?
24913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24914 (exit $ac_status); }; }; then
24915 ac_cv_lib_bsd_gethostbyname=yes
24916 else
24917 echo "$as_me: failed program was:" >&5
24918 sed 's/^/| /' conftest.$ac_ext >&5
24919
24920 ac_cv_lib_bsd_gethostbyname=no
24921 fi
24922 rm -f conftest.err conftest.$ac_objext \
24923 conftest$ac_exeext conftest.$ac_ext
24924 LIBS=$ac_check_lib_save_LIBS
24925 fi
24926 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
24927 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
24928 if test $ac_cv_lib_bsd_gethostbyname = yes; then
24929 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
24930 fi
24931
24932 fi
24933 fi
24934
24935 # lieder@skyler.mavd.honeywell.com says without -lsocket,
24936 # socket/setsockopt and other routines are undefined under SCO ODT
24937 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
24938 # on later versions), says Simon Leinen: it contains gethostby*
24939 # variants that don't use the name server (or something). -lsocket
24940 # must be given before -lnsl if both are needed. We assume that
24941 # if connect needs -lnsl, so does gethostbyname.
24942 echo "$as_me:$LINENO: checking for connect" >&5
24943 echo $ECHO_N "checking for connect... $ECHO_C" >&6
24944 if test "${ac_cv_func_connect+set}" = set; then
24945 echo $ECHO_N "(cached) $ECHO_C" >&6
24946 else
24947 cat >conftest.$ac_ext <<_ACEOF
24948 /* confdefs.h. */
24949 _ACEOF
24950 cat confdefs.h >>conftest.$ac_ext
24951 cat >>conftest.$ac_ext <<_ACEOF
24952 /* end confdefs.h. */
24953 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
24954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24955 #define connect innocuous_connect
24956
24957 /* System header to define __stub macros and hopefully few prototypes,
24958 which can conflict with char connect (); below.
24959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24960 <limits.h> exists even on freestanding compilers. */
24961
24962 #ifdef __STDC__
24963 # include <limits.h>
24964 #else
24965 # include <assert.h>
24966 #endif
24967
24968 #undef connect
24969
24970 /* Override any gcc2 internal prototype to avoid an error. */
24971 #ifdef __cplusplus
24972 extern "C"
24973 {
24974 #endif
24975 /* We use char because int might match the return type of a gcc2
24976 builtin and then its argument prototype would still apply. */
24977 char connect ();
24978 /* The GNU C library defines this for functions which it implements
24979 to always fail with ENOSYS. Some functions are actually named
24980 something starting with __ and the normal name is an alias. */
24981 #if defined (__stub_connect) || defined (__stub___connect)
24982 choke me
24983 #else
24984 char (*f) () = connect;
24985 #endif
24986 #ifdef __cplusplus
24987 }
24988 #endif
24989
24990 int
24991 main ()
24992 {
24993 return f != connect;
24994 ;
24995 return 0;
24996 }
24997 _ACEOF
24998 rm -f conftest.$ac_objext conftest$ac_exeext
24999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25000 (eval $ac_link) 2>conftest.er1
25001 ac_status=$?
25002 grep -v '^ *+' conftest.er1 >conftest.err
25003 rm -f conftest.er1
25004 cat conftest.err >&5
25005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25006 (exit $ac_status); } &&
25007 { ac_try='test -z "$ac_c_werror_flag"
25008 || test ! -s conftest.err'
25009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25010 (eval $ac_try) 2>&5
25011 ac_status=$?
25012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25013 (exit $ac_status); }; } &&
25014 { ac_try='test -s conftest$ac_exeext'
25015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25016 (eval $ac_try) 2>&5
25017 ac_status=$?
25018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25019 (exit $ac_status); }; }; then
25020 ac_cv_func_connect=yes
25021 else
25022 echo "$as_me: failed program was:" >&5
25023 sed 's/^/| /' conftest.$ac_ext >&5
25024
25025 ac_cv_func_connect=no
25026 fi
25027 rm -f conftest.err conftest.$ac_objext \
25028 conftest$ac_exeext conftest.$ac_ext
25029 fi
25030 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
25031 echo "${ECHO_T}$ac_cv_func_connect" >&6
25032
25033 if test $ac_cv_func_connect = no; then
25034 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
25035 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
25036 if test "${ac_cv_lib_socket_connect+set}" = set; then
25037 echo $ECHO_N "(cached) $ECHO_C" >&6
25038 else
25039 ac_check_lib_save_LIBS=$LIBS
25040 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
25041 cat >conftest.$ac_ext <<_ACEOF
25042 /* confdefs.h. */
25043 _ACEOF
25044 cat confdefs.h >>conftest.$ac_ext
25045 cat >>conftest.$ac_ext <<_ACEOF
25046 /* end confdefs.h. */
25047
25048 /* Override any gcc2 internal prototype to avoid an error. */
25049 #ifdef __cplusplus
25050 extern "C"
25051 #endif
25052 /* We use char because int might match the return type of a gcc2
25053 builtin and then its argument prototype would still apply. */
25054 char connect ();
25055 int
25056 main ()
25057 {
25058 connect ();
25059 ;
25060 return 0;
25061 }
25062 _ACEOF
25063 rm -f conftest.$ac_objext conftest$ac_exeext
25064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25065 (eval $ac_link) 2>conftest.er1
25066 ac_status=$?
25067 grep -v '^ *+' conftest.er1 >conftest.err
25068 rm -f conftest.er1
25069 cat conftest.err >&5
25070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25071 (exit $ac_status); } &&
25072 { ac_try='test -z "$ac_c_werror_flag"
25073 || test ! -s conftest.err'
25074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25075 (eval $ac_try) 2>&5
25076 ac_status=$?
25077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25078 (exit $ac_status); }; } &&
25079 { ac_try='test -s conftest$ac_exeext'
25080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25081 (eval $ac_try) 2>&5
25082 ac_status=$?
25083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25084 (exit $ac_status); }; }; then
25085 ac_cv_lib_socket_connect=yes
25086 else
25087 echo "$as_me: failed program was:" >&5
25088 sed 's/^/| /' conftest.$ac_ext >&5
25089
25090 ac_cv_lib_socket_connect=no
25091 fi
25092 rm -f conftest.err conftest.$ac_objext \
25093 conftest$ac_exeext conftest.$ac_ext
25094 LIBS=$ac_check_lib_save_LIBS
25095 fi
25096 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
25097 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
25098 if test $ac_cv_lib_socket_connect = yes; then
25099 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
25100 fi
25101
25102 fi
25103
25104 # Guillermo Gomez says -lposix is necessary on A/UX.
25105 echo "$as_me:$LINENO: checking for remove" >&5
25106 echo $ECHO_N "checking for remove... $ECHO_C" >&6
25107 if test "${ac_cv_func_remove+set}" = set; then
25108 echo $ECHO_N "(cached) $ECHO_C" >&6
25109 else
25110 cat >conftest.$ac_ext <<_ACEOF
25111 /* confdefs.h. */
25112 _ACEOF
25113 cat confdefs.h >>conftest.$ac_ext
25114 cat >>conftest.$ac_ext <<_ACEOF
25115 /* end confdefs.h. */
25116 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
25117 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25118 #define remove innocuous_remove
25119
25120 /* System header to define __stub macros and hopefully few prototypes,
25121 which can conflict with char remove (); below.
25122 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25123 <limits.h> exists even on freestanding compilers. */
25124
25125 #ifdef __STDC__
25126 # include <limits.h>
25127 #else
25128 # include <assert.h>
25129 #endif
25130
25131 #undef remove
25132
25133 /* Override any gcc2 internal prototype to avoid an error. */
25134 #ifdef __cplusplus
25135 extern "C"
25136 {
25137 #endif
25138 /* We use char because int might match the return type of a gcc2
25139 builtin and then its argument prototype would still apply. */
25140 char remove ();
25141 /* The GNU C library defines this for functions which it implements
25142 to always fail with ENOSYS. Some functions are actually named
25143 something starting with __ and the normal name is an alias. */
25144 #if defined (__stub_remove) || defined (__stub___remove)
25145 choke me
25146 #else
25147 char (*f) () = remove;
25148 #endif
25149 #ifdef __cplusplus
25150 }
25151 #endif
25152
25153 int
25154 main ()
25155 {
25156 return f != remove;
25157 ;
25158 return 0;
25159 }
25160 _ACEOF
25161 rm -f conftest.$ac_objext conftest$ac_exeext
25162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25163 (eval $ac_link) 2>conftest.er1
25164 ac_status=$?
25165 grep -v '^ *+' conftest.er1 >conftest.err
25166 rm -f conftest.er1
25167 cat conftest.err >&5
25168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25169 (exit $ac_status); } &&
25170 { ac_try='test -z "$ac_c_werror_flag"
25171 || test ! -s conftest.err'
25172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25173 (eval $ac_try) 2>&5
25174 ac_status=$?
25175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25176 (exit $ac_status); }; } &&
25177 { ac_try='test -s conftest$ac_exeext'
25178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25179 (eval $ac_try) 2>&5
25180 ac_status=$?
25181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25182 (exit $ac_status); }; }; then
25183 ac_cv_func_remove=yes
25184 else
25185 echo "$as_me: failed program was:" >&5
25186 sed 's/^/| /' conftest.$ac_ext >&5
25187
25188 ac_cv_func_remove=no
25189 fi
25190 rm -f conftest.err conftest.$ac_objext \
25191 conftest$ac_exeext conftest.$ac_ext
25192 fi
25193 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
25194 echo "${ECHO_T}$ac_cv_func_remove" >&6
25195
25196 if test $ac_cv_func_remove = no; then
25197 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
25198 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
25199 if test "${ac_cv_lib_posix_remove+set}" = set; then
25200 echo $ECHO_N "(cached) $ECHO_C" >&6
25201 else
25202 ac_check_lib_save_LIBS=$LIBS
25203 LIBS="-lposix $LIBS"
25204 cat >conftest.$ac_ext <<_ACEOF
25205 /* confdefs.h. */
25206 _ACEOF
25207 cat confdefs.h >>conftest.$ac_ext
25208 cat >>conftest.$ac_ext <<_ACEOF
25209 /* end confdefs.h. */
25210
25211 /* Override any gcc2 internal prototype to avoid an error. */
25212 #ifdef __cplusplus
25213 extern "C"
25214 #endif
25215 /* We use char because int might match the return type of a gcc2
25216 builtin and then its argument prototype would still apply. */
25217 char remove ();
25218 int
25219 main ()
25220 {
25221 remove ();
25222 ;
25223 return 0;
25224 }
25225 _ACEOF
25226 rm -f conftest.$ac_objext conftest$ac_exeext
25227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25228 (eval $ac_link) 2>conftest.er1
25229 ac_status=$?
25230 grep -v '^ *+' conftest.er1 >conftest.err
25231 rm -f conftest.er1
25232 cat conftest.err >&5
25233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25234 (exit $ac_status); } &&
25235 { ac_try='test -z "$ac_c_werror_flag"
25236 || test ! -s conftest.err'
25237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25238 (eval $ac_try) 2>&5
25239 ac_status=$?
25240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25241 (exit $ac_status); }; } &&
25242 { ac_try='test -s conftest$ac_exeext'
25243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25244 (eval $ac_try) 2>&5
25245 ac_status=$?
25246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25247 (exit $ac_status); }; }; then
25248 ac_cv_lib_posix_remove=yes
25249 else
25250 echo "$as_me: failed program was:" >&5
25251 sed 's/^/| /' conftest.$ac_ext >&5
25252
25253 ac_cv_lib_posix_remove=no
25254 fi
25255 rm -f conftest.err conftest.$ac_objext \
25256 conftest$ac_exeext conftest.$ac_ext
25257 LIBS=$ac_check_lib_save_LIBS
25258 fi
25259 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
25260 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
25261 if test $ac_cv_lib_posix_remove = yes; then
25262 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
25263 fi
25264
25265 fi
25266
25267 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25268 echo "$as_me:$LINENO: checking for shmat" >&5
25269 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
25270 if test "${ac_cv_func_shmat+set}" = set; then
25271 echo $ECHO_N "(cached) $ECHO_C" >&6
25272 else
25273 cat >conftest.$ac_ext <<_ACEOF
25274 /* confdefs.h. */
25275 _ACEOF
25276 cat confdefs.h >>conftest.$ac_ext
25277 cat >>conftest.$ac_ext <<_ACEOF
25278 /* end confdefs.h. */
25279 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
25280 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25281 #define shmat innocuous_shmat
25282
25283 /* System header to define __stub macros and hopefully few prototypes,
25284 which can conflict with char shmat (); below.
25285 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25286 <limits.h> exists even on freestanding compilers. */
25287
25288 #ifdef __STDC__
25289 # include <limits.h>
25290 #else
25291 # include <assert.h>
25292 #endif
25293
25294 #undef shmat
25295
25296 /* Override any gcc2 internal prototype to avoid an error. */
25297 #ifdef __cplusplus
25298 extern "C"
25299 {
25300 #endif
25301 /* We use char because int might match the return type of a gcc2
25302 builtin and then its argument prototype would still apply. */
25303 char shmat ();
25304 /* The GNU C library defines this for functions which it implements
25305 to always fail with ENOSYS. Some functions are actually named
25306 something starting with __ and the normal name is an alias. */
25307 #if defined (__stub_shmat) || defined (__stub___shmat)
25308 choke me
25309 #else
25310 char (*f) () = shmat;
25311 #endif
25312 #ifdef __cplusplus
25313 }
25314 #endif
25315
25316 int
25317 main ()
25318 {
25319 return f != shmat;
25320 ;
25321 return 0;
25322 }
25323 _ACEOF
25324 rm -f conftest.$ac_objext conftest$ac_exeext
25325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25326 (eval $ac_link) 2>conftest.er1
25327 ac_status=$?
25328 grep -v '^ *+' conftest.er1 >conftest.err
25329 rm -f conftest.er1
25330 cat conftest.err >&5
25331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25332 (exit $ac_status); } &&
25333 { ac_try='test -z "$ac_c_werror_flag"
25334 || test ! -s conftest.err'
25335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25336 (eval $ac_try) 2>&5
25337 ac_status=$?
25338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25339 (exit $ac_status); }; } &&
25340 { ac_try='test -s conftest$ac_exeext'
25341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25342 (eval $ac_try) 2>&5
25343 ac_status=$?
25344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25345 (exit $ac_status); }; }; then
25346 ac_cv_func_shmat=yes
25347 else
25348 echo "$as_me: failed program was:" >&5
25349 sed 's/^/| /' conftest.$ac_ext >&5
25350
25351 ac_cv_func_shmat=no
25352 fi
25353 rm -f conftest.err conftest.$ac_objext \
25354 conftest$ac_exeext conftest.$ac_ext
25355 fi
25356 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
25357 echo "${ECHO_T}$ac_cv_func_shmat" >&6
25358
25359 if test $ac_cv_func_shmat = no; then
25360 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
25361 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
25362 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
25363 echo $ECHO_N "(cached) $ECHO_C" >&6
25364 else
25365 ac_check_lib_save_LIBS=$LIBS
25366 LIBS="-lipc $LIBS"
25367 cat >conftest.$ac_ext <<_ACEOF
25368 /* confdefs.h. */
25369 _ACEOF
25370 cat confdefs.h >>conftest.$ac_ext
25371 cat >>conftest.$ac_ext <<_ACEOF
25372 /* end confdefs.h. */
25373
25374 /* Override any gcc2 internal prototype to avoid an error. */
25375 #ifdef __cplusplus
25376 extern "C"
25377 #endif
25378 /* We use char because int might match the return type of a gcc2
25379 builtin and then its argument prototype would still apply. */
25380 char shmat ();
25381 int
25382 main ()
25383 {
25384 shmat ();
25385 ;
25386 return 0;
25387 }
25388 _ACEOF
25389 rm -f conftest.$ac_objext conftest$ac_exeext
25390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25391 (eval $ac_link) 2>conftest.er1
25392 ac_status=$?
25393 grep -v '^ *+' conftest.er1 >conftest.err
25394 rm -f conftest.er1
25395 cat conftest.err >&5
25396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25397 (exit $ac_status); } &&
25398 { ac_try='test -z "$ac_c_werror_flag"
25399 || test ! -s conftest.err'
25400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25401 (eval $ac_try) 2>&5
25402 ac_status=$?
25403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25404 (exit $ac_status); }; } &&
25405 { ac_try='test -s conftest$ac_exeext'
25406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25407 (eval $ac_try) 2>&5
25408 ac_status=$?
25409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25410 (exit $ac_status); }; }; then
25411 ac_cv_lib_ipc_shmat=yes
25412 else
25413 echo "$as_me: failed program was:" >&5
25414 sed 's/^/| /' conftest.$ac_ext >&5
25415
25416 ac_cv_lib_ipc_shmat=no
25417 fi
25418 rm -f conftest.err conftest.$ac_objext \
25419 conftest$ac_exeext conftest.$ac_ext
25420 LIBS=$ac_check_lib_save_LIBS
25421 fi
25422 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
25423 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
25424 if test $ac_cv_lib_ipc_shmat = yes; then
25425 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
25426 fi
25427
25428 fi
25429 fi
25430
25431 # Check for libraries that X11R6 Xt/Xaw programs need.
25432 ac_save_LDFLAGS=$LDFLAGS
25433 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
25434 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25435 # check for ICE first), but we must link in the order -lSM -lICE or
25436 # we get undefined symbols. So assume we have SM if we have ICE.
25437 # These have to be linked with before -lX11, unlike the other
25438 # libraries we check for below, so use a different variable.
25439 # John Interrante, Karl Berry
25440 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
25441 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
25442 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
25443 echo $ECHO_N "(cached) $ECHO_C" >&6
25444 else
25445 ac_check_lib_save_LIBS=$LIBS
25446 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
25447 cat >conftest.$ac_ext <<_ACEOF
25448 /* confdefs.h. */
25449 _ACEOF
25450 cat confdefs.h >>conftest.$ac_ext
25451 cat >>conftest.$ac_ext <<_ACEOF
25452 /* end confdefs.h. */
25453
25454 /* Override any gcc2 internal prototype to avoid an error. */
25455 #ifdef __cplusplus
25456 extern "C"
25457 #endif
25458 /* We use char because int might match the return type of a gcc2
25459 builtin and then its argument prototype would still apply. */
25460 char IceConnectionNumber ();
25461 int
25462 main ()
25463 {
25464 IceConnectionNumber ();
25465 ;
25466 return 0;
25467 }
25468 _ACEOF
25469 rm -f conftest.$ac_objext conftest$ac_exeext
25470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25471 (eval $ac_link) 2>conftest.er1
25472 ac_status=$?
25473 grep -v '^ *+' conftest.er1 >conftest.err
25474 rm -f conftest.er1
25475 cat conftest.err >&5
25476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25477 (exit $ac_status); } &&
25478 { ac_try='test -z "$ac_c_werror_flag"
25479 || test ! -s conftest.err'
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); }; } &&
25485 { ac_try='test -s conftest$ac_exeext'
25486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25487 (eval $ac_try) 2>&5
25488 ac_status=$?
25489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25490 (exit $ac_status); }; }; then
25491 ac_cv_lib_ICE_IceConnectionNumber=yes
25492 else
25493 echo "$as_me: failed program was:" >&5
25494 sed 's/^/| /' conftest.$ac_ext >&5
25495
25496 ac_cv_lib_ICE_IceConnectionNumber=no
25497 fi
25498 rm -f conftest.err conftest.$ac_objext \
25499 conftest$ac_exeext conftest.$ac_ext
25500 LIBS=$ac_check_lib_save_LIBS
25501 fi
25502 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25503 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
25504 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
25505 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
25506 fi
25507
25508 LDFLAGS=$ac_save_LDFLAGS
25509
25510 fi
25511
25512
25513 if test "$no_x" = "yes"; then
25514 { { echo "$as_me:$LINENO: error: X11 not found" >&5
25515 echo "$as_me: error: X11 not found" >&2;}
25516 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
25517 fi
25518
25519 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25520 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
25521 AFMINSTALL=afminstall
25522 COMPILED_X_PROGRAM=0
25523
25524 fi
25525
25526 if test "$wxUSE_X11" = 1; then
25527 if test "$wxUSE_NANOX" = "yes"; then
25528 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
25529 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
25530 if test "x$MICROWIN" = x ; then
25531 echo "$as_me:$LINENO: result: not found" >&5
25532 echo "${ECHO_T}not found" >&6
25533 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
25534 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
25535 { (exit 1); exit 1; }; }
25536 else
25537 echo "$as_me:$LINENO: result: $MICROWIN" >&5
25538 echo "${ECHO_T}$MICROWIN" >&6
25539 cat >>confdefs.h <<\_ACEOF
25540 #define wxUSE_NANOX 1
25541 _ACEOF
25542
25543 fi
25544 fi
25545
25546 if test "$wxUSE_UNICODE" = "yes"; then
25547
25548 succeeded=no
25549
25550 if test -z "$PKG_CONFIG"; then
25551 # Extract the first word of "pkg-config", so it can be a program name with args.
25552 set dummy pkg-config; ac_word=$2
25553 echo "$as_me:$LINENO: checking for $ac_word" >&5
25554 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25555 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25556 echo $ECHO_N "(cached) $ECHO_C" >&6
25557 else
25558 case $PKG_CONFIG in
25559 [\\/]* | ?:[\\/]*)
25560 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25561 ;;
25562 *)
25563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25564 for as_dir in $PATH
25565 do
25566 IFS=$as_save_IFS
25567 test -z "$as_dir" && as_dir=.
25568 for ac_exec_ext in '' $ac_executable_extensions; do
25569 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25570 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25571 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25572 break 2
25573 fi
25574 done
25575 done
25576
25577 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
25578 ;;
25579 esac
25580 fi
25581 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25582
25583 if test -n "$PKG_CONFIG"; then
25584 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25585 echo "${ECHO_T}$PKG_CONFIG" >&6
25586 else
25587 echo "$as_me:$LINENO: result: no" >&5
25588 echo "${ECHO_T}no" >&6
25589 fi
25590
25591 fi
25592
25593 if test "$PKG_CONFIG" = "no" ; then
25594 echo "*** The pkg-config script could not be found. Make sure it is"
25595 echo "*** in your path, or set the PKG_CONFIG environment variable"
25596 echo "*** to the full path to pkg-config."
25597 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25598 else
25599 PKG_CONFIG_MIN_VERSION=0.9.0
25600 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25601 echo "$as_me:$LINENO: checking for pangox" >&5
25602 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
25603
25604 if $PKG_CONFIG --exists "pangox" ; then
25605 echo "$as_me:$LINENO: result: yes" >&5
25606 echo "${ECHO_T}yes" >&6
25607 succeeded=yes
25608
25609 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
25610 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
25611 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
25612 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
25613 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
25614
25615 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
25616 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
25617 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
25618 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
25619 echo "${ECHO_T}$PANGOX_LIBS" >&6
25620 else
25621 PANGOX_CFLAGS=""
25622 PANGOX_LIBS=""
25623 ## If we have a custom action on failure, don't print errors, but
25624 ## do set a variable so people can do so.
25625 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25626
25627 fi
25628
25629
25630
25631 else
25632 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25633 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25634 fi
25635 fi
25636
25637 if test $succeeded = yes; then
25638
25639 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
25640 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
25641
25642 else
25643
25644 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
25645 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
25646 { (exit 1); exit 1; }; }
25647
25648
25649 fi
25650
25651
25652 succeeded=no
25653
25654 if test -z "$PKG_CONFIG"; then
25655 # Extract the first word of "pkg-config", so it can be a program name with args.
25656 set dummy pkg-config; ac_word=$2
25657 echo "$as_me:$LINENO: checking for $ac_word" >&5
25658 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25659 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25660 echo $ECHO_N "(cached) $ECHO_C" >&6
25661 else
25662 case $PKG_CONFIG in
25663 [\\/]* | ?:[\\/]*)
25664 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25665 ;;
25666 *)
25667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25668 for as_dir in $PATH
25669 do
25670 IFS=$as_save_IFS
25671 test -z "$as_dir" && as_dir=.
25672 for ac_exec_ext in '' $ac_executable_extensions; do
25673 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25674 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25675 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25676 break 2
25677 fi
25678 done
25679 done
25680
25681 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
25682 ;;
25683 esac
25684 fi
25685 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25686
25687 if test -n "$PKG_CONFIG"; then
25688 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25689 echo "${ECHO_T}$PKG_CONFIG" >&6
25690 else
25691 echo "$as_me:$LINENO: result: no" >&5
25692 echo "${ECHO_T}no" >&6
25693 fi
25694
25695 fi
25696
25697 if test "$PKG_CONFIG" = "no" ; then
25698 echo "*** The pkg-config script could not be found. Make sure it is"
25699 echo "*** in your path, or set the PKG_CONFIG environment variable"
25700 echo "*** to the full path to pkg-config."
25701 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25702 else
25703 PKG_CONFIG_MIN_VERSION=0.9.0
25704 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25705 echo "$as_me:$LINENO: checking for pangoft2" >&5
25706 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
25707
25708 if $PKG_CONFIG --exists "pangoft2" ; then
25709 echo "$as_me:$LINENO: result: yes" >&5
25710 echo "${ECHO_T}yes" >&6
25711 succeeded=yes
25712
25713 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
25714 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
25715 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
25716 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
25717 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
25718
25719 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
25720 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
25721 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
25722 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
25723 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
25724 else
25725 PANGOFT2_CFLAGS=""
25726 PANGOFT2_LIBS=""
25727 ## If we have a custom action on failure, don't print errors, but
25728 ## do set a variable so people can do so.
25729 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25730
25731 fi
25732
25733
25734
25735 else
25736 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25737 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25738 fi
25739 fi
25740
25741 if test $succeeded = yes; then
25742
25743 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
25744 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25745
25746 else
25747
25748 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25749 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25750 wxUSE_PRINTING_ARCHITECTURE="no"
25751
25752
25753 fi
25754
25755
25756 succeeded=no
25757
25758 if test -z "$PKG_CONFIG"; then
25759 # Extract the first word of "pkg-config", so it can be a program name with args.
25760 set dummy pkg-config; ac_word=$2
25761 echo "$as_me:$LINENO: checking for $ac_word" >&5
25762 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25763 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25764 echo $ECHO_N "(cached) $ECHO_C" >&6
25765 else
25766 case $PKG_CONFIG in
25767 [\\/]* | ?:[\\/]*)
25768 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25769 ;;
25770 *)
25771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25772 for as_dir in $PATH
25773 do
25774 IFS=$as_save_IFS
25775 test -z "$as_dir" && as_dir=.
25776 for ac_exec_ext in '' $ac_executable_extensions; do
25777 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25778 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25779 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25780 break 2
25781 fi
25782 done
25783 done
25784
25785 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
25786 ;;
25787 esac
25788 fi
25789 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25790
25791 if test -n "$PKG_CONFIG"; then
25792 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25793 echo "${ECHO_T}$PKG_CONFIG" >&6
25794 else
25795 echo "$as_me:$LINENO: result: no" >&5
25796 echo "${ECHO_T}no" >&6
25797 fi
25798
25799 fi
25800
25801 if test "$PKG_CONFIG" = "no" ; then
25802 echo "*** The pkg-config script could not be found. Make sure it is"
25803 echo "*** in your path, or set the PKG_CONFIG environment variable"
25804 echo "*** to the full path to pkg-config."
25805 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25806 else
25807 PKG_CONFIG_MIN_VERSION=0.9.0
25808 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25809 echo "$as_me:$LINENO: checking for pangoxft" >&5
25810 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
25811
25812 if $PKG_CONFIG --exists "pangoxft" ; then
25813 echo "$as_me:$LINENO: result: yes" >&5
25814 echo "${ECHO_T}yes" >&6
25815 succeeded=yes
25816
25817 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
25818 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
25819 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
25820 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
25821 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
25822
25823 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
25824 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
25825 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
25826 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
25827 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
25828 else
25829 PANGOXFT_CFLAGS=""
25830 PANGOXFT_LIBS=""
25831 ## If we have a custom action on failure, don't print errors, but
25832 ## do set a variable so people can do so.
25833 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25834
25835 fi
25836
25837
25838
25839 else
25840 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25841 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25842 fi
25843 fi
25844
25845 if test $succeeded = yes; then
25846
25847 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
25848 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25849
25850 else
25851
25852 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25853 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25854
25855
25856 fi
25857
25858 save_CFLAGS="$CFLAGS"
25859 save_LIBS="$LIBS"
25860 CFLAGS="$CFLAGS $PANGOX_CFLAGS"
25861 LIBS="$LIBS $PANGOX_LIBS"
25862
25863 for ac_func in pango_font_family_is_monospace
25864 do
25865 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25866 echo "$as_me:$LINENO: checking for $ac_func" >&5
25867 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25868 if eval "test \"\${$as_ac_var+set}\" = set"; then
25869 echo $ECHO_N "(cached) $ECHO_C" >&6
25870 else
25871 cat >conftest.$ac_ext <<_ACEOF
25872 /* confdefs.h. */
25873 _ACEOF
25874 cat confdefs.h >>conftest.$ac_ext
25875 cat >>conftest.$ac_ext <<_ACEOF
25876 /* end confdefs.h. */
25877 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25878 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25879 #define $ac_func innocuous_$ac_func
25880
25881 /* System header to define __stub macros and hopefully few prototypes,
25882 which can conflict with char $ac_func (); below.
25883 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25884 <limits.h> exists even on freestanding compilers. */
25885
25886 #ifdef __STDC__
25887 # include <limits.h>
25888 #else
25889 # include <assert.h>
25890 #endif
25891
25892 #undef $ac_func
25893
25894 /* Override any gcc2 internal prototype to avoid an error. */
25895 #ifdef __cplusplus
25896 extern "C"
25897 {
25898 #endif
25899 /* We use char because int might match the return type of a gcc2
25900 builtin and then its argument prototype would still apply. */
25901 char $ac_func ();
25902 /* The GNU C library defines this for functions which it implements
25903 to always fail with ENOSYS. Some functions are actually named
25904 something starting with __ and the normal name is an alias. */
25905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25906 choke me
25907 #else
25908 char (*f) () = $ac_func;
25909 #endif
25910 #ifdef __cplusplus
25911 }
25912 #endif
25913
25914 int
25915 main ()
25916 {
25917 return f != $ac_func;
25918 ;
25919 return 0;
25920 }
25921 _ACEOF
25922 rm -f conftest.$ac_objext conftest$ac_exeext
25923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25924 (eval $ac_link) 2>conftest.er1
25925 ac_status=$?
25926 grep -v '^ *+' conftest.er1 >conftest.err
25927 rm -f conftest.er1
25928 cat conftest.err >&5
25929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25930 (exit $ac_status); } &&
25931 { ac_try='test -z "$ac_c_werror_flag"
25932 || test ! -s conftest.err'
25933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25934 (eval $ac_try) 2>&5
25935 ac_status=$?
25936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25937 (exit $ac_status); }; } &&
25938 { ac_try='test -s conftest$ac_exeext'
25939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25940 (eval $ac_try) 2>&5
25941 ac_status=$?
25942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25943 (exit $ac_status); }; }; then
25944 eval "$as_ac_var=yes"
25945 else
25946 echo "$as_me: failed program was:" >&5
25947 sed 's/^/| /' conftest.$ac_ext >&5
25948
25949 eval "$as_ac_var=no"
25950 fi
25951 rm -f conftest.err conftest.$ac_objext \
25952 conftest$ac_exeext conftest.$ac_ext
25953 fi
25954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25955 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25956 if test `eval echo '${'$as_ac_var'}'` = yes; then
25957 cat >>confdefs.h <<_ACEOF
25958 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25959 _ACEOF
25960
25961 fi
25962 done
25963
25964 CFLAGS="$save_CFLAGS"
25965 LIBS="$save_LIBS"
25966 fi
25967
25968 wxUSE_UNIVERSAL="yes"
25969
25970 if test "$wxUSE_NANOX" = "yes"; then
25971 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
25972 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"
25973 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
25974 else
25975 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
25976 fi
25977
25978 TOOLKIT=X11
25979 GUIDIST=X11_DIST
25980 fi
25981
25982 if test "$wxUSE_MOTIF" = 1; then
25983 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
25984 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
25985
25986 ac_find_includes=
25987 for ac_dir in $SEARCH_INCLUDE /usr/include;
25988 do
25989 if test -f "$ac_dir/Xm/Xm.h"; then
25990 ac_find_includes=$ac_dir
25991 break
25992 fi
25993 done
25994
25995 if test "$ac_find_includes" != "" ; then
25996 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
25997 echo "${ECHO_T}found in $ac_find_includes" >&6
25998
25999 if test "x$ac_find_includes" = "x/usr/include"; then
26000 ac_path_to_include=""
26001 else
26002 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
26003 result=$?
26004 if test $result = 0; then
26005 ac_path_to_include=""
26006 else
26007 ac_path_to_include=" -I$ac_find_includes"
26008 fi
26009 fi
26010
26011 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
26012 else
26013 cat >conftest.$ac_ext <<_ACEOF
26014 /* confdefs.h. */
26015 _ACEOF
26016 cat confdefs.h >>conftest.$ac_ext
26017 cat >>conftest.$ac_ext <<_ACEOF
26018 /* end confdefs.h. */
26019
26020 #include <Xm/Xm.h>
26021
26022 int
26023 main ()
26024 {
26025
26026 int version;
26027 version = xmUseVersion;
26028
26029 ;
26030 return 0;
26031 }
26032 _ACEOF
26033 rm -f conftest.$ac_objext
26034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26035 (eval $ac_compile) 2>conftest.er1
26036 ac_status=$?
26037 grep -v '^ *+' conftest.er1 >conftest.err
26038 rm -f conftest.er1
26039 cat conftest.err >&5
26040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26041 (exit $ac_status); } &&
26042 { ac_try='test -z "$ac_c_werror_flag"
26043 || test ! -s conftest.err'
26044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26045 (eval $ac_try) 2>&5
26046 ac_status=$?
26047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26048 (exit $ac_status); }; } &&
26049 { ac_try='test -s conftest.$ac_objext'
26050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26051 (eval $ac_try) 2>&5
26052 ac_status=$?
26053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26054 (exit $ac_status); }; }; then
26055
26056 echo "$as_me:$LINENO: result: found in default search path" >&5
26057 echo "${ECHO_T}found in default search path" >&6
26058 COMPILED_X_PROGRAM=1
26059
26060 else
26061 echo "$as_me: failed program was:" >&5
26062 sed 's/^/| /' conftest.$ac_ext >&5
26063
26064
26065 echo "$as_me:$LINENO: result: no" >&5
26066 echo "${ECHO_T}no" >&6
26067 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
26068 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
26069 { (exit 1); exit 1; }; }
26070
26071
26072 fi
26073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26074 fi
26075
26076 if test "$COMPILED_X_PROGRAM" = 0; then
26077 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
26078 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
26079
26080 ac_find_libraries=
26081 for ac_dir in $SEARCH_LIB /usr/lib;
26082 do
26083 for ac_extension in a so sl dylib; do
26084 if test -f "$ac_dir/libXm.$ac_extension"; then
26085 ac_find_libraries=$ac_dir
26086 break 2
26087 fi
26088 done
26089 done
26090
26091 if test "$ac_find_libraries" != "" ; then
26092 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26093 echo "${ECHO_T}found at $ac_find_libraries" >&6
26094
26095
26096 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26097 result=$?
26098 if test $result = 0; then
26099 ac_path_to_link=""
26100 else
26101 ac_path_to_link=" -L$ac_find_libraries"
26102 fi
26103
26104 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26105 else
26106 save_CFLAGS=$CFLAGS
26107 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26108
26109 cat >conftest.$ac_ext <<_ACEOF
26110 /* confdefs.h. */
26111 _ACEOF
26112 cat confdefs.h >>conftest.$ac_ext
26113 cat >>conftest.$ac_ext <<_ACEOF
26114 /* end confdefs.h. */
26115
26116 #include <Xm/Xm.h>
26117
26118 int
26119 main ()
26120 {
26121
26122 int version;
26123 version = xmUseVersion;
26124
26125 ;
26126 return 0;
26127 }
26128 _ACEOF
26129 rm -f conftest.$ac_objext
26130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26131 (eval $ac_compile) 2>conftest.er1
26132 ac_status=$?
26133 grep -v '^ *+' conftest.er1 >conftest.err
26134 rm -f conftest.er1
26135 cat conftest.err >&5
26136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26137 (exit $ac_status); } &&
26138 { ac_try='test -z "$ac_c_werror_flag"
26139 || test ! -s conftest.err'
26140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26141 (eval $ac_try) 2>&5
26142 ac_status=$?
26143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26144 (exit $ac_status); }; } &&
26145 { ac_try='test -s conftest.$ac_objext'
26146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26147 (eval $ac_try) 2>&5
26148 ac_status=$?
26149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26150 (exit $ac_status); }; }; then
26151
26152 echo "$as_me:$LINENO: result: found in default search path" >&5
26153 echo "${ECHO_T}found in default search path" >&6
26154 COMPILED_X_PROGRAM=1
26155
26156 else
26157 echo "$as_me: failed program was:" >&5
26158 sed 's/^/| /' conftest.$ac_ext >&5
26159
26160
26161 echo "$as_me:$LINENO: result: no" >&5
26162 echo "${ECHO_T}no" >&6
26163 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
26164 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
26165 { (exit 1); exit 1; }; }
26166
26167
26168 fi
26169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26170
26171 CFLAGS=$save_CFLAGS
26172 fi
26173 fi
26174
26175 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
26176 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
26177 libp_link=""
26178 libsm_ice_link=""
26179 libs_found=0
26180 for libp in "" " -lXp"; do
26181 if test "$libs_found" = "0"; then
26182 for libsm_ice in "" " -lSM -lICE"; do
26183 if test "$libs_found" = "0"; then
26184 save_LIBS="$LIBS"
26185 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26186 save_CFLAGS=$CFLAGS
26187 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26188
26189 cat >conftest.$ac_ext <<_ACEOF
26190 /* confdefs.h. */
26191 _ACEOF
26192 cat confdefs.h >>conftest.$ac_ext
26193 cat >>conftest.$ac_ext <<_ACEOF
26194 /* end confdefs.h. */
26195
26196 #include <Xm/Xm.h>
26197 #include <Xm/List.h>
26198
26199 int
26200 main ()
26201 {
26202
26203 XmString string = NULL;
26204 Widget w = NULL;
26205 int position = 0;
26206 XmListAddItem(w, string, position);
26207
26208 ;
26209 return 0;
26210 }
26211 _ACEOF
26212 rm -f conftest.$ac_objext conftest$ac_exeext
26213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26214 (eval $ac_link) 2>conftest.er1
26215 ac_status=$?
26216 grep -v '^ *+' conftest.er1 >conftest.err
26217 rm -f conftest.er1
26218 cat conftest.err >&5
26219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26220 (exit $ac_status); } &&
26221 { ac_try='test -z "$ac_c_werror_flag"
26222 || test ! -s conftest.err'
26223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26224 (eval $ac_try) 2>&5
26225 ac_status=$?
26226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26227 (exit $ac_status); }; } &&
26228 { ac_try='test -s conftest$ac_exeext'
26229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26230 (eval $ac_try) 2>&5
26231 ac_status=$?
26232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26233 (exit $ac_status); }; }; then
26234
26235 libp_link="$libp"
26236 libsm_ice_link="$libsm_ice"
26237 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
26238 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
26239 libs_found=1
26240
26241 else
26242 echo "$as_me: failed program was:" >&5
26243 sed 's/^/| /' conftest.$ac_ext >&5
26244
26245
26246
26247 fi
26248 rm -f conftest.err conftest.$ac_objext \
26249 conftest$ac_exeext conftest.$ac_ext
26250
26251 LIBS="$save_LIBS"
26252 CFLAGS=$save_CFLAGS
26253 fi
26254 done
26255 fi
26256 done
26257
26258 if test "$libs_found" = "0"; then
26259 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
26260 echo "${ECHO_T}can't find the right libraries" >&6
26261 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
26262 echo "$as_me: error: can't link a simple motif program" >&2;}
26263 { (exit 1); exit 1; }; }
26264 fi
26265
26266 save_CFLAGS=$CFLAGS
26267 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26268 echo "$as_me:$LINENO: checking for Motif 2" >&5
26269 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
26270 cat >conftest.$ac_ext <<_ACEOF
26271 /* confdefs.h. */
26272 _ACEOF
26273 cat confdefs.h >>conftest.$ac_ext
26274 cat >>conftest.$ac_ext <<_ACEOF
26275 /* end confdefs.h. */
26276
26277 #include <Xm/Xm.h>
26278
26279 int
26280 main ()
26281 {
26282
26283 #if XmVersion < 2000
26284 #error "Not Motif 2"
26285 #endif
26286
26287 ;
26288 return 0;
26289 }
26290 _ACEOF
26291 rm -f conftest.$ac_objext
26292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26293 (eval $ac_compile) 2>conftest.er1
26294 ac_status=$?
26295 grep -v '^ *+' conftest.er1 >conftest.err
26296 rm -f conftest.er1
26297 cat conftest.err >&5
26298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26299 (exit $ac_status); } &&
26300 { ac_try='test -z "$ac_c_werror_flag"
26301 || test ! -s conftest.err'
26302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26303 (eval $ac_try) 2>&5
26304 ac_status=$?
26305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26306 (exit $ac_status); }; } &&
26307 { ac_try='test -s conftest.$ac_objext'
26308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26309 (eval $ac_try) 2>&5
26310 ac_status=$?
26311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26312 (exit $ac_status); }; }; then
26313
26314 cat >>confdefs.h <<\_ACEOF
26315 #define __WXMOTIF20__ 1
26316 _ACEOF
26317
26318 echo "$as_me:$LINENO: result: found" >&5
26319 echo "${ECHO_T}found" >&6
26320
26321 else
26322 echo "$as_me: failed program was:" >&5
26323 sed 's/^/| /' conftest.$ac_ext >&5
26324
26325
26326 cat >>confdefs.h <<\_ACEOF
26327 #define __WXMOTIF20__ 0
26328 _ACEOF
26329
26330 echo "$as_me:$LINENO: result: not found" >&5
26331 echo "${ECHO_T}not found" >&6
26332
26333 fi
26334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26335 CFLAGS=$save_CFLAGS
26336
26337 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26338 TOOLKIT=MOTIF
26339 GUIDIST=MOTIF_DIST
26340 fi
26341
26342 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26343 if test "$wxUSE_LIBXPM" = "sys"; then
26344 echo "$as_me:$LINENO: checking for Xpm library" >&5
26345 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
26346
26347 ac_find_libraries=
26348 for ac_dir in $SEARCH_LIB /usr/lib;
26349 do
26350 for ac_extension in a so sl dylib; do
26351 if test -f "$ac_dir/libXpm.$ac_extension"; then
26352 ac_find_libraries=$ac_dir
26353 break 2
26354 fi
26355 done
26356 done
26357
26358 if test "$ac_find_libraries" != "" ; then
26359
26360 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26361 result=$?
26362 if test $result = 0; then
26363 ac_path_to_link=""
26364 else
26365 ac_path_to_link=" -L$ac_find_libraries"
26366 fi
26367
26368 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26369 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26370 echo "${ECHO_T}found at $ac_find_libraries" >&6
26371
26372 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
26373 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
26374 if test "${wx_cv_x11_xpm_h+set}" = set; then
26375 echo $ECHO_N "(cached) $ECHO_C" >&6
26376 else
26377
26378 save_CFLAGS=$CFLAGS
26379 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26380
26381 cat >conftest.$ac_ext <<_ACEOF
26382 /* confdefs.h. */
26383 _ACEOF
26384 cat confdefs.h >>conftest.$ac_ext
26385 cat >>conftest.$ac_ext <<_ACEOF
26386 /* end confdefs.h. */
26387
26388 #include <X11/xpm.h>
26389
26390 int
26391 main ()
26392 {
26393
26394 int version;
26395 version = XpmLibraryVersion();
26396
26397 ;
26398 return 0;
26399 }
26400 _ACEOF
26401 rm -f conftest.$ac_objext
26402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26403 (eval $ac_compile) 2>conftest.er1
26404 ac_status=$?
26405 grep -v '^ *+' conftest.er1 >conftest.err
26406 rm -f conftest.er1
26407 cat conftest.err >&5
26408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26409 (exit $ac_status); } &&
26410 { ac_try='test -z "$ac_c_werror_flag"
26411 || test ! -s conftest.err'
26412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26413 (eval $ac_try) 2>&5
26414 ac_status=$?
26415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26416 (exit $ac_status); }; } &&
26417 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
26423 wx_cv_x11_xpm_h=yes
26424 else
26425 echo "$as_me: failed program was:" >&5
26426 sed 's/^/| /' conftest.$ac_ext >&5
26427
26428 wx_cv_x11_xpm_h=no
26429
26430 fi
26431 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26432
26433 CFLAGS=$save_CFLAGS
26434
26435
26436 fi
26437 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
26438 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
26439
26440 if test $wx_cv_x11_xpm_h = "yes"; then
26441 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
26442 cat >>confdefs.h <<\_ACEOF
26443 #define wxHAVE_LIB_XPM 1
26444 _ACEOF
26445
26446 else
26447 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
26448 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26449 fi
26450 fi
26451
26452 fi
26453
26454 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
26455 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
26456 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
26457 echo $ECHO_N "(cached) $ECHO_C" >&6
26458 else
26459 ac_check_lib_save_LIBS=$LIBS
26460 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26461 cat >conftest.$ac_ext <<_ACEOF
26462 /* confdefs.h. */
26463 _ACEOF
26464 cat confdefs.h >>conftest.$ac_ext
26465 cat >>conftest.$ac_ext <<_ACEOF
26466 /* end confdefs.h. */
26467
26468 /* Override any gcc2 internal prototype to avoid an error. */
26469 #ifdef __cplusplus
26470 extern "C"
26471 #endif
26472 /* We use char because int might match the return type of a gcc2
26473 builtin and then its argument prototype would still apply. */
26474 char XShapeQueryExtension ();
26475 int
26476 main ()
26477 {
26478 XShapeQueryExtension ();
26479 ;
26480 return 0;
26481 }
26482 _ACEOF
26483 rm -f conftest.$ac_objext conftest$ac_exeext
26484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26485 (eval $ac_link) 2>conftest.er1
26486 ac_status=$?
26487 grep -v '^ *+' conftest.er1 >conftest.err
26488 rm -f conftest.er1
26489 cat conftest.err >&5
26490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26491 (exit $ac_status); } &&
26492 { ac_try='test -z "$ac_c_werror_flag"
26493 || test ! -s conftest.err'
26494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26495 (eval $ac_try) 2>&5
26496 ac_status=$?
26497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26498 (exit $ac_status); }; } &&
26499 { ac_try='test -s conftest$ac_exeext'
26500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26501 (eval $ac_try) 2>&5
26502 ac_status=$?
26503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26504 (exit $ac_status); }; }; then
26505 ac_cv_lib_Xext_XShapeQueryExtension=yes
26506 else
26507 echo "$as_me: failed program was:" >&5
26508 sed 's/^/| /' conftest.$ac_ext >&5
26509
26510 ac_cv_lib_Xext_XShapeQueryExtension=no
26511 fi
26512 rm -f conftest.err conftest.$ac_objext \
26513 conftest$ac_exeext conftest.$ac_ext
26514 LIBS=$ac_check_lib_save_LIBS
26515 fi
26516 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26517 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
26518 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
26519
26520 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
26521 wxHAVE_XEXT_LIB=1
26522
26523 fi
26524
26525
26526 if test "$wxHAVE_XEXT_LIB" = 1; then
26527 save_CFLAGS="$CFLAGS"
26528 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26529
26530 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
26531 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
26532 cat >conftest.$ac_ext <<_ACEOF
26533 /* confdefs.h. */
26534 _ACEOF
26535 cat confdefs.h >>conftest.$ac_ext
26536 cat >>conftest.$ac_ext <<_ACEOF
26537 /* end confdefs.h. */
26538
26539 #include <X11/Xlib.h>
26540 #include <X11/extensions/shape.h>
26541
26542 int
26543 main ()
26544 {
26545
26546 int dummy1, dummy2;
26547 XShapeQueryExtension((Display*)NULL,
26548 (int*)NULL, (int*)NULL);
26549
26550 ;
26551 return 0;
26552 }
26553 _ACEOF
26554 rm -f conftest.$ac_objext
26555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26556 (eval $ac_compile) 2>conftest.er1
26557 ac_status=$?
26558 grep -v '^ *+' conftest.er1 >conftest.err
26559 rm -f conftest.er1
26560 cat conftest.err >&5
26561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26562 (exit $ac_status); } &&
26563 { ac_try='test -z "$ac_c_werror_flag"
26564 || test ! -s conftest.err'
26565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26566 (eval $ac_try) 2>&5
26567 ac_status=$?
26568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26569 (exit $ac_status); }; } &&
26570 { ac_try='test -s conftest.$ac_objext'
26571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26572 (eval $ac_try) 2>&5
26573 ac_status=$?
26574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26575 (exit $ac_status); }; }; then
26576
26577 cat >>confdefs.h <<\_ACEOF
26578 #define HAVE_XSHAPE 1
26579 _ACEOF
26580
26581 echo "$as_me:$LINENO: result: found" >&5
26582 echo "${ECHO_T}found" >&6
26583
26584 else
26585 echo "$as_me: failed program was:" >&5
26586 sed 's/^/| /' conftest.$ac_ext >&5
26587
26588
26589 echo "$as_me:$LINENO: result: not found" >&5
26590 echo "${ECHO_T}not found" >&6
26591
26592 fi
26593 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26594 CFLAGS="$save_CFLAGS"
26595
26596 fi
26597 fi
26598
26599 if test "$wxUSE_MAC" = 1; then
26600 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
26601 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
26602 if test "$GCC" = yes; then
26603 echo "$as_me:$LINENO: result: gcc" >&5
26604 echo "${ECHO_T}gcc" >&6
26605 CPPFLAGS_PASCAL="-fpascal-strings"
26606 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26607 echo "$as_me:$LINENO: result: xlc" >&5
26608 echo "${ECHO_T}xlc" >&6
26609 CPPFLAGS_PASCAL="-qmacpstr"
26610 else
26611 echo "$as_me:$LINENO: result: none" >&5
26612 echo "${ECHO_T}none" >&6
26613 fi
26614
26615 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
26616
26617 TOOLKIT=MAC
26618 GUIDIST=MACX_DIST
26619 WXBASEPORT="_carbon"
26620 fi
26621
26622 if test "$wxUSE_COCOA" = 1; then
26623 TOOLKIT=COCOA
26624 GUIDIST=COCOA_DIST
26625 fi
26626
26627 if test "$wxUSE_PM" = 1; then
26628 TOOLKIT=PM
26629 GUIDIST=PM_DIST
26630 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
26631 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
26632 if test "${wx_cv_spbcdata+set}" = set; then
26633 echo $ECHO_N "(cached) $ECHO_C" >&6
26634 else
26635
26636 cat >conftest.$ac_ext <<_ACEOF
26637 /* confdefs.h. */
26638 _ACEOF
26639 cat confdefs.h >>conftest.$ac_ext
26640 cat >>conftest.$ac_ext <<_ACEOF
26641 /* end confdefs.h. */
26642
26643 #define INCL_PM
26644 #include <os2.h>
26645
26646 int
26647 main ()
26648 {
26649
26650 SPBCDATA test;
26651
26652 ;
26653 return 0;
26654 }
26655 _ACEOF
26656 rm -f conftest.$ac_objext
26657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26658 (eval $ac_compile) 2>conftest.er1
26659 ac_status=$?
26660 grep -v '^ *+' conftest.er1 >conftest.err
26661 rm -f conftest.er1
26662 cat conftest.err >&5
26663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26664 (exit $ac_status); } &&
26665 { ac_try='test -z "$ac_c_werror_flag"
26666 || test ! -s conftest.err'
26667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26668 (eval $ac_try) 2>&5
26669 ac_status=$?
26670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26671 (exit $ac_status); }; } &&
26672 { ac_try='test -s conftest.$ac_objext'
26673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26674 (eval $ac_try) 2>&5
26675 ac_status=$?
26676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26677 (exit $ac_status); }; }; then
26678 wx_cv_spbcdata=yes
26679 else
26680 echo "$as_me: failed program was:" >&5
26681 sed 's/^/| /' conftest.$ac_ext >&5
26682
26683 wx_cv_spbcdata=no
26684
26685 fi
26686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26687
26688
26689 fi
26690 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
26691 echo "${ECHO_T}$wx_cv_spbcdata" >&6
26692
26693 if test $wx_cv_spbcdata = "yes"; then
26694 cat >>confdefs.h <<\_ACEOF
26695 #define HAVE_SPBCDATA 1
26696 _ACEOF
26697
26698 fi
26699 fi
26700
26701 if test "$TOOLKIT" = "PM" ; then
26702 TOOLKIT_DIR="os2"
26703 else
26704 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
26705 fi
26706
26707 if test "$wxUSE_UNIVERSAL" = "yes"; then
26708 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26709 WIDGET_SET=univ
26710 fi
26711
26712 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26713 DISTDIR="wx\$(TOOLKIT)"
26714 else
26715 USE_GUI=0
26716
26717 TOOLKIT_DIR="base"
26718
26719 if test "$USE_WIN32" = 1 ; then
26720 TOOLKIT="MSW"
26721 fi
26722
26723 GUIDIST="BASE_DIST"
26724 DISTDIR="wxBase"
26725 fi
26726
26727
26728
26729
26730 IODBC_C_SRC=""
26731
26732
26733 if test "$TOOLKIT" != "MSW" ; then
26734
26735 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
26736
26737 if test "${ac_cv_header_sql_h+set}" = set; then
26738 echo "$as_me:$LINENO: checking for sql.h" >&5
26739 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26740 if test "${ac_cv_header_sql_h+set}" = set; then
26741 echo $ECHO_N "(cached) $ECHO_C" >&6
26742 fi
26743 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26744 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26745 else
26746 # Is the header compilable?
26747 echo "$as_me:$LINENO: checking sql.h usability" >&5
26748 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
26749 cat >conftest.$ac_ext <<_ACEOF
26750 /* confdefs.h. */
26751 _ACEOF
26752 cat confdefs.h >>conftest.$ac_ext
26753 cat >>conftest.$ac_ext <<_ACEOF
26754 /* end confdefs.h. */
26755 $ac_includes_default
26756 #include <sql.h>
26757 _ACEOF
26758 rm -f conftest.$ac_objext
26759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26760 (eval $ac_compile) 2>conftest.er1
26761 ac_status=$?
26762 grep -v '^ *+' conftest.er1 >conftest.err
26763 rm -f conftest.er1
26764 cat conftest.err >&5
26765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26766 (exit $ac_status); } &&
26767 { ac_try='test -z "$ac_c_werror_flag"
26768 || test ! -s conftest.err'
26769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26770 (eval $ac_try) 2>&5
26771 ac_status=$?
26772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26773 (exit $ac_status); }; } &&
26774 { ac_try='test -s conftest.$ac_objext'
26775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26776 (eval $ac_try) 2>&5
26777 ac_status=$?
26778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26779 (exit $ac_status); }; }; then
26780 ac_header_compiler=yes
26781 else
26782 echo "$as_me: failed program was:" >&5
26783 sed 's/^/| /' conftest.$ac_ext >&5
26784
26785 ac_header_compiler=no
26786 fi
26787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26788 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26789 echo "${ECHO_T}$ac_header_compiler" >&6
26790
26791 # Is the header present?
26792 echo "$as_me:$LINENO: checking sql.h presence" >&5
26793 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
26794 cat >conftest.$ac_ext <<_ACEOF
26795 /* confdefs.h. */
26796 _ACEOF
26797 cat confdefs.h >>conftest.$ac_ext
26798 cat >>conftest.$ac_ext <<_ACEOF
26799 /* end confdefs.h. */
26800 #include <sql.h>
26801 _ACEOF
26802 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26803 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26804 ac_status=$?
26805 grep -v '^ *+' conftest.er1 >conftest.err
26806 rm -f conftest.er1
26807 cat conftest.err >&5
26808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26809 (exit $ac_status); } >/dev/null; then
26810 if test -s conftest.err; then
26811 ac_cpp_err=$ac_c_preproc_warn_flag
26812 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26813 else
26814 ac_cpp_err=
26815 fi
26816 else
26817 ac_cpp_err=yes
26818 fi
26819 if test -z "$ac_cpp_err"; then
26820 ac_header_preproc=yes
26821 else
26822 echo "$as_me: failed program was:" >&5
26823 sed 's/^/| /' conftest.$ac_ext >&5
26824
26825 ac_header_preproc=no
26826 fi
26827 rm -f conftest.err conftest.$ac_ext
26828 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26829 echo "${ECHO_T}$ac_header_preproc" >&6
26830
26831 # So? What about this header?
26832 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26833 yes:no: )
26834 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
26835 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26836 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
26837 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
26838 ac_header_preproc=yes
26839 ;;
26840 no:yes:* )
26841 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
26842 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
26843 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
26844 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
26845 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
26846 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
26847 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
26848 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
26849 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
26850 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
26851 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
26852 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
26853 (
26854 cat <<\_ASBOX
26855 ## ----------------------------------------- ##
26856 ## Report this to wx-dev@lists.wxwidgets.org ##
26857 ## ----------------------------------------- ##
26858 _ASBOX
26859 ) |
26860 sed "s/^/$as_me: WARNING: /" >&2
26861 ;;
26862 esac
26863 echo "$as_me:$LINENO: checking for sql.h" >&5
26864 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26865 if test "${ac_cv_header_sql_h+set}" = set; then
26866 echo $ECHO_N "(cached) $ECHO_C" >&6
26867 else
26868 ac_cv_header_sql_h=$ac_header_preproc
26869 fi
26870 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26871 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26872
26873 fi
26874 if test $ac_cv_header_sql_h = yes; then
26875 found_sql_h=1
26876 fi
26877
26878
26879 if test "x$found_sql_h" = "x1" ; then
26880 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
26881 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
26882 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
26883 echo $ECHO_N "(cached) $ECHO_C" >&6
26884 else
26885 ac_check_lib_save_LIBS=$LIBS
26886 LIBS="-liodbc $LIBS"
26887 cat >conftest.$ac_ext <<_ACEOF
26888 /* confdefs.h. */
26889 _ACEOF
26890 cat confdefs.h >>conftest.$ac_ext
26891 cat >>conftest.$ac_ext <<_ACEOF
26892 /* end confdefs.h. */
26893
26894 /* Override any gcc2 internal prototype to avoid an error. */
26895 #ifdef __cplusplus
26896 extern "C"
26897 #endif
26898 /* We use char because int might match the return type of a gcc2
26899 builtin and then its argument prototype would still apply. */
26900 char SQLAllocEnv ();
26901 int
26902 main ()
26903 {
26904 SQLAllocEnv ();
26905 ;
26906 return 0;
26907 }
26908 _ACEOF
26909 rm -f conftest.$ac_objext conftest$ac_exeext
26910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26911 (eval $ac_link) 2>conftest.er1
26912 ac_status=$?
26913 grep -v '^ *+' conftest.er1 >conftest.err
26914 rm -f conftest.er1
26915 cat conftest.err >&5
26916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26917 (exit $ac_status); } &&
26918 { ac_try='test -z "$ac_c_werror_flag"
26919 || test ! -s conftest.err'
26920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26921 (eval $ac_try) 2>&5
26922 ac_status=$?
26923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26924 (exit $ac_status); }; } &&
26925 { ac_try='test -s conftest$ac_exeext'
26926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26927 (eval $ac_try) 2>&5
26928 ac_status=$?
26929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26930 (exit $ac_status); }; }; then
26931 ac_cv_lib_iodbc_SQLAllocEnv=yes
26932 else
26933 echo "$as_me: failed program was:" >&5
26934 sed 's/^/| /' conftest.$ac_ext >&5
26935
26936 ac_cv_lib_iodbc_SQLAllocEnv=no
26937 fi
26938 rm -f conftest.err conftest.$ac_objext \
26939 conftest$ac_exeext conftest.$ac_ext
26940 LIBS=$ac_check_lib_save_LIBS
26941 fi
26942 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
26943 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
26944 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
26945 ODBC_LINK=" -liodbc"
26946 else
26947
26948 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
26949 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
26950 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
26951 echo $ECHO_N "(cached) $ECHO_C" >&6
26952 else
26953 ac_check_lib_save_LIBS=$LIBS
26954 LIBS="-lunixodbc $LIBS"
26955 cat >conftest.$ac_ext <<_ACEOF
26956 /* confdefs.h. */
26957 _ACEOF
26958 cat confdefs.h >>conftest.$ac_ext
26959 cat >>conftest.$ac_ext <<_ACEOF
26960 /* end confdefs.h. */
26961
26962 /* Override any gcc2 internal prototype to avoid an error. */
26963 #ifdef __cplusplus
26964 extern "C"
26965 #endif
26966 /* We use char because int might match the return type of a gcc2
26967 builtin and then its argument prototype would still apply. */
26968 char SQLAllocEnv ();
26969 int
26970 main ()
26971 {
26972 SQLAllocEnv ();
26973 ;
26974 return 0;
26975 }
26976 _ACEOF
26977 rm -f conftest.$ac_objext conftest$ac_exeext
26978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26979 (eval $ac_link) 2>conftest.er1
26980 ac_status=$?
26981 grep -v '^ *+' conftest.er1 >conftest.err
26982 rm -f conftest.er1
26983 cat conftest.err >&5
26984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26985 (exit $ac_status); } &&
26986 { ac_try='test -z "$ac_c_werror_flag"
26987 || test ! -s conftest.err'
26988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26989 (eval $ac_try) 2>&5
26990 ac_status=$?
26991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26992 (exit $ac_status); }; } &&
26993 { ac_try='test -s conftest$ac_exeext'
26994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26995 (eval $ac_try) 2>&5
26996 ac_status=$?
26997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26998 (exit $ac_status); }; }; then
26999 ac_cv_lib_unixodbc_SQLAllocEnv=yes
27000 else
27001 echo "$as_me: failed program was:" >&5
27002 sed 's/^/| /' conftest.$ac_ext >&5
27003
27004 ac_cv_lib_unixodbc_SQLAllocEnv=no
27005 fi
27006 rm -f conftest.err conftest.$ac_objext \
27007 conftest$ac_exeext conftest.$ac_ext
27008 LIBS=$ac_check_lib_save_LIBS
27009 fi
27010 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
27011 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
27012 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
27013 ODBC_LINK=" -lunixodbc"
27014 else
27015
27016 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
27017 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
27018 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
27019 echo $ECHO_N "(cached) $ECHO_C" >&6
27020 else
27021 ac_check_lib_save_LIBS=$LIBS
27022 LIBS="-lodbc $LIBS"
27023 cat >conftest.$ac_ext <<_ACEOF
27024 /* confdefs.h. */
27025 _ACEOF
27026 cat confdefs.h >>conftest.$ac_ext
27027 cat >>conftest.$ac_ext <<_ACEOF
27028 /* end confdefs.h. */
27029
27030 /* Override any gcc2 internal prototype to avoid an error. */
27031 #ifdef __cplusplus
27032 extern "C"
27033 #endif
27034 /* We use char because int might match the return type of a gcc2
27035 builtin and then its argument prototype would still apply. */
27036 char SQLAllocEnv ();
27037 int
27038 main ()
27039 {
27040 SQLAllocEnv ();
27041 ;
27042 return 0;
27043 }
27044 _ACEOF
27045 rm -f conftest.$ac_objext conftest$ac_exeext
27046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27047 (eval $ac_link) 2>conftest.er1
27048 ac_status=$?
27049 grep -v '^ *+' conftest.er1 >conftest.err
27050 rm -f conftest.er1
27051 cat conftest.err >&5
27052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27053 (exit $ac_status); } &&
27054 { ac_try='test -z "$ac_c_werror_flag"
27055 || test ! -s conftest.err'
27056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27057 (eval $ac_try) 2>&5
27058 ac_status=$?
27059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27060 (exit $ac_status); }; } &&
27061 { ac_try='test -s conftest$ac_exeext'
27062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27063 (eval $ac_try) 2>&5
27064 ac_status=$?
27065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27066 (exit $ac_status); }; }; then
27067 ac_cv_lib_odbc_SQLAllocEnv=yes
27068 else
27069 echo "$as_me: failed program was:" >&5
27070 sed 's/^/| /' conftest.$ac_ext >&5
27071
27072 ac_cv_lib_odbc_SQLAllocEnv=no
27073 fi
27074 rm -f conftest.err conftest.$ac_objext \
27075 conftest$ac_exeext conftest.$ac_ext
27076 LIBS=$ac_check_lib_save_LIBS
27077 fi
27078 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
27079 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
27080 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
27081 ODBC_LINK=" -lodbc"
27082 fi
27083
27084
27085 fi
27086
27087
27088 fi
27089
27090 fi
27091 if test "x$ODBC_LINK" = "x" ; then
27092 if test "$wxUSE_ODBC" = "sys" ; then
27093 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
27094 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
27095 { (exit 1); exit 1; }; }
27096 else
27097 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
27098 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
27099 wxUSE_ODBC=builtin
27100 fi
27101 else
27102 wxUSE_ODBC=sys
27103 fi
27104 fi
27105 if test "$wxUSE_ODBC" != "no" ; then
27106 cat >>confdefs.h <<\_ACEOF
27107 #define wxUSE_ODBC 1
27108 _ACEOF
27109
27110 if test "$wxUSE_ODBC" = "builtin" ; then
27111 cat >>confdefs.h <<\_ACEOF
27112 #define wxUSE_BUILTIN_IODBC 1
27113 _ACEOF
27114
27115 fi
27116 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
27117
27118 WXODBCFLAG="-D_IODBC_"
27119 fi
27120 fi
27121
27122
27123
27124 if test "$wxUSE_DISPLAY" = "yes"; then
27125 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
27126 echo "$as_me:$LINENO: checking for Xinerama" >&5
27127 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
27128
27129 ac_find_libraries=
27130 for ac_dir in $SEARCH_LIB /usr/lib;
27131 do
27132 for ac_extension in a so sl dylib; do
27133 if test -f "$ac_dir/libXinerama.$ac_extension"; then
27134 ac_find_libraries=$ac_dir
27135 break 2
27136 fi
27137 done
27138 done
27139
27140 if test "$ac_find_libraries" != "" ; then
27141
27142 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27143 result=$?
27144 if test $result = 0; then
27145 ac_path_to_link=""
27146 else
27147 ac_path_to_link=" -L$ac_find_libraries"
27148 fi
27149
27150 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27151 LDFLAGS="$LDFLAGS $ac_path_to_link"
27152 fi
27153 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
27154 echo "$as_me:$LINENO: result: yes" >&5
27155 echo "${ECHO_T}yes" >&6
27156
27157 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
27158 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
27159
27160 ac_find_libraries=
27161 for ac_dir in $SEARCH_LIB /usr/lib;
27162 do
27163 for ac_extension in a so sl dylib; do
27164 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27165 ac_find_libraries=$ac_dir
27166 break 2
27167 fi
27168 done
27169 done
27170
27171 if test "$ac_find_libraries" != "" ; then
27172 echo "$as_me:$LINENO: result: yes" >&5
27173 echo "${ECHO_T}yes" >&6
27174
27175 for ac_header in X11/extensions/xf86vmode.h
27176 do
27177 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27178 echo "$as_me:$LINENO: checking for $ac_header" >&5
27179 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27180 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27181 echo $ECHO_N "(cached) $ECHO_C" >&6
27182 else
27183 cat >conftest.$ac_ext <<_ACEOF
27184 /* confdefs.h. */
27185 _ACEOF
27186 cat confdefs.h >>conftest.$ac_ext
27187 cat >>conftest.$ac_ext <<_ACEOF
27188 /* end confdefs.h. */
27189
27190 #if HAVE_X11_XLIB_H
27191 #include <X11/Xlib.h>
27192 #endif
27193
27194
27195 #include <$ac_header>
27196 _ACEOF
27197 rm -f conftest.$ac_objext
27198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27199 (eval $ac_compile) 2>conftest.er1
27200 ac_status=$?
27201 grep -v '^ *+' conftest.er1 >conftest.err
27202 rm -f conftest.er1
27203 cat conftest.err >&5
27204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27205 (exit $ac_status); } &&
27206 { ac_try='test -z "$ac_c_werror_flag"
27207 || test ! -s conftest.err'
27208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27209 (eval $ac_try) 2>&5
27210 ac_status=$?
27211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27212 (exit $ac_status); }; } &&
27213 { ac_try='test -s conftest.$ac_objext'
27214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27215 (eval $ac_try) 2>&5
27216 ac_status=$?
27217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27218 (exit $ac_status); }; }; then
27219 eval "$as_ac_Header=yes"
27220 else
27221 echo "$as_me: failed program was:" >&5
27222 sed 's/^/| /' conftest.$ac_ext >&5
27223
27224 eval "$as_ac_Header=no"
27225 fi
27226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27227 fi
27228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27229 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27230 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27231 cat >>confdefs.h <<_ACEOF
27232 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27233 _ACEOF
27234
27235 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
27236
27237 fi
27238
27239 done
27240
27241 else
27242 echo "$as_me:$LINENO: result: no" >&5
27243 echo "${ECHO_T}no" >&6
27244 fi
27245
27246 else
27247 echo "$as_me:$LINENO: result: no" >&5
27248 echo "${ECHO_T}no" >&6
27249 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
27250 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
27251 wxUSE_DISPLAY="no"
27252 fi
27253 elif test "$wxUSE_MSW" = 1; then
27254
27255
27256 for ac_header in multimon.h ddraw.h
27257 do
27258 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27259 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27260 echo "$as_me:$LINENO: checking for $ac_header" >&5
27261 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27262 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27263 echo $ECHO_N "(cached) $ECHO_C" >&6
27264 fi
27265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27266 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27267 else
27268 # Is the header compilable?
27269 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27270 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27271 cat >conftest.$ac_ext <<_ACEOF
27272 /* confdefs.h. */
27273 _ACEOF
27274 cat confdefs.h >>conftest.$ac_ext
27275 cat >>conftest.$ac_ext <<_ACEOF
27276 /* end confdefs.h. */
27277 $ac_includes_default
27278 #include <$ac_header>
27279 _ACEOF
27280 rm -f conftest.$ac_objext
27281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27282 (eval $ac_compile) 2>conftest.er1
27283 ac_status=$?
27284 grep -v '^ *+' conftest.er1 >conftest.err
27285 rm -f conftest.er1
27286 cat conftest.err >&5
27287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27288 (exit $ac_status); } &&
27289 { ac_try='test -z "$ac_c_werror_flag"
27290 || test ! -s conftest.err'
27291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27292 (eval $ac_try) 2>&5
27293 ac_status=$?
27294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27295 (exit $ac_status); }; } &&
27296 { ac_try='test -s conftest.$ac_objext'
27297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27298 (eval $ac_try) 2>&5
27299 ac_status=$?
27300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27301 (exit $ac_status); }; }; then
27302 ac_header_compiler=yes
27303 else
27304 echo "$as_me: failed program was:" >&5
27305 sed 's/^/| /' conftest.$ac_ext >&5
27306
27307 ac_header_compiler=no
27308 fi
27309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27310 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27311 echo "${ECHO_T}$ac_header_compiler" >&6
27312
27313 # Is the header present?
27314 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27315 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27316 cat >conftest.$ac_ext <<_ACEOF
27317 /* confdefs.h. */
27318 _ACEOF
27319 cat confdefs.h >>conftest.$ac_ext
27320 cat >>conftest.$ac_ext <<_ACEOF
27321 /* end confdefs.h. */
27322 #include <$ac_header>
27323 _ACEOF
27324 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27325 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27326 ac_status=$?
27327 grep -v '^ *+' conftest.er1 >conftest.err
27328 rm -f conftest.er1
27329 cat conftest.err >&5
27330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27331 (exit $ac_status); } >/dev/null; then
27332 if test -s conftest.err; then
27333 ac_cpp_err=$ac_c_preproc_warn_flag
27334 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27335 else
27336 ac_cpp_err=
27337 fi
27338 else
27339 ac_cpp_err=yes
27340 fi
27341 if test -z "$ac_cpp_err"; then
27342 ac_header_preproc=yes
27343 else
27344 echo "$as_me: failed program was:" >&5
27345 sed 's/^/| /' conftest.$ac_ext >&5
27346
27347 ac_header_preproc=no
27348 fi
27349 rm -f conftest.err conftest.$ac_ext
27350 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27351 echo "${ECHO_T}$ac_header_preproc" >&6
27352
27353 # So? What about this header?
27354 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27355 yes:no: )
27356 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27357 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27358 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27359 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27360 ac_header_preproc=yes
27361 ;;
27362 no:yes:* )
27363 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27364 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27365 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27366 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27367 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27368 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27369 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27370 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27371 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27372 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27373 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27374 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27375 (
27376 cat <<\_ASBOX
27377 ## ----------------------------------------- ##
27378 ## Report this to wx-dev@lists.wxwidgets.org ##
27379 ## ----------------------------------------- ##
27380 _ASBOX
27381 ) |
27382 sed "s/^/$as_me: WARNING: /" >&2
27383 ;;
27384 esac
27385 echo "$as_me:$LINENO: checking for $ac_header" >&5
27386 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27387 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27388 echo $ECHO_N "(cached) $ECHO_C" >&6
27389 else
27390 eval "$as_ac_Header=\$ac_header_preproc"
27391 fi
27392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27393 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27394
27395 fi
27396 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27397 cat >>confdefs.h <<_ACEOF
27398 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27399 _ACEOF
27400
27401 else
27402
27403 wxUSE_DISPLAY="no"
27404 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
27405 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
27406
27407 fi
27408
27409 done
27410
27411 fi
27412 fi
27413
27414
27415 USE_OPENGL=0
27416 if test "$wxUSE_OPENGL" = "yes"; then
27417 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27418 OPENGL_LIBS="-framework OpenGL -framework AGL"
27419 elif test "$wxUSE_MSW" = 1; then
27420 OPENGL_LIBS="-lopengl32 -lglu32"
27421 else
27422
27423
27424 ac_find_includes=
27425 for ac_dir in $SEARCH_INCLUDE /usr/include;
27426 do
27427 if test -f "$ac_dir/GL/gl.h"; then
27428 ac_find_includes=$ac_dir
27429 break
27430 fi
27431 done
27432
27433 if test "$ac_find_includes" != "" ; then
27434 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27435 echo "${ECHO_T}found in $ac_find_includes" >&6
27436
27437 if test "x$ac_find_includes" = "x/usr/include"; then
27438 ac_path_to_include=""
27439 else
27440 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
27441 result=$?
27442 if test $result = 0; then
27443 ac_path_to_include=""
27444 else
27445 ac_path_to_include=" -I$ac_find_includes"
27446 fi
27447 fi
27448
27449 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
27450 fi
27451
27452 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27453 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27454 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27455 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27456 echo $ECHO_N "(cached) $ECHO_C" >&6
27457 fi
27458 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27459 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27460 else
27461 # Is the header compilable?
27462 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
27463 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
27464 cat >conftest.$ac_ext <<_ACEOF
27465 /* confdefs.h. */
27466 _ACEOF
27467 cat confdefs.h >>conftest.$ac_ext
27468 cat >>conftest.$ac_ext <<_ACEOF
27469 /* end confdefs.h. */
27470 $ac_includes_default
27471 #include <GL/gl.h>
27472 _ACEOF
27473 rm -f conftest.$ac_objext
27474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27475 (eval $ac_compile) 2>conftest.er1
27476 ac_status=$?
27477 grep -v '^ *+' conftest.er1 >conftest.err
27478 rm -f conftest.er1
27479 cat conftest.err >&5
27480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27481 (exit $ac_status); } &&
27482 { ac_try='test -z "$ac_c_werror_flag"
27483 || test ! -s conftest.err'
27484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27485 (eval $ac_try) 2>&5
27486 ac_status=$?
27487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27488 (exit $ac_status); }; } &&
27489 { ac_try='test -s conftest.$ac_objext'
27490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27491 (eval $ac_try) 2>&5
27492 ac_status=$?
27493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27494 (exit $ac_status); }; }; then
27495 ac_header_compiler=yes
27496 else
27497 echo "$as_me: failed program was:" >&5
27498 sed 's/^/| /' conftest.$ac_ext >&5
27499
27500 ac_header_compiler=no
27501 fi
27502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27503 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27504 echo "${ECHO_T}$ac_header_compiler" >&6
27505
27506 # Is the header present?
27507 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
27508 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
27509 cat >conftest.$ac_ext <<_ACEOF
27510 /* confdefs.h. */
27511 _ACEOF
27512 cat confdefs.h >>conftest.$ac_ext
27513 cat >>conftest.$ac_ext <<_ACEOF
27514 /* end confdefs.h. */
27515 #include <GL/gl.h>
27516 _ACEOF
27517 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27518 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27519 ac_status=$?
27520 grep -v '^ *+' conftest.er1 >conftest.err
27521 rm -f conftest.er1
27522 cat conftest.err >&5
27523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27524 (exit $ac_status); } >/dev/null; then
27525 if test -s conftest.err; then
27526 ac_cpp_err=$ac_c_preproc_warn_flag
27527 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27528 else
27529 ac_cpp_err=
27530 fi
27531 else
27532 ac_cpp_err=yes
27533 fi
27534 if test -z "$ac_cpp_err"; then
27535 ac_header_preproc=yes
27536 else
27537 echo "$as_me: failed program was:" >&5
27538 sed 's/^/| /' conftest.$ac_ext >&5
27539
27540 ac_header_preproc=no
27541 fi
27542 rm -f conftest.err conftest.$ac_ext
27543 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27544 echo "${ECHO_T}$ac_header_preproc" >&6
27545
27546 # So? What about this header?
27547 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27548 yes:no: )
27549 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
27550 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27551 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
27552 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
27553 ac_header_preproc=yes
27554 ;;
27555 no:yes:* )
27556 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
27557 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
27558 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
27559 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
27560 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
27561 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
27562 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
27563 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
27564 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
27565 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
27566 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
27567 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
27568 (
27569 cat <<\_ASBOX
27570 ## ----------------------------------------- ##
27571 ## Report this to wx-dev@lists.wxwidgets.org ##
27572 ## ----------------------------------------- ##
27573 _ASBOX
27574 ) |
27575 sed "s/^/$as_me: WARNING: /" >&2
27576 ;;
27577 esac
27578 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27579 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27580 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27581 echo $ECHO_N "(cached) $ECHO_C" >&6
27582 else
27583 ac_cv_header_GL_gl_h=$ac_header_preproc
27584 fi
27585 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27586 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27587
27588 fi
27589 if test $ac_cv_header_GL_gl_h = yes; then
27590
27591 found_gl=0
27592
27593 echo "$as_me:$LINENO: checking for -lGL" >&5
27594 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
27595
27596 ac_find_libraries=
27597 for ac_dir in $SEARCH_LIB /usr/lib;
27598 do
27599 for ac_extension in a so sl dylib; do
27600 if test -f "$ac_dir/libGL.$ac_extension"; then
27601 ac_find_libraries=$ac_dir
27602 break 2
27603 fi
27604 done
27605 done
27606
27607 if test "$ac_find_libraries" != "" ; then
27608
27609 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27610 result=$?
27611 if test $result = 0; then
27612 ac_path_to_link=""
27613 else
27614 ac_path_to_link=" -L$ac_find_libraries"
27615 fi
27616
27617 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27618 LDFLAGS_GL="$ac_path_to_link"
27619 fi
27620
27621
27622 ac_find_libraries=
27623 for ac_dir in $SEARCH_LIB /usr/lib;
27624 do
27625 for ac_extension in a so sl dylib; do
27626 if test -f "$ac_dir/libGLU.$ac_extension"; then
27627 ac_find_libraries=$ac_dir
27628 break 2
27629 fi
27630 done
27631 done
27632
27633 if test "$ac_find_libraries" != "" ; then
27634
27635 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27636 result=$?
27637 if test $result = 0; then
27638 ac_path_to_link=""
27639 else
27640 ac_path_to_link=" -L$ac_find_libraries"
27641 fi
27642
27643 if test "$ac_path_to_link" != " -L/usr/lib" -a \
27644 "$ac_path_to_link" != "$LDFLAGS_GL"; then
27645 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
27646 fi
27647
27648 found_gl=1
27649 OPENGL_LIBS="-lGL -lGLU"
27650 echo "$as_me:$LINENO: result: yes" >&5
27651 echo "${ECHO_T}yes" >&6
27652 fi
27653 fi
27654
27655 if test "$found_gl" != 1; then
27656 echo "$as_me:$LINENO: result: no" >&5
27657 echo "${ECHO_T}no" >&6
27658 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
27659 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
27660
27661 ac_find_libraries=
27662 for ac_dir in $SEARCH_LIB /usr/lib;
27663 do
27664 for ac_extension in a so sl dylib; do
27665 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
27666 ac_find_libraries=$ac_dir
27667 break 2
27668 fi
27669 done
27670 done
27671
27672 if test "$ac_find_libraries" != "" ; then
27673
27674 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27675 result=$?
27676 if test $result = 0; then
27677 ac_path_to_link=""
27678 else
27679 ac_path_to_link=" -L$ac_find_libraries"
27680 fi
27681
27682 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
27683 OPENGL_LIBS="-lMesaGL -lMesaGLU"
27684 echo "$as_me:$LINENO: result: yes" >&5
27685 echo "${ECHO_T}yes" >&6
27686 else
27687 echo "$as_me:$LINENO: result: no" >&5
27688 echo "${ECHO_T}no" >&6
27689 fi
27690 fi
27691
27692 fi
27693
27694
27695
27696 if test "x$OPENGL_LIBS" = "x"; then
27697 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
27698 echo "$as_me: error: OpenGL libraries not available" >&2;}
27699 { (exit 1); exit 1; }; }
27700 fi
27701 fi
27702
27703 if test "$wxUSE_OPENGL" = "yes"; then
27704 USE_OPENGL=1
27705 cat >>confdefs.h <<\_ACEOF
27706 #define wxUSE_OPENGL 1
27707 _ACEOF
27708
27709 cat >>confdefs.h <<\_ACEOF
27710 #define wxUSE_GLCANVAS 1
27711 _ACEOF
27712
27713 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
27714 fi
27715 fi
27716
27717
27718 if test -n "$TOOLKIT" ; then
27719 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
27720 fi
27721
27722
27723
27724 if test "$wxUSE_SHARED" = "yes"; then
27725 case "${host}" in
27726 *-pc-msdosdjgpp )
27727 wxUSE_SHARED=no
27728 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
27729 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
27730 ;;
27731 esac
27732 fi
27733
27734 if test "$wxUSE_SHARED" = "yes"; then
27735
27736
27737 found_versioning=no
27738
27739
27740 if test $found_versioning = no ; then
27741 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
27742 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
27743 if test "${wx_cv_version_script+set}" = set; then
27744 echo $ECHO_N "(cached) $ECHO_C" >&6
27745 else
27746
27747 echo "VER_1 { *; };" >conftest.sym
27748 echo "int main() { return 0; }" >conftest.cpp
27749
27750 if { ac_try='
27751 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
27752 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
27753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27754 (eval $ac_try) 2>&5
27755 ac_status=$?
27756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27757 (exit $ac_status); }; } ; then
27758 if test -s conftest.stderr ; then
27759 wx_cv_version_script=no
27760 else
27761 wx_cv_version_script=yes
27762 fi
27763 else
27764 wx_cv_version_script=no
27765 fi
27766 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
27767
27768 fi
27769 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
27770 echo "${ECHO_T}$wx_cv_version_script" >&6
27771 if test $wx_cv_version_script = yes ; then
27772 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
27773 fi
27774 fi
27775
27776
27777 case "${host}" in
27778 *-*-linux* | *-*-gnu* )
27779 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
27780 ;;
27781
27782 *-*-solaris2* )
27783 if test "$GCC" = yes ; then
27784 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
27785
27786 saveLdflags="$LDFLAGS"
27787 LDFLAGS="$saveLdflags -Wl,-rpath,/"
27788 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
27789 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
27790 cat >conftest.$ac_ext <<_ACEOF
27791 /* confdefs.h. */
27792 _ACEOF
27793 cat confdefs.h >>conftest.$ac_ext
27794 cat >>conftest.$ac_ext <<_ACEOF
27795 /* end confdefs.h. */
27796
27797 int
27798 main ()
27799 {
27800
27801 ;
27802 return 0;
27803 }
27804 _ACEOF
27805 rm -f conftest.$ac_objext conftest$ac_exeext
27806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27807 (eval $ac_link) 2>conftest.er1
27808 ac_status=$?
27809 grep -v '^ *+' conftest.er1 >conftest.err
27810 rm -f conftest.er1
27811 cat conftest.err >&5
27812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27813 (exit $ac_status); } &&
27814 { ac_try='test -z "$ac_c_werror_flag"
27815 || test ! -s conftest.err'
27816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27817 (eval $ac_try) 2>&5
27818 ac_status=$?
27819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27820 (exit $ac_status); }; } &&
27821 { ac_try='test -s conftest$ac_exeext'
27822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27823 (eval $ac_try) 2>&5
27824 ac_status=$?
27825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27826 (exit $ac_status); }; }; then
27827
27828 echo "$as_me:$LINENO: result: yes" >&5
27829 echo "${ECHO_T}yes" >&6
27830 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
27831
27832 else
27833 echo "$as_me: failed program was:" >&5
27834 sed 's/^/| /' conftest.$ac_ext >&5
27835
27836
27837 echo "$as_me:$LINENO: result: no" >&5
27838 echo "${ECHO_T}no" >&6
27839 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
27840 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
27841 LDFLAGS="$saveLdflags -Wl,-R,/"
27842 cat >conftest.$ac_ext <<_ACEOF
27843 /* confdefs.h. */
27844 _ACEOF
27845 cat confdefs.h >>conftest.$ac_ext
27846 cat >>conftest.$ac_ext <<_ACEOF
27847 /* end confdefs.h. */
27848
27849 int
27850 main ()
27851 {
27852
27853 ;
27854 return 0;
27855 }
27856 _ACEOF
27857 rm -f conftest.$ac_objext conftest$ac_exeext
27858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27859 (eval $ac_link) 2>conftest.er1
27860 ac_status=$?
27861 grep -v '^ *+' conftest.er1 >conftest.err
27862 rm -f conftest.er1
27863 cat conftest.err >&5
27864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27865 (exit $ac_status); } &&
27866 { ac_try='test -z "$ac_c_werror_flag"
27867 || test ! -s conftest.err'
27868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27869 (eval $ac_try) 2>&5
27870 ac_status=$?
27871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27872 (exit $ac_status); }; } &&
27873 { ac_try='test -s conftest$ac_exeext'
27874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27875 (eval $ac_try) 2>&5
27876 ac_status=$?
27877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27878 (exit $ac_status); }; }; then
27879
27880 echo "$as_me:$LINENO: result: yes" >&5
27881 echo "${ECHO_T}yes" >&6
27882 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
27883 else
27884 echo "$as_me: failed program was:" >&5
27885 sed 's/^/| /' conftest.$ac_ext >&5
27886
27887
27888 echo "$as_me:$LINENO: result: no" >&5
27889 echo "${ECHO_T}no" >&6
27890
27891 fi
27892 rm -f conftest.err conftest.$ac_objext \
27893 conftest$ac_exeext conftest.$ac_ext
27894
27895 fi
27896 rm -f conftest.err conftest.$ac_objext \
27897 conftest$ac_exeext conftest.$ac_ext
27898 LDFLAGS="$saveLdflags"
27899 else
27900 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
27901 fi
27902 ;;
27903
27904 powerpc-*-darwin* )
27905 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
27906 cat <<EOF >change-install-names
27907 #!/bin/sh
27908 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
27909 inst_cmd="install_name_tool "
27910 for i in \${libnames} ; do
27911 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
27912 done
27913 \${inst_cmd} \${3}
27914 EOF
27915 chmod +x change-install-names
27916 ;;
27917
27918 *-*-cygwin* | *-*-mingw32* )
27919 TOOLCHAIN_DLL_DEFS="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
27920 ;;
27921
27922 esac
27923 fi
27924
27925 if test "$wxUSE_SHARED" = "no"; then
27926 config_linkage_component="-static"
27927 SHARED=0
27928 else
27929 SHARED=1
27930 fi
27931
27932
27933 UNICODE=0
27934 lib_unicode_suffix=
27935 WX_CHARTYPE="ansi"
27936 if test "$wxUSE_UNICODE" = "yes"; then
27937 lib_unicode_suffix=u
27938 WX_CHARTYPE="unicode"
27939 UNICODE=1
27940 fi
27941
27942 lib_debug_suffix=
27943 WX_DEBUGTYPE="release"
27944 DEBUG_FLAG=0
27945 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
27946 lib_debug_suffix=d
27947 WX_DEBUGTYPE="debug"
27948 DEBUG_FLAG=1
27949 fi
27950
27951 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
27952 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
27953
27954 DEBUG_INFO=0
27955 if test "$wxUSE_DEBUG_INFO" = "yes"; then
27956 DEBUG_INFO=1
27957 fi
27958
27959 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
27960
27961 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
27962
27963 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
27964
27965 if test "$cross_compiling" = "yes"; then
27966 HOST_SUFFIX="-$host_alias"
27967 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
27968 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
27969 fi
27970
27971 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
27972 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
27973
27974
27975
27976 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
27977 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${WX_CURRENT}.r"
27978 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${WX_CURRENT}.rsrc"
27979
27980 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
27981
27982 # Extract the first word of "Rez", so it can be a program name with args.
27983 set dummy Rez; ac_word=$2
27984 echo "$as_me:$LINENO: checking for $ac_word" >&5
27985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27986 if test "${ac_cv_prog_RESCOMP+set}" = set; then
27987 echo $ECHO_N "(cached) $ECHO_C" >&6
27988 else
27989 if test -n "$RESCOMP"; then
27990 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
27991 else
27992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27993 for as_dir in $PATH
27994 do
27995 IFS=$as_save_IFS
27996 test -z "$as_dir" && as_dir=.
27997 for ac_exec_ext in '' $ac_executable_extensions; do
27998 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27999 ac_cv_prog_RESCOMP="Rez"
28000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28001 break 2
28002 fi
28003 done
28004 done
28005
28006 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
28007 fi
28008 fi
28009 RESCOMP=$ac_cv_prog_RESCOMP
28010 if test -n "$RESCOMP"; then
28011 echo "$as_me:$LINENO: result: $RESCOMP" >&5
28012 echo "${ECHO_T}$RESCOMP" >&6
28013 else
28014 echo "$as_me:$LINENO: result: no" >&5
28015 echo "${ECHO_T}no" >&6
28016 fi
28017
28018 # Extract the first word of "DeRez", so it can be a program name with args.
28019 set dummy DeRez; ac_word=$2
28020 echo "$as_me:$LINENO: checking for $ac_word" >&5
28021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28022 if test "${ac_cv_prog_DEREZ+set}" = set; then
28023 echo $ECHO_N "(cached) $ECHO_C" >&6
28024 else
28025 if test -n "$DEREZ"; then
28026 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
28027 else
28028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28029 for as_dir in $PATH
28030 do
28031 IFS=$as_save_IFS
28032 test -z "$as_dir" && as_dir=.
28033 for ac_exec_ext in '' $ac_executable_extensions; do
28034 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28035 ac_cv_prog_DEREZ="DeRez"
28036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28037 break 2
28038 fi
28039 done
28040 done
28041
28042 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
28043 fi
28044 fi
28045 DEREZ=$ac_cv_prog_DEREZ
28046 if test -n "$DEREZ"; then
28047 echo "$as_me:$LINENO: result: $DEREZ" >&5
28048 echo "${ECHO_T}$DEREZ" >&6
28049 else
28050 echo "$as_me:$LINENO: result: no" >&5
28051 echo "${ECHO_T}no" >&6
28052 fi
28053
28054 # Extract the first word of "SetFile", so it can be a program name with args.
28055 set dummy SetFile; ac_word=$2
28056 echo "$as_me:$LINENO: checking for $ac_word" >&5
28057 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28058 if test "${ac_cv_prog_SETFILE+set}" = set; then
28059 echo $ECHO_N "(cached) $ECHO_C" >&6
28060 else
28061 if test -n "$SETFILE"; then
28062 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
28063 else
28064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28065 for as_dir in $PATH
28066 do
28067 IFS=$as_save_IFS
28068 test -z "$as_dir" && as_dir=.
28069 for ac_exec_ext in '' $ac_executable_extensions; do
28070 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28071 ac_cv_prog_SETFILE="SetFile"
28072 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28073 break 2
28074 fi
28075 done
28076 done
28077
28078 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
28079 fi
28080 fi
28081 SETFILE=$ac_cv_prog_SETFILE
28082 if test -n "$SETFILE"; then
28083 echo "$as_me:$LINENO: result: $SETFILE" >&5
28084 echo "${ECHO_T}$SETFILE" >&6
28085 else
28086 echo "$as_me:$LINENO: result: no" >&5
28087 echo "${ECHO_T}no" >&6
28088 fi
28089
28090
28091 MACSETFILE="\$(SETFILE)"
28092
28093 if test "$wxUSE_MAC" = 1; then
28094 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
28095
28096 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28097 else
28098 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
28099 MACRESWXCONFIG="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28100 fi
28101 else
28102 MACSETFILE="@#"
28103 MACRESWXCONFIG="#"
28104
28105 if test "$wxUSE_PM" = 1; then
28106 MACRESCOMP="emxbind -ep"
28107 else
28108 MACRESCOMP="@#"
28109 fi
28110 fi
28111
28112
28113
28114 echo "$as_me:$LINENO: checking for mode_t" >&5
28115 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
28116 if test "${ac_cv_type_mode_t+set}" = set; then
28117 echo $ECHO_N "(cached) $ECHO_C" >&6
28118 else
28119 cat >conftest.$ac_ext <<_ACEOF
28120 /* confdefs.h. */
28121 _ACEOF
28122 cat confdefs.h >>conftest.$ac_ext
28123 cat >>conftest.$ac_ext <<_ACEOF
28124 /* end confdefs.h. */
28125 $ac_includes_default
28126 int
28127 main ()
28128 {
28129 if ((mode_t *) 0)
28130 return 0;
28131 if (sizeof (mode_t))
28132 return 0;
28133 ;
28134 return 0;
28135 }
28136 _ACEOF
28137 rm -f conftest.$ac_objext
28138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28139 (eval $ac_compile) 2>conftest.er1
28140 ac_status=$?
28141 grep -v '^ *+' conftest.er1 >conftest.err
28142 rm -f conftest.er1
28143 cat conftest.err >&5
28144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28145 (exit $ac_status); } &&
28146 { ac_try='test -z "$ac_c_werror_flag"
28147 || test ! -s conftest.err'
28148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28149 (eval $ac_try) 2>&5
28150 ac_status=$?
28151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28152 (exit $ac_status); }; } &&
28153 { ac_try='test -s conftest.$ac_objext'
28154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28155 (eval $ac_try) 2>&5
28156 ac_status=$?
28157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28158 (exit $ac_status); }; }; then
28159 ac_cv_type_mode_t=yes
28160 else
28161 echo "$as_me: failed program was:" >&5
28162 sed 's/^/| /' conftest.$ac_ext >&5
28163
28164 ac_cv_type_mode_t=no
28165 fi
28166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28167 fi
28168 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
28169 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
28170 if test $ac_cv_type_mode_t = yes; then
28171 :
28172 else
28173
28174 cat >>confdefs.h <<_ACEOF
28175 #define mode_t int
28176 _ACEOF
28177
28178 fi
28179
28180 echo "$as_me:$LINENO: checking for off_t" >&5
28181 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
28182 if test "${ac_cv_type_off_t+set}" = set; then
28183 echo $ECHO_N "(cached) $ECHO_C" >&6
28184 else
28185 cat >conftest.$ac_ext <<_ACEOF
28186 /* confdefs.h. */
28187 _ACEOF
28188 cat confdefs.h >>conftest.$ac_ext
28189 cat >>conftest.$ac_ext <<_ACEOF
28190 /* end confdefs.h. */
28191 $ac_includes_default
28192 int
28193 main ()
28194 {
28195 if ((off_t *) 0)
28196 return 0;
28197 if (sizeof (off_t))
28198 return 0;
28199 ;
28200 return 0;
28201 }
28202 _ACEOF
28203 rm -f conftest.$ac_objext
28204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28205 (eval $ac_compile) 2>conftest.er1
28206 ac_status=$?
28207 grep -v '^ *+' conftest.er1 >conftest.err
28208 rm -f conftest.er1
28209 cat conftest.err >&5
28210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28211 (exit $ac_status); } &&
28212 { ac_try='test -z "$ac_c_werror_flag"
28213 || test ! -s conftest.err'
28214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28215 (eval $ac_try) 2>&5
28216 ac_status=$?
28217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28218 (exit $ac_status); }; } &&
28219 { ac_try='test -s conftest.$ac_objext'
28220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28221 (eval $ac_try) 2>&5
28222 ac_status=$?
28223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28224 (exit $ac_status); }; }; then
28225 ac_cv_type_off_t=yes
28226 else
28227 echo "$as_me: failed program was:" >&5
28228 sed 's/^/| /' conftest.$ac_ext >&5
28229
28230 ac_cv_type_off_t=no
28231 fi
28232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28233 fi
28234 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
28235 echo "${ECHO_T}$ac_cv_type_off_t" >&6
28236 if test $ac_cv_type_off_t = yes; then
28237 :
28238 else
28239
28240 cat >>confdefs.h <<_ACEOF
28241 #define off_t long
28242 _ACEOF
28243
28244 fi
28245
28246 echo "$as_me:$LINENO: checking for pid_t" >&5
28247 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
28248 if test "${ac_cv_type_pid_t+set}" = set; then
28249 echo $ECHO_N "(cached) $ECHO_C" >&6
28250 else
28251 cat >conftest.$ac_ext <<_ACEOF
28252 /* confdefs.h. */
28253 _ACEOF
28254 cat confdefs.h >>conftest.$ac_ext
28255 cat >>conftest.$ac_ext <<_ACEOF
28256 /* end confdefs.h. */
28257 $ac_includes_default
28258 int
28259 main ()
28260 {
28261 if ((pid_t *) 0)
28262 return 0;
28263 if (sizeof (pid_t))
28264 return 0;
28265 ;
28266 return 0;
28267 }
28268 _ACEOF
28269 rm -f conftest.$ac_objext
28270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28271 (eval $ac_compile) 2>conftest.er1
28272 ac_status=$?
28273 grep -v '^ *+' conftest.er1 >conftest.err
28274 rm -f conftest.er1
28275 cat conftest.err >&5
28276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28277 (exit $ac_status); } &&
28278 { ac_try='test -z "$ac_c_werror_flag"
28279 || test ! -s conftest.err'
28280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28281 (eval $ac_try) 2>&5
28282 ac_status=$?
28283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28284 (exit $ac_status); }; } &&
28285 { ac_try='test -s conftest.$ac_objext'
28286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28287 (eval $ac_try) 2>&5
28288 ac_status=$?
28289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28290 (exit $ac_status); }; }; then
28291 ac_cv_type_pid_t=yes
28292 else
28293 echo "$as_me: failed program was:" >&5
28294 sed 's/^/| /' conftest.$ac_ext >&5
28295
28296 ac_cv_type_pid_t=no
28297 fi
28298 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28299 fi
28300 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
28301 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
28302 if test $ac_cv_type_pid_t = yes; then
28303 :
28304 else
28305
28306 cat >>confdefs.h <<_ACEOF
28307 #define pid_t int
28308 _ACEOF
28309
28310 fi
28311
28312 echo "$as_me:$LINENO: checking for size_t" >&5
28313 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
28314 if test "${ac_cv_type_size_t+set}" = set; then
28315 echo $ECHO_N "(cached) $ECHO_C" >&6
28316 else
28317 cat >conftest.$ac_ext <<_ACEOF
28318 /* confdefs.h. */
28319 _ACEOF
28320 cat confdefs.h >>conftest.$ac_ext
28321 cat >>conftest.$ac_ext <<_ACEOF
28322 /* end confdefs.h. */
28323 $ac_includes_default
28324 int
28325 main ()
28326 {
28327 if ((size_t *) 0)
28328 return 0;
28329 if (sizeof (size_t))
28330 return 0;
28331 ;
28332 return 0;
28333 }
28334 _ACEOF
28335 rm -f conftest.$ac_objext
28336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28337 (eval $ac_compile) 2>conftest.er1
28338 ac_status=$?
28339 grep -v '^ *+' conftest.er1 >conftest.err
28340 rm -f conftest.er1
28341 cat conftest.err >&5
28342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28343 (exit $ac_status); } &&
28344 { ac_try='test -z "$ac_c_werror_flag"
28345 || test ! -s conftest.err'
28346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28347 (eval $ac_try) 2>&5
28348 ac_status=$?
28349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28350 (exit $ac_status); }; } &&
28351 { ac_try='test -s conftest.$ac_objext'
28352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28353 (eval $ac_try) 2>&5
28354 ac_status=$?
28355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28356 (exit $ac_status); }; }; then
28357 ac_cv_type_size_t=yes
28358 else
28359 echo "$as_me: failed program was:" >&5
28360 sed 's/^/| /' conftest.$ac_ext >&5
28361
28362 ac_cv_type_size_t=no
28363 fi
28364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28365 fi
28366 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
28367 echo "${ECHO_T}$ac_cv_type_size_t" >&6
28368 if test $ac_cv_type_size_t = yes; then
28369 :
28370 else
28371
28372 cat >>confdefs.h <<_ACEOF
28373 #define size_t unsigned
28374 _ACEOF
28375
28376 fi
28377
28378 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
28379 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
28380 if test "${ac_cv_type_uid_t+set}" = set; then
28381 echo $ECHO_N "(cached) $ECHO_C" >&6
28382 else
28383 cat >conftest.$ac_ext <<_ACEOF
28384 /* confdefs.h. */
28385 _ACEOF
28386 cat confdefs.h >>conftest.$ac_ext
28387 cat >>conftest.$ac_ext <<_ACEOF
28388 /* end confdefs.h. */
28389 #include <sys/types.h>
28390
28391 _ACEOF
28392 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28393 $EGREP "uid_t" >/dev/null 2>&1; then
28394 ac_cv_type_uid_t=yes
28395 else
28396 ac_cv_type_uid_t=no
28397 fi
28398 rm -f conftest*
28399
28400 fi
28401 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
28402 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
28403 if test $ac_cv_type_uid_t = no; then
28404
28405 cat >>confdefs.h <<\_ACEOF
28406 #define uid_t int
28407 _ACEOF
28408
28409
28410 cat >>confdefs.h <<\_ACEOF
28411 #define gid_t int
28412 _ACEOF
28413
28414 fi
28415
28416
28417
28418
28419 ac_ext=cc
28420 ac_cpp='$CXXCPP $CPPFLAGS'
28421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28424
28425 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
28426 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
28427 if test "${wx_cv_size_t_is_uint+set}" = set; then
28428 echo $ECHO_N "(cached) $ECHO_C" >&6
28429 else
28430
28431 cat >conftest.$ac_ext <<_ACEOF
28432 /* confdefs.h. */
28433 _ACEOF
28434 cat confdefs.h >>conftest.$ac_ext
28435 cat >>conftest.$ac_ext <<_ACEOF
28436 /* end confdefs.h. */
28437 #include <stddef.h>
28438 int
28439 main ()
28440 {
28441
28442 return 0; }
28443
28444 struct Foo { void foo(size_t); void foo(unsigned int); };
28445
28446 int bar() {
28447
28448 ;
28449 return 0;
28450 }
28451 _ACEOF
28452 rm -f conftest.$ac_objext
28453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28454 (eval $ac_compile) 2>conftest.er1
28455 ac_status=$?
28456 grep -v '^ *+' conftest.er1 >conftest.err
28457 rm -f conftest.er1
28458 cat conftest.err >&5
28459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28460 (exit $ac_status); } &&
28461 { ac_try='test -z "$ac_cxx_werror_flag"
28462 || test ! -s conftest.err'
28463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28464 (eval $ac_try) 2>&5
28465 ac_status=$?
28466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28467 (exit $ac_status); }; } &&
28468 { ac_try='test -s conftest.$ac_objext'
28469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28470 (eval $ac_try) 2>&5
28471 ac_status=$?
28472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28473 (exit $ac_status); }; }; then
28474 wx_cv_size_t_is_uint=no
28475 else
28476 echo "$as_me: failed program was:" >&5
28477 sed 's/^/| /' conftest.$ac_ext >&5
28478
28479 wx_cv_size_t_is_uint=yes
28480
28481 fi
28482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28483
28484
28485 fi
28486 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
28487 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
28488
28489 if test "$wx_cv_size_t_is_uint" = "yes"; then
28490 cat >>confdefs.h <<\_ACEOF
28491 #define wxSIZE_T_IS_UINT 1
28492 _ACEOF
28493
28494 else
28495 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
28496 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
28497 if test "${wx_cv_size_t_is_ulong+set}" = set; then
28498 echo $ECHO_N "(cached) $ECHO_C" >&6
28499 else
28500 cat >conftest.$ac_ext <<_ACEOF
28501 /* confdefs.h. */
28502 _ACEOF
28503 cat confdefs.h >>conftest.$ac_ext
28504 cat >>conftest.$ac_ext <<_ACEOF
28505 /* end confdefs.h. */
28506 #include <stddef.h>
28507 int
28508 main ()
28509 {
28510
28511 return 0; }
28512
28513 struct Foo { void foo(size_t); void foo(unsigned long); };
28514
28515 int bar() {
28516
28517 ;
28518 return 0;
28519 }
28520 _ACEOF
28521 rm -f conftest.$ac_objext
28522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28523 (eval $ac_compile) 2>conftest.er1
28524 ac_status=$?
28525 grep -v '^ *+' conftest.er1 >conftest.err
28526 rm -f conftest.er1
28527 cat conftest.err >&5
28528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28529 (exit $ac_status); } &&
28530 { ac_try='test -z "$ac_cxx_werror_flag"
28531 || test ! -s conftest.err'
28532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28533 (eval $ac_try) 2>&5
28534 ac_status=$?
28535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28536 (exit $ac_status); }; } &&
28537 { ac_try='test -s conftest.$ac_objext'
28538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28539 (eval $ac_try) 2>&5
28540 ac_status=$?
28541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28542 (exit $ac_status); }; }; then
28543 wx_cv_size_t_is_ulong=no
28544 else
28545 echo "$as_me: failed program was:" >&5
28546 sed 's/^/| /' conftest.$ac_ext >&5
28547
28548 wx_cv_size_t_is_ulong=yes
28549
28550 fi
28551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28552
28553 fi
28554 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
28555 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
28556
28557 if test "$wx_cv_size_t_is_ulong" = "yes"; then
28558 cat >>confdefs.h <<\_ACEOF
28559 #define wxSIZE_T_IS_ULONG 1
28560 _ACEOF
28561
28562 fi
28563 fi
28564
28565 ac_ext=c
28566 ac_cpp='$CPP $CPPFLAGS'
28567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28570
28571
28572
28573 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
28574 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
28575 if test "${wx_cv_struct_pw_gecos+set}" = set; then
28576 echo $ECHO_N "(cached) $ECHO_C" >&6
28577 else
28578
28579 cat >conftest.$ac_ext <<_ACEOF
28580 /* confdefs.h. */
28581 _ACEOF
28582 cat confdefs.h >>conftest.$ac_ext
28583 cat >>conftest.$ac_ext <<_ACEOF
28584 /* end confdefs.h. */
28585 #include <pwd.h>
28586 int
28587 main ()
28588 {
28589
28590 char *p;
28591 struct passwd *pw;
28592 p = pw->pw_gecos;
28593
28594 ;
28595 return 0;
28596 }
28597 _ACEOF
28598 rm -f conftest.$ac_objext
28599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28600 (eval $ac_compile) 2>conftest.er1
28601 ac_status=$?
28602 grep -v '^ *+' conftest.er1 >conftest.err
28603 rm -f conftest.er1
28604 cat conftest.err >&5
28605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28606 (exit $ac_status); } &&
28607 { ac_try='test -z "$ac_c_werror_flag"
28608 || test ! -s conftest.err'
28609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28610 (eval $ac_try) 2>&5
28611 ac_status=$?
28612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28613 (exit $ac_status); }; } &&
28614 { ac_try='test -s conftest.$ac_objext'
28615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28616 (eval $ac_try) 2>&5
28617 ac_status=$?
28618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28619 (exit $ac_status); }; }; then
28620
28621 wx_cv_struct_pw_gecos=yes
28622
28623 else
28624 echo "$as_me: failed program was:" >&5
28625 sed 's/^/| /' conftest.$ac_ext >&5
28626
28627
28628 wx_cv_struct_pw_gecos=no
28629
28630
28631 fi
28632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28633
28634
28635 fi
28636 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
28637 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
28638
28639 if test "$wx_cv_struct_pw_gecos" = "yes"; then
28640 cat >>confdefs.h <<\_ACEOF
28641 #define HAVE_PW_GECOS 1
28642 _ACEOF
28643
28644 fi
28645
28646
28647 if test "$wx_cv_sizeof_wchar_t" != "0"; then
28648 cat >>confdefs.h <<\_ACEOF
28649 #define wxUSE_WCHAR_T 1
28650 _ACEOF
28651
28652
28653 WCSLEN_FOUND=0
28654 WCHAR_LINK=
28655
28656 for ac_func in wcslen
28657 do
28658 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28659 echo "$as_me:$LINENO: checking for $ac_func" >&5
28660 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28661 if eval "test \"\${$as_ac_var+set}\" = set"; then
28662 echo $ECHO_N "(cached) $ECHO_C" >&6
28663 else
28664 cat >conftest.$ac_ext <<_ACEOF
28665 /* confdefs.h. */
28666 _ACEOF
28667 cat confdefs.h >>conftest.$ac_ext
28668 cat >>conftest.$ac_ext <<_ACEOF
28669 /* end confdefs.h. */
28670 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28671 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28672 #define $ac_func innocuous_$ac_func
28673
28674 /* System header to define __stub macros and hopefully few prototypes,
28675 which can conflict with char $ac_func (); below.
28676 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28677 <limits.h> exists even on freestanding compilers. */
28678
28679 #ifdef __STDC__
28680 # include <limits.h>
28681 #else
28682 # include <assert.h>
28683 #endif
28684
28685 #undef $ac_func
28686
28687 /* Override any gcc2 internal prototype to avoid an error. */
28688 #ifdef __cplusplus
28689 extern "C"
28690 {
28691 #endif
28692 /* We use char because int might match the return type of a gcc2
28693 builtin and then its argument prototype would still apply. */
28694 char $ac_func ();
28695 /* The GNU C library defines this for functions which it implements
28696 to always fail with ENOSYS. Some functions are actually named
28697 something starting with __ and the normal name is an alias. */
28698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28699 choke me
28700 #else
28701 char (*f) () = $ac_func;
28702 #endif
28703 #ifdef __cplusplus
28704 }
28705 #endif
28706
28707 int
28708 main ()
28709 {
28710 return f != $ac_func;
28711 ;
28712 return 0;
28713 }
28714 _ACEOF
28715 rm -f conftest.$ac_objext conftest$ac_exeext
28716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28717 (eval $ac_link) 2>conftest.er1
28718 ac_status=$?
28719 grep -v '^ *+' conftest.er1 >conftest.err
28720 rm -f conftest.er1
28721 cat conftest.err >&5
28722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28723 (exit $ac_status); } &&
28724 { ac_try='test -z "$ac_c_werror_flag"
28725 || test ! -s conftest.err'
28726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28727 (eval $ac_try) 2>&5
28728 ac_status=$?
28729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28730 (exit $ac_status); }; } &&
28731 { ac_try='test -s conftest$ac_exeext'
28732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28733 (eval $ac_try) 2>&5
28734 ac_status=$?
28735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28736 (exit $ac_status); }; }; then
28737 eval "$as_ac_var=yes"
28738 else
28739 echo "$as_me: failed program was:" >&5
28740 sed 's/^/| /' conftest.$ac_ext >&5
28741
28742 eval "$as_ac_var=no"
28743 fi
28744 rm -f conftest.err conftest.$ac_objext \
28745 conftest$ac_exeext conftest.$ac_ext
28746 fi
28747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28748 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28749 if test `eval echo '${'$as_ac_var'}'` = yes; then
28750 cat >>confdefs.h <<_ACEOF
28751 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28752 _ACEOF
28753 WCSLEN_FOUND=1
28754 fi
28755 done
28756
28757
28758 if test "$WCSLEN_FOUND" = 0; then
28759 if test "$TOOLKIT" = "MSW"; then
28760 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
28761 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
28762 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
28763 echo $ECHO_N "(cached) $ECHO_C" >&6
28764 else
28765 ac_check_lib_save_LIBS=$LIBS
28766 LIBS="-lmsvcrt $LIBS"
28767 cat >conftest.$ac_ext <<_ACEOF
28768 /* confdefs.h. */
28769 _ACEOF
28770 cat confdefs.h >>conftest.$ac_ext
28771 cat >>conftest.$ac_ext <<_ACEOF
28772 /* end confdefs.h. */
28773
28774 /* Override any gcc2 internal prototype to avoid an error. */
28775 #ifdef __cplusplus
28776 extern "C"
28777 #endif
28778 /* We use char because int might match the return type of a gcc2
28779 builtin and then its argument prototype would still apply. */
28780 char wcslen ();
28781 int
28782 main ()
28783 {
28784 wcslen ();
28785 ;
28786 return 0;
28787 }
28788 _ACEOF
28789 rm -f conftest.$ac_objext conftest$ac_exeext
28790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28791 (eval $ac_link) 2>conftest.er1
28792 ac_status=$?
28793 grep -v '^ *+' conftest.er1 >conftest.err
28794 rm -f conftest.er1
28795 cat conftest.err >&5
28796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28797 (exit $ac_status); } &&
28798 { ac_try='test -z "$ac_c_werror_flag"
28799 || test ! -s conftest.err'
28800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28801 (eval $ac_try) 2>&5
28802 ac_status=$?
28803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28804 (exit $ac_status); }; } &&
28805 { ac_try='test -s conftest$ac_exeext'
28806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28807 (eval $ac_try) 2>&5
28808 ac_status=$?
28809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28810 (exit $ac_status); }; }; then
28811 ac_cv_lib_msvcrt_wcslen=yes
28812 else
28813 echo "$as_me: failed program was:" >&5
28814 sed 's/^/| /' conftest.$ac_ext >&5
28815
28816 ac_cv_lib_msvcrt_wcslen=no
28817 fi
28818 rm -f conftest.err conftest.$ac_objext \
28819 conftest$ac_exeext conftest.$ac_ext
28820 LIBS=$ac_check_lib_save_LIBS
28821 fi
28822 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
28823 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
28824 if test $ac_cv_lib_msvcrt_wcslen = yes; then
28825 WCHAR_OK=1
28826 fi
28827
28828 else
28829 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
28830 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
28831 if test "${ac_cv_lib_w_wcslen+set}" = set; then
28832 echo $ECHO_N "(cached) $ECHO_C" >&6
28833 else
28834 ac_check_lib_save_LIBS=$LIBS
28835 LIBS="-lw $LIBS"
28836 cat >conftest.$ac_ext <<_ACEOF
28837 /* confdefs.h. */
28838 _ACEOF
28839 cat confdefs.h >>conftest.$ac_ext
28840 cat >>conftest.$ac_ext <<_ACEOF
28841 /* end confdefs.h. */
28842
28843 /* Override any gcc2 internal prototype to avoid an error. */
28844 #ifdef __cplusplus
28845 extern "C"
28846 #endif
28847 /* We use char because int might match the return type of a gcc2
28848 builtin and then its argument prototype would still apply. */
28849 char wcslen ();
28850 int
28851 main ()
28852 {
28853 wcslen ();
28854 ;
28855 return 0;
28856 }
28857 _ACEOF
28858 rm -f conftest.$ac_objext conftest$ac_exeext
28859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28860 (eval $ac_link) 2>conftest.er1
28861 ac_status=$?
28862 grep -v '^ *+' conftest.er1 >conftest.err
28863 rm -f conftest.er1
28864 cat conftest.err >&5
28865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28866 (exit $ac_status); } &&
28867 { ac_try='test -z "$ac_c_werror_flag"
28868 || test ! -s conftest.err'
28869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28870 (eval $ac_try) 2>&5
28871 ac_status=$?
28872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28873 (exit $ac_status); }; } &&
28874 { ac_try='test -s conftest$ac_exeext'
28875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28876 (eval $ac_try) 2>&5
28877 ac_status=$?
28878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28879 (exit $ac_status); }; }; then
28880 ac_cv_lib_w_wcslen=yes
28881 else
28882 echo "$as_me: failed program was:" >&5
28883 sed 's/^/| /' conftest.$ac_ext >&5
28884
28885 ac_cv_lib_w_wcslen=no
28886 fi
28887 rm -f conftest.err conftest.$ac_objext \
28888 conftest$ac_exeext conftest.$ac_ext
28889 LIBS=$ac_check_lib_save_LIBS
28890 fi
28891 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
28892 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
28893 if test $ac_cv_lib_w_wcslen = yes; then
28894
28895 WCHAR_LINK=" -lw"
28896 WCSLEN_FOUND=1
28897
28898 fi
28899
28900 fi
28901 fi
28902
28903 if test "$WCSLEN_FOUND" = 1; then
28904 cat >>confdefs.h <<\_ACEOF
28905 #define HAVE_WCSLEN 1
28906 _ACEOF
28907
28908 fi
28909
28910 if test "$USE_HPUX" = 1 -a "x$GCC" != "xyes"; then
28911 CPPFLAGS="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
28912 fi
28913
28914
28915 for ac_func in wcsrtombs
28916 do
28917 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28918 echo "$as_me:$LINENO: checking for $ac_func" >&5
28919 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28920 if eval "test \"\${$as_ac_var+set}\" = set"; then
28921 echo $ECHO_N "(cached) $ECHO_C" >&6
28922 else
28923 cat >conftest.$ac_ext <<_ACEOF
28924 /* confdefs.h. */
28925 _ACEOF
28926 cat confdefs.h >>conftest.$ac_ext
28927 cat >>conftest.$ac_ext <<_ACEOF
28928 /* end confdefs.h. */
28929 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28930 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28931 #define $ac_func innocuous_$ac_func
28932
28933 /* System header to define __stub macros and hopefully few prototypes,
28934 which can conflict with char $ac_func (); below.
28935 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28936 <limits.h> exists even on freestanding compilers. */
28937
28938 #ifdef __STDC__
28939 # include <limits.h>
28940 #else
28941 # include <assert.h>
28942 #endif
28943
28944 #undef $ac_func
28945
28946 /* Override any gcc2 internal prototype to avoid an error. */
28947 #ifdef __cplusplus
28948 extern "C"
28949 {
28950 #endif
28951 /* We use char because int might match the return type of a gcc2
28952 builtin and then its argument prototype would still apply. */
28953 char $ac_func ();
28954 /* The GNU C library defines this for functions which it implements
28955 to always fail with ENOSYS. Some functions are actually named
28956 something starting with __ and the normal name is an alias. */
28957 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28958 choke me
28959 #else
28960 char (*f) () = $ac_func;
28961 #endif
28962 #ifdef __cplusplus
28963 }
28964 #endif
28965
28966 int
28967 main ()
28968 {
28969 return f != $ac_func;
28970 ;
28971 return 0;
28972 }
28973 _ACEOF
28974 rm -f conftest.$ac_objext conftest$ac_exeext
28975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28976 (eval $ac_link) 2>conftest.er1
28977 ac_status=$?
28978 grep -v '^ *+' conftest.er1 >conftest.err
28979 rm -f conftest.er1
28980 cat conftest.err >&5
28981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28982 (exit $ac_status); } &&
28983 { ac_try='test -z "$ac_c_werror_flag"
28984 || test ! -s conftest.err'
28985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28986 (eval $ac_try) 2>&5
28987 ac_status=$?
28988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28989 (exit $ac_status); }; } &&
28990 { ac_try='test -s conftest$ac_exeext'
28991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28992 (eval $ac_try) 2>&5
28993 ac_status=$?
28994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28995 (exit $ac_status); }; }; then
28996 eval "$as_ac_var=yes"
28997 else
28998 echo "$as_me: failed program was:" >&5
28999 sed 's/^/| /' conftest.$ac_ext >&5
29000
29001 eval "$as_ac_var=no"
29002 fi
29003 rm -f conftest.err conftest.$ac_objext \
29004 conftest$ac_exeext conftest.$ac_ext
29005 fi
29006 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29007 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29008 if test `eval echo '${'$as_ac_var'}'` = yes; then
29009 cat >>confdefs.h <<_ACEOF
29010 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29011 _ACEOF
29012
29013 fi
29014 done
29015
29016 else
29017 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
29018 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
29019 fi
29020
29021
29022
29023 ac_ext=cc
29024 ac_cpp='$CXXCPP $CPPFLAGS'
29025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29028
29029
29030
29031 for ac_func in vsnprintf
29032 do
29033 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29034 echo "$as_me:$LINENO: checking for $ac_func" >&5
29035 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29036 if eval "test \"\${$as_ac_var+set}\" = set"; then
29037 echo $ECHO_N "(cached) $ECHO_C" >&6
29038 else
29039 cat >conftest.$ac_ext <<_ACEOF
29040 /* confdefs.h. */
29041 _ACEOF
29042 cat confdefs.h >>conftest.$ac_ext
29043 cat >>conftest.$ac_ext <<_ACEOF
29044 /* end confdefs.h. */
29045 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29046 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29047 #define $ac_func innocuous_$ac_func
29048
29049 /* System header to define __stub macros and hopefully few prototypes,
29050 which can conflict with char $ac_func (); below.
29051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29052 <limits.h> exists even on freestanding compilers. */
29053
29054 #ifdef __STDC__
29055 # include <limits.h>
29056 #else
29057 # include <assert.h>
29058 #endif
29059
29060 #undef $ac_func
29061
29062 /* Override any gcc2 internal prototype to avoid an error. */
29063 #ifdef __cplusplus
29064 extern "C"
29065 {
29066 #endif
29067 /* We use char because int might match the return type of a gcc2
29068 builtin and then its argument prototype would still apply. */
29069 char $ac_func ();
29070 /* The GNU C library defines this for functions which it implements
29071 to always fail with ENOSYS. Some functions are actually named
29072 something starting with __ and the normal name is an alias. */
29073 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29074 choke me
29075 #else
29076 char (*f) () = $ac_func;
29077 #endif
29078 #ifdef __cplusplus
29079 }
29080 #endif
29081
29082 int
29083 main ()
29084 {
29085 return f != $ac_func;
29086 ;
29087 return 0;
29088 }
29089 _ACEOF
29090 rm -f conftest.$ac_objext conftest$ac_exeext
29091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29092 (eval $ac_link) 2>conftest.er1
29093 ac_status=$?
29094 grep -v '^ *+' conftest.er1 >conftest.err
29095 rm -f conftest.er1
29096 cat conftest.err >&5
29097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29098 (exit $ac_status); } &&
29099 { ac_try='test -z "$ac_cxx_werror_flag"
29100 || test ! -s conftest.err'
29101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29102 (eval $ac_try) 2>&5
29103 ac_status=$?
29104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29105 (exit $ac_status); }; } &&
29106 { ac_try='test -s conftest$ac_exeext'
29107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29108 (eval $ac_try) 2>&5
29109 ac_status=$?
29110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29111 (exit $ac_status); }; }; then
29112 eval "$as_ac_var=yes"
29113 else
29114 echo "$as_me: failed program was:" >&5
29115 sed 's/^/| /' conftest.$ac_ext >&5
29116
29117 eval "$as_ac_var=no"
29118 fi
29119 rm -f conftest.err conftest.$ac_objext \
29120 conftest$ac_exeext conftest.$ac_ext
29121 fi
29122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29123 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29124 if test `eval echo '${'$as_ac_var'}'` = yes; then
29125 cat >>confdefs.h <<_ACEOF
29126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29127 _ACEOF
29128
29129 fi
29130 done
29131
29132
29133 if test "$ac_cv_func_vsnprintf" = "yes"; then
29134 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
29135 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
29136 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
29137 echo $ECHO_N "(cached) $ECHO_C" >&6
29138 else
29139
29140 cat >conftest.$ac_ext <<_ACEOF
29141 /* confdefs.h. */
29142 _ACEOF
29143 cat confdefs.h >>conftest.$ac_ext
29144 cat >>conftest.$ac_ext <<_ACEOF
29145 /* end confdefs.h. */
29146
29147 #include <stdio.h>
29148 #include <stdarg.h>
29149
29150 int
29151 main ()
29152 {
29153
29154 char *buf;
29155 va_list ap;
29156 vsnprintf(buf, 10u, "%s", ap);
29157
29158 ;
29159 return 0;
29160 }
29161 _ACEOF
29162 rm -f conftest.$ac_objext
29163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29164 (eval $ac_compile) 2>conftest.er1
29165 ac_status=$?
29166 grep -v '^ *+' conftest.er1 >conftest.err
29167 rm -f conftest.er1
29168 cat conftest.err >&5
29169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29170 (exit $ac_status); } &&
29171 { ac_try='test -z "$ac_cxx_werror_flag"
29172 || test ! -s conftest.err'
29173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29174 (eval $ac_try) 2>&5
29175 ac_status=$?
29176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29177 (exit $ac_status); }; } &&
29178 { ac_try='test -s conftest.$ac_objext'
29179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29180 (eval $ac_try) 2>&5
29181 ac_status=$?
29182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29183 (exit $ac_status); }; }; then
29184 wx_cv_func_vsnprintf_decl=yes
29185 else
29186 echo "$as_me: failed program was:" >&5
29187 sed 's/^/| /' conftest.$ac_ext >&5
29188
29189 wx_cv_func_vsnprintf_decl=no
29190
29191 fi
29192 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29193
29194
29195 fi
29196 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
29197 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
29198
29199 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29200 cat >>confdefs.h <<\_ACEOF
29201 #define HAVE_VSNPRINTF_DECL 1
29202 _ACEOF
29203
29204 fi
29205 fi
29206
29207 if test "$wxUSE_UNICODE" = yes; then
29208
29209
29210
29211
29212
29213
29214 for ac_func in wputc wputchar putws fputws wprintf vswprintf
29215 do
29216 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29217 echo "$as_me:$LINENO: checking for $ac_func" >&5
29218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29219 if eval "test \"\${$as_ac_var+set}\" = set"; then
29220 echo $ECHO_N "(cached) $ECHO_C" >&6
29221 else
29222 cat >conftest.$ac_ext <<_ACEOF
29223 /* confdefs.h. */
29224 _ACEOF
29225 cat confdefs.h >>conftest.$ac_ext
29226 cat >>conftest.$ac_ext <<_ACEOF
29227 /* end confdefs.h. */
29228 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29229 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29230 #define $ac_func innocuous_$ac_func
29231
29232 /* System header to define __stub macros and hopefully few prototypes,
29233 which can conflict with char $ac_func (); below.
29234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29235 <limits.h> exists even on freestanding compilers. */
29236
29237 #ifdef __STDC__
29238 # include <limits.h>
29239 #else
29240 # include <assert.h>
29241 #endif
29242
29243 #undef $ac_func
29244
29245 /* Override any gcc2 internal prototype to avoid an error. */
29246 #ifdef __cplusplus
29247 extern "C"
29248 {
29249 #endif
29250 /* We use char because int might match the return type of a gcc2
29251 builtin and then its argument prototype would still apply. */
29252 char $ac_func ();
29253 /* The GNU C library defines this for functions which it implements
29254 to always fail with ENOSYS. Some functions are actually named
29255 something starting with __ and the normal name is an alias. */
29256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29257 choke me
29258 #else
29259 char (*f) () = $ac_func;
29260 #endif
29261 #ifdef __cplusplus
29262 }
29263 #endif
29264
29265 int
29266 main ()
29267 {
29268 return f != $ac_func;
29269 ;
29270 return 0;
29271 }
29272 _ACEOF
29273 rm -f conftest.$ac_objext conftest$ac_exeext
29274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29275 (eval $ac_link) 2>conftest.er1
29276 ac_status=$?
29277 grep -v '^ *+' conftest.er1 >conftest.err
29278 rm -f conftest.er1
29279 cat conftest.err >&5
29280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29281 (exit $ac_status); } &&
29282 { ac_try='test -z "$ac_cxx_werror_flag"
29283 || test ! -s conftest.err'
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); }; } &&
29289 { ac_try='test -s conftest$ac_exeext'
29290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29291 (eval $ac_try) 2>&5
29292 ac_status=$?
29293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29294 (exit $ac_status); }; }; then
29295 eval "$as_ac_var=yes"
29296 else
29297 echo "$as_me: failed program was:" >&5
29298 sed 's/^/| /' conftest.$ac_ext >&5
29299
29300 eval "$as_ac_var=no"
29301 fi
29302 rm -f conftest.err conftest.$ac_objext \
29303 conftest$ac_exeext conftest.$ac_ext
29304 fi
29305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29306 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29307 if test `eval echo '${'$as_ac_var'}'` = yes; then
29308 cat >>confdefs.h <<_ACEOF
29309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29310 _ACEOF
29311
29312 fi
29313 done
29314
29315
29316 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
29317 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
29318 cat >conftest.$ac_ext <<_ACEOF
29319 /* confdefs.h. */
29320 _ACEOF
29321 cat confdefs.h >>conftest.$ac_ext
29322 cat >>conftest.$ac_ext <<_ACEOF
29323 /* end confdefs.h. */
29324 #include <wchar.h>
29325 int
29326 main ()
29327 {
29328 &_vsnwprintf;
29329 ;
29330 return 0;
29331 }
29332 _ACEOF
29333 rm -f conftest.$ac_objext
29334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29335 (eval $ac_compile) 2>conftest.er1
29336 ac_status=$?
29337 grep -v '^ *+' conftest.er1 >conftest.err
29338 rm -f conftest.er1
29339 cat conftest.err >&5
29340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29341 (exit $ac_status); } &&
29342 { ac_try='test -z "$ac_cxx_werror_flag"
29343 || test ! -s conftest.err'
29344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29345 (eval $ac_try) 2>&5
29346 ac_status=$?
29347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29348 (exit $ac_status); }; } &&
29349 { ac_try='test -s conftest.$ac_objext'
29350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29351 (eval $ac_try) 2>&5
29352 ac_status=$?
29353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29354 (exit $ac_status); }; }; then
29355 echo "$as_me:$LINENO: result: yes" >&5
29356 echo "${ECHO_T}yes" >&6
29357 cat >>confdefs.h <<\_ACEOF
29358 #define HAVE__VSNWPRINTF 1
29359 _ACEOF
29360
29361 else
29362 echo "$as_me: failed program was:" >&5
29363 sed 's/^/| /' conftest.$ac_ext >&5
29364
29365 echo "$as_me:$LINENO: result: no" >&5
29366 echo "${ECHO_T}no" >&6
29367 fi
29368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
29369 fi
29370
29371 ac_ext=c
29372 ac_cpp='$CPP $CPPFLAGS'
29373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29376
29377
29378
29379
29380 if test "$TOOLKIT" != "MSW"; then
29381
29382
29383
29384
29385 ac_ext=cc
29386 ac_cpp='$CXXCPP $CPPFLAGS'
29387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29390
29391
29392
29393
29394 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
29395 if test "${with_libiconv_prefix+set}" = set; then
29396 withval="$with_libiconv_prefix"
29397
29398 for dir in `echo "$withval" | tr : ' '`; do
29399 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
29400 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
29401 done
29402
29403 fi;
29404
29405 echo "$as_me:$LINENO: checking for iconv" >&5
29406 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
29407 if test "${am_cv_func_iconv+set}" = set; then
29408 echo $ECHO_N "(cached) $ECHO_C" >&6
29409 else
29410
29411 am_cv_func_iconv="no, consider installing GNU libiconv"
29412 am_cv_lib_iconv=no
29413 cat >conftest.$ac_ext <<_ACEOF
29414 /* confdefs.h. */
29415 _ACEOF
29416 cat confdefs.h >>conftest.$ac_ext
29417 cat >>conftest.$ac_ext <<_ACEOF
29418 /* end confdefs.h. */
29419 #include <stdlib.h>
29420 #include <iconv.h>
29421 int
29422 main ()
29423 {
29424 iconv_t cd = iconv_open("","");
29425 iconv(cd,NULL,NULL,NULL,NULL);
29426 iconv_close(cd);
29427 ;
29428 return 0;
29429 }
29430 _ACEOF
29431 rm -f conftest.$ac_objext conftest$ac_exeext
29432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29433 (eval $ac_link) 2>conftest.er1
29434 ac_status=$?
29435 grep -v '^ *+' conftest.er1 >conftest.err
29436 rm -f conftest.er1
29437 cat conftest.err >&5
29438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29439 (exit $ac_status); } &&
29440 { ac_try='test -z "$ac_cxx_werror_flag"
29441 || test ! -s conftest.err'
29442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29443 (eval $ac_try) 2>&5
29444 ac_status=$?
29445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29446 (exit $ac_status); }; } &&
29447 { ac_try='test -s conftest$ac_exeext'
29448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29449 (eval $ac_try) 2>&5
29450 ac_status=$?
29451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29452 (exit $ac_status); }; }; then
29453 am_cv_func_iconv=yes
29454 else
29455 echo "$as_me: failed program was:" >&5
29456 sed 's/^/| /' conftest.$ac_ext >&5
29457
29458 fi
29459 rm -f conftest.err conftest.$ac_objext \
29460 conftest$ac_exeext conftest.$ac_ext
29461 if test "$am_cv_func_iconv" != yes; then
29462 am_save_LIBS="$LIBS"
29463 LIBS="$LIBS -liconv"
29464 cat >conftest.$ac_ext <<_ACEOF
29465 /* confdefs.h. */
29466 _ACEOF
29467 cat confdefs.h >>conftest.$ac_ext
29468 cat >>conftest.$ac_ext <<_ACEOF
29469 /* end confdefs.h. */
29470 #include <stdlib.h>
29471 #include <iconv.h>
29472 int
29473 main ()
29474 {
29475 iconv_t cd = iconv_open("","");
29476 iconv(cd,NULL,NULL,NULL,NULL);
29477 iconv_close(cd);
29478 ;
29479 return 0;
29480 }
29481 _ACEOF
29482 rm -f conftest.$ac_objext conftest$ac_exeext
29483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29484 (eval $ac_link) 2>conftest.er1
29485 ac_status=$?
29486 grep -v '^ *+' conftest.er1 >conftest.err
29487 rm -f conftest.er1
29488 cat conftest.err >&5
29489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29490 (exit $ac_status); } &&
29491 { ac_try='test -z "$ac_cxx_werror_flag"
29492 || test ! -s conftest.err'
29493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29494 (eval $ac_try) 2>&5
29495 ac_status=$?
29496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29497 (exit $ac_status); }; } &&
29498 { ac_try='test -s conftest$ac_exeext'
29499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29500 (eval $ac_try) 2>&5
29501 ac_status=$?
29502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29503 (exit $ac_status); }; }; then
29504 am_cv_lib_iconv=yes
29505 am_cv_func_iconv=yes
29506 else
29507 echo "$as_me: failed program was:" >&5
29508 sed 's/^/| /' conftest.$ac_ext >&5
29509
29510 fi
29511 rm -f conftest.err conftest.$ac_objext \
29512 conftest$ac_exeext conftest.$ac_ext
29513 LIBS="$am_save_LIBS"
29514 fi
29515
29516 fi
29517 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
29518 echo "${ECHO_T}$am_cv_func_iconv" >&6
29519 if test "$am_cv_func_iconv" = yes; then
29520
29521 cat >>confdefs.h <<\_ACEOF
29522 #define HAVE_ICONV 1
29523 _ACEOF
29524
29525 echo "$as_me:$LINENO: checking if iconv needs const" >&5
29526 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
29527 if test "${wx_cv_func_iconv_const+set}" = set; then
29528 echo $ECHO_N "(cached) $ECHO_C" >&6
29529 else
29530 cat >conftest.$ac_ext <<_ACEOF
29531 /* confdefs.h. */
29532 _ACEOF
29533 cat confdefs.h >>conftest.$ac_ext
29534 cat >>conftest.$ac_ext <<_ACEOF
29535 /* end confdefs.h. */
29536
29537 #include <stdlib.h>
29538 #include <iconv.h>
29539 extern
29540 #ifdef __cplusplus
29541 "C"
29542 #endif
29543 #if defined(__STDC__) || defined(__cplusplus)
29544 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29545 #else
29546 size_t iconv();
29547 #endif
29548
29549 int
29550 main ()
29551 {
29552
29553 ;
29554 return 0;
29555 }
29556 _ACEOF
29557 rm -f conftest.$ac_objext
29558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29559 (eval $ac_compile) 2>conftest.er1
29560 ac_status=$?
29561 grep -v '^ *+' conftest.er1 >conftest.err
29562 rm -f conftest.er1
29563 cat conftest.err >&5
29564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29565 (exit $ac_status); } &&
29566 { ac_try='test -z "$ac_cxx_werror_flag"
29567 || test ! -s conftest.err'
29568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29569 (eval $ac_try) 2>&5
29570 ac_status=$?
29571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29572 (exit $ac_status); }; } &&
29573 { ac_try='test -s conftest.$ac_objext'
29574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29575 (eval $ac_try) 2>&5
29576 ac_status=$?
29577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29578 (exit $ac_status); }; }; then
29579 wx_cv_func_iconv_const="no"
29580 else
29581 echo "$as_me: failed program was:" >&5
29582 sed 's/^/| /' conftest.$ac_ext >&5
29583
29584 wx_cv_func_iconv_const="yes"
29585
29586 fi
29587 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29588
29589 fi
29590 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
29591 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
29592
29593 iconv_const=
29594 if test "x$wx_cv_func_iconv_const" = "xyes"; then
29595 iconv_const="const"
29596 fi
29597
29598
29599 cat >>confdefs.h <<_ACEOF
29600 #define ICONV_CONST $iconv_const
29601 _ACEOF
29602
29603 fi
29604 LIBICONV=
29605 if test "$am_cv_lib_iconv" = yes; then
29606 LIBICONV="-liconv"
29607 fi
29608
29609
29610 LIBS="$LIBICONV $LIBS"
29611 ac_ext=c
29612 ac_cpp='$CPP $CPPFLAGS'
29613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29616
29617
29618 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
29619
29620 for ac_func in sigaction
29621 do
29622 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29623 echo "$as_me:$LINENO: checking for $ac_func" >&5
29624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29625 if eval "test \"\${$as_ac_var+set}\" = set"; then
29626 echo $ECHO_N "(cached) $ECHO_C" >&6
29627 else
29628 cat >conftest.$ac_ext <<_ACEOF
29629 /* confdefs.h. */
29630 _ACEOF
29631 cat confdefs.h >>conftest.$ac_ext
29632 cat >>conftest.$ac_ext <<_ACEOF
29633 /* end confdefs.h. */
29634 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29635 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29636 #define $ac_func innocuous_$ac_func
29637
29638 /* System header to define __stub macros and hopefully few prototypes,
29639 which can conflict with char $ac_func (); below.
29640 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29641 <limits.h> exists even on freestanding compilers. */
29642
29643 #ifdef __STDC__
29644 # include <limits.h>
29645 #else
29646 # include <assert.h>
29647 #endif
29648
29649 #undef $ac_func
29650
29651 /* Override any gcc2 internal prototype to avoid an error. */
29652 #ifdef __cplusplus
29653 extern "C"
29654 {
29655 #endif
29656 /* We use char because int might match the return type of a gcc2
29657 builtin and then its argument prototype would still apply. */
29658 char $ac_func ();
29659 /* The GNU C library defines this for functions which it implements
29660 to always fail with ENOSYS. Some functions are actually named
29661 something starting with __ and the normal name is an alias. */
29662 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29663 choke me
29664 #else
29665 char (*f) () = $ac_func;
29666 #endif
29667 #ifdef __cplusplus
29668 }
29669 #endif
29670
29671 int
29672 main ()
29673 {
29674 return f != $ac_func;
29675 ;
29676 return 0;
29677 }
29678 _ACEOF
29679 rm -f conftest.$ac_objext conftest$ac_exeext
29680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29681 (eval $ac_link) 2>conftest.er1
29682 ac_status=$?
29683 grep -v '^ *+' conftest.er1 >conftest.err
29684 rm -f conftest.er1
29685 cat conftest.err >&5
29686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29687 (exit $ac_status); } &&
29688 { ac_try='test -z "$ac_c_werror_flag"
29689 || test ! -s conftest.err'
29690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29691 (eval $ac_try) 2>&5
29692 ac_status=$?
29693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29694 (exit $ac_status); }; } &&
29695 { ac_try='test -s conftest$ac_exeext'
29696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29697 (eval $ac_try) 2>&5
29698 ac_status=$?
29699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29700 (exit $ac_status); }; }; then
29701 eval "$as_ac_var=yes"
29702 else
29703 echo "$as_me: failed program was:" >&5
29704 sed 's/^/| /' conftest.$ac_ext >&5
29705
29706 eval "$as_ac_var=no"
29707 fi
29708 rm -f conftest.err conftest.$ac_objext \
29709 conftest$ac_exeext conftest.$ac_ext
29710 fi
29711 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29712 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29713 if test `eval echo '${'$as_ac_var'}'` = yes; then
29714 cat >>confdefs.h <<_ACEOF
29715 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29716 _ACEOF
29717
29718 fi
29719 done
29720
29721
29722 if test "$ac_cv_func_sigaction" = "no"; then
29723 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
29724 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
29725 wxUSE_ON_FATAL_EXCEPTION=no
29726 fi
29727
29728 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
29729
29730
29731 ac_ext=cc
29732 ac_cpp='$CXXCPP $CPPFLAGS'
29733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29736
29737
29738 echo "$as_me:$LINENO: checking for sa_handler type" >&5
29739 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
29740 if test "${wx_cv_type_sa_handler+set}" = set; then
29741 echo $ECHO_N "(cached) $ECHO_C" >&6
29742 else
29743
29744 cat >conftest.$ac_ext <<_ACEOF
29745 /* confdefs.h. */
29746 _ACEOF
29747 cat confdefs.h >>conftest.$ac_ext
29748 cat >>conftest.$ac_ext <<_ACEOF
29749 /* end confdefs.h. */
29750 #include <signal.h>
29751 int
29752 main ()
29753 {
29754
29755 extern void testSigHandler(int);
29756
29757 struct sigaction sa;
29758 sa.sa_handler = testSigHandler;
29759
29760 ;
29761 return 0;
29762 }
29763 _ACEOF
29764 rm -f conftest.$ac_objext
29765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29766 (eval $ac_compile) 2>conftest.er1
29767 ac_status=$?
29768 grep -v '^ *+' conftest.er1 >conftest.err
29769 rm -f conftest.er1
29770 cat conftest.err >&5
29771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29772 (exit $ac_status); } &&
29773 { ac_try='test -z "$ac_cxx_werror_flag"
29774 || test ! -s conftest.err'
29775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29776 (eval $ac_try) 2>&5
29777 ac_status=$?
29778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29779 (exit $ac_status); }; } &&
29780 { ac_try='test -s conftest.$ac_objext'
29781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29782 (eval $ac_try) 2>&5
29783 ac_status=$?
29784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29785 (exit $ac_status); }; }; then
29786
29787 wx_cv_type_sa_handler=int
29788
29789 else
29790 echo "$as_me: failed program was:" >&5
29791 sed 's/^/| /' conftest.$ac_ext >&5
29792
29793
29794 wx_cv_type_sa_handler=void
29795
29796 fi
29797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29798
29799 fi
29800 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
29801 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
29802
29803 ac_ext=c
29804 ac_cpp='$CPP $CPPFLAGS'
29805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29808
29809
29810 cat >>confdefs.h <<_ACEOF
29811 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
29812 _ACEOF
29813
29814 fi
29815 fi
29816
29817
29818
29819 for ac_func in mkstemp mktemp
29820 do
29821 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29822 echo "$as_me:$LINENO: checking for $ac_func" >&5
29823 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29824 if eval "test \"\${$as_ac_var+set}\" = set"; then
29825 echo $ECHO_N "(cached) $ECHO_C" >&6
29826 else
29827 cat >conftest.$ac_ext <<_ACEOF
29828 /* confdefs.h. */
29829 _ACEOF
29830 cat confdefs.h >>conftest.$ac_ext
29831 cat >>conftest.$ac_ext <<_ACEOF
29832 /* end confdefs.h. */
29833 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29834 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29835 #define $ac_func innocuous_$ac_func
29836
29837 /* System header to define __stub macros and hopefully few prototypes,
29838 which can conflict with char $ac_func (); below.
29839 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29840 <limits.h> exists even on freestanding compilers. */
29841
29842 #ifdef __STDC__
29843 # include <limits.h>
29844 #else
29845 # include <assert.h>
29846 #endif
29847
29848 #undef $ac_func
29849
29850 /* Override any gcc2 internal prototype to avoid an error. */
29851 #ifdef __cplusplus
29852 extern "C"
29853 {
29854 #endif
29855 /* We use char because int might match the return type of a gcc2
29856 builtin and then its argument prototype would still apply. */
29857 char $ac_func ();
29858 /* The GNU C library defines this for functions which it implements
29859 to always fail with ENOSYS. Some functions are actually named
29860 something starting with __ and the normal name is an alias. */
29861 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29862 choke me
29863 #else
29864 char (*f) () = $ac_func;
29865 #endif
29866 #ifdef __cplusplus
29867 }
29868 #endif
29869
29870 int
29871 main ()
29872 {
29873 return f != $ac_func;
29874 ;
29875 return 0;
29876 }
29877 _ACEOF
29878 rm -f conftest.$ac_objext conftest$ac_exeext
29879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29880 (eval $ac_link) 2>conftest.er1
29881 ac_status=$?
29882 grep -v '^ *+' conftest.er1 >conftest.err
29883 rm -f conftest.er1
29884 cat conftest.err >&5
29885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29886 (exit $ac_status); } &&
29887 { ac_try='test -z "$ac_c_werror_flag"
29888 || test ! -s conftest.err'
29889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29890 (eval $ac_try) 2>&5
29891 ac_status=$?
29892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29893 (exit $ac_status); }; } &&
29894 { ac_try='test -s conftest$ac_exeext'
29895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29896 (eval $ac_try) 2>&5
29897 ac_status=$?
29898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29899 (exit $ac_status); }; }; then
29900 eval "$as_ac_var=yes"
29901 else
29902 echo "$as_me: failed program was:" >&5
29903 sed 's/^/| /' conftest.$ac_ext >&5
29904
29905 eval "$as_ac_var=no"
29906 fi
29907 rm -f conftest.err conftest.$ac_objext \
29908 conftest$ac_exeext conftest.$ac_ext
29909 fi
29910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29911 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29912 if test `eval echo '${'$as_ac_var'}'` = yes; then
29913 cat >>confdefs.h <<_ACEOF
29914 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29915 _ACEOF
29916 break
29917 fi
29918 done
29919
29920
29921 echo "$as_me:$LINENO: checking for statfs" >&5
29922 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
29923 if test "${wx_cv_func_statfs+set}" = set; then
29924 echo $ECHO_N "(cached) $ECHO_C" >&6
29925 else
29926 cat >conftest.$ac_ext <<_ACEOF
29927 /* confdefs.h. */
29928 _ACEOF
29929 cat confdefs.h >>conftest.$ac_ext
29930 cat >>conftest.$ac_ext <<_ACEOF
29931 /* end confdefs.h. */
29932
29933 #if defined(__BSD__)
29934 #include <sys/param.h>
29935 #include <sys/mount.h>
29936 #else
29937 #include <sys/vfs.h>
29938 #endif
29939
29940 int
29941 main ()
29942 {
29943
29944 long l;
29945 struct statfs fs;
29946 statfs("/", &fs);
29947 l = fs.f_bsize;
29948 l += fs.f_blocks;
29949 l += fs.f_bavail;
29950
29951 ;
29952 return 0;
29953 }
29954 _ACEOF
29955 rm -f conftest.$ac_objext
29956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29957 (eval $ac_compile) 2>conftest.er1
29958 ac_status=$?
29959 grep -v '^ *+' conftest.er1 >conftest.err
29960 rm -f conftest.er1
29961 cat conftest.err >&5
29962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29963 (exit $ac_status); } &&
29964 { ac_try='test -z "$ac_c_werror_flag"
29965 || test ! -s conftest.err'
29966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29967 (eval $ac_try) 2>&5
29968 ac_status=$?
29969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29970 (exit $ac_status); }; } &&
29971 { ac_try='test -s conftest.$ac_objext'
29972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29973 (eval $ac_try) 2>&5
29974 ac_status=$?
29975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29976 (exit $ac_status); }; }; then
29977
29978 wx_cv_func_statfs=yes
29979
29980 else
29981 echo "$as_me: failed program was:" >&5
29982 sed 's/^/| /' conftest.$ac_ext >&5
29983
29984
29985 wx_cv_func_statfs=no
29986
29987
29988 fi
29989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29990
29991 fi
29992 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
29993 echo "${ECHO_T}$wx_cv_func_statfs" >&6
29994
29995 if test "$wx_cv_func_statfs" = "yes"; then
29996 wx_cv_type_statvfs_t="struct statfs"
29997 cat >>confdefs.h <<\_ACEOF
29998 #define HAVE_STATFS 1
29999 _ACEOF
30000
30001 else
30002 echo "$as_me:$LINENO: checking for statvfs" >&5
30003 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
30004 if test "${wx_cv_func_statvfs+set}" = set; then
30005 echo $ECHO_N "(cached) $ECHO_C" >&6
30006 else
30007 cat >conftest.$ac_ext <<_ACEOF
30008 /* confdefs.h. */
30009 _ACEOF
30010 cat confdefs.h >>conftest.$ac_ext
30011 cat >>conftest.$ac_ext <<_ACEOF
30012 /* end confdefs.h. */
30013
30014 #include <stddef.h>
30015 #include <sys/statvfs.h>
30016
30017 int
30018 main ()
30019 {
30020
30021 statvfs("/", NULL);
30022
30023 ;
30024 return 0;
30025 }
30026 _ACEOF
30027 rm -f conftest.$ac_objext
30028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30029 (eval $ac_compile) 2>conftest.er1
30030 ac_status=$?
30031 grep -v '^ *+' conftest.er1 >conftest.err
30032 rm -f conftest.er1
30033 cat conftest.err >&5
30034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30035 (exit $ac_status); } &&
30036 { ac_try='test -z "$ac_c_werror_flag"
30037 || test ! -s conftest.err'
30038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30039 (eval $ac_try) 2>&5
30040 ac_status=$?
30041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30042 (exit $ac_status); }; } &&
30043 { ac_try='test -s conftest.$ac_objext'
30044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30045 (eval $ac_try) 2>&5
30046 ac_status=$?
30047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30048 (exit $ac_status); }; }; then
30049 wx_cv_func_statvfs=yes
30050 else
30051 echo "$as_me: failed program was:" >&5
30052 sed 's/^/| /' conftest.$ac_ext >&5
30053
30054 wx_cv_func_statvfs=no
30055
30056 fi
30057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30058
30059 fi
30060 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
30061 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
30062
30063 if test "$wx_cv_func_statvfs" = "yes"; then
30064
30065
30066 ac_ext=cc
30067 ac_cpp='$CXXCPP $CPPFLAGS'
30068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30071
30072
30073 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
30074 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
30075 if test "${wx_cv_type_statvfs_t+set}" = set; then
30076 echo $ECHO_N "(cached) $ECHO_C" >&6
30077 else
30078 cat >conftest.$ac_ext <<_ACEOF
30079 /* confdefs.h. */
30080 _ACEOF
30081 cat confdefs.h >>conftest.$ac_ext
30082 cat >>conftest.$ac_ext <<_ACEOF
30083 /* end confdefs.h. */
30084
30085 #include <sys/statvfs.h>
30086
30087 int
30088 main ()
30089 {
30090
30091 long l;
30092 statvfs_t fs;
30093 statvfs("/", &fs);
30094 l = fs.f_bsize;
30095 l += fs.f_blocks;
30096 l += fs.f_bavail;
30097
30098 ;
30099 return 0;
30100 }
30101 _ACEOF
30102 rm -f conftest.$ac_objext
30103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30104 (eval $ac_compile) 2>conftest.er1
30105 ac_status=$?
30106 grep -v '^ *+' conftest.er1 >conftest.err
30107 rm -f conftest.er1
30108 cat conftest.err >&5
30109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30110 (exit $ac_status); } &&
30111 { ac_try='test -z "$ac_cxx_werror_flag"
30112 || test ! -s conftest.err'
30113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30114 (eval $ac_try) 2>&5
30115 ac_status=$?
30116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30117 (exit $ac_status); }; } &&
30118 { ac_try='test -s conftest.$ac_objext'
30119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30120 (eval $ac_try) 2>&5
30121 ac_status=$?
30122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30123 (exit $ac_status); }; }; then
30124 wx_cv_type_statvfs_t=statvfs_t
30125 else
30126 echo "$as_me: failed program was:" >&5
30127 sed 's/^/| /' conftest.$ac_ext >&5
30128
30129
30130 cat >conftest.$ac_ext <<_ACEOF
30131 /* confdefs.h. */
30132 _ACEOF
30133 cat confdefs.h >>conftest.$ac_ext
30134 cat >>conftest.$ac_ext <<_ACEOF
30135 /* end confdefs.h. */
30136
30137 #include <sys/statvfs.h>
30138
30139 int
30140 main ()
30141 {
30142
30143 long l;
30144 struct statvfs fs;
30145 statvfs("/", &fs);
30146 l = fs.f_bsize;
30147 l += fs.f_blocks;
30148 l += fs.f_bavail;
30149
30150 ;
30151 return 0;
30152 }
30153 _ACEOF
30154 rm -f conftest.$ac_objext
30155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30156 (eval $ac_compile) 2>conftest.er1
30157 ac_status=$?
30158 grep -v '^ *+' conftest.er1 >conftest.err
30159 rm -f conftest.er1
30160 cat conftest.err >&5
30161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30162 (exit $ac_status); } &&
30163 { ac_try='test -z "$ac_cxx_werror_flag"
30164 || test ! -s conftest.err'
30165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30166 (eval $ac_try) 2>&5
30167 ac_status=$?
30168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30169 (exit $ac_status); }; } &&
30170 { ac_try='test -s conftest.$ac_objext'
30171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30172 (eval $ac_try) 2>&5
30173 ac_status=$?
30174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30175 (exit $ac_status); }; }; then
30176 wx_cv_type_statvfs_t="struct statvfs"
30177 else
30178 echo "$as_me: failed program was:" >&5
30179 sed 's/^/| /' conftest.$ac_ext >&5
30180
30181 wx_cv_type_statvfs_t="unknown"
30182
30183 fi
30184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30185
30186
30187 fi
30188 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30189
30190 fi
30191 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
30192 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
30193
30194 ac_ext=c
30195 ac_cpp='$CPP $CPPFLAGS'
30196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30199
30200
30201 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30202 cat >>confdefs.h <<\_ACEOF
30203 #define HAVE_STATVFS 1
30204 _ACEOF
30205
30206 fi
30207 else
30208 wx_cv_type_statvfs_t="unknown"
30209 fi
30210 fi
30211
30212 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30213 cat >>confdefs.h <<_ACEOF
30214 #define WX_STATFS_T $wx_cv_type_statvfs_t
30215 _ACEOF
30216
30217 else
30218 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30219 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30220 fi
30221
30222 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30223
30224
30225 for ac_func in fcntl flock
30226 do
30227 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30228 echo "$as_me:$LINENO: checking for $ac_func" >&5
30229 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30230 if eval "test \"\${$as_ac_var+set}\" = set"; then
30231 echo $ECHO_N "(cached) $ECHO_C" >&6
30232 else
30233 cat >conftest.$ac_ext <<_ACEOF
30234 /* confdefs.h. */
30235 _ACEOF
30236 cat confdefs.h >>conftest.$ac_ext
30237 cat >>conftest.$ac_ext <<_ACEOF
30238 /* end confdefs.h. */
30239 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30240 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30241 #define $ac_func innocuous_$ac_func
30242
30243 /* System header to define __stub macros and hopefully few prototypes,
30244 which can conflict with char $ac_func (); below.
30245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30246 <limits.h> exists even on freestanding compilers. */
30247
30248 #ifdef __STDC__
30249 # include <limits.h>
30250 #else
30251 # include <assert.h>
30252 #endif
30253
30254 #undef $ac_func
30255
30256 /* Override any gcc2 internal prototype to avoid an error. */
30257 #ifdef __cplusplus
30258 extern "C"
30259 {
30260 #endif
30261 /* We use char because int might match the return type of a gcc2
30262 builtin and then its argument prototype would still apply. */
30263 char $ac_func ();
30264 /* The GNU C library defines this for functions which it implements
30265 to always fail with ENOSYS. Some functions are actually named
30266 something starting with __ and the normal name is an alias. */
30267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30268 choke me
30269 #else
30270 char (*f) () = $ac_func;
30271 #endif
30272 #ifdef __cplusplus
30273 }
30274 #endif
30275
30276 int
30277 main ()
30278 {
30279 return f != $ac_func;
30280 ;
30281 return 0;
30282 }
30283 _ACEOF
30284 rm -f conftest.$ac_objext conftest$ac_exeext
30285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30286 (eval $ac_link) 2>conftest.er1
30287 ac_status=$?
30288 grep -v '^ *+' conftest.er1 >conftest.err
30289 rm -f conftest.er1
30290 cat conftest.err >&5
30291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30292 (exit $ac_status); } &&
30293 { ac_try='test -z "$ac_c_werror_flag"
30294 || test ! -s conftest.err'
30295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30296 (eval $ac_try) 2>&5
30297 ac_status=$?
30298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30299 (exit $ac_status); }; } &&
30300 { ac_try='test -s conftest$ac_exeext'
30301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30302 (eval $ac_try) 2>&5
30303 ac_status=$?
30304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30305 (exit $ac_status); }; }; then
30306 eval "$as_ac_var=yes"
30307 else
30308 echo "$as_me: failed program was:" >&5
30309 sed 's/^/| /' conftest.$ac_ext >&5
30310
30311 eval "$as_ac_var=no"
30312 fi
30313 rm -f conftest.err conftest.$ac_objext \
30314 conftest$ac_exeext conftest.$ac_ext
30315 fi
30316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30317 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30318 if test `eval echo '${'$as_ac_var'}'` = yes; then
30319 cat >>confdefs.h <<_ACEOF
30320 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30321 _ACEOF
30322 break
30323 fi
30324 done
30325
30326
30327 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30328 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
30329 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30330 wxUSE_SNGLINST_CHECKER=no
30331 fi
30332 fi
30333
30334
30335 for ac_func in timegm
30336 do
30337 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30338 echo "$as_me:$LINENO: checking for $ac_func" >&5
30339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30340 if eval "test \"\${$as_ac_var+set}\" = set"; then
30341 echo $ECHO_N "(cached) $ECHO_C" >&6
30342 else
30343 cat >conftest.$ac_ext <<_ACEOF
30344 /* confdefs.h. */
30345 _ACEOF
30346 cat confdefs.h >>conftest.$ac_ext
30347 cat >>conftest.$ac_ext <<_ACEOF
30348 /* end confdefs.h. */
30349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30350 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30351 #define $ac_func innocuous_$ac_func
30352
30353 /* System header to define __stub macros and hopefully few prototypes,
30354 which can conflict with char $ac_func (); below.
30355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30356 <limits.h> exists even on freestanding compilers. */
30357
30358 #ifdef __STDC__
30359 # include <limits.h>
30360 #else
30361 # include <assert.h>
30362 #endif
30363
30364 #undef $ac_func
30365
30366 /* Override any gcc2 internal prototype to avoid an error. */
30367 #ifdef __cplusplus
30368 extern "C"
30369 {
30370 #endif
30371 /* We use char because int might match the return type of a gcc2
30372 builtin and then its argument prototype would still apply. */
30373 char $ac_func ();
30374 /* The GNU C library defines this for functions which it implements
30375 to always fail with ENOSYS. Some functions are actually named
30376 something starting with __ and the normal name is an alias. */
30377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30378 choke me
30379 #else
30380 char (*f) () = $ac_func;
30381 #endif
30382 #ifdef __cplusplus
30383 }
30384 #endif
30385
30386 int
30387 main ()
30388 {
30389 return f != $ac_func;
30390 ;
30391 return 0;
30392 }
30393 _ACEOF
30394 rm -f conftest.$ac_objext conftest$ac_exeext
30395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30396 (eval $ac_link) 2>conftest.er1
30397 ac_status=$?
30398 grep -v '^ *+' conftest.er1 >conftest.err
30399 rm -f conftest.er1
30400 cat conftest.err >&5
30401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30402 (exit $ac_status); } &&
30403 { ac_try='test -z "$ac_c_werror_flag"
30404 || test ! -s conftest.err'
30405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30406 (eval $ac_try) 2>&5
30407 ac_status=$?
30408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30409 (exit $ac_status); }; } &&
30410 { ac_try='test -s conftest$ac_exeext'
30411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30412 (eval $ac_try) 2>&5
30413 ac_status=$?
30414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30415 (exit $ac_status); }; }; then
30416 eval "$as_ac_var=yes"
30417 else
30418 echo "$as_me: failed program was:" >&5
30419 sed 's/^/| /' conftest.$ac_ext >&5
30420
30421 eval "$as_ac_var=no"
30422 fi
30423 rm -f conftest.err conftest.$ac_objext \
30424 conftest$ac_exeext conftest.$ac_ext
30425 fi
30426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30427 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30428 if test `eval echo '${'$as_ac_var'}'` = yes; then
30429 cat >>confdefs.h <<_ACEOF
30430 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30431 _ACEOF
30432
30433 fi
30434 done
30435
30436
30437
30438
30439 for ac_func in putenv setenv
30440 do
30441 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30442 echo "$as_me:$LINENO: checking for $ac_func" >&5
30443 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30444 if eval "test \"\${$as_ac_var+set}\" = set"; then
30445 echo $ECHO_N "(cached) $ECHO_C" >&6
30446 else
30447 cat >conftest.$ac_ext <<_ACEOF
30448 /* confdefs.h. */
30449 _ACEOF
30450 cat confdefs.h >>conftest.$ac_ext
30451 cat >>conftest.$ac_ext <<_ACEOF
30452 /* end confdefs.h. */
30453 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30454 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30455 #define $ac_func innocuous_$ac_func
30456
30457 /* System header to define __stub macros and hopefully few prototypes,
30458 which can conflict with char $ac_func (); below.
30459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30460 <limits.h> exists even on freestanding compilers. */
30461
30462 #ifdef __STDC__
30463 # include <limits.h>
30464 #else
30465 # include <assert.h>
30466 #endif
30467
30468 #undef $ac_func
30469
30470 /* Override any gcc2 internal prototype to avoid an error. */
30471 #ifdef __cplusplus
30472 extern "C"
30473 {
30474 #endif
30475 /* We use char because int might match the return type of a gcc2
30476 builtin and then its argument prototype would still apply. */
30477 char $ac_func ();
30478 /* The GNU C library defines this for functions which it implements
30479 to always fail with ENOSYS. Some functions are actually named
30480 something starting with __ and the normal name is an alias. */
30481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30482 choke me
30483 #else
30484 char (*f) () = $ac_func;
30485 #endif
30486 #ifdef __cplusplus
30487 }
30488 #endif
30489
30490 int
30491 main ()
30492 {
30493 return f != $ac_func;
30494 ;
30495 return 0;
30496 }
30497 _ACEOF
30498 rm -f conftest.$ac_objext conftest$ac_exeext
30499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30500 (eval $ac_link) 2>conftest.er1
30501 ac_status=$?
30502 grep -v '^ *+' conftest.er1 >conftest.err
30503 rm -f conftest.er1
30504 cat conftest.err >&5
30505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30506 (exit $ac_status); } &&
30507 { ac_try='test -z "$ac_c_werror_flag"
30508 || test ! -s conftest.err'
30509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30510 (eval $ac_try) 2>&5
30511 ac_status=$?
30512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30513 (exit $ac_status); }; } &&
30514 { ac_try='test -s conftest$ac_exeext'
30515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30516 (eval $ac_try) 2>&5
30517 ac_status=$?
30518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30519 (exit $ac_status); }; }; then
30520 eval "$as_ac_var=yes"
30521 else
30522 echo "$as_me: failed program was:" >&5
30523 sed 's/^/| /' conftest.$ac_ext >&5
30524
30525 eval "$as_ac_var=no"
30526 fi
30527 rm -f conftest.err conftest.$ac_objext \
30528 conftest$ac_exeext conftest.$ac_ext
30529 fi
30530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30531 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30532 if test `eval echo '${'$as_ac_var'}'` = yes; then
30533 cat >>confdefs.h <<_ACEOF
30534 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30535 _ACEOF
30536 break
30537 fi
30538 done
30539
30540
30541 HAVE_SOME_SLEEP_FUNC=0
30542 if test "$USE_BEOS" = 1; then
30543 cat >>confdefs.h <<\_ACEOF
30544 #define HAVE_SLEEP 1
30545 _ACEOF
30546
30547 HAVE_SOME_SLEEP_FUNC=1
30548 fi
30549
30550 if test "$USE_DARWIN" = 1; then
30551 cat >>confdefs.h <<\_ACEOF
30552 #define HAVE_USLEEP 1
30553 _ACEOF
30554
30555 HAVE_SOME_SLEEP_FUNC=1
30556 fi
30557
30558 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30559 POSIX4_LINK=
30560
30561 for ac_func in nanosleep
30562 do
30563 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30564 echo "$as_me:$LINENO: checking for $ac_func" >&5
30565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30566 if eval "test \"\${$as_ac_var+set}\" = set"; then
30567 echo $ECHO_N "(cached) $ECHO_C" >&6
30568 else
30569 cat >conftest.$ac_ext <<_ACEOF
30570 /* confdefs.h. */
30571 _ACEOF
30572 cat confdefs.h >>conftest.$ac_ext
30573 cat >>conftest.$ac_ext <<_ACEOF
30574 /* end confdefs.h. */
30575 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30576 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30577 #define $ac_func innocuous_$ac_func
30578
30579 /* System header to define __stub macros and hopefully few prototypes,
30580 which can conflict with char $ac_func (); below.
30581 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30582 <limits.h> exists even on freestanding compilers. */
30583
30584 #ifdef __STDC__
30585 # include <limits.h>
30586 #else
30587 # include <assert.h>
30588 #endif
30589
30590 #undef $ac_func
30591
30592 /* Override any gcc2 internal prototype to avoid an error. */
30593 #ifdef __cplusplus
30594 extern "C"
30595 {
30596 #endif
30597 /* We use char because int might match the return type of a gcc2
30598 builtin and then its argument prototype would still apply. */
30599 char $ac_func ();
30600 /* The GNU C library defines this for functions which it implements
30601 to always fail with ENOSYS. Some functions are actually named
30602 something starting with __ and the normal name is an alias. */
30603 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30604 choke me
30605 #else
30606 char (*f) () = $ac_func;
30607 #endif
30608 #ifdef __cplusplus
30609 }
30610 #endif
30611
30612 int
30613 main ()
30614 {
30615 return f != $ac_func;
30616 ;
30617 return 0;
30618 }
30619 _ACEOF
30620 rm -f conftest.$ac_objext conftest$ac_exeext
30621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30622 (eval $ac_link) 2>conftest.er1
30623 ac_status=$?
30624 grep -v '^ *+' conftest.er1 >conftest.err
30625 rm -f conftest.er1
30626 cat conftest.err >&5
30627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30628 (exit $ac_status); } &&
30629 { ac_try='test -z "$ac_c_werror_flag"
30630 || test ! -s conftest.err'
30631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30632 (eval $ac_try) 2>&5
30633 ac_status=$?
30634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30635 (exit $ac_status); }; } &&
30636 { ac_try='test -s conftest$ac_exeext'
30637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30638 (eval $ac_try) 2>&5
30639 ac_status=$?
30640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30641 (exit $ac_status); }; }; then
30642 eval "$as_ac_var=yes"
30643 else
30644 echo "$as_me: failed program was:" >&5
30645 sed 's/^/| /' conftest.$ac_ext >&5
30646
30647 eval "$as_ac_var=no"
30648 fi
30649 rm -f conftest.err conftest.$ac_objext \
30650 conftest$ac_exeext conftest.$ac_ext
30651 fi
30652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30653 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30654 if test `eval echo '${'$as_ac_var'}'` = yes; then
30655 cat >>confdefs.h <<_ACEOF
30656 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30657 _ACEOF
30658 cat >>confdefs.h <<\_ACEOF
30659 #define HAVE_NANOSLEEP 1
30660 _ACEOF
30661
30662 else
30663
30664 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
30665 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
30666 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
30667 echo $ECHO_N "(cached) $ECHO_C" >&6
30668 else
30669 ac_check_lib_save_LIBS=$LIBS
30670 LIBS="-lposix4 $LIBS"
30671 cat >conftest.$ac_ext <<_ACEOF
30672 /* confdefs.h. */
30673 _ACEOF
30674 cat confdefs.h >>conftest.$ac_ext
30675 cat >>conftest.$ac_ext <<_ACEOF
30676 /* end confdefs.h. */
30677
30678 /* Override any gcc2 internal prototype to avoid an error. */
30679 #ifdef __cplusplus
30680 extern "C"
30681 #endif
30682 /* We use char because int might match the return type of a gcc2
30683 builtin and then its argument prototype would still apply. */
30684 char nanosleep ();
30685 int
30686 main ()
30687 {
30688 nanosleep ();
30689 ;
30690 return 0;
30691 }
30692 _ACEOF
30693 rm -f conftest.$ac_objext conftest$ac_exeext
30694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30695 (eval $ac_link) 2>conftest.er1
30696 ac_status=$?
30697 grep -v '^ *+' conftest.er1 >conftest.err
30698 rm -f conftest.er1
30699 cat conftest.err >&5
30700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30701 (exit $ac_status); } &&
30702 { ac_try='test -z "$ac_c_werror_flag"
30703 || test ! -s conftest.err'
30704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30705 (eval $ac_try) 2>&5
30706 ac_status=$?
30707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30708 (exit $ac_status); }; } &&
30709 { ac_try='test -s conftest$ac_exeext'
30710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30711 (eval $ac_try) 2>&5
30712 ac_status=$?
30713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30714 (exit $ac_status); }; }; then
30715 ac_cv_lib_posix4_nanosleep=yes
30716 else
30717 echo "$as_me: failed program was:" >&5
30718 sed 's/^/| /' conftest.$ac_ext >&5
30719
30720 ac_cv_lib_posix4_nanosleep=no
30721 fi
30722 rm -f conftest.err conftest.$ac_objext \
30723 conftest$ac_exeext conftest.$ac_ext
30724 LIBS=$ac_check_lib_save_LIBS
30725 fi
30726 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
30727 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
30728 if test $ac_cv_lib_posix4_nanosleep = yes; then
30729
30730 cat >>confdefs.h <<\_ACEOF
30731 #define HAVE_NANOSLEEP 1
30732 _ACEOF
30733
30734 POSIX4_LINK=" -lposix4"
30735
30736 else
30737
30738
30739 for ac_func in usleep
30740 do
30741 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30742 echo "$as_me:$LINENO: checking for $ac_func" >&5
30743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30744 if eval "test \"\${$as_ac_var+set}\" = set"; then
30745 echo $ECHO_N "(cached) $ECHO_C" >&6
30746 else
30747 cat >conftest.$ac_ext <<_ACEOF
30748 /* confdefs.h. */
30749 _ACEOF
30750 cat confdefs.h >>conftest.$ac_ext
30751 cat >>conftest.$ac_ext <<_ACEOF
30752 /* end confdefs.h. */
30753 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30754 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30755 #define $ac_func innocuous_$ac_func
30756
30757 /* System header to define __stub macros and hopefully few prototypes,
30758 which can conflict with char $ac_func (); below.
30759 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30760 <limits.h> exists even on freestanding compilers. */
30761
30762 #ifdef __STDC__
30763 # include <limits.h>
30764 #else
30765 # include <assert.h>
30766 #endif
30767
30768 #undef $ac_func
30769
30770 /* Override any gcc2 internal prototype to avoid an error. */
30771 #ifdef __cplusplus
30772 extern "C"
30773 {
30774 #endif
30775 /* We use char because int might match the return type of a gcc2
30776 builtin and then its argument prototype would still apply. */
30777 char $ac_func ();
30778 /* The GNU C library defines this for functions which it implements
30779 to always fail with ENOSYS. Some functions are actually named
30780 something starting with __ and the normal name is an alias. */
30781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30782 choke me
30783 #else
30784 char (*f) () = $ac_func;
30785 #endif
30786 #ifdef __cplusplus
30787 }
30788 #endif
30789
30790 int
30791 main ()
30792 {
30793 return f != $ac_func;
30794 ;
30795 return 0;
30796 }
30797 _ACEOF
30798 rm -f conftest.$ac_objext conftest$ac_exeext
30799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30800 (eval $ac_link) 2>conftest.er1
30801 ac_status=$?
30802 grep -v '^ *+' conftest.er1 >conftest.err
30803 rm -f conftest.er1
30804 cat conftest.err >&5
30805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30806 (exit $ac_status); } &&
30807 { ac_try='test -z "$ac_c_werror_flag"
30808 || test ! -s conftest.err'
30809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30810 (eval $ac_try) 2>&5
30811 ac_status=$?
30812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30813 (exit $ac_status); }; } &&
30814 { ac_try='test -s conftest$ac_exeext'
30815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30816 (eval $ac_try) 2>&5
30817 ac_status=$?
30818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30819 (exit $ac_status); }; }; then
30820 eval "$as_ac_var=yes"
30821 else
30822 echo "$as_me: failed program was:" >&5
30823 sed 's/^/| /' conftest.$ac_ext >&5
30824
30825 eval "$as_ac_var=no"
30826 fi
30827 rm -f conftest.err conftest.$ac_objext \
30828 conftest$ac_exeext conftest.$ac_ext
30829 fi
30830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30831 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30832 if test `eval echo '${'$as_ac_var'}'` = yes; then
30833 cat >>confdefs.h <<_ACEOF
30834 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30835 _ACEOF
30836 cat >>confdefs.h <<\_ACEOF
30837 #define HAVE_USLEEP 1
30838 _ACEOF
30839
30840 else
30841 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
30842 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
30843
30844 fi
30845 done
30846
30847
30848
30849 fi
30850
30851
30852
30853 fi
30854 done
30855
30856 fi
30857
30858
30859
30860 for ac_func in uname gethostname
30861 do
30862 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30863 echo "$as_me:$LINENO: checking for $ac_func" >&5
30864 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30865 if eval "test \"\${$as_ac_var+set}\" = set"; then
30866 echo $ECHO_N "(cached) $ECHO_C" >&6
30867 else
30868 cat >conftest.$ac_ext <<_ACEOF
30869 /* confdefs.h. */
30870 _ACEOF
30871 cat confdefs.h >>conftest.$ac_ext
30872 cat >>conftest.$ac_ext <<_ACEOF
30873 /* end confdefs.h. */
30874 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30875 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30876 #define $ac_func innocuous_$ac_func
30877
30878 /* System header to define __stub macros and hopefully few prototypes,
30879 which can conflict with char $ac_func (); below.
30880 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30881 <limits.h> exists even on freestanding compilers. */
30882
30883 #ifdef __STDC__
30884 # include <limits.h>
30885 #else
30886 # include <assert.h>
30887 #endif
30888
30889 #undef $ac_func
30890
30891 /* Override any gcc2 internal prototype to avoid an error. */
30892 #ifdef __cplusplus
30893 extern "C"
30894 {
30895 #endif
30896 /* We use char because int might match the return type of a gcc2
30897 builtin and then its argument prototype would still apply. */
30898 char $ac_func ();
30899 /* The GNU C library defines this for functions which it implements
30900 to always fail with ENOSYS. Some functions are actually named
30901 something starting with __ and the normal name is an alias. */
30902 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30903 choke me
30904 #else
30905 char (*f) () = $ac_func;
30906 #endif
30907 #ifdef __cplusplus
30908 }
30909 #endif
30910
30911 int
30912 main ()
30913 {
30914 return f != $ac_func;
30915 ;
30916 return 0;
30917 }
30918 _ACEOF
30919 rm -f conftest.$ac_objext conftest$ac_exeext
30920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30921 (eval $ac_link) 2>conftest.er1
30922 ac_status=$?
30923 grep -v '^ *+' conftest.er1 >conftest.err
30924 rm -f conftest.er1
30925 cat conftest.err >&5
30926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30927 (exit $ac_status); } &&
30928 { ac_try='test -z "$ac_c_werror_flag"
30929 || test ! -s conftest.err'
30930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30931 (eval $ac_try) 2>&5
30932 ac_status=$?
30933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30934 (exit $ac_status); }; } &&
30935 { ac_try='test -s conftest$ac_exeext'
30936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30937 (eval $ac_try) 2>&5
30938 ac_status=$?
30939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30940 (exit $ac_status); }; }; then
30941 eval "$as_ac_var=yes"
30942 else
30943 echo "$as_me: failed program was:" >&5
30944 sed 's/^/| /' conftest.$ac_ext >&5
30945
30946 eval "$as_ac_var=no"
30947 fi
30948 rm -f conftest.err conftest.$ac_objext \
30949 conftest$ac_exeext conftest.$ac_ext
30950 fi
30951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30952 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30953 if test `eval echo '${'$as_ac_var'}'` = yes; then
30954 cat >>confdefs.h <<_ACEOF
30955 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30956 _ACEOF
30957 break
30958 fi
30959 done
30960
30961
30962
30963
30964 ac_ext=cc
30965 ac_cpp='$CXXCPP $CPPFLAGS'
30966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30969
30970
30971
30972 for ac_func in strtok_r
30973 do
30974 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30975 echo "$as_me:$LINENO: checking for $ac_func" >&5
30976 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30977 if eval "test \"\${$as_ac_var+set}\" = set"; then
30978 echo $ECHO_N "(cached) $ECHO_C" >&6
30979 else
30980 cat >conftest.$ac_ext <<_ACEOF
30981 /* confdefs.h. */
30982 _ACEOF
30983 cat confdefs.h >>conftest.$ac_ext
30984 cat >>conftest.$ac_ext <<_ACEOF
30985 /* end confdefs.h. */
30986 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30987 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30988 #define $ac_func innocuous_$ac_func
30989
30990 /* System header to define __stub macros and hopefully few prototypes,
30991 which can conflict with char $ac_func (); below.
30992 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30993 <limits.h> exists even on freestanding compilers. */
30994
30995 #ifdef __STDC__
30996 # include <limits.h>
30997 #else
30998 # include <assert.h>
30999 #endif
31000
31001 #undef $ac_func
31002
31003 /* Override any gcc2 internal prototype to avoid an error. */
31004 #ifdef __cplusplus
31005 extern "C"
31006 {
31007 #endif
31008 /* We use char because int might match the return type of a gcc2
31009 builtin and then its argument prototype would still apply. */
31010 char $ac_func ();
31011 /* The GNU C library defines this for functions which it implements
31012 to always fail with ENOSYS. Some functions are actually named
31013 something starting with __ and the normal name is an alias. */
31014 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31015 choke me
31016 #else
31017 char (*f) () = $ac_func;
31018 #endif
31019 #ifdef __cplusplus
31020 }
31021 #endif
31022
31023 int
31024 main ()
31025 {
31026 return f != $ac_func;
31027 ;
31028 return 0;
31029 }
31030 _ACEOF
31031 rm -f conftest.$ac_objext conftest$ac_exeext
31032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31033 (eval $ac_link) 2>conftest.er1
31034 ac_status=$?
31035 grep -v '^ *+' conftest.er1 >conftest.err
31036 rm -f conftest.er1
31037 cat conftest.err >&5
31038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31039 (exit $ac_status); } &&
31040 { ac_try='test -z "$ac_cxx_werror_flag"
31041 || test ! -s conftest.err'
31042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31043 (eval $ac_try) 2>&5
31044 ac_status=$?
31045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31046 (exit $ac_status); }; } &&
31047 { ac_try='test -s conftest$ac_exeext'
31048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31049 (eval $ac_try) 2>&5
31050 ac_status=$?
31051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31052 (exit $ac_status); }; }; then
31053 eval "$as_ac_var=yes"
31054 else
31055 echo "$as_me: failed program was:" >&5
31056 sed 's/^/| /' conftest.$ac_ext >&5
31057
31058 eval "$as_ac_var=no"
31059 fi
31060 rm -f conftest.err conftest.$ac_objext \
31061 conftest$ac_exeext conftest.$ac_ext
31062 fi
31063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31064 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31065 if test `eval echo '${'$as_ac_var'}'` = yes; then
31066 cat >>confdefs.h <<_ACEOF
31067 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31068 _ACEOF
31069
31070 fi
31071 done
31072
31073
31074 ac_ext=c
31075 ac_cpp='$CPP $CPPFLAGS'
31076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31079
31080
31081 INET_LINK=
31082
31083 for ac_func in inet_addr
31084 do
31085 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31086 echo "$as_me:$LINENO: checking for $ac_func" >&5
31087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31088 if eval "test \"\${$as_ac_var+set}\" = set"; then
31089 echo $ECHO_N "(cached) $ECHO_C" >&6
31090 else
31091 cat >conftest.$ac_ext <<_ACEOF
31092 /* confdefs.h. */
31093 _ACEOF
31094 cat confdefs.h >>conftest.$ac_ext
31095 cat >>conftest.$ac_ext <<_ACEOF
31096 /* end confdefs.h. */
31097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31099 #define $ac_func innocuous_$ac_func
31100
31101 /* System header to define __stub macros and hopefully few prototypes,
31102 which can conflict with char $ac_func (); below.
31103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31104 <limits.h> exists even on freestanding compilers. */
31105
31106 #ifdef __STDC__
31107 # include <limits.h>
31108 #else
31109 # include <assert.h>
31110 #endif
31111
31112 #undef $ac_func
31113
31114 /* Override any gcc2 internal prototype to avoid an error. */
31115 #ifdef __cplusplus
31116 extern "C"
31117 {
31118 #endif
31119 /* We use char because int might match the return type of a gcc2
31120 builtin and then its argument prototype would still apply. */
31121 char $ac_func ();
31122 /* The GNU C library defines this for functions which it implements
31123 to always fail with ENOSYS. Some functions are actually named
31124 something starting with __ and the normal name is an alias. */
31125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31126 choke me
31127 #else
31128 char (*f) () = $ac_func;
31129 #endif
31130 #ifdef __cplusplus
31131 }
31132 #endif
31133
31134 int
31135 main ()
31136 {
31137 return f != $ac_func;
31138 ;
31139 return 0;
31140 }
31141 _ACEOF
31142 rm -f conftest.$ac_objext conftest$ac_exeext
31143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31144 (eval $ac_link) 2>conftest.er1
31145 ac_status=$?
31146 grep -v '^ *+' conftest.er1 >conftest.err
31147 rm -f conftest.er1
31148 cat conftest.err >&5
31149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31150 (exit $ac_status); } &&
31151 { ac_try='test -z "$ac_c_werror_flag"
31152 || test ! -s conftest.err'
31153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31154 (eval $ac_try) 2>&5
31155 ac_status=$?
31156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31157 (exit $ac_status); }; } &&
31158 { ac_try='test -s conftest$ac_exeext'
31159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31160 (eval $ac_try) 2>&5
31161 ac_status=$?
31162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31163 (exit $ac_status); }; }; then
31164 eval "$as_ac_var=yes"
31165 else
31166 echo "$as_me: failed program was:" >&5
31167 sed 's/^/| /' conftest.$ac_ext >&5
31168
31169 eval "$as_ac_var=no"
31170 fi
31171 rm -f conftest.err conftest.$ac_objext \
31172 conftest$ac_exeext conftest.$ac_ext
31173 fi
31174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31175 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31176 if test `eval echo '${'$as_ac_var'}'` = yes; then
31177 cat >>confdefs.h <<_ACEOF
31178 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31179 _ACEOF
31180 cat >>confdefs.h <<\_ACEOF
31181 #define HAVE_INET_ADDR 1
31182 _ACEOF
31183
31184 else
31185
31186 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
31187 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
31188 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
31189 echo $ECHO_N "(cached) $ECHO_C" >&6
31190 else
31191 ac_check_lib_save_LIBS=$LIBS
31192 LIBS="-lnsl $LIBS"
31193 cat >conftest.$ac_ext <<_ACEOF
31194 /* confdefs.h. */
31195 _ACEOF
31196 cat confdefs.h >>conftest.$ac_ext
31197 cat >>conftest.$ac_ext <<_ACEOF
31198 /* end confdefs.h. */
31199
31200 /* Override any gcc2 internal prototype to avoid an error. */
31201 #ifdef __cplusplus
31202 extern "C"
31203 #endif
31204 /* We use char because int might match the return type of a gcc2
31205 builtin and then its argument prototype would still apply. */
31206 char inet_addr ();
31207 int
31208 main ()
31209 {
31210 inet_addr ();
31211 ;
31212 return 0;
31213 }
31214 _ACEOF
31215 rm -f conftest.$ac_objext conftest$ac_exeext
31216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31217 (eval $ac_link) 2>conftest.er1
31218 ac_status=$?
31219 grep -v '^ *+' conftest.er1 >conftest.err
31220 rm -f conftest.er1
31221 cat conftest.err >&5
31222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31223 (exit $ac_status); } &&
31224 { ac_try='test -z "$ac_c_werror_flag"
31225 || test ! -s conftest.err'
31226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31227 (eval $ac_try) 2>&5
31228 ac_status=$?
31229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31230 (exit $ac_status); }; } &&
31231 { ac_try='test -s conftest$ac_exeext'
31232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31233 (eval $ac_try) 2>&5
31234 ac_status=$?
31235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31236 (exit $ac_status); }; }; then
31237 ac_cv_lib_nsl_inet_addr=yes
31238 else
31239 echo "$as_me: failed program was:" >&5
31240 sed 's/^/| /' conftest.$ac_ext >&5
31241
31242 ac_cv_lib_nsl_inet_addr=no
31243 fi
31244 rm -f conftest.err conftest.$ac_objext \
31245 conftest$ac_exeext conftest.$ac_ext
31246 LIBS=$ac_check_lib_save_LIBS
31247 fi
31248 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
31249 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
31250 if test $ac_cv_lib_nsl_inet_addr = yes; then
31251 INET_LINK="nsl"
31252 else
31253
31254 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
31255 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
31256 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
31257 echo $ECHO_N "(cached) $ECHO_C" >&6
31258 else
31259 ac_check_lib_save_LIBS=$LIBS
31260 LIBS="-lresolv $LIBS"
31261 cat >conftest.$ac_ext <<_ACEOF
31262 /* confdefs.h. */
31263 _ACEOF
31264 cat confdefs.h >>conftest.$ac_ext
31265 cat >>conftest.$ac_ext <<_ACEOF
31266 /* end confdefs.h. */
31267
31268 /* Override any gcc2 internal prototype to avoid an error. */
31269 #ifdef __cplusplus
31270 extern "C"
31271 #endif
31272 /* We use char because int might match the return type of a gcc2
31273 builtin and then its argument prototype would still apply. */
31274 char inet_addr ();
31275 int
31276 main ()
31277 {
31278 inet_addr ();
31279 ;
31280 return 0;
31281 }
31282 _ACEOF
31283 rm -f conftest.$ac_objext conftest$ac_exeext
31284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31285 (eval $ac_link) 2>conftest.er1
31286 ac_status=$?
31287 grep -v '^ *+' conftest.er1 >conftest.err
31288 rm -f conftest.er1
31289 cat conftest.err >&5
31290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31291 (exit $ac_status); } &&
31292 { ac_try='test -z "$ac_c_werror_flag"
31293 || test ! -s conftest.err'
31294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31295 (eval $ac_try) 2>&5
31296 ac_status=$?
31297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31298 (exit $ac_status); }; } &&
31299 { ac_try='test -s conftest$ac_exeext'
31300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31301 (eval $ac_try) 2>&5
31302 ac_status=$?
31303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31304 (exit $ac_status); }; }; then
31305 ac_cv_lib_resolv_inet_addr=yes
31306 else
31307 echo "$as_me: failed program was:" >&5
31308 sed 's/^/| /' conftest.$ac_ext >&5
31309
31310 ac_cv_lib_resolv_inet_addr=no
31311 fi
31312 rm -f conftest.err conftest.$ac_objext \
31313 conftest$ac_exeext conftest.$ac_ext
31314 LIBS=$ac_check_lib_save_LIBS
31315 fi
31316 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
31317 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
31318 if test $ac_cv_lib_resolv_inet_addr = yes; then
31319 INET_LINK="resolv"
31320 else
31321
31322 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
31323 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
31324 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
31325 echo $ECHO_N "(cached) $ECHO_C" >&6
31326 else
31327 ac_check_lib_save_LIBS=$LIBS
31328 LIBS="-lsocket $LIBS"
31329 cat >conftest.$ac_ext <<_ACEOF
31330 /* confdefs.h. */
31331 _ACEOF
31332 cat confdefs.h >>conftest.$ac_ext
31333 cat >>conftest.$ac_ext <<_ACEOF
31334 /* end confdefs.h. */
31335
31336 /* Override any gcc2 internal prototype to avoid an error. */
31337 #ifdef __cplusplus
31338 extern "C"
31339 #endif
31340 /* We use char because int might match the return type of a gcc2
31341 builtin and then its argument prototype would still apply. */
31342 char inet_addr ();
31343 int
31344 main ()
31345 {
31346 inet_addr ();
31347 ;
31348 return 0;
31349 }
31350 _ACEOF
31351 rm -f conftest.$ac_objext conftest$ac_exeext
31352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31353 (eval $ac_link) 2>conftest.er1
31354 ac_status=$?
31355 grep -v '^ *+' conftest.er1 >conftest.err
31356 rm -f conftest.er1
31357 cat conftest.err >&5
31358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31359 (exit $ac_status); } &&
31360 { ac_try='test -z "$ac_c_werror_flag"
31361 || test ! -s conftest.err'
31362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31363 (eval $ac_try) 2>&5
31364 ac_status=$?
31365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31366 (exit $ac_status); }; } &&
31367 { ac_try='test -s conftest$ac_exeext'
31368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31369 (eval $ac_try) 2>&5
31370 ac_status=$?
31371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31372 (exit $ac_status); }; }; then
31373 ac_cv_lib_socket_inet_addr=yes
31374 else
31375 echo "$as_me: failed program was:" >&5
31376 sed 's/^/| /' conftest.$ac_ext >&5
31377
31378 ac_cv_lib_socket_inet_addr=no
31379 fi
31380 rm -f conftest.err conftest.$ac_objext \
31381 conftest$ac_exeext conftest.$ac_ext
31382 LIBS=$ac_check_lib_save_LIBS
31383 fi
31384 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
31385 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
31386 if test $ac_cv_lib_socket_inet_addr = yes; then
31387 INET_LINK="socket"
31388
31389 fi
31390
31391
31392
31393 fi
31394
31395
31396
31397 fi
31398
31399
31400
31401 fi
31402 done
31403
31404
31405
31406 for ac_func in inet_aton
31407 do
31408 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31409 echo "$as_me:$LINENO: checking for $ac_func" >&5
31410 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31411 if eval "test \"\${$as_ac_var+set}\" = set"; then
31412 echo $ECHO_N "(cached) $ECHO_C" >&6
31413 else
31414 cat >conftest.$ac_ext <<_ACEOF
31415 /* confdefs.h. */
31416 _ACEOF
31417 cat confdefs.h >>conftest.$ac_ext
31418 cat >>conftest.$ac_ext <<_ACEOF
31419 /* end confdefs.h. */
31420 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31421 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31422 #define $ac_func innocuous_$ac_func
31423
31424 /* System header to define __stub macros and hopefully few prototypes,
31425 which can conflict with char $ac_func (); below.
31426 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31427 <limits.h> exists even on freestanding compilers. */
31428
31429 #ifdef __STDC__
31430 # include <limits.h>
31431 #else
31432 # include <assert.h>
31433 #endif
31434
31435 #undef $ac_func
31436
31437 /* Override any gcc2 internal prototype to avoid an error. */
31438 #ifdef __cplusplus
31439 extern "C"
31440 {
31441 #endif
31442 /* We use char because int might match the return type of a gcc2
31443 builtin and then its argument prototype would still apply. */
31444 char $ac_func ();
31445 /* The GNU C library defines this for functions which it implements
31446 to always fail with ENOSYS. Some functions are actually named
31447 something starting with __ and the normal name is an alias. */
31448 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31449 choke me
31450 #else
31451 char (*f) () = $ac_func;
31452 #endif
31453 #ifdef __cplusplus
31454 }
31455 #endif
31456
31457 int
31458 main ()
31459 {
31460 return f != $ac_func;
31461 ;
31462 return 0;
31463 }
31464 _ACEOF
31465 rm -f conftest.$ac_objext conftest$ac_exeext
31466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31467 (eval $ac_link) 2>conftest.er1
31468 ac_status=$?
31469 grep -v '^ *+' conftest.er1 >conftest.err
31470 rm -f conftest.er1
31471 cat conftest.err >&5
31472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31473 (exit $ac_status); } &&
31474 { ac_try='test -z "$ac_c_werror_flag"
31475 || test ! -s conftest.err'
31476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31477 (eval $ac_try) 2>&5
31478 ac_status=$?
31479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31480 (exit $ac_status); }; } &&
31481 { ac_try='test -s conftest$ac_exeext'
31482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31483 (eval $ac_try) 2>&5
31484 ac_status=$?
31485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31486 (exit $ac_status); }; }; then
31487 eval "$as_ac_var=yes"
31488 else
31489 echo "$as_me: failed program was:" >&5
31490 sed 's/^/| /' conftest.$ac_ext >&5
31491
31492 eval "$as_ac_var=no"
31493 fi
31494 rm -f conftest.err conftest.$ac_objext \
31495 conftest$ac_exeext conftest.$ac_ext
31496 fi
31497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31498 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31499 if test `eval echo '${'$as_ac_var'}'` = yes; then
31500 cat >>confdefs.h <<_ACEOF
31501 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31502 _ACEOF
31503 cat >>confdefs.h <<\_ACEOF
31504 #define HAVE_INET_ATON 1
31505 _ACEOF
31506
31507 else
31508
31509 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31510 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
31511 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
31512 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
31513 echo $ECHO_N "(cached) $ECHO_C" >&6
31514 else
31515 ac_check_lib_save_LIBS=$LIBS
31516 LIBS="-l$INET_LINK $LIBS"
31517 cat >conftest.$ac_ext <<_ACEOF
31518 /* confdefs.h. */
31519 _ACEOF
31520 cat confdefs.h >>conftest.$ac_ext
31521 cat >>conftest.$ac_ext <<_ACEOF
31522 /* end confdefs.h. */
31523
31524 /* Override any gcc2 internal prototype to avoid an error. */
31525 #ifdef __cplusplus
31526 extern "C"
31527 #endif
31528 /* We use char because int might match the return type of a gcc2
31529 builtin and then its argument prototype would still apply. */
31530 char inet_aton ();
31531 int
31532 main ()
31533 {
31534 inet_aton ();
31535 ;
31536 return 0;
31537 }
31538 _ACEOF
31539 rm -f conftest.$ac_objext conftest$ac_exeext
31540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31541 (eval $ac_link) 2>conftest.er1
31542 ac_status=$?
31543 grep -v '^ *+' conftest.er1 >conftest.err
31544 rm -f conftest.er1
31545 cat conftest.err >&5
31546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31547 (exit $ac_status); } &&
31548 { ac_try='test -z "$ac_c_werror_flag"
31549 || test ! -s conftest.err'
31550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31551 (eval $ac_try) 2>&5
31552 ac_status=$?
31553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31554 (exit $ac_status); }; } &&
31555 { ac_try='test -s conftest$ac_exeext'
31556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31557 (eval $ac_try) 2>&5
31558 ac_status=$?
31559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31560 (exit $ac_status); }; }; then
31561 eval "$as_ac_Lib=yes"
31562 else
31563 echo "$as_me: failed program was:" >&5
31564 sed 's/^/| /' conftest.$ac_ext >&5
31565
31566 eval "$as_ac_Lib=no"
31567 fi
31568 rm -f conftest.err conftest.$ac_objext \
31569 conftest$ac_exeext conftest.$ac_ext
31570 LIBS=$ac_check_lib_save_LIBS
31571 fi
31572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
31573 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
31574 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
31575 cat >>confdefs.h <<\_ACEOF
31576 #define HAVE_INET_ATON 1
31577 _ACEOF
31578
31579 fi
31580
31581
31582 fi
31583 done
31584
31585
31586 if test "x$INET_LINK" != "x"; then
31587 cat >>confdefs.h <<\_ACEOF
31588 #define HAVE_INET_ADDR 1
31589 _ACEOF
31590
31591 INET_LINK=" -l$INET_LINK"
31592 fi
31593
31594 fi
31595
31596
31597
31598 EXTRALIBS_ESD=
31599 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
31600 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
31601 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
31602 echo $ECHO_N "(cached) $ECHO_C" >&6
31603 else
31604 ac_check_lib_save_LIBS=$LIBS
31605 LIBS="-lesd $LIBS"
31606 cat >conftest.$ac_ext <<_ACEOF
31607 /* confdefs.h. */
31608 _ACEOF
31609 cat confdefs.h >>conftest.$ac_ext
31610 cat >>conftest.$ac_ext <<_ACEOF
31611 /* end confdefs.h. */
31612
31613 /* Override any gcc2 internal prototype to avoid an error. */
31614 #ifdef __cplusplus
31615 extern "C"
31616 #endif
31617 /* We use char because int might match the return type of a gcc2
31618 builtin and then its argument prototype would still apply. */
31619 char esd_close ();
31620 int
31621 main ()
31622 {
31623 esd_close ();
31624 ;
31625 return 0;
31626 }
31627 _ACEOF
31628 rm -f conftest.$ac_objext conftest$ac_exeext
31629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31630 (eval $ac_link) 2>conftest.er1
31631 ac_status=$?
31632 grep -v '^ *+' conftest.er1 >conftest.err
31633 rm -f conftest.er1
31634 cat conftest.err >&5
31635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31636 (exit $ac_status); } &&
31637 { ac_try='test -z "$ac_c_werror_flag"
31638 || test ! -s conftest.err'
31639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31640 (eval $ac_try) 2>&5
31641 ac_status=$?
31642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31643 (exit $ac_status); }; } &&
31644 { ac_try='test -s conftest$ac_exeext'
31645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31646 (eval $ac_try) 2>&5
31647 ac_status=$?
31648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31649 (exit $ac_status); }; }; then
31650 ac_cv_lib_esd_esd_close=yes
31651 else
31652 echo "$as_me: failed program was:" >&5
31653 sed 's/^/| /' conftest.$ac_ext >&5
31654
31655 ac_cv_lib_esd_esd_close=no
31656 fi
31657 rm -f conftest.err conftest.$ac_objext \
31658 conftest$ac_exeext conftest.$ac_ext
31659 LIBS=$ac_check_lib_save_LIBS
31660 fi
31661 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
31662 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
31663 if test $ac_cv_lib_esd_esd_close = yes; then
31664
31665
31666 for ac_header in esd.h
31667 do
31668 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31669 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31670 echo "$as_me:$LINENO: checking for $ac_header" >&5
31671 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31672 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31673 echo $ECHO_N "(cached) $ECHO_C" >&6
31674 fi
31675 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31676 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31677 else
31678 # Is the header compilable?
31679 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31680 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31681 cat >conftest.$ac_ext <<_ACEOF
31682 /* confdefs.h. */
31683 _ACEOF
31684 cat confdefs.h >>conftest.$ac_ext
31685 cat >>conftest.$ac_ext <<_ACEOF
31686 /* end confdefs.h. */
31687 $ac_includes_default
31688 #include <$ac_header>
31689 _ACEOF
31690 rm -f conftest.$ac_objext
31691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31692 (eval $ac_compile) 2>conftest.er1
31693 ac_status=$?
31694 grep -v '^ *+' conftest.er1 >conftest.err
31695 rm -f conftest.er1
31696 cat conftest.err >&5
31697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31698 (exit $ac_status); } &&
31699 { ac_try='test -z "$ac_c_werror_flag"
31700 || test ! -s conftest.err'
31701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31702 (eval $ac_try) 2>&5
31703 ac_status=$?
31704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31705 (exit $ac_status); }; } &&
31706 { ac_try='test -s conftest.$ac_objext'
31707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31708 (eval $ac_try) 2>&5
31709 ac_status=$?
31710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31711 (exit $ac_status); }; }; then
31712 ac_header_compiler=yes
31713 else
31714 echo "$as_me: failed program was:" >&5
31715 sed 's/^/| /' conftest.$ac_ext >&5
31716
31717 ac_header_compiler=no
31718 fi
31719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31720 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31721 echo "${ECHO_T}$ac_header_compiler" >&6
31722
31723 # Is the header present?
31724 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31725 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31726 cat >conftest.$ac_ext <<_ACEOF
31727 /* confdefs.h. */
31728 _ACEOF
31729 cat confdefs.h >>conftest.$ac_ext
31730 cat >>conftest.$ac_ext <<_ACEOF
31731 /* end confdefs.h. */
31732 #include <$ac_header>
31733 _ACEOF
31734 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31735 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31736 ac_status=$?
31737 grep -v '^ *+' conftest.er1 >conftest.err
31738 rm -f conftest.er1
31739 cat conftest.err >&5
31740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31741 (exit $ac_status); } >/dev/null; then
31742 if test -s conftest.err; then
31743 ac_cpp_err=$ac_c_preproc_warn_flag
31744 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31745 else
31746 ac_cpp_err=
31747 fi
31748 else
31749 ac_cpp_err=yes
31750 fi
31751 if test -z "$ac_cpp_err"; then
31752 ac_header_preproc=yes
31753 else
31754 echo "$as_me: failed program was:" >&5
31755 sed 's/^/| /' conftest.$ac_ext >&5
31756
31757 ac_header_preproc=no
31758 fi
31759 rm -f conftest.err conftest.$ac_ext
31760 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31761 echo "${ECHO_T}$ac_header_preproc" >&6
31762
31763 # So? What about this header?
31764 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31765 yes:no: )
31766 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31767 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31768 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31769 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31770 ac_header_preproc=yes
31771 ;;
31772 no:yes:* )
31773 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31774 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31775 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31776 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31777 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31778 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31779 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31780 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31781 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31782 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31783 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31784 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31785 (
31786 cat <<\_ASBOX
31787 ## ----------------------------------------- ##
31788 ## Report this to wx-dev@lists.wxwidgets.org ##
31789 ## ----------------------------------------- ##
31790 _ASBOX
31791 ) |
31792 sed "s/^/$as_me: WARNING: /" >&2
31793 ;;
31794 esac
31795 echo "$as_me:$LINENO: checking for $ac_header" >&5
31796 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31797 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31798 echo $ECHO_N "(cached) $ECHO_C" >&6
31799 else
31800 eval "$as_ac_Header=\$ac_header_preproc"
31801 fi
31802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31803 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31804
31805 fi
31806 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31807 cat >>confdefs.h <<_ACEOF
31808 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31809 _ACEOF
31810
31811 EXTRALIBS_ESD="-lesd"
31812
31813 fi
31814
31815 done
31816
31817
31818 fi
31819
31820
31821
31822 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
31823 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
31824 cat >conftest.$ac_ext <<_ACEOF
31825 /* confdefs.h. */
31826 _ACEOF
31827 cat confdefs.h >>conftest.$ac_ext
31828 cat >>conftest.$ac_ext <<_ACEOF
31829 /* end confdefs.h. */
31830 #ifdef __linux__
31831 #include <linux/cdrom.h>
31832 #else
31833 /* For Solaris */
31834 #include <sys/cdio.h>
31835 #endif
31836
31837 int
31838 main ()
31839 {
31840 struct cdrom_tocentry entry, old_entry;
31841 ;
31842 return 0;
31843 }
31844 _ACEOF
31845 rm -f conftest.$ac_objext
31846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31847 (eval $ac_compile) 2>conftest.er1
31848 ac_status=$?
31849 grep -v '^ *+' conftest.er1 >conftest.err
31850 rm -f conftest.er1
31851 cat conftest.err >&5
31852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31853 (exit $ac_status); } &&
31854 { ac_try='test -z "$ac_c_werror_flag"
31855 || test ! -s conftest.err'
31856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31857 (eval $ac_try) 2>&5
31858 ac_status=$?
31859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31860 (exit $ac_status); }; } &&
31861 { ac_try='test -s conftest.$ac_objext'
31862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31863 (eval $ac_try) 2>&5
31864 ac_status=$?
31865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31866 (exit $ac_status); }; }; then
31867 echo "$as_me:$LINENO: result: yes" >&5
31868 echo "${ECHO_T}yes" >&6
31869 cat >>confdefs.h <<\_ACEOF
31870 #define HAVE_KNOWN_CDROM_INTERFACE 1
31871 _ACEOF
31872
31873 else
31874 echo "$as_me: failed program was:" >&5
31875 sed 's/^/| /' conftest.$ac_ext >&5
31876
31877 echo "$as_me:$LINENO: result: no" >&5
31878 echo "${ECHO_T}no" >&6
31879 fi
31880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31881
31882
31883 cat >confcache <<\_ACEOF
31884 # This file is a shell script that caches the results of configure
31885 # tests run on this system so they can be shared between configure
31886 # scripts and configure runs, see configure's option --config-cache.
31887 # It is not useful on other systems. If it contains results you don't
31888 # want to keep, you may remove or edit it.
31889 #
31890 # config.status only pays attention to the cache file if you give it
31891 # the --recheck option to rerun configure.
31892 #
31893 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31894 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31895 # following values.
31896
31897 _ACEOF
31898
31899 # The following way of writing the cache mishandles newlines in values,
31900 # but we know of no workaround that is simple, portable, and efficient.
31901 # So, don't put newlines in cache variables' values.
31902 # Ultrix sh set writes to stderr and can't be redirected directly,
31903 # and sets the high bit in the cache file unless we assign to the vars.
31904 {
31905 (set) 2>&1 |
31906 case `(ac_space=' '; set | grep ac_space) 2>&1` in
31907 *ac_space=\ *)
31908 # `set' does not quote correctly, so add quotes (double-quote
31909 # substitution turns \\\\ into \\, and sed turns \\ into \).
31910 sed -n \
31911 "s/'/'\\\\''/g;
31912 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31913 ;;
31914 *)
31915 # `set' quotes correctly as required by POSIX, so do not add quotes.
31916 sed -n \
31917 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
31918 ;;
31919 esac;
31920 } |
31921 sed '
31922 t clear
31923 : clear
31924 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31925 t end
31926 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31927 : end' >>confcache
31928 if diff $cache_file confcache >/dev/null 2>&1; then :; else
31929 if test -w $cache_file; then
31930 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
31931 cat confcache >$cache_file
31932 else
31933 echo "not updating unwritable cache $cache_file"
31934 fi
31935 fi
31936 rm -f confcache
31937
31938
31939 CPP_MT_FLAG=
31940 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31941
31942
31943 THREADS_LINK=
31944 THREADS_CFLAGS=
31945
31946 if test "$wxUSE_THREADS" = "yes" ; then
31947 if test "$USE_BEOS" = 1; then
31948 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
31949 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31950 wxUSE_THREADS="no"
31951 fi
31952 fi
31953
31954 if test "$wxUSE_THREADS" = "yes" ; then
31955
31956
31957 THREAD_OPTS="-pthread"
31958 case "${host}" in
31959 *-*-solaris2* | *-*-sunos4* )
31960 if test "x$GCC" = "xyes"; then
31961 THREAD_OPTS="-pthreads $THREAD_OPTS"
31962 else
31963 THREAD_OPTS="-mt $THREAD_OPTS"
31964 fi
31965 ;;
31966 *-*-freebsd*)
31967 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
31968 ;;
31969 *-*-darwin* | *-*-cygwin* )
31970 THREAD_OPTS=""
31971 ;;
31972 *-*-aix*)
31973 THREAD_OPTS="pthreads"
31974 ;;
31975 *-hp-hpux* )
31976 if test "x$GCC" != "xyes"; then
31977 THREAD_OPTS=""
31978 fi
31979 ;;
31980
31981 *-*-irix* )
31982 if test "x$GCC" = "xyes"; then
31983 THREAD_OPTS=""
31984 fi
31985 ;;
31986
31987 *-*-*UnixWare*)
31988 if test "x$GCC" != "xyes"; then
31989 THREAD_OPTS="-Ethread"
31990 fi
31991 ;;
31992 esac
31993
31994 THREAD_OPTS="$THREAD_OPTS pthread none"
31995
31996 THREADS_OK=no
31997 for flag in $THREAD_OPTS; do
31998 case $flag in
31999 none)
32000 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
32001 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
32002 ;;
32003
32004 -*)
32005 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
32006 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
32007 THREADS_CFLAGS="$flag"
32008 ;;
32009
32010 *)
32011 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
32012 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
32013 THREADS_LINK="-l$flag"
32014 ;;
32015 esac
32016
32017 save_LIBS="$LIBS"
32018 save_CFLAGS="$CFLAGS"
32019 LIBS="$THREADS_LINK $LIBS"
32020 CFLAGS="$THREADS_CFLAGS $CFLAGS"
32021
32022 cat >conftest.$ac_ext <<_ACEOF
32023 /* confdefs.h. */
32024 _ACEOF
32025 cat confdefs.h >>conftest.$ac_ext
32026 cat >>conftest.$ac_ext <<_ACEOF
32027 /* end confdefs.h. */
32028 #include <pthread.h>
32029 int
32030 main ()
32031 {
32032 pthread_create(0,0,0,0);
32033 ;
32034 return 0;
32035 }
32036 _ACEOF
32037 rm -f conftest.$ac_objext conftest$ac_exeext
32038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32039 (eval $ac_link) 2>conftest.er1
32040 ac_status=$?
32041 grep -v '^ *+' conftest.er1 >conftest.err
32042 rm -f conftest.er1
32043 cat conftest.err >&5
32044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32045 (exit $ac_status); } &&
32046 { ac_try='test -z "$ac_c_werror_flag"
32047 || test ! -s conftest.err'
32048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32049 (eval $ac_try) 2>&5
32050 ac_status=$?
32051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32052 (exit $ac_status); }; } &&
32053 { ac_try='test -s conftest$ac_exeext'
32054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32055 (eval $ac_try) 2>&5
32056 ac_status=$?
32057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32058 (exit $ac_status); }; }; then
32059 THREADS_OK=yes
32060 else
32061 echo "$as_me: failed program was:" >&5
32062 sed 's/^/| /' conftest.$ac_ext >&5
32063
32064 fi
32065 rm -f conftest.err conftest.$ac_objext \
32066 conftest$ac_exeext conftest.$ac_ext
32067
32068 LIBS="$save_LIBS"
32069 CFLAGS="$save_CFLAGS"
32070
32071 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
32072 echo "${ECHO_T}$THREADS_OK" >&6
32073 if test "x$THREADS_OK" = "xyes"; then
32074 break;
32075 fi
32076
32077 THREADS_LINK=""
32078 THREADS_CFLAGS=""
32079 done
32080
32081 if test "x$THREADS_OK" != "xyes"; then
32082 wxUSE_THREADS=no
32083 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
32084 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
32085 else
32086 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
32087 LIBS="$THREADS_LINK $LIBS"
32088
32089 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
32090 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
32091 flag=no
32092 case "${host}" in
32093 *-aix*)
32094 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
32095 flag="-D_THREAD_SAFE"
32096 ;;
32097 *-freebsd*)
32098 flag="-D_THREAD_SAFE"
32099 ;;
32100 *-hp-hpux* )
32101 flag="-D_REENTRANT"
32102 if test "x$GCC" != "xyes"; then
32103 flag="$flag -D_RWSTD_MULTI_THREAD"
32104
32105 LIBS="$LIBS -lcma"
32106 fi
32107 ;;
32108 *solaris* | alpha*-osf*)
32109 flag="-D_REENTRANT"
32110 ;;
32111 esac
32112 echo "$as_me:$LINENO: result: ${flag}" >&5
32113 echo "${ECHO_T}${flag}" >&6
32114 if test "x$flag" != xno; then
32115 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
32116 fi
32117
32118 if test "x$THREADS_CFLAGS" != "x"; then
32119 CFLAGS="$CFLAGS $THREADS_CFLAGS"
32120 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
32121 fi
32122 fi
32123 fi
32124
32125 if test "$wxUSE_THREADS" = "yes" ; then
32126
32127 for ac_func in thr_setconcurrency
32128 do
32129 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32130 echo "$as_me:$LINENO: checking for $ac_func" >&5
32131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32132 if eval "test \"\${$as_ac_var+set}\" = set"; then
32133 echo $ECHO_N "(cached) $ECHO_C" >&6
32134 else
32135 cat >conftest.$ac_ext <<_ACEOF
32136 /* confdefs.h. */
32137 _ACEOF
32138 cat confdefs.h >>conftest.$ac_ext
32139 cat >>conftest.$ac_ext <<_ACEOF
32140 /* end confdefs.h. */
32141 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32142 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32143 #define $ac_func innocuous_$ac_func
32144
32145 /* System header to define __stub macros and hopefully few prototypes,
32146 which can conflict with char $ac_func (); below.
32147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32148 <limits.h> exists even on freestanding compilers. */
32149
32150 #ifdef __STDC__
32151 # include <limits.h>
32152 #else
32153 # include <assert.h>
32154 #endif
32155
32156 #undef $ac_func
32157
32158 /* Override any gcc2 internal prototype to avoid an error. */
32159 #ifdef __cplusplus
32160 extern "C"
32161 {
32162 #endif
32163 /* We use char because int might match the return type of a gcc2
32164 builtin and then its argument prototype would still apply. */
32165 char $ac_func ();
32166 /* The GNU C library defines this for functions which it implements
32167 to always fail with ENOSYS. Some functions are actually named
32168 something starting with __ and the normal name is an alias. */
32169 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32170 choke me
32171 #else
32172 char (*f) () = $ac_func;
32173 #endif
32174 #ifdef __cplusplus
32175 }
32176 #endif
32177
32178 int
32179 main ()
32180 {
32181 return f != $ac_func;
32182 ;
32183 return 0;
32184 }
32185 _ACEOF
32186 rm -f conftest.$ac_objext conftest$ac_exeext
32187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32188 (eval $ac_link) 2>conftest.er1
32189 ac_status=$?
32190 grep -v '^ *+' conftest.er1 >conftest.err
32191 rm -f conftest.er1
32192 cat conftest.err >&5
32193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32194 (exit $ac_status); } &&
32195 { ac_try='test -z "$ac_c_werror_flag"
32196 || test ! -s conftest.err'
32197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32198 (eval $ac_try) 2>&5
32199 ac_status=$?
32200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32201 (exit $ac_status); }; } &&
32202 { ac_try='test -s conftest$ac_exeext'
32203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32204 (eval $ac_try) 2>&5
32205 ac_status=$?
32206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32207 (exit $ac_status); }; }; then
32208 eval "$as_ac_var=yes"
32209 else
32210 echo "$as_me: failed program was:" >&5
32211 sed 's/^/| /' conftest.$ac_ext >&5
32212
32213 eval "$as_ac_var=no"
32214 fi
32215 rm -f conftest.err conftest.$ac_objext \
32216 conftest$ac_exeext conftest.$ac_ext
32217 fi
32218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32219 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32220 if test `eval echo '${'$as_ac_var'}'` = yes; then
32221 cat >>confdefs.h <<_ACEOF
32222 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32223 _ACEOF
32224
32225 fi
32226 done
32227
32228
32229
32230 for ac_header in sched.h
32231 do
32232 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32233 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32234 echo "$as_me:$LINENO: checking for $ac_header" >&5
32235 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32236 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32237 echo $ECHO_N "(cached) $ECHO_C" >&6
32238 fi
32239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32240 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32241 else
32242 # Is the header compilable?
32243 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32244 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32245 cat >conftest.$ac_ext <<_ACEOF
32246 /* confdefs.h. */
32247 _ACEOF
32248 cat confdefs.h >>conftest.$ac_ext
32249 cat >>conftest.$ac_ext <<_ACEOF
32250 /* end confdefs.h. */
32251 $ac_includes_default
32252 #include <$ac_header>
32253 _ACEOF
32254 rm -f conftest.$ac_objext
32255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32256 (eval $ac_compile) 2>conftest.er1
32257 ac_status=$?
32258 grep -v '^ *+' conftest.er1 >conftest.err
32259 rm -f conftest.er1
32260 cat conftest.err >&5
32261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32262 (exit $ac_status); } &&
32263 { ac_try='test -z "$ac_c_werror_flag"
32264 || test ! -s conftest.err'
32265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32266 (eval $ac_try) 2>&5
32267 ac_status=$?
32268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32269 (exit $ac_status); }; } &&
32270 { ac_try='test -s conftest.$ac_objext'
32271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32272 (eval $ac_try) 2>&5
32273 ac_status=$?
32274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32275 (exit $ac_status); }; }; then
32276 ac_header_compiler=yes
32277 else
32278 echo "$as_me: failed program was:" >&5
32279 sed 's/^/| /' conftest.$ac_ext >&5
32280
32281 ac_header_compiler=no
32282 fi
32283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32284 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32285 echo "${ECHO_T}$ac_header_compiler" >&6
32286
32287 # Is the header present?
32288 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32289 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32290 cat >conftest.$ac_ext <<_ACEOF
32291 /* confdefs.h. */
32292 _ACEOF
32293 cat confdefs.h >>conftest.$ac_ext
32294 cat >>conftest.$ac_ext <<_ACEOF
32295 /* end confdefs.h. */
32296 #include <$ac_header>
32297 _ACEOF
32298 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32299 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32300 ac_status=$?
32301 grep -v '^ *+' conftest.er1 >conftest.err
32302 rm -f conftest.er1
32303 cat conftest.err >&5
32304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32305 (exit $ac_status); } >/dev/null; then
32306 if test -s conftest.err; then
32307 ac_cpp_err=$ac_c_preproc_warn_flag
32308 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32309 else
32310 ac_cpp_err=
32311 fi
32312 else
32313 ac_cpp_err=yes
32314 fi
32315 if test -z "$ac_cpp_err"; then
32316 ac_header_preproc=yes
32317 else
32318 echo "$as_me: failed program was:" >&5
32319 sed 's/^/| /' conftest.$ac_ext >&5
32320
32321 ac_header_preproc=no
32322 fi
32323 rm -f conftest.err conftest.$ac_ext
32324 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32325 echo "${ECHO_T}$ac_header_preproc" >&6
32326
32327 # So? What about this header?
32328 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32329 yes:no: )
32330 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32331 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32332 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32333 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32334 ac_header_preproc=yes
32335 ;;
32336 no:yes:* )
32337 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32338 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32339 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32340 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32341 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32342 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32343 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32344 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32345 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32346 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32347 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32348 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32349 (
32350 cat <<\_ASBOX
32351 ## ----------------------------------------- ##
32352 ## Report this to wx-dev@lists.wxwidgets.org ##
32353 ## ----------------------------------------- ##
32354 _ASBOX
32355 ) |
32356 sed "s/^/$as_me: WARNING: /" >&2
32357 ;;
32358 esac
32359 echo "$as_me:$LINENO: checking for $ac_header" >&5
32360 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32361 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32362 echo $ECHO_N "(cached) $ECHO_C" >&6
32363 else
32364 eval "$as_ac_Header=\$ac_header_preproc"
32365 fi
32366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32367 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32368
32369 fi
32370 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32371 cat >>confdefs.h <<_ACEOF
32372 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32373 _ACEOF
32374
32375 fi
32376
32377 done
32378
32379 if test "$ac_cv_header_sched_h" = "yes"; then
32380 echo "$as_me:$LINENO: checking for sched_yield" >&5
32381 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
32382 if test "${ac_cv_func_sched_yield+set}" = set; then
32383 echo $ECHO_N "(cached) $ECHO_C" >&6
32384 else
32385 cat >conftest.$ac_ext <<_ACEOF
32386 /* confdefs.h. */
32387 _ACEOF
32388 cat confdefs.h >>conftest.$ac_ext
32389 cat >>conftest.$ac_ext <<_ACEOF
32390 /* end confdefs.h. */
32391 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
32392 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32393 #define sched_yield innocuous_sched_yield
32394
32395 /* System header to define __stub macros and hopefully few prototypes,
32396 which can conflict with char sched_yield (); below.
32397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32398 <limits.h> exists even on freestanding compilers. */
32399
32400 #ifdef __STDC__
32401 # include <limits.h>
32402 #else
32403 # include <assert.h>
32404 #endif
32405
32406 #undef sched_yield
32407
32408 /* Override any gcc2 internal prototype to avoid an error. */
32409 #ifdef __cplusplus
32410 extern "C"
32411 {
32412 #endif
32413 /* We use char because int might match the return type of a gcc2
32414 builtin and then its argument prototype would still apply. */
32415 char sched_yield ();
32416 /* The GNU C library defines this for functions which it implements
32417 to always fail with ENOSYS. Some functions are actually named
32418 something starting with __ and the normal name is an alias. */
32419 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
32420 choke me
32421 #else
32422 char (*f) () = sched_yield;
32423 #endif
32424 #ifdef __cplusplus
32425 }
32426 #endif
32427
32428 int
32429 main ()
32430 {
32431 return f != sched_yield;
32432 ;
32433 return 0;
32434 }
32435 _ACEOF
32436 rm -f conftest.$ac_objext conftest$ac_exeext
32437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32438 (eval $ac_link) 2>conftest.er1
32439 ac_status=$?
32440 grep -v '^ *+' conftest.er1 >conftest.err
32441 rm -f conftest.er1
32442 cat conftest.err >&5
32443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32444 (exit $ac_status); } &&
32445 { ac_try='test -z "$ac_c_werror_flag"
32446 || test ! -s conftest.err'
32447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32448 (eval $ac_try) 2>&5
32449 ac_status=$?
32450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32451 (exit $ac_status); }; } &&
32452 { ac_try='test -s conftest$ac_exeext'
32453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32454 (eval $ac_try) 2>&5
32455 ac_status=$?
32456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32457 (exit $ac_status); }; }; then
32458 ac_cv_func_sched_yield=yes
32459 else
32460 echo "$as_me: failed program was:" >&5
32461 sed 's/^/| /' conftest.$ac_ext >&5
32462
32463 ac_cv_func_sched_yield=no
32464 fi
32465 rm -f conftest.err conftest.$ac_objext \
32466 conftest$ac_exeext conftest.$ac_ext
32467 fi
32468 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
32469 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
32470 if test $ac_cv_func_sched_yield = yes; then
32471 cat >>confdefs.h <<\_ACEOF
32472 #define HAVE_SCHED_YIELD 1
32473 _ACEOF
32474
32475 else
32476
32477 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
32478 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
32479 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
32480 echo $ECHO_N "(cached) $ECHO_C" >&6
32481 else
32482 ac_check_lib_save_LIBS=$LIBS
32483 LIBS="-lposix4 $LIBS"
32484 cat >conftest.$ac_ext <<_ACEOF
32485 /* confdefs.h. */
32486 _ACEOF
32487 cat confdefs.h >>conftest.$ac_ext
32488 cat >>conftest.$ac_ext <<_ACEOF
32489 /* end confdefs.h. */
32490
32491 /* Override any gcc2 internal prototype to avoid an error. */
32492 #ifdef __cplusplus
32493 extern "C"
32494 #endif
32495 /* We use char because int might match the return type of a gcc2
32496 builtin and then its argument prototype would still apply. */
32497 char sched_yield ();
32498 int
32499 main ()
32500 {
32501 sched_yield ();
32502 ;
32503 return 0;
32504 }
32505 _ACEOF
32506 rm -f conftest.$ac_objext conftest$ac_exeext
32507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32508 (eval $ac_link) 2>conftest.er1
32509 ac_status=$?
32510 grep -v '^ *+' conftest.er1 >conftest.err
32511 rm -f conftest.er1
32512 cat conftest.err >&5
32513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32514 (exit $ac_status); } &&
32515 { ac_try='test -z "$ac_c_werror_flag"
32516 || test ! -s conftest.err'
32517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32518 (eval $ac_try) 2>&5
32519 ac_status=$?
32520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32521 (exit $ac_status); }; } &&
32522 { ac_try='test -s conftest$ac_exeext'
32523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32524 (eval $ac_try) 2>&5
32525 ac_status=$?
32526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32527 (exit $ac_status); }; }; then
32528 ac_cv_lib_posix4_sched_yield=yes
32529 else
32530 echo "$as_me: failed program was:" >&5
32531 sed 's/^/| /' conftest.$ac_ext >&5
32532
32533 ac_cv_lib_posix4_sched_yield=no
32534 fi
32535 rm -f conftest.err conftest.$ac_objext \
32536 conftest$ac_exeext conftest.$ac_ext
32537 LIBS=$ac_check_lib_save_LIBS
32538 fi
32539 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
32540 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
32541 if test $ac_cv_lib_posix4_sched_yield = yes; then
32542 cat >>confdefs.h <<\_ACEOF
32543 #define HAVE_SCHED_YIELD 1
32544 _ACEOF
32545 POSIX4_LINK=" -lposix4"
32546 else
32547 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
32548 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32549
32550 fi
32551
32552
32553
32554 fi
32555
32556 fi
32557
32558 HAVE_PRIOR_FUNCS=0
32559 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
32560 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
32561 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
32562 echo $ECHO_N "(cached) $ECHO_C" >&6
32563 else
32564 cat >conftest.$ac_ext <<_ACEOF
32565 /* confdefs.h. */
32566 _ACEOF
32567 cat confdefs.h >>conftest.$ac_ext
32568 cat >>conftest.$ac_ext <<_ACEOF
32569 /* end confdefs.h. */
32570 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
32571 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32572 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
32573
32574 /* System header to define __stub macros and hopefully few prototypes,
32575 which can conflict with char pthread_attr_getschedpolicy (); below.
32576 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32577 <limits.h> exists even on freestanding compilers. */
32578
32579 #ifdef __STDC__
32580 # include <limits.h>
32581 #else
32582 # include <assert.h>
32583 #endif
32584
32585 #undef pthread_attr_getschedpolicy
32586
32587 /* Override any gcc2 internal prototype to avoid an error. */
32588 #ifdef __cplusplus
32589 extern "C"
32590 {
32591 #endif
32592 /* We use char because int might match the return type of a gcc2
32593 builtin and then its argument prototype would still apply. */
32594 char pthread_attr_getschedpolicy ();
32595 /* The GNU C library defines this for functions which it implements
32596 to always fail with ENOSYS. Some functions are actually named
32597 something starting with __ and the normal name is an alias. */
32598 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
32599 choke me
32600 #else
32601 char (*f) () = pthread_attr_getschedpolicy;
32602 #endif
32603 #ifdef __cplusplus
32604 }
32605 #endif
32606
32607 int
32608 main ()
32609 {
32610 return f != pthread_attr_getschedpolicy;
32611 ;
32612 return 0;
32613 }
32614 _ACEOF
32615 rm -f conftest.$ac_objext conftest$ac_exeext
32616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32617 (eval $ac_link) 2>conftest.er1
32618 ac_status=$?
32619 grep -v '^ *+' conftest.er1 >conftest.err
32620 rm -f conftest.er1
32621 cat conftest.err >&5
32622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32623 (exit $ac_status); } &&
32624 { ac_try='test -z "$ac_c_werror_flag"
32625 || test ! -s conftest.err'
32626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32627 (eval $ac_try) 2>&5
32628 ac_status=$?
32629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32630 (exit $ac_status); }; } &&
32631 { ac_try='test -s conftest$ac_exeext'
32632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32633 (eval $ac_try) 2>&5
32634 ac_status=$?
32635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32636 (exit $ac_status); }; }; then
32637 ac_cv_func_pthread_attr_getschedpolicy=yes
32638 else
32639 echo "$as_me: failed program was:" >&5
32640 sed 's/^/| /' conftest.$ac_ext >&5
32641
32642 ac_cv_func_pthread_attr_getschedpolicy=no
32643 fi
32644 rm -f conftest.err conftest.$ac_objext \
32645 conftest$ac_exeext conftest.$ac_ext
32646 fi
32647 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
32648 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
32649 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
32650 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
32651 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
32652 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
32653 echo $ECHO_N "(cached) $ECHO_C" >&6
32654 else
32655 cat >conftest.$ac_ext <<_ACEOF
32656 /* confdefs.h. */
32657 _ACEOF
32658 cat confdefs.h >>conftest.$ac_ext
32659 cat >>conftest.$ac_ext <<_ACEOF
32660 /* end confdefs.h. */
32661 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
32662 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32663 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
32664
32665 /* System header to define __stub macros and hopefully few prototypes,
32666 which can conflict with char pthread_attr_setschedparam (); below.
32667 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32668 <limits.h> exists even on freestanding compilers. */
32669
32670 #ifdef __STDC__
32671 # include <limits.h>
32672 #else
32673 # include <assert.h>
32674 #endif
32675
32676 #undef pthread_attr_setschedparam
32677
32678 /* Override any gcc2 internal prototype to avoid an error. */
32679 #ifdef __cplusplus
32680 extern "C"
32681 {
32682 #endif
32683 /* We use char because int might match the return type of a gcc2
32684 builtin and then its argument prototype would still apply. */
32685 char pthread_attr_setschedparam ();
32686 /* The GNU C library defines this for functions which it implements
32687 to always fail with ENOSYS. Some functions are actually named
32688 something starting with __ and the normal name is an alias. */
32689 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
32690 choke me
32691 #else
32692 char (*f) () = pthread_attr_setschedparam;
32693 #endif
32694 #ifdef __cplusplus
32695 }
32696 #endif
32697
32698 int
32699 main ()
32700 {
32701 return f != pthread_attr_setschedparam;
32702 ;
32703 return 0;
32704 }
32705 _ACEOF
32706 rm -f conftest.$ac_objext conftest$ac_exeext
32707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32708 (eval $ac_link) 2>conftest.er1
32709 ac_status=$?
32710 grep -v '^ *+' conftest.er1 >conftest.err
32711 rm -f conftest.er1
32712 cat conftest.err >&5
32713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32714 (exit $ac_status); } &&
32715 { ac_try='test -z "$ac_c_werror_flag"
32716 || test ! -s conftest.err'
32717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32718 (eval $ac_try) 2>&5
32719 ac_status=$?
32720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32721 (exit $ac_status); }; } &&
32722 { ac_try='test -s conftest$ac_exeext'
32723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32724 (eval $ac_try) 2>&5
32725 ac_status=$?
32726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32727 (exit $ac_status); }; }; then
32728 ac_cv_func_pthread_attr_setschedparam=yes
32729 else
32730 echo "$as_me: failed program was:" >&5
32731 sed 's/^/| /' conftest.$ac_ext >&5
32732
32733 ac_cv_func_pthread_attr_setschedparam=no
32734 fi
32735 rm -f conftest.err conftest.$ac_objext \
32736 conftest$ac_exeext conftest.$ac_ext
32737 fi
32738 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
32739 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
32740 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
32741 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
32742 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
32743 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
32744 echo $ECHO_N "(cached) $ECHO_C" >&6
32745 else
32746 cat >conftest.$ac_ext <<_ACEOF
32747 /* confdefs.h. */
32748 _ACEOF
32749 cat confdefs.h >>conftest.$ac_ext
32750 cat >>conftest.$ac_ext <<_ACEOF
32751 /* end confdefs.h. */
32752 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
32753 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32754 #define sched_get_priority_max innocuous_sched_get_priority_max
32755
32756 /* System header to define __stub macros and hopefully few prototypes,
32757 which can conflict with char sched_get_priority_max (); below.
32758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32759 <limits.h> exists even on freestanding compilers. */
32760
32761 #ifdef __STDC__
32762 # include <limits.h>
32763 #else
32764 # include <assert.h>
32765 #endif
32766
32767 #undef sched_get_priority_max
32768
32769 /* Override any gcc2 internal prototype to avoid an error. */
32770 #ifdef __cplusplus
32771 extern "C"
32772 {
32773 #endif
32774 /* We use char because int might match the return type of a gcc2
32775 builtin and then its argument prototype would still apply. */
32776 char sched_get_priority_max ();
32777 /* The GNU C library defines this for functions which it implements
32778 to always fail with ENOSYS. Some functions are actually named
32779 something starting with __ and the normal name is an alias. */
32780 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
32781 choke me
32782 #else
32783 char (*f) () = sched_get_priority_max;
32784 #endif
32785 #ifdef __cplusplus
32786 }
32787 #endif
32788
32789 int
32790 main ()
32791 {
32792 return f != sched_get_priority_max;
32793 ;
32794 return 0;
32795 }
32796 _ACEOF
32797 rm -f conftest.$ac_objext conftest$ac_exeext
32798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32799 (eval $ac_link) 2>conftest.er1
32800 ac_status=$?
32801 grep -v '^ *+' conftest.er1 >conftest.err
32802 rm -f conftest.er1
32803 cat conftest.err >&5
32804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32805 (exit $ac_status); } &&
32806 { ac_try='test -z "$ac_c_werror_flag"
32807 || test ! -s conftest.err'
32808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32809 (eval $ac_try) 2>&5
32810 ac_status=$?
32811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32812 (exit $ac_status); }; } &&
32813 { ac_try='test -s conftest$ac_exeext'
32814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32815 (eval $ac_try) 2>&5
32816 ac_status=$?
32817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32818 (exit $ac_status); }; }; then
32819 ac_cv_func_sched_get_priority_max=yes
32820 else
32821 echo "$as_me: failed program was:" >&5
32822 sed 's/^/| /' conftest.$ac_ext >&5
32823
32824 ac_cv_func_sched_get_priority_max=no
32825 fi
32826 rm -f conftest.err conftest.$ac_objext \
32827 conftest$ac_exeext conftest.$ac_ext
32828 fi
32829 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
32830 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
32831 if test $ac_cv_func_sched_get_priority_max = yes; then
32832 HAVE_PRIOR_FUNCS=1
32833 else
32834 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
32835 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
32836 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
32837 echo $ECHO_N "(cached) $ECHO_C" >&6
32838 else
32839 ac_check_lib_save_LIBS=$LIBS
32840 LIBS="-lposix4 $LIBS"
32841 cat >conftest.$ac_ext <<_ACEOF
32842 /* confdefs.h. */
32843 _ACEOF
32844 cat confdefs.h >>conftest.$ac_ext
32845 cat >>conftest.$ac_ext <<_ACEOF
32846 /* end confdefs.h. */
32847
32848 /* Override any gcc2 internal prototype to avoid an error. */
32849 #ifdef __cplusplus
32850 extern "C"
32851 #endif
32852 /* We use char because int might match the return type of a gcc2
32853 builtin and then its argument prototype would still apply. */
32854 char sched_get_priority_max ();
32855 int
32856 main ()
32857 {
32858 sched_get_priority_max ();
32859 ;
32860 return 0;
32861 }
32862 _ACEOF
32863 rm -f conftest.$ac_objext conftest$ac_exeext
32864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32865 (eval $ac_link) 2>conftest.er1
32866 ac_status=$?
32867 grep -v '^ *+' conftest.er1 >conftest.err
32868 rm -f conftest.er1
32869 cat conftest.err >&5
32870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32871 (exit $ac_status); } &&
32872 { ac_try='test -z "$ac_c_werror_flag"
32873 || test ! -s conftest.err'
32874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32875 (eval $ac_try) 2>&5
32876 ac_status=$?
32877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32878 (exit $ac_status); }; } &&
32879 { ac_try='test -s conftest$ac_exeext'
32880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32881 (eval $ac_try) 2>&5
32882 ac_status=$?
32883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32884 (exit $ac_status); }; }; then
32885 ac_cv_lib_posix4_sched_get_priority_max=yes
32886 else
32887 echo "$as_me: failed program was:" >&5
32888 sed 's/^/| /' conftest.$ac_ext >&5
32889
32890 ac_cv_lib_posix4_sched_get_priority_max=no
32891 fi
32892 rm -f conftest.err conftest.$ac_objext \
32893 conftest$ac_exeext conftest.$ac_ext
32894 LIBS=$ac_check_lib_save_LIBS
32895 fi
32896 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32897 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
32898 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
32899
32900 HAVE_PRIOR_FUNCS=1
32901 POSIX4_LINK=" -lposix4"
32902
32903 fi
32904
32905
32906 fi
32907
32908
32909 fi
32910
32911
32912 fi
32913
32914
32915 if test "$HAVE_PRIOR_FUNCS" = 1; then
32916 cat >>confdefs.h <<\_ACEOF
32917 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
32918 _ACEOF
32919
32920 else
32921 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
32922 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32923 fi
32924
32925 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
32926 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
32927 if test "${ac_cv_func_pthread_cancel+set}" = set; then
32928 echo $ECHO_N "(cached) $ECHO_C" >&6
32929 else
32930 cat >conftest.$ac_ext <<_ACEOF
32931 /* confdefs.h. */
32932 _ACEOF
32933 cat confdefs.h >>conftest.$ac_ext
32934 cat >>conftest.$ac_ext <<_ACEOF
32935 /* end confdefs.h. */
32936 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
32937 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32938 #define pthread_cancel innocuous_pthread_cancel
32939
32940 /* System header to define __stub macros and hopefully few prototypes,
32941 which can conflict with char pthread_cancel (); below.
32942 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32943 <limits.h> exists even on freestanding compilers. */
32944
32945 #ifdef __STDC__
32946 # include <limits.h>
32947 #else
32948 # include <assert.h>
32949 #endif
32950
32951 #undef pthread_cancel
32952
32953 /* Override any gcc2 internal prototype to avoid an error. */
32954 #ifdef __cplusplus
32955 extern "C"
32956 {
32957 #endif
32958 /* We use char because int might match the return type of a gcc2
32959 builtin and then its argument prototype would still apply. */
32960 char pthread_cancel ();
32961 /* The GNU C library defines this for functions which it implements
32962 to always fail with ENOSYS. Some functions are actually named
32963 something starting with __ and the normal name is an alias. */
32964 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
32965 choke me
32966 #else
32967 char (*f) () = pthread_cancel;
32968 #endif
32969 #ifdef __cplusplus
32970 }
32971 #endif
32972
32973 int
32974 main ()
32975 {
32976 return f != pthread_cancel;
32977 ;
32978 return 0;
32979 }
32980 _ACEOF
32981 rm -f conftest.$ac_objext conftest$ac_exeext
32982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32983 (eval $ac_link) 2>conftest.er1
32984 ac_status=$?
32985 grep -v '^ *+' conftest.er1 >conftest.err
32986 rm -f conftest.er1
32987 cat conftest.err >&5
32988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32989 (exit $ac_status); } &&
32990 { ac_try='test -z "$ac_c_werror_flag"
32991 || test ! -s conftest.err'
32992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32993 (eval $ac_try) 2>&5
32994 ac_status=$?
32995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32996 (exit $ac_status); }; } &&
32997 { ac_try='test -s conftest$ac_exeext'
32998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32999 (eval $ac_try) 2>&5
33000 ac_status=$?
33001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33002 (exit $ac_status); }; }; then
33003 ac_cv_func_pthread_cancel=yes
33004 else
33005 echo "$as_me: failed program was:" >&5
33006 sed 's/^/| /' conftest.$ac_ext >&5
33007
33008 ac_cv_func_pthread_cancel=no
33009 fi
33010 rm -f conftest.err conftest.$ac_objext \
33011 conftest$ac_exeext conftest.$ac_ext
33012 fi
33013 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
33014 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
33015 if test $ac_cv_func_pthread_cancel = yes; then
33016 cat >>confdefs.h <<\_ACEOF
33017 #define HAVE_PTHREAD_CANCEL 1
33018 _ACEOF
33019
33020 else
33021 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
33022 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
33023 fi
33024
33025
33026
33027
33028 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
33029 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
33030 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
33031 echo $ECHO_N "(cached) $ECHO_C" >&6
33032 else
33033
33034 cat >conftest.$ac_ext <<_ACEOF
33035 /* confdefs.h. */
33036 _ACEOF
33037 cat confdefs.h >>conftest.$ac_ext
33038 cat >>conftest.$ac_ext <<_ACEOF
33039 /* end confdefs.h. */
33040 #include <pthread.h>
33041 int
33042 main ()
33043 {
33044
33045 pthread_mutexattr_t attr;
33046 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
33047
33048 ;
33049 return 0;
33050 }
33051 _ACEOF
33052 rm -f conftest.$ac_objext
33053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33054 (eval $ac_compile) 2>conftest.er1
33055 ac_status=$?
33056 grep -v '^ *+' conftest.er1 >conftest.err
33057 rm -f conftest.er1
33058 cat conftest.err >&5
33059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33060 (exit $ac_status); } &&
33061 { ac_try='test -z "$ac_c_werror_flag"
33062 || test ! -s conftest.err'
33063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33064 (eval $ac_try) 2>&5
33065 ac_status=$?
33066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33067 (exit $ac_status); }; } &&
33068 { ac_try='test -s conftest.$ac_objext'
33069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33070 (eval $ac_try) 2>&5
33071 ac_status=$?
33072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33073 (exit $ac_status); }; }; then
33074
33075 wx_cv_type_pthread_mutexattr_t=yes
33076
33077 else
33078 echo "$as_me: failed program was:" >&5
33079 sed 's/^/| /' conftest.$ac_ext >&5
33080
33081
33082 wx_cv_type_pthread_mutexattr_t=no
33083
33084
33085 fi
33086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33087
33088 fi
33089 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
33090 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
33091
33092 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
33093 cat >>confdefs.h <<\_ACEOF
33094 #define HAVE_PTHREAD_MUTEXATTR_T 1
33095 _ACEOF
33096
33097 else
33098 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
33099 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
33100 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
33101 echo $ECHO_N "(cached) $ECHO_C" >&6
33102 else
33103
33104 cat >conftest.$ac_ext <<_ACEOF
33105 /* confdefs.h. */
33106 _ACEOF
33107 cat confdefs.h >>conftest.$ac_ext
33108 cat >>conftest.$ac_ext <<_ACEOF
33109 /* end confdefs.h. */
33110 #include <pthread.h>
33111 int
33112 main ()
33113 {
33114
33115 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
33116
33117 ;
33118 return 0;
33119 }
33120 _ACEOF
33121 rm -f conftest.$ac_objext
33122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33123 (eval $ac_compile) 2>conftest.er1
33124 ac_status=$?
33125 grep -v '^ *+' conftest.er1 >conftest.err
33126 rm -f conftest.er1
33127 cat conftest.err >&5
33128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33129 (exit $ac_status); } &&
33130 { ac_try='test -z "$ac_c_werror_flag"
33131 || test ! -s conftest.err'
33132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33133 (eval $ac_try) 2>&5
33134 ac_status=$?
33135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33136 (exit $ac_status); }; } &&
33137 { ac_try='test -s conftest.$ac_objext'
33138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33139 (eval $ac_try) 2>&5
33140 ac_status=$?
33141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33142 (exit $ac_status); }; }; then
33143
33144 wx_cv_type_pthread_rec_mutex_init=yes
33145
33146 else
33147 echo "$as_me: failed program was:" >&5
33148 sed 's/^/| /' conftest.$ac_ext >&5
33149
33150
33151 wx_cv_type_pthread_rec_mutex_init=no
33152
33153
33154 fi
33155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33156
33157 fi
33158 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
33159 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
33160 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
33161 cat >>confdefs.h <<\_ACEOF
33162 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
33163 _ACEOF
33164
33165 else
33166 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
33167 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
33168 fi
33169 fi
33170 fi
33171
33172 else
33173 if test "$wxUSE_THREADS" = "yes" ; then
33174 case "${host}" in
33175 *-*-mingw32* )
33176 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
33177 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
33178 if test "${wx_cv_cflags_mthread+set}" = set; then
33179 echo $ECHO_N "(cached) $ECHO_C" >&6
33180 else
33181
33182 CFLAGS_OLD="$CFLAGS"
33183 CFLAGS="$CFLAGS -mthreads"
33184 cat >conftest.$ac_ext <<_ACEOF
33185 /* confdefs.h. */
33186 _ACEOF
33187 cat confdefs.h >>conftest.$ac_ext
33188 cat >>conftest.$ac_ext <<_ACEOF
33189 /* end confdefs.h. */
33190
33191 int
33192 main ()
33193 {
33194
33195 ;
33196 return 0;
33197 }
33198 _ACEOF
33199 rm -f conftest.$ac_objext
33200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33201 (eval $ac_compile) 2>conftest.er1
33202 ac_status=$?
33203 grep -v '^ *+' conftest.er1 >conftest.err
33204 rm -f conftest.er1
33205 cat conftest.err >&5
33206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33207 (exit $ac_status); } &&
33208 { ac_try='test -z "$ac_c_werror_flag"
33209 || test ! -s conftest.err'
33210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33211 (eval $ac_try) 2>&5
33212 ac_status=$?
33213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33214 (exit $ac_status); }; } &&
33215 { ac_try='test -s conftest.$ac_objext'
33216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33217 (eval $ac_try) 2>&5
33218 ac_status=$?
33219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33220 (exit $ac_status); }; }; then
33221 wx_cv_cflags_mthread=yes
33222 else
33223 echo "$as_me: failed program was:" >&5
33224 sed 's/^/| /' conftest.$ac_ext >&5
33225
33226 wx_cv_cflags_mthread=no
33227
33228 fi
33229 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33230
33231
33232 fi
33233 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
33234 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
33235
33236 if test "$wx_cv_cflags_mthread" = "yes"; then
33237 CXXFLAGS="$CXXFLAGS -mthreads"
33238 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
33239 LDFLAGS="$LDFLAGS -mthreads"
33240 else
33241 CFLAGS="$CFLAGS_OLD"
33242 fi
33243 ;;
33244 *-pc-os2*emx )
33245 CFLAGS="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
33246 CXXFLAGS="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
33247 LDFLAGS="$LDFLAGS -Zmt"
33248 ;;
33249 esac
33250 fi
33251 fi
33252
33253 if test "$wxUSE_THREADS" = "yes"; then
33254 cat >>confdefs.h <<\_ACEOF
33255 #define wxUSE_THREADS 1
33256 _ACEOF
33257
33258
33259 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
33260 else
33261 if test "$ac_cv_func_strtok_r" = "yes"; then
33262 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
33263 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
33264 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
33265 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
33266 echo "$as_me:$LINENO: result: yes" >&5
33267 echo "${ECHO_T}yes" >&6
33268 else
33269 echo "$as_me:$LINENO: result: no" >&5
33270 echo "${ECHO_T}no" >&6
33271 fi
33272 fi
33273 fi
33274
33275 if test "$WXGTK20" = 1 ; then
33276 cat >>confdefs.h <<_ACEOF
33277 #define __WXGTK20__ $WXGTK20
33278 _ACEOF
33279
33280 WXGTK12=1
33281 fi
33282
33283 if test "$WXGTK12" = 1 ; then
33284 cat >>confdefs.h <<_ACEOF
33285 #define __WXGTK12__ $WXGTK12
33286 _ACEOF
33287
33288 fi
33289
33290 if test "$WXGTK127" = 1 ; then
33291 cat >>confdefs.h <<_ACEOF
33292 #define __WXGTK127__ $WXGTK127
33293 _ACEOF
33294
33295 fi
33296
33297 if test "$WXGPE" = 1 ; then
33298 cat >>confdefs.h <<_ACEOF
33299 #define __WXGPE__ $WXGPE
33300 _ACEOF
33301
33302 fi
33303
33304 WXDEBUG=
33305
33306 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
33307 WXDEBUG="-g"
33308 wxUSE_OPTIMISE=no
33309 fi
33310
33311 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
33312 wxUSE_DEBUG_INFO=yes
33313 WXDEBUG="-ggdb"
33314 fi
33315
33316 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
33317 cat >>confdefs.h <<\_ACEOF
33318 #define WXDEBUG 1
33319 _ACEOF
33320
33321 WXDEBUG_DEFINE="-D__WXDEBUG__"
33322 else
33323 if test "$wxUSE_GTK" = 1 ; then
33324 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
33325 fi
33326 fi
33327
33328 if test "$wxUSE_MEM_TRACING" = "yes" ; then
33329 cat >>confdefs.h <<\_ACEOF
33330 #define wxUSE_MEMORY_TRACING 1
33331 _ACEOF
33332
33333 cat >>confdefs.h <<\_ACEOF
33334 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
33335 _ACEOF
33336
33337 cat >>confdefs.h <<\_ACEOF
33338 #define wxUSE_DEBUG_NEW_ALWAYS 1
33339 _ACEOF
33340
33341 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
33342 fi
33343
33344 if test "$wxUSE_DMALLOC" = "yes" ; then
33345 DMALLOC_LIBS="-ldmalloc"
33346 fi
33347
33348 PROFILE=
33349 if test "$wxUSE_PROFILE" = "yes" ; then
33350 PROFILE=" -pg"
33351 fi
33352
33353 CODE_GEN_FLAGS=
33354 CODE_GEN_FLAGS_CXX=
33355 if test "$GCC" = "yes" ; then
33356 if test "$wxUSE_NO_RTTI" = "yes" ; then
33357 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
33358 fi
33359 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33360 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
33361 fi
33362 if test "$wxUSE_PERMISSIVE" = "yes" ; then
33363 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
33364 fi
33365
33366 case "${host}" in
33367 powerpc*-*-aix* )
33368 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
33369 ;;
33370 *-hppa* )
33371 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
33372 ;;
33373 esac
33374 fi
33375
33376 OPTIMISE=
33377 if test "$wxUSE_OPTIMISE" = "no" ; then
33378 if test "$GCC" = yes ; then
33379 OPTIMISE="-O0"
33380 fi
33381 else
33382 if test "$GCC" = yes ; then
33383 OPTIMISE="-O2"
33384
33385 case "${host}" in
33386 i586-*-*|i686-*-* )
33387 OPTIMISE="${OPTIMISE} "
33388 ;;
33389 esac
33390 else
33391 OPTIMISE="-O"
33392 fi
33393 fi
33394
33395
33396 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
33397 cat >>confdefs.h <<\_ACEOF
33398 #define WXWIN_COMPATIBILITY_2_2 1
33399 _ACEOF
33400
33401
33402 WXWIN_COMPATIBILITY_2_4="yes"
33403 fi
33404
33405 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
33406 cat >>confdefs.h <<\_ACEOF
33407 #define WXWIN_COMPATIBILITY_2_4 1
33408 _ACEOF
33409
33410 fi
33411
33412
33413 if test "$wxUSE_GUI" = "yes"; then
33414 cat >>confdefs.h <<\_ACEOF
33415 #define wxUSE_GUI 1
33416 _ACEOF
33417
33418
33419 else
33420 cat >>confdefs.h <<\_ACEOF
33421 #define wxUSE_NOGUI 1
33422 _ACEOF
33423
33424 fi
33425
33426
33427 if test "$wxUSE_UNIX" = "yes"; then
33428 cat >>confdefs.h <<\_ACEOF
33429 #define wxUSE_UNIX 1
33430 _ACEOF
33431
33432 fi
33433
33434
33435 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33436
33437 HAVE_DL_FUNCS=0
33438 HAVE_SHL_FUNCS=0
33439 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33440 if test "$USE_DARWIN" = 1; then
33441 HAVE_DL_FUNCS=1
33442 else
33443
33444 for ac_func in dlopen
33445 do
33446 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33447 echo "$as_me:$LINENO: checking for $ac_func" >&5
33448 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33449 if eval "test \"\${$as_ac_var+set}\" = set"; then
33450 echo $ECHO_N "(cached) $ECHO_C" >&6
33451 else
33452 cat >conftest.$ac_ext <<_ACEOF
33453 /* confdefs.h. */
33454 _ACEOF
33455 cat confdefs.h >>conftest.$ac_ext
33456 cat >>conftest.$ac_ext <<_ACEOF
33457 /* end confdefs.h. */
33458 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33459 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33460 #define $ac_func innocuous_$ac_func
33461
33462 /* System header to define __stub macros and hopefully few prototypes,
33463 which can conflict with char $ac_func (); below.
33464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33465 <limits.h> exists even on freestanding compilers. */
33466
33467 #ifdef __STDC__
33468 # include <limits.h>
33469 #else
33470 # include <assert.h>
33471 #endif
33472
33473 #undef $ac_func
33474
33475 /* Override any gcc2 internal prototype to avoid an error. */
33476 #ifdef __cplusplus
33477 extern "C"
33478 {
33479 #endif
33480 /* We use char because int might match the return type of a gcc2
33481 builtin and then its argument prototype would still apply. */
33482 char $ac_func ();
33483 /* The GNU C library defines this for functions which it implements
33484 to always fail with ENOSYS. Some functions are actually named
33485 something starting with __ and the normal name is an alias. */
33486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33487 choke me
33488 #else
33489 char (*f) () = $ac_func;
33490 #endif
33491 #ifdef __cplusplus
33492 }
33493 #endif
33494
33495 int
33496 main ()
33497 {
33498 return f != $ac_func;
33499 ;
33500 return 0;
33501 }
33502 _ACEOF
33503 rm -f conftest.$ac_objext conftest$ac_exeext
33504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33505 (eval $ac_link) 2>conftest.er1
33506 ac_status=$?
33507 grep -v '^ *+' conftest.er1 >conftest.err
33508 rm -f conftest.er1
33509 cat conftest.err >&5
33510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33511 (exit $ac_status); } &&
33512 { ac_try='test -z "$ac_c_werror_flag"
33513 || test ! -s conftest.err'
33514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33515 (eval $ac_try) 2>&5
33516 ac_status=$?
33517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33518 (exit $ac_status); }; } &&
33519 { ac_try='test -s conftest$ac_exeext'
33520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33521 (eval $ac_try) 2>&5
33522 ac_status=$?
33523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33524 (exit $ac_status); }; }; then
33525 eval "$as_ac_var=yes"
33526 else
33527 echo "$as_me: failed program was:" >&5
33528 sed 's/^/| /' conftest.$ac_ext >&5
33529
33530 eval "$as_ac_var=no"
33531 fi
33532 rm -f conftest.err conftest.$ac_objext \
33533 conftest$ac_exeext conftest.$ac_ext
33534 fi
33535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33536 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33537 if test `eval echo '${'$as_ac_var'}'` = yes; then
33538 cat >>confdefs.h <<_ACEOF
33539 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33540 _ACEOF
33541
33542 cat >>confdefs.h <<\_ACEOF
33543 #define HAVE_DLOPEN 1
33544 _ACEOF
33545
33546 HAVE_DL_FUNCS=1
33547
33548 else
33549
33550 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
33551 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
33552 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
33553 echo $ECHO_N "(cached) $ECHO_C" >&6
33554 else
33555 ac_check_lib_save_LIBS=$LIBS
33556 LIBS="-ldl $LIBS"
33557 cat >conftest.$ac_ext <<_ACEOF
33558 /* confdefs.h. */
33559 _ACEOF
33560 cat confdefs.h >>conftest.$ac_ext
33561 cat >>conftest.$ac_ext <<_ACEOF
33562 /* end confdefs.h. */
33563
33564 /* Override any gcc2 internal prototype to avoid an error. */
33565 #ifdef __cplusplus
33566 extern "C"
33567 #endif
33568 /* We use char because int might match the return type of a gcc2
33569 builtin and then its argument prototype would still apply. */
33570 char dlopen ();
33571 int
33572 main ()
33573 {
33574 dlopen ();
33575 ;
33576 return 0;
33577 }
33578 _ACEOF
33579 rm -f conftest.$ac_objext conftest$ac_exeext
33580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33581 (eval $ac_link) 2>conftest.er1
33582 ac_status=$?
33583 grep -v '^ *+' conftest.er1 >conftest.err
33584 rm -f conftest.er1
33585 cat conftest.err >&5
33586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33587 (exit $ac_status); } &&
33588 { ac_try='test -z "$ac_c_werror_flag"
33589 || test ! -s conftest.err'
33590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33591 (eval $ac_try) 2>&5
33592 ac_status=$?
33593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33594 (exit $ac_status); }; } &&
33595 { ac_try='test -s conftest$ac_exeext'
33596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33597 (eval $ac_try) 2>&5
33598 ac_status=$?
33599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33600 (exit $ac_status); }; }; then
33601 ac_cv_lib_dl_dlopen=yes
33602 else
33603 echo "$as_me: failed program was:" >&5
33604 sed 's/^/| /' conftest.$ac_ext >&5
33605
33606 ac_cv_lib_dl_dlopen=no
33607 fi
33608 rm -f conftest.err conftest.$ac_objext \
33609 conftest$ac_exeext conftest.$ac_ext
33610 LIBS=$ac_check_lib_save_LIBS
33611 fi
33612 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
33613 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
33614 if test $ac_cv_lib_dl_dlopen = yes; then
33615
33616 cat >>confdefs.h <<\_ACEOF
33617 #define HAVE_DLOPEN 1
33618 _ACEOF
33619
33620 HAVE_DL_FUNCS=1
33621 DL_LINK=" -ldl$DL_LINK"
33622
33623 else
33624
33625
33626 for ac_func in shl_load
33627 do
33628 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33629 echo "$as_me:$LINENO: checking for $ac_func" >&5
33630 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33631 if eval "test \"\${$as_ac_var+set}\" = set"; then
33632 echo $ECHO_N "(cached) $ECHO_C" >&6
33633 else
33634 cat >conftest.$ac_ext <<_ACEOF
33635 /* confdefs.h. */
33636 _ACEOF
33637 cat confdefs.h >>conftest.$ac_ext
33638 cat >>conftest.$ac_ext <<_ACEOF
33639 /* end confdefs.h. */
33640 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33641 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33642 #define $ac_func innocuous_$ac_func
33643
33644 /* System header to define __stub macros and hopefully few prototypes,
33645 which can conflict with char $ac_func (); below.
33646 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33647 <limits.h> exists even on freestanding compilers. */
33648
33649 #ifdef __STDC__
33650 # include <limits.h>
33651 #else
33652 # include <assert.h>
33653 #endif
33654
33655 #undef $ac_func
33656
33657 /* Override any gcc2 internal prototype to avoid an error. */
33658 #ifdef __cplusplus
33659 extern "C"
33660 {
33661 #endif
33662 /* We use char because int might match the return type of a gcc2
33663 builtin and then its argument prototype would still apply. */
33664 char $ac_func ();
33665 /* The GNU C library defines this for functions which it implements
33666 to always fail with ENOSYS. Some functions are actually named
33667 something starting with __ and the normal name is an alias. */
33668 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33669 choke me
33670 #else
33671 char (*f) () = $ac_func;
33672 #endif
33673 #ifdef __cplusplus
33674 }
33675 #endif
33676
33677 int
33678 main ()
33679 {
33680 return f != $ac_func;
33681 ;
33682 return 0;
33683 }
33684 _ACEOF
33685 rm -f conftest.$ac_objext conftest$ac_exeext
33686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33687 (eval $ac_link) 2>conftest.er1
33688 ac_status=$?
33689 grep -v '^ *+' conftest.er1 >conftest.err
33690 rm -f conftest.er1
33691 cat conftest.err >&5
33692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33693 (exit $ac_status); } &&
33694 { ac_try='test -z "$ac_c_werror_flag"
33695 || test ! -s conftest.err'
33696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33697 (eval $ac_try) 2>&5
33698 ac_status=$?
33699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33700 (exit $ac_status); }; } &&
33701 { ac_try='test -s conftest$ac_exeext'
33702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33703 (eval $ac_try) 2>&5
33704 ac_status=$?
33705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33706 (exit $ac_status); }; }; then
33707 eval "$as_ac_var=yes"
33708 else
33709 echo "$as_me: failed program was:" >&5
33710 sed 's/^/| /' conftest.$ac_ext >&5
33711
33712 eval "$as_ac_var=no"
33713 fi
33714 rm -f conftest.err conftest.$ac_objext \
33715 conftest$ac_exeext conftest.$ac_ext
33716 fi
33717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33718 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33719 if test `eval echo '${'$as_ac_var'}'` = yes; then
33720 cat >>confdefs.h <<_ACEOF
33721 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33722 _ACEOF
33723
33724 cat >>confdefs.h <<\_ACEOF
33725 #define HAVE_SHL_LOAD 1
33726 _ACEOF
33727
33728 HAVE_SHL_FUNCS=1
33729
33730 else
33731
33732 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
33733 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
33734 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
33735 echo $ECHO_N "(cached) $ECHO_C" >&6
33736 else
33737 ac_check_lib_save_LIBS=$LIBS
33738 LIBS="-lshl_load $LIBS"
33739 cat >conftest.$ac_ext <<_ACEOF
33740 /* confdefs.h. */
33741 _ACEOF
33742 cat confdefs.h >>conftest.$ac_ext
33743 cat >>conftest.$ac_ext <<_ACEOF
33744 /* end confdefs.h. */
33745
33746 /* Override any gcc2 internal prototype to avoid an error. */
33747 #ifdef __cplusplus
33748 extern "C"
33749 #endif
33750 /* We use char because int might match the return type of a gcc2
33751 builtin and then its argument prototype would still apply. */
33752 char dld ();
33753 int
33754 main ()
33755 {
33756 dld ();
33757 ;
33758 return 0;
33759 }
33760 _ACEOF
33761 rm -f conftest.$ac_objext conftest$ac_exeext
33762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33763 (eval $ac_link) 2>conftest.er1
33764 ac_status=$?
33765 grep -v '^ *+' conftest.er1 >conftest.err
33766 rm -f conftest.er1
33767 cat conftest.err >&5
33768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33769 (exit $ac_status); } &&
33770 { ac_try='test -z "$ac_c_werror_flag"
33771 || test ! -s conftest.err'
33772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33773 (eval $ac_try) 2>&5
33774 ac_status=$?
33775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33776 (exit $ac_status); }; } &&
33777 { ac_try='test -s conftest$ac_exeext'
33778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33779 (eval $ac_try) 2>&5
33780 ac_status=$?
33781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33782 (exit $ac_status); }; }; then
33783 ac_cv_lib_shl_load_dld=yes
33784 else
33785 echo "$as_me: failed program was:" >&5
33786 sed 's/^/| /' conftest.$ac_ext >&5
33787
33788 ac_cv_lib_shl_load_dld=no
33789 fi
33790 rm -f conftest.err conftest.$ac_objext \
33791 conftest$ac_exeext conftest.$ac_ext
33792 LIBS=$ac_check_lib_save_LIBS
33793 fi
33794 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
33795 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
33796 if test $ac_cv_lib_shl_load_dld = yes; then
33797
33798 HAVE_SHL_FUNCS=1
33799 DL_LINK=" -ldld$DL_LINK"
33800
33801 fi
33802
33803
33804 fi
33805 done
33806
33807
33808 fi
33809
33810
33811 fi
33812 done
33813
33814
33815 if test "$HAVE_DL_FUNCS" = 1; then
33816
33817 for ac_func in dlerror
33818 do
33819 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33820 echo "$as_me:$LINENO: checking for $ac_func" >&5
33821 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33822 if eval "test \"\${$as_ac_var+set}\" = set"; then
33823 echo $ECHO_N "(cached) $ECHO_C" >&6
33824 else
33825 cat >conftest.$ac_ext <<_ACEOF
33826 /* confdefs.h. */
33827 _ACEOF
33828 cat confdefs.h >>conftest.$ac_ext
33829 cat >>conftest.$ac_ext <<_ACEOF
33830 /* end confdefs.h. */
33831 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33832 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33833 #define $ac_func innocuous_$ac_func
33834
33835 /* System header to define __stub macros and hopefully few prototypes,
33836 which can conflict with char $ac_func (); below.
33837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33838 <limits.h> exists even on freestanding compilers. */
33839
33840 #ifdef __STDC__
33841 # include <limits.h>
33842 #else
33843 # include <assert.h>
33844 #endif
33845
33846 #undef $ac_func
33847
33848 /* Override any gcc2 internal prototype to avoid an error. */
33849 #ifdef __cplusplus
33850 extern "C"
33851 {
33852 #endif
33853 /* We use char because int might match the return type of a gcc2
33854 builtin and then its argument prototype would still apply. */
33855 char $ac_func ();
33856 /* The GNU C library defines this for functions which it implements
33857 to always fail with ENOSYS. Some functions are actually named
33858 something starting with __ and the normal name is an alias. */
33859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33860 choke me
33861 #else
33862 char (*f) () = $ac_func;
33863 #endif
33864 #ifdef __cplusplus
33865 }
33866 #endif
33867
33868 int
33869 main ()
33870 {
33871 return f != $ac_func;
33872 ;
33873 return 0;
33874 }
33875 _ACEOF
33876 rm -f conftest.$ac_objext conftest$ac_exeext
33877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33878 (eval $ac_link) 2>conftest.er1
33879 ac_status=$?
33880 grep -v '^ *+' conftest.er1 >conftest.err
33881 rm -f conftest.er1
33882 cat conftest.err >&5
33883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33884 (exit $ac_status); } &&
33885 { ac_try='test -z "$ac_c_werror_flag"
33886 || test ! -s conftest.err'
33887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33888 (eval $ac_try) 2>&5
33889 ac_status=$?
33890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33891 (exit $ac_status); }; } &&
33892 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
33898 eval "$as_ac_var=yes"
33899 else
33900 echo "$as_me: failed program was:" >&5
33901 sed 's/^/| /' conftest.$ac_ext >&5
33902
33903 eval "$as_ac_var=no"
33904 fi
33905 rm -f conftest.err conftest.$ac_objext \
33906 conftest$ac_exeext conftest.$ac_ext
33907 fi
33908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33910 if test `eval echo '${'$as_ac_var'}'` = yes; then
33911 cat >>confdefs.h <<_ACEOF
33912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33913 _ACEOF
33914 cat >>confdefs.h <<\_ACEOF
33915 #define HAVE_DLERROR 1
33916 _ACEOF
33917
33918 else
33919
33920 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
33921 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
33922 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
33923 echo $ECHO_N "(cached) $ECHO_C" >&6
33924 else
33925 ac_check_lib_save_LIBS=$LIBS
33926 LIBS="-ldl $LIBS"
33927 cat >conftest.$ac_ext <<_ACEOF
33928 /* confdefs.h. */
33929 _ACEOF
33930 cat confdefs.h >>conftest.$ac_ext
33931 cat >>conftest.$ac_ext <<_ACEOF
33932 /* end confdefs.h. */
33933
33934 /* Override any gcc2 internal prototype to avoid an error. */
33935 #ifdef __cplusplus
33936 extern "C"
33937 #endif
33938 /* We use char because int might match the return type of a gcc2
33939 builtin and then its argument prototype would still apply. */
33940 char dlerror ();
33941 int
33942 main ()
33943 {
33944 dlerror ();
33945 ;
33946 return 0;
33947 }
33948 _ACEOF
33949 rm -f conftest.$ac_objext conftest$ac_exeext
33950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33951 (eval $ac_link) 2>conftest.er1
33952 ac_status=$?
33953 grep -v '^ *+' conftest.er1 >conftest.err
33954 rm -f conftest.er1
33955 cat conftest.err >&5
33956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33957 (exit $ac_status); } &&
33958 { ac_try='test -z "$ac_c_werror_flag"
33959 || test ! -s conftest.err'
33960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33961 (eval $ac_try) 2>&5
33962 ac_status=$?
33963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33964 (exit $ac_status); }; } &&
33965 { ac_try='test -s conftest$ac_exeext'
33966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33967 (eval $ac_try) 2>&5
33968 ac_status=$?
33969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33970 (exit $ac_status); }; }; then
33971 ac_cv_lib_dl_dlerror=yes
33972 else
33973 echo "$as_me: failed program was:" >&5
33974 sed 's/^/| /' conftest.$ac_ext >&5
33975
33976 ac_cv_lib_dl_dlerror=no
33977 fi
33978 rm -f conftest.err conftest.$ac_objext \
33979 conftest$ac_exeext conftest.$ac_ext
33980 LIBS=$ac_check_lib_save_LIBS
33981 fi
33982 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
33983 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
33984 if test $ac_cv_lib_dl_dlerror = yes; then
33985 cat >>confdefs.h <<\_ACEOF
33986 #define HAVE_DLERROR 1
33987 _ACEOF
33988
33989 fi
33990
33991
33992
33993 fi
33994 done
33995
33996 fi
33997 fi
33998
33999 if test "$HAVE_DL_FUNCS" = 0; then
34000 if test "$HAVE_SHL_FUNCS" = 0; then
34001 if test "$USE_UNIX" = 1; then
34002 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
34003 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
34004 wxUSE_DYNAMIC_LOADER=no
34005 wxUSE_DYNLIB_CLASS=no
34006 else
34007 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
34008 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
34009 fi
34010 fi
34011 fi
34012 fi
34013 fi
34014
34015 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
34016 cat >>confdefs.h <<\_ACEOF
34017 #define wxUSE_DYNAMIC_LOADER 1
34018 _ACEOF
34019
34020 fi
34021 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
34022 cat >>confdefs.h <<\_ACEOF
34023 #define wxUSE_DYNLIB_CLASS 1
34024 _ACEOF
34025
34026 fi
34027
34028
34029
34030 if test "$wxUSE_PLUGINS" = "yes" ; then
34031 if test "$wxUSE_SHARED" = "no" ; then
34032 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
34033 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
34034 wxUSE_PLUGINS=no
34035 fi
34036 if test "$wxUSE_MONOLITHIC" = "yes" ; then
34037 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
34038 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
34039 wxUSE_PLUGINS=no
34040 fi
34041 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
34042 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
34043 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
34044 wxUSE_PLUGINS=no
34045 fi
34046 if test "$wxUSE_PLUGINS" = "yes" ; then
34047 cat >>confdefs.h <<\_ACEOF
34048 #define wxUSE_PLUGINS 1
34049 _ACEOF
34050
34051 fi
34052 fi
34053
34054
34055 if test "$wxUSE_STL" = "yes"; then
34056 cat >>confdefs.h <<\_ACEOF
34057 #define wxUSE_STL 1
34058 _ACEOF
34059
34060 fi
34061
34062 if test "$wxUSE_APPLE_IEEE" = "yes"; then
34063 cat >>confdefs.h <<\_ACEOF
34064 #define wxUSE_APPLE_IEEE 1
34065 _ACEOF
34066
34067 fi
34068
34069 if test "$wxUSE_TIMER" = "yes"; then
34070 cat >>confdefs.h <<\_ACEOF
34071 #define wxUSE_TIMER 1
34072 _ACEOF
34073
34074 fi
34075
34076 WITH_PLUGIN_SDL=0
34077 if test "$wxUSE_SOUND" = "yes"; then
34078 if test "$USE_UNIX" = "1" ; then
34079
34080 for ac_header in sys/soundcard.h
34081 do
34082 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34083 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34084 echo "$as_me:$LINENO: checking for $ac_header" >&5
34085 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34086 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34087 echo $ECHO_N "(cached) $ECHO_C" >&6
34088 fi
34089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34090 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34091 else
34092 # Is the header compilable?
34093 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34094 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34095 cat >conftest.$ac_ext <<_ACEOF
34096 /* confdefs.h. */
34097 _ACEOF
34098 cat confdefs.h >>conftest.$ac_ext
34099 cat >>conftest.$ac_ext <<_ACEOF
34100 /* end confdefs.h. */
34101 $ac_includes_default
34102 #include <$ac_header>
34103 _ACEOF
34104 rm -f conftest.$ac_objext
34105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34106 (eval $ac_compile) 2>conftest.er1
34107 ac_status=$?
34108 grep -v '^ *+' conftest.er1 >conftest.err
34109 rm -f conftest.er1
34110 cat conftest.err >&5
34111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34112 (exit $ac_status); } &&
34113 { ac_try='test -z "$ac_c_werror_flag"
34114 || test ! -s conftest.err'
34115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34116 (eval $ac_try) 2>&5
34117 ac_status=$?
34118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34119 (exit $ac_status); }; } &&
34120 { ac_try='test -s conftest.$ac_objext'
34121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34122 (eval $ac_try) 2>&5
34123 ac_status=$?
34124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34125 (exit $ac_status); }; }; then
34126 ac_header_compiler=yes
34127 else
34128 echo "$as_me: failed program was:" >&5
34129 sed 's/^/| /' conftest.$ac_ext >&5
34130
34131 ac_header_compiler=no
34132 fi
34133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34134 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34135 echo "${ECHO_T}$ac_header_compiler" >&6
34136
34137 # Is the header present?
34138 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34139 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34140 cat >conftest.$ac_ext <<_ACEOF
34141 /* confdefs.h. */
34142 _ACEOF
34143 cat confdefs.h >>conftest.$ac_ext
34144 cat >>conftest.$ac_ext <<_ACEOF
34145 /* end confdefs.h. */
34146 #include <$ac_header>
34147 _ACEOF
34148 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34149 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
34150 ac_status=$?
34151 grep -v '^ *+' conftest.er1 >conftest.err
34152 rm -f conftest.er1
34153 cat conftest.err >&5
34154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34155 (exit $ac_status); } >/dev/null; then
34156 if test -s conftest.err; then
34157 ac_cpp_err=$ac_c_preproc_warn_flag
34158 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
34159 else
34160 ac_cpp_err=
34161 fi
34162 else
34163 ac_cpp_err=yes
34164 fi
34165 if test -z "$ac_cpp_err"; then
34166 ac_header_preproc=yes
34167 else
34168 echo "$as_me: failed program was:" >&5
34169 sed 's/^/| /' conftest.$ac_ext >&5
34170
34171 ac_header_preproc=no
34172 fi
34173 rm -f conftest.err conftest.$ac_ext
34174 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34175 echo "${ECHO_T}$ac_header_preproc" >&6
34176
34177 # So? What about this header?
34178 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34179 yes:no: )
34180 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34181 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34182 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34183 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34184 ac_header_preproc=yes
34185 ;;
34186 no:yes:* )
34187 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34188 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34189 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34190 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34191 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34192 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34193 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34194 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34195 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34196 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34197 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34198 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34199 (
34200 cat <<\_ASBOX
34201 ## ----------------------------------------- ##
34202 ## Report this to wx-dev@lists.wxwidgets.org ##
34203 ## ----------------------------------------- ##
34204 _ASBOX
34205 ) |
34206 sed "s/^/$as_me: WARNING: /" >&2
34207 ;;
34208 esac
34209 echo "$as_me:$LINENO: checking for $ac_header" >&5
34210 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34211 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34212 echo $ECHO_N "(cached) $ECHO_C" >&6
34213 else
34214 eval "$as_ac_Header=\$ac_header_preproc"
34215 fi
34216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34217 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34218
34219 fi
34220 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34221 cat >>confdefs.h <<_ACEOF
34222 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34223 _ACEOF
34224
34225 fi
34226
34227 done
34228
34229
34230 if test "$wxUSE_LIBSDL" != "no"; then
34231
34232 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
34233 if test "${with_sdl_prefix+set}" = set; then
34234 withval="$with_sdl_prefix"
34235 sdl_prefix="$withval"
34236 else
34237 sdl_prefix=""
34238 fi;
34239
34240 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
34241 if test "${with_sdl_exec_prefix+set}" = set; then
34242 withval="$with_sdl_exec_prefix"
34243 sdl_exec_prefix="$withval"
34244 else
34245 sdl_exec_prefix=""
34246 fi;
34247 # Check whether --enable-sdltest or --disable-sdltest was given.
34248 if test "${enable_sdltest+set}" = set; then
34249 enableval="$enable_sdltest"
34250
34251 else
34252 enable_sdltest=yes
34253 fi;
34254
34255 if test x$sdl_exec_prefix != x ; then
34256 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
34257 if test x${SDL_CONFIG+set} != xset ; then
34258 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
34259 fi
34260 fi
34261 if test x$sdl_prefix != x ; then
34262 sdl_args="$sdl_args --prefix=$sdl_prefix"
34263 if test x${SDL_CONFIG+set} != xset ; then
34264 SDL_CONFIG=$sdl_prefix/bin/sdl-config
34265 fi
34266 fi
34267
34268
34269 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
34270 # Extract the first word of "sdl-config", so it can be a program name with args.
34271 set dummy sdl-config; ac_word=$2
34272 echo "$as_me:$LINENO: checking for $ac_word" >&5
34273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34274 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
34275 echo $ECHO_N "(cached) $ECHO_C" >&6
34276 else
34277 case $SDL_CONFIG in
34278 [\\/]* | ?:[\\/]*)
34279 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
34280 ;;
34281 *)
34282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34283 for as_dir in $PATH
34284 do
34285 IFS=$as_save_IFS
34286 test -z "$as_dir" && as_dir=.
34287 for ac_exec_ext in '' $ac_executable_extensions; do
34288 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34289 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
34290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34291 break 2
34292 fi
34293 done
34294 done
34295
34296 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
34297 ;;
34298 esac
34299 fi
34300 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
34301
34302 if test -n "$SDL_CONFIG"; then
34303 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
34304 echo "${ECHO_T}$SDL_CONFIG" >&6
34305 else
34306 echo "$as_me:$LINENO: result: no" >&5
34307 echo "${ECHO_T}no" >&6
34308 fi
34309
34310 min_sdl_version=1.2.0
34311 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
34312 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
34313 no_sdl=""
34314 if test "$SDL_CONFIG" = "no" ; then
34315 no_sdl=yes
34316 else
34317 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
34318 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
34319
34320 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
34321 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
34322 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
34323 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
34324 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
34325 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
34326 if test "x$enable_sdltest" = "xyes" ; then
34327 ac_save_CFLAGS="$CFLAGS"
34328 ac_save_LIBS="$LIBS"
34329 CFLAGS="$CFLAGS $SDL_CFLAGS"
34330 LIBS="$LIBS $SDL_LIBS"
34331 rm -f conf.sdltest
34332 if test "$cross_compiling" = yes; then
34333 echo $ac_n "cross compiling; assumed OK... $ac_c"
34334 else
34335 cat >conftest.$ac_ext <<_ACEOF
34336 /* confdefs.h. */
34337 _ACEOF
34338 cat confdefs.h >>conftest.$ac_ext
34339 cat >>conftest.$ac_ext <<_ACEOF
34340 /* end confdefs.h. */
34341
34342 #include <stdio.h>
34343 #include <stdlib.h>
34344 #include <string.h>
34345 #include "SDL.h"
34346
34347 char*
34348 my_strdup (char *str)
34349 {
34350 char *new_str;
34351
34352 if (str)
34353 {
34354 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
34355 strcpy (new_str, str);
34356 }
34357 else
34358 new_str = NULL;
34359
34360 return new_str;
34361 }
34362
34363 int main (int argc, char *argv[])
34364 {
34365 int major, minor, micro;
34366 char *tmp_version;
34367
34368 /* This hangs on some systems (?)
34369 system ("touch conf.sdltest");
34370 */
34371 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
34372
34373 /* HP/UX 9 (%@#!) writes to sscanf strings */
34374 tmp_version = my_strdup("$min_sdl_version");
34375 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
34376 printf("%s, bad version string\n", "$min_sdl_version");
34377 exit(1);
34378 }
34379
34380 if (($sdl_major_version > major) ||
34381 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
34382 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
34383 {
34384 return 0;
34385 }
34386 else
34387 {
34388 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
34389 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
34390 printf("*** best to upgrade to the required version.\n");
34391 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
34392 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
34393 printf("*** config.cache before re-running configure\n");
34394 return 1;
34395 }
34396 }
34397
34398
34399 _ACEOF
34400 rm -f conftest$ac_exeext
34401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34402 (eval $ac_link) 2>&5
34403 ac_status=$?
34404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34405 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34407 (eval $ac_try) 2>&5
34408 ac_status=$?
34409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34410 (exit $ac_status); }; }; then
34411 :
34412 else
34413 echo "$as_me: program exited with status $ac_status" >&5
34414 echo "$as_me: failed program was:" >&5
34415 sed 's/^/| /' conftest.$ac_ext >&5
34416
34417 ( exit $ac_status )
34418 no_sdl=yes
34419 fi
34420 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
34421 fi
34422 CFLAGS="$ac_save_CFLAGS"
34423 LIBS="$ac_save_LIBS"
34424 fi
34425 fi
34426 if test "x$no_sdl" = x ; then
34427 echo "$as_me:$LINENO: result: yes" >&5
34428 echo "${ECHO_T}yes" >&6
34429
34430 EXTRALIBS_SDL="$SDL_LIBS"
34431 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
34432 cat >>confdefs.h <<\_ACEOF
34433 #define wxUSE_LIBSDL 1
34434 _ACEOF
34435
34436
34437 else
34438 echo "$as_me:$LINENO: result: no" >&5
34439 echo "${ECHO_T}no" >&6
34440 if test "$SDL_CONFIG" = "no" ; then
34441 echo "*** The sdl-config script installed by SDL could not be found"
34442 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
34443 echo "*** your path, or set the SDL_CONFIG environment variable to the"
34444 echo "*** full path to sdl-config."
34445 else
34446 if test -f conf.sdltest ; then
34447 :
34448 else
34449 echo "*** Could not run SDL test program, checking why..."
34450 CFLAGS="$CFLAGS $SDL_CFLAGS"
34451 LIBS="$LIBS $SDL_LIBS"
34452 cat >conftest.$ac_ext <<_ACEOF
34453 /* confdefs.h. */
34454 _ACEOF
34455 cat confdefs.h >>conftest.$ac_ext
34456 cat >>conftest.$ac_ext <<_ACEOF
34457 /* end confdefs.h. */
34458
34459 #include <stdio.h>
34460 #include "SDL.h"
34461
34462 int main(int argc, char *argv[])
34463 { return 0; }
34464 #undef main
34465 #define main K_and_R_C_main
34466
34467 int
34468 main ()
34469 {
34470 return 0;
34471 ;
34472 return 0;
34473 }
34474 _ACEOF
34475 rm -f conftest.$ac_objext conftest$ac_exeext
34476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34477 (eval $ac_link) 2>conftest.er1
34478 ac_status=$?
34479 grep -v '^ *+' conftest.er1 >conftest.err
34480 rm -f conftest.er1
34481 cat conftest.err >&5
34482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34483 (exit $ac_status); } &&
34484 { ac_try='test -z "$ac_c_werror_flag"
34485 || test ! -s conftest.err'
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); }; } &&
34491 { ac_try='test -s conftest$ac_exeext'
34492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34493 (eval $ac_try) 2>&5
34494 ac_status=$?
34495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34496 (exit $ac_status); }; }; then
34497 echo "*** The test program compiled, but did not run. This usually means"
34498 echo "*** that the run-time linker is not finding SDL or finding the wrong"
34499 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
34500 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
34501 echo "*** to the installed location Also, make sure you have run ldconfig if that"
34502 echo "*** is required on your system"
34503 echo "***"
34504 echo "*** If you have an old version installed, it is best to remove it, although"
34505 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
34506 else
34507 echo "$as_me: failed program was:" >&5
34508 sed 's/^/| /' conftest.$ac_ext >&5
34509
34510 echo "*** The test program failed to compile or link. See the file config.log for the"
34511 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
34512 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
34513 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
34514 fi
34515 rm -f conftest.err conftest.$ac_objext \
34516 conftest$ac_exeext conftest.$ac_ext
34517 CFLAGS="$ac_save_CFLAGS"
34518 LIBS="$ac_save_LIBS"
34519 fi
34520 fi
34521 SDL_CFLAGS=""
34522 SDL_LIBS=""
34523 wxUSE_LIBSDL="no"
34524 fi
34525
34526
34527 rm -f conf.sdltest
34528
34529 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
34530 WITH_PLUGIN_SDL=1
34531 fi
34532 fi
34533 fi
34534
34535 cat >>confdefs.h <<\_ACEOF
34536 #define wxUSE_SOUND 1
34537 _ACEOF
34538
34539 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
34540 fi
34541
34542 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34543 cat >>confdefs.h <<\_ACEOF
34544 #define wxUSE_CMDLINE_PARSER 1
34545 _ACEOF
34546
34547 fi
34548
34549 if test "$wxUSE_STOPWATCH" = "yes"; then
34550 cat >>confdefs.h <<\_ACEOF
34551 #define wxUSE_STOPWATCH 1
34552 _ACEOF
34553
34554 fi
34555
34556 if test "$wxUSE_DATETIME" = "yes"; then
34557 cat >>confdefs.h <<\_ACEOF
34558 #define wxUSE_DATETIME 1
34559 _ACEOF
34560
34561 fi
34562
34563 if test "$wxUSE_FILE" = "yes"; then
34564 cat >>confdefs.h <<\_ACEOF
34565 #define wxUSE_FILE 1
34566 _ACEOF
34567
34568 fi
34569
34570 if test "$wxUSE_FFILE" = "yes"; then
34571 cat >>confdefs.h <<\_ACEOF
34572 #define wxUSE_FFILE 1
34573 _ACEOF
34574
34575 fi
34576
34577 if test "$wxUSE_FILESYSTEM" = "yes"; then
34578 cat >>confdefs.h <<\_ACEOF
34579 #define wxUSE_FILESYSTEM 1
34580 _ACEOF
34581
34582 fi
34583
34584 if test "$wxUSE_FS_ZIP" = "yes"; then
34585 cat >>confdefs.h <<\_ACEOF
34586 #define wxUSE_FS_ZIP 1
34587 _ACEOF
34588
34589 fi
34590
34591 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34592 cat >>confdefs.h <<\_ACEOF
34593 #define wxUSE_ZIPSTREAM 1
34594 _ACEOF
34595
34596 fi
34597
34598 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34599 cat >>confdefs.h <<\_ACEOF
34600 #define wxUSE_ON_FATAL_EXCEPTION 1
34601 _ACEOF
34602
34603 fi
34604
34605 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34606 cat >>confdefs.h <<\_ACEOF
34607 #define wxUSE_SNGLINST_CHECKER 1
34608 _ACEOF
34609
34610 fi
34611
34612 if test "$wxUSE_BUSYINFO" = "yes"; then
34613 cat >>confdefs.h <<\_ACEOF
34614 #define wxUSE_BUSYINFO 1
34615 _ACEOF
34616
34617 fi
34618
34619 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34620 cat >>confdefs.h <<\_ACEOF
34621 #define wxUSE_STD_IOSTREAM 1
34622 _ACEOF
34623
34624 fi
34625
34626 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34627 cat >>confdefs.h <<\_ACEOF
34628 #define wxUSE_TEXTBUFFER 1
34629 _ACEOF
34630
34631 fi
34632
34633 if test "$wxUSE_TEXTFILE" = "yes"; then
34634 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34635 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34636 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34637 else
34638 cat >>confdefs.h <<\_ACEOF
34639 #define wxUSE_TEXTFILE 1
34640 _ACEOF
34641
34642 fi
34643 fi
34644
34645 if test "$wxUSE_CONFIG" = "yes" ; then
34646 if test "$wxUSE_TEXTFILE" != "yes"; then
34647 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
34648 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34649 else
34650 cat >>confdefs.h <<\_ACEOF
34651 #define wxUSE_CONFIG 1
34652 _ACEOF
34653
34654 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
34655 fi
34656 fi
34657
34658 if test "$wxUSE_INTL" = "yes" ; then
34659 if test "$wxUSE_FILE" != "yes"; then
34660 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
34661 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34662 else
34663 cat >>confdefs.h <<\_ACEOF
34664 #define wxUSE_INTL 1
34665 _ACEOF
34666
34667 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
34668 GUIDIST="$GUIDIST INTL_DIST"
34669 fi
34670 fi
34671
34672 if test "$wxUSE_LOG" = "yes"; then
34673 cat >>confdefs.h <<\_ACEOF
34674 #define wxUSE_LOG 1
34675 _ACEOF
34676
34677
34678 if test "$wxUSE_LOGGUI" = "yes"; then
34679 cat >>confdefs.h <<\_ACEOF
34680 #define wxUSE_LOGGUI 1
34681 _ACEOF
34682
34683 fi
34684
34685 if test "$wxUSE_LOGWINDOW" = "yes"; then
34686 cat >>confdefs.h <<\_ACEOF
34687 #define wxUSE_LOGWINDOW 1
34688 _ACEOF
34689
34690 fi
34691
34692 if test "$wxUSE_LOGDIALOG" = "yes"; then
34693 cat >>confdefs.h <<\_ACEOF
34694 #define wxUSE_LOG_DIALOG 1
34695 _ACEOF
34696
34697 fi
34698 fi
34699
34700 if test "$wxUSE_LONGLONG" = "yes"; then
34701 cat >>confdefs.h <<\_ACEOF
34702 #define wxUSE_LONGLONG 1
34703 _ACEOF
34704
34705 fi
34706
34707 if test "$wxUSE_GEOMETRY" = "yes"; then
34708 cat >>confdefs.h <<\_ACEOF
34709 #define wxUSE_GEOMETRY 1
34710 _ACEOF
34711
34712 fi
34713
34714 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
34715 cat >>confdefs.h <<\_ACEOF
34716 #define wxUSE_DIALUP_MANAGER 1
34717 _ACEOF
34718
34719 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
34720 fi
34721
34722 if test "$wxUSE_STREAMS" = "yes" ; then
34723 cat >>confdefs.h <<\_ACEOF
34724 #define wxUSE_STREAMS 1
34725 _ACEOF
34726
34727 fi
34728
34729
34730 if test "$wxUSE_DATETIME" = "yes"; then
34731
34732 for ac_func in strptime
34733 do
34734 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34735 echo "$as_me:$LINENO: checking for $ac_func" >&5
34736 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34737 if eval "test \"\${$as_ac_var+set}\" = set"; then
34738 echo $ECHO_N "(cached) $ECHO_C" >&6
34739 else
34740 cat >conftest.$ac_ext <<_ACEOF
34741 /* confdefs.h. */
34742 _ACEOF
34743 cat confdefs.h >>conftest.$ac_ext
34744 cat >>conftest.$ac_ext <<_ACEOF
34745 /* end confdefs.h. */
34746 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34747 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34748 #define $ac_func innocuous_$ac_func
34749
34750 /* System header to define __stub macros and hopefully few prototypes,
34751 which can conflict with char $ac_func (); below.
34752 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34753 <limits.h> exists even on freestanding compilers. */
34754
34755 #ifdef __STDC__
34756 # include <limits.h>
34757 #else
34758 # include <assert.h>
34759 #endif
34760
34761 #undef $ac_func
34762
34763 /* Override any gcc2 internal prototype to avoid an error. */
34764 #ifdef __cplusplus
34765 extern "C"
34766 {
34767 #endif
34768 /* We use char because int might match the return type of a gcc2
34769 builtin and then its argument prototype would still apply. */
34770 char $ac_func ();
34771 /* The GNU C library defines this for functions which it implements
34772 to always fail with ENOSYS. Some functions are actually named
34773 something starting with __ and the normal name is an alias. */
34774 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34775 choke me
34776 #else
34777 char (*f) () = $ac_func;
34778 #endif
34779 #ifdef __cplusplus
34780 }
34781 #endif
34782
34783 int
34784 main ()
34785 {
34786 return f != $ac_func;
34787 ;
34788 return 0;
34789 }
34790 _ACEOF
34791 rm -f conftest.$ac_objext conftest$ac_exeext
34792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34793 (eval $ac_link) 2>conftest.er1
34794 ac_status=$?
34795 grep -v '^ *+' conftest.er1 >conftest.err
34796 rm -f conftest.er1
34797 cat conftest.err >&5
34798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34799 (exit $ac_status); } &&
34800 { ac_try='test -z "$ac_c_werror_flag"
34801 || test ! -s conftest.err'
34802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34803 (eval $ac_try) 2>&5
34804 ac_status=$?
34805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34806 (exit $ac_status); }; } &&
34807 { ac_try='test -s conftest$ac_exeext'
34808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34809 (eval $ac_try) 2>&5
34810 ac_status=$?
34811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34812 (exit $ac_status); }; }; then
34813 eval "$as_ac_var=yes"
34814 else
34815 echo "$as_me: failed program was:" >&5
34816 sed 's/^/| /' conftest.$ac_ext >&5
34817
34818 eval "$as_ac_var=no"
34819 fi
34820 rm -f conftest.err conftest.$ac_objext \
34821 conftest$ac_exeext conftest.$ac_ext
34822 fi
34823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34824 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34825 if test `eval echo '${'$as_ac_var'}'` = yes; then
34826 cat >>confdefs.h <<_ACEOF
34827 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34828 _ACEOF
34829
34830 fi
34831 done
34832
34833
34834 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
34835 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
34836 if test "${wx_cv_var_timezone+set}" = set; then
34837 echo $ECHO_N "(cached) $ECHO_C" >&6
34838 else
34839
34840 cat >conftest.$ac_ext <<_ACEOF
34841 /* confdefs.h. */
34842 _ACEOF
34843 cat confdefs.h >>conftest.$ac_ext
34844 cat >>conftest.$ac_ext <<_ACEOF
34845 /* end confdefs.h. */
34846
34847 #include <time.h>
34848
34849 int
34850 main ()
34851 {
34852
34853 int tz;
34854 tz = timezone;
34855
34856 ;
34857 return 0;
34858 }
34859 _ACEOF
34860 rm -f conftest.$ac_objext
34861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34862 (eval $ac_compile) 2>conftest.er1
34863 ac_status=$?
34864 grep -v '^ *+' conftest.er1 >conftest.err
34865 rm -f conftest.er1
34866 cat conftest.err >&5
34867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34868 (exit $ac_status); } &&
34869 { ac_try='test -z "$ac_c_werror_flag"
34870 || test ! -s conftest.err'
34871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34872 (eval $ac_try) 2>&5
34873 ac_status=$?
34874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34875 (exit $ac_status); }; } &&
34876 { ac_try='test -s conftest.$ac_objext'
34877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34878 (eval $ac_try) 2>&5
34879 ac_status=$?
34880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34881 (exit $ac_status); }; }; then
34882
34883 wx_cv_var_timezone=timezone
34884
34885 else
34886 echo "$as_me: failed program was:" >&5
34887 sed 's/^/| /' conftest.$ac_ext >&5
34888
34889
34890 cat >conftest.$ac_ext <<_ACEOF
34891 /* confdefs.h. */
34892 _ACEOF
34893 cat confdefs.h >>conftest.$ac_ext
34894 cat >>conftest.$ac_ext <<_ACEOF
34895 /* end confdefs.h. */
34896
34897 #include <time.h>
34898
34899 int
34900 main ()
34901 {
34902
34903 int tz;
34904 tz = _timezone;
34905
34906 ;
34907 return 0;
34908 }
34909 _ACEOF
34910 rm -f conftest.$ac_objext
34911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34912 (eval $ac_compile) 2>conftest.er1
34913 ac_status=$?
34914 grep -v '^ *+' conftest.er1 >conftest.err
34915 rm -f conftest.er1
34916 cat conftest.err >&5
34917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34918 (exit $ac_status); } &&
34919 { ac_try='test -z "$ac_c_werror_flag"
34920 || test ! -s conftest.err'
34921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34922 (eval $ac_try) 2>&5
34923 ac_status=$?
34924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34925 (exit $ac_status); }; } &&
34926 { ac_try='test -s conftest.$ac_objext'
34927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34928 (eval $ac_try) 2>&5
34929 ac_status=$?
34930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34931 (exit $ac_status); }; }; then
34932
34933 wx_cv_var_timezone=_timezone
34934
34935 else
34936 echo "$as_me: failed program was:" >&5
34937 sed 's/^/| /' conftest.$ac_ext >&5
34938
34939
34940 cat >conftest.$ac_ext <<_ACEOF
34941 /* confdefs.h. */
34942 _ACEOF
34943 cat confdefs.h >>conftest.$ac_ext
34944 cat >>conftest.$ac_ext <<_ACEOF
34945 /* end confdefs.h. */
34946
34947 #include <time.h>
34948
34949 int
34950 main ()
34951 {
34952
34953 int tz;
34954 tz = __timezone;
34955
34956 ;
34957 return 0;
34958 }
34959 _ACEOF
34960 rm -f conftest.$ac_objext
34961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34962 (eval $ac_compile) 2>conftest.er1
34963 ac_status=$?
34964 grep -v '^ *+' conftest.er1 >conftest.err
34965 rm -f conftest.er1
34966 cat conftest.err >&5
34967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34968 (exit $ac_status); } &&
34969 { ac_try='test -z "$ac_c_werror_flag"
34970 || test ! -s conftest.err'
34971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34972 (eval $ac_try) 2>&5
34973 ac_status=$?
34974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34975 (exit $ac_status); }; } &&
34976 { ac_try='test -s conftest.$ac_objext'
34977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34978 (eval $ac_try) 2>&5
34979 ac_status=$?
34980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34981 (exit $ac_status); }; }; then
34982
34983 wx_cv_var_timezone=__timezone
34984
34985 else
34986 echo "$as_me: failed program was:" >&5
34987 sed 's/^/| /' conftest.$ac_ext >&5
34988
34989
34990 if test "$USE_DOS" = 0 ; then
34991 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
34992 echo "$as_me: WARNING: no timezone variable" >&2;}
34993 fi
34994
34995
34996 fi
34997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34998
34999
35000 fi
35001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35002
35003
35004 fi
35005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35006
35007
35008 fi
35009 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
35010 echo "${ECHO_T}$wx_cv_var_timezone" >&6
35011
35012 if test "x$wx_cv_var_timezone" != x ; then
35013 cat >>confdefs.h <<_ACEOF
35014 #define WX_TIMEZONE $wx_cv_var_timezone
35015 _ACEOF
35016
35017 fi
35018
35019
35020 for ac_func in localtime
35021 do
35022 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35023 echo "$as_me:$LINENO: checking for $ac_func" >&5
35024 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35025 if eval "test \"\${$as_ac_var+set}\" = set"; then
35026 echo $ECHO_N "(cached) $ECHO_C" >&6
35027 else
35028 cat >conftest.$ac_ext <<_ACEOF
35029 /* confdefs.h. */
35030 _ACEOF
35031 cat confdefs.h >>conftest.$ac_ext
35032 cat >>conftest.$ac_ext <<_ACEOF
35033 /* end confdefs.h. */
35034 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35035 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35036 #define $ac_func innocuous_$ac_func
35037
35038 /* System header to define __stub macros and hopefully few prototypes,
35039 which can conflict with char $ac_func (); below.
35040 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35041 <limits.h> exists even on freestanding compilers. */
35042
35043 #ifdef __STDC__
35044 # include <limits.h>
35045 #else
35046 # include <assert.h>
35047 #endif
35048
35049 #undef $ac_func
35050
35051 /* Override any gcc2 internal prototype to avoid an error. */
35052 #ifdef __cplusplus
35053 extern "C"
35054 {
35055 #endif
35056 /* We use char because int might match the return type of a gcc2
35057 builtin and then its argument prototype would still apply. */
35058 char $ac_func ();
35059 /* The GNU C library defines this for functions which it implements
35060 to always fail with ENOSYS. Some functions are actually named
35061 something starting with __ and the normal name is an alias. */
35062 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35063 choke me
35064 #else
35065 char (*f) () = $ac_func;
35066 #endif
35067 #ifdef __cplusplus
35068 }
35069 #endif
35070
35071 int
35072 main ()
35073 {
35074 return f != $ac_func;
35075 ;
35076 return 0;
35077 }
35078 _ACEOF
35079 rm -f conftest.$ac_objext conftest$ac_exeext
35080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35081 (eval $ac_link) 2>conftest.er1
35082 ac_status=$?
35083 grep -v '^ *+' conftest.er1 >conftest.err
35084 rm -f conftest.er1
35085 cat conftest.err >&5
35086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35087 (exit $ac_status); } &&
35088 { ac_try='test -z "$ac_c_werror_flag"
35089 || test ! -s conftest.err'
35090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35091 (eval $ac_try) 2>&5
35092 ac_status=$?
35093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35094 (exit $ac_status); }; } &&
35095 { ac_try='test -s conftest$ac_exeext'
35096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35097 (eval $ac_try) 2>&5
35098 ac_status=$?
35099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35100 (exit $ac_status); }; }; then
35101 eval "$as_ac_var=yes"
35102 else
35103 echo "$as_me: failed program was:" >&5
35104 sed 's/^/| /' conftest.$ac_ext >&5
35105
35106 eval "$as_ac_var=no"
35107 fi
35108 rm -f conftest.err conftest.$ac_objext \
35109 conftest$ac_exeext conftest.$ac_ext
35110 fi
35111 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35112 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35113 if test `eval echo '${'$as_ac_var'}'` = yes; then
35114 cat >>confdefs.h <<_ACEOF
35115 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35116 _ACEOF
35117
35118 fi
35119 done
35120
35121
35122 if test "$ac_cv_func_localtime" = "yes"; then
35123 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
35124 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
35125 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
35126 echo $ECHO_N "(cached) $ECHO_C" >&6
35127 else
35128
35129 cat >conftest.$ac_ext <<_ACEOF
35130 /* confdefs.h. */
35131 _ACEOF
35132 cat confdefs.h >>conftest.$ac_ext
35133 cat >>conftest.$ac_ext <<_ACEOF
35134 /* end confdefs.h. */
35135
35136 #include <time.h>
35137
35138 int
35139 main ()
35140 {
35141
35142 struct tm tm;
35143 tm.tm_gmtoff++;
35144
35145 ;
35146 return 0;
35147 }
35148 _ACEOF
35149 rm -f conftest.$ac_objext
35150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35151 (eval $ac_compile) 2>conftest.er1
35152 ac_status=$?
35153 grep -v '^ *+' conftest.er1 >conftest.err
35154 rm -f conftest.er1
35155 cat conftest.err >&5
35156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35157 (exit $ac_status); } &&
35158 { ac_try='test -z "$ac_c_werror_flag"
35159 || test ! -s conftest.err'
35160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35161 (eval $ac_try) 2>&5
35162 ac_status=$?
35163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35164 (exit $ac_status); }; } &&
35165 { ac_try='test -s conftest.$ac_objext'
35166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35167 (eval $ac_try) 2>&5
35168 ac_status=$?
35169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35170 (exit $ac_status); }; }; then
35171
35172 wx_cv_struct_tm_has_gmtoff=yes
35173
35174 else
35175 echo "$as_me: failed program was:" >&5
35176 sed 's/^/| /' conftest.$ac_ext >&5
35177
35178 wx_cv_struct_tm_has_gmtoff=no
35179
35180 fi
35181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35182
35183 fi
35184 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
35185 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
35186 fi
35187
35188 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35189 cat >>confdefs.h <<\_ACEOF
35190 #define WX_GMTOFF_IN_TM 1
35191 _ACEOF
35192
35193 fi
35194
35195
35196
35197 for ac_func in gettimeofday ftime
35198 do
35199 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35200 echo "$as_me:$LINENO: checking for $ac_func" >&5
35201 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35202 if eval "test \"\${$as_ac_var+set}\" = set"; then
35203 echo $ECHO_N "(cached) $ECHO_C" >&6
35204 else
35205 cat >conftest.$ac_ext <<_ACEOF
35206 /* confdefs.h. */
35207 _ACEOF
35208 cat confdefs.h >>conftest.$ac_ext
35209 cat >>conftest.$ac_ext <<_ACEOF
35210 /* end confdefs.h. */
35211 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35213 #define $ac_func innocuous_$ac_func
35214
35215 /* System header to define __stub macros and hopefully few prototypes,
35216 which can conflict with char $ac_func (); below.
35217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35218 <limits.h> exists even on freestanding compilers. */
35219
35220 #ifdef __STDC__
35221 # include <limits.h>
35222 #else
35223 # include <assert.h>
35224 #endif
35225
35226 #undef $ac_func
35227
35228 /* Override any gcc2 internal prototype to avoid an error. */
35229 #ifdef __cplusplus
35230 extern "C"
35231 {
35232 #endif
35233 /* We use char because int might match the return type of a gcc2
35234 builtin and then its argument prototype would still apply. */
35235 char $ac_func ();
35236 /* The GNU C library defines this for functions which it implements
35237 to always fail with ENOSYS. Some functions are actually named
35238 something starting with __ and the normal name is an alias. */
35239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35240 choke me
35241 #else
35242 char (*f) () = $ac_func;
35243 #endif
35244 #ifdef __cplusplus
35245 }
35246 #endif
35247
35248 int
35249 main ()
35250 {
35251 return f != $ac_func;
35252 ;
35253 return 0;
35254 }
35255 _ACEOF
35256 rm -f conftest.$ac_objext conftest$ac_exeext
35257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35258 (eval $ac_link) 2>conftest.er1
35259 ac_status=$?
35260 grep -v '^ *+' conftest.er1 >conftest.err
35261 rm -f conftest.er1
35262 cat conftest.err >&5
35263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35264 (exit $ac_status); } &&
35265 { ac_try='test -z "$ac_c_werror_flag"
35266 || test ! -s conftest.err'
35267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35268 (eval $ac_try) 2>&5
35269 ac_status=$?
35270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35271 (exit $ac_status); }; } &&
35272 { ac_try='test -s conftest$ac_exeext'
35273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35274 (eval $ac_try) 2>&5
35275 ac_status=$?
35276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35277 (exit $ac_status); }; }; then
35278 eval "$as_ac_var=yes"
35279 else
35280 echo "$as_me: failed program was:" >&5
35281 sed 's/^/| /' conftest.$ac_ext >&5
35282
35283 eval "$as_ac_var=no"
35284 fi
35285 rm -f conftest.err conftest.$ac_objext \
35286 conftest$ac_exeext conftest.$ac_ext
35287 fi
35288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35290 if test `eval echo '${'$as_ac_var'}'` = yes; then
35291 cat >>confdefs.h <<_ACEOF
35292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35293 _ACEOF
35294 break
35295 fi
35296 done
35297
35298
35299 if test "$ac_cv_func_gettimeofday" = "yes"; then
35300 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
35301 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
35302 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
35303 echo $ECHO_N "(cached) $ECHO_C" >&6
35304 else
35305
35306
35307
35308 ac_ext=cc
35309 ac_cpp='$CXXCPP $CPPFLAGS'
35310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35313
35314
35315 cat >conftest.$ac_ext <<_ACEOF
35316 /* confdefs.h. */
35317 _ACEOF
35318 cat confdefs.h >>conftest.$ac_ext
35319 cat >>conftest.$ac_ext <<_ACEOF
35320 /* end confdefs.h. */
35321
35322 #include <sys/time.h>
35323 #include <unistd.h>
35324
35325 int
35326 main ()
35327 {
35328
35329 struct timeval tv;
35330 gettimeofday(&tv, NULL);
35331
35332 ;
35333 return 0;
35334 }
35335 _ACEOF
35336 rm -f conftest.$ac_objext
35337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35338 (eval $ac_compile) 2>conftest.er1
35339 ac_status=$?
35340 grep -v '^ *+' conftest.er1 >conftest.err
35341 rm -f conftest.er1
35342 cat conftest.err >&5
35343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35344 (exit $ac_status); } &&
35345 { ac_try='test -z "$ac_cxx_werror_flag"
35346 || test ! -s conftest.err'
35347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35348 (eval $ac_try) 2>&5
35349 ac_status=$?
35350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35351 (exit $ac_status); }; } &&
35352 { ac_try='test -s conftest.$ac_objext'
35353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35354 (eval $ac_try) 2>&5
35355 ac_status=$?
35356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35357 (exit $ac_status); }; }; then
35358 wx_cv_func_gettimeofday_has_2_args=yes
35359 else
35360 echo "$as_me: failed program was:" >&5
35361 sed 's/^/| /' conftest.$ac_ext >&5
35362
35363 cat >conftest.$ac_ext <<_ACEOF
35364 /* confdefs.h. */
35365 _ACEOF
35366 cat confdefs.h >>conftest.$ac_ext
35367 cat >>conftest.$ac_ext <<_ACEOF
35368 /* end confdefs.h. */
35369
35370 #include <sys/time.h>
35371 #include <unistd.h>
35372
35373 int
35374 main ()
35375 {
35376
35377 struct timeval tv;
35378 gettimeofday(&tv);
35379
35380 ;
35381 return 0;
35382 }
35383 _ACEOF
35384 rm -f conftest.$ac_objext
35385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35386 (eval $ac_compile) 2>conftest.er1
35387 ac_status=$?
35388 grep -v '^ *+' conftest.er1 >conftest.err
35389 rm -f conftest.er1
35390 cat conftest.err >&5
35391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35392 (exit $ac_status); } &&
35393 { ac_try='test -z "$ac_cxx_werror_flag"
35394 || test ! -s conftest.err'
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); }; } &&
35400 { ac_try='test -s conftest.$ac_objext'
35401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35402 (eval $ac_try) 2>&5
35403 ac_status=$?
35404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35405 (exit $ac_status); }; }; then
35406 wx_cv_func_gettimeofday_has_2_args=no
35407 else
35408 echo "$as_me: failed program was:" >&5
35409 sed 's/^/| /' conftest.$ac_ext >&5
35410
35411
35412 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
35413 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
35414 wx_cv_func_gettimeofday_has_2_args=unknown
35415
35416
35417 fi
35418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35419
35420 fi
35421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35422 ac_ext=c
35423 ac_cpp='$CPP $CPPFLAGS'
35424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35427
35428
35429 fi
35430 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
35431 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
35432
35433 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
35434 cat >>confdefs.h <<\_ACEOF
35435 #define WX_GETTIMEOFDAY_NO_TZ 1
35436 _ACEOF
35437
35438 fi
35439 fi
35440
35441 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
35442 fi
35443
35444
35445 if test "$wxUSE_SOCKETS" = "yes"; then
35446 if test "$wxUSE_MGL" = "1"; then
35447 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
35448 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
35449 wxUSE_SOCKETS="no"
35450 fi
35451 fi
35452
35453 if test "$wxUSE_SOCKETS" = "yes"; then
35454 if test "$TOOLKIT" != "MSW"; then
35455 echo "$as_me:$LINENO: checking for socket" >&5
35456 echo $ECHO_N "checking for socket... $ECHO_C" >&6
35457 if test "${ac_cv_func_socket+set}" = set; then
35458 echo $ECHO_N "(cached) $ECHO_C" >&6
35459 else
35460 cat >conftest.$ac_ext <<_ACEOF
35461 /* confdefs.h. */
35462 _ACEOF
35463 cat confdefs.h >>conftest.$ac_ext
35464 cat >>conftest.$ac_ext <<_ACEOF
35465 /* end confdefs.h. */
35466 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
35467 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35468 #define socket innocuous_socket
35469
35470 /* System header to define __stub macros and hopefully few prototypes,
35471 which can conflict with char socket (); below.
35472 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35473 <limits.h> exists even on freestanding compilers. */
35474
35475 #ifdef __STDC__
35476 # include <limits.h>
35477 #else
35478 # include <assert.h>
35479 #endif
35480
35481 #undef socket
35482
35483 /* Override any gcc2 internal prototype to avoid an error. */
35484 #ifdef __cplusplus
35485 extern "C"
35486 {
35487 #endif
35488 /* We use char because int might match the return type of a gcc2
35489 builtin and then its argument prototype would still apply. */
35490 char socket ();
35491 /* The GNU C library defines this for functions which it implements
35492 to always fail with ENOSYS. Some functions are actually named
35493 something starting with __ and the normal name is an alias. */
35494 #if defined (__stub_socket) || defined (__stub___socket)
35495 choke me
35496 #else
35497 char (*f) () = socket;
35498 #endif
35499 #ifdef __cplusplus
35500 }
35501 #endif
35502
35503 int
35504 main ()
35505 {
35506 return f != socket;
35507 ;
35508 return 0;
35509 }
35510 _ACEOF
35511 rm -f conftest.$ac_objext conftest$ac_exeext
35512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35513 (eval $ac_link) 2>conftest.er1
35514 ac_status=$?
35515 grep -v '^ *+' conftest.er1 >conftest.err
35516 rm -f conftest.er1
35517 cat conftest.err >&5
35518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35519 (exit $ac_status); } &&
35520 { ac_try='test -z "$ac_c_werror_flag"
35521 || test ! -s conftest.err'
35522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35523 (eval $ac_try) 2>&5
35524 ac_status=$?
35525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35526 (exit $ac_status); }; } &&
35527 { ac_try='test -s conftest$ac_exeext'
35528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35529 (eval $ac_try) 2>&5
35530 ac_status=$?
35531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35532 (exit $ac_status); }; }; then
35533 ac_cv_func_socket=yes
35534 else
35535 echo "$as_me: failed program was:" >&5
35536 sed 's/^/| /' conftest.$ac_ext >&5
35537
35538 ac_cv_func_socket=no
35539 fi
35540 rm -f conftest.err conftest.$ac_objext \
35541 conftest$ac_exeext conftest.$ac_ext
35542 fi
35543 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
35544 echo "${ECHO_T}$ac_cv_func_socket" >&6
35545 if test $ac_cv_func_socket = yes; then
35546 :
35547 else
35548
35549 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
35550 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
35551 if test "${ac_cv_lib_socket_socket+set}" = set; then
35552 echo $ECHO_N "(cached) $ECHO_C" >&6
35553 else
35554 ac_check_lib_save_LIBS=$LIBS
35555 LIBS="-lsocket $LIBS"
35556 cat >conftest.$ac_ext <<_ACEOF
35557 /* confdefs.h. */
35558 _ACEOF
35559 cat confdefs.h >>conftest.$ac_ext
35560 cat >>conftest.$ac_ext <<_ACEOF
35561 /* end confdefs.h. */
35562
35563 /* Override any gcc2 internal prototype to avoid an error. */
35564 #ifdef __cplusplus
35565 extern "C"
35566 #endif
35567 /* We use char because int might match the return type of a gcc2
35568 builtin and then its argument prototype would still apply. */
35569 char socket ();
35570 int
35571 main ()
35572 {
35573 socket ();
35574 ;
35575 return 0;
35576 }
35577 _ACEOF
35578 rm -f conftest.$ac_objext conftest$ac_exeext
35579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35580 (eval $ac_link) 2>conftest.er1
35581 ac_status=$?
35582 grep -v '^ *+' conftest.er1 >conftest.err
35583 rm -f conftest.er1
35584 cat conftest.err >&5
35585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35586 (exit $ac_status); } &&
35587 { ac_try='test -z "$ac_c_werror_flag"
35588 || test ! -s conftest.err'
35589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35590 (eval $ac_try) 2>&5
35591 ac_status=$?
35592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35593 (exit $ac_status); }; } &&
35594 { ac_try='test -s conftest$ac_exeext'
35595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35596 (eval $ac_try) 2>&5
35597 ac_status=$?
35598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35599 (exit $ac_status); }; }; then
35600 ac_cv_lib_socket_socket=yes
35601 else
35602 echo "$as_me: failed program was:" >&5
35603 sed 's/^/| /' conftest.$ac_ext >&5
35604
35605 ac_cv_lib_socket_socket=no
35606 fi
35607 rm -f conftest.err conftest.$ac_objext \
35608 conftest$ac_exeext conftest.$ac_ext
35609 LIBS=$ac_check_lib_save_LIBS
35610 fi
35611 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
35612 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
35613 if test $ac_cv_lib_socket_socket = yes; then
35614 if test "$INET_LINK" != " -lsocket"; then
35615 INET_LINK="$INET_LINK -lsocket"
35616 fi
35617 else
35618
35619 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
35620 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35621 wxUSE_SOCKETS=no
35622
35623
35624 fi
35625
35626
35627
35628 fi
35629
35630 fi
35631 fi
35632
35633 if test "$wxUSE_SOCKETS" = "yes" ; then
35634 if test "$TOOLKIT" != "MSW"; then
35635 ac_ext=cc
35636 ac_cpp='$CXXCPP $CPPFLAGS'
35637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35640
35641 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
35642 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
35643 if test "${wx_cv_type_getsockname3+set}" = set; then
35644 echo $ECHO_N "(cached) $ECHO_C" >&6
35645 else
35646
35647 cat >conftest.$ac_ext <<_ACEOF
35648 /* confdefs.h. */
35649 _ACEOF
35650 cat confdefs.h >>conftest.$ac_ext
35651 cat >>conftest.$ac_ext <<_ACEOF
35652 /* end confdefs.h. */
35653
35654 #include <sys/types.h>
35655 #include <sys/socket.h>
35656
35657 int
35658 main ()
35659 {
35660
35661 socklen_t len;
35662 getsockname(0, 0, &len);
35663
35664 ;
35665 return 0;
35666 }
35667 _ACEOF
35668 rm -f conftest.$ac_objext
35669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35670 (eval $ac_compile) 2>conftest.er1
35671 ac_status=$?
35672 grep -v '^ *+' conftest.er1 >conftest.err
35673 rm -f conftest.er1
35674 cat conftest.err >&5
35675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35676 (exit $ac_status); } &&
35677 { ac_try='test -z "$ac_cxx_werror_flag"
35678 || test ! -s conftest.err'
35679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35680 (eval $ac_try) 2>&5
35681 ac_status=$?
35682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35683 (exit $ac_status); }; } &&
35684 { ac_try='test -s conftest.$ac_objext'
35685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35686 (eval $ac_try) 2>&5
35687 ac_status=$?
35688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35689 (exit $ac_status); }; }; then
35690 wx_cv_type_getsockname3=socklen_t
35691 else
35692 echo "$as_me: failed program was:" >&5
35693 sed 's/^/| /' conftest.$ac_ext >&5
35694
35695
35696 CFLAGS_OLD="$CFLAGS"
35697 if test "$GCC" = yes ; then
35698 CFLAGS="$CFLAGS -Werror"
35699 fi
35700
35701 cat >conftest.$ac_ext <<_ACEOF
35702 /* confdefs.h. */
35703 _ACEOF
35704 cat confdefs.h >>conftest.$ac_ext
35705 cat >>conftest.$ac_ext <<_ACEOF
35706 /* end confdefs.h. */
35707
35708 #include <sys/types.h>
35709 #include <sys/socket.h>
35710
35711 int
35712 main ()
35713 {
35714
35715 size_t len;
35716 getsockname(0, 0, &len);
35717
35718 ;
35719 return 0;
35720 }
35721 _ACEOF
35722 rm -f conftest.$ac_objext
35723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35724 (eval $ac_compile) 2>conftest.er1
35725 ac_status=$?
35726 grep -v '^ *+' conftest.er1 >conftest.err
35727 rm -f conftest.er1
35728 cat conftest.err >&5
35729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35730 (exit $ac_status); } &&
35731 { ac_try='test -z "$ac_cxx_werror_flag"
35732 || test ! -s conftest.err'
35733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35734 (eval $ac_try) 2>&5
35735 ac_status=$?
35736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35737 (exit $ac_status); }; } &&
35738 { ac_try='test -s conftest.$ac_objext'
35739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35740 (eval $ac_try) 2>&5
35741 ac_status=$?
35742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35743 (exit $ac_status); }; }; then
35744 wx_cv_type_getsockname3=size_t
35745 else
35746 echo "$as_me: failed program was:" >&5
35747 sed 's/^/| /' conftest.$ac_ext >&5
35748
35749 cat >conftest.$ac_ext <<_ACEOF
35750 /* confdefs.h. */
35751 _ACEOF
35752 cat confdefs.h >>conftest.$ac_ext
35753 cat >>conftest.$ac_ext <<_ACEOF
35754 /* end confdefs.h. */
35755
35756 #include <sys/types.h>
35757 #include <sys/socket.h>
35758
35759 int
35760 main ()
35761 {
35762
35763 int len;
35764 getsockname(0, 0, &len);
35765
35766 ;
35767 return 0;
35768 }
35769 _ACEOF
35770 rm -f conftest.$ac_objext
35771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35772 (eval $ac_compile) 2>conftest.er1
35773 ac_status=$?
35774 grep -v '^ *+' conftest.er1 >conftest.err
35775 rm -f conftest.er1
35776 cat conftest.err >&5
35777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35778 (exit $ac_status); } &&
35779 { ac_try='test -z "$ac_cxx_werror_flag"
35780 || test ! -s conftest.err'
35781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35782 (eval $ac_try) 2>&5
35783 ac_status=$?
35784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35785 (exit $ac_status); }; } &&
35786 { ac_try='test -s conftest.$ac_objext'
35787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35788 (eval $ac_try) 2>&5
35789 ac_status=$?
35790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35791 (exit $ac_status); }; }; then
35792 wx_cv_type_getsockname3=int
35793 else
35794 echo "$as_me: failed program was:" >&5
35795 sed 's/^/| /' conftest.$ac_ext >&5
35796
35797 wx_cv_type_getsockname3=unknown
35798
35799 fi
35800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35801
35802 fi
35803 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35804
35805 CFLAGS="$CFLAGS_OLD"
35806
35807
35808 fi
35809 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35810
35811 fi
35812 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
35813 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
35814
35815 if test "$wx_cv_type_getsockname3" = "unknown"; then
35816 wxUSE_SOCKETS=no
35817 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
35818 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35819 else
35820 cat >>confdefs.h <<_ACEOF
35821 #define SOCKLEN_T $wx_cv_type_getsockname3
35822 _ACEOF
35823
35824 fi
35825 ac_ext=c
35826 ac_cpp='$CPP $CPPFLAGS'
35827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35830
35831 fi
35832 fi
35833
35834 if test "$wxUSE_SOCKETS" = "yes" ; then
35835 cat >>confdefs.h <<\_ACEOF
35836 #define wxUSE_SOCKETS 1
35837 _ACEOF
35838
35839 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
35840 fi
35841
35842 if test "$wxUSE_PROTOCOL" = "yes"; then
35843 if test "$wxUSE_SOCKETS" != "yes"; then
35844 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
35845 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35846 wxUSE_PROTOCOL=no
35847 fi
35848 fi
35849
35850 if test "$wxUSE_PROTOCOL" = "yes"; then
35851 cat >>confdefs.h <<\_ACEOF
35852 #define wxUSE_PROTOCOL 1
35853 _ACEOF
35854
35855
35856 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35857 cat >>confdefs.h <<\_ACEOF
35858 #define wxUSE_PROTOCOL_HTTP 1
35859 _ACEOF
35860
35861 fi
35862 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35863 cat >>confdefs.h <<\_ACEOF
35864 #define wxUSE_PROTOCOL_FTP 1
35865 _ACEOF
35866
35867 fi
35868 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35869 cat >>confdefs.h <<\_ACEOF
35870 #define wxUSE_PROTOCOL_FILE 1
35871 _ACEOF
35872
35873 fi
35874 else
35875 if test "$wxUSE_FS_INET" = "yes"; then
35876 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35877 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35878 wxUSE_FS_INET="no"
35879 fi
35880 fi
35881
35882 if test "$wxUSE_URL" = "yes"; then
35883 if test "$wxUSE_PROTOCOL" != "yes"; then
35884 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
35885 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35886 wxUSE_URL=no
35887 fi
35888 if test "$wxUSE_URL" = "yes"; then
35889 cat >>confdefs.h <<\_ACEOF
35890 #define wxUSE_URL 1
35891 _ACEOF
35892
35893 fi
35894 fi
35895
35896 if test "$wxUSE_FS_INET" = "yes"; then
35897 cat >>confdefs.h <<\_ACEOF
35898 #define wxUSE_FS_INET 1
35899 _ACEOF
35900
35901 fi
35902
35903
35904 if test "$wxUSE_GUI" = "yes"; then
35905
35906 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
35907 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
35908 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
35909 wxUSE_JOYSTICK=no
35910 fi
35911
35912 if test "$TOOLKIT" != "MSW"; then
35913 if test "$wxUSE_JOYSTICK" = "yes"; then
35914
35915 for ac_header in linux/joystick.h
35916 do
35917 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35918 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35919 echo "$as_me:$LINENO: checking for $ac_header" >&5
35920 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35921 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35922 echo $ECHO_N "(cached) $ECHO_C" >&6
35923 fi
35924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35925 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35926 else
35927 # Is the header compilable?
35928 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35929 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35930 cat >conftest.$ac_ext <<_ACEOF
35931 /* confdefs.h. */
35932 _ACEOF
35933 cat confdefs.h >>conftest.$ac_ext
35934 cat >>conftest.$ac_ext <<_ACEOF
35935 /* end confdefs.h. */
35936 $ac_includes_default
35937 #include <$ac_header>
35938 _ACEOF
35939 rm -f conftest.$ac_objext
35940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35941 (eval $ac_compile) 2>conftest.er1
35942 ac_status=$?
35943 grep -v '^ *+' conftest.er1 >conftest.err
35944 rm -f conftest.er1
35945 cat conftest.err >&5
35946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35947 (exit $ac_status); } &&
35948 { ac_try='test -z "$ac_c_werror_flag"
35949 || test ! -s conftest.err'
35950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35951 (eval $ac_try) 2>&5
35952 ac_status=$?
35953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35954 (exit $ac_status); }; } &&
35955 { ac_try='test -s conftest.$ac_objext'
35956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35957 (eval $ac_try) 2>&5
35958 ac_status=$?
35959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35960 (exit $ac_status); }; }; then
35961 ac_header_compiler=yes
35962 else
35963 echo "$as_me: failed program was:" >&5
35964 sed 's/^/| /' conftest.$ac_ext >&5
35965
35966 ac_header_compiler=no
35967 fi
35968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35969 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35970 echo "${ECHO_T}$ac_header_compiler" >&6
35971
35972 # Is the header present?
35973 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35974 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35975 cat >conftest.$ac_ext <<_ACEOF
35976 /* confdefs.h. */
35977 _ACEOF
35978 cat confdefs.h >>conftest.$ac_ext
35979 cat >>conftest.$ac_ext <<_ACEOF
35980 /* end confdefs.h. */
35981 #include <$ac_header>
35982 _ACEOF
35983 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35984 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
35985 ac_status=$?
35986 grep -v '^ *+' conftest.er1 >conftest.err
35987 rm -f conftest.er1
35988 cat conftest.err >&5
35989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35990 (exit $ac_status); } >/dev/null; then
35991 if test -s conftest.err; then
35992 ac_cpp_err=$ac_c_preproc_warn_flag
35993 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
35994 else
35995 ac_cpp_err=
35996 fi
35997 else
35998 ac_cpp_err=yes
35999 fi
36000 if test -z "$ac_cpp_err"; then
36001 ac_header_preproc=yes
36002 else
36003 echo "$as_me: failed program was:" >&5
36004 sed 's/^/| /' conftest.$ac_ext >&5
36005
36006 ac_header_preproc=no
36007 fi
36008 rm -f conftest.err conftest.$ac_ext
36009 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36010 echo "${ECHO_T}$ac_header_preproc" >&6
36011
36012 # So? What about this header?
36013 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36014 yes:no: )
36015 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36016 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36017 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36018 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36019 ac_header_preproc=yes
36020 ;;
36021 no:yes:* )
36022 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36023 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36024 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36025 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36026 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36027 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36028 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36029 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36030 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36031 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36032 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36033 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36034 (
36035 cat <<\_ASBOX
36036 ## ----------------------------------------- ##
36037 ## Report this to wx-dev@lists.wxwidgets.org ##
36038 ## ----------------------------------------- ##
36039 _ASBOX
36040 ) |
36041 sed "s/^/$as_me: WARNING: /" >&2
36042 ;;
36043 esac
36044 echo "$as_me:$LINENO: checking for $ac_header" >&5
36045 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36046 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36047 echo $ECHO_N "(cached) $ECHO_C" >&6
36048 else
36049 eval "$as_ac_Header=\$ac_header_preproc"
36050 fi
36051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36052 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36053
36054 fi
36055 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36056 cat >>confdefs.h <<_ACEOF
36057 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36058 _ACEOF
36059
36060 fi
36061
36062 done
36063
36064 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
36065 wxUSE_JOYSTICK=no
36066 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
36067 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
36068 fi
36069 fi
36070 fi
36071
36072 if test "$wxUSE_JOYSTICK" = "yes"; then
36073 cat >>confdefs.h <<\_ACEOF
36074 #define wxUSE_JOYSTICK 1
36075 _ACEOF
36076
36077 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
36078 fi
36079 fi
36080
36081
36082
36083 if test "$wxUSE_FONTMAP" = "yes" ; then
36084 cat >>confdefs.h <<\_ACEOF
36085 #define wxUSE_FONTMAP 1
36086 _ACEOF
36087
36088 fi
36089
36090 if test "$wxUSE_UNICODE" = "yes" ; then
36091 cat >>confdefs.h <<\_ACEOF
36092 #define wxUSE_UNICODE 1
36093 _ACEOF
36094
36095
36096 if test "$USE_WIN32" != 1; then
36097 wxUSE_UNICODE_MSLU=no
36098 fi
36099
36100 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
36101 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
36102 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
36103 if test "${ac_cv_lib_unicows_main+set}" = set; then
36104 echo $ECHO_N "(cached) $ECHO_C" >&6
36105 else
36106 ac_check_lib_save_LIBS=$LIBS
36107 LIBS="-lunicows $LIBS"
36108 cat >conftest.$ac_ext <<_ACEOF
36109 /* confdefs.h. */
36110 _ACEOF
36111 cat confdefs.h >>conftest.$ac_ext
36112 cat >>conftest.$ac_ext <<_ACEOF
36113 /* end confdefs.h. */
36114
36115
36116 int
36117 main ()
36118 {
36119 main ();
36120 ;
36121 return 0;
36122 }
36123 _ACEOF
36124 rm -f conftest.$ac_objext conftest$ac_exeext
36125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36126 (eval $ac_link) 2>conftest.er1
36127 ac_status=$?
36128 grep -v '^ *+' conftest.er1 >conftest.err
36129 rm -f conftest.er1
36130 cat conftest.err >&5
36131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36132 (exit $ac_status); } &&
36133 { ac_try='test -z "$ac_c_werror_flag"
36134 || test ! -s conftest.err'
36135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36136 (eval $ac_try) 2>&5
36137 ac_status=$?
36138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36139 (exit $ac_status); }; } &&
36140 { ac_try='test -s conftest$ac_exeext'
36141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36142 (eval $ac_try) 2>&5
36143 ac_status=$?
36144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36145 (exit $ac_status); }; }; then
36146 ac_cv_lib_unicows_main=yes
36147 else
36148 echo "$as_me: failed program was:" >&5
36149 sed 's/^/| /' conftest.$ac_ext >&5
36150
36151 ac_cv_lib_unicows_main=no
36152 fi
36153 rm -f conftest.err conftest.$ac_objext \
36154 conftest$ac_exeext conftest.$ac_ext
36155 LIBS=$ac_check_lib_save_LIBS
36156 fi
36157 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
36158 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
36159 if test $ac_cv_lib_unicows_main = yes; then
36160
36161 cat >>confdefs.h <<\_ACEOF
36162 #define wxUSE_UNICODE_MSLU 1
36163 _ACEOF
36164
36165
36166 else
36167
36168 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36169 Applications will only run on Windows NT/2000/XP!" >&5
36170 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36171 Applications will only run on Windows NT/2000/XP!" >&2;}
36172 wxUSE_UNICODE_MSLU=no
36173
36174 fi
36175
36176 fi
36177 fi
36178
36179 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
36180 cat >>confdefs.h <<\_ACEOF
36181 #define wxUSE_EXPERIMENTAL_PRINTF 1
36182 _ACEOF
36183
36184 fi
36185
36186
36187 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
36188 cat >>confdefs.h <<\_ACEOF
36189 #define wxUSE_POSTSCRIPT 1
36190 _ACEOF
36191
36192 fi
36193
36194 cat >>confdefs.h <<\_ACEOF
36195 #define wxUSE_AFM_FOR_POSTSCRIPT 1
36196 _ACEOF
36197
36198
36199 cat >>confdefs.h <<\_ACEOF
36200 #define wxUSE_NORMALIZED_PS_FONTS 1
36201 _ACEOF
36202
36203
36204
36205 if test "$wxUSE_CONSTRAINTS" = "yes"; then
36206 cat >>confdefs.h <<\_ACEOF
36207 #define wxUSE_CONSTRAINTS 1
36208 _ACEOF
36209
36210 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
36211 fi
36212
36213 if test "$wxUSE_MDI" = "yes"; then
36214 cat >>confdefs.h <<\_ACEOF
36215 #define wxUSE_MDI 1
36216 _ACEOF
36217
36218
36219 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36220 cat >>confdefs.h <<\_ACEOF
36221 #define wxUSE_MDI_ARCHITECTURE 1
36222 _ACEOF
36223
36224 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
36225 fi
36226 fi
36227
36228 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
36229 cat >>confdefs.h <<\_ACEOF
36230 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
36231 _ACEOF
36232
36233 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
36234 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36235 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
36236 fi
36237 fi
36238
36239 if test "$wxUSE_HELP" = "yes"; then
36240 cat >>confdefs.h <<\_ACEOF
36241 #define wxUSE_HELP 1
36242 _ACEOF
36243
36244 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
36245
36246 if test "$wxUSE_MSW" = 1; then
36247 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
36248 cat >>confdefs.h <<\_ACEOF
36249 #define wxUSE_MS_HTML_HELP 1
36250 _ACEOF
36251
36252 fi
36253 fi
36254
36255 if test "$wxUSE_WXHTML_HELP" = "yes"; then
36256 if test "$wxUSE_HTML" = "yes"; then
36257 cat >>confdefs.h <<\_ACEOF
36258 #define wxUSE_WXHTML_HELP 1
36259 _ACEOF
36260
36261 else
36262 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
36263 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
36264 wxUSE_WXHTML_HELP=no
36265 fi
36266 fi
36267 fi
36268
36269 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
36270 if test "$wxUSE_CONSTRAINTS" != "yes"; then
36271 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
36272 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
36273 else
36274 cat >>confdefs.h <<\_ACEOF
36275 #define wxUSE_PRINTING_ARCHITECTURE 1
36276 _ACEOF
36277
36278 fi
36279 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
36280 fi
36281
36282 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
36283 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
36284 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
36285 { (exit 1); exit 1; }; }
36286 fi
36287
36288
36289 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
36290 -o "$wxUSE_CLIPBOARD" = "yes" \
36291 -o "$wxUSE_OLE" = "yes" \
36292 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
36293
36294 for ac_header in ole2.h
36295 do
36296 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36297 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36298 echo "$as_me:$LINENO: checking for $ac_header" >&5
36299 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36300 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36301 echo $ECHO_N "(cached) $ECHO_C" >&6
36302 fi
36303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36304 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36305 else
36306 # Is the header compilable?
36307 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36308 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36309 cat >conftest.$ac_ext <<_ACEOF
36310 /* confdefs.h. */
36311 _ACEOF
36312 cat confdefs.h >>conftest.$ac_ext
36313 cat >>conftest.$ac_ext <<_ACEOF
36314 /* end confdefs.h. */
36315 $ac_includes_default
36316 #include <$ac_header>
36317 _ACEOF
36318 rm -f conftest.$ac_objext
36319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36320 (eval $ac_compile) 2>conftest.er1
36321 ac_status=$?
36322 grep -v '^ *+' conftest.er1 >conftest.err
36323 rm -f conftest.er1
36324 cat conftest.err >&5
36325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36326 (exit $ac_status); } &&
36327 { ac_try='test -z "$ac_c_werror_flag"
36328 || test ! -s conftest.err'
36329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36330 (eval $ac_try) 2>&5
36331 ac_status=$?
36332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36333 (exit $ac_status); }; } &&
36334 { ac_try='test -s conftest.$ac_objext'
36335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36336 (eval $ac_try) 2>&5
36337 ac_status=$?
36338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36339 (exit $ac_status); }; }; then
36340 ac_header_compiler=yes
36341 else
36342 echo "$as_me: failed program was:" >&5
36343 sed 's/^/| /' conftest.$ac_ext >&5
36344
36345 ac_header_compiler=no
36346 fi
36347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36348 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36349 echo "${ECHO_T}$ac_header_compiler" >&6
36350
36351 # Is the header present?
36352 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36353 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36354 cat >conftest.$ac_ext <<_ACEOF
36355 /* confdefs.h. */
36356 _ACEOF
36357 cat confdefs.h >>conftest.$ac_ext
36358 cat >>conftest.$ac_ext <<_ACEOF
36359 /* end confdefs.h. */
36360 #include <$ac_header>
36361 _ACEOF
36362 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36363 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
36364 ac_status=$?
36365 grep -v '^ *+' conftest.er1 >conftest.err
36366 rm -f conftest.er1
36367 cat conftest.err >&5
36368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36369 (exit $ac_status); } >/dev/null; then
36370 if test -s conftest.err; then
36371 ac_cpp_err=$ac_c_preproc_warn_flag
36372 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
36373 else
36374 ac_cpp_err=
36375 fi
36376 else
36377 ac_cpp_err=yes
36378 fi
36379 if test -z "$ac_cpp_err"; then
36380 ac_header_preproc=yes
36381 else
36382 echo "$as_me: failed program was:" >&5
36383 sed 's/^/| /' conftest.$ac_ext >&5
36384
36385 ac_header_preproc=no
36386 fi
36387 rm -f conftest.err conftest.$ac_ext
36388 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36389 echo "${ECHO_T}$ac_header_preproc" >&6
36390
36391 # So? What about this header?
36392 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36393 yes:no: )
36394 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36395 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36396 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36397 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36398 ac_header_preproc=yes
36399 ;;
36400 no:yes:* )
36401 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36402 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36403 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36404 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36405 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36406 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36407 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36408 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36409 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36410 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36411 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36412 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36413 (
36414 cat <<\_ASBOX
36415 ## ----------------------------------------- ##
36416 ## Report this to wx-dev@lists.wxwidgets.org ##
36417 ## ----------------------------------------- ##
36418 _ASBOX
36419 ) |
36420 sed "s/^/$as_me: WARNING: /" >&2
36421 ;;
36422 esac
36423 echo "$as_me:$LINENO: checking for $ac_header" >&5
36424 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36425 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36426 echo $ECHO_N "(cached) $ECHO_C" >&6
36427 else
36428 eval "$as_ac_Header=\$ac_header_preproc"
36429 fi
36430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36431 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36432
36433 fi
36434 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36435 cat >>confdefs.h <<_ACEOF
36436 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36437 _ACEOF
36438
36439 fi
36440
36441 done
36442
36443
36444 if test "$ac_cv_header_ole2_h" = "yes" ; then
36445 if test "$GCC" = yes ; then
36446
36447
36448 ac_ext=cc
36449 ac_cpp='$CXXCPP $CPPFLAGS'
36450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36453
36454
36455 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
36456 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
36457 cat >conftest.$ac_ext <<_ACEOF
36458 /* confdefs.h. */
36459 _ACEOF
36460 cat confdefs.h >>conftest.$ac_ext
36461 cat >>conftest.$ac_ext <<_ACEOF
36462 /* end confdefs.h. */
36463 #include <windows.h>
36464 #include <ole2.h>
36465 int
36466 main ()
36467 {
36468
36469 ;
36470 return 0;
36471 }
36472 _ACEOF
36473 rm -f conftest.$ac_objext
36474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36475 (eval $ac_compile) 2>conftest.er1
36476 ac_status=$?
36477 grep -v '^ *+' conftest.er1 >conftest.err
36478 rm -f conftest.er1
36479 cat conftest.err >&5
36480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36481 (exit $ac_status); } &&
36482 { ac_try='test -z "$ac_cxx_werror_flag"
36483 || test ! -s conftest.err'
36484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36485 (eval $ac_try) 2>&5
36486 ac_status=$?
36487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36488 (exit $ac_status); }; } &&
36489 { ac_try='test -s conftest.$ac_objext'
36490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36491 (eval $ac_try) 2>&5
36492 ac_status=$?
36493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36494 (exit $ac_status); }; }; then
36495 echo "$as_me:$LINENO: result: no" >&5
36496 echo "${ECHO_T}no" >&6
36497 else
36498 echo "$as_me: failed program was:" >&5
36499 sed 's/^/| /' conftest.$ac_ext >&5
36500
36501 echo "$as_me:$LINENO: result: yes" >&5
36502 echo "${ECHO_T}yes" >&6
36503 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
36504 fi
36505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36506 ac_ext=c
36507 ac_cpp='$CPP $CPPFLAGS'
36508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36511
36512 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
36513 if test "$wxUSE_OLE" = "yes" ; then
36514 cat >>confdefs.h <<\_ACEOF
36515 #define wxUSE_OLE 1
36516 _ACEOF
36517
36518 fi
36519 fi
36520
36521 if test "$wxUSE_DATAOBJ" = "yes" ; then
36522 cat >>confdefs.h <<\_ACEOF
36523 #define wxUSE_DATAOBJ 1
36524 _ACEOF
36525
36526 fi
36527 else
36528 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
36529 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
36530
36531 wxUSE_CLIPBOARD=no
36532 wxUSE_DRAG_AND_DROP=no
36533 wxUSE_DATAOBJ=no
36534 wxUSE_OLE=no
36535 fi
36536
36537 if test "$wxUSE_METAFILE" = "yes"; then
36538 cat >>confdefs.h <<\_ACEOF
36539 #define wxUSE_METAFILE 1
36540 _ACEOF
36541
36542
36543 cat >>confdefs.h <<\_ACEOF
36544 #define wxUSE_ENH_METAFILE 1
36545 _ACEOF
36546
36547 fi
36548 fi
36549
36550 if test "$wxUSE_IPC" = "yes"; then
36551 if test "$wxUSE_SOCKETS" != "yes"; then
36552 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
36553 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
36554 fi
36555
36556 cat >>confdefs.h <<\_ACEOF
36557 #define wxUSE_IPC 1
36558 _ACEOF
36559
36560 fi
36561
36562 if test "$wxUSE_CLIPBOARD" = "yes"; then
36563 if test "$wxUSE_MGL" = 1; then
36564 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
36565 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
36566 wxUSE_CLIPBOARD=no
36567 fi
36568
36569 if test "$wxUSE_CLIPBOARD" = "yes"; then
36570 cat >>confdefs.h <<\_ACEOF
36571 #define wxUSE_CLIPBOARD 1
36572 _ACEOF
36573
36574
36575 cat >>confdefs.h <<\_ACEOF
36576 #define wxUSE_DATAOBJ 1
36577 _ACEOF
36578
36579 fi
36580 fi
36581
36582 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
36583 if test "$wxUSE_GTK" = 1; then
36584 if test "$WXGTK12" != 1; then
36585 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
36586 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
36587 wxUSE_DRAG_AND_DROP=no
36588 fi
36589 fi
36590
36591 if test "$wxUSE_MOTIF" = 1; then
36592 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
36593 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
36594 wxUSE_DRAG_AND_DROP=no
36595 fi
36596
36597 if test "$wxUSE_X11" = 1; then
36598 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
36599 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
36600 wxUSE_DRAG_AND_DROP=no
36601 fi
36602
36603 if test "$wxUSE_MGL" = 1; then
36604 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
36605 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
36606 wxUSE_DRAG_AND_DROP=no
36607 fi
36608
36609 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
36610 cat >>confdefs.h <<\_ACEOF
36611 #define wxUSE_DRAG_AND_DROP 1
36612 _ACEOF
36613
36614 fi
36615
36616 fi
36617
36618 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
36619 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
36620 fi
36621
36622 if test "$wxUSE_SPLINES" = "yes" ; then
36623 cat >>confdefs.h <<\_ACEOF
36624 #define wxUSE_SPLINES 1
36625 _ACEOF
36626
36627 fi
36628
36629
36630 USES_CONTROLS=0
36631 if test "$wxUSE_CONTROLS" = "yes"; then
36632 USES_CONTROLS=1
36633 fi
36634
36635 if test "$wxUSE_ACCEL" = "yes"; then
36636 cat >>confdefs.h <<\_ACEOF
36637 #define wxUSE_ACCEL 1
36638 _ACEOF
36639
36640 USES_CONTROLS=1
36641 fi
36642
36643 if test "$wxUSE_BUTTON" = "yes"; then
36644 cat >>confdefs.h <<\_ACEOF
36645 #define wxUSE_BUTTON 1
36646 _ACEOF
36647
36648 USES_CONTROLS=1
36649 fi
36650
36651 if test "$wxUSE_BMPBUTTON" = "yes"; then
36652 cat >>confdefs.h <<\_ACEOF
36653 #define wxUSE_BMPBUTTON 1
36654 _ACEOF
36655
36656 USES_CONTROLS=1
36657 fi
36658
36659 if test "$wxUSE_CALCTRL" = "yes"; then
36660 cat >>confdefs.h <<\_ACEOF
36661 #define wxUSE_CALENDARCTRL 1
36662 _ACEOF
36663
36664 USES_CONTROLS=1
36665 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
36666 fi
36667
36668 if test "$wxUSE_CARET" = "yes"; then
36669 cat >>confdefs.h <<\_ACEOF
36670 #define wxUSE_CARET 1
36671 _ACEOF
36672
36673 USES_CONTROLS=1
36674 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
36675 fi
36676
36677 if test "$wxUSE_COMBOBOX" = "yes"; then
36678 cat >>confdefs.h <<\_ACEOF
36679 #define wxUSE_COMBOBOX 1
36680 _ACEOF
36681
36682 USES_CONTROLS=1
36683 fi
36684
36685 if test "$wxUSE_CHOICE" = "yes"; then
36686 cat >>confdefs.h <<\_ACEOF
36687 #define wxUSE_CHOICE 1
36688 _ACEOF
36689
36690 USES_CONTROLS=1
36691 fi
36692
36693 if test "$wxUSE_CHOICEBOOK" = "yes"; then
36694 cat >>confdefs.h <<\_ACEOF
36695 #define wxUSE_CHOICEBOOK 1
36696 _ACEOF
36697
36698 USES_CONTROLS=1
36699 fi
36700
36701 if test "$wxUSE_CHECKBOX" = "yes"; then
36702 cat >>confdefs.h <<\_ACEOF
36703 #define wxUSE_CHECKBOX 1
36704 _ACEOF
36705
36706 USES_CONTROLS=1
36707 fi
36708
36709 if test "$wxUSE_CHECKLST" = "yes"; then
36710 cat >>confdefs.h <<\_ACEOF
36711 #define wxUSE_CHECKLISTBOX 1
36712 _ACEOF
36713
36714 USES_CONTROLS=1
36715 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
36716 fi
36717
36718 if test "$wxUSE_DISPLAY" = "yes"; then
36719 cat >>confdefs.h <<\_ACEOF
36720 #define wxUSE_DISPLAY 1
36721 _ACEOF
36722
36723 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
36724 fi
36725
36726 if test "$wxUSE_GAUGE" = "yes"; then
36727 cat >>confdefs.h <<\_ACEOF
36728 #define wxUSE_GAUGE 1
36729 _ACEOF
36730
36731 USES_CONTROLS=1
36732 fi
36733
36734 if test "$wxUSE_GRID" = "yes"; then
36735 cat >>confdefs.h <<\_ACEOF
36736 #define wxUSE_GRID 1
36737 _ACEOF
36738
36739 USES_CONTROLS=1
36740 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
36741 fi
36742
36743 if test "$wxUSE_IMAGLIST" = "yes"; then
36744 cat >>confdefs.h <<\_ACEOF
36745 #define wxUSE_IMAGLIST 1
36746 _ACEOF
36747
36748 fi
36749
36750 if test "$wxUSE_LISTBOOK" = "yes"; then
36751 cat >>confdefs.h <<\_ACEOF
36752 #define wxUSE_LISTBOOK 1
36753 _ACEOF
36754
36755 USES_CONTROLS=1
36756 fi
36757
36758 if test "$wxUSE_LISTBOX" = "yes"; then
36759 cat >>confdefs.h <<\_ACEOF
36760 #define wxUSE_LISTBOX 1
36761 _ACEOF
36762
36763 USES_CONTROLS=1
36764 fi
36765
36766 if test "$wxUSE_LISTCTRL" = "yes"; then
36767 if test "$wxUSE_IMAGLIST" = "yes"; then
36768 cat >>confdefs.h <<\_ACEOF
36769 #define wxUSE_LISTCTRL 1
36770 _ACEOF
36771
36772 USES_CONTROLS=1
36773 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
36774 else
36775 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36776 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36777 fi
36778 fi
36779
36780 if test "$wxUSE_NOTEBOOK" = "yes"; then
36781 cat >>confdefs.h <<\_ACEOF
36782 #define wxUSE_NOTEBOOK 1
36783 _ACEOF
36784
36785 USES_CONTROLS=1
36786 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
36787 fi
36788
36789
36790 if test "$wxUSE_RADIOBOX" = "yes"; then
36791 cat >>confdefs.h <<\_ACEOF
36792 #define wxUSE_RADIOBOX 1
36793 _ACEOF
36794
36795 USES_CONTROLS=1
36796 fi
36797
36798 if test "$wxUSE_RADIOBTN" = "yes"; then
36799 cat >>confdefs.h <<\_ACEOF
36800 #define wxUSE_RADIOBTN 1
36801 _ACEOF
36802
36803 USES_CONTROLS=1
36804 fi
36805
36806 if test "$wxUSE_SASH" = "yes"; then
36807 cat >>confdefs.h <<\_ACEOF
36808 #define wxUSE_SASH 1
36809 _ACEOF
36810
36811 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
36812 fi
36813
36814 if test "$wxUSE_SCROLLBAR" = "yes"; then
36815 cat >>confdefs.h <<\_ACEOF
36816 #define wxUSE_SCROLLBAR 1
36817 _ACEOF
36818
36819 USES_CONTROLS=1
36820 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
36821 fi
36822
36823 if test "$wxUSE_SLIDER" = "yes"; then
36824 cat >>confdefs.h <<\_ACEOF
36825 #define wxUSE_SLIDER 1
36826 _ACEOF
36827
36828 USES_CONTROLS=1
36829 fi
36830
36831 if test "$wxUSE_SPINBTN" = "yes"; then
36832 cat >>confdefs.h <<\_ACEOF
36833 #define wxUSE_SPINBTN 1
36834 _ACEOF
36835
36836 USES_CONTROLS=1
36837 fi
36838
36839 if test "$wxUSE_SPINCTRL" = "yes"; then
36840 cat >>confdefs.h <<\_ACEOF
36841 #define wxUSE_SPINCTRL 1
36842 _ACEOF
36843
36844 USES_CONTROLS=1
36845 fi
36846
36847 if test "$wxUSE_SPLITTER" = "yes"; then
36848 cat >>confdefs.h <<\_ACEOF
36849 #define wxUSE_SPLITTER 1
36850 _ACEOF
36851
36852 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
36853 fi
36854
36855 if test "$wxUSE_STATBMP" = "yes"; then
36856 cat >>confdefs.h <<\_ACEOF
36857 #define wxUSE_STATBMP 1
36858 _ACEOF
36859
36860 USES_CONTROLS=1
36861 fi
36862
36863 if test "$wxUSE_STATBOX" = "yes"; then
36864 cat >>confdefs.h <<\_ACEOF
36865 #define wxUSE_STATBOX 1
36866 _ACEOF
36867
36868 USES_CONTROLS=1
36869 fi
36870
36871 if test "$wxUSE_STATTEXT" = "yes"; then
36872 cat >>confdefs.h <<\_ACEOF
36873 #define wxUSE_STATTEXT 1
36874 _ACEOF
36875
36876 USES_CONTROLS=1
36877 fi
36878
36879 if test "$wxUSE_STATLINE" = "yes"; then
36880 cat >>confdefs.h <<\_ACEOF
36881 #define wxUSE_STATLINE 1
36882 _ACEOF
36883
36884 USES_CONTROLS=1
36885 fi
36886
36887 if test "$wxUSE_STATUSBAR" = "yes"; then
36888 cat >>confdefs.h <<\_ACEOF
36889 #define wxUSE_STATUSBAR 1
36890 _ACEOF
36891
36892 USES_CONTROLS=1
36893
36894 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
36895 fi
36896
36897 if test "$wxUSE_TABDIALOG" = "yes"; then
36898 cat >>confdefs.h <<\_ACEOF
36899 #define wxUSE_TAB_DIALOG 1
36900 _ACEOF
36901
36902 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
36903 fi
36904
36905 if test "$wxUSE_TEXTCTRL" = "yes"; then
36906 cat >>confdefs.h <<\_ACEOF
36907 #define wxUSE_TEXTCTRL 1
36908 _ACEOF
36909
36910 USES_CONTROLS=1
36911 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
36912 fi
36913
36914 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36915 if test "$wxUSE_COCOA" = 1 ; then
36916 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
36917 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
36918 wxUSE_TOGGLEBTN=no
36919 else
36920 if test "$wxUSE_PM" = 1; then
36921 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under PM... disabled" >&5
36922 echo "$as_me: WARNING: Toggle button not yet supported under PM... disabled" >&2;}
36923 wxUSE_TOGGLEBTN=no
36924 fi
36925 fi
36926 if test "$wxUSE_UNIVERSAL" = "yes"; then
36927 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
36928 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
36929 wxUSE_TOGGLEBTN=no
36930 fi
36931
36932 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36933 cat >>confdefs.h <<\_ACEOF
36934 #define wxUSE_TOGGLEBTN 1
36935 _ACEOF
36936
36937 USES_CONTROLS=1
36938 fi
36939 fi
36940
36941 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
36942 cat >>confdefs.h <<\_ACEOF
36943 #define wxUSE_TOOLBAR_SIMPLE 1
36944 _ACEOF
36945
36946 wxUSE_TOOLBAR="yes"
36947 USES_CONTROLS=1
36948 fi
36949
36950 if test "$wxUSE_TOOLBAR" = "yes"; then
36951 cat >>confdefs.h <<\_ACEOF
36952 #define wxUSE_TOOLBAR 1
36953 _ACEOF
36954
36955 USES_CONTROLS=1
36956
36957 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
36958 wxUSE_TOOLBAR_NATIVE="yes"
36959 fi
36960
36961 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
36962 cat >>confdefs.h <<\_ACEOF
36963 #define wxUSE_TOOLBAR_NATIVE 1
36964 _ACEOF
36965
36966 USES_CONTROLS=1
36967 fi
36968
36969 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
36970 fi
36971
36972 if test "$wxUSE_TOOLTIPS" = "yes"; then
36973 if test "$wxUSE_MOTIF" = 1; then
36974 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
36975 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
36976 else
36977 if test "$wxUSE_UNIVERSAL" = "yes"; then
36978 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
36979 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
36980 else
36981 cat >>confdefs.h <<\_ACEOF
36982 #define wxUSE_TOOLTIPS 1
36983 _ACEOF
36984
36985 fi
36986 fi
36987 fi
36988
36989 if test "$wxUSE_TREECTRL" = "yes"; then
36990 if test "$wxUSE_IMAGLIST" = "yes"; then
36991 cat >>confdefs.h <<\_ACEOF
36992 #define wxUSE_TREECTRL 1
36993 _ACEOF
36994
36995 USES_CONTROLS=1
36996 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
36997 else
36998 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
36999 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
37000 fi
37001 fi
37002
37003 if test "$wxUSE_POPUPWIN" = "yes"; then
37004 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
37005 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
37006 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
37007 else
37008 if test "$wxUSE_PM" = 1; then
37009 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
37010 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
37011 else
37012 cat >>confdefs.h <<\_ACEOF
37013 #define wxUSE_POPUPWIN 1
37014 _ACEOF
37015
37016
37017 USES_CONTROLS=1
37018 fi
37019 fi
37020 fi
37021
37022 if test "$wxUSE_TIPWINDOW" = "yes"; then
37023 if test "$wxUSE_PM" = 1; then
37024 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
37025 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
37026 else
37027 cat >>confdefs.h <<\_ACEOF
37028 #define wxUSE_TIPWINDOW 1
37029 _ACEOF
37030
37031 fi
37032 fi
37033
37034 if test "$USES_CONTROLS" = 1; then
37035 cat >>confdefs.h <<\_ACEOF
37036 #define wxUSE_CONTROLS 1
37037 _ACEOF
37038
37039 fi
37040
37041
37042 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
37043 cat >>confdefs.h <<\_ACEOF
37044 #define wxUSE_ACCESSIBILITY 1
37045 _ACEOF
37046
37047 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
37048 fi
37049
37050 if test "$wxUSE_DRAGIMAGE" = "yes"; then
37051 cat >>confdefs.h <<\_ACEOF
37052 #define wxUSE_DRAGIMAGE 1
37053 _ACEOF
37054
37055 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
37056 fi
37057
37058 if test "$wxUSE_EXCEPTIONS" = "yes"; then
37059 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
37060 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
37061 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
37062 else
37063 cat >>confdefs.h <<\_ACEOF
37064 #define wxUSE_EXCEPTIONS 1
37065 _ACEOF
37066
37067 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
37068 fi
37069 fi
37070
37071 USE_HTML=0
37072 if test "$wxUSE_HTML" = "yes"; then
37073 cat >>confdefs.h <<\_ACEOF
37074 #define wxUSE_HTML 1
37075 _ACEOF
37076
37077 USE_HTML=1
37078 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
37079 if test "$wxUSE_MAC" = 1; then
37080 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
37081 fi
37082 fi
37083 if test "$wxUSE_WEBKIT" = "yes"; then
37084 if test "$wxUSE_MAC" = 1; then
37085 old_CPPFLAGS="$CPPFLAGS"
37086 CPPFLAGS="$CPPFLAGS -x objective-c++"
37087 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
37088 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
37089 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
37090 echo $ECHO_N "(cached) $ECHO_C" >&6
37091 else
37092 cat >conftest.$ac_ext <<_ACEOF
37093 /* confdefs.h. */
37094 _ACEOF
37095 cat confdefs.h >>conftest.$ac_ext
37096 cat >>conftest.$ac_ext <<_ACEOF
37097 /* end confdefs.h. */
37098 #include <Carbon/Carbon.h>
37099
37100 #include <WebKit/HIWebView.h>
37101 _ACEOF
37102 rm -f conftest.$ac_objext
37103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37104 (eval $ac_compile) 2>conftest.er1
37105 ac_status=$?
37106 grep -v '^ *+' conftest.er1 >conftest.err
37107 rm -f conftest.er1
37108 cat conftest.err >&5
37109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37110 (exit $ac_status); } &&
37111 { ac_try='test -z "$ac_c_werror_flag"
37112 || test ! -s conftest.err'
37113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37114 (eval $ac_try) 2>&5
37115 ac_status=$?
37116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37117 (exit $ac_status); }; } &&
37118 { ac_try='test -s conftest.$ac_objext'
37119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37120 (eval $ac_try) 2>&5
37121 ac_status=$?
37122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37123 (exit $ac_status); }; }; then
37124 ac_cv_header_WebKit_HIWebView_h=yes
37125 else
37126 echo "$as_me: failed program was:" >&5
37127 sed 's/^/| /' conftest.$ac_ext >&5
37128
37129 ac_cv_header_WebKit_HIWebView_h=no
37130 fi
37131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37132 fi
37133 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
37134 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
37135 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
37136
37137 cat >>confdefs.h <<\_ACEOF
37138 #define wxUSE_WEBKIT 1
37139 _ACEOF
37140
37141 WEBKIT_LINK="-framework WebKit"
37142
37143 else
37144
37145 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
37146 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
37147 wxUSE_WEBKIT=no
37148
37149 fi
37150
37151
37152 CPPFLAGS="$old_CPPFLAGS"
37153 elif test "$wxUSE_COCOA" = 1; then
37154 cat >>confdefs.h <<\_ACEOF
37155 #define wxUSE_WEBKIT 1
37156 _ACEOF
37157
37158 else
37159 wxUSE_WEBKIT=no
37160 fi
37161 fi
37162
37163 USE_XRC=0
37164 if test "$wxUSE_XRC" = "yes"; then
37165 if test "$wxUSE_XML" != "yes"; then
37166 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
37167 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
37168 wxUSE_XRC=no
37169 else
37170 cat >>confdefs.h <<\_ACEOF
37171 #define wxUSE_XRC 1
37172 _ACEOF
37173
37174 USE_XRC=1
37175 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
37176 fi
37177 fi
37178
37179 if test "$wxUSE_MENUS" = "yes"; then
37180 cat >>confdefs.h <<\_ACEOF
37181 #define wxUSE_MENUS 1
37182 _ACEOF
37183
37184 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
37185 fi
37186
37187 if test "$wxUSE_METAFILE" = "yes"; then
37188 cat >>confdefs.h <<\_ACEOF
37189 #define wxUSE_METAFILE 1
37190 _ACEOF
37191
37192 fi
37193
37194 if test "$wxUSE_MIMETYPE" = "yes"; then
37195 cat >>confdefs.h <<\_ACEOF
37196 #define wxUSE_MIMETYPE 1
37197 _ACEOF
37198
37199 fi
37200
37201 if test "$wxUSE_MINIFRAME" = "yes"; then
37202 cat >>confdefs.h <<\_ACEOF
37203 #define wxUSE_MINIFRAME 1
37204 _ACEOF
37205
37206 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
37207 fi
37208
37209 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
37210 cat >>confdefs.h <<\_ACEOF
37211 #define wxUSE_SYSTEM_OPTIONS 1
37212 _ACEOF
37213
37214 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
37215 "$TOOLKIT" = "MOTIF"; then
37216 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
37217 fi
37218 fi
37219
37220
37221 if test "$wxUSE_VALIDATORS" = "yes"; then
37222 cat >>confdefs.h <<\_ACEOF
37223 #define wxUSE_VALIDATORS 1
37224 _ACEOF
37225
37226 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
37227 fi
37228
37229 if test "$wxUSE_PALETTE" = "yes" ; then
37230 cat >>confdefs.h <<\_ACEOF
37231 #define wxUSE_PALETTE 1
37232 _ACEOF
37233
37234 fi
37235
37236 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
37237 LIBS=" -lunicows $LIBS"
37238 fi
37239
37240
37241 if test "$wxUSE_IMAGE" = "yes" ; then
37242 cat >>confdefs.h <<\_ACEOF
37243 #define wxUSE_IMAGE 1
37244 _ACEOF
37245
37246
37247 if test "$wxUSE_GIF" = "yes" ; then
37248 cat >>confdefs.h <<\_ACEOF
37249 #define wxUSE_GIF 1
37250 _ACEOF
37251
37252 fi
37253
37254 if test "$wxUSE_PCX" = "yes" ; then
37255 cat >>confdefs.h <<\_ACEOF
37256 #define wxUSE_PCX 1
37257 _ACEOF
37258
37259 fi
37260
37261 if test "$wxUSE_IFF" = "yes" ; then
37262 cat >>confdefs.h <<\_ACEOF
37263 #define wxUSE_IFF 1
37264 _ACEOF
37265
37266 fi
37267
37268 if test "$wxUSE_PNM" = "yes" ; then
37269 cat >>confdefs.h <<\_ACEOF
37270 #define wxUSE_PNM 1
37271 _ACEOF
37272
37273 fi
37274
37275 if test "$wxUSE_XPM" = "yes" ; then
37276 cat >>confdefs.h <<\_ACEOF
37277 #define wxUSE_XPM 1
37278 _ACEOF
37279
37280 fi
37281
37282 if test "$wxUSE_ICO_CUR" = "yes" ; then
37283 cat >>confdefs.h <<\_ACEOF
37284 #define wxUSE_ICO_CUR 1
37285 _ACEOF
37286
37287 fi
37288 fi
37289
37290
37291 if test "$wxUSE_CHOICEDLG" = "yes"; then
37292 cat >>confdefs.h <<\_ACEOF
37293 #define wxUSE_CHOICEDLG 1
37294 _ACEOF
37295
37296 fi
37297
37298 if test "$wxUSE_COLOURDLG" = "yes"; then
37299 cat >>confdefs.h <<\_ACEOF
37300 #define wxUSE_COLOURDLG 1
37301 _ACEOF
37302
37303 fi
37304
37305 if test "$wxUSE_FILEDLG" = "yes"; then
37306 cat >>confdefs.h <<\_ACEOF
37307 #define wxUSE_FILEDLG 1
37308 _ACEOF
37309
37310 fi
37311
37312 if test "$wxUSE_FINDREPLDLG" = "yes"; then
37313 cat >>confdefs.h <<\_ACEOF
37314 #define wxUSE_FINDREPLDLG 1
37315 _ACEOF
37316
37317 fi
37318
37319 if test "$wxUSE_FONTDLG" = "yes"; then
37320 cat >>confdefs.h <<\_ACEOF
37321 #define wxUSE_FONTDLG 1
37322 _ACEOF
37323
37324 fi
37325
37326 if test "$wxUSE_DIRDLG" = "yes"; then
37327 if test "$wxUSE_TREECTRL" != "yes"; then
37328 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
37329 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
37330 else
37331 cat >>confdefs.h <<\_ACEOF
37332 #define wxUSE_DIRDLG 1
37333 _ACEOF
37334
37335 fi
37336 fi
37337
37338 if test "$wxUSE_MSGDLG" = "yes"; then
37339 cat >>confdefs.h <<\_ACEOF
37340 #define wxUSE_MSGDLG 1
37341 _ACEOF
37342
37343 fi
37344
37345 if test "$wxUSE_NUMBERDLG" = "yes"; then
37346 cat >>confdefs.h <<\_ACEOF
37347 #define wxUSE_NUMBERDLG 1
37348 _ACEOF
37349
37350 fi
37351
37352 if test "$wxUSE_PROGRESSDLG" = "yes"; then
37353 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37354 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
37355 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
37356 else
37357 cat >>confdefs.h <<\_ACEOF
37358 #define wxUSE_PROGRESSDLG 1
37359 _ACEOF
37360
37361 fi
37362 fi
37363
37364 if test "$wxUSE_SPLASH" = "yes"; then
37365 cat >>confdefs.h <<\_ACEOF
37366 #define wxUSE_SPLASH 1
37367 _ACEOF
37368
37369 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
37370 fi
37371
37372 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
37373 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37374 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
37375 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
37376 else
37377 cat >>confdefs.h <<\_ACEOF
37378 #define wxUSE_STARTUP_TIPS 1
37379 _ACEOF
37380
37381 fi
37382 fi
37383
37384 if test "$wxUSE_TEXTDLG" = "yes"; then
37385 cat >>confdefs.h <<\_ACEOF
37386 #define wxUSE_TEXTDLG 1
37387 _ACEOF
37388
37389 fi
37390
37391 if test "$wxUSE_WIZARDDLG" = "yes"; then
37392 cat >>confdefs.h <<\_ACEOF
37393 #define wxUSE_WIZARDDLG 1
37394 _ACEOF
37395
37396 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
37397 fi
37398
37399
37400 if test "$cross_compiling" = "yes"; then
37401 OSINFO="\"$host\""
37402 else
37403 OSINFO=`uname -s -r -m`
37404 OSINFO="\"$OSINFO\""
37405 fi
37406
37407 cat >>confdefs.h <<_ACEOF
37408 #define WXWIN_OS_DESCRIPTION $OSINFO
37409 _ACEOF
37410
37411
37412
37413 if test "x$prefix" != "xNONE"; then
37414 wxPREFIX=$prefix
37415 else
37416 wxPREFIX=$ac_default_prefix
37417 fi
37418
37419 cat >>confdefs.h <<_ACEOF
37420 #define wxINSTALL_PREFIX "$wxPREFIX"
37421 _ACEOF
37422
37423
37424
37425
37426 CORE_BASE_LIBS="net base"
37427 CORE_GUI_LIBS="adv core"
37428
37429 if test "$wxUSE_XML" = "yes" ; then
37430 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
37431 fi
37432 if test "$wxUSE_ODBC" != "no" ; then
37433 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
37434 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
37435 fi
37436 if test "$wxUSE_HTML" = "yes" ; then
37437 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
37438 fi
37439 if test "$wxUSE_XRC" = "yes" ; then
37440 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
37441 fi
37442
37443 if test "$wxUSE_GUI" != "yes"; then
37444 CORE_GUI_LIBS=""
37445 fi
37446
37447
37448
37449
37450
37451
37452
37453
37454 if test "$wxUSE_MAC" = 1 ; then
37455 if test "$wxUSE_SOUND" = "yes"; then
37456 LDFLAGS="$LDFLAGS -framework QuickTime"
37457 fi
37458 if test "$USE_DARWIN" = 1; then
37459 LDFLAGS="$LDFLAGS -framework IOKit"
37460 fi
37461 LDFLAGS="$LDFLAGS -framework Carbon -framework Cocoa -framework System"
37462 fi
37463 if test "$wxUSE_COCOA" = 1 ; then
37464 LDFLAGS="$LDFLAGS -framework Cocoa -framework System"
37465 fi
37466
37467
37468 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37469
37470 have_cos=0
37471 have_floor=0
37472
37473 for ac_func in cos
37474 do
37475 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37476 echo "$as_me:$LINENO: checking for $ac_func" >&5
37477 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37478 if eval "test \"\${$as_ac_var+set}\" = set"; then
37479 echo $ECHO_N "(cached) $ECHO_C" >&6
37480 else
37481 cat >conftest.$ac_ext <<_ACEOF
37482 /* confdefs.h. */
37483 _ACEOF
37484 cat confdefs.h >>conftest.$ac_ext
37485 cat >>conftest.$ac_ext <<_ACEOF
37486 /* end confdefs.h. */
37487 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37489 #define $ac_func innocuous_$ac_func
37490
37491 /* System header to define __stub macros and hopefully few prototypes,
37492 which can conflict with char $ac_func (); below.
37493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37494 <limits.h> exists even on freestanding compilers. */
37495
37496 #ifdef __STDC__
37497 # include <limits.h>
37498 #else
37499 # include <assert.h>
37500 #endif
37501
37502 #undef $ac_func
37503
37504 /* Override any gcc2 internal prototype to avoid an error. */
37505 #ifdef __cplusplus
37506 extern "C"
37507 {
37508 #endif
37509 /* We use char because int might match the return type of a gcc2
37510 builtin and then its argument prototype would still apply. */
37511 char $ac_func ();
37512 /* The GNU C library defines this for functions which it implements
37513 to always fail with ENOSYS. Some functions are actually named
37514 something starting with __ and the normal name is an alias. */
37515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37516 choke me
37517 #else
37518 char (*f) () = $ac_func;
37519 #endif
37520 #ifdef __cplusplus
37521 }
37522 #endif
37523
37524 int
37525 main ()
37526 {
37527 return f != $ac_func;
37528 ;
37529 return 0;
37530 }
37531 _ACEOF
37532 rm -f conftest.$ac_objext conftest$ac_exeext
37533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37534 (eval $ac_link) 2>conftest.er1
37535 ac_status=$?
37536 grep -v '^ *+' conftest.er1 >conftest.err
37537 rm -f conftest.er1
37538 cat conftest.err >&5
37539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37540 (exit $ac_status); } &&
37541 { ac_try='test -z "$ac_c_werror_flag"
37542 || test ! -s conftest.err'
37543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37544 (eval $ac_try) 2>&5
37545 ac_status=$?
37546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37547 (exit $ac_status); }; } &&
37548 { ac_try='test -s conftest$ac_exeext'
37549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37550 (eval $ac_try) 2>&5
37551 ac_status=$?
37552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37553 (exit $ac_status); }; }; then
37554 eval "$as_ac_var=yes"
37555 else
37556 echo "$as_me: failed program was:" >&5
37557 sed 's/^/| /' conftest.$ac_ext >&5
37558
37559 eval "$as_ac_var=no"
37560 fi
37561 rm -f conftest.err conftest.$ac_objext \
37562 conftest$ac_exeext conftest.$ac_ext
37563 fi
37564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37565 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37566 if test `eval echo '${'$as_ac_var'}'` = yes; then
37567 cat >>confdefs.h <<_ACEOF
37568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37569 _ACEOF
37570 have_cos=1
37571 fi
37572 done
37573
37574
37575 for ac_func in floor
37576 do
37577 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37578 echo "$as_me:$LINENO: checking for $ac_func" >&5
37579 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37580 if eval "test \"\${$as_ac_var+set}\" = set"; then
37581 echo $ECHO_N "(cached) $ECHO_C" >&6
37582 else
37583 cat >conftest.$ac_ext <<_ACEOF
37584 /* confdefs.h. */
37585 _ACEOF
37586 cat confdefs.h >>conftest.$ac_ext
37587 cat >>conftest.$ac_ext <<_ACEOF
37588 /* end confdefs.h. */
37589 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37590 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37591 #define $ac_func innocuous_$ac_func
37592
37593 /* System header to define __stub macros and hopefully few prototypes,
37594 which can conflict with char $ac_func (); below.
37595 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37596 <limits.h> exists even on freestanding compilers. */
37597
37598 #ifdef __STDC__
37599 # include <limits.h>
37600 #else
37601 # include <assert.h>
37602 #endif
37603
37604 #undef $ac_func
37605
37606 /* Override any gcc2 internal prototype to avoid an error. */
37607 #ifdef __cplusplus
37608 extern "C"
37609 {
37610 #endif
37611 /* We use char because int might match the return type of a gcc2
37612 builtin and then its argument prototype would still apply. */
37613 char $ac_func ();
37614 /* The GNU C library defines this for functions which it implements
37615 to always fail with ENOSYS. Some functions are actually named
37616 something starting with __ and the normal name is an alias. */
37617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37618 choke me
37619 #else
37620 char (*f) () = $ac_func;
37621 #endif
37622 #ifdef __cplusplus
37623 }
37624 #endif
37625
37626 int
37627 main ()
37628 {
37629 return f != $ac_func;
37630 ;
37631 return 0;
37632 }
37633 _ACEOF
37634 rm -f conftest.$ac_objext conftest$ac_exeext
37635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37636 (eval $ac_link) 2>conftest.er1
37637 ac_status=$?
37638 grep -v '^ *+' conftest.er1 >conftest.err
37639 rm -f conftest.er1
37640 cat conftest.err >&5
37641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37642 (exit $ac_status); } &&
37643 { ac_try='test -z "$ac_c_werror_flag"
37644 || test ! -s conftest.err'
37645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37646 (eval $ac_try) 2>&5
37647 ac_status=$?
37648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37649 (exit $ac_status); }; } &&
37650 { ac_try='test -s conftest$ac_exeext'
37651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37652 (eval $ac_try) 2>&5
37653 ac_status=$?
37654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37655 (exit $ac_status); }; }; then
37656 eval "$as_ac_var=yes"
37657 else
37658 echo "$as_me: failed program was:" >&5
37659 sed 's/^/| /' conftest.$ac_ext >&5
37660
37661 eval "$as_ac_var=no"
37662 fi
37663 rm -f conftest.err conftest.$ac_objext \
37664 conftest$ac_exeext conftest.$ac_ext
37665 fi
37666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37667 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37668 if test `eval echo '${'$as_ac_var'}'` = yes; then
37669 cat >>confdefs.h <<_ACEOF
37670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37671 _ACEOF
37672 have_floor=1
37673 fi
37674 done
37675
37676 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
37677 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
37678 if test "$have_cos" = 1 -a "$have_floor" = 1; then
37679 echo "$as_me:$LINENO: result: yes" >&5
37680 echo "${ECHO_T}yes" >&6
37681 else
37682 echo "$as_me:$LINENO: result: no" >&5
37683 echo "${ECHO_T}no" >&6
37684 LIBS="$LIBS -lm"
37685 # use different functions to avoid configure caching
37686 have_sin=0
37687 have_ceil=0
37688
37689 for ac_func in sin
37690 do
37691 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37692 echo "$as_me:$LINENO: checking for $ac_func" >&5
37693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37694 if eval "test \"\${$as_ac_var+set}\" = set"; then
37695 echo $ECHO_N "(cached) $ECHO_C" >&6
37696 else
37697 cat >conftest.$ac_ext <<_ACEOF
37698 /* confdefs.h. */
37699 _ACEOF
37700 cat confdefs.h >>conftest.$ac_ext
37701 cat >>conftest.$ac_ext <<_ACEOF
37702 /* end confdefs.h. */
37703 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37704 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37705 #define $ac_func innocuous_$ac_func
37706
37707 /* System header to define __stub macros and hopefully few prototypes,
37708 which can conflict with char $ac_func (); below.
37709 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37710 <limits.h> exists even on freestanding compilers. */
37711
37712 #ifdef __STDC__
37713 # include <limits.h>
37714 #else
37715 # include <assert.h>
37716 #endif
37717
37718 #undef $ac_func
37719
37720 /* Override any gcc2 internal prototype to avoid an error. */
37721 #ifdef __cplusplus
37722 extern "C"
37723 {
37724 #endif
37725 /* We use char because int might match the return type of a gcc2
37726 builtin and then its argument prototype would still apply. */
37727 char $ac_func ();
37728 /* The GNU C library defines this for functions which it implements
37729 to always fail with ENOSYS. Some functions are actually named
37730 something starting with __ and the normal name is an alias. */
37731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37732 choke me
37733 #else
37734 char (*f) () = $ac_func;
37735 #endif
37736 #ifdef __cplusplus
37737 }
37738 #endif
37739
37740 int
37741 main ()
37742 {
37743 return f != $ac_func;
37744 ;
37745 return 0;
37746 }
37747 _ACEOF
37748 rm -f conftest.$ac_objext conftest$ac_exeext
37749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37750 (eval $ac_link) 2>conftest.er1
37751 ac_status=$?
37752 grep -v '^ *+' conftest.er1 >conftest.err
37753 rm -f conftest.er1
37754 cat conftest.err >&5
37755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37756 (exit $ac_status); } &&
37757 { ac_try='test -z "$ac_c_werror_flag"
37758 || 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 eval "$as_ac_var=yes"
37771 else
37772 echo "$as_me: failed program was:" >&5
37773 sed 's/^/| /' conftest.$ac_ext >&5
37774
37775 eval "$as_ac_var=no"
37776 fi
37777 rm -f conftest.err conftest.$ac_objext \
37778 conftest$ac_exeext conftest.$ac_ext
37779 fi
37780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37781 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37782 if test `eval echo '${'$as_ac_var'}'` = yes; then
37783 cat >>confdefs.h <<_ACEOF
37784 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37785 _ACEOF
37786 have_sin=1
37787 fi
37788 done
37789
37790
37791 for ac_func in ceil
37792 do
37793 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37794 echo "$as_me:$LINENO: checking for $ac_func" >&5
37795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37796 if eval "test \"\${$as_ac_var+set}\" = set"; then
37797 echo $ECHO_N "(cached) $ECHO_C" >&6
37798 else
37799 cat >conftest.$ac_ext <<_ACEOF
37800 /* confdefs.h. */
37801 _ACEOF
37802 cat confdefs.h >>conftest.$ac_ext
37803 cat >>conftest.$ac_ext <<_ACEOF
37804 /* end confdefs.h. */
37805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37807 #define $ac_func innocuous_$ac_func
37808
37809 /* System header to define __stub macros and hopefully few prototypes,
37810 which can conflict with char $ac_func (); below.
37811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37812 <limits.h> exists even on freestanding compilers. */
37813
37814 #ifdef __STDC__
37815 # include <limits.h>
37816 #else
37817 # include <assert.h>
37818 #endif
37819
37820 #undef $ac_func
37821
37822 /* Override any gcc2 internal prototype to avoid an error. */
37823 #ifdef __cplusplus
37824 extern "C"
37825 {
37826 #endif
37827 /* We use char because int might match the return type of a gcc2
37828 builtin and then its argument prototype would still apply. */
37829 char $ac_func ();
37830 /* The GNU C library defines this for functions which it implements
37831 to always fail with ENOSYS. Some functions are actually named
37832 something starting with __ and the normal name is an alias. */
37833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37834 choke me
37835 #else
37836 char (*f) () = $ac_func;
37837 #endif
37838 #ifdef __cplusplus
37839 }
37840 #endif
37841
37842 int
37843 main ()
37844 {
37845 return f != $ac_func;
37846 ;
37847 return 0;
37848 }
37849 _ACEOF
37850 rm -f conftest.$ac_objext conftest$ac_exeext
37851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37852 (eval $ac_link) 2>conftest.er1
37853 ac_status=$?
37854 grep -v '^ *+' conftest.er1 >conftest.err
37855 rm -f conftest.er1
37856 cat conftest.err >&5
37857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37858 (exit $ac_status); } &&
37859 { ac_try='test -z "$ac_c_werror_flag"
37860 || test ! -s conftest.err'
37861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37862 (eval $ac_try) 2>&5
37863 ac_status=$?
37864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37865 (exit $ac_status); }; } &&
37866 { ac_try='test -s conftest$ac_exeext'
37867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37868 (eval $ac_try) 2>&5
37869 ac_status=$?
37870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37871 (exit $ac_status); }; }; then
37872 eval "$as_ac_var=yes"
37873 else
37874 echo "$as_me: failed program was:" >&5
37875 sed 's/^/| /' conftest.$ac_ext >&5
37876
37877 eval "$as_ac_var=no"
37878 fi
37879 rm -f conftest.err conftest.$ac_objext \
37880 conftest$ac_exeext conftest.$ac_ext
37881 fi
37882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37884 if test `eval echo '${'$as_ac_var'}'` = yes; then
37885 cat >>confdefs.h <<_ACEOF
37886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37887 _ACEOF
37888 have_ceil=1
37889 fi
37890 done
37891
37892 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
37893 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
37894 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
37895 echo "$as_me:$LINENO: result: yes" >&5
37896 echo "${ECHO_T}yes" >&6
37897 else
37898 echo "$as_me:$LINENO: result: no" >&5
37899 echo "${ECHO_T}no" >&6
37900 # not sure we should warn the user, crash, etc.
37901 fi
37902 fi
37903
37904 if test "$wxUSE_GUI" = "yes"; then
37905
37906
37907 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
37908 drawing dynamic erase event exec font image \
37909 minimal propsize rotate shaped widgets render"
37910
37911 if test "$wxUSE_MONOLITHIC" != "yes"; then
37912 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
37913 fi
37914 else
37915 SAMPLES_SUBDIRS="console"
37916 fi
37917
37918
37919 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
37920 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
37921
37922 if test "$GXX" = yes ; then
37923 CXXWARNINGS="-Wall"
37924 fi
37925
37926 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
37927
37928 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
37929 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS`
37930 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
37931
37932
37933 LIBS=`echo $LIBS`
37934 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37935 EXTRALIBS_XML="$EXPAT_LINK"
37936 EXTRALIBS_HTML="$MSPACK_LINK"
37937 EXTRALIBS_ODBC="$ODBC_LINK"
37938 if test "$wxUSE_GUI" = "yes"; then
37939 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK`
37940 fi
37941 if test "$wxUSE_OPENGL" = "yes"; then
37942 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
37943 fi
37944
37945 LDFLAGS="$LDFLAGS $PROFILE"
37946
37947 if test "$wxUSE_GTK" = 1; then
37948 WXCONFIG_INCLUDE=
37949 else
37950 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
37951 fi
37952
37953 WXCONFIG_EXTRALIBS="$LIBS"
37954
37955 if test "$wxUSE_REGEX" = "builtin" ; then
37956 wxconfig_3rdparty="$wxconfig_3rdparty regex${lib_unicode_suffix}"
37957 fi
37958 if test "$wxUSE_EXPAT" = "builtin" ; then
37959 wxconfig_3rdparty="$wxconfig_3rdparty expat"
37960 fi
37961 if test "$wxUSE_ODBC" = "builtin" ; then
37962 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
37963 fi
37964 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37965 wxconfig_3rdparty="$wxconfig_3rdparty tiff"
37966 fi
37967 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37968 wxconfig_3rdparty="$wxconfig_3rdparty jpeg"
37969 fi
37970 if test "$wxUSE_LIBPNG" = "builtin" ; then
37971 wxconfig_3rdparty="$wxconfig_3rdparty png"
37972 fi
37973 if test "$wxUSE_ZLIB" = "builtin" ; then
37974 wxconfig_3rdparty="$wxconfig_3rdparty zlib"
37975 fi
37976 if test "$wxUSE_ODBC" = "builtin" ; then
37977 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
37978 fi
37979
37980 for i in $wxconfig_3rdparty ; do
37981 WXCONFIG_EXTRALIBS="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
37982 done
37983
37984
37985 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37986 WXUNIV=1
37987 else
37988 WXUNIV=0
37989 fi
37990
37991
37992
37993
37994
37995
37996
37997
37998
37999 if test $wxUSE_MONOLITHIC = "yes" ; then
38000 MONOLITHIC=1
38001 else
38002 MONOLITHIC=0
38003 fi
38004
38005 if test $wxUSE_PLUGINS = "yes" ; then
38006 USE_PLUGINS=1
38007 else
38008 USE_PLUGINS=0
38009 fi
38010
38011 if test $wxUSE_ODBC != "no" ; then
38012 USE_ODBC=1
38013 else
38014 USE_ODBC=0
38015 fi
38016
38017 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
38018 OFFICIAL_BUILD=1
38019 else
38020 OFFICIAL_BUILD=0
38021 fi
38022
38023
38024
38025
38026
38027
38028
38029
38030
38031
38032
38033
38034
38035
38036
38037
38038
38039
38040
38041
38042
38043
38044 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
38045
38046
38047
38048
38049
38050
38051
38052
38053 case "$TOOLKIT" in
38054 GTK)
38055 TOOLKIT_USER="GTK+"
38056 if test "$WXGTK20" = 1; then
38057 TOOLKIT_USER="$TOOLKIT_USER 2"
38058 fi
38059 ;;
38060
38061 *)
38062 TOOLKIT_USER=$TOOLKIT_LOWERCASE
38063 ;;
38064 esac
38065
38066
38067 if test "x$BAKEFILE_HOST" = "x"; then
38068 BAKEFILE_HOST="${host}"
38069 fi
38070
38071 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
38072
38073 if test -n "$ac_tool_prefix"; then
38074 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
38075 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
38076 echo "$as_me:$LINENO: checking for $ac_word" >&5
38077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38078 if test "${ac_cv_prog_RANLIB+set}" = set; then
38079 echo $ECHO_N "(cached) $ECHO_C" >&6
38080 else
38081 if test -n "$RANLIB"; then
38082 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
38083 else
38084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38085 for as_dir in $PATH
38086 do
38087 IFS=$as_save_IFS
38088 test -z "$as_dir" && as_dir=.
38089 for ac_exec_ext in '' $ac_executable_extensions; do
38090 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38091 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
38092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38093 break 2
38094 fi
38095 done
38096 done
38097
38098 fi
38099 fi
38100 RANLIB=$ac_cv_prog_RANLIB
38101 if test -n "$RANLIB"; then
38102 echo "$as_me:$LINENO: result: $RANLIB" >&5
38103 echo "${ECHO_T}$RANLIB" >&6
38104 else
38105 echo "$as_me:$LINENO: result: no" >&5
38106 echo "${ECHO_T}no" >&6
38107 fi
38108
38109 fi
38110 if test -z "$ac_cv_prog_RANLIB"; then
38111 ac_ct_RANLIB=$RANLIB
38112 # Extract the first word of "ranlib", so it can be a program name with args.
38113 set dummy ranlib; ac_word=$2
38114 echo "$as_me:$LINENO: checking for $ac_word" >&5
38115 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38116 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
38117 echo $ECHO_N "(cached) $ECHO_C" >&6
38118 else
38119 if test -n "$ac_ct_RANLIB"; then
38120 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
38121 else
38122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38123 for as_dir in $PATH
38124 do
38125 IFS=$as_save_IFS
38126 test -z "$as_dir" && as_dir=.
38127 for ac_exec_ext in '' $ac_executable_extensions; do
38128 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38129 ac_cv_prog_ac_ct_RANLIB="ranlib"
38130 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38131 break 2
38132 fi
38133 done
38134 done
38135
38136 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
38137 fi
38138 fi
38139 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
38140 if test -n "$ac_ct_RANLIB"; then
38141 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
38142 echo "${ECHO_T}$ac_ct_RANLIB" >&6
38143 else
38144 echo "$as_me:$LINENO: result: no" >&5
38145 echo "${ECHO_T}no" >&6
38146 fi
38147
38148 RANLIB=$ac_ct_RANLIB
38149 else
38150 RANLIB="$ac_cv_prog_RANLIB"
38151 fi
38152
38153 # Find a good install program. We prefer a C program (faster),
38154 # so one script is as good as another. But avoid the broken or
38155 # incompatible versions:
38156 # SysV /etc/install, /usr/sbin/install
38157 # SunOS /usr/etc/install
38158 # IRIX /sbin/install
38159 # AIX /bin/install
38160 # AmigaOS /C/install, which installs bootblocks on floppy discs
38161 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
38162 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
38163 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
38164 # OS/2's system install, which has a completely different semantic
38165 # ./install, which can be erroneously created by make from ./install.sh.
38166 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
38167 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
38168 if test -z "$INSTALL"; then
38169 if test "${ac_cv_path_install+set}" = set; then
38170 echo $ECHO_N "(cached) $ECHO_C" >&6
38171 else
38172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38173 for as_dir in $PATH
38174 do
38175 IFS=$as_save_IFS
38176 test -z "$as_dir" && as_dir=.
38177 # Account for people who put trailing slashes in PATH elements.
38178 case $as_dir/ in
38179 ./ | .// | /cC/* | \
38180 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
38181 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
38182 /usr/ucb/* ) ;;
38183 *)
38184 # OSF1 and SCO ODT 3.0 have their own names for install.
38185 # Don't use installbsd from OSF since it installs stuff as root
38186 # by default.
38187 for ac_prog in ginstall scoinst install; do
38188 for ac_exec_ext in '' $ac_executable_extensions; do
38189 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
38190 if test $ac_prog = install &&
38191 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
38192 # AIX install. It has an incompatible calling convention.
38193 :
38194 elif test $ac_prog = install &&
38195 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
38196 # program-specific install script used by HP pwplus--don't use.
38197 :
38198 else
38199 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
38200 break 3
38201 fi
38202 fi
38203 done
38204 done
38205 ;;
38206 esac
38207 done
38208
38209
38210 fi
38211 if test "${ac_cv_path_install+set}" = set; then
38212 INSTALL=$ac_cv_path_install
38213 else
38214 # As a last resort, use the slow shell script. We don't cache a
38215 # path for INSTALL within a source directory, because that will
38216 # break other packages using the cache if that directory is
38217 # removed, or if the path is relative.
38218 INSTALL=$ac_install_sh
38219 fi
38220 fi
38221 echo "$as_me:$LINENO: result: $INSTALL" >&5
38222 echo "${ECHO_T}$INSTALL" >&6
38223
38224 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
38225 # It thinks the first close brace ends the variable substitution.
38226 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
38227
38228 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
38229
38230 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
38231
38232 echo "$as_me:$LINENO: checking whether ln -s works" >&5
38233 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
38234 LN_S=$as_ln_s
38235 if test "$LN_S" = "ln -s"; then
38236 echo "$as_me:$LINENO: result: yes" >&5
38237 echo "${ECHO_T}yes" >&6
38238 else
38239 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
38240 echo "${ECHO_T}no, using $LN_S" >&6
38241 fi
38242
38243
38244 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
38245 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
38246 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
38247 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
38248 echo $ECHO_N "(cached) $ECHO_C" >&6
38249 else
38250 cat >conftest.make <<\_ACEOF
38251 all:
38252 @echo 'ac_maketemp="$(MAKE)"'
38253 _ACEOF
38254 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
38255 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
38256 if test -n "$ac_maketemp"; then
38257 eval ac_cv_prog_make_${ac_make}_set=yes
38258 else
38259 eval ac_cv_prog_make_${ac_make}_set=no
38260 fi
38261 rm -f conftest.make
38262 fi
38263 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
38264 echo "$as_me:$LINENO: result: yes" >&5
38265 echo "${ECHO_T}yes" >&6
38266 SET_MAKE=
38267 else
38268 echo "$as_me:$LINENO: result: no" >&5
38269 echo "${ECHO_T}no" >&6
38270 SET_MAKE="MAKE=${MAKE-make}"
38271 fi
38272
38273
38274
38275 if test -n "$ac_tool_prefix"; then
38276 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
38277 set dummy ${ac_tool_prefix}ar; ac_word=$2
38278 echo "$as_me:$LINENO: checking for $ac_word" >&5
38279 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38280 if test "${ac_cv_prog_AR+set}" = set; then
38281 echo $ECHO_N "(cached) $ECHO_C" >&6
38282 else
38283 if test -n "$AR"; then
38284 ac_cv_prog_AR="$AR" # Let the user override the test.
38285 else
38286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38287 for as_dir in $PATH
38288 do
38289 IFS=$as_save_IFS
38290 test -z "$as_dir" && as_dir=.
38291 for ac_exec_ext in '' $ac_executable_extensions; do
38292 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38293 ac_cv_prog_AR="${ac_tool_prefix}ar"
38294 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38295 break 2
38296 fi
38297 done
38298 done
38299
38300 fi
38301 fi
38302 AR=$ac_cv_prog_AR
38303 if test -n "$AR"; then
38304 echo "$as_me:$LINENO: result: $AR" >&5
38305 echo "${ECHO_T}$AR" >&6
38306 else
38307 echo "$as_me:$LINENO: result: no" >&5
38308 echo "${ECHO_T}no" >&6
38309 fi
38310
38311 fi
38312 if test -z "$ac_cv_prog_AR"; then
38313 ac_ct_AR=$AR
38314 # Extract the first word of "ar", so it can be a program name with args.
38315 set dummy ar; ac_word=$2
38316 echo "$as_me:$LINENO: checking for $ac_word" >&5
38317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38318 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
38319 echo $ECHO_N "(cached) $ECHO_C" >&6
38320 else
38321 if test -n "$ac_ct_AR"; then
38322 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
38323 else
38324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38325 for as_dir in $PATH
38326 do
38327 IFS=$as_save_IFS
38328 test -z "$as_dir" && as_dir=.
38329 for ac_exec_ext in '' $ac_executable_extensions; do
38330 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38331 ac_cv_prog_ac_ct_AR="ar"
38332 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38333 break 2
38334 fi
38335 done
38336 done
38337
38338 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
38339 fi
38340 fi
38341 ac_ct_AR=$ac_cv_prog_ac_ct_AR
38342 if test -n "$ac_ct_AR"; then
38343 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
38344 echo "${ECHO_T}$ac_ct_AR" >&6
38345 else
38346 echo "$as_me:$LINENO: result: no" >&5
38347 echo "${ECHO_T}no" >&6
38348 fi
38349
38350 AR=$ac_ct_AR
38351 else
38352 AR="$ac_cv_prog_AR"
38353 fi
38354
38355 if test -n "$ac_tool_prefix"; then
38356 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
38357 set dummy ${ac_tool_prefix}strip; ac_word=$2
38358 echo "$as_me:$LINENO: checking for $ac_word" >&5
38359 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38360 if test "${ac_cv_prog_STRIP+set}" = set; then
38361 echo $ECHO_N "(cached) $ECHO_C" >&6
38362 else
38363 if test -n "$STRIP"; then
38364 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
38365 else
38366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38367 for as_dir in $PATH
38368 do
38369 IFS=$as_save_IFS
38370 test -z "$as_dir" && as_dir=.
38371 for ac_exec_ext in '' $ac_executable_extensions; do
38372 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38373 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
38374 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38375 break 2
38376 fi
38377 done
38378 done
38379
38380 fi
38381 fi
38382 STRIP=$ac_cv_prog_STRIP
38383 if test -n "$STRIP"; then
38384 echo "$as_me:$LINENO: result: $STRIP" >&5
38385 echo "${ECHO_T}$STRIP" >&6
38386 else
38387 echo "$as_me:$LINENO: result: no" >&5
38388 echo "${ECHO_T}no" >&6
38389 fi
38390
38391 fi
38392 if test -z "$ac_cv_prog_STRIP"; then
38393 ac_ct_STRIP=$STRIP
38394 # Extract the first word of "strip", so it can be a program name with args.
38395 set dummy strip; ac_word=$2
38396 echo "$as_me:$LINENO: checking for $ac_word" >&5
38397 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38398 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
38399 echo $ECHO_N "(cached) $ECHO_C" >&6
38400 else
38401 if test -n "$ac_ct_STRIP"; then
38402 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
38403 else
38404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38405 for as_dir in $PATH
38406 do
38407 IFS=$as_save_IFS
38408 test -z "$as_dir" && as_dir=.
38409 for ac_exec_ext in '' $ac_executable_extensions; do
38410 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38411 ac_cv_prog_ac_ct_STRIP="strip"
38412 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38413 break 2
38414 fi
38415 done
38416 done
38417
38418 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
38419 fi
38420 fi
38421 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
38422 if test -n "$ac_ct_STRIP"; then
38423 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
38424 echo "${ECHO_T}$ac_ct_STRIP" >&6
38425 else
38426 echo "$as_me:$LINENO: result: no" >&5
38427 echo "${ECHO_T}no" >&6
38428 fi
38429
38430 STRIP=$ac_ct_STRIP
38431 else
38432 STRIP="$ac_cv_prog_STRIP"
38433 fi
38434
38435 if test -n "$ac_tool_prefix"; then
38436 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38437 set dummy ${ac_tool_prefix}nm; ac_word=$2
38438 echo "$as_me:$LINENO: checking for $ac_word" >&5
38439 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38440 if test "${ac_cv_prog_NM+set}" = set; then
38441 echo $ECHO_N "(cached) $ECHO_C" >&6
38442 else
38443 if test -n "$NM"; then
38444 ac_cv_prog_NM="$NM" # Let the user override the test.
38445 else
38446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38447 for as_dir in $PATH
38448 do
38449 IFS=$as_save_IFS
38450 test -z "$as_dir" && as_dir=.
38451 for ac_exec_ext in '' $ac_executable_extensions; do
38452 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38453 ac_cv_prog_NM="${ac_tool_prefix}nm"
38454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38455 break 2
38456 fi
38457 done
38458 done
38459
38460 fi
38461 fi
38462 NM=$ac_cv_prog_NM
38463 if test -n "$NM"; then
38464 echo "$as_me:$LINENO: result: $NM" >&5
38465 echo "${ECHO_T}$NM" >&6
38466 else
38467 echo "$as_me:$LINENO: result: no" >&5
38468 echo "${ECHO_T}no" >&6
38469 fi
38470
38471 fi
38472 if test -z "$ac_cv_prog_NM"; then
38473 ac_ct_NM=$NM
38474 # Extract the first word of "nm", so it can be a program name with args.
38475 set dummy nm; ac_word=$2
38476 echo "$as_me:$LINENO: checking for $ac_word" >&5
38477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38478 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
38479 echo $ECHO_N "(cached) $ECHO_C" >&6
38480 else
38481 if test -n "$ac_ct_NM"; then
38482 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
38483 else
38484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38485 for as_dir in $PATH
38486 do
38487 IFS=$as_save_IFS
38488 test -z "$as_dir" && as_dir=.
38489 for ac_exec_ext in '' $ac_executable_extensions; do
38490 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38491 ac_cv_prog_ac_ct_NM="nm"
38492 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38493 break 2
38494 fi
38495 done
38496 done
38497
38498 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
38499 fi
38500 fi
38501 ac_ct_NM=$ac_cv_prog_ac_ct_NM
38502 if test -n "$ac_ct_NM"; then
38503 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
38504 echo "${ECHO_T}$ac_ct_NM" >&6
38505 else
38506 echo "$as_me:$LINENO: result: no" >&5
38507 echo "${ECHO_T}no" >&6
38508 fi
38509
38510 NM=$ac_ct_NM
38511 else
38512 NM="$ac_cv_prog_NM"
38513 fi
38514
38515
38516 case ${BAKEFILE_HOST} in
38517 *-hp-hpux* )
38518 INSTALL_DIR="mkdir -p"
38519 ;;
38520 *) INSTALL_DIR="$INSTALL -d"
38521 ;;
38522 esac
38523
38524
38525 LDFLAGS_GUI=
38526 case ${BAKEFILE_HOST} in
38527 *-*-cygwin* | *-*-mingw32* )
38528 LDFLAGS_GUI="-mwindows"
38529 esac
38530
38531
38532 fi
38533
38534 echo "$as_me:$LINENO: checking if make is GNU make" >&5
38535 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
38536 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
38537 echo $ECHO_N "(cached) $ECHO_C" >&6
38538 else
38539
38540 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
38541 egrep -s GNU > /dev/null); then
38542 bakefile_cv_prog_makeisgnu="yes"
38543 else
38544 bakefile_cv_prog_makeisgnu="no"
38545 fi
38546
38547 fi
38548 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
38549 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
38550
38551 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38552 IF_GNU_MAKE=""
38553 else
38554 IF_GNU_MAKE="#"
38555 fi
38556
38557
38558
38559 PLATFORM_UNIX=0
38560 PLATFORM_WIN32=0
38561 PLATFORM_MSDOS=0
38562 PLATFORM_MAC=0
38563 PLATFORM_MACOSX=0
38564 PLATFORM_OS2=0
38565
38566 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38567 case "${BAKEFILE_HOST}" in
38568 *-*-cygwin* | *-*-mingw32* )
38569 PLATFORM_WIN32=1
38570 ;;
38571 *-pc-msdosdjgpp )
38572 PLATFORM_MSDOS=1
38573 ;;
38574 *-pc-os2_emx | *-pc-os2-emx )
38575 PLATFORM_OS2=1
38576 ;;
38577 powerpc-*-darwin* )
38578 PLATFORM_MAC=1
38579 PLATFORM_MACOSX=1
38580 ;;
38581 * )
38582 PLATFORM_UNIX=1
38583 ;;
38584 esac
38585 else
38586 case "$BAKEFILE_FORCE_PLATFORM" in
38587 win32 )
38588 PLATFORM_WIN32=1
38589 ;;
38590 msdos )
38591 PLATFORM_MSDOS=1
38592 ;;
38593 os2 )
38594 PLATFORM_OS2=1
38595 ;;
38596 darwin )
38597 PLATFORM_MAC=1
38598 PLATFORM_MACOSX=1
38599 ;;
38600 unix )
38601 PLATFORM_UNIX=1
38602 ;;
38603 * )
38604 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
38605 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
38606 { (exit 1); exit 1; }; }
38607 ;;
38608 esac
38609 fi
38610
38611
38612
38613
38614
38615
38616
38617
38618
38619 # Check whether --enable-omf or --disable-omf was given.
38620 if test "${enable_omf+set}" = set; then
38621 enableval="$enable_omf"
38622 bk_os2_use_omf="$enableval"
38623 fi;
38624
38625 case "${BAKEFILE_HOST}" in
38626 *-*-darwin* )
38627 CFLAGS="$CFLAGS -fno-common"
38628 CXXFLAGS="$CXXFLAGS -fno-common"
38629 ;;
38630
38631 *-pc-os2_emx | *-pc-os2-emx )
38632 if test "x$bk_os2_use_omf" = "xyes" ; then
38633 AR=emxomfar
38634 RANLIB=:
38635 LDFLAGS="-Zomf $LDFLAGS"
38636 CFLAGS="-Zomf $CFLAGS"
38637 CXXFLAGS="-Zomf $CXXFLAGS"
38638 OS2_LIBEXT="lib"
38639 else
38640 OS2_LIBEXT="a"
38641 fi
38642 ;;
38643 esac
38644
38645
38646 SO_SUFFIX="so"
38647 SO_SUFFIX_MODULE="so"
38648 EXEEXT=""
38649 LIBPREFIX="lib"
38650 LIBEXT=".a"
38651 DLLPREFIX="lib"
38652 DLLPREFIX_MODULE=""
38653 DLLIMP_SUFFIX=""
38654
38655 case "${BAKEFILE_HOST}" in
38656 *-hp-hpux* )
38657 SO_SUFFIX="sl"
38658 SO_SUFFIX_MODULE="sl"
38659 ;;
38660 *-*-aix* )
38661 SO_SUFFIX="a"
38662 SO_SUFFIX_MODULE="a"
38663 ;;
38664 *-*-cygwin* | *-*-mingw32* )
38665 SO_SUFFIX="dll"
38666 SO_SUFFIX_MODULE="dll"
38667 DLLIMP_SUFFIX="dll.a"
38668 EXEEXT=".exe"
38669 DLLPREFIX=""
38670 ;;
38671 *-pc-msdosdjgpp )
38672 EXEEXT=".exe"
38673 DLLPREFIX=""
38674 ;;
38675 *-pc-os2_emx | *-pc-os2-emx )
38676 SO_SUFFIX="dll"
38677 SO_SUFFIX_MODULE="dll"
38678 DLLIMP_SUFFIX=$OS2_LIBEXT
38679 EXEEXT=".exe"
38680 DLLPREFIX=""
38681 LIBPREFIX=""
38682 LIBEXT=".$OS2_LIBEXT"
38683 ;;
38684 powerpc-*-darwin* )
38685 SO_SUFFIX="dylib"
38686 SO_SUFFIX_MODULE="bundle"
38687 ;;
38688 esac
38689
38690 if test "x$DLLIMP_SUFFIX" = "x" ; then
38691 DLLIMP_SUFFIX="$SO_SUFFIX"
38692 fi
38693
38694
38695
38696
38697
38698
38699
38700
38701
38702
38703
38704 SHARED_LD_CC="\$(CC) -shared -o"
38705 SHARED_LD_CXX="\$(CXX) -shared -o"
38706
38707 if test "x$GCC" = "xyes"; then
38708 PIC_FLAG="-fPIC"
38709 fi
38710
38711 case "${BAKEFILE_HOST}" in
38712 *-hp-hpux* )
38713 if test "x$GCC" = "xyes"; then
38714 SHARED_LD_CC="${CC} -shared ${PIC_FLAG} -o"
38715 SHARED_LD_CXX="${CXX} -shared ${PIC_FLAG} -o"
38716 else
38717 LDFLAGS="$LDFLAGS -L/usr/lib"
38718
38719 SHARED_LD_CC="${CC} -b -o"
38720 SHARED_LD_CXX="${CXX} -b -o"
38721 PIC_FLAG="+Z"
38722 fi
38723 ;;
38724
38725 *-*-linux* )
38726 if test "x$GCC" != "xyes"; then
38727 echo "$as_me:$LINENO: checking for Intel compiler" >&5
38728 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
38729 if test "${bakefile_cv_prog_icc+set}" = set; then
38730 echo $ECHO_N "(cached) $ECHO_C" >&6
38731 else
38732
38733 cat >conftest.$ac_ext <<_ACEOF
38734 /* confdefs.h. */
38735 _ACEOF
38736 cat confdefs.h >>conftest.$ac_ext
38737 cat >>conftest.$ac_ext <<_ACEOF
38738 /* end confdefs.h. */
38739
38740 int
38741 main ()
38742 {
38743
38744 #ifndef __INTEL_COMPILER
38745 #error Not icc
38746 #endif
38747
38748 ;
38749 return 0;
38750 }
38751 _ACEOF
38752 rm -f conftest.$ac_objext
38753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38754 (eval $ac_compile) 2>conftest.er1
38755 ac_status=$?
38756 grep -v '^ *+' conftest.er1 >conftest.err
38757 rm -f conftest.er1
38758 cat conftest.err >&5
38759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38760 (exit $ac_status); } &&
38761 { ac_try='test -z "$ac_c_werror_flag"
38762 || test ! -s conftest.err'
38763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38764 (eval $ac_try) 2>&5
38765 ac_status=$?
38766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38767 (exit $ac_status); }; } &&
38768 { ac_try='test -s conftest.$ac_objext'
38769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38770 (eval $ac_try) 2>&5
38771 ac_status=$?
38772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38773 (exit $ac_status); }; }; then
38774 bakefile_cv_prog_icc=yes
38775 else
38776 echo "$as_me: failed program was:" >&5
38777 sed 's/^/| /' conftest.$ac_ext >&5
38778
38779 bakefile_cv_prog_icc=no
38780
38781 fi
38782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38783
38784 fi
38785 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
38786 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
38787 if test "$bakefile_cv_prog_icc" = "yes"; then
38788 PIC_FLAG="-KPIC"
38789 fi
38790 fi
38791 ;;
38792
38793 *-*-solaris2* )
38794 if test "x$GCC" != xyes ; then
38795 SHARED_LD_CC="${CC} -G -o"
38796 SHARED_LD_CXX="${CXX} -G -o"
38797 PIC_FLAG="-KPIC"
38798 fi
38799 ;;
38800
38801 *-*-darwin* )
38802
38803 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
38804 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
38805 if test "${wx_cv_gcc31+set}" = set; then
38806 echo $ECHO_N "(cached) $ECHO_C" >&6
38807 else
38808
38809 cat >conftest.$ac_ext <<_ACEOF
38810 /* confdefs.h. */
38811 _ACEOF
38812 cat confdefs.h >>conftest.$ac_ext
38813 cat >>conftest.$ac_ext <<_ACEOF
38814 /* end confdefs.h. */
38815
38816 int
38817 main ()
38818 {
38819
38820 #if (__GNUC__ < 3) || \
38821 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38822 #error old gcc
38823 #endif
38824
38825 ;
38826 return 0;
38827 }
38828 _ACEOF
38829 rm -f conftest.$ac_objext
38830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38831 (eval $ac_compile) 2>conftest.er1
38832 ac_status=$?
38833 grep -v '^ *+' conftest.er1 >conftest.err
38834 rm -f conftest.er1
38835 cat conftest.err >&5
38836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38837 (exit $ac_status); } &&
38838 { ac_try='test -z "$ac_c_werror_flag"
38839 || test ! -s conftest.err'
38840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38841 (eval $ac_try) 2>&5
38842 ac_status=$?
38843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38844 (exit $ac_status); }; } &&
38845 { ac_try='test -s conftest.$ac_objext'
38846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38847 (eval $ac_try) 2>&5
38848 ac_status=$?
38849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38850 (exit $ac_status); }; }; then
38851
38852 wx_cv_gcc31=yes
38853
38854 else
38855 echo "$as_me: failed program was:" >&5
38856 sed 's/^/| /' conftest.$ac_ext >&5
38857
38858
38859 wx_cv_gcc31=no
38860
38861
38862 fi
38863 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38864
38865 fi
38866 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
38867 echo "${ECHO_T}$wx_cv_gcc31" >&6
38868 if test "$wx_cv_gcc31" = "no"; then
38869
38870 D='$'
38871 cat <<EOF >shared-ld-sh
38872 #!/bin/sh
38873 #-----------------------------------------------------------------------------
38874 #-- Name: distrib/mac/shared-ld-sh
38875 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38876 #-- Author: Gilles Depeyrot
38877 #-- Copyright: (c) 2002 Gilles Depeyrot
38878 #-- Licence: any use permitted
38879 #-----------------------------------------------------------------------------
38880
38881 verbose=0
38882 args=""
38883 objects=""
38884 linking_flag="-dynamiclib"
38885
38886 while test ${D}# -gt 0; do
38887 case ${D}1 in
38888
38889 -v)
38890 verbose=1
38891 ;;
38892
38893 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38894 # collect these options and values
38895 args="${D}{args} ${D}1 ${D}2"
38896 shift
38897 ;;
38898
38899 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38900 # collect these options
38901 args="${D}{args} ${D}1"
38902 ;;
38903
38904 -dynamiclib|-bundle)
38905 linking_flag="${D}1"
38906 ;;
38907
38908 -*)
38909 echo "shared-ld: unhandled option '${D}1'"
38910 exit 1
38911 ;;
38912
38913 *.o | *.a | *.dylib)
38914 # collect object files
38915 objects="${D}{objects} ${D}1"
38916 ;;
38917
38918 *)
38919 echo "shared-ld: unhandled argument '${D}1'"
38920 exit 1
38921 ;;
38922
38923 esac
38924 shift
38925 done
38926
38927 #
38928 # Link one module containing all the others
38929 #
38930 if test ${D}{verbose} = 1; then
38931 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
38932 fi
38933 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
38934 status=${D}?
38935 if test ${D}{status} != 0; then
38936 exit ${D}{status}
38937 fi
38938
38939 #
38940 # Link the shared library from the single module created
38941 #
38942 if test ${D}{verbose} = 1; then
38943 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
38944 fi
38945 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
38946 status=${D}?
38947 if test ${D}{status} != 0; then
38948 exit ${D}{status}
38949 fi
38950
38951 #
38952 # Remove intermediate module
38953 #
38954 rm -f master.${D}${D}.o
38955
38956 exit 0
38957 EOF
38958
38959 chmod +x shared-ld-sh
38960
38961 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
38962 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38963 SHARED_LD_CXX="$SHARED_LD_CC"
38964 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
38965 else
38966 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
38967 SHARED_LD_MODULE_CC="\${CC} -bundle -single_module -headerpad_max_install_names -o"
38968 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
38969 SHARED_LD_MODULE_CXX="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
38970 fi
38971
38972 PIC_FLAG="-dynamic -fPIC"
38973 ;;
38974
38975 *-*-aix* )
38976 if test "x$GCC" != "xyes"; then
38977 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
38978 set dummy makeC++SharedLib; ac_word=$2
38979 echo "$as_me:$LINENO: checking for $ac_word" >&5
38980 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38981 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
38982 echo $ECHO_N "(cached) $ECHO_C" >&6
38983 else
38984 if test -n "$AIX_CXX_LD"; then
38985 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
38986 else
38987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38988 for as_dir in $PATH
38989 do
38990 IFS=$as_save_IFS
38991 test -z "$as_dir" && as_dir=.
38992 for ac_exec_ext in '' $ac_executable_extensions; do
38993 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38994 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
38995 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38996 break 2
38997 fi
38998 done
38999 done
39000
39001 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
39002 fi
39003 fi
39004 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
39005 if test -n "$AIX_CXX_LD"; then
39006 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
39007 echo "${ECHO_T}$AIX_CXX_LD" >&6
39008 else
39009 echo "$as_me:$LINENO: result: no" >&5
39010 echo "${ECHO_T}no" >&6
39011 fi
39012
39013 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
39014 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
39015 fi
39016 ;;
39017
39018 *-*-beos* )
39019 SHARED_LD_CC="${LD} -shared -o"
39020 SHARED_LD_CXX="${LD} -shared -o"
39021 ;;
39022
39023 *-*-irix* )
39024 if test "x$GCC" != "xyes"; then
39025 PIC_FLAG="-KPIC"
39026 fi
39027 ;;
39028
39029 *-*-cygwin* | *-*-mingw32* )
39030 PIC_FLAG=""
39031 ;;
39032
39033 *-pc-os2_emx | *-pc-os2-emx )
39034 SHARED_LD_CC="`pwd`/dllar.sh -o"
39035 SHARED_LD_CXX="`pwd`/dllar.sh -o"
39036 PIC_FLAG=""
39037
39038 D='$'
39039 cat <<EOF >dllar.sh
39040 #!/bin/sh
39041 #
39042 # dllar - a tool to build both a .dll and an .a file
39043 # from a set of object (.o) files for EMX/OS2.
39044 #
39045 # Written by Andrew Zabolotny, bit@freya.etu.ru
39046 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
39047 #
39048 # This script will accept a set of files on the command line.
39049 # All the public symbols from the .o files will be exported into
39050 # a .DEF file, then linker will be run (through gcc) against them to
39051 # build a shared library consisting of all given .o files. All libraries
39052 # (.a) will be first decompressed into component .o files then act as
39053 # described above. You can optionally give a description (-d "description")
39054 # which will be put into .DLL. To see the list of accepted options (as well
39055 # as command-line format) simply run this program without options. The .DLL
39056 # is built to be imported by name (there is no guarantee that new versions
39057 # of the library you build will have same ordinals for same symbols).
39058 #
39059 # dllar is free software; you can redistribute it and/or modify
39060 # it under the terms of the GNU General Public License as published by
39061 # the Free Software Foundation; either version 2, or (at your option)
39062 # any later version.
39063 #
39064 # dllar is distributed in the hope that it will be useful,
39065 # but WITHOUT ANY WARRANTY; without even the implied warranty of
39066 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
39067 # GNU General Public License for more details.
39068 #
39069 # You should have received a copy of the GNU General Public License
39070 # along with dllar; see the file COPYING. If not, write to the Free
39071 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
39072 # 02111-1307, USA.
39073
39074 # To successfuly run this program you will need:
39075 # - Current drive should have LFN support (HPFS, ext2, network, etc)
39076 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
39077 # - gcc
39078 # (used to build the .dll)
39079 # - emxexp
39080 # (used to create .def file from .o files)
39081 # - emximp
39082 # (used to create .a file from .def file)
39083 # - GNU text utilites (cat, sort, uniq)
39084 # used to process emxexp output
39085 # - GNU file utilities (mv, rm)
39086 # - GNU sed
39087 # - lxlite (optional, see flag below)
39088 # (used for general .dll cleanup)
39089 #
39090
39091 flag_USE_LXLITE=1;
39092
39093 #
39094 # helper functions
39095 # basnam, variant of basename, which does _not_ remove the path, _iff_
39096 # second argument (suffix to remove) is given
39097 basnam(){
39098 case ${D}# in
39099 1)
39100 echo ${D}1 | sed 's/.*\///' | sed 's/.*\\//'
39101 ;;
39102 2)
39103 echo ${D}1 | sed 's/'${D}2'${D}//'
39104 ;;
39105 *)
39106 echo "error in basnam ${D}*"
39107 exit 8
39108 ;;
39109 esac
39110 }
39111
39112 # Cleanup temporary files and output
39113 CleanUp() {
39114 cd ${D}curDir
39115 for i in ${D}inputFiles ; do
39116 case ${D}i in
39117 *!)
39118 rm -rf \`basnam ${D}i !\`
39119 ;;
39120 *)
39121 ;;
39122 esac
39123 done
39124
39125 # Kill result in case of failure as there is just to many stupid make/nmake
39126 # things out there which doesn't do this.
39127 if [] ${D}# -eq 0 []; then
39128 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
39129 fi
39130 }
39131
39132 # Print usage and exit script with rc=1.
39133 PrintHelp() {
39134 echo 'Usage: dllar []-o[[]utput[]] output_file[] []-i[[]mport[]] importlib_name[]'
39135 echo ' []-d[[]escription[]] "dll descrption"[] []-cc "CC"[] []-f[[]lags[]] "CFLAGS"[]'
39136 echo ' []-ord[[]inals[]][] -ex[]clude[] "symbol(s)"'
39137 echo ' []-libf[[]lags[]] "{INIT|TERM}{GLOBAL|INSTANCE}"[] []-nocrt[[]dll[]][] []-nolxl[[]ite[]][]'
39138 echo ' []*.o[] []*.a[]'
39139 echo '*> "output_file" should have no extension.'
39140 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
39141 echo ' The import library name is derived from this and is set to "name".a,'
39142 echo ' unless overridden by -import'
39143 echo '*> "importlib_name" should have no extension.'
39144 echo ' If it has the .o, or .a extension, it is automatically removed.'
39145 echo ' This name is used as the import library name and may be longer and'
39146 echo ' more descriptive than the DLL name which has to follow the old '
39147 echo ' 8.3 convention of FAT.'
39148 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
39149 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
39150 echo ' These flags will be put at the start of GCC command line.'
39151 echo '*> -ord[]inals[] tells dllar to export entries by ordinals. Be careful.'
39152 echo '*> -ex[]clude[] defines symbols which will not be exported. You can define'
39153 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
39154 echo ' If the last character of a symbol is "*", all symbols beginning'
39155 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
39156 echo '*> -libf[]lags[] can be used to add INITGLOBAL/INITINSTANCE and/or'
39157 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
39158 echo '*> -nocrt[]dll[] switch will disable linking the library against emx''s'
39159 echo ' C runtime DLLs.'
39160 echo '*> -nolxl[]ite[] switch will disable running lxlite on the resulting DLL.'
39161 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
39162 echo ' unchanged to GCC at the end of command line.'
39163 echo '*> If you create a DLL from a library and you do not specify -o,'
39164 echo ' the basename for DLL and import library will be set to library name,'
39165 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
39166 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
39167 echo ' library will be renamed into gcc_s.a.'
39168 echo '--------'
39169 echo 'Example:'
39170 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
39171 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
39172 CleanUp
39173 exit 1
39174 }
39175
39176 # Execute a command.
39177 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
39178 # @Uses Whatever CleanUp() uses.
39179 doCommand() {
39180 echo "${D}*"
39181 eval ${D}*
39182 rcCmd=${D}?
39183
39184 if [] ${D}rcCmd -ne 0 []; then
39185 echo "command failed, exit code="${D}rcCmd
39186 CleanUp
39187 exit ${D}rcCmd
39188 fi
39189 }
39190
39191 # main routine
39192 # setup globals
39193 cmdLine=${D}*
39194 outFile=""
39195 outimpFile=""
39196 inputFiles=""
39197 description=""
39198 CC=gcc.exe
39199 CFLAGS="-s -Zcrtdll"
39200 EXTRA_CFLAGS=""
39201 EXPORT_BY_ORDINALS=0
39202 exclude_symbols=""
39203 library_flags=""
39204 curDir=\`pwd\`
39205 curDirS=curDir
39206 case ${D}curDirS in
39207 */)
39208 ;;
39209 *)
39210 curDirS=${D}{curDirS}"/"
39211 ;;
39212 esac
39213 # Parse commandline
39214 libsToLink=0
39215 while [] ${D}1 []; do
39216 case ${D}1 in
39217 -ord*)
39218 EXPORT_BY_ORDINALS=1;
39219 ;;
39220 -o*)
39221 shift
39222 outFile=${D}1
39223 ;;
39224 -i*)
39225 shift
39226 outimpFile=${D}1
39227 ;;
39228 -d*)
39229 shift
39230 description=${D}1
39231 ;;
39232 -f*)
39233 shift
39234 CFLAGS=${D}1
39235 ;;
39236 -c*)
39237 shift
39238 CC=${D}1
39239 ;;
39240 -h*)
39241 PrintHelp
39242 ;;
39243 -ex*)
39244 shift
39245 exclude_symbols=${D}{exclude_symbols}${D}1" "
39246 ;;
39247 -libf*)
39248 shift
39249 library_flags=${D}{library_flags}${D}1" "
39250 ;;
39251 -nocrt*)
39252 CFLAGS="-s"
39253 ;;
39254 -nolxl*)
39255 flag_USE_LXLITE=0
39256 ;;
39257 -* | /*)
39258 case ${D}1 in
39259 -L* | -l*)
39260 libsToLink=1
39261 ;;
39262 *)
39263 ;;
39264 esac
39265 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39266 ;;
39267 *)
39268 found=0;
39269 if [] ${D}libsToLink -ne 0 []; then
39270 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39271 else
39272 for file in ${D}1 ; do
39273 if [] -f ${D}file []; then
39274 inputFiles="${D}{inputFiles} ${D}file"
39275 found=1
39276 fi
39277 done
39278 if [] ${D}found -eq 0 []; then
39279 echo "ERROR: No file(s) found: "${D}1
39280 exit 8
39281 fi
39282 fi
39283 ;;
39284 esac
39285 shift
39286 done # iterate cmdline words
39287
39288 #
39289 if [] -z "${D}inputFiles" []; then
39290 echo "dllar: no input files"
39291 PrintHelp
39292 fi
39293
39294 # Now extract all .o files from .a files
39295 newInputFiles=""
39296 for file in ${D}inputFiles ; do
39297 case ${D}file in
39298 *.a | *.lib)
39299 case ${D}file in
39300 *.a)
39301 suffix=".a"
39302 AR="ar"
39303 ;;
39304 *.lib)
39305 suffix=".lib"
39306 AR="emxomfar"
39307 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
39308 ;;
39309 *)
39310 ;;
39311 esac
39312 dirname=\`basnam ${D}file ${D}suffix\`"_%"
39313 mkdir ${D}dirname
39314 if [] ${D}? -ne 0 []; then
39315 echo "Failed to create subdirectory ./${D}dirname"
39316 CleanUp
39317 exit 8;
39318 fi
39319 # Append '!' to indicate archive
39320 newInputFiles="${D}newInputFiles ${D}{dirname}!"
39321 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
39322 cd ${D}curDir
39323 found=0;
39324 for subfile in ${D}dirname/*.o* ; do
39325 if [] -f ${D}subfile []; then
39326 found=1
39327 if [] -s ${D}subfile []; then
39328 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
39329 newInputFiles="${D}newInputFiles ${D}subfile"
39330 fi
39331 fi
39332 done
39333 if [] ${D}found -eq 0 []; then
39334 echo "WARNING: there are no files in archive \'${D}file\'"
39335 fi
39336 ;;
39337 *)
39338 newInputFiles="${D}{newInputFiles} ${D}file"
39339 ;;
39340 esac
39341 done
39342 inputFiles="${D}newInputFiles"
39343
39344 # Output filename(s).
39345 do_backup=0;
39346 if [] -z ${D}outFile []; then
39347 do_backup=1;
39348 set outFile ${D}inputFiles; outFile=${D}2
39349 fi
39350
39351 # If it is an archive, remove the '!' and the '_%' suffixes
39352 case ${D}outFile in
39353 *_%!)
39354 outFile=\`basnam ${D}outFile _%!\`
39355 ;;
39356 *)
39357 ;;
39358 esac
39359 case ${D}outFile in
39360 *.dll)
39361 outFile=\`basnam ${D}outFile .dll\`
39362 ;;
39363 *.DLL)
39364 outFile=\`basnam ${D}outFile .DLL\`
39365 ;;
39366 *.o)
39367 outFile=\`basnam ${D}outFile .o\`
39368 ;;
39369 *.obj)
39370 outFile=\`basnam ${D}outFile .obj\`
39371 ;;
39372 *.a)
39373 outFile=\`basnam ${D}outFile .a\`
39374 ;;
39375 *.lib)
39376 outFile=\`basnam ${D}outFile .lib\`
39377 ;;
39378 *)
39379 ;;
39380 esac
39381 case ${D}outimpFile in
39382 *.a)
39383 outimpFile=\`basnam ${D}outimpFile .a\`
39384 ;;
39385 *.lib)
39386 outimpFile=\`basnam ${D}outimpFile .lib\`
39387 ;;
39388 *)
39389 ;;
39390 esac
39391 if [] -z ${D}outimpFile []; then
39392 outimpFile=${D}outFile
39393 fi
39394 defFile="${D}{outFile}.def"
39395 arcFile="${D}{outimpFile}.a"
39396 arcFile2="${D}{outimpFile}.lib"
39397 dllFile="${D}outFile"
39398 # Add suffix to dllFile later, first we need a version to use as
39399 # name in .def file.
39400
39401 if [] ${D}do_backup -ne 0 [] ; then
39402 if [] -f ${D}arcFile [] ; then
39403 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
39404 fi
39405 if [] -f ${D}arcFile2 [] ; then
39406 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
39407 fi
39408 fi
39409
39410 # Extract public symbols from all the object files.
39411 tmpdefFile=${D}{defFile}_%
39412 rm -f ${D}tmpdefFile
39413 for file in ${D}inputFiles ; do
39414 case ${D}file in
39415 *!)
39416 ;;
39417 *)
39418 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
39419 ;;
39420 esac
39421 done
39422
39423 # Create the def file.
39424 rm -f ${D}defFile
39425 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
39426 dllFile="${D}dllFile.dll"
39427 if [] -n ${D}description []; then
39428 echo "DESCRIPTION \"${D}{description}\"" >> ${D}defFile
39429 fi
39430 echo "EXPORTS" >> ${D}defFile
39431
39432 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
39433 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
39434
39435 # Checks if the export is ok or not.
39436 for word in ${D}exclude_symbols; do
39437 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
39438 mv ${D}{tmpdefFile}% ${D}tmpdefFile
39439 done
39440
39441
39442 if [] ${D}EXPORT_BY_ORDINALS -ne 0 []; then
39443 sed "=" < ${D}tmpdefFile | \
39444 sed '
39445 N
39446 : loop
39447 s/^\([]0-9[]\+\)\([]^;[]*\)\(;.*\)\?/\2 @\1 NONAME/
39448 t loop
39449 ' > ${D}{tmpdefFile}%
39450 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
39451 else
39452 rm -f ${D}{tmpdefFile}%
39453 fi
39454 cat ${D}tmpdefFile >> ${D}defFile
39455 rm -f ${D}tmpdefFile
39456
39457 # Do linking, create implib, and apply lxlite.
39458 gccCmdl="";
39459 for file in ${D}inputFiles ; do
39460 case ${D}file in
39461 *!)
39462 ;;
39463 *)
39464 gccCmdl="${D}gccCmdl ${D}file"
39465 ;;
39466 esac
39467 done
39468 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
39469 touch "${D}{outFile}.dll"
39470
39471 doCommand "emximp -o ${D}arcFile ${D}defFile"
39472 if [] ${D}flag_USE_LXLITE -ne 0 []; then
39473 add_flags="";
39474 if [] ${D}EXPORT_BY_ORDINALS -ne 0 []; then
39475 add_flags="-ynd"
39476 fi
39477 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
39478 fi
39479 doCommand "emxomf -s -l ${D}arcFile"
39480
39481 # Successful exit.
39482 CleanUp 1
39483 exit 0
39484 EOF
39485
39486 chmod +x dllar.sh
39487 ;;
39488
39489 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
39490 *-*-sunos4* | \
39491 *-*-osf* | \
39492 *-*-dgux5* | \
39493 *-*-sysv5* )
39494 ;;
39495
39496 *)
39497 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
39498 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
39499 { (exit 1); exit 1; }; }
39500 esac
39501
39502 if test "x$PIC_FLAG" != "x" ; then
39503 PIC_FLAG="$PIC_FLAG -DPIC"
39504 fi
39505
39506 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
39507 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
39508 fi
39509 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
39510 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
39511 fi
39512
39513
39514
39515
39516
39517
39518
39519
39520 USE_SOVERSION=0
39521 USE_SOVERLINUX=0
39522 USE_SOVERSOLARIS=0
39523 USE_SOSYMLINKS=0
39524 USE_MACVERSION=0
39525 SONAME_FLAG=
39526
39527 case "${BAKEFILE_HOST}" in
39528 *-*-linux* )
39529 SONAME_FLAG="-Wl,-soname,"
39530 USE_SOVERSION=1
39531 USE_SOVERLINUX=1
39532 USE_SOSYMLINKS=1
39533 ;;
39534
39535 *-*-solaris2* )
39536 SONAME_FLAG="-h "
39537 USE_SOVERSION=1
39538 USE_SOVERSOLARIS=1
39539 USE_SOSYMLINKS=1
39540 ;;
39541
39542 *-*-darwin* )
39543 USE_MACVERSION=1
39544 USE_SOVERSION=1
39545 USE_SOSYMLINKS=1
39546 ;;
39547 esac
39548
39549
39550
39551
39552
39553
39554
39555
39556
39557 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
39558 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
39559 DEPS_TRACKING=0
39560
39561 if test "x$GCC" = "xyes"; then
39562 DEPSMODE=gcc
39563 DEPS_TRACKING=1
39564 case "${BAKEFILE_HOST}" in
39565 powerpc-*-darwin* )
39566 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
39567 ;;
39568 * )
39569 DEPSFLAG_GCC="-MMD"
39570 ;;
39571 esac
39572 echo "$as_me:$LINENO: result: gcc" >&5
39573 echo "${ECHO_T}gcc" >&6
39574 else
39575 echo "$as_me:$LINENO: result: none" >&5
39576 echo "${ECHO_T}none" >&6
39577 fi
39578
39579 if test $DEPS_TRACKING = 1 ; then
39580
39581 D='$'
39582 cat <<EOF >bk-deps
39583 #!/bin/sh
39584
39585 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39586 # script. It is used to track C/C++ files dependencies in portable way.
39587 #
39588 # Permission is given to use this file in any way.
39589
39590 DEPSMODE=${DEPSMODE}
39591 DEPSDIR=.deps
39592 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
39593
39594 mkdir -p ${D}DEPSDIR
39595
39596 if test ${D}DEPSMODE = gcc ; then
39597 ${D}* ${D}{DEPSFLAG_GCC}
39598 status=${D}?
39599 if test ${D}{status} != 0 ; then
39600 exit ${D}{status}
39601 fi
39602 # move created file to the location we want it in:
39603 while test ${D}# -gt 0; do
39604 case "${D}1" in
39605 -o )
39606 shift
39607 objfile=${D}1
39608 ;;
39609 -* )
39610 ;;
39611 * )
39612 srcfile=${D}1
39613 ;;
39614 esac
39615 shift
39616 done
39617 depfile=\`basename ${D}srcfile | sed -e 's/\..*${D}/.d/g'\`
39618 depobjname=\`echo ${D}depfile |sed -e 's/\.d/.o/g'\`
39619 if test -f ${D}depfile ; then
39620 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
39621 rm -f ${D}depfile
39622 else
39623 depfile=\`basename ${D}objfile | sed -e 's/\..*${D}/.d/g'\`
39624 if test -f ${D}depfile ; then
39625 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
39626 rm -f ${D}depfile
39627 fi
39628 fi
39629 exit 0
39630 else
39631 ${D}*
39632 exit ${D}?
39633 fi
39634 EOF
39635
39636 chmod +x bk-deps
39637 fi
39638
39639
39640
39641
39642 RESCOMP=
39643 SETFILE=
39644
39645 case ${BAKEFILE_HOST} in
39646 *-*-cygwin* | *-*-mingw32* )
39647 if test "$build" != "$host" ; then
39648 RESCOMP=$host_alias-windres
39649 else
39650 # Extract the first word of "windres", so it can be a program name with args.
39651 set dummy windres; ac_word=$2
39652 echo "$as_me:$LINENO: checking for $ac_word" >&5
39653 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39654 if test "${ac_cv_prog_RESCOMP+set}" = set; then
39655 echo $ECHO_N "(cached) $ECHO_C" >&6
39656 else
39657 if test -n "$RESCOMP"; then
39658 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
39659 else
39660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39661 for as_dir in $PATH
39662 do
39663 IFS=$as_save_IFS
39664 test -z "$as_dir" && as_dir=.
39665 for ac_exec_ext in '' $ac_executable_extensions; do
39666 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39667 ac_cv_prog_RESCOMP="windres"
39668 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39669 break 2
39670 fi
39671 done
39672 done
39673
39674 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
39675 fi
39676 fi
39677 RESCOMP=$ac_cv_prog_RESCOMP
39678 if test -n "$RESCOMP"; then
39679 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39680 echo "${ECHO_T}$RESCOMP" >&6
39681 else
39682 echo "$as_me:$LINENO: result: no" >&5
39683 echo "${ECHO_T}no" >&6
39684 fi
39685
39686 fi
39687 ;;
39688
39689 *-*-darwin* )
39690 # Extract the first word of "Rez", so it can be a program name with args.
39691 set dummy Rez; ac_word=$2
39692 echo "$as_me:$LINENO: checking for $ac_word" >&5
39693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39694 if test "${ac_cv_prog_RESCOMP+set}" = set; then
39695 echo $ECHO_N "(cached) $ECHO_C" >&6
39696 else
39697 if test -n "$RESCOMP"; then
39698 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
39699 else
39700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39701 for as_dir in $PATH
39702 do
39703 IFS=$as_save_IFS
39704 test -z "$as_dir" && as_dir=.
39705 for ac_exec_ext in '' $ac_executable_extensions; do
39706 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39707 ac_cv_prog_RESCOMP="Rez"
39708 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39709 break 2
39710 fi
39711 done
39712 done
39713
39714 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
39715 fi
39716 fi
39717 RESCOMP=$ac_cv_prog_RESCOMP
39718 if test -n "$RESCOMP"; then
39719 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39720 echo "${ECHO_T}$RESCOMP" >&6
39721 else
39722 echo "$as_me:$LINENO: result: no" >&5
39723 echo "${ECHO_T}no" >&6
39724 fi
39725
39726 # Extract the first word of "SetFile", so it can be a program name with args.
39727 set dummy SetFile; ac_word=$2
39728 echo "$as_me:$LINENO: checking for $ac_word" >&5
39729 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39730 if test "${ac_cv_prog_SETFILE+set}" = set; then
39731 echo $ECHO_N "(cached) $ECHO_C" >&6
39732 else
39733 if test -n "$SETFILE"; then
39734 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
39735 else
39736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39737 for as_dir in $PATH
39738 do
39739 IFS=$as_save_IFS
39740 test -z "$as_dir" && as_dir=.
39741 for ac_exec_ext in '' $ac_executable_extensions; do
39742 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39743 ac_cv_prog_SETFILE="SetFile"
39744 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39745 break 2
39746 fi
39747 done
39748 done
39749
39750 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
39751 fi
39752 fi
39753 SETFILE=$ac_cv_prog_SETFILE
39754 if test -n "$SETFILE"; then
39755 echo "$as_me:$LINENO: result: $SETFILE" >&5
39756 echo "${ECHO_T}$SETFILE" >&6
39757 else
39758 echo "$as_me:$LINENO: result: no" >&5
39759 echo "${ECHO_T}no" >&6
39760 fi
39761
39762 ;;
39763 esac
39764
39765
39766
39767
39768
39769 BAKEFILE_BAKEFILE_M4_VERSION="0.1.4"
39770
39771
39772
39773 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.1.4"
39774
39775
39776
39777 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
39778 if test "${enable_precomp_headers+set}" = set; then
39779 enableval="$enable_precomp_headers"
39780 bk_use_pch="$enableval"
39781 fi;
39782
39783 GCC_PCH=0
39784
39785 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39786 if test "x$GCC" = "xyes"; then
39787 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
39788 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
39789 cat >conftest.$ac_ext <<_ACEOF
39790 /* confdefs.h. */
39791 _ACEOF
39792 cat confdefs.h >>conftest.$ac_ext
39793 cat >>conftest.$ac_ext <<_ACEOF
39794 /* end confdefs.h. */
39795
39796 int
39797 main ()
39798 {
39799
39800 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39801 #error "no pch support"
39802 #endif
39803 #if (__GNUC__ < 3)
39804 #error "no pch support"
39805 #endif
39806 #if (__GNUC__ == 3) && \
39807 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39808 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
39809 #error "no pch support"
39810 #endif
39811
39812 ;
39813 return 0;
39814 }
39815 _ACEOF
39816 rm -f conftest.$ac_objext
39817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39818 (eval $ac_compile) 2>conftest.er1
39819 ac_status=$?
39820 grep -v '^ *+' conftest.er1 >conftest.err
39821 rm -f conftest.er1
39822 cat conftest.err >&5
39823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39824 (exit $ac_status); } &&
39825 { ac_try='test -z "$ac_c_werror_flag"
39826 || test ! -s conftest.err'
39827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39828 (eval $ac_try) 2>&5
39829 ac_status=$?
39830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39831 (exit $ac_status); }; } &&
39832 { ac_try='test -s conftest.$ac_objext'
39833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39834 (eval $ac_try) 2>&5
39835 ac_status=$?
39836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39837 (exit $ac_status); }; }; then
39838
39839 echo "$as_me:$LINENO: result: yes" >&5
39840 echo "${ECHO_T}yes" >&6
39841 GCC_PCH=1
39842
39843 else
39844 echo "$as_me: failed program was:" >&5
39845 sed 's/^/| /' conftest.$ac_ext >&5
39846
39847
39848 echo "$as_me:$LINENO: result: no" >&5
39849 echo "${ECHO_T}no" >&6
39850
39851 fi
39852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39853 if test $GCC_PCH = 1 ; then
39854 cat <<EOF >bk-make-pch
39855 #!/bin/sh
39856
39857 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39858 # script. It is used to generated precompiled headers.
39859 #
39860 # Permission is given to use this file in any way.
39861
39862 outfile="\${1}"
39863 header="\${2}"
39864 shift
39865 shift
39866
39867 compiler=
39868 headerfile=
39869 while test \${#} -gt 0; do
39870 case "\${1}" in
39871 -I* )
39872 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
39873 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
39874 headerfile="\${incdir}/\${header}"
39875 fi
39876 ;;
39877 esac
39878 compiler="\${compiler} \${1}"
39879 shift
39880 done
39881
39882 if test "x\${headerfile}" = "x" ; then
39883 echo "error: can't find header \${header} in include paths" >2
39884 else
39885 if test -f \${outfile} ; then
39886 rm -f \${outfile}
39887 else
39888 mkdir -p \`dirname \${outfile}\`
39889 fi
39890 depsfile=".deps/\`basename \${outfile}\`.d"
39891 mkdir -p .deps
39892 # can do this because gcc is >= 3.4:
39893 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
39894 exit \${?}
39895 fi
39896 EOF
39897 chmod +x bk-make-pch
39898 fi
39899 fi
39900 fi
39901
39902
39903
39904
39905
39906
39907
39908 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
39909 if test "${enable_precomp_headers+set}" = set; then
39910 enableval="$enable_precomp_headers"
39911 bk_use_pch="$enableval"
39912 fi;
39913
39914 GCC_PCH=0
39915
39916 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39917 if test "x$GCC" = "xyes"; then
39918 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
39919 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
39920 cat >conftest.$ac_ext <<_ACEOF
39921 /* confdefs.h. */
39922 _ACEOF
39923 cat confdefs.h >>conftest.$ac_ext
39924 cat >>conftest.$ac_ext <<_ACEOF
39925 /* end confdefs.h. */
39926
39927 int
39928 main ()
39929 {
39930
39931 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39932 #error "no pch support"
39933 #endif
39934 #if (__GNUC__ < 3)
39935 #error "no pch support"
39936 #endif
39937 #if (__GNUC__ == 3) && \
39938 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39939 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
39940 #error "no pch support"
39941 #endif
39942
39943 ;
39944 return 0;
39945 }
39946 _ACEOF
39947 rm -f conftest.$ac_objext
39948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39949 (eval $ac_compile) 2>conftest.er1
39950 ac_status=$?
39951 grep -v '^ *+' conftest.er1 >conftest.err
39952 rm -f conftest.er1
39953 cat conftest.err >&5
39954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39955 (exit $ac_status); } &&
39956 { ac_try='test -z "$ac_c_werror_flag"
39957 || test ! -s conftest.err'
39958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39959 (eval $ac_try) 2>&5
39960 ac_status=$?
39961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39962 (exit $ac_status); }; } &&
39963 { ac_try='test -s conftest.$ac_objext'
39964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39965 (eval $ac_try) 2>&5
39966 ac_status=$?
39967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39968 (exit $ac_status); }; }; then
39969
39970 echo "$as_me:$LINENO: result: yes" >&5
39971 echo "${ECHO_T}yes" >&6
39972 GCC_PCH=1
39973
39974 else
39975 echo "$as_me: failed program was:" >&5
39976 sed 's/^/| /' conftest.$ac_ext >&5
39977
39978
39979 echo "$as_me:$LINENO: result: no" >&5
39980 echo "${ECHO_T}no" >&6
39981
39982 fi
39983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39984 if test $GCC_PCH = 1 ; then
39985 cat <<EOF >bk-make-pch
39986 #!/bin/sh
39987
39988 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39989 # script. It is used to generated precompiled headers.
39990 #
39991 # Permission is given to use this file in any way.
39992
39993 outfile="\${1}"
39994 header="\${2}"
39995 shift
39996 shift
39997
39998 compiler=
39999 headerfile=
40000 while test \${#} -gt 0; do
40001 case "\${1}" in
40002 -I* )
40003 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
40004 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
40005 headerfile="\${incdir}/\${header}"
40006 fi
40007 ;;
40008 esac
40009 compiler="\${compiler} \${1}"
40010 shift
40011 done
40012
40013 if test "x\${headerfile}" = "x" ; then
40014 echo "error: can't find header \${header} in include paths" >2
40015 else
40016 if test -f \${outfile} ; then
40017 rm -f \${outfile}
40018 else
40019 mkdir -p \`dirname \${outfile}\`
40020 fi
40021 depsfile=".deps/\`basename \${outfile}\`.d"
40022 mkdir -p .deps
40023 # can do this because gcc is >= 3.4:
40024 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
40025 exit \${?}
40026 fi
40027 EOF
40028 chmod +x bk-make-pch
40029 fi
40030 fi
40031 fi
40032
40033
40034
40035 COND_BUILD_DEBUG="#"
40036 if test "x$BUILD" = "xdebug" ; then
40037 COND_BUILD_DEBUG=""
40038 fi
40039
40040 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
40041 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
40042 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
40043 fi
40044
40045 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
40046 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40047 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
40048 fi
40049
40050 COND_BUILD_DEBUG_UNICODE_0="#"
40051 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
40052 COND_BUILD_DEBUG_UNICODE_0=""
40053 fi
40054
40055 COND_BUILD_DEBUG_UNICODE_1="#"
40056 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
40057 COND_BUILD_DEBUG_UNICODE_1=""
40058 fi
40059
40060 COND_BUILD_RELEASE="#"
40061 if test "x$BUILD" = "xrelease" ; then
40062 COND_BUILD_RELEASE=""
40063 fi
40064
40065 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
40066 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40067 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
40068 fi
40069
40070 COND_BUILD_RELEASE_UNICODE_0="#"
40071 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
40072 COND_BUILD_RELEASE_UNICODE_0=""
40073 fi
40074
40075 COND_BUILD_RELEASE_UNICODE_1="#"
40076 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
40077 COND_BUILD_RELEASE_UNICODE_1=""
40078 fi
40079
40080 COND_DEBUG_FLAG_1="#"
40081 if test "x$DEBUG_FLAG" = "x1" ; then
40082 COND_DEBUG_FLAG_1=""
40083 fi
40084
40085 COND_DEBUG_INFO_0="#"
40086 if test "x$DEBUG_INFO" = "x0" ; then
40087 COND_DEBUG_INFO_0=""
40088 fi
40089
40090 COND_DEBUG_INFO_1="#"
40091 if test "x$DEBUG_INFO" = "x1" ; then
40092 COND_DEBUG_INFO_1=""
40093 fi
40094
40095 COND_DEPS_TRACKING_0="#"
40096 if test "x$DEPS_TRACKING" = "x0" ; then
40097 COND_DEPS_TRACKING_0=""
40098 fi
40099
40100 COND_DEPS_TRACKING_1="#"
40101 if test "x$DEPS_TRACKING" = "x1" ; then
40102 COND_DEPS_TRACKING_1=""
40103 fi
40104
40105 COND_GCC_PCH_1="#"
40106 if test "x$GCC_PCH" = "x1" ; then
40107 COND_GCC_PCH_1=""
40108 fi
40109
40110 COND_MONOLITHIC_0="#"
40111 if test "x$MONOLITHIC" = "x0" ; then
40112 COND_MONOLITHIC_0=""
40113 fi
40114
40115 COND_MONOLITHIC_0_SHARED_0="#"
40116 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40117 COND_MONOLITHIC_0_SHARED_0=""
40118 fi
40119
40120 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
40121 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40122 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
40123 fi
40124
40125 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
40126 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40127 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
40128 fi
40129
40130 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
40131 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
40132 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
40133 fi
40134
40135 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
40136 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
40137 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
40138 fi
40139
40140 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
40141 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
40142 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
40143 fi
40144
40145 COND_MONOLITHIC_0_SHARED_1="#"
40146 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40147 COND_MONOLITHIC_0_SHARED_1=""
40148 fi
40149
40150 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
40151 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40152 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
40153 fi
40154
40155 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
40156 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40157 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
40158 fi
40159
40160 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
40161 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
40162 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
40163 fi
40164
40165 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
40166 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
40167 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
40168 fi
40169
40170 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
40171 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
40172 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
40173 fi
40174
40175 COND_MONOLITHIC_0_USE_ODBC_1="#"
40176 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
40177 COND_MONOLITHIC_0_USE_ODBC_1=""
40178 fi
40179
40180 COND_MONOLITHIC_1="#"
40181 if test "x$MONOLITHIC" = "x1" ; then
40182 COND_MONOLITHIC_1=""
40183 fi
40184
40185 COND_MONOLITHIC_1_SHARED_0="#"
40186 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40187 COND_MONOLITHIC_1_SHARED_0=""
40188 fi
40189
40190 COND_MONOLITHIC_1_SHARED_1="#"
40191 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40192 COND_MONOLITHIC_1_SHARED_1=""
40193 fi
40194
40195 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
40196 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40197 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
40198 fi
40199
40200 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
40201 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40202 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
40203 fi
40204
40205 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
40206 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40207 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
40208 fi
40209
40210 COND_PLATFORM_MACOSX_1="#"
40211 if test "x$PLATFORM_MACOSX" = "x1" ; then
40212 COND_PLATFORM_MACOSX_1=""
40213 fi
40214
40215 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
40216 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
40217 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
40218 fi
40219
40220 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
40221 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
40222 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
40223 fi
40224
40225 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
40226 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
40227 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
40228 fi
40229
40230 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
40231 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
40232 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
40233 fi
40234
40235 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
40236 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
40237 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
40238 fi
40239
40240 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
40241 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40242 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
40243 fi
40244
40245 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
40246 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40247 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
40248 fi
40249
40250 COND_PLATFORM_MAC_1="#"
40251 if test "x$PLATFORM_MAC" = "x1" ; then
40252 COND_PLATFORM_MAC_1=""
40253 fi
40254
40255 COND_PLATFORM_OS2_1="#"
40256 if test "x$PLATFORM_OS2" = "x1" ; then
40257 COND_PLATFORM_OS2_1=""
40258 fi
40259
40260 COND_PLATFORM_UNIX_0="#"
40261 if test "x$PLATFORM_UNIX" = "x0" ; then
40262 COND_PLATFORM_UNIX_0=""
40263 fi
40264
40265 COND_PLATFORM_UNIX_1="#"
40266 if test "x$PLATFORM_UNIX" = "x1" ; then
40267 COND_PLATFORM_UNIX_1=""
40268 fi
40269
40270 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
40271 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40272 COND_PLATFORM_UNIX_1_USE_GUI_1=""
40273 fi
40274
40275 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
40276 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40277 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
40278 fi
40279
40280 COND_PLATFORM_WIN32_0="#"
40281 if test "x$PLATFORM_WIN32" = "x0" ; then
40282 COND_PLATFORM_WIN32_0=""
40283 fi
40284
40285 COND_PLATFORM_WIN32_1="#"
40286 if test "x$PLATFORM_WIN32" = "x1" ; then
40287 COND_PLATFORM_WIN32_1=""
40288 fi
40289
40290 COND_SHARED_0="#"
40291 if test "x$SHARED" = "x0" ; then
40292 COND_SHARED_0=""
40293 fi
40294
40295 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
40296 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40297 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
40298 fi
40299
40300 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
40301 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40302 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
40303 fi
40304
40305 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
40306 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40307 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
40308 fi
40309
40310 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
40311 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40312 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
40313 fi
40314
40315 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
40316 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40317 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
40318 fi
40319
40320 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
40321 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40322 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
40323 fi
40324
40325 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
40326 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40327 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
40328 fi
40329
40330 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
40331 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40332 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
40333 fi
40334
40335 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
40336 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
40337 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
40338 fi
40339
40340 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
40341 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40342 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
40343 fi
40344
40345 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
40346 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40347 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
40348 fi
40349
40350 COND_SHARED_1="#"
40351 if test "x$SHARED" = "x1" ; then
40352 COND_SHARED_1=""
40353 fi
40354
40355 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
40356 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40357 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
40358 fi
40359
40360 COND_TOOLKIT_COCOA="#"
40361 if test "x$TOOLKIT" = "xCOCOA" ; then
40362 COND_TOOLKIT_COCOA=""
40363 fi
40364
40365 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
40366 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40367 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
40368 fi
40369
40370 COND_TOOLKIT_GTK="#"
40371 if test "x$TOOLKIT" = "xGTK" ; then
40372 COND_TOOLKIT_GTK=""
40373 fi
40374
40375 COND_TOOLKIT_GTK_USE_GUI_1="#"
40376 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40377 COND_TOOLKIT_GTK_USE_GUI_1=""
40378 fi
40379
40380 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
40381 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40382 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
40383 fi
40384
40385 COND_TOOLKIT_MAC="#"
40386 if test "x$TOOLKIT" = "xMAC" ; then
40387 COND_TOOLKIT_MAC=""
40388 fi
40389
40390 COND_TOOLKIT_MAC_USE_GUI_1="#"
40391 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
40392 COND_TOOLKIT_MAC_USE_GUI_1=""
40393 fi
40394
40395 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
40396 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40397 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
40398 fi
40399
40400 COND_TOOLKIT_MGL="#"
40401 if test "x$TOOLKIT" = "xMGL" ; then
40402 COND_TOOLKIT_MGL=""
40403 fi
40404
40405 COND_TOOLKIT_MGL_USE_GUI_1="#"
40406 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
40407 COND_TOOLKIT_MGL_USE_GUI_1=""
40408 fi
40409
40410 COND_TOOLKIT_MOTIF="#"
40411 if test "x$TOOLKIT" = "xMOTIF" ; then
40412 COND_TOOLKIT_MOTIF=""
40413 fi
40414
40415 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
40416 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40417 COND_TOOLKIT_MOTIF_USE_GUI_1=""
40418 fi
40419
40420 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
40421 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40422 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
40423 fi
40424
40425 COND_TOOLKIT_MSW="#"
40426 if test "x$TOOLKIT" = "xMSW" ; then
40427 COND_TOOLKIT_MSW=""
40428 fi
40429
40430 COND_TOOLKIT_MSW_USE_GUI_1="#"
40431 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40432 COND_TOOLKIT_MSW_USE_GUI_1=""
40433 fi
40434
40435 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
40436 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40437 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
40438 fi
40439
40440 COND_TOOLKIT_PM="#"
40441 if test "x$TOOLKIT" = "xPM" ; then
40442 COND_TOOLKIT_PM=""
40443 fi
40444
40445 COND_TOOLKIT_PM_USE_GUI_1="#"
40446 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40447 COND_TOOLKIT_PM_USE_GUI_1=""
40448 fi
40449
40450 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
40451 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40452 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
40453 fi
40454
40455 COND_TOOLKIT_WINCE="#"
40456 if test "x$TOOLKIT" = "xWINCE" ; then
40457 COND_TOOLKIT_WINCE=""
40458 fi
40459
40460 COND_TOOLKIT_WINCE_USE_GUI_1="#"
40461 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40462 COND_TOOLKIT_WINCE_USE_GUI_1=""
40463 fi
40464
40465 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
40466 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40467 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
40468 fi
40469
40470 COND_TOOLKIT_X11="#"
40471 if test "x$TOOLKIT" = "xX11" ; then
40472 COND_TOOLKIT_X11=""
40473 fi
40474
40475 COND_TOOLKIT_X11_USE_GUI_1="#"
40476 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40477 COND_TOOLKIT_X11_USE_GUI_1=""
40478 fi
40479
40480 COND_UNICODE_1="#"
40481 if test "x$UNICODE" = "x1" ; then
40482 COND_UNICODE_1=""
40483 fi
40484
40485 COND_USE_EXCEPTIONS_0="#"
40486 if test "x$USE_EXCEPTIONS" = "x0" ; then
40487 COND_USE_EXCEPTIONS_0=""
40488 fi
40489
40490 COND_USE_EXCEPTIONS_1="#"
40491 if test "x$USE_EXCEPTIONS" = "x1" ; then
40492 COND_USE_EXCEPTIONS_1=""
40493 fi
40494
40495 COND_USE_GUI_0="#"
40496 if test "x$USE_GUI" = "x0" ; then
40497 COND_USE_GUI_0=""
40498 fi
40499
40500 COND_USE_GUI_1="#"
40501 if test "x$USE_GUI" = "x1" ; then
40502 COND_USE_GUI_1=""
40503 fi
40504
40505 COND_USE_GUI_1_WXUNIV_0="#"
40506 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40507 COND_USE_GUI_1_WXUNIV_0=""
40508 fi
40509
40510 COND_USE_GUI_1_WXUNIV_1="#"
40511 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40512 COND_USE_GUI_1_WXUNIV_1=""
40513 fi
40514
40515 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
40516 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40517 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
40518 fi
40519
40520 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
40521 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40522 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
40523 fi
40524
40525 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
40526 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40527 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
40528 fi
40529
40530 COND_USE_ODBC_1="#"
40531 if test "x$USE_ODBC" = "x1" ; then
40532 COND_USE_ODBC_1=""
40533 fi
40534
40535 COND_USE_PLUGINS_0="#"
40536 if test "x$USE_PLUGINS" = "x0" ; then
40537 COND_USE_PLUGINS_0=""
40538 fi
40539
40540 COND_USE_SOSYMLINKS_1="#"
40541 if test "x$USE_SOSYMLINKS" = "x1" ; then
40542 COND_USE_SOSYMLINKS_1=""
40543 fi
40544
40545 COND_USE_SOVERLINUX_1="#"
40546 if test "x$USE_SOVERLINUX" = "x1" ; then
40547 COND_USE_SOVERLINUX_1=""
40548 fi
40549
40550 COND_USE_SOVERSION_0="#"
40551 if test "x$USE_SOVERSION" = "x0" ; then
40552 COND_USE_SOVERSION_0=""
40553 fi
40554
40555 COND_USE_SOVERSOLARIS_1="#"
40556 if test "x$USE_SOVERSOLARIS" = "x1" ; then
40557 COND_USE_SOVERSOLARIS_1=""
40558 fi
40559
40560 COND_USE_XRC_1="#"
40561 if test "x$USE_XRC" = "x1" ; then
40562 COND_USE_XRC_1=""
40563 fi
40564
40565 COND_WITH_PLUGIN_SDL_1="#"
40566 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40567 COND_WITH_PLUGIN_SDL_1=""
40568 fi
40569
40570 COND_WXUNIV_1="#"
40571 if test "x$WXUNIV" = "x1" ; then
40572 COND_WXUNIV_1=""
40573 fi
40574
40575 COND_WXUSE_EXPAT_BUILTIN="#"
40576 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40577 COND_WXUSE_EXPAT_BUILTIN=""
40578 fi
40579
40580 COND_WXUSE_LIBJPEG_BUILTIN="#"
40581 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40582 COND_WXUSE_LIBJPEG_BUILTIN=""
40583 fi
40584
40585 COND_WXUSE_LIBPNG_BUILTIN="#"
40586 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40587 COND_WXUSE_LIBPNG_BUILTIN=""
40588 fi
40589
40590 COND_WXUSE_LIBTIFF_BUILTIN="#"
40591 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40592 COND_WXUSE_LIBTIFF_BUILTIN=""
40593 fi
40594
40595 COND_WXUSE_ODBC_BUILTIN="#"
40596 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
40597 COND_WXUSE_ODBC_BUILTIN=""
40598 fi
40599
40600 COND_WXUSE_REGEX_BUILTIN="#"
40601 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40602 COND_WXUSE_REGEX_BUILTIN=""
40603 fi
40604
40605 COND_WXUSE_ZLIB_BUILTIN="#"
40606 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40607 COND_WXUSE_ZLIB_BUILTIN=""
40608 fi
40609
40610 COND_BUILD_DEBUG="#"
40611 if test "x$BUILD" = "xdebug" ; then
40612 COND_BUILD_DEBUG=""
40613 fi
40614
40615 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
40616 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
40617 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
40618 fi
40619
40620 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
40621 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40622 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
40623 fi
40624
40625 COND_BUILD_DEBUG_UNICODE_0="#"
40626 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
40627 COND_BUILD_DEBUG_UNICODE_0=""
40628 fi
40629
40630 COND_BUILD_DEBUG_UNICODE_1="#"
40631 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
40632 COND_BUILD_DEBUG_UNICODE_1=""
40633 fi
40634
40635 COND_BUILD_RELEASE="#"
40636 if test "x$BUILD" = "xrelease" ; then
40637 COND_BUILD_RELEASE=""
40638 fi
40639
40640 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
40641 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40642 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
40643 fi
40644
40645 COND_BUILD_RELEASE_UNICODE_0="#"
40646 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
40647 COND_BUILD_RELEASE_UNICODE_0=""
40648 fi
40649
40650 COND_BUILD_RELEASE_UNICODE_1="#"
40651 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
40652 COND_BUILD_RELEASE_UNICODE_1=""
40653 fi
40654
40655 COND_DEBUG_FLAG_1="#"
40656 if test "x$DEBUG_FLAG" = "x1" ; then
40657 COND_DEBUG_FLAG_1=""
40658 fi
40659
40660 COND_DEBUG_INFO_0="#"
40661 if test "x$DEBUG_INFO" = "x0" ; then
40662 COND_DEBUG_INFO_0=""
40663 fi
40664
40665 COND_DEBUG_INFO_1="#"
40666 if test "x$DEBUG_INFO" = "x1" ; then
40667 COND_DEBUG_INFO_1=""
40668 fi
40669
40670 COND_DEPS_TRACKING_0="#"
40671 if test "x$DEPS_TRACKING" = "x0" ; then
40672 COND_DEPS_TRACKING_0=""
40673 fi
40674
40675 COND_DEPS_TRACKING_1="#"
40676 if test "x$DEPS_TRACKING" = "x1" ; then
40677 COND_DEPS_TRACKING_1=""
40678 fi
40679
40680 COND_GCC_PCH_1="#"
40681 if test "x$GCC_PCH" = "x1" ; then
40682 COND_GCC_PCH_1=""
40683 fi
40684
40685 COND_MONOLITHIC_0="#"
40686 if test "x$MONOLITHIC" = "x0" ; then
40687 COND_MONOLITHIC_0=""
40688 fi
40689
40690 COND_MONOLITHIC_0_SHARED_0="#"
40691 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40692 COND_MONOLITHIC_0_SHARED_0=""
40693 fi
40694
40695 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
40696 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40697 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
40698 fi
40699
40700 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
40701 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40702 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
40703 fi
40704
40705 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
40706 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
40707 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
40708 fi
40709
40710 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
40711 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
40712 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
40713 fi
40714
40715 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
40716 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
40717 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
40718 fi
40719
40720 COND_MONOLITHIC_0_SHARED_1="#"
40721 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40722 COND_MONOLITHIC_0_SHARED_1=""
40723 fi
40724
40725 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
40726 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40727 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
40728 fi
40729
40730 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
40731 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40732 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
40733 fi
40734
40735 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
40736 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
40737 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
40738 fi
40739
40740 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
40741 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
40742 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
40743 fi
40744
40745 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
40746 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
40747 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
40748 fi
40749
40750 COND_MONOLITHIC_0_USE_ODBC_1="#"
40751 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
40752 COND_MONOLITHIC_0_USE_ODBC_1=""
40753 fi
40754
40755 COND_MONOLITHIC_1="#"
40756 if test "x$MONOLITHIC" = "x1" ; then
40757 COND_MONOLITHIC_1=""
40758 fi
40759
40760 COND_MONOLITHIC_1_SHARED_0="#"
40761 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40762 COND_MONOLITHIC_1_SHARED_0=""
40763 fi
40764
40765 COND_MONOLITHIC_1_SHARED_1="#"
40766 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40767 COND_MONOLITHIC_1_SHARED_1=""
40768 fi
40769
40770 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
40771 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40772 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
40773 fi
40774
40775 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
40776 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40777 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
40778 fi
40779
40780 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
40781 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40782 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
40783 fi
40784
40785 COND_PLATFORM_MACOSX_1="#"
40786 if test "x$PLATFORM_MACOSX" = "x1" ; then
40787 COND_PLATFORM_MACOSX_1=""
40788 fi
40789
40790 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
40791 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
40792 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
40793 fi
40794
40795 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
40796 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
40797 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
40798 fi
40799
40800 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
40801 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
40802 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
40803 fi
40804
40805 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
40806 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
40807 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
40808 fi
40809
40810 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
40811 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
40812 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
40813 fi
40814
40815 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
40816 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40817 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
40818 fi
40819
40820 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
40821 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40822 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
40823 fi
40824
40825 COND_PLATFORM_MAC_1="#"
40826 if test "x$PLATFORM_MAC" = "x1" ; then
40827 COND_PLATFORM_MAC_1=""
40828 fi
40829
40830 COND_PLATFORM_OS2_1="#"
40831 if test "x$PLATFORM_OS2" = "x1" ; then
40832 COND_PLATFORM_OS2_1=""
40833 fi
40834
40835 COND_PLATFORM_UNIX_0="#"
40836 if test "x$PLATFORM_UNIX" = "x0" ; then
40837 COND_PLATFORM_UNIX_0=""
40838 fi
40839
40840 COND_PLATFORM_UNIX_1="#"
40841 if test "x$PLATFORM_UNIX" = "x1" ; then
40842 COND_PLATFORM_UNIX_1=""
40843 fi
40844
40845 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
40846 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40847 COND_PLATFORM_UNIX_1_USE_GUI_1=""
40848 fi
40849
40850 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
40851 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40852 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
40853 fi
40854
40855 COND_PLATFORM_WIN32_0="#"
40856 if test "x$PLATFORM_WIN32" = "x0" ; then
40857 COND_PLATFORM_WIN32_0=""
40858 fi
40859
40860 COND_PLATFORM_WIN32_1="#"
40861 if test "x$PLATFORM_WIN32" = "x1" ; then
40862 COND_PLATFORM_WIN32_1=""
40863 fi
40864
40865 COND_SHARED_0="#"
40866 if test "x$SHARED" = "x0" ; then
40867 COND_SHARED_0=""
40868 fi
40869
40870 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
40871 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40872 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
40873 fi
40874
40875 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
40876 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40877 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
40878 fi
40879
40880 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
40881 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40882 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
40883 fi
40884
40885 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
40886 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40887 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
40888 fi
40889
40890 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
40891 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40892 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
40893 fi
40894
40895 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
40896 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
40897 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
40898 fi
40899
40900 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
40901 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40902 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
40903 fi
40904
40905 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
40906 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40907 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
40908 fi
40909
40910 COND_SHARED_1="#"
40911 if test "x$SHARED" = "x1" ; then
40912 COND_SHARED_1=""
40913 fi
40914
40915 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
40916 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40917 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
40918 fi
40919
40920 COND_TOOLKIT_COCOA="#"
40921 if test "x$TOOLKIT" = "xCOCOA" ; then
40922 COND_TOOLKIT_COCOA=""
40923 fi
40924
40925 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
40926 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40927 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
40928 fi
40929
40930 COND_TOOLKIT_GTK="#"
40931 if test "x$TOOLKIT" = "xGTK" ; then
40932 COND_TOOLKIT_GTK=""
40933 fi
40934
40935 COND_TOOLKIT_GTK_USE_GUI_1="#"
40936 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40937 COND_TOOLKIT_GTK_USE_GUI_1=""
40938 fi
40939
40940 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
40941 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40942 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
40943 fi
40944
40945 COND_TOOLKIT_MAC="#"
40946 if test "x$TOOLKIT" = "xMAC" ; then
40947 COND_TOOLKIT_MAC=""
40948 fi
40949
40950 COND_TOOLKIT_MAC_USE_GUI_1="#"
40951 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
40952 COND_TOOLKIT_MAC_USE_GUI_1=""
40953 fi
40954
40955 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
40956 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40957 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
40958 fi
40959
40960 COND_TOOLKIT_MAC_WXUNIV_0="#"
40961 if test "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40962 COND_TOOLKIT_MAC_WXUNIV_0=""
40963 fi
40964
40965 COND_TOOLKIT_MGL="#"
40966 if test "x$TOOLKIT" = "xMGL" ; then
40967 COND_TOOLKIT_MGL=""
40968 fi
40969
40970 COND_TOOLKIT_MGL_USE_GUI_1="#"
40971 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
40972 COND_TOOLKIT_MGL_USE_GUI_1=""
40973 fi
40974
40975 COND_TOOLKIT_MOTIF="#"
40976 if test "x$TOOLKIT" = "xMOTIF" ; then
40977 COND_TOOLKIT_MOTIF=""
40978 fi
40979
40980 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
40981 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40982 COND_TOOLKIT_MOTIF_USE_GUI_1=""
40983 fi
40984
40985 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
40986 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40987 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
40988 fi
40989
40990 COND_TOOLKIT_MSW="#"
40991 if test "x$TOOLKIT" = "xMSW" ; then
40992 COND_TOOLKIT_MSW=""
40993 fi
40994
40995 COND_TOOLKIT_MSW_USE_GUI_1="#"
40996 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40997 COND_TOOLKIT_MSW_USE_GUI_1=""
40998 fi
40999
41000 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
41001 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41002 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
41003 fi
41004
41005 COND_TOOLKIT_MSW_WXUNIV_0="#"
41006 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
41007 COND_TOOLKIT_MSW_WXUNIV_0=""
41008 fi
41009
41010 COND_TOOLKIT_PM="#"
41011 if test "x$TOOLKIT" = "xPM" ; then
41012 COND_TOOLKIT_PM=""
41013 fi
41014
41015 COND_TOOLKIT_PM_USE_GUI_1="#"
41016 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
41017 COND_TOOLKIT_PM_USE_GUI_1=""
41018 fi
41019
41020 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
41021 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41022 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
41023 fi
41024
41025 COND_TOOLKIT_PM_WXUNIV_0="#"
41026 if test "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
41027 COND_TOOLKIT_PM_WXUNIV_0=""
41028 fi
41029
41030 COND_TOOLKIT_WINCE="#"
41031 if test "x$TOOLKIT" = "xWINCE" ; then
41032 COND_TOOLKIT_WINCE=""
41033 fi
41034
41035 COND_TOOLKIT_WINCE_USE_GUI_1="#"
41036 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
41037 COND_TOOLKIT_WINCE_USE_GUI_1=""
41038 fi
41039
41040 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
41041 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41042 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
41043 fi
41044
41045 COND_TOOLKIT_X11="#"
41046 if test "x$TOOLKIT" = "xX11" ; then
41047 COND_TOOLKIT_X11=""
41048 fi
41049
41050 COND_TOOLKIT_X11_USE_GUI_1="#"
41051 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
41052 COND_TOOLKIT_X11_USE_GUI_1=""
41053 fi
41054
41055 COND_UNICODE_1="#"
41056 if test "x$UNICODE" = "x1" ; then
41057 COND_UNICODE_1=""
41058 fi
41059
41060 COND_USE_EXCEPTIONS_0="#"
41061 if test "x$USE_EXCEPTIONS" = "x0" ; then
41062 COND_USE_EXCEPTIONS_0=""
41063 fi
41064
41065 COND_USE_EXCEPTIONS_1="#"
41066 if test "x$USE_EXCEPTIONS" = "x1" ; then
41067 COND_USE_EXCEPTIONS_1=""
41068 fi
41069
41070 COND_USE_GUI_0="#"
41071 if test "x$USE_GUI" = "x0" ; then
41072 COND_USE_GUI_0=""
41073 fi
41074
41075 COND_USE_GUI_1="#"
41076 if test "x$USE_GUI" = "x1" ; then
41077 COND_USE_GUI_1=""
41078 fi
41079
41080 COND_USE_GUI_1_WXUNIV_0="#"
41081 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41082 COND_USE_GUI_1_WXUNIV_0=""
41083 fi
41084
41085 COND_USE_GUI_1_WXUNIV_1="#"
41086 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
41087 COND_USE_GUI_1_WXUNIV_1=""
41088 fi
41089
41090 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
41091 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41092 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
41093 fi
41094
41095 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
41096 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41097 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
41098 fi
41099
41100 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
41101 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41102 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
41103 fi
41104
41105 COND_USE_ODBC_1="#"
41106 if test "x$USE_ODBC" = "x1" ; then
41107 COND_USE_ODBC_1=""
41108 fi
41109
41110 COND_USE_PLUGINS_0="#"
41111 if test "x$USE_PLUGINS" = "x0" ; then
41112 COND_USE_PLUGINS_0=""
41113 fi
41114
41115 COND_USE_SOSYMLINKS_1="#"
41116 if test "x$USE_SOSYMLINKS" = "x1" ; then
41117 COND_USE_SOSYMLINKS_1=""
41118 fi
41119
41120 COND_USE_SOVERLINUX_1="#"
41121 if test "x$USE_SOVERLINUX" = "x1" ; then
41122 COND_USE_SOVERLINUX_1=""
41123 fi
41124
41125 COND_USE_SOVERSION_0="#"
41126 if test "x$USE_SOVERSION" = "x0" ; then
41127 COND_USE_SOVERSION_0=""
41128 fi
41129
41130 COND_USE_SOVERSOLARIS_1="#"
41131 if test "x$USE_SOVERSOLARIS" = "x1" ; then
41132 COND_USE_SOVERSOLARIS_1=""
41133 fi
41134
41135 COND_WITH_PLUGIN_SDL_1="#"
41136 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
41137 COND_WITH_PLUGIN_SDL_1=""
41138 fi
41139
41140 COND_WXUNIV_1="#"
41141 if test "x$WXUNIV" = "x1" ; then
41142 COND_WXUNIV_1=""
41143 fi
41144
41145 COND_WXUSE_EXPAT_BUILTIN="#"
41146 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
41147 COND_WXUSE_EXPAT_BUILTIN=""
41148 fi
41149
41150 COND_WXUSE_LIBJPEG_BUILTIN="#"
41151 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41152 COND_WXUSE_LIBJPEG_BUILTIN=""
41153 fi
41154
41155 COND_WXUSE_LIBPNG_BUILTIN="#"
41156 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41157 COND_WXUSE_LIBPNG_BUILTIN=""
41158 fi
41159
41160 COND_WXUSE_LIBTIFF_BUILTIN="#"
41161 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41162 COND_WXUSE_LIBTIFF_BUILTIN=""
41163 fi
41164
41165 COND_WXUSE_ODBC_BUILTIN="#"
41166 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
41167 COND_WXUSE_ODBC_BUILTIN=""
41168 fi
41169
41170 COND_WXUSE_REGEX_BUILTIN="#"
41171 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
41172 COND_WXUSE_REGEX_BUILTIN=""
41173 fi
41174
41175 COND_WXUSE_ZLIB_BUILTIN="#"
41176 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
41177 COND_WXUSE_ZLIB_BUILTIN=""
41178 fi
41179
41180
41181
41182 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
41183 { { 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
41184 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;}
41185 { (exit 1); exit 1; }; }
41186 fi
41187
41188
41189 if test "$wxUSE_SHARED" = "yes"; then
41190
41191 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
41192 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
41193
41194 else
41195
41196 EXE_LINKER="$CXX -o"
41197
41198 fi
41199
41200 GCC_PRAGMA_FLAGS=""
41201 if test $GCC_PCH = 1 ; then
41202 GCC_PRAGMA_FLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA"
41203 else
41204 case "${host}" in
41205 powerpc-*-darwin* )
41206 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
41207 ;;
41208 *-*-mingw32* )
41209 if test "$wxUSE_STL" = "yes" -o \
41210 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
41211 "$wxUSE_NO_RTTI" != "yes"; then
41212 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
41213 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
41214 cat >conftest.$ac_ext <<_ACEOF
41215 /* confdefs.h. */
41216 _ACEOF
41217 cat confdefs.h >>conftest.$ac_ext
41218 cat >>conftest.$ac_ext <<_ACEOF
41219 /* end confdefs.h. */
41220
41221 int
41222 main ()
41223 {
41224 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
41225 #error "Not GCC 3.2 or greater"
41226 #endif
41227
41228 ;
41229 return 0;
41230 }
41231 _ACEOF
41232 rm -f conftest.$ac_objext
41233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41234 (eval $ac_compile) 2>conftest.er1
41235 ac_status=$?
41236 grep -v '^ *+' conftest.er1 >conftest.err
41237 rm -f conftest.er1
41238 cat conftest.err >&5
41239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41240 (exit $ac_status); } &&
41241 { ac_try='test -z "$ac_c_werror_flag"
41242 || test ! -s conftest.err'
41243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41244 (eval $ac_try) 2>&5
41245 ac_status=$?
41246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41247 (exit $ac_status); }; } &&
41248 { ac_try='test -s conftest.$ac_objext'
41249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41250 (eval $ac_try) 2>&5
41251 ac_status=$?
41252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41253 (exit $ac_status); }; }; then
41254 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
41255 echo "$as_me:$LINENO: result: yes" >&5
41256 echo "${ECHO_T}yes" >&6
41257 else
41258 echo "$as_me: failed program was:" >&5
41259 sed 's/^/| /' conftest.$ac_ext >&5
41260
41261 echo "$as_me:$LINENO: result: no" >&5
41262 echo "${ECHO_T}no" >&6
41263 fi
41264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41265 fi
41266 ;;
41267 esac
41268 fi
41269 CPPFLAGS="$GCC_PRAGMA_FLAGS $CPPFLAGS"
41270
41271
41272 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
41273
41274
41275
41276
41277
41278
41279
41280
41281
41282
41283
41284
41285
41286
41287
41288
41289
41290
41291
41292
41293
41294
41295
41296
41297
41298
41299
41300
41301
41302
41303
41304
41305
41306
41307
41308
41309
41310
41311
41312
41313
41314
41315
41316
41317
41318
41319
41320
41321
41322
41323
41324
41325
41326
41327
41328
41329
41330
41331
41332
41333
41334
41335
41336 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41337 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
41338 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
41339 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
41340 echo $ECHO_N "(cached) $ECHO_C" >&6
41341 else
41342 cat >conftest.make <<\_ACEOF
41343 all:
41344 @echo 'ac_maketemp="$(MAKE)"'
41345 _ACEOF
41346 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
41347 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
41348 if test -n "$ac_maketemp"; then
41349 eval ac_cv_prog_make_${ac_make}_set=yes
41350 else
41351 eval ac_cv_prog_make_${ac_make}_set=no
41352 fi
41353 rm -f conftest.make
41354 fi
41355 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
41356 echo "$as_me:$LINENO: result: yes" >&5
41357 echo "${ECHO_T}yes" >&6
41358 SET_MAKE=
41359 else
41360 echo "$as_me:$LINENO: result: no" >&5
41361 echo "${ECHO_T}no" >&6
41362 SET_MAKE="MAKE=${MAKE-make}"
41363 fi
41364
41365
41366
41367 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
41368
41369
41370 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
41371
41372
41373 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
41374
41375
41376 ac_config_files="$ac_config_files version-script Makefile"
41377
41378
41379 ac_config_commands="$ac_config_commands wx-config
41380 "
41381
41382
41383
41384
41385 if test "$wxUSE_GUI" = "yes"; then
41386 SUBDIRS="samples demos utils contrib"
41387 else SUBDIRS="samples utils"
41388 fi
41389
41390
41391
41392 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
41393 if test "${with_cppunit_prefix+set}" = set; then
41394 withval="$with_cppunit_prefix"
41395 cppunit_config_prefix="$withval"
41396 else
41397 cppunit_config_prefix=""
41398 fi;
41399
41400 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
41401 if test "${with_cppunit_exec_prefix+set}" = set; then
41402 withval="$with_cppunit_exec_prefix"
41403 cppunit_config_exec_prefix="$withval"
41404 else
41405 cppunit_config_exec_prefix=""
41406 fi;
41407
41408 if test x$cppunit_config_exec_prefix != x ; then
41409 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
41410 if test x${CPPUNIT_CONFIG+set} != xset ; then
41411 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
41412 fi
41413 fi
41414 if test x$cppunit_config_prefix != x ; then
41415 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
41416 if test x${CPPUNIT_CONFIG+set} != xset ; then
41417 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
41418 fi
41419 fi
41420
41421 # Extract the first word of "cppunit-config", so it can be a program name with args.
41422 set dummy cppunit-config; ac_word=$2
41423 echo "$as_me:$LINENO: checking for $ac_word" >&5
41424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41425 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
41426 echo $ECHO_N "(cached) $ECHO_C" >&6
41427 else
41428 case $CPPUNIT_CONFIG in
41429 [\\/]* | ?:[\\/]*)
41430 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
41431 ;;
41432 *)
41433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41434 for as_dir in $PATH
41435 do
41436 IFS=$as_save_IFS
41437 test -z "$as_dir" && as_dir=.
41438 for ac_exec_ext in '' $ac_executable_extensions; do
41439 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41440 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41442 break 2
41443 fi
41444 done
41445 done
41446
41447 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
41448 ;;
41449 esac
41450 fi
41451 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
41452
41453 if test -n "$CPPUNIT_CONFIG"; then
41454 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
41455 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
41456 else
41457 echo "$as_me:$LINENO: result: no" >&5
41458 echo "${ECHO_T}no" >&6
41459 fi
41460
41461 cppunit_version_min=1.8.0
41462
41463 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
41464 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
41465 no_cppunit=""
41466 if test "$CPPUNIT_CONFIG" = "no" ; then
41467 no_cppunit=yes
41468 else
41469 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
41470 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
41471 cppunit_version=`$CPPUNIT_CONFIG --version`
41472
41473 cppunit_major_version=`echo $cppunit_version | \
41474 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41475 cppunit_minor_version=`echo $cppunit_version | \
41476 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41477 cppunit_micro_version=`echo $cppunit_version | \
41478 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41479
41480 cppunit_major_min=`echo $cppunit_version_min | \
41481 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41482 cppunit_minor_min=`echo $cppunit_version_min | \
41483 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41484 cppunit_micro_min=`echo $cppunit_version_min | \
41485 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41486
41487 cppunit_version_proper=`expr \
41488 $cppunit_major_version \> $cppunit_major_min \| \
41489 $cppunit_major_version \= $cppunit_major_min \& \
41490 $cppunit_minor_version \> $cppunit_minor_min \| \
41491 $cppunit_major_version \= $cppunit_major_min \& \
41492 $cppunit_minor_version \= $cppunit_minor_min \& \
41493 $cppunit_micro_version \>= $cppunit_micro_min `
41494
41495 if test "$cppunit_version_proper" = "1" ; then
41496 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
41497 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
41498 else
41499 echo "$as_me:$LINENO: result: no" >&5
41500 echo "${ECHO_T}no" >&6
41501 no_cppunit=yes
41502 fi
41503 fi
41504
41505 if test "x$no_cppunit" = x ; then
41506 SUBDIRS="$SUBDIRS tests"
41507 else
41508 CPPUNIT_CFLAGS=""
41509 CPPUNIT_LIBS=""
41510 :
41511 fi
41512
41513
41514
41515
41516
41517 for subdir in `echo $SUBDIRS`; do
41518 if test -d ${srcdir}/${subdir} ; then
41519 if test "$wxUSE_GUI" = "yes"; then
41520 if test ${subdir} = "samples"; then
41521 makefiles="samples/Makefile.in $makefiles"
41522 for sample in `echo $SAMPLES_SUBDIRS`; do
41523 if test -d $srcdir/samples/$sample; then
41524 makefiles="samples/$sample/Makefile.in $makefiles"
41525 fi
41526 done
41527 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
41528 fi
41529 else if test ${subdir} = "samples"; then
41530 makefiles="samples/Makefile.in samples/console/Makefile.in"
41531 elif test ${subdir} = "utils"; then
41532 makefiles="utils/HelpGen/Makefile.in \
41533 utils/HelpGen/src/Makefile.in \
41534 utils/tex2rtf/Makefile.in \
41535 utils/tex2rtf/src/Makefile.in"
41536 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
41537 fi
41538 fi
41539
41540 for mkin in $makefiles ; do
41541 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41542 ac_config_files="$ac_config_files $mk"
41543
41544 done
41545 fi
41546 done
41547
41548
41549 cat >confcache <<\_ACEOF
41550 # This file is a shell script that caches the results of configure
41551 # tests run on this system so they can be shared between configure
41552 # scripts and configure runs, see configure's option --config-cache.
41553 # It is not useful on other systems. If it contains results you don't
41554 # want to keep, you may remove or edit it.
41555 #
41556 # config.status only pays attention to the cache file if you give it
41557 # the --recheck option to rerun configure.
41558 #
41559 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41560 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41561 # following values.
41562
41563 _ACEOF
41564
41565 # The following way of writing the cache mishandles newlines in values,
41566 # but we know of no workaround that is simple, portable, and efficient.
41567 # So, don't put newlines in cache variables' values.
41568 # Ultrix sh set writes to stderr and can't be redirected directly,
41569 # and sets the high bit in the cache file unless we assign to the vars.
41570 {
41571 (set) 2>&1 |
41572 case `(ac_space=' '; set | grep ac_space) 2>&1` in
41573 *ac_space=\ *)
41574 # `set' does not quote correctly, so add quotes (double-quote
41575 # substitution turns \\\\ into \\, and sed turns \\ into \).
41576 sed -n \
41577 "s/'/'\\\\''/g;
41578 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41579 ;;
41580 *)
41581 # `set' quotes correctly as required by POSIX, so do not add quotes.
41582 sed -n \
41583 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
41584 ;;
41585 esac;
41586 } |
41587 sed '
41588 t clear
41589 : clear
41590 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41591 t end
41592 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41593 : end' >>confcache
41594 if diff $cache_file confcache >/dev/null 2>&1; then :; else
41595 if test -w $cache_file; then
41596 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
41597 cat confcache >$cache_file
41598 else
41599 echo "not updating unwritable cache $cache_file"
41600 fi
41601 fi
41602 rm -f confcache
41603
41604 test "x$prefix" = xNONE && prefix=$ac_default_prefix
41605 # Let make expand exec_prefix.
41606 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
41607
41608 # VPATH may cause trouble with some makes, so we remove $(srcdir),
41609 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
41610 # trailing colons and then remove the whole line if VPATH becomes empty
41611 # (actually we leave an empty line to preserve line numbers).
41612 if test "x$srcdir" = x.; then
41613 ac_vpsub='/^[ ]*VPATH[ ]*=/{
41614 s/:*\$(srcdir):*/:/;
41615 s/:*\${srcdir}:*/:/;
41616 s/:*@srcdir@:*/:/;
41617 s/^\([^=]*=[ ]*\):*/\1/;
41618 s/:*$//;
41619 s/^[^=]*=[ ]*$//;
41620 }'
41621 fi
41622
41623 DEFS=-DHAVE_CONFIG_H
41624
41625 ac_libobjs=
41626 ac_ltlibobjs=
41627 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
41628 # 1. Remove the extension, and $U if already installed.
41629 ac_i=`echo "$ac_i" |
41630 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
41631 # 2. Add them.
41632 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
41633 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
41634 done
41635 LIBOBJS=$ac_libobjs
41636
41637 LTLIBOBJS=$ac_ltlibobjs
41638
41639
41640
41641 : ${CONFIG_STATUS=./config.status}
41642 ac_clean_files_save=$ac_clean_files
41643 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
41644 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
41645 echo "$as_me: creating $CONFIG_STATUS" >&6;}
41646 cat >$CONFIG_STATUS <<_ACEOF
41647 #! $SHELL
41648 # Generated by $as_me.
41649 # Run this file to recreate the current configuration.
41650 # Compiler output produced by configure, useful for debugging
41651 # configure, is in config.log if it exists.
41652
41653 debug=false
41654 ac_cs_recheck=false
41655 ac_cs_silent=false
41656 SHELL=\${CONFIG_SHELL-$SHELL}
41657 _ACEOF
41658
41659 cat >>$CONFIG_STATUS <<\_ACEOF
41660 ## --------------------- ##
41661 ## M4sh Initialization. ##
41662 ## --------------------- ##
41663
41664 # Be Bourne compatible
41665 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
41666 emulate sh
41667 NULLCMD=:
41668 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
41669 # is contrary to our usage. Disable this feature.
41670 alias -g '${1+"$@"}'='"$@"'
41671 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
41672 set -o posix
41673 fi
41674 DUALCASE=1; export DUALCASE # for MKS sh
41675
41676 # Support unset when possible.
41677 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
41678 as_unset=unset
41679 else
41680 as_unset=false
41681 fi
41682
41683
41684 # Work around bugs in pre-3.0 UWIN ksh.
41685 $as_unset ENV MAIL MAILPATH
41686 PS1='$ '
41687 PS2='> '
41688 PS4='+ '
41689
41690 # NLS nuisances.
41691 for as_var in \
41692 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41693 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
41694 LC_TELEPHONE LC_TIME
41695 do
41696 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
41697 eval $as_var=C; export $as_var
41698 else
41699 $as_unset $as_var
41700 fi
41701 done
41702
41703 # Required to use basename.
41704 if expr a : '\(a\)' >/dev/null 2>&1; then
41705 as_expr=expr
41706 else
41707 as_expr=false
41708 fi
41709
41710 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
41711 as_basename=basename
41712 else
41713 as_basename=false
41714 fi
41715
41716
41717 # Name of the executable.
41718 as_me=`$as_basename "$0" ||
41719 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
41720 X"$0" : 'X\(//\)$' \| \
41721 X"$0" : 'X\(/\)$' \| \
41722 . : '\(.\)' 2>/dev/null ||
41723 echo X/"$0" |
41724 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
41725 /^X\/\(\/\/\)$/{ s//\1/; q; }
41726 /^X\/\(\/\).*/{ s//\1/; q; }
41727 s/.*/./; q'`
41728
41729
41730 # PATH needs CR, and LINENO needs CR and PATH.
41731 # Avoid depending upon Character Ranges.
41732 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
41733 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
41734 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
41735 as_cr_digits='0123456789'
41736 as_cr_alnum=$as_cr_Letters$as_cr_digits
41737
41738 # The user is always right.
41739 if test "${PATH_SEPARATOR+set}" != set; then
41740 echo "#! /bin/sh" >conf$$.sh
41741 echo "exit 0" >>conf$$.sh
41742 chmod +x conf$$.sh
41743 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
41744 PATH_SEPARATOR=';'
41745 else
41746 PATH_SEPARATOR=:
41747 fi
41748 rm -f conf$$.sh
41749 fi
41750
41751
41752 as_lineno_1=$LINENO
41753 as_lineno_2=$LINENO
41754 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
41755 test "x$as_lineno_1" != "x$as_lineno_2" &&
41756 test "x$as_lineno_3" = "x$as_lineno_2" || {
41757 # Find who we are. Look in the path if we contain no path at all
41758 # relative or not.
41759 case $0 in
41760 *[\\/]* ) as_myself=$0 ;;
41761 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41762 for as_dir in $PATH
41763 do
41764 IFS=$as_save_IFS
41765 test -z "$as_dir" && as_dir=.
41766 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
41767 done
41768
41769 ;;
41770 esac
41771 # We did not find ourselves, most probably we were run as `sh COMMAND'
41772 # in which case we are not to be found in the path.
41773 if test "x$as_myself" = x; then
41774 as_myself=$0
41775 fi
41776 if test ! -f "$as_myself"; then
41777 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
41778 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
41779 { (exit 1); exit 1; }; }
41780 fi
41781 case $CONFIG_SHELL in
41782 '')
41783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41784 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
41785 do
41786 IFS=$as_save_IFS
41787 test -z "$as_dir" && as_dir=.
41788 for as_base in sh bash ksh sh5; do
41789 case $as_dir in
41790 /*)
41791 if ("$as_dir/$as_base" -c '
41792 as_lineno_1=$LINENO
41793 as_lineno_2=$LINENO
41794 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
41795 test "x$as_lineno_1" != "x$as_lineno_2" &&
41796 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
41797 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
41798 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
41799 CONFIG_SHELL=$as_dir/$as_base
41800 export CONFIG_SHELL
41801 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
41802 fi;;
41803 esac
41804 done
41805 done
41806 ;;
41807 esac
41808
41809 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
41810 # uniformly replaced by the line number. The first 'sed' inserts a
41811 # line-number line before each line; the second 'sed' does the real
41812 # work. The second script uses 'N' to pair each line-number line
41813 # with the numbered line, and appends trailing '-' during
41814 # substitution so that $LINENO is not a special case at line end.
41815 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
41816 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
41817 sed '=' <$as_myself |
41818 sed '
41819 N
41820 s,$,-,
41821 : loop
41822 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
41823 t loop
41824 s,-$,,
41825 s,^['$as_cr_digits']*\n,,
41826 ' >$as_me.lineno &&
41827 chmod +x $as_me.lineno ||
41828 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
41829 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
41830 { (exit 1); exit 1; }; }
41831
41832 # Don't try to exec as it changes $[0], causing all sort of problems
41833 # (the dirname of $[0] is not the place where we might find the
41834 # original and so on. Autoconf is especially sensible to this).
41835 . ./$as_me.lineno
41836 # Exit status is that of the last command.
41837 exit
41838 }
41839
41840
41841 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
41842 *c*,-n*) ECHO_N= ECHO_C='
41843 ' ECHO_T=' ' ;;
41844 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
41845 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
41846 esac
41847
41848 if expr a : '\(a\)' >/dev/null 2>&1; then
41849 as_expr=expr
41850 else
41851 as_expr=false
41852 fi
41853
41854 rm -f conf$$ conf$$.exe conf$$.file
41855 echo >conf$$.file
41856 if ln -s conf$$.file conf$$ 2>/dev/null; then
41857 # We could just check for DJGPP; but this test a) works b) is more generic
41858 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
41859 if test -f conf$$.exe; then
41860 # Don't use ln at all; we don't have any links
41861 as_ln_s='cp -p'
41862 else
41863 as_ln_s='ln -s'
41864 fi
41865 elif ln conf$$.file conf$$ 2>/dev/null; then
41866 as_ln_s=ln
41867 else
41868 as_ln_s='cp -p'
41869 fi
41870 rm -f conf$$ conf$$.exe conf$$.file
41871
41872 if mkdir -p . 2>/dev/null; then
41873 as_mkdir_p=:
41874 else
41875 test -d ./-p && rmdir ./-p
41876 as_mkdir_p=false
41877 fi
41878
41879 as_executable_p="test -f"
41880
41881 # Sed expression to map a string onto a valid CPP name.
41882 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
41883
41884 # Sed expression to map a string onto a valid variable name.
41885 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
41886
41887
41888 # IFS
41889 # We need space, tab and new line, in precisely that order.
41890 as_nl='
41891 '
41892 IFS=" $as_nl"
41893
41894 # CDPATH.
41895 $as_unset CDPATH
41896
41897 exec 6>&1
41898
41899 # Open the log real soon, to keep \$[0] and so on meaningful, and to
41900 # report actual input values of CONFIG_FILES etc. instead of their
41901 # values after options handling. Logging --version etc. is OK.
41902 exec 5>>config.log
41903 {
41904 echo
41905 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
41906 ## Running $as_me. ##
41907 _ASBOX
41908 } >&5
41909 cat >&5 <<_CSEOF
41910
41911 This file was extended by wxWidgets $as_me 2.5.3, which was
41912 generated by GNU Autoconf 2.59. Invocation command line was
41913
41914 CONFIG_FILES = $CONFIG_FILES
41915 CONFIG_HEADERS = $CONFIG_HEADERS
41916 CONFIG_LINKS = $CONFIG_LINKS
41917 CONFIG_COMMANDS = $CONFIG_COMMANDS
41918 $ $0 $@
41919
41920 _CSEOF
41921 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
41922 echo >&5
41923 _ACEOF
41924
41925 # Files that config.status was made for.
41926 if test -n "$ac_config_files"; then
41927 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
41928 fi
41929
41930 if test -n "$ac_config_headers"; then
41931 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
41932 fi
41933
41934 if test -n "$ac_config_links"; then
41935 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
41936 fi
41937
41938 if test -n "$ac_config_commands"; then
41939 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
41940 fi
41941
41942 cat >>$CONFIG_STATUS <<\_ACEOF
41943
41944 ac_cs_usage="\
41945 \`$as_me' instantiates files from templates according to the
41946 current configuration.
41947
41948 Usage: $0 [OPTIONS] [FILE]...
41949
41950 -h, --help print this help, then exit
41951 -V, --version print version number, then exit
41952 -q, --quiet do not print progress messages
41953 -d, --debug don't remove temporary files
41954 --recheck update $as_me by reconfiguring in the same conditions
41955 --file=FILE[:TEMPLATE]
41956 instantiate the configuration file FILE
41957 --header=FILE[:TEMPLATE]
41958 instantiate the configuration header FILE
41959
41960 Configuration files:
41961 $config_files
41962
41963 Configuration headers:
41964 $config_headers
41965
41966 Configuration commands:
41967 $config_commands
41968
41969 Report bugs to <bug-autoconf@gnu.org>."
41970 _ACEOF
41971
41972 cat >>$CONFIG_STATUS <<_ACEOF
41973 ac_cs_version="\\
41974 wxWidgets config.status 2.5.3
41975 configured by $0, generated by GNU Autoconf 2.59,
41976 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
41977
41978 Copyright (C) 2003 Free Software Foundation, Inc.
41979 This config.status script is free software; the Free Software Foundation
41980 gives unlimited permission to copy, distribute and modify it."
41981 srcdir=$srcdir
41982 INSTALL="$INSTALL"
41983 _ACEOF
41984
41985 cat >>$CONFIG_STATUS <<\_ACEOF
41986 # If no file are specified by the user, then we need to provide default
41987 # value. By we need to know if files were specified by the user.
41988 ac_need_defaults=:
41989 while test $# != 0
41990 do
41991 case $1 in
41992 --*=*)
41993 ac_option=`expr "x$1" : 'x\([^=]*\)='`
41994 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
41995 ac_shift=:
41996 ;;
41997 -*)
41998 ac_option=$1
41999 ac_optarg=$2
42000 ac_shift=shift
42001 ;;
42002 *) # This is not an option, so the user has probably given explicit
42003 # arguments.
42004 ac_option=$1
42005 ac_need_defaults=false;;
42006 esac
42007
42008 case $ac_option in
42009 # Handling of the options.
42010 _ACEOF
42011 cat >>$CONFIG_STATUS <<\_ACEOF
42012 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
42013 ac_cs_recheck=: ;;
42014 --version | --vers* | -V )
42015 echo "$ac_cs_version"; exit 0 ;;
42016 --he | --h)
42017 # Conflict between --help and --header
42018 { { echo "$as_me:$LINENO: error: ambiguous option: $1
42019 Try \`$0 --help' for more information." >&5
42020 echo "$as_me: error: ambiguous option: $1
42021 Try \`$0 --help' for more information." >&2;}
42022 { (exit 1); exit 1; }; };;
42023 --help | --hel | -h )
42024 echo "$ac_cs_usage"; exit 0 ;;
42025 --debug | --d* | -d )
42026 debug=: ;;
42027 --file | --fil | --fi | --f )
42028 $ac_shift
42029 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
42030 ac_need_defaults=false;;
42031 --header | --heade | --head | --hea )
42032 $ac_shift
42033 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
42034 ac_need_defaults=false;;
42035 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
42036 | -silent | --silent | --silen | --sile | --sil | --si | --s)
42037 ac_cs_silent=: ;;
42038
42039 # This is an error.
42040 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
42041 Try \`$0 --help' for more information." >&5
42042 echo "$as_me: error: unrecognized option: $1
42043 Try \`$0 --help' for more information." >&2;}
42044 { (exit 1); exit 1; }; } ;;
42045
42046 *) ac_config_targets="$ac_config_targets $1" ;;
42047
42048 esac
42049 shift
42050 done
42051
42052 ac_configure_extra_args=
42053
42054 if $ac_cs_silent; then
42055 exec 6>/dev/null
42056 ac_configure_extra_args="$ac_configure_extra_args --silent"
42057 fi
42058
42059 _ACEOF
42060 cat >>$CONFIG_STATUS <<_ACEOF
42061 if \$ac_cs_recheck; then
42062 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
42063 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
42064 fi
42065
42066 _ACEOF
42067
42068 cat >>$CONFIG_STATUS <<_ACEOF
42069 #
42070 # INIT-COMMANDS section.
42071 #
42072
42073 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42074 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42075 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42076 LN_S="${LN_S}"
42077
42078
42079 _ACEOF
42080
42081
42082
42083 cat >>$CONFIG_STATUS <<\_ACEOF
42084 for ac_config_target in $ac_config_targets
42085 do
42086 case "$ac_config_target" in
42087 # Handling of arguments.
42088 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
42089 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
42090 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
42091 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
42092 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
42093 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
42094 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
42095 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
42096 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
42097 { (exit 1); exit 1; }; };;
42098 esac
42099 done
42100
42101 # If the user did not use the arguments to specify the items to instantiate,
42102 # then the envvar interface is used. Set only those that are not.
42103 # We use the long form for the default assignment because of an extremely
42104 # bizarre bug on SunOS 4.1.3.
42105 if $ac_need_defaults; then
42106 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
42107 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
42108 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
42109 fi
42110
42111 # Have a temporary directory for convenience. Make it in the build tree
42112 # simply because there is no reason to put it here, and in addition,
42113 # creating and moving files from /tmp can sometimes cause problems.
42114 # Create a temporary directory, and hook for its removal unless debugging.
42115 $debug ||
42116 {
42117 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
42118 trap '{ (exit 1); exit 1; }' 1 2 13 15
42119 }
42120
42121 # Create a (secure) tmp directory for tmp files.
42122
42123 {
42124 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
42125 test -n "$tmp" && test -d "$tmp"
42126 } ||
42127 {
42128 tmp=./confstat$$-$RANDOM
42129 (umask 077 && mkdir $tmp)
42130 } ||
42131 {
42132 echo "$me: cannot create a temporary directory in ." >&2
42133 { (exit 1); exit 1; }
42134 }
42135
42136 _ACEOF
42137
42138 cat >>$CONFIG_STATUS <<_ACEOF
42139
42140 #
42141 # CONFIG_FILES section.
42142 #
42143
42144 # No need to generate the scripts if there are no CONFIG_FILES.
42145 # This happens for instance when ./config.status config.h
42146 if test -n "\$CONFIG_FILES"; then
42147 # Protect against being on the right side of a sed subst in config.status.
42148 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
42149 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
42150 s,@SHELL@,$SHELL,;t t
42151 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
42152 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
42153 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
42154 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
42155 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
42156 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
42157 s,@exec_prefix@,$exec_prefix,;t t
42158 s,@prefix@,$prefix,;t t
42159 s,@program_transform_name@,$program_transform_name,;t t
42160 s,@bindir@,$bindir,;t t
42161 s,@sbindir@,$sbindir,;t t
42162 s,@libexecdir@,$libexecdir,;t t
42163 s,@datadir@,$datadir,;t t
42164 s,@sysconfdir@,$sysconfdir,;t t
42165 s,@sharedstatedir@,$sharedstatedir,;t t
42166 s,@localstatedir@,$localstatedir,;t t
42167 s,@libdir@,$libdir,;t t
42168 s,@includedir@,$includedir,;t t
42169 s,@oldincludedir@,$oldincludedir,;t t
42170 s,@infodir@,$infodir,;t t
42171 s,@mandir@,$mandir,;t t
42172 s,@build_alias@,$build_alias,;t t
42173 s,@host_alias@,$host_alias,;t t
42174 s,@target_alias@,$target_alias,;t t
42175 s,@DEFS@,$DEFS,;t t
42176 s,@ECHO_C@,$ECHO_C,;t t
42177 s,@ECHO_N@,$ECHO_N,;t t
42178 s,@ECHO_T@,$ECHO_T,;t t
42179 s,@LIBS@,$LIBS,;t t
42180 s,@build@,$build,;t t
42181 s,@build_cpu@,$build_cpu,;t t
42182 s,@build_vendor@,$build_vendor,;t t
42183 s,@build_os@,$build_os,;t t
42184 s,@host@,$host,;t t
42185 s,@host_cpu@,$host_cpu,;t t
42186 s,@host_vendor@,$host_vendor,;t t
42187 s,@host_os@,$host_os,;t t
42188 s,@target@,$target,;t t
42189 s,@target_cpu@,$target_cpu,;t t
42190 s,@target_vendor@,$target_vendor,;t t
42191 s,@target_os@,$target_os,;t t
42192 s,@CC@,$CC,;t t
42193 s,@CFLAGS@,$CFLAGS,;t t
42194 s,@LDFLAGS@,$LDFLAGS,;t t
42195 s,@CPPFLAGS@,$CPPFLAGS,;t t
42196 s,@ac_ct_CC@,$ac_ct_CC,;t t
42197 s,@EXEEXT@,$EXEEXT,;t t
42198 s,@OBJEXT@,$OBJEXT,;t t
42199 s,@CPP@,$CPP,;t t
42200 s,@EGREP@,$EGREP,;t t
42201 s,@CXX@,$CXX,;t t
42202 s,@CXXFLAGS@,$CXXFLAGS,;t t
42203 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
42204 s,@RANLIB@,$RANLIB,;t t
42205 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
42206 s,@AR@,$AR,;t t
42207 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
42208 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
42209 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
42210 s,@STRIP@,$STRIP,;t t
42211 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
42212 s,@LN_S@,$LN_S,;t t
42213 s,@CXXCPP@,$CXXCPP,;t t
42214 s,@subdirs@,$subdirs,;t t
42215 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
42216 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
42217 s,@GTK_LIBS@,$GTK_LIBS,;t t
42218 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
42219 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
42220 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
42221 s,@X_CFLAGS@,$X_CFLAGS,;t t
42222 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
42223 s,@X_LIBS@,$X_LIBS,;t t
42224 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
42225 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
42226 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
42227 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
42228 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
42229 s,@RESCOMP@,$RESCOMP,;t t
42230 s,@DEREZ@,$DEREZ,;t t
42231 s,@SETFILE@,$SETFILE,;t t
42232 s,@LIBICONV@,$LIBICONV,;t t
42233 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
42234 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
42235 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
42236 s,@SDL_LIBS@,$SDL_LIBS,;t t
42237 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
42238 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
42239 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
42240 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
42241 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
42242 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
42243 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
42244 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
42245 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
42246 s,@VENDOR@,$VENDOR,;t t
42247 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
42248 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
42249 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
42250 s,@WXUNIV@,$WXUNIV,;t t
42251 s,@MONOLITHIC@,$MONOLITHIC,;t t
42252 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
42253 s,@EXTRALIBS@,$EXTRALIBS,;t t
42254 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
42255 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
42256 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
42257 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
42258 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
42259 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
42260 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
42261 s,@UNICODE@,$UNICODE,;t t
42262 s,@BUILD@,$BUILD,;t t
42263 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
42264 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
42265 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
42266 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
42267 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
42268 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
42269 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
42270 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
42271 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
42272 s,@SET_MAKE@,$SET_MAKE,;t t
42273 s,@MAKE_SET@,$MAKE_SET,;t t
42274 s,@ac_ct_AR@,$ac_ct_AR,;t t
42275 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
42276 s,@NM@,$NM,;t t
42277 s,@ac_ct_NM@,$ac_ct_NM,;t t
42278 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
42279 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
42280 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
42281 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
42282 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
42283 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
42284 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
42285 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
42286 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
42287 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
42288 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
42289 s,@LIBPREFIX@,$LIBPREFIX,;t t
42290 s,@LIBEXT@,$LIBEXT,;t t
42291 s,@DLLPREFIX@,$DLLPREFIX,;t t
42292 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
42293 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
42294 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
42295 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
42296 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
42297 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
42298 s,@PIC_FLAG@,$PIC_FLAG,;t t
42299 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
42300 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
42301 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
42302 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
42303 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
42304 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
42305 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
42306 s,@GCC_PCH@,$GCC_PCH,;t t
42307 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
42308 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
42309 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
42310 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
42311 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
42312 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
42313 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
42314 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
42315 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
42316 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
42317 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
42318 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
42319 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
42320 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
42321 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
42322 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
42323 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
42324 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
42325 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
42326 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
42327 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
42328 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
42329 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
42330 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
42331 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
42332 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
42333 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
42334 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
42335 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
42336 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
42337 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
42338 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
42339 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
42340 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
42341 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
42342 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
42343 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
42344 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
42345 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
42346 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
42347 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
42348 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
42349 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
42350 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
42351 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
42352 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
42353 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
42354 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
42355 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
42356 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
42357 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
42358 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
42359 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
42360 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
42361 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
42362 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
42363 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
42364 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
42365 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
42366 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
42367 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
42368 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
42369 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
42370 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
42371 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
42372 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
42373 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
42374 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
42375 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
42376 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
42377 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
42378 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
42379 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
42380 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
42381 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
42382 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
42383 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
42384 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
42385 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
42386 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
42387 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
42388 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
42389 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
42390 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
42391 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
42392 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
42393 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
42394 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
42395 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
42396 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
42397 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
42398 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
42399 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
42400 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
42401 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
42402 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
42403 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
42404 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
42405 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
42406 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
42407 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
42408 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
42409 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
42410 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
42411 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
42412 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
42413 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
42414 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
42415 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
42416 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
42417 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
42418 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
42419 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
42420 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
42421 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
42422 s,@COND_TOOLKIT_MAC_WXUNIV_0@,$COND_TOOLKIT_MAC_WXUNIV_0,;t t
42423 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
42424 s,@COND_TOOLKIT_PM_WXUNIV_0@,$COND_TOOLKIT_PM_WXUNIV_0,;t t
42425 s,@SHARED@,$SHARED,;t t
42426 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
42427 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
42428 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
42429 s,@USE_GUI@,$USE_GUI,;t t
42430 s,@AFMINSTALL@,$AFMINSTALL,;t t
42431 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
42432 s,@TOOLKIT@,$TOOLKIT,;t t
42433 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
42434 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
42435 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
42436 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
42437 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
42438 s,@cross_compiling@,$cross_compiling,;t t
42439 s,@WIDGET_SET@,$WIDGET_SET,;t t
42440 s,@WX_RELEASE@,$WX_RELEASE,;t t
42441 s,@WX_VERSION@,$WX_VERSION,;t t
42442 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
42443 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
42444 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
42445 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
42446 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
42447 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
42448 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
42449 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
42450 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
42451 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
42452 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
42453 s,@EXE_LINKER@,$EXE_LINKER,;t t
42454 s,@GUIDIST@,$GUIDIST,;t t
42455 s,@DISTDIR@,$DISTDIR,;t t
42456 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
42457 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
42458 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
42459 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
42460 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
42461 s,@RESFLAGS@,$RESFLAGS,;t t
42462 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
42463 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
42464 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
42465 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
42466 s,@MACRESCOMP@,$MACRESCOMP,;t t
42467 s,@MACSETFILE@,$MACSETFILE,;t t
42468 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
42469 s,@GCC@,$GCC,;t t
42470 s,@DLLTOOL@,$DLLTOOL,;t t
42471 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
42472 s,@LIBOBJS@,$LIBOBJS,;t t
42473 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
42474 CEOF
42475
42476 _ACEOF
42477
42478 cat >>$CONFIG_STATUS <<\_ACEOF
42479 # Split the substitutions into bite-sized pieces for seds with
42480 # small command number limits, like on Digital OSF/1 and HP-UX.
42481 ac_max_sed_lines=48
42482 ac_sed_frag=1 # Number of current file.
42483 ac_beg=1 # First line for current file.
42484 ac_end=$ac_max_sed_lines # Line after last line for current file.
42485 ac_more_lines=:
42486 ac_sed_cmds=
42487 while $ac_more_lines; do
42488 if test $ac_beg -gt 1; then
42489 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
42490 else
42491 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
42492 fi
42493 if test ! -s $tmp/subs.frag; then
42494 ac_more_lines=false
42495 else
42496 # The purpose of the label and of the branching condition is to
42497 # speed up the sed processing (if there are no `@' at all, there
42498 # is no need to browse any of the substitutions).
42499 # These are the two extra sed commands mentioned above.
42500 (echo ':t
42501 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
42502 if test -z "$ac_sed_cmds"; then
42503 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
42504 else
42505 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
42506 fi
42507 ac_sed_frag=`expr $ac_sed_frag + 1`
42508 ac_beg=$ac_end
42509 ac_end=`expr $ac_end + $ac_max_sed_lines`
42510 fi
42511 done
42512 if test -z "$ac_sed_cmds"; then
42513 ac_sed_cmds=cat
42514 fi
42515 fi # test -n "$CONFIG_FILES"
42516
42517 _ACEOF
42518 cat >>$CONFIG_STATUS <<\_ACEOF
42519 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
42520 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
42521 case $ac_file in
42522 - | *:- | *:-:* ) # input from stdin
42523 cat >$tmp/stdin
42524 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
42525 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
42526 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
42527 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
42528 * ) ac_file_in=$ac_file.in ;;
42529 esac
42530
42531 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
42532 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
42533 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42534 X"$ac_file" : 'X\(//\)[^/]' \| \
42535 X"$ac_file" : 'X\(//\)$' \| \
42536 X"$ac_file" : 'X\(/\)' \| \
42537 . : '\(.\)' 2>/dev/null ||
42538 echo X"$ac_file" |
42539 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42540 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42541 /^X\(\/\/\)$/{ s//\1/; q; }
42542 /^X\(\/\).*/{ s//\1/; q; }
42543 s/.*/./; q'`
42544 { if $as_mkdir_p; then
42545 mkdir -p "$ac_dir"
42546 else
42547 as_dir="$ac_dir"
42548 as_dirs=
42549 while test ! -d "$as_dir"; do
42550 as_dirs="$as_dir $as_dirs"
42551 as_dir=`(dirname "$as_dir") 2>/dev/null ||
42552 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42553 X"$as_dir" : 'X\(//\)[^/]' \| \
42554 X"$as_dir" : 'X\(//\)$' \| \
42555 X"$as_dir" : 'X\(/\)' \| \
42556 . : '\(.\)' 2>/dev/null ||
42557 echo X"$as_dir" |
42558 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42559 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42560 /^X\(\/\/\)$/{ s//\1/; q; }
42561 /^X\(\/\).*/{ s//\1/; q; }
42562 s/.*/./; q'`
42563 done
42564 test ! -n "$as_dirs" || mkdir $as_dirs
42565 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42566 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42567 { (exit 1); exit 1; }; }; }
42568
42569 ac_builddir=.
42570
42571 if test "$ac_dir" != .; then
42572 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42573 # A "../" for each directory in $ac_dir_suffix.
42574 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42575 else
42576 ac_dir_suffix= ac_top_builddir=
42577 fi
42578
42579 case $srcdir in
42580 .) # No --srcdir option. We are building in place.
42581 ac_srcdir=.
42582 if test -z "$ac_top_builddir"; then
42583 ac_top_srcdir=.
42584 else
42585 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
42586 fi ;;
42587 [\\/]* | ?:[\\/]* ) # Absolute path.
42588 ac_srcdir=$srcdir$ac_dir_suffix;
42589 ac_top_srcdir=$srcdir ;;
42590 *) # Relative path.
42591 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
42592 ac_top_srcdir=$ac_top_builddir$srcdir ;;
42593 esac
42594
42595 # Do not use `cd foo && pwd` to compute absolute paths, because
42596 # the directories may not exist.
42597 case `pwd` in
42598 .) ac_abs_builddir="$ac_dir";;
42599 *)
42600 case "$ac_dir" in
42601 .) ac_abs_builddir=`pwd`;;
42602 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
42603 *) ac_abs_builddir=`pwd`/"$ac_dir";;
42604 esac;;
42605 esac
42606 case $ac_abs_builddir in
42607 .) ac_abs_top_builddir=${ac_top_builddir}.;;
42608 *)
42609 case ${ac_top_builddir}. in
42610 .) ac_abs_top_builddir=$ac_abs_builddir;;
42611 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
42612 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
42613 esac;;
42614 esac
42615 case $ac_abs_builddir in
42616 .) ac_abs_srcdir=$ac_srcdir;;
42617 *)
42618 case $ac_srcdir in
42619 .) ac_abs_srcdir=$ac_abs_builddir;;
42620 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
42621 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
42622 esac;;
42623 esac
42624 case $ac_abs_builddir in
42625 .) ac_abs_top_srcdir=$ac_top_srcdir;;
42626 *)
42627 case $ac_top_srcdir in
42628 .) ac_abs_top_srcdir=$ac_abs_builddir;;
42629 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
42630 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
42631 esac;;
42632 esac
42633
42634
42635 case $INSTALL in
42636 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
42637 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
42638 esac
42639
42640 if test x"$ac_file" != x-; then
42641 { echo "$as_me:$LINENO: creating $ac_file" >&5
42642 echo "$as_me: creating $ac_file" >&6;}
42643 rm -f "$ac_file"
42644 fi
42645 # Let's still pretend it is `configure' which instantiates (i.e., don't
42646 # use $as_me), people would be surprised to read:
42647 # /* config.h. Generated by config.status. */
42648 if test x"$ac_file" = x-; then
42649 configure_input=
42650 else
42651 configure_input="$ac_file. "
42652 fi
42653 configure_input=$configure_input"Generated from `echo $ac_file_in |
42654 sed 's,.*/,,'` by configure."
42655
42656 # First look for the input files in the build tree, otherwise in the
42657 # src tree.
42658 ac_file_inputs=`IFS=:
42659 for f in $ac_file_in; do
42660 case $f in
42661 -) echo $tmp/stdin ;;
42662 [\\/$]*)
42663 # Absolute (can't be DOS-style, as IFS=:)
42664 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42665 echo "$as_me: error: cannot find input file: $f" >&2;}
42666 { (exit 1); exit 1; }; }
42667 echo "$f";;
42668 *) # Relative
42669 if test -f "$f"; then
42670 # Build tree
42671 echo "$f"
42672 elif test -f "$srcdir/$f"; then
42673 # Source tree
42674 echo "$srcdir/$f"
42675 else
42676 # /dev/null tree
42677 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42678 echo "$as_me: error: cannot find input file: $f" >&2;}
42679 { (exit 1); exit 1; }; }
42680 fi;;
42681 esac
42682 done` || { (exit 1); exit 1; }
42683 _ACEOF
42684 cat >>$CONFIG_STATUS <<_ACEOF
42685 sed "$ac_vpsub
42686 $extrasub
42687 _ACEOF
42688 cat >>$CONFIG_STATUS <<\_ACEOF
42689 :t
42690 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
42691 s,@configure_input@,$configure_input,;t t
42692 s,@srcdir@,$ac_srcdir,;t t
42693 s,@abs_srcdir@,$ac_abs_srcdir,;t t
42694 s,@top_srcdir@,$ac_top_srcdir,;t t
42695 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
42696 s,@builddir@,$ac_builddir,;t t
42697 s,@abs_builddir@,$ac_abs_builddir,;t t
42698 s,@top_builddir@,$ac_top_builddir,;t t
42699 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
42700 s,@INSTALL@,$ac_INSTALL,;t t
42701 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
42702 rm -f $tmp/stdin
42703 if test x"$ac_file" != x-; then
42704 mv $tmp/out $ac_file
42705 else
42706 cat $tmp/out
42707 rm -f $tmp/out
42708 fi
42709
42710 # Run the commands associated with the file.
42711 case $ac_file in
42712 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
42713 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
42714 esac
42715 done
42716 _ACEOF
42717 cat >>$CONFIG_STATUS <<\_ACEOF
42718
42719 #
42720 # CONFIG_HEADER section.
42721 #
42722
42723 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
42724 # NAME is the cpp macro being defined and VALUE is the value it is being given.
42725 #
42726 # ac_d sets the value in "#define NAME VALUE" lines.
42727 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
42728 ac_dB='[ ].*$,\1#\2'
42729 ac_dC=' '
42730 ac_dD=',;t'
42731 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
42732 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
42733 ac_uB='$,\1#\2define\3'
42734 ac_uC=' '
42735 ac_uD=',;t'
42736
42737 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
42738 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
42739 case $ac_file in
42740 - | *:- | *:-:* ) # input from stdin
42741 cat >$tmp/stdin
42742 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
42743 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
42744 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
42745 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
42746 * ) ac_file_in=$ac_file.in ;;
42747 esac
42748
42749 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
42750 echo "$as_me: creating $ac_file" >&6;}
42751
42752 # First look for the input files in the build tree, otherwise in the
42753 # src tree.
42754 ac_file_inputs=`IFS=:
42755 for f in $ac_file_in; do
42756 case $f in
42757 -) echo $tmp/stdin ;;
42758 [\\/$]*)
42759 # Absolute (can't be DOS-style, as IFS=:)
42760 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42761 echo "$as_me: error: cannot find input file: $f" >&2;}
42762 { (exit 1); exit 1; }; }
42763 # Do quote $f, to prevent DOS paths from being IFS'd.
42764 echo "$f";;
42765 *) # Relative
42766 if test -f "$f"; then
42767 # Build tree
42768 echo "$f"
42769 elif test -f "$srcdir/$f"; then
42770 # Source tree
42771 echo "$srcdir/$f"
42772 else
42773 # /dev/null tree
42774 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42775 echo "$as_me: error: cannot find input file: $f" >&2;}
42776 { (exit 1); exit 1; }; }
42777 fi;;
42778 esac
42779 done` || { (exit 1); exit 1; }
42780 # Remove the trailing spaces.
42781 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
42782
42783 _ACEOF
42784
42785 # Transform confdefs.h into two sed scripts, `conftest.defines' and
42786 # `conftest.undefs', that substitutes the proper values into
42787 # config.h.in to produce config.h. The first handles `#define'
42788 # templates, and the second `#undef' templates.
42789 # And first: Protect against being on the right side of a sed subst in
42790 # config.status. Protect against being in an unquoted here document
42791 # in config.status.
42792 rm -f conftest.defines conftest.undefs
42793 # Using a here document instead of a string reduces the quoting nightmare.
42794 # Putting comments in sed scripts is not portable.
42795 #
42796 # `end' is used to avoid that the second main sed command (meant for
42797 # 0-ary CPP macros) applies to n-ary macro definitions.
42798 # See the Autoconf documentation for `clear'.
42799 cat >confdef2sed.sed <<\_ACEOF
42800 s/[\\&,]/\\&/g
42801 s,[\\$`],\\&,g
42802 t clear
42803 : clear
42804 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
42805 t end
42806 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
42807 : end
42808 _ACEOF
42809 # If some macros were called several times there might be several times
42810 # the same #defines, which is useless. Nevertheless, we may not want to
42811 # sort them, since we want the *last* AC-DEFINE to be honored.
42812 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
42813 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
42814 rm -f confdef2sed.sed
42815
42816 # This sed command replaces #undef with comments. This is necessary, for
42817 # example, in the case of _POSIX_SOURCE, which is predefined and required
42818 # on some systems where configure will not decide to define it.
42819 cat >>conftest.undefs <<\_ACEOF
42820 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
42821 _ACEOF
42822
42823 # Break up conftest.defines because some shells have a limit on the size
42824 # of here documents, and old seds have small limits too (100 cmds).
42825 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
42826 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
42827 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
42828 echo ' :' >>$CONFIG_STATUS
42829 rm -f conftest.tail
42830 while grep . conftest.defines >/dev/null
42831 do
42832 # Write a limited-size here document to $tmp/defines.sed.
42833 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
42834 # Speed up: don't consider the non `#define' lines.
42835 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
42836 # Work around the forget-to-reset-the-flag bug.
42837 echo 't clr' >>$CONFIG_STATUS
42838 echo ': clr' >>$CONFIG_STATUS
42839 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
42840 echo 'CEOF
42841 sed -f $tmp/defines.sed $tmp/in >$tmp/out
42842 rm -f $tmp/in
42843 mv $tmp/out $tmp/in
42844 ' >>$CONFIG_STATUS
42845 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
42846 rm -f conftest.defines
42847 mv conftest.tail conftest.defines
42848 done
42849 rm -f conftest.defines
42850 echo ' fi # grep' >>$CONFIG_STATUS
42851 echo >>$CONFIG_STATUS
42852
42853 # Break up conftest.undefs because some shells have a limit on the size
42854 # of here documents, and old seds have small limits too (100 cmds).
42855 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
42856 rm -f conftest.tail
42857 while grep . conftest.undefs >/dev/null
42858 do
42859 # Write a limited-size here document to $tmp/undefs.sed.
42860 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
42861 # Speed up: don't consider the non `#undef'
42862 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
42863 # Work around the forget-to-reset-the-flag bug.
42864 echo 't clr' >>$CONFIG_STATUS
42865 echo ': clr' >>$CONFIG_STATUS
42866 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
42867 echo 'CEOF
42868 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
42869 rm -f $tmp/in
42870 mv $tmp/out $tmp/in
42871 ' >>$CONFIG_STATUS
42872 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
42873 rm -f conftest.undefs
42874 mv conftest.tail conftest.undefs
42875 done
42876 rm -f conftest.undefs
42877
42878 cat >>$CONFIG_STATUS <<\_ACEOF
42879 # Let's still pretend it is `configure' which instantiates (i.e., don't
42880 # use $as_me), people would be surprised to read:
42881 # /* config.h. Generated by config.status. */
42882 if test x"$ac_file" = x-; then
42883 echo "/* Generated by configure. */" >$tmp/config.h
42884 else
42885 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
42886 fi
42887 cat $tmp/in >>$tmp/config.h
42888 rm -f $tmp/in
42889 if test x"$ac_file" != x-; then
42890 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
42891 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
42892 echo "$as_me: $ac_file is unchanged" >&6;}
42893 else
42894 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
42895 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42896 X"$ac_file" : 'X\(//\)[^/]' \| \
42897 X"$ac_file" : 'X\(//\)$' \| \
42898 X"$ac_file" : 'X\(/\)' \| \
42899 . : '\(.\)' 2>/dev/null ||
42900 echo X"$ac_file" |
42901 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42902 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42903 /^X\(\/\/\)$/{ s//\1/; q; }
42904 /^X\(\/\).*/{ s//\1/; q; }
42905 s/.*/./; q'`
42906 { if $as_mkdir_p; then
42907 mkdir -p "$ac_dir"
42908 else
42909 as_dir="$ac_dir"
42910 as_dirs=
42911 while test ! -d "$as_dir"; do
42912 as_dirs="$as_dir $as_dirs"
42913 as_dir=`(dirname "$as_dir") 2>/dev/null ||
42914 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42915 X"$as_dir" : 'X\(//\)[^/]' \| \
42916 X"$as_dir" : 'X\(//\)$' \| \
42917 X"$as_dir" : 'X\(/\)' \| \
42918 . : '\(.\)' 2>/dev/null ||
42919 echo X"$as_dir" |
42920 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42921 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42922 /^X\(\/\/\)$/{ s//\1/; q; }
42923 /^X\(\/\).*/{ s//\1/; q; }
42924 s/.*/./; q'`
42925 done
42926 test ! -n "$as_dirs" || mkdir $as_dirs
42927 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42928 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42929 { (exit 1); exit 1; }; }; }
42930
42931 rm -f $ac_file
42932 mv $tmp/config.h $ac_file
42933 fi
42934 else
42935 cat $tmp/config.h
42936 rm -f $tmp/config.h
42937 fi
42938 done
42939 _ACEOF
42940 cat >>$CONFIG_STATUS <<\_ACEOF
42941
42942 #
42943 # CONFIG_COMMANDS section.
42944 #
42945 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
42946 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
42947 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
42948 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
42949 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42950 X"$ac_dest" : 'X\(//\)[^/]' \| \
42951 X"$ac_dest" : 'X\(//\)$' \| \
42952 X"$ac_dest" : 'X\(/\)' \| \
42953 . : '\(.\)' 2>/dev/null ||
42954 echo X"$ac_dest" |
42955 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42956 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42957 /^X\(\/\/\)$/{ s//\1/; q; }
42958 /^X\(\/\).*/{ s//\1/; q; }
42959 s/.*/./; q'`
42960 { if $as_mkdir_p; then
42961 mkdir -p "$ac_dir"
42962 else
42963 as_dir="$ac_dir"
42964 as_dirs=
42965 while test ! -d "$as_dir"; do
42966 as_dirs="$as_dir $as_dirs"
42967 as_dir=`(dirname "$as_dir") 2>/dev/null ||
42968 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42969 X"$as_dir" : 'X\(//\)[^/]' \| \
42970 X"$as_dir" : 'X\(//\)$' \| \
42971 X"$as_dir" : 'X\(/\)' \| \
42972 . : '\(.\)' 2>/dev/null ||
42973 echo X"$as_dir" |
42974 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42975 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42976 /^X\(\/\/\)$/{ s//\1/; q; }
42977 /^X\(\/\).*/{ s//\1/; q; }
42978 s/.*/./; q'`
42979 done
42980 test ! -n "$as_dirs" || mkdir $as_dirs
42981 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42982 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42983 { (exit 1); exit 1; }; }; }
42984
42985 ac_builddir=.
42986
42987 if test "$ac_dir" != .; then
42988 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42989 # A "../" for each directory in $ac_dir_suffix.
42990 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42991 else
42992 ac_dir_suffix= ac_top_builddir=
42993 fi
42994
42995 case $srcdir in
42996 .) # No --srcdir option. We are building in place.
42997 ac_srcdir=.
42998 if test -z "$ac_top_builddir"; then
42999 ac_top_srcdir=.
43000 else
43001 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
43002 fi ;;
43003 [\\/]* | ?:[\\/]* ) # Absolute path.
43004 ac_srcdir=$srcdir$ac_dir_suffix;
43005 ac_top_srcdir=$srcdir ;;
43006 *) # Relative path.
43007 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
43008 ac_top_srcdir=$ac_top_builddir$srcdir ;;
43009 esac
43010
43011 # Do not use `cd foo && pwd` to compute absolute paths, because
43012 # the directories may not exist.
43013 case `pwd` in
43014 .) ac_abs_builddir="$ac_dir";;
43015 *)
43016 case "$ac_dir" in
43017 .) ac_abs_builddir=`pwd`;;
43018 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
43019 *) ac_abs_builddir=`pwd`/"$ac_dir";;
43020 esac;;
43021 esac
43022 case $ac_abs_builddir in
43023 .) ac_abs_top_builddir=${ac_top_builddir}.;;
43024 *)
43025 case ${ac_top_builddir}. in
43026 .) ac_abs_top_builddir=$ac_abs_builddir;;
43027 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
43028 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
43029 esac;;
43030 esac
43031 case $ac_abs_builddir in
43032 .) ac_abs_srcdir=$ac_srcdir;;
43033 *)
43034 case $ac_srcdir in
43035 .) ac_abs_srcdir=$ac_abs_builddir;;
43036 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
43037 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
43038 esac;;
43039 esac
43040 case $ac_abs_builddir in
43041 .) ac_abs_top_srcdir=$ac_top_srcdir;;
43042 *)
43043 case $ac_top_srcdir in
43044 .) ac_abs_top_srcdir=$ac_abs_builddir;;
43045 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
43046 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
43047 esac;;
43048 esac
43049
43050
43051 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
43052 echo "$as_me: executing $ac_dest commands" >&6;}
43053 case $ac_dest in
43054 wx-config ) rm -f wx-config
43055 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
43056 ;;
43057 esac
43058 done
43059 _ACEOF
43060
43061 cat >>$CONFIG_STATUS <<\_ACEOF
43062
43063 { (exit 0); exit 0; }
43064 _ACEOF
43065 chmod +x $CONFIG_STATUS
43066 ac_clean_files=$ac_clean_files_save
43067
43068
43069 # configure is writing to config.log, and then calls config.status.
43070 # config.status does its own redirection, appending to config.log.
43071 # Unfortunately, on DOS this fails, as config.log is still kept open
43072 # by configure, so config.status won't be able to write to it; its
43073 # output is simply discarded. So we exec the FD to /dev/null,
43074 # effectively closing config.log, so it can be properly (re)opened and
43075 # appended to by config.status. When coming back to configure, we
43076 # need to make the FD available again.
43077 if test "$no_create" != yes; then
43078 ac_cs_success=:
43079 ac_config_status_args=
43080 test "$silent" = yes &&
43081 ac_config_status_args="$ac_config_status_args --quiet"
43082 exec 5>/dev/null
43083 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
43084 exec 5>>config.log
43085 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
43086 # would make configure fail if this is the last instruction.
43087 $ac_cs_success || { (exit 1); exit 1; }
43088 fi
43089
43090 #
43091 # CONFIG_SUBDIRS section.
43092 #
43093 if test "$no_recursion" != yes; then
43094
43095 # Remove --cache-file and --srcdir arguments so they do not pile up.
43096 ac_sub_configure_args=
43097 ac_prev=
43098 for ac_arg in $ac_configure_args; do
43099 if test -n "$ac_prev"; then
43100 ac_prev=
43101 continue
43102 fi
43103 case $ac_arg in
43104 -cache-file | --cache-file | --cache-fil | --cache-fi \
43105 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
43106 ac_prev=cache_file ;;
43107 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
43108 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
43109 | --c=*)
43110 ;;
43111 --config-cache | -C)
43112 ;;
43113 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
43114 ac_prev=srcdir ;;
43115 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
43116 ;;
43117 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
43118 ac_prev=prefix ;;
43119 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
43120 ;;
43121 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
43122 esac
43123 done
43124
43125 # Always prepend --prefix to ensure using the same prefix
43126 # in subdir configurations.
43127 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
43128
43129 ac_popdir=`pwd`
43130 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
43131
43132 # Do not complain, so a configure script can configure whichever
43133 # parts of a large source tree are present.
43134 test -d $srcdir/$ac_dir || continue
43135
43136 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
43137 echo "$as_me: configuring in $ac_dir" >&6;}
43138 { if $as_mkdir_p; then
43139 mkdir -p "$ac_dir"
43140 else
43141 as_dir="$ac_dir"
43142 as_dirs=
43143 while test ! -d "$as_dir"; do
43144 as_dirs="$as_dir $as_dirs"
43145 as_dir=`(dirname "$as_dir") 2>/dev/null ||
43146 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43147 X"$as_dir" : 'X\(//\)[^/]' \| \
43148 X"$as_dir" : 'X\(//\)$' \| \
43149 X"$as_dir" : 'X\(/\)' \| \
43150 . : '\(.\)' 2>/dev/null ||
43151 echo X"$as_dir" |
43152 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43153 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43154 /^X\(\/\/\)$/{ s//\1/; q; }
43155 /^X\(\/\).*/{ s//\1/; q; }
43156 s/.*/./; q'`
43157 done
43158 test ! -n "$as_dirs" || mkdir $as_dirs
43159 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43160 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43161 { (exit 1); exit 1; }; }; }
43162
43163 ac_builddir=.
43164
43165 if test "$ac_dir" != .; then
43166 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43167 # A "../" for each directory in $ac_dir_suffix.
43168 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43169 else
43170 ac_dir_suffix= ac_top_builddir=
43171 fi
43172
43173 case $srcdir in
43174 .) # No --srcdir option. We are building in place.
43175 ac_srcdir=.
43176 if test -z "$ac_top_builddir"; then
43177 ac_top_srcdir=.
43178 else
43179 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
43180 fi ;;
43181 [\\/]* | ?:[\\/]* ) # Absolute path.
43182 ac_srcdir=$srcdir$ac_dir_suffix;
43183 ac_top_srcdir=$srcdir ;;
43184 *) # Relative path.
43185 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
43186 ac_top_srcdir=$ac_top_builddir$srcdir ;;
43187 esac
43188
43189 # Do not use `cd foo && pwd` to compute absolute paths, because
43190 # the directories may not exist.
43191 case `pwd` in
43192 .) ac_abs_builddir="$ac_dir";;
43193 *)
43194 case "$ac_dir" in
43195 .) ac_abs_builddir=`pwd`;;
43196 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
43197 *) ac_abs_builddir=`pwd`/"$ac_dir";;
43198 esac;;
43199 esac
43200 case $ac_abs_builddir in
43201 .) ac_abs_top_builddir=${ac_top_builddir}.;;
43202 *)
43203 case ${ac_top_builddir}. in
43204 .) ac_abs_top_builddir=$ac_abs_builddir;;
43205 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
43206 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
43207 esac;;
43208 esac
43209 case $ac_abs_builddir in
43210 .) ac_abs_srcdir=$ac_srcdir;;
43211 *)
43212 case $ac_srcdir in
43213 .) ac_abs_srcdir=$ac_abs_builddir;;
43214 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
43215 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
43216 esac;;
43217 esac
43218 case $ac_abs_builddir in
43219 .) ac_abs_top_srcdir=$ac_top_srcdir;;
43220 *)
43221 case $ac_top_srcdir in
43222 .) ac_abs_top_srcdir=$ac_abs_builddir;;
43223 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
43224 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
43225 esac;;
43226 esac
43227
43228
43229 cd $ac_dir
43230
43231 # Check for guested configure; otherwise get Cygnus style configure.
43232 if test -f $ac_srcdir/configure.gnu; then
43233 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
43234 elif test -f $ac_srcdir/configure; then
43235 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
43236 elif test -f $ac_srcdir/configure.in; then
43237 ac_sub_configure=$ac_configure
43238 else
43239 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
43240 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
43241 ac_sub_configure=
43242 fi
43243
43244 # The recursion is here.
43245 if test -n "$ac_sub_configure"; then
43246 # Make the cache file name correct relative to the subdirectory.
43247 case $cache_file in
43248 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
43249 *) # Relative path.
43250 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
43251 esac
43252
43253 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
43254 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
43255 # The eval makes quoting arguments work.
43256 eval $ac_sub_configure $ac_sub_configure_args \
43257 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
43258 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
43259 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
43260 { (exit 1); exit 1; }; }
43261 fi
43262
43263 cd $ac_popdir
43264 done
43265 fi
43266
43267
43268 echo
43269 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
43270 echo ""
43271 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
43272 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
43273
43274 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
43275 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
43276 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
43277
43278 echo " What level of wxWidgets compatibility should be enabled?"
43279 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
43280 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
43281
43282 echo " Which libraries should wxWidgets use?"
43283 echo " jpeg ${wxUSE_LIBJPEG-none}"
43284 echo " png ${wxUSE_LIBPNG-none}"
43285 echo " regex ${wxUSE_REGEX}"
43286 echo " tiff ${wxUSE_LIBTIFF-none}"
43287 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
43288 echo " xpm ${wxUSE_LIBXPM-none}"
43289 fi
43290 echo " zlib ${wxUSE_ZLIB}"
43291 echo " odbc ${wxUSE_ODBC}"
43292 echo " expat ${wxUSE_EXPAT}"
43293 echo " libmspack ${wxUSE_LIBMSPACK}"
43294 echo " sdl ${wxUSE_LIBSDL}"
43295
43296 echo ""
43297