]> git.saurik.com Git - wxWidgets.git/blob - configure
correct relative paths for headers
[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.4.
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.4'
274 PACKAGE_STRING='wxWidgets 2.5.4'
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 X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GSTREAMER_CFLAGS GSTREAMER_LIBS GST_INSPECT CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET ac_ct_AR ac_ct_STRIP NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE 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_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_OPENGL_1 COND_USE_PLUGINS_0 COND_USE_RTTI_0 COND_USE_RTTI_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_THREADS_0 COND_USE_THREADS_1 COND_USE_XRC_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_0 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_EXTRALIBS WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS GCC_PRAGMA_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC 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.4 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.4:";;
864 esac
865 cat <<\_ACEOF
866
867 Optional Features:
868 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
869 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
870 --enable-gui use GUI classes
871 --enable-monolithic build wxWidgets as single library
872 --enable-plugins build parts of wxWidgets as loadable components
873 --enable-universal use wxWidgets GUI controls instead of native ones
874 --enable-nanox use NanoX
875 --disable-gtk2 use GTK+ 1.2 instead of 2.0
876 --enable-gpe use GNOME PDA Environment features if possible
877 --enable-shared create shared library code
878 --enable-optimise create optimised code
879 --enable-debug same as debug_flag and debug_info
880 --enable-stl use STL for containers
881 --enable-omf use OMF object format
882 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
883 --enable-debug_info create code with debugging information
884 --enable-debug_gdb create code with extra GDB debugging information
885 --enable-debug_cntxt use wxDebugContext
886 --enable-mem_tracing create code with memory tracing
887 --enable-profile create code with profiling information
888 --enable-no_rtti create code without RTTI information
889 --enable-no_exceptions create code without C++ exceptions handling
890 --enable-permissive compile code disregarding strict ANSI
891 --enable-no_deps create code without dependency information
892 --enable-compat22 enable wxWidgets 2.2 compatibility
893 --disable-compat24 disable wxWidgets 2.4 compatibility
894 --disable-rpath disable use of rpath for uninstalled builds
895 --enable-intl use internationalization system
896 --enable-config use wxConfig (and derived) classes
897 --enable-protocols use wxProtocol and derived classes
898 --enable-ftp use wxFTP (requires wxProtocol
899 --enable-http use wxHTTP (requires wxProtocol
900 --enable-fileproto use wxFileProto class (requires wxProtocol
901 --enable-sockets use socket/network classes
902 --enable-ole use OLE classes (Win32 only)
903 --enable-dataobj use data object classes
904 --enable-ipc use interprocess communication (wxSocket etc.)
905 --enable-apple_ieee use the Apple IEEE codec
906 --enable-arcstream use wxArchive streams
907 --enable-backtrace use wxStackWalker class for getting backtraces
908 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
909 --enable-cmdline use wxCmdLineParser class
910 --enable-datetime use wxDateTime class
911 --enable-debugreport use wxDebugReport class
912 --enable-dialupman use dialup network classes
913 --enable-dynlib use wxLibrary class for DLL loading
914 --enable-dynamicloader use (new) wxDynamicLibrary class
915 --enable-exceptions build exception-safe library
916 --enable-ffile use wxFFile class
917 --enable-file use wxFile class
918 --enable-filesystem use virtual file systems classes
919 --enable-fontmap use font encodings conversion classes
920 --enable-fs_inet use virtual HTTP/FTP filesystems
921 --enable-fs_zip use virtual ZIP filesystems
922 --enable-geometry use geometry class
923 --enable-log use logging system
924 --enable-longlong use wxLongLong class
925 --enable-mimetype use wxMimeTypesManager
926 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
927 --enable-snglinst use wxSingleInstanceChecker class
928 --enable-std_iostreams use standard C++ stream classes
929 --enable-stdpaths use wxStandardPaths class
930 --enable-stopwatch use wxStopWatch class
931 --enable-streams use wxStream etc classes
932 --enable-sysoptions use wxSystemOptions
933 --enable-textbuf use wxTextBuffer class
934 --enable-textfile use wxTextFile class
935 --enable-timer use wxTimer class
936 --enable-unicode compile wxString with Unicode support
937 --enable-sound use wxSound class
938 --enable-mediactrl use wxMediaCtrl class
939 --enable-wxprintfv use wxWidgets implementation of vprintf()
940 --enable-zipstream use wxZip streams
941 --enable-url use wxURL class
942 --enable-protocol use wxProtocol class
943 --enable-protocol-http HTTP support in wxProtocol
944 --enable-protocol-ftp FTP support in wxProtocol
945 --enable-protocol-file FILE support in wxProtocol
946 --enable-threads use threads
947 --enable-docview use document view architecture
948 --enable-help use help subsystem
949 --enable-mshtmlhelp use MS HTML Help (win32)
950 --enable-html use wxHTML sub-library
951 --enable-htmlhelp use wxHTML-based help
952 --enable-xrc use XRC resources sub-library
953 --enable-constraints use layout-constraints system
954 --enable-printarch use printing architecture
955 --enable-mdi use multiple document interface architecture
956 --enable-mdidoc use docview architecture with MDI
957 --enable-loggui use standard GUI logger
958 --enable-logwin use wxLogWindow
959 --enable-logdialog use wxLogDialog
960 --enable-webkit use wxWebKitCtrl (Mac)
961 --enable-postscript use wxPostscriptDC device context (default for gtk+)
962 --enable-prologio not available; see contrib
963 --enable-resources not available; see contrib
964 --enable-clipboard use wxClipboard class
965 --enable-dnd use Drag'n'Drop classes
966 --enable-metafile use win32 metafiles
967 --enable-controls use all usual controls
968 --enable-accel use accelerators
969 --enable-button use wxButton class
970 --enable-bmpbutton use wxBitmapButton class
971 --enable-calendar use wxCalendarCtrl class
972 --enable-caret use wxCaret class
973 --enable-checkbox use wxCheckBox class
974 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
975 --enable-choice use wxChoice class
976 --enable-choicebook use wxChoicebook class
977 --enable-combobox use wxComboBox class
978 --enable-datepick use wxDatePickerCtrl class
979 --enable-display use wxDisplay class
980 --enable-gauge use wxGauge class
981 --enable-grid use wxGrid class
982 --enable-imaglist use wxImageList class
983 --enable-listbook use wxListbook class
984 --enable-listbox use wxListBox class
985 --enable-listctrl use wxListCtrl class
986 --enable-notebook use wxNotebook class
987 --enable-radiobox use wxRadioBox class
988 --enable-radiobtn use wxRadioButton class
989 --enable-sash use wxSashWindow class
990 --enable-scrollbar use wxScrollBar class and scrollable windows
991 --enable-slider use wxSlider class
992 --enable-spinbtn use wxSpinButton class
993 --enable-spinctrl use wxSpinCtrl class
994 --enable-splitter use wxSplitterWindow class
995 --enable-statbmp use wxStaticBitmap class
996 --enable-statbox use wxStaticBox class
997 --enable-statline use wxStaticLine class
998 --enable-stattext use wxStaticText class
999 --enable-statusbar use wxStatusBar class
1000 --enable-tabdialog use wxTabControl class
1001 --enable-textctrl use wxTextCtrl class
1002 --enable-togglebtn use wxToggleButton class
1003 --enable-toolbar use wxToolBar class
1004 --enable-tbarnative use native wxToolBar class
1005 --enable-tbarsmpl use wxToolBarSimple class
1006 --enable-treectrl use wxTreeCtrl class
1007 --enable-tipwindow use wxTipWindow class
1008 --enable-popupwin use wxPopUpWindow class
1009 --enable-commondlg use all common dialogs
1010 --enable-choicedlg use wxChoiceDialog
1011 --enable-coldlg use wxColourDialog
1012 --enable-filedlg use wxFileDialog
1013 --enable-finddlg use wxFindReplaceDialog
1014 --enable-fontdlg use wxFontDialog
1015 --enable-dirdlg use wxDirDialog
1016 --enable-msgdlg use wxMessageDialog
1017 --enable-numberdlg use wxNumberEntryDialog
1018 --enable-splash use wxSplashScreen
1019 --enable-textdlg use wxTextDialog
1020 --enable-tipdlg use startup tips
1021 --enable-progressdlg use wxProgressDialog
1022 --enable-wizarddlg use wxWizard
1023 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1024 --enable-miniframe use wxMiniFrame class
1025 --enable-tooltips use wxToolTip class
1026 --enable-splines use spline drawing code
1027 --enable-validators use wxValidator and derived classes
1028 --enable-busyinfo use wxBusyInfo
1029 --enable-joystick use wxJoystick
1030 --enable-metafiles use wxMetaFile (Windows only)
1031 --enable-dragimage use wxDragImage
1032 --enable-accessibility enable accessibility support
1033 --enable-palette use wxPalette class
1034 --enable-image use wxImage class
1035 --enable-gif use gif images (GIF file format)
1036 --enable-pcx use pcx images (PCX file format)
1037 --enable-iff use iff images (IFF file format)
1038 --enable-pnm use pnm images (PNM file format)
1039 --enable-xpm use xpm images (XPM file format)
1040 --enable-icocur use Windows ICO and CUR formats
1041 --enable-official_build official build of wxWidgets (win32 DLL only)
1042 --enable-vendor=VENDOR vendor name (win32 DLL only)
1043 --disable-largefile omit support for large files
1044 --disable-gtktest do not try to compile and run a test GTK+ program
1045 --disable-gtktest Do not try to compile and run a test GTK program
1046 --disable-sdltest Do not try to compile and run a test SDL program
1047 --enable-omf use OMF object format (OS/2)
1048 --disable-precomp-headers
1049 don't use precompiled headers even if compiler can
1050
1051 Optional Packages:
1052 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1053 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1054 --with-gtk use GTK+
1055 --with-motif use Motif/Lesstif
1056 --with-mac use Mac OS X
1057 --with-cocoa use Cocoa
1058 --with-wine use Wine
1059 --with-msw use MS-Windows
1060 --with-pm use OS/2 Presentation Manager
1061 --with-mgl use SciTech MGL
1062 --with-microwin use MicroWindows
1063 --with-x11 use X11
1064 --with-libpng use libpng (PNG image format)
1065 --with-libjpeg use libjpeg (JPEG file format)
1066 --with-libtiff use libtiff (TIFF file format)
1067 --with-libxpm use libxpm (XPM file format)
1068 --with-libmspack use libmspack (CHM help files loading)
1069 --with-sdl use SDL for audio on Unix
1070 --with-gnomeprint use GNOME print for printing under Unix
1071 --with-opengl use OpenGL (or Mesa)
1072 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1073 --with-regex enable support for wxRegEx class
1074 --with-zlib use zlib for LZW compression
1075 --with-odbc use the IODBC and wxODBC classes
1076 --with-expat enable XML support using expat parser
1077 --with-flavour=NAME specify a name to identify this build
1078 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1079 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1080 --with-x use the X Window System
1081 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1082 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1083 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1084 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1085 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1086
1087 Some influential environment variables:
1088 CC C compiler command
1089 CFLAGS C compiler flags
1090 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1091 nonstandard directory <lib dir>
1092 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1093 headers in a nonstandard directory <include dir>
1094 CPP C preprocessor
1095 CXX C++ compiler command
1096 CXXFLAGS C++ compiler flags
1097 CXXCPP C++ preprocessor
1098
1099 Use these variables to override the choices made by `configure' or to help
1100 it to find libraries and programs with nonstandard names/locations.
1101
1102 Report bugs to <wx-dev@lists.wxwidgets.org>.
1103 _ACEOF
1104 fi
1105
1106 if test "$ac_init_help" = "recursive"; then
1107 # If there are subdirs, report their specific --help.
1108 ac_popdir=`pwd`
1109 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1110 test -d $ac_dir || continue
1111 ac_builddir=.
1112
1113 if test "$ac_dir" != .; then
1114 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1115 # A "../" for each directory in $ac_dir_suffix.
1116 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1117 else
1118 ac_dir_suffix= ac_top_builddir=
1119 fi
1120
1121 case $srcdir in
1122 .) # No --srcdir option. We are building in place.
1123 ac_srcdir=.
1124 if test -z "$ac_top_builddir"; then
1125 ac_top_srcdir=.
1126 else
1127 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1128 fi ;;
1129 [\\/]* | ?:[\\/]* ) # Absolute path.
1130 ac_srcdir=$srcdir$ac_dir_suffix;
1131 ac_top_srcdir=$srcdir ;;
1132 *) # Relative path.
1133 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1134 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1135 esac
1136
1137 # Do not use `cd foo && pwd` to compute absolute paths, because
1138 # the directories may not exist.
1139 case `pwd` in
1140 .) ac_abs_builddir="$ac_dir";;
1141 *)
1142 case "$ac_dir" in
1143 .) ac_abs_builddir=`pwd`;;
1144 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1145 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1146 esac;;
1147 esac
1148 case $ac_abs_builddir in
1149 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1150 *)
1151 case ${ac_top_builddir}. in
1152 .) ac_abs_top_builddir=$ac_abs_builddir;;
1153 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1154 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1155 esac;;
1156 esac
1157 case $ac_abs_builddir in
1158 .) ac_abs_srcdir=$ac_srcdir;;
1159 *)
1160 case $ac_srcdir in
1161 .) ac_abs_srcdir=$ac_abs_builddir;;
1162 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1163 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1164 esac;;
1165 esac
1166 case $ac_abs_builddir in
1167 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1168 *)
1169 case $ac_top_srcdir in
1170 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1171 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1172 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1173 esac;;
1174 esac
1175
1176 cd $ac_dir
1177 # Check for guested configure; otherwise get Cygnus style configure.
1178 if test -f $ac_srcdir/configure.gnu; then
1179 echo
1180 $SHELL $ac_srcdir/configure.gnu --help=recursive
1181 elif test -f $ac_srcdir/configure; then
1182 echo
1183 $SHELL $ac_srcdir/configure --help=recursive
1184 elif test -f $ac_srcdir/configure.ac ||
1185 test -f $ac_srcdir/configure.in; then
1186 echo
1187 $ac_configure --help
1188 else
1189 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1190 fi
1191 cd "$ac_popdir"
1192 done
1193 fi
1194
1195 test -n "$ac_init_help" && exit 0
1196 if $ac_init_version; then
1197 cat <<\_ACEOF
1198 wxWidgets configure 2.5.4
1199 generated by GNU Autoconf 2.59
1200
1201 Copyright (C) 2003 Free Software Foundation, Inc.
1202 This configure script is free software; the Free Software Foundation
1203 gives unlimited permission to copy, distribute and modify it.
1204 _ACEOF
1205 exit 0
1206 fi
1207 exec 5>config.log
1208 cat >&5 <<_ACEOF
1209 This file contains any messages produced by compilers while
1210 running configure, to aid debugging if configure makes a mistake.
1211
1212 It was created by wxWidgets $as_me 2.5.4, which was
1213 generated by GNU Autoconf 2.59. Invocation command line was
1214
1215 $ $0 $@
1216
1217 _ACEOF
1218 {
1219 cat <<_ASUNAME
1220 ## --------- ##
1221 ## Platform. ##
1222 ## --------- ##
1223
1224 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1225 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1226 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1227 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1228 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1229
1230 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1231 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1232
1233 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1234 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1235 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1236 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1237 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1238 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1239 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1240
1241 _ASUNAME
1242
1243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1244 for as_dir in $PATH
1245 do
1246 IFS=$as_save_IFS
1247 test -z "$as_dir" && as_dir=.
1248 echo "PATH: $as_dir"
1249 done
1250
1251 } >&5
1252
1253 cat >&5 <<_ACEOF
1254
1255
1256 ## ----------- ##
1257 ## Core tests. ##
1258 ## ----------- ##
1259
1260 _ACEOF
1261
1262
1263 # Keep a trace of the command line.
1264 # Strip out --no-create and --no-recursion so they do not pile up.
1265 # Strip out --silent because we don't want to record it for future runs.
1266 # Also quote any args containing shell meta-characters.
1267 # Make two passes to allow for proper duplicate-argument suppression.
1268 ac_configure_args=
1269 ac_configure_args0=
1270 ac_configure_args1=
1271 ac_sep=
1272 ac_must_keep_next=false
1273 for ac_pass in 1 2
1274 do
1275 for ac_arg
1276 do
1277 case $ac_arg in
1278 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1279 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1280 | -silent | --silent | --silen | --sile | --sil)
1281 continue ;;
1282 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1283 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1284 esac
1285 case $ac_pass in
1286 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1287 2)
1288 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1289 if test $ac_must_keep_next = true; then
1290 ac_must_keep_next=false # Got value, back to normal.
1291 else
1292 case $ac_arg in
1293 *=* | --config-cache | -C | -disable-* | --disable-* \
1294 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1295 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1296 | -with-* | --with-* | -without-* | --without-* | --x)
1297 case "$ac_configure_args0 " in
1298 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1299 esac
1300 ;;
1301 -* ) ac_must_keep_next=true ;;
1302 esac
1303 fi
1304 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1305 # Get rid of the leading space.
1306 ac_sep=" "
1307 ;;
1308 esac
1309 done
1310 done
1311 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1312 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1313
1314 # When interrupted or exit'd, cleanup temporary files, and complete
1315 # config.log. We remove comments because anyway the quotes in there
1316 # would cause problems or look ugly.
1317 # WARNING: Be sure not to use single quotes in there, as some shells,
1318 # such as our DU 5.0 friend, will then `close' the trap.
1319 trap 'exit_status=$?
1320 # Save into config.log some information that might help in debugging.
1321 {
1322 echo
1323
1324 cat <<\_ASBOX
1325 ## ---------------- ##
1326 ## Cache variables. ##
1327 ## ---------------- ##
1328 _ASBOX
1329 echo
1330 # The following way of writing the cache mishandles newlines in values,
1331 {
1332 (set) 2>&1 |
1333 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1334 *ac_space=\ *)
1335 sed -n \
1336 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1337 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1338 ;;
1339 *)
1340 sed -n \
1341 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1342 ;;
1343 esac;
1344 }
1345 echo
1346
1347 cat <<\_ASBOX
1348 ## ----------------- ##
1349 ## Output variables. ##
1350 ## ----------------- ##
1351 _ASBOX
1352 echo
1353 for ac_var in $ac_subst_vars
1354 do
1355 eval ac_val=$`echo $ac_var`
1356 echo "$ac_var='"'"'$ac_val'"'"'"
1357 done | sort
1358 echo
1359
1360 if test -n "$ac_subst_files"; then
1361 cat <<\_ASBOX
1362 ## ------------- ##
1363 ## Output files. ##
1364 ## ------------- ##
1365 _ASBOX
1366 echo
1367 for ac_var in $ac_subst_files
1368 do
1369 eval ac_val=$`echo $ac_var`
1370 echo "$ac_var='"'"'$ac_val'"'"'"
1371 done | sort
1372 echo
1373 fi
1374
1375 if test -s confdefs.h; then
1376 cat <<\_ASBOX
1377 ## ----------- ##
1378 ## confdefs.h. ##
1379 ## ----------- ##
1380 _ASBOX
1381 echo
1382 sed "/^$/d" confdefs.h | sort
1383 echo
1384 fi
1385 test "$ac_signal" != 0 &&
1386 echo "$as_me: caught signal $ac_signal"
1387 echo "$as_me: exit $exit_status"
1388 } >&5
1389 rm -f core *.core &&
1390 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1391 exit $exit_status
1392 ' 0
1393 for ac_signal in 1 2 13 15; do
1394 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1395 done
1396 ac_signal=0
1397
1398 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1399 rm -rf conftest* confdefs.h
1400 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1401 echo >confdefs.h
1402
1403 # Predefined preprocessor variables.
1404
1405 cat >>confdefs.h <<_ACEOF
1406 #define PACKAGE_NAME "$PACKAGE_NAME"
1407 _ACEOF
1408
1409
1410 cat >>confdefs.h <<_ACEOF
1411 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1412 _ACEOF
1413
1414
1415 cat >>confdefs.h <<_ACEOF
1416 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1417 _ACEOF
1418
1419
1420 cat >>confdefs.h <<_ACEOF
1421 #define PACKAGE_STRING "$PACKAGE_STRING"
1422 _ACEOF
1423
1424
1425 cat >>confdefs.h <<_ACEOF
1426 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1427 _ACEOF
1428
1429
1430 # Let the site file select an alternate cache file if it wants to.
1431 # Prefer explicitly selected file to automatically selected ones.
1432 if test -z "$CONFIG_SITE"; then
1433 if test "x$prefix" != xNONE; then
1434 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1435 else
1436 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1437 fi
1438 fi
1439 for ac_site_file in $CONFIG_SITE; do
1440 if test -r "$ac_site_file"; then
1441 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1442 echo "$as_me: loading site script $ac_site_file" >&6;}
1443 sed 's/^/| /' "$ac_site_file" >&5
1444 . "$ac_site_file"
1445 fi
1446 done
1447
1448 if test -r "$cache_file"; then
1449 # Some versions of bash will fail to source /dev/null (special
1450 # files actually), so we avoid doing that.
1451 if test -f "$cache_file"; then
1452 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1453 echo "$as_me: loading cache $cache_file" >&6;}
1454 case $cache_file in
1455 [\\/]* | ?:[\\/]* ) . $cache_file;;
1456 *) . ./$cache_file;;
1457 esac
1458 fi
1459 else
1460 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1461 echo "$as_me: creating cache $cache_file" >&6;}
1462 >$cache_file
1463 fi
1464
1465 # Check that the precious variables saved in the cache have kept the same
1466 # value.
1467 ac_cache_corrupted=false
1468 for ac_var in `(set) 2>&1 |
1469 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1470 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1471 eval ac_new_set=\$ac_env_${ac_var}_set
1472 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1473 eval ac_new_val="\$ac_env_${ac_var}_value"
1474 case $ac_old_set,$ac_new_set in
1475 set,)
1476 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1477 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1478 ac_cache_corrupted=: ;;
1479 ,set)
1480 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1481 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1482 ac_cache_corrupted=: ;;
1483 ,);;
1484 *)
1485 if test "x$ac_old_val" != "x$ac_new_val"; then
1486 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1487 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1488 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1489 echo "$as_me: former value: $ac_old_val" >&2;}
1490 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1491 echo "$as_me: current value: $ac_new_val" >&2;}
1492 ac_cache_corrupted=:
1493 fi;;
1494 esac
1495 # Pass precious variables to config.status.
1496 if test "$ac_new_set" = set; then
1497 case $ac_new_val in
1498 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1499 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1500 *) ac_arg=$ac_var=$ac_new_val ;;
1501 esac
1502 case " $ac_configure_args " in
1503 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1504 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1505 esac
1506 fi
1507 done
1508 if $ac_cache_corrupted; then
1509 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1510 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1511 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1512 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1513 { (exit 1); exit 1; }; }
1514 fi
1515
1516 ac_ext=c
1517 ac_cpp='$CPP $CPPFLAGS'
1518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551 ac_aux_dir=
1552 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1553 if test -f $ac_dir/install-sh; then
1554 ac_aux_dir=$ac_dir
1555 ac_install_sh="$ac_aux_dir/install-sh -c"
1556 break
1557 elif test -f $ac_dir/install.sh; then
1558 ac_aux_dir=$ac_dir
1559 ac_install_sh="$ac_aux_dir/install.sh -c"
1560 break
1561 elif test -f $ac_dir/shtool; then
1562 ac_aux_dir=$ac_dir
1563 ac_install_sh="$ac_aux_dir/shtool install -c"
1564 break
1565 fi
1566 done
1567 if test -z "$ac_aux_dir"; then
1568 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1569 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1570 { (exit 1); exit 1; }; }
1571 fi
1572 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1573 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1574 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1575
1576 # Make sure we can run config.sub.
1577 $ac_config_sub sun4 >/dev/null 2>&1 ||
1578 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1579 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1580 { (exit 1); exit 1; }; }
1581
1582 echo "$as_me:$LINENO: checking build system type" >&5
1583 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1584 if test "${ac_cv_build+set}" = set; then
1585 echo $ECHO_N "(cached) $ECHO_C" >&6
1586 else
1587 ac_cv_build_alias=$build_alias
1588 test -z "$ac_cv_build_alias" &&
1589 ac_cv_build_alias=`$ac_config_guess`
1590 test -z "$ac_cv_build_alias" &&
1591 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1592 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1593 { (exit 1); exit 1; }; }
1594 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1595 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1596 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1597 { (exit 1); exit 1; }; }
1598
1599 fi
1600 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1601 echo "${ECHO_T}$ac_cv_build" >&6
1602 build=$ac_cv_build
1603 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1604 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1605 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1606
1607
1608 echo "$as_me:$LINENO: checking host system type" >&5
1609 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1610 if test "${ac_cv_host+set}" = set; then
1611 echo $ECHO_N "(cached) $ECHO_C" >&6
1612 else
1613 ac_cv_host_alias=$host_alias
1614 test -z "$ac_cv_host_alias" &&
1615 ac_cv_host_alias=$ac_cv_build_alias
1616 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1617 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1618 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1619 { (exit 1); exit 1; }; }
1620
1621 fi
1622 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1623 echo "${ECHO_T}$ac_cv_host" >&6
1624 host=$ac_cv_host
1625 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1626 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1627 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1628
1629
1630 echo "$as_me:$LINENO: checking target system type" >&5
1631 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1632 if test "${ac_cv_target+set}" = set; then
1633 echo $ECHO_N "(cached) $ECHO_C" >&6
1634 else
1635 ac_cv_target_alias=$target_alias
1636 test "x$ac_cv_target_alias" = "x" &&
1637 ac_cv_target_alias=$ac_cv_host_alias
1638 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1639 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1640 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1641 { (exit 1); exit 1; }; }
1642
1643 fi
1644 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1645 echo "${ECHO_T}$ac_cv_target" >&6
1646 target=$ac_cv_target
1647 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1648 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1649 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1650
1651
1652 # The aliases save the names the user supplied, while $host etc.
1653 # will get canonicalized.
1654 test -n "$target_alias" &&
1655 test "$program_prefix$program_suffix$program_transform_name" = \
1656 NONENONEs,x,x, &&
1657 program_prefix=${target_alias}-
1658
1659
1660
1661 wx_major_version_number=2
1662 wx_minor_version_number=5
1663 wx_release_number=4
1664 wx_subrelease_number=1
1665
1666 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1667 WX_VERSION=$WX_RELEASE.$wx_release_number
1668 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1669
1670 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1671
1672 WX_CURRENT=4
1673 WX_REVISION=0
1674 WX_AGE=4
1675
1676
1677
1678 USE_UNIX=1
1679 USE_OS2=0
1680 USE_WIN32=0
1681 USE_DOS=0
1682 USE_BEOS=0
1683 USE_MAC=0
1684
1685 USE_AIX=
1686 USE_BSD= USE_DARWIN= USE_FREEBSD=
1687 USE_GNU= USE_HPUX=
1688 USE_LINUX=
1689 USE_NETBSD=
1690 USE_OPENBSD=
1691 USE_OSF= USE_SGI=
1692 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1693 USE_ULTRIX=
1694 USE_UNIXWARE=
1695
1696 USE_ALPHA=
1697
1698 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1699
1700 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1701
1702 DEFAULT_wxUSE_COCOA=0
1703 DEFAULT_wxUSE_GTK=0
1704 DEFAULT_wxUSE_MAC=0
1705 DEFAULT_wxUSE_MGL=0
1706 DEFAULT_wxUSE_MICROWIN=0
1707 DEFAULT_wxUSE_MOTIF=0
1708 DEFAULT_wxUSE_MSW=0
1709 DEFAULT_wxUSE_PM=0
1710 DEFAULT_wxUSE_X11=0
1711
1712 DEFAULT_DEFAULT_wxUSE_COCOA=0
1713 DEFAULT_DEFAULT_wxUSE_GTK=0
1714 DEFAULT_DEFAULT_wxUSE_MAC=0
1715 DEFAULT_DEFAULT_wxUSE_MGL=0
1716 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1717 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1718 DEFAULT_DEFAULT_wxUSE_MSW=0
1719 DEFAULT_DEFAULT_wxUSE_PM=0
1720 DEFAULT_DEFAULT_wxUSE_X11=0
1721
1722 PROGRAM_EXT=
1723 SO_SUFFIX=so
1724 SAMPLES_RPATH_FLAG=
1725 SAMPLES_RPATH_POSTLINK=
1726
1727 case "${host}" in
1728 *-hp-hpux* )
1729 USE_HPUX=1
1730 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1731 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1732 SO_SUFFIX=sl
1733 cat >>confdefs.h <<\_ACEOF
1734 #define __HPUX__ 1
1735 _ACEOF
1736
1737 ;;
1738 *-*-linux* )
1739 USE_LINUX=1
1740 cat >>confdefs.h <<\_ACEOF
1741 #define __LINUX__ 1
1742 _ACEOF
1743
1744 TMP=`uname -m`
1745 if test "x$TMP" = "xalpha"; then
1746 USE_ALPHA=1
1747 cat >>confdefs.h <<\_ACEOF
1748 #define __ALPHA__ 1
1749 _ACEOF
1750
1751 fi
1752 DEFAULT_DEFAULT_wxUSE_GTK=1
1753 ;;
1754 *-*-gnu* | *-*-k*bsd*-gnu )
1755 USE_GNU=1
1756 TMP=`uname -m`
1757 if test "x$TMP" = "xalpha"; then
1758 USE_ALPHA=1
1759 cat >>confdefs.h <<\_ACEOF
1760 #define __ALPHA__ 1
1761 _ACEOF
1762
1763 fi
1764 DEFAULT_DEFAULT_wxUSE_GTK=1
1765 ;;
1766 *-*-irix5* | *-*-irix6* )
1767 USE_SGI=1
1768 USE_SVR4=1
1769 cat >>confdefs.h <<\_ACEOF
1770 #define __SGI__ 1
1771 _ACEOF
1772
1773 cat >>confdefs.h <<\_ACEOF
1774 #define __SVR4__ 1
1775 _ACEOF
1776
1777 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1778 ;;
1779 *-*-solaris2* )
1780 USE_SUN=1
1781 USE_SOLARIS=1
1782 USE_SVR4=1
1783 cat >>confdefs.h <<\_ACEOF
1784 #define __SUN__ 1
1785 _ACEOF
1786
1787 cat >>confdefs.h <<\_ACEOF
1788 #define __SOLARIS__ 1
1789 _ACEOF
1790
1791 cat >>confdefs.h <<\_ACEOF
1792 #define __SVR4__ 1
1793 _ACEOF
1794
1795 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1796 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1797 ;;
1798 *-*-sunos4* )
1799 USE_SUN=1
1800 USE_SUNOS=1
1801 USE_BSD=1
1802 cat >>confdefs.h <<\_ACEOF
1803 #define __SUN__ 1
1804 _ACEOF
1805
1806 cat >>confdefs.h <<\_ACEOF
1807 #define __SUNOS__ 1
1808 _ACEOF
1809
1810 cat >>confdefs.h <<\_ACEOF
1811 #define __BSD__ 1
1812 _ACEOF
1813
1814 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1815 ;;
1816 *-*-freebsd*)
1817 USE_BSD=1
1818 USE_FREEBSD=1
1819 cat >>confdefs.h <<\_ACEOF
1820 #define __FREEBSD__ 1
1821 _ACEOF
1822
1823 cat >>confdefs.h <<\_ACEOF
1824 #define __BSD__ 1
1825 _ACEOF
1826
1827 DEFAULT_DEFAULT_wxUSE_GTK=1
1828 ;;
1829 *-*-openbsd*)
1830 USE_BSD=1
1831 USE_OPENBSD=1
1832 cat >>confdefs.h <<\_ACEOF
1833 #define __OPENBSD__ 1
1834 _ACEOF
1835
1836 cat >>confdefs.h <<\_ACEOF
1837 #define __BSD__ 1
1838 _ACEOF
1839
1840 DEFAULT_DEFAULT_wxUSE_GTK=1
1841 ;;
1842 *-*-netbsd*)
1843 USE_BSD=1
1844 USE_NETBSD=1
1845 cat >>confdefs.h <<\_ACEOF
1846 #define __NETBSD__ 1
1847 _ACEOF
1848
1849 cat >>confdefs.h <<\_ACEOF
1850 #define __BSD__ 1
1851 _ACEOF
1852
1853 DEFAULT_DEFAULT_wxUSE_GTK=1
1854 ;;
1855 *-*-osf* )
1856 USE_ALPHA=1
1857 USE_OSF=1
1858 cat >>confdefs.h <<\_ACEOF
1859 #define __ALPHA__ 1
1860 _ACEOF
1861
1862 cat >>confdefs.h <<\_ACEOF
1863 #define __OSF__ 1
1864 _ACEOF
1865
1866 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1867 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1868 ;;
1869 *-*-dgux5* )
1870 USE_ALPHA=1
1871 USE_SVR4=1
1872 cat >>confdefs.h <<\_ACEOF
1873 #define __ALPHA__ 1
1874 _ACEOF
1875
1876 cat >>confdefs.h <<\_ACEOF
1877 #define __SVR4__ 1
1878 _ACEOF
1879
1880 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1881 ;;
1882 *-*-sysv5* )
1883 USE_SYSV=1
1884 USE_SVR4=1
1885 cat >>confdefs.h <<\_ACEOF
1886 #define __SYSV__ 1
1887 _ACEOF
1888
1889 cat >>confdefs.h <<\_ACEOF
1890 #define __SVR4__ 1
1891 _ACEOF
1892
1893 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1894 ;;
1895 *-*-aix* )
1896 USE_AIX=1
1897 USE_SYSV=1
1898 USE_SVR4=1
1899 SO_SUFFIX=a
1900 cat >>confdefs.h <<\_ACEOF
1901 #define __AIX__ 1
1902 _ACEOF
1903
1904 cat >>confdefs.h <<\_ACEOF
1905 #define __SYSV__ 1
1906 _ACEOF
1907
1908 cat >>confdefs.h <<\_ACEOF
1909 #define __SVR4__ 1
1910 _ACEOF
1911
1912 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1913 ;;
1914
1915 *-*-*UnixWare*)
1916 USE_SYSV=1
1917 USE_SVR4=1
1918 USE_UNIXWARE=1
1919 cat >>confdefs.h <<\_ACEOF
1920 #define __UNIXWARE__ 1
1921 _ACEOF
1922
1923 ;;
1924
1925 *-*-cygwin* | *-*-mingw32* )
1926 SO_SUFFIX=dll
1927 PROGRAM_EXT=".exe"
1928 RESCOMP=windres
1929 DEFAULT_DEFAULT_wxUSE_MSW=1
1930 ;;
1931
1932 *-pc-msdosdjgpp )
1933 USE_UNIX=0
1934 USE_DOS=1
1935 cat >>confdefs.h <<\_ACEOF
1936 #define __DOS__ 1
1937 _ACEOF
1938
1939 PROGRAM_EXT=".exe"
1940 DEFAULT_DEFAULT_wxUSE_MGL=1
1941 LIBS="$LIBS -lstdc++"
1942 ;;
1943
1944 *-pc-os2_emx | *-pc-os2-emx )
1945 cat >>confdefs.h <<\_ACEOF
1946 #define __EMX__ 1
1947 _ACEOF
1948
1949 USE_OS2=1
1950 cat >>confdefs.h <<\_ACEOF
1951 #define __OS2__ 1
1952 _ACEOF
1953
1954 PROGRAM_EXT=".exe"
1955 DEFAULT_DEFAULT_wxUSE_PM=1
1956 CXX=gcc
1957 LDFLAGS="$LDFLAGS -Zcrtdll"
1958 ac_executable_extensions=".exe"
1959 export ac_executable_extensions
1960 ac_save_IFS="$IFS"
1961 IFS='\\'
1962 ac_TEMP_PATH=
1963 for ac_dir in $PATH; do
1964 IFS=$ac_save_IFS
1965 if test -z "$ac_TEMP_PATH"; then
1966 ac_TEMP_PATH="$ac_dir"
1967 else
1968 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1969 fi
1970 done
1971 export PATH="$ac_TEMP_PATH"
1972 unset ac_TEMP_PATH
1973 ;;
1974
1975 powerpc-*-darwin* )
1976 USE_BSD=1
1977 USE_DARWIN=1
1978 SO_SUFFIX=dylib
1979 cat >>confdefs.h <<\_ACEOF
1980 #define __BSD__ 1
1981 _ACEOF
1982
1983 cat >>confdefs.h <<\_ACEOF
1984 #define __DARWIN__ 1
1985 _ACEOF
1986
1987 cat >>confdefs.h <<\_ACEOF
1988 #define TARGET_CARBON 1
1989 _ACEOF
1990
1991 DEFAULT_DEFAULT_wxUSE_MAC=1
1992 ;;
1993 powerpc-apple-macos* )
1994 USE_UNIX=0
1995 ac_cv_c_bigendian=yes
1996 SO_SUFFIX=shlib
1997 DEFAULT_DEFAULT_wxUSE_MAC=1
1998 ;;
1999
2000 *-*-beos* )
2001 USE_BEOS=1
2002 cat >>confdefs.h <<\_ACEOF
2003 #define __BEOS__ 1
2004 _ACEOF
2005
2006 ;;
2007
2008 *)
2009 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2010 echo "$as_me: error: unknown system type ${host}." >&2;}
2011 { (exit 1); exit 1; }; }
2012 esac
2013
2014
2015
2016
2017 wx_arg_cache_file="configarg.cache"
2018 echo "loading argument cache $wx_arg_cache_file"
2019 rm -f ${wx_arg_cache_file}.tmp
2020 touch ${wx_arg_cache_file}.tmp
2021 touch ${wx_arg_cache_file}
2022
2023
2024 DEBUG_CONFIGURE=0
2025 if test $DEBUG_CONFIGURE = 1; then
2026 DEFAULT_wxUSE_UNIVERSAL=no
2027 DEFAULT_wxUSE_STL=no
2028
2029 DEFAULT_wxUSE_NANOX=no
2030
2031 DEFAULT_wxUSE_THREADS=yes
2032
2033 DEFAULT_wxUSE_SHARED=yes
2034 DEFAULT_wxUSE_OPTIMISE=no
2035 DEFAULT_wxUSE_PROFILE=no
2036 DEFAULT_wxUSE_NO_DEPS=no
2037 DEFAULT_wxUSE_NO_RTTI=no
2038 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2039 DEFAULT_wxUSE_RPATH=yes
2040 DEFAULT_wxUSE_PERMISSIVE=no
2041 DEFAULT_wxUSE_DEBUG_FLAG=yes
2042 DEFAULT_wxUSE_DEBUG_INFO=yes
2043 DEFAULT_wxUSE_DEBUG_GDB=yes
2044 DEFAULT_wxUSE_MEM_TRACING=no
2045 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2046 DEFAULT_wxUSE_DMALLOC=no
2047 DEFAULT_wxUSE_APPLE_IEEE=no
2048
2049 DEFAULT_wxUSE_EXCEPTIONS=no
2050 DEFAULT_wxUSE_LOG=yes
2051 DEFAULT_wxUSE_LOGWINDOW=no
2052 DEFAULT_wxUSE_LOGGUI=no
2053 DEFAULT_wxUSE_LOGDIALOG=no
2054
2055 DEFAULT_wxUSE_GUI=yes
2056 DEFAULT_wxUSE_CONTROLS=no
2057
2058 DEFAULT_wxUSE_REGEX=no
2059 DEFAULT_wxUSE_XML=no
2060 DEFAULT_wxUSE_EXPAT=no
2061 DEFAULT_wxUSE_ZLIB=no
2062 DEFAULT_wxUSE_LIBPNG=no
2063 DEFAULT_wxUSE_LIBJPEG=no
2064 DEFAULT_wxUSE_LIBTIFF=no
2065 DEFAULT_wxUSE_LIBXPM=no
2066 DEFAULT_wxUSE_LIBMSPACK=no
2067 DEFAULT_wxUSE_LIBSDL=no
2068 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2069 DEFAULT_wxUSE_ODBC=no
2070 DEFAULT_wxUSE_OPENGL=no
2071
2072 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2073 DEFAULT_wxUSE_STACKWALKER=no
2074 DEFAULT_wxUSE_DEBUGREPORT=no
2075 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2076 DEFAULT_wxUSE_STD_IOSTREAM=no
2077 DEFAULT_wxUSE_CMDLINE_PARSER=no
2078 DEFAULT_wxUSE_DATETIME=no
2079 DEFAULT_wxUSE_TIMER=no
2080 DEFAULT_wxUSE_STOPWATCH=no
2081 DEFAULT_wxUSE_FILE=no
2082 DEFAULT_wxUSE_FFILE=no
2083 DEFAULT_wxUSE_STDPATHS=no
2084 DEFAULT_wxUSE_TEXTBUFFER=no
2085 DEFAULT_wxUSE_TEXTFILE=no
2086 DEFAULT_wxUSE_SOUND=no
2087 DEFAULT_wxUSE_MEDIACTRL=no
2088 DEFAULT_wxUSE_DIRECTSHOW=no
2089 DEFAULT_wxUSE_INTL=no
2090 DEFAULT_wxUSE_CONFIG=no
2091 DEFAULT_wxUSE_FONTMAP=no
2092 DEFAULT_wxUSE_STREAMS=no
2093 DEFAULT_wxUSE_SOCKETS=no
2094 DEFAULT_wxUSE_OLE=no
2095 DEFAULT_wxUSE_DATAOBJ=no
2096 DEFAULT_wxUSE_DIALUP_MANAGER=no
2097 DEFAULT_wxUSE_JOYSTICK=no
2098 DEFAULT_wxUSE_DYNLIB_CLASS=no
2099 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2100 DEFAULT_wxUSE_LONGLONG=no
2101 DEFAULT_wxUSE_GEOMETRY=no
2102
2103 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2104 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2105 DEFAULT_wxUSE_POSTSCRIPT=no
2106
2107 DEFAULT_wxUSE_CLIPBOARD=no
2108 DEFAULT_wxUSE_TOOLTIPS=no
2109 DEFAULT_wxUSE_DRAG_AND_DROP=no
2110 DEFAULT_wxUSE_DRAGIMAGE=no
2111 DEFAULT_wxUSE_SPLINES=no
2112
2113 DEFAULT_wxUSE_MDI=no
2114 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2115 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2116 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2117
2118 DEFAULT_wxUSE_RESOURCES=no
2119 DEFAULT_wxUSE_CONSTRAINTS=no
2120 DEFAULT_wxUSE_IPC=no
2121 DEFAULT_wxUSE_HELP=no
2122 DEFAULT_wxUSE_MS_HTML_HELP=no
2123 DEFAULT_wxUSE_WXHTML_HELP=no
2124 DEFAULT_wxUSE_TREELAYOUT=no
2125 DEFAULT_wxUSE_METAFILE=no
2126 DEFAULT_wxUSE_MIMETYPE=no
2127 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2128 DEFAULT_wxUSE_PROTOCOL=no
2129 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2130 DEFAULT_wxUSE_PROTOCOL_FTP=no
2131 DEFAULT_wxUSE_PROTOCOL_FILE=no
2132 DEFAULT_wxUSE_URL=no
2133
2134 DEFAULT_wxUSE_COMMONDLGS=no
2135 DEFAULT_wxUSE_CHOICEDLG=no
2136 DEFAULT_wxUSE_COLOURDLG=no
2137 DEFAULT_wxUSE_DIRDLG=no
2138 DEFAULT_wxUSE_FILEDLG=no
2139 DEFAULT_wxUSE_FINDREPLDLG=no
2140 DEFAULT_wxUSE_FONTDLG=no
2141 DEFAULT_wxUSE_MSGDLG=no
2142 DEFAULT_wxUSE_NUMBERDLG=no
2143 DEFAULT_wxUSE_TEXTDLG=no
2144 DEFAULT_wxUSE_SPLASH=no
2145 DEFAULT_wxUSE_STARTUP_TIPS=no
2146 DEFAULT_wxUSE_PROGRESSDLG=no
2147 DEFAULT_wxUSE_WIZARDDLG=no
2148
2149 DEFAULT_wxUSE_MENUS=no
2150 DEFAULT_wxUSE_MINIFRAME=no
2151 DEFAULT_wxUSE_HTML=no
2152 DEFAULT_wxUSE_XRC=no
2153 DEFAULT_wxUSE_WEBKIT=no
2154 DEFAULT_wxUSE_FILESYSTEM=no
2155 DEFAULT_wxUSE_FS_INET=no
2156 DEFAULT_wxUSE_FS_ZIP=no
2157 DEFAULT_wxUSE_BUSYINFO=no
2158 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2159 DEFAULT_wxUSE_ZIPSTREAM=no
2160 DEFAULT_wxUSE_VALIDATORS=no
2161
2162 DEFAULT_wxUSE_ACCEL=no
2163 DEFAULT_wxUSE_BUTTON=no
2164 DEFAULT_wxUSE_BMPBUTTON=no
2165 DEFAULT_wxUSE_CALCTRL=no
2166 DEFAULT_wxUSE_CARET=no
2167 DEFAULT_wxUSE_CHECKBOX=no
2168 DEFAULT_wxUSE_CHECKLST=no
2169 DEFAULT_wxUSE_CHOICE=no
2170 DEFAULT_wxUSE_CHOICEBOOK=no
2171 DEFAULT_wxUSE_COMBOBOX=no
2172 DEFAULT_wxUSE_DATEPICKCTRL=no
2173 DEFAULT_wxUSE_DISPLAY=no
2174 DEFAULT_wxUSE_GAUGE=no
2175 DEFAULT_wxUSE_GRID=no
2176 DEFAULT_wxUSE_IMAGLIST=no
2177 DEFAULT_wxUSE_LISTBOOK=no
2178 DEFAULT_wxUSE_LISTBOX=no
2179 DEFAULT_wxUSE_LISTCTRL=no
2180 DEFAULT_wxUSE_NOTEBOOK=no
2181 DEFAULT_wxUSE_RADIOBOX=no
2182 DEFAULT_wxUSE_RADIOBTN=no
2183 DEFAULT_wxUSE_SASH=no
2184 DEFAULT_wxUSE_SCROLLBAR=no
2185 DEFAULT_wxUSE_SLIDER=no
2186 DEFAULT_wxUSE_SPINBTN=no
2187 DEFAULT_wxUSE_SPINCTRL=no
2188 DEFAULT_wxUSE_SPLITTER=no
2189 DEFAULT_wxUSE_STATBMP=no
2190 DEFAULT_wxUSE_STATBOX=no
2191 DEFAULT_wxUSE_STATLINE=no
2192 DEFAULT_wxUSE_STATTEXT=no
2193 DEFAULT_wxUSE_STATUSBAR=yes
2194 DEFAULT_wxUSE_TABDIALOG=no
2195 DEFAULT_wxUSE_TEXTCTRL=no
2196 DEFAULT_wxUSE_TOGGLEBTN=no
2197 DEFAULT_wxUSE_TOOLBAR=no
2198 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2199 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2200 DEFAULT_wxUSE_TREECTRL=no
2201 DEFAULT_wxUSE_POPUPWIN=no
2202 DEFAULT_wxUSE_TIPWINDOW=no
2203
2204 DEFAULT_wxUSE_UNICODE=no
2205 DEFAULT_wxUSE_UNICODE_MSLU=no
2206 DEFAULT_wxUSE_WCSRTOMBS=no
2207
2208 DEFAULT_wxUSE_PALETTE=no
2209 DEFAULT_wxUSE_IMAGE=no
2210 DEFAULT_wxUSE_GIF=no
2211 DEFAULT_wxUSE_PCX=no
2212 DEFAULT_wxUSE_PNM=no
2213 DEFAULT_wxUSE_IFF=no
2214 DEFAULT_wxUSE_XPM=no
2215 DEFAULT_wxUSE_ICO_CUR=no
2216 DEFAULT_wxUSE_ACCESSIBILITY=no
2217
2218 DEFAULT_wxUSE_MONOLITHIC=no
2219 DEFAULT_wxUSE_PLUGINS=no
2220 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2221 else
2222 DEFAULT_wxUSE_UNIVERSAL=no
2223 DEFAULT_wxUSE_STL=no
2224
2225 DEFAULT_wxUSE_NANOX=no
2226
2227 DEFAULT_wxUSE_THREADS=yes
2228
2229 DEFAULT_wxUSE_SHARED=yes
2230 DEFAULT_wxUSE_OPTIMISE=yes
2231 DEFAULT_wxUSE_PROFILE=no
2232 DEFAULT_wxUSE_NO_DEPS=no
2233 DEFAULT_wxUSE_NO_RTTI=no
2234 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2235 DEFAULT_wxUSE_RPATH=yes
2236 DEFAULT_wxUSE_PERMISSIVE=no
2237 DEFAULT_wxUSE_DEBUG_FLAG=no
2238 DEFAULT_wxUSE_DEBUG_INFO=no
2239 DEFAULT_wxUSE_DEBUG_GDB=no
2240 DEFAULT_wxUSE_MEM_TRACING=no
2241 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2242 DEFAULT_wxUSE_DMALLOC=no
2243 DEFAULT_wxUSE_APPLE_IEEE=yes
2244
2245 DEFAULT_wxUSE_EXCEPTIONS=yes
2246 DEFAULT_wxUSE_LOG=yes
2247 DEFAULT_wxUSE_LOGWINDOW=yes
2248 DEFAULT_wxUSE_LOGGUI=yes
2249 DEFAULT_wxUSE_LOGDIALOG=yes
2250
2251 DEFAULT_wxUSE_GUI=yes
2252
2253 DEFAULT_wxUSE_REGEX=yes
2254 DEFAULT_wxUSE_XML=yes
2255 DEFAULT_wxUSE_EXPAT=yes
2256 DEFAULT_wxUSE_ZLIB=yes
2257 DEFAULT_wxUSE_LIBPNG=yes
2258 DEFAULT_wxUSE_LIBJPEG=yes
2259 DEFAULT_wxUSE_LIBTIFF=yes
2260 DEFAULT_wxUSE_LIBXPM=yes
2261 DEFAULT_wxUSE_LIBMSPACK=yes
2262 DEFAULT_wxUSE_LIBSDL=no
2263 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2264 DEFAULT_wxUSE_ODBC=no
2265 DEFAULT_wxUSE_OPENGL=no
2266
2267 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2268 DEFAULT_wxUSE_STACKWALKER=yes
2269 DEFAULT_wxUSE_DEBUGREPORT=yes
2270 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2271 DEFAULT_wxUSE_STD_IOSTREAM=no
2272 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2273 DEFAULT_wxUSE_DATETIME=yes
2274 DEFAULT_wxUSE_TIMER=yes
2275 DEFAULT_wxUSE_STOPWATCH=yes
2276 DEFAULT_wxUSE_FILE=yes
2277 DEFAULT_wxUSE_FFILE=yes
2278 DEFAULT_wxUSE_STDPATHS=yes
2279 DEFAULT_wxUSE_TEXTBUFFER=yes
2280 DEFAULT_wxUSE_TEXTFILE=yes
2281 DEFAULT_wxUSE_SOUND=yes
2282 DEFAULT_wxUSE_MEDIACTRL=no
2283 DEFAULT_wxUSE_DIRECTSHOW=no
2284 DEFAULT_wxUSE_INTL=yes
2285 DEFAULT_wxUSE_CONFIG=yes
2286 DEFAULT_wxUSE_FONTMAP=yes
2287 DEFAULT_wxUSE_STREAMS=yes
2288 DEFAULT_wxUSE_SOCKETS=yes
2289 DEFAULT_wxUSE_OLE=yes
2290 DEFAULT_wxUSE_DATAOBJ=yes
2291 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2292 DEFAULT_wxUSE_JOYSTICK=yes
2293 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2294 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2295 DEFAULT_wxUSE_LONGLONG=yes
2296 DEFAULT_wxUSE_GEOMETRY=yes
2297
2298 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2299 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2300 DEFAULT_wxUSE_POSTSCRIPT=yes
2301
2302 DEFAULT_wxUSE_CLIPBOARD=yes
2303 DEFAULT_wxUSE_TOOLTIPS=yes
2304 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2305 DEFAULT_wxUSE_DRAGIMAGE=yes
2306 DEFAULT_wxUSE_SPLINES=yes
2307
2308 DEFAULT_wxUSE_MDI=yes
2309 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2310 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2311 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2312
2313 DEFAULT_wxUSE_RESOURCES=no
2314 DEFAULT_wxUSE_CONSTRAINTS=yes
2315 DEFAULT_wxUSE_IPC=yes
2316 DEFAULT_wxUSE_HELP=yes
2317 DEFAULT_wxUSE_MS_HTML_HELP=yes
2318 DEFAULT_wxUSE_WXHTML_HELP=yes
2319 DEFAULT_wxUSE_TREELAYOUT=yes
2320 DEFAULT_wxUSE_METAFILE=yes
2321 DEFAULT_wxUSE_MIMETYPE=yes
2322 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2323 DEFAULT_wxUSE_PROTOCOL=yes
2324 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2325 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2326 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2327 DEFAULT_wxUSE_URL=yes
2328
2329 DEFAULT_wxUSE_COMMONDLGS=yes
2330 DEFAULT_wxUSE_CHOICEDLG=yes
2331 DEFAULT_wxUSE_COLOURDLG=yes
2332 DEFAULT_wxUSE_DIRDLG=yes
2333 DEFAULT_wxUSE_FILEDLG=yes
2334 DEFAULT_wxUSE_FINDREPLDLG=yes
2335 DEFAULT_wxUSE_FONTDLG=yes
2336 DEFAULT_wxUSE_MSGDLG=yes
2337 DEFAULT_wxUSE_NUMBERDLG=yes
2338 DEFAULT_wxUSE_TEXTDLG=yes
2339 DEFAULT_wxUSE_SPLASH=yes
2340 DEFAULT_wxUSE_STARTUP_TIPS=yes
2341 DEFAULT_wxUSE_PROGRESSDLG=yes
2342 DEFAULT_wxUSE_WIZARDDLG=yes
2343
2344 DEFAULT_wxUSE_MENUS=yes
2345 DEFAULT_wxUSE_MINIFRAME=yes
2346 DEFAULT_wxUSE_HTML=yes
2347 DEFAULT_wxUSE_XRC=yes
2348 DEFAULT_wxUSE_WEBKIT=yes
2349 DEFAULT_wxUSE_FILESYSTEM=yes
2350 DEFAULT_wxUSE_FS_INET=yes
2351 DEFAULT_wxUSE_FS_ZIP=yes
2352 DEFAULT_wxUSE_BUSYINFO=yes
2353 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2354 DEFAULT_wxUSE_ZIPSTREAM=yes
2355 DEFAULT_wxUSE_VALIDATORS=yes
2356
2357 DEFAULT_wxUSE_ACCEL=yes
2358 DEFAULT_wxUSE_BUTTON=yes
2359 DEFAULT_wxUSE_BMPBUTTON=yes
2360 DEFAULT_wxUSE_CALCTRL=yes
2361 DEFAULT_wxUSE_CARET=yes
2362 DEFAULT_wxUSE_CHECKBOX=yes
2363 DEFAULT_wxUSE_CHECKLST=yes
2364 DEFAULT_wxUSE_CHOICE=yes
2365 DEFAULT_wxUSE_CHOICEBOOK=yes
2366 DEFAULT_wxUSE_COMBOBOX=yes
2367 DEFAULT_wxUSE_DATEPICKCTRL=yes
2368 DEFAULT_wxUSE_DISPLAY=yes
2369 DEFAULT_wxUSE_GAUGE=yes
2370 DEFAULT_wxUSE_GRID=yes
2371 DEFAULT_wxUSE_IMAGLIST=yes
2372 DEFAULT_wxUSE_LISTBOOK=yes
2373 DEFAULT_wxUSE_LISTBOX=yes
2374 DEFAULT_wxUSE_LISTCTRL=yes
2375 DEFAULT_wxUSE_NOTEBOOK=yes
2376 DEFAULT_wxUSE_RADIOBOX=yes
2377 DEFAULT_wxUSE_RADIOBTN=yes
2378 DEFAULT_wxUSE_SASH=yes
2379 DEFAULT_wxUSE_SCROLLBAR=yes
2380 DEFAULT_wxUSE_SLIDER=yes
2381 DEFAULT_wxUSE_SPINBTN=yes
2382 DEFAULT_wxUSE_SPINCTRL=yes
2383 DEFAULT_wxUSE_SPLITTER=yes
2384 DEFAULT_wxUSE_STATBMP=yes
2385 DEFAULT_wxUSE_STATBOX=yes
2386 DEFAULT_wxUSE_STATLINE=yes
2387 DEFAULT_wxUSE_STATTEXT=yes
2388 DEFAULT_wxUSE_STATUSBAR=yes
2389 DEFAULT_wxUSE_TABDIALOG=no
2390 DEFAULT_wxUSE_TEXTCTRL=yes
2391 DEFAULT_wxUSE_TOGGLEBTN=yes
2392 DEFAULT_wxUSE_TOOLBAR=yes
2393 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2394 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2395 DEFAULT_wxUSE_TREECTRL=yes
2396 DEFAULT_wxUSE_POPUPWIN=yes
2397 DEFAULT_wxUSE_TIPWINDOW=yes
2398
2399 DEFAULT_wxUSE_UNICODE=no
2400 DEFAULT_wxUSE_UNICODE_MSLU=yes
2401 DEFAULT_wxUSE_WCSRTOMBS=no
2402
2403 DEFAULT_wxUSE_PALETTE=yes
2404 DEFAULT_wxUSE_IMAGE=yes
2405 DEFAULT_wxUSE_GIF=yes
2406 DEFAULT_wxUSE_PCX=yes
2407 DEFAULT_wxUSE_IFF=no
2408 DEFAULT_wxUSE_PNM=yes
2409 DEFAULT_wxUSE_XPM=yes
2410 DEFAULT_wxUSE_ICO_CUR=yes
2411 DEFAULT_wxUSE_ACCESSIBILITY=no
2412
2413 DEFAULT_wxUSE_MONOLITHIC=no
2414 DEFAULT_wxUSE_PLUGINS=no
2415 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2416
2417 DEFAULT_wxUSE_GTK2=yes
2418 fi
2419
2420
2421
2422 for toolkit in `echo $ALL_TOOLKITS`; do
2423 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2424 if test "x$LINE" != "x" ; then
2425 has_toolkit_in_cache=1
2426 eval "DEFAULT_$LINE"
2427 eval "CACHE_$toolkit=1"
2428 fi
2429 done
2430
2431
2432
2433 enablestring=
2434 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2435 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2436 no_cache=0
2437 # Check whether --enable-gui or --disable-gui was given.
2438 if test "${enable_gui+set}" = set; then
2439 enableval="$enable_gui"
2440
2441 if test "$enableval" = yes; then
2442 ac_cv_use_gui='wxUSE_GUI=yes'
2443 else
2444 ac_cv_use_gui='wxUSE_GUI=no'
2445 fi
2446
2447 else
2448
2449 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2450 if test "x$LINE" != x ; then
2451 eval "DEFAULT_$LINE"
2452 else
2453 no_cache=1
2454 fi
2455
2456 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2457
2458 fi;
2459
2460 eval "$ac_cv_use_gui"
2461 if test "$no_cache" != 1; then
2462 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2463 fi
2464
2465 if test "$wxUSE_GUI" = yes; then
2466 echo "$as_me:$LINENO: result: yes" >&5
2467 echo "${ECHO_T}yes" >&6
2468 else
2469 echo "$as_me:$LINENO: result: no" >&5
2470 echo "${ECHO_T}no" >&6
2471 fi
2472
2473
2474 enablestring=
2475 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2476 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2477 no_cache=0
2478 # Check whether --enable-monolithic or --disable-monolithic was given.
2479 if test "${enable_monolithic+set}" = set; then
2480 enableval="$enable_monolithic"
2481
2482 if test "$enableval" = yes; then
2483 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2484 else
2485 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2486 fi
2487
2488 else
2489
2490 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2491 if test "x$LINE" != x ; then
2492 eval "DEFAULT_$LINE"
2493 else
2494 no_cache=1
2495 fi
2496
2497 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2498
2499 fi;
2500
2501 eval "$ac_cv_use_monolithic"
2502 if test "$no_cache" != 1; then
2503 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2504 fi
2505
2506 if test "$wxUSE_MONOLITHIC" = yes; then
2507 echo "$as_me:$LINENO: result: yes" >&5
2508 echo "${ECHO_T}yes" >&6
2509 else
2510 echo "$as_me:$LINENO: result: no" >&5
2511 echo "${ECHO_T}no" >&6
2512 fi
2513
2514
2515 enablestring=
2516 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2517 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2518 no_cache=0
2519 # Check whether --enable-plugins or --disable-plugins was given.
2520 if test "${enable_plugins+set}" = set; then
2521 enableval="$enable_plugins"
2522
2523 if test "$enableval" = yes; then
2524 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2525 else
2526 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2527 fi
2528
2529 else
2530
2531 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2532 if test "x$LINE" != x ; then
2533 eval "DEFAULT_$LINE"
2534 else
2535 no_cache=1
2536 fi
2537
2538 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2539
2540 fi;
2541
2542 eval "$ac_cv_use_plugins"
2543 if test "$no_cache" != 1; then
2544 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2545 fi
2546
2547 if test "$wxUSE_PLUGINS" = yes; then
2548 echo "$as_me:$LINENO: result: yes" >&5
2549 echo "${ECHO_T}yes" >&6
2550 else
2551 echo "$as_me:$LINENO: result: no" >&5
2552 echo "${ECHO_T}no" >&6
2553 fi
2554
2555
2556 if test "$wxUSE_GUI" = "yes"; then
2557
2558
2559 enablestring=
2560 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2561 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2562 no_cache=0
2563 # Check whether --enable-universal or --disable-universal was given.
2564 if test "${enable_universal+set}" = set; then
2565 enableval="$enable_universal"
2566
2567 if test "$enableval" = yes; then
2568 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2569 else
2570 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2571 fi
2572
2573 else
2574
2575 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2576 if test "x$LINE" != x ; then
2577 eval "DEFAULT_$LINE"
2578 else
2579 no_cache=1
2580 fi
2581
2582 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2583
2584 fi;
2585
2586 eval "$ac_cv_use_universal"
2587 if test "$no_cache" != 1; then
2588 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2589 fi
2590
2591 if test "$wxUSE_UNIVERSAL" = yes; then
2592 echo "$as_me:$LINENO: result: yes" >&5
2593 echo "${ECHO_T}yes" >&6
2594 else
2595 echo "$as_me:$LINENO: result: no" >&5
2596 echo "${ECHO_T}no" >&6
2597 fi
2598
2599
2600 # Check whether --with-gtk or --without-gtk was given.
2601 if test "${with_gtk+set}" = set; then
2602 withval="$with_gtk"
2603 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2604 fi;
2605
2606 # Check whether --with-motif or --without-motif was given.
2607 if test "${with_motif+set}" = set; then
2608 withval="$with_motif"
2609 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2610 fi;
2611
2612 # Check whether --with-mac or --without-mac was given.
2613 if test "${with_mac+set}" = set; then
2614 withval="$with_mac"
2615 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2616 fi;
2617
2618 # Check whether --with-cocoa or --without-cocoa was given.
2619 if test "${with_cocoa+set}" = set; then
2620 withval="$with_cocoa"
2621 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2622 fi;
2623
2624 # Check whether --with-wine or --without-wine was given.
2625 if test "${with_wine+set}" = set; then
2626 withval="$with_wine"
2627 wxUSE_WINE="$withval" CACHE_WINE=1
2628 fi;
2629
2630 # Check whether --with-msw or --without-msw was given.
2631 if test "${with_msw+set}" = set; then
2632 withval="$with_msw"
2633 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2634 fi;
2635
2636 # Check whether --with-pm or --without-pm was given.
2637 if test "${with_pm+set}" = set; then
2638 withval="$with_pm"
2639 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2640 fi;
2641
2642 # Check whether --with-mgl or --without-mgl was given.
2643 if test "${with_mgl+set}" = set; then
2644 withval="$with_mgl"
2645 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2646 fi;
2647
2648 # Check whether --with-microwin or --without-microwin was given.
2649 if test "${with_microwin+set}" = set; then
2650 withval="$with_microwin"
2651 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2652 fi;
2653
2654 # Check whether --with-x11 or --without-x11 was given.
2655 if test "${with_x11+set}" = set; then
2656 withval="$with_x11"
2657 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2658 fi;
2659
2660 enablestring=
2661 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2662 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2663 no_cache=0
2664 # Check whether --enable-nanox or --disable-nanox was given.
2665 if test "${enable_nanox+set}" = set; then
2666 enableval="$enable_nanox"
2667
2668 if test "$enableval" = yes; then
2669 ac_cv_use_nanox='wxUSE_NANOX=yes'
2670 else
2671 ac_cv_use_nanox='wxUSE_NANOX=no'
2672 fi
2673
2674 else
2675
2676 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2677 if test "x$LINE" != x ; then
2678 eval "DEFAULT_$LINE"
2679 else
2680 no_cache=1
2681 fi
2682
2683 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2684
2685 fi;
2686
2687 eval "$ac_cv_use_nanox"
2688 if test "$no_cache" != 1; then
2689 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2690 fi
2691
2692 if test "$wxUSE_NANOX" = yes; then
2693 echo "$as_me:$LINENO: result: yes" >&5
2694 echo "${ECHO_T}yes" >&6
2695 else
2696 echo "$as_me:$LINENO: result: no" >&5
2697 echo "${ECHO_T}no" >&6
2698 fi
2699
2700
2701
2702 enablestring=
2703 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2704 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2705 no_cache=0
2706 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2707 if test "${enable_gtk2+set}" = set; then
2708 enableval="$enable_gtk2"
2709
2710 if test "$enableval" = yes; then
2711 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2712 else
2713 ac_cv_use_gtk2='wxUSE_GTK2=no'
2714 fi
2715
2716 else
2717
2718 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2719 if test "x$LINE" != x ; then
2720 eval "DEFAULT_$LINE"
2721 else
2722 no_cache=1
2723 fi
2724
2725 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2726
2727 fi;
2728
2729 eval "$ac_cv_use_gtk2"
2730 if test "$no_cache" != 1; then
2731 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2732 fi
2733
2734 if test "$wxUSE_GTK2" = yes; then
2735 echo "$as_me:$LINENO: result: yes" >&5
2736 echo "${ECHO_T}yes" >&6
2737 else
2738 echo "$as_me:$LINENO: result: no" >&5
2739 echo "${ECHO_T}no" >&6
2740 fi
2741
2742
2743 enablestring=
2744 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2745 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2746 no_cache=0
2747 # Check whether --enable-gpe or --disable-gpe was given.
2748 if test "${enable_gpe+set}" = set; then
2749 enableval="$enable_gpe"
2750
2751 if test "$enableval" = yes; then
2752 ac_cv_use_gpe='wxUSE_GPE=yes'
2753 else
2754 ac_cv_use_gpe='wxUSE_GPE=no'
2755 fi
2756
2757 else
2758
2759 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2760 if test "x$LINE" != x ; then
2761 eval "DEFAULT_$LINE"
2762 else
2763 no_cache=1
2764 fi
2765
2766 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2767
2768 fi;
2769
2770 eval "$ac_cv_use_gpe"
2771 if test "$no_cache" != 1; then
2772 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2773 fi
2774
2775 if test "$wxUSE_GPE" = yes; then
2776 echo "$as_me:$LINENO: result: yes" >&5
2777 echo "${ECHO_T}yes" >&6
2778 else
2779 echo "$as_me:$LINENO: result: no" >&5
2780 echo "${ECHO_T}no" >&6
2781 fi
2782
2783
2784
2785 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2786 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2787 no_cache=0
2788
2789 # Check whether --with-libpng or --without-libpng was given.
2790 if test "${with_libpng+set}" = set; then
2791 withval="$with_libpng"
2792
2793 if test "$withval" = yes; then
2794 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2795 elif test "$withval" = no; then
2796 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2797 elif test "$withval" = sys; then
2798 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2799 elif test "$withval" = builtin; then
2800 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2801 else
2802 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2803 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2804 { (exit 1); exit 1; }; }
2805 fi
2806
2807 else
2808
2809 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2810 if test "x$LINE" != x ; then
2811 eval "DEFAULT_$LINE"
2812 else
2813 no_cache=1
2814 fi
2815
2816 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2817
2818 fi;
2819
2820 eval "$ac_cv_use_libpng"
2821 if test "$no_cache" != 1; then
2822 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2823 fi
2824
2825 if test "$wxUSE_LIBPNG" = yes; then
2826 echo "$as_me:$LINENO: result: yes" >&5
2827 echo "${ECHO_T}yes" >&6
2828 elif test "$wxUSE_LIBPNG" = no; then
2829 echo "$as_me:$LINENO: result: no" >&5
2830 echo "${ECHO_T}no" >&6
2831 elif test "$wxUSE_LIBPNG" = sys; then
2832 echo "$as_me:$LINENO: result: system version" >&5
2833 echo "${ECHO_T}system version" >&6
2834 elif test "$wxUSE_LIBPNG" = builtin; then
2835 echo "$as_me:$LINENO: result: builtin version" >&5
2836 echo "${ECHO_T}builtin version" >&6
2837 else
2838 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2839 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2840 { (exit 1); exit 1; }; }
2841 fi
2842
2843
2844 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2845 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2846 no_cache=0
2847
2848 # Check whether --with-libjpeg or --without-libjpeg was given.
2849 if test "${with_libjpeg+set}" = set; then
2850 withval="$with_libjpeg"
2851
2852 if test "$withval" = yes; then
2853 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2854 elif test "$withval" = no; then
2855 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2856 elif test "$withval" = sys; then
2857 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2858 elif test "$withval" = builtin; then
2859 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2860 else
2861 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2862 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2863 { (exit 1); exit 1; }; }
2864 fi
2865
2866 else
2867
2868 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2869 if test "x$LINE" != x ; then
2870 eval "DEFAULT_$LINE"
2871 else
2872 no_cache=1
2873 fi
2874
2875 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2876
2877 fi;
2878
2879 eval "$ac_cv_use_libjpeg"
2880 if test "$no_cache" != 1; then
2881 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2882 fi
2883
2884 if test "$wxUSE_LIBJPEG" = yes; then
2885 echo "$as_me:$LINENO: result: yes" >&5
2886 echo "${ECHO_T}yes" >&6
2887 elif test "$wxUSE_LIBJPEG" = no; then
2888 echo "$as_me:$LINENO: result: no" >&5
2889 echo "${ECHO_T}no" >&6
2890 elif test "$wxUSE_LIBJPEG" = sys; then
2891 echo "$as_me:$LINENO: result: system version" >&5
2892 echo "${ECHO_T}system version" >&6
2893 elif test "$wxUSE_LIBJPEG" = builtin; then
2894 echo "$as_me:$LINENO: result: builtin version" >&5
2895 echo "${ECHO_T}builtin version" >&6
2896 else
2897 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2898 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2899 { (exit 1); exit 1; }; }
2900 fi
2901
2902
2903 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2904 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2905 no_cache=0
2906
2907 # Check whether --with-libtiff or --without-libtiff was given.
2908 if test "${with_libtiff+set}" = set; then
2909 withval="$with_libtiff"
2910
2911 if test "$withval" = yes; then
2912 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2913 elif test "$withval" = no; then
2914 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2915 elif test "$withval" = sys; then
2916 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2917 elif test "$withval" = builtin; then
2918 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2919 else
2920 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2921 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2922 { (exit 1); exit 1; }; }
2923 fi
2924
2925 else
2926
2927 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2928 if test "x$LINE" != x ; then
2929 eval "DEFAULT_$LINE"
2930 else
2931 no_cache=1
2932 fi
2933
2934 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2935
2936 fi;
2937
2938 eval "$ac_cv_use_libtiff"
2939 if test "$no_cache" != 1; then
2940 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2941 fi
2942
2943 if test "$wxUSE_LIBTIFF" = yes; then
2944 echo "$as_me:$LINENO: result: yes" >&5
2945 echo "${ECHO_T}yes" >&6
2946 elif test "$wxUSE_LIBTIFF" = no; then
2947 echo "$as_me:$LINENO: result: no" >&5
2948 echo "${ECHO_T}no" >&6
2949 elif test "$wxUSE_LIBTIFF" = sys; then
2950 echo "$as_me:$LINENO: result: system version" >&5
2951 echo "${ECHO_T}system version" >&6
2952 elif test "$wxUSE_LIBTIFF" = builtin; then
2953 echo "$as_me:$LINENO: result: builtin version" >&5
2954 echo "${ECHO_T}builtin version" >&6
2955 else
2956 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2957 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2958 { (exit 1); exit 1; }; }
2959 fi
2960
2961
2962 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2963 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2964 no_cache=0
2965
2966 # Check whether --with-libxpm or --without-libxpm was given.
2967 if test "${with_libxpm+set}" = set; then
2968 withval="$with_libxpm"
2969
2970 if test "$withval" = yes; then
2971 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
2972 elif test "$withval" = no; then
2973 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
2974 elif test "$withval" = sys; then
2975 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
2976 elif test "$withval" = builtin; then
2977 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
2978 else
2979 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2980 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2981 { (exit 1); exit 1; }; }
2982 fi
2983
2984 else
2985
2986 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2987 if test "x$LINE" != x ; then
2988 eval "DEFAULT_$LINE"
2989 else
2990 no_cache=1
2991 fi
2992
2993 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2994
2995 fi;
2996
2997 eval "$ac_cv_use_libxpm"
2998 if test "$no_cache" != 1; then
2999 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3000 fi
3001
3002 if test "$wxUSE_LIBXPM" = yes; then
3003 echo "$as_me:$LINENO: result: yes" >&5
3004 echo "${ECHO_T}yes" >&6
3005 elif test "$wxUSE_LIBXPM" = no; then
3006 echo "$as_me:$LINENO: result: no" >&5
3007 echo "${ECHO_T}no" >&6
3008 elif test "$wxUSE_LIBXPM" = sys; then
3009 echo "$as_me:$LINENO: result: system version" >&5
3010 echo "${ECHO_T}system version" >&6
3011 elif test "$wxUSE_LIBXPM" = builtin; then
3012 echo "$as_me:$LINENO: result: builtin version" >&5
3013 echo "${ECHO_T}builtin version" >&6
3014 else
3015 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3016 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3017 { (exit 1); exit 1; }; }
3018 fi
3019
3020
3021 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
3022 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
3023 no_cache=0
3024
3025 # Check whether --with-libmspack or --without-libmspack was given.
3026 if test "${with_libmspack+set}" = set; then
3027 withval="$with_libmspack"
3028
3029 if test "$withval" = yes; then
3030 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3031 else
3032 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3033 fi
3034
3035 else
3036
3037 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3038 if test "x$LINE" != x ; then
3039 eval "DEFAULT_$LINE"
3040 else
3041 no_cache=1
3042 fi
3043
3044 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3045
3046 fi;
3047
3048 eval "$ac_cv_use_libmspack"
3049 if test "$no_cache" != 1; then
3050 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3051 fi
3052
3053 if test "$wxUSE_LIBMSPACK" = yes; then
3054 echo "$as_me:$LINENO: result: yes" >&5
3055 echo "${ECHO_T}yes" >&6
3056 else
3057 echo "$as_me:$LINENO: result: no" >&5
3058 echo "${ECHO_T}no" >&6
3059 fi
3060
3061
3062 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3063 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3064 no_cache=0
3065
3066 # Check whether --with-sdl or --without-sdl was given.
3067 if test "${with_sdl+set}" = set; then
3068 withval="$with_sdl"
3069
3070 if test "$withval" = yes; then
3071 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3072 else
3073 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3074 fi
3075
3076 else
3077
3078 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3079 if test "x$LINE" != x ; then
3080 eval "DEFAULT_$LINE"
3081 else
3082 no_cache=1
3083 fi
3084
3085 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3086
3087 fi;
3088
3089 eval "$ac_cv_use_sdl"
3090 if test "$no_cache" != 1; then
3091 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3092 fi
3093
3094 if test "$wxUSE_LIBSDL" = yes; then
3095 echo "$as_me:$LINENO: result: yes" >&5
3096 echo "${ECHO_T}yes" >&6
3097 else
3098 echo "$as_me:$LINENO: result: no" >&5
3099 echo "${ECHO_T}no" >&6
3100 fi
3101
3102
3103 echo "$as_me:$LINENO: checking for --with-gnomeprint" >&5
3104 echo $ECHO_N "checking for --with-gnomeprint... $ECHO_C" >&6
3105 no_cache=0
3106
3107 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3108 if test "${with_gnomeprint+set}" = set; then
3109 withval="$with_gnomeprint"
3110
3111 if test "$withval" = yes; then
3112 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3113 else
3114 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3115 fi
3116
3117 else
3118
3119 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3120 if test "x$LINE" != x ; then
3121 eval "DEFAULT_$LINE"
3122 else
3123 no_cache=1
3124 fi
3125
3126 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3127
3128 fi;
3129
3130 eval "$ac_cv_use_gnomeprint"
3131 if test "$no_cache" != 1; then
3132 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3133 fi
3134
3135 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3136 echo "$as_me:$LINENO: result: yes" >&5
3137 echo "${ECHO_T}yes" >&6
3138 else
3139 echo "$as_me:$LINENO: result: no" >&5
3140 echo "${ECHO_T}no" >&6
3141 fi
3142
3143
3144 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3145 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3146 no_cache=0
3147
3148 # Check whether --with-opengl or --without-opengl was given.
3149 if test "${with_opengl+set}" = set; then
3150 withval="$with_opengl"
3151
3152 if test "$withval" = yes; then
3153 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3154 else
3155 ac_cv_use_opengl='wxUSE_OPENGL=no'
3156 fi
3157
3158 else
3159
3160 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3161 if test "x$LINE" != x ; then
3162 eval "DEFAULT_$LINE"
3163 else
3164 no_cache=1
3165 fi
3166
3167 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3168
3169 fi;
3170
3171 eval "$ac_cv_use_opengl"
3172 if test "$no_cache" != 1; then
3173 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3174 fi
3175
3176 if test "$wxUSE_OPENGL" = yes; then
3177 echo "$as_me:$LINENO: result: yes" >&5
3178 echo "${ECHO_T}yes" >&6
3179 else
3180 echo "$as_me:$LINENO: result: no" >&5
3181 echo "${ECHO_T}no" >&6
3182 fi
3183
3184
3185 fi
3186
3187
3188 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3189 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3190 no_cache=0
3191
3192 # Check whether --with-dmalloc or --without-dmalloc was given.
3193 if test "${with_dmalloc+set}" = set; then
3194 withval="$with_dmalloc"
3195
3196 if test "$withval" = yes; then
3197 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3198 else
3199 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3200 fi
3201
3202 else
3203
3204 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3205 if test "x$LINE" != x ; then
3206 eval "DEFAULT_$LINE"
3207 else
3208 no_cache=1
3209 fi
3210
3211 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3212
3213 fi;
3214
3215 eval "$ac_cv_use_dmalloc"
3216 if test "$no_cache" != 1; then
3217 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3218 fi
3219
3220 if test "$wxUSE_DMALLOC" = yes; then
3221 echo "$as_me:$LINENO: result: yes" >&5
3222 echo "${ECHO_T}yes" >&6
3223 else
3224 echo "$as_me:$LINENO: result: no" >&5
3225 echo "${ECHO_T}no" >&6
3226 fi
3227
3228
3229 echo "$as_me:$LINENO: checking for --with-regex" >&5
3230 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3231 no_cache=0
3232
3233 # Check whether --with-regex or --without-regex was given.
3234 if test "${with_regex+set}" = set; then
3235 withval="$with_regex"
3236
3237 if test "$withval" = yes; then
3238 ac_cv_use_regex='wxUSE_REGEX=yes'
3239 elif test "$withval" = no; then
3240 ac_cv_use_regex='wxUSE_REGEX=no'
3241 elif test "$withval" = sys; then
3242 ac_cv_use_regex='wxUSE_REGEX=sys'
3243 elif test "$withval" = builtin; then
3244 ac_cv_use_regex='wxUSE_REGEX=builtin'
3245 else
3246 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3247 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3248 { (exit 1); exit 1; }; }
3249 fi
3250
3251 else
3252
3253 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3254 if test "x$LINE" != x ; then
3255 eval "DEFAULT_$LINE"
3256 else
3257 no_cache=1
3258 fi
3259
3260 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3261
3262 fi;
3263
3264 eval "$ac_cv_use_regex"
3265 if test "$no_cache" != 1; then
3266 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3267 fi
3268
3269 if test "$wxUSE_REGEX" = yes; then
3270 echo "$as_me:$LINENO: result: yes" >&5
3271 echo "${ECHO_T}yes" >&6
3272 elif test "$wxUSE_REGEX" = no; then
3273 echo "$as_me:$LINENO: result: no" >&5
3274 echo "${ECHO_T}no" >&6
3275 elif test "$wxUSE_REGEX" = sys; then
3276 echo "$as_me:$LINENO: result: system version" >&5
3277 echo "${ECHO_T}system version" >&6
3278 elif test "$wxUSE_REGEX" = builtin; then
3279 echo "$as_me:$LINENO: result: builtin version" >&5
3280 echo "${ECHO_T}builtin version" >&6
3281 else
3282 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3283 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3284 { (exit 1); exit 1; }; }
3285 fi
3286
3287
3288 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3289 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3290 no_cache=0
3291
3292 # Check whether --with-zlib or --without-zlib was given.
3293 if test "${with_zlib+set}" = set; then
3294 withval="$with_zlib"
3295
3296 if test "$withval" = yes; then
3297 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3298 elif test "$withval" = no; then
3299 ac_cv_use_zlib='wxUSE_ZLIB=no'
3300 elif test "$withval" = sys; then
3301 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3302 elif test "$withval" = builtin; then
3303 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3304 else
3305 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3306 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3307 { (exit 1); exit 1; }; }
3308 fi
3309
3310 else
3311
3312 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3313 if test "x$LINE" != x ; then
3314 eval "DEFAULT_$LINE"
3315 else
3316 no_cache=1
3317 fi
3318
3319 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3320
3321 fi;
3322
3323 eval "$ac_cv_use_zlib"
3324 if test "$no_cache" != 1; then
3325 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3326 fi
3327
3328 if test "$wxUSE_ZLIB" = yes; then
3329 echo "$as_me:$LINENO: result: yes" >&5
3330 echo "${ECHO_T}yes" >&6
3331 elif test "$wxUSE_ZLIB" = no; then
3332 echo "$as_me:$LINENO: result: no" >&5
3333 echo "${ECHO_T}no" >&6
3334 elif test "$wxUSE_ZLIB" = sys; then
3335 echo "$as_me:$LINENO: result: system version" >&5
3336 echo "${ECHO_T}system version" >&6
3337 elif test "$wxUSE_ZLIB" = builtin; then
3338 echo "$as_me:$LINENO: result: builtin version" >&5
3339 echo "${ECHO_T}builtin version" >&6
3340 else
3341 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3342 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3343 { (exit 1); exit 1; }; }
3344 fi
3345
3346
3347 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3348 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3349 no_cache=0
3350
3351 # Check whether --with-odbc or --without-odbc was given.
3352 if test "${with_odbc+set}" = set; then
3353 withval="$with_odbc"
3354
3355 if test "$withval" = yes; then
3356 ac_cv_use_odbc='wxUSE_ODBC=yes'
3357 elif test "$withval" = no; then
3358 ac_cv_use_odbc='wxUSE_ODBC=no'
3359 elif test "$withval" = sys; then
3360 ac_cv_use_odbc='wxUSE_ODBC=sys'
3361 elif test "$withval" = builtin; then
3362 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3363 else
3364 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3365 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3366 { (exit 1); exit 1; }; }
3367 fi
3368
3369 else
3370
3371 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3372 if test "x$LINE" != x ; then
3373 eval "DEFAULT_$LINE"
3374 else
3375 no_cache=1
3376 fi
3377
3378 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3379
3380 fi;
3381
3382 eval "$ac_cv_use_odbc"
3383 if test "$no_cache" != 1; then
3384 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3385 fi
3386
3387 if test "$wxUSE_ODBC" = yes; then
3388 echo "$as_me:$LINENO: result: yes" >&5
3389 echo "${ECHO_T}yes" >&6
3390 elif test "$wxUSE_ODBC" = no; then
3391 echo "$as_me:$LINENO: result: no" >&5
3392 echo "${ECHO_T}no" >&6
3393 elif test "$wxUSE_ODBC" = sys; then
3394 echo "$as_me:$LINENO: result: system version" >&5
3395 echo "${ECHO_T}system version" >&6
3396 elif test "$wxUSE_ODBC" = builtin; then
3397 echo "$as_me:$LINENO: result: builtin version" >&5
3398 echo "${ECHO_T}builtin version" >&6
3399 else
3400 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3401 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3402 { (exit 1); exit 1; }; }
3403 fi
3404
3405
3406 echo "$as_me:$LINENO: checking for --with-expat" >&5
3407 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3408 no_cache=0
3409
3410 # Check whether --with-expat or --without-expat was given.
3411 if test "${with_expat+set}" = set; then
3412 withval="$with_expat"
3413
3414 if test "$withval" = yes; then
3415 ac_cv_use_expat='wxUSE_EXPAT=yes'
3416 elif test "$withval" = no; then
3417 ac_cv_use_expat='wxUSE_EXPAT=no'
3418 elif test "$withval" = sys; then
3419 ac_cv_use_expat='wxUSE_EXPAT=sys'
3420 elif test "$withval" = builtin; then
3421 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3422 else
3423 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3424 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3425 { (exit 1); exit 1; }; }
3426 fi
3427
3428 else
3429
3430 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3431 if test "x$LINE" != x ; then
3432 eval "DEFAULT_$LINE"
3433 else
3434 no_cache=1
3435 fi
3436
3437 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3438
3439 fi;
3440
3441 eval "$ac_cv_use_expat"
3442 if test "$no_cache" != 1; then
3443 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3444 fi
3445
3446 if test "$wxUSE_EXPAT" = yes; then
3447 echo "$as_me:$LINENO: result: yes" >&5
3448 echo "${ECHO_T}yes" >&6
3449 elif test "$wxUSE_EXPAT" = no; then
3450 echo "$as_me:$LINENO: result: no" >&5
3451 echo "${ECHO_T}no" >&6
3452 elif test "$wxUSE_EXPAT" = sys; then
3453 echo "$as_me:$LINENO: result: system version" >&5
3454 echo "${ECHO_T}system version" >&6
3455 elif test "$wxUSE_EXPAT" = builtin; then
3456 echo "$as_me:$LINENO: result: builtin version" >&5
3457 echo "${ECHO_T}builtin version" >&6
3458 else
3459 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3460 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3461 { (exit 1); exit 1; }; }
3462 fi
3463
3464
3465
3466
3467 enablestring=
3468 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3469 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3470 no_cache=0
3471 # Check whether --enable-shared or --disable-shared was given.
3472 if test "${enable_shared+set}" = set; then
3473 enableval="$enable_shared"
3474
3475 if test "$enableval" = yes; then
3476 ac_cv_use_shared='wxUSE_SHARED=yes'
3477 else
3478 ac_cv_use_shared='wxUSE_SHARED=no'
3479 fi
3480
3481 else
3482
3483 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3484 if test "x$LINE" != x ; then
3485 eval "DEFAULT_$LINE"
3486 else
3487 no_cache=1
3488 fi
3489
3490 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3491
3492 fi;
3493
3494 eval "$ac_cv_use_shared"
3495 if test "$no_cache" != 1; then
3496 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3497 fi
3498
3499 if test "$wxUSE_SHARED" = yes; then
3500 echo "$as_me:$LINENO: result: yes" >&5
3501 echo "${ECHO_T}yes" >&6
3502 else
3503 echo "$as_me:$LINENO: result: no" >&5
3504 echo "${ECHO_T}no" >&6
3505 fi
3506
3507
3508 enablestring=
3509 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3510 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3511 no_cache=0
3512 # Check whether --enable-optimise or --disable-optimise was given.
3513 if test "${enable_optimise+set}" = set; then
3514 enableval="$enable_optimise"
3515
3516 if test "$enableval" = yes; then
3517 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3518 else
3519 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3520 fi
3521
3522 else
3523
3524 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3525 if test "x$LINE" != x ; then
3526 eval "DEFAULT_$LINE"
3527 else
3528 no_cache=1
3529 fi
3530
3531 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3532
3533 fi;
3534
3535 eval "$ac_cv_use_optimise"
3536 if test "$no_cache" != 1; then
3537 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3538 fi
3539
3540 if test "$wxUSE_OPTIMISE" = yes; then
3541 echo "$as_me:$LINENO: result: yes" >&5
3542 echo "${ECHO_T}yes" >&6
3543 else
3544 echo "$as_me:$LINENO: result: no" >&5
3545 echo "${ECHO_T}no" >&6
3546 fi
3547
3548
3549 enablestring=
3550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3551 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3552 no_cache=0
3553 # Check whether --enable-debug or --disable-debug was given.
3554 if test "${enable_debug+set}" = set; then
3555 enableval="$enable_debug"
3556
3557 if test "$enableval" = yes; then
3558 ac_cv_use_debug='wxUSE_DEBUG=yes'
3559 else
3560 ac_cv_use_debug='wxUSE_DEBUG=no'
3561 fi
3562
3563 else
3564
3565 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3566 if test "x$LINE" != x ; then
3567 eval "DEFAULT_$LINE"
3568 else
3569 no_cache=1
3570 fi
3571
3572 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3573
3574 fi;
3575
3576 eval "$ac_cv_use_debug"
3577 if test "$no_cache" != 1; then
3578 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3579 fi
3580
3581 if test "$wxUSE_DEBUG" = yes; then
3582 echo "$as_me:$LINENO: result: yes" >&5
3583 echo "${ECHO_T}yes" >&6
3584 else
3585 echo "$as_me:$LINENO: result: no" >&5
3586 echo "${ECHO_T}no" >&6
3587 fi
3588
3589
3590 enablestring=
3591 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3592 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3593 no_cache=0
3594 # Check whether --enable-stl or --disable-stl was given.
3595 if test "${enable_stl+set}" = set; then
3596 enableval="$enable_stl"
3597
3598 if test "$enableval" = yes; then
3599 ac_cv_use_stl='wxUSE_STL=yes'
3600 else
3601 ac_cv_use_stl='wxUSE_STL=no'
3602 fi
3603
3604 else
3605
3606 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3607 if test "x$LINE" != x ; then
3608 eval "DEFAULT_$LINE"
3609 else
3610 no_cache=1
3611 fi
3612
3613 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3614
3615 fi;
3616
3617 eval "$ac_cv_use_stl"
3618 if test "$no_cache" != 1; then
3619 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3620 fi
3621
3622 if test "$wxUSE_STL" = yes; then
3623 echo "$as_me:$LINENO: result: yes" >&5
3624 echo "${ECHO_T}yes" >&6
3625 else
3626 echo "$as_me:$LINENO: result: no" >&5
3627 echo "${ECHO_T}no" >&6
3628 fi
3629
3630 if test "$USE_OS2" = "1"; then
3631
3632 enablestring=
3633 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3634 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3635 no_cache=0
3636 # Check whether --enable-omf or --disable-omf was given.
3637 if test "${enable_omf+set}" = set; then
3638 enableval="$enable_omf"
3639
3640 if test "$enableval" = yes; then
3641 ac_cv_use_omf='wxUSE_OMF=yes'
3642 else
3643 ac_cv_use_omf='wxUSE_OMF=no'
3644 fi
3645
3646 else
3647
3648 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3649 if test "x$LINE" != x ; then
3650 eval "DEFAULT_$LINE"
3651 else
3652 no_cache=1
3653 fi
3654
3655 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3656
3657 fi;
3658
3659 eval "$ac_cv_use_omf"
3660 if test "$no_cache" != 1; then
3661 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3662 fi
3663
3664 if test "$wxUSE_OMF" = yes; then
3665 echo "$as_me:$LINENO: result: yes" >&5
3666 echo "${ECHO_T}yes" >&6
3667 else
3668 echo "$as_me:$LINENO: result: no" >&5
3669 echo "${ECHO_T}no" >&6
3670 fi
3671
3672 fi
3673
3674 if test "$wxUSE_DEBUG" = "yes"; then
3675 DEFAULT_wxUSE_DEBUG_FLAG=yes
3676 DEFAULT_wxUSE_DEBUG_INFO=yes
3677 BUILD=debug
3678 elif test "$wxUSE_DEBUG" = "no"; then
3679 DEFAULT_wxUSE_DEBUG_FLAG=no
3680 DEFAULT_wxUSE_DEBUG_INFO=no
3681 BUILD=release
3682 fi
3683
3684
3685 enablestring=
3686 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3687 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3688 no_cache=0
3689 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3690 if test "${enable_debug_flag+set}" = set; then
3691 enableval="$enable_debug_flag"
3692
3693 if test "$enableval" = yes; then
3694 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3695 else
3696 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3697 fi
3698
3699 else
3700
3701 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3702 if test "x$LINE" != x ; then
3703 eval "DEFAULT_$LINE"
3704 else
3705 no_cache=1
3706 fi
3707
3708 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3709
3710 fi;
3711
3712 eval "$ac_cv_use_debug_flag"
3713 if test "$no_cache" != 1; then
3714 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3715 fi
3716
3717 if test "$wxUSE_DEBUG_FLAG" = yes; then
3718 echo "$as_me:$LINENO: result: yes" >&5
3719 echo "${ECHO_T}yes" >&6
3720 else
3721 echo "$as_me:$LINENO: result: no" >&5
3722 echo "${ECHO_T}no" >&6
3723 fi
3724
3725
3726 enablestring=
3727 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3728 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3729 no_cache=0
3730 # Check whether --enable-debug_info or --disable-debug_info was given.
3731 if test "${enable_debug_info+set}" = set; then
3732 enableval="$enable_debug_info"
3733
3734 if test "$enableval" = yes; then
3735 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3736 else
3737 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3738 fi
3739
3740 else
3741
3742 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3743 if test "x$LINE" != x ; then
3744 eval "DEFAULT_$LINE"
3745 else
3746 no_cache=1
3747 fi
3748
3749 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3750
3751 fi;
3752
3753 eval "$ac_cv_use_debug_info"
3754 if test "$no_cache" != 1; then
3755 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3756 fi
3757
3758 if test "$wxUSE_DEBUG_INFO" = yes; then
3759 echo "$as_me:$LINENO: result: yes" >&5
3760 echo "${ECHO_T}yes" >&6
3761 else
3762 echo "$as_me:$LINENO: result: no" >&5
3763 echo "${ECHO_T}no" >&6
3764 fi
3765
3766
3767 enablestring=
3768 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3769 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3770 no_cache=0
3771 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3772 if test "${enable_debug_gdb+set}" = set; then
3773 enableval="$enable_debug_gdb"
3774
3775 if test "$enableval" = yes; then
3776 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3777 else
3778 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3779 fi
3780
3781 else
3782
3783 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3784 if test "x$LINE" != x ; then
3785 eval "DEFAULT_$LINE"
3786 else
3787 no_cache=1
3788 fi
3789
3790 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3791
3792 fi;
3793
3794 eval "$ac_cv_use_debug_gdb"
3795 if test "$no_cache" != 1; then
3796 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3797 fi
3798
3799 if test "$wxUSE_DEBUG_GDB" = yes; then
3800 echo "$as_me:$LINENO: result: yes" >&5
3801 echo "${ECHO_T}yes" >&6
3802 else
3803 echo "$as_me:$LINENO: result: no" >&5
3804 echo "${ECHO_T}no" >&6
3805 fi
3806
3807
3808 enablestring=
3809 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3810 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3811 no_cache=0
3812 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3813 if test "${enable_debug_cntxt+set}" = set; then
3814 enableval="$enable_debug_cntxt"
3815
3816 if test "$enableval" = yes; then
3817 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3818 else
3819 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3820 fi
3821
3822 else
3823
3824 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3825 if test "x$LINE" != x ; then
3826 eval "DEFAULT_$LINE"
3827 else
3828 no_cache=1
3829 fi
3830
3831 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3832
3833 fi;
3834
3835 eval "$ac_cv_use_debug_cntxt"
3836 if test "$no_cache" != 1; then
3837 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3838 fi
3839
3840 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3841 echo "$as_me:$LINENO: result: yes" >&5
3842 echo "${ECHO_T}yes" >&6
3843 else
3844 echo "$as_me:$LINENO: result: no" >&5
3845 echo "${ECHO_T}no" >&6
3846 fi
3847
3848
3849 enablestring=
3850 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3851 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3852 no_cache=0
3853 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3854 if test "${enable_mem_tracing+set}" = set; then
3855 enableval="$enable_mem_tracing"
3856
3857 if test "$enableval" = yes; then
3858 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3859 else
3860 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3861 fi
3862
3863 else
3864
3865 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3866 if test "x$LINE" != x ; then
3867 eval "DEFAULT_$LINE"
3868 else
3869 no_cache=1
3870 fi
3871
3872 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3873
3874 fi;
3875
3876 eval "$ac_cv_use_mem_tracing"
3877 if test "$no_cache" != 1; then
3878 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3879 fi
3880
3881 if test "$wxUSE_MEM_TRACING" = yes; then
3882 echo "$as_me:$LINENO: result: yes" >&5
3883 echo "${ECHO_T}yes" >&6
3884 else
3885 echo "$as_me:$LINENO: result: no" >&5
3886 echo "${ECHO_T}no" >&6
3887 fi
3888
3889
3890 enablestring=
3891 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3892 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3893 no_cache=0
3894 # Check whether --enable-profile or --disable-profile was given.
3895 if test "${enable_profile+set}" = set; then
3896 enableval="$enable_profile"
3897
3898 if test "$enableval" = yes; then
3899 ac_cv_use_profile='wxUSE_PROFILE=yes'
3900 else
3901 ac_cv_use_profile='wxUSE_PROFILE=no'
3902 fi
3903
3904 else
3905
3906 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3907 if test "x$LINE" != x ; then
3908 eval "DEFAULT_$LINE"
3909 else
3910 no_cache=1
3911 fi
3912
3913 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3914
3915 fi;
3916
3917 eval "$ac_cv_use_profile"
3918 if test "$no_cache" != 1; then
3919 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3920 fi
3921
3922 if test "$wxUSE_PROFILE" = yes; then
3923 echo "$as_me:$LINENO: result: yes" >&5
3924 echo "${ECHO_T}yes" >&6
3925 else
3926 echo "$as_me:$LINENO: result: no" >&5
3927 echo "${ECHO_T}no" >&6
3928 fi
3929
3930
3931 enablestring=
3932 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3933 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3934 no_cache=0
3935 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3936 if test "${enable_no_rtti+set}" = set; then
3937 enableval="$enable_no_rtti"
3938
3939 if test "$enableval" = yes; then
3940 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3941 else
3942 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3943 fi
3944
3945 else
3946
3947 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3948 if test "x$LINE" != x ; then
3949 eval "DEFAULT_$LINE"
3950 else
3951 no_cache=1
3952 fi
3953
3954 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3955
3956 fi;
3957
3958 eval "$ac_cv_use_no_rtti"
3959 if test "$no_cache" != 1; then
3960 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3961 fi
3962
3963 if test "$wxUSE_NO_RTTI" = yes; then
3964 echo "$as_me:$LINENO: result: yes" >&5
3965 echo "${ECHO_T}yes" >&6
3966 else
3967 echo "$as_me:$LINENO: result: no" >&5
3968 echo "${ECHO_T}no" >&6
3969 fi
3970
3971
3972 enablestring=
3973 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3974 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3975 no_cache=0
3976 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3977 if test "${enable_no_exceptions+set}" = set; then
3978 enableval="$enable_no_exceptions"
3979
3980 if test "$enableval" = yes; then
3981 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3982 else
3983 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3984 fi
3985
3986 else
3987
3988 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3989 if test "x$LINE" != x ; then
3990 eval "DEFAULT_$LINE"
3991 else
3992 no_cache=1
3993 fi
3994
3995 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3996
3997 fi;
3998
3999 eval "$ac_cv_use_no_exceptions"
4000 if test "$no_cache" != 1; then
4001 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4002 fi
4003
4004 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4005 echo "$as_me:$LINENO: result: yes" >&5
4006 echo "${ECHO_T}yes" >&6
4007 else
4008 echo "$as_me:$LINENO: result: no" >&5
4009 echo "${ECHO_T}no" >&6
4010 fi
4011
4012
4013 enablestring=
4014 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4015 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4016 no_cache=0
4017 # Check whether --enable-permissive or --disable-permissive was given.
4018 if test "${enable_permissive+set}" = set; then
4019 enableval="$enable_permissive"
4020
4021 if test "$enableval" = yes; then
4022 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4023 else
4024 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4025 fi
4026
4027 else
4028
4029 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4030 if test "x$LINE" != x ; then
4031 eval "DEFAULT_$LINE"
4032 else
4033 no_cache=1
4034 fi
4035
4036 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4037
4038 fi;
4039
4040 eval "$ac_cv_use_permissive"
4041 if test "$no_cache" != 1; then
4042 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4043 fi
4044
4045 if test "$wxUSE_PERMISSIVE" = yes; then
4046 echo "$as_me:$LINENO: result: yes" >&5
4047 echo "${ECHO_T}yes" >&6
4048 else
4049 echo "$as_me:$LINENO: result: no" >&5
4050 echo "${ECHO_T}no" >&6
4051 fi
4052
4053
4054 enablestring=
4055 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4056 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4057 no_cache=0
4058 # Check whether --enable-no_deps or --disable-no_deps was given.
4059 if test "${enable_no_deps+set}" = set; then
4060 enableval="$enable_no_deps"
4061
4062 if test "$enableval" = yes; then
4063 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4064 else
4065 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4066 fi
4067
4068 else
4069
4070 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4071 if test "x$LINE" != x ; then
4072 eval "DEFAULT_$LINE"
4073 else
4074 no_cache=1
4075 fi
4076
4077 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4078
4079 fi;
4080
4081 eval "$ac_cv_use_no_deps"
4082 if test "$no_cache" != 1; then
4083 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4084 fi
4085
4086 if test "$wxUSE_NO_DEPS" = yes; then
4087 echo "$as_me:$LINENO: result: yes" >&5
4088 echo "${ECHO_T}yes" >&6
4089 else
4090 echo "$as_me:$LINENO: result: no" >&5
4091 echo "${ECHO_T}no" >&6
4092 fi
4093
4094
4095
4096 enablestring=
4097 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4098 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4099 no_cache=0
4100 # Check whether --enable-compat22 or --disable-compat22 was given.
4101 if test "${enable_compat22+set}" = set; then
4102 enableval="$enable_compat22"
4103
4104 if test "$enableval" = yes; then
4105 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
4106 else
4107 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
4108 fi
4109
4110 else
4111
4112 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4113 if test "x$LINE" != x ; then
4114 eval "DEFAULT_$LINE"
4115 else
4116 no_cache=1
4117 fi
4118
4119 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4120
4121 fi;
4122
4123 eval "$ac_cv_use_compat22"
4124 if test "$no_cache" != 1; then
4125 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4126 fi
4127
4128 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4129 echo "$as_me:$LINENO: result: yes" >&5
4130 echo "${ECHO_T}yes" >&6
4131 else
4132 echo "$as_me:$LINENO: result: no" >&5
4133 echo "${ECHO_T}no" >&6
4134 fi
4135
4136
4137 enablestring=disable
4138 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4139 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4140 no_cache=0
4141 # Check whether --enable-compat24 or --disable-compat24 was given.
4142 if test "${enable_compat24+set}" = set; then
4143 enableval="$enable_compat24"
4144
4145 if test "$enableval" = yes; then
4146 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4147 else
4148 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4149 fi
4150
4151 else
4152
4153 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4154 if test "x$LINE" != x ; then
4155 eval "DEFAULT_$LINE"
4156 else
4157 no_cache=1
4158 fi
4159
4160 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4161
4162 fi;
4163
4164 eval "$ac_cv_use_compat24"
4165 if test "$no_cache" != 1; then
4166 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4167 fi
4168
4169 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4170 echo "$as_me:$LINENO: result: yes" >&5
4171 echo "${ECHO_T}yes" >&6
4172 else
4173 echo "$as_me:$LINENO: result: no" >&5
4174 echo "${ECHO_T}no" >&6
4175 fi
4176
4177
4178
4179 enablestring=
4180 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4181 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4182 no_cache=0
4183 # Check whether --enable-rpath or --disable-rpath was given.
4184 if test "${enable_rpath+set}" = set; then
4185 enableval="$enable_rpath"
4186
4187 if test "$enableval" = yes; then
4188 ac_cv_use_rpath='wxUSE_RPATH=yes'
4189 else
4190 ac_cv_use_rpath='wxUSE_RPATH=no'
4191 fi
4192
4193 else
4194
4195 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4196 if test "x$LINE" != x ; then
4197 eval "DEFAULT_$LINE"
4198 else
4199 no_cache=1
4200 fi
4201
4202 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4203
4204 fi;
4205
4206 eval "$ac_cv_use_rpath"
4207 if test "$no_cache" != 1; then
4208 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4209 fi
4210
4211 if test "$wxUSE_RPATH" = yes; then
4212 echo "$as_me:$LINENO: result: yes" >&5
4213 echo "${ECHO_T}yes" >&6
4214 else
4215 echo "$as_me:$LINENO: result: no" >&5
4216 echo "${ECHO_T}no" >&6
4217 fi
4218
4219
4220
4221
4222
4223 enablestring=
4224 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4225 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4226 no_cache=0
4227 # Check whether --enable-intl or --disable-intl was given.
4228 if test "${enable_intl+set}" = set; then
4229 enableval="$enable_intl"
4230
4231 if test "$enableval" = yes; then
4232 ac_cv_use_intl='wxUSE_INTL=yes'
4233 else
4234 ac_cv_use_intl='wxUSE_INTL=no'
4235 fi
4236
4237 else
4238
4239 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4240 if test "x$LINE" != x ; then
4241 eval "DEFAULT_$LINE"
4242 else
4243 no_cache=1
4244 fi
4245
4246 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4247
4248 fi;
4249
4250 eval "$ac_cv_use_intl"
4251 if test "$no_cache" != 1; then
4252 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4253 fi
4254
4255 if test "$wxUSE_INTL" = yes; then
4256 echo "$as_me:$LINENO: result: yes" >&5
4257 echo "${ECHO_T}yes" >&6
4258 else
4259 echo "$as_me:$LINENO: result: no" >&5
4260 echo "${ECHO_T}no" >&6
4261 fi
4262
4263
4264 enablestring=
4265 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4266 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4267 no_cache=0
4268 # Check whether --enable-config or --disable-config was given.
4269 if test "${enable_config+set}" = set; then
4270 enableval="$enable_config"
4271
4272 if test "$enableval" = yes; then
4273 ac_cv_use_config='wxUSE_CONFIG=yes'
4274 else
4275 ac_cv_use_config='wxUSE_CONFIG=no'
4276 fi
4277
4278 else
4279
4280 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4281 if test "x$LINE" != x ; then
4282 eval "DEFAULT_$LINE"
4283 else
4284 no_cache=1
4285 fi
4286
4287 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4288
4289 fi;
4290
4291 eval "$ac_cv_use_config"
4292 if test "$no_cache" != 1; then
4293 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4294 fi
4295
4296 if test "$wxUSE_CONFIG" = yes; then
4297 echo "$as_me:$LINENO: result: yes" >&5
4298 echo "${ECHO_T}yes" >&6
4299 else
4300 echo "$as_me:$LINENO: result: no" >&5
4301 echo "${ECHO_T}no" >&6
4302 fi
4303
4304
4305
4306 enablestring=
4307 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4308 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4309 no_cache=0
4310 # Check whether --enable-protocols or --disable-protocols was given.
4311 if test "${enable_protocols+set}" = set; then
4312 enableval="$enable_protocols"
4313
4314 if test "$enableval" = yes; then
4315 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4316 else
4317 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4318 fi
4319
4320 else
4321
4322 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4323 if test "x$LINE" != x ; then
4324 eval "DEFAULT_$LINE"
4325 else
4326 no_cache=1
4327 fi
4328
4329 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4330
4331 fi;
4332
4333 eval "$ac_cv_use_protocols"
4334 if test "$no_cache" != 1; then
4335 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4336 fi
4337
4338 if test "$wxUSE_PROTOCOL" = yes; then
4339 echo "$as_me:$LINENO: result: yes" >&5
4340 echo "${ECHO_T}yes" >&6
4341 else
4342 echo "$as_me:$LINENO: result: no" >&5
4343 echo "${ECHO_T}no" >&6
4344 fi
4345
4346
4347 enablestring=
4348 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4349 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4350 no_cache=0
4351 # Check whether --enable-ftp or --disable-ftp was given.
4352 if test "${enable_ftp+set}" = set; then
4353 enableval="$enable_ftp"
4354
4355 if test "$enableval" = yes; then
4356 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4357 else
4358 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4359 fi
4360
4361 else
4362
4363 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4364 if test "x$LINE" != x ; then
4365 eval "DEFAULT_$LINE"
4366 else
4367 no_cache=1
4368 fi
4369
4370 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4371
4372 fi;
4373
4374 eval "$ac_cv_use_ftp"
4375 if test "$no_cache" != 1; then
4376 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4377 fi
4378
4379 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4380 echo "$as_me:$LINENO: result: yes" >&5
4381 echo "${ECHO_T}yes" >&6
4382 else
4383 echo "$as_me:$LINENO: result: no" >&5
4384 echo "${ECHO_T}no" >&6
4385 fi
4386
4387
4388 enablestring=
4389 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4390 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4391 no_cache=0
4392 # Check whether --enable-http or --disable-http was given.
4393 if test "${enable_http+set}" = set; then
4394 enableval="$enable_http"
4395
4396 if test "$enableval" = yes; then
4397 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4398 else
4399 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4400 fi
4401
4402 else
4403
4404 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4405 if test "x$LINE" != x ; then
4406 eval "DEFAULT_$LINE"
4407 else
4408 no_cache=1
4409 fi
4410
4411 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4412
4413 fi;
4414
4415 eval "$ac_cv_use_http"
4416 if test "$no_cache" != 1; then
4417 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4418 fi
4419
4420 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4421 echo "$as_me:$LINENO: result: yes" >&5
4422 echo "${ECHO_T}yes" >&6
4423 else
4424 echo "$as_me:$LINENO: result: no" >&5
4425 echo "${ECHO_T}no" >&6
4426 fi
4427
4428
4429 enablestring=
4430 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4431 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4432 no_cache=0
4433 # Check whether --enable-fileproto or --disable-fileproto was given.
4434 if test "${enable_fileproto+set}" = set; then
4435 enableval="$enable_fileproto"
4436
4437 if test "$enableval" = yes; then
4438 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4439 else
4440 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4441 fi
4442
4443 else
4444
4445 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4446 if test "x$LINE" != x ; then
4447 eval "DEFAULT_$LINE"
4448 else
4449 no_cache=1
4450 fi
4451
4452 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4453
4454 fi;
4455
4456 eval "$ac_cv_use_fileproto"
4457 if test "$no_cache" != 1; then
4458 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4459 fi
4460
4461 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4462 echo "$as_me:$LINENO: result: yes" >&5
4463 echo "${ECHO_T}yes" >&6
4464 else
4465 echo "$as_me:$LINENO: result: no" >&5
4466 echo "${ECHO_T}no" >&6
4467 fi
4468
4469
4470 enablestring=
4471 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4472 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4473 no_cache=0
4474 # Check whether --enable-sockets or --disable-sockets was given.
4475 if test "${enable_sockets+set}" = set; then
4476 enableval="$enable_sockets"
4477
4478 if test "$enableval" = yes; then
4479 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4480 else
4481 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4482 fi
4483
4484 else
4485
4486 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4487 if test "x$LINE" != x ; then
4488 eval "DEFAULT_$LINE"
4489 else
4490 no_cache=1
4491 fi
4492
4493 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4494
4495 fi;
4496
4497 eval "$ac_cv_use_sockets"
4498 if test "$no_cache" != 1; then
4499 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4500 fi
4501
4502 if test "$wxUSE_SOCKETS" = yes; then
4503 echo "$as_me:$LINENO: result: yes" >&5
4504 echo "${ECHO_T}yes" >&6
4505 else
4506 echo "$as_me:$LINENO: result: no" >&5
4507 echo "${ECHO_T}no" >&6
4508 fi
4509
4510
4511 enablestring=
4512 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4513 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4514 no_cache=0
4515 # Check whether --enable-ole or --disable-ole was given.
4516 if test "${enable_ole+set}" = set; then
4517 enableval="$enable_ole"
4518
4519 if test "$enableval" = yes; then
4520 ac_cv_use_ole='wxUSE_OLE=yes'
4521 else
4522 ac_cv_use_ole='wxUSE_OLE=no'
4523 fi
4524
4525 else
4526
4527 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4528 if test "x$LINE" != x ; then
4529 eval "DEFAULT_$LINE"
4530 else
4531 no_cache=1
4532 fi
4533
4534 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4535
4536 fi;
4537
4538 eval "$ac_cv_use_ole"
4539 if test "$no_cache" != 1; then
4540 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4541 fi
4542
4543 if test "$wxUSE_OLE" = yes; then
4544 echo "$as_me:$LINENO: result: yes" >&5
4545 echo "${ECHO_T}yes" >&6
4546 else
4547 echo "$as_me:$LINENO: result: no" >&5
4548 echo "${ECHO_T}no" >&6
4549 fi
4550
4551
4552 enablestring=
4553 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4554 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4555 no_cache=0
4556 # Check whether --enable-dataobj or --disable-dataobj was given.
4557 if test "${enable_dataobj+set}" = set; then
4558 enableval="$enable_dataobj"
4559
4560 if test "$enableval" = yes; then
4561 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4562 else
4563 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4564 fi
4565
4566 else
4567
4568 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4569 if test "x$LINE" != x ; then
4570 eval "DEFAULT_$LINE"
4571 else
4572 no_cache=1
4573 fi
4574
4575 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4576
4577 fi;
4578
4579 eval "$ac_cv_use_dataobj"
4580 if test "$no_cache" != 1; then
4581 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4582 fi
4583
4584 if test "$wxUSE_DATAOBJ" = yes; then
4585 echo "$as_me:$LINENO: result: yes" >&5
4586 echo "${ECHO_T}yes" >&6
4587 else
4588 echo "$as_me:$LINENO: result: no" >&5
4589 echo "${ECHO_T}no" >&6
4590 fi
4591
4592
4593
4594 enablestring=
4595 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4596 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4597 no_cache=0
4598 # Check whether --enable-ipc or --disable-ipc was given.
4599 if test "${enable_ipc+set}" = set; then
4600 enableval="$enable_ipc"
4601
4602 if test "$enableval" = yes; then
4603 ac_cv_use_ipc='wxUSE_IPC=yes'
4604 else
4605 ac_cv_use_ipc='wxUSE_IPC=no'
4606 fi
4607
4608 else
4609
4610 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4611 if test "x$LINE" != x ; then
4612 eval "DEFAULT_$LINE"
4613 else
4614 no_cache=1
4615 fi
4616
4617 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4618
4619 fi;
4620
4621 eval "$ac_cv_use_ipc"
4622 if test "$no_cache" != 1; then
4623 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4624 fi
4625
4626 if test "$wxUSE_IPC" = yes; then
4627 echo "$as_me:$LINENO: result: yes" >&5
4628 echo "${ECHO_T}yes" >&6
4629 else
4630 echo "$as_me:$LINENO: result: no" >&5
4631 echo "${ECHO_T}no" >&6
4632 fi
4633
4634
4635
4636 enablestring=
4637 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4638 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4639 no_cache=0
4640 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4641 if test "${enable_apple_ieee+set}" = set; then
4642 enableval="$enable_apple_ieee"
4643
4644 if test "$enableval" = yes; then
4645 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4646 else
4647 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4648 fi
4649
4650 else
4651
4652 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4653 if test "x$LINE" != x ; then
4654 eval "DEFAULT_$LINE"
4655 else
4656 no_cache=1
4657 fi
4658
4659 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4660
4661 fi;
4662
4663 eval "$ac_cv_use_apple_ieee"
4664 if test "$no_cache" != 1; then
4665 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4666 fi
4667
4668 if test "$wxUSE_APPLE_IEEE" = yes; then
4669 echo "$as_me:$LINENO: result: yes" >&5
4670 echo "${ECHO_T}yes" >&6
4671 else
4672 echo "$as_me:$LINENO: result: no" >&5
4673 echo "${ECHO_T}no" >&6
4674 fi
4675
4676
4677 enablestring=
4678 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4679 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4680 no_cache=0
4681 # Check whether --enable-arcstream or --disable-arcstream was given.
4682 if test "${enable_arcstream+set}" = set; then
4683 enableval="$enable_arcstream"
4684
4685 if test "$enableval" = yes; then
4686 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
4687 else
4688 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
4689 fi
4690
4691 else
4692
4693 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4694 if test "x$LINE" != x ; then
4695 eval "DEFAULT_$LINE"
4696 else
4697 no_cache=1
4698 fi
4699
4700 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4701
4702 fi;
4703
4704 eval "$ac_cv_use_arcstream"
4705 if test "$no_cache" != 1; then
4706 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4707 fi
4708
4709 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4710 echo "$as_me:$LINENO: result: yes" >&5
4711 echo "${ECHO_T}yes" >&6
4712 else
4713 echo "$as_me:$LINENO: result: no" >&5
4714 echo "${ECHO_T}no" >&6
4715 fi
4716
4717
4718 enablestring=
4719 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4720 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4721 no_cache=0
4722 # Check whether --enable-backtrace or --disable-backtrace was given.
4723 if test "${enable_backtrace+set}" = set; then
4724 enableval="$enable_backtrace"
4725
4726 if test "$enableval" = yes; then
4727 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
4728 else
4729 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
4730 fi
4731
4732 else
4733
4734 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4735 if test "x$LINE" != x ; then
4736 eval "DEFAULT_$LINE"
4737 else
4738 no_cache=1
4739 fi
4740
4741 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4742
4743 fi;
4744
4745 eval "$ac_cv_use_backtrace"
4746 if test "$no_cache" != 1; then
4747 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4748 fi
4749
4750 if test "$wxUSE_STACKWALKER" = yes; then
4751 echo "$as_me:$LINENO: result: yes" >&5
4752 echo "${ECHO_T}yes" >&6
4753 else
4754 echo "$as_me:$LINENO: result: no" >&5
4755 echo "${ECHO_T}no" >&6
4756 fi
4757
4758
4759 enablestring=
4760 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4761 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4762 no_cache=0
4763 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4764 if test "${enable_catch_segvs+set}" = set; then
4765 enableval="$enable_catch_segvs"
4766
4767 if test "$enableval" = yes; then
4768 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4769 else
4770 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4771 fi
4772
4773 else
4774
4775 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4776 if test "x$LINE" != x ; then
4777 eval "DEFAULT_$LINE"
4778 else
4779 no_cache=1
4780 fi
4781
4782 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4783
4784 fi;
4785
4786 eval "$ac_cv_use_catch_segvs"
4787 if test "$no_cache" != 1; then
4788 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4789 fi
4790
4791 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4792 echo "$as_me:$LINENO: result: yes" >&5
4793 echo "${ECHO_T}yes" >&6
4794 else
4795 echo "$as_me:$LINENO: result: no" >&5
4796 echo "${ECHO_T}no" >&6
4797 fi
4798
4799
4800 enablestring=
4801 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4802 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4803 no_cache=0
4804 # Check whether --enable-cmdline or --disable-cmdline was given.
4805 if test "${enable_cmdline+set}" = set; then
4806 enableval="$enable_cmdline"
4807
4808 if test "$enableval" = yes; then
4809 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4810 else
4811 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4812 fi
4813
4814 else
4815
4816 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4817 if test "x$LINE" != x ; then
4818 eval "DEFAULT_$LINE"
4819 else
4820 no_cache=1
4821 fi
4822
4823 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4824
4825 fi;
4826
4827 eval "$ac_cv_use_cmdline"
4828 if test "$no_cache" != 1; then
4829 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4830 fi
4831
4832 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4833 echo "$as_me:$LINENO: result: yes" >&5
4834 echo "${ECHO_T}yes" >&6
4835 else
4836 echo "$as_me:$LINENO: result: no" >&5
4837 echo "${ECHO_T}no" >&6
4838 fi
4839
4840
4841 enablestring=
4842 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4843 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4844 no_cache=0
4845 # Check whether --enable-datetime or --disable-datetime was given.
4846 if test "${enable_datetime+set}" = set; then
4847 enableval="$enable_datetime"
4848
4849 if test "$enableval" = yes; then
4850 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4851 else
4852 ac_cv_use_datetime='wxUSE_DATETIME=no'
4853 fi
4854
4855 else
4856
4857 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4858 if test "x$LINE" != x ; then
4859 eval "DEFAULT_$LINE"
4860 else
4861 no_cache=1
4862 fi
4863
4864 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4865
4866 fi;
4867
4868 eval "$ac_cv_use_datetime"
4869 if test "$no_cache" != 1; then
4870 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4871 fi
4872
4873 if test "$wxUSE_DATETIME" = yes; then
4874 echo "$as_me:$LINENO: result: yes" >&5
4875 echo "${ECHO_T}yes" >&6
4876 else
4877 echo "$as_me:$LINENO: result: no" >&5
4878 echo "${ECHO_T}no" >&6
4879 fi
4880
4881
4882 enablestring=
4883 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
4884 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
4885 no_cache=0
4886 # Check whether --enable-debugreport or --disable-debugreport was given.
4887 if test "${enable_debugreport+set}" = set; then
4888 enableval="$enable_debugreport"
4889
4890 if test "$enableval" = yes; then
4891 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
4892 else
4893 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
4894 fi
4895
4896 else
4897
4898 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
4899 if test "x$LINE" != x ; then
4900 eval "DEFAULT_$LINE"
4901 else
4902 no_cache=1
4903 fi
4904
4905 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
4906
4907 fi;
4908
4909 eval "$ac_cv_use_debugreport"
4910 if test "$no_cache" != 1; then
4911 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
4912 fi
4913
4914 if test "$wxUSE_DEBUGREPORT" = yes; then
4915 echo "$as_me:$LINENO: result: yes" >&5
4916 echo "${ECHO_T}yes" >&6
4917 else
4918 echo "$as_me:$LINENO: result: no" >&5
4919 echo "${ECHO_T}no" >&6
4920 fi
4921
4922
4923 enablestring=
4924 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4925 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4926 no_cache=0
4927 # Check whether --enable-dialupman or --disable-dialupman was given.
4928 if test "${enable_dialupman+set}" = set; then
4929 enableval="$enable_dialupman"
4930
4931 if test "$enableval" = yes; then
4932 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4933 else
4934 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4935 fi
4936
4937 else
4938
4939 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4940 if test "x$LINE" != x ; then
4941 eval "DEFAULT_$LINE"
4942 else
4943 no_cache=1
4944 fi
4945
4946 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4947
4948 fi;
4949
4950 eval "$ac_cv_use_dialupman"
4951 if test "$no_cache" != 1; then
4952 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4953 fi
4954
4955 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4956 echo "$as_me:$LINENO: result: yes" >&5
4957 echo "${ECHO_T}yes" >&6
4958 else
4959 echo "$as_me:$LINENO: result: no" >&5
4960 echo "${ECHO_T}no" >&6
4961 fi
4962
4963
4964 enablestring=
4965 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4966 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4967 no_cache=0
4968 # Check whether --enable-dynlib or --disable-dynlib was given.
4969 if test "${enable_dynlib+set}" = set; then
4970 enableval="$enable_dynlib"
4971
4972 if test "$enableval" = yes; then
4973 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4974 else
4975 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4976 fi
4977
4978 else
4979
4980 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4981 if test "x$LINE" != x ; then
4982 eval "DEFAULT_$LINE"
4983 else
4984 no_cache=1
4985 fi
4986
4987 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4988
4989 fi;
4990
4991 eval "$ac_cv_use_dynlib"
4992 if test "$no_cache" != 1; then
4993 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4994 fi
4995
4996 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4997 echo "$as_me:$LINENO: result: yes" >&5
4998 echo "${ECHO_T}yes" >&6
4999 else
5000 echo "$as_me:$LINENO: result: no" >&5
5001 echo "${ECHO_T}no" >&6
5002 fi
5003
5004
5005 enablestring=
5006 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5007 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5008 no_cache=0
5009 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5010 if test "${enable_dynamicloader+set}" = set; then
5011 enableval="$enable_dynamicloader"
5012
5013 if test "$enableval" = yes; then
5014 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
5015 else
5016 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
5017 fi
5018
5019 else
5020
5021 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5022 if test "x$LINE" != x ; then
5023 eval "DEFAULT_$LINE"
5024 else
5025 no_cache=1
5026 fi
5027
5028 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5029
5030 fi;
5031
5032 eval "$ac_cv_use_dynamicloader"
5033 if test "$no_cache" != 1; then
5034 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5035 fi
5036
5037 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5038 echo "$as_me:$LINENO: result: yes" >&5
5039 echo "${ECHO_T}yes" >&6
5040 else
5041 echo "$as_me:$LINENO: result: no" >&5
5042 echo "${ECHO_T}no" >&6
5043 fi
5044
5045
5046 enablestring=
5047 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5048 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5049 no_cache=0
5050 # Check whether --enable-exceptions or --disable-exceptions was given.
5051 if test "${enable_exceptions+set}" = set; then
5052 enableval="$enable_exceptions"
5053
5054 if test "$enableval" = yes; then
5055 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
5056 else
5057 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
5058 fi
5059
5060 else
5061
5062 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5063 if test "x$LINE" != x ; then
5064 eval "DEFAULT_$LINE"
5065 else
5066 no_cache=1
5067 fi
5068
5069 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5070
5071 fi;
5072
5073 eval "$ac_cv_use_exceptions"
5074 if test "$no_cache" != 1; then
5075 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5076 fi
5077
5078 if test "$wxUSE_EXCEPTIONS" = yes; then
5079 echo "$as_me:$LINENO: result: yes" >&5
5080 echo "${ECHO_T}yes" >&6
5081 else
5082 echo "$as_me:$LINENO: result: no" >&5
5083 echo "${ECHO_T}no" >&6
5084 fi
5085
5086
5087 enablestring=
5088 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5089 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5090 no_cache=0
5091 # Check whether --enable-ffile or --disable-ffile was given.
5092 if test "${enable_ffile+set}" = set; then
5093 enableval="$enable_ffile"
5094
5095 if test "$enableval" = yes; then
5096 ac_cv_use_ffile='wxUSE_FFILE=yes'
5097 else
5098 ac_cv_use_ffile='wxUSE_FFILE=no'
5099 fi
5100
5101 else
5102
5103 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5104 if test "x$LINE" != x ; then
5105 eval "DEFAULT_$LINE"
5106 else
5107 no_cache=1
5108 fi
5109
5110 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5111
5112 fi;
5113
5114 eval "$ac_cv_use_ffile"
5115 if test "$no_cache" != 1; then
5116 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5117 fi
5118
5119 if test "$wxUSE_FFILE" = yes; then
5120 echo "$as_me:$LINENO: result: yes" >&5
5121 echo "${ECHO_T}yes" >&6
5122 else
5123 echo "$as_me:$LINENO: result: no" >&5
5124 echo "${ECHO_T}no" >&6
5125 fi
5126
5127
5128 enablestring=
5129 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5130 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5131 no_cache=0
5132 # Check whether --enable-file or --disable-file was given.
5133 if test "${enable_file+set}" = set; then
5134 enableval="$enable_file"
5135
5136 if test "$enableval" = yes; then
5137 ac_cv_use_file='wxUSE_FILE=yes'
5138 else
5139 ac_cv_use_file='wxUSE_FILE=no'
5140 fi
5141
5142 else
5143
5144 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5145 if test "x$LINE" != x ; then
5146 eval "DEFAULT_$LINE"
5147 else
5148 no_cache=1
5149 fi
5150
5151 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5152
5153 fi;
5154
5155 eval "$ac_cv_use_file"
5156 if test "$no_cache" != 1; then
5157 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5158 fi
5159
5160 if test "$wxUSE_FILE" = yes; then
5161 echo "$as_me:$LINENO: result: yes" >&5
5162 echo "${ECHO_T}yes" >&6
5163 else
5164 echo "$as_me:$LINENO: result: no" >&5
5165 echo "${ECHO_T}no" >&6
5166 fi
5167
5168
5169 enablestring=
5170 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5171 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5172 no_cache=0
5173 # Check whether --enable-filesystem or --disable-filesystem was given.
5174 if test "${enable_filesystem+set}" = set; then
5175 enableval="$enable_filesystem"
5176
5177 if test "$enableval" = yes; then
5178 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5179 else
5180 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5181 fi
5182
5183 else
5184
5185 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5186 if test "x$LINE" != x ; then
5187 eval "DEFAULT_$LINE"
5188 else
5189 no_cache=1
5190 fi
5191
5192 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5193
5194 fi;
5195
5196 eval "$ac_cv_use_filesystem"
5197 if test "$no_cache" != 1; then
5198 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5199 fi
5200
5201 if test "$wxUSE_FILESYSTEM" = yes; then
5202 echo "$as_me:$LINENO: result: yes" >&5
5203 echo "${ECHO_T}yes" >&6
5204 else
5205 echo "$as_me:$LINENO: result: no" >&5
5206 echo "${ECHO_T}no" >&6
5207 fi
5208
5209
5210 enablestring=
5211 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5212 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5213 no_cache=0
5214 # Check whether --enable-fontmap or --disable-fontmap was given.
5215 if test "${enable_fontmap+set}" = set; then
5216 enableval="$enable_fontmap"
5217
5218 if test "$enableval" = yes; then
5219 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5220 else
5221 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5222 fi
5223
5224 else
5225
5226 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5227 if test "x$LINE" != x ; then
5228 eval "DEFAULT_$LINE"
5229 else
5230 no_cache=1
5231 fi
5232
5233 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5234
5235 fi;
5236
5237 eval "$ac_cv_use_fontmap"
5238 if test "$no_cache" != 1; then
5239 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5240 fi
5241
5242 if test "$wxUSE_FONTMAP" = yes; then
5243 echo "$as_me:$LINENO: result: yes" >&5
5244 echo "${ECHO_T}yes" >&6
5245 else
5246 echo "$as_me:$LINENO: result: no" >&5
5247 echo "${ECHO_T}no" >&6
5248 fi
5249
5250
5251 enablestring=
5252 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5253 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5254 no_cache=0
5255 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5256 if test "${enable_fs_inet+set}" = set; then
5257 enableval="$enable_fs_inet"
5258
5259 if test "$enableval" = yes; then
5260 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5261 else
5262 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5263 fi
5264
5265 else
5266
5267 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5268 if test "x$LINE" != x ; then
5269 eval "DEFAULT_$LINE"
5270 else
5271 no_cache=1
5272 fi
5273
5274 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5275
5276 fi;
5277
5278 eval "$ac_cv_use_fs_inet"
5279 if test "$no_cache" != 1; then
5280 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5281 fi
5282
5283 if test "$wxUSE_FS_INET" = yes; then
5284 echo "$as_me:$LINENO: result: yes" >&5
5285 echo "${ECHO_T}yes" >&6
5286 else
5287 echo "$as_me:$LINENO: result: no" >&5
5288 echo "${ECHO_T}no" >&6
5289 fi
5290
5291
5292 enablestring=
5293 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5294 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5295 no_cache=0
5296 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5297 if test "${enable_fs_zip+set}" = set; then
5298 enableval="$enable_fs_zip"
5299
5300 if test "$enableval" = yes; then
5301 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5302 else
5303 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5304 fi
5305
5306 else
5307
5308 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5309 if test "x$LINE" != x ; then
5310 eval "DEFAULT_$LINE"
5311 else
5312 no_cache=1
5313 fi
5314
5315 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5316
5317 fi;
5318
5319 eval "$ac_cv_use_fs_zip"
5320 if test "$no_cache" != 1; then
5321 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5322 fi
5323
5324 if test "$wxUSE_FS_ZIP" = yes; then
5325 echo "$as_me:$LINENO: result: yes" >&5
5326 echo "${ECHO_T}yes" >&6
5327 else
5328 echo "$as_me:$LINENO: result: no" >&5
5329 echo "${ECHO_T}no" >&6
5330 fi
5331
5332
5333 enablestring=
5334 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5335 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5336 no_cache=0
5337 # Check whether --enable-geometry or --disable-geometry was given.
5338 if test "${enable_geometry+set}" = set; then
5339 enableval="$enable_geometry"
5340
5341 if test "$enableval" = yes; then
5342 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5343 else
5344 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5345 fi
5346
5347 else
5348
5349 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5350 if test "x$LINE" != x ; then
5351 eval "DEFAULT_$LINE"
5352 else
5353 no_cache=1
5354 fi
5355
5356 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5357
5358 fi;
5359
5360 eval "$ac_cv_use_geometry"
5361 if test "$no_cache" != 1; then
5362 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5363 fi
5364
5365 if test "$wxUSE_GEOMETRY" = yes; then
5366 echo "$as_me:$LINENO: result: yes" >&5
5367 echo "${ECHO_T}yes" >&6
5368 else
5369 echo "$as_me:$LINENO: result: no" >&5
5370 echo "${ECHO_T}no" >&6
5371 fi
5372
5373
5374 enablestring=
5375 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5376 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5377 no_cache=0
5378 # Check whether --enable-log or --disable-log was given.
5379 if test "${enable_log+set}" = set; then
5380 enableval="$enable_log"
5381
5382 if test "$enableval" = yes; then
5383 ac_cv_use_log='wxUSE_LOG=yes'
5384 else
5385 ac_cv_use_log='wxUSE_LOG=no'
5386 fi
5387
5388 else
5389
5390 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5391 if test "x$LINE" != x ; then
5392 eval "DEFAULT_$LINE"
5393 else
5394 no_cache=1
5395 fi
5396
5397 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5398
5399 fi;
5400
5401 eval "$ac_cv_use_log"
5402 if test "$no_cache" != 1; then
5403 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5404 fi
5405
5406 if test "$wxUSE_LOG" = yes; then
5407 echo "$as_me:$LINENO: result: yes" >&5
5408 echo "${ECHO_T}yes" >&6
5409 else
5410 echo "$as_me:$LINENO: result: no" >&5
5411 echo "${ECHO_T}no" >&6
5412 fi
5413
5414
5415 enablestring=
5416 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5417 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5418 no_cache=0
5419 # Check whether --enable-longlong or --disable-longlong was given.
5420 if test "${enable_longlong+set}" = set; then
5421 enableval="$enable_longlong"
5422
5423 if test "$enableval" = yes; then
5424 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5425 else
5426 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5427 fi
5428
5429 else
5430
5431 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5432 if test "x$LINE" != x ; then
5433 eval "DEFAULT_$LINE"
5434 else
5435 no_cache=1
5436 fi
5437
5438 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5439
5440 fi;
5441
5442 eval "$ac_cv_use_longlong"
5443 if test "$no_cache" != 1; then
5444 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5445 fi
5446
5447 if test "$wxUSE_LONGLONG" = yes; then
5448 echo "$as_me:$LINENO: result: yes" >&5
5449 echo "${ECHO_T}yes" >&6
5450 else
5451 echo "$as_me:$LINENO: result: no" >&5
5452 echo "${ECHO_T}no" >&6
5453 fi
5454
5455
5456 enablestring=
5457 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5458 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5459 no_cache=0
5460 # Check whether --enable-mimetype or --disable-mimetype was given.
5461 if test "${enable_mimetype+set}" = set; then
5462 enableval="$enable_mimetype"
5463
5464 if test "$enableval" = yes; then
5465 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5466 else
5467 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5468 fi
5469
5470 else
5471
5472 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5473 if test "x$LINE" != x ; then
5474 eval "DEFAULT_$LINE"
5475 else
5476 no_cache=1
5477 fi
5478
5479 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5480
5481 fi;
5482
5483 eval "$ac_cv_use_mimetype"
5484 if test "$no_cache" != 1; then
5485 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5486 fi
5487
5488 if test "$wxUSE_MIMETYPE" = yes; then
5489 echo "$as_me:$LINENO: result: yes" >&5
5490 echo "${ECHO_T}yes" >&6
5491 else
5492 echo "$as_me:$LINENO: result: no" >&5
5493 echo "${ECHO_T}no" >&6
5494 fi
5495
5496
5497 enablestring=
5498 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5499 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5500 no_cache=0
5501 # Check whether --enable-mslu or --disable-mslu was given.
5502 if test "${enable_mslu+set}" = set; then
5503 enableval="$enable_mslu"
5504
5505 if test "$enableval" = yes; then
5506 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5507 else
5508 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5509 fi
5510
5511 else
5512
5513 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5514 if test "x$LINE" != x ; then
5515 eval "DEFAULT_$LINE"
5516 else
5517 no_cache=1
5518 fi
5519
5520 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5521
5522 fi;
5523
5524 eval "$ac_cv_use_mslu"
5525 if test "$no_cache" != 1; then
5526 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5527 fi
5528
5529 if test "$wxUSE_UNICODE_MSLU" = yes; then
5530 echo "$as_me:$LINENO: result: yes" >&5
5531 echo "${ECHO_T}yes" >&6
5532 else
5533 echo "$as_me:$LINENO: result: no" >&5
5534 echo "${ECHO_T}no" >&6
5535 fi
5536
5537
5538 enablestring=
5539 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5540 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5541 no_cache=0
5542 # Check whether --enable-snglinst or --disable-snglinst was given.
5543 if test "${enable_snglinst+set}" = set; then
5544 enableval="$enable_snglinst"
5545
5546 if test "$enableval" = yes; then
5547 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5548 else
5549 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5550 fi
5551
5552 else
5553
5554 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5555 if test "x$LINE" != x ; then
5556 eval "DEFAULT_$LINE"
5557 else
5558 no_cache=1
5559 fi
5560
5561 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5562
5563 fi;
5564
5565 eval "$ac_cv_use_snglinst"
5566 if test "$no_cache" != 1; then
5567 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5568 fi
5569
5570 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5571 echo "$as_me:$LINENO: result: yes" >&5
5572 echo "${ECHO_T}yes" >&6
5573 else
5574 echo "$as_me:$LINENO: result: no" >&5
5575 echo "${ECHO_T}no" >&6
5576 fi
5577
5578
5579 enablestring=
5580 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5581 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5582 no_cache=0
5583 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5584 if test "${enable_std_iostreams+set}" = set; then
5585 enableval="$enable_std_iostreams"
5586
5587 if test "$enableval" = yes; then
5588 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5589 else
5590 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5591 fi
5592
5593 else
5594
5595 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5596 if test "x$LINE" != x ; then
5597 eval "DEFAULT_$LINE"
5598 else
5599 no_cache=1
5600 fi
5601
5602 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5603
5604 fi;
5605
5606 eval "$ac_cv_use_std_iostreams"
5607 if test "$no_cache" != 1; then
5608 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5609 fi
5610
5611 if test "$wxUSE_STD_IOSTREAM" = yes; then
5612 echo "$as_me:$LINENO: result: yes" >&5
5613 echo "${ECHO_T}yes" >&6
5614 else
5615 echo "$as_me:$LINENO: result: no" >&5
5616 echo "${ECHO_T}no" >&6
5617 fi
5618
5619
5620 enablestring=
5621 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5622 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5623 no_cache=0
5624 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5625 if test "${enable_stdpaths+set}" = set; then
5626 enableval="$enable_stdpaths"
5627
5628 if test "$enableval" = yes; then
5629 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
5630 else
5631 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
5632 fi
5633
5634 else
5635
5636 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5637 if test "x$LINE" != x ; then
5638 eval "DEFAULT_$LINE"
5639 else
5640 no_cache=1
5641 fi
5642
5643 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5644
5645 fi;
5646
5647 eval "$ac_cv_use_stdpaths"
5648 if test "$no_cache" != 1; then
5649 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5650 fi
5651
5652 if test "$wxUSE_STDPATHS" = yes; then
5653 echo "$as_me:$LINENO: result: yes" >&5
5654 echo "${ECHO_T}yes" >&6
5655 else
5656 echo "$as_me:$LINENO: result: no" >&5
5657 echo "${ECHO_T}no" >&6
5658 fi
5659
5660
5661 enablestring=
5662 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5663 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5664 no_cache=0
5665 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5666 if test "${enable_stopwatch+set}" = set; then
5667 enableval="$enable_stopwatch"
5668
5669 if test "$enableval" = yes; then
5670 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5671 else
5672 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5673 fi
5674
5675 else
5676
5677 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5678 if test "x$LINE" != x ; then
5679 eval "DEFAULT_$LINE"
5680 else
5681 no_cache=1
5682 fi
5683
5684 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5685
5686 fi;
5687
5688 eval "$ac_cv_use_stopwatch"
5689 if test "$no_cache" != 1; then
5690 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5691 fi
5692
5693 if test "$wxUSE_STOPWATCH" = yes; then
5694 echo "$as_me:$LINENO: result: yes" >&5
5695 echo "${ECHO_T}yes" >&6
5696 else
5697 echo "$as_me:$LINENO: result: no" >&5
5698 echo "${ECHO_T}no" >&6
5699 fi
5700
5701
5702 enablestring=
5703 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5704 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5705 no_cache=0
5706 # Check whether --enable-streams or --disable-streams was given.
5707 if test "${enable_streams+set}" = set; then
5708 enableval="$enable_streams"
5709
5710 if test "$enableval" = yes; then
5711 ac_cv_use_streams='wxUSE_STREAMS=yes'
5712 else
5713 ac_cv_use_streams='wxUSE_STREAMS=no'
5714 fi
5715
5716 else
5717
5718 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5719 if test "x$LINE" != x ; then
5720 eval "DEFAULT_$LINE"
5721 else
5722 no_cache=1
5723 fi
5724
5725 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5726
5727 fi;
5728
5729 eval "$ac_cv_use_streams"
5730 if test "$no_cache" != 1; then
5731 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5732 fi
5733
5734 if test "$wxUSE_STREAMS" = yes; then
5735 echo "$as_me:$LINENO: result: yes" >&5
5736 echo "${ECHO_T}yes" >&6
5737 else
5738 echo "$as_me:$LINENO: result: no" >&5
5739 echo "${ECHO_T}no" >&6
5740 fi
5741
5742
5743 enablestring=
5744 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5745 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5746 no_cache=0
5747 # Check whether --enable-system_options or --disable-system_options was given.
5748 if test "${enable_system_options+set}" = set; then
5749 enableval="$enable_system_options"
5750
5751 if test "$enableval" = yes; then
5752 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5753 else
5754 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5755 fi
5756
5757 else
5758
5759 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5760 if test "x$LINE" != x ; then
5761 eval "DEFAULT_$LINE"
5762 else
5763 no_cache=1
5764 fi
5765
5766 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5767
5768 fi;
5769
5770 eval "$ac_cv_use_system_options"
5771 if test "$no_cache" != 1; then
5772 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5773 fi
5774
5775 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5776 echo "$as_me:$LINENO: result: yes" >&5
5777 echo "${ECHO_T}yes" >&6
5778 else
5779 echo "$as_me:$LINENO: result: no" >&5
5780 echo "${ECHO_T}no" >&6
5781 fi
5782
5783
5784 enablestring=
5785 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5786 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5787 no_cache=0
5788 # Check whether --enable-textbuf or --disable-textbuf was given.
5789 if test "${enable_textbuf+set}" = set; then
5790 enableval="$enable_textbuf"
5791
5792 if test "$enableval" = yes; then
5793 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
5794 else
5795 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
5796 fi
5797
5798 else
5799
5800 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5801 if test "x$LINE" != x ; then
5802 eval "DEFAULT_$LINE"
5803 else
5804 no_cache=1
5805 fi
5806
5807 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5808
5809 fi;
5810
5811 eval "$ac_cv_use_textbuf"
5812 if test "$no_cache" != 1; then
5813 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5814 fi
5815
5816 if test "$wxUSE_TEXTBUFFER" = yes; then
5817 echo "$as_me:$LINENO: result: yes" >&5
5818 echo "${ECHO_T}yes" >&6
5819 else
5820 echo "$as_me:$LINENO: result: no" >&5
5821 echo "${ECHO_T}no" >&6
5822 fi
5823
5824
5825 enablestring=
5826 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5827 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5828 no_cache=0
5829 # Check whether --enable-textfile or --disable-textfile was given.
5830 if test "${enable_textfile+set}" = set; then
5831 enableval="$enable_textfile"
5832
5833 if test "$enableval" = yes; then
5834 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
5835 else
5836 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
5837 fi
5838
5839 else
5840
5841 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5842 if test "x$LINE" != x ; then
5843 eval "DEFAULT_$LINE"
5844 else
5845 no_cache=1
5846 fi
5847
5848 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5849
5850 fi;
5851
5852 eval "$ac_cv_use_textfile"
5853 if test "$no_cache" != 1; then
5854 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5855 fi
5856
5857 if test "$wxUSE_TEXTFILE" = yes; then
5858 echo "$as_me:$LINENO: result: yes" >&5
5859 echo "${ECHO_T}yes" >&6
5860 else
5861 echo "$as_me:$LINENO: result: no" >&5
5862 echo "${ECHO_T}no" >&6
5863 fi
5864
5865
5866 enablestring=
5867 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5868 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5869 no_cache=0
5870 # Check whether --enable-timer or --disable-timer was given.
5871 if test "${enable_timer+set}" = set; then
5872 enableval="$enable_timer"
5873
5874 if test "$enableval" = yes; then
5875 ac_cv_use_timer='wxUSE_TIMER=yes'
5876 else
5877 ac_cv_use_timer='wxUSE_TIMER=no'
5878 fi
5879
5880 else
5881
5882 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5883 if test "x$LINE" != x ; then
5884 eval "DEFAULT_$LINE"
5885 else
5886 no_cache=1
5887 fi
5888
5889 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5890
5891 fi;
5892
5893 eval "$ac_cv_use_timer"
5894 if test "$no_cache" != 1; then
5895 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5896 fi
5897
5898 if test "$wxUSE_TIMER" = yes; then
5899 echo "$as_me:$LINENO: result: yes" >&5
5900 echo "${ECHO_T}yes" >&6
5901 else
5902 echo "$as_me:$LINENO: result: no" >&5
5903 echo "${ECHO_T}no" >&6
5904 fi
5905
5906
5907 enablestring=
5908 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5909 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5910 no_cache=0
5911 # Check whether --enable-unicode or --disable-unicode was given.
5912 if test "${enable_unicode+set}" = set; then
5913 enableval="$enable_unicode"
5914
5915 if test "$enableval" = yes; then
5916 ac_cv_use_unicode='wxUSE_UNICODE=yes'
5917 else
5918 ac_cv_use_unicode='wxUSE_UNICODE=no'
5919 fi
5920
5921 else
5922
5923 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5924 if test "x$LINE" != x ; then
5925 eval "DEFAULT_$LINE"
5926 else
5927 no_cache=1
5928 fi
5929
5930 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5931
5932 fi;
5933
5934 eval "$ac_cv_use_unicode"
5935 if test "$no_cache" != 1; then
5936 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5937 fi
5938
5939 if test "$wxUSE_UNICODE" = yes; then
5940 echo "$as_me:$LINENO: result: yes" >&5
5941 echo "${ECHO_T}yes" >&6
5942 else
5943 echo "$as_me:$LINENO: result: no" >&5
5944 echo "${ECHO_T}no" >&6
5945 fi
5946
5947
5948 enablestring=
5949 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5950 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5951 no_cache=0
5952 # Check whether --enable-sound or --disable-sound was given.
5953 if test "${enable_sound+set}" = set; then
5954 enableval="$enable_sound"
5955
5956 if test "$enableval" = yes; then
5957 ac_cv_use_sound='wxUSE_SOUND=yes'
5958 else
5959 ac_cv_use_sound='wxUSE_SOUND=no'
5960 fi
5961
5962 else
5963
5964 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5965 if test "x$LINE" != x ; then
5966 eval "DEFAULT_$LINE"
5967 else
5968 no_cache=1
5969 fi
5970
5971 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5972
5973 fi;
5974
5975 eval "$ac_cv_use_sound"
5976 if test "$no_cache" != 1; then
5977 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5978 fi
5979
5980 if test "$wxUSE_SOUND" = yes; then
5981 echo "$as_me:$LINENO: result: yes" >&5
5982 echo "${ECHO_T}yes" >&6
5983 else
5984 echo "$as_me:$LINENO: result: no" >&5
5985 echo "${ECHO_T}no" >&6
5986 fi
5987
5988
5989 enablestring=
5990 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
5991 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
5992 no_cache=0
5993 # Check whether --enable-mediactrl or --disable-mediactrl was given.
5994 if test "${enable_mediactrl+set}" = set; then
5995 enableval="$enable_mediactrl"
5996
5997 if test "$enableval" = yes; then
5998 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
5999 else
6000 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
6001 fi
6002
6003 else
6004
6005 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6006 if test "x$LINE" != x ; then
6007 eval "DEFAULT_$LINE"
6008 else
6009 no_cache=1
6010 fi
6011
6012 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6013
6014 fi;
6015
6016 eval "$ac_cv_use_mediactrl"
6017 if test "$no_cache" != 1; then
6018 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6019 fi
6020
6021 if test "$wxUSE_MEDIACTRL" = yes; then
6022 echo "$as_me:$LINENO: result: yes" >&5
6023 echo "${ECHO_T}yes" >&6
6024 else
6025 echo "$as_me:$LINENO: result: no" >&5
6026 echo "${ECHO_T}no" >&6
6027 fi
6028
6029
6030 enablestring=
6031 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
6032 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
6033 no_cache=0
6034 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
6035 if test "${enable_wxprintfv+set}" = set; then
6036 enableval="$enable_wxprintfv"
6037
6038 if test "$enableval" = yes; then
6039 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
6040 else
6041 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
6042 fi
6043
6044 else
6045
6046 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
6047 if test "x$LINE" != x ; then
6048 eval "DEFAULT_$LINE"
6049 else
6050 no_cache=1
6051 fi
6052
6053 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
6054
6055 fi;
6056
6057 eval "$ac_cv_use_wxprintfv"
6058 if test "$no_cache" != 1; then
6059 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
6060 fi
6061
6062 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
6063 echo "$as_me:$LINENO: result: yes" >&5
6064 echo "${ECHO_T}yes" >&6
6065 else
6066 echo "$as_me:$LINENO: result: no" >&5
6067 echo "${ECHO_T}no" >&6
6068 fi
6069
6070
6071 enablestring=
6072 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6073 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6074 no_cache=0
6075 # Check whether --enable-zipstream or --disable-zipstream was given.
6076 if test "${enable_zipstream+set}" = set; then
6077 enableval="$enable_zipstream"
6078
6079 if test "$enableval" = yes; then
6080 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
6081 else
6082 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
6083 fi
6084
6085 else
6086
6087 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6088 if test "x$LINE" != x ; then
6089 eval "DEFAULT_$LINE"
6090 else
6091 no_cache=1
6092 fi
6093
6094 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6095
6096 fi;
6097
6098 eval "$ac_cv_use_zipstream"
6099 if test "$no_cache" != 1; then
6100 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6101 fi
6102
6103 if test "$wxUSE_ZIPSTREAM" = yes; then
6104 echo "$as_me:$LINENO: result: yes" >&5
6105 echo "${ECHO_T}yes" >&6
6106 else
6107 echo "$as_me:$LINENO: result: no" >&5
6108 echo "${ECHO_T}no" >&6
6109 fi
6110
6111
6112
6113 enablestring=
6114 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6115 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6116 no_cache=0
6117 # Check whether --enable-url or --disable-url was given.
6118 if test "${enable_url+set}" = set; then
6119 enableval="$enable_url"
6120
6121 if test "$enableval" = yes; then
6122 ac_cv_use_url='wxUSE_URL=yes'
6123 else
6124 ac_cv_use_url='wxUSE_URL=no'
6125 fi
6126
6127 else
6128
6129 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6130 if test "x$LINE" != x ; then
6131 eval "DEFAULT_$LINE"
6132 else
6133 no_cache=1
6134 fi
6135
6136 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6137
6138 fi;
6139
6140 eval "$ac_cv_use_url"
6141 if test "$no_cache" != 1; then
6142 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6143 fi
6144
6145 if test "$wxUSE_URL" = yes; then
6146 echo "$as_me:$LINENO: result: yes" >&5
6147 echo "${ECHO_T}yes" >&6
6148 else
6149 echo "$as_me:$LINENO: result: no" >&5
6150 echo "${ECHO_T}no" >&6
6151 fi
6152
6153
6154 enablestring=
6155 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6156 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6157 no_cache=0
6158 # Check whether --enable-protocol or --disable-protocol was given.
6159 if test "${enable_protocol+set}" = set; then
6160 enableval="$enable_protocol"
6161
6162 if test "$enableval" = yes; then
6163 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6164 else
6165 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6166 fi
6167
6168 else
6169
6170 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6171 if test "x$LINE" != x ; then
6172 eval "DEFAULT_$LINE"
6173 else
6174 no_cache=1
6175 fi
6176
6177 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6178
6179 fi;
6180
6181 eval "$ac_cv_use_protocol"
6182 if test "$no_cache" != 1; then
6183 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6184 fi
6185
6186 if test "$wxUSE_PROTOCOL" = yes; then
6187 echo "$as_me:$LINENO: result: yes" >&5
6188 echo "${ECHO_T}yes" >&6
6189 else
6190 echo "$as_me:$LINENO: result: no" >&5
6191 echo "${ECHO_T}no" >&6
6192 fi
6193
6194
6195 enablestring=
6196 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6197 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6198 no_cache=0
6199 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6200 if test "${enable_protocol_http+set}" = set; then
6201 enableval="$enable_protocol_http"
6202
6203 if test "$enableval" = yes; then
6204 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6205 else
6206 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6207 fi
6208
6209 else
6210
6211 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6212 if test "x$LINE" != x ; then
6213 eval "DEFAULT_$LINE"
6214 else
6215 no_cache=1
6216 fi
6217
6218 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6219
6220 fi;
6221
6222 eval "$ac_cv_use_protocol_http"
6223 if test "$no_cache" != 1; then
6224 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6225 fi
6226
6227 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6228 echo "$as_me:$LINENO: result: yes" >&5
6229 echo "${ECHO_T}yes" >&6
6230 else
6231 echo "$as_me:$LINENO: result: no" >&5
6232 echo "${ECHO_T}no" >&6
6233 fi
6234
6235
6236 enablestring=
6237 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6238 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6239 no_cache=0
6240 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6241 if test "${enable_protocol_ftp+set}" = set; then
6242 enableval="$enable_protocol_ftp"
6243
6244 if test "$enableval" = yes; then
6245 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6246 else
6247 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6248 fi
6249
6250 else
6251
6252 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6253 if test "x$LINE" != x ; then
6254 eval "DEFAULT_$LINE"
6255 else
6256 no_cache=1
6257 fi
6258
6259 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6260
6261 fi;
6262
6263 eval "$ac_cv_use_protocol_ftp"
6264 if test "$no_cache" != 1; then
6265 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6266 fi
6267
6268 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6269 echo "$as_me:$LINENO: result: yes" >&5
6270 echo "${ECHO_T}yes" >&6
6271 else
6272 echo "$as_me:$LINENO: result: no" >&5
6273 echo "${ECHO_T}no" >&6
6274 fi
6275
6276
6277 enablestring=
6278 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6279 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6280 no_cache=0
6281 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6282 if test "${enable_protocol_file+set}" = set; then
6283 enableval="$enable_protocol_file"
6284
6285 if test "$enableval" = yes; then
6286 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6287 else
6288 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6289 fi
6290
6291 else
6292
6293 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6294 if test "x$LINE" != x ; then
6295 eval "DEFAULT_$LINE"
6296 else
6297 no_cache=1
6298 fi
6299
6300 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6301
6302 fi;
6303
6304 eval "$ac_cv_use_protocol_file"
6305 if test "$no_cache" != 1; then
6306 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6307 fi
6308
6309 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6310 echo "$as_me:$LINENO: result: yes" >&5
6311 echo "${ECHO_T}yes" >&6
6312 else
6313 echo "$as_me:$LINENO: result: no" >&5
6314 echo "${ECHO_T}no" >&6
6315 fi
6316
6317
6318
6319
6320
6321 enablestring=
6322 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6323 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6324 no_cache=0
6325 # Check whether --enable-threads or --disable-threads was given.
6326 if test "${enable_threads+set}" = set; then
6327 enableval="$enable_threads"
6328
6329 if test "$enableval" = yes; then
6330 ac_cv_use_threads='wxUSE_THREADS=yes'
6331 else
6332 ac_cv_use_threads='wxUSE_THREADS=no'
6333 fi
6334
6335 else
6336
6337 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6338 if test "x$LINE" != x ; then
6339 eval "DEFAULT_$LINE"
6340 else
6341 no_cache=1
6342 fi
6343
6344 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6345
6346 fi;
6347
6348 eval "$ac_cv_use_threads"
6349 if test "$no_cache" != 1; then
6350 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6351 fi
6352
6353 if test "$wxUSE_THREADS" = yes; then
6354 echo "$as_me:$LINENO: result: yes" >&5
6355 echo "${ECHO_T}yes" >&6
6356 else
6357 echo "$as_me:$LINENO: result: no" >&5
6358 echo "${ECHO_T}no" >&6
6359 fi
6360
6361
6362 if test "$wxUSE_GUI" = "yes"; then
6363
6364
6365
6366 enablestring=
6367 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6368 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6369 no_cache=0
6370 # Check whether --enable-docview or --disable-docview was given.
6371 if test "${enable_docview+set}" = set; then
6372 enableval="$enable_docview"
6373
6374 if test "$enableval" = yes; then
6375 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6376 else
6377 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6378 fi
6379
6380 else
6381
6382 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6383 if test "x$LINE" != x ; then
6384 eval "DEFAULT_$LINE"
6385 else
6386 no_cache=1
6387 fi
6388
6389 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6390
6391 fi;
6392
6393 eval "$ac_cv_use_docview"
6394 if test "$no_cache" != 1; then
6395 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6396 fi
6397
6398 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6399 echo "$as_me:$LINENO: result: yes" >&5
6400 echo "${ECHO_T}yes" >&6
6401 else
6402 echo "$as_me:$LINENO: result: no" >&5
6403 echo "${ECHO_T}no" >&6
6404 fi
6405
6406
6407 enablestring=
6408 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6409 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6410 no_cache=0
6411 # Check whether --enable-help or --disable-help was given.
6412 if test "${enable_help+set}" = set; then
6413 enableval="$enable_help"
6414
6415 if test "$enableval" = yes; then
6416 ac_cv_use_help='wxUSE_HELP=yes'
6417 else
6418 ac_cv_use_help='wxUSE_HELP=no'
6419 fi
6420
6421 else
6422
6423 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6424 if test "x$LINE" != x ; then
6425 eval "DEFAULT_$LINE"
6426 else
6427 no_cache=1
6428 fi
6429
6430 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6431
6432 fi;
6433
6434 eval "$ac_cv_use_help"
6435 if test "$no_cache" != 1; then
6436 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6437 fi
6438
6439 if test "$wxUSE_HELP" = yes; then
6440 echo "$as_me:$LINENO: result: yes" >&5
6441 echo "${ECHO_T}yes" >&6
6442 else
6443 echo "$as_me:$LINENO: result: no" >&5
6444 echo "${ECHO_T}no" >&6
6445 fi
6446
6447
6448 enablestring=
6449 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6450 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6451 no_cache=0
6452 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6453 if test "${enable_mshtmlhelp+set}" = set; then
6454 enableval="$enable_mshtmlhelp"
6455
6456 if test "$enableval" = yes; then
6457 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6458 else
6459 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6460 fi
6461
6462 else
6463
6464 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6465 if test "x$LINE" != x ; then
6466 eval "DEFAULT_$LINE"
6467 else
6468 no_cache=1
6469 fi
6470
6471 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6472
6473 fi;
6474
6475 eval "$ac_cv_use_mshtmlhelp"
6476 if test "$no_cache" != 1; then
6477 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6478 fi
6479
6480 if test "$wxUSE_MS_HTML_HELP" = yes; then
6481 echo "$as_me:$LINENO: result: yes" >&5
6482 echo "${ECHO_T}yes" >&6
6483 else
6484 echo "$as_me:$LINENO: result: no" >&5
6485 echo "${ECHO_T}no" >&6
6486 fi
6487
6488
6489 enablestring=
6490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6491 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6492 no_cache=0
6493 # Check whether --enable-html or --disable-html was given.
6494 if test "${enable_html+set}" = set; then
6495 enableval="$enable_html"
6496
6497 if test "$enableval" = yes; then
6498 ac_cv_use_html='wxUSE_HTML=yes'
6499 else
6500 ac_cv_use_html='wxUSE_HTML=no'
6501 fi
6502
6503 else
6504
6505 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6506 if test "x$LINE" != x ; then
6507 eval "DEFAULT_$LINE"
6508 else
6509 no_cache=1
6510 fi
6511
6512 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6513
6514 fi;
6515
6516 eval "$ac_cv_use_html"
6517 if test "$no_cache" != 1; then
6518 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6519 fi
6520
6521 if test "$wxUSE_HTML" = yes; then
6522 echo "$as_me:$LINENO: result: yes" >&5
6523 echo "${ECHO_T}yes" >&6
6524 else
6525 echo "$as_me:$LINENO: result: no" >&5
6526 echo "${ECHO_T}no" >&6
6527 fi
6528
6529
6530 enablestring=
6531 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6532 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6533 no_cache=0
6534 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6535 if test "${enable_htmlhelp+set}" = set; then
6536 enableval="$enable_htmlhelp"
6537
6538 if test "$enableval" = yes; then
6539 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6540 else
6541 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6542 fi
6543
6544 else
6545
6546 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6547 if test "x$LINE" != x ; then
6548 eval "DEFAULT_$LINE"
6549 else
6550 no_cache=1
6551 fi
6552
6553 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6554
6555 fi;
6556
6557 eval "$ac_cv_use_htmlhelp"
6558 if test "$no_cache" != 1; then
6559 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6560 fi
6561
6562 if test "$wxUSE_WXHTML_HELP" = yes; then
6563 echo "$as_me:$LINENO: result: yes" >&5
6564 echo "${ECHO_T}yes" >&6
6565 else
6566 echo "$as_me:$LINENO: result: no" >&5
6567 echo "${ECHO_T}no" >&6
6568 fi
6569
6570
6571 enablestring=
6572 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6573 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6574 no_cache=0
6575 # Check whether --enable-xrc or --disable-xrc was given.
6576 if test "${enable_xrc+set}" = set; then
6577 enableval="$enable_xrc"
6578
6579 if test "$enableval" = yes; then
6580 ac_cv_use_xrc='wxUSE_XRC=yes'
6581 else
6582 ac_cv_use_xrc='wxUSE_XRC=no'
6583 fi
6584
6585 else
6586
6587 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6588 if test "x$LINE" != x ; then
6589 eval "DEFAULT_$LINE"
6590 else
6591 no_cache=1
6592 fi
6593
6594 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6595
6596 fi;
6597
6598 eval "$ac_cv_use_xrc"
6599 if test "$no_cache" != 1; then
6600 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6601 fi
6602
6603 if test "$wxUSE_XRC" = yes; then
6604 echo "$as_me:$LINENO: result: yes" >&5
6605 echo "${ECHO_T}yes" >&6
6606 else
6607 echo "$as_me:$LINENO: result: no" >&5
6608 echo "${ECHO_T}no" >&6
6609 fi
6610
6611
6612 enablestring=
6613 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6614 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6615 no_cache=0
6616 # Check whether --enable-constraints or --disable-constraints was given.
6617 if test "${enable_constraints+set}" = set; then
6618 enableval="$enable_constraints"
6619
6620 if test "$enableval" = yes; then
6621 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
6622 else
6623 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
6624 fi
6625
6626 else
6627
6628 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6629 if test "x$LINE" != x ; then
6630 eval "DEFAULT_$LINE"
6631 else
6632 no_cache=1
6633 fi
6634
6635 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6636
6637 fi;
6638
6639 eval "$ac_cv_use_constraints"
6640 if test "$no_cache" != 1; then
6641 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6642 fi
6643
6644 if test "$wxUSE_CONSTRAINTS" = yes; then
6645 echo "$as_me:$LINENO: result: yes" >&5
6646 echo "${ECHO_T}yes" >&6
6647 else
6648 echo "$as_me:$LINENO: result: no" >&5
6649 echo "${ECHO_T}no" >&6
6650 fi
6651
6652
6653 enablestring=
6654 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6655 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6656 no_cache=0
6657 # Check whether --enable-printarch or --disable-printarch was given.
6658 if test "${enable_printarch+set}" = set; then
6659 enableval="$enable_printarch"
6660
6661 if test "$enableval" = yes; then
6662 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6663 else
6664 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6665 fi
6666
6667 else
6668
6669 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6670 if test "x$LINE" != x ; then
6671 eval "DEFAULT_$LINE"
6672 else
6673 no_cache=1
6674 fi
6675
6676 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6677
6678 fi;
6679
6680 eval "$ac_cv_use_printarch"
6681 if test "$no_cache" != 1; then
6682 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6683 fi
6684
6685 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6686 echo "$as_me:$LINENO: result: yes" >&5
6687 echo "${ECHO_T}yes" >&6
6688 else
6689 echo "$as_me:$LINENO: result: no" >&5
6690 echo "${ECHO_T}no" >&6
6691 fi
6692
6693
6694 enablestring=
6695 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6696 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6697 no_cache=0
6698 # Check whether --enable-mdi or --disable-mdi was given.
6699 if test "${enable_mdi+set}" = set; then
6700 enableval="$enable_mdi"
6701
6702 if test "$enableval" = yes; then
6703 ac_cv_use_mdi='wxUSE_MDI=yes'
6704 else
6705 ac_cv_use_mdi='wxUSE_MDI=no'
6706 fi
6707
6708 else
6709
6710 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6711 if test "x$LINE" != x ; then
6712 eval "DEFAULT_$LINE"
6713 else
6714 no_cache=1
6715 fi
6716
6717 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6718
6719 fi;
6720
6721 eval "$ac_cv_use_mdi"
6722 if test "$no_cache" != 1; then
6723 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6724 fi
6725
6726 if test "$wxUSE_MDI" = yes; then
6727 echo "$as_me:$LINENO: result: yes" >&5
6728 echo "${ECHO_T}yes" >&6
6729 else
6730 echo "$as_me:$LINENO: result: no" >&5
6731 echo "${ECHO_T}no" >&6
6732 fi
6733
6734
6735 enablestring=
6736 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6737 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6738 no_cache=0
6739 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6740 if test "${enable_mdidoc+set}" = set; then
6741 enableval="$enable_mdidoc"
6742
6743 if test "$enableval" = yes; then
6744 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
6745 else
6746 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
6747 fi
6748
6749 else
6750
6751 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6752 if test "x$LINE" != x ; then
6753 eval "DEFAULT_$LINE"
6754 else
6755 no_cache=1
6756 fi
6757
6758 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6759
6760 fi;
6761
6762 eval "$ac_cv_use_mdidoc"
6763 if test "$no_cache" != 1; then
6764 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6765 fi
6766
6767 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6768 echo "$as_me:$LINENO: result: yes" >&5
6769 echo "${ECHO_T}yes" >&6
6770 else
6771 echo "$as_me:$LINENO: result: no" >&5
6772 echo "${ECHO_T}no" >&6
6773 fi
6774
6775
6776 enablestring=
6777 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6778 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6779 no_cache=0
6780 # Check whether --enable-loggui or --disable-loggui was given.
6781 if test "${enable_loggui+set}" = set; then
6782 enableval="$enable_loggui"
6783
6784 if test "$enableval" = yes; then
6785 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6786 else
6787 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6788 fi
6789
6790 else
6791
6792 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6793 if test "x$LINE" != x ; then
6794 eval "DEFAULT_$LINE"
6795 else
6796 no_cache=1
6797 fi
6798
6799 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6800
6801 fi;
6802
6803 eval "$ac_cv_use_loggui"
6804 if test "$no_cache" != 1; then
6805 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6806 fi
6807
6808 if test "$wxUSE_LOGGUI" = yes; then
6809 echo "$as_me:$LINENO: result: yes" >&5
6810 echo "${ECHO_T}yes" >&6
6811 else
6812 echo "$as_me:$LINENO: result: no" >&5
6813 echo "${ECHO_T}no" >&6
6814 fi
6815
6816
6817 enablestring=
6818 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6819 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6820 no_cache=0
6821 # Check whether --enable-logwin or --disable-logwin was given.
6822 if test "${enable_logwin+set}" = set; then
6823 enableval="$enable_logwin"
6824
6825 if test "$enableval" = yes; then
6826 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6827 else
6828 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6829 fi
6830
6831 else
6832
6833 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6834 if test "x$LINE" != x ; then
6835 eval "DEFAULT_$LINE"
6836 else
6837 no_cache=1
6838 fi
6839
6840 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6841
6842 fi;
6843
6844 eval "$ac_cv_use_logwin"
6845 if test "$no_cache" != 1; then
6846 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6847 fi
6848
6849 if test "$wxUSE_LOGWINDOW" = yes; then
6850 echo "$as_me:$LINENO: result: yes" >&5
6851 echo "${ECHO_T}yes" >&6
6852 else
6853 echo "$as_me:$LINENO: result: no" >&5
6854 echo "${ECHO_T}no" >&6
6855 fi
6856
6857
6858 enablestring=
6859 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6860 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6861 no_cache=0
6862 # Check whether --enable-logdialog or --disable-logdialog was given.
6863 if test "${enable_logdialog+set}" = set; then
6864 enableval="$enable_logdialog"
6865
6866 if test "$enableval" = yes; then
6867 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6868 else
6869 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6870 fi
6871
6872 else
6873
6874 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6875 if test "x$LINE" != x ; then
6876 eval "DEFAULT_$LINE"
6877 else
6878 no_cache=1
6879 fi
6880
6881 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6882
6883 fi;
6884
6885 eval "$ac_cv_use_logdialog"
6886 if test "$no_cache" != 1; then
6887 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6888 fi
6889
6890 if test "$wxUSE_LOGDIALOG" = yes; then
6891 echo "$as_me:$LINENO: result: yes" >&5
6892 echo "${ECHO_T}yes" >&6
6893 else
6894 echo "$as_me:$LINENO: result: no" >&5
6895 echo "${ECHO_T}no" >&6
6896 fi
6897
6898
6899 enablestring=
6900 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6901 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6902 no_cache=0
6903 # Check whether --enable-webkit or --disable-webkit was given.
6904 if test "${enable_webkit+set}" = set; then
6905 enableval="$enable_webkit"
6906
6907 if test "$enableval" = yes; then
6908 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
6909 else
6910 ac_cv_use_webkit='wxUSE_WEBKIT=no'
6911 fi
6912
6913 else
6914
6915 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6916 if test "x$LINE" != x ; then
6917 eval "DEFAULT_$LINE"
6918 else
6919 no_cache=1
6920 fi
6921
6922 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6923
6924 fi;
6925
6926 eval "$ac_cv_use_webkit"
6927 if test "$no_cache" != 1; then
6928 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6929 fi
6930
6931 if test "$wxUSE_WEBKIT" = yes; then
6932 echo "$as_me:$LINENO: result: yes" >&5
6933 echo "${ECHO_T}yes" >&6
6934 else
6935 echo "$as_me:$LINENO: result: no" >&5
6936 echo "${ECHO_T}no" >&6
6937 fi
6938
6939
6940
6941 enablestring=
6942 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6943 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6944 no_cache=0
6945 # Check whether --enable-postscript or --disable-postscript was given.
6946 if test "${enable_postscript+set}" = set; then
6947 enableval="$enable_postscript"
6948
6949 if test "$enableval" = yes; then
6950 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6951 else
6952 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6953 fi
6954
6955 else
6956
6957 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6958 if test "x$LINE" != x ; then
6959 eval "DEFAULT_$LINE"
6960 else
6961 no_cache=1
6962 fi
6963
6964 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6965
6966 fi;
6967
6968 eval "$ac_cv_use_postscript"
6969 if test "$no_cache" != 1; then
6970 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6971 fi
6972
6973 if test "$wxUSE_POSTSCRIPT" = yes; then
6974 echo "$as_me:$LINENO: result: yes" >&5
6975 echo "${ECHO_T}yes" >&6
6976 else
6977 echo "$as_me:$LINENO: result: no" >&5
6978 echo "${ECHO_T}no" >&6
6979 fi
6980
6981
6982
6983
6984
6985 enablestring=
6986 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6987 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6988 no_cache=0
6989 # Check whether --enable-prologio or --disable-prologio was given.
6990 if test "${enable_prologio+set}" = set; then
6991 enableval="$enable_prologio"
6992
6993 if test "$enableval" = yes; then
6994 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6995 else
6996 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6997 fi
6998
6999 else
7000
7001 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7002 if test "x$LINE" != x ; then
7003 eval "DEFAULT_$LINE"
7004 else
7005 no_cache=1
7006 fi
7007
7008 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7009
7010 fi;
7011
7012 eval "$ac_cv_use_prologio"
7013 if test "$no_cache" != 1; then
7014 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7015 fi
7016
7017 if test "$wxUSE_PROLOGIO" = yes; then
7018 echo "$as_me:$LINENO: result: yes" >&5
7019 echo "${ECHO_T}yes" >&6
7020 else
7021 echo "$as_me:$LINENO: result: no" >&5
7022 echo "${ECHO_T}no" >&6
7023 fi
7024
7025
7026 enablestring=
7027 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7028 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7029 no_cache=0
7030 # Check whether --enable-resources or --disable-resources was given.
7031 if test "${enable_resources+set}" = set; then
7032 enableval="$enable_resources"
7033
7034 if test "$enableval" = yes; then
7035 ac_cv_use_resources='wxUSE_RESOURCES=yes'
7036 else
7037 ac_cv_use_resources='wxUSE_RESOURCES=no'
7038 fi
7039
7040 else
7041
7042 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7043 if test "x$LINE" != x ; then
7044 eval "DEFAULT_$LINE"
7045 else
7046 no_cache=1
7047 fi
7048
7049 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7050
7051 fi;
7052
7053 eval "$ac_cv_use_resources"
7054 if test "$no_cache" != 1; then
7055 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7056 fi
7057
7058 if test "$wxUSE_RESOURCES" = yes; then
7059 echo "$as_me:$LINENO: result: yes" >&5
7060 echo "${ECHO_T}yes" >&6
7061 else
7062 echo "$as_me:$LINENO: result: no" >&5
7063 echo "${ECHO_T}no" >&6
7064 fi
7065
7066
7067
7068
7069 enablestring=
7070 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7071 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7072 no_cache=0
7073 # Check whether --enable-clipboard or --disable-clipboard was given.
7074 if test "${enable_clipboard+set}" = set; then
7075 enableval="$enable_clipboard"
7076
7077 if test "$enableval" = yes; then
7078 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
7079 else
7080 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
7081 fi
7082
7083 else
7084
7085 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7086 if test "x$LINE" != x ; then
7087 eval "DEFAULT_$LINE"
7088 else
7089 no_cache=1
7090 fi
7091
7092 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7093
7094 fi;
7095
7096 eval "$ac_cv_use_clipboard"
7097 if test "$no_cache" != 1; then
7098 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7099 fi
7100
7101 if test "$wxUSE_CLIPBOARD" = yes; then
7102 echo "$as_me:$LINENO: result: yes" >&5
7103 echo "${ECHO_T}yes" >&6
7104 else
7105 echo "$as_me:$LINENO: result: no" >&5
7106 echo "${ECHO_T}no" >&6
7107 fi
7108
7109
7110 enablestring=
7111 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7112 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7113 no_cache=0
7114 # Check whether --enable-dnd or --disable-dnd was given.
7115 if test "${enable_dnd+set}" = set; then
7116 enableval="$enable_dnd"
7117
7118 if test "$enableval" = yes; then
7119 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
7120 else
7121 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
7122 fi
7123
7124 else
7125
7126 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7127 if test "x$LINE" != x ; then
7128 eval "DEFAULT_$LINE"
7129 else
7130 no_cache=1
7131 fi
7132
7133 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7134
7135 fi;
7136
7137 eval "$ac_cv_use_dnd"
7138 if test "$no_cache" != 1; then
7139 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7140 fi
7141
7142 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7143 echo "$as_me:$LINENO: result: yes" >&5
7144 echo "${ECHO_T}yes" >&6
7145 else
7146 echo "$as_me:$LINENO: result: no" >&5
7147 echo "${ECHO_T}no" >&6
7148 fi
7149
7150
7151 enablestring=
7152 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7153 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7154 no_cache=0
7155 # Check whether --enable-metafile or --disable-metafile was given.
7156 if test "${enable_metafile+set}" = set; then
7157 enableval="$enable_metafile"
7158
7159 if test "$enableval" = yes; then
7160 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7161 else
7162 ac_cv_use_metafile='wxUSE_METAFILE=no'
7163 fi
7164
7165 else
7166
7167 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7168 if test "x$LINE" != x ; then
7169 eval "DEFAULT_$LINE"
7170 else
7171 no_cache=1
7172 fi
7173
7174 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7175
7176 fi;
7177
7178 eval "$ac_cv_use_metafile"
7179 if test "$no_cache" != 1; then
7180 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7181 fi
7182
7183 if test "$wxUSE_METAFILE" = yes; then
7184 echo "$as_me:$LINENO: result: yes" >&5
7185 echo "${ECHO_T}yes" >&6
7186 else
7187 echo "$as_me:$LINENO: result: no" >&5
7188 echo "${ECHO_T}no" >&6
7189 fi
7190
7191
7192
7193
7194
7195 enablestring=
7196 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7197 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7198 no_cache=0
7199 # Check whether --enable-controls or --disable-controls was given.
7200 if test "${enable_controls+set}" = set; then
7201 enableval="$enable_controls"
7202
7203 if test "$enableval" = yes; then
7204 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7205 else
7206 ac_cv_use_controls='wxUSE_CONTROLS=no'
7207 fi
7208
7209 else
7210
7211 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7212 if test "x$LINE" != x ; then
7213 eval "DEFAULT_$LINE"
7214 else
7215 no_cache=1
7216 fi
7217
7218 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7219
7220 fi;
7221
7222 eval "$ac_cv_use_controls"
7223 if test "$no_cache" != 1; then
7224 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7225 fi
7226
7227 if test "$wxUSE_CONTROLS" = yes; then
7228 echo "$as_me:$LINENO: result: yes" >&5
7229 echo "${ECHO_T}yes" >&6
7230 else
7231 echo "$as_me:$LINENO: result: no" >&5
7232 echo "${ECHO_T}no" >&6
7233 fi
7234
7235
7236 if test "$wxUSE_CONTROLS" = "yes"; then
7237 DEFAULT_wxUSE_ACCEL=yes
7238 DEFAULT_wxUSE_BMPBUTTON=yes
7239 DEFAULT_wxUSE_BUTTON=yes
7240 DEFAULT_wxUSE_CALCTRL=yes
7241 DEFAULT_wxUSE_CARET=yes
7242 DEFAULT_wxUSE_COMBOBOX=yes
7243 DEFAULT_wxUSE_CHECKBOX=yes
7244 DEFAULT_wxUSE_CHECKLISTBOX=yes
7245 DEFAULT_wxUSE_CHOICE=yes
7246 DEFAULT_wxUSE_CHOICEBOOK=yes
7247 DEFAULT_wxUSE_DATEPICKCTRL=yes
7248 DEFAULT_wxUSE_GAUGE=yes
7249 DEFAULT_wxUSE_GRID=yes
7250 DEFAULT_wxUSE_IMAGLIST=yes
7251 DEFAULT_wxUSE_LISTBOOK=yes
7252 DEFAULT_wxUSE_LISTBOX=yes
7253 DEFAULT_wxUSE_LISTCTRL=yes
7254 DEFAULT_wxUSE_NOTEBOOK=yes
7255 DEFAULT_wxUSE_RADIOBOX=yes
7256 DEFAULT_wxUSE_RADIOBTN=yes
7257 DEFAULT_wxUSE_SASH=yes
7258 DEFAULT_wxUSE_SCROLLBAR=yes
7259 DEFAULT_wxUSE_SLIDER=yes
7260 DEFAULT_wxUSE_SPINBTN=yes
7261 DEFAULT_wxUSE_SPINCTRL=yes
7262 DEFAULT_wxUSE_SPLITTER=yes
7263 DEFAULT_wxUSE_STATBMP=yes
7264 DEFAULT_wxUSE_STATBOX=yes
7265 DEFAULT_wxUSE_STATLINE=yes
7266 DEFAULT_wxUSE_STATUSBAR=yes
7267 DEFAULT_wxUSE_TAB_DIALOG=yes
7268 DEFAULT_wxUSE_TOGGLEBTN=yes
7269 DEFAULT_wxUSE_TOOLBAR=yes
7270 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7271 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
7272 DEFAULT_wxUSE_TOOLTIPS=yes
7273 DEFAULT_wxUSE_TREECTRL=yes
7274 DEFAULT_wxUSE_POPUPWIN=yes
7275 DEFAULT_wxUSE_TIPWINDOW=yes
7276 elif test "$wxUSE_CONTROLS" = "no"; then
7277 DEFAULT_wxUSE_ACCEL=no
7278 DEFAULT_wxUSE_BMPBUTTON=no
7279 DEFAULT_wxUSE_BUTTON=no
7280 DEFAULT_wxUSE_CALCTRL=no
7281 DEFAULT_wxUSE_CARET=no
7282 DEFAULT_wxUSE_COMBOBOX=no
7283 DEFAULT_wxUSE_CHECKBOX=no
7284 DEFAULT_wxUSE_CHECKLISTBOX=no
7285 DEFAULT_wxUSE_CHOICE=no
7286 DEFAULT_wxUSE_CHOICEBOOK=no
7287 DEFAULT_wxUSE_DATEPICKCTRL=no
7288 DEFAULT_wxUSE_GAUGE=no
7289 DEFAULT_wxUSE_GRID=no
7290 DEFAULT_wxUSE_IMAGLIST=no
7291 DEFAULT_wxUSE_LISTBOOK=no
7292 DEFAULT_wxUSE_LISTBOX=no
7293 DEFAULT_wxUSE_LISTCTRL=no
7294 DEFAULT_wxUSE_NOTEBOOK=no
7295 DEFAULT_wxUSE_RADIOBOX=no
7296 DEFAULT_wxUSE_RADIOBTN=no
7297 DEFAULT_wxUSE_SASH=no
7298 DEFAULT_wxUSE_SCROLLBAR=no
7299 DEFAULT_wxUSE_SLIDER=no
7300 DEFAULT_wxUSE_SPINBTN=no
7301 DEFAULT_wxUSE_SPINCTRL=no
7302 DEFAULT_wxUSE_SPLITTER=no
7303 DEFAULT_wxUSE_STATBMP=no
7304 DEFAULT_wxUSE_STATBOX=no
7305 DEFAULT_wxUSE_STATLINE=no
7306 DEFAULT_wxUSE_STATUSBAR=no
7307 DEFAULT_wxUSE_TAB_DIALOG=no
7308 DEFAULT_wxUSE_TOGGLEBTN=no
7309 DEFAULT_wxUSE_TOOLBAR=no
7310 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7311 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
7312 DEFAULT_wxUSE_TOOLTIPS=no
7313 DEFAULT_wxUSE_TREECTRL=no
7314 DEFAULT_wxUSE_POPUPWIN=no
7315 DEFAULT_wxUSE_TIPWINDOW=no
7316 fi
7317
7318
7319 enablestring=
7320 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7321 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7322 no_cache=0
7323 # Check whether --enable-accel or --disable-accel was given.
7324 if test "${enable_accel+set}" = set; then
7325 enableval="$enable_accel"
7326
7327 if test "$enableval" = yes; then
7328 ac_cv_use_accel='wxUSE_ACCEL=yes'
7329 else
7330 ac_cv_use_accel='wxUSE_ACCEL=no'
7331 fi
7332
7333 else
7334
7335 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7336 if test "x$LINE" != x ; then
7337 eval "DEFAULT_$LINE"
7338 else
7339 no_cache=1
7340 fi
7341
7342 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7343
7344 fi;
7345
7346 eval "$ac_cv_use_accel"
7347 if test "$no_cache" != 1; then
7348 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7349 fi
7350
7351 if test "$wxUSE_ACCEL" = yes; then
7352 echo "$as_me:$LINENO: result: yes" >&5
7353 echo "${ECHO_T}yes" >&6
7354 else
7355 echo "$as_me:$LINENO: result: no" >&5
7356 echo "${ECHO_T}no" >&6
7357 fi
7358
7359
7360 enablestring=
7361 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7362 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7363 no_cache=0
7364 # Check whether --enable-button or --disable-button was given.
7365 if test "${enable_button+set}" = set; then
7366 enableval="$enable_button"
7367
7368 if test "$enableval" = yes; then
7369 ac_cv_use_button='wxUSE_BUTTON=yes'
7370 else
7371 ac_cv_use_button='wxUSE_BUTTON=no'
7372 fi
7373
7374 else
7375
7376 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7377 if test "x$LINE" != x ; then
7378 eval "DEFAULT_$LINE"
7379 else
7380 no_cache=1
7381 fi
7382
7383 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7384
7385 fi;
7386
7387 eval "$ac_cv_use_button"
7388 if test "$no_cache" != 1; then
7389 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7390 fi
7391
7392 if test "$wxUSE_BUTTON" = yes; then
7393 echo "$as_me:$LINENO: result: yes" >&5
7394 echo "${ECHO_T}yes" >&6
7395 else
7396 echo "$as_me:$LINENO: result: no" >&5
7397 echo "${ECHO_T}no" >&6
7398 fi
7399
7400
7401 enablestring=
7402 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7403 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7404 no_cache=0
7405 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7406 if test "${enable_bmpbutton+set}" = set; then
7407 enableval="$enable_bmpbutton"
7408
7409 if test "$enableval" = yes; then
7410 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
7411 else
7412 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
7413 fi
7414
7415 else
7416
7417 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7418 if test "x$LINE" != x ; then
7419 eval "DEFAULT_$LINE"
7420 else
7421 no_cache=1
7422 fi
7423
7424 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7425
7426 fi;
7427
7428 eval "$ac_cv_use_bmpbutton"
7429 if test "$no_cache" != 1; then
7430 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7431 fi
7432
7433 if test "$wxUSE_BMPBUTTON" = yes; then
7434 echo "$as_me:$LINENO: result: yes" >&5
7435 echo "${ECHO_T}yes" >&6
7436 else
7437 echo "$as_me:$LINENO: result: no" >&5
7438 echo "${ECHO_T}no" >&6
7439 fi
7440
7441
7442 enablestring=
7443 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7444 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7445 no_cache=0
7446 # Check whether --enable-calendar or --disable-calendar was given.
7447 if test "${enable_calendar+set}" = set; then
7448 enableval="$enable_calendar"
7449
7450 if test "$enableval" = yes; then
7451 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
7452 else
7453 ac_cv_use_calendar='wxUSE_CALCTRL=no'
7454 fi
7455
7456 else
7457
7458 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7459 if test "x$LINE" != x ; then
7460 eval "DEFAULT_$LINE"
7461 else
7462 no_cache=1
7463 fi
7464
7465 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7466
7467 fi;
7468
7469 eval "$ac_cv_use_calendar"
7470 if test "$no_cache" != 1; then
7471 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7472 fi
7473
7474 if test "$wxUSE_CALCTRL" = yes; then
7475 echo "$as_me:$LINENO: result: yes" >&5
7476 echo "${ECHO_T}yes" >&6
7477 else
7478 echo "$as_me:$LINENO: result: no" >&5
7479 echo "${ECHO_T}no" >&6
7480 fi
7481
7482
7483 enablestring=
7484 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7485 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7486 no_cache=0
7487 # Check whether --enable-caret or --disable-caret was given.
7488 if test "${enable_caret+set}" = set; then
7489 enableval="$enable_caret"
7490
7491 if test "$enableval" = yes; then
7492 ac_cv_use_caret='wxUSE_CARET=yes'
7493 else
7494 ac_cv_use_caret='wxUSE_CARET=no'
7495 fi
7496
7497 else
7498
7499 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7500 if test "x$LINE" != x ; then
7501 eval "DEFAULT_$LINE"
7502 else
7503 no_cache=1
7504 fi
7505
7506 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7507
7508 fi;
7509
7510 eval "$ac_cv_use_caret"
7511 if test "$no_cache" != 1; then
7512 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7513 fi
7514
7515 if test "$wxUSE_CARET" = yes; then
7516 echo "$as_me:$LINENO: result: yes" >&5
7517 echo "${ECHO_T}yes" >&6
7518 else
7519 echo "$as_me:$LINENO: result: no" >&5
7520 echo "${ECHO_T}no" >&6
7521 fi
7522
7523
7524 enablestring=
7525 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7526 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7527 no_cache=0
7528 # Check whether --enable-checkbox or --disable-checkbox was given.
7529 if test "${enable_checkbox+set}" = set; then
7530 enableval="$enable_checkbox"
7531
7532 if test "$enableval" = yes; then
7533 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
7534 else
7535 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
7536 fi
7537
7538 else
7539
7540 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7541 if test "x$LINE" != x ; then
7542 eval "DEFAULT_$LINE"
7543 else
7544 no_cache=1
7545 fi
7546
7547 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7548
7549 fi;
7550
7551 eval "$ac_cv_use_checkbox"
7552 if test "$no_cache" != 1; then
7553 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7554 fi
7555
7556 if test "$wxUSE_CHECKBOX" = yes; then
7557 echo "$as_me:$LINENO: result: yes" >&5
7558 echo "${ECHO_T}yes" >&6
7559 else
7560 echo "$as_me:$LINENO: result: no" >&5
7561 echo "${ECHO_T}no" >&6
7562 fi
7563
7564
7565 enablestring=
7566 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7567 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7568 no_cache=0
7569 # Check whether --enable-checklst or --disable-checklst was given.
7570 if test "${enable_checklst+set}" = set; then
7571 enableval="$enable_checklst"
7572
7573 if test "$enableval" = yes; then
7574 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
7575 else
7576 ac_cv_use_checklst='wxUSE_CHECKLST=no'
7577 fi
7578
7579 else
7580
7581 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7582 if test "x$LINE" != x ; then
7583 eval "DEFAULT_$LINE"
7584 else
7585 no_cache=1
7586 fi
7587
7588 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7589
7590 fi;
7591
7592 eval "$ac_cv_use_checklst"
7593 if test "$no_cache" != 1; then
7594 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7595 fi
7596
7597 if test "$wxUSE_CHECKLST" = yes; then
7598 echo "$as_me:$LINENO: result: yes" >&5
7599 echo "${ECHO_T}yes" >&6
7600 else
7601 echo "$as_me:$LINENO: result: no" >&5
7602 echo "${ECHO_T}no" >&6
7603 fi
7604
7605
7606 enablestring=
7607 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7608 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7609 no_cache=0
7610 # Check whether --enable-choice or --disable-choice was given.
7611 if test "${enable_choice+set}" = set; then
7612 enableval="$enable_choice"
7613
7614 if test "$enableval" = yes; then
7615 ac_cv_use_choice='wxUSE_CHOICE=yes'
7616 else
7617 ac_cv_use_choice='wxUSE_CHOICE=no'
7618 fi
7619
7620 else
7621
7622 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7623 if test "x$LINE" != x ; then
7624 eval "DEFAULT_$LINE"
7625 else
7626 no_cache=1
7627 fi
7628
7629 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7630
7631 fi;
7632
7633 eval "$ac_cv_use_choice"
7634 if test "$no_cache" != 1; then
7635 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7636 fi
7637
7638 if test "$wxUSE_CHOICE" = yes; then
7639 echo "$as_me:$LINENO: result: yes" >&5
7640 echo "${ECHO_T}yes" >&6
7641 else
7642 echo "$as_me:$LINENO: result: no" >&5
7643 echo "${ECHO_T}no" >&6
7644 fi
7645
7646
7647 enablestring=
7648 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7649 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7650 no_cache=0
7651 # Check whether --enable-choicebook or --disable-choicebook was given.
7652 if test "${enable_choicebook+set}" = set; then
7653 enableval="$enable_choicebook"
7654
7655 if test "$enableval" = yes; then
7656 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
7657 else
7658 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
7659 fi
7660
7661 else
7662
7663 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7664 if test "x$LINE" != x ; then
7665 eval "DEFAULT_$LINE"
7666 else
7667 no_cache=1
7668 fi
7669
7670 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7671
7672 fi;
7673
7674 eval "$ac_cv_use_choicebook"
7675 if test "$no_cache" != 1; then
7676 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7677 fi
7678
7679 if test "$wxUSE_CHOICEBOOK" = yes; then
7680 echo "$as_me:$LINENO: result: yes" >&5
7681 echo "${ECHO_T}yes" >&6
7682 else
7683 echo "$as_me:$LINENO: result: no" >&5
7684 echo "${ECHO_T}no" >&6
7685 fi
7686
7687
7688 enablestring=
7689 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7690 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7691 no_cache=0
7692 # Check whether --enable-combobox or --disable-combobox was given.
7693 if test "${enable_combobox+set}" = set; then
7694 enableval="$enable_combobox"
7695
7696 if test "$enableval" = yes; then
7697 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
7698 else
7699 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
7700 fi
7701
7702 else
7703
7704 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7705 if test "x$LINE" != x ; then
7706 eval "DEFAULT_$LINE"
7707 else
7708 no_cache=1
7709 fi
7710
7711 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7712
7713 fi;
7714
7715 eval "$ac_cv_use_combobox"
7716 if test "$no_cache" != 1; then
7717 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7718 fi
7719
7720 if test "$wxUSE_COMBOBOX" = yes; then
7721 echo "$as_me:$LINENO: result: yes" >&5
7722 echo "${ECHO_T}yes" >&6
7723 else
7724 echo "$as_me:$LINENO: result: no" >&5
7725 echo "${ECHO_T}no" >&6
7726 fi
7727
7728
7729 enablestring=
7730 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
7731 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
7732 no_cache=0
7733 # Check whether --enable-datepick or --disable-datepick was given.
7734 if test "${enable_datepick+set}" = set; then
7735 enableval="$enable_datepick"
7736
7737 if test "$enableval" = yes; then
7738 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
7739 else
7740 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
7741 fi
7742
7743 else
7744
7745 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
7746 if test "x$LINE" != x ; then
7747 eval "DEFAULT_$LINE"
7748 else
7749 no_cache=1
7750 fi
7751
7752 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
7753
7754 fi;
7755
7756 eval "$ac_cv_use_datepick"
7757 if test "$no_cache" != 1; then
7758 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
7759 fi
7760
7761 if test "$wxUSE_DATEPICKCTRL" = yes; then
7762 echo "$as_me:$LINENO: result: yes" >&5
7763 echo "${ECHO_T}yes" >&6
7764 else
7765 echo "$as_me:$LINENO: result: no" >&5
7766 echo "${ECHO_T}no" >&6
7767 fi
7768
7769
7770 enablestring=
7771 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7772 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7773 no_cache=0
7774 # Check whether --enable-display or --disable-display was given.
7775 if test "${enable_display+set}" = set; then
7776 enableval="$enable_display"
7777
7778 if test "$enableval" = yes; then
7779 ac_cv_use_display='wxUSE_DISPLAY=yes'
7780 else
7781 ac_cv_use_display='wxUSE_DISPLAY=no'
7782 fi
7783
7784 else
7785
7786 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7787 if test "x$LINE" != x ; then
7788 eval "DEFAULT_$LINE"
7789 else
7790 no_cache=1
7791 fi
7792
7793 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7794
7795 fi;
7796
7797 eval "$ac_cv_use_display"
7798 if test "$no_cache" != 1; then
7799 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7800 fi
7801
7802 if test "$wxUSE_DISPLAY" = yes; then
7803 echo "$as_me:$LINENO: result: yes" >&5
7804 echo "${ECHO_T}yes" >&6
7805 else
7806 echo "$as_me:$LINENO: result: no" >&5
7807 echo "${ECHO_T}no" >&6
7808 fi
7809
7810
7811 enablestring=
7812 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7813 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7814 no_cache=0
7815 # Check whether --enable-gauge or --disable-gauge was given.
7816 if test "${enable_gauge+set}" = set; then
7817 enableval="$enable_gauge"
7818
7819 if test "$enableval" = yes; then
7820 ac_cv_use_gauge='wxUSE_GAUGE=yes'
7821 else
7822 ac_cv_use_gauge='wxUSE_GAUGE=no'
7823 fi
7824
7825 else
7826
7827 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7828 if test "x$LINE" != x ; then
7829 eval "DEFAULT_$LINE"
7830 else
7831 no_cache=1
7832 fi
7833
7834 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7835
7836 fi;
7837
7838 eval "$ac_cv_use_gauge"
7839 if test "$no_cache" != 1; then
7840 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7841 fi
7842
7843 if test "$wxUSE_GAUGE" = yes; then
7844 echo "$as_me:$LINENO: result: yes" >&5
7845 echo "${ECHO_T}yes" >&6
7846 else
7847 echo "$as_me:$LINENO: result: no" >&5
7848 echo "${ECHO_T}no" >&6
7849 fi
7850
7851
7852 enablestring=
7853 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7854 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7855 no_cache=0
7856 # Check whether --enable-grid or --disable-grid was given.
7857 if test "${enable_grid+set}" = set; then
7858 enableval="$enable_grid"
7859
7860 if test "$enableval" = yes; then
7861 ac_cv_use_grid='wxUSE_GRID=yes'
7862 else
7863 ac_cv_use_grid='wxUSE_GRID=no'
7864 fi
7865
7866 else
7867
7868 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7869 if test "x$LINE" != x ; then
7870 eval "DEFAULT_$LINE"
7871 else
7872 no_cache=1
7873 fi
7874
7875 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7876
7877 fi;
7878
7879 eval "$ac_cv_use_grid"
7880 if test "$no_cache" != 1; then
7881 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7882 fi
7883
7884 if test "$wxUSE_GRID" = yes; then
7885 echo "$as_me:$LINENO: result: yes" >&5
7886 echo "${ECHO_T}yes" >&6
7887 else
7888 echo "$as_me:$LINENO: result: no" >&5
7889 echo "${ECHO_T}no" >&6
7890 fi
7891
7892
7893 enablestring=
7894 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7895 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7896 no_cache=0
7897 # Check whether --enable-imaglist or --disable-imaglist was given.
7898 if test "${enable_imaglist+set}" = set; then
7899 enableval="$enable_imaglist"
7900
7901 if test "$enableval" = yes; then
7902 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7903 else
7904 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7905 fi
7906
7907 else
7908
7909 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7910 if test "x$LINE" != x ; then
7911 eval "DEFAULT_$LINE"
7912 else
7913 no_cache=1
7914 fi
7915
7916 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7917
7918 fi;
7919
7920 eval "$ac_cv_use_imaglist"
7921 if test "$no_cache" != 1; then
7922 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7923 fi
7924
7925 if test "$wxUSE_IMAGLIST" = yes; then
7926 echo "$as_me:$LINENO: result: yes" >&5
7927 echo "${ECHO_T}yes" >&6
7928 else
7929 echo "$as_me:$LINENO: result: no" >&5
7930 echo "${ECHO_T}no" >&6
7931 fi
7932
7933
7934 enablestring=
7935 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7936 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7937 no_cache=0
7938 # Check whether --enable-listbook or --disable-listbook was given.
7939 if test "${enable_listbook+set}" = set; then
7940 enableval="$enable_listbook"
7941
7942 if test "$enableval" = yes; then
7943 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
7944 else
7945 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
7946 fi
7947
7948 else
7949
7950 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7951 if test "x$LINE" != x ; then
7952 eval "DEFAULT_$LINE"
7953 else
7954 no_cache=1
7955 fi
7956
7957 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7958
7959 fi;
7960
7961 eval "$ac_cv_use_listbook"
7962 if test "$no_cache" != 1; then
7963 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7964 fi
7965
7966 if test "$wxUSE_LISTBOOK" = yes; then
7967 echo "$as_me:$LINENO: result: yes" >&5
7968 echo "${ECHO_T}yes" >&6
7969 else
7970 echo "$as_me:$LINENO: result: no" >&5
7971 echo "${ECHO_T}no" >&6
7972 fi
7973
7974
7975 enablestring=
7976 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7977 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7978 no_cache=0
7979 # Check whether --enable-listbox or --disable-listbox was given.
7980 if test "${enable_listbox+set}" = set; then
7981 enableval="$enable_listbox"
7982
7983 if test "$enableval" = yes; then
7984 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7985 else
7986 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7987 fi
7988
7989 else
7990
7991 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7992 if test "x$LINE" != x ; then
7993 eval "DEFAULT_$LINE"
7994 else
7995 no_cache=1
7996 fi
7997
7998 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7999
8000 fi;
8001
8002 eval "$ac_cv_use_listbox"
8003 if test "$no_cache" != 1; then
8004 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8005 fi
8006
8007 if test "$wxUSE_LISTBOX" = yes; then
8008 echo "$as_me:$LINENO: result: yes" >&5
8009 echo "${ECHO_T}yes" >&6
8010 else
8011 echo "$as_me:$LINENO: result: no" >&5
8012 echo "${ECHO_T}no" >&6
8013 fi
8014
8015
8016 enablestring=
8017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8018 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8019 no_cache=0
8020 # Check whether --enable-listctrl or --disable-listctrl was given.
8021 if test "${enable_listctrl+set}" = set; then
8022 enableval="$enable_listctrl"
8023
8024 if test "$enableval" = yes; then
8025 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
8026 else
8027 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
8028 fi
8029
8030 else
8031
8032 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8033 if test "x$LINE" != x ; then
8034 eval "DEFAULT_$LINE"
8035 else
8036 no_cache=1
8037 fi
8038
8039 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8040
8041 fi;
8042
8043 eval "$ac_cv_use_listctrl"
8044 if test "$no_cache" != 1; then
8045 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8046 fi
8047
8048 if test "$wxUSE_LISTCTRL" = yes; then
8049 echo "$as_me:$LINENO: result: yes" >&5
8050 echo "${ECHO_T}yes" >&6
8051 else
8052 echo "$as_me:$LINENO: result: no" >&5
8053 echo "${ECHO_T}no" >&6
8054 fi
8055
8056
8057 enablestring=
8058 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8059 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8060 no_cache=0
8061 # Check whether --enable-notebook or --disable-notebook was given.
8062 if test "${enable_notebook+set}" = set; then
8063 enableval="$enable_notebook"
8064
8065 if test "$enableval" = yes; then
8066 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
8067 else
8068 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
8069 fi
8070
8071 else
8072
8073 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8074 if test "x$LINE" != x ; then
8075 eval "DEFAULT_$LINE"
8076 else
8077 no_cache=1
8078 fi
8079
8080 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8081
8082 fi;
8083
8084 eval "$ac_cv_use_notebook"
8085 if test "$no_cache" != 1; then
8086 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8087 fi
8088
8089 if test "$wxUSE_NOTEBOOK" = yes; then
8090 echo "$as_me:$LINENO: result: yes" >&5
8091 echo "${ECHO_T}yes" >&6
8092 else
8093 echo "$as_me:$LINENO: result: no" >&5
8094 echo "${ECHO_T}no" >&6
8095 fi
8096
8097
8098 enablestring=
8099 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8100 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8101 no_cache=0
8102 # Check whether --enable-radiobox or --disable-radiobox was given.
8103 if test "${enable_radiobox+set}" = set; then
8104 enableval="$enable_radiobox"
8105
8106 if test "$enableval" = yes; then
8107 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
8108 else
8109 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
8110 fi
8111
8112 else
8113
8114 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8115 if test "x$LINE" != x ; then
8116 eval "DEFAULT_$LINE"
8117 else
8118 no_cache=1
8119 fi
8120
8121 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8122
8123 fi;
8124
8125 eval "$ac_cv_use_radiobox"
8126 if test "$no_cache" != 1; then
8127 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8128 fi
8129
8130 if test "$wxUSE_RADIOBOX" = yes; then
8131 echo "$as_me:$LINENO: result: yes" >&5
8132 echo "${ECHO_T}yes" >&6
8133 else
8134 echo "$as_me:$LINENO: result: no" >&5
8135 echo "${ECHO_T}no" >&6
8136 fi
8137
8138
8139 enablestring=
8140 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8141 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8142 no_cache=0
8143 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8144 if test "${enable_radiobtn+set}" = set; then
8145 enableval="$enable_radiobtn"
8146
8147 if test "$enableval" = yes; then
8148 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
8149 else
8150 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
8151 fi
8152
8153 else
8154
8155 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8156 if test "x$LINE" != x ; then
8157 eval "DEFAULT_$LINE"
8158 else
8159 no_cache=1
8160 fi
8161
8162 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8163
8164 fi;
8165
8166 eval "$ac_cv_use_radiobtn"
8167 if test "$no_cache" != 1; then
8168 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8169 fi
8170
8171 if test "$wxUSE_RADIOBTN" = yes; then
8172 echo "$as_me:$LINENO: result: yes" >&5
8173 echo "${ECHO_T}yes" >&6
8174 else
8175 echo "$as_me:$LINENO: result: no" >&5
8176 echo "${ECHO_T}no" >&6
8177 fi
8178
8179
8180 enablestring=
8181 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8182 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8183 no_cache=0
8184 # Check whether --enable-sash or --disable-sash was given.
8185 if test "${enable_sash+set}" = set; then
8186 enableval="$enable_sash"
8187
8188 if test "$enableval" = yes; then
8189 ac_cv_use_sash='wxUSE_SASH=yes'
8190 else
8191 ac_cv_use_sash='wxUSE_SASH=no'
8192 fi
8193
8194 else
8195
8196 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8197 if test "x$LINE" != x ; then
8198 eval "DEFAULT_$LINE"
8199 else
8200 no_cache=1
8201 fi
8202
8203 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8204
8205 fi;
8206
8207 eval "$ac_cv_use_sash"
8208 if test "$no_cache" != 1; then
8209 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8210 fi
8211
8212 if test "$wxUSE_SASH" = yes; then
8213 echo "$as_me:$LINENO: result: yes" >&5
8214 echo "${ECHO_T}yes" >&6
8215 else
8216 echo "$as_me:$LINENO: result: no" >&5
8217 echo "${ECHO_T}no" >&6
8218 fi
8219
8220
8221 enablestring=
8222 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8223 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8224 no_cache=0
8225 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8226 if test "${enable_scrollbar+set}" = set; then
8227 enableval="$enable_scrollbar"
8228
8229 if test "$enableval" = yes; then
8230 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
8231 else
8232 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
8233 fi
8234
8235 else
8236
8237 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8238 if test "x$LINE" != x ; then
8239 eval "DEFAULT_$LINE"
8240 else
8241 no_cache=1
8242 fi
8243
8244 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8245
8246 fi;
8247
8248 eval "$ac_cv_use_scrollbar"
8249 if test "$no_cache" != 1; then
8250 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8251 fi
8252
8253 if test "$wxUSE_SCROLLBAR" = yes; then
8254 echo "$as_me:$LINENO: result: yes" >&5
8255 echo "${ECHO_T}yes" >&6
8256 else
8257 echo "$as_me:$LINENO: result: no" >&5
8258 echo "${ECHO_T}no" >&6
8259 fi
8260
8261
8262 enablestring=
8263 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8264 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8265 no_cache=0
8266 # Check whether --enable-slider or --disable-slider was given.
8267 if test "${enable_slider+set}" = set; then
8268 enableval="$enable_slider"
8269
8270 if test "$enableval" = yes; then
8271 ac_cv_use_slider='wxUSE_SLIDER=yes'
8272 else
8273 ac_cv_use_slider='wxUSE_SLIDER=no'
8274 fi
8275
8276 else
8277
8278 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8279 if test "x$LINE" != x ; then
8280 eval "DEFAULT_$LINE"
8281 else
8282 no_cache=1
8283 fi
8284
8285 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8286
8287 fi;
8288
8289 eval "$ac_cv_use_slider"
8290 if test "$no_cache" != 1; then
8291 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8292 fi
8293
8294 if test "$wxUSE_SLIDER" = yes; then
8295 echo "$as_me:$LINENO: result: yes" >&5
8296 echo "${ECHO_T}yes" >&6
8297 else
8298 echo "$as_me:$LINENO: result: no" >&5
8299 echo "${ECHO_T}no" >&6
8300 fi
8301
8302
8303 enablestring=
8304 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8305 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8306 no_cache=0
8307 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8308 if test "${enable_spinbtn+set}" = set; then
8309 enableval="$enable_spinbtn"
8310
8311 if test "$enableval" = yes; then
8312 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
8313 else
8314 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
8315 fi
8316
8317 else
8318
8319 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8320 if test "x$LINE" != x ; then
8321 eval "DEFAULT_$LINE"
8322 else
8323 no_cache=1
8324 fi
8325
8326 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8327
8328 fi;
8329
8330 eval "$ac_cv_use_spinbtn"
8331 if test "$no_cache" != 1; then
8332 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8333 fi
8334
8335 if test "$wxUSE_SPINBTN" = yes; then
8336 echo "$as_me:$LINENO: result: yes" >&5
8337 echo "${ECHO_T}yes" >&6
8338 else
8339 echo "$as_me:$LINENO: result: no" >&5
8340 echo "${ECHO_T}no" >&6
8341 fi
8342
8343
8344 enablestring=
8345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8346 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8347 no_cache=0
8348 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8349 if test "${enable_spinctrl+set}" = set; then
8350 enableval="$enable_spinctrl"
8351
8352 if test "$enableval" = yes; then
8353 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
8354 else
8355 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
8356 fi
8357
8358 else
8359
8360 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8361 if test "x$LINE" != x ; then
8362 eval "DEFAULT_$LINE"
8363 else
8364 no_cache=1
8365 fi
8366
8367 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8368
8369 fi;
8370
8371 eval "$ac_cv_use_spinctrl"
8372 if test "$no_cache" != 1; then
8373 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8374 fi
8375
8376 if test "$wxUSE_SPINCTRL" = yes; then
8377 echo "$as_me:$LINENO: result: yes" >&5
8378 echo "${ECHO_T}yes" >&6
8379 else
8380 echo "$as_me:$LINENO: result: no" >&5
8381 echo "${ECHO_T}no" >&6
8382 fi
8383
8384
8385 enablestring=
8386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8387 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8388 no_cache=0
8389 # Check whether --enable-splitter or --disable-splitter was given.
8390 if test "${enable_splitter+set}" = set; then
8391 enableval="$enable_splitter"
8392
8393 if test "$enableval" = yes; then
8394 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
8395 else
8396 ac_cv_use_splitter='wxUSE_SPLITTER=no'
8397 fi
8398
8399 else
8400
8401 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8402 if test "x$LINE" != x ; then
8403 eval "DEFAULT_$LINE"
8404 else
8405 no_cache=1
8406 fi
8407
8408 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8409
8410 fi;
8411
8412 eval "$ac_cv_use_splitter"
8413 if test "$no_cache" != 1; then
8414 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8415 fi
8416
8417 if test "$wxUSE_SPLITTER" = yes; then
8418 echo "$as_me:$LINENO: result: yes" >&5
8419 echo "${ECHO_T}yes" >&6
8420 else
8421 echo "$as_me:$LINENO: result: no" >&5
8422 echo "${ECHO_T}no" >&6
8423 fi
8424
8425
8426 enablestring=
8427 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8428 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8429 no_cache=0
8430 # Check whether --enable-statbmp or --disable-statbmp was given.
8431 if test "${enable_statbmp+set}" = set; then
8432 enableval="$enable_statbmp"
8433
8434 if test "$enableval" = yes; then
8435 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
8436 else
8437 ac_cv_use_statbmp='wxUSE_STATBMP=no'
8438 fi
8439
8440 else
8441
8442 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8443 if test "x$LINE" != x ; then
8444 eval "DEFAULT_$LINE"
8445 else
8446 no_cache=1
8447 fi
8448
8449 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8450
8451 fi;
8452
8453 eval "$ac_cv_use_statbmp"
8454 if test "$no_cache" != 1; then
8455 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8456 fi
8457
8458 if test "$wxUSE_STATBMP" = yes; then
8459 echo "$as_me:$LINENO: result: yes" >&5
8460 echo "${ECHO_T}yes" >&6
8461 else
8462 echo "$as_me:$LINENO: result: no" >&5
8463 echo "${ECHO_T}no" >&6
8464 fi
8465
8466
8467 enablestring=
8468 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8469 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8470 no_cache=0
8471 # Check whether --enable-statbox or --disable-statbox was given.
8472 if test "${enable_statbox+set}" = set; then
8473 enableval="$enable_statbox"
8474
8475 if test "$enableval" = yes; then
8476 ac_cv_use_statbox='wxUSE_STATBOX=yes'
8477 else
8478 ac_cv_use_statbox='wxUSE_STATBOX=no'
8479 fi
8480
8481 else
8482
8483 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8484 if test "x$LINE" != x ; then
8485 eval "DEFAULT_$LINE"
8486 else
8487 no_cache=1
8488 fi
8489
8490 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8491
8492 fi;
8493
8494 eval "$ac_cv_use_statbox"
8495 if test "$no_cache" != 1; then
8496 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8497 fi
8498
8499 if test "$wxUSE_STATBOX" = yes; then
8500 echo "$as_me:$LINENO: result: yes" >&5
8501 echo "${ECHO_T}yes" >&6
8502 else
8503 echo "$as_me:$LINENO: result: no" >&5
8504 echo "${ECHO_T}no" >&6
8505 fi
8506
8507
8508 enablestring=
8509 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8510 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8511 no_cache=0
8512 # Check whether --enable-statline or --disable-statline was given.
8513 if test "${enable_statline+set}" = set; then
8514 enableval="$enable_statline"
8515
8516 if test "$enableval" = yes; then
8517 ac_cv_use_statline='wxUSE_STATLINE=yes'
8518 else
8519 ac_cv_use_statline='wxUSE_STATLINE=no'
8520 fi
8521
8522 else
8523
8524 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8525 if test "x$LINE" != x ; then
8526 eval "DEFAULT_$LINE"
8527 else
8528 no_cache=1
8529 fi
8530
8531 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8532
8533 fi;
8534
8535 eval "$ac_cv_use_statline"
8536 if test "$no_cache" != 1; then
8537 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8538 fi
8539
8540 if test "$wxUSE_STATLINE" = yes; then
8541 echo "$as_me:$LINENO: result: yes" >&5
8542 echo "${ECHO_T}yes" >&6
8543 else
8544 echo "$as_me:$LINENO: result: no" >&5
8545 echo "${ECHO_T}no" >&6
8546 fi
8547
8548
8549 enablestring=
8550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8551 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8552 no_cache=0
8553 # Check whether --enable-stattext or --disable-stattext was given.
8554 if test "${enable_stattext+set}" = set; then
8555 enableval="$enable_stattext"
8556
8557 if test "$enableval" = yes; then
8558 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
8559 else
8560 ac_cv_use_stattext='wxUSE_STATTEXT=no'
8561 fi
8562
8563 else
8564
8565 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8566 if test "x$LINE" != x ; then
8567 eval "DEFAULT_$LINE"
8568 else
8569 no_cache=1
8570 fi
8571
8572 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8573
8574 fi;
8575
8576 eval "$ac_cv_use_stattext"
8577 if test "$no_cache" != 1; then
8578 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8579 fi
8580
8581 if test "$wxUSE_STATTEXT" = yes; then
8582 echo "$as_me:$LINENO: result: yes" >&5
8583 echo "${ECHO_T}yes" >&6
8584 else
8585 echo "$as_me:$LINENO: result: no" >&5
8586 echo "${ECHO_T}no" >&6
8587 fi
8588
8589
8590 enablestring=
8591 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8592 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8593 no_cache=0
8594 # Check whether --enable-statusbar or --disable-statusbar was given.
8595 if test "${enable_statusbar+set}" = set; then
8596 enableval="$enable_statusbar"
8597
8598 if test "$enableval" = yes; then
8599 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
8600 else
8601 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
8602 fi
8603
8604 else
8605
8606 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8607 if test "x$LINE" != x ; then
8608 eval "DEFAULT_$LINE"
8609 else
8610 no_cache=1
8611 fi
8612
8613 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8614
8615 fi;
8616
8617 eval "$ac_cv_use_statusbar"
8618 if test "$no_cache" != 1; then
8619 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8620 fi
8621
8622 if test "$wxUSE_STATUSBAR" = yes; then
8623 echo "$as_me:$LINENO: result: yes" >&5
8624 echo "${ECHO_T}yes" >&6
8625 else
8626 echo "$as_me:$LINENO: result: no" >&5
8627 echo "${ECHO_T}no" >&6
8628 fi
8629
8630
8631 enablestring=
8632 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8633 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8634 no_cache=0
8635 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8636 if test "${enable_tabdialog+set}" = set; then
8637 enableval="$enable_tabdialog"
8638
8639 if test "$enableval" = yes; then
8640 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
8641 else
8642 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
8643 fi
8644
8645 else
8646
8647 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8648 if test "x$LINE" != x ; then
8649 eval "DEFAULT_$LINE"
8650 else
8651 no_cache=1
8652 fi
8653
8654 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8655
8656 fi;
8657
8658 eval "$ac_cv_use_tabdialog"
8659 if test "$no_cache" != 1; then
8660 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8661 fi
8662
8663 if test "$wxUSE_TABDIALOG" = yes; then
8664 echo "$as_me:$LINENO: result: yes" >&5
8665 echo "${ECHO_T}yes" >&6
8666 else
8667 echo "$as_me:$LINENO: result: no" >&5
8668 echo "${ECHO_T}no" >&6
8669 fi
8670
8671
8672 enablestring=
8673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8674 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8675 no_cache=0
8676 # Check whether --enable-textctrl or --disable-textctrl was given.
8677 if test "${enable_textctrl+set}" = set; then
8678 enableval="$enable_textctrl"
8679
8680 if test "$enableval" = yes; then
8681 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
8682 else
8683 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
8684 fi
8685
8686 else
8687
8688 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8689 if test "x$LINE" != x ; then
8690 eval "DEFAULT_$LINE"
8691 else
8692 no_cache=1
8693 fi
8694
8695 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8696
8697 fi;
8698
8699 eval "$ac_cv_use_textctrl"
8700 if test "$no_cache" != 1; then
8701 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8702 fi
8703
8704 if test "$wxUSE_TEXTCTRL" = yes; then
8705 echo "$as_me:$LINENO: result: yes" >&5
8706 echo "${ECHO_T}yes" >&6
8707 else
8708 echo "$as_me:$LINENO: result: no" >&5
8709 echo "${ECHO_T}no" >&6
8710 fi
8711
8712
8713 enablestring=
8714 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8715 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8716 no_cache=0
8717 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8718 if test "${enable_togglebtn+set}" = set; then
8719 enableval="$enable_togglebtn"
8720
8721 if test "$enableval" = yes; then
8722 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
8723 else
8724 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
8725 fi
8726
8727 else
8728
8729 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8730 if test "x$LINE" != x ; then
8731 eval "DEFAULT_$LINE"
8732 else
8733 no_cache=1
8734 fi
8735
8736 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8737
8738 fi;
8739
8740 eval "$ac_cv_use_togglebtn"
8741 if test "$no_cache" != 1; then
8742 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8743 fi
8744
8745 if test "$wxUSE_TOGGLEBTN" = yes; then
8746 echo "$as_me:$LINENO: result: yes" >&5
8747 echo "${ECHO_T}yes" >&6
8748 else
8749 echo "$as_me:$LINENO: result: no" >&5
8750 echo "${ECHO_T}no" >&6
8751 fi
8752
8753
8754 enablestring=
8755 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8756 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8757 no_cache=0
8758 # Check whether --enable-toolbar or --disable-toolbar was given.
8759 if test "${enable_toolbar+set}" = set; then
8760 enableval="$enable_toolbar"
8761
8762 if test "$enableval" = yes; then
8763 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
8764 else
8765 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
8766 fi
8767
8768 else
8769
8770 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8771 if test "x$LINE" != x ; then
8772 eval "DEFAULT_$LINE"
8773 else
8774 no_cache=1
8775 fi
8776
8777 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8778
8779 fi;
8780
8781 eval "$ac_cv_use_toolbar"
8782 if test "$no_cache" != 1; then
8783 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8784 fi
8785
8786 if test "$wxUSE_TOOLBAR" = yes; then
8787 echo "$as_me:$LINENO: result: yes" >&5
8788 echo "${ECHO_T}yes" >&6
8789 else
8790 echo "$as_me:$LINENO: result: no" >&5
8791 echo "${ECHO_T}no" >&6
8792 fi
8793
8794
8795 enablestring=
8796 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8797 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8798 no_cache=0
8799 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8800 if test "${enable_tbarnative+set}" = set; then
8801 enableval="$enable_tbarnative"
8802
8803 if test "$enableval" = yes; then
8804 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
8805 else
8806 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
8807 fi
8808
8809 else
8810
8811 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8812 if test "x$LINE" != x ; then
8813 eval "DEFAULT_$LINE"
8814 else
8815 no_cache=1
8816 fi
8817
8818 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8819
8820 fi;
8821
8822 eval "$ac_cv_use_tbarnative"
8823 if test "$no_cache" != 1; then
8824 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8825 fi
8826
8827 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8828 echo "$as_me:$LINENO: result: yes" >&5
8829 echo "${ECHO_T}yes" >&6
8830 else
8831 echo "$as_me:$LINENO: result: no" >&5
8832 echo "${ECHO_T}no" >&6
8833 fi
8834
8835
8836 enablestring=
8837 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8838 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8839 no_cache=0
8840 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8841 if test "${enable_tbarsmpl+set}" = set; then
8842 enableval="$enable_tbarsmpl"
8843
8844 if test "$enableval" = yes; then
8845 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
8846 else
8847 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
8848 fi
8849
8850 else
8851
8852 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8853 if test "x$LINE" != x ; then
8854 eval "DEFAULT_$LINE"
8855 else
8856 no_cache=1
8857 fi
8858
8859 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8860
8861 fi;
8862
8863 eval "$ac_cv_use_tbarsmpl"
8864 if test "$no_cache" != 1; then
8865 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8866 fi
8867
8868 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8869 echo "$as_me:$LINENO: result: yes" >&5
8870 echo "${ECHO_T}yes" >&6
8871 else
8872 echo "$as_me:$LINENO: result: no" >&5
8873 echo "${ECHO_T}no" >&6
8874 fi
8875
8876
8877 enablestring=
8878 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8879 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8880 no_cache=0
8881 # Check whether --enable-treectrl or --disable-treectrl was given.
8882 if test "${enable_treectrl+set}" = set; then
8883 enableval="$enable_treectrl"
8884
8885 if test "$enableval" = yes; then
8886 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8887 else
8888 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8889 fi
8890
8891 else
8892
8893 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8894 if test "x$LINE" != x ; then
8895 eval "DEFAULT_$LINE"
8896 else
8897 no_cache=1
8898 fi
8899
8900 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8901
8902 fi;
8903
8904 eval "$ac_cv_use_treectrl"
8905 if test "$no_cache" != 1; then
8906 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8907 fi
8908
8909 if test "$wxUSE_TREECTRL" = yes; then
8910 echo "$as_me:$LINENO: result: yes" >&5
8911 echo "${ECHO_T}yes" >&6
8912 else
8913 echo "$as_me:$LINENO: result: no" >&5
8914 echo "${ECHO_T}no" >&6
8915 fi
8916
8917
8918 enablestring=
8919 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8920 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8921 no_cache=0
8922 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8923 if test "${enable_tipwindow+set}" = set; then
8924 enableval="$enable_tipwindow"
8925
8926 if test "$enableval" = yes; then
8927 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8928 else
8929 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8930 fi
8931
8932 else
8933
8934 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8935 if test "x$LINE" != x ; then
8936 eval "DEFAULT_$LINE"
8937 else
8938 no_cache=1
8939 fi
8940
8941 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8942
8943 fi;
8944
8945 eval "$ac_cv_use_tipwindow"
8946 if test "$no_cache" != 1; then
8947 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8948 fi
8949
8950 if test "$wxUSE_TIPWINDOW" = yes; then
8951 echo "$as_me:$LINENO: result: yes" >&5
8952 echo "${ECHO_T}yes" >&6
8953 else
8954 echo "$as_me:$LINENO: result: no" >&5
8955 echo "${ECHO_T}no" >&6
8956 fi
8957
8958
8959 enablestring=
8960 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8961 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8962 no_cache=0
8963 # Check whether --enable-popupwin or --disable-popupwin was given.
8964 if test "${enable_popupwin+set}" = set; then
8965 enableval="$enable_popupwin"
8966
8967 if test "$enableval" = yes; then
8968 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8969 else
8970 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8971 fi
8972
8973 else
8974
8975 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8976 if test "x$LINE" != x ; then
8977 eval "DEFAULT_$LINE"
8978 else
8979 no_cache=1
8980 fi
8981
8982 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8983
8984 fi;
8985
8986 eval "$ac_cv_use_popupwin"
8987 if test "$no_cache" != 1; then
8988 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8989 fi
8990
8991 if test "$wxUSE_POPUPWIN" = yes; then
8992 echo "$as_me:$LINENO: result: yes" >&5
8993 echo "${ECHO_T}yes" >&6
8994 else
8995 echo "$as_me:$LINENO: result: no" >&5
8996 echo "${ECHO_T}no" >&6
8997 fi
8998
8999
9000
9001
9002 enablestring=
9003 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9004 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9005 no_cache=0
9006 # Check whether --enable-commondlg or --disable-commondlg was given.
9007 if test "${enable_commondlg+set}" = set; then
9008 enableval="$enable_commondlg"
9009
9010 if test "$enableval" = yes; then
9011 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
9012 else
9013 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
9014 fi
9015
9016 else
9017
9018 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9019 if test "x$LINE" != x ; then
9020 eval "DEFAULT_$LINE"
9021 else
9022 no_cache=1
9023 fi
9024
9025 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9026
9027 fi;
9028
9029 eval "$ac_cv_use_commondlg"
9030 if test "$no_cache" != 1; then
9031 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9032 fi
9033
9034 if test "$wxUSE_COMMONDLGS" = yes; then
9035 echo "$as_me:$LINENO: result: yes" >&5
9036 echo "${ECHO_T}yes" >&6
9037 else
9038 echo "$as_me:$LINENO: result: no" >&5
9039 echo "${ECHO_T}no" >&6
9040 fi
9041
9042
9043 enablestring=
9044 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9045 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9046 no_cache=0
9047 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9048 if test "${enable_choicedlg+set}" = set; then
9049 enableval="$enable_choicedlg"
9050
9051 if test "$enableval" = yes; then
9052 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
9053 else
9054 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
9055 fi
9056
9057 else
9058
9059 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9060 if test "x$LINE" != x ; then
9061 eval "DEFAULT_$LINE"
9062 else
9063 no_cache=1
9064 fi
9065
9066 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9067
9068 fi;
9069
9070 eval "$ac_cv_use_choicedlg"
9071 if test "$no_cache" != 1; then
9072 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9073 fi
9074
9075 if test "$wxUSE_CHOICEDLG" = yes; then
9076 echo "$as_me:$LINENO: result: yes" >&5
9077 echo "${ECHO_T}yes" >&6
9078 else
9079 echo "$as_me:$LINENO: result: no" >&5
9080 echo "${ECHO_T}no" >&6
9081 fi
9082
9083
9084 enablestring=
9085 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9086 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9087 no_cache=0
9088 # Check whether --enable-coldlg or --disable-coldlg was given.
9089 if test "${enable_coldlg+set}" = set; then
9090 enableval="$enable_coldlg"
9091
9092 if test "$enableval" = yes; then
9093 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
9094 else
9095 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
9096 fi
9097
9098 else
9099
9100 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9101 if test "x$LINE" != x ; then
9102 eval "DEFAULT_$LINE"
9103 else
9104 no_cache=1
9105 fi
9106
9107 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9108
9109 fi;
9110
9111 eval "$ac_cv_use_coldlg"
9112 if test "$no_cache" != 1; then
9113 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9114 fi
9115
9116 if test "$wxUSE_COLOURDLG" = yes; then
9117 echo "$as_me:$LINENO: result: yes" >&5
9118 echo "${ECHO_T}yes" >&6
9119 else
9120 echo "$as_me:$LINENO: result: no" >&5
9121 echo "${ECHO_T}no" >&6
9122 fi
9123
9124
9125 enablestring=
9126 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9127 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9128 no_cache=0
9129 # Check whether --enable-filedlg or --disable-filedlg was given.
9130 if test "${enable_filedlg+set}" = set; then
9131 enableval="$enable_filedlg"
9132
9133 if test "$enableval" = yes; then
9134 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
9135 else
9136 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
9137 fi
9138
9139 else
9140
9141 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9142 if test "x$LINE" != x ; then
9143 eval "DEFAULT_$LINE"
9144 else
9145 no_cache=1
9146 fi
9147
9148 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9149
9150 fi;
9151
9152 eval "$ac_cv_use_filedlg"
9153 if test "$no_cache" != 1; then
9154 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9155 fi
9156
9157 if test "$wxUSE_FILEDLG" = yes; then
9158 echo "$as_me:$LINENO: result: yes" >&5
9159 echo "${ECHO_T}yes" >&6
9160 else
9161 echo "$as_me:$LINENO: result: no" >&5
9162 echo "${ECHO_T}no" >&6
9163 fi
9164
9165
9166 enablestring=
9167 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9168 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9169 no_cache=0
9170 # Check whether --enable-finddlg or --disable-finddlg was given.
9171 if test "${enable_finddlg+set}" = set; then
9172 enableval="$enable_finddlg"
9173
9174 if test "$enableval" = yes; then
9175 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
9176 else
9177 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
9178 fi
9179
9180 else
9181
9182 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9183 if test "x$LINE" != x ; then
9184 eval "DEFAULT_$LINE"
9185 else
9186 no_cache=1
9187 fi
9188
9189 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9190
9191 fi;
9192
9193 eval "$ac_cv_use_finddlg"
9194 if test "$no_cache" != 1; then
9195 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9196 fi
9197
9198 if test "$wxUSE_FINDREPLDLG" = yes; then
9199 echo "$as_me:$LINENO: result: yes" >&5
9200 echo "${ECHO_T}yes" >&6
9201 else
9202 echo "$as_me:$LINENO: result: no" >&5
9203 echo "${ECHO_T}no" >&6
9204 fi
9205
9206
9207 enablestring=
9208 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9209 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9210 no_cache=0
9211 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9212 if test "${enable_fontdlg+set}" = set; then
9213 enableval="$enable_fontdlg"
9214
9215 if test "$enableval" = yes; then
9216 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
9217 else
9218 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
9219 fi
9220
9221 else
9222
9223 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9224 if test "x$LINE" != x ; then
9225 eval "DEFAULT_$LINE"
9226 else
9227 no_cache=1
9228 fi
9229
9230 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9231
9232 fi;
9233
9234 eval "$ac_cv_use_fontdlg"
9235 if test "$no_cache" != 1; then
9236 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9237 fi
9238
9239 if test "$wxUSE_FONTDLG" = yes; then
9240 echo "$as_me:$LINENO: result: yes" >&5
9241 echo "${ECHO_T}yes" >&6
9242 else
9243 echo "$as_me:$LINENO: result: no" >&5
9244 echo "${ECHO_T}no" >&6
9245 fi
9246
9247
9248 enablestring=
9249 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9250 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9251 no_cache=0
9252 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9253 if test "${enable_dirdlg+set}" = set; then
9254 enableval="$enable_dirdlg"
9255
9256 if test "$enableval" = yes; then
9257 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
9258 else
9259 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
9260 fi
9261
9262 else
9263
9264 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9265 if test "x$LINE" != x ; then
9266 eval "DEFAULT_$LINE"
9267 else
9268 no_cache=1
9269 fi
9270
9271 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9272
9273 fi;
9274
9275 eval "$ac_cv_use_dirdlg"
9276 if test "$no_cache" != 1; then
9277 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9278 fi
9279
9280 if test "$wxUSE_DIRDLG" = yes; then
9281 echo "$as_me:$LINENO: result: yes" >&5
9282 echo "${ECHO_T}yes" >&6
9283 else
9284 echo "$as_me:$LINENO: result: no" >&5
9285 echo "${ECHO_T}no" >&6
9286 fi
9287
9288
9289 enablestring=
9290 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9291 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9292 no_cache=0
9293 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9294 if test "${enable_msgdlg+set}" = set; then
9295 enableval="$enable_msgdlg"
9296
9297 if test "$enableval" = yes; then
9298 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
9299 else
9300 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
9301 fi
9302
9303 else
9304
9305 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9306 if test "x$LINE" != x ; then
9307 eval "DEFAULT_$LINE"
9308 else
9309 no_cache=1
9310 fi
9311
9312 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9313
9314 fi;
9315
9316 eval "$ac_cv_use_msgdlg"
9317 if test "$no_cache" != 1; then
9318 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9319 fi
9320
9321 if test "$wxUSE_MSGDLG" = yes; then
9322 echo "$as_me:$LINENO: result: yes" >&5
9323 echo "${ECHO_T}yes" >&6
9324 else
9325 echo "$as_me:$LINENO: result: no" >&5
9326 echo "${ECHO_T}no" >&6
9327 fi
9328
9329
9330 enablestring=
9331 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9332 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9333 no_cache=0
9334 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9335 if test "${enable_numberdlg+set}" = set; then
9336 enableval="$enable_numberdlg"
9337
9338 if test "$enableval" = yes; then
9339 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
9340 else
9341 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
9342 fi
9343
9344 else
9345
9346 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9347 if test "x$LINE" != x ; then
9348 eval "DEFAULT_$LINE"
9349 else
9350 no_cache=1
9351 fi
9352
9353 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9354
9355 fi;
9356
9357 eval "$ac_cv_use_numberdlg"
9358 if test "$no_cache" != 1; then
9359 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9360 fi
9361
9362 if test "$wxUSE_NUMBERDLG" = yes; then
9363 echo "$as_me:$LINENO: result: yes" >&5
9364 echo "${ECHO_T}yes" >&6
9365 else
9366 echo "$as_me:$LINENO: result: no" >&5
9367 echo "${ECHO_T}no" >&6
9368 fi
9369
9370
9371 enablestring=
9372 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9373 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9374 no_cache=0
9375 # Check whether --enable-splash or --disable-splash was given.
9376 if test "${enable_splash+set}" = set; then
9377 enableval="$enable_splash"
9378
9379 if test "$enableval" = yes; then
9380 ac_cv_use_splash='wxUSE_SPLASH=yes'
9381 else
9382 ac_cv_use_splash='wxUSE_SPLASH=no'
9383 fi
9384
9385 else
9386
9387 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9388 if test "x$LINE" != x ; then
9389 eval "DEFAULT_$LINE"
9390 else
9391 no_cache=1
9392 fi
9393
9394 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9395
9396 fi;
9397
9398 eval "$ac_cv_use_splash"
9399 if test "$no_cache" != 1; then
9400 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9401 fi
9402
9403 if test "$wxUSE_SPLASH" = yes; then
9404 echo "$as_me:$LINENO: result: yes" >&5
9405 echo "${ECHO_T}yes" >&6
9406 else
9407 echo "$as_me:$LINENO: result: no" >&5
9408 echo "${ECHO_T}no" >&6
9409 fi
9410
9411
9412 enablestring=
9413 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9414 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9415 no_cache=0
9416 # Check whether --enable-textdlg or --disable-textdlg was given.
9417 if test "${enable_textdlg+set}" = set; then
9418 enableval="$enable_textdlg"
9419
9420 if test "$enableval" = yes; then
9421 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
9422 else
9423 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
9424 fi
9425
9426 else
9427
9428 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9429 if test "x$LINE" != x ; then
9430 eval "DEFAULT_$LINE"
9431 else
9432 no_cache=1
9433 fi
9434
9435 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9436
9437 fi;
9438
9439 eval "$ac_cv_use_textdlg"
9440 if test "$no_cache" != 1; then
9441 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9442 fi
9443
9444 if test "$wxUSE_TEXTDLG" = yes; then
9445 echo "$as_me:$LINENO: result: yes" >&5
9446 echo "${ECHO_T}yes" >&6
9447 else
9448 echo "$as_me:$LINENO: result: no" >&5
9449 echo "${ECHO_T}no" >&6
9450 fi
9451
9452
9453 enablestring=
9454 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9455 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9456 no_cache=0
9457 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9458 if test "${enable_tipdlg+set}" = set; then
9459 enableval="$enable_tipdlg"
9460
9461 if test "$enableval" = yes; then
9462 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
9463 else
9464 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
9465 fi
9466
9467 else
9468
9469 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9470 if test "x$LINE" != x ; then
9471 eval "DEFAULT_$LINE"
9472 else
9473 no_cache=1
9474 fi
9475
9476 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9477
9478 fi;
9479
9480 eval "$ac_cv_use_tipdlg"
9481 if test "$no_cache" != 1; then
9482 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9483 fi
9484
9485 if test "$wxUSE_STARTUP_TIPS" = yes; then
9486 echo "$as_me:$LINENO: result: yes" >&5
9487 echo "${ECHO_T}yes" >&6
9488 else
9489 echo "$as_me:$LINENO: result: no" >&5
9490 echo "${ECHO_T}no" >&6
9491 fi
9492
9493
9494 enablestring=
9495 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9496 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9497 no_cache=0
9498 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9499 if test "${enable_progressdlg+set}" = set; then
9500 enableval="$enable_progressdlg"
9501
9502 if test "$enableval" = yes; then
9503 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
9504 else
9505 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
9506 fi
9507
9508 else
9509
9510 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9511 if test "x$LINE" != x ; then
9512 eval "DEFAULT_$LINE"
9513 else
9514 no_cache=1
9515 fi
9516
9517 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9518
9519 fi;
9520
9521 eval "$ac_cv_use_progressdlg"
9522 if test "$no_cache" != 1; then
9523 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9524 fi
9525
9526 if test "$wxUSE_PROGRESSDLG" = yes; then
9527 echo "$as_me:$LINENO: result: yes" >&5
9528 echo "${ECHO_T}yes" >&6
9529 else
9530 echo "$as_me:$LINENO: result: no" >&5
9531 echo "${ECHO_T}no" >&6
9532 fi
9533
9534
9535 enablestring=
9536 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9537 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9538 no_cache=0
9539 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9540 if test "${enable_wizarddlg+set}" = set; then
9541 enableval="$enable_wizarddlg"
9542
9543 if test "$enableval" = yes; then
9544 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
9545 else
9546 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
9547 fi
9548
9549 else
9550
9551 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9552 if test "x$LINE" != x ; then
9553 eval "DEFAULT_$LINE"
9554 else
9555 no_cache=1
9556 fi
9557
9558 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9559
9560 fi;
9561
9562 eval "$ac_cv_use_wizarddlg"
9563 if test "$no_cache" != 1; then
9564 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9565 fi
9566
9567 if test "$wxUSE_WIZARDDLG" = yes; then
9568 echo "$as_me:$LINENO: result: yes" >&5
9569 echo "${ECHO_T}yes" >&6
9570 else
9571 echo "$as_me:$LINENO: result: no" >&5
9572 echo "${ECHO_T}no" >&6
9573 fi
9574
9575
9576
9577
9578 enablestring=
9579 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9580 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9581 no_cache=0
9582 # Check whether --enable-menus or --disable-menus was given.
9583 if test "${enable_menus+set}" = set; then
9584 enableval="$enable_menus"
9585
9586 if test "$enableval" = yes; then
9587 ac_cv_use_menus='wxUSE_MENUS=yes'
9588 else
9589 ac_cv_use_menus='wxUSE_MENUS=no'
9590 fi
9591
9592 else
9593
9594 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9595 if test "x$LINE" != x ; then
9596 eval "DEFAULT_$LINE"
9597 else
9598 no_cache=1
9599 fi
9600
9601 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9602
9603 fi;
9604
9605 eval "$ac_cv_use_menus"
9606 if test "$no_cache" != 1; then
9607 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9608 fi
9609
9610 if test "$wxUSE_MENUS" = yes; then
9611 echo "$as_me:$LINENO: result: yes" >&5
9612 echo "${ECHO_T}yes" >&6
9613 else
9614 echo "$as_me:$LINENO: result: no" >&5
9615 echo "${ECHO_T}no" >&6
9616 fi
9617
9618
9619 enablestring=
9620 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9621 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9622 no_cache=0
9623 # Check whether --enable-miniframe or --disable-miniframe was given.
9624 if test "${enable_miniframe+set}" = set; then
9625 enableval="$enable_miniframe"
9626
9627 if test "$enableval" = yes; then
9628 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
9629 else
9630 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
9631 fi
9632
9633 else
9634
9635 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9636 if test "x$LINE" != x ; then
9637 eval "DEFAULT_$LINE"
9638 else
9639 no_cache=1
9640 fi
9641
9642 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9643
9644 fi;
9645
9646 eval "$ac_cv_use_miniframe"
9647 if test "$no_cache" != 1; then
9648 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9649 fi
9650
9651 if test "$wxUSE_MINIFRAME" = yes; then
9652 echo "$as_me:$LINENO: result: yes" >&5
9653 echo "${ECHO_T}yes" >&6
9654 else
9655 echo "$as_me:$LINENO: result: no" >&5
9656 echo "${ECHO_T}no" >&6
9657 fi
9658
9659
9660 enablestring=
9661 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9662 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9663 no_cache=0
9664 # Check whether --enable-tooltips or --disable-tooltips was given.
9665 if test "${enable_tooltips+set}" = set; then
9666 enableval="$enable_tooltips"
9667
9668 if test "$enableval" = yes; then
9669 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
9670 else
9671 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
9672 fi
9673
9674 else
9675
9676 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9677 if test "x$LINE" != x ; then
9678 eval "DEFAULT_$LINE"
9679 else
9680 no_cache=1
9681 fi
9682
9683 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9684
9685 fi;
9686
9687 eval "$ac_cv_use_tooltips"
9688 if test "$no_cache" != 1; then
9689 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9690 fi
9691
9692 if test "$wxUSE_TOOLTIPS" = yes; then
9693 echo "$as_me:$LINENO: result: yes" >&5
9694 echo "${ECHO_T}yes" >&6
9695 else
9696 echo "$as_me:$LINENO: result: no" >&5
9697 echo "${ECHO_T}no" >&6
9698 fi
9699
9700
9701 enablestring=
9702 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9703 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9704 no_cache=0
9705 # Check whether --enable-splines or --disable-splines was given.
9706 if test "${enable_splines+set}" = set; then
9707 enableval="$enable_splines"
9708
9709 if test "$enableval" = yes; then
9710 ac_cv_use_splines='wxUSE_SPLINES=yes'
9711 else
9712 ac_cv_use_splines='wxUSE_SPLINES=no'
9713 fi
9714
9715 else
9716
9717 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9718 if test "x$LINE" != x ; then
9719 eval "DEFAULT_$LINE"
9720 else
9721 no_cache=1
9722 fi
9723
9724 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9725
9726 fi;
9727
9728 eval "$ac_cv_use_splines"
9729 if test "$no_cache" != 1; then
9730 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9731 fi
9732
9733 if test "$wxUSE_SPLINES" = yes; then
9734 echo "$as_me:$LINENO: result: yes" >&5
9735 echo "${ECHO_T}yes" >&6
9736 else
9737 echo "$as_me:$LINENO: result: no" >&5
9738 echo "${ECHO_T}no" >&6
9739 fi
9740
9741
9742 enablestring=
9743 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9744 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9745 no_cache=0
9746 # Check whether --enable-validators or --disable-validators was given.
9747 if test "${enable_validators+set}" = set; then
9748 enableval="$enable_validators"
9749
9750 if test "$enableval" = yes; then
9751 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
9752 else
9753 ac_cv_use_validators='wxUSE_VALIDATORS=no'
9754 fi
9755
9756 else
9757
9758 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9759 if test "x$LINE" != x ; then
9760 eval "DEFAULT_$LINE"
9761 else
9762 no_cache=1
9763 fi
9764
9765 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9766
9767 fi;
9768
9769 eval "$ac_cv_use_validators"
9770 if test "$no_cache" != 1; then
9771 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9772 fi
9773
9774 if test "$wxUSE_VALIDATORS" = yes; then
9775 echo "$as_me:$LINENO: result: yes" >&5
9776 echo "${ECHO_T}yes" >&6
9777 else
9778 echo "$as_me:$LINENO: result: no" >&5
9779 echo "${ECHO_T}no" >&6
9780 fi
9781
9782
9783 enablestring=
9784 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9785 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9786 no_cache=0
9787 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9788 if test "${enable_busyinfo+set}" = set; then
9789 enableval="$enable_busyinfo"
9790
9791 if test "$enableval" = yes; then
9792 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
9793 else
9794 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
9795 fi
9796
9797 else
9798
9799 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9800 if test "x$LINE" != x ; then
9801 eval "DEFAULT_$LINE"
9802 else
9803 no_cache=1
9804 fi
9805
9806 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9807
9808 fi;
9809
9810 eval "$ac_cv_use_busyinfo"
9811 if test "$no_cache" != 1; then
9812 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9813 fi
9814
9815 if test "$wxUSE_BUSYINFO" = yes; then
9816 echo "$as_me:$LINENO: result: yes" >&5
9817 echo "${ECHO_T}yes" >&6
9818 else
9819 echo "$as_me:$LINENO: result: no" >&5
9820 echo "${ECHO_T}no" >&6
9821 fi
9822
9823
9824 enablestring=
9825 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9826 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9827 no_cache=0
9828 # Check whether --enable-joystick or --disable-joystick was given.
9829 if test "${enable_joystick+set}" = set; then
9830 enableval="$enable_joystick"
9831
9832 if test "$enableval" = yes; then
9833 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
9834 else
9835 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
9836 fi
9837
9838 else
9839
9840 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9841 if test "x$LINE" != x ; then
9842 eval "DEFAULT_$LINE"
9843 else
9844 no_cache=1
9845 fi
9846
9847 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9848
9849 fi;
9850
9851 eval "$ac_cv_use_joystick"
9852 if test "$no_cache" != 1; then
9853 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9854 fi
9855
9856 if test "$wxUSE_JOYSTICK" = yes; then
9857 echo "$as_me:$LINENO: result: yes" >&5
9858 echo "${ECHO_T}yes" >&6
9859 else
9860 echo "$as_me:$LINENO: result: no" >&5
9861 echo "${ECHO_T}no" >&6
9862 fi
9863
9864
9865 enablestring=
9866 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9867 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9868 no_cache=0
9869 # Check whether --enable-metafile or --disable-metafile was given.
9870 if test "${enable_metafile+set}" = set; then
9871 enableval="$enable_metafile"
9872
9873 if test "$enableval" = yes; then
9874 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9875 else
9876 ac_cv_use_metafile='wxUSE_METAFILE=no'
9877 fi
9878
9879 else
9880
9881 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9882 if test "x$LINE" != x ; then
9883 eval "DEFAULT_$LINE"
9884 else
9885 no_cache=1
9886 fi
9887
9888 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9889
9890 fi;
9891
9892 eval "$ac_cv_use_metafile"
9893 if test "$no_cache" != 1; then
9894 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9895 fi
9896
9897 if test "$wxUSE_METAFILE" = yes; then
9898 echo "$as_me:$LINENO: result: yes" >&5
9899 echo "${ECHO_T}yes" >&6
9900 else
9901 echo "$as_me:$LINENO: result: no" >&5
9902 echo "${ECHO_T}no" >&6
9903 fi
9904
9905
9906 enablestring=
9907 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9908 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9909 no_cache=0
9910 # Check whether --enable-dragimage or --disable-dragimage was given.
9911 if test "${enable_dragimage+set}" = set; then
9912 enableval="$enable_dragimage"
9913
9914 if test "$enableval" = yes; then
9915 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9916 else
9917 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9918 fi
9919
9920 else
9921
9922 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9923 if test "x$LINE" != x ; then
9924 eval "DEFAULT_$LINE"
9925 else
9926 no_cache=1
9927 fi
9928
9929 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9930
9931 fi;
9932
9933 eval "$ac_cv_use_dragimage"
9934 if test "$no_cache" != 1; then
9935 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9936 fi
9937
9938 if test "$wxUSE_DRAGIMAGE" = yes; then
9939 echo "$as_me:$LINENO: result: yes" >&5
9940 echo "${ECHO_T}yes" >&6
9941 else
9942 echo "$as_me:$LINENO: result: no" >&5
9943 echo "${ECHO_T}no" >&6
9944 fi
9945
9946
9947 enablestring=
9948 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9949 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9950 no_cache=0
9951 # Check whether --enable-accessibility or --disable-accessibility was given.
9952 if test "${enable_accessibility+set}" = set; then
9953 enableval="$enable_accessibility"
9954
9955 if test "$enableval" = yes; then
9956 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9957 else
9958 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9959 fi
9960
9961 else
9962
9963 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9964 if test "x$LINE" != x ; then
9965 eval "DEFAULT_$LINE"
9966 else
9967 no_cache=1
9968 fi
9969
9970 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9971
9972 fi;
9973
9974 eval "$ac_cv_use_accessibility"
9975 if test "$no_cache" != 1; then
9976 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9977 fi
9978
9979 if test "$wxUSE_ACCESSIBILITY" = yes; then
9980 echo "$as_me:$LINENO: result: yes" >&5
9981 echo "${ECHO_T}yes" >&6
9982 else
9983 echo "$as_me:$LINENO: result: no" >&5
9984 echo "${ECHO_T}no" >&6
9985 fi
9986
9987
9988
9989
9990 enablestring=
9991 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9992 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9993 no_cache=0
9994 # Check whether --enable-palette or --disable-palette was given.
9995 if test "${enable_palette+set}" = set; then
9996 enableval="$enable_palette"
9997
9998 if test "$enableval" = yes; then
9999 ac_cv_use_palette='wxUSE_PALETTE=yes'
10000 else
10001 ac_cv_use_palette='wxUSE_PALETTE=no'
10002 fi
10003
10004 else
10005
10006 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10007 if test "x$LINE" != x ; then
10008 eval "DEFAULT_$LINE"
10009 else
10010 no_cache=1
10011 fi
10012
10013 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
10014
10015 fi;
10016
10017 eval "$ac_cv_use_palette"
10018 if test "$no_cache" != 1; then
10019 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10020 fi
10021
10022 if test "$wxUSE_PALETTE" = yes; then
10023 echo "$as_me:$LINENO: result: yes" >&5
10024 echo "${ECHO_T}yes" >&6
10025 else
10026 echo "$as_me:$LINENO: result: no" >&5
10027 echo "${ECHO_T}no" >&6
10028 fi
10029
10030
10031 enablestring=
10032 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10033 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10034 no_cache=0
10035 # Check whether --enable-image or --disable-image was given.
10036 if test "${enable_image+set}" = set; then
10037 enableval="$enable_image"
10038
10039 if test "$enableval" = yes; then
10040 ac_cv_use_image='wxUSE_IMAGE=yes'
10041 else
10042 ac_cv_use_image='wxUSE_IMAGE=no'
10043 fi
10044
10045 else
10046
10047 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10048 if test "x$LINE" != x ; then
10049 eval "DEFAULT_$LINE"
10050 else
10051 no_cache=1
10052 fi
10053
10054 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
10055
10056 fi;
10057
10058 eval "$ac_cv_use_image"
10059 if test "$no_cache" != 1; then
10060 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10061 fi
10062
10063 if test "$wxUSE_IMAGE" = yes; then
10064 echo "$as_me:$LINENO: result: yes" >&5
10065 echo "${ECHO_T}yes" >&6
10066 else
10067 echo "$as_me:$LINENO: result: no" >&5
10068 echo "${ECHO_T}no" >&6
10069 fi
10070
10071
10072 enablestring=
10073 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10074 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10075 no_cache=0
10076 # Check whether --enable-gif or --disable-gif was given.
10077 if test "${enable_gif+set}" = set; then
10078 enableval="$enable_gif"
10079
10080 if test "$enableval" = yes; then
10081 ac_cv_use_gif='wxUSE_GIF=yes'
10082 else
10083 ac_cv_use_gif='wxUSE_GIF=no'
10084 fi
10085
10086 else
10087
10088 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10089 if test "x$LINE" != x ; then
10090 eval "DEFAULT_$LINE"
10091 else
10092 no_cache=1
10093 fi
10094
10095 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
10096
10097 fi;
10098
10099 eval "$ac_cv_use_gif"
10100 if test "$no_cache" != 1; then
10101 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10102 fi
10103
10104 if test "$wxUSE_GIF" = yes; then
10105 echo "$as_me:$LINENO: result: yes" >&5
10106 echo "${ECHO_T}yes" >&6
10107 else
10108 echo "$as_me:$LINENO: result: no" >&5
10109 echo "${ECHO_T}no" >&6
10110 fi
10111
10112
10113 enablestring=
10114 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10115 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10116 no_cache=0
10117 # Check whether --enable-pcx or --disable-pcx was given.
10118 if test "${enable_pcx+set}" = set; then
10119 enableval="$enable_pcx"
10120
10121 if test "$enableval" = yes; then
10122 ac_cv_use_pcx='wxUSE_PCX=yes'
10123 else
10124 ac_cv_use_pcx='wxUSE_PCX=no'
10125 fi
10126
10127 else
10128
10129 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10130 if test "x$LINE" != x ; then
10131 eval "DEFAULT_$LINE"
10132 else
10133 no_cache=1
10134 fi
10135
10136 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
10137
10138 fi;
10139
10140 eval "$ac_cv_use_pcx"
10141 if test "$no_cache" != 1; then
10142 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10143 fi
10144
10145 if test "$wxUSE_PCX" = yes; then
10146 echo "$as_me:$LINENO: result: yes" >&5
10147 echo "${ECHO_T}yes" >&6
10148 else
10149 echo "$as_me:$LINENO: result: no" >&5
10150 echo "${ECHO_T}no" >&6
10151 fi
10152
10153
10154 enablestring=
10155 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10156 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10157 no_cache=0
10158 # Check whether --enable-iff or --disable-iff was given.
10159 if test "${enable_iff+set}" = set; then
10160 enableval="$enable_iff"
10161
10162 if test "$enableval" = yes; then
10163 ac_cv_use_iff='wxUSE_IFF=yes'
10164 else
10165 ac_cv_use_iff='wxUSE_IFF=no'
10166 fi
10167
10168 else
10169
10170 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10171 if test "x$LINE" != x ; then
10172 eval "DEFAULT_$LINE"
10173 else
10174 no_cache=1
10175 fi
10176
10177 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
10178
10179 fi;
10180
10181 eval "$ac_cv_use_iff"
10182 if test "$no_cache" != 1; then
10183 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10184 fi
10185
10186 if test "$wxUSE_IFF" = yes; then
10187 echo "$as_me:$LINENO: result: yes" >&5
10188 echo "${ECHO_T}yes" >&6
10189 else
10190 echo "$as_me:$LINENO: result: no" >&5
10191 echo "${ECHO_T}no" >&6
10192 fi
10193
10194
10195 enablestring=
10196 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10197 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10198 no_cache=0
10199 # Check whether --enable-pnm or --disable-pnm was given.
10200 if test "${enable_pnm+set}" = set; then
10201 enableval="$enable_pnm"
10202
10203 if test "$enableval" = yes; then
10204 ac_cv_use_pnm='wxUSE_PNM=yes'
10205 else
10206 ac_cv_use_pnm='wxUSE_PNM=no'
10207 fi
10208
10209 else
10210
10211 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10212 if test "x$LINE" != x ; then
10213 eval "DEFAULT_$LINE"
10214 else
10215 no_cache=1
10216 fi
10217
10218 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10219
10220 fi;
10221
10222 eval "$ac_cv_use_pnm"
10223 if test "$no_cache" != 1; then
10224 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10225 fi
10226
10227 if test "$wxUSE_PNM" = yes; then
10228 echo "$as_me:$LINENO: result: yes" >&5
10229 echo "${ECHO_T}yes" >&6
10230 else
10231 echo "$as_me:$LINENO: result: no" >&5
10232 echo "${ECHO_T}no" >&6
10233 fi
10234
10235
10236 enablestring=
10237 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10238 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10239 no_cache=0
10240 # Check whether --enable-xpm or --disable-xpm was given.
10241 if test "${enable_xpm+set}" = set; then
10242 enableval="$enable_xpm"
10243
10244 if test "$enableval" = yes; then
10245 ac_cv_use_xpm='wxUSE_XPM=yes'
10246 else
10247 ac_cv_use_xpm='wxUSE_XPM=no'
10248 fi
10249
10250 else
10251
10252 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10253 if test "x$LINE" != x ; then
10254 eval "DEFAULT_$LINE"
10255 else
10256 no_cache=1
10257 fi
10258
10259 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10260
10261 fi;
10262
10263 eval "$ac_cv_use_xpm"
10264 if test "$no_cache" != 1; then
10265 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10266 fi
10267
10268 if test "$wxUSE_XPM" = yes; then
10269 echo "$as_me:$LINENO: result: yes" >&5
10270 echo "${ECHO_T}yes" >&6
10271 else
10272 echo "$as_me:$LINENO: result: no" >&5
10273 echo "${ECHO_T}no" >&6
10274 fi
10275
10276
10277 enablestring=
10278 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10279 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10280 no_cache=0
10281 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10282 if test "${enable_ico_cur+set}" = set; then
10283 enableval="$enable_ico_cur"
10284
10285 if test "$enableval" = yes; then
10286 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
10287 else
10288 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
10289 fi
10290
10291 else
10292
10293 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10294 if test "x$LINE" != x ; then
10295 eval "DEFAULT_$LINE"
10296 else
10297 no_cache=1
10298 fi
10299
10300 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10301
10302 fi;
10303
10304 eval "$ac_cv_use_ico_cur"
10305 if test "$no_cache" != 1; then
10306 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10307 fi
10308
10309 if test "$wxUSE_ICO_CUR" = yes; then
10310 echo "$as_me:$LINENO: result: yes" >&5
10311 echo "${ECHO_T}yes" >&6
10312 else
10313 echo "$as_me:$LINENO: result: no" >&5
10314 echo "${ECHO_T}no" >&6
10315 fi
10316
10317
10318 fi
10319
10320
10321
10322 # Check whether --with-flavour or --without-flavour was given.
10323 if test "${with_flavour+set}" = set; then
10324 withval="$with_flavour"
10325 WX_FLAVOUR="$withval"
10326 fi;
10327
10328
10329
10330 enablestring=
10331 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10332 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10333 no_cache=0
10334 # Check whether --enable-official_build or --disable-official_build was given.
10335 if test "${enable_official_build+set}" = set; then
10336 enableval="$enable_official_build"
10337
10338 if test "$enableval" = yes; then
10339 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
10340 else
10341 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
10342 fi
10343
10344 else
10345
10346 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10347 if test "x$LINE" != x ; then
10348 eval "DEFAULT_$LINE"
10349 else
10350 no_cache=1
10351 fi
10352
10353 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10354
10355 fi;
10356
10357 eval "$ac_cv_use_official_build"
10358 if test "$no_cache" != 1; then
10359 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10360 fi
10361
10362 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10363 echo "$as_me:$LINENO: result: yes" >&5
10364 echo "${ECHO_T}yes" >&6
10365 else
10366 echo "$as_me:$LINENO: result: no" >&5
10367 echo "${ECHO_T}no" >&6
10368 fi
10369
10370 # Check whether --enable-vendor or --disable-vendor was given.
10371 if test "${enable_vendor+set}" = set; then
10372 enableval="$enable_vendor"
10373 VENDOR="$enableval"
10374 fi;
10375 if test "x$VENDOR" = "x"; then
10376 VENDOR="custom"
10377 fi
10378
10379
10380
10381
10382 echo "saving argument cache $wx_arg_cache_file"
10383 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
10384
10385
10386
10387 echo "$as_me:$LINENO: checking for toolkit" >&5
10388 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10389
10390 # In Wine, we need to default to MSW, not GTK or MOTIF
10391 if test "$wxUSE_WINE" = "yes"; then
10392 DEFAULT_DEFAULT_wxUSE_GTK=0
10393 DEFAULT_DEFAULT_wxUSE_MOTIF=0
10394 DEFAULT_DEFAULT_wxUSE_MSW=1
10395 wxUSE_SHARED=no
10396 fi
10397
10398 if test "$wxUSE_GUI" = "yes"; then
10399
10400 if test "$USE_BEOS" = 1; then
10401 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10402 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10403 { (exit 1); exit 1; }; }
10404 fi
10405
10406 if test "$TOOLKIT_GIVEN" = 1; then
10407 for toolkit in `echo $ALL_TOOLKITS`; do
10408 var=wxUSE_$toolkit
10409 eval "value=\$${var}"
10410 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
10411 done
10412 else
10413 for toolkit in `echo $ALL_TOOLKITS`; do
10414 if test "$has_toolkit_in_cache" != 1; then
10415 var=DEFAULT_DEFAULT_wxUSE_$toolkit
10416 else
10417 var=DEFAULT_wxUSE_$toolkit
10418 fi
10419 eval "wxUSE_$toolkit=\$${var}"
10420 done
10421 fi
10422
10423 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10424 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10425 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10426
10427 case "${host}" in
10428 *-pc-os2_emx | *-pc-os2-emx )
10429 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10430 esac
10431
10432 case "$NUM_TOOLKITS" in
10433 1)
10434 ;;
10435 0)
10436 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10437 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10438 { (exit 1); exit 1; }; }
10439 ;;
10440 *)
10441 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10442 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10443 { (exit 1); exit 1; }; }
10444 esac
10445
10446 for toolkit in `echo $ALL_TOOLKITS`; do
10447 var=wxUSE_$toolkit
10448 eval "value=\$${var}"
10449 if test "x$value" != x; then
10450 cache_var=CACHE_$toolkit
10451 eval "cache=\$${cache_var}"
10452 if test "$cache" = 1; then
10453 echo "$var=$value" >> ${wx_arg_cache_file}
10454 fi
10455 if test "$value" = 1; then
10456 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10457 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10458 echo "${ECHO_T}$toolkit_echo" >&6
10459 fi
10460 fi
10461 done
10462 else
10463 if test "x$host_alias" != "x"; then
10464 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10465 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10466 else
10467 echo "$as_me:$LINENO: result: base only" >&5
10468 echo "${ECHO_T}base only" >&6
10469 fi
10470 fi
10471
10472 wants_win32=0
10473 doesnt_want_win32=0
10474 case "${host}" in
10475 *-*-cygwin*)
10476 if test "$wxUSE_MSW" = 1 ; then
10477 wants_win32=1
10478 else
10479 doesnt_want_win32=1
10480 fi
10481 ;;
10482 *-*-mingw*)
10483 wants_win32=1
10484 ;;
10485 esac
10486
10487 if test "$wxUSE_WINE" = "yes"; then
10488 wants_win32=1
10489 CC=winegcc
10490 CXX=wineg++
10491 RESCOMP=wrc
10492 LDFLAGS_GUI="-mwindows"
10493 fi
10494
10495 if test "$wants_win32" = 1 ; then
10496 USE_UNIX=0
10497 USE_WIN32=1
10498 cat >>confdefs.h <<\_ACEOF
10499 #define __WIN32__ 1
10500 _ACEOF
10501
10502 cat >>confdefs.h <<\_ACEOF
10503 #define __WIN95__ 1
10504 _ACEOF
10505
10506 cat >>confdefs.h <<\_ACEOF
10507 #define __WINDOWS__ 1
10508 _ACEOF
10509
10510 cat >>confdefs.h <<\_ACEOF
10511 #define __GNUWIN32__ 1
10512 _ACEOF
10513
10514 cat >>confdefs.h <<\_ACEOF
10515 #define STRICT 1
10516 _ACEOF
10517
10518 cat >>confdefs.h <<\_ACEOF
10519 #define WINVER 0x0400
10520 _ACEOF
10521
10522 fi
10523 if test "$doesnt_want_win32" = 1 ; then
10524 USE_UNIX=1
10525 USE_WIN32=0
10526 fi
10527
10528 if test "$USE_UNIX" = 1 ; then
10529 wxUSE_UNIX=yes
10530 cat >>confdefs.h <<\_ACEOF
10531 #define __UNIX__ 1
10532 _ACEOF
10533
10534 fi
10535
10536
10537 cat >confcache <<\_ACEOF
10538 # This file is a shell script that caches the results of configure
10539 # tests run on this system so they can be shared between configure
10540 # scripts and configure runs, see configure's option --config-cache.
10541 # It is not useful on other systems. If it contains results you don't
10542 # want to keep, you may remove or edit it.
10543 #
10544 # config.status only pays attention to the cache file if you give it
10545 # the --recheck option to rerun configure.
10546 #
10547 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10548 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10549 # following values.
10550
10551 _ACEOF
10552
10553 # The following way of writing the cache mishandles newlines in values,
10554 # but we know of no workaround that is simple, portable, and efficient.
10555 # So, don't put newlines in cache variables' values.
10556 # Ultrix sh set writes to stderr and can't be redirected directly,
10557 # and sets the high bit in the cache file unless we assign to the vars.
10558 {
10559 (set) 2>&1 |
10560 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10561 *ac_space=\ *)
10562 # `set' does not quote correctly, so add quotes (double-quote
10563 # substitution turns \\\\ into \\, and sed turns \\ into \).
10564 sed -n \
10565 "s/'/'\\\\''/g;
10566 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10567 ;;
10568 *)
10569 # `set' quotes correctly as required by POSIX, so do not add quotes.
10570 sed -n \
10571 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10572 ;;
10573 esac;
10574 } |
10575 sed '
10576 t clear
10577 : clear
10578 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10579 t end
10580 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10581 : end' >>confcache
10582 if diff $cache_file confcache >/dev/null 2>&1; then :; else
10583 if test -w $cache_file; then
10584 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10585 cat confcache >$cache_file
10586 else
10587 echo "not updating unwritable cache $cache_file"
10588 fi
10589 fi
10590 rm -f confcache
10591
10592 if test "$build" != "$host" ; then
10593 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX" = 1; then
10594 CC=$host_alias-gcc
10595 CXX=$host_alias-c++
10596 AR=$host_alias-ar
10597 RANLIB=$host_alias-ranlib
10598 DLLTOOL=$host_alias-dlltool
10599 RESCOMP=$host_alias-windres
10600 STRIP=$host_alias-strip
10601 elif test "x$CC" '!=' "x"; then
10602 echo "You set CC, I assume you know what you are doing."
10603 else
10604 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10605 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10606 { (exit 1); exit 1; }; }
10607 fi
10608 fi
10609
10610 CFLAGS=${CFLAGS:=}
10611 ac_ext=c
10612 ac_cpp='$CPP $CPPFLAGS'
10613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10616 if test -n "$ac_tool_prefix"; then
10617 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10618 set dummy ${ac_tool_prefix}gcc; ac_word=$2
10619 echo "$as_me:$LINENO: checking for $ac_word" >&5
10620 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10621 if test "${ac_cv_prog_CC+set}" = set; then
10622 echo $ECHO_N "(cached) $ECHO_C" >&6
10623 else
10624 if test -n "$CC"; then
10625 ac_cv_prog_CC="$CC" # Let the user override the test.
10626 else
10627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10628 for as_dir in $PATH
10629 do
10630 IFS=$as_save_IFS
10631 test -z "$as_dir" && as_dir=.
10632 for ac_exec_ext in '' $ac_executable_extensions; do
10633 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10634 ac_cv_prog_CC="${ac_tool_prefix}gcc"
10635 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10636 break 2
10637 fi
10638 done
10639 done
10640
10641 fi
10642 fi
10643 CC=$ac_cv_prog_CC
10644 if test -n "$CC"; then
10645 echo "$as_me:$LINENO: result: $CC" >&5
10646 echo "${ECHO_T}$CC" >&6
10647 else
10648 echo "$as_me:$LINENO: result: no" >&5
10649 echo "${ECHO_T}no" >&6
10650 fi
10651
10652 fi
10653 if test -z "$ac_cv_prog_CC"; then
10654 ac_ct_CC=$CC
10655 # Extract the first word of "gcc", so it can be a program name with args.
10656 set dummy gcc; ac_word=$2
10657 echo "$as_me:$LINENO: checking for $ac_word" >&5
10658 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10659 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10660 echo $ECHO_N "(cached) $ECHO_C" >&6
10661 else
10662 if test -n "$ac_ct_CC"; then
10663 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10664 else
10665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10666 for as_dir in $PATH
10667 do
10668 IFS=$as_save_IFS
10669 test -z "$as_dir" && as_dir=.
10670 for ac_exec_ext in '' $ac_executable_extensions; do
10671 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10672 ac_cv_prog_ac_ct_CC="gcc"
10673 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10674 break 2
10675 fi
10676 done
10677 done
10678
10679 fi
10680 fi
10681 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10682 if test -n "$ac_ct_CC"; then
10683 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10684 echo "${ECHO_T}$ac_ct_CC" >&6
10685 else
10686 echo "$as_me:$LINENO: result: no" >&5
10687 echo "${ECHO_T}no" >&6
10688 fi
10689
10690 CC=$ac_ct_CC
10691 else
10692 CC="$ac_cv_prog_CC"
10693 fi
10694
10695 if test -z "$CC"; then
10696 if test -n "$ac_tool_prefix"; then
10697 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10698 set dummy ${ac_tool_prefix}cc; ac_word=$2
10699 echo "$as_me:$LINENO: checking for $ac_word" >&5
10700 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10701 if test "${ac_cv_prog_CC+set}" = set; then
10702 echo $ECHO_N "(cached) $ECHO_C" >&6
10703 else
10704 if test -n "$CC"; then
10705 ac_cv_prog_CC="$CC" # Let the user override the test.
10706 else
10707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10708 for as_dir in $PATH
10709 do
10710 IFS=$as_save_IFS
10711 test -z "$as_dir" && as_dir=.
10712 for ac_exec_ext in '' $ac_executable_extensions; do
10713 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10714 ac_cv_prog_CC="${ac_tool_prefix}cc"
10715 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10716 break 2
10717 fi
10718 done
10719 done
10720
10721 fi
10722 fi
10723 CC=$ac_cv_prog_CC
10724 if test -n "$CC"; then
10725 echo "$as_me:$LINENO: result: $CC" >&5
10726 echo "${ECHO_T}$CC" >&6
10727 else
10728 echo "$as_me:$LINENO: result: no" >&5
10729 echo "${ECHO_T}no" >&6
10730 fi
10731
10732 fi
10733 if test -z "$ac_cv_prog_CC"; then
10734 ac_ct_CC=$CC
10735 # Extract the first word of "cc", so it can be a program name with args.
10736 set dummy cc; ac_word=$2
10737 echo "$as_me:$LINENO: checking for $ac_word" >&5
10738 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10739 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10740 echo $ECHO_N "(cached) $ECHO_C" >&6
10741 else
10742 if test -n "$ac_ct_CC"; then
10743 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10744 else
10745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10746 for as_dir in $PATH
10747 do
10748 IFS=$as_save_IFS
10749 test -z "$as_dir" && as_dir=.
10750 for ac_exec_ext in '' $ac_executable_extensions; do
10751 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10752 ac_cv_prog_ac_ct_CC="cc"
10753 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10754 break 2
10755 fi
10756 done
10757 done
10758
10759 fi
10760 fi
10761 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10762 if test -n "$ac_ct_CC"; then
10763 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10764 echo "${ECHO_T}$ac_ct_CC" >&6
10765 else
10766 echo "$as_me:$LINENO: result: no" >&5
10767 echo "${ECHO_T}no" >&6
10768 fi
10769
10770 CC=$ac_ct_CC
10771 else
10772 CC="$ac_cv_prog_CC"
10773 fi
10774
10775 fi
10776 if test -z "$CC"; then
10777 # Extract the first word of "cc", so it can be a program name with args.
10778 set dummy cc; ac_word=$2
10779 echo "$as_me:$LINENO: checking for $ac_word" >&5
10780 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10781 if test "${ac_cv_prog_CC+set}" = set; then
10782 echo $ECHO_N "(cached) $ECHO_C" >&6
10783 else
10784 if test -n "$CC"; then
10785 ac_cv_prog_CC="$CC" # Let the user override the test.
10786 else
10787 ac_prog_rejected=no
10788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10789 for as_dir in $PATH
10790 do
10791 IFS=$as_save_IFS
10792 test -z "$as_dir" && as_dir=.
10793 for ac_exec_ext in '' $ac_executable_extensions; do
10794 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10795 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10796 ac_prog_rejected=yes
10797 continue
10798 fi
10799 ac_cv_prog_CC="cc"
10800 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10801 break 2
10802 fi
10803 done
10804 done
10805
10806 if test $ac_prog_rejected = yes; then
10807 # We found a bogon in the path, so make sure we never use it.
10808 set dummy $ac_cv_prog_CC
10809 shift
10810 if test $# != 0; then
10811 # We chose a different compiler from the bogus one.
10812 # However, it has the same basename, so the bogon will be chosen
10813 # first if we set CC to just the basename; use the full file name.
10814 shift
10815 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10816 fi
10817 fi
10818 fi
10819 fi
10820 CC=$ac_cv_prog_CC
10821 if test -n "$CC"; then
10822 echo "$as_me:$LINENO: result: $CC" >&5
10823 echo "${ECHO_T}$CC" >&6
10824 else
10825 echo "$as_me:$LINENO: result: no" >&5
10826 echo "${ECHO_T}no" >&6
10827 fi
10828
10829 fi
10830 if test -z "$CC"; then
10831 if test -n "$ac_tool_prefix"; then
10832 for ac_prog in cl
10833 do
10834 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10835 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10836 echo "$as_me:$LINENO: checking for $ac_word" >&5
10837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10838 if test "${ac_cv_prog_CC+set}" = set; then
10839 echo $ECHO_N "(cached) $ECHO_C" >&6
10840 else
10841 if test -n "$CC"; then
10842 ac_cv_prog_CC="$CC" # Let the user override the test.
10843 else
10844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10845 for as_dir in $PATH
10846 do
10847 IFS=$as_save_IFS
10848 test -z "$as_dir" && as_dir=.
10849 for ac_exec_ext in '' $ac_executable_extensions; do
10850 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10851 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10852 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10853 break 2
10854 fi
10855 done
10856 done
10857
10858 fi
10859 fi
10860 CC=$ac_cv_prog_CC
10861 if test -n "$CC"; then
10862 echo "$as_me:$LINENO: result: $CC" >&5
10863 echo "${ECHO_T}$CC" >&6
10864 else
10865 echo "$as_me:$LINENO: result: no" >&5
10866 echo "${ECHO_T}no" >&6
10867 fi
10868
10869 test -n "$CC" && break
10870 done
10871 fi
10872 if test -z "$CC"; then
10873 ac_ct_CC=$CC
10874 for ac_prog in cl
10875 do
10876 # Extract the first word of "$ac_prog", so it can be a program name with args.
10877 set dummy $ac_prog; ac_word=$2
10878 echo "$as_me:$LINENO: checking for $ac_word" >&5
10879 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10880 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10881 echo $ECHO_N "(cached) $ECHO_C" >&6
10882 else
10883 if test -n "$ac_ct_CC"; then
10884 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10885 else
10886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10887 for as_dir in $PATH
10888 do
10889 IFS=$as_save_IFS
10890 test -z "$as_dir" && as_dir=.
10891 for ac_exec_ext in '' $ac_executable_extensions; do
10892 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10893 ac_cv_prog_ac_ct_CC="$ac_prog"
10894 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10895 break 2
10896 fi
10897 done
10898 done
10899
10900 fi
10901 fi
10902 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10903 if test -n "$ac_ct_CC"; then
10904 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10905 echo "${ECHO_T}$ac_ct_CC" >&6
10906 else
10907 echo "$as_me:$LINENO: result: no" >&5
10908 echo "${ECHO_T}no" >&6
10909 fi
10910
10911 test -n "$ac_ct_CC" && break
10912 done
10913
10914 CC=$ac_ct_CC
10915 fi
10916
10917 fi
10918
10919
10920 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10921 See \`config.log' for more details." >&5
10922 echo "$as_me: error: no acceptable C compiler found in \$PATH
10923 See \`config.log' for more details." >&2;}
10924 { (exit 1); exit 1; }; }
10925
10926 # Provide some information about the compiler.
10927 echo "$as_me:$LINENO:" \
10928 "checking for C compiler version" >&5
10929 ac_compiler=`set X $ac_compile; echo $2`
10930 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10931 (eval $ac_compiler --version </dev/null >&5) 2>&5
10932 ac_status=$?
10933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10934 (exit $ac_status); }
10935 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10936 (eval $ac_compiler -v </dev/null >&5) 2>&5
10937 ac_status=$?
10938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10939 (exit $ac_status); }
10940 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10941 (eval $ac_compiler -V </dev/null >&5) 2>&5
10942 ac_status=$?
10943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10944 (exit $ac_status); }
10945
10946 cat >conftest.$ac_ext <<_ACEOF
10947 /* confdefs.h. */
10948 _ACEOF
10949 cat confdefs.h >>conftest.$ac_ext
10950 cat >>conftest.$ac_ext <<_ACEOF
10951 /* end confdefs.h. */
10952
10953 int
10954 main ()
10955 {
10956
10957 ;
10958 return 0;
10959 }
10960 _ACEOF
10961 ac_clean_files_save=$ac_clean_files
10962 ac_clean_files="$ac_clean_files a.out a.exe b.out"
10963 # Try to create an executable without -o first, disregard a.out.
10964 # It will help us diagnose broken compilers, and finding out an intuition
10965 # of exeext.
10966 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10967 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10968 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10969 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10970 (eval $ac_link_default) 2>&5
10971 ac_status=$?
10972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10973 (exit $ac_status); }; then
10974 # Find the output, starting from the most likely. This scheme is
10975 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10976 # resort.
10977
10978 # Be careful to initialize this variable, since it used to be cached.
10979 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10980 ac_cv_exeext=
10981 # b.out is created by i960 compilers.
10982 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10983 do
10984 test -f "$ac_file" || continue
10985 case $ac_file in
10986 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10987 ;;
10988 conftest.$ac_ext )
10989 # This is the source file.
10990 ;;
10991 [ab].out )
10992 # We found the default executable, but exeext='' is most
10993 # certainly right.
10994 break;;
10995 *.* )
10996 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10997 # FIXME: I believe we export ac_cv_exeext for Libtool,
10998 # but it would be cool to find out if it's true. Does anybody
10999 # maintain Libtool? --akim.
11000 export ac_cv_exeext
11001 break;;
11002 * )
11003 break;;
11004 esac
11005 done
11006 else
11007 echo "$as_me: failed program was:" >&5
11008 sed 's/^/| /' conftest.$ac_ext >&5
11009
11010 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11011 See \`config.log' for more details." >&5
11012 echo "$as_me: error: C compiler cannot create executables
11013 See \`config.log' for more details." >&2;}
11014 { (exit 77); exit 77; }; }
11015 fi
11016
11017 ac_exeext=$ac_cv_exeext
11018 echo "$as_me:$LINENO: result: $ac_file" >&5
11019 echo "${ECHO_T}$ac_file" >&6
11020
11021 # Check the compiler produces executables we can run. If not, either
11022 # the compiler is broken, or we cross compile.
11023 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11024 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11025 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11026 # If not cross compiling, check that we can run a simple program.
11027 if test "$cross_compiling" != yes; then
11028 if { ac_try='./$ac_file'
11029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11030 (eval $ac_try) 2>&5
11031 ac_status=$?
11032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11033 (exit $ac_status); }; }; then
11034 cross_compiling=no
11035 else
11036 if test "$cross_compiling" = maybe; then
11037 cross_compiling=yes
11038 else
11039 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11040 If you meant to cross compile, use \`--host'.
11041 See \`config.log' for more details." >&5
11042 echo "$as_me: error: cannot run C compiled programs.
11043 If you meant to cross compile, use \`--host'.
11044 See \`config.log' for more details." >&2;}
11045 { (exit 1); exit 1; }; }
11046 fi
11047 fi
11048 fi
11049 echo "$as_me:$LINENO: result: yes" >&5
11050 echo "${ECHO_T}yes" >&6
11051
11052 rm -f a.out a.exe conftest$ac_cv_exeext b.out
11053 ac_clean_files=$ac_clean_files_save
11054 # Check the compiler produces executables we can run. If not, either
11055 # the compiler is broken, or we cross compile.
11056 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11057 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11058 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11059 echo "${ECHO_T}$cross_compiling" >&6
11060
11061 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11062 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11064 (eval $ac_link) 2>&5
11065 ac_status=$?
11066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11067 (exit $ac_status); }; then
11068 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11069 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11070 # work properly (i.e., refer to `conftest.exe'), while it won't with
11071 # `rm'.
11072 for ac_file in conftest.exe conftest conftest.*; do
11073 test -f "$ac_file" || continue
11074 case $ac_file in
11075 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
11076 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
11077 export ac_cv_exeext
11078 break;;
11079 * ) break;;
11080 esac
11081 done
11082 else
11083 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11084 See \`config.log' for more details." >&5
11085 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11086 See \`config.log' for more details." >&2;}
11087 { (exit 1); exit 1; }; }
11088 fi
11089
11090 rm -f conftest$ac_cv_exeext
11091 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11092 echo "${ECHO_T}$ac_cv_exeext" >&6
11093
11094 rm -f conftest.$ac_ext
11095 EXEEXT=$ac_cv_exeext
11096 ac_exeext=$EXEEXT
11097 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11098 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11099 if test "${ac_cv_objext+set}" = set; then
11100 echo $ECHO_N "(cached) $ECHO_C" >&6
11101 else
11102 cat >conftest.$ac_ext <<_ACEOF
11103 /* confdefs.h. */
11104 _ACEOF
11105 cat confdefs.h >>conftest.$ac_ext
11106 cat >>conftest.$ac_ext <<_ACEOF
11107 /* end confdefs.h. */
11108
11109 int
11110 main ()
11111 {
11112
11113 ;
11114 return 0;
11115 }
11116 _ACEOF
11117 rm -f conftest.o conftest.obj
11118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11119 (eval $ac_compile) 2>&5
11120 ac_status=$?
11121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11122 (exit $ac_status); }; then
11123 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11124 case $ac_file in
11125 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
11126 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
11127 break;;
11128 esac
11129 done
11130 else
11131 echo "$as_me: failed program was:" >&5
11132 sed 's/^/| /' conftest.$ac_ext >&5
11133
11134 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11135 See \`config.log' for more details." >&5
11136 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11137 See \`config.log' for more details." >&2;}
11138 { (exit 1); exit 1; }; }
11139 fi
11140
11141 rm -f conftest.$ac_cv_objext conftest.$ac_ext
11142 fi
11143 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11144 echo "${ECHO_T}$ac_cv_objext" >&6
11145 OBJEXT=$ac_cv_objext
11146 ac_objext=$OBJEXT
11147 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11148 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11149 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11150 echo $ECHO_N "(cached) $ECHO_C" >&6
11151 else
11152 cat >conftest.$ac_ext <<_ACEOF
11153 /* confdefs.h. */
11154 _ACEOF
11155 cat confdefs.h >>conftest.$ac_ext
11156 cat >>conftest.$ac_ext <<_ACEOF
11157 /* end confdefs.h. */
11158
11159 int
11160 main ()
11161 {
11162 #ifndef __GNUC__
11163 choke me
11164 #endif
11165
11166 ;
11167 return 0;
11168 }
11169 _ACEOF
11170 rm -f conftest.$ac_objext
11171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11172 (eval $ac_compile) 2>conftest.er1
11173 ac_status=$?
11174 grep -v '^ *+' conftest.er1 >conftest.err
11175 rm -f conftest.er1
11176 cat conftest.err >&5
11177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11178 (exit $ac_status); } &&
11179 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11181 (eval $ac_try) 2>&5
11182 ac_status=$?
11183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11184 (exit $ac_status); }; } &&
11185 { ac_try='test -s conftest.$ac_objext'
11186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11187 (eval $ac_try) 2>&5
11188 ac_status=$?
11189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11190 (exit $ac_status); }; }; then
11191 ac_compiler_gnu=yes
11192 else
11193 echo "$as_me: failed program was:" >&5
11194 sed 's/^/| /' conftest.$ac_ext >&5
11195
11196 ac_compiler_gnu=no
11197 fi
11198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11199 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11200
11201 fi
11202 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11203 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11204 GCC=`test $ac_compiler_gnu = yes && echo yes`
11205 ac_test_CFLAGS=${CFLAGS+set}
11206 ac_save_CFLAGS=$CFLAGS
11207 CFLAGS="-g"
11208 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11209 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11210 if test "${ac_cv_prog_cc_g+set}" = set; then
11211 echo $ECHO_N "(cached) $ECHO_C" >&6
11212 else
11213 cat >conftest.$ac_ext <<_ACEOF
11214 /* confdefs.h. */
11215 _ACEOF
11216 cat confdefs.h >>conftest.$ac_ext
11217 cat >>conftest.$ac_ext <<_ACEOF
11218 /* end confdefs.h. */
11219
11220 int
11221 main ()
11222 {
11223
11224 ;
11225 return 0;
11226 }
11227 _ACEOF
11228 rm -f conftest.$ac_objext
11229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11230 (eval $ac_compile) 2>conftest.er1
11231 ac_status=$?
11232 grep -v '^ *+' conftest.er1 >conftest.err
11233 rm -f conftest.er1
11234 cat conftest.err >&5
11235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11236 (exit $ac_status); } &&
11237 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11239 (eval $ac_try) 2>&5
11240 ac_status=$?
11241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11242 (exit $ac_status); }; } &&
11243 { ac_try='test -s conftest.$ac_objext'
11244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11245 (eval $ac_try) 2>&5
11246 ac_status=$?
11247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11248 (exit $ac_status); }; }; then
11249 ac_cv_prog_cc_g=yes
11250 else
11251 echo "$as_me: failed program was:" >&5
11252 sed 's/^/| /' conftest.$ac_ext >&5
11253
11254 ac_cv_prog_cc_g=no
11255 fi
11256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11257 fi
11258 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11259 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11260 if test "$ac_test_CFLAGS" = set; then
11261 CFLAGS=$ac_save_CFLAGS
11262 elif test $ac_cv_prog_cc_g = yes; then
11263 if test "$GCC" = yes; then
11264 CFLAGS="-g -O2"
11265 else
11266 CFLAGS="-g"
11267 fi
11268 else
11269 if test "$GCC" = yes; then
11270 CFLAGS="-O2"
11271 else
11272 CFLAGS=
11273 fi
11274 fi
11275 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11276 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11277 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11278 echo $ECHO_N "(cached) $ECHO_C" >&6
11279 else
11280 ac_cv_prog_cc_stdc=no
11281 ac_save_CC=$CC
11282 cat >conftest.$ac_ext <<_ACEOF
11283 /* confdefs.h. */
11284 _ACEOF
11285 cat confdefs.h >>conftest.$ac_ext
11286 cat >>conftest.$ac_ext <<_ACEOF
11287 /* end confdefs.h. */
11288 #include <stdarg.h>
11289 #include <stdio.h>
11290 #include <sys/types.h>
11291 #include <sys/stat.h>
11292 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11293 struct buf { int x; };
11294 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11295 static char *e (p, i)
11296 char **p;
11297 int i;
11298 {
11299 return p[i];
11300 }
11301 static char *f (char * (*g) (char **, int), char **p, ...)
11302 {
11303 char *s;
11304 va_list v;
11305 va_start (v,p);
11306 s = g (p, va_arg (v,int));
11307 va_end (v);
11308 return s;
11309 }
11310
11311 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11312 function prototypes and stuff, but not '\xHH' hex character constants.
11313 These don't provoke an error unfortunately, instead are silently treated
11314 as 'x'. The following induces an error, until -std1 is added to get
11315 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11316 array size at least. It's necessary to write '\x00'==0 to get something
11317 that's true only with -std1. */
11318 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11319
11320 int test (int i, double x);
11321 struct s1 {int (*f) (int a);};
11322 struct s2 {int (*f) (double a);};
11323 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11324 int argc;
11325 char **argv;
11326 int
11327 main ()
11328 {
11329 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11330 ;
11331 return 0;
11332 }
11333 _ACEOF
11334 # Don't try gcc -ansi; that turns off useful extensions and
11335 # breaks some systems' header files.
11336 # AIX -qlanglvl=ansi
11337 # Ultrix and OSF/1 -std1
11338 # HP-UX 10.20 and later -Ae
11339 # HP-UX older versions -Aa -D_HPUX_SOURCE
11340 # SVR4 -Xc -D__EXTENSIONS__
11341 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11342 do
11343 CC="$ac_save_CC $ac_arg"
11344 rm -f conftest.$ac_objext
11345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11346 (eval $ac_compile) 2>conftest.er1
11347 ac_status=$?
11348 grep -v '^ *+' conftest.er1 >conftest.err
11349 rm -f conftest.er1
11350 cat conftest.err >&5
11351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11352 (exit $ac_status); } &&
11353 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11355 (eval $ac_try) 2>&5
11356 ac_status=$?
11357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11358 (exit $ac_status); }; } &&
11359 { ac_try='test -s conftest.$ac_objext'
11360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11361 (eval $ac_try) 2>&5
11362 ac_status=$?
11363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11364 (exit $ac_status); }; }; then
11365 ac_cv_prog_cc_stdc=$ac_arg
11366 break
11367 else
11368 echo "$as_me: failed program was:" >&5
11369 sed 's/^/| /' conftest.$ac_ext >&5
11370
11371 fi
11372 rm -f conftest.err conftest.$ac_objext
11373 done
11374 rm -f conftest.$ac_ext conftest.$ac_objext
11375 CC=$ac_save_CC
11376
11377 fi
11378
11379 case "x$ac_cv_prog_cc_stdc" in
11380 x|xno)
11381 echo "$as_me:$LINENO: result: none needed" >&5
11382 echo "${ECHO_T}none needed" >&6 ;;
11383 *)
11384 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11385 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11386 CC="$CC $ac_cv_prog_cc_stdc" ;;
11387 esac
11388
11389 # Some people use a C++ compiler to compile C. Since we use `exit',
11390 # in C++ we need to declare it. In case someone uses the same compiler
11391 # for both compiling C and C++ we need to have the C++ compiler decide
11392 # the declaration of exit, since it's the most demanding environment.
11393 cat >conftest.$ac_ext <<_ACEOF
11394 #ifndef __cplusplus
11395 choke me
11396 #endif
11397 _ACEOF
11398 rm -f conftest.$ac_objext
11399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11400 (eval $ac_compile) 2>conftest.er1
11401 ac_status=$?
11402 grep -v '^ *+' conftest.er1 >conftest.err
11403 rm -f conftest.er1
11404 cat conftest.err >&5
11405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11406 (exit $ac_status); } &&
11407 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11409 (eval $ac_try) 2>&5
11410 ac_status=$?
11411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11412 (exit $ac_status); }; } &&
11413 { ac_try='test -s conftest.$ac_objext'
11414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11415 (eval $ac_try) 2>&5
11416 ac_status=$?
11417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11418 (exit $ac_status); }; }; then
11419 for ac_declaration in \
11420 '' \
11421 'extern "C" void std::exit (int) throw (); using std::exit;' \
11422 'extern "C" void std::exit (int); using std::exit;' \
11423 'extern "C" void exit (int) throw ();' \
11424 'extern "C" void exit (int);' \
11425 'void exit (int);'
11426 do
11427 cat >conftest.$ac_ext <<_ACEOF
11428 /* confdefs.h. */
11429 _ACEOF
11430 cat confdefs.h >>conftest.$ac_ext
11431 cat >>conftest.$ac_ext <<_ACEOF
11432 /* end confdefs.h. */
11433 $ac_declaration
11434 #include <stdlib.h>
11435 int
11436 main ()
11437 {
11438 exit (42);
11439 ;
11440 return 0;
11441 }
11442 _ACEOF
11443 rm -f conftest.$ac_objext
11444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11445 (eval $ac_compile) 2>conftest.er1
11446 ac_status=$?
11447 grep -v '^ *+' conftest.er1 >conftest.err
11448 rm -f conftest.er1
11449 cat conftest.err >&5
11450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11451 (exit $ac_status); } &&
11452 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11454 (eval $ac_try) 2>&5
11455 ac_status=$?
11456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11457 (exit $ac_status); }; } &&
11458 { ac_try='test -s conftest.$ac_objext'
11459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11460 (eval $ac_try) 2>&5
11461 ac_status=$?
11462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11463 (exit $ac_status); }; }; then
11464 :
11465 else
11466 echo "$as_me: failed program was:" >&5
11467 sed 's/^/| /' conftest.$ac_ext >&5
11468
11469 continue
11470 fi
11471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11472 cat >conftest.$ac_ext <<_ACEOF
11473 /* confdefs.h. */
11474 _ACEOF
11475 cat confdefs.h >>conftest.$ac_ext
11476 cat >>conftest.$ac_ext <<_ACEOF
11477 /* end confdefs.h. */
11478 $ac_declaration
11479 int
11480 main ()
11481 {
11482 exit (42);
11483 ;
11484 return 0;
11485 }
11486 _ACEOF
11487 rm -f conftest.$ac_objext
11488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11489 (eval $ac_compile) 2>conftest.er1
11490 ac_status=$?
11491 grep -v '^ *+' conftest.er1 >conftest.err
11492 rm -f conftest.er1
11493 cat conftest.err >&5
11494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11495 (exit $ac_status); } &&
11496 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11498 (eval $ac_try) 2>&5
11499 ac_status=$?
11500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11501 (exit $ac_status); }; } &&
11502 { ac_try='test -s conftest.$ac_objext'
11503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11504 (eval $ac_try) 2>&5
11505 ac_status=$?
11506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11507 (exit $ac_status); }; }; then
11508 break
11509 else
11510 echo "$as_me: failed program was:" >&5
11511 sed 's/^/| /' conftest.$ac_ext >&5
11512
11513 fi
11514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11515 done
11516 rm -f conftest*
11517 if test -n "$ac_declaration"; then
11518 echo '#ifdef __cplusplus' >>confdefs.h
11519 echo $ac_declaration >>confdefs.h
11520 echo '#endif' >>confdefs.h
11521 fi
11522
11523 else
11524 echo "$as_me: failed program was:" >&5
11525 sed 's/^/| /' conftest.$ac_ext >&5
11526
11527 fi
11528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11529 ac_ext=c
11530 ac_cpp='$CPP $CPPFLAGS'
11531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11534
11535 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
11536 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
11537 if test "${wx_cv_c_exto+set}" = set; then
11538 echo $ECHO_N "(cached) $ECHO_C" >&6
11539 else
11540 cat >conftest.$ac_ext <<_ACEOF
11541 /* confdefs.h. */
11542 _ACEOF
11543 cat confdefs.h >>conftest.$ac_ext
11544 cat >>conftest.$ac_ext <<_ACEOF
11545 /* end confdefs.h. */
11546
11547 int
11548 main ()
11549 {
11550
11551 ;
11552 return 0;
11553 }
11554 _ACEOF
11555 rm -f conftest.$ac_objext conftest.$ac_ext.o
11556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11557 (eval $ac_compile) 2>&5
11558 ac_status=$?
11559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11560 (exit $ac_status); }; then
11561 for ac_file in `(ls conftest.* 2>/dev/null)`; do
11562 case $ac_file in
11563 conftest.$ac_ext.o)
11564 wx_cv_c_exto="-ext o"
11565 ;;
11566 *)
11567 ;;
11568 esac
11569 done
11570 else
11571 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
11572 See \`config.log' for more details." >&5
11573 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
11574 See \`config.log' for more details." >&2;}
11575 { (exit 1); exit 1; }; }
11576
11577 fi
11578
11579 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
11580
11581 fi
11582 echo "$as_me:$LINENO: result: $wx_cv_c_exto" >&5
11583 echo "${ECHO_T}$wx_cv_c_exto" >&6
11584 if test "x$wx_cv_c_exto" '!=' "x"; then
11585 if test "c" = "c"; then
11586 CFLAGS="$wx_cv_c_exto $CFLAGS"
11587 fi
11588 if test "c" = "cxx"; then
11589 CXXFLAGS="$wx_cv_c_exto $CXXFLAGS"
11590 fi
11591 fi
11592
11593 if test "x$wx_cv_c_exto" '!=' "x"; then
11594 unset ac_cv_prog_cc_g
11595 ac_test_CFLAGS=${CFLAGS+set}
11596 ac_save_CFLAGS=$CFLAGS
11597 CFLAGS="-g"
11598 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11599 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11600 if test "${ac_cv_prog_cc_g+set}" = set; then
11601 echo $ECHO_N "(cached) $ECHO_C" >&6
11602 else
11603 cat >conftest.$ac_ext <<_ACEOF
11604 /* confdefs.h. */
11605 _ACEOF
11606 cat confdefs.h >>conftest.$ac_ext
11607 cat >>conftest.$ac_ext <<_ACEOF
11608 /* end confdefs.h. */
11609
11610 int
11611 main ()
11612 {
11613
11614 ;
11615 return 0;
11616 }
11617 _ACEOF
11618 rm -f conftest.$ac_objext
11619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11620 (eval $ac_compile) 2>conftest.er1
11621 ac_status=$?
11622 grep -v '^ *+' conftest.er1 >conftest.err
11623 rm -f conftest.er1
11624 cat conftest.err >&5
11625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11626 (exit $ac_status); } &&
11627 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11629 (eval $ac_try) 2>&5
11630 ac_status=$?
11631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11632 (exit $ac_status); }; } &&
11633 { ac_try='test -s conftest.$ac_objext'
11634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11635 (eval $ac_try) 2>&5
11636 ac_status=$?
11637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11638 (exit $ac_status); }; }; then
11639 ac_cv_prog_cc_g=yes
11640 else
11641 echo "$as_me: failed program was:" >&5
11642 sed 's/^/| /' conftest.$ac_ext >&5
11643
11644 ac_cv_prog_cc_g=no
11645 fi
11646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11647 fi
11648 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11649 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11650 if test "$ac_test_CFLAGS" = set; then
11651 CFLAGS=$ac_save_CFLAGS
11652 elif test $ac_cv_prog_cc_g = yes; then
11653 if test "$GCC" = yes; then
11654 CFLAGS="-g -O2"
11655 else
11656 CFLAGS="-g"
11657 fi
11658 else
11659 if test "$GCC" = yes; then
11660 CFLAGS="-O2"
11661 else
11662 CFLAGS=
11663 fi
11664 fi
11665 fi
11666
11667 ac_ext=c
11668 ac_cpp='$CPP $CPPFLAGS'
11669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11672
11673 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
11674 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
11675 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
11676 echo $ECHO_N "(cached) $ECHO_C" >&6
11677 else
11678 cat >conftest.$ac_ext <<_ACEOF
11679 /* confdefs.h. */
11680 _ACEOF
11681 cat confdefs.h >>conftest.$ac_ext
11682 cat >>conftest.$ac_ext <<_ACEOF
11683 /* end confdefs.h. */
11684
11685 int
11686 main ()
11687 {
11688 #ifndef __MWERKS__
11689 choke me
11690 #endif
11691
11692 ;
11693 return 0;
11694 }
11695 _ACEOF
11696 rm -f conftest.$ac_objext
11697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11698 (eval $ac_compile) 2>conftest.er1
11699 ac_status=$?
11700 grep -v '^ *+' conftest.er1 >conftest.err
11701 rm -f conftest.er1
11702 cat conftest.err >&5
11703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11704 (exit $ac_status); } &&
11705 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11707 (eval $ac_try) 2>&5
11708 ac_status=$?
11709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11710 (exit $ac_status); }; } &&
11711 { ac_try='test -s conftest.$ac_objext'
11712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11713 (eval $ac_try) 2>&5
11714 ac_status=$?
11715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11716 (exit $ac_status); }; }; then
11717 bakefile_compiler_mwerks=yes
11718 else
11719 echo "$as_me: failed program was:" >&5
11720 sed 's/^/| /' conftest.$ac_ext >&5
11721
11722 bakefile_compiler_mwerks=no
11723 fi
11724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11725 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
11726
11727 fi
11728 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
11729 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
11730
11731 MWCC=`test $bakefile_compiler_mwerks = yes && echo yes`
11732 ac_ext=c
11733 ac_cpp='$CPP $CPPFLAGS'
11734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11737
11738
11739 ac_ext=c
11740 ac_cpp='$CPP $CPPFLAGS'
11741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11744
11745 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
11746 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
11747 if test "${wx_cv_c_compiler_xlc+set}" = set; then
11748 echo $ECHO_N "(cached) $ECHO_C" >&6
11749 else
11750 cat >conftest.$ac_ext <<_ACEOF
11751 /* confdefs.h. */
11752 _ACEOF
11753 cat confdefs.h >>conftest.$ac_ext
11754 cat >>conftest.$ac_ext <<_ACEOF
11755 /* end confdefs.h. */
11756
11757 int
11758 main ()
11759 {
11760 #ifndef __xlC__
11761 choke me
11762 #endif
11763
11764 ;
11765 return 0;
11766 }
11767 _ACEOF
11768 rm -f conftest.$ac_objext
11769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11770 (eval $ac_compile) 2>conftest.er1
11771 ac_status=$?
11772 grep -v '^ *+' conftest.er1 >conftest.err
11773 rm -f conftest.er1
11774 cat conftest.err >&5
11775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11776 (exit $ac_status); } &&
11777 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11779 (eval $ac_try) 2>&5
11780 ac_status=$?
11781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11782 (exit $ac_status); }; } &&
11783 { ac_try='test -s conftest.$ac_objext'
11784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11785 (eval $ac_try) 2>&5
11786 ac_status=$?
11787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11788 (exit $ac_status); }; }; then
11789 wx_compiler_xlc=yes
11790 else
11791 echo "$as_me: failed program was:" >&5
11792 sed 's/^/| /' conftest.$ac_ext >&5
11793
11794 wx_compiler_xlc=no
11795 fi
11796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11797 wx_cv_c_compiler_xlc=$wx_compiler_xlc
11798
11799 fi
11800 echo "$as_me:$LINENO: result: $wx_cv_c_compiler_xlc" >&5
11801 echo "${ECHO_T}$wx_cv_c_compiler_xlc" >&6
11802
11803 XLCC=`test $wx_compiler_xlc = yes && echo yes`
11804 ac_ext=c
11805 ac_cpp='$CPP $CPPFLAGS'
11806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11809
11810
11811
11812 ac_ext=c
11813 ac_cpp='$CPP $CPPFLAGS'
11814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11817 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11818 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11819 # On Suns, sometimes $CPP names a directory.
11820 if test -n "$CPP" && test -d "$CPP"; then
11821 CPP=
11822 fi
11823 if test -z "$CPP"; then
11824 if test "${ac_cv_prog_CPP+set}" = set; then
11825 echo $ECHO_N "(cached) $ECHO_C" >&6
11826 else
11827 # Double quotes because CPP needs to be expanded
11828 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11829 do
11830 ac_preproc_ok=false
11831 for ac_c_preproc_warn_flag in '' yes
11832 do
11833 # Use a header file that comes with gcc, so configuring glibc
11834 # with a fresh cross-compiler works.
11835 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11836 # <limits.h> exists even on freestanding compilers.
11837 # On the NeXT, cc -E runs the code through the compiler's parser,
11838 # not just through cpp. "Syntax error" is here to catch this case.
11839 cat >conftest.$ac_ext <<_ACEOF
11840 /* confdefs.h. */
11841 _ACEOF
11842 cat confdefs.h >>conftest.$ac_ext
11843 cat >>conftest.$ac_ext <<_ACEOF
11844 /* end confdefs.h. */
11845 #ifdef __STDC__
11846 # include <limits.h>
11847 #else
11848 # include <assert.h>
11849 #endif
11850 Syntax error
11851 _ACEOF
11852 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11853 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11854 ac_status=$?
11855 grep -v '^ *+' conftest.er1 >conftest.err
11856 rm -f conftest.er1
11857 cat conftest.err >&5
11858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11859 (exit $ac_status); } >/dev/null; then
11860 if test -s conftest.err; then
11861 ac_cpp_err=$ac_c_preproc_warn_flag
11862 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11863 else
11864 ac_cpp_err=
11865 fi
11866 else
11867 ac_cpp_err=yes
11868 fi
11869 if test -z "$ac_cpp_err"; then
11870 :
11871 else
11872 echo "$as_me: failed program was:" >&5
11873 sed 's/^/| /' conftest.$ac_ext >&5
11874
11875 # Broken: fails on valid input.
11876 continue
11877 fi
11878 rm -f conftest.err conftest.$ac_ext
11879
11880 # OK, works on sane cases. Now check whether non-existent headers
11881 # can be detected and how.
11882 cat >conftest.$ac_ext <<_ACEOF
11883 /* confdefs.h. */
11884 _ACEOF
11885 cat confdefs.h >>conftest.$ac_ext
11886 cat >>conftest.$ac_ext <<_ACEOF
11887 /* end confdefs.h. */
11888 #include <ac_nonexistent.h>
11889 _ACEOF
11890 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11891 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11892 ac_status=$?
11893 grep -v '^ *+' conftest.er1 >conftest.err
11894 rm -f conftest.er1
11895 cat conftest.err >&5
11896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11897 (exit $ac_status); } >/dev/null; then
11898 if test -s conftest.err; then
11899 ac_cpp_err=$ac_c_preproc_warn_flag
11900 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11901 else
11902 ac_cpp_err=
11903 fi
11904 else
11905 ac_cpp_err=yes
11906 fi
11907 if test -z "$ac_cpp_err"; then
11908 # Broken: success on invalid input.
11909 continue
11910 else
11911 echo "$as_me: failed program was:" >&5
11912 sed 's/^/| /' conftest.$ac_ext >&5
11913
11914 # Passes both tests.
11915 ac_preproc_ok=:
11916 break
11917 fi
11918 rm -f conftest.err conftest.$ac_ext
11919
11920 done
11921 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11922 rm -f conftest.err conftest.$ac_ext
11923 if $ac_preproc_ok; then
11924 break
11925 fi
11926
11927 done
11928 ac_cv_prog_CPP=$CPP
11929
11930 fi
11931 CPP=$ac_cv_prog_CPP
11932 else
11933 ac_cv_prog_CPP=$CPP
11934 fi
11935 echo "$as_me:$LINENO: result: $CPP" >&5
11936 echo "${ECHO_T}$CPP" >&6
11937 ac_preproc_ok=false
11938 for ac_c_preproc_warn_flag in '' yes
11939 do
11940 # Use a header file that comes with gcc, so configuring glibc
11941 # with a fresh cross-compiler works.
11942 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11943 # <limits.h> exists even on freestanding compilers.
11944 # On the NeXT, cc -E runs the code through the compiler's parser,
11945 # not just through cpp. "Syntax error" is here to catch this case.
11946 cat >conftest.$ac_ext <<_ACEOF
11947 /* confdefs.h. */
11948 _ACEOF
11949 cat confdefs.h >>conftest.$ac_ext
11950 cat >>conftest.$ac_ext <<_ACEOF
11951 /* end confdefs.h. */
11952 #ifdef __STDC__
11953 # include <limits.h>
11954 #else
11955 # include <assert.h>
11956 #endif
11957 Syntax error
11958 _ACEOF
11959 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11960 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11961 ac_status=$?
11962 grep -v '^ *+' conftest.er1 >conftest.err
11963 rm -f conftest.er1
11964 cat conftest.err >&5
11965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11966 (exit $ac_status); } >/dev/null; then
11967 if test -s conftest.err; then
11968 ac_cpp_err=$ac_c_preproc_warn_flag
11969 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11970 else
11971 ac_cpp_err=
11972 fi
11973 else
11974 ac_cpp_err=yes
11975 fi
11976 if test -z "$ac_cpp_err"; then
11977 :
11978 else
11979 echo "$as_me: failed program was:" >&5
11980 sed 's/^/| /' conftest.$ac_ext >&5
11981
11982 # Broken: fails on valid input.
11983 continue
11984 fi
11985 rm -f conftest.err conftest.$ac_ext
11986
11987 # OK, works on sane cases. Now check whether non-existent headers
11988 # can be detected and how.
11989 cat >conftest.$ac_ext <<_ACEOF
11990 /* confdefs.h. */
11991 _ACEOF
11992 cat confdefs.h >>conftest.$ac_ext
11993 cat >>conftest.$ac_ext <<_ACEOF
11994 /* end confdefs.h. */
11995 #include <ac_nonexistent.h>
11996 _ACEOF
11997 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11998 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11999 ac_status=$?
12000 grep -v '^ *+' conftest.er1 >conftest.err
12001 rm -f conftest.er1
12002 cat conftest.err >&5
12003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12004 (exit $ac_status); } >/dev/null; then
12005 if test -s conftest.err; then
12006 ac_cpp_err=$ac_c_preproc_warn_flag
12007 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12008 else
12009 ac_cpp_err=
12010 fi
12011 else
12012 ac_cpp_err=yes
12013 fi
12014 if test -z "$ac_cpp_err"; then
12015 # Broken: success on invalid input.
12016 continue
12017 else
12018 echo "$as_me: failed program was:" >&5
12019 sed 's/^/| /' conftest.$ac_ext >&5
12020
12021 # Passes both tests.
12022 ac_preproc_ok=:
12023 break
12024 fi
12025 rm -f conftest.err conftest.$ac_ext
12026
12027 done
12028 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12029 rm -f conftest.err conftest.$ac_ext
12030 if $ac_preproc_ok; then
12031 :
12032 else
12033 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
12034 See \`config.log' for more details." >&5
12035 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
12036 See \`config.log' for more details." >&2;}
12037 { (exit 1); exit 1; }; }
12038 fi
12039
12040 ac_ext=c
12041 ac_cpp='$CPP $CPPFLAGS'
12042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12045
12046
12047 echo "$as_me:$LINENO: checking for egrep" >&5
12048 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
12049 if test "${ac_cv_prog_egrep+set}" = set; then
12050 echo $ECHO_N "(cached) $ECHO_C" >&6
12051 else
12052 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
12053 then ac_cv_prog_egrep='grep -E'
12054 else ac_cv_prog_egrep='egrep'
12055 fi
12056 fi
12057 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
12058 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
12059 EGREP=$ac_cv_prog_egrep
12060
12061
12062 if test $ac_cv_c_compiler_gnu = yes; then
12063 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
12064 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
12065 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
12066 echo $ECHO_N "(cached) $ECHO_C" >&6
12067 else
12068 ac_pattern="Autoconf.*'x'"
12069 cat >conftest.$ac_ext <<_ACEOF
12070 /* confdefs.h. */
12071 _ACEOF
12072 cat confdefs.h >>conftest.$ac_ext
12073 cat >>conftest.$ac_ext <<_ACEOF
12074 /* end confdefs.h. */
12075 #include <sgtty.h>
12076 Autoconf TIOCGETP
12077 _ACEOF
12078 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12079 $EGREP "$ac_pattern" >/dev/null 2>&1; then
12080 ac_cv_prog_gcc_traditional=yes
12081 else
12082 ac_cv_prog_gcc_traditional=no
12083 fi
12084 rm -f conftest*
12085
12086
12087 if test $ac_cv_prog_gcc_traditional = no; then
12088 cat >conftest.$ac_ext <<_ACEOF
12089 /* confdefs.h. */
12090 _ACEOF
12091 cat confdefs.h >>conftest.$ac_ext
12092 cat >>conftest.$ac_ext <<_ACEOF
12093 /* end confdefs.h. */
12094 #include <termio.h>
12095 Autoconf TCGETA
12096 _ACEOF
12097 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12098 $EGREP "$ac_pattern" >/dev/null 2>&1; then
12099 ac_cv_prog_gcc_traditional=yes
12100 fi
12101 rm -f conftest*
12102
12103 fi
12104 fi
12105 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
12106 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
12107 if test $ac_cv_prog_gcc_traditional = yes; then
12108 CC="$CC -traditional"
12109 fi
12110 fi
12111
12112
12113
12114
12115 ac_ext=cc
12116 ac_cpp='$CXXCPP $CPPFLAGS'
12117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12120
12121
12122 CXXFLAGS=${CXXFLAGS:=}
12123 ac_ext=cc
12124 ac_cpp='$CXXCPP $CPPFLAGS'
12125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12128 if test -n "$ac_tool_prefix"; then
12129 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
12130 do
12131 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12132 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12133 echo "$as_me:$LINENO: checking for $ac_word" >&5
12134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12135 if test "${ac_cv_prog_CXX+set}" = set; then
12136 echo $ECHO_N "(cached) $ECHO_C" >&6
12137 else
12138 if test -n "$CXX"; then
12139 ac_cv_prog_CXX="$CXX" # Let the user override the test.
12140 else
12141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12142 for as_dir in $PATH
12143 do
12144 IFS=$as_save_IFS
12145 test -z "$as_dir" && as_dir=.
12146 for ac_exec_ext in '' $ac_executable_extensions; do
12147 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12148 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
12149 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12150 break 2
12151 fi
12152 done
12153 done
12154
12155 fi
12156 fi
12157 CXX=$ac_cv_prog_CXX
12158 if test -n "$CXX"; then
12159 echo "$as_me:$LINENO: result: $CXX" >&5
12160 echo "${ECHO_T}$CXX" >&6
12161 else
12162 echo "$as_me:$LINENO: result: no" >&5
12163 echo "${ECHO_T}no" >&6
12164 fi
12165
12166 test -n "$CXX" && break
12167 done
12168 fi
12169 if test -z "$CXX"; then
12170 ac_ct_CXX=$CXX
12171 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
12172 do
12173 # Extract the first word of "$ac_prog", so it can be a program name with args.
12174 set dummy $ac_prog; ac_word=$2
12175 echo "$as_me:$LINENO: checking for $ac_word" >&5
12176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12177 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12178 echo $ECHO_N "(cached) $ECHO_C" >&6
12179 else
12180 if test -n "$ac_ct_CXX"; then
12181 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
12182 else
12183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12184 for as_dir in $PATH
12185 do
12186 IFS=$as_save_IFS
12187 test -z "$as_dir" && as_dir=.
12188 for ac_exec_ext in '' $ac_executable_extensions; do
12189 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12190 ac_cv_prog_ac_ct_CXX="$ac_prog"
12191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12192 break 2
12193 fi
12194 done
12195 done
12196
12197 fi
12198 fi
12199 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
12200 if test -n "$ac_ct_CXX"; then
12201 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12202 echo "${ECHO_T}$ac_ct_CXX" >&6
12203 else
12204 echo "$as_me:$LINENO: result: no" >&5
12205 echo "${ECHO_T}no" >&6
12206 fi
12207
12208 test -n "$ac_ct_CXX" && break
12209 done
12210 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
12211
12212 CXX=$ac_ct_CXX
12213 fi
12214
12215
12216 # Provide some information about the compiler.
12217 echo "$as_me:$LINENO:" \
12218 "checking for C++ compiler version" >&5
12219 ac_compiler=`set X $ac_compile; echo $2`
12220 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12221 (eval $ac_compiler --version </dev/null >&5) 2>&5
12222 ac_status=$?
12223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12224 (exit $ac_status); }
12225 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12226 (eval $ac_compiler -v </dev/null >&5) 2>&5
12227 ac_status=$?
12228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12229 (exit $ac_status); }
12230 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12231 (eval $ac_compiler -V </dev/null >&5) 2>&5
12232 ac_status=$?
12233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12234 (exit $ac_status); }
12235
12236 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
12237 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
12238 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
12239 echo $ECHO_N "(cached) $ECHO_C" >&6
12240 else
12241 cat >conftest.$ac_ext <<_ACEOF
12242 /* confdefs.h. */
12243 _ACEOF
12244 cat confdefs.h >>conftest.$ac_ext
12245 cat >>conftest.$ac_ext <<_ACEOF
12246 /* end confdefs.h. */
12247
12248 int
12249 main ()
12250 {
12251 #ifndef __GNUC__
12252 choke me
12253 #endif
12254
12255 ;
12256 return 0;
12257 }
12258 _ACEOF
12259 rm -f conftest.$ac_objext
12260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12261 (eval $ac_compile) 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_cxx_werror_flag" || test ! -s conftest.err'
12269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12270 (eval $ac_try) 2>&5
12271 ac_status=$?
12272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12273 (exit $ac_status); }; } &&
12274 { ac_try='test -s conftest.$ac_objext'
12275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12276 (eval $ac_try) 2>&5
12277 ac_status=$?
12278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12279 (exit $ac_status); }; }; then
12280 ac_compiler_gnu=yes
12281 else
12282 echo "$as_me: failed program was:" >&5
12283 sed 's/^/| /' conftest.$ac_ext >&5
12284
12285 ac_compiler_gnu=no
12286 fi
12287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12288 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
12289
12290 fi
12291 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12292 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
12293 GXX=`test $ac_compiler_gnu = yes && echo yes`
12294 ac_test_CXXFLAGS=${CXXFLAGS+set}
12295 ac_save_CXXFLAGS=$CXXFLAGS
12296 CXXFLAGS="-g"
12297 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12298 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12299 if test "${ac_cv_prog_cxx_g+set}" = set; then
12300 echo $ECHO_N "(cached) $ECHO_C" >&6
12301 else
12302 cat >conftest.$ac_ext <<_ACEOF
12303 /* confdefs.h. */
12304 _ACEOF
12305 cat confdefs.h >>conftest.$ac_ext
12306 cat >>conftest.$ac_ext <<_ACEOF
12307 /* end confdefs.h. */
12308
12309 int
12310 main ()
12311 {
12312
12313 ;
12314 return 0;
12315 }
12316 _ACEOF
12317 rm -f conftest.$ac_objext
12318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12319 (eval $ac_compile) 2>conftest.er1
12320 ac_status=$?
12321 grep -v '^ *+' conftest.er1 >conftest.err
12322 rm -f conftest.er1
12323 cat conftest.err >&5
12324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12325 (exit $ac_status); } &&
12326 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12328 (eval $ac_try) 2>&5
12329 ac_status=$?
12330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12331 (exit $ac_status); }; } &&
12332 { ac_try='test -s conftest.$ac_objext'
12333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12334 (eval $ac_try) 2>&5
12335 ac_status=$?
12336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12337 (exit $ac_status); }; }; then
12338 ac_cv_prog_cxx_g=yes
12339 else
12340 echo "$as_me: failed program was:" >&5
12341 sed 's/^/| /' conftest.$ac_ext >&5
12342
12343 ac_cv_prog_cxx_g=no
12344 fi
12345 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12346 fi
12347 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12348 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12349 if test "$ac_test_CXXFLAGS" = set; then
12350 CXXFLAGS=$ac_save_CXXFLAGS
12351 elif test $ac_cv_prog_cxx_g = yes; then
12352 if test "$GXX" = yes; then
12353 CXXFLAGS="-g -O2"
12354 else
12355 CXXFLAGS="-g"
12356 fi
12357 else
12358 if test "$GXX" = yes; then
12359 CXXFLAGS="-O2"
12360 else
12361 CXXFLAGS=
12362 fi
12363 fi
12364 for ac_declaration in \
12365 '' \
12366 'extern "C" void std::exit (int) throw (); using std::exit;' \
12367 'extern "C" void std::exit (int); using std::exit;' \
12368 'extern "C" void exit (int) throw ();' \
12369 'extern "C" void exit (int);' \
12370 'void exit (int);'
12371 do
12372 cat >conftest.$ac_ext <<_ACEOF
12373 /* confdefs.h. */
12374 _ACEOF
12375 cat confdefs.h >>conftest.$ac_ext
12376 cat >>conftest.$ac_ext <<_ACEOF
12377 /* end confdefs.h. */
12378 $ac_declaration
12379 #include <stdlib.h>
12380 int
12381 main ()
12382 {
12383 exit (42);
12384 ;
12385 return 0;
12386 }
12387 _ACEOF
12388 rm -f conftest.$ac_objext
12389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12390 (eval $ac_compile) 2>conftest.er1
12391 ac_status=$?
12392 grep -v '^ *+' conftest.er1 >conftest.err
12393 rm -f conftest.er1
12394 cat conftest.err >&5
12395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12396 (exit $ac_status); } &&
12397 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12399 (eval $ac_try) 2>&5
12400 ac_status=$?
12401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12402 (exit $ac_status); }; } &&
12403 { ac_try='test -s conftest.$ac_objext'
12404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12405 (eval $ac_try) 2>&5
12406 ac_status=$?
12407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12408 (exit $ac_status); }; }; then
12409 :
12410 else
12411 echo "$as_me: failed program was:" >&5
12412 sed 's/^/| /' conftest.$ac_ext >&5
12413
12414 continue
12415 fi
12416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12417 cat >conftest.$ac_ext <<_ACEOF
12418 /* confdefs.h. */
12419 _ACEOF
12420 cat confdefs.h >>conftest.$ac_ext
12421 cat >>conftest.$ac_ext <<_ACEOF
12422 /* end confdefs.h. */
12423 $ac_declaration
12424 int
12425 main ()
12426 {
12427 exit (42);
12428 ;
12429 return 0;
12430 }
12431 _ACEOF
12432 rm -f conftest.$ac_objext
12433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12434 (eval $ac_compile) 2>conftest.er1
12435 ac_status=$?
12436 grep -v '^ *+' conftest.er1 >conftest.err
12437 rm -f conftest.er1
12438 cat conftest.err >&5
12439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12440 (exit $ac_status); } &&
12441 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12443 (eval $ac_try) 2>&5
12444 ac_status=$?
12445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12446 (exit $ac_status); }; } &&
12447 { ac_try='test -s conftest.$ac_objext'
12448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12449 (eval $ac_try) 2>&5
12450 ac_status=$?
12451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12452 (exit $ac_status); }; }; then
12453 break
12454 else
12455 echo "$as_me: failed program was:" >&5
12456 sed 's/^/| /' conftest.$ac_ext >&5
12457
12458 fi
12459 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12460 done
12461 rm -f conftest*
12462 if test -n "$ac_declaration"; then
12463 echo '#ifdef __cplusplus' >>confdefs.h
12464 echo $ac_declaration >>confdefs.h
12465 echo '#endif' >>confdefs.h
12466 fi
12467
12468 ac_ext=cc
12469 ac_cpp='$CXXCPP $CPPFLAGS'
12470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12473
12474 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
12475 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
12476 if test "${wx_cv_cxx_exto+set}" = set; then
12477 echo $ECHO_N "(cached) $ECHO_C" >&6
12478 else
12479 cat >conftest.$ac_ext <<_ACEOF
12480 /* confdefs.h. */
12481 _ACEOF
12482 cat confdefs.h >>conftest.$ac_ext
12483 cat >>conftest.$ac_ext <<_ACEOF
12484 /* end confdefs.h. */
12485
12486 int
12487 main ()
12488 {
12489
12490 ;
12491 return 0;
12492 }
12493 _ACEOF
12494 rm -f conftest.$ac_objext conftest.$ac_ext.o
12495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12496 (eval $ac_compile) 2>&5
12497 ac_status=$?
12498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12499 (exit $ac_status); }; then
12500 for ac_file in `(ls conftest.* 2>/dev/null)`; do
12501 case $ac_file in
12502 conftest.$ac_ext.o)
12503 wx_cv_cxx_exto="-ext o"
12504 ;;
12505 *)
12506 ;;
12507 esac
12508 done
12509 else
12510 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12511 See \`config.log' for more details." >&5
12512 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12513 See \`config.log' for more details." >&2;}
12514 { (exit 1); exit 1; }; }
12515
12516 fi
12517
12518 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
12519
12520 fi
12521 echo "$as_me:$LINENO: result: $wx_cv_cxx_exto" >&5
12522 echo "${ECHO_T}$wx_cv_cxx_exto" >&6
12523 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12524 if test "cxx" = "c"; then
12525 CFLAGS="$wx_cv_cxx_exto $CFLAGS"
12526 fi
12527 if test "cxx" = "cxx"; then
12528 CXXFLAGS="$wx_cv_cxx_exto $CXXFLAGS"
12529 fi
12530 fi
12531
12532 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12533 unset ac_cv_prog_cxx_g
12534 ac_test_CXXFLAGS=${CXXFLAGS+set}
12535 ac_save_CXXFLAGS=$CXXFLAGS
12536 CXXFLAGS="-g"
12537 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12538 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12539 if test "${ac_cv_prog_cxx_g+set}" = set; then
12540 echo $ECHO_N "(cached) $ECHO_C" >&6
12541 else
12542 cat >conftest.$ac_ext <<_ACEOF
12543 /* confdefs.h. */
12544 _ACEOF
12545 cat confdefs.h >>conftest.$ac_ext
12546 cat >>conftest.$ac_ext <<_ACEOF
12547 /* end confdefs.h. */
12548
12549 int
12550 main ()
12551 {
12552
12553 ;
12554 return 0;
12555 }
12556 _ACEOF
12557 rm -f conftest.$ac_objext
12558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12559 (eval $ac_compile) 2>conftest.er1
12560 ac_status=$?
12561 grep -v '^ *+' conftest.er1 >conftest.err
12562 rm -f conftest.er1
12563 cat conftest.err >&5
12564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12565 (exit $ac_status); } &&
12566 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12568 (eval $ac_try) 2>&5
12569 ac_status=$?
12570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12571 (exit $ac_status); }; } &&
12572 { ac_try='test -s conftest.$ac_objext'
12573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12574 (eval $ac_try) 2>&5
12575 ac_status=$?
12576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12577 (exit $ac_status); }; }; then
12578 ac_cv_prog_cxx_g=yes
12579 else
12580 echo "$as_me: failed program was:" >&5
12581 sed 's/^/| /' conftest.$ac_ext >&5
12582
12583 ac_cv_prog_cxx_g=no
12584 fi
12585 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12586 fi
12587 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12588 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12589 if test "$ac_test_CXXFLAGS" = set; then
12590 CXXFLAGS=$ac_save_CXXFLAGS
12591 elif test $ac_cv_prog_cxx_g = yes; then
12592 if test "$GXX" = yes; then
12593 CXXFLAGS="-g -O2"
12594 else
12595 CXXFLAGS="-g"
12596 fi
12597 else
12598 if test "$GXX" = yes; then
12599 CXXFLAGS="-O2"
12600 else
12601 CXXFLAGS=
12602 fi
12603 fi
12604 fi
12605
12606 ac_ext=cc
12607 ac_cpp='$CXXCPP $CPPFLAGS'
12608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12611
12612 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
12613 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
12614 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
12615 echo $ECHO_N "(cached) $ECHO_C" >&6
12616 else
12617 cat >conftest.$ac_ext <<_ACEOF
12618 /* confdefs.h. */
12619 _ACEOF
12620 cat confdefs.h >>conftest.$ac_ext
12621 cat >>conftest.$ac_ext <<_ACEOF
12622 /* end confdefs.h. */
12623
12624 int
12625 main ()
12626 {
12627 #ifndef __MWERKS__
12628 choke me
12629 #endif
12630
12631 ;
12632 return 0;
12633 }
12634 _ACEOF
12635 rm -f conftest.$ac_objext
12636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12637 (eval $ac_compile) 2>conftest.er1
12638 ac_status=$?
12639 grep -v '^ *+' conftest.er1 >conftest.err
12640 rm -f conftest.er1
12641 cat conftest.err >&5
12642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12643 (exit $ac_status); } &&
12644 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12646 (eval $ac_try) 2>&5
12647 ac_status=$?
12648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12649 (exit $ac_status); }; } &&
12650 { ac_try='test -s conftest.$ac_objext'
12651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12652 (eval $ac_try) 2>&5
12653 ac_status=$?
12654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12655 (exit $ac_status); }; }; then
12656 bakefile_compiler_mwerks=yes
12657 else
12658 echo "$as_me: failed program was:" >&5
12659 sed 's/^/| /' conftest.$ac_ext >&5
12660
12661 bakefile_compiler_mwerks=no
12662 fi
12663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12664 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
12665
12666 fi
12667 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
12668 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
12669
12670 MWCXX=`test $bakefile_compiler_mwerks = yes && echo yes`
12671 ac_ext=cc
12672 ac_cpp='$CXXCPP $CPPFLAGS'
12673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12676
12677
12678 ac_ext=cc
12679 ac_cpp='$CXXCPP $CPPFLAGS'
12680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12683
12684 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
12685 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
12686 if test "${wx_cv_cxx_compiler_xlc+set}" = set; then
12687 echo $ECHO_N "(cached) $ECHO_C" >&6
12688 else
12689 cat >conftest.$ac_ext <<_ACEOF
12690 /* confdefs.h. */
12691 _ACEOF
12692 cat confdefs.h >>conftest.$ac_ext
12693 cat >>conftest.$ac_ext <<_ACEOF
12694 /* end confdefs.h. */
12695
12696 int
12697 main ()
12698 {
12699 #ifndef __xlC__
12700 choke me
12701 #endif
12702
12703 ;
12704 return 0;
12705 }
12706 _ACEOF
12707 rm -f conftest.$ac_objext
12708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12709 (eval $ac_compile) 2>conftest.er1
12710 ac_status=$?
12711 grep -v '^ *+' conftest.er1 >conftest.err
12712 rm -f conftest.er1
12713 cat conftest.err >&5
12714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12715 (exit $ac_status); } &&
12716 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12718 (eval $ac_try) 2>&5
12719 ac_status=$?
12720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12721 (exit $ac_status); }; } &&
12722 { ac_try='test -s conftest.$ac_objext'
12723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12724 (eval $ac_try) 2>&5
12725 ac_status=$?
12726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12727 (exit $ac_status); }; }; then
12728 wx_compiler_xlc=yes
12729 else
12730 echo "$as_me: failed program was:" >&5
12731 sed 's/^/| /' conftest.$ac_ext >&5
12732
12733 wx_compiler_xlc=no
12734 fi
12735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12736 wx_cv_cxx_compiler_xlc=$wx_compiler_xlc
12737
12738 fi
12739 echo "$as_me:$LINENO: result: $wx_cv_cxx_compiler_xlc" >&5
12740 echo "${ECHO_T}$wx_cv_cxx_compiler_xlc" >&6
12741
12742 XLCXX=`test $wx_compiler_xlc = yes && echo yes`
12743 ac_ext=cc
12744 ac_cpp='$CXXCPP $CPPFLAGS'
12745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12748
12749
12750
12751 ac_ext=c
12752 ac_cpp='$CPP $CPPFLAGS'
12753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12756
12757
12758 if test -n "$ac_tool_prefix"; then
12759 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
12760 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
12761 echo "$as_me:$LINENO: checking for $ac_word" >&5
12762 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12763 if test "${ac_cv_prog_RANLIB+set}" = set; then
12764 echo $ECHO_N "(cached) $ECHO_C" >&6
12765 else
12766 if test -n "$RANLIB"; then
12767 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
12768 else
12769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12770 for as_dir in $PATH
12771 do
12772 IFS=$as_save_IFS
12773 test -z "$as_dir" && as_dir=.
12774 for ac_exec_ext in '' $ac_executable_extensions; do
12775 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12776 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
12777 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12778 break 2
12779 fi
12780 done
12781 done
12782
12783 fi
12784 fi
12785 RANLIB=$ac_cv_prog_RANLIB
12786 if test -n "$RANLIB"; then
12787 echo "$as_me:$LINENO: result: $RANLIB" >&5
12788 echo "${ECHO_T}$RANLIB" >&6
12789 else
12790 echo "$as_me:$LINENO: result: no" >&5
12791 echo "${ECHO_T}no" >&6
12792 fi
12793
12794 fi
12795 if test -z "$ac_cv_prog_RANLIB"; then
12796 ac_ct_RANLIB=$RANLIB
12797 # Extract the first word of "ranlib", so it can be a program name with args.
12798 set dummy ranlib; ac_word=$2
12799 echo "$as_me:$LINENO: checking for $ac_word" >&5
12800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12801 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
12802 echo $ECHO_N "(cached) $ECHO_C" >&6
12803 else
12804 if test -n "$ac_ct_RANLIB"; then
12805 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
12806 else
12807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12808 for as_dir in $PATH
12809 do
12810 IFS=$as_save_IFS
12811 test -z "$as_dir" && as_dir=.
12812 for ac_exec_ext in '' $ac_executable_extensions; do
12813 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12814 ac_cv_prog_ac_ct_RANLIB="ranlib"
12815 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12816 break 2
12817 fi
12818 done
12819 done
12820
12821 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
12822 fi
12823 fi
12824 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
12825 if test -n "$ac_ct_RANLIB"; then
12826 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
12827 echo "${ECHO_T}$ac_ct_RANLIB" >&6
12828 else
12829 echo "$as_me:$LINENO: result: no" >&5
12830 echo "${ECHO_T}no" >&6
12831 fi
12832
12833 RANLIB=$ac_ct_RANLIB
12834 else
12835 RANLIB="$ac_cv_prog_RANLIB"
12836 fi
12837
12838
12839 # Extract the first word of "ar", so it can be a program name with args.
12840 set dummy ar; ac_word=$2
12841 echo "$as_me:$LINENO: checking for $ac_word" >&5
12842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12843 if test "${ac_cv_prog_AR+set}" = set; then
12844 echo $ECHO_N "(cached) $ECHO_C" >&6
12845 else
12846 if test -n "$AR"; then
12847 ac_cv_prog_AR="$AR" # Let the user override the test.
12848 else
12849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12850 for as_dir in $PATH
12851 do
12852 IFS=$as_save_IFS
12853 test -z "$as_dir" && as_dir=.
12854 for ac_exec_ext in '' $ac_executable_extensions; do
12855 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12856 ac_cv_prog_AR="ar"
12857 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12858 break 2
12859 fi
12860 done
12861 done
12862
12863 fi
12864 fi
12865 AR=$ac_cv_prog_AR
12866 if test -n "$AR"; then
12867 echo "$as_me:$LINENO: result: $AR" >&5
12868 echo "${ECHO_T}$AR" >&6
12869 else
12870 echo "$as_me:$LINENO: result: no" >&5
12871 echo "${ECHO_T}no" >&6
12872 fi
12873
12874 if test "x$AR" = "x" ; then
12875 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
12876 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
12877 { (exit 1); exit 1; }; }
12878 fi
12879
12880 # Find a good install program. We prefer a C program (faster),
12881 # so one script is as good as another. But avoid the broken or
12882 # incompatible versions:
12883 # SysV /etc/install, /usr/sbin/install
12884 # SunOS /usr/etc/install
12885 # IRIX /sbin/install
12886 # AIX /bin/install
12887 # AmigaOS /C/install, which installs bootblocks on floppy discs
12888 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
12889 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
12890 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
12891 # OS/2's system install, which has a completely different semantic
12892 # ./install, which can be erroneously created by make from ./install.sh.
12893 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
12894 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
12895 if test -z "$INSTALL"; then
12896 if test "${ac_cv_path_install+set}" = set; then
12897 echo $ECHO_N "(cached) $ECHO_C" >&6
12898 else
12899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12900 for as_dir in $PATH
12901 do
12902 IFS=$as_save_IFS
12903 test -z "$as_dir" && as_dir=.
12904 # Account for people who put trailing slashes in PATH elements.
12905 case $as_dir/ in
12906 ./ | .// | /cC/* | \
12907 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
12908 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
12909 /usr/ucb/* ) ;;
12910 *)
12911 # OSF1 and SCO ODT 3.0 have their own names for install.
12912 # Don't use installbsd from OSF since it installs stuff as root
12913 # by default.
12914 for ac_prog in ginstall scoinst install; do
12915 for ac_exec_ext in '' $ac_executable_extensions; do
12916 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
12917 if test $ac_prog = install &&
12918 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
12919 # AIX install. It has an incompatible calling convention.
12920 :
12921 elif test $ac_prog = install &&
12922 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
12923 # program-specific install script used by HP pwplus--don't use.
12924 :
12925 else
12926 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
12927 break 3
12928 fi
12929 fi
12930 done
12931 done
12932 ;;
12933 esac
12934 done
12935
12936
12937 fi
12938 if test "${ac_cv_path_install+set}" = set; then
12939 INSTALL=$ac_cv_path_install
12940 else
12941 # As a last resort, use the slow shell script. We don't cache a
12942 # path for INSTALL within a source directory, because that will
12943 # break other packages using the cache if that directory is
12944 # removed, or if the path is relative.
12945 INSTALL=$ac_install_sh
12946 fi
12947 fi
12948 echo "$as_me:$LINENO: result: $INSTALL" >&5
12949 echo "${ECHO_T}$INSTALL" >&6
12950
12951 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
12952 # It thinks the first close brace ends the variable substitution.
12953 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
12954
12955 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
12956
12957 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
12958
12959
12960 case ${INSTALL} in
12961 /* ) # Absolute
12962 ;;
12963 ?:* ) # Drive letter, considered as absolute.
12964 ;;
12965 *)
12966 INSTALL=`pwd`/${INSTALL} ;;
12967 esac
12968
12969
12970 case "${host}" in
12971
12972 powerpc-*-darwin* )
12973 INSTALL_PROGRAM="cp -fp"
12974 INSTALL_DATA="cp -fp"
12975 ;;
12976 *)
12977 ;;
12978 esac
12979
12980 # Extract the first word of "strip", so it can be a program name with args.
12981 set dummy strip; ac_word=$2
12982 echo "$as_me:$LINENO: checking for $ac_word" >&5
12983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12984 if test "${ac_cv_prog_STRIP+set}" = set; then
12985 echo $ECHO_N "(cached) $ECHO_C" >&6
12986 else
12987 if test -n "$STRIP"; then
12988 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
12989 else
12990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12991 for as_dir in $PATH
12992 do
12993 IFS=$as_save_IFS
12994 test -z "$as_dir" && as_dir=.
12995 for ac_exec_ext in '' $ac_executable_extensions; do
12996 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12997 ac_cv_prog_STRIP="strip"
12998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12999 break 2
13000 fi
13001 done
13002 done
13003
13004 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
13005 fi
13006 fi
13007 STRIP=$ac_cv_prog_STRIP
13008 if test -n "$STRIP"; then
13009 echo "$as_me:$LINENO: result: $STRIP" >&5
13010 echo "${ECHO_T}$STRIP" >&6
13011 else
13012 echo "$as_me:$LINENO: result: no" >&5
13013 echo "${ECHO_T}no" >&6
13014 fi
13015
13016
13017 echo "$as_me:$LINENO: checking if make is GNU make" >&5
13018 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
13019 if test "${wx_cv_prog_makeisgnu+set}" = set; then
13020 echo $ECHO_N "(cached) $ECHO_C" >&6
13021 else
13022
13023 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
13024 egrep -s GNU > /dev/null); then
13025 wx_cv_prog_makeisgnu="yes"
13026 else
13027 wx_cv_prog_makeisgnu="no"
13028 fi
13029
13030 fi
13031 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
13032 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
13033
13034 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
13035 IF_GNU_MAKE=""
13036 else
13037 IF_GNU_MAKE="#"
13038 fi
13039
13040
13041
13042 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
13043 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
13044 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
13045 if test "${wx_cv_prog_makevpath+set}" = set; then
13046 echo $ECHO_N "(cached) $ECHO_C" >&6
13047 else
13048
13049 cat - << EOF > confMake
13050 check : file
13051 cp \$? \$@
13052 cp \$? final_file
13053 EOF
13054
13055 if test ! -d sub ; then
13056 mkdir sub
13057 fi
13058 echo dummy > sub/file
13059 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
13060 RESULT=$?
13061 rm -f sub/file check final_file confMake
13062 rmdir sub
13063 if test "$RESULT" = 0; then
13064 wx_cv_prog_makevpath="yes"
13065 else
13066 wx_cv_prog_makevpath="no"
13067 fi
13068
13069 fi
13070 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
13071 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
13072
13073 if test "x$wx_cv_prog_makevpath" != "xyes"; then
13074 { { echo "$as_me:$LINENO: error:
13075 You need a make-utility that is able to use the variable
13076 VPATH correctly.
13077 If your version of make does not support VPATH correctly,
13078 please install GNU-make (possibly as gmake), and start
13079 configure with the following command:
13080 export MAKE=gmake; ./configure for sh-type shells
13081 setenv MAKE gmake; ./configure for csh-type shells
13082 Also please do remember to use gmake in this case every time
13083 you are trying to compile.
13084 " >&5
13085 echo "$as_me: error:
13086 You need a make-utility that is able to use the variable
13087 VPATH correctly.
13088 If your version of make does not support VPATH correctly,
13089 please install GNU-make (possibly as gmake), and start
13090 configure with the following command:
13091 export MAKE=gmake; ./configure for sh-type shells
13092 setenv MAKE gmake; ./configure for csh-type shells
13093 Also please do remember to use gmake in this case every time
13094 you are trying to compile.
13095 " >&2;}
13096 { (exit 1); exit 1; }; }
13097 fi fi
13098 echo "$as_me:$LINENO: checking whether ln -s works" >&5
13099 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
13100 LN_S=$as_ln_s
13101 if test "$LN_S" = "ln -s"; then
13102 echo "$as_me:$LINENO: result: yes" >&5
13103 echo "${ECHO_T}yes" >&6
13104 else
13105 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
13106 echo "${ECHO_T}no, using $LN_S" >&6
13107 fi
13108
13109
13110
13111 if test "x$XLCXX" = "xyes"; then
13112 CXXFLAGS="$CXXFLAGS -qunique"
13113 fi
13114
13115
13116 case "${host}" in
13117 powerpc-*-darwin* )
13118 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
13119 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
13120 cat >conftest.$ac_ext <<_ACEOF
13121 /* confdefs.h. */
13122 _ACEOF
13123 cat confdefs.h >>conftest.$ac_ext
13124 cat >>conftest.$ac_ext <<_ACEOF
13125 /* end confdefs.h. */
13126
13127 int
13128 main ()
13129 {
13130 #ifndef __POWERPC__
13131 choke me for lack of PowerPC
13132 #endif
13133
13134 ;
13135 return 0;
13136 }
13137 _ACEOF
13138 rm -f conftest.$ac_objext
13139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13140 (eval $ac_compile) 2>conftest.er1
13141 ac_status=$?
13142 grep -v '^ *+' conftest.er1 >conftest.err
13143 rm -f conftest.er1
13144 cat conftest.err >&5
13145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13146 (exit $ac_status); } &&
13147 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13149 (eval $ac_try) 2>&5
13150 ac_status=$?
13151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13152 (exit $ac_status); }; } &&
13153 { ac_try='test -s conftest.$ac_objext'
13154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13155 (eval $ac_try) 2>&5
13156 ac_status=$?
13157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13158 (exit $ac_status); }; }; then
13159 echo "$as_me:$LINENO: result: yes" >&5
13160 echo "${ECHO_T}yes" >&6
13161 else
13162 echo "$as_me: failed program was:" >&5
13163 sed 's/^/| /' conftest.$ac_ext >&5
13164
13165 echo "$as_me:$LINENO: result: no" >&5
13166 echo "${ECHO_T}no" >&6
13167 cat >>confdefs.h <<\_ACEOF
13168 #define __POWERPC__ 1
13169 _ACEOF
13170
13171
13172 fi
13173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13174 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
13175 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
13176 cat >conftest.$ac_ext <<_ACEOF
13177 /* confdefs.h. */
13178 _ACEOF
13179 cat confdefs.h >>conftest.$ac_ext
13180 cat >>conftest.$ac_ext <<_ACEOF
13181 /* end confdefs.h. */
13182 #include <CoreFoundation/CFBase.h>
13183
13184 int
13185 main ()
13186 {
13187
13188 ;
13189 return 0;
13190 }
13191 _ACEOF
13192 rm -f conftest.$ac_objext
13193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13194 (eval $ac_compile) 2>conftest.er1
13195 ac_status=$?
13196 grep -v '^ *+' conftest.er1 >conftest.err
13197 rm -f conftest.er1
13198 cat conftest.err >&5
13199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13200 (exit $ac_status); } &&
13201 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13203 (eval $ac_try) 2>&5
13204 ac_status=$?
13205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13206 (exit $ac_status); }; } &&
13207 { ac_try='test -s conftest.$ac_objext'
13208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13209 (eval $ac_try) 2>&5
13210 ac_status=$?
13211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13212 (exit $ac_status); }; }; then
13213 echo "$as_me:$LINENO: result: yes" >&5
13214 echo "${ECHO_T}yes" >&6
13215 else
13216 echo "$as_me: failed program was:" >&5
13217 sed 's/^/| /' conftest.$ac_ext >&5
13218
13219 echo "$as_me:$LINENO: result: no" >&5
13220 echo "${ECHO_T}no" >&6
13221 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
13222 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
13223 cat >conftest.$ac_ext <<_ACEOF
13224 /* confdefs.h. */
13225 _ACEOF
13226 cat confdefs.h >>conftest.$ac_ext
13227 cat >>conftest.$ac_ext <<_ACEOF
13228 /* end confdefs.h. */
13229 #define __CF_USE_FRAMEWORK_INCLUDES__
13230 #include <CoreFoundation/CFBase.h>
13231
13232 int
13233 main ()
13234 {
13235
13236 ;
13237 return 0;
13238 }
13239 _ACEOF
13240 rm -f conftest.$ac_objext
13241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13242 (eval $ac_compile) 2>conftest.er1
13243 ac_status=$?
13244 grep -v '^ *+' conftest.er1 >conftest.err
13245 rm -f conftest.er1
13246 cat conftest.err >&5
13247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13248 (exit $ac_status); } &&
13249 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13251 (eval $ac_try) 2>&5
13252 ac_status=$?
13253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13254 (exit $ac_status); }; } &&
13255 { ac_try='test -s conftest.$ac_objext'
13256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13257 (eval $ac_try) 2>&5
13258 ac_status=$?
13259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13260 (exit $ac_status); }; }; then
13261 echo "$as_me:$LINENO: result: yes" >&5
13262 echo "${ECHO_T}yes" >&6
13263 CPPFLAGS="$CPPFLAGS -D__CF_USE_FRAMEWORK_INCLUDES__"
13264 else
13265 echo "$as_me: failed program was:" >&5
13266 sed 's/^/| /' conftest.$ac_ext >&5
13267
13268 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
13269 See \`config.log' for more details." >&5
13270 echo "$as_me: error: no. CoreFoundation not available.
13271 See \`config.log' for more details." >&2;}
13272 { (exit 1); exit 1; }; }
13273
13274 fi
13275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13276
13277
13278 fi
13279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13280 ;;
13281 esac
13282
13283 case "${host}" in
13284 *-pc-os2_emx | *-pc-os2-emx )
13285 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
13286 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
13287 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
13288 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
13289 echo $ECHO_N "(cached) $ECHO_C" >&6
13290 else
13291 ac_check_lib_save_LIBS=$LIBS
13292 LIBS="-lcExt $LIBS"
13293 cat >conftest.$ac_ext <<_ACEOF
13294 /* confdefs.h. */
13295 _ACEOF
13296 cat confdefs.h >>conftest.$ac_ext
13297 cat >>conftest.$ac_ext <<_ACEOF
13298 /* end confdefs.h. */
13299
13300 /* Override any gcc2 internal prototype to avoid an error. */
13301 #ifdef __cplusplus
13302 extern "C"
13303 #endif
13304 /* We use char because int might match the return type of a gcc2
13305 builtin and then its argument prototype would still apply. */
13306 char drand48 ();
13307 int
13308 main ()
13309 {
13310 drand48 ();
13311 ;
13312 return 0;
13313 }
13314 _ACEOF
13315 rm -f conftest.$ac_objext conftest$ac_exeext
13316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13317 (eval $ac_link) 2>conftest.er1
13318 ac_status=$?
13319 grep -v '^ *+' conftest.er1 >conftest.err
13320 rm -f conftest.er1
13321 cat conftest.err >&5
13322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13323 (exit $ac_status); } &&
13324 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13326 (eval $ac_try) 2>&5
13327 ac_status=$?
13328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13329 (exit $ac_status); }; } &&
13330 { ac_try='test -s conftest$ac_exeext'
13331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13332 (eval $ac_try) 2>&5
13333 ac_status=$?
13334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13335 (exit $ac_status); }; }; then
13336 ac_cv_lib_cExt_drand48=yes
13337 else
13338 echo "$as_me: failed program was:" >&5
13339 sed 's/^/| /' conftest.$ac_ext >&5
13340
13341 ac_cv_lib_cExt_drand48=no
13342 fi
13343 rm -f conftest.err conftest.$ac_objext \
13344 conftest$ac_exeext conftest.$ac_ext
13345 LIBS=$ac_check_lib_save_LIBS
13346 fi
13347 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
13348 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
13349 if test $ac_cv_lib_cExt_drand48 = yes; then
13350 LIBS="$LIBS -lcExt"
13351 fi
13352
13353 else
13354 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
13355 fi
13356 echo "$as_me:$LINENO: checking for gcc version" >&5
13357 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
13358 if test "${wx_cv_gccversion+set}" = set; then
13359 echo $ECHO_N "(cached) $ECHO_C" >&6
13360 else
13361
13362 if test "$cross_compiling" = yes; then
13363 wx_cv_gccversion="EMX2"
13364
13365 else
13366 cat >conftest.$ac_ext <<_ACEOF
13367 /* confdefs.h. */
13368 _ACEOF
13369 cat confdefs.h >>conftest.$ac_ext
13370 cat >>conftest.$ac_ext <<_ACEOF
13371 /* end confdefs.h. */
13372
13373 #include <stdio.h>
13374
13375 int main()
13376 {
13377 FILE *f=fopen("conftestval", "w");
13378 if (!f) exit(1);
13379 fprintf(f,
13380 #if (__GNUC__ < 3)
13381 "EMX2"
13382 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
13383 "EMX3"
13384 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
13385 "Innotek5"
13386 #else
13387 "Innotek6"
13388 #endif
13389 );
13390 exit(0);
13391 }
13392
13393 _ACEOF
13394 rm -f conftest$ac_exeext
13395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13396 (eval $ac_link) 2>&5
13397 ac_status=$?
13398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13399 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13401 (eval $ac_try) 2>&5
13402 ac_status=$?
13403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13404 (exit $ac_status); }; }; then
13405 wx_cv_gccversion=`cat conftestval`
13406 else
13407 echo "$as_me: program exited with status $ac_status" >&5
13408 echo "$as_me: failed program was:" >&5
13409 sed 's/^/| /' conftest.$ac_ext >&5
13410
13411 ( exit $ac_status )
13412 wx_cv_gccversion="EMX2"
13413 fi
13414 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13415 fi
13416
13417 fi
13418 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
13419 echo "${ECHO_T}$wx_cv_gccversion" >&6
13420 if test "$wx_cv_gccversion" = "EMX2"; then
13421 LIBS="$LIBS -lstdcpp"
13422 LDFLAGS="$LDFLAGS -Zsysv-signals"
13423 else
13424 if test "$wx_cv_gccversion" = "EMX3"; then
13425 LIBS="$LIBS -lstdcxx"
13426 LDFLAGS="$LDFLAGS -Zsysv-signals"
13427 else
13428 LIBS="$LIBS -lstdc++"
13429 fi
13430 fi
13431 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
13432 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
13433 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
13434 wxUSE_OMF=yes
13435 enable_omf=yes
13436 fi
13437 if test "$wxUSE_OMF" = "yes"; then
13438 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK -Zlinker /PMTYPE:PM"
13439 fi
13440 ;;
13441 *)
13442
13443
13444
13445 ac_ext=cc
13446 ac_cpp='$CXXCPP $CPPFLAGS'
13447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13450
13451
13452 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
13453 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
13454 if test "${ac_cv_string_strcasecmp+set}" = set; then
13455 echo $ECHO_N "(cached) $ECHO_C" >&6
13456 else
13457
13458 cat >conftest.$ac_ext <<_ACEOF
13459 /* confdefs.h. */
13460 _ACEOF
13461 cat confdefs.h >>conftest.$ac_ext
13462 cat >>conftest.$ac_ext <<_ACEOF
13463 /* end confdefs.h. */
13464
13465 #include <string.h>
13466
13467 int
13468 main ()
13469 {
13470
13471 strcasecmp("foo", "bar");
13472
13473 ;
13474 return 0;
13475 }
13476 _ACEOF
13477 rm -f conftest.$ac_objext conftest$ac_exeext
13478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13479 (eval $ac_link) 2>conftest.er1
13480 ac_status=$?
13481 grep -v '^ *+' conftest.er1 >conftest.err
13482 rm -f conftest.er1
13483 cat conftest.err >&5
13484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13485 (exit $ac_status); } &&
13486 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13488 (eval $ac_try) 2>&5
13489 ac_status=$?
13490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13491 (exit $ac_status); }; } &&
13492 { ac_try='test -s conftest$ac_exeext'
13493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13494 (eval $ac_try) 2>&5
13495 ac_status=$?
13496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13497 (exit $ac_status); }; }; then
13498 ac_cv_string_strcasecmp=yes
13499 else
13500 echo "$as_me: failed program was:" >&5
13501 sed 's/^/| /' conftest.$ac_ext >&5
13502
13503 ac_cv_string_strcasecmp=no
13504
13505 fi
13506 rm -f conftest.err conftest.$ac_objext \
13507 conftest$ac_exeext conftest.$ac_ext
13508
13509 fi
13510 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
13511 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
13512
13513 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
13514 cat >>confdefs.h <<\_ACEOF
13515 #define HAVE_STRCASECMP_IN_STRING_H 1
13516 _ACEOF
13517
13518 else
13519 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
13520 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
13521 if test "${ac_cv_strings_strcasecmp+set}" = set; then
13522 echo $ECHO_N "(cached) $ECHO_C" >&6
13523 else
13524
13525 cat >conftest.$ac_ext <<_ACEOF
13526 /* confdefs.h. */
13527 _ACEOF
13528 cat confdefs.h >>conftest.$ac_ext
13529 cat >>conftest.$ac_ext <<_ACEOF
13530 /* end confdefs.h. */
13531
13532 #include <strings.h>
13533
13534 int
13535 main ()
13536 {
13537
13538 strcasecmp("foo", "bar");
13539
13540 ;
13541 return 0;
13542 }
13543 _ACEOF
13544 rm -f conftest.$ac_objext conftest$ac_exeext
13545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13546 (eval $ac_link) 2>conftest.er1
13547 ac_status=$?
13548 grep -v '^ *+' conftest.er1 >conftest.err
13549 rm -f conftest.er1
13550 cat conftest.err >&5
13551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13552 (exit $ac_status); } &&
13553 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13555 (eval $ac_try) 2>&5
13556 ac_status=$?
13557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13558 (exit $ac_status); }; } &&
13559 { ac_try='test -s conftest$ac_exeext'
13560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13561 (eval $ac_try) 2>&5
13562 ac_status=$?
13563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13564 (exit $ac_status); }; }; then
13565 ac_cv_strings_strcasecmp=yes
13566 else
13567 echo "$as_me: failed program was:" >&5
13568 sed 's/^/| /' conftest.$ac_ext >&5
13569
13570 ac_cv_strings_strcasecmp=no
13571
13572 fi
13573 rm -f conftest.err conftest.$ac_objext \
13574 conftest$ac_exeext conftest.$ac_ext
13575
13576 fi
13577 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
13578 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
13579
13580 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
13581 cat >>confdefs.h <<\_ACEOF
13582 #define HAVE_STRCASECMP_IN_STRINGS_H 1
13583 _ACEOF
13584
13585 else
13586 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
13587 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
13588 { (exit 1); exit 1; }; }
13589 fi
13590 fi
13591
13592 ac_ext=c
13593 ac_cpp='$CPP $CPPFLAGS'
13594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13597
13598 ;;
13599 esac
13600
13601
13602 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
13603 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
13604 if test "${ac_cv_header_stdc+set}" = set; then
13605 echo $ECHO_N "(cached) $ECHO_C" >&6
13606 else
13607 cat >conftest.$ac_ext <<_ACEOF
13608 /* confdefs.h. */
13609 _ACEOF
13610 cat confdefs.h >>conftest.$ac_ext
13611 cat >>conftest.$ac_ext <<_ACEOF
13612 /* end confdefs.h. */
13613 #include <stdlib.h>
13614 #include <stdarg.h>
13615 #include <string.h>
13616 #include <float.h>
13617
13618 int
13619 main ()
13620 {
13621
13622 ;
13623 return 0;
13624 }
13625 _ACEOF
13626 rm -f conftest.$ac_objext
13627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13628 (eval $ac_compile) 2>conftest.er1
13629 ac_status=$?
13630 grep -v '^ *+' conftest.er1 >conftest.err
13631 rm -f conftest.er1
13632 cat conftest.err >&5
13633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13634 (exit $ac_status); } &&
13635 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13637 (eval $ac_try) 2>&5
13638 ac_status=$?
13639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13640 (exit $ac_status); }; } &&
13641 { ac_try='test -s conftest.$ac_objext'
13642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13643 (eval $ac_try) 2>&5
13644 ac_status=$?
13645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13646 (exit $ac_status); }; }; then
13647 ac_cv_header_stdc=yes
13648 else
13649 echo "$as_me: failed program was:" >&5
13650 sed 's/^/| /' conftest.$ac_ext >&5
13651
13652 ac_cv_header_stdc=no
13653 fi
13654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13655
13656 if test $ac_cv_header_stdc = yes; then
13657 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13658 cat >conftest.$ac_ext <<_ACEOF
13659 /* confdefs.h. */
13660 _ACEOF
13661 cat confdefs.h >>conftest.$ac_ext
13662 cat >>conftest.$ac_ext <<_ACEOF
13663 /* end confdefs.h. */
13664 #include <string.h>
13665
13666 _ACEOF
13667 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13668 $EGREP "memchr" >/dev/null 2>&1; then
13669 :
13670 else
13671 ac_cv_header_stdc=no
13672 fi
13673 rm -f conftest*
13674
13675 fi
13676
13677 if test $ac_cv_header_stdc = yes; then
13678 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13679 cat >conftest.$ac_ext <<_ACEOF
13680 /* confdefs.h. */
13681 _ACEOF
13682 cat confdefs.h >>conftest.$ac_ext
13683 cat >>conftest.$ac_ext <<_ACEOF
13684 /* end confdefs.h. */
13685 #include <stdlib.h>
13686
13687 _ACEOF
13688 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13689 $EGREP "free" >/dev/null 2>&1; then
13690 :
13691 else
13692 ac_cv_header_stdc=no
13693 fi
13694 rm -f conftest*
13695
13696 fi
13697
13698 if test $ac_cv_header_stdc = yes; then
13699 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13700 if test "$cross_compiling" = yes; then
13701 :
13702 else
13703 cat >conftest.$ac_ext <<_ACEOF
13704 /* confdefs.h. */
13705 _ACEOF
13706 cat confdefs.h >>conftest.$ac_ext
13707 cat >>conftest.$ac_ext <<_ACEOF
13708 /* end confdefs.h. */
13709 #include <ctype.h>
13710 #if ((' ' & 0x0FF) == 0x020)
13711 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13712 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13713 #else
13714 # define ISLOWER(c) \
13715 (('a' <= (c) && (c) <= 'i') \
13716 || ('j' <= (c) && (c) <= 'r') \
13717 || ('s' <= (c) && (c) <= 'z'))
13718 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13719 #endif
13720
13721 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13722 int
13723 main ()
13724 {
13725 int i;
13726 for (i = 0; i < 256; i++)
13727 if (XOR (islower (i), ISLOWER (i))
13728 || toupper (i) != TOUPPER (i))
13729 exit(2);
13730 exit (0);
13731 }
13732 _ACEOF
13733 rm -f conftest$ac_exeext
13734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13735 (eval $ac_link) 2>&5
13736 ac_status=$?
13737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13738 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13740 (eval $ac_try) 2>&5
13741 ac_status=$?
13742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13743 (exit $ac_status); }; }; then
13744 :
13745 else
13746 echo "$as_me: program exited with status $ac_status" >&5
13747 echo "$as_me: failed program was:" >&5
13748 sed 's/^/| /' conftest.$ac_ext >&5
13749
13750 ( exit $ac_status )
13751 ac_cv_header_stdc=no
13752 fi
13753 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13754 fi
13755 fi
13756 fi
13757 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
13758 echo "${ECHO_T}$ac_cv_header_stdc" >&6
13759 if test $ac_cv_header_stdc = yes; then
13760
13761 cat >>confdefs.h <<\_ACEOF
13762 #define STDC_HEADERS 1
13763 _ACEOF
13764
13765 fi
13766
13767 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
13768
13769
13770
13771
13772
13773
13774
13775
13776
13777 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
13778 inttypes.h stdint.h unistd.h
13779 do
13780 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13781 echo "$as_me:$LINENO: checking for $ac_header" >&5
13782 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13783 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13784 echo $ECHO_N "(cached) $ECHO_C" >&6
13785 else
13786 cat >conftest.$ac_ext <<_ACEOF
13787 /* confdefs.h. */
13788 _ACEOF
13789 cat confdefs.h >>conftest.$ac_ext
13790 cat >>conftest.$ac_ext <<_ACEOF
13791 /* end confdefs.h. */
13792 $ac_includes_default
13793
13794 #include <$ac_header>
13795 _ACEOF
13796 rm -f conftest.$ac_objext
13797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13798 (eval $ac_compile) 2>conftest.er1
13799 ac_status=$?
13800 grep -v '^ *+' conftest.er1 >conftest.err
13801 rm -f conftest.er1
13802 cat conftest.err >&5
13803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13804 (exit $ac_status); } &&
13805 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13807 (eval $ac_try) 2>&5
13808 ac_status=$?
13809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13810 (exit $ac_status); }; } &&
13811 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
13817 eval "$as_ac_Header=yes"
13818 else
13819 echo "$as_me: failed program was:" >&5
13820 sed 's/^/| /' conftest.$ac_ext >&5
13821
13822 eval "$as_ac_Header=no"
13823 fi
13824 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13825 fi
13826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13827 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13828 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13829 cat >>confdefs.h <<_ACEOF
13830 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13831 _ACEOF
13832
13833 fi
13834
13835 done
13836
13837
13838
13839 for ac_header in stdlib.h
13840 do
13841 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13842 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13843 echo "$as_me:$LINENO: checking for $ac_header" >&5
13844 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13845 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13846 echo $ECHO_N "(cached) $ECHO_C" >&6
13847 fi
13848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13849 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13850 else
13851 # Is the header compilable?
13852 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13853 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13854 cat >conftest.$ac_ext <<_ACEOF
13855 /* confdefs.h. */
13856 _ACEOF
13857 cat confdefs.h >>conftest.$ac_ext
13858 cat >>conftest.$ac_ext <<_ACEOF
13859 /* end confdefs.h. */
13860 $ac_includes_default
13861 #include <$ac_header>
13862 _ACEOF
13863 rm -f conftest.$ac_objext
13864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13865 (eval $ac_compile) 2>conftest.er1
13866 ac_status=$?
13867 grep -v '^ *+' conftest.er1 >conftest.err
13868 rm -f conftest.er1
13869 cat conftest.err >&5
13870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13871 (exit $ac_status); } &&
13872 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13874 (eval $ac_try) 2>&5
13875 ac_status=$?
13876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13877 (exit $ac_status); }; } &&
13878 { ac_try='test -s conftest.$ac_objext'
13879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13880 (eval $ac_try) 2>&5
13881 ac_status=$?
13882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13883 (exit $ac_status); }; }; then
13884 ac_header_compiler=yes
13885 else
13886 echo "$as_me: failed program was:" >&5
13887 sed 's/^/| /' conftest.$ac_ext >&5
13888
13889 ac_header_compiler=no
13890 fi
13891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13892 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13893 echo "${ECHO_T}$ac_header_compiler" >&6
13894
13895 # Is the header present?
13896 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13897 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13898 cat >conftest.$ac_ext <<_ACEOF
13899 /* confdefs.h. */
13900 _ACEOF
13901 cat confdefs.h >>conftest.$ac_ext
13902 cat >>conftest.$ac_ext <<_ACEOF
13903 /* end confdefs.h. */
13904 #include <$ac_header>
13905 _ACEOF
13906 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13907 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13908 ac_status=$?
13909 grep -v '^ *+' conftest.er1 >conftest.err
13910 rm -f conftest.er1
13911 cat conftest.err >&5
13912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13913 (exit $ac_status); } >/dev/null; then
13914 if test -s conftest.err; then
13915 ac_cpp_err=$ac_c_preproc_warn_flag
13916 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13917 else
13918 ac_cpp_err=
13919 fi
13920 else
13921 ac_cpp_err=yes
13922 fi
13923 if test -z "$ac_cpp_err"; then
13924 ac_header_preproc=yes
13925 else
13926 echo "$as_me: failed program was:" >&5
13927 sed 's/^/| /' conftest.$ac_ext >&5
13928
13929 ac_header_preproc=no
13930 fi
13931 rm -f conftest.err conftest.$ac_ext
13932 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13933 echo "${ECHO_T}$ac_header_preproc" >&6
13934
13935 # So? What about this header?
13936 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13937 yes:no: )
13938 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13939 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13940 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13941 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13942 ac_header_preproc=yes
13943 ;;
13944 no:yes:* )
13945 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13946 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13947 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13948 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13949 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13950 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13951 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13952 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13953 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13954 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13955 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13956 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13957 (
13958 cat <<\_ASBOX
13959 ## ----------------------------------------- ##
13960 ## Report this to wx-dev@lists.wxwidgets.org ##
13961 ## ----------------------------------------- ##
13962 _ASBOX
13963 ) |
13964 sed "s/^/$as_me: WARNING: /" >&2
13965 ;;
13966 esac
13967 echo "$as_me:$LINENO: checking for $ac_header" >&5
13968 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13969 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13970 echo $ECHO_N "(cached) $ECHO_C" >&6
13971 else
13972 eval "$as_ac_Header=\$ac_header_preproc"
13973 fi
13974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13975 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13976
13977 fi
13978 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13979 cat >>confdefs.h <<_ACEOF
13980 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13981 _ACEOF
13982
13983 fi
13984
13985 done
13986
13987
13988 for ac_header in malloc.h
13989 do
13990 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13991 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13992 echo "$as_me:$LINENO: checking for $ac_header" >&5
13993 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13994 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13995 echo $ECHO_N "(cached) $ECHO_C" >&6
13996 fi
13997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13998 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13999 else
14000 # Is the header compilable?
14001 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14002 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14003 cat >conftest.$ac_ext <<_ACEOF
14004 /* confdefs.h. */
14005 _ACEOF
14006 cat confdefs.h >>conftest.$ac_ext
14007 cat >>conftest.$ac_ext <<_ACEOF
14008 /* end confdefs.h. */
14009 $ac_includes_default
14010 #include <$ac_header>
14011 _ACEOF
14012 rm -f conftest.$ac_objext
14013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14014 (eval $ac_compile) 2>conftest.er1
14015 ac_status=$?
14016 grep -v '^ *+' conftest.er1 >conftest.err
14017 rm -f conftest.er1
14018 cat conftest.err >&5
14019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14020 (exit $ac_status); } &&
14021 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14023 (eval $ac_try) 2>&5
14024 ac_status=$?
14025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14026 (exit $ac_status); }; } &&
14027 { ac_try='test -s conftest.$ac_objext'
14028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14029 (eval $ac_try) 2>&5
14030 ac_status=$?
14031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14032 (exit $ac_status); }; }; then
14033 ac_header_compiler=yes
14034 else
14035 echo "$as_me: failed program was:" >&5
14036 sed 's/^/| /' conftest.$ac_ext >&5
14037
14038 ac_header_compiler=no
14039 fi
14040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14041 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14042 echo "${ECHO_T}$ac_header_compiler" >&6
14043
14044 # Is the header present?
14045 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14046 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14047 cat >conftest.$ac_ext <<_ACEOF
14048 /* confdefs.h. */
14049 _ACEOF
14050 cat confdefs.h >>conftest.$ac_ext
14051 cat >>conftest.$ac_ext <<_ACEOF
14052 /* end confdefs.h. */
14053 #include <$ac_header>
14054 _ACEOF
14055 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14056 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14057 ac_status=$?
14058 grep -v '^ *+' conftest.er1 >conftest.err
14059 rm -f conftest.er1
14060 cat conftest.err >&5
14061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14062 (exit $ac_status); } >/dev/null; then
14063 if test -s conftest.err; then
14064 ac_cpp_err=$ac_c_preproc_warn_flag
14065 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14066 else
14067 ac_cpp_err=
14068 fi
14069 else
14070 ac_cpp_err=yes
14071 fi
14072 if test -z "$ac_cpp_err"; then
14073 ac_header_preproc=yes
14074 else
14075 echo "$as_me: failed program was:" >&5
14076 sed 's/^/| /' conftest.$ac_ext >&5
14077
14078 ac_header_preproc=no
14079 fi
14080 rm -f conftest.err conftest.$ac_ext
14081 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14082 echo "${ECHO_T}$ac_header_preproc" >&6
14083
14084 # So? What about this header?
14085 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14086 yes:no: )
14087 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14088 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14089 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14090 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14091 ac_header_preproc=yes
14092 ;;
14093 no:yes:* )
14094 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14095 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14096 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14097 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14098 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14099 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14100 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14101 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14102 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14103 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14104 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14105 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14106 (
14107 cat <<\_ASBOX
14108 ## ----------------------------------------- ##
14109 ## Report this to wx-dev@lists.wxwidgets.org ##
14110 ## ----------------------------------------- ##
14111 _ASBOX
14112 ) |
14113 sed "s/^/$as_me: WARNING: /" >&2
14114 ;;
14115 esac
14116 echo "$as_me:$LINENO: checking for $ac_header" >&5
14117 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14118 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14119 echo $ECHO_N "(cached) $ECHO_C" >&6
14120 else
14121 eval "$as_ac_Header=\$ac_header_preproc"
14122 fi
14123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14124 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14125
14126 fi
14127 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14128 cat >>confdefs.h <<_ACEOF
14129 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14130 _ACEOF
14131
14132 fi
14133
14134 done
14135
14136
14137 for ac_header in unistd.h
14138 do
14139 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14140 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14141 echo "$as_me:$LINENO: checking for $ac_header" >&5
14142 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14143 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14144 echo $ECHO_N "(cached) $ECHO_C" >&6
14145 fi
14146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14147 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14148 else
14149 # Is the header compilable?
14150 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14151 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14152 cat >conftest.$ac_ext <<_ACEOF
14153 /* confdefs.h. */
14154 _ACEOF
14155 cat confdefs.h >>conftest.$ac_ext
14156 cat >>conftest.$ac_ext <<_ACEOF
14157 /* end confdefs.h. */
14158 $ac_includes_default
14159 #include <$ac_header>
14160 _ACEOF
14161 rm -f conftest.$ac_objext
14162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14163 (eval $ac_compile) 2>conftest.er1
14164 ac_status=$?
14165 grep -v '^ *+' conftest.er1 >conftest.err
14166 rm -f conftest.er1
14167 cat conftest.err >&5
14168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14169 (exit $ac_status); } &&
14170 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14172 (eval $ac_try) 2>&5
14173 ac_status=$?
14174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14175 (exit $ac_status); }; } &&
14176 { ac_try='test -s conftest.$ac_objext'
14177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14178 (eval $ac_try) 2>&5
14179 ac_status=$?
14180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14181 (exit $ac_status); }; }; then
14182 ac_header_compiler=yes
14183 else
14184 echo "$as_me: failed program was:" >&5
14185 sed 's/^/| /' conftest.$ac_ext >&5
14186
14187 ac_header_compiler=no
14188 fi
14189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14190 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14191 echo "${ECHO_T}$ac_header_compiler" >&6
14192
14193 # Is the header present?
14194 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14195 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14196 cat >conftest.$ac_ext <<_ACEOF
14197 /* confdefs.h. */
14198 _ACEOF
14199 cat confdefs.h >>conftest.$ac_ext
14200 cat >>conftest.$ac_ext <<_ACEOF
14201 /* end confdefs.h. */
14202 #include <$ac_header>
14203 _ACEOF
14204 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14205 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14206 ac_status=$?
14207 grep -v '^ *+' conftest.er1 >conftest.err
14208 rm -f conftest.er1
14209 cat conftest.err >&5
14210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14211 (exit $ac_status); } >/dev/null; then
14212 if test -s conftest.err; then
14213 ac_cpp_err=$ac_c_preproc_warn_flag
14214 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14215 else
14216 ac_cpp_err=
14217 fi
14218 else
14219 ac_cpp_err=yes
14220 fi
14221 if test -z "$ac_cpp_err"; then
14222 ac_header_preproc=yes
14223 else
14224 echo "$as_me: failed program was:" >&5
14225 sed 's/^/| /' conftest.$ac_ext >&5
14226
14227 ac_header_preproc=no
14228 fi
14229 rm -f conftest.err conftest.$ac_ext
14230 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14231 echo "${ECHO_T}$ac_header_preproc" >&6
14232
14233 # So? What about this header?
14234 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14235 yes:no: )
14236 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14237 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14238 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14239 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14240 ac_header_preproc=yes
14241 ;;
14242 no:yes:* )
14243 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14244 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14245 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14246 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14247 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14248 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14249 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14250 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14251 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14252 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14253 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14254 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14255 (
14256 cat <<\_ASBOX
14257 ## ----------------------------------------- ##
14258 ## Report this to wx-dev@lists.wxwidgets.org ##
14259 ## ----------------------------------------- ##
14260 _ASBOX
14261 ) |
14262 sed "s/^/$as_me: WARNING: /" >&2
14263 ;;
14264 esac
14265 echo "$as_me:$LINENO: checking for $ac_header" >&5
14266 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14267 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14268 echo $ECHO_N "(cached) $ECHO_C" >&6
14269 else
14270 eval "$as_ac_Header=\$ac_header_preproc"
14271 fi
14272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14273 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14274
14275 fi
14276 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14277 cat >>confdefs.h <<_ACEOF
14278 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14279 _ACEOF
14280
14281 fi
14282
14283 done
14284
14285
14286 for ac_header in wchar.h
14287 do
14288 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14289 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14290 echo "$as_me:$LINENO: checking for $ac_header" >&5
14291 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14292 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14293 echo $ECHO_N "(cached) $ECHO_C" >&6
14294 fi
14295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14296 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14297 else
14298 # Is the header compilable?
14299 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14300 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14301 cat >conftest.$ac_ext <<_ACEOF
14302 /* confdefs.h. */
14303 _ACEOF
14304 cat confdefs.h >>conftest.$ac_ext
14305 cat >>conftest.$ac_ext <<_ACEOF
14306 /* end confdefs.h. */
14307 $ac_includes_default
14308 #include <$ac_header>
14309 _ACEOF
14310 rm -f conftest.$ac_objext
14311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14312 (eval $ac_compile) 2>conftest.er1
14313 ac_status=$?
14314 grep -v '^ *+' conftest.er1 >conftest.err
14315 rm -f conftest.er1
14316 cat conftest.err >&5
14317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14318 (exit $ac_status); } &&
14319 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14321 (eval $ac_try) 2>&5
14322 ac_status=$?
14323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14324 (exit $ac_status); }; } &&
14325 { ac_try='test -s conftest.$ac_objext'
14326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14327 (eval $ac_try) 2>&5
14328 ac_status=$?
14329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14330 (exit $ac_status); }; }; then
14331 ac_header_compiler=yes
14332 else
14333 echo "$as_me: failed program was:" >&5
14334 sed 's/^/| /' conftest.$ac_ext >&5
14335
14336 ac_header_compiler=no
14337 fi
14338 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14339 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14340 echo "${ECHO_T}$ac_header_compiler" >&6
14341
14342 # Is the header present?
14343 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14344 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14345 cat >conftest.$ac_ext <<_ACEOF
14346 /* confdefs.h. */
14347 _ACEOF
14348 cat confdefs.h >>conftest.$ac_ext
14349 cat >>conftest.$ac_ext <<_ACEOF
14350 /* end confdefs.h. */
14351 #include <$ac_header>
14352 _ACEOF
14353 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14354 (eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then
14361 if test -s conftest.err; then
14362 ac_cpp_err=$ac_c_preproc_warn_flag
14363 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14364 else
14365 ac_cpp_err=
14366 fi
14367 else
14368 ac_cpp_err=yes
14369 fi
14370 if test -z "$ac_cpp_err"; then
14371 ac_header_preproc=yes
14372 else
14373 echo "$as_me: failed program was:" >&5
14374 sed 's/^/| /' conftest.$ac_ext >&5
14375
14376 ac_header_preproc=no
14377 fi
14378 rm -f conftest.err conftest.$ac_ext
14379 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14380 echo "${ECHO_T}$ac_header_preproc" >&6
14381
14382 # So? What about this header?
14383 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14384 yes:no: )
14385 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14386 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14387 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14388 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14389 ac_header_preproc=yes
14390 ;;
14391 no:yes:* )
14392 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14393 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14394 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14395 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14396 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14397 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14398 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14399 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14400 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14401 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14402 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14403 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14404 (
14405 cat <<\_ASBOX
14406 ## ----------------------------------------- ##
14407 ## Report this to wx-dev@lists.wxwidgets.org ##
14408 ## ----------------------------------------- ##
14409 _ASBOX
14410 ) |
14411 sed "s/^/$as_me: WARNING: /" >&2
14412 ;;
14413 esac
14414 echo "$as_me:$LINENO: checking for $ac_header" >&5
14415 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14416 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14417 echo $ECHO_N "(cached) $ECHO_C" >&6
14418 else
14419 eval "$as_ac_Header=\$ac_header_preproc"
14420 fi
14421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14422 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14423
14424 fi
14425 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14426 cat >>confdefs.h <<_ACEOF
14427 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14428 _ACEOF
14429
14430 fi
14431
14432 done
14433
14434
14435 if test "$ac_cv_header_wchar_h" != "yes"; then
14436
14437 for ac_header in wcstr.h
14438 do
14439 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14440 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14441 echo "$as_me:$LINENO: checking for $ac_header" >&5
14442 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14443 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14444 echo $ECHO_N "(cached) $ECHO_C" >&6
14445 fi
14446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14447 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14448 else
14449 # Is the header compilable?
14450 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14451 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14452 cat >conftest.$ac_ext <<_ACEOF
14453 /* confdefs.h. */
14454 _ACEOF
14455 cat confdefs.h >>conftest.$ac_ext
14456 cat >>conftest.$ac_ext <<_ACEOF
14457 /* end confdefs.h. */
14458 $ac_includes_default
14459 #include <$ac_header>
14460 _ACEOF
14461 rm -f conftest.$ac_objext
14462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14463 (eval $ac_compile) 2>conftest.er1
14464 ac_status=$?
14465 grep -v '^ *+' conftest.er1 >conftest.err
14466 rm -f conftest.er1
14467 cat conftest.err >&5
14468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14469 (exit $ac_status); } &&
14470 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14472 (eval $ac_try) 2>&5
14473 ac_status=$?
14474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14475 (exit $ac_status); }; } &&
14476 { ac_try='test -s conftest.$ac_objext'
14477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14478 (eval $ac_try) 2>&5
14479 ac_status=$?
14480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14481 (exit $ac_status); }; }; then
14482 ac_header_compiler=yes
14483 else
14484 echo "$as_me: failed program was:" >&5
14485 sed 's/^/| /' conftest.$ac_ext >&5
14486
14487 ac_header_compiler=no
14488 fi
14489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14490 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14491 echo "${ECHO_T}$ac_header_compiler" >&6
14492
14493 # Is the header present?
14494 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14495 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14496 cat >conftest.$ac_ext <<_ACEOF
14497 /* confdefs.h. */
14498 _ACEOF
14499 cat confdefs.h >>conftest.$ac_ext
14500 cat >>conftest.$ac_ext <<_ACEOF
14501 /* end confdefs.h. */
14502 #include <$ac_header>
14503 _ACEOF
14504 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14505 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14506 ac_status=$?
14507 grep -v '^ *+' conftest.er1 >conftest.err
14508 rm -f conftest.er1
14509 cat conftest.err >&5
14510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14511 (exit $ac_status); } >/dev/null; then
14512 if test -s conftest.err; then
14513 ac_cpp_err=$ac_c_preproc_warn_flag
14514 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14515 else
14516 ac_cpp_err=
14517 fi
14518 else
14519 ac_cpp_err=yes
14520 fi
14521 if test -z "$ac_cpp_err"; then
14522 ac_header_preproc=yes
14523 else
14524 echo "$as_me: failed program was:" >&5
14525 sed 's/^/| /' conftest.$ac_ext >&5
14526
14527 ac_header_preproc=no
14528 fi
14529 rm -f conftest.err conftest.$ac_ext
14530 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14531 echo "${ECHO_T}$ac_header_preproc" >&6
14532
14533 # So? What about this header?
14534 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14535 yes:no: )
14536 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14537 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14538 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14539 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14540 ac_header_preproc=yes
14541 ;;
14542 no:yes:* )
14543 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14544 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14545 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14546 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14547 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14548 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14549 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14550 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14551 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14552 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14553 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14554 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14555 (
14556 cat <<\_ASBOX
14557 ## ----------------------------------------- ##
14558 ## Report this to wx-dev@lists.wxwidgets.org ##
14559 ## ----------------------------------------- ##
14560 _ASBOX
14561 ) |
14562 sed "s/^/$as_me: WARNING: /" >&2
14563 ;;
14564 esac
14565 echo "$as_me:$LINENO: checking for $ac_header" >&5
14566 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14567 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14568 echo $ECHO_N "(cached) $ECHO_C" >&6
14569 else
14570 eval "$as_ac_Header=\$ac_header_preproc"
14571 fi
14572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14573 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14574
14575 fi
14576 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14577 cat >>confdefs.h <<_ACEOF
14578 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14579 _ACEOF
14580
14581 fi
14582
14583 done
14584
14585 fi
14586
14587
14588 for ac_header in fnmatch.h
14589 do
14590 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14591 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14592 echo "$as_me:$LINENO: checking for $ac_header" >&5
14593 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14594 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14595 echo $ECHO_N "(cached) $ECHO_C" >&6
14596 fi
14597 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14598 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14599 else
14600 # Is the header compilable?
14601 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14602 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14603 cat >conftest.$ac_ext <<_ACEOF
14604 /* confdefs.h. */
14605 _ACEOF
14606 cat confdefs.h >>conftest.$ac_ext
14607 cat >>conftest.$ac_ext <<_ACEOF
14608 /* end confdefs.h. */
14609 $ac_includes_default
14610 #include <$ac_header>
14611 _ACEOF
14612 rm -f conftest.$ac_objext
14613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14614 (eval $ac_compile) 2>conftest.er1
14615 ac_status=$?
14616 grep -v '^ *+' conftest.er1 >conftest.err
14617 rm -f conftest.er1
14618 cat conftest.err >&5
14619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14620 (exit $ac_status); } &&
14621 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14623 (eval $ac_try) 2>&5
14624 ac_status=$?
14625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14626 (exit $ac_status); }; } &&
14627 { ac_try='test -s conftest.$ac_objext'
14628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14629 (eval $ac_try) 2>&5
14630 ac_status=$?
14631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14632 (exit $ac_status); }; }; then
14633 ac_header_compiler=yes
14634 else
14635 echo "$as_me: failed program was:" >&5
14636 sed 's/^/| /' conftest.$ac_ext >&5
14637
14638 ac_header_compiler=no
14639 fi
14640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14641 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14642 echo "${ECHO_T}$ac_header_compiler" >&6
14643
14644 # Is the header present?
14645 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14646 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14647 cat >conftest.$ac_ext <<_ACEOF
14648 /* confdefs.h. */
14649 _ACEOF
14650 cat confdefs.h >>conftest.$ac_ext
14651 cat >>conftest.$ac_ext <<_ACEOF
14652 /* end confdefs.h. */
14653 #include <$ac_header>
14654 _ACEOF
14655 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14656 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14657 ac_status=$?
14658 grep -v '^ *+' conftest.er1 >conftest.err
14659 rm -f conftest.er1
14660 cat conftest.err >&5
14661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14662 (exit $ac_status); } >/dev/null; then
14663 if test -s conftest.err; then
14664 ac_cpp_err=$ac_c_preproc_warn_flag
14665 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14666 else
14667 ac_cpp_err=
14668 fi
14669 else
14670 ac_cpp_err=yes
14671 fi
14672 if test -z "$ac_cpp_err"; then
14673 ac_header_preproc=yes
14674 else
14675 echo "$as_me: failed program was:" >&5
14676 sed 's/^/| /' conftest.$ac_ext >&5
14677
14678 ac_header_preproc=no
14679 fi
14680 rm -f conftest.err conftest.$ac_ext
14681 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14682 echo "${ECHO_T}$ac_header_preproc" >&6
14683
14684 # So? What about this header?
14685 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14686 yes:no: )
14687 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14688 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14689 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14690 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14691 ac_header_preproc=yes
14692 ;;
14693 no:yes:* )
14694 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14695 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14696 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14697 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14698 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14699 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14700 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14701 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14702 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14703 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14704 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14705 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14706 (
14707 cat <<\_ASBOX
14708 ## ----------------------------------------- ##
14709 ## Report this to wx-dev@lists.wxwidgets.org ##
14710 ## ----------------------------------------- ##
14711 _ASBOX
14712 ) |
14713 sed "s/^/$as_me: WARNING: /" >&2
14714 ;;
14715 esac
14716 echo "$as_me:$LINENO: checking for $ac_header" >&5
14717 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14718 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14719 echo $ECHO_N "(cached) $ECHO_C" >&6
14720 else
14721 eval "$as_ac_Header=\$ac_header_preproc"
14722 fi
14723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14724 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14725
14726 fi
14727 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14728 cat >>confdefs.h <<_ACEOF
14729 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14730 _ACEOF
14731
14732 fi
14733
14734 done
14735
14736
14737 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
14738
14739 for ac_func in fnmatch
14740 do
14741 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14742 echo "$as_me:$LINENO: checking for $ac_func" >&5
14743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14744 if eval "test \"\${$as_ac_var+set}\" = set"; then
14745 echo $ECHO_N "(cached) $ECHO_C" >&6
14746 else
14747 cat >conftest.$ac_ext <<_ACEOF
14748 /* confdefs.h. */
14749 _ACEOF
14750 cat confdefs.h >>conftest.$ac_ext
14751 cat >>conftest.$ac_ext <<_ACEOF
14752 /* end confdefs.h. */
14753 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14754 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14755 #define $ac_func innocuous_$ac_func
14756
14757 /* System header to define __stub macros and hopefully few prototypes,
14758 which can conflict with char $ac_func (); below.
14759 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14760 <limits.h> exists even on freestanding compilers. */
14761
14762 #ifdef __STDC__
14763 # include <limits.h>
14764 #else
14765 # include <assert.h>
14766 #endif
14767
14768 #undef $ac_func
14769
14770 /* Override any gcc2 internal prototype to avoid an error. */
14771 #ifdef __cplusplus
14772 extern "C"
14773 {
14774 #endif
14775 /* We use char because int might match the return type of a gcc2
14776 builtin and then its argument prototype would still apply. */
14777 char $ac_func ();
14778 /* The GNU C library defines this for functions which it implements
14779 to always fail with ENOSYS. Some functions are actually named
14780 something starting with __ and the normal name is an alias. */
14781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14782 choke me
14783 #else
14784 char (*f) () = $ac_func;
14785 #endif
14786 #ifdef __cplusplus
14787 }
14788 #endif
14789
14790 int
14791 main ()
14792 {
14793 return f != $ac_func;
14794 ;
14795 return 0;
14796 }
14797 _ACEOF
14798 rm -f conftest.$ac_objext conftest$ac_exeext
14799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14800 (eval $ac_link) 2>conftest.er1
14801 ac_status=$?
14802 grep -v '^ *+' conftest.er1 >conftest.err
14803 rm -f conftest.er1
14804 cat conftest.err >&5
14805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14806 (exit $ac_status); } &&
14807 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14809 (eval $ac_try) 2>&5
14810 ac_status=$?
14811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14812 (exit $ac_status); }; } &&
14813 { ac_try='test -s conftest$ac_exeext'
14814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14815 (eval $ac_try) 2>&5
14816 ac_status=$?
14817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14818 (exit $ac_status); }; }; then
14819 eval "$as_ac_var=yes"
14820 else
14821 echo "$as_me: failed program was:" >&5
14822 sed 's/^/| /' conftest.$ac_ext >&5
14823
14824 eval "$as_ac_var=no"
14825 fi
14826 rm -f conftest.err conftest.$ac_objext \
14827 conftest$ac_exeext conftest.$ac_ext
14828 fi
14829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14830 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14831 if test `eval echo '${'$as_ac_var'}'` = yes; then
14832 cat >>confdefs.h <<_ACEOF
14833 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14834 _ACEOF
14835
14836 fi
14837 done
14838
14839 fi
14840
14841
14842 for ac_header in langinfo.h
14843 do
14844 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14845 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14846 echo "$as_me:$LINENO: checking for $ac_header" >&5
14847 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14848 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14849 echo $ECHO_N "(cached) $ECHO_C" >&6
14850 fi
14851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14852 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14853 else
14854 # Is the header compilable?
14855 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14856 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14857 cat >conftest.$ac_ext <<_ACEOF
14858 /* confdefs.h. */
14859 _ACEOF
14860 cat confdefs.h >>conftest.$ac_ext
14861 cat >>conftest.$ac_ext <<_ACEOF
14862 /* end confdefs.h. */
14863 $ac_includes_default
14864 #include <$ac_header>
14865 _ACEOF
14866 rm -f conftest.$ac_objext
14867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14868 (eval $ac_compile) 2>conftest.er1
14869 ac_status=$?
14870 grep -v '^ *+' conftest.er1 >conftest.err
14871 rm -f conftest.er1
14872 cat conftest.err >&5
14873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14874 (exit $ac_status); } &&
14875 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14877 (eval $ac_try) 2>&5
14878 ac_status=$?
14879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14880 (exit $ac_status); }; } &&
14881 { ac_try='test -s conftest.$ac_objext'
14882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14883 (eval $ac_try) 2>&5
14884 ac_status=$?
14885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14886 (exit $ac_status); }; }; then
14887 ac_header_compiler=yes
14888 else
14889 echo "$as_me: failed program was:" >&5
14890 sed 's/^/| /' conftest.$ac_ext >&5
14891
14892 ac_header_compiler=no
14893 fi
14894 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14895 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14896 echo "${ECHO_T}$ac_header_compiler" >&6
14897
14898 # Is the header present?
14899 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14900 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14901 cat >conftest.$ac_ext <<_ACEOF
14902 /* confdefs.h. */
14903 _ACEOF
14904 cat confdefs.h >>conftest.$ac_ext
14905 cat >>conftest.$ac_ext <<_ACEOF
14906 /* end confdefs.h. */
14907 #include <$ac_header>
14908 _ACEOF
14909 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14910 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14911 ac_status=$?
14912 grep -v '^ *+' conftest.er1 >conftest.err
14913 rm -f conftest.er1
14914 cat conftest.err >&5
14915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14916 (exit $ac_status); } >/dev/null; then
14917 if test -s conftest.err; then
14918 ac_cpp_err=$ac_c_preproc_warn_flag
14919 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14920 else
14921 ac_cpp_err=
14922 fi
14923 else
14924 ac_cpp_err=yes
14925 fi
14926 if test -z "$ac_cpp_err"; then
14927 ac_header_preproc=yes
14928 else
14929 echo "$as_me: failed program was:" >&5
14930 sed 's/^/| /' conftest.$ac_ext >&5
14931
14932 ac_header_preproc=no
14933 fi
14934 rm -f conftest.err conftest.$ac_ext
14935 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14936 echo "${ECHO_T}$ac_header_preproc" >&6
14937
14938 # So? What about this header?
14939 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14940 yes:no: )
14941 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14942 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14943 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14944 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14945 ac_header_preproc=yes
14946 ;;
14947 no:yes:* )
14948 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14949 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14950 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14951 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14952 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14953 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14954 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14955 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14956 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14957 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14958 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14959 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14960 (
14961 cat <<\_ASBOX
14962 ## ----------------------------------------- ##
14963 ## Report this to wx-dev@lists.wxwidgets.org ##
14964 ## ----------------------------------------- ##
14965 _ASBOX
14966 ) |
14967 sed "s/^/$as_me: WARNING: /" >&2
14968 ;;
14969 esac
14970 echo "$as_me:$LINENO: checking for $ac_header" >&5
14971 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14972 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14973 echo $ECHO_N "(cached) $ECHO_C" >&6
14974 else
14975 eval "$as_ac_Header=\$ac_header_preproc"
14976 fi
14977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14978 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14979
14980 fi
14981 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14982 cat >>confdefs.h <<_ACEOF
14983 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14984 _ACEOF
14985
14986 fi
14987
14988 done
14989
14990
14991 case "${host}" in
14992 *-pc-os2_emx | *-pc-os2-emx )
14993 if test $ac_cv_header_langinfo_h = "yes" \
14994 -a \( "$wx_cv_gccversion" = "EMX2" \
14995 -o "$wx_cv_gccversion" = "EMX3" \
14996 -o "$wx_cv_gccversion" = "Innotek5" \); then
14997 LIBS="$LIBS -lintl"
14998 fi
14999 ;;
15000 esac
15001
15002 if test "$wxUSE_GUI" = "yes"; then
15003 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
15004
15005 for ac_header in X11/Xlib.h
15006 do
15007 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15008 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15009 echo "$as_me:$LINENO: checking for $ac_header" >&5
15010 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15011 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15012 echo $ECHO_N "(cached) $ECHO_C" >&6
15013 fi
15014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15015 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15016 else
15017 # Is the header compilable?
15018 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15019 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15020 cat >conftest.$ac_ext <<_ACEOF
15021 /* confdefs.h. */
15022 _ACEOF
15023 cat confdefs.h >>conftest.$ac_ext
15024 cat >>conftest.$ac_ext <<_ACEOF
15025 /* end confdefs.h. */
15026 $ac_includes_default
15027 #include <$ac_header>
15028 _ACEOF
15029 rm -f conftest.$ac_objext
15030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15031 (eval $ac_compile) 2>conftest.er1
15032 ac_status=$?
15033 grep -v '^ *+' conftest.er1 >conftest.err
15034 rm -f conftest.er1
15035 cat conftest.err >&5
15036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15037 (exit $ac_status); } &&
15038 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15040 (eval $ac_try) 2>&5
15041 ac_status=$?
15042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15043 (exit $ac_status); }; } &&
15044 { ac_try='test -s conftest.$ac_objext'
15045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15046 (eval $ac_try) 2>&5
15047 ac_status=$?
15048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15049 (exit $ac_status); }; }; then
15050 ac_header_compiler=yes
15051 else
15052 echo "$as_me: failed program was:" >&5
15053 sed 's/^/| /' conftest.$ac_ext >&5
15054
15055 ac_header_compiler=no
15056 fi
15057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15058 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15059 echo "${ECHO_T}$ac_header_compiler" >&6
15060
15061 # Is the header present?
15062 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15063 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15064 cat >conftest.$ac_ext <<_ACEOF
15065 /* confdefs.h. */
15066 _ACEOF
15067 cat confdefs.h >>conftest.$ac_ext
15068 cat >>conftest.$ac_ext <<_ACEOF
15069 /* end confdefs.h. */
15070 #include <$ac_header>
15071 _ACEOF
15072 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15073 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15074 ac_status=$?
15075 grep -v '^ *+' conftest.er1 >conftest.err
15076 rm -f conftest.er1
15077 cat conftest.err >&5
15078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15079 (exit $ac_status); } >/dev/null; then
15080 if test -s conftest.err; then
15081 ac_cpp_err=$ac_c_preproc_warn_flag
15082 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15083 else
15084 ac_cpp_err=
15085 fi
15086 else
15087 ac_cpp_err=yes
15088 fi
15089 if test -z "$ac_cpp_err"; then
15090 ac_header_preproc=yes
15091 else
15092 echo "$as_me: failed program was:" >&5
15093 sed 's/^/| /' conftest.$ac_ext >&5
15094
15095 ac_header_preproc=no
15096 fi
15097 rm -f conftest.err conftest.$ac_ext
15098 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15099 echo "${ECHO_T}$ac_header_preproc" >&6
15100
15101 # So? What about this header?
15102 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15103 yes:no: )
15104 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15105 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15106 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15107 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15108 ac_header_preproc=yes
15109 ;;
15110 no:yes:* )
15111 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15112 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15113 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15114 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15115 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15116 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15117 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15118 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15119 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15120 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15121 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15122 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15123 (
15124 cat <<\_ASBOX
15125 ## ----------------------------------------- ##
15126 ## Report this to wx-dev@lists.wxwidgets.org ##
15127 ## ----------------------------------------- ##
15128 _ASBOX
15129 ) |
15130 sed "s/^/$as_me: WARNING: /" >&2
15131 ;;
15132 esac
15133 echo "$as_me:$LINENO: checking for $ac_header" >&5
15134 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15135 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15136 echo $ECHO_N "(cached) $ECHO_C" >&6
15137 else
15138 eval "$as_ac_Header=\$ac_header_preproc"
15139 fi
15140 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15141 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15142
15143 fi
15144 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15145 cat >>confdefs.h <<_ACEOF
15146 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15147 _ACEOF
15148
15149 fi
15150
15151 done
15152
15153
15154 for ac_header in X11/XKBlib.h
15155 do
15156 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15157 echo "$as_me:$LINENO: checking for $ac_header" >&5
15158 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15159 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15160 echo $ECHO_N "(cached) $ECHO_C" >&6
15161 else
15162 cat >conftest.$ac_ext <<_ACEOF
15163 /* confdefs.h. */
15164 _ACEOF
15165 cat confdefs.h >>conftest.$ac_ext
15166 cat >>conftest.$ac_ext <<_ACEOF
15167 /* end confdefs.h. */
15168
15169 #if HAVE_X11_XLIB_H
15170 #include <X11/Xlib.h>
15171 #endif
15172
15173
15174 #include <$ac_header>
15175 _ACEOF
15176 rm -f conftest.$ac_objext
15177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15178 (eval $ac_compile) 2>conftest.er1
15179 ac_status=$?
15180 grep -v '^ *+' conftest.er1 >conftest.err
15181 rm -f conftest.er1
15182 cat conftest.err >&5
15183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15184 (exit $ac_status); } &&
15185 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15187 (eval $ac_try) 2>&5
15188 ac_status=$?
15189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15190 (exit $ac_status); }; } &&
15191 { ac_try='test -s conftest.$ac_objext'
15192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15193 (eval $ac_try) 2>&5
15194 ac_status=$?
15195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15196 (exit $ac_status); }; }; then
15197 eval "$as_ac_Header=yes"
15198 else
15199 echo "$as_me: failed program was:" >&5
15200 sed 's/^/| /' conftest.$ac_ext >&5
15201
15202 eval "$as_ac_Header=no"
15203 fi
15204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15205 fi
15206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15207 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15208 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15209 cat >>confdefs.h <<_ACEOF
15210 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15211 _ACEOF
15212
15213 fi
15214
15215 done
15216
15217 fi
15218 fi
15219
15220
15221 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
15222 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
15223 if test "${ac_cv_c_const+set}" = set; then
15224 echo $ECHO_N "(cached) $ECHO_C" >&6
15225 else
15226 cat >conftest.$ac_ext <<_ACEOF
15227 /* confdefs.h. */
15228 _ACEOF
15229 cat confdefs.h >>conftest.$ac_ext
15230 cat >>conftest.$ac_ext <<_ACEOF
15231 /* end confdefs.h. */
15232
15233 int
15234 main ()
15235 {
15236 /* FIXME: Include the comments suggested by Paul. */
15237 #ifndef __cplusplus
15238 /* Ultrix mips cc rejects this. */
15239 typedef int charset[2];
15240 const charset x;
15241 /* SunOS 4.1.1 cc rejects this. */
15242 char const *const *ccp;
15243 char **p;
15244 /* NEC SVR4.0.2 mips cc rejects this. */
15245 struct point {int x, y;};
15246 static struct point const zero = {0,0};
15247 /* AIX XL C 1.02.0.0 rejects this.
15248 It does not let you subtract one const X* pointer from another in
15249 an arm of an if-expression whose if-part is not a constant
15250 expression */
15251 const char *g = "string";
15252 ccp = &g + (g ? g-g : 0);
15253 /* HPUX 7.0 cc rejects these. */
15254 ++ccp;
15255 p = (char**) ccp;
15256 ccp = (char const *const *) p;
15257 { /* SCO 3.2v4 cc rejects this. */
15258 char *t;
15259 char const *s = 0 ? (char *) 0 : (char const *) 0;
15260
15261 *t++ = 0;
15262 }
15263 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15264 int x[] = {25, 17};
15265 const int *foo = &x[0];
15266 ++foo;
15267 }
15268 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15269 typedef const int *iptr;
15270 iptr p = 0;
15271 ++p;
15272 }
15273 { /* AIX XL C 1.02.0.0 rejects this saying
15274 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15275 struct s { int j; const int *ap[3]; };
15276 struct s *b; b->j = 5;
15277 }
15278 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15279 const int foo = 10;
15280 }
15281 #endif
15282
15283 ;
15284 return 0;
15285 }
15286 _ACEOF
15287 rm -f conftest.$ac_objext
15288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15289 (eval $ac_compile) 2>conftest.er1
15290 ac_status=$?
15291 grep -v '^ *+' conftest.er1 >conftest.err
15292 rm -f conftest.er1
15293 cat conftest.err >&5
15294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15295 (exit $ac_status); } &&
15296 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15298 (eval $ac_try) 2>&5
15299 ac_status=$?
15300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15301 (exit $ac_status); }; } &&
15302 { ac_try='test -s conftest.$ac_objext'
15303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15304 (eval $ac_try) 2>&5
15305 ac_status=$?
15306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15307 (exit $ac_status); }; }; then
15308 ac_cv_c_const=yes
15309 else
15310 echo "$as_me: failed program was:" >&5
15311 sed 's/^/| /' conftest.$ac_ext >&5
15312
15313 ac_cv_c_const=no
15314 fi
15315 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15316 fi
15317 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
15318 echo "${ECHO_T}$ac_cv_c_const" >&6
15319 if test $ac_cv_c_const = no; then
15320
15321 cat >>confdefs.h <<\_ACEOF
15322 #define const
15323 _ACEOF
15324
15325 fi
15326
15327 echo "$as_me:$LINENO: checking for inline" >&5
15328 echo $ECHO_N "checking for inline... $ECHO_C" >&6
15329 if test "${ac_cv_c_inline+set}" = set; then
15330 echo $ECHO_N "(cached) $ECHO_C" >&6
15331 else
15332 ac_cv_c_inline=no
15333 for ac_kw in inline __inline__ __inline; do
15334 cat >conftest.$ac_ext <<_ACEOF
15335 /* confdefs.h. */
15336 _ACEOF
15337 cat confdefs.h >>conftest.$ac_ext
15338 cat >>conftest.$ac_ext <<_ACEOF
15339 /* end confdefs.h. */
15340 #ifndef __cplusplus
15341 typedef int foo_t;
15342 static $ac_kw foo_t static_foo () {return 0; }
15343 $ac_kw foo_t foo () {return 0; }
15344 #endif
15345
15346 _ACEOF
15347 rm -f conftest.$ac_objext
15348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15349 (eval $ac_compile) 2>conftest.er1
15350 ac_status=$?
15351 grep -v '^ *+' conftest.er1 >conftest.err
15352 rm -f conftest.er1
15353 cat conftest.err >&5
15354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15355 (exit $ac_status); } &&
15356 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15358 (eval $ac_try) 2>&5
15359 ac_status=$?
15360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15361 (exit $ac_status); }; } &&
15362 { ac_try='test -s conftest.$ac_objext'
15363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15364 (eval $ac_try) 2>&5
15365 ac_status=$?
15366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15367 (exit $ac_status); }; }; then
15368 ac_cv_c_inline=$ac_kw; break
15369 else
15370 echo "$as_me: failed program was:" >&5
15371 sed 's/^/| /' conftest.$ac_ext >&5
15372
15373 fi
15374 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15375 done
15376
15377 fi
15378 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
15379 echo "${ECHO_T}$ac_cv_c_inline" >&6
15380
15381
15382 case $ac_cv_c_inline in
15383 inline | yes) ;;
15384 *)
15385 case $ac_cv_c_inline in
15386 no) ac_val=;;
15387 *) ac_val=$ac_cv_c_inline;;
15388 esac
15389 cat >>confdefs.h <<_ACEOF
15390 #ifndef __cplusplus
15391 #define inline $ac_val
15392 #endif
15393 _ACEOF
15394 ;;
15395 esac
15396
15397
15398 echo "$as_me:$LINENO: checking for char" >&5
15399 echo $ECHO_N "checking for char... $ECHO_C" >&6
15400 if test "${ac_cv_type_char+set}" = set; then
15401 echo $ECHO_N "(cached) $ECHO_C" >&6
15402 else
15403 cat >conftest.$ac_ext <<_ACEOF
15404 /* confdefs.h. */
15405 _ACEOF
15406 cat confdefs.h >>conftest.$ac_ext
15407 cat >>conftest.$ac_ext <<_ACEOF
15408 /* end confdefs.h. */
15409 $ac_includes_default
15410 int
15411 main ()
15412 {
15413 if ((char *) 0)
15414 return 0;
15415 if (sizeof (char))
15416 return 0;
15417 ;
15418 return 0;
15419 }
15420 _ACEOF
15421 rm -f conftest.$ac_objext
15422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15423 (eval $ac_compile) 2>conftest.er1
15424 ac_status=$?
15425 grep -v '^ *+' conftest.er1 >conftest.err
15426 rm -f conftest.er1
15427 cat conftest.err >&5
15428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15429 (exit $ac_status); } &&
15430 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15432 (eval $ac_try) 2>&5
15433 ac_status=$?
15434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15435 (exit $ac_status); }; } &&
15436 { ac_try='test -s conftest.$ac_objext'
15437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15438 (eval $ac_try) 2>&5
15439 ac_status=$?
15440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15441 (exit $ac_status); }; }; then
15442 ac_cv_type_char=yes
15443 else
15444 echo "$as_me: failed program was:" >&5
15445 sed 's/^/| /' conftest.$ac_ext >&5
15446
15447 ac_cv_type_char=no
15448 fi
15449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15450 fi
15451 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
15452 echo "${ECHO_T}$ac_cv_type_char" >&6
15453
15454 echo "$as_me:$LINENO: checking size of char" >&5
15455 echo $ECHO_N "checking size of char... $ECHO_C" >&6
15456 if test "${ac_cv_sizeof_char+set}" = set; then
15457 echo $ECHO_N "(cached) $ECHO_C" >&6
15458 else
15459 if test "$ac_cv_type_char" = yes; then
15460 # The cast to unsigned long works around a bug in the HP C Compiler
15461 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15462 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15463 # This bug is HP SR number 8606223364.
15464 if test "$cross_compiling" = yes; then
15465 # Depending upon the size, compute the lo and hi bounds.
15466 cat >conftest.$ac_ext <<_ACEOF
15467 /* confdefs.h. */
15468 _ACEOF
15469 cat confdefs.h >>conftest.$ac_ext
15470 cat >>conftest.$ac_ext <<_ACEOF
15471 /* end confdefs.h. */
15472 $ac_includes_default
15473 int
15474 main ()
15475 {
15476 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
15477 test_array [0] = 0
15478
15479 ;
15480 return 0;
15481 }
15482 _ACEOF
15483 rm -f conftest.$ac_objext
15484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15485 (eval $ac_compile) 2>conftest.er1
15486 ac_status=$?
15487 grep -v '^ *+' conftest.er1 >conftest.err
15488 rm -f conftest.er1
15489 cat conftest.err >&5
15490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15491 (exit $ac_status); } &&
15492 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15494 (eval $ac_try) 2>&5
15495 ac_status=$?
15496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15497 (exit $ac_status); }; } &&
15498 { ac_try='test -s conftest.$ac_objext'
15499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15500 (eval $ac_try) 2>&5
15501 ac_status=$?
15502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15503 (exit $ac_status); }; }; then
15504 ac_lo=0 ac_mid=0
15505 while :; do
15506 cat >conftest.$ac_ext <<_ACEOF
15507 /* confdefs.h. */
15508 _ACEOF
15509 cat confdefs.h >>conftest.$ac_ext
15510 cat >>conftest.$ac_ext <<_ACEOF
15511 /* end confdefs.h. */
15512 $ac_includes_default
15513 int
15514 main ()
15515 {
15516 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15517 test_array [0] = 0
15518
15519 ;
15520 return 0;
15521 }
15522 _ACEOF
15523 rm -f conftest.$ac_objext
15524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15525 (eval $ac_compile) 2>conftest.er1
15526 ac_status=$?
15527 grep -v '^ *+' conftest.er1 >conftest.err
15528 rm -f conftest.er1
15529 cat conftest.err >&5
15530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15531 (exit $ac_status); } &&
15532 { ac_try='test -z "$ac_c_werror_flag" || 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; break
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 if test $ac_lo -le $ac_mid; then
15551 ac_lo= ac_hi=
15552 break
15553 fi
15554 ac_mid=`expr 2 '*' $ac_mid + 1`
15555 fi
15556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15557 done
15558 else
15559 echo "$as_me: failed program was:" >&5
15560 sed 's/^/| /' conftest.$ac_ext >&5
15561
15562 cat >conftest.$ac_ext <<_ACEOF
15563 /* confdefs.h. */
15564 _ACEOF
15565 cat confdefs.h >>conftest.$ac_ext
15566 cat >>conftest.$ac_ext <<_ACEOF
15567 /* end confdefs.h. */
15568 $ac_includes_default
15569 int
15570 main ()
15571 {
15572 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
15573 test_array [0] = 0
15574
15575 ;
15576 return 0;
15577 }
15578 _ACEOF
15579 rm -f conftest.$ac_objext
15580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15581 (eval $ac_compile) 2>conftest.er1
15582 ac_status=$?
15583 grep -v '^ *+' conftest.er1 >conftest.err
15584 rm -f conftest.er1
15585 cat conftest.err >&5
15586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15587 (exit $ac_status); } &&
15588 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15590 (eval $ac_try) 2>&5
15591 ac_status=$?
15592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15593 (exit $ac_status); }; } &&
15594 { ac_try='test -s conftest.$ac_objext'
15595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15596 (eval $ac_try) 2>&5
15597 ac_status=$?
15598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15599 (exit $ac_status); }; }; then
15600 ac_hi=-1 ac_mid=-1
15601 while :; do
15602 cat >conftest.$ac_ext <<_ACEOF
15603 /* confdefs.h. */
15604 _ACEOF
15605 cat confdefs.h >>conftest.$ac_ext
15606 cat >>conftest.$ac_ext <<_ACEOF
15607 /* end confdefs.h. */
15608 $ac_includes_default
15609 int
15610 main ()
15611 {
15612 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
15613 test_array [0] = 0
15614
15615 ;
15616 return 0;
15617 }
15618 _ACEOF
15619 rm -f conftest.$ac_objext
15620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15621 (eval $ac_compile) 2>conftest.er1
15622 ac_status=$?
15623 grep -v '^ *+' conftest.er1 >conftest.err
15624 rm -f conftest.er1
15625 cat conftest.err >&5
15626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15627 (exit $ac_status); } &&
15628 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15630 (eval $ac_try) 2>&5
15631 ac_status=$?
15632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15633 (exit $ac_status); }; } &&
15634 { ac_try='test -s conftest.$ac_objext'
15635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15636 (eval $ac_try) 2>&5
15637 ac_status=$?
15638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15639 (exit $ac_status); }; }; then
15640 ac_lo=$ac_mid; break
15641 else
15642 echo "$as_me: failed program was:" >&5
15643 sed 's/^/| /' conftest.$ac_ext >&5
15644
15645 ac_hi=`expr '(' $ac_mid ')' - 1`
15646 if test $ac_mid -le $ac_hi; then
15647 ac_lo= ac_hi=
15648 break
15649 fi
15650 ac_mid=`expr 2 '*' $ac_mid`
15651 fi
15652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15653 done
15654 else
15655 echo "$as_me: failed program was:" >&5
15656 sed 's/^/| /' conftest.$ac_ext >&5
15657
15658 ac_lo= ac_hi=
15659 fi
15660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15661 fi
15662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15663 # Binary search between lo and hi bounds.
15664 while test "x$ac_lo" != "x$ac_hi"; do
15665 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15666 cat >conftest.$ac_ext <<_ACEOF
15667 /* confdefs.h. */
15668 _ACEOF
15669 cat confdefs.h >>conftest.$ac_ext
15670 cat >>conftest.$ac_ext <<_ACEOF
15671 /* end confdefs.h. */
15672 $ac_includes_default
15673 int
15674 main ()
15675 {
15676 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15677 test_array [0] = 0
15678
15679 ;
15680 return 0;
15681 }
15682 _ACEOF
15683 rm -f conftest.$ac_objext
15684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15685 (eval $ac_compile) 2>conftest.er1
15686 ac_status=$?
15687 grep -v '^ *+' conftest.er1 >conftest.err
15688 rm -f conftest.er1
15689 cat conftest.err >&5
15690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15691 (exit $ac_status); } &&
15692 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15694 (eval $ac_try) 2>&5
15695 ac_status=$?
15696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15697 (exit $ac_status); }; } &&
15698 { ac_try='test -s conftest.$ac_objext'
15699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15700 (eval $ac_try) 2>&5
15701 ac_status=$?
15702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15703 (exit $ac_status); }; }; then
15704 ac_hi=$ac_mid
15705 else
15706 echo "$as_me: failed program was:" >&5
15707 sed 's/^/| /' conftest.$ac_ext >&5
15708
15709 ac_lo=`expr '(' $ac_mid ')' + 1`
15710 fi
15711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15712 done
15713 case $ac_lo in
15714 ?*) ac_cv_sizeof_char=$ac_lo;;
15715 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15716 See \`config.log' for more details." >&5
15717 echo "$as_me: error: cannot compute sizeof (char), 77
15718 See \`config.log' for more details." >&2;}
15719 { (exit 1); exit 1; }; } ;;
15720 esac
15721 else
15722 if test "$cross_compiling" = yes; then
15723 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15724 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15725 { (exit 1); exit 1; }; }
15726 else
15727 cat >conftest.$ac_ext <<_ACEOF
15728 /* confdefs.h. */
15729 _ACEOF
15730 cat confdefs.h >>conftest.$ac_ext
15731 cat >>conftest.$ac_ext <<_ACEOF
15732 /* end confdefs.h. */
15733 $ac_includes_default
15734 long longval () { return (long) (sizeof (char)); }
15735 unsigned long ulongval () { return (long) (sizeof (char)); }
15736 #include <stdio.h>
15737 #include <stdlib.h>
15738 int
15739 main ()
15740 {
15741
15742 FILE *f = fopen ("conftest.val", "w");
15743 if (! f)
15744 exit (1);
15745 if (((long) (sizeof (char))) < 0)
15746 {
15747 long i = longval ();
15748 if (i != ((long) (sizeof (char))))
15749 exit (1);
15750 fprintf (f, "%ld\n", i);
15751 }
15752 else
15753 {
15754 unsigned long i = ulongval ();
15755 if (i != ((long) (sizeof (char))))
15756 exit (1);
15757 fprintf (f, "%lu\n", i);
15758 }
15759 exit (ferror (f) || fclose (f) != 0);
15760
15761 ;
15762 return 0;
15763 }
15764 _ACEOF
15765 rm -f conftest$ac_exeext
15766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15767 (eval $ac_link) 2>&5
15768 ac_status=$?
15769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15770 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15772 (eval $ac_try) 2>&5
15773 ac_status=$?
15774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15775 (exit $ac_status); }; }; then
15776 ac_cv_sizeof_char=`cat conftest.val`
15777 else
15778 echo "$as_me: program exited with status $ac_status" >&5
15779 echo "$as_me: failed program was:" >&5
15780 sed 's/^/| /' conftest.$ac_ext >&5
15781
15782 ( exit $ac_status )
15783 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15784 See \`config.log' for more details." >&5
15785 echo "$as_me: error: cannot compute sizeof (char), 77
15786 See \`config.log' for more details." >&2;}
15787 { (exit 1); exit 1; }; }
15788 fi
15789 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15790 fi
15791 fi
15792 rm -f conftest.val
15793 else
15794 ac_cv_sizeof_char=0
15795 fi
15796 fi
15797 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
15798 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
15799 cat >>confdefs.h <<_ACEOF
15800 #define SIZEOF_CHAR $ac_cv_sizeof_char
15801 _ACEOF
15802
15803
15804 echo "$as_me:$LINENO: checking for short" >&5
15805 echo $ECHO_N "checking for short... $ECHO_C" >&6
15806 if test "${ac_cv_type_short+set}" = set; then
15807 echo $ECHO_N "(cached) $ECHO_C" >&6
15808 else
15809 cat >conftest.$ac_ext <<_ACEOF
15810 /* confdefs.h. */
15811 _ACEOF
15812 cat confdefs.h >>conftest.$ac_ext
15813 cat >>conftest.$ac_ext <<_ACEOF
15814 /* end confdefs.h. */
15815 $ac_includes_default
15816 int
15817 main ()
15818 {
15819 if ((short *) 0)
15820 return 0;
15821 if (sizeof (short))
15822 return 0;
15823 ;
15824 return 0;
15825 }
15826 _ACEOF
15827 rm -f conftest.$ac_objext
15828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15829 (eval $ac_compile) 2>conftest.er1
15830 ac_status=$?
15831 grep -v '^ *+' conftest.er1 >conftest.err
15832 rm -f conftest.er1
15833 cat conftest.err >&5
15834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15835 (exit $ac_status); } &&
15836 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15838 (eval $ac_try) 2>&5
15839 ac_status=$?
15840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15841 (exit $ac_status); }; } &&
15842 { ac_try='test -s conftest.$ac_objext'
15843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15844 (eval $ac_try) 2>&5
15845 ac_status=$?
15846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15847 (exit $ac_status); }; }; then
15848 ac_cv_type_short=yes
15849 else
15850 echo "$as_me: failed program was:" >&5
15851 sed 's/^/| /' conftest.$ac_ext >&5
15852
15853 ac_cv_type_short=no
15854 fi
15855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15856 fi
15857 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
15858 echo "${ECHO_T}$ac_cv_type_short" >&6
15859
15860 echo "$as_me:$LINENO: checking size of short" >&5
15861 echo $ECHO_N "checking size of short... $ECHO_C" >&6
15862 if test "${ac_cv_sizeof_short+set}" = set; then
15863 echo $ECHO_N "(cached) $ECHO_C" >&6
15864 else
15865 if test "$ac_cv_type_short" = yes; then
15866 # The cast to unsigned long works around a bug in the HP C Compiler
15867 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15868 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15869 # This bug is HP SR number 8606223364.
15870 if test "$cross_compiling" = yes; then
15871 # Depending upon the size, compute the lo and hi bounds.
15872 cat >conftest.$ac_ext <<_ACEOF
15873 /* confdefs.h. */
15874 _ACEOF
15875 cat confdefs.h >>conftest.$ac_ext
15876 cat >>conftest.$ac_ext <<_ACEOF
15877 /* end confdefs.h. */
15878 $ac_includes_default
15879 int
15880 main ()
15881 {
15882 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
15883 test_array [0] = 0
15884
15885 ;
15886 return 0;
15887 }
15888 _ACEOF
15889 rm -f conftest.$ac_objext
15890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15891 (eval $ac_compile) 2>conftest.er1
15892 ac_status=$?
15893 grep -v '^ *+' conftest.er1 >conftest.err
15894 rm -f conftest.er1
15895 cat conftest.err >&5
15896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15897 (exit $ac_status); } &&
15898 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15900 (eval $ac_try) 2>&5
15901 ac_status=$?
15902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15903 (exit $ac_status); }; } &&
15904 { ac_try='test -s conftest.$ac_objext'
15905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15906 (eval $ac_try) 2>&5
15907 ac_status=$?
15908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15909 (exit $ac_status); }; }; then
15910 ac_lo=0 ac_mid=0
15911 while :; do
15912 cat >conftest.$ac_ext <<_ACEOF
15913 /* confdefs.h. */
15914 _ACEOF
15915 cat confdefs.h >>conftest.$ac_ext
15916 cat >>conftest.$ac_ext <<_ACEOF
15917 /* end confdefs.h. */
15918 $ac_includes_default
15919 int
15920 main ()
15921 {
15922 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15923 test_array [0] = 0
15924
15925 ;
15926 return 0;
15927 }
15928 _ACEOF
15929 rm -f conftest.$ac_objext
15930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15931 (eval $ac_compile) 2>conftest.er1
15932 ac_status=$?
15933 grep -v '^ *+' conftest.er1 >conftest.err
15934 rm -f conftest.er1
15935 cat conftest.err >&5
15936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15937 (exit $ac_status); } &&
15938 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15940 (eval $ac_try) 2>&5
15941 ac_status=$?
15942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15943 (exit $ac_status); }; } &&
15944 { ac_try='test -s conftest.$ac_objext'
15945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15946 (eval $ac_try) 2>&5
15947 ac_status=$?
15948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15949 (exit $ac_status); }; }; then
15950 ac_hi=$ac_mid; break
15951 else
15952 echo "$as_me: failed program was:" >&5
15953 sed 's/^/| /' conftest.$ac_ext >&5
15954
15955 ac_lo=`expr $ac_mid + 1`
15956 if test $ac_lo -le $ac_mid; then
15957 ac_lo= ac_hi=
15958 break
15959 fi
15960 ac_mid=`expr 2 '*' $ac_mid + 1`
15961 fi
15962 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15963 done
15964 else
15965 echo "$as_me: failed program was:" >&5
15966 sed 's/^/| /' conftest.$ac_ext >&5
15967
15968 cat >conftest.$ac_ext <<_ACEOF
15969 /* confdefs.h. */
15970 _ACEOF
15971 cat confdefs.h >>conftest.$ac_ext
15972 cat >>conftest.$ac_ext <<_ACEOF
15973 /* end confdefs.h. */
15974 $ac_includes_default
15975 int
15976 main ()
15977 {
15978 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
15979 test_array [0] = 0
15980
15981 ;
15982 return 0;
15983 }
15984 _ACEOF
15985 rm -f conftest.$ac_objext
15986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15987 (eval $ac_compile) 2>conftest.er1
15988 ac_status=$?
15989 grep -v '^ *+' conftest.er1 >conftest.err
15990 rm -f conftest.er1
15991 cat conftest.err >&5
15992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15993 (exit $ac_status); } &&
15994 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15996 (eval $ac_try) 2>&5
15997 ac_status=$?
15998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15999 (exit $ac_status); }; } &&
16000 { ac_try='test -s conftest.$ac_objext'
16001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16002 (eval $ac_try) 2>&5
16003 ac_status=$?
16004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16005 (exit $ac_status); }; }; then
16006 ac_hi=-1 ac_mid=-1
16007 while :; do
16008 cat >conftest.$ac_ext <<_ACEOF
16009 /* confdefs.h. */
16010 _ACEOF
16011 cat confdefs.h >>conftest.$ac_ext
16012 cat >>conftest.$ac_ext <<_ACEOF
16013 /* end confdefs.h. */
16014 $ac_includes_default
16015 int
16016 main ()
16017 {
16018 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
16019 test_array [0] = 0
16020
16021 ;
16022 return 0;
16023 }
16024 _ACEOF
16025 rm -f conftest.$ac_objext
16026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16027 (eval $ac_compile) 2>conftest.er1
16028 ac_status=$?
16029 grep -v '^ *+' conftest.er1 >conftest.err
16030 rm -f conftest.er1
16031 cat conftest.err >&5
16032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16033 (exit $ac_status); } &&
16034 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16036 (eval $ac_try) 2>&5
16037 ac_status=$?
16038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16039 (exit $ac_status); }; } &&
16040 { ac_try='test -s conftest.$ac_objext'
16041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16042 (eval $ac_try) 2>&5
16043 ac_status=$?
16044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16045 (exit $ac_status); }; }; then
16046 ac_lo=$ac_mid; break
16047 else
16048 echo "$as_me: failed program was:" >&5
16049 sed 's/^/| /' conftest.$ac_ext >&5
16050
16051 ac_hi=`expr '(' $ac_mid ')' - 1`
16052 if test $ac_mid -le $ac_hi; then
16053 ac_lo= ac_hi=
16054 break
16055 fi
16056 ac_mid=`expr 2 '*' $ac_mid`
16057 fi
16058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16059 done
16060 else
16061 echo "$as_me: failed program was:" >&5
16062 sed 's/^/| /' conftest.$ac_ext >&5
16063
16064 ac_lo= ac_hi=
16065 fi
16066 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16067 fi
16068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16069 # Binary search between lo and hi bounds.
16070 while test "x$ac_lo" != "x$ac_hi"; do
16071 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16072 cat >conftest.$ac_ext <<_ACEOF
16073 /* confdefs.h. */
16074 _ACEOF
16075 cat confdefs.h >>conftest.$ac_ext
16076 cat >>conftest.$ac_ext <<_ACEOF
16077 /* end confdefs.h. */
16078 $ac_includes_default
16079 int
16080 main ()
16081 {
16082 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16083 test_array [0] = 0
16084
16085 ;
16086 return 0;
16087 }
16088 _ACEOF
16089 rm -f conftest.$ac_objext
16090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16091 (eval $ac_compile) 2>conftest.er1
16092 ac_status=$?
16093 grep -v '^ *+' conftest.er1 >conftest.err
16094 rm -f conftest.er1
16095 cat conftest.err >&5
16096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16097 (exit $ac_status); } &&
16098 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16100 (eval $ac_try) 2>&5
16101 ac_status=$?
16102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16103 (exit $ac_status); }; } &&
16104 { ac_try='test -s conftest.$ac_objext'
16105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16106 (eval $ac_try) 2>&5
16107 ac_status=$?
16108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16109 (exit $ac_status); }; }; then
16110 ac_hi=$ac_mid
16111 else
16112 echo "$as_me: failed program was:" >&5
16113 sed 's/^/| /' conftest.$ac_ext >&5
16114
16115 ac_lo=`expr '(' $ac_mid ')' + 1`
16116 fi
16117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16118 done
16119 case $ac_lo in
16120 ?*) ac_cv_sizeof_short=$ac_lo;;
16121 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16122 See \`config.log' for more details." >&5
16123 echo "$as_me: error: cannot compute sizeof (short), 77
16124 See \`config.log' for more details." >&2;}
16125 { (exit 1); exit 1; }; } ;;
16126 esac
16127 else
16128 if test "$cross_compiling" = yes; then
16129 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16130 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16131 { (exit 1); exit 1; }; }
16132 else
16133 cat >conftest.$ac_ext <<_ACEOF
16134 /* confdefs.h. */
16135 _ACEOF
16136 cat confdefs.h >>conftest.$ac_ext
16137 cat >>conftest.$ac_ext <<_ACEOF
16138 /* end confdefs.h. */
16139 $ac_includes_default
16140 long longval () { return (long) (sizeof (short)); }
16141 unsigned long ulongval () { return (long) (sizeof (short)); }
16142 #include <stdio.h>
16143 #include <stdlib.h>
16144 int
16145 main ()
16146 {
16147
16148 FILE *f = fopen ("conftest.val", "w");
16149 if (! f)
16150 exit (1);
16151 if (((long) (sizeof (short))) < 0)
16152 {
16153 long i = longval ();
16154 if (i != ((long) (sizeof (short))))
16155 exit (1);
16156 fprintf (f, "%ld\n", i);
16157 }
16158 else
16159 {
16160 unsigned long i = ulongval ();
16161 if (i != ((long) (sizeof (short))))
16162 exit (1);
16163 fprintf (f, "%lu\n", i);
16164 }
16165 exit (ferror (f) || fclose (f) != 0);
16166
16167 ;
16168 return 0;
16169 }
16170 _ACEOF
16171 rm -f conftest$ac_exeext
16172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16173 (eval $ac_link) 2>&5
16174 ac_status=$?
16175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16176 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16178 (eval $ac_try) 2>&5
16179 ac_status=$?
16180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16181 (exit $ac_status); }; }; then
16182 ac_cv_sizeof_short=`cat conftest.val`
16183 else
16184 echo "$as_me: program exited with status $ac_status" >&5
16185 echo "$as_me: failed program was:" >&5
16186 sed 's/^/| /' conftest.$ac_ext >&5
16187
16188 ( exit $ac_status )
16189 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16190 See \`config.log' for more details." >&5
16191 echo "$as_me: error: cannot compute sizeof (short), 77
16192 See \`config.log' for more details." >&2;}
16193 { (exit 1); exit 1; }; }
16194 fi
16195 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16196 fi
16197 fi
16198 rm -f conftest.val
16199 else
16200 ac_cv_sizeof_short=0
16201 fi
16202 fi
16203 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
16204 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
16205 cat >>confdefs.h <<_ACEOF
16206 #define SIZEOF_SHORT $ac_cv_sizeof_short
16207 _ACEOF
16208
16209
16210 echo "$as_me:$LINENO: checking for void *" >&5
16211 echo $ECHO_N "checking for void *... $ECHO_C" >&6
16212 if test "${ac_cv_type_void_p+set}" = set; then
16213 echo $ECHO_N "(cached) $ECHO_C" >&6
16214 else
16215 cat >conftest.$ac_ext <<_ACEOF
16216 /* confdefs.h. */
16217 _ACEOF
16218 cat confdefs.h >>conftest.$ac_ext
16219 cat >>conftest.$ac_ext <<_ACEOF
16220 /* end confdefs.h. */
16221 $ac_includes_default
16222 int
16223 main ()
16224 {
16225 if ((void * *) 0)
16226 return 0;
16227 if (sizeof (void *))
16228 return 0;
16229 ;
16230 return 0;
16231 }
16232 _ACEOF
16233 rm -f conftest.$ac_objext
16234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16235 (eval $ac_compile) 2>conftest.er1
16236 ac_status=$?
16237 grep -v '^ *+' conftest.er1 >conftest.err
16238 rm -f conftest.er1
16239 cat conftest.err >&5
16240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16241 (exit $ac_status); } &&
16242 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16244 (eval $ac_try) 2>&5
16245 ac_status=$?
16246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16247 (exit $ac_status); }; } &&
16248 { ac_try='test -s conftest.$ac_objext'
16249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16250 (eval $ac_try) 2>&5
16251 ac_status=$?
16252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16253 (exit $ac_status); }; }; then
16254 ac_cv_type_void_p=yes
16255 else
16256 echo "$as_me: failed program was:" >&5
16257 sed 's/^/| /' conftest.$ac_ext >&5
16258
16259 ac_cv_type_void_p=no
16260 fi
16261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16262 fi
16263 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
16264 echo "${ECHO_T}$ac_cv_type_void_p" >&6
16265
16266 echo "$as_me:$LINENO: checking size of void *" >&5
16267 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
16268 if test "${ac_cv_sizeof_void_p+set}" = set; then
16269 echo $ECHO_N "(cached) $ECHO_C" >&6
16270 else
16271 if test "$ac_cv_type_void_p" = yes; then
16272 # The cast to unsigned long works around a bug in the HP C Compiler
16273 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16274 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16275 # This bug is HP SR number 8606223364.
16276 if test "$cross_compiling" = yes; then
16277 # Depending upon the size, compute the lo and hi bounds.
16278 cat >conftest.$ac_ext <<_ACEOF
16279 /* confdefs.h. */
16280 _ACEOF
16281 cat confdefs.h >>conftest.$ac_ext
16282 cat >>conftest.$ac_ext <<_ACEOF
16283 /* end confdefs.h. */
16284 $ac_includes_default
16285 int
16286 main ()
16287 {
16288 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
16289 test_array [0] = 0
16290
16291 ;
16292 return 0;
16293 }
16294 _ACEOF
16295 rm -f conftest.$ac_objext
16296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16297 (eval $ac_compile) 2>conftest.er1
16298 ac_status=$?
16299 grep -v '^ *+' conftest.er1 >conftest.err
16300 rm -f conftest.er1
16301 cat conftest.err >&5
16302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16303 (exit $ac_status); } &&
16304 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16306 (eval $ac_try) 2>&5
16307 ac_status=$?
16308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16309 (exit $ac_status); }; } &&
16310 { ac_try='test -s conftest.$ac_objext'
16311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16312 (eval $ac_try) 2>&5
16313 ac_status=$?
16314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16315 (exit $ac_status); }; }; then
16316 ac_lo=0 ac_mid=0
16317 while :; do
16318 cat >conftest.$ac_ext <<_ACEOF
16319 /* confdefs.h. */
16320 _ACEOF
16321 cat confdefs.h >>conftest.$ac_ext
16322 cat >>conftest.$ac_ext <<_ACEOF
16323 /* end confdefs.h. */
16324 $ac_includes_default
16325 int
16326 main ()
16327 {
16328 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16329 test_array [0] = 0
16330
16331 ;
16332 return 0;
16333 }
16334 _ACEOF
16335 rm -f conftest.$ac_objext
16336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16337 (eval $ac_compile) 2>conftest.er1
16338 ac_status=$?
16339 grep -v '^ *+' conftest.er1 >conftest.err
16340 rm -f conftest.er1
16341 cat conftest.err >&5
16342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16343 (exit $ac_status); } &&
16344 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16346 (eval $ac_try) 2>&5
16347 ac_status=$?
16348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16349 (exit $ac_status); }; } &&
16350 { ac_try='test -s conftest.$ac_objext'
16351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16352 (eval $ac_try) 2>&5
16353 ac_status=$?
16354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16355 (exit $ac_status); }; }; then
16356 ac_hi=$ac_mid; break
16357 else
16358 echo "$as_me: failed program was:" >&5
16359 sed 's/^/| /' conftest.$ac_ext >&5
16360
16361 ac_lo=`expr $ac_mid + 1`
16362 if test $ac_lo -le $ac_mid; then
16363 ac_lo= ac_hi=
16364 break
16365 fi
16366 ac_mid=`expr 2 '*' $ac_mid + 1`
16367 fi
16368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16369 done
16370 else
16371 echo "$as_me: failed program was:" >&5
16372 sed 's/^/| /' conftest.$ac_ext >&5
16373
16374 cat >conftest.$ac_ext <<_ACEOF
16375 /* confdefs.h. */
16376 _ACEOF
16377 cat confdefs.h >>conftest.$ac_ext
16378 cat >>conftest.$ac_ext <<_ACEOF
16379 /* end confdefs.h. */
16380 $ac_includes_default
16381 int
16382 main ()
16383 {
16384 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
16385 test_array [0] = 0
16386
16387 ;
16388 return 0;
16389 }
16390 _ACEOF
16391 rm -f conftest.$ac_objext
16392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16393 (eval $ac_compile) 2>conftest.er1
16394 ac_status=$?
16395 grep -v '^ *+' conftest.er1 >conftest.err
16396 rm -f conftest.er1
16397 cat conftest.err >&5
16398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16399 (exit $ac_status); } &&
16400 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16402 (eval $ac_try) 2>&5
16403 ac_status=$?
16404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16405 (exit $ac_status); }; } &&
16406 { ac_try='test -s conftest.$ac_objext'
16407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16408 (eval $ac_try) 2>&5
16409 ac_status=$?
16410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16411 (exit $ac_status); }; }; then
16412 ac_hi=-1 ac_mid=-1
16413 while :; do
16414 cat >conftest.$ac_ext <<_ACEOF
16415 /* confdefs.h. */
16416 _ACEOF
16417 cat confdefs.h >>conftest.$ac_ext
16418 cat >>conftest.$ac_ext <<_ACEOF
16419 /* end confdefs.h. */
16420 $ac_includes_default
16421 int
16422 main ()
16423 {
16424 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
16425 test_array [0] = 0
16426
16427 ;
16428 return 0;
16429 }
16430 _ACEOF
16431 rm -f conftest.$ac_objext
16432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16433 (eval $ac_compile) 2>conftest.er1
16434 ac_status=$?
16435 grep -v '^ *+' conftest.er1 >conftest.err
16436 rm -f conftest.er1
16437 cat conftest.err >&5
16438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16439 (exit $ac_status); } &&
16440 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
16446 { ac_try='test -s conftest.$ac_objext'
16447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16448 (eval $ac_try) 2>&5
16449 ac_status=$?
16450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16451 (exit $ac_status); }; }; then
16452 ac_lo=$ac_mid; break
16453 else
16454 echo "$as_me: failed program was:" >&5
16455 sed 's/^/| /' conftest.$ac_ext >&5
16456
16457 ac_hi=`expr '(' $ac_mid ')' - 1`
16458 if test $ac_mid -le $ac_hi; then
16459 ac_lo= ac_hi=
16460 break
16461 fi
16462 ac_mid=`expr 2 '*' $ac_mid`
16463 fi
16464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16465 done
16466 else
16467 echo "$as_me: failed program was:" >&5
16468 sed 's/^/| /' conftest.$ac_ext >&5
16469
16470 ac_lo= ac_hi=
16471 fi
16472 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16473 fi
16474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16475 # Binary search between lo and hi bounds.
16476 while test "x$ac_lo" != "x$ac_hi"; do
16477 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16478 cat >conftest.$ac_ext <<_ACEOF
16479 /* confdefs.h. */
16480 _ACEOF
16481 cat confdefs.h >>conftest.$ac_ext
16482 cat >>conftest.$ac_ext <<_ACEOF
16483 /* end confdefs.h. */
16484 $ac_includes_default
16485 int
16486 main ()
16487 {
16488 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16489 test_array [0] = 0
16490
16491 ;
16492 return 0;
16493 }
16494 _ACEOF
16495 rm -f conftest.$ac_objext
16496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16497 (eval $ac_compile) 2>conftest.er1
16498 ac_status=$?
16499 grep -v '^ *+' conftest.er1 >conftest.err
16500 rm -f conftest.er1
16501 cat conftest.err >&5
16502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16503 (exit $ac_status); } &&
16504 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16506 (eval $ac_try) 2>&5
16507 ac_status=$?
16508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16509 (exit $ac_status); }; } &&
16510 { ac_try='test -s conftest.$ac_objext'
16511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16512 (eval $ac_try) 2>&5
16513 ac_status=$?
16514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16515 (exit $ac_status); }; }; then
16516 ac_hi=$ac_mid
16517 else
16518 echo "$as_me: failed program was:" >&5
16519 sed 's/^/| /' conftest.$ac_ext >&5
16520
16521 ac_lo=`expr '(' $ac_mid ')' + 1`
16522 fi
16523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16524 done
16525 case $ac_lo in
16526 ?*) ac_cv_sizeof_void_p=$ac_lo;;
16527 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16528 See \`config.log' for more details." >&5
16529 echo "$as_me: error: cannot compute sizeof (void *), 77
16530 See \`config.log' for more details." >&2;}
16531 { (exit 1); exit 1; }; } ;;
16532 esac
16533 else
16534 if test "$cross_compiling" = yes; then
16535 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16536 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16537 { (exit 1); exit 1; }; }
16538 else
16539 cat >conftest.$ac_ext <<_ACEOF
16540 /* confdefs.h. */
16541 _ACEOF
16542 cat confdefs.h >>conftest.$ac_ext
16543 cat >>conftest.$ac_ext <<_ACEOF
16544 /* end confdefs.h. */
16545 $ac_includes_default
16546 long longval () { return (long) (sizeof (void *)); }
16547 unsigned long ulongval () { return (long) (sizeof (void *)); }
16548 #include <stdio.h>
16549 #include <stdlib.h>
16550 int
16551 main ()
16552 {
16553
16554 FILE *f = fopen ("conftest.val", "w");
16555 if (! f)
16556 exit (1);
16557 if (((long) (sizeof (void *))) < 0)
16558 {
16559 long i = longval ();
16560 if (i != ((long) (sizeof (void *))))
16561 exit (1);
16562 fprintf (f, "%ld\n", i);
16563 }
16564 else
16565 {
16566 unsigned long i = ulongval ();
16567 if (i != ((long) (sizeof (void *))))
16568 exit (1);
16569 fprintf (f, "%lu\n", i);
16570 }
16571 exit (ferror (f) || fclose (f) != 0);
16572
16573 ;
16574 return 0;
16575 }
16576 _ACEOF
16577 rm -f conftest$ac_exeext
16578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16579 (eval $ac_link) 2>&5
16580 ac_status=$?
16581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16582 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16584 (eval $ac_try) 2>&5
16585 ac_status=$?
16586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16587 (exit $ac_status); }; }; then
16588 ac_cv_sizeof_void_p=`cat conftest.val`
16589 else
16590 echo "$as_me: program exited with status $ac_status" >&5
16591 echo "$as_me: failed program was:" >&5
16592 sed 's/^/| /' conftest.$ac_ext >&5
16593
16594 ( exit $ac_status )
16595 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16596 See \`config.log' for more details." >&5
16597 echo "$as_me: error: cannot compute sizeof (void *), 77
16598 See \`config.log' for more details." >&2;}
16599 { (exit 1); exit 1; }; }
16600 fi
16601 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16602 fi
16603 fi
16604 rm -f conftest.val
16605 else
16606 ac_cv_sizeof_void_p=0
16607 fi
16608 fi
16609 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
16610 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
16611 cat >>confdefs.h <<_ACEOF
16612 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16613 _ACEOF
16614
16615
16616 echo "$as_me:$LINENO: checking for int" >&5
16617 echo $ECHO_N "checking for int... $ECHO_C" >&6
16618 if test "${ac_cv_type_int+set}" = set; then
16619 echo $ECHO_N "(cached) $ECHO_C" >&6
16620 else
16621 cat >conftest.$ac_ext <<_ACEOF
16622 /* confdefs.h. */
16623 _ACEOF
16624 cat confdefs.h >>conftest.$ac_ext
16625 cat >>conftest.$ac_ext <<_ACEOF
16626 /* end confdefs.h. */
16627 $ac_includes_default
16628 int
16629 main ()
16630 {
16631 if ((int *) 0)
16632 return 0;
16633 if (sizeof (int))
16634 return 0;
16635 ;
16636 return 0;
16637 }
16638 _ACEOF
16639 rm -f conftest.$ac_objext
16640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16641 (eval $ac_compile) 2>conftest.er1
16642 ac_status=$?
16643 grep -v '^ *+' conftest.er1 >conftest.err
16644 rm -f conftest.er1
16645 cat conftest.err >&5
16646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16647 (exit $ac_status); } &&
16648 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16650 (eval $ac_try) 2>&5
16651 ac_status=$?
16652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16653 (exit $ac_status); }; } &&
16654 { ac_try='test -s conftest.$ac_objext'
16655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16656 (eval $ac_try) 2>&5
16657 ac_status=$?
16658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16659 (exit $ac_status); }; }; then
16660 ac_cv_type_int=yes
16661 else
16662 echo "$as_me: failed program was:" >&5
16663 sed 's/^/| /' conftest.$ac_ext >&5
16664
16665 ac_cv_type_int=no
16666 fi
16667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16668 fi
16669 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
16670 echo "${ECHO_T}$ac_cv_type_int" >&6
16671
16672 echo "$as_me:$LINENO: checking size of int" >&5
16673 echo $ECHO_N "checking size of int... $ECHO_C" >&6
16674 if test "${ac_cv_sizeof_int+set}" = set; then
16675 echo $ECHO_N "(cached) $ECHO_C" >&6
16676 else
16677 if test "$ac_cv_type_int" = yes; then
16678 # The cast to unsigned long works around a bug in the HP C Compiler
16679 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16680 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16681 # This bug is HP SR number 8606223364.
16682 if test "$cross_compiling" = yes; then
16683 # Depending upon the size, compute the lo and hi bounds.
16684 cat >conftest.$ac_ext <<_ACEOF
16685 /* confdefs.h. */
16686 _ACEOF
16687 cat confdefs.h >>conftest.$ac_ext
16688 cat >>conftest.$ac_ext <<_ACEOF
16689 /* end confdefs.h. */
16690 $ac_includes_default
16691 int
16692 main ()
16693 {
16694 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
16695 test_array [0] = 0
16696
16697 ;
16698 return 0;
16699 }
16700 _ACEOF
16701 rm -f conftest.$ac_objext
16702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16703 (eval $ac_compile) 2>conftest.er1
16704 ac_status=$?
16705 grep -v '^ *+' conftest.er1 >conftest.err
16706 rm -f conftest.er1
16707 cat conftest.err >&5
16708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16709 (exit $ac_status); } &&
16710 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16712 (eval $ac_try) 2>&5
16713 ac_status=$?
16714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16715 (exit $ac_status); }; } &&
16716 { ac_try='test -s conftest.$ac_objext'
16717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16718 (eval $ac_try) 2>&5
16719 ac_status=$?
16720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16721 (exit $ac_status); }; }; then
16722 ac_lo=0 ac_mid=0
16723 while :; do
16724 cat >conftest.$ac_ext <<_ACEOF
16725 /* confdefs.h. */
16726 _ACEOF
16727 cat confdefs.h >>conftest.$ac_ext
16728 cat >>conftest.$ac_ext <<_ACEOF
16729 /* end confdefs.h. */
16730 $ac_includes_default
16731 int
16732 main ()
16733 {
16734 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16735 test_array [0] = 0
16736
16737 ;
16738 return 0;
16739 }
16740 _ACEOF
16741 rm -f conftest.$ac_objext
16742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16743 (eval $ac_compile) 2>conftest.er1
16744 ac_status=$?
16745 grep -v '^ *+' conftest.er1 >conftest.err
16746 rm -f conftest.er1
16747 cat conftest.err >&5
16748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16749 (exit $ac_status); } &&
16750 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16752 (eval $ac_try) 2>&5
16753 ac_status=$?
16754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16755 (exit $ac_status); }; } &&
16756 { ac_try='test -s conftest.$ac_objext'
16757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16758 (eval $ac_try) 2>&5
16759 ac_status=$?
16760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16761 (exit $ac_status); }; }; then
16762 ac_hi=$ac_mid; break
16763 else
16764 echo "$as_me: failed program was:" >&5
16765 sed 's/^/| /' conftest.$ac_ext >&5
16766
16767 ac_lo=`expr $ac_mid + 1`
16768 if test $ac_lo -le $ac_mid; then
16769 ac_lo= ac_hi=
16770 break
16771 fi
16772 ac_mid=`expr 2 '*' $ac_mid + 1`
16773 fi
16774 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16775 done
16776 else
16777 echo "$as_me: failed program was:" >&5
16778 sed 's/^/| /' conftest.$ac_ext >&5
16779
16780 cat >conftest.$ac_ext <<_ACEOF
16781 /* confdefs.h. */
16782 _ACEOF
16783 cat confdefs.h >>conftest.$ac_ext
16784 cat >>conftest.$ac_ext <<_ACEOF
16785 /* end confdefs.h. */
16786 $ac_includes_default
16787 int
16788 main ()
16789 {
16790 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
16791 test_array [0] = 0
16792
16793 ;
16794 return 0;
16795 }
16796 _ACEOF
16797 rm -f conftest.$ac_objext
16798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16799 (eval $ac_compile) 2>conftest.er1
16800 ac_status=$?
16801 grep -v '^ *+' conftest.er1 >conftest.err
16802 rm -f conftest.er1
16803 cat conftest.err >&5
16804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16805 (exit $ac_status); } &&
16806 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16808 (eval $ac_try) 2>&5
16809 ac_status=$?
16810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16811 (exit $ac_status); }; } &&
16812 { ac_try='test -s conftest.$ac_objext'
16813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16814 (eval $ac_try) 2>&5
16815 ac_status=$?
16816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16817 (exit $ac_status); }; }; then
16818 ac_hi=-1 ac_mid=-1
16819 while :; do
16820 cat >conftest.$ac_ext <<_ACEOF
16821 /* confdefs.h. */
16822 _ACEOF
16823 cat confdefs.h >>conftest.$ac_ext
16824 cat >>conftest.$ac_ext <<_ACEOF
16825 /* end confdefs.h. */
16826 $ac_includes_default
16827 int
16828 main ()
16829 {
16830 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
16831 test_array [0] = 0
16832
16833 ;
16834 return 0;
16835 }
16836 _ACEOF
16837 rm -f conftest.$ac_objext
16838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16839 (eval $ac_compile) 2>conftest.er1
16840 ac_status=$?
16841 grep -v '^ *+' conftest.er1 >conftest.err
16842 rm -f conftest.er1
16843 cat conftest.err >&5
16844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16845 (exit $ac_status); } &&
16846 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16848 (eval $ac_try) 2>&5
16849 ac_status=$?
16850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16851 (exit $ac_status); }; } &&
16852 { ac_try='test -s conftest.$ac_objext'
16853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16854 (eval $ac_try) 2>&5
16855 ac_status=$?
16856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16857 (exit $ac_status); }; }; then
16858 ac_lo=$ac_mid; break
16859 else
16860 echo "$as_me: failed program was:" >&5
16861 sed 's/^/| /' conftest.$ac_ext >&5
16862
16863 ac_hi=`expr '(' $ac_mid ')' - 1`
16864 if test $ac_mid -le $ac_hi; then
16865 ac_lo= ac_hi=
16866 break
16867 fi
16868 ac_mid=`expr 2 '*' $ac_mid`
16869 fi
16870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16871 done
16872 else
16873 echo "$as_me: failed program was:" >&5
16874 sed 's/^/| /' conftest.$ac_ext >&5
16875
16876 ac_lo= ac_hi=
16877 fi
16878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16879 fi
16880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16881 # Binary search between lo and hi bounds.
16882 while test "x$ac_lo" != "x$ac_hi"; do
16883 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16884 cat >conftest.$ac_ext <<_ACEOF
16885 /* confdefs.h. */
16886 _ACEOF
16887 cat confdefs.h >>conftest.$ac_ext
16888 cat >>conftest.$ac_ext <<_ACEOF
16889 /* end confdefs.h. */
16890 $ac_includes_default
16891 int
16892 main ()
16893 {
16894 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16895 test_array [0] = 0
16896
16897 ;
16898 return 0;
16899 }
16900 _ACEOF
16901 rm -f conftest.$ac_objext
16902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16903 (eval $ac_compile) 2>conftest.er1
16904 ac_status=$?
16905 grep -v '^ *+' conftest.er1 >conftest.err
16906 rm -f conftest.er1
16907 cat conftest.err >&5
16908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16909 (exit $ac_status); } &&
16910 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16912 (eval $ac_try) 2>&5
16913 ac_status=$?
16914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16915 (exit $ac_status); }; } &&
16916 { ac_try='test -s conftest.$ac_objext'
16917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16918 (eval $ac_try) 2>&5
16919 ac_status=$?
16920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16921 (exit $ac_status); }; }; then
16922 ac_hi=$ac_mid
16923 else
16924 echo "$as_me: failed program was:" >&5
16925 sed 's/^/| /' conftest.$ac_ext >&5
16926
16927 ac_lo=`expr '(' $ac_mid ')' + 1`
16928 fi
16929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16930 done
16931 case $ac_lo in
16932 ?*) ac_cv_sizeof_int=$ac_lo;;
16933 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16934 See \`config.log' for more details." >&5
16935 echo "$as_me: error: cannot compute sizeof (int), 77
16936 See \`config.log' for more details." >&2;}
16937 { (exit 1); exit 1; }; } ;;
16938 esac
16939 else
16940 if test "$cross_compiling" = yes; then
16941 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16942 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16943 { (exit 1); exit 1; }; }
16944 else
16945 cat >conftest.$ac_ext <<_ACEOF
16946 /* confdefs.h. */
16947 _ACEOF
16948 cat confdefs.h >>conftest.$ac_ext
16949 cat >>conftest.$ac_ext <<_ACEOF
16950 /* end confdefs.h. */
16951 $ac_includes_default
16952 long longval () { return (long) (sizeof (int)); }
16953 unsigned long ulongval () { return (long) (sizeof (int)); }
16954 #include <stdio.h>
16955 #include <stdlib.h>
16956 int
16957 main ()
16958 {
16959
16960 FILE *f = fopen ("conftest.val", "w");
16961 if (! f)
16962 exit (1);
16963 if (((long) (sizeof (int))) < 0)
16964 {
16965 long i = longval ();
16966 if (i != ((long) (sizeof (int))))
16967 exit (1);
16968 fprintf (f, "%ld\n", i);
16969 }
16970 else
16971 {
16972 unsigned long i = ulongval ();
16973 if (i != ((long) (sizeof (int))))
16974 exit (1);
16975 fprintf (f, "%lu\n", i);
16976 }
16977 exit (ferror (f) || fclose (f) != 0);
16978
16979 ;
16980 return 0;
16981 }
16982 _ACEOF
16983 rm -f conftest$ac_exeext
16984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16985 (eval $ac_link) 2>&5
16986 ac_status=$?
16987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16988 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16990 (eval $ac_try) 2>&5
16991 ac_status=$?
16992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16993 (exit $ac_status); }; }; then
16994 ac_cv_sizeof_int=`cat conftest.val`
16995 else
16996 echo "$as_me: program exited with status $ac_status" >&5
16997 echo "$as_me: failed program was:" >&5
16998 sed 's/^/| /' conftest.$ac_ext >&5
16999
17000 ( exit $ac_status )
17001 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17002 See \`config.log' for more details." >&5
17003 echo "$as_me: error: cannot compute sizeof (int), 77
17004 See \`config.log' for more details." >&2;}
17005 { (exit 1); exit 1; }; }
17006 fi
17007 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17008 fi
17009 fi
17010 rm -f conftest.val
17011 else
17012 ac_cv_sizeof_int=0
17013 fi
17014 fi
17015 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
17016 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
17017 cat >>confdefs.h <<_ACEOF
17018 #define SIZEOF_INT $ac_cv_sizeof_int
17019 _ACEOF
17020
17021
17022 echo "$as_me:$LINENO: checking for long" >&5
17023 echo $ECHO_N "checking for long... $ECHO_C" >&6
17024 if test "${ac_cv_type_long+set}" = set; then
17025 echo $ECHO_N "(cached) $ECHO_C" >&6
17026 else
17027 cat >conftest.$ac_ext <<_ACEOF
17028 /* confdefs.h. */
17029 _ACEOF
17030 cat confdefs.h >>conftest.$ac_ext
17031 cat >>conftest.$ac_ext <<_ACEOF
17032 /* end confdefs.h. */
17033 $ac_includes_default
17034 int
17035 main ()
17036 {
17037 if ((long *) 0)
17038 return 0;
17039 if (sizeof (long))
17040 return 0;
17041 ;
17042 return 0;
17043 }
17044 _ACEOF
17045 rm -f conftest.$ac_objext
17046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17047 (eval $ac_compile) 2>conftest.er1
17048 ac_status=$?
17049 grep -v '^ *+' conftest.er1 >conftest.err
17050 rm -f conftest.er1
17051 cat conftest.err >&5
17052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17053 (exit $ac_status); } &&
17054 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17056 (eval $ac_try) 2>&5
17057 ac_status=$?
17058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17059 (exit $ac_status); }; } &&
17060 { ac_try='test -s conftest.$ac_objext'
17061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17062 (eval $ac_try) 2>&5
17063 ac_status=$?
17064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17065 (exit $ac_status); }; }; then
17066 ac_cv_type_long=yes
17067 else
17068 echo "$as_me: failed program was:" >&5
17069 sed 's/^/| /' conftest.$ac_ext >&5
17070
17071 ac_cv_type_long=no
17072 fi
17073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17074 fi
17075 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
17076 echo "${ECHO_T}$ac_cv_type_long" >&6
17077
17078 echo "$as_me:$LINENO: checking size of long" >&5
17079 echo $ECHO_N "checking size of long... $ECHO_C" >&6
17080 if test "${ac_cv_sizeof_long+set}" = set; then
17081 echo $ECHO_N "(cached) $ECHO_C" >&6
17082 else
17083 if test "$ac_cv_type_long" = yes; then
17084 # The cast to unsigned long works around a bug in the HP C Compiler
17085 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17086 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17087 # This bug is HP SR number 8606223364.
17088 if test "$cross_compiling" = yes; then
17089 # Depending upon the size, compute the lo and hi bounds.
17090 cat >conftest.$ac_ext <<_ACEOF
17091 /* confdefs.h. */
17092 _ACEOF
17093 cat confdefs.h >>conftest.$ac_ext
17094 cat >>conftest.$ac_ext <<_ACEOF
17095 /* end confdefs.h. */
17096 $ac_includes_default
17097 int
17098 main ()
17099 {
17100 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
17101 test_array [0] = 0
17102
17103 ;
17104 return 0;
17105 }
17106 _ACEOF
17107 rm -f conftest.$ac_objext
17108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17109 (eval $ac_compile) 2>conftest.er1
17110 ac_status=$?
17111 grep -v '^ *+' conftest.er1 >conftest.err
17112 rm -f conftest.er1
17113 cat conftest.err >&5
17114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17115 (exit $ac_status); } &&
17116 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17118 (eval $ac_try) 2>&5
17119 ac_status=$?
17120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17121 (exit $ac_status); }; } &&
17122 { ac_try='test -s conftest.$ac_objext'
17123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17124 (eval $ac_try) 2>&5
17125 ac_status=$?
17126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17127 (exit $ac_status); }; }; then
17128 ac_lo=0 ac_mid=0
17129 while :; do
17130 cat >conftest.$ac_ext <<_ACEOF
17131 /* confdefs.h. */
17132 _ACEOF
17133 cat confdefs.h >>conftest.$ac_ext
17134 cat >>conftest.$ac_ext <<_ACEOF
17135 /* end confdefs.h. */
17136 $ac_includes_default
17137 int
17138 main ()
17139 {
17140 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17141 test_array [0] = 0
17142
17143 ;
17144 return 0;
17145 }
17146 _ACEOF
17147 rm -f conftest.$ac_objext
17148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17149 (eval $ac_compile) 2>conftest.er1
17150 ac_status=$?
17151 grep -v '^ *+' conftest.er1 >conftest.err
17152 rm -f conftest.er1
17153 cat conftest.err >&5
17154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17155 (exit $ac_status); } &&
17156 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17158 (eval $ac_try) 2>&5
17159 ac_status=$?
17160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17161 (exit $ac_status); }; } &&
17162 { ac_try='test -s conftest.$ac_objext'
17163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17164 (eval $ac_try) 2>&5
17165 ac_status=$?
17166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17167 (exit $ac_status); }; }; then
17168 ac_hi=$ac_mid; break
17169 else
17170 echo "$as_me: failed program was:" >&5
17171 sed 's/^/| /' conftest.$ac_ext >&5
17172
17173 ac_lo=`expr $ac_mid + 1`
17174 if test $ac_lo -le $ac_mid; then
17175 ac_lo= ac_hi=
17176 break
17177 fi
17178 ac_mid=`expr 2 '*' $ac_mid + 1`
17179 fi
17180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17181 done
17182 else
17183 echo "$as_me: failed program was:" >&5
17184 sed 's/^/| /' conftest.$ac_ext >&5
17185
17186 cat >conftest.$ac_ext <<_ACEOF
17187 /* confdefs.h. */
17188 _ACEOF
17189 cat confdefs.h >>conftest.$ac_ext
17190 cat >>conftest.$ac_ext <<_ACEOF
17191 /* end confdefs.h. */
17192 $ac_includes_default
17193 int
17194 main ()
17195 {
17196 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
17197 test_array [0] = 0
17198
17199 ;
17200 return 0;
17201 }
17202 _ACEOF
17203 rm -f conftest.$ac_objext
17204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17205 (eval $ac_compile) 2>conftest.er1
17206 ac_status=$?
17207 grep -v '^ *+' conftest.er1 >conftest.err
17208 rm -f conftest.er1
17209 cat conftest.err >&5
17210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17211 (exit $ac_status); } &&
17212 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17214 (eval $ac_try) 2>&5
17215 ac_status=$?
17216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17217 (exit $ac_status); }; } &&
17218 { ac_try='test -s conftest.$ac_objext'
17219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17220 (eval $ac_try) 2>&5
17221 ac_status=$?
17222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17223 (exit $ac_status); }; }; then
17224 ac_hi=-1 ac_mid=-1
17225 while :; do
17226 cat >conftest.$ac_ext <<_ACEOF
17227 /* confdefs.h. */
17228 _ACEOF
17229 cat confdefs.h >>conftest.$ac_ext
17230 cat >>conftest.$ac_ext <<_ACEOF
17231 /* end confdefs.h. */
17232 $ac_includes_default
17233 int
17234 main ()
17235 {
17236 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
17237 test_array [0] = 0
17238
17239 ;
17240 return 0;
17241 }
17242 _ACEOF
17243 rm -f conftest.$ac_objext
17244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17245 (eval $ac_compile) 2>conftest.er1
17246 ac_status=$?
17247 grep -v '^ *+' conftest.er1 >conftest.err
17248 rm -f conftest.er1
17249 cat conftest.err >&5
17250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17251 (exit $ac_status); } &&
17252 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17254 (eval $ac_try) 2>&5
17255 ac_status=$?
17256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17257 (exit $ac_status); }; } &&
17258 { ac_try='test -s conftest.$ac_objext'
17259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17260 (eval $ac_try) 2>&5
17261 ac_status=$?
17262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17263 (exit $ac_status); }; }; then
17264 ac_lo=$ac_mid; break
17265 else
17266 echo "$as_me: failed program was:" >&5
17267 sed 's/^/| /' conftest.$ac_ext >&5
17268
17269 ac_hi=`expr '(' $ac_mid ')' - 1`
17270 if test $ac_mid -le $ac_hi; then
17271 ac_lo= ac_hi=
17272 break
17273 fi
17274 ac_mid=`expr 2 '*' $ac_mid`
17275 fi
17276 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17277 done
17278 else
17279 echo "$as_me: failed program was:" >&5
17280 sed 's/^/| /' conftest.$ac_ext >&5
17281
17282 ac_lo= ac_hi=
17283 fi
17284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17285 fi
17286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17287 # Binary search between lo and hi bounds.
17288 while test "x$ac_lo" != "x$ac_hi"; do
17289 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17290 cat >conftest.$ac_ext <<_ACEOF
17291 /* confdefs.h. */
17292 _ACEOF
17293 cat confdefs.h >>conftest.$ac_ext
17294 cat >>conftest.$ac_ext <<_ACEOF
17295 /* end confdefs.h. */
17296 $ac_includes_default
17297 int
17298 main ()
17299 {
17300 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17301 test_array [0] = 0
17302
17303 ;
17304 return 0;
17305 }
17306 _ACEOF
17307 rm -f conftest.$ac_objext
17308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17309 (eval $ac_compile) 2>conftest.er1
17310 ac_status=$?
17311 grep -v '^ *+' conftest.er1 >conftest.err
17312 rm -f conftest.er1
17313 cat conftest.err >&5
17314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17315 (exit $ac_status); } &&
17316 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17318 (eval $ac_try) 2>&5
17319 ac_status=$?
17320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17321 (exit $ac_status); }; } &&
17322 { ac_try='test -s conftest.$ac_objext'
17323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17324 (eval $ac_try) 2>&5
17325 ac_status=$?
17326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17327 (exit $ac_status); }; }; then
17328 ac_hi=$ac_mid
17329 else
17330 echo "$as_me: failed program was:" >&5
17331 sed 's/^/| /' conftest.$ac_ext >&5
17332
17333 ac_lo=`expr '(' $ac_mid ')' + 1`
17334 fi
17335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17336 done
17337 case $ac_lo in
17338 ?*) ac_cv_sizeof_long=$ac_lo;;
17339 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17340 See \`config.log' for more details." >&5
17341 echo "$as_me: error: cannot compute sizeof (long), 77
17342 See \`config.log' for more details." >&2;}
17343 { (exit 1); exit 1; }; } ;;
17344 esac
17345 else
17346 if test "$cross_compiling" = yes; then
17347 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17348 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17349 { (exit 1); exit 1; }; }
17350 else
17351 cat >conftest.$ac_ext <<_ACEOF
17352 /* confdefs.h. */
17353 _ACEOF
17354 cat confdefs.h >>conftest.$ac_ext
17355 cat >>conftest.$ac_ext <<_ACEOF
17356 /* end confdefs.h. */
17357 $ac_includes_default
17358 long longval () { return (long) (sizeof (long)); }
17359 unsigned long ulongval () { return (long) (sizeof (long)); }
17360 #include <stdio.h>
17361 #include <stdlib.h>
17362 int
17363 main ()
17364 {
17365
17366 FILE *f = fopen ("conftest.val", "w");
17367 if (! f)
17368 exit (1);
17369 if (((long) (sizeof (long))) < 0)
17370 {
17371 long i = longval ();
17372 if (i != ((long) (sizeof (long))))
17373 exit (1);
17374 fprintf (f, "%ld\n", i);
17375 }
17376 else
17377 {
17378 unsigned long i = ulongval ();
17379 if (i != ((long) (sizeof (long))))
17380 exit (1);
17381 fprintf (f, "%lu\n", i);
17382 }
17383 exit (ferror (f) || fclose (f) != 0);
17384
17385 ;
17386 return 0;
17387 }
17388 _ACEOF
17389 rm -f conftest$ac_exeext
17390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17391 (eval $ac_link) 2>&5
17392 ac_status=$?
17393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17394 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17396 (eval $ac_try) 2>&5
17397 ac_status=$?
17398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17399 (exit $ac_status); }; }; then
17400 ac_cv_sizeof_long=`cat conftest.val`
17401 else
17402 echo "$as_me: program exited with status $ac_status" >&5
17403 echo "$as_me: failed program was:" >&5
17404 sed 's/^/| /' conftest.$ac_ext >&5
17405
17406 ( exit $ac_status )
17407 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17408 See \`config.log' for more details." >&5
17409 echo "$as_me: error: cannot compute sizeof (long), 77
17410 See \`config.log' for more details." >&2;}
17411 { (exit 1); exit 1; }; }
17412 fi
17413 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17414 fi
17415 fi
17416 rm -f conftest.val
17417 else
17418 ac_cv_sizeof_long=0
17419 fi
17420 fi
17421 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
17422 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
17423 cat >>confdefs.h <<_ACEOF
17424 #define SIZEOF_LONG $ac_cv_sizeof_long
17425 _ACEOF
17426
17427
17428 echo "$as_me:$LINENO: checking for size_t" >&5
17429 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
17430 if test "${ac_cv_type_size_t+set}" = set; then
17431 echo $ECHO_N "(cached) $ECHO_C" >&6
17432 else
17433 cat >conftest.$ac_ext <<_ACEOF
17434 /* confdefs.h. */
17435 _ACEOF
17436 cat confdefs.h >>conftest.$ac_ext
17437 cat >>conftest.$ac_ext <<_ACEOF
17438 /* end confdefs.h. */
17439 $ac_includes_default
17440 int
17441 main ()
17442 {
17443 if ((size_t *) 0)
17444 return 0;
17445 if (sizeof (size_t))
17446 return 0;
17447 ;
17448 return 0;
17449 }
17450 _ACEOF
17451 rm -f conftest.$ac_objext
17452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17453 (eval $ac_compile) 2>conftest.er1
17454 ac_status=$?
17455 grep -v '^ *+' conftest.er1 >conftest.err
17456 rm -f conftest.er1
17457 cat conftest.err >&5
17458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17459 (exit $ac_status); } &&
17460 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17462 (eval $ac_try) 2>&5
17463 ac_status=$?
17464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17465 (exit $ac_status); }; } &&
17466 { ac_try='test -s conftest.$ac_objext'
17467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17468 (eval $ac_try) 2>&5
17469 ac_status=$?
17470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17471 (exit $ac_status); }; }; then
17472 ac_cv_type_size_t=yes
17473 else
17474 echo "$as_me: failed program was:" >&5
17475 sed 's/^/| /' conftest.$ac_ext >&5
17476
17477 ac_cv_type_size_t=no
17478 fi
17479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17480 fi
17481 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17482 echo "${ECHO_T}$ac_cv_type_size_t" >&6
17483
17484 echo "$as_me:$LINENO: checking size of size_t" >&5
17485 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
17486 if test "${ac_cv_sizeof_size_t+set}" = set; then
17487 echo $ECHO_N "(cached) $ECHO_C" >&6
17488 else
17489 if test "$ac_cv_type_size_t" = yes; then
17490 # The cast to unsigned long works around a bug in the HP C Compiler
17491 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17492 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17493 # This bug is HP SR number 8606223364.
17494 if test "$cross_compiling" = yes; then
17495 # Depending upon the size, compute the lo and hi bounds.
17496 cat >conftest.$ac_ext <<_ACEOF
17497 /* confdefs.h. */
17498 _ACEOF
17499 cat confdefs.h >>conftest.$ac_ext
17500 cat >>conftest.$ac_ext <<_ACEOF
17501 /* end confdefs.h. */
17502 $ac_includes_default
17503 int
17504 main ()
17505 {
17506 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
17507 test_array [0] = 0
17508
17509 ;
17510 return 0;
17511 }
17512 _ACEOF
17513 rm -f conftest.$ac_objext
17514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17515 (eval $ac_compile) 2>conftest.er1
17516 ac_status=$?
17517 grep -v '^ *+' conftest.er1 >conftest.err
17518 rm -f conftest.er1
17519 cat conftest.err >&5
17520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17521 (exit $ac_status); } &&
17522 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17524 (eval $ac_try) 2>&5
17525 ac_status=$?
17526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17527 (exit $ac_status); }; } &&
17528 { ac_try='test -s conftest.$ac_objext'
17529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17530 (eval $ac_try) 2>&5
17531 ac_status=$?
17532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17533 (exit $ac_status); }; }; then
17534 ac_lo=0 ac_mid=0
17535 while :; do
17536 cat >conftest.$ac_ext <<_ACEOF
17537 /* confdefs.h. */
17538 _ACEOF
17539 cat confdefs.h >>conftest.$ac_ext
17540 cat >>conftest.$ac_ext <<_ACEOF
17541 /* end confdefs.h. */
17542 $ac_includes_default
17543 int
17544 main ()
17545 {
17546 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17547 test_array [0] = 0
17548
17549 ;
17550 return 0;
17551 }
17552 _ACEOF
17553 rm -f conftest.$ac_objext
17554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17555 (eval $ac_compile) 2>conftest.er1
17556 ac_status=$?
17557 grep -v '^ *+' conftest.er1 >conftest.err
17558 rm -f conftest.er1
17559 cat conftest.err >&5
17560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17561 (exit $ac_status); } &&
17562 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17564 (eval $ac_try) 2>&5
17565 ac_status=$?
17566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17567 (exit $ac_status); }; } &&
17568 { ac_try='test -s conftest.$ac_objext'
17569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17570 (eval $ac_try) 2>&5
17571 ac_status=$?
17572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17573 (exit $ac_status); }; }; then
17574 ac_hi=$ac_mid; break
17575 else
17576 echo "$as_me: failed program was:" >&5
17577 sed 's/^/| /' conftest.$ac_ext >&5
17578
17579 ac_lo=`expr $ac_mid + 1`
17580 if test $ac_lo -le $ac_mid; then
17581 ac_lo= ac_hi=
17582 break
17583 fi
17584 ac_mid=`expr 2 '*' $ac_mid + 1`
17585 fi
17586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17587 done
17588 else
17589 echo "$as_me: failed program was:" >&5
17590 sed 's/^/| /' conftest.$ac_ext >&5
17591
17592 cat >conftest.$ac_ext <<_ACEOF
17593 /* confdefs.h. */
17594 _ACEOF
17595 cat confdefs.h >>conftest.$ac_ext
17596 cat >>conftest.$ac_ext <<_ACEOF
17597 /* end confdefs.h. */
17598 $ac_includes_default
17599 int
17600 main ()
17601 {
17602 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
17603 test_array [0] = 0
17604
17605 ;
17606 return 0;
17607 }
17608 _ACEOF
17609 rm -f conftest.$ac_objext
17610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17611 (eval $ac_compile) 2>conftest.er1
17612 ac_status=$?
17613 grep -v '^ *+' conftest.er1 >conftest.err
17614 rm -f conftest.er1
17615 cat conftest.err >&5
17616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17617 (exit $ac_status); } &&
17618 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17620 (eval $ac_try) 2>&5
17621 ac_status=$?
17622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17623 (exit $ac_status); }; } &&
17624 { ac_try='test -s conftest.$ac_objext'
17625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17626 (eval $ac_try) 2>&5
17627 ac_status=$?
17628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17629 (exit $ac_status); }; }; then
17630 ac_hi=-1 ac_mid=-1
17631 while :; do
17632 cat >conftest.$ac_ext <<_ACEOF
17633 /* confdefs.h. */
17634 _ACEOF
17635 cat confdefs.h >>conftest.$ac_ext
17636 cat >>conftest.$ac_ext <<_ACEOF
17637 /* end confdefs.h. */
17638 $ac_includes_default
17639 int
17640 main ()
17641 {
17642 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
17643 test_array [0] = 0
17644
17645 ;
17646 return 0;
17647 }
17648 _ACEOF
17649 rm -f conftest.$ac_objext
17650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17651 (eval $ac_compile) 2>conftest.er1
17652 ac_status=$?
17653 grep -v '^ *+' conftest.er1 >conftest.err
17654 rm -f conftest.er1
17655 cat conftest.err >&5
17656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17657 (exit $ac_status); } &&
17658 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17660 (eval $ac_try) 2>&5
17661 ac_status=$?
17662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17663 (exit $ac_status); }; } &&
17664 { ac_try='test -s conftest.$ac_objext'
17665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17666 (eval $ac_try) 2>&5
17667 ac_status=$?
17668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17669 (exit $ac_status); }; }; then
17670 ac_lo=$ac_mid; break
17671 else
17672 echo "$as_me: failed program was:" >&5
17673 sed 's/^/| /' conftest.$ac_ext >&5
17674
17675 ac_hi=`expr '(' $ac_mid ')' - 1`
17676 if test $ac_mid -le $ac_hi; then
17677 ac_lo= ac_hi=
17678 break
17679 fi
17680 ac_mid=`expr 2 '*' $ac_mid`
17681 fi
17682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17683 done
17684 else
17685 echo "$as_me: failed program was:" >&5
17686 sed 's/^/| /' conftest.$ac_ext >&5
17687
17688 ac_lo= ac_hi=
17689 fi
17690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17691 fi
17692 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17693 # Binary search between lo and hi bounds.
17694 while test "x$ac_lo" != "x$ac_hi"; do
17695 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17696 cat >conftest.$ac_ext <<_ACEOF
17697 /* confdefs.h. */
17698 _ACEOF
17699 cat confdefs.h >>conftest.$ac_ext
17700 cat >>conftest.$ac_ext <<_ACEOF
17701 /* end confdefs.h. */
17702 $ac_includes_default
17703 int
17704 main ()
17705 {
17706 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17707 test_array [0] = 0
17708
17709 ;
17710 return 0;
17711 }
17712 _ACEOF
17713 rm -f conftest.$ac_objext
17714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17715 (eval $ac_compile) 2>conftest.er1
17716 ac_status=$?
17717 grep -v '^ *+' conftest.er1 >conftest.err
17718 rm -f conftest.er1
17719 cat conftest.err >&5
17720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17721 (exit $ac_status); } &&
17722 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17724 (eval $ac_try) 2>&5
17725 ac_status=$?
17726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17727 (exit $ac_status); }; } &&
17728 { ac_try='test -s conftest.$ac_objext'
17729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17730 (eval $ac_try) 2>&5
17731 ac_status=$?
17732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17733 (exit $ac_status); }; }; then
17734 ac_hi=$ac_mid
17735 else
17736 echo "$as_me: failed program was:" >&5
17737 sed 's/^/| /' conftest.$ac_ext >&5
17738
17739 ac_lo=`expr '(' $ac_mid ')' + 1`
17740 fi
17741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17742 done
17743 case $ac_lo in
17744 ?*) ac_cv_sizeof_size_t=$ac_lo;;
17745 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17746 See \`config.log' for more details." >&5
17747 echo "$as_me: error: cannot compute sizeof (size_t), 77
17748 See \`config.log' for more details." >&2;}
17749 { (exit 1); exit 1; }; } ;;
17750 esac
17751 else
17752 if test "$cross_compiling" = yes; then
17753 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17754 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17755 { (exit 1); exit 1; }; }
17756 else
17757 cat >conftest.$ac_ext <<_ACEOF
17758 /* confdefs.h. */
17759 _ACEOF
17760 cat confdefs.h >>conftest.$ac_ext
17761 cat >>conftest.$ac_ext <<_ACEOF
17762 /* end confdefs.h. */
17763 $ac_includes_default
17764 long longval () { return (long) (sizeof (size_t)); }
17765 unsigned long ulongval () { return (long) (sizeof (size_t)); }
17766 #include <stdio.h>
17767 #include <stdlib.h>
17768 int
17769 main ()
17770 {
17771
17772 FILE *f = fopen ("conftest.val", "w");
17773 if (! f)
17774 exit (1);
17775 if (((long) (sizeof (size_t))) < 0)
17776 {
17777 long i = longval ();
17778 if (i != ((long) (sizeof (size_t))))
17779 exit (1);
17780 fprintf (f, "%ld\n", i);
17781 }
17782 else
17783 {
17784 unsigned long i = ulongval ();
17785 if (i != ((long) (sizeof (size_t))))
17786 exit (1);
17787 fprintf (f, "%lu\n", i);
17788 }
17789 exit (ferror (f) || fclose (f) != 0);
17790
17791 ;
17792 return 0;
17793 }
17794 _ACEOF
17795 rm -f conftest$ac_exeext
17796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17797 (eval $ac_link) 2>&5
17798 ac_status=$?
17799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17800 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17802 (eval $ac_try) 2>&5
17803 ac_status=$?
17804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17805 (exit $ac_status); }; }; then
17806 ac_cv_sizeof_size_t=`cat conftest.val`
17807 else
17808 echo "$as_me: program exited with status $ac_status" >&5
17809 echo "$as_me: failed program was:" >&5
17810 sed 's/^/| /' conftest.$ac_ext >&5
17811
17812 ( exit $ac_status )
17813 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17814 See \`config.log' for more details." >&5
17815 echo "$as_me: error: cannot compute sizeof (size_t), 77
17816 See \`config.log' for more details." >&2;}
17817 { (exit 1); exit 1; }; }
17818 fi
17819 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17820 fi
17821 fi
17822 rm -f conftest.val
17823 else
17824 ac_cv_sizeof_size_t=0
17825 fi
17826 fi
17827 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
17828 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
17829 cat >>confdefs.h <<_ACEOF
17830 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
17831 _ACEOF
17832
17833
17834
17835 case "${host}" in
17836 arm-*-linux* )
17837 echo "$as_me:$LINENO: checking for long long" >&5
17838 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17839 if test "${ac_cv_type_long_long+set}" = set; then
17840 echo $ECHO_N "(cached) $ECHO_C" >&6
17841 else
17842 cat >conftest.$ac_ext <<_ACEOF
17843 /* confdefs.h. */
17844 _ACEOF
17845 cat confdefs.h >>conftest.$ac_ext
17846 cat >>conftest.$ac_ext <<_ACEOF
17847 /* end confdefs.h. */
17848 $ac_includes_default
17849 int
17850 main ()
17851 {
17852 if ((long long *) 0)
17853 return 0;
17854 if (sizeof (long long))
17855 return 0;
17856 ;
17857 return 0;
17858 }
17859 _ACEOF
17860 rm -f conftest.$ac_objext
17861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17862 (eval $ac_compile) 2>conftest.er1
17863 ac_status=$?
17864 grep -v '^ *+' conftest.er1 >conftest.err
17865 rm -f conftest.er1
17866 cat conftest.err >&5
17867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17868 (exit $ac_status); } &&
17869 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
17875 { ac_try='test -s conftest.$ac_objext'
17876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17877 (eval $ac_try) 2>&5
17878 ac_status=$?
17879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17880 (exit $ac_status); }; }; then
17881 ac_cv_type_long_long=yes
17882 else
17883 echo "$as_me: failed program was:" >&5
17884 sed 's/^/| /' conftest.$ac_ext >&5
17885
17886 ac_cv_type_long_long=no
17887 fi
17888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17889 fi
17890 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17891 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17892
17893 echo "$as_me:$LINENO: checking size of long long" >&5
17894 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17895 if test "${ac_cv_sizeof_long_long+set}" = set; then
17896 echo $ECHO_N "(cached) $ECHO_C" >&6
17897 else
17898 if test "$ac_cv_type_long_long" = yes; then
17899 # The cast to unsigned long works around a bug in the HP C Compiler
17900 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17901 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17902 # This bug is HP SR number 8606223364.
17903 if test "$cross_compiling" = yes; then
17904 # Depending upon the size, compute the lo and hi bounds.
17905 cat >conftest.$ac_ext <<_ACEOF
17906 /* confdefs.h. */
17907 _ACEOF
17908 cat confdefs.h >>conftest.$ac_ext
17909 cat >>conftest.$ac_ext <<_ACEOF
17910 /* end confdefs.h. */
17911 $ac_includes_default
17912 int
17913 main ()
17914 {
17915 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17916 test_array [0] = 0
17917
17918 ;
17919 return 0;
17920 }
17921 _ACEOF
17922 rm -f conftest.$ac_objext
17923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17924 (eval $ac_compile) 2>conftest.er1
17925 ac_status=$?
17926 grep -v '^ *+' conftest.er1 >conftest.err
17927 rm -f conftest.er1
17928 cat conftest.err >&5
17929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17930 (exit $ac_status); } &&
17931 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17933 (eval $ac_try) 2>&5
17934 ac_status=$?
17935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17936 (exit $ac_status); }; } &&
17937 { ac_try='test -s conftest.$ac_objext'
17938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17939 (eval $ac_try) 2>&5
17940 ac_status=$?
17941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17942 (exit $ac_status); }; }; then
17943 ac_lo=0 ac_mid=0
17944 while :; do
17945 cat >conftest.$ac_ext <<_ACEOF
17946 /* confdefs.h. */
17947 _ACEOF
17948 cat confdefs.h >>conftest.$ac_ext
17949 cat >>conftest.$ac_ext <<_ACEOF
17950 /* end confdefs.h. */
17951 $ac_includes_default
17952 int
17953 main ()
17954 {
17955 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17956 test_array [0] = 0
17957
17958 ;
17959 return 0;
17960 }
17961 _ACEOF
17962 rm -f conftest.$ac_objext
17963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17964 (eval $ac_compile) 2>conftest.er1
17965 ac_status=$?
17966 grep -v '^ *+' conftest.er1 >conftest.err
17967 rm -f conftest.er1
17968 cat conftest.err >&5
17969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17970 (exit $ac_status); } &&
17971 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17973 (eval $ac_try) 2>&5
17974 ac_status=$?
17975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17976 (exit $ac_status); }; } &&
17977 { ac_try='test -s conftest.$ac_objext'
17978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17979 (eval $ac_try) 2>&5
17980 ac_status=$?
17981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17982 (exit $ac_status); }; }; then
17983 ac_hi=$ac_mid; break
17984 else
17985 echo "$as_me: failed program was:" >&5
17986 sed 's/^/| /' conftest.$ac_ext >&5
17987
17988 ac_lo=`expr $ac_mid + 1`
17989 if test $ac_lo -le $ac_mid; then
17990 ac_lo= ac_hi=
17991 break
17992 fi
17993 ac_mid=`expr 2 '*' $ac_mid + 1`
17994 fi
17995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17996 done
17997 else
17998 echo "$as_me: failed program was:" >&5
17999 sed 's/^/| /' conftest.$ac_ext >&5
18000
18001 cat >conftest.$ac_ext <<_ACEOF
18002 /* confdefs.h. */
18003 _ACEOF
18004 cat confdefs.h >>conftest.$ac_ext
18005 cat >>conftest.$ac_ext <<_ACEOF
18006 /* end confdefs.h. */
18007 $ac_includes_default
18008 int
18009 main ()
18010 {
18011 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18012 test_array [0] = 0
18013
18014 ;
18015 return 0;
18016 }
18017 _ACEOF
18018 rm -f conftest.$ac_objext
18019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18020 (eval $ac_compile) 2>conftest.er1
18021 ac_status=$?
18022 grep -v '^ *+' conftest.er1 >conftest.err
18023 rm -f conftest.er1
18024 cat conftest.err >&5
18025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18026 (exit $ac_status); } &&
18027 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18029 (eval $ac_try) 2>&5
18030 ac_status=$?
18031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18032 (exit $ac_status); }; } &&
18033 { ac_try='test -s conftest.$ac_objext'
18034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18035 (eval $ac_try) 2>&5
18036 ac_status=$?
18037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18038 (exit $ac_status); }; }; then
18039 ac_hi=-1 ac_mid=-1
18040 while :; do
18041 cat >conftest.$ac_ext <<_ACEOF
18042 /* confdefs.h. */
18043 _ACEOF
18044 cat confdefs.h >>conftest.$ac_ext
18045 cat >>conftest.$ac_ext <<_ACEOF
18046 /* end confdefs.h. */
18047 $ac_includes_default
18048 int
18049 main ()
18050 {
18051 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18052 test_array [0] = 0
18053
18054 ;
18055 return 0;
18056 }
18057 _ACEOF
18058 rm -f conftest.$ac_objext
18059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18060 (eval $ac_compile) 2>conftest.er1
18061 ac_status=$?
18062 grep -v '^ *+' conftest.er1 >conftest.err
18063 rm -f conftest.er1
18064 cat conftest.err >&5
18065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18066 (exit $ac_status); } &&
18067 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18069 (eval $ac_try) 2>&5
18070 ac_status=$?
18071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18072 (exit $ac_status); }; } &&
18073 { ac_try='test -s conftest.$ac_objext'
18074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18075 (eval $ac_try) 2>&5
18076 ac_status=$?
18077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18078 (exit $ac_status); }; }; then
18079 ac_lo=$ac_mid; break
18080 else
18081 echo "$as_me: failed program was:" >&5
18082 sed 's/^/| /' conftest.$ac_ext >&5
18083
18084 ac_hi=`expr '(' $ac_mid ')' - 1`
18085 if test $ac_mid -le $ac_hi; then
18086 ac_lo= ac_hi=
18087 break
18088 fi
18089 ac_mid=`expr 2 '*' $ac_mid`
18090 fi
18091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18092 done
18093 else
18094 echo "$as_me: failed program was:" >&5
18095 sed 's/^/| /' conftest.$ac_ext >&5
18096
18097 ac_lo= ac_hi=
18098 fi
18099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18100 fi
18101 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18102 # Binary search between lo and hi bounds.
18103 while test "x$ac_lo" != "x$ac_hi"; do
18104 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18105 cat >conftest.$ac_ext <<_ACEOF
18106 /* confdefs.h. */
18107 _ACEOF
18108 cat confdefs.h >>conftest.$ac_ext
18109 cat >>conftest.$ac_ext <<_ACEOF
18110 /* end confdefs.h. */
18111 $ac_includes_default
18112 int
18113 main ()
18114 {
18115 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18116 test_array [0] = 0
18117
18118 ;
18119 return 0;
18120 }
18121 _ACEOF
18122 rm -f conftest.$ac_objext
18123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18124 (eval $ac_compile) 2>conftest.er1
18125 ac_status=$?
18126 grep -v '^ *+' conftest.er1 >conftest.err
18127 rm -f conftest.er1
18128 cat conftest.err >&5
18129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18130 (exit $ac_status); } &&
18131 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18133 (eval $ac_try) 2>&5
18134 ac_status=$?
18135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18136 (exit $ac_status); }; } &&
18137 { ac_try='test -s conftest.$ac_objext'
18138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18139 (eval $ac_try) 2>&5
18140 ac_status=$?
18141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18142 (exit $ac_status); }; }; then
18143 ac_hi=$ac_mid
18144 else
18145 echo "$as_me: failed program was:" >&5
18146 sed 's/^/| /' conftest.$ac_ext >&5
18147
18148 ac_lo=`expr '(' $ac_mid ')' + 1`
18149 fi
18150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18151 done
18152 case $ac_lo in
18153 ?*) ac_cv_sizeof_long_long=$ac_lo;;
18154 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18155 See \`config.log' for more details." >&5
18156 echo "$as_me: error: cannot compute sizeof (long long), 77
18157 See \`config.log' for more details." >&2;}
18158 { (exit 1); exit 1; }; } ;;
18159 esac
18160 else
18161 if test "$cross_compiling" = yes; then
18162 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18163 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18164 { (exit 1); exit 1; }; }
18165 else
18166 cat >conftest.$ac_ext <<_ACEOF
18167 /* confdefs.h. */
18168 _ACEOF
18169 cat confdefs.h >>conftest.$ac_ext
18170 cat >>conftest.$ac_ext <<_ACEOF
18171 /* end confdefs.h. */
18172 $ac_includes_default
18173 long longval () { return (long) (sizeof (long long)); }
18174 unsigned long ulongval () { return (long) (sizeof (long long)); }
18175 #include <stdio.h>
18176 #include <stdlib.h>
18177 int
18178 main ()
18179 {
18180
18181 FILE *f = fopen ("conftest.val", "w");
18182 if (! f)
18183 exit (1);
18184 if (((long) (sizeof (long long))) < 0)
18185 {
18186 long i = longval ();
18187 if (i != ((long) (sizeof (long long))))
18188 exit (1);
18189 fprintf (f, "%ld\n", i);
18190 }
18191 else
18192 {
18193 unsigned long i = ulongval ();
18194 if (i != ((long) (sizeof (long long))))
18195 exit (1);
18196 fprintf (f, "%lu\n", i);
18197 }
18198 exit (ferror (f) || fclose (f) != 0);
18199
18200 ;
18201 return 0;
18202 }
18203 _ACEOF
18204 rm -f conftest$ac_exeext
18205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18206 (eval $ac_link) 2>&5
18207 ac_status=$?
18208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18209 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18211 (eval $ac_try) 2>&5
18212 ac_status=$?
18213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18214 (exit $ac_status); }; }; then
18215 ac_cv_sizeof_long_long=`cat conftest.val`
18216 else
18217 echo "$as_me: program exited with status $ac_status" >&5
18218 echo "$as_me: failed program was:" >&5
18219 sed 's/^/| /' conftest.$ac_ext >&5
18220
18221 ( exit $ac_status )
18222 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18223 See \`config.log' for more details." >&5
18224 echo "$as_me: error: cannot compute sizeof (long long), 77
18225 See \`config.log' for more details." >&2;}
18226 { (exit 1); exit 1; }; }
18227 fi
18228 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18229 fi
18230 fi
18231 rm -f conftest.val
18232 else
18233 ac_cv_sizeof_long_long=0
18234 fi
18235 fi
18236 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18237 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18238 cat >>confdefs.h <<_ACEOF
18239 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18240 _ACEOF
18241
18242
18243 ;;
18244 *-hp-hpux* )
18245 echo "$as_me:$LINENO: checking for long long" >&5
18246 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18247 if test "${ac_cv_type_long_long+set}" = set; then
18248 echo $ECHO_N "(cached) $ECHO_C" >&6
18249 else
18250 cat >conftest.$ac_ext <<_ACEOF
18251 /* confdefs.h. */
18252 _ACEOF
18253 cat confdefs.h >>conftest.$ac_ext
18254 cat >>conftest.$ac_ext <<_ACEOF
18255 /* end confdefs.h. */
18256 $ac_includes_default
18257 int
18258 main ()
18259 {
18260 if ((long long *) 0)
18261 return 0;
18262 if (sizeof (long long))
18263 return 0;
18264 ;
18265 return 0;
18266 }
18267 _ACEOF
18268 rm -f conftest.$ac_objext
18269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18270 (eval $ac_compile) 2>conftest.er1
18271 ac_status=$?
18272 grep -v '^ *+' conftest.er1 >conftest.err
18273 rm -f conftest.er1
18274 cat conftest.err >&5
18275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18276 (exit $ac_status); } &&
18277 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18279 (eval $ac_try) 2>&5
18280 ac_status=$?
18281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18282 (exit $ac_status); }; } &&
18283 { ac_try='test -s conftest.$ac_objext'
18284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18285 (eval $ac_try) 2>&5
18286 ac_status=$?
18287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18288 (exit $ac_status); }; }; then
18289 ac_cv_type_long_long=yes
18290 else
18291 echo "$as_me: failed program was:" >&5
18292 sed 's/^/| /' conftest.$ac_ext >&5
18293
18294 ac_cv_type_long_long=no
18295 fi
18296 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18297 fi
18298 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18299 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18300
18301 echo "$as_me:$LINENO: checking size of long long" >&5
18302 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18303 if test "${ac_cv_sizeof_long_long+set}" = set; then
18304 echo $ECHO_N "(cached) $ECHO_C" >&6
18305 else
18306 if test "$ac_cv_type_long_long" = yes; then
18307 # The cast to unsigned long works around a bug in the HP C Compiler
18308 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18309 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18310 # This bug is HP SR number 8606223364.
18311 if test "$cross_compiling" = yes; then
18312 # Depending upon the size, compute the lo and hi bounds.
18313 cat >conftest.$ac_ext <<_ACEOF
18314 /* confdefs.h. */
18315 _ACEOF
18316 cat confdefs.h >>conftest.$ac_ext
18317 cat >>conftest.$ac_ext <<_ACEOF
18318 /* end confdefs.h. */
18319 $ac_includes_default
18320 int
18321 main ()
18322 {
18323 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18324 test_array [0] = 0
18325
18326 ;
18327 return 0;
18328 }
18329 _ACEOF
18330 rm -f conftest.$ac_objext
18331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18332 (eval $ac_compile) 2>conftest.er1
18333 ac_status=$?
18334 grep -v '^ *+' conftest.er1 >conftest.err
18335 rm -f conftest.er1
18336 cat conftest.err >&5
18337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18338 (exit $ac_status); } &&
18339 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18341 (eval $ac_try) 2>&5
18342 ac_status=$?
18343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18344 (exit $ac_status); }; } &&
18345 { ac_try='test -s conftest.$ac_objext'
18346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18347 (eval $ac_try) 2>&5
18348 ac_status=$?
18349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18350 (exit $ac_status); }; }; then
18351 ac_lo=0 ac_mid=0
18352 while :; do
18353 cat >conftest.$ac_ext <<_ACEOF
18354 /* confdefs.h. */
18355 _ACEOF
18356 cat confdefs.h >>conftest.$ac_ext
18357 cat >>conftest.$ac_ext <<_ACEOF
18358 /* end confdefs.h. */
18359 $ac_includes_default
18360 int
18361 main ()
18362 {
18363 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18364 test_array [0] = 0
18365
18366 ;
18367 return 0;
18368 }
18369 _ACEOF
18370 rm -f conftest.$ac_objext
18371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18372 (eval $ac_compile) 2>conftest.er1
18373 ac_status=$?
18374 grep -v '^ *+' conftest.er1 >conftest.err
18375 rm -f conftest.er1
18376 cat conftest.err >&5
18377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18378 (exit $ac_status); } &&
18379 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18381 (eval $ac_try) 2>&5
18382 ac_status=$?
18383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18384 (exit $ac_status); }; } &&
18385 { ac_try='test -s conftest.$ac_objext'
18386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18387 (eval $ac_try) 2>&5
18388 ac_status=$?
18389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18390 (exit $ac_status); }; }; then
18391 ac_hi=$ac_mid; break
18392 else
18393 echo "$as_me: failed program was:" >&5
18394 sed 's/^/| /' conftest.$ac_ext >&5
18395
18396 ac_lo=`expr $ac_mid + 1`
18397 if test $ac_lo -le $ac_mid; then
18398 ac_lo= ac_hi=
18399 break
18400 fi
18401 ac_mid=`expr 2 '*' $ac_mid + 1`
18402 fi
18403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18404 done
18405 else
18406 echo "$as_me: failed program was:" >&5
18407 sed 's/^/| /' conftest.$ac_ext >&5
18408
18409 cat >conftest.$ac_ext <<_ACEOF
18410 /* confdefs.h. */
18411 _ACEOF
18412 cat confdefs.h >>conftest.$ac_ext
18413 cat >>conftest.$ac_ext <<_ACEOF
18414 /* end confdefs.h. */
18415 $ac_includes_default
18416 int
18417 main ()
18418 {
18419 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18420 test_array [0] = 0
18421
18422 ;
18423 return 0;
18424 }
18425 _ACEOF
18426 rm -f conftest.$ac_objext
18427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18428 (eval $ac_compile) 2>conftest.er1
18429 ac_status=$?
18430 grep -v '^ *+' conftest.er1 >conftest.err
18431 rm -f conftest.er1
18432 cat conftest.err >&5
18433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18434 (exit $ac_status); } &&
18435 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18437 (eval $ac_try) 2>&5
18438 ac_status=$?
18439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18440 (exit $ac_status); }; } &&
18441 { ac_try='test -s conftest.$ac_objext'
18442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18443 (eval $ac_try) 2>&5
18444 ac_status=$?
18445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18446 (exit $ac_status); }; }; then
18447 ac_hi=-1 ac_mid=-1
18448 while :; do
18449 cat >conftest.$ac_ext <<_ACEOF
18450 /* confdefs.h. */
18451 _ACEOF
18452 cat confdefs.h >>conftest.$ac_ext
18453 cat >>conftest.$ac_ext <<_ACEOF
18454 /* end confdefs.h. */
18455 $ac_includes_default
18456 int
18457 main ()
18458 {
18459 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18460 test_array [0] = 0
18461
18462 ;
18463 return 0;
18464 }
18465 _ACEOF
18466 rm -f conftest.$ac_objext
18467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18468 (eval $ac_compile) 2>conftest.er1
18469 ac_status=$?
18470 grep -v '^ *+' conftest.er1 >conftest.err
18471 rm -f conftest.er1
18472 cat conftest.err >&5
18473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18474 (exit $ac_status); } &&
18475 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18477 (eval $ac_try) 2>&5
18478 ac_status=$?
18479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18480 (exit $ac_status); }; } &&
18481 { ac_try='test -s conftest.$ac_objext'
18482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18483 (eval $ac_try) 2>&5
18484 ac_status=$?
18485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18486 (exit $ac_status); }; }; then
18487 ac_lo=$ac_mid; break
18488 else
18489 echo "$as_me: failed program was:" >&5
18490 sed 's/^/| /' conftest.$ac_ext >&5
18491
18492 ac_hi=`expr '(' $ac_mid ')' - 1`
18493 if test $ac_mid -le $ac_hi; then
18494 ac_lo= ac_hi=
18495 break
18496 fi
18497 ac_mid=`expr 2 '*' $ac_mid`
18498 fi
18499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18500 done
18501 else
18502 echo "$as_me: failed program was:" >&5
18503 sed 's/^/| /' conftest.$ac_ext >&5
18504
18505 ac_lo= ac_hi=
18506 fi
18507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18508 fi
18509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18510 # Binary search between lo and hi bounds.
18511 while test "x$ac_lo" != "x$ac_hi"; do
18512 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18513 cat >conftest.$ac_ext <<_ACEOF
18514 /* confdefs.h. */
18515 _ACEOF
18516 cat confdefs.h >>conftest.$ac_ext
18517 cat >>conftest.$ac_ext <<_ACEOF
18518 /* end confdefs.h. */
18519 $ac_includes_default
18520 int
18521 main ()
18522 {
18523 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18524 test_array [0] = 0
18525
18526 ;
18527 return 0;
18528 }
18529 _ACEOF
18530 rm -f conftest.$ac_objext
18531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18532 (eval $ac_compile) 2>conftest.er1
18533 ac_status=$?
18534 grep -v '^ *+' conftest.er1 >conftest.err
18535 rm -f conftest.er1
18536 cat conftest.err >&5
18537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18538 (exit $ac_status); } &&
18539 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18541 (eval $ac_try) 2>&5
18542 ac_status=$?
18543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18544 (exit $ac_status); }; } &&
18545 { ac_try='test -s conftest.$ac_objext'
18546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18547 (eval $ac_try) 2>&5
18548 ac_status=$?
18549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18550 (exit $ac_status); }; }; then
18551 ac_hi=$ac_mid
18552 else
18553 echo "$as_me: failed program was:" >&5
18554 sed 's/^/| /' conftest.$ac_ext >&5
18555
18556 ac_lo=`expr '(' $ac_mid ')' + 1`
18557 fi
18558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18559 done
18560 case $ac_lo in
18561 ?*) ac_cv_sizeof_long_long=$ac_lo;;
18562 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18563 See \`config.log' for more details." >&5
18564 echo "$as_me: error: cannot compute sizeof (long long), 77
18565 See \`config.log' for more details." >&2;}
18566 { (exit 1); exit 1; }; } ;;
18567 esac
18568 else
18569 if test "$cross_compiling" = yes; then
18570 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18571 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18572 { (exit 1); exit 1; }; }
18573 else
18574 cat >conftest.$ac_ext <<_ACEOF
18575 /* confdefs.h. */
18576 _ACEOF
18577 cat confdefs.h >>conftest.$ac_ext
18578 cat >>conftest.$ac_ext <<_ACEOF
18579 /* end confdefs.h. */
18580 $ac_includes_default
18581 long longval () { return (long) (sizeof (long long)); }
18582 unsigned long ulongval () { return (long) (sizeof (long long)); }
18583 #include <stdio.h>
18584 #include <stdlib.h>
18585 int
18586 main ()
18587 {
18588
18589 FILE *f = fopen ("conftest.val", "w");
18590 if (! f)
18591 exit (1);
18592 if (((long) (sizeof (long long))) < 0)
18593 {
18594 long i = longval ();
18595 if (i != ((long) (sizeof (long long))))
18596 exit (1);
18597 fprintf (f, "%ld\n", i);
18598 }
18599 else
18600 {
18601 unsigned long i = ulongval ();
18602 if (i != ((long) (sizeof (long long))))
18603 exit (1);
18604 fprintf (f, "%lu\n", i);
18605 }
18606 exit (ferror (f) || fclose (f) != 0);
18607
18608 ;
18609 return 0;
18610 }
18611 _ACEOF
18612 rm -f conftest$ac_exeext
18613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18614 (eval $ac_link) 2>&5
18615 ac_status=$?
18616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18617 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18619 (eval $ac_try) 2>&5
18620 ac_status=$?
18621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18622 (exit $ac_status); }; }; then
18623 ac_cv_sizeof_long_long=`cat conftest.val`
18624 else
18625 echo "$as_me: program exited with status $ac_status" >&5
18626 echo "$as_me: failed program was:" >&5
18627 sed 's/^/| /' conftest.$ac_ext >&5
18628
18629 ( exit $ac_status )
18630 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18631 See \`config.log' for more details." >&5
18632 echo "$as_me: error: cannot compute sizeof (long long), 77
18633 See \`config.log' for more details." >&2;}
18634 { (exit 1); exit 1; }; }
18635 fi
18636 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18637 fi
18638 fi
18639 rm -f conftest.val
18640 else
18641 ac_cv_sizeof_long_long=0
18642 fi
18643 fi
18644 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18645 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18646 cat >>confdefs.h <<_ACEOF
18647 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18648 _ACEOF
18649
18650
18651 if test "$ac_cv_sizeof_long_long" != "0"; then
18652 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
18653 fi
18654 ;;
18655 * )
18656 echo "$as_me:$LINENO: checking for long long" >&5
18657 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18658 if test "${ac_cv_type_long_long+set}" = set; then
18659 echo $ECHO_N "(cached) $ECHO_C" >&6
18660 else
18661 cat >conftest.$ac_ext <<_ACEOF
18662 /* confdefs.h. */
18663 _ACEOF
18664 cat confdefs.h >>conftest.$ac_ext
18665 cat >>conftest.$ac_ext <<_ACEOF
18666 /* end confdefs.h. */
18667 $ac_includes_default
18668 int
18669 main ()
18670 {
18671 if ((long long *) 0)
18672 return 0;
18673 if (sizeof (long long))
18674 return 0;
18675 ;
18676 return 0;
18677 }
18678 _ACEOF
18679 rm -f conftest.$ac_objext
18680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18681 (eval $ac_compile) 2>conftest.er1
18682 ac_status=$?
18683 grep -v '^ *+' conftest.er1 >conftest.err
18684 rm -f conftest.er1
18685 cat conftest.err >&5
18686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18687 (exit $ac_status); } &&
18688 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18690 (eval $ac_try) 2>&5
18691 ac_status=$?
18692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18693 (exit $ac_status); }; } &&
18694 { ac_try='test -s conftest.$ac_objext'
18695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18696 (eval $ac_try) 2>&5
18697 ac_status=$?
18698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18699 (exit $ac_status); }; }; then
18700 ac_cv_type_long_long=yes
18701 else
18702 echo "$as_me: failed program was:" >&5
18703 sed 's/^/| /' conftest.$ac_ext >&5
18704
18705 ac_cv_type_long_long=no
18706 fi
18707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18708 fi
18709 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18710 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18711
18712 echo "$as_me:$LINENO: checking size of long long" >&5
18713 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18714 if test "${ac_cv_sizeof_long_long+set}" = set; then
18715 echo $ECHO_N "(cached) $ECHO_C" >&6
18716 else
18717 if test "$ac_cv_type_long_long" = yes; then
18718 # The cast to unsigned long works around a bug in the HP C Compiler
18719 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18720 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18721 # This bug is HP SR number 8606223364.
18722 if test "$cross_compiling" = yes; then
18723 # Depending upon the size, compute the lo and hi bounds.
18724 cat >conftest.$ac_ext <<_ACEOF
18725 /* confdefs.h. */
18726 _ACEOF
18727 cat confdefs.h >>conftest.$ac_ext
18728 cat >>conftest.$ac_ext <<_ACEOF
18729 /* end confdefs.h. */
18730 $ac_includes_default
18731 int
18732 main ()
18733 {
18734 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18735 test_array [0] = 0
18736
18737 ;
18738 return 0;
18739 }
18740 _ACEOF
18741 rm -f conftest.$ac_objext
18742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18743 (eval $ac_compile) 2>conftest.er1
18744 ac_status=$?
18745 grep -v '^ *+' conftest.er1 >conftest.err
18746 rm -f conftest.er1
18747 cat conftest.err >&5
18748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18749 (exit $ac_status); } &&
18750 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18752 (eval $ac_try) 2>&5
18753 ac_status=$?
18754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18755 (exit $ac_status); }; } &&
18756 { ac_try='test -s conftest.$ac_objext'
18757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18758 (eval $ac_try) 2>&5
18759 ac_status=$?
18760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18761 (exit $ac_status); }; }; then
18762 ac_lo=0 ac_mid=0
18763 while :; do
18764 cat >conftest.$ac_ext <<_ACEOF
18765 /* confdefs.h. */
18766 _ACEOF
18767 cat confdefs.h >>conftest.$ac_ext
18768 cat >>conftest.$ac_ext <<_ACEOF
18769 /* end confdefs.h. */
18770 $ac_includes_default
18771 int
18772 main ()
18773 {
18774 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18775 test_array [0] = 0
18776
18777 ;
18778 return 0;
18779 }
18780 _ACEOF
18781 rm -f conftest.$ac_objext
18782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18783 (eval $ac_compile) 2>conftest.er1
18784 ac_status=$?
18785 grep -v '^ *+' conftest.er1 >conftest.err
18786 rm -f conftest.er1
18787 cat conftest.err >&5
18788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18789 (exit $ac_status); } &&
18790 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18792 (eval $ac_try) 2>&5
18793 ac_status=$?
18794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18795 (exit $ac_status); }; } &&
18796 { ac_try='test -s conftest.$ac_objext'
18797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18798 (eval $ac_try) 2>&5
18799 ac_status=$?
18800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18801 (exit $ac_status); }; }; then
18802 ac_hi=$ac_mid; break
18803 else
18804 echo "$as_me: failed program was:" >&5
18805 sed 's/^/| /' conftest.$ac_ext >&5
18806
18807 ac_lo=`expr $ac_mid + 1`
18808 if test $ac_lo -le $ac_mid; then
18809 ac_lo= ac_hi=
18810 break
18811 fi
18812 ac_mid=`expr 2 '*' $ac_mid + 1`
18813 fi
18814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18815 done
18816 else
18817 echo "$as_me: failed program was:" >&5
18818 sed 's/^/| /' conftest.$ac_ext >&5
18819
18820 cat >conftest.$ac_ext <<_ACEOF
18821 /* confdefs.h. */
18822 _ACEOF
18823 cat confdefs.h >>conftest.$ac_ext
18824 cat >>conftest.$ac_ext <<_ACEOF
18825 /* end confdefs.h. */
18826 $ac_includes_default
18827 int
18828 main ()
18829 {
18830 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18831 test_array [0] = 0
18832
18833 ;
18834 return 0;
18835 }
18836 _ACEOF
18837 rm -f conftest.$ac_objext
18838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18839 (eval $ac_compile) 2>conftest.er1
18840 ac_status=$?
18841 grep -v '^ *+' conftest.er1 >conftest.err
18842 rm -f conftest.er1
18843 cat conftest.err >&5
18844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18845 (exit $ac_status); } &&
18846 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18848 (eval $ac_try) 2>&5
18849 ac_status=$?
18850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18851 (exit $ac_status); }; } &&
18852 { ac_try='test -s conftest.$ac_objext'
18853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18854 (eval $ac_try) 2>&5
18855 ac_status=$?
18856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18857 (exit $ac_status); }; }; then
18858 ac_hi=-1 ac_mid=-1
18859 while :; do
18860 cat >conftest.$ac_ext <<_ACEOF
18861 /* confdefs.h. */
18862 _ACEOF
18863 cat confdefs.h >>conftest.$ac_ext
18864 cat >>conftest.$ac_ext <<_ACEOF
18865 /* end confdefs.h. */
18866 $ac_includes_default
18867 int
18868 main ()
18869 {
18870 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18871 test_array [0] = 0
18872
18873 ;
18874 return 0;
18875 }
18876 _ACEOF
18877 rm -f conftest.$ac_objext
18878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18879 (eval $ac_compile) 2>conftest.er1
18880 ac_status=$?
18881 grep -v '^ *+' conftest.er1 >conftest.err
18882 rm -f conftest.er1
18883 cat conftest.err >&5
18884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18885 (exit $ac_status); } &&
18886 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18888 (eval $ac_try) 2>&5
18889 ac_status=$?
18890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18891 (exit $ac_status); }; } &&
18892 { ac_try='test -s conftest.$ac_objext'
18893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18894 (eval $ac_try) 2>&5
18895 ac_status=$?
18896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18897 (exit $ac_status); }; }; then
18898 ac_lo=$ac_mid; break
18899 else
18900 echo "$as_me: failed program was:" >&5
18901 sed 's/^/| /' conftest.$ac_ext >&5
18902
18903 ac_hi=`expr '(' $ac_mid ')' - 1`
18904 if test $ac_mid -le $ac_hi; then
18905 ac_lo= ac_hi=
18906 break
18907 fi
18908 ac_mid=`expr 2 '*' $ac_mid`
18909 fi
18910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18911 done
18912 else
18913 echo "$as_me: failed program was:" >&5
18914 sed 's/^/| /' conftest.$ac_ext >&5
18915
18916 ac_lo= ac_hi=
18917 fi
18918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18919 fi
18920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18921 # Binary search between lo and hi bounds.
18922 while test "x$ac_lo" != "x$ac_hi"; do
18923 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18924 cat >conftest.$ac_ext <<_ACEOF
18925 /* confdefs.h. */
18926 _ACEOF
18927 cat confdefs.h >>conftest.$ac_ext
18928 cat >>conftest.$ac_ext <<_ACEOF
18929 /* end confdefs.h. */
18930 $ac_includes_default
18931 int
18932 main ()
18933 {
18934 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18935 test_array [0] = 0
18936
18937 ;
18938 return 0;
18939 }
18940 _ACEOF
18941 rm -f conftest.$ac_objext
18942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18943 (eval $ac_compile) 2>conftest.er1
18944 ac_status=$?
18945 grep -v '^ *+' conftest.er1 >conftest.err
18946 rm -f conftest.er1
18947 cat conftest.err >&5
18948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18949 (exit $ac_status); } &&
18950 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18952 (eval $ac_try) 2>&5
18953 ac_status=$?
18954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18955 (exit $ac_status); }; } &&
18956 { ac_try='test -s conftest.$ac_objext'
18957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18958 (eval $ac_try) 2>&5
18959 ac_status=$?
18960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18961 (exit $ac_status); }; }; then
18962 ac_hi=$ac_mid
18963 else
18964 echo "$as_me: failed program was:" >&5
18965 sed 's/^/| /' conftest.$ac_ext >&5
18966
18967 ac_lo=`expr '(' $ac_mid ')' + 1`
18968 fi
18969 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18970 done
18971 case $ac_lo in
18972 ?*) ac_cv_sizeof_long_long=$ac_lo;;
18973 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18974 See \`config.log' for more details." >&5
18975 echo "$as_me: error: cannot compute sizeof (long long), 77
18976 See \`config.log' for more details." >&2;}
18977 { (exit 1); exit 1; }; } ;;
18978 esac
18979 else
18980 if test "$cross_compiling" = yes; then
18981 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18982 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18983 { (exit 1); exit 1; }; }
18984 else
18985 cat >conftest.$ac_ext <<_ACEOF
18986 /* confdefs.h. */
18987 _ACEOF
18988 cat confdefs.h >>conftest.$ac_ext
18989 cat >>conftest.$ac_ext <<_ACEOF
18990 /* end confdefs.h. */
18991 $ac_includes_default
18992 long longval () { return (long) (sizeof (long long)); }
18993 unsigned long ulongval () { return (long) (sizeof (long long)); }
18994 #include <stdio.h>
18995 #include <stdlib.h>
18996 int
18997 main ()
18998 {
18999
19000 FILE *f = fopen ("conftest.val", "w");
19001 if (! f)
19002 exit (1);
19003 if (((long) (sizeof (long long))) < 0)
19004 {
19005 long i = longval ();
19006 if (i != ((long) (sizeof (long long))))
19007 exit (1);
19008 fprintf (f, "%ld\n", i);
19009 }
19010 else
19011 {
19012 unsigned long i = ulongval ();
19013 if (i != ((long) (sizeof (long long))))
19014 exit (1);
19015 fprintf (f, "%lu\n", i);
19016 }
19017 exit (ferror (f) || fclose (f) != 0);
19018
19019 ;
19020 return 0;
19021 }
19022 _ACEOF
19023 rm -f conftest$ac_exeext
19024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19025 (eval $ac_link) 2>&5
19026 ac_status=$?
19027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19028 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19030 (eval $ac_try) 2>&5
19031 ac_status=$?
19032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19033 (exit $ac_status); }; }; then
19034 ac_cv_sizeof_long_long=`cat conftest.val`
19035 else
19036 echo "$as_me: program exited with status $ac_status" >&5
19037 echo "$as_me: failed program was:" >&5
19038 sed 's/^/| /' conftest.$ac_ext >&5
19039
19040 ( exit $ac_status )
19041 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19042 See \`config.log' for more details." >&5
19043 echo "$as_me: error: cannot compute sizeof (long long), 77
19044 See \`config.log' for more details." >&2;}
19045 { (exit 1); exit 1; }; }
19046 fi
19047 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19048 fi
19049 fi
19050 rm -f conftest.val
19051 else
19052 ac_cv_sizeof_long_long=0
19053 fi
19054 fi
19055 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19056 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19057 cat >>confdefs.h <<_ACEOF
19058 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19059 _ACEOF
19060
19061
19062 esac
19063
19064 echo "$as_me:$LINENO: checking for wchar_t" >&5
19065 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
19066 if test "${ac_cv_type_wchar_t+set}" = set; then
19067 echo $ECHO_N "(cached) $ECHO_C" >&6
19068 else
19069 cat >conftest.$ac_ext <<_ACEOF
19070 /* confdefs.h. */
19071 _ACEOF
19072 cat confdefs.h >>conftest.$ac_ext
19073 cat >>conftest.$ac_ext <<_ACEOF
19074 /* end confdefs.h. */
19075
19076 /* DJGPP only has fake wchar_t: */
19077 #ifdef __DJGPP__
19078 # error "fake wchar_t"
19079 #endif
19080 #ifdef HAVE_WCHAR_H
19081 # ifdef __CYGWIN__
19082 # include <stddef.h>
19083 # endif
19084 # include <wchar.h>
19085 #endif
19086 #ifdef HAVE_STDLIB_H
19087 # include <stdlib.h>
19088 #endif
19089 #include <stdio.h>
19090
19091
19092
19093 int
19094 main ()
19095 {
19096 if ((wchar_t *) 0)
19097 return 0;
19098 if (sizeof (wchar_t))
19099 return 0;
19100 ;
19101 return 0;
19102 }
19103 _ACEOF
19104 rm -f conftest.$ac_objext
19105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19106 (eval $ac_compile) 2>conftest.er1
19107 ac_status=$?
19108 grep -v '^ *+' conftest.er1 >conftest.err
19109 rm -f conftest.er1
19110 cat conftest.err >&5
19111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19112 (exit $ac_status); } &&
19113 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19115 (eval $ac_try) 2>&5
19116 ac_status=$?
19117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19118 (exit $ac_status); }; } &&
19119 { ac_try='test -s conftest.$ac_objext'
19120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19121 (eval $ac_try) 2>&5
19122 ac_status=$?
19123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19124 (exit $ac_status); }; }; then
19125 ac_cv_type_wchar_t=yes
19126 else
19127 echo "$as_me: failed program was:" >&5
19128 sed 's/^/| /' conftest.$ac_ext >&5
19129
19130 ac_cv_type_wchar_t=no
19131 fi
19132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19133 fi
19134 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
19135 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
19136
19137 echo "$as_me:$LINENO: checking size of wchar_t" >&5
19138 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
19139 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
19140 echo $ECHO_N "(cached) $ECHO_C" >&6
19141 else
19142 if test "$ac_cv_type_wchar_t" = yes; then
19143 # The cast to unsigned long works around a bug in the HP C Compiler
19144 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19145 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19146 # This bug is HP SR number 8606223364.
19147 if test "$cross_compiling" = yes; then
19148 # Depending upon the size, compute the lo and hi bounds.
19149 cat >conftest.$ac_ext <<_ACEOF
19150 /* confdefs.h. */
19151 _ACEOF
19152 cat confdefs.h >>conftest.$ac_ext
19153 cat >>conftest.$ac_ext <<_ACEOF
19154 /* end confdefs.h. */
19155
19156 /* DJGPP only has fake wchar_t: */
19157 #ifdef __DJGPP__
19158 # error "fake wchar_t"
19159 #endif
19160 #ifdef HAVE_WCHAR_H
19161 # ifdef __CYGWIN__
19162 # include <stddef.h>
19163 # endif
19164 # include <wchar.h>
19165 #endif
19166 #ifdef HAVE_STDLIB_H
19167 # include <stdlib.h>
19168 #endif
19169 #include <stdio.h>
19170
19171
19172
19173 int
19174 main ()
19175 {
19176 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
19177 test_array [0] = 0
19178
19179 ;
19180 return 0;
19181 }
19182 _ACEOF
19183 rm -f conftest.$ac_objext
19184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19185 (eval $ac_compile) 2>conftest.er1
19186 ac_status=$?
19187 grep -v '^ *+' conftest.er1 >conftest.err
19188 rm -f conftest.er1
19189 cat conftest.err >&5
19190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19191 (exit $ac_status); } &&
19192 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19194 (eval $ac_try) 2>&5
19195 ac_status=$?
19196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19197 (exit $ac_status); }; } &&
19198 { ac_try='test -s conftest.$ac_objext'
19199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19200 (eval $ac_try) 2>&5
19201 ac_status=$?
19202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19203 (exit $ac_status); }; }; then
19204 ac_lo=0 ac_mid=0
19205 while :; do
19206 cat >conftest.$ac_ext <<_ACEOF
19207 /* confdefs.h. */
19208 _ACEOF
19209 cat confdefs.h >>conftest.$ac_ext
19210 cat >>conftest.$ac_ext <<_ACEOF
19211 /* end confdefs.h. */
19212
19213 /* DJGPP only has fake wchar_t: */
19214 #ifdef __DJGPP__
19215 # error "fake wchar_t"
19216 #endif
19217 #ifdef HAVE_WCHAR_H
19218 # ifdef __CYGWIN__
19219 # include <stddef.h>
19220 # endif
19221 # include <wchar.h>
19222 #endif
19223 #ifdef HAVE_STDLIB_H
19224 # include <stdlib.h>
19225 #endif
19226 #include <stdio.h>
19227
19228
19229
19230 int
19231 main ()
19232 {
19233 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19234 test_array [0] = 0
19235
19236 ;
19237 return 0;
19238 }
19239 _ACEOF
19240 rm -f conftest.$ac_objext
19241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19242 (eval $ac_compile) 2>conftest.er1
19243 ac_status=$?
19244 grep -v '^ *+' conftest.er1 >conftest.err
19245 rm -f conftest.er1
19246 cat conftest.err >&5
19247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19248 (exit $ac_status); } &&
19249 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19251 (eval $ac_try) 2>&5
19252 ac_status=$?
19253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19254 (exit $ac_status); }; } &&
19255 { ac_try='test -s conftest.$ac_objext'
19256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19257 (eval $ac_try) 2>&5
19258 ac_status=$?
19259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19260 (exit $ac_status); }; }; then
19261 ac_hi=$ac_mid; break
19262 else
19263 echo "$as_me: failed program was:" >&5
19264 sed 's/^/| /' conftest.$ac_ext >&5
19265
19266 ac_lo=`expr $ac_mid + 1`
19267 if test $ac_lo -le $ac_mid; then
19268 ac_lo= ac_hi=
19269 break
19270 fi
19271 ac_mid=`expr 2 '*' $ac_mid + 1`
19272 fi
19273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19274 done
19275 else
19276 echo "$as_me: failed program was:" >&5
19277 sed 's/^/| /' conftest.$ac_ext >&5
19278
19279 cat >conftest.$ac_ext <<_ACEOF
19280 /* confdefs.h. */
19281 _ACEOF
19282 cat confdefs.h >>conftest.$ac_ext
19283 cat >>conftest.$ac_ext <<_ACEOF
19284 /* end confdefs.h. */
19285
19286 /* DJGPP only has fake wchar_t: */
19287 #ifdef __DJGPP__
19288 # error "fake wchar_t"
19289 #endif
19290 #ifdef HAVE_WCHAR_H
19291 # ifdef __CYGWIN__
19292 # include <stddef.h>
19293 # endif
19294 # include <wchar.h>
19295 #endif
19296 #ifdef HAVE_STDLIB_H
19297 # include <stdlib.h>
19298 #endif
19299 #include <stdio.h>
19300
19301
19302
19303 int
19304 main ()
19305 {
19306 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
19307 test_array [0] = 0
19308
19309 ;
19310 return 0;
19311 }
19312 _ACEOF
19313 rm -f conftest.$ac_objext
19314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19315 (eval $ac_compile) 2>conftest.er1
19316 ac_status=$?
19317 grep -v '^ *+' conftest.er1 >conftest.err
19318 rm -f conftest.er1
19319 cat conftest.err >&5
19320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19321 (exit $ac_status); } &&
19322 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19324 (eval $ac_try) 2>&5
19325 ac_status=$?
19326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19327 (exit $ac_status); }; } &&
19328 { ac_try='test -s conftest.$ac_objext'
19329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19330 (eval $ac_try) 2>&5
19331 ac_status=$?
19332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19333 (exit $ac_status); }; }; then
19334 ac_hi=-1 ac_mid=-1
19335 while :; do
19336 cat >conftest.$ac_ext <<_ACEOF
19337 /* confdefs.h. */
19338 _ACEOF
19339 cat confdefs.h >>conftest.$ac_ext
19340 cat >>conftest.$ac_ext <<_ACEOF
19341 /* end confdefs.h. */
19342
19343 /* DJGPP only has fake wchar_t: */
19344 #ifdef __DJGPP__
19345 # error "fake wchar_t"
19346 #endif
19347 #ifdef HAVE_WCHAR_H
19348 # ifdef __CYGWIN__
19349 # include <stddef.h>
19350 # endif
19351 # include <wchar.h>
19352 #endif
19353 #ifdef HAVE_STDLIB_H
19354 # include <stdlib.h>
19355 #endif
19356 #include <stdio.h>
19357
19358
19359
19360 int
19361 main ()
19362 {
19363 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
19364 test_array [0] = 0
19365
19366 ;
19367 return 0;
19368 }
19369 _ACEOF
19370 rm -f conftest.$ac_objext
19371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19372 (eval $ac_compile) 2>conftest.er1
19373 ac_status=$?
19374 grep -v '^ *+' conftest.er1 >conftest.err
19375 rm -f conftest.er1
19376 cat conftest.err >&5
19377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19378 (exit $ac_status); } &&
19379 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19381 (eval $ac_try) 2>&5
19382 ac_status=$?
19383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19384 (exit $ac_status); }; } &&
19385 { ac_try='test -s conftest.$ac_objext'
19386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19387 (eval $ac_try) 2>&5
19388 ac_status=$?
19389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19390 (exit $ac_status); }; }; then
19391 ac_lo=$ac_mid; break
19392 else
19393 echo "$as_me: failed program was:" >&5
19394 sed 's/^/| /' conftest.$ac_ext >&5
19395
19396 ac_hi=`expr '(' $ac_mid ')' - 1`
19397 if test $ac_mid -le $ac_hi; then
19398 ac_lo= ac_hi=
19399 break
19400 fi
19401 ac_mid=`expr 2 '*' $ac_mid`
19402 fi
19403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19404 done
19405 else
19406 echo "$as_me: failed program was:" >&5
19407 sed 's/^/| /' conftest.$ac_ext >&5
19408
19409 ac_lo= ac_hi=
19410 fi
19411 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19412 fi
19413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19414 # Binary search between lo and hi bounds.
19415 while test "x$ac_lo" != "x$ac_hi"; do
19416 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19417 cat >conftest.$ac_ext <<_ACEOF
19418 /* confdefs.h. */
19419 _ACEOF
19420 cat confdefs.h >>conftest.$ac_ext
19421 cat >>conftest.$ac_ext <<_ACEOF
19422 /* end confdefs.h. */
19423
19424 /* DJGPP only has fake wchar_t: */
19425 #ifdef __DJGPP__
19426 # error "fake wchar_t"
19427 #endif
19428 #ifdef HAVE_WCHAR_H
19429 # ifdef __CYGWIN__
19430 # include <stddef.h>
19431 # endif
19432 # include <wchar.h>
19433 #endif
19434 #ifdef HAVE_STDLIB_H
19435 # include <stdlib.h>
19436 #endif
19437 #include <stdio.h>
19438
19439
19440
19441 int
19442 main ()
19443 {
19444 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19445 test_array [0] = 0
19446
19447 ;
19448 return 0;
19449 }
19450 _ACEOF
19451 rm -f conftest.$ac_objext
19452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19453 (eval $ac_compile) 2>conftest.er1
19454 ac_status=$?
19455 grep -v '^ *+' conftest.er1 >conftest.err
19456 rm -f conftest.er1
19457 cat conftest.err >&5
19458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19459 (exit $ac_status); } &&
19460 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19462 (eval $ac_try) 2>&5
19463 ac_status=$?
19464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19465 (exit $ac_status); }; } &&
19466 { ac_try='test -s conftest.$ac_objext'
19467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19468 (eval $ac_try) 2>&5
19469 ac_status=$?
19470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19471 (exit $ac_status); }; }; then
19472 ac_hi=$ac_mid
19473 else
19474 echo "$as_me: failed program was:" >&5
19475 sed 's/^/| /' conftest.$ac_ext >&5
19476
19477 ac_lo=`expr '(' $ac_mid ')' + 1`
19478 fi
19479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19480 done
19481 case $ac_lo in
19482 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
19483 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19484 See \`config.log' for more details." >&5
19485 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19486 See \`config.log' for more details." >&2;}
19487 { (exit 1); exit 1; }; } ;;
19488 esac
19489 else
19490 if test "$cross_compiling" = yes; then
19491 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19492 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19493 { (exit 1); exit 1; }; }
19494 else
19495 cat >conftest.$ac_ext <<_ACEOF
19496 /* confdefs.h. */
19497 _ACEOF
19498 cat confdefs.h >>conftest.$ac_ext
19499 cat >>conftest.$ac_ext <<_ACEOF
19500 /* end confdefs.h. */
19501
19502 /* DJGPP only has fake wchar_t: */
19503 #ifdef __DJGPP__
19504 # error "fake wchar_t"
19505 #endif
19506 #ifdef HAVE_WCHAR_H
19507 # ifdef __CYGWIN__
19508 # include <stddef.h>
19509 # endif
19510 # include <wchar.h>
19511 #endif
19512 #ifdef HAVE_STDLIB_H
19513 # include <stdlib.h>
19514 #endif
19515 #include <stdio.h>
19516
19517
19518
19519 long longval () { return (long) (sizeof (wchar_t)); }
19520 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
19521 #include <stdio.h>
19522 #include <stdlib.h>
19523 int
19524 main ()
19525 {
19526
19527 FILE *f = fopen ("conftest.val", "w");
19528 if (! f)
19529 exit (1);
19530 if (((long) (sizeof (wchar_t))) < 0)
19531 {
19532 long i = longval ();
19533 if (i != ((long) (sizeof (wchar_t))))
19534 exit (1);
19535 fprintf (f, "%ld\n", i);
19536 }
19537 else
19538 {
19539 unsigned long i = ulongval ();
19540 if (i != ((long) (sizeof (wchar_t))))
19541 exit (1);
19542 fprintf (f, "%lu\n", i);
19543 }
19544 exit (ferror (f) || fclose (f) != 0);
19545
19546 ;
19547 return 0;
19548 }
19549 _ACEOF
19550 rm -f conftest$ac_exeext
19551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19552 (eval $ac_link) 2>&5
19553 ac_status=$?
19554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19555 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19557 (eval $ac_try) 2>&5
19558 ac_status=$?
19559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19560 (exit $ac_status); }; }; then
19561 ac_cv_sizeof_wchar_t=`cat conftest.val`
19562 else
19563 echo "$as_me: program exited with status $ac_status" >&5
19564 echo "$as_me: failed program was:" >&5
19565 sed 's/^/| /' conftest.$ac_ext >&5
19566
19567 ( exit $ac_status )
19568 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19569 See \`config.log' for more details." >&5
19570 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19571 See \`config.log' for more details." >&2;}
19572 { (exit 1); exit 1; }; }
19573 fi
19574 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19575 fi
19576 fi
19577 rm -f conftest.val
19578 else
19579 ac_cv_sizeof_wchar_t=0
19580 fi
19581 fi
19582 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
19583 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
19584 cat >>confdefs.h <<_ACEOF
19585 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
19586 _ACEOF
19587
19588
19589
19590 echo "$as_me:$LINENO: checking for va_copy" >&5
19591 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
19592 if test "${wx_cv_func_va_copy+set}" = set; then
19593 echo $ECHO_N "(cached) $ECHO_C" >&6
19594 else
19595
19596 cat >conftest.$ac_ext <<_ACEOF
19597
19598 #include <stdarg.h>
19599 void foo(char *f, ...)
19600 {
19601 va_list ap1, ap2;
19602 va_start(ap1, f);
19603 va_copy(ap2, ap1);
19604 va_end(ap2);
19605 va_end(ap1);
19606 }
19607 int main()
19608 {
19609 foo("hi", 17);
19610 return 0;
19611 }
19612 _ACEOF
19613 rm -f conftest.$ac_objext conftest$ac_exeext
19614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19615 (eval $ac_link) 2>conftest.er1
19616 ac_status=$?
19617 grep -v '^ *+' conftest.er1 >conftest.err
19618 rm -f conftest.er1
19619 cat conftest.err >&5
19620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19621 (exit $ac_status); } &&
19622 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19624 (eval $ac_try) 2>&5
19625 ac_status=$?
19626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19627 (exit $ac_status); }; } &&
19628 { ac_try='test -s conftest$ac_exeext'
19629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19630 (eval $ac_try) 2>&5
19631 ac_status=$?
19632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19633 (exit $ac_status); }; }; then
19634 wx_cv_func_va_copy=yes
19635 else
19636 echo "$as_me: failed program was:" >&5
19637 sed 's/^/| /' conftest.$ac_ext >&5
19638
19639 wx_cv_func_va_copy=no
19640
19641 fi
19642 rm -f conftest.err conftest.$ac_objext \
19643 conftest$ac_exeext conftest.$ac_ext
19644
19645
19646 fi
19647 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
19648 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
19649
19650 if test $wx_cv_func_va_copy = "yes"; then
19651 cat >>confdefs.h <<\_ACEOF
19652 #define HAVE_VA_COPY 1
19653 _ACEOF
19654
19655 else
19656 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
19657 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
19658 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
19659 echo $ECHO_N "(cached) $ECHO_C" >&6
19660 else
19661
19662 if test "$cross_compiling" = yes; then
19663 wx_cv_type_va_list_lvalue=yes
19664
19665 else
19666 cat >conftest.$ac_ext <<_ACEOF
19667
19668 #include <stdarg.h>
19669 int foo(char *f, ...)
19670 {
19671 va_list ap1, ap2;
19672 va_start(ap1, f);
19673 ap2 = ap1;
19674 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
19675 return 1;
19676 va_end(ap2);
19677 va_end(ap1);
19678 return 0;
19679 }
19680 int main()
19681 {
19682 return foo("hi", 17);
19683 }
19684 _ACEOF
19685 rm -f conftest$ac_exeext
19686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19687 (eval $ac_link) 2>&5
19688 ac_status=$?
19689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19690 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19692 (eval $ac_try) 2>&5
19693 ac_status=$?
19694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19695 (exit $ac_status); }; }; then
19696 wx_cv_type_va_list_lvalue=yes
19697 else
19698 echo "$as_me: program exited with status $ac_status" >&5
19699 echo "$as_me: failed program was:" >&5
19700 sed 's/^/| /' conftest.$ac_ext >&5
19701
19702 ( exit $ac_status )
19703 wx_cv_type_va_list_lvalue=no
19704 fi
19705 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19706 fi
19707
19708
19709 fi
19710 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
19711 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
19712
19713 if test $wx_cv_type_va_list_lvalue != "yes"; then
19714 cat >>confdefs.h <<\_ACEOF
19715 #define VA_LIST_IS_ARRAY 1
19716 _ACEOF
19717
19718 fi
19719 fi
19720
19721 # Check whether --enable-largefile or --disable-largefile was given.
19722 if test "${enable_largefile+set}" = set; then
19723 enableval="$enable_largefile"
19724
19725 fi;
19726 if test "$enable_largefile" != no; then
19727 wx_largefile=no
19728
19729 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
19730 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
19731 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
19732 echo $ECHO_N "(cached) $ECHO_C" >&6
19733 else
19734
19735 cat >conftest.$ac_ext <<_ACEOF
19736 /* confdefs.h. */
19737 _ACEOF
19738 cat confdefs.h >>conftest.$ac_ext
19739 cat >>conftest.$ac_ext <<_ACEOF
19740 /* end confdefs.h. */
19741 #define _FILE_OFFSET_BITS 64
19742 #include <sys/types.h>
19743 int
19744 main ()
19745 {
19746 typedef struct {
19747 unsigned int field: sizeof(off_t) == 8;
19748 } wxlf;
19749
19750 ;
19751 return 0;
19752 }
19753 _ACEOF
19754 rm -f conftest.$ac_objext
19755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19756 (eval $ac_compile) 2>conftest.er1
19757 ac_status=$?
19758 grep -v '^ *+' conftest.er1 >conftest.err
19759 rm -f conftest.er1
19760 cat conftest.err >&5
19761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19762 (exit $ac_status); } &&
19763 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19765 (eval $ac_try) 2>&5
19766 ac_status=$?
19767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19768 (exit $ac_status); }; } &&
19769 { ac_try='test -s conftest.$ac_objext'
19770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19771 (eval $ac_try) 2>&5
19772 ac_status=$?
19773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19774 (exit $ac_status); }; }; then
19775 ac_cv_sys_file_offset_bits=64
19776 else
19777 echo "$as_me: failed program was:" >&5
19778 sed 's/^/| /' conftest.$ac_ext >&5
19779
19780 ac_cv_sys_file_offset_bits=no
19781 fi
19782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19783
19784
19785 fi
19786 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
19787 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
19788
19789 if test "$ac_cv_sys_file_offset_bits" != no; then
19790 wx_largefile=yes
19791 cat >>confdefs.h <<_ACEOF
19792 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
19793 _ACEOF
19794
19795 fi
19796
19797 if test "x$wx_largefile" != "xyes"; then
19798
19799 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
19800 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
19801 if test "${ac_cv_sys_large_files+set}" = set; then
19802 echo $ECHO_N "(cached) $ECHO_C" >&6
19803 else
19804
19805 cat >conftest.$ac_ext <<_ACEOF
19806 /* confdefs.h. */
19807 _ACEOF
19808 cat confdefs.h >>conftest.$ac_ext
19809 cat >>conftest.$ac_ext <<_ACEOF
19810 /* end confdefs.h. */
19811 #define _LARGE_FILES 1
19812 #include <sys/types.h>
19813 int
19814 main ()
19815 {
19816 typedef struct {
19817 unsigned int field: sizeof(off_t) == 8;
19818 } wxlf;
19819
19820 ;
19821 return 0;
19822 }
19823 _ACEOF
19824 rm -f conftest.$ac_objext
19825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19826 (eval $ac_compile) 2>conftest.er1
19827 ac_status=$?
19828 grep -v '^ *+' conftest.er1 >conftest.err
19829 rm -f conftest.er1
19830 cat conftest.err >&5
19831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19832 (exit $ac_status); } &&
19833 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19835 (eval $ac_try) 2>&5
19836 ac_status=$?
19837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19838 (exit $ac_status); }; } &&
19839 { ac_try='test -s conftest.$ac_objext'
19840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19841 (eval $ac_try) 2>&5
19842 ac_status=$?
19843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19844 (exit $ac_status); }; }; then
19845 ac_cv_sys_large_files=1
19846 else
19847 echo "$as_me: failed program was:" >&5
19848 sed 's/^/| /' conftest.$ac_ext >&5
19849
19850 ac_cv_sys_large_files=no
19851 fi
19852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19853
19854
19855 fi
19856 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
19857 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
19858
19859 if test "$ac_cv_sys_large_files" != no; then
19860 wx_largefile=yes
19861 cat >>confdefs.h <<_ACEOF
19862 #define _LARGE_FILES $ac_cv_sys_large_files
19863 _ACEOF
19864
19865 fi
19866
19867 fi
19868
19869 echo "$as_me:$LINENO: checking if large file support is available" >&5
19870 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
19871 if test "x$wx_largefile" = "xyes"; then
19872 cat >>confdefs.h <<\_ACEOF
19873 #define HAVE_LARGEFILE_SUPPORT 1
19874 _ACEOF
19875
19876 fi
19877 echo "$as_me:$LINENO: result: $wx_largefile" >&5
19878 echo "${ECHO_T}$wx_largefile" >&6
19879 fi
19880
19881
19882 if test "x$wx_largefile" = "xyes"; then
19883 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
19884 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
19885 else
19886 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
19887 fi
19888 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
19889 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
19890 if test "${ac_cv_sys_largefile_source+set}" = set; then
19891 echo $ECHO_N "(cached) $ECHO_C" >&6
19892 else
19893 while :; do
19894 ac_cv_sys_largefile_source=no
19895 cat >conftest.$ac_ext <<_ACEOF
19896 /* confdefs.h. */
19897 _ACEOF
19898 cat confdefs.h >>conftest.$ac_ext
19899 cat >>conftest.$ac_ext <<_ACEOF
19900 /* end confdefs.h. */
19901 #include <stdio.h>
19902 int
19903 main ()
19904 {
19905 return !fseeko;
19906 ;
19907 return 0;
19908 }
19909 _ACEOF
19910 rm -f conftest.$ac_objext
19911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19912 (eval $ac_compile) 2>conftest.er1
19913 ac_status=$?
19914 grep -v '^ *+' conftest.er1 >conftest.err
19915 rm -f conftest.er1
19916 cat conftest.err >&5
19917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19918 (exit $ac_status); } &&
19919 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19921 (eval $ac_try) 2>&5
19922 ac_status=$?
19923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19924 (exit $ac_status); }; } &&
19925 { ac_try='test -s conftest.$ac_objext'
19926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19927 (eval $ac_try) 2>&5
19928 ac_status=$?
19929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19930 (exit $ac_status); }; }; then
19931 break
19932 else
19933 echo "$as_me: failed program was:" >&5
19934 sed 's/^/| /' conftest.$ac_ext >&5
19935
19936 fi
19937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19938 cat >conftest.$ac_ext <<_ACEOF
19939 /* confdefs.h. */
19940 _ACEOF
19941 cat confdefs.h >>conftest.$ac_ext
19942 cat >>conftest.$ac_ext <<_ACEOF
19943 /* end confdefs.h. */
19944 #define _LARGEFILE_SOURCE 1
19945 #include <stdio.h>
19946 int
19947 main ()
19948 {
19949 return !fseeko;
19950 ;
19951 return 0;
19952 }
19953 _ACEOF
19954 rm -f conftest.$ac_objext
19955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19956 (eval $ac_compile) 2>conftest.er1
19957 ac_status=$?
19958 grep -v '^ *+' conftest.er1 >conftest.err
19959 rm -f conftest.er1
19960 cat conftest.err >&5
19961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19962 (exit $ac_status); } &&
19963 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19965 (eval $ac_try) 2>&5
19966 ac_status=$?
19967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19968 (exit $ac_status); }; } &&
19969 { ac_try='test -s conftest.$ac_objext'
19970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19971 (eval $ac_try) 2>&5
19972 ac_status=$?
19973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19974 (exit $ac_status); }; }; then
19975 ac_cv_sys_largefile_source=1; break
19976 else
19977 echo "$as_me: failed program was:" >&5
19978 sed 's/^/| /' conftest.$ac_ext >&5
19979
19980 fi
19981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19982 break
19983 done
19984 fi
19985 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
19986 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
19987 if test "$ac_cv_sys_largefile_source" != no; then
19988
19989 cat >>confdefs.h <<_ACEOF
19990 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
19991 _ACEOF
19992
19993 fi
19994 rm -f conftest*
19995
19996 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
19997 # in glibc 2.1.3, but that breaks too many other things.
19998 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
19999 echo "$as_me:$LINENO: checking for fseeko" >&5
20000 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
20001 if test "${ac_cv_func_fseeko+set}" = set; then
20002 echo $ECHO_N "(cached) $ECHO_C" >&6
20003 else
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 <stdio.h>
20011 int
20012 main ()
20013 {
20014 return fseeko && fseeko (stdin, 0, 0);
20015 ;
20016 return 0;
20017 }
20018 _ACEOF
20019 rm -f conftest.$ac_objext conftest$ac_exeext
20020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20021 (eval $ac_link) 2>conftest.er1
20022 ac_status=$?
20023 grep -v '^ *+' conftest.er1 >conftest.err
20024 rm -f conftest.er1
20025 cat conftest.err >&5
20026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20027 (exit $ac_status); } &&
20028 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20030 (eval $ac_try) 2>&5
20031 ac_status=$?
20032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20033 (exit $ac_status); }; } &&
20034 { ac_try='test -s conftest$ac_exeext'
20035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20036 (eval $ac_try) 2>&5
20037 ac_status=$?
20038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20039 (exit $ac_status); }; }; then
20040 ac_cv_func_fseeko=yes
20041 else
20042 echo "$as_me: failed program was:" >&5
20043 sed 's/^/| /' conftest.$ac_ext >&5
20044
20045 ac_cv_func_fseeko=no
20046 fi
20047 rm -f conftest.err conftest.$ac_objext \
20048 conftest$ac_exeext conftest.$ac_ext
20049 fi
20050 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
20051 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
20052 if test $ac_cv_func_fseeko = yes; then
20053
20054 cat >>confdefs.h <<\_ACEOF
20055 #define HAVE_FSEEKO 1
20056 _ACEOF
20057
20058 fi
20059
20060 if test "$ac_cv_sys_largefile_source" != no; then
20061 WX_LARGEFILE_FLAGS="$WX_LARGEFILE_FLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
20062 fi
20063 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
20064 fi
20065
20066 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20067 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20068 if test "${ac_cv_c_bigendian+set}" = set; then
20069 echo $ECHO_N "(cached) $ECHO_C" >&6
20070 else
20071 ac_cv_c_bigendian=unknown
20072 # See if sys/param.h defines the BYTE_ORDER macro.
20073 cat >conftest.$ac_ext <<_ACEOF
20074 /* confdefs.h. */
20075 _ACEOF
20076 cat confdefs.h >>conftest.$ac_ext
20077 cat >>conftest.$ac_ext <<_ACEOF
20078 /* end confdefs.h. */
20079 #include <sys/types.h>
20080 #include <sys/param.h>
20081 int
20082 main ()
20083 {
20084
20085 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20086 bogus endian macros
20087 #endif
20088 ;
20089 return 0;
20090 }
20091 _ACEOF
20092 rm -f conftest.$ac_objext
20093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20094 (eval $ac_compile) 2>conftest.er1
20095 ac_status=$?
20096 grep -v '^ *+' conftest.er1 >conftest.err
20097 rm -f conftest.er1
20098 cat conftest.err >&5
20099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20100 (exit $ac_status); } &&
20101 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20103 (eval $ac_try) 2>&5
20104 ac_status=$?
20105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20106 (exit $ac_status); }; } &&
20107 { ac_try='test -s conftest.$ac_objext'
20108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20109 (eval $ac_try) 2>&5
20110 ac_status=$?
20111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20112 (exit $ac_status); }; }; then
20113 # It does; now see whether it defined to BIG_ENDIAN or not.
20114 cat >conftest.$ac_ext <<_ACEOF
20115 /* confdefs.h. */
20116 _ACEOF
20117 cat confdefs.h >>conftest.$ac_ext
20118 cat >>conftest.$ac_ext <<_ACEOF
20119 /* end confdefs.h. */
20120 #include <sys/types.h>
20121 #include <sys/param.h>
20122 int
20123 main ()
20124 {
20125
20126 #if BYTE_ORDER != BIG_ENDIAN
20127 not big endian
20128 #endif
20129 ;
20130 return 0;
20131 }
20132 _ACEOF
20133 rm -f conftest.$ac_objext
20134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20135 (eval $ac_compile) 2>conftest.er1
20136 ac_status=$?
20137 grep -v '^ *+' conftest.er1 >conftest.err
20138 rm -f conftest.er1
20139 cat conftest.err >&5
20140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20141 (exit $ac_status); } &&
20142 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20144 (eval $ac_try) 2>&5
20145 ac_status=$?
20146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20147 (exit $ac_status); }; } &&
20148 { ac_try='test -s conftest.$ac_objext'
20149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20150 (eval $ac_try) 2>&5
20151 ac_status=$?
20152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20153 (exit $ac_status); }; }; then
20154 ac_cv_c_bigendian=yes
20155 else
20156 echo "$as_me: failed program was:" >&5
20157 sed 's/^/| /' conftest.$ac_ext >&5
20158
20159 ac_cv_c_bigendian=no
20160 fi
20161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20162 else
20163 echo "$as_me: failed program was:" >&5
20164 sed 's/^/| /' conftest.$ac_ext >&5
20165
20166 fi
20167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20168 if test $ac_cv_c_bigendian = unknown; then
20169 if test "$cross_compiling" = yes; then
20170 ac_cv_c_bigendian=unknown
20171 else
20172 cat >conftest.$ac_ext <<_ACEOF
20173 /* confdefs.h. */
20174 _ACEOF
20175 cat confdefs.h >>conftest.$ac_ext
20176 cat >>conftest.$ac_ext <<_ACEOF
20177 /* end confdefs.h. */
20178 main () {
20179 /* Are we little or big endian? From Harbison&Steele. */
20180 union
20181 {
20182 long l;
20183 char c[sizeof (long)];
20184 } u;
20185 u.l = 1;
20186 exit (u.c[sizeof (long) - 1] == 1);
20187 }
20188 _ACEOF
20189 rm -f conftest$ac_exeext
20190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20191 (eval $ac_link) 2>&5
20192 ac_status=$?
20193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20194 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20196 (eval $ac_try) 2>&5
20197 ac_status=$?
20198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20199 (exit $ac_status); }; }; then
20200 ac_cv_c_bigendian=no
20201 else
20202 echo "$as_me: program exited with status $ac_status" >&5
20203 echo "$as_me: failed program was:" >&5
20204 sed 's/^/| /' conftest.$ac_ext >&5
20205
20206 ( exit $ac_status )
20207 ac_cv_c_bigendian=yes
20208 fi
20209 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20210 fi
20211 fi
20212 fi
20213 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20214 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20215 if test $ac_cv_c_bigendian = unknown; then
20216 { 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
20217 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;}
20218 fi
20219 if test $ac_cv_c_bigendian = yes; then
20220 cat >>confdefs.h <<\_ACEOF
20221 #define WORDS_BIGENDIAN 1
20222 _ACEOF
20223
20224 fi
20225
20226
20227 ac_ext=cc
20228 ac_cpp='$CXXCPP $CPPFLAGS'
20229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20232 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
20233 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
20234 if test -z "$CXXCPP"; then
20235 if test "${ac_cv_prog_CXXCPP+set}" = set; then
20236 echo $ECHO_N "(cached) $ECHO_C" >&6
20237 else
20238 # Double quotes because CXXCPP needs to be expanded
20239 for CXXCPP in "$CXX -E" "/lib/cpp"
20240 do
20241 ac_preproc_ok=false
20242 for ac_cxx_preproc_warn_flag in '' yes
20243 do
20244 # Use a header file that comes with gcc, so configuring glibc
20245 # with a fresh cross-compiler works.
20246 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20247 # <limits.h> exists even on freestanding compilers.
20248 # On the NeXT, cc -E runs the code through the compiler's parser,
20249 # not just through cpp. "Syntax error" is here to catch this case.
20250 cat >conftest.$ac_ext <<_ACEOF
20251 /* confdefs.h. */
20252 _ACEOF
20253 cat confdefs.h >>conftest.$ac_ext
20254 cat >>conftest.$ac_ext <<_ACEOF
20255 /* end confdefs.h. */
20256 #ifdef __STDC__
20257 # include <limits.h>
20258 #else
20259 # include <assert.h>
20260 #endif
20261 Syntax error
20262 _ACEOF
20263 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20264 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20265 ac_status=$?
20266 grep -v '^ *+' conftest.er1 >conftest.err
20267 rm -f conftest.er1
20268 cat conftest.err >&5
20269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20270 (exit $ac_status); } >/dev/null; then
20271 if test -s conftest.err; then
20272 ac_cpp_err=$ac_cxx_preproc_warn_flag
20273 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20274 else
20275 ac_cpp_err=
20276 fi
20277 else
20278 ac_cpp_err=yes
20279 fi
20280 if test -z "$ac_cpp_err"; then
20281 :
20282 else
20283 echo "$as_me: failed program was:" >&5
20284 sed 's/^/| /' conftest.$ac_ext >&5
20285
20286 # Broken: fails on valid input.
20287 continue
20288 fi
20289 rm -f conftest.err conftest.$ac_ext
20290
20291 # OK, works on sane cases. Now check whether non-existent headers
20292 # can be detected and how.
20293 cat >conftest.$ac_ext <<_ACEOF
20294 /* confdefs.h. */
20295 _ACEOF
20296 cat confdefs.h >>conftest.$ac_ext
20297 cat >>conftest.$ac_ext <<_ACEOF
20298 /* end confdefs.h. */
20299 #include <ac_nonexistent.h>
20300 _ACEOF
20301 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20302 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20303 ac_status=$?
20304 grep -v '^ *+' conftest.er1 >conftest.err
20305 rm -f conftest.er1
20306 cat conftest.err >&5
20307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20308 (exit $ac_status); } >/dev/null; then
20309 if test -s conftest.err; then
20310 ac_cpp_err=$ac_cxx_preproc_warn_flag
20311 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20312 else
20313 ac_cpp_err=
20314 fi
20315 else
20316 ac_cpp_err=yes
20317 fi
20318 if test -z "$ac_cpp_err"; then
20319 # Broken: success on invalid input.
20320 continue
20321 else
20322 echo "$as_me: failed program was:" >&5
20323 sed 's/^/| /' conftest.$ac_ext >&5
20324
20325 # Passes both tests.
20326 ac_preproc_ok=:
20327 break
20328 fi
20329 rm -f conftest.err conftest.$ac_ext
20330
20331 done
20332 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20333 rm -f conftest.err conftest.$ac_ext
20334 if $ac_preproc_ok; then
20335 break
20336 fi
20337
20338 done
20339 ac_cv_prog_CXXCPP=$CXXCPP
20340
20341 fi
20342 CXXCPP=$ac_cv_prog_CXXCPP
20343 else
20344 ac_cv_prog_CXXCPP=$CXXCPP
20345 fi
20346 echo "$as_me:$LINENO: result: $CXXCPP" >&5
20347 echo "${ECHO_T}$CXXCPP" >&6
20348 ac_preproc_ok=false
20349 for ac_cxx_preproc_warn_flag in '' yes
20350 do
20351 # Use a header file that comes with gcc, so configuring glibc
20352 # with a fresh cross-compiler works.
20353 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20354 # <limits.h> exists even on freestanding compilers.
20355 # On the NeXT, cc -E runs the code through the compiler's parser,
20356 # not just through cpp. "Syntax error" is here to catch this case.
20357 cat >conftest.$ac_ext <<_ACEOF
20358 /* confdefs.h. */
20359 _ACEOF
20360 cat confdefs.h >>conftest.$ac_ext
20361 cat >>conftest.$ac_ext <<_ACEOF
20362 /* end confdefs.h. */
20363 #ifdef __STDC__
20364 # include <limits.h>
20365 #else
20366 # include <assert.h>
20367 #endif
20368 Syntax error
20369 _ACEOF
20370 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20371 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20372 ac_status=$?
20373 grep -v '^ *+' conftest.er1 >conftest.err
20374 rm -f conftest.er1
20375 cat conftest.err >&5
20376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20377 (exit $ac_status); } >/dev/null; then
20378 if test -s conftest.err; then
20379 ac_cpp_err=$ac_cxx_preproc_warn_flag
20380 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20381 else
20382 ac_cpp_err=
20383 fi
20384 else
20385 ac_cpp_err=yes
20386 fi
20387 if test -z "$ac_cpp_err"; then
20388 :
20389 else
20390 echo "$as_me: failed program was:" >&5
20391 sed 's/^/| /' conftest.$ac_ext >&5
20392
20393 # Broken: fails on valid input.
20394 continue
20395 fi
20396 rm -f conftest.err conftest.$ac_ext
20397
20398 # OK, works on sane cases. Now check whether non-existent headers
20399 # can be detected and how.
20400 cat >conftest.$ac_ext <<_ACEOF
20401 /* confdefs.h. */
20402 _ACEOF
20403 cat confdefs.h >>conftest.$ac_ext
20404 cat >>conftest.$ac_ext <<_ACEOF
20405 /* end confdefs.h. */
20406 #include <ac_nonexistent.h>
20407 _ACEOF
20408 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20409 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20410 ac_status=$?
20411 grep -v '^ *+' conftest.er1 >conftest.err
20412 rm -f conftest.er1
20413 cat conftest.err >&5
20414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20415 (exit $ac_status); } >/dev/null; then
20416 if test -s conftest.err; then
20417 ac_cpp_err=$ac_cxx_preproc_warn_flag
20418 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20419 else
20420 ac_cpp_err=
20421 fi
20422 else
20423 ac_cpp_err=yes
20424 fi
20425 if test -z "$ac_cpp_err"; then
20426 # Broken: success on invalid input.
20427 continue
20428 else
20429 echo "$as_me: failed program was:" >&5
20430 sed 's/^/| /' conftest.$ac_ext >&5
20431
20432 # Passes both tests.
20433 ac_preproc_ok=:
20434 break
20435 fi
20436 rm -f conftest.err conftest.$ac_ext
20437
20438 done
20439 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20440 rm -f conftest.err conftest.$ac_ext
20441 if $ac_preproc_ok; then
20442 :
20443 else
20444 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20445 See \`config.log' for more details." >&5
20446 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20447 See \`config.log' for more details." >&2;}
20448 { (exit 1); exit 1; }; }
20449 fi
20450
20451 ac_ext=cc
20452 ac_cpp='$CXXCPP $CPPFLAGS'
20453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20456
20457
20458
20459
20460
20461 ac_ext=cc
20462 ac_cpp='$CXXCPP $CPPFLAGS'
20463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20466
20467
20468
20469 for ac_header in iostream
20470 do
20471 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20472 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20473 echo "$as_me:$LINENO: checking for $ac_header" >&5
20474 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20475 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20476 echo $ECHO_N "(cached) $ECHO_C" >&6
20477 fi
20478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20479 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20480 else
20481 # Is the header compilable?
20482 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20483 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20484 cat >conftest.$ac_ext <<_ACEOF
20485 /* confdefs.h. */
20486 _ACEOF
20487 cat confdefs.h >>conftest.$ac_ext
20488 cat >>conftest.$ac_ext <<_ACEOF
20489 /* end confdefs.h. */
20490 $ac_includes_default
20491 #include <$ac_header>
20492 _ACEOF
20493 rm -f conftest.$ac_objext
20494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20495 (eval $ac_compile) 2>conftest.er1
20496 ac_status=$?
20497 grep -v '^ *+' conftest.er1 >conftest.err
20498 rm -f conftest.er1
20499 cat conftest.err >&5
20500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20501 (exit $ac_status); } &&
20502 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20504 (eval $ac_try) 2>&5
20505 ac_status=$?
20506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20507 (exit $ac_status); }; } &&
20508 { ac_try='test -s conftest.$ac_objext'
20509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20510 (eval $ac_try) 2>&5
20511 ac_status=$?
20512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20513 (exit $ac_status); }; }; then
20514 ac_header_compiler=yes
20515 else
20516 echo "$as_me: failed program was:" >&5
20517 sed 's/^/| /' conftest.$ac_ext >&5
20518
20519 ac_header_compiler=no
20520 fi
20521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20522 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20523 echo "${ECHO_T}$ac_header_compiler" >&6
20524
20525 # Is the header present?
20526 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20527 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20528 cat >conftest.$ac_ext <<_ACEOF
20529 /* confdefs.h. */
20530 _ACEOF
20531 cat confdefs.h >>conftest.$ac_ext
20532 cat >>conftest.$ac_ext <<_ACEOF
20533 /* end confdefs.h. */
20534 #include <$ac_header>
20535 _ACEOF
20536 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20537 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20538 ac_status=$?
20539 grep -v '^ *+' conftest.er1 >conftest.err
20540 rm -f conftest.er1
20541 cat conftest.err >&5
20542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20543 (exit $ac_status); } >/dev/null; then
20544 if test -s conftest.err; then
20545 ac_cpp_err=$ac_cxx_preproc_warn_flag
20546 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20547 else
20548 ac_cpp_err=
20549 fi
20550 else
20551 ac_cpp_err=yes
20552 fi
20553 if test -z "$ac_cpp_err"; then
20554 ac_header_preproc=yes
20555 else
20556 echo "$as_me: failed program was:" >&5
20557 sed 's/^/| /' conftest.$ac_ext >&5
20558
20559 ac_header_preproc=no
20560 fi
20561 rm -f conftest.err conftest.$ac_ext
20562 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20563 echo "${ECHO_T}$ac_header_preproc" >&6
20564
20565 # So? What about this header?
20566 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20567 yes:no: )
20568 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20569 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20570 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20571 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20572 ac_header_preproc=yes
20573 ;;
20574 no:yes:* )
20575 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20576 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20577 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20578 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20579 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20580 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20581 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20582 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20583 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20584 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20585 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20586 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20587 (
20588 cat <<\_ASBOX
20589 ## ----------------------------------------- ##
20590 ## Report this to wx-dev@lists.wxwidgets.org ##
20591 ## ----------------------------------------- ##
20592 _ASBOX
20593 ) |
20594 sed "s/^/$as_me: WARNING: /" >&2
20595 ;;
20596 esac
20597 echo "$as_me:$LINENO: checking for $ac_header" >&5
20598 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20599 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20600 echo $ECHO_N "(cached) $ECHO_C" >&6
20601 else
20602 eval "$as_ac_Header=\$ac_header_preproc"
20603 fi
20604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20605 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20606
20607 fi
20608 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20609 cat >>confdefs.h <<_ACEOF
20610 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20611 _ACEOF
20612
20613 fi
20614
20615 done
20616
20617
20618 if test "$ac_cv_header_iostream" = "yes" ; then
20619 :
20620 else
20621 cat >>confdefs.h <<\_ACEOF
20622 #define wxUSE_IOSTREAMH 1
20623 _ACEOF
20624
20625 fi
20626
20627 ac_ext=c
20628 ac_cpp='$CPP $CPPFLAGS'
20629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20632
20633
20634
20635
20636 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
20637 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
20638 if test "${wx_cv_cpp_bool+set}" = set; then
20639 echo $ECHO_N "(cached) $ECHO_C" >&6
20640 else
20641
20642
20643
20644 ac_ext=cc
20645 ac_cpp='$CXXCPP $CPPFLAGS'
20646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20649
20650
20651 cat >conftest.$ac_ext <<_ACEOF
20652 /* confdefs.h. */
20653 _ACEOF
20654 cat confdefs.h >>conftest.$ac_ext
20655 cat >>conftest.$ac_ext <<_ACEOF
20656 /* end confdefs.h. */
20657
20658
20659 int
20660 main ()
20661 {
20662
20663 bool b = true;
20664
20665 return 0;
20666
20667 ;
20668 return 0;
20669 }
20670 _ACEOF
20671 rm -f conftest.$ac_objext
20672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20673 (eval $ac_compile) 2>conftest.er1
20674 ac_status=$?
20675 grep -v '^ *+' conftest.er1 >conftest.err
20676 rm -f conftest.er1
20677 cat conftest.err >&5
20678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20679 (exit $ac_status); } &&
20680 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20682 (eval $ac_try) 2>&5
20683 ac_status=$?
20684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20685 (exit $ac_status); }; } &&
20686 { ac_try='test -s conftest.$ac_objext'
20687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20688 (eval $ac_try) 2>&5
20689 ac_status=$?
20690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20691 (exit $ac_status); }; }; then
20692
20693 wx_cv_cpp_bool=yes
20694
20695 else
20696 echo "$as_me: failed program was:" >&5
20697 sed 's/^/| /' conftest.$ac_ext >&5
20698
20699
20700 wx_cv_cpp_bool=no
20701
20702
20703 fi
20704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20705
20706 ac_ext=c
20707 ac_cpp='$CPP $CPPFLAGS'
20708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20711
20712
20713 fi
20714 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
20715 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
20716
20717 if test "$wx_cv_cpp_bool" = "yes"; then
20718 cat >>confdefs.h <<\_ACEOF
20719 #define HAVE_BOOL 1
20720 _ACEOF
20721
20722 fi
20723
20724
20725
20726 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
20727 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
20728 if test "${wx_cv_explicit+set}" = set; then
20729 echo $ECHO_N "(cached) $ECHO_C" >&6
20730 else
20731
20732
20733
20734 ac_ext=cc
20735 ac_cpp='$CXXCPP $CPPFLAGS'
20736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20739
20740
20741 cat >conftest.$ac_ext <<_ACEOF
20742 /* confdefs.h. */
20743 _ACEOF
20744 cat confdefs.h >>conftest.$ac_ext
20745 cat >>conftest.$ac_ext <<_ACEOF
20746 /* end confdefs.h. */
20747
20748 class Foo { public: explicit Foo(int) {} };
20749
20750 int
20751 main ()
20752 {
20753
20754 return 0;
20755
20756 ;
20757 return 0;
20758 }
20759 _ACEOF
20760 rm -f conftest.$ac_objext
20761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20762 (eval $ac_compile) 2>conftest.er1
20763 ac_status=$?
20764 grep -v '^ *+' conftest.er1 >conftest.err
20765 rm -f conftest.er1
20766 cat conftest.err >&5
20767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20768 (exit $ac_status); } &&
20769 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20771 (eval $ac_try) 2>&5
20772 ac_status=$?
20773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20774 (exit $ac_status); }; } &&
20775 { ac_try='test -s conftest.$ac_objext'
20776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20777 (eval $ac_try) 2>&5
20778 ac_status=$?
20779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20780 (exit $ac_status); }; }; then
20781
20782 cat >conftest.$ac_ext <<_ACEOF
20783 /* confdefs.h. */
20784 _ACEOF
20785 cat confdefs.h >>conftest.$ac_ext
20786 cat >>conftest.$ac_ext <<_ACEOF
20787 /* end confdefs.h. */
20788
20789 class Foo { public: explicit Foo(int) {} };
20790 static void TakeFoo(const Foo& foo) { }
20791
20792 int
20793 main ()
20794 {
20795
20796 TakeFoo(17);
20797 return 0;
20798
20799 ;
20800 return 0;
20801 }
20802 _ACEOF
20803 rm -f conftest.$ac_objext
20804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20805 (eval $ac_compile) 2>conftest.er1
20806 ac_status=$?
20807 grep -v '^ *+' conftest.er1 >conftest.err
20808 rm -f conftest.er1
20809 cat conftest.err >&5
20810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20811 (exit $ac_status); } &&
20812 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20814 (eval $ac_try) 2>&5
20815 ac_status=$?
20816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20817 (exit $ac_status); }; } &&
20818 { ac_try='test -s conftest.$ac_objext'
20819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20820 (eval $ac_try) 2>&5
20821 ac_status=$?
20822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20823 (exit $ac_status); }; }; then
20824 wx_cv_explicit=no
20825 else
20826 echo "$as_me: failed program was:" >&5
20827 sed 's/^/| /' conftest.$ac_ext >&5
20828
20829 wx_cv_explicit=yes
20830
20831 fi
20832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20833
20834 else
20835 echo "$as_me: failed program was:" >&5
20836 sed 's/^/| /' conftest.$ac_ext >&5
20837
20838 wx_cv_explicit=no
20839
20840 fi
20841 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20842
20843 ac_ext=c
20844 ac_cpp='$CPP $CPPFLAGS'
20845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20848
20849
20850 fi
20851 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
20852 echo "${ECHO_T}$wx_cv_explicit" >&6
20853
20854 if test "$wx_cv_explicit" = "yes"; then
20855 cat >>confdefs.h <<\_ACEOF
20856 #define HAVE_EXPLICIT 1
20857 _ACEOF
20858
20859 fi
20860
20861
20862 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
20863 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
20864 if test "${ac_cv_cxx_const_cast+set}" = set; then
20865 echo $ECHO_N "(cached) $ECHO_C" >&6
20866 else
20867
20868
20869 ac_ext=cc
20870 ac_cpp='$CXXCPP $CPPFLAGS'
20871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20874
20875 cat >conftest.$ac_ext <<_ACEOF
20876 /* confdefs.h. */
20877 _ACEOF
20878 cat confdefs.h >>conftest.$ac_ext
20879 cat >>conftest.$ac_ext <<_ACEOF
20880 /* end confdefs.h. */
20881
20882 int
20883 main ()
20884 {
20885 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
20886 ;
20887 return 0;
20888 }
20889 _ACEOF
20890 rm -f conftest.$ac_objext
20891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20892 (eval $ac_compile) 2>conftest.er1
20893 ac_status=$?
20894 grep -v '^ *+' conftest.er1 >conftest.err
20895 rm -f conftest.er1
20896 cat conftest.err >&5
20897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20898 (exit $ac_status); } &&
20899 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20901 (eval $ac_try) 2>&5
20902 ac_status=$?
20903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20904 (exit $ac_status); }; } &&
20905 { ac_try='test -s conftest.$ac_objext'
20906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20907 (eval $ac_try) 2>&5
20908 ac_status=$?
20909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20910 (exit $ac_status); }; }; then
20911 ac_cv_cxx_const_cast=yes
20912 else
20913 echo "$as_me: failed program was:" >&5
20914 sed 's/^/| /' conftest.$ac_ext >&5
20915
20916 ac_cv_cxx_const_cast=no
20917 fi
20918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20919 ac_ext=c
20920 ac_cpp='$CPP $CPPFLAGS'
20921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20924
20925
20926 fi
20927 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
20928 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
20929 if test "$ac_cv_cxx_const_cast" = yes; then
20930
20931 cat >>confdefs.h <<\_ACEOF
20932 #define HAVE_CONST_CAST
20933 _ACEOF
20934
20935 fi
20936
20937 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
20938 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
20939 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
20940 echo $ECHO_N "(cached) $ECHO_C" >&6
20941 else
20942
20943
20944 ac_ext=cc
20945 ac_cpp='$CXXCPP $CPPFLAGS'
20946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20949
20950 cat >conftest.$ac_ext <<_ACEOF
20951 /* confdefs.h. */
20952 _ACEOF
20953 cat confdefs.h >>conftest.$ac_ext
20954 cat >>conftest.$ac_ext <<_ACEOF
20955 /* end confdefs.h. */
20956 #include <typeinfo>
20957 class Base { public : Base () {} virtual void f () = 0;};
20958 class Derived : public Base { public : Derived () {} virtual void f () {} };
20959 class Unrelated { public : Unrelated () {} };
20960 int g (Unrelated&) { return 0; }
20961 int
20962 main ()
20963 {
20964
20965 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
20966 ;
20967 return 0;
20968 }
20969 _ACEOF
20970 rm -f conftest.$ac_objext
20971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20972 (eval $ac_compile) 2>conftest.er1
20973 ac_status=$?
20974 grep -v '^ *+' conftest.er1 >conftest.err
20975 rm -f conftest.er1
20976 cat conftest.err >&5
20977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20978 (exit $ac_status); } &&
20979 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20981 (eval $ac_try) 2>&5
20982 ac_status=$?
20983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20984 (exit $ac_status); }; } &&
20985 { ac_try='test -s conftest.$ac_objext'
20986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20987 (eval $ac_try) 2>&5
20988 ac_status=$?
20989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20990 (exit $ac_status); }; }; then
20991 ac_cv_cxx_reinterpret_cast=yes
20992 else
20993 echo "$as_me: failed program was:" >&5
20994 sed 's/^/| /' conftest.$ac_ext >&5
20995
20996 ac_cv_cxx_reinterpret_cast=no
20997 fi
20998 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20999 ac_ext=c
21000 ac_cpp='$CPP $CPPFLAGS'
21001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21004
21005
21006 fi
21007 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
21008 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
21009 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
21010
21011 cat >>confdefs.h <<\_ACEOF
21012 #define HAVE_REINTERPRET_CAST
21013 _ACEOF
21014
21015 fi
21016
21017 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
21018 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
21019 if test "${ac_cv_cxx_static_cast+set}" = set; then
21020 echo $ECHO_N "(cached) $ECHO_C" >&6
21021 else
21022
21023
21024 ac_ext=cc
21025 ac_cpp='$CXXCPP $CPPFLAGS'
21026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21029
21030 cat >conftest.$ac_ext <<_ACEOF
21031 /* confdefs.h. */
21032 _ACEOF
21033 cat confdefs.h >>conftest.$ac_ext
21034 cat >>conftest.$ac_ext <<_ACEOF
21035 /* end confdefs.h. */
21036 #include <typeinfo>
21037 class Base { public : Base () {} virtual void f () = 0; };
21038 class Derived : public Base { public : Derived () {} virtual void f () {} };
21039 int g (Derived&) { return 0; }
21040 int
21041 main ()
21042 {
21043
21044 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
21045 ;
21046 return 0;
21047 }
21048 _ACEOF
21049 rm -f conftest.$ac_objext
21050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21051 (eval $ac_compile) 2>conftest.er1
21052 ac_status=$?
21053 grep -v '^ *+' conftest.er1 >conftest.err
21054 rm -f conftest.er1
21055 cat conftest.err >&5
21056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21057 (exit $ac_status); } &&
21058 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21060 (eval $ac_try) 2>&5
21061 ac_status=$?
21062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21063 (exit $ac_status); }; } &&
21064 { ac_try='test -s conftest.$ac_objext'
21065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21066 (eval $ac_try) 2>&5
21067 ac_status=$?
21068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21069 (exit $ac_status); }; }; then
21070 ac_cv_cxx_static_cast=yes
21071 else
21072 echo "$as_me: failed program was:" >&5
21073 sed 's/^/| /' conftest.$ac_ext >&5
21074
21075 ac_cv_cxx_static_cast=no
21076 fi
21077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21078 ac_ext=c
21079 ac_cpp='$CPP $CPPFLAGS'
21080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21083
21084
21085 fi
21086 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
21087 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
21088 if test "$ac_cv_cxx_static_cast" = yes; then
21089
21090 cat >>confdefs.h <<\_ACEOF
21091 #define HAVE_STATIC_CAST
21092 _ACEOF
21093
21094 fi
21095
21096
21097 if test "$wxUSE_STL" = "yes"; then
21098 ac_ext=cc
21099 ac_cpp='$CXXCPP $CPPFLAGS'
21100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21103
21104
21105 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
21106 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
21107 cat >conftest.$ac_ext <<_ACEOF
21108 /* confdefs.h. */
21109 _ACEOF
21110 cat confdefs.h >>conftest.$ac_ext
21111 cat >>conftest.$ac_ext <<_ACEOF
21112 /* end confdefs.h. */
21113 #include <string>
21114 #include <functional>
21115 #include <algorithm>
21116 #include <vector>
21117 #include <list>
21118 int
21119 main ()
21120 {
21121 std::vector<int> moo;
21122 std::list<int> foo;
21123 std::vector<int>::iterator it =
21124 std::find_if(moo.begin(), moo.end(),
21125 std::bind2nd(std::less<int>(), 3));
21126 ;
21127 return 0;
21128 }
21129 _ACEOF
21130 rm -f conftest.$ac_objext
21131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21132 (eval $ac_compile) 2>conftest.er1
21133 ac_status=$?
21134 grep -v '^ *+' conftest.er1 >conftest.err
21135 rm -f conftest.er1
21136 cat conftest.err >&5
21137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21138 (exit $ac_status); } &&
21139 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21141 (eval $ac_try) 2>&5
21142 ac_status=$?
21143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21144 (exit $ac_status); }; } &&
21145 { ac_try='test -s conftest.$ac_objext'
21146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21147 (eval $ac_try) 2>&5
21148 ac_status=$?
21149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21150 (exit $ac_status); }; }; then
21151 echo "$as_me:$LINENO: result: yes" >&5
21152 echo "${ECHO_T}yes" >&6
21153 else
21154 echo "$as_me: failed program was:" >&5
21155 sed 's/^/| /' conftest.$ac_ext >&5
21156
21157 echo "$as_me:$LINENO: result: no" >&5
21158 echo "${ECHO_T}no" >&6
21159 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
21160 echo "$as_me: error: Basic STL functionality missing" >&2;}
21161 { (exit 1); exit 1; }; }
21162 fi
21163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21164
21165 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
21166 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
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 #include <string>
21174 int
21175 main ()
21176 {
21177 std::wstring foo;
21178 ;
21179 return 0;
21180 }
21181 _ACEOF
21182 rm -f conftest.$ac_objext
21183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21184 (eval $ac_compile) 2>conftest.er1
21185 ac_status=$?
21186 grep -v '^ *+' conftest.er1 >conftest.err
21187 rm -f conftest.er1
21188 cat conftest.err >&5
21189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21190 (exit $ac_status); } &&
21191 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21193 (eval $ac_try) 2>&5
21194 ac_status=$?
21195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21196 (exit $ac_status); }; } &&
21197 { ac_try='test -s conftest.$ac_objext'
21198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21199 (eval $ac_try) 2>&5
21200 ac_status=$?
21201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21202 (exit $ac_status); }; }; then
21203 echo "$as_me:$LINENO: result: yes" >&5
21204 echo "${ECHO_T}yes" >&6
21205 cat >>confdefs.h <<\_ACEOF
21206 #define HAVE_STD_WSTRING 1
21207 _ACEOF
21208
21209 else
21210 echo "$as_me: failed program was:" >&5
21211 sed 's/^/| /' conftest.$ac_ext >&5
21212
21213 echo "$as_me:$LINENO: result: no" >&5
21214 echo "${ECHO_T}no" >&6
21215 fi
21216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21217
21218 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
21219 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
21220 cat >conftest.$ac_ext <<_ACEOF
21221 /* confdefs.h. */
21222 _ACEOF
21223 cat confdefs.h >>conftest.$ac_ext
21224 cat >>conftest.$ac_ext <<_ACEOF
21225 /* end confdefs.h. */
21226 #include <string>
21227 int
21228 main ()
21229 {
21230 std::string foo, bar;
21231 foo.compare(bar);
21232 foo.compare(1, 1, bar);
21233 foo.compare(1, 1, bar, 1, 1);
21234 foo.compare("");
21235 foo.compare(1, 1, "");
21236 foo.compare(1, 1, "", 2);
21237 ;
21238 return 0;
21239 }
21240 _ACEOF
21241 rm -f conftest.$ac_objext
21242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21243 (eval $ac_compile) 2>conftest.er1
21244 ac_status=$?
21245 grep -v '^ *+' conftest.er1 >conftest.err
21246 rm -f conftest.er1
21247 cat conftest.err >&5
21248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21249 (exit $ac_status); } &&
21250 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21252 (eval $ac_try) 2>&5
21253 ac_status=$?
21254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21255 (exit $ac_status); }; } &&
21256 { ac_try='test -s conftest.$ac_objext'
21257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21258 (eval $ac_try) 2>&5
21259 ac_status=$?
21260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21261 (exit $ac_status); }; }; then
21262 echo "$as_me:$LINENO: result: yes" >&5
21263 echo "${ECHO_T}yes" >&6
21264 cat >>confdefs.h <<\_ACEOF
21265 #define HAVE_STD_STRING_COMPARE 1
21266 _ACEOF
21267
21268 else
21269 echo "$as_me: failed program was:" >&5
21270 sed 's/^/| /' conftest.$ac_ext >&5
21271
21272 echo "$as_me:$LINENO: result: no" >&5
21273 echo "${ECHO_T}no" >&6
21274 fi
21275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21276
21277 if test "${ac_cv_header_hash_map+set}" = set; then
21278 echo "$as_me:$LINENO: checking for hash_map" >&5
21279 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
21280 if test "${ac_cv_header_hash_map+set}" = set; then
21281 echo $ECHO_N "(cached) $ECHO_C" >&6
21282 fi
21283 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
21284 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
21285 else
21286 # Is the header compilable?
21287 echo "$as_me:$LINENO: checking hash_map usability" >&5
21288 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
21289 cat >conftest.$ac_ext <<_ACEOF
21290 /* confdefs.h. */
21291 _ACEOF
21292 cat confdefs.h >>conftest.$ac_ext
21293 cat >>conftest.$ac_ext <<_ACEOF
21294 /* end confdefs.h. */
21295 $ac_includes_default
21296 #include <hash_map>
21297 _ACEOF
21298 rm -f conftest.$ac_objext
21299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21300 (eval $ac_compile) 2>conftest.er1
21301 ac_status=$?
21302 grep -v '^ *+' conftest.er1 >conftest.err
21303 rm -f conftest.er1
21304 cat conftest.err >&5
21305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21306 (exit $ac_status); } &&
21307 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21309 (eval $ac_try) 2>&5
21310 ac_status=$?
21311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21312 (exit $ac_status); }; } &&
21313 { ac_try='test -s conftest.$ac_objext'
21314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21315 (eval $ac_try) 2>&5
21316 ac_status=$?
21317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21318 (exit $ac_status); }; }; then
21319 ac_header_compiler=yes
21320 else
21321 echo "$as_me: failed program was:" >&5
21322 sed 's/^/| /' conftest.$ac_ext >&5
21323
21324 ac_header_compiler=no
21325 fi
21326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21327 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21328 echo "${ECHO_T}$ac_header_compiler" >&6
21329
21330 # Is the header present?
21331 echo "$as_me:$LINENO: checking hash_map presence" >&5
21332 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
21333 cat >conftest.$ac_ext <<_ACEOF
21334 /* confdefs.h. */
21335 _ACEOF
21336 cat confdefs.h >>conftest.$ac_ext
21337 cat >>conftest.$ac_ext <<_ACEOF
21338 /* end confdefs.h. */
21339 #include <hash_map>
21340 _ACEOF
21341 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21342 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21343 ac_status=$?
21344 grep -v '^ *+' conftest.er1 >conftest.err
21345 rm -f conftest.er1
21346 cat conftest.err >&5
21347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21348 (exit $ac_status); } >/dev/null; then
21349 if test -s conftest.err; then
21350 ac_cpp_err=$ac_cxx_preproc_warn_flag
21351 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21352 else
21353 ac_cpp_err=
21354 fi
21355 else
21356 ac_cpp_err=yes
21357 fi
21358 if test -z "$ac_cpp_err"; then
21359 ac_header_preproc=yes
21360 else
21361 echo "$as_me: failed program was:" >&5
21362 sed 's/^/| /' conftest.$ac_ext >&5
21363
21364 ac_header_preproc=no
21365 fi
21366 rm -f conftest.err conftest.$ac_ext
21367 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21368 echo "${ECHO_T}$ac_header_preproc" >&6
21369
21370 # So? What about this header?
21371 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21372 yes:no: )
21373 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
21374 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
21375 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
21376 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
21377 ac_header_preproc=yes
21378 ;;
21379 no:yes:* )
21380 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
21381 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
21382 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
21383 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
21384 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
21385 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
21386 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
21387 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
21388 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
21389 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
21390 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
21391 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
21392 (
21393 cat <<\_ASBOX
21394 ## ----------------------------------------- ##
21395 ## Report this to wx-dev@lists.wxwidgets.org ##
21396 ## ----------------------------------------- ##
21397 _ASBOX
21398 ) |
21399 sed "s/^/$as_me: WARNING: /" >&2
21400 ;;
21401 esac
21402 echo "$as_me:$LINENO: checking for hash_map" >&5
21403 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
21404 if test "${ac_cv_header_hash_map+set}" = set; then
21405 echo $ECHO_N "(cached) $ECHO_C" >&6
21406 else
21407 ac_cv_header_hash_map=$ac_header_preproc
21408 fi
21409 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
21410 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
21411
21412 fi
21413 if test $ac_cv_header_hash_map = yes; then
21414 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
21415 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
21416 cat >conftest.$ac_ext <<_ACEOF
21417 /* confdefs.h. */
21418 _ACEOF
21419 cat confdefs.h >>conftest.$ac_ext
21420 cat >>conftest.$ac_ext <<_ACEOF
21421 /* end confdefs.h. */
21422 #include <hash_map>
21423 #include <hash_set>
21424 int
21425 main ()
21426 {
21427 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21428 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21429 ;
21430 return 0;
21431 }
21432 _ACEOF
21433 rm -f conftest.$ac_objext
21434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21435 (eval $ac_compile) 2>conftest.er1
21436 ac_status=$?
21437 grep -v '^ *+' conftest.er1 >conftest.err
21438 rm -f conftest.er1
21439 cat conftest.err >&5
21440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21441 (exit $ac_status); } &&
21442 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21444 (eval $ac_try) 2>&5
21445 ac_status=$?
21446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21447 (exit $ac_status); }; } &&
21448 { ac_try='test -s conftest.$ac_objext'
21449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21450 (eval $ac_try) 2>&5
21451 ac_status=$?
21452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21453 (exit $ac_status); }; }; then
21454 echo "$as_me:$LINENO: result: yes" >&5
21455 echo "${ECHO_T}yes" >&6
21456 cat >>confdefs.h <<\_ACEOF
21457 #define HAVE_HASH_MAP 1
21458 _ACEOF
21459
21460 cat >>confdefs.h <<\_ACEOF
21461 #define HAVE_STD_HASH_MAP 1
21462 _ACEOF
21463
21464 else
21465 echo "$as_me: failed program was:" >&5
21466 sed 's/^/| /' conftest.$ac_ext >&5
21467
21468 echo "$as_me:$LINENO: result: no" >&5
21469 echo "${ECHO_T}no" >&6
21470 fi
21471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21472
21473 fi
21474
21475
21476
21477 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21478 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
21479 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
21480 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21481 echo $ECHO_N "(cached) $ECHO_C" >&6
21482 fi
21483 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
21484 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
21485 else
21486 # Is the header compilable?
21487 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
21488 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
21489 cat >conftest.$ac_ext <<_ACEOF
21490 /* confdefs.h. */
21491 _ACEOF
21492 cat confdefs.h >>conftest.$ac_ext
21493 cat >>conftest.$ac_ext <<_ACEOF
21494 /* end confdefs.h. */
21495 $ac_includes_default
21496 #include <ext/hash_map>
21497 _ACEOF
21498 rm -f conftest.$ac_objext
21499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21500 (eval $ac_compile) 2>conftest.er1
21501 ac_status=$?
21502 grep -v '^ *+' conftest.er1 >conftest.err
21503 rm -f conftest.er1
21504 cat conftest.err >&5
21505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21506 (exit $ac_status); } &&
21507 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21509 (eval $ac_try) 2>&5
21510 ac_status=$?
21511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21512 (exit $ac_status); }; } &&
21513 { ac_try='test -s conftest.$ac_objext'
21514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21515 (eval $ac_try) 2>&5
21516 ac_status=$?
21517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21518 (exit $ac_status); }; }; then
21519 ac_header_compiler=yes
21520 else
21521 echo "$as_me: failed program was:" >&5
21522 sed 's/^/| /' conftest.$ac_ext >&5
21523
21524 ac_header_compiler=no
21525 fi
21526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21527 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21528 echo "${ECHO_T}$ac_header_compiler" >&6
21529
21530 # Is the header present?
21531 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
21532 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
21533 cat >conftest.$ac_ext <<_ACEOF
21534 /* confdefs.h. */
21535 _ACEOF
21536 cat confdefs.h >>conftest.$ac_ext
21537 cat >>conftest.$ac_ext <<_ACEOF
21538 /* end confdefs.h. */
21539 #include <ext/hash_map>
21540 _ACEOF
21541 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21542 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21543 ac_status=$?
21544 grep -v '^ *+' conftest.er1 >conftest.err
21545 rm -f conftest.er1
21546 cat conftest.err >&5
21547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21548 (exit $ac_status); } >/dev/null; then
21549 if test -s conftest.err; then
21550 ac_cpp_err=$ac_cxx_preproc_warn_flag
21551 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21552 else
21553 ac_cpp_err=
21554 fi
21555 else
21556 ac_cpp_err=yes
21557 fi
21558 if test -z "$ac_cpp_err"; then
21559 ac_header_preproc=yes
21560 else
21561 echo "$as_me: failed program was:" >&5
21562 sed 's/^/| /' conftest.$ac_ext >&5
21563
21564 ac_header_preproc=no
21565 fi
21566 rm -f conftest.err conftest.$ac_ext
21567 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21568 echo "${ECHO_T}$ac_header_preproc" >&6
21569
21570 # So? What about this header?
21571 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21572 yes:no: )
21573 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
21574 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
21575 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
21576 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
21577 ac_header_preproc=yes
21578 ;;
21579 no:yes:* )
21580 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
21581 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
21582 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
21583 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
21584 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
21585 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
21586 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
21587 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
21588 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
21589 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
21590 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
21591 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
21592 (
21593 cat <<\_ASBOX
21594 ## ----------------------------------------- ##
21595 ## Report this to wx-dev@lists.wxwidgets.org ##
21596 ## ----------------------------------------- ##
21597 _ASBOX
21598 ) |
21599 sed "s/^/$as_me: WARNING: /" >&2
21600 ;;
21601 esac
21602 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
21603 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
21604 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21605 echo $ECHO_N "(cached) $ECHO_C" >&6
21606 else
21607 ac_cv_header_ext_hash_map=$ac_header_preproc
21608 fi
21609 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
21610 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
21611
21612 fi
21613 if test $ac_cv_header_ext_hash_map = yes; then
21614 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
21615 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
21616 cat >conftest.$ac_ext <<_ACEOF
21617 /* confdefs.h. */
21618 _ACEOF
21619 cat confdefs.h >>conftest.$ac_ext
21620 cat >>conftest.$ac_ext <<_ACEOF
21621 /* end confdefs.h. */
21622 #include <ext/hash_map>
21623 #include <ext/hash_set>
21624 int
21625 main ()
21626 {
21627 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
21628 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
21629 ;
21630 return 0;
21631 }
21632 _ACEOF
21633 rm -f conftest.$ac_objext
21634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21635 (eval $ac_compile) 2>conftest.er1
21636 ac_status=$?
21637 grep -v '^ *+' conftest.er1 >conftest.err
21638 rm -f conftest.er1
21639 cat conftest.err >&5
21640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21641 (exit $ac_status); } &&
21642 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21644 (eval $ac_try) 2>&5
21645 ac_status=$?
21646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21647 (exit $ac_status); }; } &&
21648 { ac_try='test -s conftest.$ac_objext'
21649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21650 (eval $ac_try) 2>&5
21651 ac_status=$?
21652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21653 (exit $ac_status); }; }; then
21654 echo "$as_me:$LINENO: result: yes" >&5
21655 echo "${ECHO_T}yes" >&6
21656 cat >>confdefs.h <<\_ACEOF
21657 #define HAVE_EXT_HASH_MAP 1
21658 _ACEOF
21659
21660 cat >>confdefs.h <<\_ACEOF
21661 #define HAVE_GNU_CXX_HASH_MAP 1
21662 _ACEOF
21663
21664 else
21665 echo "$as_me: failed program was:" >&5
21666 sed 's/^/| /' conftest.$ac_ext >&5
21667
21668 echo "$as_me:$LINENO: result: no" >&5
21669 echo "${ECHO_T}no" >&6
21670 fi
21671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21672
21673 fi
21674
21675
21676
21677 ac_ext=c
21678 ac_cpp='$CPP $CPPFLAGS'
21679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21682
21683 fi
21684
21685
21686 SEARCH_INCLUDE="\
21687 /usr/local/include \
21688 \
21689 /usr/Motif-2.1/include \
21690 /usr/Motif-1.2/include \
21691 /usr/include/Motif1.2 \
21692 /opt/xpm/include/X11 \
21693 /opt/GBxpm/include/ \
21694 /opt/GBxpm/X11/include/ \
21695 \
21696 /usr/dt/include \
21697 /usr/openwin/include \
21698 \
21699 /usr/include/Xm \
21700 \
21701 /usr/X11R6/include \
21702 /usr/X11R6.4/include \
21703 /usr/X11R5/include \
21704 /usr/X11R4/include \
21705 \
21706 /usr/include/X11R6 \
21707 /usr/include/X11R5 \
21708 /usr/include/X11R4 \
21709 \
21710 /usr/local/X11R6/include \
21711 /usr/local/X11R5/include \
21712 /usr/local/X11R4/include \
21713 \
21714 /usr/local/include/X11R6 \
21715 /usr/local/include/X11R5 \
21716 /usr/local/include/X11R4 \
21717 \
21718 /usr/X11/include \
21719 /usr/include/X11 \
21720 /usr/local/X11/include \
21721 /usr/local/include/X11 \
21722 \
21723 /usr/X386/include \
21724 /usr/x386/include \
21725 /usr/XFree86/include/X11 \
21726 \
21727 X:/XFree86/include \
21728 X:/XFree86/include/X11 \
21729 \
21730 /usr/include/gtk \
21731 /usr/local/include/gtk \
21732 /usr/include/glib \
21733 /usr/local/include/glib \
21734 \
21735 /usr/include/qt \
21736 /usr/local/include/qt \
21737 \
21738 /usr/local/arm/3.3.2/include \
21739 \
21740 /usr/include/windows \
21741 /usr/include/wine \
21742 /usr/local/include/wine \
21743 \
21744 /usr/unsupported/include \
21745 /usr/athena/include \
21746 /usr/local/x11r5/include \
21747 /usr/lpp/Xamples/include \
21748 \
21749 /usr/openwin/share/include"
21750
21751 SEARCH_LIB="/usr/lib /usr/lib32 /usr/lib64 /usr/X11R6/lib64 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g`"
21752
21753
21754 cat >confcache <<\_ACEOF
21755 # This file is a shell script that caches the results of configure
21756 # tests run on this system so they can be shared between configure
21757 # scripts and configure runs, see configure's option --config-cache.
21758 # It is not useful on other systems. If it contains results you don't
21759 # want to keep, you may remove or edit it.
21760 #
21761 # config.status only pays attention to the cache file if you give it
21762 # the --recheck option to rerun configure.
21763 #
21764 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21765 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21766 # following values.
21767
21768 _ACEOF
21769
21770 # The following way of writing the cache mishandles newlines in values,
21771 # but we know of no workaround that is simple, portable, and efficient.
21772 # So, don't put newlines in cache variables' values.
21773 # Ultrix sh set writes to stderr and can't be redirected directly,
21774 # and sets the high bit in the cache file unless we assign to the vars.
21775 {
21776 (set) 2>&1 |
21777 case `(ac_space=' '; set | grep ac_space) 2>&1` in
21778 *ac_space=\ *)
21779 # `set' does not quote correctly, so add quotes (double-quote
21780 # substitution turns \\\\ into \\, and sed turns \\ into \).
21781 sed -n \
21782 "s/'/'\\\\''/g;
21783 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21784 ;;
21785 *)
21786 # `set' quotes correctly as required by POSIX, so do not add quotes.
21787 sed -n \
21788 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
21789 ;;
21790 esac;
21791 } |
21792 sed '
21793 t clear
21794 : clear
21795 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21796 t end
21797 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21798 : end' >>confcache
21799 if diff $cache_file confcache >/dev/null 2>&1; then :; else
21800 if test -w $cache_file; then
21801 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
21802 cat confcache >$cache_file
21803 else
21804 echo "not updating unwritable cache $cache_file"
21805 fi
21806 fi
21807 rm -f confcache
21808
21809 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
21810 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
21811 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
21812 if test "${wx_cv_lib_glibc21+set}" = set; then
21813 echo $ECHO_N "(cached) $ECHO_C" >&6
21814 else
21815
21816 cat >conftest.$ac_ext <<_ACEOF
21817 /* confdefs.h. */
21818 _ACEOF
21819 cat confdefs.h >>conftest.$ac_ext
21820 cat >>conftest.$ac_ext <<_ACEOF
21821 /* end confdefs.h. */
21822 #include <features.h>
21823 int
21824 main ()
21825 {
21826
21827 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
21828 #error not glibc2.1
21829 #endif
21830
21831 ;
21832 return 0;
21833 }
21834 _ACEOF
21835 rm -f conftest.$ac_objext
21836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21837 (eval $ac_compile) 2>conftest.er1
21838 ac_status=$?
21839 grep -v '^ *+' conftest.er1 >conftest.err
21840 rm -f conftest.er1
21841 cat conftest.err >&5
21842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21843 (exit $ac_status); } &&
21844 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21846 (eval $ac_try) 2>&5
21847 ac_status=$?
21848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21849 (exit $ac_status); }; } &&
21850 { ac_try='test -s conftest.$ac_objext'
21851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21852 (eval $ac_try) 2>&5
21853 ac_status=$?
21854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21855 (exit $ac_status); }; }; then
21856
21857 wx_cv_lib_glibc21=yes
21858
21859 else
21860 echo "$as_me: failed program was:" >&5
21861 sed 's/^/| /' conftest.$ac_ext >&5
21862
21863
21864 wx_cv_lib_glibc21=no
21865
21866
21867 fi
21868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21869
21870 fi
21871 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
21872 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
21873 if test "$wx_cv_lib_glibc21" = "yes"; then
21874 cat >>confdefs.h <<\_ACEOF
21875 #define wxHAVE_GLIBC2 1
21876 _ACEOF
21877
21878 fi
21879 fi
21880
21881 if test "x$wx_cv_lib_glibc21" = "xyes"; then
21882 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
21883 cat >>confdefs.h <<\_ACEOF
21884 #define _GNU_SOURCE 1
21885 _ACEOF
21886
21887 fi
21888 fi
21889
21890
21891
21892 if test "$wxUSE_REGEX" != "no"; then
21893 cat >>confdefs.h <<\_ACEOF
21894 #define wxUSE_REGEX 1
21895 _ACEOF
21896
21897
21898 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
21899 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
21900 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
21901 wxUSE_REGEX=builtin
21902 fi
21903
21904 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
21905 if test "${ac_cv_header_regex_h+set}" = set; then
21906 echo "$as_me:$LINENO: checking for regex.h" >&5
21907 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
21908 if test "${ac_cv_header_regex_h+set}" = set; then
21909 echo $ECHO_N "(cached) $ECHO_C" >&6
21910 fi
21911 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
21912 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
21913 else
21914 # Is the header compilable?
21915 echo "$as_me:$LINENO: checking regex.h usability" >&5
21916 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
21917 cat >conftest.$ac_ext <<_ACEOF
21918 /* confdefs.h. */
21919 _ACEOF
21920 cat confdefs.h >>conftest.$ac_ext
21921 cat >>conftest.$ac_ext <<_ACEOF
21922 /* end confdefs.h. */
21923 $ac_includes_default
21924 #include <regex.h>
21925 _ACEOF
21926 rm -f conftest.$ac_objext
21927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21928 (eval $ac_compile) 2>conftest.er1
21929 ac_status=$?
21930 grep -v '^ *+' conftest.er1 >conftest.err
21931 rm -f conftest.er1
21932 cat conftest.err >&5
21933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21934 (exit $ac_status); } &&
21935 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21937 (eval $ac_try) 2>&5
21938 ac_status=$?
21939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21940 (exit $ac_status); }; } &&
21941 { ac_try='test -s conftest.$ac_objext'
21942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21943 (eval $ac_try) 2>&5
21944 ac_status=$?
21945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21946 (exit $ac_status); }; }; then
21947 ac_header_compiler=yes
21948 else
21949 echo "$as_me: failed program was:" >&5
21950 sed 's/^/| /' conftest.$ac_ext >&5
21951
21952 ac_header_compiler=no
21953 fi
21954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21955 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21956 echo "${ECHO_T}$ac_header_compiler" >&6
21957
21958 # Is the header present?
21959 echo "$as_me:$LINENO: checking regex.h presence" >&5
21960 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
21961 cat >conftest.$ac_ext <<_ACEOF
21962 /* confdefs.h. */
21963 _ACEOF
21964 cat confdefs.h >>conftest.$ac_ext
21965 cat >>conftest.$ac_ext <<_ACEOF
21966 /* end confdefs.h. */
21967 #include <regex.h>
21968 _ACEOF
21969 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21970 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21971 ac_status=$?
21972 grep -v '^ *+' conftest.er1 >conftest.err
21973 rm -f conftest.er1
21974 cat conftest.err >&5
21975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21976 (exit $ac_status); } >/dev/null; then
21977 if test -s conftest.err; then
21978 ac_cpp_err=$ac_c_preproc_warn_flag
21979 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21980 else
21981 ac_cpp_err=
21982 fi
21983 else
21984 ac_cpp_err=yes
21985 fi
21986 if test -z "$ac_cpp_err"; then
21987 ac_header_preproc=yes
21988 else
21989 echo "$as_me: failed program was:" >&5
21990 sed 's/^/| /' conftest.$ac_ext >&5
21991
21992 ac_header_preproc=no
21993 fi
21994 rm -f conftest.err conftest.$ac_ext
21995 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21996 echo "${ECHO_T}$ac_header_preproc" >&6
21997
21998 # So? What about this header?
21999 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22000 yes:no: )
22001 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
22002 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22003 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
22004 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
22005 ac_header_preproc=yes
22006 ;;
22007 no:yes:* )
22008 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
22009 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
22010 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
22011 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
22012 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
22013 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
22014 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
22015 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
22016 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
22017 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
22018 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
22019 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
22020 (
22021 cat <<\_ASBOX
22022 ## ----------------------------------------- ##
22023 ## Report this to wx-dev@lists.wxwidgets.org ##
22024 ## ----------------------------------------- ##
22025 _ASBOX
22026 ) |
22027 sed "s/^/$as_me: WARNING: /" >&2
22028 ;;
22029 esac
22030 echo "$as_me:$LINENO: checking for regex.h" >&5
22031 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
22032 if test "${ac_cv_header_regex_h+set}" = set; then
22033 echo $ECHO_N "(cached) $ECHO_C" >&6
22034 else
22035 ac_cv_header_regex_h=$ac_header_preproc
22036 fi
22037 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
22038 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
22039
22040 fi
22041 if test $ac_cv_header_regex_h = yes; then
22042
22043 for ac_func in regcomp
22044 do
22045 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22046 echo "$as_me:$LINENO: checking for $ac_func" >&5
22047 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22048 if eval "test \"\${$as_ac_var+set}\" = set"; then
22049 echo $ECHO_N "(cached) $ECHO_C" >&6
22050 else
22051 cat >conftest.$ac_ext <<_ACEOF
22052 /* confdefs.h. */
22053 _ACEOF
22054 cat confdefs.h >>conftest.$ac_ext
22055 cat >>conftest.$ac_ext <<_ACEOF
22056 /* end confdefs.h. */
22057 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22058 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22059 #define $ac_func innocuous_$ac_func
22060
22061 /* System header to define __stub macros and hopefully few prototypes,
22062 which can conflict with char $ac_func (); below.
22063 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22064 <limits.h> exists even on freestanding compilers. */
22065
22066 #ifdef __STDC__
22067 # include <limits.h>
22068 #else
22069 # include <assert.h>
22070 #endif
22071
22072 #undef $ac_func
22073
22074 /* Override any gcc2 internal prototype to avoid an error. */
22075 #ifdef __cplusplus
22076 extern "C"
22077 {
22078 #endif
22079 /* We use char because int might match the return type of a gcc2
22080 builtin and then its argument prototype would still apply. */
22081 char $ac_func ();
22082 /* The GNU C library defines this for functions which it implements
22083 to always fail with ENOSYS. Some functions are actually named
22084 something starting with __ and the normal name is an alias. */
22085 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22086 choke me
22087 #else
22088 char (*f) () = $ac_func;
22089 #endif
22090 #ifdef __cplusplus
22091 }
22092 #endif
22093
22094 int
22095 main ()
22096 {
22097 return f != $ac_func;
22098 ;
22099 return 0;
22100 }
22101 _ACEOF
22102 rm -f conftest.$ac_objext conftest$ac_exeext
22103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22104 (eval $ac_link) 2>conftest.er1
22105 ac_status=$?
22106 grep -v '^ *+' conftest.er1 >conftest.err
22107 rm -f conftest.er1
22108 cat conftest.err >&5
22109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22110 (exit $ac_status); } &&
22111 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22113 (eval $ac_try) 2>&5
22114 ac_status=$?
22115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22116 (exit $ac_status); }; } &&
22117 { ac_try='test -s conftest$ac_exeext'
22118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22119 (eval $ac_try) 2>&5
22120 ac_status=$?
22121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22122 (exit $ac_status); }; }; then
22123 eval "$as_ac_var=yes"
22124 else
22125 echo "$as_me: failed program was:" >&5
22126 sed 's/^/| /' conftest.$ac_ext >&5
22127
22128 eval "$as_ac_var=no"
22129 fi
22130 rm -f conftest.err conftest.$ac_objext \
22131 conftest$ac_exeext conftest.$ac_ext
22132 fi
22133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22135 if test `eval echo '${'$as_ac_var'}'` = yes; then
22136 cat >>confdefs.h <<_ACEOF
22137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22138 _ACEOF
22139
22140 fi
22141 done
22142
22143 fi
22144
22145
22146
22147 if test "x$ac_cv_func_regcomp" != "xyes"; then
22148 if test "$wxUSE_REGEX" = "sys" ; then
22149 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
22150 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
22151 { (exit 1); exit 1; }; }
22152 else
22153 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
22154 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22155 wxUSE_REGEX=builtin
22156 fi
22157 else
22158 wxUSE_REGEX=sys
22159 cat >>confdefs.h <<\_ACEOF
22160 #define WX_NO_REGEX_ADVANCED 1
22161 _ACEOF
22162
22163 fi
22164 fi
22165 fi
22166
22167
22168 ZLIB_LINK=
22169 if test "$wxUSE_ZLIB" != "no" ; then
22170 cat >>confdefs.h <<\_ACEOF
22171 #define wxUSE_ZLIB 1
22172 _ACEOF
22173
22174
22175 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22176 if test "$USE_DARWIN" = 1; then
22177 system_zlib_h_ok="yes"
22178 else
22179 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
22180 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
22181 if test "${ac_cv_header_zlib_h+set}" = set; then
22182 echo $ECHO_N "(cached) $ECHO_C" >&6
22183 else
22184 if test "$cross_compiling" = yes; then
22185 unset ac_cv_header_zlib_h
22186
22187 else
22188 cat >conftest.$ac_ext <<_ACEOF
22189 /* confdefs.h. */
22190 _ACEOF
22191 cat confdefs.h >>conftest.$ac_ext
22192 cat >>conftest.$ac_ext <<_ACEOF
22193 /* end confdefs.h. */
22194
22195 #include <zlib.h>
22196 #include <stdio.h>
22197
22198 int main()
22199 {
22200 FILE *f=fopen("conftestval", "w");
22201 if (!f) exit(1);
22202 fprintf(f, "%s",
22203 ZLIB_VERSION[0] == '1' &&
22204 (ZLIB_VERSION[2] > '1' ||
22205 (ZLIB_VERSION[2] == '1' &&
22206 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22207 exit(0);
22208 }
22209
22210 _ACEOF
22211 rm -f conftest$ac_exeext
22212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22213 (eval $ac_link) 2>&5
22214 ac_status=$?
22215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22216 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22218 (eval $ac_try) 2>&5
22219 ac_status=$?
22220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22221 (exit $ac_status); }; }; then
22222 ac_cv_header_zlib_h=`cat conftestval`
22223 else
22224 echo "$as_me: program exited with status $ac_status" >&5
22225 echo "$as_me: failed program was:" >&5
22226 sed 's/^/| /' conftest.$ac_ext >&5
22227
22228 ( exit $ac_status )
22229 ac_cv_header_zlib_h=no
22230 fi
22231 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22232 fi
22233
22234 fi
22235 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22236 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22237 if test "${ac_cv_header_zlib_h+set}" = set; then
22238 echo "$as_me:$LINENO: checking for zlib.h" >&5
22239 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22240 if test "${ac_cv_header_zlib_h+set}" = set; then
22241 echo $ECHO_N "(cached) $ECHO_C" >&6
22242 fi
22243 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22244 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22245 else
22246 # Is the header compilable?
22247 echo "$as_me:$LINENO: checking zlib.h usability" >&5
22248 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
22249 cat >conftest.$ac_ext <<_ACEOF
22250 /* confdefs.h. */
22251 _ACEOF
22252 cat confdefs.h >>conftest.$ac_ext
22253 cat >>conftest.$ac_ext <<_ACEOF
22254 /* end confdefs.h. */
22255 $ac_includes_default
22256 #include <zlib.h>
22257 _ACEOF
22258 rm -f conftest.$ac_objext
22259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22260 (eval $ac_compile) 2>conftest.er1
22261 ac_status=$?
22262 grep -v '^ *+' conftest.er1 >conftest.err
22263 rm -f conftest.er1
22264 cat conftest.err >&5
22265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22266 (exit $ac_status); } &&
22267 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22269 (eval $ac_try) 2>&5
22270 ac_status=$?
22271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22272 (exit $ac_status); }; } &&
22273 { ac_try='test -s conftest.$ac_objext'
22274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22275 (eval $ac_try) 2>&5
22276 ac_status=$?
22277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22278 (exit $ac_status); }; }; then
22279 ac_header_compiler=yes
22280 else
22281 echo "$as_me: failed program was:" >&5
22282 sed 's/^/| /' conftest.$ac_ext >&5
22283
22284 ac_header_compiler=no
22285 fi
22286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22287 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22288 echo "${ECHO_T}$ac_header_compiler" >&6
22289
22290 # Is the header present?
22291 echo "$as_me:$LINENO: checking zlib.h presence" >&5
22292 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
22293 cat >conftest.$ac_ext <<_ACEOF
22294 /* confdefs.h. */
22295 _ACEOF
22296 cat confdefs.h >>conftest.$ac_ext
22297 cat >>conftest.$ac_ext <<_ACEOF
22298 /* end confdefs.h. */
22299 #include <zlib.h>
22300 _ACEOF
22301 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22302 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22303 ac_status=$?
22304 grep -v '^ *+' conftest.er1 >conftest.err
22305 rm -f conftest.er1
22306 cat conftest.err >&5
22307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22308 (exit $ac_status); } >/dev/null; then
22309 if test -s conftest.err; then
22310 ac_cpp_err=$ac_c_preproc_warn_flag
22311 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22312 else
22313 ac_cpp_err=
22314 fi
22315 else
22316 ac_cpp_err=yes
22317 fi
22318 if test -z "$ac_cpp_err"; then
22319 ac_header_preproc=yes
22320 else
22321 echo "$as_me: failed program was:" >&5
22322 sed 's/^/| /' conftest.$ac_ext >&5
22323
22324 ac_header_preproc=no
22325 fi
22326 rm -f conftest.err conftest.$ac_ext
22327 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22328 echo "${ECHO_T}$ac_header_preproc" >&6
22329
22330 # So? What about this header?
22331 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22332 yes:no: )
22333 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
22334 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22335 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
22336 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
22337 ac_header_preproc=yes
22338 ;;
22339 no:yes:* )
22340 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
22341 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
22342 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
22343 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
22344 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
22345 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
22346 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
22347 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
22348 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
22349 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
22350 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
22351 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
22352 (
22353 cat <<\_ASBOX
22354 ## ----------------------------------------- ##
22355 ## Report this to wx-dev@lists.wxwidgets.org ##
22356 ## ----------------------------------------- ##
22357 _ASBOX
22358 ) |
22359 sed "s/^/$as_me: WARNING: /" >&2
22360 ;;
22361 esac
22362 echo "$as_me:$LINENO: checking for zlib.h" >&5
22363 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22364 if test "${ac_cv_header_zlib_h+set}" = set; then
22365 echo $ECHO_N "(cached) $ECHO_C" >&6
22366 else
22367 ac_cv_header_zlib_h=$ac_header_preproc
22368 fi
22369 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22370 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22371
22372 fi
22373
22374
22375
22376 system_zlib_h_ok=$ac_cv_header_zlib_h
22377 fi
22378
22379 if test "$system_zlib_h_ok" = "yes"; then
22380 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
22381 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
22382 if test "${ac_cv_lib_z_deflate+set}" = set; then
22383 echo $ECHO_N "(cached) $ECHO_C" >&6
22384 else
22385 ac_check_lib_save_LIBS=$LIBS
22386 LIBS="-lz $LIBS"
22387 cat >conftest.$ac_ext <<_ACEOF
22388 /* confdefs.h. */
22389 _ACEOF
22390 cat confdefs.h >>conftest.$ac_ext
22391 cat >>conftest.$ac_ext <<_ACEOF
22392 /* end confdefs.h. */
22393
22394 /* Override any gcc2 internal prototype to avoid an error. */
22395 #ifdef __cplusplus
22396 extern "C"
22397 #endif
22398 /* We use char because int might match the return type of a gcc2
22399 builtin and then its argument prototype would still apply. */
22400 char deflate ();
22401 int
22402 main ()
22403 {
22404 deflate ();
22405 ;
22406 return 0;
22407 }
22408 _ACEOF
22409 rm -f conftest.$ac_objext conftest$ac_exeext
22410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22411 (eval $ac_link) 2>conftest.er1
22412 ac_status=$?
22413 grep -v '^ *+' conftest.er1 >conftest.err
22414 rm -f conftest.er1
22415 cat conftest.err >&5
22416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22417 (exit $ac_status); } &&
22418 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22420 (eval $ac_try) 2>&5
22421 ac_status=$?
22422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22423 (exit $ac_status); }; } &&
22424 { ac_try='test -s conftest$ac_exeext'
22425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22426 (eval $ac_try) 2>&5
22427 ac_status=$?
22428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22429 (exit $ac_status); }; }; then
22430 ac_cv_lib_z_deflate=yes
22431 else
22432 echo "$as_me: failed program was:" >&5
22433 sed 's/^/| /' conftest.$ac_ext >&5
22434
22435 ac_cv_lib_z_deflate=no
22436 fi
22437 rm -f conftest.err conftest.$ac_objext \
22438 conftest$ac_exeext conftest.$ac_ext
22439 LIBS=$ac_check_lib_save_LIBS
22440 fi
22441 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
22442 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
22443 if test $ac_cv_lib_z_deflate = yes; then
22444 ZLIB_LINK=" -lz"
22445 fi
22446
22447 fi
22448
22449 if test "x$ZLIB_LINK" = "x" ; then
22450 if test "$wxUSE_ZLIB" = "sys" ; then
22451 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
22452 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
22453 { (exit 1); exit 1; }; }
22454 else
22455 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
22456 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22457 wxUSE_ZLIB=builtin
22458 fi
22459 else
22460 wxUSE_ZLIB=sys
22461 fi
22462 fi
22463 fi
22464
22465
22466 PNG_LINK=
22467 if test "$wxUSE_LIBPNG" != "no" ; then
22468 cat >>confdefs.h <<\_ACEOF
22469 #define wxUSE_LIBPNG 1
22470 _ACEOF
22471
22472
22473 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
22474 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
22475 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
22476 wxUSE_LIBPNG=sys
22477 fi
22478
22479 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22480 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22481 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22482 wxUSE_LIBPNG=builtin
22483 fi
22484
22485 if test "$wxUSE_MGL" != 1 ; then
22486 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22487 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
22488 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
22489 if test "${ac_cv_header_png_h+set}" = set; then
22490 echo $ECHO_N "(cached) $ECHO_C" >&6
22491 else
22492 if test "$cross_compiling" = yes; then
22493 unset ac_cv_header_png_h
22494
22495 else
22496 cat >conftest.$ac_ext <<_ACEOF
22497 /* confdefs.h. */
22498 _ACEOF
22499 cat confdefs.h >>conftest.$ac_ext
22500 cat >>conftest.$ac_ext <<_ACEOF
22501 /* end confdefs.h. */
22502
22503 #include <png.h>
22504 #include <stdio.h>
22505
22506 int main()
22507 {
22508 FILE *f=fopen("conftestval", "w");
22509 if (!f) exit(1);
22510 fprintf(f, "%s",
22511 PNG_LIBPNG_VER > 90 ? "yes" : "no");
22512 exit(0);
22513 }
22514
22515 _ACEOF
22516 rm -f conftest$ac_exeext
22517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22518 (eval $ac_link) 2>&5
22519 ac_status=$?
22520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22521 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22523 (eval $ac_try) 2>&5
22524 ac_status=$?
22525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22526 (exit $ac_status); }; }; then
22527 ac_cv_header_png_h=`cat conftestval`
22528 else
22529 echo "$as_me: program exited with status $ac_status" >&5
22530 echo "$as_me: failed program was:" >&5
22531 sed 's/^/| /' conftest.$ac_ext >&5
22532
22533 ( exit $ac_status )
22534 ac_cv_header_png_h=no
22535 fi
22536 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22537 fi
22538
22539 fi
22540 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
22541 echo "${ECHO_T}$ac_cv_header_png_h" >&6
22542 if test "${ac_cv_header_png_h+set}" = set; then
22543 echo "$as_me:$LINENO: checking for png.h" >&5
22544 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
22545 if test "${ac_cv_header_png_h+set}" = set; then
22546 echo $ECHO_N "(cached) $ECHO_C" >&6
22547 fi
22548 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
22549 echo "${ECHO_T}$ac_cv_header_png_h" >&6
22550 else
22551 # Is the header compilable?
22552 echo "$as_me:$LINENO: checking png.h usability" >&5
22553 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
22554 cat >conftest.$ac_ext <<_ACEOF
22555 /* confdefs.h. */
22556 _ACEOF
22557 cat confdefs.h >>conftest.$ac_ext
22558 cat >>conftest.$ac_ext <<_ACEOF
22559 /* end confdefs.h. */
22560 $ac_includes_default
22561 #include <png.h>
22562 _ACEOF
22563 rm -f conftest.$ac_objext
22564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22565 (eval $ac_compile) 2>conftest.er1
22566 ac_status=$?
22567 grep -v '^ *+' conftest.er1 >conftest.err
22568 rm -f conftest.er1
22569 cat conftest.err >&5
22570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22571 (exit $ac_status); } &&
22572 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22574 (eval $ac_try) 2>&5
22575 ac_status=$?
22576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22577 (exit $ac_status); }; } &&
22578 { ac_try='test -s conftest.$ac_objext'
22579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22580 (eval $ac_try) 2>&5
22581 ac_status=$?
22582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22583 (exit $ac_status); }; }; then
22584 ac_header_compiler=yes
22585 else
22586 echo "$as_me: failed program was:" >&5
22587 sed 's/^/| /' conftest.$ac_ext >&5
22588
22589 ac_header_compiler=no
22590 fi
22591 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22592 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22593 echo "${ECHO_T}$ac_header_compiler" >&6
22594
22595 # Is the header present?
22596 echo "$as_me:$LINENO: checking png.h presence" >&5
22597 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
22598 cat >conftest.$ac_ext <<_ACEOF
22599 /* confdefs.h. */
22600 _ACEOF
22601 cat confdefs.h >>conftest.$ac_ext
22602 cat >>conftest.$ac_ext <<_ACEOF
22603 /* end confdefs.h. */
22604 #include <png.h>
22605 _ACEOF
22606 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22607 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22608 ac_status=$?
22609 grep -v '^ *+' conftest.er1 >conftest.err
22610 rm -f conftest.er1
22611 cat conftest.err >&5
22612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22613 (exit $ac_status); } >/dev/null; then
22614 if test -s conftest.err; then
22615 ac_cpp_err=$ac_c_preproc_warn_flag
22616 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22617 else
22618 ac_cpp_err=
22619 fi
22620 else
22621 ac_cpp_err=yes
22622 fi
22623 if test -z "$ac_cpp_err"; then
22624 ac_header_preproc=yes
22625 else
22626 echo "$as_me: failed program was:" >&5
22627 sed 's/^/| /' conftest.$ac_ext >&5
22628
22629 ac_header_preproc=no
22630 fi
22631 rm -f conftest.err conftest.$ac_ext
22632 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22633 echo "${ECHO_T}$ac_header_preproc" >&6
22634
22635 # So? What about this header?
22636 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22637 yes:no: )
22638 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
22639 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22640 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
22641 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
22642 ac_header_preproc=yes
22643 ;;
22644 no:yes:* )
22645 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
22646 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
22647 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
22648 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
22649 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
22650 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
22651 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
22652 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
22653 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
22654 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
22655 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
22656 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
22657 (
22658 cat <<\_ASBOX
22659 ## ----------------------------------------- ##
22660 ## Report this to wx-dev@lists.wxwidgets.org ##
22661 ## ----------------------------------------- ##
22662 _ASBOX
22663 ) |
22664 sed "s/^/$as_me: WARNING: /" >&2
22665 ;;
22666 esac
22667 echo "$as_me:$LINENO: checking for png.h" >&5
22668 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
22669 if test "${ac_cv_header_png_h+set}" = set; then
22670 echo $ECHO_N "(cached) $ECHO_C" >&6
22671 else
22672 ac_cv_header_png_h=$ac_header_preproc
22673 fi
22674 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
22675 echo "${ECHO_T}$ac_cv_header_png_h" >&6
22676
22677 fi
22678
22679
22680
22681 if test "$ac_cv_header_png_h" = "yes"; then
22682 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
22683 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
22684 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
22685 echo $ECHO_N "(cached) $ECHO_C" >&6
22686 else
22687 ac_check_lib_save_LIBS=$LIBS
22688 LIBS="-lpng -lz -lm $LIBS"
22689 cat >conftest.$ac_ext <<_ACEOF
22690 /* confdefs.h. */
22691 _ACEOF
22692 cat confdefs.h >>conftest.$ac_ext
22693 cat >>conftest.$ac_ext <<_ACEOF
22694 /* end confdefs.h. */
22695
22696 /* Override any gcc2 internal prototype to avoid an error. */
22697 #ifdef __cplusplus
22698 extern "C"
22699 #endif
22700 /* We use char because int might match the return type of a gcc2
22701 builtin and then its argument prototype would still apply. */
22702 char png_check_sig ();
22703 int
22704 main ()
22705 {
22706 png_check_sig ();
22707 ;
22708 return 0;
22709 }
22710 _ACEOF
22711 rm -f conftest.$ac_objext conftest$ac_exeext
22712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22713 (eval $ac_link) 2>conftest.er1
22714 ac_status=$?
22715 grep -v '^ *+' conftest.er1 >conftest.err
22716 rm -f conftest.er1
22717 cat conftest.err >&5
22718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22719 (exit $ac_status); } &&
22720 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22722 (eval $ac_try) 2>&5
22723 ac_status=$?
22724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22725 (exit $ac_status); }; } &&
22726 { ac_try='test -s conftest$ac_exeext'
22727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22728 (eval $ac_try) 2>&5
22729 ac_status=$?
22730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22731 (exit $ac_status); }; }; then
22732 ac_cv_lib_png_png_check_sig=yes
22733 else
22734 echo "$as_me: failed program was:" >&5
22735 sed 's/^/| /' conftest.$ac_ext >&5
22736
22737 ac_cv_lib_png_png_check_sig=no
22738 fi
22739 rm -f conftest.err conftest.$ac_objext \
22740 conftest$ac_exeext conftest.$ac_ext
22741 LIBS=$ac_check_lib_save_LIBS
22742 fi
22743 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
22744 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
22745 if test $ac_cv_lib_png_png_check_sig = yes; then
22746 PNG_LINK=" -lpng -lz"
22747 fi
22748
22749 fi
22750
22751 if test "x$PNG_LINK" = "x" ; then
22752 if test "$wxUSE_LIBPNG" = "sys" ; then
22753 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
22754 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
22755 { (exit 1); exit 1; }; }
22756 else
22757 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
22758 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
22759 wxUSE_LIBPNG=builtin
22760 fi
22761 else
22762 wxUSE_LIBPNG=sys
22763 fi
22764 fi
22765 fi
22766
22767 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
22768 fi
22769
22770
22771 JPEG_LINK=
22772 if test "$wxUSE_LIBJPEG" != "no" ; then
22773 cat >>confdefs.h <<\_ACEOF
22774 #define wxUSE_LIBJPEG 1
22775 _ACEOF
22776
22777
22778 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
22779 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
22780 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
22781 wxUSE_LIBJPEG=sys
22782 fi
22783
22784 if test "$wxUSE_MGL" != 1 ; then
22785 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
22786 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
22787 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
22788 if test "${ac_cv_header_jpeglib_h+set}" = set; then
22789 echo $ECHO_N "(cached) $ECHO_C" >&6
22790 else
22791 cat >conftest.$ac_ext <<_ACEOF
22792 /* confdefs.h. */
22793 _ACEOF
22794 cat confdefs.h >>conftest.$ac_ext
22795 cat >>conftest.$ac_ext <<_ACEOF
22796 /* end confdefs.h. */
22797
22798 #undef HAVE_STDLIB_H
22799 #include <stdio.h>
22800 #include <jpeglib.h>
22801
22802 int
22803 main ()
22804 {
22805
22806
22807 ;
22808 return 0;
22809 }
22810 _ACEOF
22811 rm -f conftest.$ac_objext
22812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22813 (eval $ac_compile) 2>conftest.er1
22814 ac_status=$?
22815 grep -v '^ *+' conftest.er1 >conftest.err
22816 rm -f conftest.er1
22817 cat conftest.err >&5
22818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22819 (exit $ac_status); } &&
22820 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22822 (eval $ac_try) 2>&5
22823 ac_status=$?
22824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22825 (exit $ac_status); }; } &&
22826 { ac_try='test -s conftest.$ac_objext'
22827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22828 (eval $ac_try) 2>&5
22829 ac_status=$?
22830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22831 (exit $ac_status); }; }; then
22832 ac_cv_header_jpeglib_h=yes
22833 else
22834 echo "$as_me: failed program was:" >&5
22835 sed 's/^/| /' conftest.$ac_ext >&5
22836
22837 ac_cv_header_jpeglib_h=no
22838
22839 fi
22840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22841
22842 fi
22843
22844 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
22845 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
22846
22847 if test "$ac_cv_header_jpeglib_h" = "yes"; then
22848 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
22849 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
22850 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
22851 echo $ECHO_N "(cached) $ECHO_C" >&6
22852 else
22853 ac_check_lib_save_LIBS=$LIBS
22854 LIBS="-ljpeg $LIBS"
22855 cat >conftest.$ac_ext <<_ACEOF
22856 /* confdefs.h. */
22857 _ACEOF
22858 cat confdefs.h >>conftest.$ac_ext
22859 cat >>conftest.$ac_ext <<_ACEOF
22860 /* end confdefs.h. */
22861
22862 /* Override any gcc2 internal prototype to avoid an error. */
22863 #ifdef __cplusplus
22864 extern "C"
22865 #endif
22866 /* We use char because int might match the return type of a gcc2
22867 builtin and then its argument prototype would still apply. */
22868 char jpeg_read_header ();
22869 int
22870 main ()
22871 {
22872 jpeg_read_header ();
22873 ;
22874 return 0;
22875 }
22876 _ACEOF
22877 rm -f conftest.$ac_objext conftest$ac_exeext
22878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22879 (eval $ac_link) 2>conftest.er1
22880 ac_status=$?
22881 grep -v '^ *+' conftest.er1 >conftest.err
22882 rm -f conftest.er1
22883 cat conftest.err >&5
22884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22885 (exit $ac_status); } &&
22886 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22888 (eval $ac_try) 2>&5
22889 ac_status=$?
22890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22891 (exit $ac_status); }; } &&
22892 { ac_try='test -s conftest$ac_exeext'
22893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22894 (eval $ac_try) 2>&5
22895 ac_status=$?
22896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22897 (exit $ac_status); }; }; then
22898 ac_cv_lib_jpeg_jpeg_read_header=yes
22899 else
22900 echo "$as_me: failed program was:" >&5
22901 sed 's/^/| /' conftest.$ac_ext >&5
22902
22903 ac_cv_lib_jpeg_jpeg_read_header=no
22904 fi
22905 rm -f conftest.err conftest.$ac_objext \
22906 conftest$ac_exeext conftest.$ac_ext
22907 LIBS=$ac_check_lib_save_LIBS
22908 fi
22909 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
22910 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
22911 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
22912 JPEG_LINK=" -ljpeg"
22913 fi
22914
22915 fi
22916
22917 if test "x$JPEG_LINK" = "x" ; then
22918 if test "$wxUSE_LIBJPEG" = "sys" ; then
22919 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
22920 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
22921 { (exit 1); exit 1; }; }
22922 else
22923 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
22924 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
22925 wxUSE_LIBJPEG=builtin
22926 fi
22927 else
22928 wxUSE_LIBJPEG=sys
22929 fi
22930 fi
22931 fi
22932 fi
22933
22934
22935 TIFF_LINK=
22936 TIFF_PREREQ_LINKS=-lm
22937 if test "$wxUSE_LIBTIFF" != "no" ; then
22938 cat >>confdefs.h <<\_ACEOF
22939 #define wxUSE_LIBTIFF 1
22940 _ACEOF
22941
22942
22943 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
22944 if test "$wxUSE_LIBJPEG" = "sys"; then
22945 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
22946 fi
22947 if test "$wxUSE_ZLIB" = "sys"; then
22948 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
22949 fi
22950 if test "${ac_cv_header_tiffio_h+set}" = set; then
22951 echo "$as_me:$LINENO: checking for tiffio.h" >&5
22952 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
22953 if test "${ac_cv_header_tiffio_h+set}" = set; then
22954 echo $ECHO_N "(cached) $ECHO_C" >&6
22955 fi
22956 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
22957 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
22958 else
22959 # Is the header compilable?
22960 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
22961 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
22962 cat >conftest.$ac_ext <<_ACEOF
22963 /* confdefs.h. */
22964 _ACEOF
22965 cat confdefs.h >>conftest.$ac_ext
22966 cat >>conftest.$ac_ext <<_ACEOF
22967 /* end confdefs.h. */
22968 $ac_includes_default
22969 #include <tiffio.h>
22970 _ACEOF
22971 rm -f conftest.$ac_objext
22972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22973 (eval $ac_compile) 2>conftest.er1
22974 ac_status=$?
22975 grep -v '^ *+' conftest.er1 >conftest.err
22976 rm -f conftest.er1
22977 cat conftest.err >&5
22978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22979 (exit $ac_status); } &&
22980 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22982 (eval $ac_try) 2>&5
22983 ac_status=$?
22984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22985 (exit $ac_status); }; } &&
22986 { ac_try='test -s conftest.$ac_objext'
22987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22988 (eval $ac_try) 2>&5
22989 ac_status=$?
22990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22991 (exit $ac_status); }; }; then
22992 ac_header_compiler=yes
22993 else
22994 echo "$as_me: failed program was:" >&5
22995 sed 's/^/| /' conftest.$ac_ext >&5
22996
22997 ac_header_compiler=no
22998 fi
22999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23000 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23001 echo "${ECHO_T}$ac_header_compiler" >&6
23002
23003 # Is the header present?
23004 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
23005 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
23006 cat >conftest.$ac_ext <<_ACEOF
23007 /* confdefs.h. */
23008 _ACEOF
23009 cat confdefs.h >>conftest.$ac_ext
23010 cat >>conftest.$ac_ext <<_ACEOF
23011 /* end confdefs.h. */
23012 #include <tiffio.h>
23013 _ACEOF
23014 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23015 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23016 ac_status=$?
23017 grep -v '^ *+' conftest.er1 >conftest.err
23018 rm -f conftest.er1
23019 cat conftest.err >&5
23020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23021 (exit $ac_status); } >/dev/null; then
23022 if test -s conftest.err; then
23023 ac_cpp_err=$ac_c_preproc_warn_flag
23024 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23025 else
23026 ac_cpp_err=
23027 fi
23028 else
23029 ac_cpp_err=yes
23030 fi
23031 if test -z "$ac_cpp_err"; then
23032 ac_header_preproc=yes
23033 else
23034 echo "$as_me: failed program was:" >&5
23035 sed 's/^/| /' conftest.$ac_ext >&5
23036
23037 ac_header_preproc=no
23038 fi
23039 rm -f conftest.err conftest.$ac_ext
23040 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23041 echo "${ECHO_T}$ac_header_preproc" >&6
23042
23043 # So? What about this header?
23044 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23045 yes:no: )
23046 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
23047 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23048 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
23049 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
23050 ac_header_preproc=yes
23051 ;;
23052 no:yes:* )
23053 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
23054 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
23055 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
23056 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
23057 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
23058 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
23059 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
23060 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
23061 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
23062 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
23063 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
23064 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
23065 (
23066 cat <<\_ASBOX
23067 ## ----------------------------------------- ##
23068 ## Report this to wx-dev@lists.wxwidgets.org ##
23069 ## ----------------------------------------- ##
23070 _ASBOX
23071 ) |
23072 sed "s/^/$as_me: WARNING: /" >&2
23073 ;;
23074 esac
23075 echo "$as_me:$LINENO: checking for tiffio.h" >&5
23076 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
23077 if test "${ac_cv_header_tiffio_h+set}" = set; then
23078 echo $ECHO_N "(cached) $ECHO_C" >&6
23079 else
23080 ac_cv_header_tiffio_h=$ac_header_preproc
23081 fi
23082 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
23083 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
23084
23085 fi
23086 if test $ac_cv_header_tiffio_h = yes; then
23087
23088 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
23089 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
23090 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
23091 echo $ECHO_N "(cached) $ECHO_C" >&6
23092 else
23093 ac_check_lib_save_LIBS=$LIBS
23094 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
23095 cat >conftest.$ac_ext <<_ACEOF
23096 /* confdefs.h. */
23097 _ACEOF
23098 cat confdefs.h >>conftest.$ac_ext
23099 cat >>conftest.$ac_ext <<_ACEOF
23100 /* end confdefs.h. */
23101
23102 /* Override any gcc2 internal prototype to avoid an error. */
23103 #ifdef __cplusplus
23104 extern "C"
23105 #endif
23106 /* We use char because int might match the return type of a gcc2
23107 builtin and then its argument prototype would still apply. */
23108 char TIFFError ();
23109 int
23110 main ()
23111 {
23112 TIFFError ();
23113 ;
23114 return 0;
23115 }
23116 _ACEOF
23117 rm -f conftest.$ac_objext conftest$ac_exeext
23118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23119 (eval $ac_link) 2>conftest.er1
23120 ac_status=$?
23121 grep -v '^ *+' conftest.er1 >conftest.err
23122 rm -f conftest.er1
23123 cat conftest.err >&5
23124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23125 (exit $ac_status); } &&
23126 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23128 (eval $ac_try) 2>&5
23129 ac_status=$?
23130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23131 (exit $ac_status); }; } &&
23132 { ac_try='test -s conftest$ac_exeext'
23133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23134 (eval $ac_try) 2>&5
23135 ac_status=$?
23136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23137 (exit $ac_status); }; }; then
23138 ac_cv_lib_tiff_TIFFError=yes
23139 else
23140 echo "$as_me: failed program was:" >&5
23141 sed 's/^/| /' conftest.$ac_ext >&5
23142
23143 ac_cv_lib_tiff_TIFFError=no
23144 fi
23145 rm -f conftest.err conftest.$ac_objext \
23146 conftest$ac_exeext conftest.$ac_ext
23147 LIBS=$ac_check_lib_save_LIBS
23148 fi
23149 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
23150 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
23151 if test $ac_cv_lib_tiff_TIFFError = yes; then
23152 TIFF_LINK=" -ltiff"
23153 fi
23154
23155
23156
23157 fi
23158
23159
23160
23161 if test "x$TIFF_LINK" = "x" ; then
23162 if test "$wxUSE_LIBTIFF" = "sys" ; then
23163 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
23164 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
23165 { (exit 1); exit 1; }; }
23166 else
23167 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
23168 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
23169 wxUSE_LIBTIFF=builtin
23170 fi
23171 else
23172 wxUSE_LIBTIFF=sys
23173 fi
23174 fi
23175 fi
23176
23177
23178 if test "$wxUSE_EXPAT" != "no"; then
23179 wxUSE_XML=yes
23180 cat >>confdefs.h <<\_ACEOF
23181 #define wxUSE_EXPAT 1
23182 _ACEOF
23183
23184 cat >>confdefs.h <<\_ACEOF
23185 #define wxUSE_XML 1
23186 _ACEOF
23187
23188
23189 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
23190 if test "${ac_cv_header_expat_h+set}" = set; then
23191 echo "$as_me:$LINENO: checking for expat.h" >&5
23192 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
23193 if test "${ac_cv_header_expat_h+set}" = set; then
23194 echo $ECHO_N "(cached) $ECHO_C" >&6
23195 fi
23196 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
23197 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
23198 else
23199 # Is the header compilable?
23200 echo "$as_me:$LINENO: checking expat.h usability" >&5
23201 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
23202 cat >conftest.$ac_ext <<_ACEOF
23203 /* confdefs.h. */
23204 _ACEOF
23205 cat confdefs.h >>conftest.$ac_ext
23206 cat >>conftest.$ac_ext <<_ACEOF
23207 /* end confdefs.h. */
23208 $ac_includes_default
23209 #include <expat.h>
23210 _ACEOF
23211 rm -f conftest.$ac_objext
23212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23213 (eval $ac_compile) 2>conftest.er1
23214 ac_status=$?
23215 grep -v '^ *+' conftest.er1 >conftest.err
23216 rm -f conftest.er1
23217 cat conftest.err >&5
23218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23219 (exit $ac_status); } &&
23220 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23222 (eval $ac_try) 2>&5
23223 ac_status=$?
23224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23225 (exit $ac_status); }; } &&
23226 { ac_try='test -s conftest.$ac_objext'
23227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23228 (eval $ac_try) 2>&5
23229 ac_status=$?
23230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23231 (exit $ac_status); }; }; then
23232 ac_header_compiler=yes
23233 else
23234 echo "$as_me: failed program was:" >&5
23235 sed 's/^/| /' conftest.$ac_ext >&5
23236
23237 ac_header_compiler=no
23238 fi
23239 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23240 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23241 echo "${ECHO_T}$ac_header_compiler" >&6
23242
23243 # Is the header present?
23244 echo "$as_me:$LINENO: checking expat.h presence" >&5
23245 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
23246 cat >conftest.$ac_ext <<_ACEOF
23247 /* confdefs.h. */
23248 _ACEOF
23249 cat confdefs.h >>conftest.$ac_ext
23250 cat >>conftest.$ac_ext <<_ACEOF
23251 /* end confdefs.h. */
23252 #include <expat.h>
23253 _ACEOF
23254 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23255 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23256 ac_status=$?
23257 grep -v '^ *+' conftest.er1 >conftest.err
23258 rm -f conftest.er1
23259 cat conftest.err >&5
23260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23261 (exit $ac_status); } >/dev/null; then
23262 if test -s conftest.err; then
23263 ac_cpp_err=$ac_c_preproc_warn_flag
23264 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23265 else
23266 ac_cpp_err=
23267 fi
23268 else
23269 ac_cpp_err=yes
23270 fi
23271 if test -z "$ac_cpp_err"; then
23272 ac_header_preproc=yes
23273 else
23274 echo "$as_me: failed program was:" >&5
23275 sed 's/^/| /' conftest.$ac_ext >&5
23276
23277 ac_header_preproc=no
23278 fi
23279 rm -f conftest.err conftest.$ac_ext
23280 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23281 echo "${ECHO_T}$ac_header_preproc" >&6
23282
23283 # So? What about this header?
23284 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23285 yes:no: )
23286 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
23287 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23288 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
23289 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
23290 ac_header_preproc=yes
23291 ;;
23292 no:yes:* )
23293 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
23294 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
23295 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
23296 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
23297 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
23298 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
23299 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
23300 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
23301 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
23302 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
23303 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
23304 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
23305 (
23306 cat <<\_ASBOX
23307 ## ----------------------------------------- ##
23308 ## Report this to wx-dev@lists.wxwidgets.org ##
23309 ## ----------------------------------------- ##
23310 _ASBOX
23311 ) |
23312 sed "s/^/$as_me: WARNING: /" >&2
23313 ;;
23314 esac
23315 echo "$as_me:$LINENO: checking for expat.h" >&5
23316 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
23317 if test "${ac_cv_header_expat_h+set}" = set; then
23318 echo $ECHO_N "(cached) $ECHO_C" >&6
23319 else
23320 ac_cv_header_expat_h=$ac_header_preproc
23321 fi
23322 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
23323 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
23324
23325 fi
23326 if test $ac_cv_header_expat_h = yes; then
23327 found_expat_h=1
23328 fi
23329
23330
23331 if test "x$found_expat_h" = "x1"; then
23332 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
23333 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
23334 if test "${wx_cv_expat_is_not_broken+set}" = set; then
23335 echo $ECHO_N "(cached) $ECHO_C" >&6
23336 else
23337
23338
23339
23340 ac_ext=cc
23341 ac_cpp='$CXXCPP $CPPFLAGS'
23342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23345
23346 cat >conftest.$ac_ext <<_ACEOF
23347 /* confdefs.h. */
23348 _ACEOF
23349 cat confdefs.h >>conftest.$ac_ext
23350 cat >>conftest.$ac_ext <<_ACEOF
23351 /* end confdefs.h. */
23352 #include <expat.h>
23353 int
23354 main ()
23355 {
23356
23357 ;
23358 return 0;
23359 }
23360 _ACEOF
23361 rm -f conftest.$ac_objext
23362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23363 (eval $ac_compile) 2>conftest.er1
23364 ac_status=$?
23365 grep -v '^ *+' conftest.er1 >conftest.err
23366 rm -f conftest.er1
23367 cat conftest.err >&5
23368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23369 (exit $ac_status); } &&
23370 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23372 (eval $ac_try) 2>&5
23373 ac_status=$?
23374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23375 (exit $ac_status); }; } &&
23376 { ac_try='test -s conftest.$ac_objext'
23377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23378 (eval $ac_try) 2>&5
23379 ac_status=$?
23380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23381 (exit $ac_status); }; }; then
23382 wx_cv_expat_is_not_broken=yes
23383 else
23384 echo "$as_me: failed program was:" >&5
23385 sed 's/^/| /' conftest.$ac_ext >&5
23386
23387 wx_cv_expat_is_not_broken=no
23388
23389 fi
23390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23391 ac_ext=c
23392 ac_cpp='$CPP $CPPFLAGS'
23393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23396
23397
23398
23399 fi
23400 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
23401 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
23402 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
23403 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
23404 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
23405 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
23406 echo $ECHO_N "(cached) $ECHO_C" >&6
23407 else
23408 ac_check_lib_save_LIBS=$LIBS
23409 LIBS="-lexpat $LIBS"
23410 cat >conftest.$ac_ext <<_ACEOF
23411 /* confdefs.h. */
23412 _ACEOF
23413 cat confdefs.h >>conftest.$ac_ext
23414 cat >>conftest.$ac_ext <<_ACEOF
23415 /* end confdefs.h. */
23416
23417 /* Override any gcc2 internal prototype to avoid an error. */
23418 #ifdef __cplusplus
23419 extern "C"
23420 #endif
23421 /* We use char because int might match the return type of a gcc2
23422 builtin and then its argument prototype would still apply. */
23423 char XML_ParserCreate ();
23424 int
23425 main ()
23426 {
23427 XML_ParserCreate ();
23428 ;
23429 return 0;
23430 }
23431 _ACEOF
23432 rm -f conftest.$ac_objext conftest$ac_exeext
23433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23434 (eval $ac_link) 2>conftest.er1
23435 ac_status=$?
23436 grep -v '^ *+' conftest.er1 >conftest.err
23437 rm -f conftest.er1
23438 cat conftest.err >&5
23439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23440 (exit $ac_status); } &&
23441 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23443 (eval $ac_try) 2>&5
23444 ac_status=$?
23445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23446 (exit $ac_status); }; } &&
23447 { ac_try='test -s conftest$ac_exeext'
23448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23449 (eval $ac_try) 2>&5
23450 ac_status=$?
23451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23452 (exit $ac_status); }; }; then
23453 ac_cv_lib_expat_XML_ParserCreate=yes
23454 else
23455 echo "$as_me: failed program was:" >&5
23456 sed 's/^/| /' conftest.$ac_ext >&5
23457
23458 ac_cv_lib_expat_XML_ParserCreate=no
23459 fi
23460 rm -f conftest.err conftest.$ac_objext \
23461 conftest$ac_exeext conftest.$ac_ext
23462 LIBS=$ac_check_lib_save_LIBS
23463 fi
23464 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
23465 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
23466 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
23467 EXPAT_LINK=" -lexpat"
23468 fi
23469
23470 fi
23471 fi
23472 if test "x$EXPAT_LINK" = "x" ; then
23473 if test "$wxUSE_EXPAT" = "sys" ; then
23474 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
23475 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
23476 { (exit 1); exit 1; }; }
23477 else
23478 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
23479 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
23480 wxUSE_EXPAT=builtin
23481 fi
23482 else
23483 wxUSE_EXPAT=sys
23484 fi
23485 fi
23486 if test "$wxUSE_EXPAT" = "builtin" ; then
23487
23488
23489 subdirs="$subdirs src/expat"
23490
23491 fi
23492 fi
23493
23494
23495
23496 if test "$wxUSE_LIBMSPACK" != "no"; then
23497 if test "${ac_cv_header_mspack_h+set}" = set; then
23498 echo "$as_me:$LINENO: checking for mspack.h" >&5
23499 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
23500 if test "${ac_cv_header_mspack_h+set}" = set; then
23501 echo $ECHO_N "(cached) $ECHO_C" >&6
23502 fi
23503 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
23504 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
23505 else
23506 # Is the header compilable?
23507 echo "$as_me:$LINENO: checking mspack.h usability" >&5
23508 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
23509 cat >conftest.$ac_ext <<_ACEOF
23510 /* confdefs.h. */
23511 _ACEOF
23512 cat confdefs.h >>conftest.$ac_ext
23513 cat >>conftest.$ac_ext <<_ACEOF
23514 /* end confdefs.h. */
23515 $ac_includes_default
23516 #include <mspack.h>
23517 _ACEOF
23518 rm -f conftest.$ac_objext
23519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23520 (eval $ac_compile) 2>conftest.er1
23521 ac_status=$?
23522 grep -v '^ *+' conftest.er1 >conftest.err
23523 rm -f conftest.er1
23524 cat conftest.err >&5
23525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23526 (exit $ac_status); } &&
23527 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23529 (eval $ac_try) 2>&5
23530 ac_status=$?
23531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23532 (exit $ac_status); }; } &&
23533 { ac_try='test -s conftest.$ac_objext'
23534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23535 (eval $ac_try) 2>&5
23536 ac_status=$?
23537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23538 (exit $ac_status); }; }; then
23539 ac_header_compiler=yes
23540 else
23541 echo "$as_me: failed program was:" >&5
23542 sed 's/^/| /' conftest.$ac_ext >&5
23543
23544 ac_header_compiler=no
23545 fi
23546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23547 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23548 echo "${ECHO_T}$ac_header_compiler" >&6
23549
23550 # Is the header present?
23551 echo "$as_me:$LINENO: checking mspack.h presence" >&5
23552 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
23553 cat >conftest.$ac_ext <<_ACEOF
23554 /* confdefs.h. */
23555 _ACEOF
23556 cat confdefs.h >>conftest.$ac_ext
23557 cat >>conftest.$ac_ext <<_ACEOF
23558 /* end confdefs.h. */
23559 #include <mspack.h>
23560 _ACEOF
23561 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23562 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23563 ac_status=$?
23564 grep -v '^ *+' conftest.er1 >conftest.err
23565 rm -f conftest.er1
23566 cat conftest.err >&5
23567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23568 (exit $ac_status); } >/dev/null; then
23569 if test -s conftest.err; then
23570 ac_cpp_err=$ac_c_preproc_warn_flag
23571 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23572 else
23573 ac_cpp_err=
23574 fi
23575 else
23576 ac_cpp_err=yes
23577 fi
23578 if test -z "$ac_cpp_err"; then
23579 ac_header_preproc=yes
23580 else
23581 echo "$as_me: failed program was:" >&5
23582 sed 's/^/| /' conftest.$ac_ext >&5
23583
23584 ac_header_preproc=no
23585 fi
23586 rm -f conftest.err conftest.$ac_ext
23587 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23588 echo "${ECHO_T}$ac_header_preproc" >&6
23589
23590 # So? What about this header?
23591 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23592 yes:no: )
23593 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
23594 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23595 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
23596 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
23597 ac_header_preproc=yes
23598 ;;
23599 no:yes:* )
23600 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
23601 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
23602 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
23603 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
23604 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
23605 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
23606 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
23607 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
23608 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
23609 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
23610 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
23611 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
23612 (
23613 cat <<\_ASBOX
23614 ## ----------------------------------------- ##
23615 ## Report this to wx-dev@lists.wxwidgets.org ##
23616 ## ----------------------------------------- ##
23617 _ASBOX
23618 ) |
23619 sed "s/^/$as_me: WARNING: /" >&2
23620 ;;
23621 esac
23622 echo "$as_me:$LINENO: checking for mspack.h" >&5
23623 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
23624 if test "${ac_cv_header_mspack_h+set}" = set; then
23625 echo $ECHO_N "(cached) $ECHO_C" >&6
23626 else
23627 ac_cv_header_mspack_h=$ac_header_preproc
23628 fi
23629 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
23630 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
23631
23632 fi
23633 if test $ac_cv_header_mspack_h = yes; then
23634 found_mspack_h=1
23635 fi
23636
23637
23638 if test "x$found_mspack_h" = "x1"; then
23639 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
23640 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
23641 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
23642 echo $ECHO_N "(cached) $ECHO_C" >&6
23643 else
23644 ac_check_lib_save_LIBS=$LIBS
23645 LIBS="-lmspack $LIBS"
23646 cat >conftest.$ac_ext <<_ACEOF
23647 /* confdefs.h. */
23648 _ACEOF
23649 cat confdefs.h >>conftest.$ac_ext
23650 cat >>conftest.$ac_ext <<_ACEOF
23651 /* end confdefs.h. */
23652
23653 /* Override any gcc2 internal prototype to avoid an error. */
23654 #ifdef __cplusplus
23655 extern "C"
23656 #endif
23657 /* We use char because int might match the return type of a gcc2
23658 builtin and then its argument prototype would still apply. */
23659 char mspack_create_chm_decompressor ();
23660 int
23661 main ()
23662 {
23663 mspack_create_chm_decompressor ();
23664 ;
23665 return 0;
23666 }
23667 _ACEOF
23668 rm -f conftest.$ac_objext conftest$ac_exeext
23669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23670 (eval $ac_link) 2>conftest.er1
23671 ac_status=$?
23672 grep -v '^ *+' conftest.er1 >conftest.err
23673 rm -f conftest.er1
23674 cat conftest.err >&5
23675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23676 (exit $ac_status); } &&
23677 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23679 (eval $ac_try) 2>&5
23680 ac_status=$?
23681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23682 (exit $ac_status); }; } &&
23683 { ac_try='test -s conftest$ac_exeext'
23684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23685 (eval $ac_try) 2>&5
23686 ac_status=$?
23687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23688 (exit $ac_status); }; }; then
23689 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
23690 else
23691 echo "$as_me: failed program was:" >&5
23692 sed 's/^/| /' conftest.$ac_ext >&5
23693
23694 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
23695 fi
23696 rm -f conftest.err conftest.$ac_objext \
23697 conftest$ac_exeext conftest.$ac_ext
23698 LIBS=$ac_check_lib_save_LIBS
23699 fi
23700 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
23701 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
23702 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
23703 MSPACK_LINK=" -lmspack"
23704 fi
23705
23706 fi
23707 if test "x$MSPACK_LINK" = "x" ; then
23708 wxUSE_LIBMSPACK=no
23709 fi
23710 fi
23711
23712 if test "$wxUSE_LIBMSPACK" != "no"; then
23713 cat >>confdefs.h <<\_ACEOF
23714 #define wxUSE_LIBMSPACK 1
23715 _ACEOF
23716
23717 fi
23718
23719
23720
23721 AFMINSTALL=
23722 WIN32INSTALL=
23723
23724 TOOLKIT=
23725 TOOLKIT_INCLUDE=
23726 WIDGET_SET=
23727
23728 if test "$USE_WIN32" = 1 ; then
23729
23730 for ac_header in w32api.h
23731 do
23732 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23733 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23734 echo "$as_me:$LINENO: checking for $ac_header" >&5
23735 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23736 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23737 echo $ECHO_N "(cached) $ECHO_C" >&6
23738 fi
23739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23740 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23741 else
23742 # Is the header compilable?
23743 echo "$as_me:$LINENO: checking $ac_header usability" >&5
23744 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
23745 cat >conftest.$ac_ext <<_ACEOF
23746 /* confdefs.h. */
23747 _ACEOF
23748 cat confdefs.h >>conftest.$ac_ext
23749 cat >>conftest.$ac_ext <<_ACEOF
23750 /* end confdefs.h. */
23751 $ac_includes_default
23752 #include <$ac_header>
23753 _ACEOF
23754 rm -f conftest.$ac_objext
23755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23756 (eval $ac_compile) 2>conftest.er1
23757 ac_status=$?
23758 grep -v '^ *+' conftest.er1 >conftest.err
23759 rm -f conftest.er1
23760 cat conftest.err >&5
23761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23762 (exit $ac_status); } &&
23763 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23765 (eval $ac_try) 2>&5
23766 ac_status=$?
23767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23768 (exit $ac_status); }; } &&
23769 { ac_try='test -s conftest.$ac_objext'
23770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23771 (eval $ac_try) 2>&5
23772 ac_status=$?
23773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23774 (exit $ac_status); }; }; then
23775 ac_header_compiler=yes
23776 else
23777 echo "$as_me: failed program was:" >&5
23778 sed 's/^/| /' conftest.$ac_ext >&5
23779
23780 ac_header_compiler=no
23781 fi
23782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23783 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23784 echo "${ECHO_T}$ac_header_compiler" >&6
23785
23786 # Is the header present?
23787 echo "$as_me:$LINENO: checking $ac_header presence" >&5
23788 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
23789 cat >conftest.$ac_ext <<_ACEOF
23790 /* confdefs.h. */
23791 _ACEOF
23792 cat confdefs.h >>conftest.$ac_ext
23793 cat >>conftest.$ac_ext <<_ACEOF
23794 /* end confdefs.h. */
23795 #include <$ac_header>
23796 _ACEOF
23797 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23798 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23799 ac_status=$?
23800 grep -v '^ *+' conftest.er1 >conftest.err
23801 rm -f conftest.er1
23802 cat conftest.err >&5
23803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23804 (exit $ac_status); } >/dev/null; then
23805 if test -s conftest.err; then
23806 ac_cpp_err=$ac_c_preproc_warn_flag
23807 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23808 else
23809 ac_cpp_err=
23810 fi
23811 else
23812 ac_cpp_err=yes
23813 fi
23814 if test -z "$ac_cpp_err"; then
23815 ac_header_preproc=yes
23816 else
23817 echo "$as_me: failed program was:" >&5
23818 sed 's/^/| /' conftest.$ac_ext >&5
23819
23820 ac_header_preproc=no
23821 fi
23822 rm -f conftest.err conftest.$ac_ext
23823 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23824 echo "${ECHO_T}$ac_header_preproc" >&6
23825
23826 # So? What about this header?
23827 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23828 yes:no: )
23829 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23830 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23831 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23832 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23833 ac_header_preproc=yes
23834 ;;
23835 no:yes:* )
23836 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23837 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23838 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23839 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23840 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23841 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23842 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23843 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23844 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23845 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23846 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23847 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23848 (
23849 cat <<\_ASBOX
23850 ## ----------------------------------------- ##
23851 ## Report this to wx-dev@lists.wxwidgets.org ##
23852 ## ----------------------------------------- ##
23853 _ASBOX
23854 ) |
23855 sed "s/^/$as_me: WARNING: /" >&2
23856 ;;
23857 esac
23858 echo "$as_me:$LINENO: checking for $ac_header" >&5
23859 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23860 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23861 echo $ECHO_N "(cached) $ECHO_C" >&6
23862 else
23863 eval "$as_ac_Header=\$ac_header_preproc"
23864 fi
23865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23866 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23867
23868 fi
23869 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23870 cat >>confdefs.h <<_ACEOF
23871 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23872 _ACEOF
23873
23874 fi
23875
23876 done
23877
23878 if test "${ac_cv_header_windows_h+set}" = set; then
23879 echo "$as_me:$LINENO: checking for windows.h" >&5
23880 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
23881 if test "${ac_cv_header_windows_h+set}" = set; then
23882 echo $ECHO_N "(cached) $ECHO_C" >&6
23883 fi
23884 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
23885 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
23886 else
23887 # Is the header compilable?
23888 echo "$as_me:$LINENO: checking windows.h usability" >&5
23889 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
23890 cat >conftest.$ac_ext <<_ACEOF
23891 /* confdefs.h. */
23892 _ACEOF
23893 cat confdefs.h >>conftest.$ac_ext
23894 cat >>conftest.$ac_ext <<_ACEOF
23895 /* end confdefs.h. */
23896 $ac_includes_default
23897 #include <windows.h>
23898 _ACEOF
23899 rm -f conftest.$ac_objext
23900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23901 (eval $ac_compile) 2>conftest.er1
23902 ac_status=$?
23903 grep -v '^ *+' conftest.er1 >conftest.err
23904 rm -f conftest.er1
23905 cat conftest.err >&5
23906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23907 (exit $ac_status); } &&
23908 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23910 (eval $ac_try) 2>&5
23911 ac_status=$?
23912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23913 (exit $ac_status); }; } &&
23914 { ac_try='test -s conftest.$ac_objext'
23915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23916 (eval $ac_try) 2>&5
23917 ac_status=$?
23918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23919 (exit $ac_status); }; }; then
23920 ac_header_compiler=yes
23921 else
23922 echo "$as_me: failed program was:" >&5
23923 sed 's/^/| /' conftest.$ac_ext >&5
23924
23925 ac_header_compiler=no
23926 fi
23927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23928 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23929 echo "${ECHO_T}$ac_header_compiler" >&6
23930
23931 # Is the header present?
23932 echo "$as_me:$LINENO: checking windows.h presence" >&5
23933 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
23934 cat >conftest.$ac_ext <<_ACEOF
23935 /* confdefs.h. */
23936 _ACEOF
23937 cat confdefs.h >>conftest.$ac_ext
23938 cat >>conftest.$ac_ext <<_ACEOF
23939 /* end confdefs.h. */
23940 #include <windows.h>
23941 _ACEOF
23942 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23943 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23944 ac_status=$?
23945 grep -v '^ *+' conftest.er1 >conftest.err
23946 rm -f conftest.er1
23947 cat conftest.err >&5
23948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23949 (exit $ac_status); } >/dev/null; then
23950 if test -s conftest.err; then
23951 ac_cpp_err=$ac_c_preproc_warn_flag
23952 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23953 else
23954 ac_cpp_err=
23955 fi
23956 else
23957 ac_cpp_err=yes
23958 fi
23959 if test -z "$ac_cpp_err"; then
23960 ac_header_preproc=yes
23961 else
23962 echo "$as_me: failed program was:" >&5
23963 sed 's/^/| /' conftest.$ac_ext >&5
23964
23965 ac_header_preproc=no
23966 fi
23967 rm -f conftest.err conftest.$ac_ext
23968 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23969 echo "${ECHO_T}$ac_header_preproc" >&6
23970
23971 # So? What about this header?
23972 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23973 yes:no: )
23974 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
23975 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23976 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
23977 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
23978 ac_header_preproc=yes
23979 ;;
23980 no:yes:* )
23981 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
23982 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
23983 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
23984 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
23985 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
23986 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
23987 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
23988 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
23989 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
23990 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
23991 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
23992 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
23993 (
23994 cat <<\_ASBOX
23995 ## ----------------------------------------- ##
23996 ## Report this to wx-dev@lists.wxwidgets.org ##
23997 ## ----------------------------------------- ##
23998 _ASBOX
23999 ) |
24000 sed "s/^/$as_me: WARNING: /" >&2
24001 ;;
24002 esac
24003 echo "$as_me:$LINENO: checking for windows.h" >&5
24004 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
24005 if test "${ac_cv_header_windows_h+set}" = set; then
24006 echo $ECHO_N "(cached) $ECHO_C" >&6
24007 else
24008 ac_cv_header_windows_h=$ac_header_preproc
24009 fi
24010 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
24011 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
24012
24013 fi
24014 if test $ac_cv_header_windows_h = yes; then
24015 :
24016 else
24017
24018 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
24019 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
24020 { (exit 1); exit 1; }; }
24021
24022 fi
24023
24024
24025
24026 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
24027
24028 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
24029 LIBS="$LIBS -loleacc"
24030 fi
24031
24032 case "${host}" in
24033 *-*-cygwin* )
24034 LIBS="$LIBS -lkernel32 -luser32"
24035 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
24036 esac
24037
24038 if test "$wxUSE_ODBC" = "sys" ; then
24039 wxUSE_ODBC = "yes"
24040 fi
24041 if test "$wxUSE_ODBC" = "yes" ; then
24042 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
24043 cat >>confdefs.h <<\_ACEOF
24044 #define wxUSE_ODBC 1
24045 _ACEOF
24046
24047 fi
24048
24049 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
24050 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
24051
24052 WIN32INSTALL=win32install
24053 fi
24054
24055 if test "$wxUSE_GUI" = "yes"; then
24056 USE_GUI=1
24057
24058 GUI_TK_LIBRARY=
24059
24060 WXGTK12=
24061 WXGTK127=
24062 WXGTK20=
24063 WXGPE=
24064
24065 if test "$wxUSE_COCOA" = 1 ; then
24066 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
24067 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
24068 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
24069 wxUSE_PRINTING_ARCHITECTURE=no
24070 fi
24071 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
24072 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
24073 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
24074 wxUSE_DRAG_AND_DROP=no
24075 fi
24076 if test "$wxUSE_DRAGIMAGE" = "yes"; then
24077 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
24078 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
24079 wxUSE_DRAGIMAGE=no
24080 fi
24081 fi
24082
24083 if test "$wxUSE_MSW" = 1 ; then
24084 TOOLKIT=MSW
24085 GUIDIST=MSW_DIST
24086
24087 case "${host}" in
24088 *-*-mingw32* )
24089 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
24090 esac
24091 fi
24092
24093 if test "$wxUSE_GTK" = 1; then
24094 echo "$as_me:$LINENO: checking for GTK+ version" >&5
24095 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
24096
24097 gtk_version_cached=1
24098 if test "${wx_cv_lib_gtk+set}" = set; then
24099 echo $ECHO_N "(cached) $ECHO_C" >&6
24100 else
24101
24102 gtk_version_cached=0
24103 echo "$as_me:$LINENO: result: " >&5
24104 echo "${ECHO_T}" >&6
24105
24106 GTK_MODULES=
24107 if test "$wxUSE_THREADS" = "yes"; then
24108 GTK_MODULES=gthread
24109 fi
24110
24111 wx_cv_lib_gtk=
24112 if test "x$wxUSE_GTK2" = "xyes"; then
24113 # Check whether --enable-gtktest or --disable-gtktest was given.
24114 if test "${enable_gtktest+set}" = set; then
24115 enableval="$enable_gtktest"
24116
24117 else
24118 enable_gtktest=yes
24119 fi;
24120
24121 pkg_config_args=gtk+-2.0
24122 for module in . $GTK_MODULES
24123 do
24124 case "$module" in
24125 gthread)
24126 pkg_config_args="$pkg_config_args gthread-2.0"
24127 ;;
24128 esac
24129 done
24130
24131 no_gtk=""
24132
24133 # Extract the first word of "pkg-config", so it can be a program name with args.
24134 set dummy pkg-config; ac_word=$2
24135 echo "$as_me:$LINENO: checking for $ac_word" >&5
24136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24137 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24138 echo $ECHO_N "(cached) $ECHO_C" >&6
24139 else
24140 case $PKG_CONFIG in
24141 [\\/]* | ?:[\\/]*)
24142 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24143 ;;
24144 *)
24145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24146 for as_dir in $PATH
24147 do
24148 IFS=$as_save_IFS
24149 test -z "$as_dir" && as_dir=.
24150 for ac_exec_ext in '' $ac_executable_extensions; do
24151 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24152 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24154 break 2
24155 fi
24156 done
24157 done
24158
24159 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
24160 ;;
24161 esac
24162 fi
24163 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24164
24165 if test -n "$PKG_CONFIG"; then
24166 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24167 echo "${ECHO_T}$PKG_CONFIG" >&6
24168 else
24169 echo "$as_me:$LINENO: result: no" >&5
24170 echo "${ECHO_T}no" >&6
24171 fi
24172
24173
24174 if test x$PKG_CONFIG != xno ; then
24175 if pkg-config --atleast-pkgconfig-version 0.7 ; then
24176 :
24177 else
24178 echo "*** pkg-config too old; version 0.7 or better required."
24179 no_gtk=yes
24180 PKG_CONFIG=no
24181 fi
24182 else
24183 no_gtk=yes
24184 fi
24185
24186 min_gtk_version=2.0.0
24187 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
24188 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
24189
24190 if test x$PKG_CONFIG != xno ; then
24191 ## don't try to run the test against uninstalled libtool libs
24192 if $PKG_CONFIG --uninstalled $pkg_config_args; then
24193 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
24194 enable_gtktest=no
24195 fi
24196
24197 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
24198 :
24199 else
24200 no_gtk=yes
24201 fi
24202 fi
24203
24204 if test x"$no_gtk" = x ; then
24205 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
24206 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
24207 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
24208 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24209 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
24210 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24211 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
24212 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24213 if test "x$enable_gtktest" = "xyes" ; then
24214 ac_save_CFLAGS="$CFLAGS"
24215 ac_save_LIBS="$LIBS"
24216 CFLAGS="$CFLAGS $GTK_CFLAGS"
24217 LIBS="$GTK_LIBS $LIBS"
24218 rm -f conf.gtktest
24219 if test "$cross_compiling" = yes; then
24220 echo $ac_n "cross compiling; assumed OK... $ac_c"
24221 else
24222 cat >conftest.$ac_ext <<_ACEOF
24223 /* confdefs.h. */
24224 _ACEOF
24225 cat confdefs.h >>conftest.$ac_ext
24226 cat >>conftest.$ac_ext <<_ACEOF
24227 /* end confdefs.h. */
24228
24229 #include <gtk/gtk.h>
24230 #include <stdio.h>
24231 #include <stdlib.h>
24232
24233 int
24234 main ()
24235 {
24236 int major, minor, micro;
24237 char *tmp_version;
24238
24239 system ("touch conf.gtktest");
24240
24241 /* HP/UX 9 (%@#!) writes to sscanf strings */
24242 tmp_version = g_strdup("$min_gtk_version");
24243 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
24244 printf("%s, bad version string\n", "$min_gtk_version");
24245 exit(1);
24246 }
24247
24248 if ((gtk_major_version != $gtk_config_major_version) ||
24249 (gtk_minor_version != $gtk_config_minor_version) ||
24250 (gtk_micro_version != $gtk_config_micro_version))
24251 {
24252 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24253 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24254 gtk_major_version, gtk_minor_version, gtk_micro_version);
24255 printf ("*** was found! If pkg-config was correct, then it is best\n");
24256 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24257 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24258 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24259 printf("*** required on your system.\n");
24260 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
24261 printf("*** to point to the correct configuration files\n");
24262 }
24263 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24264 (gtk_minor_version != GTK_MINOR_VERSION) ||
24265 (gtk_micro_version != GTK_MICRO_VERSION))
24266 {
24267 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24268 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24269 printf("*** library (version %d.%d.%d)\n",
24270 gtk_major_version, gtk_minor_version, gtk_micro_version);
24271 }
24272 else
24273 {
24274 if ((gtk_major_version > major) ||
24275 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24276 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24277 {
24278 return 0;
24279 }
24280 else
24281 {
24282 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24283 gtk_major_version, gtk_minor_version, gtk_micro_version);
24284 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24285 major, minor, micro);
24286 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24287 printf("***\n");
24288 printf("*** If you have already installed a sufficiently new version, this error\n");
24289 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
24290 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24291 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
24292 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
24293 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24294 printf("*** so that the correct libraries are found at run-time))\n");
24295 }
24296 }
24297 return 1;
24298 }
24299
24300 _ACEOF
24301 rm -f conftest$ac_exeext
24302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24303 (eval $ac_link) 2>&5
24304 ac_status=$?
24305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24306 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24308 (eval $ac_try) 2>&5
24309 ac_status=$?
24310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24311 (exit $ac_status); }; }; then
24312 :
24313 else
24314 echo "$as_me: program exited with status $ac_status" >&5
24315 echo "$as_me: failed program was:" >&5
24316 sed 's/^/| /' conftest.$ac_ext >&5
24317
24318 ( exit $ac_status )
24319 no_gtk=yes
24320 fi
24321 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24322 fi
24323 CFLAGS="$ac_save_CFLAGS"
24324 LIBS="$ac_save_LIBS"
24325 fi
24326 fi
24327 if test "x$no_gtk" = x ; then
24328 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
24329 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
24330 wx_cv_lib_gtk=2.0
24331 else
24332 echo "$as_me:$LINENO: result: no" >&5
24333 echo "${ECHO_T}no" >&6
24334 if test "$PKG_CONFIG" = "no" ; then
24335 echo "*** A new enough version of pkg-config was not found."
24336 echo "*** See http://pkgconfig.sourceforge.net"
24337 else
24338 if test -f conf.gtktest ; then
24339 :
24340 else
24341 echo "*** Could not run GTK+ test program, checking why..."
24342 ac_save_CFLAGS="$CFLAGS"
24343 ac_save_LIBS="$LIBS"
24344 CFLAGS="$CFLAGS $GTK_CFLAGS"
24345 LIBS="$LIBS $GTK_LIBS"
24346 cat >conftest.$ac_ext <<_ACEOF
24347 /* confdefs.h. */
24348 _ACEOF
24349 cat confdefs.h >>conftest.$ac_ext
24350 cat >>conftest.$ac_ext <<_ACEOF
24351 /* end confdefs.h. */
24352
24353 #include <gtk/gtk.h>
24354 #include <stdio.h>
24355
24356 int
24357 main ()
24358 {
24359 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24360 ;
24361 return 0;
24362 }
24363 _ACEOF
24364 rm -f conftest.$ac_objext conftest$ac_exeext
24365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24366 (eval $ac_link) 2>conftest.er1
24367 ac_status=$?
24368 grep -v '^ *+' conftest.er1 >conftest.err
24369 rm -f conftest.er1
24370 cat conftest.err >&5
24371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24372 (exit $ac_status); } &&
24373 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24375 (eval $ac_try) 2>&5
24376 ac_status=$?
24377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24378 (exit $ac_status); }; } &&
24379 { ac_try='test -s conftest$ac_exeext'
24380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24381 (eval $ac_try) 2>&5
24382 ac_status=$?
24383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24384 (exit $ac_status); }; }; then
24385 echo "*** The test program compiled, but did not run. This usually means"
24386 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
24387 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
24388 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24389 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24390 echo "*** is required on your system"
24391 echo "***"
24392 echo "*** If you have an old version installed, it is best to remove it, although"
24393 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24394 else
24395 echo "$as_me: failed program was:" >&5
24396 sed 's/^/| /' conftest.$ac_ext >&5
24397
24398 echo "*** The test program failed to compile or link. See the file config.log for the"
24399 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
24400 fi
24401 rm -f conftest.err conftest.$ac_objext \
24402 conftest$ac_exeext conftest.$ac_ext
24403 CFLAGS="$ac_save_CFLAGS"
24404 LIBS="$ac_save_LIBS"
24405 fi
24406 fi
24407 GTK_CFLAGS=""
24408 GTK_LIBS=""
24409 :
24410 fi
24411
24412
24413 rm -f conf.gtktest
24414
24415 else
24416
24417 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
24418 if test "${with_gtk_prefix+set}" = set; then
24419 withval="$with_gtk_prefix"
24420 gtk_config_prefix="$withval"
24421 else
24422 gtk_config_prefix=""
24423 fi;
24424
24425 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
24426 if test "${with_gtk_exec_prefix+set}" = set; then
24427 withval="$with_gtk_exec_prefix"
24428 gtk_config_exec_prefix="$withval"
24429 else
24430 gtk_config_exec_prefix=""
24431 fi;
24432 # Check whether --enable-gtktest or --disable-gtktest was given.
24433 if test "${enable_gtktest+set}" = set; then
24434 enableval="$enable_gtktest"
24435
24436 else
24437 enable_gtktest=yes
24438 fi;
24439
24440 for module in . $GTK_MODULES
24441 do
24442 case "$module" in
24443 gthread)
24444 gtk_config_args="$gtk_config_args gthread"
24445 ;;
24446 esac
24447 done
24448
24449 if test x$gtk_config_exec_prefix != x ; then
24450 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24451 if test x${GTK_CONFIG+set} != xset ; then
24452 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
24453 fi
24454 fi
24455 if test x$gtk_config_prefix != x ; then
24456 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
24457 if test x${GTK_CONFIG+set} != xset ; then
24458 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
24459 fi
24460 fi
24461
24462 # Extract the first word of "gtk-config", so it can be a program name with args.
24463 set dummy gtk-config; ac_word=$2
24464 echo "$as_me:$LINENO: checking for $ac_word" >&5
24465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24466 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
24467 echo $ECHO_N "(cached) $ECHO_C" >&6
24468 else
24469 case $GTK_CONFIG in
24470 [\\/]* | ?:[\\/]*)
24471 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
24472 ;;
24473 *)
24474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24475 for as_dir in $PATH
24476 do
24477 IFS=$as_save_IFS
24478 test -z "$as_dir" && as_dir=.
24479 for ac_exec_ext in '' $ac_executable_extensions; do
24480 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24481 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24483 break 2
24484 fi
24485 done
24486 done
24487
24488 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
24489 ;;
24490 esac
24491 fi
24492 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
24493
24494 if test -n "$GTK_CONFIG"; then
24495 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
24496 echo "${ECHO_T}$GTK_CONFIG" >&6
24497 else
24498 echo "$as_me:$LINENO: result: no" >&5
24499 echo "${ECHO_T}no" >&6
24500 fi
24501
24502 min_gtk_version=1.2.7
24503 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
24504 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
24505 no_gtk=""
24506 if test "$GTK_CONFIG" = "no" ; then
24507 no_gtk=yes
24508 else
24509 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
24510 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
24511 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
24512 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24513 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
24514 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24515 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
24516 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24517 if test "x$enable_gtktest" = "xyes" ; then
24518 ac_save_CFLAGS="$CFLAGS"
24519 ac_save_LIBS="$LIBS"
24520 CFLAGS="$CFLAGS $GTK_CFLAGS"
24521 LIBS="$GTK_LIBS $LIBS"
24522 rm -f conf.gtktest
24523 if test "$cross_compiling" = yes; then
24524 echo $ac_n "cross compiling; assumed OK... $ac_c"
24525 else
24526 cat >conftest.$ac_ext <<_ACEOF
24527 /* confdefs.h. */
24528 _ACEOF
24529 cat confdefs.h >>conftest.$ac_ext
24530 cat >>conftest.$ac_ext <<_ACEOF
24531 /* end confdefs.h. */
24532
24533 #include <gtk/gtk.h>
24534 #include <stdio.h>
24535 #include <stdlib.h>
24536
24537 int
24538 main ()
24539 {
24540 int major, minor, micro;
24541 char *tmp_version;
24542
24543 system ("touch conf.gtktest");
24544
24545 /* HP/UX 9 (%@#!) writes to sscanf strings */
24546 tmp_version = g_strdup("$min_gtk_version");
24547 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
24548 printf("%s, bad version string\n", "$min_gtk_version");
24549 exit(1);
24550 }
24551
24552 if ((gtk_major_version != $gtk_config_major_version) ||
24553 (gtk_minor_version != $gtk_config_minor_version) ||
24554 (gtk_micro_version != $gtk_config_micro_version))
24555 {
24556 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24557 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24558 gtk_major_version, gtk_minor_version, gtk_micro_version);
24559 printf ("*** was found! If gtk-config was correct, then it is best\n");
24560 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24561 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24562 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24563 printf("*** required on your system.\n");
24564 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24565 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24566 printf("*** before re-running configure\n");
24567 }
24568 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24569 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24570 (gtk_minor_version != GTK_MINOR_VERSION) ||
24571 (gtk_micro_version != GTK_MICRO_VERSION))
24572 {
24573 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24574 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24575 printf("*** library (version %d.%d.%d)\n",
24576 gtk_major_version, gtk_minor_version, gtk_micro_version);
24577 }
24578 #endif /* defined (GTK_MAJOR_VERSION) ... */
24579 else
24580 {
24581 if ((gtk_major_version > major) ||
24582 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24583 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24584 {
24585 return 0;
24586 }
24587 else
24588 {
24589 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24590 gtk_major_version, gtk_minor_version, gtk_micro_version);
24591 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24592 major, minor, micro);
24593 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24594 printf("***\n");
24595 printf("*** If you have already installed a sufficiently new version, this error\n");
24596 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24597 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24598 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24599 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24600 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24601 printf("*** so that the correct libraries are found at run-time))\n");
24602 }
24603 }
24604 return 1;
24605 }
24606
24607 _ACEOF
24608 rm -f conftest$ac_exeext
24609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24610 (eval $ac_link) 2>&5
24611 ac_status=$?
24612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24613 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24615 (eval $ac_try) 2>&5
24616 ac_status=$?
24617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24618 (exit $ac_status); }; }; then
24619 :
24620 else
24621 echo "$as_me: program exited with status $ac_status" >&5
24622 echo "$as_me: failed program was:" >&5
24623 sed 's/^/| /' conftest.$ac_ext >&5
24624
24625 ( exit $ac_status )
24626 no_gtk=yes
24627 fi
24628 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24629 fi
24630 CFLAGS="$ac_save_CFLAGS"
24631 LIBS="$ac_save_LIBS"
24632 fi
24633 fi
24634 if test "x$no_gtk" = x ; then
24635 echo "$as_me:$LINENO: result: yes" >&5
24636 echo "${ECHO_T}yes" >&6
24637 wx_cv_lib_gtk=1.2.7
24638 else
24639 echo "$as_me:$LINENO: result: no" >&5
24640 echo "${ECHO_T}no" >&6
24641 if test "$GTK_CONFIG" = "no" ; then
24642 echo "*** The gtk-config script installed by GTK could not be found"
24643 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24644 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24645 echo "*** full path to gtk-config."
24646 else
24647 if test -f conf.gtktest ; then
24648 :
24649 else
24650 echo "*** Could not run GTK test program, checking why..."
24651 CFLAGS="$CFLAGS $GTK_CFLAGS"
24652 LIBS="$LIBS $GTK_LIBS"
24653 cat >conftest.$ac_ext <<_ACEOF
24654 /* confdefs.h. */
24655 _ACEOF
24656 cat confdefs.h >>conftest.$ac_ext
24657 cat >>conftest.$ac_ext <<_ACEOF
24658 /* end confdefs.h. */
24659
24660 #include <gtk/gtk.h>
24661 #include <stdio.h>
24662
24663 int
24664 main ()
24665 {
24666 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24667 ;
24668 return 0;
24669 }
24670 _ACEOF
24671 rm -f conftest.$ac_objext conftest$ac_exeext
24672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24673 (eval $ac_link) 2>conftest.er1
24674 ac_status=$?
24675 grep -v '^ *+' conftest.er1 >conftest.err
24676 rm -f conftest.er1
24677 cat conftest.err >&5
24678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24679 (exit $ac_status); } &&
24680 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24682 (eval $ac_try) 2>&5
24683 ac_status=$?
24684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24685 (exit $ac_status); }; } &&
24686 { ac_try='test -s conftest$ac_exeext'
24687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24688 (eval $ac_try) 2>&5
24689 ac_status=$?
24690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24691 (exit $ac_status); }; }; then
24692 echo "*** The test program compiled, but did not run. This usually means"
24693 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24694 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24695 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24696 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24697 echo "*** is required on your system"
24698 echo "***"
24699 echo "*** If you have an old version installed, it is best to remove it, although"
24700 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24701 echo "***"
24702 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24703 echo "*** came with the system with the command"
24704 echo "***"
24705 echo "*** rpm --erase --nodeps gtk gtk-devel"
24706 else
24707 echo "$as_me: failed program was:" >&5
24708 sed 's/^/| /' conftest.$ac_ext >&5
24709
24710 echo "*** The test program failed to compile or link. See the file config.log for the"
24711 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
24712 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24713 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24714 fi
24715 rm -f conftest.err conftest.$ac_objext \
24716 conftest$ac_exeext conftest.$ac_ext
24717 CFLAGS="$ac_save_CFLAGS"
24718 LIBS="$ac_save_LIBS"
24719 fi
24720 fi
24721 GTK_CFLAGS=""
24722 GTK_LIBS=""
24723 :
24724 fi
24725
24726
24727 rm -f conf.gtktest
24728
24729
24730 if test -z "$wx_cv_lib_gtk"; then
24731
24732 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
24733 if test "${with_gtk_prefix+set}" = set; then
24734 withval="$with_gtk_prefix"
24735 gtk_config_prefix="$withval"
24736 else
24737 gtk_config_prefix=""
24738 fi;
24739
24740 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
24741 if test "${with_gtk_exec_prefix+set}" = set; then
24742 withval="$with_gtk_exec_prefix"
24743 gtk_config_exec_prefix="$withval"
24744 else
24745 gtk_config_exec_prefix=""
24746 fi;
24747 # Check whether --enable-gtktest or --disable-gtktest was given.
24748 if test "${enable_gtktest+set}" = set; then
24749 enableval="$enable_gtktest"
24750
24751 else
24752 enable_gtktest=yes
24753 fi;
24754
24755 for module in . $GTK_MODULES
24756 do
24757 case "$module" in
24758 gthread)
24759 gtk_config_args="$gtk_config_args gthread"
24760 ;;
24761 esac
24762 done
24763
24764 if test x$gtk_config_exec_prefix != x ; then
24765 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24766 if test x${GTK_CONFIG+set} != xset ; then
24767 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
24768 fi
24769 fi
24770 if test x$gtk_config_prefix != x ; then
24771 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
24772 if test x${GTK_CONFIG+set} != xset ; then
24773 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
24774 fi
24775 fi
24776
24777 # Extract the first word of "gtk-config", so it can be a program name with args.
24778 set dummy gtk-config; ac_word=$2
24779 echo "$as_me:$LINENO: checking for $ac_word" >&5
24780 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24781 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
24782 echo $ECHO_N "(cached) $ECHO_C" >&6
24783 else
24784 case $GTK_CONFIG in
24785 [\\/]* | ?:[\\/]*)
24786 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
24787 ;;
24788 *)
24789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24790 for as_dir in $PATH
24791 do
24792 IFS=$as_save_IFS
24793 test -z "$as_dir" && as_dir=.
24794 for ac_exec_ext in '' $ac_executable_extensions; do
24795 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24796 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24797 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24798 break 2
24799 fi
24800 done
24801 done
24802
24803 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
24804 ;;
24805 esac
24806 fi
24807 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
24808
24809 if test -n "$GTK_CONFIG"; then
24810 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
24811 echo "${ECHO_T}$GTK_CONFIG" >&6
24812 else
24813 echo "$as_me:$LINENO: result: no" >&5
24814 echo "${ECHO_T}no" >&6
24815 fi
24816
24817 min_gtk_version=1.2.3
24818 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
24819 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
24820 no_gtk=""
24821 if test "$GTK_CONFIG" = "no" ; then
24822 no_gtk=yes
24823 else
24824 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
24825 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
24826 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
24827 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24828 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
24829 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24830 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
24831 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24832 if test "x$enable_gtktest" = "xyes" ; then
24833 ac_save_CFLAGS="$CFLAGS"
24834 ac_save_LIBS="$LIBS"
24835 CFLAGS="$CFLAGS $GTK_CFLAGS"
24836 LIBS="$GTK_LIBS $LIBS"
24837 rm -f conf.gtktest
24838 if test "$cross_compiling" = yes; then
24839 echo $ac_n "cross compiling; assumed OK... $ac_c"
24840 else
24841 cat >conftest.$ac_ext <<_ACEOF
24842 /* confdefs.h. */
24843 _ACEOF
24844 cat confdefs.h >>conftest.$ac_ext
24845 cat >>conftest.$ac_ext <<_ACEOF
24846 /* end confdefs.h. */
24847
24848 #include <gtk/gtk.h>
24849 #include <stdio.h>
24850 #include <stdlib.h>
24851
24852 int
24853 main ()
24854 {
24855 int major, minor, micro;
24856 char *tmp_version;
24857
24858 system ("touch conf.gtktest");
24859
24860 /* HP/UX 9 (%@#!) writes to sscanf strings */
24861 tmp_version = g_strdup("$min_gtk_version");
24862 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
24863 printf("%s, bad version string\n", "$min_gtk_version");
24864 exit(1);
24865 }
24866
24867 if ((gtk_major_version != $gtk_config_major_version) ||
24868 (gtk_minor_version != $gtk_config_minor_version) ||
24869 (gtk_micro_version != $gtk_config_micro_version))
24870 {
24871 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24872 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24873 gtk_major_version, gtk_minor_version, gtk_micro_version);
24874 printf ("*** was found! If gtk-config was correct, then it is best\n");
24875 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24876 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24877 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24878 printf("*** required on your system.\n");
24879 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24880 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24881 printf("*** before re-running configure\n");
24882 }
24883 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24884 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24885 (gtk_minor_version != GTK_MINOR_VERSION) ||
24886 (gtk_micro_version != GTK_MICRO_VERSION))
24887 {
24888 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24889 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24890 printf("*** library (version %d.%d.%d)\n",
24891 gtk_major_version, gtk_minor_version, gtk_micro_version);
24892 }
24893 #endif /* defined (GTK_MAJOR_VERSION) ... */
24894 else
24895 {
24896 if ((gtk_major_version > major) ||
24897 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24898 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24899 {
24900 return 0;
24901 }
24902 else
24903 {
24904 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24905 gtk_major_version, gtk_minor_version, gtk_micro_version);
24906 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24907 major, minor, micro);
24908 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24909 printf("***\n");
24910 printf("*** If you have already installed a sufficiently new version, this error\n");
24911 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24912 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24913 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24914 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24915 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24916 printf("*** so that the correct libraries are found at run-time))\n");
24917 }
24918 }
24919 return 1;
24920 }
24921
24922 _ACEOF
24923 rm -f conftest$ac_exeext
24924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24925 (eval $ac_link) 2>&5
24926 ac_status=$?
24927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24928 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24930 (eval $ac_try) 2>&5
24931 ac_status=$?
24932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24933 (exit $ac_status); }; }; then
24934 :
24935 else
24936 echo "$as_me: program exited with status $ac_status" >&5
24937 echo "$as_me: failed program was:" >&5
24938 sed 's/^/| /' conftest.$ac_ext >&5
24939
24940 ( exit $ac_status )
24941 no_gtk=yes
24942 fi
24943 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24944 fi
24945 CFLAGS="$ac_save_CFLAGS"
24946 LIBS="$ac_save_LIBS"
24947 fi
24948 fi
24949 if test "x$no_gtk" = x ; then
24950 echo "$as_me:$LINENO: result: yes" >&5
24951 echo "${ECHO_T}yes" >&6
24952 wx_cv_lib_gtk=1.2.3
24953 else
24954 echo "$as_me:$LINENO: result: no" >&5
24955 echo "${ECHO_T}no" >&6
24956 if test "$GTK_CONFIG" = "no" ; then
24957 echo "*** The gtk-config script installed by GTK could not be found"
24958 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24959 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24960 echo "*** full path to gtk-config."
24961 else
24962 if test -f conf.gtktest ; then
24963 :
24964 else
24965 echo "*** Could not run GTK test program, checking why..."
24966 CFLAGS="$CFLAGS $GTK_CFLAGS"
24967 LIBS="$LIBS $GTK_LIBS"
24968 cat >conftest.$ac_ext <<_ACEOF
24969 /* confdefs.h. */
24970 _ACEOF
24971 cat confdefs.h >>conftest.$ac_ext
24972 cat >>conftest.$ac_ext <<_ACEOF
24973 /* end confdefs.h. */
24974
24975 #include <gtk/gtk.h>
24976 #include <stdio.h>
24977
24978 int
24979 main ()
24980 {
24981 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24982 ;
24983 return 0;
24984 }
24985 _ACEOF
24986 rm -f conftest.$ac_objext conftest$ac_exeext
24987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24988 (eval $ac_link) 2>conftest.er1
24989 ac_status=$?
24990 grep -v '^ *+' conftest.er1 >conftest.err
24991 rm -f conftest.er1
24992 cat conftest.err >&5
24993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24994 (exit $ac_status); } &&
24995 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24997 (eval $ac_try) 2>&5
24998 ac_status=$?
24999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25000 (exit $ac_status); }; } &&
25001 { ac_try='test -s conftest$ac_exeext'
25002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25003 (eval $ac_try) 2>&5
25004 ac_status=$?
25005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25006 (exit $ac_status); }; }; then
25007 echo "*** The test program compiled, but did not run. This usually means"
25008 echo "*** that the run-time linker is not finding GTK or finding the wrong"
25009 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
25010 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25011 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25012 echo "*** is required on your system"
25013 echo "***"
25014 echo "*** If you have an old version installed, it is best to remove it, although"
25015 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25016 echo "***"
25017 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
25018 echo "*** came with the system with the command"
25019 echo "***"
25020 echo "*** rpm --erase --nodeps gtk gtk-devel"
25021 else
25022 echo "$as_me: failed program was:" >&5
25023 sed 's/^/| /' conftest.$ac_ext >&5
25024
25025 echo "*** The test program failed to compile or link. See the file config.log for the"
25026 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
25027 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
25028 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
25029 fi
25030 rm -f conftest.err conftest.$ac_objext \
25031 conftest$ac_exeext conftest.$ac_ext
25032 CFLAGS="$ac_save_CFLAGS"
25033 LIBS="$ac_save_LIBS"
25034 fi
25035 fi
25036 GTK_CFLAGS=""
25037 GTK_LIBS=""
25038 :
25039 fi
25040
25041
25042 rm -f conf.gtktest
25043
25044 fi
25045 fi
25046
25047 if test -z "$wx_cv_lib_gtk"; then
25048 wx_cv_lib_gtk=none
25049 else
25050 wx_cv_cflags_gtk=$GTK_CFLAGS
25051 wx_cv_libs_gtk=$GTK_LIBS
25052 fi
25053
25054
25055 fi
25056
25057
25058 if test "$gtk_version_cached" = 1; then
25059 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
25060 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
25061 fi
25062
25063 case "$wx_cv_lib_gtk" in
25064 2.0) WXGTK20=1
25065 TOOLKIT_VERSION=2
25066 ;;
25067 1.2.7) WXGTK127=1
25068 WXGTK12=1
25069 ;;
25070 1.2.3) WXGTK12=1
25071 ;;
25072 *) { { echo "$as_me:$LINENO: error:
25073 Please check that gtk-config is in path, the directory
25074 where GTK+ libraries are installed (returned by
25075 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
25076 equivalent variable and GTK+ is version 1.2.3 or above.
25077 " >&5
25078 echo "$as_me: error:
25079 Please check that gtk-config is in path, the directory
25080 where GTK+ libraries are installed (returned by
25081 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
25082 equivalent variable and GTK+ is version 1.2.3 or above.
25083 " >&2;}
25084 { (exit 1); exit 1; }; }
25085 ;;
25086 esac
25087
25088 if test "$WXGTK20" = 1; then
25089 save_CFLAGS="$CFLAGS"
25090 save_LIBS="$LIBS"
25091 CFLAGS="$CFLAGS $GTK_CFLAGS"
25092 LIBS="$LIBS $GTK_LIBS"
25093
25094
25095 for ac_func in pango_font_family_is_monospace
25096 do
25097 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25098 echo "$as_me:$LINENO: checking for $ac_func" >&5
25099 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25100 if eval "test \"\${$as_ac_var+set}\" = set"; then
25101 echo $ECHO_N "(cached) $ECHO_C" >&6
25102 else
25103 cat >conftest.$ac_ext <<_ACEOF
25104 /* confdefs.h. */
25105 _ACEOF
25106 cat confdefs.h >>conftest.$ac_ext
25107 cat >>conftest.$ac_ext <<_ACEOF
25108 /* end confdefs.h. */
25109 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25110 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25111 #define $ac_func innocuous_$ac_func
25112
25113 /* System header to define __stub macros and hopefully few prototypes,
25114 which can conflict with char $ac_func (); below.
25115 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25116 <limits.h> exists even on freestanding compilers. */
25117
25118 #ifdef __STDC__
25119 # include <limits.h>
25120 #else
25121 # include <assert.h>
25122 #endif
25123
25124 #undef $ac_func
25125
25126 /* Override any gcc2 internal prototype to avoid an error. */
25127 #ifdef __cplusplus
25128 extern "C"
25129 {
25130 #endif
25131 /* We use char because int might match the return type of a gcc2
25132 builtin and then its argument prototype would still apply. */
25133 char $ac_func ();
25134 /* The GNU C library defines this for functions which it implements
25135 to always fail with ENOSYS. Some functions are actually named
25136 something starting with __ and the normal name is an alias. */
25137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25138 choke me
25139 #else
25140 char (*f) () = $ac_func;
25141 #endif
25142 #ifdef __cplusplus
25143 }
25144 #endif
25145
25146 int
25147 main ()
25148 {
25149 return f != $ac_func;
25150 ;
25151 return 0;
25152 }
25153 _ACEOF
25154 rm -f conftest.$ac_objext conftest$ac_exeext
25155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25156 (eval $ac_link) 2>conftest.er1
25157 ac_status=$?
25158 grep -v '^ *+' conftest.er1 >conftest.err
25159 rm -f conftest.er1
25160 cat conftest.err >&5
25161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25162 (exit $ac_status); } &&
25163 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25165 (eval $ac_try) 2>&5
25166 ac_status=$?
25167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25168 (exit $ac_status); }; } &&
25169 { ac_try='test -s conftest$ac_exeext'
25170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25171 (eval $ac_try) 2>&5
25172 ac_status=$?
25173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25174 (exit $ac_status); }; }; then
25175 eval "$as_ac_var=yes"
25176 else
25177 echo "$as_me: failed program was:" >&5
25178 sed 's/^/| /' conftest.$ac_ext >&5
25179
25180 eval "$as_ac_var=no"
25181 fi
25182 rm -f conftest.err conftest.$ac_objext \
25183 conftest$ac_exeext conftest.$ac_ext
25184 fi
25185 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25186 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25187 if test `eval echo '${'$as_ac_var'}'` = yes; then
25188 cat >>confdefs.h <<_ACEOF
25189 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25190 _ACEOF
25191
25192 fi
25193 done
25194
25195
25196 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
25197 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
25198 cat >conftest.$ac_ext <<_ACEOF
25199 /* confdefs.h. */
25200 _ACEOF
25201 cat confdefs.h >>conftest.$ac_ext
25202 cat >>conftest.$ac_ext <<_ACEOF
25203 /* end confdefs.h. */
25204
25205 #include <gtk/gtk.h>
25206
25207 int
25208 main ()
25209 {
25210
25211 #if !GTK_CHECK_VERSION(2,4,0)
25212 #error "Not GTK+ 2.4"
25213 #endif
25214
25215 ;
25216 return 0;
25217 }
25218 _ACEOF
25219 rm -f conftest.$ac_objext
25220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25221 (eval $ac_compile) 2>conftest.er1
25222 ac_status=$?
25223 grep -v '^ *+' conftest.er1 >conftest.err
25224 rm -f conftest.er1
25225 cat conftest.err >&5
25226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25227 (exit $ac_status); } &&
25228 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25230 (eval $ac_try) 2>&5
25231 ac_status=$?
25232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25233 (exit $ac_status); }; } &&
25234 { ac_try='test -s conftest.$ac_objext'
25235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25236 (eval $ac_try) 2>&5
25237 ac_status=$?
25238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25239 (exit $ac_status); }; }; then
25240
25241 cat >>confdefs.h <<\_ACEOF
25242 #define __WXGTK24__ 1
25243 _ACEOF
25244
25245 echo "$as_me:$LINENO: result: yes" >&5
25246 echo "${ECHO_T}yes" >&6
25247
25248 else
25249 echo "$as_me: failed program was:" >&5
25250 sed 's/^/| /' conftest.$ac_ext >&5
25251
25252
25253 echo "$as_me:$LINENO: result: no" >&5
25254 echo "${ECHO_T}no" >&6
25255
25256 fi
25257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25258
25259 CFLAGS="$save_CFLAGS"
25260 LIBS="$save_LIBS"
25261 else
25262 if test "$wxUSE_UNICODE" = "yes"; then
25263 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
25264 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
25265 wxUSE_UNICODE=no
25266 fi
25267 fi
25268
25269 if test "$USE_DARWIN" != 1; then
25270
25271 for ac_func in poll
25272 do
25273 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25274 echo "$as_me:$LINENO: checking for $ac_func" >&5
25275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25276 if eval "test \"\${$as_ac_var+set}\" = set"; then
25277 echo $ECHO_N "(cached) $ECHO_C" >&6
25278 else
25279 cat >conftest.$ac_ext <<_ACEOF
25280 /* confdefs.h. */
25281 _ACEOF
25282 cat confdefs.h >>conftest.$ac_ext
25283 cat >>conftest.$ac_ext <<_ACEOF
25284 /* end confdefs.h. */
25285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25287 #define $ac_func innocuous_$ac_func
25288
25289 /* System header to define __stub macros and hopefully few prototypes,
25290 which can conflict with char $ac_func (); below.
25291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25292 <limits.h> exists even on freestanding compilers. */
25293
25294 #ifdef __STDC__
25295 # include <limits.h>
25296 #else
25297 # include <assert.h>
25298 #endif
25299
25300 #undef $ac_func
25301
25302 /* Override any gcc2 internal prototype to avoid an error. */
25303 #ifdef __cplusplus
25304 extern "C"
25305 {
25306 #endif
25307 /* We use char because int might match the return type of a gcc2
25308 builtin and then its argument prototype would still apply. */
25309 char $ac_func ();
25310 /* The GNU C library defines this for functions which it implements
25311 to always fail with ENOSYS. Some functions are actually named
25312 something starting with __ and the normal name is an alias. */
25313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25314 choke me
25315 #else
25316 char (*f) () = $ac_func;
25317 #endif
25318 #ifdef __cplusplus
25319 }
25320 #endif
25321
25322 int
25323 main ()
25324 {
25325 return f != $ac_func;
25326 ;
25327 return 0;
25328 }
25329 _ACEOF
25330 rm -f conftest.$ac_objext conftest$ac_exeext
25331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25332 (eval $ac_link) 2>conftest.er1
25333 ac_status=$?
25334 grep -v '^ *+' conftest.er1 >conftest.err
25335 rm -f conftest.er1
25336 cat conftest.err >&5
25337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25338 (exit $ac_status); } &&
25339 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25341 (eval $ac_try) 2>&5
25342 ac_status=$?
25343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25344 (exit $ac_status); }; } &&
25345 { ac_try='test -s conftest$ac_exeext'
25346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25347 (eval $ac_try) 2>&5
25348 ac_status=$?
25349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25350 (exit $ac_status); }; }; then
25351 eval "$as_ac_var=yes"
25352 else
25353 echo "$as_me: failed program was:" >&5
25354 sed 's/^/| /' conftest.$ac_ext >&5
25355
25356 eval "$as_ac_var=no"
25357 fi
25358 rm -f conftest.err conftest.$ac_objext \
25359 conftest$ac_exeext conftest.$ac_ext
25360 fi
25361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25362 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25363 if test `eval echo '${'$as_ac_var'}'` = yes; then
25364 cat >>confdefs.h <<_ACEOF
25365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25366 _ACEOF
25367
25368 fi
25369 done
25370
25371 fi
25372
25373 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
25374 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
25375
25376 AFMINSTALL=afminstall
25377 TOOLKIT=GTK
25378 GUIDIST=GTK_DIST
25379
25380 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
25381 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
25382 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
25383 echo $ECHO_N "(cached) $ECHO_C" >&6
25384 else
25385 ac_check_lib_save_LIBS=$LIBS
25386 LIBS="-lgdk $LIBS"
25387 cat >conftest.$ac_ext <<_ACEOF
25388 /* confdefs.h. */
25389 _ACEOF
25390 cat confdefs.h >>conftest.$ac_ext
25391 cat >>conftest.$ac_ext <<_ACEOF
25392 /* end confdefs.h. */
25393
25394 /* Override any gcc2 internal prototype to avoid an error. */
25395 #ifdef __cplusplus
25396 extern "C"
25397 #endif
25398 /* We use char because int might match the return type of a gcc2
25399 builtin and then its argument prototype would still apply. */
25400 char gdk_im_open ();
25401 int
25402 main ()
25403 {
25404 gdk_im_open ();
25405 ;
25406 return 0;
25407 }
25408 _ACEOF
25409 rm -f conftest.$ac_objext conftest$ac_exeext
25410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25411 (eval $ac_link) 2>conftest.er1
25412 ac_status=$?
25413 grep -v '^ *+' conftest.er1 >conftest.err
25414 rm -f conftest.er1
25415 cat conftest.err >&5
25416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25417 (exit $ac_status); } &&
25418 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25420 (eval $ac_try) 2>&5
25421 ac_status=$?
25422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25423 (exit $ac_status); }; } &&
25424 { ac_try='test -s conftest$ac_exeext'
25425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25426 (eval $ac_try) 2>&5
25427 ac_status=$?
25428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25429 (exit $ac_status); }; }; then
25430 ac_cv_lib_gdk_gdk_im_open=yes
25431 else
25432 echo "$as_me: failed program was:" >&5
25433 sed 's/^/| /' conftest.$ac_ext >&5
25434
25435 ac_cv_lib_gdk_gdk_im_open=no
25436 fi
25437 rm -f conftest.err conftest.$ac_objext \
25438 conftest$ac_exeext conftest.$ac_ext
25439 LIBS=$ac_check_lib_save_LIBS
25440 fi
25441 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
25442 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
25443 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
25444 cat >>confdefs.h <<\_ACEOF
25445 #define HAVE_XIM 1
25446 _ACEOF
25447
25448 fi
25449
25450
25451
25452 if test "$wxUSE_GPE" = "yes"; then
25453 echo "$as_me:$LINENO: checking for gpewidget library" >&5
25454 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
25455
25456 ac_find_libraries=
25457 for ac_dir in $SEARCH_LIB /usr/lib;
25458 do
25459 for ac_extension in a so sl dylib; do
25460 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
25461 ac_find_libraries=$ac_dir
25462 break 2
25463 fi
25464 done
25465 done
25466
25467 if test "$ac_find_libraries" != "" ; then
25468
25469 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
25470 result=$?
25471 if test $result = 0; then
25472 ac_path_to_link=""
25473 else
25474 ac_path_to_link=" -L$ac_find_libraries"
25475 fi
25476
25477 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
25478 WXGPE=1
25479 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
25480 echo "${ECHO_T}found at $ac_find_libraries" >&6
25481 else
25482 echo "$as_me:$LINENO: result: not found" >&5
25483 echo "${ECHO_T}not found" >&6
25484 fi
25485
25486 fi
25487 fi
25488
25489 if test "$wxUSE_MGL" = 1; then
25490 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
25491 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
25492 if test "x$MGL_ROOT" = x ; then
25493 echo "$as_me:$LINENO: result: not found" >&5
25494 echo "${ECHO_T}not found" >&6
25495 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
25496 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
25497 { (exit 1); exit 1; }; }
25498 else
25499 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
25500 echo "${ECHO_T}$MGL_ROOT" >&6
25501 fi
25502
25503 echo "$as_me:$LINENO: checking for libmgl location" >&5
25504 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
25505 case "${host}" in
25506 *-*-linux* )
25507 if test "x$wxUSE_SHARED" = xyes ; then
25508 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
25509 else
25510 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
25511 fi
25512 ;;
25513 *-pc-msdosdjgpp )
25514 mgl_os_candidates="dos32/dj2"
25515 ;;
25516 *)
25517 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
25518 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
25519 { (exit 1); exit 1; }; }
25520 esac
25521
25522 mgl_lib_type=""
25523 mgl_os=""
25524
25525 for mgl_os_i in $mgl_os_candidates ; do
25526 if test "x$mgl_os" = x ; then
25527 if test "$wxUSE_DEBUG_FLAG" = yes ; then
25528 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
25529 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
25530 mgl_lib_type=debug
25531 mgl_os=$mgl_os_i
25532 fi
25533 fi
25534 if test "x$mgl_lib_type" = x ; then
25535 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
25536 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
25537 mgl_lib_type=release
25538 mgl_os=$mgl_os_i
25539 fi
25540 fi
25541 fi
25542 done
25543
25544 if test "x$mgl_os" = x ; then
25545 echo "$as_me:$LINENO: result: not found" >&5
25546 echo "${ECHO_T}not found" >&6
25547 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
25548 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
25549 { (exit 1); exit 1; }; }
25550 fi
25551 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
25552 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
25553
25554 wxUSE_UNIVERSAL="yes"
25555
25556 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
25557 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
25558
25559 AFMINSTALL=afminstall
25560 TOOLKIT=MGL
25561 GUIDIST=MGL_DIST
25562 fi
25563
25564 if test "$wxUSE_MICROWIN" = 1; then
25565 echo "$as_me:$LINENO: checking for MicroWindows" >&5
25566 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
25567 if test "x$MICROWINDOWS" = x ; then
25568 echo "$as_me:$LINENO: result: not found" >&5
25569 echo "${ECHO_T}not found" >&6
25570 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
25571 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
25572 { (exit 1); exit 1; }; }
25573 else
25574 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
25575 echo "${ECHO_T}$MICROWINDOWS" >&6
25576 fi
25577
25578 if test -f $MICROWINDOWS/lib/libmwin.a; then
25579 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
25580 echo "${ECHO_T}MicroWindows' libraries found." >&6
25581 else
25582 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
25583 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
25584 { (exit 1); exit 1; }; }
25585 fi
25586
25587 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
25588 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
25589
25590 wxUSE_UNIVERSAL="yes"
25591
25592 AFMINSTALL=afminstall
25593 TOOLKIT=MICROWIN
25594 GUIDIST=MICROWIN_DIST
25595
25596 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
25597 fi
25598
25599 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
25600
25601 if test "x$ac_path_x_has_been_run" != xyes; then
25602 echo "$as_me:$LINENO: checking for X" >&5
25603 echo $ECHO_N "checking for X... $ECHO_C" >&6
25604
25605 ac_path_x_has_been_run=yes
25606
25607 # Check whether --with-x or --without-x was given.
25608 if test "${with_x+set}" = set; then
25609 withval="$with_x"
25610
25611 fi;
25612 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
25613 if test "x$with_x" = xno; then
25614 # The user explicitly disabled X.
25615 have_x=disabled
25616 else
25617 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
25618 # Both variables are already set.
25619 have_x=yes
25620 else
25621 if test "${ac_cv_have_x+set}" = set; then
25622 echo $ECHO_N "(cached) $ECHO_C" >&6
25623 else
25624 # One or both of the vars are not set, and there is no cached value.
25625 ac_x_includes=no ac_x_libraries=no
25626 rm -fr conftest.dir
25627 if mkdir conftest.dir; then
25628 cd conftest.dir
25629 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
25630 cat >Imakefile <<'_ACEOF'
25631 acfindx:
25632 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
25633 _ACEOF
25634 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
25635 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
25636 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
25637 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
25638 for ac_extension in a so sl; do
25639 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
25640 test -f $ac_im_libdir/libX11.$ac_extension; then
25641 ac_im_usrlibdir=$ac_im_libdir; break
25642 fi
25643 done
25644 # Screen out bogus values from the imake configuration. They are
25645 # bogus both because they are the default anyway, and because
25646 # using them would break gcc on systems where it needs fixed includes.
25647 case $ac_im_incroot in
25648 /usr/include) ;;
25649 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
25650 esac
25651 case $ac_im_usrlibdir in
25652 /usr/lib | /lib) ;;
25653 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
25654 esac
25655 fi
25656 cd ..
25657 rm -fr conftest.dir
25658 fi
25659
25660 # Standard set of common directories for X headers.
25661 # Check X11 before X11Rn because it is often a symlink to the current release.
25662 ac_x_header_dirs='
25663 /usr/X11/include
25664 /usr/X11R6/include
25665 /usr/X11R5/include
25666 /usr/X11R4/include
25667
25668 /usr/include/X11
25669 /usr/include/X11R6
25670 /usr/include/X11R5
25671 /usr/include/X11R4
25672
25673 /usr/local/X11/include
25674 /usr/local/X11R6/include
25675 /usr/local/X11R5/include
25676 /usr/local/X11R4/include
25677
25678 /usr/local/include/X11
25679 /usr/local/include/X11R6
25680 /usr/local/include/X11R5
25681 /usr/local/include/X11R4
25682
25683 /usr/X386/include
25684 /usr/x386/include
25685 /usr/XFree86/include/X11
25686
25687 /usr/include
25688 /usr/local/include
25689 /usr/unsupported/include
25690 /usr/athena/include
25691 /usr/local/x11r5/include
25692 /usr/lpp/Xamples/include
25693
25694 /usr/openwin/include
25695 /usr/openwin/share/include'
25696
25697 if test "$ac_x_includes" = no; then
25698 # Guess where to find include files, by looking for a specified header file.
25699 # First, try using that file with no special directory specified.
25700 cat >conftest.$ac_ext <<_ACEOF
25701 /* confdefs.h. */
25702 _ACEOF
25703 cat confdefs.h >>conftest.$ac_ext
25704 cat >>conftest.$ac_ext <<_ACEOF
25705 /* end confdefs.h. */
25706 #include <X11/Intrinsic.h>
25707 _ACEOF
25708 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25709 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25710 ac_status=$?
25711 grep -v '^ *+' conftest.er1 >conftest.err
25712 rm -f conftest.er1
25713 cat conftest.err >&5
25714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25715 (exit $ac_status); } >/dev/null; then
25716 if test -s conftest.err; then
25717 ac_cpp_err=$ac_c_preproc_warn_flag
25718 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
25719 else
25720 ac_cpp_err=
25721 fi
25722 else
25723 ac_cpp_err=yes
25724 fi
25725 if test -z "$ac_cpp_err"; then
25726 # We can compile using X headers with no special include directory.
25727 ac_x_includes=
25728 else
25729 echo "$as_me: failed program was:" >&5
25730 sed 's/^/| /' conftest.$ac_ext >&5
25731
25732 for ac_dir in $ac_x_header_dirs; do
25733 if test -r "$ac_dir/X11/Intrinsic.h"; then
25734 ac_x_includes=$ac_dir
25735 break
25736 fi
25737 done
25738 fi
25739 rm -f conftest.err conftest.$ac_ext
25740 fi # $ac_x_includes = no
25741
25742 if test "$ac_x_libraries" = no; then
25743 # Check for the libraries.
25744 # See if we find them without any special options.
25745 # Don't add to $LIBS permanently.
25746 ac_save_LIBS=$LIBS
25747 LIBS="-lXt $LIBS"
25748 cat >conftest.$ac_ext <<_ACEOF
25749 /* confdefs.h. */
25750 _ACEOF
25751 cat confdefs.h >>conftest.$ac_ext
25752 cat >>conftest.$ac_ext <<_ACEOF
25753 /* end confdefs.h. */
25754 #include <X11/Intrinsic.h>
25755 int
25756 main ()
25757 {
25758 XtMalloc (0)
25759 ;
25760 return 0;
25761 }
25762 _ACEOF
25763 rm -f conftest.$ac_objext conftest$ac_exeext
25764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25765 (eval $ac_link) 2>conftest.er1
25766 ac_status=$?
25767 grep -v '^ *+' conftest.er1 >conftest.err
25768 rm -f conftest.er1
25769 cat conftest.err >&5
25770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25771 (exit $ac_status); } &&
25772 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25774 (eval $ac_try) 2>&5
25775 ac_status=$?
25776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25777 (exit $ac_status); }; } &&
25778 { ac_try='test -s conftest$ac_exeext'
25779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25780 (eval $ac_try) 2>&5
25781 ac_status=$?
25782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25783 (exit $ac_status); }; }; then
25784 LIBS=$ac_save_LIBS
25785 # We can link X programs with no special library path.
25786 ac_x_libraries=
25787 else
25788 echo "$as_me: failed program was:" >&5
25789 sed 's/^/| /' conftest.$ac_ext >&5
25790
25791 LIBS=$ac_save_LIBS
25792 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
25793 do
25794 # Don't even attempt the hair of trying to link an X program!
25795 for ac_extension in a so sl; do
25796 if test -r $ac_dir/libXt.$ac_extension; then
25797 ac_x_libraries=$ac_dir
25798 break 2
25799 fi
25800 done
25801 done
25802 fi
25803 rm -f conftest.err conftest.$ac_objext \
25804 conftest$ac_exeext conftest.$ac_ext
25805 fi # $ac_x_libraries = no
25806
25807 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
25808 # Didn't find X anywhere. Cache the known absence of X.
25809 ac_cv_have_x="have_x=no"
25810 else
25811 # Record where we found X for the cache.
25812 ac_cv_have_x="have_x=yes \
25813 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
25814 fi
25815 fi
25816
25817 fi
25818 eval "$ac_cv_have_x"
25819 fi # $with_x != no
25820
25821 if test "$have_x" != yes; then
25822 echo "$as_me:$LINENO: result: $have_x" >&5
25823 echo "${ECHO_T}$have_x" >&6
25824 no_x=yes
25825 else
25826 # If each of the values was on the command line, it overrides each guess.
25827 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
25828 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
25829 # Update the cache value to reflect the command line values.
25830 ac_cv_have_x="have_x=yes \
25831 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
25832 # It might be that x_includes is empty (headers are found in the
25833 # standard search path. Then output the corresponding message
25834 ac_out_x_includes=$x_includes
25835 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
25836 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
25837 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
25838 fi
25839
25840 fi
25841 if test "$no_x" = yes; then
25842 # Not all programs may use this symbol, but it does not hurt to define it.
25843
25844 cat >>confdefs.h <<\_ACEOF
25845 #define X_DISPLAY_MISSING 1
25846 _ACEOF
25847
25848 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
25849 else
25850 if test -n "$x_includes"; then
25851 X_CFLAGS="$X_CFLAGS -I$x_includes"
25852 fi
25853
25854 # It would also be nice to do this for all -L options, not just this one.
25855 if test -n "$x_libraries"; then
25856 X_LIBS="$X_LIBS -L$x_libraries"
25857 # For Solaris; some versions of Sun CC require a space after -R and
25858 # others require no space. Words are not sufficient . . . .
25859 case `(uname -sr) 2>/dev/null` in
25860 "SunOS 5"*)
25861 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
25862 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
25863 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
25864 cat >conftest.$ac_ext <<_ACEOF
25865 /* confdefs.h. */
25866 _ACEOF
25867 cat confdefs.h >>conftest.$ac_ext
25868 cat >>conftest.$ac_ext <<_ACEOF
25869 /* end confdefs.h. */
25870
25871 int
25872 main ()
25873 {
25874
25875 ;
25876 return 0;
25877 }
25878 _ACEOF
25879 rm -f conftest.$ac_objext conftest$ac_exeext
25880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25881 (eval $ac_link) 2>conftest.er1
25882 ac_status=$?
25883 grep -v '^ *+' conftest.er1 >conftest.err
25884 rm -f conftest.er1
25885 cat conftest.err >&5
25886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25887 (exit $ac_status); } &&
25888 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25890 (eval $ac_try) 2>&5
25891 ac_status=$?
25892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25893 (exit $ac_status); }; } &&
25894 { ac_try='test -s conftest$ac_exeext'
25895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25896 (eval $ac_try) 2>&5
25897 ac_status=$?
25898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25899 (exit $ac_status); }; }; then
25900 ac_R_nospace=yes
25901 else
25902 echo "$as_me: failed program was:" >&5
25903 sed 's/^/| /' conftest.$ac_ext >&5
25904
25905 ac_R_nospace=no
25906 fi
25907 rm -f conftest.err conftest.$ac_objext \
25908 conftest$ac_exeext conftest.$ac_ext
25909 if test $ac_R_nospace = yes; then
25910 echo "$as_me:$LINENO: result: no" >&5
25911 echo "${ECHO_T}no" >&6
25912 X_LIBS="$X_LIBS -R$x_libraries"
25913 else
25914 LIBS="$ac_xsave_LIBS -R $x_libraries"
25915 cat >conftest.$ac_ext <<_ACEOF
25916 /* confdefs.h. */
25917 _ACEOF
25918 cat confdefs.h >>conftest.$ac_ext
25919 cat >>conftest.$ac_ext <<_ACEOF
25920 /* end confdefs.h. */
25921
25922 int
25923 main ()
25924 {
25925
25926 ;
25927 return 0;
25928 }
25929 _ACEOF
25930 rm -f conftest.$ac_objext conftest$ac_exeext
25931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25932 (eval $ac_link) 2>conftest.er1
25933 ac_status=$?
25934 grep -v '^ *+' conftest.er1 >conftest.err
25935 rm -f conftest.er1
25936 cat conftest.err >&5
25937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25938 (exit $ac_status); } &&
25939 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25941 (eval $ac_try) 2>&5
25942 ac_status=$?
25943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25944 (exit $ac_status); }; } &&
25945 { ac_try='test -s conftest$ac_exeext'
25946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25947 (eval $ac_try) 2>&5
25948 ac_status=$?
25949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25950 (exit $ac_status); }; }; then
25951 ac_R_space=yes
25952 else
25953 echo "$as_me: failed program was:" >&5
25954 sed 's/^/| /' conftest.$ac_ext >&5
25955
25956 ac_R_space=no
25957 fi
25958 rm -f conftest.err conftest.$ac_objext \
25959 conftest$ac_exeext conftest.$ac_ext
25960 if test $ac_R_space = yes; then
25961 echo "$as_me:$LINENO: result: yes" >&5
25962 echo "${ECHO_T}yes" >&6
25963 X_LIBS="$X_LIBS -R $x_libraries"
25964 else
25965 echo "$as_me:$LINENO: result: neither works" >&5
25966 echo "${ECHO_T}neither works" >&6
25967 fi
25968 fi
25969 LIBS=$ac_xsave_LIBS
25970 esac
25971 fi
25972
25973 # Check for system-dependent libraries X programs must link with.
25974 # Do this before checking for the system-independent R6 libraries
25975 # (-lICE), since we may need -lsocket or whatever for X linking.
25976
25977 if test "$ISC" = yes; then
25978 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
25979 else
25980 # Martyn Johnson says this is needed for Ultrix, if the X
25981 # libraries were built with DECnet support. And Karl Berry says
25982 # the Alpha needs dnet_stub (dnet does not exist).
25983 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
25984 cat >conftest.$ac_ext <<_ACEOF
25985 /* confdefs.h. */
25986 _ACEOF
25987 cat confdefs.h >>conftest.$ac_ext
25988 cat >>conftest.$ac_ext <<_ACEOF
25989 /* end confdefs.h. */
25990
25991 /* Override any gcc2 internal prototype to avoid an error. */
25992 #ifdef __cplusplus
25993 extern "C"
25994 #endif
25995 /* We use char because int might match the return type of a gcc2
25996 builtin and then its argument prototype would still apply. */
25997 char XOpenDisplay ();
25998 int
25999 main ()
26000 {
26001 XOpenDisplay ();
26002 ;
26003 return 0;
26004 }
26005 _ACEOF
26006 rm -f conftest.$ac_objext conftest$ac_exeext
26007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26008 (eval $ac_link) 2>conftest.er1
26009 ac_status=$?
26010 grep -v '^ *+' conftest.er1 >conftest.err
26011 rm -f conftest.er1
26012 cat conftest.err >&5
26013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26014 (exit $ac_status); } &&
26015 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26017 (eval $ac_try) 2>&5
26018 ac_status=$?
26019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26020 (exit $ac_status); }; } &&
26021 { ac_try='test -s conftest$ac_exeext'
26022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26023 (eval $ac_try) 2>&5
26024 ac_status=$?
26025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26026 (exit $ac_status); }; }; then
26027 :
26028 else
26029 echo "$as_me: failed program was:" >&5
26030 sed 's/^/| /' conftest.$ac_ext >&5
26031
26032 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
26033 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
26034 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
26035 echo $ECHO_N "(cached) $ECHO_C" >&6
26036 else
26037 ac_check_lib_save_LIBS=$LIBS
26038 LIBS="-ldnet $LIBS"
26039 cat >conftest.$ac_ext <<_ACEOF
26040 /* confdefs.h. */
26041 _ACEOF
26042 cat confdefs.h >>conftest.$ac_ext
26043 cat >>conftest.$ac_ext <<_ACEOF
26044 /* end confdefs.h. */
26045
26046 /* Override any gcc2 internal prototype to avoid an error. */
26047 #ifdef __cplusplus
26048 extern "C"
26049 #endif
26050 /* We use char because int might match the return type of a gcc2
26051 builtin and then its argument prototype would still apply. */
26052 char dnet_ntoa ();
26053 int
26054 main ()
26055 {
26056 dnet_ntoa ();
26057 ;
26058 return 0;
26059 }
26060 _ACEOF
26061 rm -f conftest.$ac_objext conftest$ac_exeext
26062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26063 (eval $ac_link) 2>conftest.er1
26064 ac_status=$?
26065 grep -v '^ *+' conftest.er1 >conftest.err
26066 rm -f conftest.er1
26067 cat conftest.err >&5
26068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26069 (exit $ac_status); } &&
26070 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26072 (eval $ac_try) 2>&5
26073 ac_status=$?
26074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26075 (exit $ac_status); }; } &&
26076 { ac_try='test -s conftest$ac_exeext'
26077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26078 (eval $ac_try) 2>&5
26079 ac_status=$?
26080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26081 (exit $ac_status); }; }; then
26082 ac_cv_lib_dnet_dnet_ntoa=yes
26083 else
26084 echo "$as_me: failed program was:" >&5
26085 sed 's/^/| /' conftest.$ac_ext >&5
26086
26087 ac_cv_lib_dnet_dnet_ntoa=no
26088 fi
26089 rm -f conftest.err conftest.$ac_objext \
26090 conftest$ac_exeext conftest.$ac_ext
26091 LIBS=$ac_check_lib_save_LIBS
26092 fi
26093 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
26094 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
26095 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
26096 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
26097 fi
26098
26099 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
26100 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
26101 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
26102 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
26103 echo $ECHO_N "(cached) $ECHO_C" >&6
26104 else
26105 ac_check_lib_save_LIBS=$LIBS
26106 LIBS="-ldnet_stub $LIBS"
26107 cat >conftest.$ac_ext <<_ACEOF
26108 /* confdefs.h. */
26109 _ACEOF
26110 cat confdefs.h >>conftest.$ac_ext
26111 cat >>conftest.$ac_ext <<_ACEOF
26112 /* end confdefs.h. */
26113
26114 /* Override any gcc2 internal prototype to avoid an error. */
26115 #ifdef __cplusplus
26116 extern "C"
26117 #endif
26118 /* We use char because int might match the return type of a gcc2
26119 builtin and then its argument prototype would still apply. */
26120 char dnet_ntoa ();
26121 int
26122 main ()
26123 {
26124 dnet_ntoa ();
26125 ;
26126 return 0;
26127 }
26128 _ACEOF
26129 rm -f conftest.$ac_objext conftest$ac_exeext
26130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26131 (eval $ac_link) 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" || test ! -s conftest.err'
26139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26140 (eval $ac_try) 2>&5
26141 ac_status=$?
26142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26143 (exit $ac_status); }; } &&
26144 { ac_try='test -s conftest$ac_exeext'
26145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26146 (eval $ac_try) 2>&5
26147 ac_status=$?
26148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26149 (exit $ac_status); }; }; then
26150 ac_cv_lib_dnet_stub_dnet_ntoa=yes
26151 else
26152 echo "$as_me: failed program was:" >&5
26153 sed 's/^/| /' conftest.$ac_ext >&5
26154
26155 ac_cv_lib_dnet_stub_dnet_ntoa=no
26156 fi
26157 rm -f conftest.err conftest.$ac_objext \
26158 conftest$ac_exeext conftest.$ac_ext
26159 LIBS=$ac_check_lib_save_LIBS
26160 fi
26161 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
26162 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
26163 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
26164 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
26165 fi
26166
26167 fi
26168 fi
26169 rm -f conftest.err conftest.$ac_objext \
26170 conftest$ac_exeext conftest.$ac_ext
26171 LIBS="$ac_xsave_LIBS"
26172
26173 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
26174 # to get the SysV transport functions.
26175 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
26176 # needs -lnsl.
26177 # The nsl library prevents programs from opening the X display
26178 # on Irix 5.2, according to T.E. Dickey.
26179 # The functions gethostbyname, getservbyname, and inet_addr are
26180 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
26181 echo "$as_me:$LINENO: checking for gethostbyname" >&5
26182 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
26183 if test "${ac_cv_func_gethostbyname+set}" = set; then
26184 echo $ECHO_N "(cached) $ECHO_C" >&6
26185 else
26186 cat >conftest.$ac_ext <<_ACEOF
26187 /* confdefs.h. */
26188 _ACEOF
26189 cat confdefs.h >>conftest.$ac_ext
26190 cat >>conftest.$ac_ext <<_ACEOF
26191 /* end confdefs.h. */
26192 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
26193 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26194 #define gethostbyname innocuous_gethostbyname
26195
26196 /* System header to define __stub macros and hopefully few prototypes,
26197 which can conflict with char gethostbyname (); below.
26198 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26199 <limits.h> exists even on freestanding compilers. */
26200
26201 #ifdef __STDC__
26202 # include <limits.h>
26203 #else
26204 # include <assert.h>
26205 #endif
26206
26207 #undef gethostbyname
26208
26209 /* Override any gcc2 internal prototype to avoid an error. */
26210 #ifdef __cplusplus
26211 extern "C"
26212 {
26213 #endif
26214 /* We use char because int might match the return type of a gcc2
26215 builtin and then its argument prototype would still apply. */
26216 char gethostbyname ();
26217 /* The GNU C library defines this for functions which it implements
26218 to always fail with ENOSYS. Some functions are actually named
26219 something starting with __ and the normal name is an alias. */
26220 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
26221 choke me
26222 #else
26223 char (*f) () = gethostbyname;
26224 #endif
26225 #ifdef __cplusplus
26226 }
26227 #endif
26228
26229 int
26230 main ()
26231 {
26232 return f != gethostbyname;
26233 ;
26234 return 0;
26235 }
26236 _ACEOF
26237 rm -f conftest.$ac_objext conftest$ac_exeext
26238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26239 (eval $ac_link) 2>conftest.er1
26240 ac_status=$?
26241 grep -v '^ *+' conftest.er1 >conftest.err
26242 rm -f conftest.er1
26243 cat conftest.err >&5
26244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26245 (exit $ac_status); } &&
26246 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26248 (eval $ac_try) 2>&5
26249 ac_status=$?
26250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26251 (exit $ac_status); }; } &&
26252 { ac_try='test -s conftest$ac_exeext'
26253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26254 (eval $ac_try) 2>&5
26255 ac_status=$?
26256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26257 (exit $ac_status); }; }; then
26258 ac_cv_func_gethostbyname=yes
26259 else
26260 echo "$as_me: failed program was:" >&5
26261 sed 's/^/| /' conftest.$ac_ext >&5
26262
26263 ac_cv_func_gethostbyname=no
26264 fi
26265 rm -f conftest.err conftest.$ac_objext \
26266 conftest$ac_exeext conftest.$ac_ext
26267 fi
26268 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
26269 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
26270
26271 if test $ac_cv_func_gethostbyname = no; then
26272 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
26273 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
26274 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
26275 echo $ECHO_N "(cached) $ECHO_C" >&6
26276 else
26277 ac_check_lib_save_LIBS=$LIBS
26278 LIBS="-lnsl $LIBS"
26279 cat >conftest.$ac_ext <<_ACEOF
26280 /* confdefs.h. */
26281 _ACEOF
26282 cat confdefs.h >>conftest.$ac_ext
26283 cat >>conftest.$ac_ext <<_ACEOF
26284 /* end confdefs.h. */
26285
26286 /* Override any gcc2 internal prototype to avoid an error. */
26287 #ifdef __cplusplus
26288 extern "C"
26289 #endif
26290 /* We use char because int might match the return type of a gcc2
26291 builtin and then its argument prototype would still apply. */
26292 char gethostbyname ();
26293 int
26294 main ()
26295 {
26296 gethostbyname ();
26297 ;
26298 return 0;
26299 }
26300 _ACEOF
26301 rm -f conftest.$ac_objext conftest$ac_exeext
26302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26303 (eval $ac_link) 2>conftest.er1
26304 ac_status=$?
26305 grep -v '^ *+' conftest.er1 >conftest.err
26306 rm -f conftest.er1
26307 cat conftest.err >&5
26308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26309 (exit $ac_status); } &&
26310 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26312 (eval $ac_try) 2>&5
26313 ac_status=$?
26314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26315 (exit $ac_status); }; } &&
26316 { ac_try='test -s conftest$ac_exeext'
26317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26318 (eval $ac_try) 2>&5
26319 ac_status=$?
26320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26321 (exit $ac_status); }; }; then
26322 ac_cv_lib_nsl_gethostbyname=yes
26323 else
26324 echo "$as_me: failed program was:" >&5
26325 sed 's/^/| /' conftest.$ac_ext >&5
26326
26327 ac_cv_lib_nsl_gethostbyname=no
26328 fi
26329 rm -f conftest.err conftest.$ac_objext \
26330 conftest$ac_exeext conftest.$ac_ext
26331 LIBS=$ac_check_lib_save_LIBS
26332 fi
26333 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
26334 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
26335 if test $ac_cv_lib_nsl_gethostbyname = yes; then
26336 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
26337 fi
26338
26339 if test $ac_cv_lib_nsl_gethostbyname = no; then
26340 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
26341 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
26342 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
26343 echo $ECHO_N "(cached) $ECHO_C" >&6
26344 else
26345 ac_check_lib_save_LIBS=$LIBS
26346 LIBS="-lbsd $LIBS"
26347 cat >conftest.$ac_ext <<_ACEOF
26348 /* confdefs.h. */
26349 _ACEOF
26350 cat confdefs.h >>conftest.$ac_ext
26351 cat >>conftest.$ac_ext <<_ACEOF
26352 /* end confdefs.h. */
26353
26354 /* Override any gcc2 internal prototype to avoid an error. */
26355 #ifdef __cplusplus
26356 extern "C"
26357 #endif
26358 /* We use char because int might match the return type of a gcc2
26359 builtin and then its argument prototype would still apply. */
26360 char gethostbyname ();
26361 int
26362 main ()
26363 {
26364 gethostbyname ();
26365 ;
26366 return 0;
26367 }
26368 _ACEOF
26369 rm -f conftest.$ac_objext conftest$ac_exeext
26370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26371 (eval $ac_link) 2>conftest.er1
26372 ac_status=$?
26373 grep -v '^ *+' conftest.er1 >conftest.err
26374 rm -f conftest.er1
26375 cat conftest.err >&5
26376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26377 (exit $ac_status); } &&
26378 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26380 (eval $ac_try) 2>&5
26381 ac_status=$?
26382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26383 (exit $ac_status); }; } &&
26384 { ac_try='test -s conftest$ac_exeext'
26385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26386 (eval $ac_try) 2>&5
26387 ac_status=$?
26388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26389 (exit $ac_status); }; }; then
26390 ac_cv_lib_bsd_gethostbyname=yes
26391 else
26392 echo "$as_me: failed program was:" >&5
26393 sed 's/^/| /' conftest.$ac_ext >&5
26394
26395 ac_cv_lib_bsd_gethostbyname=no
26396 fi
26397 rm -f conftest.err conftest.$ac_objext \
26398 conftest$ac_exeext conftest.$ac_ext
26399 LIBS=$ac_check_lib_save_LIBS
26400 fi
26401 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
26402 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
26403 if test $ac_cv_lib_bsd_gethostbyname = yes; then
26404 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
26405 fi
26406
26407 fi
26408 fi
26409
26410 # lieder@skyler.mavd.honeywell.com says without -lsocket,
26411 # socket/setsockopt and other routines are undefined under SCO ODT
26412 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
26413 # on later versions), says Simon Leinen: it contains gethostby*
26414 # variants that don't use the name server (or something). -lsocket
26415 # must be given before -lnsl if both are needed. We assume that
26416 # if connect needs -lnsl, so does gethostbyname.
26417 echo "$as_me:$LINENO: checking for connect" >&5
26418 echo $ECHO_N "checking for connect... $ECHO_C" >&6
26419 if test "${ac_cv_func_connect+set}" = set; then
26420 echo $ECHO_N "(cached) $ECHO_C" >&6
26421 else
26422 cat >conftest.$ac_ext <<_ACEOF
26423 /* confdefs.h. */
26424 _ACEOF
26425 cat confdefs.h >>conftest.$ac_ext
26426 cat >>conftest.$ac_ext <<_ACEOF
26427 /* end confdefs.h. */
26428 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
26429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26430 #define connect innocuous_connect
26431
26432 /* System header to define __stub macros and hopefully few prototypes,
26433 which can conflict with char connect (); below.
26434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26435 <limits.h> exists even on freestanding compilers. */
26436
26437 #ifdef __STDC__
26438 # include <limits.h>
26439 #else
26440 # include <assert.h>
26441 #endif
26442
26443 #undef connect
26444
26445 /* Override any gcc2 internal prototype to avoid an error. */
26446 #ifdef __cplusplus
26447 extern "C"
26448 {
26449 #endif
26450 /* We use char because int might match the return type of a gcc2
26451 builtin and then its argument prototype would still apply. */
26452 char connect ();
26453 /* The GNU C library defines this for functions which it implements
26454 to always fail with ENOSYS. Some functions are actually named
26455 something starting with __ and the normal name is an alias. */
26456 #if defined (__stub_connect) || defined (__stub___connect)
26457 choke me
26458 #else
26459 char (*f) () = connect;
26460 #endif
26461 #ifdef __cplusplus
26462 }
26463 #endif
26464
26465 int
26466 main ()
26467 {
26468 return f != connect;
26469 ;
26470 return 0;
26471 }
26472 _ACEOF
26473 rm -f conftest.$ac_objext conftest$ac_exeext
26474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26475 (eval $ac_link) 2>conftest.er1
26476 ac_status=$?
26477 grep -v '^ *+' conftest.er1 >conftest.err
26478 rm -f conftest.er1
26479 cat conftest.err >&5
26480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26481 (exit $ac_status); } &&
26482 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26484 (eval $ac_try) 2>&5
26485 ac_status=$?
26486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26487 (exit $ac_status); }; } &&
26488 { ac_try='test -s conftest$ac_exeext'
26489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26490 (eval $ac_try) 2>&5
26491 ac_status=$?
26492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26493 (exit $ac_status); }; }; then
26494 ac_cv_func_connect=yes
26495 else
26496 echo "$as_me: failed program was:" >&5
26497 sed 's/^/| /' conftest.$ac_ext >&5
26498
26499 ac_cv_func_connect=no
26500 fi
26501 rm -f conftest.err conftest.$ac_objext \
26502 conftest$ac_exeext conftest.$ac_ext
26503 fi
26504 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
26505 echo "${ECHO_T}$ac_cv_func_connect" >&6
26506
26507 if test $ac_cv_func_connect = no; then
26508 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
26509 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
26510 if test "${ac_cv_lib_socket_connect+set}" = set; then
26511 echo $ECHO_N "(cached) $ECHO_C" >&6
26512 else
26513 ac_check_lib_save_LIBS=$LIBS
26514 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
26515 cat >conftest.$ac_ext <<_ACEOF
26516 /* confdefs.h. */
26517 _ACEOF
26518 cat confdefs.h >>conftest.$ac_ext
26519 cat >>conftest.$ac_ext <<_ACEOF
26520 /* end confdefs.h. */
26521
26522 /* Override any gcc2 internal prototype to avoid an error. */
26523 #ifdef __cplusplus
26524 extern "C"
26525 #endif
26526 /* We use char because int might match the return type of a gcc2
26527 builtin and then its argument prototype would still apply. */
26528 char connect ();
26529 int
26530 main ()
26531 {
26532 connect ();
26533 ;
26534 return 0;
26535 }
26536 _ACEOF
26537 rm -f conftest.$ac_objext conftest$ac_exeext
26538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26539 (eval $ac_link) 2>conftest.er1
26540 ac_status=$?
26541 grep -v '^ *+' conftest.er1 >conftest.err
26542 rm -f conftest.er1
26543 cat conftest.err >&5
26544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26545 (exit $ac_status); } &&
26546 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26548 (eval $ac_try) 2>&5
26549 ac_status=$?
26550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26551 (exit $ac_status); }; } &&
26552 { ac_try='test -s conftest$ac_exeext'
26553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26554 (eval $ac_try) 2>&5
26555 ac_status=$?
26556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26557 (exit $ac_status); }; }; then
26558 ac_cv_lib_socket_connect=yes
26559 else
26560 echo "$as_me: failed program was:" >&5
26561 sed 's/^/| /' conftest.$ac_ext >&5
26562
26563 ac_cv_lib_socket_connect=no
26564 fi
26565 rm -f conftest.err conftest.$ac_objext \
26566 conftest$ac_exeext conftest.$ac_ext
26567 LIBS=$ac_check_lib_save_LIBS
26568 fi
26569 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
26570 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
26571 if test $ac_cv_lib_socket_connect = yes; then
26572 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
26573 fi
26574
26575 fi
26576
26577 # Guillermo Gomez says -lposix is necessary on A/UX.
26578 echo "$as_me:$LINENO: checking for remove" >&5
26579 echo $ECHO_N "checking for remove... $ECHO_C" >&6
26580 if test "${ac_cv_func_remove+set}" = set; then
26581 echo $ECHO_N "(cached) $ECHO_C" >&6
26582 else
26583 cat >conftest.$ac_ext <<_ACEOF
26584 /* confdefs.h. */
26585 _ACEOF
26586 cat confdefs.h >>conftest.$ac_ext
26587 cat >>conftest.$ac_ext <<_ACEOF
26588 /* end confdefs.h. */
26589 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
26590 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26591 #define remove innocuous_remove
26592
26593 /* System header to define __stub macros and hopefully few prototypes,
26594 which can conflict with char remove (); below.
26595 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26596 <limits.h> exists even on freestanding compilers. */
26597
26598 #ifdef __STDC__
26599 # include <limits.h>
26600 #else
26601 # include <assert.h>
26602 #endif
26603
26604 #undef remove
26605
26606 /* Override any gcc2 internal prototype to avoid an error. */
26607 #ifdef __cplusplus
26608 extern "C"
26609 {
26610 #endif
26611 /* We use char because int might match the return type of a gcc2
26612 builtin and then its argument prototype would still apply. */
26613 char remove ();
26614 /* The GNU C library defines this for functions which it implements
26615 to always fail with ENOSYS. Some functions are actually named
26616 something starting with __ and the normal name is an alias. */
26617 #if defined (__stub_remove) || defined (__stub___remove)
26618 choke me
26619 #else
26620 char (*f) () = remove;
26621 #endif
26622 #ifdef __cplusplus
26623 }
26624 #endif
26625
26626 int
26627 main ()
26628 {
26629 return f != remove;
26630 ;
26631 return 0;
26632 }
26633 _ACEOF
26634 rm -f conftest.$ac_objext conftest$ac_exeext
26635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26636 (eval $ac_link) 2>conftest.er1
26637 ac_status=$?
26638 grep -v '^ *+' conftest.er1 >conftest.err
26639 rm -f conftest.er1
26640 cat conftest.err >&5
26641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26642 (exit $ac_status); } &&
26643 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26645 (eval $ac_try) 2>&5
26646 ac_status=$?
26647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26648 (exit $ac_status); }; } &&
26649 { ac_try='test -s conftest$ac_exeext'
26650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26651 (eval $ac_try) 2>&5
26652 ac_status=$?
26653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26654 (exit $ac_status); }; }; then
26655 ac_cv_func_remove=yes
26656 else
26657 echo "$as_me: failed program was:" >&5
26658 sed 's/^/| /' conftest.$ac_ext >&5
26659
26660 ac_cv_func_remove=no
26661 fi
26662 rm -f conftest.err conftest.$ac_objext \
26663 conftest$ac_exeext conftest.$ac_ext
26664 fi
26665 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
26666 echo "${ECHO_T}$ac_cv_func_remove" >&6
26667
26668 if test $ac_cv_func_remove = no; then
26669 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
26670 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
26671 if test "${ac_cv_lib_posix_remove+set}" = set; then
26672 echo $ECHO_N "(cached) $ECHO_C" >&6
26673 else
26674 ac_check_lib_save_LIBS=$LIBS
26675 LIBS="-lposix $LIBS"
26676 cat >conftest.$ac_ext <<_ACEOF
26677 /* confdefs.h. */
26678 _ACEOF
26679 cat confdefs.h >>conftest.$ac_ext
26680 cat >>conftest.$ac_ext <<_ACEOF
26681 /* end confdefs.h. */
26682
26683 /* Override any gcc2 internal prototype to avoid an error. */
26684 #ifdef __cplusplus
26685 extern "C"
26686 #endif
26687 /* We use char because int might match the return type of a gcc2
26688 builtin and then its argument prototype would still apply. */
26689 char remove ();
26690 int
26691 main ()
26692 {
26693 remove ();
26694 ;
26695 return 0;
26696 }
26697 _ACEOF
26698 rm -f conftest.$ac_objext conftest$ac_exeext
26699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26700 (eval $ac_link) 2>conftest.er1
26701 ac_status=$?
26702 grep -v '^ *+' conftest.er1 >conftest.err
26703 rm -f conftest.er1
26704 cat conftest.err >&5
26705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26706 (exit $ac_status); } &&
26707 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26709 (eval $ac_try) 2>&5
26710 ac_status=$?
26711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26712 (exit $ac_status); }; } &&
26713 { ac_try='test -s conftest$ac_exeext'
26714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26715 (eval $ac_try) 2>&5
26716 ac_status=$?
26717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26718 (exit $ac_status); }; }; then
26719 ac_cv_lib_posix_remove=yes
26720 else
26721 echo "$as_me: failed program was:" >&5
26722 sed 's/^/| /' conftest.$ac_ext >&5
26723
26724 ac_cv_lib_posix_remove=no
26725 fi
26726 rm -f conftest.err conftest.$ac_objext \
26727 conftest$ac_exeext conftest.$ac_ext
26728 LIBS=$ac_check_lib_save_LIBS
26729 fi
26730 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
26731 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
26732 if test $ac_cv_lib_posix_remove = yes; then
26733 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
26734 fi
26735
26736 fi
26737
26738 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
26739 echo "$as_me:$LINENO: checking for shmat" >&5
26740 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
26741 if test "${ac_cv_func_shmat+set}" = set; then
26742 echo $ECHO_N "(cached) $ECHO_C" >&6
26743 else
26744 cat >conftest.$ac_ext <<_ACEOF
26745 /* confdefs.h. */
26746 _ACEOF
26747 cat confdefs.h >>conftest.$ac_ext
26748 cat >>conftest.$ac_ext <<_ACEOF
26749 /* end confdefs.h. */
26750 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
26751 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26752 #define shmat innocuous_shmat
26753
26754 /* System header to define __stub macros and hopefully few prototypes,
26755 which can conflict with char shmat (); below.
26756 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26757 <limits.h> exists even on freestanding compilers. */
26758
26759 #ifdef __STDC__
26760 # include <limits.h>
26761 #else
26762 # include <assert.h>
26763 #endif
26764
26765 #undef shmat
26766
26767 /* Override any gcc2 internal prototype to avoid an error. */
26768 #ifdef __cplusplus
26769 extern "C"
26770 {
26771 #endif
26772 /* We use char because int might match the return type of a gcc2
26773 builtin and then its argument prototype would still apply. */
26774 char shmat ();
26775 /* The GNU C library defines this for functions which it implements
26776 to always fail with ENOSYS. Some functions are actually named
26777 something starting with __ and the normal name is an alias. */
26778 #if defined (__stub_shmat) || defined (__stub___shmat)
26779 choke me
26780 #else
26781 char (*f) () = shmat;
26782 #endif
26783 #ifdef __cplusplus
26784 }
26785 #endif
26786
26787 int
26788 main ()
26789 {
26790 return f != shmat;
26791 ;
26792 return 0;
26793 }
26794 _ACEOF
26795 rm -f conftest.$ac_objext conftest$ac_exeext
26796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26797 (eval $ac_link) 2>conftest.er1
26798 ac_status=$?
26799 grep -v '^ *+' conftest.er1 >conftest.err
26800 rm -f conftest.er1
26801 cat conftest.err >&5
26802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26803 (exit $ac_status); } &&
26804 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26806 (eval $ac_try) 2>&5
26807 ac_status=$?
26808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26809 (exit $ac_status); }; } &&
26810 { ac_try='test -s conftest$ac_exeext'
26811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26812 (eval $ac_try) 2>&5
26813 ac_status=$?
26814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26815 (exit $ac_status); }; }; then
26816 ac_cv_func_shmat=yes
26817 else
26818 echo "$as_me: failed program was:" >&5
26819 sed 's/^/| /' conftest.$ac_ext >&5
26820
26821 ac_cv_func_shmat=no
26822 fi
26823 rm -f conftest.err conftest.$ac_objext \
26824 conftest$ac_exeext conftest.$ac_ext
26825 fi
26826 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
26827 echo "${ECHO_T}$ac_cv_func_shmat" >&6
26828
26829 if test $ac_cv_func_shmat = no; then
26830 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
26831 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
26832 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
26833 echo $ECHO_N "(cached) $ECHO_C" >&6
26834 else
26835 ac_check_lib_save_LIBS=$LIBS
26836 LIBS="-lipc $LIBS"
26837 cat >conftest.$ac_ext <<_ACEOF
26838 /* confdefs.h. */
26839 _ACEOF
26840 cat confdefs.h >>conftest.$ac_ext
26841 cat >>conftest.$ac_ext <<_ACEOF
26842 /* end confdefs.h. */
26843
26844 /* Override any gcc2 internal prototype to avoid an error. */
26845 #ifdef __cplusplus
26846 extern "C"
26847 #endif
26848 /* We use char because int might match the return type of a gcc2
26849 builtin and then its argument prototype would still apply. */
26850 char shmat ();
26851 int
26852 main ()
26853 {
26854 shmat ();
26855 ;
26856 return 0;
26857 }
26858 _ACEOF
26859 rm -f conftest.$ac_objext conftest$ac_exeext
26860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26861 (eval $ac_link) 2>conftest.er1
26862 ac_status=$?
26863 grep -v '^ *+' conftest.er1 >conftest.err
26864 rm -f conftest.er1
26865 cat conftest.err >&5
26866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26867 (exit $ac_status); } &&
26868 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26870 (eval $ac_try) 2>&5
26871 ac_status=$?
26872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26873 (exit $ac_status); }; } &&
26874 { ac_try='test -s conftest$ac_exeext'
26875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26876 (eval $ac_try) 2>&5
26877 ac_status=$?
26878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26879 (exit $ac_status); }; }; then
26880 ac_cv_lib_ipc_shmat=yes
26881 else
26882 echo "$as_me: failed program was:" >&5
26883 sed 's/^/| /' conftest.$ac_ext >&5
26884
26885 ac_cv_lib_ipc_shmat=no
26886 fi
26887 rm -f conftest.err conftest.$ac_objext \
26888 conftest$ac_exeext conftest.$ac_ext
26889 LIBS=$ac_check_lib_save_LIBS
26890 fi
26891 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
26892 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
26893 if test $ac_cv_lib_ipc_shmat = yes; then
26894 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
26895 fi
26896
26897 fi
26898 fi
26899
26900 # Check for libraries that X11R6 Xt/Xaw programs need.
26901 ac_save_LDFLAGS=$LDFLAGS
26902 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
26903 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
26904 # check for ICE first), but we must link in the order -lSM -lICE or
26905 # we get undefined symbols. So assume we have SM if we have ICE.
26906 # These have to be linked with before -lX11, unlike the other
26907 # libraries we check for below, so use a different variable.
26908 # John Interrante, Karl Berry
26909 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
26910 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
26911 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
26912 echo $ECHO_N "(cached) $ECHO_C" >&6
26913 else
26914 ac_check_lib_save_LIBS=$LIBS
26915 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
26916 cat >conftest.$ac_ext <<_ACEOF
26917 /* confdefs.h. */
26918 _ACEOF
26919 cat confdefs.h >>conftest.$ac_ext
26920 cat >>conftest.$ac_ext <<_ACEOF
26921 /* end confdefs.h. */
26922
26923 /* Override any gcc2 internal prototype to avoid an error. */
26924 #ifdef __cplusplus
26925 extern "C"
26926 #endif
26927 /* We use char because int might match the return type of a gcc2
26928 builtin and then its argument prototype would still apply. */
26929 char IceConnectionNumber ();
26930 int
26931 main ()
26932 {
26933 IceConnectionNumber ();
26934 ;
26935 return 0;
26936 }
26937 _ACEOF
26938 rm -f conftest.$ac_objext conftest$ac_exeext
26939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26940 (eval $ac_link) 2>conftest.er1
26941 ac_status=$?
26942 grep -v '^ *+' conftest.er1 >conftest.err
26943 rm -f conftest.er1
26944 cat conftest.err >&5
26945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26946 (exit $ac_status); } &&
26947 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26949 (eval $ac_try) 2>&5
26950 ac_status=$?
26951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26952 (exit $ac_status); }; } &&
26953 { ac_try='test -s conftest$ac_exeext'
26954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26955 (eval $ac_try) 2>&5
26956 ac_status=$?
26957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26958 (exit $ac_status); }; }; then
26959 ac_cv_lib_ICE_IceConnectionNumber=yes
26960 else
26961 echo "$as_me: failed program was:" >&5
26962 sed 's/^/| /' conftest.$ac_ext >&5
26963
26964 ac_cv_lib_ICE_IceConnectionNumber=no
26965 fi
26966 rm -f conftest.err conftest.$ac_objext \
26967 conftest$ac_exeext conftest.$ac_ext
26968 LIBS=$ac_check_lib_save_LIBS
26969 fi
26970 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
26971 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
26972 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
26973 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
26974 fi
26975
26976 LDFLAGS=$ac_save_LDFLAGS
26977
26978 fi
26979
26980
26981 if test "$no_x" = "yes"; then
26982 { { echo "$as_me:$LINENO: error: X11 not found" >&5
26983 echo "$as_me: error: X11 not found" >&2;}
26984 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
26985 fi
26986
26987 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
26988 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
26989 AFMINSTALL=afminstall
26990 COMPILED_X_PROGRAM=0
26991
26992 fi
26993
26994 if test "$wxUSE_X11" = 1; then
26995 if test "$wxUSE_NANOX" = "yes"; then
26996 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
26997 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
26998 if test "x$MICROWIN" = x ; then
26999 echo "$as_me:$LINENO: result: not found" >&5
27000 echo "${ECHO_T}not found" >&6
27001 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
27002 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
27003 { (exit 1); exit 1; }; }
27004 else
27005 echo "$as_me:$LINENO: result: $MICROWIN" >&5
27006 echo "${ECHO_T}$MICROWIN" >&6
27007 cat >>confdefs.h <<\_ACEOF
27008 #define wxUSE_NANOX 1
27009 _ACEOF
27010
27011 fi
27012 fi
27013
27014 if test "$wxUSE_UNICODE" = "yes"; then
27015
27016 succeeded=no
27017
27018 if test -z "$PKG_CONFIG"; then
27019 # Extract the first word of "pkg-config", so it can be a program name with args.
27020 set dummy pkg-config; ac_word=$2
27021 echo "$as_me:$LINENO: checking for $ac_word" >&5
27022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27023 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27024 echo $ECHO_N "(cached) $ECHO_C" >&6
27025 else
27026 case $PKG_CONFIG in
27027 [\\/]* | ?:[\\/]*)
27028 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27029 ;;
27030 *)
27031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27032 for as_dir in $PATH
27033 do
27034 IFS=$as_save_IFS
27035 test -z "$as_dir" && as_dir=.
27036 for ac_exec_ext in '' $ac_executable_extensions; do
27037 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27038 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27039 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27040 break 2
27041 fi
27042 done
27043 done
27044
27045 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27046 ;;
27047 esac
27048 fi
27049 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27050
27051 if test -n "$PKG_CONFIG"; then
27052 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27053 echo "${ECHO_T}$PKG_CONFIG" >&6
27054 else
27055 echo "$as_me:$LINENO: result: no" >&5
27056 echo "${ECHO_T}no" >&6
27057 fi
27058
27059 fi
27060
27061 if test "$PKG_CONFIG" = "no" ; then
27062 echo "*** The pkg-config script could not be found. Make sure it is"
27063 echo "*** in your path, or set the PKG_CONFIG environment variable"
27064 echo "*** to the full path to pkg-config."
27065 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27066 else
27067 PKG_CONFIG_MIN_VERSION=0.9.0
27068 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27069 echo "$as_me:$LINENO: checking for pangox" >&5
27070 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
27071
27072 if $PKG_CONFIG --exists "pangox" ; then
27073 echo "$as_me:$LINENO: result: yes" >&5
27074 echo "${ECHO_T}yes" >&6
27075 succeeded=yes
27076
27077 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
27078 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
27079 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
27080 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
27081 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
27082
27083 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
27084 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
27085 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
27086 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
27087 echo "${ECHO_T}$PANGOX_LIBS" >&6
27088 else
27089 PANGOX_CFLAGS=""
27090 PANGOX_LIBS=""
27091 ## If we have a custom action on failure, don't print errors, but
27092 ## do set a variable so people can do so.
27093 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
27094
27095 fi
27096
27097
27098
27099 else
27100 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27101 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27102 fi
27103 fi
27104
27105 if test $succeeded = yes; then
27106
27107 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
27108 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
27109
27110 else
27111
27112 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
27113 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
27114 { (exit 1); exit 1; }; }
27115
27116
27117 fi
27118
27119
27120 succeeded=no
27121
27122 if test -z "$PKG_CONFIG"; then
27123 # Extract the first word of "pkg-config", so it can be a program name with args.
27124 set dummy pkg-config; ac_word=$2
27125 echo "$as_me:$LINENO: checking for $ac_word" >&5
27126 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27127 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27128 echo $ECHO_N "(cached) $ECHO_C" >&6
27129 else
27130 case $PKG_CONFIG in
27131 [\\/]* | ?:[\\/]*)
27132 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27133 ;;
27134 *)
27135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27136 for as_dir in $PATH
27137 do
27138 IFS=$as_save_IFS
27139 test -z "$as_dir" && as_dir=.
27140 for ac_exec_ext in '' $ac_executable_extensions; do
27141 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27142 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27143 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27144 break 2
27145 fi
27146 done
27147 done
27148
27149 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27150 ;;
27151 esac
27152 fi
27153 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27154
27155 if test -n "$PKG_CONFIG"; then
27156 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27157 echo "${ECHO_T}$PKG_CONFIG" >&6
27158 else
27159 echo "$as_me:$LINENO: result: no" >&5
27160 echo "${ECHO_T}no" >&6
27161 fi
27162
27163 fi
27164
27165 if test "$PKG_CONFIG" = "no" ; then
27166 echo "*** The pkg-config script could not be found. Make sure it is"
27167 echo "*** in your path, or set the PKG_CONFIG environment variable"
27168 echo "*** to the full path to pkg-config."
27169 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27170 else
27171 PKG_CONFIG_MIN_VERSION=0.9.0
27172 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27173 echo "$as_me:$LINENO: checking for pangoft2" >&5
27174 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
27175
27176 if $PKG_CONFIG --exists "pangoft2" ; then
27177 echo "$as_me:$LINENO: result: yes" >&5
27178 echo "${ECHO_T}yes" >&6
27179 succeeded=yes
27180
27181 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
27182 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
27183 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
27184 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
27185 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
27186
27187 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
27188 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
27189 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
27190 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
27191 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
27192 else
27193 PANGOFT2_CFLAGS=""
27194 PANGOFT2_LIBS=""
27195 ## If we have a custom action on failure, don't print errors, but
27196 ## do set a variable so people can do so.
27197 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
27198
27199 fi
27200
27201
27202
27203 else
27204 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27205 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27206 fi
27207 fi
27208
27209 if test $succeeded = yes; then
27210
27211 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
27212 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
27213
27214 else
27215
27216 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
27217 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
27218 wxUSE_PRINTING_ARCHITECTURE="no"
27219
27220
27221 fi
27222
27223
27224 succeeded=no
27225
27226 if test -z "$PKG_CONFIG"; then
27227 # Extract the first word of "pkg-config", so it can be a program name with args.
27228 set dummy pkg-config; ac_word=$2
27229 echo "$as_me:$LINENO: checking for $ac_word" >&5
27230 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27231 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27232 echo $ECHO_N "(cached) $ECHO_C" >&6
27233 else
27234 case $PKG_CONFIG in
27235 [\\/]* | ?:[\\/]*)
27236 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27237 ;;
27238 *)
27239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27240 for as_dir in $PATH
27241 do
27242 IFS=$as_save_IFS
27243 test -z "$as_dir" && as_dir=.
27244 for ac_exec_ext in '' $ac_executable_extensions; do
27245 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27246 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27248 break 2
27249 fi
27250 done
27251 done
27252
27253 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27254 ;;
27255 esac
27256 fi
27257 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27258
27259 if test -n "$PKG_CONFIG"; then
27260 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27261 echo "${ECHO_T}$PKG_CONFIG" >&6
27262 else
27263 echo "$as_me:$LINENO: result: no" >&5
27264 echo "${ECHO_T}no" >&6
27265 fi
27266
27267 fi
27268
27269 if test "$PKG_CONFIG" = "no" ; then
27270 echo "*** The pkg-config script could not be found. Make sure it is"
27271 echo "*** in your path, or set the PKG_CONFIG environment variable"
27272 echo "*** to the full path to pkg-config."
27273 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27274 else
27275 PKG_CONFIG_MIN_VERSION=0.9.0
27276 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27277 echo "$as_me:$LINENO: checking for pangoxft" >&5
27278 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
27279
27280 if $PKG_CONFIG --exists "pangoxft" ; then
27281 echo "$as_me:$LINENO: result: yes" >&5
27282 echo "${ECHO_T}yes" >&6
27283 succeeded=yes
27284
27285 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
27286 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
27287 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
27288 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
27289 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
27290
27291 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
27292 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
27293 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
27294 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
27295 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
27296 else
27297 PANGOXFT_CFLAGS=""
27298 PANGOXFT_LIBS=""
27299 ## If we have a custom action on failure, don't print errors, but
27300 ## do set a variable so people can do so.
27301 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
27302
27303 fi
27304
27305
27306
27307 else
27308 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27309 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27310 fi
27311 fi
27312
27313 if test $succeeded = yes; then
27314
27315 cat >>confdefs.h <<\_ACEOF
27316 #define HAVE_PANGO_XFT 1
27317 _ACEOF
27318
27319 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
27320 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
27321
27322 else
27323
27324 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
27325 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
27326
27327
27328 fi
27329
27330 save_CFLAGS="$CFLAGS"
27331 save_LIBS="$LIBS"
27332 CFLAGS="$CFLAGS $PANGOX_CFLAGS"
27333 LIBS="$LIBS $PANGOX_LIBS"
27334
27335 for ac_func in pango_font_family_is_monospace
27336 do
27337 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27338 echo "$as_me:$LINENO: checking for $ac_func" >&5
27339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27340 if eval "test \"\${$as_ac_var+set}\" = set"; then
27341 echo $ECHO_N "(cached) $ECHO_C" >&6
27342 else
27343 cat >conftest.$ac_ext <<_ACEOF
27344 /* confdefs.h. */
27345 _ACEOF
27346 cat confdefs.h >>conftest.$ac_ext
27347 cat >>conftest.$ac_ext <<_ACEOF
27348 /* end confdefs.h. */
27349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27350 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27351 #define $ac_func innocuous_$ac_func
27352
27353 /* System header to define __stub macros and hopefully few prototypes,
27354 which can conflict with char $ac_func (); below.
27355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27356 <limits.h> exists even on freestanding compilers. */
27357
27358 #ifdef __STDC__
27359 # include <limits.h>
27360 #else
27361 # include <assert.h>
27362 #endif
27363
27364 #undef $ac_func
27365
27366 /* Override any gcc2 internal prototype to avoid an error. */
27367 #ifdef __cplusplus
27368 extern "C"
27369 {
27370 #endif
27371 /* We use char because int might match the return type of a gcc2
27372 builtin and then its argument prototype would still apply. */
27373 char $ac_func ();
27374 /* The GNU C library defines this for functions which it implements
27375 to always fail with ENOSYS. Some functions are actually named
27376 something starting with __ and the normal name is an alias. */
27377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27378 choke me
27379 #else
27380 char (*f) () = $ac_func;
27381 #endif
27382 #ifdef __cplusplus
27383 }
27384 #endif
27385
27386 int
27387 main ()
27388 {
27389 return f != $ac_func;
27390 ;
27391 return 0;
27392 }
27393 _ACEOF
27394 rm -f conftest.$ac_objext conftest$ac_exeext
27395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27396 (eval $ac_link) 2>conftest.er1
27397 ac_status=$?
27398 grep -v '^ *+' conftest.er1 >conftest.err
27399 rm -f conftest.er1
27400 cat conftest.err >&5
27401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27402 (exit $ac_status); } &&
27403 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27405 (eval $ac_try) 2>&5
27406 ac_status=$?
27407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27408 (exit $ac_status); }; } &&
27409 { ac_try='test -s conftest$ac_exeext'
27410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27411 (eval $ac_try) 2>&5
27412 ac_status=$?
27413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27414 (exit $ac_status); }; }; then
27415 eval "$as_ac_var=yes"
27416 else
27417 echo "$as_me: failed program was:" >&5
27418 sed 's/^/| /' conftest.$ac_ext >&5
27419
27420 eval "$as_ac_var=no"
27421 fi
27422 rm -f conftest.err conftest.$ac_objext \
27423 conftest$ac_exeext conftest.$ac_ext
27424 fi
27425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27426 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27427 if test `eval echo '${'$as_ac_var'}'` = yes; then
27428 cat >>confdefs.h <<_ACEOF
27429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27430 _ACEOF
27431
27432 fi
27433 done
27434
27435 CFLAGS="$save_CFLAGS"
27436 LIBS="$save_LIBS"
27437 fi
27438
27439 wxUSE_UNIVERSAL="yes"
27440
27441 if test "$wxUSE_NANOX" = "yes"; then
27442 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
27443 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"
27444 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
27445 else
27446 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
27447 fi
27448
27449 TOOLKIT=X11
27450 GUIDIST=X11_DIST
27451 fi
27452
27453 if test "$wxUSE_MOTIF" = 1; then
27454 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
27455 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
27456
27457 ac_find_includes=
27458 for ac_dir in $SEARCH_INCLUDE /usr/include;
27459 do
27460 if test -f "$ac_dir/Xm/Xm.h"; then
27461 ac_find_includes=$ac_dir
27462 break
27463 fi
27464 done
27465
27466 if test "$ac_find_includes" != "" ; then
27467 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27468 echo "${ECHO_T}found in $ac_find_includes" >&6
27469
27470 if test "x$ac_find_includes" = "x/usr/include"; then
27471 ac_path_to_include=""
27472 else
27473 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
27474 result=$?
27475 if test $result = 0; then
27476 ac_path_to_include=""
27477 else
27478 ac_path_to_include=" -I$ac_find_includes"
27479 fi
27480 fi
27481
27482 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
27483 else
27484 cat >conftest.$ac_ext <<_ACEOF
27485 /* confdefs.h. */
27486 _ACEOF
27487 cat confdefs.h >>conftest.$ac_ext
27488 cat >>conftest.$ac_ext <<_ACEOF
27489 /* end confdefs.h. */
27490
27491 #include <Xm/Xm.h>
27492
27493 int
27494 main ()
27495 {
27496
27497 int version;
27498 version = xmUseVersion;
27499
27500 ;
27501 return 0;
27502 }
27503 _ACEOF
27504 rm -f conftest.$ac_objext
27505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27506 (eval $ac_compile) 2>conftest.er1
27507 ac_status=$?
27508 grep -v '^ *+' conftest.er1 >conftest.err
27509 rm -f conftest.er1
27510 cat conftest.err >&5
27511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27512 (exit $ac_status); } &&
27513 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27515 (eval $ac_try) 2>&5
27516 ac_status=$?
27517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27518 (exit $ac_status); }; } &&
27519 { ac_try='test -s conftest.$ac_objext'
27520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27521 (eval $ac_try) 2>&5
27522 ac_status=$?
27523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27524 (exit $ac_status); }; }; then
27525
27526 echo "$as_me:$LINENO: result: found in default search path" >&5
27527 echo "${ECHO_T}found in default search path" >&6
27528 COMPILED_X_PROGRAM=1
27529
27530 else
27531 echo "$as_me: failed program was:" >&5
27532 sed 's/^/| /' conftest.$ac_ext >&5
27533
27534
27535 echo "$as_me:$LINENO: result: no" >&5
27536 echo "${ECHO_T}no" >&6
27537 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
27538 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
27539 { (exit 1); exit 1; }; }
27540
27541
27542 fi
27543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27544 fi
27545
27546 if test "$COMPILED_X_PROGRAM" = 0; then
27547 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
27548 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
27549
27550 ac_find_libraries=
27551 for ac_dir in $SEARCH_LIB /usr/lib;
27552 do
27553 for ac_extension in a so sl dylib; do
27554 if test -f "$ac_dir/libXm.$ac_extension"; then
27555 ac_find_libraries=$ac_dir
27556 break 2
27557 fi
27558 done
27559 done
27560
27561 if test "$ac_find_libraries" != "" ; then
27562 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
27563 echo "${ECHO_T}found at $ac_find_libraries" >&6
27564
27565
27566 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
27567 result=$?
27568 if test $result = 0; then
27569 ac_path_to_link=""
27570 else
27571 ac_path_to_link=" -L$ac_find_libraries"
27572 fi
27573
27574 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
27575 else
27576 save_CFLAGS=$CFLAGS
27577 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
27578
27579 cat >conftest.$ac_ext <<_ACEOF
27580 /* confdefs.h. */
27581 _ACEOF
27582 cat confdefs.h >>conftest.$ac_ext
27583 cat >>conftest.$ac_ext <<_ACEOF
27584 /* end confdefs.h. */
27585
27586 #include <Xm/Xm.h>
27587
27588 int
27589 main ()
27590 {
27591
27592 int version;
27593 version = xmUseVersion;
27594
27595 ;
27596 return 0;
27597 }
27598 _ACEOF
27599 rm -f conftest.$ac_objext
27600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27601 (eval $ac_compile) 2>conftest.er1
27602 ac_status=$?
27603 grep -v '^ *+' conftest.er1 >conftest.err
27604 rm -f conftest.er1
27605 cat conftest.err >&5
27606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27607 (exit $ac_status); } &&
27608 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27610 (eval $ac_try) 2>&5
27611 ac_status=$?
27612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27613 (exit $ac_status); }; } &&
27614 { ac_try='test -s conftest.$ac_objext'
27615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27616 (eval $ac_try) 2>&5
27617 ac_status=$?
27618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27619 (exit $ac_status); }; }; then
27620
27621 echo "$as_me:$LINENO: result: found in default search path" >&5
27622 echo "${ECHO_T}found in default search path" >&6
27623 COMPILED_X_PROGRAM=1
27624
27625 else
27626 echo "$as_me: failed program was:" >&5
27627 sed 's/^/| /' conftest.$ac_ext >&5
27628
27629
27630 echo "$as_me:$LINENO: result: no" >&5
27631 echo "${ECHO_T}no" >&6
27632 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
27633 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
27634 { (exit 1); exit 1; }; }
27635
27636
27637 fi
27638 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27639
27640 CFLAGS=$save_CFLAGS
27641 fi
27642 fi
27643
27644 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
27645 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
27646 libp_link=""
27647 libsm_ice_link=""
27648 libs_found=0
27649 for libp in "" " -lXp"; do
27650 if test "$libs_found" = "0"; then
27651 for libsm_ice in "" " -lSM -lICE"; do
27652 if test "$libs_found" = "0"; then
27653 save_LIBS="$LIBS"
27654 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
27655 save_CFLAGS=$CFLAGS
27656 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
27657
27658 cat >conftest.$ac_ext <<_ACEOF
27659 /* confdefs.h. */
27660 _ACEOF
27661 cat confdefs.h >>conftest.$ac_ext
27662 cat >>conftest.$ac_ext <<_ACEOF
27663 /* end confdefs.h. */
27664
27665 #include <Xm/Xm.h>
27666 #include <Xm/List.h>
27667
27668 int
27669 main ()
27670 {
27671
27672 XmString string = NULL;
27673 Widget w = NULL;
27674 int position = 0;
27675 XmListAddItem(w, string, position);
27676
27677 ;
27678 return 0;
27679 }
27680 _ACEOF
27681 rm -f conftest.$ac_objext conftest$ac_exeext
27682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27683 (eval $ac_link) 2>conftest.er1
27684 ac_status=$?
27685 grep -v '^ *+' conftest.er1 >conftest.err
27686 rm -f conftest.er1
27687 cat conftest.err >&5
27688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27689 (exit $ac_status); } &&
27690 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27692 (eval $ac_try) 2>&5
27693 ac_status=$?
27694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27695 (exit $ac_status); }; } &&
27696 { ac_try='test -s conftest$ac_exeext'
27697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27698 (eval $ac_try) 2>&5
27699 ac_status=$?
27700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27701 (exit $ac_status); }; }; then
27702
27703 libp_link="$libp"
27704 libsm_ice_link="$libsm_ice"
27705 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
27706 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
27707 libs_found=1
27708
27709 else
27710 echo "$as_me: failed program was:" >&5
27711 sed 's/^/| /' conftest.$ac_ext >&5
27712
27713
27714
27715 fi
27716 rm -f conftest.err conftest.$ac_objext \
27717 conftest$ac_exeext conftest.$ac_ext
27718
27719 LIBS="$save_LIBS"
27720 CFLAGS=$save_CFLAGS
27721 fi
27722 done
27723 fi
27724 done
27725
27726 if test "$libs_found" = "0"; then
27727 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
27728 echo "${ECHO_T}can't find the right libraries" >&6
27729 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
27730 echo "$as_me: error: can't link a simple motif program" >&2;}
27731 { (exit 1); exit 1; }; }
27732 fi
27733
27734 save_CFLAGS=$CFLAGS
27735 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
27736 echo "$as_me:$LINENO: checking for Motif 2" >&5
27737 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
27738 cat >conftest.$ac_ext <<_ACEOF
27739 /* confdefs.h. */
27740 _ACEOF
27741 cat confdefs.h >>conftest.$ac_ext
27742 cat >>conftest.$ac_ext <<_ACEOF
27743 /* end confdefs.h. */
27744
27745 #include <Xm/Xm.h>
27746
27747 int
27748 main ()
27749 {
27750
27751 #if XmVersion < 2000
27752 #error "Not Motif 2"
27753 #endif
27754
27755 ;
27756 return 0;
27757 }
27758 _ACEOF
27759 rm -f conftest.$ac_objext
27760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27761 (eval $ac_compile) 2>conftest.er1
27762 ac_status=$?
27763 grep -v '^ *+' conftest.er1 >conftest.err
27764 rm -f conftest.er1
27765 cat conftest.err >&5
27766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27767 (exit $ac_status); } &&
27768 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27770 (eval $ac_try) 2>&5
27771 ac_status=$?
27772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27773 (exit $ac_status); }; } &&
27774 { ac_try='test -s conftest.$ac_objext'
27775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27776 (eval $ac_try) 2>&5
27777 ac_status=$?
27778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27779 (exit $ac_status); }; }; then
27780
27781 cat >>confdefs.h <<\_ACEOF
27782 #define __WXMOTIF20__ 1
27783 _ACEOF
27784
27785 echo "$as_me:$LINENO: result: found" >&5
27786 echo "${ECHO_T}found" >&6
27787
27788 else
27789 echo "$as_me: failed program was:" >&5
27790 sed 's/^/| /' conftest.$ac_ext >&5
27791
27792
27793 cat >>confdefs.h <<\_ACEOF
27794 #define __WXMOTIF20__ 0
27795 _ACEOF
27796
27797 echo "$as_me:$LINENO: result: not found" >&5
27798 echo "${ECHO_T}not found" >&6
27799
27800 fi
27801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27802 CFLAGS=$save_CFLAGS
27803
27804 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
27805 TOOLKIT=MOTIF
27806 GUIDIST=MOTIF_DIST
27807 fi
27808
27809 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
27810 if test "$wxUSE_LIBXPM" = "sys"; then
27811 echo "$as_me:$LINENO: checking for Xpm library" >&5
27812 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
27813
27814 ac_find_libraries=
27815 for ac_dir in $SEARCH_LIB /usr/lib;
27816 do
27817 for ac_extension in a so sl dylib; do
27818 if test -f "$ac_dir/libXpm.$ac_extension"; then
27819 ac_find_libraries=$ac_dir
27820 break 2
27821 fi
27822 done
27823 done
27824
27825 if test "$ac_find_libraries" != "" ; then
27826
27827 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
27828 result=$?
27829 if test $result = 0; then
27830 ac_path_to_link=""
27831 else
27832 ac_path_to_link=" -L$ac_find_libraries"
27833 fi
27834
27835 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
27836 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
27837 echo "${ECHO_T}found at $ac_find_libraries" >&6
27838
27839 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
27840 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
27841 if test "${wx_cv_x11_xpm_h+set}" = set; then
27842 echo $ECHO_N "(cached) $ECHO_C" >&6
27843 else
27844
27845 save_CFLAGS=$CFLAGS
27846 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
27847
27848 cat >conftest.$ac_ext <<_ACEOF
27849 /* confdefs.h. */
27850 _ACEOF
27851 cat confdefs.h >>conftest.$ac_ext
27852 cat >>conftest.$ac_ext <<_ACEOF
27853 /* end confdefs.h. */
27854
27855 #include <X11/xpm.h>
27856
27857 int
27858 main ()
27859 {
27860
27861 int version;
27862 version = XpmLibraryVersion();
27863
27864 ;
27865 return 0;
27866 }
27867 _ACEOF
27868 rm -f conftest.$ac_objext
27869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27870 (eval $ac_compile) 2>conftest.er1
27871 ac_status=$?
27872 grep -v '^ *+' conftest.er1 >conftest.err
27873 rm -f conftest.er1
27874 cat conftest.err >&5
27875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27876 (exit $ac_status); } &&
27877 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27879 (eval $ac_try) 2>&5
27880 ac_status=$?
27881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27882 (exit $ac_status); }; } &&
27883 { ac_try='test -s conftest.$ac_objext'
27884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27885 (eval $ac_try) 2>&5
27886 ac_status=$?
27887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27888 (exit $ac_status); }; }; then
27889 wx_cv_x11_xpm_h=yes
27890 else
27891 echo "$as_me: failed program was:" >&5
27892 sed 's/^/| /' conftest.$ac_ext >&5
27893
27894 wx_cv_x11_xpm_h=no
27895
27896 fi
27897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27898
27899 CFLAGS=$save_CFLAGS
27900
27901
27902 fi
27903 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
27904 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
27905
27906 if test $wx_cv_x11_xpm_h = "yes"; then
27907 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
27908 cat >>confdefs.h <<\_ACEOF
27909 #define wxHAVE_LIB_XPM 1
27910 _ACEOF
27911
27912 else
27913 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
27914 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
27915 fi
27916 fi
27917
27918 fi
27919
27920 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
27921 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
27922 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
27923 echo $ECHO_N "(cached) $ECHO_C" >&6
27924 else
27925 ac_check_lib_save_LIBS=$LIBS
27926 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
27927 cat >conftest.$ac_ext <<_ACEOF
27928 /* confdefs.h. */
27929 _ACEOF
27930 cat confdefs.h >>conftest.$ac_ext
27931 cat >>conftest.$ac_ext <<_ACEOF
27932 /* end confdefs.h. */
27933
27934 /* Override any gcc2 internal prototype to avoid an error. */
27935 #ifdef __cplusplus
27936 extern "C"
27937 #endif
27938 /* We use char because int might match the return type of a gcc2
27939 builtin and then its argument prototype would still apply. */
27940 char XShapeQueryExtension ();
27941 int
27942 main ()
27943 {
27944 XShapeQueryExtension ();
27945 ;
27946 return 0;
27947 }
27948 _ACEOF
27949 rm -f conftest.$ac_objext conftest$ac_exeext
27950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27951 (eval $ac_link) 2>conftest.er1
27952 ac_status=$?
27953 grep -v '^ *+' conftest.er1 >conftest.err
27954 rm -f conftest.er1
27955 cat conftest.err >&5
27956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27957 (exit $ac_status); } &&
27958 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27960 (eval $ac_try) 2>&5
27961 ac_status=$?
27962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27963 (exit $ac_status); }; } &&
27964 { ac_try='test -s conftest$ac_exeext'
27965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27966 (eval $ac_try) 2>&5
27967 ac_status=$?
27968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27969 (exit $ac_status); }; }; then
27970 ac_cv_lib_Xext_XShapeQueryExtension=yes
27971 else
27972 echo "$as_me: failed program was:" >&5
27973 sed 's/^/| /' conftest.$ac_ext >&5
27974
27975 ac_cv_lib_Xext_XShapeQueryExtension=no
27976 fi
27977 rm -f conftest.err conftest.$ac_objext \
27978 conftest$ac_exeext conftest.$ac_ext
27979 LIBS=$ac_check_lib_save_LIBS
27980 fi
27981 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
27982 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
27983 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
27984
27985 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
27986 wxHAVE_XEXT_LIB=1
27987
27988 fi
27989
27990
27991 if test "$wxHAVE_XEXT_LIB" = 1; then
27992 save_CFLAGS="$CFLAGS"
27993 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
27994
27995 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
27996 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
27997 cat >conftest.$ac_ext <<_ACEOF
27998 /* confdefs.h. */
27999 _ACEOF
28000 cat confdefs.h >>conftest.$ac_ext
28001 cat >>conftest.$ac_ext <<_ACEOF
28002 /* end confdefs.h. */
28003
28004 #include <X11/Xlib.h>
28005 #include <X11/extensions/shape.h>
28006
28007 int
28008 main ()
28009 {
28010
28011 int dummy1, dummy2;
28012 XShapeQueryExtension((Display*)NULL,
28013 (int*)NULL, (int*)NULL);
28014
28015 ;
28016 return 0;
28017 }
28018 _ACEOF
28019 rm -f conftest.$ac_objext
28020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28021 (eval $ac_compile) 2>conftest.er1
28022 ac_status=$?
28023 grep -v '^ *+' conftest.er1 >conftest.err
28024 rm -f conftest.er1
28025 cat conftest.err >&5
28026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28027 (exit $ac_status); } &&
28028 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28030 (eval $ac_try) 2>&5
28031 ac_status=$?
28032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28033 (exit $ac_status); }; } &&
28034 { ac_try='test -s conftest.$ac_objext'
28035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28036 (eval $ac_try) 2>&5
28037 ac_status=$?
28038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28039 (exit $ac_status); }; }; then
28040
28041 cat >>confdefs.h <<\_ACEOF
28042 #define HAVE_XSHAPE 1
28043 _ACEOF
28044
28045 echo "$as_me:$LINENO: result: found" >&5
28046 echo "${ECHO_T}found" >&6
28047
28048 else
28049 echo "$as_me: failed program was:" >&5
28050 sed 's/^/| /' conftest.$ac_ext >&5
28051
28052
28053 echo "$as_me:$LINENO: result: not found" >&5
28054 echo "${ECHO_T}not found" >&6
28055
28056 fi
28057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28058 CFLAGS="$save_CFLAGS"
28059
28060 fi
28061 fi
28062
28063 if test "$wxUSE_MAC" = 1; then
28064 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
28065 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
28066 if test "$GCC" = yes; then
28067 echo "$as_me:$LINENO: result: gcc" >&5
28068 echo "${ECHO_T}gcc" >&6
28069 CPPFLAGS_PASCAL="-fpascal-strings"
28070 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
28071 echo "$as_me:$LINENO: result: xlc" >&5
28072 echo "${ECHO_T}xlc" >&6
28073 CPPFLAGS_PASCAL="-qmacpstr"
28074 else
28075 echo "$as_me:$LINENO: result: none" >&5
28076 echo "${ECHO_T}none" >&6
28077 fi
28078
28079 if test "x$wxUSE_UNIX" = "xyes"; then
28080 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
28081 else
28082 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
28083 fi
28084
28085 TOOLKIT=MAC
28086 GUIDIST=MACX_DIST
28087 WXBASEPORT="_carbon"
28088 fi
28089
28090 if test "$wxUSE_COCOA" = 1; then
28091 TOOLKIT=COCOA
28092 GUIDIST=COCOA_DIST
28093 fi
28094
28095 if test "$wxUSE_PM" = 1; then
28096 TOOLKIT=PM
28097 GUIDIST=PM_DIST
28098 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
28099 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
28100 if test "${wx_cv_spbcdata+set}" = set; then
28101 echo $ECHO_N "(cached) $ECHO_C" >&6
28102 else
28103
28104 cat >conftest.$ac_ext <<_ACEOF
28105 /* confdefs.h. */
28106 _ACEOF
28107 cat confdefs.h >>conftest.$ac_ext
28108 cat >>conftest.$ac_ext <<_ACEOF
28109 /* end confdefs.h. */
28110
28111 #define INCL_PM
28112 #include <os2.h>
28113
28114 int
28115 main ()
28116 {
28117
28118 SPBCDATA test;
28119
28120 ;
28121 return 0;
28122 }
28123 _ACEOF
28124 rm -f conftest.$ac_objext
28125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28126 (eval $ac_compile) 2>conftest.er1
28127 ac_status=$?
28128 grep -v '^ *+' conftest.er1 >conftest.err
28129 rm -f conftest.er1
28130 cat conftest.err >&5
28131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28132 (exit $ac_status); } &&
28133 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28135 (eval $ac_try) 2>&5
28136 ac_status=$?
28137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28138 (exit $ac_status); }; } &&
28139 { ac_try='test -s conftest.$ac_objext'
28140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28141 (eval $ac_try) 2>&5
28142 ac_status=$?
28143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28144 (exit $ac_status); }; }; then
28145 wx_cv_spbcdata=yes
28146 else
28147 echo "$as_me: failed program was:" >&5
28148 sed 's/^/| /' conftest.$ac_ext >&5
28149
28150 wx_cv_spbcdata=no
28151
28152 fi
28153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28154
28155
28156 fi
28157 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
28158 echo "${ECHO_T}$wx_cv_spbcdata" >&6
28159
28160 if test $wx_cv_spbcdata = "yes"; then
28161 cat >>confdefs.h <<\_ACEOF
28162 #define HAVE_SPBCDATA 1
28163 _ACEOF
28164
28165 fi
28166 fi
28167
28168 if test "$TOOLKIT" = "PM" ; then
28169 TOOLKIT_DIR="os2"
28170 else
28171 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
28172 fi
28173
28174 if test "$wxUSE_UNIVERSAL" = "yes"; then
28175 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
28176 WIDGET_SET=univ
28177 fi
28178
28179 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
28180 DISTDIR="wx\$(TOOLKIT)"
28181 else
28182 USE_GUI=0
28183
28184 TOOLKIT_DIR="base"
28185
28186 if test "$USE_WIN32" = 1 ; then
28187 TOOLKIT="MSW"
28188 fi
28189
28190 GUIDIST="BASE_DIST"
28191 DISTDIR="wxBase"
28192 fi
28193
28194
28195
28196
28197 IODBC_C_SRC=""
28198
28199
28200 if test "$TOOLKIT" != "MSW" ; then
28201
28202 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
28203
28204 if test "${ac_cv_header_sql_h+set}" = set; then
28205 echo "$as_me:$LINENO: checking for sql.h" >&5
28206 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
28207 if test "${ac_cv_header_sql_h+set}" = set; then
28208 echo $ECHO_N "(cached) $ECHO_C" >&6
28209 fi
28210 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
28211 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
28212 else
28213 # Is the header compilable?
28214 echo "$as_me:$LINENO: checking sql.h usability" >&5
28215 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
28216 cat >conftest.$ac_ext <<_ACEOF
28217 /* confdefs.h. */
28218 _ACEOF
28219 cat confdefs.h >>conftest.$ac_ext
28220 cat >>conftest.$ac_ext <<_ACEOF
28221 /* end confdefs.h. */
28222 $ac_includes_default
28223 #include <sql.h>
28224 _ACEOF
28225 rm -f conftest.$ac_objext
28226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28227 (eval $ac_compile) 2>conftest.er1
28228 ac_status=$?
28229 grep -v '^ *+' conftest.er1 >conftest.err
28230 rm -f conftest.er1
28231 cat conftest.err >&5
28232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28233 (exit $ac_status); } &&
28234 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28236 (eval $ac_try) 2>&5
28237 ac_status=$?
28238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28239 (exit $ac_status); }; } &&
28240 { ac_try='test -s conftest.$ac_objext'
28241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28242 (eval $ac_try) 2>&5
28243 ac_status=$?
28244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28245 (exit $ac_status); }; }; then
28246 ac_header_compiler=yes
28247 else
28248 echo "$as_me: failed program was:" >&5
28249 sed 's/^/| /' conftest.$ac_ext >&5
28250
28251 ac_header_compiler=no
28252 fi
28253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28254 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28255 echo "${ECHO_T}$ac_header_compiler" >&6
28256
28257 # Is the header present?
28258 echo "$as_me:$LINENO: checking sql.h presence" >&5
28259 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
28260 cat >conftest.$ac_ext <<_ACEOF
28261 /* confdefs.h. */
28262 _ACEOF
28263 cat confdefs.h >>conftest.$ac_ext
28264 cat >>conftest.$ac_ext <<_ACEOF
28265 /* end confdefs.h. */
28266 #include <sql.h>
28267 _ACEOF
28268 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28269 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28270 ac_status=$?
28271 grep -v '^ *+' conftest.er1 >conftest.err
28272 rm -f conftest.er1
28273 cat conftest.err >&5
28274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28275 (exit $ac_status); } >/dev/null; then
28276 if test -s conftest.err; then
28277 ac_cpp_err=$ac_c_preproc_warn_flag
28278 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28279 else
28280 ac_cpp_err=
28281 fi
28282 else
28283 ac_cpp_err=yes
28284 fi
28285 if test -z "$ac_cpp_err"; then
28286 ac_header_preproc=yes
28287 else
28288 echo "$as_me: failed program was:" >&5
28289 sed 's/^/| /' conftest.$ac_ext >&5
28290
28291 ac_header_preproc=no
28292 fi
28293 rm -f conftest.err conftest.$ac_ext
28294 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28295 echo "${ECHO_T}$ac_header_preproc" >&6
28296
28297 # So? What about this header?
28298 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28299 yes:no: )
28300 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
28301 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28302 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
28303 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
28304 ac_header_preproc=yes
28305 ;;
28306 no:yes:* )
28307 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
28308 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
28309 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
28310 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
28311 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
28312 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
28313 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
28314 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
28315 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
28316 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
28317 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
28318 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
28319 (
28320 cat <<\_ASBOX
28321 ## ----------------------------------------- ##
28322 ## Report this to wx-dev@lists.wxwidgets.org ##
28323 ## ----------------------------------------- ##
28324 _ASBOX
28325 ) |
28326 sed "s/^/$as_me: WARNING: /" >&2
28327 ;;
28328 esac
28329 echo "$as_me:$LINENO: checking for sql.h" >&5
28330 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
28331 if test "${ac_cv_header_sql_h+set}" = set; then
28332 echo $ECHO_N "(cached) $ECHO_C" >&6
28333 else
28334 ac_cv_header_sql_h=$ac_header_preproc
28335 fi
28336 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
28337 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
28338
28339 fi
28340 if test $ac_cv_header_sql_h = yes; then
28341 found_sql_h=1
28342 fi
28343
28344
28345 if test "x$found_sql_h" = "x1" ; then
28346 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
28347 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
28348 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
28349 echo $ECHO_N "(cached) $ECHO_C" >&6
28350 else
28351 ac_check_lib_save_LIBS=$LIBS
28352 LIBS="-liodbc $LIBS"
28353 cat >conftest.$ac_ext <<_ACEOF
28354 /* confdefs.h. */
28355 _ACEOF
28356 cat confdefs.h >>conftest.$ac_ext
28357 cat >>conftest.$ac_ext <<_ACEOF
28358 /* end confdefs.h. */
28359
28360 /* Override any gcc2 internal prototype to avoid an error. */
28361 #ifdef __cplusplus
28362 extern "C"
28363 #endif
28364 /* We use char because int might match the return type of a gcc2
28365 builtin and then its argument prototype would still apply. */
28366 char SQLAllocEnv ();
28367 int
28368 main ()
28369 {
28370 SQLAllocEnv ();
28371 ;
28372 return 0;
28373 }
28374 _ACEOF
28375 rm -f conftest.$ac_objext conftest$ac_exeext
28376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28377 (eval $ac_link) 2>conftest.er1
28378 ac_status=$?
28379 grep -v '^ *+' conftest.er1 >conftest.err
28380 rm -f conftest.er1
28381 cat conftest.err >&5
28382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28383 (exit $ac_status); } &&
28384 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28386 (eval $ac_try) 2>&5
28387 ac_status=$?
28388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28389 (exit $ac_status); }; } &&
28390 { ac_try='test -s conftest$ac_exeext'
28391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28392 (eval $ac_try) 2>&5
28393 ac_status=$?
28394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28395 (exit $ac_status); }; }; then
28396 ac_cv_lib_iodbc_SQLAllocEnv=yes
28397 else
28398 echo "$as_me: failed program was:" >&5
28399 sed 's/^/| /' conftest.$ac_ext >&5
28400
28401 ac_cv_lib_iodbc_SQLAllocEnv=no
28402 fi
28403 rm -f conftest.err conftest.$ac_objext \
28404 conftest$ac_exeext conftest.$ac_ext
28405 LIBS=$ac_check_lib_save_LIBS
28406 fi
28407 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
28408 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
28409 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
28410 ODBC_LINK=" -liodbc"
28411 else
28412
28413 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
28414 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
28415 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
28416 echo $ECHO_N "(cached) $ECHO_C" >&6
28417 else
28418 ac_check_lib_save_LIBS=$LIBS
28419 LIBS="-lunixodbc $LIBS"
28420 cat >conftest.$ac_ext <<_ACEOF
28421 /* confdefs.h. */
28422 _ACEOF
28423 cat confdefs.h >>conftest.$ac_ext
28424 cat >>conftest.$ac_ext <<_ACEOF
28425 /* end confdefs.h. */
28426
28427 /* Override any gcc2 internal prototype to avoid an error. */
28428 #ifdef __cplusplus
28429 extern "C"
28430 #endif
28431 /* We use char because int might match the return type of a gcc2
28432 builtin and then its argument prototype would still apply. */
28433 char SQLAllocEnv ();
28434 int
28435 main ()
28436 {
28437 SQLAllocEnv ();
28438 ;
28439 return 0;
28440 }
28441 _ACEOF
28442 rm -f conftest.$ac_objext conftest$ac_exeext
28443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28444 (eval $ac_link) 2>conftest.er1
28445 ac_status=$?
28446 grep -v '^ *+' conftest.er1 >conftest.err
28447 rm -f conftest.er1
28448 cat conftest.err >&5
28449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28450 (exit $ac_status); } &&
28451 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28453 (eval $ac_try) 2>&5
28454 ac_status=$?
28455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28456 (exit $ac_status); }; } &&
28457 { ac_try='test -s conftest$ac_exeext'
28458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28459 (eval $ac_try) 2>&5
28460 ac_status=$?
28461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28462 (exit $ac_status); }; }; then
28463 ac_cv_lib_unixodbc_SQLAllocEnv=yes
28464 else
28465 echo "$as_me: failed program was:" >&5
28466 sed 's/^/| /' conftest.$ac_ext >&5
28467
28468 ac_cv_lib_unixodbc_SQLAllocEnv=no
28469 fi
28470 rm -f conftest.err conftest.$ac_objext \
28471 conftest$ac_exeext conftest.$ac_ext
28472 LIBS=$ac_check_lib_save_LIBS
28473 fi
28474 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
28475 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
28476 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
28477 ODBC_LINK=" -lunixodbc"
28478 else
28479
28480 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
28481 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
28482 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
28483 echo $ECHO_N "(cached) $ECHO_C" >&6
28484 else
28485 ac_check_lib_save_LIBS=$LIBS
28486 LIBS="-lodbc $LIBS"
28487 cat >conftest.$ac_ext <<_ACEOF
28488 /* confdefs.h. */
28489 _ACEOF
28490 cat confdefs.h >>conftest.$ac_ext
28491 cat >>conftest.$ac_ext <<_ACEOF
28492 /* end confdefs.h. */
28493
28494 /* Override any gcc2 internal prototype to avoid an error. */
28495 #ifdef __cplusplus
28496 extern "C"
28497 #endif
28498 /* We use char because int might match the return type of a gcc2
28499 builtin and then its argument prototype would still apply. */
28500 char SQLAllocEnv ();
28501 int
28502 main ()
28503 {
28504 SQLAllocEnv ();
28505 ;
28506 return 0;
28507 }
28508 _ACEOF
28509 rm -f conftest.$ac_objext conftest$ac_exeext
28510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28511 (eval $ac_link) 2>conftest.er1
28512 ac_status=$?
28513 grep -v '^ *+' conftest.er1 >conftest.err
28514 rm -f conftest.er1
28515 cat conftest.err >&5
28516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28517 (exit $ac_status); } &&
28518 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28520 (eval $ac_try) 2>&5
28521 ac_status=$?
28522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28523 (exit $ac_status); }; } &&
28524 { ac_try='test -s conftest$ac_exeext'
28525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28526 (eval $ac_try) 2>&5
28527 ac_status=$?
28528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28529 (exit $ac_status); }; }; then
28530 ac_cv_lib_odbc_SQLAllocEnv=yes
28531 else
28532 echo "$as_me: failed program was:" >&5
28533 sed 's/^/| /' conftest.$ac_ext >&5
28534
28535 ac_cv_lib_odbc_SQLAllocEnv=no
28536 fi
28537 rm -f conftest.err conftest.$ac_objext \
28538 conftest$ac_exeext conftest.$ac_ext
28539 LIBS=$ac_check_lib_save_LIBS
28540 fi
28541 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
28542 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
28543 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
28544 ODBC_LINK=" -lodbc"
28545 fi
28546
28547
28548 fi
28549
28550
28551 fi
28552
28553 fi
28554 if test "x$ODBC_LINK" = "x" ; then
28555 if test "$wxUSE_ODBC" = "sys" ; then
28556 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
28557 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
28558 { (exit 1); exit 1; }; }
28559 else
28560 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
28561 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
28562 wxUSE_ODBC=builtin
28563 fi
28564 else
28565 wxUSE_ODBC=sys
28566 fi
28567 fi
28568
28569 if test "$wxUSE_ODBC" = "builtin" ; then
28570 cat >>confdefs.h <<\_ACEOF
28571 #define wxUSE_BUILTIN_IODBC 1
28572 _ACEOF
28573
28574 fi
28575 fi
28576
28577 if test "$wxUSE_ODBC" != "no" ; then
28578 cat >>confdefs.h <<\_ACEOF
28579 #define wxUSE_ODBC 1
28580 _ACEOF
28581
28582 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
28583
28584 WXODBCFLAG="-D_IODBC_"
28585 fi
28586
28587
28588 if test "$wxUSE_DISPLAY" = "yes"; then
28589 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
28590 echo "$as_me:$LINENO: checking for Xinerama" >&5
28591 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
28592
28593 ac_find_libraries=
28594 for ac_dir in $SEARCH_LIB /usr/lib;
28595 do
28596 for ac_extension in a so sl dylib; do
28597 if test -f "$ac_dir/libXinerama.$ac_extension"; then
28598 ac_find_libraries=$ac_dir
28599 break 2
28600 fi
28601 done
28602 done
28603
28604 if test "$ac_find_libraries" != "" ; then
28605
28606 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28607 result=$?
28608 if test $result = 0; then
28609 ac_path_to_link=""
28610 else
28611 ac_path_to_link=" -L$ac_find_libraries"
28612 fi
28613
28614 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28615 LDFLAGS="$LDFLAGS $ac_path_to_link"
28616 fi
28617 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
28618 echo "$as_me:$LINENO: result: yes" >&5
28619 echo "${ECHO_T}yes" >&6
28620
28621 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
28622 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
28623
28624 ac_find_libraries=
28625 for ac_dir in $SEARCH_LIB /usr/lib;
28626 do
28627 for ac_extension in a so sl dylib; do
28628 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
28629 ac_find_libraries=$ac_dir
28630 break 2
28631 fi
28632 done
28633 done
28634
28635 if test "$ac_find_libraries" != "" ; then
28636 echo "$as_me:$LINENO: result: yes" >&5
28637 echo "${ECHO_T}yes" >&6
28638
28639 for ac_header in X11/extensions/xf86vmode.h
28640 do
28641 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28642 echo "$as_me:$LINENO: checking for $ac_header" >&5
28643 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28644 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28645 echo $ECHO_N "(cached) $ECHO_C" >&6
28646 else
28647 cat >conftest.$ac_ext <<_ACEOF
28648 /* confdefs.h. */
28649 _ACEOF
28650 cat confdefs.h >>conftest.$ac_ext
28651 cat >>conftest.$ac_ext <<_ACEOF
28652 /* end confdefs.h. */
28653
28654 #if HAVE_X11_XLIB_H
28655 #include <X11/Xlib.h>
28656 #endif
28657
28658
28659 #include <$ac_header>
28660 _ACEOF
28661 rm -f conftest.$ac_objext
28662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28663 (eval $ac_compile) 2>conftest.er1
28664 ac_status=$?
28665 grep -v '^ *+' conftest.er1 >conftest.err
28666 rm -f conftest.er1
28667 cat conftest.err >&5
28668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28669 (exit $ac_status); } &&
28670 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28672 (eval $ac_try) 2>&5
28673 ac_status=$?
28674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28675 (exit $ac_status); }; } &&
28676 { ac_try='test -s conftest.$ac_objext'
28677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28678 (eval $ac_try) 2>&5
28679 ac_status=$?
28680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28681 (exit $ac_status); }; }; then
28682 eval "$as_ac_Header=yes"
28683 else
28684 echo "$as_me: failed program was:" >&5
28685 sed 's/^/| /' conftest.$ac_ext >&5
28686
28687 eval "$as_ac_Header=no"
28688 fi
28689 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28690 fi
28691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28692 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28693 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28694 cat >>confdefs.h <<_ACEOF
28695 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28696 _ACEOF
28697
28698 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
28699
28700 fi
28701
28702 done
28703
28704 else
28705 echo "$as_me:$LINENO: result: no" >&5
28706 echo "${ECHO_T}no" >&6
28707 fi
28708
28709 else
28710 echo "$as_me:$LINENO: result: no" >&5
28711 echo "${ECHO_T}no" >&6
28712 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
28713 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
28714 wxUSE_DISPLAY="no"
28715 fi
28716 elif test "$wxUSE_MSW" = 1; then
28717
28718
28719 for ac_header in multimon.h ddraw.h
28720 do
28721 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28722 echo "$as_me:$LINENO: checking for $ac_header" >&5
28723 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28724 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28725 echo $ECHO_N "(cached) $ECHO_C" >&6
28726 else
28727 cat >conftest.$ac_ext <<_ACEOF
28728 /* confdefs.h. */
28729 _ACEOF
28730 cat confdefs.h >>conftest.$ac_ext
28731 cat >>conftest.$ac_ext <<_ACEOF
28732 /* end confdefs.h. */
28733 #include <windows.h>
28734
28735 #include <$ac_header>
28736 _ACEOF
28737 rm -f conftest.$ac_objext
28738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28739 (eval $ac_compile) 2>conftest.er1
28740 ac_status=$?
28741 grep -v '^ *+' conftest.er1 >conftest.err
28742 rm -f conftest.er1
28743 cat conftest.err >&5
28744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28745 (exit $ac_status); } &&
28746 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28748 (eval $ac_try) 2>&5
28749 ac_status=$?
28750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28751 (exit $ac_status); }; } &&
28752 { ac_try='test -s conftest.$ac_objext'
28753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28754 (eval $ac_try) 2>&5
28755 ac_status=$?
28756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28757 (exit $ac_status); }; }; then
28758 eval "$as_ac_Header=yes"
28759 else
28760 echo "$as_me: failed program was:" >&5
28761 sed 's/^/| /' conftest.$ac_ext >&5
28762
28763 eval "$as_ac_Header=no"
28764 fi
28765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28766 fi
28767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28768 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28769 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28770 cat >>confdefs.h <<_ACEOF
28771 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28772 _ACEOF
28773
28774 else
28775
28776 wxUSE_DISPLAY="no"
28777 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
28778 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
28779
28780 fi
28781
28782 done
28783
28784 fi
28785 fi
28786
28787
28788 USE_OPENGL=0
28789 if test "$wxUSE_OPENGL" = "yes"; then
28790 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
28791 OPENGL_LIBS="-framework OpenGL -framework AGL"
28792 elif test "$wxUSE_MSW" = 1; then
28793 OPENGL_LIBS="-lopengl32 -lglu32"
28794 else
28795
28796
28797 ac_find_includes=
28798 for ac_dir in $SEARCH_INCLUDE /usr/include;
28799 do
28800 if test -f "$ac_dir/GL/gl.h"; then
28801 ac_find_includes=$ac_dir
28802 break
28803 fi
28804 done
28805
28806 if test "$ac_find_includes" != "" ; then
28807 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
28808 echo "${ECHO_T}found in $ac_find_includes" >&6
28809
28810 if test "x$ac_find_includes" = "x/usr/include"; then
28811 ac_path_to_include=""
28812 else
28813 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
28814 result=$?
28815 if test $result = 0; then
28816 ac_path_to_include=""
28817 else
28818 ac_path_to_include=" -I$ac_find_includes"
28819 fi
28820 fi
28821
28822 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
28823 fi
28824
28825 if test "${ac_cv_header_GL_gl_h+set}" = set; then
28826 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
28827 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
28828 if test "${ac_cv_header_GL_gl_h+set}" = set; then
28829 echo $ECHO_N "(cached) $ECHO_C" >&6
28830 fi
28831 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
28832 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
28833 else
28834 # Is the header compilable?
28835 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
28836 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
28837 cat >conftest.$ac_ext <<_ACEOF
28838 /* confdefs.h. */
28839 _ACEOF
28840 cat confdefs.h >>conftest.$ac_ext
28841 cat >>conftest.$ac_ext <<_ACEOF
28842 /* end confdefs.h. */
28843 $ac_includes_default
28844 #include <GL/gl.h>
28845 _ACEOF
28846 rm -f conftest.$ac_objext
28847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28848 (eval $ac_compile) 2>conftest.er1
28849 ac_status=$?
28850 grep -v '^ *+' conftest.er1 >conftest.err
28851 rm -f conftest.er1
28852 cat conftest.err >&5
28853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28854 (exit $ac_status); } &&
28855 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28857 (eval $ac_try) 2>&5
28858 ac_status=$?
28859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28860 (exit $ac_status); }; } &&
28861 { ac_try='test -s conftest.$ac_objext'
28862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28863 (eval $ac_try) 2>&5
28864 ac_status=$?
28865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28866 (exit $ac_status); }; }; then
28867 ac_header_compiler=yes
28868 else
28869 echo "$as_me: failed program was:" >&5
28870 sed 's/^/| /' conftest.$ac_ext >&5
28871
28872 ac_header_compiler=no
28873 fi
28874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28875 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28876 echo "${ECHO_T}$ac_header_compiler" >&6
28877
28878 # Is the header present?
28879 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
28880 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
28881 cat >conftest.$ac_ext <<_ACEOF
28882 /* confdefs.h. */
28883 _ACEOF
28884 cat confdefs.h >>conftest.$ac_ext
28885 cat >>conftest.$ac_ext <<_ACEOF
28886 /* end confdefs.h. */
28887 #include <GL/gl.h>
28888 _ACEOF
28889 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28890 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28891 ac_status=$?
28892 grep -v '^ *+' conftest.er1 >conftest.err
28893 rm -f conftest.er1
28894 cat conftest.err >&5
28895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28896 (exit $ac_status); } >/dev/null; then
28897 if test -s conftest.err; then
28898 ac_cpp_err=$ac_c_preproc_warn_flag
28899 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28900 else
28901 ac_cpp_err=
28902 fi
28903 else
28904 ac_cpp_err=yes
28905 fi
28906 if test -z "$ac_cpp_err"; then
28907 ac_header_preproc=yes
28908 else
28909 echo "$as_me: failed program was:" >&5
28910 sed 's/^/| /' conftest.$ac_ext >&5
28911
28912 ac_header_preproc=no
28913 fi
28914 rm -f conftest.err conftest.$ac_ext
28915 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28916 echo "${ECHO_T}$ac_header_preproc" >&6
28917
28918 # So? What about this header?
28919 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28920 yes:no: )
28921 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
28922 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28923 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
28924 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
28925 ac_header_preproc=yes
28926 ;;
28927 no:yes:* )
28928 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
28929 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
28930 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
28931 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
28932 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
28933 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
28934 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
28935 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
28936 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
28937 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
28938 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
28939 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
28940 (
28941 cat <<\_ASBOX
28942 ## ----------------------------------------- ##
28943 ## Report this to wx-dev@lists.wxwidgets.org ##
28944 ## ----------------------------------------- ##
28945 _ASBOX
28946 ) |
28947 sed "s/^/$as_me: WARNING: /" >&2
28948 ;;
28949 esac
28950 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
28951 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
28952 if test "${ac_cv_header_GL_gl_h+set}" = set; then
28953 echo $ECHO_N "(cached) $ECHO_C" >&6
28954 else
28955 ac_cv_header_GL_gl_h=$ac_header_preproc
28956 fi
28957 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
28958 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
28959
28960 fi
28961 if test $ac_cv_header_GL_gl_h = yes; then
28962
28963 found_gl=0
28964
28965 echo "$as_me:$LINENO: checking for -lGL" >&5
28966 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
28967
28968 ac_find_libraries=
28969 for ac_dir in $SEARCH_LIB /usr/lib;
28970 do
28971 for ac_extension in a so sl dylib; do
28972 if test -f "$ac_dir/libGL.$ac_extension"; then
28973 ac_find_libraries=$ac_dir
28974 break 2
28975 fi
28976 done
28977 done
28978
28979 if test "$ac_find_libraries" != "" ; then
28980
28981 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28982 result=$?
28983 if test $result = 0; then
28984 ac_path_to_link=""
28985 else
28986 ac_path_to_link=" -L$ac_find_libraries"
28987 fi
28988
28989 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28990 LDFLAGS_GL="$ac_path_to_link"
28991 fi
28992
28993
28994 ac_find_libraries=
28995 for ac_dir in $SEARCH_LIB /usr/lib;
28996 do
28997 for ac_extension in a so sl dylib; do
28998 if test -f "$ac_dir/libGLU.$ac_extension"; then
28999 ac_find_libraries=$ac_dir
29000 break 2
29001 fi
29002 done
29003 done
29004
29005 if test "$ac_find_libraries" != "" ; then
29006
29007 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
29008 result=$?
29009 if test $result = 0; then
29010 ac_path_to_link=""
29011 else
29012 ac_path_to_link=" -L$ac_find_libraries"
29013 fi
29014
29015 if test "$ac_path_to_link" != " -L/usr/lib" -a \
29016 "$ac_path_to_link" != "$LDFLAGS_GL"; then
29017 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
29018 fi
29019
29020 found_gl=1
29021 OPENGL_LIBS="-lGL -lGLU"
29022 echo "$as_me:$LINENO: result: yes" >&5
29023 echo "${ECHO_T}yes" >&6
29024 fi
29025 fi
29026
29027 if test "$found_gl" != 1; then
29028 echo "$as_me:$LINENO: result: no" >&5
29029 echo "${ECHO_T}no" >&6
29030 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
29031 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
29032
29033 ac_find_libraries=
29034 for ac_dir in $SEARCH_LIB /usr/lib;
29035 do
29036 for ac_extension in a so sl dylib; do
29037 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
29038 ac_find_libraries=$ac_dir
29039 break 2
29040 fi
29041 done
29042 done
29043
29044 if test "$ac_find_libraries" != "" ; then
29045
29046 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
29047 result=$?
29048 if test $result = 0; then
29049 ac_path_to_link=""
29050 else
29051 ac_path_to_link=" -L$ac_find_libraries"
29052 fi
29053
29054 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
29055 OPENGL_LIBS="-lMesaGL -lMesaGLU"
29056 echo "$as_me:$LINENO: result: yes" >&5
29057 echo "${ECHO_T}yes" >&6
29058 else
29059 echo "$as_me:$LINENO: result: no" >&5
29060 echo "${ECHO_T}no" >&6
29061 fi
29062 fi
29063
29064 fi
29065
29066
29067
29068 if test "x$OPENGL_LIBS" = "x"; then
29069 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
29070 echo "$as_me: error: OpenGL libraries not available" >&2;}
29071 { (exit 1); exit 1; }; }
29072 fi
29073 fi
29074
29075 if test "$wxUSE_OPENGL" = "yes"; then
29076 USE_OPENGL=1
29077 cat >>confdefs.h <<\_ACEOF
29078 #define wxUSE_OPENGL 1
29079 _ACEOF
29080
29081 cat >>confdefs.h <<\_ACEOF
29082 #define wxUSE_GLCANVAS 1
29083 _ACEOF
29084
29085 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
29086 fi
29087 fi
29088
29089
29090 if test -n "$TOOLKIT" ; then
29091 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
29092 fi
29093
29094
29095
29096 if test "$wxUSE_SHARED" = "yes"; then
29097 case "${host}" in
29098 *-pc-msdosdjgpp )
29099 wxUSE_SHARED=no
29100 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
29101 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
29102 ;;
29103 esac
29104 fi
29105
29106 if test "$wxUSE_SHARED" = "yes"; then
29107
29108
29109 found_versioning=no
29110
29111
29112 if test $found_versioning = no ; then
29113 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
29114 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
29115 if test "${wx_cv_version_script+set}" = set; then
29116 echo $ECHO_N "(cached) $ECHO_C" >&6
29117 else
29118
29119 echo "VER_1 { *; };" >conftest.sym
29120 echo "int main() { return 0; }" >conftest.cpp
29121
29122 if { ac_try='
29123 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29124 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
29125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29126 (eval $ac_try) 2>&5
29127 ac_status=$?
29128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29129 (exit $ac_status); }; } ; then
29130 if test -s conftest.stderr ; then
29131 wx_cv_version_script=no
29132 else
29133 wx_cv_version_script=yes
29134 fi
29135 else
29136 wx_cv_version_script=no
29137 fi
29138 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
29139
29140 fi
29141 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
29142 echo "${ECHO_T}$wx_cv_version_script" >&6
29143 if test $wx_cv_version_script = yes ; then
29144 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
29145 fi
29146 fi
29147
29148
29149 case "${host}" in
29150 *-*-linux* | *-*-gnu* )
29151 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
29152 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29153 ;;
29154
29155 *-*-solaris2* )
29156 if test "$GCC" = yes ; then
29157 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
29158
29159 saveLdflags="$LDFLAGS"
29160 LDFLAGS="$saveLdflags -Wl,-rpath,/"
29161 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
29162 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
29163 cat >conftest.$ac_ext <<_ACEOF
29164 /* confdefs.h. */
29165 _ACEOF
29166 cat confdefs.h >>conftest.$ac_ext
29167 cat >>conftest.$ac_ext <<_ACEOF
29168 /* end confdefs.h. */
29169
29170 int
29171 main ()
29172 {
29173
29174 ;
29175 return 0;
29176 }
29177 _ACEOF
29178 rm -f conftest.$ac_objext conftest$ac_exeext
29179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29180 (eval $ac_link) 2>conftest.er1
29181 ac_status=$?
29182 grep -v '^ *+' conftest.er1 >conftest.err
29183 rm -f conftest.er1
29184 cat conftest.err >&5
29185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29186 (exit $ac_status); } &&
29187 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29189 (eval $ac_try) 2>&5
29190 ac_status=$?
29191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29192 (exit $ac_status); }; } &&
29193 { ac_try='test -s conftest$ac_exeext'
29194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29195 (eval $ac_try) 2>&5
29196 ac_status=$?
29197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29198 (exit $ac_status); }; }; then
29199
29200 echo "$as_me:$LINENO: result: yes" >&5
29201 echo "${ECHO_T}yes" >&6
29202 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
29203 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29204
29205 else
29206 echo "$as_me: failed program was:" >&5
29207 sed 's/^/| /' conftest.$ac_ext >&5
29208
29209
29210 echo "$as_me:$LINENO: result: no" >&5
29211 echo "${ECHO_T}no" >&6
29212 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
29213 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
29214 LDFLAGS="$saveLdflags -Wl,-R,/"
29215 cat >conftest.$ac_ext <<_ACEOF
29216 /* confdefs.h. */
29217 _ACEOF
29218 cat confdefs.h >>conftest.$ac_ext
29219 cat >>conftest.$ac_ext <<_ACEOF
29220 /* end confdefs.h. */
29221
29222 int
29223 main ()
29224 {
29225
29226 ;
29227 return 0;
29228 }
29229 _ACEOF
29230 rm -f conftest.$ac_objext conftest$ac_exeext
29231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29232 (eval $ac_link) 2>conftest.er1
29233 ac_status=$?
29234 grep -v '^ *+' conftest.er1 >conftest.err
29235 rm -f conftest.er1
29236 cat conftest.err >&5
29237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29238 (exit $ac_status); } &&
29239 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29241 (eval $ac_try) 2>&5
29242 ac_status=$?
29243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29244 (exit $ac_status); }; } &&
29245 { ac_try='test -s conftest$ac_exeext'
29246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29247 (eval $ac_try) 2>&5
29248 ac_status=$?
29249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29250 (exit $ac_status); }; }; then
29251
29252 echo "$as_me:$LINENO: result: yes" >&5
29253 echo "${ECHO_T}yes" >&6
29254 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
29255 WXCONFIG_RPATH="-Wl,-R,\$libdir"
29256
29257 else
29258 echo "$as_me: failed program was:" >&5
29259 sed 's/^/| /' conftest.$ac_ext >&5
29260
29261
29262 echo "$as_me:$LINENO: result: no" >&5
29263 echo "${ECHO_T}no" >&6
29264
29265 fi
29266 rm -f conftest.err conftest.$ac_objext \
29267 conftest$ac_exeext conftest.$ac_ext
29268
29269 fi
29270 rm -f conftest.err conftest.$ac_objext \
29271 conftest$ac_exeext conftest.$ac_ext
29272 LDFLAGS="$saveLdflags"
29273 else
29274 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
29275 WXCONFIG_RPATH="-R\$libdir"
29276 fi
29277 ;;
29278
29279 powerpc-*-darwin* )
29280 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
29281 cat <<EOF >change-install-names
29282 #!/bin/sh
29283 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
29284 inst_cmd="install_name_tool "
29285 for i in \${libnames} ; do
29286 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
29287 done
29288 \${inst_cmd} \${3}
29289 EOF
29290 chmod +x change-install-names
29291 ;;
29292
29293 *-*-cygwin* | *-*-mingw32* )
29294 TOOLCHAIN_DLL_DEFS="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
29295 ;;
29296
29297 *-*-hpux* )
29298 SAMPLES_RPATH_FLAG="-Wl,+b,\$(top_builddir)lib"
29299 WXCONFIG_RPATH="-Wl,+b,\$libdir"
29300 ;;
29301
29302 esac
29303
29304 if test $wxUSE_RPATH = "no"; then
29305 SAMPLES_RPATH_FLAG=''
29306 SAMPLES_RPATH_POSTLINK=''
29307 WXCONFIG_RPATH=''
29308 fi
29309
29310 SHARED=1
29311
29312 else
29313
29314 config_linkage_component="-static"
29315 SHARED=0
29316
29317 fi
29318
29319
29320 UNICODE=0
29321 lib_unicode_suffix=
29322 WX_CHARTYPE="ansi"
29323 if test "$wxUSE_UNICODE" = "yes"; then
29324 lib_unicode_suffix=u
29325 WX_CHARTYPE="unicode"
29326 UNICODE=1
29327 fi
29328
29329 lib_debug_suffix=
29330 WX_DEBUGTYPE="release"
29331 DEBUG_FLAG=0
29332 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
29333 lib_debug_suffix=d
29334 WX_DEBUGTYPE="debug"
29335 DEBUG_FLAG=1
29336 fi
29337
29338 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
29339 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
29340
29341 DEBUG_INFO=0
29342 if test "$wxUSE_DEBUG_INFO" = "yes"; then
29343 DEBUG_INFO=1
29344 fi
29345
29346 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
29347
29348 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
29349
29350 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
29351
29352 if test "$cross_compiling" = "yes"; then
29353 HOST_SUFFIX="-$host_alias"
29354 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
29355 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
29356 fi
29357
29358 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
29359 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
29360
29361
29362
29363 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
29364 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
29365 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
29366
29367 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
29368
29369 # Extract the first word of "Rez", so it can be a program name with args.
29370 set dummy Rez; ac_word=$2
29371 echo "$as_me:$LINENO: checking for $ac_word" >&5
29372 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29373 if test "${ac_cv_prog_RESCOMP+set}" = set; then
29374 echo $ECHO_N "(cached) $ECHO_C" >&6
29375 else
29376 if test -n "$RESCOMP"; then
29377 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
29378 else
29379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29380 for as_dir in $PATH
29381 do
29382 IFS=$as_save_IFS
29383 test -z "$as_dir" && as_dir=.
29384 for ac_exec_ext in '' $ac_executable_extensions; do
29385 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29386 ac_cv_prog_RESCOMP="Rez"
29387 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29388 break 2
29389 fi
29390 done
29391 done
29392
29393 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
29394 fi
29395 fi
29396 RESCOMP=$ac_cv_prog_RESCOMP
29397 if test -n "$RESCOMP"; then
29398 echo "$as_me:$LINENO: result: $RESCOMP" >&5
29399 echo "${ECHO_T}$RESCOMP" >&6
29400 else
29401 echo "$as_me:$LINENO: result: no" >&5
29402 echo "${ECHO_T}no" >&6
29403 fi
29404
29405 # Extract the first word of "DeRez", so it can be a program name with args.
29406 set dummy DeRez; ac_word=$2
29407 echo "$as_me:$LINENO: checking for $ac_word" >&5
29408 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29409 if test "${ac_cv_prog_DEREZ+set}" = set; then
29410 echo $ECHO_N "(cached) $ECHO_C" >&6
29411 else
29412 if test -n "$DEREZ"; then
29413 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
29414 else
29415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29416 for as_dir in $PATH
29417 do
29418 IFS=$as_save_IFS
29419 test -z "$as_dir" && as_dir=.
29420 for ac_exec_ext in '' $ac_executable_extensions; do
29421 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29422 ac_cv_prog_DEREZ="DeRez"
29423 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29424 break 2
29425 fi
29426 done
29427 done
29428
29429 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
29430 fi
29431 fi
29432 DEREZ=$ac_cv_prog_DEREZ
29433 if test -n "$DEREZ"; then
29434 echo "$as_me:$LINENO: result: $DEREZ" >&5
29435 echo "${ECHO_T}$DEREZ" >&6
29436 else
29437 echo "$as_me:$LINENO: result: no" >&5
29438 echo "${ECHO_T}no" >&6
29439 fi
29440
29441 # Extract the first word of "SetFile", so it can be a program name with args.
29442 set dummy SetFile; ac_word=$2
29443 echo "$as_me:$LINENO: checking for $ac_word" >&5
29444 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29445 if test "${ac_cv_prog_SETFILE+set}" = set; then
29446 echo $ECHO_N "(cached) $ECHO_C" >&6
29447 else
29448 if test -n "$SETFILE"; then
29449 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
29450 else
29451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29452 for as_dir in $PATH
29453 do
29454 IFS=$as_save_IFS
29455 test -z "$as_dir" && as_dir=.
29456 for ac_exec_ext in '' $ac_executable_extensions; do
29457 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29458 ac_cv_prog_SETFILE="SetFile"
29459 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29460 break 2
29461 fi
29462 done
29463 done
29464
29465 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
29466 fi
29467 fi
29468 SETFILE=$ac_cv_prog_SETFILE
29469 if test -n "$SETFILE"; then
29470 echo "$as_me:$LINENO: result: $SETFILE" >&5
29471 echo "${ECHO_T}$SETFILE" >&6
29472 else
29473 echo "$as_me:$LINENO: result: no" >&5
29474 echo "${ECHO_T}no" >&6
29475 fi
29476
29477
29478 MACSETFILE="\$(SETFILE)"
29479
29480 if test "$wxUSE_MAC" = 1; then
29481 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
29482
29483 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
29484 else
29485 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
29486 MACRESWXCONFIG="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
29487 fi
29488 else
29489 MACSETFILE="@true"
29490 MACRESWXCONFIG="@true"
29491
29492 if test "$wxUSE_PM" = 1; then
29493 MACRESCOMP="emxbind -ep"
29494 else
29495 MACRESCOMP="@true"
29496 fi
29497 fi
29498
29499
29500
29501 echo "$as_me:$LINENO: checking for mode_t" >&5
29502 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
29503 if test "${ac_cv_type_mode_t+set}" = set; then
29504 echo $ECHO_N "(cached) $ECHO_C" >&6
29505 else
29506 cat >conftest.$ac_ext <<_ACEOF
29507 /* confdefs.h. */
29508 _ACEOF
29509 cat confdefs.h >>conftest.$ac_ext
29510 cat >>conftest.$ac_ext <<_ACEOF
29511 /* end confdefs.h. */
29512 $ac_includes_default
29513 int
29514 main ()
29515 {
29516 if ((mode_t *) 0)
29517 return 0;
29518 if (sizeof (mode_t))
29519 return 0;
29520 ;
29521 return 0;
29522 }
29523 _ACEOF
29524 rm -f conftest.$ac_objext
29525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29526 (eval $ac_compile) 2>conftest.er1
29527 ac_status=$?
29528 grep -v '^ *+' conftest.er1 >conftest.err
29529 rm -f conftest.er1
29530 cat conftest.err >&5
29531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29532 (exit $ac_status); } &&
29533 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29535 (eval $ac_try) 2>&5
29536 ac_status=$?
29537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29538 (exit $ac_status); }; } &&
29539 { ac_try='test -s conftest.$ac_objext'
29540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29541 (eval $ac_try) 2>&5
29542 ac_status=$?
29543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29544 (exit $ac_status); }; }; then
29545 ac_cv_type_mode_t=yes
29546 else
29547 echo "$as_me: failed program was:" >&5
29548 sed 's/^/| /' conftest.$ac_ext >&5
29549
29550 ac_cv_type_mode_t=no
29551 fi
29552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29553 fi
29554 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
29555 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
29556 if test $ac_cv_type_mode_t = yes; then
29557 :
29558 else
29559
29560 cat >>confdefs.h <<_ACEOF
29561 #define mode_t int
29562 _ACEOF
29563
29564 fi
29565
29566 echo "$as_me:$LINENO: checking for off_t" >&5
29567 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
29568 if test "${ac_cv_type_off_t+set}" = set; then
29569 echo $ECHO_N "(cached) $ECHO_C" >&6
29570 else
29571 cat >conftest.$ac_ext <<_ACEOF
29572 /* confdefs.h. */
29573 _ACEOF
29574 cat confdefs.h >>conftest.$ac_ext
29575 cat >>conftest.$ac_ext <<_ACEOF
29576 /* end confdefs.h. */
29577 $ac_includes_default
29578 int
29579 main ()
29580 {
29581 if ((off_t *) 0)
29582 return 0;
29583 if (sizeof (off_t))
29584 return 0;
29585 ;
29586 return 0;
29587 }
29588 _ACEOF
29589 rm -f conftest.$ac_objext
29590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29591 (eval $ac_compile) 2>conftest.er1
29592 ac_status=$?
29593 grep -v '^ *+' conftest.er1 >conftest.err
29594 rm -f conftest.er1
29595 cat conftest.err >&5
29596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29597 (exit $ac_status); } &&
29598 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29600 (eval $ac_try) 2>&5
29601 ac_status=$?
29602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29603 (exit $ac_status); }; } &&
29604 { ac_try='test -s conftest.$ac_objext'
29605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29606 (eval $ac_try) 2>&5
29607 ac_status=$?
29608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29609 (exit $ac_status); }; }; then
29610 ac_cv_type_off_t=yes
29611 else
29612 echo "$as_me: failed program was:" >&5
29613 sed 's/^/| /' conftest.$ac_ext >&5
29614
29615 ac_cv_type_off_t=no
29616 fi
29617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29618 fi
29619 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
29620 echo "${ECHO_T}$ac_cv_type_off_t" >&6
29621 if test $ac_cv_type_off_t = yes; then
29622 :
29623 else
29624
29625 cat >>confdefs.h <<_ACEOF
29626 #define off_t long
29627 _ACEOF
29628
29629 fi
29630
29631 echo "$as_me:$LINENO: checking for pid_t" >&5
29632 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
29633 if test "${ac_cv_type_pid_t+set}" = set; then
29634 echo $ECHO_N "(cached) $ECHO_C" >&6
29635 else
29636 cat >conftest.$ac_ext <<_ACEOF
29637 /* confdefs.h. */
29638 _ACEOF
29639 cat confdefs.h >>conftest.$ac_ext
29640 cat >>conftest.$ac_ext <<_ACEOF
29641 /* end confdefs.h. */
29642 $ac_includes_default
29643 int
29644 main ()
29645 {
29646 if ((pid_t *) 0)
29647 return 0;
29648 if (sizeof (pid_t))
29649 return 0;
29650 ;
29651 return 0;
29652 }
29653 _ACEOF
29654 rm -f conftest.$ac_objext
29655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29656 (eval $ac_compile) 2>conftest.er1
29657 ac_status=$?
29658 grep -v '^ *+' conftest.er1 >conftest.err
29659 rm -f conftest.er1
29660 cat conftest.err >&5
29661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29662 (exit $ac_status); } &&
29663 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29665 (eval $ac_try) 2>&5
29666 ac_status=$?
29667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29668 (exit $ac_status); }; } &&
29669 { ac_try='test -s conftest.$ac_objext'
29670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29671 (eval $ac_try) 2>&5
29672 ac_status=$?
29673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29674 (exit $ac_status); }; }; then
29675 ac_cv_type_pid_t=yes
29676 else
29677 echo "$as_me: failed program was:" >&5
29678 sed 's/^/| /' conftest.$ac_ext >&5
29679
29680 ac_cv_type_pid_t=no
29681 fi
29682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29683 fi
29684 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
29685 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
29686 if test $ac_cv_type_pid_t = yes; then
29687 :
29688 else
29689
29690 cat >>confdefs.h <<_ACEOF
29691 #define pid_t int
29692 _ACEOF
29693
29694 fi
29695
29696 echo "$as_me:$LINENO: checking for size_t" >&5
29697 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
29698 if test "${ac_cv_type_size_t+set}" = set; then
29699 echo $ECHO_N "(cached) $ECHO_C" >&6
29700 else
29701 cat >conftest.$ac_ext <<_ACEOF
29702 /* confdefs.h. */
29703 _ACEOF
29704 cat confdefs.h >>conftest.$ac_ext
29705 cat >>conftest.$ac_ext <<_ACEOF
29706 /* end confdefs.h. */
29707 $ac_includes_default
29708 int
29709 main ()
29710 {
29711 if ((size_t *) 0)
29712 return 0;
29713 if (sizeof (size_t))
29714 return 0;
29715 ;
29716 return 0;
29717 }
29718 _ACEOF
29719 rm -f conftest.$ac_objext
29720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29721 (eval $ac_compile) 2>conftest.er1
29722 ac_status=$?
29723 grep -v '^ *+' conftest.er1 >conftest.err
29724 rm -f conftest.er1
29725 cat conftest.err >&5
29726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29727 (exit $ac_status); } &&
29728 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29730 (eval $ac_try) 2>&5
29731 ac_status=$?
29732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29733 (exit $ac_status); }; } &&
29734 { ac_try='test -s conftest.$ac_objext'
29735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29736 (eval $ac_try) 2>&5
29737 ac_status=$?
29738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29739 (exit $ac_status); }; }; then
29740 ac_cv_type_size_t=yes
29741 else
29742 echo "$as_me: failed program was:" >&5
29743 sed 's/^/| /' conftest.$ac_ext >&5
29744
29745 ac_cv_type_size_t=no
29746 fi
29747 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29748 fi
29749 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
29750 echo "${ECHO_T}$ac_cv_type_size_t" >&6
29751 if test $ac_cv_type_size_t = yes; then
29752 :
29753 else
29754
29755 cat >>confdefs.h <<_ACEOF
29756 #define size_t unsigned
29757 _ACEOF
29758
29759 fi
29760
29761 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
29762 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
29763 if test "${ac_cv_type_uid_t+set}" = set; then
29764 echo $ECHO_N "(cached) $ECHO_C" >&6
29765 else
29766 cat >conftest.$ac_ext <<_ACEOF
29767 /* confdefs.h. */
29768 _ACEOF
29769 cat confdefs.h >>conftest.$ac_ext
29770 cat >>conftest.$ac_ext <<_ACEOF
29771 /* end confdefs.h. */
29772 #include <sys/types.h>
29773
29774 _ACEOF
29775 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
29776 $EGREP "uid_t" >/dev/null 2>&1; then
29777 ac_cv_type_uid_t=yes
29778 else
29779 ac_cv_type_uid_t=no
29780 fi
29781 rm -f conftest*
29782
29783 fi
29784 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
29785 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
29786 if test $ac_cv_type_uid_t = no; then
29787
29788 cat >>confdefs.h <<\_ACEOF
29789 #define uid_t int
29790 _ACEOF
29791
29792
29793 cat >>confdefs.h <<\_ACEOF
29794 #define gid_t int
29795 _ACEOF
29796
29797 fi
29798
29799
29800 echo "$as_me:$LINENO: checking for ssize_t" >&5
29801 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
29802 if test "${ac_cv_type_ssize_t+set}" = set; then
29803 echo $ECHO_N "(cached) $ECHO_C" >&6
29804 else
29805 cat >conftest.$ac_ext <<_ACEOF
29806 /* confdefs.h. */
29807 _ACEOF
29808 cat confdefs.h >>conftest.$ac_ext
29809 cat >>conftest.$ac_ext <<_ACEOF
29810 /* end confdefs.h. */
29811 $ac_includes_default
29812 int
29813 main ()
29814 {
29815 if ((ssize_t *) 0)
29816 return 0;
29817 if (sizeof (ssize_t))
29818 return 0;
29819 ;
29820 return 0;
29821 }
29822 _ACEOF
29823 rm -f conftest.$ac_objext
29824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29825 (eval $ac_compile) 2>conftest.er1
29826 ac_status=$?
29827 grep -v '^ *+' conftest.er1 >conftest.err
29828 rm -f conftest.er1
29829 cat conftest.err >&5
29830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29831 (exit $ac_status); } &&
29832 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29834 (eval $ac_try) 2>&5
29835 ac_status=$?
29836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29837 (exit $ac_status); }; } &&
29838 { ac_try='test -s conftest.$ac_objext'
29839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29840 (eval $ac_try) 2>&5
29841 ac_status=$?
29842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29843 (exit $ac_status); }; }; then
29844 ac_cv_type_ssize_t=yes
29845 else
29846 echo "$as_me: failed program was:" >&5
29847 sed 's/^/| /' conftest.$ac_ext >&5
29848
29849 ac_cv_type_ssize_t=no
29850 fi
29851 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29852 fi
29853 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
29854 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
29855 if test $ac_cv_type_ssize_t = yes; then
29856
29857 cat >>confdefs.h <<_ACEOF
29858 #define HAVE_SSIZE_T 1
29859 _ACEOF
29860
29861
29862 fi
29863
29864
29865
29866
29867 ac_ext=cc
29868 ac_cpp='$CXXCPP $CPPFLAGS'
29869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29872
29873 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
29874 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
29875 if test "${wx_cv_size_t_is_uint+set}" = set; then
29876 echo $ECHO_N "(cached) $ECHO_C" >&6
29877 else
29878
29879 cat >conftest.$ac_ext <<_ACEOF
29880 /* confdefs.h. */
29881 _ACEOF
29882 cat confdefs.h >>conftest.$ac_ext
29883 cat >>conftest.$ac_ext <<_ACEOF
29884 /* end confdefs.h. */
29885 #include <stddef.h>
29886 int
29887 main ()
29888 {
29889
29890 return 0; }
29891
29892 struct Foo { void foo(size_t); void foo(unsigned int); };
29893
29894 int bar() {
29895
29896 ;
29897 return 0;
29898 }
29899 _ACEOF
29900 rm -f conftest.$ac_objext
29901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29902 (eval $ac_compile) 2>conftest.er1
29903 ac_status=$?
29904 grep -v '^ *+' conftest.er1 >conftest.err
29905 rm -f conftest.er1
29906 cat conftest.err >&5
29907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29908 (exit $ac_status); } &&
29909 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29911 (eval $ac_try) 2>&5
29912 ac_status=$?
29913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29914 (exit $ac_status); }; } &&
29915 { ac_try='test -s conftest.$ac_objext'
29916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29917 (eval $ac_try) 2>&5
29918 ac_status=$?
29919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29920 (exit $ac_status); }; }; then
29921 wx_cv_size_t_is_uint=no
29922 else
29923 echo "$as_me: failed program was:" >&5
29924 sed 's/^/| /' conftest.$ac_ext >&5
29925
29926 wx_cv_size_t_is_uint=yes
29927
29928 fi
29929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29930
29931
29932 fi
29933 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
29934 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
29935
29936 if test "$wx_cv_size_t_is_uint" = "yes"; then
29937 cat >>confdefs.h <<\_ACEOF
29938 #define wxSIZE_T_IS_UINT 1
29939 _ACEOF
29940
29941 else
29942 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
29943 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
29944 if test "${wx_cv_size_t_is_ulong+set}" = set; then
29945 echo $ECHO_N "(cached) $ECHO_C" >&6
29946 else
29947 cat >conftest.$ac_ext <<_ACEOF
29948 /* confdefs.h. */
29949 _ACEOF
29950 cat confdefs.h >>conftest.$ac_ext
29951 cat >>conftest.$ac_ext <<_ACEOF
29952 /* end confdefs.h. */
29953 #include <stddef.h>
29954 int
29955 main ()
29956 {
29957
29958 return 0; }
29959
29960 struct Foo { void foo(size_t); void foo(unsigned long); };
29961
29962 int bar() {
29963
29964 ;
29965 return 0;
29966 }
29967 _ACEOF
29968 rm -f conftest.$ac_objext
29969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29970 (eval $ac_compile) 2>conftest.er1
29971 ac_status=$?
29972 grep -v '^ *+' conftest.er1 >conftest.err
29973 rm -f conftest.er1
29974 cat conftest.err >&5
29975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29976 (exit $ac_status); } &&
29977 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29979 (eval $ac_try) 2>&5
29980 ac_status=$?
29981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29982 (exit $ac_status); }; } &&
29983 { ac_try='test -s conftest.$ac_objext'
29984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29985 (eval $ac_try) 2>&5
29986 ac_status=$?
29987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29988 (exit $ac_status); }; }; then
29989 wx_cv_size_t_is_ulong=no
29990 else
29991 echo "$as_me: failed program was:" >&5
29992 sed 's/^/| /' conftest.$ac_ext >&5
29993
29994 wx_cv_size_t_is_ulong=yes
29995
29996 fi
29997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29998
29999 fi
30000 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
30001 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
30002
30003 if test "$wx_cv_size_t_is_ulong" = "yes"; then
30004 cat >>confdefs.h <<\_ACEOF
30005 #define wxSIZE_T_IS_ULONG 1
30006 _ACEOF
30007
30008 fi
30009 fi
30010
30011 ac_ext=c
30012 ac_cpp='$CPP $CPPFLAGS'
30013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30016
30017
30018
30019 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
30020 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
30021 if test "${wx_cv_struct_pw_gecos+set}" = set; then
30022 echo $ECHO_N "(cached) $ECHO_C" >&6
30023 else
30024
30025 cat >conftest.$ac_ext <<_ACEOF
30026 /* confdefs.h. */
30027 _ACEOF
30028 cat confdefs.h >>conftest.$ac_ext
30029 cat >>conftest.$ac_ext <<_ACEOF
30030 /* end confdefs.h. */
30031 #include <pwd.h>
30032 int
30033 main ()
30034 {
30035
30036 char *p;
30037 struct passwd *pw;
30038 p = pw->pw_gecos;
30039
30040 ;
30041 return 0;
30042 }
30043 _ACEOF
30044 rm -f conftest.$ac_objext
30045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30046 (eval $ac_compile) 2>conftest.er1
30047 ac_status=$?
30048 grep -v '^ *+' conftest.er1 >conftest.err
30049 rm -f conftest.er1
30050 cat conftest.err >&5
30051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30052 (exit $ac_status); } &&
30053 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30055 (eval $ac_try) 2>&5
30056 ac_status=$?
30057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30058 (exit $ac_status); }; } &&
30059 { ac_try='test -s conftest.$ac_objext'
30060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30061 (eval $ac_try) 2>&5
30062 ac_status=$?
30063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30064 (exit $ac_status); }; }; then
30065
30066 wx_cv_struct_pw_gecos=yes
30067
30068 else
30069 echo "$as_me: failed program was:" >&5
30070 sed 's/^/| /' conftest.$ac_ext >&5
30071
30072
30073 wx_cv_struct_pw_gecos=no
30074
30075
30076 fi
30077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30078
30079
30080 fi
30081 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
30082 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
30083
30084 if test "$wx_cv_struct_pw_gecos" = "yes"; then
30085 cat >>confdefs.h <<\_ACEOF
30086 #define HAVE_PW_GECOS 1
30087 _ACEOF
30088
30089 fi
30090
30091
30092 if test "$ac_cv_sizeof_wchar_t" != "0"; then
30093 cat >>confdefs.h <<\_ACEOF
30094 #define wxUSE_WCHAR_T 1
30095 _ACEOF
30096
30097
30098 WCSLEN_FOUND=0
30099 WCHAR_LINK=
30100
30101 for ac_func in wcslen
30102 do
30103 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30104 echo "$as_me:$LINENO: checking for $ac_func" >&5
30105 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30106 if eval "test \"\${$as_ac_var+set}\" = set"; then
30107 echo $ECHO_N "(cached) $ECHO_C" >&6
30108 else
30109 cat >conftest.$ac_ext <<_ACEOF
30110 /* confdefs.h. */
30111 _ACEOF
30112 cat confdefs.h >>conftest.$ac_ext
30113 cat >>conftest.$ac_ext <<_ACEOF
30114 /* end confdefs.h. */
30115 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30116 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30117 #define $ac_func innocuous_$ac_func
30118
30119 /* System header to define __stub macros and hopefully few prototypes,
30120 which can conflict with char $ac_func (); below.
30121 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30122 <limits.h> exists even on freestanding compilers. */
30123
30124 #ifdef __STDC__
30125 # include <limits.h>
30126 #else
30127 # include <assert.h>
30128 #endif
30129
30130 #undef $ac_func
30131
30132 /* Override any gcc2 internal prototype to avoid an error. */
30133 #ifdef __cplusplus
30134 extern "C"
30135 {
30136 #endif
30137 /* We use char because int might match the return type of a gcc2
30138 builtin and then its argument prototype would still apply. */
30139 char $ac_func ();
30140 /* The GNU C library defines this for functions which it implements
30141 to always fail with ENOSYS. Some functions are actually named
30142 something starting with __ and the normal name is an alias. */
30143 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30144 choke me
30145 #else
30146 char (*f) () = $ac_func;
30147 #endif
30148 #ifdef __cplusplus
30149 }
30150 #endif
30151
30152 int
30153 main ()
30154 {
30155 return f != $ac_func;
30156 ;
30157 return 0;
30158 }
30159 _ACEOF
30160 rm -f conftest.$ac_objext conftest$ac_exeext
30161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30162 (eval $ac_link) 2>conftest.er1
30163 ac_status=$?
30164 grep -v '^ *+' conftest.er1 >conftest.err
30165 rm -f conftest.er1
30166 cat conftest.err >&5
30167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30168 (exit $ac_status); } &&
30169 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30171 (eval $ac_try) 2>&5
30172 ac_status=$?
30173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30174 (exit $ac_status); }; } &&
30175 { ac_try='test -s conftest$ac_exeext'
30176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30177 (eval $ac_try) 2>&5
30178 ac_status=$?
30179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30180 (exit $ac_status); }; }; then
30181 eval "$as_ac_var=yes"
30182 else
30183 echo "$as_me: failed program was:" >&5
30184 sed 's/^/| /' conftest.$ac_ext >&5
30185
30186 eval "$as_ac_var=no"
30187 fi
30188 rm -f conftest.err conftest.$ac_objext \
30189 conftest$ac_exeext conftest.$ac_ext
30190 fi
30191 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30192 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30193 if test `eval echo '${'$as_ac_var'}'` = yes; then
30194 cat >>confdefs.h <<_ACEOF
30195 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30196 _ACEOF
30197 WCSLEN_FOUND=1
30198 fi
30199 done
30200
30201
30202 if test "$WCSLEN_FOUND" = 0; then
30203 if test "$TOOLKIT" = "MSW"; then
30204 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
30205 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
30206 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
30207 echo $ECHO_N "(cached) $ECHO_C" >&6
30208 else
30209 ac_check_lib_save_LIBS=$LIBS
30210 LIBS="-lmsvcrt $LIBS"
30211 cat >conftest.$ac_ext <<_ACEOF
30212 /* confdefs.h. */
30213 _ACEOF
30214 cat confdefs.h >>conftest.$ac_ext
30215 cat >>conftest.$ac_ext <<_ACEOF
30216 /* end confdefs.h. */
30217
30218 /* Override any gcc2 internal prototype to avoid an error. */
30219 #ifdef __cplusplus
30220 extern "C"
30221 #endif
30222 /* We use char because int might match the return type of a gcc2
30223 builtin and then its argument prototype would still apply. */
30224 char wcslen ();
30225 int
30226 main ()
30227 {
30228 wcslen ();
30229 ;
30230 return 0;
30231 }
30232 _ACEOF
30233 rm -f conftest.$ac_objext conftest$ac_exeext
30234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30235 (eval $ac_link) 2>conftest.er1
30236 ac_status=$?
30237 grep -v '^ *+' conftest.er1 >conftest.err
30238 rm -f conftest.er1
30239 cat conftest.err >&5
30240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30241 (exit $ac_status); } &&
30242 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30244 (eval $ac_try) 2>&5
30245 ac_status=$?
30246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30247 (exit $ac_status); }; } &&
30248 { ac_try='test -s conftest$ac_exeext'
30249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30250 (eval $ac_try) 2>&5
30251 ac_status=$?
30252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30253 (exit $ac_status); }; }; then
30254 ac_cv_lib_msvcrt_wcslen=yes
30255 else
30256 echo "$as_me: failed program was:" >&5
30257 sed 's/^/| /' conftest.$ac_ext >&5
30258
30259 ac_cv_lib_msvcrt_wcslen=no
30260 fi
30261 rm -f conftest.err conftest.$ac_objext \
30262 conftest$ac_exeext conftest.$ac_ext
30263 LIBS=$ac_check_lib_save_LIBS
30264 fi
30265 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
30266 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
30267 if test $ac_cv_lib_msvcrt_wcslen = yes; then
30268 WCHAR_OK=1
30269 fi
30270
30271 else
30272 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
30273 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
30274 if test "${ac_cv_lib_w_wcslen+set}" = set; then
30275 echo $ECHO_N "(cached) $ECHO_C" >&6
30276 else
30277 ac_check_lib_save_LIBS=$LIBS
30278 LIBS="-lw $LIBS"
30279 cat >conftest.$ac_ext <<_ACEOF
30280 /* confdefs.h. */
30281 _ACEOF
30282 cat confdefs.h >>conftest.$ac_ext
30283 cat >>conftest.$ac_ext <<_ACEOF
30284 /* end confdefs.h. */
30285
30286 /* Override any gcc2 internal prototype to avoid an error. */
30287 #ifdef __cplusplus
30288 extern "C"
30289 #endif
30290 /* We use char because int might match the return type of a gcc2
30291 builtin and then its argument prototype would still apply. */
30292 char wcslen ();
30293 int
30294 main ()
30295 {
30296 wcslen ();
30297 ;
30298 return 0;
30299 }
30300 _ACEOF
30301 rm -f conftest.$ac_objext conftest$ac_exeext
30302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30303 (eval $ac_link) 2>conftest.er1
30304 ac_status=$?
30305 grep -v '^ *+' conftest.er1 >conftest.err
30306 rm -f conftest.er1
30307 cat conftest.err >&5
30308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30309 (exit $ac_status); } &&
30310 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30312 (eval $ac_try) 2>&5
30313 ac_status=$?
30314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30315 (exit $ac_status); }; } &&
30316 { ac_try='test -s conftest$ac_exeext'
30317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30318 (eval $ac_try) 2>&5
30319 ac_status=$?
30320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30321 (exit $ac_status); }; }; then
30322 ac_cv_lib_w_wcslen=yes
30323 else
30324 echo "$as_me: failed program was:" >&5
30325 sed 's/^/| /' conftest.$ac_ext >&5
30326
30327 ac_cv_lib_w_wcslen=no
30328 fi
30329 rm -f conftest.err conftest.$ac_objext \
30330 conftest$ac_exeext conftest.$ac_ext
30331 LIBS=$ac_check_lib_save_LIBS
30332 fi
30333 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
30334 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
30335 if test $ac_cv_lib_w_wcslen = yes; then
30336
30337 WCHAR_LINK=" -lw"
30338 WCSLEN_FOUND=1
30339
30340 fi
30341
30342 fi
30343 fi
30344
30345 if test "$WCSLEN_FOUND" = 1; then
30346 cat >>confdefs.h <<\_ACEOF
30347 #define HAVE_WCSLEN 1
30348 _ACEOF
30349
30350 fi
30351
30352 if test "$USE_HPUX" = 1; then
30353 CPPFLAGS="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
30354 fi
30355
30356
30357 for ac_func in wcsrtombs
30358 do
30359 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30360 echo "$as_me:$LINENO: checking for $ac_func" >&5
30361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30362 if eval "test \"\${$as_ac_var+set}\" = set"; then
30363 echo $ECHO_N "(cached) $ECHO_C" >&6
30364 else
30365 cat >conftest.$ac_ext <<_ACEOF
30366 /* confdefs.h. */
30367 _ACEOF
30368 cat confdefs.h >>conftest.$ac_ext
30369 cat >>conftest.$ac_ext <<_ACEOF
30370 /* end confdefs.h. */
30371 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30372 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30373 #define $ac_func innocuous_$ac_func
30374
30375 /* System header to define __stub macros and hopefully few prototypes,
30376 which can conflict with char $ac_func (); below.
30377 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30378 <limits.h> exists even on freestanding compilers. */
30379
30380 #ifdef __STDC__
30381 # include <limits.h>
30382 #else
30383 # include <assert.h>
30384 #endif
30385
30386 #undef $ac_func
30387
30388 /* Override any gcc2 internal prototype to avoid an error. */
30389 #ifdef __cplusplus
30390 extern "C"
30391 {
30392 #endif
30393 /* We use char because int might match the return type of a gcc2
30394 builtin and then its argument prototype would still apply. */
30395 char $ac_func ();
30396 /* The GNU C library defines this for functions which it implements
30397 to always fail with ENOSYS. Some functions are actually named
30398 something starting with __ and the normal name is an alias. */
30399 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30400 choke me
30401 #else
30402 char (*f) () = $ac_func;
30403 #endif
30404 #ifdef __cplusplus
30405 }
30406 #endif
30407
30408 int
30409 main ()
30410 {
30411 return f != $ac_func;
30412 ;
30413 return 0;
30414 }
30415 _ACEOF
30416 rm -f conftest.$ac_objext conftest$ac_exeext
30417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30418 (eval $ac_link) 2>conftest.er1
30419 ac_status=$?
30420 grep -v '^ *+' conftest.er1 >conftest.err
30421 rm -f conftest.er1
30422 cat conftest.err >&5
30423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30424 (exit $ac_status); } &&
30425 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30427 (eval $ac_try) 2>&5
30428 ac_status=$?
30429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30430 (exit $ac_status); }; } &&
30431 { ac_try='test -s conftest$ac_exeext'
30432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30433 (eval $ac_try) 2>&5
30434 ac_status=$?
30435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30436 (exit $ac_status); }; }; then
30437 eval "$as_ac_var=yes"
30438 else
30439 echo "$as_me: failed program was:" >&5
30440 sed 's/^/| /' conftest.$ac_ext >&5
30441
30442 eval "$as_ac_var=no"
30443 fi
30444 rm -f conftest.err conftest.$ac_objext \
30445 conftest$ac_exeext conftest.$ac_ext
30446 fi
30447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30448 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30449 if test `eval echo '${'$as_ac_var'}'` = yes; then
30450 cat >>confdefs.h <<_ACEOF
30451 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30452 _ACEOF
30453
30454 fi
30455 done
30456
30457 else
30458 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
30459 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
30460 fi
30461
30462
30463
30464 ac_ext=cc
30465 ac_cpp='$CXXCPP $CPPFLAGS'
30466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30469
30470
30471
30472 for ac_func in vsnprintf
30473 do
30474 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30475 echo "$as_me:$LINENO: checking for $ac_func" >&5
30476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30477 if eval "test \"\${$as_ac_var+set}\" = set"; then
30478 echo $ECHO_N "(cached) $ECHO_C" >&6
30479 else
30480 cat >conftest.$ac_ext <<_ACEOF
30481 /* confdefs.h. */
30482 _ACEOF
30483 cat confdefs.h >>conftest.$ac_ext
30484 cat >>conftest.$ac_ext <<_ACEOF
30485 /* end confdefs.h. */
30486 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30487 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30488 #define $ac_func innocuous_$ac_func
30489
30490 /* System header to define __stub macros and hopefully few prototypes,
30491 which can conflict with char $ac_func (); below.
30492 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30493 <limits.h> exists even on freestanding compilers. */
30494
30495 #ifdef __STDC__
30496 # include <limits.h>
30497 #else
30498 # include <assert.h>
30499 #endif
30500
30501 #undef $ac_func
30502
30503 /* Override any gcc2 internal prototype to avoid an error. */
30504 #ifdef __cplusplus
30505 extern "C"
30506 {
30507 #endif
30508 /* We use char because int might match the return type of a gcc2
30509 builtin and then its argument prototype would still apply. */
30510 char $ac_func ();
30511 /* The GNU C library defines this for functions which it implements
30512 to always fail with ENOSYS. Some functions are actually named
30513 something starting with __ and the normal name is an alias. */
30514 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30515 choke me
30516 #else
30517 char (*f) () = $ac_func;
30518 #endif
30519 #ifdef __cplusplus
30520 }
30521 #endif
30522
30523 int
30524 main ()
30525 {
30526 return f != $ac_func;
30527 ;
30528 return 0;
30529 }
30530 _ACEOF
30531 rm -f conftest.$ac_objext conftest$ac_exeext
30532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30533 (eval $ac_link) 2>conftest.er1
30534 ac_status=$?
30535 grep -v '^ *+' conftest.er1 >conftest.err
30536 rm -f conftest.er1
30537 cat conftest.err >&5
30538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30539 (exit $ac_status); } &&
30540 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30542 (eval $ac_try) 2>&5
30543 ac_status=$?
30544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30545 (exit $ac_status); }; } &&
30546 { ac_try='test -s conftest$ac_exeext'
30547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30548 (eval $ac_try) 2>&5
30549 ac_status=$?
30550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30551 (exit $ac_status); }; }; then
30552 eval "$as_ac_var=yes"
30553 else
30554 echo "$as_me: failed program was:" >&5
30555 sed 's/^/| /' conftest.$ac_ext >&5
30556
30557 eval "$as_ac_var=no"
30558 fi
30559 rm -f conftest.err conftest.$ac_objext \
30560 conftest$ac_exeext conftest.$ac_ext
30561 fi
30562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30563 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30564 if test `eval echo '${'$as_ac_var'}'` = yes; then
30565 cat >>confdefs.h <<_ACEOF
30566 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30567 _ACEOF
30568
30569 fi
30570 done
30571
30572
30573 if test "$ac_cv_func_vsnprintf" = "yes"; then
30574 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
30575 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
30576 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
30577 echo $ECHO_N "(cached) $ECHO_C" >&6
30578 else
30579
30580 cat >conftest.$ac_ext <<_ACEOF
30581 /* confdefs.h. */
30582 _ACEOF
30583 cat confdefs.h >>conftest.$ac_ext
30584 cat >>conftest.$ac_ext <<_ACEOF
30585 /* end confdefs.h. */
30586
30587 #include <stdio.h>
30588 #include <stdarg.h>
30589
30590 int
30591 main ()
30592 {
30593
30594 char *buf;
30595 va_list ap;
30596 vsnprintf(buf, 10u, "%s", ap);
30597
30598 ;
30599 return 0;
30600 }
30601 _ACEOF
30602 rm -f conftest.$ac_objext
30603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30604 (eval $ac_compile) 2>conftest.er1
30605 ac_status=$?
30606 grep -v '^ *+' conftest.er1 >conftest.err
30607 rm -f conftest.er1
30608 cat conftest.err >&5
30609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30610 (exit $ac_status); } &&
30611 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30613 (eval $ac_try) 2>&5
30614 ac_status=$?
30615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30616 (exit $ac_status); }; } &&
30617 { ac_try='test -s conftest.$ac_objext'
30618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30619 (eval $ac_try) 2>&5
30620 ac_status=$?
30621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30622 (exit $ac_status); }; }; then
30623 wx_cv_func_vsnprintf_decl=yes
30624 else
30625 echo "$as_me: failed program was:" >&5
30626 sed 's/^/| /' conftest.$ac_ext >&5
30627
30628
30629 cat >conftest.$ac_ext <<_ACEOF
30630 /* confdefs.h. */
30631 _ACEOF
30632 cat confdefs.h >>conftest.$ac_ext
30633 cat >>conftest.$ac_ext <<_ACEOF
30634 /* end confdefs.h. */
30635
30636 #include <stdio.h>
30637 #include <stdarg.h>
30638 using namespace std;
30639
30640 int
30641 main ()
30642 {
30643
30644 char *buf;
30645 va_list ap;
30646 vsnprintf(buf, 10u, "%s", ap);
30647
30648 ;
30649 return 0;
30650 }
30651 _ACEOF
30652 rm -f conftest.$ac_objext
30653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30654 (eval $ac_compile) 2>conftest.er1
30655 ac_status=$?
30656 grep -v '^ *+' conftest.er1 >conftest.err
30657 rm -f conftest.er1
30658 cat conftest.err >&5
30659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30660 (exit $ac_status); } &&
30661 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30663 (eval $ac_try) 2>&5
30664 ac_status=$?
30665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30666 (exit $ac_status); }; } &&
30667 { ac_try='test -s conftest.$ac_objext'
30668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30669 (eval $ac_try) 2>&5
30670 ac_status=$?
30671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30672 (exit $ac_status); }; }; then
30673 wx_cv_func_vsnprintf_decl=yes
30674 else
30675 echo "$as_me: failed program was:" >&5
30676 sed 's/^/| /' conftest.$ac_ext >&5
30677
30678 wx_cv_func_vsnprintf_decl=no
30679
30680 fi
30681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30682
30683
30684 fi
30685 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30686
30687
30688 fi
30689 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
30690 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
30691
30692 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
30693 cat >>confdefs.h <<\_ACEOF
30694 #define HAVE_VSNPRINTF_DECL 1
30695 _ACEOF
30696
30697 fi
30698 fi
30699
30700 if test "$wxUSE_UNICODE" = yes; then
30701
30702
30703
30704
30705
30706
30707 for ac_func in wputc wputchar putws fputws wprintf vswprintf
30708 do
30709 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30710 echo "$as_me:$LINENO: checking for $ac_func" >&5
30711 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30712 if eval "test \"\${$as_ac_var+set}\" = set"; then
30713 echo $ECHO_N "(cached) $ECHO_C" >&6
30714 else
30715 cat >conftest.$ac_ext <<_ACEOF
30716 /* confdefs.h. */
30717 _ACEOF
30718 cat confdefs.h >>conftest.$ac_ext
30719 cat >>conftest.$ac_ext <<_ACEOF
30720 /* end confdefs.h. */
30721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30723 #define $ac_func innocuous_$ac_func
30724
30725 /* System header to define __stub macros and hopefully few prototypes,
30726 which can conflict with char $ac_func (); below.
30727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30728 <limits.h> exists even on freestanding compilers. */
30729
30730 #ifdef __STDC__
30731 # include <limits.h>
30732 #else
30733 # include <assert.h>
30734 #endif
30735
30736 #undef $ac_func
30737
30738 /* Override any gcc2 internal prototype to avoid an error. */
30739 #ifdef __cplusplus
30740 extern "C"
30741 {
30742 #endif
30743 /* We use char because int might match the return type of a gcc2
30744 builtin and then its argument prototype would still apply. */
30745 char $ac_func ();
30746 /* The GNU C library defines this for functions which it implements
30747 to always fail with ENOSYS. Some functions are actually named
30748 something starting with __ and the normal name is an alias. */
30749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30750 choke me
30751 #else
30752 char (*f) () = $ac_func;
30753 #endif
30754 #ifdef __cplusplus
30755 }
30756 #endif
30757
30758 int
30759 main ()
30760 {
30761 return f != $ac_func;
30762 ;
30763 return 0;
30764 }
30765 _ACEOF
30766 rm -f conftest.$ac_objext conftest$ac_exeext
30767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30768 (eval $ac_link) 2>conftest.er1
30769 ac_status=$?
30770 grep -v '^ *+' conftest.er1 >conftest.err
30771 rm -f conftest.er1
30772 cat conftest.err >&5
30773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30774 (exit $ac_status); } &&
30775 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30777 (eval $ac_try) 2>&5
30778 ac_status=$?
30779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30780 (exit $ac_status); }; } &&
30781 { ac_try='test -s conftest$ac_exeext'
30782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30783 (eval $ac_try) 2>&5
30784 ac_status=$?
30785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30786 (exit $ac_status); }; }; then
30787 eval "$as_ac_var=yes"
30788 else
30789 echo "$as_me: failed program was:" >&5
30790 sed 's/^/| /' conftest.$ac_ext >&5
30791
30792 eval "$as_ac_var=no"
30793 fi
30794 rm -f conftest.err conftest.$ac_objext \
30795 conftest$ac_exeext conftest.$ac_ext
30796 fi
30797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30798 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30799 if test `eval echo '${'$as_ac_var'}'` = yes; then
30800 cat >>confdefs.h <<_ACEOF
30801 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30802 _ACEOF
30803
30804 fi
30805 done
30806
30807
30808 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
30809 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
30810 cat >conftest.$ac_ext <<_ACEOF
30811 /* confdefs.h. */
30812 _ACEOF
30813 cat confdefs.h >>conftest.$ac_ext
30814 cat >>conftest.$ac_ext <<_ACEOF
30815 /* end confdefs.h. */
30816 #include <wchar.h>
30817 int
30818 main ()
30819 {
30820 &_vsnwprintf;
30821 ;
30822 return 0;
30823 }
30824 _ACEOF
30825 rm -f conftest.$ac_objext
30826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30827 (eval $ac_compile) 2>conftest.er1
30828 ac_status=$?
30829 grep -v '^ *+' conftest.er1 >conftest.err
30830 rm -f conftest.er1
30831 cat conftest.err >&5
30832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30833 (exit $ac_status); } &&
30834 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30836 (eval $ac_try) 2>&5
30837 ac_status=$?
30838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30839 (exit $ac_status); }; } &&
30840 { ac_try='test -s conftest.$ac_objext'
30841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30842 (eval $ac_try) 2>&5
30843 ac_status=$?
30844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30845 (exit $ac_status); }; }; then
30846 echo "$as_me:$LINENO: result: yes" >&5
30847 echo "${ECHO_T}yes" >&6
30848 cat >>confdefs.h <<\_ACEOF
30849 #define HAVE__VSNWPRINTF 1
30850 _ACEOF
30851
30852 else
30853 echo "$as_me: failed program was:" >&5
30854 sed 's/^/| /' conftest.$ac_ext >&5
30855
30856 echo "$as_me:$LINENO: result: no" >&5
30857 echo "${ECHO_T}no" >&6
30858 fi
30859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
30860 fi
30861
30862 ac_ext=c
30863 ac_cpp='$CPP $CPPFLAGS'
30864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30867
30868
30869
30870
30871 if test "$TOOLKIT" != "MSW"; then
30872
30873
30874
30875
30876 ac_ext=cc
30877 ac_cpp='$CXXCPP $CPPFLAGS'
30878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30881
30882
30883
30884
30885 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
30886 if test "${with_libiconv_prefix+set}" = set; then
30887 withval="$with_libiconv_prefix"
30888
30889 for dir in `echo "$withval" | tr : ' '`; do
30890 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
30891 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
30892 done
30893
30894 fi;
30895
30896 echo "$as_me:$LINENO: checking for iconv" >&5
30897 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
30898 if test "${am_cv_func_iconv+set}" = set; then
30899 echo $ECHO_N "(cached) $ECHO_C" >&6
30900 else
30901
30902 am_cv_func_iconv="no, consider installing GNU libiconv"
30903 am_cv_lib_iconv=no
30904 cat >conftest.$ac_ext <<_ACEOF
30905 /* confdefs.h. */
30906 _ACEOF
30907 cat confdefs.h >>conftest.$ac_ext
30908 cat >>conftest.$ac_ext <<_ACEOF
30909 /* end confdefs.h. */
30910 #include <stdlib.h>
30911 #include <iconv.h>
30912 int
30913 main ()
30914 {
30915 iconv_t cd = iconv_open("","");
30916 iconv(cd,NULL,NULL,NULL,NULL);
30917 iconv_close(cd);
30918 ;
30919 return 0;
30920 }
30921 _ACEOF
30922 rm -f conftest.$ac_objext conftest$ac_exeext
30923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30924 (eval $ac_link) 2>conftest.er1
30925 ac_status=$?
30926 grep -v '^ *+' conftest.er1 >conftest.err
30927 rm -f conftest.er1
30928 cat conftest.err >&5
30929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30930 (exit $ac_status); } &&
30931 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30933 (eval $ac_try) 2>&5
30934 ac_status=$?
30935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30936 (exit $ac_status); }; } &&
30937 { ac_try='test -s conftest$ac_exeext'
30938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30939 (eval $ac_try) 2>&5
30940 ac_status=$?
30941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30942 (exit $ac_status); }; }; then
30943 am_cv_func_iconv=yes
30944 else
30945 echo "$as_me: failed program was:" >&5
30946 sed 's/^/| /' conftest.$ac_ext >&5
30947
30948 fi
30949 rm -f conftest.err conftest.$ac_objext \
30950 conftest$ac_exeext conftest.$ac_ext
30951 if test "$am_cv_func_iconv" != yes; then
30952 am_save_LIBS="$LIBS"
30953 LIBS="$LIBS -liconv"
30954 cat >conftest.$ac_ext <<_ACEOF
30955 /* confdefs.h. */
30956 _ACEOF
30957 cat confdefs.h >>conftest.$ac_ext
30958 cat >>conftest.$ac_ext <<_ACEOF
30959 /* end confdefs.h. */
30960 #include <stdlib.h>
30961 #include <iconv.h>
30962 int
30963 main ()
30964 {
30965 iconv_t cd = iconv_open("","");
30966 iconv(cd,NULL,NULL,NULL,NULL);
30967 iconv_close(cd);
30968 ;
30969 return 0;
30970 }
30971 _ACEOF
30972 rm -f conftest.$ac_objext conftest$ac_exeext
30973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30974 (eval $ac_link) 2>conftest.er1
30975 ac_status=$?
30976 grep -v '^ *+' conftest.er1 >conftest.err
30977 rm -f conftest.er1
30978 cat conftest.err >&5
30979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30980 (exit $ac_status); } &&
30981 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30983 (eval $ac_try) 2>&5
30984 ac_status=$?
30985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30986 (exit $ac_status); }; } &&
30987 { ac_try='test -s conftest$ac_exeext'
30988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30989 (eval $ac_try) 2>&5
30990 ac_status=$?
30991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30992 (exit $ac_status); }; }; then
30993 am_cv_lib_iconv=yes
30994 am_cv_func_iconv=yes
30995 else
30996 echo "$as_me: failed program was:" >&5
30997 sed 's/^/| /' conftest.$ac_ext >&5
30998
30999 fi
31000 rm -f conftest.err conftest.$ac_objext \
31001 conftest$ac_exeext conftest.$ac_ext
31002 LIBS="$am_save_LIBS"
31003 fi
31004
31005 fi
31006 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
31007 echo "${ECHO_T}$am_cv_func_iconv" >&6
31008 if test "$am_cv_func_iconv" = yes; then
31009
31010 cat >>confdefs.h <<\_ACEOF
31011 #define HAVE_ICONV 1
31012 _ACEOF
31013
31014 echo "$as_me:$LINENO: checking if iconv needs const" >&5
31015 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
31016 if test "${wx_cv_func_iconv_const+set}" = set; then
31017 echo $ECHO_N "(cached) $ECHO_C" >&6
31018 else
31019 cat >conftest.$ac_ext <<_ACEOF
31020 /* confdefs.h. */
31021 _ACEOF
31022 cat confdefs.h >>conftest.$ac_ext
31023 cat >>conftest.$ac_ext <<_ACEOF
31024 /* end confdefs.h. */
31025
31026 #include <stdlib.h>
31027 #include <iconv.h>
31028 extern
31029 #ifdef __cplusplus
31030 "C"
31031 #endif
31032 #if defined(__STDC__) || defined(__cplusplus)
31033 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
31034 #else
31035 size_t iconv();
31036 #endif
31037
31038 int
31039 main ()
31040 {
31041
31042 ;
31043 return 0;
31044 }
31045 _ACEOF
31046 rm -f conftest.$ac_objext
31047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31048 (eval $ac_compile) 2>conftest.er1
31049 ac_status=$?
31050 grep -v '^ *+' conftest.er1 >conftest.err
31051 rm -f conftest.er1
31052 cat conftest.err >&5
31053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31054 (exit $ac_status); } &&
31055 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31057 (eval $ac_try) 2>&5
31058 ac_status=$?
31059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31060 (exit $ac_status); }; } &&
31061 { ac_try='test -s conftest.$ac_objext'
31062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31063 (eval $ac_try) 2>&5
31064 ac_status=$?
31065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31066 (exit $ac_status); }; }; then
31067 wx_cv_func_iconv_const="no"
31068 else
31069 echo "$as_me: failed program was:" >&5
31070 sed 's/^/| /' conftest.$ac_ext >&5
31071
31072 wx_cv_func_iconv_const="yes"
31073
31074 fi
31075 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31076
31077 fi
31078 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
31079 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
31080
31081 iconv_const=
31082 if test "x$wx_cv_func_iconv_const" = "xyes"; then
31083 iconv_const="const"
31084 fi
31085
31086
31087 cat >>confdefs.h <<_ACEOF
31088 #define ICONV_CONST $iconv_const
31089 _ACEOF
31090
31091 fi
31092 LIBICONV=
31093 if test "$am_cv_lib_iconv" = yes; then
31094 LIBICONV="-liconv"
31095 fi
31096
31097
31098 LIBS="$LIBICONV $LIBS"
31099 ac_ext=c
31100 ac_cpp='$CPP $CPPFLAGS'
31101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31104
31105
31106 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
31107
31108 for ac_func in sigaction
31109 do
31110 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31111 echo "$as_me:$LINENO: checking for $ac_func" >&5
31112 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31113 if eval "test \"\${$as_ac_var+set}\" = set"; then
31114 echo $ECHO_N "(cached) $ECHO_C" >&6
31115 else
31116 cat >conftest.$ac_ext <<_ACEOF
31117 /* confdefs.h. */
31118 _ACEOF
31119 cat confdefs.h >>conftest.$ac_ext
31120 cat >>conftest.$ac_ext <<_ACEOF
31121 /* end confdefs.h. */
31122 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31123 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31124 #define $ac_func innocuous_$ac_func
31125
31126 /* System header to define __stub macros and hopefully few prototypes,
31127 which can conflict with char $ac_func (); below.
31128 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31129 <limits.h> exists even on freestanding compilers. */
31130
31131 #ifdef __STDC__
31132 # include <limits.h>
31133 #else
31134 # include <assert.h>
31135 #endif
31136
31137 #undef $ac_func
31138
31139 /* Override any gcc2 internal prototype to avoid an error. */
31140 #ifdef __cplusplus
31141 extern "C"
31142 {
31143 #endif
31144 /* We use char because int might match the return type of a gcc2
31145 builtin and then its argument prototype would still apply. */
31146 char $ac_func ();
31147 /* The GNU C library defines this for functions which it implements
31148 to always fail with ENOSYS. Some functions are actually named
31149 something starting with __ and the normal name is an alias. */
31150 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31151 choke me
31152 #else
31153 char (*f) () = $ac_func;
31154 #endif
31155 #ifdef __cplusplus
31156 }
31157 #endif
31158
31159 int
31160 main ()
31161 {
31162 return f != $ac_func;
31163 ;
31164 return 0;
31165 }
31166 _ACEOF
31167 rm -f conftest.$ac_objext conftest$ac_exeext
31168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31169 (eval $ac_link) 2>conftest.er1
31170 ac_status=$?
31171 grep -v '^ *+' conftest.er1 >conftest.err
31172 rm -f conftest.er1
31173 cat conftest.err >&5
31174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31175 (exit $ac_status); } &&
31176 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31178 (eval $ac_try) 2>&5
31179 ac_status=$?
31180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31181 (exit $ac_status); }; } &&
31182 { ac_try='test -s conftest$ac_exeext'
31183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31184 (eval $ac_try) 2>&5
31185 ac_status=$?
31186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31187 (exit $ac_status); }; }; then
31188 eval "$as_ac_var=yes"
31189 else
31190 echo "$as_me: failed program was:" >&5
31191 sed 's/^/| /' conftest.$ac_ext >&5
31192
31193 eval "$as_ac_var=no"
31194 fi
31195 rm -f conftest.err conftest.$ac_objext \
31196 conftest$ac_exeext conftest.$ac_ext
31197 fi
31198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31199 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31200 if test `eval echo '${'$as_ac_var'}'` = yes; then
31201 cat >>confdefs.h <<_ACEOF
31202 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31203 _ACEOF
31204
31205 fi
31206 done
31207
31208
31209 if test "$ac_cv_func_sigaction" = "no"; then
31210 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
31211 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
31212 wxUSE_ON_FATAL_EXCEPTION=no
31213 fi
31214
31215 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
31216
31217
31218 ac_ext=cc
31219 ac_cpp='$CXXCPP $CPPFLAGS'
31220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31223
31224
31225 echo "$as_me:$LINENO: checking for sa_handler type" >&5
31226 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
31227 if test "${wx_cv_type_sa_handler+set}" = set; then
31228 echo $ECHO_N "(cached) $ECHO_C" >&6
31229 else
31230
31231 cat >conftest.$ac_ext <<_ACEOF
31232 /* confdefs.h. */
31233 _ACEOF
31234 cat confdefs.h >>conftest.$ac_ext
31235 cat >>conftest.$ac_ext <<_ACEOF
31236 /* end confdefs.h. */
31237 #include <signal.h>
31238 int
31239 main ()
31240 {
31241
31242 extern void testSigHandler(int);
31243
31244 struct sigaction sa;
31245 sa.sa_handler = testSigHandler;
31246
31247 ;
31248 return 0;
31249 }
31250 _ACEOF
31251 rm -f conftest.$ac_objext
31252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31253 (eval $ac_compile) 2>conftest.er1
31254 ac_status=$?
31255 grep -v '^ *+' conftest.er1 >conftest.err
31256 rm -f conftest.er1
31257 cat conftest.err >&5
31258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31259 (exit $ac_status); } &&
31260 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31262 (eval $ac_try) 2>&5
31263 ac_status=$?
31264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31265 (exit $ac_status); }; } &&
31266 { ac_try='test -s conftest.$ac_objext'
31267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31268 (eval $ac_try) 2>&5
31269 ac_status=$?
31270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31271 (exit $ac_status); }; }; then
31272
31273 wx_cv_type_sa_handler=int
31274
31275 else
31276 echo "$as_me: failed program was:" >&5
31277 sed 's/^/| /' conftest.$ac_ext >&5
31278
31279
31280 wx_cv_type_sa_handler=void
31281
31282 fi
31283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31284
31285 fi
31286 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
31287 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
31288
31289 ac_ext=c
31290 ac_cpp='$CPP $CPPFLAGS'
31291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31294
31295
31296 cat >>confdefs.h <<_ACEOF
31297 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
31298 _ACEOF
31299
31300 fi
31301 fi
31302
31303 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
31304
31305
31306 ac_ext=cc
31307 ac_cpp='$CXXCPP $CPPFLAGS'
31308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31311
31312
31313 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
31314 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
31315 if test "${wx_cv_func_backtrace+set}" = set; then
31316 echo $ECHO_N "(cached) $ECHO_C" >&6
31317 else
31318
31319 cat >conftest.$ac_ext <<_ACEOF
31320 /* confdefs.h. */
31321 _ACEOF
31322 cat confdefs.h >>conftest.$ac_ext
31323 cat >>conftest.$ac_ext <<_ACEOF
31324 /* end confdefs.h. */
31325 #include <execinfo.h>
31326 int
31327 main ()
31328 {
31329
31330 void *trace[1];
31331 char **messages;
31332
31333 backtrace(trace, 1);
31334 messages = backtrace_symbols(trace, 1);
31335
31336 ;
31337 return 0;
31338 }
31339 _ACEOF
31340 rm -f conftest.$ac_objext
31341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31342 (eval $ac_compile) 2>conftest.er1
31343 ac_status=$?
31344 grep -v '^ *+' conftest.er1 >conftest.err
31345 rm -f conftest.er1
31346 cat conftest.err >&5
31347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31348 (exit $ac_status); } &&
31349 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31351 (eval $ac_try) 2>&5
31352 ac_status=$?
31353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31354 (exit $ac_status); }; } &&
31355 { ac_try='test -s conftest.$ac_objext'
31356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31357 (eval $ac_try) 2>&5
31358 ac_status=$?
31359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31360 (exit $ac_status); }; }; then
31361 wx_cv_func_backtrace=yes
31362 else
31363 echo "$as_me: failed program was:" >&5
31364 sed 's/^/| /' conftest.$ac_ext >&5
31365
31366 wx_cv_func_backtrace=no
31367
31368 fi
31369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31370
31371
31372 fi
31373 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
31374 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
31375
31376
31377 if test "$wx_cv_func_backtrace" = "no"; then
31378 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
31379 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
31380 wxUSE_STACKWALKER=no
31381 else
31382 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
31383 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
31384 if test "${wx_cv_func_cxa_demangle+set}" = set; then
31385 echo $ECHO_N "(cached) $ECHO_C" >&6
31386 else
31387
31388 cat >conftest.$ac_ext <<_ACEOF
31389 /* confdefs.h. */
31390 _ACEOF
31391 cat confdefs.h >>conftest.$ac_ext
31392 cat >>conftest.$ac_ext <<_ACEOF
31393 /* end confdefs.h. */
31394 #include <cxxabi.h>
31395 int
31396 main ()
31397 {
31398
31399 int rc;
31400 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
31401
31402 ;
31403 return 0;
31404 }
31405 _ACEOF
31406 rm -f conftest.$ac_objext
31407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31408 (eval $ac_compile) 2>conftest.er1
31409 ac_status=$?
31410 grep -v '^ *+' conftest.er1 >conftest.err
31411 rm -f conftest.er1
31412 cat conftest.err >&5
31413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31414 (exit $ac_status); } &&
31415 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31417 (eval $ac_try) 2>&5
31418 ac_status=$?
31419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31420 (exit $ac_status); }; } &&
31421 { ac_try='test -s conftest.$ac_objext'
31422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31423 (eval $ac_try) 2>&5
31424 ac_status=$?
31425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31426 (exit $ac_status); }; }; then
31427 wx_cv_func_cxa_demangle=yes
31428 else
31429 echo "$as_me: failed program was:" >&5
31430 sed 's/^/| /' conftest.$ac_ext >&5
31431
31432 wx_cv_func_cxa_demangle=no
31433
31434 fi
31435 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31436
31437
31438 fi
31439 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
31440 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
31441
31442 if test "$wx_cv_func_cxa_demangle" = "yes"; then
31443 cat >>confdefs.h <<\_ACEOF
31444 #define HAVE_CXA_DEMANGLE 1
31445 _ACEOF
31446
31447 fi
31448 fi
31449
31450 ac_ext=c
31451 ac_cpp='$CPP $CPPFLAGS'
31452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31455
31456 fi
31457
31458
31459
31460 for ac_func in mkstemp mktemp
31461 do
31462 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31463 echo "$as_me:$LINENO: checking for $ac_func" >&5
31464 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31465 if eval "test \"\${$as_ac_var+set}\" = set"; then
31466 echo $ECHO_N "(cached) $ECHO_C" >&6
31467 else
31468 cat >conftest.$ac_ext <<_ACEOF
31469 /* confdefs.h. */
31470 _ACEOF
31471 cat confdefs.h >>conftest.$ac_ext
31472 cat >>conftest.$ac_ext <<_ACEOF
31473 /* end confdefs.h. */
31474 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31475 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31476 #define $ac_func innocuous_$ac_func
31477
31478 /* System header to define __stub macros and hopefully few prototypes,
31479 which can conflict with char $ac_func (); below.
31480 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31481 <limits.h> exists even on freestanding compilers. */
31482
31483 #ifdef __STDC__
31484 # include <limits.h>
31485 #else
31486 # include <assert.h>
31487 #endif
31488
31489 #undef $ac_func
31490
31491 /* Override any gcc2 internal prototype to avoid an error. */
31492 #ifdef __cplusplus
31493 extern "C"
31494 {
31495 #endif
31496 /* We use char because int might match the return type of a gcc2
31497 builtin and then its argument prototype would still apply. */
31498 char $ac_func ();
31499 /* The GNU C library defines this for functions which it implements
31500 to always fail with ENOSYS. Some functions are actually named
31501 something starting with __ and the normal name is an alias. */
31502 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31503 choke me
31504 #else
31505 char (*f) () = $ac_func;
31506 #endif
31507 #ifdef __cplusplus
31508 }
31509 #endif
31510
31511 int
31512 main ()
31513 {
31514 return f != $ac_func;
31515 ;
31516 return 0;
31517 }
31518 _ACEOF
31519 rm -f conftest.$ac_objext conftest$ac_exeext
31520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31521 (eval $ac_link) 2>conftest.er1
31522 ac_status=$?
31523 grep -v '^ *+' conftest.er1 >conftest.err
31524 rm -f conftest.er1
31525 cat conftest.err >&5
31526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31527 (exit $ac_status); } &&
31528 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31530 (eval $ac_try) 2>&5
31531 ac_status=$?
31532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31533 (exit $ac_status); }; } &&
31534 { ac_try='test -s conftest$ac_exeext'
31535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31536 (eval $ac_try) 2>&5
31537 ac_status=$?
31538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31539 (exit $ac_status); }; }; then
31540 eval "$as_ac_var=yes"
31541 else
31542 echo "$as_me: failed program was:" >&5
31543 sed 's/^/| /' conftest.$ac_ext >&5
31544
31545 eval "$as_ac_var=no"
31546 fi
31547 rm -f conftest.err conftest.$ac_objext \
31548 conftest$ac_exeext conftest.$ac_ext
31549 fi
31550 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31551 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31552 if test `eval echo '${'$as_ac_var'}'` = yes; then
31553 cat >>confdefs.h <<_ACEOF
31554 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31555 _ACEOF
31556 break
31557 fi
31558 done
31559
31560
31561 echo "$as_me:$LINENO: checking for statfs" >&5
31562 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
31563 if test "${wx_cv_func_statfs+set}" = set; then
31564 echo $ECHO_N "(cached) $ECHO_C" >&6
31565 else
31566 cat >conftest.$ac_ext <<_ACEOF
31567 /* confdefs.h. */
31568 _ACEOF
31569 cat confdefs.h >>conftest.$ac_ext
31570 cat >>conftest.$ac_ext <<_ACEOF
31571 /* end confdefs.h. */
31572
31573 #if defined(__BSD__)
31574 #include <sys/param.h>
31575 #include <sys/mount.h>
31576 #else
31577 #include <sys/vfs.h>
31578 #endif
31579
31580 int
31581 main ()
31582 {
31583
31584 long l;
31585 struct statfs fs;
31586 statfs("/", &fs);
31587 l = fs.f_bsize;
31588 l += fs.f_blocks;
31589 l += fs.f_bavail;
31590
31591 ;
31592 return 0;
31593 }
31594 _ACEOF
31595 rm -f conftest.$ac_objext
31596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31597 (eval $ac_compile) 2>conftest.er1
31598 ac_status=$?
31599 grep -v '^ *+' conftest.er1 >conftest.err
31600 rm -f conftest.er1
31601 cat conftest.err >&5
31602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31603 (exit $ac_status); } &&
31604 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31606 (eval $ac_try) 2>&5
31607 ac_status=$?
31608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31609 (exit $ac_status); }; } &&
31610 { ac_try='test -s conftest.$ac_objext'
31611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31612 (eval $ac_try) 2>&5
31613 ac_status=$?
31614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31615 (exit $ac_status); }; }; then
31616
31617 wx_cv_func_statfs=yes
31618
31619 else
31620 echo "$as_me: failed program was:" >&5
31621 sed 's/^/| /' conftest.$ac_ext >&5
31622
31623
31624 wx_cv_func_statfs=no
31625
31626
31627 fi
31628 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31629
31630 fi
31631 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
31632 echo "${ECHO_T}$wx_cv_func_statfs" >&6
31633
31634 if test "$wx_cv_func_statfs" = "yes"; then
31635 wx_cv_type_statvfs_t="struct statfs"
31636 cat >>confdefs.h <<\_ACEOF
31637 #define HAVE_STATFS 1
31638 _ACEOF
31639
31640 else
31641 echo "$as_me:$LINENO: checking for statvfs" >&5
31642 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
31643 if test "${wx_cv_func_statvfs+set}" = set; then
31644 echo $ECHO_N "(cached) $ECHO_C" >&6
31645 else
31646 cat >conftest.$ac_ext <<_ACEOF
31647 /* confdefs.h. */
31648 _ACEOF
31649 cat confdefs.h >>conftest.$ac_ext
31650 cat >>conftest.$ac_ext <<_ACEOF
31651 /* end confdefs.h. */
31652
31653 #include <stddef.h>
31654 #include <sys/statvfs.h>
31655
31656 int
31657 main ()
31658 {
31659
31660 statvfs("/", NULL);
31661
31662 ;
31663 return 0;
31664 }
31665 _ACEOF
31666 rm -f conftest.$ac_objext
31667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31668 (eval $ac_compile) 2>conftest.er1
31669 ac_status=$?
31670 grep -v '^ *+' conftest.er1 >conftest.err
31671 rm -f conftest.er1
31672 cat conftest.err >&5
31673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31674 (exit $ac_status); } &&
31675 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31677 (eval $ac_try) 2>&5
31678 ac_status=$?
31679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31680 (exit $ac_status); }; } &&
31681 { ac_try='test -s conftest.$ac_objext'
31682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31683 (eval $ac_try) 2>&5
31684 ac_status=$?
31685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31686 (exit $ac_status); }; }; then
31687 wx_cv_func_statvfs=yes
31688 else
31689 echo "$as_me: failed program was:" >&5
31690 sed 's/^/| /' conftest.$ac_ext >&5
31691
31692 wx_cv_func_statvfs=no
31693
31694 fi
31695 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31696
31697 fi
31698 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
31699 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
31700
31701 if test "$wx_cv_func_statvfs" = "yes"; then
31702
31703
31704 ac_ext=cc
31705 ac_cpp='$CXXCPP $CPPFLAGS'
31706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31709
31710
31711 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
31712 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
31713 if test "${wx_cv_type_statvfs_t+set}" = set; then
31714 echo $ECHO_N "(cached) $ECHO_C" >&6
31715 else
31716 cat >conftest.$ac_ext <<_ACEOF
31717 /* confdefs.h. */
31718 _ACEOF
31719 cat confdefs.h >>conftest.$ac_ext
31720 cat >>conftest.$ac_ext <<_ACEOF
31721 /* end confdefs.h. */
31722
31723 #include <sys/statvfs.h>
31724
31725 int
31726 main ()
31727 {
31728
31729 long l;
31730 statvfs_t fs;
31731 statvfs("/", &fs);
31732 l = fs.f_bsize;
31733 l += fs.f_blocks;
31734 l += fs.f_bavail;
31735
31736 ;
31737 return 0;
31738 }
31739 _ACEOF
31740 rm -f conftest.$ac_objext
31741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31742 (eval $ac_compile) 2>conftest.er1
31743 ac_status=$?
31744 grep -v '^ *+' conftest.er1 >conftest.err
31745 rm -f conftest.er1
31746 cat conftest.err >&5
31747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31748 (exit $ac_status); } &&
31749 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31751 (eval $ac_try) 2>&5
31752 ac_status=$?
31753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31754 (exit $ac_status); }; } &&
31755 { ac_try='test -s conftest.$ac_objext'
31756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31757 (eval $ac_try) 2>&5
31758 ac_status=$?
31759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31760 (exit $ac_status); }; }; then
31761 wx_cv_type_statvfs_t=statvfs_t
31762 else
31763 echo "$as_me: failed program was:" >&5
31764 sed 's/^/| /' conftest.$ac_ext >&5
31765
31766
31767 cat >conftest.$ac_ext <<_ACEOF
31768 /* confdefs.h. */
31769 _ACEOF
31770 cat confdefs.h >>conftest.$ac_ext
31771 cat >>conftest.$ac_ext <<_ACEOF
31772 /* end confdefs.h. */
31773
31774 #include <sys/statvfs.h>
31775
31776 int
31777 main ()
31778 {
31779
31780 long l;
31781 struct statvfs fs;
31782 statvfs("/", &fs);
31783 l = fs.f_bsize;
31784 l += fs.f_blocks;
31785 l += fs.f_bavail;
31786
31787 ;
31788 return 0;
31789 }
31790 _ACEOF
31791 rm -f conftest.$ac_objext
31792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31793 (eval $ac_compile) 2>conftest.er1
31794 ac_status=$?
31795 grep -v '^ *+' conftest.er1 >conftest.err
31796 rm -f conftest.er1
31797 cat conftest.err >&5
31798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31799 (exit $ac_status); } &&
31800 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31802 (eval $ac_try) 2>&5
31803 ac_status=$?
31804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31805 (exit $ac_status); }; } &&
31806 { ac_try='test -s conftest.$ac_objext'
31807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31808 (eval $ac_try) 2>&5
31809 ac_status=$?
31810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31811 (exit $ac_status); }; }; then
31812 wx_cv_type_statvfs_t="struct statvfs"
31813 else
31814 echo "$as_me: failed program was:" >&5
31815 sed 's/^/| /' conftest.$ac_ext >&5
31816
31817 wx_cv_type_statvfs_t="unknown"
31818
31819 fi
31820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31821
31822
31823 fi
31824 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31825
31826 fi
31827 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
31828 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
31829
31830 ac_ext=c
31831 ac_cpp='$CPP $CPPFLAGS'
31832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31835
31836
31837 if test "$wx_cv_type_statvfs_t" != "unknown"; then
31838 cat >>confdefs.h <<\_ACEOF
31839 #define HAVE_STATVFS 1
31840 _ACEOF
31841
31842 fi
31843 else
31844 wx_cv_type_statvfs_t="unknown"
31845 fi
31846 fi
31847
31848 if test "$wx_cv_type_statvfs_t" != "unknown"; then
31849 cat >>confdefs.h <<_ACEOF
31850 #define WX_STATFS_T $wx_cv_type_statvfs_t
31851 _ACEOF
31852
31853 else
31854 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
31855 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
31856 fi
31857
31858 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
31859
31860
31861 for ac_func in fcntl flock
31862 do
31863 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31864 echo "$as_me:$LINENO: checking for $ac_func" >&5
31865 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31866 if eval "test \"\${$as_ac_var+set}\" = set"; then
31867 echo $ECHO_N "(cached) $ECHO_C" >&6
31868 else
31869 cat >conftest.$ac_ext <<_ACEOF
31870 /* confdefs.h. */
31871 _ACEOF
31872 cat confdefs.h >>conftest.$ac_ext
31873 cat >>conftest.$ac_ext <<_ACEOF
31874 /* end confdefs.h. */
31875 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31876 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31877 #define $ac_func innocuous_$ac_func
31878
31879 /* System header to define __stub macros and hopefully few prototypes,
31880 which can conflict with char $ac_func (); below.
31881 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31882 <limits.h> exists even on freestanding compilers. */
31883
31884 #ifdef __STDC__
31885 # include <limits.h>
31886 #else
31887 # include <assert.h>
31888 #endif
31889
31890 #undef $ac_func
31891
31892 /* Override any gcc2 internal prototype to avoid an error. */
31893 #ifdef __cplusplus
31894 extern "C"
31895 {
31896 #endif
31897 /* We use char because int might match the return type of a gcc2
31898 builtin and then its argument prototype would still apply. */
31899 char $ac_func ();
31900 /* The GNU C library defines this for functions which it implements
31901 to always fail with ENOSYS. Some functions are actually named
31902 something starting with __ and the normal name is an alias. */
31903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31904 choke me
31905 #else
31906 char (*f) () = $ac_func;
31907 #endif
31908 #ifdef __cplusplus
31909 }
31910 #endif
31911
31912 int
31913 main ()
31914 {
31915 return f != $ac_func;
31916 ;
31917 return 0;
31918 }
31919 _ACEOF
31920 rm -f conftest.$ac_objext conftest$ac_exeext
31921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31922 (eval $ac_link) 2>conftest.er1
31923 ac_status=$?
31924 grep -v '^ *+' conftest.er1 >conftest.err
31925 rm -f conftest.er1
31926 cat conftest.err >&5
31927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31928 (exit $ac_status); } &&
31929 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31931 (eval $ac_try) 2>&5
31932 ac_status=$?
31933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31934 (exit $ac_status); }; } &&
31935 { ac_try='test -s conftest$ac_exeext'
31936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31937 (eval $ac_try) 2>&5
31938 ac_status=$?
31939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31940 (exit $ac_status); }; }; then
31941 eval "$as_ac_var=yes"
31942 else
31943 echo "$as_me: failed program was:" >&5
31944 sed 's/^/| /' conftest.$ac_ext >&5
31945
31946 eval "$as_ac_var=no"
31947 fi
31948 rm -f conftest.err conftest.$ac_objext \
31949 conftest$ac_exeext conftest.$ac_ext
31950 fi
31951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31952 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31953 if test `eval echo '${'$as_ac_var'}'` = yes; then
31954 cat >>confdefs.h <<_ACEOF
31955 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31956 _ACEOF
31957 break
31958 fi
31959 done
31960
31961
31962 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
31963 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
31964 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
31965 wxUSE_SNGLINST_CHECKER=no
31966 fi
31967 fi
31968
31969
31970 for ac_func in timegm
31971 do
31972 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31973 echo "$as_me:$LINENO: checking for $ac_func" >&5
31974 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31975 if eval "test \"\${$as_ac_var+set}\" = set"; then
31976 echo $ECHO_N "(cached) $ECHO_C" >&6
31977 else
31978 cat >conftest.$ac_ext <<_ACEOF
31979 /* confdefs.h. */
31980 _ACEOF
31981 cat confdefs.h >>conftest.$ac_ext
31982 cat >>conftest.$ac_ext <<_ACEOF
31983 /* end confdefs.h. */
31984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31985 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31986 #define $ac_func innocuous_$ac_func
31987
31988 /* System header to define __stub macros and hopefully few prototypes,
31989 which can conflict with char $ac_func (); below.
31990 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31991 <limits.h> exists even on freestanding compilers. */
31992
31993 #ifdef __STDC__
31994 # include <limits.h>
31995 #else
31996 # include <assert.h>
31997 #endif
31998
31999 #undef $ac_func
32000
32001 /* Override any gcc2 internal prototype to avoid an error. */
32002 #ifdef __cplusplus
32003 extern "C"
32004 {
32005 #endif
32006 /* We use char because int might match the return type of a gcc2
32007 builtin and then its argument prototype would still apply. */
32008 char $ac_func ();
32009 /* The GNU C library defines this for functions which it implements
32010 to always fail with ENOSYS. Some functions are actually named
32011 something starting with __ and the normal name is an alias. */
32012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32013 choke me
32014 #else
32015 char (*f) () = $ac_func;
32016 #endif
32017 #ifdef __cplusplus
32018 }
32019 #endif
32020
32021 int
32022 main ()
32023 {
32024 return f != $ac_func;
32025 ;
32026 return 0;
32027 }
32028 _ACEOF
32029 rm -f conftest.$ac_objext conftest$ac_exeext
32030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32031 (eval $ac_link) 2>conftest.er1
32032 ac_status=$?
32033 grep -v '^ *+' conftest.er1 >conftest.err
32034 rm -f conftest.er1
32035 cat conftest.err >&5
32036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32037 (exit $ac_status); } &&
32038 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32040 (eval $ac_try) 2>&5
32041 ac_status=$?
32042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32043 (exit $ac_status); }; } &&
32044 { ac_try='test -s conftest$ac_exeext'
32045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32046 (eval $ac_try) 2>&5
32047 ac_status=$?
32048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32049 (exit $ac_status); }; }; then
32050 eval "$as_ac_var=yes"
32051 else
32052 echo "$as_me: failed program was:" >&5
32053 sed 's/^/| /' conftest.$ac_ext >&5
32054
32055 eval "$as_ac_var=no"
32056 fi
32057 rm -f conftest.err conftest.$ac_objext \
32058 conftest$ac_exeext conftest.$ac_ext
32059 fi
32060 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32061 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32062 if test `eval echo '${'$as_ac_var'}'` = yes; then
32063 cat >>confdefs.h <<_ACEOF
32064 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32065 _ACEOF
32066
32067 fi
32068 done
32069
32070
32071
32072
32073 for ac_func in putenv setenv
32074 do
32075 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32076 echo "$as_me:$LINENO: checking for $ac_func" >&5
32077 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32078 if eval "test \"\${$as_ac_var+set}\" = set"; then
32079 echo $ECHO_N "(cached) $ECHO_C" >&6
32080 else
32081 cat >conftest.$ac_ext <<_ACEOF
32082 /* confdefs.h. */
32083 _ACEOF
32084 cat confdefs.h >>conftest.$ac_ext
32085 cat >>conftest.$ac_ext <<_ACEOF
32086 /* end confdefs.h. */
32087 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32088 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32089 #define $ac_func innocuous_$ac_func
32090
32091 /* System header to define __stub macros and hopefully few prototypes,
32092 which can conflict with char $ac_func (); below.
32093 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32094 <limits.h> exists even on freestanding compilers. */
32095
32096 #ifdef __STDC__
32097 # include <limits.h>
32098 #else
32099 # include <assert.h>
32100 #endif
32101
32102 #undef $ac_func
32103
32104 /* Override any gcc2 internal prototype to avoid an error. */
32105 #ifdef __cplusplus
32106 extern "C"
32107 {
32108 #endif
32109 /* We use char because int might match the return type of a gcc2
32110 builtin and then its argument prototype would still apply. */
32111 char $ac_func ();
32112 /* The GNU C library defines this for functions which it implements
32113 to always fail with ENOSYS. Some functions are actually named
32114 something starting with __ and the normal name is an alias. */
32115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32116 choke me
32117 #else
32118 char (*f) () = $ac_func;
32119 #endif
32120 #ifdef __cplusplus
32121 }
32122 #endif
32123
32124 int
32125 main ()
32126 {
32127 return f != $ac_func;
32128 ;
32129 return 0;
32130 }
32131 _ACEOF
32132 rm -f conftest.$ac_objext conftest$ac_exeext
32133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32134 (eval $ac_link) 2>conftest.er1
32135 ac_status=$?
32136 grep -v '^ *+' conftest.er1 >conftest.err
32137 rm -f conftest.er1
32138 cat conftest.err >&5
32139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32140 (exit $ac_status); } &&
32141 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32143 (eval $ac_try) 2>&5
32144 ac_status=$?
32145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32146 (exit $ac_status); }; } &&
32147 { ac_try='test -s conftest$ac_exeext'
32148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32149 (eval $ac_try) 2>&5
32150 ac_status=$?
32151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32152 (exit $ac_status); }; }; then
32153 eval "$as_ac_var=yes"
32154 else
32155 echo "$as_me: failed program was:" >&5
32156 sed 's/^/| /' conftest.$ac_ext >&5
32157
32158 eval "$as_ac_var=no"
32159 fi
32160 rm -f conftest.err conftest.$ac_objext \
32161 conftest$ac_exeext conftest.$ac_ext
32162 fi
32163 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32164 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32165 if test `eval echo '${'$as_ac_var'}'` = yes; then
32166 cat >>confdefs.h <<_ACEOF
32167 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32168 _ACEOF
32169 break
32170 fi
32171 done
32172
32173
32174 HAVE_SOME_SLEEP_FUNC=0
32175 if test "$USE_BEOS" = 1; then
32176 cat >>confdefs.h <<\_ACEOF
32177 #define HAVE_SLEEP 1
32178 _ACEOF
32179
32180 HAVE_SOME_SLEEP_FUNC=1
32181 fi
32182
32183 if test "$USE_DARWIN" = 1; then
32184 cat >>confdefs.h <<\_ACEOF
32185 #define HAVE_USLEEP 1
32186 _ACEOF
32187
32188 HAVE_SOME_SLEEP_FUNC=1
32189 fi
32190
32191 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
32192 POSIX4_LINK=
32193
32194 for ac_func in nanosleep
32195 do
32196 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32197 echo "$as_me:$LINENO: checking for $ac_func" >&5
32198 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32199 if eval "test \"\${$as_ac_var+set}\" = set"; then
32200 echo $ECHO_N "(cached) $ECHO_C" >&6
32201 else
32202 cat >conftest.$ac_ext <<_ACEOF
32203 /* confdefs.h. */
32204 _ACEOF
32205 cat confdefs.h >>conftest.$ac_ext
32206 cat >>conftest.$ac_ext <<_ACEOF
32207 /* end confdefs.h. */
32208 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32209 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32210 #define $ac_func innocuous_$ac_func
32211
32212 /* System header to define __stub macros and hopefully few prototypes,
32213 which can conflict with char $ac_func (); below.
32214 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32215 <limits.h> exists even on freestanding compilers. */
32216
32217 #ifdef __STDC__
32218 # include <limits.h>
32219 #else
32220 # include <assert.h>
32221 #endif
32222
32223 #undef $ac_func
32224
32225 /* Override any gcc2 internal prototype to avoid an error. */
32226 #ifdef __cplusplus
32227 extern "C"
32228 {
32229 #endif
32230 /* We use char because int might match the return type of a gcc2
32231 builtin and then its argument prototype would still apply. */
32232 char $ac_func ();
32233 /* The GNU C library defines this for functions which it implements
32234 to always fail with ENOSYS. Some functions are actually named
32235 something starting with __ and the normal name is an alias. */
32236 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32237 choke me
32238 #else
32239 char (*f) () = $ac_func;
32240 #endif
32241 #ifdef __cplusplus
32242 }
32243 #endif
32244
32245 int
32246 main ()
32247 {
32248 return f != $ac_func;
32249 ;
32250 return 0;
32251 }
32252 _ACEOF
32253 rm -f conftest.$ac_objext conftest$ac_exeext
32254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32255 (eval $ac_link) 2>conftest.er1
32256 ac_status=$?
32257 grep -v '^ *+' conftest.er1 >conftest.err
32258 rm -f conftest.er1
32259 cat conftest.err >&5
32260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32261 (exit $ac_status); } &&
32262 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32264 (eval $ac_try) 2>&5
32265 ac_status=$?
32266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32267 (exit $ac_status); }; } &&
32268 { ac_try='test -s conftest$ac_exeext'
32269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32270 (eval $ac_try) 2>&5
32271 ac_status=$?
32272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32273 (exit $ac_status); }; }; then
32274 eval "$as_ac_var=yes"
32275 else
32276 echo "$as_me: failed program was:" >&5
32277 sed 's/^/| /' conftest.$ac_ext >&5
32278
32279 eval "$as_ac_var=no"
32280 fi
32281 rm -f conftest.err conftest.$ac_objext \
32282 conftest$ac_exeext conftest.$ac_ext
32283 fi
32284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32285 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32286 if test `eval echo '${'$as_ac_var'}'` = yes; then
32287 cat >>confdefs.h <<_ACEOF
32288 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32289 _ACEOF
32290 cat >>confdefs.h <<\_ACEOF
32291 #define HAVE_NANOSLEEP 1
32292 _ACEOF
32293
32294 else
32295
32296 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
32297 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
32298 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
32299 echo $ECHO_N "(cached) $ECHO_C" >&6
32300 else
32301 ac_check_lib_save_LIBS=$LIBS
32302 LIBS="-lposix4 $LIBS"
32303 cat >conftest.$ac_ext <<_ACEOF
32304 /* confdefs.h. */
32305 _ACEOF
32306 cat confdefs.h >>conftest.$ac_ext
32307 cat >>conftest.$ac_ext <<_ACEOF
32308 /* end confdefs.h. */
32309
32310 /* Override any gcc2 internal prototype to avoid an error. */
32311 #ifdef __cplusplus
32312 extern "C"
32313 #endif
32314 /* We use char because int might match the return type of a gcc2
32315 builtin and then its argument prototype would still apply. */
32316 char nanosleep ();
32317 int
32318 main ()
32319 {
32320 nanosleep ();
32321 ;
32322 return 0;
32323 }
32324 _ACEOF
32325 rm -f conftest.$ac_objext conftest$ac_exeext
32326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32327 (eval $ac_link) 2>conftest.er1
32328 ac_status=$?
32329 grep -v '^ *+' conftest.er1 >conftest.err
32330 rm -f conftest.er1
32331 cat conftest.err >&5
32332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32333 (exit $ac_status); } &&
32334 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32336 (eval $ac_try) 2>&5
32337 ac_status=$?
32338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32339 (exit $ac_status); }; } &&
32340 { ac_try='test -s conftest$ac_exeext'
32341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32342 (eval $ac_try) 2>&5
32343 ac_status=$?
32344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32345 (exit $ac_status); }; }; then
32346 ac_cv_lib_posix4_nanosleep=yes
32347 else
32348 echo "$as_me: failed program was:" >&5
32349 sed 's/^/| /' conftest.$ac_ext >&5
32350
32351 ac_cv_lib_posix4_nanosleep=no
32352 fi
32353 rm -f conftest.err conftest.$ac_objext \
32354 conftest$ac_exeext conftest.$ac_ext
32355 LIBS=$ac_check_lib_save_LIBS
32356 fi
32357 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
32358 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
32359 if test $ac_cv_lib_posix4_nanosleep = yes; then
32360
32361 cat >>confdefs.h <<\_ACEOF
32362 #define HAVE_NANOSLEEP 1
32363 _ACEOF
32364
32365 POSIX4_LINK=" -lposix4"
32366
32367 else
32368
32369
32370 for ac_func in usleep
32371 do
32372 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32373 echo "$as_me:$LINENO: checking for $ac_func" >&5
32374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32375 if eval "test \"\${$as_ac_var+set}\" = set"; then
32376 echo $ECHO_N "(cached) $ECHO_C" >&6
32377 else
32378 cat >conftest.$ac_ext <<_ACEOF
32379 /* confdefs.h. */
32380 _ACEOF
32381 cat confdefs.h >>conftest.$ac_ext
32382 cat >>conftest.$ac_ext <<_ACEOF
32383 /* end confdefs.h. */
32384 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32385 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32386 #define $ac_func innocuous_$ac_func
32387
32388 /* System header to define __stub macros and hopefully few prototypes,
32389 which can conflict with char $ac_func (); below.
32390 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32391 <limits.h> exists even on freestanding compilers. */
32392
32393 #ifdef __STDC__
32394 # include <limits.h>
32395 #else
32396 # include <assert.h>
32397 #endif
32398
32399 #undef $ac_func
32400
32401 /* Override any gcc2 internal prototype to avoid an error. */
32402 #ifdef __cplusplus
32403 extern "C"
32404 {
32405 #endif
32406 /* We use char because int might match the return type of a gcc2
32407 builtin and then its argument prototype would still apply. */
32408 char $ac_func ();
32409 /* The GNU C library defines this for functions which it implements
32410 to always fail with ENOSYS. Some functions are actually named
32411 something starting with __ and the normal name is an alias. */
32412 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32413 choke me
32414 #else
32415 char (*f) () = $ac_func;
32416 #endif
32417 #ifdef __cplusplus
32418 }
32419 #endif
32420
32421 int
32422 main ()
32423 {
32424 return f != $ac_func;
32425 ;
32426 return 0;
32427 }
32428 _ACEOF
32429 rm -f conftest.$ac_objext conftest$ac_exeext
32430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32431 (eval $ac_link) 2>conftest.er1
32432 ac_status=$?
32433 grep -v '^ *+' conftest.er1 >conftest.err
32434 rm -f conftest.er1
32435 cat conftest.err >&5
32436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32437 (exit $ac_status); } &&
32438 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32440 (eval $ac_try) 2>&5
32441 ac_status=$?
32442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32443 (exit $ac_status); }; } &&
32444 { ac_try='test -s conftest$ac_exeext'
32445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32446 (eval $ac_try) 2>&5
32447 ac_status=$?
32448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32449 (exit $ac_status); }; }; then
32450 eval "$as_ac_var=yes"
32451 else
32452 echo "$as_me: failed program was:" >&5
32453 sed 's/^/| /' conftest.$ac_ext >&5
32454
32455 eval "$as_ac_var=no"
32456 fi
32457 rm -f conftest.err conftest.$ac_objext \
32458 conftest$ac_exeext conftest.$ac_ext
32459 fi
32460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32461 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32462 if test `eval echo '${'$as_ac_var'}'` = yes; then
32463 cat >>confdefs.h <<_ACEOF
32464 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32465 _ACEOF
32466 cat >>confdefs.h <<\_ACEOF
32467 #define HAVE_USLEEP 1
32468 _ACEOF
32469
32470 else
32471 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
32472 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
32473
32474 fi
32475 done
32476
32477
32478
32479 fi
32480
32481
32482
32483 fi
32484 done
32485
32486 fi
32487
32488
32489
32490 for ac_func in uname gethostname
32491 do
32492 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32493 echo "$as_me:$LINENO: checking for $ac_func" >&5
32494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32495 if eval "test \"\${$as_ac_var+set}\" = set"; then
32496 echo $ECHO_N "(cached) $ECHO_C" >&6
32497 else
32498 cat >conftest.$ac_ext <<_ACEOF
32499 /* confdefs.h. */
32500 _ACEOF
32501 cat confdefs.h >>conftest.$ac_ext
32502 cat >>conftest.$ac_ext <<_ACEOF
32503 /* end confdefs.h. */
32504 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32505 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32506 #define $ac_func innocuous_$ac_func
32507
32508 /* System header to define __stub macros and hopefully few prototypes,
32509 which can conflict with char $ac_func (); below.
32510 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32511 <limits.h> exists even on freestanding compilers. */
32512
32513 #ifdef __STDC__
32514 # include <limits.h>
32515 #else
32516 # include <assert.h>
32517 #endif
32518
32519 #undef $ac_func
32520
32521 /* Override any gcc2 internal prototype to avoid an error. */
32522 #ifdef __cplusplus
32523 extern "C"
32524 {
32525 #endif
32526 /* We use char because int might match the return type of a gcc2
32527 builtin and then its argument prototype would still apply. */
32528 char $ac_func ();
32529 /* The GNU C library defines this for functions which it implements
32530 to always fail with ENOSYS. Some functions are actually named
32531 something starting with __ and the normal name is an alias. */
32532 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32533 choke me
32534 #else
32535 char (*f) () = $ac_func;
32536 #endif
32537 #ifdef __cplusplus
32538 }
32539 #endif
32540
32541 int
32542 main ()
32543 {
32544 return f != $ac_func;
32545 ;
32546 return 0;
32547 }
32548 _ACEOF
32549 rm -f conftest.$ac_objext conftest$ac_exeext
32550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32551 (eval $ac_link) 2>conftest.er1
32552 ac_status=$?
32553 grep -v '^ *+' conftest.er1 >conftest.err
32554 rm -f conftest.er1
32555 cat conftest.err >&5
32556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32557 (exit $ac_status); } &&
32558 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32560 (eval $ac_try) 2>&5
32561 ac_status=$?
32562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32563 (exit $ac_status); }; } &&
32564 { ac_try='test -s conftest$ac_exeext'
32565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32566 (eval $ac_try) 2>&5
32567 ac_status=$?
32568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32569 (exit $ac_status); }; }; then
32570 eval "$as_ac_var=yes"
32571 else
32572 echo "$as_me: failed program was:" >&5
32573 sed 's/^/| /' conftest.$ac_ext >&5
32574
32575 eval "$as_ac_var=no"
32576 fi
32577 rm -f conftest.err conftest.$ac_objext \
32578 conftest$ac_exeext conftest.$ac_ext
32579 fi
32580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32581 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32582 if test `eval echo '${'$as_ac_var'}'` = yes; then
32583 cat >>confdefs.h <<_ACEOF
32584 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32585 _ACEOF
32586 break
32587 fi
32588 done
32589
32590
32591
32592
32593 ac_ext=cc
32594 ac_cpp='$CXXCPP $CPPFLAGS'
32595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32598
32599
32600
32601 for ac_func in strtok_r
32602 do
32603 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32604 echo "$as_me:$LINENO: checking for $ac_func" >&5
32605 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32606 if eval "test \"\${$as_ac_var+set}\" = set"; then
32607 echo $ECHO_N "(cached) $ECHO_C" >&6
32608 else
32609 cat >conftest.$ac_ext <<_ACEOF
32610 /* confdefs.h. */
32611 _ACEOF
32612 cat confdefs.h >>conftest.$ac_ext
32613 cat >>conftest.$ac_ext <<_ACEOF
32614 /* end confdefs.h. */
32615 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32616 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32617 #define $ac_func innocuous_$ac_func
32618
32619 /* System header to define __stub macros and hopefully few prototypes,
32620 which can conflict with char $ac_func (); below.
32621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32622 <limits.h> exists even on freestanding compilers. */
32623
32624 #ifdef __STDC__
32625 # include <limits.h>
32626 #else
32627 # include <assert.h>
32628 #endif
32629
32630 #undef $ac_func
32631
32632 /* Override any gcc2 internal prototype to avoid an error. */
32633 #ifdef __cplusplus
32634 extern "C"
32635 {
32636 #endif
32637 /* We use char because int might match the return type of a gcc2
32638 builtin and then its argument prototype would still apply. */
32639 char $ac_func ();
32640 /* The GNU C library defines this for functions which it implements
32641 to always fail with ENOSYS. Some functions are actually named
32642 something starting with __ and the normal name is an alias. */
32643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32644 choke me
32645 #else
32646 char (*f) () = $ac_func;
32647 #endif
32648 #ifdef __cplusplus
32649 }
32650 #endif
32651
32652 int
32653 main ()
32654 {
32655 return f != $ac_func;
32656 ;
32657 return 0;
32658 }
32659 _ACEOF
32660 rm -f conftest.$ac_objext conftest$ac_exeext
32661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32662 (eval $ac_link) 2>conftest.er1
32663 ac_status=$?
32664 grep -v '^ *+' conftest.er1 >conftest.err
32665 rm -f conftest.er1
32666 cat conftest.err >&5
32667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32668 (exit $ac_status); } &&
32669 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32671 (eval $ac_try) 2>&5
32672 ac_status=$?
32673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32674 (exit $ac_status); }; } &&
32675 { ac_try='test -s conftest$ac_exeext'
32676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32677 (eval $ac_try) 2>&5
32678 ac_status=$?
32679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32680 (exit $ac_status); }; }; then
32681 eval "$as_ac_var=yes"
32682 else
32683 echo "$as_me: failed program was:" >&5
32684 sed 's/^/| /' conftest.$ac_ext >&5
32685
32686 eval "$as_ac_var=no"
32687 fi
32688 rm -f conftest.err conftest.$ac_objext \
32689 conftest$ac_exeext conftest.$ac_ext
32690 fi
32691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32692 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32693 if test `eval echo '${'$as_ac_var'}'` = yes; then
32694 cat >>confdefs.h <<_ACEOF
32695 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32696 _ACEOF
32697
32698 fi
32699 done
32700
32701
32702 ac_ext=c
32703 ac_cpp='$CPP $CPPFLAGS'
32704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32707
32708
32709 INET_LINK=
32710
32711 for ac_func in inet_addr
32712 do
32713 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32714 echo "$as_me:$LINENO: checking for $ac_func" >&5
32715 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32716 if eval "test \"\${$as_ac_var+set}\" = set"; then
32717 echo $ECHO_N "(cached) $ECHO_C" >&6
32718 else
32719 cat >conftest.$ac_ext <<_ACEOF
32720 /* confdefs.h. */
32721 _ACEOF
32722 cat confdefs.h >>conftest.$ac_ext
32723 cat >>conftest.$ac_ext <<_ACEOF
32724 /* end confdefs.h. */
32725 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32726 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32727 #define $ac_func innocuous_$ac_func
32728
32729 /* System header to define __stub macros and hopefully few prototypes,
32730 which can conflict with char $ac_func (); below.
32731 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32732 <limits.h> exists even on freestanding compilers. */
32733
32734 #ifdef __STDC__
32735 # include <limits.h>
32736 #else
32737 # include <assert.h>
32738 #endif
32739
32740 #undef $ac_func
32741
32742 /* Override any gcc2 internal prototype to avoid an error. */
32743 #ifdef __cplusplus
32744 extern "C"
32745 {
32746 #endif
32747 /* We use char because int might match the return type of a gcc2
32748 builtin and then its argument prototype would still apply. */
32749 char $ac_func ();
32750 /* The GNU C library defines this for functions which it implements
32751 to always fail with ENOSYS. Some functions are actually named
32752 something starting with __ and the normal name is an alias. */
32753 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32754 choke me
32755 #else
32756 char (*f) () = $ac_func;
32757 #endif
32758 #ifdef __cplusplus
32759 }
32760 #endif
32761
32762 int
32763 main ()
32764 {
32765 return f != $ac_func;
32766 ;
32767 return 0;
32768 }
32769 _ACEOF
32770 rm -f conftest.$ac_objext conftest$ac_exeext
32771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32772 (eval $ac_link) 2>conftest.er1
32773 ac_status=$?
32774 grep -v '^ *+' conftest.er1 >conftest.err
32775 rm -f conftest.er1
32776 cat conftest.err >&5
32777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32778 (exit $ac_status); } &&
32779 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32781 (eval $ac_try) 2>&5
32782 ac_status=$?
32783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32784 (exit $ac_status); }; } &&
32785 { ac_try='test -s conftest$ac_exeext'
32786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32787 (eval $ac_try) 2>&5
32788 ac_status=$?
32789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32790 (exit $ac_status); }; }; then
32791 eval "$as_ac_var=yes"
32792 else
32793 echo "$as_me: failed program was:" >&5
32794 sed 's/^/| /' conftest.$ac_ext >&5
32795
32796 eval "$as_ac_var=no"
32797 fi
32798 rm -f conftest.err conftest.$ac_objext \
32799 conftest$ac_exeext conftest.$ac_ext
32800 fi
32801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32802 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32803 if test `eval echo '${'$as_ac_var'}'` = yes; then
32804 cat >>confdefs.h <<_ACEOF
32805 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32806 _ACEOF
32807 cat >>confdefs.h <<\_ACEOF
32808 #define HAVE_INET_ADDR 1
32809 _ACEOF
32810
32811 else
32812
32813 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
32814 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
32815 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
32816 echo $ECHO_N "(cached) $ECHO_C" >&6
32817 else
32818 ac_check_lib_save_LIBS=$LIBS
32819 LIBS="-lnsl $LIBS"
32820 cat >conftest.$ac_ext <<_ACEOF
32821 /* confdefs.h. */
32822 _ACEOF
32823 cat confdefs.h >>conftest.$ac_ext
32824 cat >>conftest.$ac_ext <<_ACEOF
32825 /* end confdefs.h. */
32826
32827 /* Override any gcc2 internal prototype to avoid an error. */
32828 #ifdef __cplusplus
32829 extern "C"
32830 #endif
32831 /* We use char because int might match the return type of a gcc2
32832 builtin and then its argument prototype would still apply. */
32833 char inet_addr ();
32834 int
32835 main ()
32836 {
32837 inet_addr ();
32838 ;
32839 return 0;
32840 }
32841 _ACEOF
32842 rm -f conftest.$ac_objext conftest$ac_exeext
32843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32844 (eval $ac_link) 2>conftest.er1
32845 ac_status=$?
32846 grep -v '^ *+' conftest.er1 >conftest.err
32847 rm -f conftest.er1
32848 cat conftest.err >&5
32849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32850 (exit $ac_status); } &&
32851 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32853 (eval $ac_try) 2>&5
32854 ac_status=$?
32855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32856 (exit $ac_status); }; } &&
32857 { ac_try='test -s conftest$ac_exeext'
32858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32859 (eval $ac_try) 2>&5
32860 ac_status=$?
32861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32862 (exit $ac_status); }; }; then
32863 ac_cv_lib_nsl_inet_addr=yes
32864 else
32865 echo "$as_me: failed program was:" >&5
32866 sed 's/^/| /' conftest.$ac_ext >&5
32867
32868 ac_cv_lib_nsl_inet_addr=no
32869 fi
32870 rm -f conftest.err conftest.$ac_objext \
32871 conftest$ac_exeext conftest.$ac_ext
32872 LIBS=$ac_check_lib_save_LIBS
32873 fi
32874 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
32875 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
32876 if test $ac_cv_lib_nsl_inet_addr = yes; then
32877 INET_LINK="nsl"
32878 else
32879
32880 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
32881 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
32882 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
32883 echo $ECHO_N "(cached) $ECHO_C" >&6
32884 else
32885 ac_check_lib_save_LIBS=$LIBS
32886 LIBS="-lresolv $LIBS"
32887 cat >conftest.$ac_ext <<_ACEOF
32888 /* confdefs.h. */
32889 _ACEOF
32890 cat confdefs.h >>conftest.$ac_ext
32891 cat >>conftest.$ac_ext <<_ACEOF
32892 /* end confdefs.h. */
32893
32894 /* Override any gcc2 internal prototype to avoid an error. */
32895 #ifdef __cplusplus
32896 extern "C"
32897 #endif
32898 /* We use char because int might match the return type of a gcc2
32899 builtin and then its argument prototype would still apply. */
32900 char inet_addr ();
32901 int
32902 main ()
32903 {
32904 inet_addr ();
32905 ;
32906 return 0;
32907 }
32908 _ACEOF
32909 rm -f conftest.$ac_objext conftest$ac_exeext
32910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32911 (eval $ac_link) 2>conftest.er1
32912 ac_status=$?
32913 grep -v '^ *+' conftest.er1 >conftest.err
32914 rm -f conftest.er1
32915 cat conftest.err >&5
32916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32917 (exit $ac_status); } &&
32918 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32920 (eval $ac_try) 2>&5
32921 ac_status=$?
32922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32923 (exit $ac_status); }; } &&
32924 { ac_try='test -s conftest$ac_exeext'
32925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32926 (eval $ac_try) 2>&5
32927 ac_status=$?
32928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32929 (exit $ac_status); }; }; then
32930 ac_cv_lib_resolv_inet_addr=yes
32931 else
32932 echo "$as_me: failed program was:" >&5
32933 sed 's/^/| /' conftest.$ac_ext >&5
32934
32935 ac_cv_lib_resolv_inet_addr=no
32936 fi
32937 rm -f conftest.err conftest.$ac_objext \
32938 conftest$ac_exeext conftest.$ac_ext
32939 LIBS=$ac_check_lib_save_LIBS
32940 fi
32941 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
32942 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
32943 if test $ac_cv_lib_resolv_inet_addr = yes; then
32944 INET_LINK="resolv"
32945 else
32946
32947 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
32948 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
32949 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
32950 echo $ECHO_N "(cached) $ECHO_C" >&6
32951 else
32952 ac_check_lib_save_LIBS=$LIBS
32953 LIBS="-lsocket $LIBS"
32954 cat >conftest.$ac_ext <<_ACEOF
32955 /* confdefs.h. */
32956 _ACEOF
32957 cat confdefs.h >>conftest.$ac_ext
32958 cat >>conftest.$ac_ext <<_ACEOF
32959 /* end confdefs.h. */
32960
32961 /* Override any gcc2 internal prototype to avoid an error. */
32962 #ifdef __cplusplus
32963 extern "C"
32964 #endif
32965 /* We use char because int might match the return type of a gcc2
32966 builtin and then its argument prototype would still apply. */
32967 char inet_addr ();
32968 int
32969 main ()
32970 {
32971 inet_addr ();
32972 ;
32973 return 0;
32974 }
32975 _ACEOF
32976 rm -f conftest.$ac_objext conftest$ac_exeext
32977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32978 (eval $ac_link) 2>conftest.er1
32979 ac_status=$?
32980 grep -v '^ *+' conftest.er1 >conftest.err
32981 rm -f conftest.er1
32982 cat conftest.err >&5
32983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32984 (exit $ac_status); } &&
32985 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32987 (eval $ac_try) 2>&5
32988 ac_status=$?
32989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32990 (exit $ac_status); }; } &&
32991 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
32997 ac_cv_lib_socket_inet_addr=yes
32998 else
32999 echo "$as_me: failed program was:" >&5
33000 sed 's/^/| /' conftest.$ac_ext >&5
33001
33002 ac_cv_lib_socket_inet_addr=no
33003 fi
33004 rm -f conftest.err conftest.$ac_objext \
33005 conftest$ac_exeext conftest.$ac_ext
33006 LIBS=$ac_check_lib_save_LIBS
33007 fi
33008 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
33009 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
33010 if test $ac_cv_lib_socket_inet_addr = yes; then
33011 INET_LINK="socket"
33012
33013 fi
33014
33015
33016
33017 fi
33018
33019
33020
33021 fi
33022
33023
33024
33025 fi
33026 done
33027
33028
33029
33030 for ac_func in inet_aton
33031 do
33032 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33033 echo "$as_me:$LINENO: checking for $ac_func" >&5
33034 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33035 if eval "test \"\${$as_ac_var+set}\" = set"; then
33036 echo $ECHO_N "(cached) $ECHO_C" >&6
33037 else
33038 cat >conftest.$ac_ext <<_ACEOF
33039 /* confdefs.h. */
33040 _ACEOF
33041 cat confdefs.h >>conftest.$ac_ext
33042 cat >>conftest.$ac_ext <<_ACEOF
33043 /* end confdefs.h. */
33044 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33045 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33046 #define $ac_func innocuous_$ac_func
33047
33048 /* System header to define __stub macros and hopefully few prototypes,
33049 which can conflict with char $ac_func (); below.
33050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33051 <limits.h> exists even on freestanding compilers. */
33052
33053 #ifdef __STDC__
33054 # include <limits.h>
33055 #else
33056 # include <assert.h>
33057 #endif
33058
33059 #undef $ac_func
33060
33061 /* Override any gcc2 internal prototype to avoid an error. */
33062 #ifdef __cplusplus
33063 extern "C"
33064 {
33065 #endif
33066 /* We use char because int might match the return type of a gcc2
33067 builtin and then its argument prototype would still apply. */
33068 char $ac_func ();
33069 /* The GNU C library defines this for functions which it implements
33070 to always fail with ENOSYS. Some functions are actually named
33071 something starting with __ and the normal name is an alias. */
33072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33073 choke me
33074 #else
33075 char (*f) () = $ac_func;
33076 #endif
33077 #ifdef __cplusplus
33078 }
33079 #endif
33080
33081 int
33082 main ()
33083 {
33084 return f != $ac_func;
33085 ;
33086 return 0;
33087 }
33088 _ACEOF
33089 rm -f conftest.$ac_objext conftest$ac_exeext
33090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33091 (eval $ac_link) 2>conftest.er1
33092 ac_status=$?
33093 grep -v '^ *+' conftest.er1 >conftest.err
33094 rm -f conftest.er1
33095 cat conftest.err >&5
33096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33097 (exit $ac_status); } &&
33098 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33100 (eval $ac_try) 2>&5
33101 ac_status=$?
33102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33103 (exit $ac_status); }; } &&
33104 { ac_try='test -s conftest$ac_exeext'
33105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33106 (eval $ac_try) 2>&5
33107 ac_status=$?
33108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33109 (exit $ac_status); }; }; then
33110 eval "$as_ac_var=yes"
33111 else
33112 echo "$as_me: failed program was:" >&5
33113 sed 's/^/| /' conftest.$ac_ext >&5
33114
33115 eval "$as_ac_var=no"
33116 fi
33117 rm -f conftest.err conftest.$ac_objext \
33118 conftest$ac_exeext conftest.$ac_ext
33119 fi
33120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33121 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33122 if test `eval echo '${'$as_ac_var'}'` = yes; then
33123 cat >>confdefs.h <<_ACEOF
33124 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33125 _ACEOF
33126 cat >>confdefs.h <<\_ACEOF
33127 #define HAVE_INET_ATON 1
33128 _ACEOF
33129
33130 else
33131
33132 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
33133 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
33134 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
33135 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
33136 echo $ECHO_N "(cached) $ECHO_C" >&6
33137 else
33138 ac_check_lib_save_LIBS=$LIBS
33139 LIBS="-l$INET_LINK $LIBS"
33140 cat >conftest.$ac_ext <<_ACEOF
33141 /* confdefs.h. */
33142 _ACEOF
33143 cat confdefs.h >>conftest.$ac_ext
33144 cat >>conftest.$ac_ext <<_ACEOF
33145 /* end confdefs.h. */
33146
33147 /* Override any gcc2 internal prototype to avoid an error. */
33148 #ifdef __cplusplus
33149 extern "C"
33150 #endif
33151 /* We use char because int might match the return type of a gcc2
33152 builtin and then its argument prototype would still apply. */
33153 char inet_aton ();
33154 int
33155 main ()
33156 {
33157 inet_aton ();
33158 ;
33159 return 0;
33160 }
33161 _ACEOF
33162 rm -f conftest.$ac_objext conftest$ac_exeext
33163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33164 (eval $ac_link) 2>conftest.er1
33165 ac_status=$?
33166 grep -v '^ *+' conftest.er1 >conftest.err
33167 rm -f conftest.er1
33168 cat conftest.err >&5
33169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33170 (exit $ac_status); } &&
33171 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33173 (eval $ac_try) 2>&5
33174 ac_status=$?
33175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33176 (exit $ac_status); }; } &&
33177 { ac_try='test -s conftest$ac_exeext'
33178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33179 (eval $ac_try) 2>&5
33180 ac_status=$?
33181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33182 (exit $ac_status); }; }; then
33183 eval "$as_ac_Lib=yes"
33184 else
33185 echo "$as_me: failed program was:" >&5
33186 sed 's/^/| /' conftest.$ac_ext >&5
33187
33188 eval "$as_ac_Lib=no"
33189 fi
33190 rm -f conftest.err conftest.$ac_objext \
33191 conftest$ac_exeext conftest.$ac_ext
33192 LIBS=$ac_check_lib_save_LIBS
33193 fi
33194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
33195 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
33196 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
33197 cat >>confdefs.h <<\_ACEOF
33198 #define HAVE_INET_ATON 1
33199 _ACEOF
33200
33201 fi
33202
33203
33204 fi
33205 done
33206
33207
33208 if test "x$INET_LINK" != "x"; then
33209 cat >>confdefs.h <<\_ACEOF
33210 #define HAVE_INET_ADDR 1
33211 _ACEOF
33212
33213 INET_LINK=" -l$INET_LINK"
33214 fi
33215
33216 fi
33217
33218
33219
33220 EXTRALIBS_ESD=
33221 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
33222 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
33223 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
33224 echo $ECHO_N "(cached) $ECHO_C" >&6
33225 else
33226 ac_check_lib_save_LIBS=$LIBS
33227 LIBS="-lesd $LIBS"
33228 cat >conftest.$ac_ext <<_ACEOF
33229 /* confdefs.h. */
33230 _ACEOF
33231 cat confdefs.h >>conftest.$ac_ext
33232 cat >>conftest.$ac_ext <<_ACEOF
33233 /* end confdefs.h. */
33234
33235 /* Override any gcc2 internal prototype to avoid an error. */
33236 #ifdef __cplusplus
33237 extern "C"
33238 #endif
33239 /* We use char because int might match the return type of a gcc2
33240 builtin and then its argument prototype would still apply. */
33241 char esd_close ();
33242 int
33243 main ()
33244 {
33245 esd_close ();
33246 ;
33247 return 0;
33248 }
33249 _ACEOF
33250 rm -f conftest.$ac_objext conftest$ac_exeext
33251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33252 (eval $ac_link) 2>conftest.er1
33253 ac_status=$?
33254 grep -v '^ *+' conftest.er1 >conftest.err
33255 rm -f conftest.er1
33256 cat conftest.err >&5
33257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33258 (exit $ac_status); } &&
33259 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33261 (eval $ac_try) 2>&5
33262 ac_status=$?
33263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33264 (exit $ac_status); }; } &&
33265 { ac_try='test -s conftest$ac_exeext'
33266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33267 (eval $ac_try) 2>&5
33268 ac_status=$?
33269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33270 (exit $ac_status); }; }; then
33271 ac_cv_lib_esd_esd_close=yes
33272 else
33273 echo "$as_me: failed program was:" >&5
33274 sed 's/^/| /' conftest.$ac_ext >&5
33275
33276 ac_cv_lib_esd_esd_close=no
33277 fi
33278 rm -f conftest.err conftest.$ac_objext \
33279 conftest$ac_exeext conftest.$ac_ext
33280 LIBS=$ac_check_lib_save_LIBS
33281 fi
33282 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
33283 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
33284 if test $ac_cv_lib_esd_esd_close = yes; then
33285
33286
33287 for ac_header in esd.h
33288 do
33289 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33290 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33291 echo "$as_me:$LINENO: checking for $ac_header" >&5
33292 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33293 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33294 echo $ECHO_N "(cached) $ECHO_C" >&6
33295 fi
33296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33297 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33298 else
33299 # Is the header compilable?
33300 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33301 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33302 cat >conftest.$ac_ext <<_ACEOF
33303 /* confdefs.h. */
33304 _ACEOF
33305 cat confdefs.h >>conftest.$ac_ext
33306 cat >>conftest.$ac_ext <<_ACEOF
33307 /* end confdefs.h. */
33308 $ac_includes_default
33309 #include <$ac_header>
33310 _ACEOF
33311 rm -f conftest.$ac_objext
33312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33313 (eval $ac_compile) 2>conftest.er1
33314 ac_status=$?
33315 grep -v '^ *+' conftest.er1 >conftest.err
33316 rm -f conftest.er1
33317 cat conftest.err >&5
33318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33319 (exit $ac_status); } &&
33320 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33322 (eval $ac_try) 2>&5
33323 ac_status=$?
33324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33325 (exit $ac_status); }; } &&
33326 { ac_try='test -s conftest.$ac_objext'
33327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33328 (eval $ac_try) 2>&5
33329 ac_status=$?
33330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33331 (exit $ac_status); }; }; then
33332 ac_header_compiler=yes
33333 else
33334 echo "$as_me: failed program was:" >&5
33335 sed 's/^/| /' conftest.$ac_ext >&5
33336
33337 ac_header_compiler=no
33338 fi
33339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33340 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33341 echo "${ECHO_T}$ac_header_compiler" >&6
33342
33343 # Is the header present?
33344 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33345 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33346 cat >conftest.$ac_ext <<_ACEOF
33347 /* confdefs.h. */
33348 _ACEOF
33349 cat confdefs.h >>conftest.$ac_ext
33350 cat >>conftest.$ac_ext <<_ACEOF
33351 /* end confdefs.h. */
33352 #include <$ac_header>
33353 _ACEOF
33354 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33355 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33356 ac_status=$?
33357 grep -v '^ *+' conftest.er1 >conftest.err
33358 rm -f conftest.er1
33359 cat conftest.err >&5
33360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33361 (exit $ac_status); } >/dev/null; then
33362 if test -s conftest.err; then
33363 ac_cpp_err=$ac_c_preproc_warn_flag
33364 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33365 else
33366 ac_cpp_err=
33367 fi
33368 else
33369 ac_cpp_err=yes
33370 fi
33371 if test -z "$ac_cpp_err"; then
33372 ac_header_preproc=yes
33373 else
33374 echo "$as_me: failed program was:" >&5
33375 sed 's/^/| /' conftest.$ac_ext >&5
33376
33377 ac_header_preproc=no
33378 fi
33379 rm -f conftest.err conftest.$ac_ext
33380 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33381 echo "${ECHO_T}$ac_header_preproc" >&6
33382
33383 # So? What about this header?
33384 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33385 yes:no: )
33386 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33387 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33388 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33389 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33390 ac_header_preproc=yes
33391 ;;
33392 no:yes:* )
33393 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33394 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33395 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33396 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33397 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33398 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33399 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33400 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
33401 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33402 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33403 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33404 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33405 (
33406 cat <<\_ASBOX
33407 ## ----------------------------------------- ##
33408 ## Report this to wx-dev@lists.wxwidgets.org ##
33409 ## ----------------------------------------- ##
33410 _ASBOX
33411 ) |
33412 sed "s/^/$as_me: WARNING: /" >&2
33413 ;;
33414 esac
33415 echo "$as_me:$LINENO: checking for $ac_header" >&5
33416 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33417 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33418 echo $ECHO_N "(cached) $ECHO_C" >&6
33419 else
33420 eval "$as_ac_Header=\$ac_header_preproc"
33421 fi
33422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33423 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33424
33425 fi
33426 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33427 cat >>confdefs.h <<_ACEOF
33428 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33429 _ACEOF
33430
33431 EXTRALIBS_ESD="-lesd"
33432
33433 fi
33434
33435 done
33436
33437
33438 fi
33439
33440
33441
33442 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
33443 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
33444 cat >conftest.$ac_ext <<_ACEOF
33445 /* confdefs.h. */
33446 _ACEOF
33447 cat confdefs.h >>conftest.$ac_ext
33448 cat >>conftest.$ac_ext <<_ACEOF
33449 /* end confdefs.h. */
33450 #ifdef __linux__
33451 #include <linux/cdrom.h>
33452 #else
33453 /* For Solaris */
33454 #include <sys/cdio.h>
33455 #endif
33456
33457 int
33458 main ()
33459 {
33460 struct cdrom_tocentry entry, old_entry;
33461 ;
33462 return 0;
33463 }
33464 _ACEOF
33465 rm -f conftest.$ac_objext
33466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33467 (eval $ac_compile) 2>conftest.er1
33468 ac_status=$?
33469 grep -v '^ *+' conftest.er1 >conftest.err
33470 rm -f conftest.er1
33471 cat conftest.err >&5
33472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33473 (exit $ac_status); } &&
33474 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33476 (eval $ac_try) 2>&5
33477 ac_status=$?
33478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33479 (exit $ac_status); }; } &&
33480 { ac_try='test -s conftest.$ac_objext'
33481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33482 (eval $ac_try) 2>&5
33483 ac_status=$?
33484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33485 (exit $ac_status); }; }; then
33486 echo "$as_me:$LINENO: result: yes" >&5
33487 echo "${ECHO_T}yes" >&6
33488 cat >>confdefs.h <<\_ACEOF
33489 #define HAVE_KNOWN_CDROM_INTERFACE 1
33490 _ACEOF
33491
33492 else
33493 echo "$as_me: failed program was:" >&5
33494 sed 's/^/| /' conftest.$ac_ext >&5
33495
33496 echo "$as_me:$LINENO: result: no" >&5
33497 echo "${ECHO_T}no" >&6
33498 fi
33499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33500
33501
33502 cat >confcache <<\_ACEOF
33503 # This file is a shell script that caches the results of configure
33504 # tests run on this system so they can be shared between configure
33505 # scripts and configure runs, see configure's option --config-cache.
33506 # It is not useful on other systems. If it contains results you don't
33507 # want to keep, you may remove or edit it.
33508 #
33509 # config.status only pays attention to the cache file if you give it
33510 # the --recheck option to rerun configure.
33511 #
33512 # `ac_cv_env_foo' variables (set or unset) will be overridden when
33513 # loading this file, other *unset* `ac_cv_foo' will be assigned the
33514 # following values.
33515
33516 _ACEOF
33517
33518 # The following way of writing the cache mishandles newlines in values,
33519 # but we know of no workaround that is simple, portable, and efficient.
33520 # So, don't put newlines in cache variables' values.
33521 # Ultrix sh set writes to stderr and can't be redirected directly,
33522 # and sets the high bit in the cache file unless we assign to the vars.
33523 {
33524 (set) 2>&1 |
33525 case `(ac_space=' '; set | grep ac_space) 2>&1` in
33526 *ac_space=\ *)
33527 # `set' does not quote correctly, so add quotes (double-quote
33528 # substitution turns \\\\ into \\, and sed turns \\ into \).
33529 sed -n \
33530 "s/'/'\\\\''/g;
33531 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
33532 ;;
33533 *)
33534 # `set' quotes correctly as required by POSIX, so do not add quotes.
33535 sed -n \
33536 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
33537 ;;
33538 esac;
33539 } |
33540 sed '
33541 t clear
33542 : clear
33543 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
33544 t end
33545 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33546 : end' >>confcache
33547 if diff $cache_file confcache >/dev/null 2>&1; then :; else
33548 if test -w $cache_file; then
33549 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
33550 cat confcache >$cache_file
33551 else
33552 echo "not updating unwritable cache $cache_file"
33553 fi
33554 fi
33555 rm -f confcache
33556
33557
33558 CPP_MT_FLAG=
33559 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33560
33561
33562 THREADS_LINK=
33563 THREADS_CFLAGS=
33564
33565 if test "$wxUSE_THREADS" = "yes" ; then
33566 if test "$USE_BEOS" = 1; then
33567 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
33568 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
33569 wxUSE_THREADS="no"
33570 fi
33571 fi
33572
33573 if test "$wxUSE_THREADS" = "yes" ; then
33574
33575
33576 THREAD_OPTS="-pthread"
33577 case "${host}" in
33578 *-*-solaris2* | *-*-sunos4* )
33579 if test "x$GCC" = "xyes"; then
33580 THREAD_OPTS="-pthreads $THREAD_OPTS"
33581 else
33582 THREAD_OPTS="-mt $THREAD_OPTS"
33583 fi
33584 ;;
33585 *-*-freebsd*)
33586 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
33587 ;;
33588 *-*-darwin* | *-*-cygwin* )
33589 THREAD_OPTS=""
33590 ;;
33591 *-*-aix*)
33592 THREAD_OPTS="pthreads"
33593 ;;
33594 *-hp-hpux* )
33595 if test "x$GCC" != "xyes"; then
33596 THREAD_OPTS=""
33597 fi
33598 ;;
33599
33600 *-*-irix* )
33601 if test "x$GCC" = "xyes"; then
33602 THREAD_OPTS=""
33603 fi
33604 ;;
33605
33606 *-*-*UnixWare*)
33607 if test "x$GCC" != "xyes"; then
33608 THREAD_OPTS="-Ethread"
33609 fi
33610 ;;
33611 esac
33612
33613 THREAD_OPTS="$THREAD_OPTS pthread none"
33614
33615 THREADS_OK=no
33616 for flag in $THREAD_OPTS; do
33617 case $flag in
33618 none)
33619 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
33620 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
33621 ;;
33622
33623 -*)
33624 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
33625 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
33626 THREADS_CFLAGS="$flag"
33627 ;;
33628
33629 *)
33630 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
33631 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
33632 THREADS_LINK="-l$flag"
33633 ;;
33634 esac
33635
33636 save_LIBS="$LIBS"
33637 save_CFLAGS="$CFLAGS"
33638 LIBS="$THREADS_LINK $LIBS"
33639 CFLAGS="$THREADS_CFLAGS $CFLAGS"
33640
33641 cat >conftest.$ac_ext <<_ACEOF
33642 /* confdefs.h. */
33643 _ACEOF
33644 cat confdefs.h >>conftest.$ac_ext
33645 cat >>conftest.$ac_ext <<_ACEOF
33646 /* end confdefs.h. */
33647 #include <pthread.h>
33648 int
33649 main ()
33650 {
33651 pthread_create(0,0,0,0);
33652 ;
33653 return 0;
33654 }
33655 _ACEOF
33656 rm -f conftest.$ac_objext conftest$ac_exeext
33657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33658 (eval $ac_link) 2>conftest.er1
33659 ac_status=$?
33660 grep -v '^ *+' conftest.er1 >conftest.err
33661 rm -f conftest.er1
33662 cat conftest.err >&5
33663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33664 (exit $ac_status); } &&
33665 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33667 (eval $ac_try) 2>&5
33668 ac_status=$?
33669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33670 (exit $ac_status); }; } &&
33671 { ac_try='test -s conftest$ac_exeext'
33672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33673 (eval $ac_try) 2>&5
33674 ac_status=$?
33675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33676 (exit $ac_status); }; }; then
33677 THREADS_OK=yes
33678 else
33679 echo "$as_me: failed program was:" >&5
33680 sed 's/^/| /' conftest.$ac_ext >&5
33681
33682 fi
33683 rm -f conftest.err conftest.$ac_objext \
33684 conftest$ac_exeext conftest.$ac_ext
33685
33686 LIBS="$save_LIBS"
33687 CFLAGS="$save_CFLAGS"
33688
33689 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
33690 echo "${ECHO_T}$THREADS_OK" >&6
33691 if test "x$THREADS_OK" = "xyes"; then
33692 break;
33693 fi
33694
33695 THREADS_LINK=""
33696 THREADS_CFLAGS=""
33697 done
33698
33699 if test "x$THREADS_OK" != "xyes"; then
33700 wxUSE_THREADS=no
33701 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
33702 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
33703 else
33704 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
33705 LIBS="$THREADS_LINK $LIBS"
33706
33707 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
33708 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
33709 flag=no
33710 case "${host}" in
33711 *-aix*)
33712 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
33713 flag="-D_THREAD_SAFE"
33714 ;;
33715 *-freebsd*)
33716 flag="-D_THREAD_SAFE"
33717 ;;
33718 *-hp-hpux* )
33719 flag="-D_REENTRANT"
33720 if test "x$GCC" != "xyes"; then
33721 flag="$flag -D_RWSTD_MULTI_THREAD"
33722 fi
33723 ;;
33724 *solaris* | alpha*-osf*)
33725 flag="-D_REENTRANT"
33726 ;;
33727 esac
33728 echo "$as_me:$LINENO: result: ${flag}" >&5
33729 echo "${ECHO_T}${flag}" >&6
33730 if test "x$flag" != xno; then
33731 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
33732 fi
33733
33734 if test "x$THREADS_CFLAGS" != "x"; then
33735 CFLAGS="$CFLAGS $THREADS_CFLAGS"
33736 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
33737 fi
33738 fi
33739 fi
33740
33741 if test "$wxUSE_THREADS" = "yes" ; then
33742
33743 for ac_func in thr_setconcurrency
33744 do
33745 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33746 echo "$as_me:$LINENO: checking for $ac_func" >&5
33747 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33748 if eval "test \"\${$as_ac_var+set}\" = set"; then
33749 echo $ECHO_N "(cached) $ECHO_C" >&6
33750 else
33751 cat >conftest.$ac_ext <<_ACEOF
33752 /* confdefs.h. */
33753 _ACEOF
33754 cat confdefs.h >>conftest.$ac_ext
33755 cat >>conftest.$ac_ext <<_ACEOF
33756 /* end confdefs.h. */
33757 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33758 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33759 #define $ac_func innocuous_$ac_func
33760
33761 /* System header to define __stub macros and hopefully few prototypes,
33762 which can conflict with char $ac_func (); below.
33763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33764 <limits.h> exists even on freestanding compilers. */
33765
33766 #ifdef __STDC__
33767 # include <limits.h>
33768 #else
33769 # include <assert.h>
33770 #endif
33771
33772 #undef $ac_func
33773
33774 /* Override any gcc2 internal prototype to avoid an error. */
33775 #ifdef __cplusplus
33776 extern "C"
33777 {
33778 #endif
33779 /* We use char because int might match the return type of a gcc2
33780 builtin and then its argument prototype would still apply. */
33781 char $ac_func ();
33782 /* The GNU C library defines this for functions which it implements
33783 to always fail with ENOSYS. Some functions are actually named
33784 something starting with __ and the normal name is an alias. */
33785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33786 choke me
33787 #else
33788 char (*f) () = $ac_func;
33789 #endif
33790 #ifdef __cplusplus
33791 }
33792 #endif
33793
33794 int
33795 main ()
33796 {
33797 return f != $ac_func;
33798 ;
33799 return 0;
33800 }
33801 _ACEOF
33802 rm -f conftest.$ac_objext conftest$ac_exeext
33803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33804 (eval $ac_link) 2>conftest.er1
33805 ac_status=$?
33806 grep -v '^ *+' conftest.er1 >conftest.err
33807 rm -f conftest.er1
33808 cat conftest.err >&5
33809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33810 (exit $ac_status); } &&
33811 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33813 (eval $ac_try) 2>&5
33814 ac_status=$?
33815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33816 (exit $ac_status); }; } &&
33817 { ac_try='test -s conftest$ac_exeext'
33818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33819 (eval $ac_try) 2>&5
33820 ac_status=$?
33821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33822 (exit $ac_status); }; }; then
33823 eval "$as_ac_var=yes"
33824 else
33825 echo "$as_me: failed program was:" >&5
33826 sed 's/^/| /' conftest.$ac_ext >&5
33827
33828 eval "$as_ac_var=no"
33829 fi
33830 rm -f conftest.err conftest.$ac_objext \
33831 conftest$ac_exeext conftest.$ac_ext
33832 fi
33833 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33834 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33835 if test `eval echo '${'$as_ac_var'}'` = yes; then
33836 cat >>confdefs.h <<_ACEOF
33837 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33838 _ACEOF
33839
33840 fi
33841 done
33842
33843
33844
33845 for ac_header in sched.h
33846 do
33847 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33848 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33849 echo "$as_me:$LINENO: checking for $ac_header" >&5
33850 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33851 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33852 echo $ECHO_N "(cached) $ECHO_C" >&6
33853 fi
33854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33855 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33856 else
33857 # Is the header compilable?
33858 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33859 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33860 cat >conftest.$ac_ext <<_ACEOF
33861 /* confdefs.h. */
33862 _ACEOF
33863 cat confdefs.h >>conftest.$ac_ext
33864 cat >>conftest.$ac_ext <<_ACEOF
33865 /* end confdefs.h. */
33866 $ac_includes_default
33867 #include <$ac_header>
33868 _ACEOF
33869 rm -f conftest.$ac_objext
33870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33871 (eval $ac_compile) 2>conftest.er1
33872 ac_status=$?
33873 grep -v '^ *+' conftest.er1 >conftest.err
33874 rm -f conftest.er1
33875 cat conftest.err >&5
33876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33877 (exit $ac_status); } &&
33878 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33880 (eval $ac_try) 2>&5
33881 ac_status=$?
33882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33883 (exit $ac_status); }; } &&
33884 { ac_try='test -s conftest.$ac_objext'
33885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33886 (eval $ac_try) 2>&5
33887 ac_status=$?
33888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33889 (exit $ac_status); }; }; then
33890 ac_header_compiler=yes
33891 else
33892 echo "$as_me: failed program was:" >&5
33893 sed 's/^/| /' conftest.$ac_ext >&5
33894
33895 ac_header_compiler=no
33896 fi
33897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33898 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33899 echo "${ECHO_T}$ac_header_compiler" >&6
33900
33901 # Is the header present?
33902 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33903 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33904 cat >conftest.$ac_ext <<_ACEOF
33905 /* confdefs.h. */
33906 _ACEOF
33907 cat confdefs.h >>conftest.$ac_ext
33908 cat >>conftest.$ac_ext <<_ACEOF
33909 /* end confdefs.h. */
33910 #include <$ac_header>
33911 _ACEOF
33912 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33913 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33914 ac_status=$?
33915 grep -v '^ *+' conftest.er1 >conftest.err
33916 rm -f conftest.er1
33917 cat conftest.err >&5
33918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33919 (exit $ac_status); } >/dev/null; then
33920 if test -s conftest.err; then
33921 ac_cpp_err=$ac_c_preproc_warn_flag
33922 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33923 else
33924 ac_cpp_err=
33925 fi
33926 else
33927 ac_cpp_err=yes
33928 fi
33929 if test -z "$ac_cpp_err"; then
33930 ac_header_preproc=yes
33931 else
33932 echo "$as_me: failed program was:" >&5
33933 sed 's/^/| /' conftest.$ac_ext >&5
33934
33935 ac_header_preproc=no
33936 fi
33937 rm -f conftest.err conftest.$ac_ext
33938 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33939 echo "${ECHO_T}$ac_header_preproc" >&6
33940
33941 # So? What about this header?
33942 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33943 yes:no: )
33944 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33945 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33946 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33947 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33948 ac_header_preproc=yes
33949 ;;
33950 no:yes:* )
33951 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33952 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33953 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33954 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33955 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33956 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33957 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33958 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
33959 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33960 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33961 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33962 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33963 (
33964 cat <<\_ASBOX
33965 ## ----------------------------------------- ##
33966 ## Report this to wx-dev@lists.wxwidgets.org ##
33967 ## ----------------------------------------- ##
33968 _ASBOX
33969 ) |
33970 sed "s/^/$as_me: WARNING: /" >&2
33971 ;;
33972 esac
33973 echo "$as_me:$LINENO: checking for $ac_header" >&5
33974 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33975 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33976 echo $ECHO_N "(cached) $ECHO_C" >&6
33977 else
33978 eval "$as_ac_Header=\$ac_header_preproc"
33979 fi
33980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33981 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33982
33983 fi
33984 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33985 cat >>confdefs.h <<_ACEOF
33986 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33987 _ACEOF
33988
33989 fi
33990
33991 done
33992
33993 if test "$ac_cv_header_sched_h" = "yes"; then
33994 echo "$as_me:$LINENO: checking for sched_yield" >&5
33995 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
33996 if test "${ac_cv_func_sched_yield+set}" = set; then
33997 echo $ECHO_N "(cached) $ECHO_C" >&6
33998 else
33999 cat >conftest.$ac_ext <<_ACEOF
34000 /* confdefs.h. */
34001 _ACEOF
34002 cat confdefs.h >>conftest.$ac_ext
34003 cat >>conftest.$ac_ext <<_ACEOF
34004 /* end confdefs.h. */
34005 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
34006 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34007 #define sched_yield innocuous_sched_yield
34008
34009 /* System header to define __stub macros and hopefully few prototypes,
34010 which can conflict with char sched_yield (); below.
34011 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34012 <limits.h> exists even on freestanding compilers. */
34013
34014 #ifdef __STDC__
34015 # include <limits.h>
34016 #else
34017 # include <assert.h>
34018 #endif
34019
34020 #undef sched_yield
34021
34022 /* Override any gcc2 internal prototype to avoid an error. */
34023 #ifdef __cplusplus
34024 extern "C"
34025 {
34026 #endif
34027 /* We use char because int might match the return type of a gcc2
34028 builtin and then its argument prototype would still apply. */
34029 char sched_yield ();
34030 /* The GNU C library defines this for functions which it implements
34031 to always fail with ENOSYS. Some functions are actually named
34032 something starting with __ and the normal name is an alias. */
34033 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
34034 choke me
34035 #else
34036 char (*f) () = sched_yield;
34037 #endif
34038 #ifdef __cplusplus
34039 }
34040 #endif
34041
34042 int
34043 main ()
34044 {
34045 return f != sched_yield;
34046 ;
34047 return 0;
34048 }
34049 _ACEOF
34050 rm -f conftest.$ac_objext conftest$ac_exeext
34051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34052 (eval $ac_link) 2>conftest.er1
34053 ac_status=$?
34054 grep -v '^ *+' conftest.er1 >conftest.err
34055 rm -f conftest.er1
34056 cat conftest.err >&5
34057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34058 (exit $ac_status); } &&
34059 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34061 (eval $ac_try) 2>&5
34062 ac_status=$?
34063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34064 (exit $ac_status); }; } &&
34065 { ac_try='test -s conftest$ac_exeext'
34066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34067 (eval $ac_try) 2>&5
34068 ac_status=$?
34069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34070 (exit $ac_status); }; }; then
34071 ac_cv_func_sched_yield=yes
34072 else
34073 echo "$as_me: failed program was:" >&5
34074 sed 's/^/| /' conftest.$ac_ext >&5
34075
34076 ac_cv_func_sched_yield=no
34077 fi
34078 rm -f conftest.err conftest.$ac_objext \
34079 conftest$ac_exeext conftest.$ac_ext
34080 fi
34081 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
34082 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
34083 if test $ac_cv_func_sched_yield = yes; then
34084 cat >>confdefs.h <<\_ACEOF
34085 #define HAVE_SCHED_YIELD 1
34086 _ACEOF
34087
34088 else
34089
34090 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
34091 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
34092 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
34093 echo $ECHO_N "(cached) $ECHO_C" >&6
34094 else
34095 ac_check_lib_save_LIBS=$LIBS
34096 LIBS="-lposix4 $LIBS"
34097 cat >conftest.$ac_ext <<_ACEOF
34098 /* confdefs.h. */
34099 _ACEOF
34100 cat confdefs.h >>conftest.$ac_ext
34101 cat >>conftest.$ac_ext <<_ACEOF
34102 /* end confdefs.h. */
34103
34104 /* Override any gcc2 internal prototype to avoid an error. */
34105 #ifdef __cplusplus
34106 extern "C"
34107 #endif
34108 /* We use char because int might match the return type of a gcc2
34109 builtin and then its argument prototype would still apply. */
34110 char sched_yield ();
34111 int
34112 main ()
34113 {
34114 sched_yield ();
34115 ;
34116 return 0;
34117 }
34118 _ACEOF
34119 rm -f conftest.$ac_objext conftest$ac_exeext
34120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34121 (eval $ac_link) 2>conftest.er1
34122 ac_status=$?
34123 grep -v '^ *+' conftest.er1 >conftest.err
34124 rm -f conftest.er1
34125 cat conftest.err >&5
34126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34127 (exit $ac_status); } &&
34128 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34130 (eval $ac_try) 2>&5
34131 ac_status=$?
34132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34133 (exit $ac_status); }; } &&
34134 { ac_try='test -s conftest$ac_exeext'
34135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34136 (eval $ac_try) 2>&5
34137 ac_status=$?
34138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34139 (exit $ac_status); }; }; then
34140 ac_cv_lib_posix4_sched_yield=yes
34141 else
34142 echo "$as_me: failed program was:" >&5
34143 sed 's/^/| /' conftest.$ac_ext >&5
34144
34145 ac_cv_lib_posix4_sched_yield=no
34146 fi
34147 rm -f conftest.err conftest.$ac_objext \
34148 conftest$ac_exeext conftest.$ac_ext
34149 LIBS=$ac_check_lib_save_LIBS
34150 fi
34151 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
34152 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
34153 if test $ac_cv_lib_posix4_sched_yield = yes; then
34154 cat >>confdefs.h <<\_ACEOF
34155 #define HAVE_SCHED_YIELD 1
34156 _ACEOF
34157 POSIX4_LINK=" -lposix4"
34158 else
34159 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
34160 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
34161
34162 fi
34163
34164
34165
34166 fi
34167
34168 fi
34169
34170 HAVE_PRIOR_FUNCS=0
34171 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
34172 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
34173 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
34174 echo $ECHO_N "(cached) $ECHO_C" >&6
34175 else
34176 cat >conftest.$ac_ext <<_ACEOF
34177 /* confdefs.h. */
34178 _ACEOF
34179 cat confdefs.h >>conftest.$ac_ext
34180 cat >>conftest.$ac_ext <<_ACEOF
34181 /* end confdefs.h. */
34182 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
34183 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34184 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
34185
34186 /* System header to define __stub macros and hopefully few prototypes,
34187 which can conflict with char pthread_attr_getschedpolicy (); below.
34188 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34189 <limits.h> exists even on freestanding compilers. */
34190
34191 #ifdef __STDC__
34192 # include <limits.h>
34193 #else
34194 # include <assert.h>
34195 #endif
34196
34197 #undef pthread_attr_getschedpolicy
34198
34199 /* Override any gcc2 internal prototype to avoid an error. */
34200 #ifdef __cplusplus
34201 extern "C"
34202 {
34203 #endif
34204 /* We use char because int might match the return type of a gcc2
34205 builtin and then its argument prototype would still apply. */
34206 char pthread_attr_getschedpolicy ();
34207 /* The GNU C library defines this for functions which it implements
34208 to always fail with ENOSYS. Some functions are actually named
34209 something starting with __ and the normal name is an alias. */
34210 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
34211 choke me
34212 #else
34213 char (*f) () = pthread_attr_getschedpolicy;
34214 #endif
34215 #ifdef __cplusplus
34216 }
34217 #endif
34218
34219 int
34220 main ()
34221 {
34222 return f != pthread_attr_getschedpolicy;
34223 ;
34224 return 0;
34225 }
34226 _ACEOF
34227 rm -f conftest.$ac_objext conftest$ac_exeext
34228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34229 (eval $ac_link) 2>conftest.er1
34230 ac_status=$?
34231 grep -v '^ *+' conftest.er1 >conftest.err
34232 rm -f conftest.er1
34233 cat conftest.err >&5
34234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34235 (exit $ac_status); } &&
34236 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34238 (eval $ac_try) 2>&5
34239 ac_status=$?
34240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34241 (exit $ac_status); }; } &&
34242 { ac_try='test -s conftest$ac_exeext'
34243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34244 (eval $ac_try) 2>&5
34245 ac_status=$?
34246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34247 (exit $ac_status); }; }; then
34248 ac_cv_func_pthread_attr_getschedpolicy=yes
34249 else
34250 echo "$as_me: failed program was:" >&5
34251 sed 's/^/| /' conftest.$ac_ext >&5
34252
34253 ac_cv_func_pthread_attr_getschedpolicy=no
34254 fi
34255 rm -f conftest.err conftest.$ac_objext \
34256 conftest$ac_exeext conftest.$ac_ext
34257 fi
34258 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
34259 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
34260 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
34261 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
34262 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
34263 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
34264 echo $ECHO_N "(cached) $ECHO_C" >&6
34265 else
34266 cat >conftest.$ac_ext <<_ACEOF
34267 /* confdefs.h. */
34268 _ACEOF
34269 cat confdefs.h >>conftest.$ac_ext
34270 cat >>conftest.$ac_ext <<_ACEOF
34271 /* end confdefs.h. */
34272 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
34273 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34274 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
34275
34276 /* System header to define __stub macros and hopefully few prototypes,
34277 which can conflict with char pthread_attr_setschedparam (); below.
34278 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34279 <limits.h> exists even on freestanding compilers. */
34280
34281 #ifdef __STDC__
34282 # include <limits.h>
34283 #else
34284 # include <assert.h>
34285 #endif
34286
34287 #undef pthread_attr_setschedparam
34288
34289 /* Override any gcc2 internal prototype to avoid an error. */
34290 #ifdef __cplusplus
34291 extern "C"
34292 {
34293 #endif
34294 /* We use char because int might match the return type of a gcc2
34295 builtin and then its argument prototype would still apply. */
34296 char pthread_attr_setschedparam ();
34297 /* The GNU C library defines this for functions which it implements
34298 to always fail with ENOSYS. Some functions are actually named
34299 something starting with __ and the normal name is an alias. */
34300 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
34301 choke me
34302 #else
34303 char (*f) () = pthread_attr_setschedparam;
34304 #endif
34305 #ifdef __cplusplus
34306 }
34307 #endif
34308
34309 int
34310 main ()
34311 {
34312 return f != pthread_attr_setschedparam;
34313 ;
34314 return 0;
34315 }
34316 _ACEOF
34317 rm -f conftest.$ac_objext conftest$ac_exeext
34318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34319 (eval $ac_link) 2>conftest.er1
34320 ac_status=$?
34321 grep -v '^ *+' conftest.er1 >conftest.err
34322 rm -f conftest.er1
34323 cat conftest.err >&5
34324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34325 (exit $ac_status); } &&
34326 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34328 (eval $ac_try) 2>&5
34329 ac_status=$?
34330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34331 (exit $ac_status); }; } &&
34332 { ac_try='test -s conftest$ac_exeext'
34333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34334 (eval $ac_try) 2>&5
34335 ac_status=$?
34336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34337 (exit $ac_status); }; }; then
34338 ac_cv_func_pthread_attr_setschedparam=yes
34339 else
34340 echo "$as_me: failed program was:" >&5
34341 sed 's/^/| /' conftest.$ac_ext >&5
34342
34343 ac_cv_func_pthread_attr_setschedparam=no
34344 fi
34345 rm -f conftest.err conftest.$ac_objext \
34346 conftest$ac_exeext conftest.$ac_ext
34347 fi
34348 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
34349 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
34350 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
34351 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
34352 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
34353 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
34354 echo $ECHO_N "(cached) $ECHO_C" >&6
34355 else
34356 cat >conftest.$ac_ext <<_ACEOF
34357 /* confdefs.h. */
34358 _ACEOF
34359 cat confdefs.h >>conftest.$ac_ext
34360 cat >>conftest.$ac_ext <<_ACEOF
34361 /* end confdefs.h. */
34362 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
34363 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34364 #define sched_get_priority_max innocuous_sched_get_priority_max
34365
34366 /* System header to define __stub macros and hopefully few prototypes,
34367 which can conflict with char sched_get_priority_max (); below.
34368 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34369 <limits.h> exists even on freestanding compilers. */
34370
34371 #ifdef __STDC__
34372 # include <limits.h>
34373 #else
34374 # include <assert.h>
34375 #endif
34376
34377 #undef sched_get_priority_max
34378
34379 /* Override any gcc2 internal prototype to avoid an error. */
34380 #ifdef __cplusplus
34381 extern "C"
34382 {
34383 #endif
34384 /* We use char because int might match the return type of a gcc2
34385 builtin and then its argument prototype would still apply. */
34386 char sched_get_priority_max ();
34387 /* The GNU C library defines this for functions which it implements
34388 to always fail with ENOSYS. Some functions are actually named
34389 something starting with __ and the normal name is an alias. */
34390 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
34391 choke me
34392 #else
34393 char (*f) () = sched_get_priority_max;
34394 #endif
34395 #ifdef __cplusplus
34396 }
34397 #endif
34398
34399 int
34400 main ()
34401 {
34402 return f != sched_get_priority_max;
34403 ;
34404 return 0;
34405 }
34406 _ACEOF
34407 rm -f conftest.$ac_objext conftest$ac_exeext
34408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34409 (eval $ac_link) 2>conftest.er1
34410 ac_status=$?
34411 grep -v '^ *+' conftest.er1 >conftest.err
34412 rm -f conftest.er1
34413 cat conftest.err >&5
34414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34415 (exit $ac_status); } &&
34416 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34418 (eval $ac_try) 2>&5
34419 ac_status=$?
34420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34421 (exit $ac_status); }; } &&
34422 { ac_try='test -s conftest$ac_exeext'
34423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34424 (eval $ac_try) 2>&5
34425 ac_status=$?
34426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34427 (exit $ac_status); }; }; then
34428 ac_cv_func_sched_get_priority_max=yes
34429 else
34430 echo "$as_me: failed program was:" >&5
34431 sed 's/^/| /' conftest.$ac_ext >&5
34432
34433 ac_cv_func_sched_get_priority_max=no
34434 fi
34435 rm -f conftest.err conftest.$ac_objext \
34436 conftest$ac_exeext conftest.$ac_ext
34437 fi
34438 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
34439 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
34440 if test $ac_cv_func_sched_get_priority_max = yes; then
34441 HAVE_PRIOR_FUNCS=1
34442 else
34443 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
34444 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
34445 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
34446 echo $ECHO_N "(cached) $ECHO_C" >&6
34447 else
34448 ac_check_lib_save_LIBS=$LIBS
34449 LIBS="-lposix4 $LIBS"
34450 cat >conftest.$ac_ext <<_ACEOF
34451 /* confdefs.h. */
34452 _ACEOF
34453 cat confdefs.h >>conftest.$ac_ext
34454 cat >>conftest.$ac_ext <<_ACEOF
34455 /* end confdefs.h. */
34456
34457 /* Override any gcc2 internal prototype to avoid an error. */
34458 #ifdef __cplusplus
34459 extern "C"
34460 #endif
34461 /* We use char because int might match the return type of a gcc2
34462 builtin and then its argument prototype would still apply. */
34463 char sched_get_priority_max ();
34464 int
34465 main ()
34466 {
34467 sched_get_priority_max ();
34468 ;
34469 return 0;
34470 }
34471 _ACEOF
34472 rm -f conftest.$ac_objext conftest$ac_exeext
34473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34474 (eval $ac_link) 2>conftest.er1
34475 ac_status=$?
34476 grep -v '^ *+' conftest.er1 >conftest.err
34477 rm -f conftest.er1
34478 cat conftest.err >&5
34479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34480 (exit $ac_status); } &&
34481 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34483 (eval $ac_try) 2>&5
34484 ac_status=$?
34485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34486 (exit $ac_status); }; } &&
34487 { ac_try='test -s conftest$ac_exeext'
34488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34489 (eval $ac_try) 2>&5
34490 ac_status=$?
34491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34492 (exit $ac_status); }; }; then
34493 ac_cv_lib_posix4_sched_get_priority_max=yes
34494 else
34495 echo "$as_me: failed program was:" >&5
34496 sed 's/^/| /' conftest.$ac_ext >&5
34497
34498 ac_cv_lib_posix4_sched_get_priority_max=no
34499 fi
34500 rm -f conftest.err conftest.$ac_objext \
34501 conftest$ac_exeext conftest.$ac_ext
34502 LIBS=$ac_check_lib_save_LIBS
34503 fi
34504 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
34505 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
34506 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
34507
34508 HAVE_PRIOR_FUNCS=1
34509 POSIX4_LINK=" -lposix4"
34510
34511 fi
34512
34513
34514 fi
34515
34516
34517 fi
34518
34519
34520 fi
34521
34522
34523 if test "$HAVE_PRIOR_FUNCS" = 1; then
34524 cat >>confdefs.h <<\_ACEOF
34525 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
34526 _ACEOF
34527
34528 else
34529 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
34530 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
34531 fi
34532
34533 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
34534 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
34535 if test "${ac_cv_func_pthread_cancel+set}" = set; then
34536 echo $ECHO_N "(cached) $ECHO_C" >&6
34537 else
34538 cat >conftest.$ac_ext <<_ACEOF
34539 /* confdefs.h. */
34540 _ACEOF
34541 cat confdefs.h >>conftest.$ac_ext
34542 cat >>conftest.$ac_ext <<_ACEOF
34543 /* end confdefs.h. */
34544 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
34545 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34546 #define pthread_cancel innocuous_pthread_cancel
34547
34548 /* System header to define __stub macros and hopefully few prototypes,
34549 which can conflict with char pthread_cancel (); below.
34550 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34551 <limits.h> exists even on freestanding compilers. */
34552
34553 #ifdef __STDC__
34554 # include <limits.h>
34555 #else
34556 # include <assert.h>
34557 #endif
34558
34559 #undef pthread_cancel
34560
34561 /* Override any gcc2 internal prototype to avoid an error. */
34562 #ifdef __cplusplus
34563 extern "C"
34564 {
34565 #endif
34566 /* We use char because int might match the return type of a gcc2
34567 builtin and then its argument prototype would still apply. */
34568 char pthread_cancel ();
34569 /* The GNU C library defines this for functions which it implements
34570 to always fail with ENOSYS. Some functions are actually named
34571 something starting with __ and the normal name is an alias. */
34572 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
34573 choke me
34574 #else
34575 char (*f) () = pthread_cancel;
34576 #endif
34577 #ifdef __cplusplus
34578 }
34579 #endif
34580
34581 int
34582 main ()
34583 {
34584 return f != pthread_cancel;
34585 ;
34586 return 0;
34587 }
34588 _ACEOF
34589 rm -f conftest.$ac_objext conftest$ac_exeext
34590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34591 (eval $ac_link) 2>conftest.er1
34592 ac_status=$?
34593 grep -v '^ *+' conftest.er1 >conftest.err
34594 rm -f conftest.er1
34595 cat conftest.err >&5
34596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34597 (exit $ac_status); } &&
34598 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34600 (eval $ac_try) 2>&5
34601 ac_status=$?
34602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34603 (exit $ac_status); }; } &&
34604 { ac_try='test -s conftest$ac_exeext'
34605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34606 (eval $ac_try) 2>&5
34607 ac_status=$?
34608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34609 (exit $ac_status); }; }; then
34610 ac_cv_func_pthread_cancel=yes
34611 else
34612 echo "$as_me: failed program was:" >&5
34613 sed 's/^/| /' conftest.$ac_ext >&5
34614
34615 ac_cv_func_pthread_cancel=no
34616 fi
34617 rm -f conftest.err conftest.$ac_objext \
34618 conftest$ac_exeext conftest.$ac_ext
34619 fi
34620 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
34621 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
34622 if test $ac_cv_func_pthread_cancel = yes; then
34623 cat >>confdefs.h <<\_ACEOF
34624 #define HAVE_PTHREAD_CANCEL 1
34625 _ACEOF
34626
34627 else
34628 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
34629 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
34630 fi
34631
34632
34633
34634
34635 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
34636 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
34637 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
34638 echo $ECHO_N "(cached) $ECHO_C" >&6
34639 else
34640
34641 cat >conftest.$ac_ext <<_ACEOF
34642 /* confdefs.h. */
34643 _ACEOF
34644 cat confdefs.h >>conftest.$ac_ext
34645 cat >>conftest.$ac_ext <<_ACEOF
34646 /* end confdefs.h. */
34647 #include <pthread.h>
34648 int
34649 main ()
34650 {
34651
34652 pthread_mutexattr_t attr;
34653 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
34654
34655 ;
34656 return 0;
34657 }
34658 _ACEOF
34659 rm -f conftest.$ac_objext
34660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34661 (eval $ac_compile) 2>conftest.er1
34662 ac_status=$?
34663 grep -v '^ *+' conftest.er1 >conftest.err
34664 rm -f conftest.er1
34665 cat conftest.err >&5
34666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34667 (exit $ac_status); } &&
34668 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34670 (eval $ac_try) 2>&5
34671 ac_status=$?
34672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34673 (exit $ac_status); }; } &&
34674 { ac_try='test -s conftest.$ac_objext'
34675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34676 (eval $ac_try) 2>&5
34677 ac_status=$?
34678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34679 (exit $ac_status); }; }; then
34680
34681 wx_cv_type_pthread_mutexattr_t=yes
34682
34683 else
34684 echo "$as_me: failed program was:" >&5
34685 sed 's/^/| /' conftest.$ac_ext >&5
34686
34687
34688 wx_cv_type_pthread_mutexattr_t=no
34689
34690
34691 fi
34692 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34693
34694 fi
34695 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
34696 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
34697
34698 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
34699 cat >>confdefs.h <<\_ACEOF
34700 #define HAVE_PTHREAD_MUTEXATTR_T 1
34701 _ACEOF
34702
34703 else
34704 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
34705 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
34706 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
34707 echo $ECHO_N "(cached) $ECHO_C" >&6
34708 else
34709
34710 cat >conftest.$ac_ext <<_ACEOF
34711 /* confdefs.h. */
34712 _ACEOF
34713 cat confdefs.h >>conftest.$ac_ext
34714 cat >>conftest.$ac_ext <<_ACEOF
34715 /* end confdefs.h. */
34716 #include <pthread.h>
34717 int
34718 main ()
34719 {
34720
34721 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
34722
34723 ;
34724 return 0;
34725 }
34726 _ACEOF
34727 rm -f conftest.$ac_objext
34728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34729 (eval $ac_compile) 2>conftest.er1
34730 ac_status=$?
34731 grep -v '^ *+' conftest.er1 >conftest.err
34732 rm -f conftest.er1
34733 cat conftest.err >&5
34734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34735 (exit $ac_status); } &&
34736 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34738 (eval $ac_try) 2>&5
34739 ac_status=$?
34740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34741 (exit $ac_status); }; } &&
34742 { ac_try='test -s conftest.$ac_objext'
34743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34744 (eval $ac_try) 2>&5
34745 ac_status=$?
34746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34747 (exit $ac_status); }; }; then
34748
34749 wx_cv_type_pthread_rec_mutex_init=yes
34750
34751 else
34752 echo "$as_me: failed program was:" >&5
34753 sed 's/^/| /' conftest.$ac_ext >&5
34754
34755
34756 wx_cv_type_pthread_rec_mutex_init=no
34757
34758
34759 fi
34760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34761
34762 fi
34763 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
34764 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
34765 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
34766 cat >>confdefs.h <<\_ACEOF
34767 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
34768 _ACEOF
34769
34770 else
34771 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
34772 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
34773 fi
34774 fi
34775 fi
34776
34777 else
34778 if test "$wxUSE_THREADS" = "yes" ; then
34779 case "${host}" in
34780 *-*-mingw32* )
34781 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
34782 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
34783 if test "${wx_cv_cflags_mthread+set}" = set; then
34784 echo $ECHO_N "(cached) $ECHO_C" >&6
34785 else
34786
34787 CFLAGS_OLD="$CFLAGS"
34788 CFLAGS="$CFLAGS -mthreads"
34789 cat >conftest.$ac_ext <<_ACEOF
34790 /* confdefs.h. */
34791 _ACEOF
34792 cat confdefs.h >>conftest.$ac_ext
34793 cat >>conftest.$ac_ext <<_ACEOF
34794 /* end confdefs.h. */
34795
34796 int
34797 main ()
34798 {
34799
34800 ;
34801 return 0;
34802 }
34803 _ACEOF
34804 rm -f conftest.$ac_objext
34805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34806 (eval $ac_compile) 2>conftest.er1
34807 ac_status=$?
34808 grep -v '^ *+' conftest.er1 >conftest.err
34809 rm -f conftest.er1
34810 cat conftest.err >&5
34811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34812 (exit $ac_status); } &&
34813 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34815 (eval $ac_try) 2>&5
34816 ac_status=$?
34817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34818 (exit $ac_status); }; } &&
34819 { ac_try='test -s conftest.$ac_objext'
34820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34821 (eval $ac_try) 2>&5
34822 ac_status=$?
34823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34824 (exit $ac_status); }; }; then
34825 wx_cv_cflags_mthread=yes
34826 else
34827 echo "$as_me: failed program was:" >&5
34828 sed 's/^/| /' conftest.$ac_ext >&5
34829
34830 wx_cv_cflags_mthread=no
34831
34832 fi
34833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34834
34835
34836 fi
34837 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
34838 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
34839
34840 if test "$wx_cv_cflags_mthread" = "yes"; then
34841 CXXFLAGS="$CXXFLAGS -mthreads"
34842 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
34843 LDFLAGS="$LDFLAGS -mthreads"
34844 else
34845 CFLAGS="$CFLAGS_OLD"
34846 fi
34847 ;;
34848 *-pc-os2*emx )
34849 CFLAGS="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
34850 CXXFLAGS="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
34851 LDFLAGS="$LDFLAGS -Zmt"
34852 ;;
34853 esac
34854 fi
34855 fi
34856
34857 if test "$wxUSE_THREADS" = "yes"; then
34858 cat >>confdefs.h <<\_ACEOF
34859 #define wxUSE_THREADS 1
34860 _ACEOF
34861
34862
34863 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
34864 else
34865 if test "$ac_cv_func_strtok_r" = "yes"; then
34866 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
34867 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
34868 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
34869 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
34870 echo "$as_me:$LINENO: result: yes" >&5
34871 echo "${ECHO_T}yes" >&6
34872 else
34873 echo "$as_me:$LINENO: result: no" >&5
34874 echo "${ECHO_T}no" >&6
34875 fi
34876 fi
34877 fi
34878
34879 if test "$WXGTK20" = 1 ; then
34880 cat >>confdefs.h <<_ACEOF
34881 #define __WXGTK20__ $WXGTK20
34882 _ACEOF
34883
34884 WXGTK12=1
34885 fi
34886
34887 if test "$WXGTK12" = 1 ; then
34888 cat >>confdefs.h <<_ACEOF
34889 #define __WXGTK12__ $WXGTK12
34890 _ACEOF
34891
34892 fi
34893
34894 if test "$WXGTK127" = 1 ; then
34895 cat >>confdefs.h <<_ACEOF
34896 #define __WXGTK127__ $WXGTK127
34897 _ACEOF
34898
34899 fi
34900
34901 if test "$WXGPE" = 1 ; then
34902 cat >>confdefs.h <<_ACEOF
34903 #define __WXGPE__ $WXGPE
34904 _ACEOF
34905
34906 fi
34907
34908 WXDEBUG=
34909
34910 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
34911 WXDEBUG="-g"
34912 wxUSE_OPTIMISE=no
34913 fi
34914
34915 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
34916 wxUSE_DEBUG_INFO=yes
34917 WXDEBUG="-ggdb"
34918 fi
34919
34920 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
34921 cat >>confdefs.h <<\_ACEOF
34922 #define WXDEBUG 1
34923 _ACEOF
34924
34925 WXDEBUG_DEFINE="-D__WXDEBUG__"
34926 else
34927 if test "$wxUSE_GTK" = 1 ; then
34928 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
34929 fi
34930 fi
34931
34932 if test "$wxUSE_MEM_TRACING" = "yes" ; then
34933 cat >>confdefs.h <<\_ACEOF
34934 #define wxUSE_MEMORY_TRACING 1
34935 _ACEOF
34936
34937 cat >>confdefs.h <<\_ACEOF
34938 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
34939 _ACEOF
34940
34941 cat >>confdefs.h <<\_ACEOF
34942 #define wxUSE_DEBUG_NEW_ALWAYS 1
34943 _ACEOF
34944
34945 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
34946 fi
34947
34948 if test "$wxUSE_DMALLOC" = "yes" ; then
34949 DMALLOC_LIBS="-ldmalloc"
34950 fi
34951
34952 PROFILE=
34953 if test "$wxUSE_PROFILE" = "yes" ; then
34954 PROFILE=" -pg"
34955 fi
34956
34957 CODE_GEN_FLAGS=
34958 CODE_GEN_FLAGS_CXX=
34959 if test "$GCC" = "yes" ; then
34960 if test "$wxUSE_NO_RTTI" = "yes" ; then
34961 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
34962 fi
34963 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
34964 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
34965 fi
34966 if test "$wxUSE_PERMISSIVE" = "yes" ; then
34967 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
34968 fi
34969
34970 case "${host}" in
34971 powerpc*-*-aix* )
34972 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
34973 ;;
34974 *-hppa* )
34975 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
34976 ;;
34977 esac
34978 fi
34979
34980 OPTIMISE=
34981 if test "$wxUSE_OPTIMISE" = "no" ; then
34982 if test "$GCC" = yes ; then
34983 OPTIMISE="-O0"
34984 fi
34985 else
34986 if test "$GCC" = yes ; then
34987 OPTIMISE="-O2"
34988
34989 case "${host}" in
34990 i586-*-*|i686-*-* )
34991 OPTIMISE="${OPTIMISE} "
34992 ;;
34993 esac
34994 else
34995 OPTIMISE="-O"
34996 fi
34997 fi
34998
34999
35000 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
35001 cat >>confdefs.h <<\_ACEOF
35002 #define WXWIN_COMPATIBILITY_2_2 1
35003 _ACEOF
35004
35005
35006 WXWIN_COMPATIBILITY_2_4="yes"
35007 fi
35008
35009 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
35010 cat >>confdefs.h <<\_ACEOF
35011 #define WXWIN_COMPATIBILITY_2_4 1
35012 _ACEOF
35013
35014 fi
35015
35016
35017 if test "$wxUSE_GUI" = "yes"; then
35018 cat >>confdefs.h <<\_ACEOF
35019 #define wxUSE_GUI 1
35020 _ACEOF
35021
35022
35023 fi
35024
35025
35026 if test "$wxUSE_UNIX" = "yes"; then
35027 cat >>confdefs.h <<\_ACEOF
35028 #define wxUSE_UNIX 1
35029 _ACEOF
35030
35031 fi
35032
35033
35034 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
35035
35036 HAVE_DL_FUNCS=0
35037 HAVE_SHL_FUNCS=0
35038 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
35039 if test "$USE_DARWIN" = 1; then
35040 HAVE_DL_FUNCS=1
35041 else
35042
35043 for ac_func in dlopen
35044 do
35045 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35046 echo "$as_me:$LINENO: checking for $ac_func" >&5
35047 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35048 if eval "test \"\${$as_ac_var+set}\" = set"; then
35049 echo $ECHO_N "(cached) $ECHO_C" >&6
35050 else
35051 cat >conftest.$ac_ext <<_ACEOF
35052 /* confdefs.h. */
35053 _ACEOF
35054 cat confdefs.h >>conftest.$ac_ext
35055 cat >>conftest.$ac_ext <<_ACEOF
35056 /* end confdefs.h. */
35057 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35058 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35059 #define $ac_func innocuous_$ac_func
35060
35061 /* System header to define __stub macros and hopefully few prototypes,
35062 which can conflict with char $ac_func (); below.
35063 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35064 <limits.h> exists even on freestanding compilers. */
35065
35066 #ifdef __STDC__
35067 # include <limits.h>
35068 #else
35069 # include <assert.h>
35070 #endif
35071
35072 #undef $ac_func
35073
35074 /* Override any gcc2 internal prototype to avoid an error. */
35075 #ifdef __cplusplus
35076 extern "C"
35077 {
35078 #endif
35079 /* We use char because int might match the return type of a gcc2
35080 builtin and then its argument prototype would still apply. */
35081 char $ac_func ();
35082 /* The GNU C library defines this for functions which it implements
35083 to always fail with ENOSYS. Some functions are actually named
35084 something starting with __ and the normal name is an alias. */
35085 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35086 choke me
35087 #else
35088 char (*f) () = $ac_func;
35089 #endif
35090 #ifdef __cplusplus
35091 }
35092 #endif
35093
35094 int
35095 main ()
35096 {
35097 return f != $ac_func;
35098 ;
35099 return 0;
35100 }
35101 _ACEOF
35102 rm -f conftest.$ac_objext conftest$ac_exeext
35103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35104 (eval $ac_link) 2>conftest.er1
35105 ac_status=$?
35106 grep -v '^ *+' conftest.er1 >conftest.err
35107 rm -f conftest.er1
35108 cat conftest.err >&5
35109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35110 (exit $ac_status); } &&
35111 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35113 (eval $ac_try) 2>&5
35114 ac_status=$?
35115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35116 (exit $ac_status); }; } &&
35117 { ac_try='test -s conftest$ac_exeext'
35118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35119 (eval $ac_try) 2>&5
35120 ac_status=$?
35121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35122 (exit $ac_status); }; }; then
35123 eval "$as_ac_var=yes"
35124 else
35125 echo "$as_me: failed program was:" >&5
35126 sed 's/^/| /' conftest.$ac_ext >&5
35127
35128 eval "$as_ac_var=no"
35129 fi
35130 rm -f conftest.err conftest.$ac_objext \
35131 conftest$ac_exeext conftest.$ac_ext
35132 fi
35133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35135 if test `eval echo '${'$as_ac_var'}'` = yes; then
35136 cat >>confdefs.h <<_ACEOF
35137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35138 _ACEOF
35139
35140 cat >>confdefs.h <<\_ACEOF
35141 #define HAVE_DLOPEN 1
35142 _ACEOF
35143
35144 HAVE_DL_FUNCS=1
35145
35146 else
35147
35148 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
35149 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
35150 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
35151 echo $ECHO_N "(cached) $ECHO_C" >&6
35152 else
35153 ac_check_lib_save_LIBS=$LIBS
35154 LIBS="-ldl $LIBS"
35155 cat >conftest.$ac_ext <<_ACEOF
35156 /* confdefs.h. */
35157 _ACEOF
35158 cat confdefs.h >>conftest.$ac_ext
35159 cat >>conftest.$ac_ext <<_ACEOF
35160 /* end confdefs.h. */
35161
35162 /* Override any gcc2 internal prototype to avoid an error. */
35163 #ifdef __cplusplus
35164 extern "C"
35165 #endif
35166 /* We use char because int might match the return type of a gcc2
35167 builtin and then its argument prototype would still apply. */
35168 char dlopen ();
35169 int
35170 main ()
35171 {
35172 dlopen ();
35173 ;
35174 return 0;
35175 }
35176 _ACEOF
35177 rm -f conftest.$ac_objext conftest$ac_exeext
35178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35179 (eval $ac_link) 2>conftest.er1
35180 ac_status=$?
35181 grep -v '^ *+' conftest.er1 >conftest.err
35182 rm -f conftest.er1
35183 cat conftest.err >&5
35184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35185 (exit $ac_status); } &&
35186 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35188 (eval $ac_try) 2>&5
35189 ac_status=$?
35190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35191 (exit $ac_status); }; } &&
35192 { ac_try='test -s conftest$ac_exeext'
35193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35194 (eval $ac_try) 2>&5
35195 ac_status=$?
35196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35197 (exit $ac_status); }; }; then
35198 ac_cv_lib_dl_dlopen=yes
35199 else
35200 echo "$as_me: failed program was:" >&5
35201 sed 's/^/| /' conftest.$ac_ext >&5
35202
35203 ac_cv_lib_dl_dlopen=no
35204 fi
35205 rm -f conftest.err conftest.$ac_objext \
35206 conftest$ac_exeext conftest.$ac_ext
35207 LIBS=$ac_check_lib_save_LIBS
35208 fi
35209 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
35210 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
35211 if test $ac_cv_lib_dl_dlopen = yes; then
35212
35213 cat >>confdefs.h <<\_ACEOF
35214 #define HAVE_DLOPEN 1
35215 _ACEOF
35216
35217 HAVE_DL_FUNCS=1
35218 DL_LINK=" -ldl$DL_LINK"
35219
35220 else
35221
35222
35223 for ac_func in shl_load
35224 do
35225 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35226 echo "$as_me:$LINENO: checking for $ac_func" >&5
35227 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35228 if eval "test \"\${$as_ac_var+set}\" = set"; then
35229 echo $ECHO_N "(cached) $ECHO_C" >&6
35230 else
35231 cat >conftest.$ac_ext <<_ACEOF
35232 /* confdefs.h. */
35233 _ACEOF
35234 cat confdefs.h >>conftest.$ac_ext
35235 cat >>conftest.$ac_ext <<_ACEOF
35236 /* end confdefs.h. */
35237 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35238 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35239 #define $ac_func innocuous_$ac_func
35240
35241 /* System header to define __stub macros and hopefully few prototypes,
35242 which can conflict with char $ac_func (); below.
35243 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35244 <limits.h> exists even on freestanding compilers. */
35245
35246 #ifdef __STDC__
35247 # include <limits.h>
35248 #else
35249 # include <assert.h>
35250 #endif
35251
35252 #undef $ac_func
35253
35254 /* Override any gcc2 internal prototype to avoid an error. */
35255 #ifdef __cplusplus
35256 extern "C"
35257 {
35258 #endif
35259 /* We use char because int might match the return type of a gcc2
35260 builtin and then its argument prototype would still apply. */
35261 char $ac_func ();
35262 /* The GNU C library defines this for functions which it implements
35263 to always fail with ENOSYS. Some functions are actually named
35264 something starting with __ and the normal name is an alias. */
35265 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35266 choke me
35267 #else
35268 char (*f) () = $ac_func;
35269 #endif
35270 #ifdef __cplusplus
35271 }
35272 #endif
35273
35274 int
35275 main ()
35276 {
35277 return f != $ac_func;
35278 ;
35279 return 0;
35280 }
35281 _ACEOF
35282 rm -f conftest.$ac_objext conftest$ac_exeext
35283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35284 (eval $ac_link) 2>conftest.er1
35285 ac_status=$?
35286 grep -v '^ *+' conftest.er1 >conftest.err
35287 rm -f conftest.er1
35288 cat conftest.err >&5
35289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35290 (exit $ac_status); } &&
35291 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35293 (eval $ac_try) 2>&5
35294 ac_status=$?
35295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35296 (exit $ac_status); }; } &&
35297 { ac_try='test -s conftest$ac_exeext'
35298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35299 (eval $ac_try) 2>&5
35300 ac_status=$?
35301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35302 (exit $ac_status); }; }; then
35303 eval "$as_ac_var=yes"
35304 else
35305 echo "$as_me: failed program was:" >&5
35306 sed 's/^/| /' conftest.$ac_ext >&5
35307
35308 eval "$as_ac_var=no"
35309 fi
35310 rm -f conftest.err conftest.$ac_objext \
35311 conftest$ac_exeext conftest.$ac_ext
35312 fi
35313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35314 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35315 if test `eval echo '${'$as_ac_var'}'` = yes; then
35316 cat >>confdefs.h <<_ACEOF
35317 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35318 _ACEOF
35319
35320 cat >>confdefs.h <<\_ACEOF
35321 #define HAVE_SHL_LOAD 1
35322 _ACEOF
35323
35324 HAVE_SHL_FUNCS=1
35325
35326 else
35327
35328 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
35329 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
35330 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
35331 echo $ECHO_N "(cached) $ECHO_C" >&6
35332 else
35333 ac_check_lib_save_LIBS=$LIBS
35334 LIBS="-lshl_load $LIBS"
35335 cat >conftest.$ac_ext <<_ACEOF
35336 /* confdefs.h. */
35337 _ACEOF
35338 cat confdefs.h >>conftest.$ac_ext
35339 cat >>conftest.$ac_ext <<_ACEOF
35340 /* end confdefs.h. */
35341
35342 /* Override any gcc2 internal prototype to avoid an error. */
35343 #ifdef __cplusplus
35344 extern "C"
35345 #endif
35346 /* We use char because int might match the return type of a gcc2
35347 builtin and then its argument prototype would still apply. */
35348 char dld ();
35349 int
35350 main ()
35351 {
35352 dld ();
35353 ;
35354 return 0;
35355 }
35356 _ACEOF
35357 rm -f conftest.$ac_objext conftest$ac_exeext
35358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35359 (eval $ac_link) 2>conftest.er1
35360 ac_status=$?
35361 grep -v '^ *+' conftest.er1 >conftest.err
35362 rm -f conftest.er1
35363 cat conftest.err >&5
35364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35365 (exit $ac_status); } &&
35366 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35368 (eval $ac_try) 2>&5
35369 ac_status=$?
35370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35371 (exit $ac_status); }; } &&
35372 { ac_try='test -s conftest$ac_exeext'
35373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35374 (eval $ac_try) 2>&5
35375 ac_status=$?
35376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35377 (exit $ac_status); }; }; then
35378 ac_cv_lib_shl_load_dld=yes
35379 else
35380 echo "$as_me: failed program was:" >&5
35381 sed 's/^/| /' conftest.$ac_ext >&5
35382
35383 ac_cv_lib_shl_load_dld=no
35384 fi
35385 rm -f conftest.err conftest.$ac_objext \
35386 conftest$ac_exeext conftest.$ac_ext
35387 LIBS=$ac_check_lib_save_LIBS
35388 fi
35389 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
35390 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
35391 if test $ac_cv_lib_shl_load_dld = yes; then
35392
35393 HAVE_SHL_FUNCS=1
35394 DL_LINK=" -ldld$DL_LINK"
35395
35396 fi
35397
35398
35399 fi
35400 done
35401
35402
35403 fi
35404
35405
35406 fi
35407 done
35408
35409
35410 if test "$HAVE_DL_FUNCS" = 1; then
35411
35412 for ac_func in dlerror
35413 do
35414 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35415 echo "$as_me:$LINENO: checking for $ac_func" >&5
35416 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35417 if eval "test \"\${$as_ac_var+set}\" = set"; then
35418 echo $ECHO_N "(cached) $ECHO_C" >&6
35419 else
35420 cat >conftest.$ac_ext <<_ACEOF
35421 /* confdefs.h. */
35422 _ACEOF
35423 cat confdefs.h >>conftest.$ac_ext
35424 cat >>conftest.$ac_ext <<_ACEOF
35425 /* end confdefs.h. */
35426 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35428 #define $ac_func innocuous_$ac_func
35429
35430 /* System header to define __stub macros and hopefully few prototypes,
35431 which can conflict with char $ac_func (); below.
35432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35433 <limits.h> exists even on freestanding compilers. */
35434
35435 #ifdef __STDC__
35436 # include <limits.h>
35437 #else
35438 # include <assert.h>
35439 #endif
35440
35441 #undef $ac_func
35442
35443 /* Override any gcc2 internal prototype to avoid an error. */
35444 #ifdef __cplusplus
35445 extern "C"
35446 {
35447 #endif
35448 /* We use char because int might match the return type of a gcc2
35449 builtin and then its argument prototype would still apply. */
35450 char $ac_func ();
35451 /* The GNU C library defines this for functions which it implements
35452 to always fail with ENOSYS. Some functions are actually named
35453 something starting with __ and the normal name is an alias. */
35454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35455 choke me
35456 #else
35457 char (*f) () = $ac_func;
35458 #endif
35459 #ifdef __cplusplus
35460 }
35461 #endif
35462
35463 int
35464 main ()
35465 {
35466 return f != $ac_func;
35467 ;
35468 return 0;
35469 }
35470 _ACEOF
35471 rm -f conftest.$ac_objext conftest$ac_exeext
35472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35473 (eval $ac_link) 2>conftest.er1
35474 ac_status=$?
35475 grep -v '^ *+' conftest.er1 >conftest.err
35476 rm -f conftest.er1
35477 cat conftest.err >&5
35478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35479 (exit $ac_status); } &&
35480 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35482 (eval $ac_try) 2>&5
35483 ac_status=$?
35484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35485 (exit $ac_status); }; } &&
35486 { ac_try='test -s conftest$ac_exeext'
35487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35488 (eval $ac_try) 2>&5
35489 ac_status=$?
35490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35491 (exit $ac_status); }; }; then
35492 eval "$as_ac_var=yes"
35493 else
35494 echo "$as_me: failed program was:" >&5
35495 sed 's/^/| /' conftest.$ac_ext >&5
35496
35497 eval "$as_ac_var=no"
35498 fi
35499 rm -f conftest.err conftest.$ac_objext \
35500 conftest$ac_exeext conftest.$ac_ext
35501 fi
35502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35503 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35504 if test `eval echo '${'$as_ac_var'}'` = yes; then
35505 cat >>confdefs.h <<_ACEOF
35506 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35507 _ACEOF
35508 cat >>confdefs.h <<\_ACEOF
35509 #define HAVE_DLERROR 1
35510 _ACEOF
35511
35512 else
35513
35514 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
35515 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
35516 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
35517 echo $ECHO_N "(cached) $ECHO_C" >&6
35518 else
35519 ac_check_lib_save_LIBS=$LIBS
35520 LIBS="-ldl $LIBS"
35521 cat >conftest.$ac_ext <<_ACEOF
35522 /* confdefs.h. */
35523 _ACEOF
35524 cat confdefs.h >>conftest.$ac_ext
35525 cat >>conftest.$ac_ext <<_ACEOF
35526 /* end confdefs.h. */
35527
35528 /* Override any gcc2 internal prototype to avoid an error. */
35529 #ifdef __cplusplus
35530 extern "C"
35531 #endif
35532 /* We use char because int might match the return type of a gcc2
35533 builtin and then its argument prototype would still apply. */
35534 char dlerror ();
35535 int
35536 main ()
35537 {
35538 dlerror ();
35539 ;
35540 return 0;
35541 }
35542 _ACEOF
35543 rm -f conftest.$ac_objext conftest$ac_exeext
35544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35545 (eval $ac_link) 2>conftest.er1
35546 ac_status=$?
35547 grep -v '^ *+' conftest.er1 >conftest.err
35548 rm -f conftest.er1
35549 cat conftest.err >&5
35550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35551 (exit $ac_status); } &&
35552 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35554 (eval $ac_try) 2>&5
35555 ac_status=$?
35556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35557 (exit $ac_status); }; } &&
35558 { ac_try='test -s conftest$ac_exeext'
35559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35560 (eval $ac_try) 2>&5
35561 ac_status=$?
35562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35563 (exit $ac_status); }; }; then
35564 ac_cv_lib_dl_dlerror=yes
35565 else
35566 echo "$as_me: failed program was:" >&5
35567 sed 's/^/| /' conftest.$ac_ext >&5
35568
35569 ac_cv_lib_dl_dlerror=no
35570 fi
35571 rm -f conftest.err conftest.$ac_objext \
35572 conftest$ac_exeext conftest.$ac_ext
35573 LIBS=$ac_check_lib_save_LIBS
35574 fi
35575 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
35576 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
35577 if test $ac_cv_lib_dl_dlerror = yes; then
35578 cat >>confdefs.h <<\_ACEOF
35579 #define HAVE_DLERROR 1
35580 _ACEOF
35581
35582 fi
35583
35584
35585
35586 fi
35587 done
35588
35589 fi
35590 fi
35591
35592 if test "$HAVE_DL_FUNCS" = 0; then
35593 if test "$HAVE_SHL_FUNCS" = 0; then
35594 if test "$USE_UNIX" = 1; then
35595 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
35596 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
35597 wxUSE_DYNAMIC_LOADER=no
35598 wxUSE_DYNLIB_CLASS=no
35599 else
35600 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
35601 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
35602 fi
35603 fi
35604 fi
35605 fi
35606 fi
35607
35608 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
35609 cat >>confdefs.h <<\_ACEOF
35610 #define wxUSE_DYNAMIC_LOADER 1
35611 _ACEOF
35612
35613 fi
35614 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
35615 cat >>confdefs.h <<\_ACEOF
35616 #define wxUSE_DYNLIB_CLASS 1
35617 _ACEOF
35618
35619 fi
35620
35621
35622
35623 if test "$wxUSE_PLUGINS" = "yes" ; then
35624 if test "$wxUSE_SHARED" = "no" ; then
35625 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
35626 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
35627 wxUSE_PLUGINS=no
35628 fi
35629 if test "$wxUSE_MONOLITHIC" = "yes" ; then
35630 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
35631 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
35632 wxUSE_PLUGINS=no
35633 fi
35634 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
35635 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
35636 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
35637 wxUSE_PLUGINS=no
35638 fi
35639 if test "$wxUSE_PLUGINS" = "yes" ; then
35640 cat >>confdefs.h <<\_ACEOF
35641 #define wxUSE_PLUGINS 1
35642 _ACEOF
35643
35644 fi
35645 fi
35646
35647
35648 if test "$wxUSE_STL" = "yes"; then
35649 cat >>confdefs.h <<\_ACEOF
35650 #define wxUSE_STL 1
35651 _ACEOF
35652
35653 fi
35654
35655 if test "$wxUSE_APPLE_IEEE" = "yes"; then
35656 cat >>confdefs.h <<\_ACEOF
35657 #define wxUSE_APPLE_IEEE 1
35658 _ACEOF
35659
35660 fi
35661
35662 if test "$wxUSE_TIMER" = "yes"; then
35663 cat >>confdefs.h <<\_ACEOF
35664 #define wxUSE_TIMER 1
35665 _ACEOF
35666
35667 fi
35668
35669 WITH_PLUGIN_SDL=0
35670 if test "$wxUSE_SOUND" = "yes"; then
35671 if test "$USE_UNIX" = "1" ; then
35672
35673 for ac_header in sys/soundcard.h
35674 do
35675 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35676 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35677 echo "$as_me:$LINENO: checking for $ac_header" >&5
35678 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35679 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35680 echo $ECHO_N "(cached) $ECHO_C" >&6
35681 fi
35682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35683 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35684 else
35685 # Is the header compilable?
35686 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35687 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35688 cat >conftest.$ac_ext <<_ACEOF
35689 /* confdefs.h. */
35690 _ACEOF
35691 cat confdefs.h >>conftest.$ac_ext
35692 cat >>conftest.$ac_ext <<_ACEOF
35693 /* end confdefs.h. */
35694 $ac_includes_default
35695 #include <$ac_header>
35696 _ACEOF
35697 rm -f conftest.$ac_objext
35698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35699 (eval $ac_compile) 2>conftest.er1
35700 ac_status=$?
35701 grep -v '^ *+' conftest.er1 >conftest.err
35702 rm -f conftest.er1
35703 cat conftest.err >&5
35704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35705 (exit $ac_status); } &&
35706 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35708 (eval $ac_try) 2>&5
35709 ac_status=$?
35710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35711 (exit $ac_status); }; } &&
35712 { ac_try='test -s conftest.$ac_objext'
35713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35714 (eval $ac_try) 2>&5
35715 ac_status=$?
35716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35717 (exit $ac_status); }; }; then
35718 ac_header_compiler=yes
35719 else
35720 echo "$as_me: failed program was:" >&5
35721 sed 's/^/| /' conftest.$ac_ext >&5
35722
35723 ac_header_compiler=no
35724 fi
35725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35726 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35727 echo "${ECHO_T}$ac_header_compiler" >&6
35728
35729 # Is the header present?
35730 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35731 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35732 cat >conftest.$ac_ext <<_ACEOF
35733 /* confdefs.h. */
35734 _ACEOF
35735 cat confdefs.h >>conftest.$ac_ext
35736 cat >>conftest.$ac_ext <<_ACEOF
35737 /* end confdefs.h. */
35738 #include <$ac_header>
35739 _ACEOF
35740 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35741 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
35742 ac_status=$?
35743 grep -v '^ *+' conftest.er1 >conftest.err
35744 rm -f conftest.er1
35745 cat conftest.err >&5
35746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35747 (exit $ac_status); } >/dev/null; then
35748 if test -s conftest.err; then
35749 ac_cpp_err=$ac_c_preproc_warn_flag
35750 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
35751 else
35752 ac_cpp_err=
35753 fi
35754 else
35755 ac_cpp_err=yes
35756 fi
35757 if test -z "$ac_cpp_err"; then
35758 ac_header_preproc=yes
35759 else
35760 echo "$as_me: failed program was:" >&5
35761 sed 's/^/| /' conftest.$ac_ext >&5
35762
35763 ac_header_preproc=no
35764 fi
35765 rm -f conftest.err conftest.$ac_ext
35766 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35767 echo "${ECHO_T}$ac_header_preproc" >&6
35768
35769 # So? What about this header?
35770 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35771 yes:no: )
35772 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35773 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35774 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35775 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35776 ac_header_preproc=yes
35777 ;;
35778 no:yes:* )
35779 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35780 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35781 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35782 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35783 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35784 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35785 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35786 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35787 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35788 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35789 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35790 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35791 (
35792 cat <<\_ASBOX
35793 ## ----------------------------------------- ##
35794 ## Report this to wx-dev@lists.wxwidgets.org ##
35795 ## ----------------------------------------- ##
35796 _ASBOX
35797 ) |
35798 sed "s/^/$as_me: WARNING: /" >&2
35799 ;;
35800 esac
35801 echo "$as_me:$LINENO: checking for $ac_header" >&5
35802 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35803 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35804 echo $ECHO_N "(cached) $ECHO_C" >&6
35805 else
35806 eval "$as_ac_Header=\$ac_header_preproc"
35807 fi
35808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35809 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35810
35811 fi
35812 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35813 cat >>confdefs.h <<_ACEOF
35814 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35815 _ACEOF
35816
35817 fi
35818
35819 done
35820
35821
35822 if test "$wxUSE_LIBSDL" != "no"; then
35823
35824 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
35825 if test "${with_sdl_prefix+set}" = set; then
35826 withval="$with_sdl_prefix"
35827 sdl_prefix="$withval"
35828 else
35829 sdl_prefix=""
35830 fi;
35831
35832 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
35833 if test "${with_sdl_exec_prefix+set}" = set; then
35834 withval="$with_sdl_exec_prefix"
35835 sdl_exec_prefix="$withval"
35836 else
35837 sdl_exec_prefix=""
35838 fi;
35839 # Check whether --enable-sdltest or --disable-sdltest was given.
35840 if test "${enable_sdltest+set}" = set; then
35841 enableval="$enable_sdltest"
35842
35843 else
35844 enable_sdltest=yes
35845 fi;
35846
35847 if test x$sdl_exec_prefix != x ; then
35848 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
35849 if test x${SDL_CONFIG+set} != xset ; then
35850 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
35851 fi
35852 fi
35853 if test x$sdl_prefix != x ; then
35854 sdl_args="$sdl_args --prefix=$sdl_prefix"
35855 if test x${SDL_CONFIG+set} != xset ; then
35856 SDL_CONFIG=$sdl_prefix/bin/sdl-config
35857 fi
35858 fi
35859
35860
35861 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
35862 # Extract the first word of "sdl-config", so it can be a program name with args.
35863 set dummy sdl-config; ac_word=$2
35864 echo "$as_me:$LINENO: checking for $ac_word" >&5
35865 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35866 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
35867 echo $ECHO_N "(cached) $ECHO_C" >&6
35868 else
35869 case $SDL_CONFIG in
35870 [\\/]* | ?:[\\/]*)
35871 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
35872 ;;
35873 *)
35874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35875 for as_dir in $PATH
35876 do
35877 IFS=$as_save_IFS
35878 test -z "$as_dir" && as_dir=.
35879 for ac_exec_ext in '' $ac_executable_extensions; do
35880 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35881 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
35882 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35883 break 2
35884 fi
35885 done
35886 done
35887
35888 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
35889 ;;
35890 esac
35891 fi
35892 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
35893
35894 if test -n "$SDL_CONFIG"; then
35895 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
35896 echo "${ECHO_T}$SDL_CONFIG" >&6
35897 else
35898 echo "$as_me:$LINENO: result: no" >&5
35899 echo "${ECHO_T}no" >&6
35900 fi
35901
35902 min_sdl_version=1.2.0
35903 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
35904 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
35905 no_sdl=""
35906 if test "$SDL_CONFIG" = "no" ; then
35907 no_sdl=yes
35908 else
35909 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
35910 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
35911
35912 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
35913 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
35914 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
35915 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
35916 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
35917 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
35918 if test "x$enable_sdltest" = "xyes" ; then
35919 ac_save_CFLAGS="$CFLAGS"
35920 ac_save_CXXFLAGS="$CXXFLAGS"
35921 ac_save_LIBS="$LIBS"
35922 CFLAGS="$CFLAGS $SDL_CFLAGS"
35923 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
35924 LIBS="$LIBS $SDL_LIBS"
35925 rm -f conf.sdltest
35926 if test "$cross_compiling" = yes; then
35927 echo $ac_n "cross compiling; assumed OK... $ac_c"
35928 else
35929 cat >conftest.$ac_ext <<_ACEOF
35930 /* confdefs.h. */
35931 _ACEOF
35932 cat confdefs.h >>conftest.$ac_ext
35933 cat >>conftest.$ac_ext <<_ACEOF
35934 /* end confdefs.h. */
35935
35936 #include <stdio.h>
35937 #include <stdlib.h>
35938 #include <string.h>
35939 #include "SDL.h"
35940
35941 char*
35942 my_strdup (char *str)
35943 {
35944 char *new_str;
35945
35946 if (str)
35947 {
35948 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
35949 strcpy (new_str, str);
35950 }
35951 else
35952 new_str = NULL;
35953
35954 return new_str;
35955 }
35956
35957 int main (int argc, char *argv[])
35958 {
35959 int major, minor, micro;
35960 char *tmp_version;
35961
35962 /* This hangs on some systems (?)
35963 system ("touch conf.sdltest");
35964 */
35965 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
35966
35967 /* HP/UX 9 (%@#!) writes to sscanf strings */
35968 tmp_version = my_strdup("$min_sdl_version");
35969 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
35970 printf("%s, bad version string\n", "$min_sdl_version");
35971 exit(1);
35972 }
35973
35974 if (($sdl_major_version > major) ||
35975 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
35976 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
35977 {
35978 return 0;
35979 }
35980 else
35981 {
35982 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
35983 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
35984 printf("*** best to upgrade to the required version.\n");
35985 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
35986 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
35987 printf("*** config.cache before re-running configure\n");
35988 return 1;
35989 }
35990 }
35991
35992
35993 _ACEOF
35994 rm -f conftest$ac_exeext
35995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35996 (eval $ac_link) 2>&5
35997 ac_status=$?
35998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35999 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
36000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36001 (eval $ac_try) 2>&5
36002 ac_status=$?
36003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36004 (exit $ac_status); }; }; then
36005 :
36006 else
36007 echo "$as_me: program exited with status $ac_status" >&5
36008 echo "$as_me: failed program was:" >&5
36009 sed 's/^/| /' conftest.$ac_ext >&5
36010
36011 ( exit $ac_status )
36012 no_sdl=yes
36013 fi
36014 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
36015 fi
36016 CFLAGS="$ac_save_CFLAGS"
36017 CXXFLAGS="$ac_save_CXXFLAGS"
36018 LIBS="$ac_save_LIBS"
36019 fi
36020 fi
36021 if test "x$no_sdl" = x ; then
36022 echo "$as_me:$LINENO: result: yes" >&5
36023 echo "${ECHO_T}yes" >&6
36024
36025 EXTRALIBS_SDL="$SDL_LIBS"
36026 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
36027 cat >>confdefs.h <<\_ACEOF
36028 #define wxUSE_LIBSDL 1
36029 _ACEOF
36030
36031
36032 else
36033 echo "$as_me:$LINENO: result: no" >&5
36034 echo "${ECHO_T}no" >&6
36035 if test "$SDL_CONFIG" = "no" ; then
36036 echo "*** The sdl-config script installed by SDL could not be found"
36037 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
36038 echo "*** your path, or set the SDL_CONFIG environment variable to the"
36039 echo "*** full path to sdl-config."
36040 else
36041 if test -f conf.sdltest ; then
36042 :
36043 else
36044 echo "*** Could not run SDL test program, checking why..."
36045 CFLAGS="$CFLAGS $SDL_CFLAGS"
36046 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
36047 LIBS="$LIBS $SDL_LIBS"
36048 cat >conftest.$ac_ext <<_ACEOF
36049 /* confdefs.h. */
36050 _ACEOF
36051 cat confdefs.h >>conftest.$ac_ext
36052 cat >>conftest.$ac_ext <<_ACEOF
36053 /* end confdefs.h. */
36054
36055 #include <stdio.h>
36056 #include "SDL.h"
36057
36058 int main(int argc, char *argv[])
36059 { return 0; }
36060 #undef main
36061 #define main K_and_R_C_main
36062
36063 int
36064 main ()
36065 {
36066 return 0;
36067 ;
36068 return 0;
36069 }
36070 _ACEOF
36071 rm -f conftest.$ac_objext conftest$ac_exeext
36072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36073 (eval $ac_link) 2>conftest.er1
36074 ac_status=$?
36075 grep -v '^ *+' conftest.er1 >conftest.err
36076 rm -f conftest.er1
36077 cat conftest.err >&5
36078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36079 (exit $ac_status); } &&
36080 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36082 (eval $ac_try) 2>&5
36083 ac_status=$?
36084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36085 (exit $ac_status); }; } &&
36086 { ac_try='test -s conftest$ac_exeext'
36087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36088 (eval $ac_try) 2>&5
36089 ac_status=$?
36090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36091 (exit $ac_status); }; }; then
36092 echo "*** The test program compiled, but did not run. This usually means"
36093 echo "*** that the run-time linker is not finding SDL or finding the wrong"
36094 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
36095 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
36096 echo "*** to the installed location Also, make sure you have run ldconfig if that"
36097 echo "*** is required on your system"
36098 echo "***"
36099 echo "*** If you have an old version installed, it is best to remove it, although"
36100 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
36101 else
36102 echo "$as_me: failed program was:" >&5
36103 sed 's/^/| /' conftest.$ac_ext >&5
36104
36105 echo "*** The test program failed to compile or link. See the file config.log for the"
36106 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
36107 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
36108 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
36109 fi
36110 rm -f conftest.err conftest.$ac_objext \
36111 conftest$ac_exeext conftest.$ac_ext
36112 CFLAGS="$ac_save_CFLAGS"
36113 CXXFLAGS="$ac_save_CXXFLAGS"
36114 LIBS="$ac_save_LIBS"
36115 fi
36116 fi
36117 SDL_CFLAGS=""
36118 SDL_LIBS=""
36119 wxUSE_LIBSDL="no"
36120 fi
36121
36122
36123 rm -f conf.sdltest
36124
36125 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
36126 WITH_PLUGIN_SDL=1
36127 fi
36128 fi
36129 fi
36130
36131 cat >>confdefs.h <<\_ACEOF
36132 #define wxUSE_SOUND 1
36133 _ACEOF
36134
36135 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
36136 fi
36137
36138 if test "$WXGTK20" = 1; then
36139 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
36140 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
36141
36142
36143 succeeded=no
36144
36145 if test -z "$PKG_CONFIG"; then
36146 # Extract the first word of "pkg-config", so it can be a program name with args.
36147 set dummy pkg-config; ac_word=$2
36148 echo "$as_me:$LINENO: checking for $ac_word" >&5
36149 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36150 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
36151 echo $ECHO_N "(cached) $ECHO_C" >&6
36152 else
36153 case $PKG_CONFIG in
36154 [\\/]* | ?:[\\/]*)
36155 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
36156 ;;
36157 *)
36158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36159 for as_dir in $PATH
36160 do
36161 IFS=$as_save_IFS
36162 test -z "$as_dir" && as_dir=.
36163 for ac_exec_ext in '' $ac_executable_extensions; do
36164 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36165 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
36166 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36167 break 2
36168 fi
36169 done
36170 done
36171
36172 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
36173 ;;
36174 esac
36175 fi
36176 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
36177
36178 if test -n "$PKG_CONFIG"; then
36179 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
36180 echo "${ECHO_T}$PKG_CONFIG" >&6
36181 else
36182 echo "$as_me:$LINENO: result: no" >&5
36183 echo "${ECHO_T}no" >&6
36184 fi
36185
36186 fi
36187
36188 if test "$PKG_CONFIG" = "no" ; then
36189 echo "*** The pkg-config script could not be found. Make sure it is"
36190 echo "*** in your path, or set the PKG_CONFIG environment variable"
36191 echo "*** to the full path to pkg-config."
36192 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
36193 else
36194 PKG_CONFIG_MIN_VERSION=0.9.0
36195 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
36196 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
36197 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
36198
36199 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
36200 echo "$as_me:$LINENO: result: yes" >&5
36201 echo "${ECHO_T}yes" >&6
36202 succeeded=yes
36203
36204 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
36205 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
36206 LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
36207 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
36208 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
36209
36210 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
36211 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
36212 LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
36213 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
36214 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
36215 else
36216 LIBGNOMEPRINTUI_CFLAGS=""
36217 LIBGNOMEPRINTUI_LIBS=""
36218 ## If we have a custom action on failure, don't print errors, but
36219 ## do set a variable so people can do so.
36220 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
36221
36222 fi
36223
36224
36225
36226 else
36227 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
36228 echo "*** See http://www.freedesktop.org/software/pkgconfig"
36229 fi
36230 fi
36231
36232 if test $succeeded = yes; then
36233
36234 CXXFLAGS="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
36235 cat >>confdefs.h <<\_ACEOF
36236 #define wxUSE_LIBGNOMEPRINT 1
36237 _ACEOF
36238
36239
36240 else
36241
36242 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
36243 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
36244 wxUSE_LIBGNOMEPRINT="no"
36245
36246
36247 fi
36248
36249 fi
36250 fi
36251 fi
36252
36253
36254 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
36255 cat >>confdefs.h <<\_ACEOF
36256 #define wxUSE_CMDLINE_PARSER 1
36257 _ACEOF
36258
36259 fi
36260
36261 if test "$wxUSE_STOPWATCH" = "yes"; then
36262 cat >>confdefs.h <<\_ACEOF
36263 #define wxUSE_STOPWATCH 1
36264 _ACEOF
36265
36266 fi
36267
36268 if test "$wxUSE_DATETIME" = "yes"; then
36269 cat >>confdefs.h <<\_ACEOF
36270 #define wxUSE_DATETIME 1
36271 _ACEOF
36272
36273 fi
36274
36275 if test "$wxUSE_FILE" = "yes"; then
36276 cat >>confdefs.h <<\_ACEOF
36277 #define wxUSE_FILE 1
36278 _ACEOF
36279
36280 fi
36281
36282 if test "$wxUSE_FFILE" = "yes"; then
36283 cat >>confdefs.h <<\_ACEOF
36284 #define wxUSE_FFILE 1
36285 _ACEOF
36286
36287 fi
36288
36289 if test "$wxUSE_FILESYSTEM" = "yes"; then
36290 cat >>confdefs.h <<\_ACEOF
36291 #define wxUSE_FILESYSTEM 1
36292 _ACEOF
36293
36294 fi
36295
36296 if test "$wxUSE_FS_ZIP" = "yes"; then
36297 cat >>confdefs.h <<\_ACEOF
36298 #define wxUSE_FS_ZIP 1
36299 _ACEOF
36300
36301 fi
36302
36303 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
36304 cat >>confdefs.h <<\_ACEOF
36305 #define wxUSE_ARCHIVE_STREAMS 1
36306 _ACEOF
36307
36308 fi
36309
36310 if test "$wxUSE_ZIPSTREAM" = "yes"; then
36311 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
36312 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
36313 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
36314 elif test "$wxUSE_ZLIB" = "no"; then
36315 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
36316 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
36317 else
36318 cat >>confdefs.h <<\_ACEOF
36319 #define wxUSE_ZIPSTREAM 1
36320 _ACEOF
36321
36322 fi
36323 fi
36324
36325 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36326 cat >>confdefs.h <<\_ACEOF
36327 #define wxUSE_ON_FATAL_EXCEPTION 1
36328 _ACEOF
36329
36330 fi
36331
36332 if test "$wxUSE_STACKWALKER" = "yes"; then
36333 cat >>confdefs.h <<\_ACEOF
36334 #define wxUSE_STACKWALKER 1
36335 _ACEOF
36336
36337 fi
36338
36339 if test "$wxUSE_DEBUGREPORT" = "yes"; then
36340 cat >>confdefs.h <<\_ACEOF
36341 #define wxUSE_DEBUGREPORT 1
36342 _ACEOF
36343
36344 fi
36345
36346 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36347 cat >>confdefs.h <<\_ACEOF
36348 #define wxUSE_SNGLINST_CHECKER 1
36349 _ACEOF
36350
36351 fi
36352
36353 if test "$wxUSE_BUSYINFO" = "yes"; then
36354 cat >>confdefs.h <<\_ACEOF
36355 #define wxUSE_BUSYINFO 1
36356 _ACEOF
36357
36358 fi
36359
36360 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
36361 cat >>confdefs.h <<\_ACEOF
36362 #define wxUSE_STD_IOSTREAM 1
36363 _ACEOF
36364
36365 fi
36366
36367 if test "$wxUSE_STDPATHS" = "yes"; then
36368 cat >>confdefs.h <<\_ACEOF
36369 #define wxUSE_STDPATHS 1
36370 _ACEOF
36371
36372 fi
36373
36374 if test "$wxUSE_TEXTBUFFER" = "yes"; then
36375 cat >>confdefs.h <<\_ACEOF
36376 #define wxUSE_TEXTBUFFER 1
36377 _ACEOF
36378
36379 fi
36380
36381 if test "$wxUSE_TEXTFILE" = "yes"; then
36382 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
36383 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
36384 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
36385 else
36386 cat >>confdefs.h <<\_ACEOF
36387 #define wxUSE_TEXTFILE 1
36388 _ACEOF
36389
36390 fi
36391 fi
36392
36393 if test "$wxUSE_CONFIG" = "yes" ; then
36394 if test "$wxUSE_TEXTFILE" != "yes"; then
36395 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
36396 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
36397 else
36398 cat >>confdefs.h <<\_ACEOF
36399 #define wxUSE_CONFIG 1
36400 _ACEOF
36401
36402 cat >>confdefs.h <<\_ACEOF
36403 #define wxUSE_CONFIG_NATIVE 1
36404 _ACEOF
36405
36406 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
36407 fi
36408 fi
36409
36410 if test "$wxUSE_INTL" = "yes" ; then
36411 if test "$wxUSE_FILE" != "yes"; then
36412 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
36413 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
36414 else
36415 cat >>confdefs.h <<\_ACEOF
36416 #define wxUSE_INTL 1
36417 _ACEOF
36418
36419 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
36420 GUIDIST="$GUIDIST INTL_DIST"
36421 fi
36422 fi
36423
36424 if test "$wxUSE_LOG" = "yes"; then
36425 cat >>confdefs.h <<\_ACEOF
36426 #define wxUSE_LOG 1
36427 _ACEOF
36428
36429
36430 if test "$wxUSE_LOGGUI" = "yes"; then
36431 cat >>confdefs.h <<\_ACEOF
36432 #define wxUSE_LOGGUI 1
36433 _ACEOF
36434
36435 fi
36436
36437 if test "$wxUSE_LOGWINDOW" = "yes"; then
36438 cat >>confdefs.h <<\_ACEOF
36439 #define wxUSE_LOGWINDOW 1
36440 _ACEOF
36441
36442 fi
36443
36444 if test "$wxUSE_LOGDIALOG" = "yes"; then
36445 cat >>confdefs.h <<\_ACEOF
36446 #define wxUSE_LOG_DIALOG 1
36447 _ACEOF
36448
36449 fi
36450
36451 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
36452 fi
36453
36454 if test "$wxUSE_LONGLONG" = "yes"; then
36455 cat >>confdefs.h <<\_ACEOF
36456 #define wxUSE_LONGLONG 1
36457 _ACEOF
36458
36459 fi
36460
36461 if test "$wxUSE_GEOMETRY" = "yes"; then
36462 cat >>confdefs.h <<\_ACEOF
36463 #define wxUSE_GEOMETRY 1
36464 _ACEOF
36465
36466 fi
36467
36468 if test "$wxUSE_STREAMS" = "yes" ; then
36469 cat >>confdefs.h <<\_ACEOF
36470 #define wxUSE_STREAMS 1
36471 _ACEOF
36472
36473 fi
36474
36475
36476 if test "$wxUSE_DATETIME" = "yes"; then
36477
36478 for ac_func in strptime
36479 do
36480 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36481 echo "$as_me:$LINENO: checking for $ac_func" >&5
36482 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36483 if eval "test \"\${$as_ac_var+set}\" = set"; then
36484 echo $ECHO_N "(cached) $ECHO_C" >&6
36485 else
36486 cat >conftest.$ac_ext <<_ACEOF
36487 /* confdefs.h. */
36488 _ACEOF
36489 cat confdefs.h >>conftest.$ac_ext
36490 cat >>conftest.$ac_ext <<_ACEOF
36491 /* end confdefs.h. */
36492 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36493 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36494 #define $ac_func innocuous_$ac_func
36495
36496 /* System header to define __stub macros and hopefully few prototypes,
36497 which can conflict with char $ac_func (); below.
36498 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36499 <limits.h> exists even on freestanding compilers. */
36500
36501 #ifdef __STDC__
36502 # include <limits.h>
36503 #else
36504 # include <assert.h>
36505 #endif
36506
36507 #undef $ac_func
36508
36509 /* Override any gcc2 internal prototype to avoid an error. */
36510 #ifdef __cplusplus
36511 extern "C"
36512 {
36513 #endif
36514 /* We use char because int might match the return type of a gcc2
36515 builtin and then its argument prototype would still apply. */
36516 char $ac_func ();
36517 /* The GNU C library defines this for functions which it implements
36518 to always fail with ENOSYS. Some functions are actually named
36519 something starting with __ and the normal name is an alias. */
36520 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36521 choke me
36522 #else
36523 char (*f) () = $ac_func;
36524 #endif
36525 #ifdef __cplusplus
36526 }
36527 #endif
36528
36529 int
36530 main ()
36531 {
36532 return f != $ac_func;
36533 ;
36534 return 0;
36535 }
36536 _ACEOF
36537 rm -f conftest.$ac_objext conftest$ac_exeext
36538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36539 (eval $ac_link) 2>conftest.er1
36540 ac_status=$?
36541 grep -v '^ *+' conftest.er1 >conftest.err
36542 rm -f conftest.er1
36543 cat conftest.err >&5
36544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36545 (exit $ac_status); } &&
36546 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36548 (eval $ac_try) 2>&5
36549 ac_status=$?
36550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36551 (exit $ac_status); }; } &&
36552 { ac_try='test -s conftest$ac_exeext'
36553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36554 (eval $ac_try) 2>&5
36555 ac_status=$?
36556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36557 (exit $ac_status); }; }; then
36558 eval "$as_ac_var=yes"
36559 else
36560 echo "$as_me: failed program was:" >&5
36561 sed 's/^/| /' conftest.$ac_ext >&5
36562
36563 eval "$as_ac_var=no"
36564 fi
36565 rm -f conftest.err conftest.$ac_objext \
36566 conftest$ac_exeext conftest.$ac_ext
36567 fi
36568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36569 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36570 if test `eval echo '${'$as_ac_var'}'` = yes; then
36571 cat >>confdefs.h <<_ACEOF
36572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36573 _ACEOF
36574
36575 fi
36576 done
36577
36578
36579 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
36580 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
36581 if test "${wx_cv_var_timezone+set}" = set; then
36582 echo $ECHO_N "(cached) $ECHO_C" >&6
36583 else
36584
36585 cat >conftest.$ac_ext <<_ACEOF
36586 /* confdefs.h. */
36587 _ACEOF
36588 cat confdefs.h >>conftest.$ac_ext
36589 cat >>conftest.$ac_ext <<_ACEOF
36590 /* end confdefs.h. */
36591
36592 #include <time.h>
36593
36594 int
36595 main ()
36596 {
36597
36598 int tz;
36599 tz = timezone;
36600
36601 ;
36602 return 0;
36603 }
36604 _ACEOF
36605 rm -f conftest.$ac_objext
36606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36607 (eval $ac_compile) 2>conftest.er1
36608 ac_status=$?
36609 grep -v '^ *+' conftest.er1 >conftest.err
36610 rm -f conftest.er1
36611 cat conftest.err >&5
36612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36613 (exit $ac_status); } &&
36614 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36616 (eval $ac_try) 2>&5
36617 ac_status=$?
36618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36619 (exit $ac_status); }; } &&
36620 { ac_try='test -s conftest.$ac_objext'
36621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36622 (eval $ac_try) 2>&5
36623 ac_status=$?
36624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36625 (exit $ac_status); }; }; then
36626
36627 wx_cv_var_timezone=timezone
36628
36629 else
36630 echo "$as_me: failed program was:" >&5
36631 sed 's/^/| /' conftest.$ac_ext >&5
36632
36633
36634 cat >conftest.$ac_ext <<_ACEOF
36635 /* confdefs.h. */
36636 _ACEOF
36637 cat confdefs.h >>conftest.$ac_ext
36638 cat >>conftest.$ac_ext <<_ACEOF
36639 /* end confdefs.h. */
36640
36641 #include <time.h>
36642
36643 int
36644 main ()
36645 {
36646
36647 int tz;
36648 tz = _timezone;
36649
36650 ;
36651 return 0;
36652 }
36653 _ACEOF
36654 rm -f conftest.$ac_objext
36655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36656 (eval $ac_compile) 2>conftest.er1
36657 ac_status=$?
36658 grep -v '^ *+' conftest.er1 >conftest.err
36659 rm -f conftest.er1
36660 cat conftest.err >&5
36661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36662 (exit $ac_status); } &&
36663 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36665 (eval $ac_try) 2>&5
36666 ac_status=$?
36667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36668 (exit $ac_status); }; } &&
36669 { ac_try='test -s conftest.$ac_objext'
36670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36671 (eval $ac_try) 2>&5
36672 ac_status=$?
36673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36674 (exit $ac_status); }; }; then
36675
36676 wx_cv_var_timezone=_timezone
36677
36678 else
36679 echo "$as_me: failed program was:" >&5
36680 sed 's/^/| /' conftest.$ac_ext >&5
36681
36682
36683 cat >conftest.$ac_ext <<_ACEOF
36684 /* confdefs.h. */
36685 _ACEOF
36686 cat confdefs.h >>conftest.$ac_ext
36687 cat >>conftest.$ac_ext <<_ACEOF
36688 /* end confdefs.h. */
36689
36690 #include <time.h>
36691
36692 int
36693 main ()
36694 {
36695
36696 int tz;
36697 tz = __timezone;
36698
36699 ;
36700 return 0;
36701 }
36702 _ACEOF
36703 rm -f conftest.$ac_objext
36704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36705 (eval $ac_compile) 2>conftest.er1
36706 ac_status=$?
36707 grep -v '^ *+' conftest.er1 >conftest.err
36708 rm -f conftest.er1
36709 cat conftest.err >&5
36710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36711 (exit $ac_status); } &&
36712 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36714 (eval $ac_try) 2>&5
36715 ac_status=$?
36716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36717 (exit $ac_status); }; } &&
36718 { ac_try='test -s conftest.$ac_objext'
36719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36720 (eval $ac_try) 2>&5
36721 ac_status=$?
36722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36723 (exit $ac_status); }; }; then
36724
36725 wx_cv_var_timezone=__timezone
36726
36727 else
36728 echo "$as_me: failed program was:" >&5
36729 sed 's/^/| /' conftest.$ac_ext >&5
36730
36731
36732 if test "$USE_DOS" = 0 ; then
36733 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
36734 echo "$as_me: WARNING: no timezone variable" >&2;}
36735 fi
36736
36737
36738 fi
36739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36740
36741
36742 fi
36743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36744
36745
36746 fi
36747 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36748
36749
36750 fi
36751 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
36752 echo "${ECHO_T}$wx_cv_var_timezone" >&6
36753
36754 if test "x$wx_cv_var_timezone" != x ; then
36755 cat >>confdefs.h <<_ACEOF
36756 #define WX_TIMEZONE $wx_cv_var_timezone
36757 _ACEOF
36758
36759 fi
36760
36761
36762 for ac_func in localtime
36763 do
36764 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36765 echo "$as_me:$LINENO: checking for $ac_func" >&5
36766 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36767 if eval "test \"\${$as_ac_var+set}\" = set"; then
36768 echo $ECHO_N "(cached) $ECHO_C" >&6
36769 else
36770 cat >conftest.$ac_ext <<_ACEOF
36771 /* confdefs.h. */
36772 _ACEOF
36773 cat confdefs.h >>conftest.$ac_ext
36774 cat >>conftest.$ac_ext <<_ACEOF
36775 /* end confdefs.h. */
36776 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36778 #define $ac_func innocuous_$ac_func
36779
36780 /* System header to define __stub macros and hopefully few prototypes,
36781 which can conflict with char $ac_func (); below.
36782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36783 <limits.h> exists even on freestanding compilers. */
36784
36785 #ifdef __STDC__
36786 # include <limits.h>
36787 #else
36788 # include <assert.h>
36789 #endif
36790
36791 #undef $ac_func
36792
36793 /* Override any gcc2 internal prototype to avoid an error. */
36794 #ifdef __cplusplus
36795 extern "C"
36796 {
36797 #endif
36798 /* We use char because int might match the return type of a gcc2
36799 builtin and then its argument prototype would still apply. */
36800 char $ac_func ();
36801 /* The GNU C library defines this for functions which it implements
36802 to always fail with ENOSYS. Some functions are actually named
36803 something starting with __ and the normal name is an alias. */
36804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36805 choke me
36806 #else
36807 char (*f) () = $ac_func;
36808 #endif
36809 #ifdef __cplusplus
36810 }
36811 #endif
36812
36813 int
36814 main ()
36815 {
36816 return f != $ac_func;
36817 ;
36818 return 0;
36819 }
36820 _ACEOF
36821 rm -f conftest.$ac_objext conftest$ac_exeext
36822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36823 (eval $ac_link) 2>conftest.er1
36824 ac_status=$?
36825 grep -v '^ *+' conftest.er1 >conftest.err
36826 rm -f conftest.er1
36827 cat conftest.err >&5
36828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36829 (exit $ac_status); } &&
36830 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36832 (eval $ac_try) 2>&5
36833 ac_status=$?
36834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36835 (exit $ac_status); }; } &&
36836 { ac_try='test -s conftest$ac_exeext'
36837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36838 (eval $ac_try) 2>&5
36839 ac_status=$?
36840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36841 (exit $ac_status); }; }; then
36842 eval "$as_ac_var=yes"
36843 else
36844 echo "$as_me: failed program was:" >&5
36845 sed 's/^/| /' conftest.$ac_ext >&5
36846
36847 eval "$as_ac_var=no"
36848 fi
36849 rm -f conftest.err conftest.$ac_objext \
36850 conftest$ac_exeext conftest.$ac_ext
36851 fi
36852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36853 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36854 if test `eval echo '${'$as_ac_var'}'` = yes; then
36855 cat >>confdefs.h <<_ACEOF
36856 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36857 _ACEOF
36858
36859 fi
36860 done
36861
36862
36863 if test "$ac_cv_func_localtime" = "yes"; then
36864 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
36865 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
36866 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
36867 echo $ECHO_N "(cached) $ECHO_C" >&6
36868 else
36869
36870 cat >conftest.$ac_ext <<_ACEOF
36871 /* confdefs.h. */
36872 _ACEOF
36873 cat confdefs.h >>conftest.$ac_ext
36874 cat >>conftest.$ac_ext <<_ACEOF
36875 /* end confdefs.h. */
36876
36877 #include <time.h>
36878
36879 int
36880 main ()
36881 {
36882
36883 struct tm tm;
36884 tm.tm_gmtoff++;
36885
36886 ;
36887 return 0;
36888 }
36889 _ACEOF
36890 rm -f conftest.$ac_objext
36891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36892 (eval $ac_compile) 2>conftest.er1
36893 ac_status=$?
36894 grep -v '^ *+' conftest.er1 >conftest.err
36895 rm -f conftest.er1
36896 cat conftest.err >&5
36897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36898 (exit $ac_status); } &&
36899 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36901 (eval $ac_try) 2>&5
36902 ac_status=$?
36903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36904 (exit $ac_status); }; } &&
36905 { ac_try='test -s conftest.$ac_objext'
36906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36907 (eval $ac_try) 2>&5
36908 ac_status=$?
36909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36910 (exit $ac_status); }; }; then
36911
36912 wx_cv_struct_tm_has_gmtoff=yes
36913
36914 else
36915 echo "$as_me: failed program was:" >&5
36916 sed 's/^/| /' conftest.$ac_ext >&5
36917
36918 wx_cv_struct_tm_has_gmtoff=no
36919
36920 fi
36921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36922
36923 fi
36924 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
36925 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
36926 fi
36927
36928 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
36929 cat >>confdefs.h <<\_ACEOF
36930 #define WX_GMTOFF_IN_TM 1
36931 _ACEOF
36932
36933 fi
36934
36935
36936
36937 for ac_func in gettimeofday ftime
36938 do
36939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36940 echo "$as_me:$LINENO: checking for $ac_func" >&5
36941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36942 if eval "test \"\${$as_ac_var+set}\" = set"; then
36943 echo $ECHO_N "(cached) $ECHO_C" >&6
36944 else
36945 cat >conftest.$ac_ext <<_ACEOF
36946 /* confdefs.h. */
36947 _ACEOF
36948 cat confdefs.h >>conftest.$ac_ext
36949 cat >>conftest.$ac_ext <<_ACEOF
36950 /* end confdefs.h. */
36951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36953 #define $ac_func innocuous_$ac_func
36954
36955 /* System header to define __stub macros and hopefully few prototypes,
36956 which can conflict with char $ac_func (); below.
36957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36958 <limits.h> exists even on freestanding compilers. */
36959
36960 #ifdef __STDC__
36961 # include <limits.h>
36962 #else
36963 # include <assert.h>
36964 #endif
36965
36966 #undef $ac_func
36967
36968 /* Override any gcc2 internal prototype to avoid an error. */
36969 #ifdef __cplusplus
36970 extern "C"
36971 {
36972 #endif
36973 /* We use char because int might match the return type of a gcc2
36974 builtin and then its argument prototype would still apply. */
36975 char $ac_func ();
36976 /* The GNU C library defines this for functions which it implements
36977 to always fail with ENOSYS. Some functions are actually named
36978 something starting with __ and the normal name is an alias. */
36979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36980 choke me
36981 #else
36982 char (*f) () = $ac_func;
36983 #endif
36984 #ifdef __cplusplus
36985 }
36986 #endif
36987
36988 int
36989 main ()
36990 {
36991 return f != $ac_func;
36992 ;
36993 return 0;
36994 }
36995 _ACEOF
36996 rm -f conftest.$ac_objext conftest$ac_exeext
36997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36998 (eval $ac_link) 2>conftest.er1
36999 ac_status=$?
37000 grep -v '^ *+' conftest.er1 >conftest.err
37001 rm -f conftest.er1
37002 cat conftest.err >&5
37003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37004 (exit $ac_status); } &&
37005 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37007 (eval $ac_try) 2>&5
37008 ac_status=$?
37009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37010 (exit $ac_status); }; } &&
37011 { ac_try='test -s conftest$ac_exeext'
37012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37013 (eval $ac_try) 2>&5
37014 ac_status=$?
37015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37016 (exit $ac_status); }; }; then
37017 eval "$as_ac_var=yes"
37018 else
37019 echo "$as_me: failed program was:" >&5
37020 sed 's/^/| /' conftest.$ac_ext >&5
37021
37022 eval "$as_ac_var=no"
37023 fi
37024 rm -f conftest.err conftest.$ac_objext \
37025 conftest$ac_exeext conftest.$ac_ext
37026 fi
37027 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37028 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37029 if test `eval echo '${'$as_ac_var'}'` = yes; then
37030 cat >>confdefs.h <<_ACEOF
37031 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37032 _ACEOF
37033 break
37034 fi
37035 done
37036
37037
37038 if test "$ac_cv_func_gettimeofday" = "yes"; then
37039 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
37040 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
37041 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
37042 echo $ECHO_N "(cached) $ECHO_C" >&6
37043 else
37044
37045
37046
37047 ac_ext=cc
37048 ac_cpp='$CXXCPP $CPPFLAGS'
37049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37052
37053
37054 cat >conftest.$ac_ext <<_ACEOF
37055 /* confdefs.h. */
37056 _ACEOF
37057 cat confdefs.h >>conftest.$ac_ext
37058 cat >>conftest.$ac_ext <<_ACEOF
37059 /* end confdefs.h. */
37060
37061 #include <sys/time.h>
37062 #include <unistd.h>
37063
37064 int
37065 main ()
37066 {
37067
37068 struct timeval tv;
37069 gettimeofday(&tv, NULL);
37070
37071 ;
37072 return 0;
37073 }
37074 _ACEOF
37075 rm -f conftest.$ac_objext
37076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37077 (eval $ac_compile) 2>conftest.er1
37078 ac_status=$?
37079 grep -v '^ *+' conftest.er1 >conftest.err
37080 rm -f conftest.er1
37081 cat conftest.err >&5
37082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37083 (exit $ac_status); } &&
37084 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37086 (eval $ac_try) 2>&5
37087 ac_status=$?
37088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37089 (exit $ac_status); }; } &&
37090 { ac_try='test -s conftest.$ac_objext'
37091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37092 (eval $ac_try) 2>&5
37093 ac_status=$?
37094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37095 (exit $ac_status); }; }; then
37096 wx_cv_func_gettimeofday_has_2_args=yes
37097 else
37098 echo "$as_me: failed program was:" >&5
37099 sed 's/^/| /' conftest.$ac_ext >&5
37100
37101 cat >conftest.$ac_ext <<_ACEOF
37102 /* confdefs.h. */
37103 _ACEOF
37104 cat confdefs.h >>conftest.$ac_ext
37105 cat >>conftest.$ac_ext <<_ACEOF
37106 /* end confdefs.h. */
37107
37108 #include <sys/time.h>
37109 #include <unistd.h>
37110
37111 int
37112 main ()
37113 {
37114
37115 struct timeval tv;
37116 gettimeofday(&tv);
37117
37118 ;
37119 return 0;
37120 }
37121 _ACEOF
37122 rm -f conftest.$ac_objext
37123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37124 (eval $ac_compile) 2>conftest.er1
37125 ac_status=$?
37126 grep -v '^ *+' conftest.er1 >conftest.err
37127 rm -f conftest.er1
37128 cat conftest.err >&5
37129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37130 (exit $ac_status); } &&
37131 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37133 (eval $ac_try) 2>&5
37134 ac_status=$?
37135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37136 (exit $ac_status); }; } &&
37137 { ac_try='test -s conftest.$ac_objext'
37138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37139 (eval $ac_try) 2>&5
37140 ac_status=$?
37141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37142 (exit $ac_status); }; }; then
37143 wx_cv_func_gettimeofday_has_2_args=no
37144 else
37145 echo "$as_me: failed program was:" >&5
37146 sed 's/^/| /' conftest.$ac_ext >&5
37147
37148
37149 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
37150 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
37151 wx_cv_func_gettimeofday_has_2_args=unknown
37152
37153
37154 fi
37155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37156
37157 fi
37158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37159 ac_ext=c
37160 ac_cpp='$CPP $CPPFLAGS'
37161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37164
37165
37166 fi
37167 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
37168 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
37169
37170 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
37171 cat >>confdefs.h <<\_ACEOF
37172 #define WX_GETTIMEOFDAY_NO_TZ 1
37173 _ACEOF
37174
37175 fi
37176 fi
37177
37178 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
37179 fi
37180
37181
37182 if test "$wxUSE_SOCKETS" = "yes"; then
37183 if test "$wxUSE_MGL" = "1"; then
37184 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
37185 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
37186 wxUSE_SOCKETS="no"
37187 fi
37188 fi
37189
37190 if test "$wxUSE_SOCKETS" = "yes"; then
37191 if test "$TOOLKIT" != "MSW"; then
37192 echo "$as_me:$LINENO: checking for socket" >&5
37193 echo $ECHO_N "checking for socket... $ECHO_C" >&6
37194 if test "${ac_cv_func_socket+set}" = set; then
37195 echo $ECHO_N "(cached) $ECHO_C" >&6
37196 else
37197 cat >conftest.$ac_ext <<_ACEOF
37198 /* confdefs.h. */
37199 _ACEOF
37200 cat confdefs.h >>conftest.$ac_ext
37201 cat >>conftest.$ac_ext <<_ACEOF
37202 /* end confdefs.h. */
37203 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
37204 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37205 #define socket innocuous_socket
37206
37207 /* System header to define __stub macros and hopefully few prototypes,
37208 which can conflict with char socket (); below.
37209 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37210 <limits.h> exists even on freestanding compilers. */
37211
37212 #ifdef __STDC__
37213 # include <limits.h>
37214 #else
37215 # include <assert.h>
37216 #endif
37217
37218 #undef socket
37219
37220 /* Override any gcc2 internal prototype to avoid an error. */
37221 #ifdef __cplusplus
37222 extern "C"
37223 {
37224 #endif
37225 /* We use char because int might match the return type of a gcc2
37226 builtin and then its argument prototype would still apply. */
37227 char socket ();
37228 /* The GNU C library defines this for functions which it implements
37229 to always fail with ENOSYS. Some functions are actually named
37230 something starting with __ and the normal name is an alias. */
37231 #if defined (__stub_socket) || defined (__stub___socket)
37232 choke me
37233 #else
37234 char (*f) () = socket;
37235 #endif
37236 #ifdef __cplusplus
37237 }
37238 #endif
37239
37240 int
37241 main ()
37242 {
37243 return f != socket;
37244 ;
37245 return 0;
37246 }
37247 _ACEOF
37248 rm -f conftest.$ac_objext conftest$ac_exeext
37249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37250 (eval $ac_link) 2>conftest.er1
37251 ac_status=$?
37252 grep -v '^ *+' conftest.er1 >conftest.err
37253 rm -f conftest.er1
37254 cat conftest.err >&5
37255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37256 (exit $ac_status); } &&
37257 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37259 (eval $ac_try) 2>&5
37260 ac_status=$?
37261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37262 (exit $ac_status); }; } &&
37263 { ac_try='test -s conftest$ac_exeext'
37264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37265 (eval $ac_try) 2>&5
37266 ac_status=$?
37267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37268 (exit $ac_status); }; }; then
37269 ac_cv_func_socket=yes
37270 else
37271 echo "$as_me: failed program was:" >&5
37272 sed 's/^/| /' conftest.$ac_ext >&5
37273
37274 ac_cv_func_socket=no
37275 fi
37276 rm -f conftest.err conftest.$ac_objext \
37277 conftest$ac_exeext conftest.$ac_ext
37278 fi
37279 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
37280 echo "${ECHO_T}$ac_cv_func_socket" >&6
37281 if test $ac_cv_func_socket = yes; then
37282 :
37283 else
37284
37285 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
37286 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
37287 if test "${ac_cv_lib_socket_socket+set}" = set; then
37288 echo $ECHO_N "(cached) $ECHO_C" >&6
37289 else
37290 ac_check_lib_save_LIBS=$LIBS
37291 LIBS="-lsocket $LIBS"
37292 cat >conftest.$ac_ext <<_ACEOF
37293 /* confdefs.h. */
37294 _ACEOF
37295 cat confdefs.h >>conftest.$ac_ext
37296 cat >>conftest.$ac_ext <<_ACEOF
37297 /* end confdefs.h. */
37298
37299 /* Override any gcc2 internal prototype to avoid an error. */
37300 #ifdef __cplusplus
37301 extern "C"
37302 #endif
37303 /* We use char because int might match the return type of a gcc2
37304 builtin and then its argument prototype would still apply. */
37305 char socket ();
37306 int
37307 main ()
37308 {
37309 socket ();
37310 ;
37311 return 0;
37312 }
37313 _ACEOF
37314 rm -f conftest.$ac_objext conftest$ac_exeext
37315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37316 (eval $ac_link) 2>conftest.er1
37317 ac_status=$?
37318 grep -v '^ *+' conftest.er1 >conftest.err
37319 rm -f conftest.er1
37320 cat conftest.err >&5
37321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37322 (exit $ac_status); } &&
37323 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37325 (eval $ac_try) 2>&5
37326 ac_status=$?
37327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37328 (exit $ac_status); }; } &&
37329 { ac_try='test -s conftest$ac_exeext'
37330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37331 (eval $ac_try) 2>&5
37332 ac_status=$?
37333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37334 (exit $ac_status); }; }; then
37335 ac_cv_lib_socket_socket=yes
37336 else
37337 echo "$as_me: failed program was:" >&5
37338 sed 's/^/| /' conftest.$ac_ext >&5
37339
37340 ac_cv_lib_socket_socket=no
37341 fi
37342 rm -f conftest.err conftest.$ac_objext \
37343 conftest$ac_exeext conftest.$ac_ext
37344 LIBS=$ac_check_lib_save_LIBS
37345 fi
37346 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
37347 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
37348 if test $ac_cv_lib_socket_socket = yes; then
37349 if test "$INET_LINK" != " -lsocket"; then
37350 INET_LINK="$INET_LINK -lsocket"
37351 fi
37352 else
37353
37354 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
37355 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
37356 wxUSE_SOCKETS=no
37357
37358
37359 fi
37360
37361
37362
37363 fi
37364
37365 fi
37366 fi
37367
37368 if test "$wxUSE_SOCKETS" = "yes" ; then
37369 if test "$TOOLKIT" != "MSW"; then
37370 ac_ext=cc
37371 ac_cpp='$CXXCPP $CPPFLAGS'
37372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37375
37376 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
37377 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
37378 if test "${wx_cv_type_getsockname3+set}" = set; then
37379 echo $ECHO_N "(cached) $ECHO_C" >&6
37380 else
37381
37382 cat >conftest.$ac_ext <<_ACEOF
37383 /* confdefs.h. */
37384 _ACEOF
37385 cat confdefs.h >>conftest.$ac_ext
37386 cat >>conftest.$ac_ext <<_ACEOF
37387 /* end confdefs.h. */
37388
37389 #include <sys/types.h>
37390 #include <sys/socket.h>
37391
37392 int
37393 main ()
37394 {
37395
37396 socklen_t len;
37397 getsockname(0, 0, &len);
37398
37399 ;
37400 return 0;
37401 }
37402 _ACEOF
37403 rm -f conftest.$ac_objext
37404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37405 (eval $ac_compile) 2>conftest.er1
37406 ac_status=$?
37407 grep -v '^ *+' conftest.er1 >conftest.err
37408 rm -f conftest.er1
37409 cat conftest.err >&5
37410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37411 (exit $ac_status); } &&
37412 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37414 (eval $ac_try) 2>&5
37415 ac_status=$?
37416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37417 (exit $ac_status); }; } &&
37418 { ac_try='test -s conftest.$ac_objext'
37419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37420 (eval $ac_try) 2>&5
37421 ac_status=$?
37422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37423 (exit $ac_status); }; }; then
37424 wx_cv_type_getsockname3=socklen_t
37425 else
37426 echo "$as_me: failed program was:" >&5
37427 sed 's/^/| /' conftest.$ac_ext >&5
37428
37429
37430 CFLAGS_OLD="$CFLAGS"
37431 if test "$GCC" = yes ; then
37432 CFLAGS="$CFLAGS -Werror"
37433 fi
37434
37435 cat >conftest.$ac_ext <<_ACEOF
37436 /* confdefs.h. */
37437 _ACEOF
37438 cat confdefs.h >>conftest.$ac_ext
37439 cat >>conftest.$ac_ext <<_ACEOF
37440 /* end confdefs.h. */
37441
37442 #include <sys/types.h>
37443 #include <sys/socket.h>
37444
37445 int
37446 main ()
37447 {
37448
37449 size_t len;
37450 getsockname(0, 0, &len);
37451
37452 ;
37453 return 0;
37454 }
37455 _ACEOF
37456 rm -f conftest.$ac_objext
37457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37458 (eval $ac_compile) 2>conftest.er1
37459 ac_status=$?
37460 grep -v '^ *+' conftest.er1 >conftest.err
37461 rm -f conftest.er1
37462 cat conftest.err >&5
37463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37464 (exit $ac_status); } &&
37465 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37467 (eval $ac_try) 2>&5
37468 ac_status=$?
37469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37470 (exit $ac_status); }; } &&
37471 { ac_try='test -s conftest.$ac_objext'
37472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37473 (eval $ac_try) 2>&5
37474 ac_status=$?
37475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37476 (exit $ac_status); }; }; then
37477 wx_cv_type_getsockname3=size_t
37478 else
37479 echo "$as_me: failed program was:" >&5
37480 sed 's/^/| /' conftest.$ac_ext >&5
37481
37482 cat >conftest.$ac_ext <<_ACEOF
37483 /* confdefs.h. */
37484 _ACEOF
37485 cat confdefs.h >>conftest.$ac_ext
37486 cat >>conftest.$ac_ext <<_ACEOF
37487 /* end confdefs.h. */
37488
37489 #include <sys/types.h>
37490 #include <sys/socket.h>
37491
37492 int
37493 main ()
37494 {
37495
37496 int len;
37497 getsockname(0, 0, &len);
37498
37499 ;
37500 return 0;
37501 }
37502 _ACEOF
37503 rm -f conftest.$ac_objext
37504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37505 (eval $ac_compile) 2>conftest.er1
37506 ac_status=$?
37507 grep -v '^ *+' conftest.er1 >conftest.err
37508 rm -f conftest.er1
37509 cat conftest.err >&5
37510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37511 (exit $ac_status); } &&
37512 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37514 (eval $ac_try) 2>&5
37515 ac_status=$?
37516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37517 (exit $ac_status); }; } &&
37518 { ac_try='test -s conftest.$ac_objext'
37519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37520 (eval $ac_try) 2>&5
37521 ac_status=$?
37522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37523 (exit $ac_status); }; }; then
37524 wx_cv_type_getsockname3=int
37525 else
37526 echo "$as_me: failed program was:" >&5
37527 sed 's/^/| /' conftest.$ac_ext >&5
37528
37529 wx_cv_type_getsockname3=unknown
37530
37531 fi
37532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37533
37534 fi
37535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37536
37537 CFLAGS="$CFLAGS_OLD"
37538
37539
37540 fi
37541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37542
37543 fi
37544 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
37545 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
37546
37547 if test "$wx_cv_type_getsockname3" = "unknown"; then
37548 wxUSE_SOCKETS=no
37549 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
37550 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
37551 else
37552 cat >>confdefs.h <<_ACEOF
37553 #define SOCKLEN_T $wx_cv_type_getsockname3
37554 _ACEOF
37555
37556 fi
37557 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
37558 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
37559 if test "${wx_cv_type_getsockopt5+set}" = set; then
37560 echo $ECHO_N "(cached) $ECHO_C" >&6
37561 else
37562
37563 cat >conftest.$ac_ext <<_ACEOF
37564 /* confdefs.h. */
37565 _ACEOF
37566 cat confdefs.h >>conftest.$ac_ext
37567 cat >>conftest.$ac_ext <<_ACEOF
37568 /* end confdefs.h. */
37569
37570 #include <sys/types.h>
37571 #include <sys/socket.h>
37572
37573 int
37574 main ()
37575 {
37576
37577 socklen_t len;
37578 getsockopt(0, 0, 0, 0, &len);
37579
37580 ;
37581 return 0;
37582 }
37583 _ACEOF
37584 rm -f conftest.$ac_objext
37585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37586 (eval $ac_compile) 2>conftest.er1
37587 ac_status=$?
37588 grep -v '^ *+' conftest.er1 >conftest.err
37589 rm -f conftest.er1
37590 cat conftest.err >&5
37591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37592 (exit $ac_status); } &&
37593 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37595 (eval $ac_try) 2>&5
37596 ac_status=$?
37597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37598 (exit $ac_status); }; } &&
37599 { ac_try='test -s conftest.$ac_objext'
37600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37601 (eval $ac_try) 2>&5
37602 ac_status=$?
37603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37604 (exit $ac_status); }; }; then
37605 wx_cv_type_getsockopt5=socklen_t
37606 else
37607 echo "$as_me: failed program was:" >&5
37608 sed 's/^/| /' conftest.$ac_ext >&5
37609
37610
37611 CFLAGS_OLD="$CFLAGS"
37612 if test "$GCC" = yes ; then
37613 CFLAGS="$CFLAGS -Werror"
37614 fi
37615
37616 cat >conftest.$ac_ext <<_ACEOF
37617 /* confdefs.h. */
37618 _ACEOF
37619 cat confdefs.h >>conftest.$ac_ext
37620 cat >>conftest.$ac_ext <<_ACEOF
37621 /* end confdefs.h. */
37622
37623 #include <sys/types.h>
37624 #include <sys/socket.h>
37625
37626 int
37627 main ()
37628 {
37629
37630 size_t len;
37631 getsockopt(0, 0, 0, 0, &len);
37632
37633 ;
37634 return 0;
37635 }
37636 _ACEOF
37637 rm -f conftest.$ac_objext
37638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37639 (eval $ac_compile) 2>conftest.er1
37640 ac_status=$?
37641 grep -v '^ *+' conftest.er1 >conftest.err
37642 rm -f conftest.er1
37643 cat conftest.err >&5
37644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37645 (exit $ac_status); } &&
37646 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37648 (eval $ac_try) 2>&5
37649 ac_status=$?
37650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37651 (exit $ac_status); }; } &&
37652 { ac_try='test -s conftest.$ac_objext'
37653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37654 (eval $ac_try) 2>&5
37655 ac_status=$?
37656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37657 (exit $ac_status); }; }; then
37658 wx_cv_type_getsockopt5=size_t
37659 else
37660 echo "$as_me: failed program was:" >&5
37661 sed 's/^/| /' conftest.$ac_ext >&5
37662
37663 cat >conftest.$ac_ext <<_ACEOF
37664 /* confdefs.h. */
37665 _ACEOF
37666 cat confdefs.h >>conftest.$ac_ext
37667 cat >>conftest.$ac_ext <<_ACEOF
37668 /* end confdefs.h. */
37669
37670 #include <sys/types.h>
37671 #include <sys/socket.h>
37672
37673 int
37674 main ()
37675 {
37676
37677 int len;
37678 getsockopt(0, 0, 0, 0, &len);
37679
37680 ;
37681 return 0;
37682 }
37683 _ACEOF
37684 rm -f conftest.$ac_objext
37685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37686 (eval $ac_compile) 2>conftest.er1
37687 ac_status=$?
37688 grep -v '^ *+' conftest.er1 >conftest.err
37689 rm -f conftest.er1
37690 cat conftest.err >&5
37691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37692 (exit $ac_status); } &&
37693 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37695 (eval $ac_try) 2>&5
37696 ac_status=$?
37697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37698 (exit $ac_status); }; } &&
37699 { ac_try='test -s conftest.$ac_objext'
37700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37701 (eval $ac_try) 2>&5
37702 ac_status=$?
37703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37704 (exit $ac_status); }; }; then
37705 wx_cv_type_getsockopt5=int
37706 else
37707 echo "$as_me: failed program was:" >&5
37708 sed 's/^/| /' conftest.$ac_ext >&5
37709
37710 wx_cv_type_getsockopt5=unknown
37711
37712 fi
37713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37714
37715 fi
37716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37717
37718 CFLAGS="$CFLAGS_OLD"
37719
37720
37721 fi
37722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37723
37724 fi
37725 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
37726 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
37727
37728 if test "$wx_cv_type_getsockopt5" = "unknown"; then
37729 wxUSE_SOCKETS=no
37730 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
37731 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
37732 else
37733 cat >>confdefs.h <<_ACEOF
37734 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
37735 _ACEOF
37736
37737 fi
37738 ac_ext=c
37739 ac_cpp='$CPP $CPPFLAGS'
37740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37743
37744 fi
37745 fi
37746
37747 if test "$wxUSE_SOCKETS" = "yes" ; then
37748 cat >>confdefs.h <<\_ACEOF
37749 #define wxUSE_SOCKETS 1
37750 _ACEOF
37751
37752 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
37753 fi
37754
37755 if test "$wxUSE_PROTOCOL" = "yes"; then
37756 if test "$wxUSE_SOCKETS" != "yes"; then
37757 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
37758 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
37759 wxUSE_PROTOCOL=no
37760 fi
37761 fi
37762
37763 if test "$wxUSE_PROTOCOL" = "yes"; then
37764 cat >>confdefs.h <<\_ACEOF
37765 #define wxUSE_PROTOCOL 1
37766 _ACEOF
37767
37768
37769 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
37770 cat >>confdefs.h <<\_ACEOF
37771 #define wxUSE_PROTOCOL_HTTP 1
37772 _ACEOF
37773
37774 fi
37775 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
37776 cat >>confdefs.h <<\_ACEOF
37777 #define wxUSE_PROTOCOL_FTP 1
37778 _ACEOF
37779
37780 fi
37781 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
37782 cat >>confdefs.h <<\_ACEOF
37783 #define wxUSE_PROTOCOL_FILE 1
37784 _ACEOF
37785
37786 fi
37787 else
37788 if test "$wxUSE_FS_INET" = "yes"; then
37789 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
37790 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
37791 wxUSE_FS_INET="no"
37792 fi
37793 fi
37794
37795 if test "$wxUSE_URL" = "yes"; then
37796 if test "$wxUSE_PROTOCOL" != "yes"; then
37797 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
37798 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
37799 wxUSE_URL=no
37800 fi
37801 if test "$wxUSE_URL" = "yes"; then
37802 cat >>confdefs.h <<\_ACEOF
37803 #define wxUSE_URL 1
37804 _ACEOF
37805
37806 fi
37807 fi
37808
37809 if test "$wxUSE_FS_INET" = "yes"; then
37810 cat >>confdefs.h <<\_ACEOF
37811 #define wxUSE_FS_INET 1
37812 _ACEOF
37813
37814 fi
37815
37816
37817 if test "$wxUSE_GUI" = "yes"; then
37818 if test "$wxUSE_JOYSTICK" = "yes"; then
37819
37820 if test "$TOOLKIT" != "MAC" -a "$TOOLKIT" != "COCOA" -a "$TOOLKIT" != "MSW"; then
37821
37822 for ac_header in linux/joystick.h
37823 do
37824 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37825 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37826 echo "$as_me:$LINENO: checking for $ac_header" >&5
37827 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37828 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37829 echo $ECHO_N "(cached) $ECHO_C" >&6
37830 fi
37831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37832 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37833 else
37834 # Is the header compilable?
37835 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37836 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37837 cat >conftest.$ac_ext <<_ACEOF
37838 /* confdefs.h. */
37839 _ACEOF
37840 cat confdefs.h >>conftest.$ac_ext
37841 cat >>conftest.$ac_ext <<_ACEOF
37842 /* end confdefs.h. */
37843 $ac_includes_default
37844 #include <$ac_header>
37845 _ACEOF
37846 rm -f conftest.$ac_objext
37847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37848 (eval $ac_compile) 2>conftest.er1
37849 ac_status=$?
37850 grep -v '^ *+' conftest.er1 >conftest.err
37851 rm -f conftest.er1
37852 cat conftest.err >&5
37853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37854 (exit $ac_status); } &&
37855 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37857 (eval $ac_try) 2>&5
37858 ac_status=$?
37859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37860 (exit $ac_status); }; } &&
37861 { ac_try='test -s conftest.$ac_objext'
37862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37863 (eval $ac_try) 2>&5
37864 ac_status=$?
37865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37866 (exit $ac_status); }; }; then
37867 ac_header_compiler=yes
37868 else
37869 echo "$as_me: failed program was:" >&5
37870 sed 's/^/| /' conftest.$ac_ext >&5
37871
37872 ac_header_compiler=no
37873 fi
37874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37875 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37876 echo "${ECHO_T}$ac_header_compiler" >&6
37877
37878 # Is the header present?
37879 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37880 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37881 cat >conftest.$ac_ext <<_ACEOF
37882 /* confdefs.h. */
37883 _ACEOF
37884 cat confdefs.h >>conftest.$ac_ext
37885 cat >>conftest.$ac_ext <<_ACEOF
37886 /* end confdefs.h. */
37887 #include <$ac_header>
37888 _ACEOF
37889 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37890 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
37891 ac_status=$?
37892 grep -v '^ *+' conftest.er1 >conftest.err
37893 rm -f conftest.er1
37894 cat conftest.err >&5
37895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37896 (exit $ac_status); } >/dev/null; then
37897 if test -s conftest.err; then
37898 ac_cpp_err=$ac_c_preproc_warn_flag
37899 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
37900 else
37901 ac_cpp_err=
37902 fi
37903 else
37904 ac_cpp_err=yes
37905 fi
37906 if test -z "$ac_cpp_err"; then
37907 ac_header_preproc=yes
37908 else
37909 echo "$as_me: failed program was:" >&5
37910 sed 's/^/| /' conftest.$ac_ext >&5
37911
37912 ac_header_preproc=no
37913 fi
37914 rm -f conftest.err conftest.$ac_ext
37915 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37916 echo "${ECHO_T}$ac_header_preproc" >&6
37917
37918 # So? What about this header?
37919 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37920 yes:no: )
37921 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37922 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37923 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37924 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37925 ac_header_preproc=yes
37926 ;;
37927 no:yes:* )
37928 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37929 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37930 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37931 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37932 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37933 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37934 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37935 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37936 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37937 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37938 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37939 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37940 (
37941 cat <<\_ASBOX
37942 ## ----------------------------------------- ##
37943 ## Report this to wx-dev@lists.wxwidgets.org ##
37944 ## ----------------------------------------- ##
37945 _ASBOX
37946 ) |
37947 sed "s/^/$as_me: WARNING: /" >&2
37948 ;;
37949 esac
37950 echo "$as_me:$LINENO: checking for $ac_header" >&5
37951 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37952 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37953 echo $ECHO_N "(cached) $ECHO_C" >&6
37954 else
37955 eval "$as_ac_Header=\$ac_header_preproc"
37956 fi
37957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37958 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37959
37960 fi
37961 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37962 cat >>confdefs.h <<_ACEOF
37963 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37964 _ACEOF
37965
37966 fi
37967
37968 done
37969
37970 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
37971 wxUSE_JOYSTICK=no
37972 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
37973 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
37974 fi
37975 else
37976 if test "$USE_DARWIN" != 1 -a "$TOOLKIT" != "MSW"; then
37977 wxUSE_JOYSTICK=no
37978 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
37979 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
37980 fi
37981 fi
37982
37983
37984 if test "$wxUSE_JOYSTICK" = "yes"; then
37985 cat >>confdefs.h <<\_ACEOF
37986 #define wxUSE_JOYSTICK 1
37987 _ACEOF
37988
37989 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
37990 fi
37991 fi
37992 fi
37993
37994
37995
37996 if test "$wxUSE_FONTMAP" = "yes" ; then
37997 cat >>confdefs.h <<\_ACEOF
37998 #define wxUSE_FONTMAP 1
37999 _ACEOF
38000
38001 fi
38002
38003 if test "$wxUSE_UNICODE" = "yes" ; then
38004 cat >>confdefs.h <<\_ACEOF
38005 #define wxUSE_UNICODE 1
38006 _ACEOF
38007
38008
38009 if test "$USE_WIN32" != 1; then
38010 wxUSE_UNICODE_MSLU=no
38011 fi
38012
38013 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
38014 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
38015 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
38016 if test "${ac_cv_lib_unicows_main+set}" = set; then
38017 echo $ECHO_N "(cached) $ECHO_C" >&6
38018 else
38019 ac_check_lib_save_LIBS=$LIBS
38020 LIBS="-lunicows $LIBS"
38021 cat >conftest.$ac_ext <<_ACEOF
38022 /* confdefs.h. */
38023 _ACEOF
38024 cat confdefs.h >>conftest.$ac_ext
38025 cat >>conftest.$ac_ext <<_ACEOF
38026 /* end confdefs.h. */
38027
38028
38029 int
38030 main ()
38031 {
38032 main ();
38033 ;
38034 return 0;
38035 }
38036 _ACEOF
38037 rm -f conftest.$ac_objext conftest$ac_exeext
38038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38039 (eval $ac_link) 2>conftest.er1
38040 ac_status=$?
38041 grep -v '^ *+' conftest.er1 >conftest.err
38042 rm -f conftest.er1
38043 cat conftest.err >&5
38044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38045 (exit $ac_status); } &&
38046 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38048 (eval $ac_try) 2>&5
38049 ac_status=$?
38050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38051 (exit $ac_status); }; } &&
38052 { ac_try='test -s conftest$ac_exeext'
38053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38054 (eval $ac_try) 2>&5
38055 ac_status=$?
38056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38057 (exit $ac_status); }; }; then
38058 ac_cv_lib_unicows_main=yes
38059 else
38060 echo "$as_me: failed program was:" >&5
38061 sed 's/^/| /' conftest.$ac_ext >&5
38062
38063 ac_cv_lib_unicows_main=no
38064 fi
38065 rm -f conftest.err conftest.$ac_objext \
38066 conftest$ac_exeext conftest.$ac_ext
38067 LIBS=$ac_check_lib_save_LIBS
38068 fi
38069 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
38070 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
38071 if test $ac_cv_lib_unicows_main = yes; then
38072
38073 cat >>confdefs.h <<\_ACEOF
38074 #define wxUSE_UNICODE_MSLU 1
38075 _ACEOF
38076
38077
38078 else
38079
38080 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
38081 Applications will only run on Windows NT/2000/XP!" >&5
38082 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
38083 Applications will only run on Windows NT/2000/XP!" >&2;}
38084 wxUSE_UNICODE_MSLU=no
38085
38086 fi
38087
38088 fi
38089 fi
38090
38091 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
38092 cat >>confdefs.h <<\_ACEOF
38093 #define wxUSE_EXPERIMENTAL_PRINTF 1
38094 _ACEOF
38095
38096 fi
38097
38098
38099 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
38100 cat >>confdefs.h <<\_ACEOF
38101 #define wxUSE_POSTSCRIPT 1
38102 _ACEOF
38103
38104 fi
38105
38106 cat >>confdefs.h <<\_ACEOF
38107 #define wxUSE_AFM_FOR_POSTSCRIPT 1
38108 _ACEOF
38109
38110
38111 cat >>confdefs.h <<\_ACEOF
38112 #define wxUSE_NORMALIZED_PS_FONTS 1
38113 _ACEOF
38114
38115
38116
38117 if test "$wxUSE_CONSTRAINTS" = "yes"; then
38118 cat >>confdefs.h <<\_ACEOF
38119 #define wxUSE_CONSTRAINTS 1
38120 _ACEOF
38121
38122 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
38123 fi
38124
38125 if test "$wxUSE_MDI" = "yes"; then
38126 cat >>confdefs.h <<\_ACEOF
38127 #define wxUSE_MDI 1
38128 _ACEOF
38129
38130
38131 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
38132 cat >>confdefs.h <<\_ACEOF
38133 #define wxUSE_MDI_ARCHITECTURE 1
38134 _ACEOF
38135
38136 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
38137 fi
38138 fi
38139
38140 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
38141 cat >>confdefs.h <<\_ACEOF
38142 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
38143 _ACEOF
38144
38145 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
38146 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
38147 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
38148 fi
38149 fi
38150
38151 if test "$wxUSE_HELP" = "yes"; then
38152 cat >>confdefs.h <<\_ACEOF
38153 #define wxUSE_HELP 1
38154 _ACEOF
38155
38156 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
38157
38158 if test "$wxUSE_MSW" = 1; then
38159 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
38160 cat >>confdefs.h <<\_ACEOF
38161 #define wxUSE_MS_HTML_HELP 1
38162 _ACEOF
38163
38164 fi
38165 fi
38166
38167 if test "$wxUSE_WXHTML_HELP" = "yes"; then
38168 if test "$wxUSE_HTML" = "yes"; then
38169 cat >>confdefs.h <<\_ACEOF
38170 #define wxUSE_WXHTML_HELP 1
38171 _ACEOF
38172
38173 else
38174 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
38175 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
38176 wxUSE_WXHTML_HELP=no
38177 fi
38178 fi
38179 fi
38180
38181 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
38182 if test "$wxUSE_CONSTRAINTS" != "yes"; then
38183 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
38184 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
38185 else
38186 cat >>confdefs.h <<\_ACEOF
38187 #define wxUSE_PRINTING_ARCHITECTURE 1
38188 _ACEOF
38189
38190 fi
38191 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
38192 fi
38193
38194 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
38195 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
38196 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
38197 { (exit 1); exit 1; }; }
38198 fi
38199
38200
38201 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
38202 -o "$wxUSE_CLIPBOARD" = "yes" \
38203 -o "$wxUSE_OLE" = "yes" \
38204 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
38205
38206 for ac_header in ole2.h
38207 do
38208 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38209 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38210 echo "$as_me:$LINENO: checking for $ac_header" >&5
38211 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38212 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38213 echo $ECHO_N "(cached) $ECHO_C" >&6
38214 fi
38215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38216 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38217 else
38218 # Is the header compilable?
38219 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38220 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38221 cat >conftest.$ac_ext <<_ACEOF
38222 /* confdefs.h. */
38223 _ACEOF
38224 cat confdefs.h >>conftest.$ac_ext
38225 cat >>conftest.$ac_ext <<_ACEOF
38226 /* end confdefs.h. */
38227 $ac_includes_default
38228 #include <$ac_header>
38229 _ACEOF
38230 rm -f conftest.$ac_objext
38231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38232 (eval $ac_compile) 2>conftest.er1
38233 ac_status=$?
38234 grep -v '^ *+' conftest.er1 >conftest.err
38235 rm -f conftest.er1
38236 cat conftest.err >&5
38237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38238 (exit $ac_status); } &&
38239 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38241 (eval $ac_try) 2>&5
38242 ac_status=$?
38243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38244 (exit $ac_status); }; } &&
38245 { ac_try='test -s conftest.$ac_objext'
38246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38247 (eval $ac_try) 2>&5
38248 ac_status=$?
38249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38250 (exit $ac_status); }; }; then
38251 ac_header_compiler=yes
38252 else
38253 echo "$as_me: failed program was:" >&5
38254 sed 's/^/| /' conftest.$ac_ext >&5
38255
38256 ac_header_compiler=no
38257 fi
38258 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38259 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38260 echo "${ECHO_T}$ac_header_compiler" >&6
38261
38262 # Is the header present?
38263 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38264 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38265 cat >conftest.$ac_ext <<_ACEOF
38266 /* confdefs.h. */
38267 _ACEOF
38268 cat confdefs.h >>conftest.$ac_ext
38269 cat >>conftest.$ac_ext <<_ACEOF
38270 /* end confdefs.h. */
38271 #include <$ac_header>
38272 _ACEOF
38273 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38274 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38275 ac_status=$?
38276 grep -v '^ *+' conftest.er1 >conftest.err
38277 rm -f conftest.er1
38278 cat conftest.err >&5
38279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38280 (exit $ac_status); } >/dev/null; then
38281 if test -s conftest.err; then
38282 ac_cpp_err=$ac_c_preproc_warn_flag
38283 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
38284 else
38285 ac_cpp_err=
38286 fi
38287 else
38288 ac_cpp_err=yes
38289 fi
38290 if test -z "$ac_cpp_err"; then
38291 ac_header_preproc=yes
38292 else
38293 echo "$as_me: failed program was:" >&5
38294 sed 's/^/| /' conftest.$ac_ext >&5
38295
38296 ac_header_preproc=no
38297 fi
38298 rm -f conftest.err conftest.$ac_ext
38299 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38300 echo "${ECHO_T}$ac_header_preproc" >&6
38301
38302 # So? What about this header?
38303 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38304 yes:no: )
38305 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38306 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38307 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38308 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38309 ac_header_preproc=yes
38310 ;;
38311 no:yes:* )
38312 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38313 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38314 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38315 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38316 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38317 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38318 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38319 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38320 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38321 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38322 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38323 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38324 (
38325 cat <<\_ASBOX
38326 ## ----------------------------------------- ##
38327 ## Report this to wx-dev@lists.wxwidgets.org ##
38328 ## ----------------------------------------- ##
38329 _ASBOX
38330 ) |
38331 sed "s/^/$as_me: WARNING: /" >&2
38332 ;;
38333 esac
38334 echo "$as_me:$LINENO: checking for $ac_header" >&5
38335 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38336 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38337 echo $ECHO_N "(cached) $ECHO_C" >&6
38338 else
38339 eval "$as_ac_Header=\$ac_header_preproc"
38340 fi
38341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38342 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38343
38344 fi
38345 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38346 cat >>confdefs.h <<_ACEOF
38347 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38348 _ACEOF
38349
38350 fi
38351
38352 done
38353
38354
38355 if test "$ac_cv_header_ole2_h" = "yes" ; then
38356 if test "$GCC" = yes ; then
38357
38358
38359 ac_ext=cc
38360 ac_cpp='$CXXCPP $CPPFLAGS'
38361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38364
38365
38366 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
38367 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
38368 cat >conftest.$ac_ext <<_ACEOF
38369 /* confdefs.h. */
38370 _ACEOF
38371 cat confdefs.h >>conftest.$ac_ext
38372 cat >>conftest.$ac_ext <<_ACEOF
38373 /* end confdefs.h. */
38374 #include <windows.h>
38375 #include <ole2.h>
38376 int
38377 main ()
38378 {
38379
38380 ;
38381 return 0;
38382 }
38383 _ACEOF
38384 rm -f conftest.$ac_objext
38385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38386 (eval $ac_compile) 2>conftest.er1
38387 ac_status=$?
38388 grep -v '^ *+' conftest.er1 >conftest.err
38389 rm -f conftest.er1
38390 cat conftest.err >&5
38391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38392 (exit $ac_status); } &&
38393 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38395 (eval $ac_try) 2>&5
38396 ac_status=$?
38397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38398 (exit $ac_status); }; } &&
38399 { ac_try='test -s conftest.$ac_objext'
38400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38401 (eval $ac_try) 2>&5
38402 ac_status=$?
38403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38404 (exit $ac_status); }; }; then
38405 echo "$as_me:$LINENO: result: no" >&5
38406 echo "${ECHO_T}no" >&6
38407 else
38408 echo "$as_me: failed program was:" >&5
38409 sed 's/^/| /' conftest.$ac_ext >&5
38410
38411 echo "$as_me:$LINENO: result: yes" >&5
38412 echo "${ECHO_T}yes" >&6
38413 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
38414 fi
38415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38416 ac_ext=c
38417 ac_cpp='$CPP $CPPFLAGS'
38418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38421
38422 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
38423 if test "$wxUSE_OLE" = "yes" ; then
38424 cat >>confdefs.h <<\_ACEOF
38425 #define wxUSE_OLE 1
38426 _ACEOF
38427
38428 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
38429 fi
38430 fi
38431
38432 if test "$wxUSE_DATAOBJ" = "yes" ; then
38433 cat >>confdefs.h <<\_ACEOF
38434 #define wxUSE_DATAOBJ 1
38435 _ACEOF
38436
38437 fi
38438 else
38439 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
38440 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
38441
38442 wxUSE_CLIPBOARD=no
38443 wxUSE_DRAG_AND_DROP=no
38444 wxUSE_DATAOBJ=no
38445 wxUSE_OLE=no
38446 fi
38447
38448 if test "$wxUSE_METAFILE" = "yes"; then
38449 cat >>confdefs.h <<\_ACEOF
38450 #define wxUSE_METAFILE 1
38451 _ACEOF
38452
38453
38454 cat >>confdefs.h <<\_ACEOF
38455 #define wxUSE_ENH_METAFILE 1
38456 _ACEOF
38457
38458 fi
38459 fi
38460
38461 if test "$wxUSE_IPC" = "yes"; then
38462 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
38463 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
38464 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
38465 wxUSE_IPC=no
38466 fi
38467
38468 if test "$wxUSE_IPC" = "yes"; then
38469 cat >>confdefs.h <<\_ACEOF
38470 #define wxUSE_IPC 1
38471 _ACEOF
38472
38473 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
38474 fi
38475 fi
38476
38477 if test "$wxUSE_CLIPBOARD" = "yes"; then
38478 if test "$wxUSE_MGL" = 1; then
38479 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
38480 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
38481 wxUSE_CLIPBOARD=no
38482 fi
38483
38484 if test "$wxUSE_CLIPBOARD" = "yes"; then
38485 cat >>confdefs.h <<\_ACEOF
38486 #define wxUSE_CLIPBOARD 1
38487 _ACEOF
38488
38489
38490 cat >>confdefs.h <<\_ACEOF
38491 #define wxUSE_DATAOBJ 1
38492 _ACEOF
38493
38494 fi
38495 fi
38496
38497 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
38498 if test "$wxUSE_GTK" = 1; then
38499 if test "$WXGTK12" != 1; then
38500 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
38501 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
38502 wxUSE_DRAG_AND_DROP=no
38503 fi
38504 fi
38505
38506 if test "$wxUSE_MOTIF" = 1; then
38507 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
38508 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
38509 wxUSE_DRAG_AND_DROP=no
38510 fi
38511
38512 if test "$wxUSE_X11" = 1; then
38513 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
38514 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
38515 wxUSE_DRAG_AND_DROP=no
38516 fi
38517
38518 if test "$wxUSE_MGL" = 1; then
38519 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
38520 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
38521 wxUSE_DRAG_AND_DROP=no
38522 fi
38523
38524 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
38525 cat >>confdefs.h <<\_ACEOF
38526 #define wxUSE_DRAG_AND_DROP 1
38527 _ACEOF
38528
38529 fi
38530
38531 fi
38532
38533 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
38534 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
38535 fi
38536
38537 if test "$wxUSE_SPLINES" = "yes" ; then
38538 cat >>confdefs.h <<\_ACEOF
38539 #define wxUSE_SPLINES 1
38540 _ACEOF
38541
38542 fi
38543
38544
38545 USES_CONTROLS=0
38546 if test "$wxUSE_CONTROLS" = "yes"; then
38547 USES_CONTROLS=1
38548 fi
38549
38550 if test "$wxUSE_ACCEL" = "yes"; then
38551 cat >>confdefs.h <<\_ACEOF
38552 #define wxUSE_ACCEL 1
38553 _ACEOF
38554
38555 USES_CONTROLS=1
38556 fi
38557
38558 if test "$wxUSE_BUTTON" = "yes"; then
38559 cat >>confdefs.h <<\_ACEOF
38560 #define wxUSE_BUTTON 1
38561 _ACEOF
38562
38563 USES_CONTROLS=1
38564 fi
38565
38566 if test "$wxUSE_BMPBUTTON" = "yes"; then
38567 cat >>confdefs.h <<\_ACEOF
38568 #define wxUSE_BMPBUTTON 1
38569 _ACEOF
38570
38571 USES_CONTROLS=1
38572 fi
38573
38574 if test "$wxUSE_CALCTRL" = "yes"; then
38575 cat >>confdefs.h <<\_ACEOF
38576 #define wxUSE_CALENDARCTRL 1
38577 _ACEOF
38578
38579 USES_CONTROLS=1
38580 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
38581 fi
38582
38583 if test "$wxUSE_CARET" = "yes"; then
38584 cat >>confdefs.h <<\_ACEOF
38585 #define wxUSE_CARET 1
38586 _ACEOF
38587
38588 USES_CONTROLS=1
38589 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
38590 fi
38591
38592 if test "$wxUSE_COMBOBOX" = "yes"; then
38593 cat >>confdefs.h <<\_ACEOF
38594 #define wxUSE_COMBOBOX 1
38595 _ACEOF
38596
38597 USES_CONTROLS=1
38598 fi
38599
38600 if test "$wxUSE_CHOICE" = "yes"; then
38601 cat >>confdefs.h <<\_ACEOF
38602 #define wxUSE_CHOICE 1
38603 _ACEOF
38604
38605 USES_CONTROLS=1
38606 fi
38607
38608 if test "$wxUSE_CHOICEBOOK" = "yes"; then
38609 cat >>confdefs.h <<\_ACEOF
38610 #define wxUSE_CHOICEBOOK 1
38611 _ACEOF
38612
38613 USES_CONTROLS=1
38614 fi
38615
38616 if test "$wxUSE_CHECKBOX" = "yes"; then
38617 cat >>confdefs.h <<\_ACEOF
38618 #define wxUSE_CHECKBOX 1
38619 _ACEOF
38620
38621 USES_CONTROLS=1
38622 fi
38623
38624 if test "$wxUSE_CHECKLST" = "yes"; then
38625 cat >>confdefs.h <<\_ACEOF
38626 #define wxUSE_CHECKLISTBOX 1
38627 _ACEOF
38628
38629 USES_CONTROLS=1
38630 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
38631 fi
38632
38633 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
38634 cat >>confdefs.h <<\_ACEOF
38635 #define wxUSE_DATEPICKCTRL 1
38636 _ACEOF
38637
38638 USES_CONTROLS=1
38639 fi
38640
38641 if test "$wxUSE_DISPLAY" = "yes"; then
38642 cat >>confdefs.h <<\_ACEOF
38643 #define wxUSE_DISPLAY 1
38644 _ACEOF
38645
38646 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
38647 fi
38648
38649 if test "$wxUSE_GAUGE" = "yes"; then
38650 cat >>confdefs.h <<\_ACEOF
38651 #define wxUSE_GAUGE 1
38652 _ACEOF
38653
38654 USES_CONTROLS=1
38655 fi
38656
38657 if test "$wxUSE_GRID" = "yes"; then
38658 cat >>confdefs.h <<\_ACEOF
38659 #define wxUSE_GRID 1
38660 _ACEOF
38661
38662 USES_CONTROLS=1
38663 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
38664 fi
38665
38666 if test "$wxUSE_IMAGLIST" = "yes"; then
38667 cat >>confdefs.h <<\_ACEOF
38668 #define wxUSE_IMAGLIST 1
38669 _ACEOF
38670
38671 fi
38672
38673 if test "$wxUSE_LISTBOOK" = "yes"; then
38674 cat >>confdefs.h <<\_ACEOF
38675 #define wxUSE_LISTBOOK 1
38676 _ACEOF
38677
38678 USES_CONTROLS=1
38679 fi
38680
38681 if test "$wxUSE_LISTBOX" = "yes"; then
38682 cat >>confdefs.h <<\_ACEOF
38683 #define wxUSE_LISTBOX 1
38684 _ACEOF
38685
38686 USES_CONTROLS=1
38687 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
38688 fi
38689
38690 if test "$wxUSE_LISTCTRL" = "yes"; then
38691 if test "$wxUSE_IMAGLIST" = "yes"; then
38692 cat >>confdefs.h <<\_ACEOF
38693 #define wxUSE_LISTCTRL 1
38694 _ACEOF
38695
38696 USES_CONTROLS=1
38697 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
38698 else
38699 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
38700 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
38701 fi
38702 fi
38703
38704 if test "$wxUSE_NOTEBOOK" = "yes"; then
38705 cat >>confdefs.h <<\_ACEOF
38706 #define wxUSE_NOTEBOOK 1
38707 _ACEOF
38708
38709 USES_CONTROLS=1
38710 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
38711 fi
38712
38713
38714 if test "$wxUSE_RADIOBOX" = "yes"; then
38715 cat >>confdefs.h <<\_ACEOF
38716 #define wxUSE_RADIOBOX 1
38717 _ACEOF
38718
38719 USES_CONTROLS=1
38720 fi
38721
38722 if test "$wxUSE_RADIOBTN" = "yes"; then
38723 cat >>confdefs.h <<\_ACEOF
38724 #define wxUSE_RADIOBTN 1
38725 _ACEOF
38726
38727 USES_CONTROLS=1
38728 fi
38729
38730 if test "$wxUSE_SASH" = "yes"; then
38731 cat >>confdefs.h <<\_ACEOF
38732 #define wxUSE_SASH 1
38733 _ACEOF
38734
38735 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
38736 fi
38737
38738 if test "$wxUSE_SCROLLBAR" = "yes"; then
38739 cat >>confdefs.h <<\_ACEOF
38740 #define wxUSE_SCROLLBAR 1
38741 _ACEOF
38742
38743 USES_CONTROLS=1
38744 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
38745 fi
38746
38747 if test "$wxUSE_SLIDER" = "yes"; then
38748 cat >>confdefs.h <<\_ACEOF
38749 #define wxUSE_SLIDER 1
38750 _ACEOF
38751
38752 USES_CONTROLS=1
38753 fi
38754
38755 if test "$wxUSE_SPINBTN" = "yes"; then
38756 cat >>confdefs.h <<\_ACEOF
38757 #define wxUSE_SPINBTN 1
38758 _ACEOF
38759
38760 USES_CONTROLS=1
38761 fi
38762
38763 if test "$wxUSE_SPINCTRL" = "yes"; then
38764 cat >>confdefs.h <<\_ACEOF
38765 #define wxUSE_SPINCTRL 1
38766 _ACEOF
38767
38768 USES_CONTROLS=1
38769 fi
38770
38771 if test "$wxUSE_SPLITTER" = "yes"; then
38772 cat >>confdefs.h <<\_ACEOF
38773 #define wxUSE_SPLITTER 1
38774 _ACEOF
38775
38776 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
38777 fi
38778
38779 if test "$wxUSE_STATBMP" = "yes"; then
38780 cat >>confdefs.h <<\_ACEOF
38781 #define wxUSE_STATBMP 1
38782 _ACEOF
38783
38784 USES_CONTROLS=1
38785 fi
38786
38787 if test "$wxUSE_STATBOX" = "yes"; then
38788 cat >>confdefs.h <<\_ACEOF
38789 #define wxUSE_STATBOX 1
38790 _ACEOF
38791
38792 USES_CONTROLS=1
38793 fi
38794
38795 if test "$wxUSE_STATTEXT" = "yes"; then
38796 cat >>confdefs.h <<\_ACEOF
38797 #define wxUSE_STATTEXT 1
38798 _ACEOF
38799
38800 USES_CONTROLS=1
38801 fi
38802
38803 if test "$wxUSE_STATLINE" = "yes"; then
38804 cat >>confdefs.h <<\_ACEOF
38805 #define wxUSE_STATLINE 1
38806 _ACEOF
38807
38808 USES_CONTROLS=1
38809 fi
38810
38811 if test "$wxUSE_STATUSBAR" = "yes"; then
38812 cat >>confdefs.h <<\_ACEOF
38813 #define wxUSE_NATIVE_STATUSBAR 1
38814 _ACEOF
38815
38816 cat >>confdefs.h <<\_ACEOF
38817 #define wxUSE_STATUSBAR 1
38818 _ACEOF
38819
38820 USES_CONTROLS=1
38821
38822 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
38823 fi
38824
38825 if test "$wxUSE_TABDIALOG" = "yes"; then
38826 cat >>confdefs.h <<\_ACEOF
38827 #define wxUSE_TAB_DIALOG 1
38828 _ACEOF
38829
38830 fi
38831
38832 if test "$wxUSE_TEXTCTRL" = "yes"; then
38833 cat >>confdefs.h <<\_ACEOF
38834 #define wxUSE_TEXTCTRL 1
38835 _ACEOF
38836
38837 USES_CONTROLS=1
38838 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
38839 fi
38840
38841 if test "$wxUSE_TOGGLEBTN" = "yes"; then
38842 if test "$wxUSE_COCOA" = 1 ; then
38843 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
38844 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
38845 wxUSE_TOGGLEBTN=no
38846 else
38847 if test "$wxUSE_PM" = 1; then
38848 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under PM... disabled" >&5
38849 echo "$as_me: WARNING: Toggle button not yet supported under PM... disabled" >&2;}
38850 wxUSE_TOGGLEBTN=no
38851 fi
38852 fi
38853 if test "$wxUSE_UNIVERSAL" = "yes"; then
38854 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
38855 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
38856 wxUSE_TOGGLEBTN=no
38857 fi
38858
38859 if test "$wxUSE_TOGGLEBTN" = "yes"; then
38860 cat >>confdefs.h <<\_ACEOF
38861 #define wxUSE_TOGGLEBTN 1
38862 _ACEOF
38863
38864 USES_CONTROLS=1
38865 fi
38866 fi
38867
38868 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
38869 cat >>confdefs.h <<\_ACEOF
38870 #define wxUSE_TOOLBAR_SIMPLE 1
38871 _ACEOF
38872
38873 wxUSE_TOOLBAR="yes"
38874 USES_CONTROLS=1
38875 fi
38876
38877 if test "$wxUSE_TOOLBAR" = "yes"; then
38878 cat >>confdefs.h <<\_ACEOF
38879 #define wxUSE_TOOLBAR 1
38880 _ACEOF
38881
38882 USES_CONTROLS=1
38883
38884 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
38885 wxUSE_TOOLBAR_NATIVE="yes"
38886 fi
38887
38888 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
38889 cat >>confdefs.h <<\_ACEOF
38890 #define wxUSE_TOOLBAR_NATIVE 1
38891 _ACEOF
38892
38893 USES_CONTROLS=1
38894 fi
38895
38896 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
38897 fi
38898
38899 if test "$wxUSE_TOOLTIPS" = "yes"; then
38900 if test "$wxUSE_MOTIF" = 1; then
38901 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
38902 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
38903 else
38904 if test "$wxUSE_UNIVERSAL" = "yes"; then
38905 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
38906 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
38907 else
38908 cat >>confdefs.h <<\_ACEOF
38909 #define wxUSE_TOOLTIPS 1
38910 _ACEOF
38911
38912 fi
38913 fi
38914 fi
38915
38916 if test "$wxUSE_TREECTRL" = "yes"; then
38917 if test "$wxUSE_IMAGLIST" = "yes"; then
38918 cat >>confdefs.h <<\_ACEOF
38919 #define wxUSE_TREECTRL 1
38920 _ACEOF
38921
38922 USES_CONTROLS=1
38923 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
38924 else
38925 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
38926 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
38927 fi
38928 fi
38929
38930 if test "$wxUSE_POPUPWIN" = "yes"; then
38931 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
38932 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
38933 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
38934 else
38935 if test "$wxUSE_PM" = 1; then
38936 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
38937 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
38938 else
38939 cat >>confdefs.h <<\_ACEOF
38940 #define wxUSE_POPUPWIN 1
38941 _ACEOF
38942
38943 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
38944
38945 USES_CONTROLS=1
38946 fi
38947 fi
38948 fi
38949
38950 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
38951 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
38952 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
38953 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
38954 else
38955 cat >>confdefs.h <<\_ACEOF
38956 #define wxUSE_DIALUP_MANAGER 1
38957 _ACEOF
38958
38959 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
38960 fi
38961 fi
38962
38963 if test "$wxUSE_TIPWINDOW" = "yes"; then
38964 if test "$wxUSE_PM" = 1; then
38965 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
38966 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
38967 else
38968 cat >>confdefs.h <<\_ACEOF
38969 #define wxUSE_TIPWINDOW 1
38970 _ACEOF
38971
38972 fi
38973 fi
38974
38975 if test "$USES_CONTROLS" = 1; then
38976 cat >>confdefs.h <<\_ACEOF
38977 #define wxUSE_CONTROLS 1
38978 _ACEOF
38979
38980 fi
38981
38982
38983 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
38984 cat >>confdefs.h <<\_ACEOF
38985 #define wxUSE_ACCESSIBILITY 1
38986 _ACEOF
38987
38988 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
38989 fi
38990
38991 if test "$wxUSE_DRAGIMAGE" = "yes"; then
38992 cat >>confdefs.h <<\_ACEOF
38993 #define wxUSE_DRAGIMAGE 1
38994 _ACEOF
38995
38996 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
38997 fi
38998
38999 if test "$wxUSE_EXCEPTIONS" = "yes"; then
39000 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
39001 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
39002 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
39003 else
39004 cat >>confdefs.h <<\_ACEOF
39005 #define wxUSE_EXCEPTIONS 1
39006 _ACEOF
39007
39008 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
39009 fi
39010 fi
39011
39012 USE_HTML=0
39013 if test "$wxUSE_HTML" = "yes"; then
39014 cat >>confdefs.h <<\_ACEOF
39015 #define wxUSE_HTML 1
39016 _ACEOF
39017
39018 USE_HTML=1
39019 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
39020 if test "$wxUSE_MAC" = 1; then
39021 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
39022 fi
39023 fi
39024 if test "$wxUSE_WEBKIT" = "yes"; then
39025 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
39026 old_CPPFLAGS="$CPPFLAGS"
39027 CPPFLAGS="$CPPFLAGS -x objective-c++"
39028 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
39029 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
39030 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
39031 echo $ECHO_N "(cached) $ECHO_C" >&6
39032 else
39033 cat >conftest.$ac_ext <<_ACEOF
39034 /* confdefs.h. */
39035 _ACEOF
39036 cat confdefs.h >>conftest.$ac_ext
39037 cat >>conftest.$ac_ext <<_ACEOF
39038 /* end confdefs.h. */
39039 #include <Carbon/Carbon.h>
39040
39041 #include <WebKit/HIWebView.h>
39042 _ACEOF
39043 rm -f conftest.$ac_objext
39044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39045 (eval $ac_compile) 2>conftest.er1
39046 ac_status=$?
39047 grep -v '^ *+' conftest.er1 >conftest.err
39048 rm -f conftest.er1
39049 cat conftest.err >&5
39050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39051 (exit $ac_status); } &&
39052 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39054 (eval $ac_try) 2>&5
39055 ac_status=$?
39056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39057 (exit $ac_status); }; } &&
39058 { ac_try='test -s conftest.$ac_objext'
39059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39060 (eval $ac_try) 2>&5
39061 ac_status=$?
39062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39063 (exit $ac_status); }; }; then
39064 ac_cv_header_WebKit_HIWebView_h=yes
39065 else
39066 echo "$as_me: failed program was:" >&5
39067 sed 's/^/| /' conftest.$ac_ext >&5
39068
39069 ac_cv_header_WebKit_HIWebView_h=no
39070 fi
39071 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39072 fi
39073 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
39074 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
39075 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
39076
39077 cat >>confdefs.h <<\_ACEOF
39078 #define wxUSE_WEBKIT 1
39079 _ACEOF
39080
39081 WEBKIT_LINK="-framework WebKit"
39082
39083 else
39084
39085 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
39086 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
39087 wxUSE_WEBKIT=no
39088
39089 fi
39090
39091
39092 CPPFLAGS="$old_CPPFLAGS"
39093 elif test "$wxUSE_COCOA" = 1; then
39094 cat >>confdefs.h <<\_ACEOF
39095 #define wxUSE_WEBKIT 1
39096 _ACEOF
39097
39098 else
39099 wxUSE_WEBKIT=no
39100 fi
39101 fi
39102
39103 USE_XRC=0
39104 if test "$wxUSE_XRC" = "yes"; then
39105 if test "$wxUSE_XML" != "yes"; then
39106 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
39107 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
39108 wxUSE_XRC=no
39109 else
39110 cat >>confdefs.h <<\_ACEOF
39111 #define wxUSE_XRC 1
39112 _ACEOF
39113
39114 USE_XRC=1
39115 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
39116 fi
39117 fi
39118
39119 if test "$wxUSE_MENUS" = "yes"; then
39120 cat >>confdefs.h <<\_ACEOF
39121 #define wxUSE_MENUS 1
39122 _ACEOF
39123
39124 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
39125 fi
39126
39127 if test "$wxUSE_METAFILE" = "yes"; then
39128 cat >>confdefs.h <<\_ACEOF
39129 #define wxUSE_METAFILE 1
39130 _ACEOF
39131
39132 fi
39133
39134 if test "$wxUSE_MIMETYPE" = "yes"; then
39135 cat >>confdefs.h <<\_ACEOF
39136 #define wxUSE_MIMETYPE 1
39137 _ACEOF
39138
39139 fi
39140
39141 if test "$wxUSE_MINIFRAME" = "yes"; then
39142 cat >>confdefs.h <<\_ACEOF
39143 #define wxUSE_MINIFRAME 1
39144 _ACEOF
39145
39146 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
39147 fi
39148
39149 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
39150 cat >>confdefs.h <<\_ACEOF
39151 #define wxUSE_SYSTEM_OPTIONS 1
39152 _ACEOF
39153
39154 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
39155 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
39156 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
39157 fi
39158 fi
39159
39160
39161 if test "$wxUSE_VALIDATORS" = "yes"; then
39162 cat >>confdefs.h <<\_ACEOF
39163 #define wxUSE_VALIDATORS 1
39164 _ACEOF
39165
39166 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
39167 fi
39168
39169 if test "$wxUSE_PALETTE" = "yes" ; then
39170 cat >>confdefs.h <<\_ACEOF
39171 #define wxUSE_PALETTE 1
39172 _ACEOF
39173
39174 fi
39175
39176 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
39177 LIBS=" -lunicows $LIBS"
39178 fi
39179
39180
39181 if test "$wxUSE_IMAGE" = "yes" ; then
39182 cat >>confdefs.h <<\_ACEOF
39183 #define wxUSE_IMAGE 1
39184 _ACEOF
39185
39186
39187 if test "$wxUSE_GIF" = "yes" ; then
39188 cat >>confdefs.h <<\_ACEOF
39189 #define wxUSE_GIF 1
39190 _ACEOF
39191
39192 fi
39193
39194 if test "$wxUSE_PCX" = "yes" ; then
39195 cat >>confdefs.h <<\_ACEOF
39196 #define wxUSE_PCX 1
39197 _ACEOF
39198
39199 fi
39200
39201 if test "$wxUSE_IFF" = "yes" ; then
39202 cat >>confdefs.h <<\_ACEOF
39203 #define wxUSE_IFF 1
39204 _ACEOF
39205
39206 fi
39207
39208 if test "$wxUSE_PNM" = "yes" ; then
39209 cat >>confdefs.h <<\_ACEOF
39210 #define wxUSE_PNM 1
39211 _ACEOF
39212
39213 fi
39214
39215 if test "$wxUSE_XPM" = "yes" ; then
39216 cat >>confdefs.h <<\_ACEOF
39217 #define wxUSE_XPM 1
39218 _ACEOF
39219
39220 fi
39221
39222 if test "$wxUSE_ICO_CUR" = "yes" ; then
39223 cat >>confdefs.h <<\_ACEOF
39224 #define wxUSE_ICO_CUR 1
39225 _ACEOF
39226
39227 fi
39228 fi
39229
39230
39231 if test "$wxUSE_CHOICEDLG" = "yes"; then
39232 cat >>confdefs.h <<\_ACEOF
39233 #define wxUSE_CHOICEDLG 1
39234 _ACEOF
39235
39236 fi
39237
39238 if test "$wxUSE_COLOURDLG" = "yes"; then
39239 cat >>confdefs.h <<\_ACEOF
39240 #define wxUSE_COLOURDLG 1
39241 _ACEOF
39242
39243 fi
39244
39245 if test "$wxUSE_FILEDLG" = "yes"; then
39246 cat >>confdefs.h <<\_ACEOF
39247 #define wxUSE_FILEDLG 1
39248 _ACEOF
39249
39250 fi
39251
39252 if test "$wxUSE_FINDREPLDLG" = "yes"; then
39253 cat >>confdefs.h <<\_ACEOF
39254 #define wxUSE_FINDREPLDLG 1
39255 _ACEOF
39256
39257 fi
39258
39259 if test "$wxUSE_FONTDLG" = "yes"; then
39260 cat >>confdefs.h <<\_ACEOF
39261 #define wxUSE_FONTDLG 1
39262 _ACEOF
39263
39264 fi
39265
39266 if test "$wxUSE_DIRDLG" = "yes"; then
39267 if test "$wxUSE_TREECTRL" != "yes"; then
39268 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
39269 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
39270 else
39271 cat >>confdefs.h <<\_ACEOF
39272 #define wxUSE_DIRDLG 1
39273 _ACEOF
39274
39275 fi
39276 fi
39277
39278 if test "$wxUSE_MSGDLG" = "yes"; then
39279 cat >>confdefs.h <<\_ACEOF
39280 #define wxUSE_MSGDLG 1
39281 _ACEOF
39282
39283 fi
39284
39285 if test "$wxUSE_NUMBERDLG" = "yes"; then
39286 cat >>confdefs.h <<\_ACEOF
39287 #define wxUSE_NUMBERDLG 1
39288 _ACEOF
39289
39290 fi
39291
39292 if test "$wxUSE_PROGRESSDLG" = "yes"; then
39293 if test "$wxUSE_CONSTRAINTS" != "yes"; then
39294 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
39295 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
39296 else
39297 cat >>confdefs.h <<\_ACEOF
39298 #define wxUSE_PROGRESSDLG 1
39299 _ACEOF
39300
39301 fi
39302 fi
39303
39304 if test "$wxUSE_SPLASH" = "yes"; then
39305 cat >>confdefs.h <<\_ACEOF
39306 #define wxUSE_SPLASH 1
39307 _ACEOF
39308
39309 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
39310 fi
39311
39312 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
39313 if test "$wxUSE_CONSTRAINTS" != "yes"; then
39314 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
39315 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
39316 else
39317 cat >>confdefs.h <<\_ACEOF
39318 #define wxUSE_STARTUP_TIPS 1
39319 _ACEOF
39320
39321 fi
39322 fi
39323
39324 if test "$wxUSE_TEXTDLG" = "yes"; then
39325 cat >>confdefs.h <<\_ACEOF
39326 #define wxUSE_TEXTDLG 1
39327 _ACEOF
39328
39329 fi
39330
39331 if test "$wxUSE_WIZARDDLG" = "yes"; then
39332 cat >>confdefs.h <<\_ACEOF
39333 #define wxUSE_WIZARDDLG 1
39334 _ACEOF
39335
39336 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
39337 fi
39338
39339
39340 if test "$wxUSE_MEDIACTRL" = "yes"; then
39341 if test "$wxUSE_MSW" = 1; then
39342 wxUSE_DIRECTSHOW="yes"
39343
39344 for ac_header in dshow.h
39345 do
39346 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39347 echo "$as_me:$LINENO: checking for $ac_header" >&5
39348 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39349 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39350 echo $ECHO_N "(cached) $ECHO_C" >&6
39351 else
39352 cat >conftest.$ac_ext <<_ACEOF
39353 /* confdefs.h. */
39354 _ACEOF
39355 cat confdefs.h >>conftest.$ac_ext
39356 cat >>conftest.$ac_ext <<_ACEOF
39357 /* end confdefs.h. */
39358 #include <windows.h>
39359
39360 #include <$ac_header>
39361 _ACEOF
39362 rm -f conftest.$ac_objext
39363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39364 (eval $ac_compile) 2>conftest.er1
39365 ac_status=$?
39366 grep -v '^ *+' conftest.er1 >conftest.err
39367 rm -f conftest.er1
39368 cat conftest.err >&5
39369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39370 (exit $ac_status); } &&
39371 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39373 (eval $ac_try) 2>&5
39374 ac_status=$?
39375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39376 (exit $ac_status); }; } &&
39377 { ac_try='test -s conftest.$ac_objext'
39378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39379 (eval $ac_try) 2>&5
39380 ac_status=$?
39381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39382 (exit $ac_status); }; }; then
39383 eval "$as_ac_Header=yes"
39384 else
39385 echo "$as_me: failed program was:" >&5
39386 sed 's/^/| /' conftest.$ac_ext >&5
39387
39388 eval "$as_ac_Header=no"
39389 fi
39390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39391 fi
39392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39393 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39394 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39395 cat >>confdefs.h <<_ACEOF
39396 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39397 _ACEOF
39398
39399 else
39400
39401 wxUSE_DIRECTSHOW="no"
39402 { echo "$as_me:$LINENO: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&5
39403 echo "$as_me: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&2;}
39404
39405 fi
39406
39407 done
39408
39409
39410 if test "$wxUSE_DIRECTSHOW" = "yes"; then
39411 cat >>confdefs.h <<\_ACEOF
39412 #define wxUSE_DIRECTSHOW 1
39413 _ACEOF
39414
39415 LIBS="$LIBS -lstrmiids"
39416 fi
39417 fi
39418
39419 if test "$wxUSE_GTK" = 1; then
39420 wxUSE_GSTREAMER="yes"
39421
39422
39423 succeeded=no
39424
39425 if test -z "$PKG_CONFIG"; then
39426 # Extract the first word of "pkg-config", so it can be a program name with args.
39427 set dummy pkg-config; ac_word=$2
39428 echo "$as_me:$LINENO: checking for $ac_word" >&5
39429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39430 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
39431 echo $ECHO_N "(cached) $ECHO_C" >&6
39432 else
39433 case $PKG_CONFIG in
39434 [\\/]* | ?:[\\/]*)
39435 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
39436 ;;
39437 *)
39438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39439 for as_dir in $PATH
39440 do
39441 IFS=$as_save_IFS
39442 test -z "$as_dir" && as_dir=.
39443 for ac_exec_ext in '' $ac_executable_extensions; do
39444 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39445 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
39446 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39447 break 2
39448 fi
39449 done
39450 done
39451
39452 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
39453 ;;
39454 esac
39455 fi
39456 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
39457
39458 if test -n "$PKG_CONFIG"; then
39459 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
39460 echo "${ECHO_T}$PKG_CONFIG" >&6
39461 else
39462 echo "$as_me:$LINENO: result: no" >&5
39463 echo "${ECHO_T}no" >&6
39464 fi
39465
39466 fi
39467
39468 if test "$PKG_CONFIG" = "no" ; then
39469 echo "*** The pkg-config script could not be found. Make sure it is"
39470 echo "*** in your path, or set the PKG_CONFIG environment variable"
39471 echo "*** to the full path to pkg-config."
39472 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
39473 else
39474 PKG_CONFIG_MIN_VERSION=0.9.0
39475 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
39476 echo "$as_me:$LINENO: checking for gstreamer-0.8" >&5
39477 echo $ECHO_N "checking for gstreamer-0.8... $ECHO_C" >&6
39478
39479 if $PKG_CONFIG --exists "gstreamer-0.8" ; then
39480 echo "$as_me:$LINENO: result: yes" >&5
39481 echo "${ECHO_T}yes" >&6
39482 succeeded=yes
39483
39484 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
39485 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
39486 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-0.8"`
39487 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
39488 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
39489
39490 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
39491 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
39492 GSTREAMER_LIBS=`$PKG_CONFIG --libs "gstreamer-0.8"`
39493 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
39494 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
39495 else
39496 GSTREAMER_CFLAGS=""
39497 GSTREAMER_LIBS=""
39498 ## If we have a custom action on failure, don't print errors, but
39499 ## do set a variable so people can do so.
39500 GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.8"`
39501
39502 fi
39503
39504
39505
39506 else
39507 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
39508 echo "*** See http://www.freedesktop.org/software/pkgconfig"
39509 fi
39510 fi
39511
39512 if test $succeeded = yes; then
39513
39514 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
39515 LIBS="$LIBS $GSTREAMER_LIBS -lgstplay-0.8"
39516
39517 else
39518
39519 { echo "$as_me:$LINENO: WARNING: GStreamer installation not found" >&5
39520 echo "$as_me: WARNING: GStreamer installation not found" >&2;}
39521 wxUSE_GSTREAMER="no"
39522
39523 fi
39524
39525
39526
39527
39528
39529 if test "x$GST_INSPECT" == "x"; then
39530 # Extract the first word of "gst-inspect", so it can be a program name with args.
39531 set dummy gst-inspect; ac_word=$2
39532 echo "$as_me:$LINENO: checking for $ac_word" >&5
39533 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39534 if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
39535 echo $ECHO_N "(cached) $ECHO_C" >&6
39536 else
39537 if test -n "$GST_INSPECT"; then
39538 ac_cv_prog_GST_INSPECT="$GST_INSPECT" # Let the user override the test.
39539 else
39540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39541 for as_dir in $PATH
39542 do
39543 IFS=$as_save_IFS
39544 test -z "$as_dir" && as_dir=.
39545 for ac_exec_ext in '' $ac_executable_extensions; do
39546 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39547 ac_cv_prog_GST_INSPECT="gst-inspect"
39548 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39549 break 2
39550 fi
39551 done
39552 done
39553
39554 fi
39555 fi
39556 GST_INSPECT=$ac_cv_prog_GST_INSPECT
39557 if test -n "$GST_INSPECT"; then
39558 echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
39559 echo "${ECHO_T}$GST_INSPECT" >&6
39560 else
39561 echo "$as_me:$LINENO: result: no" >&5
39562 echo "${ECHO_T}no" >&6
39563 fi
39564
39565 fi
39566
39567 if test "x$GST_INSPECT" != "x"; then
39568 echo "$as_me:$LINENO: checking GStreamer element xvimagesink" >&5
39569 echo $ECHO_N "checking GStreamer element xvimagesink... $ECHO_C" >&6
39570 if $GST_INSPECT xvimagesink > /dev/null 2> /dev/null ; then
39571 echo "$as_me:$LINENO: result: found." >&5
39572 echo "${ECHO_T}found." >&6
39573
39574 else
39575 echo "$as_me:$LINENO: result: not found." >&5
39576 echo "${ECHO_T}not found." >&6
39577
39578 wxUSE_GSTREAMER="no"
39579 { echo "$as_me:$LINENO: WARNING: x video sink not found - cannot use GStreamer" >&5
39580 echo "$as_me: WARNING: x video sink not found - cannot use GStreamer" >&2;}
39581
39582 fi
39583 fi
39584
39585
39586 echo "$as_me:$LINENO: checking for gst/xoverlay/xoverlay.h" >&5
39587 echo $ECHO_N "checking for gst/xoverlay/xoverlay.h... $ECHO_C" >&6
39588 if test "${ac_cv_header_gst_xoverlay_xoverlay_h+set}" = set; then
39589 echo $ECHO_N "(cached) $ECHO_C" >&6
39590 else
39591 cat >conftest.$ac_ext <<_ACEOF
39592 /* confdefs.h. */
39593 _ACEOF
39594 cat confdefs.h >>conftest.$ac_ext
39595 cat >>conftest.$ac_ext <<_ACEOF
39596 /* end confdefs.h. */
39597 #include <gst/gst.h>
39598
39599 #include <gst/xoverlay/xoverlay.h>
39600 _ACEOF
39601 rm -f conftest.$ac_objext
39602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39603 (eval $ac_compile) 2>conftest.er1
39604 ac_status=$?
39605 grep -v '^ *+' conftest.er1 >conftest.err
39606 rm -f conftest.er1
39607 cat conftest.err >&5
39608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39609 (exit $ac_status); } &&
39610 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39612 (eval $ac_try) 2>&5
39613 ac_status=$?
39614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39615 (exit $ac_status); }; } &&
39616 { ac_try='test -s conftest.$ac_objext'
39617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39618 (eval $ac_try) 2>&5
39619 ac_status=$?
39620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39621 (exit $ac_status); }; }; then
39622 ac_cv_header_gst_xoverlay_xoverlay_h=yes
39623 else
39624 echo "$as_me: failed program was:" >&5
39625 sed 's/^/| /' conftest.$ac_ext >&5
39626
39627 ac_cv_header_gst_xoverlay_xoverlay_h=no
39628 fi
39629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39630 fi
39631 echo "$as_me:$LINENO: result: $ac_cv_header_gst_xoverlay_xoverlay_h" >&5
39632 echo "${ECHO_T}$ac_cv_header_gst_xoverlay_xoverlay_h" >&6
39633 if test $ac_cv_header_gst_xoverlay_xoverlay_h = yes; then
39634 :
39635 else
39636
39637 wxUSE_GSTREAMER="no"
39638 { echo "$as_me:$LINENO: WARNING: xoverlay header not found, cannot use GStreamer" >&5
39639 echo "$as_me: WARNING: xoverlay header not found, cannot use GStreamer" >&2;}
39640
39641 fi
39642
39643
39644
39645 echo "$as_me:$LINENO: checking for gstplay 0.8" >&5
39646 echo $ECHO_N "checking for gstplay 0.8... $ECHO_C" >&6
39647
39648 ac_find_libraries=
39649 for ac_dir in $SEARCH_LIB /usr/lib;
39650 do
39651 for ac_extension in a so sl dylib; do
39652 if test -f "$ac_dir/libgstplay-0.8.$ac_extension"; then
39653 ac_find_libraries=$ac_dir
39654 break 2
39655 fi
39656 done
39657 done
39658
39659
39660 if test "$ac_find_libraries" = "" ; then
39661 echo "$as_me:$LINENO: result: no" >&5
39662 echo "${ECHO_T}no" >&6
39663 wxUSE_GSTREAMER="no"
39664 else
39665 echo "$as_me:$LINENO: result: yes" >&5
39666 echo "${ECHO_T}yes" >&6
39667 fi
39668
39669 if test "$wxUSE_GSTREAMER" = "yes"; then
39670 cat >>confdefs.h <<\_ACEOF
39671 #define wxUSE_GSTREAMER 1
39672 _ACEOF
39673
39674 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
39675 echo "${ECHO_T}GStreamer detection successful" >&6
39676 fi
39677 fi
39678 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
39679 cat >>confdefs.h <<\_ACEOF
39680 #define wxUSE_MEDIACTRL 1
39681 _ACEOF
39682
39683 fi
39684
39685
39686 if test "$cross_compiling" = "yes"; then
39687 OSINFO="\"$host\""
39688 else
39689 OSINFO=`uname -s -r -m`
39690 OSINFO="\"$OSINFO\""
39691 fi
39692
39693 cat >>confdefs.h <<_ACEOF
39694 #define WXWIN_OS_DESCRIPTION $OSINFO
39695 _ACEOF
39696
39697
39698
39699 if test "x$prefix" != "xNONE"; then
39700 wxPREFIX=$prefix
39701 else
39702 wxPREFIX=$ac_default_prefix
39703 fi
39704
39705 cat >>confdefs.h <<_ACEOF
39706 #define wxINSTALL_PREFIX "$wxPREFIX"
39707 _ACEOF
39708
39709
39710
39711
39712 CORE_BASE_LIBS="net base"
39713 CORE_GUI_LIBS="adv core"
39714
39715 if test "$wxUSE_XML" = "yes" ; then
39716 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
39717 fi
39718 if test "$wxUSE_ODBC" != "no" ; then
39719 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
39720 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
39721 fi
39722 if test "$wxUSE_HTML" = "yes" ; then
39723 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
39724 fi
39725 if test "$wxUSE_XRC" = "yes" ; then
39726 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
39727 fi
39728
39729 if test "$wxUSE_GUI" != "yes"; then
39730 CORE_GUI_LIBS=""
39731 fi
39732
39733
39734
39735
39736
39737
39738
39739
39740 if test "$wxUSE_MAC" = 1 ; then
39741 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
39742 if test "$USE_DARWIN" = 1; then
39743 LDFLAGS="$LDFLAGS -framework QuickTime"
39744 else
39745 LDFLAGS="$LDFLAGS -lQuickTimeLib"
39746 fi
39747 fi
39748 if test "$USE_DARWIN" = 1; then
39749 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
39750 else
39751 LDFLAGS="$LDFLAGS -lCarbonLib"
39752 fi
39753 fi
39754 if test "$wxUSE_COCOA" = 1 ; then
39755 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
39756 if test "$wxUSE_MEDIACTRL" = "yes"; then
39757 LDFLAGS="$LDFLAGS -framework QuickTime"
39758 fi
39759 fi
39760
39761
39762 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
39763
39764 have_cos=0
39765 have_floor=0
39766
39767 for ac_func in cos
39768 do
39769 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39770 echo "$as_me:$LINENO: checking for $ac_func" >&5
39771 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39772 if eval "test \"\${$as_ac_var+set}\" = set"; then
39773 echo $ECHO_N "(cached) $ECHO_C" >&6
39774 else
39775 cat >conftest.$ac_ext <<_ACEOF
39776 /* confdefs.h. */
39777 _ACEOF
39778 cat confdefs.h >>conftest.$ac_ext
39779 cat >>conftest.$ac_ext <<_ACEOF
39780 /* end confdefs.h. */
39781 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39782 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39783 #define $ac_func innocuous_$ac_func
39784
39785 /* System header to define __stub macros and hopefully few prototypes,
39786 which can conflict with char $ac_func (); below.
39787 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39788 <limits.h> exists even on freestanding compilers. */
39789
39790 #ifdef __STDC__
39791 # include <limits.h>
39792 #else
39793 # include <assert.h>
39794 #endif
39795
39796 #undef $ac_func
39797
39798 /* Override any gcc2 internal prototype to avoid an error. */
39799 #ifdef __cplusplus
39800 extern "C"
39801 {
39802 #endif
39803 /* We use char because int might match the return type of a gcc2
39804 builtin and then its argument prototype would still apply. */
39805 char $ac_func ();
39806 /* The GNU C library defines this for functions which it implements
39807 to always fail with ENOSYS. Some functions are actually named
39808 something starting with __ and the normal name is an alias. */
39809 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39810 choke me
39811 #else
39812 char (*f) () = $ac_func;
39813 #endif
39814 #ifdef __cplusplus
39815 }
39816 #endif
39817
39818 int
39819 main ()
39820 {
39821 return f != $ac_func;
39822 ;
39823 return 0;
39824 }
39825 _ACEOF
39826 rm -f conftest.$ac_objext conftest$ac_exeext
39827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39828 (eval $ac_link) 2>conftest.er1
39829 ac_status=$?
39830 grep -v '^ *+' conftest.er1 >conftest.err
39831 rm -f conftest.er1
39832 cat conftest.err >&5
39833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39834 (exit $ac_status); } &&
39835 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39837 (eval $ac_try) 2>&5
39838 ac_status=$?
39839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39840 (exit $ac_status); }; } &&
39841 { ac_try='test -s conftest$ac_exeext'
39842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39843 (eval $ac_try) 2>&5
39844 ac_status=$?
39845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39846 (exit $ac_status); }; }; then
39847 eval "$as_ac_var=yes"
39848 else
39849 echo "$as_me: failed program was:" >&5
39850 sed 's/^/| /' conftest.$ac_ext >&5
39851
39852 eval "$as_ac_var=no"
39853 fi
39854 rm -f conftest.err conftest.$ac_objext \
39855 conftest$ac_exeext conftest.$ac_ext
39856 fi
39857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39858 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39859 if test `eval echo '${'$as_ac_var'}'` = yes; then
39860 cat >>confdefs.h <<_ACEOF
39861 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39862 _ACEOF
39863 have_cos=1
39864 fi
39865 done
39866
39867
39868 for ac_func in floor
39869 do
39870 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39871 echo "$as_me:$LINENO: checking for $ac_func" >&5
39872 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39873 if eval "test \"\${$as_ac_var+set}\" = set"; then
39874 echo $ECHO_N "(cached) $ECHO_C" >&6
39875 else
39876 cat >conftest.$ac_ext <<_ACEOF
39877 /* confdefs.h. */
39878 _ACEOF
39879 cat confdefs.h >>conftest.$ac_ext
39880 cat >>conftest.$ac_ext <<_ACEOF
39881 /* end confdefs.h. */
39882 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39883 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39884 #define $ac_func innocuous_$ac_func
39885
39886 /* System header to define __stub macros and hopefully few prototypes,
39887 which can conflict with char $ac_func (); below.
39888 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39889 <limits.h> exists even on freestanding compilers. */
39890
39891 #ifdef __STDC__
39892 # include <limits.h>
39893 #else
39894 # include <assert.h>
39895 #endif
39896
39897 #undef $ac_func
39898
39899 /* Override any gcc2 internal prototype to avoid an error. */
39900 #ifdef __cplusplus
39901 extern "C"
39902 {
39903 #endif
39904 /* We use char because int might match the return type of a gcc2
39905 builtin and then its argument prototype would still apply. */
39906 char $ac_func ();
39907 /* The GNU C library defines this for functions which it implements
39908 to always fail with ENOSYS. Some functions are actually named
39909 something starting with __ and the normal name is an alias. */
39910 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39911 choke me
39912 #else
39913 char (*f) () = $ac_func;
39914 #endif
39915 #ifdef __cplusplus
39916 }
39917 #endif
39918
39919 int
39920 main ()
39921 {
39922 return f != $ac_func;
39923 ;
39924 return 0;
39925 }
39926 _ACEOF
39927 rm -f conftest.$ac_objext conftest$ac_exeext
39928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39929 (eval $ac_link) 2>conftest.er1
39930 ac_status=$?
39931 grep -v '^ *+' conftest.er1 >conftest.err
39932 rm -f conftest.er1
39933 cat conftest.err >&5
39934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39935 (exit $ac_status); } &&
39936 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39938 (eval $ac_try) 2>&5
39939 ac_status=$?
39940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39941 (exit $ac_status); }; } &&
39942 { ac_try='test -s conftest$ac_exeext'
39943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39944 (eval $ac_try) 2>&5
39945 ac_status=$?
39946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39947 (exit $ac_status); }; }; then
39948 eval "$as_ac_var=yes"
39949 else
39950 echo "$as_me: failed program was:" >&5
39951 sed 's/^/| /' conftest.$ac_ext >&5
39952
39953 eval "$as_ac_var=no"
39954 fi
39955 rm -f conftest.err conftest.$ac_objext \
39956 conftest$ac_exeext conftest.$ac_ext
39957 fi
39958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39960 if test `eval echo '${'$as_ac_var'}'` = yes; then
39961 cat >>confdefs.h <<_ACEOF
39962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39963 _ACEOF
39964 have_floor=1
39965 fi
39966 done
39967
39968 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
39969 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
39970 if test "$have_cos" = 1 -a "$have_floor" = 1; then
39971 echo "$as_me:$LINENO: result: yes" >&5
39972 echo "${ECHO_T}yes" >&6
39973 else
39974 echo "$as_me:$LINENO: result: no" >&5
39975 echo "${ECHO_T}no" >&6
39976 LIBS="$LIBS -lm"
39977 # use different functions to avoid configure caching
39978 have_sin=0
39979 have_ceil=0
39980
39981 for ac_func in sin
39982 do
39983 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39984 echo "$as_me:$LINENO: checking for $ac_func" >&5
39985 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39986 if eval "test \"\${$as_ac_var+set}\" = set"; then
39987 echo $ECHO_N "(cached) $ECHO_C" >&6
39988 else
39989 cat >conftest.$ac_ext <<_ACEOF
39990 /* confdefs.h. */
39991 _ACEOF
39992 cat confdefs.h >>conftest.$ac_ext
39993 cat >>conftest.$ac_ext <<_ACEOF
39994 /* end confdefs.h. */
39995 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39996 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39997 #define $ac_func innocuous_$ac_func
39998
39999 /* System header to define __stub macros and hopefully few prototypes,
40000 which can conflict with char $ac_func (); below.
40001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40002 <limits.h> exists even on freestanding compilers. */
40003
40004 #ifdef __STDC__
40005 # include <limits.h>
40006 #else
40007 # include <assert.h>
40008 #endif
40009
40010 #undef $ac_func
40011
40012 /* Override any gcc2 internal prototype to avoid an error. */
40013 #ifdef __cplusplus
40014 extern "C"
40015 {
40016 #endif
40017 /* We use char because int might match the return type of a gcc2
40018 builtin and then its argument prototype would still apply. */
40019 char $ac_func ();
40020 /* The GNU C library defines this for functions which it implements
40021 to always fail with ENOSYS. Some functions are actually named
40022 something starting with __ and the normal name is an alias. */
40023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40024 choke me
40025 #else
40026 char (*f) () = $ac_func;
40027 #endif
40028 #ifdef __cplusplus
40029 }
40030 #endif
40031
40032 int
40033 main ()
40034 {
40035 return f != $ac_func;
40036 ;
40037 return 0;
40038 }
40039 _ACEOF
40040 rm -f conftest.$ac_objext conftest$ac_exeext
40041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40042 (eval $ac_link) 2>conftest.er1
40043 ac_status=$?
40044 grep -v '^ *+' conftest.er1 >conftest.err
40045 rm -f conftest.er1
40046 cat conftest.err >&5
40047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40048 (exit $ac_status); } &&
40049 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40051 (eval $ac_try) 2>&5
40052 ac_status=$?
40053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40054 (exit $ac_status); }; } &&
40055 { ac_try='test -s conftest$ac_exeext'
40056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40057 (eval $ac_try) 2>&5
40058 ac_status=$?
40059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40060 (exit $ac_status); }; }; then
40061 eval "$as_ac_var=yes"
40062 else
40063 echo "$as_me: failed program was:" >&5
40064 sed 's/^/| /' conftest.$ac_ext >&5
40065
40066 eval "$as_ac_var=no"
40067 fi
40068 rm -f conftest.err conftest.$ac_objext \
40069 conftest$ac_exeext conftest.$ac_ext
40070 fi
40071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40072 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40073 if test `eval echo '${'$as_ac_var'}'` = yes; then
40074 cat >>confdefs.h <<_ACEOF
40075 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40076 _ACEOF
40077 have_sin=1
40078 fi
40079 done
40080
40081
40082 for ac_func in ceil
40083 do
40084 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40085 echo "$as_me:$LINENO: checking for $ac_func" >&5
40086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40087 if eval "test \"\${$as_ac_var+set}\" = set"; then
40088 echo $ECHO_N "(cached) $ECHO_C" >&6
40089 else
40090 cat >conftest.$ac_ext <<_ACEOF
40091 /* confdefs.h. */
40092 _ACEOF
40093 cat confdefs.h >>conftest.$ac_ext
40094 cat >>conftest.$ac_ext <<_ACEOF
40095 /* end confdefs.h. */
40096 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40097 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40098 #define $ac_func innocuous_$ac_func
40099
40100 /* System header to define __stub macros and hopefully few prototypes,
40101 which can conflict with char $ac_func (); below.
40102 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40103 <limits.h> exists even on freestanding compilers. */
40104
40105 #ifdef __STDC__
40106 # include <limits.h>
40107 #else
40108 # include <assert.h>
40109 #endif
40110
40111 #undef $ac_func
40112
40113 /* Override any gcc2 internal prototype to avoid an error. */
40114 #ifdef __cplusplus
40115 extern "C"
40116 {
40117 #endif
40118 /* We use char because int might match the return type of a gcc2
40119 builtin and then its argument prototype would still apply. */
40120 char $ac_func ();
40121 /* The GNU C library defines this for functions which it implements
40122 to always fail with ENOSYS. Some functions are actually named
40123 something starting with __ and the normal name is an alias. */
40124 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40125 choke me
40126 #else
40127 char (*f) () = $ac_func;
40128 #endif
40129 #ifdef __cplusplus
40130 }
40131 #endif
40132
40133 int
40134 main ()
40135 {
40136 return f != $ac_func;
40137 ;
40138 return 0;
40139 }
40140 _ACEOF
40141 rm -f conftest.$ac_objext conftest$ac_exeext
40142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40143 (eval $ac_link) 2>conftest.er1
40144 ac_status=$?
40145 grep -v '^ *+' conftest.er1 >conftest.err
40146 rm -f conftest.er1
40147 cat conftest.err >&5
40148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40149 (exit $ac_status); } &&
40150 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40152 (eval $ac_try) 2>&5
40153 ac_status=$?
40154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40155 (exit $ac_status); }; } &&
40156 { ac_try='test -s conftest$ac_exeext'
40157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40158 (eval $ac_try) 2>&5
40159 ac_status=$?
40160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40161 (exit $ac_status); }; }; then
40162 eval "$as_ac_var=yes"
40163 else
40164 echo "$as_me: failed program was:" >&5
40165 sed 's/^/| /' conftest.$ac_ext >&5
40166
40167 eval "$as_ac_var=no"
40168 fi
40169 rm -f conftest.err conftest.$ac_objext \
40170 conftest$ac_exeext conftest.$ac_ext
40171 fi
40172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40173 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40174 if test `eval echo '${'$as_ac_var'}'` = yes; then
40175 cat >>confdefs.h <<_ACEOF
40176 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40177 _ACEOF
40178 have_ceil=1
40179 fi
40180 done
40181
40182 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
40183 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
40184 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
40185 echo "$as_me:$LINENO: result: yes" >&5
40186 echo "${ECHO_T}yes" >&6
40187 else
40188 echo "$as_me:$LINENO: result: no" >&5
40189 echo "${ECHO_T}no" >&6
40190 # not sure we should warn the user, crash, etc.
40191 fi
40192 fi
40193
40194 if test "$wxUSE_GUI" = "yes"; then
40195
40196
40197 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
40198 drawing dynamic erase event exec font image \
40199 minimal propsize rotate shaped vscroll widgets render"
40200
40201 if test "$wxUSE_MONOLITHIC" != "yes"; then
40202 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
40203 fi
40204 if test "$TOOLKIT" = "MSW"; then
40205 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS nativdlg regtest richedit"
40206 fi
40207 else
40208 SAMPLES_SUBDIRS="console"
40209 fi
40210
40211
40212 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
40213 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
40214
40215 if test "$GXX" = yes ; then
40216 CWARNINGS="-Wall"
40217 CXXWARNINGS="$CWARNINGS -Wno-ctor-dtor-privacy"
40218 fi
40219
40220 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
40221
40222 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
40223 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CWARNINGS`
40224 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
40225
40226 if test "x$MWCC" = "xyes"; then
40227
40228 CC="$CC -cwd source -I-"
40229 CXX="$CXX -cwd source -I-"
40230 fi
40231
40232
40233 LIBS=`echo $LIBS`
40234 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
40235 EXTRALIBS_XML="$EXPAT_LINK"
40236 EXTRALIBS_HTML="$MSPACK_LINK"
40237 EXTRALIBS_ODBC="$ODBC_LINK"
40238 if test "$wxUSE_GUI" = "yes"; then
40239 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_GNOMEPRINT`
40240 fi
40241 if test "$wxUSE_OPENGL" = "yes"; then
40242 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
40243 fi
40244
40245 LDFLAGS="$LDFLAGS $PROFILE"
40246
40247 if test "$wxUSE_GTK" = 1; then
40248 WXCONFIG_INCLUDE=
40249 else
40250 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
40251 fi
40252
40253 WXCONFIG_EXTRALIBS="$LIBS"
40254
40255 if test "$wxUSE_REGEX" = "builtin" ; then
40256 wxconfig_3rdparty="$wxconfig_3rdparty regex${lib_unicode_suffix}"
40257 fi
40258 if test "$wxUSE_EXPAT" = "builtin" ; then
40259 wxconfig_3rdparty="$wxconfig_3rdparty expat"
40260 fi
40261 if test "$wxUSE_ODBC" = "builtin" ; then
40262 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
40263 fi
40264 if test "$wxUSE_LIBTIFF" = "builtin" ; then
40265 wxconfig_3rdparty="$wxconfig_3rdparty tiff"
40266 fi
40267 if test "$wxUSE_LIBJPEG" = "builtin" ; then
40268 wxconfig_3rdparty="$wxconfig_3rdparty jpeg"
40269 fi
40270 if test "$wxUSE_LIBPNG" = "builtin" ; then
40271 wxconfig_3rdparty="$wxconfig_3rdparty png"
40272 fi
40273 if test "$wxUSE_ZLIB" = "builtin" ; then
40274 wxconfig_3rdparty="$wxconfig_3rdparty zlib"
40275 fi
40276 if test "$wxUSE_ODBC" = "builtin" ; then
40277 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
40278 fi
40279
40280 for i in $wxconfig_3rdparty ; do
40281 WXCONFIG_EXTRALIBS="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
40282 done
40283
40284
40285 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
40286 WXUNIV=1
40287 else
40288 WXUNIV=0
40289 fi
40290
40291
40292
40293
40294
40295
40296
40297
40298
40299 if test $wxUSE_MONOLITHIC = "yes" ; then
40300 MONOLITHIC=1
40301 else
40302 MONOLITHIC=0
40303 fi
40304
40305 if test $wxUSE_PLUGINS = "yes" ; then
40306 USE_PLUGINS=1
40307 else
40308 USE_PLUGINS=0
40309 fi
40310
40311 if test $wxUSE_ODBC != "no" ; then
40312 USE_ODBC=1
40313 else
40314 USE_ODBC=0
40315 fi
40316
40317 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
40318 OFFICIAL_BUILD=1
40319 else
40320 OFFICIAL_BUILD=0
40321 fi
40322
40323
40324
40325
40326
40327
40328
40329
40330
40331
40332
40333
40334
40335
40336
40337
40338
40339
40340
40341
40342
40343
40344
40345 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
40346
40347
40348
40349
40350
40351
40352
40353
40354 case "$TOOLKIT" in
40355 GTK)
40356 TOOLKIT_USER="GTK+"
40357 if test "$WXGTK20" = 1; then
40358 TOOLKIT_USER="$TOOLKIT_USER 2"
40359 fi
40360 ;;
40361
40362 *)
40363 TOOLKIT_USER=$TOOLKIT_LOWERCASE
40364 ;;
40365 esac
40366
40367
40368
40369
40370 if test "x$BAKEFILE_HOST" = "x"; then
40371 BAKEFILE_HOST="${host}"
40372 fi
40373
40374 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
40375
40376 if test -n "$ac_tool_prefix"; then
40377 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
40378 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
40379 echo "$as_me:$LINENO: checking for $ac_word" >&5
40380 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40381 if test "${ac_cv_prog_RANLIB+set}" = set; then
40382 echo $ECHO_N "(cached) $ECHO_C" >&6
40383 else
40384 if test -n "$RANLIB"; then
40385 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
40386 else
40387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40388 for as_dir in $PATH
40389 do
40390 IFS=$as_save_IFS
40391 test -z "$as_dir" && as_dir=.
40392 for ac_exec_ext in '' $ac_executable_extensions; do
40393 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40394 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
40395 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40396 break 2
40397 fi
40398 done
40399 done
40400
40401 fi
40402 fi
40403 RANLIB=$ac_cv_prog_RANLIB
40404 if test -n "$RANLIB"; then
40405 echo "$as_me:$LINENO: result: $RANLIB" >&5
40406 echo "${ECHO_T}$RANLIB" >&6
40407 else
40408 echo "$as_me:$LINENO: result: no" >&5
40409 echo "${ECHO_T}no" >&6
40410 fi
40411
40412 fi
40413 if test -z "$ac_cv_prog_RANLIB"; then
40414 ac_ct_RANLIB=$RANLIB
40415 # Extract the first word of "ranlib", so it can be a program name with args.
40416 set dummy ranlib; ac_word=$2
40417 echo "$as_me:$LINENO: checking for $ac_word" >&5
40418 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40419 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
40420 echo $ECHO_N "(cached) $ECHO_C" >&6
40421 else
40422 if test -n "$ac_ct_RANLIB"; then
40423 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
40424 else
40425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40426 for as_dir in $PATH
40427 do
40428 IFS=$as_save_IFS
40429 test -z "$as_dir" && as_dir=.
40430 for ac_exec_ext in '' $ac_executable_extensions; do
40431 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40432 ac_cv_prog_ac_ct_RANLIB="ranlib"
40433 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40434 break 2
40435 fi
40436 done
40437 done
40438
40439 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
40440 fi
40441 fi
40442 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
40443 if test -n "$ac_ct_RANLIB"; then
40444 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
40445 echo "${ECHO_T}$ac_ct_RANLIB" >&6
40446 else
40447 echo "$as_me:$LINENO: result: no" >&5
40448 echo "${ECHO_T}no" >&6
40449 fi
40450
40451 RANLIB=$ac_ct_RANLIB
40452 else
40453 RANLIB="$ac_cv_prog_RANLIB"
40454 fi
40455
40456 # Find a good install program. We prefer a C program (faster),
40457 # so one script is as good as another. But avoid the broken or
40458 # incompatible versions:
40459 # SysV /etc/install, /usr/sbin/install
40460 # SunOS /usr/etc/install
40461 # IRIX /sbin/install
40462 # AIX /bin/install
40463 # AmigaOS /C/install, which installs bootblocks on floppy discs
40464 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
40465 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
40466 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
40467 # OS/2's system install, which has a completely different semantic
40468 # ./install, which can be erroneously created by make from ./install.sh.
40469 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
40470 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
40471 if test -z "$INSTALL"; then
40472 if test "${ac_cv_path_install+set}" = set; then
40473 echo $ECHO_N "(cached) $ECHO_C" >&6
40474 else
40475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40476 for as_dir in $PATH
40477 do
40478 IFS=$as_save_IFS
40479 test -z "$as_dir" && as_dir=.
40480 # Account for people who put trailing slashes in PATH elements.
40481 case $as_dir/ in
40482 ./ | .// | /cC/* | \
40483 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
40484 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
40485 /usr/ucb/* ) ;;
40486 *)
40487 # OSF1 and SCO ODT 3.0 have their own names for install.
40488 # Don't use installbsd from OSF since it installs stuff as root
40489 # by default.
40490 for ac_prog in ginstall scoinst install; do
40491 for ac_exec_ext in '' $ac_executable_extensions; do
40492 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
40493 if test $ac_prog = install &&
40494 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
40495 # AIX install. It has an incompatible calling convention.
40496 :
40497 elif test $ac_prog = install &&
40498 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
40499 # program-specific install script used by HP pwplus--don't use.
40500 :
40501 else
40502 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
40503 break 3
40504 fi
40505 fi
40506 done
40507 done
40508 ;;
40509 esac
40510 done
40511
40512
40513 fi
40514 if test "${ac_cv_path_install+set}" = set; then
40515 INSTALL=$ac_cv_path_install
40516 else
40517 # As a last resort, use the slow shell script. We don't cache a
40518 # path for INSTALL within a source directory, because that will
40519 # break other packages using the cache if that directory is
40520 # removed, or if the path is relative.
40521 INSTALL=$ac_install_sh
40522 fi
40523 fi
40524 echo "$as_me:$LINENO: result: $INSTALL" >&5
40525 echo "${ECHO_T}$INSTALL" >&6
40526
40527 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
40528 # It thinks the first close brace ends the variable substitution.
40529 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
40530
40531 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
40532
40533 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
40534
40535 echo "$as_me:$LINENO: checking whether ln -s works" >&5
40536 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
40537 LN_S=$as_ln_s
40538 if test "$LN_S" = "ln -s"; then
40539 echo "$as_me:$LINENO: result: yes" >&5
40540 echo "${ECHO_T}yes" >&6
40541 else
40542 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
40543 echo "${ECHO_T}no, using $LN_S" >&6
40544 fi
40545
40546
40547 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
40548 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
40549 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
40550 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
40551 echo $ECHO_N "(cached) $ECHO_C" >&6
40552 else
40553 cat >conftest.make <<\_ACEOF
40554 all:
40555 @echo 'ac_maketemp="$(MAKE)"'
40556 _ACEOF
40557 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
40558 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
40559 if test -n "$ac_maketemp"; then
40560 eval ac_cv_prog_make_${ac_make}_set=yes
40561 else
40562 eval ac_cv_prog_make_${ac_make}_set=no
40563 fi
40564 rm -f conftest.make
40565 fi
40566 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
40567 echo "$as_me:$LINENO: result: yes" >&5
40568 echo "${ECHO_T}yes" >&6
40569 SET_MAKE=
40570 else
40571 echo "$as_me:$LINENO: result: no" >&5
40572 echo "${ECHO_T}no" >&6
40573 SET_MAKE="MAKE=${MAKE-make}"
40574 fi
40575
40576
40577
40578 if test -n "$ac_tool_prefix"; then
40579 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
40580 set dummy ${ac_tool_prefix}ar; ac_word=$2
40581 echo "$as_me:$LINENO: checking for $ac_word" >&5
40582 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40583 if test "${ac_cv_prog_AR+set}" = set; then
40584 echo $ECHO_N "(cached) $ECHO_C" >&6
40585 else
40586 if test -n "$AR"; then
40587 ac_cv_prog_AR="$AR" # Let the user override the test.
40588 else
40589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40590 for as_dir in $PATH
40591 do
40592 IFS=$as_save_IFS
40593 test -z "$as_dir" && as_dir=.
40594 for ac_exec_ext in '' $ac_executable_extensions; do
40595 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40596 ac_cv_prog_AR="${ac_tool_prefix}ar"
40597 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40598 break 2
40599 fi
40600 done
40601 done
40602
40603 fi
40604 fi
40605 AR=$ac_cv_prog_AR
40606 if test -n "$AR"; then
40607 echo "$as_me:$LINENO: result: $AR" >&5
40608 echo "${ECHO_T}$AR" >&6
40609 else
40610 echo "$as_me:$LINENO: result: no" >&5
40611 echo "${ECHO_T}no" >&6
40612 fi
40613
40614 fi
40615 if test -z "$ac_cv_prog_AR"; then
40616 ac_ct_AR=$AR
40617 # Extract the first word of "ar", so it can be a program name with args.
40618 set dummy ar; ac_word=$2
40619 echo "$as_me:$LINENO: checking for $ac_word" >&5
40620 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40621 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
40622 echo $ECHO_N "(cached) $ECHO_C" >&6
40623 else
40624 if test -n "$ac_ct_AR"; then
40625 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
40626 else
40627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40628 for as_dir in $PATH
40629 do
40630 IFS=$as_save_IFS
40631 test -z "$as_dir" && as_dir=.
40632 for ac_exec_ext in '' $ac_executable_extensions; do
40633 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40634 ac_cv_prog_ac_ct_AR="ar"
40635 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40636 break 2
40637 fi
40638 done
40639 done
40640
40641 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
40642 fi
40643 fi
40644 ac_ct_AR=$ac_cv_prog_ac_ct_AR
40645 if test -n "$ac_ct_AR"; then
40646 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
40647 echo "${ECHO_T}$ac_ct_AR" >&6
40648 else
40649 echo "$as_me:$LINENO: result: no" >&5
40650 echo "${ECHO_T}no" >&6
40651 fi
40652
40653 AR=$ac_ct_AR
40654 else
40655 AR="$ac_cv_prog_AR"
40656 fi
40657
40658 if test -n "$ac_tool_prefix"; then
40659 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
40660 set dummy ${ac_tool_prefix}strip; ac_word=$2
40661 echo "$as_me:$LINENO: checking for $ac_word" >&5
40662 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40663 if test "${ac_cv_prog_STRIP+set}" = set; then
40664 echo $ECHO_N "(cached) $ECHO_C" >&6
40665 else
40666 if test -n "$STRIP"; then
40667 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
40668 else
40669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40670 for as_dir in $PATH
40671 do
40672 IFS=$as_save_IFS
40673 test -z "$as_dir" && as_dir=.
40674 for ac_exec_ext in '' $ac_executable_extensions; do
40675 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40676 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
40677 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40678 break 2
40679 fi
40680 done
40681 done
40682
40683 fi
40684 fi
40685 STRIP=$ac_cv_prog_STRIP
40686 if test -n "$STRIP"; then
40687 echo "$as_me:$LINENO: result: $STRIP" >&5
40688 echo "${ECHO_T}$STRIP" >&6
40689 else
40690 echo "$as_me:$LINENO: result: no" >&5
40691 echo "${ECHO_T}no" >&6
40692 fi
40693
40694 fi
40695 if test -z "$ac_cv_prog_STRIP"; then
40696 ac_ct_STRIP=$STRIP
40697 # Extract the first word of "strip", so it can be a program name with args.
40698 set dummy strip; ac_word=$2
40699 echo "$as_me:$LINENO: checking for $ac_word" >&5
40700 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40701 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
40702 echo $ECHO_N "(cached) $ECHO_C" >&6
40703 else
40704 if test -n "$ac_ct_STRIP"; then
40705 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
40706 else
40707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40708 for as_dir in $PATH
40709 do
40710 IFS=$as_save_IFS
40711 test -z "$as_dir" && as_dir=.
40712 for ac_exec_ext in '' $ac_executable_extensions; do
40713 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40714 ac_cv_prog_ac_ct_STRIP="strip"
40715 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40716 break 2
40717 fi
40718 done
40719 done
40720
40721 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
40722 fi
40723 fi
40724 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
40725 if test -n "$ac_ct_STRIP"; then
40726 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
40727 echo "${ECHO_T}$ac_ct_STRIP" >&6
40728 else
40729 echo "$as_me:$LINENO: result: no" >&5
40730 echo "${ECHO_T}no" >&6
40731 fi
40732
40733 STRIP=$ac_ct_STRIP
40734 else
40735 STRIP="$ac_cv_prog_STRIP"
40736 fi
40737
40738 if test -n "$ac_tool_prefix"; then
40739 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
40740 set dummy ${ac_tool_prefix}nm; ac_word=$2
40741 echo "$as_me:$LINENO: checking for $ac_word" >&5
40742 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40743 if test "${ac_cv_prog_NM+set}" = set; then
40744 echo $ECHO_N "(cached) $ECHO_C" >&6
40745 else
40746 if test -n "$NM"; then
40747 ac_cv_prog_NM="$NM" # Let the user override the test.
40748 else
40749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40750 for as_dir in $PATH
40751 do
40752 IFS=$as_save_IFS
40753 test -z "$as_dir" && as_dir=.
40754 for ac_exec_ext in '' $ac_executable_extensions; do
40755 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40756 ac_cv_prog_NM="${ac_tool_prefix}nm"
40757 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40758 break 2
40759 fi
40760 done
40761 done
40762
40763 fi
40764 fi
40765 NM=$ac_cv_prog_NM
40766 if test -n "$NM"; then
40767 echo "$as_me:$LINENO: result: $NM" >&5
40768 echo "${ECHO_T}$NM" >&6
40769 else
40770 echo "$as_me:$LINENO: result: no" >&5
40771 echo "${ECHO_T}no" >&6
40772 fi
40773
40774 fi
40775 if test -z "$ac_cv_prog_NM"; then
40776 ac_ct_NM=$NM
40777 # Extract the first word of "nm", so it can be a program name with args.
40778 set dummy nm; ac_word=$2
40779 echo "$as_me:$LINENO: checking for $ac_word" >&5
40780 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40781 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
40782 echo $ECHO_N "(cached) $ECHO_C" >&6
40783 else
40784 if test -n "$ac_ct_NM"; then
40785 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
40786 else
40787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40788 for as_dir in $PATH
40789 do
40790 IFS=$as_save_IFS
40791 test -z "$as_dir" && as_dir=.
40792 for ac_exec_ext in '' $ac_executable_extensions; do
40793 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40794 ac_cv_prog_ac_ct_NM="nm"
40795 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40796 break 2
40797 fi
40798 done
40799 done
40800
40801 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
40802 fi
40803 fi
40804 ac_ct_NM=$ac_cv_prog_ac_ct_NM
40805 if test -n "$ac_ct_NM"; then
40806 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
40807 echo "${ECHO_T}$ac_ct_NM" >&6
40808 else
40809 echo "$as_me:$LINENO: result: no" >&5
40810 echo "${ECHO_T}no" >&6
40811 fi
40812
40813 NM=$ac_ct_NM
40814 else
40815 NM="$ac_cv_prog_NM"
40816 fi
40817
40818
40819 case ${BAKEFILE_HOST} in
40820 *-hp-hpux* )
40821 INSTALL_DIR="mkdir -p"
40822 ;;
40823 *) INSTALL_DIR="$INSTALL -d"
40824 ;;
40825 esac
40826
40827
40828 LDFLAGS_GUI=
40829 case ${BAKEFILE_HOST} in
40830 *-*-cygwin* | *-*-mingw32* )
40831 LDFLAGS_GUI="-mwindows"
40832 esac
40833
40834
40835 fi
40836
40837 echo "$as_me:$LINENO: checking if make is GNU make" >&5
40838 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
40839 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
40840 echo $ECHO_N "(cached) $ECHO_C" >&6
40841 else
40842
40843 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
40844 egrep -s GNU > /dev/null); then
40845 bakefile_cv_prog_makeisgnu="yes"
40846 else
40847 bakefile_cv_prog_makeisgnu="no"
40848 fi
40849
40850 fi
40851 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
40852 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
40853
40854 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
40855 IF_GNU_MAKE=""
40856 else
40857 IF_GNU_MAKE="#"
40858 fi
40859
40860
40861
40862 PLATFORM_UNIX=0
40863 PLATFORM_WIN32=0
40864 PLATFORM_MSDOS=0
40865 PLATFORM_MAC=0
40866 PLATFORM_MACOS=0
40867 PLATFORM_MACOSX=0
40868 PLATFORM_OS2=0
40869 PLATFORM_BEOS=0
40870
40871 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
40872 case "${BAKEFILE_HOST}" in
40873 *-*-cygwin* | *-*-mingw32* )
40874 PLATFORM_WIN32=1
40875 ;;
40876 *-pc-msdosdjgpp )
40877 PLATFORM_MSDOS=1
40878 ;;
40879 *-pc-os2_emx | *-pc-os2-emx )
40880 PLATFORM_OS2=1
40881 ;;
40882 powerpc-*-darwin* )
40883 PLATFORM_MAC=1
40884 PLATFORM_MACOSX=1
40885 ;;
40886 *-*-beos* )
40887 PLATFORM_BEOS=1
40888 ;;
40889 powerpc-apple-macos* )
40890 PLATFORM_MAC=1
40891 PLATFORM_MACOS=1
40892 ;;
40893 * )
40894 PLATFORM_UNIX=1
40895 ;;
40896 esac
40897 else
40898 case "$BAKEFILE_FORCE_PLATFORM" in
40899 win32 )
40900 PLATFORM_WIN32=1
40901 ;;
40902 msdos )
40903 PLATFORM_MSDOS=1
40904 ;;
40905 os2 )
40906 PLATFORM_OS2=1
40907 ;;
40908 darwin )
40909 PLATFORM_MAC=1
40910 PLATFORM_MACOSX=1
40911 ;;
40912 unix )
40913 PLATFORM_UNIX=1
40914 ;;
40915 beos )
40916 PLATFORM_BEOS=1
40917 ;;
40918 * )
40919 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
40920 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
40921 { (exit 1); exit 1; }; }
40922 ;;
40923 esac
40924 fi
40925
40926
40927
40928
40929
40930
40931
40932
40933
40934
40935
40936 # Check whether --enable-omf or --disable-omf was given.
40937 if test "${enable_omf+set}" = set; then
40938 enableval="$enable_omf"
40939 bk_os2_use_omf="$enableval"
40940 fi;
40941
40942 case "${BAKEFILE_HOST}" in
40943 *-*-darwin* )
40944 CFLAGS="$CFLAGS -fno-common"
40945 CXXFLAGS="$CXXFLAGS -fno-common"
40946 ;;
40947
40948 *-pc-os2_emx | *-pc-os2-emx )
40949 if test "x$bk_os2_use_omf" = "xyes" ; then
40950 AR=emxomfar
40951 RANLIB=:
40952 LDFLAGS="-Zomf $LDFLAGS"
40953 CFLAGS="-Zomf $CFLAGS"
40954 CXXFLAGS="-Zomf $CXXFLAGS"
40955 OS2_LIBEXT="lib"
40956 else
40957 OS2_LIBEXT="a"
40958 fi
40959 ;;
40960
40961 i*86-*-beos* )
40962 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
40963 ;;
40964 esac
40965
40966
40967 SO_SUFFIX="so"
40968 SO_SUFFIX_MODULE="so"
40969 EXEEXT=""
40970 LIBPREFIX="lib"
40971 LIBEXT=".a"
40972 DLLPREFIX="lib"
40973 DLLPREFIX_MODULE=""
40974 DLLIMP_SUFFIX=""
40975
40976 case "${BAKEFILE_HOST}" in
40977 *-hp-hpux* )
40978 SO_SUFFIX="sl"
40979 SO_SUFFIX_MODULE="sl"
40980 ;;
40981 *-*-aix* )
40982 SO_SUFFIX="a"
40983 SO_SUFFIX_MODULE="a"
40984 ;;
40985 *-*-cygwin* | *-*-mingw32* )
40986 SO_SUFFIX="dll"
40987 SO_SUFFIX_MODULE="dll"
40988 DLLIMP_SUFFIX="dll.a"
40989 EXEEXT=".exe"
40990 DLLPREFIX=""
40991 ;;
40992 *-pc-msdosdjgpp )
40993 EXEEXT=".exe"
40994 DLLPREFIX=""
40995 ;;
40996 *-pc-os2_emx | *-pc-os2-emx )
40997 SO_SUFFIX="dll"
40998 SO_SUFFIX_MODULE="dll"
40999 DLLIMP_SUFFIX=$OS2_LIBEXT
41000 EXEEXT=".exe"
41001 DLLPREFIX=""
41002 LIBPREFIX=""
41003 LIBEXT=".$OS2_LIBEXT"
41004 ;;
41005 powerpc-*-darwin* )
41006 SO_SUFFIX="dylib"
41007 SO_SUFFIX_MODULE="bundle"
41008 ;;
41009 esac
41010
41011 if test "x$DLLIMP_SUFFIX" = "x" ; then
41012 DLLIMP_SUFFIX="$SO_SUFFIX"
41013 fi
41014
41015
41016
41017
41018
41019
41020
41021
41022
41023
41024
41025 PIC_FLAG=""
41026 if test "x$GCC" = "xyes"; then
41027 PIC_FLAG="-fPIC"
41028 fi
41029
41030 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
41031 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
41032
41033 case "${BAKEFILE_HOST}" in
41034 *-hp-hpux* )
41035 if test "x$GCC" != "xyes"; then
41036 LDFLAGS="$LDFLAGS -L/usr/lib"
41037
41038 SHARED_LD_CC="${CC} -b -o"
41039 SHARED_LD_CXX="${CXX} -b -o"
41040 PIC_FLAG="+Z"
41041 fi
41042 ;;
41043
41044 *-*-linux* )
41045 if test "x$GCC" != "xyes"; then
41046 echo "$as_me:$LINENO: checking for Intel compiler" >&5
41047 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
41048 if test "${bakefile_cv_prog_icc+set}" = set; then
41049 echo $ECHO_N "(cached) $ECHO_C" >&6
41050 else
41051
41052 cat >conftest.$ac_ext <<_ACEOF
41053 /* confdefs.h. */
41054 _ACEOF
41055 cat confdefs.h >>conftest.$ac_ext
41056 cat >>conftest.$ac_ext <<_ACEOF
41057 /* end confdefs.h. */
41058
41059 int
41060 main ()
41061 {
41062
41063 #ifndef __INTEL_COMPILER
41064 #error Not icc
41065 #endif
41066
41067 ;
41068 return 0;
41069 }
41070 _ACEOF
41071 rm -f conftest.$ac_objext
41072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41073 (eval $ac_compile) 2>conftest.er1
41074 ac_status=$?
41075 grep -v '^ *+' conftest.er1 >conftest.err
41076 rm -f conftest.er1
41077 cat conftest.err >&5
41078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41079 (exit $ac_status); } &&
41080 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41082 (eval $ac_try) 2>&5
41083 ac_status=$?
41084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41085 (exit $ac_status); }; } &&
41086 { ac_try='test -s conftest.$ac_objext'
41087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41088 (eval $ac_try) 2>&5
41089 ac_status=$?
41090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41091 (exit $ac_status); }; }; then
41092 bakefile_cv_prog_icc=yes
41093 else
41094 echo "$as_me: failed program was:" >&5
41095 sed 's/^/| /' conftest.$ac_ext >&5
41096
41097 bakefile_cv_prog_icc=no
41098
41099 fi
41100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41101
41102 fi
41103 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
41104 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
41105 if test "$bakefile_cv_prog_icc" = "yes"; then
41106 PIC_FLAG="-KPIC"
41107 fi
41108 fi
41109 ;;
41110
41111 *-*-solaris2* )
41112 if test "x$GCC" != xyes ; then
41113 SHARED_LD_CC="${CC} -G -o"
41114 SHARED_LD_CXX="${CXX} -G -o"
41115 PIC_FLAG="-KPIC"
41116 fi
41117 ;;
41118
41119 *-*-darwin* )
41120
41121 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
41122 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
41123 if test "${wx_cv_gcc31+set}" = set; then
41124 echo $ECHO_N "(cached) $ECHO_C" >&6
41125 else
41126
41127 cat >conftest.$ac_ext <<_ACEOF
41128 /* confdefs.h. */
41129 _ACEOF
41130 cat confdefs.h >>conftest.$ac_ext
41131 cat >>conftest.$ac_ext <<_ACEOF
41132 /* end confdefs.h. */
41133
41134 int
41135 main ()
41136 {
41137
41138 #if (__GNUC__ < 3) || \
41139 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
41140 #error old gcc
41141 #endif
41142
41143 ;
41144 return 0;
41145 }
41146 _ACEOF
41147 rm -f conftest.$ac_objext
41148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41149 (eval $ac_compile) 2>conftest.er1
41150 ac_status=$?
41151 grep -v '^ *+' conftest.er1 >conftest.err
41152 rm -f conftest.er1
41153 cat conftest.err >&5
41154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41155 (exit $ac_status); } &&
41156 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41158 (eval $ac_try) 2>&5
41159 ac_status=$?
41160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41161 (exit $ac_status); }; } &&
41162 { ac_try='test -s conftest.$ac_objext'
41163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41164 (eval $ac_try) 2>&5
41165 ac_status=$?
41166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41167 (exit $ac_status); }; }; then
41168
41169 wx_cv_gcc31=yes
41170
41171 else
41172 echo "$as_me: failed program was:" >&5
41173 sed 's/^/| /' conftest.$ac_ext >&5
41174
41175
41176 wx_cv_gcc31=no
41177
41178
41179 fi
41180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41181
41182 fi
41183 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
41184 echo "${ECHO_T}$wx_cv_gcc31" >&6
41185 if test "$wx_cv_gcc31" = "no"; then
41186
41187 D='$'
41188 cat <<EOF >shared-ld-sh
41189 #!/bin/sh
41190 #-----------------------------------------------------------------------------
41191 #-- Name: distrib/mac/shared-ld-sh
41192 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
41193 #-- Author: Gilles Depeyrot
41194 #-- Copyright: (c) 2002 Gilles Depeyrot
41195 #-- Licence: any use permitted
41196 #-----------------------------------------------------------------------------
41197
41198 verbose=0
41199 args=""
41200 objects=""
41201 linking_flag="-dynamiclib"
41202
41203 while test ${D}# -gt 0; do
41204 case ${D}1 in
41205
41206 -v)
41207 verbose=1
41208 ;;
41209
41210 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
41211 # collect these options and values
41212 args="${D}{args} ${D}1 ${D}2"
41213 shift
41214 ;;
41215
41216 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
41217 # collect these options
41218 args="${D}{args} ${D}1"
41219 ;;
41220
41221 -dynamiclib|-bundle)
41222 linking_flag="${D}1"
41223 ;;
41224
41225 -*)
41226 echo "shared-ld: unhandled option '${D}1'"
41227 exit 1
41228 ;;
41229
41230 *.o | *.a | *.dylib)
41231 # collect object files
41232 objects="${D}{objects} ${D}1"
41233 ;;
41234
41235 *)
41236 echo "shared-ld: unhandled argument '${D}1'"
41237 exit 1
41238 ;;
41239
41240 esac
41241 shift
41242 done
41243
41244 #
41245 # Link one module containing all the others
41246 #
41247 if test ${D}{verbose} = 1; then
41248 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
41249 fi
41250 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
41251 status=${D}?
41252 if test ${D}{status} != 0; then
41253 exit ${D}{status}
41254 fi
41255
41256 #
41257 # Link the shared library from the single module created
41258 #
41259 if test ${D}{verbose} = 1; then
41260 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
41261 fi
41262 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
41263 status=${D}?
41264 if test ${D}{status} != 0; then
41265 exit ${D}{status}
41266 fi
41267
41268 #
41269 # Remove intermediate module
41270 #
41271 rm -f master.${D}${D}.o
41272
41273 exit 0
41274 EOF
41275
41276 chmod +x shared-ld-sh
41277
41278 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
41279 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
41280 SHARED_LD_CXX="$SHARED_LD_CC"
41281 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
41282 else
41283 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
41284 SHARED_LD_MODULE_CC="\${CC} -bundle -single_module -headerpad_max_install_names -o"
41285 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
41286 SHARED_LD_MODULE_CXX="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
41287 fi
41288
41289 PIC_FLAG="-dynamic -fPIC"
41290 ;;
41291
41292 *-*-aix* )
41293 if test "x$GCC" != "xyes"; then
41294 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
41295 set dummy makeC++SharedLib; ac_word=$2
41296 echo "$as_me:$LINENO: checking for $ac_word" >&5
41297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41298 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
41299 echo $ECHO_N "(cached) $ECHO_C" >&6
41300 else
41301 if test -n "$AIX_CXX_LD"; then
41302 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
41303 else
41304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41305 for as_dir in $PATH
41306 do
41307 IFS=$as_save_IFS
41308 test -z "$as_dir" && as_dir=.
41309 for ac_exec_ext in '' $ac_executable_extensions; do
41310 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41311 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
41312 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41313 break 2
41314 fi
41315 done
41316 done
41317
41318 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
41319 fi
41320 fi
41321 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
41322 if test -n "$AIX_CXX_LD"; then
41323 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
41324 echo "${ECHO_T}$AIX_CXX_LD" >&6
41325 else
41326 echo "$as_me:$LINENO: result: no" >&5
41327 echo "${ECHO_T}no" >&6
41328 fi
41329
41330 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
41331 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
41332 fi
41333 ;;
41334
41335 *-*-beos* )
41336 SHARED_LD_CC="${LD} -nostart -o"
41337 SHARED_LD_CXX="${LD} -nostart -o"
41338 ;;
41339
41340 *-*-irix* )
41341 if test "x$GCC" != "xyes"; then
41342 PIC_FLAG="-KPIC"
41343 fi
41344 ;;
41345
41346 *-*-cygwin* | *-*-mingw32* )
41347 PIC_FLAG=""
41348 SHARED_LD_CC="\$(CC) -shared -o"
41349 SHARED_LD_CXX="\$(CXX) -shared -o"
41350 ;;
41351
41352 *-pc-os2_emx | *-pc-os2-emx )
41353 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41354 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41355 PIC_FLAG=""
41356
41357 D='$'
41358 cat <<EOF >dllar.sh
41359 #!/bin/sh
41360 #
41361 # dllar - a tool to build both a .dll and an .a file
41362 # from a set of object (.o) files for EMX/OS2.
41363 #
41364 # Written by Andrew Zabolotny, bit@freya.etu.ru
41365 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
41366 #
41367 # This script will accept a set of files on the command line.
41368 # All the public symbols from the .o files will be exported into
41369 # a .DEF file, then linker will be run (through gcc) against them to
41370 # build a shared library consisting of all given .o files. All libraries
41371 # (.a) will be first decompressed into component .o files then act as
41372 # described above. You can optionally give a description (-d "description")
41373 # which will be put into .DLL. To see the list of accepted options (as well
41374 # as command-line format) simply run this program without options. The .DLL
41375 # is built to be imported by name (there is no guarantee that new versions
41376 # of the library you build will have same ordinals for same symbols).
41377 #
41378 # dllar is free software; you can redistribute it and/or modify
41379 # it under the terms of the GNU General Public License as published by
41380 # the Free Software Foundation; either version 2, or (at your option)
41381 # any later version.
41382 #
41383 # dllar is distributed in the hope that it will be useful,
41384 # but WITHOUT ANY WARRANTY; without even the implied warranty of
41385 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
41386 # GNU General Public License for more details.
41387 #
41388 # You should have received a copy of the GNU General Public License
41389 # along with dllar; see the file COPYING. If not, write to the Free
41390 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
41391 # 02111-1307, USA.
41392
41393 # To successfuly run this program you will need:
41394 # - Current drive should have LFN support (HPFS, ext2, network, etc)
41395 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
41396 # - gcc
41397 # (used to build the .dll)
41398 # - emxexp
41399 # (used to create .def file from .o files)
41400 # - emximp
41401 # (used to create .a file from .def file)
41402 # - GNU text utilites (cat, sort, uniq)
41403 # used to process emxexp output
41404 # - GNU file utilities (mv, rm)
41405 # - GNU sed
41406 # - lxlite (optional, see flag below)
41407 # (used for general .dll cleanup)
41408 #
41409
41410 flag_USE_LXLITE=1;
41411
41412 #
41413 # helper functions
41414 # basnam, variant of basename, which does _not_ remove the path, _iff_
41415 # second argument (suffix to remove) is given
41416 basnam(){
41417 case ${D}# in
41418 1)
41419 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
41420 ;;
41421 2)
41422 echo ${D}1 | sed 's/'${D}2'${D}//'
41423 ;;
41424 *)
41425 echo "error in basnam ${D}*"
41426 exit 8
41427 ;;
41428 esac
41429 }
41430
41431 # Cleanup temporary files and output
41432 CleanUp() {
41433 cd ${D}curDir
41434 for i in ${D}inputFiles ; do
41435 case ${D}i in
41436 *!)
41437 rm -rf \`basnam ${D}i !\`
41438 ;;
41439 *)
41440 ;;
41441 esac
41442 done
41443
41444 # Kill result in case of failure as there is just to many stupid make/nmake
41445 # things out there which doesn't do this.
41446 if [ ${D}# -eq 0 ]; then
41447 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
41448 fi
41449 }
41450
41451 # Print usage and exit script with rc=1.
41452 PrintHelp() {
41453 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
41454 echo ' [-name-mangler-script script.sh]'
41455 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
41456 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
41457 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
41458 echo ' [*.o] [*.a]'
41459 echo '*> "output_file" should have no extension.'
41460 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
41461 echo ' The import library name is derived from this and is set to "name".a,'
41462 echo ' unless overridden by -import'
41463 echo '*> "importlib_name" should have no extension.'
41464 echo ' If it has the .o, or .a extension, it is automatically removed.'
41465 echo ' This name is used as the import library name and may be longer and'
41466 echo ' more descriptive than the DLL name which has to follow the old '
41467 echo ' 8.3 convention of FAT.'
41468 echo '*> "script.sh may be given to override the output_file name by a'
41469 echo ' different name. It is mainly useful if the regular make process'
41470 echo ' of some package does not take into account OS/2 restriction of'
41471 echo ' DLL name lengths. It takes the importlib name as input and is'
41472 echo ' supposed to procude a shorter name as output. The script should'
41473 echo ' expect to get importlib_name without extension and should produce'
41474 echo ' a (max.) 8 letter name without extension.'
41475 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
41476 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
41477 echo ' These flags will be put at the start of GCC command line.'
41478 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
41479 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
41480 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
41481 echo ' If the last character of a symbol is "*", all symbols beginning'
41482 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
41483 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
41484 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
41485 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
41486 echo ' C runtime DLLs.'
41487 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
41488 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
41489 echo ' unchanged to GCC at the end of command line.'
41490 echo '*> If you create a DLL from a library and you do not specify -o,'
41491 echo ' the basename for DLL and import library will be set to library name,'
41492 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
41493 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
41494 echo ' library will be renamed into gcc_s.a.'
41495 echo '--------'
41496 echo 'Example:'
41497 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
41498 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
41499 CleanUp
41500 exit 1
41501 }
41502
41503 # Execute a command.
41504 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
41505 # @Uses Whatever CleanUp() uses.
41506 doCommand() {
41507 echo "${D}*"
41508 eval ${D}*
41509 rcCmd=${D}?
41510
41511 if [ ${D}rcCmd -ne 0 ]; then
41512 echo "command failed, exit code="${D}rcCmd
41513 CleanUp
41514 exit ${D}rcCmd
41515 fi
41516 }
41517
41518 # main routine
41519 # setup globals
41520 cmdLine=${D}*
41521 outFile=""
41522 outimpFile=""
41523 inputFiles=""
41524 renameScript=""
41525 description=""
41526 CC=gcc.exe
41527 CFLAGS="-s -Zcrtdll"
41528 EXTRA_CFLAGS=""
41529 EXPORT_BY_ORDINALS=0
41530 exclude_symbols=""
41531 library_flags=""
41532 curDir=\`pwd\`
41533 curDirS=curDir
41534 case ${D}curDirS in
41535 */)
41536 ;;
41537 *)
41538 curDirS=${D}{curDirS}"/"
41539 ;;
41540 esac
41541 # Parse commandline
41542 libsToLink=0
41543 omfLinking=0
41544 while [ ${D}1 ]; do
41545 case ${D}1 in
41546 -ord*)
41547 EXPORT_BY_ORDINALS=1;
41548 ;;
41549 -o*)
41550 shift
41551 outFile=${D}1
41552 ;;
41553 -i*)
41554 shift
41555 outimpFile=${D}1
41556 ;;
41557 -name-mangler-script)
41558 shift
41559 renameScript=${D}1
41560 ;;
41561 -d*)
41562 shift
41563 description=${D}1
41564 ;;
41565 -f*)
41566 shift
41567 CFLAGS=${D}1
41568 ;;
41569 -c*)
41570 shift
41571 CC=${D}1
41572 ;;
41573 -h*)
41574 PrintHelp
41575 ;;
41576 -ex*)
41577 shift
41578 exclude_symbols=${D}{exclude_symbols}${D}1" "
41579 ;;
41580 -libf*)
41581 shift
41582 library_flags=${D}{library_flags}${D}1" "
41583 ;;
41584 -nocrt*)
41585 CFLAGS="-s"
41586 ;;
41587 -nolxl*)
41588 flag_USE_LXLITE=0
41589 ;;
41590 -* | /*)
41591 case ${D}1 in
41592 -L* | -l*)
41593 libsToLink=1
41594 ;;
41595 -Zomf)
41596 omfLinking=1
41597 ;;
41598 *)
41599 ;;
41600 esac
41601 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
41602 ;;
41603 *.dll)
41604 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
41605 if [ ${D}omfLinking -eq 1 ]; then
41606 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
41607 else
41608 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
41609 fi
41610 ;;
41611 *)
41612 found=0;
41613 if [ ${D}libsToLink -ne 0 ]; then
41614 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
41615 else
41616 for file in ${D}1 ; do
41617 if [ -f ${D}file ]; then
41618 inputFiles="${D}{inputFiles} ${D}file"
41619 found=1
41620 fi
41621 done
41622 if [ ${D}found -eq 0 ]; then
41623 echo "ERROR: No file(s) found: "${D}1
41624 exit 8
41625 fi
41626 fi
41627 ;;
41628 esac
41629 shift
41630 done # iterate cmdline words
41631
41632 #
41633 if [ -z "${D}inputFiles" ]; then
41634 echo "dllar: no input files"
41635 PrintHelp
41636 fi
41637
41638 # Now extract all .o files from .a files
41639 newInputFiles=""
41640 for file in ${D}inputFiles ; do
41641 case ${D}file in
41642 *.a | *.lib)
41643 case ${D}file in
41644 *.a)
41645 suffix=".a"
41646 AR="ar"
41647 ;;
41648 *.lib)
41649 suffix=".lib"
41650 AR="emxomfar"
41651 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
41652 ;;
41653 *)
41654 ;;
41655 esac
41656 dirname=\`basnam ${D}file ${D}suffix\`"_%"
41657 mkdir ${D}dirname
41658 if [ ${D}? -ne 0 ]; then
41659 echo "Failed to create subdirectory ./${D}dirname"
41660 CleanUp
41661 exit 8;
41662 fi
41663 # Append '!' to indicate archive
41664 newInputFiles="${D}newInputFiles ${D}{dirname}!"
41665 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
41666 cd ${D}curDir
41667 found=0;
41668 for subfile in ${D}dirname/*.o* ; do
41669 if [ -f ${D}subfile ]; then
41670 found=1
41671 if [ -s ${D}subfile ]; then
41672 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
41673 newInputFiles="${D}newInputFiles ${D}subfile"
41674 fi
41675 fi
41676 done
41677 if [ ${D}found -eq 0 ]; then
41678 echo "WARNING: there are no files in archive \\'${D}file\\'"
41679 fi
41680 ;;
41681 *)
41682 newInputFiles="${D}{newInputFiles} ${D}file"
41683 ;;
41684 esac
41685 done
41686 inputFiles="${D}newInputFiles"
41687
41688 # Output filename(s).
41689 do_backup=0;
41690 if [ -z ${D}outFile ]; then
41691 do_backup=1;
41692 set outFile ${D}inputFiles; outFile=${D}2
41693 fi
41694
41695 # If it is an archive, remove the '!' and the '_%' suffixes
41696 case ${D}outFile in
41697 *_%!)
41698 outFile=\`basnam ${D}outFile _%!\`
41699 ;;
41700 *)
41701 ;;
41702 esac
41703 case ${D}outFile in
41704 *.dll)
41705 outFile=\`basnam ${D}outFile .dll\`
41706 ;;
41707 *.DLL)
41708 outFile=\`basnam ${D}outFile .DLL\`
41709 ;;
41710 *.o)
41711 outFile=\`basnam ${D}outFile .o\`
41712 ;;
41713 *.obj)
41714 outFile=\`basnam ${D}outFile .obj\`
41715 ;;
41716 *.a)
41717 outFile=\`basnam ${D}outFile .a\`
41718 ;;
41719 *.lib)
41720 outFile=\`basnam ${D}outFile .lib\`
41721 ;;
41722 *)
41723 ;;
41724 esac
41725 case ${D}outimpFile in
41726 *.a)
41727 outimpFile=\`basnam ${D}outimpFile .a\`
41728 ;;
41729 *.lib)
41730 outimpFile=\`basnam ${D}outimpFile .lib\`
41731 ;;
41732 *)
41733 ;;
41734 esac
41735 if [ -z ${D}outimpFile ]; then
41736 outimpFile=${D}outFile
41737 fi
41738 defFile="${D}{outFile}.def"
41739 arcFile="${D}{outimpFile}.a"
41740 arcFile2="${D}{outimpFile}.lib"
41741
41742 #create ${D}dllFile as something matching 8.3 restrictions,
41743 if [ -z ${D}renameScript ] ; then
41744 dllFile="${D}outFile"
41745 else
41746 dllFile=\`${D}renameScript ${D}outimpFile\`
41747 fi
41748
41749 if [ ${D}do_backup -ne 0 ] ; then
41750 if [ -f ${D}arcFile ] ; then
41751 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
41752 fi
41753 if [ -f ${D}arcFile2 ] ; then
41754 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
41755 fi
41756 fi
41757
41758 # Extract public symbols from all the object files.
41759 tmpdefFile=${D}{defFile}_%
41760 rm -f ${D}tmpdefFile
41761 for file in ${D}inputFiles ; do
41762 case ${D}file in
41763 *!)
41764 ;;
41765 *)
41766 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
41767 ;;
41768 esac
41769 done
41770
41771 # Create the def file.
41772 rm -f ${D}defFile
41773 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
41774 dllFile="${D}{dllFile}.dll"
41775 if [ ! -z ${D}description ]; then
41776 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
41777 fi
41778 echo "EXPORTS" >> ${D}defFile
41779
41780 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
41781 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
41782
41783 # Checks if the export is ok or not.
41784 for word in ${D}exclude_symbols; do
41785 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
41786 mv ${D}{tmpdefFile}% ${D}tmpdefFile
41787 done
41788
41789
41790 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
41791 sed "=" < ${D}tmpdefFile | \\
41792 sed '
41793 N
41794 : loop
41795 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
41796 t loop
41797 ' > ${D}{tmpdefFile}%
41798 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
41799 else
41800 rm -f ${D}{tmpdefFile}%
41801 fi
41802 cat ${D}tmpdefFile >> ${D}defFile
41803 rm -f ${D}tmpdefFile
41804
41805 # Do linking, create implib, and apply lxlite.
41806 gccCmdl="";
41807 for file in ${D}inputFiles ; do
41808 case ${D}file in
41809 *!)
41810 ;;
41811 *)
41812 gccCmdl="${D}gccCmdl ${D}file"
41813 ;;
41814 esac
41815 done
41816 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
41817 touch "${D}{outFile}.dll"
41818
41819 doCommand "emximp -o ${D}arcFile ${D}defFile"
41820 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
41821 add_flags="";
41822 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
41823 add_flags="-ynd"
41824 fi
41825 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
41826 fi
41827 doCommand "emxomf -s -l ${D}arcFile"
41828
41829 # Successful exit.
41830 CleanUp 1
41831 exit 0
41832 EOF
41833
41834 chmod +x dllar.sh
41835 ;;
41836
41837 powerpc-apple-macos* | \
41838 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
41839 *-*-sunos4* | \
41840 *-*-osf* | \
41841 *-*-dgux5* | \
41842 *-*-sysv5* )
41843 ;;
41844
41845 *)
41846 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
41847 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
41848 { (exit 1); exit 1; }; }
41849 esac
41850
41851 if test "x$PIC_FLAG" != "x" ; then
41852 PIC_FLAG="$PIC_FLAG -DPIC"
41853 fi
41854
41855 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
41856 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
41857 fi
41858 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
41859 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
41860 fi
41861
41862
41863
41864
41865
41866
41867
41868
41869 USE_SOVERSION=0
41870 USE_SOVERLINUX=0
41871 USE_SOVERSOLARIS=0
41872 USE_SOSYMLINKS=0
41873 USE_MACVERSION=0
41874 SONAME_FLAG=
41875
41876 case "${BAKEFILE_HOST}" in
41877 *-*-linux* | *-*-freebsd* )
41878 SONAME_FLAG="-Wl,-soname,"
41879 USE_SOVERSION=1
41880 USE_SOVERLINUX=1
41881 USE_SOSYMLINKS=1
41882 ;;
41883
41884 *-*-solaris2* )
41885 SONAME_FLAG="-h "
41886 USE_SOVERSION=1
41887 USE_SOVERSOLARIS=1
41888 USE_SOSYMLINKS=1
41889 ;;
41890
41891 *-*-darwin* )
41892 USE_MACVERSION=1
41893 USE_SOVERSION=1
41894 USE_SOSYMLINKS=1
41895 ;;
41896 esac
41897
41898
41899
41900
41901
41902
41903
41904
41905
41906 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
41907 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
41908 DEPS_TRACKING=0
41909
41910 if test "x$GCC" = "xyes"; then
41911 DEPSMODE=gcc
41912 DEPS_TRACKING=1
41913 case "${BAKEFILE_HOST}" in
41914 powerpc-*-darwin* )
41915 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
41916 ;;
41917 * )
41918 DEPSFLAG_GCC="-MMD"
41919 ;;
41920 esac
41921 echo "$as_me:$LINENO: result: gcc" >&5
41922 echo "${ECHO_T}gcc" >&6
41923 elif test "x$MWCC" = "xyes"; then
41924 DEPSMODE=mwcc
41925 DEPS_TRACKING=1
41926 DEPSFLAG_MWCC="-MM"
41927 echo "$as_me:$LINENO: result: mwcc" >&5
41928 echo "${ECHO_T}mwcc" >&6
41929 else
41930 echo "$as_me:$LINENO: result: none" >&5
41931 echo "${ECHO_T}none" >&6
41932 fi
41933
41934 if test $DEPS_TRACKING = 1 ; then
41935
41936 D='$'
41937 cat <<EOF >bk-deps
41938 #!/bin/sh
41939
41940 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
41941 # script. It is used to track C/C++ files dependencies in portable way.
41942 #
41943 # Permission is given to use this file in any way.
41944
41945 DEPSMODE=${DEPSMODE}
41946 DEPSDIR=.deps
41947 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
41948 DEPSFLAG_MWCC="${DEPSFLAG_MWCC}"
41949
41950 mkdir -p ${D}DEPSDIR
41951
41952 if test ${D}DEPSMODE = gcc ; then
41953 ${D}* ${D}{DEPSFLAG_GCC}
41954 status=${D}?
41955 if test ${D}{status} != 0 ; then
41956 exit ${D}{status}
41957 fi
41958 # move created file to the location we want it in:
41959 while test ${D}# -gt 0; do
41960 case "${D}1" in
41961 -o )
41962 shift
41963 objfile=${D}1
41964 ;;
41965 -* )
41966 ;;
41967 * )
41968 srcfile=${D}1
41969 ;;
41970 esac
41971 shift
41972 done
41973 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
41974 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
41975 if test -f ${D}depfile ; then
41976 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
41977 rm -f ${D}depfile
41978 else
41979 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
41980 if test -f ${D}depfile ; then
41981 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
41982 rm -f ${D}depfile
41983 fi
41984 fi
41985 exit 0
41986 elif test ${D}DEPSMODE = mwcc ; then
41987 ${D}*
41988 status=${D}?
41989 if test ${D}{status} != 0 ; then
41990 exit ${D}{status}
41991 fi
41992 # Run mwcc again with -MM and redirect into the dep file we want
41993 # NOTE: We can't use shift here because we need ${D}* to be valid
41994 prevarg=
41995 for arg in ${D}* ; do
41996 if test "${D}prevarg" = "-o"; then
41997 objfile=${D}arg
41998 else
41999 case "${D}arg" in
42000 -* )
42001 ;;
42002 * )
42003 srcfile=${D}arg
42004 ;;
42005 esac
42006 fi
42007 prevarg="${D}arg"
42008 done
42009 ${D}* ${D}DEPSFLAG_MWCC >${D}{DEPSDIR}/${D}{objfile}.d
42010 exit 0
42011 else
42012 ${D}*
42013 exit ${D}?
42014 fi
42015 EOF
42016
42017 chmod +x bk-deps
42018 fi
42019
42020
42021
42022
42023 RESCOMP=
42024 SETFILE=
42025
42026 case ${BAKEFILE_HOST} in
42027 *-*-cygwin* | *-*-mingw32* )
42028 if test "$build" != "$host" ; then
42029 RESCOMP=$host_alias-windres
42030 else
42031 # Extract the first word of "windres", so it can be a program name with args.
42032 set dummy windres; ac_word=$2
42033 echo "$as_me:$LINENO: checking for $ac_word" >&5
42034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42035 if test "${ac_cv_prog_RESCOMP+set}" = set; then
42036 echo $ECHO_N "(cached) $ECHO_C" >&6
42037 else
42038 if test -n "$RESCOMP"; then
42039 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
42040 else
42041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42042 for as_dir in $PATH
42043 do
42044 IFS=$as_save_IFS
42045 test -z "$as_dir" && as_dir=.
42046 for ac_exec_ext in '' $ac_executable_extensions; do
42047 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42048 ac_cv_prog_RESCOMP="windres"
42049 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42050 break 2
42051 fi
42052 done
42053 done
42054
42055 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
42056 fi
42057 fi
42058 RESCOMP=$ac_cv_prog_RESCOMP
42059 if test -n "$RESCOMP"; then
42060 echo "$as_me:$LINENO: result: $RESCOMP" >&5
42061 echo "${ECHO_T}$RESCOMP" >&6
42062 else
42063 echo "$as_me:$LINENO: result: no" >&5
42064 echo "${ECHO_T}no" >&6
42065 fi
42066
42067 fi
42068 ;;
42069
42070 *-*-darwin* | powerpc-apple-macos* )
42071 # Extract the first word of "Rez", so it can be a program name with args.
42072 set dummy Rez; ac_word=$2
42073 echo "$as_me:$LINENO: checking for $ac_word" >&5
42074 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42075 if test "${ac_cv_prog_RESCOMP+set}" = set; then
42076 echo $ECHO_N "(cached) $ECHO_C" >&6
42077 else
42078 if test -n "$RESCOMP"; then
42079 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
42080 else
42081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42082 for as_dir in $PATH
42083 do
42084 IFS=$as_save_IFS
42085 test -z "$as_dir" && as_dir=.
42086 for ac_exec_ext in '' $ac_executable_extensions; do
42087 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42088 ac_cv_prog_RESCOMP="Rez"
42089 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42090 break 2
42091 fi
42092 done
42093 done
42094
42095 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
42096 fi
42097 fi
42098 RESCOMP=$ac_cv_prog_RESCOMP
42099 if test -n "$RESCOMP"; then
42100 echo "$as_me:$LINENO: result: $RESCOMP" >&5
42101 echo "${ECHO_T}$RESCOMP" >&6
42102 else
42103 echo "$as_me:$LINENO: result: no" >&5
42104 echo "${ECHO_T}no" >&6
42105 fi
42106
42107 # Extract the first word of "SetFile", so it can be a program name with args.
42108 set dummy SetFile; ac_word=$2
42109 echo "$as_me:$LINENO: checking for $ac_word" >&5
42110 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42111 if test "${ac_cv_prog_SETFILE+set}" = set; then
42112 echo $ECHO_N "(cached) $ECHO_C" >&6
42113 else
42114 if test -n "$SETFILE"; then
42115 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
42116 else
42117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42118 for as_dir in $PATH
42119 do
42120 IFS=$as_save_IFS
42121 test -z "$as_dir" && as_dir=.
42122 for ac_exec_ext in '' $ac_executable_extensions; do
42123 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42124 ac_cv_prog_SETFILE="SetFile"
42125 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42126 break 2
42127 fi
42128 done
42129 done
42130
42131 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
42132 fi
42133 fi
42134 SETFILE=$ac_cv_prog_SETFILE
42135 if test -n "$SETFILE"; then
42136 echo "$as_me:$LINENO: result: $SETFILE" >&5
42137 echo "${ECHO_T}$SETFILE" >&6
42138 else
42139 echo "$as_me:$LINENO: result: no" >&5
42140 echo "${ECHO_T}no" >&6
42141 fi
42142
42143 ;;
42144 esac
42145
42146
42147
42148
42149
42150 BAKEFILE_BAKEFILE_M4_VERSION="0.1.7"
42151
42152
42153 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.1.7"
42154
42155
42156
42157 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
42158 if test "${enable_precomp_headers+set}" = set; then
42159 enableval="$enable_precomp_headers"
42160 bk_use_pch="$enableval"
42161 fi;
42162
42163 GCC_PCH=0
42164
42165 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
42166 if test "x$GCC" = "xyes"; then
42167 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
42168 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
42169 cat >conftest.$ac_ext <<_ACEOF
42170 /* confdefs.h. */
42171 _ACEOF
42172 cat confdefs.h >>conftest.$ac_ext
42173 cat >>conftest.$ac_ext <<_ACEOF
42174 /* end confdefs.h. */
42175
42176 int
42177 main ()
42178 {
42179
42180 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
42181 #error "no pch support"
42182 #endif
42183 #if (__GNUC__ < 3)
42184 #error "no pch support"
42185 #endif
42186 #if (__GNUC__ == 3) && \
42187 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
42188 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
42189 #error "no pch support"
42190 #endif
42191
42192 ;
42193 return 0;
42194 }
42195 _ACEOF
42196 rm -f conftest.$ac_objext
42197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42198 (eval $ac_compile) 2>conftest.er1
42199 ac_status=$?
42200 grep -v '^ *+' conftest.er1 >conftest.err
42201 rm -f conftest.er1
42202 cat conftest.err >&5
42203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42204 (exit $ac_status); } &&
42205 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42207 (eval $ac_try) 2>&5
42208 ac_status=$?
42209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42210 (exit $ac_status); }; } &&
42211 { ac_try='test -s conftest.$ac_objext'
42212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42213 (eval $ac_try) 2>&5
42214 ac_status=$?
42215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42216 (exit $ac_status); }; }; then
42217
42218 echo "$as_me:$LINENO: result: yes" >&5
42219 echo "${ECHO_T}yes" >&6
42220 GCC_PCH=1
42221
42222 else
42223 echo "$as_me: failed program was:" >&5
42224 sed 's/^/| /' conftest.$ac_ext >&5
42225
42226
42227 echo "$as_me:$LINENO: result: no" >&5
42228 echo "${ECHO_T}no" >&6
42229
42230 fi
42231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42232 if test $GCC_PCH = 1 ; then
42233
42234 D='$'
42235 cat <<EOF >bk-make-pch
42236 #!/bin/sh
42237
42238 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
42239 # script. It is used to generated precompiled headers.
42240 #
42241 # Permission is given to use this file in any way.
42242
42243 outfile="${D}{1}"
42244 header="${D}{2}"
42245 shift
42246 shift
42247
42248 compiler=
42249 headerfile=
42250 while test ${D}{#} -gt 0; do
42251 case "${D}{1}" in
42252 -I* )
42253 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
42254 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
42255 headerfile="${D}{incdir}/${D}{header}"
42256 fi
42257 ;;
42258 esac
42259 compiler="${D}{compiler} ${D}{1}"
42260 shift
42261 done
42262
42263 if test "x${D}{headerfile}" = "x" ; then
42264 echo "error: can't find header ${D}{header} in include paths" >2
42265 else
42266 if test -f ${D}{outfile} ; then
42267 rm -f ${D}{outfile}
42268 else
42269 mkdir -p \`dirname ${D}{outfile}\`
42270 fi
42271 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
42272 mkdir -p .deps
42273 # can do this because gcc is >= 3.4:
42274 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
42275 exit ${D}{?}
42276 fi
42277 EOF
42278
42279 chmod +x bk-make-pch
42280 fi
42281 fi
42282 fi
42283
42284
42285
42286 COND_BUILD_DEBUG="#"
42287 if test "x$BUILD" = "xdebug" ; then
42288 COND_BUILD_DEBUG=""
42289 fi
42290
42291 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
42292 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
42293 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
42294 fi
42295
42296 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
42297 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
42298 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
42299 fi
42300
42301 COND_BUILD_DEBUG_UNICODE_0="#"
42302 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
42303 COND_BUILD_DEBUG_UNICODE_0=""
42304 fi
42305
42306 COND_BUILD_DEBUG_UNICODE_1="#"
42307 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
42308 COND_BUILD_DEBUG_UNICODE_1=""
42309 fi
42310
42311 COND_BUILD_RELEASE="#"
42312 if test "x$BUILD" = "xrelease" ; then
42313 COND_BUILD_RELEASE=""
42314 fi
42315
42316 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
42317 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
42318 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
42319 fi
42320
42321 COND_BUILD_RELEASE_UNICODE_0="#"
42322 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
42323 COND_BUILD_RELEASE_UNICODE_0=""
42324 fi
42325
42326 COND_BUILD_RELEASE_UNICODE_1="#"
42327 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
42328 COND_BUILD_RELEASE_UNICODE_1=""
42329 fi
42330
42331 COND_DEBUG_FLAG_1="#"
42332 if test "x$DEBUG_FLAG" = "x1" ; then
42333 COND_DEBUG_FLAG_1=""
42334 fi
42335
42336 COND_DEBUG_INFO_0="#"
42337 if test "x$DEBUG_INFO" = "x0" ; then
42338 COND_DEBUG_INFO_0=""
42339 fi
42340
42341 COND_DEBUG_INFO_1="#"
42342 if test "x$DEBUG_INFO" = "x1" ; then
42343 COND_DEBUG_INFO_1=""
42344 fi
42345
42346 COND_DEPS_TRACKING_0="#"
42347 if test "x$DEPS_TRACKING" = "x0" ; then
42348 COND_DEPS_TRACKING_0=""
42349 fi
42350
42351 COND_DEPS_TRACKING_1="#"
42352 if test "x$DEPS_TRACKING" = "x1" ; then
42353 COND_DEPS_TRACKING_1=""
42354 fi
42355
42356 COND_GCC_PCH_1="#"
42357 if test "x$GCC_PCH" = "x1" ; then
42358 COND_GCC_PCH_1=""
42359 fi
42360
42361 COND_MONOLITHIC_0="#"
42362 if test "x$MONOLITHIC" = "x0" ; then
42363 COND_MONOLITHIC_0=""
42364 fi
42365
42366 COND_MONOLITHIC_0_SHARED_0="#"
42367 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
42368 COND_MONOLITHIC_0_SHARED_0=""
42369 fi
42370
42371 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
42372 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
42373 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
42374 fi
42375
42376 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
42377 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
42378 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
42379 fi
42380
42381 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
42382 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
42383 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
42384 fi
42385
42386 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
42387 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
42388 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
42389 fi
42390
42391 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
42392 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
42393 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
42394 fi
42395
42396 COND_MONOLITHIC_0_SHARED_1="#"
42397 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
42398 COND_MONOLITHIC_0_SHARED_1=""
42399 fi
42400
42401 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
42402 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
42403 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
42404 fi
42405
42406 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
42407 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
42408 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
42409 fi
42410
42411 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
42412 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
42413 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
42414 fi
42415
42416 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
42417 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
42418 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
42419 fi
42420
42421 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
42422 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
42423 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
42424 fi
42425
42426 COND_MONOLITHIC_0_USE_ODBC_1="#"
42427 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
42428 COND_MONOLITHIC_0_USE_ODBC_1=""
42429 fi
42430
42431 COND_MONOLITHIC_1="#"
42432 if test "x$MONOLITHIC" = "x1" ; then
42433 COND_MONOLITHIC_1=""
42434 fi
42435
42436 COND_MONOLITHIC_1_SHARED_0="#"
42437 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
42438 COND_MONOLITHIC_1_SHARED_0=""
42439 fi
42440
42441 COND_MONOLITHIC_1_SHARED_1="#"
42442 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
42443 COND_MONOLITHIC_1_SHARED_1=""
42444 fi
42445
42446 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
42447 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
42448 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
42449 fi
42450
42451 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
42452 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
42453 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
42454 fi
42455
42456 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
42457 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
42458 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
42459 fi
42460
42461 COND_PLATFORM_MACOSX_1="#"
42462 if test "x$PLATFORM_MACOSX" = "x1" ; then
42463 COND_PLATFORM_MACOSX_1=""
42464 fi
42465
42466 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
42467 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
42468 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
42469 fi
42470
42471 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
42472 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
42473 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
42474 fi
42475
42476 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
42477 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
42478 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
42479 fi
42480
42481 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
42482 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
42483 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
42484 fi
42485
42486 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
42487 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
42488 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
42489 fi
42490
42491 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
42492 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42493 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
42494 fi
42495
42496 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
42497 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
42498 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
42499 fi
42500
42501 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
42502 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
42503 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
42504 fi
42505
42506 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
42507 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
42508 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
42509 fi
42510
42511 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
42512 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
42513 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
42514 fi
42515
42516 COND_PLATFORM_MACOS_1="#"
42517 if test "x$PLATFORM_MACOS" = "x1" ; then
42518 COND_PLATFORM_MACOS_1=""
42519 fi
42520
42521 COND_PLATFORM_MAC_1="#"
42522 if test "x$PLATFORM_MAC" = "x1" ; then
42523 COND_PLATFORM_MAC_1=""
42524 fi
42525
42526 COND_PLATFORM_OS2_1="#"
42527 if test "x$PLATFORM_OS2" = "x1" ; then
42528 COND_PLATFORM_OS2_1=""
42529 fi
42530
42531 COND_PLATFORM_UNIX_0="#"
42532 if test "x$PLATFORM_UNIX" = "x0" ; then
42533 COND_PLATFORM_UNIX_0=""
42534 fi
42535
42536 COND_PLATFORM_UNIX_1="#"
42537 if test "x$PLATFORM_UNIX" = "x1" ; then
42538 COND_PLATFORM_UNIX_1=""
42539 fi
42540
42541 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
42542 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
42543 COND_PLATFORM_UNIX_1_USE_GUI_1=""
42544 fi
42545
42546 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
42547 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
42548 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
42549 fi
42550
42551 COND_PLATFORM_WIN32_0="#"
42552 if test "x$PLATFORM_WIN32" = "x0" ; then
42553 COND_PLATFORM_WIN32_0=""
42554 fi
42555
42556 COND_PLATFORM_WIN32_1="#"
42557 if test "x$PLATFORM_WIN32" = "x1" ; then
42558 COND_PLATFORM_WIN32_1=""
42559 fi
42560
42561 COND_SHARED_0="#"
42562 if test "x$SHARED" = "x0" ; then
42563 COND_SHARED_0=""
42564 fi
42565
42566 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
42567 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
42568 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
42569 fi
42570
42571 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
42572 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
42573 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
42574 fi
42575
42576 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
42577 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
42578 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
42579 fi
42580
42581 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
42582 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
42583 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
42584 fi
42585
42586 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
42587 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
42588 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
42589 fi
42590
42591 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
42592 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
42593 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
42594 fi
42595
42596 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
42597 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
42598 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
42599 fi
42600
42601 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
42602 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
42603 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
42604 fi
42605
42606 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
42607 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
42608 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
42609 fi
42610
42611 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
42612 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
42613 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
42614 fi
42615
42616 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
42617 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
42618 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
42619 fi
42620
42621 COND_SHARED_1="#"
42622 if test "x$SHARED" = "x1" ; then
42623 COND_SHARED_1=""
42624 fi
42625
42626 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
42627 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
42628 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
42629 fi
42630
42631 COND_TOOLKIT_="#"
42632 if test "x$TOOLKIT" = "x" ; then
42633 COND_TOOLKIT_=""
42634 fi
42635
42636 COND_TOOLKIT_COCOA="#"
42637 if test "x$TOOLKIT" = "xCOCOA" ; then
42638 COND_TOOLKIT_COCOA=""
42639 fi
42640
42641 COND_TOOLKIT_COCOA_USE_GUI_1="#"
42642 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
42643 COND_TOOLKIT_COCOA_USE_GUI_1=""
42644 fi
42645
42646 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
42647 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42648 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
42649 fi
42650
42651 COND_TOOLKIT_GTK="#"
42652 if test "x$TOOLKIT" = "xGTK" ; then
42653 COND_TOOLKIT_GTK=""
42654 fi
42655
42656 COND_TOOLKIT_GTK_USE_GUI_1="#"
42657 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
42658 COND_TOOLKIT_GTK_USE_GUI_1=""
42659 fi
42660
42661 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
42662 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42663 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
42664 fi
42665
42666 COND_TOOLKIT_MAC="#"
42667 if test "x$TOOLKIT" = "xMAC" ; then
42668 COND_TOOLKIT_MAC=""
42669 fi
42670
42671 COND_TOOLKIT_MAC_USE_GUI_1="#"
42672 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
42673 COND_TOOLKIT_MAC_USE_GUI_1=""
42674 fi
42675
42676 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
42677 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42678 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
42679 fi
42680
42681 COND_TOOLKIT_MGL="#"
42682 if test "x$TOOLKIT" = "xMGL" ; then
42683 COND_TOOLKIT_MGL=""
42684 fi
42685
42686 COND_TOOLKIT_MGL_USE_GUI_1="#"
42687 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
42688 COND_TOOLKIT_MGL_USE_GUI_1=""
42689 fi
42690
42691 COND_TOOLKIT_MOTIF="#"
42692 if test "x$TOOLKIT" = "xMOTIF" ; then
42693 COND_TOOLKIT_MOTIF=""
42694 fi
42695
42696 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
42697 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
42698 COND_TOOLKIT_MOTIF_USE_GUI_1=""
42699 fi
42700
42701 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
42702 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42703 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
42704 fi
42705
42706 COND_TOOLKIT_MSW="#"
42707 if test "x$TOOLKIT" = "xMSW" ; then
42708 COND_TOOLKIT_MSW=""
42709 fi
42710
42711 COND_TOOLKIT_MSW_USE_GUI_1="#"
42712 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
42713 COND_TOOLKIT_MSW_USE_GUI_1=""
42714 fi
42715
42716 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
42717 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42718 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
42719 fi
42720
42721 COND_TOOLKIT_PM="#"
42722 if test "x$TOOLKIT" = "xPM" ; then
42723 COND_TOOLKIT_PM=""
42724 fi
42725
42726 COND_TOOLKIT_PM_USE_GUI_1="#"
42727 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
42728 COND_TOOLKIT_PM_USE_GUI_1=""
42729 fi
42730
42731 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
42732 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42733 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
42734 fi
42735
42736 COND_TOOLKIT_WINCE="#"
42737 if test "x$TOOLKIT" = "xWINCE" ; then
42738 COND_TOOLKIT_WINCE=""
42739 fi
42740
42741 COND_TOOLKIT_WINCE_USE_GUI_1="#"
42742 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
42743 COND_TOOLKIT_WINCE_USE_GUI_1=""
42744 fi
42745
42746 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
42747 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42748 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
42749 fi
42750
42751 COND_TOOLKIT_X11="#"
42752 if test "x$TOOLKIT" = "xX11" ; then
42753 COND_TOOLKIT_X11=""
42754 fi
42755
42756 COND_TOOLKIT_X11_USE_GUI_1="#"
42757 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
42758 COND_TOOLKIT_X11_USE_GUI_1=""
42759 fi
42760
42761 COND_UNICODE_1="#"
42762 if test "x$UNICODE" = "x1" ; then
42763 COND_UNICODE_1=""
42764 fi
42765
42766 COND_USE_EXCEPTIONS_0="#"
42767 if test "x$USE_EXCEPTIONS" = "x0" ; then
42768 COND_USE_EXCEPTIONS_0=""
42769 fi
42770
42771 COND_USE_EXCEPTIONS_1="#"
42772 if test "x$USE_EXCEPTIONS" = "x1" ; then
42773 COND_USE_EXCEPTIONS_1=""
42774 fi
42775
42776 COND_USE_GUI_0="#"
42777 if test "x$USE_GUI" = "x0" ; then
42778 COND_USE_GUI_0=""
42779 fi
42780
42781 COND_USE_GUI_1="#"
42782 if test "x$USE_GUI" = "x1" ; then
42783 COND_USE_GUI_1=""
42784 fi
42785
42786 COND_USE_GUI_1_WXUNIV_0="#"
42787 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42788 COND_USE_GUI_1_WXUNIV_0=""
42789 fi
42790
42791 COND_USE_GUI_1_WXUNIV_1="#"
42792 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
42793 COND_USE_GUI_1_WXUNIV_1=""
42794 fi
42795
42796 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
42797 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
42798 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
42799 fi
42800
42801 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
42802 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
42803 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
42804 fi
42805
42806 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
42807 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
42808 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
42809 fi
42810
42811 COND_USE_ODBC_1="#"
42812 if test "x$USE_ODBC" = "x1" ; then
42813 COND_USE_ODBC_1=""
42814 fi
42815
42816 COND_USE_OPENGL_1="#"
42817 if test "x$USE_OPENGL" = "x1" ; then
42818 COND_USE_OPENGL_1=""
42819 fi
42820
42821 COND_USE_PLUGINS_0="#"
42822 if test "x$USE_PLUGINS" = "x0" ; then
42823 COND_USE_PLUGINS_0=""
42824 fi
42825
42826 COND_USE_RTTI_0="#"
42827 if test "x$USE_RTTI" = "x0" ; then
42828 COND_USE_RTTI_0=""
42829 fi
42830
42831 COND_USE_RTTI_1="#"
42832 if test "x$USE_RTTI" = "x1" ; then
42833 COND_USE_RTTI_1=""
42834 fi
42835
42836 COND_USE_SOSYMLINKS_1="#"
42837 if test "x$USE_SOSYMLINKS" = "x1" ; then
42838 COND_USE_SOSYMLINKS_1=""
42839 fi
42840
42841 COND_USE_SOVERLINUX_1="#"
42842 if test "x$USE_SOVERLINUX" = "x1" ; then
42843 COND_USE_SOVERLINUX_1=""
42844 fi
42845
42846 COND_USE_SOVERSION_0="#"
42847 if test "x$USE_SOVERSION" = "x0" ; then
42848 COND_USE_SOVERSION_0=""
42849 fi
42850
42851 COND_USE_SOVERSOLARIS_1="#"
42852 if test "x$USE_SOVERSOLARIS" = "x1" ; then
42853 COND_USE_SOVERSOLARIS_1=""
42854 fi
42855
42856 COND_USE_THREADS_0="#"
42857 if test "x$USE_THREADS" = "x0" ; then
42858 COND_USE_THREADS_0=""
42859 fi
42860
42861 COND_USE_THREADS_1="#"
42862 if test "x$USE_THREADS" = "x1" ; then
42863 COND_USE_THREADS_1=""
42864 fi
42865
42866 COND_USE_XRC_1="#"
42867 if test "x$USE_XRC" = "x1" ; then
42868 COND_USE_XRC_1=""
42869 fi
42870
42871 COND_WITH_PLUGIN_SDL_1="#"
42872 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
42873 COND_WITH_PLUGIN_SDL_1=""
42874 fi
42875
42876 COND_WXUNIV_0="#"
42877 if test "x$WXUNIV" = "x0" ; then
42878 COND_WXUNIV_0=""
42879 fi
42880
42881 COND_WXUNIV_1="#"
42882 if test "x$WXUNIV" = "x1" ; then
42883 COND_WXUNIV_1=""
42884 fi
42885
42886 COND_WXUSE_EXPAT_BUILTIN="#"
42887 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
42888 COND_WXUSE_EXPAT_BUILTIN=""
42889 fi
42890
42891 COND_WXUSE_LIBJPEG_BUILTIN="#"
42892 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
42893 COND_WXUSE_LIBJPEG_BUILTIN=""
42894 fi
42895
42896 COND_WXUSE_LIBPNG_BUILTIN="#"
42897 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
42898 COND_WXUSE_LIBPNG_BUILTIN=""
42899 fi
42900
42901 COND_WXUSE_LIBTIFF_BUILTIN="#"
42902 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
42903 COND_WXUSE_LIBTIFF_BUILTIN=""
42904 fi
42905
42906 COND_WXUSE_ODBC_BUILTIN="#"
42907 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
42908 COND_WXUSE_ODBC_BUILTIN=""
42909 fi
42910
42911 COND_WXUSE_REGEX_BUILTIN="#"
42912 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
42913 COND_WXUSE_REGEX_BUILTIN=""
42914 fi
42915
42916 COND_WXUSE_ZLIB_BUILTIN="#"
42917 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
42918 COND_WXUSE_ZLIB_BUILTIN=""
42919 fi
42920
42921
42922
42923 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
42924 { { 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
42925 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;}
42926 { (exit 1); exit 1; }; }
42927 fi
42928
42929
42930 if test "$wxUSE_SHARED" = "yes"; then
42931
42932 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
42933 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
42934
42935 case "${host}" in
42936 *-pc-os2_emx | *-pc-os2-emx )
42937 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
42938 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
42939 cp -p ${srcdir}/src/os2/dllnames.sh .
42940 cp -p ${srcdir}/src/os2/dllar.sh .
42941 ;;
42942 esac
42943 else
42944
42945 EXE_LINKER="$CXX -o"
42946
42947 fi
42948
42949 GCC_PRAGMA_FLAGS=""
42950 PCH_FLAGS=""
42951 if test $GCC_PCH = 1 ; then
42952 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
42953 PCH_FLAGS="-DWX_PRECOMP"
42954 else
42955 case "${host}" in
42956 powerpc-*-darwin* )
42957 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
42958 ;;
42959 *-*-mingw32* )
42960 if test "$wxUSE_STL" = "yes" -o \
42961 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
42962 "$wxUSE_NO_RTTI" != "yes"; then
42963 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
42964 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
42965 cat >conftest.$ac_ext <<_ACEOF
42966 /* confdefs.h. */
42967 _ACEOF
42968 cat confdefs.h >>conftest.$ac_ext
42969 cat >>conftest.$ac_ext <<_ACEOF
42970 /* end confdefs.h. */
42971
42972 int
42973 main ()
42974 {
42975 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
42976 #error "Not GCC 3.2 or greater"
42977 #endif
42978
42979 ;
42980 return 0;
42981 }
42982 _ACEOF
42983 rm -f conftest.$ac_objext
42984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42985 (eval $ac_compile) 2>conftest.er1
42986 ac_status=$?
42987 grep -v '^ *+' conftest.er1 >conftest.err
42988 rm -f conftest.er1
42989 cat conftest.err >&5
42990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42991 (exit $ac_status); } &&
42992 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42994 (eval $ac_try) 2>&5
42995 ac_status=$?
42996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42997 (exit $ac_status); }; } &&
42998 { ac_try='test -s conftest.$ac_objext'
42999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43000 (eval $ac_try) 2>&5
43001 ac_status=$?
43002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43003 (exit $ac_status); }; }; then
43004 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
43005 echo "$as_me:$LINENO: result: yes" >&5
43006 echo "${ECHO_T}yes" >&6
43007 else
43008 echo "$as_me: failed program was:" >&5
43009 sed 's/^/| /' conftest.$ac_ext >&5
43010
43011 echo "$as_me:$LINENO: result: no" >&5
43012 echo "${ECHO_T}no" >&6
43013 fi
43014 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43015 fi
43016 ;;
43017 *-pc-os2_emx | *-pc-os2-emx )
43018 if test "$wxUSE_STL" = "yes"; then
43019 echo "$as_me:$LINENO: checking if this gcc version needs -DNO_GCC_PRAGMA" >&5
43020 echo $ECHO_N "checking if this gcc version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
43021 cat >conftest.$ac_ext <<_ACEOF
43022 /* confdefs.h. */
43023 _ACEOF
43024 cat confdefs.h >>conftest.$ac_ext
43025 cat >>conftest.$ac_ext <<_ACEOF
43026 /* end confdefs.h. */
43027
43028 int
43029 main ()
43030 {
43031 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
43032 #error "Not GCC 3.2 or greater"
43033 #endif
43034
43035 ;
43036 return 0;
43037 }
43038 _ACEOF
43039 rm -f conftest.$ac_objext
43040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43041 (eval $ac_compile) 2>conftest.er1
43042 ac_status=$?
43043 grep -v '^ *+' conftest.er1 >conftest.err
43044 rm -f conftest.er1
43045 cat conftest.err >&5
43046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43047 (exit $ac_status); } &&
43048 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43050 (eval $ac_try) 2>&5
43051 ac_status=$?
43052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43053 (exit $ac_status); }; } &&
43054 { ac_try='test -s conftest.$ac_objext'
43055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43056 (eval $ac_try) 2>&5
43057 ac_status=$?
43058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43059 (exit $ac_status); }; }; then
43060 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
43061 echo "$as_me:$LINENO: result: yes" >&5
43062 echo "${ECHO_T}yes" >&6
43063 else
43064 echo "$as_me: failed program was:" >&5
43065 sed 's/^/| /' conftest.$ac_ext >&5
43066
43067 echo "$as_me:$LINENO: result: no" >&5
43068 echo "${ECHO_T}no" >&6
43069 fi
43070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43071 fi
43072 ;;
43073 esac
43074 fi
43075 CPPFLAGS="$PCH_FLAGS $GCC_PRAGMA_FLAGS $CPPFLAGS"
43076
43077
43078 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
43079
43080
43081
43082
43083
43084
43085
43086
43087
43088
43089
43090
43091
43092
43093
43094
43095
43096
43097
43098
43099
43100
43101
43102
43103
43104
43105
43106
43107
43108
43109
43110
43111
43112
43113
43114
43115
43116
43117
43118
43119
43120
43121
43122
43123
43124
43125
43126
43127
43128
43129
43130
43131
43132
43133
43134
43135
43136
43137
43138
43139
43140
43141
43142 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
43143 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
43144 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
43145 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
43146 echo $ECHO_N "(cached) $ECHO_C" >&6
43147 else
43148 cat >conftest.make <<\_ACEOF
43149 all:
43150 @echo 'ac_maketemp="$(MAKE)"'
43151 _ACEOF
43152 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
43153 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
43154 if test -n "$ac_maketemp"; then
43155 eval ac_cv_prog_make_${ac_make}_set=yes
43156 else
43157 eval ac_cv_prog_make_${ac_make}_set=no
43158 fi
43159 rm -f conftest.make
43160 fi
43161 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
43162 echo "$as_me:$LINENO: result: yes" >&5
43163 echo "${ECHO_T}yes" >&6
43164 SET_MAKE=
43165 else
43166 echo "$as_me:$LINENO: result: no" >&5
43167 echo "${ECHO_T}no" >&6
43168 SET_MAKE="MAKE=${MAKE-make}"
43169 fi
43170
43171
43172
43173 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
43174
43175
43176 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
43177
43178
43179 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
43180
43181
43182 ac_config_files="$ac_config_files version-script Makefile"
43183
43184
43185 ac_config_commands="$ac_config_commands wx-config
43186 "
43187
43188
43189
43190
43191 if test "$wxUSE_GUI" = "yes"; then
43192 SUBDIRS="samples demos utils contrib"
43193 else SUBDIRS="samples utils"
43194 fi
43195
43196
43197
43198 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
43199 if test "${with_cppunit_prefix+set}" = set; then
43200 withval="$with_cppunit_prefix"
43201 cppunit_config_prefix="$withval"
43202 else
43203 cppunit_config_prefix=""
43204 fi;
43205
43206 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
43207 if test "${with_cppunit_exec_prefix+set}" = set; then
43208 withval="$with_cppunit_exec_prefix"
43209 cppunit_config_exec_prefix="$withval"
43210 else
43211 cppunit_config_exec_prefix=""
43212 fi;
43213
43214 if test x$cppunit_config_exec_prefix != x ; then
43215 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
43216 if test x${CPPUNIT_CONFIG+set} != xset ; then
43217 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
43218 fi
43219 fi
43220 if test x$cppunit_config_prefix != x ; then
43221 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
43222 if test x${CPPUNIT_CONFIG+set} != xset ; then
43223 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
43224 fi
43225 fi
43226
43227 # Extract the first word of "cppunit-config", so it can be a program name with args.
43228 set dummy cppunit-config; ac_word=$2
43229 echo "$as_me:$LINENO: checking for $ac_word" >&5
43230 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43231 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
43232 echo $ECHO_N "(cached) $ECHO_C" >&6
43233 else
43234 case $CPPUNIT_CONFIG in
43235 [\\/]* | ?:[\\/]*)
43236 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
43237 ;;
43238 *)
43239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43240 for as_dir in $PATH
43241 do
43242 IFS=$as_save_IFS
43243 test -z "$as_dir" && as_dir=.
43244 for ac_exec_ext in '' $ac_executable_extensions; do
43245 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43246 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43248 break 2
43249 fi
43250 done
43251 done
43252
43253 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
43254 ;;
43255 esac
43256 fi
43257 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
43258
43259 if test -n "$CPPUNIT_CONFIG"; then
43260 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
43261 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
43262 else
43263 echo "$as_me:$LINENO: result: no" >&5
43264 echo "${ECHO_T}no" >&6
43265 fi
43266
43267 cppunit_version_min=1.8.0
43268
43269 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
43270 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
43271 no_cppunit=""
43272 if test "$CPPUNIT_CONFIG" = "no" ; then
43273 no_cppunit=yes
43274 else
43275 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
43276 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
43277 cppunit_version=`$CPPUNIT_CONFIG --version`
43278
43279 cppunit_major_version=`echo $cppunit_version | \
43280 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43281 cppunit_minor_version=`echo $cppunit_version | \
43282 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43283 cppunit_micro_version=`echo $cppunit_version | \
43284 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43285
43286 cppunit_major_min=`echo $cppunit_version_min | \
43287 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43288 cppunit_minor_min=`echo $cppunit_version_min | \
43289 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43290 cppunit_micro_min=`echo $cppunit_version_min | \
43291 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43292
43293 cppunit_version_proper=`expr \
43294 $cppunit_major_version \> $cppunit_major_min \| \
43295 $cppunit_major_version \= $cppunit_major_min \& \
43296 $cppunit_minor_version \> $cppunit_minor_min \| \
43297 $cppunit_major_version \= $cppunit_major_min \& \
43298 $cppunit_minor_version \= $cppunit_minor_min \& \
43299 $cppunit_micro_version \>= $cppunit_micro_min `
43300
43301 if test "$cppunit_version_proper" = "1" ; then
43302 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
43303 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
43304 else
43305 echo "$as_me:$LINENO: result: no" >&5
43306 echo "${ECHO_T}no" >&6
43307 no_cppunit=yes
43308 fi
43309 fi
43310
43311 if test "x$no_cppunit" = x ; then
43312 SUBDIRS="$SUBDIRS tests"
43313 else
43314 CPPUNIT_CFLAGS=""
43315 CPPUNIT_LIBS=""
43316 :
43317 fi
43318
43319
43320
43321
43322
43323 for subdir in `echo $SUBDIRS`; do
43324 if test -d ${srcdir}/${subdir} ; then
43325 if test "$wxUSE_GUI" = "yes"; then
43326 if test ${subdir} = "samples"; then
43327 makefiles="samples/Makefile.in $makefiles"
43328 for sample in `echo $SAMPLES_SUBDIRS`; do
43329 if test -d $srcdir/samples/$sample; then
43330 makefiles="samples/$sample/Makefile.in $makefiles"
43331 fi
43332 done
43333 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
43334 fi
43335 else if test ${subdir} = "samples"; then
43336 makefiles="samples/Makefile.in samples/console/Makefile.in"
43337 elif test ${subdir} = "utils"; then
43338 makefiles=""
43339 for util in HelpGen tex2rtf ; do
43340 if test -d $srcdir/utils/$util ; then
43341 makefiles="utils/$util/Makefile.in \
43342 utils/$util/src/Makefile.in \
43343 $makefiles"
43344 fi
43345 done
43346 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
43347 fi
43348 fi
43349
43350 for mkin in $makefiles ; do
43351 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
43352 ac_config_files="$ac_config_files $mk"
43353
43354 done
43355 fi
43356 done
43357
43358
43359 cat >confcache <<\_ACEOF
43360 # This file is a shell script that caches the results of configure
43361 # tests run on this system so they can be shared between configure
43362 # scripts and configure runs, see configure's option --config-cache.
43363 # It is not useful on other systems. If it contains results you don't
43364 # want to keep, you may remove or edit it.
43365 #
43366 # config.status only pays attention to the cache file if you give it
43367 # the --recheck option to rerun configure.
43368 #
43369 # `ac_cv_env_foo' variables (set or unset) will be overridden when
43370 # loading this file, other *unset* `ac_cv_foo' will be assigned the
43371 # following values.
43372
43373 _ACEOF
43374
43375 # The following way of writing the cache mishandles newlines in values,
43376 # but we know of no workaround that is simple, portable, and efficient.
43377 # So, don't put newlines in cache variables' values.
43378 # Ultrix sh set writes to stderr and can't be redirected directly,
43379 # and sets the high bit in the cache file unless we assign to the vars.
43380 {
43381 (set) 2>&1 |
43382 case `(ac_space=' '; set | grep ac_space) 2>&1` in
43383 *ac_space=\ *)
43384 # `set' does not quote correctly, so add quotes (double-quote
43385 # substitution turns \\\\ into \\, and sed turns \\ into \).
43386 sed -n \
43387 "s/'/'\\\\''/g;
43388 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
43389 ;;
43390 *)
43391 # `set' quotes correctly as required by POSIX, so do not add quotes.
43392 sed -n \
43393 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
43394 ;;
43395 esac;
43396 } |
43397 sed '
43398 t clear
43399 : clear
43400 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
43401 t end
43402 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
43403 : end' >>confcache
43404 if diff $cache_file confcache >/dev/null 2>&1; then :; else
43405 if test -w $cache_file; then
43406 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
43407 cat confcache >$cache_file
43408 else
43409 echo "not updating unwritable cache $cache_file"
43410 fi
43411 fi
43412 rm -f confcache
43413
43414 test "x$prefix" = xNONE && prefix=$ac_default_prefix
43415 # Let make expand exec_prefix.
43416 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
43417
43418 # VPATH may cause trouble with some makes, so we remove $(srcdir),
43419 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
43420 # trailing colons and then remove the whole line if VPATH becomes empty
43421 # (actually we leave an empty line to preserve line numbers).
43422 if test "x$srcdir" = x.; then
43423 ac_vpsub='/^[ ]*VPATH[ ]*=/{
43424 s/:*\$(srcdir):*/:/;
43425 s/:*\${srcdir}:*/:/;
43426 s/:*@srcdir@:*/:/;
43427 s/^\([^=]*=[ ]*\):*/\1/;
43428 s/:*$//;
43429 s/^[^=]*=[ ]*$//;
43430 }'
43431 fi
43432
43433 DEFS=-DHAVE_CONFIG_H
43434
43435 ac_libobjs=
43436 ac_ltlibobjs=
43437 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
43438 # 1. Remove the extension, and $U if already installed.
43439 ac_i=`echo "$ac_i" |
43440 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
43441 # 2. Add them.
43442 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
43443 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
43444 done
43445 LIBOBJS=$ac_libobjs
43446
43447 LTLIBOBJS=$ac_ltlibobjs
43448
43449
43450
43451 : ${CONFIG_STATUS=./config.status}
43452 ac_clean_files_save=$ac_clean_files
43453 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
43454 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
43455 echo "$as_me: creating $CONFIG_STATUS" >&6;}
43456 cat >$CONFIG_STATUS <<_ACEOF
43457 #! $SHELL
43458 # Generated by $as_me.
43459 # Run this file to recreate the current configuration.
43460 # Compiler output produced by configure, useful for debugging
43461 # configure, is in config.log if it exists.
43462
43463 debug=false
43464 ac_cs_recheck=false
43465 ac_cs_silent=false
43466 SHELL=\${CONFIG_SHELL-$SHELL}
43467 _ACEOF
43468
43469 cat >>$CONFIG_STATUS <<\_ACEOF
43470 ## --------------------- ##
43471 ## M4sh Initialization. ##
43472 ## --------------------- ##
43473
43474 # Be Bourne compatible
43475 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
43476 emulate sh
43477 NULLCMD=:
43478 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
43479 # is contrary to our usage. Disable this feature.
43480 alias -g '${1+"$@"}'='"$@"'
43481 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
43482 set -o posix
43483 fi
43484 DUALCASE=1; export DUALCASE # for MKS sh
43485
43486 # Support unset when possible.
43487 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
43488 as_unset=unset
43489 else
43490 as_unset=false
43491 fi
43492
43493
43494 # Work around bugs in pre-3.0 UWIN ksh.
43495 $as_unset ENV MAIL MAILPATH
43496 PS1='$ '
43497 PS2='> '
43498 PS4='+ '
43499
43500 # NLS nuisances.
43501 for as_var in \
43502 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43503 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
43504 LC_TELEPHONE LC_TIME
43505 do
43506 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
43507 eval $as_var=C; export $as_var
43508 else
43509 $as_unset $as_var
43510 fi
43511 done
43512
43513 # Required to use basename.
43514 if expr a : '\(a\)' >/dev/null 2>&1; then
43515 as_expr=expr
43516 else
43517 as_expr=false
43518 fi
43519
43520 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
43521 as_basename=basename
43522 else
43523 as_basename=false
43524 fi
43525
43526
43527 # Name of the executable.
43528 as_me=`$as_basename "$0" ||
43529 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
43530 X"$0" : 'X\(//\)$' \| \
43531 X"$0" : 'X\(/\)$' \| \
43532 . : '\(.\)' 2>/dev/null ||
43533 echo X/"$0" |
43534 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
43535 /^X\/\(\/\/\)$/{ s//\1/; q; }
43536 /^X\/\(\/\).*/{ s//\1/; q; }
43537 s/.*/./; q'`
43538
43539
43540 # PATH needs CR, and LINENO needs CR and PATH.
43541 # Avoid depending upon Character Ranges.
43542 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
43543 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
43544 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
43545 as_cr_digits='0123456789'
43546 as_cr_alnum=$as_cr_Letters$as_cr_digits
43547
43548 # The user is always right.
43549 if test "${PATH_SEPARATOR+set}" != set; then
43550 echo "#! /bin/sh" >conf$$.sh
43551 echo "exit 0" >>conf$$.sh
43552 chmod +x conf$$.sh
43553 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
43554 PATH_SEPARATOR=';'
43555 else
43556 PATH_SEPARATOR=:
43557 fi
43558 rm -f conf$$.sh
43559 fi
43560
43561
43562 as_lineno_1=$LINENO
43563 as_lineno_2=$LINENO
43564 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
43565 test "x$as_lineno_1" != "x$as_lineno_2" &&
43566 test "x$as_lineno_3" = "x$as_lineno_2" || {
43567 # Find who we are. Look in the path if we contain no path at all
43568 # relative or not.
43569 case $0 in
43570 *[\\/]* ) as_myself=$0 ;;
43571 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43572 for as_dir in $PATH
43573 do
43574 IFS=$as_save_IFS
43575 test -z "$as_dir" && as_dir=.
43576 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
43577 done
43578
43579 ;;
43580 esac
43581 # We did not find ourselves, most probably we were run as `sh COMMAND'
43582 # in which case we are not to be found in the path.
43583 if test "x$as_myself" = x; then
43584 as_myself=$0
43585 fi
43586 if test ! -f "$as_myself"; then
43587 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
43588 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
43589 { (exit 1); exit 1; }; }
43590 fi
43591 case $CONFIG_SHELL in
43592 '')
43593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43594 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
43595 do
43596 IFS=$as_save_IFS
43597 test -z "$as_dir" && as_dir=.
43598 for as_base in sh bash ksh sh5; do
43599 case $as_dir in
43600 /*)
43601 if ("$as_dir/$as_base" -c '
43602 as_lineno_1=$LINENO
43603 as_lineno_2=$LINENO
43604 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
43605 test "x$as_lineno_1" != "x$as_lineno_2" &&
43606 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
43607 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
43608 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
43609 CONFIG_SHELL=$as_dir/$as_base
43610 export CONFIG_SHELL
43611 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
43612 fi;;
43613 esac
43614 done
43615 done
43616 ;;
43617 esac
43618
43619 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
43620 # uniformly replaced by the line number. The first 'sed' inserts a
43621 # line-number line before each line; the second 'sed' does the real
43622 # work. The second script uses 'N' to pair each line-number line
43623 # with the numbered line, and appends trailing '-' during
43624 # substitution so that $LINENO is not a special case at line end.
43625 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
43626 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
43627 sed '=' <$as_myself |
43628 sed '
43629 N
43630 s,$,-,
43631 : loop
43632 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
43633 t loop
43634 s,-$,,
43635 s,^['$as_cr_digits']*\n,,
43636 ' >$as_me.lineno &&
43637 chmod +x $as_me.lineno ||
43638 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
43639 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
43640 { (exit 1); exit 1; }; }
43641
43642 # Don't try to exec as it changes $[0], causing all sort of problems
43643 # (the dirname of $[0] is not the place where we might find the
43644 # original and so on. Autoconf is especially sensible to this).
43645 . ./$as_me.lineno
43646 # Exit status is that of the last command.
43647 exit
43648 }
43649
43650
43651 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
43652 *c*,-n*) ECHO_N= ECHO_C='
43653 ' ECHO_T=' ' ;;
43654 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
43655 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
43656 esac
43657
43658 if expr a : '\(a\)' >/dev/null 2>&1; then
43659 as_expr=expr
43660 else
43661 as_expr=false
43662 fi
43663
43664 rm -f conf$$ conf$$.exe conf$$.file
43665 echo >conf$$.file
43666 if ln -s conf$$.file conf$$ 2>/dev/null; then
43667 # We could just check for DJGPP; but this test a) works b) is more generic
43668 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
43669 if test -f conf$$.exe; then
43670 # Don't use ln at all; we don't have any links
43671 as_ln_s='cp -p'
43672 else
43673 as_ln_s='ln -s'
43674 fi
43675 elif ln conf$$.file conf$$ 2>/dev/null; then
43676 as_ln_s=ln
43677 else
43678 as_ln_s='cp -p'
43679 fi
43680 rm -f conf$$ conf$$.exe conf$$.file
43681
43682 if mkdir -p . 2>/dev/null; then
43683 as_mkdir_p=:
43684 else
43685 test -d ./-p && rmdir ./-p
43686 as_mkdir_p=false
43687 fi
43688
43689 as_executable_p="test -f"
43690
43691 # Sed expression to map a string onto a valid CPP name.
43692 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
43693
43694 # Sed expression to map a string onto a valid variable name.
43695 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
43696
43697
43698 # IFS
43699 # We need space, tab and new line, in precisely that order.
43700 as_nl='
43701 '
43702 IFS=" $as_nl"
43703
43704 # CDPATH.
43705 $as_unset CDPATH
43706
43707 exec 6>&1
43708
43709 # Open the log real soon, to keep \$[0] and so on meaningful, and to
43710 # report actual input values of CONFIG_FILES etc. instead of their
43711 # values after options handling. Logging --version etc. is OK.
43712 exec 5>>config.log
43713 {
43714 echo
43715 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
43716 ## Running $as_me. ##
43717 _ASBOX
43718 } >&5
43719 cat >&5 <<_CSEOF
43720
43721 This file was extended by wxWidgets $as_me 2.5.4, which was
43722 generated by GNU Autoconf 2.59. Invocation command line was
43723
43724 CONFIG_FILES = $CONFIG_FILES
43725 CONFIG_HEADERS = $CONFIG_HEADERS
43726 CONFIG_LINKS = $CONFIG_LINKS
43727 CONFIG_COMMANDS = $CONFIG_COMMANDS
43728 $ $0 $@
43729
43730 _CSEOF
43731 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
43732 echo >&5
43733 _ACEOF
43734
43735 # Files that config.status was made for.
43736 if test -n "$ac_config_files"; then
43737 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
43738 fi
43739
43740 if test -n "$ac_config_headers"; then
43741 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
43742 fi
43743
43744 if test -n "$ac_config_links"; then
43745 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
43746 fi
43747
43748 if test -n "$ac_config_commands"; then
43749 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
43750 fi
43751
43752 cat >>$CONFIG_STATUS <<\_ACEOF
43753
43754 ac_cs_usage="\
43755 \`$as_me' instantiates files from templates according to the
43756 current configuration.
43757
43758 Usage: $0 [OPTIONS] [FILE]...
43759
43760 -h, --help print this help, then exit
43761 -V, --version print version number, then exit
43762 -q, --quiet do not print progress messages
43763 -d, --debug don't remove temporary files
43764 --recheck update $as_me by reconfiguring in the same conditions
43765 --file=FILE[:TEMPLATE]
43766 instantiate the configuration file FILE
43767 --header=FILE[:TEMPLATE]
43768 instantiate the configuration header FILE
43769
43770 Configuration files:
43771 $config_files
43772
43773 Configuration headers:
43774 $config_headers
43775
43776 Configuration commands:
43777 $config_commands
43778
43779 Report bugs to <bug-autoconf@gnu.org>."
43780 _ACEOF
43781
43782 cat >>$CONFIG_STATUS <<_ACEOF
43783 ac_cs_version="\\
43784 wxWidgets config.status 2.5.4
43785 configured by $0, generated by GNU Autoconf 2.59,
43786 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
43787
43788 Copyright (C) 2003 Free Software Foundation, Inc.
43789 This config.status script is free software; the Free Software Foundation
43790 gives unlimited permission to copy, distribute and modify it."
43791 srcdir=$srcdir
43792 INSTALL="$INSTALL"
43793 _ACEOF
43794
43795 cat >>$CONFIG_STATUS <<\_ACEOF
43796 # If no file are specified by the user, then we need to provide default
43797 # value. By we need to know if files were specified by the user.
43798 ac_need_defaults=:
43799 while test $# != 0
43800 do
43801 case $1 in
43802 --*=*)
43803 ac_option=`expr "x$1" : 'x\([^=]*\)='`
43804 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
43805 ac_shift=:
43806 ;;
43807 -*)
43808 ac_option=$1
43809 ac_optarg=$2
43810 ac_shift=shift
43811 ;;
43812 *) # This is not an option, so the user has probably given explicit
43813 # arguments.
43814 ac_option=$1
43815 ac_need_defaults=false;;
43816 esac
43817
43818 case $ac_option in
43819 # Handling of the options.
43820 _ACEOF
43821 cat >>$CONFIG_STATUS <<\_ACEOF
43822 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
43823 ac_cs_recheck=: ;;
43824 --version | --vers* | -V )
43825 echo "$ac_cs_version"; exit 0 ;;
43826 --he | --h)
43827 # Conflict between --help and --header
43828 { { echo "$as_me:$LINENO: error: ambiguous option: $1
43829 Try \`$0 --help' for more information." >&5
43830 echo "$as_me: error: ambiguous option: $1
43831 Try \`$0 --help' for more information." >&2;}
43832 { (exit 1); exit 1; }; };;
43833 --help | --hel | -h )
43834 echo "$ac_cs_usage"; exit 0 ;;
43835 --debug | --d* | -d )
43836 debug=: ;;
43837 --file | --fil | --fi | --f )
43838 $ac_shift
43839 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
43840 ac_need_defaults=false;;
43841 --header | --heade | --head | --hea )
43842 $ac_shift
43843 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
43844 ac_need_defaults=false;;
43845 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
43846 | -silent | --silent | --silen | --sile | --sil | --si | --s)
43847 ac_cs_silent=: ;;
43848
43849 # This is an error.
43850 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
43851 Try \`$0 --help' for more information." >&5
43852 echo "$as_me: error: unrecognized option: $1
43853 Try \`$0 --help' for more information." >&2;}
43854 { (exit 1); exit 1; }; } ;;
43855
43856 *) ac_config_targets="$ac_config_targets $1" ;;
43857
43858 esac
43859 shift
43860 done
43861
43862 ac_configure_extra_args=
43863
43864 if $ac_cs_silent; then
43865 exec 6>/dev/null
43866 ac_configure_extra_args="$ac_configure_extra_args --silent"
43867 fi
43868
43869 _ACEOF
43870 cat >>$CONFIG_STATUS <<_ACEOF
43871 if \$ac_cs_recheck; then
43872 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
43873 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
43874 fi
43875
43876 _ACEOF
43877
43878 cat >>$CONFIG_STATUS <<_ACEOF
43879 #
43880 # INIT-COMMANDS section.
43881 #
43882
43883 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
43884 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
43885 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
43886 LN_S="${LN_S}"
43887
43888
43889 _ACEOF
43890
43891
43892
43893 cat >>$CONFIG_STATUS <<\_ACEOF
43894 for ac_config_target in $ac_config_targets
43895 do
43896 case "$ac_config_target" in
43897 # Handling of arguments.
43898 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
43899 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
43900 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
43901 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
43902 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
43903 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
43904 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
43905 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
43906 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
43907 { (exit 1); exit 1; }; };;
43908 esac
43909 done
43910
43911 # If the user did not use the arguments to specify the items to instantiate,
43912 # then the envvar interface is used. Set only those that are not.
43913 # We use the long form for the default assignment because of an extremely
43914 # bizarre bug on SunOS 4.1.3.
43915 if $ac_need_defaults; then
43916 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
43917 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
43918 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
43919 fi
43920
43921 # Have a temporary directory for convenience. Make it in the build tree
43922 # simply because there is no reason to put it here, and in addition,
43923 # creating and moving files from /tmp can sometimes cause problems.
43924 # Create a temporary directory, and hook for its removal unless debugging.
43925 $debug ||
43926 {
43927 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
43928 trap '{ (exit 1); exit 1; }' 1 2 13 15
43929 }
43930
43931 # Create a (secure) tmp directory for tmp files.
43932
43933 {
43934 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
43935 test -n "$tmp" && test -d "$tmp"
43936 } ||
43937 {
43938 tmp=./confstat$$-$RANDOM
43939 (umask 077 && mkdir $tmp)
43940 } ||
43941 {
43942 echo "$me: cannot create a temporary directory in ." >&2
43943 { (exit 1); exit 1; }
43944 }
43945
43946 _ACEOF
43947
43948 cat >>$CONFIG_STATUS <<_ACEOF
43949
43950 #
43951 # CONFIG_FILES section.
43952 #
43953
43954 # No need to generate the scripts if there are no CONFIG_FILES.
43955 # This happens for instance when ./config.status config.h
43956 if test -n "\$CONFIG_FILES"; then
43957 # Protect against being on the right side of a sed subst in config.status.
43958 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
43959 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
43960 s,@SHELL@,$SHELL,;t t
43961 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
43962 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
43963 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
43964 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
43965 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
43966 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
43967 s,@exec_prefix@,$exec_prefix,;t t
43968 s,@prefix@,$prefix,;t t
43969 s,@program_transform_name@,$program_transform_name,;t t
43970 s,@bindir@,$bindir,;t t
43971 s,@sbindir@,$sbindir,;t t
43972 s,@libexecdir@,$libexecdir,;t t
43973 s,@datadir@,$datadir,;t t
43974 s,@sysconfdir@,$sysconfdir,;t t
43975 s,@sharedstatedir@,$sharedstatedir,;t t
43976 s,@localstatedir@,$localstatedir,;t t
43977 s,@libdir@,$libdir,;t t
43978 s,@includedir@,$includedir,;t t
43979 s,@oldincludedir@,$oldincludedir,;t t
43980 s,@infodir@,$infodir,;t t
43981 s,@mandir@,$mandir,;t t
43982 s,@build_alias@,$build_alias,;t t
43983 s,@host_alias@,$host_alias,;t t
43984 s,@target_alias@,$target_alias,;t t
43985 s,@DEFS@,$DEFS,;t t
43986 s,@ECHO_C@,$ECHO_C,;t t
43987 s,@ECHO_N@,$ECHO_N,;t t
43988 s,@ECHO_T@,$ECHO_T,;t t
43989 s,@LIBS@,$LIBS,;t t
43990 s,@build@,$build,;t t
43991 s,@build_cpu@,$build_cpu,;t t
43992 s,@build_vendor@,$build_vendor,;t t
43993 s,@build_os@,$build_os,;t t
43994 s,@host@,$host,;t t
43995 s,@host_cpu@,$host_cpu,;t t
43996 s,@host_vendor@,$host_vendor,;t t
43997 s,@host_os@,$host_os,;t t
43998 s,@target@,$target,;t t
43999 s,@target_cpu@,$target_cpu,;t t
44000 s,@target_vendor@,$target_vendor,;t t
44001 s,@target_os@,$target_os,;t t
44002 s,@CC@,$CC,;t t
44003 s,@CFLAGS@,$CFLAGS,;t t
44004 s,@LDFLAGS@,$LDFLAGS,;t t
44005 s,@CPPFLAGS@,$CPPFLAGS,;t t
44006 s,@ac_ct_CC@,$ac_ct_CC,;t t
44007 s,@EXEEXT@,$EXEEXT,;t t
44008 s,@OBJEXT@,$OBJEXT,;t t
44009 s,@CPP@,$CPP,;t t
44010 s,@EGREP@,$EGREP,;t t
44011 s,@CXX@,$CXX,;t t
44012 s,@CXXFLAGS@,$CXXFLAGS,;t t
44013 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
44014 s,@RANLIB@,$RANLIB,;t t
44015 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
44016 s,@AR@,$AR,;t t
44017 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
44018 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
44019 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
44020 s,@STRIP@,$STRIP,;t t
44021 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
44022 s,@LN_S@,$LN_S,;t t
44023 s,@CXXCPP@,$CXXCPP,;t t
44024 s,@subdirs@,$subdirs,;t t
44025 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
44026 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
44027 s,@GTK_LIBS@,$GTK_LIBS,;t t
44028 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
44029 s,@X_CFLAGS@,$X_CFLAGS,;t t
44030 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
44031 s,@X_LIBS@,$X_LIBS,;t t
44032 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
44033 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
44034 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
44035 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
44036 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
44037 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
44038 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
44039 s,@RESCOMP@,$RESCOMP,;t t
44040 s,@DEREZ@,$DEREZ,;t t
44041 s,@SETFILE@,$SETFILE,;t t
44042 s,@LIBICONV@,$LIBICONV,;t t
44043 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
44044 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
44045 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
44046 s,@SDL_LIBS@,$SDL_LIBS,;t t
44047 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
44048 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
44049 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
44050 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
44051 s,@GST_INSPECT@,$GST_INSPECT,;t t
44052 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
44053 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
44054 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
44055 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
44056 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
44057 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
44058 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
44059 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
44060 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
44061 s,@VENDOR@,$VENDOR,;t t
44062 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
44063 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
44064 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
44065 s,@WXUNIV@,$WXUNIV,;t t
44066 s,@MONOLITHIC@,$MONOLITHIC,;t t
44067 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
44068 s,@EXTRALIBS@,$EXTRALIBS,;t t
44069 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
44070 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
44071 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
44072 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
44073 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
44074 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
44075 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
44076 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
44077 s,@UNICODE@,$UNICODE,;t t
44078 s,@BUILD@,$BUILD,;t t
44079 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
44080 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
44081 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
44082 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
44083 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
44084 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
44085 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
44086 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
44087 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
44088 s,@SET_MAKE@,$SET_MAKE,;t t
44089 s,@MAKE_SET@,$MAKE_SET,;t t
44090 s,@ac_ct_AR@,$ac_ct_AR,;t t
44091 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
44092 s,@NM@,$NM,;t t
44093 s,@ac_ct_NM@,$ac_ct_NM,;t t
44094 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
44095 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
44096 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
44097 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
44098 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
44099 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
44100 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
44101 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
44102 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
44103 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
44104 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
44105 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
44106 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
44107 s,@LIBPREFIX@,$LIBPREFIX,;t t
44108 s,@LIBEXT@,$LIBEXT,;t t
44109 s,@DLLPREFIX@,$DLLPREFIX,;t t
44110 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
44111 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
44112 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
44113 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
44114 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
44115 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
44116 s,@PIC_FLAG@,$PIC_FLAG,;t t
44117 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
44118 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
44119 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
44120 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
44121 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
44122 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
44123 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
44124 s,@GCC_PCH@,$GCC_PCH,;t t
44125 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
44126 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
44127 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
44128 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
44129 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
44130 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
44131 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
44132 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
44133 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
44134 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
44135 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
44136 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
44137 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
44138 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
44139 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
44140 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
44141 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
44142 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
44143 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1,;t t
44144 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
44145 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
44146 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
44147 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
44148 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
44149 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1,;t t
44150 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
44151 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
44152 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
44153 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
44154 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
44155 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
44156 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
44157 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
44158 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
44159 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
44160 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
44161 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
44162 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
44163 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
44164 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
44165 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
44166 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
44167 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
44168 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
44169 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
44170 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
44171 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
44172 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
44173 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
44174 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
44175 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
44176 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
44177 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
44178 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
44179 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
44180 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
44181 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
44182 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
44183 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
44184 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
44185 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
44186 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
44187 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
44188 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
44189 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
44190 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
44191 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
44192 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
44193 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
44194 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
44195 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
44196 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
44197 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
44198 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
44199 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
44200 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
44201 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
44202 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
44203 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
44204 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
44205 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
44206 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
44207 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
44208 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
44209 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
44210 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
44211 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
44212 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
44213 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
44214 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
44215 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
44216 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
44217 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
44218 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
44219 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
44220 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
44221 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
44222 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
44223 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
44224 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
44225 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
44226 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
44227 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
44228 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
44229 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
44230 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
44231 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
44232 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
44233 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
44234 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
44235 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
44236 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
44237 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
44238 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
44239 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
44240 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
44241 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
44242 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
44243 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
44244 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
44245 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
44246 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
44247 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
44248 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
44249 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
44250 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
44251 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
44252 s,@SHARED@,$SHARED,;t t
44253 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
44254 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
44255 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
44256 s,@USE_GUI@,$USE_GUI,;t t
44257 s,@AFMINSTALL@,$AFMINSTALL,;t t
44258 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
44259 s,@TOOLKIT@,$TOOLKIT,;t t
44260 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
44261 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
44262 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
44263 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
44264 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
44265 s,@cross_compiling@,$cross_compiling,;t t
44266 s,@WIDGET_SET@,$WIDGET_SET,;t t
44267 s,@WX_RELEASE@,$WX_RELEASE,;t t
44268 s,@WX_VERSION@,$WX_VERSION,;t t
44269 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
44270 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
44271 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
44272 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
44273 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
44274 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
44275 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
44276 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
44277 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
44278 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
44279 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
44280 s,@EXE_LINKER@,$EXE_LINKER,;t t
44281 s,@GUIDIST@,$GUIDIST,;t t
44282 s,@DISTDIR@,$DISTDIR,;t t
44283 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
44284 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
44285 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
44286 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
44287 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
44288 s,@RESFLAGS@,$RESFLAGS,;t t
44289 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
44290 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
44291 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
44292 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
44293 s,@MACRESCOMP@,$MACRESCOMP,;t t
44294 s,@MACSETFILE@,$MACSETFILE,;t t
44295 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
44296 s,@GCC@,$GCC,;t t
44297 s,@DLLTOOL@,$DLLTOOL,;t t
44298 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
44299 s,@LIBOBJS@,$LIBOBJS,;t t
44300 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
44301 CEOF
44302
44303 _ACEOF
44304
44305 cat >>$CONFIG_STATUS <<\_ACEOF
44306 # Split the substitutions into bite-sized pieces for seds with
44307 # small command number limits, like on Digital OSF/1 and HP-UX.
44308 ac_max_sed_lines=48
44309 ac_sed_frag=1 # Number of current file.
44310 ac_beg=1 # First line for current file.
44311 ac_end=$ac_max_sed_lines # Line after last line for current file.
44312 ac_more_lines=:
44313 ac_sed_cmds=
44314 while $ac_more_lines; do
44315 if test $ac_beg -gt 1; then
44316 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
44317 else
44318 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
44319 fi
44320 if test ! -s $tmp/subs.frag; then
44321 ac_more_lines=false
44322 else
44323 # The purpose of the label and of the branching condition is to
44324 # speed up the sed processing (if there are no `@' at all, there
44325 # is no need to browse any of the substitutions).
44326 # These are the two extra sed commands mentioned above.
44327 (echo ':t
44328 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
44329 if test -z "$ac_sed_cmds"; then
44330 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
44331 else
44332 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
44333 fi
44334 ac_sed_frag=`expr $ac_sed_frag + 1`
44335 ac_beg=$ac_end
44336 ac_end=`expr $ac_end + $ac_max_sed_lines`
44337 fi
44338 done
44339 if test -z "$ac_sed_cmds"; then
44340 ac_sed_cmds=cat
44341 fi
44342 fi # test -n "$CONFIG_FILES"
44343
44344 _ACEOF
44345 cat >>$CONFIG_STATUS <<\_ACEOF
44346 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
44347 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
44348 case $ac_file in
44349 - | *:- | *:-:* ) # input from stdin
44350 cat >$tmp/stdin
44351 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
44352 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
44353 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
44354 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
44355 * ) ac_file_in=$ac_file.in ;;
44356 esac
44357
44358 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
44359 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
44360 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44361 X"$ac_file" : 'X\(//\)[^/]' \| \
44362 X"$ac_file" : 'X\(//\)$' \| \
44363 X"$ac_file" : 'X\(/\)' \| \
44364 . : '\(.\)' 2>/dev/null ||
44365 echo X"$ac_file" |
44366 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44367 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44368 /^X\(\/\/\)$/{ s//\1/; q; }
44369 /^X\(\/\).*/{ s//\1/; q; }
44370 s/.*/./; q'`
44371 { if $as_mkdir_p; then
44372 mkdir -p "$ac_dir"
44373 else
44374 as_dir="$ac_dir"
44375 as_dirs=
44376 while test ! -d "$as_dir"; do
44377 as_dirs="$as_dir $as_dirs"
44378 as_dir=`(dirname "$as_dir") 2>/dev/null ||
44379 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44380 X"$as_dir" : 'X\(//\)[^/]' \| \
44381 X"$as_dir" : 'X\(//\)$' \| \
44382 X"$as_dir" : 'X\(/\)' \| \
44383 . : '\(.\)' 2>/dev/null ||
44384 echo X"$as_dir" |
44385 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44386 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44387 /^X\(\/\/\)$/{ s//\1/; q; }
44388 /^X\(\/\).*/{ s//\1/; q; }
44389 s/.*/./; q'`
44390 done
44391 test ! -n "$as_dirs" || mkdir $as_dirs
44392 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
44393 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
44394 { (exit 1); exit 1; }; }; }
44395
44396 ac_builddir=.
44397
44398 if test "$ac_dir" != .; then
44399 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
44400 # A "../" for each directory in $ac_dir_suffix.
44401 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
44402 else
44403 ac_dir_suffix= ac_top_builddir=
44404 fi
44405
44406 case $srcdir in
44407 .) # No --srcdir option. We are building in place.
44408 ac_srcdir=.
44409 if test -z "$ac_top_builddir"; then
44410 ac_top_srcdir=.
44411 else
44412 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
44413 fi ;;
44414 [\\/]* | ?:[\\/]* ) # Absolute path.
44415 ac_srcdir=$srcdir$ac_dir_suffix;
44416 ac_top_srcdir=$srcdir ;;
44417 *) # Relative path.
44418 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
44419 ac_top_srcdir=$ac_top_builddir$srcdir ;;
44420 esac
44421
44422 # Do not use `cd foo && pwd` to compute absolute paths, because
44423 # the directories may not exist.
44424 case `pwd` in
44425 .) ac_abs_builddir="$ac_dir";;
44426 *)
44427 case "$ac_dir" in
44428 .) ac_abs_builddir=`pwd`;;
44429 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
44430 *) ac_abs_builddir=`pwd`/"$ac_dir";;
44431 esac;;
44432 esac
44433 case $ac_abs_builddir in
44434 .) ac_abs_top_builddir=${ac_top_builddir}.;;
44435 *)
44436 case ${ac_top_builddir}. in
44437 .) ac_abs_top_builddir=$ac_abs_builddir;;
44438 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
44439 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
44440 esac;;
44441 esac
44442 case $ac_abs_builddir in
44443 .) ac_abs_srcdir=$ac_srcdir;;
44444 *)
44445 case $ac_srcdir in
44446 .) ac_abs_srcdir=$ac_abs_builddir;;
44447 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
44448 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
44449 esac;;
44450 esac
44451 case $ac_abs_builddir in
44452 .) ac_abs_top_srcdir=$ac_top_srcdir;;
44453 *)
44454 case $ac_top_srcdir in
44455 .) ac_abs_top_srcdir=$ac_abs_builddir;;
44456 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
44457 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
44458 esac;;
44459 esac
44460
44461
44462 case $INSTALL in
44463 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
44464 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
44465 esac
44466
44467 # Let's still pretend it is `configure' which instantiates (i.e., don't
44468 # use $as_me), people would be surprised to read:
44469 # /* config.h. Generated by config.status. */
44470 if test x"$ac_file" = x-; then
44471 configure_input=
44472 else
44473 configure_input="$ac_file. "
44474 fi
44475 configure_input=$configure_input"Generated from `echo $ac_file_in |
44476 sed 's,.*/,,'` by configure."
44477
44478 # First look for the input files in the build tree, otherwise in the
44479 # src tree.
44480 ac_file_inputs=`IFS=:
44481 for f in $ac_file_in; do
44482 case $f in
44483 -) echo $tmp/stdin ;;
44484 [\\/$]*)
44485 # Absolute (can't be DOS-style, as IFS=:)
44486 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
44487 echo "$as_me: error: cannot find input file: $f" >&2;}
44488 { (exit 1); exit 1; }; }
44489 echo "$f";;
44490 *) # Relative
44491 if test -f "$f"; then
44492 # Build tree
44493 echo "$f"
44494 elif test -f "$srcdir/$f"; then
44495 # Source tree
44496 echo "$srcdir/$f"
44497 else
44498 # /dev/null tree
44499 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
44500 echo "$as_me: error: cannot find input file: $f" >&2;}
44501 { (exit 1); exit 1; }; }
44502 fi;;
44503 esac
44504 done` || { (exit 1); exit 1; }
44505
44506 if test x"$ac_file" != x-; then
44507 { echo "$as_me:$LINENO: creating $ac_file" >&5
44508 echo "$as_me: creating $ac_file" >&6;}
44509 rm -f "$ac_file"
44510 fi
44511 _ACEOF
44512 cat >>$CONFIG_STATUS <<_ACEOF
44513 sed "$ac_vpsub
44514 $extrasub
44515 _ACEOF
44516 cat >>$CONFIG_STATUS <<\_ACEOF
44517 :t
44518 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
44519 s,@configure_input@,$configure_input,;t t
44520 s,@srcdir@,$ac_srcdir,;t t
44521 s,@abs_srcdir@,$ac_abs_srcdir,;t t
44522 s,@top_srcdir@,$ac_top_srcdir,;t t
44523 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
44524 s,@builddir@,$ac_builddir,;t t
44525 s,@abs_builddir@,$ac_abs_builddir,;t t
44526 s,@top_builddir@,$ac_top_builddir,;t t
44527 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
44528 s,@INSTALL@,$ac_INSTALL,;t t
44529 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
44530 rm -f $tmp/stdin
44531 if test x"$ac_file" != x-; then
44532 mv $tmp/out $ac_file
44533 else
44534 cat $tmp/out
44535 rm -f $tmp/out
44536 fi
44537
44538 # Run the commands associated with the file.
44539 case $ac_file in
44540 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
44541 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
44542 esac
44543 done
44544 _ACEOF
44545 cat >>$CONFIG_STATUS <<\_ACEOF
44546
44547 #
44548 # CONFIG_HEADER section.
44549 #
44550
44551 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
44552 # NAME is the cpp macro being defined and VALUE is the value it is being given.
44553 #
44554 # ac_d sets the value in "#define NAME VALUE" lines.
44555 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
44556 ac_dB='[ ].*$,\1#\2'
44557 ac_dC=' '
44558 ac_dD=',;t'
44559 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
44560 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
44561 ac_uB='$,\1#\2define\3'
44562 ac_uC=' '
44563 ac_uD=',;t'
44564
44565 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
44566 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
44567 case $ac_file in
44568 - | *:- | *:-:* ) # input from stdin
44569 cat >$tmp/stdin
44570 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
44571 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
44572 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
44573 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
44574 * ) ac_file_in=$ac_file.in ;;
44575 esac
44576
44577 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
44578 echo "$as_me: creating $ac_file" >&6;}
44579
44580 # First look for the input files in the build tree, otherwise in the
44581 # src tree.
44582 ac_file_inputs=`IFS=:
44583 for f in $ac_file_in; do
44584 case $f in
44585 -) echo $tmp/stdin ;;
44586 [\\/$]*)
44587 # Absolute (can't be DOS-style, as IFS=:)
44588 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
44589 echo "$as_me: error: cannot find input file: $f" >&2;}
44590 { (exit 1); exit 1; }; }
44591 # Do quote $f, to prevent DOS paths from being IFS'd.
44592 echo "$f";;
44593 *) # Relative
44594 if test -f "$f"; then
44595 # Build tree
44596 echo "$f"
44597 elif test -f "$srcdir/$f"; then
44598 # Source tree
44599 echo "$srcdir/$f"
44600 else
44601 # /dev/null tree
44602 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
44603 echo "$as_me: error: cannot find input file: $f" >&2;}
44604 { (exit 1); exit 1; }; }
44605 fi;;
44606 esac
44607 done` || { (exit 1); exit 1; }
44608 # Remove the trailing spaces.
44609 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
44610
44611 _ACEOF
44612
44613 # Transform confdefs.h into two sed scripts, `conftest.defines' and
44614 # `conftest.undefs', that substitutes the proper values into
44615 # config.h.in to produce config.h. The first handles `#define'
44616 # templates, and the second `#undef' templates.
44617 # And first: Protect against being on the right side of a sed subst in
44618 # config.status. Protect against being in an unquoted here document
44619 # in config.status.
44620 rm -f conftest.defines conftest.undefs
44621 # Using a here document instead of a string reduces the quoting nightmare.
44622 # Putting comments in sed scripts is not portable.
44623 #
44624 # `end' is used to avoid that the second main sed command (meant for
44625 # 0-ary CPP macros) applies to n-ary macro definitions.
44626 # See the Autoconf documentation for `clear'.
44627 cat >confdef2sed.sed <<\_ACEOF
44628 s/[\\&,]/\\&/g
44629 s,[\\$`],\\&,g
44630 t clear
44631 : clear
44632 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
44633 t end
44634 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
44635 : end
44636 _ACEOF
44637 # If some macros were called several times there might be several times
44638 # the same #defines, which is useless. Nevertheless, we may not want to
44639 # sort them, since we want the *last* AC-DEFINE to be honored.
44640 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
44641 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
44642 rm -f confdef2sed.sed
44643
44644 # This sed command replaces #undef with comments. This is necessary, for
44645 # example, in the case of _POSIX_SOURCE, which is predefined and required
44646 # on some systems where configure will not decide to define it.
44647 cat >>conftest.undefs <<\_ACEOF
44648 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
44649 _ACEOF
44650
44651 # Break up conftest.defines because some shells have a limit on the size
44652 # of here documents, and old seds have small limits too (100 cmds).
44653 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
44654 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
44655 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
44656 echo ' :' >>$CONFIG_STATUS
44657 rm -f conftest.tail
44658 while grep . conftest.defines >/dev/null
44659 do
44660 # Write a limited-size here document to $tmp/defines.sed.
44661 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
44662 # Speed up: don't consider the non `#define' lines.
44663 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
44664 # Work around the forget-to-reset-the-flag bug.
44665 echo 't clr' >>$CONFIG_STATUS
44666 echo ': clr' >>$CONFIG_STATUS
44667 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
44668 echo 'CEOF
44669 sed -f $tmp/defines.sed $tmp/in >$tmp/out
44670 rm -f $tmp/in
44671 mv $tmp/out $tmp/in
44672 ' >>$CONFIG_STATUS
44673 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
44674 rm -f conftest.defines
44675 mv conftest.tail conftest.defines
44676 done
44677 rm -f conftest.defines
44678 echo ' fi # grep' >>$CONFIG_STATUS
44679 echo >>$CONFIG_STATUS
44680
44681 # Break up conftest.undefs because some shells have a limit on the size
44682 # of here documents, and old seds have small limits too (100 cmds).
44683 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
44684 rm -f conftest.tail
44685 while grep . conftest.undefs >/dev/null
44686 do
44687 # Write a limited-size here document to $tmp/undefs.sed.
44688 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
44689 # Speed up: don't consider the non `#undef'
44690 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
44691 # Work around the forget-to-reset-the-flag bug.
44692 echo 't clr' >>$CONFIG_STATUS
44693 echo ': clr' >>$CONFIG_STATUS
44694 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
44695 echo 'CEOF
44696 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
44697 rm -f $tmp/in
44698 mv $tmp/out $tmp/in
44699 ' >>$CONFIG_STATUS
44700 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
44701 rm -f conftest.undefs
44702 mv conftest.tail conftest.undefs
44703 done
44704 rm -f conftest.undefs
44705
44706 cat >>$CONFIG_STATUS <<\_ACEOF
44707 # Let's still pretend it is `configure' which instantiates (i.e., don't
44708 # use $as_me), people would be surprised to read:
44709 # /* config.h. Generated by config.status. */
44710 if test x"$ac_file" = x-; then
44711 echo "/* Generated by configure. */" >$tmp/config.h
44712 else
44713 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
44714 fi
44715 cat $tmp/in >>$tmp/config.h
44716 rm -f $tmp/in
44717 if test x"$ac_file" != x-; then
44718 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
44719 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
44720 echo "$as_me: $ac_file is unchanged" >&6;}
44721 else
44722 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
44723 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44724 X"$ac_file" : 'X\(//\)[^/]' \| \
44725 X"$ac_file" : 'X\(//\)$' \| \
44726 X"$ac_file" : 'X\(/\)' \| \
44727 . : '\(.\)' 2>/dev/null ||
44728 echo X"$ac_file" |
44729 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44730 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44731 /^X\(\/\/\)$/{ s//\1/; q; }
44732 /^X\(\/\).*/{ s//\1/; q; }
44733 s/.*/./; q'`
44734 { if $as_mkdir_p; then
44735 mkdir -p "$ac_dir"
44736 else
44737 as_dir="$ac_dir"
44738 as_dirs=
44739 while test ! -d "$as_dir"; do
44740 as_dirs="$as_dir $as_dirs"
44741 as_dir=`(dirname "$as_dir") 2>/dev/null ||
44742 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44743 X"$as_dir" : 'X\(//\)[^/]' \| \
44744 X"$as_dir" : 'X\(//\)$' \| \
44745 X"$as_dir" : 'X\(/\)' \| \
44746 . : '\(.\)' 2>/dev/null ||
44747 echo X"$as_dir" |
44748 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44749 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44750 /^X\(\/\/\)$/{ s//\1/; q; }
44751 /^X\(\/\).*/{ s//\1/; q; }
44752 s/.*/./; q'`
44753 done
44754 test ! -n "$as_dirs" || mkdir $as_dirs
44755 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
44756 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
44757 { (exit 1); exit 1; }; }; }
44758
44759 rm -f $ac_file
44760 mv $tmp/config.h $ac_file
44761 fi
44762 else
44763 cat $tmp/config.h
44764 rm -f $tmp/config.h
44765 fi
44766 done
44767 _ACEOF
44768 cat >>$CONFIG_STATUS <<\_ACEOF
44769
44770 #
44771 # CONFIG_COMMANDS section.
44772 #
44773 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
44774 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
44775 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
44776 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
44777 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44778 X"$ac_dest" : 'X\(//\)[^/]' \| \
44779 X"$ac_dest" : 'X\(//\)$' \| \
44780 X"$ac_dest" : 'X\(/\)' \| \
44781 . : '\(.\)' 2>/dev/null ||
44782 echo X"$ac_dest" |
44783 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44784 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44785 /^X\(\/\/\)$/{ s//\1/; q; }
44786 /^X\(\/\).*/{ s//\1/; q; }
44787 s/.*/./; q'`
44788 { if $as_mkdir_p; then
44789 mkdir -p "$ac_dir"
44790 else
44791 as_dir="$ac_dir"
44792 as_dirs=
44793 while test ! -d "$as_dir"; do
44794 as_dirs="$as_dir $as_dirs"
44795 as_dir=`(dirname "$as_dir") 2>/dev/null ||
44796 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44797 X"$as_dir" : 'X\(//\)[^/]' \| \
44798 X"$as_dir" : 'X\(//\)$' \| \
44799 X"$as_dir" : 'X\(/\)' \| \
44800 . : '\(.\)' 2>/dev/null ||
44801 echo X"$as_dir" |
44802 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44803 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44804 /^X\(\/\/\)$/{ s//\1/; q; }
44805 /^X\(\/\).*/{ s//\1/; q; }
44806 s/.*/./; q'`
44807 done
44808 test ! -n "$as_dirs" || mkdir $as_dirs
44809 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
44810 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
44811 { (exit 1); exit 1; }; }; }
44812
44813 ac_builddir=.
44814
44815 if test "$ac_dir" != .; then
44816 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
44817 # A "../" for each directory in $ac_dir_suffix.
44818 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
44819 else
44820 ac_dir_suffix= ac_top_builddir=
44821 fi
44822
44823 case $srcdir in
44824 .) # No --srcdir option. We are building in place.
44825 ac_srcdir=.
44826 if test -z "$ac_top_builddir"; then
44827 ac_top_srcdir=.
44828 else
44829 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
44830 fi ;;
44831 [\\/]* | ?:[\\/]* ) # Absolute path.
44832 ac_srcdir=$srcdir$ac_dir_suffix;
44833 ac_top_srcdir=$srcdir ;;
44834 *) # Relative path.
44835 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
44836 ac_top_srcdir=$ac_top_builddir$srcdir ;;
44837 esac
44838
44839 # Do not use `cd foo && pwd` to compute absolute paths, because
44840 # the directories may not exist.
44841 case `pwd` in
44842 .) ac_abs_builddir="$ac_dir";;
44843 *)
44844 case "$ac_dir" in
44845 .) ac_abs_builddir=`pwd`;;
44846 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
44847 *) ac_abs_builddir=`pwd`/"$ac_dir";;
44848 esac;;
44849 esac
44850 case $ac_abs_builddir in
44851 .) ac_abs_top_builddir=${ac_top_builddir}.;;
44852 *)
44853 case ${ac_top_builddir}. in
44854 .) ac_abs_top_builddir=$ac_abs_builddir;;
44855 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
44856 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
44857 esac;;
44858 esac
44859 case $ac_abs_builddir in
44860 .) ac_abs_srcdir=$ac_srcdir;;
44861 *)
44862 case $ac_srcdir in
44863 .) ac_abs_srcdir=$ac_abs_builddir;;
44864 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
44865 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
44866 esac;;
44867 esac
44868 case $ac_abs_builddir in
44869 .) ac_abs_top_srcdir=$ac_top_srcdir;;
44870 *)
44871 case $ac_top_srcdir in
44872 .) ac_abs_top_srcdir=$ac_abs_builddir;;
44873 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
44874 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
44875 esac;;
44876 esac
44877
44878
44879 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
44880 echo "$as_me: executing $ac_dest commands" >&6;}
44881 case $ac_dest in
44882 wx-config ) rm -f wx-config
44883 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
44884 ;;
44885 esac
44886 done
44887 _ACEOF
44888
44889 cat >>$CONFIG_STATUS <<\_ACEOF
44890
44891 { (exit 0); exit 0; }
44892 _ACEOF
44893 chmod +x $CONFIG_STATUS
44894 ac_clean_files=$ac_clean_files_save
44895
44896
44897 # configure is writing to config.log, and then calls config.status.
44898 # config.status does its own redirection, appending to config.log.
44899 # Unfortunately, on DOS this fails, as config.log is still kept open
44900 # by configure, so config.status won't be able to write to it; its
44901 # output is simply discarded. So we exec the FD to /dev/null,
44902 # effectively closing config.log, so it can be properly (re)opened and
44903 # appended to by config.status. When coming back to configure, we
44904 # need to make the FD available again.
44905 if test "$no_create" != yes; then
44906 ac_cs_success=:
44907 ac_config_status_args=
44908 test "$silent" = yes &&
44909 ac_config_status_args="$ac_config_status_args --quiet"
44910 exec 5>/dev/null
44911 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
44912 exec 5>>config.log
44913 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
44914 # would make configure fail if this is the last instruction.
44915 $ac_cs_success || { (exit 1); exit 1; }
44916 fi
44917
44918 #
44919 # CONFIG_SUBDIRS section.
44920 #
44921 if test "$no_recursion" != yes; then
44922
44923 # Remove --cache-file and --srcdir arguments so they do not pile up.
44924 ac_sub_configure_args=
44925 ac_prev=
44926 for ac_arg in $ac_configure_args; do
44927 if test -n "$ac_prev"; then
44928 ac_prev=
44929 continue
44930 fi
44931 case $ac_arg in
44932 -cache-file | --cache-file | --cache-fil | --cache-fi \
44933 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
44934 ac_prev=cache_file ;;
44935 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
44936 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
44937 | --c=*)
44938 ;;
44939 --config-cache | -C)
44940 ;;
44941 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
44942 ac_prev=srcdir ;;
44943 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
44944 ;;
44945 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
44946 ac_prev=prefix ;;
44947 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
44948 ;;
44949 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
44950 esac
44951 done
44952
44953 # Always prepend --prefix to ensure using the same prefix
44954 # in subdir configurations.
44955 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
44956
44957 ac_popdir=`pwd`
44958 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
44959
44960 # Do not complain, so a configure script can configure whichever
44961 # parts of a large source tree are present.
44962 test -d $srcdir/$ac_dir || continue
44963
44964 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
44965 echo "$as_me: configuring in $ac_dir" >&6;}
44966 { if $as_mkdir_p; then
44967 mkdir -p "$ac_dir"
44968 else
44969 as_dir="$ac_dir"
44970 as_dirs=
44971 while test ! -d "$as_dir"; do
44972 as_dirs="$as_dir $as_dirs"
44973 as_dir=`(dirname "$as_dir") 2>/dev/null ||
44974 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44975 X"$as_dir" : 'X\(//\)[^/]' \| \
44976 X"$as_dir" : 'X\(//\)$' \| \
44977 X"$as_dir" : 'X\(/\)' \| \
44978 . : '\(.\)' 2>/dev/null ||
44979 echo X"$as_dir" |
44980 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44981 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44982 /^X\(\/\/\)$/{ s//\1/; q; }
44983 /^X\(\/\).*/{ s//\1/; q; }
44984 s/.*/./; q'`
44985 done
44986 test ! -n "$as_dirs" || mkdir $as_dirs
44987 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
44988 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
44989 { (exit 1); exit 1; }; }; }
44990
44991 ac_builddir=.
44992
44993 if test "$ac_dir" != .; then
44994 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
44995 # A "../" for each directory in $ac_dir_suffix.
44996 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
44997 else
44998 ac_dir_suffix= ac_top_builddir=
44999 fi
45000
45001 case $srcdir in
45002 .) # No --srcdir option. We are building in place.
45003 ac_srcdir=.
45004 if test -z "$ac_top_builddir"; then
45005 ac_top_srcdir=.
45006 else
45007 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
45008 fi ;;
45009 [\\/]* | ?:[\\/]* ) # Absolute path.
45010 ac_srcdir=$srcdir$ac_dir_suffix;
45011 ac_top_srcdir=$srcdir ;;
45012 *) # Relative path.
45013 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
45014 ac_top_srcdir=$ac_top_builddir$srcdir ;;
45015 esac
45016
45017 # Do not use `cd foo && pwd` to compute absolute paths, because
45018 # the directories may not exist.
45019 case `pwd` in
45020 .) ac_abs_builddir="$ac_dir";;
45021 *)
45022 case "$ac_dir" in
45023 .) ac_abs_builddir=`pwd`;;
45024 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
45025 *) ac_abs_builddir=`pwd`/"$ac_dir";;
45026 esac;;
45027 esac
45028 case $ac_abs_builddir in
45029 .) ac_abs_top_builddir=${ac_top_builddir}.;;
45030 *)
45031 case ${ac_top_builddir}. in
45032 .) ac_abs_top_builddir=$ac_abs_builddir;;
45033 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
45034 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
45035 esac;;
45036 esac
45037 case $ac_abs_builddir in
45038 .) ac_abs_srcdir=$ac_srcdir;;
45039 *)
45040 case $ac_srcdir in
45041 .) ac_abs_srcdir=$ac_abs_builddir;;
45042 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
45043 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
45044 esac;;
45045 esac
45046 case $ac_abs_builddir in
45047 .) ac_abs_top_srcdir=$ac_top_srcdir;;
45048 *)
45049 case $ac_top_srcdir in
45050 .) ac_abs_top_srcdir=$ac_abs_builddir;;
45051 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
45052 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
45053 esac;;
45054 esac
45055
45056
45057 cd $ac_dir
45058
45059 # Check for guested configure; otherwise get Cygnus style configure.
45060 if test -f $ac_srcdir/configure.gnu; then
45061 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
45062 elif test -f $ac_srcdir/configure; then
45063 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
45064 elif test -f $ac_srcdir/configure.in; then
45065 ac_sub_configure=$ac_configure
45066 else
45067 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
45068 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
45069 ac_sub_configure=
45070 fi
45071
45072 # The recursion is here.
45073 if test -n "$ac_sub_configure"; then
45074 # Make the cache file name correct relative to the subdirectory.
45075 case $cache_file in
45076 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
45077 *) # Relative path.
45078 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
45079 esac
45080
45081 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
45082 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
45083 # The eval makes quoting arguments work.
45084 eval $ac_sub_configure $ac_sub_configure_args \
45085 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
45086 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
45087 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
45088 { (exit 1); exit 1; }; }
45089 fi
45090
45091 cd "$ac_popdir"
45092 done
45093 fi
45094
45095
45096 echo
45097 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
45098 echo ""
45099 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
45100 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
45101
45102 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
45103 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
45104 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
45105
45106 echo " What level of wxWidgets compatibility should be enabled?"
45107 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
45108 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
45109
45110 echo " Which libraries should wxWidgets use?"
45111 echo " jpeg ${wxUSE_LIBJPEG-none}"
45112 echo " png ${wxUSE_LIBPNG-none}"
45113 echo " regex ${wxUSE_REGEX}"
45114 echo " tiff ${wxUSE_LIBTIFF-none}"
45115 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
45116 echo " xpm ${wxUSE_LIBXPM-none}"
45117 fi
45118 echo " zlib ${wxUSE_ZLIB}"
45119 echo " odbc ${wxUSE_ODBC}"
45120 echo " expat ${wxUSE_EXPAT}"
45121 echo " libmspack ${wxUSE_LIBMSPACK}"
45122 echo " sdl ${wxUSE_LIBSDL}"
45123 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"
45124
45125 echo ""
45126