]> git.saurik.com Git - wxWidgets.git/blob - configure
Resolved CVS conflict
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for wxWidgets 2.6.2.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
14
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 emulate sh
18 NULLCMD=:
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23 set -o posix
24 fi
25 DUALCASE=1; export DUALCASE # for MKS sh
26
27 # Support unset when possible.
28 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29 as_unset=unset
30 else
31 as_unset=false
32 fi
33
34
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
37 PS1='$ '
38 PS2='> '
39 PS4='+ '
40
41 # NLS nuisances.
42 for as_var in \
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45 LC_TELEPHONE LC_TIME
46 do
47 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C; export $as_var
49 else
50 $as_unset $as_var
51 fi
52 done
53
54 # Required to use basename.
55 if expr a : '\(a\)' >/dev/null 2>&1; then
56 as_expr=expr
57 else
58 as_expr=false
59 fi
60
61 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
62 as_basename=basename
63 else
64 as_basename=false
65 fi
66
67
68 # Name of the executable.
69 as_me=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
74 echo X/"$0" |
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
78 s/.*/./; q'`
79
80
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits='0123456789'
87 as_cr_alnum=$as_cr_Letters$as_cr_digits
88
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
93 chmod +x conf$$.sh
94 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
95 PATH_SEPARATOR=';'
96 else
97 PATH_SEPARATOR=:
98 fi
99 rm -f conf$$.sh
100 fi
101
102
103 as_lineno_1=$LINENO
104 as_lineno_2=$LINENO
105 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
109 # relative or not.
110 case $0 in
111 *[\\/]* ) as_myself=$0 ;;
112 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 for as_dir in $PATH
114 do
115 IFS=$as_save_IFS
116 test -z "$as_dir" && as_dir=.
117 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
118 done
119
120 ;;
121 esac
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x; then
125 as_myself=$0
126 fi
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
130 fi
131 case $CONFIG_SHELL in
132 '')
133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
134 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
135 do
136 IFS=$as_save_IFS
137 test -z "$as_dir" && as_dir=.
138 for as_base in sh bash ksh sh5; do
139 case $as_dir in
140 /*)
141 if ("$as_dir/$as_base" -c '
142 as_lineno_1=$LINENO
143 as_lineno_2=$LINENO
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
147 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
148 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
149 CONFIG_SHELL=$as_dir/$as_base
150 export CONFIG_SHELL
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
152 fi;;
153 esac
154 done
155 done
156 ;;
157 esac
158
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
168 sed '
169 N
170 s,$,-,
171 : loop
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
173 t loop
174 s,-$,,
175 s,^['$as_cr_digits']*\n,,
176 ' >$as_me.lineno &&
177 chmod +x $as_me.lineno ||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
180
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
184 . ./$as_me.lineno
185 # Exit status is that of the last command.
186 exit
187 }
188
189
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c*,-n*) ECHO_N= ECHO_C='
192 ' ECHO_T=' ' ;;
193 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
194 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
195 esac
196
197 if expr a : '\(a\)' >/dev/null 2>&1; then
198 as_expr=expr
199 else
200 as_expr=false
201 fi
202
203 rm -f conf$$ conf$$.exe conf$$.file
204 echo >conf$$.file
205 if ln -s conf$$.file conf$$ 2>/dev/null; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe; then
209 # Don't use ln at all; we don't have any links
210 as_ln_s='cp -p'
211 else
212 as_ln_s='ln -s'
213 fi
214 elif ln conf$$.file conf$$ 2>/dev/null; then
215 as_ln_s=ln
216 else
217 as_ln_s='cp -p'
218 fi
219 rm -f conf$$ conf$$.exe conf$$.file
220
221 if mkdir -p . 2>/dev/null; then
222 as_mkdir_p=:
223 else
224 test -d ./-p && rmdir ./-p
225 as_mkdir_p=false
226 fi
227
228 as_executable_p="test -f"
229
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235
236
237 # IFS
238 # We need space, tab and new line, in precisely that order.
239 as_nl='
240 '
241 IFS=" $as_nl"
242
243 # CDPATH.
244 $as_unset CDPATH
245
246
247 # Name of the host.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
251
252 exec 6>&1
253
254 #
255 # Initializations.
256 #
257 ac_default_prefix=/usr/local
258 ac_config_libobj_dir=.
259 cross_compiling=no
260 subdirs=
261 MFLAGS=
262 MAKEFLAGS=
263 SHELL=${CONFIG_SHELL-/bin/sh}
264
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
269
270 # Identity of this package.
271 PACKAGE_NAME='wxWidgets'
272 PACKAGE_TARNAME='wxwidgets'
273 PACKAGE_VERSION='2.6.2'
274 PACKAGE_STRING='wxWidgets 2.6.2'
275 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
276
277 ac_unique_file="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default="\
280 #include <stdio.h>
281 #if HAVE_SYS_TYPES_H
282 # include <sys/types.h>
283 #endif
284 #if HAVE_SYS_STAT_H
285 # include <sys/stat.h>
286 #endif
287 #if STDC_HEADERS
288 # include <stdlib.h>
289 # include <stddef.h>
290 #else
291 # if HAVE_STDLIB_H
292 # include <stdlib.h>
293 # endif
294 #endif
295 #if HAVE_STRING_H
296 # if !STDC_HEADERS && HAVE_MEMORY_H
297 # include <memory.h>
298 # endif
299 # include <string.h>
300 #endif
301 #if HAVE_STRINGS_H
302 # include <strings.h>
303 #endif
304 #if HAVE_INTTYPES_H
305 # include <inttypes.h>
306 #else
307 # if HAVE_STDINT_H
308 # include <stdint.h>
309 # endif
310 #endif
311 #if HAVE_UNISTD_H
312 # include <unistd.h>
313 #endif"
314
315 ac_subdirs_all="$ac_subdirs_all src/expat"
316 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR 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 dlldir AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG WINDOWS_IMPLIB USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_SOVERCYGWIN USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_MSDOS_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_USE_XRC_1 COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_SHARED_1_USE_XRC_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_OPENGL_1 COND_USE_PLUGINS_0 COND_USE_RTTI_0 COND_USE_RTTI_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_THREADS_0 COND_USE_THREADS_1 COND_USE_XRC_1 COND_WINDOWS_IMPLIB_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_0 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_EXTRALIBS WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS GCC_PRAGMA_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC 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.6.2 to adapt to many kinds of systems.
798
799 Usage: $0 [OPTION]... [VAR=VALUE]...
800
801 To assign environment variables (e.g., CC, CFLAGS...), specify them as
802 VAR=VALUE. See below for descriptions of some of the useful variables.
803
804 Defaults for the options are specified in brackets.
805
806 Configuration:
807 -h, --help display this help and exit
808 --help=short display options specific to this package
809 --help=recursive display the short help of all the included packages
810 -V, --version display version information and exit
811 -q, --quiet, --silent do not print \`checking...' messages
812 --cache-file=FILE cache test results in FILE [disabled]
813 -C, --config-cache alias for \`--cache-file=config.cache'
814 -n, --no-create do not create output files
815 --srcdir=DIR find the sources in DIR [configure dir or \`..']
816
817 _ACEOF
818
819 cat <<_ACEOF
820 Installation directories:
821 --prefix=PREFIX install architecture-independent files in PREFIX
822 [$ac_default_prefix]
823 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
824 [PREFIX]
825
826 By default, \`make install' will install all the files in
827 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
828 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
829 for instance \`--prefix=\$HOME'.
830
831 For better control, use the options below.
832
833 Fine tuning of the installation directories:
834 --bindir=DIR user executables [EPREFIX/bin]
835 --sbindir=DIR system admin executables [EPREFIX/sbin]
836 --libexecdir=DIR program executables [EPREFIX/libexec]
837 --datadir=DIR read-only architecture-independent data [PREFIX/share]
838 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
839 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
840 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
841 --libdir=DIR object code libraries [EPREFIX/lib]
842 --includedir=DIR C header files [PREFIX/include]
843 --oldincludedir=DIR C header files for non-gcc [/usr/include]
844 --infodir=DIR info documentation [PREFIX/info]
845 --mandir=DIR man documentation [PREFIX/man]
846 _ACEOF
847
848 cat <<\_ACEOF
849
850 X features:
851 --x-includes=DIR X include files are in DIR
852 --x-libraries=DIR X library files are in DIR
853
854 System types:
855 --build=BUILD configure for building on BUILD [guessed]
856 --host=HOST cross-compile to build programs to run on HOST [BUILD]
857 --target=TARGET configure for building compilers for TARGET [HOST]
858 _ACEOF
859 fi
860
861 if test -n "$ac_init_help"; then
862 case $ac_init_help in
863 short | recursive ) echo "Configuration of wxWidgets 2.6.2:";;
864 esac
865 cat <<\_ACEOF
866
867 Optional Features:
868 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
869 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
870 --enable-gui use GUI classes
871 --enable-monolithic build wxWidgets as single library
872 --enable-plugins build parts of wxWidgets as loadable components
873 --enable-universal use wxWidgets GUI controls instead of native ones
874 --enable-nanox use NanoX
875 --disable-gtk2 use GTK+ 1.2 instead of 2.0
876 --enable-gpe use GNOME PDA Environment features if possible
877 --enable-shared create shared library code
878 --enable-optimise create optimised code
879 --enable-debug same as debug_flag and debug_info
880 --enable-stl use STL for containers
881 --enable-omf use OMF object format
882 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
883 --enable-debug_info create code with debugging information
884 --enable-debug_gdb create code with extra GDB debugging information
885 --enable-debug_cntxt use wxDebugContext
886 --enable-mem_tracing create code with memory tracing
887 --enable-profile create code with profiling information
888 --enable-no_rtti create code without RTTI information
889 --enable-no_exceptions create code without C++ exceptions handling
890 --enable-permissive compile code disregarding strict ANSI
891 --enable-no_deps create code without dependency information
892 --enable-compat22 enable wxWidgets 2.2 compatibility
893 --disable-compat24 disable wxWidgets 2.4 compatibility
894 --disable-rpath disable use of rpath for uninstalled builds
895 --enable-intl use internationalization system
896 --enable-config use wxConfig (and derived) classes
897 --enable-protocols use wxProtocol and derived classes
898 --enable-ftp use wxFTP (requires wxProtocol
899 --enable-http use wxHTTP (requires wxProtocol
900 --enable-fileproto use wxFileProto class (requires wxProtocol
901 --enable-sockets use socket/network classes
902 --enable-ole use OLE classes (Win32 only)
903 --enable-dataobj use data object classes
904 --enable-ipc use interprocess communication (wxSocket etc.)
905 --enable-apple_ieee use the Apple IEEE codec
906 --enable-arcstream use wxArchive streams
907 --enable-backtrace use wxStackWalker class for getting backtraces
908 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
909 --enable-cmdline use wxCmdLineParser class
910 --enable-datetime use wxDateTime class
911 --enable-debugreport use wxDebugReport class
912 --enable-dialupman use dialup network classes
913 --enable-dynlib use wxLibrary class for DLL loading
914 --enable-dynamicloader use (new) wxDynamicLibrary class
915 --enable-exceptions build exception-safe library
916 --enable-ffile use wxFFile class
917 --enable-file use wxFile class
918 --enable-filesystem use virtual file systems classes
919 --enable-fontmap use font encodings conversion classes
920 --enable-fs_inet use virtual HTTP/FTP filesystems
921 --enable-fs_zip use virtual ZIP filesystems
922 --enable-geometry use geometry class
923 --enable-log use logging system
924 --enable-longlong use wxLongLong class
925 --enable-mimetype use wxMimeTypesManager
926 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
927 --enable-snglinst use wxSingleInstanceChecker class
928 --enable-std_iostreams use standard C++ stream classes
929 --enable-std_string use standard C++ string classes
930 --enable-stdpaths use wxStandardPaths class
931 --enable-stopwatch use wxStopWatch class
932 --enable-streams use wxStream etc classes
933 --enable-sysoptions use wxSystemOptions
934 --enable-textbuf use wxTextBuffer class
935 --enable-textfile use wxTextFile class
936 --enable-timer use wxTimer class
937 --enable-unicode compile wxString with Unicode support
938 --enable-sound use wxSound class
939 --enable-mediactrl use wxMediaCtrl class
940 --enable-wxprintfv use wxWidgets implementation of vprintf()
941 --enable-zipstream use wxZip streams
942 --enable-url use wxURL class
943 --enable-protocol use wxProtocol class
944 --enable-protocol-http HTTP support in wxProtocol
945 --enable-protocol-ftp FTP support in wxProtocol
946 --enable-protocol-file FILE support in wxProtocol
947 --enable-threads use threads
948 --enable-docview use document view architecture
949 --enable-help use help subsystem
950 --enable-mshtmlhelp use MS HTML Help (win32)
951 --enable-html use wxHTML sub-library
952 --enable-htmlhelp use wxHTML-based help
953 --enable-xrc use XRC resources sub-library
954 --enable-constraints use layout-constraints system
955 --enable-printarch use printing architecture
956 --enable-mdi use multiple document interface architecture
957 --enable-mdidoc use docview architecture with MDI
958 --enable-loggui use standard GUI logger
959 --enable-logwin use wxLogWindow
960 --enable-logdialog use wxLogDialog
961 --enable-webkit use wxWebKitCtrl (Mac)
962 --enable-postscript use wxPostscriptDC device context (default for gtk+)
963 --enable-prologio not available; see contrib
964 --enable-resources not available; see contrib
965 --enable-clipboard use wxClipboard class
966 --enable-dnd use Drag'n'Drop classes
967 --enable-metafile use win32 metafiles
968 --enable-controls use all usual controls
969 --enable-accel use accelerators
970 --enable-button use wxButton class
971 --enable-bmpbutton use wxBitmapButton class
972 --enable-calendar use wxCalendarCtrl class
973 --enable-caret use wxCaret class
974 --enable-checkbox use wxCheckBox class
975 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
976 --enable-choice use wxChoice class
977 --enable-choicebook use wxChoicebook class
978 --enable-combobox use wxComboBox class
979 --enable-datepick use wxDatePickerCtrl class
980 --enable-display use wxDisplay class
981 --enable-gauge use wxGauge class
982 --enable-grid use wxGrid class
983 --enable-imaglist use wxImageList class
984 --enable-listbook use wxListbook class
985 --enable-listbox use wxListBox class
986 --enable-listctrl use wxListCtrl class
987 --enable-notebook use wxNotebook class
988 --enable-radiobox use wxRadioBox class
989 --enable-radiobtn use wxRadioButton class
990 --enable-sash use wxSashWindow class
991 --enable-scrollbar use wxScrollBar class and scrollable windows
992 --enable-slider use wxSlider class
993 --enable-spinbtn use wxSpinButton class
994 --enable-spinctrl use wxSpinCtrl class
995 --enable-splitter use wxSplitterWindow class
996 --enable-statbmp use wxStaticBitmap class
997 --enable-statbox use wxStaticBox class
998 --enable-statline use wxStaticLine class
999 --enable-stattext use wxStaticText class
1000 --enable-statusbar use wxStatusBar class
1001 --enable-tabdialog use wxTabControl class
1002 --enable-textctrl use wxTextCtrl class
1003 --enable-togglebtn use wxToggleButton class
1004 --enable-toolbar use wxToolBar class
1005 --enable-tbarnative use native wxToolBar class
1006 --enable-tbarsmpl use wxToolBarSimple class
1007 --enable-treectrl use wxTreeCtrl class
1008 --enable-tipwindow use wxTipWindow class
1009 --enable-popupwin use wxPopUpWindow class
1010 --enable-commondlg use all common dialogs
1011 --enable-choicedlg use wxChoiceDialog
1012 --enable-coldlg use wxColourDialog
1013 --enable-filedlg use wxFileDialog
1014 --enable-finddlg use wxFindReplaceDialog
1015 --enable-fontdlg use wxFontDialog
1016 --enable-dirdlg use wxDirDialog
1017 --enable-msgdlg use wxMessageDialog
1018 --enable-numberdlg use wxNumberEntryDialog
1019 --enable-splash use wxSplashScreen
1020 --enable-textdlg use wxTextDialog
1021 --enable-tipdlg use startup tips
1022 --enable-progressdlg use wxProgressDialog
1023 --enable-wizarddlg use wxWizard
1024 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1025 --enable-miniframe use wxMiniFrame class
1026 --enable-tooltips use wxToolTip class
1027 --enable-splines use spline drawing code
1028 --enable-mousewheel use mousewheel
1029 --enable-validators use wxValidator and derived classes
1030 --enable-busyinfo use wxBusyInfo
1031 --enable-joystick use wxJoystick
1032 --enable-metafiles use wxMetaFile (Windows only)
1033 --enable-dragimage use wxDragImage
1034 --enable-accessibility enable accessibility support
1035 --enable-palette use wxPalette class
1036 --enable-image use wxImage class
1037 --enable-gif use gif images (GIF file format)
1038 --enable-pcx use pcx images (PCX file format)
1039 --enable-iff use iff images (IFF file format)
1040 --enable-pnm use pnm images (PNM file format)
1041 --enable-xpm use xpm images (XPM file format)
1042 --enable-icocur use Windows ICO and CUR formats
1043 --enable-official_build official build of wxWidgets (win32 DLL only)
1044 --enable-vendor=VENDOR vendor name (win32 DLL only)
1045 --disable-largefile omit support for large files
1046 --disable-gtktest do not try to compile and run a test GTK+ program
1047 --disable-gtktest Do not try to compile and run a test GTK program
1048 --disable-sdltest Do not try to compile and run a test SDL program
1049 --enable-omf use OMF object format (OS/2)
1050 --disable-precomp-headers
1051 don't use precompiled headers even if compiler can
1052
1053 Optional Packages:
1054 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1055 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1056 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1057 --with-motif use Motif/Lesstif
1058 --with-mac use Mac OS X
1059 --with-cocoa use Cocoa
1060 --with-wine use Wine
1061 --with-msw use MS-Windows
1062 --with-pm use OS/2 Presentation Manager
1063 --with-mgl use SciTech MGL
1064 --with-microwin use MicroWindows
1065 --with-x11 use X11
1066 --with-libpng use libpng (PNG image format)
1067 --with-libjpeg use libjpeg (JPEG file format)
1068 --with-libtiff use libtiff (TIFF file format)
1069 --with-libxpm use libxpm (XPM file format)
1070 --with-libmspack use libmspack (CHM help files loading)
1071 --with-sdl use SDL for audio on Unix
1072 --with-gnomeprint use GNOME print for printing under Unix
1073 --with-opengl use OpenGL (or Mesa)
1074 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1075 --with-regex enable support for wxRegEx class
1076 --with-zlib use zlib for LZW compression
1077 --with-odbc use the IODBC and wxODBC classes
1078 --with-expat enable XML support using expat parser
1079 --with-flavour=NAME specify a name to identify this build
1080 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1081 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1082 --with-x use the X Window System
1083 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1084 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1085 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1086 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1087 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1088
1089 Some influential environment variables:
1090 CC C compiler command
1091 CFLAGS C compiler flags
1092 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1093 nonstandard directory <lib dir>
1094 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1095 headers in a nonstandard directory <include dir>
1096 CPP C preprocessor
1097 CXX C++ compiler command
1098 CXXFLAGS C++ compiler flags
1099 CXXCPP C++ preprocessor
1100
1101 Use these variables to override the choices made by `configure' or to help
1102 it to find libraries and programs with nonstandard names/locations.
1103
1104 Report bugs to <wx-dev@lists.wxwidgets.org>.
1105 _ACEOF
1106 fi
1107
1108 if test "$ac_init_help" = "recursive"; then
1109 # If there are subdirs, report their specific --help.
1110 ac_popdir=`pwd`
1111 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1112 test -d $ac_dir || continue
1113 ac_builddir=.
1114
1115 if test "$ac_dir" != .; then
1116 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1117 # A "../" for each directory in $ac_dir_suffix.
1118 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1119 else
1120 ac_dir_suffix= ac_top_builddir=
1121 fi
1122
1123 case $srcdir in
1124 .) # No --srcdir option. We are building in place.
1125 ac_srcdir=.
1126 if test -z "$ac_top_builddir"; then
1127 ac_top_srcdir=.
1128 else
1129 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1130 fi ;;
1131 [\\/]* | ?:[\\/]* ) # Absolute path.
1132 ac_srcdir=$srcdir$ac_dir_suffix;
1133 ac_top_srcdir=$srcdir ;;
1134 *) # Relative path.
1135 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1136 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1137 esac
1138
1139 # Do not use `cd foo && pwd` to compute absolute paths, because
1140 # the directories may not exist.
1141 case `pwd` in
1142 .) ac_abs_builddir="$ac_dir";;
1143 *)
1144 case "$ac_dir" in
1145 .) ac_abs_builddir=`pwd`;;
1146 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1147 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1148 esac;;
1149 esac
1150 case $ac_abs_builddir in
1151 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1152 *)
1153 case ${ac_top_builddir}. in
1154 .) ac_abs_top_builddir=$ac_abs_builddir;;
1155 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1156 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1157 esac;;
1158 esac
1159 case $ac_abs_builddir in
1160 .) ac_abs_srcdir=$ac_srcdir;;
1161 *)
1162 case $ac_srcdir in
1163 .) ac_abs_srcdir=$ac_abs_builddir;;
1164 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1165 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1166 esac;;
1167 esac
1168 case $ac_abs_builddir in
1169 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1170 *)
1171 case $ac_top_srcdir in
1172 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1173 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1174 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1175 esac;;
1176 esac
1177
1178 cd $ac_dir
1179 # Check for guested configure; otherwise get Cygnus style configure.
1180 if test -f $ac_srcdir/configure.gnu; then
1181 echo
1182 $SHELL $ac_srcdir/configure.gnu --help=recursive
1183 elif test -f $ac_srcdir/configure; then
1184 echo
1185 $SHELL $ac_srcdir/configure --help=recursive
1186 elif test -f $ac_srcdir/configure.ac ||
1187 test -f $ac_srcdir/configure.in; then
1188 echo
1189 $ac_configure --help
1190 else
1191 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1192 fi
1193 cd "$ac_popdir"
1194 done
1195 fi
1196
1197 test -n "$ac_init_help" && exit 0
1198 if $ac_init_version; then
1199 cat <<\_ACEOF
1200 wxWidgets configure 2.6.2
1201 generated by GNU Autoconf 2.59
1202
1203 Copyright (C) 2003 Free Software Foundation, Inc.
1204 This configure script is free software; the Free Software Foundation
1205 gives unlimited permission to copy, distribute and modify it.
1206 _ACEOF
1207 exit 0
1208 fi
1209 exec 5>config.log
1210 cat >&5 <<_ACEOF
1211 This file contains any messages produced by compilers while
1212 running configure, to aid debugging if configure makes a mistake.
1213
1214 It was created by wxWidgets $as_me 2.6.2, which was
1215 generated by GNU Autoconf 2.59. Invocation command line was
1216
1217 $ $0 $@
1218
1219 _ACEOF
1220 {
1221 cat <<_ASUNAME
1222 ## --------- ##
1223 ## Platform. ##
1224 ## --------- ##
1225
1226 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1227 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1228 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1229 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1230 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1231
1232 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1233 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1234
1235 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1236 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1237 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1238 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1239 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1240 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1241 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1242
1243 _ASUNAME
1244
1245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1246 for as_dir in $PATH
1247 do
1248 IFS=$as_save_IFS
1249 test -z "$as_dir" && as_dir=.
1250 echo "PATH: $as_dir"
1251 done
1252
1253 } >&5
1254
1255 cat >&5 <<_ACEOF
1256
1257
1258 ## ----------- ##
1259 ## Core tests. ##
1260 ## ----------- ##
1261
1262 _ACEOF
1263
1264
1265 # Keep a trace of the command line.
1266 # Strip out --no-create and --no-recursion so they do not pile up.
1267 # Strip out --silent because we don't want to record it for future runs.
1268 # Also quote any args containing shell meta-characters.
1269 # Make two passes to allow for proper duplicate-argument suppression.
1270 ac_configure_args=
1271 ac_configure_args0=
1272 ac_configure_args1=
1273 ac_sep=
1274 ac_must_keep_next=false
1275 for ac_pass in 1 2
1276 do
1277 for ac_arg
1278 do
1279 case $ac_arg in
1280 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1281 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1282 | -silent | --silent | --silen | --sile | --sil)
1283 continue ;;
1284 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1285 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1286 esac
1287 case $ac_pass in
1288 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1289 2)
1290 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1291 if test $ac_must_keep_next = true; then
1292 ac_must_keep_next=false # Got value, back to normal.
1293 else
1294 case $ac_arg in
1295 *=* | --config-cache | -C | -disable-* | --disable-* \
1296 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1297 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1298 | -with-* | --with-* | -without-* | --without-* | --x)
1299 case "$ac_configure_args0 " in
1300 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1301 esac
1302 ;;
1303 -* ) ac_must_keep_next=true ;;
1304 esac
1305 fi
1306 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1307 # Get rid of the leading space.
1308 ac_sep=" "
1309 ;;
1310 esac
1311 done
1312 done
1313 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1314 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1315
1316 # When interrupted or exit'd, cleanup temporary files, and complete
1317 # config.log. We remove comments because anyway the quotes in there
1318 # would cause problems or look ugly.
1319 # WARNING: Be sure not to use single quotes in there, as some shells,
1320 # such as our DU 5.0 friend, will then `close' the trap.
1321 trap 'exit_status=$?
1322 # Save into config.log some information that might help in debugging.
1323 {
1324 echo
1325
1326 cat <<\_ASBOX
1327 ## ---------------- ##
1328 ## Cache variables. ##
1329 ## ---------------- ##
1330 _ASBOX
1331 echo
1332 # The following way of writing the cache mishandles newlines in values,
1333 {
1334 (set) 2>&1 |
1335 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1336 *ac_space=\ *)
1337 sed -n \
1338 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1339 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1340 ;;
1341 *)
1342 sed -n \
1343 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1344 ;;
1345 esac;
1346 }
1347 echo
1348
1349 cat <<\_ASBOX
1350 ## ----------------- ##
1351 ## Output variables. ##
1352 ## ----------------- ##
1353 _ASBOX
1354 echo
1355 for ac_var in $ac_subst_vars
1356 do
1357 eval ac_val=$`echo $ac_var`
1358 echo "$ac_var='"'"'$ac_val'"'"'"
1359 done | sort
1360 echo
1361
1362 if test -n "$ac_subst_files"; then
1363 cat <<\_ASBOX
1364 ## ------------- ##
1365 ## Output files. ##
1366 ## ------------- ##
1367 _ASBOX
1368 echo
1369 for ac_var in $ac_subst_files
1370 do
1371 eval ac_val=$`echo $ac_var`
1372 echo "$ac_var='"'"'$ac_val'"'"'"
1373 done | sort
1374 echo
1375 fi
1376
1377 if test -s confdefs.h; then
1378 cat <<\_ASBOX
1379 ## ----------- ##
1380 ## confdefs.h. ##
1381 ## ----------- ##
1382 _ASBOX
1383 echo
1384 sed "/^$/d" confdefs.h | sort
1385 echo
1386 fi
1387 test "$ac_signal" != 0 &&
1388 echo "$as_me: caught signal $ac_signal"
1389 echo "$as_me: exit $exit_status"
1390 } >&5
1391 rm -f core *.core &&
1392 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1393 exit $exit_status
1394 ' 0
1395 for ac_signal in 1 2 13 15; do
1396 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1397 done
1398 ac_signal=0
1399
1400 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1401 rm -rf conftest* confdefs.h
1402 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1403 echo >confdefs.h
1404
1405 # Predefined preprocessor variables.
1406
1407 cat >>confdefs.h <<_ACEOF
1408 #define PACKAGE_NAME "$PACKAGE_NAME"
1409 _ACEOF
1410
1411
1412 cat >>confdefs.h <<_ACEOF
1413 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1414 _ACEOF
1415
1416
1417 cat >>confdefs.h <<_ACEOF
1418 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1419 _ACEOF
1420
1421
1422 cat >>confdefs.h <<_ACEOF
1423 #define PACKAGE_STRING "$PACKAGE_STRING"
1424 _ACEOF
1425
1426
1427 cat >>confdefs.h <<_ACEOF
1428 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1429 _ACEOF
1430
1431
1432 # Let the site file select an alternate cache file if it wants to.
1433 # Prefer explicitly selected file to automatically selected ones.
1434 if test -z "$CONFIG_SITE"; then
1435 if test "x$prefix" != xNONE; then
1436 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1437 else
1438 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1439 fi
1440 fi
1441 for ac_site_file in $CONFIG_SITE; do
1442 if test -r "$ac_site_file"; then
1443 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1444 echo "$as_me: loading site script $ac_site_file" >&6;}
1445 sed 's/^/| /' "$ac_site_file" >&5
1446 . "$ac_site_file"
1447 fi
1448 done
1449
1450 if test -r "$cache_file"; then
1451 # Some versions of bash will fail to source /dev/null (special
1452 # files actually), so we avoid doing that.
1453 if test -f "$cache_file"; then
1454 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1455 echo "$as_me: loading cache $cache_file" >&6;}
1456 case $cache_file in
1457 [\\/]* | ?:[\\/]* ) . $cache_file;;
1458 *) . ./$cache_file;;
1459 esac
1460 fi
1461 else
1462 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1463 echo "$as_me: creating cache $cache_file" >&6;}
1464 >$cache_file
1465 fi
1466
1467 # Check that the precious variables saved in the cache have kept the same
1468 # value.
1469 ac_cache_corrupted=false
1470 for ac_var in `(set) 2>&1 |
1471 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1472 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1473 eval ac_new_set=\$ac_env_${ac_var}_set
1474 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1475 eval ac_new_val="\$ac_env_${ac_var}_value"
1476 case $ac_old_set,$ac_new_set in
1477 set,)
1478 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1479 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1480 ac_cache_corrupted=: ;;
1481 ,set)
1482 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1483 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1484 ac_cache_corrupted=: ;;
1485 ,);;
1486 *)
1487 if test "x$ac_old_val" != "x$ac_new_val"; then
1488 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1489 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1490 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1491 echo "$as_me: former value: $ac_old_val" >&2;}
1492 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1493 echo "$as_me: current value: $ac_new_val" >&2;}
1494 ac_cache_corrupted=:
1495 fi;;
1496 esac
1497 # Pass precious variables to config.status.
1498 if test "$ac_new_set" = set; then
1499 case $ac_new_val in
1500 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1501 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1502 *) ac_arg=$ac_var=$ac_new_val ;;
1503 esac
1504 case " $ac_configure_args " in
1505 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1506 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1507 esac
1508 fi
1509 done
1510 if $ac_cache_corrupted; then
1511 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1512 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1513 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1514 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1515 { (exit 1); exit 1; }; }
1516 fi
1517
1518 ac_ext=c
1519 ac_cpp='$CPP $CPPFLAGS'
1520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
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
1552
1553 ac_aux_dir=
1554 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1555 if test -f $ac_dir/install-sh; then
1556 ac_aux_dir=$ac_dir
1557 ac_install_sh="$ac_aux_dir/install-sh -c"
1558 break
1559 elif test -f $ac_dir/install.sh; then
1560 ac_aux_dir=$ac_dir
1561 ac_install_sh="$ac_aux_dir/install.sh -c"
1562 break
1563 elif test -f $ac_dir/shtool; then
1564 ac_aux_dir=$ac_dir
1565 ac_install_sh="$ac_aux_dir/shtool install -c"
1566 break
1567 fi
1568 done
1569 if test -z "$ac_aux_dir"; then
1570 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1571 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1572 { (exit 1); exit 1; }; }
1573 fi
1574 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1575 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1576 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1577
1578 # Make sure we can run config.sub.
1579 $ac_config_sub sun4 >/dev/null 2>&1 ||
1580 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1581 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1582 { (exit 1); exit 1; }; }
1583
1584 echo "$as_me:$LINENO: checking build system type" >&5
1585 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1586 if test "${ac_cv_build+set}" = set; then
1587 echo $ECHO_N "(cached) $ECHO_C" >&6
1588 else
1589 ac_cv_build_alias=$build_alias
1590 test -z "$ac_cv_build_alias" &&
1591 ac_cv_build_alias=`$ac_config_guess`
1592 test -z "$ac_cv_build_alias" &&
1593 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1594 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1595 { (exit 1); exit 1; }; }
1596 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1597 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1598 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1599 { (exit 1); exit 1; }; }
1600
1601 fi
1602 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1603 echo "${ECHO_T}$ac_cv_build" >&6
1604 build=$ac_cv_build
1605 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1606 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1607 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1608
1609
1610 echo "$as_me:$LINENO: checking host system type" >&5
1611 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1612 if test "${ac_cv_host+set}" = set; then
1613 echo $ECHO_N "(cached) $ECHO_C" >&6
1614 else
1615 ac_cv_host_alias=$host_alias
1616 test -z "$ac_cv_host_alias" &&
1617 ac_cv_host_alias=$ac_cv_build_alias
1618 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1619 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1620 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1621 { (exit 1); exit 1; }; }
1622
1623 fi
1624 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1625 echo "${ECHO_T}$ac_cv_host" >&6
1626 host=$ac_cv_host
1627 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1628 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1629 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1630
1631
1632 echo "$as_me:$LINENO: checking target system type" >&5
1633 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1634 if test "${ac_cv_target+set}" = set; then
1635 echo $ECHO_N "(cached) $ECHO_C" >&6
1636 else
1637 ac_cv_target_alias=$target_alias
1638 test "x$ac_cv_target_alias" = "x" &&
1639 ac_cv_target_alias=$ac_cv_host_alias
1640 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1641 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1642 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1643 { (exit 1); exit 1; }; }
1644
1645 fi
1646 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1647 echo "${ECHO_T}$ac_cv_target" >&6
1648 target=$ac_cv_target
1649 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1650 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1651 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1652
1653
1654 # The aliases save the names the user supplied, while $host etc.
1655 # will get canonicalized.
1656 test -n "$target_alias" &&
1657 test "$program_prefix$program_suffix$program_transform_name" = \
1658 NONENONEs,x,x, &&
1659 program_prefix=${target_alias}-
1660
1661
1662
1663 wx_major_version_number=2
1664 wx_minor_version_number=6
1665 wx_release_number=2
1666 wx_subrelease_number=1
1667
1668 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1669 WX_VERSION=$WX_RELEASE.$wx_release_number
1670 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1671
1672 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1673
1674
1675
1676
1677 USE_UNIX=1
1678 USE_OS2=0
1679 USE_WIN32=0
1680 USE_DOS=0
1681 USE_BEOS=0
1682 USE_MAC=0
1683
1684 USE_AIX=
1685 USE_BSD= USE_DARWIN= USE_FREEBSD=
1686 USE_GNU= USE_HPUX=
1687 USE_LINUX=
1688 USE_NETBSD=
1689 USE_OPENBSD=
1690 USE_OSF= USE_SGI=
1691 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1692 USE_ULTRIX=
1693 USE_UNIXWARE=
1694
1695 USE_ALPHA=
1696
1697 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1698
1699 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1700
1701 DEFAULT_wxUSE_COCOA=0
1702 DEFAULT_wxUSE_GTK=0
1703 DEFAULT_wxUSE_MAC=0
1704 DEFAULT_wxUSE_MGL=0
1705 DEFAULT_wxUSE_MICROWIN=0
1706 DEFAULT_wxUSE_MOTIF=0
1707 DEFAULT_wxUSE_MSW=0
1708 DEFAULT_wxUSE_PM=0
1709 DEFAULT_wxUSE_X11=0
1710
1711 DEFAULT_DEFAULT_wxUSE_COCOA=0
1712 DEFAULT_DEFAULT_wxUSE_GTK=0
1713 DEFAULT_DEFAULT_wxUSE_MAC=0
1714 DEFAULT_DEFAULT_wxUSE_MGL=0
1715 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1716 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1717 DEFAULT_DEFAULT_wxUSE_MSW=0
1718 DEFAULT_DEFAULT_wxUSE_PM=0
1719 DEFAULT_DEFAULT_wxUSE_X11=0
1720
1721 PROGRAM_EXT=
1722 SO_SUFFIX=so
1723 SAMPLES_RPATH_FLAG=
1724 SAMPLES_RPATH_POSTLINK=
1725
1726 DEFAULT_STD_FLAG=yes
1727
1728 case "${host}" in
1729 *-hp-hpux* )
1730 USE_HPUX=1
1731 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1732 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1733 SO_SUFFIX=sl
1734 cat >>confdefs.h <<\_ACEOF
1735 #define __HPUX__ 1
1736 _ACEOF
1737
1738 ;;
1739 *-*-linux* )
1740 USE_LINUX=1
1741 cat >>confdefs.h <<\_ACEOF
1742 #define __LINUX__ 1
1743 _ACEOF
1744
1745 TMP=`uname -m`
1746 if test "x$TMP" = "xalpha"; then
1747 USE_ALPHA=1
1748 cat >>confdefs.h <<\_ACEOF
1749 #define __ALPHA__ 1
1750 _ACEOF
1751
1752 fi
1753 DEFAULT_DEFAULT_wxUSE_GTK=1
1754 ;;
1755 *-*-gnu* | *-*-k*bsd*-gnu )
1756 USE_GNU=1
1757 TMP=`uname -m`
1758 if test "x$TMP" = "xalpha"; then
1759 USE_ALPHA=1
1760 cat >>confdefs.h <<\_ACEOF
1761 #define __ALPHA__ 1
1762 _ACEOF
1763
1764 fi
1765 DEFAULT_DEFAULT_wxUSE_GTK=1
1766 ;;
1767 *-*-irix5* | *-*-irix6* )
1768 USE_SGI=1
1769 USE_SVR4=1
1770 cat >>confdefs.h <<\_ACEOF
1771 #define __SGI__ 1
1772 _ACEOF
1773
1774 cat >>confdefs.h <<\_ACEOF
1775 #define __SVR4__ 1
1776 _ACEOF
1777
1778 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1779 ;;
1780 *-*-solaris2* )
1781 USE_SUN=1
1782 USE_SOLARIS=1
1783 USE_SVR4=1
1784 cat >>confdefs.h <<\_ACEOF
1785 #define __SUN__ 1
1786 _ACEOF
1787
1788 cat >>confdefs.h <<\_ACEOF
1789 #define __SOLARIS__ 1
1790 _ACEOF
1791
1792 cat >>confdefs.h <<\_ACEOF
1793 #define __SVR4__ 1
1794 _ACEOF
1795
1796 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1797 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1798 ;;
1799 *-*-sunos4* )
1800 USE_SUN=1
1801 USE_SUNOS=1
1802 USE_BSD=1
1803 cat >>confdefs.h <<\_ACEOF
1804 #define __SUN__ 1
1805 _ACEOF
1806
1807 cat >>confdefs.h <<\_ACEOF
1808 #define __SUNOS__ 1
1809 _ACEOF
1810
1811 cat >>confdefs.h <<\_ACEOF
1812 #define __BSD__ 1
1813 _ACEOF
1814
1815 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1816 ;;
1817 *-*-freebsd*)
1818 USE_BSD=1
1819 USE_FREEBSD=1
1820 cat >>confdefs.h <<\_ACEOF
1821 #define __FREEBSD__ 1
1822 _ACEOF
1823
1824 cat >>confdefs.h <<\_ACEOF
1825 #define __BSD__ 1
1826 _ACEOF
1827
1828 DEFAULT_DEFAULT_wxUSE_GTK=1
1829 ;;
1830 *-*-openbsd*)
1831 USE_BSD=1
1832 USE_OPENBSD=1
1833 cat >>confdefs.h <<\_ACEOF
1834 #define __OPENBSD__ 1
1835 _ACEOF
1836
1837 cat >>confdefs.h <<\_ACEOF
1838 #define __BSD__ 1
1839 _ACEOF
1840
1841 DEFAULT_DEFAULT_wxUSE_GTK=1
1842 ;;
1843 *-*-netbsd*)
1844 USE_BSD=1
1845 USE_NETBSD=1
1846 cat >>confdefs.h <<\_ACEOF
1847 #define __NETBSD__ 1
1848 _ACEOF
1849
1850 cat >>confdefs.h <<\_ACEOF
1851 #define __BSD__ 1
1852 _ACEOF
1853
1854 DEFAULT_DEFAULT_wxUSE_GTK=1
1855 ;;
1856 *-*-osf* )
1857 USE_ALPHA=1
1858 USE_OSF=1
1859 cat >>confdefs.h <<\_ACEOF
1860 #define __ALPHA__ 1
1861 _ACEOF
1862
1863 cat >>confdefs.h <<\_ACEOF
1864 #define __OSF__ 1
1865 _ACEOF
1866
1867 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1868 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1869 ;;
1870 *-*-dgux5* )
1871 USE_ALPHA=1
1872 USE_SVR4=1
1873 cat >>confdefs.h <<\_ACEOF
1874 #define __ALPHA__ 1
1875 _ACEOF
1876
1877 cat >>confdefs.h <<\_ACEOF
1878 #define __SVR4__ 1
1879 _ACEOF
1880
1881 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1882 ;;
1883 *-*-sysv5* )
1884 USE_SYSV=1
1885 USE_SVR4=1
1886 cat >>confdefs.h <<\_ACEOF
1887 #define __SYSV__ 1
1888 _ACEOF
1889
1890 cat >>confdefs.h <<\_ACEOF
1891 #define __SVR4__ 1
1892 _ACEOF
1893
1894 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1895 ;;
1896 *-*-aix* )
1897 USE_AIX=1
1898 USE_SYSV=1
1899 USE_SVR4=1
1900 SO_SUFFIX=a
1901 cat >>confdefs.h <<\_ACEOF
1902 #define __AIX__ 1
1903 _ACEOF
1904
1905 cat >>confdefs.h <<\_ACEOF
1906 #define __SYSV__ 1
1907 _ACEOF
1908
1909 cat >>confdefs.h <<\_ACEOF
1910 #define __SVR4__ 1
1911 _ACEOF
1912
1913 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1914 ;;
1915
1916 *-*-*UnixWare*)
1917 USE_SYSV=1
1918 USE_SVR4=1
1919 USE_UNIXWARE=1
1920 cat >>confdefs.h <<\_ACEOF
1921 #define __UNIXWARE__ 1
1922 _ACEOF
1923
1924 ;;
1925
1926 *-*-cygwin* | *-*-mingw32* )
1927 SO_SUFFIX=dll
1928 PROGRAM_EXT=".exe"
1929 RESCOMP=windres
1930 DEFAULT_DEFAULT_wxUSE_MSW=1
1931 DEFAULT_STD_FLAG=no
1932 ;;
1933
1934 *-pc-msdosdjgpp )
1935 USE_UNIX=0
1936 USE_DOS=1
1937 cat >>confdefs.h <<\_ACEOF
1938 #define __DOS__ 1
1939 _ACEOF
1940
1941 PROGRAM_EXT=".exe"
1942 DEFAULT_DEFAULT_wxUSE_MGL=1
1943 ;;
1944
1945 *-pc-os2_emx | *-pc-os2-emx )
1946 cat >>confdefs.h <<\_ACEOF
1947 #define __EMX__ 1
1948 _ACEOF
1949
1950 USE_OS2=1
1951 cat >>confdefs.h <<\_ACEOF
1952 #define __OS2__ 1
1953 _ACEOF
1954
1955 PROGRAM_EXT=".exe"
1956 DEFAULT_DEFAULT_wxUSE_PM=1
1957 CXX=gcc
1958 LDFLAGS="$LDFLAGS -Zcrtdll"
1959 ac_executable_extensions=".exe"
1960 export ac_executable_extensions
1961 ac_save_IFS="$IFS"
1962 IFS='\\'
1963 ac_TEMP_PATH=
1964 for ac_dir in $PATH; do
1965 IFS=$ac_save_IFS
1966 if test -z "$ac_TEMP_PATH"; then
1967 ac_TEMP_PATH="$ac_dir"
1968 else
1969 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1970 fi
1971 done
1972 export PATH="$ac_TEMP_PATH"
1973 unset ac_TEMP_PATH
1974 DEFAULT_STD_FLAG=no
1975 ;;
1976
1977 powerpc-*-darwin* )
1978 USE_BSD=1
1979 USE_DARWIN=1
1980 SO_SUFFIX=dylib
1981 cat >>confdefs.h <<\_ACEOF
1982 #define __BSD__ 1
1983 _ACEOF
1984
1985 cat >>confdefs.h <<\_ACEOF
1986 #define __DARWIN__ 1
1987 _ACEOF
1988
1989 cat >>confdefs.h <<\_ACEOF
1990 #define TARGET_CARBON 1
1991 _ACEOF
1992
1993 DEFAULT_DEFAULT_wxUSE_MAC=1
1994 DEFAULT_STD_FLAG=no
1995 ;;
1996 powerpc-apple-macos* )
1997 USE_UNIX=0
1998 ac_cv_c_bigendian=yes
1999 SO_SUFFIX=shlib
2000 DEFAULT_DEFAULT_wxUSE_MAC=1
2001 DEFAULT_STD_FLAG=no
2002 ;;
2003
2004 *-*-beos* )
2005 USE_BEOS=1
2006 cat >>confdefs.h <<\_ACEOF
2007 #define __BEOS__ 1
2008 _ACEOF
2009
2010 ;;
2011
2012 *)
2013 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2014 echo "$as_me: error: unknown system type ${host}." >&2;}
2015 { (exit 1); exit 1; }; }
2016 esac
2017
2018
2019
2020
2021 wx_arg_cache_file="configarg.cache"
2022 echo "loading argument cache $wx_arg_cache_file"
2023 rm -f ${wx_arg_cache_file}.tmp
2024 touch ${wx_arg_cache_file}.tmp
2025 touch ${wx_arg_cache_file}
2026
2027
2028 DEBUG_CONFIGURE=0
2029 if test $DEBUG_CONFIGURE = 1; then
2030 DEFAULT_wxUSE_UNIVERSAL=no
2031 DEFAULT_wxUSE_STL=no
2032
2033 DEFAULT_wxUSE_NANOX=no
2034
2035 DEFAULT_wxUSE_THREADS=yes
2036
2037 DEFAULT_wxUSE_SHARED=yes
2038 DEFAULT_wxUSE_OPTIMISE=no
2039 DEFAULT_wxUSE_PROFILE=no
2040 DEFAULT_wxUSE_NO_DEPS=no
2041 DEFAULT_wxUSE_NO_RTTI=no
2042 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2043 DEFAULT_wxUSE_RPATH=yes
2044 DEFAULT_wxUSE_PERMISSIVE=no
2045 DEFAULT_wxUSE_DEBUG_FLAG=yes
2046 DEFAULT_wxUSE_DEBUG_INFO=yes
2047 DEFAULT_wxUSE_DEBUG_GDB=yes
2048 DEFAULT_wxUSE_MEM_TRACING=no
2049 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2050 DEFAULT_wxUSE_DMALLOC=no
2051 DEFAULT_wxUSE_APPLE_IEEE=no
2052
2053 DEFAULT_wxUSE_EXCEPTIONS=no
2054 DEFAULT_wxUSE_LOG=yes
2055 DEFAULT_wxUSE_LOGWINDOW=no
2056 DEFAULT_wxUSE_LOGGUI=no
2057 DEFAULT_wxUSE_LOGDIALOG=no
2058
2059 DEFAULT_wxUSE_GUI=yes
2060 DEFAULT_wxUSE_CONTROLS=no
2061
2062 DEFAULT_wxUSE_REGEX=no
2063 DEFAULT_wxUSE_XML=no
2064 DEFAULT_wxUSE_EXPAT=no
2065 DEFAULT_wxUSE_ZLIB=no
2066 DEFAULT_wxUSE_LIBPNG=no
2067 DEFAULT_wxUSE_LIBJPEG=no
2068 DEFAULT_wxUSE_LIBTIFF=no
2069 DEFAULT_wxUSE_LIBXPM=no
2070 DEFAULT_wxUSE_LIBMSPACK=no
2071 DEFAULT_wxUSE_LIBSDL=no
2072 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2073 DEFAULT_wxUSE_ODBC=no
2074 DEFAULT_wxUSE_OPENGL=no
2075
2076 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2077 DEFAULT_wxUSE_STACKWALKER=no
2078 DEFAULT_wxUSE_DEBUGREPORT=no
2079 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2080 DEFAULT_wxUSE_STD_IOSTREAM=no
2081 DEFAULT_wxUSE_STD_STRING=no
2082 DEFAULT_wxUSE_CMDLINE_PARSER=no
2083 DEFAULT_wxUSE_DATETIME=no
2084 DEFAULT_wxUSE_TIMER=no
2085 DEFAULT_wxUSE_STOPWATCH=no
2086 DEFAULT_wxUSE_FILE=no
2087 DEFAULT_wxUSE_FFILE=no
2088 DEFAULT_wxUSE_STDPATHS=no
2089 DEFAULT_wxUSE_TEXTBUFFER=no
2090 DEFAULT_wxUSE_TEXTFILE=no
2091 DEFAULT_wxUSE_SOUND=no
2092 DEFAULT_wxUSE_MEDIACTRL=no
2093 DEFAULT_wxUSE_INTL=no
2094 DEFAULT_wxUSE_CONFIG=no
2095 DEFAULT_wxUSE_FONTMAP=no
2096 DEFAULT_wxUSE_STREAMS=no
2097 DEFAULT_wxUSE_SOCKETS=no
2098 DEFAULT_wxUSE_OLE=no
2099 DEFAULT_wxUSE_DATAOBJ=no
2100 DEFAULT_wxUSE_DIALUP_MANAGER=no
2101 DEFAULT_wxUSE_JOYSTICK=no
2102 DEFAULT_wxUSE_DYNLIB_CLASS=no
2103 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2104 DEFAULT_wxUSE_LONGLONG=no
2105 DEFAULT_wxUSE_GEOMETRY=no
2106
2107 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2108 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2109 DEFAULT_wxUSE_POSTSCRIPT=no
2110
2111 DEFAULT_wxUSE_CLIPBOARD=no
2112 DEFAULT_wxUSE_TOOLTIPS=no
2113 DEFAULT_wxUSE_DRAG_AND_DROP=no
2114 DEFAULT_wxUSE_DRAGIMAGE=no
2115 DEFAULT_wxUSE_SPLINES=no
2116 DEFAULT_wxUSE_MOUSEWHEEL=no
2117
2118 DEFAULT_wxUSE_MDI=no
2119 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2120 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2121 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2122
2123 DEFAULT_wxUSE_RESOURCES=no
2124 DEFAULT_wxUSE_CONSTRAINTS=no
2125 DEFAULT_wxUSE_IPC=no
2126 DEFAULT_wxUSE_HELP=no
2127 DEFAULT_wxUSE_MS_HTML_HELP=no
2128 DEFAULT_wxUSE_WXHTML_HELP=no
2129 DEFAULT_wxUSE_TREELAYOUT=no
2130 DEFAULT_wxUSE_METAFILE=no
2131 DEFAULT_wxUSE_MIMETYPE=no
2132 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2133 DEFAULT_wxUSE_PROTOCOL=no
2134 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2135 DEFAULT_wxUSE_PROTOCOL_FTP=no
2136 DEFAULT_wxUSE_PROTOCOL_FILE=no
2137 DEFAULT_wxUSE_URL=no
2138
2139 DEFAULT_wxUSE_COMMONDLGS=no
2140 DEFAULT_wxUSE_CHOICEDLG=no
2141 DEFAULT_wxUSE_COLOURDLG=no
2142 DEFAULT_wxUSE_DIRDLG=no
2143 DEFAULT_wxUSE_FILEDLG=no
2144 DEFAULT_wxUSE_FINDREPLDLG=no
2145 DEFAULT_wxUSE_FONTDLG=no
2146 DEFAULT_wxUSE_MSGDLG=no
2147 DEFAULT_wxUSE_NUMBERDLG=no
2148 DEFAULT_wxUSE_TEXTDLG=no
2149 DEFAULT_wxUSE_SPLASH=no
2150 DEFAULT_wxUSE_STARTUP_TIPS=no
2151 DEFAULT_wxUSE_PROGRESSDLG=no
2152 DEFAULT_wxUSE_WIZARDDLG=no
2153
2154 DEFAULT_wxUSE_MENUS=no
2155 DEFAULT_wxUSE_MINIFRAME=no
2156 DEFAULT_wxUSE_HTML=no
2157 DEFAULT_wxUSE_XRC=no
2158 DEFAULT_wxUSE_WEBKIT=no
2159 DEFAULT_wxUSE_FILESYSTEM=no
2160 DEFAULT_wxUSE_FS_INET=no
2161 DEFAULT_wxUSE_FS_ZIP=no
2162 DEFAULT_wxUSE_BUSYINFO=no
2163 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2164 DEFAULT_wxUSE_ZIPSTREAM=no
2165 DEFAULT_wxUSE_VALIDATORS=no
2166
2167 DEFAULT_wxUSE_ACCEL=no
2168 DEFAULT_wxUSE_BUTTON=no
2169 DEFAULT_wxUSE_BMPBUTTON=no
2170 DEFAULT_wxUSE_CALCTRL=no
2171 DEFAULT_wxUSE_CARET=no
2172 DEFAULT_wxUSE_CHECKBOX=no
2173 DEFAULT_wxUSE_CHECKLST=no
2174 DEFAULT_wxUSE_CHOICE=no
2175 DEFAULT_wxUSE_CHOICEBOOK=no
2176 DEFAULT_wxUSE_COMBOBOX=no
2177 DEFAULT_wxUSE_DATEPICKCTRL=no
2178 DEFAULT_wxUSE_DISPLAY=no
2179 DEFAULT_wxUSE_GAUGE=no
2180 DEFAULT_wxUSE_GRID=no
2181 DEFAULT_wxUSE_IMAGLIST=no
2182 DEFAULT_wxUSE_LISTBOOK=no
2183 DEFAULT_wxUSE_LISTBOX=no
2184 DEFAULT_wxUSE_LISTCTRL=no
2185 DEFAULT_wxUSE_NOTEBOOK=no
2186 DEFAULT_wxUSE_RADIOBOX=no
2187 DEFAULT_wxUSE_RADIOBTN=no
2188 DEFAULT_wxUSE_SASH=no
2189 DEFAULT_wxUSE_SCROLLBAR=no
2190 DEFAULT_wxUSE_SLIDER=no
2191 DEFAULT_wxUSE_SPINBTN=no
2192 DEFAULT_wxUSE_SPINCTRL=no
2193 DEFAULT_wxUSE_SPLITTER=no
2194 DEFAULT_wxUSE_STATBMP=no
2195 DEFAULT_wxUSE_STATBOX=no
2196 DEFAULT_wxUSE_STATLINE=no
2197 DEFAULT_wxUSE_STATTEXT=no
2198 DEFAULT_wxUSE_STATUSBAR=yes
2199 DEFAULT_wxUSE_TABDIALOG=no
2200 DEFAULT_wxUSE_TEXTCTRL=no
2201 DEFAULT_wxUSE_TOGGLEBTN=no
2202 DEFAULT_wxUSE_TOOLBAR=no
2203 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2204 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2205 DEFAULT_wxUSE_TREECTRL=no
2206 DEFAULT_wxUSE_POPUPWIN=no
2207 DEFAULT_wxUSE_TIPWINDOW=no
2208
2209 DEFAULT_wxUSE_UNICODE=no
2210 DEFAULT_wxUSE_UNICODE_MSLU=no
2211 DEFAULT_wxUSE_WCSRTOMBS=no
2212
2213 DEFAULT_wxUSE_PALETTE=no
2214 DEFAULT_wxUSE_IMAGE=no
2215 DEFAULT_wxUSE_GIF=no
2216 DEFAULT_wxUSE_PCX=no
2217 DEFAULT_wxUSE_PNM=no
2218 DEFAULT_wxUSE_IFF=no
2219 DEFAULT_wxUSE_XPM=no
2220 DEFAULT_wxUSE_ICO_CUR=no
2221 DEFAULT_wxUSE_ACCESSIBILITY=no
2222
2223 DEFAULT_wxUSE_MONOLITHIC=no
2224 DEFAULT_wxUSE_PLUGINS=no
2225 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2226 else
2227 DEFAULT_wxUSE_UNIVERSAL=no
2228 DEFAULT_wxUSE_STL=no
2229
2230 DEFAULT_wxUSE_NANOX=no
2231
2232 DEFAULT_wxUSE_THREADS=yes
2233
2234 DEFAULT_wxUSE_SHARED=yes
2235 DEFAULT_wxUSE_OPTIMISE=yes
2236 DEFAULT_wxUSE_PROFILE=no
2237 DEFAULT_wxUSE_NO_DEPS=no
2238 DEFAULT_wxUSE_NO_RTTI=no
2239 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2240 DEFAULT_wxUSE_RPATH=yes
2241 DEFAULT_wxUSE_PERMISSIVE=no
2242 DEFAULT_wxUSE_DEBUG_FLAG=no
2243 DEFAULT_wxUSE_DEBUG_INFO=no
2244 DEFAULT_wxUSE_DEBUG_GDB=no
2245 DEFAULT_wxUSE_MEM_TRACING=no
2246 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2247 DEFAULT_wxUSE_DMALLOC=no
2248 DEFAULT_wxUSE_APPLE_IEEE=yes
2249
2250 DEFAULT_wxUSE_EXCEPTIONS=yes
2251 DEFAULT_wxUSE_LOG=yes
2252 DEFAULT_wxUSE_LOGWINDOW=yes
2253 DEFAULT_wxUSE_LOGGUI=yes
2254 DEFAULT_wxUSE_LOGDIALOG=yes
2255
2256 DEFAULT_wxUSE_GUI=yes
2257
2258 DEFAULT_wxUSE_REGEX=yes
2259 DEFAULT_wxUSE_XML=yes
2260 DEFAULT_wxUSE_EXPAT=yes
2261 DEFAULT_wxUSE_ZLIB=yes
2262 DEFAULT_wxUSE_LIBPNG=yes
2263 DEFAULT_wxUSE_LIBJPEG=yes
2264 DEFAULT_wxUSE_LIBTIFF=yes
2265 DEFAULT_wxUSE_LIBXPM=yes
2266 DEFAULT_wxUSE_LIBMSPACK=yes
2267 DEFAULT_wxUSE_LIBSDL=no
2268 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2269 DEFAULT_wxUSE_ODBC=no
2270 DEFAULT_wxUSE_OPENGL=no
2271
2272 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2273 DEFAULT_wxUSE_STACKWALKER=yes
2274 DEFAULT_wxUSE_DEBUGREPORT=yes
2275 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2276 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2277 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2278 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2279 DEFAULT_wxUSE_DATETIME=yes
2280 DEFAULT_wxUSE_TIMER=yes
2281 DEFAULT_wxUSE_STOPWATCH=yes
2282 DEFAULT_wxUSE_FILE=yes
2283 DEFAULT_wxUSE_FFILE=yes
2284 DEFAULT_wxUSE_STDPATHS=yes
2285 DEFAULT_wxUSE_TEXTBUFFER=yes
2286 DEFAULT_wxUSE_TEXTFILE=yes
2287 DEFAULT_wxUSE_SOUND=yes
2288 DEFAULT_wxUSE_MEDIACTRL=no
2289 DEFAULT_wxUSE_INTL=yes
2290 DEFAULT_wxUSE_CONFIG=yes
2291 DEFAULT_wxUSE_FONTMAP=yes
2292 DEFAULT_wxUSE_STREAMS=yes
2293 DEFAULT_wxUSE_SOCKETS=yes
2294 DEFAULT_wxUSE_OLE=yes
2295 DEFAULT_wxUSE_DATAOBJ=yes
2296 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2297 DEFAULT_wxUSE_JOYSTICK=yes
2298 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2299 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2300 DEFAULT_wxUSE_LONGLONG=yes
2301 DEFAULT_wxUSE_GEOMETRY=yes
2302
2303 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2304 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2305 DEFAULT_wxUSE_POSTSCRIPT=yes
2306
2307 DEFAULT_wxUSE_CLIPBOARD=yes
2308 DEFAULT_wxUSE_TOOLTIPS=yes
2309 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2310 DEFAULT_wxUSE_DRAGIMAGE=yes
2311 DEFAULT_wxUSE_SPLINES=yes
2312 DEFAULT_wxUSE_MOUSEWHEEL=yes
2313
2314 DEFAULT_wxUSE_MDI=yes
2315 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2316 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2317 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2318
2319 DEFAULT_wxUSE_RESOURCES=no
2320 DEFAULT_wxUSE_CONSTRAINTS=yes
2321 DEFAULT_wxUSE_IPC=yes
2322 DEFAULT_wxUSE_HELP=yes
2323 DEFAULT_wxUSE_MS_HTML_HELP=yes
2324 DEFAULT_wxUSE_WXHTML_HELP=yes
2325 DEFAULT_wxUSE_TREELAYOUT=yes
2326 DEFAULT_wxUSE_METAFILE=yes
2327 DEFAULT_wxUSE_MIMETYPE=yes
2328 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2329 DEFAULT_wxUSE_PROTOCOL=yes
2330 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2331 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2332 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2333 DEFAULT_wxUSE_URL=yes
2334
2335 DEFAULT_wxUSE_COMMONDLGS=yes
2336 DEFAULT_wxUSE_CHOICEDLG=yes
2337 DEFAULT_wxUSE_COLOURDLG=yes
2338 DEFAULT_wxUSE_DIRDLG=yes
2339 DEFAULT_wxUSE_FILEDLG=yes
2340 DEFAULT_wxUSE_FINDREPLDLG=yes
2341 DEFAULT_wxUSE_FONTDLG=yes
2342 DEFAULT_wxUSE_MSGDLG=yes
2343 DEFAULT_wxUSE_NUMBERDLG=yes
2344 DEFAULT_wxUSE_TEXTDLG=yes
2345 DEFAULT_wxUSE_SPLASH=yes
2346 DEFAULT_wxUSE_STARTUP_TIPS=yes
2347 DEFAULT_wxUSE_PROGRESSDLG=yes
2348 DEFAULT_wxUSE_WIZARDDLG=yes
2349
2350 DEFAULT_wxUSE_MENUS=yes
2351 DEFAULT_wxUSE_MINIFRAME=yes
2352 DEFAULT_wxUSE_HTML=yes
2353 DEFAULT_wxUSE_XRC=yes
2354 DEFAULT_wxUSE_WEBKIT=yes
2355 DEFAULT_wxUSE_FILESYSTEM=yes
2356 DEFAULT_wxUSE_FS_INET=yes
2357 DEFAULT_wxUSE_FS_ZIP=yes
2358 DEFAULT_wxUSE_BUSYINFO=yes
2359 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2360 DEFAULT_wxUSE_ZIPSTREAM=yes
2361 DEFAULT_wxUSE_VALIDATORS=yes
2362
2363 DEFAULT_wxUSE_ACCEL=yes
2364 DEFAULT_wxUSE_BUTTON=yes
2365 DEFAULT_wxUSE_BMPBUTTON=yes
2366 DEFAULT_wxUSE_CALCTRL=yes
2367 DEFAULT_wxUSE_CARET=yes
2368 DEFAULT_wxUSE_CHECKBOX=yes
2369 DEFAULT_wxUSE_CHECKLST=yes
2370 DEFAULT_wxUSE_CHOICE=yes
2371 DEFAULT_wxUSE_CHOICEBOOK=yes
2372 DEFAULT_wxUSE_COMBOBOX=yes
2373 DEFAULT_wxUSE_DATEPICKCTRL=yes
2374 DEFAULT_wxUSE_DISPLAY=yes
2375 DEFAULT_wxUSE_GAUGE=yes
2376 DEFAULT_wxUSE_GRID=yes
2377 DEFAULT_wxUSE_IMAGLIST=yes
2378 DEFAULT_wxUSE_LISTBOOK=yes
2379 DEFAULT_wxUSE_LISTBOX=yes
2380 DEFAULT_wxUSE_LISTCTRL=yes
2381 DEFAULT_wxUSE_NOTEBOOK=yes
2382 DEFAULT_wxUSE_RADIOBOX=yes
2383 DEFAULT_wxUSE_RADIOBTN=yes
2384 DEFAULT_wxUSE_SASH=yes
2385 DEFAULT_wxUSE_SCROLLBAR=yes
2386 DEFAULT_wxUSE_SLIDER=yes
2387 DEFAULT_wxUSE_SPINBTN=yes
2388 DEFAULT_wxUSE_SPINCTRL=yes
2389 DEFAULT_wxUSE_SPLITTER=yes
2390 DEFAULT_wxUSE_STATBMP=yes
2391 DEFAULT_wxUSE_STATBOX=yes
2392 DEFAULT_wxUSE_STATLINE=yes
2393 DEFAULT_wxUSE_STATTEXT=yes
2394 DEFAULT_wxUSE_STATUSBAR=yes
2395 DEFAULT_wxUSE_TABDIALOG=no
2396 DEFAULT_wxUSE_TEXTCTRL=yes
2397 DEFAULT_wxUSE_TOGGLEBTN=yes
2398 DEFAULT_wxUSE_TOOLBAR=yes
2399 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2400 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2401 DEFAULT_wxUSE_TREECTRL=yes
2402 DEFAULT_wxUSE_POPUPWIN=yes
2403 DEFAULT_wxUSE_TIPWINDOW=yes
2404
2405 DEFAULT_wxUSE_UNICODE=no
2406 DEFAULT_wxUSE_UNICODE_MSLU=yes
2407 DEFAULT_wxUSE_WCSRTOMBS=no
2408
2409 DEFAULT_wxUSE_PALETTE=yes
2410 DEFAULT_wxUSE_IMAGE=yes
2411 DEFAULT_wxUSE_GIF=yes
2412 DEFAULT_wxUSE_PCX=yes
2413 DEFAULT_wxUSE_IFF=no
2414 DEFAULT_wxUSE_PNM=yes
2415 DEFAULT_wxUSE_XPM=yes
2416 DEFAULT_wxUSE_ICO_CUR=yes
2417 DEFAULT_wxUSE_ACCESSIBILITY=no
2418
2419 DEFAULT_wxUSE_MONOLITHIC=no
2420 DEFAULT_wxUSE_PLUGINS=no
2421 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2422
2423 DEFAULT_wxUSE_GTK2=yes
2424 fi
2425
2426
2427
2428
2429 for toolkit in `echo $ALL_TOOLKITS`; do
2430 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2431 if test "x$LINE" != "x" ; then
2432 has_toolkit_in_cache=1
2433 eval "DEFAULT_$LINE"
2434 eval "CACHE_$toolkit=1"
2435
2436 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2437 if test "x$LINE" != "x" ; then
2438 eval "DEFAULT_$LINE"
2439 fi
2440 fi
2441 done
2442
2443
2444
2445 enablestring=
2446 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2447 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2448 no_cache=0
2449 # Check whether --enable-gui or --disable-gui was given.
2450 if test "${enable_gui+set}" = set; then
2451 enableval="$enable_gui"
2452
2453 if test "$enableval" = yes; then
2454 ac_cv_use_gui='wxUSE_GUI=yes'
2455 else
2456 ac_cv_use_gui='wxUSE_GUI=no'
2457 fi
2458
2459 else
2460
2461 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2462 if test "x$LINE" != x ; then
2463 eval "DEFAULT_$LINE"
2464 else
2465 no_cache=1
2466 fi
2467
2468 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2469
2470 fi;
2471
2472 eval "$ac_cv_use_gui"
2473 if test "$no_cache" != 1; then
2474 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2475 fi
2476
2477 if test "$wxUSE_GUI" = yes; then
2478 echo "$as_me:$LINENO: result: yes" >&5
2479 echo "${ECHO_T}yes" >&6
2480 else
2481 echo "$as_me:$LINENO: result: no" >&5
2482 echo "${ECHO_T}no" >&6
2483 fi
2484
2485
2486 enablestring=
2487 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2488 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2489 no_cache=0
2490 # Check whether --enable-monolithic or --disable-monolithic was given.
2491 if test "${enable_monolithic+set}" = set; then
2492 enableval="$enable_monolithic"
2493
2494 if test "$enableval" = yes; then
2495 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2496 else
2497 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2498 fi
2499
2500 else
2501
2502 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2503 if test "x$LINE" != x ; then
2504 eval "DEFAULT_$LINE"
2505 else
2506 no_cache=1
2507 fi
2508
2509 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2510
2511 fi;
2512
2513 eval "$ac_cv_use_monolithic"
2514 if test "$no_cache" != 1; then
2515 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2516 fi
2517
2518 if test "$wxUSE_MONOLITHIC" = yes; then
2519 echo "$as_me:$LINENO: result: yes" >&5
2520 echo "${ECHO_T}yes" >&6
2521 else
2522 echo "$as_me:$LINENO: result: no" >&5
2523 echo "${ECHO_T}no" >&6
2524 fi
2525
2526
2527 enablestring=
2528 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2529 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2530 no_cache=0
2531 # Check whether --enable-plugins or --disable-plugins was given.
2532 if test "${enable_plugins+set}" = set; then
2533 enableval="$enable_plugins"
2534
2535 if test "$enableval" = yes; then
2536 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2537 else
2538 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2539 fi
2540
2541 else
2542
2543 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2544 if test "x$LINE" != x ; then
2545 eval "DEFAULT_$LINE"
2546 else
2547 no_cache=1
2548 fi
2549
2550 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2551
2552 fi;
2553
2554 eval "$ac_cv_use_plugins"
2555 if test "$no_cache" != 1; then
2556 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2557 fi
2558
2559 if test "$wxUSE_PLUGINS" = yes; then
2560 echo "$as_me:$LINENO: result: yes" >&5
2561 echo "${ECHO_T}yes" >&6
2562 else
2563 echo "$as_me:$LINENO: result: no" >&5
2564 echo "${ECHO_T}no" >&6
2565 fi
2566
2567
2568 if test "$wxUSE_GUI" = "yes"; then
2569
2570
2571 enablestring=
2572 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2573 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2574 no_cache=0
2575 # Check whether --enable-universal or --disable-universal was given.
2576 if test "${enable_universal+set}" = set; then
2577 enableval="$enable_universal"
2578
2579 if test "$enableval" = yes; then
2580 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2581 else
2582 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2583 fi
2584
2585 else
2586
2587 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2588 if test "x$LINE" != x ; then
2589 eval "DEFAULT_$LINE"
2590 else
2591 no_cache=1
2592 fi
2593
2594 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2595
2596 fi;
2597
2598 eval "$ac_cv_use_universal"
2599 if test "$no_cache" != 1; then
2600 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2601 fi
2602
2603 if test "$wxUSE_UNIVERSAL" = yes; then
2604 echo "$as_me:$LINENO: result: yes" >&5
2605 echo "${ECHO_T}yes" >&6
2606 else
2607 echo "$as_me:$LINENO: result: no" >&5
2608 echo "${ECHO_T}no" >&6
2609 fi
2610
2611
2612 # Check whether --with-gtk or --without-gtk was given.
2613 if test "${with_gtk+set}" = set; then
2614 withval="$with_gtk"
2615 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2616 fi;
2617
2618 # Check whether --with-motif or --without-motif was given.
2619 if test "${with_motif+set}" = set; then
2620 withval="$with_motif"
2621 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2622 fi;
2623
2624 # Check whether --with-mac or --without-mac was given.
2625 if test "${with_mac+set}" = set; then
2626 withval="$with_mac"
2627 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2628 fi;
2629
2630 # Check whether --with-cocoa or --without-cocoa was given.
2631 if test "${with_cocoa+set}" = set; then
2632 withval="$with_cocoa"
2633 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2634 fi;
2635
2636 # Check whether --with-wine or --without-wine was given.
2637 if test "${with_wine+set}" = set; then
2638 withval="$with_wine"
2639 wxUSE_WINE="$withval" CACHE_WINE=1
2640 fi;
2641
2642 # Check whether --with-msw or --without-msw was given.
2643 if test "${with_msw+set}" = set; then
2644 withval="$with_msw"
2645 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2646 fi;
2647
2648 # Check whether --with-pm or --without-pm was given.
2649 if test "${with_pm+set}" = set; then
2650 withval="$with_pm"
2651 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2652 fi;
2653
2654 # Check whether --with-mgl or --without-mgl was given.
2655 if test "${with_mgl+set}" = set; then
2656 withval="$with_mgl"
2657 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2658 fi;
2659
2660 # Check whether --with-microwin or --without-microwin was given.
2661 if test "${with_microwin+set}" = set; then
2662 withval="$with_microwin"
2663 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2664 fi;
2665
2666 # Check whether --with-x11 or --without-x11 was given.
2667 if test "${with_x11+set}" = set; then
2668 withval="$with_x11"
2669 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2670 fi;
2671
2672 enablestring=
2673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2674 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2675 no_cache=0
2676 # Check whether --enable-nanox or --disable-nanox was given.
2677 if test "${enable_nanox+set}" = set; then
2678 enableval="$enable_nanox"
2679
2680 if test "$enableval" = yes; then
2681 ac_cv_use_nanox='wxUSE_NANOX=yes'
2682 else
2683 ac_cv_use_nanox='wxUSE_NANOX=no'
2684 fi
2685
2686 else
2687
2688 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2689 if test "x$LINE" != x ; then
2690 eval "DEFAULT_$LINE"
2691 else
2692 no_cache=1
2693 fi
2694
2695 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2696
2697 fi;
2698
2699 eval "$ac_cv_use_nanox"
2700 if test "$no_cache" != 1; then
2701 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2702 fi
2703
2704 if test "$wxUSE_NANOX" = yes; then
2705 echo "$as_me:$LINENO: result: yes" >&5
2706 echo "${ECHO_T}yes" >&6
2707 else
2708 echo "$as_me:$LINENO: result: no" >&5
2709 echo "${ECHO_T}no" >&6
2710 fi
2711
2712
2713 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2714 if test "${enable_gtk2+set}" = set; then
2715 enableval="$enable_gtk2"
2716 wxUSE_GTK2="$enableval"
2717 fi;
2718
2719 enablestring=
2720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2721 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2722 no_cache=0
2723 # Check whether --enable-gpe or --disable-gpe was given.
2724 if test "${enable_gpe+set}" = set; then
2725 enableval="$enable_gpe"
2726
2727 if test "$enableval" = yes; then
2728 ac_cv_use_gpe='wxUSE_GPE=yes'
2729 else
2730 ac_cv_use_gpe='wxUSE_GPE=no'
2731 fi
2732
2733 else
2734
2735 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2736 if test "x$LINE" != x ; then
2737 eval "DEFAULT_$LINE"
2738 else
2739 no_cache=1
2740 fi
2741
2742 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2743
2744 fi;
2745
2746 eval "$ac_cv_use_gpe"
2747 if test "$no_cache" != 1; then
2748 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2749 fi
2750
2751 if test "$wxUSE_GPE" = yes; then
2752 echo "$as_me:$LINENO: result: yes" >&5
2753 echo "${ECHO_T}yes" >&6
2754 else
2755 echo "$as_me:$LINENO: result: no" >&5
2756 echo "${ECHO_T}no" >&6
2757 fi
2758
2759
2760
2761 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2762 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2763 no_cache=0
2764
2765 # Check whether --with-libpng or --without-libpng was given.
2766 if test "${with_libpng+set}" = set; then
2767 withval="$with_libpng"
2768
2769 if test "$withval" = yes; then
2770 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2771 elif test "$withval" = no; then
2772 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2773 elif test "$withval" = sys; then
2774 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2775 elif test "$withval" = builtin; then
2776 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2777 else
2778 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2779 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2780 { (exit 1); exit 1; }; }
2781 fi
2782
2783 else
2784
2785 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2786 if test "x$LINE" != x ; then
2787 eval "DEFAULT_$LINE"
2788 else
2789 no_cache=1
2790 fi
2791
2792 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2793
2794 fi;
2795
2796 eval "$ac_cv_use_libpng"
2797 if test "$no_cache" != 1; then
2798 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2799 fi
2800
2801 if test "$wxUSE_LIBPNG" = yes; then
2802 echo "$as_me:$LINENO: result: yes" >&5
2803 echo "${ECHO_T}yes" >&6
2804 elif test "$wxUSE_LIBPNG" = no; then
2805 echo "$as_me:$LINENO: result: no" >&5
2806 echo "${ECHO_T}no" >&6
2807 elif test "$wxUSE_LIBPNG" = sys; then
2808 echo "$as_me:$LINENO: result: system version" >&5
2809 echo "${ECHO_T}system version" >&6
2810 elif test "$wxUSE_LIBPNG" = builtin; then
2811 echo "$as_me:$LINENO: result: builtin version" >&5
2812 echo "${ECHO_T}builtin version" >&6
2813 else
2814 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2815 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2816 { (exit 1); exit 1; }; }
2817 fi
2818
2819
2820 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2821 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2822 no_cache=0
2823
2824 # Check whether --with-libjpeg or --without-libjpeg was given.
2825 if test "${with_libjpeg+set}" = set; then
2826 withval="$with_libjpeg"
2827
2828 if test "$withval" = yes; then
2829 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2830 elif test "$withval" = no; then
2831 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2832 elif test "$withval" = sys; then
2833 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2834 elif test "$withval" = builtin; then
2835 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2836 else
2837 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2838 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2839 { (exit 1); exit 1; }; }
2840 fi
2841
2842 else
2843
2844 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2845 if test "x$LINE" != x ; then
2846 eval "DEFAULT_$LINE"
2847 else
2848 no_cache=1
2849 fi
2850
2851 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2852
2853 fi;
2854
2855 eval "$ac_cv_use_libjpeg"
2856 if test "$no_cache" != 1; then
2857 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2858 fi
2859
2860 if test "$wxUSE_LIBJPEG" = yes; then
2861 echo "$as_me:$LINENO: result: yes" >&5
2862 echo "${ECHO_T}yes" >&6
2863 elif test "$wxUSE_LIBJPEG" = no; then
2864 echo "$as_me:$LINENO: result: no" >&5
2865 echo "${ECHO_T}no" >&6
2866 elif test "$wxUSE_LIBJPEG" = sys; then
2867 echo "$as_me:$LINENO: result: system version" >&5
2868 echo "${ECHO_T}system version" >&6
2869 elif test "$wxUSE_LIBJPEG" = builtin; then
2870 echo "$as_me:$LINENO: result: builtin version" >&5
2871 echo "${ECHO_T}builtin version" >&6
2872 else
2873 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2874 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2875 { (exit 1); exit 1; }; }
2876 fi
2877
2878
2879 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2880 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2881 no_cache=0
2882
2883 # Check whether --with-libtiff or --without-libtiff was given.
2884 if test "${with_libtiff+set}" = set; then
2885 withval="$with_libtiff"
2886
2887 if test "$withval" = yes; then
2888 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2889 elif test "$withval" = no; then
2890 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2891 elif test "$withval" = sys; then
2892 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2893 elif test "$withval" = builtin; then
2894 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2895 else
2896 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2897 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2898 { (exit 1); exit 1; }; }
2899 fi
2900
2901 else
2902
2903 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2904 if test "x$LINE" != x ; then
2905 eval "DEFAULT_$LINE"
2906 else
2907 no_cache=1
2908 fi
2909
2910 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2911
2912 fi;
2913
2914 eval "$ac_cv_use_libtiff"
2915 if test "$no_cache" != 1; then
2916 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2917 fi
2918
2919 if test "$wxUSE_LIBTIFF" = yes; then
2920 echo "$as_me:$LINENO: result: yes" >&5
2921 echo "${ECHO_T}yes" >&6
2922 elif test "$wxUSE_LIBTIFF" = no; then
2923 echo "$as_me:$LINENO: result: no" >&5
2924 echo "${ECHO_T}no" >&6
2925 elif test "$wxUSE_LIBTIFF" = sys; then
2926 echo "$as_me:$LINENO: result: system version" >&5
2927 echo "${ECHO_T}system version" >&6
2928 elif test "$wxUSE_LIBTIFF" = builtin; then
2929 echo "$as_me:$LINENO: result: builtin version" >&5
2930 echo "${ECHO_T}builtin version" >&6
2931 else
2932 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2933 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2934 { (exit 1); exit 1; }; }
2935 fi
2936
2937
2938 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2939 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2940 no_cache=0
2941
2942 # Check whether --with-libxpm or --without-libxpm was given.
2943 if test "${with_libxpm+set}" = set; then
2944 withval="$with_libxpm"
2945
2946 if test "$withval" = yes; then
2947 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
2948 elif test "$withval" = no; then
2949 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
2950 elif test "$withval" = sys; then
2951 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
2952 elif test "$withval" = builtin; then
2953 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
2954 else
2955 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2956 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2957 { (exit 1); exit 1; }; }
2958 fi
2959
2960 else
2961
2962 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2963 if test "x$LINE" != x ; then
2964 eval "DEFAULT_$LINE"
2965 else
2966 no_cache=1
2967 fi
2968
2969 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2970
2971 fi;
2972
2973 eval "$ac_cv_use_libxpm"
2974 if test "$no_cache" != 1; then
2975 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2976 fi
2977
2978 if test "$wxUSE_LIBXPM" = yes; then
2979 echo "$as_me:$LINENO: result: yes" >&5
2980 echo "${ECHO_T}yes" >&6
2981 elif test "$wxUSE_LIBXPM" = no; then
2982 echo "$as_me:$LINENO: result: no" >&5
2983 echo "${ECHO_T}no" >&6
2984 elif test "$wxUSE_LIBXPM" = sys; then
2985 echo "$as_me:$LINENO: result: system version" >&5
2986 echo "${ECHO_T}system version" >&6
2987 elif test "$wxUSE_LIBXPM" = builtin; then
2988 echo "$as_me:$LINENO: result: builtin version" >&5
2989 echo "${ECHO_T}builtin version" >&6
2990 else
2991 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2992 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2993 { (exit 1); exit 1; }; }
2994 fi
2995
2996
2997 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
2998 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
2999 no_cache=0
3000
3001 # Check whether --with-libmspack or --without-libmspack was given.
3002 if test "${with_libmspack+set}" = set; then
3003 withval="$with_libmspack"
3004
3005 if test "$withval" = yes; then
3006 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3007 else
3008 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3009 fi
3010
3011 else
3012
3013 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3014 if test "x$LINE" != x ; then
3015 eval "DEFAULT_$LINE"
3016 else
3017 no_cache=1
3018 fi
3019
3020 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3021
3022 fi;
3023
3024 eval "$ac_cv_use_libmspack"
3025 if test "$no_cache" != 1; then
3026 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3027 fi
3028
3029 if test "$wxUSE_LIBMSPACK" = yes; then
3030 echo "$as_me:$LINENO: result: yes" >&5
3031 echo "${ECHO_T}yes" >&6
3032 else
3033 echo "$as_me:$LINENO: result: no" >&5
3034 echo "${ECHO_T}no" >&6
3035 fi
3036
3037
3038 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3039 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3040 no_cache=0
3041
3042 # Check whether --with-sdl or --without-sdl was given.
3043 if test "${with_sdl+set}" = set; then
3044 withval="$with_sdl"
3045
3046 if test "$withval" = yes; then
3047 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3048 else
3049 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3050 fi
3051
3052 else
3053
3054 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3055 if test "x$LINE" != x ; then
3056 eval "DEFAULT_$LINE"
3057 else
3058 no_cache=1
3059 fi
3060
3061 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3062
3063 fi;
3064
3065 eval "$ac_cv_use_sdl"
3066 if test "$no_cache" != 1; then
3067 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3068 fi
3069
3070 if test "$wxUSE_LIBSDL" = yes; then
3071 echo "$as_me:$LINENO: result: yes" >&5
3072 echo "${ECHO_T}yes" >&6
3073 else
3074 echo "$as_me:$LINENO: result: no" >&5
3075 echo "${ECHO_T}no" >&6
3076 fi
3077
3078
3079 echo "$as_me:$LINENO: checking for --with-gnomeprint" >&5
3080 echo $ECHO_N "checking for --with-gnomeprint... $ECHO_C" >&6
3081 no_cache=0
3082
3083 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3084 if test "${with_gnomeprint+set}" = set; then
3085 withval="$with_gnomeprint"
3086
3087 if test "$withval" = yes; then
3088 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3089 else
3090 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3091 fi
3092
3093 else
3094
3095 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3096 if test "x$LINE" != x ; then
3097 eval "DEFAULT_$LINE"
3098 else
3099 no_cache=1
3100 fi
3101
3102 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3103
3104 fi;
3105
3106 eval "$ac_cv_use_gnomeprint"
3107 if test "$no_cache" != 1; then
3108 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3109 fi
3110
3111 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3112 echo "$as_me:$LINENO: result: yes" >&5
3113 echo "${ECHO_T}yes" >&6
3114 else
3115 echo "$as_me:$LINENO: result: no" >&5
3116 echo "${ECHO_T}no" >&6
3117 fi
3118
3119
3120 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3121 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3122 no_cache=0
3123
3124 # Check whether --with-opengl or --without-opengl was given.
3125 if test "${with_opengl+set}" = set; then
3126 withval="$with_opengl"
3127
3128 if test "$withval" = yes; then
3129 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3130 else
3131 ac_cv_use_opengl='wxUSE_OPENGL=no'
3132 fi
3133
3134 else
3135
3136 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3137 if test "x$LINE" != x ; then
3138 eval "DEFAULT_$LINE"
3139 else
3140 no_cache=1
3141 fi
3142
3143 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3144
3145 fi;
3146
3147 eval "$ac_cv_use_opengl"
3148 if test "$no_cache" != 1; then
3149 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3150 fi
3151
3152 if test "$wxUSE_OPENGL" = yes; then
3153 echo "$as_me:$LINENO: result: yes" >&5
3154 echo "${ECHO_T}yes" >&6
3155 else
3156 echo "$as_me:$LINENO: result: no" >&5
3157 echo "${ECHO_T}no" >&6
3158 fi
3159
3160
3161 fi
3162
3163
3164 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3165 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3166 no_cache=0
3167
3168 # Check whether --with-dmalloc or --without-dmalloc was given.
3169 if test "${with_dmalloc+set}" = set; then
3170 withval="$with_dmalloc"
3171
3172 if test "$withval" = yes; then
3173 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3174 else
3175 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3176 fi
3177
3178 else
3179
3180 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3181 if test "x$LINE" != x ; then
3182 eval "DEFAULT_$LINE"
3183 else
3184 no_cache=1
3185 fi
3186
3187 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3188
3189 fi;
3190
3191 eval "$ac_cv_use_dmalloc"
3192 if test "$no_cache" != 1; then
3193 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3194 fi
3195
3196 if test "$wxUSE_DMALLOC" = yes; then
3197 echo "$as_me:$LINENO: result: yes" >&5
3198 echo "${ECHO_T}yes" >&6
3199 else
3200 echo "$as_me:$LINENO: result: no" >&5
3201 echo "${ECHO_T}no" >&6
3202 fi
3203
3204
3205 echo "$as_me:$LINENO: checking for --with-regex" >&5
3206 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3207 no_cache=0
3208
3209 # Check whether --with-regex or --without-regex was given.
3210 if test "${with_regex+set}" = set; then
3211 withval="$with_regex"
3212
3213 if test "$withval" = yes; then
3214 ac_cv_use_regex='wxUSE_REGEX=yes'
3215 elif test "$withval" = no; then
3216 ac_cv_use_regex='wxUSE_REGEX=no'
3217 elif test "$withval" = sys; then
3218 ac_cv_use_regex='wxUSE_REGEX=sys'
3219 elif test "$withval" = builtin; then
3220 ac_cv_use_regex='wxUSE_REGEX=builtin'
3221 else
3222 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3223 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3224 { (exit 1); exit 1; }; }
3225 fi
3226
3227 else
3228
3229 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3230 if test "x$LINE" != x ; then
3231 eval "DEFAULT_$LINE"
3232 else
3233 no_cache=1
3234 fi
3235
3236 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3237
3238 fi;
3239
3240 eval "$ac_cv_use_regex"
3241 if test "$no_cache" != 1; then
3242 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3243 fi
3244
3245 if test "$wxUSE_REGEX" = yes; then
3246 echo "$as_me:$LINENO: result: yes" >&5
3247 echo "${ECHO_T}yes" >&6
3248 elif test "$wxUSE_REGEX" = no; then
3249 echo "$as_me:$LINENO: result: no" >&5
3250 echo "${ECHO_T}no" >&6
3251 elif test "$wxUSE_REGEX" = sys; then
3252 echo "$as_me:$LINENO: result: system version" >&5
3253 echo "${ECHO_T}system version" >&6
3254 elif test "$wxUSE_REGEX" = builtin; then
3255 echo "$as_me:$LINENO: result: builtin version" >&5
3256 echo "${ECHO_T}builtin version" >&6
3257 else
3258 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3259 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3260 { (exit 1); exit 1; }; }
3261 fi
3262
3263
3264 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3265 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3266 no_cache=0
3267
3268 # Check whether --with-zlib or --without-zlib was given.
3269 if test "${with_zlib+set}" = set; then
3270 withval="$with_zlib"
3271
3272 if test "$withval" = yes; then
3273 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3274 elif test "$withval" = no; then
3275 ac_cv_use_zlib='wxUSE_ZLIB=no'
3276 elif test "$withval" = sys; then
3277 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3278 elif test "$withval" = builtin; then
3279 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3280 else
3281 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3282 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3283 { (exit 1); exit 1; }; }
3284 fi
3285
3286 else
3287
3288 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3289 if test "x$LINE" != x ; then
3290 eval "DEFAULT_$LINE"
3291 else
3292 no_cache=1
3293 fi
3294
3295 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3296
3297 fi;
3298
3299 eval "$ac_cv_use_zlib"
3300 if test "$no_cache" != 1; then
3301 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3302 fi
3303
3304 if test "$wxUSE_ZLIB" = yes; then
3305 echo "$as_me:$LINENO: result: yes" >&5
3306 echo "${ECHO_T}yes" >&6
3307 elif test "$wxUSE_ZLIB" = no; then
3308 echo "$as_me:$LINENO: result: no" >&5
3309 echo "${ECHO_T}no" >&6
3310 elif test "$wxUSE_ZLIB" = sys; then
3311 echo "$as_me:$LINENO: result: system version" >&5
3312 echo "${ECHO_T}system version" >&6
3313 elif test "$wxUSE_ZLIB" = builtin; then
3314 echo "$as_me:$LINENO: result: builtin version" >&5
3315 echo "${ECHO_T}builtin version" >&6
3316 else
3317 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3318 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3319 { (exit 1); exit 1; }; }
3320 fi
3321
3322
3323 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3324 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3325 no_cache=0
3326
3327 # Check whether --with-odbc or --without-odbc was given.
3328 if test "${with_odbc+set}" = set; then
3329 withval="$with_odbc"
3330
3331 if test "$withval" = yes; then
3332 ac_cv_use_odbc='wxUSE_ODBC=yes'
3333 elif test "$withval" = no; then
3334 ac_cv_use_odbc='wxUSE_ODBC=no'
3335 elif test "$withval" = sys; then
3336 ac_cv_use_odbc='wxUSE_ODBC=sys'
3337 elif test "$withval" = builtin; then
3338 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3339 else
3340 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3341 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3342 { (exit 1); exit 1; }; }
3343 fi
3344
3345 else
3346
3347 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3348 if test "x$LINE" != x ; then
3349 eval "DEFAULT_$LINE"
3350 else
3351 no_cache=1
3352 fi
3353
3354 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3355
3356 fi;
3357
3358 eval "$ac_cv_use_odbc"
3359 if test "$no_cache" != 1; then
3360 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3361 fi
3362
3363 if test "$wxUSE_ODBC" = yes; then
3364 echo "$as_me:$LINENO: result: yes" >&5
3365 echo "${ECHO_T}yes" >&6
3366 elif test "$wxUSE_ODBC" = no; then
3367 echo "$as_me:$LINENO: result: no" >&5
3368 echo "${ECHO_T}no" >&6
3369 elif test "$wxUSE_ODBC" = sys; then
3370 echo "$as_me:$LINENO: result: system version" >&5
3371 echo "${ECHO_T}system version" >&6
3372 elif test "$wxUSE_ODBC" = builtin; then
3373 echo "$as_me:$LINENO: result: builtin version" >&5
3374 echo "${ECHO_T}builtin version" >&6
3375 else
3376 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3377 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3378 { (exit 1); exit 1; }; }
3379 fi
3380
3381
3382 echo "$as_me:$LINENO: checking for --with-expat" >&5
3383 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3384 no_cache=0
3385
3386 # Check whether --with-expat or --without-expat was given.
3387 if test "${with_expat+set}" = set; then
3388 withval="$with_expat"
3389
3390 if test "$withval" = yes; then
3391 ac_cv_use_expat='wxUSE_EXPAT=yes'
3392 elif test "$withval" = no; then
3393 ac_cv_use_expat='wxUSE_EXPAT=no'
3394 elif test "$withval" = sys; then
3395 ac_cv_use_expat='wxUSE_EXPAT=sys'
3396 elif test "$withval" = builtin; then
3397 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3398 else
3399 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3400 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3401 { (exit 1); exit 1; }; }
3402 fi
3403
3404 else
3405
3406 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3407 if test "x$LINE" != x ; then
3408 eval "DEFAULT_$LINE"
3409 else
3410 no_cache=1
3411 fi
3412
3413 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3414
3415 fi;
3416
3417 eval "$ac_cv_use_expat"
3418 if test "$no_cache" != 1; then
3419 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3420 fi
3421
3422 if test "$wxUSE_EXPAT" = yes; then
3423 echo "$as_me:$LINENO: result: yes" >&5
3424 echo "${ECHO_T}yes" >&6
3425 elif test "$wxUSE_EXPAT" = no; then
3426 echo "$as_me:$LINENO: result: no" >&5
3427 echo "${ECHO_T}no" >&6
3428 elif test "$wxUSE_EXPAT" = sys; then
3429 echo "$as_me:$LINENO: result: system version" >&5
3430 echo "${ECHO_T}system version" >&6
3431 elif test "$wxUSE_EXPAT" = builtin; then
3432 echo "$as_me:$LINENO: result: builtin version" >&5
3433 echo "${ECHO_T}builtin version" >&6
3434 else
3435 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3436 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3437 { (exit 1); exit 1; }; }
3438 fi
3439
3440
3441
3442
3443 enablestring=
3444 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3445 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3446 no_cache=0
3447 # Check whether --enable-shared or --disable-shared was given.
3448 if test "${enable_shared+set}" = set; then
3449 enableval="$enable_shared"
3450
3451 if test "$enableval" = yes; then
3452 ac_cv_use_shared='wxUSE_SHARED=yes'
3453 else
3454 ac_cv_use_shared='wxUSE_SHARED=no'
3455 fi
3456
3457 else
3458
3459 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3460 if test "x$LINE" != x ; then
3461 eval "DEFAULT_$LINE"
3462 else
3463 no_cache=1
3464 fi
3465
3466 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3467
3468 fi;
3469
3470 eval "$ac_cv_use_shared"
3471 if test "$no_cache" != 1; then
3472 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3473 fi
3474
3475 if test "$wxUSE_SHARED" = yes; then
3476 echo "$as_me:$LINENO: result: yes" >&5
3477 echo "${ECHO_T}yes" >&6
3478 else
3479 echo "$as_me:$LINENO: result: no" >&5
3480 echo "${ECHO_T}no" >&6
3481 fi
3482
3483
3484 enablestring=
3485 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3486 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3487 no_cache=0
3488 # Check whether --enable-optimise or --disable-optimise was given.
3489 if test "${enable_optimise+set}" = set; then
3490 enableval="$enable_optimise"
3491
3492 if test "$enableval" = yes; then
3493 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3494 else
3495 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3496 fi
3497
3498 else
3499
3500 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3501 if test "x$LINE" != x ; then
3502 eval "DEFAULT_$LINE"
3503 else
3504 no_cache=1
3505 fi
3506
3507 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3508
3509 fi;
3510
3511 eval "$ac_cv_use_optimise"
3512 if test "$no_cache" != 1; then
3513 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3514 fi
3515
3516 if test "$wxUSE_OPTIMISE" = yes; then
3517 echo "$as_me:$LINENO: result: yes" >&5
3518 echo "${ECHO_T}yes" >&6
3519 else
3520 echo "$as_me:$LINENO: result: no" >&5
3521 echo "${ECHO_T}no" >&6
3522 fi
3523
3524
3525 enablestring=
3526 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3527 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3528 no_cache=0
3529 # Check whether --enable-debug or --disable-debug was given.
3530 if test "${enable_debug+set}" = set; then
3531 enableval="$enable_debug"
3532
3533 if test "$enableval" = yes; then
3534 ac_cv_use_debug='wxUSE_DEBUG=yes'
3535 else
3536 ac_cv_use_debug='wxUSE_DEBUG=no'
3537 fi
3538
3539 else
3540
3541 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3542 if test "x$LINE" != x ; then
3543 eval "DEFAULT_$LINE"
3544 else
3545 no_cache=1
3546 fi
3547
3548 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3549
3550 fi;
3551
3552 eval "$ac_cv_use_debug"
3553 if test "$no_cache" != 1; then
3554 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3555 fi
3556
3557 if test "$wxUSE_DEBUG" = yes; then
3558 echo "$as_me:$LINENO: result: yes" >&5
3559 echo "${ECHO_T}yes" >&6
3560 else
3561 echo "$as_me:$LINENO: result: no" >&5
3562 echo "${ECHO_T}no" >&6
3563 fi
3564
3565
3566 enablestring=
3567 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3568 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3569 no_cache=0
3570 # Check whether --enable-stl or --disable-stl was given.
3571 if test "${enable_stl+set}" = set; then
3572 enableval="$enable_stl"
3573
3574 if test "$enableval" = yes; then
3575 ac_cv_use_stl='wxUSE_STL=yes'
3576 else
3577 ac_cv_use_stl='wxUSE_STL=no'
3578 fi
3579
3580 else
3581
3582 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3583 if test "x$LINE" != x ; then
3584 eval "DEFAULT_$LINE"
3585 else
3586 no_cache=1
3587 fi
3588
3589 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3590
3591 fi;
3592
3593 eval "$ac_cv_use_stl"
3594 if test "$no_cache" != 1; then
3595 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3596 fi
3597
3598 if test "$wxUSE_STL" = yes; then
3599 echo "$as_me:$LINENO: result: yes" >&5
3600 echo "${ECHO_T}yes" >&6
3601 else
3602 echo "$as_me:$LINENO: result: no" >&5
3603 echo "${ECHO_T}no" >&6
3604 fi
3605
3606 if test "$USE_OS2" = "1"; then
3607 DEFAULT_wxUSE_OMF=no
3608
3609 enablestring=
3610 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3611 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3612 no_cache=0
3613 # Check whether --enable-omf or --disable-omf was given.
3614 if test "${enable_omf+set}" = set; then
3615 enableval="$enable_omf"
3616
3617 if test "$enableval" = yes; then
3618 ac_cv_use_omf='wxUSE_OMF=yes'
3619 else
3620 ac_cv_use_omf='wxUSE_OMF=no'
3621 fi
3622
3623 else
3624
3625 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3626 if test "x$LINE" != x ; then
3627 eval "DEFAULT_$LINE"
3628 else
3629 no_cache=1
3630 fi
3631
3632 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3633
3634 fi;
3635
3636 eval "$ac_cv_use_omf"
3637 if test "$no_cache" != 1; then
3638 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3639 fi
3640
3641 if test "$wxUSE_OMF" = yes; then
3642 echo "$as_me:$LINENO: result: yes" >&5
3643 echo "${ECHO_T}yes" >&6
3644 else
3645 echo "$as_me:$LINENO: result: no" >&5
3646 echo "${ECHO_T}no" >&6
3647 fi
3648
3649 fi
3650
3651 if test "$wxUSE_DEBUG" = "yes"; then
3652 DEFAULT_wxUSE_DEBUG_FLAG=yes
3653 DEFAULT_wxUSE_DEBUG_INFO=yes
3654 BUILD=debug
3655 elif test "$wxUSE_DEBUG" = "no"; then
3656 DEFAULT_wxUSE_DEBUG_FLAG=no
3657 DEFAULT_wxUSE_DEBUG_INFO=no
3658 BUILD=release
3659 fi
3660
3661
3662 enablestring=
3663 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3664 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3665 no_cache=0
3666 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3667 if test "${enable_debug_flag+set}" = set; then
3668 enableval="$enable_debug_flag"
3669
3670 if test "$enableval" = yes; then
3671 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3672 else
3673 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3674 fi
3675
3676 else
3677
3678 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3679 if test "x$LINE" != x ; then
3680 eval "DEFAULT_$LINE"
3681 else
3682 no_cache=1
3683 fi
3684
3685 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3686
3687 fi;
3688
3689 eval "$ac_cv_use_debug_flag"
3690 if test "$no_cache" != 1; then
3691 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3692 fi
3693
3694 if test "$wxUSE_DEBUG_FLAG" = yes; then
3695 echo "$as_me:$LINENO: result: yes" >&5
3696 echo "${ECHO_T}yes" >&6
3697 else
3698 echo "$as_me:$LINENO: result: no" >&5
3699 echo "${ECHO_T}no" >&6
3700 fi
3701
3702
3703 enablestring=
3704 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3705 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3706 no_cache=0
3707 # Check whether --enable-debug_info or --disable-debug_info was given.
3708 if test "${enable_debug_info+set}" = set; then
3709 enableval="$enable_debug_info"
3710
3711 if test "$enableval" = yes; then
3712 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3713 else
3714 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3715 fi
3716
3717 else
3718
3719 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3720 if test "x$LINE" != x ; then
3721 eval "DEFAULT_$LINE"
3722 else
3723 no_cache=1
3724 fi
3725
3726 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3727
3728 fi;
3729
3730 eval "$ac_cv_use_debug_info"
3731 if test "$no_cache" != 1; then
3732 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3733 fi
3734
3735 if test "$wxUSE_DEBUG_INFO" = yes; then
3736 echo "$as_me:$LINENO: result: yes" >&5
3737 echo "${ECHO_T}yes" >&6
3738 else
3739 echo "$as_me:$LINENO: result: no" >&5
3740 echo "${ECHO_T}no" >&6
3741 fi
3742
3743
3744 enablestring=
3745 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3746 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3747 no_cache=0
3748 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3749 if test "${enable_debug_gdb+set}" = set; then
3750 enableval="$enable_debug_gdb"
3751
3752 if test "$enableval" = yes; then
3753 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3754 else
3755 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3756 fi
3757
3758 else
3759
3760 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3761 if test "x$LINE" != x ; then
3762 eval "DEFAULT_$LINE"
3763 else
3764 no_cache=1
3765 fi
3766
3767 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3768
3769 fi;
3770
3771 eval "$ac_cv_use_debug_gdb"
3772 if test "$no_cache" != 1; then
3773 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3774 fi
3775
3776 if test "$wxUSE_DEBUG_GDB" = yes; then
3777 echo "$as_me:$LINENO: result: yes" >&5
3778 echo "${ECHO_T}yes" >&6
3779 else
3780 echo "$as_me:$LINENO: result: no" >&5
3781 echo "${ECHO_T}no" >&6
3782 fi
3783
3784
3785 enablestring=
3786 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3787 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3788 no_cache=0
3789 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3790 if test "${enable_debug_cntxt+set}" = set; then
3791 enableval="$enable_debug_cntxt"
3792
3793 if test "$enableval" = yes; then
3794 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3795 else
3796 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3797 fi
3798
3799 else
3800
3801 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3802 if test "x$LINE" != x ; then
3803 eval "DEFAULT_$LINE"
3804 else
3805 no_cache=1
3806 fi
3807
3808 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3809
3810 fi;
3811
3812 eval "$ac_cv_use_debug_cntxt"
3813 if test "$no_cache" != 1; then
3814 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3815 fi
3816
3817 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3818 echo "$as_me:$LINENO: result: yes" >&5
3819 echo "${ECHO_T}yes" >&6
3820 else
3821 echo "$as_me:$LINENO: result: no" >&5
3822 echo "${ECHO_T}no" >&6
3823 fi
3824
3825
3826 enablestring=
3827 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3828 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3829 no_cache=0
3830 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3831 if test "${enable_mem_tracing+set}" = set; then
3832 enableval="$enable_mem_tracing"
3833
3834 if test "$enableval" = yes; then
3835 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3836 else
3837 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3838 fi
3839
3840 else
3841
3842 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3843 if test "x$LINE" != x ; then
3844 eval "DEFAULT_$LINE"
3845 else
3846 no_cache=1
3847 fi
3848
3849 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3850
3851 fi;
3852
3853 eval "$ac_cv_use_mem_tracing"
3854 if test "$no_cache" != 1; then
3855 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3856 fi
3857
3858 if test "$wxUSE_MEM_TRACING" = yes; then
3859 echo "$as_me:$LINENO: result: yes" >&5
3860 echo "${ECHO_T}yes" >&6
3861 else
3862 echo "$as_me:$LINENO: result: no" >&5
3863 echo "${ECHO_T}no" >&6
3864 fi
3865
3866
3867 enablestring=
3868 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3869 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3870 no_cache=0
3871 # Check whether --enable-profile or --disable-profile was given.
3872 if test "${enable_profile+set}" = set; then
3873 enableval="$enable_profile"
3874
3875 if test "$enableval" = yes; then
3876 ac_cv_use_profile='wxUSE_PROFILE=yes'
3877 else
3878 ac_cv_use_profile='wxUSE_PROFILE=no'
3879 fi
3880
3881 else
3882
3883 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3884 if test "x$LINE" != x ; then
3885 eval "DEFAULT_$LINE"
3886 else
3887 no_cache=1
3888 fi
3889
3890 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3891
3892 fi;
3893
3894 eval "$ac_cv_use_profile"
3895 if test "$no_cache" != 1; then
3896 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3897 fi
3898
3899 if test "$wxUSE_PROFILE" = yes; then
3900 echo "$as_me:$LINENO: result: yes" >&5
3901 echo "${ECHO_T}yes" >&6
3902 else
3903 echo "$as_me:$LINENO: result: no" >&5
3904 echo "${ECHO_T}no" >&6
3905 fi
3906
3907
3908 enablestring=
3909 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3910 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3911 no_cache=0
3912 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3913 if test "${enable_no_rtti+set}" = set; then
3914 enableval="$enable_no_rtti"
3915
3916 if test "$enableval" = yes; then
3917 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3918 else
3919 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3920 fi
3921
3922 else
3923
3924 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3925 if test "x$LINE" != x ; then
3926 eval "DEFAULT_$LINE"
3927 else
3928 no_cache=1
3929 fi
3930
3931 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3932
3933 fi;
3934
3935 eval "$ac_cv_use_no_rtti"
3936 if test "$no_cache" != 1; then
3937 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3938 fi
3939
3940 if test "$wxUSE_NO_RTTI" = yes; then
3941 echo "$as_me:$LINENO: result: yes" >&5
3942 echo "${ECHO_T}yes" >&6
3943 else
3944 echo "$as_me:$LINENO: result: no" >&5
3945 echo "${ECHO_T}no" >&6
3946 fi
3947
3948
3949 enablestring=
3950 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3951 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3952 no_cache=0
3953 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3954 if test "${enable_no_exceptions+set}" = set; then
3955 enableval="$enable_no_exceptions"
3956
3957 if test "$enableval" = yes; then
3958 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3959 else
3960 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3961 fi
3962
3963 else
3964
3965 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3966 if test "x$LINE" != x ; then
3967 eval "DEFAULT_$LINE"
3968 else
3969 no_cache=1
3970 fi
3971
3972 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3973
3974 fi;
3975
3976 eval "$ac_cv_use_no_exceptions"
3977 if test "$no_cache" != 1; then
3978 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3979 fi
3980
3981 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3982 echo "$as_me:$LINENO: result: yes" >&5
3983 echo "${ECHO_T}yes" >&6
3984 else
3985 echo "$as_me:$LINENO: result: no" >&5
3986 echo "${ECHO_T}no" >&6
3987 fi
3988
3989
3990 enablestring=
3991 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3992 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3993 no_cache=0
3994 # Check whether --enable-permissive or --disable-permissive was given.
3995 if test "${enable_permissive+set}" = set; then
3996 enableval="$enable_permissive"
3997
3998 if test "$enableval" = yes; then
3999 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4000 else
4001 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4002 fi
4003
4004 else
4005
4006 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4007 if test "x$LINE" != x ; then
4008 eval "DEFAULT_$LINE"
4009 else
4010 no_cache=1
4011 fi
4012
4013 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4014
4015 fi;
4016
4017 eval "$ac_cv_use_permissive"
4018 if test "$no_cache" != 1; then
4019 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4020 fi
4021
4022 if test "$wxUSE_PERMISSIVE" = yes; then
4023 echo "$as_me:$LINENO: result: yes" >&5
4024 echo "${ECHO_T}yes" >&6
4025 else
4026 echo "$as_me:$LINENO: result: no" >&5
4027 echo "${ECHO_T}no" >&6
4028 fi
4029
4030
4031 enablestring=
4032 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4033 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4034 no_cache=0
4035 # Check whether --enable-no_deps or --disable-no_deps was given.
4036 if test "${enable_no_deps+set}" = set; then
4037 enableval="$enable_no_deps"
4038
4039 if test "$enableval" = yes; then
4040 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4041 else
4042 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4043 fi
4044
4045 else
4046
4047 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4048 if test "x$LINE" != x ; then
4049 eval "DEFAULT_$LINE"
4050 else
4051 no_cache=1
4052 fi
4053
4054 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4055
4056 fi;
4057
4058 eval "$ac_cv_use_no_deps"
4059 if test "$no_cache" != 1; then
4060 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4061 fi
4062
4063 if test "$wxUSE_NO_DEPS" = yes; then
4064 echo "$as_me:$LINENO: result: yes" >&5
4065 echo "${ECHO_T}yes" >&6
4066 else
4067 echo "$as_me:$LINENO: result: no" >&5
4068 echo "${ECHO_T}no" >&6
4069 fi
4070
4071
4072
4073 enablestring=
4074 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4075 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4076 no_cache=0
4077 # Check whether --enable-compat22 or --disable-compat22 was given.
4078 if test "${enable_compat22+set}" = set; then
4079 enableval="$enable_compat22"
4080
4081 if test "$enableval" = yes; then
4082 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
4083 else
4084 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
4085 fi
4086
4087 else
4088
4089 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4090 if test "x$LINE" != x ; then
4091 eval "DEFAULT_$LINE"
4092 else
4093 no_cache=1
4094 fi
4095
4096 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4097
4098 fi;
4099
4100 eval "$ac_cv_use_compat22"
4101 if test "$no_cache" != 1; then
4102 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4103 fi
4104
4105 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4106 echo "$as_me:$LINENO: result: yes" >&5
4107 echo "${ECHO_T}yes" >&6
4108 else
4109 echo "$as_me:$LINENO: result: no" >&5
4110 echo "${ECHO_T}no" >&6
4111 fi
4112
4113
4114 enablestring=disable
4115 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4116 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4117 no_cache=0
4118 # Check whether --enable-compat24 or --disable-compat24 was given.
4119 if test "${enable_compat24+set}" = set; then
4120 enableval="$enable_compat24"
4121
4122 if test "$enableval" = yes; then
4123 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4124 else
4125 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4126 fi
4127
4128 else
4129
4130 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4131 if test "x$LINE" != x ; then
4132 eval "DEFAULT_$LINE"
4133 else
4134 no_cache=1
4135 fi
4136
4137 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4138
4139 fi;
4140
4141 eval "$ac_cv_use_compat24"
4142 if test "$no_cache" != 1; then
4143 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4144 fi
4145
4146 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4147 echo "$as_me:$LINENO: result: yes" >&5
4148 echo "${ECHO_T}yes" >&6
4149 else
4150 echo "$as_me:$LINENO: result: no" >&5
4151 echo "${ECHO_T}no" >&6
4152 fi
4153
4154
4155
4156 enablestring=
4157 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4158 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4159 no_cache=0
4160 # Check whether --enable-rpath or --disable-rpath was given.
4161 if test "${enable_rpath+set}" = set; then
4162 enableval="$enable_rpath"
4163
4164 if test "$enableval" = yes; then
4165 ac_cv_use_rpath='wxUSE_RPATH=yes'
4166 else
4167 ac_cv_use_rpath='wxUSE_RPATH=no'
4168 fi
4169
4170 else
4171
4172 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4173 if test "x$LINE" != x ; then
4174 eval "DEFAULT_$LINE"
4175 else
4176 no_cache=1
4177 fi
4178
4179 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4180
4181 fi;
4182
4183 eval "$ac_cv_use_rpath"
4184 if test "$no_cache" != 1; then
4185 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4186 fi
4187
4188 if test "$wxUSE_RPATH" = yes; then
4189 echo "$as_me:$LINENO: result: yes" >&5
4190 echo "${ECHO_T}yes" >&6
4191 else
4192 echo "$as_me:$LINENO: result: no" >&5
4193 echo "${ECHO_T}no" >&6
4194 fi
4195
4196
4197
4198
4199
4200 enablestring=
4201 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4202 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4203 no_cache=0
4204 # Check whether --enable-intl or --disable-intl was given.
4205 if test "${enable_intl+set}" = set; then
4206 enableval="$enable_intl"
4207
4208 if test "$enableval" = yes; then
4209 ac_cv_use_intl='wxUSE_INTL=yes'
4210 else
4211 ac_cv_use_intl='wxUSE_INTL=no'
4212 fi
4213
4214 else
4215
4216 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4217 if test "x$LINE" != x ; then
4218 eval "DEFAULT_$LINE"
4219 else
4220 no_cache=1
4221 fi
4222
4223 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4224
4225 fi;
4226
4227 eval "$ac_cv_use_intl"
4228 if test "$no_cache" != 1; then
4229 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4230 fi
4231
4232 if test "$wxUSE_INTL" = yes; then
4233 echo "$as_me:$LINENO: result: yes" >&5
4234 echo "${ECHO_T}yes" >&6
4235 else
4236 echo "$as_me:$LINENO: result: no" >&5
4237 echo "${ECHO_T}no" >&6
4238 fi
4239
4240
4241 enablestring=
4242 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4243 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4244 no_cache=0
4245 # Check whether --enable-config or --disable-config was given.
4246 if test "${enable_config+set}" = set; then
4247 enableval="$enable_config"
4248
4249 if test "$enableval" = yes; then
4250 ac_cv_use_config='wxUSE_CONFIG=yes'
4251 else
4252 ac_cv_use_config='wxUSE_CONFIG=no'
4253 fi
4254
4255 else
4256
4257 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4258 if test "x$LINE" != x ; then
4259 eval "DEFAULT_$LINE"
4260 else
4261 no_cache=1
4262 fi
4263
4264 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4265
4266 fi;
4267
4268 eval "$ac_cv_use_config"
4269 if test "$no_cache" != 1; then
4270 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4271 fi
4272
4273 if test "$wxUSE_CONFIG" = yes; then
4274 echo "$as_me:$LINENO: result: yes" >&5
4275 echo "${ECHO_T}yes" >&6
4276 else
4277 echo "$as_me:$LINENO: result: no" >&5
4278 echo "${ECHO_T}no" >&6
4279 fi
4280
4281
4282
4283 enablestring=
4284 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4285 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4286 no_cache=0
4287 # Check whether --enable-protocols or --disable-protocols was given.
4288 if test "${enable_protocols+set}" = set; then
4289 enableval="$enable_protocols"
4290
4291 if test "$enableval" = yes; then
4292 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4293 else
4294 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4295 fi
4296
4297 else
4298
4299 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4300 if test "x$LINE" != x ; then
4301 eval "DEFAULT_$LINE"
4302 else
4303 no_cache=1
4304 fi
4305
4306 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4307
4308 fi;
4309
4310 eval "$ac_cv_use_protocols"
4311 if test "$no_cache" != 1; then
4312 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4313 fi
4314
4315 if test "$wxUSE_PROTOCOL" = yes; then
4316 echo "$as_me:$LINENO: result: yes" >&5
4317 echo "${ECHO_T}yes" >&6
4318 else
4319 echo "$as_me:$LINENO: result: no" >&5
4320 echo "${ECHO_T}no" >&6
4321 fi
4322
4323
4324 enablestring=
4325 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4326 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4327 no_cache=0
4328 # Check whether --enable-ftp or --disable-ftp was given.
4329 if test "${enable_ftp+set}" = set; then
4330 enableval="$enable_ftp"
4331
4332 if test "$enableval" = yes; then
4333 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4334 else
4335 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4336 fi
4337
4338 else
4339
4340 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4341 if test "x$LINE" != x ; then
4342 eval "DEFAULT_$LINE"
4343 else
4344 no_cache=1
4345 fi
4346
4347 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4348
4349 fi;
4350
4351 eval "$ac_cv_use_ftp"
4352 if test "$no_cache" != 1; then
4353 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4354 fi
4355
4356 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4357 echo "$as_me:$LINENO: result: yes" >&5
4358 echo "${ECHO_T}yes" >&6
4359 else
4360 echo "$as_me:$LINENO: result: no" >&5
4361 echo "${ECHO_T}no" >&6
4362 fi
4363
4364
4365 enablestring=
4366 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4367 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4368 no_cache=0
4369 # Check whether --enable-http or --disable-http was given.
4370 if test "${enable_http+set}" = set; then
4371 enableval="$enable_http"
4372
4373 if test "$enableval" = yes; then
4374 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4375 else
4376 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4377 fi
4378
4379 else
4380
4381 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4382 if test "x$LINE" != x ; then
4383 eval "DEFAULT_$LINE"
4384 else
4385 no_cache=1
4386 fi
4387
4388 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4389
4390 fi;
4391
4392 eval "$ac_cv_use_http"
4393 if test "$no_cache" != 1; then
4394 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4395 fi
4396
4397 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4398 echo "$as_me:$LINENO: result: yes" >&5
4399 echo "${ECHO_T}yes" >&6
4400 else
4401 echo "$as_me:$LINENO: result: no" >&5
4402 echo "${ECHO_T}no" >&6
4403 fi
4404
4405
4406 enablestring=
4407 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4408 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4409 no_cache=0
4410 # Check whether --enable-fileproto or --disable-fileproto was given.
4411 if test "${enable_fileproto+set}" = set; then
4412 enableval="$enable_fileproto"
4413
4414 if test "$enableval" = yes; then
4415 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4416 else
4417 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4418 fi
4419
4420 else
4421
4422 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4423 if test "x$LINE" != x ; then
4424 eval "DEFAULT_$LINE"
4425 else
4426 no_cache=1
4427 fi
4428
4429 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4430
4431 fi;
4432
4433 eval "$ac_cv_use_fileproto"
4434 if test "$no_cache" != 1; then
4435 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4436 fi
4437
4438 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4439 echo "$as_me:$LINENO: result: yes" >&5
4440 echo "${ECHO_T}yes" >&6
4441 else
4442 echo "$as_me:$LINENO: result: no" >&5
4443 echo "${ECHO_T}no" >&6
4444 fi
4445
4446
4447 enablestring=
4448 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4449 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4450 no_cache=0
4451 # Check whether --enable-sockets or --disable-sockets was given.
4452 if test "${enable_sockets+set}" = set; then
4453 enableval="$enable_sockets"
4454
4455 if test "$enableval" = yes; then
4456 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4457 else
4458 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4459 fi
4460
4461 else
4462
4463 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4464 if test "x$LINE" != x ; then
4465 eval "DEFAULT_$LINE"
4466 else
4467 no_cache=1
4468 fi
4469
4470 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4471
4472 fi;
4473
4474 eval "$ac_cv_use_sockets"
4475 if test "$no_cache" != 1; then
4476 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4477 fi
4478
4479 if test "$wxUSE_SOCKETS" = yes; then
4480 echo "$as_me:$LINENO: result: yes" >&5
4481 echo "${ECHO_T}yes" >&6
4482 else
4483 echo "$as_me:$LINENO: result: no" >&5
4484 echo "${ECHO_T}no" >&6
4485 fi
4486
4487
4488 enablestring=
4489 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4490 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4491 no_cache=0
4492 # Check whether --enable-ole or --disable-ole was given.
4493 if test "${enable_ole+set}" = set; then
4494 enableval="$enable_ole"
4495
4496 if test "$enableval" = yes; then
4497 ac_cv_use_ole='wxUSE_OLE=yes'
4498 else
4499 ac_cv_use_ole='wxUSE_OLE=no'
4500 fi
4501
4502 else
4503
4504 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4505 if test "x$LINE" != x ; then
4506 eval "DEFAULT_$LINE"
4507 else
4508 no_cache=1
4509 fi
4510
4511 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4512
4513 fi;
4514
4515 eval "$ac_cv_use_ole"
4516 if test "$no_cache" != 1; then
4517 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4518 fi
4519
4520 if test "$wxUSE_OLE" = yes; then
4521 echo "$as_me:$LINENO: result: yes" >&5
4522 echo "${ECHO_T}yes" >&6
4523 else
4524 echo "$as_me:$LINENO: result: no" >&5
4525 echo "${ECHO_T}no" >&6
4526 fi
4527
4528
4529 enablestring=
4530 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4531 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4532 no_cache=0
4533 # Check whether --enable-dataobj or --disable-dataobj was given.
4534 if test "${enable_dataobj+set}" = set; then
4535 enableval="$enable_dataobj"
4536
4537 if test "$enableval" = yes; then
4538 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4539 else
4540 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4541 fi
4542
4543 else
4544
4545 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4546 if test "x$LINE" != x ; then
4547 eval "DEFAULT_$LINE"
4548 else
4549 no_cache=1
4550 fi
4551
4552 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4553
4554 fi;
4555
4556 eval "$ac_cv_use_dataobj"
4557 if test "$no_cache" != 1; then
4558 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4559 fi
4560
4561 if test "$wxUSE_DATAOBJ" = yes; then
4562 echo "$as_me:$LINENO: result: yes" >&5
4563 echo "${ECHO_T}yes" >&6
4564 else
4565 echo "$as_me:$LINENO: result: no" >&5
4566 echo "${ECHO_T}no" >&6
4567 fi
4568
4569
4570
4571 enablestring=
4572 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4573 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4574 no_cache=0
4575 # Check whether --enable-ipc or --disable-ipc was given.
4576 if test "${enable_ipc+set}" = set; then
4577 enableval="$enable_ipc"
4578
4579 if test "$enableval" = yes; then
4580 ac_cv_use_ipc='wxUSE_IPC=yes'
4581 else
4582 ac_cv_use_ipc='wxUSE_IPC=no'
4583 fi
4584
4585 else
4586
4587 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4588 if test "x$LINE" != x ; then
4589 eval "DEFAULT_$LINE"
4590 else
4591 no_cache=1
4592 fi
4593
4594 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4595
4596 fi;
4597
4598 eval "$ac_cv_use_ipc"
4599 if test "$no_cache" != 1; then
4600 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4601 fi
4602
4603 if test "$wxUSE_IPC" = yes; then
4604 echo "$as_me:$LINENO: result: yes" >&5
4605 echo "${ECHO_T}yes" >&6
4606 else
4607 echo "$as_me:$LINENO: result: no" >&5
4608 echo "${ECHO_T}no" >&6
4609 fi
4610
4611
4612
4613 enablestring=
4614 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4615 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4616 no_cache=0
4617 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4618 if test "${enable_apple_ieee+set}" = set; then
4619 enableval="$enable_apple_ieee"
4620
4621 if test "$enableval" = yes; then
4622 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4623 else
4624 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4625 fi
4626
4627 else
4628
4629 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4630 if test "x$LINE" != x ; then
4631 eval "DEFAULT_$LINE"
4632 else
4633 no_cache=1
4634 fi
4635
4636 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4637
4638 fi;
4639
4640 eval "$ac_cv_use_apple_ieee"
4641 if test "$no_cache" != 1; then
4642 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4643 fi
4644
4645 if test "$wxUSE_APPLE_IEEE" = yes; then
4646 echo "$as_me:$LINENO: result: yes" >&5
4647 echo "${ECHO_T}yes" >&6
4648 else
4649 echo "$as_me:$LINENO: result: no" >&5
4650 echo "${ECHO_T}no" >&6
4651 fi
4652
4653
4654 enablestring=
4655 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4656 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4657 no_cache=0
4658 # Check whether --enable-arcstream or --disable-arcstream was given.
4659 if test "${enable_arcstream+set}" = set; then
4660 enableval="$enable_arcstream"
4661
4662 if test "$enableval" = yes; then
4663 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
4664 else
4665 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
4666 fi
4667
4668 else
4669
4670 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4671 if test "x$LINE" != x ; then
4672 eval "DEFAULT_$LINE"
4673 else
4674 no_cache=1
4675 fi
4676
4677 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4678
4679 fi;
4680
4681 eval "$ac_cv_use_arcstream"
4682 if test "$no_cache" != 1; then
4683 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4684 fi
4685
4686 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4687 echo "$as_me:$LINENO: result: yes" >&5
4688 echo "${ECHO_T}yes" >&6
4689 else
4690 echo "$as_me:$LINENO: result: no" >&5
4691 echo "${ECHO_T}no" >&6
4692 fi
4693
4694
4695 enablestring=
4696 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4697 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4698 no_cache=0
4699 # Check whether --enable-backtrace or --disable-backtrace was given.
4700 if test "${enable_backtrace+set}" = set; then
4701 enableval="$enable_backtrace"
4702
4703 if test "$enableval" = yes; then
4704 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
4705 else
4706 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
4707 fi
4708
4709 else
4710
4711 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4712 if test "x$LINE" != x ; then
4713 eval "DEFAULT_$LINE"
4714 else
4715 no_cache=1
4716 fi
4717
4718 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4719
4720 fi;
4721
4722 eval "$ac_cv_use_backtrace"
4723 if test "$no_cache" != 1; then
4724 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4725 fi
4726
4727 if test "$wxUSE_STACKWALKER" = yes; then
4728 echo "$as_me:$LINENO: result: yes" >&5
4729 echo "${ECHO_T}yes" >&6
4730 else
4731 echo "$as_me:$LINENO: result: no" >&5
4732 echo "${ECHO_T}no" >&6
4733 fi
4734
4735
4736 enablestring=
4737 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4738 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4739 no_cache=0
4740 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4741 if test "${enable_catch_segvs+set}" = set; then
4742 enableval="$enable_catch_segvs"
4743
4744 if test "$enableval" = yes; then
4745 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4746 else
4747 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4748 fi
4749
4750 else
4751
4752 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4753 if test "x$LINE" != x ; then
4754 eval "DEFAULT_$LINE"
4755 else
4756 no_cache=1
4757 fi
4758
4759 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4760
4761 fi;
4762
4763 eval "$ac_cv_use_catch_segvs"
4764 if test "$no_cache" != 1; then
4765 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4766 fi
4767
4768 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4769 echo "$as_me:$LINENO: result: yes" >&5
4770 echo "${ECHO_T}yes" >&6
4771 else
4772 echo "$as_me:$LINENO: result: no" >&5
4773 echo "${ECHO_T}no" >&6
4774 fi
4775
4776
4777 enablestring=
4778 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4779 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4780 no_cache=0
4781 # Check whether --enable-cmdline or --disable-cmdline was given.
4782 if test "${enable_cmdline+set}" = set; then
4783 enableval="$enable_cmdline"
4784
4785 if test "$enableval" = yes; then
4786 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4787 else
4788 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4789 fi
4790
4791 else
4792
4793 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4794 if test "x$LINE" != x ; then
4795 eval "DEFAULT_$LINE"
4796 else
4797 no_cache=1
4798 fi
4799
4800 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4801
4802 fi;
4803
4804 eval "$ac_cv_use_cmdline"
4805 if test "$no_cache" != 1; then
4806 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4807 fi
4808
4809 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4810 echo "$as_me:$LINENO: result: yes" >&5
4811 echo "${ECHO_T}yes" >&6
4812 else
4813 echo "$as_me:$LINENO: result: no" >&5
4814 echo "${ECHO_T}no" >&6
4815 fi
4816
4817
4818 enablestring=
4819 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4820 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4821 no_cache=0
4822 # Check whether --enable-datetime or --disable-datetime was given.
4823 if test "${enable_datetime+set}" = set; then
4824 enableval="$enable_datetime"
4825
4826 if test "$enableval" = yes; then
4827 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4828 else
4829 ac_cv_use_datetime='wxUSE_DATETIME=no'
4830 fi
4831
4832 else
4833
4834 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4835 if test "x$LINE" != x ; then
4836 eval "DEFAULT_$LINE"
4837 else
4838 no_cache=1
4839 fi
4840
4841 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4842
4843 fi;
4844
4845 eval "$ac_cv_use_datetime"
4846 if test "$no_cache" != 1; then
4847 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4848 fi
4849
4850 if test "$wxUSE_DATETIME" = yes; then
4851 echo "$as_me:$LINENO: result: yes" >&5
4852 echo "${ECHO_T}yes" >&6
4853 else
4854 echo "$as_me:$LINENO: result: no" >&5
4855 echo "${ECHO_T}no" >&6
4856 fi
4857
4858
4859 enablestring=
4860 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
4861 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
4862 no_cache=0
4863 # Check whether --enable-debugreport or --disable-debugreport was given.
4864 if test "${enable_debugreport+set}" = set; then
4865 enableval="$enable_debugreport"
4866
4867 if test "$enableval" = yes; then
4868 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
4869 else
4870 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
4871 fi
4872
4873 else
4874
4875 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
4876 if test "x$LINE" != x ; then
4877 eval "DEFAULT_$LINE"
4878 else
4879 no_cache=1
4880 fi
4881
4882 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
4883
4884 fi;
4885
4886 eval "$ac_cv_use_debugreport"
4887 if test "$no_cache" != 1; then
4888 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
4889 fi
4890
4891 if test "$wxUSE_DEBUGREPORT" = yes; then
4892 echo "$as_me:$LINENO: result: yes" >&5
4893 echo "${ECHO_T}yes" >&6
4894 else
4895 echo "$as_me:$LINENO: result: no" >&5
4896 echo "${ECHO_T}no" >&6
4897 fi
4898
4899
4900 enablestring=
4901 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4902 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4903 no_cache=0
4904 # Check whether --enable-dialupman or --disable-dialupman was given.
4905 if test "${enable_dialupman+set}" = set; then
4906 enableval="$enable_dialupman"
4907
4908 if test "$enableval" = yes; then
4909 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4910 else
4911 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4912 fi
4913
4914 else
4915
4916 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4917 if test "x$LINE" != x ; then
4918 eval "DEFAULT_$LINE"
4919 else
4920 no_cache=1
4921 fi
4922
4923 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4924
4925 fi;
4926
4927 eval "$ac_cv_use_dialupman"
4928 if test "$no_cache" != 1; then
4929 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4930 fi
4931
4932 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4933 echo "$as_me:$LINENO: result: yes" >&5
4934 echo "${ECHO_T}yes" >&6
4935 else
4936 echo "$as_me:$LINENO: result: no" >&5
4937 echo "${ECHO_T}no" >&6
4938 fi
4939
4940
4941 enablestring=
4942 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4943 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4944 no_cache=0
4945 # Check whether --enable-dynlib or --disable-dynlib was given.
4946 if test "${enable_dynlib+set}" = set; then
4947 enableval="$enable_dynlib"
4948
4949 if test "$enableval" = yes; then
4950 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4951 else
4952 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4953 fi
4954
4955 else
4956
4957 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4958 if test "x$LINE" != x ; then
4959 eval "DEFAULT_$LINE"
4960 else
4961 no_cache=1
4962 fi
4963
4964 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4965
4966 fi;
4967
4968 eval "$ac_cv_use_dynlib"
4969 if test "$no_cache" != 1; then
4970 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4971 fi
4972
4973 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4974 echo "$as_me:$LINENO: result: yes" >&5
4975 echo "${ECHO_T}yes" >&6
4976 else
4977 echo "$as_me:$LINENO: result: no" >&5
4978 echo "${ECHO_T}no" >&6
4979 fi
4980
4981
4982 enablestring=
4983 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4984 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4985 no_cache=0
4986 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4987 if test "${enable_dynamicloader+set}" = set; then
4988 enableval="$enable_dynamicloader"
4989
4990 if test "$enableval" = yes; then
4991 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4992 else
4993 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4994 fi
4995
4996 else
4997
4998 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4999 if test "x$LINE" != x ; then
5000 eval "DEFAULT_$LINE"
5001 else
5002 no_cache=1
5003 fi
5004
5005 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5006
5007 fi;
5008
5009 eval "$ac_cv_use_dynamicloader"
5010 if test "$no_cache" != 1; then
5011 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5012 fi
5013
5014 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5015 echo "$as_me:$LINENO: result: yes" >&5
5016 echo "${ECHO_T}yes" >&6
5017 else
5018 echo "$as_me:$LINENO: result: no" >&5
5019 echo "${ECHO_T}no" >&6
5020 fi
5021
5022
5023 enablestring=
5024 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5025 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5026 no_cache=0
5027 # Check whether --enable-exceptions or --disable-exceptions was given.
5028 if test "${enable_exceptions+set}" = set; then
5029 enableval="$enable_exceptions"
5030
5031 if test "$enableval" = yes; then
5032 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
5033 else
5034 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
5035 fi
5036
5037 else
5038
5039 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5040 if test "x$LINE" != x ; then
5041 eval "DEFAULT_$LINE"
5042 else
5043 no_cache=1
5044 fi
5045
5046 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5047
5048 fi;
5049
5050 eval "$ac_cv_use_exceptions"
5051 if test "$no_cache" != 1; then
5052 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5053 fi
5054
5055 if test "$wxUSE_EXCEPTIONS" = yes; then
5056 echo "$as_me:$LINENO: result: yes" >&5
5057 echo "${ECHO_T}yes" >&6
5058 else
5059 echo "$as_me:$LINENO: result: no" >&5
5060 echo "${ECHO_T}no" >&6
5061 fi
5062
5063
5064 enablestring=
5065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5066 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5067 no_cache=0
5068 # Check whether --enable-ffile or --disable-ffile was given.
5069 if test "${enable_ffile+set}" = set; then
5070 enableval="$enable_ffile"
5071
5072 if test "$enableval" = yes; then
5073 ac_cv_use_ffile='wxUSE_FFILE=yes'
5074 else
5075 ac_cv_use_ffile='wxUSE_FFILE=no'
5076 fi
5077
5078 else
5079
5080 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5081 if test "x$LINE" != x ; then
5082 eval "DEFAULT_$LINE"
5083 else
5084 no_cache=1
5085 fi
5086
5087 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5088
5089 fi;
5090
5091 eval "$ac_cv_use_ffile"
5092 if test "$no_cache" != 1; then
5093 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5094 fi
5095
5096 if test "$wxUSE_FFILE" = yes; then
5097 echo "$as_me:$LINENO: result: yes" >&5
5098 echo "${ECHO_T}yes" >&6
5099 else
5100 echo "$as_me:$LINENO: result: no" >&5
5101 echo "${ECHO_T}no" >&6
5102 fi
5103
5104
5105 enablestring=
5106 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5107 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5108 no_cache=0
5109 # Check whether --enable-file or --disable-file was given.
5110 if test "${enable_file+set}" = set; then
5111 enableval="$enable_file"
5112
5113 if test "$enableval" = yes; then
5114 ac_cv_use_file='wxUSE_FILE=yes'
5115 else
5116 ac_cv_use_file='wxUSE_FILE=no'
5117 fi
5118
5119 else
5120
5121 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5122 if test "x$LINE" != x ; then
5123 eval "DEFAULT_$LINE"
5124 else
5125 no_cache=1
5126 fi
5127
5128 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5129
5130 fi;
5131
5132 eval "$ac_cv_use_file"
5133 if test "$no_cache" != 1; then
5134 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5135 fi
5136
5137 if test "$wxUSE_FILE" = yes; then
5138 echo "$as_me:$LINENO: result: yes" >&5
5139 echo "${ECHO_T}yes" >&6
5140 else
5141 echo "$as_me:$LINENO: result: no" >&5
5142 echo "${ECHO_T}no" >&6
5143 fi
5144
5145
5146 enablestring=
5147 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5148 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5149 no_cache=0
5150 # Check whether --enable-filesystem or --disable-filesystem was given.
5151 if test "${enable_filesystem+set}" = set; then
5152 enableval="$enable_filesystem"
5153
5154 if test "$enableval" = yes; then
5155 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5156 else
5157 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5158 fi
5159
5160 else
5161
5162 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5163 if test "x$LINE" != x ; then
5164 eval "DEFAULT_$LINE"
5165 else
5166 no_cache=1
5167 fi
5168
5169 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5170
5171 fi;
5172
5173 eval "$ac_cv_use_filesystem"
5174 if test "$no_cache" != 1; then
5175 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5176 fi
5177
5178 if test "$wxUSE_FILESYSTEM" = yes; then
5179 echo "$as_me:$LINENO: result: yes" >&5
5180 echo "${ECHO_T}yes" >&6
5181 else
5182 echo "$as_me:$LINENO: result: no" >&5
5183 echo "${ECHO_T}no" >&6
5184 fi
5185
5186
5187 enablestring=
5188 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5189 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5190 no_cache=0
5191 # Check whether --enable-fontmap or --disable-fontmap was given.
5192 if test "${enable_fontmap+set}" = set; then
5193 enableval="$enable_fontmap"
5194
5195 if test "$enableval" = yes; then
5196 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5197 else
5198 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5199 fi
5200
5201 else
5202
5203 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5204 if test "x$LINE" != x ; then
5205 eval "DEFAULT_$LINE"
5206 else
5207 no_cache=1
5208 fi
5209
5210 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5211
5212 fi;
5213
5214 eval "$ac_cv_use_fontmap"
5215 if test "$no_cache" != 1; then
5216 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5217 fi
5218
5219 if test "$wxUSE_FONTMAP" = yes; then
5220 echo "$as_me:$LINENO: result: yes" >&5
5221 echo "${ECHO_T}yes" >&6
5222 else
5223 echo "$as_me:$LINENO: result: no" >&5
5224 echo "${ECHO_T}no" >&6
5225 fi
5226
5227
5228 enablestring=
5229 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5230 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5231 no_cache=0
5232 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5233 if test "${enable_fs_inet+set}" = set; then
5234 enableval="$enable_fs_inet"
5235
5236 if test "$enableval" = yes; then
5237 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5238 else
5239 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5240 fi
5241
5242 else
5243
5244 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5245 if test "x$LINE" != x ; then
5246 eval "DEFAULT_$LINE"
5247 else
5248 no_cache=1
5249 fi
5250
5251 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5252
5253 fi;
5254
5255 eval "$ac_cv_use_fs_inet"
5256 if test "$no_cache" != 1; then
5257 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5258 fi
5259
5260 if test "$wxUSE_FS_INET" = yes; then
5261 echo "$as_me:$LINENO: result: yes" >&5
5262 echo "${ECHO_T}yes" >&6
5263 else
5264 echo "$as_me:$LINENO: result: no" >&5
5265 echo "${ECHO_T}no" >&6
5266 fi
5267
5268
5269 enablestring=
5270 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5271 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5272 no_cache=0
5273 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5274 if test "${enable_fs_zip+set}" = set; then
5275 enableval="$enable_fs_zip"
5276
5277 if test "$enableval" = yes; then
5278 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5279 else
5280 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5281 fi
5282
5283 else
5284
5285 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5286 if test "x$LINE" != x ; then
5287 eval "DEFAULT_$LINE"
5288 else
5289 no_cache=1
5290 fi
5291
5292 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5293
5294 fi;
5295
5296 eval "$ac_cv_use_fs_zip"
5297 if test "$no_cache" != 1; then
5298 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5299 fi
5300
5301 if test "$wxUSE_FS_ZIP" = yes; then
5302 echo "$as_me:$LINENO: result: yes" >&5
5303 echo "${ECHO_T}yes" >&6
5304 else
5305 echo "$as_me:$LINENO: result: no" >&5
5306 echo "${ECHO_T}no" >&6
5307 fi
5308
5309
5310 enablestring=
5311 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5312 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5313 no_cache=0
5314 # Check whether --enable-geometry or --disable-geometry was given.
5315 if test "${enable_geometry+set}" = set; then
5316 enableval="$enable_geometry"
5317
5318 if test "$enableval" = yes; then
5319 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5320 else
5321 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5322 fi
5323
5324 else
5325
5326 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5327 if test "x$LINE" != x ; then
5328 eval "DEFAULT_$LINE"
5329 else
5330 no_cache=1
5331 fi
5332
5333 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5334
5335 fi;
5336
5337 eval "$ac_cv_use_geometry"
5338 if test "$no_cache" != 1; then
5339 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5340 fi
5341
5342 if test "$wxUSE_GEOMETRY" = yes; then
5343 echo "$as_me:$LINENO: result: yes" >&5
5344 echo "${ECHO_T}yes" >&6
5345 else
5346 echo "$as_me:$LINENO: result: no" >&5
5347 echo "${ECHO_T}no" >&6
5348 fi
5349
5350
5351 enablestring=
5352 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5353 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5354 no_cache=0
5355 # Check whether --enable-log or --disable-log was given.
5356 if test "${enable_log+set}" = set; then
5357 enableval="$enable_log"
5358
5359 if test "$enableval" = yes; then
5360 ac_cv_use_log='wxUSE_LOG=yes'
5361 else
5362 ac_cv_use_log='wxUSE_LOG=no'
5363 fi
5364
5365 else
5366
5367 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5368 if test "x$LINE" != x ; then
5369 eval "DEFAULT_$LINE"
5370 else
5371 no_cache=1
5372 fi
5373
5374 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5375
5376 fi;
5377
5378 eval "$ac_cv_use_log"
5379 if test "$no_cache" != 1; then
5380 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5381 fi
5382
5383 if test "$wxUSE_LOG" = yes; then
5384 echo "$as_me:$LINENO: result: yes" >&5
5385 echo "${ECHO_T}yes" >&6
5386 else
5387 echo "$as_me:$LINENO: result: no" >&5
5388 echo "${ECHO_T}no" >&6
5389 fi
5390
5391
5392 enablestring=
5393 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5394 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5395 no_cache=0
5396 # Check whether --enable-longlong or --disable-longlong was given.
5397 if test "${enable_longlong+set}" = set; then
5398 enableval="$enable_longlong"
5399
5400 if test "$enableval" = yes; then
5401 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5402 else
5403 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5404 fi
5405
5406 else
5407
5408 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5409 if test "x$LINE" != x ; then
5410 eval "DEFAULT_$LINE"
5411 else
5412 no_cache=1
5413 fi
5414
5415 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5416
5417 fi;
5418
5419 eval "$ac_cv_use_longlong"
5420 if test "$no_cache" != 1; then
5421 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5422 fi
5423
5424 if test "$wxUSE_LONGLONG" = yes; then
5425 echo "$as_me:$LINENO: result: yes" >&5
5426 echo "${ECHO_T}yes" >&6
5427 else
5428 echo "$as_me:$LINENO: result: no" >&5
5429 echo "${ECHO_T}no" >&6
5430 fi
5431
5432
5433 enablestring=
5434 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5435 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5436 no_cache=0
5437 # Check whether --enable-mimetype or --disable-mimetype was given.
5438 if test "${enable_mimetype+set}" = set; then
5439 enableval="$enable_mimetype"
5440
5441 if test "$enableval" = yes; then
5442 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5443 else
5444 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5445 fi
5446
5447 else
5448
5449 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5450 if test "x$LINE" != x ; then
5451 eval "DEFAULT_$LINE"
5452 else
5453 no_cache=1
5454 fi
5455
5456 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5457
5458 fi;
5459
5460 eval "$ac_cv_use_mimetype"
5461 if test "$no_cache" != 1; then
5462 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5463 fi
5464
5465 if test "$wxUSE_MIMETYPE" = yes; then
5466 echo "$as_me:$LINENO: result: yes" >&5
5467 echo "${ECHO_T}yes" >&6
5468 else
5469 echo "$as_me:$LINENO: result: no" >&5
5470 echo "${ECHO_T}no" >&6
5471 fi
5472
5473
5474 enablestring=
5475 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5476 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5477 no_cache=0
5478 # Check whether --enable-mslu or --disable-mslu was given.
5479 if test "${enable_mslu+set}" = set; then
5480 enableval="$enable_mslu"
5481
5482 if test "$enableval" = yes; then
5483 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5484 else
5485 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5486 fi
5487
5488 else
5489
5490 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5491 if test "x$LINE" != x ; then
5492 eval "DEFAULT_$LINE"
5493 else
5494 no_cache=1
5495 fi
5496
5497 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5498
5499 fi;
5500
5501 eval "$ac_cv_use_mslu"
5502 if test "$no_cache" != 1; then
5503 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5504 fi
5505
5506 if test "$wxUSE_UNICODE_MSLU" = yes; then
5507 echo "$as_me:$LINENO: result: yes" >&5
5508 echo "${ECHO_T}yes" >&6
5509 else
5510 echo "$as_me:$LINENO: result: no" >&5
5511 echo "${ECHO_T}no" >&6
5512 fi
5513
5514
5515 enablestring=
5516 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5517 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5518 no_cache=0
5519 # Check whether --enable-snglinst or --disable-snglinst was given.
5520 if test "${enable_snglinst+set}" = set; then
5521 enableval="$enable_snglinst"
5522
5523 if test "$enableval" = yes; then
5524 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5525 else
5526 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5527 fi
5528
5529 else
5530
5531 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5532 if test "x$LINE" != x ; then
5533 eval "DEFAULT_$LINE"
5534 else
5535 no_cache=1
5536 fi
5537
5538 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5539
5540 fi;
5541
5542 eval "$ac_cv_use_snglinst"
5543 if test "$no_cache" != 1; then
5544 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5545 fi
5546
5547 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5548 echo "$as_me:$LINENO: result: yes" >&5
5549 echo "${ECHO_T}yes" >&6
5550 else
5551 echo "$as_me:$LINENO: result: no" >&5
5552 echo "${ECHO_T}no" >&6
5553 fi
5554
5555
5556 enablestring=
5557 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5558 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5559 no_cache=0
5560 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5561 if test "${enable_std_iostreams+set}" = set; then
5562 enableval="$enable_std_iostreams"
5563
5564 if test "$enableval" = yes; then
5565 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5566 else
5567 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5568 fi
5569
5570 else
5571
5572 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5573 if test "x$LINE" != x ; then
5574 eval "DEFAULT_$LINE"
5575 else
5576 no_cache=1
5577 fi
5578
5579 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5580
5581 fi;
5582
5583 eval "$ac_cv_use_std_iostreams"
5584 if test "$no_cache" != 1; then
5585 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5586 fi
5587
5588 if test "$wxUSE_STD_IOSTREAM" = yes; then
5589 echo "$as_me:$LINENO: result: yes" >&5
5590 echo "${ECHO_T}yes" >&6
5591 else
5592 echo "$as_me:$LINENO: result: no" >&5
5593 echo "${ECHO_T}no" >&6
5594 fi
5595
5596
5597 enablestring=
5598 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5599 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5600 no_cache=0
5601 # Check whether --enable-std_string or --disable-std_string was given.
5602 if test "${enable_std_string+set}" = set; then
5603 enableval="$enable_std_string"
5604
5605 if test "$enableval" = yes; then
5606 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
5607 else
5608 ac_cv_use_std_string='wxUSE_STD_STRING=no'
5609 fi
5610
5611 else
5612
5613 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5614 if test "x$LINE" != x ; then
5615 eval "DEFAULT_$LINE"
5616 else
5617 no_cache=1
5618 fi
5619
5620 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5621
5622 fi;
5623
5624 eval "$ac_cv_use_std_string"
5625 if test "$no_cache" != 1; then
5626 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5627 fi
5628
5629 if test "$wxUSE_STD_STRING" = yes; then
5630 echo "$as_me:$LINENO: result: yes" >&5
5631 echo "${ECHO_T}yes" >&6
5632 else
5633 echo "$as_me:$LINENO: result: no" >&5
5634 echo "${ECHO_T}no" >&6
5635 fi
5636
5637
5638 enablestring=
5639 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5640 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5641 no_cache=0
5642 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5643 if test "${enable_stdpaths+set}" = set; then
5644 enableval="$enable_stdpaths"
5645
5646 if test "$enableval" = yes; then
5647 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
5648 else
5649 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
5650 fi
5651
5652 else
5653
5654 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5655 if test "x$LINE" != x ; then
5656 eval "DEFAULT_$LINE"
5657 else
5658 no_cache=1
5659 fi
5660
5661 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5662
5663 fi;
5664
5665 eval "$ac_cv_use_stdpaths"
5666 if test "$no_cache" != 1; then
5667 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5668 fi
5669
5670 if test "$wxUSE_STDPATHS" = yes; then
5671 echo "$as_me:$LINENO: result: yes" >&5
5672 echo "${ECHO_T}yes" >&6
5673 else
5674 echo "$as_me:$LINENO: result: no" >&5
5675 echo "${ECHO_T}no" >&6
5676 fi
5677
5678
5679 enablestring=
5680 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5681 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5682 no_cache=0
5683 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5684 if test "${enable_stopwatch+set}" = set; then
5685 enableval="$enable_stopwatch"
5686
5687 if test "$enableval" = yes; then
5688 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5689 else
5690 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5691 fi
5692
5693 else
5694
5695 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5696 if test "x$LINE" != x ; then
5697 eval "DEFAULT_$LINE"
5698 else
5699 no_cache=1
5700 fi
5701
5702 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5703
5704 fi;
5705
5706 eval "$ac_cv_use_stopwatch"
5707 if test "$no_cache" != 1; then
5708 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5709 fi
5710
5711 if test "$wxUSE_STOPWATCH" = yes; then
5712 echo "$as_me:$LINENO: result: yes" >&5
5713 echo "${ECHO_T}yes" >&6
5714 else
5715 echo "$as_me:$LINENO: result: no" >&5
5716 echo "${ECHO_T}no" >&6
5717 fi
5718
5719
5720 enablestring=
5721 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5722 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5723 no_cache=0
5724 # Check whether --enable-streams or --disable-streams was given.
5725 if test "${enable_streams+set}" = set; then
5726 enableval="$enable_streams"
5727
5728 if test "$enableval" = yes; then
5729 ac_cv_use_streams='wxUSE_STREAMS=yes'
5730 else
5731 ac_cv_use_streams='wxUSE_STREAMS=no'
5732 fi
5733
5734 else
5735
5736 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5737 if test "x$LINE" != x ; then
5738 eval "DEFAULT_$LINE"
5739 else
5740 no_cache=1
5741 fi
5742
5743 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5744
5745 fi;
5746
5747 eval "$ac_cv_use_streams"
5748 if test "$no_cache" != 1; then
5749 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5750 fi
5751
5752 if test "$wxUSE_STREAMS" = yes; then
5753 echo "$as_me:$LINENO: result: yes" >&5
5754 echo "${ECHO_T}yes" >&6
5755 else
5756 echo "$as_me:$LINENO: result: no" >&5
5757 echo "${ECHO_T}no" >&6
5758 fi
5759
5760
5761 enablestring=
5762 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5763 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5764 no_cache=0
5765 # Check whether --enable-system_options or --disable-system_options was given.
5766 if test "${enable_system_options+set}" = set; then
5767 enableval="$enable_system_options"
5768
5769 if test "$enableval" = yes; then
5770 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5771 else
5772 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5773 fi
5774
5775 else
5776
5777 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5778 if test "x$LINE" != x ; then
5779 eval "DEFAULT_$LINE"
5780 else
5781 no_cache=1
5782 fi
5783
5784 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5785
5786 fi;
5787
5788 eval "$ac_cv_use_system_options"
5789 if test "$no_cache" != 1; then
5790 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5791 fi
5792
5793 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5794 echo "$as_me:$LINENO: result: yes" >&5
5795 echo "${ECHO_T}yes" >&6
5796 else
5797 echo "$as_me:$LINENO: result: no" >&5
5798 echo "${ECHO_T}no" >&6
5799 fi
5800
5801
5802 enablestring=
5803 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5804 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5805 no_cache=0
5806 # Check whether --enable-textbuf or --disable-textbuf was given.
5807 if test "${enable_textbuf+set}" = set; then
5808 enableval="$enable_textbuf"
5809
5810 if test "$enableval" = yes; then
5811 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
5812 else
5813 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
5814 fi
5815
5816 else
5817
5818 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5819 if test "x$LINE" != x ; then
5820 eval "DEFAULT_$LINE"
5821 else
5822 no_cache=1
5823 fi
5824
5825 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5826
5827 fi;
5828
5829 eval "$ac_cv_use_textbuf"
5830 if test "$no_cache" != 1; then
5831 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5832 fi
5833
5834 if test "$wxUSE_TEXTBUFFER" = yes; then
5835 echo "$as_me:$LINENO: result: yes" >&5
5836 echo "${ECHO_T}yes" >&6
5837 else
5838 echo "$as_me:$LINENO: result: no" >&5
5839 echo "${ECHO_T}no" >&6
5840 fi
5841
5842
5843 enablestring=
5844 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5845 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5846 no_cache=0
5847 # Check whether --enable-textfile or --disable-textfile was given.
5848 if test "${enable_textfile+set}" = set; then
5849 enableval="$enable_textfile"
5850
5851 if test "$enableval" = yes; then
5852 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
5853 else
5854 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
5855 fi
5856
5857 else
5858
5859 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5860 if test "x$LINE" != x ; then
5861 eval "DEFAULT_$LINE"
5862 else
5863 no_cache=1
5864 fi
5865
5866 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5867
5868 fi;
5869
5870 eval "$ac_cv_use_textfile"
5871 if test "$no_cache" != 1; then
5872 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5873 fi
5874
5875 if test "$wxUSE_TEXTFILE" = yes; then
5876 echo "$as_me:$LINENO: result: yes" >&5
5877 echo "${ECHO_T}yes" >&6
5878 else
5879 echo "$as_me:$LINENO: result: no" >&5
5880 echo "${ECHO_T}no" >&6
5881 fi
5882
5883
5884 enablestring=
5885 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5886 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5887 no_cache=0
5888 # Check whether --enable-timer or --disable-timer was given.
5889 if test "${enable_timer+set}" = set; then
5890 enableval="$enable_timer"
5891
5892 if test "$enableval" = yes; then
5893 ac_cv_use_timer='wxUSE_TIMER=yes'
5894 else
5895 ac_cv_use_timer='wxUSE_TIMER=no'
5896 fi
5897
5898 else
5899
5900 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5901 if test "x$LINE" != x ; then
5902 eval "DEFAULT_$LINE"
5903 else
5904 no_cache=1
5905 fi
5906
5907 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5908
5909 fi;
5910
5911 eval "$ac_cv_use_timer"
5912 if test "$no_cache" != 1; then
5913 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5914 fi
5915
5916 if test "$wxUSE_TIMER" = yes; then
5917 echo "$as_me:$LINENO: result: yes" >&5
5918 echo "${ECHO_T}yes" >&6
5919 else
5920 echo "$as_me:$LINENO: result: no" >&5
5921 echo "${ECHO_T}no" >&6
5922 fi
5923
5924
5925 enablestring=
5926 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5927 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5928 no_cache=0
5929 # Check whether --enable-unicode or --disable-unicode was given.
5930 if test "${enable_unicode+set}" = set; then
5931 enableval="$enable_unicode"
5932
5933 if test "$enableval" = yes; then
5934 ac_cv_use_unicode='wxUSE_UNICODE=yes'
5935 else
5936 ac_cv_use_unicode='wxUSE_UNICODE=no'
5937 fi
5938
5939 else
5940
5941 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5942 if test "x$LINE" != x ; then
5943 eval "DEFAULT_$LINE"
5944 else
5945 no_cache=1
5946 fi
5947
5948 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5949
5950 fi;
5951
5952 eval "$ac_cv_use_unicode"
5953 if test "$no_cache" != 1; then
5954 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5955 fi
5956
5957 if test "$wxUSE_UNICODE" = yes; then
5958 echo "$as_me:$LINENO: result: yes" >&5
5959 echo "${ECHO_T}yes" >&6
5960 else
5961 echo "$as_me:$LINENO: result: no" >&5
5962 echo "${ECHO_T}no" >&6
5963 fi
5964
5965
5966 enablestring=
5967 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5968 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5969 no_cache=0
5970 # Check whether --enable-sound or --disable-sound was given.
5971 if test "${enable_sound+set}" = set; then
5972 enableval="$enable_sound"
5973
5974 if test "$enableval" = yes; then
5975 ac_cv_use_sound='wxUSE_SOUND=yes'
5976 else
5977 ac_cv_use_sound='wxUSE_SOUND=no'
5978 fi
5979
5980 else
5981
5982 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5983 if test "x$LINE" != x ; then
5984 eval "DEFAULT_$LINE"
5985 else
5986 no_cache=1
5987 fi
5988
5989 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5990
5991 fi;
5992
5993 eval "$ac_cv_use_sound"
5994 if test "$no_cache" != 1; then
5995 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5996 fi
5997
5998 if test "$wxUSE_SOUND" = yes; then
5999 echo "$as_me:$LINENO: result: yes" >&5
6000 echo "${ECHO_T}yes" >&6
6001 else
6002 echo "$as_me:$LINENO: result: no" >&5
6003 echo "${ECHO_T}no" >&6
6004 fi
6005
6006
6007 enablestring=
6008 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6009 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6010 no_cache=0
6011 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6012 if test "${enable_mediactrl+set}" = set; then
6013 enableval="$enable_mediactrl"
6014
6015 if test "$enableval" = yes; then
6016 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
6017 else
6018 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
6019 fi
6020
6021 else
6022
6023 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6024 if test "x$LINE" != x ; then
6025 eval "DEFAULT_$LINE"
6026 else
6027 no_cache=1
6028 fi
6029
6030 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6031
6032 fi;
6033
6034 eval "$ac_cv_use_mediactrl"
6035 if test "$no_cache" != 1; then
6036 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6037 fi
6038
6039 if test "$wxUSE_MEDIACTRL" = yes; then
6040 echo "$as_me:$LINENO: result: yes" >&5
6041 echo "${ECHO_T}yes" >&6
6042 else
6043 echo "$as_me:$LINENO: result: no" >&5
6044 echo "${ECHO_T}no" >&6
6045 fi
6046
6047
6048 enablestring=
6049 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
6050 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
6051 no_cache=0
6052 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
6053 if test "${enable_wxprintfv+set}" = set; then
6054 enableval="$enable_wxprintfv"
6055
6056 if test "$enableval" = yes; then
6057 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
6058 else
6059 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
6060 fi
6061
6062 else
6063
6064 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
6065 if test "x$LINE" != x ; then
6066 eval "DEFAULT_$LINE"
6067 else
6068 no_cache=1
6069 fi
6070
6071 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
6072
6073 fi;
6074
6075 eval "$ac_cv_use_wxprintfv"
6076 if test "$no_cache" != 1; then
6077 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
6078 fi
6079
6080 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
6081 echo "$as_me:$LINENO: result: yes" >&5
6082 echo "${ECHO_T}yes" >&6
6083 else
6084 echo "$as_me:$LINENO: result: no" >&5
6085 echo "${ECHO_T}no" >&6
6086 fi
6087
6088
6089 enablestring=
6090 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6091 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6092 no_cache=0
6093 # Check whether --enable-zipstream or --disable-zipstream was given.
6094 if test "${enable_zipstream+set}" = set; then
6095 enableval="$enable_zipstream"
6096
6097 if test "$enableval" = yes; then
6098 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
6099 else
6100 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
6101 fi
6102
6103 else
6104
6105 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6106 if test "x$LINE" != x ; then
6107 eval "DEFAULT_$LINE"
6108 else
6109 no_cache=1
6110 fi
6111
6112 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6113
6114 fi;
6115
6116 eval "$ac_cv_use_zipstream"
6117 if test "$no_cache" != 1; then
6118 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6119 fi
6120
6121 if test "$wxUSE_ZIPSTREAM" = yes; then
6122 echo "$as_me:$LINENO: result: yes" >&5
6123 echo "${ECHO_T}yes" >&6
6124 else
6125 echo "$as_me:$LINENO: result: no" >&5
6126 echo "${ECHO_T}no" >&6
6127 fi
6128
6129
6130
6131 enablestring=
6132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6133 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6134 no_cache=0
6135 # Check whether --enable-url or --disable-url was given.
6136 if test "${enable_url+set}" = set; then
6137 enableval="$enable_url"
6138
6139 if test "$enableval" = yes; then
6140 ac_cv_use_url='wxUSE_URL=yes'
6141 else
6142 ac_cv_use_url='wxUSE_URL=no'
6143 fi
6144
6145 else
6146
6147 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6148 if test "x$LINE" != x ; then
6149 eval "DEFAULT_$LINE"
6150 else
6151 no_cache=1
6152 fi
6153
6154 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6155
6156 fi;
6157
6158 eval "$ac_cv_use_url"
6159 if test "$no_cache" != 1; then
6160 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6161 fi
6162
6163 if test "$wxUSE_URL" = yes; then
6164 echo "$as_me:$LINENO: result: yes" >&5
6165 echo "${ECHO_T}yes" >&6
6166 else
6167 echo "$as_me:$LINENO: result: no" >&5
6168 echo "${ECHO_T}no" >&6
6169 fi
6170
6171
6172 enablestring=
6173 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6174 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6175 no_cache=0
6176 # Check whether --enable-protocol or --disable-protocol was given.
6177 if test "${enable_protocol+set}" = set; then
6178 enableval="$enable_protocol"
6179
6180 if test "$enableval" = yes; then
6181 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6182 else
6183 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6184 fi
6185
6186 else
6187
6188 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6189 if test "x$LINE" != x ; then
6190 eval "DEFAULT_$LINE"
6191 else
6192 no_cache=1
6193 fi
6194
6195 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6196
6197 fi;
6198
6199 eval "$ac_cv_use_protocol"
6200 if test "$no_cache" != 1; then
6201 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6202 fi
6203
6204 if test "$wxUSE_PROTOCOL" = yes; then
6205 echo "$as_me:$LINENO: result: yes" >&5
6206 echo "${ECHO_T}yes" >&6
6207 else
6208 echo "$as_me:$LINENO: result: no" >&5
6209 echo "${ECHO_T}no" >&6
6210 fi
6211
6212
6213 enablestring=
6214 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6215 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6216 no_cache=0
6217 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6218 if test "${enable_protocol_http+set}" = set; then
6219 enableval="$enable_protocol_http"
6220
6221 if test "$enableval" = yes; then
6222 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6223 else
6224 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6225 fi
6226
6227 else
6228
6229 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6230 if test "x$LINE" != x ; then
6231 eval "DEFAULT_$LINE"
6232 else
6233 no_cache=1
6234 fi
6235
6236 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6237
6238 fi;
6239
6240 eval "$ac_cv_use_protocol_http"
6241 if test "$no_cache" != 1; then
6242 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6243 fi
6244
6245 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6246 echo "$as_me:$LINENO: result: yes" >&5
6247 echo "${ECHO_T}yes" >&6
6248 else
6249 echo "$as_me:$LINENO: result: no" >&5
6250 echo "${ECHO_T}no" >&6
6251 fi
6252
6253
6254 enablestring=
6255 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6256 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6257 no_cache=0
6258 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6259 if test "${enable_protocol_ftp+set}" = set; then
6260 enableval="$enable_protocol_ftp"
6261
6262 if test "$enableval" = yes; then
6263 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6264 else
6265 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6266 fi
6267
6268 else
6269
6270 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6271 if test "x$LINE" != x ; then
6272 eval "DEFAULT_$LINE"
6273 else
6274 no_cache=1
6275 fi
6276
6277 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6278
6279 fi;
6280
6281 eval "$ac_cv_use_protocol_ftp"
6282 if test "$no_cache" != 1; then
6283 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6284 fi
6285
6286 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6287 echo "$as_me:$LINENO: result: yes" >&5
6288 echo "${ECHO_T}yes" >&6
6289 else
6290 echo "$as_me:$LINENO: result: no" >&5
6291 echo "${ECHO_T}no" >&6
6292 fi
6293
6294
6295 enablestring=
6296 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6297 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6298 no_cache=0
6299 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6300 if test "${enable_protocol_file+set}" = set; then
6301 enableval="$enable_protocol_file"
6302
6303 if test "$enableval" = yes; then
6304 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6305 else
6306 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6307 fi
6308
6309 else
6310
6311 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6312 if test "x$LINE" != x ; then
6313 eval "DEFAULT_$LINE"
6314 else
6315 no_cache=1
6316 fi
6317
6318 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6319
6320 fi;
6321
6322 eval "$ac_cv_use_protocol_file"
6323 if test "$no_cache" != 1; then
6324 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6325 fi
6326
6327 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6328 echo "$as_me:$LINENO: result: yes" >&5
6329 echo "${ECHO_T}yes" >&6
6330 else
6331 echo "$as_me:$LINENO: result: no" >&5
6332 echo "${ECHO_T}no" >&6
6333 fi
6334
6335
6336
6337
6338
6339 enablestring=
6340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6341 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6342 no_cache=0
6343 # Check whether --enable-threads or --disable-threads was given.
6344 if test "${enable_threads+set}" = set; then
6345 enableval="$enable_threads"
6346
6347 if test "$enableval" = yes; then
6348 ac_cv_use_threads='wxUSE_THREADS=yes'
6349 else
6350 ac_cv_use_threads='wxUSE_THREADS=no'
6351 fi
6352
6353 else
6354
6355 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6356 if test "x$LINE" != x ; then
6357 eval "DEFAULT_$LINE"
6358 else
6359 no_cache=1
6360 fi
6361
6362 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6363
6364 fi;
6365
6366 eval "$ac_cv_use_threads"
6367 if test "$no_cache" != 1; then
6368 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6369 fi
6370
6371 if test "$wxUSE_THREADS" = yes; then
6372 echo "$as_me:$LINENO: result: yes" >&5
6373 echo "${ECHO_T}yes" >&6
6374 else
6375 echo "$as_me:$LINENO: result: no" >&5
6376 echo "${ECHO_T}no" >&6
6377 fi
6378
6379
6380 if test "$wxUSE_GUI" = "yes"; then
6381
6382
6383
6384 enablestring=
6385 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6386 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6387 no_cache=0
6388 # Check whether --enable-docview or --disable-docview was given.
6389 if test "${enable_docview+set}" = set; then
6390 enableval="$enable_docview"
6391
6392 if test "$enableval" = yes; then
6393 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6394 else
6395 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6396 fi
6397
6398 else
6399
6400 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6401 if test "x$LINE" != x ; then
6402 eval "DEFAULT_$LINE"
6403 else
6404 no_cache=1
6405 fi
6406
6407 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6408
6409 fi;
6410
6411 eval "$ac_cv_use_docview"
6412 if test "$no_cache" != 1; then
6413 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6414 fi
6415
6416 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6417 echo "$as_me:$LINENO: result: yes" >&5
6418 echo "${ECHO_T}yes" >&6
6419 else
6420 echo "$as_me:$LINENO: result: no" >&5
6421 echo "${ECHO_T}no" >&6
6422 fi
6423
6424
6425 enablestring=
6426 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6427 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6428 no_cache=0
6429 # Check whether --enable-help or --disable-help was given.
6430 if test "${enable_help+set}" = set; then
6431 enableval="$enable_help"
6432
6433 if test "$enableval" = yes; then
6434 ac_cv_use_help='wxUSE_HELP=yes'
6435 else
6436 ac_cv_use_help='wxUSE_HELP=no'
6437 fi
6438
6439 else
6440
6441 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6442 if test "x$LINE" != x ; then
6443 eval "DEFAULT_$LINE"
6444 else
6445 no_cache=1
6446 fi
6447
6448 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6449
6450 fi;
6451
6452 eval "$ac_cv_use_help"
6453 if test "$no_cache" != 1; then
6454 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6455 fi
6456
6457 if test "$wxUSE_HELP" = yes; then
6458 echo "$as_me:$LINENO: result: yes" >&5
6459 echo "${ECHO_T}yes" >&6
6460 else
6461 echo "$as_me:$LINENO: result: no" >&5
6462 echo "${ECHO_T}no" >&6
6463 fi
6464
6465
6466 enablestring=
6467 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6468 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6469 no_cache=0
6470 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6471 if test "${enable_mshtmlhelp+set}" = set; then
6472 enableval="$enable_mshtmlhelp"
6473
6474 if test "$enableval" = yes; then
6475 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6476 else
6477 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6478 fi
6479
6480 else
6481
6482 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6483 if test "x$LINE" != x ; then
6484 eval "DEFAULT_$LINE"
6485 else
6486 no_cache=1
6487 fi
6488
6489 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6490
6491 fi;
6492
6493 eval "$ac_cv_use_mshtmlhelp"
6494 if test "$no_cache" != 1; then
6495 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6496 fi
6497
6498 if test "$wxUSE_MS_HTML_HELP" = yes; then
6499 echo "$as_me:$LINENO: result: yes" >&5
6500 echo "${ECHO_T}yes" >&6
6501 else
6502 echo "$as_me:$LINENO: result: no" >&5
6503 echo "${ECHO_T}no" >&6
6504 fi
6505
6506
6507 enablestring=
6508 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6509 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6510 no_cache=0
6511 # Check whether --enable-html or --disable-html was given.
6512 if test "${enable_html+set}" = set; then
6513 enableval="$enable_html"
6514
6515 if test "$enableval" = yes; then
6516 ac_cv_use_html='wxUSE_HTML=yes'
6517 else
6518 ac_cv_use_html='wxUSE_HTML=no'
6519 fi
6520
6521 else
6522
6523 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6524 if test "x$LINE" != x ; then
6525 eval "DEFAULT_$LINE"
6526 else
6527 no_cache=1
6528 fi
6529
6530 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6531
6532 fi;
6533
6534 eval "$ac_cv_use_html"
6535 if test "$no_cache" != 1; then
6536 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6537 fi
6538
6539 if test "$wxUSE_HTML" = yes; then
6540 echo "$as_me:$LINENO: result: yes" >&5
6541 echo "${ECHO_T}yes" >&6
6542 else
6543 echo "$as_me:$LINENO: result: no" >&5
6544 echo "${ECHO_T}no" >&6
6545 fi
6546
6547
6548 enablestring=
6549 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6550 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6551 no_cache=0
6552 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6553 if test "${enable_htmlhelp+set}" = set; then
6554 enableval="$enable_htmlhelp"
6555
6556 if test "$enableval" = yes; then
6557 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6558 else
6559 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6560 fi
6561
6562 else
6563
6564 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6565 if test "x$LINE" != x ; then
6566 eval "DEFAULT_$LINE"
6567 else
6568 no_cache=1
6569 fi
6570
6571 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6572
6573 fi;
6574
6575 eval "$ac_cv_use_htmlhelp"
6576 if test "$no_cache" != 1; then
6577 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6578 fi
6579
6580 if test "$wxUSE_WXHTML_HELP" = yes; then
6581 echo "$as_me:$LINENO: result: yes" >&5
6582 echo "${ECHO_T}yes" >&6
6583 else
6584 echo "$as_me:$LINENO: result: no" >&5
6585 echo "${ECHO_T}no" >&6
6586 fi
6587
6588
6589 enablestring=
6590 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6591 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6592 no_cache=0
6593 # Check whether --enable-xrc or --disable-xrc was given.
6594 if test "${enable_xrc+set}" = set; then
6595 enableval="$enable_xrc"
6596
6597 if test "$enableval" = yes; then
6598 ac_cv_use_xrc='wxUSE_XRC=yes'
6599 else
6600 ac_cv_use_xrc='wxUSE_XRC=no'
6601 fi
6602
6603 else
6604
6605 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6606 if test "x$LINE" != x ; then
6607 eval "DEFAULT_$LINE"
6608 else
6609 no_cache=1
6610 fi
6611
6612 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6613
6614 fi;
6615
6616 eval "$ac_cv_use_xrc"
6617 if test "$no_cache" != 1; then
6618 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6619 fi
6620
6621 if test "$wxUSE_XRC" = yes; then
6622 echo "$as_me:$LINENO: result: yes" >&5
6623 echo "${ECHO_T}yes" >&6
6624 else
6625 echo "$as_me:$LINENO: result: no" >&5
6626 echo "${ECHO_T}no" >&6
6627 fi
6628
6629
6630 enablestring=
6631 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6632 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6633 no_cache=0
6634 # Check whether --enable-constraints or --disable-constraints was given.
6635 if test "${enable_constraints+set}" = set; then
6636 enableval="$enable_constraints"
6637
6638 if test "$enableval" = yes; then
6639 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
6640 else
6641 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
6642 fi
6643
6644 else
6645
6646 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6647 if test "x$LINE" != x ; then
6648 eval "DEFAULT_$LINE"
6649 else
6650 no_cache=1
6651 fi
6652
6653 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6654
6655 fi;
6656
6657 eval "$ac_cv_use_constraints"
6658 if test "$no_cache" != 1; then
6659 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6660 fi
6661
6662 if test "$wxUSE_CONSTRAINTS" = yes; then
6663 echo "$as_me:$LINENO: result: yes" >&5
6664 echo "${ECHO_T}yes" >&6
6665 else
6666 echo "$as_me:$LINENO: result: no" >&5
6667 echo "${ECHO_T}no" >&6
6668 fi
6669
6670
6671 enablestring=
6672 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6673 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6674 no_cache=0
6675 # Check whether --enable-printarch or --disable-printarch was given.
6676 if test "${enable_printarch+set}" = set; then
6677 enableval="$enable_printarch"
6678
6679 if test "$enableval" = yes; then
6680 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6681 else
6682 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6683 fi
6684
6685 else
6686
6687 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6688 if test "x$LINE" != x ; then
6689 eval "DEFAULT_$LINE"
6690 else
6691 no_cache=1
6692 fi
6693
6694 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6695
6696 fi;
6697
6698 eval "$ac_cv_use_printarch"
6699 if test "$no_cache" != 1; then
6700 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6701 fi
6702
6703 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6704 echo "$as_me:$LINENO: result: yes" >&5
6705 echo "${ECHO_T}yes" >&6
6706 else
6707 echo "$as_me:$LINENO: result: no" >&5
6708 echo "${ECHO_T}no" >&6
6709 fi
6710
6711
6712 enablestring=
6713 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6714 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6715 no_cache=0
6716 # Check whether --enable-mdi or --disable-mdi was given.
6717 if test "${enable_mdi+set}" = set; then
6718 enableval="$enable_mdi"
6719
6720 if test "$enableval" = yes; then
6721 ac_cv_use_mdi='wxUSE_MDI=yes'
6722 else
6723 ac_cv_use_mdi='wxUSE_MDI=no'
6724 fi
6725
6726 else
6727
6728 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6729 if test "x$LINE" != x ; then
6730 eval "DEFAULT_$LINE"
6731 else
6732 no_cache=1
6733 fi
6734
6735 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6736
6737 fi;
6738
6739 eval "$ac_cv_use_mdi"
6740 if test "$no_cache" != 1; then
6741 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6742 fi
6743
6744 if test "$wxUSE_MDI" = yes; then
6745 echo "$as_me:$LINENO: result: yes" >&5
6746 echo "${ECHO_T}yes" >&6
6747 else
6748 echo "$as_me:$LINENO: result: no" >&5
6749 echo "${ECHO_T}no" >&6
6750 fi
6751
6752
6753 enablestring=
6754 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6755 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6756 no_cache=0
6757 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6758 if test "${enable_mdidoc+set}" = set; then
6759 enableval="$enable_mdidoc"
6760
6761 if test "$enableval" = yes; then
6762 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
6763 else
6764 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
6765 fi
6766
6767 else
6768
6769 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6770 if test "x$LINE" != x ; then
6771 eval "DEFAULT_$LINE"
6772 else
6773 no_cache=1
6774 fi
6775
6776 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6777
6778 fi;
6779
6780 eval "$ac_cv_use_mdidoc"
6781 if test "$no_cache" != 1; then
6782 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6783 fi
6784
6785 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6786 echo "$as_me:$LINENO: result: yes" >&5
6787 echo "${ECHO_T}yes" >&6
6788 else
6789 echo "$as_me:$LINENO: result: no" >&5
6790 echo "${ECHO_T}no" >&6
6791 fi
6792
6793
6794 enablestring=
6795 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6796 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6797 no_cache=0
6798 # Check whether --enable-loggui or --disable-loggui was given.
6799 if test "${enable_loggui+set}" = set; then
6800 enableval="$enable_loggui"
6801
6802 if test "$enableval" = yes; then
6803 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6804 else
6805 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6806 fi
6807
6808 else
6809
6810 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6811 if test "x$LINE" != x ; then
6812 eval "DEFAULT_$LINE"
6813 else
6814 no_cache=1
6815 fi
6816
6817 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6818
6819 fi;
6820
6821 eval "$ac_cv_use_loggui"
6822 if test "$no_cache" != 1; then
6823 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6824 fi
6825
6826 if test "$wxUSE_LOGGUI" = yes; then
6827 echo "$as_me:$LINENO: result: yes" >&5
6828 echo "${ECHO_T}yes" >&6
6829 else
6830 echo "$as_me:$LINENO: result: no" >&5
6831 echo "${ECHO_T}no" >&6
6832 fi
6833
6834
6835 enablestring=
6836 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6837 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6838 no_cache=0
6839 # Check whether --enable-logwin or --disable-logwin was given.
6840 if test "${enable_logwin+set}" = set; then
6841 enableval="$enable_logwin"
6842
6843 if test "$enableval" = yes; then
6844 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6845 else
6846 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6847 fi
6848
6849 else
6850
6851 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6852 if test "x$LINE" != x ; then
6853 eval "DEFAULT_$LINE"
6854 else
6855 no_cache=1
6856 fi
6857
6858 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6859
6860 fi;
6861
6862 eval "$ac_cv_use_logwin"
6863 if test "$no_cache" != 1; then
6864 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6865 fi
6866
6867 if test "$wxUSE_LOGWINDOW" = yes; then
6868 echo "$as_me:$LINENO: result: yes" >&5
6869 echo "${ECHO_T}yes" >&6
6870 else
6871 echo "$as_me:$LINENO: result: no" >&5
6872 echo "${ECHO_T}no" >&6
6873 fi
6874
6875
6876 enablestring=
6877 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6878 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6879 no_cache=0
6880 # Check whether --enable-logdialog or --disable-logdialog was given.
6881 if test "${enable_logdialog+set}" = set; then
6882 enableval="$enable_logdialog"
6883
6884 if test "$enableval" = yes; then
6885 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6886 else
6887 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6888 fi
6889
6890 else
6891
6892 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6893 if test "x$LINE" != x ; then
6894 eval "DEFAULT_$LINE"
6895 else
6896 no_cache=1
6897 fi
6898
6899 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6900
6901 fi;
6902
6903 eval "$ac_cv_use_logdialog"
6904 if test "$no_cache" != 1; then
6905 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6906 fi
6907
6908 if test "$wxUSE_LOGDIALOG" = yes; then
6909 echo "$as_me:$LINENO: result: yes" >&5
6910 echo "${ECHO_T}yes" >&6
6911 else
6912 echo "$as_me:$LINENO: result: no" >&5
6913 echo "${ECHO_T}no" >&6
6914 fi
6915
6916
6917 enablestring=
6918 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6919 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6920 no_cache=0
6921 # Check whether --enable-webkit or --disable-webkit was given.
6922 if test "${enable_webkit+set}" = set; then
6923 enableval="$enable_webkit"
6924
6925 if test "$enableval" = yes; then
6926 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
6927 else
6928 ac_cv_use_webkit='wxUSE_WEBKIT=no'
6929 fi
6930
6931 else
6932
6933 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6934 if test "x$LINE" != x ; then
6935 eval "DEFAULT_$LINE"
6936 else
6937 no_cache=1
6938 fi
6939
6940 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6941
6942 fi;
6943
6944 eval "$ac_cv_use_webkit"
6945 if test "$no_cache" != 1; then
6946 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6947 fi
6948
6949 if test "$wxUSE_WEBKIT" = yes; then
6950 echo "$as_me:$LINENO: result: yes" >&5
6951 echo "${ECHO_T}yes" >&6
6952 else
6953 echo "$as_me:$LINENO: result: no" >&5
6954 echo "${ECHO_T}no" >&6
6955 fi
6956
6957
6958
6959 enablestring=
6960 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6961 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6962 no_cache=0
6963 # Check whether --enable-postscript or --disable-postscript was given.
6964 if test "${enable_postscript+set}" = set; then
6965 enableval="$enable_postscript"
6966
6967 if test "$enableval" = yes; then
6968 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6969 else
6970 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6971 fi
6972
6973 else
6974
6975 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6976 if test "x$LINE" != x ; then
6977 eval "DEFAULT_$LINE"
6978 else
6979 no_cache=1
6980 fi
6981
6982 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6983
6984 fi;
6985
6986 eval "$ac_cv_use_postscript"
6987 if test "$no_cache" != 1; then
6988 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6989 fi
6990
6991 if test "$wxUSE_POSTSCRIPT" = yes; then
6992 echo "$as_me:$LINENO: result: yes" >&5
6993 echo "${ECHO_T}yes" >&6
6994 else
6995 echo "$as_me:$LINENO: result: no" >&5
6996 echo "${ECHO_T}no" >&6
6997 fi
6998
6999
7000
7001
7002
7003 enablestring=
7004 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7005 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7006 no_cache=0
7007 # Check whether --enable-prologio or --disable-prologio was given.
7008 if test "${enable_prologio+set}" = set; then
7009 enableval="$enable_prologio"
7010
7011 if test "$enableval" = yes; then
7012 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
7013 else
7014 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
7015 fi
7016
7017 else
7018
7019 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7020 if test "x$LINE" != x ; then
7021 eval "DEFAULT_$LINE"
7022 else
7023 no_cache=1
7024 fi
7025
7026 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7027
7028 fi;
7029
7030 eval "$ac_cv_use_prologio"
7031 if test "$no_cache" != 1; then
7032 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7033 fi
7034
7035 if test "$wxUSE_PROLOGIO" = yes; then
7036 echo "$as_me:$LINENO: result: yes" >&5
7037 echo "${ECHO_T}yes" >&6
7038 else
7039 echo "$as_me:$LINENO: result: no" >&5
7040 echo "${ECHO_T}no" >&6
7041 fi
7042
7043
7044 enablestring=
7045 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7046 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7047 no_cache=0
7048 # Check whether --enable-resources or --disable-resources was given.
7049 if test "${enable_resources+set}" = set; then
7050 enableval="$enable_resources"
7051
7052 if test "$enableval" = yes; then
7053 ac_cv_use_resources='wxUSE_RESOURCES=yes'
7054 else
7055 ac_cv_use_resources='wxUSE_RESOURCES=no'
7056 fi
7057
7058 else
7059
7060 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7061 if test "x$LINE" != x ; then
7062 eval "DEFAULT_$LINE"
7063 else
7064 no_cache=1
7065 fi
7066
7067 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7068
7069 fi;
7070
7071 eval "$ac_cv_use_resources"
7072 if test "$no_cache" != 1; then
7073 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7074 fi
7075
7076 if test "$wxUSE_RESOURCES" = yes; then
7077 echo "$as_me:$LINENO: result: yes" >&5
7078 echo "${ECHO_T}yes" >&6
7079 else
7080 echo "$as_me:$LINENO: result: no" >&5
7081 echo "${ECHO_T}no" >&6
7082 fi
7083
7084
7085
7086
7087 enablestring=
7088 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7089 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7090 no_cache=0
7091 # Check whether --enable-clipboard or --disable-clipboard was given.
7092 if test "${enable_clipboard+set}" = set; then
7093 enableval="$enable_clipboard"
7094
7095 if test "$enableval" = yes; then
7096 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
7097 else
7098 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
7099 fi
7100
7101 else
7102
7103 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7104 if test "x$LINE" != x ; then
7105 eval "DEFAULT_$LINE"
7106 else
7107 no_cache=1
7108 fi
7109
7110 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7111
7112 fi;
7113
7114 eval "$ac_cv_use_clipboard"
7115 if test "$no_cache" != 1; then
7116 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7117 fi
7118
7119 if test "$wxUSE_CLIPBOARD" = yes; then
7120 echo "$as_me:$LINENO: result: yes" >&5
7121 echo "${ECHO_T}yes" >&6
7122 else
7123 echo "$as_me:$LINENO: result: no" >&5
7124 echo "${ECHO_T}no" >&6
7125 fi
7126
7127
7128 enablestring=
7129 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7130 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7131 no_cache=0
7132 # Check whether --enable-dnd or --disable-dnd was given.
7133 if test "${enable_dnd+set}" = set; then
7134 enableval="$enable_dnd"
7135
7136 if test "$enableval" = yes; then
7137 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
7138 else
7139 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
7140 fi
7141
7142 else
7143
7144 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7145 if test "x$LINE" != x ; then
7146 eval "DEFAULT_$LINE"
7147 else
7148 no_cache=1
7149 fi
7150
7151 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7152
7153 fi;
7154
7155 eval "$ac_cv_use_dnd"
7156 if test "$no_cache" != 1; then
7157 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7158 fi
7159
7160 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7161 echo "$as_me:$LINENO: result: yes" >&5
7162 echo "${ECHO_T}yes" >&6
7163 else
7164 echo "$as_me:$LINENO: result: no" >&5
7165 echo "${ECHO_T}no" >&6
7166 fi
7167
7168
7169 enablestring=
7170 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7171 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7172 no_cache=0
7173 # Check whether --enable-metafile or --disable-metafile was given.
7174 if test "${enable_metafile+set}" = set; then
7175 enableval="$enable_metafile"
7176
7177 if test "$enableval" = yes; then
7178 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7179 else
7180 ac_cv_use_metafile='wxUSE_METAFILE=no'
7181 fi
7182
7183 else
7184
7185 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7186 if test "x$LINE" != x ; then
7187 eval "DEFAULT_$LINE"
7188 else
7189 no_cache=1
7190 fi
7191
7192 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7193
7194 fi;
7195
7196 eval "$ac_cv_use_metafile"
7197 if test "$no_cache" != 1; then
7198 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7199 fi
7200
7201 if test "$wxUSE_METAFILE" = yes; then
7202 echo "$as_me:$LINENO: result: yes" >&5
7203 echo "${ECHO_T}yes" >&6
7204 else
7205 echo "$as_me:$LINENO: result: no" >&5
7206 echo "${ECHO_T}no" >&6
7207 fi
7208
7209
7210
7211
7212
7213 enablestring=
7214 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7215 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7216 no_cache=0
7217 # Check whether --enable-controls or --disable-controls was given.
7218 if test "${enable_controls+set}" = set; then
7219 enableval="$enable_controls"
7220
7221 if test "$enableval" = yes; then
7222 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7223 else
7224 ac_cv_use_controls='wxUSE_CONTROLS=no'
7225 fi
7226
7227 else
7228
7229 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7230 if test "x$LINE" != x ; then
7231 eval "DEFAULT_$LINE"
7232 else
7233 no_cache=1
7234 fi
7235
7236 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7237
7238 fi;
7239
7240 eval "$ac_cv_use_controls"
7241 if test "$no_cache" != 1; then
7242 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7243 fi
7244
7245 if test "$wxUSE_CONTROLS" = yes; then
7246 echo "$as_me:$LINENO: result: yes" >&5
7247 echo "${ECHO_T}yes" >&6
7248 else
7249 echo "$as_me:$LINENO: result: no" >&5
7250 echo "${ECHO_T}no" >&6
7251 fi
7252
7253
7254 if test "$wxUSE_CONTROLS" = "yes"; then
7255 DEFAULT_wxUSE_ACCEL=yes
7256 DEFAULT_wxUSE_BMPBUTTON=yes
7257 DEFAULT_wxUSE_BUTTON=yes
7258 DEFAULT_wxUSE_CALCTRL=yes
7259 DEFAULT_wxUSE_CARET=yes
7260 DEFAULT_wxUSE_COMBOBOX=yes
7261 DEFAULT_wxUSE_CHECKBOX=yes
7262 DEFAULT_wxUSE_CHECKLISTBOX=yes
7263 DEFAULT_wxUSE_CHOICE=yes
7264 DEFAULT_wxUSE_CHOICEBOOK=yes
7265 DEFAULT_wxUSE_DATEPICKCTRL=yes
7266 DEFAULT_wxUSE_GAUGE=yes
7267 DEFAULT_wxUSE_GRID=yes
7268 DEFAULT_wxUSE_IMAGLIST=yes
7269 DEFAULT_wxUSE_LISTBOOK=yes
7270 DEFAULT_wxUSE_LISTBOX=yes
7271 DEFAULT_wxUSE_LISTCTRL=yes
7272 DEFAULT_wxUSE_NOTEBOOK=yes
7273 DEFAULT_wxUSE_RADIOBOX=yes
7274 DEFAULT_wxUSE_RADIOBTN=yes
7275 DEFAULT_wxUSE_SASH=yes
7276 DEFAULT_wxUSE_SCROLLBAR=yes
7277 DEFAULT_wxUSE_SLIDER=yes
7278 DEFAULT_wxUSE_SPINBTN=yes
7279 DEFAULT_wxUSE_SPINCTRL=yes
7280 DEFAULT_wxUSE_SPLITTER=yes
7281 DEFAULT_wxUSE_STATBMP=yes
7282 DEFAULT_wxUSE_STATBOX=yes
7283 DEFAULT_wxUSE_STATLINE=yes
7284 DEFAULT_wxUSE_STATUSBAR=yes
7285 DEFAULT_wxUSE_TAB_DIALOG=yes
7286 DEFAULT_wxUSE_TOGGLEBTN=yes
7287 DEFAULT_wxUSE_TOOLBAR=yes
7288 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7289 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
7290 DEFAULT_wxUSE_TOOLTIPS=yes
7291 DEFAULT_wxUSE_TREECTRL=yes
7292 DEFAULT_wxUSE_POPUPWIN=yes
7293 DEFAULT_wxUSE_TIPWINDOW=yes
7294 elif test "$wxUSE_CONTROLS" = "no"; then
7295 DEFAULT_wxUSE_ACCEL=no
7296 DEFAULT_wxUSE_BMPBUTTON=no
7297 DEFAULT_wxUSE_BUTTON=no
7298 DEFAULT_wxUSE_CALCTRL=no
7299 DEFAULT_wxUSE_CARET=no
7300 DEFAULT_wxUSE_COMBOBOX=no
7301 DEFAULT_wxUSE_CHECKBOX=no
7302 DEFAULT_wxUSE_CHECKLISTBOX=no
7303 DEFAULT_wxUSE_CHOICE=no
7304 DEFAULT_wxUSE_CHOICEBOOK=no
7305 DEFAULT_wxUSE_DATEPICKCTRL=no
7306 DEFAULT_wxUSE_GAUGE=no
7307 DEFAULT_wxUSE_GRID=no
7308 DEFAULT_wxUSE_IMAGLIST=no
7309 DEFAULT_wxUSE_LISTBOOK=no
7310 DEFAULT_wxUSE_LISTBOX=no
7311 DEFAULT_wxUSE_LISTCTRL=no
7312 DEFAULT_wxUSE_NOTEBOOK=no
7313 DEFAULT_wxUSE_RADIOBOX=no
7314 DEFAULT_wxUSE_RADIOBTN=no
7315 DEFAULT_wxUSE_SASH=no
7316 DEFAULT_wxUSE_SCROLLBAR=no
7317 DEFAULT_wxUSE_SLIDER=no
7318 DEFAULT_wxUSE_SPINBTN=no
7319 DEFAULT_wxUSE_SPINCTRL=no
7320 DEFAULT_wxUSE_SPLITTER=no
7321 DEFAULT_wxUSE_STATBMP=no
7322 DEFAULT_wxUSE_STATBOX=no
7323 DEFAULT_wxUSE_STATLINE=no
7324 DEFAULT_wxUSE_STATUSBAR=no
7325 DEFAULT_wxUSE_TAB_DIALOG=no
7326 DEFAULT_wxUSE_TOGGLEBTN=no
7327 DEFAULT_wxUSE_TOOLBAR=no
7328 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7329 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
7330 DEFAULT_wxUSE_TOOLTIPS=no
7331 DEFAULT_wxUSE_TREECTRL=no
7332 DEFAULT_wxUSE_POPUPWIN=no
7333 DEFAULT_wxUSE_TIPWINDOW=no
7334 fi
7335
7336
7337 enablestring=
7338 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7339 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7340 no_cache=0
7341 # Check whether --enable-accel or --disable-accel was given.
7342 if test "${enable_accel+set}" = set; then
7343 enableval="$enable_accel"
7344
7345 if test "$enableval" = yes; then
7346 ac_cv_use_accel='wxUSE_ACCEL=yes'
7347 else
7348 ac_cv_use_accel='wxUSE_ACCEL=no'
7349 fi
7350
7351 else
7352
7353 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7354 if test "x$LINE" != x ; then
7355 eval "DEFAULT_$LINE"
7356 else
7357 no_cache=1
7358 fi
7359
7360 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7361
7362 fi;
7363
7364 eval "$ac_cv_use_accel"
7365 if test "$no_cache" != 1; then
7366 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7367 fi
7368
7369 if test "$wxUSE_ACCEL" = yes; then
7370 echo "$as_me:$LINENO: result: yes" >&5
7371 echo "${ECHO_T}yes" >&6
7372 else
7373 echo "$as_me:$LINENO: result: no" >&5
7374 echo "${ECHO_T}no" >&6
7375 fi
7376
7377
7378 enablestring=
7379 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7380 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7381 no_cache=0
7382 # Check whether --enable-button or --disable-button was given.
7383 if test "${enable_button+set}" = set; then
7384 enableval="$enable_button"
7385
7386 if test "$enableval" = yes; then
7387 ac_cv_use_button='wxUSE_BUTTON=yes'
7388 else
7389 ac_cv_use_button='wxUSE_BUTTON=no'
7390 fi
7391
7392 else
7393
7394 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7395 if test "x$LINE" != x ; then
7396 eval "DEFAULT_$LINE"
7397 else
7398 no_cache=1
7399 fi
7400
7401 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7402
7403 fi;
7404
7405 eval "$ac_cv_use_button"
7406 if test "$no_cache" != 1; then
7407 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7408 fi
7409
7410 if test "$wxUSE_BUTTON" = yes; then
7411 echo "$as_me:$LINENO: result: yes" >&5
7412 echo "${ECHO_T}yes" >&6
7413 else
7414 echo "$as_me:$LINENO: result: no" >&5
7415 echo "${ECHO_T}no" >&6
7416 fi
7417
7418
7419 enablestring=
7420 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7421 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7422 no_cache=0
7423 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7424 if test "${enable_bmpbutton+set}" = set; then
7425 enableval="$enable_bmpbutton"
7426
7427 if test "$enableval" = yes; then
7428 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
7429 else
7430 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
7431 fi
7432
7433 else
7434
7435 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7436 if test "x$LINE" != x ; then
7437 eval "DEFAULT_$LINE"
7438 else
7439 no_cache=1
7440 fi
7441
7442 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7443
7444 fi;
7445
7446 eval "$ac_cv_use_bmpbutton"
7447 if test "$no_cache" != 1; then
7448 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7449 fi
7450
7451 if test "$wxUSE_BMPBUTTON" = yes; then
7452 echo "$as_me:$LINENO: result: yes" >&5
7453 echo "${ECHO_T}yes" >&6
7454 else
7455 echo "$as_me:$LINENO: result: no" >&5
7456 echo "${ECHO_T}no" >&6
7457 fi
7458
7459
7460 enablestring=
7461 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7462 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7463 no_cache=0
7464 # Check whether --enable-calendar or --disable-calendar was given.
7465 if test "${enable_calendar+set}" = set; then
7466 enableval="$enable_calendar"
7467
7468 if test "$enableval" = yes; then
7469 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
7470 else
7471 ac_cv_use_calendar='wxUSE_CALCTRL=no'
7472 fi
7473
7474 else
7475
7476 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7477 if test "x$LINE" != x ; then
7478 eval "DEFAULT_$LINE"
7479 else
7480 no_cache=1
7481 fi
7482
7483 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7484
7485 fi;
7486
7487 eval "$ac_cv_use_calendar"
7488 if test "$no_cache" != 1; then
7489 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7490 fi
7491
7492 if test "$wxUSE_CALCTRL" = yes; then
7493 echo "$as_me:$LINENO: result: yes" >&5
7494 echo "${ECHO_T}yes" >&6
7495 else
7496 echo "$as_me:$LINENO: result: no" >&5
7497 echo "${ECHO_T}no" >&6
7498 fi
7499
7500
7501 enablestring=
7502 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7503 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7504 no_cache=0
7505 # Check whether --enable-caret or --disable-caret was given.
7506 if test "${enable_caret+set}" = set; then
7507 enableval="$enable_caret"
7508
7509 if test "$enableval" = yes; then
7510 ac_cv_use_caret='wxUSE_CARET=yes'
7511 else
7512 ac_cv_use_caret='wxUSE_CARET=no'
7513 fi
7514
7515 else
7516
7517 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7518 if test "x$LINE" != x ; then
7519 eval "DEFAULT_$LINE"
7520 else
7521 no_cache=1
7522 fi
7523
7524 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7525
7526 fi;
7527
7528 eval "$ac_cv_use_caret"
7529 if test "$no_cache" != 1; then
7530 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7531 fi
7532
7533 if test "$wxUSE_CARET" = yes; then
7534 echo "$as_me:$LINENO: result: yes" >&5
7535 echo "${ECHO_T}yes" >&6
7536 else
7537 echo "$as_me:$LINENO: result: no" >&5
7538 echo "${ECHO_T}no" >&6
7539 fi
7540
7541
7542 enablestring=
7543 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7544 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7545 no_cache=0
7546 # Check whether --enable-checkbox or --disable-checkbox was given.
7547 if test "${enable_checkbox+set}" = set; then
7548 enableval="$enable_checkbox"
7549
7550 if test "$enableval" = yes; then
7551 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
7552 else
7553 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
7554 fi
7555
7556 else
7557
7558 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7559 if test "x$LINE" != x ; then
7560 eval "DEFAULT_$LINE"
7561 else
7562 no_cache=1
7563 fi
7564
7565 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7566
7567 fi;
7568
7569 eval "$ac_cv_use_checkbox"
7570 if test "$no_cache" != 1; then
7571 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7572 fi
7573
7574 if test "$wxUSE_CHECKBOX" = yes; then
7575 echo "$as_me:$LINENO: result: yes" >&5
7576 echo "${ECHO_T}yes" >&6
7577 else
7578 echo "$as_me:$LINENO: result: no" >&5
7579 echo "${ECHO_T}no" >&6
7580 fi
7581
7582
7583 enablestring=
7584 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7585 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7586 no_cache=0
7587 # Check whether --enable-checklst or --disable-checklst was given.
7588 if test "${enable_checklst+set}" = set; then
7589 enableval="$enable_checklst"
7590
7591 if test "$enableval" = yes; then
7592 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
7593 else
7594 ac_cv_use_checklst='wxUSE_CHECKLST=no'
7595 fi
7596
7597 else
7598
7599 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7600 if test "x$LINE" != x ; then
7601 eval "DEFAULT_$LINE"
7602 else
7603 no_cache=1
7604 fi
7605
7606 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7607
7608 fi;
7609
7610 eval "$ac_cv_use_checklst"
7611 if test "$no_cache" != 1; then
7612 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7613 fi
7614
7615 if test "$wxUSE_CHECKLST" = yes; then
7616 echo "$as_me:$LINENO: result: yes" >&5
7617 echo "${ECHO_T}yes" >&6
7618 else
7619 echo "$as_me:$LINENO: result: no" >&5
7620 echo "${ECHO_T}no" >&6
7621 fi
7622
7623
7624 enablestring=
7625 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7626 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7627 no_cache=0
7628 # Check whether --enable-choice or --disable-choice was given.
7629 if test "${enable_choice+set}" = set; then
7630 enableval="$enable_choice"
7631
7632 if test "$enableval" = yes; then
7633 ac_cv_use_choice='wxUSE_CHOICE=yes'
7634 else
7635 ac_cv_use_choice='wxUSE_CHOICE=no'
7636 fi
7637
7638 else
7639
7640 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7641 if test "x$LINE" != x ; then
7642 eval "DEFAULT_$LINE"
7643 else
7644 no_cache=1
7645 fi
7646
7647 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7648
7649 fi;
7650
7651 eval "$ac_cv_use_choice"
7652 if test "$no_cache" != 1; then
7653 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7654 fi
7655
7656 if test "$wxUSE_CHOICE" = yes; then
7657 echo "$as_me:$LINENO: result: yes" >&5
7658 echo "${ECHO_T}yes" >&6
7659 else
7660 echo "$as_me:$LINENO: result: no" >&5
7661 echo "${ECHO_T}no" >&6
7662 fi
7663
7664
7665 enablestring=
7666 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7667 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7668 no_cache=0
7669 # Check whether --enable-choicebook or --disable-choicebook was given.
7670 if test "${enable_choicebook+set}" = set; then
7671 enableval="$enable_choicebook"
7672
7673 if test "$enableval" = yes; then
7674 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
7675 else
7676 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
7677 fi
7678
7679 else
7680
7681 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7682 if test "x$LINE" != x ; then
7683 eval "DEFAULT_$LINE"
7684 else
7685 no_cache=1
7686 fi
7687
7688 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7689
7690 fi;
7691
7692 eval "$ac_cv_use_choicebook"
7693 if test "$no_cache" != 1; then
7694 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7695 fi
7696
7697 if test "$wxUSE_CHOICEBOOK" = yes; then
7698 echo "$as_me:$LINENO: result: yes" >&5
7699 echo "${ECHO_T}yes" >&6
7700 else
7701 echo "$as_me:$LINENO: result: no" >&5
7702 echo "${ECHO_T}no" >&6
7703 fi
7704
7705
7706 enablestring=
7707 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7708 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7709 no_cache=0
7710 # Check whether --enable-combobox or --disable-combobox was given.
7711 if test "${enable_combobox+set}" = set; then
7712 enableval="$enable_combobox"
7713
7714 if test "$enableval" = yes; then
7715 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
7716 else
7717 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
7718 fi
7719
7720 else
7721
7722 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7723 if test "x$LINE" != x ; then
7724 eval "DEFAULT_$LINE"
7725 else
7726 no_cache=1
7727 fi
7728
7729 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7730
7731 fi;
7732
7733 eval "$ac_cv_use_combobox"
7734 if test "$no_cache" != 1; then
7735 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7736 fi
7737
7738 if test "$wxUSE_COMBOBOX" = yes; then
7739 echo "$as_me:$LINENO: result: yes" >&5
7740 echo "${ECHO_T}yes" >&6
7741 else
7742 echo "$as_me:$LINENO: result: no" >&5
7743 echo "${ECHO_T}no" >&6
7744 fi
7745
7746
7747 enablestring=
7748 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
7749 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
7750 no_cache=0
7751 # Check whether --enable-datepick or --disable-datepick was given.
7752 if test "${enable_datepick+set}" = set; then
7753 enableval="$enable_datepick"
7754
7755 if test "$enableval" = yes; then
7756 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
7757 else
7758 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
7759 fi
7760
7761 else
7762
7763 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
7764 if test "x$LINE" != x ; then
7765 eval "DEFAULT_$LINE"
7766 else
7767 no_cache=1
7768 fi
7769
7770 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
7771
7772 fi;
7773
7774 eval "$ac_cv_use_datepick"
7775 if test "$no_cache" != 1; then
7776 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
7777 fi
7778
7779 if test "$wxUSE_DATEPICKCTRL" = yes; then
7780 echo "$as_me:$LINENO: result: yes" >&5
7781 echo "${ECHO_T}yes" >&6
7782 else
7783 echo "$as_me:$LINENO: result: no" >&5
7784 echo "${ECHO_T}no" >&6
7785 fi
7786
7787
7788 enablestring=
7789 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7790 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7791 no_cache=0
7792 # Check whether --enable-display or --disable-display was given.
7793 if test "${enable_display+set}" = set; then
7794 enableval="$enable_display"
7795
7796 if test "$enableval" = yes; then
7797 ac_cv_use_display='wxUSE_DISPLAY=yes'
7798 else
7799 ac_cv_use_display='wxUSE_DISPLAY=no'
7800 fi
7801
7802 else
7803
7804 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7805 if test "x$LINE" != x ; then
7806 eval "DEFAULT_$LINE"
7807 else
7808 no_cache=1
7809 fi
7810
7811 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7812
7813 fi;
7814
7815 eval "$ac_cv_use_display"
7816 if test "$no_cache" != 1; then
7817 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7818 fi
7819
7820 if test "$wxUSE_DISPLAY" = yes; then
7821 echo "$as_me:$LINENO: result: yes" >&5
7822 echo "${ECHO_T}yes" >&6
7823 else
7824 echo "$as_me:$LINENO: result: no" >&5
7825 echo "${ECHO_T}no" >&6
7826 fi
7827
7828
7829 enablestring=
7830 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7831 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7832 no_cache=0
7833 # Check whether --enable-gauge or --disable-gauge was given.
7834 if test "${enable_gauge+set}" = set; then
7835 enableval="$enable_gauge"
7836
7837 if test "$enableval" = yes; then
7838 ac_cv_use_gauge='wxUSE_GAUGE=yes'
7839 else
7840 ac_cv_use_gauge='wxUSE_GAUGE=no'
7841 fi
7842
7843 else
7844
7845 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7846 if test "x$LINE" != x ; then
7847 eval "DEFAULT_$LINE"
7848 else
7849 no_cache=1
7850 fi
7851
7852 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7853
7854 fi;
7855
7856 eval "$ac_cv_use_gauge"
7857 if test "$no_cache" != 1; then
7858 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7859 fi
7860
7861 if test "$wxUSE_GAUGE" = yes; then
7862 echo "$as_me:$LINENO: result: yes" >&5
7863 echo "${ECHO_T}yes" >&6
7864 else
7865 echo "$as_me:$LINENO: result: no" >&5
7866 echo "${ECHO_T}no" >&6
7867 fi
7868
7869
7870 enablestring=
7871 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7872 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7873 no_cache=0
7874 # Check whether --enable-grid or --disable-grid was given.
7875 if test "${enable_grid+set}" = set; then
7876 enableval="$enable_grid"
7877
7878 if test "$enableval" = yes; then
7879 ac_cv_use_grid='wxUSE_GRID=yes'
7880 else
7881 ac_cv_use_grid='wxUSE_GRID=no'
7882 fi
7883
7884 else
7885
7886 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7887 if test "x$LINE" != x ; then
7888 eval "DEFAULT_$LINE"
7889 else
7890 no_cache=1
7891 fi
7892
7893 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7894
7895 fi;
7896
7897 eval "$ac_cv_use_grid"
7898 if test "$no_cache" != 1; then
7899 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7900 fi
7901
7902 if test "$wxUSE_GRID" = yes; then
7903 echo "$as_me:$LINENO: result: yes" >&5
7904 echo "${ECHO_T}yes" >&6
7905 else
7906 echo "$as_me:$LINENO: result: no" >&5
7907 echo "${ECHO_T}no" >&6
7908 fi
7909
7910
7911 enablestring=
7912 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7913 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7914 no_cache=0
7915 # Check whether --enable-imaglist or --disable-imaglist was given.
7916 if test "${enable_imaglist+set}" = set; then
7917 enableval="$enable_imaglist"
7918
7919 if test "$enableval" = yes; then
7920 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7921 else
7922 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7923 fi
7924
7925 else
7926
7927 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7928 if test "x$LINE" != x ; then
7929 eval "DEFAULT_$LINE"
7930 else
7931 no_cache=1
7932 fi
7933
7934 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7935
7936 fi;
7937
7938 eval "$ac_cv_use_imaglist"
7939 if test "$no_cache" != 1; then
7940 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7941 fi
7942
7943 if test "$wxUSE_IMAGLIST" = yes; then
7944 echo "$as_me:$LINENO: result: yes" >&5
7945 echo "${ECHO_T}yes" >&6
7946 else
7947 echo "$as_me:$LINENO: result: no" >&5
7948 echo "${ECHO_T}no" >&6
7949 fi
7950
7951
7952 enablestring=
7953 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7954 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7955 no_cache=0
7956 # Check whether --enable-listbook or --disable-listbook was given.
7957 if test "${enable_listbook+set}" = set; then
7958 enableval="$enable_listbook"
7959
7960 if test "$enableval" = yes; then
7961 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
7962 else
7963 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
7964 fi
7965
7966 else
7967
7968 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7969 if test "x$LINE" != x ; then
7970 eval "DEFAULT_$LINE"
7971 else
7972 no_cache=1
7973 fi
7974
7975 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7976
7977 fi;
7978
7979 eval "$ac_cv_use_listbook"
7980 if test "$no_cache" != 1; then
7981 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7982 fi
7983
7984 if test "$wxUSE_LISTBOOK" = yes; then
7985 echo "$as_me:$LINENO: result: yes" >&5
7986 echo "${ECHO_T}yes" >&6
7987 else
7988 echo "$as_me:$LINENO: result: no" >&5
7989 echo "${ECHO_T}no" >&6
7990 fi
7991
7992
7993 enablestring=
7994 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7995 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7996 no_cache=0
7997 # Check whether --enable-listbox or --disable-listbox was given.
7998 if test "${enable_listbox+set}" = set; then
7999 enableval="$enable_listbox"
8000
8001 if test "$enableval" = yes; then
8002 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
8003 else
8004 ac_cv_use_listbox='wxUSE_LISTBOX=no'
8005 fi
8006
8007 else
8008
8009 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8010 if test "x$LINE" != x ; then
8011 eval "DEFAULT_$LINE"
8012 else
8013 no_cache=1
8014 fi
8015
8016 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8017
8018 fi;
8019
8020 eval "$ac_cv_use_listbox"
8021 if test "$no_cache" != 1; then
8022 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8023 fi
8024
8025 if test "$wxUSE_LISTBOX" = yes; then
8026 echo "$as_me:$LINENO: result: yes" >&5
8027 echo "${ECHO_T}yes" >&6
8028 else
8029 echo "$as_me:$LINENO: result: no" >&5
8030 echo "${ECHO_T}no" >&6
8031 fi
8032
8033
8034 enablestring=
8035 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8036 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8037 no_cache=0
8038 # Check whether --enable-listctrl or --disable-listctrl was given.
8039 if test "${enable_listctrl+set}" = set; then
8040 enableval="$enable_listctrl"
8041
8042 if test "$enableval" = yes; then
8043 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
8044 else
8045 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
8046 fi
8047
8048 else
8049
8050 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8051 if test "x$LINE" != x ; then
8052 eval "DEFAULT_$LINE"
8053 else
8054 no_cache=1
8055 fi
8056
8057 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8058
8059 fi;
8060
8061 eval "$ac_cv_use_listctrl"
8062 if test "$no_cache" != 1; then
8063 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8064 fi
8065
8066 if test "$wxUSE_LISTCTRL" = yes; then
8067 echo "$as_me:$LINENO: result: yes" >&5
8068 echo "${ECHO_T}yes" >&6
8069 else
8070 echo "$as_me:$LINENO: result: no" >&5
8071 echo "${ECHO_T}no" >&6
8072 fi
8073
8074
8075 enablestring=
8076 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8077 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8078 no_cache=0
8079 # Check whether --enable-notebook or --disable-notebook was given.
8080 if test "${enable_notebook+set}" = set; then
8081 enableval="$enable_notebook"
8082
8083 if test "$enableval" = yes; then
8084 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
8085 else
8086 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
8087 fi
8088
8089 else
8090
8091 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8092 if test "x$LINE" != x ; then
8093 eval "DEFAULT_$LINE"
8094 else
8095 no_cache=1
8096 fi
8097
8098 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8099
8100 fi;
8101
8102 eval "$ac_cv_use_notebook"
8103 if test "$no_cache" != 1; then
8104 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8105 fi
8106
8107 if test "$wxUSE_NOTEBOOK" = yes; then
8108 echo "$as_me:$LINENO: result: yes" >&5
8109 echo "${ECHO_T}yes" >&6
8110 else
8111 echo "$as_me:$LINENO: result: no" >&5
8112 echo "${ECHO_T}no" >&6
8113 fi
8114
8115
8116 enablestring=
8117 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8118 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8119 no_cache=0
8120 # Check whether --enable-radiobox or --disable-radiobox was given.
8121 if test "${enable_radiobox+set}" = set; then
8122 enableval="$enable_radiobox"
8123
8124 if test "$enableval" = yes; then
8125 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
8126 else
8127 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
8128 fi
8129
8130 else
8131
8132 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8133 if test "x$LINE" != x ; then
8134 eval "DEFAULT_$LINE"
8135 else
8136 no_cache=1
8137 fi
8138
8139 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8140
8141 fi;
8142
8143 eval "$ac_cv_use_radiobox"
8144 if test "$no_cache" != 1; then
8145 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8146 fi
8147
8148 if test "$wxUSE_RADIOBOX" = yes; then
8149 echo "$as_me:$LINENO: result: yes" >&5
8150 echo "${ECHO_T}yes" >&6
8151 else
8152 echo "$as_me:$LINENO: result: no" >&5
8153 echo "${ECHO_T}no" >&6
8154 fi
8155
8156
8157 enablestring=
8158 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8159 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8160 no_cache=0
8161 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8162 if test "${enable_radiobtn+set}" = set; then
8163 enableval="$enable_radiobtn"
8164
8165 if test "$enableval" = yes; then
8166 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
8167 else
8168 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
8169 fi
8170
8171 else
8172
8173 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8174 if test "x$LINE" != x ; then
8175 eval "DEFAULT_$LINE"
8176 else
8177 no_cache=1
8178 fi
8179
8180 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8181
8182 fi;
8183
8184 eval "$ac_cv_use_radiobtn"
8185 if test "$no_cache" != 1; then
8186 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8187 fi
8188
8189 if test "$wxUSE_RADIOBTN" = yes; then
8190 echo "$as_me:$LINENO: result: yes" >&5
8191 echo "${ECHO_T}yes" >&6
8192 else
8193 echo "$as_me:$LINENO: result: no" >&5
8194 echo "${ECHO_T}no" >&6
8195 fi
8196
8197
8198 enablestring=
8199 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8200 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8201 no_cache=0
8202 # Check whether --enable-sash or --disable-sash was given.
8203 if test "${enable_sash+set}" = set; then
8204 enableval="$enable_sash"
8205
8206 if test "$enableval" = yes; then
8207 ac_cv_use_sash='wxUSE_SASH=yes'
8208 else
8209 ac_cv_use_sash='wxUSE_SASH=no'
8210 fi
8211
8212 else
8213
8214 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8215 if test "x$LINE" != x ; then
8216 eval "DEFAULT_$LINE"
8217 else
8218 no_cache=1
8219 fi
8220
8221 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8222
8223 fi;
8224
8225 eval "$ac_cv_use_sash"
8226 if test "$no_cache" != 1; then
8227 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8228 fi
8229
8230 if test "$wxUSE_SASH" = yes; then
8231 echo "$as_me:$LINENO: result: yes" >&5
8232 echo "${ECHO_T}yes" >&6
8233 else
8234 echo "$as_me:$LINENO: result: no" >&5
8235 echo "${ECHO_T}no" >&6
8236 fi
8237
8238
8239 enablestring=
8240 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8241 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8242 no_cache=0
8243 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8244 if test "${enable_scrollbar+set}" = set; then
8245 enableval="$enable_scrollbar"
8246
8247 if test "$enableval" = yes; then
8248 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
8249 else
8250 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
8251 fi
8252
8253 else
8254
8255 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8256 if test "x$LINE" != x ; then
8257 eval "DEFAULT_$LINE"
8258 else
8259 no_cache=1
8260 fi
8261
8262 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8263
8264 fi;
8265
8266 eval "$ac_cv_use_scrollbar"
8267 if test "$no_cache" != 1; then
8268 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8269 fi
8270
8271 if test "$wxUSE_SCROLLBAR" = yes; then
8272 echo "$as_me:$LINENO: result: yes" >&5
8273 echo "${ECHO_T}yes" >&6
8274 else
8275 echo "$as_me:$LINENO: result: no" >&5
8276 echo "${ECHO_T}no" >&6
8277 fi
8278
8279
8280 enablestring=
8281 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8282 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8283 no_cache=0
8284 # Check whether --enable-slider or --disable-slider was given.
8285 if test "${enable_slider+set}" = set; then
8286 enableval="$enable_slider"
8287
8288 if test "$enableval" = yes; then
8289 ac_cv_use_slider='wxUSE_SLIDER=yes'
8290 else
8291 ac_cv_use_slider='wxUSE_SLIDER=no'
8292 fi
8293
8294 else
8295
8296 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8297 if test "x$LINE" != x ; then
8298 eval "DEFAULT_$LINE"
8299 else
8300 no_cache=1
8301 fi
8302
8303 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8304
8305 fi;
8306
8307 eval "$ac_cv_use_slider"
8308 if test "$no_cache" != 1; then
8309 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8310 fi
8311
8312 if test "$wxUSE_SLIDER" = yes; then
8313 echo "$as_me:$LINENO: result: yes" >&5
8314 echo "${ECHO_T}yes" >&6
8315 else
8316 echo "$as_me:$LINENO: result: no" >&5
8317 echo "${ECHO_T}no" >&6
8318 fi
8319
8320
8321 enablestring=
8322 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8323 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8324 no_cache=0
8325 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8326 if test "${enable_spinbtn+set}" = set; then
8327 enableval="$enable_spinbtn"
8328
8329 if test "$enableval" = yes; then
8330 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
8331 else
8332 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
8333 fi
8334
8335 else
8336
8337 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8338 if test "x$LINE" != x ; then
8339 eval "DEFAULT_$LINE"
8340 else
8341 no_cache=1
8342 fi
8343
8344 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8345
8346 fi;
8347
8348 eval "$ac_cv_use_spinbtn"
8349 if test "$no_cache" != 1; then
8350 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8351 fi
8352
8353 if test "$wxUSE_SPINBTN" = yes; then
8354 echo "$as_me:$LINENO: result: yes" >&5
8355 echo "${ECHO_T}yes" >&6
8356 else
8357 echo "$as_me:$LINENO: result: no" >&5
8358 echo "${ECHO_T}no" >&6
8359 fi
8360
8361
8362 enablestring=
8363 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8364 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8365 no_cache=0
8366 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8367 if test "${enable_spinctrl+set}" = set; then
8368 enableval="$enable_spinctrl"
8369
8370 if test "$enableval" = yes; then
8371 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
8372 else
8373 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
8374 fi
8375
8376 else
8377
8378 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8379 if test "x$LINE" != x ; then
8380 eval "DEFAULT_$LINE"
8381 else
8382 no_cache=1
8383 fi
8384
8385 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8386
8387 fi;
8388
8389 eval "$ac_cv_use_spinctrl"
8390 if test "$no_cache" != 1; then
8391 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8392 fi
8393
8394 if test "$wxUSE_SPINCTRL" = yes; then
8395 echo "$as_me:$LINENO: result: yes" >&5
8396 echo "${ECHO_T}yes" >&6
8397 else
8398 echo "$as_me:$LINENO: result: no" >&5
8399 echo "${ECHO_T}no" >&6
8400 fi
8401
8402
8403 enablestring=
8404 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8405 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8406 no_cache=0
8407 # Check whether --enable-splitter or --disable-splitter was given.
8408 if test "${enable_splitter+set}" = set; then
8409 enableval="$enable_splitter"
8410
8411 if test "$enableval" = yes; then
8412 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
8413 else
8414 ac_cv_use_splitter='wxUSE_SPLITTER=no'
8415 fi
8416
8417 else
8418
8419 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8420 if test "x$LINE" != x ; then
8421 eval "DEFAULT_$LINE"
8422 else
8423 no_cache=1
8424 fi
8425
8426 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8427
8428 fi;
8429
8430 eval "$ac_cv_use_splitter"
8431 if test "$no_cache" != 1; then
8432 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8433 fi
8434
8435 if test "$wxUSE_SPLITTER" = yes; then
8436 echo "$as_me:$LINENO: result: yes" >&5
8437 echo "${ECHO_T}yes" >&6
8438 else
8439 echo "$as_me:$LINENO: result: no" >&5
8440 echo "${ECHO_T}no" >&6
8441 fi
8442
8443
8444 enablestring=
8445 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8446 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8447 no_cache=0
8448 # Check whether --enable-statbmp or --disable-statbmp was given.
8449 if test "${enable_statbmp+set}" = set; then
8450 enableval="$enable_statbmp"
8451
8452 if test "$enableval" = yes; then
8453 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
8454 else
8455 ac_cv_use_statbmp='wxUSE_STATBMP=no'
8456 fi
8457
8458 else
8459
8460 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8461 if test "x$LINE" != x ; then
8462 eval "DEFAULT_$LINE"
8463 else
8464 no_cache=1
8465 fi
8466
8467 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8468
8469 fi;
8470
8471 eval "$ac_cv_use_statbmp"
8472 if test "$no_cache" != 1; then
8473 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8474 fi
8475
8476 if test "$wxUSE_STATBMP" = yes; then
8477 echo "$as_me:$LINENO: result: yes" >&5
8478 echo "${ECHO_T}yes" >&6
8479 else
8480 echo "$as_me:$LINENO: result: no" >&5
8481 echo "${ECHO_T}no" >&6
8482 fi
8483
8484
8485 enablestring=
8486 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8487 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8488 no_cache=0
8489 # Check whether --enable-statbox or --disable-statbox was given.
8490 if test "${enable_statbox+set}" = set; then
8491 enableval="$enable_statbox"
8492
8493 if test "$enableval" = yes; then
8494 ac_cv_use_statbox='wxUSE_STATBOX=yes'
8495 else
8496 ac_cv_use_statbox='wxUSE_STATBOX=no'
8497 fi
8498
8499 else
8500
8501 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8502 if test "x$LINE" != x ; then
8503 eval "DEFAULT_$LINE"
8504 else
8505 no_cache=1
8506 fi
8507
8508 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8509
8510 fi;
8511
8512 eval "$ac_cv_use_statbox"
8513 if test "$no_cache" != 1; then
8514 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8515 fi
8516
8517 if test "$wxUSE_STATBOX" = yes; then
8518 echo "$as_me:$LINENO: result: yes" >&5
8519 echo "${ECHO_T}yes" >&6
8520 else
8521 echo "$as_me:$LINENO: result: no" >&5
8522 echo "${ECHO_T}no" >&6
8523 fi
8524
8525
8526 enablestring=
8527 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8528 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8529 no_cache=0
8530 # Check whether --enable-statline or --disable-statline was given.
8531 if test "${enable_statline+set}" = set; then
8532 enableval="$enable_statline"
8533
8534 if test "$enableval" = yes; then
8535 ac_cv_use_statline='wxUSE_STATLINE=yes'
8536 else
8537 ac_cv_use_statline='wxUSE_STATLINE=no'
8538 fi
8539
8540 else
8541
8542 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8543 if test "x$LINE" != x ; then
8544 eval "DEFAULT_$LINE"
8545 else
8546 no_cache=1
8547 fi
8548
8549 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8550
8551 fi;
8552
8553 eval "$ac_cv_use_statline"
8554 if test "$no_cache" != 1; then
8555 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8556 fi
8557
8558 if test "$wxUSE_STATLINE" = yes; then
8559 echo "$as_me:$LINENO: result: yes" >&5
8560 echo "${ECHO_T}yes" >&6
8561 else
8562 echo "$as_me:$LINENO: result: no" >&5
8563 echo "${ECHO_T}no" >&6
8564 fi
8565
8566
8567 enablestring=
8568 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8569 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8570 no_cache=0
8571 # Check whether --enable-stattext or --disable-stattext was given.
8572 if test "${enable_stattext+set}" = set; then
8573 enableval="$enable_stattext"
8574
8575 if test "$enableval" = yes; then
8576 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
8577 else
8578 ac_cv_use_stattext='wxUSE_STATTEXT=no'
8579 fi
8580
8581 else
8582
8583 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8584 if test "x$LINE" != x ; then
8585 eval "DEFAULT_$LINE"
8586 else
8587 no_cache=1
8588 fi
8589
8590 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8591
8592 fi;
8593
8594 eval "$ac_cv_use_stattext"
8595 if test "$no_cache" != 1; then
8596 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8597 fi
8598
8599 if test "$wxUSE_STATTEXT" = yes; then
8600 echo "$as_me:$LINENO: result: yes" >&5
8601 echo "${ECHO_T}yes" >&6
8602 else
8603 echo "$as_me:$LINENO: result: no" >&5
8604 echo "${ECHO_T}no" >&6
8605 fi
8606
8607
8608 enablestring=
8609 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8610 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8611 no_cache=0
8612 # Check whether --enable-statusbar or --disable-statusbar was given.
8613 if test "${enable_statusbar+set}" = set; then
8614 enableval="$enable_statusbar"
8615
8616 if test "$enableval" = yes; then
8617 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
8618 else
8619 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
8620 fi
8621
8622 else
8623
8624 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8625 if test "x$LINE" != x ; then
8626 eval "DEFAULT_$LINE"
8627 else
8628 no_cache=1
8629 fi
8630
8631 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8632
8633 fi;
8634
8635 eval "$ac_cv_use_statusbar"
8636 if test "$no_cache" != 1; then
8637 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8638 fi
8639
8640 if test "$wxUSE_STATUSBAR" = yes; then
8641 echo "$as_me:$LINENO: result: yes" >&5
8642 echo "${ECHO_T}yes" >&6
8643 else
8644 echo "$as_me:$LINENO: result: no" >&5
8645 echo "${ECHO_T}no" >&6
8646 fi
8647
8648
8649 enablestring=
8650 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8651 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8652 no_cache=0
8653 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8654 if test "${enable_tabdialog+set}" = set; then
8655 enableval="$enable_tabdialog"
8656
8657 if test "$enableval" = yes; then
8658 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
8659 else
8660 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
8661 fi
8662
8663 else
8664
8665 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8666 if test "x$LINE" != x ; then
8667 eval "DEFAULT_$LINE"
8668 else
8669 no_cache=1
8670 fi
8671
8672 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8673
8674 fi;
8675
8676 eval "$ac_cv_use_tabdialog"
8677 if test "$no_cache" != 1; then
8678 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8679 fi
8680
8681 if test "$wxUSE_TABDIALOG" = yes; then
8682 echo "$as_me:$LINENO: result: yes" >&5
8683 echo "${ECHO_T}yes" >&6
8684 else
8685 echo "$as_me:$LINENO: result: no" >&5
8686 echo "${ECHO_T}no" >&6
8687 fi
8688
8689
8690 enablestring=
8691 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8692 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8693 no_cache=0
8694 # Check whether --enable-textctrl or --disable-textctrl was given.
8695 if test "${enable_textctrl+set}" = set; then
8696 enableval="$enable_textctrl"
8697
8698 if test "$enableval" = yes; then
8699 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
8700 else
8701 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
8702 fi
8703
8704 else
8705
8706 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8707 if test "x$LINE" != x ; then
8708 eval "DEFAULT_$LINE"
8709 else
8710 no_cache=1
8711 fi
8712
8713 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8714
8715 fi;
8716
8717 eval "$ac_cv_use_textctrl"
8718 if test "$no_cache" != 1; then
8719 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8720 fi
8721
8722 if test "$wxUSE_TEXTCTRL" = yes; then
8723 echo "$as_me:$LINENO: result: yes" >&5
8724 echo "${ECHO_T}yes" >&6
8725 else
8726 echo "$as_me:$LINENO: result: no" >&5
8727 echo "${ECHO_T}no" >&6
8728 fi
8729
8730
8731 enablestring=
8732 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8733 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8734 no_cache=0
8735 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8736 if test "${enable_togglebtn+set}" = set; then
8737 enableval="$enable_togglebtn"
8738
8739 if test "$enableval" = yes; then
8740 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
8741 else
8742 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
8743 fi
8744
8745 else
8746
8747 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8748 if test "x$LINE" != x ; then
8749 eval "DEFAULT_$LINE"
8750 else
8751 no_cache=1
8752 fi
8753
8754 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8755
8756 fi;
8757
8758 eval "$ac_cv_use_togglebtn"
8759 if test "$no_cache" != 1; then
8760 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8761 fi
8762
8763 if test "$wxUSE_TOGGLEBTN" = yes; then
8764 echo "$as_me:$LINENO: result: yes" >&5
8765 echo "${ECHO_T}yes" >&6
8766 else
8767 echo "$as_me:$LINENO: result: no" >&5
8768 echo "${ECHO_T}no" >&6
8769 fi
8770
8771
8772 enablestring=
8773 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8774 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8775 no_cache=0
8776 # Check whether --enable-toolbar or --disable-toolbar was given.
8777 if test "${enable_toolbar+set}" = set; then
8778 enableval="$enable_toolbar"
8779
8780 if test "$enableval" = yes; then
8781 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
8782 else
8783 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
8784 fi
8785
8786 else
8787
8788 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8789 if test "x$LINE" != x ; then
8790 eval "DEFAULT_$LINE"
8791 else
8792 no_cache=1
8793 fi
8794
8795 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8796
8797 fi;
8798
8799 eval "$ac_cv_use_toolbar"
8800 if test "$no_cache" != 1; then
8801 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8802 fi
8803
8804 if test "$wxUSE_TOOLBAR" = yes; then
8805 echo "$as_me:$LINENO: result: yes" >&5
8806 echo "${ECHO_T}yes" >&6
8807 else
8808 echo "$as_me:$LINENO: result: no" >&5
8809 echo "${ECHO_T}no" >&6
8810 fi
8811
8812
8813 enablestring=
8814 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8815 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8816 no_cache=0
8817 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8818 if test "${enable_tbarnative+set}" = set; then
8819 enableval="$enable_tbarnative"
8820
8821 if test "$enableval" = yes; then
8822 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
8823 else
8824 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
8825 fi
8826
8827 else
8828
8829 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8830 if test "x$LINE" != x ; then
8831 eval "DEFAULT_$LINE"
8832 else
8833 no_cache=1
8834 fi
8835
8836 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8837
8838 fi;
8839
8840 eval "$ac_cv_use_tbarnative"
8841 if test "$no_cache" != 1; then
8842 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8843 fi
8844
8845 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8846 echo "$as_me:$LINENO: result: yes" >&5
8847 echo "${ECHO_T}yes" >&6
8848 else
8849 echo "$as_me:$LINENO: result: no" >&5
8850 echo "${ECHO_T}no" >&6
8851 fi
8852
8853
8854 enablestring=
8855 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8856 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8857 no_cache=0
8858 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8859 if test "${enable_tbarsmpl+set}" = set; then
8860 enableval="$enable_tbarsmpl"
8861
8862 if test "$enableval" = yes; then
8863 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
8864 else
8865 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
8866 fi
8867
8868 else
8869
8870 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8871 if test "x$LINE" != x ; then
8872 eval "DEFAULT_$LINE"
8873 else
8874 no_cache=1
8875 fi
8876
8877 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8878
8879 fi;
8880
8881 eval "$ac_cv_use_tbarsmpl"
8882 if test "$no_cache" != 1; then
8883 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8884 fi
8885
8886 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8887 echo "$as_me:$LINENO: result: yes" >&5
8888 echo "${ECHO_T}yes" >&6
8889 else
8890 echo "$as_me:$LINENO: result: no" >&5
8891 echo "${ECHO_T}no" >&6
8892 fi
8893
8894
8895 enablestring=
8896 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8897 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8898 no_cache=0
8899 # Check whether --enable-treectrl or --disable-treectrl was given.
8900 if test "${enable_treectrl+set}" = set; then
8901 enableval="$enable_treectrl"
8902
8903 if test "$enableval" = yes; then
8904 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8905 else
8906 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8907 fi
8908
8909 else
8910
8911 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8912 if test "x$LINE" != x ; then
8913 eval "DEFAULT_$LINE"
8914 else
8915 no_cache=1
8916 fi
8917
8918 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8919
8920 fi;
8921
8922 eval "$ac_cv_use_treectrl"
8923 if test "$no_cache" != 1; then
8924 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8925 fi
8926
8927 if test "$wxUSE_TREECTRL" = yes; then
8928 echo "$as_me:$LINENO: result: yes" >&5
8929 echo "${ECHO_T}yes" >&6
8930 else
8931 echo "$as_me:$LINENO: result: no" >&5
8932 echo "${ECHO_T}no" >&6
8933 fi
8934
8935
8936 enablestring=
8937 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8938 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8939 no_cache=0
8940 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8941 if test "${enable_tipwindow+set}" = set; then
8942 enableval="$enable_tipwindow"
8943
8944 if test "$enableval" = yes; then
8945 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8946 else
8947 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8948 fi
8949
8950 else
8951
8952 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8953 if test "x$LINE" != x ; then
8954 eval "DEFAULT_$LINE"
8955 else
8956 no_cache=1
8957 fi
8958
8959 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8960
8961 fi;
8962
8963 eval "$ac_cv_use_tipwindow"
8964 if test "$no_cache" != 1; then
8965 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8966 fi
8967
8968 if test "$wxUSE_TIPWINDOW" = yes; then
8969 echo "$as_me:$LINENO: result: yes" >&5
8970 echo "${ECHO_T}yes" >&6
8971 else
8972 echo "$as_me:$LINENO: result: no" >&5
8973 echo "${ECHO_T}no" >&6
8974 fi
8975
8976
8977 enablestring=
8978 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8979 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8980 no_cache=0
8981 # Check whether --enable-popupwin or --disable-popupwin was given.
8982 if test "${enable_popupwin+set}" = set; then
8983 enableval="$enable_popupwin"
8984
8985 if test "$enableval" = yes; then
8986 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8987 else
8988 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8989 fi
8990
8991 else
8992
8993 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8994 if test "x$LINE" != x ; then
8995 eval "DEFAULT_$LINE"
8996 else
8997 no_cache=1
8998 fi
8999
9000 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
9001
9002 fi;
9003
9004 eval "$ac_cv_use_popupwin"
9005 if test "$no_cache" != 1; then
9006 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9007 fi
9008
9009 if test "$wxUSE_POPUPWIN" = yes; then
9010 echo "$as_me:$LINENO: result: yes" >&5
9011 echo "${ECHO_T}yes" >&6
9012 else
9013 echo "$as_me:$LINENO: result: no" >&5
9014 echo "${ECHO_T}no" >&6
9015 fi
9016
9017
9018
9019
9020 enablestring=
9021 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9022 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9023 no_cache=0
9024 # Check whether --enable-commondlg or --disable-commondlg was given.
9025 if test "${enable_commondlg+set}" = set; then
9026 enableval="$enable_commondlg"
9027
9028 if test "$enableval" = yes; then
9029 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
9030 else
9031 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
9032 fi
9033
9034 else
9035
9036 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9037 if test "x$LINE" != x ; then
9038 eval "DEFAULT_$LINE"
9039 else
9040 no_cache=1
9041 fi
9042
9043 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9044
9045 fi;
9046
9047 eval "$ac_cv_use_commondlg"
9048 if test "$no_cache" != 1; then
9049 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9050 fi
9051
9052 if test "$wxUSE_COMMONDLGS" = yes; then
9053 echo "$as_me:$LINENO: result: yes" >&5
9054 echo "${ECHO_T}yes" >&6
9055 else
9056 echo "$as_me:$LINENO: result: no" >&5
9057 echo "${ECHO_T}no" >&6
9058 fi
9059
9060
9061 enablestring=
9062 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9063 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9064 no_cache=0
9065 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9066 if test "${enable_choicedlg+set}" = set; then
9067 enableval="$enable_choicedlg"
9068
9069 if test "$enableval" = yes; then
9070 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
9071 else
9072 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
9073 fi
9074
9075 else
9076
9077 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9078 if test "x$LINE" != x ; then
9079 eval "DEFAULT_$LINE"
9080 else
9081 no_cache=1
9082 fi
9083
9084 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9085
9086 fi;
9087
9088 eval "$ac_cv_use_choicedlg"
9089 if test "$no_cache" != 1; then
9090 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9091 fi
9092
9093 if test "$wxUSE_CHOICEDLG" = yes; then
9094 echo "$as_me:$LINENO: result: yes" >&5
9095 echo "${ECHO_T}yes" >&6
9096 else
9097 echo "$as_me:$LINENO: result: no" >&5
9098 echo "${ECHO_T}no" >&6
9099 fi
9100
9101
9102 enablestring=
9103 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9104 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9105 no_cache=0
9106 # Check whether --enable-coldlg or --disable-coldlg was given.
9107 if test "${enable_coldlg+set}" = set; then
9108 enableval="$enable_coldlg"
9109
9110 if test "$enableval" = yes; then
9111 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
9112 else
9113 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
9114 fi
9115
9116 else
9117
9118 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9119 if test "x$LINE" != x ; then
9120 eval "DEFAULT_$LINE"
9121 else
9122 no_cache=1
9123 fi
9124
9125 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9126
9127 fi;
9128
9129 eval "$ac_cv_use_coldlg"
9130 if test "$no_cache" != 1; then
9131 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9132 fi
9133
9134 if test "$wxUSE_COLOURDLG" = yes; then
9135 echo "$as_me:$LINENO: result: yes" >&5
9136 echo "${ECHO_T}yes" >&6
9137 else
9138 echo "$as_me:$LINENO: result: no" >&5
9139 echo "${ECHO_T}no" >&6
9140 fi
9141
9142
9143 enablestring=
9144 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9145 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9146 no_cache=0
9147 # Check whether --enable-filedlg or --disable-filedlg was given.
9148 if test "${enable_filedlg+set}" = set; then
9149 enableval="$enable_filedlg"
9150
9151 if test "$enableval" = yes; then
9152 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
9153 else
9154 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
9155 fi
9156
9157 else
9158
9159 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9160 if test "x$LINE" != x ; then
9161 eval "DEFAULT_$LINE"
9162 else
9163 no_cache=1
9164 fi
9165
9166 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9167
9168 fi;
9169
9170 eval "$ac_cv_use_filedlg"
9171 if test "$no_cache" != 1; then
9172 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9173 fi
9174
9175 if test "$wxUSE_FILEDLG" = yes; then
9176 echo "$as_me:$LINENO: result: yes" >&5
9177 echo "${ECHO_T}yes" >&6
9178 else
9179 echo "$as_me:$LINENO: result: no" >&5
9180 echo "${ECHO_T}no" >&6
9181 fi
9182
9183
9184 enablestring=
9185 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9186 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9187 no_cache=0
9188 # Check whether --enable-finddlg or --disable-finddlg was given.
9189 if test "${enable_finddlg+set}" = set; then
9190 enableval="$enable_finddlg"
9191
9192 if test "$enableval" = yes; then
9193 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
9194 else
9195 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
9196 fi
9197
9198 else
9199
9200 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9201 if test "x$LINE" != x ; then
9202 eval "DEFAULT_$LINE"
9203 else
9204 no_cache=1
9205 fi
9206
9207 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9208
9209 fi;
9210
9211 eval "$ac_cv_use_finddlg"
9212 if test "$no_cache" != 1; then
9213 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9214 fi
9215
9216 if test "$wxUSE_FINDREPLDLG" = yes; then
9217 echo "$as_me:$LINENO: result: yes" >&5
9218 echo "${ECHO_T}yes" >&6
9219 else
9220 echo "$as_me:$LINENO: result: no" >&5
9221 echo "${ECHO_T}no" >&6
9222 fi
9223
9224
9225 enablestring=
9226 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9227 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9228 no_cache=0
9229 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9230 if test "${enable_fontdlg+set}" = set; then
9231 enableval="$enable_fontdlg"
9232
9233 if test "$enableval" = yes; then
9234 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
9235 else
9236 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
9237 fi
9238
9239 else
9240
9241 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9242 if test "x$LINE" != x ; then
9243 eval "DEFAULT_$LINE"
9244 else
9245 no_cache=1
9246 fi
9247
9248 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9249
9250 fi;
9251
9252 eval "$ac_cv_use_fontdlg"
9253 if test "$no_cache" != 1; then
9254 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9255 fi
9256
9257 if test "$wxUSE_FONTDLG" = yes; then
9258 echo "$as_me:$LINENO: result: yes" >&5
9259 echo "${ECHO_T}yes" >&6
9260 else
9261 echo "$as_me:$LINENO: result: no" >&5
9262 echo "${ECHO_T}no" >&6
9263 fi
9264
9265
9266 enablestring=
9267 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9268 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9269 no_cache=0
9270 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9271 if test "${enable_dirdlg+set}" = set; then
9272 enableval="$enable_dirdlg"
9273
9274 if test "$enableval" = yes; then
9275 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
9276 else
9277 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
9278 fi
9279
9280 else
9281
9282 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9283 if test "x$LINE" != x ; then
9284 eval "DEFAULT_$LINE"
9285 else
9286 no_cache=1
9287 fi
9288
9289 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9290
9291 fi;
9292
9293 eval "$ac_cv_use_dirdlg"
9294 if test "$no_cache" != 1; then
9295 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9296 fi
9297
9298 if test "$wxUSE_DIRDLG" = yes; then
9299 echo "$as_me:$LINENO: result: yes" >&5
9300 echo "${ECHO_T}yes" >&6
9301 else
9302 echo "$as_me:$LINENO: result: no" >&5
9303 echo "${ECHO_T}no" >&6
9304 fi
9305
9306
9307 enablestring=
9308 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9309 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9310 no_cache=0
9311 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9312 if test "${enable_msgdlg+set}" = set; then
9313 enableval="$enable_msgdlg"
9314
9315 if test "$enableval" = yes; then
9316 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
9317 else
9318 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
9319 fi
9320
9321 else
9322
9323 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9324 if test "x$LINE" != x ; then
9325 eval "DEFAULT_$LINE"
9326 else
9327 no_cache=1
9328 fi
9329
9330 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9331
9332 fi;
9333
9334 eval "$ac_cv_use_msgdlg"
9335 if test "$no_cache" != 1; then
9336 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9337 fi
9338
9339 if test "$wxUSE_MSGDLG" = yes; then
9340 echo "$as_me:$LINENO: result: yes" >&5
9341 echo "${ECHO_T}yes" >&6
9342 else
9343 echo "$as_me:$LINENO: result: no" >&5
9344 echo "${ECHO_T}no" >&6
9345 fi
9346
9347
9348 enablestring=
9349 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9350 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9351 no_cache=0
9352 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9353 if test "${enable_numberdlg+set}" = set; then
9354 enableval="$enable_numberdlg"
9355
9356 if test "$enableval" = yes; then
9357 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
9358 else
9359 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
9360 fi
9361
9362 else
9363
9364 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9365 if test "x$LINE" != x ; then
9366 eval "DEFAULT_$LINE"
9367 else
9368 no_cache=1
9369 fi
9370
9371 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9372
9373 fi;
9374
9375 eval "$ac_cv_use_numberdlg"
9376 if test "$no_cache" != 1; then
9377 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9378 fi
9379
9380 if test "$wxUSE_NUMBERDLG" = yes; then
9381 echo "$as_me:$LINENO: result: yes" >&5
9382 echo "${ECHO_T}yes" >&6
9383 else
9384 echo "$as_me:$LINENO: result: no" >&5
9385 echo "${ECHO_T}no" >&6
9386 fi
9387
9388
9389 enablestring=
9390 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9391 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9392 no_cache=0
9393 # Check whether --enable-splash or --disable-splash was given.
9394 if test "${enable_splash+set}" = set; then
9395 enableval="$enable_splash"
9396
9397 if test "$enableval" = yes; then
9398 ac_cv_use_splash='wxUSE_SPLASH=yes'
9399 else
9400 ac_cv_use_splash='wxUSE_SPLASH=no'
9401 fi
9402
9403 else
9404
9405 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9406 if test "x$LINE" != x ; then
9407 eval "DEFAULT_$LINE"
9408 else
9409 no_cache=1
9410 fi
9411
9412 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9413
9414 fi;
9415
9416 eval "$ac_cv_use_splash"
9417 if test "$no_cache" != 1; then
9418 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9419 fi
9420
9421 if test "$wxUSE_SPLASH" = yes; then
9422 echo "$as_me:$LINENO: result: yes" >&5
9423 echo "${ECHO_T}yes" >&6
9424 else
9425 echo "$as_me:$LINENO: result: no" >&5
9426 echo "${ECHO_T}no" >&6
9427 fi
9428
9429
9430 enablestring=
9431 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9432 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9433 no_cache=0
9434 # Check whether --enable-textdlg or --disable-textdlg was given.
9435 if test "${enable_textdlg+set}" = set; then
9436 enableval="$enable_textdlg"
9437
9438 if test "$enableval" = yes; then
9439 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
9440 else
9441 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
9442 fi
9443
9444 else
9445
9446 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9447 if test "x$LINE" != x ; then
9448 eval "DEFAULT_$LINE"
9449 else
9450 no_cache=1
9451 fi
9452
9453 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9454
9455 fi;
9456
9457 eval "$ac_cv_use_textdlg"
9458 if test "$no_cache" != 1; then
9459 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9460 fi
9461
9462 if test "$wxUSE_TEXTDLG" = yes; then
9463 echo "$as_me:$LINENO: result: yes" >&5
9464 echo "${ECHO_T}yes" >&6
9465 else
9466 echo "$as_me:$LINENO: result: no" >&5
9467 echo "${ECHO_T}no" >&6
9468 fi
9469
9470
9471 enablestring=
9472 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9473 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9474 no_cache=0
9475 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9476 if test "${enable_tipdlg+set}" = set; then
9477 enableval="$enable_tipdlg"
9478
9479 if test "$enableval" = yes; then
9480 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
9481 else
9482 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
9483 fi
9484
9485 else
9486
9487 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9488 if test "x$LINE" != x ; then
9489 eval "DEFAULT_$LINE"
9490 else
9491 no_cache=1
9492 fi
9493
9494 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9495
9496 fi;
9497
9498 eval "$ac_cv_use_tipdlg"
9499 if test "$no_cache" != 1; then
9500 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9501 fi
9502
9503 if test "$wxUSE_STARTUP_TIPS" = yes; then
9504 echo "$as_me:$LINENO: result: yes" >&5
9505 echo "${ECHO_T}yes" >&6
9506 else
9507 echo "$as_me:$LINENO: result: no" >&5
9508 echo "${ECHO_T}no" >&6
9509 fi
9510
9511
9512 enablestring=
9513 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9514 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9515 no_cache=0
9516 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9517 if test "${enable_progressdlg+set}" = set; then
9518 enableval="$enable_progressdlg"
9519
9520 if test "$enableval" = yes; then
9521 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
9522 else
9523 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
9524 fi
9525
9526 else
9527
9528 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9529 if test "x$LINE" != x ; then
9530 eval "DEFAULT_$LINE"
9531 else
9532 no_cache=1
9533 fi
9534
9535 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9536
9537 fi;
9538
9539 eval "$ac_cv_use_progressdlg"
9540 if test "$no_cache" != 1; then
9541 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9542 fi
9543
9544 if test "$wxUSE_PROGRESSDLG" = yes; then
9545 echo "$as_me:$LINENO: result: yes" >&5
9546 echo "${ECHO_T}yes" >&6
9547 else
9548 echo "$as_me:$LINENO: result: no" >&5
9549 echo "${ECHO_T}no" >&6
9550 fi
9551
9552
9553 enablestring=
9554 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9555 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9556 no_cache=0
9557 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9558 if test "${enable_wizarddlg+set}" = set; then
9559 enableval="$enable_wizarddlg"
9560
9561 if test "$enableval" = yes; then
9562 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
9563 else
9564 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
9565 fi
9566
9567 else
9568
9569 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9570 if test "x$LINE" != x ; then
9571 eval "DEFAULT_$LINE"
9572 else
9573 no_cache=1
9574 fi
9575
9576 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9577
9578 fi;
9579
9580 eval "$ac_cv_use_wizarddlg"
9581 if test "$no_cache" != 1; then
9582 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9583 fi
9584
9585 if test "$wxUSE_WIZARDDLG" = yes; then
9586 echo "$as_me:$LINENO: result: yes" >&5
9587 echo "${ECHO_T}yes" >&6
9588 else
9589 echo "$as_me:$LINENO: result: no" >&5
9590 echo "${ECHO_T}no" >&6
9591 fi
9592
9593
9594
9595
9596 enablestring=
9597 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9598 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9599 no_cache=0
9600 # Check whether --enable-menus or --disable-menus was given.
9601 if test "${enable_menus+set}" = set; then
9602 enableval="$enable_menus"
9603
9604 if test "$enableval" = yes; then
9605 ac_cv_use_menus='wxUSE_MENUS=yes'
9606 else
9607 ac_cv_use_menus='wxUSE_MENUS=no'
9608 fi
9609
9610 else
9611
9612 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9613 if test "x$LINE" != x ; then
9614 eval "DEFAULT_$LINE"
9615 else
9616 no_cache=1
9617 fi
9618
9619 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9620
9621 fi;
9622
9623 eval "$ac_cv_use_menus"
9624 if test "$no_cache" != 1; then
9625 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9626 fi
9627
9628 if test "$wxUSE_MENUS" = yes; then
9629 echo "$as_me:$LINENO: result: yes" >&5
9630 echo "${ECHO_T}yes" >&6
9631 else
9632 echo "$as_me:$LINENO: result: no" >&5
9633 echo "${ECHO_T}no" >&6
9634 fi
9635
9636
9637 enablestring=
9638 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9639 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9640 no_cache=0
9641 # Check whether --enable-miniframe or --disable-miniframe was given.
9642 if test "${enable_miniframe+set}" = set; then
9643 enableval="$enable_miniframe"
9644
9645 if test "$enableval" = yes; then
9646 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
9647 else
9648 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
9649 fi
9650
9651 else
9652
9653 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9654 if test "x$LINE" != x ; then
9655 eval "DEFAULT_$LINE"
9656 else
9657 no_cache=1
9658 fi
9659
9660 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9661
9662 fi;
9663
9664 eval "$ac_cv_use_miniframe"
9665 if test "$no_cache" != 1; then
9666 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9667 fi
9668
9669 if test "$wxUSE_MINIFRAME" = yes; then
9670 echo "$as_me:$LINENO: result: yes" >&5
9671 echo "${ECHO_T}yes" >&6
9672 else
9673 echo "$as_me:$LINENO: result: no" >&5
9674 echo "${ECHO_T}no" >&6
9675 fi
9676
9677
9678 enablestring=
9679 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9680 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9681 no_cache=0
9682 # Check whether --enable-tooltips or --disable-tooltips was given.
9683 if test "${enable_tooltips+set}" = set; then
9684 enableval="$enable_tooltips"
9685
9686 if test "$enableval" = yes; then
9687 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
9688 else
9689 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
9690 fi
9691
9692 else
9693
9694 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9695 if test "x$LINE" != x ; then
9696 eval "DEFAULT_$LINE"
9697 else
9698 no_cache=1
9699 fi
9700
9701 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9702
9703 fi;
9704
9705 eval "$ac_cv_use_tooltips"
9706 if test "$no_cache" != 1; then
9707 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9708 fi
9709
9710 if test "$wxUSE_TOOLTIPS" = yes; then
9711 echo "$as_me:$LINENO: result: yes" >&5
9712 echo "${ECHO_T}yes" >&6
9713 else
9714 echo "$as_me:$LINENO: result: no" >&5
9715 echo "${ECHO_T}no" >&6
9716 fi
9717
9718
9719 enablestring=
9720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9721 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9722 no_cache=0
9723 # Check whether --enable-splines or --disable-splines was given.
9724 if test "${enable_splines+set}" = set; then
9725 enableval="$enable_splines"
9726
9727 if test "$enableval" = yes; then
9728 ac_cv_use_splines='wxUSE_SPLINES=yes'
9729 else
9730 ac_cv_use_splines='wxUSE_SPLINES=no'
9731 fi
9732
9733 else
9734
9735 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9736 if test "x$LINE" != x ; then
9737 eval "DEFAULT_$LINE"
9738 else
9739 no_cache=1
9740 fi
9741
9742 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9743
9744 fi;
9745
9746 eval "$ac_cv_use_splines"
9747 if test "$no_cache" != 1; then
9748 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9749 fi
9750
9751 if test "$wxUSE_SPLINES" = yes; then
9752 echo "$as_me:$LINENO: result: yes" >&5
9753 echo "${ECHO_T}yes" >&6
9754 else
9755 echo "$as_me:$LINENO: result: no" >&5
9756 echo "${ECHO_T}no" >&6
9757 fi
9758
9759
9760 enablestring=
9761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
9762 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
9763 no_cache=0
9764 # Check whether --enable-mousewheel or --disable-mousewheel was given.
9765 if test "${enable_mousewheel+set}" = set; then
9766 enableval="$enable_mousewheel"
9767
9768 if test "$enableval" = yes; then
9769 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
9770 else
9771 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
9772 fi
9773
9774 else
9775
9776 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
9777 if test "x$LINE" != x ; then
9778 eval "DEFAULT_$LINE"
9779 else
9780 no_cache=1
9781 fi
9782
9783 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
9784
9785 fi;
9786
9787 eval "$ac_cv_use_mousewheel"
9788 if test "$no_cache" != 1; then
9789 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
9790 fi
9791
9792 if test "$wxUSE_MOUSEWHEEL" = yes; then
9793 echo "$as_me:$LINENO: result: yes" >&5
9794 echo "${ECHO_T}yes" >&6
9795 else
9796 echo "$as_me:$LINENO: result: no" >&5
9797 echo "${ECHO_T}no" >&6
9798 fi
9799
9800
9801 enablestring=
9802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9803 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9804 no_cache=0
9805 # Check whether --enable-validators or --disable-validators was given.
9806 if test "${enable_validators+set}" = set; then
9807 enableval="$enable_validators"
9808
9809 if test "$enableval" = yes; then
9810 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
9811 else
9812 ac_cv_use_validators='wxUSE_VALIDATORS=no'
9813 fi
9814
9815 else
9816
9817 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9818 if test "x$LINE" != x ; then
9819 eval "DEFAULT_$LINE"
9820 else
9821 no_cache=1
9822 fi
9823
9824 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9825
9826 fi;
9827
9828 eval "$ac_cv_use_validators"
9829 if test "$no_cache" != 1; then
9830 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9831 fi
9832
9833 if test "$wxUSE_VALIDATORS" = yes; then
9834 echo "$as_me:$LINENO: result: yes" >&5
9835 echo "${ECHO_T}yes" >&6
9836 else
9837 echo "$as_me:$LINENO: result: no" >&5
9838 echo "${ECHO_T}no" >&6
9839 fi
9840
9841
9842 enablestring=
9843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9844 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9845 no_cache=0
9846 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9847 if test "${enable_busyinfo+set}" = set; then
9848 enableval="$enable_busyinfo"
9849
9850 if test "$enableval" = yes; then
9851 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
9852 else
9853 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
9854 fi
9855
9856 else
9857
9858 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9859 if test "x$LINE" != x ; then
9860 eval "DEFAULT_$LINE"
9861 else
9862 no_cache=1
9863 fi
9864
9865 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9866
9867 fi;
9868
9869 eval "$ac_cv_use_busyinfo"
9870 if test "$no_cache" != 1; then
9871 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9872 fi
9873
9874 if test "$wxUSE_BUSYINFO" = yes; then
9875 echo "$as_me:$LINENO: result: yes" >&5
9876 echo "${ECHO_T}yes" >&6
9877 else
9878 echo "$as_me:$LINENO: result: no" >&5
9879 echo "${ECHO_T}no" >&6
9880 fi
9881
9882
9883 enablestring=
9884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9885 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9886 no_cache=0
9887 # Check whether --enable-joystick or --disable-joystick was given.
9888 if test "${enable_joystick+set}" = set; then
9889 enableval="$enable_joystick"
9890
9891 if test "$enableval" = yes; then
9892 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
9893 else
9894 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
9895 fi
9896
9897 else
9898
9899 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9900 if test "x$LINE" != x ; then
9901 eval "DEFAULT_$LINE"
9902 else
9903 no_cache=1
9904 fi
9905
9906 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9907
9908 fi;
9909
9910 eval "$ac_cv_use_joystick"
9911 if test "$no_cache" != 1; then
9912 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9913 fi
9914
9915 if test "$wxUSE_JOYSTICK" = yes; then
9916 echo "$as_me:$LINENO: result: yes" >&5
9917 echo "${ECHO_T}yes" >&6
9918 else
9919 echo "$as_me:$LINENO: result: no" >&5
9920 echo "${ECHO_T}no" >&6
9921 fi
9922
9923
9924 enablestring=
9925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9926 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9927 no_cache=0
9928 # Check whether --enable-metafile or --disable-metafile was given.
9929 if test "${enable_metafile+set}" = set; then
9930 enableval="$enable_metafile"
9931
9932 if test "$enableval" = yes; then
9933 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9934 else
9935 ac_cv_use_metafile='wxUSE_METAFILE=no'
9936 fi
9937
9938 else
9939
9940 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9941 if test "x$LINE" != x ; then
9942 eval "DEFAULT_$LINE"
9943 else
9944 no_cache=1
9945 fi
9946
9947 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9948
9949 fi;
9950
9951 eval "$ac_cv_use_metafile"
9952 if test "$no_cache" != 1; then
9953 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9954 fi
9955
9956 if test "$wxUSE_METAFILE" = yes; then
9957 echo "$as_me:$LINENO: result: yes" >&5
9958 echo "${ECHO_T}yes" >&6
9959 else
9960 echo "$as_me:$LINENO: result: no" >&5
9961 echo "${ECHO_T}no" >&6
9962 fi
9963
9964
9965 enablestring=
9966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9967 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9968 no_cache=0
9969 # Check whether --enable-dragimage or --disable-dragimage was given.
9970 if test "${enable_dragimage+set}" = set; then
9971 enableval="$enable_dragimage"
9972
9973 if test "$enableval" = yes; then
9974 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9975 else
9976 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9977 fi
9978
9979 else
9980
9981 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9982 if test "x$LINE" != x ; then
9983 eval "DEFAULT_$LINE"
9984 else
9985 no_cache=1
9986 fi
9987
9988 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9989
9990 fi;
9991
9992 eval "$ac_cv_use_dragimage"
9993 if test "$no_cache" != 1; then
9994 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9995 fi
9996
9997 if test "$wxUSE_DRAGIMAGE" = yes; then
9998 echo "$as_me:$LINENO: result: yes" >&5
9999 echo "${ECHO_T}yes" >&6
10000 else
10001 echo "$as_me:$LINENO: result: no" >&5
10002 echo "${ECHO_T}no" >&6
10003 fi
10004
10005
10006 enablestring=
10007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10008 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10009 no_cache=0
10010 # Check whether --enable-accessibility or --disable-accessibility was given.
10011 if test "${enable_accessibility+set}" = set; then
10012 enableval="$enable_accessibility"
10013
10014 if test "$enableval" = yes; then
10015 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
10016 else
10017 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
10018 fi
10019
10020 else
10021
10022 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10023 if test "x$LINE" != x ; then
10024 eval "DEFAULT_$LINE"
10025 else
10026 no_cache=1
10027 fi
10028
10029 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
10030
10031 fi;
10032
10033 eval "$ac_cv_use_accessibility"
10034 if test "$no_cache" != 1; then
10035 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10036 fi
10037
10038 if test "$wxUSE_ACCESSIBILITY" = yes; then
10039 echo "$as_me:$LINENO: result: yes" >&5
10040 echo "${ECHO_T}yes" >&6
10041 else
10042 echo "$as_me:$LINENO: result: no" >&5
10043 echo "${ECHO_T}no" >&6
10044 fi
10045
10046
10047
10048
10049 enablestring=
10050 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10051 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10052 no_cache=0
10053 # Check whether --enable-palette or --disable-palette was given.
10054 if test "${enable_palette+set}" = set; then
10055 enableval="$enable_palette"
10056
10057 if test "$enableval" = yes; then
10058 ac_cv_use_palette='wxUSE_PALETTE=yes'
10059 else
10060 ac_cv_use_palette='wxUSE_PALETTE=no'
10061 fi
10062
10063 else
10064
10065 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10066 if test "x$LINE" != x ; then
10067 eval "DEFAULT_$LINE"
10068 else
10069 no_cache=1
10070 fi
10071
10072 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
10073
10074 fi;
10075
10076 eval "$ac_cv_use_palette"
10077 if test "$no_cache" != 1; then
10078 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10079 fi
10080
10081 if test "$wxUSE_PALETTE" = yes; then
10082 echo "$as_me:$LINENO: result: yes" >&5
10083 echo "${ECHO_T}yes" >&6
10084 else
10085 echo "$as_me:$LINENO: result: no" >&5
10086 echo "${ECHO_T}no" >&6
10087 fi
10088
10089
10090 enablestring=
10091 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10092 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10093 no_cache=0
10094 # Check whether --enable-image or --disable-image was given.
10095 if test "${enable_image+set}" = set; then
10096 enableval="$enable_image"
10097
10098 if test "$enableval" = yes; then
10099 ac_cv_use_image='wxUSE_IMAGE=yes'
10100 else
10101 ac_cv_use_image='wxUSE_IMAGE=no'
10102 fi
10103
10104 else
10105
10106 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10107 if test "x$LINE" != x ; then
10108 eval "DEFAULT_$LINE"
10109 else
10110 no_cache=1
10111 fi
10112
10113 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
10114
10115 fi;
10116
10117 eval "$ac_cv_use_image"
10118 if test "$no_cache" != 1; then
10119 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10120 fi
10121
10122 if test "$wxUSE_IMAGE" = yes; then
10123 echo "$as_me:$LINENO: result: yes" >&5
10124 echo "${ECHO_T}yes" >&6
10125 else
10126 echo "$as_me:$LINENO: result: no" >&5
10127 echo "${ECHO_T}no" >&6
10128 fi
10129
10130
10131 enablestring=
10132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10133 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10134 no_cache=0
10135 # Check whether --enable-gif or --disable-gif was given.
10136 if test "${enable_gif+set}" = set; then
10137 enableval="$enable_gif"
10138
10139 if test "$enableval" = yes; then
10140 ac_cv_use_gif='wxUSE_GIF=yes'
10141 else
10142 ac_cv_use_gif='wxUSE_GIF=no'
10143 fi
10144
10145 else
10146
10147 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10148 if test "x$LINE" != x ; then
10149 eval "DEFAULT_$LINE"
10150 else
10151 no_cache=1
10152 fi
10153
10154 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
10155
10156 fi;
10157
10158 eval "$ac_cv_use_gif"
10159 if test "$no_cache" != 1; then
10160 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10161 fi
10162
10163 if test "$wxUSE_GIF" = yes; then
10164 echo "$as_me:$LINENO: result: yes" >&5
10165 echo "${ECHO_T}yes" >&6
10166 else
10167 echo "$as_me:$LINENO: result: no" >&5
10168 echo "${ECHO_T}no" >&6
10169 fi
10170
10171
10172 enablestring=
10173 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10174 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10175 no_cache=0
10176 # Check whether --enable-pcx or --disable-pcx was given.
10177 if test "${enable_pcx+set}" = set; then
10178 enableval="$enable_pcx"
10179
10180 if test "$enableval" = yes; then
10181 ac_cv_use_pcx='wxUSE_PCX=yes'
10182 else
10183 ac_cv_use_pcx='wxUSE_PCX=no'
10184 fi
10185
10186 else
10187
10188 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10189 if test "x$LINE" != x ; then
10190 eval "DEFAULT_$LINE"
10191 else
10192 no_cache=1
10193 fi
10194
10195 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
10196
10197 fi;
10198
10199 eval "$ac_cv_use_pcx"
10200 if test "$no_cache" != 1; then
10201 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10202 fi
10203
10204 if test "$wxUSE_PCX" = yes; then
10205 echo "$as_me:$LINENO: result: yes" >&5
10206 echo "${ECHO_T}yes" >&6
10207 else
10208 echo "$as_me:$LINENO: result: no" >&5
10209 echo "${ECHO_T}no" >&6
10210 fi
10211
10212
10213 enablestring=
10214 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10215 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10216 no_cache=0
10217 # Check whether --enable-iff or --disable-iff was given.
10218 if test "${enable_iff+set}" = set; then
10219 enableval="$enable_iff"
10220
10221 if test "$enableval" = yes; then
10222 ac_cv_use_iff='wxUSE_IFF=yes'
10223 else
10224 ac_cv_use_iff='wxUSE_IFF=no'
10225 fi
10226
10227 else
10228
10229 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10230 if test "x$LINE" != x ; then
10231 eval "DEFAULT_$LINE"
10232 else
10233 no_cache=1
10234 fi
10235
10236 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
10237
10238 fi;
10239
10240 eval "$ac_cv_use_iff"
10241 if test "$no_cache" != 1; then
10242 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10243 fi
10244
10245 if test "$wxUSE_IFF" = yes; then
10246 echo "$as_me:$LINENO: result: yes" >&5
10247 echo "${ECHO_T}yes" >&6
10248 else
10249 echo "$as_me:$LINENO: result: no" >&5
10250 echo "${ECHO_T}no" >&6
10251 fi
10252
10253
10254 enablestring=
10255 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10256 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10257 no_cache=0
10258 # Check whether --enable-pnm or --disable-pnm was given.
10259 if test "${enable_pnm+set}" = set; then
10260 enableval="$enable_pnm"
10261
10262 if test "$enableval" = yes; then
10263 ac_cv_use_pnm='wxUSE_PNM=yes'
10264 else
10265 ac_cv_use_pnm='wxUSE_PNM=no'
10266 fi
10267
10268 else
10269
10270 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10271 if test "x$LINE" != x ; then
10272 eval "DEFAULT_$LINE"
10273 else
10274 no_cache=1
10275 fi
10276
10277 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10278
10279 fi;
10280
10281 eval "$ac_cv_use_pnm"
10282 if test "$no_cache" != 1; then
10283 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10284 fi
10285
10286 if test "$wxUSE_PNM" = yes; then
10287 echo "$as_me:$LINENO: result: yes" >&5
10288 echo "${ECHO_T}yes" >&6
10289 else
10290 echo "$as_me:$LINENO: result: no" >&5
10291 echo "${ECHO_T}no" >&6
10292 fi
10293
10294
10295 enablestring=
10296 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10297 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10298 no_cache=0
10299 # Check whether --enable-xpm or --disable-xpm was given.
10300 if test "${enable_xpm+set}" = set; then
10301 enableval="$enable_xpm"
10302
10303 if test "$enableval" = yes; then
10304 ac_cv_use_xpm='wxUSE_XPM=yes'
10305 else
10306 ac_cv_use_xpm='wxUSE_XPM=no'
10307 fi
10308
10309 else
10310
10311 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10312 if test "x$LINE" != x ; then
10313 eval "DEFAULT_$LINE"
10314 else
10315 no_cache=1
10316 fi
10317
10318 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10319
10320 fi;
10321
10322 eval "$ac_cv_use_xpm"
10323 if test "$no_cache" != 1; then
10324 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10325 fi
10326
10327 if test "$wxUSE_XPM" = yes; then
10328 echo "$as_me:$LINENO: result: yes" >&5
10329 echo "${ECHO_T}yes" >&6
10330 else
10331 echo "$as_me:$LINENO: result: no" >&5
10332 echo "${ECHO_T}no" >&6
10333 fi
10334
10335
10336 enablestring=
10337 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10338 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10339 no_cache=0
10340 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10341 if test "${enable_ico_cur+set}" = set; then
10342 enableval="$enable_ico_cur"
10343
10344 if test "$enableval" = yes; then
10345 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
10346 else
10347 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
10348 fi
10349
10350 else
10351
10352 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10353 if test "x$LINE" != x ; then
10354 eval "DEFAULT_$LINE"
10355 else
10356 no_cache=1
10357 fi
10358
10359 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10360
10361 fi;
10362
10363 eval "$ac_cv_use_ico_cur"
10364 if test "$no_cache" != 1; then
10365 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10366 fi
10367
10368 if test "$wxUSE_ICO_CUR" = yes; then
10369 echo "$as_me:$LINENO: result: yes" >&5
10370 echo "${ECHO_T}yes" >&6
10371 else
10372 echo "$as_me:$LINENO: result: no" >&5
10373 echo "${ECHO_T}no" >&6
10374 fi
10375
10376
10377 fi
10378
10379
10380
10381 # Check whether --with-flavour or --without-flavour was given.
10382 if test "${with_flavour+set}" = set; then
10383 withval="$with_flavour"
10384 WX_FLAVOUR="$withval"
10385 fi;
10386
10387
10388
10389 enablestring=
10390 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10391 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10392 no_cache=0
10393 # Check whether --enable-official_build or --disable-official_build was given.
10394 if test "${enable_official_build+set}" = set; then
10395 enableval="$enable_official_build"
10396
10397 if test "$enableval" = yes; then
10398 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
10399 else
10400 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
10401 fi
10402
10403 else
10404
10405 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10406 if test "x$LINE" != x ; then
10407 eval "DEFAULT_$LINE"
10408 else
10409 no_cache=1
10410 fi
10411
10412 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10413
10414 fi;
10415
10416 eval "$ac_cv_use_official_build"
10417 if test "$no_cache" != 1; then
10418 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10419 fi
10420
10421 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10422 echo "$as_me:$LINENO: result: yes" >&5
10423 echo "${ECHO_T}yes" >&6
10424 else
10425 echo "$as_me:$LINENO: result: no" >&5
10426 echo "${ECHO_T}no" >&6
10427 fi
10428
10429 # Check whether --enable-vendor or --disable-vendor was given.
10430 if test "${enable_vendor+set}" = set; then
10431 enableval="$enable_vendor"
10432 VENDOR="$enableval"
10433 fi;
10434 if test "x$VENDOR" = "x"; then
10435 VENDOR="custom"
10436 fi
10437
10438
10439
10440
10441 echo "saving argument cache $wx_arg_cache_file"
10442 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
10443
10444
10445
10446 echo "$as_me:$LINENO: checking for toolkit" >&5
10447 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10448
10449 # In Wine, we need to default to MSW, not GTK or MOTIF
10450 if test "$wxUSE_WINE" = "yes"; then
10451 DEFAULT_DEFAULT_wxUSE_GTK=0
10452 DEFAULT_DEFAULT_wxUSE_MOTIF=0
10453 DEFAULT_DEFAULT_wxUSE_MSW=1
10454 wxUSE_SHARED=no
10455 fi
10456
10457
10458 if test "$wxUSE_GUI" = "yes"; then
10459
10460 if test "$USE_BEOS" = 1; then
10461 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10462 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10463 { (exit 1); exit 1; }; }
10464 fi
10465
10466 if test "$TOOLKIT_GIVEN" = 1; then
10467 for toolkit in `echo $ALL_TOOLKITS`; do
10468 var=wxUSE_$toolkit
10469 eval "value=\$${var}"
10470 if test "x$value" = "xno"; then
10471 eval "$var=0"
10472 elif test "x$value" != "x"; then
10473 eval "$var=1"
10474 fi
10475
10476 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
10477 eval "wx${toolkit}_VERSION=$value"
10478 fi
10479 done
10480 else
10481 for toolkit in `echo $ALL_TOOLKITS`; do
10482 if test "$has_toolkit_in_cache" != 1; then
10483 var=DEFAULT_DEFAULT_wxUSE_$toolkit
10484 else
10485 var=DEFAULT_wxUSE_$toolkit
10486
10487 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
10488 if test "x$version" != "x"; then
10489 eval "wx${toolkit}_VERSION=$version"
10490 fi
10491 fi
10492 eval "wxUSE_$toolkit=\$${var}"
10493 done
10494 fi
10495
10496 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10497 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10498 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10499
10500 case "${host}" in
10501 *-pc-os2_emx | *-pc-os2-emx )
10502 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10503 esac
10504
10505 case "$NUM_TOOLKITS" in
10506 1)
10507 ;;
10508 0)
10509 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10510 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10511 { (exit 1); exit 1; }; }
10512 ;;
10513 *)
10514 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10515 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10516 { (exit 1); exit 1; }; }
10517 esac
10518
10519 # to be removed when --disable-gtk2 isn't needed
10520 if test "x$wxUSE_GTK2" = "xyes"; then
10521 wxGTK_VERSION=2
10522 elif test "x$wxUSE_GTK2" = "xno"; then
10523 wxGTK_VERSION=1
10524 fi
10525
10526 for toolkit in `echo $ALL_TOOLKITS`; do
10527 var=wxUSE_$toolkit
10528 eval "value=\$${var}"
10529 if test "x$value" != x; then
10530 cache_var=CACHE_$toolkit
10531 eval "cache=\$${cache_var}"
10532 if test "$cache" = 1; then
10533 echo "$var=$value" >> ${wx_arg_cache_file}
10534 eval "version=\$wx${toolkit}_VERSION"
10535 if test "x$version" != "x"; then
10536 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
10537 fi
10538 fi
10539 if test "$value" = 1; then
10540 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10541 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10542 echo "${ECHO_T}$toolkit_echo" >&6
10543 fi
10544 fi
10545 done
10546 else
10547 if test "x$host_alias" != "x"; then
10548 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10549 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10550 else
10551 echo "$as_me:$LINENO: result: base only" >&5
10552 echo "${ECHO_T}base only" >&6
10553 fi
10554 fi
10555
10556 wants_win32=0
10557 doesnt_want_win32=0
10558 case "${host}" in
10559 *-*-cygwin*)
10560 if test "$wxUSE_MSW" = 1 ; then
10561 wants_win32=1
10562 BAKEFILE_FORCE_PLATFORM=win32
10563 else
10564 doesnt_want_win32=1
10565 fi
10566 ;;
10567 *-*-mingw*)
10568 wants_win32=1
10569 ;;
10570 esac
10571
10572 if test "$wxUSE_WINE" = "yes"; then
10573 wants_win32=1
10574 CC=winegcc
10575 CXX=wineg++
10576 RESCOMP=wrc
10577 LDFLAGS_GUI="-mwindows"
10578 fi
10579
10580 if test "$wants_win32" = 1 ; then
10581 USE_UNIX=0
10582 USE_WIN32=1
10583 cat >>confdefs.h <<\_ACEOF
10584 #define __WIN32__ 1
10585 _ACEOF
10586
10587 cat >>confdefs.h <<\_ACEOF
10588 #define __WIN95__ 1
10589 _ACEOF
10590
10591 cat >>confdefs.h <<\_ACEOF
10592 #define __WINDOWS__ 1
10593 _ACEOF
10594
10595 cat >>confdefs.h <<\_ACEOF
10596 #define __GNUWIN32__ 1
10597 _ACEOF
10598
10599 cat >>confdefs.h <<\_ACEOF
10600 #define STRICT 1
10601 _ACEOF
10602
10603 cat >>confdefs.h <<\_ACEOF
10604 #define WINVER 0x0400
10605 _ACEOF
10606
10607 fi
10608 if test "$doesnt_want_win32" = 1 ; then
10609 USE_UNIX=1
10610 USE_WIN32=0
10611 fi
10612
10613 if test "$USE_UNIX" = 1 ; then
10614 wxUSE_UNIX=yes
10615 cat >>confdefs.h <<\_ACEOF
10616 #define __UNIX__ 1
10617 _ACEOF
10618
10619 fi
10620
10621
10622 cat >confcache <<\_ACEOF
10623 # This file is a shell script that caches the results of configure
10624 # tests run on this system so they can be shared between configure
10625 # scripts and configure runs, see configure's option --config-cache.
10626 # It is not useful on other systems. If it contains results you don't
10627 # want to keep, you may remove or edit it.
10628 #
10629 # config.status only pays attention to the cache file if you give it
10630 # the --recheck option to rerun configure.
10631 #
10632 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10633 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10634 # following values.
10635
10636 _ACEOF
10637
10638 # The following way of writing the cache mishandles newlines in values,
10639 # but we know of no workaround that is simple, portable, and efficient.
10640 # So, don't put newlines in cache variables' values.
10641 # Ultrix sh set writes to stderr and can't be redirected directly,
10642 # and sets the high bit in the cache file unless we assign to the vars.
10643 {
10644 (set) 2>&1 |
10645 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10646 *ac_space=\ *)
10647 # `set' does not quote correctly, so add quotes (double-quote
10648 # substitution turns \\\\ into \\, and sed turns \\ into \).
10649 sed -n \
10650 "s/'/'\\\\''/g;
10651 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10652 ;;
10653 *)
10654 # `set' quotes correctly as required by POSIX, so do not add quotes.
10655 sed -n \
10656 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10657 ;;
10658 esac;
10659 } |
10660 sed '
10661 t clear
10662 : clear
10663 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10664 t end
10665 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10666 : end' >>confcache
10667 if diff $cache_file confcache >/dev/null 2>&1; then :; else
10668 if test -w $cache_file; then
10669 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10670 cat confcache >$cache_file
10671 else
10672 echo "not updating unwritable cache $cache_file"
10673 fi
10674 fi
10675 rm -f confcache
10676
10677 if test "$build" != "$host" ; then
10678 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX" = 1; then
10679 CC=$host_alias-gcc
10680 CXX=$host_alias-c++
10681 AR=$host_alias-ar
10682 RANLIB=$host_alias-ranlib
10683 DLLTOOL=$host_alias-dlltool
10684 RESCOMP=$host_alias-windres
10685 STRIP=$host_alias-strip
10686 elif test "x$CC" '!=' "x"; then
10687 echo "You set CC, I assume you know what you are doing."
10688 else
10689 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10690 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10691 { (exit 1); exit 1; }; }
10692 fi
10693 fi
10694
10695 CFLAGS=${CFLAGS:=}
10696
10697
10698 ac_ext=c
10699 ac_cpp='$CPP $CPPFLAGS'
10700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10703 if test -n "$ac_tool_prefix"; then
10704 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10705 set dummy ${ac_tool_prefix}gcc; ac_word=$2
10706 echo "$as_me:$LINENO: checking for $ac_word" >&5
10707 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10708 if test "${ac_cv_prog_CC+set}" = set; then
10709 echo $ECHO_N "(cached) $ECHO_C" >&6
10710 else
10711 if test -n "$CC"; then
10712 ac_cv_prog_CC="$CC" # Let the user override the test.
10713 else
10714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10715 for as_dir in $PATH
10716 do
10717 IFS=$as_save_IFS
10718 test -z "$as_dir" && as_dir=.
10719 for ac_exec_ext in '' $ac_executable_extensions; do
10720 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10721 ac_cv_prog_CC="${ac_tool_prefix}gcc"
10722 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10723 break 2
10724 fi
10725 done
10726 done
10727
10728 fi
10729 fi
10730 CC=$ac_cv_prog_CC
10731 if test -n "$CC"; then
10732 echo "$as_me:$LINENO: result: $CC" >&5
10733 echo "${ECHO_T}$CC" >&6
10734 else
10735 echo "$as_me:$LINENO: result: no" >&5
10736 echo "${ECHO_T}no" >&6
10737 fi
10738
10739 fi
10740 if test -z "$ac_cv_prog_CC"; then
10741 ac_ct_CC=$CC
10742 # Extract the first word of "gcc", so it can be a program name with args.
10743 set dummy gcc; ac_word=$2
10744 echo "$as_me:$LINENO: checking for $ac_word" >&5
10745 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10746 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10747 echo $ECHO_N "(cached) $ECHO_C" >&6
10748 else
10749 if test -n "$ac_ct_CC"; then
10750 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10751 else
10752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10753 for as_dir in $PATH
10754 do
10755 IFS=$as_save_IFS
10756 test -z "$as_dir" && as_dir=.
10757 for ac_exec_ext in '' $ac_executable_extensions; do
10758 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10759 ac_cv_prog_ac_ct_CC="gcc"
10760 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10761 break 2
10762 fi
10763 done
10764 done
10765
10766 fi
10767 fi
10768 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10769 if test -n "$ac_ct_CC"; then
10770 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10771 echo "${ECHO_T}$ac_ct_CC" >&6
10772 else
10773 echo "$as_me:$LINENO: result: no" >&5
10774 echo "${ECHO_T}no" >&6
10775 fi
10776
10777 CC=$ac_ct_CC
10778 else
10779 CC="$ac_cv_prog_CC"
10780 fi
10781
10782 if test -z "$CC"; then
10783 if test -n "$ac_tool_prefix"; then
10784 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10785 set dummy ${ac_tool_prefix}cc; ac_word=$2
10786 echo "$as_me:$LINENO: checking for $ac_word" >&5
10787 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10788 if test "${ac_cv_prog_CC+set}" = set; then
10789 echo $ECHO_N "(cached) $ECHO_C" >&6
10790 else
10791 if test -n "$CC"; then
10792 ac_cv_prog_CC="$CC" # Let the user override the test.
10793 else
10794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10795 for as_dir in $PATH
10796 do
10797 IFS=$as_save_IFS
10798 test -z "$as_dir" && as_dir=.
10799 for ac_exec_ext in '' $ac_executable_extensions; do
10800 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10801 ac_cv_prog_CC="${ac_tool_prefix}cc"
10802 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10803 break 2
10804 fi
10805 done
10806 done
10807
10808 fi
10809 fi
10810 CC=$ac_cv_prog_CC
10811 if test -n "$CC"; then
10812 echo "$as_me:$LINENO: result: $CC" >&5
10813 echo "${ECHO_T}$CC" >&6
10814 else
10815 echo "$as_me:$LINENO: result: no" >&5
10816 echo "${ECHO_T}no" >&6
10817 fi
10818
10819 fi
10820 if test -z "$ac_cv_prog_CC"; then
10821 ac_ct_CC=$CC
10822 # Extract the first word of "cc", so it can be a program name with args.
10823 set dummy cc; ac_word=$2
10824 echo "$as_me:$LINENO: checking for $ac_word" >&5
10825 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10826 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10827 echo $ECHO_N "(cached) $ECHO_C" >&6
10828 else
10829 if test -n "$ac_ct_CC"; then
10830 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10831 else
10832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10833 for as_dir in $PATH
10834 do
10835 IFS=$as_save_IFS
10836 test -z "$as_dir" && as_dir=.
10837 for ac_exec_ext in '' $ac_executable_extensions; do
10838 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10839 ac_cv_prog_ac_ct_CC="cc"
10840 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10841 break 2
10842 fi
10843 done
10844 done
10845
10846 fi
10847 fi
10848 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10849 if test -n "$ac_ct_CC"; then
10850 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10851 echo "${ECHO_T}$ac_ct_CC" >&6
10852 else
10853 echo "$as_me:$LINENO: result: no" >&5
10854 echo "${ECHO_T}no" >&6
10855 fi
10856
10857 CC=$ac_ct_CC
10858 else
10859 CC="$ac_cv_prog_CC"
10860 fi
10861
10862 fi
10863 if test -z "$CC"; then
10864 # Extract the first word of "cc", so it can be a program name with args.
10865 set dummy cc; ac_word=$2
10866 echo "$as_me:$LINENO: checking for $ac_word" >&5
10867 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10868 if test "${ac_cv_prog_CC+set}" = set; then
10869 echo $ECHO_N "(cached) $ECHO_C" >&6
10870 else
10871 if test -n "$CC"; then
10872 ac_cv_prog_CC="$CC" # Let the user override the test.
10873 else
10874 ac_prog_rejected=no
10875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10876 for as_dir in $PATH
10877 do
10878 IFS=$as_save_IFS
10879 test -z "$as_dir" && as_dir=.
10880 for ac_exec_ext in '' $ac_executable_extensions; do
10881 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10882 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10883 ac_prog_rejected=yes
10884 continue
10885 fi
10886 ac_cv_prog_CC="cc"
10887 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10888 break 2
10889 fi
10890 done
10891 done
10892
10893 if test $ac_prog_rejected = yes; then
10894 # We found a bogon in the path, so make sure we never use it.
10895 set dummy $ac_cv_prog_CC
10896 shift
10897 if test $# != 0; then
10898 # We chose a different compiler from the bogus one.
10899 # However, it has the same basename, so the bogon will be chosen
10900 # first if we set CC to just the basename; use the full file name.
10901 shift
10902 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10903 fi
10904 fi
10905 fi
10906 fi
10907 CC=$ac_cv_prog_CC
10908 if test -n "$CC"; then
10909 echo "$as_me:$LINENO: result: $CC" >&5
10910 echo "${ECHO_T}$CC" >&6
10911 else
10912 echo "$as_me:$LINENO: result: no" >&5
10913 echo "${ECHO_T}no" >&6
10914 fi
10915
10916 fi
10917 if test -z "$CC"; then
10918 if test -n "$ac_tool_prefix"; then
10919 for ac_prog in cl
10920 do
10921 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10922 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10923 echo "$as_me:$LINENO: checking for $ac_word" >&5
10924 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10925 if test "${ac_cv_prog_CC+set}" = set; then
10926 echo $ECHO_N "(cached) $ECHO_C" >&6
10927 else
10928 if test -n "$CC"; then
10929 ac_cv_prog_CC="$CC" # Let the user override the test.
10930 else
10931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10932 for as_dir in $PATH
10933 do
10934 IFS=$as_save_IFS
10935 test -z "$as_dir" && as_dir=.
10936 for ac_exec_ext in '' $ac_executable_extensions; do
10937 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10938 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10939 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10940 break 2
10941 fi
10942 done
10943 done
10944
10945 fi
10946 fi
10947 CC=$ac_cv_prog_CC
10948 if test -n "$CC"; then
10949 echo "$as_me:$LINENO: result: $CC" >&5
10950 echo "${ECHO_T}$CC" >&6
10951 else
10952 echo "$as_me:$LINENO: result: no" >&5
10953 echo "${ECHO_T}no" >&6
10954 fi
10955
10956 test -n "$CC" && break
10957 done
10958 fi
10959 if test -z "$CC"; then
10960 ac_ct_CC=$CC
10961 for ac_prog in cl
10962 do
10963 # Extract the first word of "$ac_prog", so it can be a program name with args.
10964 set dummy $ac_prog; ac_word=$2
10965 echo "$as_me:$LINENO: checking for $ac_word" >&5
10966 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10967 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10968 echo $ECHO_N "(cached) $ECHO_C" >&6
10969 else
10970 if test -n "$ac_ct_CC"; then
10971 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10972 else
10973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10974 for as_dir in $PATH
10975 do
10976 IFS=$as_save_IFS
10977 test -z "$as_dir" && as_dir=.
10978 for ac_exec_ext in '' $ac_executable_extensions; do
10979 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10980 ac_cv_prog_ac_ct_CC="$ac_prog"
10981 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10982 break 2
10983 fi
10984 done
10985 done
10986
10987 fi
10988 fi
10989 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10990 if test -n "$ac_ct_CC"; then
10991 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10992 echo "${ECHO_T}$ac_ct_CC" >&6
10993 else
10994 echo "$as_me:$LINENO: result: no" >&5
10995 echo "${ECHO_T}no" >&6
10996 fi
10997
10998 test -n "$ac_ct_CC" && break
10999 done
11000
11001 CC=$ac_ct_CC
11002 fi
11003
11004 fi
11005
11006
11007 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11008 See \`config.log' for more details." >&5
11009 echo "$as_me: error: no acceptable C compiler found in \$PATH
11010 See \`config.log' for more details." >&2;}
11011 { (exit 1); exit 1; }; }
11012
11013 # Provide some information about the compiler.
11014 echo "$as_me:$LINENO:" \
11015 "checking for C compiler version" >&5
11016 ac_compiler=`set X $ac_compile; echo $2`
11017 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11018 (eval $ac_compiler --version </dev/null >&5) 2>&5
11019 ac_status=$?
11020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11021 (exit $ac_status); }
11022 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11023 (eval $ac_compiler -v </dev/null >&5) 2>&5
11024 ac_status=$?
11025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11026 (exit $ac_status); }
11027 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11028 (eval $ac_compiler -V </dev/null >&5) 2>&5
11029 ac_status=$?
11030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11031 (exit $ac_status); }
11032
11033 cat >conftest.$ac_ext <<_ACEOF
11034 /* confdefs.h. */
11035 _ACEOF
11036 cat confdefs.h >>conftest.$ac_ext
11037 cat >>conftest.$ac_ext <<_ACEOF
11038 /* end confdefs.h. */
11039
11040 int
11041 main ()
11042 {
11043
11044 ;
11045 return 0;
11046 }
11047 _ACEOF
11048 ac_clean_files_save=$ac_clean_files
11049 ac_clean_files="$ac_clean_files a.out a.exe b.out"
11050 # Try to create an executable without -o first, disregard a.out.
11051 # It will help us diagnose broken compilers, and finding out an intuition
11052 # of exeext.
11053 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11054 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11055 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11056 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11057 (eval $ac_link_default) 2>&5
11058 ac_status=$?
11059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11060 (exit $ac_status); }; then
11061 # Find the output, starting from the most likely. This scheme is
11062 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11063 # resort.
11064
11065 # Be careful to initialize this variable, since it used to be cached.
11066 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11067 ac_cv_exeext=
11068 # b.out is created by i960 compilers.
11069 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
11070 do
11071 test -f "$ac_file" || continue
11072 case $ac_file in
11073 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
11074 ;;
11075 conftest.$ac_ext )
11076 # This is the source file.
11077 ;;
11078 [ab].out )
11079 # We found the default executable, but exeext='' is most
11080 # certainly right.
11081 break;;
11082 *.* )
11083 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
11084 # FIXME: I believe we export ac_cv_exeext for Libtool,
11085 # but it would be cool to find out if it's true. Does anybody
11086 # maintain Libtool? --akim.
11087 export ac_cv_exeext
11088 break;;
11089 * )
11090 break;;
11091 esac
11092 done
11093 else
11094 echo "$as_me: failed program was:" >&5
11095 sed 's/^/| /' conftest.$ac_ext >&5
11096
11097 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11098 See \`config.log' for more details." >&5
11099 echo "$as_me: error: C compiler cannot create executables
11100 See \`config.log' for more details." >&2;}
11101 { (exit 77); exit 77; }; }
11102 fi
11103
11104 ac_exeext=$ac_cv_exeext
11105 echo "$as_me:$LINENO: result: $ac_file" >&5
11106 echo "${ECHO_T}$ac_file" >&6
11107
11108 # Check the compiler produces executables we can run. If not, either
11109 # the compiler is broken, or we cross compile.
11110 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11111 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11112 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11113 # If not cross compiling, check that we can run a simple program.
11114 if test "$cross_compiling" != yes; then
11115 if { ac_try='./$ac_file'
11116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11117 (eval $ac_try) 2>&5
11118 ac_status=$?
11119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11120 (exit $ac_status); }; }; then
11121 cross_compiling=no
11122 else
11123 if test "$cross_compiling" = maybe; then
11124 cross_compiling=yes
11125 else
11126 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11127 If you meant to cross compile, use \`--host'.
11128 See \`config.log' for more details." >&5
11129 echo "$as_me: error: cannot run C compiled programs.
11130 If you meant to cross compile, use \`--host'.
11131 See \`config.log' for more details." >&2;}
11132 { (exit 1); exit 1; }; }
11133 fi
11134 fi
11135 fi
11136 echo "$as_me:$LINENO: result: yes" >&5
11137 echo "${ECHO_T}yes" >&6
11138
11139 rm -f a.out a.exe conftest$ac_cv_exeext b.out
11140 ac_clean_files=$ac_clean_files_save
11141 # Check the compiler produces executables we can run. If not, either
11142 # the compiler is broken, or we cross compile.
11143 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11144 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11145 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11146 echo "${ECHO_T}$cross_compiling" >&6
11147
11148 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11149 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11151 (eval $ac_link) 2>&5
11152 ac_status=$?
11153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11154 (exit $ac_status); }; then
11155 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11156 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11157 # work properly (i.e., refer to `conftest.exe'), while it won't with
11158 # `rm'.
11159 for ac_file in conftest.exe conftest conftest.*; do
11160 test -f "$ac_file" || continue
11161 case $ac_file in
11162 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
11163 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
11164 export ac_cv_exeext
11165 break;;
11166 * ) break;;
11167 esac
11168 done
11169 else
11170 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11171 See \`config.log' for more details." >&5
11172 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11173 See \`config.log' for more details." >&2;}
11174 { (exit 1); exit 1; }; }
11175 fi
11176
11177 rm -f conftest$ac_cv_exeext
11178 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11179 echo "${ECHO_T}$ac_cv_exeext" >&6
11180
11181 rm -f conftest.$ac_ext
11182 EXEEXT=$ac_cv_exeext
11183 ac_exeext=$EXEEXT
11184 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11185 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11186 if test "${ac_cv_objext+set}" = set; then
11187 echo $ECHO_N "(cached) $ECHO_C" >&6
11188 else
11189 cat >conftest.$ac_ext <<_ACEOF
11190 /* confdefs.h. */
11191 _ACEOF
11192 cat confdefs.h >>conftest.$ac_ext
11193 cat >>conftest.$ac_ext <<_ACEOF
11194 /* end confdefs.h. */
11195
11196 int
11197 main ()
11198 {
11199
11200 ;
11201 return 0;
11202 }
11203 _ACEOF
11204 rm -f conftest.o conftest.obj
11205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11206 (eval $ac_compile) 2>&5
11207 ac_status=$?
11208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11209 (exit $ac_status); }; then
11210 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11211 case $ac_file in
11212 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
11213 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
11214 break;;
11215 esac
11216 done
11217 else
11218 echo "$as_me: failed program was:" >&5
11219 sed 's/^/| /' conftest.$ac_ext >&5
11220
11221 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11222 See \`config.log' for more details." >&5
11223 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11224 See \`config.log' for more details." >&2;}
11225 { (exit 1); exit 1; }; }
11226 fi
11227
11228 rm -f conftest.$ac_cv_objext conftest.$ac_ext
11229 fi
11230 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11231 echo "${ECHO_T}$ac_cv_objext" >&6
11232 OBJEXT=$ac_cv_objext
11233 ac_objext=$OBJEXT
11234 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11235 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11236 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11237 echo $ECHO_N "(cached) $ECHO_C" >&6
11238 else
11239 cat >conftest.$ac_ext <<_ACEOF
11240 /* confdefs.h. */
11241 _ACEOF
11242 cat confdefs.h >>conftest.$ac_ext
11243 cat >>conftest.$ac_ext <<_ACEOF
11244 /* end confdefs.h. */
11245
11246 int
11247 main ()
11248 {
11249 #ifndef __GNUC__
11250 choke me
11251 #endif
11252
11253 ;
11254 return 0;
11255 }
11256 _ACEOF
11257 rm -f conftest.$ac_objext
11258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11259 (eval $ac_compile) 2>conftest.er1
11260 ac_status=$?
11261 grep -v '^ *+' conftest.er1 >conftest.err
11262 rm -f conftest.er1
11263 cat conftest.err >&5
11264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11265 (exit $ac_status); } &&
11266 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11268 (eval $ac_try) 2>&5
11269 ac_status=$?
11270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11271 (exit $ac_status); }; } &&
11272 { ac_try='test -s conftest.$ac_objext'
11273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11274 (eval $ac_try) 2>&5
11275 ac_status=$?
11276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11277 (exit $ac_status); }; }; then
11278 ac_compiler_gnu=yes
11279 else
11280 echo "$as_me: failed program was:" >&5
11281 sed 's/^/| /' conftest.$ac_ext >&5
11282
11283 ac_compiler_gnu=no
11284 fi
11285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11286 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11287
11288 fi
11289 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11290 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11291 GCC=`test $ac_compiler_gnu = yes && echo yes`
11292 ac_test_CFLAGS=${CFLAGS+set}
11293 ac_save_CFLAGS=$CFLAGS
11294 CFLAGS="-g"
11295 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11296 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11297 if test "${ac_cv_prog_cc_g+set}" = set; then
11298 echo $ECHO_N "(cached) $ECHO_C" >&6
11299 else
11300 cat >conftest.$ac_ext <<_ACEOF
11301 /* confdefs.h. */
11302 _ACEOF
11303 cat confdefs.h >>conftest.$ac_ext
11304 cat >>conftest.$ac_ext <<_ACEOF
11305 /* end confdefs.h. */
11306
11307 int
11308 main ()
11309 {
11310
11311 ;
11312 return 0;
11313 }
11314 _ACEOF
11315 rm -f conftest.$ac_objext
11316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11317 (eval $ac_compile) 2>conftest.er1
11318 ac_status=$?
11319 grep -v '^ *+' conftest.er1 >conftest.err
11320 rm -f conftest.er1
11321 cat conftest.err >&5
11322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11323 (exit $ac_status); } &&
11324 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11326 (eval $ac_try) 2>&5
11327 ac_status=$?
11328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11329 (exit $ac_status); }; } &&
11330 { ac_try='test -s conftest.$ac_objext'
11331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11332 (eval $ac_try) 2>&5
11333 ac_status=$?
11334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11335 (exit $ac_status); }; }; then
11336 ac_cv_prog_cc_g=yes
11337 else
11338 echo "$as_me: failed program was:" >&5
11339 sed 's/^/| /' conftest.$ac_ext >&5
11340
11341 ac_cv_prog_cc_g=no
11342 fi
11343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11344 fi
11345 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11346 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11347 if test "$ac_test_CFLAGS" = set; then
11348 CFLAGS=$ac_save_CFLAGS
11349 elif test $ac_cv_prog_cc_g = yes; then
11350 if test "$GCC" = yes; then
11351 CFLAGS="-g -O2"
11352 else
11353 CFLAGS="-g"
11354 fi
11355 else
11356 if test "$GCC" = yes; then
11357 CFLAGS="-O2"
11358 else
11359 CFLAGS=
11360 fi
11361 fi
11362 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11363 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11364 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11365 echo $ECHO_N "(cached) $ECHO_C" >&6
11366 else
11367 ac_cv_prog_cc_stdc=no
11368 ac_save_CC=$CC
11369 cat >conftest.$ac_ext <<_ACEOF
11370 /* confdefs.h. */
11371 _ACEOF
11372 cat confdefs.h >>conftest.$ac_ext
11373 cat >>conftest.$ac_ext <<_ACEOF
11374 /* end confdefs.h. */
11375 #include <stdarg.h>
11376 #include <stdio.h>
11377 #include <sys/types.h>
11378 #include <sys/stat.h>
11379 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11380 struct buf { int x; };
11381 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11382 static char *e (p, i)
11383 char **p;
11384 int i;
11385 {
11386 return p[i];
11387 }
11388 static char *f (char * (*g) (char **, int), char **p, ...)
11389 {
11390 char *s;
11391 va_list v;
11392 va_start (v,p);
11393 s = g (p, va_arg (v,int));
11394 va_end (v);
11395 return s;
11396 }
11397
11398 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11399 function prototypes and stuff, but not '\xHH' hex character constants.
11400 These don't provoke an error unfortunately, instead are silently treated
11401 as 'x'. The following induces an error, until -std1 is added to get
11402 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11403 array size at least. It's necessary to write '\x00'==0 to get something
11404 that's true only with -std1. */
11405 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11406
11407 int test (int i, double x);
11408 struct s1 {int (*f) (int a);};
11409 struct s2 {int (*f) (double a);};
11410 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11411 int argc;
11412 char **argv;
11413 int
11414 main ()
11415 {
11416 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11417 ;
11418 return 0;
11419 }
11420 _ACEOF
11421 # Don't try gcc -ansi; that turns off useful extensions and
11422 # breaks some systems' header files.
11423 # AIX -qlanglvl=ansi
11424 # Ultrix and OSF/1 -std1
11425 # HP-UX 10.20 and later -Ae
11426 # HP-UX older versions -Aa -D_HPUX_SOURCE
11427 # SVR4 -Xc -D__EXTENSIONS__
11428 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11429 do
11430 CC="$ac_save_CC $ac_arg"
11431 rm -f conftest.$ac_objext
11432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11433 (eval $ac_compile) 2>conftest.er1
11434 ac_status=$?
11435 grep -v '^ *+' conftest.er1 >conftest.err
11436 rm -f conftest.er1
11437 cat conftest.err >&5
11438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11439 (exit $ac_status); } &&
11440 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11442 (eval $ac_try) 2>&5
11443 ac_status=$?
11444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11445 (exit $ac_status); }; } &&
11446 { ac_try='test -s conftest.$ac_objext'
11447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11448 (eval $ac_try) 2>&5
11449 ac_status=$?
11450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11451 (exit $ac_status); }; }; then
11452 ac_cv_prog_cc_stdc=$ac_arg
11453 break
11454 else
11455 echo "$as_me: failed program was:" >&5
11456 sed 's/^/| /' conftest.$ac_ext >&5
11457
11458 fi
11459 rm -f conftest.err conftest.$ac_objext
11460 done
11461 rm -f conftest.$ac_ext conftest.$ac_objext
11462 CC=$ac_save_CC
11463
11464 fi
11465
11466 case "x$ac_cv_prog_cc_stdc" in
11467 x|xno)
11468 echo "$as_me:$LINENO: result: none needed" >&5
11469 echo "${ECHO_T}none needed" >&6 ;;
11470 *)
11471 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11472 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11473 CC="$CC $ac_cv_prog_cc_stdc" ;;
11474 esac
11475
11476 # Some people use a C++ compiler to compile C. Since we use `exit',
11477 # in C++ we need to declare it. In case someone uses the same compiler
11478 # for both compiling C and C++ we need to have the C++ compiler decide
11479 # the declaration of exit, since it's the most demanding environment.
11480 cat >conftest.$ac_ext <<_ACEOF
11481 #ifndef __cplusplus
11482 choke me
11483 #endif
11484 _ACEOF
11485 rm -f conftest.$ac_objext
11486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11487 (eval $ac_compile) 2>conftest.er1
11488 ac_status=$?
11489 grep -v '^ *+' conftest.er1 >conftest.err
11490 rm -f conftest.er1
11491 cat conftest.err >&5
11492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11493 (exit $ac_status); } &&
11494 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11496 (eval $ac_try) 2>&5
11497 ac_status=$?
11498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11499 (exit $ac_status); }; } &&
11500 { ac_try='test -s conftest.$ac_objext'
11501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11502 (eval $ac_try) 2>&5
11503 ac_status=$?
11504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11505 (exit $ac_status); }; }; then
11506 for ac_declaration in \
11507 '' \
11508 'extern "C" void std::exit (int) throw (); using std::exit;' \
11509 'extern "C" void std::exit (int); using std::exit;' \
11510 'extern "C" void exit (int) throw ();' \
11511 'extern "C" void exit (int);' \
11512 'void exit (int);'
11513 do
11514 cat >conftest.$ac_ext <<_ACEOF
11515 /* confdefs.h. */
11516 _ACEOF
11517 cat confdefs.h >>conftest.$ac_ext
11518 cat >>conftest.$ac_ext <<_ACEOF
11519 /* end confdefs.h. */
11520 $ac_declaration
11521 #include <stdlib.h>
11522 int
11523 main ()
11524 {
11525 exit (42);
11526 ;
11527 return 0;
11528 }
11529 _ACEOF
11530 rm -f conftest.$ac_objext
11531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11532 (eval $ac_compile) 2>conftest.er1
11533 ac_status=$?
11534 grep -v '^ *+' conftest.er1 >conftest.err
11535 rm -f conftest.er1
11536 cat conftest.err >&5
11537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11538 (exit $ac_status); } &&
11539 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11541 (eval $ac_try) 2>&5
11542 ac_status=$?
11543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11544 (exit $ac_status); }; } &&
11545 { ac_try='test -s conftest.$ac_objext'
11546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11547 (eval $ac_try) 2>&5
11548 ac_status=$?
11549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11550 (exit $ac_status); }; }; then
11551 :
11552 else
11553 echo "$as_me: failed program was:" >&5
11554 sed 's/^/| /' conftest.$ac_ext >&5
11555
11556 continue
11557 fi
11558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11559 cat >conftest.$ac_ext <<_ACEOF
11560 /* confdefs.h. */
11561 _ACEOF
11562 cat confdefs.h >>conftest.$ac_ext
11563 cat >>conftest.$ac_ext <<_ACEOF
11564 /* end confdefs.h. */
11565 $ac_declaration
11566 int
11567 main ()
11568 {
11569 exit (42);
11570 ;
11571 return 0;
11572 }
11573 _ACEOF
11574 rm -f conftest.$ac_objext
11575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11576 (eval $ac_compile) 2>conftest.er1
11577 ac_status=$?
11578 grep -v '^ *+' conftest.er1 >conftest.err
11579 rm -f conftest.er1
11580 cat conftest.err >&5
11581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11582 (exit $ac_status); } &&
11583 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11585 (eval $ac_try) 2>&5
11586 ac_status=$?
11587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11588 (exit $ac_status); }; } &&
11589 { ac_try='test -s conftest.$ac_objext'
11590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11591 (eval $ac_try) 2>&5
11592 ac_status=$?
11593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11594 (exit $ac_status); }; }; then
11595 break
11596 else
11597 echo "$as_me: failed program was:" >&5
11598 sed 's/^/| /' conftest.$ac_ext >&5
11599
11600 fi
11601 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11602 done
11603 rm -f conftest*
11604 if test -n "$ac_declaration"; then
11605 echo '#ifdef __cplusplus' >>confdefs.h
11606 echo $ac_declaration >>confdefs.h
11607 echo '#endif' >>confdefs.h
11608 fi
11609
11610 else
11611 echo "$as_me: failed program was:" >&5
11612 sed 's/^/| /' conftest.$ac_ext >&5
11613
11614 fi
11615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11616 ac_ext=c
11617 ac_cpp='$CPP $CPPFLAGS'
11618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11621
11622 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
11623 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
11624 if test "${wx_cv_c_exto+set}" = set; then
11625 echo $ECHO_N "(cached) $ECHO_C" >&6
11626 else
11627 cat >conftest.$ac_ext <<_ACEOF
11628 /* confdefs.h. */
11629 _ACEOF
11630 cat confdefs.h >>conftest.$ac_ext
11631 cat >>conftest.$ac_ext <<_ACEOF
11632 /* end confdefs.h. */
11633
11634 int
11635 main ()
11636 {
11637
11638 ;
11639 return 0;
11640 }
11641 _ACEOF
11642 rm -f conftest.$ac_objext conftest.$ac_ext.o
11643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11644 (eval $ac_compile) 2>&5
11645 ac_status=$?
11646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11647 (exit $ac_status); }; then
11648 for ac_file in `(ls conftest.* 2>/dev/null)`; do
11649 case $ac_file in
11650 conftest.$ac_ext.o)
11651 wx_cv_c_exto="-ext o"
11652 ;;
11653 *)
11654 ;;
11655 esac
11656 done
11657 else
11658 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
11659 See \`config.log' for more details." >&5
11660 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
11661 See \`config.log' for more details." >&2;}
11662 { (exit 1); exit 1; }; }
11663
11664 fi
11665
11666 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
11667
11668 fi
11669 echo "$as_me:$LINENO: result: $wx_cv_c_exto" >&5
11670 echo "${ECHO_T}$wx_cv_c_exto" >&6
11671 if test "x$wx_cv_c_exto" '!=' "x"; then
11672 if test "c" = "c"; then
11673 CFLAGS="$wx_cv_c_exto $CFLAGS"
11674 fi
11675 if test "c" = "cxx"; then
11676 CXXFLAGS="$wx_cv_c_exto $CXXFLAGS"
11677 fi
11678 fi
11679
11680 if test "x$wx_cv_c_exto" '!=' "x"; then
11681 unset ac_cv_prog_cc_g
11682 ac_test_CFLAGS=${CFLAGS+set}
11683 ac_save_CFLAGS=$CFLAGS
11684 CFLAGS="-g"
11685 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11686 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11687 if test "${ac_cv_prog_cc_g+set}" = set; then
11688 echo $ECHO_N "(cached) $ECHO_C" >&6
11689 else
11690 cat >conftest.$ac_ext <<_ACEOF
11691 /* confdefs.h. */
11692 _ACEOF
11693 cat confdefs.h >>conftest.$ac_ext
11694 cat >>conftest.$ac_ext <<_ACEOF
11695 /* end confdefs.h. */
11696
11697 int
11698 main ()
11699 {
11700
11701 ;
11702 return 0;
11703 }
11704 _ACEOF
11705 rm -f conftest.$ac_objext
11706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11707 (eval $ac_compile) 2>conftest.er1
11708 ac_status=$?
11709 grep -v '^ *+' conftest.er1 >conftest.err
11710 rm -f conftest.er1
11711 cat conftest.err >&5
11712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11713 (exit $ac_status); } &&
11714 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11716 (eval $ac_try) 2>&5
11717 ac_status=$?
11718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11719 (exit $ac_status); }; } &&
11720 { ac_try='test -s conftest.$ac_objext'
11721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11722 (eval $ac_try) 2>&5
11723 ac_status=$?
11724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11725 (exit $ac_status); }; }; then
11726 ac_cv_prog_cc_g=yes
11727 else
11728 echo "$as_me: failed program was:" >&5
11729 sed 's/^/| /' conftest.$ac_ext >&5
11730
11731 ac_cv_prog_cc_g=no
11732 fi
11733 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11734 fi
11735 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11736 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11737 if test "$ac_test_CFLAGS" = set; then
11738 CFLAGS=$ac_save_CFLAGS
11739 elif test $ac_cv_prog_cc_g = yes; then
11740 if test "$GCC" = yes; then
11741 CFLAGS="-g -O2"
11742 else
11743 CFLAGS="-g"
11744 fi
11745 else
11746 if test "$GCC" = yes; then
11747 CFLAGS="-O2"
11748 else
11749 CFLAGS=
11750 fi
11751 fi
11752 fi
11753 ac_ext=c
11754 ac_cpp='$CPP $CPPFLAGS'
11755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11758
11759 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
11760 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
11761 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
11762 echo $ECHO_N "(cached) $ECHO_C" >&6
11763 else
11764 cat >conftest.$ac_ext <<_ACEOF
11765 /* confdefs.h. */
11766 _ACEOF
11767 cat confdefs.h >>conftest.$ac_ext
11768 cat >>conftest.$ac_ext <<_ACEOF
11769 /* end confdefs.h. */
11770
11771 int
11772 main ()
11773 {
11774 #ifndef __MWERKS__
11775 choke me
11776 #endif
11777
11778 ;
11779 return 0;
11780 }
11781 _ACEOF
11782 rm -f conftest.$ac_objext
11783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11784 (eval $ac_compile) 2>conftest.er1
11785 ac_status=$?
11786 grep -v '^ *+' conftest.er1 >conftest.err
11787 rm -f conftest.er1
11788 cat conftest.err >&5
11789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11790 (exit $ac_status); } &&
11791 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11793 (eval $ac_try) 2>&5
11794 ac_status=$?
11795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11796 (exit $ac_status); }; } &&
11797 { ac_try='test -s conftest.$ac_objext'
11798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11799 (eval $ac_try) 2>&5
11800 ac_status=$?
11801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11802 (exit $ac_status); }; }; then
11803 bakefile_compiler_mwerks=yes
11804 else
11805 echo "$as_me: failed program was:" >&5
11806 sed 's/^/| /' conftest.$ac_ext >&5
11807
11808 bakefile_compiler_mwerks=no
11809 fi
11810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11811 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
11812
11813 fi
11814 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
11815 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
11816
11817 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
11818 ac_ext=c
11819 ac_cpp='$CPP $CPPFLAGS'
11820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11823
11824
11825 ac_ext=c
11826 ac_cpp='$CPP $CPPFLAGS'
11827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11830
11831 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
11832 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
11833 if test "${wx_cv_c_compiler_xlc+set}" = set; then
11834 echo $ECHO_N "(cached) $ECHO_C" >&6
11835 else
11836 cat >conftest.$ac_ext <<_ACEOF
11837 /* confdefs.h. */
11838 _ACEOF
11839 cat confdefs.h >>conftest.$ac_ext
11840 cat >>conftest.$ac_ext <<_ACEOF
11841 /* end confdefs.h. */
11842
11843 int
11844 main ()
11845 {
11846 #ifndef __xlC__
11847 choke me
11848 #endif
11849
11850 ;
11851 return 0;
11852 }
11853 _ACEOF
11854 rm -f conftest.$ac_objext
11855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11856 (eval $ac_compile) 2>conftest.er1
11857 ac_status=$?
11858 grep -v '^ *+' conftest.er1 >conftest.err
11859 rm -f conftest.er1
11860 cat conftest.err >&5
11861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11862 (exit $ac_status); } &&
11863 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11865 (eval $ac_try) 2>&5
11866 ac_status=$?
11867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11868 (exit $ac_status); }; } &&
11869 { ac_try='test -s conftest.$ac_objext'
11870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11871 (eval $ac_try) 2>&5
11872 ac_status=$?
11873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11874 (exit $ac_status); }; }; then
11875 wx_compiler_xlc=yes
11876 else
11877 echo "$as_me: failed program was:" >&5
11878 sed 's/^/| /' conftest.$ac_ext >&5
11879
11880 wx_compiler_xlc=no
11881 fi
11882 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11883 wx_cv_c_compiler_xlc=$wx_compiler_xlc
11884
11885 fi
11886 echo "$as_me:$LINENO: result: $wx_cv_c_compiler_xlc" >&5
11887 echo "${ECHO_T}$wx_cv_c_compiler_xlc" >&6
11888
11889 XLCC=`test $wx_cv_c_compiler_xlc = yes && echo yes`
11890 ac_ext=c
11891 ac_cpp='$CPP $CPPFLAGS'
11892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11895
11896
11897
11898
11899 ac_ext=c
11900 ac_cpp='$CPP $CPPFLAGS'
11901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11904
11905 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
11906 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
11907 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
11908 echo $ECHO_N "(cached) $ECHO_C" >&6
11909 else
11910 cat >conftest.$ac_ext <<_ACEOF
11911 /* confdefs.h. */
11912 _ACEOF
11913 cat confdefs.h >>conftest.$ac_ext
11914 cat >>conftest.$ac_ext <<_ACEOF
11915 /* end confdefs.h. */
11916
11917 int
11918 main ()
11919 {
11920
11921 #ifndef __SUNPRO_C
11922 choke me
11923 #endif
11924
11925 ;
11926 return 0;
11927 }
11928 _ACEOF
11929 rm -f conftest.$ac_objext
11930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11931 (eval $ac_compile) 2>conftest.er1
11932 ac_status=$?
11933 grep -v '^ *+' conftest.er1 >conftest.err
11934 rm -f conftest.er1
11935 cat conftest.err >&5
11936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11937 (exit $ac_status); } &&
11938 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11940 (eval $ac_try) 2>&5
11941 ac_status=$?
11942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11943 (exit $ac_status); }; } &&
11944 { ac_try='test -s conftest.$ac_objext'
11945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11946 (eval $ac_try) 2>&5
11947 ac_status=$?
11948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11949 (exit $ac_status); }; }; then
11950 bakefile_cv_c_compiler___SUNPRO_C=yes
11951 else
11952 echo "$as_me: failed program was:" >&5
11953 sed 's/^/| /' conftest.$ac_ext >&5
11954
11955 bakefile_cv_c_compiler___SUNPRO_C=no
11956
11957 fi
11958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11959
11960
11961 fi
11962 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
11963 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
11964 ac_ext=c
11965 ac_cpp='$CPP $CPPFLAGS'
11966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11969
11970 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
11971 :; SUNCC=yes
11972 else
11973 :;
11974 fi
11975
11976
11977
11978
11979 ac_ext=c
11980 ac_cpp='$CPP $CPPFLAGS'
11981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11984 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11985 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11986 # On Suns, sometimes $CPP names a directory.
11987 if test -n "$CPP" && test -d "$CPP"; then
11988 CPP=
11989 fi
11990 if test -z "$CPP"; then
11991 if test "${ac_cv_prog_CPP+set}" = set; then
11992 echo $ECHO_N "(cached) $ECHO_C" >&6
11993 else
11994 # Double quotes because CPP needs to be expanded
11995 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11996 do
11997 ac_preproc_ok=false
11998 for ac_c_preproc_warn_flag in '' yes
11999 do
12000 # Use a header file that comes with gcc, so configuring glibc
12001 # with a fresh cross-compiler works.
12002 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12003 # <limits.h> exists even on freestanding compilers.
12004 # On the NeXT, cc -E runs the code through the compiler's parser,
12005 # not just through cpp. "Syntax error" is here to catch this case.
12006 cat >conftest.$ac_ext <<_ACEOF
12007 /* confdefs.h. */
12008 _ACEOF
12009 cat confdefs.h >>conftest.$ac_ext
12010 cat >>conftest.$ac_ext <<_ACEOF
12011 /* end confdefs.h. */
12012 #ifdef __STDC__
12013 # include <limits.h>
12014 #else
12015 # include <assert.h>
12016 #endif
12017 Syntax error
12018 _ACEOF
12019 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12020 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12021 ac_status=$?
12022 grep -v '^ *+' conftest.er1 >conftest.err
12023 rm -f conftest.er1
12024 cat conftest.err >&5
12025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12026 (exit $ac_status); } >/dev/null; then
12027 if test -s conftest.err; then
12028 ac_cpp_err=$ac_c_preproc_warn_flag
12029 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12030 else
12031 ac_cpp_err=
12032 fi
12033 else
12034 ac_cpp_err=yes
12035 fi
12036 if test -z "$ac_cpp_err"; then
12037 :
12038 else
12039 echo "$as_me: failed program was:" >&5
12040 sed 's/^/| /' conftest.$ac_ext >&5
12041
12042 # Broken: fails on valid input.
12043 continue
12044 fi
12045 rm -f conftest.err conftest.$ac_ext
12046
12047 # OK, works on sane cases. Now check whether non-existent headers
12048 # can be detected and how.
12049 cat >conftest.$ac_ext <<_ACEOF
12050 /* confdefs.h. */
12051 _ACEOF
12052 cat confdefs.h >>conftest.$ac_ext
12053 cat >>conftest.$ac_ext <<_ACEOF
12054 /* end confdefs.h. */
12055 #include <ac_nonexistent.h>
12056 _ACEOF
12057 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12058 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12059 ac_status=$?
12060 grep -v '^ *+' conftest.er1 >conftest.err
12061 rm -f conftest.er1
12062 cat conftest.err >&5
12063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12064 (exit $ac_status); } >/dev/null; then
12065 if test -s conftest.err; then
12066 ac_cpp_err=$ac_c_preproc_warn_flag
12067 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12068 else
12069 ac_cpp_err=
12070 fi
12071 else
12072 ac_cpp_err=yes
12073 fi
12074 if test -z "$ac_cpp_err"; then
12075 # Broken: success on invalid input.
12076 continue
12077 else
12078 echo "$as_me: failed program was:" >&5
12079 sed 's/^/| /' conftest.$ac_ext >&5
12080
12081 # Passes both tests.
12082 ac_preproc_ok=:
12083 break
12084 fi
12085 rm -f conftest.err conftest.$ac_ext
12086
12087 done
12088 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12089 rm -f conftest.err conftest.$ac_ext
12090 if $ac_preproc_ok; then
12091 break
12092 fi
12093
12094 done
12095 ac_cv_prog_CPP=$CPP
12096
12097 fi
12098 CPP=$ac_cv_prog_CPP
12099 else
12100 ac_cv_prog_CPP=$CPP
12101 fi
12102 echo "$as_me:$LINENO: result: $CPP" >&5
12103 echo "${ECHO_T}$CPP" >&6
12104 ac_preproc_ok=false
12105 for ac_c_preproc_warn_flag in '' yes
12106 do
12107 # Use a header file that comes with gcc, so configuring glibc
12108 # with a fresh cross-compiler works.
12109 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12110 # <limits.h> exists even on freestanding compilers.
12111 # On the NeXT, cc -E runs the code through the compiler's parser,
12112 # not just through cpp. "Syntax error" is here to catch this case.
12113 cat >conftest.$ac_ext <<_ACEOF
12114 /* confdefs.h. */
12115 _ACEOF
12116 cat confdefs.h >>conftest.$ac_ext
12117 cat >>conftest.$ac_ext <<_ACEOF
12118 /* end confdefs.h. */
12119 #ifdef __STDC__
12120 # include <limits.h>
12121 #else
12122 # include <assert.h>
12123 #endif
12124 Syntax error
12125 _ACEOF
12126 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12127 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12128 ac_status=$?
12129 grep -v '^ *+' conftest.er1 >conftest.err
12130 rm -f conftest.er1
12131 cat conftest.err >&5
12132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12133 (exit $ac_status); } >/dev/null; then
12134 if test -s conftest.err; then
12135 ac_cpp_err=$ac_c_preproc_warn_flag
12136 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12137 else
12138 ac_cpp_err=
12139 fi
12140 else
12141 ac_cpp_err=yes
12142 fi
12143 if test -z "$ac_cpp_err"; then
12144 :
12145 else
12146 echo "$as_me: failed program was:" >&5
12147 sed 's/^/| /' conftest.$ac_ext >&5
12148
12149 # Broken: fails on valid input.
12150 continue
12151 fi
12152 rm -f conftest.err conftest.$ac_ext
12153
12154 # OK, works on sane cases. Now check whether non-existent headers
12155 # can be detected and how.
12156 cat >conftest.$ac_ext <<_ACEOF
12157 /* confdefs.h. */
12158 _ACEOF
12159 cat confdefs.h >>conftest.$ac_ext
12160 cat >>conftest.$ac_ext <<_ACEOF
12161 /* end confdefs.h. */
12162 #include <ac_nonexistent.h>
12163 _ACEOF
12164 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12165 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12166 ac_status=$?
12167 grep -v '^ *+' conftest.er1 >conftest.err
12168 rm -f conftest.er1
12169 cat conftest.err >&5
12170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12171 (exit $ac_status); } >/dev/null; then
12172 if test -s conftest.err; then
12173 ac_cpp_err=$ac_c_preproc_warn_flag
12174 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12175 else
12176 ac_cpp_err=
12177 fi
12178 else
12179 ac_cpp_err=yes
12180 fi
12181 if test -z "$ac_cpp_err"; then
12182 # Broken: success on invalid input.
12183 continue
12184 else
12185 echo "$as_me: failed program was:" >&5
12186 sed 's/^/| /' conftest.$ac_ext >&5
12187
12188 # Passes both tests.
12189 ac_preproc_ok=:
12190 break
12191 fi
12192 rm -f conftest.err conftest.$ac_ext
12193
12194 done
12195 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12196 rm -f conftest.err conftest.$ac_ext
12197 if $ac_preproc_ok; then
12198 :
12199 else
12200 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
12201 See \`config.log' for more details." >&5
12202 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
12203 See \`config.log' for more details." >&2;}
12204 { (exit 1); exit 1; }; }
12205 fi
12206
12207 ac_ext=c
12208 ac_cpp='$CPP $CPPFLAGS'
12209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12212
12213
12214 echo "$as_me:$LINENO: checking for egrep" >&5
12215 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
12216 if test "${ac_cv_prog_egrep+set}" = set; then
12217 echo $ECHO_N "(cached) $ECHO_C" >&6
12218 else
12219 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
12220 then ac_cv_prog_egrep='grep -E'
12221 else ac_cv_prog_egrep='egrep'
12222 fi
12223 fi
12224 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
12225 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
12226 EGREP=$ac_cv_prog_egrep
12227
12228
12229 if test $ac_cv_c_compiler_gnu = yes; then
12230 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
12231 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
12232 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
12233 echo $ECHO_N "(cached) $ECHO_C" >&6
12234 else
12235 ac_pattern="Autoconf.*'x'"
12236 cat >conftest.$ac_ext <<_ACEOF
12237 /* confdefs.h. */
12238 _ACEOF
12239 cat confdefs.h >>conftest.$ac_ext
12240 cat >>conftest.$ac_ext <<_ACEOF
12241 /* end confdefs.h. */
12242 #include <sgtty.h>
12243 Autoconf TIOCGETP
12244 _ACEOF
12245 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12246 $EGREP "$ac_pattern" >/dev/null 2>&1; then
12247 ac_cv_prog_gcc_traditional=yes
12248 else
12249 ac_cv_prog_gcc_traditional=no
12250 fi
12251 rm -f conftest*
12252
12253
12254 if test $ac_cv_prog_gcc_traditional = no; then
12255 cat >conftest.$ac_ext <<_ACEOF
12256 /* confdefs.h. */
12257 _ACEOF
12258 cat confdefs.h >>conftest.$ac_ext
12259 cat >>conftest.$ac_ext <<_ACEOF
12260 /* end confdefs.h. */
12261 #include <termio.h>
12262 Autoconf TCGETA
12263 _ACEOF
12264 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12265 $EGREP "$ac_pattern" >/dev/null 2>&1; then
12266 ac_cv_prog_gcc_traditional=yes
12267 fi
12268 rm -f conftest*
12269
12270 fi
12271 fi
12272 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
12273 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
12274 if test $ac_cv_prog_gcc_traditional = yes; then
12275 CC="$CC -traditional"
12276 fi
12277 fi
12278
12279
12280
12281
12282 ac_ext=cc
12283 ac_cpp='$CXXCPP $CPPFLAGS'
12284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12287
12288
12289 CXXFLAGS=${CXXFLAGS:=}
12290
12291
12292 ac_ext=cc
12293 ac_cpp='$CXXCPP $CPPFLAGS'
12294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12297 if test -n "$ac_tool_prefix"; then
12298 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
12299 do
12300 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12301 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12302 echo "$as_me:$LINENO: checking for $ac_word" >&5
12303 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12304 if test "${ac_cv_prog_CXX+set}" = set; then
12305 echo $ECHO_N "(cached) $ECHO_C" >&6
12306 else
12307 if test -n "$CXX"; then
12308 ac_cv_prog_CXX="$CXX" # Let the user override the test.
12309 else
12310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12311 for as_dir in $PATH
12312 do
12313 IFS=$as_save_IFS
12314 test -z "$as_dir" && as_dir=.
12315 for ac_exec_ext in '' $ac_executable_extensions; do
12316 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12317 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
12318 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12319 break 2
12320 fi
12321 done
12322 done
12323
12324 fi
12325 fi
12326 CXX=$ac_cv_prog_CXX
12327 if test -n "$CXX"; then
12328 echo "$as_me:$LINENO: result: $CXX" >&5
12329 echo "${ECHO_T}$CXX" >&6
12330 else
12331 echo "$as_me:$LINENO: result: no" >&5
12332 echo "${ECHO_T}no" >&6
12333 fi
12334
12335 test -n "$CXX" && break
12336 done
12337 fi
12338 if test -z "$CXX"; then
12339 ac_ct_CXX=$CXX
12340 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
12341 do
12342 # Extract the first word of "$ac_prog", so it can be a program name with args.
12343 set dummy $ac_prog; ac_word=$2
12344 echo "$as_me:$LINENO: checking for $ac_word" >&5
12345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12346 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12347 echo $ECHO_N "(cached) $ECHO_C" >&6
12348 else
12349 if test -n "$ac_ct_CXX"; then
12350 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
12351 else
12352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12353 for as_dir in $PATH
12354 do
12355 IFS=$as_save_IFS
12356 test -z "$as_dir" && as_dir=.
12357 for ac_exec_ext in '' $ac_executable_extensions; do
12358 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12359 ac_cv_prog_ac_ct_CXX="$ac_prog"
12360 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12361 break 2
12362 fi
12363 done
12364 done
12365
12366 fi
12367 fi
12368 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
12369 if test -n "$ac_ct_CXX"; then
12370 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12371 echo "${ECHO_T}$ac_ct_CXX" >&6
12372 else
12373 echo "$as_me:$LINENO: result: no" >&5
12374 echo "${ECHO_T}no" >&6
12375 fi
12376
12377 test -n "$ac_ct_CXX" && break
12378 done
12379 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
12380
12381 CXX=$ac_ct_CXX
12382 fi
12383
12384
12385 # Provide some information about the compiler.
12386 echo "$as_me:$LINENO:" \
12387 "checking for C++ compiler version" >&5
12388 ac_compiler=`set X $ac_compile; echo $2`
12389 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12390 (eval $ac_compiler --version </dev/null >&5) 2>&5
12391 ac_status=$?
12392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12393 (exit $ac_status); }
12394 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12395 (eval $ac_compiler -v </dev/null >&5) 2>&5
12396 ac_status=$?
12397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12398 (exit $ac_status); }
12399 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12400 (eval $ac_compiler -V </dev/null >&5) 2>&5
12401 ac_status=$?
12402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12403 (exit $ac_status); }
12404
12405 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
12406 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
12407 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
12408 echo $ECHO_N "(cached) $ECHO_C" >&6
12409 else
12410 cat >conftest.$ac_ext <<_ACEOF
12411 /* confdefs.h. */
12412 _ACEOF
12413 cat confdefs.h >>conftest.$ac_ext
12414 cat >>conftest.$ac_ext <<_ACEOF
12415 /* end confdefs.h. */
12416
12417 int
12418 main ()
12419 {
12420 #ifndef __GNUC__
12421 choke me
12422 #endif
12423
12424 ;
12425 return 0;
12426 }
12427 _ACEOF
12428 rm -f conftest.$ac_objext
12429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12430 (eval $ac_compile) 2>conftest.er1
12431 ac_status=$?
12432 grep -v '^ *+' conftest.er1 >conftest.err
12433 rm -f conftest.er1
12434 cat conftest.err >&5
12435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12436 (exit $ac_status); } &&
12437 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12439 (eval $ac_try) 2>&5
12440 ac_status=$?
12441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12442 (exit $ac_status); }; } &&
12443 { ac_try='test -s conftest.$ac_objext'
12444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12445 (eval $ac_try) 2>&5
12446 ac_status=$?
12447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12448 (exit $ac_status); }; }; then
12449 ac_compiler_gnu=yes
12450 else
12451 echo "$as_me: failed program was:" >&5
12452 sed 's/^/| /' conftest.$ac_ext >&5
12453
12454 ac_compiler_gnu=no
12455 fi
12456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12457 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
12458
12459 fi
12460 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12461 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
12462 GXX=`test $ac_compiler_gnu = yes && echo yes`
12463 ac_test_CXXFLAGS=${CXXFLAGS+set}
12464 ac_save_CXXFLAGS=$CXXFLAGS
12465 CXXFLAGS="-g"
12466 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12467 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12468 if test "${ac_cv_prog_cxx_g+set}" = set; then
12469 echo $ECHO_N "(cached) $ECHO_C" >&6
12470 else
12471 cat >conftest.$ac_ext <<_ACEOF
12472 /* confdefs.h. */
12473 _ACEOF
12474 cat confdefs.h >>conftest.$ac_ext
12475 cat >>conftest.$ac_ext <<_ACEOF
12476 /* end confdefs.h. */
12477
12478 int
12479 main ()
12480 {
12481
12482 ;
12483 return 0;
12484 }
12485 _ACEOF
12486 rm -f conftest.$ac_objext
12487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12488 (eval $ac_compile) 2>conftest.er1
12489 ac_status=$?
12490 grep -v '^ *+' conftest.er1 >conftest.err
12491 rm -f conftest.er1
12492 cat conftest.err >&5
12493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12494 (exit $ac_status); } &&
12495 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12497 (eval $ac_try) 2>&5
12498 ac_status=$?
12499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12500 (exit $ac_status); }; } &&
12501 { ac_try='test -s conftest.$ac_objext'
12502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12503 (eval $ac_try) 2>&5
12504 ac_status=$?
12505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12506 (exit $ac_status); }; }; then
12507 ac_cv_prog_cxx_g=yes
12508 else
12509 echo "$as_me: failed program was:" >&5
12510 sed 's/^/| /' conftest.$ac_ext >&5
12511
12512 ac_cv_prog_cxx_g=no
12513 fi
12514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12515 fi
12516 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12517 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12518 if test "$ac_test_CXXFLAGS" = set; then
12519 CXXFLAGS=$ac_save_CXXFLAGS
12520 elif test $ac_cv_prog_cxx_g = yes; then
12521 if test "$GXX" = yes; then
12522 CXXFLAGS="-g -O2"
12523 else
12524 CXXFLAGS="-g"
12525 fi
12526 else
12527 if test "$GXX" = yes; then
12528 CXXFLAGS="-O2"
12529 else
12530 CXXFLAGS=
12531 fi
12532 fi
12533 for ac_declaration in \
12534 '' \
12535 'extern "C" void std::exit (int) throw (); using std::exit;' \
12536 'extern "C" void std::exit (int); using std::exit;' \
12537 'extern "C" void exit (int) throw ();' \
12538 'extern "C" void exit (int);' \
12539 'void exit (int);'
12540 do
12541 cat >conftest.$ac_ext <<_ACEOF
12542 /* confdefs.h. */
12543 _ACEOF
12544 cat confdefs.h >>conftest.$ac_ext
12545 cat >>conftest.$ac_ext <<_ACEOF
12546 /* end confdefs.h. */
12547 $ac_declaration
12548 #include <stdlib.h>
12549 int
12550 main ()
12551 {
12552 exit (42);
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 :
12579 else
12580 echo "$as_me: failed program was:" >&5
12581 sed 's/^/| /' conftest.$ac_ext >&5
12582
12583 continue
12584 fi
12585 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12586 cat >conftest.$ac_ext <<_ACEOF
12587 /* confdefs.h. */
12588 _ACEOF
12589 cat confdefs.h >>conftest.$ac_ext
12590 cat >>conftest.$ac_ext <<_ACEOF
12591 /* end confdefs.h. */
12592 $ac_declaration
12593 int
12594 main ()
12595 {
12596 exit (42);
12597 ;
12598 return 0;
12599 }
12600 _ACEOF
12601 rm -f conftest.$ac_objext
12602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12603 (eval $ac_compile) 2>conftest.er1
12604 ac_status=$?
12605 grep -v '^ *+' conftest.er1 >conftest.err
12606 rm -f conftest.er1
12607 cat conftest.err >&5
12608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12609 (exit $ac_status); } &&
12610 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12612 (eval $ac_try) 2>&5
12613 ac_status=$?
12614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12615 (exit $ac_status); }; } &&
12616 { ac_try='test -s conftest.$ac_objext'
12617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12618 (eval $ac_try) 2>&5
12619 ac_status=$?
12620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12621 (exit $ac_status); }; }; then
12622 break
12623 else
12624 echo "$as_me: failed program was:" >&5
12625 sed 's/^/| /' conftest.$ac_ext >&5
12626
12627 fi
12628 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12629 done
12630 rm -f conftest*
12631 if test -n "$ac_declaration"; then
12632 echo '#ifdef __cplusplus' >>confdefs.h
12633 echo $ac_declaration >>confdefs.h
12634 echo '#endif' >>confdefs.h
12635 fi
12636
12637 ac_ext=cc
12638 ac_cpp='$CXXCPP $CPPFLAGS'
12639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12642
12643 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
12644 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
12645 if test "${wx_cv_cxx_exto+set}" = set; then
12646 echo $ECHO_N "(cached) $ECHO_C" >&6
12647 else
12648 cat >conftest.$ac_ext <<_ACEOF
12649 /* confdefs.h. */
12650 _ACEOF
12651 cat confdefs.h >>conftest.$ac_ext
12652 cat >>conftest.$ac_ext <<_ACEOF
12653 /* end confdefs.h. */
12654
12655 int
12656 main ()
12657 {
12658
12659 ;
12660 return 0;
12661 }
12662 _ACEOF
12663 rm -f conftest.$ac_objext conftest.$ac_ext.o
12664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12665 (eval $ac_compile) 2>&5
12666 ac_status=$?
12667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12668 (exit $ac_status); }; then
12669 for ac_file in `(ls conftest.* 2>/dev/null)`; do
12670 case $ac_file in
12671 conftest.$ac_ext.o)
12672 wx_cv_cxx_exto="-ext o"
12673 ;;
12674 *)
12675 ;;
12676 esac
12677 done
12678 else
12679 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12680 See \`config.log' for more details." >&5
12681 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12682 See \`config.log' for more details." >&2;}
12683 { (exit 1); exit 1; }; }
12684
12685 fi
12686
12687 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
12688
12689 fi
12690 echo "$as_me:$LINENO: result: $wx_cv_cxx_exto" >&5
12691 echo "${ECHO_T}$wx_cv_cxx_exto" >&6
12692 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12693 if test "cxx" = "c"; then
12694 CFLAGS="$wx_cv_cxx_exto $CFLAGS"
12695 fi
12696 if test "cxx" = "cxx"; then
12697 CXXFLAGS="$wx_cv_cxx_exto $CXXFLAGS"
12698 fi
12699 fi
12700
12701 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12702 unset ac_cv_prog_cxx_g
12703 ac_test_CXXFLAGS=${CXXFLAGS+set}
12704 ac_save_CXXFLAGS=$CXXFLAGS
12705 CXXFLAGS="-g"
12706 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12707 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12708 if test "${ac_cv_prog_cxx_g+set}" = set; then
12709 echo $ECHO_N "(cached) $ECHO_C" >&6
12710 else
12711 cat >conftest.$ac_ext <<_ACEOF
12712 /* confdefs.h. */
12713 _ACEOF
12714 cat confdefs.h >>conftest.$ac_ext
12715 cat >>conftest.$ac_ext <<_ACEOF
12716 /* end confdefs.h. */
12717
12718 int
12719 main ()
12720 {
12721
12722 ;
12723 return 0;
12724 }
12725 _ACEOF
12726 rm -f conftest.$ac_objext
12727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12728 (eval $ac_compile) 2>conftest.er1
12729 ac_status=$?
12730 grep -v '^ *+' conftest.er1 >conftest.err
12731 rm -f conftest.er1
12732 cat conftest.err >&5
12733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12734 (exit $ac_status); } &&
12735 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12737 (eval $ac_try) 2>&5
12738 ac_status=$?
12739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12740 (exit $ac_status); }; } &&
12741 { ac_try='test -s conftest.$ac_objext'
12742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12743 (eval $ac_try) 2>&5
12744 ac_status=$?
12745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12746 (exit $ac_status); }; }; then
12747 ac_cv_prog_cxx_g=yes
12748 else
12749 echo "$as_me: failed program was:" >&5
12750 sed 's/^/| /' conftest.$ac_ext >&5
12751
12752 ac_cv_prog_cxx_g=no
12753 fi
12754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12755 fi
12756 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12757 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12758 if test "$ac_test_CXXFLAGS" = set; then
12759 CXXFLAGS=$ac_save_CXXFLAGS
12760 elif test $ac_cv_prog_cxx_g = yes; then
12761 if test "$GXX" = yes; then
12762 CXXFLAGS="-g -O2"
12763 else
12764 CXXFLAGS="-g"
12765 fi
12766 else
12767 if test "$GXX" = yes; then
12768 CXXFLAGS="-O2"
12769 else
12770 CXXFLAGS=
12771 fi
12772 fi
12773 fi
12774 ac_ext=cc
12775 ac_cpp='$CXXCPP $CPPFLAGS'
12776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12779
12780 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
12781 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
12782 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
12783 echo $ECHO_N "(cached) $ECHO_C" >&6
12784 else
12785 cat >conftest.$ac_ext <<_ACEOF
12786 /* confdefs.h. */
12787 _ACEOF
12788 cat confdefs.h >>conftest.$ac_ext
12789 cat >>conftest.$ac_ext <<_ACEOF
12790 /* end confdefs.h. */
12791
12792 int
12793 main ()
12794 {
12795 #ifndef __MWERKS__
12796 choke me
12797 #endif
12798
12799 ;
12800 return 0;
12801 }
12802 _ACEOF
12803 rm -f conftest.$ac_objext
12804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12805 (eval $ac_compile) 2>conftest.er1
12806 ac_status=$?
12807 grep -v '^ *+' conftest.er1 >conftest.err
12808 rm -f conftest.er1
12809 cat conftest.err >&5
12810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12811 (exit $ac_status); } &&
12812 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12814 (eval $ac_try) 2>&5
12815 ac_status=$?
12816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12817 (exit $ac_status); }; } &&
12818 { ac_try='test -s conftest.$ac_objext'
12819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12820 (eval $ac_try) 2>&5
12821 ac_status=$?
12822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12823 (exit $ac_status); }; }; then
12824 bakefile_compiler_mwerks=yes
12825 else
12826 echo "$as_me: failed program was:" >&5
12827 sed 's/^/| /' conftest.$ac_ext >&5
12828
12829 bakefile_compiler_mwerks=no
12830 fi
12831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12832 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
12833
12834 fi
12835 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
12836 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
12837
12838 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
12839 ac_ext=cc
12840 ac_cpp='$CXXCPP $CPPFLAGS'
12841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12844
12845
12846 ac_ext=cc
12847 ac_cpp='$CXXCPP $CPPFLAGS'
12848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12851
12852 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
12853 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
12854 if test "${wx_cv_cxx_compiler_xlc+set}" = set; then
12855 echo $ECHO_N "(cached) $ECHO_C" >&6
12856 else
12857 cat >conftest.$ac_ext <<_ACEOF
12858 /* confdefs.h. */
12859 _ACEOF
12860 cat confdefs.h >>conftest.$ac_ext
12861 cat >>conftest.$ac_ext <<_ACEOF
12862 /* end confdefs.h. */
12863
12864 int
12865 main ()
12866 {
12867 #ifndef __xlC__
12868 choke me
12869 #endif
12870
12871 ;
12872 return 0;
12873 }
12874 _ACEOF
12875 rm -f conftest.$ac_objext
12876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12877 (eval $ac_compile) 2>conftest.er1
12878 ac_status=$?
12879 grep -v '^ *+' conftest.er1 >conftest.err
12880 rm -f conftest.er1
12881 cat conftest.err >&5
12882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12883 (exit $ac_status); } &&
12884 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12886 (eval $ac_try) 2>&5
12887 ac_status=$?
12888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12889 (exit $ac_status); }; } &&
12890 { ac_try='test -s conftest.$ac_objext'
12891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12892 (eval $ac_try) 2>&5
12893 ac_status=$?
12894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12895 (exit $ac_status); }; }; then
12896 wx_compiler_xlc=yes
12897 else
12898 echo "$as_me: failed program was:" >&5
12899 sed 's/^/| /' conftest.$ac_ext >&5
12900
12901 wx_compiler_xlc=no
12902 fi
12903 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12904 wx_cv_cxx_compiler_xlc=$wx_compiler_xlc
12905
12906 fi
12907 echo "$as_me:$LINENO: result: $wx_cv_cxx_compiler_xlc" >&5
12908 echo "${ECHO_T}$wx_cv_cxx_compiler_xlc" >&6
12909
12910 XLCXX=`test $wx_cv_cxx_compiler_xlc = yes && echo yes`
12911 ac_ext=cc
12912 ac_cpp='$CXXCPP $CPPFLAGS'
12913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12916
12917
12918
12919
12920 ac_ext=cc
12921 ac_cpp='$CXXCPP $CPPFLAGS'
12922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12925
12926 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
12927 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
12928 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
12929 echo $ECHO_N "(cached) $ECHO_C" >&6
12930 else
12931 cat >conftest.$ac_ext <<_ACEOF
12932 /* confdefs.h. */
12933 _ACEOF
12934 cat confdefs.h >>conftest.$ac_ext
12935 cat >>conftest.$ac_ext <<_ACEOF
12936 /* end confdefs.h. */
12937
12938 int
12939 main ()
12940 {
12941
12942 #ifndef __SUNPRO_CC
12943 choke me
12944 #endif
12945
12946 ;
12947 return 0;
12948 }
12949 _ACEOF
12950 rm -f conftest.$ac_objext
12951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12952 (eval $ac_compile) 2>conftest.er1
12953 ac_status=$?
12954 grep -v '^ *+' conftest.er1 >conftest.err
12955 rm -f conftest.er1
12956 cat conftest.err >&5
12957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12958 (exit $ac_status); } &&
12959 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12961 (eval $ac_try) 2>&5
12962 ac_status=$?
12963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12964 (exit $ac_status); }; } &&
12965 { ac_try='test -s conftest.$ac_objext'
12966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12967 (eval $ac_try) 2>&5
12968 ac_status=$?
12969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12970 (exit $ac_status); }; }; then
12971 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
12972 else
12973 echo "$as_me: failed program was:" >&5
12974 sed 's/^/| /' conftest.$ac_ext >&5
12975
12976 bakefile_cv_cxx_compiler___SUNPRO_CC=no
12977
12978 fi
12979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12980
12981
12982 fi
12983 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
12984 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
12985 ac_ext=cc
12986 ac_cpp='$CXXCPP $CPPFLAGS'
12987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12990
12991 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
12992 :; SUNCXX=yes
12993 else
12994 :;
12995 fi
12996
12997
12998
12999
13000 ac_ext=c
13001 ac_cpp='$CPP $CPPFLAGS'
13002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13005
13006
13007 if test -n "$ac_tool_prefix"; then
13008 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
13009 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
13010 echo "$as_me:$LINENO: checking for $ac_word" >&5
13011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13012 if test "${ac_cv_prog_RANLIB+set}" = set; then
13013 echo $ECHO_N "(cached) $ECHO_C" >&6
13014 else
13015 if test -n "$RANLIB"; then
13016 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
13017 else
13018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13019 for as_dir in $PATH
13020 do
13021 IFS=$as_save_IFS
13022 test -z "$as_dir" && as_dir=.
13023 for ac_exec_ext in '' $ac_executable_extensions; do
13024 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13025 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
13026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13027 break 2
13028 fi
13029 done
13030 done
13031
13032 fi
13033 fi
13034 RANLIB=$ac_cv_prog_RANLIB
13035 if test -n "$RANLIB"; then
13036 echo "$as_me:$LINENO: result: $RANLIB" >&5
13037 echo "${ECHO_T}$RANLIB" >&6
13038 else
13039 echo "$as_me:$LINENO: result: no" >&5
13040 echo "${ECHO_T}no" >&6
13041 fi
13042
13043 fi
13044 if test -z "$ac_cv_prog_RANLIB"; then
13045 ac_ct_RANLIB=$RANLIB
13046 # Extract the first word of "ranlib", so it can be a program name with args.
13047 set dummy ranlib; ac_word=$2
13048 echo "$as_me:$LINENO: checking for $ac_word" >&5
13049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13050 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
13051 echo $ECHO_N "(cached) $ECHO_C" >&6
13052 else
13053 if test -n "$ac_ct_RANLIB"; then
13054 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
13055 else
13056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13057 for as_dir in $PATH
13058 do
13059 IFS=$as_save_IFS
13060 test -z "$as_dir" && as_dir=.
13061 for ac_exec_ext in '' $ac_executable_extensions; do
13062 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13063 ac_cv_prog_ac_ct_RANLIB="ranlib"
13064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13065 break 2
13066 fi
13067 done
13068 done
13069
13070 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
13071 fi
13072 fi
13073 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
13074 if test -n "$ac_ct_RANLIB"; then
13075 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
13076 echo "${ECHO_T}$ac_ct_RANLIB" >&6
13077 else
13078 echo "$as_me:$LINENO: result: no" >&5
13079 echo "${ECHO_T}no" >&6
13080 fi
13081
13082 RANLIB=$ac_ct_RANLIB
13083 else
13084 RANLIB="$ac_cv_prog_RANLIB"
13085 fi
13086
13087
13088 # Extract the first word of "ar", so it can be a program name with args.
13089 set dummy ar; ac_word=$2
13090 echo "$as_me:$LINENO: checking for $ac_word" >&5
13091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13092 if test "${ac_cv_prog_AR+set}" = set; then
13093 echo $ECHO_N "(cached) $ECHO_C" >&6
13094 else
13095 if test -n "$AR"; then
13096 ac_cv_prog_AR="$AR" # Let the user override the test.
13097 else
13098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13099 for as_dir in $PATH
13100 do
13101 IFS=$as_save_IFS
13102 test -z "$as_dir" && as_dir=.
13103 for ac_exec_ext in '' $ac_executable_extensions; do
13104 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13105 ac_cv_prog_AR="ar"
13106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13107 break 2
13108 fi
13109 done
13110 done
13111
13112 fi
13113 fi
13114 AR=$ac_cv_prog_AR
13115 if test -n "$AR"; then
13116 echo "$as_me:$LINENO: result: $AR" >&5
13117 echo "${ECHO_T}$AR" >&6
13118 else
13119 echo "$as_me:$LINENO: result: no" >&5
13120 echo "${ECHO_T}no" >&6
13121 fi
13122
13123 if test "x$AR" = "x" ; then
13124 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
13125 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
13126 { (exit 1); exit 1; }; }
13127 fi
13128
13129 # Find a good install program. We prefer a C program (faster),
13130 # so one script is as good as another. But avoid the broken or
13131 # incompatible versions:
13132 # SysV /etc/install, /usr/sbin/install
13133 # SunOS /usr/etc/install
13134 # IRIX /sbin/install
13135 # AIX /bin/install
13136 # AmigaOS /C/install, which installs bootblocks on floppy discs
13137 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
13138 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
13139 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
13140 # OS/2's system install, which has a completely different semantic
13141 # ./install, which can be erroneously created by make from ./install.sh.
13142 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
13143 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
13144 if test -z "$INSTALL"; then
13145 if test "${ac_cv_path_install+set}" = set; then
13146 echo $ECHO_N "(cached) $ECHO_C" >&6
13147 else
13148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13149 for as_dir in $PATH
13150 do
13151 IFS=$as_save_IFS
13152 test -z "$as_dir" && as_dir=.
13153 # Account for people who put trailing slashes in PATH elements.
13154 case $as_dir/ in
13155 ./ | .// | /cC/* | \
13156 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
13157 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
13158 /usr/ucb/* ) ;;
13159 *)
13160 # OSF1 and SCO ODT 3.0 have their own names for install.
13161 # Don't use installbsd from OSF since it installs stuff as root
13162 # by default.
13163 for ac_prog in ginstall scoinst install; do
13164 for ac_exec_ext in '' $ac_executable_extensions; do
13165 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
13166 if test $ac_prog = install &&
13167 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
13168 # AIX install. It has an incompatible calling convention.
13169 :
13170 elif test $ac_prog = install &&
13171 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
13172 # program-specific install script used by HP pwplus--don't use.
13173 :
13174 else
13175 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
13176 break 3
13177 fi
13178 fi
13179 done
13180 done
13181 ;;
13182 esac
13183 done
13184
13185
13186 fi
13187 if test "${ac_cv_path_install+set}" = set; then
13188 INSTALL=$ac_cv_path_install
13189 else
13190 # As a last resort, use the slow shell script. We don't cache a
13191 # path for INSTALL within a source directory, because that will
13192 # break other packages using the cache if that directory is
13193 # removed, or if the path is relative.
13194 INSTALL=$ac_install_sh
13195 fi
13196 fi
13197 echo "$as_me:$LINENO: result: $INSTALL" >&5
13198 echo "${ECHO_T}$INSTALL" >&6
13199
13200 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
13201 # It thinks the first close brace ends the variable substitution.
13202 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
13203
13204 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
13205
13206 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
13207
13208
13209 case ${INSTALL} in
13210 /* ) # Absolute
13211 ;;
13212 ?:* ) # Drive letter, considered as absolute.
13213 ;;
13214 *)
13215 INSTALL=`pwd`/${INSTALL} ;;
13216 esac
13217
13218
13219 case "${host}" in
13220
13221 powerpc-*-darwin* )
13222 INSTALL_PROGRAM="cp -fp"
13223 INSTALL_DATA="cp -fp"
13224 ;;
13225 *)
13226 ;;
13227 esac
13228
13229 # Extract the first word of "strip", so it can be a program name with args.
13230 set dummy strip; ac_word=$2
13231 echo "$as_me:$LINENO: checking for $ac_word" >&5
13232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13233 if test "${ac_cv_prog_STRIP+set}" = set; then
13234 echo $ECHO_N "(cached) $ECHO_C" >&6
13235 else
13236 if test -n "$STRIP"; then
13237 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
13238 else
13239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13240 for as_dir in $PATH
13241 do
13242 IFS=$as_save_IFS
13243 test -z "$as_dir" && as_dir=.
13244 for ac_exec_ext in '' $ac_executable_extensions; do
13245 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13246 ac_cv_prog_STRIP="strip"
13247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13248 break 2
13249 fi
13250 done
13251 done
13252
13253 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
13254 fi
13255 fi
13256 STRIP=$ac_cv_prog_STRIP
13257 if test -n "$STRIP"; then
13258 echo "$as_me:$LINENO: result: $STRIP" >&5
13259 echo "${ECHO_T}$STRIP" >&6
13260 else
13261 echo "$as_me:$LINENO: result: no" >&5
13262 echo "${ECHO_T}no" >&6
13263 fi
13264
13265
13266 echo "$as_me:$LINENO: checking if make is GNU make" >&5
13267 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
13268 if test "${wx_cv_prog_makeisgnu+set}" = set; then
13269 echo $ECHO_N "(cached) $ECHO_C" >&6
13270 else
13271
13272 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
13273 egrep -s GNU > /dev/null); then
13274 wx_cv_prog_makeisgnu="yes"
13275 else
13276 wx_cv_prog_makeisgnu="no"
13277 fi
13278
13279 fi
13280 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
13281 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
13282
13283 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
13284 IF_GNU_MAKE=""
13285 else
13286 IF_GNU_MAKE="#"
13287 fi
13288
13289
13290
13291 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
13292 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
13293 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
13294 if test "${wx_cv_prog_makevpath+set}" = set; then
13295 echo $ECHO_N "(cached) $ECHO_C" >&6
13296 else
13297
13298 cat - << EOF > confMake
13299 check : file
13300 cp \$? \$@
13301 cp \$? final_file
13302 EOF
13303
13304 if test ! -d sub ; then
13305 mkdir sub
13306 fi
13307 echo dummy > sub/file
13308 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
13309 RESULT=$?
13310 rm -f sub/file check final_file confMake
13311 rmdir sub
13312 if test "$RESULT" = 0; then
13313 wx_cv_prog_makevpath="yes"
13314 else
13315 wx_cv_prog_makevpath="no"
13316 fi
13317
13318 fi
13319 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
13320 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
13321
13322 if test "x$wx_cv_prog_makevpath" != "xyes"; then
13323 { { echo "$as_me:$LINENO: error:
13324 You need a make-utility that is able to use the variable
13325 VPATH correctly.
13326 If your version of make does not support VPATH correctly,
13327 please install GNU-make (possibly as gmake), and start
13328 configure with the following command:
13329 export MAKE=gmake; ./configure for sh-type shells
13330 setenv MAKE gmake; ./configure for csh-type shells
13331 Also please do remember to use gmake in this case every time
13332 you are trying to compile.
13333 " >&5
13334 echo "$as_me: error:
13335 You need a make-utility that is able to use the variable
13336 VPATH correctly.
13337 If your version of make does not support VPATH correctly,
13338 please install GNU-make (possibly as gmake), and start
13339 configure with the following command:
13340 export MAKE=gmake; ./configure for sh-type shells
13341 setenv MAKE gmake; ./configure for csh-type shells
13342 Also please do remember to use gmake in this case every time
13343 you are trying to compile.
13344 " >&2;}
13345 { (exit 1); exit 1; }; }
13346 fi fi
13347 echo "$as_me:$LINENO: checking whether ln -s works" >&5
13348 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
13349 LN_S=$as_ln_s
13350 if test "$LN_S" = "ln -s"; then
13351 echo "$as_me:$LINENO: result: yes" >&5
13352 echo "${ECHO_T}yes" >&6
13353 else
13354 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
13355 echo "${ECHO_T}no, using $LN_S" >&6
13356 fi
13357
13358
13359
13360 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
13361 CXXFLAGS="$CXXFLAGS -qunique"
13362 fi
13363
13364
13365 case "${host}" in
13366 powerpc-*-darwin* )
13367 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
13368 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
13369 cat >conftest.$ac_ext <<_ACEOF
13370 /* confdefs.h. */
13371 _ACEOF
13372 cat confdefs.h >>conftest.$ac_ext
13373 cat >>conftest.$ac_ext <<_ACEOF
13374 /* end confdefs.h. */
13375
13376 int
13377 main ()
13378 {
13379 #ifndef __POWERPC__
13380 choke me for lack of PowerPC
13381 #endif
13382
13383 ;
13384 return 0;
13385 }
13386 _ACEOF
13387 rm -f conftest.$ac_objext
13388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13389 (eval $ac_compile) 2>conftest.er1
13390 ac_status=$?
13391 grep -v '^ *+' conftest.er1 >conftest.err
13392 rm -f conftest.er1
13393 cat conftest.err >&5
13394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13395 (exit $ac_status); } &&
13396 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13398 (eval $ac_try) 2>&5
13399 ac_status=$?
13400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13401 (exit $ac_status); }; } &&
13402 { ac_try='test -s conftest.$ac_objext'
13403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13404 (eval $ac_try) 2>&5
13405 ac_status=$?
13406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13407 (exit $ac_status); }; }; then
13408 echo "$as_me:$LINENO: result: yes" >&5
13409 echo "${ECHO_T}yes" >&6
13410 else
13411 echo "$as_me: failed program was:" >&5
13412 sed 's/^/| /' conftest.$ac_ext >&5
13413
13414 echo "$as_me:$LINENO: result: no" >&5
13415 echo "${ECHO_T}no" >&6
13416 cat >>confdefs.h <<\_ACEOF
13417 #define __POWERPC__ 1
13418 _ACEOF
13419
13420
13421 fi
13422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13423 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
13424 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
13425 cat >conftest.$ac_ext <<_ACEOF
13426 /* confdefs.h. */
13427 _ACEOF
13428 cat confdefs.h >>conftest.$ac_ext
13429 cat >>conftest.$ac_ext <<_ACEOF
13430 /* end confdefs.h. */
13431 #include <CoreFoundation/CFBase.h>
13432
13433 int
13434 main ()
13435 {
13436
13437 ;
13438 return 0;
13439 }
13440 _ACEOF
13441 rm -f conftest.$ac_objext
13442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13443 (eval $ac_compile) 2>conftest.er1
13444 ac_status=$?
13445 grep -v '^ *+' conftest.er1 >conftest.err
13446 rm -f conftest.er1
13447 cat conftest.err >&5
13448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13449 (exit $ac_status); } &&
13450 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13452 (eval $ac_try) 2>&5
13453 ac_status=$?
13454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13455 (exit $ac_status); }; } &&
13456 { ac_try='test -s conftest.$ac_objext'
13457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13458 (eval $ac_try) 2>&5
13459 ac_status=$?
13460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13461 (exit $ac_status); }; }; then
13462 echo "$as_me:$LINENO: result: yes" >&5
13463 echo "${ECHO_T}yes" >&6
13464 else
13465 echo "$as_me: failed program was:" >&5
13466 sed 's/^/| /' conftest.$ac_ext >&5
13467
13468 echo "$as_me:$LINENO: result: no" >&5
13469 echo "${ECHO_T}no" >&6
13470 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
13471 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
13472 cat >conftest.$ac_ext <<_ACEOF
13473 /* confdefs.h. */
13474 _ACEOF
13475 cat confdefs.h >>conftest.$ac_ext
13476 cat >>conftest.$ac_ext <<_ACEOF
13477 /* end confdefs.h. */
13478 #define __CF_USE_FRAMEWORK_INCLUDES__
13479 #include <CoreFoundation/CFBase.h>
13480
13481 int
13482 main ()
13483 {
13484
13485 ;
13486 return 0;
13487 }
13488 _ACEOF
13489 rm -f conftest.$ac_objext
13490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13491 (eval $ac_compile) 2>conftest.er1
13492 ac_status=$?
13493 grep -v '^ *+' conftest.er1 >conftest.err
13494 rm -f conftest.er1
13495 cat conftest.err >&5
13496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13497 (exit $ac_status); } &&
13498 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13500 (eval $ac_try) 2>&5
13501 ac_status=$?
13502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13503 (exit $ac_status); }; } &&
13504 { ac_try='test -s conftest.$ac_objext'
13505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13506 (eval $ac_try) 2>&5
13507 ac_status=$?
13508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13509 (exit $ac_status); }; }; then
13510 echo "$as_me:$LINENO: result: yes" >&5
13511 echo "${ECHO_T}yes" >&6
13512 CPPFLAGS="$CPPFLAGS -D__CF_USE_FRAMEWORK_INCLUDES__"
13513 else
13514 echo "$as_me: failed program was:" >&5
13515 sed 's/^/| /' conftest.$ac_ext >&5
13516
13517 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
13518 See \`config.log' for more details." >&5
13519 echo "$as_me: error: no. CoreFoundation not available.
13520 See \`config.log' for more details." >&2;}
13521 { (exit 1); exit 1; }; }
13522
13523 fi
13524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13525
13526
13527 fi
13528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13529 ;;
13530 esac
13531
13532 case "${host}" in
13533 *-pc-os2_emx | *-pc-os2-emx )
13534 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
13535 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
13536 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
13537 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
13538 echo $ECHO_N "(cached) $ECHO_C" >&6
13539 else
13540 ac_check_lib_save_LIBS=$LIBS
13541 LIBS="-lcExt $LIBS"
13542 cat >conftest.$ac_ext <<_ACEOF
13543 /* confdefs.h. */
13544 _ACEOF
13545 cat confdefs.h >>conftest.$ac_ext
13546 cat >>conftest.$ac_ext <<_ACEOF
13547 /* end confdefs.h. */
13548
13549 /* Override any gcc2 internal prototype to avoid an error. */
13550 #ifdef __cplusplus
13551 extern "C"
13552 #endif
13553 /* We use char because int might match the return type of a gcc2
13554 builtin and then its argument prototype would still apply. */
13555 char drand48 ();
13556 int
13557 main ()
13558 {
13559 drand48 ();
13560 ;
13561 return 0;
13562 }
13563 _ACEOF
13564 rm -f conftest.$ac_objext conftest$ac_exeext
13565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13566 (eval $ac_link) 2>conftest.er1
13567 ac_status=$?
13568 grep -v '^ *+' conftest.er1 >conftest.err
13569 rm -f conftest.er1
13570 cat conftest.err >&5
13571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13572 (exit $ac_status); } &&
13573 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13575 (eval $ac_try) 2>&5
13576 ac_status=$?
13577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13578 (exit $ac_status); }; } &&
13579 { ac_try='test -s conftest$ac_exeext'
13580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13581 (eval $ac_try) 2>&5
13582 ac_status=$?
13583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13584 (exit $ac_status); }; }; then
13585 ac_cv_lib_cExt_drand48=yes
13586 else
13587 echo "$as_me: failed program was:" >&5
13588 sed 's/^/| /' conftest.$ac_ext >&5
13589
13590 ac_cv_lib_cExt_drand48=no
13591 fi
13592 rm -f conftest.err conftest.$ac_objext \
13593 conftest$ac_exeext conftest.$ac_ext
13594 LIBS=$ac_check_lib_save_LIBS
13595 fi
13596 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
13597 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
13598 if test $ac_cv_lib_cExt_drand48 = yes; then
13599 LIBS="$LIBS -lcExt"
13600 fi
13601
13602 else
13603 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
13604 fi
13605 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
13606 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
13607 if test "${wx_cv_gccversion+set}" = set; then
13608 echo $ECHO_N "(cached) $ECHO_C" >&6
13609 else
13610
13611 if test "$cross_compiling" = yes; then
13612 wx_cv_gccversion="EMX2"
13613
13614 else
13615 cat >conftest.$ac_ext <<_ACEOF
13616 /* confdefs.h. */
13617 _ACEOF
13618 cat confdefs.h >>conftest.$ac_ext
13619 cat >>conftest.$ac_ext <<_ACEOF
13620 /* end confdefs.h. */
13621
13622 #include <stdio.h>
13623
13624 int main()
13625 {
13626 FILE *f=fopen("conftestval", "w");
13627 if (!f) exit(1);
13628 fprintf(f,
13629 #if (__GNUC__ < 3)
13630 "EMX2"
13631 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
13632 "EMX3"
13633 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
13634 "Innotek5"
13635 #else
13636 "Innotek6"
13637 #endif
13638 );
13639 exit(0);
13640 }
13641
13642 _ACEOF
13643 rm -f conftest$ac_exeext
13644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13645 (eval $ac_link) 2>&5
13646 ac_status=$?
13647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13648 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13650 (eval $ac_try) 2>&5
13651 ac_status=$?
13652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13653 (exit $ac_status); }; }; then
13654 wx_cv_gccversion=`cat conftestval`
13655 else
13656 echo "$as_me: program exited with status $ac_status" >&5
13657 echo "$as_me: failed program was:" >&5
13658 sed 's/^/| /' conftest.$ac_ext >&5
13659
13660 ( exit $ac_status )
13661 wx_cv_gccversion="EMX2"
13662 fi
13663 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13664 fi
13665
13666 fi
13667 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
13668 echo "${ECHO_T}$wx_cv_gccversion" >&6
13669 if test "$wx_cv_gccversion" = "EMX2"; then
13670 LIBS="$LIBS -lstdcpp"
13671 LDFLAGS="$LDFLAGS -Zsysv-signals"
13672 else
13673 if test "$wx_cv_gccversion" = "EMX3"; then
13674 LIBS="$LIBS -lstdcxx -lgcc"
13675 LDFLAGS="$LDFLAGS -Zsysv-signals"
13676 else
13677 LIBS="$LIBS -lstdc++"
13678 fi
13679 fi
13680 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
13681 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
13682 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
13683 wxUSE_OMF=yes
13684 enable_omf=yes
13685 fi
13686 ;;
13687 *)
13688
13689
13690
13691 ac_ext=cc
13692 ac_cpp='$CXXCPP $CPPFLAGS'
13693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13696
13697
13698 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
13699 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
13700 if test "${ac_cv_string_strcasecmp+set}" = set; then
13701 echo $ECHO_N "(cached) $ECHO_C" >&6
13702 else
13703
13704 cat >conftest.$ac_ext <<_ACEOF
13705 /* confdefs.h. */
13706 _ACEOF
13707 cat confdefs.h >>conftest.$ac_ext
13708 cat >>conftest.$ac_ext <<_ACEOF
13709 /* end confdefs.h. */
13710
13711 #include <string.h>
13712
13713 int
13714 main ()
13715 {
13716
13717 strcasecmp("foo", "bar");
13718
13719 ;
13720 return 0;
13721 }
13722 _ACEOF
13723 rm -f conftest.$ac_objext conftest$ac_exeext
13724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13725 (eval $ac_link) 2>conftest.er1
13726 ac_status=$?
13727 grep -v '^ *+' conftest.er1 >conftest.err
13728 rm -f conftest.er1
13729 cat conftest.err >&5
13730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13731 (exit $ac_status); } &&
13732 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13734 (eval $ac_try) 2>&5
13735 ac_status=$?
13736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13737 (exit $ac_status); }; } &&
13738 { ac_try='test -s 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 ac_cv_string_strcasecmp=yes
13745 else
13746 echo "$as_me: failed program was:" >&5
13747 sed 's/^/| /' conftest.$ac_ext >&5
13748
13749 ac_cv_string_strcasecmp=no
13750
13751 fi
13752 rm -f conftest.err conftest.$ac_objext \
13753 conftest$ac_exeext conftest.$ac_ext
13754
13755 fi
13756 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
13757 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
13758
13759 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
13760 cat >>confdefs.h <<\_ACEOF
13761 #define HAVE_STRCASECMP_IN_STRING_H 1
13762 _ACEOF
13763
13764 else
13765 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
13766 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
13767 if test "${ac_cv_strings_strcasecmp+set}" = set; then
13768 echo $ECHO_N "(cached) $ECHO_C" >&6
13769 else
13770
13771 cat >conftest.$ac_ext <<_ACEOF
13772 /* confdefs.h. */
13773 _ACEOF
13774 cat confdefs.h >>conftest.$ac_ext
13775 cat >>conftest.$ac_ext <<_ACEOF
13776 /* end confdefs.h. */
13777
13778 #include <strings.h>
13779
13780 int
13781 main ()
13782 {
13783
13784 strcasecmp("foo", "bar");
13785
13786 ;
13787 return 0;
13788 }
13789 _ACEOF
13790 rm -f conftest.$ac_objext conftest$ac_exeext
13791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13792 (eval $ac_link) 2>conftest.er1
13793 ac_status=$?
13794 grep -v '^ *+' conftest.er1 >conftest.err
13795 rm -f conftest.er1
13796 cat conftest.err >&5
13797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13798 (exit $ac_status); } &&
13799 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13801 (eval $ac_try) 2>&5
13802 ac_status=$?
13803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13804 (exit $ac_status); }; } &&
13805 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
13811 ac_cv_strings_strcasecmp=yes
13812 else
13813 echo "$as_me: failed program was:" >&5
13814 sed 's/^/| /' conftest.$ac_ext >&5
13815
13816 ac_cv_strings_strcasecmp=no
13817
13818 fi
13819 rm -f conftest.err conftest.$ac_objext \
13820 conftest$ac_exeext conftest.$ac_ext
13821
13822 fi
13823 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
13824 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
13825
13826 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
13827 cat >>confdefs.h <<\_ACEOF
13828 #define HAVE_STRCASECMP_IN_STRINGS_H 1
13829 _ACEOF
13830
13831 else
13832 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
13833 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
13834 { (exit 1); exit 1; }; }
13835 fi
13836 fi
13837
13838 ac_ext=c
13839 ac_cpp='$CPP $CPPFLAGS'
13840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13843
13844 ;;
13845 esac
13846
13847
13848 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
13849 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
13850 if test "${ac_cv_header_stdc+set}" = set; then
13851 echo $ECHO_N "(cached) $ECHO_C" >&6
13852 else
13853 cat >conftest.$ac_ext <<_ACEOF
13854 /* confdefs.h. */
13855 _ACEOF
13856 cat confdefs.h >>conftest.$ac_ext
13857 cat >>conftest.$ac_ext <<_ACEOF
13858 /* end confdefs.h. */
13859 #include <stdlib.h>
13860 #include <stdarg.h>
13861 #include <string.h>
13862 #include <float.h>
13863
13864 int
13865 main ()
13866 {
13867
13868 ;
13869 return 0;
13870 }
13871 _ACEOF
13872 rm -f conftest.$ac_objext
13873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13874 (eval $ac_compile) 2>conftest.er1
13875 ac_status=$?
13876 grep -v '^ *+' conftest.er1 >conftest.err
13877 rm -f conftest.er1
13878 cat conftest.err >&5
13879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13880 (exit $ac_status); } &&
13881 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13883 (eval $ac_try) 2>&5
13884 ac_status=$?
13885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13886 (exit $ac_status); }; } &&
13887 { ac_try='test -s conftest.$ac_objext'
13888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13889 (eval $ac_try) 2>&5
13890 ac_status=$?
13891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13892 (exit $ac_status); }; }; then
13893 ac_cv_header_stdc=yes
13894 else
13895 echo "$as_me: failed program was:" >&5
13896 sed 's/^/| /' conftest.$ac_ext >&5
13897
13898 ac_cv_header_stdc=no
13899 fi
13900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13901
13902 if test $ac_cv_header_stdc = yes; then
13903 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13904 cat >conftest.$ac_ext <<_ACEOF
13905 /* confdefs.h. */
13906 _ACEOF
13907 cat confdefs.h >>conftest.$ac_ext
13908 cat >>conftest.$ac_ext <<_ACEOF
13909 /* end confdefs.h. */
13910 #include <string.h>
13911
13912 _ACEOF
13913 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13914 $EGREP "memchr" >/dev/null 2>&1; then
13915 :
13916 else
13917 ac_cv_header_stdc=no
13918 fi
13919 rm -f conftest*
13920
13921 fi
13922
13923 if test $ac_cv_header_stdc = yes; then
13924 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13925 cat >conftest.$ac_ext <<_ACEOF
13926 /* confdefs.h. */
13927 _ACEOF
13928 cat confdefs.h >>conftest.$ac_ext
13929 cat >>conftest.$ac_ext <<_ACEOF
13930 /* end confdefs.h. */
13931 #include <stdlib.h>
13932
13933 _ACEOF
13934 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13935 $EGREP "free" >/dev/null 2>&1; then
13936 :
13937 else
13938 ac_cv_header_stdc=no
13939 fi
13940 rm -f conftest*
13941
13942 fi
13943
13944 if test $ac_cv_header_stdc = yes; then
13945 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13946 if test "$cross_compiling" = yes; then
13947 :
13948 else
13949 cat >conftest.$ac_ext <<_ACEOF
13950 /* confdefs.h. */
13951 _ACEOF
13952 cat confdefs.h >>conftest.$ac_ext
13953 cat >>conftest.$ac_ext <<_ACEOF
13954 /* end confdefs.h. */
13955 #include <ctype.h>
13956 #if ((' ' & 0x0FF) == 0x020)
13957 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13958 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13959 #else
13960 # define ISLOWER(c) \
13961 (('a' <= (c) && (c) <= 'i') \
13962 || ('j' <= (c) && (c) <= 'r') \
13963 || ('s' <= (c) && (c) <= 'z'))
13964 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13965 #endif
13966
13967 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13968 int
13969 main ()
13970 {
13971 int i;
13972 for (i = 0; i < 256; i++)
13973 if (XOR (islower (i), ISLOWER (i))
13974 || toupper (i) != TOUPPER (i))
13975 exit(2);
13976 exit (0);
13977 }
13978 _ACEOF
13979 rm -f conftest$ac_exeext
13980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13981 (eval $ac_link) 2>&5
13982 ac_status=$?
13983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13984 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13986 (eval $ac_try) 2>&5
13987 ac_status=$?
13988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13989 (exit $ac_status); }; }; then
13990 :
13991 else
13992 echo "$as_me: program exited with status $ac_status" >&5
13993 echo "$as_me: failed program was:" >&5
13994 sed 's/^/| /' conftest.$ac_ext >&5
13995
13996 ( exit $ac_status )
13997 ac_cv_header_stdc=no
13998 fi
13999 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14000 fi
14001 fi
14002 fi
14003 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
14004 echo "${ECHO_T}$ac_cv_header_stdc" >&6
14005 if test $ac_cv_header_stdc = yes; then
14006
14007 cat >>confdefs.h <<\_ACEOF
14008 #define STDC_HEADERS 1
14009 _ACEOF
14010
14011 fi
14012
14013 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
14014
14015
14016
14017
14018
14019
14020
14021
14022
14023 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
14024 inttypes.h stdint.h unistd.h
14025 do
14026 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14027 echo "$as_me:$LINENO: checking for $ac_header" >&5
14028 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14029 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14030 echo $ECHO_N "(cached) $ECHO_C" >&6
14031 else
14032 cat >conftest.$ac_ext <<_ACEOF
14033 /* confdefs.h. */
14034 _ACEOF
14035 cat confdefs.h >>conftest.$ac_ext
14036 cat >>conftest.$ac_ext <<_ACEOF
14037 /* end confdefs.h. */
14038 $ac_includes_default
14039
14040 #include <$ac_header>
14041 _ACEOF
14042 rm -f conftest.$ac_objext
14043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14044 (eval $ac_compile) 2>conftest.er1
14045 ac_status=$?
14046 grep -v '^ *+' conftest.er1 >conftest.err
14047 rm -f conftest.er1
14048 cat conftest.err >&5
14049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14050 (exit $ac_status); } &&
14051 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14053 (eval $ac_try) 2>&5
14054 ac_status=$?
14055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14056 (exit $ac_status); }; } &&
14057 { ac_try='test -s conftest.$ac_objext'
14058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14059 (eval $ac_try) 2>&5
14060 ac_status=$?
14061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14062 (exit $ac_status); }; }; then
14063 eval "$as_ac_Header=yes"
14064 else
14065 echo "$as_me: failed program was:" >&5
14066 sed 's/^/| /' conftest.$ac_ext >&5
14067
14068 eval "$as_ac_Header=no"
14069 fi
14070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14071 fi
14072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14073 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14074 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14075 cat >>confdefs.h <<_ACEOF
14076 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14077 _ACEOF
14078
14079 fi
14080
14081 done
14082
14083
14084
14085 for ac_header in stdlib.h
14086 do
14087 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14088 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14089 echo "$as_me:$LINENO: checking for $ac_header" >&5
14090 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14091 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14092 echo $ECHO_N "(cached) $ECHO_C" >&6
14093 fi
14094 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14095 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14096 else
14097 # Is the header compilable?
14098 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14099 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14100 cat >conftest.$ac_ext <<_ACEOF
14101 /* confdefs.h. */
14102 _ACEOF
14103 cat confdefs.h >>conftest.$ac_ext
14104 cat >>conftest.$ac_ext <<_ACEOF
14105 /* end confdefs.h. */
14106 $ac_includes_default
14107 #include <$ac_header>
14108 _ACEOF
14109 rm -f conftest.$ac_objext
14110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14111 (eval $ac_compile) 2>conftest.er1
14112 ac_status=$?
14113 grep -v '^ *+' conftest.er1 >conftest.err
14114 rm -f conftest.er1
14115 cat conftest.err >&5
14116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14117 (exit $ac_status); } &&
14118 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14120 (eval $ac_try) 2>&5
14121 ac_status=$?
14122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14123 (exit $ac_status); }; } &&
14124 { ac_try='test -s conftest.$ac_objext'
14125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14126 (eval $ac_try) 2>&5
14127 ac_status=$?
14128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14129 (exit $ac_status); }; }; then
14130 ac_header_compiler=yes
14131 else
14132 echo "$as_me: failed program was:" >&5
14133 sed 's/^/| /' conftest.$ac_ext >&5
14134
14135 ac_header_compiler=no
14136 fi
14137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14138 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14139 echo "${ECHO_T}$ac_header_compiler" >&6
14140
14141 # Is the header present?
14142 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14143 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14144 cat >conftest.$ac_ext <<_ACEOF
14145 /* confdefs.h. */
14146 _ACEOF
14147 cat confdefs.h >>conftest.$ac_ext
14148 cat >>conftest.$ac_ext <<_ACEOF
14149 /* end confdefs.h. */
14150 #include <$ac_header>
14151 _ACEOF
14152 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14153 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14154 ac_status=$?
14155 grep -v '^ *+' conftest.er1 >conftest.err
14156 rm -f conftest.er1
14157 cat conftest.err >&5
14158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14159 (exit $ac_status); } >/dev/null; then
14160 if test -s conftest.err; then
14161 ac_cpp_err=$ac_c_preproc_warn_flag
14162 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14163 else
14164 ac_cpp_err=
14165 fi
14166 else
14167 ac_cpp_err=yes
14168 fi
14169 if test -z "$ac_cpp_err"; then
14170 ac_header_preproc=yes
14171 else
14172 echo "$as_me: failed program was:" >&5
14173 sed 's/^/| /' conftest.$ac_ext >&5
14174
14175 ac_header_preproc=no
14176 fi
14177 rm -f conftest.err conftest.$ac_ext
14178 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14179 echo "${ECHO_T}$ac_header_preproc" >&6
14180
14181 # So? What about this header?
14182 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14183 yes:no: )
14184 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14185 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14186 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14187 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14188 ac_header_preproc=yes
14189 ;;
14190 no:yes:* )
14191 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14192 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14193 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14194 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14195 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14196 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14197 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14198 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14199 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14200 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14201 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14202 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14203 (
14204 cat <<\_ASBOX
14205 ## ----------------------------------------- ##
14206 ## Report this to wx-dev@lists.wxwidgets.org ##
14207 ## ----------------------------------------- ##
14208 _ASBOX
14209 ) |
14210 sed "s/^/$as_me: WARNING: /" >&2
14211 ;;
14212 esac
14213 echo "$as_me:$LINENO: checking for $ac_header" >&5
14214 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14215 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14216 echo $ECHO_N "(cached) $ECHO_C" >&6
14217 else
14218 eval "$as_ac_Header=\$ac_header_preproc"
14219 fi
14220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14221 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14222
14223 fi
14224 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14225 cat >>confdefs.h <<_ACEOF
14226 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14227 _ACEOF
14228
14229 fi
14230
14231 done
14232
14233
14234 for ac_header in malloc.h
14235 do
14236 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14237 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14238 echo "$as_me:$LINENO: checking for $ac_header" >&5
14239 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14240 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14241 echo $ECHO_N "(cached) $ECHO_C" >&6
14242 fi
14243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14244 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14245 else
14246 # Is the header compilable?
14247 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14248 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14249 cat >conftest.$ac_ext <<_ACEOF
14250 /* confdefs.h. */
14251 _ACEOF
14252 cat confdefs.h >>conftest.$ac_ext
14253 cat >>conftest.$ac_ext <<_ACEOF
14254 /* end confdefs.h. */
14255 $ac_includes_default
14256 #include <$ac_header>
14257 _ACEOF
14258 rm -f conftest.$ac_objext
14259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14260 (eval $ac_compile) 2>conftest.er1
14261 ac_status=$?
14262 grep -v '^ *+' conftest.er1 >conftest.err
14263 rm -f conftest.er1
14264 cat conftest.err >&5
14265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14266 (exit $ac_status); } &&
14267 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14269 (eval $ac_try) 2>&5
14270 ac_status=$?
14271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14272 (exit $ac_status); }; } &&
14273 { ac_try='test -s conftest.$ac_objext'
14274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14275 (eval $ac_try) 2>&5
14276 ac_status=$?
14277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14278 (exit $ac_status); }; }; then
14279 ac_header_compiler=yes
14280 else
14281 echo "$as_me: failed program was:" >&5
14282 sed 's/^/| /' conftest.$ac_ext >&5
14283
14284 ac_header_compiler=no
14285 fi
14286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14287 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14288 echo "${ECHO_T}$ac_header_compiler" >&6
14289
14290 # Is the header present?
14291 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14292 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14293 cat >conftest.$ac_ext <<_ACEOF
14294 /* confdefs.h. */
14295 _ACEOF
14296 cat confdefs.h >>conftest.$ac_ext
14297 cat >>conftest.$ac_ext <<_ACEOF
14298 /* end confdefs.h. */
14299 #include <$ac_header>
14300 _ACEOF
14301 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14302 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14303 ac_status=$?
14304 grep -v '^ *+' conftest.er1 >conftest.err
14305 rm -f conftest.er1
14306 cat conftest.err >&5
14307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14308 (exit $ac_status); } >/dev/null; then
14309 if test -s conftest.err; then
14310 ac_cpp_err=$ac_c_preproc_warn_flag
14311 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14312 else
14313 ac_cpp_err=
14314 fi
14315 else
14316 ac_cpp_err=yes
14317 fi
14318 if test -z "$ac_cpp_err"; then
14319 ac_header_preproc=yes
14320 else
14321 echo "$as_me: failed program was:" >&5
14322 sed 's/^/| /' conftest.$ac_ext >&5
14323
14324 ac_header_preproc=no
14325 fi
14326 rm -f conftest.err conftest.$ac_ext
14327 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14328 echo "${ECHO_T}$ac_header_preproc" >&6
14329
14330 # So? What about this header?
14331 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14332 yes:no: )
14333 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14334 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14335 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14336 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14337 ac_header_preproc=yes
14338 ;;
14339 no:yes:* )
14340 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14341 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14342 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14343 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14344 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14345 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14346 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14347 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14348 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14349 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14350 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14351 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14352 (
14353 cat <<\_ASBOX
14354 ## ----------------------------------------- ##
14355 ## Report this to wx-dev@lists.wxwidgets.org ##
14356 ## ----------------------------------------- ##
14357 _ASBOX
14358 ) |
14359 sed "s/^/$as_me: WARNING: /" >&2
14360 ;;
14361 esac
14362 echo "$as_me:$LINENO: checking for $ac_header" >&5
14363 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14364 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14365 echo $ECHO_N "(cached) $ECHO_C" >&6
14366 else
14367 eval "$as_ac_Header=\$ac_header_preproc"
14368 fi
14369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14370 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14371
14372 fi
14373 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14374 cat >>confdefs.h <<_ACEOF
14375 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14376 _ACEOF
14377
14378 fi
14379
14380 done
14381
14382
14383 for ac_header in unistd.h
14384 do
14385 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14386 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14387 echo "$as_me:$LINENO: checking for $ac_header" >&5
14388 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14389 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14390 echo $ECHO_N "(cached) $ECHO_C" >&6
14391 fi
14392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14393 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14394 else
14395 # Is the header compilable?
14396 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14397 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14398 cat >conftest.$ac_ext <<_ACEOF
14399 /* confdefs.h. */
14400 _ACEOF
14401 cat confdefs.h >>conftest.$ac_ext
14402 cat >>conftest.$ac_ext <<_ACEOF
14403 /* end confdefs.h. */
14404 $ac_includes_default
14405 #include <$ac_header>
14406 _ACEOF
14407 rm -f conftest.$ac_objext
14408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14409 (eval $ac_compile) 2>conftest.er1
14410 ac_status=$?
14411 grep -v '^ *+' conftest.er1 >conftest.err
14412 rm -f conftest.er1
14413 cat conftest.err >&5
14414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14415 (exit $ac_status); } &&
14416 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14418 (eval $ac_try) 2>&5
14419 ac_status=$?
14420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14421 (exit $ac_status); }; } &&
14422 { ac_try='test -s conftest.$ac_objext'
14423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14424 (eval $ac_try) 2>&5
14425 ac_status=$?
14426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14427 (exit $ac_status); }; }; then
14428 ac_header_compiler=yes
14429 else
14430 echo "$as_me: failed program was:" >&5
14431 sed 's/^/| /' conftest.$ac_ext >&5
14432
14433 ac_header_compiler=no
14434 fi
14435 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14436 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14437 echo "${ECHO_T}$ac_header_compiler" >&6
14438
14439 # Is the header present?
14440 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14441 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14442 cat >conftest.$ac_ext <<_ACEOF
14443 /* confdefs.h. */
14444 _ACEOF
14445 cat confdefs.h >>conftest.$ac_ext
14446 cat >>conftest.$ac_ext <<_ACEOF
14447 /* end confdefs.h. */
14448 #include <$ac_header>
14449 _ACEOF
14450 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14451 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14452 ac_status=$?
14453 grep -v '^ *+' conftest.er1 >conftest.err
14454 rm -f conftest.er1
14455 cat conftest.err >&5
14456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14457 (exit $ac_status); } >/dev/null; then
14458 if test -s conftest.err; then
14459 ac_cpp_err=$ac_c_preproc_warn_flag
14460 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14461 else
14462 ac_cpp_err=
14463 fi
14464 else
14465 ac_cpp_err=yes
14466 fi
14467 if test -z "$ac_cpp_err"; then
14468 ac_header_preproc=yes
14469 else
14470 echo "$as_me: failed program was:" >&5
14471 sed 's/^/| /' conftest.$ac_ext >&5
14472
14473 ac_header_preproc=no
14474 fi
14475 rm -f conftest.err conftest.$ac_ext
14476 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14477 echo "${ECHO_T}$ac_header_preproc" >&6
14478
14479 # So? What about this header?
14480 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14481 yes:no: )
14482 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14483 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14484 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14485 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14486 ac_header_preproc=yes
14487 ;;
14488 no:yes:* )
14489 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14490 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14491 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14492 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14493 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14494 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14495 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14496 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14497 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14498 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14499 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14500 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14501 (
14502 cat <<\_ASBOX
14503 ## ----------------------------------------- ##
14504 ## Report this to wx-dev@lists.wxwidgets.org ##
14505 ## ----------------------------------------- ##
14506 _ASBOX
14507 ) |
14508 sed "s/^/$as_me: WARNING: /" >&2
14509 ;;
14510 esac
14511 echo "$as_me:$LINENO: checking for $ac_header" >&5
14512 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14513 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14514 echo $ECHO_N "(cached) $ECHO_C" >&6
14515 else
14516 eval "$as_ac_Header=\$ac_header_preproc"
14517 fi
14518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14519 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14520
14521 fi
14522 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14523 cat >>confdefs.h <<_ACEOF
14524 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14525 _ACEOF
14526
14527 fi
14528
14529 done
14530
14531
14532 for ac_header in wchar.h
14533 do
14534 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14535 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14536 echo "$as_me:$LINENO: checking for $ac_header" >&5
14537 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14538 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14539 echo $ECHO_N "(cached) $ECHO_C" >&6
14540 fi
14541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14542 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14543 else
14544 # Is the header compilable?
14545 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14546 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14547 cat >conftest.$ac_ext <<_ACEOF
14548 /* confdefs.h. */
14549 _ACEOF
14550 cat confdefs.h >>conftest.$ac_ext
14551 cat >>conftest.$ac_ext <<_ACEOF
14552 /* end confdefs.h. */
14553 $ac_includes_default
14554 #include <$ac_header>
14555 _ACEOF
14556 rm -f conftest.$ac_objext
14557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14558 (eval $ac_compile) 2>conftest.er1
14559 ac_status=$?
14560 grep -v '^ *+' conftest.er1 >conftest.err
14561 rm -f conftest.er1
14562 cat conftest.err >&5
14563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14564 (exit $ac_status); } &&
14565 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14567 (eval $ac_try) 2>&5
14568 ac_status=$?
14569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14570 (exit $ac_status); }; } &&
14571 { ac_try='test -s conftest.$ac_objext'
14572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14573 (eval $ac_try) 2>&5
14574 ac_status=$?
14575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14576 (exit $ac_status); }; }; then
14577 ac_header_compiler=yes
14578 else
14579 echo "$as_me: failed program was:" >&5
14580 sed 's/^/| /' conftest.$ac_ext >&5
14581
14582 ac_header_compiler=no
14583 fi
14584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14585 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14586 echo "${ECHO_T}$ac_header_compiler" >&6
14587
14588 # Is the header present?
14589 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14590 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14591 cat >conftest.$ac_ext <<_ACEOF
14592 /* confdefs.h. */
14593 _ACEOF
14594 cat confdefs.h >>conftest.$ac_ext
14595 cat >>conftest.$ac_ext <<_ACEOF
14596 /* end confdefs.h. */
14597 #include <$ac_header>
14598 _ACEOF
14599 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14600 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14601 ac_status=$?
14602 grep -v '^ *+' conftest.er1 >conftest.err
14603 rm -f conftest.er1
14604 cat conftest.err >&5
14605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14606 (exit $ac_status); } >/dev/null; then
14607 if test -s conftest.err; then
14608 ac_cpp_err=$ac_c_preproc_warn_flag
14609 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14610 else
14611 ac_cpp_err=
14612 fi
14613 else
14614 ac_cpp_err=yes
14615 fi
14616 if test -z "$ac_cpp_err"; then
14617 ac_header_preproc=yes
14618 else
14619 echo "$as_me: failed program was:" >&5
14620 sed 's/^/| /' conftest.$ac_ext >&5
14621
14622 ac_header_preproc=no
14623 fi
14624 rm -f conftest.err conftest.$ac_ext
14625 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14626 echo "${ECHO_T}$ac_header_preproc" >&6
14627
14628 # So? What about this header?
14629 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14630 yes:no: )
14631 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14632 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14633 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14634 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14635 ac_header_preproc=yes
14636 ;;
14637 no:yes:* )
14638 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14639 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14640 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14641 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14642 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14643 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14644 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14645 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14646 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14647 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14648 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14649 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14650 (
14651 cat <<\_ASBOX
14652 ## ----------------------------------------- ##
14653 ## Report this to wx-dev@lists.wxwidgets.org ##
14654 ## ----------------------------------------- ##
14655 _ASBOX
14656 ) |
14657 sed "s/^/$as_me: WARNING: /" >&2
14658 ;;
14659 esac
14660 echo "$as_me:$LINENO: checking for $ac_header" >&5
14661 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14662 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14663 echo $ECHO_N "(cached) $ECHO_C" >&6
14664 else
14665 eval "$as_ac_Header=\$ac_header_preproc"
14666 fi
14667 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14668 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14669
14670 fi
14671 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14672 cat >>confdefs.h <<_ACEOF
14673 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14674 _ACEOF
14675
14676 fi
14677
14678 done
14679
14680
14681 if test "$ac_cv_header_wchar_h" != "yes"; then
14682
14683 for ac_header in wcstr.h
14684 do
14685 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14686 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14687 echo "$as_me:$LINENO: checking for $ac_header" >&5
14688 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14689 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14690 echo $ECHO_N "(cached) $ECHO_C" >&6
14691 fi
14692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14693 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14694 else
14695 # Is the header compilable?
14696 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14697 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14698 cat >conftest.$ac_ext <<_ACEOF
14699 /* confdefs.h. */
14700 _ACEOF
14701 cat confdefs.h >>conftest.$ac_ext
14702 cat >>conftest.$ac_ext <<_ACEOF
14703 /* end confdefs.h. */
14704 $ac_includes_default
14705 #include <$ac_header>
14706 _ACEOF
14707 rm -f conftest.$ac_objext
14708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14709 (eval $ac_compile) 2>conftest.er1
14710 ac_status=$?
14711 grep -v '^ *+' conftest.er1 >conftest.err
14712 rm -f conftest.er1
14713 cat conftest.err >&5
14714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14715 (exit $ac_status); } &&
14716 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14718 (eval $ac_try) 2>&5
14719 ac_status=$?
14720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14721 (exit $ac_status); }; } &&
14722 { ac_try='test -s conftest.$ac_objext'
14723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14724 (eval $ac_try) 2>&5
14725 ac_status=$?
14726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14727 (exit $ac_status); }; }; then
14728 ac_header_compiler=yes
14729 else
14730 echo "$as_me: failed program was:" >&5
14731 sed 's/^/| /' conftest.$ac_ext >&5
14732
14733 ac_header_compiler=no
14734 fi
14735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14736 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14737 echo "${ECHO_T}$ac_header_compiler" >&6
14738
14739 # Is the header present?
14740 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14741 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14742 cat >conftest.$ac_ext <<_ACEOF
14743 /* confdefs.h. */
14744 _ACEOF
14745 cat confdefs.h >>conftest.$ac_ext
14746 cat >>conftest.$ac_ext <<_ACEOF
14747 /* end confdefs.h. */
14748 #include <$ac_header>
14749 _ACEOF
14750 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14751 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14752 ac_status=$?
14753 grep -v '^ *+' conftest.er1 >conftest.err
14754 rm -f conftest.er1
14755 cat conftest.err >&5
14756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14757 (exit $ac_status); } >/dev/null; then
14758 if test -s conftest.err; then
14759 ac_cpp_err=$ac_c_preproc_warn_flag
14760 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14761 else
14762 ac_cpp_err=
14763 fi
14764 else
14765 ac_cpp_err=yes
14766 fi
14767 if test -z "$ac_cpp_err"; then
14768 ac_header_preproc=yes
14769 else
14770 echo "$as_me: failed program was:" >&5
14771 sed 's/^/| /' conftest.$ac_ext >&5
14772
14773 ac_header_preproc=no
14774 fi
14775 rm -f conftest.err conftest.$ac_ext
14776 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14777 echo "${ECHO_T}$ac_header_preproc" >&6
14778
14779 # So? What about this header?
14780 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14781 yes:no: )
14782 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14783 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14784 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14785 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14786 ac_header_preproc=yes
14787 ;;
14788 no:yes:* )
14789 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14790 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14791 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14792 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14793 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14794 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14795 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14796 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14797 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14798 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14799 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14800 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14801 (
14802 cat <<\_ASBOX
14803 ## ----------------------------------------- ##
14804 ## Report this to wx-dev@lists.wxwidgets.org ##
14805 ## ----------------------------------------- ##
14806 _ASBOX
14807 ) |
14808 sed "s/^/$as_me: WARNING: /" >&2
14809 ;;
14810 esac
14811 echo "$as_me:$LINENO: checking for $ac_header" >&5
14812 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14813 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14814 echo $ECHO_N "(cached) $ECHO_C" >&6
14815 else
14816 eval "$as_ac_Header=\$ac_header_preproc"
14817 fi
14818 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14819 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14820
14821 fi
14822 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14823 cat >>confdefs.h <<_ACEOF
14824 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14825 _ACEOF
14826
14827 fi
14828
14829 done
14830
14831 fi
14832
14833
14834 for ac_header in fnmatch.h
14835 do
14836 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14837 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14838 echo "$as_me:$LINENO: checking for $ac_header" >&5
14839 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14840 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14841 echo $ECHO_N "(cached) $ECHO_C" >&6
14842 fi
14843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14844 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14845 else
14846 # Is the header compilable?
14847 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14848 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14849 cat >conftest.$ac_ext <<_ACEOF
14850 /* confdefs.h. */
14851 _ACEOF
14852 cat confdefs.h >>conftest.$ac_ext
14853 cat >>conftest.$ac_ext <<_ACEOF
14854 /* end confdefs.h. */
14855 $ac_includes_default
14856 #include <$ac_header>
14857 _ACEOF
14858 rm -f conftest.$ac_objext
14859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14860 (eval $ac_compile) 2>conftest.er1
14861 ac_status=$?
14862 grep -v '^ *+' conftest.er1 >conftest.err
14863 rm -f conftest.er1
14864 cat conftest.err >&5
14865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14866 (exit $ac_status); } &&
14867 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14869 (eval $ac_try) 2>&5
14870 ac_status=$?
14871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14872 (exit $ac_status); }; } &&
14873 { ac_try='test -s conftest.$ac_objext'
14874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14875 (eval $ac_try) 2>&5
14876 ac_status=$?
14877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14878 (exit $ac_status); }; }; then
14879 ac_header_compiler=yes
14880 else
14881 echo "$as_me: failed program was:" >&5
14882 sed 's/^/| /' conftest.$ac_ext >&5
14883
14884 ac_header_compiler=no
14885 fi
14886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14887 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14888 echo "${ECHO_T}$ac_header_compiler" >&6
14889
14890 # Is the header present?
14891 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14892 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14893 cat >conftest.$ac_ext <<_ACEOF
14894 /* confdefs.h. */
14895 _ACEOF
14896 cat confdefs.h >>conftest.$ac_ext
14897 cat >>conftest.$ac_ext <<_ACEOF
14898 /* end confdefs.h. */
14899 #include <$ac_header>
14900 _ACEOF
14901 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14902 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14903 ac_status=$?
14904 grep -v '^ *+' conftest.er1 >conftest.err
14905 rm -f conftest.er1
14906 cat conftest.err >&5
14907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14908 (exit $ac_status); } >/dev/null; then
14909 if test -s conftest.err; then
14910 ac_cpp_err=$ac_c_preproc_warn_flag
14911 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14912 else
14913 ac_cpp_err=
14914 fi
14915 else
14916 ac_cpp_err=yes
14917 fi
14918 if test -z "$ac_cpp_err"; then
14919 ac_header_preproc=yes
14920 else
14921 echo "$as_me: failed program was:" >&5
14922 sed 's/^/| /' conftest.$ac_ext >&5
14923
14924 ac_header_preproc=no
14925 fi
14926 rm -f conftest.err conftest.$ac_ext
14927 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14928 echo "${ECHO_T}$ac_header_preproc" >&6
14929
14930 # So? What about this header?
14931 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14932 yes:no: )
14933 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14934 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14935 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14936 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14937 ac_header_preproc=yes
14938 ;;
14939 no:yes:* )
14940 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14941 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14942 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14943 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14944 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14945 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14946 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14947 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14948 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14949 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14950 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14951 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14952 (
14953 cat <<\_ASBOX
14954 ## ----------------------------------------- ##
14955 ## Report this to wx-dev@lists.wxwidgets.org ##
14956 ## ----------------------------------------- ##
14957 _ASBOX
14958 ) |
14959 sed "s/^/$as_me: WARNING: /" >&2
14960 ;;
14961 esac
14962 echo "$as_me:$LINENO: checking for $ac_header" >&5
14963 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14964 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14965 echo $ECHO_N "(cached) $ECHO_C" >&6
14966 else
14967 eval "$as_ac_Header=\$ac_header_preproc"
14968 fi
14969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14970 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14971
14972 fi
14973 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14974 cat >>confdefs.h <<_ACEOF
14975 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14976 _ACEOF
14977
14978 fi
14979
14980 done
14981
14982
14983
14984 for ac_header in langinfo.h
14985 do
14986 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14987 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14988 echo "$as_me:$LINENO: checking for $ac_header" >&5
14989 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14990 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14991 echo $ECHO_N "(cached) $ECHO_C" >&6
14992 fi
14993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14994 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14995 else
14996 # Is the header compilable?
14997 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14998 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14999 cat >conftest.$ac_ext <<_ACEOF
15000 /* confdefs.h. */
15001 _ACEOF
15002 cat confdefs.h >>conftest.$ac_ext
15003 cat >>conftest.$ac_ext <<_ACEOF
15004 /* end confdefs.h. */
15005 $ac_includes_default
15006 #include <$ac_header>
15007 _ACEOF
15008 rm -f conftest.$ac_objext
15009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15010 (eval $ac_compile) 2>conftest.er1
15011 ac_status=$?
15012 grep -v '^ *+' conftest.er1 >conftest.err
15013 rm -f conftest.er1
15014 cat conftest.err >&5
15015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15016 (exit $ac_status); } &&
15017 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15019 (eval $ac_try) 2>&5
15020 ac_status=$?
15021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15022 (exit $ac_status); }; } &&
15023 { ac_try='test -s conftest.$ac_objext'
15024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15025 (eval $ac_try) 2>&5
15026 ac_status=$?
15027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15028 (exit $ac_status); }; }; then
15029 ac_header_compiler=yes
15030 else
15031 echo "$as_me: failed program was:" >&5
15032 sed 's/^/| /' conftest.$ac_ext >&5
15033
15034 ac_header_compiler=no
15035 fi
15036 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15037 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15038 echo "${ECHO_T}$ac_header_compiler" >&6
15039
15040 # Is the header present?
15041 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15042 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15043 cat >conftest.$ac_ext <<_ACEOF
15044 /* confdefs.h. */
15045 _ACEOF
15046 cat confdefs.h >>conftest.$ac_ext
15047 cat >>conftest.$ac_ext <<_ACEOF
15048 /* end confdefs.h. */
15049 #include <$ac_header>
15050 _ACEOF
15051 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15052 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15053 ac_status=$?
15054 grep -v '^ *+' conftest.er1 >conftest.err
15055 rm -f conftest.er1
15056 cat conftest.err >&5
15057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15058 (exit $ac_status); } >/dev/null; then
15059 if test -s conftest.err; then
15060 ac_cpp_err=$ac_c_preproc_warn_flag
15061 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15062 else
15063 ac_cpp_err=
15064 fi
15065 else
15066 ac_cpp_err=yes
15067 fi
15068 if test -z "$ac_cpp_err"; then
15069 ac_header_preproc=yes
15070 else
15071 echo "$as_me: failed program was:" >&5
15072 sed 's/^/| /' conftest.$ac_ext >&5
15073
15074 ac_header_preproc=no
15075 fi
15076 rm -f conftest.err conftest.$ac_ext
15077 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15078 echo "${ECHO_T}$ac_header_preproc" >&6
15079
15080 # So? What about this header?
15081 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15082 yes:no: )
15083 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15084 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15085 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15086 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15087 ac_header_preproc=yes
15088 ;;
15089 no:yes:* )
15090 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15091 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15092 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15093 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15094 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15095 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15096 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15097 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15098 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15099 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15100 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15101 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15102 (
15103 cat <<\_ASBOX
15104 ## ----------------------------------------- ##
15105 ## Report this to wx-dev@lists.wxwidgets.org ##
15106 ## ----------------------------------------- ##
15107 _ASBOX
15108 ) |
15109 sed "s/^/$as_me: WARNING: /" >&2
15110 ;;
15111 esac
15112 echo "$as_me:$LINENO: checking for $ac_header" >&5
15113 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15114 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15115 echo $ECHO_N "(cached) $ECHO_C" >&6
15116 else
15117 eval "$as_ac_Header=\$ac_header_preproc"
15118 fi
15119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15120 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15121
15122 fi
15123 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15124 cat >>confdefs.h <<_ACEOF
15125 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15126 _ACEOF
15127
15128 fi
15129
15130 done
15131
15132
15133 case "${host}" in
15134 *-pc-os2_emx | *-pc-os2-emx )
15135 if test $ac_cv_header_langinfo_h = "yes" \
15136 -a \( "$wx_cv_gccversion" = "EMX2" \
15137 -o "$wx_cv_gccversion" = "EMX3" \
15138 -o "$wx_cv_gccversion" = "Innotek5" \); then
15139 LIBS="$LIBS -lintl"
15140 fi
15141 ;;
15142 esac
15143
15144 if test "$wxUSE_GUI" = "yes"; then
15145 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
15146
15147 for ac_header in X11/Xlib.h
15148 do
15149 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15150 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15151 echo "$as_me:$LINENO: checking for $ac_header" >&5
15152 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15153 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15154 echo $ECHO_N "(cached) $ECHO_C" >&6
15155 fi
15156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15157 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15158 else
15159 # Is the header compilable?
15160 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15161 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
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 $ac_includes_default
15169 #include <$ac_header>
15170 _ACEOF
15171 rm -f conftest.$ac_objext
15172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15173 (eval $ac_compile) 2>conftest.er1
15174 ac_status=$?
15175 grep -v '^ *+' conftest.er1 >conftest.err
15176 rm -f conftest.er1
15177 cat conftest.err >&5
15178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15179 (exit $ac_status); } &&
15180 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15182 (eval $ac_try) 2>&5
15183 ac_status=$?
15184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15185 (exit $ac_status); }; } &&
15186 { ac_try='test -s conftest.$ac_objext'
15187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15188 (eval $ac_try) 2>&5
15189 ac_status=$?
15190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15191 (exit $ac_status); }; }; then
15192 ac_header_compiler=yes
15193 else
15194 echo "$as_me: failed program was:" >&5
15195 sed 's/^/| /' conftest.$ac_ext >&5
15196
15197 ac_header_compiler=no
15198 fi
15199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15200 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15201 echo "${ECHO_T}$ac_header_compiler" >&6
15202
15203 # Is the header present?
15204 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15205 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15206 cat >conftest.$ac_ext <<_ACEOF
15207 /* confdefs.h. */
15208 _ACEOF
15209 cat confdefs.h >>conftest.$ac_ext
15210 cat >>conftest.$ac_ext <<_ACEOF
15211 /* end confdefs.h. */
15212 #include <$ac_header>
15213 _ACEOF
15214 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15215 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15216 ac_status=$?
15217 grep -v '^ *+' conftest.er1 >conftest.err
15218 rm -f conftest.er1
15219 cat conftest.err >&5
15220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15221 (exit $ac_status); } >/dev/null; then
15222 if test -s conftest.err; then
15223 ac_cpp_err=$ac_c_preproc_warn_flag
15224 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15225 else
15226 ac_cpp_err=
15227 fi
15228 else
15229 ac_cpp_err=yes
15230 fi
15231 if test -z "$ac_cpp_err"; then
15232 ac_header_preproc=yes
15233 else
15234 echo "$as_me: failed program was:" >&5
15235 sed 's/^/| /' conftest.$ac_ext >&5
15236
15237 ac_header_preproc=no
15238 fi
15239 rm -f conftest.err conftest.$ac_ext
15240 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15241 echo "${ECHO_T}$ac_header_preproc" >&6
15242
15243 # So? What about this header?
15244 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15245 yes:no: )
15246 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15247 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15248 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15249 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15250 ac_header_preproc=yes
15251 ;;
15252 no:yes:* )
15253 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15254 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15255 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15256 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15257 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15258 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15259 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15260 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15261 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15262 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15263 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15264 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15265 (
15266 cat <<\_ASBOX
15267 ## ----------------------------------------- ##
15268 ## Report this to wx-dev@lists.wxwidgets.org ##
15269 ## ----------------------------------------- ##
15270 _ASBOX
15271 ) |
15272 sed "s/^/$as_me: WARNING: /" >&2
15273 ;;
15274 esac
15275 echo "$as_me:$LINENO: checking for $ac_header" >&5
15276 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15277 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15278 echo $ECHO_N "(cached) $ECHO_C" >&6
15279 else
15280 eval "$as_ac_Header=\$ac_header_preproc"
15281 fi
15282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15283 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15284
15285 fi
15286 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15287 cat >>confdefs.h <<_ACEOF
15288 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15289 _ACEOF
15290
15291 fi
15292
15293 done
15294
15295
15296 for ac_header in X11/XKBlib.h
15297 do
15298 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15299 echo "$as_me:$LINENO: checking for $ac_header" >&5
15300 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15301 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15302 echo $ECHO_N "(cached) $ECHO_C" >&6
15303 else
15304 cat >conftest.$ac_ext <<_ACEOF
15305 /* confdefs.h. */
15306 _ACEOF
15307 cat confdefs.h >>conftest.$ac_ext
15308 cat >>conftest.$ac_ext <<_ACEOF
15309 /* end confdefs.h. */
15310
15311 #if HAVE_X11_XLIB_H
15312 #include <X11/Xlib.h>
15313 #endif
15314
15315
15316 #include <$ac_header>
15317 _ACEOF
15318 rm -f conftest.$ac_objext
15319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15320 (eval $ac_compile) 2>conftest.er1
15321 ac_status=$?
15322 grep -v '^ *+' conftest.er1 >conftest.err
15323 rm -f conftest.er1
15324 cat conftest.err >&5
15325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15326 (exit $ac_status); } &&
15327 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15329 (eval $ac_try) 2>&5
15330 ac_status=$?
15331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15332 (exit $ac_status); }; } &&
15333 { ac_try='test -s conftest.$ac_objext'
15334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15335 (eval $ac_try) 2>&5
15336 ac_status=$?
15337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15338 (exit $ac_status); }; }; then
15339 eval "$as_ac_Header=yes"
15340 else
15341 echo "$as_me: failed program was:" >&5
15342 sed 's/^/| /' conftest.$ac_ext >&5
15343
15344 eval "$as_ac_Header=no"
15345 fi
15346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15347 fi
15348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15349 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15350 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15351 cat >>confdefs.h <<_ACEOF
15352 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15353 _ACEOF
15354
15355 fi
15356
15357 done
15358
15359 fi
15360 fi
15361
15362
15363 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
15364 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
15365 if test "${ac_cv_c_const+set}" = set; then
15366 echo $ECHO_N "(cached) $ECHO_C" >&6
15367 else
15368 cat >conftest.$ac_ext <<_ACEOF
15369 /* confdefs.h. */
15370 _ACEOF
15371 cat confdefs.h >>conftest.$ac_ext
15372 cat >>conftest.$ac_ext <<_ACEOF
15373 /* end confdefs.h. */
15374
15375 int
15376 main ()
15377 {
15378 /* FIXME: Include the comments suggested by Paul. */
15379 #ifndef __cplusplus
15380 /* Ultrix mips cc rejects this. */
15381 typedef int charset[2];
15382 const charset x;
15383 /* SunOS 4.1.1 cc rejects this. */
15384 char const *const *ccp;
15385 char **p;
15386 /* NEC SVR4.0.2 mips cc rejects this. */
15387 struct point {int x, y;};
15388 static struct point const zero = {0,0};
15389 /* AIX XL C 1.02.0.0 rejects this.
15390 It does not let you subtract one const X* pointer from another in
15391 an arm of an if-expression whose if-part is not a constant
15392 expression */
15393 const char *g = "string";
15394 ccp = &g + (g ? g-g : 0);
15395 /* HPUX 7.0 cc rejects these. */
15396 ++ccp;
15397 p = (char**) ccp;
15398 ccp = (char const *const *) p;
15399 { /* SCO 3.2v4 cc rejects this. */
15400 char *t;
15401 char const *s = 0 ? (char *) 0 : (char const *) 0;
15402
15403 *t++ = 0;
15404 }
15405 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15406 int x[] = {25, 17};
15407 const int *foo = &x[0];
15408 ++foo;
15409 }
15410 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15411 typedef const int *iptr;
15412 iptr p = 0;
15413 ++p;
15414 }
15415 { /* AIX XL C 1.02.0.0 rejects this saying
15416 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15417 struct s { int j; const int *ap[3]; };
15418 struct s *b; b->j = 5;
15419 }
15420 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15421 const int foo = 10;
15422 }
15423 #endif
15424
15425 ;
15426 return 0;
15427 }
15428 _ACEOF
15429 rm -f conftest.$ac_objext
15430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15431 (eval $ac_compile) 2>conftest.er1
15432 ac_status=$?
15433 grep -v '^ *+' conftest.er1 >conftest.err
15434 rm -f conftest.er1
15435 cat conftest.err >&5
15436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15437 (exit $ac_status); } &&
15438 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15440 (eval $ac_try) 2>&5
15441 ac_status=$?
15442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15443 (exit $ac_status); }; } &&
15444 { ac_try='test -s conftest.$ac_objext'
15445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15446 (eval $ac_try) 2>&5
15447 ac_status=$?
15448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15449 (exit $ac_status); }; }; then
15450 ac_cv_c_const=yes
15451 else
15452 echo "$as_me: failed program was:" >&5
15453 sed 's/^/| /' conftest.$ac_ext >&5
15454
15455 ac_cv_c_const=no
15456 fi
15457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15458 fi
15459 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
15460 echo "${ECHO_T}$ac_cv_c_const" >&6
15461 if test $ac_cv_c_const = no; then
15462
15463 cat >>confdefs.h <<\_ACEOF
15464 #define const
15465 _ACEOF
15466
15467 fi
15468
15469 echo "$as_me:$LINENO: checking for inline" >&5
15470 echo $ECHO_N "checking for inline... $ECHO_C" >&6
15471 if test "${ac_cv_c_inline+set}" = set; then
15472 echo $ECHO_N "(cached) $ECHO_C" >&6
15473 else
15474 ac_cv_c_inline=no
15475 for ac_kw in inline __inline__ __inline; do
15476 cat >conftest.$ac_ext <<_ACEOF
15477 /* confdefs.h. */
15478 _ACEOF
15479 cat confdefs.h >>conftest.$ac_ext
15480 cat >>conftest.$ac_ext <<_ACEOF
15481 /* end confdefs.h. */
15482 #ifndef __cplusplus
15483 typedef int foo_t;
15484 static $ac_kw foo_t static_foo () {return 0; }
15485 $ac_kw foo_t foo () {return 0; }
15486 #endif
15487
15488 _ACEOF
15489 rm -f conftest.$ac_objext
15490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15491 (eval $ac_compile) 2>conftest.er1
15492 ac_status=$?
15493 grep -v '^ *+' conftest.er1 >conftest.err
15494 rm -f conftest.er1
15495 cat conftest.err >&5
15496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15497 (exit $ac_status); } &&
15498 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
15504 { ac_try='test -s conftest.$ac_objext'
15505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15506 (eval $ac_try) 2>&5
15507 ac_status=$?
15508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15509 (exit $ac_status); }; }; then
15510 ac_cv_c_inline=$ac_kw; break
15511 else
15512 echo "$as_me: failed program was:" >&5
15513 sed 's/^/| /' conftest.$ac_ext >&5
15514
15515 fi
15516 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15517 done
15518
15519 fi
15520 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
15521 echo "${ECHO_T}$ac_cv_c_inline" >&6
15522
15523
15524 case $ac_cv_c_inline in
15525 inline | yes) ;;
15526 *)
15527 case $ac_cv_c_inline in
15528 no) ac_val=;;
15529 *) ac_val=$ac_cv_c_inline;;
15530 esac
15531 cat >>confdefs.h <<_ACEOF
15532 #ifndef __cplusplus
15533 #define inline $ac_val
15534 #endif
15535 _ACEOF
15536 ;;
15537 esac
15538
15539
15540 echo "$as_me:$LINENO: checking for char" >&5
15541 echo $ECHO_N "checking for char... $ECHO_C" >&6
15542 if test "${ac_cv_type_char+set}" = set; then
15543 echo $ECHO_N "(cached) $ECHO_C" >&6
15544 else
15545 cat >conftest.$ac_ext <<_ACEOF
15546 /* confdefs.h. */
15547 _ACEOF
15548 cat confdefs.h >>conftest.$ac_ext
15549 cat >>conftest.$ac_ext <<_ACEOF
15550 /* end confdefs.h. */
15551 $ac_includes_default
15552 int
15553 main ()
15554 {
15555 if ((char *) 0)
15556 return 0;
15557 if (sizeof (char))
15558 return 0;
15559 ;
15560 return 0;
15561 }
15562 _ACEOF
15563 rm -f conftest.$ac_objext
15564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15565 (eval $ac_compile) 2>conftest.er1
15566 ac_status=$?
15567 grep -v '^ *+' conftest.er1 >conftest.err
15568 rm -f conftest.er1
15569 cat conftest.err >&5
15570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15571 (exit $ac_status); } &&
15572 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15574 (eval $ac_try) 2>&5
15575 ac_status=$?
15576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15577 (exit $ac_status); }; } &&
15578 { ac_try='test -s conftest.$ac_objext'
15579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15580 (eval $ac_try) 2>&5
15581 ac_status=$?
15582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15583 (exit $ac_status); }; }; then
15584 ac_cv_type_char=yes
15585 else
15586 echo "$as_me: failed program was:" >&5
15587 sed 's/^/| /' conftest.$ac_ext >&5
15588
15589 ac_cv_type_char=no
15590 fi
15591 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15592 fi
15593 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
15594 echo "${ECHO_T}$ac_cv_type_char" >&6
15595
15596 echo "$as_me:$LINENO: checking size of char" >&5
15597 echo $ECHO_N "checking size of char... $ECHO_C" >&6
15598 if test "${ac_cv_sizeof_char+set}" = set; then
15599 echo $ECHO_N "(cached) $ECHO_C" >&6
15600 else
15601 if test "$ac_cv_type_char" = yes; then
15602 # The cast to unsigned long works around a bug in the HP C Compiler
15603 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15604 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15605 # This bug is HP SR number 8606223364.
15606 if test "$cross_compiling" = yes; then
15607 # Depending upon the size, compute the lo and hi bounds.
15608 cat >conftest.$ac_ext <<_ACEOF
15609 /* confdefs.h. */
15610 _ACEOF
15611 cat confdefs.h >>conftest.$ac_ext
15612 cat >>conftest.$ac_ext <<_ACEOF
15613 /* end confdefs.h. */
15614 $ac_includes_default
15615 int
15616 main ()
15617 {
15618 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
15619 test_array [0] = 0
15620
15621 ;
15622 return 0;
15623 }
15624 _ACEOF
15625 rm -f conftest.$ac_objext
15626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15627 (eval $ac_compile) 2>conftest.er1
15628 ac_status=$?
15629 grep -v '^ *+' conftest.er1 >conftest.err
15630 rm -f conftest.er1
15631 cat conftest.err >&5
15632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15633 (exit $ac_status); } &&
15634 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
15640 { ac_try='test -s conftest.$ac_objext'
15641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15642 (eval $ac_try) 2>&5
15643 ac_status=$?
15644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15645 (exit $ac_status); }; }; then
15646 ac_lo=0 ac_mid=0
15647 while :; do
15648 cat >conftest.$ac_ext <<_ACEOF
15649 /* confdefs.h. */
15650 _ACEOF
15651 cat confdefs.h >>conftest.$ac_ext
15652 cat >>conftest.$ac_ext <<_ACEOF
15653 /* end confdefs.h. */
15654 $ac_includes_default
15655 int
15656 main ()
15657 {
15658 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15659 test_array [0] = 0
15660
15661 ;
15662 return 0;
15663 }
15664 _ACEOF
15665 rm -f conftest.$ac_objext
15666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15667 (eval $ac_compile) 2>conftest.er1
15668 ac_status=$?
15669 grep -v '^ *+' conftest.er1 >conftest.err
15670 rm -f conftest.er1
15671 cat conftest.err >&5
15672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15673 (exit $ac_status); } &&
15674 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15676 (eval $ac_try) 2>&5
15677 ac_status=$?
15678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15679 (exit $ac_status); }; } &&
15680 { ac_try='test -s conftest.$ac_objext'
15681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15682 (eval $ac_try) 2>&5
15683 ac_status=$?
15684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15685 (exit $ac_status); }; }; then
15686 ac_hi=$ac_mid; break
15687 else
15688 echo "$as_me: failed program was:" >&5
15689 sed 's/^/| /' conftest.$ac_ext >&5
15690
15691 ac_lo=`expr $ac_mid + 1`
15692 if test $ac_lo -le $ac_mid; then
15693 ac_lo= ac_hi=
15694 break
15695 fi
15696 ac_mid=`expr 2 '*' $ac_mid + 1`
15697 fi
15698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15699 done
15700 else
15701 echo "$as_me: failed program was:" >&5
15702 sed 's/^/| /' conftest.$ac_ext >&5
15703
15704 cat >conftest.$ac_ext <<_ACEOF
15705 /* confdefs.h. */
15706 _ACEOF
15707 cat confdefs.h >>conftest.$ac_ext
15708 cat >>conftest.$ac_ext <<_ACEOF
15709 /* end confdefs.h. */
15710 $ac_includes_default
15711 int
15712 main ()
15713 {
15714 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
15715 test_array [0] = 0
15716
15717 ;
15718 return 0;
15719 }
15720 _ACEOF
15721 rm -f conftest.$ac_objext
15722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15723 (eval $ac_compile) 2>conftest.er1
15724 ac_status=$?
15725 grep -v '^ *+' conftest.er1 >conftest.err
15726 rm -f conftest.er1
15727 cat conftest.err >&5
15728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15729 (exit $ac_status); } &&
15730 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15732 (eval $ac_try) 2>&5
15733 ac_status=$?
15734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15735 (exit $ac_status); }; } &&
15736 { ac_try='test -s conftest.$ac_objext'
15737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15738 (eval $ac_try) 2>&5
15739 ac_status=$?
15740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15741 (exit $ac_status); }; }; then
15742 ac_hi=-1 ac_mid=-1
15743 while :; do
15744 cat >conftest.$ac_ext <<_ACEOF
15745 /* confdefs.h. */
15746 _ACEOF
15747 cat confdefs.h >>conftest.$ac_ext
15748 cat >>conftest.$ac_ext <<_ACEOF
15749 /* end confdefs.h. */
15750 $ac_includes_default
15751 int
15752 main ()
15753 {
15754 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
15755 test_array [0] = 0
15756
15757 ;
15758 return 0;
15759 }
15760 _ACEOF
15761 rm -f conftest.$ac_objext
15762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15763 (eval $ac_compile) 2>conftest.er1
15764 ac_status=$?
15765 grep -v '^ *+' conftest.er1 >conftest.err
15766 rm -f conftest.er1
15767 cat conftest.err >&5
15768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15769 (exit $ac_status); } &&
15770 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
15776 { ac_try='test -s conftest.$ac_objext'
15777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15778 (eval $ac_try) 2>&5
15779 ac_status=$?
15780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15781 (exit $ac_status); }; }; then
15782 ac_lo=$ac_mid; break
15783 else
15784 echo "$as_me: failed program was:" >&5
15785 sed 's/^/| /' conftest.$ac_ext >&5
15786
15787 ac_hi=`expr '(' $ac_mid ')' - 1`
15788 if test $ac_mid -le $ac_hi; then
15789 ac_lo= ac_hi=
15790 break
15791 fi
15792 ac_mid=`expr 2 '*' $ac_mid`
15793 fi
15794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15795 done
15796 else
15797 echo "$as_me: failed program was:" >&5
15798 sed 's/^/| /' conftest.$ac_ext >&5
15799
15800 ac_lo= ac_hi=
15801 fi
15802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15803 fi
15804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15805 # Binary search between lo and hi bounds.
15806 while test "x$ac_lo" != "x$ac_hi"; do
15807 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15808 cat >conftest.$ac_ext <<_ACEOF
15809 /* confdefs.h. */
15810 _ACEOF
15811 cat confdefs.h >>conftest.$ac_ext
15812 cat >>conftest.$ac_ext <<_ACEOF
15813 /* end confdefs.h. */
15814 $ac_includes_default
15815 int
15816 main ()
15817 {
15818 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15819 test_array [0] = 0
15820
15821 ;
15822 return 0;
15823 }
15824 _ACEOF
15825 rm -f conftest.$ac_objext
15826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15827 (eval $ac_compile) 2>conftest.er1
15828 ac_status=$?
15829 grep -v '^ *+' conftest.er1 >conftest.err
15830 rm -f conftest.er1
15831 cat conftest.err >&5
15832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15833 (exit $ac_status); } &&
15834 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15836 (eval $ac_try) 2>&5
15837 ac_status=$?
15838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15839 (exit $ac_status); }; } &&
15840 { ac_try='test -s conftest.$ac_objext'
15841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15842 (eval $ac_try) 2>&5
15843 ac_status=$?
15844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15845 (exit $ac_status); }; }; then
15846 ac_hi=$ac_mid
15847 else
15848 echo "$as_me: failed program was:" >&5
15849 sed 's/^/| /' conftest.$ac_ext >&5
15850
15851 ac_lo=`expr '(' $ac_mid ')' + 1`
15852 fi
15853 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15854 done
15855 case $ac_lo in
15856 ?*) ac_cv_sizeof_char=$ac_lo;;
15857 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15858 See \`config.log' for more details." >&5
15859 echo "$as_me: error: cannot compute sizeof (char), 77
15860 See \`config.log' for more details." >&2;}
15861 { (exit 1); exit 1; }; } ;;
15862 esac
15863 else
15864 if test "$cross_compiling" = yes; then
15865 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15866 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15867 { (exit 1); exit 1; }; }
15868 else
15869 cat >conftest.$ac_ext <<_ACEOF
15870 /* confdefs.h. */
15871 _ACEOF
15872 cat confdefs.h >>conftest.$ac_ext
15873 cat >>conftest.$ac_ext <<_ACEOF
15874 /* end confdefs.h. */
15875 $ac_includes_default
15876 long longval () { return (long) (sizeof (char)); }
15877 unsigned long ulongval () { return (long) (sizeof (char)); }
15878 #include <stdio.h>
15879 #include <stdlib.h>
15880 int
15881 main ()
15882 {
15883
15884 FILE *f = fopen ("conftest.val", "w");
15885 if (! f)
15886 exit (1);
15887 if (((long) (sizeof (char))) < 0)
15888 {
15889 long i = longval ();
15890 if (i != ((long) (sizeof (char))))
15891 exit (1);
15892 fprintf (f, "%ld\n", i);
15893 }
15894 else
15895 {
15896 unsigned long i = ulongval ();
15897 if (i != ((long) (sizeof (char))))
15898 exit (1);
15899 fprintf (f, "%lu\n", i);
15900 }
15901 exit (ferror (f) || fclose (f) != 0);
15902
15903 ;
15904 return 0;
15905 }
15906 _ACEOF
15907 rm -f conftest$ac_exeext
15908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15909 (eval $ac_link) 2>&5
15910 ac_status=$?
15911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15912 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15914 (eval $ac_try) 2>&5
15915 ac_status=$?
15916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15917 (exit $ac_status); }; }; then
15918 ac_cv_sizeof_char=`cat conftest.val`
15919 else
15920 echo "$as_me: program exited with status $ac_status" >&5
15921 echo "$as_me: failed program was:" >&5
15922 sed 's/^/| /' conftest.$ac_ext >&5
15923
15924 ( exit $ac_status )
15925 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15926 See \`config.log' for more details." >&5
15927 echo "$as_me: error: cannot compute sizeof (char), 77
15928 See \`config.log' for more details." >&2;}
15929 { (exit 1); exit 1; }; }
15930 fi
15931 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15932 fi
15933 fi
15934 rm -f conftest.val
15935 else
15936 ac_cv_sizeof_char=0
15937 fi
15938 fi
15939 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
15940 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
15941 cat >>confdefs.h <<_ACEOF
15942 #define SIZEOF_CHAR $ac_cv_sizeof_char
15943 _ACEOF
15944
15945
15946 echo "$as_me:$LINENO: checking for short" >&5
15947 echo $ECHO_N "checking for short... $ECHO_C" >&6
15948 if test "${ac_cv_type_short+set}" = set; then
15949 echo $ECHO_N "(cached) $ECHO_C" >&6
15950 else
15951 cat >conftest.$ac_ext <<_ACEOF
15952 /* confdefs.h. */
15953 _ACEOF
15954 cat confdefs.h >>conftest.$ac_ext
15955 cat >>conftest.$ac_ext <<_ACEOF
15956 /* end confdefs.h. */
15957 $ac_includes_default
15958 int
15959 main ()
15960 {
15961 if ((short *) 0)
15962 return 0;
15963 if (sizeof (short))
15964 return 0;
15965 ;
15966 return 0;
15967 }
15968 _ACEOF
15969 rm -f conftest.$ac_objext
15970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15971 (eval $ac_compile) 2>conftest.er1
15972 ac_status=$?
15973 grep -v '^ *+' conftest.er1 >conftest.err
15974 rm -f conftest.er1
15975 cat conftest.err >&5
15976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15977 (exit $ac_status); } &&
15978 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15980 (eval $ac_try) 2>&5
15981 ac_status=$?
15982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15983 (exit $ac_status); }; } &&
15984 { ac_try='test -s conftest.$ac_objext'
15985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15986 (eval $ac_try) 2>&5
15987 ac_status=$?
15988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15989 (exit $ac_status); }; }; then
15990 ac_cv_type_short=yes
15991 else
15992 echo "$as_me: failed program was:" >&5
15993 sed 's/^/| /' conftest.$ac_ext >&5
15994
15995 ac_cv_type_short=no
15996 fi
15997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15998 fi
15999 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
16000 echo "${ECHO_T}$ac_cv_type_short" >&6
16001
16002 echo "$as_me:$LINENO: checking size of short" >&5
16003 echo $ECHO_N "checking size of short... $ECHO_C" >&6
16004 if test "${ac_cv_sizeof_short+set}" = set; then
16005 echo $ECHO_N "(cached) $ECHO_C" >&6
16006 else
16007 if test "$ac_cv_type_short" = yes; then
16008 # The cast to unsigned long works around a bug in the HP C Compiler
16009 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16010 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16011 # This bug is HP SR number 8606223364.
16012 if test "$cross_compiling" = yes; then
16013 # Depending upon the size, compute the lo and hi bounds.
16014 cat >conftest.$ac_ext <<_ACEOF
16015 /* confdefs.h. */
16016 _ACEOF
16017 cat confdefs.h >>conftest.$ac_ext
16018 cat >>conftest.$ac_ext <<_ACEOF
16019 /* end confdefs.h. */
16020 $ac_includes_default
16021 int
16022 main ()
16023 {
16024 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
16025 test_array [0] = 0
16026
16027 ;
16028 return 0;
16029 }
16030 _ACEOF
16031 rm -f conftest.$ac_objext
16032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16033 (eval $ac_compile) 2>conftest.er1
16034 ac_status=$?
16035 grep -v '^ *+' conftest.er1 >conftest.err
16036 rm -f conftest.er1
16037 cat conftest.err >&5
16038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16039 (exit $ac_status); } &&
16040 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
16046 { ac_try='test -s conftest.$ac_objext'
16047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16048 (eval $ac_try) 2>&5
16049 ac_status=$?
16050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16051 (exit $ac_status); }; }; then
16052 ac_lo=0 ac_mid=0
16053 while :; do
16054 cat >conftest.$ac_ext <<_ACEOF
16055 /* confdefs.h. */
16056 _ACEOF
16057 cat confdefs.h >>conftest.$ac_ext
16058 cat >>conftest.$ac_ext <<_ACEOF
16059 /* end confdefs.h. */
16060 $ac_includes_default
16061 int
16062 main ()
16063 {
16064 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16065 test_array [0] = 0
16066
16067 ;
16068 return 0;
16069 }
16070 _ACEOF
16071 rm -f conftest.$ac_objext
16072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16073 (eval $ac_compile) 2>conftest.er1
16074 ac_status=$?
16075 grep -v '^ *+' conftest.er1 >conftest.err
16076 rm -f conftest.er1
16077 cat conftest.err >&5
16078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16079 (exit $ac_status); } &&
16080 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16082 (eval $ac_try) 2>&5
16083 ac_status=$?
16084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16085 (exit $ac_status); }; } &&
16086 { ac_try='test -s conftest.$ac_objext'
16087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16088 (eval $ac_try) 2>&5
16089 ac_status=$?
16090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16091 (exit $ac_status); }; }; then
16092 ac_hi=$ac_mid; break
16093 else
16094 echo "$as_me: failed program was:" >&5
16095 sed 's/^/| /' conftest.$ac_ext >&5
16096
16097 ac_lo=`expr $ac_mid + 1`
16098 if test $ac_lo -le $ac_mid; then
16099 ac_lo= ac_hi=
16100 break
16101 fi
16102 ac_mid=`expr 2 '*' $ac_mid + 1`
16103 fi
16104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16105 done
16106 else
16107 echo "$as_me: failed program was:" >&5
16108 sed 's/^/| /' conftest.$ac_ext >&5
16109
16110 cat >conftest.$ac_ext <<_ACEOF
16111 /* confdefs.h. */
16112 _ACEOF
16113 cat confdefs.h >>conftest.$ac_ext
16114 cat >>conftest.$ac_ext <<_ACEOF
16115 /* end confdefs.h. */
16116 $ac_includes_default
16117 int
16118 main ()
16119 {
16120 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
16121 test_array [0] = 0
16122
16123 ;
16124 return 0;
16125 }
16126 _ACEOF
16127 rm -f conftest.$ac_objext
16128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16129 (eval $ac_compile) 2>conftest.er1
16130 ac_status=$?
16131 grep -v '^ *+' conftest.er1 >conftest.err
16132 rm -f conftest.er1
16133 cat conftest.err >&5
16134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16135 (exit $ac_status); } &&
16136 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16138 (eval $ac_try) 2>&5
16139 ac_status=$?
16140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16141 (exit $ac_status); }; } &&
16142 { ac_try='test -s conftest.$ac_objext'
16143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16144 (eval $ac_try) 2>&5
16145 ac_status=$?
16146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16147 (exit $ac_status); }; }; then
16148 ac_hi=-1 ac_mid=-1
16149 while :; do
16150 cat >conftest.$ac_ext <<_ACEOF
16151 /* confdefs.h. */
16152 _ACEOF
16153 cat confdefs.h >>conftest.$ac_ext
16154 cat >>conftest.$ac_ext <<_ACEOF
16155 /* end confdefs.h. */
16156 $ac_includes_default
16157 int
16158 main ()
16159 {
16160 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
16161 test_array [0] = 0
16162
16163 ;
16164 return 0;
16165 }
16166 _ACEOF
16167 rm -f conftest.$ac_objext
16168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16169 (eval $ac_compile) 2>conftest.er1
16170 ac_status=$?
16171 grep -v '^ *+' conftest.er1 >conftest.err
16172 rm -f conftest.er1
16173 cat conftest.err >&5
16174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16175 (exit $ac_status); } &&
16176 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
16182 { ac_try='test -s conftest.$ac_objext'
16183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16184 (eval $ac_try) 2>&5
16185 ac_status=$?
16186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16187 (exit $ac_status); }; }; then
16188 ac_lo=$ac_mid; break
16189 else
16190 echo "$as_me: failed program was:" >&5
16191 sed 's/^/| /' conftest.$ac_ext >&5
16192
16193 ac_hi=`expr '(' $ac_mid ')' - 1`
16194 if test $ac_mid -le $ac_hi; then
16195 ac_lo= ac_hi=
16196 break
16197 fi
16198 ac_mid=`expr 2 '*' $ac_mid`
16199 fi
16200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16201 done
16202 else
16203 echo "$as_me: failed program was:" >&5
16204 sed 's/^/| /' conftest.$ac_ext >&5
16205
16206 ac_lo= ac_hi=
16207 fi
16208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16209 fi
16210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16211 # Binary search between lo and hi bounds.
16212 while test "x$ac_lo" != "x$ac_hi"; do
16213 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16214 cat >conftest.$ac_ext <<_ACEOF
16215 /* confdefs.h. */
16216 _ACEOF
16217 cat confdefs.h >>conftest.$ac_ext
16218 cat >>conftest.$ac_ext <<_ACEOF
16219 /* end confdefs.h. */
16220 $ac_includes_default
16221 int
16222 main ()
16223 {
16224 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16225 test_array [0] = 0
16226
16227 ;
16228 return 0;
16229 }
16230 _ACEOF
16231 rm -f conftest.$ac_objext
16232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16233 (eval $ac_compile) 2>conftest.er1
16234 ac_status=$?
16235 grep -v '^ *+' conftest.er1 >conftest.err
16236 rm -f conftest.er1
16237 cat conftest.err >&5
16238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16239 (exit $ac_status); } &&
16240 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16242 (eval $ac_try) 2>&5
16243 ac_status=$?
16244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16245 (exit $ac_status); }; } &&
16246 { ac_try='test -s conftest.$ac_objext'
16247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16248 (eval $ac_try) 2>&5
16249 ac_status=$?
16250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16251 (exit $ac_status); }; }; then
16252 ac_hi=$ac_mid
16253 else
16254 echo "$as_me: failed program was:" >&5
16255 sed 's/^/| /' conftest.$ac_ext >&5
16256
16257 ac_lo=`expr '(' $ac_mid ')' + 1`
16258 fi
16259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16260 done
16261 case $ac_lo in
16262 ?*) ac_cv_sizeof_short=$ac_lo;;
16263 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16264 See \`config.log' for more details." >&5
16265 echo "$as_me: error: cannot compute sizeof (short), 77
16266 See \`config.log' for more details." >&2;}
16267 { (exit 1); exit 1; }; } ;;
16268 esac
16269 else
16270 if test "$cross_compiling" = yes; then
16271 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16272 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16273 { (exit 1); exit 1; }; }
16274 else
16275 cat >conftest.$ac_ext <<_ACEOF
16276 /* confdefs.h. */
16277 _ACEOF
16278 cat confdefs.h >>conftest.$ac_ext
16279 cat >>conftest.$ac_ext <<_ACEOF
16280 /* end confdefs.h. */
16281 $ac_includes_default
16282 long longval () { return (long) (sizeof (short)); }
16283 unsigned long ulongval () { return (long) (sizeof (short)); }
16284 #include <stdio.h>
16285 #include <stdlib.h>
16286 int
16287 main ()
16288 {
16289
16290 FILE *f = fopen ("conftest.val", "w");
16291 if (! f)
16292 exit (1);
16293 if (((long) (sizeof (short))) < 0)
16294 {
16295 long i = longval ();
16296 if (i != ((long) (sizeof (short))))
16297 exit (1);
16298 fprintf (f, "%ld\n", i);
16299 }
16300 else
16301 {
16302 unsigned long i = ulongval ();
16303 if (i != ((long) (sizeof (short))))
16304 exit (1);
16305 fprintf (f, "%lu\n", i);
16306 }
16307 exit (ferror (f) || fclose (f) != 0);
16308
16309 ;
16310 return 0;
16311 }
16312 _ACEOF
16313 rm -f conftest$ac_exeext
16314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16315 (eval $ac_link) 2>&5
16316 ac_status=$?
16317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16318 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16320 (eval $ac_try) 2>&5
16321 ac_status=$?
16322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16323 (exit $ac_status); }; }; then
16324 ac_cv_sizeof_short=`cat conftest.val`
16325 else
16326 echo "$as_me: program exited with status $ac_status" >&5
16327 echo "$as_me: failed program was:" >&5
16328 sed 's/^/| /' conftest.$ac_ext >&5
16329
16330 ( exit $ac_status )
16331 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16332 See \`config.log' for more details." >&5
16333 echo "$as_me: error: cannot compute sizeof (short), 77
16334 See \`config.log' for more details." >&2;}
16335 { (exit 1); exit 1; }; }
16336 fi
16337 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16338 fi
16339 fi
16340 rm -f conftest.val
16341 else
16342 ac_cv_sizeof_short=0
16343 fi
16344 fi
16345 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
16346 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
16347 cat >>confdefs.h <<_ACEOF
16348 #define SIZEOF_SHORT $ac_cv_sizeof_short
16349 _ACEOF
16350
16351
16352 echo "$as_me:$LINENO: checking for void *" >&5
16353 echo $ECHO_N "checking for void *... $ECHO_C" >&6
16354 if test "${ac_cv_type_void_p+set}" = set; then
16355 echo $ECHO_N "(cached) $ECHO_C" >&6
16356 else
16357 cat >conftest.$ac_ext <<_ACEOF
16358 /* confdefs.h. */
16359 _ACEOF
16360 cat confdefs.h >>conftest.$ac_ext
16361 cat >>conftest.$ac_ext <<_ACEOF
16362 /* end confdefs.h. */
16363 $ac_includes_default
16364 int
16365 main ()
16366 {
16367 if ((void * *) 0)
16368 return 0;
16369 if (sizeof (void *))
16370 return 0;
16371 ;
16372 return 0;
16373 }
16374 _ACEOF
16375 rm -f conftest.$ac_objext
16376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16377 (eval $ac_compile) 2>conftest.er1
16378 ac_status=$?
16379 grep -v '^ *+' conftest.er1 >conftest.err
16380 rm -f conftest.er1
16381 cat conftest.err >&5
16382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16383 (exit $ac_status); } &&
16384 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16386 (eval $ac_try) 2>&5
16387 ac_status=$?
16388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16389 (exit $ac_status); }; } &&
16390 { ac_try='test -s conftest.$ac_objext'
16391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16392 (eval $ac_try) 2>&5
16393 ac_status=$?
16394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16395 (exit $ac_status); }; }; then
16396 ac_cv_type_void_p=yes
16397 else
16398 echo "$as_me: failed program was:" >&5
16399 sed 's/^/| /' conftest.$ac_ext >&5
16400
16401 ac_cv_type_void_p=no
16402 fi
16403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16404 fi
16405 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
16406 echo "${ECHO_T}$ac_cv_type_void_p" >&6
16407
16408 echo "$as_me:$LINENO: checking size of void *" >&5
16409 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
16410 if test "${ac_cv_sizeof_void_p+set}" = set; then
16411 echo $ECHO_N "(cached) $ECHO_C" >&6
16412 else
16413 if test "$ac_cv_type_void_p" = yes; then
16414 # The cast to unsigned long works around a bug in the HP C Compiler
16415 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16416 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16417 # This bug is HP SR number 8606223364.
16418 if test "$cross_compiling" = yes; then
16419 # Depending upon the size, compute the lo and hi bounds.
16420 cat >conftest.$ac_ext <<_ACEOF
16421 /* confdefs.h. */
16422 _ACEOF
16423 cat confdefs.h >>conftest.$ac_ext
16424 cat >>conftest.$ac_ext <<_ACEOF
16425 /* end confdefs.h. */
16426 $ac_includes_default
16427 int
16428 main ()
16429 {
16430 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
16431 test_array [0] = 0
16432
16433 ;
16434 return 0;
16435 }
16436 _ACEOF
16437 rm -f conftest.$ac_objext
16438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16439 (eval $ac_compile) 2>conftest.er1
16440 ac_status=$?
16441 grep -v '^ *+' conftest.er1 >conftest.err
16442 rm -f conftest.er1
16443 cat conftest.err >&5
16444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16445 (exit $ac_status); } &&
16446 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
16452 { ac_try='test -s conftest.$ac_objext'
16453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16454 (eval $ac_try) 2>&5
16455 ac_status=$?
16456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16457 (exit $ac_status); }; }; then
16458 ac_lo=0 ac_mid=0
16459 while :; do
16460 cat >conftest.$ac_ext <<_ACEOF
16461 /* confdefs.h. */
16462 _ACEOF
16463 cat confdefs.h >>conftest.$ac_ext
16464 cat >>conftest.$ac_ext <<_ACEOF
16465 /* end confdefs.h. */
16466 $ac_includes_default
16467 int
16468 main ()
16469 {
16470 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16471 test_array [0] = 0
16472
16473 ;
16474 return 0;
16475 }
16476 _ACEOF
16477 rm -f conftest.$ac_objext
16478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16479 (eval $ac_compile) 2>conftest.er1
16480 ac_status=$?
16481 grep -v '^ *+' conftest.er1 >conftest.err
16482 rm -f conftest.er1
16483 cat conftest.err >&5
16484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16485 (exit $ac_status); } &&
16486 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16488 (eval $ac_try) 2>&5
16489 ac_status=$?
16490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16491 (exit $ac_status); }; } &&
16492 { ac_try='test -s conftest.$ac_objext'
16493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16494 (eval $ac_try) 2>&5
16495 ac_status=$?
16496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16497 (exit $ac_status); }; }; then
16498 ac_hi=$ac_mid; break
16499 else
16500 echo "$as_me: failed program was:" >&5
16501 sed 's/^/| /' conftest.$ac_ext >&5
16502
16503 ac_lo=`expr $ac_mid + 1`
16504 if test $ac_lo -le $ac_mid; then
16505 ac_lo= ac_hi=
16506 break
16507 fi
16508 ac_mid=`expr 2 '*' $ac_mid + 1`
16509 fi
16510 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16511 done
16512 else
16513 echo "$as_me: failed program was:" >&5
16514 sed 's/^/| /' conftest.$ac_ext >&5
16515
16516 cat >conftest.$ac_ext <<_ACEOF
16517 /* confdefs.h. */
16518 _ACEOF
16519 cat confdefs.h >>conftest.$ac_ext
16520 cat >>conftest.$ac_ext <<_ACEOF
16521 /* end confdefs.h. */
16522 $ac_includes_default
16523 int
16524 main ()
16525 {
16526 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
16527 test_array [0] = 0
16528
16529 ;
16530 return 0;
16531 }
16532 _ACEOF
16533 rm -f conftest.$ac_objext
16534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16535 (eval $ac_compile) 2>conftest.er1
16536 ac_status=$?
16537 grep -v '^ *+' conftest.er1 >conftest.err
16538 rm -f conftest.er1
16539 cat conftest.err >&5
16540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16541 (exit $ac_status); } &&
16542 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16544 (eval $ac_try) 2>&5
16545 ac_status=$?
16546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16547 (exit $ac_status); }; } &&
16548 { ac_try='test -s conftest.$ac_objext'
16549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16550 (eval $ac_try) 2>&5
16551 ac_status=$?
16552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16553 (exit $ac_status); }; }; then
16554 ac_hi=-1 ac_mid=-1
16555 while :; do
16556 cat >conftest.$ac_ext <<_ACEOF
16557 /* confdefs.h. */
16558 _ACEOF
16559 cat confdefs.h >>conftest.$ac_ext
16560 cat >>conftest.$ac_ext <<_ACEOF
16561 /* end confdefs.h. */
16562 $ac_includes_default
16563 int
16564 main ()
16565 {
16566 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
16567 test_array [0] = 0
16568
16569 ;
16570 return 0;
16571 }
16572 _ACEOF
16573 rm -f conftest.$ac_objext
16574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16575 (eval $ac_compile) 2>conftest.er1
16576 ac_status=$?
16577 grep -v '^ *+' conftest.er1 >conftest.err
16578 rm -f conftest.er1
16579 cat conftest.err >&5
16580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16581 (exit $ac_status); } &&
16582 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
16588 { ac_try='test -s conftest.$ac_objext'
16589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16590 (eval $ac_try) 2>&5
16591 ac_status=$?
16592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16593 (exit $ac_status); }; }; then
16594 ac_lo=$ac_mid; break
16595 else
16596 echo "$as_me: failed program was:" >&5
16597 sed 's/^/| /' conftest.$ac_ext >&5
16598
16599 ac_hi=`expr '(' $ac_mid ')' - 1`
16600 if test $ac_mid -le $ac_hi; then
16601 ac_lo= ac_hi=
16602 break
16603 fi
16604 ac_mid=`expr 2 '*' $ac_mid`
16605 fi
16606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16607 done
16608 else
16609 echo "$as_me: failed program was:" >&5
16610 sed 's/^/| /' conftest.$ac_ext >&5
16611
16612 ac_lo= ac_hi=
16613 fi
16614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16615 fi
16616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16617 # Binary search between lo and hi bounds.
16618 while test "x$ac_lo" != "x$ac_hi"; do
16619 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16620 cat >conftest.$ac_ext <<_ACEOF
16621 /* confdefs.h. */
16622 _ACEOF
16623 cat confdefs.h >>conftest.$ac_ext
16624 cat >>conftest.$ac_ext <<_ACEOF
16625 /* end confdefs.h. */
16626 $ac_includes_default
16627 int
16628 main ()
16629 {
16630 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16631 test_array [0] = 0
16632
16633 ;
16634 return 0;
16635 }
16636 _ACEOF
16637 rm -f conftest.$ac_objext
16638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16639 (eval $ac_compile) 2>conftest.er1
16640 ac_status=$?
16641 grep -v '^ *+' conftest.er1 >conftest.err
16642 rm -f conftest.er1
16643 cat conftest.err >&5
16644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16645 (exit $ac_status); } &&
16646 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16648 (eval $ac_try) 2>&5
16649 ac_status=$?
16650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16651 (exit $ac_status); }; } &&
16652 { ac_try='test -s conftest.$ac_objext'
16653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16654 (eval $ac_try) 2>&5
16655 ac_status=$?
16656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16657 (exit $ac_status); }; }; then
16658 ac_hi=$ac_mid
16659 else
16660 echo "$as_me: failed program was:" >&5
16661 sed 's/^/| /' conftest.$ac_ext >&5
16662
16663 ac_lo=`expr '(' $ac_mid ')' + 1`
16664 fi
16665 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16666 done
16667 case $ac_lo in
16668 ?*) ac_cv_sizeof_void_p=$ac_lo;;
16669 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16670 See \`config.log' for more details." >&5
16671 echo "$as_me: error: cannot compute sizeof (void *), 77
16672 See \`config.log' for more details." >&2;}
16673 { (exit 1); exit 1; }; } ;;
16674 esac
16675 else
16676 if test "$cross_compiling" = yes; then
16677 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16678 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16679 { (exit 1); exit 1; }; }
16680 else
16681 cat >conftest.$ac_ext <<_ACEOF
16682 /* confdefs.h. */
16683 _ACEOF
16684 cat confdefs.h >>conftest.$ac_ext
16685 cat >>conftest.$ac_ext <<_ACEOF
16686 /* end confdefs.h. */
16687 $ac_includes_default
16688 long longval () { return (long) (sizeof (void *)); }
16689 unsigned long ulongval () { return (long) (sizeof (void *)); }
16690 #include <stdio.h>
16691 #include <stdlib.h>
16692 int
16693 main ()
16694 {
16695
16696 FILE *f = fopen ("conftest.val", "w");
16697 if (! f)
16698 exit (1);
16699 if (((long) (sizeof (void *))) < 0)
16700 {
16701 long i = longval ();
16702 if (i != ((long) (sizeof (void *))))
16703 exit (1);
16704 fprintf (f, "%ld\n", i);
16705 }
16706 else
16707 {
16708 unsigned long i = ulongval ();
16709 if (i != ((long) (sizeof (void *))))
16710 exit (1);
16711 fprintf (f, "%lu\n", i);
16712 }
16713 exit (ferror (f) || fclose (f) != 0);
16714
16715 ;
16716 return 0;
16717 }
16718 _ACEOF
16719 rm -f conftest$ac_exeext
16720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16721 (eval $ac_link) 2>&5
16722 ac_status=$?
16723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16724 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16726 (eval $ac_try) 2>&5
16727 ac_status=$?
16728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16729 (exit $ac_status); }; }; then
16730 ac_cv_sizeof_void_p=`cat conftest.val`
16731 else
16732 echo "$as_me: program exited with status $ac_status" >&5
16733 echo "$as_me: failed program was:" >&5
16734 sed 's/^/| /' conftest.$ac_ext >&5
16735
16736 ( exit $ac_status )
16737 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16738 See \`config.log' for more details." >&5
16739 echo "$as_me: error: cannot compute sizeof (void *), 77
16740 See \`config.log' for more details." >&2;}
16741 { (exit 1); exit 1; }; }
16742 fi
16743 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16744 fi
16745 fi
16746 rm -f conftest.val
16747 else
16748 ac_cv_sizeof_void_p=0
16749 fi
16750 fi
16751 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
16752 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
16753 cat >>confdefs.h <<_ACEOF
16754 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16755 _ACEOF
16756
16757
16758 echo "$as_me:$LINENO: checking for int" >&5
16759 echo $ECHO_N "checking for int... $ECHO_C" >&6
16760 if test "${ac_cv_type_int+set}" = set; then
16761 echo $ECHO_N "(cached) $ECHO_C" >&6
16762 else
16763 cat >conftest.$ac_ext <<_ACEOF
16764 /* confdefs.h. */
16765 _ACEOF
16766 cat confdefs.h >>conftest.$ac_ext
16767 cat >>conftest.$ac_ext <<_ACEOF
16768 /* end confdefs.h. */
16769 $ac_includes_default
16770 int
16771 main ()
16772 {
16773 if ((int *) 0)
16774 return 0;
16775 if (sizeof (int))
16776 return 0;
16777 ;
16778 return 0;
16779 }
16780 _ACEOF
16781 rm -f conftest.$ac_objext
16782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16783 (eval $ac_compile) 2>conftest.er1
16784 ac_status=$?
16785 grep -v '^ *+' conftest.er1 >conftest.err
16786 rm -f conftest.er1
16787 cat conftest.err >&5
16788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16789 (exit $ac_status); } &&
16790 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16792 (eval $ac_try) 2>&5
16793 ac_status=$?
16794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16795 (exit $ac_status); }; } &&
16796 { ac_try='test -s conftest.$ac_objext'
16797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16798 (eval $ac_try) 2>&5
16799 ac_status=$?
16800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16801 (exit $ac_status); }; }; then
16802 ac_cv_type_int=yes
16803 else
16804 echo "$as_me: failed program was:" >&5
16805 sed 's/^/| /' conftest.$ac_ext >&5
16806
16807 ac_cv_type_int=no
16808 fi
16809 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16810 fi
16811 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
16812 echo "${ECHO_T}$ac_cv_type_int" >&6
16813
16814 echo "$as_me:$LINENO: checking size of int" >&5
16815 echo $ECHO_N "checking size of int... $ECHO_C" >&6
16816 if test "${ac_cv_sizeof_int+set}" = set; then
16817 echo $ECHO_N "(cached) $ECHO_C" >&6
16818 else
16819 if test "$ac_cv_type_int" = yes; then
16820 # The cast to unsigned long works around a bug in the HP C Compiler
16821 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16822 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16823 # This bug is HP SR number 8606223364.
16824 if test "$cross_compiling" = yes; then
16825 # Depending upon the size, compute the lo and hi bounds.
16826 cat >conftest.$ac_ext <<_ACEOF
16827 /* confdefs.h. */
16828 _ACEOF
16829 cat confdefs.h >>conftest.$ac_ext
16830 cat >>conftest.$ac_ext <<_ACEOF
16831 /* end confdefs.h. */
16832 $ac_includes_default
16833 int
16834 main ()
16835 {
16836 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
16837 test_array [0] = 0
16838
16839 ;
16840 return 0;
16841 }
16842 _ACEOF
16843 rm -f conftest.$ac_objext
16844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16845 (eval $ac_compile) 2>conftest.er1
16846 ac_status=$?
16847 grep -v '^ *+' conftest.er1 >conftest.err
16848 rm -f conftest.er1
16849 cat conftest.err >&5
16850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16851 (exit $ac_status); } &&
16852 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
16858 { ac_try='test -s conftest.$ac_objext'
16859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16860 (eval $ac_try) 2>&5
16861 ac_status=$?
16862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16863 (exit $ac_status); }; }; then
16864 ac_lo=0 ac_mid=0
16865 while :; do
16866 cat >conftest.$ac_ext <<_ACEOF
16867 /* confdefs.h. */
16868 _ACEOF
16869 cat confdefs.h >>conftest.$ac_ext
16870 cat >>conftest.$ac_ext <<_ACEOF
16871 /* end confdefs.h. */
16872 $ac_includes_default
16873 int
16874 main ()
16875 {
16876 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16877 test_array [0] = 0
16878
16879 ;
16880 return 0;
16881 }
16882 _ACEOF
16883 rm -f conftest.$ac_objext
16884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16885 (eval $ac_compile) 2>conftest.er1
16886 ac_status=$?
16887 grep -v '^ *+' conftest.er1 >conftest.err
16888 rm -f conftest.er1
16889 cat conftest.err >&5
16890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16891 (exit $ac_status); } &&
16892 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16894 (eval $ac_try) 2>&5
16895 ac_status=$?
16896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16897 (exit $ac_status); }; } &&
16898 { ac_try='test -s conftest.$ac_objext'
16899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16900 (eval $ac_try) 2>&5
16901 ac_status=$?
16902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16903 (exit $ac_status); }; }; then
16904 ac_hi=$ac_mid; break
16905 else
16906 echo "$as_me: failed program was:" >&5
16907 sed 's/^/| /' conftest.$ac_ext >&5
16908
16909 ac_lo=`expr $ac_mid + 1`
16910 if test $ac_lo -le $ac_mid; then
16911 ac_lo= ac_hi=
16912 break
16913 fi
16914 ac_mid=`expr 2 '*' $ac_mid + 1`
16915 fi
16916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16917 done
16918 else
16919 echo "$as_me: failed program was:" >&5
16920 sed 's/^/| /' conftest.$ac_ext >&5
16921
16922 cat >conftest.$ac_ext <<_ACEOF
16923 /* confdefs.h. */
16924 _ACEOF
16925 cat confdefs.h >>conftest.$ac_ext
16926 cat >>conftest.$ac_ext <<_ACEOF
16927 /* end confdefs.h. */
16928 $ac_includes_default
16929 int
16930 main ()
16931 {
16932 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
16933 test_array [0] = 0
16934
16935 ;
16936 return 0;
16937 }
16938 _ACEOF
16939 rm -f conftest.$ac_objext
16940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16941 (eval $ac_compile) 2>conftest.er1
16942 ac_status=$?
16943 grep -v '^ *+' conftest.er1 >conftest.err
16944 rm -f conftest.er1
16945 cat conftest.err >&5
16946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16947 (exit $ac_status); } &&
16948 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16950 (eval $ac_try) 2>&5
16951 ac_status=$?
16952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16953 (exit $ac_status); }; } &&
16954 { ac_try='test -s conftest.$ac_objext'
16955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16956 (eval $ac_try) 2>&5
16957 ac_status=$?
16958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16959 (exit $ac_status); }; }; then
16960 ac_hi=-1 ac_mid=-1
16961 while :; do
16962 cat >conftest.$ac_ext <<_ACEOF
16963 /* confdefs.h. */
16964 _ACEOF
16965 cat confdefs.h >>conftest.$ac_ext
16966 cat >>conftest.$ac_ext <<_ACEOF
16967 /* end confdefs.h. */
16968 $ac_includes_default
16969 int
16970 main ()
16971 {
16972 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
16973 test_array [0] = 0
16974
16975 ;
16976 return 0;
16977 }
16978 _ACEOF
16979 rm -f conftest.$ac_objext
16980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16981 (eval $ac_compile) 2>conftest.er1
16982 ac_status=$?
16983 grep -v '^ *+' conftest.er1 >conftest.err
16984 rm -f conftest.er1
16985 cat conftest.err >&5
16986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16987 (exit $ac_status); } &&
16988 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
16994 { ac_try='test -s conftest.$ac_objext'
16995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16996 (eval $ac_try) 2>&5
16997 ac_status=$?
16998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16999 (exit $ac_status); }; }; then
17000 ac_lo=$ac_mid; break
17001 else
17002 echo "$as_me: failed program was:" >&5
17003 sed 's/^/| /' conftest.$ac_ext >&5
17004
17005 ac_hi=`expr '(' $ac_mid ')' - 1`
17006 if test $ac_mid -le $ac_hi; then
17007 ac_lo= ac_hi=
17008 break
17009 fi
17010 ac_mid=`expr 2 '*' $ac_mid`
17011 fi
17012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17013 done
17014 else
17015 echo "$as_me: failed program was:" >&5
17016 sed 's/^/| /' conftest.$ac_ext >&5
17017
17018 ac_lo= ac_hi=
17019 fi
17020 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17021 fi
17022 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17023 # Binary search between lo and hi bounds.
17024 while test "x$ac_lo" != "x$ac_hi"; do
17025 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17026 cat >conftest.$ac_ext <<_ACEOF
17027 /* confdefs.h. */
17028 _ACEOF
17029 cat confdefs.h >>conftest.$ac_ext
17030 cat >>conftest.$ac_ext <<_ACEOF
17031 /* end confdefs.h. */
17032 $ac_includes_default
17033 int
17034 main ()
17035 {
17036 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
17037 test_array [0] = 0
17038
17039 ;
17040 return 0;
17041 }
17042 _ACEOF
17043 rm -f conftest.$ac_objext
17044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17045 (eval $ac_compile) 2>conftest.er1
17046 ac_status=$?
17047 grep -v '^ *+' conftest.er1 >conftest.err
17048 rm -f conftest.er1
17049 cat conftest.err >&5
17050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17051 (exit $ac_status); } &&
17052 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17054 (eval $ac_try) 2>&5
17055 ac_status=$?
17056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17057 (exit $ac_status); }; } &&
17058 { ac_try='test -s conftest.$ac_objext'
17059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17060 (eval $ac_try) 2>&5
17061 ac_status=$?
17062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17063 (exit $ac_status); }; }; then
17064 ac_hi=$ac_mid
17065 else
17066 echo "$as_me: failed program was:" >&5
17067 sed 's/^/| /' conftest.$ac_ext >&5
17068
17069 ac_lo=`expr '(' $ac_mid ')' + 1`
17070 fi
17071 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17072 done
17073 case $ac_lo in
17074 ?*) ac_cv_sizeof_int=$ac_lo;;
17075 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17076 See \`config.log' for more details." >&5
17077 echo "$as_me: error: cannot compute sizeof (int), 77
17078 See \`config.log' for more details." >&2;}
17079 { (exit 1); exit 1; }; } ;;
17080 esac
17081 else
17082 if test "$cross_compiling" = yes; then
17083 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17084 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17085 { (exit 1); exit 1; }; }
17086 else
17087 cat >conftest.$ac_ext <<_ACEOF
17088 /* confdefs.h. */
17089 _ACEOF
17090 cat confdefs.h >>conftest.$ac_ext
17091 cat >>conftest.$ac_ext <<_ACEOF
17092 /* end confdefs.h. */
17093 $ac_includes_default
17094 long longval () { return (long) (sizeof (int)); }
17095 unsigned long ulongval () { return (long) (sizeof (int)); }
17096 #include <stdio.h>
17097 #include <stdlib.h>
17098 int
17099 main ()
17100 {
17101
17102 FILE *f = fopen ("conftest.val", "w");
17103 if (! f)
17104 exit (1);
17105 if (((long) (sizeof (int))) < 0)
17106 {
17107 long i = longval ();
17108 if (i != ((long) (sizeof (int))))
17109 exit (1);
17110 fprintf (f, "%ld\n", i);
17111 }
17112 else
17113 {
17114 unsigned long i = ulongval ();
17115 if (i != ((long) (sizeof (int))))
17116 exit (1);
17117 fprintf (f, "%lu\n", i);
17118 }
17119 exit (ferror (f) || fclose (f) != 0);
17120
17121 ;
17122 return 0;
17123 }
17124 _ACEOF
17125 rm -f conftest$ac_exeext
17126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17127 (eval $ac_link) 2>&5
17128 ac_status=$?
17129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17130 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17132 (eval $ac_try) 2>&5
17133 ac_status=$?
17134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17135 (exit $ac_status); }; }; then
17136 ac_cv_sizeof_int=`cat conftest.val`
17137 else
17138 echo "$as_me: program exited with status $ac_status" >&5
17139 echo "$as_me: failed program was:" >&5
17140 sed 's/^/| /' conftest.$ac_ext >&5
17141
17142 ( exit $ac_status )
17143 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17144 See \`config.log' for more details." >&5
17145 echo "$as_me: error: cannot compute sizeof (int), 77
17146 See \`config.log' for more details." >&2;}
17147 { (exit 1); exit 1; }; }
17148 fi
17149 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17150 fi
17151 fi
17152 rm -f conftest.val
17153 else
17154 ac_cv_sizeof_int=0
17155 fi
17156 fi
17157 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
17158 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
17159 cat >>confdefs.h <<_ACEOF
17160 #define SIZEOF_INT $ac_cv_sizeof_int
17161 _ACEOF
17162
17163
17164 echo "$as_me:$LINENO: checking for long" >&5
17165 echo $ECHO_N "checking for long... $ECHO_C" >&6
17166 if test "${ac_cv_type_long+set}" = set; then
17167 echo $ECHO_N "(cached) $ECHO_C" >&6
17168 else
17169 cat >conftest.$ac_ext <<_ACEOF
17170 /* confdefs.h. */
17171 _ACEOF
17172 cat confdefs.h >>conftest.$ac_ext
17173 cat >>conftest.$ac_ext <<_ACEOF
17174 /* end confdefs.h. */
17175 $ac_includes_default
17176 int
17177 main ()
17178 {
17179 if ((long *) 0)
17180 return 0;
17181 if (sizeof (long))
17182 return 0;
17183 ;
17184 return 0;
17185 }
17186 _ACEOF
17187 rm -f conftest.$ac_objext
17188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17189 (eval $ac_compile) 2>conftest.er1
17190 ac_status=$?
17191 grep -v '^ *+' conftest.er1 >conftest.err
17192 rm -f conftest.er1
17193 cat conftest.err >&5
17194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17195 (exit $ac_status); } &&
17196 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17198 (eval $ac_try) 2>&5
17199 ac_status=$?
17200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17201 (exit $ac_status); }; } &&
17202 { ac_try='test -s conftest.$ac_objext'
17203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17204 (eval $ac_try) 2>&5
17205 ac_status=$?
17206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17207 (exit $ac_status); }; }; then
17208 ac_cv_type_long=yes
17209 else
17210 echo "$as_me: failed program was:" >&5
17211 sed 's/^/| /' conftest.$ac_ext >&5
17212
17213 ac_cv_type_long=no
17214 fi
17215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17216 fi
17217 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
17218 echo "${ECHO_T}$ac_cv_type_long" >&6
17219
17220 echo "$as_me:$LINENO: checking size of long" >&5
17221 echo $ECHO_N "checking size of long... $ECHO_C" >&6
17222 if test "${ac_cv_sizeof_long+set}" = set; then
17223 echo $ECHO_N "(cached) $ECHO_C" >&6
17224 else
17225 if test "$ac_cv_type_long" = yes; then
17226 # The cast to unsigned long works around a bug in the HP C Compiler
17227 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17228 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17229 # This bug is HP SR number 8606223364.
17230 if test "$cross_compiling" = yes; then
17231 # Depending upon the size, compute the lo and hi bounds.
17232 cat >conftest.$ac_ext <<_ACEOF
17233 /* confdefs.h. */
17234 _ACEOF
17235 cat confdefs.h >>conftest.$ac_ext
17236 cat >>conftest.$ac_ext <<_ACEOF
17237 /* end confdefs.h. */
17238 $ac_includes_default
17239 int
17240 main ()
17241 {
17242 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
17243 test_array [0] = 0
17244
17245 ;
17246 return 0;
17247 }
17248 _ACEOF
17249 rm -f conftest.$ac_objext
17250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17251 (eval $ac_compile) 2>conftest.er1
17252 ac_status=$?
17253 grep -v '^ *+' conftest.er1 >conftest.err
17254 rm -f conftest.er1
17255 cat conftest.err >&5
17256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17257 (exit $ac_status); } &&
17258 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
17264 { ac_try='test -s conftest.$ac_objext'
17265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17266 (eval $ac_try) 2>&5
17267 ac_status=$?
17268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17269 (exit $ac_status); }; }; then
17270 ac_lo=0 ac_mid=0
17271 while :; do
17272 cat >conftest.$ac_ext <<_ACEOF
17273 /* confdefs.h. */
17274 _ACEOF
17275 cat confdefs.h >>conftest.$ac_ext
17276 cat >>conftest.$ac_ext <<_ACEOF
17277 /* end confdefs.h. */
17278 $ac_includes_default
17279 int
17280 main ()
17281 {
17282 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17283 test_array [0] = 0
17284
17285 ;
17286 return 0;
17287 }
17288 _ACEOF
17289 rm -f conftest.$ac_objext
17290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17291 (eval $ac_compile) 2>conftest.er1
17292 ac_status=$?
17293 grep -v '^ *+' conftest.er1 >conftest.err
17294 rm -f conftest.er1
17295 cat conftest.err >&5
17296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17297 (exit $ac_status); } &&
17298 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17300 (eval $ac_try) 2>&5
17301 ac_status=$?
17302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17303 (exit $ac_status); }; } &&
17304 { ac_try='test -s conftest.$ac_objext'
17305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17306 (eval $ac_try) 2>&5
17307 ac_status=$?
17308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17309 (exit $ac_status); }; }; then
17310 ac_hi=$ac_mid; break
17311 else
17312 echo "$as_me: failed program was:" >&5
17313 sed 's/^/| /' conftest.$ac_ext >&5
17314
17315 ac_lo=`expr $ac_mid + 1`
17316 if test $ac_lo -le $ac_mid; then
17317 ac_lo= ac_hi=
17318 break
17319 fi
17320 ac_mid=`expr 2 '*' $ac_mid + 1`
17321 fi
17322 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17323 done
17324 else
17325 echo "$as_me: failed program was:" >&5
17326 sed 's/^/| /' conftest.$ac_ext >&5
17327
17328 cat >conftest.$ac_ext <<_ACEOF
17329 /* confdefs.h. */
17330 _ACEOF
17331 cat confdefs.h >>conftest.$ac_ext
17332 cat >>conftest.$ac_ext <<_ACEOF
17333 /* end confdefs.h. */
17334 $ac_includes_default
17335 int
17336 main ()
17337 {
17338 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
17339 test_array [0] = 0
17340
17341 ;
17342 return 0;
17343 }
17344 _ACEOF
17345 rm -f conftest.$ac_objext
17346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17347 (eval $ac_compile) 2>conftest.er1
17348 ac_status=$?
17349 grep -v '^ *+' conftest.er1 >conftest.err
17350 rm -f conftest.er1
17351 cat conftest.err >&5
17352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17353 (exit $ac_status); } &&
17354 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17356 (eval $ac_try) 2>&5
17357 ac_status=$?
17358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17359 (exit $ac_status); }; } &&
17360 { ac_try='test -s conftest.$ac_objext'
17361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17362 (eval $ac_try) 2>&5
17363 ac_status=$?
17364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17365 (exit $ac_status); }; }; then
17366 ac_hi=-1 ac_mid=-1
17367 while :; do
17368 cat >conftest.$ac_ext <<_ACEOF
17369 /* confdefs.h. */
17370 _ACEOF
17371 cat confdefs.h >>conftest.$ac_ext
17372 cat >>conftest.$ac_ext <<_ACEOF
17373 /* end confdefs.h. */
17374 $ac_includes_default
17375 int
17376 main ()
17377 {
17378 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
17379 test_array [0] = 0
17380
17381 ;
17382 return 0;
17383 }
17384 _ACEOF
17385 rm -f conftest.$ac_objext
17386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17387 (eval $ac_compile) 2>conftest.er1
17388 ac_status=$?
17389 grep -v '^ *+' conftest.er1 >conftest.err
17390 rm -f conftest.er1
17391 cat conftest.err >&5
17392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17393 (exit $ac_status); } &&
17394 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
17400 { ac_try='test -s conftest.$ac_objext'
17401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17402 (eval $ac_try) 2>&5
17403 ac_status=$?
17404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17405 (exit $ac_status); }; }; then
17406 ac_lo=$ac_mid; break
17407 else
17408 echo "$as_me: failed program was:" >&5
17409 sed 's/^/| /' conftest.$ac_ext >&5
17410
17411 ac_hi=`expr '(' $ac_mid ')' - 1`
17412 if test $ac_mid -le $ac_hi; then
17413 ac_lo= ac_hi=
17414 break
17415 fi
17416 ac_mid=`expr 2 '*' $ac_mid`
17417 fi
17418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17419 done
17420 else
17421 echo "$as_me: failed program was:" >&5
17422 sed 's/^/| /' conftest.$ac_ext >&5
17423
17424 ac_lo= ac_hi=
17425 fi
17426 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17427 fi
17428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17429 # Binary search between lo and hi bounds.
17430 while test "x$ac_lo" != "x$ac_hi"; do
17431 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17432 cat >conftest.$ac_ext <<_ACEOF
17433 /* confdefs.h. */
17434 _ACEOF
17435 cat confdefs.h >>conftest.$ac_ext
17436 cat >>conftest.$ac_ext <<_ACEOF
17437 /* end confdefs.h. */
17438 $ac_includes_default
17439 int
17440 main ()
17441 {
17442 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17443 test_array [0] = 0
17444
17445 ;
17446 return 0;
17447 }
17448 _ACEOF
17449 rm -f conftest.$ac_objext
17450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17451 (eval $ac_compile) 2>conftest.er1
17452 ac_status=$?
17453 grep -v '^ *+' conftest.er1 >conftest.err
17454 rm -f conftest.er1
17455 cat conftest.err >&5
17456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17457 (exit $ac_status); } &&
17458 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17460 (eval $ac_try) 2>&5
17461 ac_status=$?
17462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17463 (exit $ac_status); }; } &&
17464 { ac_try='test -s conftest.$ac_objext'
17465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17466 (eval $ac_try) 2>&5
17467 ac_status=$?
17468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17469 (exit $ac_status); }; }; then
17470 ac_hi=$ac_mid
17471 else
17472 echo "$as_me: failed program was:" >&5
17473 sed 's/^/| /' conftest.$ac_ext >&5
17474
17475 ac_lo=`expr '(' $ac_mid ')' + 1`
17476 fi
17477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17478 done
17479 case $ac_lo in
17480 ?*) ac_cv_sizeof_long=$ac_lo;;
17481 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17482 See \`config.log' for more details." >&5
17483 echo "$as_me: error: cannot compute sizeof (long), 77
17484 See \`config.log' for more details." >&2;}
17485 { (exit 1); exit 1; }; } ;;
17486 esac
17487 else
17488 if test "$cross_compiling" = yes; then
17489 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17490 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17491 { (exit 1); exit 1; }; }
17492 else
17493 cat >conftest.$ac_ext <<_ACEOF
17494 /* confdefs.h. */
17495 _ACEOF
17496 cat confdefs.h >>conftest.$ac_ext
17497 cat >>conftest.$ac_ext <<_ACEOF
17498 /* end confdefs.h. */
17499 $ac_includes_default
17500 long longval () { return (long) (sizeof (long)); }
17501 unsigned long ulongval () { return (long) (sizeof (long)); }
17502 #include <stdio.h>
17503 #include <stdlib.h>
17504 int
17505 main ()
17506 {
17507
17508 FILE *f = fopen ("conftest.val", "w");
17509 if (! f)
17510 exit (1);
17511 if (((long) (sizeof (long))) < 0)
17512 {
17513 long i = longval ();
17514 if (i != ((long) (sizeof (long))))
17515 exit (1);
17516 fprintf (f, "%ld\n", i);
17517 }
17518 else
17519 {
17520 unsigned long i = ulongval ();
17521 if (i != ((long) (sizeof (long))))
17522 exit (1);
17523 fprintf (f, "%lu\n", i);
17524 }
17525 exit (ferror (f) || fclose (f) != 0);
17526
17527 ;
17528 return 0;
17529 }
17530 _ACEOF
17531 rm -f conftest$ac_exeext
17532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17533 (eval $ac_link) 2>&5
17534 ac_status=$?
17535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17536 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17538 (eval $ac_try) 2>&5
17539 ac_status=$?
17540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17541 (exit $ac_status); }; }; then
17542 ac_cv_sizeof_long=`cat conftest.val`
17543 else
17544 echo "$as_me: program exited with status $ac_status" >&5
17545 echo "$as_me: failed program was:" >&5
17546 sed 's/^/| /' conftest.$ac_ext >&5
17547
17548 ( exit $ac_status )
17549 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17550 See \`config.log' for more details." >&5
17551 echo "$as_me: error: cannot compute sizeof (long), 77
17552 See \`config.log' for more details." >&2;}
17553 { (exit 1); exit 1; }; }
17554 fi
17555 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17556 fi
17557 fi
17558 rm -f conftest.val
17559 else
17560 ac_cv_sizeof_long=0
17561 fi
17562 fi
17563 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
17564 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
17565 cat >>confdefs.h <<_ACEOF
17566 #define SIZEOF_LONG $ac_cv_sizeof_long
17567 _ACEOF
17568
17569
17570 echo "$as_me:$LINENO: checking for size_t" >&5
17571 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
17572 if test "${ac_cv_type_size_t+set}" = set; then
17573 echo $ECHO_N "(cached) $ECHO_C" >&6
17574 else
17575 cat >conftest.$ac_ext <<_ACEOF
17576 /* confdefs.h. */
17577 _ACEOF
17578 cat confdefs.h >>conftest.$ac_ext
17579 cat >>conftest.$ac_ext <<_ACEOF
17580 /* end confdefs.h. */
17581 $ac_includes_default
17582 int
17583 main ()
17584 {
17585 if ((size_t *) 0)
17586 return 0;
17587 if (sizeof (size_t))
17588 return 0;
17589 ;
17590 return 0;
17591 }
17592 _ACEOF
17593 rm -f conftest.$ac_objext
17594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17595 (eval $ac_compile) 2>conftest.er1
17596 ac_status=$?
17597 grep -v '^ *+' conftest.er1 >conftest.err
17598 rm -f conftest.er1
17599 cat conftest.err >&5
17600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17601 (exit $ac_status); } &&
17602 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17604 (eval $ac_try) 2>&5
17605 ac_status=$?
17606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17607 (exit $ac_status); }; } &&
17608 { ac_try='test -s conftest.$ac_objext'
17609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17610 (eval $ac_try) 2>&5
17611 ac_status=$?
17612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17613 (exit $ac_status); }; }; then
17614 ac_cv_type_size_t=yes
17615 else
17616 echo "$as_me: failed program was:" >&5
17617 sed 's/^/| /' conftest.$ac_ext >&5
17618
17619 ac_cv_type_size_t=no
17620 fi
17621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17622 fi
17623 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17624 echo "${ECHO_T}$ac_cv_type_size_t" >&6
17625
17626 echo "$as_me:$LINENO: checking size of size_t" >&5
17627 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
17628 if test "${ac_cv_sizeof_size_t+set}" = set; then
17629 echo $ECHO_N "(cached) $ECHO_C" >&6
17630 else
17631 if test "$ac_cv_type_size_t" = yes; then
17632 # The cast to unsigned long works around a bug in the HP C Compiler
17633 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17634 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17635 # This bug is HP SR number 8606223364.
17636 if test "$cross_compiling" = yes; then
17637 # Depending upon the size, compute the lo and hi bounds.
17638 cat >conftest.$ac_ext <<_ACEOF
17639 /* confdefs.h. */
17640 _ACEOF
17641 cat confdefs.h >>conftest.$ac_ext
17642 cat >>conftest.$ac_ext <<_ACEOF
17643 /* end confdefs.h. */
17644 $ac_includes_default
17645 int
17646 main ()
17647 {
17648 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
17649 test_array [0] = 0
17650
17651 ;
17652 return 0;
17653 }
17654 _ACEOF
17655 rm -f conftest.$ac_objext
17656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17657 (eval $ac_compile) 2>conftest.er1
17658 ac_status=$?
17659 grep -v '^ *+' conftest.er1 >conftest.err
17660 rm -f conftest.er1
17661 cat conftest.err >&5
17662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17663 (exit $ac_status); } &&
17664 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
17670 { ac_try='test -s conftest.$ac_objext'
17671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17672 (eval $ac_try) 2>&5
17673 ac_status=$?
17674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17675 (exit $ac_status); }; }; then
17676 ac_lo=0 ac_mid=0
17677 while :; do
17678 cat >conftest.$ac_ext <<_ACEOF
17679 /* confdefs.h. */
17680 _ACEOF
17681 cat confdefs.h >>conftest.$ac_ext
17682 cat >>conftest.$ac_ext <<_ACEOF
17683 /* end confdefs.h. */
17684 $ac_includes_default
17685 int
17686 main ()
17687 {
17688 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17689 test_array [0] = 0
17690
17691 ;
17692 return 0;
17693 }
17694 _ACEOF
17695 rm -f conftest.$ac_objext
17696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17697 (eval $ac_compile) 2>conftest.er1
17698 ac_status=$?
17699 grep -v '^ *+' conftest.er1 >conftest.err
17700 rm -f conftest.er1
17701 cat conftest.err >&5
17702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17703 (exit $ac_status); } &&
17704 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17706 (eval $ac_try) 2>&5
17707 ac_status=$?
17708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17709 (exit $ac_status); }; } &&
17710 { ac_try='test -s conftest.$ac_objext'
17711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17712 (eval $ac_try) 2>&5
17713 ac_status=$?
17714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17715 (exit $ac_status); }; }; then
17716 ac_hi=$ac_mid; break
17717 else
17718 echo "$as_me: failed program was:" >&5
17719 sed 's/^/| /' conftest.$ac_ext >&5
17720
17721 ac_lo=`expr $ac_mid + 1`
17722 if test $ac_lo -le $ac_mid; then
17723 ac_lo= ac_hi=
17724 break
17725 fi
17726 ac_mid=`expr 2 '*' $ac_mid + 1`
17727 fi
17728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17729 done
17730 else
17731 echo "$as_me: failed program was:" >&5
17732 sed 's/^/| /' conftest.$ac_ext >&5
17733
17734 cat >conftest.$ac_ext <<_ACEOF
17735 /* confdefs.h. */
17736 _ACEOF
17737 cat confdefs.h >>conftest.$ac_ext
17738 cat >>conftest.$ac_ext <<_ACEOF
17739 /* end confdefs.h. */
17740 $ac_includes_default
17741 int
17742 main ()
17743 {
17744 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
17745 test_array [0] = 0
17746
17747 ;
17748 return 0;
17749 }
17750 _ACEOF
17751 rm -f conftest.$ac_objext
17752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17753 (eval $ac_compile) 2>conftest.er1
17754 ac_status=$?
17755 grep -v '^ *+' conftest.er1 >conftest.err
17756 rm -f conftest.er1
17757 cat conftest.err >&5
17758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17759 (exit $ac_status); } &&
17760 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17762 (eval $ac_try) 2>&5
17763 ac_status=$?
17764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17765 (exit $ac_status); }; } &&
17766 { ac_try='test -s conftest.$ac_objext'
17767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17768 (eval $ac_try) 2>&5
17769 ac_status=$?
17770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17771 (exit $ac_status); }; }; then
17772 ac_hi=-1 ac_mid=-1
17773 while :; do
17774 cat >conftest.$ac_ext <<_ACEOF
17775 /* confdefs.h. */
17776 _ACEOF
17777 cat confdefs.h >>conftest.$ac_ext
17778 cat >>conftest.$ac_ext <<_ACEOF
17779 /* end confdefs.h. */
17780 $ac_includes_default
17781 int
17782 main ()
17783 {
17784 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
17785 test_array [0] = 0
17786
17787 ;
17788 return 0;
17789 }
17790 _ACEOF
17791 rm -f conftest.$ac_objext
17792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17793 (eval $ac_compile) 2>conftest.er1
17794 ac_status=$?
17795 grep -v '^ *+' conftest.er1 >conftest.err
17796 rm -f conftest.er1
17797 cat conftest.err >&5
17798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17799 (exit $ac_status); } &&
17800 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
17806 { ac_try='test -s conftest.$ac_objext'
17807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17808 (eval $ac_try) 2>&5
17809 ac_status=$?
17810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17811 (exit $ac_status); }; }; then
17812 ac_lo=$ac_mid; break
17813 else
17814 echo "$as_me: failed program was:" >&5
17815 sed 's/^/| /' conftest.$ac_ext >&5
17816
17817 ac_hi=`expr '(' $ac_mid ')' - 1`
17818 if test $ac_mid -le $ac_hi; then
17819 ac_lo= ac_hi=
17820 break
17821 fi
17822 ac_mid=`expr 2 '*' $ac_mid`
17823 fi
17824 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17825 done
17826 else
17827 echo "$as_me: failed program was:" >&5
17828 sed 's/^/| /' conftest.$ac_ext >&5
17829
17830 ac_lo= ac_hi=
17831 fi
17832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17833 fi
17834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17835 # Binary search between lo and hi bounds.
17836 while test "x$ac_lo" != "x$ac_hi"; do
17837 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17838 cat >conftest.$ac_ext <<_ACEOF
17839 /* confdefs.h. */
17840 _ACEOF
17841 cat confdefs.h >>conftest.$ac_ext
17842 cat >>conftest.$ac_ext <<_ACEOF
17843 /* end confdefs.h. */
17844 $ac_includes_default
17845 int
17846 main ()
17847 {
17848 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17849 test_array [0] = 0
17850
17851 ;
17852 return 0;
17853 }
17854 _ACEOF
17855 rm -f conftest.$ac_objext
17856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17857 (eval $ac_compile) 2>conftest.er1
17858 ac_status=$?
17859 grep -v '^ *+' conftest.er1 >conftest.err
17860 rm -f conftest.er1
17861 cat conftest.err >&5
17862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17863 (exit $ac_status); } &&
17864 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17866 (eval $ac_try) 2>&5
17867 ac_status=$?
17868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17869 (exit $ac_status); }; } &&
17870 { ac_try='test -s conftest.$ac_objext'
17871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17872 (eval $ac_try) 2>&5
17873 ac_status=$?
17874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17875 (exit $ac_status); }; }; then
17876 ac_hi=$ac_mid
17877 else
17878 echo "$as_me: failed program was:" >&5
17879 sed 's/^/| /' conftest.$ac_ext >&5
17880
17881 ac_lo=`expr '(' $ac_mid ')' + 1`
17882 fi
17883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17884 done
17885 case $ac_lo in
17886 ?*) ac_cv_sizeof_size_t=$ac_lo;;
17887 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17888 See \`config.log' for more details." >&5
17889 echo "$as_me: error: cannot compute sizeof (size_t), 77
17890 See \`config.log' for more details." >&2;}
17891 { (exit 1); exit 1; }; } ;;
17892 esac
17893 else
17894 if test "$cross_compiling" = yes; then
17895 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17896 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17897 { (exit 1); exit 1; }; }
17898 else
17899 cat >conftest.$ac_ext <<_ACEOF
17900 /* confdefs.h. */
17901 _ACEOF
17902 cat confdefs.h >>conftest.$ac_ext
17903 cat >>conftest.$ac_ext <<_ACEOF
17904 /* end confdefs.h. */
17905 $ac_includes_default
17906 long longval () { return (long) (sizeof (size_t)); }
17907 unsigned long ulongval () { return (long) (sizeof (size_t)); }
17908 #include <stdio.h>
17909 #include <stdlib.h>
17910 int
17911 main ()
17912 {
17913
17914 FILE *f = fopen ("conftest.val", "w");
17915 if (! f)
17916 exit (1);
17917 if (((long) (sizeof (size_t))) < 0)
17918 {
17919 long i = longval ();
17920 if (i != ((long) (sizeof (size_t))))
17921 exit (1);
17922 fprintf (f, "%ld\n", i);
17923 }
17924 else
17925 {
17926 unsigned long i = ulongval ();
17927 if (i != ((long) (sizeof (size_t))))
17928 exit (1);
17929 fprintf (f, "%lu\n", i);
17930 }
17931 exit (ferror (f) || fclose (f) != 0);
17932
17933 ;
17934 return 0;
17935 }
17936 _ACEOF
17937 rm -f conftest$ac_exeext
17938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17939 (eval $ac_link) 2>&5
17940 ac_status=$?
17941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17942 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17944 (eval $ac_try) 2>&5
17945 ac_status=$?
17946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17947 (exit $ac_status); }; }; then
17948 ac_cv_sizeof_size_t=`cat conftest.val`
17949 else
17950 echo "$as_me: program exited with status $ac_status" >&5
17951 echo "$as_me: failed program was:" >&5
17952 sed 's/^/| /' conftest.$ac_ext >&5
17953
17954 ( exit $ac_status )
17955 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17956 See \`config.log' for more details." >&5
17957 echo "$as_me: error: cannot compute sizeof (size_t), 77
17958 See \`config.log' for more details." >&2;}
17959 { (exit 1); exit 1; }; }
17960 fi
17961 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17962 fi
17963 fi
17964 rm -f conftest.val
17965 else
17966 ac_cv_sizeof_size_t=0
17967 fi
17968 fi
17969 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
17970 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
17971 cat >>confdefs.h <<_ACEOF
17972 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
17973 _ACEOF
17974
17975
17976
17977 case "${host}" in
17978 arm-*-linux* )
17979 echo "$as_me:$LINENO: checking for long long" >&5
17980 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17981 if test "${ac_cv_type_long_long+set}" = set; then
17982 echo $ECHO_N "(cached) $ECHO_C" >&6
17983 else
17984 cat >conftest.$ac_ext <<_ACEOF
17985 /* confdefs.h. */
17986 _ACEOF
17987 cat confdefs.h >>conftest.$ac_ext
17988 cat >>conftest.$ac_ext <<_ACEOF
17989 /* end confdefs.h. */
17990 $ac_includes_default
17991 int
17992 main ()
17993 {
17994 if ((long long *) 0)
17995 return 0;
17996 if (sizeof (long long))
17997 return 0;
17998 ;
17999 return 0;
18000 }
18001 _ACEOF
18002 rm -f conftest.$ac_objext
18003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18004 (eval $ac_compile) 2>conftest.er1
18005 ac_status=$?
18006 grep -v '^ *+' conftest.er1 >conftest.err
18007 rm -f conftest.er1
18008 cat conftest.err >&5
18009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18010 (exit $ac_status); } &&
18011 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18013 (eval $ac_try) 2>&5
18014 ac_status=$?
18015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18016 (exit $ac_status); }; } &&
18017 { ac_try='test -s conftest.$ac_objext'
18018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18019 (eval $ac_try) 2>&5
18020 ac_status=$?
18021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18022 (exit $ac_status); }; }; then
18023 ac_cv_type_long_long=yes
18024 else
18025 echo "$as_me: failed program was:" >&5
18026 sed 's/^/| /' conftest.$ac_ext >&5
18027
18028 ac_cv_type_long_long=no
18029 fi
18030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18031 fi
18032 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18033 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18034
18035 echo "$as_me:$LINENO: checking size of long long" >&5
18036 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18037 if test "${ac_cv_sizeof_long_long+set}" = set; then
18038 echo $ECHO_N "(cached) $ECHO_C" >&6
18039 else
18040 if test "$ac_cv_type_long_long" = yes; then
18041 # The cast to unsigned long works around a bug in the HP C Compiler
18042 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18043 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18044 # This bug is HP SR number 8606223364.
18045 if test "$cross_compiling" = yes; then
18046 # Depending upon the size, compute the lo and hi bounds.
18047 cat >conftest.$ac_ext <<_ACEOF
18048 /* confdefs.h. */
18049 _ACEOF
18050 cat confdefs.h >>conftest.$ac_ext
18051 cat >>conftest.$ac_ext <<_ACEOF
18052 /* end confdefs.h. */
18053 $ac_includes_default
18054 int
18055 main ()
18056 {
18057 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18058 test_array [0] = 0
18059
18060 ;
18061 return 0;
18062 }
18063 _ACEOF
18064 rm -f conftest.$ac_objext
18065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18066 (eval $ac_compile) 2>conftest.er1
18067 ac_status=$?
18068 grep -v '^ *+' conftest.er1 >conftest.err
18069 rm -f conftest.er1
18070 cat conftest.err >&5
18071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18072 (exit $ac_status); } &&
18073 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
18079 { ac_try='test -s conftest.$ac_objext'
18080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18081 (eval $ac_try) 2>&5
18082 ac_status=$?
18083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18084 (exit $ac_status); }; }; then
18085 ac_lo=0 ac_mid=0
18086 while :; do
18087 cat >conftest.$ac_ext <<_ACEOF
18088 /* confdefs.h. */
18089 _ACEOF
18090 cat confdefs.h >>conftest.$ac_ext
18091 cat >>conftest.$ac_ext <<_ACEOF
18092 /* end confdefs.h. */
18093 $ac_includes_default
18094 int
18095 main ()
18096 {
18097 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18098 test_array [0] = 0
18099
18100 ;
18101 return 0;
18102 }
18103 _ACEOF
18104 rm -f conftest.$ac_objext
18105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18106 (eval $ac_compile) 2>conftest.er1
18107 ac_status=$?
18108 grep -v '^ *+' conftest.er1 >conftest.err
18109 rm -f conftest.er1
18110 cat conftest.err >&5
18111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18112 (exit $ac_status); } &&
18113 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18115 (eval $ac_try) 2>&5
18116 ac_status=$?
18117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18118 (exit $ac_status); }; } &&
18119 { ac_try='test -s conftest.$ac_objext'
18120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18121 (eval $ac_try) 2>&5
18122 ac_status=$?
18123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18124 (exit $ac_status); }; }; then
18125 ac_hi=$ac_mid; break
18126 else
18127 echo "$as_me: failed program was:" >&5
18128 sed 's/^/| /' conftest.$ac_ext >&5
18129
18130 ac_lo=`expr $ac_mid + 1`
18131 if test $ac_lo -le $ac_mid; then
18132 ac_lo= ac_hi=
18133 break
18134 fi
18135 ac_mid=`expr 2 '*' $ac_mid + 1`
18136 fi
18137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18138 done
18139 else
18140 echo "$as_me: failed program was:" >&5
18141 sed 's/^/| /' conftest.$ac_ext >&5
18142
18143 cat >conftest.$ac_ext <<_ACEOF
18144 /* confdefs.h. */
18145 _ACEOF
18146 cat confdefs.h >>conftest.$ac_ext
18147 cat >>conftest.$ac_ext <<_ACEOF
18148 /* end confdefs.h. */
18149 $ac_includes_default
18150 int
18151 main ()
18152 {
18153 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18154 test_array [0] = 0
18155
18156 ;
18157 return 0;
18158 }
18159 _ACEOF
18160 rm -f conftest.$ac_objext
18161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18162 (eval $ac_compile) 2>conftest.er1
18163 ac_status=$?
18164 grep -v '^ *+' conftest.er1 >conftest.err
18165 rm -f conftest.er1
18166 cat conftest.err >&5
18167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18168 (exit $ac_status); } &&
18169 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18171 (eval $ac_try) 2>&5
18172 ac_status=$?
18173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18174 (exit $ac_status); }; } &&
18175 { ac_try='test -s conftest.$ac_objext'
18176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18177 (eval $ac_try) 2>&5
18178 ac_status=$?
18179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18180 (exit $ac_status); }; }; then
18181 ac_hi=-1 ac_mid=-1
18182 while :; do
18183 cat >conftest.$ac_ext <<_ACEOF
18184 /* confdefs.h. */
18185 _ACEOF
18186 cat confdefs.h >>conftest.$ac_ext
18187 cat >>conftest.$ac_ext <<_ACEOF
18188 /* end confdefs.h. */
18189 $ac_includes_default
18190 int
18191 main ()
18192 {
18193 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18194 test_array [0] = 0
18195
18196 ;
18197 return 0;
18198 }
18199 _ACEOF
18200 rm -f conftest.$ac_objext
18201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18202 (eval $ac_compile) 2>conftest.er1
18203 ac_status=$?
18204 grep -v '^ *+' conftest.er1 >conftest.err
18205 rm -f conftest.er1
18206 cat conftest.err >&5
18207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18208 (exit $ac_status); } &&
18209 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
18215 { ac_try='test -s conftest.$ac_objext'
18216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18217 (eval $ac_try) 2>&5
18218 ac_status=$?
18219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18220 (exit $ac_status); }; }; then
18221 ac_lo=$ac_mid; break
18222 else
18223 echo "$as_me: failed program was:" >&5
18224 sed 's/^/| /' conftest.$ac_ext >&5
18225
18226 ac_hi=`expr '(' $ac_mid ')' - 1`
18227 if test $ac_mid -le $ac_hi; then
18228 ac_lo= ac_hi=
18229 break
18230 fi
18231 ac_mid=`expr 2 '*' $ac_mid`
18232 fi
18233 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18234 done
18235 else
18236 echo "$as_me: failed program was:" >&5
18237 sed 's/^/| /' conftest.$ac_ext >&5
18238
18239 ac_lo= ac_hi=
18240 fi
18241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18242 fi
18243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18244 # Binary search between lo and hi bounds.
18245 while test "x$ac_lo" != "x$ac_hi"; do
18246 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18247 cat >conftest.$ac_ext <<_ACEOF
18248 /* confdefs.h. */
18249 _ACEOF
18250 cat confdefs.h >>conftest.$ac_ext
18251 cat >>conftest.$ac_ext <<_ACEOF
18252 /* end confdefs.h. */
18253 $ac_includes_default
18254 int
18255 main ()
18256 {
18257 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18258 test_array [0] = 0
18259
18260 ;
18261 return 0;
18262 }
18263 _ACEOF
18264 rm -f conftest.$ac_objext
18265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18266 (eval $ac_compile) 2>conftest.er1
18267 ac_status=$?
18268 grep -v '^ *+' conftest.er1 >conftest.err
18269 rm -f conftest.er1
18270 cat conftest.err >&5
18271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18272 (exit $ac_status); } &&
18273 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18275 (eval $ac_try) 2>&5
18276 ac_status=$?
18277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18278 (exit $ac_status); }; } &&
18279 { ac_try='test -s conftest.$ac_objext'
18280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18281 (eval $ac_try) 2>&5
18282 ac_status=$?
18283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18284 (exit $ac_status); }; }; then
18285 ac_hi=$ac_mid
18286 else
18287 echo "$as_me: failed program was:" >&5
18288 sed 's/^/| /' conftest.$ac_ext >&5
18289
18290 ac_lo=`expr '(' $ac_mid ')' + 1`
18291 fi
18292 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18293 done
18294 case $ac_lo in
18295 ?*) ac_cv_sizeof_long_long=$ac_lo;;
18296 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18297 See \`config.log' for more details." >&5
18298 echo "$as_me: error: cannot compute sizeof (long long), 77
18299 See \`config.log' for more details." >&2;}
18300 { (exit 1); exit 1; }; } ;;
18301 esac
18302 else
18303 if test "$cross_compiling" = yes; then
18304 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18305 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18306 { (exit 1); exit 1; }; }
18307 else
18308 cat >conftest.$ac_ext <<_ACEOF
18309 /* confdefs.h. */
18310 _ACEOF
18311 cat confdefs.h >>conftest.$ac_ext
18312 cat >>conftest.$ac_ext <<_ACEOF
18313 /* end confdefs.h. */
18314 $ac_includes_default
18315 long longval () { return (long) (sizeof (long long)); }
18316 unsigned long ulongval () { return (long) (sizeof (long long)); }
18317 #include <stdio.h>
18318 #include <stdlib.h>
18319 int
18320 main ()
18321 {
18322
18323 FILE *f = fopen ("conftest.val", "w");
18324 if (! f)
18325 exit (1);
18326 if (((long) (sizeof (long long))) < 0)
18327 {
18328 long i = longval ();
18329 if (i != ((long) (sizeof (long long))))
18330 exit (1);
18331 fprintf (f, "%ld\n", i);
18332 }
18333 else
18334 {
18335 unsigned long i = ulongval ();
18336 if (i != ((long) (sizeof (long long))))
18337 exit (1);
18338 fprintf (f, "%lu\n", i);
18339 }
18340 exit (ferror (f) || fclose (f) != 0);
18341
18342 ;
18343 return 0;
18344 }
18345 _ACEOF
18346 rm -f conftest$ac_exeext
18347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18348 (eval $ac_link) 2>&5
18349 ac_status=$?
18350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18351 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18353 (eval $ac_try) 2>&5
18354 ac_status=$?
18355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18356 (exit $ac_status); }; }; then
18357 ac_cv_sizeof_long_long=`cat conftest.val`
18358 else
18359 echo "$as_me: program exited with status $ac_status" >&5
18360 echo "$as_me: failed program was:" >&5
18361 sed 's/^/| /' conftest.$ac_ext >&5
18362
18363 ( exit $ac_status )
18364 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18365 See \`config.log' for more details." >&5
18366 echo "$as_me: error: cannot compute sizeof (long long), 77
18367 See \`config.log' for more details." >&2;}
18368 { (exit 1); exit 1; }; }
18369 fi
18370 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18371 fi
18372 fi
18373 rm -f conftest.val
18374 else
18375 ac_cv_sizeof_long_long=0
18376 fi
18377 fi
18378 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18379 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18380 cat >>confdefs.h <<_ACEOF
18381 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18382 _ACEOF
18383
18384
18385 ;;
18386 *-hp-hpux* )
18387 echo "$as_me:$LINENO: checking for long long" >&5
18388 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18389 if test "${ac_cv_type_long_long+set}" = set; then
18390 echo $ECHO_N "(cached) $ECHO_C" >&6
18391 else
18392 cat >conftest.$ac_ext <<_ACEOF
18393 /* confdefs.h. */
18394 _ACEOF
18395 cat confdefs.h >>conftest.$ac_ext
18396 cat >>conftest.$ac_ext <<_ACEOF
18397 /* end confdefs.h. */
18398 $ac_includes_default
18399 int
18400 main ()
18401 {
18402 if ((long long *) 0)
18403 return 0;
18404 if (sizeof (long long))
18405 return 0;
18406 ;
18407 return 0;
18408 }
18409 _ACEOF
18410 rm -f conftest.$ac_objext
18411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18412 (eval $ac_compile) 2>conftest.er1
18413 ac_status=$?
18414 grep -v '^ *+' conftest.er1 >conftest.err
18415 rm -f conftest.er1
18416 cat conftest.err >&5
18417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18418 (exit $ac_status); } &&
18419 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18421 (eval $ac_try) 2>&5
18422 ac_status=$?
18423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18424 (exit $ac_status); }; } &&
18425 { ac_try='test -s conftest.$ac_objext'
18426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18427 (eval $ac_try) 2>&5
18428 ac_status=$?
18429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18430 (exit $ac_status); }; }; then
18431 ac_cv_type_long_long=yes
18432 else
18433 echo "$as_me: failed program was:" >&5
18434 sed 's/^/| /' conftest.$ac_ext >&5
18435
18436 ac_cv_type_long_long=no
18437 fi
18438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18439 fi
18440 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18441 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18442
18443 echo "$as_me:$LINENO: checking size of long long" >&5
18444 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18445 if test "${ac_cv_sizeof_long_long+set}" = set; then
18446 echo $ECHO_N "(cached) $ECHO_C" >&6
18447 else
18448 if test "$ac_cv_type_long_long" = yes; then
18449 # The cast to unsigned long works around a bug in the HP C Compiler
18450 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18451 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18452 # This bug is HP SR number 8606223364.
18453 if test "$cross_compiling" = yes; then
18454 # Depending upon the size, compute the lo and hi bounds.
18455 cat >conftest.$ac_ext <<_ACEOF
18456 /* confdefs.h. */
18457 _ACEOF
18458 cat confdefs.h >>conftest.$ac_ext
18459 cat >>conftest.$ac_ext <<_ACEOF
18460 /* end confdefs.h. */
18461 $ac_includes_default
18462 int
18463 main ()
18464 {
18465 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18466 test_array [0] = 0
18467
18468 ;
18469 return 0;
18470 }
18471 _ACEOF
18472 rm -f conftest.$ac_objext
18473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18474 (eval $ac_compile) 2>conftest.er1
18475 ac_status=$?
18476 grep -v '^ *+' conftest.er1 >conftest.err
18477 rm -f conftest.er1
18478 cat conftest.err >&5
18479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18480 (exit $ac_status); } &&
18481 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
18487 { ac_try='test -s conftest.$ac_objext'
18488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18489 (eval $ac_try) 2>&5
18490 ac_status=$?
18491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18492 (exit $ac_status); }; }; then
18493 ac_lo=0 ac_mid=0
18494 while :; do
18495 cat >conftest.$ac_ext <<_ACEOF
18496 /* confdefs.h. */
18497 _ACEOF
18498 cat confdefs.h >>conftest.$ac_ext
18499 cat >>conftest.$ac_ext <<_ACEOF
18500 /* end confdefs.h. */
18501 $ac_includes_default
18502 int
18503 main ()
18504 {
18505 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18506 test_array [0] = 0
18507
18508 ;
18509 return 0;
18510 }
18511 _ACEOF
18512 rm -f conftest.$ac_objext
18513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18514 (eval $ac_compile) 2>conftest.er1
18515 ac_status=$?
18516 grep -v '^ *+' conftest.er1 >conftest.err
18517 rm -f conftest.er1
18518 cat conftest.err >&5
18519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18520 (exit $ac_status); } &&
18521 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18523 (eval $ac_try) 2>&5
18524 ac_status=$?
18525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18526 (exit $ac_status); }; } &&
18527 { ac_try='test -s conftest.$ac_objext'
18528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18529 (eval $ac_try) 2>&5
18530 ac_status=$?
18531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18532 (exit $ac_status); }; }; then
18533 ac_hi=$ac_mid; break
18534 else
18535 echo "$as_me: failed program was:" >&5
18536 sed 's/^/| /' conftest.$ac_ext >&5
18537
18538 ac_lo=`expr $ac_mid + 1`
18539 if test $ac_lo -le $ac_mid; then
18540 ac_lo= ac_hi=
18541 break
18542 fi
18543 ac_mid=`expr 2 '*' $ac_mid + 1`
18544 fi
18545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18546 done
18547 else
18548 echo "$as_me: failed program was:" >&5
18549 sed 's/^/| /' conftest.$ac_ext >&5
18550
18551 cat >conftest.$ac_ext <<_ACEOF
18552 /* confdefs.h. */
18553 _ACEOF
18554 cat confdefs.h >>conftest.$ac_ext
18555 cat >>conftest.$ac_ext <<_ACEOF
18556 /* end confdefs.h. */
18557 $ac_includes_default
18558 int
18559 main ()
18560 {
18561 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18562 test_array [0] = 0
18563
18564 ;
18565 return 0;
18566 }
18567 _ACEOF
18568 rm -f conftest.$ac_objext
18569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18570 (eval $ac_compile) 2>conftest.er1
18571 ac_status=$?
18572 grep -v '^ *+' conftest.er1 >conftest.err
18573 rm -f conftest.er1
18574 cat conftest.err >&5
18575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18576 (exit $ac_status); } &&
18577 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18579 (eval $ac_try) 2>&5
18580 ac_status=$?
18581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18582 (exit $ac_status); }; } &&
18583 { ac_try='test -s conftest.$ac_objext'
18584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18585 (eval $ac_try) 2>&5
18586 ac_status=$?
18587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18588 (exit $ac_status); }; }; then
18589 ac_hi=-1 ac_mid=-1
18590 while :; do
18591 cat >conftest.$ac_ext <<_ACEOF
18592 /* confdefs.h. */
18593 _ACEOF
18594 cat confdefs.h >>conftest.$ac_ext
18595 cat >>conftest.$ac_ext <<_ACEOF
18596 /* end confdefs.h. */
18597 $ac_includes_default
18598 int
18599 main ()
18600 {
18601 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18602 test_array [0] = 0
18603
18604 ;
18605 return 0;
18606 }
18607 _ACEOF
18608 rm -f conftest.$ac_objext
18609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18610 (eval $ac_compile) 2>conftest.er1
18611 ac_status=$?
18612 grep -v '^ *+' conftest.er1 >conftest.err
18613 rm -f conftest.er1
18614 cat conftest.err >&5
18615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18616 (exit $ac_status); } &&
18617 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
18623 { ac_try='test -s conftest.$ac_objext'
18624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18625 (eval $ac_try) 2>&5
18626 ac_status=$?
18627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18628 (exit $ac_status); }; }; then
18629 ac_lo=$ac_mid; break
18630 else
18631 echo "$as_me: failed program was:" >&5
18632 sed 's/^/| /' conftest.$ac_ext >&5
18633
18634 ac_hi=`expr '(' $ac_mid ')' - 1`
18635 if test $ac_mid -le $ac_hi; then
18636 ac_lo= ac_hi=
18637 break
18638 fi
18639 ac_mid=`expr 2 '*' $ac_mid`
18640 fi
18641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18642 done
18643 else
18644 echo "$as_me: failed program was:" >&5
18645 sed 's/^/| /' conftest.$ac_ext >&5
18646
18647 ac_lo= ac_hi=
18648 fi
18649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18650 fi
18651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18652 # Binary search between lo and hi bounds.
18653 while test "x$ac_lo" != "x$ac_hi"; do
18654 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18655 cat >conftest.$ac_ext <<_ACEOF
18656 /* confdefs.h. */
18657 _ACEOF
18658 cat confdefs.h >>conftest.$ac_ext
18659 cat >>conftest.$ac_ext <<_ACEOF
18660 /* end confdefs.h. */
18661 $ac_includes_default
18662 int
18663 main ()
18664 {
18665 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18666 test_array [0] = 0
18667
18668 ;
18669 return 0;
18670 }
18671 _ACEOF
18672 rm -f conftest.$ac_objext
18673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18674 (eval $ac_compile) 2>conftest.er1
18675 ac_status=$?
18676 grep -v '^ *+' conftest.er1 >conftest.err
18677 rm -f conftest.er1
18678 cat conftest.err >&5
18679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18680 (exit $ac_status); } &&
18681 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18683 (eval $ac_try) 2>&5
18684 ac_status=$?
18685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18686 (exit $ac_status); }; } &&
18687 { ac_try='test -s conftest.$ac_objext'
18688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18689 (eval $ac_try) 2>&5
18690 ac_status=$?
18691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18692 (exit $ac_status); }; }; then
18693 ac_hi=$ac_mid
18694 else
18695 echo "$as_me: failed program was:" >&5
18696 sed 's/^/| /' conftest.$ac_ext >&5
18697
18698 ac_lo=`expr '(' $ac_mid ')' + 1`
18699 fi
18700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18701 done
18702 case $ac_lo in
18703 ?*) ac_cv_sizeof_long_long=$ac_lo;;
18704 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18705 See \`config.log' for more details." >&5
18706 echo "$as_me: error: cannot compute sizeof (long long), 77
18707 See \`config.log' for more details." >&2;}
18708 { (exit 1); exit 1; }; } ;;
18709 esac
18710 else
18711 if test "$cross_compiling" = yes; then
18712 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18713 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18714 { (exit 1); exit 1; }; }
18715 else
18716 cat >conftest.$ac_ext <<_ACEOF
18717 /* confdefs.h. */
18718 _ACEOF
18719 cat confdefs.h >>conftest.$ac_ext
18720 cat >>conftest.$ac_ext <<_ACEOF
18721 /* end confdefs.h. */
18722 $ac_includes_default
18723 long longval () { return (long) (sizeof (long long)); }
18724 unsigned long ulongval () { return (long) (sizeof (long long)); }
18725 #include <stdio.h>
18726 #include <stdlib.h>
18727 int
18728 main ()
18729 {
18730
18731 FILE *f = fopen ("conftest.val", "w");
18732 if (! f)
18733 exit (1);
18734 if (((long) (sizeof (long long))) < 0)
18735 {
18736 long i = longval ();
18737 if (i != ((long) (sizeof (long long))))
18738 exit (1);
18739 fprintf (f, "%ld\n", i);
18740 }
18741 else
18742 {
18743 unsigned long i = ulongval ();
18744 if (i != ((long) (sizeof (long long))))
18745 exit (1);
18746 fprintf (f, "%lu\n", i);
18747 }
18748 exit (ferror (f) || fclose (f) != 0);
18749
18750 ;
18751 return 0;
18752 }
18753 _ACEOF
18754 rm -f conftest$ac_exeext
18755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18756 (eval $ac_link) 2>&5
18757 ac_status=$?
18758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18759 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18761 (eval $ac_try) 2>&5
18762 ac_status=$?
18763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18764 (exit $ac_status); }; }; then
18765 ac_cv_sizeof_long_long=`cat conftest.val`
18766 else
18767 echo "$as_me: program exited with status $ac_status" >&5
18768 echo "$as_me: failed program was:" >&5
18769 sed 's/^/| /' conftest.$ac_ext >&5
18770
18771 ( exit $ac_status )
18772 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18773 See \`config.log' for more details." >&5
18774 echo "$as_me: error: cannot compute sizeof (long long), 77
18775 See \`config.log' for more details." >&2;}
18776 { (exit 1); exit 1; }; }
18777 fi
18778 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18779 fi
18780 fi
18781 rm -f conftest.val
18782 else
18783 ac_cv_sizeof_long_long=0
18784 fi
18785 fi
18786 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18787 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18788 cat >>confdefs.h <<_ACEOF
18789 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18790 _ACEOF
18791
18792
18793 if test "$ac_cv_sizeof_long_long" != "0"; then
18794 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
18795 fi
18796 ;;
18797 * )
18798 echo "$as_me:$LINENO: checking for long long" >&5
18799 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18800 if test "${ac_cv_type_long_long+set}" = set; then
18801 echo $ECHO_N "(cached) $ECHO_C" >&6
18802 else
18803 cat >conftest.$ac_ext <<_ACEOF
18804 /* confdefs.h. */
18805 _ACEOF
18806 cat confdefs.h >>conftest.$ac_ext
18807 cat >>conftest.$ac_ext <<_ACEOF
18808 /* end confdefs.h. */
18809 $ac_includes_default
18810 int
18811 main ()
18812 {
18813 if ((long long *) 0)
18814 return 0;
18815 if (sizeof (long long))
18816 return 0;
18817 ;
18818 return 0;
18819 }
18820 _ACEOF
18821 rm -f conftest.$ac_objext
18822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18823 (eval $ac_compile) 2>conftest.er1
18824 ac_status=$?
18825 grep -v '^ *+' conftest.er1 >conftest.err
18826 rm -f conftest.er1
18827 cat conftest.err >&5
18828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18829 (exit $ac_status); } &&
18830 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18832 (eval $ac_try) 2>&5
18833 ac_status=$?
18834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18835 (exit $ac_status); }; } &&
18836 { ac_try='test -s conftest.$ac_objext'
18837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18838 (eval $ac_try) 2>&5
18839 ac_status=$?
18840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18841 (exit $ac_status); }; }; then
18842 ac_cv_type_long_long=yes
18843 else
18844 echo "$as_me: failed program was:" >&5
18845 sed 's/^/| /' conftest.$ac_ext >&5
18846
18847 ac_cv_type_long_long=no
18848 fi
18849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18850 fi
18851 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18852 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18853
18854 echo "$as_me:$LINENO: checking size of long long" >&5
18855 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18856 if test "${ac_cv_sizeof_long_long+set}" = set; then
18857 echo $ECHO_N "(cached) $ECHO_C" >&6
18858 else
18859 if test "$ac_cv_type_long_long" = yes; then
18860 # The cast to unsigned long works around a bug in the HP C Compiler
18861 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18862 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18863 # This bug is HP SR number 8606223364.
18864 if test "$cross_compiling" = yes; then
18865 # Depending upon the size, compute the lo and hi bounds.
18866 cat >conftest.$ac_ext <<_ACEOF
18867 /* confdefs.h. */
18868 _ACEOF
18869 cat confdefs.h >>conftest.$ac_ext
18870 cat >>conftest.$ac_ext <<_ACEOF
18871 /* end confdefs.h. */
18872 $ac_includes_default
18873 int
18874 main ()
18875 {
18876 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18877 test_array [0] = 0
18878
18879 ;
18880 return 0;
18881 }
18882 _ACEOF
18883 rm -f conftest.$ac_objext
18884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18885 (eval $ac_compile) 2>conftest.er1
18886 ac_status=$?
18887 grep -v '^ *+' conftest.er1 >conftest.err
18888 rm -f conftest.er1
18889 cat conftest.err >&5
18890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18891 (exit $ac_status); } &&
18892 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
18898 { ac_try='test -s conftest.$ac_objext'
18899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18900 (eval $ac_try) 2>&5
18901 ac_status=$?
18902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18903 (exit $ac_status); }; }; then
18904 ac_lo=0 ac_mid=0
18905 while :; do
18906 cat >conftest.$ac_ext <<_ACEOF
18907 /* confdefs.h. */
18908 _ACEOF
18909 cat confdefs.h >>conftest.$ac_ext
18910 cat >>conftest.$ac_ext <<_ACEOF
18911 /* end confdefs.h. */
18912 $ac_includes_default
18913 int
18914 main ()
18915 {
18916 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18917 test_array [0] = 0
18918
18919 ;
18920 return 0;
18921 }
18922 _ACEOF
18923 rm -f conftest.$ac_objext
18924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18925 (eval $ac_compile) 2>conftest.er1
18926 ac_status=$?
18927 grep -v '^ *+' conftest.er1 >conftest.err
18928 rm -f conftest.er1
18929 cat conftest.err >&5
18930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18931 (exit $ac_status); } &&
18932 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18934 (eval $ac_try) 2>&5
18935 ac_status=$?
18936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18937 (exit $ac_status); }; } &&
18938 { ac_try='test -s conftest.$ac_objext'
18939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18940 (eval $ac_try) 2>&5
18941 ac_status=$?
18942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18943 (exit $ac_status); }; }; then
18944 ac_hi=$ac_mid; break
18945 else
18946 echo "$as_me: failed program was:" >&5
18947 sed 's/^/| /' conftest.$ac_ext >&5
18948
18949 ac_lo=`expr $ac_mid + 1`
18950 if test $ac_lo -le $ac_mid; then
18951 ac_lo= ac_hi=
18952 break
18953 fi
18954 ac_mid=`expr 2 '*' $ac_mid + 1`
18955 fi
18956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18957 done
18958 else
18959 echo "$as_me: failed program was:" >&5
18960 sed 's/^/| /' conftest.$ac_ext >&5
18961
18962 cat >conftest.$ac_ext <<_ACEOF
18963 /* confdefs.h. */
18964 _ACEOF
18965 cat confdefs.h >>conftest.$ac_ext
18966 cat >>conftest.$ac_ext <<_ACEOF
18967 /* end confdefs.h. */
18968 $ac_includes_default
18969 int
18970 main ()
18971 {
18972 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18973 test_array [0] = 0
18974
18975 ;
18976 return 0;
18977 }
18978 _ACEOF
18979 rm -f conftest.$ac_objext
18980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18981 (eval $ac_compile) 2>conftest.er1
18982 ac_status=$?
18983 grep -v '^ *+' conftest.er1 >conftest.err
18984 rm -f conftest.er1
18985 cat conftest.err >&5
18986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18987 (exit $ac_status); } &&
18988 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18990 (eval $ac_try) 2>&5
18991 ac_status=$?
18992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18993 (exit $ac_status); }; } &&
18994 { ac_try='test -s conftest.$ac_objext'
18995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18996 (eval $ac_try) 2>&5
18997 ac_status=$?
18998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18999 (exit $ac_status); }; }; then
19000 ac_hi=-1 ac_mid=-1
19001 while :; do
19002 cat >conftest.$ac_ext <<_ACEOF
19003 /* confdefs.h. */
19004 _ACEOF
19005 cat confdefs.h >>conftest.$ac_ext
19006 cat >>conftest.$ac_ext <<_ACEOF
19007 /* end confdefs.h. */
19008 $ac_includes_default
19009 int
19010 main ()
19011 {
19012 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19013 test_array [0] = 0
19014
19015 ;
19016 return 0;
19017 }
19018 _ACEOF
19019 rm -f conftest.$ac_objext
19020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19021 (eval $ac_compile) 2>conftest.er1
19022 ac_status=$?
19023 grep -v '^ *+' conftest.er1 >conftest.err
19024 rm -f conftest.er1
19025 cat conftest.err >&5
19026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19027 (exit $ac_status); } &&
19028 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
19034 { ac_try='test -s conftest.$ac_objext'
19035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19036 (eval $ac_try) 2>&5
19037 ac_status=$?
19038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19039 (exit $ac_status); }; }; then
19040 ac_lo=$ac_mid; break
19041 else
19042 echo "$as_me: failed program was:" >&5
19043 sed 's/^/| /' conftest.$ac_ext >&5
19044
19045 ac_hi=`expr '(' $ac_mid ')' - 1`
19046 if test $ac_mid -le $ac_hi; then
19047 ac_lo= ac_hi=
19048 break
19049 fi
19050 ac_mid=`expr 2 '*' $ac_mid`
19051 fi
19052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19053 done
19054 else
19055 echo "$as_me: failed program was:" >&5
19056 sed 's/^/| /' conftest.$ac_ext >&5
19057
19058 ac_lo= ac_hi=
19059 fi
19060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19061 fi
19062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19063 # Binary search between lo and hi bounds.
19064 while test "x$ac_lo" != "x$ac_hi"; do
19065 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19066 cat >conftest.$ac_ext <<_ACEOF
19067 /* confdefs.h. */
19068 _ACEOF
19069 cat confdefs.h >>conftest.$ac_ext
19070 cat >>conftest.$ac_ext <<_ACEOF
19071 /* end confdefs.h. */
19072 $ac_includes_default
19073 int
19074 main ()
19075 {
19076 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19077 test_array [0] = 0
19078
19079 ;
19080 return 0;
19081 }
19082 _ACEOF
19083 rm -f conftest.$ac_objext
19084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19085 (eval $ac_compile) 2>conftest.er1
19086 ac_status=$?
19087 grep -v '^ *+' conftest.er1 >conftest.err
19088 rm -f conftest.er1
19089 cat conftest.err >&5
19090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19091 (exit $ac_status); } &&
19092 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19094 (eval $ac_try) 2>&5
19095 ac_status=$?
19096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19097 (exit $ac_status); }; } &&
19098 { ac_try='test -s conftest.$ac_objext'
19099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19100 (eval $ac_try) 2>&5
19101 ac_status=$?
19102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19103 (exit $ac_status); }; }; then
19104 ac_hi=$ac_mid
19105 else
19106 echo "$as_me: failed program was:" >&5
19107 sed 's/^/| /' conftest.$ac_ext >&5
19108
19109 ac_lo=`expr '(' $ac_mid ')' + 1`
19110 fi
19111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19112 done
19113 case $ac_lo in
19114 ?*) ac_cv_sizeof_long_long=$ac_lo;;
19115 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19116 See \`config.log' for more details." >&5
19117 echo "$as_me: error: cannot compute sizeof (long long), 77
19118 See \`config.log' for more details." >&2;}
19119 { (exit 1); exit 1; }; } ;;
19120 esac
19121 else
19122 if test "$cross_compiling" = yes; then
19123 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19124 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19125 { (exit 1); exit 1; }; }
19126 else
19127 cat >conftest.$ac_ext <<_ACEOF
19128 /* confdefs.h. */
19129 _ACEOF
19130 cat confdefs.h >>conftest.$ac_ext
19131 cat >>conftest.$ac_ext <<_ACEOF
19132 /* end confdefs.h. */
19133 $ac_includes_default
19134 long longval () { return (long) (sizeof (long long)); }
19135 unsigned long ulongval () { return (long) (sizeof (long long)); }
19136 #include <stdio.h>
19137 #include <stdlib.h>
19138 int
19139 main ()
19140 {
19141
19142 FILE *f = fopen ("conftest.val", "w");
19143 if (! f)
19144 exit (1);
19145 if (((long) (sizeof (long long))) < 0)
19146 {
19147 long i = longval ();
19148 if (i != ((long) (sizeof (long long))))
19149 exit (1);
19150 fprintf (f, "%ld\n", i);
19151 }
19152 else
19153 {
19154 unsigned long i = ulongval ();
19155 if (i != ((long) (sizeof (long long))))
19156 exit (1);
19157 fprintf (f, "%lu\n", i);
19158 }
19159 exit (ferror (f) || fclose (f) != 0);
19160
19161 ;
19162 return 0;
19163 }
19164 _ACEOF
19165 rm -f conftest$ac_exeext
19166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19167 (eval $ac_link) 2>&5
19168 ac_status=$?
19169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19170 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19172 (eval $ac_try) 2>&5
19173 ac_status=$?
19174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19175 (exit $ac_status); }; }; then
19176 ac_cv_sizeof_long_long=`cat conftest.val`
19177 else
19178 echo "$as_me: program exited with status $ac_status" >&5
19179 echo "$as_me: failed program was:" >&5
19180 sed 's/^/| /' conftest.$ac_ext >&5
19181
19182 ( exit $ac_status )
19183 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19184 See \`config.log' for more details." >&5
19185 echo "$as_me: error: cannot compute sizeof (long long), 77
19186 See \`config.log' for more details." >&2;}
19187 { (exit 1); exit 1; }; }
19188 fi
19189 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19190 fi
19191 fi
19192 rm -f conftest.val
19193 else
19194 ac_cv_sizeof_long_long=0
19195 fi
19196 fi
19197 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19198 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19199 cat >>confdefs.h <<_ACEOF
19200 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19201 _ACEOF
19202
19203
19204 esac
19205
19206 echo "$as_me:$LINENO: checking for wchar_t" >&5
19207 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
19208 if test "${ac_cv_type_wchar_t+set}" = set; then
19209 echo $ECHO_N "(cached) $ECHO_C" >&6
19210 else
19211 cat >conftest.$ac_ext <<_ACEOF
19212 /* confdefs.h. */
19213 _ACEOF
19214 cat confdefs.h >>conftest.$ac_ext
19215 cat >>conftest.$ac_ext <<_ACEOF
19216 /* end confdefs.h. */
19217
19218 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19219 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19220 # error "fake wchar_t"
19221 #endif
19222 #ifdef HAVE_WCHAR_H
19223 # ifdef __CYGWIN__
19224 # include <stddef.h>
19225 # endif
19226 # include <wchar.h>
19227 #endif
19228 #ifdef HAVE_STDLIB_H
19229 # include <stdlib.h>
19230 #endif
19231 #include <stdio.h>
19232
19233
19234
19235 int
19236 main ()
19237 {
19238 if ((wchar_t *) 0)
19239 return 0;
19240 if (sizeof (wchar_t))
19241 return 0;
19242 ;
19243 return 0;
19244 }
19245 _ACEOF
19246 rm -f conftest.$ac_objext
19247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19248 (eval $ac_compile) 2>conftest.er1
19249 ac_status=$?
19250 grep -v '^ *+' conftest.er1 >conftest.err
19251 rm -f conftest.er1
19252 cat conftest.err >&5
19253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19254 (exit $ac_status); } &&
19255 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
19261 { ac_try='test -s conftest.$ac_objext'
19262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19263 (eval $ac_try) 2>&5
19264 ac_status=$?
19265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19266 (exit $ac_status); }; }; then
19267 ac_cv_type_wchar_t=yes
19268 else
19269 echo "$as_me: failed program was:" >&5
19270 sed 's/^/| /' conftest.$ac_ext >&5
19271
19272 ac_cv_type_wchar_t=no
19273 fi
19274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19275 fi
19276 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
19277 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
19278
19279 echo "$as_me:$LINENO: checking size of wchar_t" >&5
19280 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
19281 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
19282 echo $ECHO_N "(cached) $ECHO_C" >&6
19283 else
19284 if test "$ac_cv_type_wchar_t" = yes; then
19285 # The cast to unsigned long works around a bug in the HP C Compiler
19286 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19287 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19288 # This bug is HP SR number 8606223364.
19289 if test "$cross_compiling" = yes; then
19290 # Depending upon the size, compute the lo and hi bounds.
19291 cat >conftest.$ac_ext <<_ACEOF
19292 /* confdefs.h. */
19293 _ACEOF
19294 cat confdefs.h >>conftest.$ac_ext
19295 cat >>conftest.$ac_ext <<_ACEOF
19296 /* end confdefs.h. */
19297
19298 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19299 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19300 # error "fake wchar_t"
19301 #endif
19302 #ifdef HAVE_WCHAR_H
19303 # ifdef __CYGWIN__
19304 # include <stddef.h>
19305 # endif
19306 # include <wchar.h>
19307 #endif
19308 #ifdef HAVE_STDLIB_H
19309 # include <stdlib.h>
19310 #endif
19311 #include <stdio.h>
19312
19313
19314
19315 int
19316 main ()
19317 {
19318 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
19319 test_array [0] = 0
19320
19321 ;
19322 return 0;
19323 }
19324 _ACEOF
19325 rm -f conftest.$ac_objext
19326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19327 (eval $ac_compile) 2>conftest.er1
19328 ac_status=$?
19329 grep -v '^ *+' conftest.er1 >conftest.err
19330 rm -f conftest.er1
19331 cat conftest.err >&5
19332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19333 (exit $ac_status); } &&
19334 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19336 (eval $ac_try) 2>&5
19337 ac_status=$?
19338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19339 (exit $ac_status); }; } &&
19340 { ac_try='test -s conftest.$ac_objext'
19341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19342 (eval $ac_try) 2>&5
19343 ac_status=$?
19344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19345 (exit $ac_status); }; }; then
19346 ac_lo=0 ac_mid=0
19347 while :; do
19348 cat >conftest.$ac_ext <<_ACEOF
19349 /* confdefs.h. */
19350 _ACEOF
19351 cat confdefs.h >>conftest.$ac_ext
19352 cat >>conftest.$ac_ext <<_ACEOF
19353 /* end confdefs.h. */
19354
19355 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19356 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19357 # error "fake wchar_t"
19358 #endif
19359 #ifdef HAVE_WCHAR_H
19360 # ifdef __CYGWIN__
19361 # include <stddef.h>
19362 # endif
19363 # include <wchar.h>
19364 #endif
19365 #ifdef HAVE_STDLIB_H
19366 # include <stdlib.h>
19367 #endif
19368 #include <stdio.h>
19369
19370
19371
19372 int
19373 main ()
19374 {
19375 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19376 test_array [0] = 0
19377
19378 ;
19379 return 0;
19380 }
19381 _ACEOF
19382 rm -f conftest.$ac_objext
19383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19384 (eval $ac_compile) 2>conftest.er1
19385 ac_status=$?
19386 grep -v '^ *+' conftest.er1 >conftest.err
19387 rm -f conftest.er1
19388 cat conftest.err >&5
19389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19390 (exit $ac_status); } &&
19391 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19393 (eval $ac_try) 2>&5
19394 ac_status=$?
19395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19396 (exit $ac_status); }; } &&
19397 { ac_try='test -s conftest.$ac_objext'
19398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19399 (eval $ac_try) 2>&5
19400 ac_status=$?
19401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19402 (exit $ac_status); }; }; then
19403 ac_hi=$ac_mid; break
19404 else
19405 echo "$as_me: failed program was:" >&5
19406 sed 's/^/| /' conftest.$ac_ext >&5
19407
19408 ac_lo=`expr $ac_mid + 1`
19409 if test $ac_lo -le $ac_mid; then
19410 ac_lo= ac_hi=
19411 break
19412 fi
19413 ac_mid=`expr 2 '*' $ac_mid + 1`
19414 fi
19415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19416 done
19417 else
19418 echo "$as_me: failed program was:" >&5
19419 sed 's/^/| /' conftest.$ac_ext >&5
19420
19421 cat >conftest.$ac_ext <<_ACEOF
19422 /* confdefs.h. */
19423 _ACEOF
19424 cat confdefs.h >>conftest.$ac_ext
19425 cat >>conftest.$ac_ext <<_ACEOF
19426 /* end confdefs.h. */
19427
19428 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19429 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19430 # error "fake wchar_t"
19431 #endif
19432 #ifdef HAVE_WCHAR_H
19433 # ifdef __CYGWIN__
19434 # include <stddef.h>
19435 # endif
19436 # include <wchar.h>
19437 #endif
19438 #ifdef HAVE_STDLIB_H
19439 # include <stdlib.h>
19440 #endif
19441 #include <stdio.h>
19442
19443
19444
19445 int
19446 main ()
19447 {
19448 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
19449 test_array [0] = 0
19450
19451 ;
19452 return 0;
19453 }
19454 _ACEOF
19455 rm -f conftest.$ac_objext
19456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19457 (eval $ac_compile) 2>conftest.er1
19458 ac_status=$?
19459 grep -v '^ *+' conftest.er1 >conftest.err
19460 rm -f conftest.er1
19461 cat conftest.err >&5
19462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19463 (exit $ac_status); } &&
19464 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19466 (eval $ac_try) 2>&5
19467 ac_status=$?
19468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19469 (exit $ac_status); }; } &&
19470 { ac_try='test -s conftest.$ac_objext'
19471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19472 (eval $ac_try) 2>&5
19473 ac_status=$?
19474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19475 (exit $ac_status); }; }; then
19476 ac_hi=-1 ac_mid=-1
19477 while :; do
19478 cat >conftest.$ac_ext <<_ACEOF
19479 /* confdefs.h. */
19480 _ACEOF
19481 cat confdefs.h >>conftest.$ac_ext
19482 cat >>conftest.$ac_ext <<_ACEOF
19483 /* end confdefs.h. */
19484
19485 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19486 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19487 # error "fake wchar_t"
19488 #endif
19489 #ifdef HAVE_WCHAR_H
19490 # ifdef __CYGWIN__
19491 # include <stddef.h>
19492 # endif
19493 # include <wchar.h>
19494 #endif
19495 #ifdef HAVE_STDLIB_H
19496 # include <stdlib.h>
19497 #endif
19498 #include <stdio.h>
19499
19500
19501
19502 int
19503 main ()
19504 {
19505 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
19506 test_array [0] = 0
19507
19508 ;
19509 return 0;
19510 }
19511 _ACEOF
19512 rm -f conftest.$ac_objext
19513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19514 (eval $ac_compile) 2>conftest.er1
19515 ac_status=$?
19516 grep -v '^ *+' conftest.er1 >conftest.err
19517 rm -f conftest.er1
19518 cat conftest.err >&5
19519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19520 (exit $ac_status); } &&
19521 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19523 (eval $ac_try) 2>&5
19524 ac_status=$?
19525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19526 (exit $ac_status); }; } &&
19527 { ac_try='test -s conftest.$ac_objext'
19528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19529 (eval $ac_try) 2>&5
19530 ac_status=$?
19531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19532 (exit $ac_status); }; }; then
19533 ac_lo=$ac_mid; break
19534 else
19535 echo "$as_me: failed program was:" >&5
19536 sed 's/^/| /' conftest.$ac_ext >&5
19537
19538 ac_hi=`expr '(' $ac_mid ')' - 1`
19539 if test $ac_mid -le $ac_hi; then
19540 ac_lo= ac_hi=
19541 break
19542 fi
19543 ac_mid=`expr 2 '*' $ac_mid`
19544 fi
19545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19546 done
19547 else
19548 echo "$as_me: failed program was:" >&5
19549 sed 's/^/| /' conftest.$ac_ext >&5
19550
19551 ac_lo= ac_hi=
19552 fi
19553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19554 fi
19555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19556 # Binary search between lo and hi bounds.
19557 while test "x$ac_lo" != "x$ac_hi"; do
19558 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19559 cat >conftest.$ac_ext <<_ACEOF
19560 /* confdefs.h. */
19561 _ACEOF
19562 cat confdefs.h >>conftest.$ac_ext
19563 cat >>conftest.$ac_ext <<_ACEOF
19564 /* end confdefs.h. */
19565
19566 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19567 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19568 # error "fake wchar_t"
19569 #endif
19570 #ifdef HAVE_WCHAR_H
19571 # ifdef __CYGWIN__
19572 # include <stddef.h>
19573 # endif
19574 # include <wchar.h>
19575 #endif
19576 #ifdef HAVE_STDLIB_H
19577 # include <stdlib.h>
19578 #endif
19579 #include <stdio.h>
19580
19581
19582
19583 int
19584 main ()
19585 {
19586 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19587 test_array [0] = 0
19588
19589 ;
19590 return 0;
19591 }
19592 _ACEOF
19593 rm -f conftest.$ac_objext
19594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19595 (eval $ac_compile) 2>conftest.er1
19596 ac_status=$?
19597 grep -v '^ *+' conftest.er1 >conftest.err
19598 rm -f conftest.er1
19599 cat conftest.err >&5
19600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19601 (exit $ac_status); } &&
19602 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19604 (eval $ac_try) 2>&5
19605 ac_status=$?
19606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19607 (exit $ac_status); }; } &&
19608 { ac_try='test -s conftest.$ac_objext'
19609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19610 (eval $ac_try) 2>&5
19611 ac_status=$?
19612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19613 (exit $ac_status); }; }; then
19614 ac_hi=$ac_mid
19615 else
19616 echo "$as_me: failed program was:" >&5
19617 sed 's/^/| /' conftest.$ac_ext >&5
19618
19619 ac_lo=`expr '(' $ac_mid ')' + 1`
19620 fi
19621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19622 done
19623 case $ac_lo in
19624 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
19625 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19626 See \`config.log' for more details." >&5
19627 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19628 See \`config.log' for more details." >&2;}
19629 { (exit 1); exit 1; }; } ;;
19630 esac
19631 else
19632 if test "$cross_compiling" = yes; then
19633 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19634 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19635 { (exit 1); exit 1; }; }
19636 else
19637 cat >conftest.$ac_ext <<_ACEOF
19638 /* confdefs.h. */
19639 _ACEOF
19640 cat confdefs.h >>conftest.$ac_ext
19641 cat >>conftest.$ac_ext <<_ACEOF
19642 /* end confdefs.h. */
19643
19644 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19645 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19646 # error "fake wchar_t"
19647 #endif
19648 #ifdef HAVE_WCHAR_H
19649 # ifdef __CYGWIN__
19650 # include <stddef.h>
19651 # endif
19652 # include <wchar.h>
19653 #endif
19654 #ifdef HAVE_STDLIB_H
19655 # include <stdlib.h>
19656 #endif
19657 #include <stdio.h>
19658
19659
19660
19661 long longval () { return (long) (sizeof (wchar_t)); }
19662 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
19663 #include <stdio.h>
19664 #include <stdlib.h>
19665 int
19666 main ()
19667 {
19668
19669 FILE *f = fopen ("conftest.val", "w");
19670 if (! f)
19671 exit (1);
19672 if (((long) (sizeof (wchar_t))) < 0)
19673 {
19674 long i = longval ();
19675 if (i != ((long) (sizeof (wchar_t))))
19676 exit (1);
19677 fprintf (f, "%ld\n", i);
19678 }
19679 else
19680 {
19681 unsigned long i = ulongval ();
19682 if (i != ((long) (sizeof (wchar_t))))
19683 exit (1);
19684 fprintf (f, "%lu\n", i);
19685 }
19686 exit (ferror (f) || fclose (f) != 0);
19687
19688 ;
19689 return 0;
19690 }
19691 _ACEOF
19692 rm -f conftest$ac_exeext
19693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19694 (eval $ac_link) 2>&5
19695 ac_status=$?
19696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19697 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19699 (eval $ac_try) 2>&5
19700 ac_status=$?
19701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19702 (exit $ac_status); }; }; then
19703 ac_cv_sizeof_wchar_t=`cat conftest.val`
19704 else
19705 echo "$as_me: program exited with status $ac_status" >&5
19706 echo "$as_me: failed program was:" >&5
19707 sed 's/^/| /' conftest.$ac_ext >&5
19708
19709 ( exit $ac_status )
19710 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19711 See \`config.log' for more details." >&5
19712 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19713 See \`config.log' for more details." >&2;}
19714 { (exit 1); exit 1; }; }
19715 fi
19716 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19717 fi
19718 fi
19719 rm -f conftest.val
19720 else
19721 ac_cv_sizeof_wchar_t=0
19722 fi
19723 fi
19724 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
19725 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
19726 cat >>confdefs.h <<_ACEOF
19727 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
19728 _ACEOF
19729
19730
19731 if test "$ac_cv_sizeof_wchar_t" != "0"; then
19732 wxUSE_WCHAR_T=yes
19733 else
19734 wxUSE_WCHAR_T=no
19735 fi
19736
19737 echo "$as_me:$LINENO: checking for va_copy" >&5
19738 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
19739 if test "${wx_cv_func_va_copy+set}" = set; then
19740 echo $ECHO_N "(cached) $ECHO_C" >&6
19741 else
19742
19743 cat >conftest.$ac_ext <<_ACEOF
19744
19745 #include <stdarg.h>
19746 void foo(char *f, ...)
19747 {
19748 va_list ap1, ap2;
19749 va_start(ap1, f);
19750 va_copy(ap2, ap1);
19751 va_end(ap2);
19752 va_end(ap1);
19753 }
19754 int main()
19755 {
19756 foo("hi", 17);
19757 return 0;
19758 }
19759 _ACEOF
19760 rm -f conftest.$ac_objext conftest$ac_exeext
19761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19762 (eval $ac_link) 2>conftest.er1
19763 ac_status=$?
19764 grep -v '^ *+' conftest.er1 >conftest.err
19765 rm -f conftest.er1
19766 cat conftest.err >&5
19767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19768 (exit $ac_status); } &&
19769 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
19775 { ac_try='test -s conftest$ac_exeext'
19776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19777 (eval $ac_try) 2>&5
19778 ac_status=$?
19779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19780 (exit $ac_status); }; }; then
19781 wx_cv_func_va_copy=yes
19782 else
19783 echo "$as_me: failed program was:" >&5
19784 sed 's/^/| /' conftest.$ac_ext >&5
19785
19786 wx_cv_func_va_copy=no
19787
19788 fi
19789 rm -f conftest.err conftest.$ac_objext \
19790 conftest$ac_exeext conftest.$ac_ext
19791
19792
19793 fi
19794 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
19795 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
19796
19797 if test $wx_cv_func_va_copy = "yes"; then
19798 cat >>confdefs.h <<\_ACEOF
19799 #define HAVE_VA_COPY 1
19800 _ACEOF
19801
19802 else
19803 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
19804 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
19805 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
19806 echo $ECHO_N "(cached) $ECHO_C" >&6
19807 else
19808
19809 if test "$cross_compiling" = yes; then
19810 wx_cv_type_va_list_lvalue=yes
19811
19812 else
19813 cat >conftest.$ac_ext <<_ACEOF
19814
19815 #include <stdarg.h>
19816 int foo(char *f, ...)
19817 {
19818 va_list ap1, ap2;
19819 va_start(ap1, f);
19820 ap2 = ap1;
19821 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
19822 return 1;
19823 va_end(ap2);
19824 va_end(ap1);
19825 return 0;
19826 }
19827 int main()
19828 {
19829 return foo("hi", 17);
19830 }
19831 _ACEOF
19832 rm -f conftest$ac_exeext
19833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19834 (eval $ac_link) 2>&5
19835 ac_status=$?
19836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19837 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19839 (eval $ac_try) 2>&5
19840 ac_status=$?
19841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19842 (exit $ac_status); }; }; then
19843 wx_cv_type_va_list_lvalue=yes
19844 else
19845 echo "$as_me: program exited with status $ac_status" >&5
19846 echo "$as_me: failed program was:" >&5
19847 sed 's/^/| /' conftest.$ac_ext >&5
19848
19849 ( exit $ac_status )
19850 wx_cv_type_va_list_lvalue=no
19851 fi
19852 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19853 fi
19854
19855
19856 fi
19857 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
19858 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
19859
19860 if test $wx_cv_type_va_list_lvalue != "yes"; then
19861 cat >>confdefs.h <<\_ACEOF
19862 #define VA_LIST_IS_ARRAY 1
19863 _ACEOF
19864
19865 fi
19866 fi
19867
19868 # Check whether --enable-largefile or --disable-largefile was given.
19869 if test "${enable_largefile+set}" = set; then
19870 enableval="$enable_largefile"
19871
19872 fi;
19873 if test "$enable_largefile" != no; then
19874 wx_largefile=no
19875
19876 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
19877 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
19878 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
19879 echo $ECHO_N "(cached) $ECHO_C" >&6
19880 else
19881
19882 cat >conftest.$ac_ext <<_ACEOF
19883 /* confdefs.h. */
19884 _ACEOF
19885 cat confdefs.h >>conftest.$ac_ext
19886 cat >>conftest.$ac_ext <<_ACEOF
19887 /* end confdefs.h. */
19888 #define _FILE_OFFSET_BITS 64
19889 #include <sys/types.h>
19890 int
19891 main ()
19892 {
19893 typedef struct {
19894 unsigned int field: sizeof(off_t) == 8;
19895 } wxlf;
19896
19897 ;
19898 return 0;
19899 }
19900 _ACEOF
19901 rm -f conftest.$ac_objext
19902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19903 (eval $ac_compile) 2>conftest.er1
19904 ac_status=$?
19905 grep -v '^ *+' conftest.er1 >conftest.err
19906 rm -f conftest.er1
19907 cat conftest.err >&5
19908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19909 (exit $ac_status); } &&
19910 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19912 (eval $ac_try) 2>&5
19913 ac_status=$?
19914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19915 (exit $ac_status); }; } &&
19916 { ac_try='test -s conftest.$ac_objext'
19917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19918 (eval $ac_try) 2>&5
19919 ac_status=$?
19920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19921 (exit $ac_status); }; }; then
19922 ac_cv_sys_file_offset_bits=64
19923 else
19924 echo "$as_me: failed program was:" >&5
19925 sed 's/^/| /' conftest.$ac_ext >&5
19926
19927 ac_cv_sys_file_offset_bits=no
19928 fi
19929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19930
19931
19932 fi
19933 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
19934 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
19935
19936 if test "$ac_cv_sys_file_offset_bits" != no; then
19937 wx_largefile=yes
19938 cat >>confdefs.h <<_ACEOF
19939 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
19940 _ACEOF
19941
19942 fi
19943
19944 if test "x$wx_largefile" != "xyes"; then
19945
19946 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
19947 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
19948 if test "${ac_cv_sys_large_files+set}" = set; then
19949 echo $ECHO_N "(cached) $ECHO_C" >&6
19950 else
19951
19952 cat >conftest.$ac_ext <<_ACEOF
19953 /* confdefs.h. */
19954 _ACEOF
19955 cat confdefs.h >>conftest.$ac_ext
19956 cat >>conftest.$ac_ext <<_ACEOF
19957 /* end confdefs.h. */
19958 #define _LARGE_FILES 1
19959 #include <sys/types.h>
19960 int
19961 main ()
19962 {
19963 typedef struct {
19964 unsigned int field: sizeof(off_t) == 8;
19965 } wxlf;
19966
19967 ;
19968 return 0;
19969 }
19970 _ACEOF
19971 rm -f conftest.$ac_objext
19972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19973 (eval $ac_compile) 2>conftest.er1
19974 ac_status=$?
19975 grep -v '^ *+' conftest.er1 >conftest.err
19976 rm -f conftest.er1
19977 cat conftest.err >&5
19978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19979 (exit $ac_status); } &&
19980 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19982 (eval $ac_try) 2>&5
19983 ac_status=$?
19984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19985 (exit $ac_status); }; } &&
19986 { ac_try='test -s conftest.$ac_objext'
19987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19988 (eval $ac_try) 2>&5
19989 ac_status=$?
19990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19991 (exit $ac_status); }; }; then
19992 ac_cv_sys_large_files=1
19993 else
19994 echo "$as_me: failed program was:" >&5
19995 sed 's/^/| /' conftest.$ac_ext >&5
19996
19997 ac_cv_sys_large_files=no
19998 fi
19999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20000
20001
20002 fi
20003 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
20004 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
20005
20006 if test "$ac_cv_sys_large_files" != no; then
20007 wx_largefile=yes
20008 cat >>confdefs.h <<_ACEOF
20009 #define _LARGE_FILES $ac_cv_sys_large_files
20010 _ACEOF
20011
20012 fi
20013
20014 fi
20015
20016 echo "$as_me:$LINENO: checking if large file support is available" >&5
20017 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
20018 if test "x$wx_largefile" = "xyes"; then
20019 cat >>confdefs.h <<\_ACEOF
20020 #define HAVE_LARGEFILE_SUPPORT 1
20021 _ACEOF
20022
20023 fi
20024 echo "$as_me:$LINENO: result: $wx_largefile" >&5
20025 echo "${ECHO_T}$wx_largefile" >&6
20026 fi
20027
20028
20029 if test "x$wx_largefile" = "xyes"; then
20030 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
20031 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
20032 else
20033 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
20034 fi
20035 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20036 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
20037 if test "${ac_cv_sys_largefile_source+set}" = set; then
20038 echo $ECHO_N "(cached) $ECHO_C" >&6
20039 else
20040 while :; do
20041 ac_cv_sys_largefile_source=no
20042 cat >conftest.$ac_ext <<_ACEOF
20043 /* confdefs.h. */
20044 _ACEOF
20045 cat confdefs.h >>conftest.$ac_ext
20046 cat >>conftest.$ac_ext <<_ACEOF
20047 /* end confdefs.h. */
20048 #include <stdio.h>
20049 int
20050 main ()
20051 {
20052 return !fseeko;
20053 ;
20054 return 0;
20055 }
20056 _ACEOF
20057 rm -f conftest.$ac_objext
20058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20059 (eval $ac_compile) 2>conftest.er1
20060 ac_status=$?
20061 grep -v '^ *+' conftest.er1 >conftest.err
20062 rm -f conftest.er1
20063 cat conftest.err >&5
20064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20065 (exit $ac_status); } &&
20066 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20068 (eval $ac_try) 2>&5
20069 ac_status=$?
20070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20071 (exit $ac_status); }; } &&
20072 { ac_try='test -s conftest.$ac_objext'
20073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20074 (eval $ac_try) 2>&5
20075 ac_status=$?
20076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20077 (exit $ac_status); }; }; then
20078 break
20079 else
20080 echo "$as_me: failed program was:" >&5
20081 sed 's/^/| /' conftest.$ac_ext >&5
20082
20083 fi
20084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20085 cat >conftest.$ac_ext <<_ACEOF
20086 /* confdefs.h. */
20087 _ACEOF
20088 cat confdefs.h >>conftest.$ac_ext
20089 cat >>conftest.$ac_ext <<_ACEOF
20090 /* end confdefs.h. */
20091 #define _LARGEFILE_SOURCE 1
20092 #include <stdio.h>
20093 int
20094 main ()
20095 {
20096 return !fseeko;
20097 ;
20098 return 0;
20099 }
20100 _ACEOF
20101 rm -f conftest.$ac_objext
20102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20103 (eval $ac_compile) 2>conftest.er1
20104 ac_status=$?
20105 grep -v '^ *+' conftest.er1 >conftest.err
20106 rm -f conftest.er1
20107 cat conftest.err >&5
20108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20109 (exit $ac_status); } &&
20110 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20112 (eval $ac_try) 2>&5
20113 ac_status=$?
20114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20115 (exit $ac_status); }; } &&
20116 { ac_try='test -s conftest.$ac_objext'
20117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20118 (eval $ac_try) 2>&5
20119 ac_status=$?
20120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20121 (exit $ac_status); }; }; then
20122 ac_cv_sys_largefile_source=1; break
20123 else
20124 echo "$as_me: failed program was:" >&5
20125 sed 's/^/| /' conftest.$ac_ext >&5
20126
20127 fi
20128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20129 break
20130 done
20131 fi
20132 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
20133 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
20134 if test "$ac_cv_sys_largefile_source" != no; then
20135
20136 cat >>confdefs.h <<_ACEOF
20137 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
20138 _ACEOF
20139
20140 fi
20141 rm -f conftest*
20142
20143 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
20144 # in glibc 2.1.3, but that breaks too many other things.
20145 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
20146 echo "$as_me:$LINENO: checking for fseeko" >&5
20147 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
20148 if test "${ac_cv_func_fseeko+set}" = set; then
20149 echo $ECHO_N "(cached) $ECHO_C" >&6
20150 else
20151 cat >conftest.$ac_ext <<_ACEOF
20152 /* confdefs.h. */
20153 _ACEOF
20154 cat confdefs.h >>conftest.$ac_ext
20155 cat >>conftest.$ac_ext <<_ACEOF
20156 /* end confdefs.h. */
20157 #include <stdio.h>
20158 int
20159 main ()
20160 {
20161 return fseeko && fseeko (stdin, 0, 0);
20162 ;
20163 return 0;
20164 }
20165 _ACEOF
20166 rm -f conftest.$ac_objext conftest$ac_exeext
20167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20168 (eval $ac_link) 2>conftest.er1
20169 ac_status=$?
20170 grep -v '^ *+' conftest.er1 >conftest.err
20171 rm -f conftest.er1
20172 cat conftest.err >&5
20173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20174 (exit $ac_status); } &&
20175 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20177 (eval $ac_try) 2>&5
20178 ac_status=$?
20179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20180 (exit $ac_status); }; } &&
20181 { ac_try='test -s conftest$ac_exeext'
20182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20183 (eval $ac_try) 2>&5
20184 ac_status=$?
20185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20186 (exit $ac_status); }; }; then
20187 ac_cv_func_fseeko=yes
20188 else
20189 echo "$as_me: failed program was:" >&5
20190 sed 's/^/| /' conftest.$ac_ext >&5
20191
20192 ac_cv_func_fseeko=no
20193 fi
20194 rm -f conftest.err conftest.$ac_objext \
20195 conftest$ac_exeext conftest.$ac_ext
20196 fi
20197 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
20198 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
20199 if test $ac_cv_func_fseeko = yes; then
20200
20201 cat >>confdefs.h <<\_ACEOF
20202 #define HAVE_FSEEKO 1
20203 _ACEOF
20204
20205 fi
20206
20207 if test "$ac_cv_sys_largefile_source" != no; then
20208 WX_LARGEFILE_FLAGS="$WX_LARGEFILE_FLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
20209 fi
20210 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
20211 fi
20212
20213 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20214 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20215 if test "${ac_cv_c_bigendian+set}" = set; then
20216 echo $ECHO_N "(cached) $ECHO_C" >&6
20217 else
20218 ac_cv_c_bigendian=unknown
20219 # See if sys/param.h defines the BYTE_ORDER macro.
20220 cat >conftest.$ac_ext <<_ACEOF
20221 /* confdefs.h. */
20222 _ACEOF
20223 cat confdefs.h >>conftest.$ac_ext
20224 cat >>conftest.$ac_ext <<_ACEOF
20225 /* end confdefs.h. */
20226 #include <sys/types.h>
20227 #include <sys/param.h>
20228 int
20229 main ()
20230 {
20231
20232 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20233 bogus endian macros
20234 #endif
20235 ;
20236 return 0;
20237 }
20238 _ACEOF
20239 rm -f conftest.$ac_objext
20240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20241 (eval $ac_compile) 2>conftest.er1
20242 ac_status=$?
20243 grep -v '^ *+' conftest.er1 >conftest.err
20244 rm -f conftest.er1
20245 cat conftest.err >&5
20246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20247 (exit $ac_status); } &&
20248 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20250 (eval $ac_try) 2>&5
20251 ac_status=$?
20252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20253 (exit $ac_status); }; } &&
20254 { ac_try='test -s conftest.$ac_objext'
20255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20256 (eval $ac_try) 2>&5
20257 ac_status=$?
20258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20259 (exit $ac_status); }; }; then
20260 # It does; now see whether it defined to BIG_ENDIAN or not.
20261 cat >conftest.$ac_ext <<_ACEOF
20262 /* confdefs.h. */
20263 _ACEOF
20264 cat confdefs.h >>conftest.$ac_ext
20265 cat >>conftest.$ac_ext <<_ACEOF
20266 /* end confdefs.h. */
20267 #include <sys/types.h>
20268 #include <sys/param.h>
20269 int
20270 main ()
20271 {
20272
20273 #if BYTE_ORDER != BIG_ENDIAN
20274 not big endian
20275 #endif
20276 ;
20277 return 0;
20278 }
20279 _ACEOF
20280 rm -f conftest.$ac_objext
20281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20282 (eval $ac_compile) 2>conftest.er1
20283 ac_status=$?
20284 grep -v '^ *+' conftest.er1 >conftest.err
20285 rm -f conftest.er1
20286 cat conftest.err >&5
20287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20288 (exit $ac_status); } &&
20289 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20291 (eval $ac_try) 2>&5
20292 ac_status=$?
20293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20294 (exit $ac_status); }; } &&
20295 { ac_try='test -s conftest.$ac_objext'
20296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20297 (eval $ac_try) 2>&5
20298 ac_status=$?
20299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20300 (exit $ac_status); }; }; then
20301 ac_cv_c_bigendian=yes
20302 else
20303 echo "$as_me: failed program was:" >&5
20304 sed 's/^/| /' conftest.$ac_ext >&5
20305
20306 ac_cv_c_bigendian=no
20307 fi
20308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20309 else
20310 echo "$as_me: failed program was:" >&5
20311 sed 's/^/| /' conftest.$ac_ext >&5
20312
20313 fi
20314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20315 if test $ac_cv_c_bigendian = unknown; then
20316 if test "$cross_compiling" = yes; then
20317 ac_cv_c_bigendian=unknown
20318 else
20319 cat >conftest.$ac_ext <<_ACEOF
20320 /* confdefs.h. */
20321 _ACEOF
20322 cat confdefs.h >>conftest.$ac_ext
20323 cat >>conftest.$ac_ext <<_ACEOF
20324 /* end confdefs.h. */
20325 main () {
20326 /* Are we little or big endian? From Harbison&Steele. */
20327 union
20328 {
20329 long l;
20330 char c[sizeof (long)];
20331 } u;
20332 u.l = 1;
20333 exit (u.c[sizeof (long) - 1] == 1);
20334 }
20335 _ACEOF
20336 rm -f conftest$ac_exeext
20337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20338 (eval $ac_link) 2>&5
20339 ac_status=$?
20340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20341 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20343 (eval $ac_try) 2>&5
20344 ac_status=$?
20345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20346 (exit $ac_status); }; }; then
20347 ac_cv_c_bigendian=no
20348 else
20349 echo "$as_me: program exited with status $ac_status" >&5
20350 echo "$as_me: failed program was:" >&5
20351 sed 's/^/| /' conftest.$ac_ext >&5
20352
20353 ( exit $ac_status )
20354 ac_cv_c_bigendian=yes
20355 fi
20356 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20357 fi
20358 fi
20359 fi
20360 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20361 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20362 if test $ac_cv_c_bigendian = unknown; then
20363 { 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
20364 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;}
20365 fi
20366 if test $ac_cv_c_bigendian = yes; then
20367 cat >>confdefs.h <<\_ACEOF
20368 #define WORDS_BIGENDIAN 1
20369 _ACEOF
20370
20371 fi
20372
20373
20374 ac_ext=cc
20375 ac_cpp='$CXXCPP $CPPFLAGS'
20376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20379 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
20380 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
20381 if test -z "$CXXCPP"; then
20382 if test "${ac_cv_prog_CXXCPP+set}" = set; then
20383 echo $ECHO_N "(cached) $ECHO_C" >&6
20384 else
20385 # Double quotes because CXXCPP needs to be expanded
20386 for CXXCPP in "$CXX -E" "/lib/cpp"
20387 do
20388 ac_preproc_ok=false
20389 for ac_cxx_preproc_warn_flag in '' yes
20390 do
20391 # Use a header file that comes with gcc, so configuring glibc
20392 # with a fresh cross-compiler works.
20393 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20394 # <limits.h> exists even on freestanding compilers.
20395 # On the NeXT, cc -E runs the code through the compiler's parser,
20396 # not just through cpp. "Syntax error" is here to catch this case.
20397 cat >conftest.$ac_ext <<_ACEOF
20398 /* confdefs.h. */
20399 _ACEOF
20400 cat confdefs.h >>conftest.$ac_ext
20401 cat >>conftest.$ac_ext <<_ACEOF
20402 /* end confdefs.h. */
20403 #ifdef __STDC__
20404 # include <limits.h>
20405 #else
20406 # include <assert.h>
20407 #endif
20408 Syntax error
20409 _ACEOF
20410 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20411 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20412 ac_status=$?
20413 grep -v '^ *+' conftest.er1 >conftest.err
20414 rm -f conftest.er1
20415 cat conftest.err >&5
20416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20417 (exit $ac_status); } >/dev/null; then
20418 if test -s conftest.err; then
20419 ac_cpp_err=$ac_cxx_preproc_warn_flag
20420 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20421 else
20422 ac_cpp_err=
20423 fi
20424 else
20425 ac_cpp_err=yes
20426 fi
20427 if test -z "$ac_cpp_err"; then
20428 :
20429 else
20430 echo "$as_me: failed program was:" >&5
20431 sed 's/^/| /' conftest.$ac_ext >&5
20432
20433 # Broken: fails on valid input.
20434 continue
20435 fi
20436 rm -f conftest.err conftest.$ac_ext
20437
20438 # OK, works on sane cases. Now check whether non-existent headers
20439 # can be detected and how.
20440 cat >conftest.$ac_ext <<_ACEOF
20441 /* confdefs.h. */
20442 _ACEOF
20443 cat confdefs.h >>conftest.$ac_ext
20444 cat >>conftest.$ac_ext <<_ACEOF
20445 /* end confdefs.h. */
20446 #include <ac_nonexistent.h>
20447 _ACEOF
20448 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20449 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20450 ac_status=$?
20451 grep -v '^ *+' conftest.er1 >conftest.err
20452 rm -f conftest.er1
20453 cat conftest.err >&5
20454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20455 (exit $ac_status); } >/dev/null; then
20456 if test -s conftest.err; then
20457 ac_cpp_err=$ac_cxx_preproc_warn_flag
20458 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20459 else
20460 ac_cpp_err=
20461 fi
20462 else
20463 ac_cpp_err=yes
20464 fi
20465 if test -z "$ac_cpp_err"; then
20466 # Broken: success on invalid input.
20467 continue
20468 else
20469 echo "$as_me: failed program was:" >&5
20470 sed 's/^/| /' conftest.$ac_ext >&5
20471
20472 # Passes both tests.
20473 ac_preproc_ok=:
20474 break
20475 fi
20476 rm -f conftest.err conftest.$ac_ext
20477
20478 done
20479 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20480 rm -f conftest.err conftest.$ac_ext
20481 if $ac_preproc_ok; then
20482 break
20483 fi
20484
20485 done
20486 ac_cv_prog_CXXCPP=$CXXCPP
20487
20488 fi
20489 CXXCPP=$ac_cv_prog_CXXCPP
20490 else
20491 ac_cv_prog_CXXCPP=$CXXCPP
20492 fi
20493 echo "$as_me:$LINENO: result: $CXXCPP" >&5
20494 echo "${ECHO_T}$CXXCPP" >&6
20495 ac_preproc_ok=false
20496 for ac_cxx_preproc_warn_flag in '' yes
20497 do
20498 # Use a header file that comes with gcc, so configuring glibc
20499 # with a fresh cross-compiler works.
20500 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20501 # <limits.h> exists even on freestanding compilers.
20502 # On the NeXT, cc -E runs the code through the compiler's parser,
20503 # not just through cpp. "Syntax error" is here to catch this case.
20504 cat >conftest.$ac_ext <<_ACEOF
20505 /* confdefs.h. */
20506 _ACEOF
20507 cat confdefs.h >>conftest.$ac_ext
20508 cat >>conftest.$ac_ext <<_ACEOF
20509 /* end confdefs.h. */
20510 #ifdef __STDC__
20511 # include <limits.h>
20512 #else
20513 # include <assert.h>
20514 #endif
20515 Syntax error
20516 _ACEOF
20517 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20518 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20519 ac_status=$?
20520 grep -v '^ *+' conftest.er1 >conftest.err
20521 rm -f conftest.er1
20522 cat conftest.err >&5
20523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20524 (exit $ac_status); } >/dev/null; then
20525 if test -s conftest.err; then
20526 ac_cpp_err=$ac_cxx_preproc_warn_flag
20527 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20528 else
20529 ac_cpp_err=
20530 fi
20531 else
20532 ac_cpp_err=yes
20533 fi
20534 if test -z "$ac_cpp_err"; then
20535 :
20536 else
20537 echo "$as_me: failed program was:" >&5
20538 sed 's/^/| /' conftest.$ac_ext >&5
20539
20540 # Broken: fails on valid input.
20541 continue
20542 fi
20543 rm -f conftest.err conftest.$ac_ext
20544
20545 # OK, works on sane cases. Now check whether non-existent headers
20546 # can be detected and how.
20547 cat >conftest.$ac_ext <<_ACEOF
20548 /* confdefs.h. */
20549 _ACEOF
20550 cat confdefs.h >>conftest.$ac_ext
20551 cat >>conftest.$ac_ext <<_ACEOF
20552 /* end confdefs.h. */
20553 #include <ac_nonexistent.h>
20554 _ACEOF
20555 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20556 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20557 ac_status=$?
20558 grep -v '^ *+' conftest.er1 >conftest.err
20559 rm -f conftest.er1
20560 cat conftest.err >&5
20561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20562 (exit $ac_status); } >/dev/null; then
20563 if test -s conftest.err; then
20564 ac_cpp_err=$ac_cxx_preproc_warn_flag
20565 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20566 else
20567 ac_cpp_err=
20568 fi
20569 else
20570 ac_cpp_err=yes
20571 fi
20572 if test -z "$ac_cpp_err"; then
20573 # Broken: success on invalid input.
20574 continue
20575 else
20576 echo "$as_me: failed program was:" >&5
20577 sed 's/^/| /' conftest.$ac_ext >&5
20578
20579 # Passes both tests.
20580 ac_preproc_ok=:
20581 break
20582 fi
20583 rm -f conftest.err conftest.$ac_ext
20584
20585 done
20586 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20587 rm -f conftest.err conftest.$ac_ext
20588 if $ac_preproc_ok; then
20589 :
20590 else
20591 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20592 See \`config.log' for more details." >&5
20593 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20594 See \`config.log' for more details." >&2;}
20595 { (exit 1); exit 1; }; }
20596 fi
20597
20598 ac_ext=cc
20599 ac_cpp='$CXXCPP $CPPFLAGS'
20600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20603
20604
20605
20606
20607
20608 ac_ext=cc
20609 ac_cpp='$CXXCPP $CPPFLAGS'
20610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20613
20614
20615
20616 for ac_header in iostream
20617 do
20618 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20619 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20620 echo "$as_me:$LINENO: checking for $ac_header" >&5
20621 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20622 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20623 echo $ECHO_N "(cached) $ECHO_C" >&6
20624 fi
20625 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20626 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20627 else
20628 # Is the header compilable?
20629 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20630 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20631 cat >conftest.$ac_ext <<_ACEOF
20632 /* confdefs.h. */
20633 _ACEOF
20634 cat confdefs.h >>conftest.$ac_ext
20635 cat >>conftest.$ac_ext <<_ACEOF
20636 /* end confdefs.h. */
20637 $ac_includes_default
20638 #include <$ac_header>
20639 _ACEOF
20640 rm -f conftest.$ac_objext
20641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20642 (eval $ac_compile) 2>conftest.er1
20643 ac_status=$?
20644 grep -v '^ *+' conftest.er1 >conftest.err
20645 rm -f conftest.er1
20646 cat conftest.err >&5
20647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20648 (exit $ac_status); } &&
20649 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20651 (eval $ac_try) 2>&5
20652 ac_status=$?
20653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20654 (exit $ac_status); }; } &&
20655 { ac_try='test -s conftest.$ac_objext'
20656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20657 (eval $ac_try) 2>&5
20658 ac_status=$?
20659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20660 (exit $ac_status); }; }; then
20661 ac_header_compiler=yes
20662 else
20663 echo "$as_me: failed program was:" >&5
20664 sed 's/^/| /' conftest.$ac_ext >&5
20665
20666 ac_header_compiler=no
20667 fi
20668 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20669 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20670 echo "${ECHO_T}$ac_header_compiler" >&6
20671
20672 # Is the header present?
20673 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20674 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20675 cat >conftest.$ac_ext <<_ACEOF
20676 /* confdefs.h. */
20677 _ACEOF
20678 cat confdefs.h >>conftest.$ac_ext
20679 cat >>conftest.$ac_ext <<_ACEOF
20680 /* end confdefs.h. */
20681 #include <$ac_header>
20682 _ACEOF
20683 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20684 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20685 ac_status=$?
20686 grep -v '^ *+' conftest.er1 >conftest.err
20687 rm -f conftest.er1
20688 cat conftest.err >&5
20689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20690 (exit $ac_status); } >/dev/null; then
20691 if test -s conftest.err; then
20692 ac_cpp_err=$ac_cxx_preproc_warn_flag
20693 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20694 else
20695 ac_cpp_err=
20696 fi
20697 else
20698 ac_cpp_err=yes
20699 fi
20700 if test -z "$ac_cpp_err"; then
20701 ac_header_preproc=yes
20702 else
20703 echo "$as_me: failed program was:" >&5
20704 sed 's/^/| /' conftest.$ac_ext >&5
20705
20706 ac_header_preproc=no
20707 fi
20708 rm -f conftest.err conftest.$ac_ext
20709 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20710 echo "${ECHO_T}$ac_header_preproc" >&6
20711
20712 # So? What about this header?
20713 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20714 yes:no: )
20715 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20716 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20717 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20718 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20719 ac_header_preproc=yes
20720 ;;
20721 no:yes:* )
20722 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20723 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20724 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20725 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20726 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20727 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20728 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20729 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20730 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20731 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20732 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20733 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20734 (
20735 cat <<\_ASBOX
20736 ## ----------------------------------------- ##
20737 ## Report this to wx-dev@lists.wxwidgets.org ##
20738 ## ----------------------------------------- ##
20739 _ASBOX
20740 ) |
20741 sed "s/^/$as_me: WARNING: /" >&2
20742 ;;
20743 esac
20744 echo "$as_me:$LINENO: checking for $ac_header" >&5
20745 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20746 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20747 echo $ECHO_N "(cached) $ECHO_C" >&6
20748 else
20749 eval "$as_ac_Header=\$ac_header_preproc"
20750 fi
20751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20752 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20753
20754 fi
20755 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20756 cat >>confdefs.h <<_ACEOF
20757 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20758 _ACEOF
20759
20760 fi
20761
20762 done
20763
20764
20765 if test "$ac_cv_header_iostream" = "yes" ; then
20766 :
20767 else
20768 cat >>confdefs.h <<\_ACEOF
20769 #define wxUSE_IOSTREAMH 1
20770 _ACEOF
20771
20772 fi
20773
20774 ac_ext=c
20775 ac_cpp='$CPP $CPPFLAGS'
20776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20779
20780
20781
20782
20783 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
20784 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
20785 if test "${wx_cv_cpp_bool+set}" = set; then
20786 echo $ECHO_N "(cached) $ECHO_C" >&6
20787 else
20788
20789
20790
20791 ac_ext=cc
20792 ac_cpp='$CXXCPP $CPPFLAGS'
20793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20796
20797
20798 cat >conftest.$ac_ext <<_ACEOF
20799 /* confdefs.h. */
20800 _ACEOF
20801 cat confdefs.h >>conftest.$ac_ext
20802 cat >>conftest.$ac_ext <<_ACEOF
20803 /* end confdefs.h. */
20804
20805
20806 int
20807 main ()
20808 {
20809
20810 bool b = true;
20811
20812 return 0;
20813
20814 ;
20815 return 0;
20816 }
20817 _ACEOF
20818 rm -f conftest.$ac_objext
20819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20820 (eval $ac_compile) 2>conftest.er1
20821 ac_status=$?
20822 grep -v '^ *+' conftest.er1 >conftest.err
20823 rm -f conftest.er1
20824 cat conftest.err >&5
20825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20826 (exit $ac_status); } &&
20827 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20829 (eval $ac_try) 2>&5
20830 ac_status=$?
20831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20832 (exit $ac_status); }; } &&
20833 { ac_try='test -s conftest.$ac_objext'
20834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20835 (eval $ac_try) 2>&5
20836 ac_status=$?
20837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20838 (exit $ac_status); }; }; then
20839
20840 wx_cv_cpp_bool=yes
20841
20842 else
20843 echo "$as_me: failed program was:" >&5
20844 sed 's/^/| /' conftest.$ac_ext >&5
20845
20846
20847 wx_cv_cpp_bool=no
20848
20849
20850 fi
20851 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20852
20853 ac_ext=c
20854 ac_cpp='$CPP $CPPFLAGS'
20855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20858
20859
20860 fi
20861 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
20862 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
20863
20864 if test "$wx_cv_cpp_bool" = "yes"; then
20865 cat >>confdefs.h <<\_ACEOF
20866 #define HAVE_BOOL 1
20867 _ACEOF
20868
20869 fi
20870
20871
20872
20873 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
20874 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
20875 if test "${wx_cv_explicit+set}" = set; then
20876 echo $ECHO_N "(cached) $ECHO_C" >&6
20877 else
20878
20879
20880
20881 ac_ext=cc
20882 ac_cpp='$CXXCPP $CPPFLAGS'
20883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20886
20887
20888 cat >conftest.$ac_ext <<_ACEOF
20889 /* confdefs.h. */
20890 _ACEOF
20891 cat confdefs.h >>conftest.$ac_ext
20892 cat >>conftest.$ac_ext <<_ACEOF
20893 /* end confdefs.h. */
20894
20895 class Foo { public: explicit Foo(int) {} };
20896
20897 int
20898 main ()
20899 {
20900
20901 return 0;
20902
20903 ;
20904 return 0;
20905 }
20906 _ACEOF
20907 rm -f conftest.$ac_objext
20908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20909 (eval $ac_compile) 2>conftest.er1
20910 ac_status=$?
20911 grep -v '^ *+' conftest.er1 >conftest.err
20912 rm -f conftest.er1
20913 cat conftest.err >&5
20914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20915 (exit $ac_status); } &&
20916 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20918 (eval $ac_try) 2>&5
20919 ac_status=$?
20920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20921 (exit $ac_status); }; } &&
20922 { ac_try='test -s conftest.$ac_objext'
20923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20924 (eval $ac_try) 2>&5
20925 ac_status=$?
20926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20927 (exit $ac_status); }; }; then
20928
20929 cat >conftest.$ac_ext <<_ACEOF
20930 /* confdefs.h. */
20931 _ACEOF
20932 cat confdefs.h >>conftest.$ac_ext
20933 cat >>conftest.$ac_ext <<_ACEOF
20934 /* end confdefs.h. */
20935
20936 class Foo { public: explicit Foo(int) {} };
20937 static void TakeFoo(const Foo& foo) { }
20938
20939 int
20940 main ()
20941 {
20942
20943 TakeFoo(17);
20944 return 0;
20945
20946 ;
20947 return 0;
20948 }
20949 _ACEOF
20950 rm -f conftest.$ac_objext
20951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20952 (eval $ac_compile) 2>conftest.er1
20953 ac_status=$?
20954 grep -v '^ *+' conftest.er1 >conftest.err
20955 rm -f conftest.er1
20956 cat conftest.err >&5
20957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20958 (exit $ac_status); } &&
20959 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20961 (eval $ac_try) 2>&5
20962 ac_status=$?
20963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20964 (exit $ac_status); }; } &&
20965 { ac_try='test -s conftest.$ac_objext'
20966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20967 (eval $ac_try) 2>&5
20968 ac_status=$?
20969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20970 (exit $ac_status); }; }; then
20971 wx_cv_explicit=no
20972 else
20973 echo "$as_me: failed program was:" >&5
20974 sed 's/^/| /' conftest.$ac_ext >&5
20975
20976 wx_cv_explicit=yes
20977
20978 fi
20979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20980
20981 else
20982 echo "$as_me: failed program was:" >&5
20983 sed 's/^/| /' conftest.$ac_ext >&5
20984
20985 wx_cv_explicit=no
20986
20987 fi
20988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20989
20990 ac_ext=c
20991 ac_cpp='$CPP $CPPFLAGS'
20992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20995
20996
20997 fi
20998 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
20999 echo "${ECHO_T}$wx_cv_explicit" >&6
21000
21001 if test "$wx_cv_explicit" = "yes"; then
21002 cat >>confdefs.h <<\_ACEOF
21003 #define HAVE_EXPLICIT 1
21004 _ACEOF
21005
21006 fi
21007
21008
21009 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
21010 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
21011 if test "${ac_cv_cxx_const_cast+set}" = set; then
21012 echo $ECHO_N "(cached) $ECHO_C" >&6
21013 else
21014
21015
21016 ac_ext=cc
21017 ac_cpp='$CXXCPP $CPPFLAGS'
21018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21021
21022 cat >conftest.$ac_ext <<_ACEOF
21023 /* confdefs.h. */
21024 _ACEOF
21025 cat confdefs.h >>conftest.$ac_ext
21026 cat >>conftest.$ac_ext <<_ACEOF
21027 /* end confdefs.h. */
21028
21029 int
21030 main ()
21031 {
21032 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
21033 ;
21034 return 0;
21035 }
21036 _ACEOF
21037 rm -f conftest.$ac_objext
21038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21039 (eval $ac_compile) 2>conftest.er1
21040 ac_status=$?
21041 grep -v '^ *+' conftest.er1 >conftest.err
21042 rm -f conftest.er1
21043 cat conftest.err >&5
21044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21045 (exit $ac_status); } &&
21046 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21048 (eval $ac_try) 2>&5
21049 ac_status=$?
21050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21051 (exit $ac_status); }; } &&
21052 { ac_try='test -s conftest.$ac_objext'
21053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21054 (eval $ac_try) 2>&5
21055 ac_status=$?
21056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21057 (exit $ac_status); }; }; then
21058 ac_cv_cxx_const_cast=yes
21059 else
21060 echo "$as_me: failed program was:" >&5
21061 sed 's/^/| /' conftest.$ac_ext >&5
21062
21063 ac_cv_cxx_const_cast=no
21064 fi
21065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21066 ac_ext=c
21067 ac_cpp='$CPP $CPPFLAGS'
21068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21071
21072
21073 fi
21074 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
21075 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
21076 if test "$ac_cv_cxx_const_cast" = yes; then
21077
21078 cat >>confdefs.h <<\_ACEOF
21079 #define HAVE_CONST_CAST
21080 _ACEOF
21081
21082 fi
21083
21084 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
21085 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
21086 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
21087 echo $ECHO_N "(cached) $ECHO_C" >&6
21088 else
21089
21090
21091 ac_ext=cc
21092 ac_cpp='$CXXCPP $CPPFLAGS'
21093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21096
21097 cat >conftest.$ac_ext <<_ACEOF
21098 /* confdefs.h. */
21099 _ACEOF
21100 cat confdefs.h >>conftest.$ac_ext
21101 cat >>conftest.$ac_ext <<_ACEOF
21102 /* end confdefs.h. */
21103 #include <typeinfo>
21104 class Base { public : Base () {} virtual void f () = 0;};
21105 class Derived : public Base { public : Derived () {} virtual void f () {} };
21106 class Unrelated { public : Unrelated () {} };
21107 int g (Unrelated&) { return 0; }
21108 int
21109 main ()
21110 {
21111
21112 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
21113 ;
21114 return 0;
21115 }
21116 _ACEOF
21117 rm -f conftest.$ac_objext
21118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21119 (eval $ac_compile) 2>conftest.er1
21120 ac_status=$?
21121 grep -v '^ *+' conftest.er1 >conftest.err
21122 rm -f conftest.er1
21123 cat conftest.err >&5
21124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21125 (exit $ac_status); } &&
21126 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21128 (eval $ac_try) 2>&5
21129 ac_status=$?
21130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21131 (exit $ac_status); }; } &&
21132 { ac_try='test -s conftest.$ac_objext'
21133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21134 (eval $ac_try) 2>&5
21135 ac_status=$?
21136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21137 (exit $ac_status); }; }; then
21138 ac_cv_cxx_reinterpret_cast=yes
21139 else
21140 echo "$as_me: failed program was:" >&5
21141 sed 's/^/| /' conftest.$ac_ext >&5
21142
21143 ac_cv_cxx_reinterpret_cast=no
21144 fi
21145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21146 ac_ext=c
21147 ac_cpp='$CPP $CPPFLAGS'
21148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21151
21152
21153 fi
21154 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
21155 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
21156 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
21157
21158 cat >>confdefs.h <<\_ACEOF
21159 #define HAVE_REINTERPRET_CAST
21160 _ACEOF
21161
21162 fi
21163
21164 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
21165 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
21166 if test "${ac_cv_cxx_static_cast+set}" = set; then
21167 echo $ECHO_N "(cached) $ECHO_C" >&6
21168 else
21169
21170
21171 ac_ext=cc
21172 ac_cpp='$CXXCPP $CPPFLAGS'
21173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21176
21177 cat >conftest.$ac_ext <<_ACEOF
21178 /* confdefs.h. */
21179 _ACEOF
21180 cat confdefs.h >>conftest.$ac_ext
21181 cat >>conftest.$ac_ext <<_ACEOF
21182 /* end confdefs.h. */
21183 #include <typeinfo>
21184 class Base { public : Base () {} virtual void f () = 0; };
21185 class Derived : public Base { public : Derived () {} virtual void f () {} };
21186 int g (Derived&) { return 0; }
21187 int
21188 main ()
21189 {
21190
21191 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
21192 ;
21193 return 0;
21194 }
21195 _ACEOF
21196 rm -f conftest.$ac_objext
21197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21198 (eval $ac_compile) 2>conftest.er1
21199 ac_status=$?
21200 grep -v '^ *+' conftest.er1 >conftest.err
21201 rm -f conftest.er1
21202 cat conftest.err >&5
21203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21204 (exit $ac_status); } &&
21205 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21207 (eval $ac_try) 2>&5
21208 ac_status=$?
21209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21210 (exit $ac_status); }; } &&
21211 { ac_try='test -s conftest.$ac_objext'
21212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21213 (eval $ac_try) 2>&5
21214 ac_status=$?
21215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21216 (exit $ac_status); }; }; then
21217 ac_cv_cxx_static_cast=yes
21218 else
21219 echo "$as_me: failed program was:" >&5
21220 sed 's/^/| /' conftest.$ac_ext >&5
21221
21222 ac_cv_cxx_static_cast=no
21223 fi
21224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21225 ac_ext=c
21226 ac_cpp='$CPP $CPPFLAGS'
21227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21230
21231
21232 fi
21233 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
21234 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
21235 if test "$ac_cv_cxx_static_cast" = yes; then
21236
21237 cat >>confdefs.h <<\_ACEOF
21238 #define HAVE_STATIC_CAST
21239 _ACEOF
21240
21241 fi
21242
21243
21244 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
21245 ac_ext=cc
21246 ac_cpp='$CXXCPP $CPPFLAGS'
21247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21250
21251
21252 if test "$wxUSE_UNICODE" = "yes"; then
21253 std_string="std::wstring"
21254 char_type="wchar_t"
21255 else
21256 std_string="std::string"
21257 char_type="char"
21258 fi
21259
21260 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
21261 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
21262 cat >conftest.$ac_ext <<_ACEOF
21263 /* confdefs.h. */
21264 _ACEOF
21265 cat confdefs.h >>conftest.$ac_ext
21266 cat >>conftest.$ac_ext <<_ACEOF
21267 /* end confdefs.h. */
21268 #include <string>
21269 int
21270 main ()
21271 {
21272 $std_string foo;
21273 ;
21274 return 0;
21275 }
21276 _ACEOF
21277 rm -f conftest.$ac_objext
21278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21279 (eval $ac_compile) 2>conftest.er1
21280 ac_status=$?
21281 grep -v '^ *+' conftest.er1 >conftest.err
21282 rm -f conftest.er1
21283 cat conftest.err >&5
21284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21285 (exit $ac_status); } &&
21286 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21288 (eval $ac_try) 2>&5
21289 ac_status=$?
21290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21291 (exit $ac_status); }; } &&
21292 { ac_try='test -s conftest.$ac_objext'
21293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21294 (eval $ac_try) 2>&5
21295 ac_status=$?
21296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21297 (exit $ac_status); }; }; then
21298 echo "$as_me:$LINENO: result: yes" >&5
21299 echo "${ECHO_T}yes" >&6
21300 cat >>confdefs.h <<\_ACEOF
21301 #define HAVE_STD_WSTRING 1
21302 _ACEOF
21303
21304 else
21305 echo "$as_me: failed program was:" >&5
21306 sed 's/^/| /' conftest.$ac_ext >&5
21307
21308 echo "$as_me:$LINENO: result: no" >&5
21309 echo "${ECHO_T}no" >&6
21310 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
21311 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
21312 cat >conftest.$ac_ext <<_ACEOF
21313 /* confdefs.h. */
21314 _ACEOF
21315 cat confdefs.h >>conftest.$ac_ext
21316 cat >>conftest.$ac_ext <<_ACEOF
21317 /* end confdefs.h. */
21318
21319 #ifdef HAVE_WCHAR_H
21320 # ifdef __CYGWIN__
21321 # include <stddef.h>
21322 # endif
21323 # include <wchar.h>
21324 #endif
21325 #ifdef HAVE_STDLIB_H
21326 # include <stdlib.h>
21327 #endif
21328 #include <stdio.h>
21329 #include <string>
21330
21331 int
21332 main ()
21333 {
21334 std::basic_string<$char_type> foo;
21335 const $char_type* dummy = foo.c_str();
21336 ;
21337 return 0;
21338 }
21339 _ACEOF
21340 rm -f conftest.$ac_objext
21341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21342 (eval $ac_compile) 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); } &&
21349 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21351 (eval $ac_try) 2>&5
21352 ac_status=$?
21353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21354 (exit $ac_status); }; } &&
21355 { ac_try='test -s conftest.$ac_objext'
21356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21357 (eval $ac_try) 2>&5
21358 ac_status=$?
21359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21360 (exit $ac_status); }; }; then
21361 echo "$as_me:$LINENO: result: yes" >&5
21362 echo "${ECHO_T}yes" >&6
21363 else
21364 echo "$as_me: failed program was:" >&5
21365 sed 's/^/| /' conftest.$ac_ext >&5
21366
21367 echo "$as_me:$LINENO: result: no" >&5
21368 echo "${ECHO_T}no" >&6
21369 if test "$wxUSE_STL" = "yes"; then
21370 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
21371 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
21372 { (exit 1); exit 1; }; }
21373 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
21374 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
21375 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
21376 { (exit 1); exit 1; }; }
21377 else
21378 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
21379 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
21380 wxUSE_STD_STRING=no
21381 fi
21382
21383
21384 fi
21385 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21386
21387 fi
21388 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21389
21390 ac_ext=c
21391 ac_cpp='$CPP $CPPFLAGS'
21392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21395
21396 fi
21397
21398 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21399 ac_ext=cc
21400 ac_cpp='$CXXCPP $CPPFLAGS'
21401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21404
21405
21406 echo "$as_me:$LINENO: checking for std::istream" >&5
21407 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
21408 if test "${ac_cv_type_std__istream+set}" = set; then
21409 echo $ECHO_N "(cached) $ECHO_C" >&6
21410 else
21411 cat >conftest.$ac_ext <<_ACEOF
21412 /* confdefs.h. */
21413 _ACEOF
21414 cat confdefs.h >>conftest.$ac_ext
21415 cat >>conftest.$ac_ext <<_ACEOF
21416 /* end confdefs.h. */
21417 #include <iostream>
21418
21419 int
21420 main ()
21421 {
21422 if ((std::istream *) 0)
21423 return 0;
21424 if (sizeof (std::istream))
21425 return 0;
21426 ;
21427 return 0;
21428 }
21429 _ACEOF
21430 rm -f conftest.$ac_objext
21431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21432 (eval $ac_compile) 2>conftest.er1
21433 ac_status=$?
21434 grep -v '^ *+' conftest.er1 >conftest.err
21435 rm -f conftest.er1
21436 cat conftest.err >&5
21437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21438 (exit $ac_status); } &&
21439 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21441 (eval $ac_try) 2>&5
21442 ac_status=$?
21443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21444 (exit $ac_status); }; } &&
21445 { ac_try='test -s conftest.$ac_objext'
21446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21447 (eval $ac_try) 2>&5
21448 ac_status=$?
21449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21450 (exit $ac_status); }; }; then
21451 ac_cv_type_std__istream=yes
21452 else
21453 echo "$as_me: failed program was:" >&5
21454 sed 's/^/| /' conftest.$ac_ext >&5
21455
21456 ac_cv_type_std__istream=no
21457 fi
21458 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21459 fi
21460 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
21461 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
21462 if test $ac_cv_type_std__istream = yes; then
21463
21464 cat >>confdefs.h <<_ACEOF
21465 #define HAVE_STD__ISTREAM 1
21466 _ACEOF
21467
21468
21469 else
21470 wxUSE_STD_IOSTREAM=no
21471 fi
21472 echo "$as_me:$LINENO: checking for std::ostream" >&5
21473 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
21474 if test "${ac_cv_type_std__ostream+set}" = set; then
21475 echo $ECHO_N "(cached) $ECHO_C" >&6
21476 else
21477 cat >conftest.$ac_ext <<_ACEOF
21478 /* confdefs.h. */
21479 _ACEOF
21480 cat confdefs.h >>conftest.$ac_ext
21481 cat >>conftest.$ac_ext <<_ACEOF
21482 /* end confdefs.h. */
21483 #include <iostream>
21484
21485 int
21486 main ()
21487 {
21488 if ((std::ostream *) 0)
21489 return 0;
21490 if (sizeof (std::ostream))
21491 return 0;
21492 ;
21493 return 0;
21494 }
21495 _ACEOF
21496 rm -f conftest.$ac_objext
21497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21498 (eval $ac_compile) 2>conftest.er1
21499 ac_status=$?
21500 grep -v '^ *+' conftest.er1 >conftest.err
21501 rm -f conftest.er1
21502 cat conftest.err >&5
21503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21504 (exit $ac_status); } &&
21505 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21507 (eval $ac_try) 2>&5
21508 ac_status=$?
21509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21510 (exit $ac_status); }; } &&
21511 { ac_try='test -s conftest.$ac_objext'
21512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21513 (eval $ac_try) 2>&5
21514 ac_status=$?
21515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21516 (exit $ac_status); }; }; then
21517 ac_cv_type_std__ostream=yes
21518 else
21519 echo "$as_me: failed program was:" >&5
21520 sed 's/^/| /' conftest.$ac_ext >&5
21521
21522 ac_cv_type_std__ostream=no
21523 fi
21524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21525 fi
21526 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
21527 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
21528 if test $ac_cv_type_std__ostream = yes; then
21529
21530 cat >>confdefs.h <<_ACEOF
21531 #define HAVE_STD__OSTREAM 1
21532 _ACEOF
21533
21534
21535 else
21536 wxUSE_STD_IOSTREAM=no
21537 fi
21538
21539
21540 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
21541 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
21542 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
21543 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
21544 { (exit 1); exit 1; }; }
21545 else
21546 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
21547 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
21548 fi
21549 fi
21550
21551 ac_ext=c
21552 ac_cpp='$CPP $CPPFLAGS'
21553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21556
21557 fi
21558
21559 if test "$wxUSE_STL" = "yes"; then
21560 ac_ext=cc
21561 ac_cpp='$CXXCPP $CPPFLAGS'
21562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21565
21566
21567 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
21568 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
21569 cat >conftest.$ac_ext <<_ACEOF
21570 /* confdefs.h. */
21571 _ACEOF
21572 cat confdefs.h >>conftest.$ac_ext
21573 cat >>conftest.$ac_ext <<_ACEOF
21574 /* end confdefs.h. */
21575 #include <string>
21576 #include <functional>
21577 #include <algorithm>
21578 #include <vector>
21579 #include <list>
21580 int
21581 main ()
21582 {
21583 std::vector<int> moo;
21584 std::list<int> foo;
21585 std::vector<int>::iterator it =
21586 std::find_if(moo.begin(), moo.end(),
21587 std::bind2nd(std::less<int>(), 3));
21588 ;
21589 return 0;
21590 }
21591 _ACEOF
21592 rm -f conftest.$ac_objext
21593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21594 (eval $ac_compile) 2>conftest.er1
21595 ac_status=$?
21596 grep -v '^ *+' conftest.er1 >conftest.err
21597 rm -f conftest.er1
21598 cat conftest.err >&5
21599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21600 (exit $ac_status); } &&
21601 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21603 (eval $ac_try) 2>&5
21604 ac_status=$?
21605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21606 (exit $ac_status); }; } &&
21607 { ac_try='test -s conftest.$ac_objext'
21608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21609 (eval $ac_try) 2>&5
21610 ac_status=$?
21611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21612 (exit $ac_status); }; }; then
21613 echo "$as_me:$LINENO: result: yes" >&5
21614 echo "${ECHO_T}yes" >&6
21615 else
21616 echo "$as_me: failed program was:" >&5
21617 sed 's/^/| /' conftest.$ac_ext >&5
21618
21619 echo "$as_me:$LINENO: result: no" >&5
21620 echo "${ECHO_T}no" >&6
21621 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
21622 echo "$as_me: error: Basic STL functionality missing" >&2;}
21623 { (exit 1); exit 1; }; }
21624 fi
21625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21626
21627 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
21628 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
21629 cat >conftest.$ac_ext <<_ACEOF
21630 /* confdefs.h. */
21631 _ACEOF
21632 cat confdefs.h >>conftest.$ac_ext
21633 cat >>conftest.$ac_ext <<_ACEOF
21634 /* end confdefs.h. */
21635 #include <string>
21636 int
21637 main ()
21638 {
21639 std::string foo, bar;
21640 foo.compare(bar);
21641 foo.compare(1, 1, bar);
21642 foo.compare(1, 1, bar, 1, 1);
21643 foo.compare("");
21644 foo.compare(1, 1, "");
21645 foo.compare(1, 1, "", 2);
21646 ;
21647 return 0;
21648 }
21649 _ACEOF
21650 rm -f conftest.$ac_objext
21651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21652 (eval $ac_compile) 2>conftest.er1
21653 ac_status=$?
21654 grep -v '^ *+' conftest.er1 >conftest.err
21655 rm -f conftest.er1
21656 cat conftest.err >&5
21657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21658 (exit $ac_status); } &&
21659 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21661 (eval $ac_try) 2>&5
21662 ac_status=$?
21663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21664 (exit $ac_status); }; } &&
21665 { ac_try='test -s conftest.$ac_objext'
21666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21667 (eval $ac_try) 2>&5
21668 ac_status=$?
21669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21670 (exit $ac_status); }; }; then
21671 echo "$as_me:$LINENO: result: yes" >&5
21672 echo "${ECHO_T}yes" >&6
21673 cat >>confdefs.h <<\_ACEOF
21674 #define HAVE_STD_STRING_COMPARE 1
21675 _ACEOF
21676
21677 else
21678 echo "$as_me: failed program was:" >&5
21679 sed 's/^/| /' conftest.$ac_ext >&5
21680
21681 echo "$as_me:$LINENO: result: no" >&5
21682 echo "${ECHO_T}no" >&6
21683 fi
21684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21685
21686 if test "${ac_cv_header_hash_map+set}" = set; then
21687 echo "$as_me:$LINENO: checking for hash_map" >&5
21688 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
21689 if test "${ac_cv_header_hash_map+set}" = set; then
21690 echo $ECHO_N "(cached) $ECHO_C" >&6
21691 fi
21692 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
21693 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
21694 else
21695 # Is the header compilable?
21696 echo "$as_me:$LINENO: checking hash_map usability" >&5
21697 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
21698 cat >conftest.$ac_ext <<_ACEOF
21699 /* confdefs.h. */
21700 _ACEOF
21701 cat confdefs.h >>conftest.$ac_ext
21702 cat >>conftest.$ac_ext <<_ACEOF
21703 /* end confdefs.h. */
21704 $ac_includes_default
21705 #include <hash_map>
21706 _ACEOF
21707 rm -f conftest.$ac_objext
21708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21709 (eval $ac_compile) 2>conftest.er1
21710 ac_status=$?
21711 grep -v '^ *+' conftest.er1 >conftest.err
21712 rm -f conftest.er1
21713 cat conftest.err >&5
21714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21715 (exit $ac_status); } &&
21716 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21718 (eval $ac_try) 2>&5
21719 ac_status=$?
21720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21721 (exit $ac_status); }; } &&
21722 { ac_try='test -s conftest.$ac_objext'
21723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21724 (eval $ac_try) 2>&5
21725 ac_status=$?
21726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21727 (exit $ac_status); }; }; then
21728 ac_header_compiler=yes
21729 else
21730 echo "$as_me: failed program was:" >&5
21731 sed 's/^/| /' conftest.$ac_ext >&5
21732
21733 ac_header_compiler=no
21734 fi
21735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21736 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21737 echo "${ECHO_T}$ac_header_compiler" >&6
21738
21739 # Is the header present?
21740 echo "$as_me:$LINENO: checking hash_map presence" >&5
21741 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
21742 cat >conftest.$ac_ext <<_ACEOF
21743 /* confdefs.h. */
21744 _ACEOF
21745 cat confdefs.h >>conftest.$ac_ext
21746 cat >>conftest.$ac_ext <<_ACEOF
21747 /* end confdefs.h. */
21748 #include <hash_map>
21749 _ACEOF
21750 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21751 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21752 ac_status=$?
21753 grep -v '^ *+' conftest.er1 >conftest.err
21754 rm -f conftest.er1
21755 cat conftest.err >&5
21756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21757 (exit $ac_status); } >/dev/null; then
21758 if test -s conftest.err; then
21759 ac_cpp_err=$ac_cxx_preproc_warn_flag
21760 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21761 else
21762 ac_cpp_err=
21763 fi
21764 else
21765 ac_cpp_err=yes
21766 fi
21767 if test -z "$ac_cpp_err"; then
21768 ac_header_preproc=yes
21769 else
21770 echo "$as_me: failed program was:" >&5
21771 sed 's/^/| /' conftest.$ac_ext >&5
21772
21773 ac_header_preproc=no
21774 fi
21775 rm -f conftest.err conftest.$ac_ext
21776 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21777 echo "${ECHO_T}$ac_header_preproc" >&6
21778
21779 # So? What about this header?
21780 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21781 yes:no: )
21782 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
21783 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
21784 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
21785 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
21786 ac_header_preproc=yes
21787 ;;
21788 no:yes:* )
21789 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
21790 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
21791 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
21792 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
21793 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
21794 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
21795 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
21796 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
21797 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
21798 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
21799 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
21800 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
21801 (
21802 cat <<\_ASBOX
21803 ## ----------------------------------------- ##
21804 ## Report this to wx-dev@lists.wxwidgets.org ##
21805 ## ----------------------------------------- ##
21806 _ASBOX
21807 ) |
21808 sed "s/^/$as_me: WARNING: /" >&2
21809 ;;
21810 esac
21811 echo "$as_me:$LINENO: checking for hash_map" >&5
21812 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
21813 if test "${ac_cv_header_hash_map+set}" = set; then
21814 echo $ECHO_N "(cached) $ECHO_C" >&6
21815 else
21816 ac_cv_header_hash_map=$ac_header_preproc
21817 fi
21818 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
21819 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
21820
21821 fi
21822 if test $ac_cv_header_hash_map = yes; then
21823 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
21824 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
21825 cat >conftest.$ac_ext <<_ACEOF
21826 /* confdefs.h. */
21827 _ACEOF
21828 cat confdefs.h >>conftest.$ac_ext
21829 cat >>conftest.$ac_ext <<_ACEOF
21830 /* end confdefs.h. */
21831 #include <hash_map>
21832 #include <hash_set>
21833 int
21834 main ()
21835 {
21836 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21837 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21838 ;
21839 return 0;
21840 }
21841 _ACEOF
21842 rm -f conftest.$ac_objext
21843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21844 (eval $ac_compile) 2>conftest.er1
21845 ac_status=$?
21846 grep -v '^ *+' conftest.er1 >conftest.err
21847 rm -f conftest.er1
21848 cat conftest.err >&5
21849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21850 (exit $ac_status); } &&
21851 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21853 (eval $ac_try) 2>&5
21854 ac_status=$?
21855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21856 (exit $ac_status); }; } &&
21857 { ac_try='test -s conftest.$ac_objext'
21858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21859 (eval $ac_try) 2>&5
21860 ac_status=$?
21861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21862 (exit $ac_status); }; }; then
21863 echo "$as_me:$LINENO: result: yes" >&5
21864 echo "${ECHO_T}yes" >&6
21865 cat >>confdefs.h <<\_ACEOF
21866 #define HAVE_HASH_MAP 1
21867 _ACEOF
21868
21869 cat >>confdefs.h <<\_ACEOF
21870 #define HAVE_STD_HASH_MAP 1
21871 _ACEOF
21872
21873 else
21874 echo "$as_me: failed program was:" >&5
21875 sed 's/^/| /' conftest.$ac_ext >&5
21876
21877 echo "$as_me:$LINENO: result: no" >&5
21878 echo "${ECHO_T}no" >&6
21879 fi
21880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21881
21882 fi
21883
21884
21885
21886 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21887 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
21888 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
21889 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21890 echo $ECHO_N "(cached) $ECHO_C" >&6
21891 fi
21892 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
21893 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
21894 else
21895 # Is the header compilable?
21896 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
21897 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
21898 cat >conftest.$ac_ext <<_ACEOF
21899 /* confdefs.h. */
21900 _ACEOF
21901 cat confdefs.h >>conftest.$ac_ext
21902 cat >>conftest.$ac_ext <<_ACEOF
21903 /* end confdefs.h. */
21904 $ac_includes_default
21905 #include <ext/hash_map>
21906 _ACEOF
21907 rm -f conftest.$ac_objext
21908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21909 (eval $ac_compile) 2>conftest.er1
21910 ac_status=$?
21911 grep -v '^ *+' conftest.er1 >conftest.err
21912 rm -f conftest.er1
21913 cat conftest.err >&5
21914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21915 (exit $ac_status); } &&
21916 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21918 (eval $ac_try) 2>&5
21919 ac_status=$?
21920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21921 (exit $ac_status); }; } &&
21922 { ac_try='test -s conftest.$ac_objext'
21923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21924 (eval $ac_try) 2>&5
21925 ac_status=$?
21926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21927 (exit $ac_status); }; }; then
21928 ac_header_compiler=yes
21929 else
21930 echo "$as_me: failed program was:" >&5
21931 sed 's/^/| /' conftest.$ac_ext >&5
21932
21933 ac_header_compiler=no
21934 fi
21935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21936 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21937 echo "${ECHO_T}$ac_header_compiler" >&6
21938
21939 # Is the header present?
21940 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
21941 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
21942 cat >conftest.$ac_ext <<_ACEOF
21943 /* confdefs.h. */
21944 _ACEOF
21945 cat confdefs.h >>conftest.$ac_ext
21946 cat >>conftest.$ac_ext <<_ACEOF
21947 /* end confdefs.h. */
21948 #include <ext/hash_map>
21949 _ACEOF
21950 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21951 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21952 ac_status=$?
21953 grep -v '^ *+' conftest.er1 >conftest.err
21954 rm -f conftest.er1
21955 cat conftest.err >&5
21956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21957 (exit $ac_status); } >/dev/null; then
21958 if test -s conftest.err; then
21959 ac_cpp_err=$ac_cxx_preproc_warn_flag
21960 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21961 else
21962 ac_cpp_err=
21963 fi
21964 else
21965 ac_cpp_err=yes
21966 fi
21967 if test -z "$ac_cpp_err"; then
21968 ac_header_preproc=yes
21969 else
21970 echo "$as_me: failed program was:" >&5
21971 sed 's/^/| /' conftest.$ac_ext >&5
21972
21973 ac_header_preproc=no
21974 fi
21975 rm -f conftest.err conftest.$ac_ext
21976 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21977 echo "${ECHO_T}$ac_header_preproc" >&6
21978
21979 # So? What about this header?
21980 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21981 yes:no: )
21982 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
21983 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
21984 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
21985 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
21986 ac_header_preproc=yes
21987 ;;
21988 no:yes:* )
21989 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
21990 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
21991 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
21992 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
21993 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
21994 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
21995 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
21996 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
21997 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
21998 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
21999 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
22000 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
22001 (
22002 cat <<\_ASBOX
22003 ## ----------------------------------------- ##
22004 ## Report this to wx-dev@lists.wxwidgets.org ##
22005 ## ----------------------------------------- ##
22006 _ASBOX
22007 ) |
22008 sed "s/^/$as_me: WARNING: /" >&2
22009 ;;
22010 esac
22011 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
22012 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
22013 if test "${ac_cv_header_ext_hash_map+set}" = set; then
22014 echo $ECHO_N "(cached) $ECHO_C" >&6
22015 else
22016 ac_cv_header_ext_hash_map=$ac_header_preproc
22017 fi
22018 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
22019 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
22020
22021 fi
22022 if test $ac_cv_header_ext_hash_map = yes; then
22023 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
22024 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
22025 cat >conftest.$ac_ext <<_ACEOF
22026 /* confdefs.h. */
22027 _ACEOF
22028 cat confdefs.h >>conftest.$ac_ext
22029 cat >>conftest.$ac_ext <<_ACEOF
22030 /* end confdefs.h. */
22031 #include <ext/hash_map>
22032 #include <ext/hash_set>
22033 int
22034 main ()
22035 {
22036 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
22037 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
22038 ;
22039 return 0;
22040 }
22041 _ACEOF
22042 rm -f conftest.$ac_objext
22043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22044 (eval $ac_compile) 2>conftest.er1
22045 ac_status=$?
22046 grep -v '^ *+' conftest.er1 >conftest.err
22047 rm -f conftest.er1
22048 cat conftest.err >&5
22049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22050 (exit $ac_status); } &&
22051 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22053 (eval $ac_try) 2>&5
22054 ac_status=$?
22055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22056 (exit $ac_status); }; } &&
22057 { ac_try='test -s conftest.$ac_objext'
22058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22059 (eval $ac_try) 2>&5
22060 ac_status=$?
22061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22062 (exit $ac_status); }; }; then
22063 echo "$as_me:$LINENO: result: yes" >&5
22064 echo "${ECHO_T}yes" >&6
22065 cat >>confdefs.h <<\_ACEOF
22066 #define HAVE_EXT_HASH_MAP 1
22067 _ACEOF
22068
22069 cat >>confdefs.h <<\_ACEOF
22070 #define HAVE_GNU_CXX_HASH_MAP 1
22071 _ACEOF
22072
22073 else
22074 echo "$as_me: failed program was:" >&5
22075 sed 's/^/| /' conftest.$ac_ext >&5
22076
22077 echo "$as_me:$LINENO: result: no" >&5
22078 echo "${ECHO_T}no" >&6
22079 fi
22080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22081
22082 fi
22083
22084
22085
22086 ac_ext=c
22087 ac_cpp='$CPP $CPPFLAGS'
22088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22091
22092 fi
22093
22094
22095 SEARCH_INCLUDE="\
22096 /usr/local/include \
22097 \
22098 /usr/Motif-2.1/include \
22099 /usr/Motif-1.2/include \
22100 /usr/include/Motif1.2 \
22101 /opt/xpm/include/X11 \
22102 /opt/GBxpm/include/ \
22103 /opt/GBxpm/X11/include/ \
22104 \
22105 /usr/dt/include \
22106 /usr/openwin/include \
22107 \
22108 /usr/include/Xm \
22109 \
22110 /usr/X11R6/include \
22111 /usr/X11R6.4/include \
22112 /usr/X11R5/include \
22113 /usr/X11R4/include \
22114 \
22115 /usr/include/X11R6 \
22116 /usr/include/X11R5 \
22117 /usr/include/X11R4 \
22118 \
22119 /usr/local/X11R6/include \
22120 /usr/local/X11R5/include \
22121 /usr/local/X11R4/include \
22122 \
22123 /usr/local/include/X11R6 \
22124 /usr/local/include/X11R5 \
22125 /usr/local/include/X11R4 \
22126 \
22127 /usr/X11/include \
22128 /usr/include/X11 \
22129 /usr/local/X11/include \
22130 /usr/local/include/X11 \
22131 \
22132 /usr/X386/include \
22133 /usr/x386/include \
22134 /usr/XFree86/include/X11 \
22135 \
22136 X:/XFree86/include \
22137 X:/XFree86/include/X11 \
22138 \
22139 /usr/include/gtk \
22140 /usr/local/include/gtk \
22141 /usr/include/glib \
22142 /usr/local/include/glib \
22143 \
22144 /usr/include/qt \
22145 /usr/local/include/qt \
22146 \
22147 /usr/local/arm/3.3.2/include \
22148 \
22149 /usr/include/windows \
22150 /usr/include/wine \
22151 /usr/local/include/wine \
22152 \
22153 /usr/unsupported/include \
22154 /usr/athena/include \
22155 /usr/local/x11r5/include \
22156 /usr/lpp/Xamples/include \
22157 \
22158 /usr/openwin/share/include"
22159
22160 SEARCH_LIB="/usr/lib /usr/lib32 /usr/lib64 /usr/X11R6/lib64 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g`"
22161
22162 if test "$build" != "$host" -a "$GCC" = yes; then
22163 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
22164 cross_root=`dirname $cross_root`
22165 cross_root=`dirname $cross_root`
22166
22167 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22168 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22169
22170 if test -z "$PKG_CONFIG_PATH"; then
22171 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
22172 export PKG_CONFIG_PATH
22173 fi
22174
22175 if test -z "$x_includes" -o "$x_includes" = NONE; then
22176
22177 ac_find_includes=
22178 for ac_dir in $SEARCH_INCLUDE /usr/include;
22179 do
22180 if test -f "$ac_dir/X11/Intrinsic.h"; then
22181 ac_find_includes=$ac_dir
22182 break
22183 fi
22184 done
22185
22186 x_includes=$ac_find_includes
22187 fi
22188 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
22189
22190 ac_find_libraries=
22191 for ac_dir in $SEARCH_LIB /usr/lib;
22192 do
22193 for ac_extension in a so sl dylib dll.a; do
22194 if test -f "$ac_dir/libXt.$ac_extension"; then
22195 ac_find_libraries=$ac_dir
22196 break 2
22197 fi
22198 done
22199 done
22200
22201 x_libraries=$ac_find_libraries
22202 fi
22203 fi
22204 fi
22205
22206
22207 cat >confcache <<\_ACEOF
22208 # This file is a shell script that caches the results of configure
22209 # tests run on this system so they can be shared between configure
22210 # scripts and configure runs, see configure's option --config-cache.
22211 # It is not useful on other systems. If it contains results you don't
22212 # want to keep, you may remove or edit it.
22213 #
22214 # config.status only pays attention to the cache file if you give it
22215 # the --recheck option to rerun configure.
22216 #
22217 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22218 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22219 # following values.
22220
22221 _ACEOF
22222
22223 # The following way of writing the cache mishandles newlines in values,
22224 # but we know of no workaround that is simple, portable, and efficient.
22225 # So, don't put newlines in cache variables' values.
22226 # Ultrix sh set writes to stderr and can't be redirected directly,
22227 # and sets the high bit in the cache file unless we assign to the vars.
22228 {
22229 (set) 2>&1 |
22230 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22231 *ac_space=\ *)
22232 # `set' does not quote correctly, so add quotes (double-quote
22233 # substitution turns \\\\ into \\, and sed turns \\ into \).
22234 sed -n \
22235 "s/'/'\\\\''/g;
22236 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22237 ;;
22238 *)
22239 # `set' quotes correctly as required by POSIX, so do not add quotes.
22240 sed -n \
22241 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22242 ;;
22243 esac;
22244 } |
22245 sed '
22246 t clear
22247 : clear
22248 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22249 t end
22250 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22251 : end' >>confcache
22252 if diff $cache_file confcache >/dev/null 2>&1; then :; else
22253 if test -w $cache_file; then
22254 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22255 cat confcache >$cache_file
22256 else
22257 echo "not updating unwritable cache $cache_file"
22258 fi
22259 fi
22260 rm -f confcache
22261
22262 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
22263 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
22264 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
22265 if test "${wx_cv_lib_glibc21+set}" = set; then
22266 echo $ECHO_N "(cached) $ECHO_C" >&6
22267 else
22268
22269 cat >conftest.$ac_ext <<_ACEOF
22270 /* confdefs.h. */
22271 _ACEOF
22272 cat confdefs.h >>conftest.$ac_ext
22273 cat >>conftest.$ac_ext <<_ACEOF
22274 /* end confdefs.h. */
22275 #include <features.h>
22276 int
22277 main ()
22278 {
22279
22280 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
22281 #error not glibc2.1
22282 #endif
22283
22284 ;
22285 return 0;
22286 }
22287 _ACEOF
22288 rm -f conftest.$ac_objext
22289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22290 (eval $ac_compile) 2>conftest.er1
22291 ac_status=$?
22292 grep -v '^ *+' conftest.er1 >conftest.err
22293 rm -f conftest.er1
22294 cat conftest.err >&5
22295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22296 (exit $ac_status); } &&
22297 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22299 (eval $ac_try) 2>&5
22300 ac_status=$?
22301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22302 (exit $ac_status); }; } &&
22303 { ac_try='test -s conftest.$ac_objext'
22304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22305 (eval $ac_try) 2>&5
22306 ac_status=$?
22307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22308 (exit $ac_status); }; }; then
22309
22310 wx_cv_lib_glibc21=yes
22311
22312 else
22313 echo "$as_me: failed program was:" >&5
22314 sed 's/^/| /' conftest.$ac_ext >&5
22315
22316
22317 wx_cv_lib_glibc21=no
22318
22319
22320 fi
22321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22322
22323 fi
22324 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
22325 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
22326 if test "$wx_cv_lib_glibc21" = "yes"; then
22327 cat >>confdefs.h <<\_ACEOF
22328 #define wxHAVE_GLIBC2 1
22329 _ACEOF
22330
22331 fi
22332 fi
22333
22334 if test "x$wx_cv_lib_glibc21" = "xyes"; then
22335 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
22336 cat >>confdefs.h <<\_ACEOF
22337 #define _GNU_SOURCE 1
22338 _ACEOF
22339
22340 fi
22341 fi
22342
22343
22344
22345 if test "$wxUSE_REGEX" != "no"; then
22346 cat >>confdefs.h <<\_ACEOF
22347 #define wxUSE_REGEX 1
22348 _ACEOF
22349
22350
22351 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22352 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
22353 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
22354 wxUSE_REGEX=builtin
22355 fi
22356
22357 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22358 if test "${ac_cv_header_regex_h+set}" = set; then
22359 echo "$as_me:$LINENO: checking for regex.h" >&5
22360 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
22361 if test "${ac_cv_header_regex_h+set}" = set; then
22362 echo $ECHO_N "(cached) $ECHO_C" >&6
22363 fi
22364 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
22365 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
22366 else
22367 # Is the header compilable?
22368 echo "$as_me:$LINENO: checking regex.h usability" >&5
22369 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
22370 cat >conftest.$ac_ext <<_ACEOF
22371 /* confdefs.h. */
22372 _ACEOF
22373 cat confdefs.h >>conftest.$ac_ext
22374 cat >>conftest.$ac_ext <<_ACEOF
22375 /* end confdefs.h. */
22376 $ac_includes_default
22377 #include <regex.h>
22378 _ACEOF
22379 rm -f conftest.$ac_objext
22380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22381 (eval $ac_compile) 2>conftest.er1
22382 ac_status=$?
22383 grep -v '^ *+' conftest.er1 >conftest.err
22384 rm -f conftest.er1
22385 cat conftest.err >&5
22386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22387 (exit $ac_status); } &&
22388 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22390 (eval $ac_try) 2>&5
22391 ac_status=$?
22392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22393 (exit $ac_status); }; } &&
22394 { ac_try='test -s conftest.$ac_objext'
22395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22396 (eval $ac_try) 2>&5
22397 ac_status=$?
22398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22399 (exit $ac_status); }; }; then
22400 ac_header_compiler=yes
22401 else
22402 echo "$as_me: failed program was:" >&5
22403 sed 's/^/| /' conftest.$ac_ext >&5
22404
22405 ac_header_compiler=no
22406 fi
22407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22408 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22409 echo "${ECHO_T}$ac_header_compiler" >&6
22410
22411 # Is the header present?
22412 echo "$as_me:$LINENO: checking regex.h presence" >&5
22413 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
22414 cat >conftest.$ac_ext <<_ACEOF
22415 /* confdefs.h. */
22416 _ACEOF
22417 cat confdefs.h >>conftest.$ac_ext
22418 cat >>conftest.$ac_ext <<_ACEOF
22419 /* end confdefs.h. */
22420 #include <regex.h>
22421 _ACEOF
22422 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22423 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22424 ac_status=$?
22425 grep -v '^ *+' conftest.er1 >conftest.err
22426 rm -f conftest.er1
22427 cat conftest.err >&5
22428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22429 (exit $ac_status); } >/dev/null; then
22430 if test -s conftest.err; then
22431 ac_cpp_err=$ac_c_preproc_warn_flag
22432 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22433 else
22434 ac_cpp_err=
22435 fi
22436 else
22437 ac_cpp_err=yes
22438 fi
22439 if test -z "$ac_cpp_err"; then
22440 ac_header_preproc=yes
22441 else
22442 echo "$as_me: failed program was:" >&5
22443 sed 's/^/| /' conftest.$ac_ext >&5
22444
22445 ac_header_preproc=no
22446 fi
22447 rm -f conftest.err conftest.$ac_ext
22448 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22449 echo "${ECHO_T}$ac_header_preproc" >&6
22450
22451 # So? What about this header?
22452 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22453 yes:no: )
22454 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
22455 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22456 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
22457 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
22458 ac_header_preproc=yes
22459 ;;
22460 no:yes:* )
22461 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
22462 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
22463 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
22464 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
22465 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
22466 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
22467 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
22468 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
22469 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
22470 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
22471 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
22472 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
22473 (
22474 cat <<\_ASBOX
22475 ## ----------------------------------------- ##
22476 ## Report this to wx-dev@lists.wxwidgets.org ##
22477 ## ----------------------------------------- ##
22478 _ASBOX
22479 ) |
22480 sed "s/^/$as_me: WARNING: /" >&2
22481 ;;
22482 esac
22483 echo "$as_me:$LINENO: checking for regex.h" >&5
22484 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
22485 if test "${ac_cv_header_regex_h+set}" = set; then
22486 echo $ECHO_N "(cached) $ECHO_C" >&6
22487 else
22488 ac_cv_header_regex_h=$ac_header_preproc
22489 fi
22490 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
22491 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
22492
22493 fi
22494 if test $ac_cv_header_regex_h = yes; then
22495
22496 for ac_func in regcomp
22497 do
22498 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22499 echo "$as_me:$LINENO: checking for $ac_func" >&5
22500 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22501 if eval "test \"\${$as_ac_var+set}\" = set"; then
22502 echo $ECHO_N "(cached) $ECHO_C" >&6
22503 else
22504 cat >conftest.$ac_ext <<_ACEOF
22505 /* confdefs.h. */
22506 _ACEOF
22507 cat confdefs.h >>conftest.$ac_ext
22508 cat >>conftest.$ac_ext <<_ACEOF
22509 /* end confdefs.h. */
22510 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22511 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22512 #define $ac_func innocuous_$ac_func
22513
22514 /* System header to define __stub macros and hopefully few prototypes,
22515 which can conflict with char $ac_func (); below.
22516 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22517 <limits.h> exists even on freestanding compilers. */
22518
22519 #ifdef __STDC__
22520 # include <limits.h>
22521 #else
22522 # include <assert.h>
22523 #endif
22524
22525 #undef $ac_func
22526
22527 /* Override any gcc2 internal prototype to avoid an error. */
22528 #ifdef __cplusplus
22529 extern "C"
22530 {
22531 #endif
22532 /* We use char because int might match the return type of a gcc2
22533 builtin and then its argument prototype would still apply. */
22534 char $ac_func ();
22535 /* The GNU C library defines this for functions which it implements
22536 to always fail with ENOSYS. Some functions are actually named
22537 something starting with __ and the normal name is an alias. */
22538 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22539 choke me
22540 #else
22541 char (*f) () = $ac_func;
22542 #endif
22543 #ifdef __cplusplus
22544 }
22545 #endif
22546
22547 int
22548 main ()
22549 {
22550 return f != $ac_func;
22551 ;
22552 return 0;
22553 }
22554 _ACEOF
22555 rm -f conftest.$ac_objext conftest$ac_exeext
22556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22557 (eval $ac_link) 2>conftest.er1
22558 ac_status=$?
22559 grep -v '^ *+' conftest.er1 >conftest.err
22560 rm -f conftest.er1
22561 cat conftest.err >&5
22562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22563 (exit $ac_status); } &&
22564 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22566 (eval $ac_try) 2>&5
22567 ac_status=$?
22568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22569 (exit $ac_status); }; } &&
22570 { ac_try='test -s conftest$ac_exeext'
22571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22572 (eval $ac_try) 2>&5
22573 ac_status=$?
22574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22575 (exit $ac_status); }; }; then
22576 eval "$as_ac_var=yes"
22577 else
22578 echo "$as_me: failed program was:" >&5
22579 sed 's/^/| /' conftest.$ac_ext >&5
22580
22581 eval "$as_ac_var=no"
22582 fi
22583 rm -f conftest.err conftest.$ac_objext \
22584 conftest$ac_exeext conftest.$ac_ext
22585 fi
22586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22587 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22588 if test `eval echo '${'$as_ac_var'}'` = yes; then
22589 cat >>confdefs.h <<_ACEOF
22590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22591 _ACEOF
22592
22593 fi
22594 done
22595
22596 fi
22597
22598
22599
22600 if test "x$ac_cv_func_regcomp" != "xyes"; then
22601 if test "$wxUSE_REGEX" = "sys" ; then
22602 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
22603 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
22604 { (exit 1); exit 1; }; }
22605 else
22606 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
22607 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22608 wxUSE_REGEX=builtin
22609 fi
22610 else
22611 wxUSE_REGEX=sys
22612 cat >>confdefs.h <<\_ACEOF
22613 #define WX_NO_REGEX_ADVANCED 1
22614 _ACEOF
22615
22616 fi
22617 fi
22618 fi
22619
22620
22621 ZLIB_LINK=
22622 if test "$wxUSE_ZLIB" != "no" ; then
22623 cat >>confdefs.h <<\_ACEOF
22624 #define wxUSE_ZLIB 1
22625 _ACEOF
22626
22627
22628 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22629 if test "$USE_DARWIN" = 1; then
22630 system_zlib_h_ok="yes"
22631 else
22632 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
22633 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
22634 if test "${ac_cv_header_zlib_h+set}" = set; then
22635 echo $ECHO_N "(cached) $ECHO_C" >&6
22636 else
22637 if test "$cross_compiling" = yes; then
22638 unset ac_cv_header_zlib_h
22639
22640 else
22641 cat >conftest.$ac_ext <<_ACEOF
22642 /* confdefs.h. */
22643 _ACEOF
22644 cat confdefs.h >>conftest.$ac_ext
22645 cat >>conftest.$ac_ext <<_ACEOF
22646 /* end confdefs.h. */
22647
22648 #include <zlib.h>
22649 #include <stdio.h>
22650
22651 int main()
22652 {
22653 FILE *f=fopen("conftestval", "w");
22654 if (!f) exit(1);
22655 fprintf(f, "%s",
22656 ZLIB_VERSION[0] == '1' &&
22657 (ZLIB_VERSION[2] > '1' ||
22658 (ZLIB_VERSION[2] == '1' &&
22659 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22660 exit(0);
22661 }
22662
22663 _ACEOF
22664 rm -f conftest$ac_exeext
22665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22666 (eval $ac_link) 2>&5
22667 ac_status=$?
22668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22669 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22671 (eval $ac_try) 2>&5
22672 ac_status=$?
22673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22674 (exit $ac_status); }; }; then
22675 ac_cv_header_zlib_h=`cat conftestval`
22676 else
22677 echo "$as_me: program exited with status $ac_status" >&5
22678 echo "$as_me: failed program was:" >&5
22679 sed 's/^/| /' conftest.$ac_ext >&5
22680
22681 ( exit $ac_status )
22682 ac_cv_header_zlib_h=no
22683 fi
22684 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22685 fi
22686
22687 fi
22688 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22689 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22690 if test "${ac_cv_header_zlib_h+set}" = set; then
22691 echo "$as_me:$LINENO: checking for zlib.h" >&5
22692 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22693 if test "${ac_cv_header_zlib_h+set}" = set; then
22694 echo $ECHO_N "(cached) $ECHO_C" >&6
22695 fi
22696 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22697 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22698 else
22699 # Is the header compilable?
22700 echo "$as_me:$LINENO: checking zlib.h usability" >&5
22701 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
22702 cat >conftest.$ac_ext <<_ACEOF
22703 /* confdefs.h. */
22704 _ACEOF
22705 cat confdefs.h >>conftest.$ac_ext
22706 cat >>conftest.$ac_ext <<_ACEOF
22707 /* end confdefs.h. */
22708 $ac_includes_default
22709 #include <zlib.h>
22710 _ACEOF
22711 rm -f conftest.$ac_objext
22712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22713 (eval $ac_compile) 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_objext'
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_header_compiler=yes
22733 else
22734 echo "$as_me: failed program was:" >&5
22735 sed 's/^/| /' conftest.$ac_ext >&5
22736
22737 ac_header_compiler=no
22738 fi
22739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22740 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22741 echo "${ECHO_T}$ac_header_compiler" >&6
22742
22743 # Is the header present?
22744 echo "$as_me:$LINENO: checking zlib.h presence" >&5
22745 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
22746 cat >conftest.$ac_ext <<_ACEOF
22747 /* confdefs.h. */
22748 _ACEOF
22749 cat confdefs.h >>conftest.$ac_ext
22750 cat >>conftest.$ac_ext <<_ACEOF
22751 /* end confdefs.h. */
22752 #include <zlib.h>
22753 _ACEOF
22754 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22755 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22756 ac_status=$?
22757 grep -v '^ *+' conftest.er1 >conftest.err
22758 rm -f conftest.er1
22759 cat conftest.err >&5
22760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22761 (exit $ac_status); } >/dev/null; then
22762 if test -s conftest.err; then
22763 ac_cpp_err=$ac_c_preproc_warn_flag
22764 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22765 else
22766 ac_cpp_err=
22767 fi
22768 else
22769 ac_cpp_err=yes
22770 fi
22771 if test -z "$ac_cpp_err"; then
22772 ac_header_preproc=yes
22773 else
22774 echo "$as_me: failed program was:" >&5
22775 sed 's/^/| /' conftest.$ac_ext >&5
22776
22777 ac_header_preproc=no
22778 fi
22779 rm -f conftest.err conftest.$ac_ext
22780 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22781 echo "${ECHO_T}$ac_header_preproc" >&6
22782
22783 # So? What about this header?
22784 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22785 yes:no: )
22786 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
22787 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22788 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
22789 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
22790 ac_header_preproc=yes
22791 ;;
22792 no:yes:* )
22793 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
22794 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
22795 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
22796 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
22797 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
22798 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
22799 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
22800 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
22801 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
22802 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
22803 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
22804 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
22805 (
22806 cat <<\_ASBOX
22807 ## ----------------------------------------- ##
22808 ## Report this to wx-dev@lists.wxwidgets.org ##
22809 ## ----------------------------------------- ##
22810 _ASBOX
22811 ) |
22812 sed "s/^/$as_me: WARNING: /" >&2
22813 ;;
22814 esac
22815 echo "$as_me:$LINENO: checking for zlib.h" >&5
22816 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22817 if test "${ac_cv_header_zlib_h+set}" = set; then
22818 echo $ECHO_N "(cached) $ECHO_C" >&6
22819 else
22820 ac_cv_header_zlib_h=$ac_header_preproc
22821 fi
22822 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22823 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22824
22825 fi
22826
22827
22828
22829 system_zlib_h_ok=$ac_cv_header_zlib_h
22830 fi
22831
22832 if test "$system_zlib_h_ok" = "yes"; then
22833 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
22834 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
22835 if test "${ac_cv_lib_z_deflate+set}" = set; then
22836 echo $ECHO_N "(cached) $ECHO_C" >&6
22837 else
22838 ac_check_lib_save_LIBS=$LIBS
22839 LIBS="-lz $LIBS"
22840 cat >conftest.$ac_ext <<_ACEOF
22841 /* confdefs.h. */
22842 _ACEOF
22843 cat confdefs.h >>conftest.$ac_ext
22844 cat >>conftest.$ac_ext <<_ACEOF
22845 /* end confdefs.h. */
22846
22847 /* Override any gcc2 internal prototype to avoid an error. */
22848 #ifdef __cplusplus
22849 extern "C"
22850 #endif
22851 /* We use char because int might match the return type of a gcc2
22852 builtin and then its argument prototype would still apply. */
22853 char deflate ();
22854 int
22855 main ()
22856 {
22857 deflate ();
22858 ;
22859 return 0;
22860 }
22861 _ACEOF
22862 rm -f conftest.$ac_objext conftest$ac_exeext
22863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22864 (eval $ac_link) 2>conftest.er1
22865 ac_status=$?
22866 grep -v '^ *+' conftest.er1 >conftest.err
22867 rm -f conftest.er1
22868 cat conftest.err >&5
22869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22870 (exit $ac_status); } &&
22871 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22873 (eval $ac_try) 2>&5
22874 ac_status=$?
22875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22876 (exit $ac_status); }; } &&
22877 { ac_try='test -s conftest$ac_exeext'
22878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22879 (eval $ac_try) 2>&5
22880 ac_status=$?
22881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22882 (exit $ac_status); }; }; then
22883 ac_cv_lib_z_deflate=yes
22884 else
22885 echo "$as_me: failed program was:" >&5
22886 sed 's/^/| /' conftest.$ac_ext >&5
22887
22888 ac_cv_lib_z_deflate=no
22889 fi
22890 rm -f conftest.err conftest.$ac_objext \
22891 conftest$ac_exeext conftest.$ac_ext
22892 LIBS=$ac_check_lib_save_LIBS
22893 fi
22894 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
22895 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
22896 if test $ac_cv_lib_z_deflate = yes; then
22897 ZLIB_LINK=" -lz"
22898 fi
22899
22900 fi
22901
22902 if test "x$ZLIB_LINK" = "x" ; then
22903 if test "$wxUSE_ZLIB" = "sys" ; then
22904 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
22905 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
22906 { (exit 1); exit 1; }; }
22907 else
22908 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
22909 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22910 wxUSE_ZLIB=builtin
22911 fi
22912 else
22913 wxUSE_ZLIB=sys
22914 fi
22915 fi
22916 fi
22917
22918
22919 PNG_LINK=
22920 if test "$wxUSE_LIBPNG" != "no" ; then
22921 cat >>confdefs.h <<\_ACEOF
22922 #define wxUSE_LIBPNG 1
22923 _ACEOF
22924
22925
22926 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
22927 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
22928 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
22929 wxUSE_LIBPNG=sys
22930 fi
22931
22932 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22933 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22934 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22935 wxUSE_LIBPNG=builtin
22936 fi
22937
22938 if test "$wxUSE_MGL" != 1 ; then
22939 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22940 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
22941 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
22942 if test "${ac_cv_header_png_h+set}" = set; then
22943 echo $ECHO_N "(cached) $ECHO_C" >&6
22944 else
22945 if test "$cross_compiling" = yes; then
22946 unset ac_cv_header_png_h
22947
22948 else
22949 cat >conftest.$ac_ext <<_ACEOF
22950 /* confdefs.h. */
22951 _ACEOF
22952 cat confdefs.h >>conftest.$ac_ext
22953 cat >>conftest.$ac_ext <<_ACEOF
22954 /* end confdefs.h. */
22955
22956 #include <png.h>
22957 #include <stdio.h>
22958
22959 int main()
22960 {
22961 FILE *f=fopen("conftestval", "w");
22962 if (!f) exit(1);
22963 fprintf(f, "%s",
22964 PNG_LIBPNG_VER > 90 ? "yes" : "no");
22965 exit(0);
22966 }
22967
22968 _ACEOF
22969 rm -f conftest$ac_exeext
22970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22971 (eval $ac_link) 2>&5
22972 ac_status=$?
22973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22974 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22976 (eval $ac_try) 2>&5
22977 ac_status=$?
22978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22979 (exit $ac_status); }; }; then
22980 ac_cv_header_png_h=`cat conftestval`
22981 else
22982 echo "$as_me: program exited with status $ac_status" >&5
22983 echo "$as_me: failed program was:" >&5
22984 sed 's/^/| /' conftest.$ac_ext >&5
22985
22986 ( exit $ac_status )
22987 ac_cv_header_png_h=no
22988 fi
22989 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22990 fi
22991
22992 fi
22993 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
22994 echo "${ECHO_T}$ac_cv_header_png_h" >&6
22995 if test "${ac_cv_header_png_h+set}" = set; then
22996 echo "$as_me:$LINENO: checking for png.h" >&5
22997 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
22998 if test "${ac_cv_header_png_h+set}" = set; then
22999 echo $ECHO_N "(cached) $ECHO_C" >&6
23000 fi
23001 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
23002 echo "${ECHO_T}$ac_cv_header_png_h" >&6
23003 else
23004 # Is the header compilable?
23005 echo "$as_me:$LINENO: checking png.h usability" >&5
23006 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
23007 cat >conftest.$ac_ext <<_ACEOF
23008 /* confdefs.h. */
23009 _ACEOF
23010 cat confdefs.h >>conftest.$ac_ext
23011 cat >>conftest.$ac_ext <<_ACEOF
23012 /* end confdefs.h. */
23013 $ac_includes_default
23014 #include <png.h>
23015 _ACEOF
23016 rm -f conftest.$ac_objext
23017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23018 (eval $ac_compile) 2>conftest.er1
23019 ac_status=$?
23020 grep -v '^ *+' conftest.er1 >conftest.err
23021 rm -f conftest.er1
23022 cat conftest.err >&5
23023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23024 (exit $ac_status); } &&
23025 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23027 (eval $ac_try) 2>&5
23028 ac_status=$?
23029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23030 (exit $ac_status); }; } &&
23031 { ac_try='test -s conftest.$ac_objext'
23032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23033 (eval $ac_try) 2>&5
23034 ac_status=$?
23035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23036 (exit $ac_status); }; }; then
23037 ac_header_compiler=yes
23038 else
23039 echo "$as_me: failed program was:" >&5
23040 sed 's/^/| /' conftest.$ac_ext >&5
23041
23042 ac_header_compiler=no
23043 fi
23044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23045 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23046 echo "${ECHO_T}$ac_header_compiler" >&6
23047
23048 # Is the header present?
23049 echo "$as_me:$LINENO: checking png.h presence" >&5
23050 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
23051 cat >conftest.$ac_ext <<_ACEOF
23052 /* confdefs.h. */
23053 _ACEOF
23054 cat confdefs.h >>conftest.$ac_ext
23055 cat >>conftest.$ac_ext <<_ACEOF
23056 /* end confdefs.h. */
23057 #include <png.h>
23058 _ACEOF
23059 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23060 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23061 ac_status=$?
23062 grep -v '^ *+' conftest.er1 >conftest.err
23063 rm -f conftest.er1
23064 cat conftest.err >&5
23065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23066 (exit $ac_status); } >/dev/null; then
23067 if test -s conftest.err; then
23068 ac_cpp_err=$ac_c_preproc_warn_flag
23069 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23070 else
23071 ac_cpp_err=
23072 fi
23073 else
23074 ac_cpp_err=yes
23075 fi
23076 if test -z "$ac_cpp_err"; then
23077 ac_header_preproc=yes
23078 else
23079 echo "$as_me: failed program was:" >&5
23080 sed 's/^/| /' conftest.$ac_ext >&5
23081
23082 ac_header_preproc=no
23083 fi
23084 rm -f conftest.err conftest.$ac_ext
23085 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23086 echo "${ECHO_T}$ac_header_preproc" >&6
23087
23088 # So? What about this header?
23089 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23090 yes:no: )
23091 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
23092 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23093 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
23094 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
23095 ac_header_preproc=yes
23096 ;;
23097 no:yes:* )
23098 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
23099 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
23100 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
23101 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
23102 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
23103 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
23104 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
23105 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
23106 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
23107 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
23108 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
23109 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
23110 (
23111 cat <<\_ASBOX
23112 ## ----------------------------------------- ##
23113 ## Report this to wx-dev@lists.wxwidgets.org ##
23114 ## ----------------------------------------- ##
23115 _ASBOX
23116 ) |
23117 sed "s/^/$as_me: WARNING: /" >&2
23118 ;;
23119 esac
23120 echo "$as_me:$LINENO: checking for png.h" >&5
23121 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
23122 if test "${ac_cv_header_png_h+set}" = set; then
23123 echo $ECHO_N "(cached) $ECHO_C" >&6
23124 else
23125 ac_cv_header_png_h=$ac_header_preproc
23126 fi
23127 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
23128 echo "${ECHO_T}$ac_cv_header_png_h" >&6
23129
23130 fi
23131
23132
23133
23134 if test "$ac_cv_header_png_h" = "yes"; then
23135 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
23136 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
23137 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
23138 echo $ECHO_N "(cached) $ECHO_C" >&6
23139 else
23140 ac_check_lib_save_LIBS=$LIBS
23141 LIBS="-lpng -lz -lm $LIBS"
23142 cat >conftest.$ac_ext <<_ACEOF
23143 /* confdefs.h. */
23144 _ACEOF
23145 cat confdefs.h >>conftest.$ac_ext
23146 cat >>conftest.$ac_ext <<_ACEOF
23147 /* end confdefs.h. */
23148
23149 /* Override any gcc2 internal prototype to avoid an error. */
23150 #ifdef __cplusplus
23151 extern "C"
23152 #endif
23153 /* We use char because int might match the return type of a gcc2
23154 builtin and then its argument prototype would still apply. */
23155 char png_check_sig ();
23156 int
23157 main ()
23158 {
23159 png_check_sig ();
23160 ;
23161 return 0;
23162 }
23163 _ACEOF
23164 rm -f conftest.$ac_objext conftest$ac_exeext
23165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23166 (eval $ac_link) 2>conftest.er1
23167 ac_status=$?
23168 grep -v '^ *+' conftest.er1 >conftest.err
23169 rm -f conftest.er1
23170 cat conftest.err >&5
23171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23172 (exit $ac_status); } &&
23173 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23175 (eval $ac_try) 2>&5
23176 ac_status=$?
23177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23178 (exit $ac_status); }; } &&
23179 { ac_try='test -s conftest$ac_exeext'
23180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23181 (eval $ac_try) 2>&5
23182 ac_status=$?
23183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23184 (exit $ac_status); }; }; then
23185 ac_cv_lib_png_png_check_sig=yes
23186 else
23187 echo "$as_me: failed program was:" >&5
23188 sed 's/^/| /' conftest.$ac_ext >&5
23189
23190 ac_cv_lib_png_png_check_sig=no
23191 fi
23192 rm -f conftest.err conftest.$ac_objext \
23193 conftest$ac_exeext conftest.$ac_ext
23194 LIBS=$ac_check_lib_save_LIBS
23195 fi
23196 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
23197 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
23198 if test $ac_cv_lib_png_png_check_sig = yes; then
23199 PNG_LINK=" -lpng -lz"
23200 fi
23201
23202 fi
23203
23204 if test "x$PNG_LINK" = "x" ; then
23205 if test "$wxUSE_LIBPNG" = "sys" ; then
23206 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
23207 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
23208 { (exit 1); exit 1; }; }
23209 else
23210 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
23211 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
23212 wxUSE_LIBPNG=builtin
23213 fi
23214 else
23215 wxUSE_LIBPNG=sys
23216 fi
23217 fi
23218 fi
23219
23220 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
23221 fi
23222
23223
23224 JPEG_LINK=
23225 if test "$wxUSE_LIBJPEG" != "no" ; then
23226 cat >>confdefs.h <<\_ACEOF
23227 #define wxUSE_LIBJPEG 1
23228 _ACEOF
23229
23230
23231 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
23232 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
23233 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
23234 wxUSE_LIBJPEG=sys
23235 fi
23236
23237 if test "$wxUSE_MGL" != 1 ; then
23238 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
23239 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
23240 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
23241 if test "${ac_cv_header_jpeglib_h+set}" = set; then
23242 echo $ECHO_N "(cached) $ECHO_C" >&6
23243 else
23244 cat >conftest.$ac_ext <<_ACEOF
23245 /* confdefs.h. */
23246 _ACEOF
23247 cat confdefs.h >>conftest.$ac_ext
23248 cat >>conftest.$ac_ext <<_ACEOF
23249 /* end confdefs.h. */
23250
23251 #undef HAVE_STDLIB_H
23252 #include <stdio.h>
23253 #include <jpeglib.h>
23254
23255 int
23256 main ()
23257 {
23258
23259
23260 ;
23261 return 0;
23262 }
23263 _ACEOF
23264 rm -f conftest.$ac_objext
23265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23266 (eval $ac_compile) 2>conftest.er1
23267 ac_status=$?
23268 grep -v '^ *+' conftest.er1 >conftest.err
23269 rm -f conftest.er1
23270 cat conftest.err >&5
23271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23272 (exit $ac_status); } &&
23273 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23275 (eval $ac_try) 2>&5
23276 ac_status=$?
23277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23278 (exit $ac_status); }; } &&
23279 { ac_try='test -s conftest.$ac_objext'
23280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23281 (eval $ac_try) 2>&5
23282 ac_status=$?
23283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23284 (exit $ac_status); }; }; then
23285 ac_cv_header_jpeglib_h=yes
23286 else
23287 echo "$as_me: failed program was:" >&5
23288 sed 's/^/| /' conftest.$ac_ext >&5
23289
23290 ac_cv_header_jpeglib_h=no
23291
23292 fi
23293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23294
23295 fi
23296
23297 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
23298 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
23299
23300 if test "$ac_cv_header_jpeglib_h" = "yes"; then
23301 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
23302 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
23303 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
23304 echo $ECHO_N "(cached) $ECHO_C" >&6
23305 else
23306 ac_check_lib_save_LIBS=$LIBS
23307 LIBS="-ljpeg $LIBS"
23308 cat >conftest.$ac_ext <<_ACEOF
23309 /* confdefs.h. */
23310 _ACEOF
23311 cat confdefs.h >>conftest.$ac_ext
23312 cat >>conftest.$ac_ext <<_ACEOF
23313 /* end confdefs.h. */
23314
23315 /* Override any gcc2 internal prototype to avoid an error. */
23316 #ifdef __cplusplus
23317 extern "C"
23318 #endif
23319 /* We use char because int might match the return type of a gcc2
23320 builtin and then its argument prototype would still apply. */
23321 char jpeg_read_header ();
23322 int
23323 main ()
23324 {
23325 jpeg_read_header ();
23326 ;
23327 return 0;
23328 }
23329 _ACEOF
23330 rm -f conftest.$ac_objext conftest$ac_exeext
23331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23332 (eval $ac_link) 2>conftest.er1
23333 ac_status=$?
23334 grep -v '^ *+' conftest.er1 >conftest.err
23335 rm -f conftest.er1
23336 cat conftest.err >&5
23337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23338 (exit $ac_status); } &&
23339 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23341 (eval $ac_try) 2>&5
23342 ac_status=$?
23343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23344 (exit $ac_status); }; } &&
23345 { ac_try='test -s conftest$ac_exeext'
23346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23347 (eval $ac_try) 2>&5
23348 ac_status=$?
23349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23350 (exit $ac_status); }; }; then
23351 ac_cv_lib_jpeg_jpeg_read_header=yes
23352 else
23353 echo "$as_me: failed program was:" >&5
23354 sed 's/^/| /' conftest.$ac_ext >&5
23355
23356 ac_cv_lib_jpeg_jpeg_read_header=no
23357 fi
23358 rm -f conftest.err conftest.$ac_objext \
23359 conftest$ac_exeext conftest.$ac_ext
23360 LIBS=$ac_check_lib_save_LIBS
23361 fi
23362 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
23363 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
23364 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
23365 JPEG_LINK=" -ljpeg"
23366 fi
23367
23368 fi
23369
23370 if test "x$JPEG_LINK" = "x" ; then
23371 if test "$wxUSE_LIBJPEG" = "sys" ; then
23372 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
23373 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
23374 { (exit 1); exit 1; }; }
23375 else
23376 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
23377 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
23378 wxUSE_LIBJPEG=builtin
23379 fi
23380 else
23381 wxUSE_LIBJPEG=sys
23382 fi
23383 fi
23384 fi
23385 fi
23386
23387
23388 TIFF_LINK=
23389 TIFF_PREREQ_LINKS=-lm
23390 if test "$wxUSE_LIBTIFF" != "no" ; then
23391 cat >>confdefs.h <<\_ACEOF
23392 #define wxUSE_LIBTIFF 1
23393 _ACEOF
23394
23395
23396 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
23397 if test "$wxUSE_LIBJPEG" = "sys"; then
23398 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
23399 fi
23400 if test "$wxUSE_ZLIB" = "sys"; then
23401 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
23402 fi
23403 if test "${ac_cv_header_tiffio_h+set}" = set; then
23404 echo "$as_me:$LINENO: checking for tiffio.h" >&5
23405 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
23406 if test "${ac_cv_header_tiffio_h+set}" = set; then
23407 echo $ECHO_N "(cached) $ECHO_C" >&6
23408 fi
23409 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
23410 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
23411 else
23412 # Is the header compilable?
23413 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
23414 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
23415 cat >conftest.$ac_ext <<_ACEOF
23416 /* confdefs.h. */
23417 _ACEOF
23418 cat confdefs.h >>conftest.$ac_ext
23419 cat >>conftest.$ac_ext <<_ACEOF
23420 /* end confdefs.h. */
23421 $ac_includes_default
23422 #include <tiffio.h>
23423 _ACEOF
23424 rm -f conftest.$ac_objext
23425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23426 (eval $ac_compile) 2>conftest.er1
23427 ac_status=$?
23428 grep -v '^ *+' conftest.er1 >conftest.err
23429 rm -f conftest.er1
23430 cat conftest.err >&5
23431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23432 (exit $ac_status); } &&
23433 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23435 (eval $ac_try) 2>&5
23436 ac_status=$?
23437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23438 (exit $ac_status); }; } &&
23439 { ac_try='test -s conftest.$ac_objext'
23440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23441 (eval $ac_try) 2>&5
23442 ac_status=$?
23443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23444 (exit $ac_status); }; }; then
23445 ac_header_compiler=yes
23446 else
23447 echo "$as_me: failed program was:" >&5
23448 sed 's/^/| /' conftest.$ac_ext >&5
23449
23450 ac_header_compiler=no
23451 fi
23452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23453 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23454 echo "${ECHO_T}$ac_header_compiler" >&6
23455
23456 # Is the header present?
23457 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
23458 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
23459 cat >conftest.$ac_ext <<_ACEOF
23460 /* confdefs.h. */
23461 _ACEOF
23462 cat confdefs.h >>conftest.$ac_ext
23463 cat >>conftest.$ac_ext <<_ACEOF
23464 /* end confdefs.h. */
23465 #include <tiffio.h>
23466 _ACEOF
23467 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23468 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23469 ac_status=$?
23470 grep -v '^ *+' conftest.er1 >conftest.err
23471 rm -f conftest.er1
23472 cat conftest.err >&5
23473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23474 (exit $ac_status); } >/dev/null; then
23475 if test -s conftest.err; then
23476 ac_cpp_err=$ac_c_preproc_warn_flag
23477 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23478 else
23479 ac_cpp_err=
23480 fi
23481 else
23482 ac_cpp_err=yes
23483 fi
23484 if test -z "$ac_cpp_err"; then
23485 ac_header_preproc=yes
23486 else
23487 echo "$as_me: failed program was:" >&5
23488 sed 's/^/| /' conftest.$ac_ext >&5
23489
23490 ac_header_preproc=no
23491 fi
23492 rm -f conftest.err conftest.$ac_ext
23493 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23494 echo "${ECHO_T}$ac_header_preproc" >&6
23495
23496 # So? What about this header?
23497 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23498 yes:no: )
23499 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
23500 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23501 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
23502 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
23503 ac_header_preproc=yes
23504 ;;
23505 no:yes:* )
23506 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
23507 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
23508 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
23509 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
23510 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
23511 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
23512 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
23513 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
23514 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
23515 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
23516 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
23517 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
23518 (
23519 cat <<\_ASBOX
23520 ## ----------------------------------------- ##
23521 ## Report this to wx-dev@lists.wxwidgets.org ##
23522 ## ----------------------------------------- ##
23523 _ASBOX
23524 ) |
23525 sed "s/^/$as_me: WARNING: /" >&2
23526 ;;
23527 esac
23528 echo "$as_me:$LINENO: checking for tiffio.h" >&5
23529 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
23530 if test "${ac_cv_header_tiffio_h+set}" = set; then
23531 echo $ECHO_N "(cached) $ECHO_C" >&6
23532 else
23533 ac_cv_header_tiffio_h=$ac_header_preproc
23534 fi
23535 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
23536 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
23537
23538 fi
23539 if test $ac_cv_header_tiffio_h = yes; then
23540
23541 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
23542 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
23543 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
23544 echo $ECHO_N "(cached) $ECHO_C" >&6
23545 else
23546 ac_check_lib_save_LIBS=$LIBS
23547 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
23548 cat >conftest.$ac_ext <<_ACEOF
23549 /* confdefs.h. */
23550 _ACEOF
23551 cat confdefs.h >>conftest.$ac_ext
23552 cat >>conftest.$ac_ext <<_ACEOF
23553 /* end confdefs.h. */
23554
23555 /* Override any gcc2 internal prototype to avoid an error. */
23556 #ifdef __cplusplus
23557 extern "C"
23558 #endif
23559 /* We use char because int might match the return type of a gcc2
23560 builtin and then its argument prototype would still apply. */
23561 char TIFFError ();
23562 int
23563 main ()
23564 {
23565 TIFFError ();
23566 ;
23567 return 0;
23568 }
23569 _ACEOF
23570 rm -f conftest.$ac_objext conftest$ac_exeext
23571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23572 (eval $ac_link) 2>conftest.er1
23573 ac_status=$?
23574 grep -v '^ *+' conftest.er1 >conftest.err
23575 rm -f conftest.er1
23576 cat conftest.err >&5
23577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23578 (exit $ac_status); } &&
23579 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23581 (eval $ac_try) 2>&5
23582 ac_status=$?
23583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23584 (exit $ac_status); }; } &&
23585 { ac_try='test -s conftest$ac_exeext'
23586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23587 (eval $ac_try) 2>&5
23588 ac_status=$?
23589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23590 (exit $ac_status); }; }; then
23591 ac_cv_lib_tiff_TIFFError=yes
23592 else
23593 echo "$as_me: failed program was:" >&5
23594 sed 's/^/| /' conftest.$ac_ext >&5
23595
23596 ac_cv_lib_tiff_TIFFError=no
23597 fi
23598 rm -f conftest.err conftest.$ac_objext \
23599 conftest$ac_exeext conftest.$ac_ext
23600 LIBS=$ac_check_lib_save_LIBS
23601 fi
23602 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
23603 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
23604 if test $ac_cv_lib_tiff_TIFFError = yes; then
23605 TIFF_LINK=" -ltiff"
23606 fi
23607
23608
23609
23610 fi
23611
23612
23613
23614 if test "x$TIFF_LINK" = "x" ; then
23615 if test "$wxUSE_LIBTIFF" = "sys" ; then
23616 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
23617 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
23618 { (exit 1); exit 1; }; }
23619 else
23620 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
23621 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
23622 wxUSE_LIBTIFF=builtin
23623 fi
23624 else
23625 wxUSE_LIBTIFF=sys
23626 fi
23627 fi
23628 fi
23629
23630
23631 if test "$wxUSE_WCHAR_T" != "yes"; then
23632 if test "$wxUSE_EXPAT" != "no"; then
23633 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
23634 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
23635 wxUSE_EXPAT=no
23636 fi
23637 if test "$wxUSE_XML" != "no"; then
23638 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
23639 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
23640 wxUSE_XML=no
23641 fi
23642 fi
23643
23644 if test "$wxUSE_EXPAT" != "no"; then
23645 wxUSE_XML=yes
23646 cat >>confdefs.h <<\_ACEOF
23647 #define wxUSE_EXPAT 1
23648 _ACEOF
23649
23650 cat >>confdefs.h <<\_ACEOF
23651 #define wxUSE_XML 1
23652 _ACEOF
23653
23654
23655 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
23656 if test "${ac_cv_header_expat_h+set}" = set; then
23657 echo "$as_me:$LINENO: checking for expat.h" >&5
23658 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
23659 if test "${ac_cv_header_expat_h+set}" = set; then
23660 echo $ECHO_N "(cached) $ECHO_C" >&6
23661 fi
23662 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
23663 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
23664 else
23665 # Is the header compilable?
23666 echo "$as_me:$LINENO: checking expat.h usability" >&5
23667 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
23668 cat >conftest.$ac_ext <<_ACEOF
23669 /* confdefs.h. */
23670 _ACEOF
23671 cat confdefs.h >>conftest.$ac_ext
23672 cat >>conftest.$ac_ext <<_ACEOF
23673 /* end confdefs.h. */
23674 $ac_includes_default
23675 #include <expat.h>
23676 _ACEOF
23677 rm -f conftest.$ac_objext
23678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23679 (eval $ac_compile) 2>conftest.er1
23680 ac_status=$?
23681 grep -v '^ *+' conftest.er1 >conftest.err
23682 rm -f conftest.er1
23683 cat conftest.err >&5
23684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23685 (exit $ac_status); } &&
23686 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23688 (eval $ac_try) 2>&5
23689 ac_status=$?
23690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23691 (exit $ac_status); }; } &&
23692 { ac_try='test -s conftest.$ac_objext'
23693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23694 (eval $ac_try) 2>&5
23695 ac_status=$?
23696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23697 (exit $ac_status); }; }; then
23698 ac_header_compiler=yes
23699 else
23700 echo "$as_me: failed program was:" >&5
23701 sed 's/^/| /' conftest.$ac_ext >&5
23702
23703 ac_header_compiler=no
23704 fi
23705 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23706 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23707 echo "${ECHO_T}$ac_header_compiler" >&6
23708
23709 # Is the header present?
23710 echo "$as_me:$LINENO: checking expat.h presence" >&5
23711 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
23712 cat >conftest.$ac_ext <<_ACEOF
23713 /* confdefs.h. */
23714 _ACEOF
23715 cat confdefs.h >>conftest.$ac_ext
23716 cat >>conftest.$ac_ext <<_ACEOF
23717 /* end confdefs.h. */
23718 #include <expat.h>
23719 _ACEOF
23720 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23721 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23722 ac_status=$?
23723 grep -v '^ *+' conftest.er1 >conftest.err
23724 rm -f conftest.er1
23725 cat conftest.err >&5
23726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23727 (exit $ac_status); } >/dev/null; then
23728 if test -s conftest.err; then
23729 ac_cpp_err=$ac_c_preproc_warn_flag
23730 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23731 else
23732 ac_cpp_err=
23733 fi
23734 else
23735 ac_cpp_err=yes
23736 fi
23737 if test -z "$ac_cpp_err"; then
23738 ac_header_preproc=yes
23739 else
23740 echo "$as_me: failed program was:" >&5
23741 sed 's/^/| /' conftest.$ac_ext >&5
23742
23743 ac_header_preproc=no
23744 fi
23745 rm -f conftest.err conftest.$ac_ext
23746 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23747 echo "${ECHO_T}$ac_header_preproc" >&6
23748
23749 # So? What about this header?
23750 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23751 yes:no: )
23752 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
23753 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23754 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
23755 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
23756 ac_header_preproc=yes
23757 ;;
23758 no:yes:* )
23759 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
23760 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
23761 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
23762 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
23763 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
23764 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
23765 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
23766 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
23767 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
23768 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
23769 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
23770 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
23771 (
23772 cat <<\_ASBOX
23773 ## ----------------------------------------- ##
23774 ## Report this to wx-dev@lists.wxwidgets.org ##
23775 ## ----------------------------------------- ##
23776 _ASBOX
23777 ) |
23778 sed "s/^/$as_me: WARNING: /" >&2
23779 ;;
23780 esac
23781 echo "$as_me:$LINENO: checking for expat.h" >&5
23782 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
23783 if test "${ac_cv_header_expat_h+set}" = set; then
23784 echo $ECHO_N "(cached) $ECHO_C" >&6
23785 else
23786 ac_cv_header_expat_h=$ac_header_preproc
23787 fi
23788 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
23789 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
23790
23791 fi
23792 if test $ac_cv_header_expat_h = yes; then
23793 found_expat_h=1
23794 fi
23795
23796
23797 if test "x$found_expat_h" = "x1"; then
23798 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
23799 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
23800 if test "${wx_cv_expat_is_not_broken+set}" = set; then
23801 echo $ECHO_N "(cached) $ECHO_C" >&6
23802 else
23803
23804
23805
23806 ac_ext=cc
23807 ac_cpp='$CXXCPP $CPPFLAGS'
23808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23811
23812 cat >conftest.$ac_ext <<_ACEOF
23813 /* confdefs.h. */
23814 _ACEOF
23815 cat confdefs.h >>conftest.$ac_ext
23816 cat >>conftest.$ac_ext <<_ACEOF
23817 /* end confdefs.h. */
23818 #include <expat.h>
23819 int
23820 main ()
23821 {
23822
23823 ;
23824 return 0;
23825 }
23826 _ACEOF
23827 rm -f conftest.$ac_objext
23828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23829 (eval $ac_compile) 2>conftest.er1
23830 ac_status=$?
23831 grep -v '^ *+' conftest.er1 >conftest.err
23832 rm -f conftest.er1
23833 cat conftest.err >&5
23834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23835 (exit $ac_status); } &&
23836 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23838 (eval $ac_try) 2>&5
23839 ac_status=$?
23840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23841 (exit $ac_status); }; } &&
23842 { ac_try='test -s conftest.$ac_objext'
23843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23844 (eval $ac_try) 2>&5
23845 ac_status=$?
23846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23847 (exit $ac_status); }; }; then
23848 wx_cv_expat_is_not_broken=yes
23849 else
23850 echo "$as_me: failed program was:" >&5
23851 sed 's/^/| /' conftest.$ac_ext >&5
23852
23853 wx_cv_expat_is_not_broken=no
23854
23855 fi
23856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23857 ac_ext=c
23858 ac_cpp='$CPP $CPPFLAGS'
23859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23862
23863
23864
23865 fi
23866 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
23867 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
23868 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
23869 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
23870 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
23871 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
23872 echo $ECHO_N "(cached) $ECHO_C" >&6
23873 else
23874 ac_check_lib_save_LIBS=$LIBS
23875 LIBS="-lexpat $LIBS"
23876 cat >conftest.$ac_ext <<_ACEOF
23877 /* confdefs.h. */
23878 _ACEOF
23879 cat confdefs.h >>conftest.$ac_ext
23880 cat >>conftest.$ac_ext <<_ACEOF
23881 /* end confdefs.h. */
23882
23883 /* Override any gcc2 internal prototype to avoid an error. */
23884 #ifdef __cplusplus
23885 extern "C"
23886 #endif
23887 /* We use char because int might match the return type of a gcc2
23888 builtin and then its argument prototype would still apply. */
23889 char XML_ParserCreate ();
23890 int
23891 main ()
23892 {
23893 XML_ParserCreate ();
23894 ;
23895 return 0;
23896 }
23897 _ACEOF
23898 rm -f conftest.$ac_objext conftest$ac_exeext
23899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23900 (eval $ac_link) 2>conftest.er1
23901 ac_status=$?
23902 grep -v '^ *+' conftest.er1 >conftest.err
23903 rm -f conftest.er1
23904 cat conftest.err >&5
23905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23906 (exit $ac_status); } &&
23907 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23909 (eval $ac_try) 2>&5
23910 ac_status=$?
23911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23912 (exit $ac_status); }; } &&
23913 { ac_try='test -s conftest$ac_exeext'
23914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23915 (eval $ac_try) 2>&5
23916 ac_status=$?
23917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23918 (exit $ac_status); }; }; then
23919 ac_cv_lib_expat_XML_ParserCreate=yes
23920 else
23921 echo "$as_me: failed program was:" >&5
23922 sed 's/^/| /' conftest.$ac_ext >&5
23923
23924 ac_cv_lib_expat_XML_ParserCreate=no
23925 fi
23926 rm -f conftest.err conftest.$ac_objext \
23927 conftest$ac_exeext conftest.$ac_ext
23928 LIBS=$ac_check_lib_save_LIBS
23929 fi
23930 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
23931 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
23932 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
23933 EXPAT_LINK=" -lexpat"
23934 fi
23935
23936 fi
23937 fi
23938 if test "x$EXPAT_LINK" = "x" ; then
23939 if test "$wxUSE_EXPAT" = "sys" ; then
23940 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
23941 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
23942 { (exit 1); exit 1; }; }
23943 else
23944 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
23945 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
23946 wxUSE_EXPAT=builtin
23947 fi
23948 else
23949 wxUSE_EXPAT=sys
23950 fi
23951 fi
23952 if test "$wxUSE_EXPAT" = "builtin" ; then
23953
23954
23955 subdirs="$subdirs src/expat"
23956
23957 fi
23958 fi
23959
23960
23961
23962 if test "$wxUSE_LIBMSPACK" != "no"; then
23963 if test "${ac_cv_header_mspack_h+set}" = set; then
23964 echo "$as_me:$LINENO: checking for mspack.h" >&5
23965 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
23966 if test "${ac_cv_header_mspack_h+set}" = set; then
23967 echo $ECHO_N "(cached) $ECHO_C" >&6
23968 fi
23969 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
23970 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
23971 else
23972 # Is the header compilable?
23973 echo "$as_me:$LINENO: checking mspack.h usability" >&5
23974 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
23975 cat >conftest.$ac_ext <<_ACEOF
23976 /* confdefs.h. */
23977 _ACEOF
23978 cat confdefs.h >>conftest.$ac_ext
23979 cat >>conftest.$ac_ext <<_ACEOF
23980 /* end confdefs.h. */
23981 $ac_includes_default
23982 #include <mspack.h>
23983 _ACEOF
23984 rm -f conftest.$ac_objext
23985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23986 (eval $ac_compile) 2>conftest.er1
23987 ac_status=$?
23988 grep -v '^ *+' conftest.er1 >conftest.err
23989 rm -f conftest.er1
23990 cat conftest.err >&5
23991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23992 (exit $ac_status); } &&
23993 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23995 (eval $ac_try) 2>&5
23996 ac_status=$?
23997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23998 (exit $ac_status); }; } &&
23999 { ac_try='test -s conftest.$ac_objext'
24000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24001 (eval $ac_try) 2>&5
24002 ac_status=$?
24003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24004 (exit $ac_status); }; }; then
24005 ac_header_compiler=yes
24006 else
24007 echo "$as_me: failed program was:" >&5
24008 sed 's/^/| /' conftest.$ac_ext >&5
24009
24010 ac_header_compiler=no
24011 fi
24012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24013 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24014 echo "${ECHO_T}$ac_header_compiler" >&6
24015
24016 # Is the header present?
24017 echo "$as_me:$LINENO: checking mspack.h presence" >&5
24018 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
24019 cat >conftest.$ac_ext <<_ACEOF
24020 /* confdefs.h. */
24021 _ACEOF
24022 cat confdefs.h >>conftest.$ac_ext
24023 cat >>conftest.$ac_ext <<_ACEOF
24024 /* end confdefs.h. */
24025 #include <mspack.h>
24026 _ACEOF
24027 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24028 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24029 ac_status=$?
24030 grep -v '^ *+' conftest.er1 >conftest.err
24031 rm -f conftest.er1
24032 cat conftest.err >&5
24033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24034 (exit $ac_status); } >/dev/null; then
24035 if test -s conftest.err; then
24036 ac_cpp_err=$ac_c_preproc_warn_flag
24037 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24038 else
24039 ac_cpp_err=
24040 fi
24041 else
24042 ac_cpp_err=yes
24043 fi
24044 if test -z "$ac_cpp_err"; then
24045 ac_header_preproc=yes
24046 else
24047 echo "$as_me: failed program was:" >&5
24048 sed 's/^/| /' conftest.$ac_ext >&5
24049
24050 ac_header_preproc=no
24051 fi
24052 rm -f conftest.err conftest.$ac_ext
24053 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24054 echo "${ECHO_T}$ac_header_preproc" >&6
24055
24056 # So? What about this header?
24057 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24058 yes:no: )
24059 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
24060 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24061 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
24062 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
24063 ac_header_preproc=yes
24064 ;;
24065 no:yes:* )
24066 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
24067 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
24068 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
24069 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
24070 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
24071 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
24072 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
24073 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
24074 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
24075 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
24076 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
24077 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
24078 (
24079 cat <<\_ASBOX
24080 ## ----------------------------------------- ##
24081 ## Report this to wx-dev@lists.wxwidgets.org ##
24082 ## ----------------------------------------- ##
24083 _ASBOX
24084 ) |
24085 sed "s/^/$as_me: WARNING: /" >&2
24086 ;;
24087 esac
24088 echo "$as_me:$LINENO: checking for mspack.h" >&5
24089 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
24090 if test "${ac_cv_header_mspack_h+set}" = set; then
24091 echo $ECHO_N "(cached) $ECHO_C" >&6
24092 else
24093 ac_cv_header_mspack_h=$ac_header_preproc
24094 fi
24095 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
24096 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
24097
24098 fi
24099 if test $ac_cv_header_mspack_h = yes; then
24100 found_mspack_h=1
24101 fi
24102
24103
24104 if test "x$found_mspack_h" = "x1"; then
24105 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
24106 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
24107 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
24108 echo $ECHO_N "(cached) $ECHO_C" >&6
24109 else
24110 ac_check_lib_save_LIBS=$LIBS
24111 LIBS="-lmspack $LIBS"
24112 cat >conftest.$ac_ext <<_ACEOF
24113 /* confdefs.h. */
24114 _ACEOF
24115 cat confdefs.h >>conftest.$ac_ext
24116 cat >>conftest.$ac_ext <<_ACEOF
24117 /* end confdefs.h. */
24118
24119 /* Override any gcc2 internal prototype to avoid an error. */
24120 #ifdef __cplusplus
24121 extern "C"
24122 #endif
24123 /* We use char because int might match the return type of a gcc2
24124 builtin and then its argument prototype would still apply. */
24125 char mspack_create_chm_decompressor ();
24126 int
24127 main ()
24128 {
24129 mspack_create_chm_decompressor ();
24130 ;
24131 return 0;
24132 }
24133 _ACEOF
24134 rm -f conftest.$ac_objext conftest$ac_exeext
24135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24136 (eval $ac_link) 2>conftest.er1
24137 ac_status=$?
24138 grep -v '^ *+' conftest.er1 >conftest.err
24139 rm -f conftest.er1
24140 cat conftest.err >&5
24141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24142 (exit $ac_status); } &&
24143 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24145 (eval $ac_try) 2>&5
24146 ac_status=$?
24147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24148 (exit $ac_status); }; } &&
24149 { ac_try='test -s conftest$ac_exeext'
24150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24151 (eval $ac_try) 2>&5
24152 ac_status=$?
24153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24154 (exit $ac_status); }; }; then
24155 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
24156 else
24157 echo "$as_me: failed program was:" >&5
24158 sed 's/^/| /' conftest.$ac_ext >&5
24159
24160 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
24161 fi
24162 rm -f conftest.err conftest.$ac_objext \
24163 conftest$ac_exeext conftest.$ac_ext
24164 LIBS=$ac_check_lib_save_LIBS
24165 fi
24166 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
24167 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
24168 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
24169 MSPACK_LINK=" -lmspack"
24170 fi
24171
24172 fi
24173 if test "x$MSPACK_LINK" = "x" ; then
24174 wxUSE_LIBMSPACK=no
24175 fi
24176 fi
24177
24178 if test "$wxUSE_LIBMSPACK" != "no"; then
24179 cat >>confdefs.h <<\_ACEOF
24180 #define wxUSE_LIBMSPACK 1
24181 _ACEOF
24182
24183 fi
24184
24185
24186
24187 AFMINSTALL=
24188 WIN32INSTALL=
24189
24190 TOOLKIT=
24191 TOOLKIT_INCLUDE=
24192 WIDGET_SET=
24193
24194 if test "$USE_WIN32" = 1 ; then
24195
24196 for ac_header in w32api.h
24197 do
24198 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24199 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24200 echo "$as_me:$LINENO: checking for $ac_header" >&5
24201 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24202 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24203 echo $ECHO_N "(cached) $ECHO_C" >&6
24204 fi
24205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24206 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24207 else
24208 # Is the header compilable?
24209 echo "$as_me:$LINENO: checking $ac_header usability" >&5
24210 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
24211 cat >conftest.$ac_ext <<_ACEOF
24212 /* confdefs.h. */
24213 _ACEOF
24214 cat confdefs.h >>conftest.$ac_ext
24215 cat >>conftest.$ac_ext <<_ACEOF
24216 /* end confdefs.h. */
24217 $ac_includes_default
24218 #include <$ac_header>
24219 _ACEOF
24220 rm -f conftest.$ac_objext
24221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24222 (eval $ac_compile) 2>conftest.er1
24223 ac_status=$?
24224 grep -v '^ *+' conftest.er1 >conftest.err
24225 rm -f conftest.er1
24226 cat conftest.err >&5
24227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24228 (exit $ac_status); } &&
24229 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24231 (eval $ac_try) 2>&5
24232 ac_status=$?
24233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24234 (exit $ac_status); }; } &&
24235 { ac_try='test -s conftest.$ac_objext'
24236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24237 (eval $ac_try) 2>&5
24238 ac_status=$?
24239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24240 (exit $ac_status); }; }; then
24241 ac_header_compiler=yes
24242 else
24243 echo "$as_me: failed program was:" >&5
24244 sed 's/^/| /' conftest.$ac_ext >&5
24245
24246 ac_header_compiler=no
24247 fi
24248 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24249 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24250 echo "${ECHO_T}$ac_header_compiler" >&6
24251
24252 # Is the header present?
24253 echo "$as_me:$LINENO: checking $ac_header presence" >&5
24254 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
24255 cat >conftest.$ac_ext <<_ACEOF
24256 /* confdefs.h. */
24257 _ACEOF
24258 cat confdefs.h >>conftest.$ac_ext
24259 cat >>conftest.$ac_ext <<_ACEOF
24260 /* end confdefs.h. */
24261 #include <$ac_header>
24262 _ACEOF
24263 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24264 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24265 ac_status=$?
24266 grep -v '^ *+' conftest.er1 >conftest.err
24267 rm -f conftest.er1
24268 cat conftest.err >&5
24269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24270 (exit $ac_status); } >/dev/null; then
24271 if test -s conftest.err; then
24272 ac_cpp_err=$ac_c_preproc_warn_flag
24273 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24274 else
24275 ac_cpp_err=
24276 fi
24277 else
24278 ac_cpp_err=yes
24279 fi
24280 if test -z "$ac_cpp_err"; then
24281 ac_header_preproc=yes
24282 else
24283 echo "$as_me: failed program was:" >&5
24284 sed 's/^/| /' conftest.$ac_ext >&5
24285
24286 ac_header_preproc=no
24287 fi
24288 rm -f conftest.err conftest.$ac_ext
24289 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24290 echo "${ECHO_T}$ac_header_preproc" >&6
24291
24292 # So? What about this header?
24293 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24294 yes:no: )
24295 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24296 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24297 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24298 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24299 ac_header_preproc=yes
24300 ;;
24301 no:yes:* )
24302 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24303 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24304 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24305 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24306 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24307 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24308 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24309 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24310 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24311 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24312 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24313 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24314 (
24315 cat <<\_ASBOX
24316 ## ----------------------------------------- ##
24317 ## Report this to wx-dev@lists.wxwidgets.org ##
24318 ## ----------------------------------------- ##
24319 _ASBOX
24320 ) |
24321 sed "s/^/$as_me: WARNING: /" >&2
24322 ;;
24323 esac
24324 echo "$as_me:$LINENO: checking for $ac_header" >&5
24325 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24326 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24327 echo $ECHO_N "(cached) $ECHO_C" >&6
24328 else
24329 eval "$as_ac_Header=\$ac_header_preproc"
24330 fi
24331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24332 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24333
24334 fi
24335 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24336 cat >>confdefs.h <<_ACEOF
24337 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24338 _ACEOF
24339
24340 fi
24341
24342 done
24343
24344 if test "${ac_cv_header_windows_h+set}" = set; then
24345 echo "$as_me:$LINENO: checking for windows.h" >&5
24346 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
24347 if test "${ac_cv_header_windows_h+set}" = set; then
24348 echo $ECHO_N "(cached) $ECHO_C" >&6
24349 fi
24350 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
24351 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
24352 else
24353 # Is the header compilable?
24354 echo "$as_me:$LINENO: checking windows.h usability" >&5
24355 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
24356 cat >conftest.$ac_ext <<_ACEOF
24357 /* confdefs.h. */
24358 _ACEOF
24359 cat confdefs.h >>conftest.$ac_ext
24360 cat >>conftest.$ac_ext <<_ACEOF
24361 /* end confdefs.h. */
24362 $ac_includes_default
24363 #include <windows.h>
24364 _ACEOF
24365 rm -f conftest.$ac_objext
24366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24367 (eval $ac_compile) 2>conftest.er1
24368 ac_status=$?
24369 grep -v '^ *+' conftest.er1 >conftest.err
24370 rm -f conftest.er1
24371 cat conftest.err >&5
24372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24373 (exit $ac_status); } &&
24374 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24376 (eval $ac_try) 2>&5
24377 ac_status=$?
24378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24379 (exit $ac_status); }; } &&
24380 { ac_try='test -s conftest.$ac_objext'
24381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24382 (eval $ac_try) 2>&5
24383 ac_status=$?
24384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24385 (exit $ac_status); }; }; then
24386 ac_header_compiler=yes
24387 else
24388 echo "$as_me: failed program was:" >&5
24389 sed 's/^/| /' conftest.$ac_ext >&5
24390
24391 ac_header_compiler=no
24392 fi
24393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24394 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24395 echo "${ECHO_T}$ac_header_compiler" >&6
24396
24397 # Is the header present?
24398 echo "$as_me:$LINENO: checking windows.h presence" >&5
24399 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
24400 cat >conftest.$ac_ext <<_ACEOF
24401 /* confdefs.h. */
24402 _ACEOF
24403 cat confdefs.h >>conftest.$ac_ext
24404 cat >>conftest.$ac_ext <<_ACEOF
24405 /* end confdefs.h. */
24406 #include <windows.h>
24407 _ACEOF
24408 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24409 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24410 ac_status=$?
24411 grep -v '^ *+' conftest.er1 >conftest.err
24412 rm -f conftest.er1
24413 cat conftest.err >&5
24414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24415 (exit $ac_status); } >/dev/null; then
24416 if test -s conftest.err; then
24417 ac_cpp_err=$ac_c_preproc_warn_flag
24418 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24419 else
24420 ac_cpp_err=
24421 fi
24422 else
24423 ac_cpp_err=yes
24424 fi
24425 if test -z "$ac_cpp_err"; then
24426 ac_header_preproc=yes
24427 else
24428 echo "$as_me: failed program was:" >&5
24429 sed 's/^/| /' conftest.$ac_ext >&5
24430
24431 ac_header_preproc=no
24432 fi
24433 rm -f conftest.err conftest.$ac_ext
24434 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24435 echo "${ECHO_T}$ac_header_preproc" >&6
24436
24437 # So? What about this header?
24438 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24439 yes:no: )
24440 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
24441 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24442 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
24443 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
24444 ac_header_preproc=yes
24445 ;;
24446 no:yes:* )
24447 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
24448 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
24449 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
24450 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
24451 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
24452 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
24453 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
24454 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
24455 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
24456 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
24457 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
24458 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
24459 (
24460 cat <<\_ASBOX
24461 ## ----------------------------------------- ##
24462 ## Report this to wx-dev@lists.wxwidgets.org ##
24463 ## ----------------------------------------- ##
24464 _ASBOX
24465 ) |
24466 sed "s/^/$as_me: WARNING: /" >&2
24467 ;;
24468 esac
24469 echo "$as_me:$LINENO: checking for windows.h" >&5
24470 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
24471 if test "${ac_cv_header_windows_h+set}" = set; then
24472 echo $ECHO_N "(cached) $ECHO_C" >&6
24473 else
24474 ac_cv_header_windows_h=$ac_header_preproc
24475 fi
24476 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
24477 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
24478
24479 fi
24480 if test $ac_cv_header_windows_h = yes; then
24481 :
24482 else
24483
24484 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
24485 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
24486 { (exit 1); exit 1; }; }
24487
24488 fi
24489
24490
24491
24492 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
24493
24494 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
24495 LIBS="$LIBS -loleacc"
24496 fi
24497
24498 case "${host}" in
24499 *-*-cygwin* )
24500 LIBS="$LIBS -lkernel32 -luser32"
24501 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
24502 esac
24503
24504 if test "$wxUSE_ODBC" = "sys" ; then
24505 wxUSE_ODBC = "yes"
24506 fi
24507 if test "$wxUSE_ODBC" = "yes" ; then
24508 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
24509 cat >>confdefs.h <<\_ACEOF
24510 #define wxUSE_ODBC 1
24511 _ACEOF
24512
24513 fi
24514
24515 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
24516 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
24517
24518 WIN32INSTALL=win32install
24519 fi
24520
24521 if test "$wxUSE_GUI" = "yes"; then
24522 USE_GUI=1
24523
24524 GUI_TK_LIBRARY=
24525
24526 WXGTK12=
24527 WXGTK127=
24528 WXGTK20=
24529 WXGPE=
24530
24531 if test "$wxUSE_COCOA" = 1 ; then
24532 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
24533 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
24534 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
24535 wxUSE_PRINTING_ARCHITECTURE=no
24536 fi
24537 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
24538 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
24539 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
24540 wxUSE_DRAG_AND_DROP=no
24541 fi
24542 if test "$wxUSE_DRAGIMAGE" = "yes"; then
24543 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
24544 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
24545 wxUSE_DRAGIMAGE=no
24546 fi
24547 fi
24548
24549 if test "$wxUSE_MSW" = 1 ; then
24550 TOOLKIT=MSW
24551 GUIDIST=MSW_DIST
24552
24553 case "${host}" in
24554 *-*-mingw32* )
24555 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
24556 esac
24557 fi
24558
24559 if test "$wxUSE_GTK" = 1; then
24560 echo "$as_me:$LINENO: checking for GTK+ version" >&5
24561 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
24562
24563 gtk_version_cached=1
24564 if test "${wx_cv_lib_gtk+set}" = set; then
24565 echo $ECHO_N "(cached) $ECHO_C" >&6
24566 else
24567
24568 gtk_version_cached=0
24569 echo "$as_me:$LINENO: result: " >&5
24570 echo "${ECHO_T}" >&6
24571
24572 GTK_MODULES=
24573 if test "$wxUSE_THREADS" = "yes"; then
24574 GTK_MODULES=gthread
24575 fi
24576
24577 wx_cv_lib_gtk=
24578 if test "x$wxGTK_VERSION" != "x1"; then
24579 # Check whether --enable-gtktest or --disable-gtktest was given.
24580 if test "${enable_gtktest+set}" = set; then
24581 enableval="$enable_gtktest"
24582
24583 else
24584 enable_gtktest=yes
24585 fi;
24586
24587 pkg_config_args=gtk+-2.0
24588 for module in . $GTK_MODULES
24589 do
24590 case "$module" in
24591 gthread)
24592 pkg_config_args="$pkg_config_args gthread-2.0"
24593 ;;
24594 esac
24595 done
24596
24597 no_gtk=""
24598
24599 # Extract the first word of "pkg-config", so it can be a program name with args.
24600 set dummy pkg-config; ac_word=$2
24601 echo "$as_me:$LINENO: checking for $ac_word" >&5
24602 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24603 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24604 echo $ECHO_N "(cached) $ECHO_C" >&6
24605 else
24606 case $PKG_CONFIG in
24607 [\\/]* | ?:[\\/]*)
24608 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24609 ;;
24610 *)
24611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24612 for as_dir in $PATH
24613 do
24614 IFS=$as_save_IFS
24615 test -z "$as_dir" && as_dir=.
24616 for ac_exec_ext in '' $ac_executable_extensions; do
24617 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24618 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24619 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24620 break 2
24621 fi
24622 done
24623 done
24624
24625 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
24626 ;;
24627 esac
24628 fi
24629 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24630
24631 if test -n "$PKG_CONFIG"; then
24632 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24633 echo "${ECHO_T}$PKG_CONFIG" >&6
24634 else
24635 echo "$as_me:$LINENO: result: no" >&5
24636 echo "${ECHO_T}no" >&6
24637 fi
24638
24639
24640 if test x$PKG_CONFIG != xno ; then
24641 if pkg-config --atleast-pkgconfig-version 0.7 ; then
24642 :
24643 else
24644 echo "*** pkg-config too old; version 0.7 or better required."
24645 no_gtk=yes
24646 PKG_CONFIG=no
24647 fi
24648 else
24649 no_gtk=yes
24650 fi
24651
24652 min_gtk_version=2.0.0
24653 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
24654 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
24655
24656 if test x$PKG_CONFIG != xno ; then
24657 ## don't try to run the test against uninstalled libtool libs
24658 if $PKG_CONFIG --uninstalled $pkg_config_args; then
24659 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
24660 enable_gtktest=no
24661 fi
24662
24663 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
24664 :
24665 else
24666 no_gtk=yes
24667 fi
24668 fi
24669
24670 if test x"$no_gtk" = x ; then
24671 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
24672 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
24673 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
24674 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24675 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
24676 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24677 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
24678 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24679 if test "x$enable_gtktest" = "xyes" ; then
24680 ac_save_CFLAGS="$CFLAGS"
24681 ac_save_LIBS="$LIBS"
24682 CFLAGS="$CFLAGS $GTK_CFLAGS"
24683 LIBS="$GTK_LIBS $LIBS"
24684 rm -f conf.gtktest
24685 if test "$cross_compiling" = yes; then
24686 echo $ac_n "cross compiling; assumed OK... $ac_c"
24687 else
24688 cat >conftest.$ac_ext <<_ACEOF
24689 /* confdefs.h. */
24690 _ACEOF
24691 cat confdefs.h >>conftest.$ac_ext
24692 cat >>conftest.$ac_ext <<_ACEOF
24693 /* end confdefs.h. */
24694
24695 #include <gtk/gtk.h>
24696 #include <stdio.h>
24697 #include <stdlib.h>
24698
24699 int
24700 main ()
24701 {
24702 int major, minor, micro;
24703 char *tmp_version;
24704
24705 system ("touch conf.gtktest");
24706
24707 /* HP/UX 9 (%@#!) writes to sscanf strings */
24708 tmp_version = g_strdup("$min_gtk_version");
24709 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
24710 printf("%s, bad version string\n", "$min_gtk_version");
24711 exit(1);
24712 }
24713
24714 if ((gtk_major_version != $gtk_config_major_version) ||
24715 (gtk_minor_version != $gtk_config_minor_version) ||
24716 (gtk_micro_version != $gtk_config_micro_version))
24717 {
24718 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24719 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24720 gtk_major_version, gtk_minor_version, gtk_micro_version);
24721 printf ("*** was found! If pkg-config was correct, then it is best\n");
24722 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24723 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24724 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24725 printf("*** required on your system.\n");
24726 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
24727 printf("*** to point to the correct configuration files\n");
24728 }
24729 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24730 (gtk_minor_version != GTK_MINOR_VERSION) ||
24731 (gtk_micro_version != GTK_MICRO_VERSION))
24732 {
24733 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24734 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24735 printf("*** library (version %d.%d.%d)\n",
24736 gtk_major_version, gtk_minor_version, gtk_micro_version);
24737 }
24738 else
24739 {
24740 if ((gtk_major_version > major) ||
24741 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24742 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24743 {
24744 return 0;
24745 }
24746 else
24747 {
24748 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24749 gtk_major_version, gtk_minor_version, gtk_micro_version);
24750 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24751 major, minor, micro);
24752 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24753 printf("***\n");
24754 printf("*** If you have already installed a sufficiently new version, this error\n");
24755 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
24756 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24757 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
24758 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
24759 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24760 printf("*** so that the correct libraries are found at run-time))\n");
24761 }
24762 }
24763 return 1;
24764 }
24765
24766 _ACEOF
24767 rm -f conftest$ac_exeext
24768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24769 (eval $ac_link) 2>&5
24770 ac_status=$?
24771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24772 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24774 (eval $ac_try) 2>&5
24775 ac_status=$?
24776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24777 (exit $ac_status); }; }; then
24778 :
24779 else
24780 echo "$as_me: program exited with status $ac_status" >&5
24781 echo "$as_me: failed program was:" >&5
24782 sed 's/^/| /' conftest.$ac_ext >&5
24783
24784 ( exit $ac_status )
24785 no_gtk=yes
24786 fi
24787 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24788 fi
24789 CFLAGS="$ac_save_CFLAGS"
24790 LIBS="$ac_save_LIBS"
24791 fi
24792 fi
24793 if test "x$no_gtk" = x ; then
24794 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
24795 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
24796 wx_cv_lib_gtk=2.0
24797 else
24798 echo "$as_me:$LINENO: result: no" >&5
24799 echo "${ECHO_T}no" >&6
24800 if test "$PKG_CONFIG" = "no" ; then
24801 echo "*** A new enough version of pkg-config was not found."
24802 echo "*** See http://pkgconfig.sourceforge.net"
24803 else
24804 if test -f conf.gtktest ; then
24805 :
24806 else
24807 echo "*** Could not run GTK+ test program, checking why..."
24808 ac_save_CFLAGS="$CFLAGS"
24809 ac_save_LIBS="$LIBS"
24810 CFLAGS="$CFLAGS $GTK_CFLAGS"
24811 LIBS="$LIBS $GTK_LIBS"
24812 cat >conftest.$ac_ext <<_ACEOF
24813 /* confdefs.h. */
24814 _ACEOF
24815 cat confdefs.h >>conftest.$ac_ext
24816 cat >>conftest.$ac_ext <<_ACEOF
24817 /* end confdefs.h. */
24818
24819 #include <gtk/gtk.h>
24820 #include <stdio.h>
24821
24822 int
24823 main ()
24824 {
24825 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24826 ;
24827 return 0;
24828 }
24829 _ACEOF
24830 rm -f conftest.$ac_objext conftest$ac_exeext
24831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24832 (eval $ac_link) 2>conftest.er1
24833 ac_status=$?
24834 grep -v '^ *+' conftest.er1 >conftest.err
24835 rm -f conftest.er1
24836 cat conftest.err >&5
24837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24838 (exit $ac_status); } &&
24839 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24841 (eval $ac_try) 2>&5
24842 ac_status=$?
24843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24844 (exit $ac_status); }; } &&
24845 { ac_try='test -s conftest$ac_exeext'
24846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24847 (eval $ac_try) 2>&5
24848 ac_status=$?
24849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24850 (exit $ac_status); }; }; then
24851 echo "*** The test program compiled, but did not run. This usually means"
24852 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
24853 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
24854 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24855 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24856 echo "*** is required on your system"
24857 echo "***"
24858 echo "*** If you have an old version installed, it is best to remove it, although"
24859 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24860 else
24861 echo "$as_me: failed program was:" >&5
24862 sed 's/^/| /' conftest.$ac_ext >&5
24863
24864 echo "*** The test program failed to compile or link. See the file config.log for the"
24865 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
24866 fi
24867 rm -f conftest.err conftest.$ac_objext \
24868 conftest$ac_exeext conftest.$ac_ext
24869 CFLAGS="$ac_save_CFLAGS"
24870 LIBS="$ac_save_LIBS"
24871 fi
24872 fi
24873 GTK_CFLAGS=""
24874 GTK_LIBS=""
24875 :
24876 fi
24877
24878
24879 rm -f conf.gtktest
24880
24881 fi
24882
24883 if test -z "$wx_cv_lib_gtk"; then
24884 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
24885
24886 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
24887 if test "${with_gtk_prefix+set}" = set; then
24888 withval="$with_gtk_prefix"
24889 gtk_config_prefix="$withval"
24890 else
24891 gtk_config_prefix=""
24892 fi;
24893
24894 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
24895 if test "${with_gtk_exec_prefix+set}" = set; then
24896 withval="$with_gtk_exec_prefix"
24897 gtk_config_exec_prefix="$withval"
24898 else
24899 gtk_config_exec_prefix=""
24900 fi;
24901 # Check whether --enable-gtktest or --disable-gtktest was given.
24902 if test "${enable_gtktest+set}" = set; then
24903 enableval="$enable_gtktest"
24904
24905 else
24906 enable_gtktest=yes
24907 fi;
24908
24909 for module in . $GTK_MODULES
24910 do
24911 case "$module" in
24912 gthread)
24913 gtk_config_args="$gtk_config_args gthread"
24914 ;;
24915 esac
24916 done
24917
24918 if test x$gtk_config_exec_prefix != x ; then
24919 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24920 if test x${GTK_CONFIG+set} != xset ; then
24921 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
24922 fi
24923 fi
24924 if test x$gtk_config_prefix != x ; then
24925 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
24926 if test x${GTK_CONFIG+set} != xset ; then
24927 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
24928 fi
24929 fi
24930
24931 # Extract the first word of "gtk-config", so it can be a program name with args.
24932 set dummy gtk-config; ac_word=$2
24933 echo "$as_me:$LINENO: checking for $ac_word" >&5
24934 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24935 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
24936 echo $ECHO_N "(cached) $ECHO_C" >&6
24937 else
24938 case $GTK_CONFIG in
24939 [\\/]* | ?:[\\/]*)
24940 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
24941 ;;
24942 *)
24943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24944 for as_dir in $PATH
24945 do
24946 IFS=$as_save_IFS
24947 test -z "$as_dir" && as_dir=.
24948 for ac_exec_ext in '' $ac_executable_extensions; do
24949 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24950 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24951 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24952 break 2
24953 fi
24954 done
24955 done
24956
24957 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
24958 ;;
24959 esac
24960 fi
24961 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
24962
24963 if test -n "$GTK_CONFIG"; then
24964 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
24965 echo "${ECHO_T}$GTK_CONFIG" >&6
24966 else
24967 echo "$as_me:$LINENO: result: no" >&5
24968 echo "${ECHO_T}no" >&6
24969 fi
24970
24971 min_gtk_version=1.2.7
24972 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
24973 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
24974 no_gtk=""
24975 if test "$GTK_CONFIG" = "no" ; then
24976 no_gtk=yes
24977 else
24978 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
24979 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
24980 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
24981 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24982 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
24983 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24984 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
24985 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24986 if test "x$enable_gtktest" = "xyes" ; then
24987 ac_save_CFLAGS="$CFLAGS"
24988 ac_save_LIBS="$LIBS"
24989 CFLAGS="$CFLAGS $GTK_CFLAGS"
24990 LIBS="$GTK_LIBS $LIBS"
24991 rm -f conf.gtktest
24992 if test "$cross_compiling" = yes; then
24993 echo $ac_n "cross compiling; assumed OK... $ac_c"
24994 else
24995 cat >conftest.$ac_ext <<_ACEOF
24996 /* confdefs.h. */
24997 _ACEOF
24998 cat confdefs.h >>conftest.$ac_ext
24999 cat >>conftest.$ac_ext <<_ACEOF
25000 /* end confdefs.h. */
25001
25002 #include <gtk/gtk.h>
25003 #include <stdio.h>
25004 #include <stdlib.h>
25005
25006 int
25007 main ()
25008 {
25009 int major, minor, micro;
25010 char *tmp_version;
25011
25012 system ("touch conf.gtktest");
25013
25014 /* HP/UX 9 (%@#!) writes to sscanf strings */
25015 tmp_version = g_strdup("$min_gtk_version");
25016 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
25017 printf("%s, bad version string\n", "$min_gtk_version");
25018 exit(1);
25019 }
25020
25021 if ((gtk_major_version != $gtk_config_major_version) ||
25022 (gtk_minor_version != $gtk_config_minor_version) ||
25023 (gtk_micro_version != $gtk_config_micro_version))
25024 {
25025 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
25026 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
25027 gtk_major_version, gtk_minor_version, gtk_micro_version);
25028 printf ("*** was found! If gtk-config was correct, then it is best\n");
25029 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
25030 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
25031 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
25032 printf("*** required on your system.\n");
25033 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
25034 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
25035 printf("*** before re-running configure\n");
25036 }
25037 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
25038 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
25039 (gtk_minor_version != GTK_MINOR_VERSION) ||
25040 (gtk_micro_version != GTK_MICRO_VERSION))
25041 {
25042 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
25043 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
25044 printf("*** library (version %d.%d.%d)\n",
25045 gtk_major_version, gtk_minor_version, gtk_micro_version);
25046 }
25047 #endif /* defined (GTK_MAJOR_VERSION) ... */
25048 else
25049 {
25050 if ((gtk_major_version > major) ||
25051 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
25052 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
25053 {
25054 return 0;
25055 }
25056 else
25057 {
25058 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
25059 gtk_major_version, gtk_minor_version, gtk_micro_version);
25060 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
25061 major, minor, micro);
25062 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
25063 printf("***\n");
25064 printf("*** If you have already installed a sufficiently new version, this error\n");
25065 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
25066 printf("*** being found. The easiest way to fix this is to remove the old version\n");
25067 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
25068 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
25069 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
25070 printf("*** so that the correct libraries are found at run-time))\n");
25071 }
25072 }
25073 return 1;
25074 }
25075
25076 _ACEOF
25077 rm -f conftest$ac_exeext
25078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25079 (eval $ac_link) 2>&5
25080 ac_status=$?
25081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25082 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25084 (eval $ac_try) 2>&5
25085 ac_status=$?
25086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25087 (exit $ac_status); }; }; then
25088 :
25089 else
25090 echo "$as_me: program exited with status $ac_status" >&5
25091 echo "$as_me: failed program was:" >&5
25092 sed 's/^/| /' conftest.$ac_ext >&5
25093
25094 ( exit $ac_status )
25095 no_gtk=yes
25096 fi
25097 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25098 fi
25099 CFLAGS="$ac_save_CFLAGS"
25100 LIBS="$ac_save_LIBS"
25101 fi
25102 fi
25103 if test "x$no_gtk" = x ; then
25104 echo "$as_me:$LINENO: result: yes" >&5
25105 echo "${ECHO_T}yes" >&6
25106 wx_cv_lib_gtk=1.2.7
25107 else
25108 echo "$as_me:$LINENO: result: no" >&5
25109 echo "${ECHO_T}no" >&6
25110 if test "$GTK_CONFIG" = "no" ; then
25111 echo "*** The gtk-config script installed by GTK could not be found"
25112 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
25113 echo "*** your path, or set the GTK_CONFIG environment variable to the"
25114 echo "*** full path to gtk-config."
25115 else
25116 if test -f conf.gtktest ; then
25117 :
25118 else
25119 echo "*** Could not run GTK test program, checking why..."
25120 CFLAGS="$CFLAGS $GTK_CFLAGS"
25121 LIBS="$LIBS $GTK_LIBS"
25122 cat >conftest.$ac_ext <<_ACEOF
25123 /* confdefs.h. */
25124 _ACEOF
25125 cat confdefs.h >>conftest.$ac_ext
25126 cat >>conftest.$ac_ext <<_ACEOF
25127 /* end confdefs.h. */
25128
25129 #include <gtk/gtk.h>
25130 #include <stdio.h>
25131
25132 int
25133 main ()
25134 {
25135 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
25136 ;
25137 return 0;
25138 }
25139 _ACEOF
25140 rm -f conftest.$ac_objext conftest$ac_exeext
25141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25142 (eval $ac_link) 2>conftest.er1
25143 ac_status=$?
25144 grep -v '^ *+' conftest.er1 >conftest.err
25145 rm -f conftest.er1
25146 cat conftest.err >&5
25147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25148 (exit $ac_status); } &&
25149 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25151 (eval $ac_try) 2>&5
25152 ac_status=$?
25153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25154 (exit $ac_status); }; } &&
25155 { ac_try='test -s conftest$ac_exeext'
25156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25157 (eval $ac_try) 2>&5
25158 ac_status=$?
25159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25160 (exit $ac_status); }; }; then
25161 echo "*** The test program compiled, but did not run. This usually means"
25162 echo "*** that the run-time linker is not finding GTK or finding the wrong"
25163 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
25164 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25165 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25166 echo "*** is required on your system"
25167 echo "***"
25168 echo "*** If you have an old version installed, it is best to remove it, although"
25169 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25170 echo "***"
25171 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
25172 echo "*** came with the system with the command"
25173 echo "***"
25174 echo "*** rpm --erase --nodeps gtk gtk-devel"
25175 else
25176 echo "$as_me: failed program was:" >&5
25177 sed 's/^/| /' conftest.$ac_ext >&5
25178
25179 echo "*** The test program failed to compile or link. See the file config.log for the"
25180 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
25181 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
25182 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
25183 fi
25184 rm -f conftest.err conftest.$ac_objext \
25185 conftest$ac_exeext conftest.$ac_ext
25186 CFLAGS="$ac_save_CFLAGS"
25187 LIBS="$ac_save_LIBS"
25188 fi
25189 fi
25190 GTK_CFLAGS=""
25191 GTK_LIBS=""
25192 :
25193 fi
25194
25195
25196 rm -f conf.gtktest
25197
25198
25199 if test -z "$wx_cv_lib_gtk"; then
25200
25201 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
25202 if test "${with_gtk_prefix+set}" = set; then
25203 withval="$with_gtk_prefix"
25204 gtk_config_prefix="$withval"
25205 else
25206 gtk_config_prefix=""
25207 fi;
25208
25209 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
25210 if test "${with_gtk_exec_prefix+set}" = set; then
25211 withval="$with_gtk_exec_prefix"
25212 gtk_config_exec_prefix="$withval"
25213 else
25214 gtk_config_exec_prefix=""
25215 fi;
25216 # Check whether --enable-gtktest or --disable-gtktest was given.
25217 if test "${enable_gtktest+set}" = set; then
25218 enableval="$enable_gtktest"
25219
25220 else
25221 enable_gtktest=yes
25222 fi;
25223
25224 for module in . $GTK_MODULES
25225 do
25226 case "$module" in
25227 gthread)
25228 gtk_config_args="$gtk_config_args gthread"
25229 ;;
25230 esac
25231 done
25232
25233 if test x$gtk_config_exec_prefix != x ; then
25234 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
25235 if test x${GTK_CONFIG+set} != xset ; then
25236 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
25237 fi
25238 fi
25239 if test x$gtk_config_prefix != x ; then
25240 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
25241 if test x${GTK_CONFIG+set} != xset ; then
25242 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
25243 fi
25244 fi
25245
25246 # Extract the first word of "gtk-config", so it can be a program name with args.
25247 set dummy gtk-config; ac_word=$2
25248 echo "$as_me:$LINENO: checking for $ac_word" >&5
25249 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25250 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
25251 echo $ECHO_N "(cached) $ECHO_C" >&6
25252 else
25253 case $GTK_CONFIG in
25254 [\\/]* | ?:[\\/]*)
25255 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
25256 ;;
25257 *)
25258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25259 for as_dir in $PATH
25260 do
25261 IFS=$as_save_IFS
25262 test -z "$as_dir" && as_dir=.
25263 for ac_exec_ext in '' $ac_executable_extensions; do
25264 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25265 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25266 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25267 break 2
25268 fi
25269 done
25270 done
25271
25272 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
25273 ;;
25274 esac
25275 fi
25276 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
25277
25278 if test -n "$GTK_CONFIG"; then
25279 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
25280 echo "${ECHO_T}$GTK_CONFIG" >&6
25281 else
25282 echo "$as_me:$LINENO: result: no" >&5
25283 echo "${ECHO_T}no" >&6
25284 fi
25285
25286 min_gtk_version=1.2.3
25287 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
25288 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
25289 no_gtk=""
25290 if test "$GTK_CONFIG" = "no" ; then
25291 no_gtk=yes
25292 else
25293 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
25294 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
25295 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
25296 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
25297 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
25298 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
25299 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
25300 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
25301 if test "x$enable_gtktest" = "xyes" ; then
25302 ac_save_CFLAGS="$CFLAGS"
25303 ac_save_LIBS="$LIBS"
25304 CFLAGS="$CFLAGS $GTK_CFLAGS"
25305 LIBS="$GTK_LIBS $LIBS"
25306 rm -f conf.gtktest
25307 if test "$cross_compiling" = yes; then
25308 echo $ac_n "cross compiling; assumed OK... $ac_c"
25309 else
25310 cat >conftest.$ac_ext <<_ACEOF
25311 /* confdefs.h. */
25312 _ACEOF
25313 cat confdefs.h >>conftest.$ac_ext
25314 cat >>conftest.$ac_ext <<_ACEOF
25315 /* end confdefs.h. */
25316
25317 #include <gtk/gtk.h>
25318 #include <stdio.h>
25319 #include <stdlib.h>
25320
25321 int
25322 main ()
25323 {
25324 int major, minor, micro;
25325 char *tmp_version;
25326
25327 system ("touch conf.gtktest");
25328
25329 /* HP/UX 9 (%@#!) writes to sscanf strings */
25330 tmp_version = g_strdup("$min_gtk_version");
25331 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
25332 printf("%s, bad version string\n", "$min_gtk_version");
25333 exit(1);
25334 }
25335
25336 if ((gtk_major_version != $gtk_config_major_version) ||
25337 (gtk_minor_version != $gtk_config_minor_version) ||
25338 (gtk_micro_version != $gtk_config_micro_version))
25339 {
25340 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
25341 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
25342 gtk_major_version, gtk_minor_version, gtk_micro_version);
25343 printf ("*** was found! If gtk-config was correct, then it is best\n");
25344 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
25345 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
25346 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
25347 printf("*** required on your system.\n");
25348 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
25349 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
25350 printf("*** before re-running configure\n");
25351 }
25352 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
25353 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
25354 (gtk_minor_version != GTK_MINOR_VERSION) ||
25355 (gtk_micro_version != GTK_MICRO_VERSION))
25356 {
25357 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
25358 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
25359 printf("*** library (version %d.%d.%d)\n",
25360 gtk_major_version, gtk_minor_version, gtk_micro_version);
25361 }
25362 #endif /* defined (GTK_MAJOR_VERSION) ... */
25363 else
25364 {
25365 if ((gtk_major_version > major) ||
25366 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
25367 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
25368 {
25369 return 0;
25370 }
25371 else
25372 {
25373 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
25374 gtk_major_version, gtk_minor_version, gtk_micro_version);
25375 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
25376 major, minor, micro);
25377 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
25378 printf("***\n");
25379 printf("*** If you have already installed a sufficiently new version, this error\n");
25380 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
25381 printf("*** being found. The easiest way to fix this is to remove the old version\n");
25382 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
25383 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
25384 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
25385 printf("*** so that the correct libraries are found at run-time))\n");
25386 }
25387 }
25388 return 1;
25389 }
25390
25391 _ACEOF
25392 rm -f conftest$ac_exeext
25393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25394 (eval $ac_link) 2>&5
25395 ac_status=$?
25396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25397 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25399 (eval $ac_try) 2>&5
25400 ac_status=$?
25401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25402 (exit $ac_status); }; }; then
25403 :
25404 else
25405 echo "$as_me: program exited with status $ac_status" >&5
25406 echo "$as_me: failed program was:" >&5
25407 sed 's/^/| /' conftest.$ac_ext >&5
25408
25409 ( exit $ac_status )
25410 no_gtk=yes
25411 fi
25412 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25413 fi
25414 CFLAGS="$ac_save_CFLAGS"
25415 LIBS="$ac_save_LIBS"
25416 fi
25417 fi
25418 if test "x$no_gtk" = x ; then
25419 echo "$as_me:$LINENO: result: yes" >&5
25420 echo "${ECHO_T}yes" >&6
25421 wx_cv_lib_gtk=1.2.3
25422 else
25423 echo "$as_me:$LINENO: result: no" >&5
25424 echo "${ECHO_T}no" >&6
25425 if test "$GTK_CONFIG" = "no" ; then
25426 echo "*** The gtk-config script installed by GTK could not be found"
25427 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
25428 echo "*** your path, or set the GTK_CONFIG environment variable to the"
25429 echo "*** full path to gtk-config."
25430 else
25431 if test -f conf.gtktest ; then
25432 :
25433 else
25434 echo "*** Could not run GTK test program, checking why..."
25435 CFLAGS="$CFLAGS $GTK_CFLAGS"
25436 LIBS="$LIBS $GTK_LIBS"
25437 cat >conftest.$ac_ext <<_ACEOF
25438 /* confdefs.h. */
25439 _ACEOF
25440 cat confdefs.h >>conftest.$ac_ext
25441 cat >>conftest.$ac_ext <<_ACEOF
25442 /* end confdefs.h. */
25443
25444 #include <gtk/gtk.h>
25445 #include <stdio.h>
25446
25447 int
25448 main ()
25449 {
25450 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
25451 ;
25452 return 0;
25453 }
25454 _ACEOF
25455 rm -f conftest.$ac_objext conftest$ac_exeext
25456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25457 (eval $ac_link) 2>conftest.er1
25458 ac_status=$?
25459 grep -v '^ *+' conftest.er1 >conftest.err
25460 rm -f conftest.er1
25461 cat conftest.err >&5
25462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25463 (exit $ac_status); } &&
25464 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25466 (eval $ac_try) 2>&5
25467 ac_status=$?
25468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25469 (exit $ac_status); }; } &&
25470 { ac_try='test -s conftest$ac_exeext'
25471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25472 (eval $ac_try) 2>&5
25473 ac_status=$?
25474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25475 (exit $ac_status); }; }; then
25476 echo "*** The test program compiled, but did not run. This usually means"
25477 echo "*** that the run-time linker is not finding GTK or finding the wrong"
25478 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
25479 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25480 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25481 echo "*** is required on your system"
25482 echo "***"
25483 echo "*** If you have an old version installed, it is best to remove it, although"
25484 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25485 echo "***"
25486 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
25487 echo "*** came with the system with the command"
25488 echo "***"
25489 echo "*** rpm --erase --nodeps gtk gtk-devel"
25490 else
25491 echo "$as_me: failed program was:" >&5
25492 sed 's/^/| /' conftest.$ac_ext >&5
25493
25494 echo "*** The test program failed to compile or link. See the file config.log for the"
25495 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
25496 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
25497 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
25498 fi
25499 rm -f conftest.err conftest.$ac_objext \
25500 conftest$ac_exeext conftest.$ac_ext
25501 CFLAGS="$ac_save_CFLAGS"
25502 LIBS="$ac_save_LIBS"
25503 fi
25504 fi
25505 GTK_CFLAGS=""
25506 GTK_LIBS=""
25507 :
25508 fi
25509
25510
25511 rm -f conf.gtktest
25512
25513 fi
25514 fi
25515 fi
25516
25517 if test -z "$wx_cv_lib_gtk"; then
25518 wx_cv_lib_gtk=none
25519 else
25520 wx_cv_cflags_gtk=$GTK_CFLAGS
25521 wx_cv_libs_gtk=$GTK_LIBS
25522 fi
25523
25524
25525 fi
25526
25527
25528 if test "$gtk_version_cached" = 1; then
25529 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
25530 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
25531 fi
25532
25533 case "$wx_cv_lib_gtk" in
25534 2.0) WXGTK20=1
25535 TOOLKIT_VERSION=2
25536 ;;
25537 1.2.7) WXGTK127=1
25538 WXGTK12=1
25539 ;;
25540 1.2.3) WXGTK12=1
25541 ;;
25542 *) { { echo "$as_me:$LINENO: error:
25543 The development files for GTK+ were not found. For GTK+ 2, please
25544 ensure that pkg-config is in the path and that gtk+-2.0.pc is
25545 installed. For GTK+ 1.2 please check that gtk-config is in the path,
25546 and that the version is 1.2.3 or above. Also check that the
25547 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
25548 --libs' are in the LD_LIBRARY_PATH or equivalent.
25549 " >&5
25550 echo "$as_me: error:
25551 The development files for GTK+ were not found. For GTK+ 2, please
25552 ensure that pkg-config is in the path and that gtk+-2.0.pc is
25553 installed. For GTK+ 1.2 please check that gtk-config is in the path,
25554 and that the version is 1.2.3 or above. Also check that the
25555 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
25556 --libs' are in the LD_LIBRARY_PATH or equivalent.
25557 " >&2;}
25558 { (exit 1); exit 1; }; }
25559 ;;
25560 esac
25561
25562 if test "$WXGTK20" = 1; then
25563 save_CFLAGS="$CFLAGS"
25564 save_LIBS="$LIBS"
25565 CFLAGS="$CFLAGS $wx_cv_cflags_gtk"
25566 LIBS="$LIBS $wx_cv_libs_gtk"
25567
25568
25569 for ac_func in pango_font_family_is_monospace
25570 do
25571 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25572 echo "$as_me:$LINENO: checking for $ac_func" >&5
25573 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25574 if eval "test \"\${$as_ac_var+set}\" = set"; then
25575 echo $ECHO_N "(cached) $ECHO_C" >&6
25576 else
25577 cat >conftest.$ac_ext <<_ACEOF
25578 /* confdefs.h. */
25579 _ACEOF
25580 cat confdefs.h >>conftest.$ac_ext
25581 cat >>conftest.$ac_ext <<_ACEOF
25582 /* end confdefs.h. */
25583 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25584 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25585 #define $ac_func innocuous_$ac_func
25586
25587 /* System header to define __stub macros and hopefully few prototypes,
25588 which can conflict with char $ac_func (); below.
25589 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25590 <limits.h> exists even on freestanding compilers. */
25591
25592 #ifdef __STDC__
25593 # include <limits.h>
25594 #else
25595 # include <assert.h>
25596 #endif
25597
25598 #undef $ac_func
25599
25600 /* Override any gcc2 internal prototype to avoid an error. */
25601 #ifdef __cplusplus
25602 extern "C"
25603 {
25604 #endif
25605 /* We use char because int might match the return type of a gcc2
25606 builtin and then its argument prototype would still apply. */
25607 char $ac_func ();
25608 /* The GNU C library defines this for functions which it implements
25609 to always fail with ENOSYS. Some functions are actually named
25610 something starting with __ and the normal name is an alias. */
25611 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25612 choke me
25613 #else
25614 char (*f) () = $ac_func;
25615 #endif
25616 #ifdef __cplusplus
25617 }
25618 #endif
25619
25620 int
25621 main ()
25622 {
25623 return f != $ac_func;
25624 ;
25625 return 0;
25626 }
25627 _ACEOF
25628 rm -f conftest.$ac_objext conftest$ac_exeext
25629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25630 (eval $ac_link) 2>conftest.er1
25631 ac_status=$?
25632 grep -v '^ *+' conftest.er1 >conftest.err
25633 rm -f conftest.er1
25634 cat conftest.err >&5
25635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25636 (exit $ac_status); } &&
25637 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25639 (eval $ac_try) 2>&5
25640 ac_status=$?
25641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25642 (exit $ac_status); }; } &&
25643 { ac_try='test -s conftest$ac_exeext'
25644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25645 (eval $ac_try) 2>&5
25646 ac_status=$?
25647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25648 (exit $ac_status); }; }; then
25649 eval "$as_ac_var=yes"
25650 else
25651 echo "$as_me: failed program was:" >&5
25652 sed 's/^/| /' conftest.$ac_ext >&5
25653
25654 eval "$as_ac_var=no"
25655 fi
25656 rm -f conftest.err conftest.$ac_objext \
25657 conftest$ac_exeext conftest.$ac_ext
25658 fi
25659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25660 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25661 if test `eval echo '${'$as_ac_var'}'` = yes; then
25662 cat >>confdefs.h <<_ACEOF
25663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25664 _ACEOF
25665
25666 fi
25667 done
25668
25669
25670 echo "$as_me:$LINENO: checking if gtk_icon_size_lookup is missing" >&5
25671 echo $ECHO_N "checking if gtk_icon_size_lookup is missing... $ECHO_C" >&6
25672 cat >conftest.$ac_ext <<_ACEOF
25673 /* confdefs.h. */
25674 _ACEOF
25675 cat confdefs.h >>conftest.$ac_ext
25676 cat >>conftest.$ac_ext <<_ACEOF
25677 /* end confdefs.h. */
25678
25679 #include <gtk/gtk.h>
25680
25681 int
25682 main ()
25683 {
25684
25685 void *f = gtk_icon_size_lookup;
25686
25687 ;
25688 return 0;
25689 }
25690 _ACEOF
25691 rm -f conftest.$ac_objext
25692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25693 (eval $ac_compile) 2>conftest.er1
25694 ac_status=$?
25695 grep -v '^ *+' conftest.er1 >conftest.err
25696 rm -f conftest.er1
25697 cat conftest.err >&5
25698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25699 (exit $ac_status); } &&
25700 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25702 (eval $ac_try) 2>&5
25703 ac_status=$?
25704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25705 (exit $ac_status); }; } &&
25706 { ac_try='test -s conftest.$ac_objext'
25707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25708 (eval $ac_try) 2>&5
25709 ac_status=$?
25710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25711 (exit $ac_status); }; }; then
25712
25713 echo "$as_me:$LINENO: result: no" >&5
25714 echo "${ECHO_T}no" >&6
25715
25716 else
25717 echo "$as_me: failed program was:" >&5
25718 sed 's/^/| /' conftest.$ac_ext >&5
25719
25720
25721 cat >>confdefs.h <<\_ACEOF
25722 #define NEED_GTK_ICON_SIZE_LOOKUP 1
25723 _ACEOF
25724
25725 echo "$as_me:$LINENO: result: yes" >&5
25726 echo "${ECHO_T}yes" >&6
25727
25728 fi
25729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25730
25731 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
25732 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
25733 cat >conftest.$ac_ext <<_ACEOF
25734 /* confdefs.h. */
25735 _ACEOF
25736 cat confdefs.h >>conftest.$ac_ext
25737 cat >>conftest.$ac_ext <<_ACEOF
25738 /* end confdefs.h. */
25739
25740 #include <gtk/gtk.h>
25741
25742 int
25743 main ()
25744 {
25745
25746 #if !GTK_CHECK_VERSION(2,4,0)
25747 #error "Not GTK+ 2.4"
25748 #endif
25749
25750 ;
25751 return 0;
25752 }
25753 _ACEOF
25754 rm -f conftest.$ac_objext
25755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25756 (eval $ac_compile) 2>conftest.er1
25757 ac_status=$?
25758 grep -v '^ *+' conftest.er1 >conftest.err
25759 rm -f conftest.er1
25760 cat conftest.err >&5
25761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25762 (exit $ac_status); } &&
25763 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25765 (eval $ac_try) 2>&5
25766 ac_status=$?
25767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25768 (exit $ac_status); }; } &&
25769 { ac_try='test -s conftest.$ac_objext'
25770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25771 (eval $ac_try) 2>&5
25772 ac_status=$?
25773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25774 (exit $ac_status); }; }; then
25775
25776 cat >>confdefs.h <<\_ACEOF
25777 #define __WXGTK24__ 1
25778 _ACEOF
25779
25780 echo "$as_me:$LINENO: result: yes" >&5
25781 echo "${ECHO_T}yes" >&6
25782
25783 else
25784 echo "$as_me: failed program was:" >&5
25785 sed 's/^/| /' conftest.$ac_ext >&5
25786
25787
25788 echo "$as_me:$LINENO: result: no" >&5
25789 echo "${ECHO_T}no" >&6
25790
25791 fi
25792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25793
25794 CFLAGS="$save_CFLAGS"
25795 LIBS="$save_LIBS"
25796 else
25797 if test "$wxUSE_UNICODE" = "yes"; then
25798 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
25799 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
25800 wxUSE_UNICODE=no
25801 fi
25802 fi
25803
25804 if test "$USE_DARWIN" != 1; then
25805
25806 for ac_func in poll
25807 do
25808 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25809 echo "$as_me:$LINENO: checking for $ac_func" >&5
25810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25811 if eval "test \"\${$as_ac_var+set}\" = set"; then
25812 echo $ECHO_N "(cached) $ECHO_C" >&6
25813 else
25814 cat >conftest.$ac_ext <<_ACEOF
25815 /* confdefs.h. */
25816 _ACEOF
25817 cat confdefs.h >>conftest.$ac_ext
25818 cat >>conftest.$ac_ext <<_ACEOF
25819 /* end confdefs.h. */
25820 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25821 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25822 #define $ac_func innocuous_$ac_func
25823
25824 /* System header to define __stub macros and hopefully few prototypes,
25825 which can conflict with char $ac_func (); below.
25826 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25827 <limits.h> exists even on freestanding compilers. */
25828
25829 #ifdef __STDC__
25830 # include <limits.h>
25831 #else
25832 # include <assert.h>
25833 #endif
25834
25835 #undef $ac_func
25836
25837 /* Override any gcc2 internal prototype to avoid an error. */
25838 #ifdef __cplusplus
25839 extern "C"
25840 {
25841 #endif
25842 /* We use char because int might match the return type of a gcc2
25843 builtin and then its argument prototype would still apply. */
25844 char $ac_func ();
25845 /* The GNU C library defines this for functions which it implements
25846 to always fail with ENOSYS. Some functions are actually named
25847 something starting with __ and the normal name is an alias. */
25848 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25849 choke me
25850 #else
25851 char (*f) () = $ac_func;
25852 #endif
25853 #ifdef __cplusplus
25854 }
25855 #endif
25856
25857 int
25858 main ()
25859 {
25860 return f != $ac_func;
25861 ;
25862 return 0;
25863 }
25864 _ACEOF
25865 rm -f conftest.$ac_objext conftest$ac_exeext
25866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25867 (eval $ac_link) 2>conftest.er1
25868 ac_status=$?
25869 grep -v '^ *+' conftest.er1 >conftest.err
25870 rm -f conftest.er1
25871 cat conftest.err >&5
25872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25873 (exit $ac_status); } &&
25874 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25876 (eval $ac_try) 2>&5
25877 ac_status=$?
25878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25879 (exit $ac_status); }; } &&
25880 { ac_try='test -s conftest$ac_exeext'
25881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25882 (eval $ac_try) 2>&5
25883 ac_status=$?
25884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25885 (exit $ac_status); }; }; then
25886 eval "$as_ac_var=yes"
25887 else
25888 echo "$as_me: failed program was:" >&5
25889 sed 's/^/| /' conftest.$ac_ext >&5
25890
25891 eval "$as_ac_var=no"
25892 fi
25893 rm -f conftest.err conftest.$ac_objext \
25894 conftest$ac_exeext conftest.$ac_ext
25895 fi
25896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25897 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25898 if test `eval echo '${'$as_ac_var'}'` = yes; then
25899 cat >>confdefs.h <<_ACEOF
25900 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25901 _ACEOF
25902
25903 fi
25904 done
25905
25906 fi
25907
25908 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
25909 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
25910
25911 AFMINSTALL=afminstall
25912 TOOLKIT=GTK
25913 GUIDIST=GTK_DIST
25914
25915 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
25916 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
25917 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
25918 echo $ECHO_N "(cached) $ECHO_C" >&6
25919 else
25920 ac_check_lib_save_LIBS=$LIBS
25921 LIBS="-lgdk $LIBS"
25922 cat >conftest.$ac_ext <<_ACEOF
25923 /* confdefs.h. */
25924 _ACEOF
25925 cat confdefs.h >>conftest.$ac_ext
25926 cat >>conftest.$ac_ext <<_ACEOF
25927 /* end confdefs.h. */
25928
25929 /* Override any gcc2 internal prototype to avoid an error. */
25930 #ifdef __cplusplus
25931 extern "C"
25932 #endif
25933 /* We use char because int might match the return type of a gcc2
25934 builtin and then its argument prototype would still apply. */
25935 char gdk_im_open ();
25936 int
25937 main ()
25938 {
25939 gdk_im_open ();
25940 ;
25941 return 0;
25942 }
25943 _ACEOF
25944 rm -f conftest.$ac_objext conftest$ac_exeext
25945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25946 (eval $ac_link) 2>conftest.er1
25947 ac_status=$?
25948 grep -v '^ *+' conftest.er1 >conftest.err
25949 rm -f conftest.er1
25950 cat conftest.err >&5
25951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25952 (exit $ac_status); } &&
25953 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25955 (eval $ac_try) 2>&5
25956 ac_status=$?
25957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25958 (exit $ac_status); }; } &&
25959 { ac_try='test -s conftest$ac_exeext'
25960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25961 (eval $ac_try) 2>&5
25962 ac_status=$?
25963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25964 (exit $ac_status); }; }; then
25965 ac_cv_lib_gdk_gdk_im_open=yes
25966 else
25967 echo "$as_me: failed program was:" >&5
25968 sed 's/^/| /' conftest.$ac_ext >&5
25969
25970 ac_cv_lib_gdk_gdk_im_open=no
25971 fi
25972 rm -f conftest.err conftest.$ac_objext \
25973 conftest$ac_exeext conftest.$ac_ext
25974 LIBS=$ac_check_lib_save_LIBS
25975 fi
25976 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
25977 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
25978 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
25979 cat >>confdefs.h <<\_ACEOF
25980 #define HAVE_XIM 1
25981 _ACEOF
25982
25983 fi
25984
25985
25986
25987 if test "$wxUSE_GPE" = "yes"; then
25988 echo "$as_me:$LINENO: checking for gpewidget library" >&5
25989 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
25990
25991 ac_find_libraries=
25992 for ac_dir in $SEARCH_LIB /usr/lib;
25993 do
25994 for ac_extension in a so sl dylib dll.a; do
25995 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
25996 ac_find_libraries=$ac_dir
25997 break 2
25998 fi
25999 done
26000 done
26001
26002 if test "$ac_find_libraries" != "" ; then
26003
26004 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26005 result=$?
26006 if test $result = 0; then
26007 ac_path_to_link=""
26008 else
26009 ac_path_to_link=" -L$ac_find_libraries"
26010 fi
26011
26012 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
26013 WXGPE=1
26014 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26015 echo "${ECHO_T}found at $ac_find_libraries" >&6
26016 else
26017 echo "$as_me:$LINENO: result: not found" >&5
26018 echo "${ECHO_T}not found" >&6
26019 fi
26020
26021 fi
26022 fi
26023
26024 if test "$wxUSE_MGL" = 1; then
26025 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
26026 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
26027 if test "x$MGL_ROOT" = x ; then
26028 echo "$as_me:$LINENO: result: not found" >&5
26029 echo "${ECHO_T}not found" >&6
26030 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
26031 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
26032 { (exit 1); exit 1; }; }
26033 else
26034 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
26035 echo "${ECHO_T}$MGL_ROOT" >&6
26036 fi
26037
26038 echo "$as_me:$LINENO: checking for libmgl location" >&5
26039 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
26040 case "${host}" in
26041 *-*-linux* )
26042 if test "x$wxUSE_SHARED" = xyes ; then
26043 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
26044 else
26045 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
26046 fi
26047 ;;
26048 *-pc-msdosdjgpp )
26049 mgl_os_candidates="dos32/dj2"
26050 ;;
26051 *)
26052 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
26053 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
26054 { (exit 1); exit 1; }; }
26055 esac
26056
26057 mgl_lib_type=""
26058 mgl_os=""
26059
26060 for mgl_os_i in $mgl_os_candidates ; do
26061 if test "x$mgl_os" = x ; then
26062 if test "$wxUSE_DEBUG_FLAG" = yes ; then
26063 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
26064 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
26065 mgl_lib_type=debug
26066 mgl_os=$mgl_os_i
26067 fi
26068 fi
26069 if test "x$mgl_lib_type" = x ; then
26070 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
26071 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
26072 mgl_lib_type=release
26073 mgl_os=$mgl_os_i
26074 fi
26075 fi
26076 fi
26077 done
26078
26079 if test "x$mgl_os" = x ; then
26080 echo "$as_me:$LINENO: result: not found" >&5
26081 echo "${ECHO_T}not found" >&6
26082 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
26083 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
26084 { (exit 1); exit 1; }; }
26085 fi
26086 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
26087 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
26088
26089 wxUSE_UNIVERSAL="yes"
26090
26091 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
26092 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
26093
26094 AFMINSTALL=afminstall
26095 TOOLKIT=MGL
26096 GUIDIST=MGL_DIST
26097 fi
26098
26099 if test "$wxUSE_MICROWIN" = 1; then
26100 echo "$as_me:$LINENO: checking for MicroWindows" >&5
26101 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
26102 if test "x$MICROWINDOWS" = x ; then
26103 echo "$as_me:$LINENO: result: not found" >&5
26104 echo "${ECHO_T}not found" >&6
26105 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
26106 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
26107 { (exit 1); exit 1; }; }
26108 else
26109 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
26110 echo "${ECHO_T}$MICROWINDOWS" >&6
26111 fi
26112
26113 if test -f $MICROWINDOWS/lib/libmwin.a; then
26114 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
26115 echo "${ECHO_T}MicroWindows' libraries found." >&6
26116 else
26117 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
26118 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
26119 { (exit 1); exit 1; }; }
26120 fi
26121
26122 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
26123 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
26124
26125 wxUSE_UNIVERSAL="yes"
26126
26127 AFMINSTALL=afminstall
26128 TOOLKIT=MICROWIN
26129 GUIDIST=MICROWIN_DIST
26130
26131 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
26132 fi
26133
26134 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26135
26136 if test "x$ac_path_x_has_been_run" != xyes; then
26137 echo "$as_me:$LINENO: checking for X" >&5
26138 echo $ECHO_N "checking for X... $ECHO_C" >&6
26139
26140 ac_path_x_has_been_run=yes
26141
26142 # Check whether --with-x or --without-x was given.
26143 if test "${with_x+set}" = set; then
26144 withval="$with_x"
26145
26146 fi;
26147 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
26148 if test "x$with_x" = xno; then
26149 # The user explicitly disabled X.
26150 have_x=disabled
26151 else
26152 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
26153 # Both variables are already set.
26154 have_x=yes
26155 else
26156 if test "${ac_cv_have_x+set}" = set; then
26157 echo $ECHO_N "(cached) $ECHO_C" >&6
26158 else
26159 # One or both of the vars are not set, and there is no cached value.
26160 ac_x_includes=no ac_x_libraries=no
26161 rm -fr conftest.dir
26162 if mkdir conftest.dir; then
26163 cd conftest.dir
26164 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
26165 cat >Imakefile <<'_ACEOF'
26166 acfindx:
26167 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
26168 _ACEOF
26169 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
26170 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
26171 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
26172 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
26173 for ac_extension in a so sl; do
26174 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
26175 test -f $ac_im_libdir/libX11.$ac_extension; then
26176 ac_im_usrlibdir=$ac_im_libdir; break
26177 fi
26178 done
26179 # Screen out bogus values from the imake configuration. They are
26180 # bogus both because they are the default anyway, and because
26181 # using them would break gcc on systems where it needs fixed includes.
26182 case $ac_im_incroot in
26183 /usr/include) ;;
26184 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
26185 esac
26186 case $ac_im_usrlibdir in
26187 /usr/lib | /lib) ;;
26188 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
26189 esac
26190 fi
26191 cd ..
26192 rm -fr conftest.dir
26193 fi
26194
26195 # Standard set of common directories for X headers.
26196 # Check X11 before X11Rn because it is often a symlink to the current release.
26197 ac_x_header_dirs='
26198 /usr/X11/include
26199 /usr/X11R6/include
26200 /usr/X11R5/include
26201 /usr/X11R4/include
26202
26203 /usr/include/X11
26204 /usr/include/X11R6
26205 /usr/include/X11R5
26206 /usr/include/X11R4
26207
26208 /usr/local/X11/include
26209 /usr/local/X11R6/include
26210 /usr/local/X11R5/include
26211 /usr/local/X11R4/include
26212
26213 /usr/local/include/X11
26214 /usr/local/include/X11R6
26215 /usr/local/include/X11R5
26216 /usr/local/include/X11R4
26217
26218 /usr/X386/include
26219 /usr/x386/include
26220 /usr/XFree86/include/X11
26221
26222 /usr/include
26223 /usr/local/include
26224 /usr/unsupported/include
26225 /usr/athena/include
26226 /usr/local/x11r5/include
26227 /usr/lpp/Xamples/include
26228
26229 /usr/openwin/include
26230 /usr/openwin/share/include'
26231
26232 if test "$ac_x_includes" = no; then
26233 # Guess where to find include files, by looking for a specified header file.
26234 # First, try using that file with no special directory specified.
26235 cat >conftest.$ac_ext <<_ACEOF
26236 /* confdefs.h. */
26237 _ACEOF
26238 cat confdefs.h >>conftest.$ac_ext
26239 cat >>conftest.$ac_ext <<_ACEOF
26240 /* end confdefs.h. */
26241 #include <X11/Intrinsic.h>
26242 _ACEOF
26243 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26244 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26245 ac_status=$?
26246 grep -v '^ *+' conftest.er1 >conftest.err
26247 rm -f conftest.er1
26248 cat conftest.err >&5
26249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26250 (exit $ac_status); } >/dev/null; then
26251 if test -s conftest.err; then
26252 ac_cpp_err=$ac_c_preproc_warn_flag
26253 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26254 else
26255 ac_cpp_err=
26256 fi
26257 else
26258 ac_cpp_err=yes
26259 fi
26260 if test -z "$ac_cpp_err"; then
26261 # We can compile using X headers with no special include directory.
26262 ac_x_includes=
26263 else
26264 echo "$as_me: failed program was:" >&5
26265 sed 's/^/| /' conftest.$ac_ext >&5
26266
26267 for ac_dir in $ac_x_header_dirs; do
26268 if test -r "$ac_dir/X11/Intrinsic.h"; then
26269 ac_x_includes=$ac_dir
26270 break
26271 fi
26272 done
26273 fi
26274 rm -f conftest.err conftest.$ac_ext
26275 fi # $ac_x_includes = no
26276
26277 if test "$ac_x_libraries" = no; then
26278 # Check for the libraries.
26279 # See if we find them without any special options.
26280 # Don't add to $LIBS permanently.
26281 ac_save_LIBS=$LIBS
26282 LIBS="-lXt $LIBS"
26283 cat >conftest.$ac_ext <<_ACEOF
26284 /* confdefs.h. */
26285 _ACEOF
26286 cat confdefs.h >>conftest.$ac_ext
26287 cat >>conftest.$ac_ext <<_ACEOF
26288 /* end confdefs.h. */
26289 #include <X11/Intrinsic.h>
26290 int
26291 main ()
26292 {
26293 XtMalloc (0)
26294 ;
26295 return 0;
26296 }
26297 _ACEOF
26298 rm -f conftest.$ac_objext conftest$ac_exeext
26299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26300 (eval $ac_link) 2>conftest.er1
26301 ac_status=$?
26302 grep -v '^ *+' conftest.er1 >conftest.err
26303 rm -f conftest.er1
26304 cat conftest.err >&5
26305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26306 (exit $ac_status); } &&
26307 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26309 (eval $ac_try) 2>&5
26310 ac_status=$?
26311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26312 (exit $ac_status); }; } &&
26313 { ac_try='test -s conftest$ac_exeext'
26314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26315 (eval $ac_try) 2>&5
26316 ac_status=$?
26317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26318 (exit $ac_status); }; }; then
26319 LIBS=$ac_save_LIBS
26320 # We can link X programs with no special library path.
26321 ac_x_libraries=
26322 else
26323 echo "$as_me: failed program was:" >&5
26324 sed 's/^/| /' conftest.$ac_ext >&5
26325
26326 LIBS=$ac_save_LIBS
26327 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
26328 do
26329 # Don't even attempt the hair of trying to link an X program!
26330 for ac_extension in a so sl; do
26331 if test -r $ac_dir/libXt.$ac_extension; then
26332 ac_x_libraries=$ac_dir
26333 break 2
26334 fi
26335 done
26336 done
26337 fi
26338 rm -f conftest.err conftest.$ac_objext \
26339 conftest$ac_exeext conftest.$ac_ext
26340 fi # $ac_x_libraries = no
26341
26342 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
26343 # Didn't find X anywhere. Cache the known absence of X.
26344 ac_cv_have_x="have_x=no"
26345 else
26346 # Record where we found X for the cache.
26347 ac_cv_have_x="have_x=yes \
26348 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
26349 fi
26350 fi
26351
26352 fi
26353 eval "$ac_cv_have_x"
26354 fi # $with_x != no
26355
26356 if test "$have_x" != yes; then
26357 echo "$as_me:$LINENO: result: $have_x" >&5
26358 echo "${ECHO_T}$have_x" >&6
26359 no_x=yes
26360 else
26361 # If each of the values was on the command line, it overrides each guess.
26362 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
26363 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
26364 # Update the cache value to reflect the command line values.
26365 ac_cv_have_x="have_x=yes \
26366 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
26367 # It might be that x_includes is empty (headers are found in the
26368 # standard search path. Then output the corresponding message
26369 ac_out_x_includes=$x_includes
26370 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
26371 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
26372 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
26373 fi
26374
26375 fi
26376 if test "$no_x" = yes; then
26377 # Not all programs may use this symbol, but it does not hurt to define it.
26378
26379 cat >>confdefs.h <<\_ACEOF
26380 #define X_DISPLAY_MISSING 1
26381 _ACEOF
26382
26383 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
26384 else
26385 if test -n "$x_includes"; then
26386 X_CFLAGS="$X_CFLAGS -I$x_includes"
26387 fi
26388
26389 # It would also be nice to do this for all -L options, not just this one.
26390 if test -n "$x_libraries"; then
26391 X_LIBS="$X_LIBS -L$x_libraries"
26392 # For Solaris; some versions of Sun CC require a space after -R and
26393 # others require no space. Words are not sufficient . . . .
26394 case `(uname -sr) 2>/dev/null` in
26395 "SunOS 5"*)
26396 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
26397 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
26398 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
26399 cat >conftest.$ac_ext <<_ACEOF
26400 /* confdefs.h. */
26401 _ACEOF
26402 cat confdefs.h >>conftest.$ac_ext
26403 cat >>conftest.$ac_ext <<_ACEOF
26404 /* end confdefs.h. */
26405
26406 int
26407 main ()
26408 {
26409
26410 ;
26411 return 0;
26412 }
26413 _ACEOF
26414 rm -f conftest.$ac_objext conftest$ac_exeext
26415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26416 (eval $ac_link) 2>conftest.er1
26417 ac_status=$?
26418 grep -v '^ *+' conftest.er1 >conftest.err
26419 rm -f conftest.er1
26420 cat conftest.err >&5
26421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26422 (exit $ac_status); } &&
26423 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26425 (eval $ac_try) 2>&5
26426 ac_status=$?
26427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26428 (exit $ac_status); }; } &&
26429 { ac_try='test -s conftest$ac_exeext'
26430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26431 (eval $ac_try) 2>&5
26432 ac_status=$?
26433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26434 (exit $ac_status); }; }; then
26435 ac_R_nospace=yes
26436 else
26437 echo "$as_me: failed program was:" >&5
26438 sed 's/^/| /' conftest.$ac_ext >&5
26439
26440 ac_R_nospace=no
26441 fi
26442 rm -f conftest.err conftest.$ac_objext \
26443 conftest$ac_exeext conftest.$ac_ext
26444 if test $ac_R_nospace = yes; then
26445 echo "$as_me:$LINENO: result: no" >&5
26446 echo "${ECHO_T}no" >&6
26447 X_LIBS="$X_LIBS -R$x_libraries"
26448 else
26449 LIBS="$ac_xsave_LIBS -R $x_libraries"
26450 cat >conftest.$ac_ext <<_ACEOF
26451 /* confdefs.h. */
26452 _ACEOF
26453 cat confdefs.h >>conftest.$ac_ext
26454 cat >>conftest.$ac_ext <<_ACEOF
26455 /* end confdefs.h. */
26456
26457 int
26458 main ()
26459 {
26460
26461 ;
26462 return 0;
26463 }
26464 _ACEOF
26465 rm -f conftest.$ac_objext conftest$ac_exeext
26466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26467 (eval $ac_link) 2>conftest.er1
26468 ac_status=$?
26469 grep -v '^ *+' conftest.er1 >conftest.err
26470 rm -f conftest.er1
26471 cat conftest.err >&5
26472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26473 (exit $ac_status); } &&
26474 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26476 (eval $ac_try) 2>&5
26477 ac_status=$?
26478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26479 (exit $ac_status); }; } &&
26480 { ac_try='test -s conftest$ac_exeext'
26481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26482 (eval $ac_try) 2>&5
26483 ac_status=$?
26484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26485 (exit $ac_status); }; }; then
26486 ac_R_space=yes
26487 else
26488 echo "$as_me: failed program was:" >&5
26489 sed 's/^/| /' conftest.$ac_ext >&5
26490
26491 ac_R_space=no
26492 fi
26493 rm -f conftest.err conftest.$ac_objext \
26494 conftest$ac_exeext conftest.$ac_ext
26495 if test $ac_R_space = yes; then
26496 echo "$as_me:$LINENO: result: yes" >&5
26497 echo "${ECHO_T}yes" >&6
26498 X_LIBS="$X_LIBS -R $x_libraries"
26499 else
26500 echo "$as_me:$LINENO: result: neither works" >&5
26501 echo "${ECHO_T}neither works" >&6
26502 fi
26503 fi
26504 LIBS=$ac_xsave_LIBS
26505 esac
26506 fi
26507
26508 # Check for system-dependent libraries X programs must link with.
26509 # Do this before checking for the system-independent R6 libraries
26510 # (-lICE), since we may need -lsocket or whatever for X linking.
26511
26512 if test "$ISC" = yes; then
26513 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
26514 else
26515 # Martyn Johnson says this is needed for Ultrix, if the X
26516 # libraries were built with DECnet support. And Karl Berry says
26517 # the Alpha needs dnet_stub (dnet does not exist).
26518 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
26519 cat >conftest.$ac_ext <<_ACEOF
26520 /* confdefs.h. */
26521 _ACEOF
26522 cat confdefs.h >>conftest.$ac_ext
26523 cat >>conftest.$ac_ext <<_ACEOF
26524 /* end confdefs.h. */
26525
26526 /* Override any gcc2 internal prototype to avoid an error. */
26527 #ifdef __cplusplus
26528 extern "C"
26529 #endif
26530 /* We use char because int might match the return type of a gcc2
26531 builtin and then its argument prototype would still apply. */
26532 char XOpenDisplay ();
26533 int
26534 main ()
26535 {
26536 XOpenDisplay ();
26537 ;
26538 return 0;
26539 }
26540 _ACEOF
26541 rm -f conftest.$ac_objext conftest$ac_exeext
26542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26543 (eval $ac_link) 2>conftest.er1
26544 ac_status=$?
26545 grep -v '^ *+' conftest.er1 >conftest.err
26546 rm -f conftest.er1
26547 cat conftest.err >&5
26548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26549 (exit $ac_status); } &&
26550 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26552 (eval $ac_try) 2>&5
26553 ac_status=$?
26554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26555 (exit $ac_status); }; } &&
26556 { ac_try='test -s conftest$ac_exeext'
26557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26558 (eval $ac_try) 2>&5
26559 ac_status=$?
26560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26561 (exit $ac_status); }; }; then
26562 :
26563 else
26564 echo "$as_me: failed program was:" >&5
26565 sed 's/^/| /' conftest.$ac_ext >&5
26566
26567 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
26568 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
26569 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
26570 echo $ECHO_N "(cached) $ECHO_C" >&6
26571 else
26572 ac_check_lib_save_LIBS=$LIBS
26573 LIBS="-ldnet $LIBS"
26574 cat >conftest.$ac_ext <<_ACEOF
26575 /* confdefs.h. */
26576 _ACEOF
26577 cat confdefs.h >>conftest.$ac_ext
26578 cat >>conftest.$ac_ext <<_ACEOF
26579 /* end confdefs.h. */
26580
26581 /* Override any gcc2 internal prototype to avoid an error. */
26582 #ifdef __cplusplus
26583 extern "C"
26584 #endif
26585 /* We use char because int might match the return type of a gcc2
26586 builtin and then its argument prototype would still apply. */
26587 char dnet_ntoa ();
26588 int
26589 main ()
26590 {
26591 dnet_ntoa ();
26592 ;
26593 return 0;
26594 }
26595 _ACEOF
26596 rm -f conftest.$ac_objext conftest$ac_exeext
26597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26598 (eval $ac_link) 2>conftest.er1
26599 ac_status=$?
26600 grep -v '^ *+' conftest.er1 >conftest.err
26601 rm -f conftest.er1
26602 cat conftest.err >&5
26603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26604 (exit $ac_status); } &&
26605 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26607 (eval $ac_try) 2>&5
26608 ac_status=$?
26609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26610 (exit $ac_status); }; } &&
26611 { ac_try='test -s conftest$ac_exeext'
26612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26613 (eval $ac_try) 2>&5
26614 ac_status=$?
26615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26616 (exit $ac_status); }; }; then
26617 ac_cv_lib_dnet_dnet_ntoa=yes
26618 else
26619 echo "$as_me: failed program was:" >&5
26620 sed 's/^/| /' conftest.$ac_ext >&5
26621
26622 ac_cv_lib_dnet_dnet_ntoa=no
26623 fi
26624 rm -f conftest.err conftest.$ac_objext \
26625 conftest$ac_exeext conftest.$ac_ext
26626 LIBS=$ac_check_lib_save_LIBS
26627 fi
26628 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
26629 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
26630 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
26631 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
26632 fi
26633
26634 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
26635 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
26636 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
26637 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
26638 echo $ECHO_N "(cached) $ECHO_C" >&6
26639 else
26640 ac_check_lib_save_LIBS=$LIBS
26641 LIBS="-ldnet_stub $LIBS"
26642 cat >conftest.$ac_ext <<_ACEOF
26643 /* confdefs.h. */
26644 _ACEOF
26645 cat confdefs.h >>conftest.$ac_ext
26646 cat >>conftest.$ac_ext <<_ACEOF
26647 /* end confdefs.h. */
26648
26649 /* Override any gcc2 internal prototype to avoid an error. */
26650 #ifdef __cplusplus
26651 extern "C"
26652 #endif
26653 /* We use char because int might match the return type of a gcc2
26654 builtin and then its argument prototype would still apply. */
26655 char dnet_ntoa ();
26656 int
26657 main ()
26658 {
26659 dnet_ntoa ();
26660 ;
26661 return 0;
26662 }
26663 _ACEOF
26664 rm -f conftest.$ac_objext conftest$ac_exeext
26665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26666 (eval $ac_link) 2>conftest.er1
26667 ac_status=$?
26668 grep -v '^ *+' conftest.er1 >conftest.err
26669 rm -f conftest.er1
26670 cat conftest.err >&5
26671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26672 (exit $ac_status); } &&
26673 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26675 (eval $ac_try) 2>&5
26676 ac_status=$?
26677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26678 (exit $ac_status); }; } &&
26679 { ac_try='test -s conftest$ac_exeext'
26680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26681 (eval $ac_try) 2>&5
26682 ac_status=$?
26683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26684 (exit $ac_status); }; }; then
26685 ac_cv_lib_dnet_stub_dnet_ntoa=yes
26686 else
26687 echo "$as_me: failed program was:" >&5
26688 sed 's/^/| /' conftest.$ac_ext >&5
26689
26690 ac_cv_lib_dnet_stub_dnet_ntoa=no
26691 fi
26692 rm -f conftest.err conftest.$ac_objext \
26693 conftest$ac_exeext conftest.$ac_ext
26694 LIBS=$ac_check_lib_save_LIBS
26695 fi
26696 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
26697 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
26698 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
26699 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
26700 fi
26701
26702 fi
26703 fi
26704 rm -f conftest.err conftest.$ac_objext \
26705 conftest$ac_exeext conftest.$ac_ext
26706 LIBS="$ac_xsave_LIBS"
26707
26708 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
26709 # to get the SysV transport functions.
26710 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
26711 # needs -lnsl.
26712 # The nsl library prevents programs from opening the X display
26713 # on Irix 5.2, according to T.E. Dickey.
26714 # The functions gethostbyname, getservbyname, and inet_addr are
26715 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
26716 echo "$as_me:$LINENO: checking for gethostbyname" >&5
26717 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
26718 if test "${ac_cv_func_gethostbyname+set}" = set; then
26719 echo $ECHO_N "(cached) $ECHO_C" >&6
26720 else
26721 cat >conftest.$ac_ext <<_ACEOF
26722 /* confdefs.h. */
26723 _ACEOF
26724 cat confdefs.h >>conftest.$ac_ext
26725 cat >>conftest.$ac_ext <<_ACEOF
26726 /* end confdefs.h. */
26727 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
26728 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26729 #define gethostbyname innocuous_gethostbyname
26730
26731 /* System header to define __stub macros and hopefully few prototypes,
26732 which can conflict with char gethostbyname (); below.
26733 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26734 <limits.h> exists even on freestanding compilers. */
26735
26736 #ifdef __STDC__
26737 # include <limits.h>
26738 #else
26739 # include <assert.h>
26740 #endif
26741
26742 #undef gethostbyname
26743
26744 /* Override any gcc2 internal prototype to avoid an error. */
26745 #ifdef __cplusplus
26746 extern "C"
26747 {
26748 #endif
26749 /* We use char because int might match the return type of a gcc2
26750 builtin and then its argument prototype would still apply. */
26751 char gethostbyname ();
26752 /* The GNU C library defines this for functions which it implements
26753 to always fail with ENOSYS. Some functions are actually named
26754 something starting with __ and the normal name is an alias. */
26755 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
26756 choke me
26757 #else
26758 char (*f) () = gethostbyname;
26759 #endif
26760 #ifdef __cplusplus
26761 }
26762 #endif
26763
26764 int
26765 main ()
26766 {
26767 return f != gethostbyname;
26768 ;
26769 return 0;
26770 }
26771 _ACEOF
26772 rm -f conftest.$ac_objext conftest$ac_exeext
26773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26774 (eval $ac_link) 2>conftest.er1
26775 ac_status=$?
26776 grep -v '^ *+' conftest.er1 >conftest.err
26777 rm -f conftest.er1
26778 cat conftest.err >&5
26779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26780 (exit $ac_status); } &&
26781 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26783 (eval $ac_try) 2>&5
26784 ac_status=$?
26785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26786 (exit $ac_status); }; } &&
26787 { ac_try='test -s conftest$ac_exeext'
26788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26789 (eval $ac_try) 2>&5
26790 ac_status=$?
26791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26792 (exit $ac_status); }; }; then
26793 ac_cv_func_gethostbyname=yes
26794 else
26795 echo "$as_me: failed program was:" >&5
26796 sed 's/^/| /' conftest.$ac_ext >&5
26797
26798 ac_cv_func_gethostbyname=no
26799 fi
26800 rm -f conftest.err conftest.$ac_objext \
26801 conftest$ac_exeext conftest.$ac_ext
26802 fi
26803 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
26804 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
26805
26806 if test $ac_cv_func_gethostbyname = no; then
26807 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
26808 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
26809 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
26810 echo $ECHO_N "(cached) $ECHO_C" >&6
26811 else
26812 ac_check_lib_save_LIBS=$LIBS
26813 LIBS="-lnsl $LIBS"
26814 cat >conftest.$ac_ext <<_ACEOF
26815 /* confdefs.h. */
26816 _ACEOF
26817 cat confdefs.h >>conftest.$ac_ext
26818 cat >>conftest.$ac_ext <<_ACEOF
26819 /* end confdefs.h. */
26820
26821 /* Override any gcc2 internal prototype to avoid an error. */
26822 #ifdef __cplusplus
26823 extern "C"
26824 #endif
26825 /* We use char because int might match the return type of a gcc2
26826 builtin and then its argument prototype would still apply. */
26827 char gethostbyname ();
26828 int
26829 main ()
26830 {
26831 gethostbyname ();
26832 ;
26833 return 0;
26834 }
26835 _ACEOF
26836 rm -f conftest.$ac_objext conftest$ac_exeext
26837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26838 (eval $ac_link) 2>conftest.er1
26839 ac_status=$?
26840 grep -v '^ *+' conftest.er1 >conftest.err
26841 rm -f conftest.er1
26842 cat conftest.err >&5
26843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26844 (exit $ac_status); } &&
26845 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26847 (eval $ac_try) 2>&5
26848 ac_status=$?
26849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26850 (exit $ac_status); }; } &&
26851 { ac_try='test -s conftest$ac_exeext'
26852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26853 (eval $ac_try) 2>&5
26854 ac_status=$?
26855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26856 (exit $ac_status); }; }; then
26857 ac_cv_lib_nsl_gethostbyname=yes
26858 else
26859 echo "$as_me: failed program was:" >&5
26860 sed 's/^/| /' conftest.$ac_ext >&5
26861
26862 ac_cv_lib_nsl_gethostbyname=no
26863 fi
26864 rm -f conftest.err conftest.$ac_objext \
26865 conftest$ac_exeext conftest.$ac_ext
26866 LIBS=$ac_check_lib_save_LIBS
26867 fi
26868 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
26869 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
26870 if test $ac_cv_lib_nsl_gethostbyname = yes; then
26871 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
26872 fi
26873
26874 if test $ac_cv_lib_nsl_gethostbyname = no; then
26875 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
26876 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
26877 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
26878 echo $ECHO_N "(cached) $ECHO_C" >&6
26879 else
26880 ac_check_lib_save_LIBS=$LIBS
26881 LIBS="-lbsd $LIBS"
26882 cat >conftest.$ac_ext <<_ACEOF
26883 /* confdefs.h. */
26884 _ACEOF
26885 cat confdefs.h >>conftest.$ac_ext
26886 cat >>conftest.$ac_ext <<_ACEOF
26887 /* end confdefs.h. */
26888
26889 /* Override any gcc2 internal prototype to avoid an error. */
26890 #ifdef __cplusplus
26891 extern "C"
26892 #endif
26893 /* We use char because int might match the return type of a gcc2
26894 builtin and then its argument prototype would still apply. */
26895 char gethostbyname ();
26896 int
26897 main ()
26898 {
26899 gethostbyname ();
26900 ;
26901 return 0;
26902 }
26903 _ACEOF
26904 rm -f conftest.$ac_objext conftest$ac_exeext
26905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26906 (eval $ac_link) 2>conftest.er1
26907 ac_status=$?
26908 grep -v '^ *+' conftest.er1 >conftest.err
26909 rm -f conftest.er1
26910 cat conftest.err >&5
26911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26912 (exit $ac_status); } &&
26913 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26915 (eval $ac_try) 2>&5
26916 ac_status=$?
26917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26918 (exit $ac_status); }; } &&
26919 { ac_try='test -s conftest$ac_exeext'
26920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26921 (eval $ac_try) 2>&5
26922 ac_status=$?
26923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26924 (exit $ac_status); }; }; then
26925 ac_cv_lib_bsd_gethostbyname=yes
26926 else
26927 echo "$as_me: failed program was:" >&5
26928 sed 's/^/| /' conftest.$ac_ext >&5
26929
26930 ac_cv_lib_bsd_gethostbyname=no
26931 fi
26932 rm -f conftest.err conftest.$ac_objext \
26933 conftest$ac_exeext conftest.$ac_ext
26934 LIBS=$ac_check_lib_save_LIBS
26935 fi
26936 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
26937 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
26938 if test $ac_cv_lib_bsd_gethostbyname = yes; then
26939 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
26940 fi
26941
26942 fi
26943 fi
26944
26945 # lieder@skyler.mavd.honeywell.com says without -lsocket,
26946 # socket/setsockopt and other routines are undefined under SCO ODT
26947 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
26948 # on later versions), says Simon Leinen: it contains gethostby*
26949 # variants that don't use the name server (or something). -lsocket
26950 # must be given before -lnsl if both are needed. We assume that
26951 # if connect needs -lnsl, so does gethostbyname.
26952 echo "$as_me:$LINENO: checking for connect" >&5
26953 echo $ECHO_N "checking for connect... $ECHO_C" >&6
26954 if test "${ac_cv_func_connect+set}" = set; then
26955 echo $ECHO_N "(cached) $ECHO_C" >&6
26956 else
26957 cat >conftest.$ac_ext <<_ACEOF
26958 /* confdefs.h. */
26959 _ACEOF
26960 cat confdefs.h >>conftest.$ac_ext
26961 cat >>conftest.$ac_ext <<_ACEOF
26962 /* end confdefs.h. */
26963 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
26964 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26965 #define connect innocuous_connect
26966
26967 /* System header to define __stub macros and hopefully few prototypes,
26968 which can conflict with char connect (); below.
26969 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26970 <limits.h> exists even on freestanding compilers. */
26971
26972 #ifdef __STDC__
26973 # include <limits.h>
26974 #else
26975 # include <assert.h>
26976 #endif
26977
26978 #undef connect
26979
26980 /* Override any gcc2 internal prototype to avoid an error. */
26981 #ifdef __cplusplus
26982 extern "C"
26983 {
26984 #endif
26985 /* We use char because int might match the return type of a gcc2
26986 builtin and then its argument prototype would still apply. */
26987 char connect ();
26988 /* The GNU C library defines this for functions which it implements
26989 to always fail with ENOSYS. Some functions are actually named
26990 something starting with __ and the normal name is an alias. */
26991 #if defined (__stub_connect) || defined (__stub___connect)
26992 choke me
26993 #else
26994 char (*f) () = connect;
26995 #endif
26996 #ifdef __cplusplus
26997 }
26998 #endif
26999
27000 int
27001 main ()
27002 {
27003 return f != connect;
27004 ;
27005 return 0;
27006 }
27007 _ACEOF
27008 rm -f conftest.$ac_objext conftest$ac_exeext
27009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27010 (eval $ac_link) 2>conftest.er1
27011 ac_status=$?
27012 grep -v '^ *+' conftest.er1 >conftest.err
27013 rm -f conftest.er1
27014 cat conftest.err >&5
27015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27016 (exit $ac_status); } &&
27017 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27019 (eval $ac_try) 2>&5
27020 ac_status=$?
27021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27022 (exit $ac_status); }; } &&
27023 { ac_try='test -s conftest$ac_exeext'
27024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27025 (eval $ac_try) 2>&5
27026 ac_status=$?
27027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27028 (exit $ac_status); }; }; then
27029 ac_cv_func_connect=yes
27030 else
27031 echo "$as_me: failed program was:" >&5
27032 sed 's/^/| /' conftest.$ac_ext >&5
27033
27034 ac_cv_func_connect=no
27035 fi
27036 rm -f conftest.err conftest.$ac_objext \
27037 conftest$ac_exeext conftest.$ac_ext
27038 fi
27039 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
27040 echo "${ECHO_T}$ac_cv_func_connect" >&6
27041
27042 if test $ac_cv_func_connect = no; then
27043 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
27044 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
27045 if test "${ac_cv_lib_socket_connect+set}" = set; then
27046 echo $ECHO_N "(cached) $ECHO_C" >&6
27047 else
27048 ac_check_lib_save_LIBS=$LIBS
27049 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
27050 cat >conftest.$ac_ext <<_ACEOF
27051 /* confdefs.h. */
27052 _ACEOF
27053 cat confdefs.h >>conftest.$ac_ext
27054 cat >>conftest.$ac_ext <<_ACEOF
27055 /* end confdefs.h. */
27056
27057 /* Override any gcc2 internal prototype to avoid an error. */
27058 #ifdef __cplusplus
27059 extern "C"
27060 #endif
27061 /* We use char because int might match the return type of a gcc2
27062 builtin and then its argument prototype would still apply. */
27063 char connect ();
27064 int
27065 main ()
27066 {
27067 connect ();
27068 ;
27069 return 0;
27070 }
27071 _ACEOF
27072 rm -f conftest.$ac_objext conftest$ac_exeext
27073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27074 (eval $ac_link) 2>conftest.er1
27075 ac_status=$?
27076 grep -v '^ *+' conftest.er1 >conftest.err
27077 rm -f conftest.er1
27078 cat conftest.err >&5
27079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27080 (exit $ac_status); } &&
27081 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27083 (eval $ac_try) 2>&5
27084 ac_status=$?
27085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27086 (exit $ac_status); }; } &&
27087 { ac_try='test -s conftest$ac_exeext'
27088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27089 (eval $ac_try) 2>&5
27090 ac_status=$?
27091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27092 (exit $ac_status); }; }; then
27093 ac_cv_lib_socket_connect=yes
27094 else
27095 echo "$as_me: failed program was:" >&5
27096 sed 's/^/| /' conftest.$ac_ext >&5
27097
27098 ac_cv_lib_socket_connect=no
27099 fi
27100 rm -f conftest.err conftest.$ac_objext \
27101 conftest$ac_exeext conftest.$ac_ext
27102 LIBS=$ac_check_lib_save_LIBS
27103 fi
27104 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
27105 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
27106 if test $ac_cv_lib_socket_connect = yes; then
27107 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
27108 fi
27109
27110 fi
27111
27112 # Guillermo Gomez says -lposix is necessary on A/UX.
27113 echo "$as_me:$LINENO: checking for remove" >&5
27114 echo $ECHO_N "checking for remove... $ECHO_C" >&6
27115 if test "${ac_cv_func_remove+set}" = set; then
27116 echo $ECHO_N "(cached) $ECHO_C" >&6
27117 else
27118 cat >conftest.$ac_ext <<_ACEOF
27119 /* confdefs.h. */
27120 _ACEOF
27121 cat confdefs.h >>conftest.$ac_ext
27122 cat >>conftest.$ac_ext <<_ACEOF
27123 /* end confdefs.h. */
27124 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
27125 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27126 #define remove innocuous_remove
27127
27128 /* System header to define __stub macros and hopefully few prototypes,
27129 which can conflict with char remove (); below.
27130 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27131 <limits.h> exists even on freestanding compilers. */
27132
27133 #ifdef __STDC__
27134 # include <limits.h>
27135 #else
27136 # include <assert.h>
27137 #endif
27138
27139 #undef remove
27140
27141 /* Override any gcc2 internal prototype to avoid an error. */
27142 #ifdef __cplusplus
27143 extern "C"
27144 {
27145 #endif
27146 /* We use char because int might match the return type of a gcc2
27147 builtin and then its argument prototype would still apply. */
27148 char remove ();
27149 /* The GNU C library defines this for functions which it implements
27150 to always fail with ENOSYS. Some functions are actually named
27151 something starting with __ and the normal name is an alias. */
27152 #if defined (__stub_remove) || defined (__stub___remove)
27153 choke me
27154 #else
27155 char (*f) () = remove;
27156 #endif
27157 #ifdef __cplusplus
27158 }
27159 #endif
27160
27161 int
27162 main ()
27163 {
27164 return f != remove;
27165 ;
27166 return 0;
27167 }
27168 _ACEOF
27169 rm -f conftest.$ac_objext conftest$ac_exeext
27170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27171 (eval $ac_link) 2>conftest.er1
27172 ac_status=$?
27173 grep -v '^ *+' conftest.er1 >conftest.err
27174 rm -f conftest.er1
27175 cat conftest.err >&5
27176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27177 (exit $ac_status); } &&
27178 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27180 (eval $ac_try) 2>&5
27181 ac_status=$?
27182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27183 (exit $ac_status); }; } &&
27184 { ac_try='test -s conftest$ac_exeext'
27185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27186 (eval $ac_try) 2>&5
27187 ac_status=$?
27188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27189 (exit $ac_status); }; }; then
27190 ac_cv_func_remove=yes
27191 else
27192 echo "$as_me: failed program was:" >&5
27193 sed 's/^/| /' conftest.$ac_ext >&5
27194
27195 ac_cv_func_remove=no
27196 fi
27197 rm -f conftest.err conftest.$ac_objext \
27198 conftest$ac_exeext conftest.$ac_ext
27199 fi
27200 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
27201 echo "${ECHO_T}$ac_cv_func_remove" >&6
27202
27203 if test $ac_cv_func_remove = no; then
27204 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
27205 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
27206 if test "${ac_cv_lib_posix_remove+set}" = set; then
27207 echo $ECHO_N "(cached) $ECHO_C" >&6
27208 else
27209 ac_check_lib_save_LIBS=$LIBS
27210 LIBS="-lposix $LIBS"
27211 cat >conftest.$ac_ext <<_ACEOF
27212 /* confdefs.h. */
27213 _ACEOF
27214 cat confdefs.h >>conftest.$ac_ext
27215 cat >>conftest.$ac_ext <<_ACEOF
27216 /* end confdefs.h. */
27217
27218 /* Override any gcc2 internal prototype to avoid an error. */
27219 #ifdef __cplusplus
27220 extern "C"
27221 #endif
27222 /* We use char because int might match the return type of a gcc2
27223 builtin and then its argument prototype would still apply. */
27224 char remove ();
27225 int
27226 main ()
27227 {
27228 remove ();
27229 ;
27230 return 0;
27231 }
27232 _ACEOF
27233 rm -f conftest.$ac_objext conftest$ac_exeext
27234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27235 (eval $ac_link) 2>conftest.er1
27236 ac_status=$?
27237 grep -v '^ *+' conftest.er1 >conftest.err
27238 rm -f conftest.er1
27239 cat conftest.err >&5
27240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27241 (exit $ac_status); } &&
27242 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27244 (eval $ac_try) 2>&5
27245 ac_status=$?
27246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27247 (exit $ac_status); }; } &&
27248 { ac_try='test -s conftest$ac_exeext'
27249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27250 (eval $ac_try) 2>&5
27251 ac_status=$?
27252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27253 (exit $ac_status); }; }; then
27254 ac_cv_lib_posix_remove=yes
27255 else
27256 echo "$as_me: failed program was:" >&5
27257 sed 's/^/| /' conftest.$ac_ext >&5
27258
27259 ac_cv_lib_posix_remove=no
27260 fi
27261 rm -f conftest.err conftest.$ac_objext \
27262 conftest$ac_exeext conftest.$ac_ext
27263 LIBS=$ac_check_lib_save_LIBS
27264 fi
27265 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
27266 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
27267 if test $ac_cv_lib_posix_remove = yes; then
27268 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
27269 fi
27270
27271 fi
27272
27273 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
27274 echo "$as_me:$LINENO: checking for shmat" >&5
27275 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
27276 if test "${ac_cv_func_shmat+set}" = set; then
27277 echo $ECHO_N "(cached) $ECHO_C" >&6
27278 else
27279 cat >conftest.$ac_ext <<_ACEOF
27280 /* confdefs.h. */
27281 _ACEOF
27282 cat confdefs.h >>conftest.$ac_ext
27283 cat >>conftest.$ac_ext <<_ACEOF
27284 /* end confdefs.h. */
27285 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
27286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27287 #define shmat innocuous_shmat
27288
27289 /* System header to define __stub macros and hopefully few prototypes,
27290 which can conflict with char shmat (); below.
27291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27292 <limits.h> exists even on freestanding compilers. */
27293
27294 #ifdef __STDC__
27295 # include <limits.h>
27296 #else
27297 # include <assert.h>
27298 #endif
27299
27300 #undef shmat
27301
27302 /* Override any gcc2 internal prototype to avoid an error. */
27303 #ifdef __cplusplus
27304 extern "C"
27305 {
27306 #endif
27307 /* We use char because int might match the return type of a gcc2
27308 builtin and then its argument prototype would still apply. */
27309 char shmat ();
27310 /* The GNU C library defines this for functions which it implements
27311 to always fail with ENOSYS. Some functions are actually named
27312 something starting with __ and the normal name is an alias. */
27313 #if defined (__stub_shmat) || defined (__stub___shmat)
27314 choke me
27315 #else
27316 char (*f) () = shmat;
27317 #endif
27318 #ifdef __cplusplus
27319 }
27320 #endif
27321
27322 int
27323 main ()
27324 {
27325 return f != shmat;
27326 ;
27327 return 0;
27328 }
27329 _ACEOF
27330 rm -f conftest.$ac_objext conftest$ac_exeext
27331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27332 (eval $ac_link) 2>conftest.er1
27333 ac_status=$?
27334 grep -v '^ *+' conftest.er1 >conftest.err
27335 rm -f conftest.er1
27336 cat conftest.err >&5
27337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27338 (exit $ac_status); } &&
27339 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27341 (eval $ac_try) 2>&5
27342 ac_status=$?
27343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27344 (exit $ac_status); }; } &&
27345 { ac_try='test -s conftest$ac_exeext'
27346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27347 (eval $ac_try) 2>&5
27348 ac_status=$?
27349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27350 (exit $ac_status); }; }; then
27351 ac_cv_func_shmat=yes
27352 else
27353 echo "$as_me: failed program was:" >&5
27354 sed 's/^/| /' conftest.$ac_ext >&5
27355
27356 ac_cv_func_shmat=no
27357 fi
27358 rm -f conftest.err conftest.$ac_objext \
27359 conftest$ac_exeext conftest.$ac_ext
27360 fi
27361 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
27362 echo "${ECHO_T}$ac_cv_func_shmat" >&6
27363
27364 if test $ac_cv_func_shmat = no; then
27365 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
27366 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
27367 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
27368 echo $ECHO_N "(cached) $ECHO_C" >&6
27369 else
27370 ac_check_lib_save_LIBS=$LIBS
27371 LIBS="-lipc $LIBS"
27372 cat >conftest.$ac_ext <<_ACEOF
27373 /* confdefs.h. */
27374 _ACEOF
27375 cat confdefs.h >>conftest.$ac_ext
27376 cat >>conftest.$ac_ext <<_ACEOF
27377 /* end confdefs.h. */
27378
27379 /* Override any gcc2 internal prototype to avoid an error. */
27380 #ifdef __cplusplus
27381 extern "C"
27382 #endif
27383 /* We use char because int might match the return type of a gcc2
27384 builtin and then its argument prototype would still apply. */
27385 char shmat ();
27386 int
27387 main ()
27388 {
27389 shmat ();
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 ac_cv_lib_ipc_shmat=yes
27416 else
27417 echo "$as_me: failed program was:" >&5
27418 sed 's/^/| /' conftest.$ac_ext >&5
27419
27420 ac_cv_lib_ipc_shmat=no
27421 fi
27422 rm -f conftest.err conftest.$ac_objext \
27423 conftest$ac_exeext conftest.$ac_ext
27424 LIBS=$ac_check_lib_save_LIBS
27425 fi
27426 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
27427 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
27428 if test $ac_cv_lib_ipc_shmat = yes; then
27429 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
27430 fi
27431
27432 fi
27433 fi
27434
27435 # Check for libraries that X11R6 Xt/Xaw programs need.
27436 ac_save_LDFLAGS=$LDFLAGS
27437 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
27438 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
27439 # check for ICE first), but we must link in the order -lSM -lICE or
27440 # we get undefined symbols. So assume we have SM if we have ICE.
27441 # These have to be linked with before -lX11, unlike the other
27442 # libraries we check for below, so use a different variable.
27443 # John Interrante, Karl Berry
27444 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
27445 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
27446 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
27447 echo $ECHO_N "(cached) $ECHO_C" >&6
27448 else
27449 ac_check_lib_save_LIBS=$LIBS
27450 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
27451 cat >conftest.$ac_ext <<_ACEOF
27452 /* confdefs.h. */
27453 _ACEOF
27454 cat confdefs.h >>conftest.$ac_ext
27455 cat >>conftest.$ac_ext <<_ACEOF
27456 /* end confdefs.h. */
27457
27458 /* Override any gcc2 internal prototype to avoid an error. */
27459 #ifdef __cplusplus
27460 extern "C"
27461 #endif
27462 /* We use char because int might match the return type of a gcc2
27463 builtin and then its argument prototype would still apply. */
27464 char IceConnectionNumber ();
27465 int
27466 main ()
27467 {
27468 IceConnectionNumber ();
27469 ;
27470 return 0;
27471 }
27472 _ACEOF
27473 rm -f conftest.$ac_objext conftest$ac_exeext
27474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27475 (eval $ac_link) 2>conftest.er1
27476 ac_status=$?
27477 grep -v '^ *+' conftest.er1 >conftest.err
27478 rm -f conftest.er1
27479 cat conftest.err >&5
27480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27481 (exit $ac_status); } &&
27482 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27484 (eval $ac_try) 2>&5
27485 ac_status=$?
27486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27487 (exit $ac_status); }; } &&
27488 { ac_try='test -s conftest$ac_exeext'
27489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27490 (eval $ac_try) 2>&5
27491 ac_status=$?
27492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27493 (exit $ac_status); }; }; then
27494 ac_cv_lib_ICE_IceConnectionNumber=yes
27495 else
27496 echo "$as_me: failed program was:" >&5
27497 sed 's/^/| /' conftest.$ac_ext >&5
27498
27499 ac_cv_lib_ICE_IceConnectionNumber=no
27500 fi
27501 rm -f conftest.err conftest.$ac_objext \
27502 conftest$ac_exeext conftest.$ac_ext
27503 LIBS=$ac_check_lib_save_LIBS
27504 fi
27505 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
27506 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
27507 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
27508 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
27509 fi
27510
27511 LDFLAGS=$ac_save_LDFLAGS
27512
27513 fi
27514
27515
27516 if test "$no_x" = "yes"; then
27517 { { echo "$as_me:$LINENO: error: X11 not found" >&5
27518 echo "$as_me: error: X11 not found" >&2;}
27519 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
27520 fi
27521
27522 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
27523 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
27524 AFMINSTALL=afminstall
27525 COMPILED_X_PROGRAM=0
27526
27527 fi
27528
27529 if test "$wxUSE_X11" = 1; then
27530 if test "$wxUSE_NANOX" = "yes"; then
27531 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
27532 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
27533 if test "x$MICROWIN" = x ; then
27534 echo "$as_me:$LINENO: result: not found" >&5
27535 echo "${ECHO_T}not found" >&6
27536 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
27537 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
27538 { (exit 1); exit 1; }; }
27539 else
27540 echo "$as_me:$LINENO: result: $MICROWIN" >&5
27541 echo "${ECHO_T}$MICROWIN" >&6
27542 cat >>confdefs.h <<\_ACEOF
27543 #define wxUSE_NANOX 1
27544 _ACEOF
27545
27546 fi
27547 fi
27548
27549 if test "$wxUSE_UNICODE" = "yes"; then
27550
27551 succeeded=no
27552
27553 if test -z "$PKG_CONFIG"; then
27554 # Extract the first word of "pkg-config", so it can be a program name with args.
27555 set dummy pkg-config; ac_word=$2
27556 echo "$as_me:$LINENO: checking for $ac_word" >&5
27557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27558 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27559 echo $ECHO_N "(cached) $ECHO_C" >&6
27560 else
27561 case $PKG_CONFIG in
27562 [\\/]* | ?:[\\/]*)
27563 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27564 ;;
27565 *)
27566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27567 for as_dir in $PATH
27568 do
27569 IFS=$as_save_IFS
27570 test -z "$as_dir" && as_dir=.
27571 for ac_exec_ext in '' $ac_executable_extensions; do
27572 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27573 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27574 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27575 break 2
27576 fi
27577 done
27578 done
27579
27580 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27581 ;;
27582 esac
27583 fi
27584 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27585
27586 if test -n "$PKG_CONFIG"; then
27587 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27588 echo "${ECHO_T}$PKG_CONFIG" >&6
27589 else
27590 echo "$as_me:$LINENO: result: no" >&5
27591 echo "${ECHO_T}no" >&6
27592 fi
27593
27594 fi
27595
27596 if test "$PKG_CONFIG" = "no" ; then
27597 echo "*** The pkg-config script could not be found. Make sure it is"
27598 echo "*** in your path, or set the PKG_CONFIG environment variable"
27599 echo "*** to the full path to pkg-config."
27600 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27601 else
27602 PKG_CONFIG_MIN_VERSION=0.9.0
27603 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27604 echo "$as_me:$LINENO: checking for pangox" >&5
27605 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
27606
27607 if $PKG_CONFIG --exists "pangox" ; then
27608 echo "$as_me:$LINENO: result: yes" >&5
27609 echo "${ECHO_T}yes" >&6
27610 succeeded=yes
27611
27612 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
27613 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
27614 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
27615 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
27616 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
27617
27618 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
27619 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
27620 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
27621 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
27622 echo "${ECHO_T}$PANGOX_LIBS" >&6
27623 else
27624 PANGOX_CFLAGS=""
27625 PANGOX_LIBS=""
27626 ## If we have a custom action on failure, don't print errors, but
27627 ## do set a variable so people can do so.
27628 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
27629
27630 fi
27631
27632
27633
27634 else
27635 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27636 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27637 fi
27638 fi
27639
27640 if test $succeeded = yes; then
27641
27642 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
27643 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
27644
27645 else
27646
27647 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
27648 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
27649 { (exit 1); exit 1; }; }
27650
27651
27652 fi
27653
27654
27655 succeeded=no
27656
27657 if test -z "$PKG_CONFIG"; then
27658 # Extract the first word of "pkg-config", so it can be a program name with args.
27659 set dummy pkg-config; ac_word=$2
27660 echo "$as_me:$LINENO: checking for $ac_word" >&5
27661 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27662 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27663 echo $ECHO_N "(cached) $ECHO_C" >&6
27664 else
27665 case $PKG_CONFIG in
27666 [\\/]* | ?:[\\/]*)
27667 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27668 ;;
27669 *)
27670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27671 for as_dir in $PATH
27672 do
27673 IFS=$as_save_IFS
27674 test -z "$as_dir" && as_dir=.
27675 for ac_exec_ext in '' $ac_executable_extensions; do
27676 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27677 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27678 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27679 break 2
27680 fi
27681 done
27682 done
27683
27684 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27685 ;;
27686 esac
27687 fi
27688 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27689
27690 if test -n "$PKG_CONFIG"; then
27691 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27692 echo "${ECHO_T}$PKG_CONFIG" >&6
27693 else
27694 echo "$as_me:$LINENO: result: no" >&5
27695 echo "${ECHO_T}no" >&6
27696 fi
27697
27698 fi
27699
27700 if test "$PKG_CONFIG" = "no" ; then
27701 echo "*** The pkg-config script could not be found. Make sure it is"
27702 echo "*** in your path, or set the PKG_CONFIG environment variable"
27703 echo "*** to the full path to pkg-config."
27704 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27705 else
27706 PKG_CONFIG_MIN_VERSION=0.9.0
27707 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27708 echo "$as_me:$LINENO: checking for pangoft2" >&5
27709 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
27710
27711 if $PKG_CONFIG --exists "pangoft2" ; then
27712 echo "$as_me:$LINENO: result: yes" >&5
27713 echo "${ECHO_T}yes" >&6
27714 succeeded=yes
27715
27716 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
27717 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
27718 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
27719 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
27720 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
27721
27722 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
27723 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
27724 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
27725 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
27726 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
27727 else
27728 PANGOFT2_CFLAGS=""
27729 PANGOFT2_LIBS=""
27730 ## If we have a custom action on failure, don't print errors, but
27731 ## do set a variable so people can do so.
27732 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
27733
27734 fi
27735
27736
27737
27738 else
27739 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27740 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27741 fi
27742 fi
27743
27744 if test $succeeded = yes; then
27745
27746 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
27747 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
27748
27749 else
27750
27751 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
27752 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
27753 wxUSE_PRINTING_ARCHITECTURE="no"
27754
27755
27756 fi
27757
27758
27759 succeeded=no
27760
27761 if test -z "$PKG_CONFIG"; then
27762 # Extract the first word of "pkg-config", so it can be a program name with args.
27763 set dummy pkg-config; ac_word=$2
27764 echo "$as_me:$LINENO: checking for $ac_word" >&5
27765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27766 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27767 echo $ECHO_N "(cached) $ECHO_C" >&6
27768 else
27769 case $PKG_CONFIG in
27770 [\\/]* | ?:[\\/]*)
27771 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27772 ;;
27773 *)
27774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27775 for as_dir in $PATH
27776 do
27777 IFS=$as_save_IFS
27778 test -z "$as_dir" && as_dir=.
27779 for ac_exec_ext in '' $ac_executable_extensions; do
27780 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27781 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27782 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27783 break 2
27784 fi
27785 done
27786 done
27787
27788 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27789 ;;
27790 esac
27791 fi
27792 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27793
27794 if test -n "$PKG_CONFIG"; then
27795 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27796 echo "${ECHO_T}$PKG_CONFIG" >&6
27797 else
27798 echo "$as_me:$LINENO: result: no" >&5
27799 echo "${ECHO_T}no" >&6
27800 fi
27801
27802 fi
27803
27804 if test "$PKG_CONFIG" = "no" ; then
27805 echo "*** The pkg-config script could not be found. Make sure it is"
27806 echo "*** in your path, or set the PKG_CONFIG environment variable"
27807 echo "*** to the full path to pkg-config."
27808 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27809 else
27810 PKG_CONFIG_MIN_VERSION=0.9.0
27811 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27812 echo "$as_me:$LINENO: checking for pangoxft" >&5
27813 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
27814
27815 if $PKG_CONFIG --exists "pangoxft" ; then
27816 echo "$as_me:$LINENO: result: yes" >&5
27817 echo "${ECHO_T}yes" >&6
27818 succeeded=yes
27819
27820 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
27821 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
27822 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
27823 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
27824 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
27825
27826 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
27827 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
27828 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
27829 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
27830 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
27831 else
27832 PANGOXFT_CFLAGS=""
27833 PANGOXFT_LIBS=""
27834 ## If we have a custom action on failure, don't print errors, but
27835 ## do set a variable so people can do so.
27836 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
27837
27838 fi
27839
27840
27841
27842 else
27843 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27844 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27845 fi
27846 fi
27847
27848 if test $succeeded = yes; then
27849
27850 cat >>confdefs.h <<\_ACEOF
27851 #define HAVE_PANGO_XFT 1
27852 _ACEOF
27853
27854 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
27855 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
27856
27857 else
27858
27859 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
27860 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
27861
27862
27863 fi
27864
27865 save_CFLAGS="$CFLAGS"
27866 save_LIBS="$LIBS"
27867 CFLAGS="$CFLAGS $PANGOX_CFLAGS"
27868 LIBS="$LIBS $PANGOX_LIBS"
27869
27870 for ac_func in pango_font_family_is_monospace
27871 do
27872 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27873 echo "$as_me:$LINENO: checking for $ac_func" >&5
27874 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27875 if eval "test \"\${$as_ac_var+set}\" = set"; then
27876 echo $ECHO_N "(cached) $ECHO_C" >&6
27877 else
27878 cat >conftest.$ac_ext <<_ACEOF
27879 /* confdefs.h. */
27880 _ACEOF
27881 cat confdefs.h >>conftest.$ac_ext
27882 cat >>conftest.$ac_ext <<_ACEOF
27883 /* end confdefs.h. */
27884 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27886 #define $ac_func innocuous_$ac_func
27887
27888 /* System header to define __stub macros and hopefully few prototypes,
27889 which can conflict with char $ac_func (); below.
27890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27891 <limits.h> exists even on freestanding compilers. */
27892
27893 #ifdef __STDC__
27894 # include <limits.h>
27895 #else
27896 # include <assert.h>
27897 #endif
27898
27899 #undef $ac_func
27900
27901 /* Override any gcc2 internal prototype to avoid an error. */
27902 #ifdef __cplusplus
27903 extern "C"
27904 {
27905 #endif
27906 /* We use char because int might match the return type of a gcc2
27907 builtin and then its argument prototype would still apply. */
27908 char $ac_func ();
27909 /* The GNU C library defines this for functions which it implements
27910 to always fail with ENOSYS. Some functions are actually named
27911 something starting with __ and the normal name is an alias. */
27912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27913 choke me
27914 #else
27915 char (*f) () = $ac_func;
27916 #endif
27917 #ifdef __cplusplus
27918 }
27919 #endif
27920
27921 int
27922 main ()
27923 {
27924 return f != $ac_func;
27925 ;
27926 return 0;
27927 }
27928 _ACEOF
27929 rm -f conftest.$ac_objext conftest$ac_exeext
27930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27931 (eval $ac_link) 2>conftest.er1
27932 ac_status=$?
27933 grep -v '^ *+' conftest.er1 >conftest.err
27934 rm -f conftest.er1
27935 cat conftest.err >&5
27936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27937 (exit $ac_status); } &&
27938 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27940 (eval $ac_try) 2>&5
27941 ac_status=$?
27942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27943 (exit $ac_status); }; } &&
27944 { ac_try='test -s conftest$ac_exeext'
27945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27946 (eval $ac_try) 2>&5
27947 ac_status=$?
27948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27949 (exit $ac_status); }; }; then
27950 eval "$as_ac_var=yes"
27951 else
27952 echo "$as_me: failed program was:" >&5
27953 sed 's/^/| /' conftest.$ac_ext >&5
27954
27955 eval "$as_ac_var=no"
27956 fi
27957 rm -f conftest.err conftest.$ac_objext \
27958 conftest$ac_exeext conftest.$ac_ext
27959 fi
27960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27961 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27962 if test `eval echo '${'$as_ac_var'}'` = yes; then
27963 cat >>confdefs.h <<_ACEOF
27964 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27965 _ACEOF
27966
27967 fi
27968 done
27969
27970 CFLAGS="$save_CFLAGS"
27971 LIBS="$save_LIBS"
27972 fi
27973
27974 wxUSE_UNIVERSAL="yes"
27975
27976 if test "$wxUSE_NANOX" = "yes"; then
27977 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
27978 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"
27979 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
27980 else
27981 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
27982 fi
27983
27984 TOOLKIT=X11
27985 GUIDIST=X11_DIST
27986 fi
27987
27988 if test "$wxUSE_MOTIF" = 1; then
27989 if test "$wxUSE_UNICODE" = "yes"; then
27990 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
27991 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
27992 { (exit 1); exit 1; }; }
27993 fi
27994
27995 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
27996 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
27997
27998 ac_find_includes=
27999 for ac_dir in $SEARCH_INCLUDE /usr/include;
28000 do
28001 if test -f "$ac_dir/Xm/Xm.h"; then
28002 ac_find_includes=$ac_dir
28003 break
28004 fi
28005 done
28006
28007 if test "$ac_find_includes" != "" ; then
28008 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
28009 echo "${ECHO_T}found in $ac_find_includes" >&6
28010
28011 if test "x$ac_find_includes" = "x/usr/include"; then
28012 ac_path_to_include=""
28013 else
28014 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
28015 result=$?
28016 if test $result = 0; then
28017 ac_path_to_include=""
28018 else
28019 ac_path_to_include=" -I$ac_find_includes"
28020 fi
28021 fi
28022
28023 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
28024 else
28025 cat >conftest.$ac_ext <<_ACEOF
28026 /* confdefs.h. */
28027 _ACEOF
28028 cat confdefs.h >>conftest.$ac_ext
28029 cat >>conftest.$ac_ext <<_ACEOF
28030 /* end confdefs.h. */
28031
28032 #include <Xm/Xm.h>
28033
28034 int
28035 main ()
28036 {
28037
28038 int version;
28039 version = xmUseVersion;
28040
28041 ;
28042 return 0;
28043 }
28044 _ACEOF
28045 rm -f conftest.$ac_objext
28046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28047 (eval $ac_compile) 2>conftest.er1
28048 ac_status=$?
28049 grep -v '^ *+' conftest.er1 >conftest.err
28050 rm -f conftest.er1
28051 cat conftest.err >&5
28052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28053 (exit $ac_status); } &&
28054 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28056 (eval $ac_try) 2>&5
28057 ac_status=$?
28058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28059 (exit $ac_status); }; } &&
28060 { ac_try='test -s conftest.$ac_objext'
28061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28062 (eval $ac_try) 2>&5
28063 ac_status=$?
28064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28065 (exit $ac_status); }; }; then
28066
28067 echo "$as_me:$LINENO: result: found in default search path" >&5
28068 echo "${ECHO_T}found in default search path" >&6
28069 COMPILED_X_PROGRAM=1
28070
28071 else
28072 echo "$as_me: failed program was:" >&5
28073 sed 's/^/| /' conftest.$ac_ext >&5
28074
28075
28076 echo "$as_me:$LINENO: result: no" >&5
28077 echo "${ECHO_T}no" >&6
28078 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
28079 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
28080 { (exit 1); exit 1; }; }
28081
28082
28083 fi
28084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28085 fi
28086
28087 if test "$COMPILED_X_PROGRAM" = 0; then
28088 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
28089 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
28090
28091 ac_find_libraries=
28092 for ac_dir in $SEARCH_LIB /usr/lib;
28093 do
28094 for ac_extension in a so sl dylib dll.a; do
28095 if test -f "$ac_dir/libXm.$ac_extension"; then
28096 ac_find_libraries=$ac_dir
28097 break 2
28098 fi
28099 done
28100 done
28101
28102 if test "$ac_find_libraries" != "" ; then
28103 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
28104 echo "${ECHO_T}found at $ac_find_libraries" >&6
28105
28106
28107 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
28108 result=$?
28109 if test $result = 0; then
28110 ac_path_to_link=""
28111 else
28112 ac_path_to_link=" -L$ac_find_libraries"
28113 fi
28114
28115 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
28116 else
28117 save_CFLAGS=$CFLAGS
28118 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
28119
28120 cat >conftest.$ac_ext <<_ACEOF
28121 /* confdefs.h. */
28122 _ACEOF
28123 cat confdefs.h >>conftest.$ac_ext
28124 cat >>conftest.$ac_ext <<_ACEOF
28125 /* end confdefs.h. */
28126
28127 #include <Xm/Xm.h>
28128
28129 int
28130 main ()
28131 {
28132
28133 int version;
28134 version = xmUseVersion;
28135
28136 ;
28137 return 0;
28138 }
28139 _ACEOF
28140 rm -f conftest.$ac_objext
28141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28142 (eval $ac_compile) 2>conftest.er1
28143 ac_status=$?
28144 grep -v '^ *+' conftest.er1 >conftest.err
28145 rm -f conftest.er1
28146 cat conftest.err >&5
28147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28148 (exit $ac_status); } &&
28149 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28151 (eval $ac_try) 2>&5
28152 ac_status=$?
28153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28154 (exit $ac_status); }; } &&
28155 { ac_try='test -s conftest.$ac_objext'
28156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28157 (eval $ac_try) 2>&5
28158 ac_status=$?
28159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28160 (exit $ac_status); }; }; then
28161
28162 echo "$as_me:$LINENO: result: found in default search path" >&5
28163 echo "${ECHO_T}found in default search path" >&6
28164 COMPILED_X_PROGRAM=1
28165
28166 else
28167 echo "$as_me: failed program was:" >&5
28168 sed 's/^/| /' conftest.$ac_ext >&5
28169
28170
28171 echo "$as_me:$LINENO: result: no" >&5
28172 echo "${ECHO_T}no" >&6
28173 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
28174 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
28175 { (exit 1); exit 1; }; }
28176
28177
28178 fi
28179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28180
28181 CFLAGS=$save_CFLAGS
28182 fi
28183 fi
28184
28185 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
28186 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
28187 libp_link=""
28188 libsm_ice_link=""
28189 libs_found=0
28190 for libp in "" " -lXp"; do
28191 if test "$libs_found" = "0"; then
28192 for libsm_ice in "" " -lSM -lICE"; do
28193 if test "$libs_found" = "0"; then
28194 save_LIBS="$LIBS"
28195 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
28196 save_CFLAGS=$CFLAGS
28197 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
28198
28199 cat >conftest.$ac_ext <<_ACEOF
28200 /* confdefs.h. */
28201 _ACEOF
28202 cat confdefs.h >>conftest.$ac_ext
28203 cat >>conftest.$ac_ext <<_ACEOF
28204 /* end confdefs.h. */
28205
28206 #include <Xm/Xm.h>
28207 #include <Xm/List.h>
28208
28209 int
28210 main ()
28211 {
28212
28213 XmString string = NULL;
28214 Widget w = NULL;
28215 int position = 0;
28216 XmListAddItem(w, string, position);
28217
28218 ;
28219 return 0;
28220 }
28221 _ACEOF
28222 rm -f conftest.$ac_objext conftest$ac_exeext
28223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28224 (eval $ac_link) 2>conftest.er1
28225 ac_status=$?
28226 grep -v '^ *+' conftest.er1 >conftest.err
28227 rm -f conftest.er1
28228 cat conftest.err >&5
28229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28230 (exit $ac_status); } &&
28231 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28233 (eval $ac_try) 2>&5
28234 ac_status=$?
28235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28236 (exit $ac_status); }; } &&
28237 { ac_try='test -s conftest$ac_exeext'
28238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28239 (eval $ac_try) 2>&5
28240 ac_status=$?
28241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28242 (exit $ac_status); }; }; then
28243
28244 libp_link="$libp"
28245 libsm_ice_link="$libsm_ice"
28246 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
28247 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
28248 libs_found=1
28249
28250 else
28251 echo "$as_me: failed program was:" >&5
28252 sed 's/^/| /' conftest.$ac_ext >&5
28253
28254
28255
28256 fi
28257 rm -f conftest.err conftest.$ac_objext \
28258 conftest$ac_exeext conftest.$ac_ext
28259
28260 LIBS="$save_LIBS"
28261 CFLAGS=$save_CFLAGS
28262 fi
28263 done
28264 fi
28265 done
28266
28267 if test "$libs_found" = "0"; then
28268 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
28269 echo "${ECHO_T}can't find the right libraries" >&6
28270 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
28271 echo "$as_me: error: can't link a simple motif program" >&2;}
28272 { (exit 1); exit 1; }; }
28273 fi
28274
28275 save_CFLAGS=$CFLAGS
28276 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
28277 echo "$as_me:$LINENO: checking for Motif 2" >&5
28278 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
28279 cat >conftest.$ac_ext <<_ACEOF
28280 /* confdefs.h. */
28281 _ACEOF
28282 cat confdefs.h >>conftest.$ac_ext
28283 cat >>conftest.$ac_ext <<_ACEOF
28284 /* end confdefs.h. */
28285
28286 #include <Xm/Xm.h>
28287
28288 int
28289 main ()
28290 {
28291
28292 #if XmVersion < 2000
28293 #error "Not Motif 2"
28294 #endif
28295
28296 ;
28297 return 0;
28298 }
28299 _ACEOF
28300 rm -f conftest.$ac_objext
28301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28302 (eval $ac_compile) 2>conftest.er1
28303 ac_status=$?
28304 grep -v '^ *+' conftest.er1 >conftest.err
28305 rm -f conftest.er1
28306 cat conftest.err >&5
28307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28308 (exit $ac_status); } &&
28309 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28311 (eval $ac_try) 2>&5
28312 ac_status=$?
28313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28314 (exit $ac_status); }; } &&
28315 { ac_try='test -s conftest.$ac_objext'
28316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28317 (eval $ac_try) 2>&5
28318 ac_status=$?
28319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28320 (exit $ac_status); }; }; then
28321
28322 cat >>confdefs.h <<\_ACEOF
28323 #define __WXMOTIF20__ 1
28324 _ACEOF
28325
28326 echo "$as_me:$LINENO: result: found" >&5
28327 echo "${ECHO_T}found" >&6
28328
28329 else
28330 echo "$as_me: failed program was:" >&5
28331 sed 's/^/| /' conftest.$ac_ext >&5
28332
28333
28334 cat >>confdefs.h <<\_ACEOF
28335 #define __WXMOTIF20__ 0
28336 _ACEOF
28337
28338 echo "$as_me:$LINENO: result: not found" >&5
28339 echo "${ECHO_T}not found" >&6
28340
28341 fi
28342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28343
28344 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
28345 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
28346 cat >conftest.$ac_ext <<_ACEOF
28347 /* confdefs.h. */
28348 _ACEOF
28349 cat confdefs.h >>conftest.$ac_ext
28350 cat >>conftest.$ac_ext <<_ACEOF
28351 /* end confdefs.h. */
28352
28353 #include <Xm/Xm.h>
28354
28355 int
28356 main ()
28357 {
28358
28359 #if !defined(LesstifVersion) || LesstifVersion <= 0
28360 #error "Not Lesstif"
28361 #endif
28362
28363 ;
28364 return 0;
28365 }
28366 _ACEOF
28367 rm -f conftest.$ac_objext
28368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28369 (eval $ac_compile) 2>conftest.er1
28370 ac_status=$?
28371 grep -v '^ *+' conftest.er1 >conftest.err
28372 rm -f conftest.er1
28373 cat conftest.err >&5
28374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28375 (exit $ac_status); } &&
28376 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28378 (eval $ac_try) 2>&5
28379 ac_status=$?
28380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28381 (exit $ac_status); }; } &&
28382 { ac_try='test -s conftest.$ac_objext'
28383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28384 (eval $ac_try) 2>&5
28385 ac_status=$?
28386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28387 (exit $ac_status); }; }; then
28388
28389 cat >>confdefs.h <<\_ACEOF
28390 #define __WXLESSTIF__ 1
28391 _ACEOF
28392
28393 echo "$as_me:$LINENO: result: yes" >&5
28394 echo "${ECHO_T}yes" >&6
28395
28396 else
28397 echo "$as_me: failed program was:" >&5
28398 sed 's/^/| /' conftest.$ac_ext >&5
28399
28400
28401 cat >>confdefs.h <<\_ACEOF
28402 #define __WXLESSTIF__ 0
28403 _ACEOF
28404
28405 echo "$as_me:$LINENO: result: no" >&5
28406 echo "${ECHO_T}no" >&6
28407
28408 fi
28409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28410 CFLAGS=$save_CFLAGS
28411
28412 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
28413 TOOLKIT=MOTIF
28414 GUIDIST=MOTIF_DIST
28415 fi
28416
28417 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
28418 if test "$wxUSE_LIBXPM" = "sys"; then
28419 echo "$as_me:$LINENO: checking for Xpm library" >&5
28420 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
28421
28422 ac_find_libraries=
28423 for ac_dir in $SEARCH_LIB /usr/lib;
28424 do
28425 for ac_extension in a so sl dylib dll.a; do
28426 if test -f "$ac_dir/libXpm.$ac_extension"; then
28427 ac_find_libraries=$ac_dir
28428 break 2
28429 fi
28430 done
28431 done
28432
28433 if test "$ac_find_libraries" != "" ; then
28434
28435 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
28436 result=$?
28437 if test $result = 0; then
28438 ac_path_to_link=""
28439 else
28440 ac_path_to_link=" -L$ac_find_libraries"
28441 fi
28442
28443 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
28444 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
28445 echo "${ECHO_T}found at $ac_find_libraries" >&6
28446
28447 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
28448 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
28449 if test "${wx_cv_x11_xpm_h+set}" = set; then
28450 echo $ECHO_N "(cached) $ECHO_C" >&6
28451 else
28452
28453 save_CFLAGS=$CFLAGS
28454 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
28455
28456 cat >conftest.$ac_ext <<_ACEOF
28457 /* confdefs.h. */
28458 _ACEOF
28459 cat confdefs.h >>conftest.$ac_ext
28460 cat >>conftest.$ac_ext <<_ACEOF
28461 /* end confdefs.h. */
28462
28463 #include <X11/xpm.h>
28464
28465 int
28466 main ()
28467 {
28468
28469 int version;
28470 version = XpmLibraryVersion();
28471
28472 ;
28473 return 0;
28474 }
28475 _ACEOF
28476 rm -f conftest.$ac_objext
28477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28478 (eval $ac_compile) 2>conftest.er1
28479 ac_status=$?
28480 grep -v '^ *+' conftest.er1 >conftest.err
28481 rm -f conftest.er1
28482 cat conftest.err >&5
28483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28484 (exit $ac_status); } &&
28485 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28487 (eval $ac_try) 2>&5
28488 ac_status=$?
28489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28490 (exit $ac_status); }; } &&
28491 { ac_try='test -s conftest.$ac_objext'
28492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28493 (eval $ac_try) 2>&5
28494 ac_status=$?
28495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28496 (exit $ac_status); }; }; then
28497 wx_cv_x11_xpm_h=yes
28498 else
28499 echo "$as_me: failed program was:" >&5
28500 sed 's/^/| /' conftest.$ac_ext >&5
28501
28502 wx_cv_x11_xpm_h=no
28503
28504 fi
28505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28506
28507 CFLAGS=$save_CFLAGS
28508
28509
28510 fi
28511 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
28512 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
28513
28514 if test $wx_cv_x11_xpm_h = "yes"; then
28515 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
28516 cat >>confdefs.h <<\_ACEOF
28517 #define wxHAVE_LIB_XPM 1
28518 _ACEOF
28519
28520 else
28521 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
28522 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
28523 fi
28524 fi
28525
28526 fi
28527
28528 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
28529 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
28530 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
28531 echo $ECHO_N "(cached) $ECHO_C" >&6
28532 else
28533 ac_check_lib_save_LIBS=$LIBS
28534 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
28535 cat >conftest.$ac_ext <<_ACEOF
28536 /* confdefs.h. */
28537 _ACEOF
28538 cat confdefs.h >>conftest.$ac_ext
28539 cat >>conftest.$ac_ext <<_ACEOF
28540 /* end confdefs.h. */
28541
28542 /* Override any gcc2 internal prototype to avoid an error. */
28543 #ifdef __cplusplus
28544 extern "C"
28545 #endif
28546 /* We use char because int might match the return type of a gcc2
28547 builtin and then its argument prototype would still apply. */
28548 char XShapeQueryExtension ();
28549 int
28550 main ()
28551 {
28552 XShapeQueryExtension ();
28553 ;
28554 return 0;
28555 }
28556 _ACEOF
28557 rm -f conftest.$ac_objext conftest$ac_exeext
28558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28559 (eval $ac_link) 2>conftest.er1
28560 ac_status=$?
28561 grep -v '^ *+' conftest.er1 >conftest.err
28562 rm -f conftest.er1
28563 cat conftest.err >&5
28564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28565 (exit $ac_status); } &&
28566 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28568 (eval $ac_try) 2>&5
28569 ac_status=$?
28570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28571 (exit $ac_status); }; } &&
28572 { ac_try='test -s conftest$ac_exeext'
28573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28574 (eval $ac_try) 2>&5
28575 ac_status=$?
28576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28577 (exit $ac_status); }; }; then
28578 ac_cv_lib_Xext_XShapeQueryExtension=yes
28579 else
28580 echo "$as_me: failed program was:" >&5
28581 sed 's/^/| /' conftest.$ac_ext >&5
28582
28583 ac_cv_lib_Xext_XShapeQueryExtension=no
28584 fi
28585 rm -f conftest.err conftest.$ac_objext \
28586 conftest$ac_exeext conftest.$ac_ext
28587 LIBS=$ac_check_lib_save_LIBS
28588 fi
28589 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
28590 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
28591 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
28592
28593 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
28594 wxHAVE_XEXT_LIB=1
28595
28596 fi
28597
28598
28599 if test "$wxHAVE_XEXT_LIB" = 1; then
28600 save_CFLAGS="$CFLAGS"
28601 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
28602
28603 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
28604 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
28605 cat >conftest.$ac_ext <<_ACEOF
28606 /* confdefs.h. */
28607 _ACEOF
28608 cat confdefs.h >>conftest.$ac_ext
28609 cat >>conftest.$ac_ext <<_ACEOF
28610 /* end confdefs.h. */
28611
28612 #include <X11/Xlib.h>
28613 #include <X11/extensions/shape.h>
28614
28615 int
28616 main ()
28617 {
28618
28619 int dummy1, dummy2;
28620 XShapeQueryExtension((Display*)NULL,
28621 (int*)NULL, (int*)NULL);
28622
28623 ;
28624 return 0;
28625 }
28626 _ACEOF
28627 rm -f conftest.$ac_objext
28628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28629 (eval $ac_compile) 2>conftest.er1
28630 ac_status=$?
28631 grep -v '^ *+' conftest.er1 >conftest.err
28632 rm -f conftest.er1
28633 cat conftest.err >&5
28634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28635 (exit $ac_status); } &&
28636 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28638 (eval $ac_try) 2>&5
28639 ac_status=$?
28640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28641 (exit $ac_status); }; } &&
28642 { ac_try='test -s conftest.$ac_objext'
28643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28644 (eval $ac_try) 2>&5
28645 ac_status=$?
28646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28647 (exit $ac_status); }; }; then
28648
28649 cat >>confdefs.h <<\_ACEOF
28650 #define HAVE_XSHAPE 1
28651 _ACEOF
28652
28653 echo "$as_me:$LINENO: result: found" >&5
28654 echo "${ECHO_T}found" >&6
28655
28656 else
28657 echo "$as_me: failed program was:" >&5
28658 sed 's/^/| /' conftest.$ac_ext >&5
28659
28660
28661 echo "$as_me:$LINENO: result: not found" >&5
28662 echo "${ECHO_T}not found" >&6
28663
28664 fi
28665 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28666 CFLAGS="$save_CFLAGS"
28667
28668 fi
28669 fi
28670
28671 if test "$wxUSE_MAC" = 1; then
28672 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
28673 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
28674 if test "$GCC" = yes; then
28675 echo "$as_me:$LINENO: result: gcc" >&5
28676 echo "${ECHO_T}gcc" >&6
28677 CPPFLAGS_PASCAL="-fpascal-strings"
28678 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
28679 echo "$as_me:$LINENO: result: xlc" >&5
28680 echo "${ECHO_T}xlc" >&6
28681 CPPFLAGS_PASCAL="-qmacpstr"
28682 else
28683 echo "$as_me:$LINENO: result: none" >&5
28684 echo "${ECHO_T}none" >&6
28685 fi
28686
28687 if test "x$wxUSE_UNIX" = "xyes"; then
28688 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
28689 else
28690 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
28691 fi
28692
28693 TOOLKIT=MAC
28694 GUIDIST=MACX_DIST
28695 WXBASEPORT="_carbon"
28696 fi
28697
28698 if test "$wxUSE_COCOA" = 1; then
28699 TOOLKIT=COCOA
28700 GUIDIST=COCOA_DIST
28701 fi
28702
28703 if test "$wxUSE_PM" = 1; then
28704 TOOLKIT=PM
28705 GUIDIST=PM_DIST
28706 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
28707 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
28708 if test "${wx_cv_spbcdata+set}" = set; then
28709 echo $ECHO_N "(cached) $ECHO_C" >&6
28710 else
28711
28712 cat >conftest.$ac_ext <<_ACEOF
28713 /* confdefs.h. */
28714 _ACEOF
28715 cat confdefs.h >>conftest.$ac_ext
28716 cat >>conftest.$ac_ext <<_ACEOF
28717 /* end confdefs.h. */
28718
28719 #define INCL_PM
28720 #include <os2.h>
28721
28722 int
28723 main ()
28724 {
28725
28726 SPBCDATA test;
28727
28728 ;
28729 return 0;
28730 }
28731 _ACEOF
28732 rm -f conftest.$ac_objext
28733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28734 (eval $ac_compile) 2>conftest.er1
28735 ac_status=$?
28736 grep -v '^ *+' conftest.er1 >conftest.err
28737 rm -f conftest.er1
28738 cat conftest.err >&5
28739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28740 (exit $ac_status); } &&
28741 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28743 (eval $ac_try) 2>&5
28744 ac_status=$?
28745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28746 (exit $ac_status); }; } &&
28747 { ac_try='test -s conftest.$ac_objext'
28748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28749 (eval $ac_try) 2>&5
28750 ac_status=$?
28751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28752 (exit $ac_status); }; }; then
28753 wx_cv_spbcdata=yes
28754 else
28755 echo "$as_me: failed program was:" >&5
28756 sed 's/^/| /' conftest.$ac_ext >&5
28757
28758 wx_cv_spbcdata=no
28759
28760 fi
28761 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28762
28763
28764 fi
28765 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
28766 echo "${ECHO_T}$wx_cv_spbcdata" >&6
28767
28768 if test $wx_cv_spbcdata = "yes"; then
28769 cat >>confdefs.h <<\_ACEOF
28770 #define HAVE_SPBCDATA 1
28771 _ACEOF
28772
28773 fi
28774 fi
28775
28776 if test "$TOOLKIT" = "PM" ; then
28777 TOOLKIT_DIR="os2"
28778 else
28779 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
28780 fi
28781
28782 if test "$wxUSE_UNIVERSAL" = "yes"; then
28783 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
28784 WIDGET_SET=univ
28785 fi
28786
28787 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
28788 DISTDIR="wx\$(TOOLKIT)"
28789 else
28790 USE_GUI=0
28791
28792 TOOLKIT_DIR="base"
28793
28794 if test "$USE_WIN32" = 1 ; then
28795 TOOLKIT="MSW"
28796 fi
28797
28798 GUIDIST="BASE_DIST"
28799 DISTDIR="wxBase"
28800 fi
28801
28802
28803
28804
28805 IODBC_C_SRC=""
28806
28807
28808 if test "$TOOLKIT" != "MSW" ; then
28809
28810 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
28811
28812 if test "${ac_cv_header_sql_h+set}" = set; then
28813 echo "$as_me:$LINENO: checking for sql.h" >&5
28814 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
28815 if test "${ac_cv_header_sql_h+set}" = set; then
28816 echo $ECHO_N "(cached) $ECHO_C" >&6
28817 fi
28818 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
28819 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
28820 else
28821 # Is the header compilable?
28822 echo "$as_me:$LINENO: checking sql.h usability" >&5
28823 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
28824 cat >conftest.$ac_ext <<_ACEOF
28825 /* confdefs.h. */
28826 _ACEOF
28827 cat confdefs.h >>conftest.$ac_ext
28828 cat >>conftest.$ac_ext <<_ACEOF
28829 /* end confdefs.h. */
28830 $ac_includes_default
28831 #include <sql.h>
28832 _ACEOF
28833 rm -f conftest.$ac_objext
28834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28835 (eval $ac_compile) 2>conftest.er1
28836 ac_status=$?
28837 grep -v '^ *+' conftest.er1 >conftest.err
28838 rm -f conftest.er1
28839 cat conftest.err >&5
28840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28841 (exit $ac_status); } &&
28842 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28844 (eval $ac_try) 2>&5
28845 ac_status=$?
28846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28847 (exit $ac_status); }; } &&
28848 { ac_try='test -s conftest.$ac_objext'
28849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28850 (eval $ac_try) 2>&5
28851 ac_status=$?
28852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28853 (exit $ac_status); }; }; then
28854 ac_header_compiler=yes
28855 else
28856 echo "$as_me: failed program was:" >&5
28857 sed 's/^/| /' conftest.$ac_ext >&5
28858
28859 ac_header_compiler=no
28860 fi
28861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28862 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28863 echo "${ECHO_T}$ac_header_compiler" >&6
28864
28865 # Is the header present?
28866 echo "$as_me:$LINENO: checking sql.h presence" >&5
28867 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
28868 cat >conftest.$ac_ext <<_ACEOF
28869 /* confdefs.h. */
28870 _ACEOF
28871 cat confdefs.h >>conftest.$ac_ext
28872 cat >>conftest.$ac_ext <<_ACEOF
28873 /* end confdefs.h. */
28874 #include <sql.h>
28875 _ACEOF
28876 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28877 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28878 ac_status=$?
28879 grep -v '^ *+' conftest.er1 >conftest.err
28880 rm -f conftest.er1
28881 cat conftest.err >&5
28882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28883 (exit $ac_status); } >/dev/null; then
28884 if test -s conftest.err; then
28885 ac_cpp_err=$ac_c_preproc_warn_flag
28886 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28887 else
28888 ac_cpp_err=
28889 fi
28890 else
28891 ac_cpp_err=yes
28892 fi
28893 if test -z "$ac_cpp_err"; then
28894 ac_header_preproc=yes
28895 else
28896 echo "$as_me: failed program was:" >&5
28897 sed 's/^/| /' conftest.$ac_ext >&5
28898
28899 ac_header_preproc=no
28900 fi
28901 rm -f conftest.err conftest.$ac_ext
28902 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28903 echo "${ECHO_T}$ac_header_preproc" >&6
28904
28905 # So? What about this header?
28906 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28907 yes:no: )
28908 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
28909 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28910 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
28911 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
28912 ac_header_preproc=yes
28913 ;;
28914 no:yes:* )
28915 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
28916 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
28917 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
28918 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
28919 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
28920 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
28921 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
28922 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
28923 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
28924 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
28925 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
28926 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
28927 (
28928 cat <<\_ASBOX
28929 ## ----------------------------------------- ##
28930 ## Report this to wx-dev@lists.wxwidgets.org ##
28931 ## ----------------------------------------- ##
28932 _ASBOX
28933 ) |
28934 sed "s/^/$as_me: WARNING: /" >&2
28935 ;;
28936 esac
28937 echo "$as_me:$LINENO: checking for sql.h" >&5
28938 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
28939 if test "${ac_cv_header_sql_h+set}" = set; then
28940 echo $ECHO_N "(cached) $ECHO_C" >&6
28941 else
28942 ac_cv_header_sql_h=$ac_header_preproc
28943 fi
28944 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
28945 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
28946
28947 fi
28948 if test $ac_cv_header_sql_h = yes; then
28949 found_sql_h=1
28950 fi
28951
28952
28953 if test "x$found_sql_h" = "x1" ; then
28954 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
28955 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
28956 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
28957 echo $ECHO_N "(cached) $ECHO_C" >&6
28958 else
28959 ac_check_lib_save_LIBS=$LIBS
28960 LIBS="-liodbc $LIBS"
28961 cat >conftest.$ac_ext <<_ACEOF
28962 /* confdefs.h. */
28963 _ACEOF
28964 cat confdefs.h >>conftest.$ac_ext
28965 cat >>conftest.$ac_ext <<_ACEOF
28966 /* end confdefs.h. */
28967
28968 /* Override any gcc2 internal prototype to avoid an error. */
28969 #ifdef __cplusplus
28970 extern "C"
28971 #endif
28972 /* We use char because int might match the return type of a gcc2
28973 builtin and then its argument prototype would still apply. */
28974 char SQLAllocEnv ();
28975 int
28976 main ()
28977 {
28978 SQLAllocEnv ();
28979 ;
28980 return 0;
28981 }
28982 _ACEOF
28983 rm -f conftest.$ac_objext conftest$ac_exeext
28984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28985 (eval $ac_link) 2>conftest.er1
28986 ac_status=$?
28987 grep -v '^ *+' conftest.er1 >conftest.err
28988 rm -f conftest.er1
28989 cat conftest.err >&5
28990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28991 (exit $ac_status); } &&
28992 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28994 (eval $ac_try) 2>&5
28995 ac_status=$?
28996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28997 (exit $ac_status); }; } &&
28998 { ac_try='test -s conftest$ac_exeext'
28999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29000 (eval $ac_try) 2>&5
29001 ac_status=$?
29002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29003 (exit $ac_status); }; }; then
29004 ac_cv_lib_iodbc_SQLAllocEnv=yes
29005 else
29006 echo "$as_me: failed program was:" >&5
29007 sed 's/^/| /' conftest.$ac_ext >&5
29008
29009 ac_cv_lib_iodbc_SQLAllocEnv=no
29010 fi
29011 rm -f conftest.err conftest.$ac_objext \
29012 conftest$ac_exeext conftest.$ac_ext
29013 LIBS=$ac_check_lib_save_LIBS
29014 fi
29015 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
29016 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
29017 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
29018 ODBC_LINK=" -liodbc"
29019 else
29020
29021 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
29022 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
29023 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
29024 echo $ECHO_N "(cached) $ECHO_C" >&6
29025 else
29026 ac_check_lib_save_LIBS=$LIBS
29027 LIBS="-lunixodbc $LIBS"
29028 cat >conftest.$ac_ext <<_ACEOF
29029 /* confdefs.h. */
29030 _ACEOF
29031 cat confdefs.h >>conftest.$ac_ext
29032 cat >>conftest.$ac_ext <<_ACEOF
29033 /* end confdefs.h. */
29034
29035 /* Override any gcc2 internal prototype to avoid an error. */
29036 #ifdef __cplusplus
29037 extern "C"
29038 #endif
29039 /* We use char because int might match the return type of a gcc2
29040 builtin and then its argument prototype would still apply. */
29041 char SQLAllocEnv ();
29042 int
29043 main ()
29044 {
29045 SQLAllocEnv ();
29046 ;
29047 return 0;
29048 }
29049 _ACEOF
29050 rm -f conftest.$ac_objext conftest$ac_exeext
29051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29052 (eval $ac_link) 2>conftest.er1
29053 ac_status=$?
29054 grep -v '^ *+' conftest.er1 >conftest.err
29055 rm -f conftest.er1
29056 cat conftest.err >&5
29057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29058 (exit $ac_status); } &&
29059 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29061 (eval $ac_try) 2>&5
29062 ac_status=$?
29063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29064 (exit $ac_status); }; } &&
29065 { ac_try='test -s conftest$ac_exeext'
29066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29067 (eval $ac_try) 2>&5
29068 ac_status=$?
29069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29070 (exit $ac_status); }; }; then
29071 ac_cv_lib_unixodbc_SQLAllocEnv=yes
29072 else
29073 echo "$as_me: failed program was:" >&5
29074 sed 's/^/| /' conftest.$ac_ext >&5
29075
29076 ac_cv_lib_unixodbc_SQLAllocEnv=no
29077 fi
29078 rm -f conftest.err conftest.$ac_objext \
29079 conftest$ac_exeext conftest.$ac_ext
29080 LIBS=$ac_check_lib_save_LIBS
29081 fi
29082 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
29083 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
29084 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
29085 ODBC_LINK=" -lunixodbc"
29086 else
29087
29088 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
29089 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
29090 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
29091 echo $ECHO_N "(cached) $ECHO_C" >&6
29092 else
29093 ac_check_lib_save_LIBS=$LIBS
29094 LIBS="-lodbc $LIBS"
29095 cat >conftest.$ac_ext <<_ACEOF
29096 /* confdefs.h. */
29097 _ACEOF
29098 cat confdefs.h >>conftest.$ac_ext
29099 cat >>conftest.$ac_ext <<_ACEOF
29100 /* end confdefs.h. */
29101
29102 /* Override any gcc2 internal prototype to avoid an error. */
29103 #ifdef __cplusplus
29104 extern "C"
29105 #endif
29106 /* We use char because int might match the return type of a gcc2
29107 builtin and then its argument prototype would still apply. */
29108 char SQLAllocEnv ();
29109 int
29110 main ()
29111 {
29112 SQLAllocEnv ();
29113 ;
29114 return 0;
29115 }
29116 _ACEOF
29117 rm -f conftest.$ac_objext conftest$ac_exeext
29118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29119 (eval $ac_link) 2>conftest.er1
29120 ac_status=$?
29121 grep -v '^ *+' conftest.er1 >conftest.err
29122 rm -f conftest.er1
29123 cat conftest.err >&5
29124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29125 (exit $ac_status); } &&
29126 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29128 (eval $ac_try) 2>&5
29129 ac_status=$?
29130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29131 (exit $ac_status); }; } &&
29132 { ac_try='test -s conftest$ac_exeext'
29133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29134 (eval $ac_try) 2>&5
29135 ac_status=$?
29136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29137 (exit $ac_status); }; }; then
29138 ac_cv_lib_odbc_SQLAllocEnv=yes
29139 else
29140 echo "$as_me: failed program was:" >&5
29141 sed 's/^/| /' conftest.$ac_ext >&5
29142
29143 ac_cv_lib_odbc_SQLAllocEnv=no
29144 fi
29145 rm -f conftest.err conftest.$ac_objext \
29146 conftest$ac_exeext conftest.$ac_ext
29147 LIBS=$ac_check_lib_save_LIBS
29148 fi
29149 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
29150 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
29151 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
29152 ODBC_LINK=" -lodbc"
29153 fi
29154
29155
29156 fi
29157
29158
29159 fi
29160
29161 fi
29162 if test "x$ODBC_LINK" = "x" ; then
29163 if test "$wxUSE_ODBC" = "sys" ; then
29164 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
29165 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
29166 { (exit 1); exit 1; }; }
29167 else
29168 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
29169 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
29170 wxUSE_ODBC=builtin
29171 fi
29172 else
29173 wxUSE_ODBC=sys
29174 fi
29175 fi
29176
29177 if test "$wxUSE_ODBC" = "builtin" ; then
29178 cat >>confdefs.h <<\_ACEOF
29179 #define wxUSE_BUILTIN_IODBC 1
29180 _ACEOF
29181
29182 fi
29183 fi
29184
29185 if test "$wxUSE_ODBC" != "no" ; then
29186 cat >>confdefs.h <<\_ACEOF
29187 #define wxUSE_ODBC 1
29188 _ACEOF
29189
29190 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
29191
29192 WXODBCFLAG="-D_IODBC_"
29193 fi
29194
29195
29196 if test "$wxUSE_DISPLAY" = "yes"; then
29197 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
29198 echo "$as_me:$LINENO: checking for Xinerama" >&5
29199 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
29200
29201 ac_find_libraries=
29202 for ac_dir in $SEARCH_LIB /usr/lib;
29203 do
29204 for ac_extension in a so sl dylib dll.a; do
29205 if test -f "$ac_dir/libXinerama.$ac_extension"; then
29206 ac_find_libraries=$ac_dir
29207 break 2
29208 fi
29209 done
29210 done
29211
29212 if test "$ac_find_libraries" != "" ; then
29213
29214 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
29215 result=$?
29216 if test $result = 0; then
29217 ac_path_to_link=""
29218 else
29219 ac_path_to_link=" -L$ac_find_libraries"
29220 fi
29221
29222 if test "$ac_path_to_link" != " -L/usr/lib" ; then
29223 LDFLAGS="$LDFLAGS $ac_path_to_link"
29224 fi
29225 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
29226 echo "$as_me:$LINENO: result: yes" >&5
29227 echo "${ECHO_T}yes" >&6
29228
29229 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
29230 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
29231
29232 ac_find_libraries=
29233 for ac_dir in $SEARCH_LIB /usr/lib;
29234 do
29235 for ac_extension in a so sl dylib dll.a; do
29236 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
29237 ac_find_libraries=$ac_dir
29238 break 2
29239 fi
29240 done
29241 done
29242
29243 if test "$ac_find_libraries" != "" ; then
29244 echo "$as_me:$LINENO: result: yes" >&5
29245 echo "${ECHO_T}yes" >&6
29246
29247 for ac_header in X11/extensions/xf86vmode.h
29248 do
29249 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29250 echo "$as_me:$LINENO: checking for $ac_header" >&5
29251 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29252 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29253 echo $ECHO_N "(cached) $ECHO_C" >&6
29254 else
29255 cat >conftest.$ac_ext <<_ACEOF
29256 /* confdefs.h. */
29257 _ACEOF
29258 cat confdefs.h >>conftest.$ac_ext
29259 cat >>conftest.$ac_ext <<_ACEOF
29260 /* end confdefs.h. */
29261
29262 #if HAVE_X11_XLIB_H
29263 #include <X11/Xlib.h>
29264 #endif
29265
29266
29267 #include <$ac_header>
29268 _ACEOF
29269 rm -f conftest.$ac_objext
29270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29271 (eval $ac_compile) 2>conftest.er1
29272 ac_status=$?
29273 grep -v '^ *+' conftest.er1 >conftest.err
29274 rm -f conftest.er1
29275 cat conftest.err >&5
29276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29277 (exit $ac_status); } &&
29278 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29280 (eval $ac_try) 2>&5
29281 ac_status=$?
29282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29283 (exit $ac_status); }; } &&
29284 { ac_try='test -s conftest.$ac_objext'
29285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29286 (eval $ac_try) 2>&5
29287 ac_status=$?
29288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29289 (exit $ac_status); }; }; then
29290 eval "$as_ac_Header=yes"
29291 else
29292 echo "$as_me: failed program was:" >&5
29293 sed 's/^/| /' conftest.$ac_ext >&5
29294
29295 eval "$as_ac_Header=no"
29296 fi
29297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29298 fi
29299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29300 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29301 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29302 cat >>confdefs.h <<_ACEOF
29303 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29304 _ACEOF
29305
29306 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
29307
29308 fi
29309
29310 done
29311
29312 else
29313 echo "$as_me:$LINENO: result: no" >&5
29314 echo "${ECHO_T}no" >&6
29315 fi
29316
29317 else
29318 echo "$as_me:$LINENO: result: no" >&5
29319 echo "${ECHO_T}no" >&6
29320 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
29321 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
29322 wxUSE_DISPLAY="no"
29323 fi
29324 elif test "$wxUSE_MSW" = 1; then
29325
29326
29327 for ac_header in multimon.h ddraw.h
29328 do
29329 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29330 echo "$as_me:$LINENO: checking for $ac_header" >&5
29331 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29332 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29333 echo $ECHO_N "(cached) $ECHO_C" >&6
29334 else
29335 cat >conftest.$ac_ext <<_ACEOF
29336 /* confdefs.h. */
29337 _ACEOF
29338 cat confdefs.h >>conftest.$ac_ext
29339 cat >>conftest.$ac_ext <<_ACEOF
29340 /* end confdefs.h. */
29341 #include <windows.h>
29342
29343 #include <$ac_header>
29344 _ACEOF
29345 rm -f conftest.$ac_objext
29346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29347 (eval $ac_compile) 2>conftest.er1
29348 ac_status=$?
29349 grep -v '^ *+' conftest.er1 >conftest.err
29350 rm -f conftest.er1
29351 cat conftest.err >&5
29352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29353 (exit $ac_status); } &&
29354 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29356 (eval $ac_try) 2>&5
29357 ac_status=$?
29358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29359 (exit $ac_status); }; } &&
29360 { ac_try='test -s conftest.$ac_objext'
29361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29362 (eval $ac_try) 2>&5
29363 ac_status=$?
29364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29365 (exit $ac_status); }; }; then
29366 eval "$as_ac_Header=yes"
29367 else
29368 echo "$as_me: failed program was:" >&5
29369 sed 's/^/| /' conftest.$ac_ext >&5
29370
29371 eval "$as_ac_Header=no"
29372 fi
29373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29374 fi
29375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29376 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29377 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29378 cat >>confdefs.h <<_ACEOF
29379 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29380 _ACEOF
29381
29382 else
29383
29384 wxUSE_DISPLAY="no"
29385 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
29386 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
29387
29388 fi
29389
29390 done
29391
29392 fi
29393 fi
29394
29395
29396 USE_OPENGL=0
29397 if test "$wxUSE_OPENGL" = "yes"; then
29398 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
29399 OPENGL_LIBS="-framework OpenGL -framework AGL"
29400 elif test "$wxUSE_MSW" = 1; then
29401 OPENGL_LIBS="-lopengl32 -lglu32"
29402 else
29403
29404
29405 ac_find_includes=
29406 for ac_dir in $SEARCH_INCLUDE /usr/include;
29407 do
29408 if test -f "$ac_dir/GL/gl.h"; then
29409 ac_find_includes=$ac_dir
29410 break
29411 fi
29412 done
29413
29414 if test "$ac_find_includes" != "" ; then
29415 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
29416 echo "${ECHO_T}found in $ac_find_includes" >&6
29417
29418 if test "x$ac_find_includes" = "x/usr/include"; then
29419 ac_path_to_include=""
29420 else
29421 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
29422 result=$?
29423 if test $result = 0; then
29424 ac_path_to_include=""
29425 else
29426 ac_path_to_include=" -I$ac_find_includes"
29427 fi
29428 fi
29429
29430 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
29431 fi
29432
29433 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29434 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
29435 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
29436 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29437 echo $ECHO_N "(cached) $ECHO_C" >&6
29438 fi
29439 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
29440 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
29441 else
29442 # Is the header compilable?
29443 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
29444 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
29445 cat >conftest.$ac_ext <<_ACEOF
29446 /* confdefs.h. */
29447 _ACEOF
29448 cat confdefs.h >>conftest.$ac_ext
29449 cat >>conftest.$ac_ext <<_ACEOF
29450 /* end confdefs.h. */
29451 $ac_includes_default
29452 #include <GL/gl.h>
29453 _ACEOF
29454 rm -f conftest.$ac_objext
29455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29456 (eval $ac_compile) 2>conftest.er1
29457 ac_status=$?
29458 grep -v '^ *+' conftest.er1 >conftest.err
29459 rm -f conftest.er1
29460 cat conftest.err >&5
29461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29462 (exit $ac_status); } &&
29463 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29465 (eval $ac_try) 2>&5
29466 ac_status=$?
29467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29468 (exit $ac_status); }; } &&
29469 { ac_try='test -s conftest.$ac_objext'
29470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29471 (eval $ac_try) 2>&5
29472 ac_status=$?
29473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29474 (exit $ac_status); }; }; then
29475 ac_header_compiler=yes
29476 else
29477 echo "$as_me: failed program was:" >&5
29478 sed 's/^/| /' conftest.$ac_ext >&5
29479
29480 ac_header_compiler=no
29481 fi
29482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29483 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29484 echo "${ECHO_T}$ac_header_compiler" >&6
29485
29486 # Is the header present?
29487 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
29488 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
29489 cat >conftest.$ac_ext <<_ACEOF
29490 /* confdefs.h. */
29491 _ACEOF
29492 cat confdefs.h >>conftest.$ac_ext
29493 cat >>conftest.$ac_ext <<_ACEOF
29494 /* end confdefs.h. */
29495 #include <GL/gl.h>
29496 _ACEOF
29497 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29498 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29499 ac_status=$?
29500 grep -v '^ *+' conftest.er1 >conftest.err
29501 rm -f conftest.er1
29502 cat conftest.err >&5
29503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29504 (exit $ac_status); } >/dev/null; then
29505 if test -s conftest.err; then
29506 ac_cpp_err=$ac_c_preproc_warn_flag
29507 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29508 else
29509 ac_cpp_err=
29510 fi
29511 else
29512 ac_cpp_err=yes
29513 fi
29514 if test -z "$ac_cpp_err"; then
29515 ac_header_preproc=yes
29516 else
29517 echo "$as_me: failed program was:" >&5
29518 sed 's/^/| /' conftest.$ac_ext >&5
29519
29520 ac_header_preproc=no
29521 fi
29522 rm -f conftest.err conftest.$ac_ext
29523 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29524 echo "${ECHO_T}$ac_header_preproc" >&6
29525
29526 # So? What about this header?
29527 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29528 yes:no: )
29529 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
29530 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29531 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
29532 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
29533 ac_header_preproc=yes
29534 ;;
29535 no:yes:* )
29536 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
29537 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
29538 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
29539 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
29540 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
29541 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
29542 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
29543 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
29544 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
29545 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
29546 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
29547 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
29548 (
29549 cat <<\_ASBOX
29550 ## ----------------------------------------- ##
29551 ## Report this to wx-dev@lists.wxwidgets.org ##
29552 ## ----------------------------------------- ##
29553 _ASBOX
29554 ) |
29555 sed "s/^/$as_me: WARNING: /" >&2
29556 ;;
29557 esac
29558 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
29559 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
29560 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29561 echo $ECHO_N "(cached) $ECHO_C" >&6
29562 else
29563 ac_cv_header_GL_gl_h=$ac_header_preproc
29564 fi
29565 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
29566 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
29567
29568 fi
29569 if test $ac_cv_header_GL_gl_h = yes; then
29570
29571 found_gl=0
29572
29573 echo "$as_me:$LINENO: checking for -lGL" >&5
29574 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
29575
29576 ac_find_libraries=
29577 for ac_dir in $SEARCH_LIB /usr/lib;
29578 do
29579 for ac_extension in a so sl dylib dll.a; do
29580 if test -f "$ac_dir/libGL.$ac_extension"; then
29581 ac_find_libraries=$ac_dir
29582 break 2
29583 fi
29584 done
29585 done
29586
29587 if test "$ac_find_libraries" != "" ; then
29588 echo "$as_me:$LINENO: result: yes" >&5
29589 echo "${ECHO_T}yes" >&6
29590
29591
29592 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
29593 result=$?
29594 if test $result = 0; then
29595 ac_path_to_link=""
29596 else
29597 ac_path_to_link=" -L$ac_find_libraries"
29598 fi
29599
29600 if test "$ac_path_to_link" != " -L/usr/lib" ; then
29601 LDFLAGS_GL="$ac_path_to_link"
29602 fi
29603
29604 echo "$as_me:$LINENO: checking for -lGLU" >&5
29605 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
29606
29607 ac_find_libraries=
29608 for ac_dir in $SEARCH_LIB /usr/lib;
29609 do
29610 for ac_extension in a so sl dylib dll.a; do
29611 if test -f "$ac_dir/libGLU.$ac_extension"; then
29612 ac_find_libraries=$ac_dir
29613 break 2
29614 fi
29615 done
29616 done
29617
29618 if test "$ac_find_libraries" != "" ; then
29619
29620 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
29621 result=$?
29622 if test $result = 0; then
29623 ac_path_to_link=""
29624 else
29625 ac_path_to_link=" -L$ac_find_libraries"
29626 fi
29627
29628 if test "$ac_path_to_link" != " -L/usr/lib" -a \
29629 "$ac_path_to_link" != "$LDFLAGS_GL"; then
29630 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
29631 fi
29632
29633 found_gl=1
29634 OPENGL_LIBS="-lGL -lGLU"
29635 echo "$as_me:$LINENO: result: yes" >&5
29636 echo "${ECHO_T}yes" >&6
29637 else
29638 echo "$as_me:$LINENO: result: no" >&5
29639 echo "${ECHO_T}no" >&6
29640 fi
29641 else
29642 echo "$as_me:$LINENO: result: no" >&5
29643 echo "${ECHO_T}no" >&6
29644 fi
29645
29646 if test "$found_gl" != 1; then
29647 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
29648 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
29649
29650 ac_find_libraries=
29651 for ac_dir in $SEARCH_LIB /usr/lib;
29652 do
29653 for ac_extension in a so sl dylib dll.a; do
29654 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
29655 ac_find_libraries=$ac_dir
29656 break 2
29657 fi
29658 done
29659 done
29660
29661 if test "$ac_find_libraries" != "" ; then
29662
29663 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
29664 result=$?
29665 if test $result = 0; then
29666 ac_path_to_link=""
29667 else
29668 ac_path_to_link=" -L$ac_find_libraries"
29669 fi
29670
29671 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
29672 OPENGL_LIBS="-lMesaGL -lMesaGLU"
29673 echo "$as_me:$LINENO: result: yes" >&5
29674 echo "${ECHO_T}yes" >&6
29675 else
29676 echo "$as_me:$LINENO: result: no" >&5
29677 echo "${ECHO_T}no" >&6
29678 fi
29679 fi
29680
29681 fi
29682
29683
29684
29685 if test "x$OPENGL_LIBS" = "x"; then
29686 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
29687 echo "$as_me: error: OpenGL libraries not available" >&2;}
29688 { (exit 1); exit 1; }; }
29689 fi
29690 fi
29691
29692 if test "$wxUSE_OPENGL" = "yes"; then
29693 USE_OPENGL=1
29694 cat >>confdefs.h <<\_ACEOF
29695 #define wxUSE_OPENGL 1
29696 _ACEOF
29697
29698 cat >>confdefs.h <<\_ACEOF
29699 #define wxUSE_GLCANVAS 1
29700 _ACEOF
29701
29702 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
29703 fi
29704 fi
29705
29706
29707 if test -n "$TOOLKIT" ; then
29708 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
29709 fi
29710
29711
29712
29713 if test "$wxUSE_SHARED" = "yes"; then
29714 case "${host}" in
29715 *-pc-msdosdjgpp )
29716 wxUSE_SHARED=no
29717 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
29718 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
29719 ;;
29720 esac
29721 fi
29722
29723 if test "$wxUSE_SHARED" = "yes"; then
29724
29725
29726 found_versioning=no
29727
29728
29729 if test $found_versioning = no ; then
29730 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
29731 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
29732 if test "${wx_cv_version_script+set}" = set; then
29733 echo $ECHO_N "(cached) $ECHO_C" >&6
29734 else
29735
29736 echo "VER_1 { *; };" >conftest.sym
29737 echo "int main() { return 0; }" >conftest.cpp
29738
29739 if { ac_try='
29740 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29741 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
29742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29743 (eval $ac_try) 2>&5
29744 ac_status=$?
29745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29746 (exit $ac_status); }; } ; then
29747 if test -s conftest.stderr ; then
29748 wx_cv_version_script=no
29749 else
29750 wx_cv_version_script=yes
29751 fi
29752 else
29753 wx_cv_version_script=no
29754 fi
29755
29756 if test $wx_cv_version_script = yes
29757 then
29758 echo "struct B { virtual ~B() { } }; \
29759 struct D : public B { }; \
29760 void F() { D d; }" > conftest.cpp
29761
29762 if { ac_try='
29763 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29764 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
29765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29766 (eval $ac_try) 2>&5
29767 ac_status=$?
29768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29769 (exit $ac_status); }; } &&
29770 { ac_try='
29771 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29772 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
29773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29774 (eval $ac_try) 2>&5
29775 ac_status=$?
29776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29777 (exit $ac_status); }; }
29778 then
29779 if { ac_try='
29780 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29781 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
29782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29783 (eval $ac_try) 2>&5
29784 ac_status=$?
29785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29786 (exit $ac_status); }; }
29787 then
29788 wx_cv_version_script=yes
29789 else
29790 wx_cv_version_script=no
29791 fi
29792 fi
29793 fi
29794
29795 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
29796 rm -f conftest1.output conftest2.output conftest3.output
29797
29798 fi
29799 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
29800 echo "${ECHO_T}$wx_cv_version_script" >&6
29801 if test $wx_cv_version_script = yes ; then
29802 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
29803 fi
29804 fi
29805
29806
29807 case "${host}" in
29808 *-*-linux* | *-*-gnu* )
29809 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
29810 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29811 ;;
29812
29813 *-*-solaris2* )
29814 if test "$GCC" = yes ; then
29815 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
29816
29817 saveLdflags="$LDFLAGS"
29818 LDFLAGS="$saveLdflags -Wl,-rpath,/"
29819 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
29820 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
29821 cat >conftest.$ac_ext <<_ACEOF
29822 /* confdefs.h. */
29823 _ACEOF
29824 cat confdefs.h >>conftest.$ac_ext
29825 cat >>conftest.$ac_ext <<_ACEOF
29826 /* end confdefs.h. */
29827
29828 int
29829 main ()
29830 {
29831
29832 ;
29833 return 0;
29834 }
29835 _ACEOF
29836 rm -f conftest.$ac_objext conftest$ac_exeext
29837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29838 (eval $ac_link) 2>conftest.er1
29839 ac_status=$?
29840 grep -v '^ *+' conftest.er1 >conftest.err
29841 rm -f conftest.er1
29842 cat conftest.err >&5
29843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29844 (exit $ac_status); } &&
29845 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29847 (eval $ac_try) 2>&5
29848 ac_status=$?
29849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29850 (exit $ac_status); }; } &&
29851 { ac_try='test -s conftest$ac_exeext'
29852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29853 (eval $ac_try) 2>&5
29854 ac_status=$?
29855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29856 (exit $ac_status); }; }; then
29857
29858 echo "$as_me:$LINENO: result: yes" >&5
29859 echo "${ECHO_T}yes" >&6
29860 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
29861 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29862
29863 else
29864 echo "$as_me: failed program was:" >&5
29865 sed 's/^/| /' conftest.$ac_ext >&5
29866
29867
29868 echo "$as_me:$LINENO: result: no" >&5
29869 echo "${ECHO_T}no" >&6
29870 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
29871 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
29872 LDFLAGS="$saveLdflags -Wl,-R,/"
29873 cat >conftest.$ac_ext <<_ACEOF
29874 /* confdefs.h. */
29875 _ACEOF
29876 cat confdefs.h >>conftest.$ac_ext
29877 cat >>conftest.$ac_ext <<_ACEOF
29878 /* end confdefs.h. */
29879
29880 int
29881 main ()
29882 {
29883
29884 ;
29885 return 0;
29886 }
29887 _ACEOF
29888 rm -f conftest.$ac_objext conftest$ac_exeext
29889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29890 (eval $ac_link) 2>conftest.er1
29891 ac_status=$?
29892 grep -v '^ *+' conftest.er1 >conftest.err
29893 rm -f conftest.er1
29894 cat conftest.err >&5
29895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29896 (exit $ac_status); } &&
29897 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29899 (eval $ac_try) 2>&5
29900 ac_status=$?
29901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29902 (exit $ac_status); }; } &&
29903 { ac_try='test -s conftest$ac_exeext'
29904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29905 (eval $ac_try) 2>&5
29906 ac_status=$?
29907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29908 (exit $ac_status); }; }; then
29909
29910 echo "$as_me:$LINENO: result: yes" >&5
29911 echo "${ECHO_T}yes" >&6
29912 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
29913 WXCONFIG_RPATH="-Wl,-R,\$libdir"
29914
29915 else
29916 echo "$as_me: failed program was:" >&5
29917 sed 's/^/| /' conftest.$ac_ext >&5
29918
29919
29920 echo "$as_me:$LINENO: result: no" >&5
29921 echo "${ECHO_T}no" >&6
29922
29923 fi
29924 rm -f conftest.err conftest.$ac_objext \
29925 conftest$ac_exeext conftest.$ac_ext
29926
29927 fi
29928 rm -f conftest.err conftest.$ac_objext \
29929 conftest$ac_exeext conftest.$ac_ext
29930 LDFLAGS="$saveLdflags"
29931 else
29932 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
29933 WXCONFIG_RPATH="-R\$libdir"
29934 fi
29935 ;;
29936
29937 powerpc-*-darwin* )
29938 install_name_tool=`which install_name_tool`
29939 if test "$install_name_tool" -a -x "$install_name_tool"; then
29940 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
29941 cat <<EOF >change-install-names
29942 #!/bin/sh
29943 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
29944 inst_cmd="install_name_tool "
29945 for i in \${libnames} ; do
29946 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
29947 done
29948 \${inst_cmd} \${3}
29949 EOF
29950 chmod +x change-install-names
29951 fi
29952 ;;
29953
29954 *-*-cygwin* | *-*-mingw32* )
29955 TOOLCHAIN_DLL_DEFS="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
29956 ;;
29957
29958 *-*-hpux* )
29959 SAMPLES_RPATH_FLAG="-Wl,+b,\$(top_builddir)lib"
29960 WXCONFIG_RPATH="-Wl,+b,\$libdir"
29961 ;;
29962
29963 esac
29964
29965 if test $wxUSE_RPATH = "no"; then
29966 SAMPLES_RPATH_FLAG=''
29967 SAMPLES_RPATH_POSTLINK=''
29968 WXCONFIG_RPATH=''
29969 fi
29970
29971 SHARED=1
29972
29973 else
29974
29975 config_linkage_component="-static"
29976 SHARED=0
29977
29978 fi
29979
29980
29981 UNICODE=0
29982 lib_unicode_suffix=
29983 WX_CHARTYPE="ansi"
29984 if test "$wxUSE_UNICODE" = "yes"; then
29985 lib_unicode_suffix=u
29986 WX_CHARTYPE="unicode"
29987 UNICODE=1
29988 fi
29989
29990 lib_debug_suffix=
29991 WX_DEBUGTYPE="release"
29992 DEBUG_FLAG=0
29993 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
29994 lib_debug_suffix=d
29995 WX_DEBUGTYPE="debug"
29996 DEBUG_FLAG=1
29997 fi
29998
29999 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
30000 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
30001
30002 DEBUG_INFO=0
30003 if test "$wxUSE_DEBUG_INFO" = "yes"; then
30004 DEBUG_INFO=1
30005 fi
30006
30007 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
30008
30009 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
30010
30011 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
30012
30013 if test "$cross_compiling" = "yes"; then
30014 HOST_SUFFIX="-$host_alias"
30015 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
30016 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
30017 fi
30018
30019 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
30020 if test "${TOOLKIT_DIR}" = "os2"; then
30021 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
30022 else
30023 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
30024 fi
30025
30026
30027
30028 if test "$wxUSE_COCOA" = 1; then
30029
30030
30031 ac_ext=c
30032 ac_cpp='$CPP $CPPFLAGS'
30033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30036
30037 ac_ext=m
30038
30039 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
30040 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
30041 cat >conftest.$ac_ext <<_ACEOF
30042 /* confdefs.h. */
30043 _ACEOF
30044 cat confdefs.h >>conftest.$ac_ext
30045 cat >>conftest.$ac_ext <<_ACEOF
30046 /* end confdefs.h. */
30047 #include <AppKit/NSEvent.h>
30048 #include <CoreFoundation/CoreFoundation.h>
30049
30050 int
30051 main ()
30052 {
30053
30054 ;
30055 return 0;
30056 }
30057 _ACEOF
30058 rm -f conftest.$ac_objext
30059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30060 (eval $ac_compile) 2>conftest.er1
30061 ac_status=$?
30062 grep -v '^ *+' conftest.er1 >conftest.err
30063 rm -f conftest.er1
30064 cat conftest.err >&5
30065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30066 (exit $ac_status); } &&
30067 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30069 (eval $ac_try) 2>&5
30070 ac_status=$?
30071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30072 (exit $ac_status); }; } &&
30073 { ac_try='test -s conftest.$ac_objext'
30074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30075 (eval $ac_try) 2>&5
30076 ac_status=$?
30077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30078 (exit $ac_status); }; }; then
30079 echo "$as_me:$LINENO: result: no" >&5
30080 echo "${ECHO_T}no" >&6
30081 else
30082 echo "$as_me: failed program was:" >&5
30083 sed 's/^/| /' conftest.$ac_ext >&5
30084
30085 echo "$as_me:$LINENO: result: yes" >&5
30086 echo "${ECHO_T}yes" >&6
30087 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
30088 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
30089 cat >conftest.$ac_ext <<_ACEOF
30090 /* confdefs.h. */
30091 _ACEOF
30092 cat confdefs.h >>conftest.$ac_ext
30093 cat >>conftest.$ac_ext <<_ACEOF
30094 /* end confdefs.h. */
30095 #define __Point__ 1
30096 #include <AppKit/NSEvent.h>
30097 #include <CoreFoundation/CoreFoundation.h>
30098
30099 int
30100 main ()
30101 {
30102
30103 ;
30104 return 0;
30105 }
30106 _ACEOF
30107 rm -f conftest.$ac_objext
30108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30109 (eval $ac_compile) 2>conftest.er1
30110 ac_status=$?
30111 grep -v '^ *+' conftest.er1 >conftest.err
30112 rm -f conftest.er1
30113 cat conftest.err >&5
30114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30115 (exit $ac_status); } &&
30116 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30118 (eval $ac_try) 2>&5
30119 ac_status=$?
30120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30121 (exit $ac_status); }; } &&
30122 { ac_try='test -s conftest.$ac_objext'
30123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30124 (eval $ac_try) 2>&5
30125 ac_status=$?
30126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30127 (exit $ac_status); }; }; then
30128 echo "$as_me:$LINENO: result: yes" >&5
30129 echo "${ECHO_T}yes" >&6
30130 cat >>confdefs.h <<\_ACEOF
30131 #define __Point__ 1
30132 _ACEOF
30133
30134
30135 else
30136 echo "$as_me: failed program was:" >&5
30137 sed 's/^/| /' conftest.$ac_ext >&5
30138
30139 { { echo "$as_me:$LINENO: error: no
30140 See \`config.log' for more details." >&5
30141 echo "$as_me: error: no
30142 See \`config.log' for more details." >&2;}
30143 { (exit 1); exit 1; }; }
30144
30145 fi
30146 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30147
30148 fi
30149 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30150 ac_ext=c
30151 ac_cpp='$CPP $CPPFLAGS'
30152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30155
30156 fi
30157
30158 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
30159 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
30160 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
30161
30162 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
30163
30164 # Extract the first word of "Rez", so it can be a program name with args.
30165 set dummy Rez; ac_word=$2
30166 echo "$as_me:$LINENO: checking for $ac_word" >&5
30167 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30168 if test "${ac_cv_prog_RESCOMP+set}" = set; then
30169 echo $ECHO_N "(cached) $ECHO_C" >&6
30170 else
30171 if test -n "$RESCOMP"; then
30172 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
30173 else
30174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30175 for as_dir in $PATH
30176 do
30177 IFS=$as_save_IFS
30178 test -z "$as_dir" && as_dir=.
30179 for ac_exec_ext in '' $ac_executable_extensions; do
30180 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30181 ac_cv_prog_RESCOMP="Rez"
30182 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30183 break 2
30184 fi
30185 done
30186 done
30187
30188 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
30189 fi
30190 fi
30191 RESCOMP=$ac_cv_prog_RESCOMP
30192 if test -n "$RESCOMP"; then
30193 echo "$as_me:$LINENO: result: $RESCOMP" >&5
30194 echo "${ECHO_T}$RESCOMP" >&6
30195 else
30196 echo "$as_me:$LINENO: result: no" >&5
30197 echo "${ECHO_T}no" >&6
30198 fi
30199
30200 # Extract the first word of "DeRez", so it can be a program name with args.
30201 set dummy DeRez; ac_word=$2
30202 echo "$as_me:$LINENO: checking for $ac_word" >&5
30203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30204 if test "${ac_cv_prog_DEREZ+set}" = set; then
30205 echo $ECHO_N "(cached) $ECHO_C" >&6
30206 else
30207 if test -n "$DEREZ"; then
30208 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
30209 else
30210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30211 for as_dir in $PATH
30212 do
30213 IFS=$as_save_IFS
30214 test -z "$as_dir" && as_dir=.
30215 for ac_exec_ext in '' $ac_executable_extensions; do
30216 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30217 ac_cv_prog_DEREZ="DeRez"
30218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30219 break 2
30220 fi
30221 done
30222 done
30223
30224 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
30225 fi
30226 fi
30227 DEREZ=$ac_cv_prog_DEREZ
30228 if test -n "$DEREZ"; then
30229 echo "$as_me:$LINENO: result: $DEREZ" >&5
30230 echo "${ECHO_T}$DEREZ" >&6
30231 else
30232 echo "$as_me:$LINENO: result: no" >&5
30233 echo "${ECHO_T}no" >&6
30234 fi
30235
30236 # Extract the first word of "SetFile", so it can be a program name with args.
30237 set dummy SetFile; ac_word=$2
30238 echo "$as_me:$LINENO: checking for $ac_word" >&5
30239 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30240 if test "${ac_cv_prog_SETFILE+set}" = set; then
30241 echo $ECHO_N "(cached) $ECHO_C" >&6
30242 else
30243 if test -n "$SETFILE"; then
30244 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
30245 else
30246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30247 for as_dir in $PATH
30248 do
30249 IFS=$as_save_IFS
30250 test -z "$as_dir" && as_dir=.
30251 for ac_exec_ext in '' $ac_executable_extensions; do
30252 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30253 ac_cv_prog_SETFILE="SetFile"
30254 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30255 break 2
30256 fi
30257 done
30258 done
30259
30260 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
30261 fi
30262 fi
30263 SETFILE=$ac_cv_prog_SETFILE
30264 if test -n "$SETFILE"; then
30265 echo "$as_me:$LINENO: result: $SETFILE" >&5
30266 echo "${ECHO_T}$SETFILE" >&6
30267 else
30268 echo "$as_me:$LINENO: result: no" >&5
30269 echo "${ECHO_T}no" >&6
30270 fi
30271
30272
30273 MACSETFILE="\$(SETFILE)"
30274
30275 if test "$wxUSE_MAC" = 1; then
30276 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r -o"
30277
30278 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r -o"
30279 else
30280 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
30281 MACRESWXCONFIG="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
30282 fi
30283 else
30284 MACSETFILE="@true"
30285 MACRESWXCONFIG="@true"
30286
30287 if test "$wxUSE_PM" = 1; then
30288 MACRESCOMP="emxbind -ep"
30289 else
30290 MACRESCOMP="@true"
30291 fi
30292 fi
30293
30294
30295
30296 echo "$as_me:$LINENO: checking for mode_t" >&5
30297 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
30298 if test "${ac_cv_type_mode_t+set}" = set; then
30299 echo $ECHO_N "(cached) $ECHO_C" >&6
30300 else
30301 cat >conftest.$ac_ext <<_ACEOF
30302 /* confdefs.h. */
30303 _ACEOF
30304 cat confdefs.h >>conftest.$ac_ext
30305 cat >>conftest.$ac_ext <<_ACEOF
30306 /* end confdefs.h. */
30307 $ac_includes_default
30308 int
30309 main ()
30310 {
30311 if ((mode_t *) 0)
30312 return 0;
30313 if (sizeof (mode_t))
30314 return 0;
30315 ;
30316 return 0;
30317 }
30318 _ACEOF
30319 rm -f conftest.$ac_objext
30320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30321 (eval $ac_compile) 2>conftest.er1
30322 ac_status=$?
30323 grep -v '^ *+' conftest.er1 >conftest.err
30324 rm -f conftest.er1
30325 cat conftest.err >&5
30326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30327 (exit $ac_status); } &&
30328 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30330 (eval $ac_try) 2>&5
30331 ac_status=$?
30332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30333 (exit $ac_status); }; } &&
30334 { ac_try='test -s conftest.$ac_objext'
30335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30336 (eval $ac_try) 2>&5
30337 ac_status=$?
30338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30339 (exit $ac_status); }; }; then
30340 ac_cv_type_mode_t=yes
30341 else
30342 echo "$as_me: failed program was:" >&5
30343 sed 's/^/| /' conftest.$ac_ext >&5
30344
30345 ac_cv_type_mode_t=no
30346 fi
30347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30348 fi
30349 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
30350 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
30351 if test $ac_cv_type_mode_t = yes; then
30352 :
30353 else
30354
30355 cat >>confdefs.h <<_ACEOF
30356 #define mode_t int
30357 _ACEOF
30358
30359 fi
30360
30361 echo "$as_me:$LINENO: checking for off_t" >&5
30362 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
30363 if test "${ac_cv_type_off_t+set}" = set; then
30364 echo $ECHO_N "(cached) $ECHO_C" >&6
30365 else
30366 cat >conftest.$ac_ext <<_ACEOF
30367 /* confdefs.h. */
30368 _ACEOF
30369 cat confdefs.h >>conftest.$ac_ext
30370 cat >>conftest.$ac_ext <<_ACEOF
30371 /* end confdefs.h. */
30372 $ac_includes_default
30373 int
30374 main ()
30375 {
30376 if ((off_t *) 0)
30377 return 0;
30378 if (sizeof (off_t))
30379 return 0;
30380 ;
30381 return 0;
30382 }
30383 _ACEOF
30384 rm -f conftest.$ac_objext
30385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30386 (eval $ac_compile) 2>conftest.er1
30387 ac_status=$?
30388 grep -v '^ *+' conftest.er1 >conftest.err
30389 rm -f conftest.er1
30390 cat conftest.err >&5
30391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30392 (exit $ac_status); } &&
30393 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30395 (eval $ac_try) 2>&5
30396 ac_status=$?
30397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30398 (exit $ac_status); }; } &&
30399 { ac_try='test -s conftest.$ac_objext'
30400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30401 (eval $ac_try) 2>&5
30402 ac_status=$?
30403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30404 (exit $ac_status); }; }; then
30405 ac_cv_type_off_t=yes
30406 else
30407 echo "$as_me: failed program was:" >&5
30408 sed 's/^/| /' conftest.$ac_ext >&5
30409
30410 ac_cv_type_off_t=no
30411 fi
30412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30413 fi
30414 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
30415 echo "${ECHO_T}$ac_cv_type_off_t" >&6
30416 if test $ac_cv_type_off_t = yes; then
30417 :
30418 else
30419
30420 cat >>confdefs.h <<_ACEOF
30421 #define off_t long
30422 _ACEOF
30423
30424 fi
30425
30426 echo "$as_me:$LINENO: checking for pid_t" >&5
30427 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
30428 if test "${ac_cv_type_pid_t+set}" = set; then
30429 echo $ECHO_N "(cached) $ECHO_C" >&6
30430 else
30431 cat >conftest.$ac_ext <<_ACEOF
30432 /* confdefs.h. */
30433 _ACEOF
30434 cat confdefs.h >>conftest.$ac_ext
30435 cat >>conftest.$ac_ext <<_ACEOF
30436 /* end confdefs.h. */
30437 $ac_includes_default
30438 int
30439 main ()
30440 {
30441 if ((pid_t *) 0)
30442 return 0;
30443 if (sizeof (pid_t))
30444 return 0;
30445 ;
30446 return 0;
30447 }
30448 _ACEOF
30449 rm -f conftest.$ac_objext
30450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30451 (eval $ac_compile) 2>conftest.er1
30452 ac_status=$?
30453 grep -v '^ *+' conftest.er1 >conftest.err
30454 rm -f conftest.er1
30455 cat conftest.err >&5
30456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30457 (exit $ac_status); } &&
30458 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30460 (eval $ac_try) 2>&5
30461 ac_status=$?
30462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30463 (exit $ac_status); }; } &&
30464 { ac_try='test -s conftest.$ac_objext'
30465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30466 (eval $ac_try) 2>&5
30467 ac_status=$?
30468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30469 (exit $ac_status); }; }; then
30470 ac_cv_type_pid_t=yes
30471 else
30472 echo "$as_me: failed program was:" >&5
30473 sed 's/^/| /' conftest.$ac_ext >&5
30474
30475 ac_cv_type_pid_t=no
30476 fi
30477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30478 fi
30479 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
30480 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
30481 if test $ac_cv_type_pid_t = yes; then
30482 :
30483 else
30484
30485 cat >>confdefs.h <<_ACEOF
30486 #define pid_t int
30487 _ACEOF
30488
30489 fi
30490
30491 echo "$as_me:$LINENO: checking for size_t" >&5
30492 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
30493 if test "${ac_cv_type_size_t+set}" = set; then
30494 echo $ECHO_N "(cached) $ECHO_C" >&6
30495 else
30496 cat >conftest.$ac_ext <<_ACEOF
30497 /* confdefs.h. */
30498 _ACEOF
30499 cat confdefs.h >>conftest.$ac_ext
30500 cat >>conftest.$ac_ext <<_ACEOF
30501 /* end confdefs.h. */
30502 $ac_includes_default
30503 int
30504 main ()
30505 {
30506 if ((size_t *) 0)
30507 return 0;
30508 if (sizeof (size_t))
30509 return 0;
30510 ;
30511 return 0;
30512 }
30513 _ACEOF
30514 rm -f conftest.$ac_objext
30515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30516 (eval $ac_compile) 2>conftest.er1
30517 ac_status=$?
30518 grep -v '^ *+' conftest.er1 >conftest.err
30519 rm -f conftest.er1
30520 cat conftest.err >&5
30521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30522 (exit $ac_status); } &&
30523 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30525 (eval $ac_try) 2>&5
30526 ac_status=$?
30527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30528 (exit $ac_status); }; } &&
30529 { ac_try='test -s conftest.$ac_objext'
30530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30531 (eval $ac_try) 2>&5
30532 ac_status=$?
30533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30534 (exit $ac_status); }; }; then
30535 ac_cv_type_size_t=yes
30536 else
30537 echo "$as_me: failed program was:" >&5
30538 sed 's/^/| /' conftest.$ac_ext >&5
30539
30540 ac_cv_type_size_t=no
30541 fi
30542 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30543 fi
30544 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
30545 echo "${ECHO_T}$ac_cv_type_size_t" >&6
30546 if test $ac_cv_type_size_t = yes; then
30547 :
30548 else
30549
30550 cat >>confdefs.h <<_ACEOF
30551 #define size_t unsigned
30552 _ACEOF
30553
30554 fi
30555
30556 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
30557 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
30558 if test "${ac_cv_type_uid_t+set}" = set; then
30559 echo $ECHO_N "(cached) $ECHO_C" >&6
30560 else
30561 cat >conftest.$ac_ext <<_ACEOF
30562 /* confdefs.h. */
30563 _ACEOF
30564 cat confdefs.h >>conftest.$ac_ext
30565 cat >>conftest.$ac_ext <<_ACEOF
30566 /* end confdefs.h. */
30567 #include <sys/types.h>
30568
30569 _ACEOF
30570 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
30571 $EGREP "uid_t" >/dev/null 2>&1; then
30572 ac_cv_type_uid_t=yes
30573 else
30574 ac_cv_type_uid_t=no
30575 fi
30576 rm -f conftest*
30577
30578 fi
30579 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
30580 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
30581 if test $ac_cv_type_uid_t = no; then
30582
30583 cat >>confdefs.h <<\_ACEOF
30584 #define uid_t int
30585 _ACEOF
30586
30587
30588 cat >>confdefs.h <<\_ACEOF
30589 #define gid_t int
30590 _ACEOF
30591
30592 fi
30593
30594
30595 echo "$as_me:$LINENO: checking for ssize_t" >&5
30596 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
30597 if test "${ac_cv_type_ssize_t+set}" = set; then
30598 echo $ECHO_N "(cached) $ECHO_C" >&6
30599 else
30600 cat >conftest.$ac_ext <<_ACEOF
30601 /* confdefs.h. */
30602 _ACEOF
30603 cat confdefs.h >>conftest.$ac_ext
30604 cat >>conftest.$ac_ext <<_ACEOF
30605 /* end confdefs.h. */
30606 $ac_includes_default
30607 int
30608 main ()
30609 {
30610 if ((ssize_t *) 0)
30611 return 0;
30612 if (sizeof (ssize_t))
30613 return 0;
30614 ;
30615 return 0;
30616 }
30617 _ACEOF
30618 rm -f conftest.$ac_objext
30619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30620 (eval $ac_compile) 2>conftest.er1
30621 ac_status=$?
30622 grep -v '^ *+' conftest.er1 >conftest.err
30623 rm -f conftest.er1
30624 cat conftest.err >&5
30625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30626 (exit $ac_status); } &&
30627 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30629 (eval $ac_try) 2>&5
30630 ac_status=$?
30631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30632 (exit $ac_status); }; } &&
30633 { ac_try='test -s conftest.$ac_objext'
30634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30635 (eval $ac_try) 2>&5
30636 ac_status=$?
30637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30638 (exit $ac_status); }; }; then
30639 ac_cv_type_ssize_t=yes
30640 else
30641 echo "$as_me: failed program was:" >&5
30642 sed 's/^/| /' conftest.$ac_ext >&5
30643
30644 ac_cv_type_ssize_t=no
30645 fi
30646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30647 fi
30648 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
30649 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
30650 if test $ac_cv_type_ssize_t = yes; then
30651
30652 cat >>confdefs.h <<_ACEOF
30653 #define HAVE_SSIZE_T 1
30654 _ACEOF
30655
30656
30657 fi
30658
30659
30660
30661
30662 ac_ext=cc
30663 ac_cpp='$CXXCPP $CPPFLAGS'
30664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30667
30668 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
30669 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
30670 if test "${wx_cv_size_t_is_uint+set}" = set; then
30671 echo $ECHO_N "(cached) $ECHO_C" >&6
30672 else
30673
30674 cat >conftest.$ac_ext <<_ACEOF
30675 /* confdefs.h. */
30676 _ACEOF
30677 cat confdefs.h >>conftest.$ac_ext
30678 cat >>conftest.$ac_ext <<_ACEOF
30679 /* end confdefs.h. */
30680 #include <stddef.h>
30681 int
30682 main ()
30683 {
30684
30685 return 0; }
30686
30687 struct Foo { void foo(size_t); void foo(unsigned int); };
30688
30689 int bar() {
30690
30691 ;
30692 return 0;
30693 }
30694 _ACEOF
30695 rm -f conftest.$ac_objext
30696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30697 (eval $ac_compile) 2>conftest.er1
30698 ac_status=$?
30699 grep -v '^ *+' conftest.er1 >conftest.err
30700 rm -f conftest.er1
30701 cat conftest.err >&5
30702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30703 (exit $ac_status); } &&
30704 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30706 (eval $ac_try) 2>&5
30707 ac_status=$?
30708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30709 (exit $ac_status); }; } &&
30710 { ac_try='test -s conftest.$ac_objext'
30711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30712 (eval $ac_try) 2>&5
30713 ac_status=$?
30714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30715 (exit $ac_status); }; }; then
30716 wx_cv_size_t_is_uint=no
30717 else
30718 echo "$as_me: failed program was:" >&5
30719 sed 's/^/| /' conftest.$ac_ext >&5
30720
30721 wx_cv_size_t_is_uint=yes
30722
30723 fi
30724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30725
30726
30727 fi
30728 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
30729 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
30730
30731 if test "$wx_cv_size_t_is_uint" = "yes"; then
30732 cat >>confdefs.h <<\_ACEOF
30733 #define wxSIZE_T_IS_UINT 1
30734 _ACEOF
30735
30736 else
30737 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
30738 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
30739 if test "${wx_cv_size_t_is_ulong+set}" = set; then
30740 echo $ECHO_N "(cached) $ECHO_C" >&6
30741 else
30742 cat >conftest.$ac_ext <<_ACEOF
30743 /* confdefs.h. */
30744 _ACEOF
30745 cat confdefs.h >>conftest.$ac_ext
30746 cat >>conftest.$ac_ext <<_ACEOF
30747 /* end confdefs.h. */
30748 #include <stddef.h>
30749 int
30750 main ()
30751 {
30752
30753 return 0; }
30754
30755 struct Foo { void foo(size_t); void foo(unsigned long); };
30756
30757 int bar() {
30758
30759 ;
30760 return 0;
30761 }
30762 _ACEOF
30763 rm -f conftest.$ac_objext
30764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30765 (eval $ac_compile) 2>conftest.er1
30766 ac_status=$?
30767 grep -v '^ *+' conftest.er1 >conftest.err
30768 rm -f conftest.er1
30769 cat conftest.err >&5
30770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30771 (exit $ac_status); } &&
30772 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30774 (eval $ac_try) 2>&5
30775 ac_status=$?
30776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30777 (exit $ac_status); }; } &&
30778 { ac_try='test -s conftest.$ac_objext'
30779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30780 (eval $ac_try) 2>&5
30781 ac_status=$?
30782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30783 (exit $ac_status); }; }; then
30784 wx_cv_size_t_is_ulong=no
30785 else
30786 echo "$as_me: failed program was:" >&5
30787 sed 's/^/| /' conftest.$ac_ext >&5
30788
30789 wx_cv_size_t_is_ulong=yes
30790
30791 fi
30792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30793
30794 fi
30795 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
30796 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
30797
30798 if test "$wx_cv_size_t_is_ulong" = "yes"; then
30799 cat >>confdefs.h <<\_ACEOF
30800 #define wxSIZE_T_IS_ULONG 1
30801 _ACEOF
30802
30803 fi
30804 fi
30805
30806 ac_ext=c
30807 ac_cpp='$CPP $CPPFLAGS'
30808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30811
30812
30813
30814 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
30815 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
30816 if test "${wx_cv_struct_pw_gecos+set}" = set; then
30817 echo $ECHO_N "(cached) $ECHO_C" >&6
30818 else
30819
30820 cat >conftest.$ac_ext <<_ACEOF
30821 /* confdefs.h. */
30822 _ACEOF
30823 cat confdefs.h >>conftest.$ac_ext
30824 cat >>conftest.$ac_ext <<_ACEOF
30825 /* end confdefs.h. */
30826 #include <pwd.h>
30827 int
30828 main ()
30829 {
30830
30831 char *p;
30832 struct passwd *pw;
30833 p = pw->pw_gecos;
30834
30835 ;
30836 return 0;
30837 }
30838 _ACEOF
30839 rm -f conftest.$ac_objext
30840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30841 (eval $ac_compile) 2>conftest.er1
30842 ac_status=$?
30843 grep -v '^ *+' conftest.er1 >conftest.err
30844 rm -f conftest.er1
30845 cat conftest.err >&5
30846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30847 (exit $ac_status); } &&
30848 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30850 (eval $ac_try) 2>&5
30851 ac_status=$?
30852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30853 (exit $ac_status); }; } &&
30854 { ac_try='test -s conftest.$ac_objext'
30855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30856 (eval $ac_try) 2>&5
30857 ac_status=$?
30858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30859 (exit $ac_status); }; }; then
30860
30861 wx_cv_struct_pw_gecos=yes
30862
30863 else
30864 echo "$as_me: failed program was:" >&5
30865 sed 's/^/| /' conftest.$ac_ext >&5
30866
30867
30868 wx_cv_struct_pw_gecos=no
30869
30870
30871 fi
30872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30873
30874
30875 fi
30876 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
30877 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
30878
30879 if test "$wx_cv_struct_pw_gecos" = "yes"; then
30880 cat >>confdefs.h <<\_ACEOF
30881 #define HAVE_PW_GECOS 1
30882 _ACEOF
30883
30884 fi
30885
30886
30887 if test "$wxUSE_WCHAR_T" = "yes"; then
30888 cat >>confdefs.h <<\_ACEOF
30889 #define wxUSE_WCHAR_T 1
30890 _ACEOF
30891
30892
30893 WCSLEN_FOUND=0
30894 WCHAR_LINK=
30895
30896 for ac_func in wcslen
30897 do
30898 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30899 echo "$as_me:$LINENO: checking for $ac_func" >&5
30900 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30901 if eval "test \"\${$as_ac_var+set}\" = set"; then
30902 echo $ECHO_N "(cached) $ECHO_C" >&6
30903 else
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30911 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30912 #define $ac_func innocuous_$ac_func
30913
30914 /* System header to define __stub macros and hopefully few prototypes,
30915 which can conflict with char $ac_func (); below.
30916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30917 <limits.h> exists even on freestanding compilers. */
30918
30919 #ifdef __STDC__
30920 # include <limits.h>
30921 #else
30922 # include <assert.h>
30923 #endif
30924
30925 #undef $ac_func
30926
30927 /* Override any gcc2 internal prototype to avoid an error. */
30928 #ifdef __cplusplus
30929 extern "C"
30930 {
30931 #endif
30932 /* We use char because int might match the return type of a gcc2
30933 builtin and then its argument prototype would still apply. */
30934 char $ac_func ();
30935 /* The GNU C library defines this for functions which it implements
30936 to always fail with ENOSYS. Some functions are actually named
30937 something starting with __ and the normal name is an alias. */
30938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30939 choke me
30940 #else
30941 char (*f) () = $ac_func;
30942 #endif
30943 #ifdef __cplusplus
30944 }
30945 #endif
30946
30947 int
30948 main ()
30949 {
30950 return f != $ac_func;
30951 ;
30952 return 0;
30953 }
30954 _ACEOF
30955 rm -f conftest.$ac_objext conftest$ac_exeext
30956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30957 (eval $ac_link) 2>conftest.er1
30958 ac_status=$?
30959 grep -v '^ *+' conftest.er1 >conftest.err
30960 rm -f conftest.er1
30961 cat conftest.err >&5
30962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30963 (exit $ac_status); } &&
30964 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30966 (eval $ac_try) 2>&5
30967 ac_status=$?
30968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30969 (exit $ac_status); }; } &&
30970 { ac_try='test -s conftest$ac_exeext'
30971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30972 (eval $ac_try) 2>&5
30973 ac_status=$?
30974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30975 (exit $ac_status); }; }; then
30976 eval "$as_ac_var=yes"
30977 else
30978 echo "$as_me: failed program was:" >&5
30979 sed 's/^/| /' conftest.$ac_ext >&5
30980
30981 eval "$as_ac_var=no"
30982 fi
30983 rm -f conftest.err conftest.$ac_objext \
30984 conftest$ac_exeext conftest.$ac_ext
30985 fi
30986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30987 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30988 if test `eval echo '${'$as_ac_var'}'` = yes; then
30989 cat >>confdefs.h <<_ACEOF
30990 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30991 _ACEOF
30992 WCSLEN_FOUND=1
30993 fi
30994 done
30995
30996
30997 if test "$WCSLEN_FOUND" = 0; then
30998 if test "$TOOLKIT" = "MSW"; then
30999 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
31000 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
31001 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
31002 echo $ECHO_N "(cached) $ECHO_C" >&6
31003 else
31004 ac_check_lib_save_LIBS=$LIBS
31005 LIBS="-lmsvcrt $LIBS"
31006 cat >conftest.$ac_ext <<_ACEOF
31007 /* confdefs.h. */
31008 _ACEOF
31009 cat confdefs.h >>conftest.$ac_ext
31010 cat >>conftest.$ac_ext <<_ACEOF
31011 /* end confdefs.h. */
31012
31013 /* Override any gcc2 internal prototype to avoid an error. */
31014 #ifdef __cplusplus
31015 extern "C"
31016 #endif
31017 /* We use char because int might match the return type of a gcc2
31018 builtin and then its argument prototype would still apply. */
31019 char wcslen ();
31020 int
31021 main ()
31022 {
31023 wcslen ();
31024 ;
31025 return 0;
31026 }
31027 _ACEOF
31028 rm -f conftest.$ac_objext conftest$ac_exeext
31029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31030 (eval $ac_link) 2>conftest.er1
31031 ac_status=$?
31032 grep -v '^ *+' conftest.er1 >conftest.err
31033 rm -f conftest.er1
31034 cat conftest.err >&5
31035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31036 (exit $ac_status); } &&
31037 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31039 (eval $ac_try) 2>&5
31040 ac_status=$?
31041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31042 (exit $ac_status); }; } &&
31043 { ac_try='test -s conftest$ac_exeext'
31044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31045 (eval $ac_try) 2>&5
31046 ac_status=$?
31047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31048 (exit $ac_status); }; }; then
31049 ac_cv_lib_msvcrt_wcslen=yes
31050 else
31051 echo "$as_me: failed program was:" >&5
31052 sed 's/^/| /' conftest.$ac_ext >&5
31053
31054 ac_cv_lib_msvcrt_wcslen=no
31055 fi
31056 rm -f conftest.err conftest.$ac_objext \
31057 conftest$ac_exeext conftest.$ac_ext
31058 LIBS=$ac_check_lib_save_LIBS
31059 fi
31060 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
31061 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
31062 if test $ac_cv_lib_msvcrt_wcslen = yes; then
31063 WCHAR_OK=1
31064 fi
31065
31066 else
31067 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
31068 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
31069 if test "${ac_cv_lib_w_wcslen+set}" = set; then
31070 echo $ECHO_N "(cached) $ECHO_C" >&6
31071 else
31072 ac_check_lib_save_LIBS=$LIBS
31073 LIBS="-lw $LIBS"
31074 cat >conftest.$ac_ext <<_ACEOF
31075 /* confdefs.h. */
31076 _ACEOF
31077 cat confdefs.h >>conftest.$ac_ext
31078 cat >>conftest.$ac_ext <<_ACEOF
31079 /* end confdefs.h. */
31080
31081 /* Override any gcc2 internal prototype to avoid an error. */
31082 #ifdef __cplusplus
31083 extern "C"
31084 #endif
31085 /* We use char because int might match the return type of a gcc2
31086 builtin and then its argument prototype would still apply. */
31087 char wcslen ();
31088 int
31089 main ()
31090 {
31091 wcslen ();
31092 ;
31093 return 0;
31094 }
31095 _ACEOF
31096 rm -f conftest.$ac_objext conftest$ac_exeext
31097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31098 (eval $ac_link) 2>conftest.er1
31099 ac_status=$?
31100 grep -v '^ *+' conftest.er1 >conftest.err
31101 rm -f conftest.er1
31102 cat conftest.err >&5
31103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31104 (exit $ac_status); } &&
31105 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31107 (eval $ac_try) 2>&5
31108 ac_status=$?
31109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31110 (exit $ac_status); }; } &&
31111 { ac_try='test -s conftest$ac_exeext'
31112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31113 (eval $ac_try) 2>&5
31114 ac_status=$?
31115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31116 (exit $ac_status); }; }; then
31117 ac_cv_lib_w_wcslen=yes
31118 else
31119 echo "$as_me: failed program was:" >&5
31120 sed 's/^/| /' conftest.$ac_ext >&5
31121
31122 ac_cv_lib_w_wcslen=no
31123 fi
31124 rm -f conftest.err conftest.$ac_objext \
31125 conftest$ac_exeext conftest.$ac_ext
31126 LIBS=$ac_check_lib_save_LIBS
31127 fi
31128 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
31129 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
31130 if test $ac_cv_lib_w_wcslen = yes; then
31131
31132 WCHAR_LINK=" -lw"
31133 WCSLEN_FOUND=1
31134
31135 fi
31136
31137 fi
31138 fi
31139
31140 if test "$WCSLEN_FOUND" = 1; then
31141 cat >>confdefs.h <<\_ACEOF
31142 #define HAVE_WCSLEN 1
31143 _ACEOF
31144
31145 fi
31146
31147 if test "$USE_HPUX" = 1; then
31148 CPPFLAGS="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
31149 fi
31150
31151
31152 for ac_func in wcsrtombs
31153 do
31154 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31155 echo "$as_me:$LINENO: checking for $ac_func" >&5
31156 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31157 if eval "test \"\${$as_ac_var+set}\" = set"; then
31158 echo $ECHO_N "(cached) $ECHO_C" >&6
31159 else
31160 cat >conftest.$ac_ext <<_ACEOF
31161 /* confdefs.h. */
31162 _ACEOF
31163 cat confdefs.h >>conftest.$ac_ext
31164 cat >>conftest.$ac_ext <<_ACEOF
31165 /* end confdefs.h. */
31166 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31167 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31168 #define $ac_func innocuous_$ac_func
31169
31170 /* System header to define __stub macros and hopefully few prototypes,
31171 which can conflict with char $ac_func (); below.
31172 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31173 <limits.h> exists even on freestanding compilers. */
31174
31175 #ifdef __STDC__
31176 # include <limits.h>
31177 #else
31178 # include <assert.h>
31179 #endif
31180
31181 #undef $ac_func
31182
31183 /* Override any gcc2 internal prototype to avoid an error. */
31184 #ifdef __cplusplus
31185 extern "C"
31186 {
31187 #endif
31188 /* We use char because int might match the return type of a gcc2
31189 builtin and then its argument prototype would still apply. */
31190 char $ac_func ();
31191 /* The GNU C library defines this for functions which it implements
31192 to always fail with ENOSYS. Some functions are actually named
31193 something starting with __ and the normal name is an alias. */
31194 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31195 choke me
31196 #else
31197 char (*f) () = $ac_func;
31198 #endif
31199 #ifdef __cplusplus
31200 }
31201 #endif
31202
31203 int
31204 main ()
31205 {
31206 return f != $ac_func;
31207 ;
31208 return 0;
31209 }
31210 _ACEOF
31211 rm -f conftest.$ac_objext conftest$ac_exeext
31212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31213 (eval $ac_link) 2>conftest.er1
31214 ac_status=$?
31215 grep -v '^ *+' conftest.er1 >conftest.err
31216 rm -f conftest.er1
31217 cat conftest.err >&5
31218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31219 (exit $ac_status); } &&
31220 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31222 (eval $ac_try) 2>&5
31223 ac_status=$?
31224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31225 (exit $ac_status); }; } &&
31226 { ac_try='test -s conftest$ac_exeext'
31227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31228 (eval $ac_try) 2>&5
31229 ac_status=$?
31230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31231 (exit $ac_status); }; }; then
31232 eval "$as_ac_var=yes"
31233 else
31234 echo "$as_me: failed program was:" >&5
31235 sed 's/^/| /' conftest.$ac_ext >&5
31236
31237 eval "$as_ac_var=no"
31238 fi
31239 rm -f conftest.err conftest.$ac_objext \
31240 conftest$ac_exeext conftest.$ac_ext
31241 fi
31242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31243 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31244 if test `eval echo '${'$as_ac_var'}'` = yes; then
31245 cat >>confdefs.h <<_ACEOF
31246 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31247 _ACEOF
31248
31249 fi
31250 done
31251
31252 else
31253 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
31254 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
31255 fi
31256
31257
31258
31259 ac_ext=cc
31260 ac_cpp='$CXXCPP $CPPFLAGS'
31261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31264
31265
31266
31267 for ac_func in vsnprintf
31268 do
31269 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31270 echo "$as_me:$LINENO: checking for $ac_func" >&5
31271 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31272 if eval "test \"\${$as_ac_var+set}\" = set"; then
31273 echo $ECHO_N "(cached) $ECHO_C" >&6
31274 else
31275 cat >conftest.$ac_ext <<_ACEOF
31276 /* confdefs.h. */
31277 _ACEOF
31278 cat confdefs.h >>conftest.$ac_ext
31279 cat >>conftest.$ac_ext <<_ACEOF
31280 /* end confdefs.h. */
31281 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31283 #define $ac_func innocuous_$ac_func
31284
31285 /* System header to define __stub macros and hopefully few prototypes,
31286 which can conflict with char $ac_func (); below.
31287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31288 <limits.h> exists even on freestanding compilers. */
31289
31290 #ifdef __STDC__
31291 # include <limits.h>
31292 #else
31293 # include <assert.h>
31294 #endif
31295
31296 #undef $ac_func
31297
31298 /* Override any gcc2 internal prototype to avoid an error. */
31299 #ifdef __cplusplus
31300 extern "C"
31301 {
31302 #endif
31303 /* We use char because int might match the return type of a gcc2
31304 builtin and then its argument prototype would still apply. */
31305 char $ac_func ();
31306 /* The GNU C library defines this for functions which it implements
31307 to always fail with ENOSYS. Some functions are actually named
31308 something starting with __ and the normal name is an alias. */
31309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31310 choke me
31311 #else
31312 char (*f) () = $ac_func;
31313 #endif
31314 #ifdef __cplusplus
31315 }
31316 #endif
31317
31318 int
31319 main ()
31320 {
31321 return f != $ac_func;
31322 ;
31323 return 0;
31324 }
31325 _ACEOF
31326 rm -f conftest.$ac_objext conftest$ac_exeext
31327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31328 (eval $ac_link) 2>conftest.er1
31329 ac_status=$?
31330 grep -v '^ *+' conftest.er1 >conftest.err
31331 rm -f conftest.er1
31332 cat conftest.err >&5
31333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31334 (exit $ac_status); } &&
31335 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31337 (eval $ac_try) 2>&5
31338 ac_status=$?
31339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31340 (exit $ac_status); }; } &&
31341 { ac_try='test -s conftest$ac_exeext'
31342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31343 (eval $ac_try) 2>&5
31344 ac_status=$?
31345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31346 (exit $ac_status); }; }; then
31347 eval "$as_ac_var=yes"
31348 else
31349 echo "$as_me: failed program was:" >&5
31350 sed 's/^/| /' conftest.$ac_ext >&5
31351
31352 eval "$as_ac_var=no"
31353 fi
31354 rm -f conftest.err conftest.$ac_objext \
31355 conftest$ac_exeext conftest.$ac_ext
31356 fi
31357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31358 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31359 if test `eval echo '${'$as_ac_var'}'` = yes; then
31360 cat >>confdefs.h <<_ACEOF
31361 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31362 _ACEOF
31363
31364 fi
31365 done
31366
31367
31368 if test "$ac_cv_func_vsnprintf" = "yes"; then
31369 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
31370 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
31371 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
31372 echo $ECHO_N "(cached) $ECHO_C" >&6
31373 else
31374
31375 cat >conftest.$ac_ext <<_ACEOF
31376 /* confdefs.h. */
31377 _ACEOF
31378 cat confdefs.h >>conftest.$ac_ext
31379 cat >>conftest.$ac_ext <<_ACEOF
31380 /* end confdefs.h. */
31381
31382 #include <stdio.h>
31383 #include <stdarg.h>
31384
31385 int
31386 main ()
31387 {
31388
31389 char *buf;
31390 va_list ap;
31391 vsnprintf(buf, 10u, "%s", ap);
31392
31393 ;
31394 return 0;
31395 }
31396 _ACEOF
31397 rm -f conftest.$ac_objext
31398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31399 (eval $ac_compile) 2>conftest.er1
31400 ac_status=$?
31401 grep -v '^ *+' conftest.er1 >conftest.err
31402 rm -f conftest.er1
31403 cat conftest.err >&5
31404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31405 (exit $ac_status); } &&
31406 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31408 (eval $ac_try) 2>&5
31409 ac_status=$?
31410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31411 (exit $ac_status); }; } &&
31412 { ac_try='test -s conftest.$ac_objext'
31413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31414 (eval $ac_try) 2>&5
31415 ac_status=$?
31416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31417 (exit $ac_status); }; }; then
31418 wx_cv_func_vsnprintf_decl=yes
31419 else
31420 echo "$as_me: failed program was:" >&5
31421 sed 's/^/| /' conftest.$ac_ext >&5
31422
31423
31424 cat >conftest.$ac_ext <<_ACEOF
31425 /* confdefs.h. */
31426 _ACEOF
31427 cat confdefs.h >>conftest.$ac_ext
31428 cat >>conftest.$ac_ext <<_ACEOF
31429 /* end confdefs.h. */
31430
31431 #include <stdio.h>
31432 #include <stdarg.h>
31433 using namespace std;
31434
31435 int
31436 main ()
31437 {
31438
31439 char *buf;
31440 va_list ap;
31441 vsnprintf(buf, 10u, "%s", ap);
31442
31443 ;
31444 return 0;
31445 }
31446 _ACEOF
31447 rm -f conftest.$ac_objext
31448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31449 (eval $ac_compile) 2>conftest.er1
31450 ac_status=$?
31451 grep -v '^ *+' conftest.er1 >conftest.err
31452 rm -f conftest.er1
31453 cat conftest.err >&5
31454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31455 (exit $ac_status); } &&
31456 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31458 (eval $ac_try) 2>&5
31459 ac_status=$?
31460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31461 (exit $ac_status); }; } &&
31462 { ac_try='test -s conftest.$ac_objext'
31463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31464 (eval $ac_try) 2>&5
31465 ac_status=$?
31466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31467 (exit $ac_status); }; }; then
31468 wx_cv_func_vsnprintf_decl=yes
31469 else
31470 echo "$as_me: failed program was:" >&5
31471 sed 's/^/| /' conftest.$ac_ext >&5
31472
31473 wx_cv_func_vsnprintf_decl=no
31474
31475 fi
31476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31477
31478
31479 fi
31480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31481
31482
31483 fi
31484 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
31485 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
31486
31487 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
31488 cat >>confdefs.h <<\_ACEOF
31489 #define HAVE_VSNPRINTF_DECL 1
31490 _ACEOF
31491
31492 fi
31493 fi
31494
31495 if test "$wxUSE_UNICODE" = yes; then
31496
31497
31498
31499
31500
31501
31502 for ac_func in wputc wputchar putws fputws wprintf vswprintf
31503 do
31504 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31505 echo "$as_me:$LINENO: checking for $ac_func" >&5
31506 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31507 if eval "test \"\${$as_ac_var+set}\" = set"; then
31508 echo $ECHO_N "(cached) $ECHO_C" >&6
31509 else
31510 cat >conftest.$ac_ext <<_ACEOF
31511 /* confdefs.h. */
31512 _ACEOF
31513 cat confdefs.h >>conftest.$ac_ext
31514 cat >>conftest.$ac_ext <<_ACEOF
31515 /* end confdefs.h. */
31516 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31517 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31518 #define $ac_func innocuous_$ac_func
31519
31520 /* System header to define __stub macros and hopefully few prototypes,
31521 which can conflict with char $ac_func (); below.
31522 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31523 <limits.h> exists even on freestanding compilers. */
31524
31525 #ifdef __STDC__
31526 # include <limits.h>
31527 #else
31528 # include <assert.h>
31529 #endif
31530
31531 #undef $ac_func
31532
31533 /* Override any gcc2 internal prototype to avoid an error. */
31534 #ifdef __cplusplus
31535 extern "C"
31536 {
31537 #endif
31538 /* We use char because int might match the return type of a gcc2
31539 builtin and then its argument prototype would still apply. */
31540 char $ac_func ();
31541 /* The GNU C library defines this for functions which it implements
31542 to always fail with ENOSYS. Some functions are actually named
31543 something starting with __ and the normal name is an alias. */
31544 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31545 choke me
31546 #else
31547 char (*f) () = $ac_func;
31548 #endif
31549 #ifdef __cplusplus
31550 }
31551 #endif
31552
31553 int
31554 main ()
31555 {
31556 return f != $ac_func;
31557 ;
31558 return 0;
31559 }
31560 _ACEOF
31561 rm -f conftest.$ac_objext conftest$ac_exeext
31562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31563 (eval $ac_link) 2>conftest.er1
31564 ac_status=$?
31565 grep -v '^ *+' conftest.er1 >conftest.err
31566 rm -f conftest.er1
31567 cat conftest.err >&5
31568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31569 (exit $ac_status); } &&
31570 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31572 (eval $ac_try) 2>&5
31573 ac_status=$?
31574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31575 (exit $ac_status); }; } &&
31576 { ac_try='test -s conftest$ac_exeext'
31577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31578 (eval $ac_try) 2>&5
31579 ac_status=$?
31580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31581 (exit $ac_status); }; }; then
31582 eval "$as_ac_var=yes"
31583 else
31584 echo "$as_me: failed program was:" >&5
31585 sed 's/^/| /' conftest.$ac_ext >&5
31586
31587 eval "$as_ac_var=no"
31588 fi
31589 rm -f conftest.err conftest.$ac_objext \
31590 conftest$ac_exeext conftest.$ac_ext
31591 fi
31592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31593 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31594 if test `eval echo '${'$as_ac_var'}'` = yes; then
31595 cat >>confdefs.h <<_ACEOF
31596 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31597 _ACEOF
31598
31599 fi
31600 done
31601
31602
31603 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
31604 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
31605 cat >conftest.$ac_ext <<_ACEOF
31606 /* confdefs.h. */
31607 _ACEOF
31608 cat confdefs.h >>conftest.$ac_ext
31609 cat >>conftest.$ac_ext <<_ACEOF
31610 /* end confdefs.h. */
31611 #include <wchar.h>
31612 int
31613 main ()
31614 {
31615 &_vsnwprintf;
31616 ;
31617 return 0;
31618 }
31619 _ACEOF
31620 rm -f conftest.$ac_objext
31621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31622 (eval $ac_compile) 2>conftest.er1
31623 ac_status=$?
31624 grep -v '^ *+' conftest.er1 >conftest.err
31625 rm -f conftest.er1
31626 cat conftest.err >&5
31627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31628 (exit $ac_status); } &&
31629 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31631 (eval $ac_try) 2>&5
31632 ac_status=$?
31633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31634 (exit $ac_status); }; } &&
31635 { ac_try='test -s conftest.$ac_objext'
31636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31637 (eval $ac_try) 2>&5
31638 ac_status=$?
31639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31640 (exit $ac_status); }; }; then
31641 echo "$as_me:$LINENO: result: yes" >&5
31642 echo "${ECHO_T}yes" >&6
31643 cat >>confdefs.h <<\_ACEOF
31644 #define HAVE__VSNWPRINTF 1
31645 _ACEOF
31646
31647 else
31648 echo "$as_me: failed program was:" >&5
31649 sed 's/^/| /' conftest.$ac_ext >&5
31650
31651 echo "$as_me:$LINENO: result: no" >&5
31652 echo "${ECHO_T}no" >&6
31653 fi
31654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
31655 fi
31656
31657 ac_ext=c
31658 ac_cpp='$CPP $CPPFLAGS'
31659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31662
31663
31664 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
31665
31666 for ac_func in fnmatch
31667 do
31668 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31669 echo "$as_me:$LINENO: checking for $ac_func" >&5
31670 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31671 if eval "test \"\${$as_ac_var+set}\" = set"; then
31672 echo $ECHO_N "(cached) $ECHO_C" >&6
31673 else
31674 cat >conftest.$ac_ext <<_ACEOF
31675 /* confdefs.h. */
31676 _ACEOF
31677 cat confdefs.h >>conftest.$ac_ext
31678 cat >>conftest.$ac_ext <<_ACEOF
31679 /* end confdefs.h. */
31680 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31681 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31682 #define $ac_func innocuous_$ac_func
31683
31684 /* System header to define __stub macros and hopefully few prototypes,
31685 which can conflict with char $ac_func (); below.
31686 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31687 <limits.h> exists even on freestanding compilers. */
31688
31689 #ifdef __STDC__
31690 # include <limits.h>
31691 #else
31692 # include <assert.h>
31693 #endif
31694
31695 #undef $ac_func
31696
31697 /* Override any gcc2 internal prototype to avoid an error. */
31698 #ifdef __cplusplus
31699 extern "C"
31700 {
31701 #endif
31702 /* We use char because int might match the return type of a gcc2
31703 builtin and then its argument prototype would still apply. */
31704 char $ac_func ();
31705 /* The GNU C library defines this for functions which it implements
31706 to always fail with ENOSYS. Some functions are actually named
31707 something starting with __ and the normal name is an alias. */
31708 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31709 choke me
31710 #else
31711 char (*f) () = $ac_func;
31712 #endif
31713 #ifdef __cplusplus
31714 }
31715 #endif
31716
31717 int
31718 main ()
31719 {
31720 return f != $ac_func;
31721 ;
31722 return 0;
31723 }
31724 _ACEOF
31725 rm -f conftest.$ac_objext conftest$ac_exeext
31726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31727 (eval $ac_link) 2>conftest.er1
31728 ac_status=$?
31729 grep -v '^ *+' conftest.er1 >conftest.err
31730 rm -f conftest.er1
31731 cat conftest.err >&5
31732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31733 (exit $ac_status); } &&
31734 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31736 (eval $ac_try) 2>&5
31737 ac_status=$?
31738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31739 (exit $ac_status); }; } &&
31740 { ac_try='test -s conftest$ac_exeext'
31741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31742 (eval $ac_try) 2>&5
31743 ac_status=$?
31744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31745 (exit $ac_status); }; }; then
31746 eval "$as_ac_var=yes"
31747 else
31748 echo "$as_me: failed program was:" >&5
31749 sed 's/^/| /' conftest.$ac_ext >&5
31750
31751 eval "$as_ac_var=no"
31752 fi
31753 rm -f conftest.err conftest.$ac_objext \
31754 conftest$ac_exeext conftest.$ac_ext
31755 fi
31756 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31757 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31758 if test `eval echo '${'$as_ac_var'}'` = yes; then
31759 cat >>confdefs.h <<_ACEOF
31760 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31761 _ACEOF
31762
31763 fi
31764 done
31765
31766 fi
31767
31768 if test "$wxUSE_FILE" = "yes"; then
31769
31770 for ac_func in fsync
31771 do
31772 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31773 echo "$as_me:$LINENO: checking for $ac_func" >&5
31774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31775 if eval "test \"\${$as_ac_var+set}\" = set"; then
31776 echo $ECHO_N "(cached) $ECHO_C" >&6
31777 else
31778 cat >conftest.$ac_ext <<_ACEOF
31779 /* confdefs.h. */
31780 _ACEOF
31781 cat confdefs.h >>conftest.$ac_ext
31782 cat >>conftest.$ac_ext <<_ACEOF
31783 /* end confdefs.h. */
31784 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31785 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31786 #define $ac_func innocuous_$ac_func
31787
31788 /* System header to define __stub macros and hopefully few prototypes,
31789 which can conflict with char $ac_func (); below.
31790 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31791 <limits.h> exists even on freestanding compilers. */
31792
31793 #ifdef __STDC__
31794 # include <limits.h>
31795 #else
31796 # include <assert.h>
31797 #endif
31798
31799 #undef $ac_func
31800
31801 /* Override any gcc2 internal prototype to avoid an error. */
31802 #ifdef __cplusplus
31803 extern "C"
31804 {
31805 #endif
31806 /* We use char because int might match the return type of a gcc2
31807 builtin and then its argument prototype would still apply. */
31808 char $ac_func ();
31809 /* The GNU C library defines this for functions which it implements
31810 to always fail with ENOSYS. Some functions are actually named
31811 something starting with __ and the normal name is an alias. */
31812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31813 choke me
31814 #else
31815 char (*f) () = $ac_func;
31816 #endif
31817 #ifdef __cplusplus
31818 }
31819 #endif
31820
31821 int
31822 main ()
31823 {
31824 return f != $ac_func;
31825 ;
31826 return 0;
31827 }
31828 _ACEOF
31829 rm -f conftest.$ac_objext conftest$ac_exeext
31830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31831 (eval $ac_link) 2>conftest.er1
31832 ac_status=$?
31833 grep -v '^ *+' conftest.er1 >conftest.err
31834 rm -f conftest.er1
31835 cat conftest.err >&5
31836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31837 (exit $ac_status); } &&
31838 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31840 (eval $ac_try) 2>&5
31841 ac_status=$?
31842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31843 (exit $ac_status); }; } &&
31844 { ac_try='test -s conftest$ac_exeext'
31845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31846 (eval $ac_try) 2>&5
31847 ac_status=$?
31848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31849 (exit $ac_status); }; }; then
31850 eval "$as_ac_var=yes"
31851 else
31852 echo "$as_me: failed program was:" >&5
31853 sed 's/^/| /' conftest.$ac_ext >&5
31854
31855 eval "$as_ac_var=no"
31856 fi
31857 rm -f conftest.err conftest.$ac_objext \
31858 conftest$ac_exeext conftest.$ac_ext
31859 fi
31860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31861 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31862 if test `eval echo '${'$as_ac_var'}'` = yes; then
31863 cat >>confdefs.h <<_ACEOF
31864 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31865 _ACEOF
31866
31867 fi
31868 done
31869
31870 fi
31871
31872
31873 if test "$TOOLKIT" != "MSW"; then
31874
31875
31876
31877
31878 ac_ext=cc
31879 ac_cpp='$CXXCPP $CPPFLAGS'
31880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31883
31884
31885
31886
31887 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
31888 if test "${with_libiconv_prefix+set}" = set; then
31889 withval="$with_libiconv_prefix"
31890
31891 for dir in `echo "$withval" | tr : ' '`; do
31892 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
31893 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
31894 done
31895
31896 fi;
31897
31898 echo "$as_me:$LINENO: checking for iconv" >&5
31899 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
31900 if test "${am_cv_func_iconv+set}" = set; then
31901 echo $ECHO_N "(cached) $ECHO_C" >&6
31902 else
31903
31904 am_cv_func_iconv="no, consider installing GNU libiconv"
31905 am_cv_lib_iconv=no
31906 cat >conftest.$ac_ext <<_ACEOF
31907 /* confdefs.h. */
31908 _ACEOF
31909 cat confdefs.h >>conftest.$ac_ext
31910 cat >>conftest.$ac_ext <<_ACEOF
31911 /* end confdefs.h. */
31912 #include <stdlib.h>
31913 #include <iconv.h>
31914 int
31915 main ()
31916 {
31917 iconv_t cd = iconv_open("","");
31918 iconv(cd,NULL,NULL,NULL,NULL);
31919 iconv_close(cd);
31920 ;
31921 return 0;
31922 }
31923 _ACEOF
31924 rm -f conftest.$ac_objext conftest$ac_exeext
31925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31926 (eval $ac_link) 2>conftest.er1
31927 ac_status=$?
31928 grep -v '^ *+' conftest.er1 >conftest.err
31929 rm -f conftest.er1
31930 cat conftest.err >&5
31931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31932 (exit $ac_status); } &&
31933 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31935 (eval $ac_try) 2>&5
31936 ac_status=$?
31937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31938 (exit $ac_status); }; } &&
31939 { ac_try='test -s conftest$ac_exeext'
31940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31941 (eval $ac_try) 2>&5
31942 ac_status=$?
31943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31944 (exit $ac_status); }; }; then
31945 am_cv_func_iconv=yes
31946 else
31947 echo "$as_me: failed program was:" >&5
31948 sed 's/^/| /' conftest.$ac_ext >&5
31949
31950 fi
31951 rm -f conftest.err conftest.$ac_objext \
31952 conftest$ac_exeext conftest.$ac_ext
31953 if test "$am_cv_func_iconv" != yes; then
31954 am_save_LIBS="$LIBS"
31955 LIBS="$LIBS -liconv"
31956 cat >conftest.$ac_ext <<_ACEOF
31957 /* confdefs.h. */
31958 _ACEOF
31959 cat confdefs.h >>conftest.$ac_ext
31960 cat >>conftest.$ac_ext <<_ACEOF
31961 /* end confdefs.h. */
31962 #include <stdlib.h>
31963 #include <iconv.h>
31964 int
31965 main ()
31966 {
31967 iconv_t cd = iconv_open("","");
31968 iconv(cd,NULL,NULL,NULL,NULL);
31969 iconv_close(cd);
31970 ;
31971 return 0;
31972 }
31973 _ACEOF
31974 rm -f conftest.$ac_objext conftest$ac_exeext
31975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31976 (eval $ac_link) 2>conftest.er1
31977 ac_status=$?
31978 grep -v '^ *+' conftest.er1 >conftest.err
31979 rm -f conftest.er1
31980 cat conftest.err >&5
31981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31982 (exit $ac_status); } &&
31983 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31985 (eval $ac_try) 2>&5
31986 ac_status=$?
31987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31988 (exit $ac_status); }; } &&
31989 { ac_try='test -s conftest$ac_exeext'
31990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31991 (eval $ac_try) 2>&5
31992 ac_status=$?
31993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31994 (exit $ac_status); }; }; then
31995 am_cv_lib_iconv=yes
31996 am_cv_func_iconv=yes
31997 else
31998 echo "$as_me: failed program was:" >&5
31999 sed 's/^/| /' conftest.$ac_ext >&5
32000
32001 fi
32002 rm -f conftest.err conftest.$ac_objext \
32003 conftest$ac_exeext conftest.$ac_ext
32004 LIBS="$am_save_LIBS"
32005 fi
32006
32007 fi
32008 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
32009 echo "${ECHO_T}$am_cv_func_iconv" >&6
32010 if test "$am_cv_func_iconv" = yes; then
32011
32012 cat >>confdefs.h <<\_ACEOF
32013 #define HAVE_ICONV 1
32014 _ACEOF
32015
32016 echo "$as_me:$LINENO: checking if iconv needs const" >&5
32017 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
32018 if test "${wx_cv_func_iconv_const+set}" = set; then
32019 echo $ECHO_N "(cached) $ECHO_C" >&6
32020 else
32021 cat >conftest.$ac_ext <<_ACEOF
32022 /* confdefs.h. */
32023 _ACEOF
32024 cat confdefs.h >>conftest.$ac_ext
32025 cat >>conftest.$ac_ext <<_ACEOF
32026 /* end confdefs.h. */
32027
32028 #include <stdlib.h>
32029 #include <iconv.h>
32030 extern
32031 #ifdef __cplusplus
32032 "C"
32033 #endif
32034 #if defined(__STDC__) || defined(__cplusplus)
32035 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
32036 #else
32037 size_t iconv();
32038 #endif
32039
32040 int
32041 main ()
32042 {
32043
32044 ;
32045 return 0;
32046 }
32047 _ACEOF
32048 rm -f conftest.$ac_objext
32049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32050 (eval $ac_compile) 2>conftest.er1
32051 ac_status=$?
32052 grep -v '^ *+' conftest.er1 >conftest.err
32053 rm -f conftest.er1
32054 cat conftest.err >&5
32055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32056 (exit $ac_status); } &&
32057 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32059 (eval $ac_try) 2>&5
32060 ac_status=$?
32061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32062 (exit $ac_status); }; } &&
32063 { ac_try='test -s conftest.$ac_objext'
32064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32065 (eval $ac_try) 2>&5
32066 ac_status=$?
32067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32068 (exit $ac_status); }; }; then
32069 wx_cv_func_iconv_const="no"
32070 else
32071 echo "$as_me: failed program was:" >&5
32072 sed 's/^/| /' conftest.$ac_ext >&5
32073
32074 wx_cv_func_iconv_const="yes"
32075
32076 fi
32077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32078
32079 fi
32080 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
32081 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
32082
32083 iconv_const=
32084 if test "x$wx_cv_func_iconv_const" = "xyes"; then
32085 iconv_const="const"
32086 fi
32087
32088
32089 cat >>confdefs.h <<_ACEOF
32090 #define ICONV_CONST $iconv_const
32091 _ACEOF
32092
32093 fi
32094 LIBICONV=
32095 if test "$am_cv_lib_iconv" = yes; then
32096 LIBICONV="-liconv"
32097 fi
32098
32099
32100 LIBS="$LIBICONV $LIBS"
32101 ac_ext=c
32102 ac_cpp='$CPP $CPPFLAGS'
32103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32106
32107
32108 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
32109
32110 for ac_func in sigaction
32111 do
32112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32113 echo "$as_me:$LINENO: checking for $ac_func" >&5
32114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32115 if eval "test \"\${$as_ac_var+set}\" = set"; then
32116 echo $ECHO_N "(cached) $ECHO_C" >&6
32117 else
32118 cat >conftest.$ac_ext <<_ACEOF
32119 /* confdefs.h. */
32120 _ACEOF
32121 cat confdefs.h >>conftest.$ac_ext
32122 cat >>conftest.$ac_ext <<_ACEOF
32123 /* end confdefs.h. */
32124 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32125 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32126 #define $ac_func innocuous_$ac_func
32127
32128 /* System header to define __stub macros and hopefully few prototypes,
32129 which can conflict with char $ac_func (); below.
32130 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32131 <limits.h> exists even on freestanding compilers. */
32132
32133 #ifdef __STDC__
32134 # include <limits.h>
32135 #else
32136 # include <assert.h>
32137 #endif
32138
32139 #undef $ac_func
32140
32141 /* Override any gcc2 internal prototype to avoid an error. */
32142 #ifdef __cplusplus
32143 extern "C"
32144 {
32145 #endif
32146 /* We use char because int might match the return type of a gcc2
32147 builtin and then its argument prototype would still apply. */
32148 char $ac_func ();
32149 /* The GNU C library defines this for functions which it implements
32150 to always fail with ENOSYS. Some functions are actually named
32151 something starting with __ and the normal name is an alias. */
32152 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32153 choke me
32154 #else
32155 char (*f) () = $ac_func;
32156 #endif
32157 #ifdef __cplusplus
32158 }
32159 #endif
32160
32161 int
32162 main ()
32163 {
32164 return f != $ac_func;
32165 ;
32166 return 0;
32167 }
32168 _ACEOF
32169 rm -f conftest.$ac_objext conftest$ac_exeext
32170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32171 (eval $ac_link) 2>conftest.er1
32172 ac_status=$?
32173 grep -v '^ *+' conftest.er1 >conftest.err
32174 rm -f conftest.er1
32175 cat conftest.err >&5
32176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32177 (exit $ac_status); } &&
32178 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32180 (eval $ac_try) 2>&5
32181 ac_status=$?
32182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32183 (exit $ac_status); }; } &&
32184 { ac_try='test -s conftest$ac_exeext'
32185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32186 (eval $ac_try) 2>&5
32187 ac_status=$?
32188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32189 (exit $ac_status); }; }; then
32190 eval "$as_ac_var=yes"
32191 else
32192 echo "$as_me: failed program was:" >&5
32193 sed 's/^/| /' conftest.$ac_ext >&5
32194
32195 eval "$as_ac_var=no"
32196 fi
32197 rm -f conftest.err conftest.$ac_objext \
32198 conftest$ac_exeext conftest.$ac_ext
32199 fi
32200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32201 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32202 if test `eval echo '${'$as_ac_var'}'` = yes; then
32203 cat >>confdefs.h <<_ACEOF
32204 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32205 _ACEOF
32206
32207 fi
32208 done
32209
32210
32211 if test "$ac_cv_func_sigaction" = "no"; then
32212 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
32213 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
32214 wxUSE_ON_FATAL_EXCEPTION=no
32215 fi
32216
32217 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
32218
32219
32220 ac_ext=cc
32221 ac_cpp='$CXXCPP $CPPFLAGS'
32222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32225
32226
32227 echo "$as_me:$LINENO: checking for sa_handler type" >&5
32228 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
32229 if test "${wx_cv_type_sa_handler+set}" = set; then
32230 echo $ECHO_N "(cached) $ECHO_C" >&6
32231 else
32232
32233 cat >conftest.$ac_ext <<_ACEOF
32234 /* confdefs.h. */
32235 _ACEOF
32236 cat confdefs.h >>conftest.$ac_ext
32237 cat >>conftest.$ac_ext <<_ACEOF
32238 /* end confdefs.h. */
32239 #include <signal.h>
32240 int
32241 main ()
32242 {
32243
32244 extern void testSigHandler(int);
32245
32246 struct sigaction sa;
32247 sa.sa_handler = testSigHandler;
32248
32249 ;
32250 return 0;
32251 }
32252 _ACEOF
32253 rm -f conftest.$ac_objext
32254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32255 (eval $ac_compile) 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_cxx_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_objext'
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
32275 wx_cv_type_sa_handler=int
32276
32277 else
32278 echo "$as_me: failed program was:" >&5
32279 sed 's/^/| /' conftest.$ac_ext >&5
32280
32281
32282 wx_cv_type_sa_handler=void
32283
32284 fi
32285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32286
32287 fi
32288 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
32289 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
32290
32291 ac_ext=c
32292 ac_cpp='$CPP $CPPFLAGS'
32293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32296
32297
32298 cat >>confdefs.h <<_ACEOF
32299 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
32300 _ACEOF
32301
32302 fi
32303 fi
32304
32305 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
32306
32307
32308 ac_ext=cc
32309 ac_cpp='$CXXCPP $CPPFLAGS'
32310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32313
32314
32315 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
32316 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
32317 if test "${wx_cv_func_backtrace+set}" = set; then
32318 echo $ECHO_N "(cached) $ECHO_C" >&6
32319 else
32320
32321 cat >conftest.$ac_ext <<_ACEOF
32322 /* confdefs.h. */
32323 _ACEOF
32324 cat confdefs.h >>conftest.$ac_ext
32325 cat >>conftest.$ac_ext <<_ACEOF
32326 /* end confdefs.h. */
32327 #include <execinfo.h>
32328 int
32329 main ()
32330 {
32331
32332 void *trace[1];
32333 char **messages;
32334
32335 backtrace(trace, 1);
32336 messages = backtrace_symbols(trace, 1);
32337
32338 ;
32339 return 0;
32340 }
32341 _ACEOF
32342 rm -f conftest.$ac_objext
32343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32344 (eval $ac_compile) 2>conftest.er1
32345 ac_status=$?
32346 grep -v '^ *+' conftest.er1 >conftest.err
32347 rm -f conftest.er1
32348 cat conftest.err >&5
32349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32350 (exit $ac_status); } &&
32351 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32353 (eval $ac_try) 2>&5
32354 ac_status=$?
32355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32356 (exit $ac_status); }; } &&
32357 { ac_try='test -s conftest.$ac_objext'
32358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32359 (eval $ac_try) 2>&5
32360 ac_status=$?
32361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32362 (exit $ac_status); }; }; then
32363 wx_cv_func_backtrace=yes
32364 else
32365 echo "$as_me: failed program was:" >&5
32366 sed 's/^/| /' conftest.$ac_ext >&5
32367
32368 wx_cv_func_backtrace=no
32369
32370 fi
32371 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32372
32373
32374 fi
32375 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
32376 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
32377
32378
32379 if test "$wx_cv_func_backtrace" = "no"; then
32380 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
32381 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
32382 wxUSE_STACKWALKER=no
32383 else
32384 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
32385 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
32386 if test "${wx_cv_func_cxa_demangle+set}" = set; then
32387 echo $ECHO_N "(cached) $ECHO_C" >&6
32388 else
32389
32390 cat >conftest.$ac_ext <<_ACEOF
32391 /* confdefs.h. */
32392 _ACEOF
32393 cat confdefs.h >>conftest.$ac_ext
32394 cat >>conftest.$ac_ext <<_ACEOF
32395 /* end confdefs.h. */
32396 #include <cxxabi.h>
32397 int
32398 main ()
32399 {
32400
32401 int rc;
32402 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
32403
32404 ;
32405 return 0;
32406 }
32407 _ACEOF
32408 rm -f conftest.$ac_objext conftest$ac_exeext
32409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32410 (eval $ac_link) 2>conftest.er1
32411 ac_status=$?
32412 grep -v '^ *+' conftest.er1 >conftest.err
32413 rm -f conftest.er1
32414 cat conftest.err >&5
32415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32416 (exit $ac_status); } &&
32417 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32419 (eval $ac_try) 2>&5
32420 ac_status=$?
32421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32422 (exit $ac_status); }; } &&
32423 { ac_try='test -s conftest$ac_exeext'
32424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32425 (eval $ac_try) 2>&5
32426 ac_status=$?
32427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32428 (exit $ac_status); }; }; then
32429 wx_cv_func_cxa_demangle=yes
32430 else
32431 echo "$as_me: failed program was:" >&5
32432 sed 's/^/| /' conftest.$ac_ext >&5
32433
32434 wx_cv_func_cxa_demangle=no
32435
32436 fi
32437 rm -f conftest.err conftest.$ac_objext \
32438 conftest$ac_exeext conftest.$ac_ext
32439
32440
32441 fi
32442 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
32443 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
32444
32445 if test "$wx_cv_func_cxa_demangle" = "yes"; then
32446 cat >>confdefs.h <<\_ACEOF
32447 #define HAVE_CXA_DEMANGLE 1
32448 _ACEOF
32449
32450 fi
32451 fi
32452
32453 ac_ext=c
32454 ac_cpp='$CPP $CPPFLAGS'
32455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32458
32459 fi
32460
32461 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
32462 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
32463 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
32464 wxUSE_STACKWALKER=no
32465 fi
32466
32467
32468
32469
32470 for ac_func in mkstemp mktemp
32471 do
32472 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32473 echo "$as_me:$LINENO: checking for $ac_func" >&5
32474 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32475 if eval "test \"\${$as_ac_var+set}\" = set"; then
32476 echo $ECHO_N "(cached) $ECHO_C" >&6
32477 else
32478 cat >conftest.$ac_ext <<_ACEOF
32479 /* confdefs.h. */
32480 _ACEOF
32481 cat confdefs.h >>conftest.$ac_ext
32482 cat >>conftest.$ac_ext <<_ACEOF
32483 /* end confdefs.h. */
32484 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32485 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32486 #define $ac_func innocuous_$ac_func
32487
32488 /* System header to define __stub macros and hopefully few prototypes,
32489 which can conflict with char $ac_func (); below.
32490 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32491 <limits.h> exists even on freestanding compilers. */
32492
32493 #ifdef __STDC__
32494 # include <limits.h>
32495 #else
32496 # include <assert.h>
32497 #endif
32498
32499 #undef $ac_func
32500
32501 /* Override any gcc2 internal prototype to avoid an error. */
32502 #ifdef __cplusplus
32503 extern "C"
32504 {
32505 #endif
32506 /* We use char because int might match the return type of a gcc2
32507 builtin and then its argument prototype would still apply. */
32508 char $ac_func ();
32509 /* The GNU C library defines this for functions which it implements
32510 to always fail with ENOSYS. Some functions are actually named
32511 something starting with __ and the normal name is an alias. */
32512 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32513 choke me
32514 #else
32515 char (*f) () = $ac_func;
32516 #endif
32517 #ifdef __cplusplus
32518 }
32519 #endif
32520
32521 int
32522 main ()
32523 {
32524 return f != $ac_func;
32525 ;
32526 return 0;
32527 }
32528 _ACEOF
32529 rm -f conftest.$ac_objext conftest$ac_exeext
32530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32531 (eval $ac_link) 2>conftest.er1
32532 ac_status=$?
32533 grep -v '^ *+' conftest.er1 >conftest.err
32534 rm -f conftest.er1
32535 cat conftest.err >&5
32536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32537 (exit $ac_status); } &&
32538 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32540 (eval $ac_try) 2>&5
32541 ac_status=$?
32542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32543 (exit $ac_status); }; } &&
32544 { ac_try='test -s conftest$ac_exeext'
32545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32546 (eval $ac_try) 2>&5
32547 ac_status=$?
32548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32549 (exit $ac_status); }; }; then
32550 eval "$as_ac_var=yes"
32551 else
32552 echo "$as_me: failed program was:" >&5
32553 sed 's/^/| /' conftest.$ac_ext >&5
32554
32555 eval "$as_ac_var=no"
32556 fi
32557 rm -f conftest.err conftest.$ac_objext \
32558 conftest$ac_exeext conftest.$ac_ext
32559 fi
32560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32561 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32562 if test `eval echo '${'$as_ac_var'}'` = yes; then
32563 cat >>confdefs.h <<_ACEOF
32564 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32565 _ACEOF
32566 break
32567 fi
32568 done
32569
32570
32571 echo "$as_me:$LINENO: checking for statfs" >&5
32572 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
32573 if test "${wx_cv_func_statfs+set}" = set; then
32574 echo $ECHO_N "(cached) $ECHO_C" >&6
32575 else
32576 cat >conftest.$ac_ext <<_ACEOF
32577 /* confdefs.h. */
32578 _ACEOF
32579 cat confdefs.h >>conftest.$ac_ext
32580 cat >>conftest.$ac_ext <<_ACEOF
32581 /* end confdefs.h. */
32582
32583 #if defined(__BSD__)
32584 #include <sys/param.h>
32585 #include <sys/mount.h>
32586 #else
32587 #include <sys/vfs.h>
32588 #endif
32589
32590 int
32591 main ()
32592 {
32593
32594 long l;
32595 struct statfs fs;
32596 statfs("/", &fs);
32597 l = fs.f_bsize;
32598 l += fs.f_blocks;
32599 l += fs.f_bavail;
32600
32601 ;
32602 return 0;
32603 }
32604 _ACEOF
32605 rm -f conftest.$ac_objext
32606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32607 (eval $ac_compile) 2>conftest.er1
32608 ac_status=$?
32609 grep -v '^ *+' conftest.er1 >conftest.err
32610 rm -f conftest.er1
32611 cat conftest.err >&5
32612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32613 (exit $ac_status); } &&
32614 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32616 (eval $ac_try) 2>&5
32617 ac_status=$?
32618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32619 (exit $ac_status); }; } &&
32620 { ac_try='test -s conftest.$ac_objext'
32621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32622 (eval $ac_try) 2>&5
32623 ac_status=$?
32624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32625 (exit $ac_status); }; }; then
32626
32627 wx_cv_func_statfs=yes
32628
32629 else
32630 echo "$as_me: failed program was:" >&5
32631 sed 's/^/| /' conftest.$ac_ext >&5
32632
32633
32634 wx_cv_func_statfs=no
32635
32636
32637 fi
32638 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32639
32640 fi
32641 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
32642 echo "${ECHO_T}$wx_cv_func_statfs" >&6
32643
32644 if test "$wx_cv_func_statfs" = "yes"; then
32645 wx_cv_type_statvfs_t="struct statfs"
32646 cat >>confdefs.h <<\_ACEOF
32647 #define HAVE_STATFS 1
32648 _ACEOF
32649
32650 else
32651 echo "$as_me:$LINENO: checking for statvfs" >&5
32652 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
32653 if test "${wx_cv_func_statvfs+set}" = set; then
32654 echo $ECHO_N "(cached) $ECHO_C" >&6
32655 else
32656 cat >conftest.$ac_ext <<_ACEOF
32657 /* confdefs.h. */
32658 _ACEOF
32659 cat confdefs.h >>conftest.$ac_ext
32660 cat >>conftest.$ac_ext <<_ACEOF
32661 /* end confdefs.h. */
32662
32663 #include <stddef.h>
32664 #include <sys/statvfs.h>
32665
32666 int
32667 main ()
32668 {
32669
32670 statvfs("/", NULL);
32671
32672 ;
32673 return 0;
32674 }
32675 _ACEOF
32676 rm -f conftest.$ac_objext
32677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32678 (eval $ac_compile) 2>conftest.er1
32679 ac_status=$?
32680 grep -v '^ *+' conftest.er1 >conftest.err
32681 rm -f conftest.er1
32682 cat conftest.err >&5
32683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32684 (exit $ac_status); } &&
32685 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32687 (eval $ac_try) 2>&5
32688 ac_status=$?
32689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32690 (exit $ac_status); }; } &&
32691 { ac_try='test -s conftest.$ac_objext'
32692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32693 (eval $ac_try) 2>&5
32694 ac_status=$?
32695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32696 (exit $ac_status); }; }; then
32697 wx_cv_func_statvfs=yes
32698 else
32699 echo "$as_me: failed program was:" >&5
32700 sed 's/^/| /' conftest.$ac_ext >&5
32701
32702 wx_cv_func_statvfs=no
32703
32704 fi
32705 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32706
32707 fi
32708 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
32709 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
32710
32711 if test "$wx_cv_func_statvfs" = "yes"; then
32712
32713
32714 ac_ext=cc
32715 ac_cpp='$CXXCPP $CPPFLAGS'
32716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32719
32720
32721 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
32722 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
32723 if test "${wx_cv_type_statvfs_t+set}" = set; then
32724 echo $ECHO_N "(cached) $ECHO_C" >&6
32725 else
32726 cat >conftest.$ac_ext <<_ACEOF
32727 /* confdefs.h. */
32728 _ACEOF
32729 cat confdefs.h >>conftest.$ac_ext
32730 cat >>conftest.$ac_ext <<_ACEOF
32731 /* end confdefs.h. */
32732
32733 #include <sys/statvfs.h>
32734
32735 int
32736 main ()
32737 {
32738
32739 long l;
32740 statvfs_t fs;
32741 statvfs("/", &fs);
32742 l = fs.f_bsize;
32743 l += fs.f_blocks;
32744 l += fs.f_bavail;
32745
32746 ;
32747 return 0;
32748 }
32749 _ACEOF
32750 rm -f conftest.$ac_objext
32751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32752 (eval $ac_compile) 2>conftest.er1
32753 ac_status=$?
32754 grep -v '^ *+' conftest.er1 >conftest.err
32755 rm -f conftest.er1
32756 cat conftest.err >&5
32757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32758 (exit $ac_status); } &&
32759 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32761 (eval $ac_try) 2>&5
32762 ac_status=$?
32763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32764 (exit $ac_status); }; } &&
32765 { ac_try='test -s conftest.$ac_objext'
32766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32767 (eval $ac_try) 2>&5
32768 ac_status=$?
32769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32770 (exit $ac_status); }; }; then
32771 wx_cv_type_statvfs_t=statvfs_t
32772 else
32773 echo "$as_me: failed program was:" >&5
32774 sed 's/^/| /' conftest.$ac_ext >&5
32775
32776
32777 cat >conftest.$ac_ext <<_ACEOF
32778 /* confdefs.h. */
32779 _ACEOF
32780 cat confdefs.h >>conftest.$ac_ext
32781 cat >>conftest.$ac_ext <<_ACEOF
32782 /* end confdefs.h. */
32783
32784 #include <sys/statvfs.h>
32785
32786 int
32787 main ()
32788 {
32789
32790 long l;
32791 struct statvfs fs;
32792 statvfs("/", &fs);
32793 l = fs.f_bsize;
32794 l += fs.f_blocks;
32795 l += fs.f_bavail;
32796
32797 ;
32798 return 0;
32799 }
32800 _ACEOF
32801 rm -f conftest.$ac_objext
32802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32803 (eval $ac_compile) 2>conftest.er1
32804 ac_status=$?
32805 grep -v '^ *+' conftest.er1 >conftest.err
32806 rm -f conftest.er1
32807 cat conftest.err >&5
32808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32809 (exit $ac_status); } &&
32810 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32812 (eval $ac_try) 2>&5
32813 ac_status=$?
32814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32815 (exit $ac_status); }; } &&
32816 { ac_try='test -s conftest.$ac_objext'
32817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32818 (eval $ac_try) 2>&5
32819 ac_status=$?
32820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32821 (exit $ac_status); }; }; then
32822 wx_cv_type_statvfs_t="struct statvfs"
32823 else
32824 echo "$as_me: failed program was:" >&5
32825 sed 's/^/| /' conftest.$ac_ext >&5
32826
32827 wx_cv_type_statvfs_t="unknown"
32828
32829 fi
32830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32831
32832
32833 fi
32834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32835
32836 fi
32837 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
32838 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
32839
32840 ac_ext=c
32841 ac_cpp='$CPP $CPPFLAGS'
32842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32845
32846
32847 if test "$wx_cv_type_statvfs_t" != "unknown"; then
32848 cat >>confdefs.h <<\_ACEOF
32849 #define HAVE_STATVFS 1
32850 _ACEOF
32851
32852 fi
32853 else
32854 wx_cv_type_statvfs_t="unknown"
32855 fi
32856 fi
32857
32858 if test "$wx_cv_type_statvfs_t" != "unknown"; then
32859 cat >>confdefs.h <<_ACEOF
32860 #define WX_STATFS_T $wx_cv_type_statvfs_t
32861 _ACEOF
32862
32863 else
32864 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
32865 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
32866 fi
32867
32868 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
32869
32870
32871 for ac_func in fcntl flock
32872 do
32873 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32874 echo "$as_me:$LINENO: checking for $ac_func" >&5
32875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32876 if eval "test \"\${$as_ac_var+set}\" = set"; then
32877 echo $ECHO_N "(cached) $ECHO_C" >&6
32878 else
32879 cat >conftest.$ac_ext <<_ACEOF
32880 /* confdefs.h. */
32881 _ACEOF
32882 cat confdefs.h >>conftest.$ac_ext
32883 cat >>conftest.$ac_ext <<_ACEOF
32884 /* end confdefs.h. */
32885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32887 #define $ac_func innocuous_$ac_func
32888
32889 /* System header to define __stub macros and hopefully few prototypes,
32890 which can conflict with char $ac_func (); below.
32891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32892 <limits.h> exists even on freestanding compilers. */
32893
32894 #ifdef __STDC__
32895 # include <limits.h>
32896 #else
32897 # include <assert.h>
32898 #endif
32899
32900 #undef $ac_func
32901
32902 /* Override any gcc2 internal prototype to avoid an error. */
32903 #ifdef __cplusplus
32904 extern "C"
32905 {
32906 #endif
32907 /* We use char because int might match the return type of a gcc2
32908 builtin and then its argument prototype would still apply. */
32909 char $ac_func ();
32910 /* The GNU C library defines this for functions which it implements
32911 to always fail with ENOSYS. Some functions are actually named
32912 something starting with __ and the normal name is an alias. */
32913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32914 choke me
32915 #else
32916 char (*f) () = $ac_func;
32917 #endif
32918 #ifdef __cplusplus
32919 }
32920 #endif
32921
32922 int
32923 main ()
32924 {
32925 return f != $ac_func;
32926 ;
32927 return 0;
32928 }
32929 _ACEOF
32930 rm -f conftest.$ac_objext conftest$ac_exeext
32931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32932 (eval $ac_link) 2>conftest.er1
32933 ac_status=$?
32934 grep -v '^ *+' conftest.er1 >conftest.err
32935 rm -f conftest.er1
32936 cat conftest.err >&5
32937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32938 (exit $ac_status); } &&
32939 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32941 (eval $ac_try) 2>&5
32942 ac_status=$?
32943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32944 (exit $ac_status); }; } &&
32945 { ac_try='test -s conftest$ac_exeext'
32946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32947 (eval $ac_try) 2>&5
32948 ac_status=$?
32949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32950 (exit $ac_status); }; }; then
32951 eval "$as_ac_var=yes"
32952 else
32953 echo "$as_me: failed program was:" >&5
32954 sed 's/^/| /' conftest.$ac_ext >&5
32955
32956 eval "$as_ac_var=no"
32957 fi
32958 rm -f conftest.err conftest.$ac_objext \
32959 conftest$ac_exeext conftest.$ac_ext
32960 fi
32961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32962 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32963 if test `eval echo '${'$as_ac_var'}'` = yes; then
32964 cat >>confdefs.h <<_ACEOF
32965 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32966 _ACEOF
32967 break
32968 fi
32969 done
32970
32971
32972 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
32973 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
32974 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
32975 wxUSE_SNGLINST_CHECKER=no
32976 fi
32977 fi
32978
32979
32980 for ac_func in timegm
32981 do
32982 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32983 echo "$as_me:$LINENO: checking for $ac_func" >&5
32984 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32985 if eval "test \"\${$as_ac_var+set}\" = set"; then
32986 echo $ECHO_N "(cached) $ECHO_C" >&6
32987 else
32988 cat >conftest.$ac_ext <<_ACEOF
32989 /* confdefs.h. */
32990 _ACEOF
32991 cat confdefs.h >>conftest.$ac_ext
32992 cat >>conftest.$ac_ext <<_ACEOF
32993 /* end confdefs.h. */
32994 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32995 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32996 #define $ac_func innocuous_$ac_func
32997
32998 /* System header to define __stub macros and hopefully few prototypes,
32999 which can conflict with char $ac_func (); below.
33000 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33001 <limits.h> exists even on freestanding compilers. */
33002
33003 #ifdef __STDC__
33004 # include <limits.h>
33005 #else
33006 # include <assert.h>
33007 #endif
33008
33009 #undef $ac_func
33010
33011 /* Override any gcc2 internal prototype to avoid an error. */
33012 #ifdef __cplusplus
33013 extern "C"
33014 {
33015 #endif
33016 /* We use char because int might match the return type of a gcc2
33017 builtin and then its argument prototype would still apply. */
33018 char $ac_func ();
33019 /* The GNU C library defines this for functions which it implements
33020 to always fail with ENOSYS. Some functions are actually named
33021 something starting with __ and the normal name is an alias. */
33022 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33023 choke me
33024 #else
33025 char (*f) () = $ac_func;
33026 #endif
33027 #ifdef __cplusplus
33028 }
33029 #endif
33030
33031 int
33032 main ()
33033 {
33034 return f != $ac_func;
33035 ;
33036 return 0;
33037 }
33038 _ACEOF
33039 rm -f conftest.$ac_objext conftest$ac_exeext
33040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33041 (eval $ac_link) 2>conftest.er1
33042 ac_status=$?
33043 grep -v '^ *+' conftest.er1 >conftest.err
33044 rm -f conftest.er1
33045 cat conftest.err >&5
33046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33047 (exit $ac_status); } &&
33048 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33050 (eval $ac_try) 2>&5
33051 ac_status=$?
33052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33053 (exit $ac_status); }; } &&
33054 { ac_try='test -s conftest$ac_exeext'
33055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33056 (eval $ac_try) 2>&5
33057 ac_status=$?
33058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33059 (exit $ac_status); }; }; then
33060 eval "$as_ac_var=yes"
33061 else
33062 echo "$as_me: failed program was:" >&5
33063 sed 's/^/| /' conftest.$ac_ext >&5
33064
33065 eval "$as_ac_var=no"
33066 fi
33067 rm -f conftest.err conftest.$ac_objext \
33068 conftest$ac_exeext conftest.$ac_ext
33069 fi
33070 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33071 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33072 if test `eval echo '${'$as_ac_var'}'` = yes; then
33073 cat >>confdefs.h <<_ACEOF
33074 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33075 _ACEOF
33076
33077 fi
33078 done
33079
33080
33081
33082
33083 for ac_func in putenv setenv
33084 do
33085 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33086 echo "$as_me:$LINENO: checking for $ac_func" >&5
33087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33088 if eval "test \"\${$as_ac_var+set}\" = set"; then
33089 echo $ECHO_N "(cached) $ECHO_C" >&6
33090 else
33091 cat >conftest.$ac_ext <<_ACEOF
33092 /* confdefs.h. */
33093 _ACEOF
33094 cat confdefs.h >>conftest.$ac_ext
33095 cat >>conftest.$ac_ext <<_ACEOF
33096 /* end confdefs.h. */
33097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33099 #define $ac_func innocuous_$ac_func
33100
33101 /* System header to define __stub macros and hopefully few prototypes,
33102 which can conflict with char $ac_func (); below.
33103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33104 <limits.h> exists even on freestanding compilers. */
33105
33106 #ifdef __STDC__
33107 # include <limits.h>
33108 #else
33109 # include <assert.h>
33110 #endif
33111
33112 #undef $ac_func
33113
33114 /* Override any gcc2 internal prototype to avoid an error. */
33115 #ifdef __cplusplus
33116 extern "C"
33117 {
33118 #endif
33119 /* We use char because int might match the return type of a gcc2
33120 builtin and then its argument prototype would still apply. */
33121 char $ac_func ();
33122 /* The GNU C library defines this for functions which it implements
33123 to always fail with ENOSYS. Some functions are actually named
33124 something starting with __ and the normal name is an alias. */
33125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33126 choke me
33127 #else
33128 char (*f) () = $ac_func;
33129 #endif
33130 #ifdef __cplusplus
33131 }
33132 #endif
33133
33134 int
33135 main ()
33136 {
33137 return f != $ac_func;
33138 ;
33139 return 0;
33140 }
33141 _ACEOF
33142 rm -f conftest.$ac_objext conftest$ac_exeext
33143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33144 (eval $ac_link) 2>conftest.er1
33145 ac_status=$?
33146 grep -v '^ *+' conftest.er1 >conftest.err
33147 rm -f conftest.er1
33148 cat conftest.err >&5
33149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33150 (exit $ac_status); } &&
33151 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33153 (eval $ac_try) 2>&5
33154 ac_status=$?
33155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33156 (exit $ac_status); }; } &&
33157 { ac_try='test -s conftest$ac_exeext'
33158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33159 (eval $ac_try) 2>&5
33160 ac_status=$?
33161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33162 (exit $ac_status); }; }; then
33163 eval "$as_ac_var=yes"
33164 else
33165 echo "$as_me: failed program was:" >&5
33166 sed 's/^/| /' conftest.$ac_ext >&5
33167
33168 eval "$as_ac_var=no"
33169 fi
33170 rm -f conftest.err conftest.$ac_objext \
33171 conftest$ac_exeext conftest.$ac_ext
33172 fi
33173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33174 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33175 if test `eval echo '${'$as_ac_var'}'` = yes; then
33176 cat >>confdefs.h <<_ACEOF
33177 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33178 _ACEOF
33179 break
33180 fi
33181 done
33182
33183
33184 HAVE_SOME_SLEEP_FUNC=0
33185 if test "$USE_BEOS" = 1; then
33186 cat >>confdefs.h <<\_ACEOF
33187 #define HAVE_SLEEP 1
33188 _ACEOF
33189
33190 HAVE_SOME_SLEEP_FUNC=1
33191 fi
33192
33193 if test "$USE_DARWIN" = 1; then
33194 cat >>confdefs.h <<\_ACEOF
33195 #define HAVE_USLEEP 1
33196 _ACEOF
33197
33198 HAVE_SOME_SLEEP_FUNC=1
33199 fi
33200
33201 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
33202 POSIX4_LINK=
33203
33204 for ac_func in nanosleep
33205 do
33206 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33207 echo "$as_me:$LINENO: checking for $ac_func" >&5
33208 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33209 if eval "test \"\${$as_ac_var+set}\" = set"; then
33210 echo $ECHO_N "(cached) $ECHO_C" >&6
33211 else
33212 cat >conftest.$ac_ext <<_ACEOF
33213 /* confdefs.h. */
33214 _ACEOF
33215 cat confdefs.h >>conftest.$ac_ext
33216 cat >>conftest.$ac_ext <<_ACEOF
33217 /* end confdefs.h. */
33218 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33219 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33220 #define $ac_func innocuous_$ac_func
33221
33222 /* System header to define __stub macros and hopefully few prototypes,
33223 which can conflict with char $ac_func (); below.
33224 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33225 <limits.h> exists even on freestanding compilers. */
33226
33227 #ifdef __STDC__
33228 # include <limits.h>
33229 #else
33230 # include <assert.h>
33231 #endif
33232
33233 #undef $ac_func
33234
33235 /* Override any gcc2 internal prototype to avoid an error. */
33236 #ifdef __cplusplus
33237 extern "C"
33238 {
33239 #endif
33240 /* We use char because int might match the return type of a gcc2
33241 builtin and then its argument prototype would still apply. */
33242 char $ac_func ();
33243 /* The GNU C library defines this for functions which it implements
33244 to always fail with ENOSYS. Some functions are actually named
33245 something starting with __ and the normal name is an alias. */
33246 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33247 choke me
33248 #else
33249 char (*f) () = $ac_func;
33250 #endif
33251 #ifdef __cplusplus
33252 }
33253 #endif
33254
33255 int
33256 main ()
33257 {
33258 return f != $ac_func;
33259 ;
33260 return 0;
33261 }
33262 _ACEOF
33263 rm -f conftest.$ac_objext conftest$ac_exeext
33264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33265 (eval $ac_link) 2>conftest.er1
33266 ac_status=$?
33267 grep -v '^ *+' conftest.er1 >conftest.err
33268 rm -f conftest.er1
33269 cat conftest.err >&5
33270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33271 (exit $ac_status); } &&
33272 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33274 (eval $ac_try) 2>&5
33275 ac_status=$?
33276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33277 (exit $ac_status); }; } &&
33278 { ac_try='test -s conftest$ac_exeext'
33279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33280 (eval $ac_try) 2>&5
33281 ac_status=$?
33282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33283 (exit $ac_status); }; }; then
33284 eval "$as_ac_var=yes"
33285 else
33286 echo "$as_me: failed program was:" >&5
33287 sed 's/^/| /' conftest.$ac_ext >&5
33288
33289 eval "$as_ac_var=no"
33290 fi
33291 rm -f conftest.err conftest.$ac_objext \
33292 conftest$ac_exeext conftest.$ac_ext
33293 fi
33294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33295 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33296 if test `eval echo '${'$as_ac_var'}'` = yes; then
33297 cat >>confdefs.h <<_ACEOF
33298 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33299 _ACEOF
33300 cat >>confdefs.h <<\_ACEOF
33301 #define HAVE_NANOSLEEP 1
33302 _ACEOF
33303
33304 else
33305
33306 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
33307 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
33308 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
33309 echo $ECHO_N "(cached) $ECHO_C" >&6
33310 else
33311 ac_check_lib_save_LIBS=$LIBS
33312 LIBS="-lposix4 $LIBS"
33313 cat >conftest.$ac_ext <<_ACEOF
33314 /* confdefs.h. */
33315 _ACEOF
33316 cat confdefs.h >>conftest.$ac_ext
33317 cat >>conftest.$ac_ext <<_ACEOF
33318 /* end confdefs.h. */
33319
33320 /* Override any gcc2 internal prototype to avoid an error. */
33321 #ifdef __cplusplus
33322 extern "C"
33323 #endif
33324 /* We use char because int might match the return type of a gcc2
33325 builtin and then its argument prototype would still apply. */
33326 char nanosleep ();
33327 int
33328 main ()
33329 {
33330 nanosleep ();
33331 ;
33332 return 0;
33333 }
33334 _ACEOF
33335 rm -f conftest.$ac_objext conftest$ac_exeext
33336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33337 (eval $ac_link) 2>conftest.er1
33338 ac_status=$?
33339 grep -v '^ *+' conftest.er1 >conftest.err
33340 rm -f conftest.er1
33341 cat conftest.err >&5
33342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33343 (exit $ac_status); } &&
33344 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33346 (eval $ac_try) 2>&5
33347 ac_status=$?
33348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33349 (exit $ac_status); }; } &&
33350 { ac_try='test -s conftest$ac_exeext'
33351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33352 (eval $ac_try) 2>&5
33353 ac_status=$?
33354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33355 (exit $ac_status); }; }; then
33356 ac_cv_lib_posix4_nanosleep=yes
33357 else
33358 echo "$as_me: failed program was:" >&5
33359 sed 's/^/| /' conftest.$ac_ext >&5
33360
33361 ac_cv_lib_posix4_nanosleep=no
33362 fi
33363 rm -f conftest.err conftest.$ac_objext \
33364 conftest$ac_exeext conftest.$ac_ext
33365 LIBS=$ac_check_lib_save_LIBS
33366 fi
33367 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
33368 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
33369 if test $ac_cv_lib_posix4_nanosleep = yes; then
33370
33371 cat >>confdefs.h <<\_ACEOF
33372 #define HAVE_NANOSLEEP 1
33373 _ACEOF
33374
33375 POSIX4_LINK=" -lposix4"
33376
33377 else
33378
33379
33380 for ac_func in usleep
33381 do
33382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33383 echo "$as_me:$LINENO: checking for $ac_func" >&5
33384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33385 if eval "test \"\${$as_ac_var+set}\" = set"; then
33386 echo $ECHO_N "(cached) $ECHO_C" >&6
33387 else
33388 cat >conftest.$ac_ext <<_ACEOF
33389 /* confdefs.h. */
33390 _ACEOF
33391 cat confdefs.h >>conftest.$ac_ext
33392 cat >>conftest.$ac_ext <<_ACEOF
33393 /* end confdefs.h. */
33394 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33395 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33396 #define $ac_func innocuous_$ac_func
33397
33398 /* System header to define __stub macros and hopefully few prototypes,
33399 which can conflict with char $ac_func (); below.
33400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33401 <limits.h> exists even on freestanding compilers. */
33402
33403 #ifdef __STDC__
33404 # include <limits.h>
33405 #else
33406 # include <assert.h>
33407 #endif
33408
33409 #undef $ac_func
33410
33411 /* Override any gcc2 internal prototype to avoid an error. */
33412 #ifdef __cplusplus
33413 extern "C"
33414 {
33415 #endif
33416 /* We use char because int might match the return type of a gcc2
33417 builtin and then its argument prototype would still apply. */
33418 char $ac_func ();
33419 /* The GNU C library defines this for functions which it implements
33420 to always fail with ENOSYS. Some functions are actually named
33421 something starting with __ and the normal name is an alias. */
33422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33423 choke me
33424 #else
33425 char (*f) () = $ac_func;
33426 #endif
33427 #ifdef __cplusplus
33428 }
33429 #endif
33430
33431 int
33432 main ()
33433 {
33434 return f != $ac_func;
33435 ;
33436 return 0;
33437 }
33438 _ACEOF
33439 rm -f conftest.$ac_objext conftest$ac_exeext
33440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33441 (eval $ac_link) 2>conftest.er1
33442 ac_status=$?
33443 grep -v '^ *+' conftest.er1 >conftest.err
33444 rm -f conftest.er1
33445 cat conftest.err >&5
33446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33447 (exit $ac_status); } &&
33448 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33450 (eval $ac_try) 2>&5
33451 ac_status=$?
33452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33453 (exit $ac_status); }; } &&
33454 { ac_try='test -s conftest$ac_exeext'
33455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33456 (eval $ac_try) 2>&5
33457 ac_status=$?
33458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33459 (exit $ac_status); }; }; then
33460 eval "$as_ac_var=yes"
33461 else
33462 echo "$as_me: failed program was:" >&5
33463 sed 's/^/| /' conftest.$ac_ext >&5
33464
33465 eval "$as_ac_var=no"
33466 fi
33467 rm -f conftest.err conftest.$ac_objext \
33468 conftest$ac_exeext conftest.$ac_ext
33469 fi
33470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33471 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33472 if test `eval echo '${'$as_ac_var'}'` = yes; then
33473 cat >>confdefs.h <<_ACEOF
33474 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33475 _ACEOF
33476 cat >>confdefs.h <<\_ACEOF
33477 #define HAVE_USLEEP 1
33478 _ACEOF
33479
33480 else
33481 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
33482 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
33483
33484 fi
33485 done
33486
33487
33488
33489 fi
33490
33491
33492
33493 fi
33494 done
33495
33496 fi
33497
33498
33499
33500 for ac_func in uname gethostname
33501 do
33502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33503 echo "$as_me:$LINENO: checking for $ac_func" >&5
33504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33505 if eval "test \"\${$as_ac_var+set}\" = set"; then
33506 echo $ECHO_N "(cached) $ECHO_C" >&6
33507 else
33508 cat >conftest.$ac_ext <<_ACEOF
33509 /* confdefs.h. */
33510 _ACEOF
33511 cat confdefs.h >>conftest.$ac_ext
33512 cat >>conftest.$ac_ext <<_ACEOF
33513 /* end confdefs.h. */
33514 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33515 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33516 #define $ac_func innocuous_$ac_func
33517
33518 /* System header to define __stub macros and hopefully few prototypes,
33519 which can conflict with char $ac_func (); below.
33520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33521 <limits.h> exists even on freestanding compilers. */
33522
33523 #ifdef __STDC__
33524 # include <limits.h>
33525 #else
33526 # include <assert.h>
33527 #endif
33528
33529 #undef $ac_func
33530
33531 /* Override any gcc2 internal prototype to avoid an error. */
33532 #ifdef __cplusplus
33533 extern "C"
33534 {
33535 #endif
33536 /* We use char because int might match the return type of a gcc2
33537 builtin and then its argument prototype would still apply. */
33538 char $ac_func ();
33539 /* The GNU C library defines this for functions which it implements
33540 to always fail with ENOSYS. Some functions are actually named
33541 something starting with __ and the normal name is an alias. */
33542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33543 choke me
33544 #else
33545 char (*f) () = $ac_func;
33546 #endif
33547 #ifdef __cplusplus
33548 }
33549 #endif
33550
33551 int
33552 main ()
33553 {
33554 return f != $ac_func;
33555 ;
33556 return 0;
33557 }
33558 _ACEOF
33559 rm -f conftest.$ac_objext conftest$ac_exeext
33560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33561 (eval $ac_link) 2>conftest.er1
33562 ac_status=$?
33563 grep -v '^ *+' conftest.er1 >conftest.err
33564 rm -f conftest.er1
33565 cat conftest.err >&5
33566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33567 (exit $ac_status); } &&
33568 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33570 (eval $ac_try) 2>&5
33571 ac_status=$?
33572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33573 (exit $ac_status); }; } &&
33574 { ac_try='test -s conftest$ac_exeext'
33575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33576 (eval $ac_try) 2>&5
33577 ac_status=$?
33578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33579 (exit $ac_status); }; }; then
33580 eval "$as_ac_var=yes"
33581 else
33582 echo "$as_me: failed program was:" >&5
33583 sed 's/^/| /' conftest.$ac_ext >&5
33584
33585 eval "$as_ac_var=no"
33586 fi
33587 rm -f conftest.err conftest.$ac_objext \
33588 conftest$ac_exeext conftest.$ac_ext
33589 fi
33590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33591 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33592 if test `eval echo '${'$as_ac_var'}'` = yes; then
33593 cat >>confdefs.h <<_ACEOF
33594 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33595 _ACEOF
33596 break
33597 fi
33598 done
33599
33600
33601
33602
33603 ac_ext=cc
33604 ac_cpp='$CXXCPP $CPPFLAGS'
33605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33608
33609
33610
33611 for ac_func in strtok_r
33612 do
33613 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33614 echo "$as_me:$LINENO: checking for $ac_func" >&5
33615 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33616 if eval "test \"\${$as_ac_var+set}\" = set"; then
33617 echo $ECHO_N "(cached) $ECHO_C" >&6
33618 else
33619 cat >conftest.$ac_ext <<_ACEOF
33620 /* confdefs.h. */
33621 _ACEOF
33622 cat confdefs.h >>conftest.$ac_ext
33623 cat >>conftest.$ac_ext <<_ACEOF
33624 /* end confdefs.h. */
33625 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33626 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33627 #define $ac_func innocuous_$ac_func
33628
33629 /* System header to define __stub macros and hopefully few prototypes,
33630 which can conflict with char $ac_func (); below.
33631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33632 <limits.h> exists even on freestanding compilers. */
33633
33634 #ifdef __STDC__
33635 # include <limits.h>
33636 #else
33637 # include <assert.h>
33638 #endif
33639
33640 #undef $ac_func
33641
33642 /* Override any gcc2 internal prototype to avoid an error. */
33643 #ifdef __cplusplus
33644 extern "C"
33645 {
33646 #endif
33647 /* We use char because int might match the return type of a gcc2
33648 builtin and then its argument prototype would still apply. */
33649 char $ac_func ();
33650 /* The GNU C library defines this for functions which it implements
33651 to always fail with ENOSYS. Some functions are actually named
33652 something starting with __ and the normal name is an alias. */
33653 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33654 choke me
33655 #else
33656 char (*f) () = $ac_func;
33657 #endif
33658 #ifdef __cplusplus
33659 }
33660 #endif
33661
33662 int
33663 main ()
33664 {
33665 return f != $ac_func;
33666 ;
33667 return 0;
33668 }
33669 _ACEOF
33670 rm -f conftest.$ac_objext conftest$ac_exeext
33671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33672 (eval $ac_link) 2>conftest.er1
33673 ac_status=$?
33674 grep -v '^ *+' conftest.er1 >conftest.err
33675 rm -f conftest.er1
33676 cat conftest.err >&5
33677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33678 (exit $ac_status); } &&
33679 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33681 (eval $ac_try) 2>&5
33682 ac_status=$?
33683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33684 (exit $ac_status); }; } &&
33685 { ac_try='test -s conftest$ac_exeext'
33686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33687 (eval $ac_try) 2>&5
33688 ac_status=$?
33689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33690 (exit $ac_status); }; }; then
33691 eval "$as_ac_var=yes"
33692 else
33693 echo "$as_me: failed program was:" >&5
33694 sed 's/^/| /' conftest.$ac_ext >&5
33695
33696 eval "$as_ac_var=no"
33697 fi
33698 rm -f conftest.err conftest.$ac_objext \
33699 conftest$ac_exeext conftest.$ac_ext
33700 fi
33701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33702 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33703 if test `eval echo '${'$as_ac_var'}'` = yes; then
33704 cat >>confdefs.h <<_ACEOF
33705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33706 _ACEOF
33707
33708 fi
33709 done
33710
33711
33712 ac_ext=c
33713 ac_cpp='$CPP $CPPFLAGS'
33714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33717
33718
33719 INET_LINK=
33720
33721 for ac_func in inet_addr
33722 do
33723 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33724 echo "$as_me:$LINENO: checking for $ac_func" >&5
33725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33726 if eval "test \"\${$as_ac_var+set}\" = set"; then
33727 echo $ECHO_N "(cached) $ECHO_C" >&6
33728 else
33729 cat >conftest.$ac_ext <<_ACEOF
33730 /* confdefs.h. */
33731 _ACEOF
33732 cat confdefs.h >>conftest.$ac_ext
33733 cat >>conftest.$ac_ext <<_ACEOF
33734 /* end confdefs.h. */
33735 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33737 #define $ac_func innocuous_$ac_func
33738
33739 /* System header to define __stub macros and hopefully few prototypes,
33740 which can conflict with char $ac_func (); below.
33741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33742 <limits.h> exists even on freestanding compilers. */
33743
33744 #ifdef __STDC__
33745 # include <limits.h>
33746 #else
33747 # include <assert.h>
33748 #endif
33749
33750 #undef $ac_func
33751
33752 /* Override any gcc2 internal prototype to avoid an error. */
33753 #ifdef __cplusplus
33754 extern "C"
33755 {
33756 #endif
33757 /* We use char because int might match the return type of a gcc2
33758 builtin and then its argument prototype would still apply. */
33759 char $ac_func ();
33760 /* The GNU C library defines this for functions which it implements
33761 to always fail with ENOSYS. Some functions are actually named
33762 something starting with __ and the normal name is an alias. */
33763 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33764 choke me
33765 #else
33766 char (*f) () = $ac_func;
33767 #endif
33768 #ifdef __cplusplus
33769 }
33770 #endif
33771
33772 int
33773 main ()
33774 {
33775 return f != $ac_func;
33776 ;
33777 return 0;
33778 }
33779 _ACEOF
33780 rm -f conftest.$ac_objext conftest$ac_exeext
33781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33782 (eval $ac_link) 2>conftest.er1
33783 ac_status=$?
33784 grep -v '^ *+' conftest.er1 >conftest.err
33785 rm -f conftest.er1
33786 cat conftest.err >&5
33787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33788 (exit $ac_status); } &&
33789 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33791 (eval $ac_try) 2>&5
33792 ac_status=$?
33793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33794 (exit $ac_status); }; } &&
33795 { ac_try='test -s conftest$ac_exeext'
33796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33797 (eval $ac_try) 2>&5
33798 ac_status=$?
33799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33800 (exit $ac_status); }; }; then
33801 eval "$as_ac_var=yes"
33802 else
33803 echo "$as_me: failed program was:" >&5
33804 sed 's/^/| /' conftest.$ac_ext >&5
33805
33806 eval "$as_ac_var=no"
33807 fi
33808 rm -f conftest.err conftest.$ac_objext \
33809 conftest$ac_exeext conftest.$ac_ext
33810 fi
33811 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33812 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33813 if test `eval echo '${'$as_ac_var'}'` = yes; then
33814 cat >>confdefs.h <<_ACEOF
33815 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33816 _ACEOF
33817 cat >>confdefs.h <<\_ACEOF
33818 #define HAVE_INET_ADDR 1
33819 _ACEOF
33820
33821 else
33822
33823 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
33824 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
33825 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
33826 echo $ECHO_N "(cached) $ECHO_C" >&6
33827 else
33828 ac_check_lib_save_LIBS=$LIBS
33829 LIBS="-lnsl $LIBS"
33830 cat >conftest.$ac_ext <<_ACEOF
33831 /* confdefs.h. */
33832 _ACEOF
33833 cat confdefs.h >>conftest.$ac_ext
33834 cat >>conftest.$ac_ext <<_ACEOF
33835 /* end confdefs.h. */
33836
33837 /* Override any gcc2 internal prototype to avoid an error. */
33838 #ifdef __cplusplus
33839 extern "C"
33840 #endif
33841 /* We use char because int might match the return type of a gcc2
33842 builtin and then its argument prototype would still apply. */
33843 char inet_addr ();
33844 int
33845 main ()
33846 {
33847 inet_addr ();
33848 ;
33849 return 0;
33850 }
33851 _ACEOF
33852 rm -f conftest.$ac_objext conftest$ac_exeext
33853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33854 (eval $ac_link) 2>conftest.er1
33855 ac_status=$?
33856 grep -v '^ *+' conftest.er1 >conftest.err
33857 rm -f conftest.er1
33858 cat conftest.err >&5
33859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33860 (exit $ac_status); } &&
33861 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33863 (eval $ac_try) 2>&5
33864 ac_status=$?
33865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33866 (exit $ac_status); }; } &&
33867 { ac_try='test -s conftest$ac_exeext'
33868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33869 (eval $ac_try) 2>&5
33870 ac_status=$?
33871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33872 (exit $ac_status); }; }; then
33873 ac_cv_lib_nsl_inet_addr=yes
33874 else
33875 echo "$as_me: failed program was:" >&5
33876 sed 's/^/| /' conftest.$ac_ext >&5
33877
33878 ac_cv_lib_nsl_inet_addr=no
33879 fi
33880 rm -f conftest.err conftest.$ac_objext \
33881 conftest$ac_exeext conftest.$ac_ext
33882 LIBS=$ac_check_lib_save_LIBS
33883 fi
33884 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
33885 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
33886 if test $ac_cv_lib_nsl_inet_addr = yes; then
33887 INET_LINK="nsl"
33888 else
33889
33890 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
33891 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
33892 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
33893 echo $ECHO_N "(cached) $ECHO_C" >&6
33894 else
33895 ac_check_lib_save_LIBS=$LIBS
33896 LIBS="-lresolv $LIBS"
33897 cat >conftest.$ac_ext <<_ACEOF
33898 /* confdefs.h. */
33899 _ACEOF
33900 cat confdefs.h >>conftest.$ac_ext
33901 cat >>conftest.$ac_ext <<_ACEOF
33902 /* end confdefs.h. */
33903
33904 /* Override any gcc2 internal prototype to avoid an error. */
33905 #ifdef __cplusplus
33906 extern "C"
33907 #endif
33908 /* We use char because int might match the return type of a gcc2
33909 builtin and then its argument prototype would still apply. */
33910 char inet_addr ();
33911 int
33912 main ()
33913 {
33914 inet_addr ();
33915 ;
33916 return 0;
33917 }
33918 _ACEOF
33919 rm -f conftest.$ac_objext conftest$ac_exeext
33920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33921 (eval $ac_link) 2>conftest.er1
33922 ac_status=$?
33923 grep -v '^ *+' conftest.er1 >conftest.err
33924 rm -f conftest.er1
33925 cat conftest.err >&5
33926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33927 (exit $ac_status); } &&
33928 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33930 (eval $ac_try) 2>&5
33931 ac_status=$?
33932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33933 (exit $ac_status); }; } &&
33934 { ac_try='test -s conftest$ac_exeext'
33935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33936 (eval $ac_try) 2>&5
33937 ac_status=$?
33938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33939 (exit $ac_status); }; }; then
33940 ac_cv_lib_resolv_inet_addr=yes
33941 else
33942 echo "$as_me: failed program was:" >&5
33943 sed 's/^/| /' conftest.$ac_ext >&5
33944
33945 ac_cv_lib_resolv_inet_addr=no
33946 fi
33947 rm -f conftest.err conftest.$ac_objext \
33948 conftest$ac_exeext conftest.$ac_ext
33949 LIBS=$ac_check_lib_save_LIBS
33950 fi
33951 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
33952 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
33953 if test $ac_cv_lib_resolv_inet_addr = yes; then
33954 INET_LINK="resolv"
33955 else
33956
33957 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
33958 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
33959 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
33960 echo $ECHO_N "(cached) $ECHO_C" >&6
33961 else
33962 ac_check_lib_save_LIBS=$LIBS
33963 LIBS="-lsocket $LIBS"
33964 cat >conftest.$ac_ext <<_ACEOF
33965 /* confdefs.h. */
33966 _ACEOF
33967 cat confdefs.h >>conftest.$ac_ext
33968 cat >>conftest.$ac_ext <<_ACEOF
33969 /* end confdefs.h. */
33970
33971 /* Override any gcc2 internal prototype to avoid an error. */
33972 #ifdef __cplusplus
33973 extern "C"
33974 #endif
33975 /* We use char because int might match the return type of a gcc2
33976 builtin and then its argument prototype would still apply. */
33977 char inet_addr ();
33978 int
33979 main ()
33980 {
33981 inet_addr ();
33982 ;
33983 return 0;
33984 }
33985 _ACEOF
33986 rm -f conftest.$ac_objext conftest$ac_exeext
33987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33988 (eval $ac_link) 2>conftest.er1
33989 ac_status=$?
33990 grep -v '^ *+' conftest.er1 >conftest.err
33991 rm -f conftest.er1
33992 cat conftest.err >&5
33993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33994 (exit $ac_status); } &&
33995 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33997 (eval $ac_try) 2>&5
33998 ac_status=$?
33999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34000 (exit $ac_status); }; } &&
34001 { ac_try='test -s conftest$ac_exeext'
34002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34003 (eval $ac_try) 2>&5
34004 ac_status=$?
34005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34006 (exit $ac_status); }; }; then
34007 ac_cv_lib_socket_inet_addr=yes
34008 else
34009 echo "$as_me: failed program was:" >&5
34010 sed 's/^/| /' conftest.$ac_ext >&5
34011
34012 ac_cv_lib_socket_inet_addr=no
34013 fi
34014 rm -f conftest.err conftest.$ac_objext \
34015 conftest$ac_exeext conftest.$ac_ext
34016 LIBS=$ac_check_lib_save_LIBS
34017 fi
34018 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
34019 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
34020 if test $ac_cv_lib_socket_inet_addr = yes; then
34021 INET_LINK="socket"
34022
34023 fi
34024
34025
34026
34027 fi
34028
34029
34030
34031 fi
34032
34033
34034
34035 fi
34036 done
34037
34038
34039
34040 for ac_func in inet_aton
34041 do
34042 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34043 echo "$as_me:$LINENO: checking for $ac_func" >&5
34044 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34045 if eval "test \"\${$as_ac_var+set}\" = set"; then
34046 echo $ECHO_N "(cached) $ECHO_C" >&6
34047 else
34048 cat >conftest.$ac_ext <<_ACEOF
34049 /* confdefs.h. */
34050 _ACEOF
34051 cat confdefs.h >>conftest.$ac_ext
34052 cat >>conftest.$ac_ext <<_ACEOF
34053 /* end confdefs.h. */
34054 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34056 #define $ac_func innocuous_$ac_func
34057
34058 /* System header to define __stub macros and hopefully few prototypes,
34059 which can conflict with char $ac_func (); below.
34060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34061 <limits.h> exists even on freestanding compilers. */
34062
34063 #ifdef __STDC__
34064 # include <limits.h>
34065 #else
34066 # include <assert.h>
34067 #endif
34068
34069 #undef $ac_func
34070
34071 /* Override any gcc2 internal prototype to avoid an error. */
34072 #ifdef __cplusplus
34073 extern "C"
34074 {
34075 #endif
34076 /* We use char because int might match the return type of a gcc2
34077 builtin and then its argument prototype would still apply. */
34078 char $ac_func ();
34079 /* The GNU C library defines this for functions which it implements
34080 to always fail with ENOSYS. Some functions are actually named
34081 something starting with __ and the normal name is an alias. */
34082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34083 choke me
34084 #else
34085 char (*f) () = $ac_func;
34086 #endif
34087 #ifdef __cplusplus
34088 }
34089 #endif
34090
34091 int
34092 main ()
34093 {
34094 return f != $ac_func;
34095 ;
34096 return 0;
34097 }
34098 _ACEOF
34099 rm -f conftest.$ac_objext conftest$ac_exeext
34100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34101 (eval $ac_link) 2>conftest.er1
34102 ac_status=$?
34103 grep -v '^ *+' conftest.er1 >conftest.err
34104 rm -f conftest.er1
34105 cat conftest.err >&5
34106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34107 (exit $ac_status); } &&
34108 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34110 (eval $ac_try) 2>&5
34111 ac_status=$?
34112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34113 (exit $ac_status); }; } &&
34114 { ac_try='test -s conftest$ac_exeext'
34115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34116 (eval $ac_try) 2>&5
34117 ac_status=$?
34118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34119 (exit $ac_status); }; }; then
34120 eval "$as_ac_var=yes"
34121 else
34122 echo "$as_me: failed program was:" >&5
34123 sed 's/^/| /' conftest.$ac_ext >&5
34124
34125 eval "$as_ac_var=no"
34126 fi
34127 rm -f conftest.err conftest.$ac_objext \
34128 conftest$ac_exeext conftest.$ac_ext
34129 fi
34130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34131 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34132 if test `eval echo '${'$as_ac_var'}'` = yes; then
34133 cat >>confdefs.h <<_ACEOF
34134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34135 _ACEOF
34136 cat >>confdefs.h <<\_ACEOF
34137 #define HAVE_INET_ATON 1
34138 _ACEOF
34139
34140 else
34141
34142 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
34143 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
34144 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
34145 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
34146 echo $ECHO_N "(cached) $ECHO_C" >&6
34147 else
34148 ac_check_lib_save_LIBS=$LIBS
34149 LIBS="-l$INET_LINK $LIBS"
34150 cat >conftest.$ac_ext <<_ACEOF
34151 /* confdefs.h. */
34152 _ACEOF
34153 cat confdefs.h >>conftest.$ac_ext
34154 cat >>conftest.$ac_ext <<_ACEOF
34155 /* end confdefs.h. */
34156
34157 /* Override any gcc2 internal prototype to avoid an error. */
34158 #ifdef __cplusplus
34159 extern "C"
34160 #endif
34161 /* We use char because int might match the return type of a gcc2
34162 builtin and then its argument prototype would still apply. */
34163 char inet_aton ();
34164 int
34165 main ()
34166 {
34167 inet_aton ();
34168 ;
34169 return 0;
34170 }
34171 _ACEOF
34172 rm -f conftest.$ac_objext conftest$ac_exeext
34173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34174 (eval $ac_link) 2>conftest.er1
34175 ac_status=$?
34176 grep -v '^ *+' conftest.er1 >conftest.err
34177 rm -f conftest.er1
34178 cat conftest.err >&5
34179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34180 (exit $ac_status); } &&
34181 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34183 (eval $ac_try) 2>&5
34184 ac_status=$?
34185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34186 (exit $ac_status); }; } &&
34187 { ac_try='test -s conftest$ac_exeext'
34188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34189 (eval $ac_try) 2>&5
34190 ac_status=$?
34191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34192 (exit $ac_status); }; }; then
34193 eval "$as_ac_Lib=yes"
34194 else
34195 echo "$as_me: failed program was:" >&5
34196 sed 's/^/| /' conftest.$ac_ext >&5
34197
34198 eval "$as_ac_Lib=no"
34199 fi
34200 rm -f conftest.err conftest.$ac_objext \
34201 conftest$ac_exeext conftest.$ac_ext
34202 LIBS=$ac_check_lib_save_LIBS
34203 fi
34204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
34205 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
34206 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
34207 cat >>confdefs.h <<\_ACEOF
34208 #define HAVE_INET_ATON 1
34209 _ACEOF
34210
34211 fi
34212
34213
34214 fi
34215 done
34216
34217
34218 if test "x$INET_LINK" != "x"; then
34219 cat >>confdefs.h <<\_ACEOF
34220 #define HAVE_INET_ADDR 1
34221 _ACEOF
34222
34223 INET_LINK=" -l$INET_LINK"
34224 fi
34225
34226 fi
34227
34228
34229
34230 EXTRALIBS_ESD=
34231 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
34232 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
34233 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
34234 echo $ECHO_N "(cached) $ECHO_C" >&6
34235 else
34236 ac_check_lib_save_LIBS=$LIBS
34237 LIBS="-lesd $LIBS"
34238 cat >conftest.$ac_ext <<_ACEOF
34239 /* confdefs.h. */
34240 _ACEOF
34241 cat confdefs.h >>conftest.$ac_ext
34242 cat >>conftest.$ac_ext <<_ACEOF
34243 /* end confdefs.h. */
34244
34245 /* Override any gcc2 internal prototype to avoid an error. */
34246 #ifdef __cplusplus
34247 extern "C"
34248 #endif
34249 /* We use char because int might match the return type of a gcc2
34250 builtin and then its argument prototype would still apply. */
34251 char esd_close ();
34252 int
34253 main ()
34254 {
34255 esd_close ();
34256 ;
34257 return 0;
34258 }
34259 _ACEOF
34260 rm -f conftest.$ac_objext conftest$ac_exeext
34261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34262 (eval $ac_link) 2>conftest.er1
34263 ac_status=$?
34264 grep -v '^ *+' conftest.er1 >conftest.err
34265 rm -f conftest.er1
34266 cat conftest.err >&5
34267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34268 (exit $ac_status); } &&
34269 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34271 (eval $ac_try) 2>&5
34272 ac_status=$?
34273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34274 (exit $ac_status); }; } &&
34275 { ac_try='test -s conftest$ac_exeext'
34276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34277 (eval $ac_try) 2>&5
34278 ac_status=$?
34279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34280 (exit $ac_status); }; }; then
34281 ac_cv_lib_esd_esd_close=yes
34282 else
34283 echo "$as_me: failed program was:" >&5
34284 sed 's/^/| /' conftest.$ac_ext >&5
34285
34286 ac_cv_lib_esd_esd_close=no
34287 fi
34288 rm -f conftest.err conftest.$ac_objext \
34289 conftest$ac_exeext conftest.$ac_ext
34290 LIBS=$ac_check_lib_save_LIBS
34291 fi
34292 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
34293 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
34294 if test $ac_cv_lib_esd_esd_close = yes; then
34295
34296
34297 for ac_header in esd.h
34298 do
34299 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34300 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34301 echo "$as_me:$LINENO: checking for $ac_header" >&5
34302 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34303 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34304 echo $ECHO_N "(cached) $ECHO_C" >&6
34305 fi
34306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34307 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34308 else
34309 # Is the header compilable?
34310 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34311 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34312 cat >conftest.$ac_ext <<_ACEOF
34313 /* confdefs.h. */
34314 _ACEOF
34315 cat confdefs.h >>conftest.$ac_ext
34316 cat >>conftest.$ac_ext <<_ACEOF
34317 /* end confdefs.h. */
34318 $ac_includes_default
34319 #include <$ac_header>
34320 _ACEOF
34321 rm -f conftest.$ac_objext
34322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34323 (eval $ac_compile) 2>conftest.er1
34324 ac_status=$?
34325 grep -v '^ *+' conftest.er1 >conftest.err
34326 rm -f conftest.er1
34327 cat conftest.err >&5
34328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34329 (exit $ac_status); } &&
34330 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34332 (eval $ac_try) 2>&5
34333 ac_status=$?
34334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34335 (exit $ac_status); }; } &&
34336 { ac_try='test -s conftest.$ac_objext'
34337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34338 (eval $ac_try) 2>&5
34339 ac_status=$?
34340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34341 (exit $ac_status); }; }; then
34342 ac_header_compiler=yes
34343 else
34344 echo "$as_me: failed program was:" >&5
34345 sed 's/^/| /' conftest.$ac_ext >&5
34346
34347 ac_header_compiler=no
34348 fi
34349 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34350 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34351 echo "${ECHO_T}$ac_header_compiler" >&6
34352
34353 # Is the header present?
34354 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34355 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
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 #include <$ac_header>
34363 _ACEOF
34364 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34365 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
34366 ac_status=$?
34367 grep -v '^ *+' conftest.er1 >conftest.err
34368 rm -f conftest.er1
34369 cat conftest.err >&5
34370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34371 (exit $ac_status); } >/dev/null; then
34372 if test -s conftest.err; then
34373 ac_cpp_err=$ac_c_preproc_warn_flag
34374 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
34375 else
34376 ac_cpp_err=
34377 fi
34378 else
34379 ac_cpp_err=yes
34380 fi
34381 if test -z "$ac_cpp_err"; then
34382 ac_header_preproc=yes
34383 else
34384 echo "$as_me: failed program was:" >&5
34385 sed 's/^/| /' conftest.$ac_ext >&5
34386
34387 ac_header_preproc=no
34388 fi
34389 rm -f conftest.err conftest.$ac_ext
34390 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34391 echo "${ECHO_T}$ac_header_preproc" >&6
34392
34393 # So? What about this header?
34394 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34395 yes:no: )
34396 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34397 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34398 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34399 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34400 ac_header_preproc=yes
34401 ;;
34402 no:yes:* )
34403 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34404 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34405 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34406 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34407 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34408 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34409 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34410 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34411 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34412 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34413 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34414 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34415 (
34416 cat <<\_ASBOX
34417 ## ----------------------------------------- ##
34418 ## Report this to wx-dev@lists.wxwidgets.org ##
34419 ## ----------------------------------------- ##
34420 _ASBOX
34421 ) |
34422 sed "s/^/$as_me: WARNING: /" >&2
34423 ;;
34424 esac
34425 echo "$as_me:$LINENO: checking for $ac_header" >&5
34426 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34427 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34428 echo $ECHO_N "(cached) $ECHO_C" >&6
34429 else
34430 eval "$as_ac_Header=\$ac_header_preproc"
34431 fi
34432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34433 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34434
34435 fi
34436 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34437 cat >>confdefs.h <<_ACEOF
34438 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34439 _ACEOF
34440
34441 EXTRALIBS_ESD="-lesd"
34442
34443 fi
34444
34445 done
34446
34447
34448 fi
34449
34450
34451
34452 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
34453 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
34454 cat >conftest.$ac_ext <<_ACEOF
34455 /* confdefs.h. */
34456 _ACEOF
34457 cat confdefs.h >>conftest.$ac_ext
34458 cat >>conftest.$ac_ext <<_ACEOF
34459 /* end confdefs.h. */
34460 #ifdef __linux__
34461 #include <linux/cdrom.h>
34462 #else
34463 /* For Solaris */
34464 #include <sys/cdio.h>
34465 #endif
34466
34467 int
34468 main ()
34469 {
34470 struct cdrom_tocentry entry, old_entry;
34471 ;
34472 return 0;
34473 }
34474 _ACEOF
34475 rm -f conftest.$ac_objext
34476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34477 (eval $ac_compile) 2>conftest.er1
34478 ac_status=$?
34479 grep -v '^ *+' conftest.er1 >conftest.err
34480 rm -f conftest.er1
34481 cat conftest.err >&5
34482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34483 (exit $ac_status); } &&
34484 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34486 (eval $ac_try) 2>&5
34487 ac_status=$?
34488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34489 (exit $ac_status); }; } &&
34490 { ac_try='test -s conftest.$ac_objext'
34491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34492 (eval $ac_try) 2>&5
34493 ac_status=$?
34494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34495 (exit $ac_status); }; }; then
34496 echo "$as_me:$LINENO: result: yes" >&5
34497 echo "${ECHO_T}yes" >&6
34498 cat >>confdefs.h <<\_ACEOF
34499 #define HAVE_KNOWN_CDROM_INTERFACE 1
34500 _ACEOF
34501
34502 else
34503 echo "$as_me: failed program was:" >&5
34504 sed 's/^/| /' conftest.$ac_ext >&5
34505
34506 echo "$as_me:$LINENO: result: no" >&5
34507 echo "${ECHO_T}no" >&6
34508 fi
34509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34510
34511
34512 cat >confcache <<\_ACEOF
34513 # This file is a shell script that caches the results of configure
34514 # tests run on this system so they can be shared between configure
34515 # scripts and configure runs, see configure's option --config-cache.
34516 # It is not useful on other systems. If it contains results you don't
34517 # want to keep, you may remove or edit it.
34518 #
34519 # config.status only pays attention to the cache file if you give it
34520 # the --recheck option to rerun configure.
34521 #
34522 # `ac_cv_env_foo' variables (set or unset) will be overridden when
34523 # loading this file, other *unset* `ac_cv_foo' will be assigned the
34524 # following values.
34525
34526 _ACEOF
34527
34528 # The following way of writing the cache mishandles newlines in values,
34529 # but we know of no workaround that is simple, portable, and efficient.
34530 # So, don't put newlines in cache variables' values.
34531 # Ultrix sh set writes to stderr and can't be redirected directly,
34532 # and sets the high bit in the cache file unless we assign to the vars.
34533 {
34534 (set) 2>&1 |
34535 case `(ac_space=' '; set | grep ac_space) 2>&1` in
34536 *ac_space=\ *)
34537 # `set' does not quote correctly, so add quotes (double-quote
34538 # substitution turns \\\\ into \\, and sed turns \\ into \).
34539 sed -n \
34540 "s/'/'\\\\''/g;
34541 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
34542 ;;
34543 *)
34544 # `set' quotes correctly as required by POSIX, so do not add quotes.
34545 sed -n \
34546 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
34547 ;;
34548 esac;
34549 } |
34550 sed '
34551 t clear
34552 : clear
34553 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
34554 t end
34555 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
34556 : end' >>confcache
34557 if diff $cache_file confcache >/dev/null 2>&1; then :; else
34558 if test -w $cache_file; then
34559 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
34560 cat confcache >$cache_file
34561 else
34562 echo "not updating unwritable cache $cache_file"
34563 fi
34564 fi
34565 rm -f confcache
34566
34567
34568 CPP_MT_FLAG=
34569 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
34570
34571
34572 THREADS_LINK=
34573 THREADS_CFLAGS=
34574
34575 if test "$wxUSE_THREADS" = "yes" ; then
34576 if test "$USE_BEOS" = 1; then
34577 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
34578 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
34579 wxUSE_THREADS="no"
34580 fi
34581 fi
34582
34583 if test "$wxUSE_THREADS" = "yes" ; then
34584
34585
34586 THREAD_OPTS="-pthread"
34587 case "${host}" in
34588 *-*-solaris2* | *-*-sunos4* )
34589 if test "x$GCC" = "xyes"; then
34590 THREAD_OPTS="-pthreads $THREAD_OPTS"
34591 else
34592 THREAD_OPTS="-mt $THREAD_OPTS"
34593 fi
34594 ;;
34595 *-*-freebsd*)
34596 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
34597 ;;
34598 *-*-darwin* | *-*-cygwin* )
34599 THREAD_OPTS=""
34600 ;;
34601 *-*-aix*)
34602 THREAD_OPTS="pthreads"
34603 ;;
34604 *-hp-hpux* )
34605 if test "x$GCC" != "xyes"; then
34606 THREAD_OPTS=""
34607 fi
34608 ;;
34609
34610 *-*-irix* )
34611 if test "x$GCC" = "xyes"; then
34612 THREAD_OPTS=""
34613 fi
34614 ;;
34615
34616 *-*-*UnixWare*)
34617 if test "x$GCC" != "xyes"; then
34618 THREAD_OPTS="-Ethread"
34619 fi
34620 ;;
34621 esac
34622
34623 THREAD_OPTS="$THREAD_OPTS pthread none"
34624
34625 THREADS_OK=no
34626 for flag in $THREAD_OPTS; do
34627 case $flag in
34628 none)
34629 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
34630 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
34631 ;;
34632
34633 -*)
34634 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
34635 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
34636 THREADS_CFLAGS="$flag"
34637 ;;
34638
34639 *)
34640 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
34641 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
34642 THREADS_LINK="-l$flag"
34643 ;;
34644 esac
34645
34646 save_LIBS="$LIBS"
34647 save_CFLAGS="$CFLAGS"
34648 LIBS="$THREADS_LINK $LIBS"
34649 CFLAGS="$THREADS_CFLAGS $CFLAGS"
34650
34651 cat >conftest.$ac_ext <<_ACEOF
34652 /* confdefs.h. */
34653 _ACEOF
34654 cat confdefs.h >>conftest.$ac_ext
34655 cat >>conftest.$ac_ext <<_ACEOF
34656 /* end confdefs.h. */
34657 #include <pthread.h>
34658 int
34659 main ()
34660 {
34661 pthread_create(0,0,0,0);
34662 ;
34663 return 0;
34664 }
34665 _ACEOF
34666 rm -f conftest.$ac_objext conftest$ac_exeext
34667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34668 (eval $ac_link) 2>conftest.er1
34669 ac_status=$?
34670 grep -v '^ *+' conftest.er1 >conftest.err
34671 rm -f conftest.er1
34672 cat conftest.err >&5
34673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34674 (exit $ac_status); } &&
34675 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34677 (eval $ac_try) 2>&5
34678 ac_status=$?
34679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34680 (exit $ac_status); }; } &&
34681 { ac_try='test -s conftest$ac_exeext'
34682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34683 (eval $ac_try) 2>&5
34684 ac_status=$?
34685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34686 (exit $ac_status); }; }; then
34687 THREADS_OK=yes
34688 else
34689 echo "$as_me: failed program was:" >&5
34690 sed 's/^/| /' conftest.$ac_ext >&5
34691
34692 fi
34693 rm -f conftest.err conftest.$ac_objext \
34694 conftest$ac_exeext conftest.$ac_ext
34695
34696 LIBS="$save_LIBS"
34697 CFLAGS="$save_CFLAGS"
34698
34699 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
34700 echo "${ECHO_T}$THREADS_OK" >&6
34701 if test "x$THREADS_OK" = "xyes"; then
34702 break;
34703 fi
34704
34705 THREADS_LINK=""
34706 THREADS_CFLAGS=""
34707 done
34708
34709 if test "x$THREADS_OK" != "xyes"; then
34710 wxUSE_THREADS=no
34711 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
34712 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
34713 else
34714 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
34715 LIBS="$THREADS_LINK $LIBS"
34716
34717 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
34718 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
34719 flag=no
34720 case "${host}" in
34721 *-aix*)
34722 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
34723 flag="-D_THREAD_SAFE"
34724 ;;
34725 *-freebsd*)
34726 flag="-D_THREAD_SAFE"
34727 ;;
34728 *-hp-hpux* )
34729 flag="-D_REENTRANT"
34730 if test "x$GCC" != "xyes"; then
34731 flag="$flag -D_RWSTD_MULTI_THREAD"
34732 fi
34733 ;;
34734 *solaris* | alpha*-osf*)
34735 flag="-D_REENTRANT"
34736 ;;
34737 esac
34738 echo "$as_me:$LINENO: result: ${flag}" >&5
34739 echo "${ECHO_T}${flag}" >&6
34740 if test "x$flag" != xno; then
34741 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
34742 fi
34743
34744 if test "x$THREADS_CFLAGS" != "x"; then
34745 CFLAGS="$CFLAGS $THREADS_CFLAGS"
34746 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
34747 fi
34748 fi
34749 fi
34750
34751 if test "$wxUSE_THREADS" = "yes" ; then
34752
34753 for ac_func in thr_setconcurrency
34754 do
34755 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34756 echo "$as_me:$LINENO: checking for $ac_func" >&5
34757 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34758 if eval "test \"\${$as_ac_var+set}\" = set"; then
34759 echo $ECHO_N "(cached) $ECHO_C" >&6
34760 else
34761 cat >conftest.$ac_ext <<_ACEOF
34762 /* confdefs.h. */
34763 _ACEOF
34764 cat confdefs.h >>conftest.$ac_ext
34765 cat >>conftest.$ac_ext <<_ACEOF
34766 /* end confdefs.h. */
34767 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34768 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34769 #define $ac_func innocuous_$ac_func
34770
34771 /* System header to define __stub macros and hopefully few prototypes,
34772 which can conflict with char $ac_func (); below.
34773 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34774 <limits.h> exists even on freestanding compilers. */
34775
34776 #ifdef __STDC__
34777 # include <limits.h>
34778 #else
34779 # include <assert.h>
34780 #endif
34781
34782 #undef $ac_func
34783
34784 /* Override any gcc2 internal prototype to avoid an error. */
34785 #ifdef __cplusplus
34786 extern "C"
34787 {
34788 #endif
34789 /* We use char because int might match the return type of a gcc2
34790 builtin and then its argument prototype would still apply. */
34791 char $ac_func ();
34792 /* The GNU C library defines this for functions which it implements
34793 to always fail with ENOSYS. Some functions are actually named
34794 something starting with __ and the normal name is an alias. */
34795 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34796 choke me
34797 #else
34798 char (*f) () = $ac_func;
34799 #endif
34800 #ifdef __cplusplus
34801 }
34802 #endif
34803
34804 int
34805 main ()
34806 {
34807 return f != $ac_func;
34808 ;
34809 return 0;
34810 }
34811 _ACEOF
34812 rm -f conftest.$ac_objext conftest$ac_exeext
34813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34814 (eval $ac_link) 2>conftest.er1
34815 ac_status=$?
34816 grep -v '^ *+' conftest.er1 >conftest.err
34817 rm -f conftest.er1
34818 cat conftest.err >&5
34819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34820 (exit $ac_status); } &&
34821 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34823 (eval $ac_try) 2>&5
34824 ac_status=$?
34825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34826 (exit $ac_status); }; } &&
34827 { ac_try='test -s conftest$ac_exeext'
34828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34829 (eval $ac_try) 2>&5
34830 ac_status=$?
34831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34832 (exit $ac_status); }; }; then
34833 eval "$as_ac_var=yes"
34834 else
34835 echo "$as_me: failed program was:" >&5
34836 sed 's/^/| /' conftest.$ac_ext >&5
34837
34838 eval "$as_ac_var=no"
34839 fi
34840 rm -f conftest.err conftest.$ac_objext \
34841 conftest$ac_exeext conftest.$ac_ext
34842 fi
34843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34844 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34845 if test `eval echo '${'$as_ac_var'}'` = yes; then
34846 cat >>confdefs.h <<_ACEOF
34847 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34848 _ACEOF
34849
34850 fi
34851 done
34852
34853
34854 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
34855 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
34856 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
34857 echo $ECHO_N "(cached) $ECHO_C" >&6
34858 else
34859
34860 cat >conftest.$ac_ext <<_ACEOF
34861 /* confdefs.h. */
34862 _ACEOF
34863 cat confdefs.h >>conftest.$ac_ext
34864 cat >>conftest.$ac_ext <<_ACEOF
34865 /* end confdefs.h. */
34866 #include <pthread.h>
34867 void ThreadCleanupFunc(void *p);
34868
34869 int
34870 main ()
34871 {
34872
34873 void *p;
34874 pthread_cleanup_push(ThreadCleanupFunc, p);
34875 pthread_cleanup_pop(0);
34876
34877 ;
34878 return 0;
34879 }
34880 _ACEOF
34881 rm -f conftest.$ac_objext
34882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34883 (eval $ac_compile) 2>conftest.er1
34884 ac_status=$?
34885 grep -v '^ *+' conftest.er1 >conftest.err
34886 rm -f conftest.er1
34887 cat conftest.err >&5
34888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34889 (exit $ac_status); } &&
34890 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34892 (eval $ac_try) 2>&5
34893 ac_status=$?
34894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34895 (exit $ac_status); }; } &&
34896 { ac_try='test -s conftest.$ac_objext'
34897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34898 (eval $ac_try) 2>&5
34899 ac_status=$?
34900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34901 (exit $ac_status); }; }; then
34902
34903 wx_cv_func_pthread_cleanup=yes
34904
34905 else
34906 echo "$as_me: failed program was:" >&5
34907 sed 's/^/| /' conftest.$ac_ext >&5
34908
34909
34910 wx_cv_func_pthread_cleanup=no
34911
34912
34913 fi
34914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34915
34916 fi
34917 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
34918 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
34919 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
34920 cat >>confdefs.h <<\_ACEOF
34921 #define wxHAVE_PTHREAD_CLEANUP 1
34922 _ACEOF
34923
34924 fi
34925
34926
34927 for ac_header in sched.h
34928 do
34929 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34930 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34931 echo "$as_me:$LINENO: checking for $ac_header" >&5
34932 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34933 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34934 echo $ECHO_N "(cached) $ECHO_C" >&6
34935 fi
34936 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34937 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34938 else
34939 # Is the header compilable?
34940 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34941 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34942 cat >conftest.$ac_ext <<_ACEOF
34943 /* confdefs.h. */
34944 _ACEOF
34945 cat confdefs.h >>conftest.$ac_ext
34946 cat >>conftest.$ac_ext <<_ACEOF
34947 /* end confdefs.h. */
34948 $ac_includes_default
34949 #include <$ac_header>
34950 _ACEOF
34951 rm -f conftest.$ac_objext
34952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34953 (eval $ac_compile) 2>conftest.er1
34954 ac_status=$?
34955 grep -v '^ *+' conftest.er1 >conftest.err
34956 rm -f conftest.er1
34957 cat conftest.err >&5
34958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34959 (exit $ac_status); } &&
34960 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34962 (eval $ac_try) 2>&5
34963 ac_status=$?
34964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34965 (exit $ac_status); }; } &&
34966 { ac_try='test -s conftest.$ac_objext'
34967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34968 (eval $ac_try) 2>&5
34969 ac_status=$?
34970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34971 (exit $ac_status); }; }; then
34972 ac_header_compiler=yes
34973 else
34974 echo "$as_me: failed program was:" >&5
34975 sed 's/^/| /' conftest.$ac_ext >&5
34976
34977 ac_header_compiler=no
34978 fi
34979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34980 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34981 echo "${ECHO_T}$ac_header_compiler" >&6
34982
34983 # Is the header present?
34984 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34985 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34986 cat >conftest.$ac_ext <<_ACEOF
34987 /* confdefs.h. */
34988 _ACEOF
34989 cat confdefs.h >>conftest.$ac_ext
34990 cat >>conftest.$ac_ext <<_ACEOF
34991 /* end confdefs.h. */
34992 #include <$ac_header>
34993 _ACEOF
34994 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34995 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
34996 ac_status=$?
34997 grep -v '^ *+' conftest.er1 >conftest.err
34998 rm -f conftest.er1
34999 cat conftest.err >&5
35000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35001 (exit $ac_status); } >/dev/null; then
35002 if test -s conftest.err; then
35003 ac_cpp_err=$ac_c_preproc_warn_flag
35004 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
35005 else
35006 ac_cpp_err=
35007 fi
35008 else
35009 ac_cpp_err=yes
35010 fi
35011 if test -z "$ac_cpp_err"; then
35012 ac_header_preproc=yes
35013 else
35014 echo "$as_me: failed program was:" >&5
35015 sed 's/^/| /' conftest.$ac_ext >&5
35016
35017 ac_header_preproc=no
35018 fi
35019 rm -f conftest.err conftest.$ac_ext
35020 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35021 echo "${ECHO_T}$ac_header_preproc" >&6
35022
35023 # So? What about this header?
35024 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35025 yes:no: )
35026 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35027 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35028 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35029 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35030 ac_header_preproc=yes
35031 ;;
35032 no:yes:* )
35033 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35034 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35035 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35036 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35037 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35038 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35039 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35040 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35041 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35042 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35043 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35044 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35045 (
35046 cat <<\_ASBOX
35047 ## ----------------------------------------- ##
35048 ## Report this to wx-dev@lists.wxwidgets.org ##
35049 ## ----------------------------------------- ##
35050 _ASBOX
35051 ) |
35052 sed "s/^/$as_me: WARNING: /" >&2
35053 ;;
35054 esac
35055 echo "$as_me:$LINENO: checking for $ac_header" >&5
35056 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35057 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35058 echo $ECHO_N "(cached) $ECHO_C" >&6
35059 else
35060 eval "$as_ac_Header=\$ac_header_preproc"
35061 fi
35062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35063 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35064
35065 fi
35066 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35067 cat >>confdefs.h <<_ACEOF
35068 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35069 _ACEOF
35070
35071 fi
35072
35073 done
35074
35075 if test "$ac_cv_header_sched_h" = "yes"; then
35076 echo "$as_me:$LINENO: checking for sched_yield" >&5
35077 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
35078 if test "${ac_cv_func_sched_yield+set}" = set; then
35079 echo $ECHO_N "(cached) $ECHO_C" >&6
35080 else
35081 cat >conftest.$ac_ext <<_ACEOF
35082 /* confdefs.h. */
35083 _ACEOF
35084 cat confdefs.h >>conftest.$ac_ext
35085 cat >>conftest.$ac_ext <<_ACEOF
35086 /* end confdefs.h. */
35087 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
35088 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35089 #define sched_yield innocuous_sched_yield
35090
35091 /* System header to define __stub macros and hopefully few prototypes,
35092 which can conflict with char sched_yield (); below.
35093 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35094 <limits.h> exists even on freestanding compilers. */
35095
35096 #ifdef __STDC__
35097 # include <limits.h>
35098 #else
35099 # include <assert.h>
35100 #endif
35101
35102 #undef sched_yield
35103
35104 /* Override any gcc2 internal prototype to avoid an error. */
35105 #ifdef __cplusplus
35106 extern "C"
35107 {
35108 #endif
35109 /* We use char because int might match the return type of a gcc2
35110 builtin and then its argument prototype would still apply. */
35111 char sched_yield ();
35112 /* The GNU C library defines this for functions which it implements
35113 to always fail with ENOSYS. Some functions are actually named
35114 something starting with __ and the normal name is an alias. */
35115 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
35116 choke me
35117 #else
35118 char (*f) () = sched_yield;
35119 #endif
35120 #ifdef __cplusplus
35121 }
35122 #endif
35123
35124 int
35125 main ()
35126 {
35127 return f != sched_yield;
35128 ;
35129 return 0;
35130 }
35131 _ACEOF
35132 rm -f conftest.$ac_objext conftest$ac_exeext
35133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35134 (eval $ac_link) 2>conftest.er1
35135 ac_status=$?
35136 grep -v '^ *+' conftest.er1 >conftest.err
35137 rm -f conftest.er1
35138 cat conftest.err >&5
35139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35140 (exit $ac_status); } &&
35141 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35143 (eval $ac_try) 2>&5
35144 ac_status=$?
35145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35146 (exit $ac_status); }; } &&
35147 { ac_try='test -s conftest$ac_exeext'
35148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35149 (eval $ac_try) 2>&5
35150 ac_status=$?
35151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35152 (exit $ac_status); }; }; then
35153 ac_cv_func_sched_yield=yes
35154 else
35155 echo "$as_me: failed program was:" >&5
35156 sed 's/^/| /' conftest.$ac_ext >&5
35157
35158 ac_cv_func_sched_yield=no
35159 fi
35160 rm -f conftest.err conftest.$ac_objext \
35161 conftest$ac_exeext conftest.$ac_ext
35162 fi
35163 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
35164 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
35165 if test $ac_cv_func_sched_yield = yes; then
35166 cat >>confdefs.h <<\_ACEOF
35167 #define HAVE_SCHED_YIELD 1
35168 _ACEOF
35169
35170 else
35171
35172 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
35173 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
35174 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
35175 echo $ECHO_N "(cached) $ECHO_C" >&6
35176 else
35177 ac_check_lib_save_LIBS=$LIBS
35178 LIBS="-lposix4 $LIBS"
35179 cat >conftest.$ac_ext <<_ACEOF
35180 /* confdefs.h. */
35181 _ACEOF
35182 cat confdefs.h >>conftest.$ac_ext
35183 cat >>conftest.$ac_ext <<_ACEOF
35184 /* end confdefs.h. */
35185
35186 /* Override any gcc2 internal prototype to avoid an error. */
35187 #ifdef __cplusplus
35188 extern "C"
35189 #endif
35190 /* We use char because int might match the return type of a gcc2
35191 builtin and then its argument prototype would still apply. */
35192 char sched_yield ();
35193 int
35194 main ()
35195 {
35196 sched_yield ();
35197 ;
35198 return 0;
35199 }
35200 _ACEOF
35201 rm -f conftest.$ac_objext conftest$ac_exeext
35202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35203 (eval $ac_link) 2>conftest.er1
35204 ac_status=$?
35205 grep -v '^ *+' conftest.er1 >conftest.err
35206 rm -f conftest.er1
35207 cat conftest.err >&5
35208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35209 (exit $ac_status); } &&
35210 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35212 (eval $ac_try) 2>&5
35213 ac_status=$?
35214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35215 (exit $ac_status); }; } &&
35216 { ac_try='test -s conftest$ac_exeext'
35217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35218 (eval $ac_try) 2>&5
35219 ac_status=$?
35220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35221 (exit $ac_status); }; }; then
35222 ac_cv_lib_posix4_sched_yield=yes
35223 else
35224 echo "$as_me: failed program was:" >&5
35225 sed 's/^/| /' conftest.$ac_ext >&5
35226
35227 ac_cv_lib_posix4_sched_yield=no
35228 fi
35229 rm -f conftest.err conftest.$ac_objext \
35230 conftest$ac_exeext conftest.$ac_ext
35231 LIBS=$ac_check_lib_save_LIBS
35232 fi
35233 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
35234 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
35235 if test $ac_cv_lib_posix4_sched_yield = yes; then
35236 cat >>confdefs.h <<\_ACEOF
35237 #define HAVE_SCHED_YIELD 1
35238 _ACEOF
35239 POSIX4_LINK=" -lposix4"
35240 else
35241 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
35242 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
35243
35244 fi
35245
35246
35247
35248 fi
35249
35250 fi
35251
35252 HAVE_PRIOR_FUNCS=0
35253 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
35254 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
35255 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
35256 echo $ECHO_N "(cached) $ECHO_C" >&6
35257 else
35258 cat >conftest.$ac_ext <<_ACEOF
35259 /* confdefs.h. */
35260 _ACEOF
35261 cat confdefs.h >>conftest.$ac_ext
35262 cat >>conftest.$ac_ext <<_ACEOF
35263 /* end confdefs.h. */
35264 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
35265 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35266 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
35267
35268 /* System header to define __stub macros and hopefully few prototypes,
35269 which can conflict with char pthread_attr_getschedpolicy (); below.
35270 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35271 <limits.h> exists even on freestanding compilers. */
35272
35273 #ifdef __STDC__
35274 # include <limits.h>
35275 #else
35276 # include <assert.h>
35277 #endif
35278
35279 #undef pthread_attr_getschedpolicy
35280
35281 /* Override any gcc2 internal prototype to avoid an error. */
35282 #ifdef __cplusplus
35283 extern "C"
35284 {
35285 #endif
35286 /* We use char because int might match the return type of a gcc2
35287 builtin and then its argument prototype would still apply. */
35288 char pthread_attr_getschedpolicy ();
35289 /* The GNU C library defines this for functions which it implements
35290 to always fail with ENOSYS. Some functions are actually named
35291 something starting with __ and the normal name is an alias. */
35292 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
35293 choke me
35294 #else
35295 char (*f) () = pthread_attr_getschedpolicy;
35296 #endif
35297 #ifdef __cplusplus
35298 }
35299 #endif
35300
35301 int
35302 main ()
35303 {
35304 return f != pthread_attr_getschedpolicy;
35305 ;
35306 return 0;
35307 }
35308 _ACEOF
35309 rm -f conftest.$ac_objext conftest$ac_exeext
35310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35311 (eval $ac_link) 2>conftest.er1
35312 ac_status=$?
35313 grep -v '^ *+' conftest.er1 >conftest.err
35314 rm -f conftest.er1
35315 cat conftest.err >&5
35316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35317 (exit $ac_status); } &&
35318 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35320 (eval $ac_try) 2>&5
35321 ac_status=$?
35322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35323 (exit $ac_status); }; } &&
35324 { ac_try='test -s conftest$ac_exeext'
35325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35326 (eval $ac_try) 2>&5
35327 ac_status=$?
35328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35329 (exit $ac_status); }; }; then
35330 ac_cv_func_pthread_attr_getschedpolicy=yes
35331 else
35332 echo "$as_me: failed program was:" >&5
35333 sed 's/^/| /' conftest.$ac_ext >&5
35334
35335 ac_cv_func_pthread_attr_getschedpolicy=no
35336 fi
35337 rm -f conftest.err conftest.$ac_objext \
35338 conftest$ac_exeext conftest.$ac_ext
35339 fi
35340 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
35341 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
35342 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
35343 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
35344 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
35345 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
35346 echo $ECHO_N "(cached) $ECHO_C" >&6
35347 else
35348 cat >conftest.$ac_ext <<_ACEOF
35349 /* confdefs.h. */
35350 _ACEOF
35351 cat confdefs.h >>conftest.$ac_ext
35352 cat >>conftest.$ac_ext <<_ACEOF
35353 /* end confdefs.h. */
35354 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
35355 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35356 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
35357
35358 /* System header to define __stub macros and hopefully few prototypes,
35359 which can conflict with char pthread_attr_setschedparam (); below.
35360 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35361 <limits.h> exists even on freestanding compilers. */
35362
35363 #ifdef __STDC__
35364 # include <limits.h>
35365 #else
35366 # include <assert.h>
35367 #endif
35368
35369 #undef pthread_attr_setschedparam
35370
35371 /* Override any gcc2 internal prototype to avoid an error. */
35372 #ifdef __cplusplus
35373 extern "C"
35374 {
35375 #endif
35376 /* We use char because int might match the return type of a gcc2
35377 builtin and then its argument prototype would still apply. */
35378 char pthread_attr_setschedparam ();
35379 /* The GNU C library defines this for functions which it implements
35380 to always fail with ENOSYS. Some functions are actually named
35381 something starting with __ and the normal name is an alias. */
35382 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
35383 choke me
35384 #else
35385 char (*f) () = pthread_attr_setschedparam;
35386 #endif
35387 #ifdef __cplusplus
35388 }
35389 #endif
35390
35391 int
35392 main ()
35393 {
35394 return f != pthread_attr_setschedparam;
35395 ;
35396 return 0;
35397 }
35398 _ACEOF
35399 rm -f conftest.$ac_objext conftest$ac_exeext
35400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35401 (eval $ac_link) 2>conftest.er1
35402 ac_status=$?
35403 grep -v '^ *+' conftest.er1 >conftest.err
35404 rm -f conftest.er1
35405 cat conftest.err >&5
35406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35407 (exit $ac_status); } &&
35408 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35410 (eval $ac_try) 2>&5
35411 ac_status=$?
35412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35413 (exit $ac_status); }; } &&
35414 { ac_try='test -s conftest$ac_exeext'
35415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35416 (eval $ac_try) 2>&5
35417 ac_status=$?
35418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35419 (exit $ac_status); }; }; then
35420 ac_cv_func_pthread_attr_setschedparam=yes
35421 else
35422 echo "$as_me: failed program was:" >&5
35423 sed 's/^/| /' conftest.$ac_ext >&5
35424
35425 ac_cv_func_pthread_attr_setschedparam=no
35426 fi
35427 rm -f conftest.err conftest.$ac_objext \
35428 conftest$ac_exeext conftest.$ac_ext
35429 fi
35430 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
35431 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
35432 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
35433 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
35434 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
35435 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
35436 echo $ECHO_N "(cached) $ECHO_C" >&6
35437 else
35438 cat >conftest.$ac_ext <<_ACEOF
35439 /* confdefs.h. */
35440 _ACEOF
35441 cat confdefs.h >>conftest.$ac_ext
35442 cat >>conftest.$ac_ext <<_ACEOF
35443 /* end confdefs.h. */
35444 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
35445 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35446 #define sched_get_priority_max innocuous_sched_get_priority_max
35447
35448 /* System header to define __stub macros and hopefully few prototypes,
35449 which can conflict with char sched_get_priority_max (); below.
35450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35451 <limits.h> exists even on freestanding compilers. */
35452
35453 #ifdef __STDC__
35454 # include <limits.h>
35455 #else
35456 # include <assert.h>
35457 #endif
35458
35459 #undef sched_get_priority_max
35460
35461 /* Override any gcc2 internal prototype to avoid an error. */
35462 #ifdef __cplusplus
35463 extern "C"
35464 {
35465 #endif
35466 /* We use char because int might match the return type of a gcc2
35467 builtin and then its argument prototype would still apply. */
35468 char sched_get_priority_max ();
35469 /* The GNU C library defines this for functions which it implements
35470 to always fail with ENOSYS. Some functions are actually named
35471 something starting with __ and the normal name is an alias. */
35472 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
35473 choke me
35474 #else
35475 char (*f) () = sched_get_priority_max;
35476 #endif
35477 #ifdef __cplusplus
35478 }
35479 #endif
35480
35481 int
35482 main ()
35483 {
35484 return f != sched_get_priority_max;
35485 ;
35486 return 0;
35487 }
35488 _ACEOF
35489 rm -f conftest.$ac_objext conftest$ac_exeext
35490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35491 (eval $ac_link) 2>conftest.er1
35492 ac_status=$?
35493 grep -v '^ *+' conftest.er1 >conftest.err
35494 rm -f conftest.er1
35495 cat conftest.err >&5
35496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35497 (exit $ac_status); } &&
35498 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35500 (eval $ac_try) 2>&5
35501 ac_status=$?
35502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35503 (exit $ac_status); }; } &&
35504 { ac_try='test -s conftest$ac_exeext'
35505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35506 (eval $ac_try) 2>&5
35507 ac_status=$?
35508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35509 (exit $ac_status); }; }; then
35510 ac_cv_func_sched_get_priority_max=yes
35511 else
35512 echo "$as_me: failed program was:" >&5
35513 sed 's/^/| /' conftest.$ac_ext >&5
35514
35515 ac_cv_func_sched_get_priority_max=no
35516 fi
35517 rm -f conftest.err conftest.$ac_objext \
35518 conftest$ac_exeext conftest.$ac_ext
35519 fi
35520 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
35521 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
35522 if test $ac_cv_func_sched_get_priority_max = yes; then
35523 HAVE_PRIOR_FUNCS=1
35524 else
35525 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
35526 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
35527 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
35528 echo $ECHO_N "(cached) $ECHO_C" >&6
35529 else
35530 ac_check_lib_save_LIBS=$LIBS
35531 LIBS="-lposix4 $LIBS"
35532 cat >conftest.$ac_ext <<_ACEOF
35533 /* confdefs.h. */
35534 _ACEOF
35535 cat confdefs.h >>conftest.$ac_ext
35536 cat >>conftest.$ac_ext <<_ACEOF
35537 /* end confdefs.h. */
35538
35539 /* Override any gcc2 internal prototype to avoid an error. */
35540 #ifdef __cplusplus
35541 extern "C"
35542 #endif
35543 /* We use char because int might match the return type of a gcc2
35544 builtin and then its argument prototype would still apply. */
35545 char sched_get_priority_max ();
35546 int
35547 main ()
35548 {
35549 sched_get_priority_max ();
35550 ;
35551 return 0;
35552 }
35553 _ACEOF
35554 rm -f conftest.$ac_objext conftest$ac_exeext
35555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35556 (eval $ac_link) 2>conftest.er1
35557 ac_status=$?
35558 grep -v '^ *+' conftest.er1 >conftest.err
35559 rm -f conftest.er1
35560 cat conftest.err >&5
35561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35562 (exit $ac_status); } &&
35563 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35565 (eval $ac_try) 2>&5
35566 ac_status=$?
35567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35568 (exit $ac_status); }; } &&
35569 { ac_try='test -s conftest$ac_exeext'
35570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35571 (eval $ac_try) 2>&5
35572 ac_status=$?
35573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35574 (exit $ac_status); }; }; then
35575 ac_cv_lib_posix4_sched_get_priority_max=yes
35576 else
35577 echo "$as_me: failed program was:" >&5
35578 sed 's/^/| /' conftest.$ac_ext >&5
35579
35580 ac_cv_lib_posix4_sched_get_priority_max=no
35581 fi
35582 rm -f conftest.err conftest.$ac_objext \
35583 conftest$ac_exeext conftest.$ac_ext
35584 LIBS=$ac_check_lib_save_LIBS
35585 fi
35586 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
35587 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
35588 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
35589
35590 HAVE_PRIOR_FUNCS=1
35591 POSIX4_LINK=" -lposix4"
35592
35593 fi
35594
35595
35596 fi
35597
35598
35599 fi
35600
35601
35602 fi
35603
35604
35605 if test "$HAVE_PRIOR_FUNCS" = 1; then
35606 cat >>confdefs.h <<\_ACEOF
35607 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
35608 _ACEOF
35609
35610 else
35611 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
35612 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
35613 fi
35614
35615 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
35616 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
35617 if test "${ac_cv_func_pthread_cancel+set}" = set; then
35618 echo $ECHO_N "(cached) $ECHO_C" >&6
35619 else
35620 cat >conftest.$ac_ext <<_ACEOF
35621 /* confdefs.h. */
35622 _ACEOF
35623 cat confdefs.h >>conftest.$ac_ext
35624 cat >>conftest.$ac_ext <<_ACEOF
35625 /* end confdefs.h. */
35626 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
35627 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35628 #define pthread_cancel innocuous_pthread_cancel
35629
35630 /* System header to define __stub macros and hopefully few prototypes,
35631 which can conflict with char pthread_cancel (); below.
35632 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35633 <limits.h> exists even on freestanding compilers. */
35634
35635 #ifdef __STDC__
35636 # include <limits.h>
35637 #else
35638 # include <assert.h>
35639 #endif
35640
35641 #undef pthread_cancel
35642
35643 /* Override any gcc2 internal prototype to avoid an error. */
35644 #ifdef __cplusplus
35645 extern "C"
35646 {
35647 #endif
35648 /* We use char because int might match the return type of a gcc2
35649 builtin and then its argument prototype would still apply. */
35650 char pthread_cancel ();
35651 /* The GNU C library defines this for functions which it implements
35652 to always fail with ENOSYS. Some functions are actually named
35653 something starting with __ and the normal name is an alias. */
35654 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
35655 choke me
35656 #else
35657 char (*f) () = pthread_cancel;
35658 #endif
35659 #ifdef __cplusplus
35660 }
35661 #endif
35662
35663 int
35664 main ()
35665 {
35666 return f != pthread_cancel;
35667 ;
35668 return 0;
35669 }
35670 _ACEOF
35671 rm -f conftest.$ac_objext conftest$ac_exeext
35672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35673 (eval $ac_link) 2>conftest.er1
35674 ac_status=$?
35675 grep -v '^ *+' conftest.er1 >conftest.err
35676 rm -f conftest.er1
35677 cat conftest.err >&5
35678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35679 (exit $ac_status); } &&
35680 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35682 (eval $ac_try) 2>&5
35683 ac_status=$?
35684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35685 (exit $ac_status); }; } &&
35686 { ac_try='test -s conftest$ac_exeext'
35687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35688 (eval $ac_try) 2>&5
35689 ac_status=$?
35690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35691 (exit $ac_status); }; }; then
35692 ac_cv_func_pthread_cancel=yes
35693 else
35694 echo "$as_me: failed program was:" >&5
35695 sed 's/^/| /' conftest.$ac_ext >&5
35696
35697 ac_cv_func_pthread_cancel=no
35698 fi
35699 rm -f conftest.err conftest.$ac_objext \
35700 conftest$ac_exeext conftest.$ac_ext
35701 fi
35702 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
35703 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
35704 if test $ac_cv_func_pthread_cancel = yes; then
35705 cat >>confdefs.h <<\_ACEOF
35706 #define HAVE_PTHREAD_CANCEL 1
35707 _ACEOF
35708
35709 else
35710 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
35711 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
35712 fi
35713
35714
35715 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
35716 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
35717 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
35718 echo $ECHO_N "(cached) $ECHO_C" >&6
35719 else
35720 cat >conftest.$ac_ext <<_ACEOF
35721 /* confdefs.h. */
35722 _ACEOF
35723 cat confdefs.h >>conftest.$ac_ext
35724 cat >>conftest.$ac_ext <<_ACEOF
35725 /* end confdefs.h. */
35726 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
35727 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35728 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
35729
35730 /* System header to define __stub macros and hopefully few prototypes,
35731 which can conflict with char pthread_attr_setstacksize (); below.
35732 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35733 <limits.h> exists even on freestanding compilers. */
35734
35735 #ifdef __STDC__
35736 # include <limits.h>
35737 #else
35738 # include <assert.h>
35739 #endif
35740
35741 #undef pthread_attr_setstacksize
35742
35743 /* Override any gcc2 internal prototype to avoid an error. */
35744 #ifdef __cplusplus
35745 extern "C"
35746 {
35747 #endif
35748 /* We use char because int might match the return type of a gcc2
35749 builtin and then its argument prototype would still apply. */
35750 char pthread_attr_setstacksize ();
35751 /* The GNU C library defines this for functions which it implements
35752 to always fail with ENOSYS. Some functions are actually named
35753 something starting with __ and the normal name is an alias. */
35754 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
35755 choke me
35756 #else
35757 char (*f) () = pthread_attr_setstacksize;
35758 #endif
35759 #ifdef __cplusplus
35760 }
35761 #endif
35762
35763 int
35764 main ()
35765 {
35766 return f != pthread_attr_setstacksize;
35767 ;
35768 return 0;
35769 }
35770 _ACEOF
35771 rm -f conftest.$ac_objext conftest$ac_exeext
35772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35773 (eval $ac_link) 2>conftest.er1
35774 ac_status=$?
35775 grep -v '^ *+' conftest.er1 >conftest.err
35776 rm -f conftest.er1
35777 cat conftest.err >&5
35778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35779 (exit $ac_status); } &&
35780 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35782 (eval $ac_try) 2>&5
35783 ac_status=$?
35784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35785 (exit $ac_status); }; } &&
35786 { ac_try='test -s conftest$ac_exeext'
35787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35788 (eval $ac_try) 2>&5
35789 ac_status=$?
35790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35791 (exit $ac_status); }; }; then
35792 ac_cv_func_pthread_attr_setstacksize=yes
35793 else
35794 echo "$as_me: failed program was:" >&5
35795 sed 's/^/| /' conftest.$ac_ext >&5
35796
35797 ac_cv_func_pthread_attr_setstacksize=no
35798 fi
35799 rm -f conftest.err conftest.$ac_objext \
35800 conftest$ac_exeext conftest.$ac_ext
35801 fi
35802 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
35803 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
35804 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
35805 cat >>confdefs.h <<\_ACEOF
35806 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
35807 _ACEOF
35808
35809 fi
35810
35811
35812
35813 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
35814 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
35815 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
35816 echo $ECHO_N "(cached) $ECHO_C" >&6
35817 else
35818
35819 cat >conftest.$ac_ext <<_ACEOF
35820 /* confdefs.h. */
35821 _ACEOF
35822 cat confdefs.h >>conftest.$ac_ext
35823 cat >>conftest.$ac_ext <<_ACEOF
35824 /* end confdefs.h. */
35825 #include <pthread.h>
35826 int
35827 main ()
35828 {
35829
35830 pthread_mutexattr_t attr;
35831 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
35832
35833 ;
35834 return 0;
35835 }
35836 _ACEOF
35837 rm -f conftest.$ac_objext
35838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35839 (eval $ac_compile) 2>conftest.er1
35840 ac_status=$?
35841 grep -v '^ *+' conftest.er1 >conftest.err
35842 rm -f conftest.er1
35843 cat conftest.err >&5
35844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35845 (exit $ac_status); } &&
35846 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35848 (eval $ac_try) 2>&5
35849 ac_status=$?
35850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35851 (exit $ac_status); }; } &&
35852 { ac_try='test -s conftest.$ac_objext'
35853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35854 (eval $ac_try) 2>&5
35855 ac_status=$?
35856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35857 (exit $ac_status); }; }; then
35858
35859 wx_cv_type_pthread_mutexattr_t=yes
35860
35861 else
35862 echo "$as_me: failed program was:" >&5
35863 sed 's/^/| /' conftest.$ac_ext >&5
35864
35865
35866 wx_cv_type_pthread_mutexattr_t=no
35867
35868
35869 fi
35870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35871
35872 fi
35873 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
35874 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
35875
35876 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
35877 cat >>confdefs.h <<\_ACEOF
35878 #define HAVE_PTHREAD_MUTEXATTR_T 1
35879 _ACEOF
35880
35881 else
35882 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
35883 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
35884 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
35885 echo $ECHO_N "(cached) $ECHO_C" >&6
35886 else
35887
35888 cat >conftest.$ac_ext <<_ACEOF
35889 /* confdefs.h. */
35890 _ACEOF
35891 cat confdefs.h >>conftest.$ac_ext
35892 cat >>conftest.$ac_ext <<_ACEOF
35893 /* end confdefs.h. */
35894 #include <pthread.h>
35895 int
35896 main ()
35897 {
35898
35899 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
35900
35901 ;
35902 return 0;
35903 }
35904 _ACEOF
35905 rm -f conftest.$ac_objext
35906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35907 (eval $ac_compile) 2>conftest.er1
35908 ac_status=$?
35909 grep -v '^ *+' conftest.er1 >conftest.err
35910 rm -f conftest.er1
35911 cat conftest.err >&5
35912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35913 (exit $ac_status); } &&
35914 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35916 (eval $ac_try) 2>&5
35917 ac_status=$?
35918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35919 (exit $ac_status); }; } &&
35920 { ac_try='test -s conftest.$ac_objext'
35921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35922 (eval $ac_try) 2>&5
35923 ac_status=$?
35924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35925 (exit $ac_status); }; }; then
35926
35927 wx_cv_type_pthread_rec_mutex_init=yes
35928
35929 else
35930 echo "$as_me: failed program was:" >&5
35931 sed 's/^/| /' conftest.$ac_ext >&5
35932
35933
35934 wx_cv_type_pthread_rec_mutex_init=no
35935
35936
35937 fi
35938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35939
35940 fi
35941 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
35942 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
35943 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
35944 cat >>confdefs.h <<\_ACEOF
35945 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
35946 _ACEOF
35947
35948 else
35949 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
35950 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
35951 fi
35952 fi
35953 fi
35954
35955 else
35956 if test "$wxUSE_THREADS" = "yes" ; then
35957 case "${host}" in
35958 *-*-mingw32* )
35959 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
35960 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
35961 if test "${wx_cv_cflags_mthread+set}" = set; then
35962 echo $ECHO_N "(cached) $ECHO_C" >&6
35963 else
35964
35965 CFLAGS_OLD="$CFLAGS"
35966 CFLAGS="$CFLAGS -mthreads"
35967 cat >conftest.$ac_ext <<_ACEOF
35968 /* confdefs.h. */
35969 _ACEOF
35970 cat confdefs.h >>conftest.$ac_ext
35971 cat >>conftest.$ac_ext <<_ACEOF
35972 /* end confdefs.h. */
35973
35974 int
35975 main ()
35976 {
35977
35978 ;
35979 return 0;
35980 }
35981 _ACEOF
35982 rm -f conftest.$ac_objext
35983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35984 (eval $ac_compile) 2>conftest.er1
35985 ac_status=$?
35986 grep -v '^ *+' conftest.er1 >conftest.err
35987 rm -f conftest.er1
35988 cat conftest.err >&5
35989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35990 (exit $ac_status); } &&
35991 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35993 (eval $ac_try) 2>&5
35994 ac_status=$?
35995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35996 (exit $ac_status); }; } &&
35997 { ac_try='test -s conftest.$ac_objext'
35998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35999 (eval $ac_try) 2>&5
36000 ac_status=$?
36001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36002 (exit $ac_status); }; }; then
36003 wx_cv_cflags_mthread=yes
36004 else
36005 echo "$as_me: failed program was:" >&5
36006 sed 's/^/| /' conftest.$ac_ext >&5
36007
36008 wx_cv_cflags_mthread=no
36009
36010 fi
36011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36012
36013
36014 fi
36015 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
36016 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
36017
36018 if test "$wx_cv_cflags_mthread" = "yes"; then
36019 CXXFLAGS="$CXXFLAGS -mthreads"
36020 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
36021 LDFLAGS="$LDFLAGS -mthreads"
36022 else
36023 CFLAGS="$CFLAGS_OLD"
36024 fi
36025 ;;
36026 *-pc-os2*emx )
36027 CFLAGS="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
36028 CXXFLAGS="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
36029 LDFLAGS="$LDFLAGS -Zmt"
36030 ;;
36031 esac
36032 fi
36033 fi
36034
36035 if test "$wxUSE_THREADS" = "yes"; then
36036 cat >>confdefs.h <<\_ACEOF
36037 #define wxUSE_THREADS 1
36038 _ACEOF
36039
36040
36041 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
36042 else
36043 if test "$ac_cv_func_strtok_r" = "yes"; then
36044 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
36045 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
36046 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
36047 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
36048 echo "$as_me:$LINENO: result: yes" >&5
36049 echo "${ECHO_T}yes" >&6
36050 else
36051 echo "$as_me:$LINENO: result: no" >&5
36052 echo "${ECHO_T}no" >&6
36053 fi
36054 fi
36055 fi
36056
36057 if test "$WXGTK20" = 1 ; then
36058 cat >>confdefs.h <<_ACEOF
36059 #define __WXGTK20__ $WXGTK20
36060 _ACEOF
36061
36062 WXGTK12=1
36063 fi
36064
36065 if test "$WXGTK12" = 1 ; then
36066 cat >>confdefs.h <<_ACEOF
36067 #define __WXGTK12__ $WXGTK12
36068 _ACEOF
36069
36070 fi
36071
36072 if test "$WXGTK127" = 1 ; then
36073 cat >>confdefs.h <<_ACEOF
36074 #define __WXGTK127__ $WXGTK127
36075 _ACEOF
36076
36077 fi
36078
36079 if test "$WXGPE" = 1 ; then
36080 cat >>confdefs.h <<_ACEOF
36081 #define __WXGPE__ $WXGPE
36082 _ACEOF
36083
36084 fi
36085
36086 WXDEBUG=
36087
36088 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
36089 WXDEBUG="-g"
36090 wxUSE_OPTIMISE=no
36091 fi
36092
36093 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
36094 wxUSE_DEBUG_INFO=yes
36095 if test "$GCC" = yes; then
36096 WXDEBUG="-ggdb"
36097 fi
36098 fi
36099
36100 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
36101 cat >>confdefs.h <<\_ACEOF
36102 #define WXDEBUG 1
36103 _ACEOF
36104
36105 WXDEBUG_DEFINE="-D__WXDEBUG__"
36106 else
36107 if test "$wxUSE_GTK" = 1 ; then
36108 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
36109 fi
36110 fi
36111
36112 if test "$wxUSE_MEM_TRACING" = "yes" ; then
36113 cat >>confdefs.h <<\_ACEOF
36114 #define wxUSE_MEMORY_TRACING 1
36115 _ACEOF
36116
36117 cat >>confdefs.h <<\_ACEOF
36118 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
36119 _ACEOF
36120
36121 cat >>confdefs.h <<\_ACEOF
36122 #define wxUSE_DEBUG_NEW_ALWAYS 1
36123 _ACEOF
36124
36125 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
36126 fi
36127
36128 if test "$wxUSE_DMALLOC" = "yes" ; then
36129 DMALLOC_LIBS="-ldmallocthcxx"
36130 fi
36131
36132 PROFILE=
36133 if test "$wxUSE_PROFILE" = "yes" ; then
36134 PROFILE=" -pg"
36135 fi
36136
36137 CODE_GEN_FLAGS=
36138 CODE_GEN_FLAGS_CXX=
36139 if test "$GCC" = "yes" ; then
36140 if test "$wxUSE_NO_RTTI" = "yes" ; then
36141 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
36142 fi
36143 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
36144 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
36145 fi
36146 if test "$wxUSE_PERMISSIVE" = "yes" ; then
36147 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
36148 fi
36149
36150 case "${host}" in
36151 powerpc*-*-aix* )
36152 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
36153 ;;
36154 *-hppa* )
36155 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
36156 ;;
36157 esac
36158 fi
36159
36160 OPTIMISE=
36161 if test "$wxUSE_OPTIMISE" = "no" ; then
36162 if test "$GCC" = yes ; then
36163 OPTIMISE="-O0"
36164 fi
36165 else
36166 if test "$GCC" = yes ; then
36167 OPTIMISE="-O2"
36168
36169 case "${host}" in
36170 i586-*-*|i686-*-* )
36171 OPTIMISE="${OPTIMISE} "
36172 ;;
36173 esac
36174 else
36175 OPTIMISE="-O"
36176 fi
36177 fi
36178
36179
36180 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
36181 cat >>confdefs.h <<\_ACEOF
36182 #define WXWIN_COMPATIBILITY_2_2 1
36183 _ACEOF
36184
36185
36186 WXWIN_COMPATIBILITY_2_4="yes"
36187 fi
36188
36189 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
36190 cat >>confdefs.h <<\_ACEOF
36191 #define WXWIN_COMPATIBILITY_2_4 1
36192 _ACEOF
36193
36194 fi
36195
36196
36197 if test "$wxUSE_GUI" = "yes"; then
36198 cat >>confdefs.h <<\_ACEOF
36199 #define wxUSE_GUI 1
36200 _ACEOF
36201
36202
36203 fi
36204
36205
36206 if test "$wxUSE_UNIX" = "yes"; then
36207 cat >>confdefs.h <<\_ACEOF
36208 #define wxUSE_UNIX 1
36209 _ACEOF
36210
36211 fi
36212
36213
36214 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
36215
36216 HAVE_DL_FUNCS=0
36217 HAVE_SHL_FUNCS=0
36218 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
36219 if test "$USE_DARWIN" = 1; then
36220 HAVE_DL_FUNCS=1
36221 elif test "$USE_DOS" = 1; then
36222 HAVE_DL_FUNCS=0
36223 else
36224
36225 for ac_func in dlopen
36226 do
36227 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36228 echo "$as_me:$LINENO: checking for $ac_func" >&5
36229 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36230 if eval "test \"\${$as_ac_var+set}\" = set"; then
36231 echo $ECHO_N "(cached) $ECHO_C" >&6
36232 else
36233 cat >conftest.$ac_ext <<_ACEOF
36234 /* confdefs.h. */
36235 _ACEOF
36236 cat confdefs.h >>conftest.$ac_ext
36237 cat >>conftest.$ac_ext <<_ACEOF
36238 /* end confdefs.h. */
36239 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36240 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36241 #define $ac_func innocuous_$ac_func
36242
36243 /* System header to define __stub macros and hopefully few prototypes,
36244 which can conflict with char $ac_func (); below.
36245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36246 <limits.h> exists even on freestanding compilers. */
36247
36248 #ifdef __STDC__
36249 # include <limits.h>
36250 #else
36251 # include <assert.h>
36252 #endif
36253
36254 #undef $ac_func
36255
36256 /* Override any gcc2 internal prototype to avoid an error. */
36257 #ifdef __cplusplus
36258 extern "C"
36259 {
36260 #endif
36261 /* We use char because int might match the return type of a gcc2
36262 builtin and then its argument prototype would still apply. */
36263 char $ac_func ();
36264 /* The GNU C library defines this for functions which it implements
36265 to always fail with ENOSYS. Some functions are actually named
36266 something starting with __ and the normal name is an alias. */
36267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36268 choke me
36269 #else
36270 char (*f) () = $ac_func;
36271 #endif
36272 #ifdef __cplusplus
36273 }
36274 #endif
36275
36276 int
36277 main ()
36278 {
36279 return f != $ac_func;
36280 ;
36281 return 0;
36282 }
36283 _ACEOF
36284 rm -f conftest.$ac_objext conftest$ac_exeext
36285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36286 (eval $ac_link) 2>conftest.er1
36287 ac_status=$?
36288 grep -v '^ *+' conftest.er1 >conftest.err
36289 rm -f conftest.er1
36290 cat conftest.err >&5
36291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36292 (exit $ac_status); } &&
36293 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36295 (eval $ac_try) 2>&5
36296 ac_status=$?
36297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36298 (exit $ac_status); }; } &&
36299 { ac_try='test -s conftest$ac_exeext'
36300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36301 (eval $ac_try) 2>&5
36302 ac_status=$?
36303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36304 (exit $ac_status); }; }; then
36305 eval "$as_ac_var=yes"
36306 else
36307 echo "$as_me: failed program was:" >&5
36308 sed 's/^/| /' conftest.$ac_ext >&5
36309
36310 eval "$as_ac_var=no"
36311 fi
36312 rm -f conftest.err conftest.$ac_objext \
36313 conftest$ac_exeext conftest.$ac_ext
36314 fi
36315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36316 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36317 if test `eval echo '${'$as_ac_var'}'` = yes; then
36318 cat >>confdefs.h <<_ACEOF
36319 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36320 _ACEOF
36321
36322 cat >>confdefs.h <<\_ACEOF
36323 #define HAVE_DLOPEN 1
36324 _ACEOF
36325
36326 HAVE_DL_FUNCS=1
36327
36328 else
36329
36330 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
36331 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
36332 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
36333 echo $ECHO_N "(cached) $ECHO_C" >&6
36334 else
36335 ac_check_lib_save_LIBS=$LIBS
36336 LIBS="-ldl $LIBS"
36337 cat >conftest.$ac_ext <<_ACEOF
36338 /* confdefs.h. */
36339 _ACEOF
36340 cat confdefs.h >>conftest.$ac_ext
36341 cat >>conftest.$ac_ext <<_ACEOF
36342 /* end confdefs.h. */
36343
36344 /* Override any gcc2 internal prototype to avoid an error. */
36345 #ifdef __cplusplus
36346 extern "C"
36347 #endif
36348 /* We use char because int might match the return type of a gcc2
36349 builtin and then its argument prototype would still apply. */
36350 char dlopen ();
36351 int
36352 main ()
36353 {
36354 dlopen ();
36355 ;
36356 return 0;
36357 }
36358 _ACEOF
36359 rm -f conftest.$ac_objext conftest$ac_exeext
36360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36361 (eval $ac_link) 2>conftest.er1
36362 ac_status=$?
36363 grep -v '^ *+' conftest.er1 >conftest.err
36364 rm -f conftest.er1
36365 cat conftest.err >&5
36366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36367 (exit $ac_status); } &&
36368 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36370 (eval $ac_try) 2>&5
36371 ac_status=$?
36372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36373 (exit $ac_status); }; } &&
36374 { ac_try='test -s conftest$ac_exeext'
36375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36376 (eval $ac_try) 2>&5
36377 ac_status=$?
36378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36379 (exit $ac_status); }; }; then
36380 ac_cv_lib_dl_dlopen=yes
36381 else
36382 echo "$as_me: failed program was:" >&5
36383 sed 's/^/| /' conftest.$ac_ext >&5
36384
36385 ac_cv_lib_dl_dlopen=no
36386 fi
36387 rm -f conftest.err conftest.$ac_objext \
36388 conftest$ac_exeext conftest.$ac_ext
36389 LIBS=$ac_check_lib_save_LIBS
36390 fi
36391 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
36392 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
36393 if test $ac_cv_lib_dl_dlopen = yes; then
36394
36395 cat >>confdefs.h <<\_ACEOF
36396 #define HAVE_DLOPEN 1
36397 _ACEOF
36398
36399 HAVE_DL_FUNCS=1
36400 DL_LINK=" -ldl$DL_LINK"
36401
36402 else
36403
36404
36405 for ac_func in shl_load
36406 do
36407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36408 echo "$as_me:$LINENO: checking for $ac_func" >&5
36409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36410 if eval "test \"\${$as_ac_var+set}\" = set"; then
36411 echo $ECHO_N "(cached) $ECHO_C" >&6
36412 else
36413 cat >conftest.$ac_ext <<_ACEOF
36414 /* confdefs.h. */
36415 _ACEOF
36416 cat confdefs.h >>conftest.$ac_ext
36417 cat >>conftest.$ac_ext <<_ACEOF
36418 /* end confdefs.h. */
36419 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36420 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36421 #define $ac_func innocuous_$ac_func
36422
36423 /* System header to define __stub macros and hopefully few prototypes,
36424 which can conflict with char $ac_func (); below.
36425 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36426 <limits.h> exists even on freestanding compilers. */
36427
36428 #ifdef __STDC__
36429 # include <limits.h>
36430 #else
36431 # include <assert.h>
36432 #endif
36433
36434 #undef $ac_func
36435
36436 /* Override any gcc2 internal prototype to avoid an error. */
36437 #ifdef __cplusplus
36438 extern "C"
36439 {
36440 #endif
36441 /* We use char because int might match the return type of a gcc2
36442 builtin and then its argument prototype would still apply. */
36443 char $ac_func ();
36444 /* The GNU C library defines this for functions which it implements
36445 to always fail with ENOSYS. Some functions are actually named
36446 something starting with __ and the normal name is an alias. */
36447 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36448 choke me
36449 #else
36450 char (*f) () = $ac_func;
36451 #endif
36452 #ifdef __cplusplus
36453 }
36454 #endif
36455
36456 int
36457 main ()
36458 {
36459 return f != $ac_func;
36460 ;
36461 return 0;
36462 }
36463 _ACEOF
36464 rm -f conftest.$ac_objext conftest$ac_exeext
36465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36466 (eval $ac_link) 2>conftest.er1
36467 ac_status=$?
36468 grep -v '^ *+' conftest.er1 >conftest.err
36469 rm -f conftest.er1
36470 cat conftest.err >&5
36471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36472 (exit $ac_status); } &&
36473 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36475 (eval $ac_try) 2>&5
36476 ac_status=$?
36477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36478 (exit $ac_status); }; } &&
36479 { ac_try='test -s conftest$ac_exeext'
36480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36481 (eval $ac_try) 2>&5
36482 ac_status=$?
36483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36484 (exit $ac_status); }; }; then
36485 eval "$as_ac_var=yes"
36486 else
36487 echo "$as_me: failed program was:" >&5
36488 sed 's/^/| /' conftest.$ac_ext >&5
36489
36490 eval "$as_ac_var=no"
36491 fi
36492 rm -f conftest.err conftest.$ac_objext \
36493 conftest$ac_exeext conftest.$ac_ext
36494 fi
36495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36496 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36497 if test `eval echo '${'$as_ac_var'}'` = yes; then
36498 cat >>confdefs.h <<_ACEOF
36499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36500 _ACEOF
36501
36502 cat >>confdefs.h <<\_ACEOF
36503 #define HAVE_SHL_LOAD 1
36504 _ACEOF
36505
36506 HAVE_SHL_FUNCS=1
36507
36508 else
36509
36510 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
36511 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
36512 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
36513 echo $ECHO_N "(cached) $ECHO_C" >&6
36514 else
36515 ac_check_lib_save_LIBS=$LIBS
36516 LIBS="-lshl_load $LIBS"
36517 cat >conftest.$ac_ext <<_ACEOF
36518 /* confdefs.h. */
36519 _ACEOF
36520 cat confdefs.h >>conftest.$ac_ext
36521 cat >>conftest.$ac_ext <<_ACEOF
36522 /* end confdefs.h. */
36523
36524 /* Override any gcc2 internal prototype to avoid an error. */
36525 #ifdef __cplusplus
36526 extern "C"
36527 #endif
36528 /* We use char because int might match the return type of a gcc2
36529 builtin and then its argument prototype would still apply. */
36530 char dld ();
36531 int
36532 main ()
36533 {
36534 dld ();
36535 ;
36536 return 0;
36537 }
36538 _ACEOF
36539 rm -f conftest.$ac_objext conftest$ac_exeext
36540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36541 (eval $ac_link) 2>conftest.er1
36542 ac_status=$?
36543 grep -v '^ *+' conftest.er1 >conftest.err
36544 rm -f conftest.er1
36545 cat conftest.err >&5
36546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36547 (exit $ac_status); } &&
36548 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36550 (eval $ac_try) 2>&5
36551 ac_status=$?
36552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36553 (exit $ac_status); }; } &&
36554 { ac_try='test -s conftest$ac_exeext'
36555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36556 (eval $ac_try) 2>&5
36557 ac_status=$?
36558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36559 (exit $ac_status); }; }; then
36560 ac_cv_lib_shl_load_dld=yes
36561 else
36562 echo "$as_me: failed program was:" >&5
36563 sed 's/^/| /' conftest.$ac_ext >&5
36564
36565 ac_cv_lib_shl_load_dld=no
36566 fi
36567 rm -f conftest.err conftest.$ac_objext \
36568 conftest$ac_exeext conftest.$ac_ext
36569 LIBS=$ac_check_lib_save_LIBS
36570 fi
36571 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
36572 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
36573 if test $ac_cv_lib_shl_load_dld = yes; then
36574
36575 HAVE_SHL_FUNCS=1
36576 DL_LINK=" -ldld$DL_LINK"
36577
36578 fi
36579
36580
36581 fi
36582 done
36583
36584
36585 fi
36586
36587
36588 fi
36589 done
36590
36591
36592 if test "$HAVE_DL_FUNCS" = 1; then
36593
36594 for ac_func in dlerror
36595 do
36596 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36597 echo "$as_me:$LINENO: checking for $ac_func" >&5
36598 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36599 if eval "test \"\${$as_ac_var+set}\" = set"; then
36600 echo $ECHO_N "(cached) $ECHO_C" >&6
36601 else
36602 cat >conftest.$ac_ext <<_ACEOF
36603 /* confdefs.h. */
36604 _ACEOF
36605 cat confdefs.h >>conftest.$ac_ext
36606 cat >>conftest.$ac_ext <<_ACEOF
36607 /* end confdefs.h. */
36608 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36609 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36610 #define $ac_func innocuous_$ac_func
36611
36612 /* System header to define __stub macros and hopefully few prototypes,
36613 which can conflict with char $ac_func (); below.
36614 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36615 <limits.h> exists even on freestanding compilers. */
36616
36617 #ifdef __STDC__
36618 # include <limits.h>
36619 #else
36620 # include <assert.h>
36621 #endif
36622
36623 #undef $ac_func
36624
36625 /* Override any gcc2 internal prototype to avoid an error. */
36626 #ifdef __cplusplus
36627 extern "C"
36628 {
36629 #endif
36630 /* We use char because int might match the return type of a gcc2
36631 builtin and then its argument prototype would still apply. */
36632 char $ac_func ();
36633 /* The GNU C library defines this for functions which it implements
36634 to always fail with ENOSYS. Some functions are actually named
36635 something starting with __ and the normal name is an alias. */
36636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36637 choke me
36638 #else
36639 char (*f) () = $ac_func;
36640 #endif
36641 #ifdef __cplusplus
36642 }
36643 #endif
36644
36645 int
36646 main ()
36647 {
36648 return f != $ac_func;
36649 ;
36650 return 0;
36651 }
36652 _ACEOF
36653 rm -f conftest.$ac_objext conftest$ac_exeext
36654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36655 (eval $ac_link) 2>conftest.er1
36656 ac_status=$?
36657 grep -v '^ *+' conftest.er1 >conftest.err
36658 rm -f conftest.er1
36659 cat conftest.err >&5
36660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36661 (exit $ac_status); } &&
36662 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36664 (eval $ac_try) 2>&5
36665 ac_status=$?
36666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36667 (exit $ac_status); }; } &&
36668 { ac_try='test -s conftest$ac_exeext'
36669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36670 (eval $ac_try) 2>&5
36671 ac_status=$?
36672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36673 (exit $ac_status); }; }; then
36674 eval "$as_ac_var=yes"
36675 else
36676 echo "$as_me: failed program was:" >&5
36677 sed 's/^/| /' conftest.$ac_ext >&5
36678
36679 eval "$as_ac_var=no"
36680 fi
36681 rm -f conftest.err conftest.$ac_objext \
36682 conftest$ac_exeext conftest.$ac_ext
36683 fi
36684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36685 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36686 if test `eval echo '${'$as_ac_var'}'` = yes; then
36687 cat >>confdefs.h <<_ACEOF
36688 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36689 _ACEOF
36690 cat >>confdefs.h <<\_ACEOF
36691 #define HAVE_DLERROR 1
36692 _ACEOF
36693
36694 else
36695
36696 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
36697 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
36698 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
36699 echo $ECHO_N "(cached) $ECHO_C" >&6
36700 else
36701 ac_check_lib_save_LIBS=$LIBS
36702 LIBS="-ldl $LIBS"
36703 cat >conftest.$ac_ext <<_ACEOF
36704 /* confdefs.h. */
36705 _ACEOF
36706 cat confdefs.h >>conftest.$ac_ext
36707 cat >>conftest.$ac_ext <<_ACEOF
36708 /* end confdefs.h. */
36709
36710 /* Override any gcc2 internal prototype to avoid an error. */
36711 #ifdef __cplusplus
36712 extern "C"
36713 #endif
36714 /* We use char because int might match the return type of a gcc2
36715 builtin and then its argument prototype would still apply. */
36716 char dlerror ();
36717 int
36718 main ()
36719 {
36720 dlerror ();
36721 ;
36722 return 0;
36723 }
36724 _ACEOF
36725 rm -f conftest.$ac_objext conftest$ac_exeext
36726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36727 (eval $ac_link) 2>conftest.er1
36728 ac_status=$?
36729 grep -v '^ *+' conftest.er1 >conftest.err
36730 rm -f conftest.er1
36731 cat conftest.err >&5
36732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36733 (exit $ac_status); } &&
36734 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36736 (eval $ac_try) 2>&5
36737 ac_status=$?
36738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36739 (exit $ac_status); }; } &&
36740 { ac_try='test -s conftest$ac_exeext'
36741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36742 (eval $ac_try) 2>&5
36743 ac_status=$?
36744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36745 (exit $ac_status); }; }; then
36746 ac_cv_lib_dl_dlerror=yes
36747 else
36748 echo "$as_me: failed program was:" >&5
36749 sed 's/^/| /' conftest.$ac_ext >&5
36750
36751 ac_cv_lib_dl_dlerror=no
36752 fi
36753 rm -f conftest.err conftest.$ac_objext \
36754 conftest$ac_exeext conftest.$ac_ext
36755 LIBS=$ac_check_lib_save_LIBS
36756 fi
36757 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
36758 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
36759 if test $ac_cv_lib_dl_dlerror = yes; then
36760 cat >>confdefs.h <<\_ACEOF
36761 #define HAVE_DLERROR 1
36762 _ACEOF
36763
36764 fi
36765
36766
36767
36768 fi
36769 done
36770
36771 fi
36772 fi
36773
36774 if test "$HAVE_DL_FUNCS" = 0; then
36775 if test "$HAVE_SHL_FUNCS" = 0; then
36776 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
36777 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
36778 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
36779 wxUSE_DYNAMIC_LOADER=no
36780 wxUSE_DYNLIB_CLASS=no
36781 else
36782 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
36783 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
36784 fi
36785 fi
36786 fi
36787 fi
36788 fi
36789
36790 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
36791 cat >>confdefs.h <<\_ACEOF
36792 #define wxUSE_DYNAMIC_LOADER 1
36793 _ACEOF
36794
36795 fi
36796 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
36797 cat >>confdefs.h <<\_ACEOF
36798 #define wxUSE_DYNLIB_CLASS 1
36799 _ACEOF
36800
36801 fi
36802
36803
36804
36805 if test "$wxUSE_PLUGINS" = "yes" ; then
36806 if test "$wxUSE_SHARED" = "no" ; then
36807 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
36808 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
36809 wxUSE_PLUGINS=no
36810 fi
36811 if test "$wxUSE_MONOLITHIC" = "yes" ; then
36812 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
36813 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
36814 wxUSE_PLUGINS=no
36815 fi
36816 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
36817 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
36818 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
36819 wxUSE_PLUGINS=no
36820 fi
36821 if test "$wxUSE_PLUGINS" = "yes" ; then
36822 cat >>confdefs.h <<\_ACEOF
36823 #define wxUSE_PLUGINS 1
36824 _ACEOF
36825
36826 fi
36827 fi
36828
36829
36830 if test "$wxUSE_STL" = "yes"; then
36831 cat >>confdefs.h <<\_ACEOF
36832 #define wxUSE_STL 1
36833 _ACEOF
36834
36835 fi
36836
36837 if test "$wxUSE_APPLE_IEEE" = "yes"; then
36838 cat >>confdefs.h <<\_ACEOF
36839 #define wxUSE_APPLE_IEEE 1
36840 _ACEOF
36841
36842 fi
36843
36844 if test "$wxUSE_TIMER" = "yes"; then
36845 cat >>confdefs.h <<\_ACEOF
36846 #define wxUSE_TIMER 1
36847 _ACEOF
36848
36849 fi
36850
36851 if test "$USE_UNIX" = "1" ; then
36852
36853 for ac_header in sys/soundcard.h
36854 do
36855 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36856 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36857 echo "$as_me:$LINENO: checking for $ac_header" >&5
36858 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36859 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36860 echo $ECHO_N "(cached) $ECHO_C" >&6
36861 fi
36862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36863 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36864 else
36865 # Is the header compilable?
36866 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36867 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36868 cat >conftest.$ac_ext <<_ACEOF
36869 /* confdefs.h. */
36870 _ACEOF
36871 cat confdefs.h >>conftest.$ac_ext
36872 cat >>conftest.$ac_ext <<_ACEOF
36873 /* end confdefs.h. */
36874 $ac_includes_default
36875 #include <$ac_header>
36876 _ACEOF
36877 rm -f conftest.$ac_objext
36878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36879 (eval $ac_compile) 2>conftest.er1
36880 ac_status=$?
36881 grep -v '^ *+' conftest.er1 >conftest.err
36882 rm -f conftest.er1
36883 cat conftest.err >&5
36884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36885 (exit $ac_status); } &&
36886 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36888 (eval $ac_try) 2>&5
36889 ac_status=$?
36890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36891 (exit $ac_status); }; } &&
36892 { ac_try='test -s conftest.$ac_objext'
36893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36894 (eval $ac_try) 2>&5
36895 ac_status=$?
36896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36897 (exit $ac_status); }; }; then
36898 ac_header_compiler=yes
36899 else
36900 echo "$as_me: failed program was:" >&5
36901 sed 's/^/| /' conftest.$ac_ext >&5
36902
36903 ac_header_compiler=no
36904 fi
36905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36906 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36907 echo "${ECHO_T}$ac_header_compiler" >&6
36908
36909 # Is the header present?
36910 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36911 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36912 cat >conftest.$ac_ext <<_ACEOF
36913 /* confdefs.h. */
36914 _ACEOF
36915 cat confdefs.h >>conftest.$ac_ext
36916 cat >>conftest.$ac_ext <<_ACEOF
36917 /* end confdefs.h. */
36918 #include <$ac_header>
36919 _ACEOF
36920 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36921 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
36922 ac_status=$?
36923 grep -v '^ *+' conftest.er1 >conftest.err
36924 rm -f conftest.er1
36925 cat conftest.err >&5
36926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36927 (exit $ac_status); } >/dev/null; then
36928 if test -s conftest.err; then
36929 ac_cpp_err=$ac_c_preproc_warn_flag
36930 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
36931 else
36932 ac_cpp_err=
36933 fi
36934 else
36935 ac_cpp_err=yes
36936 fi
36937 if test -z "$ac_cpp_err"; then
36938 ac_header_preproc=yes
36939 else
36940 echo "$as_me: failed program was:" >&5
36941 sed 's/^/| /' conftest.$ac_ext >&5
36942
36943 ac_header_preproc=no
36944 fi
36945 rm -f conftest.err conftest.$ac_ext
36946 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36947 echo "${ECHO_T}$ac_header_preproc" >&6
36948
36949 # So? What about this header?
36950 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36951 yes:no: )
36952 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36953 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36954 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36955 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36956 ac_header_preproc=yes
36957 ;;
36958 no:yes:* )
36959 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36960 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36961 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36962 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36963 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36964 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36965 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36966 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36967 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36968 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36969 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36970 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36971 (
36972 cat <<\_ASBOX
36973 ## ----------------------------------------- ##
36974 ## Report this to wx-dev@lists.wxwidgets.org ##
36975 ## ----------------------------------------- ##
36976 _ASBOX
36977 ) |
36978 sed "s/^/$as_me: WARNING: /" >&2
36979 ;;
36980 esac
36981 echo "$as_me:$LINENO: checking for $ac_header" >&5
36982 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36983 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36984 echo $ECHO_N "(cached) $ECHO_C" >&6
36985 else
36986 eval "$as_ac_Header=\$ac_header_preproc"
36987 fi
36988 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36989 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36990
36991 fi
36992 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36993 cat >>confdefs.h <<_ACEOF
36994 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36995 _ACEOF
36996
36997 else
36998 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
36999 fi
37000
37001 done
37002
37003 fi
37004 WITH_PLUGIN_SDL=0
37005 if test "$wxUSE_SOUND" = "yes"; then
37006 if test "$USE_UNIX" = "1" ; then
37007 if test "$wxUSE_LIBSDL" != "no"; then
37008
37009 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
37010 if test "${with_sdl_prefix+set}" = set; then
37011 withval="$with_sdl_prefix"
37012 sdl_prefix="$withval"
37013 else
37014 sdl_prefix=""
37015 fi;
37016
37017 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
37018 if test "${with_sdl_exec_prefix+set}" = set; then
37019 withval="$with_sdl_exec_prefix"
37020 sdl_exec_prefix="$withval"
37021 else
37022 sdl_exec_prefix=""
37023 fi;
37024 # Check whether --enable-sdltest or --disable-sdltest was given.
37025 if test "${enable_sdltest+set}" = set; then
37026 enableval="$enable_sdltest"
37027
37028 else
37029 enable_sdltest=yes
37030 fi;
37031
37032 if test x$sdl_exec_prefix != x ; then
37033 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
37034 if test x${SDL_CONFIG+set} != xset ; then
37035 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
37036 fi
37037 fi
37038 if test x$sdl_prefix != x ; then
37039 sdl_args="$sdl_args --prefix=$sdl_prefix"
37040 if test x${SDL_CONFIG+set} != xset ; then
37041 SDL_CONFIG=$sdl_prefix/bin/sdl-config
37042 fi
37043 fi
37044
37045
37046 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
37047 # Extract the first word of "sdl-config", so it can be a program name with args.
37048 set dummy sdl-config; ac_word=$2
37049 echo "$as_me:$LINENO: checking for $ac_word" >&5
37050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37051 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
37052 echo $ECHO_N "(cached) $ECHO_C" >&6
37053 else
37054 case $SDL_CONFIG in
37055 [\\/]* | ?:[\\/]*)
37056 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
37057 ;;
37058 *)
37059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37060 for as_dir in $PATH
37061 do
37062 IFS=$as_save_IFS
37063 test -z "$as_dir" && as_dir=.
37064 for ac_exec_ext in '' $ac_executable_extensions; do
37065 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37066 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
37067 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37068 break 2
37069 fi
37070 done
37071 done
37072
37073 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
37074 ;;
37075 esac
37076 fi
37077 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
37078
37079 if test -n "$SDL_CONFIG"; then
37080 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
37081 echo "${ECHO_T}$SDL_CONFIG" >&6
37082 else
37083 echo "$as_me:$LINENO: result: no" >&5
37084 echo "${ECHO_T}no" >&6
37085 fi
37086
37087 min_sdl_version=1.2.0
37088 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
37089 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
37090 no_sdl=""
37091 if test "$SDL_CONFIG" = "no" ; then
37092 no_sdl=yes
37093 else
37094 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
37095 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
37096
37097 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
37098 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
37099 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
37100 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
37101 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
37102 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
37103 if test "x$enable_sdltest" = "xyes" ; then
37104 ac_save_CFLAGS="$CFLAGS"
37105 ac_save_CXXFLAGS="$CXXFLAGS"
37106 ac_save_LIBS="$LIBS"
37107 CFLAGS="$CFLAGS $SDL_CFLAGS"
37108 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
37109 LIBS="$LIBS $SDL_LIBS"
37110 rm -f conf.sdltest
37111 if test "$cross_compiling" = yes; then
37112 echo $ac_n "cross compiling; assumed OK... $ac_c"
37113 else
37114 cat >conftest.$ac_ext <<_ACEOF
37115 /* confdefs.h. */
37116 _ACEOF
37117 cat confdefs.h >>conftest.$ac_ext
37118 cat >>conftest.$ac_ext <<_ACEOF
37119 /* end confdefs.h. */
37120
37121 #include <stdio.h>
37122 #include <stdlib.h>
37123 #include <string.h>
37124 #include "SDL.h"
37125
37126 char*
37127 my_strdup (char *str)
37128 {
37129 char *new_str;
37130
37131 if (str)
37132 {
37133 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
37134 strcpy (new_str, str);
37135 }
37136 else
37137 new_str = NULL;
37138
37139 return new_str;
37140 }
37141
37142 int main (int argc, char *argv[])
37143 {
37144 int major, minor, micro;
37145 char *tmp_version;
37146
37147 /* This hangs on some systems (?)
37148 system ("touch conf.sdltest");
37149 */
37150 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
37151
37152 /* HP/UX 9 (%@#!) writes to sscanf strings */
37153 tmp_version = my_strdup("$min_sdl_version");
37154 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
37155 printf("%s, bad version string\n", "$min_sdl_version");
37156 exit(1);
37157 }
37158
37159 if (($sdl_major_version > major) ||
37160 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
37161 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
37162 {
37163 return 0;
37164 }
37165 else
37166 {
37167 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
37168 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
37169 printf("*** best to upgrade to the required version.\n");
37170 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
37171 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
37172 printf("*** config.cache before re-running configure\n");
37173 return 1;
37174 }
37175 }
37176
37177
37178 _ACEOF
37179 rm -f conftest$ac_exeext
37180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37181 (eval $ac_link) 2>&5
37182 ac_status=$?
37183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37184 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
37185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37186 (eval $ac_try) 2>&5
37187 ac_status=$?
37188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37189 (exit $ac_status); }; }; then
37190 :
37191 else
37192 echo "$as_me: program exited with status $ac_status" >&5
37193 echo "$as_me: failed program was:" >&5
37194 sed 's/^/| /' conftest.$ac_ext >&5
37195
37196 ( exit $ac_status )
37197 no_sdl=yes
37198 fi
37199 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
37200 fi
37201 CFLAGS="$ac_save_CFLAGS"
37202 CXXFLAGS="$ac_save_CXXFLAGS"
37203 LIBS="$ac_save_LIBS"
37204 fi
37205 fi
37206 if test "x$no_sdl" = x ; then
37207 echo "$as_me:$LINENO: result: yes" >&5
37208 echo "${ECHO_T}yes" >&6
37209
37210 EXTRALIBS_SDL="$SDL_LIBS"
37211 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
37212 cat >>confdefs.h <<\_ACEOF
37213 #define wxUSE_LIBSDL 1
37214 _ACEOF
37215
37216
37217 else
37218 echo "$as_me:$LINENO: result: no" >&5
37219 echo "${ECHO_T}no" >&6
37220 if test "$SDL_CONFIG" = "no" ; then
37221 echo "*** The sdl-config script installed by SDL could not be found"
37222 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
37223 echo "*** your path, or set the SDL_CONFIG environment variable to the"
37224 echo "*** full path to sdl-config."
37225 else
37226 if test -f conf.sdltest ; then
37227 :
37228 else
37229 echo "*** Could not run SDL test program, checking why..."
37230 CFLAGS="$CFLAGS $SDL_CFLAGS"
37231 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
37232 LIBS="$LIBS $SDL_LIBS"
37233 cat >conftest.$ac_ext <<_ACEOF
37234 /* confdefs.h. */
37235 _ACEOF
37236 cat confdefs.h >>conftest.$ac_ext
37237 cat >>conftest.$ac_ext <<_ACEOF
37238 /* end confdefs.h. */
37239
37240 #include <stdio.h>
37241 #include "SDL.h"
37242
37243 int main(int argc, char *argv[])
37244 { return 0; }
37245 #undef main
37246 #define main K_and_R_C_main
37247
37248 int
37249 main ()
37250 {
37251 return 0;
37252 ;
37253 return 0;
37254 }
37255 _ACEOF
37256 rm -f conftest.$ac_objext conftest$ac_exeext
37257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37258 (eval $ac_link) 2>conftest.er1
37259 ac_status=$?
37260 grep -v '^ *+' conftest.er1 >conftest.err
37261 rm -f conftest.er1
37262 cat conftest.err >&5
37263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37264 (exit $ac_status); } &&
37265 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37267 (eval $ac_try) 2>&5
37268 ac_status=$?
37269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37270 (exit $ac_status); }; } &&
37271 { ac_try='test -s conftest$ac_exeext'
37272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37273 (eval $ac_try) 2>&5
37274 ac_status=$?
37275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37276 (exit $ac_status); }; }; then
37277 echo "*** The test program compiled, but did not run. This usually means"
37278 echo "*** that the run-time linker is not finding SDL or finding the wrong"
37279 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
37280 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
37281 echo "*** to the installed location Also, make sure you have run ldconfig if that"
37282 echo "*** is required on your system"
37283 echo "***"
37284 echo "*** If you have an old version installed, it is best to remove it, although"
37285 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
37286 else
37287 echo "$as_me: failed program was:" >&5
37288 sed 's/^/| /' conftest.$ac_ext >&5
37289
37290 echo "*** The test program failed to compile or link. See the file config.log for the"
37291 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
37292 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
37293 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
37294 fi
37295 rm -f conftest.err conftest.$ac_objext \
37296 conftest$ac_exeext conftest.$ac_ext
37297 CFLAGS="$ac_save_CFLAGS"
37298 CXXFLAGS="$ac_save_CXXFLAGS"
37299 LIBS="$ac_save_LIBS"
37300 fi
37301 fi
37302 SDL_CFLAGS=""
37303 SDL_LIBS=""
37304 wxUSE_LIBSDL="no"
37305 fi
37306
37307
37308 rm -f conf.sdltest
37309
37310 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
37311 WITH_PLUGIN_SDL=1
37312 fi
37313 fi
37314 fi
37315
37316 cat >>confdefs.h <<\_ACEOF
37317 #define wxUSE_SOUND 1
37318 _ACEOF
37319
37320 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
37321 fi
37322
37323 if test "$WXGTK20" = 1; then
37324 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
37325 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
37326
37327
37328 succeeded=no
37329
37330 if test -z "$PKG_CONFIG"; then
37331 # Extract the first word of "pkg-config", so it can be a program name with args.
37332 set dummy pkg-config; ac_word=$2
37333 echo "$as_me:$LINENO: checking for $ac_word" >&5
37334 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37335 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
37336 echo $ECHO_N "(cached) $ECHO_C" >&6
37337 else
37338 case $PKG_CONFIG in
37339 [\\/]* | ?:[\\/]*)
37340 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
37341 ;;
37342 *)
37343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37344 for as_dir in $PATH
37345 do
37346 IFS=$as_save_IFS
37347 test -z "$as_dir" && as_dir=.
37348 for ac_exec_ext in '' $ac_executable_extensions; do
37349 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37350 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
37351 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37352 break 2
37353 fi
37354 done
37355 done
37356
37357 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
37358 ;;
37359 esac
37360 fi
37361 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
37362
37363 if test -n "$PKG_CONFIG"; then
37364 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
37365 echo "${ECHO_T}$PKG_CONFIG" >&6
37366 else
37367 echo "$as_me:$LINENO: result: no" >&5
37368 echo "${ECHO_T}no" >&6
37369 fi
37370
37371 fi
37372
37373 if test "$PKG_CONFIG" = "no" ; then
37374 echo "*** The pkg-config script could not be found. Make sure it is"
37375 echo "*** in your path, or set the PKG_CONFIG environment variable"
37376 echo "*** to the full path to pkg-config."
37377 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
37378 else
37379 PKG_CONFIG_MIN_VERSION=0.9.0
37380 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
37381 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
37382 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
37383
37384 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
37385 echo "$as_me:$LINENO: result: yes" >&5
37386 echo "${ECHO_T}yes" >&6
37387 succeeded=yes
37388
37389 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
37390 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
37391 LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
37392 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
37393 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
37394
37395 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
37396 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
37397 LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
37398 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
37399 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
37400 else
37401 LIBGNOMEPRINTUI_CFLAGS=""
37402 LIBGNOMEPRINTUI_LIBS=""
37403 ## If we have a custom action on failure, don't print errors, but
37404 ## do set a variable so people can do so.
37405 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
37406
37407 fi
37408
37409
37410
37411 else
37412 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
37413 echo "*** See http://www.freedesktop.org/software/pkgconfig"
37414 fi
37415 fi
37416
37417 if test $succeeded = yes; then
37418
37419 CXXFLAGS="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
37420 cat >>confdefs.h <<\_ACEOF
37421 #define wxUSE_LIBGNOMEPRINT 1
37422 _ACEOF
37423
37424
37425 else
37426
37427 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
37428 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
37429 wxUSE_LIBGNOMEPRINT="no"
37430
37431
37432 fi
37433
37434 fi
37435 fi
37436 fi
37437
37438
37439 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
37440 cat >>confdefs.h <<\_ACEOF
37441 #define wxUSE_CMDLINE_PARSER 1
37442 _ACEOF
37443
37444 fi
37445
37446 if test "$wxUSE_STOPWATCH" = "yes"; then
37447 cat >>confdefs.h <<\_ACEOF
37448 #define wxUSE_STOPWATCH 1
37449 _ACEOF
37450
37451 fi
37452
37453 if test "$wxUSE_DATETIME" = "yes"; then
37454 cat >>confdefs.h <<\_ACEOF
37455 #define wxUSE_DATETIME 1
37456 _ACEOF
37457
37458 fi
37459
37460 if test "$wxUSE_FILE" = "yes"; then
37461 cat >>confdefs.h <<\_ACEOF
37462 #define wxUSE_FILE 1
37463 _ACEOF
37464
37465 fi
37466
37467 if test "$wxUSE_FFILE" = "yes"; then
37468 cat >>confdefs.h <<\_ACEOF
37469 #define wxUSE_FFILE 1
37470 _ACEOF
37471
37472 fi
37473
37474 if test "$wxUSE_FILESYSTEM" = "yes"; then
37475 cat >>confdefs.h <<\_ACEOF
37476 #define wxUSE_FILESYSTEM 1
37477 _ACEOF
37478
37479 fi
37480
37481 if test "$wxUSE_FS_ZIP" = "yes"; then
37482 cat >>confdefs.h <<\_ACEOF
37483 #define wxUSE_FS_ZIP 1
37484 _ACEOF
37485
37486 fi
37487
37488 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
37489 cat >>confdefs.h <<\_ACEOF
37490 #define wxUSE_ARCHIVE_STREAMS 1
37491 _ACEOF
37492
37493 fi
37494
37495 if test "$wxUSE_ZIPSTREAM" = "yes"; then
37496 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
37497 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
37498 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
37499 elif test "$wxUSE_ZLIB" = "no"; then
37500 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
37501 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
37502 else
37503 cat >>confdefs.h <<\_ACEOF
37504 #define wxUSE_ZIPSTREAM 1
37505 _ACEOF
37506
37507 fi
37508 fi
37509
37510 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37511 if test "$USE_UNIX" != 1; then
37512 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
37513 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
37514 wxUSE_ON_FATAL_EXCEPTION=no
37515 else
37516 cat >>confdefs.h <<\_ACEOF
37517 #define wxUSE_ON_FATAL_EXCEPTION 1
37518 _ACEOF
37519
37520 fi
37521 fi
37522
37523 if test "$wxUSE_STACKWALKER" = "yes"; then
37524 cat >>confdefs.h <<\_ACEOF
37525 #define wxUSE_STACKWALKER 1
37526 _ACEOF
37527
37528 fi
37529
37530 if test "$wxUSE_DEBUGREPORT" = "yes"; then
37531 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
37532 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
37533 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
37534 wxUSE_DEBUGREPORT=no
37535 else
37536 cat >>confdefs.h <<\_ACEOF
37537 #define wxUSE_DEBUGREPORT 1
37538 _ACEOF
37539
37540 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37541 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
37542 fi
37543 fi
37544 fi
37545
37546 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37547 cat >>confdefs.h <<\_ACEOF
37548 #define wxUSE_SNGLINST_CHECKER 1
37549 _ACEOF
37550
37551 fi
37552
37553 if test "$wxUSE_BUSYINFO" = "yes"; then
37554 cat >>confdefs.h <<\_ACEOF
37555 #define wxUSE_BUSYINFO 1
37556 _ACEOF
37557
37558 fi
37559
37560 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
37561 cat >>confdefs.h <<\_ACEOF
37562 #define wxUSE_STD_IOSTREAM 1
37563 _ACEOF
37564
37565 fi
37566
37567 if test "$wxUSE_STD_STRING" = "yes"; then
37568 cat >>confdefs.h <<\_ACEOF
37569 #define wxUSE_STD_STRING 1
37570 _ACEOF
37571
37572 fi
37573
37574 if test "$wxUSE_STDPATHS" = "yes"; then
37575 cat >>confdefs.h <<\_ACEOF
37576 #define wxUSE_STDPATHS 1
37577 _ACEOF
37578
37579 fi
37580
37581 if test "$wxUSE_TEXTBUFFER" = "yes"; then
37582 cat >>confdefs.h <<\_ACEOF
37583 #define wxUSE_TEXTBUFFER 1
37584 _ACEOF
37585
37586 fi
37587
37588 if test "$wxUSE_TEXTFILE" = "yes"; then
37589 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
37590 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
37591 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
37592 else
37593 cat >>confdefs.h <<\_ACEOF
37594 #define wxUSE_TEXTFILE 1
37595 _ACEOF
37596
37597 fi
37598 fi
37599
37600 if test "$wxUSE_CONFIG" = "yes" ; then
37601 if test "$wxUSE_TEXTFILE" != "yes"; then
37602 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
37603 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
37604 else
37605 cat >>confdefs.h <<\_ACEOF
37606 #define wxUSE_CONFIG 1
37607 _ACEOF
37608
37609 cat >>confdefs.h <<\_ACEOF
37610 #define wxUSE_CONFIG_NATIVE 1
37611 _ACEOF
37612
37613 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
37614 fi
37615 fi
37616
37617 if test "$wxUSE_INTL" = "yes" ; then
37618 if test "$wxUSE_FILE" != "yes"; then
37619 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
37620 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
37621 else
37622 cat >>confdefs.h <<\_ACEOF
37623 #define wxUSE_INTL 1
37624 _ACEOF
37625
37626 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
37627 GUIDIST="$GUIDIST INTL_DIST"
37628 fi
37629 fi
37630
37631 if test "$wxUSE_LOG" = "yes"; then
37632 cat >>confdefs.h <<\_ACEOF
37633 #define wxUSE_LOG 1
37634 _ACEOF
37635
37636
37637 if test "$wxUSE_LOGGUI" = "yes"; then
37638 cat >>confdefs.h <<\_ACEOF
37639 #define wxUSE_LOGGUI 1
37640 _ACEOF
37641
37642 fi
37643
37644 if test "$wxUSE_LOGWINDOW" = "yes"; then
37645 cat >>confdefs.h <<\_ACEOF
37646 #define wxUSE_LOGWINDOW 1
37647 _ACEOF
37648
37649 fi
37650
37651 if test "$wxUSE_LOGDIALOG" = "yes"; then
37652 cat >>confdefs.h <<\_ACEOF
37653 #define wxUSE_LOG_DIALOG 1
37654 _ACEOF
37655
37656 fi
37657
37658 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
37659 fi
37660
37661 if test "$wxUSE_LONGLONG" = "yes"; then
37662 cat >>confdefs.h <<\_ACEOF
37663 #define wxUSE_LONGLONG 1
37664 _ACEOF
37665
37666 fi
37667
37668 if test "$wxUSE_GEOMETRY" = "yes"; then
37669 cat >>confdefs.h <<\_ACEOF
37670 #define wxUSE_GEOMETRY 1
37671 _ACEOF
37672
37673 fi
37674
37675 if test "$wxUSE_STREAMS" = "yes" ; then
37676 cat >>confdefs.h <<\_ACEOF
37677 #define wxUSE_STREAMS 1
37678 _ACEOF
37679
37680 fi
37681
37682
37683 if test "$wxUSE_DATETIME" = "yes"; then
37684
37685 for ac_func in strptime
37686 do
37687 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37688 echo "$as_me:$LINENO: checking for $ac_func" >&5
37689 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37690 if eval "test \"\${$as_ac_var+set}\" = set"; then
37691 echo $ECHO_N "(cached) $ECHO_C" >&6
37692 else
37693 cat >conftest.$ac_ext <<_ACEOF
37694 /* confdefs.h. */
37695 _ACEOF
37696 cat confdefs.h >>conftest.$ac_ext
37697 cat >>conftest.$ac_ext <<_ACEOF
37698 /* end confdefs.h. */
37699 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37700 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37701 #define $ac_func innocuous_$ac_func
37702
37703 /* System header to define __stub macros and hopefully few prototypes,
37704 which can conflict with char $ac_func (); below.
37705 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37706 <limits.h> exists even on freestanding compilers. */
37707
37708 #ifdef __STDC__
37709 # include <limits.h>
37710 #else
37711 # include <assert.h>
37712 #endif
37713
37714 #undef $ac_func
37715
37716 /* Override any gcc2 internal prototype to avoid an error. */
37717 #ifdef __cplusplus
37718 extern "C"
37719 {
37720 #endif
37721 /* We use char because int might match the return type of a gcc2
37722 builtin and then its argument prototype would still apply. */
37723 char $ac_func ();
37724 /* The GNU C library defines this for functions which it implements
37725 to always fail with ENOSYS. Some functions are actually named
37726 something starting with __ and the normal name is an alias. */
37727 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37728 choke me
37729 #else
37730 char (*f) () = $ac_func;
37731 #endif
37732 #ifdef __cplusplus
37733 }
37734 #endif
37735
37736 int
37737 main ()
37738 {
37739 return f != $ac_func;
37740 ;
37741 return 0;
37742 }
37743 _ACEOF
37744 rm -f conftest.$ac_objext conftest$ac_exeext
37745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37746 (eval $ac_link) 2>conftest.er1
37747 ac_status=$?
37748 grep -v '^ *+' conftest.er1 >conftest.err
37749 rm -f conftest.er1
37750 cat conftest.err >&5
37751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37752 (exit $ac_status); } &&
37753 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37755 (eval $ac_try) 2>&5
37756 ac_status=$?
37757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37758 (exit $ac_status); }; } &&
37759 { ac_try='test -s conftest$ac_exeext'
37760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37761 (eval $ac_try) 2>&5
37762 ac_status=$?
37763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37764 (exit $ac_status); }; }; then
37765 eval "$as_ac_var=yes"
37766 else
37767 echo "$as_me: failed program was:" >&5
37768 sed 's/^/| /' conftest.$ac_ext >&5
37769
37770 eval "$as_ac_var=no"
37771 fi
37772 rm -f conftest.err conftest.$ac_objext \
37773 conftest$ac_exeext conftest.$ac_ext
37774 fi
37775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37776 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37777 if test `eval echo '${'$as_ac_var'}'` = yes; then
37778 cat >>confdefs.h <<_ACEOF
37779 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37780 _ACEOF
37781
37782 fi
37783 done
37784
37785
37786 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
37787 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
37788 if test "${wx_cv_var_timezone+set}" = set; then
37789 echo $ECHO_N "(cached) $ECHO_C" >&6
37790 else
37791
37792 cat >conftest.$ac_ext <<_ACEOF
37793 /* confdefs.h. */
37794 _ACEOF
37795 cat confdefs.h >>conftest.$ac_ext
37796 cat >>conftest.$ac_ext <<_ACEOF
37797 /* end confdefs.h. */
37798
37799 #include <time.h>
37800
37801 int
37802 main ()
37803 {
37804
37805 int tz;
37806 tz = timezone;
37807
37808 ;
37809 return 0;
37810 }
37811 _ACEOF
37812 rm -f conftest.$ac_objext
37813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37814 (eval $ac_compile) 2>conftest.er1
37815 ac_status=$?
37816 grep -v '^ *+' conftest.er1 >conftest.err
37817 rm -f conftest.er1
37818 cat conftest.err >&5
37819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37820 (exit $ac_status); } &&
37821 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37823 (eval $ac_try) 2>&5
37824 ac_status=$?
37825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37826 (exit $ac_status); }; } &&
37827 { ac_try='test -s conftest.$ac_objext'
37828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37829 (eval $ac_try) 2>&5
37830 ac_status=$?
37831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37832 (exit $ac_status); }; }; then
37833
37834 wx_cv_var_timezone=timezone
37835
37836 else
37837 echo "$as_me: failed program was:" >&5
37838 sed 's/^/| /' conftest.$ac_ext >&5
37839
37840
37841 cat >conftest.$ac_ext <<_ACEOF
37842 /* confdefs.h. */
37843 _ACEOF
37844 cat confdefs.h >>conftest.$ac_ext
37845 cat >>conftest.$ac_ext <<_ACEOF
37846 /* end confdefs.h. */
37847
37848 #include <time.h>
37849
37850 int
37851 main ()
37852 {
37853
37854 int tz;
37855 tz = _timezone;
37856
37857 ;
37858 return 0;
37859 }
37860 _ACEOF
37861 rm -f conftest.$ac_objext
37862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37863 (eval $ac_compile) 2>conftest.er1
37864 ac_status=$?
37865 grep -v '^ *+' conftest.er1 >conftest.err
37866 rm -f conftest.er1
37867 cat conftest.err >&5
37868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37869 (exit $ac_status); } &&
37870 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37872 (eval $ac_try) 2>&5
37873 ac_status=$?
37874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37875 (exit $ac_status); }; } &&
37876 { ac_try='test -s conftest.$ac_objext'
37877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37878 (eval $ac_try) 2>&5
37879 ac_status=$?
37880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37881 (exit $ac_status); }; }; then
37882
37883 wx_cv_var_timezone=_timezone
37884
37885 else
37886 echo "$as_me: failed program was:" >&5
37887 sed 's/^/| /' conftest.$ac_ext >&5
37888
37889
37890 cat >conftest.$ac_ext <<_ACEOF
37891 /* confdefs.h. */
37892 _ACEOF
37893 cat confdefs.h >>conftest.$ac_ext
37894 cat >>conftest.$ac_ext <<_ACEOF
37895 /* end confdefs.h. */
37896
37897 #include <time.h>
37898
37899 int
37900 main ()
37901 {
37902
37903 int tz;
37904 tz = __timezone;
37905
37906 ;
37907 return 0;
37908 }
37909 _ACEOF
37910 rm -f conftest.$ac_objext
37911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37912 (eval $ac_compile) 2>conftest.er1
37913 ac_status=$?
37914 grep -v '^ *+' conftest.er1 >conftest.err
37915 rm -f conftest.er1
37916 cat conftest.err >&5
37917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37918 (exit $ac_status); } &&
37919 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37921 (eval $ac_try) 2>&5
37922 ac_status=$?
37923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37924 (exit $ac_status); }; } &&
37925 { ac_try='test -s conftest.$ac_objext'
37926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37927 (eval $ac_try) 2>&5
37928 ac_status=$?
37929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37930 (exit $ac_status); }; }; then
37931
37932 wx_cv_var_timezone=__timezone
37933
37934 else
37935 echo "$as_me: failed program was:" >&5
37936 sed 's/^/| /' conftest.$ac_ext >&5
37937
37938
37939 if test "$USE_DOS" = 0 ; then
37940 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
37941 echo "$as_me: WARNING: no timezone variable" >&2;}
37942 fi
37943
37944
37945 fi
37946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37947
37948
37949 fi
37950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37951
37952
37953 fi
37954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37955
37956
37957 fi
37958 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
37959 echo "${ECHO_T}$wx_cv_var_timezone" >&6
37960
37961 if test "x$wx_cv_var_timezone" != x ; then
37962 cat >>confdefs.h <<_ACEOF
37963 #define WX_TIMEZONE $wx_cv_var_timezone
37964 _ACEOF
37965
37966 fi
37967
37968
37969 for ac_func in localtime
37970 do
37971 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37972 echo "$as_me:$LINENO: checking for $ac_func" >&5
37973 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37974 if eval "test \"\${$as_ac_var+set}\" = set"; then
37975 echo $ECHO_N "(cached) $ECHO_C" >&6
37976 else
37977 cat >conftest.$ac_ext <<_ACEOF
37978 /* confdefs.h. */
37979 _ACEOF
37980 cat confdefs.h >>conftest.$ac_ext
37981 cat >>conftest.$ac_ext <<_ACEOF
37982 /* end confdefs.h. */
37983 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37984 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37985 #define $ac_func innocuous_$ac_func
37986
37987 /* System header to define __stub macros and hopefully few prototypes,
37988 which can conflict with char $ac_func (); below.
37989 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37990 <limits.h> exists even on freestanding compilers. */
37991
37992 #ifdef __STDC__
37993 # include <limits.h>
37994 #else
37995 # include <assert.h>
37996 #endif
37997
37998 #undef $ac_func
37999
38000 /* Override any gcc2 internal prototype to avoid an error. */
38001 #ifdef __cplusplus
38002 extern "C"
38003 {
38004 #endif
38005 /* We use char because int might match the return type of a gcc2
38006 builtin and then its argument prototype would still apply. */
38007 char $ac_func ();
38008 /* The GNU C library defines this for functions which it implements
38009 to always fail with ENOSYS. Some functions are actually named
38010 something starting with __ and the normal name is an alias. */
38011 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38012 choke me
38013 #else
38014 char (*f) () = $ac_func;
38015 #endif
38016 #ifdef __cplusplus
38017 }
38018 #endif
38019
38020 int
38021 main ()
38022 {
38023 return f != $ac_func;
38024 ;
38025 return 0;
38026 }
38027 _ACEOF
38028 rm -f conftest.$ac_objext conftest$ac_exeext
38029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38030 (eval $ac_link) 2>conftest.er1
38031 ac_status=$?
38032 grep -v '^ *+' conftest.er1 >conftest.err
38033 rm -f conftest.er1
38034 cat conftest.err >&5
38035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38036 (exit $ac_status); } &&
38037 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38039 (eval $ac_try) 2>&5
38040 ac_status=$?
38041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38042 (exit $ac_status); }; } &&
38043 { ac_try='test -s conftest$ac_exeext'
38044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38045 (eval $ac_try) 2>&5
38046 ac_status=$?
38047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38048 (exit $ac_status); }; }; then
38049 eval "$as_ac_var=yes"
38050 else
38051 echo "$as_me: failed program was:" >&5
38052 sed 's/^/| /' conftest.$ac_ext >&5
38053
38054 eval "$as_ac_var=no"
38055 fi
38056 rm -f conftest.err conftest.$ac_objext \
38057 conftest$ac_exeext conftest.$ac_ext
38058 fi
38059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38060 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38061 if test `eval echo '${'$as_ac_var'}'` = yes; then
38062 cat >>confdefs.h <<_ACEOF
38063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38064 _ACEOF
38065
38066 fi
38067 done
38068
38069
38070 if test "$ac_cv_func_localtime" = "yes"; then
38071 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
38072 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
38073 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
38074 echo $ECHO_N "(cached) $ECHO_C" >&6
38075 else
38076
38077 cat >conftest.$ac_ext <<_ACEOF
38078 /* confdefs.h. */
38079 _ACEOF
38080 cat confdefs.h >>conftest.$ac_ext
38081 cat >>conftest.$ac_ext <<_ACEOF
38082 /* end confdefs.h. */
38083
38084 #include <time.h>
38085
38086 int
38087 main ()
38088 {
38089
38090 struct tm tm;
38091 tm.tm_gmtoff++;
38092
38093 ;
38094 return 0;
38095 }
38096 _ACEOF
38097 rm -f conftest.$ac_objext
38098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38099 (eval $ac_compile) 2>conftest.er1
38100 ac_status=$?
38101 grep -v '^ *+' conftest.er1 >conftest.err
38102 rm -f conftest.er1
38103 cat conftest.err >&5
38104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38105 (exit $ac_status); } &&
38106 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38108 (eval $ac_try) 2>&5
38109 ac_status=$?
38110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38111 (exit $ac_status); }; } &&
38112 { ac_try='test -s conftest.$ac_objext'
38113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38114 (eval $ac_try) 2>&5
38115 ac_status=$?
38116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38117 (exit $ac_status); }; }; then
38118
38119 wx_cv_struct_tm_has_gmtoff=yes
38120
38121 else
38122 echo "$as_me: failed program was:" >&5
38123 sed 's/^/| /' conftest.$ac_ext >&5
38124
38125 wx_cv_struct_tm_has_gmtoff=no
38126
38127 fi
38128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38129
38130 fi
38131 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
38132 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
38133 fi
38134
38135 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
38136 cat >>confdefs.h <<\_ACEOF
38137 #define WX_GMTOFF_IN_TM 1
38138 _ACEOF
38139
38140 fi
38141
38142
38143
38144 for ac_func in gettimeofday ftime
38145 do
38146 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38147 echo "$as_me:$LINENO: checking for $ac_func" >&5
38148 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38149 if eval "test \"\${$as_ac_var+set}\" = set"; then
38150 echo $ECHO_N "(cached) $ECHO_C" >&6
38151 else
38152 cat >conftest.$ac_ext <<_ACEOF
38153 /* confdefs.h. */
38154 _ACEOF
38155 cat confdefs.h >>conftest.$ac_ext
38156 cat >>conftest.$ac_ext <<_ACEOF
38157 /* end confdefs.h. */
38158 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38159 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38160 #define $ac_func innocuous_$ac_func
38161
38162 /* System header to define __stub macros and hopefully few prototypes,
38163 which can conflict with char $ac_func (); below.
38164 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38165 <limits.h> exists even on freestanding compilers. */
38166
38167 #ifdef __STDC__
38168 # include <limits.h>
38169 #else
38170 # include <assert.h>
38171 #endif
38172
38173 #undef $ac_func
38174
38175 /* Override any gcc2 internal prototype to avoid an error. */
38176 #ifdef __cplusplus
38177 extern "C"
38178 {
38179 #endif
38180 /* We use char because int might match the return type of a gcc2
38181 builtin and then its argument prototype would still apply. */
38182 char $ac_func ();
38183 /* The GNU C library defines this for functions which it implements
38184 to always fail with ENOSYS. Some functions are actually named
38185 something starting with __ and the normal name is an alias. */
38186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38187 choke me
38188 #else
38189 char (*f) () = $ac_func;
38190 #endif
38191 #ifdef __cplusplus
38192 }
38193 #endif
38194
38195 int
38196 main ()
38197 {
38198 return f != $ac_func;
38199 ;
38200 return 0;
38201 }
38202 _ACEOF
38203 rm -f conftest.$ac_objext conftest$ac_exeext
38204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38205 (eval $ac_link) 2>conftest.er1
38206 ac_status=$?
38207 grep -v '^ *+' conftest.er1 >conftest.err
38208 rm -f conftest.er1
38209 cat conftest.err >&5
38210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38211 (exit $ac_status); } &&
38212 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38214 (eval $ac_try) 2>&5
38215 ac_status=$?
38216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38217 (exit $ac_status); }; } &&
38218 { ac_try='test -s conftest$ac_exeext'
38219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38220 (eval $ac_try) 2>&5
38221 ac_status=$?
38222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38223 (exit $ac_status); }; }; then
38224 eval "$as_ac_var=yes"
38225 else
38226 echo "$as_me: failed program was:" >&5
38227 sed 's/^/| /' conftest.$ac_ext >&5
38228
38229 eval "$as_ac_var=no"
38230 fi
38231 rm -f conftest.err conftest.$ac_objext \
38232 conftest$ac_exeext conftest.$ac_ext
38233 fi
38234 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38235 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38236 if test `eval echo '${'$as_ac_var'}'` = yes; then
38237 cat >>confdefs.h <<_ACEOF
38238 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38239 _ACEOF
38240 break
38241 fi
38242 done
38243
38244
38245 if test "$ac_cv_func_gettimeofday" = "yes"; then
38246 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
38247 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
38248 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
38249 echo $ECHO_N "(cached) $ECHO_C" >&6
38250 else
38251
38252
38253
38254 ac_ext=cc
38255 ac_cpp='$CXXCPP $CPPFLAGS'
38256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38259
38260
38261 cat >conftest.$ac_ext <<_ACEOF
38262 /* confdefs.h. */
38263 _ACEOF
38264 cat confdefs.h >>conftest.$ac_ext
38265 cat >>conftest.$ac_ext <<_ACEOF
38266 /* end confdefs.h. */
38267
38268 #include <sys/time.h>
38269 #include <unistd.h>
38270
38271 int
38272 main ()
38273 {
38274
38275 struct timeval tv;
38276 gettimeofday(&tv, NULL);
38277
38278 ;
38279 return 0;
38280 }
38281 _ACEOF
38282 rm -f conftest.$ac_objext
38283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38284 (eval $ac_compile) 2>conftest.er1
38285 ac_status=$?
38286 grep -v '^ *+' conftest.er1 >conftest.err
38287 rm -f conftest.er1
38288 cat conftest.err >&5
38289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38290 (exit $ac_status); } &&
38291 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38293 (eval $ac_try) 2>&5
38294 ac_status=$?
38295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38296 (exit $ac_status); }; } &&
38297 { ac_try='test -s conftest.$ac_objext'
38298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38299 (eval $ac_try) 2>&5
38300 ac_status=$?
38301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38302 (exit $ac_status); }; }; then
38303 wx_cv_func_gettimeofday_has_2_args=yes
38304 else
38305 echo "$as_me: failed program was:" >&5
38306 sed 's/^/| /' conftest.$ac_ext >&5
38307
38308 cat >conftest.$ac_ext <<_ACEOF
38309 /* confdefs.h. */
38310 _ACEOF
38311 cat confdefs.h >>conftest.$ac_ext
38312 cat >>conftest.$ac_ext <<_ACEOF
38313 /* end confdefs.h. */
38314
38315 #include <sys/time.h>
38316 #include <unistd.h>
38317
38318 int
38319 main ()
38320 {
38321
38322 struct timeval tv;
38323 gettimeofday(&tv);
38324
38325 ;
38326 return 0;
38327 }
38328 _ACEOF
38329 rm -f conftest.$ac_objext
38330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38331 (eval $ac_compile) 2>conftest.er1
38332 ac_status=$?
38333 grep -v '^ *+' conftest.er1 >conftest.err
38334 rm -f conftest.er1
38335 cat conftest.err >&5
38336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38337 (exit $ac_status); } &&
38338 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38340 (eval $ac_try) 2>&5
38341 ac_status=$?
38342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38343 (exit $ac_status); }; } &&
38344 { ac_try='test -s conftest.$ac_objext'
38345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38346 (eval $ac_try) 2>&5
38347 ac_status=$?
38348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38349 (exit $ac_status); }; }; then
38350 wx_cv_func_gettimeofday_has_2_args=no
38351 else
38352 echo "$as_me: failed program was:" >&5
38353 sed 's/^/| /' conftest.$ac_ext >&5
38354
38355
38356 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
38357 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
38358 wx_cv_func_gettimeofday_has_2_args=unknown
38359
38360
38361 fi
38362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38363
38364 fi
38365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38366 ac_ext=c
38367 ac_cpp='$CPP $CPPFLAGS'
38368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38371
38372
38373 fi
38374 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
38375 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
38376
38377 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
38378 cat >>confdefs.h <<\_ACEOF
38379 #define WX_GETTIMEOFDAY_NO_TZ 1
38380 _ACEOF
38381
38382 fi
38383 fi
38384
38385 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
38386 fi
38387
38388
38389 if test "$wxUSE_SOCKETS" = "yes"; then
38390 if test "$wxUSE_MGL" = "1"; then
38391 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
38392 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
38393 wxUSE_SOCKETS="no"
38394 fi
38395 fi
38396
38397 if test "$wxUSE_SOCKETS" = "yes"; then
38398 if test "$TOOLKIT" != "MSW"; then
38399 echo "$as_me:$LINENO: checking for socket" >&5
38400 echo $ECHO_N "checking for socket... $ECHO_C" >&6
38401 if test "${ac_cv_func_socket+set}" = set; then
38402 echo $ECHO_N "(cached) $ECHO_C" >&6
38403 else
38404 cat >conftest.$ac_ext <<_ACEOF
38405 /* confdefs.h. */
38406 _ACEOF
38407 cat confdefs.h >>conftest.$ac_ext
38408 cat >>conftest.$ac_ext <<_ACEOF
38409 /* end confdefs.h. */
38410 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
38411 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38412 #define socket innocuous_socket
38413
38414 /* System header to define __stub macros and hopefully few prototypes,
38415 which can conflict with char socket (); below.
38416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38417 <limits.h> exists even on freestanding compilers. */
38418
38419 #ifdef __STDC__
38420 # include <limits.h>
38421 #else
38422 # include <assert.h>
38423 #endif
38424
38425 #undef socket
38426
38427 /* Override any gcc2 internal prototype to avoid an error. */
38428 #ifdef __cplusplus
38429 extern "C"
38430 {
38431 #endif
38432 /* We use char because int might match the return type of a gcc2
38433 builtin and then its argument prototype would still apply. */
38434 char socket ();
38435 /* The GNU C library defines this for functions which it implements
38436 to always fail with ENOSYS. Some functions are actually named
38437 something starting with __ and the normal name is an alias. */
38438 #if defined (__stub_socket) || defined (__stub___socket)
38439 choke me
38440 #else
38441 char (*f) () = socket;
38442 #endif
38443 #ifdef __cplusplus
38444 }
38445 #endif
38446
38447 int
38448 main ()
38449 {
38450 return f != socket;
38451 ;
38452 return 0;
38453 }
38454 _ACEOF
38455 rm -f conftest.$ac_objext conftest$ac_exeext
38456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38457 (eval $ac_link) 2>conftest.er1
38458 ac_status=$?
38459 grep -v '^ *+' conftest.er1 >conftest.err
38460 rm -f conftest.er1
38461 cat conftest.err >&5
38462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38463 (exit $ac_status); } &&
38464 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38466 (eval $ac_try) 2>&5
38467 ac_status=$?
38468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38469 (exit $ac_status); }; } &&
38470 { ac_try='test -s conftest$ac_exeext'
38471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38472 (eval $ac_try) 2>&5
38473 ac_status=$?
38474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38475 (exit $ac_status); }; }; then
38476 ac_cv_func_socket=yes
38477 else
38478 echo "$as_me: failed program was:" >&5
38479 sed 's/^/| /' conftest.$ac_ext >&5
38480
38481 ac_cv_func_socket=no
38482 fi
38483 rm -f conftest.err conftest.$ac_objext \
38484 conftest$ac_exeext conftest.$ac_ext
38485 fi
38486 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
38487 echo "${ECHO_T}$ac_cv_func_socket" >&6
38488 if test $ac_cv_func_socket = yes; then
38489 :
38490 else
38491
38492 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
38493 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
38494 if test "${ac_cv_lib_socket_socket+set}" = set; then
38495 echo $ECHO_N "(cached) $ECHO_C" >&6
38496 else
38497 ac_check_lib_save_LIBS=$LIBS
38498 LIBS="-lsocket $LIBS"
38499 cat >conftest.$ac_ext <<_ACEOF
38500 /* confdefs.h. */
38501 _ACEOF
38502 cat confdefs.h >>conftest.$ac_ext
38503 cat >>conftest.$ac_ext <<_ACEOF
38504 /* end confdefs.h. */
38505
38506 /* Override any gcc2 internal prototype to avoid an error. */
38507 #ifdef __cplusplus
38508 extern "C"
38509 #endif
38510 /* We use char because int might match the return type of a gcc2
38511 builtin and then its argument prototype would still apply. */
38512 char socket ();
38513 int
38514 main ()
38515 {
38516 socket ();
38517 ;
38518 return 0;
38519 }
38520 _ACEOF
38521 rm -f conftest.$ac_objext conftest$ac_exeext
38522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38523 (eval $ac_link) 2>conftest.er1
38524 ac_status=$?
38525 grep -v '^ *+' conftest.er1 >conftest.err
38526 rm -f conftest.er1
38527 cat conftest.err >&5
38528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38529 (exit $ac_status); } &&
38530 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38532 (eval $ac_try) 2>&5
38533 ac_status=$?
38534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38535 (exit $ac_status); }; } &&
38536 { ac_try='test -s conftest$ac_exeext'
38537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38538 (eval $ac_try) 2>&5
38539 ac_status=$?
38540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38541 (exit $ac_status); }; }; then
38542 ac_cv_lib_socket_socket=yes
38543 else
38544 echo "$as_me: failed program was:" >&5
38545 sed 's/^/| /' conftest.$ac_ext >&5
38546
38547 ac_cv_lib_socket_socket=no
38548 fi
38549 rm -f conftest.err conftest.$ac_objext \
38550 conftest$ac_exeext conftest.$ac_ext
38551 LIBS=$ac_check_lib_save_LIBS
38552 fi
38553 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
38554 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
38555 if test $ac_cv_lib_socket_socket = yes; then
38556 if test "$INET_LINK" != " -lsocket"; then
38557 INET_LINK="$INET_LINK -lsocket"
38558 fi
38559 else
38560
38561 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
38562 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
38563 wxUSE_SOCKETS=no
38564
38565
38566 fi
38567
38568
38569
38570 fi
38571
38572 fi
38573 fi
38574
38575 if test "$wxUSE_SOCKETS" = "yes" ; then
38576 if test "$TOOLKIT" != "MSW"; then
38577 ac_ext=cc
38578 ac_cpp='$CXXCPP $CPPFLAGS'
38579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38582
38583 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
38584 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
38585 if test "${wx_cv_type_getsockname3+set}" = set; then
38586 echo $ECHO_N "(cached) $ECHO_C" >&6
38587 else
38588
38589 cat >conftest.$ac_ext <<_ACEOF
38590 /* confdefs.h. */
38591 _ACEOF
38592 cat confdefs.h >>conftest.$ac_ext
38593 cat >>conftest.$ac_ext <<_ACEOF
38594 /* end confdefs.h. */
38595
38596 #include <sys/types.h>
38597 #include <sys/socket.h>
38598
38599 int
38600 main ()
38601 {
38602
38603 socklen_t len;
38604 getsockname(0, 0, &len);
38605
38606 ;
38607 return 0;
38608 }
38609 _ACEOF
38610 rm -f conftest.$ac_objext
38611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38612 (eval $ac_compile) 2>conftest.er1
38613 ac_status=$?
38614 grep -v '^ *+' conftest.er1 >conftest.err
38615 rm -f conftest.er1
38616 cat conftest.err >&5
38617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38618 (exit $ac_status); } &&
38619 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38621 (eval $ac_try) 2>&5
38622 ac_status=$?
38623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38624 (exit $ac_status); }; } &&
38625 { ac_try='test -s conftest.$ac_objext'
38626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38627 (eval $ac_try) 2>&5
38628 ac_status=$?
38629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38630 (exit $ac_status); }; }; then
38631 wx_cv_type_getsockname3=socklen_t
38632 else
38633 echo "$as_me: failed program was:" >&5
38634 sed 's/^/| /' conftest.$ac_ext >&5
38635
38636
38637 CFLAGS_OLD="$CFLAGS"
38638 if test "$GCC" = yes ; then
38639 CFLAGS="$CFLAGS -Werror"
38640 fi
38641
38642 cat >conftest.$ac_ext <<_ACEOF
38643 /* confdefs.h. */
38644 _ACEOF
38645 cat confdefs.h >>conftest.$ac_ext
38646 cat >>conftest.$ac_ext <<_ACEOF
38647 /* end confdefs.h. */
38648
38649 #include <sys/types.h>
38650 #include <sys/socket.h>
38651
38652 int
38653 main ()
38654 {
38655
38656 size_t len;
38657 getsockname(0, 0, &len);
38658
38659 ;
38660 return 0;
38661 }
38662 _ACEOF
38663 rm -f conftest.$ac_objext
38664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38665 (eval $ac_compile) 2>conftest.er1
38666 ac_status=$?
38667 grep -v '^ *+' conftest.er1 >conftest.err
38668 rm -f conftest.er1
38669 cat conftest.err >&5
38670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38671 (exit $ac_status); } &&
38672 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38674 (eval $ac_try) 2>&5
38675 ac_status=$?
38676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38677 (exit $ac_status); }; } &&
38678 { ac_try='test -s conftest.$ac_objext'
38679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38680 (eval $ac_try) 2>&5
38681 ac_status=$?
38682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38683 (exit $ac_status); }; }; then
38684 wx_cv_type_getsockname3=size_t
38685 else
38686 echo "$as_me: failed program was:" >&5
38687 sed 's/^/| /' conftest.$ac_ext >&5
38688
38689 cat >conftest.$ac_ext <<_ACEOF
38690 /* confdefs.h. */
38691 _ACEOF
38692 cat confdefs.h >>conftest.$ac_ext
38693 cat >>conftest.$ac_ext <<_ACEOF
38694 /* end confdefs.h. */
38695
38696 #include <sys/types.h>
38697 #include <sys/socket.h>
38698
38699 int
38700 main ()
38701 {
38702
38703 int len;
38704 getsockname(0, 0, &len);
38705
38706 ;
38707 return 0;
38708 }
38709 _ACEOF
38710 rm -f conftest.$ac_objext
38711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38712 (eval $ac_compile) 2>conftest.er1
38713 ac_status=$?
38714 grep -v '^ *+' conftest.er1 >conftest.err
38715 rm -f conftest.er1
38716 cat conftest.err >&5
38717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38718 (exit $ac_status); } &&
38719 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38721 (eval $ac_try) 2>&5
38722 ac_status=$?
38723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38724 (exit $ac_status); }; } &&
38725 { ac_try='test -s conftest.$ac_objext'
38726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38727 (eval $ac_try) 2>&5
38728 ac_status=$?
38729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38730 (exit $ac_status); }; }; then
38731 wx_cv_type_getsockname3=int
38732 else
38733 echo "$as_me: failed program was:" >&5
38734 sed 's/^/| /' conftest.$ac_ext >&5
38735
38736 wx_cv_type_getsockname3=unknown
38737
38738 fi
38739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38740
38741 fi
38742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38743
38744 CFLAGS="$CFLAGS_OLD"
38745
38746
38747 fi
38748 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38749
38750 fi
38751 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
38752 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
38753
38754 if test "$wx_cv_type_getsockname3" = "unknown"; then
38755 wxUSE_SOCKETS=no
38756 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
38757 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
38758 else
38759 cat >>confdefs.h <<_ACEOF
38760 #define SOCKLEN_T $wx_cv_type_getsockname3
38761 _ACEOF
38762
38763 fi
38764 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
38765 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
38766 if test "${wx_cv_type_getsockopt5+set}" = set; then
38767 echo $ECHO_N "(cached) $ECHO_C" >&6
38768 else
38769
38770 cat >conftest.$ac_ext <<_ACEOF
38771 /* confdefs.h. */
38772 _ACEOF
38773 cat confdefs.h >>conftest.$ac_ext
38774 cat >>conftest.$ac_ext <<_ACEOF
38775 /* end confdefs.h. */
38776
38777 #include <sys/types.h>
38778 #include <sys/socket.h>
38779
38780 int
38781 main ()
38782 {
38783
38784 socklen_t len;
38785 getsockopt(0, 0, 0, 0, &len);
38786
38787 ;
38788 return 0;
38789 }
38790 _ACEOF
38791 rm -f conftest.$ac_objext
38792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38793 (eval $ac_compile) 2>conftest.er1
38794 ac_status=$?
38795 grep -v '^ *+' conftest.er1 >conftest.err
38796 rm -f conftest.er1
38797 cat conftest.err >&5
38798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38799 (exit $ac_status); } &&
38800 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38802 (eval $ac_try) 2>&5
38803 ac_status=$?
38804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38805 (exit $ac_status); }; } &&
38806 { ac_try='test -s conftest.$ac_objext'
38807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38808 (eval $ac_try) 2>&5
38809 ac_status=$?
38810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38811 (exit $ac_status); }; }; then
38812 wx_cv_type_getsockopt5=socklen_t
38813 else
38814 echo "$as_me: failed program was:" >&5
38815 sed 's/^/| /' conftest.$ac_ext >&5
38816
38817
38818 CFLAGS_OLD="$CFLAGS"
38819 if test "$GCC" = yes ; then
38820 CFLAGS="$CFLAGS -Werror"
38821 fi
38822
38823 cat >conftest.$ac_ext <<_ACEOF
38824 /* confdefs.h. */
38825 _ACEOF
38826 cat confdefs.h >>conftest.$ac_ext
38827 cat >>conftest.$ac_ext <<_ACEOF
38828 /* end confdefs.h. */
38829
38830 #include <sys/types.h>
38831 #include <sys/socket.h>
38832
38833 int
38834 main ()
38835 {
38836
38837 size_t len;
38838 getsockopt(0, 0, 0, 0, &len);
38839
38840 ;
38841 return 0;
38842 }
38843 _ACEOF
38844 rm -f conftest.$ac_objext
38845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38846 (eval $ac_compile) 2>conftest.er1
38847 ac_status=$?
38848 grep -v '^ *+' conftest.er1 >conftest.err
38849 rm -f conftest.er1
38850 cat conftest.err >&5
38851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38852 (exit $ac_status); } &&
38853 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38855 (eval $ac_try) 2>&5
38856 ac_status=$?
38857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38858 (exit $ac_status); }; } &&
38859 { ac_try='test -s conftest.$ac_objext'
38860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38861 (eval $ac_try) 2>&5
38862 ac_status=$?
38863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38864 (exit $ac_status); }; }; then
38865 wx_cv_type_getsockopt5=size_t
38866 else
38867 echo "$as_me: failed program was:" >&5
38868 sed 's/^/| /' conftest.$ac_ext >&5
38869
38870 cat >conftest.$ac_ext <<_ACEOF
38871 /* confdefs.h. */
38872 _ACEOF
38873 cat confdefs.h >>conftest.$ac_ext
38874 cat >>conftest.$ac_ext <<_ACEOF
38875 /* end confdefs.h. */
38876
38877 #include <sys/types.h>
38878 #include <sys/socket.h>
38879
38880 int
38881 main ()
38882 {
38883
38884 int len;
38885 getsockopt(0, 0, 0, 0, &len);
38886
38887 ;
38888 return 0;
38889 }
38890 _ACEOF
38891 rm -f conftest.$ac_objext
38892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38893 (eval $ac_compile) 2>conftest.er1
38894 ac_status=$?
38895 grep -v '^ *+' conftest.er1 >conftest.err
38896 rm -f conftest.er1
38897 cat conftest.err >&5
38898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38899 (exit $ac_status); } &&
38900 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38902 (eval $ac_try) 2>&5
38903 ac_status=$?
38904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38905 (exit $ac_status); }; } &&
38906 { ac_try='test -s conftest.$ac_objext'
38907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38908 (eval $ac_try) 2>&5
38909 ac_status=$?
38910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38911 (exit $ac_status); }; }; then
38912 wx_cv_type_getsockopt5=int
38913 else
38914 echo "$as_me: failed program was:" >&5
38915 sed 's/^/| /' conftest.$ac_ext >&5
38916
38917 wx_cv_type_getsockopt5=unknown
38918
38919 fi
38920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38921
38922 fi
38923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38924
38925 CFLAGS="$CFLAGS_OLD"
38926
38927
38928 fi
38929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38930
38931 fi
38932 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
38933 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
38934
38935 if test "$wx_cv_type_getsockopt5" = "unknown"; then
38936 wxUSE_SOCKETS=no
38937 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
38938 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
38939 else
38940 cat >>confdefs.h <<_ACEOF
38941 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
38942 _ACEOF
38943
38944 fi
38945 ac_ext=c
38946 ac_cpp='$CPP $CPPFLAGS'
38947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38950
38951 fi
38952 fi
38953
38954 if test "$wxUSE_SOCKETS" = "yes" ; then
38955 cat >>confdefs.h <<\_ACEOF
38956 #define wxUSE_SOCKETS 1
38957 _ACEOF
38958
38959 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
38960 fi
38961
38962 if test "$wxUSE_PROTOCOL" = "yes"; then
38963 if test "$wxUSE_SOCKETS" != "yes"; then
38964 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
38965 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
38966 wxUSE_PROTOCOL=no
38967 fi
38968 fi
38969
38970 if test "$wxUSE_PROTOCOL" = "yes"; then
38971 cat >>confdefs.h <<\_ACEOF
38972 #define wxUSE_PROTOCOL 1
38973 _ACEOF
38974
38975
38976 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
38977 cat >>confdefs.h <<\_ACEOF
38978 #define wxUSE_PROTOCOL_HTTP 1
38979 _ACEOF
38980
38981 fi
38982 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
38983 cat >>confdefs.h <<\_ACEOF
38984 #define wxUSE_PROTOCOL_FTP 1
38985 _ACEOF
38986
38987 fi
38988 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
38989 cat >>confdefs.h <<\_ACEOF
38990 #define wxUSE_PROTOCOL_FILE 1
38991 _ACEOF
38992
38993 fi
38994 else
38995 if test "$wxUSE_FS_INET" = "yes"; then
38996 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
38997 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
38998 wxUSE_FS_INET="no"
38999 fi
39000 fi
39001
39002 if test "$wxUSE_URL" = "yes"; then
39003 if test "$wxUSE_PROTOCOL" != "yes"; then
39004 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
39005 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
39006 wxUSE_URL=no
39007 fi
39008 if test "$wxUSE_URL" = "yes"; then
39009 cat >>confdefs.h <<\_ACEOF
39010 #define wxUSE_URL 1
39011 _ACEOF
39012
39013 fi
39014 fi
39015
39016 if test "$wxUSE_FS_INET" = "yes"; then
39017 cat >>confdefs.h <<\_ACEOF
39018 #define wxUSE_FS_INET 1
39019 _ACEOF
39020
39021 fi
39022
39023
39024 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
39025 wxUSE_JOYSTICK=no
39026
39027 if test "$TOOLKIT" = "MSW"; then
39028 wxUSE_JOYSTICK=yes
39029
39030 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
39031 if test "$USE_DARWIN" = 1; then
39032 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
39033 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
39034 ac_ext=cc
39035 ac_cpp='$CXXCPP $CPPFLAGS'
39036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39039
39040 cat >conftest.$ac_ext <<_ACEOF
39041 /* confdefs.h. */
39042 _ACEOF
39043 cat confdefs.h >>conftest.$ac_ext
39044 cat >>conftest.$ac_ext <<_ACEOF
39045 /* end confdefs.h. */
39046 #include <IOKit/hid/IOHIDLib.h>
39047 int
39048 main ()
39049 {
39050 IOHIDQueueInterface *qi = NULL;
39051 IOHIDCallbackFunction cb = NULL;
39052 qi->setEventCallout(NULL, cb, NULL, NULL);
39053 ;
39054 return 0;
39055 }
39056 _ACEOF
39057 rm -f conftest.$ac_objext
39058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39059 (eval $ac_compile) 2>conftest.er1
39060 ac_status=$?
39061 grep -v '^ *+' conftest.er1 >conftest.err
39062 rm -f conftest.er1
39063 cat conftest.err >&5
39064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39065 (exit $ac_status); } &&
39066 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39068 (eval $ac_try) 2>&5
39069 ac_status=$?
39070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39071 (exit $ac_status); }; } &&
39072 { ac_try='test -s conftest.$ac_objext'
39073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39074 (eval $ac_try) 2>&5
39075 ac_status=$?
39076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39077 (exit $ac_status); }; }; then
39078 wxUSE_JOYSTICK=yes
39079
39080 else
39081 echo "$as_me: failed program was:" >&5
39082 sed 's/^/| /' conftest.$ac_ext >&5
39083
39084 fi
39085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39086 ac_ext=c
39087 ac_cpp='$CPP $CPPFLAGS'
39088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39091
39092 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
39093 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
39094 fi
39095
39096 else
39097
39098 for ac_header in linux/joystick.h
39099 do
39100 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39101 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39102 echo "$as_me:$LINENO: checking for $ac_header" >&5
39103 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39104 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39105 echo $ECHO_N "(cached) $ECHO_C" >&6
39106 fi
39107 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39108 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39109 else
39110 # Is the header compilable?
39111 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39112 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39113 cat >conftest.$ac_ext <<_ACEOF
39114 /* confdefs.h. */
39115 _ACEOF
39116 cat confdefs.h >>conftest.$ac_ext
39117 cat >>conftest.$ac_ext <<_ACEOF
39118 /* end confdefs.h. */
39119 $ac_includes_default
39120 #include <$ac_header>
39121 _ACEOF
39122 rm -f conftest.$ac_objext
39123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39124 (eval $ac_compile) 2>conftest.er1
39125 ac_status=$?
39126 grep -v '^ *+' conftest.er1 >conftest.err
39127 rm -f conftest.er1
39128 cat conftest.err >&5
39129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39130 (exit $ac_status); } &&
39131 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39133 (eval $ac_try) 2>&5
39134 ac_status=$?
39135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39136 (exit $ac_status); }; } &&
39137 { ac_try='test -s conftest.$ac_objext'
39138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39139 (eval $ac_try) 2>&5
39140 ac_status=$?
39141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39142 (exit $ac_status); }; }; then
39143 ac_header_compiler=yes
39144 else
39145 echo "$as_me: failed program was:" >&5
39146 sed 's/^/| /' conftest.$ac_ext >&5
39147
39148 ac_header_compiler=no
39149 fi
39150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39151 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39152 echo "${ECHO_T}$ac_header_compiler" >&6
39153
39154 # Is the header present?
39155 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39156 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39157 cat >conftest.$ac_ext <<_ACEOF
39158 /* confdefs.h. */
39159 _ACEOF
39160 cat confdefs.h >>conftest.$ac_ext
39161 cat >>conftest.$ac_ext <<_ACEOF
39162 /* end confdefs.h. */
39163 #include <$ac_header>
39164 _ACEOF
39165 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39166 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39167 ac_status=$?
39168 grep -v '^ *+' conftest.er1 >conftest.err
39169 rm -f conftest.er1
39170 cat conftest.err >&5
39171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39172 (exit $ac_status); } >/dev/null; then
39173 if test -s conftest.err; then
39174 ac_cpp_err=$ac_c_preproc_warn_flag
39175 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
39176 else
39177 ac_cpp_err=
39178 fi
39179 else
39180 ac_cpp_err=yes
39181 fi
39182 if test -z "$ac_cpp_err"; then
39183 ac_header_preproc=yes
39184 else
39185 echo "$as_me: failed program was:" >&5
39186 sed 's/^/| /' conftest.$ac_ext >&5
39187
39188 ac_header_preproc=no
39189 fi
39190 rm -f conftest.err conftest.$ac_ext
39191 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39192 echo "${ECHO_T}$ac_header_preproc" >&6
39193
39194 # So? What about this header?
39195 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39196 yes:no: )
39197 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39198 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39199 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39200 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39201 ac_header_preproc=yes
39202 ;;
39203 no:yes:* )
39204 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39205 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39206 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39207 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39208 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39209 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39210 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39211 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39212 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39213 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39214 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39215 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39216 (
39217 cat <<\_ASBOX
39218 ## ----------------------------------------- ##
39219 ## Report this to wx-dev@lists.wxwidgets.org ##
39220 ## ----------------------------------------- ##
39221 _ASBOX
39222 ) |
39223 sed "s/^/$as_me: WARNING: /" >&2
39224 ;;
39225 esac
39226 echo "$as_me:$LINENO: checking for $ac_header" >&5
39227 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39228 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39229 echo $ECHO_N "(cached) $ECHO_C" >&6
39230 else
39231 eval "$as_ac_Header=\$ac_header_preproc"
39232 fi
39233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39234 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39235
39236 fi
39237 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39238 cat >>confdefs.h <<_ACEOF
39239 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39240 _ACEOF
39241 wxUSE_JOYSTICK=yes
39242 fi
39243
39244 done
39245
39246 fi
39247
39248 if test "$wxUSE_JOYSTICK" = "yes"; then
39249 cat >>confdefs.h <<\_ACEOF
39250 #define wxUSE_JOYSTICK 1
39251 _ACEOF
39252
39253 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
39254 else
39255 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
39256 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
39257 fi
39258 fi
39259
39260
39261
39262 if test "$wxUSE_FONTMAP" = "yes" ; then
39263 cat >>confdefs.h <<\_ACEOF
39264 #define wxUSE_FONTMAP 1
39265 _ACEOF
39266
39267 fi
39268
39269 if test "$wxUSE_UNICODE" = "yes" ; then
39270 cat >>confdefs.h <<\_ACEOF
39271 #define wxUSE_UNICODE 1
39272 _ACEOF
39273
39274
39275 if test "$USE_WIN32" != 1; then
39276 wxUSE_UNICODE_MSLU=no
39277 fi
39278
39279 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
39280 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
39281 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
39282 if test "${ac_cv_lib_unicows_main+set}" = set; then
39283 echo $ECHO_N "(cached) $ECHO_C" >&6
39284 else
39285 ac_check_lib_save_LIBS=$LIBS
39286 LIBS="-lunicows $LIBS"
39287 cat >conftest.$ac_ext <<_ACEOF
39288 /* confdefs.h. */
39289 _ACEOF
39290 cat confdefs.h >>conftest.$ac_ext
39291 cat >>conftest.$ac_ext <<_ACEOF
39292 /* end confdefs.h. */
39293
39294
39295 int
39296 main ()
39297 {
39298 main ();
39299 ;
39300 return 0;
39301 }
39302 _ACEOF
39303 rm -f conftest.$ac_objext conftest$ac_exeext
39304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39305 (eval $ac_link) 2>conftest.er1
39306 ac_status=$?
39307 grep -v '^ *+' conftest.er1 >conftest.err
39308 rm -f conftest.er1
39309 cat conftest.err >&5
39310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39311 (exit $ac_status); } &&
39312 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39314 (eval $ac_try) 2>&5
39315 ac_status=$?
39316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39317 (exit $ac_status); }; } &&
39318 { ac_try='test -s conftest$ac_exeext'
39319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39320 (eval $ac_try) 2>&5
39321 ac_status=$?
39322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39323 (exit $ac_status); }; }; then
39324 ac_cv_lib_unicows_main=yes
39325 else
39326 echo "$as_me: failed program was:" >&5
39327 sed 's/^/| /' conftest.$ac_ext >&5
39328
39329 ac_cv_lib_unicows_main=no
39330 fi
39331 rm -f conftest.err conftest.$ac_objext \
39332 conftest$ac_exeext conftest.$ac_ext
39333 LIBS=$ac_check_lib_save_LIBS
39334 fi
39335 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
39336 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
39337 if test $ac_cv_lib_unicows_main = yes; then
39338
39339 cat >>confdefs.h <<\_ACEOF
39340 #define wxUSE_UNICODE_MSLU 1
39341 _ACEOF
39342
39343
39344 else
39345
39346 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
39347 Applications will only run on Windows NT/2000/XP!" >&5
39348 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
39349 Applications will only run on Windows NT/2000/XP!" >&2;}
39350 wxUSE_UNICODE_MSLU=no
39351
39352 fi
39353
39354 fi
39355 fi
39356
39357 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
39358 cat >>confdefs.h <<\_ACEOF
39359 #define wxUSE_EXPERIMENTAL_PRINTF 1
39360 _ACEOF
39361
39362 fi
39363
39364
39365 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
39366 cat >>confdefs.h <<\_ACEOF
39367 #define wxUSE_POSTSCRIPT 1
39368 _ACEOF
39369
39370 fi
39371
39372 cat >>confdefs.h <<\_ACEOF
39373 #define wxUSE_AFM_FOR_POSTSCRIPT 1
39374 _ACEOF
39375
39376
39377 cat >>confdefs.h <<\_ACEOF
39378 #define wxUSE_NORMALIZED_PS_FONTS 1
39379 _ACEOF
39380
39381
39382
39383 if test "$wxUSE_CONSTRAINTS" = "yes"; then
39384 cat >>confdefs.h <<\_ACEOF
39385 #define wxUSE_CONSTRAINTS 1
39386 _ACEOF
39387
39388 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
39389 fi
39390
39391 if test "$wxUSE_MDI" = "yes"; then
39392 cat >>confdefs.h <<\_ACEOF
39393 #define wxUSE_MDI 1
39394 _ACEOF
39395
39396
39397 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
39398 cat >>confdefs.h <<\_ACEOF
39399 #define wxUSE_MDI_ARCHITECTURE 1
39400 _ACEOF
39401
39402 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
39403 fi
39404 fi
39405
39406 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
39407 cat >>confdefs.h <<\_ACEOF
39408 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
39409 _ACEOF
39410
39411 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
39412 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
39413 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
39414 fi
39415 fi
39416
39417 if test "$wxUSE_HELP" = "yes"; then
39418 cat >>confdefs.h <<\_ACEOF
39419 #define wxUSE_HELP 1
39420 _ACEOF
39421
39422 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
39423
39424 if test "$wxUSE_MSW" = 1; then
39425 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
39426 cat >>confdefs.h <<\_ACEOF
39427 #define wxUSE_MS_HTML_HELP 1
39428 _ACEOF
39429
39430 fi
39431 fi
39432
39433 if test "$wxUSE_WXHTML_HELP" = "yes"; then
39434 if test "$wxUSE_HTML" = "yes"; then
39435 cat >>confdefs.h <<\_ACEOF
39436 #define wxUSE_WXHTML_HELP 1
39437 _ACEOF
39438
39439 else
39440 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
39441 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
39442 wxUSE_WXHTML_HELP=no
39443 fi
39444 fi
39445 fi
39446
39447 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
39448 if test "$wxUSE_CONSTRAINTS" != "yes"; then
39449 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
39450 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
39451 else
39452 cat >>confdefs.h <<\_ACEOF
39453 #define wxUSE_PRINTING_ARCHITECTURE 1
39454 _ACEOF
39455
39456 fi
39457 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
39458 fi
39459
39460 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
39461 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
39462 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
39463 { (exit 1); exit 1; }; }
39464 fi
39465
39466
39467 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
39468 -o "$wxUSE_CLIPBOARD" = "yes" \
39469 -o "$wxUSE_OLE" = "yes" \
39470 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
39471
39472 for ac_header in ole2.h
39473 do
39474 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39475 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39476 echo "$as_me:$LINENO: checking for $ac_header" >&5
39477 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39478 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39479 echo $ECHO_N "(cached) $ECHO_C" >&6
39480 fi
39481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39482 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39483 else
39484 # Is the header compilable?
39485 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39486 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39487 cat >conftest.$ac_ext <<_ACEOF
39488 /* confdefs.h. */
39489 _ACEOF
39490 cat confdefs.h >>conftest.$ac_ext
39491 cat >>conftest.$ac_ext <<_ACEOF
39492 /* end confdefs.h. */
39493 $ac_includes_default
39494 #include <$ac_header>
39495 _ACEOF
39496 rm -f conftest.$ac_objext
39497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39498 (eval $ac_compile) 2>conftest.er1
39499 ac_status=$?
39500 grep -v '^ *+' conftest.er1 >conftest.err
39501 rm -f conftest.er1
39502 cat conftest.err >&5
39503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39504 (exit $ac_status); } &&
39505 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39507 (eval $ac_try) 2>&5
39508 ac_status=$?
39509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39510 (exit $ac_status); }; } &&
39511 { ac_try='test -s conftest.$ac_objext'
39512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39513 (eval $ac_try) 2>&5
39514 ac_status=$?
39515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39516 (exit $ac_status); }; }; then
39517 ac_header_compiler=yes
39518 else
39519 echo "$as_me: failed program was:" >&5
39520 sed 's/^/| /' conftest.$ac_ext >&5
39521
39522 ac_header_compiler=no
39523 fi
39524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39525 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39526 echo "${ECHO_T}$ac_header_compiler" >&6
39527
39528 # Is the header present?
39529 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39530 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39531 cat >conftest.$ac_ext <<_ACEOF
39532 /* confdefs.h. */
39533 _ACEOF
39534 cat confdefs.h >>conftest.$ac_ext
39535 cat >>conftest.$ac_ext <<_ACEOF
39536 /* end confdefs.h. */
39537 #include <$ac_header>
39538 _ACEOF
39539 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39540 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39541 ac_status=$?
39542 grep -v '^ *+' conftest.er1 >conftest.err
39543 rm -f conftest.er1
39544 cat conftest.err >&5
39545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39546 (exit $ac_status); } >/dev/null; then
39547 if test -s conftest.err; then
39548 ac_cpp_err=$ac_c_preproc_warn_flag
39549 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
39550 else
39551 ac_cpp_err=
39552 fi
39553 else
39554 ac_cpp_err=yes
39555 fi
39556 if test -z "$ac_cpp_err"; then
39557 ac_header_preproc=yes
39558 else
39559 echo "$as_me: failed program was:" >&5
39560 sed 's/^/| /' conftest.$ac_ext >&5
39561
39562 ac_header_preproc=no
39563 fi
39564 rm -f conftest.err conftest.$ac_ext
39565 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39566 echo "${ECHO_T}$ac_header_preproc" >&6
39567
39568 # So? What about this header?
39569 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39570 yes:no: )
39571 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39572 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39573 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39574 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39575 ac_header_preproc=yes
39576 ;;
39577 no:yes:* )
39578 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39579 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39580 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39581 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39582 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39583 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39584 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39585 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39586 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39587 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39588 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39589 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39590 (
39591 cat <<\_ASBOX
39592 ## ----------------------------------------- ##
39593 ## Report this to wx-dev@lists.wxwidgets.org ##
39594 ## ----------------------------------------- ##
39595 _ASBOX
39596 ) |
39597 sed "s/^/$as_me: WARNING: /" >&2
39598 ;;
39599 esac
39600 echo "$as_me:$LINENO: checking for $ac_header" >&5
39601 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39602 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39603 echo $ECHO_N "(cached) $ECHO_C" >&6
39604 else
39605 eval "$as_ac_Header=\$ac_header_preproc"
39606 fi
39607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39608 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39609
39610 fi
39611 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39612 cat >>confdefs.h <<_ACEOF
39613 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39614 _ACEOF
39615
39616 fi
39617
39618 done
39619
39620
39621 if test "$ac_cv_header_ole2_h" = "yes" ; then
39622 if test "$GCC" = yes ; then
39623
39624
39625 ac_ext=cc
39626 ac_cpp='$CXXCPP $CPPFLAGS'
39627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39630
39631
39632 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
39633 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
39634 cat >conftest.$ac_ext <<_ACEOF
39635 /* confdefs.h. */
39636 _ACEOF
39637 cat confdefs.h >>conftest.$ac_ext
39638 cat >>conftest.$ac_ext <<_ACEOF
39639 /* end confdefs.h. */
39640 #include <windows.h>
39641 #include <ole2.h>
39642 int
39643 main ()
39644 {
39645
39646 ;
39647 return 0;
39648 }
39649 _ACEOF
39650 rm -f conftest.$ac_objext
39651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39652 (eval $ac_compile) 2>conftest.er1
39653 ac_status=$?
39654 grep -v '^ *+' conftest.er1 >conftest.err
39655 rm -f conftest.er1
39656 cat conftest.err >&5
39657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39658 (exit $ac_status); } &&
39659 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39661 (eval $ac_try) 2>&5
39662 ac_status=$?
39663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39664 (exit $ac_status); }; } &&
39665 { ac_try='test -s conftest.$ac_objext'
39666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39667 (eval $ac_try) 2>&5
39668 ac_status=$?
39669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39670 (exit $ac_status); }; }; then
39671 echo "$as_me:$LINENO: result: no" >&5
39672 echo "${ECHO_T}no" >&6
39673 else
39674 echo "$as_me: failed program was:" >&5
39675 sed 's/^/| /' conftest.$ac_ext >&5
39676
39677 echo "$as_me:$LINENO: result: yes" >&5
39678 echo "${ECHO_T}yes" >&6
39679 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
39680 fi
39681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39682 ac_ext=c
39683 ac_cpp='$CPP $CPPFLAGS'
39684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39687
39688 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
39689 if test "$wxUSE_OLE" = "yes" ; then
39690 cat >>confdefs.h <<\_ACEOF
39691 #define wxUSE_OLE 1
39692 _ACEOF
39693
39694 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
39695 fi
39696 fi
39697
39698 if test "$wxUSE_DATAOBJ" = "yes" ; then
39699 cat >>confdefs.h <<\_ACEOF
39700 #define wxUSE_DATAOBJ 1
39701 _ACEOF
39702
39703 fi
39704 else
39705 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
39706 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
39707
39708 wxUSE_CLIPBOARD=no
39709 wxUSE_DRAG_AND_DROP=no
39710 wxUSE_DATAOBJ=no
39711 wxUSE_OLE=no
39712 fi
39713
39714 if test "$wxUSE_METAFILE" = "yes"; then
39715 cat >>confdefs.h <<\_ACEOF
39716 #define wxUSE_METAFILE 1
39717 _ACEOF
39718
39719
39720 cat >>confdefs.h <<\_ACEOF
39721 #define wxUSE_ENH_METAFILE 1
39722 _ACEOF
39723
39724 fi
39725 fi
39726
39727 if test "$wxUSE_IPC" = "yes"; then
39728 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
39729 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
39730 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
39731 wxUSE_IPC=no
39732 fi
39733
39734 if test "$wxUSE_IPC" = "yes"; then
39735 cat >>confdefs.h <<\_ACEOF
39736 #define wxUSE_IPC 1
39737 _ACEOF
39738
39739 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
39740 fi
39741 fi
39742
39743 if test "$wxUSE_DATAOBJ" = "yes"; then
39744 if test "$wxUSE_MGL" = 1; then
39745 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
39746 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
39747 wxUSE_DATAOBJ=no
39748 else
39749 cat >>confdefs.h <<\_ACEOF
39750 #define wxUSE_DATAOBJ 1
39751 _ACEOF
39752
39753 fi
39754 else
39755 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
39756 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
39757 wxUSE_CLIPBOARD=no
39758 wxUSE_DRAG_AND_DROP=no
39759 fi
39760
39761 if test "$wxUSE_CLIPBOARD" = "yes"; then
39762 if test "$wxUSE_MGL" = 1; then
39763 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
39764 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
39765 wxUSE_CLIPBOARD=no
39766 fi
39767
39768 if test "$wxUSE_CLIPBOARD" = "yes"; then
39769 cat >>confdefs.h <<\_ACEOF
39770 #define wxUSE_CLIPBOARD 1
39771 _ACEOF
39772
39773 fi
39774 fi
39775
39776 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
39777 if test "$wxUSE_GTK" = 1; then
39778 if test "$WXGTK12" != 1; then
39779 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
39780 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
39781 wxUSE_DRAG_AND_DROP=no
39782 fi
39783 fi
39784
39785 if test "$wxUSE_MOTIF" = 1; then
39786 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
39787 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
39788 wxUSE_DRAG_AND_DROP=no
39789 fi
39790
39791 if test "$wxUSE_X11" = 1; then
39792 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
39793 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
39794 wxUSE_DRAG_AND_DROP=no
39795 fi
39796
39797 if test "$wxUSE_MGL" = 1; then
39798 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
39799 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
39800 wxUSE_DRAG_AND_DROP=no
39801 fi
39802
39803 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
39804 cat >>confdefs.h <<\_ACEOF
39805 #define wxUSE_DRAG_AND_DROP 1
39806 _ACEOF
39807
39808 fi
39809
39810 fi
39811
39812 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
39813 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
39814 fi
39815
39816 if test "$wxUSE_SPLINES" = "yes" ; then
39817 cat >>confdefs.h <<\_ACEOF
39818 #define wxUSE_SPLINES 1
39819 _ACEOF
39820
39821 fi
39822
39823 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
39824 cat >>confdefs.h <<\_ACEOF
39825 #define wxUSE_MOUSEWHEEL 1
39826 _ACEOF
39827
39828 fi
39829
39830
39831 USES_CONTROLS=0
39832 if test "$wxUSE_CONTROLS" = "yes"; then
39833 USES_CONTROLS=1
39834 fi
39835
39836 if test "$wxUSE_ACCEL" = "yes"; then
39837 cat >>confdefs.h <<\_ACEOF
39838 #define wxUSE_ACCEL 1
39839 _ACEOF
39840
39841 USES_CONTROLS=1
39842 fi
39843
39844 if test "$wxUSE_BUTTON" = "yes"; then
39845 cat >>confdefs.h <<\_ACEOF
39846 #define wxUSE_BUTTON 1
39847 _ACEOF
39848
39849 USES_CONTROLS=1
39850 fi
39851
39852 if test "$wxUSE_BMPBUTTON" = "yes"; then
39853 cat >>confdefs.h <<\_ACEOF
39854 #define wxUSE_BMPBUTTON 1
39855 _ACEOF
39856
39857 USES_CONTROLS=1
39858 fi
39859
39860 if test "$wxUSE_CALCTRL" = "yes"; then
39861 cat >>confdefs.h <<\_ACEOF
39862 #define wxUSE_CALENDARCTRL 1
39863 _ACEOF
39864
39865 USES_CONTROLS=1
39866 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
39867 fi
39868
39869 if test "$wxUSE_CARET" = "yes"; then
39870 cat >>confdefs.h <<\_ACEOF
39871 #define wxUSE_CARET 1
39872 _ACEOF
39873
39874 USES_CONTROLS=1
39875 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
39876 fi
39877
39878 if test "$wxUSE_COMBOBOX" = "yes"; then
39879 cat >>confdefs.h <<\_ACEOF
39880 #define wxUSE_COMBOBOX 1
39881 _ACEOF
39882
39883 USES_CONTROLS=1
39884 fi
39885
39886 if test "$wxUSE_CHOICE" = "yes"; then
39887 cat >>confdefs.h <<\_ACEOF
39888 #define wxUSE_CHOICE 1
39889 _ACEOF
39890
39891 USES_CONTROLS=1
39892 fi
39893
39894 if test "$wxUSE_CHOICEBOOK" = "yes"; then
39895 cat >>confdefs.h <<\_ACEOF
39896 #define wxUSE_CHOICEBOOK 1
39897 _ACEOF
39898
39899 USES_CONTROLS=1
39900 fi
39901
39902 if test "$wxUSE_CHECKBOX" = "yes"; then
39903 cat >>confdefs.h <<\_ACEOF
39904 #define wxUSE_CHECKBOX 1
39905 _ACEOF
39906
39907 USES_CONTROLS=1
39908 fi
39909
39910 if test "$wxUSE_CHECKLST" = "yes"; then
39911 cat >>confdefs.h <<\_ACEOF
39912 #define wxUSE_CHECKLISTBOX 1
39913 _ACEOF
39914
39915 USES_CONTROLS=1
39916 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
39917 fi
39918
39919 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
39920 cat >>confdefs.h <<\_ACEOF
39921 #define wxUSE_DATEPICKCTRL 1
39922 _ACEOF
39923
39924 USES_CONTROLS=1
39925 fi
39926
39927 if test "$wxUSE_DISPLAY" = "yes"; then
39928 cat >>confdefs.h <<\_ACEOF
39929 #define wxUSE_DISPLAY 1
39930 _ACEOF
39931
39932 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
39933 fi
39934
39935 if test "$wxUSE_GAUGE" = "yes"; then
39936 cat >>confdefs.h <<\_ACEOF
39937 #define wxUSE_GAUGE 1
39938 _ACEOF
39939
39940 USES_CONTROLS=1
39941 fi
39942
39943 if test "$wxUSE_GRID" = "yes"; then
39944 cat >>confdefs.h <<\_ACEOF
39945 #define wxUSE_GRID 1
39946 _ACEOF
39947
39948 USES_CONTROLS=1
39949 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
39950 fi
39951
39952 if test "$wxUSE_IMAGLIST" = "yes"; then
39953 cat >>confdefs.h <<\_ACEOF
39954 #define wxUSE_IMAGLIST 1
39955 _ACEOF
39956
39957 fi
39958
39959 if test "$wxUSE_LISTBOOK" = "yes"; then
39960 cat >>confdefs.h <<\_ACEOF
39961 #define wxUSE_LISTBOOK 1
39962 _ACEOF
39963
39964 USES_CONTROLS=1
39965 fi
39966
39967 if test "$wxUSE_LISTBOX" = "yes"; then
39968 cat >>confdefs.h <<\_ACEOF
39969 #define wxUSE_LISTBOX 1
39970 _ACEOF
39971
39972 USES_CONTROLS=1
39973 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
39974 fi
39975
39976 if test "$wxUSE_LISTCTRL" = "yes"; then
39977 if test "$wxUSE_IMAGLIST" = "yes"; then
39978 cat >>confdefs.h <<\_ACEOF
39979 #define wxUSE_LISTCTRL 1
39980 _ACEOF
39981
39982 USES_CONTROLS=1
39983 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
39984 else
39985 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
39986 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
39987 fi
39988 fi
39989
39990 if test "$wxUSE_NOTEBOOK" = "yes"; then
39991 cat >>confdefs.h <<\_ACEOF
39992 #define wxUSE_NOTEBOOK 1
39993 _ACEOF
39994
39995 USES_CONTROLS=1
39996 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
39997 fi
39998
39999
40000 if test "$wxUSE_RADIOBOX" = "yes"; then
40001 cat >>confdefs.h <<\_ACEOF
40002 #define wxUSE_RADIOBOX 1
40003 _ACEOF
40004
40005 USES_CONTROLS=1
40006 fi
40007
40008 if test "$wxUSE_RADIOBTN" = "yes"; then
40009 cat >>confdefs.h <<\_ACEOF
40010 #define wxUSE_RADIOBTN 1
40011 _ACEOF
40012
40013 USES_CONTROLS=1
40014 fi
40015
40016 if test "$wxUSE_SASH" = "yes"; then
40017 cat >>confdefs.h <<\_ACEOF
40018 #define wxUSE_SASH 1
40019 _ACEOF
40020
40021 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
40022 fi
40023
40024 if test "$wxUSE_SCROLLBAR" = "yes"; then
40025 cat >>confdefs.h <<\_ACEOF
40026 #define wxUSE_SCROLLBAR 1
40027 _ACEOF
40028
40029 USES_CONTROLS=1
40030 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
40031 fi
40032
40033 if test "$wxUSE_SLIDER" = "yes"; then
40034 cat >>confdefs.h <<\_ACEOF
40035 #define wxUSE_SLIDER 1
40036 _ACEOF
40037
40038 USES_CONTROLS=1
40039 fi
40040
40041 if test "$wxUSE_SPINBTN" = "yes"; then
40042 cat >>confdefs.h <<\_ACEOF
40043 #define wxUSE_SPINBTN 1
40044 _ACEOF
40045
40046 USES_CONTROLS=1
40047 fi
40048
40049 if test "$wxUSE_SPINCTRL" = "yes"; then
40050 cat >>confdefs.h <<\_ACEOF
40051 #define wxUSE_SPINCTRL 1
40052 _ACEOF
40053
40054 USES_CONTROLS=1
40055 fi
40056
40057 if test "$wxUSE_SPLITTER" = "yes"; then
40058 cat >>confdefs.h <<\_ACEOF
40059 #define wxUSE_SPLITTER 1
40060 _ACEOF
40061
40062 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
40063 fi
40064
40065 if test "$wxUSE_STATBMP" = "yes"; then
40066 cat >>confdefs.h <<\_ACEOF
40067 #define wxUSE_STATBMP 1
40068 _ACEOF
40069
40070 USES_CONTROLS=1
40071 fi
40072
40073 if test "$wxUSE_STATBOX" = "yes"; then
40074 cat >>confdefs.h <<\_ACEOF
40075 #define wxUSE_STATBOX 1
40076 _ACEOF
40077
40078 USES_CONTROLS=1
40079 fi
40080
40081 if test "$wxUSE_STATTEXT" = "yes"; then
40082 cat >>confdefs.h <<\_ACEOF
40083 #define wxUSE_STATTEXT 1
40084 _ACEOF
40085
40086 USES_CONTROLS=1
40087 fi
40088
40089 if test "$wxUSE_STATLINE" = "yes"; then
40090 cat >>confdefs.h <<\_ACEOF
40091 #define wxUSE_STATLINE 1
40092 _ACEOF
40093
40094 USES_CONTROLS=1
40095 fi
40096
40097 if test "$wxUSE_STATUSBAR" = "yes"; then
40098 cat >>confdefs.h <<\_ACEOF
40099 #define wxUSE_NATIVE_STATUSBAR 1
40100 _ACEOF
40101
40102 cat >>confdefs.h <<\_ACEOF
40103 #define wxUSE_STATUSBAR 1
40104 _ACEOF
40105
40106 USES_CONTROLS=1
40107
40108 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
40109 fi
40110
40111 if test "$wxUSE_TABDIALOG" = "yes"; then
40112 cat >>confdefs.h <<\_ACEOF
40113 #define wxUSE_TAB_DIALOG 1
40114 _ACEOF
40115
40116 fi
40117
40118 if test "$wxUSE_TEXTCTRL" = "yes"; then
40119 cat >>confdefs.h <<\_ACEOF
40120 #define wxUSE_TEXTCTRL 1
40121 _ACEOF
40122
40123 USES_CONTROLS=1
40124 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
40125 fi
40126
40127 if test "$wxUSE_TOGGLEBTN" = "yes"; then
40128 if test "$wxUSE_COCOA" = 1 ; then
40129 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
40130 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
40131 wxUSE_TOGGLEBTN=no
40132 fi
40133 if test "$wxUSE_UNIVERSAL" = "yes"; then
40134 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
40135 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
40136 wxUSE_TOGGLEBTN=no
40137 fi
40138
40139 if test "$wxUSE_TOGGLEBTN" = "yes"; then
40140 cat >>confdefs.h <<\_ACEOF
40141 #define wxUSE_TOGGLEBTN 1
40142 _ACEOF
40143
40144 USES_CONTROLS=1
40145 fi
40146 fi
40147
40148 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
40149 cat >>confdefs.h <<\_ACEOF
40150 #define wxUSE_TOOLBAR_SIMPLE 1
40151 _ACEOF
40152
40153 wxUSE_TOOLBAR="yes"
40154 USES_CONTROLS=1
40155 fi
40156
40157 if test "$wxUSE_TOOLBAR" = "yes"; then
40158 cat >>confdefs.h <<\_ACEOF
40159 #define wxUSE_TOOLBAR 1
40160 _ACEOF
40161
40162 USES_CONTROLS=1
40163
40164 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
40165 wxUSE_TOOLBAR_NATIVE="yes"
40166 fi
40167
40168 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
40169 cat >>confdefs.h <<\_ACEOF
40170 #define wxUSE_TOOLBAR_NATIVE 1
40171 _ACEOF
40172
40173 USES_CONTROLS=1
40174 fi
40175
40176 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
40177 fi
40178
40179 if test "$wxUSE_TOOLTIPS" = "yes"; then
40180 if test "$wxUSE_MOTIF" = 1; then
40181 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
40182 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
40183 else
40184 if test "$wxUSE_UNIVERSAL" = "yes"; then
40185 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
40186 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
40187 else
40188 cat >>confdefs.h <<\_ACEOF
40189 #define wxUSE_TOOLTIPS 1
40190 _ACEOF
40191
40192 fi
40193 fi
40194 fi
40195
40196 if test "$wxUSE_TREECTRL" = "yes"; then
40197 if test "$wxUSE_IMAGLIST" = "yes"; then
40198 cat >>confdefs.h <<\_ACEOF
40199 #define wxUSE_TREECTRL 1
40200 _ACEOF
40201
40202 USES_CONTROLS=1
40203 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
40204 else
40205 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
40206 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
40207 fi
40208 fi
40209
40210 if test "$wxUSE_POPUPWIN" = "yes"; then
40211 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
40212 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
40213 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
40214 else
40215 if test "$wxUSE_PM" = 1; then
40216 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
40217 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
40218 else
40219 cat >>confdefs.h <<\_ACEOF
40220 #define wxUSE_POPUPWIN 1
40221 _ACEOF
40222
40223 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
40224
40225 USES_CONTROLS=1
40226 fi
40227 fi
40228 fi
40229
40230 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
40231 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
40232 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
40233 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
40234 else
40235 cat >>confdefs.h <<\_ACEOF
40236 #define wxUSE_DIALUP_MANAGER 1
40237 _ACEOF
40238
40239 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
40240 fi
40241 fi
40242
40243 if test "$wxUSE_TIPWINDOW" = "yes"; then
40244 if test "$wxUSE_PM" = 1; then
40245 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
40246 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
40247 else
40248 cat >>confdefs.h <<\_ACEOF
40249 #define wxUSE_TIPWINDOW 1
40250 _ACEOF
40251
40252 fi
40253 fi
40254
40255 if test "$USES_CONTROLS" = 1; then
40256 cat >>confdefs.h <<\_ACEOF
40257 #define wxUSE_CONTROLS 1
40258 _ACEOF
40259
40260 fi
40261
40262
40263 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
40264 cat >>confdefs.h <<\_ACEOF
40265 #define wxUSE_ACCESSIBILITY 1
40266 _ACEOF
40267
40268 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
40269 fi
40270
40271 if test "$wxUSE_DRAGIMAGE" = "yes"; then
40272 cat >>confdefs.h <<\_ACEOF
40273 #define wxUSE_DRAGIMAGE 1
40274 _ACEOF
40275
40276 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
40277 fi
40278
40279 if test "$wxUSE_EXCEPTIONS" = "yes"; then
40280 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40281 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
40282 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
40283 else
40284 cat >>confdefs.h <<\_ACEOF
40285 #define wxUSE_EXCEPTIONS 1
40286 _ACEOF
40287
40288 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
40289 fi
40290 fi
40291
40292 USE_HTML=0
40293 if test "$wxUSE_HTML" = "yes"; then
40294 cat >>confdefs.h <<\_ACEOF
40295 #define wxUSE_HTML 1
40296 _ACEOF
40297
40298 USE_HTML=1
40299 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
40300 if test "$wxUSE_MAC" = 1; then
40301 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
40302 fi
40303 fi
40304 if test "$wxUSE_WEBKIT" = "yes"; then
40305 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
40306 old_CPPFLAGS="$CPPFLAGS"
40307 CPPFLAGS="$CPPFLAGS -x objective-c++"
40308 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
40309 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
40310 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
40311 echo $ECHO_N "(cached) $ECHO_C" >&6
40312 else
40313 cat >conftest.$ac_ext <<_ACEOF
40314 /* confdefs.h. */
40315 _ACEOF
40316 cat confdefs.h >>conftest.$ac_ext
40317 cat >>conftest.$ac_ext <<_ACEOF
40318 /* end confdefs.h. */
40319 #include <Carbon/Carbon.h>
40320
40321 #include <WebKit/HIWebView.h>
40322 _ACEOF
40323 rm -f conftest.$ac_objext
40324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40325 (eval $ac_compile) 2>conftest.er1
40326 ac_status=$?
40327 grep -v '^ *+' conftest.er1 >conftest.err
40328 rm -f conftest.er1
40329 cat conftest.err >&5
40330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40331 (exit $ac_status); } &&
40332 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40334 (eval $ac_try) 2>&5
40335 ac_status=$?
40336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40337 (exit $ac_status); }; } &&
40338 { ac_try='test -s conftest.$ac_objext'
40339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40340 (eval $ac_try) 2>&5
40341 ac_status=$?
40342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40343 (exit $ac_status); }; }; then
40344 ac_cv_header_WebKit_HIWebView_h=yes
40345 else
40346 echo "$as_me: failed program was:" >&5
40347 sed 's/^/| /' conftest.$ac_ext >&5
40348
40349 ac_cv_header_WebKit_HIWebView_h=no
40350 fi
40351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40352 fi
40353 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
40354 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
40355 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
40356
40357 cat >>confdefs.h <<\_ACEOF
40358 #define wxUSE_WEBKIT 1
40359 _ACEOF
40360
40361 WEBKIT_LINK="-framework WebKit"
40362
40363 else
40364
40365 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
40366 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
40367 wxUSE_WEBKIT=no
40368
40369 fi
40370
40371
40372 CPPFLAGS="$old_CPPFLAGS"
40373 elif test "$wxUSE_COCOA" = 1; then
40374 cat >>confdefs.h <<\_ACEOF
40375 #define wxUSE_WEBKIT 1
40376 _ACEOF
40377
40378 else
40379 wxUSE_WEBKIT=no
40380 fi
40381 fi
40382
40383 USE_XRC=0
40384 if test "$wxUSE_XRC" = "yes"; then
40385 if test "$wxUSE_XML" != "yes"; then
40386 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
40387 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
40388 wxUSE_XRC=no
40389 else
40390 cat >>confdefs.h <<\_ACEOF
40391 #define wxUSE_XRC 1
40392 _ACEOF
40393
40394 USE_XRC=1
40395 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
40396 fi
40397 fi
40398
40399 if test "$wxUSE_MENUS" = "yes"; then
40400 cat >>confdefs.h <<\_ACEOF
40401 #define wxUSE_MENUS 1
40402 _ACEOF
40403
40404 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
40405 fi
40406
40407 if test "$wxUSE_METAFILE" = "yes"; then
40408 cat >>confdefs.h <<\_ACEOF
40409 #define wxUSE_METAFILE 1
40410 _ACEOF
40411
40412 fi
40413
40414 if test "$wxUSE_MIMETYPE" = "yes"; then
40415 cat >>confdefs.h <<\_ACEOF
40416 #define wxUSE_MIMETYPE 1
40417 _ACEOF
40418
40419 fi
40420
40421 if test "$wxUSE_MINIFRAME" = "yes"; then
40422 cat >>confdefs.h <<\_ACEOF
40423 #define wxUSE_MINIFRAME 1
40424 _ACEOF
40425
40426 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
40427 fi
40428
40429 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
40430 cat >>confdefs.h <<\_ACEOF
40431 #define wxUSE_SYSTEM_OPTIONS 1
40432 _ACEOF
40433
40434 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
40435 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
40436 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
40437 fi
40438 fi
40439
40440
40441 if test "$wxUSE_VALIDATORS" = "yes"; then
40442 cat >>confdefs.h <<\_ACEOF
40443 #define wxUSE_VALIDATORS 1
40444 _ACEOF
40445
40446 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
40447 fi
40448
40449 if test "$wxUSE_PALETTE" = "yes" ; then
40450 cat >>confdefs.h <<\_ACEOF
40451 #define wxUSE_PALETTE 1
40452 _ACEOF
40453
40454 fi
40455
40456 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
40457 LIBS=" -lunicows $LIBS"
40458 fi
40459
40460
40461 if test "$wxUSE_IMAGE" = "yes" ; then
40462 cat >>confdefs.h <<\_ACEOF
40463 #define wxUSE_IMAGE 1
40464 _ACEOF
40465
40466
40467 if test "$wxUSE_GIF" = "yes" ; then
40468 cat >>confdefs.h <<\_ACEOF
40469 #define wxUSE_GIF 1
40470 _ACEOF
40471
40472 fi
40473
40474 if test "$wxUSE_PCX" = "yes" ; then
40475 cat >>confdefs.h <<\_ACEOF
40476 #define wxUSE_PCX 1
40477 _ACEOF
40478
40479 fi
40480
40481 if test "$wxUSE_IFF" = "yes" ; then
40482 cat >>confdefs.h <<\_ACEOF
40483 #define wxUSE_IFF 1
40484 _ACEOF
40485
40486 fi
40487
40488 if test "$wxUSE_PNM" = "yes" ; then
40489 cat >>confdefs.h <<\_ACEOF
40490 #define wxUSE_PNM 1
40491 _ACEOF
40492
40493 fi
40494
40495 if test "$wxUSE_XPM" = "yes" ; then
40496 cat >>confdefs.h <<\_ACEOF
40497 #define wxUSE_XPM 1
40498 _ACEOF
40499
40500 fi
40501
40502 if test "$wxUSE_ICO_CUR" = "yes" ; then
40503 cat >>confdefs.h <<\_ACEOF
40504 #define wxUSE_ICO_CUR 1
40505 _ACEOF
40506
40507 fi
40508 fi
40509
40510
40511 if test "$wxUSE_CHOICEDLG" = "yes"; then
40512 cat >>confdefs.h <<\_ACEOF
40513 #define wxUSE_CHOICEDLG 1
40514 _ACEOF
40515
40516 fi
40517
40518 if test "$wxUSE_COLOURDLG" = "yes"; then
40519 cat >>confdefs.h <<\_ACEOF
40520 #define wxUSE_COLOURDLG 1
40521 _ACEOF
40522
40523 fi
40524
40525 if test "$wxUSE_FILEDLG" = "yes"; then
40526 cat >>confdefs.h <<\_ACEOF
40527 #define wxUSE_FILEDLG 1
40528 _ACEOF
40529
40530 fi
40531
40532 if test "$wxUSE_FINDREPLDLG" = "yes"; then
40533 cat >>confdefs.h <<\_ACEOF
40534 #define wxUSE_FINDREPLDLG 1
40535 _ACEOF
40536
40537 fi
40538
40539 if test "$wxUSE_FONTDLG" = "yes"; then
40540 cat >>confdefs.h <<\_ACEOF
40541 #define wxUSE_FONTDLG 1
40542 _ACEOF
40543
40544 fi
40545
40546 if test "$wxUSE_DIRDLG" = "yes"; then
40547 if test "$wxUSE_TREECTRL" != "yes"; then
40548 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
40549 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
40550 else
40551 cat >>confdefs.h <<\_ACEOF
40552 #define wxUSE_DIRDLG 1
40553 _ACEOF
40554
40555 fi
40556 fi
40557
40558 if test "$wxUSE_MSGDLG" = "yes"; then
40559 cat >>confdefs.h <<\_ACEOF
40560 #define wxUSE_MSGDLG 1
40561 _ACEOF
40562
40563 fi
40564
40565 if test "$wxUSE_NUMBERDLG" = "yes"; then
40566 cat >>confdefs.h <<\_ACEOF
40567 #define wxUSE_NUMBERDLG 1
40568 _ACEOF
40569
40570 fi
40571
40572 if test "$wxUSE_PROGRESSDLG" = "yes"; then
40573 if test "$wxUSE_CONSTRAINTS" != "yes"; then
40574 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
40575 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
40576 else
40577 cat >>confdefs.h <<\_ACEOF
40578 #define wxUSE_PROGRESSDLG 1
40579 _ACEOF
40580
40581 fi
40582 fi
40583
40584 if test "$wxUSE_SPLASH" = "yes"; then
40585 cat >>confdefs.h <<\_ACEOF
40586 #define wxUSE_SPLASH 1
40587 _ACEOF
40588
40589 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
40590 fi
40591
40592 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
40593 if test "$wxUSE_CONSTRAINTS" != "yes"; then
40594 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
40595 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
40596 else
40597 cat >>confdefs.h <<\_ACEOF
40598 #define wxUSE_STARTUP_TIPS 1
40599 _ACEOF
40600
40601 fi
40602 fi
40603
40604 if test "$wxUSE_TEXTDLG" = "yes"; then
40605 cat >>confdefs.h <<\_ACEOF
40606 #define wxUSE_TEXTDLG 1
40607 _ACEOF
40608
40609 fi
40610
40611 if test "$wxUSE_WIZARDDLG" = "yes"; then
40612 cat >>confdefs.h <<\_ACEOF
40613 #define wxUSE_WIZARDDLG 1
40614 _ACEOF
40615
40616 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
40617 fi
40618
40619
40620 if test "$wxUSE_MEDIACTRL" = "yes"; then
40621 if test "$wxUSE_GTK" = 1; then
40622 wxUSE_GSTREAMER="yes"
40623
40624
40625 succeeded=no
40626
40627 if test -z "$PKG_CONFIG"; then
40628 # Extract the first word of "pkg-config", so it can be a program name with args.
40629 set dummy pkg-config; ac_word=$2
40630 echo "$as_me:$LINENO: checking for $ac_word" >&5
40631 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40632 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
40633 echo $ECHO_N "(cached) $ECHO_C" >&6
40634 else
40635 case $PKG_CONFIG in
40636 [\\/]* | ?:[\\/]*)
40637 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
40638 ;;
40639 *)
40640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40641 for as_dir in $PATH
40642 do
40643 IFS=$as_save_IFS
40644 test -z "$as_dir" && as_dir=.
40645 for ac_exec_ext in '' $ac_executable_extensions; do
40646 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40647 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
40648 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40649 break 2
40650 fi
40651 done
40652 done
40653
40654 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
40655 ;;
40656 esac
40657 fi
40658 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
40659
40660 if test -n "$PKG_CONFIG"; then
40661 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
40662 echo "${ECHO_T}$PKG_CONFIG" >&6
40663 else
40664 echo "$as_me:$LINENO: result: no" >&5
40665 echo "${ECHO_T}no" >&6
40666 fi
40667
40668 fi
40669
40670 if test "$PKG_CONFIG" = "no" ; then
40671 echo "*** The pkg-config script could not be found. Make sure it is"
40672 echo "*** in your path, or set the PKG_CONFIG environment variable"
40673 echo "*** to the full path to pkg-config."
40674 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
40675 else
40676 PKG_CONFIG_MIN_VERSION=0.9.0
40677 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
40678 echo "$as_me:$LINENO: checking for gstreamer-0.8" >&5
40679 echo $ECHO_N "checking for gstreamer-0.8... $ECHO_C" >&6
40680
40681 if $PKG_CONFIG --exists "gstreamer-0.8" ; then
40682 echo "$as_me:$LINENO: result: yes" >&5
40683 echo "${ECHO_T}yes" >&6
40684 succeeded=yes
40685
40686 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
40687 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
40688 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-0.8"`
40689 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
40690 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
40691
40692 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
40693 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
40694 GSTREAMER_LIBS=`$PKG_CONFIG --libs "gstreamer-0.8"`
40695 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
40696 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
40697 else
40698 GSTREAMER_CFLAGS=""
40699 GSTREAMER_LIBS=""
40700 ## If we have a custom action on failure, don't print errors, but
40701 ## do set a variable so people can do so.
40702 GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.8"`
40703
40704 fi
40705
40706
40707
40708 else
40709 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
40710 echo "*** See http://www.freedesktop.org/software/pkgconfig"
40711 fi
40712 fi
40713
40714 if test $succeeded = yes; then
40715
40716 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
40717 LIBS="$LIBS $GSTREAMER_LIBS -lgstplay-0.8"
40718
40719 else
40720
40721 { echo "$as_me:$LINENO: WARNING: GStreamer installation not found" >&5
40722 echo "$as_me: WARNING: GStreamer installation not found" >&2;}
40723 wxUSE_GSTREAMER="no"
40724
40725 fi
40726
40727
40728
40729
40730
40731 if test "x$GST_INSPECT" == "x"; then
40732 # Extract the first word of "gst-inspect", so it can be a program name with args.
40733 set dummy gst-inspect; ac_word=$2
40734 echo "$as_me:$LINENO: checking for $ac_word" >&5
40735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40736 if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
40737 echo $ECHO_N "(cached) $ECHO_C" >&6
40738 else
40739 if test -n "$GST_INSPECT"; then
40740 ac_cv_prog_GST_INSPECT="$GST_INSPECT" # Let the user override the test.
40741 else
40742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40743 for as_dir in $PATH
40744 do
40745 IFS=$as_save_IFS
40746 test -z "$as_dir" && as_dir=.
40747 for ac_exec_ext in '' $ac_executable_extensions; do
40748 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40749 ac_cv_prog_GST_INSPECT="gst-inspect"
40750 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40751 break 2
40752 fi
40753 done
40754 done
40755
40756 fi
40757 fi
40758 GST_INSPECT=$ac_cv_prog_GST_INSPECT
40759 if test -n "$GST_INSPECT"; then
40760 echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
40761 echo "${ECHO_T}$GST_INSPECT" >&6
40762 else
40763 echo "$as_me:$LINENO: result: no" >&5
40764 echo "${ECHO_T}no" >&6
40765 fi
40766
40767 fi
40768
40769 if test "x$GST_INSPECT" != "x"; then
40770 echo "$as_me:$LINENO: checking GStreamer element xvimagesink" >&5
40771 echo $ECHO_N "checking GStreamer element xvimagesink... $ECHO_C" >&6
40772 if $GST_INSPECT xvimagesink > /dev/null 2> /dev/null ; then
40773 echo "$as_me:$LINENO: result: found." >&5
40774 echo "${ECHO_T}found." >&6
40775
40776 else
40777 echo "$as_me:$LINENO: result: not found." >&5
40778 echo "${ECHO_T}not found." >&6
40779
40780 wxUSE_GSTREAMER="no"
40781 { echo "$as_me:$LINENO: WARNING: x video sink not found - cannot use GStreamer" >&5
40782 echo "$as_me: WARNING: x video sink not found - cannot use GStreamer" >&2;}
40783
40784 fi
40785 fi
40786
40787
40788 echo "$as_me:$LINENO: checking for gst/xoverlay/xoverlay.h" >&5
40789 echo $ECHO_N "checking for gst/xoverlay/xoverlay.h... $ECHO_C" >&6
40790 if test "${ac_cv_header_gst_xoverlay_xoverlay_h+set}" = set; then
40791 echo $ECHO_N "(cached) $ECHO_C" >&6
40792 else
40793 cat >conftest.$ac_ext <<_ACEOF
40794 /* confdefs.h. */
40795 _ACEOF
40796 cat confdefs.h >>conftest.$ac_ext
40797 cat >>conftest.$ac_ext <<_ACEOF
40798 /* end confdefs.h. */
40799 #include <gst/gst.h>
40800
40801 #include <gst/xoverlay/xoverlay.h>
40802 _ACEOF
40803 rm -f conftest.$ac_objext
40804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40805 (eval $ac_compile) 2>conftest.er1
40806 ac_status=$?
40807 grep -v '^ *+' conftest.er1 >conftest.err
40808 rm -f conftest.er1
40809 cat conftest.err >&5
40810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40811 (exit $ac_status); } &&
40812 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40814 (eval $ac_try) 2>&5
40815 ac_status=$?
40816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40817 (exit $ac_status); }; } &&
40818 { ac_try='test -s conftest.$ac_objext'
40819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40820 (eval $ac_try) 2>&5
40821 ac_status=$?
40822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40823 (exit $ac_status); }; }; then
40824 ac_cv_header_gst_xoverlay_xoverlay_h=yes
40825 else
40826 echo "$as_me: failed program was:" >&5
40827 sed 's/^/| /' conftest.$ac_ext >&5
40828
40829 ac_cv_header_gst_xoverlay_xoverlay_h=no
40830 fi
40831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40832 fi
40833 echo "$as_me:$LINENO: result: $ac_cv_header_gst_xoverlay_xoverlay_h" >&5
40834 echo "${ECHO_T}$ac_cv_header_gst_xoverlay_xoverlay_h" >&6
40835 if test $ac_cv_header_gst_xoverlay_xoverlay_h = yes; then
40836 :
40837 else
40838
40839 wxUSE_GSTREAMER="no"
40840 { echo "$as_me:$LINENO: WARNING: xoverlay header not found, cannot use GStreamer" >&5
40841 echo "$as_me: WARNING: xoverlay header not found, cannot use GStreamer" >&2;}
40842
40843 fi
40844
40845
40846
40847 echo "$as_me:$LINENO: checking for gstplay 0.8" >&5
40848 echo $ECHO_N "checking for gstplay 0.8... $ECHO_C" >&6
40849
40850 ac_find_libraries=
40851 for ac_dir in $SEARCH_LIB /usr/lib;
40852 do
40853 for ac_extension in a so sl dylib dll.a; do
40854 if test -f "$ac_dir/libgstplay-0.8.$ac_extension"; then
40855 ac_find_libraries=$ac_dir
40856 break 2
40857 fi
40858 done
40859 done
40860
40861
40862 if test "$ac_find_libraries" = "" ; then
40863 echo "$as_me:$LINENO: result: no" >&5
40864 echo "${ECHO_T}no" >&6
40865 wxUSE_GSTREAMER="no"
40866 else
40867 echo "$as_me:$LINENO: result: yes" >&5
40868 echo "${ECHO_T}yes" >&6
40869 fi
40870
40871 if test "$wxUSE_GSTREAMER" = "yes"; then
40872 cat >>confdefs.h <<\_ACEOF
40873 #define wxUSE_GSTREAMER 1
40874 _ACEOF
40875
40876 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
40877 echo "${ECHO_T}GStreamer detection successful" >&6
40878 fi
40879 fi
40880 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
40881 cat >>confdefs.h <<\_ACEOF
40882 #define wxUSE_MEDIACTRL 1
40883 _ACEOF
40884
40885 fi
40886
40887
40888 if test "$cross_compiling" = "yes"; then
40889 OSINFO="\"$host\""
40890 else
40891 OSINFO=`uname -s -r -m`
40892 OSINFO="\"$OSINFO\""
40893 fi
40894
40895 cat >>confdefs.h <<_ACEOF
40896 #define WXWIN_OS_DESCRIPTION $OSINFO
40897 _ACEOF
40898
40899
40900
40901 if test "x$prefix" != "xNONE"; then
40902 wxPREFIX=$prefix
40903 else
40904 wxPREFIX=$ac_default_prefix
40905 fi
40906
40907 cat >>confdefs.h <<_ACEOF
40908 #define wxINSTALL_PREFIX "$wxPREFIX"
40909 _ACEOF
40910
40911
40912
40913
40914 CORE_BASE_LIBS="net base"
40915 CORE_GUI_LIBS="adv core"
40916
40917 if test "$wxUSE_XML" = "yes" ; then
40918 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
40919 fi
40920 if test "$wxUSE_ODBC" != "no" ; then
40921 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
40922 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
40923 fi
40924 if test "$wxUSE_HTML" = "yes" ; then
40925 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
40926 fi
40927 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
40928 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
40929 fi
40930 if test "$wxUSE_XRC" = "yes" ; then
40931 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
40932 fi
40933
40934 if test "$wxUSE_GUI" != "yes"; then
40935 CORE_GUI_LIBS=""
40936 fi
40937
40938
40939
40940
40941
40942
40943
40944
40945 if test "$wxUSE_MAC" = 1 ; then
40946 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
40947 if test "$USE_DARWIN" = 1; then
40948 LDFLAGS="$LDFLAGS -framework QuickTime"
40949 else
40950 LDFLAGS="$LDFLAGS -lQuickTimeLib"
40951 fi
40952 fi
40953 if test "$USE_DARWIN" = 1; then
40954 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
40955 else
40956 LDFLAGS="$LDFLAGS -lCarbonLib"
40957 fi
40958 fi
40959 if test "$wxUSE_COCOA" = 1 ; then
40960 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
40961 if test "$wxUSE_MEDIACTRL" = "yes"; then
40962 LDFLAGS="$LDFLAGS -framework QuickTime"
40963 fi
40964 fi
40965 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
40966 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
40967 fi
40968
40969
40970 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
40971
40972 have_cos=0
40973 have_floor=0
40974
40975 for ac_func in cos
40976 do
40977 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40978 echo "$as_me:$LINENO: checking for $ac_func" >&5
40979 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40980 if eval "test \"\${$as_ac_var+set}\" = set"; then
40981 echo $ECHO_N "(cached) $ECHO_C" >&6
40982 else
40983 cat >conftest.$ac_ext <<_ACEOF
40984 /* confdefs.h. */
40985 _ACEOF
40986 cat confdefs.h >>conftest.$ac_ext
40987 cat >>conftest.$ac_ext <<_ACEOF
40988 /* end confdefs.h. */
40989 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40990 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40991 #define $ac_func innocuous_$ac_func
40992
40993 /* System header to define __stub macros and hopefully few prototypes,
40994 which can conflict with char $ac_func (); below.
40995 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40996 <limits.h> exists even on freestanding compilers. */
40997
40998 #ifdef __STDC__
40999 # include <limits.h>
41000 #else
41001 # include <assert.h>
41002 #endif
41003
41004 #undef $ac_func
41005
41006 /* Override any gcc2 internal prototype to avoid an error. */
41007 #ifdef __cplusplus
41008 extern "C"
41009 {
41010 #endif
41011 /* We use char because int might match the return type of a gcc2
41012 builtin and then its argument prototype would still apply. */
41013 char $ac_func ();
41014 /* The GNU C library defines this for functions which it implements
41015 to always fail with ENOSYS. Some functions are actually named
41016 something starting with __ and the normal name is an alias. */
41017 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41018 choke me
41019 #else
41020 char (*f) () = $ac_func;
41021 #endif
41022 #ifdef __cplusplus
41023 }
41024 #endif
41025
41026 int
41027 main ()
41028 {
41029 return f != $ac_func;
41030 ;
41031 return 0;
41032 }
41033 _ACEOF
41034 rm -f conftest.$ac_objext conftest$ac_exeext
41035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41036 (eval $ac_link) 2>conftest.er1
41037 ac_status=$?
41038 grep -v '^ *+' conftest.er1 >conftest.err
41039 rm -f conftest.er1
41040 cat conftest.err >&5
41041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41042 (exit $ac_status); } &&
41043 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41045 (eval $ac_try) 2>&5
41046 ac_status=$?
41047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41048 (exit $ac_status); }; } &&
41049 { ac_try='test -s conftest$ac_exeext'
41050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41051 (eval $ac_try) 2>&5
41052 ac_status=$?
41053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41054 (exit $ac_status); }; }; then
41055 eval "$as_ac_var=yes"
41056 else
41057 echo "$as_me: failed program was:" >&5
41058 sed 's/^/| /' conftest.$ac_ext >&5
41059
41060 eval "$as_ac_var=no"
41061 fi
41062 rm -f conftest.err conftest.$ac_objext \
41063 conftest$ac_exeext conftest.$ac_ext
41064 fi
41065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41066 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41067 if test `eval echo '${'$as_ac_var'}'` = yes; then
41068 cat >>confdefs.h <<_ACEOF
41069 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41070 _ACEOF
41071 have_cos=1
41072 fi
41073 done
41074
41075
41076 for ac_func in floor
41077 do
41078 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41079 echo "$as_me:$LINENO: checking for $ac_func" >&5
41080 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41081 if eval "test \"\${$as_ac_var+set}\" = set"; then
41082 echo $ECHO_N "(cached) $ECHO_C" >&6
41083 else
41084 cat >conftest.$ac_ext <<_ACEOF
41085 /* confdefs.h. */
41086 _ACEOF
41087 cat confdefs.h >>conftest.$ac_ext
41088 cat >>conftest.$ac_ext <<_ACEOF
41089 /* end confdefs.h. */
41090 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41091 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41092 #define $ac_func innocuous_$ac_func
41093
41094 /* System header to define __stub macros and hopefully few prototypes,
41095 which can conflict with char $ac_func (); below.
41096 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41097 <limits.h> exists even on freestanding compilers. */
41098
41099 #ifdef __STDC__
41100 # include <limits.h>
41101 #else
41102 # include <assert.h>
41103 #endif
41104
41105 #undef $ac_func
41106
41107 /* Override any gcc2 internal prototype to avoid an error. */
41108 #ifdef __cplusplus
41109 extern "C"
41110 {
41111 #endif
41112 /* We use char because int might match the return type of a gcc2
41113 builtin and then its argument prototype would still apply. */
41114 char $ac_func ();
41115 /* The GNU C library defines this for functions which it implements
41116 to always fail with ENOSYS. Some functions are actually named
41117 something starting with __ and the normal name is an alias. */
41118 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41119 choke me
41120 #else
41121 char (*f) () = $ac_func;
41122 #endif
41123 #ifdef __cplusplus
41124 }
41125 #endif
41126
41127 int
41128 main ()
41129 {
41130 return f != $ac_func;
41131 ;
41132 return 0;
41133 }
41134 _ACEOF
41135 rm -f conftest.$ac_objext conftest$ac_exeext
41136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41137 (eval $ac_link) 2>conftest.er1
41138 ac_status=$?
41139 grep -v '^ *+' conftest.er1 >conftest.err
41140 rm -f conftest.er1
41141 cat conftest.err >&5
41142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41143 (exit $ac_status); } &&
41144 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41146 (eval $ac_try) 2>&5
41147 ac_status=$?
41148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41149 (exit $ac_status); }; } &&
41150 { ac_try='test -s conftest$ac_exeext'
41151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41152 (eval $ac_try) 2>&5
41153 ac_status=$?
41154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41155 (exit $ac_status); }; }; then
41156 eval "$as_ac_var=yes"
41157 else
41158 echo "$as_me: failed program was:" >&5
41159 sed 's/^/| /' conftest.$ac_ext >&5
41160
41161 eval "$as_ac_var=no"
41162 fi
41163 rm -f conftest.err conftest.$ac_objext \
41164 conftest$ac_exeext conftest.$ac_ext
41165 fi
41166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41167 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41168 if test `eval echo '${'$as_ac_var'}'` = yes; then
41169 cat >>confdefs.h <<_ACEOF
41170 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41171 _ACEOF
41172 have_floor=1
41173 fi
41174 done
41175
41176 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
41177 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
41178 if test "$have_cos" = 1 -a "$have_floor" = 1; then
41179 echo "$as_me:$LINENO: result: yes" >&5
41180 echo "${ECHO_T}yes" >&6
41181 else
41182 echo "$as_me:$LINENO: result: no" >&5
41183 echo "${ECHO_T}no" >&6
41184 LIBS="$LIBS -lm"
41185 # use different functions to avoid configure caching
41186 have_sin=0
41187 have_ceil=0
41188
41189 for ac_func in sin
41190 do
41191 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41192 echo "$as_me:$LINENO: checking for $ac_func" >&5
41193 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41194 if eval "test \"\${$as_ac_var+set}\" = set"; then
41195 echo $ECHO_N "(cached) $ECHO_C" >&6
41196 else
41197 cat >conftest.$ac_ext <<_ACEOF
41198 /* confdefs.h. */
41199 _ACEOF
41200 cat confdefs.h >>conftest.$ac_ext
41201 cat >>conftest.$ac_ext <<_ACEOF
41202 /* end confdefs.h. */
41203 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41204 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41205 #define $ac_func innocuous_$ac_func
41206
41207 /* System header to define __stub macros and hopefully few prototypes,
41208 which can conflict with char $ac_func (); below.
41209 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41210 <limits.h> exists even on freestanding compilers. */
41211
41212 #ifdef __STDC__
41213 # include <limits.h>
41214 #else
41215 # include <assert.h>
41216 #endif
41217
41218 #undef $ac_func
41219
41220 /* Override any gcc2 internal prototype to avoid an error. */
41221 #ifdef __cplusplus
41222 extern "C"
41223 {
41224 #endif
41225 /* We use char because int might match the return type of a gcc2
41226 builtin and then its argument prototype would still apply. */
41227 char $ac_func ();
41228 /* The GNU C library defines this for functions which it implements
41229 to always fail with ENOSYS. Some functions are actually named
41230 something starting with __ and the normal name is an alias. */
41231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41232 choke me
41233 #else
41234 char (*f) () = $ac_func;
41235 #endif
41236 #ifdef __cplusplus
41237 }
41238 #endif
41239
41240 int
41241 main ()
41242 {
41243 return f != $ac_func;
41244 ;
41245 return 0;
41246 }
41247 _ACEOF
41248 rm -f conftest.$ac_objext conftest$ac_exeext
41249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41250 (eval $ac_link) 2>conftest.er1
41251 ac_status=$?
41252 grep -v '^ *+' conftest.er1 >conftest.err
41253 rm -f conftest.er1
41254 cat conftest.err >&5
41255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41256 (exit $ac_status); } &&
41257 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41259 (eval $ac_try) 2>&5
41260 ac_status=$?
41261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41262 (exit $ac_status); }; } &&
41263 { ac_try='test -s conftest$ac_exeext'
41264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41265 (eval $ac_try) 2>&5
41266 ac_status=$?
41267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41268 (exit $ac_status); }; }; then
41269 eval "$as_ac_var=yes"
41270 else
41271 echo "$as_me: failed program was:" >&5
41272 sed 's/^/| /' conftest.$ac_ext >&5
41273
41274 eval "$as_ac_var=no"
41275 fi
41276 rm -f conftest.err conftest.$ac_objext \
41277 conftest$ac_exeext conftest.$ac_ext
41278 fi
41279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41280 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41281 if test `eval echo '${'$as_ac_var'}'` = yes; then
41282 cat >>confdefs.h <<_ACEOF
41283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41284 _ACEOF
41285 have_sin=1
41286 fi
41287 done
41288
41289
41290 for ac_func in ceil
41291 do
41292 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41293 echo "$as_me:$LINENO: checking for $ac_func" >&5
41294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41295 if eval "test \"\${$as_ac_var+set}\" = set"; then
41296 echo $ECHO_N "(cached) $ECHO_C" >&6
41297 else
41298 cat >conftest.$ac_ext <<_ACEOF
41299 /* confdefs.h. */
41300 _ACEOF
41301 cat confdefs.h >>conftest.$ac_ext
41302 cat >>conftest.$ac_ext <<_ACEOF
41303 /* end confdefs.h. */
41304 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41306 #define $ac_func innocuous_$ac_func
41307
41308 /* System header to define __stub macros and hopefully few prototypes,
41309 which can conflict with char $ac_func (); below.
41310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41311 <limits.h> exists even on freestanding compilers. */
41312
41313 #ifdef __STDC__
41314 # include <limits.h>
41315 #else
41316 # include <assert.h>
41317 #endif
41318
41319 #undef $ac_func
41320
41321 /* Override any gcc2 internal prototype to avoid an error. */
41322 #ifdef __cplusplus
41323 extern "C"
41324 {
41325 #endif
41326 /* We use char because int might match the return type of a gcc2
41327 builtin and then its argument prototype would still apply. */
41328 char $ac_func ();
41329 /* The GNU C library defines this for functions which it implements
41330 to always fail with ENOSYS. Some functions are actually named
41331 something starting with __ and the normal name is an alias. */
41332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41333 choke me
41334 #else
41335 char (*f) () = $ac_func;
41336 #endif
41337 #ifdef __cplusplus
41338 }
41339 #endif
41340
41341 int
41342 main ()
41343 {
41344 return f != $ac_func;
41345 ;
41346 return 0;
41347 }
41348 _ACEOF
41349 rm -f conftest.$ac_objext conftest$ac_exeext
41350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41351 (eval $ac_link) 2>conftest.er1
41352 ac_status=$?
41353 grep -v '^ *+' conftest.er1 >conftest.err
41354 rm -f conftest.er1
41355 cat conftest.err >&5
41356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41357 (exit $ac_status); } &&
41358 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41360 (eval $ac_try) 2>&5
41361 ac_status=$?
41362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41363 (exit $ac_status); }; } &&
41364 { ac_try='test -s conftest$ac_exeext'
41365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41366 (eval $ac_try) 2>&5
41367 ac_status=$?
41368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41369 (exit $ac_status); }; }; then
41370 eval "$as_ac_var=yes"
41371 else
41372 echo "$as_me: failed program was:" >&5
41373 sed 's/^/| /' conftest.$ac_ext >&5
41374
41375 eval "$as_ac_var=no"
41376 fi
41377 rm -f conftest.err conftest.$ac_objext \
41378 conftest$ac_exeext conftest.$ac_ext
41379 fi
41380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41381 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41382 if test `eval echo '${'$as_ac_var'}'` = yes; then
41383 cat >>confdefs.h <<_ACEOF
41384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41385 _ACEOF
41386 have_ceil=1
41387 fi
41388 done
41389
41390 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
41391 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
41392 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
41393 echo "$as_me:$LINENO: result: yes" >&5
41394 echo "${ECHO_T}yes" >&6
41395 else
41396 echo "$as_me:$LINENO: result: no" >&5
41397 echo "${ECHO_T}no" >&6
41398 # not sure we should warn the user, crash, etc.
41399 fi
41400 fi
41401
41402 if test "$wxUSE_GUI" = "yes"; then
41403
41404
41405 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
41406 dynamic erase event exec font image minimal mobile \
41407 mobile/wxedit mobile/styles propsize render \
41408 richedit rotate shaped vscroll widgets"
41409
41410 if test "$wxUSE_MONOLITHIC" != "yes"; then
41411 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
41412 fi
41413 if test "$TOOLKIT" = "MSW"; then
41414 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
41415 if test "$wxUSE_UNIVERSAL" != "yes"; then
41416 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
41417 fi
41418 fi
41419 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
41420 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
41421 fi
41422 else
41423 SAMPLES_SUBDIRS="console"
41424 fi
41425
41426
41427 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
41428 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
41429
41430 if test "$GXX" = yes ; then
41431 CWARNINGS="-Wall -Wundef"
41432 CXXWARNINGS="$CWARNINGS -Wno-ctor-dtor-privacy"
41433 fi
41434
41435 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
41436
41437 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
41438 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CWARNINGS`
41439 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
41440
41441 if test "x$MWCC" = "xyes"; then
41442
41443 CC="$CC -cwd source -I-"
41444 CXX="$CXX -cwd source -I-"
41445 fi
41446
41447
41448 LIBS=`echo $LIBS`
41449 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
41450 EXTRALIBS_XML="$EXPAT_LINK"
41451 EXTRALIBS_HTML="$MSPACK_LINK"
41452 EXTRALIBS_ODBC="$ODBC_LINK"
41453 if test "$wxUSE_GUI" = "yes"; then
41454 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_GNOMEPRINT`
41455 fi
41456 if test "$wxUSE_OPENGL" = "yes"; then
41457 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
41458 fi
41459
41460 LDFLAGS="$LDFLAGS $PROFILE"
41461
41462 if test "$wxUSE_GTK" = 1; then
41463 WXCONFIG_INCLUDE=
41464 else
41465 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
41466 fi
41467
41468 WXCONFIG_EXTRALIBS="$LIBS"
41469
41470 if test "$wxUSE_REGEX" = "builtin" ; then
41471 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
41472 fi
41473 if test "$wxUSE_EXPAT" = "builtin" ; then
41474 wxconfig_3rdparty="expat $wxconfig_3rdparty"
41475 fi
41476 if test "$wxUSE_ODBC" = "builtin" ; then
41477 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
41478 fi
41479 if test "$wxUSE_LIBTIFF" = "builtin" ; then
41480 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
41481 fi
41482 if test "$wxUSE_LIBJPEG" = "builtin" ; then
41483 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
41484 fi
41485 if test "$wxUSE_LIBPNG" = "builtin" ; then
41486 wxconfig_3rdparty="png $wxconfig_3rdparty"
41487 fi
41488 if test "$wxUSE_ZLIB" = "builtin" ; then
41489 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
41490 fi
41491
41492 for i in $wxconfig_3rdparty ; do
41493 WXCONFIG_EXTRALIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_EXTRALIBS"
41494 done
41495
41496
41497 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
41498 WXUNIV=1
41499 else
41500 WXUNIV=0
41501 fi
41502
41503
41504
41505
41506
41507
41508
41509
41510
41511 if test $wxUSE_MONOLITHIC = "yes" ; then
41512 MONOLITHIC=1
41513 else
41514 MONOLITHIC=0
41515 fi
41516
41517 if test $wxUSE_PLUGINS = "yes" ; then
41518 USE_PLUGINS=1
41519 else
41520 USE_PLUGINS=0
41521 fi
41522
41523 if test $wxUSE_ODBC != "no" ; then
41524 USE_ODBC=1
41525 else
41526 USE_ODBC=0
41527 fi
41528
41529 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
41530 USE_QA=1
41531 else
41532 USE_QA=0
41533 fi
41534
41535 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
41536 OFFICIAL_BUILD=1
41537 else
41538 OFFICIAL_BUILD=0
41539 fi
41540
41541
41542
41543
41544
41545
41546
41547
41548
41549
41550
41551
41552
41553
41554
41555
41556
41557
41558
41559
41560
41561
41562
41563 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
41564
41565
41566
41567
41568
41569
41570
41571
41572 case "$TOOLKIT" in
41573 GTK)
41574 TOOLKIT_USER="GTK+"
41575 if test "$WXGTK20" = 1; then
41576 TOOLKIT_USER="$TOOLKIT_USER 2"
41577 fi
41578 ;;
41579
41580 *)
41581 TOOLKIT_USER=$TOOLKIT_LOWERCASE
41582 ;;
41583 esac
41584
41585 if test "$wxUSE_WINE" = "yes"; then
41586 BAKEFILE_FORCE_PLATFORM=win32
41587 fi
41588
41589
41590
41591
41592 if test "x$BAKEFILE_HOST" = "x"; then
41593 BAKEFILE_HOST="${host}"
41594 fi
41595
41596 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
41597
41598 if test -n "$ac_tool_prefix"; then
41599 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
41600 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
41601 echo "$as_me:$LINENO: checking for $ac_word" >&5
41602 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41603 if test "${ac_cv_prog_RANLIB+set}" = set; then
41604 echo $ECHO_N "(cached) $ECHO_C" >&6
41605 else
41606 if test -n "$RANLIB"; then
41607 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
41608 else
41609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41610 for as_dir in $PATH
41611 do
41612 IFS=$as_save_IFS
41613 test -z "$as_dir" && as_dir=.
41614 for ac_exec_ext in '' $ac_executable_extensions; do
41615 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41616 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
41617 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41618 break 2
41619 fi
41620 done
41621 done
41622
41623 fi
41624 fi
41625 RANLIB=$ac_cv_prog_RANLIB
41626 if test -n "$RANLIB"; then
41627 echo "$as_me:$LINENO: result: $RANLIB" >&5
41628 echo "${ECHO_T}$RANLIB" >&6
41629 else
41630 echo "$as_me:$LINENO: result: no" >&5
41631 echo "${ECHO_T}no" >&6
41632 fi
41633
41634 fi
41635 if test -z "$ac_cv_prog_RANLIB"; then
41636 ac_ct_RANLIB=$RANLIB
41637 # Extract the first word of "ranlib", so it can be a program name with args.
41638 set dummy ranlib; ac_word=$2
41639 echo "$as_me:$LINENO: checking for $ac_word" >&5
41640 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41641 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
41642 echo $ECHO_N "(cached) $ECHO_C" >&6
41643 else
41644 if test -n "$ac_ct_RANLIB"; then
41645 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
41646 else
41647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41648 for as_dir in $PATH
41649 do
41650 IFS=$as_save_IFS
41651 test -z "$as_dir" && as_dir=.
41652 for ac_exec_ext in '' $ac_executable_extensions; do
41653 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41654 ac_cv_prog_ac_ct_RANLIB="ranlib"
41655 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41656 break 2
41657 fi
41658 done
41659 done
41660
41661 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
41662 fi
41663 fi
41664 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
41665 if test -n "$ac_ct_RANLIB"; then
41666 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
41667 echo "${ECHO_T}$ac_ct_RANLIB" >&6
41668 else
41669 echo "$as_me:$LINENO: result: no" >&5
41670 echo "${ECHO_T}no" >&6
41671 fi
41672
41673 RANLIB=$ac_ct_RANLIB
41674 else
41675 RANLIB="$ac_cv_prog_RANLIB"
41676 fi
41677
41678 # Find a good install program. We prefer a C program (faster),
41679 # so one script is as good as another. But avoid the broken or
41680 # incompatible versions:
41681 # SysV /etc/install, /usr/sbin/install
41682 # SunOS /usr/etc/install
41683 # IRIX /sbin/install
41684 # AIX /bin/install
41685 # AmigaOS /C/install, which installs bootblocks on floppy discs
41686 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
41687 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
41688 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
41689 # OS/2's system install, which has a completely different semantic
41690 # ./install, which can be erroneously created by make from ./install.sh.
41691 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
41692 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
41693 if test -z "$INSTALL"; then
41694 if test "${ac_cv_path_install+set}" = set; then
41695 echo $ECHO_N "(cached) $ECHO_C" >&6
41696 else
41697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41698 for as_dir in $PATH
41699 do
41700 IFS=$as_save_IFS
41701 test -z "$as_dir" && as_dir=.
41702 # Account for people who put trailing slashes in PATH elements.
41703 case $as_dir/ in
41704 ./ | .// | /cC/* | \
41705 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
41706 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
41707 /usr/ucb/* ) ;;
41708 *)
41709 # OSF1 and SCO ODT 3.0 have their own names for install.
41710 # Don't use installbsd from OSF since it installs stuff as root
41711 # by default.
41712 for ac_prog in ginstall scoinst install; do
41713 for ac_exec_ext in '' $ac_executable_extensions; do
41714 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
41715 if test $ac_prog = install &&
41716 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
41717 # AIX install. It has an incompatible calling convention.
41718 :
41719 elif test $ac_prog = install &&
41720 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
41721 # program-specific install script used by HP pwplus--don't use.
41722 :
41723 else
41724 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
41725 break 3
41726 fi
41727 fi
41728 done
41729 done
41730 ;;
41731 esac
41732 done
41733
41734
41735 fi
41736 if test "${ac_cv_path_install+set}" = set; then
41737 INSTALL=$ac_cv_path_install
41738 else
41739 # As a last resort, use the slow shell script. We don't cache a
41740 # path for INSTALL within a source directory, because that will
41741 # break other packages using the cache if that directory is
41742 # removed, or if the path is relative.
41743 INSTALL=$ac_install_sh
41744 fi
41745 fi
41746 echo "$as_me:$LINENO: result: $INSTALL" >&5
41747 echo "${ECHO_T}$INSTALL" >&6
41748
41749 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
41750 # It thinks the first close brace ends the variable substitution.
41751 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
41752
41753 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
41754
41755 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
41756
41757 echo "$as_me:$LINENO: checking whether ln -s works" >&5
41758 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
41759 LN_S=$as_ln_s
41760 if test "$LN_S" = "ln -s"; then
41761 echo "$as_me:$LINENO: result: yes" >&5
41762 echo "${ECHO_T}yes" >&6
41763 else
41764 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
41765 echo "${ECHO_T}no, using $LN_S" >&6
41766 fi
41767
41768
41769 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41770 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
41771 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
41772 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
41773 echo $ECHO_N "(cached) $ECHO_C" >&6
41774 else
41775 cat >conftest.make <<\_ACEOF
41776 all:
41777 @echo 'ac_maketemp="$(MAKE)"'
41778 _ACEOF
41779 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
41780 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
41781 if test -n "$ac_maketemp"; then
41782 eval ac_cv_prog_make_${ac_make}_set=yes
41783 else
41784 eval ac_cv_prog_make_${ac_make}_set=no
41785 fi
41786 rm -f conftest.make
41787 fi
41788 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
41789 echo "$as_me:$LINENO: result: yes" >&5
41790 echo "${ECHO_T}yes" >&6
41791 SET_MAKE=
41792 else
41793 echo "$as_me:$LINENO: result: no" >&5
41794 echo "${ECHO_T}no" >&6
41795 SET_MAKE="MAKE=${MAKE-make}"
41796 fi
41797
41798
41799
41800 if test -n "$ac_tool_prefix"; then
41801 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
41802 set dummy ${ac_tool_prefix}ar; ac_word=$2
41803 echo "$as_me:$LINENO: checking for $ac_word" >&5
41804 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41805 if test "${ac_cv_prog_AR+set}" = set; then
41806 echo $ECHO_N "(cached) $ECHO_C" >&6
41807 else
41808 if test -n "$AR"; then
41809 ac_cv_prog_AR="$AR" # Let the user override the test.
41810 else
41811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41812 for as_dir in $PATH
41813 do
41814 IFS=$as_save_IFS
41815 test -z "$as_dir" && as_dir=.
41816 for ac_exec_ext in '' $ac_executable_extensions; do
41817 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41818 ac_cv_prog_AR="${ac_tool_prefix}ar"
41819 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41820 break 2
41821 fi
41822 done
41823 done
41824
41825 fi
41826 fi
41827 AR=$ac_cv_prog_AR
41828 if test -n "$AR"; then
41829 echo "$as_me:$LINENO: result: $AR" >&5
41830 echo "${ECHO_T}$AR" >&6
41831 else
41832 echo "$as_me:$LINENO: result: no" >&5
41833 echo "${ECHO_T}no" >&6
41834 fi
41835
41836 fi
41837 if test -z "$ac_cv_prog_AR"; then
41838 ac_ct_AR=$AR
41839 # Extract the first word of "ar", so it can be a program name with args.
41840 set dummy ar; ac_word=$2
41841 echo "$as_me:$LINENO: checking for $ac_word" >&5
41842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41843 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
41844 echo $ECHO_N "(cached) $ECHO_C" >&6
41845 else
41846 if test -n "$ac_ct_AR"; then
41847 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
41848 else
41849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41850 for as_dir in $PATH
41851 do
41852 IFS=$as_save_IFS
41853 test -z "$as_dir" && as_dir=.
41854 for ac_exec_ext in '' $ac_executable_extensions; do
41855 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41856 ac_cv_prog_ac_ct_AR="ar"
41857 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41858 break 2
41859 fi
41860 done
41861 done
41862
41863 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
41864 fi
41865 fi
41866 ac_ct_AR=$ac_cv_prog_ac_ct_AR
41867 if test -n "$ac_ct_AR"; then
41868 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
41869 echo "${ECHO_T}$ac_ct_AR" >&6
41870 else
41871 echo "$as_me:$LINENO: result: no" >&5
41872 echo "${ECHO_T}no" >&6
41873 fi
41874
41875 AR=$ac_ct_AR
41876 else
41877 AR="$ac_cv_prog_AR"
41878 fi
41879
41880 if test -n "$ac_tool_prefix"; then
41881 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
41882 set dummy ${ac_tool_prefix}strip; ac_word=$2
41883 echo "$as_me:$LINENO: checking for $ac_word" >&5
41884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41885 if test "${ac_cv_prog_STRIP+set}" = set; then
41886 echo $ECHO_N "(cached) $ECHO_C" >&6
41887 else
41888 if test -n "$STRIP"; then
41889 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
41890 else
41891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41892 for as_dir in $PATH
41893 do
41894 IFS=$as_save_IFS
41895 test -z "$as_dir" && as_dir=.
41896 for ac_exec_ext in '' $ac_executable_extensions; do
41897 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41898 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
41899 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41900 break 2
41901 fi
41902 done
41903 done
41904
41905 fi
41906 fi
41907 STRIP=$ac_cv_prog_STRIP
41908 if test -n "$STRIP"; then
41909 echo "$as_me:$LINENO: result: $STRIP" >&5
41910 echo "${ECHO_T}$STRIP" >&6
41911 else
41912 echo "$as_me:$LINENO: result: no" >&5
41913 echo "${ECHO_T}no" >&6
41914 fi
41915
41916 fi
41917 if test -z "$ac_cv_prog_STRIP"; then
41918 ac_ct_STRIP=$STRIP
41919 # Extract the first word of "strip", so it can be a program name with args.
41920 set dummy strip; ac_word=$2
41921 echo "$as_me:$LINENO: checking for $ac_word" >&5
41922 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41923 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
41924 echo $ECHO_N "(cached) $ECHO_C" >&6
41925 else
41926 if test -n "$ac_ct_STRIP"; then
41927 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
41928 else
41929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41930 for as_dir in $PATH
41931 do
41932 IFS=$as_save_IFS
41933 test -z "$as_dir" && as_dir=.
41934 for ac_exec_ext in '' $ac_executable_extensions; do
41935 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41936 ac_cv_prog_ac_ct_STRIP="strip"
41937 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41938 break 2
41939 fi
41940 done
41941 done
41942
41943 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
41944 fi
41945 fi
41946 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
41947 if test -n "$ac_ct_STRIP"; then
41948 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
41949 echo "${ECHO_T}$ac_ct_STRIP" >&6
41950 else
41951 echo "$as_me:$LINENO: result: no" >&5
41952 echo "${ECHO_T}no" >&6
41953 fi
41954
41955 STRIP=$ac_ct_STRIP
41956 else
41957 STRIP="$ac_cv_prog_STRIP"
41958 fi
41959
41960 if test -n "$ac_tool_prefix"; then
41961 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
41962 set dummy ${ac_tool_prefix}nm; ac_word=$2
41963 echo "$as_me:$LINENO: checking for $ac_word" >&5
41964 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41965 if test "${ac_cv_prog_NM+set}" = set; then
41966 echo $ECHO_N "(cached) $ECHO_C" >&6
41967 else
41968 if test -n "$NM"; then
41969 ac_cv_prog_NM="$NM" # Let the user override the test.
41970 else
41971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41972 for as_dir in $PATH
41973 do
41974 IFS=$as_save_IFS
41975 test -z "$as_dir" && as_dir=.
41976 for ac_exec_ext in '' $ac_executable_extensions; do
41977 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41978 ac_cv_prog_NM="${ac_tool_prefix}nm"
41979 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41980 break 2
41981 fi
41982 done
41983 done
41984
41985 fi
41986 fi
41987 NM=$ac_cv_prog_NM
41988 if test -n "$NM"; then
41989 echo "$as_me:$LINENO: result: $NM" >&5
41990 echo "${ECHO_T}$NM" >&6
41991 else
41992 echo "$as_me:$LINENO: result: no" >&5
41993 echo "${ECHO_T}no" >&6
41994 fi
41995
41996 fi
41997 if test -z "$ac_cv_prog_NM"; then
41998 ac_ct_NM=$NM
41999 # Extract the first word of "nm", so it can be a program name with args.
42000 set dummy nm; ac_word=$2
42001 echo "$as_me:$LINENO: checking for $ac_word" >&5
42002 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42003 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
42004 echo $ECHO_N "(cached) $ECHO_C" >&6
42005 else
42006 if test -n "$ac_ct_NM"; then
42007 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
42008 else
42009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42010 for as_dir in $PATH
42011 do
42012 IFS=$as_save_IFS
42013 test -z "$as_dir" && as_dir=.
42014 for ac_exec_ext in '' $ac_executable_extensions; do
42015 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42016 ac_cv_prog_ac_ct_NM="nm"
42017 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42018 break 2
42019 fi
42020 done
42021 done
42022
42023 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
42024 fi
42025 fi
42026 ac_ct_NM=$ac_cv_prog_ac_ct_NM
42027 if test -n "$ac_ct_NM"; then
42028 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
42029 echo "${ECHO_T}$ac_ct_NM" >&6
42030 else
42031 echo "$as_me:$LINENO: result: no" >&5
42032 echo "${ECHO_T}no" >&6
42033 fi
42034
42035 NM=$ac_ct_NM
42036 else
42037 NM="$ac_cv_prog_NM"
42038 fi
42039
42040
42041 case ${BAKEFILE_HOST} in
42042 *-hp-hpux* )
42043 INSTALL_DIR="mkdir -p"
42044 ;;
42045 *) INSTALL_DIR="$INSTALL -d"
42046 ;;
42047 esac
42048
42049
42050 LDFLAGS_GUI=
42051 case ${BAKEFILE_HOST} in
42052 *-*-cygwin* | *-*-mingw32* )
42053 LDFLAGS_GUI="-mwindows"
42054 esac
42055
42056
42057 fi
42058
42059 echo "$as_me:$LINENO: checking if make is GNU make" >&5
42060 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
42061 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
42062 echo $ECHO_N "(cached) $ECHO_C" >&6
42063 else
42064
42065 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
42066 egrep -s GNU > /dev/null); then
42067 bakefile_cv_prog_makeisgnu="yes"
42068 else
42069 bakefile_cv_prog_makeisgnu="no"
42070 fi
42071
42072 fi
42073 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
42074 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
42075
42076 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
42077 IF_GNU_MAKE=""
42078 else
42079 IF_GNU_MAKE="#"
42080 fi
42081
42082
42083
42084 PLATFORM_UNIX=0
42085 PLATFORM_WIN32=0
42086 PLATFORM_MSDOS=0
42087 PLATFORM_MAC=0
42088 PLATFORM_MACOS=0
42089 PLATFORM_MACOSX=0
42090 PLATFORM_OS2=0
42091 PLATFORM_BEOS=0
42092
42093 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
42094 case "${BAKEFILE_HOST}" in
42095 *-*-mingw32* )
42096 PLATFORM_WIN32=1
42097 ;;
42098 *-pc-msdosdjgpp )
42099 PLATFORM_MSDOS=1
42100 ;;
42101 *-pc-os2_emx | *-pc-os2-emx )
42102 PLATFORM_OS2=1
42103 ;;
42104 powerpc-*-darwin* )
42105 PLATFORM_MAC=1
42106 PLATFORM_MACOSX=1
42107 ;;
42108 *-*-beos* )
42109 PLATFORM_BEOS=1
42110 ;;
42111 powerpc-apple-macos* )
42112 PLATFORM_MAC=1
42113 PLATFORM_MACOS=1
42114 ;;
42115 * )
42116 PLATFORM_UNIX=1
42117 ;;
42118 esac
42119 else
42120 case "$BAKEFILE_FORCE_PLATFORM" in
42121 win32 )
42122 PLATFORM_WIN32=1
42123 ;;
42124 msdos )
42125 PLATFORM_MSDOS=1
42126 ;;
42127 os2 )
42128 PLATFORM_OS2=1
42129 ;;
42130 darwin )
42131 PLATFORM_MAC=1
42132 PLATFORM_MACOSX=1
42133 ;;
42134 unix )
42135 PLATFORM_UNIX=1
42136 ;;
42137 beos )
42138 PLATFORM_BEOS=1
42139 ;;
42140 * )
42141 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
42142 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
42143 { (exit 1); exit 1; }; }
42144 ;;
42145 esac
42146 fi
42147
42148
42149
42150
42151
42152
42153
42154
42155
42156
42157
42158 # Check whether --enable-omf or --disable-omf was given.
42159 if test "${enable_omf+set}" = set; then
42160 enableval="$enable_omf"
42161 bk_os2_use_omf="$enableval"
42162 fi;
42163
42164 case "${BAKEFILE_HOST}" in
42165 *-*-darwin* )
42166 CFLAGS="$CFLAGS -fno-common"
42167 CXXFLAGS="$CXXFLAGS -fno-common"
42168 ;;
42169
42170 *-pc-os2_emx | *-pc-os2-emx )
42171 if test "x$bk_os2_use_omf" = "xyes" ; then
42172 AR=emxomfar
42173 RANLIB=:
42174 LDFLAGS="-Zomf $LDFLAGS"
42175 CFLAGS="-Zomf $CFLAGS"
42176 CXXFLAGS="-Zomf $CXXFLAGS"
42177 OS2_LIBEXT="lib"
42178 else
42179 OS2_LIBEXT="a"
42180 fi
42181 ;;
42182
42183 i*86-*-beos* )
42184 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
42185 ;;
42186 esac
42187
42188
42189 SO_SUFFIX="so"
42190 SO_SUFFIX_MODULE="so"
42191 EXEEXT=""
42192 LIBPREFIX="lib"
42193 LIBEXT=".a"
42194 DLLPREFIX="lib"
42195 DLLPREFIX_MODULE=""
42196 DLLIMP_SUFFIX=""
42197 dlldir="$libdir"
42198
42199 case "${BAKEFILE_HOST}" in
42200 *-hp-hpux* )
42201 SO_SUFFIX="sl"
42202 SO_SUFFIX_MODULE="sl"
42203 ;;
42204 *-*-aix* )
42205 SO_SUFFIX="a"
42206 SO_SUFFIX_MODULE="a"
42207 ;;
42208 *-*-cygwin* )
42209 SO_SUFFIX="dll"
42210 SO_SUFFIX_MODULE="dll"
42211 DLLIMP_SUFFIX="dll.a"
42212 EXEEXT=".exe"
42213 DLLPREFIX="cyg"
42214 dlldir="$bindir"
42215 ;;
42216 *-*-mingw32* )
42217 SO_SUFFIX="dll"
42218 SO_SUFFIX_MODULE="dll"
42219 DLLIMP_SUFFIX="dll.a"
42220 EXEEXT=".exe"
42221 DLLPREFIX=""
42222 dlldir="$bindir"
42223 ;;
42224 *-pc-msdosdjgpp )
42225 EXEEXT=".exe"
42226 DLLPREFIX=""
42227 dlldir="$bindir"
42228 ;;
42229 *-pc-os2_emx | *-pc-os2-emx )
42230 SO_SUFFIX="dll"
42231 SO_SUFFIX_MODULE="dll"
42232 DLLIMP_SUFFIX=$OS2_LIBEXT
42233 EXEEXT=".exe"
42234 DLLPREFIX=""
42235 LIBPREFIX=""
42236 LIBEXT=".$OS2_LIBEXT"
42237 dlldir="$bindir"
42238 ;;
42239 powerpc-*-darwin* )
42240 SO_SUFFIX="dylib"
42241 SO_SUFFIX_MODULE="bundle"
42242 ;;
42243 esac
42244
42245 if test "x$DLLIMP_SUFFIX" = "x" ; then
42246 DLLIMP_SUFFIX="$SO_SUFFIX"
42247 fi
42248
42249
42250
42251
42252
42253
42254
42255
42256
42257
42258
42259
42260 PIC_FLAG=""
42261 if test "x$GCC" = "xyes"; then
42262 PIC_FLAG="-fPIC"
42263 fi
42264
42265 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
42266 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
42267 WINDOWS_IMPLIB=0
42268
42269 case "${BAKEFILE_HOST}" in
42270 *-hp-hpux* )
42271 if test "x$GCC" != "xyes"; then
42272 LDFLAGS="$LDFLAGS -L/usr/lib"
42273
42274 SHARED_LD_CC="${CC} -b -o"
42275 SHARED_LD_CXX="${CXX} -b -o"
42276 PIC_FLAG="+Z"
42277 fi
42278 ;;
42279
42280 *-*-linux* )
42281 if test "x$GCC" != "xyes"; then
42282 echo "$as_me:$LINENO: checking for Intel compiler" >&5
42283 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
42284 if test "${bakefile_cv_prog_icc+set}" = set; then
42285 echo $ECHO_N "(cached) $ECHO_C" >&6
42286 else
42287
42288 cat >conftest.$ac_ext <<_ACEOF
42289 /* confdefs.h. */
42290 _ACEOF
42291 cat confdefs.h >>conftest.$ac_ext
42292 cat >>conftest.$ac_ext <<_ACEOF
42293 /* end confdefs.h. */
42294
42295 int
42296 main ()
42297 {
42298
42299 #ifndef __INTEL_COMPILER
42300 #error Not icc
42301 #endif
42302
42303 ;
42304 return 0;
42305 }
42306 _ACEOF
42307 rm -f conftest.$ac_objext
42308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42309 (eval $ac_compile) 2>conftest.er1
42310 ac_status=$?
42311 grep -v '^ *+' conftest.er1 >conftest.err
42312 rm -f conftest.er1
42313 cat conftest.err >&5
42314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42315 (exit $ac_status); } &&
42316 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42318 (eval $ac_try) 2>&5
42319 ac_status=$?
42320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42321 (exit $ac_status); }; } &&
42322 { ac_try='test -s conftest.$ac_objext'
42323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42324 (eval $ac_try) 2>&5
42325 ac_status=$?
42326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42327 (exit $ac_status); }; }; then
42328 bakefile_cv_prog_icc=yes
42329 else
42330 echo "$as_me: failed program was:" >&5
42331 sed 's/^/| /' conftest.$ac_ext >&5
42332
42333 bakefile_cv_prog_icc=no
42334
42335 fi
42336 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42337
42338 fi
42339 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
42340 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
42341 if test "$bakefile_cv_prog_icc" = "yes"; then
42342 PIC_FLAG="-KPIC"
42343 fi
42344 fi
42345 ;;
42346
42347 *-*-solaris2* )
42348 if test "x$GCC" != xyes ; then
42349 SHARED_LD_CC="${CC} -G -o"
42350 SHARED_LD_CXX="${CXX} -G -o"
42351 PIC_FLAG="-KPIC"
42352 fi
42353 ;;
42354
42355 *-*-darwin* )
42356
42357 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
42358 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
42359 if test "${wx_cv_gcc31+set}" = set; then
42360 echo $ECHO_N "(cached) $ECHO_C" >&6
42361 else
42362
42363 cat >conftest.$ac_ext <<_ACEOF
42364 /* confdefs.h. */
42365 _ACEOF
42366 cat confdefs.h >>conftest.$ac_ext
42367 cat >>conftest.$ac_ext <<_ACEOF
42368 /* end confdefs.h. */
42369
42370 int
42371 main ()
42372 {
42373
42374 #if (__GNUC__ < 3) || \
42375 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
42376 #error old gcc
42377 #endif
42378
42379 ;
42380 return 0;
42381 }
42382 _ACEOF
42383 rm -f conftest.$ac_objext
42384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42385 (eval $ac_compile) 2>conftest.er1
42386 ac_status=$?
42387 grep -v '^ *+' conftest.er1 >conftest.err
42388 rm -f conftest.er1
42389 cat conftest.err >&5
42390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42391 (exit $ac_status); } &&
42392 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42394 (eval $ac_try) 2>&5
42395 ac_status=$?
42396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42397 (exit $ac_status); }; } &&
42398 { ac_try='test -s conftest.$ac_objext'
42399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42400 (eval $ac_try) 2>&5
42401 ac_status=$?
42402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42403 (exit $ac_status); }; }; then
42404
42405 wx_cv_gcc31=yes
42406
42407 else
42408 echo "$as_me: failed program was:" >&5
42409 sed 's/^/| /' conftest.$ac_ext >&5
42410
42411
42412 wx_cv_gcc31=no
42413
42414
42415 fi
42416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42417
42418 fi
42419 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
42420 echo "${ECHO_T}$wx_cv_gcc31" >&6
42421 if test "$wx_cv_gcc31" = "no"; then
42422
42423 D='$'
42424 cat <<EOF >shared-ld-sh
42425 #!/bin/sh
42426 #-----------------------------------------------------------------------------
42427 #-- Name: distrib/mac/shared-ld-sh
42428 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
42429 #-- Author: Gilles Depeyrot
42430 #-- Copyright: (c) 2002 Gilles Depeyrot
42431 #-- Licence: any use permitted
42432 #-----------------------------------------------------------------------------
42433
42434 verbose=0
42435 args=""
42436 objects=""
42437 linking_flag="-dynamiclib"
42438 ldargs="-r -keep_private_externs -nostdlib"
42439
42440 while test ${D}# -gt 0; do
42441 case ${D}1 in
42442
42443 -v)
42444 verbose=1
42445 ;;
42446
42447 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
42448 # collect these options and values
42449 args="${D}{args} ${D}1 ${D}2"
42450 shift
42451 ;;
42452
42453 -s|-Wl,*)
42454 # collect these load args
42455 ldargs="${D}{ldargs} ${D}1"
42456 ;;
42457
42458 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
42459 # collect these options
42460 args="${D}{args} ${D}1"
42461 ;;
42462
42463 -dynamiclib|-bundle)
42464 linking_flag="${D}1"
42465 ;;
42466
42467 -*)
42468 echo "shared-ld: unhandled option '${D}1'"
42469 exit 1
42470 ;;
42471
42472 *.o | *.a | *.dylib)
42473 # collect object files
42474 objects="${D}{objects} ${D}1"
42475 ;;
42476
42477 *)
42478 echo "shared-ld: unhandled argument '${D}1'"
42479 exit 1
42480 ;;
42481
42482 esac
42483 shift
42484 done
42485
42486 status=0
42487
42488 #
42489 # Link one module containing all the others
42490 #
42491 if test ${D}{verbose} = 1; then
42492 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
42493 fi
42494 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
42495 status=${D}?
42496
42497 #
42498 # Link the shared library from the single module created, but only if the
42499 # previous command didn't fail:
42500 #
42501 if test ${D}{status} = 0; then
42502 if test ${D}{verbose} = 1; then
42503 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
42504 fi
42505 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
42506 status=${D}?
42507 fi
42508
42509 #
42510 # Remove intermediate module
42511 #
42512 rm -f master.${D}${D}.o
42513
42514 exit ${D}status
42515 EOF
42516
42517 chmod +x shared-ld-sh
42518
42519 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
42520 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
42521 SHARED_LD_CXX="$SHARED_LD_CC"
42522 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
42523 else
42524 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
42525 SHARED_LD_MODULE_CC="\${CC} -bundle -single_module -headerpad_max_install_names -o"
42526 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
42527 SHARED_LD_MODULE_CXX="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
42528 fi
42529
42530 PIC_FLAG="-dynamic -fPIC"
42531 ;;
42532
42533 *-*-aix* )
42534 if test "x$GCC" != "xyes"; then
42535 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
42536 set dummy makeC++SharedLib; ac_word=$2
42537 echo "$as_me:$LINENO: checking for $ac_word" >&5
42538 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42539 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
42540 echo $ECHO_N "(cached) $ECHO_C" >&6
42541 else
42542 if test -n "$AIX_CXX_LD"; then
42543 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
42544 else
42545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42546 for as_dir in $PATH
42547 do
42548 IFS=$as_save_IFS
42549 test -z "$as_dir" && as_dir=.
42550 for ac_exec_ext in '' $ac_executable_extensions; do
42551 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42552 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
42553 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42554 break 2
42555 fi
42556 done
42557 done
42558
42559 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
42560 fi
42561 fi
42562 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
42563 if test -n "$AIX_CXX_LD"; then
42564 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
42565 echo "${ECHO_T}$AIX_CXX_LD" >&6
42566 else
42567 echo "$as_me:$LINENO: result: no" >&5
42568 echo "${ECHO_T}no" >&6
42569 fi
42570
42571 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
42572 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
42573 fi
42574 ;;
42575
42576 *-*-beos* )
42577 SHARED_LD_CC="${LD} -nostart -o"
42578 SHARED_LD_CXX="${LD} -nostart -o"
42579 ;;
42580
42581 *-*-irix* )
42582 if test "x$GCC" != "xyes"; then
42583 PIC_FLAG="-KPIC"
42584 fi
42585 ;;
42586
42587 *-*-cygwin* | *-*-mingw32* )
42588 PIC_FLAG=""
42589 SHARED_LD_CC="\$(CC) -shared -o"
42590 SHARED_LD_CXX="\$(CXX) -shared -o"
42591 WINDOWS_IMPLIB=1
42592 ;;
42593
42594 *-pc-os2_emx | *-pc-os2-emx )
42595 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
42596 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
42597 PIC_FLAG=""
42598
42599 D='$'
42600 cat <<EOF >dllar.sh
42601 #!/bin/sh
42602 #
42603 # dllar - a tool to build both a .dll and an .a file
42604 # from a set of object (.o) files for EMX/OS2.
42605 #
42606 # Written by Andrew Zabolotny, bit@freya.etu.ru
42607 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
42608 #
42609 # This script will accept a set of files on the command line.
42610 # All the public symbols from the .o files will be exported into
42611 # a .DEF file, then linker will be run (through gcc) against them to
42612 # build a shared library consisting of all given .o files. All libraries
42613 # (.a) will be first decompressed into component .o files then act as
42614 # described above. You can optionally give a description (-d "description")
42615 # which will be put into .DLL. To see the list of accepted options (as well
42616 # as command-line format) simply run this program without options. The .DLL
42617 # is built to be imported by name (there is no guarantee that new versions
42618 # of the library you build will have same ordinals for same symbols).
42619 #
42620 # dllar is free software; you can redistribute it and/or modify
42621 # it under the terms of the GNU General Public License as published by
42622 # the Free Software Foundation; either version 2, or (at your option)
42623 # any later version.
42624 #
42625 # dllar is distributed in the hope that it will be useful,
42626 # but WITHOUT ANY WARRANTY; without even the implied warranty of
42627 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
42628 # GNU General Public License for more details.
42629 #
42630 # You should have received a copy of the GNU General Public License
42631 # along with dllar; see the file COPYING. If not, write to the Free
42632 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
42633 # 02111-1307, USA.
42634
42635 # To successfuly run this program you will need:
42636 # - Current drive should have LFN support (HPFS, ext2, network, etc)
42637 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
42638 # - gcc
42639 # (used to build the .dll)
42640 # - emxexp
42641 # (used to create .def file from .o files)
42642 # - emximp
42643 # (used to create .a file from .def file)
42644 # - GNU text utilites (cat, sort, uniq)
42645 # used to process emxexp output
42646 # - GNU file utilities (mv, rm)
42647 # - GNU sed
42648 # - lxlite (optional, see flag below)
42649 # (used for general .dll cleanup)
42650 #
42651
42652 flag_USE_LXLITE=1;
42653
42654 #
42655 # helper functions
42656 # basnam, variant of basename, which does _not_ remove the path, _iff_
42657 # second argument (suffix to remove) is given
42658 basnam(){
42659 case ${D}# in
42660 1)
42661 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
42662 ;;
42663 2)
42664 echo ${D}1 | sed 's/'${D}2'${D}//'
42665 ;;
42666 *)
42667 echo "error in basnam ${D}*"
42668 exit 8
42669 ;;
42670 esac
42671 }
42672
42673 # Cleanup temporary files and output
42674 CleanUp() {
42675 cd ${D}curDir
42676 for i in ${D}inputFiles ; do
42677 case ${D}i in
42678 *!)
42679 rm -rf \`basnam ${D}i !\`
42680 ;;
42681 *)
42682 ;;
42683 esac
42684 done
42685
42686 # Kill result in case of failure as there is just to many stupid make/nmake
42687 # things out there which doesn't do this.
42688 if [ ${D}# -eq 0 ]; then
42689 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
42690 fi
42691 }
42692
42693 # Print usage and exit script with rc=1.
42694 PrintHelp() {
42695 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
42696 echo ' [-name-mangler-script script.sh]'
42697 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
42698 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
42699 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
42700 echo ' [*.o] [*.a]'
42701 echo '*> "output_file" should have no extension.'
42702 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
42703 echo ' The import library name is derived from this and is set to "name".a,'
42704 echo ' unless overridden by -import'
42705 echo '*> "importlib_name" should have no extension.'
42706 echo ' If it has the .o, or .a extension, it is automatically removed.'
42707 echo ' This name is used as the import library name and may be longer and'
42708 echo ' more descriptive than the DLL name which has to follow the old '
42709 echo ' 8.3 convention of FAT.'
42710 echo '*> "script.sh may be given to override the output_file name by a'
42711 echo ' different name. It is mainly useful if the regular make process'
42712 echo ' of some package does not take into account OS/2 restriction of'
42713 echo ' DLL name lengths. It takes the importlib name as input and is'
42714 echo ' supposed to procude a shorter name as output. The script should'
42715 echo ' expect to get importlib_name without extension and should produce'
42716 echo ' a (max.) 8 letter name without extension.'
42717 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
42718 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
42719 echo ' These flags will be put at the start of GCC command line.'
42720 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
42721 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
42722 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
42723 echo ' If the last character of a symbol is "*", all symbols beginning'
42724 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
42725 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
42726 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
42727 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
42728 echo ' C runtime DLLs.'
42729 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
42730 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
42731 echo ' unchanged to GCC at the end of command line.'
42732 echo '*> If you create a DLL from a library and you do not specify -o,'
42733 echo ' the basename for DLL and import library will be set to library name,'
42734 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
42735 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
42736 echo ' library will be renamed into gcc_s.a.'
42737 echo '--------'
42738 echo 'Example:'
42739 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
42740 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
42741 CleanUp
42742 exit 1
42743 }
42744
42745 # Execute a command.
42746 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
42747 # @Uses Whatever CleanUp() uses.
42748 doCommand() {
42749 echo "${D}*"
42750 eval ${D}*
42751 rcCmd=${D}?
42752
42753 if [ ${D}rcCmd -ne 0 ]; then
42754 echo "command failed, exit code="${D}rcCmd
42755 CleanUp
42756 exit ${D}rcCmd
42757 fi
42758 }
42759
42760 # main routine
42761 # setup globals
42762 cmdLine=${D}*
42763 outFile=""
42764 outimpFile=""
42765 inputFiles=""
42766 renameScript=""
42767 description=""
42768 CC=gcc.exe
42769 CFLAGS="-s -Zcrtdll"
42770 EXTRA_CFLAGS=""
42771 EXPORT_BY_ORDINALS=0
42772 exclude_symbols=""
42773 library_flags=""
42774 curDir=\`pwd\`
42775 curDirS=curDir
42776 case ${D}curDirS in
42777 */)
42778 ;;
42779 *)
42780 curDirS=${D}{curDirS}"/"
42781 ;;
42782 esac
42783 # Parse commandline
42784 libsToLink=0
42785 omfLinking=0
42786 while [ ${D}1 ]; do
42787 case ${D}1 in
42788 -ord*)
42789 EXPORT_BY_ORDINALS=1;
42790 ;;
42791 -o*)
42792 shift
42793 outFile=${D}1
42794 ;;
42795 -i*)
42796 shift
42797 outimpFile=${D}1
42798 ;;
42799 -name-mangler-script)
42800 shift
42801 renameScript=${D}1
42802 ;;
42803 -d*)
42804 shift
42805 description=${D}1
42806 ;;
42807 -f*)
42808 shift
42809 CFLAGS=${D}1
42810 ;;
42811 -c*)
42812 shift
42813 CC=${D}1
42814 ;;
42815 -h*)
42816 PrintHelp
42817 ;;
42818 -ex*)
42819 shift
42820 exclude_symbols=${D}{exclude_symbols}${D}1" "
42821 ;;
42822 -libf*)
42823 shift
42824 library_flags=${D}{library_flags}${D}1" "
42825 ;;
42826 -nocrt*)
42827 CFLAGS="-s"
42828 ;;
42829 -nolxl*)
42830 flag_USE_LXLITE=0
42831 ;;
42832 -* | /*)
42833 case ${D}1 in
42834 -L* | -l*)
42835 libsToLink=1
42836 ;;
42837 -Zomf)
42838 omfLinking=1
42839 ;;
42840 *)
42841 ;;
42842 esac
42843 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
42844 ;;
42845 *.dll)
42846 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
42847 if [ ${D}omfLinking -eq 1 ]; then
42848 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
42849 else
42850 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
42851 fi
42852 ;;
42853 *)
42854 found=0;
42855 if [ ${D}libsToLink -ne 0 ]; then
42856 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
42857 else
42858 for file in ${D}1 ; do
42859 if [ -f ${D}file ]; then
42860 inputFiles="${D}{inputFiles} ${D}file"
42861 found=1
42862 fi
42863 done
42864 if [ ${D}found -eq 0 ]; then
42865 echo "ERROR: No file(s) found: "${D}1
42866 exit 8
42867 fi
42868 fi
42869 ;;
42870 esac
42871 shift
42872 done # iterate cmdline words
42873
42874 #
42875 if [ -z "${D}inputFiles" ]; then
42876 echo "dllar: no input files"
42877 PrintHelp
42878 fi
42879
42880 # Now extract all .o files from .a files
42881 newInputFiles=""
42882 for file in ${D}inputFiles ; do
42883 case ${D}file in
42884 *.a | *.lib)
42885 case ${D}file in
42886 *.a)
42887 suffix=".a"
42888 AR="ar"
42889 ;;
42890 *.lib)
42891 suffix=".lib"
42892 AR="emxomfar"
42893 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
42894 ;;
42895 *)
42896 ;;
42897 esac
42898 dirname=\`basnam ${D}file ${D}suffix\`"_%"
42899 mkdir ${D}dirname
42900 if [ ${D}? -ne 0 ]; then
42901 echo "Failed to create subdirectory ./${D}dirname"
42902 CleanUp
42903 exit 8;
42904 fi
42905 # Append '!' to indicate archive
42906 newInputFiles="${D}newInputFiles ${D}{dirname}!"
42907 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
42908 cd ${D}curDir
42909 found=0;
42910 for subfile in ${D}dirname/*.o* ; do
42911 if [ -f ${D}subfile ]; then
42912 found=1
42913 if [ -s ${D}subfile ]; then
42914 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
42915 newInputFiles="${D}newInputFiles ${D}subfile"
42916 fi
42917 fi
42918 done
42919 if [ ${D}found -eq 0 ]; then
42920 echo "WARNING: there are no files in archive \\'${D}file\\'"
42921 fi
42922 ;;
42923 *)
42924 newInputFiles="${D}{newInputFiles} ${D}file"
42925 ;;
42926 esac
42927 done
42928 inputFiles="${D}newInputFiles"
42929
42930 # Output filename(s).
42931 do_backup=0;
42932 if [ -z ${D}outFile ]; then
42933 do_backup=1;
42934 set outFile ${D}inputFiles; outFile=${D}2
42935 fi
42936
42937 # If it is an archive, remove the '!' and the '_%' suffixes
42938 case ${D}outFile in
42939 *_%!)
42940 outFile=\`basnam ${D}outFile _%!\`
42941 ;;
42942 *)
42943 ;;
42944 esac
42945 case ${D}outFile in
42946 *.dll)
42947 outFile=\`basnam ${D}outFile .dll\`
42948 ;;
42949 *.DLL)
42950 outFile=\`basnam ${D}outFile .DLL\`
42951 ;;
42952 *.o)
42953 outFile=\`basnam ${D}outFile .o\`
42954 ;;
42955 *.obj)
42956 outFile=\`basnam ${D}outFile .obj\`
42957 ;;
42958 *.a)
42959 outFile=\`basnam ${D}outFile .a\`
42960 ;;
42961 *.lib)
42962 outFile=\`basnam ${D}outFile .lib\`
42963 ;;
42964 *)
42965 ;;
42966 esac
42967 case ${D}outimpFile in
42968 *.a)
42969 outimpFile=\`basnam ${D}outimpFile .a\`
42970 ;;
42971 *.lib)
42972 outimpFile=\`basnam ${D}outimpFile .lib\`
42973 ;;
42974 *)
42975 ;;
42976 esac
42977 if [ -z ${D}outimpFile ]; then
42978 outimpFile=${D}outFile
42979 fi
42980 defFile="${D}{outFile}.def"
42981 arcFile="${D}{outimpFile}.a"
42982 arcFile2="${D}{outimpFile}.lib"
42983
42984 #create ${D}dllFile as something matching 8.3 restrictions,
42985 if [ -z ${D}renameScript ] ; then
42986 dllFile="${D}outFile"
42987 else
42988 dllFile=\`${D}renameScript ${D}outimpFile\`
42989 fi
42990
42991 if [ ${D}do_backup -ne 0 ] ; then
42992 if [ -f ${D}arcFile ] ; then
42993 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
42994 fi
42995 if [ -f ${D}arcFile2 ] ; then
42996 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
42997 fi
42998 fi
42999
43000 # Extract public symbols from all the object files.
43001 tmpdefFile=${D}{defFile}_%
43002 rm -f ${D}tmpdefFile
43003 for file in ${D}inputFiles ; do
43004 case ${D}file in
43005 *!)
43006 ;;
43007 *)
43008 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
43009 ;;
43010 esac
43011 done
43012
43013 # Create the def file.
43014 rm -f ${D}defFile
43015 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
43016 dllFile="${D}{dllFile}.dll"
43017 if [ ! -z ${D}description ]; then
43018 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
43019 fi
43020 echo "EXPORTS" >> ${D}defFile
43021
43022 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
43023 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
43024
43025 # Checks if the export is ok or not.
43026 for word in ${D}exclude_symbols; do
43027 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
43028 mv ${D}{tmpdefFile}% ${D}tmpdefFile
43029 done
43030
43031
43032 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
43033 sed "=" < ${D}tmpdefFile | \\
43034 sed '
43035 N
43036 : loop
43037 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
43038 t loop
43039 ' > ${D}{tmpdefFile}%
43040 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
43041 else
43042 rm -f ${D}{tmpdefFile}%
43043 fi
43044 cat ${D}tmpdefFile >> ${D}defFile
43045 rm -f ${D}tmpdefFile
43046
43047 # Do linking, create implib, and apply lxlite.
43048 gccCmdl="";
43049 for file in ${D}inputFiles ; do
43050 case ${D}file in
43051 *!)
43052 ;;
43053 *)
43054 gccCmdl="${D}gccCmdl ${D}file"
43055 ;;
43056 esac
43057 done
43058 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
43059 touch "${D}{outFile}.dll"
43060
43061 doCommand "emximp -o ${D}arcFile ${D}defFile"
43062 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
43063 add_flags="";
43064 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
43065 add_flags="-ynd"
43066 fi
43067 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
43068 fi
43069 doCommand "emxomf -s -l ${D}arcFile"
43070
43071 # Successful exit.
43072 CleanUp 1
43073 exit 0
43074 EOF
43075
43076 chmod +x dllar.sh
43077 ;;
43078
43079 powerpc-apple-macos* | \
43080 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
43081 *-*-sunos4* | \
43082 *-*-osf* | \
43083 *-*-dgux5* | \
43084 *-*-sysv5* | \
43085 *-pc-msdosdjgpp )
43086 ;;
43087
43088 *)
43089 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
43090 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
43091 { (exit 1); exit 1; }; }
43092 esac
43093
43094 if test "x$PIC_FLAG" != "x" ; then
43095 PIC_FLAG="$PIC_FLAG -DPIC"
43096 fi
43097
43098 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
43099 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
43100 fi
43101 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
43102 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
43103 fi
43104
43105
43106
43107
43108
43109
43110
43111
43112
43113 USE_SOVERSION=0
43114 USE_SOVERLINUX=0
43115 USE_SOVERSOLARIS=0
43116 USE_SOVERCYGWIN=0
43117 USE_SOSYMLINKS=0
43118 USE_MACVERSION=0
43119 SONAME_FLAG=
43120
43121 case "${BAKEFILE_HOST}" in
43122 *-*-linux* | *-*-freebsd* )
43123 SONAME_FLAG="-Wl,-soname,"
43124 USE_SOVERSION=1
43125 USE_SOVERLINUX=1
43126 USE_SOSYMLINKS=1
43127 ;;
43128
43129 *-*-solaris2* )
43130 SONAME_FLAG="-h "
43131 USE_SOVERSION=1
43132 USE_SOVERSOLARIS=1
43133 USE_SOSYMLINKS=1
43134 ;;
43135
43136 *-*-darwin* )
43137 USE_MACVERSION=1
43138 USE_SOVERSION=1
43139 USE_SOSYMLINKS=1
43140 ;;
43141
43142 *-*-cygwin* )
43143 USE_SOVERSION=1
43144 USE_SOVERCYGWIN=1
43145 ;;
43146 esac
43147
43148
43149
43150
43151
43152
43153
43154
43155
43156
43157 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
43158 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
43159 DEPS_TRACKING=0
43160
43161 if test "x$GCC" = "xyes"; then
43162 DEPSMODE=gcc
43163 DEPS_TRACKING=1
43164 case "${BAKEFILE_HOST}" in
43165 powerpc-*-darwin* )
43166 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
43167 ;;
43168 * )
43169 DEPSFLAG_GCC="-MMD"
43170 ;;
43171 esac
43172 echo "$as_me:$LINENO: result: gcc" >&5
43173 echo "${ECHO_T}gcc" >&6
43174 elif test "x$MWCC" = "xyes"; then
43175 DEPSMODE=mwcc
43176 DEPS_TRACKING=1
43177 DEPSFLAG_MWCC="-MM"
43178 echo "$as_me:$LINENO: result: mwcc" >&5
43179 echo "${ECHO_T}mwcc" >&6
43180 elif test "x$SUNCC" = "xyes"; then
43181 DEPSMODE=suncc
43182 DEPS_TRACKING=1
43183 DEPSFLAG_SUNCC="-xM1"
43184 echo "$as_me:$LINENO: result: suncc" >&5
43185 echo "${ECHO_T}suncc" >&6
43186 else
43187 echo "$as_me:$LINENO: result: none" >&5
43188 echo "${ECHO_T}none" >&6
43189 fi
43190
43191 if test $DEPS_TRACKING = 1 ; then
43192
43193 D='$'
43194 cat <<EOF >bk-deps
43195 #!/bin/sh
43196
43197 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
43198 # script. It is used to track C/C++ files dependencies in portable way.
43199 #
43200 # Permission is given to use this file in any way.
43201
43202 DEPSMODE=${DEPSMODE}
43203 DEPSDIR=.deps
43204 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
43205 DEPSFLAG_MWCC="${DEPSFLAG_MWCC}"
43206 DEPSFLAG_SUNCC="${DEPSFLAG_SUNCC}"
43207
43208 mkdir -p ${D}DEPSDIR
43209
43210 if test ${D}DEPSMODE = gcc ; then
43211 ${D}* ${D}{DEPSFLAG_GCC}
43212 status=${D}?
43213 if test ${D}{status} != 0 ; then
43214 exit ${D}{status}
43215 fi
43216 # move created file to the location we want it in:
43217 while test ${D}# -gt 0; do
43218 case "${D}1" in
43219 -o )
43220 shift
43221 objfile=${D}1
43222 ;;
43223 -* )
43224 ;;
43225 * )
43226 srcfile=${D}1
43227 ;;
43228 esac
43229 shift
43230 done
43231 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
43232 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
43233 if test -f ${D}depfile ; then
43234 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
43235 rm -f ${D}depfile
43236 else
43237 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
43238 if test -f ${D}depfile ; then
43239 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
43240 rm -f ${D}depfile
43241 fi
43242 fi
43243 exit 0
43244 elif test ${D}DEPSMODE = mwcc ; then
43245 ${D}*
43246 status=${D}?
43247 if test ${D}{status} != 0 ; then
43248 exit ${D}{status}
43249 fi
43250 # Run mwcc again with -MM and redirect into the dep file we want
43251 # NOTE: We can't use shift here because we need ${D}* to be valid
43252 prevarg=
43253 for arg in ${D}* ; do
43254 if test "${D}prevarg" = "-o"; then
43255 objfile=${D}arg
43256 else
43257 case "${D}arg" in
43258 -* )
43259 ;;
43260 * )
43261 srcfile=${D}arg
43262 ;;
43263 esac
43264 fi
43265 prevarg="${D}arg"
43266 done
43267 ${D}* ${D}DEPSFLAG_MWCC >${D}{DEPSDIR}/${D}{objfile}.d
43268 exit 0
43269 elif test ${D}DEPSMODE = suncc; then
43270 ${D}* || exit
43271 # Run compiler again with deps flag and redirect into the dep file.
43272 # It doesn't work if the '-o FILE' option is used, but without it the
43273 # dependency file will contain the wrong name for the object. So it is
43274 # removed from the command line, and the dep file is fixed with sed.
43275 cmd=""
43276 while test ${D}# -gt 0; do
43277 case "${D}1" in
43278 -o )
43279 shift
43280 objfile=${D}1
43281 ;;
43282 * )
43283 eval arg${D}#=\\${D}1
43284 cmd="${D}cmd \\${D}arg${D}#"
43285 ;;
43286 esac
43287 shift
43288 done
43289 eval "${D}cmd ${D}DEPSFLAG_SUNCC" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
43290 exit 0
43291 else
43292 ${D}*
43293 exit ${D}?
43294 fi
43295 EOF
43296
43297 chmod +x bk-deps
43298 fi
43299
43300
43301
43302
43303 RESCOMP=
43304 SETFILE=
43305
43306 case ${BAKEFILE_HOST} in
43307 *-*-cygwin* | *-*-mingw32* )
43308 if test "$build" != "$host" ; then
43309 RESCOMP=$host_alias-windres
43310 else
43311 # Extract the first word of "windres", so it can be a program name with args.
43312 set dummy windres; ac_word=$2
43313 echo "$as_me:$LINENO: checking for $ac_word" >&5
43314 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43315 if test "${ac_cv_prog_RESCOMP+set}" = set; then
43316 echo $ECHO_N "(cached) $ECHO_C" >&6
43317 else
43318 if test -n "$RESCOMP"; then
43319 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
43320 else
43321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43322 for as_dir in $PATH
43323 do
43324 IFS=$as_save_IFS
43325 test -z "$as_dir" && as_dir=.
43326 for ac_exec_ext in '' $ac_executable_extensions; do
43327 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43328 ac_cv_prog_RESCOMP="windres"
43329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43330 break 2
43331 fi
43332 done
43333 done
43334
43335 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
43336 fi
43337 fi
43338 RESCOMP=$ac_cv_prog_RESCOMP
43339 if test -n "$RESCOMP"; then
43340 echo "$as_me:$LINENO: result: $RESCOMP" >&5
43341 echo "${ECHO_T}$RESCOMP" >&6
43342 else
43343 echo "$as_me:$LINENO: result: no" >&5
43344 echo "${ECHO_T}no" >&6
43345 fi
43346
43347 fi
43348 ;;
43349
43350 *-*-darwin* | powerpc-apple-macos* )
43351 # Extract the first word of "Rez", so it can be a program name with args.
43352 set dummy Rez; ac_word=$2
43353 echo "$as_me:$LINENO: checking for $ac_word" >&5
43354 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43355 if test "${ac_cv_prog_RESCOMP+set}" = set; then
43356 echo $ECHO_N "(cached) $ECHO_C" >&6
43357 else
43358 if test -n "$RESCOMP"; then
43359 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
43360 else
43361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43362 for as_dir in $PATH
43363 do
43364 IFS=$as_save_IFS
43365 test -z "$as_dir" && as_dir=.
43366 for ac_exec_ext in '' $ac_executable_extensions; do
43367 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43368 ac_cv_prog_RESCOMP="Rez"
43369 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43370 break 2
43371 fi
43372 done
43373 done
43374
43375 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
43376 fi
43377 fi
43378 RESCOMP=$ac_cv_prog_RESCOMP
43379 if test -n "$RESCOMP"; then
43380 echo "$as_me:$LINENO: result: $RESCOMP" >&5
43381 echo "${ECHO_T}$RESCOMP" >&6
43382 else
43383 echo "$as_me:$LINENO: result: no" >&5
43384 echo "${ECHO_T}no" >&6
43385 fi
43386
43387 # Extract the first word of "SetFile", so it can be a program name with args.
43388 set dummy SetFile; ac_word=$2
43389 echo "$as_me:$LINENO: checking for $ac_word" >&5
43390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43391 if test "${ac_cv_prog_SETFILE+set}" = set; then
43392 echo $ECHO_N "(cached) $ECHO_C" >&6
43393 else
43394 if test -n "$SETFILE"; then
43395 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
43396 else
43397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43398 for as_dir in $PATH
43399 do
43400 IFS=$as_save_IFS
43401 test -z "$as_dir" && as_dir=.
43402 for ac_exec_ext in '' $ac_executable_extensions; do
43403 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43404 ac_cv_prog_SETFILE="SetFile"
43405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43406 break 2
43407 fi
43408 done
43409 done
43410
43411 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
43412 fi
43413 fi
43414 SETFILE=$ac_cv_prog_SETFILE
43415 if test -n "$SETFILE"; then
43416 echo "$as_me:$LINENO: result: $SETFILE" >&5
43417 echo "${ECHO_T}$SETFILE" >&6
43418 else
43419 echo "$as_me:$LINENO: result: no" >&5
43420 echo "${ECHO_T}no" >&6
43421 fi
43422
43423 ;;
43424 esac
43425
43426
43427
43428
43429
43430 BAKEFILE_BAKEFILE_M4_VERSION="0.1.9"
43431
43432
43433 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.1.9"
43434
43435
43436
43437 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
43438 if test "${enable_precomp_headers+set}" = set; then
43439 enableval="$enable_precomp_headers"
43440 bk_use_pch="$enableval"
43441 fi;
43442
43443 GCC_PCH=0
43444
43445 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
43446 if test "x$GCC" = "xyes"; then
43447 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
43448 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
43449 cat >conftest.$ac_ext <<_ACEOF
43450 /* confdefs.h. */
43451 _ACEOF
43452 cat confdefs.h >>conftest.$ac_ext
43453 cat >>conftest.$ac_ext <<_ACEOF
43454 /* end confdefs.h. */
43455
43456 int
43457 main ()
43458 {
43459
43460 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
43461 #error "no pch support"
43462 #endif
43463 #if (__GNUC__ < 3)
43464 #error "no pch support"
43465 #endif
43466 #if (__GNUC__ == 3) && \
43467 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
43468 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
43469 #error "no pch support"
43470 #endif
43471
43472 ;
43473 return 0;
43474 }
43475 _ACEOF
43476 rm -f conftest.$ac_objext
43477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43478 (eval $ac_compile) 2>conftest.er1
43479 ac_status=$?
43480 grep -v '^ *+' conftest.er1 >conftest.err
43481 rm -f conftest.er1
43482 cat conftest.err >&5
43483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43484 (exit $ac_status); } &&
43485 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43487 (eval $ac_try) 2>&5
43488 ac_status=$?
43489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43490 (exit $ac_status); }; } &&
43491 { ac_try='test -s conftest.$ac_objext'
43492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43493 (eval $ac_try) 2>&5
43494 ac_status=$?
43495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43496 (exit $ac_status); }; }; then
43497
43498 echo "$as_me:$LINENO: result: yes" >&5
43499 echo "${ECHO_T}yes" >&6
43500 GCC_PCH=1
43501
43502 else
43503 echo "$as_me: failed program was:" >&5
43504 sed 's/^/| /' conftest.$ac_ext >&5
43505
43506
43507 echo "$as_me:$LINENO: result: no" >&5
43508 echo "${ECHO_T}no" >&6
43509
43510 fi
43511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43512 if test $GCC_PCH = 1 ; then
43513
43514 D='$'
43515 cat <<EOF >bk-make-pch
43516 #!/bin/sh
43517
43518 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
43519 # script. It is used to generated precompiled headers.
43520 #
43521 # Permission is given to use this file in any way.
43522
43523 outfile="${D}{1}"
43524 header="${D}{2}"
43525 shift
43526 shift
43527
43528 compiler=
43529 headerfile=
43530 while test ${D}{#} -gt 0; do
43531 case "${D}{1}" in
43532 -I* )
43533 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
43534 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
43535 headerfile="${D}{incdir}/${D}{header}"
43536 fi
43537 ;;
43538 esac
43539 compiler="${D}{compiler} ${D}{1}"
43540 shift
43541 done
43542
43543 if test "x${D}{headerfile}" = "x" ; then
43544 echo "error: can't find header ${D}{header} in include paths" >2
43545 else
43546 if test -f ${D}{outfile} ; then
43547 rm -f ${D}{outfile}
43548 else
43549 mkdir -p \`dirname ${D}{outfile}\`
43550 fi
43551 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
43552 mkdir -p .deps
43553 # can do this because gcc is >= 3.4:
43554 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
43555 exit ${D}{?}
43556 fi
43557 EOF
43558
43559 chmod +x bk-make-pch
43560 fi
43561 fi
43562 fi
43563
43564
43565
43566 COND_BUILD_DEBUG="#"
43567 if test "x$BUILD" = "xdebug" ; then
43568 COND_BUILD_DEBUG=""
43569 fi
43570
43571 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
43572 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
43573 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
43574 fi
43575
43576 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
43577 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
43578 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
43579 fi
43580
43581 COND_BUILD_DEBUG_UNICODE_0="#"
43582 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
43583 COND_BUILD_DEBUG_UNICODE_0=""
43584 fi
43585
43586 COND_BUILD_DEBUG_UNICODE_1="#"
43587 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
43588 COND_BUILD_DEBUG_UNICODE_1=""
43589 fi
43590
43591 COND_BUILD_RELEASE="#"
43592 if test "x$BUILD" = "xrelease" ; then
43593 COND_BUILD_RELEASE=""
43594 fi
43595
43596 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
43597 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
43598 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
43599 fi
43600
43601 COND_BUILD_RELEASE_UNICODE_0="#"
43602 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
43603 COND_BUILD_RELEASE_UNICODE_0=""
43604 fi
43605
43606 COND_BUILD_RELEASE_UNICODE_1="#"
43607 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
43608 COND_BUILD_RELEASE_UNICODE_1=""
43609 fi
43610
43611 COND_DEBUG_FLAG_1="#"
43612 if test "x$DEBUG_FLAG" = "x1" ; then
43613 COND_DEBUG_FLAG_1=""
43614 fi
43615
43616 COND_DEBUG_INFO_0="#"
43617 if test "x$DEBUG_INFO" = "x0" ; then
43618 COND_DEBUG_INFO_0=""
43619 fi
43620
43621 COND_DEBUG_INFO_1="#"
43622 if test "x$DEBUG_INFO" = "x1" ; then
43623 COND_DEBUG_INFO_1=""
43624 fi
43625
43626 COND_DEPS_TRACKING_0="#"
43627 if test "x$DEPS_TRACKING" = "x0" ; then
43628 COND_DEPS_TRACKING_0=""
43629 fi
43630
43631 COND_DEPS_TRACKING_1="#"
43632 if test "x$DEPS_TRACKING" = "x1" ; then
43633 COND_DEPS_TRACKING_1=""
43634 fi
43635
43636 COND_GCC_PCH_1="#"
43637 if test "x$GCC_PCH" = "x1" ; then
43638 COND_GCC_PCH_1=""
43639 fi
43640
43641 COND_MONOLITHIC_0="#"
43642 if test "x$MONOLITHIC" = "x0" ; then
43643 COND_MONOLITHIC_0=""
43644 fi
43645
43646 COND_MONOLITHIC_0_SHARED_0="#"
43647 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
43648 COND_MONOLITHIC_0_SHARED_0=""
43649 fi
43650
43651 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
43652 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
43653 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
43654 fi
43655
43656 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
43657 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
43658 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
43659 fi
43660
43661 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
43662 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
43663 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
43664 fi
43665
43666 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
43667 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
43668 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
43669 fi
43670
43671 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
43672 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
43673 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
43674 fi
43675
43676 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
43677 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
43678 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
43679 fi
43680
43681 COND_MONOLITHIC_0_SHARED_1="#"
43682 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
43683 COND_MONOLITHIC_0_SHARED_1=""
43684 fi
43685
43686 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
43687 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
43688 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
43689 fi
43690
43691 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
43692 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
43693 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
43694 fi
43695
43696 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
43697 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
43698 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
43699 fi
43700
43701 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
43702 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
43703 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
43704 fi
43705
43706 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
43707 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
43708 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
43709 fi
43710
43711 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
43712 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
43713 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
43714 fi
43715
43716 COND_MONOLITHIC_0_USE_ODBC_1="#"
43717 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
43718 COND_MONOLITHIC_0_USE_ODBC_1=""
43719 fi
43720
43721 COND_MONOLITHIC_1="#"
43722 if test "x$MONOLITHIC" = "x1" ; then
43723 COND_MONOLITHIC_1=""
43724 fi
43725
43726 COND_MONOLITHIC_1_SHARED_0="#"
43727 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
43728 COND_MONOLITHIC_1_SHARED_0=""
43729 fi
43730
43731 COND_MONOLITHIC_1_SHARED_1="#"
43732 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
43733 COND_MONOLITHIC_1_SHARED_1=""
43734 fi
43735
43736 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
43737 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
43738 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
43739 fi
43740
43741 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
43742 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
43743 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
43744 fi
43745
43746 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
43747 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
43748 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
43749 fi
43750
43751 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
43752 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
43753 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
43754 fi
43755
43756 COND_PLATFORM_MACOSX_1="#"
43757 if test "x$PLATFORM_MACOSX" = "x1" ; then
43758 COND_PLATFORM_MACOSX_1=""
43759 fi
43760
43761 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
43762 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
43763 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
43764 fi
43765
43766 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
43767 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
43768 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
43769 fi
43770
43771 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
43772 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
43773 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
43774 fi
43775
43776 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
43777 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
43778 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
43779 fi
43780
43781 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
43782 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
43783 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
43784 fi
43785
43786 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
43787 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43788 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
43789 fi
43790
43791 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
43792 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
43793 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
43794 fi
43795
43796 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
43797 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
43798 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
43799 fi
43800
43801 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
43802 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
43803 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
43804 fi
43805
43806 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
43807 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
43808 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
43809 fi
43810
43811 COND_PLATFORM_MACOS_1="#"
43812 if test "x$PLATFORM_MACOS" = "x1" ; then
43813 COND_PLATFORM_MACOS_1=""
43814 fi
43815
43816 COND_PLATFORM_MAC_1="#"
43817 if test "x$PLATFORM_MAC" = "x1" ; then
43818 COND_PLATFORM_MAC_1=""
43819 fi
43820
43821 COND_PLATFORM_MSDOS_1="#"
43822 if test "x$PLATFORM_MSDOS" = "x1" ; then
43823 COND_PLATFORM_MSDOS_1=""
43824 fi
43825
43826 COND_PLATFORM_OS2_1="#"
43827 if test "x$PLATFORM_OS2" = "x1" ; then
43828 COND_PLATFORM_OS2_1=""
43829 fi
43830
43831 COND_PLATFORM_UNIX_0="#"
43832 if test "x$PLATFORM_UNIX" = "x0" ; then
43833 COND_PLATFORM_UNIX_0=""
43834 fi
43835
43836 COND_PLATFORM_UNIX_1="#"
43837 if test "x$PLATFORM_UNIX" = "x1" ; then
43838 COND_PLATFORM_UNIX_1=""
43839 fi
43840
43841 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
43842 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
43843 COND_PLATFORM_UNIX_1_USE_GUI_1=""
43844 fi
43845
43846 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
43847 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
43848 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
43849 fi
43850
43851 COND_PLATFORM_WIN32_0="#"
43852 if test "x$PLATFORM_WIN32" = "x0" ; then
43853 COND_PLATFORM_WIN32_0=""
43854 fi
43855
43856 COND_PLATFORM_WIN32_1="#"
43857 if test "x$PLATFORM_WIN32" = "x1" ; then
43858 COND_PLATFORM_WIN32_1=""
43859 fi
43860
43861 COND_SHARED_0="#"
43862 if test "x$SHARED" = "x0" ; then
43863 COND_SHARED_0=""
43864 fi
43865
43866 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
43867 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
43868 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
43869 fi
43870
43871 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
43872 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
43873 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
43874 fi
43875
43876 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
43877 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
43878 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
43879 fi
43880
43881 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
43882 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
43883 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
43884 fi
43885
43886 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
43887 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
43888 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
43889 fi
43890
43891 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
43892 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
43893 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
43894 fi
43895
43896 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
43897 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
43898 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
43899 fi
43900
43901 COND_SHARED_0_USE_XRC_1="#"
43902 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
43903 COND_SHARED_0_USE_XRC_1=""
43904 fi
43905
43906 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
43907 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
43908 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
43909 fi
43910
43911 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
43912 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
43913 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
43914 fi
43915
43916 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
43917 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
43918 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
43919 fi
43920
43921 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
43922 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
43923 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
43924 fi
43925
43926 COND_SHARED_1="#"
43927 if test "x$SHARED" = "x1" ; then
43928 COND_SHARED_1=""
43929 fi
43930
43931 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
43932 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
43933 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
43934 fi
43935
43936 COND_SHARED_1_USE_XRC_1="#"
43937 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
43938 COND_SHARED_1_USE_XRC_1=""
43939 fi
43940
43941 COND_TOOLKIT_="#"
43942 if test "x$TOOLKIT" = "x" ; then
43943 COND_TOOLKIT_=""
43944 fi
43945
43946 COND_TOOLKIT_COCOA="#"
43947 if test "x$TOOLKIT" = "xCOCOA" ; then
43948 COND_TOOLKIT_COCOA=""
43949 fi
43950
43951 COND_TOOLKIT_COCOA_USE_GUI_1="#"
43952 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
43953 COND_TOOLKIT_COCOA_USE_GUI_1=""
43954 fi
43955
43956 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
43957 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43958 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
43959 fi
43960
43961 COND_TOOLKIT_GTK="#"
43962 if test "x$TOOLKIT" = "xGTK" ; then
43963 COND_TOOLKIT_GTK=""
43964 fi
43965
43966 COND_TOOLKIT_GTK_USE_GUI_1="#"
43967 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
43968 COND_TOOLKIT_GTK_USE_GUI_1=""
43969 fi
43970
43971 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
43972 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43973 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
43974 fi
43975
43976 COND_TOOLKIT_MAC="#"
43977 if test "x$TOOLKIT" = "xMAC" ; then
43978 COND_TOOLKIT_MAC=""
43979 fi
43980
43981 COND_TOOLKIT_MAC_USE_GUI_1="#"
43982 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
43983 COND_TOOLKIT_MAC_USE_GUI_1=""
43984 fi
43985
43986 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
43987 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43988 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
43989 fi
43990
43991 COND_TOOLKIT_MGL="#"
43992 if test "x$TOOLKIT" = "xMGL" ; then
43993 COND_TOOLKIT_MGL=""
43994 fi
43995
43996 COND_TOOLKIT_MGL_USE_GUI_1="#"
43997 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
43998 COND_TOOLKIT_MGL_USE_GUI_1=""
43999 fi
44000
44001 COND_TOOLKIT_MOTIF="#"
44002 if test "x$TOOLKIT" = "xMOTIF" ; then
44003 COND_TOOLKIT_MOTIF=""
44004 fi
44005
44006 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
44007 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
44008 COND_TOOLKIT_MOTIF_USE_GUI_1=""
44009 fi
44010
44011 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
44012 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44013 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
44014 fi
44015
44016 COND_TOOLKIT_MSW="#"
44017 if test "x$TOOLKIT" = "xMSW" ; then
44018 COND_TOOLKIT_MSW=""
44019 fi
44020
44021 COND_TOOLKIT_MSW_USE_GUI_1="#"
44022 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
44023 COND_TOOLKIT_MSW_USE_GUI_1=""
44024 fi
44025
44026 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
44027 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44028 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
44029 fi
44030
44031 COND_TOOLKIT_PM="#"
44032 if test "x$TOOLKIT" = "xPM" ; then
44033 COND_TOOLKIT_PM=""
44034 fi
44035
44036 COND_TOOLKIT_PM_USE_GUI_1="#"
44037 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
44038 COND_TOOLKIT_PM_USE_GUI_1=""
44039 fi
44040
44041 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
44042 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44043 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
44044 fi
44045
44046 COND_TOOLKIT_WINCE="#"
44047 if test "x$TOOLKIT" = "xWINCE" ; then
44048 COND_TOOLKIT_WINCE=""
44049 fi
44050
44051 COND_TOOLKIT_WINCE_USE_GUI_1="#"
44052 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
44053 COND_TOOLKIT_WINCE_USE_GUI_1=""
44054 fi
44055
44056 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
44057 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44058 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
44059 fi
44060
44061 COND_TOOLKIT_X11="#"
44062 if test "x$TOOLKIT" = "xX11" ; then
44063 COND_TOOLKIT_X11=""
44064 fi
44065
44066 COND_TOOLKIT_X11_USE_GUI_1="#"
44067 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
44068 COND_TOOLKIT_X11_USE_GUI_1=""
44069 fi
44070
44071 COND_UNICODE_1="#"
44072 if test "x$UNICODE" = "x1" ; then
44073 COND_UNICODE_1=""
44074 fi
44075
44076 COND_USE_EXCEPTIONS_0="#"
44077 if test "x$USE_EXCEPTIONS" = "x0" ; then
44078 COND_USE_EXCEPTIONS_0=""
44079 fi
44080
44081 COND_USE_EXCEPTIONS_1="#"
44082 if test "x$USE_EXCEPTIONS" = "x1" ; then
44083 COND_USE_EXCEPTIONS_1=""
44084 fi
44085
44086 COND_USE_GUI_0="#"
44087 if test "x$USE_GUI" = "x0" ; then
44088 COND_USE_GUI_0=""
44089 fi
44090
44091 COND_USE_GUI_1="#"
44092 if test "x$USE_GUI" = "x1" ; then
44093 COND_USE_GUI_1=""
44094 fi
44095
44096 COND_USE_GUI_1_WXUNIV_0="#"
44097 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44098 COND_USE_GUI_1_WXUNIV_0=""
44099 fi
44100
44101 COND_USE_GUI_1_WXUNIV_1="#"
44102 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
44103 COND_USE_GUI_1_WXUNIV_1=""
44104 fi
44105
44106 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
44107 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
44108 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
44109 fi
44110
44111 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
44112 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
44113 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
44114 fi
44115
44116 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
44117 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
44118 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
44119 fi
44120
44121 COND_USE_ODBC_1="#"
44122 if test "x$USE_ODBC" = "x1" ; then
44123 COND_USE_ODBC_1=""
44124 fi
44125
44126 COND_USE_OPENGL_1="#"
44127 if test "x$USE_OPENGL" = "x1" ; then
44128 COND_USE_OPENGL_1=""
44129 fi
44130
44131 COND_USE_PLUGINS_0="#"
44132 if test "x$USE_PLUGINS" = "x0" ; then
44133 COND_USE_PLUGINS_0=""
44134 fi
44135
44136 COND_USE_RTTI_0="#"
44137 if test "x$USE_RTTI" = "x0" ; then
44138 COND_USE_RTTI_0=""
44139 fi
44140
44141 COND_USE_RTTI_1="#"
44142 if test "x$USE_RTTI" = "x1" ; then
44143 COND_USE_RTTI_1=""
44144 fi
44145
44146 COND_USE_SOSYMLINKS_1="#"
44147 if test "x$USE_SOSYMLINKS" = "x1" ; then
44148 COND_USE_SOSYMLINKS_1=""
44149 fi
44150
44151 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
44152 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
44153 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
44154 fi
44155
44156 COND_USE_SOVERLINUX_1="#"
44157 if test "x$USE_SOVERLINUX" = "x1" ; then
44158 COND_USE_SOVERLINUX_1=""
44159 fi
44160
44161 COND_USE_SOVERSION_0="#"
44162 if test "x$USE_SOVERSION" = "x0" ; then
44163 COND_USE_SOVERSION_0=""
44164 fi
44165
44166 COND_USE_SOVERSOLARIS_1="#"
44167 if test "x$USE_SOVERSOLARIS" = "x1" ; then
44168 COND_USE_SOVERSOLARIS_1=""
44169 fi
44170
44171 COND_USE_THREADS_0="#"
44172 if test "x$USE_THREADS" = "x0" ; then
44173 COND_USE_THREADS_0=""
44174 fi
44175
44176 COND_USE_THREADS_1="#"
44177 if test "x$USE_THREADS" = "x1" ; then
44178 COND_USE_THREADS_1=""
44179 fi
44180
44181 COND_USE_XRC_1="#"
44182 if test "x$USE_XRC" = "x1" ; then
44183 COND_USE_XRC_1=""
44184 fi
44185
44186 COND_WINDOWS_IMPLIB_1="#"
44187 if test "x$WINDOWS_IMPLIB" = "x1" ; then
44188 COND_WINDOWS_IMPLIB_1=""
44189 fi
44190
44191 COND_WITH_PLUGIN_SDL_1="#"
44192 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
44193 COND_WITH_PLUGIN_SDL_1=""
44194 fi
44195
44196 COND_WXUNIV_0="#"
44197 if test "x$WXUNIV" = "x0" ; then
44198 COND_WXUNIV_0=""
44199 fi
44200
44201 COND_WXUNIV_1="#"
44202 if test "x$WXUNIV" = "x1" ; then
44203 COND_WXUNIV_1=""
44204 fi
44205
44206 COND_WXUSE_EXPAT_BUILTIN="#"
44207 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
44208 COND_WXUSE_EXPAT_BUILTIN=""
44209 fi
44210
44211 COND_WXUSE_LIBJPEG_BUILTIN="#"
44212 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
44213 COND_WXUSE_LIBJPEG_BUILTIN=""
44214 fi
44215
44216 COND_WXUSE_LIBPNG_BUILTIN="#"
44217 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
44218 COND_WXUSE_LIBPNG_BUILTIN=""
44219 fi
44220
44221 COND_WXUSE_LIBTIFF_BUILTIN="#"
44222 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
44223 COND_WXUSE_LIBTIFF_BUILTIN=""
44224 fi
44225
44226 COND_WXUSE_ODBC_BUILTIN="#"
44227 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
44228 COND_WXUSE_ODBC_BUILTIN=""
44229 fi
44230
44231 COND_WXUSE_REGEX_BUILTIN="#"
44232 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
44233 COND_WXUSE_REGEX_BUILTIN=""
44234 fi
44235
44236 COND_WXUSE_ZLIB_BUILTIN="#"
44237 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
44238 COND_WXUSE_ZLIB_BUILTIN=""
44239 fi
44240
44241
44242
44243 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
44244 { { echo "$as_me:$LINENO: error: No version found in autoconf_inc.m4 - bakefile macro was changed to take additional argument, perhaps configure.in wasn't updated (see the documentation)?" >&5
44245 echo "$as_me: error: No version found in autoconf_inc.m4 - bakefile macro was changed to take additional argument, perhaps configure.in wasn't updated (see the documentation)?" >&2;}
44246 { (exit 1); exit 1; }; }
44247 fi
44248
44249 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
44250 { { 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
44251 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;}
44252 { (exit 1); exit 1; }; }
44253 fi
44254
44255
44256 if test "$wxUSE_WINE" = "yes"; then
44257 RESCOMP=wrc
44258 fi
44259
44260 if test "$wxUSE_SHARED" = "yes"; then
44261
44262 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
44263 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
44264
44265 case "${host}" in
44266 *-pc-os2_emx | *-pc-os2-emx )
44267 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
44268 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
44269 cp -p ${srcdir}/src/os2/dllnames.sh .
44270 cp -p ${srcdir}/src/os2/dllar.sh .
44271 ;;
44272 esac
44273 else
44274
44275 EXE_LINKER="$CXX -o"
44276
44277 fi
44278 if test "$wxUSE_OMF" = "yes"; then
44279 case "${host}" in
44280 *-pc-os2_emx | *-pc-os2-emx )
44281 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
44282 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
44283 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
44284 ;;
44285 esac
44286 fi
44287
44288 GCC_PRAGMA_FLAGS=""
44289 PCH_FLAGS=""
44290
44291 if test $GCC_PCH = 1 ; then
44292 PCH_FLAGS="-DWX_PRECOMP"
44293 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
44294 else
44295 if test "$GCC" = yes; then
44296 echo "$as_me:$LINENO: checking if this GCC version is >= 4.0 and needs -DNO_GCC_PRAGMA" >&5
44297 echo $ECHO_N "checking if this GCC version is >= 4.0 and needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
44298 cat >conftest.$ac_ext <<_ACEOF
44299 /* confdefs.h. */
44300 _ACEOF
44301 cat confdefs.h >>conftest.$ac_ext
44302 cat >>conftest.$ac_ext <<_ACEOF
44303 /* end confdefs.h. */
44304
44305 int
44306 main ()
44307 {
44308 #if (__GNUC__ < 4)
44309 #error "Not GCC 4.0 or greater"
44310 #endif
44311
44312 ;
44313 return 0;
44314 }
44315 _ACEOF
44316 rm -f conftest.$ac_objext
44317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44318 (eval $ac_compile) 2>conftest.er1
44319 ac_status=$?
44320 grep -v '^ *+' conftest.er1 >conftest.err
44321 rm -f conftest.er1
44322 cat conftest.err >&5
44323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44324 (exit $ac_status); } &&
44325 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44327 (eval $ac_try) 2>&5
44328 ac_status=$?
44329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44330 (exit $ac_status); }; } &&
44331 { ac_try='test -s conftest.$ac_objext'
44332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44333 (eval $ac_try) 2>&5
44334 ac_status=$?
44335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44336 (exit $ac_status); }; }; then
44337 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
44338 echo "$as_me:$LINENO: result: yes" >&5
44339 echo "${ECHO_T}yes" >&6
44340 else
44341 echo "$as_me: failed program was:" >&5
44342 sed 's/^/| /' conftest.$ac_ext >&5
44343
44344 echo "$as_me:$LINENO: result: no" >&5
44345 echo "${ECHO_T}no" >&6
44346 case "${host}" in
44347 powerpc-*-darwin* )
44348 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
44349 ;;
44350 *-*-mingw32* )
44351 if test "$wxUSE_STL" = "yes" -o \
44352 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
44353 "$wxUSE_NO_RTTI" != "yes"; then
44354 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
44355 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
44356 cat >conftest.$ac_ext <<_ACEOF
44357 /* confdefs.h. */
44358 _ACEOF
44359 cat confdefs.h >>conftest.$ac_ext
44360 cat >>conftest.$ac_ext <<_ACEOF
44361 /* end confdefs.h. */
44362
44363 int
44364 main ()
44365 {
44366 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
44367 #error "Not GCC 3.2 or greater"
44368 #endif
44369
44370 ;
44371 return 0;
44372 }
44373 _ACEOF
44374 rm -f conftest.$ac_objext
44375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44376 (eval $ac_compile) 2>conftest.er1
44377 ac_status=$?
44378 grep -v '^ *+' conftest.er1 >conftest.err
44379 rm -f conftest.er1
44380 cat conftest.err >&5
44381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44382 (exit $ac_status); } &&
44383 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44385 (eval $ac_try) 2>&5
44386 ac_status=$?
44387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44388 (exit $ac_status); }; } &&
44389 { ac_try='test -s conftest.$ac_objext'
44390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44391 (eval $ac_try) 2>&5
44392 ac_status=$?
44393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44394 (exit $ac_status); }; }; then
44395 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
44396 echo "$as_me:$LINENO: result: yes" >&5
44397 echo "${ECHO_T}yes" >&6
44398 else
44399 echo "$as_me: failed program was:" >&5
44400 sed 's/^/| /' conftest.$ac_ext >&5
44401
44402 echo "$as_me:$LINENO: result: no" >&5
44403 echo "${ECHO_T}no" >&6
44404 fi
44405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44406 fi
44407 ;;
44408 *-pc-os2_emx | *-pc-os2-emx )
44409 if test "$wxUSE_STL" = "yes"; then
44410 echo "$as_me:$LINENO: checking if this gcc version needs -DNO_GCC_PRAGMA" >&5
44411 echo $ECHO_N "checking if this gcc version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
44412 cat >conftest.$ac_ext <<_ACEOF
44413 /* confdefs.h. */
44414 _ACEOF
44415 cat confdefs.h >>conftest.$ac_ext
44416 cat >>conftest.$ac_ext <<_ACEOF
44417 /* end confdefs.h. */
44418
44419 int
44420 main ()
44421 {
44422 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
44423 #error "Not GCC 3.2 or greater"
44424 #endif
44425
44426 ;
44427 return 0;
44428 }
44429 _ACEOF
44430 rm -f conftest.$ac_objext
44431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44432 (eval $ac_compile) 2>conftest.er1
44433 ac_status=$?
44434 grep -v '^ *+' conftest.er1 >conftest.err
44435 rm -f conftest.er1
44436 cat conftest.err >&5
44437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44438 (exit $ac_status); } &&
44439 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44441 (eval $ac_try) 2>&5
44442 ac_status=$?
44443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44444 (exit $ac_status); }; } &&
44445 { ac_try='test -s conftest.$ac_objext'
44446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44447 (eval $ac_try) 2>&5
44448 ac_status=$?
44449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44450 (exit $ac_status); }; }; then
44451 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
44452 echo "$as_me:$LINENO: result: yes" >&5
44453 echo "${ECHO_T}yes" >&6
44454 else
44455 echo "$as_me: failed program was:" >&5
44456 sed 's/^/| /' conftest.$ac_ext >&5
44457
44458 echo "$as_me:$LINENO: result: no" >&5
44459 echo "${ECHO_T}no" >&6
44460 fi
44461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44462 fi
44463 ;;
44464 esac
44465
44466 fi
44467 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44468 fi
44469 fi
44470 CPPFLAGS="$PCH_FLAGS $GCC_PRAGMA_FLAGS $CPPFLAGS"
44471
44472
44473 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
44474
44475
44476
44477
44478
44479
44480
44481
44482
44483
44484
44485
44486
44487
44488
44489
44490
44491
44492
44493
44494
44495
44496
44497
44498
44499
44500
44501
44502
44503
44504
44505
44506
44507
44508
44509
44510
44511
44512
44513
44514
44515
44516
44517
44518
44519
44520
44521
44522
44523
44524
44525
44526
44527
44528
44529
44530
44531
44532
44533
44534
44535
44536
44537 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
44538 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
44539 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
44540 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
44541 echo $ECHO_N "(cached) $ECHO_C" >&6
44542 else
44543 cat >conftest.make <<\_ACEOF
44544 all:
44545 @echo 'ac_maketemp="$(MAKE)"'
44546 _ACEOF
44547 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
44548 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
44549 if test -n "$ac_maketemp"; then
44550 eval ac_cv_prog_make_${ac_make}_set=yes
44551 else
44552 eval ac_cv_prog_make_${ac_make}_set=no
44553 fi
44554 rm -f conftest.make
44555 fi
44556 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
44557 echo "$as_me:$LINENO: result: yes" >&5
44558 echo "${ECHO_T}yes" >&6
44559 SET_MAKE=
44560 else
44561 echo "$as_me:$LINENO: result: no" >&5
44562 echo "${ECHO_T}no" >&6
44563 SET_MAKE="MAKE=${MAKE-make}"
44564 fi
44565
44566
44567
44568 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
44569
44570
44571 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
44572
44573
44574 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
44575
44576
44577 ac_config_files="$ac_config_files version-script Makefile"
44578
44579
44580 ac_config_commands="$ac_config_commands wx-config
44581 "
44582
44583
44584
44585
44586 if test "$wxUSE_GUI" = "yes"; then
44587 SUBDIRS="samples demos utils contrib"
44588 else SUBDIRS="samples utils"
44589 fi
44590
44591
44592
44593 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
44594 if test "${with_cppunit_prefix+set}" = set; then
44595 withval="$with_cppunit_prefix"
44596 cppunit_config_prefix="$withval"
44597 else
44598 cppunit_config_prefix=""
44599 fi;
44600
44601 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
44602 if test "${with_cppunit_exec_prefix+set}" = set; then
44603 withval="$with_cppunit_exec_prefix"
44604 cppunit_config_exec_prefix="$withval"
44605 else
44606 cppunit_config_exec_prefix=""
44607 fi;
44608
44609 if test x$cppunit_config_exec_prefix != x ; then
44610 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
44611 if test x${CPPUNIT_CONFIG+set} != xset ; then
44612 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
44613 fi
44614 fi
44615 if test x$cppunit_config_prefix != x ; then
44616 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
44617 if test x${CPPUNIT_CONFIG+set} != xset ; then
44618 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
44619 fi
44620 fi
44621
44622 # Extract the first word of "cppunit-config", so it can be a program name with args.
44623 set dummy cppunit-config; ac_word=$2
44624 echo "$as_me:$LINENO: checking for $ac_word" >&5
44625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44626 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
44627 echo $ECHO_N "(cached) $ECHO_C" >&6
44628 else
44629 case $CPPUNIT_CONFIG in
44630 [\\/]* | ?:[\\/]*)
44631 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
44632 ;;
44633 *)
44634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44635 for as_dir in $PATH
44636 do
44637 IFS=$as_save_IFS
44638 test -z "$as_dir" && as_dir=.
44639 for ac_exec_ext in '' $ac_executable_extensions; do
44640 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44641 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44642 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44643 break 2
44644 fi
44645 done
44646 done
44647
44648 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
44649 ;;
44650 esac
44651 fi
44652 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
44653
44654 if test -n "$CPPUNIT_CONFIG"; then
44655 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
44656 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
44657 else
44658 echo "$as_me:$LINENO: result: no" >&5
44659 echo "${ECHO_T}no" >&6
44660 fi
44661
44662 cppunit_version_min=1.8.0
44663
44664 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
44665 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
44666 no_cppunit=""
44667 if test "$CPPUNIT_CONFIG" = "no" ; then
44668 no_cppunit=yes
44669 else
44670 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
44671 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
44672 cppunit_version=`$CPPUNIT_CONFIG --version`
44673
44674 cppunit_major_version=`echo $cppunit_version | \
44675 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44676 cppunit_minor_version=`echo $cppunit_version | \
44677 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44678 cppunit_micro_version=`echo $cppunit_version | \
44679 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44680
44681 cppunit_major_min=`echo $cppunit_version_min | \
44682 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44683 cppunit_minor_min=`echo $cppunit_version_min | \
44684 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44685 cppunit_micro_min=`echo $cppunit_version_min | \
44686 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44687
44688 cppunit_version_proper=`expr \
44689 $cppunit_major_version \> $cppunit_major_min \| \
44690 $cppunit_major_version \= $cppunit_major_min \& \
44691 $cppunit_minor_version \> $cppunit_minor_min \| \
44692 $cppunit_major_version \= $cppunit_major_min \& \
44693 $cppunit_minor_version \= $cppunit_minor_min \& \
44694 $cppunit_micro_version \>= $cppunit_micro_min `
44695
44696 if test "$cppunit_version_proper" = "1" ; then
44697 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
44698 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
44699 else
44700 echo "$as_me:$LINENO: result: no" >&5
44701 echo "${ECHO_T}no" >&6
44702 no_cppunit=yes
44703 fi
44704 fi
44705
44706 if test "x$no_cppunit" = x ; then
44707 SUBDIRS="$SUBDIRS tests"
44708 else
44709 CPPUNIT_CFLAGS=""
44710 CPPUNIT_LIBS=""
44711 :
44712 fi
44713
44714
44715
44716
44717
44718 for subdir in `echo $SUBDIRS`; do
44719 if test -d ${srcdir}/${subdir} ; then
44720 if test "$wxUSE_GUI" = "yes"; then
44721 if test ${subdir} = "samples"; then
44722 makefiles="samples/Makefile.in $makefiles"
44723 for sample in `echo $SAMPLES_SUBDIRS`; do
44724 if test -d $srcdir/samples/$sample; then
44725 makefiles="samples/$sample/Makefile.in $makefiles"
44726 fi
44727 done
44728 else
44729 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
44730 eval "disabled=\$$disabled_var"
44731 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
44732 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
44733 fi
44734 else if test ${subdir} = "samples"; then
44735 makefiles="samples/Makefile.in samples/console/Makefile.in"
44736 elif test ${subdir} = "utils"; then
44737 makefiles=""
44738 for util in HelpGen tex2rtf ; do
44739 if test -d $srcdir/utils/$util ; then
44740 makefiles="utils/$util/Makefile.in \
44741 utils/$util/src/Makefile.in \
44742 $makefiles"
44743 fi
44744 done
44745 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
44746 fi
44747 fi
44748
44749 for mkin in $makefiles ; do
44750 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
44751 ac_config_files="$ac_config_files $mk"
44752
44753 done
44754 fi
44755 done
44756
44757
44758 cat >confcache <<\_ACEOF
44759 # This file is a shell script that caches the results of configure
44760 # tests run on this system so they can be shared between configure
44761 # scripts and configure runs, see configure's option --config-cache.
44762 # It is not useful on other systems. If it contains results you don't
44763 # want to keep, you may remove or edit it.
44764 #
44765 # config.status only pays attention to the cache file if you give it
44766 # the --recheck option to rerun configure.
44767 #
44768 # `ac_cv_env_foo' variables (set or unset) will be overridden when
44769 # loading this file, other *unset* `ac_cv_foo' will be assigned the
44770 # following values.
44771
44772 _ACEOF
44773
44774 # The following way of writing the cache mishandles newlines in values,
44775 # but we know of no workaround that is simple, portable, and efficient.
44776 # So, don't put newlines in cache variables' values.
44777 # Ultrix sh set writes to stderr and can't be redirected directly,
44778 # and sets the high bit in the cache file unless we assign to the vars.
44779 {
44780 (set) 2>&1 |
44781 case `(ac_space=' '; set | grep ac_space) 2>&1` in
44782 *ac_space=\ *)
44783 # `set' does not quote correctly, so add quotes (double-quote
44784 # substitution turns \\\\ into \\, and sed turns \\ into \).
44785 sed -n \
44786 "s/'/'\\\\''/g;
44787 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
44788 ;;
44789 *)
44790 # `set' quotes correctly as required by POSIX, so do not add quotes.
44791 sed -n \
44792 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
44793 ;;
44794 esac;
44795 } |
44796 sed '
44797 t clear
44798 : clear
44799 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
44800 t end
44801 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
44802 : end' >>confcache
44803 if diff $cache_file confcache >/dev/null 2>&1; then :; else
44804 if test -w $cache_file; then
44805 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
44806 cat confcache >$cache_file
44807 else
44808 echo "not updating unwritable cache $cache_file"
44809 fi
44810 fi
44811 rm -f confcache
44812
44813 test "x$prefix" = xNONE && prefix=$ac_default_prefix
44814 # Let make expand exec_prefix.
44815 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
44816
44817 # VPATH may cause trouble with some makes, so we remove $(srcdir),
44818 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
44819 # trailing colons and then remove the whole line if VPATH becomes empty
44820 # (actually we leave an empty line to preserve line numbers).
44821 if test "x$srcdir" = x.; then
44822 ac_vpsub='/^[ ]*VPATH[ ]*=/{
44823 s/:*\$(srcdir):*/:/;
44824 s/:*\${srcdir}:*/:/;
44825 s/:*@srcdir@:*/:/;
44826 s/^\([^=]*=[ ]*\):*/\1/;
44827 s/:*$//;
44828 s/^[^=]*=[ ]*$//;
44829 }'
44830 fi
44831
44832 DEFS=-DHAVE_CONFIG_H
44833
44834 ac_libobjs=
44835 ac_ltlibobjs=
44836 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
44837 # 1. Remove the extension, and $U if already installed.
44838 ac_i=`echo "$ac_i" |
44839 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
44840 # 2. Add them.
44841 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
44842 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
44843 done
44844 LIBOBJS=$ac_libobjs
44845
44846 LTLIBOBJS=$ac_ltlibobjs
44847
44848
44849
44850 : ${CONFIG_STATUS=./config.status}
44851 ac_clean_files_save=$ac_clean_files
44852 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
44853 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
44854 echo "$as_me: creating $CONFIG_STATUS" >&6;}
44855 cat >$CONFIG_STATUS <<_ACEOF
44856 #! $SHELL
44857 # Generated by $as_me.
44858 # Run this file to recreate the current configuration.
44859 # Compiler output produced by configure, useful for debugging
44860 # configure, is in config.log if it exists.
44861
44862 debug=false
44863 ac_cs_recheck=false
44864 ac_cs_silent=false
44865 SHELL=\${CONFIG_SHELL-$SHELL}
44866 _ACEOF
44867
44868 cat >>$CONFIG_STATUS <<\_ACEOF
44869 ## --------------------- ##
44870 ## M4sh Initialization. ##
44871 ## --------------------- ##
44872
44873 # Be Bourne compatible
44874 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
44875 emulate sh
44876 NULLCMD=:
44877 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
44878 # is contrary to our usage. Disable this feature.
44879 alias -g '${1+"$@"}'='"$@"'
44880 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
44881 set -o posix
44882 fi
44883 DUALCASE=1; export DUALCASE # for MKS sh
44884
44885 # Support unset when possible.
44886 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
44887 as_unset=unset
44888 else
44889 as_unset=false
44890 fi
44891
44892
44893 # Work around bugs in pre-3.0 UWIN ksh.
44894 $as_unset ENV MAIL MAILPATH
44895 PS1='$ '
44896 PS2='> '
44897 PS4='+ '
44898
44899 # NLS nuisances.
44900 for as_var in \
44901 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44902 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44903 LC_TELEPHONE LC_TIME
44904 do
44905 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
44906 eval $as_var=C; export $as_var
44907 else
44908 $as_unset $as_var
44909 fi
44910 done
44911
44912 # Required to use basename.
44913 if expr a : '\(a\)' >/dev/null 2>&1; then
44914 as_expr=expr
44915 else
44916 as_expr=false
44917 fi
44918
44919 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
44920 as_basename=basename
44921 else
44922 as_basename=false
44923 fi
44924
44925
44926 # Name of the executable.
44927 as_me=`$as_basename "$0" ||
44928 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
44929 X"$0" : 'X\(//\)$' \| \
44930 X"$0" : 'X\(/\)$' \| \
44931 . : '\(.\)' 2>/dev/null ||
44932 echo X/"$0" |
44933 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
44934 /^X\/\(\/\/\)$/{ s//\1/; q; }
44935 /^X\/\(\/\).*/{ s//\1/; q; }
44936 s/.*/./; q'`
44937
44938
44939 # PATH needs CR, and LINENO needs CR and PATH.
44940 # Avoid depending upon Character Ranges.
44941 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
44942 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
44943 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
44944 as_cr_digits='0123456789'
44945 as_cr_alnum=$as_cr_Letters$as_cr_digits
44946
44947 # The user is always right.
44948 if test "${PATH_SEPARATOR+set}" != set; then
44949 echo "#! /bin/sh" >conf$$.sh
44950 echo "exit 0" >>conf$$.sh
44951 chmod +x conf$$.sh
44952 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
44953 PATH_SEPARATOR=';'
44954 else
44955 PATH_SEPARATOR=:
44956 fi
44957 rm -f conf$$.sh
44958 fi
44959
44960
44961 as_lineno_1=$LINENO
44962 as_lineno_2=$LINENO
44963 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
44964 test "x$as_lineno_1" != "x$as_lineno_2" &&
44965 test "x$as_lineno_3" = "x$as_lineno_2" || {
44966 # Find who we are. Look in the path if we contain no path at all
44967 # relative or not.
44968 case $0 in
44969 *[\\/]* ) as_myself=$0 ;;
44970 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44971 for as_dir in $PATH
44972 do
44973 IFS=$as_save_IFS
44974 test -z "$as_dir" && as_dir=.
44975 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
44976 done
44977
44978 ;;
44979 esac
44980 # We did not find ourselves, most probably we were run as `sh COMMAND'
44981 # in which case we are not to be found in the path.
44982 if test "x$as_myself" = x; then
44983 as_myself=$0
44984 fi
44985 if test ! -f "$as_myself"; then
44986 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
44987 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
44988 { (exit 1); exit 1; }; }
44989 fi
44990 case $CONFIG_SHELL in
44991 '')
44992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44993 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
44994 do
44995 IFS=$as_save_IFS
44996 test -z "$as_dir" && as_dir=.
44997 for as_base in sh bash ksh sh5; do
44998 case $as_dir in
44999 /*)
45000 if ("$as_dir/$as_base" -c '
45001 as_lineno_1=$LINENO
45002 as_lineno_2=$LINENO
45003 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
45004 test "x$as_lineno_1" != "x$as_lineno_2" &&
45005 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
45006 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
45007 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
45008 CONFIG_SHELL=$as_dir/$as_base
45009 export CONFIG_SHELL
45010 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
45011 fi;;
45012 esac
45013 done
45014 done
45015 ;;
45016 esac
45017
45018 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
45019 # uniformly replaced by the line number. The first 'sed' inserts a
45020 # line-number line before each line; the second 'sed' does the real
45021 # work. The second script uses 'N' to pair each line-number line
45022 # with the numbered line, and appends trailing '-' during
45023 # substitution so that $LINENO is not a special case at line end.
45024 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
45025 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
45026 sed '=' <$as_myself |
45027 sed '
45028 N
45029 s,$,-,
45030 : loop
45031 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
45032 t loop
45033 s,-$,,
45034 s,^['$as_cr_digits']*\n,,
45035 ' >$as_me.lineno &&
45036 chmod +x $as_me.lineno ||
45037 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
45038 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
45039 { (exit 1); exit 1; }; }
45040
45041 # Don't try to exec as it changes $[0], causing all sort of problems
45042 # (the dirname of $[0] is not the place where we might find the
45043 # original and so on. Autoconf is especially sensible to this).
45044 . ./$as_me.lineno
45045 # Exit status is that of the last command.
45046 exit
45047 }
45048
45049
45050 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
45051 *c*,-n*) ECHO_N= ECHO_C='
45052 ' ECHO_T=' ' ;;
45053 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
45054 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
45055 esac
45056
45057 if expr a : '\(a\)' >/dev/null 2>&1; then
45058 as_expr=expr
45059 else
45060 as_expr=false
45061 fi
45062
45063 rm -f conf$$ conf$$.exe conf$$.file
45064 echo >conf$$.file
45065 if ln -s conf$$.file conf$$ 2>/dev/null; then
45066 # We could just check for DJGPP; but this test a) works b) is more generic
45067 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
45068 if test -f conf$$.exe; then
45069 # Don't use ln at all; we don't have any links
45070 as_ln_s='cp -p'
45071 else
45072 as_ln_s='ln -s'
45073 fi
45074 elif ln conf$$.file conf$$ 2>/dev/null; then
45075 as_ln_s=ln
45076 else
45077 as_ln_s='cp -p'
45078 fi
45079 rm -f conf$$ conf$$.exe conf$$.file
45080
45081 if mkdir -p . 2>/dev/null; then
45082 as_mkdir_p=:
45083 else
45084 test -d ./-p && rmdir ./-p
45085 as_mkdir_p=false
45086 fi
45087
45088 as_executable_p="test -f"
45089
45090 # Sed expression to map a string onto a valid CPP name.
45091 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
45092
45093 # Sed expression to map a string onto a valid variable name.
45094 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
45095
45096
45097 # IFS
45098 # We need space, tab and new line, in precisely that order.
45099 as_nl='
45100 '
45101 IFS=" $as_nl"
45102
45103 # CDPATH.
45104 $as_unset CDPATH
45105
45106 exec 6>&1
45107
45108 # Open the log real soon, to keep \$[0] and so on meaningful, and to
45109 # report actual input values of CONFIG_FILES etc. instead of their
45110 # values after options handling. Logging --version etc. is OK.
45111 exec 5>>config.log
45112 {
45113 echo
45114 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
45115 ## Running $as_me. ##
45116 _ASBOX
45117 } >&5
45118 cat >&5 <<_CSEOF
45119
45120 This file was extended by wxWidgets $as_me 2.6.2, which was
45121 generated by GNU Autoconf 2.59. Invocation command line was
45122
45123 CONFIG_FILES = $CONFIG_FILES
45124 CONFIG_HEADERS = $CONFIG_HEADERS
45125 CONFIG_LINKS = $CONFIG_LINKS
45126 CONFIG_COMMANDS = $CONFIG_COMMANDS
45127 $ $0 $@
45128
45129 _CSEOF
45130 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
45131 echo >&5
45132 _ACEOF
45133
45134 # Files that config.status was made for.
45135 if test -n "$ac_config_files"; then
45136 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
45137 fi
45138
45139 if test -n "$ac_config_headers"; then
45140 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
45141 fi
45142
45143 if test -n "$ac_config_links"; then
45144 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
45145 fi
45146
45147 if test -n "$ac_config_commands"; then
45148 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
45149 fi
45150
45151 cat >>$CONFIG_STATUS <<\_ACEOF
45152
45153 ac_cs_usage="\
45154 \`$as_me' instantiates files from templates according to the
45155 current configuration.
45156
45157 Usage: $0 [OPTIONS] [FILE]...
45158
45159 -h, --help print this help, then exit
45160 -V, --version print version number, then exit
45161 -q, --quiet do not print progress messages
45162 -d, --debug don't remove temporary files
45163 --recheck update $as_me by reconfiguring in the same conditions
45164 --file=FILE[:TEMPLATE]
45165 instantiate the configuration file FILE
45166 --header=FILE[:TEMPLATE]
45167 instantiate the configuration header FILE
45168
45169 Configuration files:
45170 $config_files
45171
45172 Configuration headers:
45173 $config_headers
45174
45175 Configuration commands:
45176 $config_commands
45177
45178 Report bugs to <bug-autoconf@gnu.org>."
45179 _ACEOF
45180
45181 cat >>$CONFIG_STATUS <<_ACEOF
45182 ac_cs_version="\\
45183 wxWidgets config.status 2.6.2
45184 configured by $0, generated by GNU Autoconf 2.59,
45185 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
45186
45187 Copyright (C) 2003 Free Software Foundation, Inc.
45188 This config.status script is free software; the Free Software Foundation
45189 gives unlimited permission to copy, distribute and modify it."
45190 srcdir=$srcdir
45191 INSTALL="$INSTALL"
45192 _ACEOF
45193
45194 cat >>$CONFIG_STATUS <<\_ACEOF
45195 # If no file are specified by the user, then we need to provide default
45196 # value. By we need to know if files were specified by the user.
45197 ac_need_defaults=:
45198 while test $# != 0
45199 do
45200 case $1 in
45201 --*=*)
45202 ac_option=`expr "x$1" : 'x\([^=]*\)='`
45203 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
45204 ac_shift=:
45205 ;;
45206 -*)
45207 ac_option=$1
45208 ac_optarg=$2
45209 ac_shift=shift
45210 ;;
45211 *) # This is not an option, so the user has probably given explicit
45212 # arguments.
45213 ac_option=$1
45214 ac_need_defaults=false;;
45215 esac
45216
45217 case $ac_option in
45218 # Handling of the options.
45219 _ACEOF
45220 cat >>$CONFIG_STATUS <<\_ACEOF
45221 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
45222 ac_cs_recheck=: ;;
45223 --version | --vers* | -V )
45224 echo "$ac_cs_version"; exit 0 ;;
45225 --he | --h)
45226 # Conflict between --help and --header
45227 { { echo "$as_me:$LINENO: error: ambiguous option: $1
45228 Try \`$0 --help' for more information." >&5
45229 echo "$as_me: error: ambiguous option: $1
45230 Try \`$0 --help' for more information." >&2;}
45231 { (exit 1); exit 1; }; };;
45232 --help | --hel | -h )
45233 echo "$ac_cs_usage"; exit 0 ;;
45234 --debug | --d* | -d )
45235 debug=: ;;
45236 --file | --fil | --fi | --f )
45237 $ac_shift
45238 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
45239 ac_need_defaults=false;;
45240 --header | --heade | --head | --hea )
45241 $ac_shift
45242 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
45243 ac_need_defaults=false;;
45244 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
45245 | -silent | --silent | --silen | --sile | --sil | --si | --s)
45246 ac_cs_silent=: ;;
45247
45248 # This is an error.
45249 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
45250 Try \`$0 --help' for more information." >&5
45251 echo "$as_me: error: unrecognized option: $1
45252 Try \`$0 --help' for more information." >&2;}
45253 { (exit 1); exit 1; }; } ;;
45254
45255 *) ac_config_targets="$ac_config_targets $1" ;;
45256
45257 esac
45258 shift
45259 done
45260
45261 ac_configure_extra_args=
45262
45263 if $ac_cs_silent; then
45264 exec 6>/dev/null
45265 ac_configure_extra_args="$ac_configure_extra_args --silent"
45266 fi
45267
45268 _ACEOF
45269 cat >>$CONFIG_STATUS <<_ACEOF
45270 if \$ac_cs_recheck; then
45271 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
45272 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
45273 fi
45274
45275 _ACEOF
45276
45277 cat >>$CONFIG_STATUS <<_ACEOF
45278 #
45279 # INIT-COMMANDS section.
45280 #
45281
45282 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
45283 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
45284 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
45285 LN_S="${LN_S}"
45286
45287
45288 _ACEOF
45289
45290
45291
45292 cat >>$CONFIG_STATUS <<\_ACEOF
45293 for ac_config_target in $ac_config_targets
45294 do
45295 case "$ac_config_target" in
45296 # Handling of arguments.
45297 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
45298 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
45299 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
45300 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
45301 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
45302 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
45303 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
45304 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
45305 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
45306 { (exit 1); exit 1; }; };;
45307 esac
45308 done
45309
45310 # If the user did not use the arguments to specify the items to instantiate,
45311 # then the envvar interface is used. Set only those that are not.
45312 # We use the long form for the default assignment because of an extremely
45313 # bizarre bug on SunOS 4.1.3.
45314 if $ac_need_defaults; then
45315 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
45316 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
45317 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
45318 fi
45319
45320 # Have a temporary directory for convenience. Make it in the build tree
45321 # simply because there is no reason to put it here, and in addition,
45322 # creating and moving files from /tmp can sometimes cause problems.
45323 # Create a temporary directory, and hook for its removal unless debugging.
45324 $debug ||
45325 {
45326 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
45327 trap '{ (exit 1); exit 1; }' 1 2 13 15
45328 }
45329
45330 # Create a (secure) tmp directory for tmp files.
45331
45332 {
45333 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
45334 test -n "$tmp" && test -d "$tmp"
45335 } ||
45336 {
45337 tmp=./confstat$$-$RANDOM
45338 (umask 077 && mkdir $tmp)
45339 } ||
45340 {
45341 echo "$me: cannot create a temporary directory in ." >&2
45342 { (exit 1); exit 1; }
45343 }
45344
45345 _ACEOF
45346
45347 cat >>$CONFIG_STATUS <<_ACEOF
45348
45349 #
45350 # CONFIG_FILES section.
45351 #
45352
45353 # No need to generate the scripts if there are no CONFIG_FILES.
45354 # This happens for instance when ./config.status config.h
45355 if test -n "\$CONFIG_FILES"; then
45356 # Protect against being on the right side of a sed subst in config.status.
45357 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
45358 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
45359 s,@SHELL@,$SHELL,;t t
45360 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
45361 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
45362 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
45363 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
45364 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
45365 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
45366 s,@exec_prefix@,$exec_prefix,;t t
45367 s,@prefix@,$prefix,;t t
45368 s,@program_transform_name@,$program_transform_name,;t t
45369 s,@bindir@,$bindir,;t t
45370 s,@sbindir@,$sbindir,;t t
45371 s,@libexecdir@,$libexecdir,;t t
45372 s,@datadir@,$datadir,;t t
45373 s,@sysconfdir@,$sysconfdir,;t t
45374 s,@sharedstatedir@,$sharedstatedir,;t t
45375 s,@localstatedir@,$localstatedir,;t t
45376 s,@libdir@,$libdir,;t t
45377 s,@includedir@,$includedir,;t t
45378 s,@oldincludedir@,$oldincludedir,;t t
45379 s,@infodir@,$infodir,;t t
45380 s,@mandir@,$mandir,;t t
45381 s,@build_alias@,$build_alias,;t t
45382 s,@host_alias@,$host_alias,;t t
45383 s,@target_alias@,$target_alias,;t t
45384 s,@DEFS@,$DEFS,;t t
45385 s,@ECHO_C@,$ECHO_C,;t t
45386 s,@ECHO_N@,$ECHO_N,;t t
45387 s,@ECHO_T@,$ECHO_T,;t t
45388 s,@LIBS@,$LIBS,;t t
45389 s,@build@,$build,;t t
45390 s,@build_cpu@,$build_cpu,;t t
45391 s,@build_vendor@,$build_vendor,;t t
45392 s,@build_os@,$build_os,;t t
45393 s,@host@,$host,;t t
45394 s,@host_cpu@,$host_cpu,;t t
45395 s,@host_vendor@,$host_vendor,;t t
45396 s,@host_os@,$host_os,;t t
45397 s,@target@,$target,;t t
45398 s,@target_cpu@,$target_cpu,;t t
45399 s,@target_vendor@,$target_vendor,;t t
45400 s,@target_os@,$target_os,;t t
45401 s,@CC@,$CC,;t t
45402 s,@CFLAGS@,$CFLAGS,;t t
45403 s,@LDFLAGS@,$LDFLAGS,;t t
45404 s,@CPPFLAGS@,$CPPFLAGS,;t t
45405 s,@ac_ct_CC@,$ac_ct_CC,;t t
45406 s,@EXEEXT@,$EXEEXT,;t t
45407 s,@OBJEXT@,$OBJEXT,;t t
45408 s,@CPP@,$CPP,;t t
45409 s,@EGREP@,$EGREP,;t t
45410 s,@CXX@,$CXX,;t t
45411 s,@CXXFLAGS@,$CXXFLAGS,;t t
45412 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
45413 s,@RANLIB@,$RANLIB,;t t
45414 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
45415 s,@AR@,$AR,;t t
45416 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
45417 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
45418 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
45419 s,@STRIP@,$STRIP,;t t
45420 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
45421 s,@LN_S@,$LN_S,;t t
45422 s,@CXXCPP@,$CXXCPP,;t t
45423 s,@subdirs@,$subdirs,;t t
45424 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
45425 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
45426 s,@GTK_LIBS@,$GTK_LIBS,;t t
45427 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
45428 s,@X_CFLAGS@,$X_CFLAGS,;t t
45429 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
45430 s,@X_LIBS@,$X_LIBS,;t t
45431 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
45432 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
45433 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
45434 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
45435 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
45436 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
45437 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
45438 s,@RESCOMP@,$RESCOMP,;t t
45439 s,@DEREZ@,$DEREZ,;t t
45440 s,@SETFILE@,$SETFILE,;t t
45441 s,@LIBICONV@,$LIBICONV,;t t
45442 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
45443 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
45444 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
45445 s,@SDL_LIBS@,$SDL_LIBS,;t t
45446 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
45447 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
45448 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
45449 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
45450 s,@GST_INSPECT@,$GST_INSPECT,;t t
45451 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
45452 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
45453 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
45454 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
45455 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
45456 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
45457 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
45458 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
45459 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
45460 s,@VENDOR@,$VENDOR,;t t
45461 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
45462 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
45463 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
45464 s,@WXUNIV@,$WXUNIV,;t t
45465 s,@MONOLITHIC@,$MONOLITHIC,;t t
45466 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
45467 s,@EXTRALIBS@,$EXTRALIBS,;t t
45468 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
45469 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
45470 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
45471 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
45472 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
45473 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
45474 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
45475 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
45476 s,@UNICODE@,$UNICODE,;t t
45477 s,@BUILD@,$BUILD,;t t
45478 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
45479 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
45480 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
45481 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
45482 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
45483 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
45484 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
45485 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
45486 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
45487 s,@SET_MAKE@,$SET_MAKE,;t t
45488 s,@MAKE_SET@,$MAKE_SET,;t t
45489 s,@ac_ct_AR@,$ac_ct_AR,;t t
45490 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
45491 s,@NM@,$NM,;t t
45492 s,@ac_ct_NM@,$ac_ct_NM,;t t
45493 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
45494 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
45495 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
45496 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
45497 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
45498 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
45499 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
45500 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
45501 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
45502 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
45503 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
45504 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
45505 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
45506 s,@LIBPREFIX@,$LIBPREFIX,;t t
45507 s,@LIBEXT@,$LIBEXT,;t t
45508 s,@DLLPREFIX@,$DLLPREFIX,;t t
45509 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
45510 s,@dlldir@,$dlldir,;t t
45511 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
45512 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
45513 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
45514 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
45515 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
45516 s,@PIC_FLAG@,$PIC_FLAG,;t t
45517 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
45518 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
45519 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
45520 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
45521 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
45522 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
45523 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
45524 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
45525 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
45526 s,@GCC_PCH@,$GCC_PCH,;t t
45527 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
45528 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
45529 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
45530 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
45531 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
45532 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
45533 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
45534 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
45535 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
45536 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
45537 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
45538 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
45539 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
45540 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
45541 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
45542 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
45543 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
45544 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
45545 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
45546 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
45547 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1,;t t
45548 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
45549 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
45550 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
45551 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
45552 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
45553 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
45554 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1,;t t
45555 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
45556 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
45557 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
45558 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
45559 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
45560 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
45561 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
45562 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
45563 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
45564 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
45565 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
45566 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
45567 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
45568 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
45569 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
45570 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
45571 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
45572 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
45573 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
45574 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
45575 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
45576 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
45577 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
45578 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
45579 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
45580 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
45581 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
45582 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
45583 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
45584 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
45585 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
45586 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
45587 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
45588 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
45589 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
45590 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
45591 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
45592 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
45593 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
45594 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
45595 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
45596 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
45597 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
45598 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
45599 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
45600 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
45601 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
45602 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
45603 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
45604 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
45605 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
45606 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
45607 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
45608 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
45609 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
45610 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
45611 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
45612 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
45613 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
45614 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
45615 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
45616 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
45617 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
45618 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
45619 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
45620 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
45621 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
45622 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
45623 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
45624 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
45625 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
45626 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
45627 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
45628 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
45629 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
45630 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
45631 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
45632 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
45633 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
45634 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
45635 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
45636 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
45637 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
45638 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
45639 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
45640 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
45641 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
45642 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
45643 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
45644 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
45645 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
45646 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
45647 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
45648 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
45649 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
45650 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
45651 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
45652 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
45653 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
45654 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
45655 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
45656 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
45657 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
45658 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
45659 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
45660 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
45661 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
45662 s,@SHARED@,$SHARED,;t t
45663 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
45664 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
45665 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
45666 s,@USE_GUI@,$USE_GUI,;t t
45667 s,@AFMINSTALL@,$AFMINSTALL,;t t
45668 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
45669 s,@TOOLKIT@,$TOOLKIT,;t t
45670 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
45671 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
45672 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
45673 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
45674 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
45675 s,@cross_compiling@,$cross_compiling,;t t
45676 s,@WIDGET_SET@,$WIDGET_SET,;t t
45677 s,@WX_RELEASE@,$WX_RELEASE,;t t
45678 s,@WX_VERSION@,$WX_VERSION,;t t
45679 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
45680 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
45681 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
45682 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
45683 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
45684 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
45685 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
45686 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
45687 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
45688 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
45689 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
45690 s,@EXE_LINKER@,$EXE_LINKER,;t t
45691 s,@GUIDIST@,$GUIDIST,;t t
45692 s,@DISTDIR@,$DISTDIR,;t t
45693 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
45694 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
45695 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
45696 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
45697 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
45698 s,@RESFLAGS@,$RESFLAGS,;t t
45699 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
45700 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
45701 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
45702 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
45703 s,@MACRESCOMP@,$MACRESCOMP,;t t
45704 s,@MACSETFILE@,$MACSETFILE,;t t
45705 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
45706 s,@GCC@,$GCC,;t t
45707 s,@DLLTOOL@,$DLLTOOL,;t t
45708 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
45709 s,@LIBOBJS@,$LIBOBJS,;t t
45710 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
45711 CEOF
45712
45713 _ACEOF
45714
45715 cat >>$CONFIG_STATUS <<\_ACEOF
45716 # Split the substitutions into bite-sized pieces for seds with
45717 # small command number limits, like on Digital OSF/1 and HP-UX.
45718 ac_max_sed_lines=48
45719 ac_sed_frag=1 # Number of current file.
45720 ac_beg=1 # First line for current file.
45721 ac_end=$ac_max_sed_lines # Line after last line for current file.
45722 ac_more_lines=:
45723 ac_sed_cmds=
45724 while $ac_more_lines; do
45725 if test $ac_beg -gt 1; then
45726 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
45727 else
45728 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
45729 fi
45730 if test ! -s $tmp/subs.frag; then
45731 ac_more_lines=false
45732 else
45733 # The purpose of the label and of the branching condition is to
45734 # speed up the sed processing (if there are no `@' at all, there
45735 # is no need to browse any of the substitutions).
45736 # These are the two extra sed commands mentioned above.
45737 (echo ':t
45738 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
45739 if test -z "$ac_sed_cmds"; then
45740 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
45741 else
45742 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
45743 fi
45744 ac_sed_frag=`expr $ac_sed_frag + 1`
45745 ac_beg=$ac_end
45746 ac_end=`expr $ac_end + $ac_max_sed_lines`
45747 fi
45748 done
45749 if test -z "$ac_sed_cmds"; then
45750 ac_sed_cmds=cat
45751 fi
45752 fi # test -n "$CONFIG_FILES"
45753
45754 _ACEOF
45755 cat >>$CONFIG_STATUS <<\_ACEOF
45756 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
45757 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
45758 case $ac_file in
45759 - | *:- | *:-:* ) # input from stdin
45760 cat >$tmp/stdin
45761 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
45762 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
45763 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
45764 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
45765 * ) ac_file_in=$ac_file.in ;;
45766 esac
45767
45768 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
45769 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
45770 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45771 X"$ac_file" : 'X\(//\)[^/]' \| \
45772 X"$ac_file" : 'X\(//\)$' \| \
45773 X"$ac_file" : 'X\(/\)' \| \
45774 . : '\(.\)' 2>/dev/null ||
45775 echo X"$ac_file" |
45776 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45777 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45778 /^X\(\/\/\)$/{ s//\1/; q; }
45779 /^X\(\/\).*/{ s//\1/; q; }
45780 s/.*/./; q'`
45781 { if $as_mkdir_p; then
45782 mkdir -p "$ac_dir"
45783 else
45784 as_dir="$ac_dir"
45785 as_dirs=
45786 while test ! -d "$as_dir"; do
45787 as_dirs="$as_dir $as_dirs"
45788 as_dir=`(dirname "$as_dir") 2>/dev/null ||
45789 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45790 X"$as_dir" : 'X\(//\)[^/]' \| \
45791 X"$as_dir" : 'X\(//\)$' \| \
45792 X"$as_dir" : 'X\(/\)' \| \
45793 . : '\(.\)' 2>/dev/null ||
45794 echo X"$as_dir" |
45795 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45796 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45797 /^X\(\/\/\)$/{ s//\1/; q; }
45798 /^X\(\/\).*/{ s//\1/; q; }
45799 s/.*/./; q'`
45800 done
45801 test ! -n "$as_dirs" || mkdir $as_dirs
45802 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45803 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45804 { (exit 1); exit 1; }; }; }
45805
45806 ac_builddir=.
45807
45808 if test "$ac_dir" != .; then
45809 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
45810 # A "../" for each directory in $ac_dir_suffix.
45811 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
45812 else
45813 ac_dir_suffix= ac_top_builddir=
45814 fi
45815
45816 case $srcdir in
45817 .) # No --srcdir option. We are building in place.
45818 ac_srcdir=.
45819 if test -z "$ac_top_builddir"; then
45820 ac_top_srcdir=.
45821 else
45822 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
45823 fi ;;
45824 [\\/]* | ?:[\\/]* ) # Absolute path.
45825 ac_srcdir=$srcdir$ac_dir_suffix;
45826 ac_top_srcdir=$srcdir ;;
45827 *) # Relative path.
45828 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
45829 ac_top_srcdir=$ac_top_builddir$srcdir ;;
45830 esac
45831
45832 # Do not use `cd foo && pwd` to compute absolute paths, because
45833 # the directories may not exist.
45834 case `pwd` in
45835 .) ac_abs_builddir="$ac_dir";;
45836 *)
45837 case "$ac_dir" in
45838 .) ac_abs_builddir=`pwd`;;
45839 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
45840 *) ac_abs_builddir=`pwd`/"$ac_dir";;
45841 esac;;
45842 esac
45843 case $ac_abs_builddir in
45844 .) ac_abs_top_builddir=${ac_top_builddir}.;;
45845 *)
45846 case ${ac_top_builddir}. in
45847 .) ac_abs_top_builddir=$ac_abs_builddir;;
45848 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
45849 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
45850 esac;;
45851 esac
45852 case $ac_abs_builddir in
45853 .) ac_abs_srcdir=$ac_srcdir;;
45854 *)
45855 case $ac_srcdir in
45856 .) ac_abs_srcdir=$ac_abs_builddir;;
45857 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
45858 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
45859 esac;;
45860 esac
45861 case $ac_abs_builddir in
45862 .) ac_abs_top_srcdir=$ac_top_srcdir;;
45863 *)
45864 case $ac_top_srcdir in
45865 .) ac_abs_top_srcdir=$ac_abs_builddir;;
45866 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
45867 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
45868 esac;;
45869 esac
45870
45871
45872 case $INSTALL in
45873 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
45874 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
45875 esac
45876
45877 # Let's still pretend it is `configure' which instantiates (i.e., don't
45878 # use $as_me), people would be surprised to read:
45879 # /* config.h. Generated by config.status. */
45880 if test x"$ac_file" = x-; then
45881 configure_input=
45882 else
45883 configure_input="$ac_file. "
45884 fi
45885 configure_input=$configure_input"Generated from `echo $ac_file_in |
45886 sed 's,.*/,,'` by configure."
45887
45888 # First look for the input files in the build tree, otherwise in the
45889 # src tree.
45890 ac_file_inputs=`IFS=:
45891 for f in $ac_file_in; do
45892 case $f in
45893 -) echo $tmp/stdin ;;
45894 [\\/$]*)
45895 # Absolute (can't be DOS-style, as IFS=:)
45896 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
45897 echo "$as_me: error: cannot find input file: $f" >&2;}
45898 { (exit 1); exit 1; }; }
45899 echo "$f";;
45900 *) # Relative
45901 if test -f "$f"; then
45902 # Build tree
45903 echo "$f"
45904 elif test -f "$srcdir/$f"; then
45905 # Source tree
45906 echo "$srcdir/$f"
45907 else
45908 # /dev/null tree
45909 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
45910 echo "$as_me: error: cannot find input file: $f" >&2;}
45911 { (exit 1); exit 1; }; }
45912 fi;;
45913 esac
45914 done` || { (exit 1); exit 1; }
45915
45916 if test x"$ac_file" != x-; then
45917 { echo "$as_me:$LINENO: creating $ac_file" >&5
45918 echo "$as_me: creating $ac_file" >&6;}
45919 rm -f "$ac_file"
45920 fi
45921 _ACEOF
45922 cat >>$CONFIG_STATUS <<_ACEOF
45923 sed "$ac_vpsub
45924 $extrasub
45925 _ACEOF
45926 cat >>$CONFIG_STATUS <<\_ACEOF
45927 :t
45928 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
45929 s,@configure_input@,$configure_input,;t t
45930 s,@srcdir@,$ac_srcdir,;t t
45931 s,@abs_srcdir@,$ac_abs_srcdir,;t t
45932 s,@top_srcdir@,$ac_top_srcdir,;t t
45933 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
45934 s,@builddir@,$ac_builddir,;t t
45935 s,@abs_builddir@,$ac_abs_builddir,;t t
45936 s,@top_builddir@,$ac_top_builddir,;t t
45937 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
45938 s,@INSTALL@,$ac_INSTALL,;t t
45939 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
45940 rm -f $tmp/stdin
45941 if test x"$ac_file" != x-; then
45942 mv $tmp/out $ac_file
45943 else
45944 cat $tmp/out
45945 rm -f $tmp/out
45946 fi
45947
45948 # Run the commands associated with the file.
45949 case $ac_file in
45950 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
45951 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
45952 esac
45953 done
45954 _ACEOF
45955 cat >>$CONFIG_STATUS <<\_ACEOF
45956
45957 #
45958 # CONFIG_HEADER section.
45959 #
45960
45961 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
45962 # NAME is the cpp macro being defined and VALUE is the value it is being given.
45963 #
45964 # ac_d sets the value in "#define NAME VALUE" lines.
45965 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
45966 ac_dB='[ ].*$,\1#\2'
45967 ac_dC=' '
45968 ac_dD=',;t'
45969 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
45970 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
45971 ac_uB='$,\1#\2define\3'
45972 ac_uC=' '
45973 ac_uD=',;t'
45974
45975 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
45976 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
45977 case $ac_file in
45978 - | *:- | *:-:* ) # input from stdin
45979 cat >$tmp/stdin
45980 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
45981 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
45982 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
45983 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
45984 * ) ac_file_in=$ac_file.in ;;
45985 esac
45986
45987 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
45988 echo "$as_me: creating $ac_file" >&6;}
45989
45990 # First look for the input files in the build tree, otherwise in the
45991 # src tree.
45992 ac_file_inputs=`IFS=:
45993 for f in $ac_file_in; do
45994 case $f in
45995 -) echo $tmp/stdin ;;
45996 [\\/$]*)
45997 # Absolute (can't be DOS-style, as IFS=:)
45998 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
45999 echo "$as_me: error: cannot find input file: $f" >&2;}
46000 { (exit 1); exit 1; }; }
46001 # Do quote $f, to prevent DOS paths from being IFS'd.
46002 echo "$f";;
46003 *) # Relative
46004 if test -f "$f"; then
46005 # Build tree
46006 echo "$f"
46007 elif test -f "$srcdir/$f"; then
46008 # Source tree
46009 echo "$srcdir/$f"
46010 else
46011 # /dev/null tree
46012 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
46013 echo "$as_me: error: cannot find input file: $f" >&2;}
46014 { (exit 1); exit 1; }; }
46015 fi;;
46016 esac
46017 done` || { (exit 1); exit 1; }
46018 # Remove the trailing spaces.
46019 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
46020
46021 _ACEOF
46022
46023 # Transform confdefs.h into two sed scripts, `conftest.defines' and
46024 # `conftest.undefs', that substitutes the proper values into
46025 # config.h.in to produce config.h. The first handles `#define'
46026 # templates, and the second `#undef' templates.
46027 # And first: Protect against being on the right side of a sed subst in
46028 # config.status. Protect against being in an unquoted here document
46029 # in config.status.
46030 rm -f conftest.defines conftest.undefs
46031 # Using a here document instead of a string reduces the quoting nightmare.
46032 # Putting comments in sed scripts is not portable.
46033 #
46034 # `end' is used to avoid that the second main sed command (meant for
46035 # 0-ary CPP macros) applies to n-ary macro definitions.
46036 # See the Autoconf documentation for `clear'.
46037 cat >confdef2sed.sed <<\_ACEOF
46038 s/[\\&,]/\\&/g
46039 s,[\\$`],\\&,g
46040 t clear
46041 : clear
46042 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
46043 t end
46044 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
46045 : end
46046 _ACEOF
46047 # If some macros were called several times there might be several times
46048 # the same #defines, which is useless. Nevertheless, we may not want to
46049 # sort them, since we want the *last* AC-DEFINE to be honored.
46050 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
46051 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
46052 rm -f confdef2sed.sed
46053
46054 # This sed command replaces #undef with comments. This is necessary, for
46055 # example, in the case of _POSIX_SOURCE, which is predefined and required
46056 # on some systems where configure will not decide to define it.
46057 cat >>conftest.undefs <<\_ACEOF
46058 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
46059 _ACEOF
46060
46061 # Break up conftest.defines because some shells have a limit on the size
46062 # of here documents, and old seds have small limits too (100 cmds).
46063 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
46064 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
46065 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
46066 echo ' :' >>$CONFIG_STATUS
46067 rm -f conftest.tail
46068 while grep . conftest.defines >/dev/null
46069 do
46070 # Write a limited-size here document to $tmp/defines.sed.
46071 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
46072 # Speed up: don't consider the non `#define' lines.
46073 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
46074 # Work around the forget-to-reset-the-flag bug.
46075 echo 't clr' >>$CONFIG_STATUS
46076 echo ': clr' >>$CONFIG_STATUS
46077 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
46078 echo 'CEOF
46079 sed -f $tmp/defines.sed $tmp/in >$tmp/out
46080 rm -f $tmp/in
46081 mv $tmp/out $tmp/in
46082 ' >>$CONFIG_STATUS
46083 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
46084 rm -f conftest.defines
46085 mv conftest.tail conftest.defines
46086 done
46087 rm -f conftest.defines
46088 echo ' fi # grep' >>$CONFIG_STATUS
46089 echo >>$CONFIG_STATUS
46090
46091 # Break up conftest.undefs because some shells have a limit on the size
46092 # of here documents, and old seds have small limits too (100 cmds).
46093 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
46094 rm -f conftest.tail
46095 while grep . conftest.undefs >/dev/null
46096 do
46097 # Write a limited-size here document to $tmp/undefs.sed.
46098 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
46099 # Speed up: don't consider the non `#undef'
46100 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
46101 # Work around the forget-to-reset-the-flag bug.
46102 echo 't clr' >>$CONFIG_STATUS
46103 echo ': clr' >>$CONFIG_STATUS
46104 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
46105 echo 'CEOF
46106 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
46107 rm -f $tmp/in
46108 mv $tmp/out $tmp/in
46109 ' >>$CONFIG_STATUS
46110 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
46111 rm -f conftest.undefs
46112 mv conftest.tail conftest.undefs
46113 done
46114 rm -f conftest.undefs
46115
46116 cat >>$CONFIG_STATUS <<\_ACEOF
46117 # Let's still pretend it is `configure' which instantiates (i.e., don't
46118 # use $as_me), people would be surprised to read:
46119 # /* config.h. Generated by config.status. */
46120 if test x"$ac_file" = x-; then
46121 echo "/* Generated by configure. */" >$tmp/config.h
46122 else
46123 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
46124 fi
46125 cat $tmp/in >>$tmp/config.h
46126 rm -f $tmp/in
46127 if test x"$ac_file" != x-; then
46128 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
46129 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
46130 echo "$as_me: $ac_file is unchanged" >&6;}
46131 else
46132 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
46133 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46134 X"$ac_file" : 'X\(//\)[^/]' \| \
46135 X"$ac_file" : 'X\(//\)$' \| \
46136 X"$ac_file" : 'X\(/\)' \| \
46137 . : '\(.\)' 2>/dev/null ||
46138 echo X"$ac_file" |
46139 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46140 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46141 /^X\(\/\/\)$/{ s//\1/; q; }
46142 /^X\(\/\).*/{ s//\1/; q; }
46143 s/.*/./; q'`
46144 { if $as_mkdir_p; then
46145 mkdir -p "$ac_dir"
46146 else
46147 as_dir="$ac_dir"
46148 as_dirs=
46149 while test ! -d "$as_dir"; do
46150 as_dirs="$as_dir $as_dirs"
46151 as_dir=`(dirname "$as_dir") 2>/dev/null ||
46152 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46153 X"$as_dir" : 'X\(//\)[^/]' \| \
46154 X"$as_dir" : 'X\(//\)$' \| \
46155 X"$as_dir" : 'X\(/\)' \| \
46156 . : '\(.\)' 2>/dev/null ||
46157 echo X"$as_dir" |
46158 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46159 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46160 /^X\(\/\/\)$/{ s//\1/; q; }
46161 /^X\(\/\).*/{ s//\1/; q; }
46162 s/.*/./; q'`
46163 done
46164 test ! -n "$as_dirs" || mkdir $as_dirs
46165 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
46166 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
46167 { (exit 1); exit 1; }; }; }
46168
46169 rm -f $ac_file
46170 mv $tmp/config.h $ac_file
46171 fi
46172 else
46173 cat $tmp/config.h
46174 rm -f $tmp/config.h
46175 fi
46176 done
46177 _ACEOF
46178 cat >>$CONFIG_STATUS <<\_ACEOF
46179
46180 #
46181 # CONFIG_COMMANDS section.
46182 #
46183 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
46184 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
46185 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
46186 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
46187 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46188 X"$ac_dest" : 'X\(//\)[^/]' \| \
46189 X"$ac_dest" : 'X\(//\)$' \| \
46190 X"$ac_dest" : 'X\(/\)' \| \
46191 . : '\(.\)' 2>/dev/null ||
46192 echo X"$ac_dest" |
46193 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46194 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46195 /^X\(\/\/\)$/{ s//\1/; q; }
46196 /^X\(\/\).*/{ s//\1/; q; }
46197 s/.*/./; q'`
46198 { if $as_mkdir_p; then
46199 mkdir -p "$ac_dir"
46200 else
46201 as_dir="$ac_dir"
46202 as_dirs=
46203 while test ! -d "$as_dir"; do
46204 as_dirs="$as_dir $as_dirs"
46205 as_dir=`(dirname "$as_dir") 2>/dev/null ||
46206 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46207 X"$as_dir" : 'X\(//\)[^/]' \| \
46208 X"$as_dir" : 'X\(//\)$' \| \
46209 X"$as_dir" : 'X\(/\)' \| \
46210 . : '\(.\)' 2>/dev/null ||
46211 echo X"$as_dir" |
46212 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46213 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46214 /^X\(\/\/\)$/{ s//\1/; q; }
46215 /^X\(\/\).*/{ s//\1/; q; }
46216 s/.*/./; q'`
46217 done
46218 test ! -n "$as_dirs" || mkdir $as_dirs
46219 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
46220 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
46221 { (exit 1); exit 1; }; }; }
46222
46223 ac_builddir=.
46224
46225 if test "$ac_dir" != .; then
46226 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
46227 # A "../" for each directory in $ac_dir_suffix.
46228 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
46229 else
46230 ac_dir_suffix= ac_top_builddir=
46231 fi
46232
46233 case $srcdir in
46234 .) # No --srcdir option. We are building in place.
46235 ac_srcdir=.
46236 if test -z "$ac_top_builddir"; then
46237 ac_top_srcdir=.
46238 else
46239 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
46240 fi ;;
46241 [\\/]* | ?:[\\/]* ) # Absolute path.
46242 ac_srcdir=$srcdir$ac_dir_suffix;
46243 ac_top_srcdir=$srcdir ;;
46244 *) # Relative path.
46245 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
46246 ac_top_srcdir=$ac_top_builddir$srcdir ;;
46247 esac
46248
46249 # Do not use `cd foo && pwd` to compute absolute paths, because
46250 # the directories may not exist.
46251 case `pwd` in
46252 .) ac_abs_builddir="$ac_dir";;
46253 *)
46254 case "$ac_dir" in
46255 .) ac_abs_builddir=`pwd`;;
46256 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
46257 *) ac_abs_builddir=`pwd`/"$ac_dir";;
46258 esac;;
46259 esac
46260 case $ac_abs_builddir in
46261 .) ac_abs_top_builddir=${ac_top_builddir}.;;
46262 *)
46263 case ${ac_top_builddir}. in
46264 .) ac_abs_top_builddir=$ac_abs_builddir;;
46265 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
46266 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
46267 esac;;
46268 esac
46269 case $ac_abs_builddir in
46270 .) ac_abs_srcdir=$ac_srcdir;;
46271 *)
46272 case $ac_srcdir in
46273 .) ac_abs_srcdir=$ac_abs_builddir;;
46274 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
46275 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
46276 esac;;
46277 esac
46278 case $ac_abs_builddir in
46279 .) ac_abs_top_srcdir=$ac_top_srcdir;;
46280 *)
46281 case $ac_top_srcdir in
46282 .) ac_abs_top_srcdir=$ac_abs_builddir;;
46283 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
46284 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
46285 esac;;
46286 esac
46287
46288
46289 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
46290 echo "$as_me: executing $ac_dest commands" >&6;}
46291 case $ac_dest in
46292 wx-config ) rm -f wx-config
46293 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
46294 ;;
46295 esac
46296 done
46297 _ACEOF
46298
46299 cat >>$CONFIG_STATUS <<\_ACEOF
46300
46301 { (exit 0); exit 0; }
46302 _ACEOF
46303 chmod +x $CONFIG_STATUS
46304 ac_clean_files=$ac_clean_files_save
46305
46306
46307 # configure is writing to config.log, and then calls config.status.
46308 # config.status does its own redirection, appending to config.log.
46309 # Unfortunately, on DOS this fails, as config.log is still kept open
46310 # by configure, so config.status won't be able to write to it; its
46311 # output is simply discarded. So we exec the FD to /dev/null,
46312 # effectively closing config.log, so it can be properly (re)opened and
46313 # appended to by config.status. When coming back to configure, we
46314 # need to make the FD available again.
46315 if test "$no_create" != yes; then
46316 ac_cs_success=:
46317 ac_config_status_args=
46318 test "$silent" = yes &&
46319 ac_config_status_args="$ac_config_status_args --quiet"
46320 exec 5>/dev/null
46321 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
46322 exec 5>>config.log
46323 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
46324 # would make configure fail if this is the last instruction.
46325 $ac_cs_success || { (exit 1); exit 1; }
46326 fi
46327
46328 #
46329 # CONFIG_SUBDIRS section.
46330 #
46331 if test "$no_recursion" != yes; then
46332
46333 # Remove --cache-file and --srcdir arguments so they do not pile up.
46334 ac_sub_configure_args=
46335 ac_prev=
46336 for ac_arg in $ac_configure_args; do
46337 if test -n "$ac_prev"; then
46338 ac_prev=
46339 continue
46340 fi
46341 case $ac_arg in
46342 -cache-file | --cache-file | --cache-fil | --cache-fi \
46343 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
46344 ac_prev=cache_file ;;
46345 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
46346 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
46347 | --c=*)
46348 ;;
46349 --config-cache | -C)
46350 ;;
46351 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
46352 ac_prev=srcdir ;;
46353 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
46354 ;;
46355 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
46356 ac_prev=prefix ;;
46357 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
46358 ;;
46359 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
46360 esac
46361 done
46362
46363 # Always prepend --prefix to ensure using the same prefix
46364 # in subdir configurations.
46365 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
46366
46367 ac_popdir=`pwd`
46368 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
46369
46370 # Do not complain, so a configure script can configure whichever
46371 # parts of a large source tree are present.
46372 test -d $srcdir/$ac_dir || continue
46373
46374 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
46375 echo "$as_me: configuring in $ac_dir" >&6;}
46376 { if $as_mkdir_p; then
46377 mkdir -p "$ac_dir"
46378 else
46379 as_dir="$ac_dir"
46380 as_dirs=
46381 while test ! -d "$as_dir"; do
46382 as_dirs="$as_dir $as_dirs"
46383 as_dir=`(dirname "$as_dir") 2>/dev/null ||
46384 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46385 X"$as_dir" : 'X\(//\)[^/]' \| \
46386 X"$as_dir" : 'X\(//\)$' \| \
46387 X"$as_dir" : 'X\(/\)' \| \
46388 . : '\(.\)' 2>/dev/null ||
46389 echo X"$as_dir" |
46390 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46391 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46392 /^X\(\/\/\)$/{ s//\1/; q; }
46393 /^X\(\/\).*/{ s//\1/; q; }
46394 s/.*/./; q'`
46395 done
46396 test ! -n "$as_dirs" || mkdir $as_dirs
46397 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
46398 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
46399 { (exit 1); exit 1; }; }; }
46400
46401 ac_builddir=.
46402
46403 if test "$ac_dir" != .; then
46404 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
46405 # A "../" for each directory in $ac_dir_suffix.
46406 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
46407 else
46408 ac_dir_suffix= ac_top_builddir=
46409 fi
46410
46411 case $srcdir in
46412 .) # No --srcdir option. We are building in place.
46413 ac_srcdir=.
46414 if test -z "$ac_top_builddir"; then
46415 ac_top_srcdir=.
46416 else
46417 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
46418 fi ;;
46419 [\\/]* | ?:[\\/]* ) # Absolute path.
46420 ac_srcdir=$srcdir$ac_dir_suffix;
46421 ac_top_srcdir=$srcdir ;;
46422 *) # Relative path.
46423 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
46424 ac_top_srcdir=$ac_top_builddir$srcdir ;;
46425 esac
46426
46427 # Do not use `cd foo && pwd` to compute absolute paths, because
46428 # the directories may not exist.
46429 case `pwd` in
46430 .) ac_abs_builddir="$ac_dir";;
46431 *)
46432 case "$ac_dir" in
46433 .) ac_abs_builddir=`pwd`;;
46434 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
46435 *) ac_abs_builddir=`pwd`/"$ac_dir";;
46436 esac;;
46437 esac
46438 case $ac_abs_builddir in
46439 .) ac_abs_top_builddir=${ac_top_builddir}.;;
46440 *)
46441 case ${ac_top_builddir}. in
46442 .) ac_abs_top_builddir=$ac_abs_builddir;;
46443 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
46444 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
46445 esac;;
46446 esac
46447 case $ac_abs_builddir in
46448 .) ac_abs_srcdir=$ac_srcdir;;
46449 *)
46450 case $ac_srcdir in
46451 .) ac_abs_srcdir=$ac_abs_builddir;;
46452 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
46453 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
46454 esac;;
46455 esac
46456 case $ac_abs_builddir in
46457 .) ac_abs_top_srcdir=$ac_top_srcdir;;
46458 *)
46459 case $ac_top_srcdir in
46460 .) ac_abs_top_srcdir=$ac_abs_builddir;;
46461 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
46462 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
46463 esac;;
46464 esac
46465
46466
46467 cd $ac_dir
46468
46469 # Check for guested configure; otherwise get Cygnus style configure.
46470 if test -f $ac_srcdir/configure.gnu; then
46471 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
46472 elif test -f $ac_srcdir/configure; then
46473 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
46474 elif test -f $ac_srcdir/configure.in; then
46475 ac_sub_configure=$ac_configure
46476 else
46477 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
46478 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
46479 ac_sub_configure=
46480 fi
46481
46482 # The recursion is here.
46483 if test -n "$ac_sub_configure"; then
46484 # Make the cache file name correct relative to the subdirectory.
46485 case $cache_file in
46486 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
46487 *) # Relative path.
46488 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
46489 esac
46490
46491 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
46492 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
46493 # The eval makes quoting arguments work.
46494 eval $ac_sub_configure $ac_sub_configure_args \
46495 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
46496 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
46497 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
46498 { (exit 1); exit 1; }; }
46499 fi
46500
46501 cd "$ac_popdir"
46502 done
46503 fi
46504
46505
46506 echo
46507 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
46508 echo ""
46509 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
46510 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
46511
46512 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
46513 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
46514 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
46515
46516 echo " What level of wxWidgets compatibility should be enabled?"
46517 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
46518 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
46519
46520 echo " Which libraries should wxWidgets use?"
46521 echo " jpeg ${wxUSE_LIBJPEG-none}"
46522 echo " png ${wxUSE_LIBPNG-none}"
46523 echo " regex ${wxUSE_REGEX}"
46524 echo " tiff ${wxUSE_LIBTIFF-none}"
46525 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
46526 echo " xpm ${wxUSE_LIBXPM-none}"
46527 fi
46528 echo " zlib ${wxUSE_ZLIB}"
46529 echo " odbc ${wxUSE_ODBC}"
46530 echo " expat ${wxUSE_EXPAT}"
46531 echo " libmspack ${wxUSE_LIBMSPACK}"
46532 echo " sdl ${wxUSE_LIBSDL}"
46533 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"
46534
46535 echo ""
46536