]> git.saurik.com Git - wxWidgets.git/blob - configure
Bump soname in preparation for 2.6.2 release.
[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.1.
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.1'
274 PACKAGE_STRING='wxWidgets 2.6.1'
275 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
276
277 ac_unique_file="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default="\
280 #include <stdio.h>
281 #if HAVE_SYS_TYPES_H
282 # include <sys/types.h>
283 #endif
284 #if HAVE_SYS_STAT_H
285 # include <sys/stat.h>
286 #endif
287 #if STDC_HEADERS
288 # include <stdlib.h>
289 # include <stddef.h>
290 #else
291 # if HAVE_STDLIB_H
292 # include <stdlib.h>
293 # endif
294 #endif
295 #if HAVE_STRING_H
296 # if !STDC_HEADERS && HAVE_MEMORY_H
297 # include <memory.h>
298 # endif
299 # include <string.h>
300 #endif
301 #if HAVE_STRINGS_H
302 # include <strings.h>
303 #endif
304 #if HAVE_INTTYPES_H
305 # include <inttypes.h>
306 #else
307 # if HAVE_STDINT_H
308 # include <stdint.h>
309 # endif
310 #endif
311 #if HAVE_UNISTD_H
312 # include <unistd.h>
313 #endif"
314
315 ac_subdirs_all="$ac_subdirs_all src/expat"
316 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GSTREAMER_CFLAGS GSTREAMER_LIBS GST_INSPECT CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET ac_ct_AR ac_ct_STRIP NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_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_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_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_THREADS_0 COND_USE_THREADS_1 COND_USE_XRC_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_0 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_EXTRALIBS WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS 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.1 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.1:";;
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.1
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.1, 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=1
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 WX_CURRENT=1
1675 WX_REVISION=0
1676 WX_AGE=0
1677
1678
1679
1680 USE_UNIX=1
1681 USE_OS2=0
1682 USE_WIN32=0
1683 USE_DOS=0
1684 USE_BEOS=0
1685 USE_MAC=0
1686
1687 USE_AIX=
1688 USE_BSD= USE_DARWIN= USE_FREEBSD=
1689 USE_GNU= USE_HPUX=
1690 USE_LINUX=
1691 USE_NETBSD=
1692 USE_OPENBSD=
1693 USE_OSF= USE_SGI=
1694 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1695 USE_ULTRIX=
1696 USE_UNIXWARE=
1697
1698 USE_ALPHA=
1699
1700 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1701
1702 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1703
1704 DEFAULT_wxUSE_COCOA=0
1705 DEFAULT_wxUSE_GTK=0
1706 DEFAULT_wxUSE_MAC=0
1707 DEFAULT_wxUSE_MGL=0
1708 DEFAULT_wxUSE_MICROWIN=0
1709 DEFAULT_wxUSE_MOTIF=0
1710 DEFAULT_wxUSE_MSW=0
1711 DEFAULT_wxUSE_PM=0
1712 DEFAULT_wxUSE_X11=0
1713
1714 DEFAULT_DEFAULT_wxUSE_COCOA=0
1715 DEFAULT_DEFAULT_wxUSE_GTK=0
1716 DEFAULT_DEFAULT_wxUSE_MAC=0
1717 DEFAULT_DEFAULT_wxUSE_MGL=0
1718 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1719 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1720 DEFAULT_DEFAULT_wxUSE_MSW=0
1721 DEFAULT_DEFAULT_wxUSE_PM=0
1722 DEFAULT_DEFAULT_wxUSE_X11=0
1723
1724 PROGRAM_EXT=
1725 SO_SUFFIX=so
1726 SAMPLES_RPATH_FLAG=
1727 SAMPLES_RPATH_POSTLINK=
1728
1729 DEFAULT_STD_FLAG=yes
1730
1731 case "${host}" in
1732 *-hp-hpux* )
1733 USE_HPUX=1
1734 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1735 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1736 SO_SUFFIX=sl
1737 cat >>confdefs.h <<\_ACEOF
1738 #define __HPUX__ 1
1739 _ACEOF
1740
1741 ;;
1742 *-*-linux* )
1743 USE_LINUX=1
1744 cat >>confdefs.h <<\_ACEOF
1745 #define __LINUX__ 1
1746 _ACEOF
1747
1748 TMP=`uname -m`
1749 if test "x$TMP" = "xalpha"; then
1750 USE_ALPHA=1
1751 cat >>confdefs.h <<\_ACEOF
1752 #define __ALPHA__ 1
1753 _ACEOF
1754
1755 fi
1756 DEFAULT_DEFAULT_wxUSE_GTK=1
1757 ;;
1758 *-*-gnu* | *-*-k*bsd*-gnu )
1759 USE_GNU=1
1760 TMP=`uname -m`
1761 if test "x$TMP" = "xalpha"; then
1762 USE_ALPHA=1
1763 cat >>confdefs.h <<\_ACEOF
1764 #define __ALPHA__ 1
1765 _ACEOF
1766
1767 fi
1768 DEFAULT_DEFAULT_wxUSE_GTK=1
1769 ;;
1770 *-*-irix5* | *-*-irix6* )
1771 USE_SGI=1
1772 USE_SVR4=1
1773 cat >>confdefs.h <<\_ACEOF
1774 #define __SGI__ 1
1775 _ACEOF
1776
1777 cat >>confdefs.h <<\_ACEOF
1778 #define __SVR4__ 1
1779 _ACEOF
1780
1781 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1782 ;;
1783 *-*-solaris2* )
1784 USE_SUN=1
1785 USE_SOLARIS=1
1786 USE_SVR4=1
1787 cat >>confdefs.h <<\_ACEOF
1788 #define __SUN__ 1
1789 _ACEOF
1790
1791 cat >>confdefs.h <<\_ACEOF
1792 #define __SOLARIS__ 1
1793 _ACEOF
1794
1795 cat >>confdefs.h <<\_ACEOF
1796 #define __SVR4__ 1
1797 _ACEOF
1798
1799 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1800 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1801 ;;
1802 *-*-sunos4* )
1803 USE_SUN=1
1804 USE_SUNOS=1
1805 USE_BSD=1
1806 cat >>confdefs.h <<\_ACEOF
1807 #define __SUN__ 1
1808 _ACEOF
1809
1810 cat >>confdefs.h <<\_ACEOF
1811 #define __SUNOS__ 1
1812 _ACEOF
1813
1814 cat >>confdefs.h <<\_ACEOF
1815 #define __BSD__ 1
1816 _ACEOF
1817
1818 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1819 ;;
1820 *-*-freebsd*)
1821 USE_BSD=1
1822 USE_FREEBSD=1
1823 cat >>confdefs.h <<\_ACEOF
1824 #define __FREEBSD__ 1
1825 _ACEOF
1826
1827 cat >>confdefs.h <<\_ACEOF
1828 #define __BSD__ 1
1829 _ACEOF
1830
1831 DEFAULT_DEFAULT_wxUSE_GTK=1
1832 ;;
1833 *-*-openbsd*)
1834 USE_BSD=1
1835 USE_OPENBSD=1
1836 cat >>confdefs.h <<\_ACEOF
1837 #define __OPENBSD__ 1
1838 _ACEOF
1839
1840 cat >>confdefs.h <<\_ACEOF
1841 #define __BSD__ 1
1842 _ACEOF
1843
1844 DEFAULT_DEFAULT_wxUSE_GTK=1
1845 ;;
1846 *-*-netbsd*)
1847 USE_BSD=1
1848 USE_NETBSD=1
1849 cat >>confdefs.h <<\_ACEOF
1850 #define __NETBSD__ 1
1851 _ACEOF
1852
1853 cat >>confdefs.h <<\_ACEOF
1854 #define __BSD__ 1
1855 _ACEOF
1856
1857 DEFAULT_DEFAULT_wxUSE_GTK=1
1858 ;;
1859 *-*-osf* )
1860 USE_ALPHA=1
1861 USE_OSF=1
1862 cat >>confdefs.h <<\_ACEOF
1863 #define __ALPHA__ 1
1864 _ACEOF
1865
1866 cat >>confdefs.h <<\_ACEOF
1867 #define __OSF__ 1
1868 _ACEOF
1869
1870 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1871 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1872 ;;
1873 *-*-dgux5* )
1874 USE_ALPHA=1
1875 USE_SVR4=1
1876 cat >>confdefs.h <<\_ACEOF
1877 #define __ALPHA__ 1
1878 _ACEOF
1879
1880 cat >>confdefs.h <<\_ACEOF
1881 #define __SVR4__ 1
1882 _ACEOF
1883
1884 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1885 ;;
1886 *-*-sysv5* )
1887 USE_SYSV=1
1888 USE_SVR4=1
1889 cat >>confdefs.h <<\_ACEOF
1890 #define __SYSV__ 1
1891 _ACEOF
1892
1893 cat >>confdefs.h <<\_ACEOF
1894 #define __SVR4__ 1
1895 _ACEOF
1896
1897 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1898 ;;
1899 *-*-aix* )
1900 USE_AIX=1
1901 USE_SYSV=1
1902 USE_SVR4=1
1903 SO_SUFFIX=a
1904 cat >>confdefs.h <<\_ACEOF
1905 #define __AIX__ 1
1906 _ACEOF
1907
1908 cat >>confdefs.h <<\_ACEOF
1909 #define __SYSV__ 1
1910 _ACEOF
1911
1912 cat >>confdefs.h <<\_ACEOF
1913 #define __SVR4__ 1
1914 _ACEOF
1915
1916 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1917 ;;
1918
1919 *-*-*UnixWare*)
1920 USE_SYSV=1
1921 USE_SVR4=1
1922 USE_UNIXWARE=1
1923 cat >>confdefs.h <<\_ACEOF
1924 #define __UNIXWARE__ 1
1925 _ACEOF
1926
1927 ;;
1928
1929 *-*-cygwin* | *-*-mingw32* )
1930 SO_SUFFIX=dll
1931 PROGRAM_EXT=".exe"
1932 RESCOMP=windres
1933 DEFAULT_DEFAULT_wxUSE_MSW=1
1934 DEFAULT_STD_FLAG=no
1935 ;;
1936
1937 *-pc-msdosdjgpp )
1938 USE_UNIX=0
1939 USE_DOS=1
1940 cat >>confdefs.h <<\_ACEOF
1941 #define __DOS__ 1
1942 _ACEOF
1943
1944 PROGRAM_EXT=".exe"
1945 DEFAULT_DEFAULT_wxUSE_MGL=1
1946 ;;
1947
1948 *-pc-os2_emx | *-pc-os2-emx )
1949 cat >>confdefs.h <<\_ACEOF
1950 #define __EMX__ 1
1951 _ACEOF
1952
1953 USE_OS2=1
1954 cat >>confdefs.h <<\_ACEOF
1955 #define __OS2__ 1
1956 _ACEOF
1957
1958 PROGRAM_EXT=".exe"
1959 DEFAULT_DEFAULT_wxUSE_PM=1
1960 CXX=gcc
1961 LDFLAGS="$LDFLAGS -Zcrtdll"
1962 ac_executable_extensions=".exe"
1963 export ac_executable_extensions
1964 ac_save_IFS="$IFS"
1965 IFS='\\'
1966 ac_TEMP_PATH=
1967 for ac_dir in $PATH; do
1968 IFS=$ac_save_IFS
1969 if test -z "$ac_TEMP_PATH"; then
1970 ac_TEMP_PATH="$ac_dir"
1971 else
1972 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1973 fi
1974 done
1975 export PATH="$ac_TEMP_PATH"
1976 unset ac_TEMP_PATH
1977 DEFAULT_STD_FLAG=no
1978 ;;
1979
1980 powerpc-*-darwin* )
1981 USE_BSD=1
1982 USE_DARWIN=1
1983 SO_SUFFIX=dylib
1984 cat >>confdefs.h <<\_ACEOF
1985 #define __BSD__ 1
1986 _ACEOF
1987
1988 cat >>confdefs.h <<\_ACEOF
1989 #define __DARWIN__ 1
1990 _ACEOF
1991
1992 cat >>confdefs.h <<\_ACEOF
1993 #define TARGET_CARBON 1
1994 _ACEOF
1995
1996 DEFAULT_DEFAULT_wxUSE_MAC=1
1997 DEFAULT_STD_FLAG=no
1998 ;;
1999 powerpc-apple-macos* )
2000 USE_UNIX=0
2001 ac_cv_c_bigendian=yes
2002 SO_SUFFIX=shlib
2003 DEFAULT_DEFAULT_wxUSE_MAC=1
2004 DEFAULT_STD_FLAG=no
2005 ;;
2006
2007 *-*-beos* )
2008 USE_BEOS=1
2009 cat >>confdefs.h <<\_ACEOF
2010 #define __BEOS__ 1
2011 _ACEOF
2012
2013 ;;
2014
2015 *)
2016 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2017 echo "$as_me: error: unknown system type ${host}." >&2;}
2018 { (exit 1); exit 1; }; }
2019 esac
2020
2021
2022
2023
2024 wx_arg_cache_file="configarg.cache"
2025 echo "loading argument cache $wx_arg_cache_file"
2026 rm -f ${wx_arg_cache_file}.tmp
2027 touch ${wx_arg_cache_file}.tmp
2028 touch ${wx_arg_cache_file}
2029
2030
2031 DEBUG_CONFIGURE=0
2032 if test $DEBUG_CONFIGURE = 1; then
2033 DEFAULT_wxUSE_UNIVERSAL=no
2034 DEFAULT_wxUSE_STL=no
2035
2036 DEFAULT_wxUSE_NANOX=no
2037
2038 DEFAULT_wxUSE_THREADS=yes
2039
2040 DEFAULT_wxUSE_SHARED=yes
2041 DEFAULT_wxUSE_OPTIMISE=no
2042 DEFAULT_wxUSE_PROFILE=no
2043 DEFAULT_wxUSE_NO_DEPS=no
2044 DEFAULT_wxUSE_NO_RTTI=no
2045 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2046 DEFAULT_wxUSE_RPATH=yes
2047 DEFAULT_wxUSE_PERMISSIVE=no
2048 DEFAULT_wxUSE_DEBUG_FLAG=yes
2049 DEFAULT_wxUSE_DEBUG_INFO=yes
2050 DEFAULT_wxUSE_DEBUG_GDB=yes
2051 DEFAULT_wxUSE_MEM_TRACING=no
2052 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2053 DEFAULT_wxUSE_DMALLOC=no
2054 DEFAULT_wxUSE_APPLE_IEEE=no
2055
2056 DEFAULT_wxUSE_EXCEPTIONS=no
2057 DEFAULT_wxUSE_LOG=yes
2058 DEFAULT_wxUSE_LOGWINDOW=no
2059 DEFAULT_wxUSE_LOGGUI=no
2060 DEFAULT_wxUSE_LOGDIALOG=no
2061
2062 DEFAULT_wxUSE_GUI=yes
2063 DEFAULT_wxUSE_CONTROLS=no
2064
2065 DEFAULT_wxUSE_REGEX=no
2066 DEFAULT_wxUSE_XML=no
2067 DEFAULT_wxUSE_EXPAT=no
2068 DEFAULT_wxUSE_ZLIB=no
2069 DEFAULT_wxUSE_LIBPNG=no
2070 DEFAULT_wxUSE_LIBJPEG=no
2071 DEFAULT_wxUSE_LIBTIFF=no
2072 DEFAULT_wxUSE_LIBXPM=no
2073 DEFAULT_wxUSE_LIBMSPACK=no
2074 DEFAULT_wxUSE_LIBSDL=no
2075 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2076 DEFAULT_wxUSE_ODBC=no
2077 DEFAULT_wxUSE_OPENGL=no
2078
2079 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2080 DEFAULT_wxUSE_STACKWALKER=no
2081 DEFAULT_wxUSE_DEBUGREPORT=no
2082 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2083 DEFAULT_wxUSE_STD_IOSTREAM=no
2084 DEFAULT_wxUSE_STD_STRING=no
2085 DEFAULT_wxUSE_CMDLINE_PARSER=no
2086 DEFAULT_wxUSE_DATETIME=no
2087 DEFAULT_wxUSE_TIMER=no
2088 DEFAULT_wxUSE_STOPWATCH=no
2089 DEFAULT_wxUSE_FILE=no
2090 DEFAULT_wxUSE_FFILE=no
2091 DEFAULT_wxUSE_STDPATHS=no
2092 DEFAULT_wxUSE_TEXTBUFFER=no
2093 DEFAULT_wxUSE_TEXTFILE=no
2094 DEFAULT_wxUSE_SOUND=no
2095 DEFAULT_wxUSE_MEDIACTRL=no
2096 DEFAULT_wxUSE_INTL=no
2097 DEFAULT_wxUSE_CONFIG=no
2098 DEFAULT_wxUSE_FONTMAP=no
2099 DEFAULT_wxUSE_STREAMS=no
2100 DEFAULT_wxUSE_SOCKETS=no
2101 DEFAULT_wxUSE_OLE=no
2102 DEFAULT_wxUSE_DATAOBJ=no
2103 DEFAULT_wxUSE_DIALUP_MANAGER=no
2104 DEFAULT_wxUSE_JOYSTICK=no
2105 DEFAULT_wxUSE_DYNLIB_CLASS=no
2106 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2107 DEFAULT_wxUSE_LONGLONG=no
2108 DEFAULT_wxUSE_GEOMETRY=no
2109
2110 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2111 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2112 DEFAULT_wxUSE_POSTSCRIPT=no
2113
2114 DEFAULT_wxUSE_CLIPBOARD=no
2115 DEFAULT_wxUSE_TOOLTIPS=no
2116 DEFAULT_wxUSE_DRAG_AND_DROP=no
2117 DEFAULT_wxUSE_DRAGIMAGE=no
2118 DEFAULT_wxUSE_SPLINES=no
2119 DEFAULT_wxUSE_MOUSEWHEEL=no
2120
2121 DEFAULT_wxUSE_MDI=no
2122 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2123 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2124 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2125
2126 DEFAULT_wxUSE_RESOURCES=no
2127 DEFAULT_wxUSE_CONSTRAINTS=no
2128 DEFAULT_wxUSE_IPC=no
2129 DEFAULT_wxUSE_HELP=no
2130 DEFAULT_wxUSE_MS_HTML_HELP=no
2131 DEFAULT_wxUSE_WXHTML_HELP=no
2132 DEFAULT_wxUSE_TREELAYOUT=no
2133 DEFAULT_wxUSE_METAFILE=no
2134 DEFAULT_wxUSE_MIMETYPE=no
2135 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2136 DEFAULT_wxUSE_PROTOCOL=no
2137 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2138 DEFAULT_wxUSE_PROTOCOL_FTP=no
2139 DEFAULT_wxUSE_PROTOCOL_FILE=no
2140 DEFAULT_wxUSE_URL=no
2141
2142 DEFAULT_wxUSE_COMMONDLGS=no
2143 DEFAULT_wxUSE_CHOICEDLG=no
2144 DEFAULT_wxUSE_COLOURDLG=no
2145 DEFAULT_wxUSE_DIRDLG=no
2146 DEFAULT_wxUSE_FILEDLG=no
2147 DEFAULT_wxUSE_FINDREPLDLG=no
2148 DEFAULT_wxUSE_FONTDLG=no
2149 DEFAULT_wxUSE_MSGDLG=no
2150 DEFAULT_wxUSE_NUMBERDLG=no
2151 DEFAULT_wxUSE_TEXTDLG=no
2152 DEFAULT_wxUSE_SPLASH=no
2153 DEFAULT_wxUSE_STARTUP_TIPS=no
2154 DEFAULT_wxUSE_PROGRESSDLG=no
2155 DEFAULT_wxUSE_WIZARDDLG=no
2156
2157 DEFAULT_wxUSE_MENUS=no
2158 DEFAULT_wxUSE_MINIFRAME=no
2159 DEFAULT_wxUSE_HTML=no
2160 DEFAULT_wxUSE_XRC=no
2161 DEFAULT_wxUSE_WEBKIT=no
2162 DEFAULT_wxUSE_FILESYSTEM=no
2163 DEFAULT_wxUSE_FS_INET=no
2164 DEFAULT_wxUSE_FS_ZIP=no
2165 DEFAULT_wxUSE_BUSYINFO=no
2166 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2167 DEFAULT_wxUSE_ZIPSTREAM=no
2168 DEFAULT_wxUSE_VALIDATORS=no
2169
2170 DEFAULT_wxUSE_ACCEL=no
2171 DEFAULT_wxUSE_BUTTON=no
2172 DEFAULT_wxUSE_BMPBUTTON=no
2173 DEFAULT_wxUSE_CALCTRL=no
2174 DEFAULT_wxUSE_CARET=no
2175 DEFAULT_wxUSE_CHECKBOX=no
2176 DEFAULT_wxUSE_CHECKLST=no
2177 DEFAULT_wxUSE_CHOICE=no
2178 DEFAULT_wxUSE_CHOICEBOOK=no
2179 DEFAULT_wxUSE_COMBOBOX=no
2180 DEFAULT_wxUSE_DATEPICKCTRL=no
2181 DEFAULT_wxUSE_DISPLAY=no
2182 DEFAULT_wxUSE_GAUGE=no
2183 DEFAULT_wxUSE_GRID=no
2184 DEFAULT_wxUSE_IMAGLIST=no
2185 DEFAULT_wxUSE_LISTBOOK=no
2186 DEFAULT_wxUSE_LISTBOX=no
2187 DEFAULT_wxUSE_LISTCTRL=no
2188 DEFAULT_wxUSE_NOTEBOOK=no
2189 DEFAULT_wxUSE_RADIOBOX=no
2190 DEFAULT_wxUSE_RADIOBTN=no
2191 DEFAULT_wxUSE_SASH=no
2192 DEFAULT_wxUSE_SCROLLBAR=no
2193 DEFAULT_wxUSE_SLIDER=no
2194 DEFAULT_wxUSE_SPINBTN=no
2195 DEFAULT_wxUSE_SPINCTRL=no
2196 DEFAULT_wxUSE_SPLITTER=no
2197 DEFAULT_wxUSE_STATBMP=no
2198 DEFAULT_wxUSE_STATBOX=no
2199 DEFAULT_wxUSE_STATLINE=no
2200 DEFAULT_wxUSE_STATTEXT=no
2201 DEFAULT_wxUSE_STATUSBAR=yes
2202 DEFAULT_wxUSE_TABDIALOG=no
2203 DEFAULT_wxUSE_TEXTCTRL=no
2204 DEFAULT_wxUSE_TOGGLEBTN=no
2205 DEFAULT_wxUSE_TOOLBAR=no
2206 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2207 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2208 DEFAULT_wxUSE_TREECTRL=no
2209 DEFAULT_wxUSE_POPUPWIN=no
2210 DEFAULT_wxUSE_TIPWINDOW=no
2211
2212 DEFAULT_wxUSE_UNICODE=no
2213 DEFAULT_wxUSE_UNICODE_MSLU=no
2214 DEFAULT_wxUSE_WCSRTOMBS=no
2215
2216 DEFAULT_wxUSE_PALETTE=no
2217 DEFAULT_wxUSE_IMAGE=no
2218 DEFAULT_wxUSE_GIF=no
2219 DEFAULT_wxUSE_PCX=no
2220 DEFAULT_wxUSE_PNM=no
2221 DEFAULT_wxUSE_IFF=no
2222 DEFAULT_wxUSE_XPM=no
2223 DEFAULT_wxUSE_ICO_CUR=no
2224 DEFAULT_wxUSE_ACCESSIBILITY=no
2225
2226 DEFAULT_wxUSE_MONOLITHIC=no
2227 DEFAULT_wxUSE_PLUGINS=no
2228 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2229 else
2230 DEFAULT_wxUSE_UNIVERSAL=no
2231 DEFAULT_wxUSE_STL=no
2232
2233 DEFAULT_wxUSE_NANOX=no
2234
2235 DEFAULT_wxUSE_THREADS=yes
2236
2237 DEFAULT_wxUSE_SHARED=yes
2238 DEFAULT_wxUSE_OPTIMISE=yes
2239 DEFAULT_wxUSE_PROFILE=no
2240 DEFAULT_wxUSE_NO_DEPS=no
2241 DEFAULT_wxUSE_NO_RTTI=no
2242 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2243 DEFAULT_wxUSE_RPATH=yes
2244 DEFAULT_wxUSE_PERMISSIVE=no
2245 DEFAULT_wxUSE_DEBUG_FLAG=no
2246 DEFAULT_wxUSE_DEBUG_INFO=no
2247 DEFAULT_wxUSE_DEBUG_GDB=no
2248 DEFAULT_wxUSE_MEM_TRACING=no
2249 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2250 DEFAULT_wxUSE_DMALLOC=no
2251 DEFAULT_wxUSE_APPLE_IEEE=yes
2252
2253 DEFAULT_wxUSE_EXCEPTIONS=yes
2254 DEFAULT_wxUSE_LOG=yes
2255 DEFAULT_wxUSE_LOGWINDOW=yes
2256 DEFAULT_wxUSE_LOGGUI=yes
2257 DEFAULT_wxUSE_LOGDIALOG=yes
2258
2259 DEFAULT_wxUSE_GUI=yes
2260
2261 DEFAULT_wxUSE_REGEX=yes
2262 DEFAULT_wxUSE_XML=yes
2263 DEFAULT_wxUSE_EXPAT=yes
2264 DEFAULT_wxUSE_ZLIB=yes
2265 DEFAULT_wxUSE_LIBPNG=yes
2266 DEFAULT_wxUSE_LIBJPEG=yes
2267 DEFAULT_wxUSE_LIBTIFF=yes
2268 DEFAULT_wxUSE_LIBXPM=yes
2269 DEFAULT_wxUSE_LIBMSPACK=yes
2270 DEFAULT_wxUSE_LIBSDL=no
2271 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2272 DEFAULT_wxUSE_ODBC=no
2273 DEFAULT_wxUSE_OPENGL=no
2274
2275 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2276 DEFAULT_wxUSE_STACKWALKER=yes
2277 DEFAULT_wxUSE_DEBUGREPORT=yes
2278 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2279 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2280 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2281 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2282 DEFAULT_wxUSE_DATETIME=yes
2283 DEFAULT_wxUSE_TIMER=yes
2284 DEFAULT_wxUSE_STOPWATCH=yes
2285 DEFAULT_wxUSE_FILE=yes
2286 DEFAULT_wxUSE_FFILE=yes
2287 DEFAULT_wxUSE_STDPATHS=yes
2288 DEFAULT_wxUSE_TEXTBUFFER=yes
2289 DEFAULT_wxUSE_TEXTFILE=yes
2290 DEFAULT_wxUSE_SOUND=yes
2291 DEFAULT_wxUSE_MEDIACTRL=no
2292 DEFAULT_wxUSE_INTL=yes
2293 DEFAULT_wxUSE_CONFIG=yes
2294 DEFAULT_wxUSE_FONTMAP=yes
2295 DEFAULT_wxUSE_STREAMS=yes
2296 DEFAULT_wxUSE_SOCKETS=yes
2297 DEFAULT_wxUSE_OLE=yes
2298 DEFAULT_wxUSE_DATAOBJ=yes
2299 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2300 DEFAULT_wxUSE_JOYSTICK=yes
2301 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2302 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2303 DEFAULT_wxUSE_LONGLONG=yes
2304 DEFAULT_wxUSE_GEOMETRY=yes
2305
2306 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2307 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2308 DEFAULT_wxUSE_POSTSCRIPT=yes
2309
2310 DEFAULT_wxUSE_CLIPBOARD=yes
2311 DEFAULT_wxUSE_TOOLTIPS=yes
2312 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2313 DEFAULT_wxUSE_DRAGIMAGE=yes
2314 DEFAULT_wxUSE_SPLINES=yes
2315 DEFAULT_wxUSE_MOUSEWHEEL=yes
2316
2317 DEFAULT_wxUSE_MDI=yes
2318 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2319 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2320 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2321
2322 DEFAULT_wxUSE_RESOURCES=no
2323 DEFAULT_wxUSE_CONSTRAINTS=yes
2324 DEFAULT_wxUSE_IPC=yes
2325 DEFAULT_wxUSE_HELP=yes
2326 DEFAULT_wxUSE_MS_HTML_HELP=yes
2327 DEFAULT_wxUSE_WXHTML_HELP=yes
2328 DEFAULT_wxUSE_TREELAYOUT=yes
2329 DEFAULT_wxUSE_METAFILE=yes
2330 DEFAULT_wxUSE_MIMETYPE=yes
2331 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2332 DEFAULT_wxUSE_PROTOCOL=yes
2333 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2334 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2335 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2336 DEFAULT_wxUSE_URL=yes
2337
2338 DEFAULT_wxUSE_COMMONDLGS=yes
2339 DEFAULT_wxUSE_CHOICEDLG=yes
2340 DEFAULT_wxUSE_COLOURDLG=yes
2341 DEFAULT_wxUSE_DIRDLG=yes
2342 DEFAULT_wxUSE_FILEDLG=yes
2343 DEFAULT_wxUSE_FINDREPLDLG=yes
2344 DEFAULT_wxUSE_FONTDLG=yes
2345 DEFAULT_wxUSE_MSGDLG=yes
2346 DEFAULT_wxUSE_NUMBERDLG=yes
2347 DEFAULT_wxUSE_TEXTDLG=yes
2348 DEFAULT_wxUSE_SPLASH=yes
2349 DEFAULT_wxUSE_STARTUP_TIPS=yes
2350 DEFAULT_wxUSE_PROGRESSDLG=yes
2351 DEFAULT_wxUSE_WIZARDDLG=yes
2352
2353 DEFAULT_wxUSE_MENUS=yes
2354 DEFAULT_wxUSE_MINIFRAME=yes
2355 DEFAULT_wxUSE_HTML=yes
2356 DEFAULT_wxUSE_XRC=yes
2357 DEFAULT_wxUSE_WEBKIT=yes
2358 DEFAULT_wxUSE_FILESYSTEM=yes
2359 DEFAULT_wxUSE_FS_INET=yes
2360 DEFAULT_wxUSE_FS_ZIP=yes
2361 DEFAULT_wxUSE_BUSYINFO=yes
2362 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2363 DEFAULT_wxUSE_ZIPSTREAM=yes
2364 DEFAULT_wxUSE_VALIDATORS=yes
2365
2366 DEFAULT_wxUSE_ACCEL=yes
2367 DEFAULT_wxUSE_BUTTON=yes
2368 DEFAULT_wxUSE_BMPBUTTON=yes
2369 DEFAULT_wxUSE_CALCTRL=yes
2370 DEFAULT_wxUSE_CARET=yes
2371 DEFAULT_wxUSE_CHECKBOX=yes
2372 DEFAULT_wxUSE_CHECKLST=yes
2373 DEFAULT_wxUSE_CHOICE=yes
2374 DEFAULT_wxUSE_CHOICEBOOK=yes
2375 DEFAULT_wxUSE_COMBOBOX=yes
2376 DEFAULT_wxUSE_DATEPICKCTRL=yes
2377 DEFAULT_wxUSE_DISPLAY=yes
2378 DEFAULT_wxUSE_GAUGE=yes
2379 DEFAULT_wxUSE_GRID=yes
2380 DEFAULT_wxUSE_IMAGLIST=yes
2381 DEFAULT_wxUSE_LISTBOOK=yes
2382 DEFAULT_wxUSE_LISTBOX=yes
2383 DEFAULT_wxUSE_LISTCTRL=yes
2384 DEFAULT_wxUSE_NOTEBOOK=yes
2385 DEFAULT_wxUSE_RADIOBOX=yes
2386 DEFAULT_wxUSE_RADIOBTN=yes
2387 DEFAULT_wxUSE_SASH=yes
2388 DEFAULT_wxUSE_SCROLLBAR=yes
2389 DEFAULT_wxUSE_SLIDER=yes
2390 DEFAULT_wxUSE_SPINBTN=yes
2391 DEFAULT_wxUSE_SPINCTRL=yes
2392 DEFAULT_wxUSE_SPLITTER=yes
2393 DEFAULT_wxUSE_STATBMP=yes
2394 DEFAULT_wxUSE_STATBOX=yes
2395 DEFAULT_wxUSE_STATLINE=yes
2396 DEFAULT_wxUSE_STATTEXT=yes
2397 DEFAULT_wxUSE_STATUSBAR=yes
2398 DEFAULT_wxUSE_TABDIALOG=no
2399 DEFAULT_wxUSE_TEXTCTRL=yes
2400 DEFAULT_wxUSE_TOGGLEBTN=yes
2401 DEFAULT_wxUSE_TOOLBAR=yes
2402 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2403 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2404 DEFAULT_wxUSE_TREECTRL=yes
2405 DEFAULT_wxUSE_POPUPWIN=yes
2406 DEFAULT_wxUSE_TIPWINDOW=yes
2407
2408 DEFAULT_wxUSE_UNICODE=no
2409 DEFAULT_wxUSE_UNICODE_MSLU=yes
2410 DEFAULT_wxUSE_WCSRTOMBS=no
2411
2412 DEFAULT_wxUSE_PALETTE=yes
2413 DEFAULT_wxUSE_IMAGE=yes
2414 DEFAULT_wxUSE_GIF=yes
2415 DEFAULT_wxUSE_PCX=yes
2416 DEFAULT_wxUSE_IFF=no
2417 DEFAULT_wxUSE_PNM=yes
2418 DEFAULT_wxUSE_XPM=yes
2419 DEFAULT_wxUSE_ICO_CUR=yes
2420 DEFAULT_wxUSE_ACCESSIBILITY=no
2421
2422 DEFAULT_wxUSE_MONOLITHIC=no
2423 DEFAULT_wxUSE_PLUGINS=no
2424 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2425
2426 DEFAULT_wxUSE_GTK2=yes
2427 fi
2428
2429
2430
2431
2432 for toolkit in `echo $ALL_TOOLKITS`; do
2433 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2434 if test "x$LINE" != "x" ; then
2435 has_toolkit_in_cache=1
2436 eval "DEFAULT_$LINE"
2437 eval "CACHE_$toolkit=1"
2438
2439 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2440 if test "x$LINE" != "x" ; then
2441 eval "DEFAULT_$LINE"
2442 fi
2443 fi
2444 done
2445
2446
2447
2448 enablestring=
2449 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2450 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2451 no_cache=0
2452 # Check whether --enable-gui or --disable-gui was given.
2453 if test "${enable_gui+set}" = set; then
2454 enableval="$enable_gui"
2455
2456 if test "$enableval" = yes; then
2457 ac_cv_use_gui='wxUSE_GUI=yes'
2458 else
2459 ac_cv_use_gui='wxUSE_GUI=no'
2460 fi
2461
2462 else
2463
2464 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2465 if test "x$LINE" != x ; then
2466 eval "DEFAULT_$LINE"
2467 else
2468 no_cache=1
2469 fi
2470
2471 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2472
2473 fi;
2474
2475 eval "$ac_cv_use_gui"
2476 if test "$no_cache" != 1; then
2477 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2478 fi
2479
2480 if test "$wxUSE_GUI" = yes; then
2481 echo "$as_me:$LINENO: result: yes" >&5
2482 echo "${ECHO_T}yes" >&6
2483 else
2484 echo "$as_me:$LINENO: result: no" >&5
2485 echo "${ECHO_T}no" >&6
2486 fi
2487
2488
2489 enablestring=
2490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2491 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2492 no_cache=0
2493 # Check whether --enable-monolithic or --disable-monolithic was given.
2494 if test "${enable_monolithic+set}" = set; then
2495 enableval="$enable_monolithic"
2496
2497 if test "$enableval" = yes; then
2498 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2499 else
2500 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2501 fi
2502
2503 else
2504
2505 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2506 if test "x$LINE" != x ; then
2507 eval "DEFAULT_$LINE"
2508 else
2509 no_cache=1
2510 fi
2511
2512 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2513
2514 fi;
2515
2516 eval "$ac_cv_use_monolithic"
2517 if test "$no_cache" != 1; then
2518 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2519 fi
2520
2521 if test "$wxUSE_MONOLITHIC" = yes; then
2522 echo "$as_me:$LINENO: result: yes" >&5
2523 echo "${ECHO_T}yes" >&6
2524 else
2525 echo "$as_me:$LINENO: result: no" >&5
2526 echo "${ECHO_T}no" >&6
2527 fi
2528
2529
2530 enablestring=
2531 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2532 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2533 no_cache=0
2534 # Check whether --enable-plugins or --disable-plugins was given.
2535 if test "${enable_plugins+set}" = set; then
2536 enableval="$enable_plugins"
2537
2538 if test "$enableval" = yes; then
2539 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2540 else
2541 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2542 fi
2543
2544 else
2545
2546 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2547 if test "x$LINE" != x ; then
2548 eval "DEFAULT_$LINE"
2549 else
2550 no_cache=1
2551 fi
2552
2553 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2554
2555 fi;
2556
2557 eval "$ac_cv_use_plugins"
2558 if test "$no_cache" != 1; then
2559 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2560 fi
2561
2562 if test "$wxUSE_PLUGINS" = yes; then
2563 echo "$as_me:$LINENO: result: yes" >&5
2564 echo "${ECHO_T}yes" >&6
2565 else
2566 echo "$as_me:$LINENO: result: no" >&5
2567 echo "${ECHO_T}no" >&6
2568 fi
2569
2570
2571 if test "$wxUSE_GUI" = "yes"; then
2572
2573
2574 enablestring=
2575 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2576 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2577 no_cache=0
2578 # Check whether --enable-universal or --disable-universal was given.
2579 if test "${enable_universal+set}" = set; then
2580 enableval="$enable_universal"
2581
2582 if test "$enableval" = yes; then
2583 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2584 else
2585 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2586 fi
2587
2588 else
2589
2590 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2591 if test "x$LINE" != x ; then
2592 eval "DEFAULT_$LINE"
2593 else
2594 no_cache=1
2595 fi
2596
2597 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2598
2599 fi;
2600
2601 eval "$ac_cv_use_universal"
2602 if test "$no_cache" != 1; then
2603 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2604 fi
2605
2606 if test "$wxUSE_UNIVERSAL" = yes; then
2607 echo "$as_me:$LINENO: result: yes" >&5
2608 echo "${ECHO_T}yes" >&6
2609 else
2610 echo "$as_me:$LINENO: result: no" >&5
2611 echo "${ECHO_T}no" >&6
2612 fi
2613
2614
2615 # Check whether --with-gtk or --without-gtk was given.
2616 if test "${with_gtk+set}" = set; then
2617 withval="$with_gtk"
2618 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2619 fi;
2620
2621 # Check whether --with-motif or --without-motif was given.
2622 if test "${with_motif+set}" = set; then
2623 withval="$with_motif"
2624 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2625 fi;
2626
2627 # Check whether --with-mac or --without-mac was given.
2628 if test "${with_mac+set}" = set; then
2629 withval="$with_mac"
2630 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2631 fi;
2632
2633 # Check whether --with-cocoa or --without-cocoa was given.
2634 if test "${with_cocoa+set}" = set; then
2635 withval="$with_cocoa"
2636 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2637 fi;
2638
2639 # Check whether --with-wine or --without-wine was given.
2640 if test "${with_wine+set}" = set; then
2641 withval="$with_wine"
2642 wxUSE_WINE="$withval" CACHE_WINE=1
2643 fi;
2644
2645 # Check whether --with-msw or --without-msw was given.
2646 if test "${with_msw+set}" = set; then
2647 withval="$with_msw"
2648 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2649 fi;
2650
2651 # Check whether --with-pm or --without-pm was given.
2652 if test "${with_pm+set}" = set; then
2653 withval="$with_pm"
2654 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2655 fi;
2656
2657 # Check whether --with-mgl or --without-mgl was given.
2658 if test "${with_mgl+set}" = set; then
2659 withval="$with_mgl"
2660 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2661 fi;
2662
2663 # Check whether --with-microwin or --without-microwin was given.
2664 if test "${with_microwin+set}" = set; then
2665 withval="$with_microwin"
2666 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2667 fi;
2668
2669 # Check whether --with-x11 or --without-x11 was given.
2670 if test "${with_x11+set}" = set; then
2671 withval="$with_x11"
2672 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2673 fi;
2674
2675 enablestring=
2676 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2677 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2678 no_cache=0
2679 # Check whether --enable-nanox or --disable-nanox was given.
2680 if test "${enable_nanox+set}" = set; then
2681 enableval="$enable_nanox"
2682
2683 if test "$enableval" = yes; then
2684 ac_cv_use_nanox='wxUSE_NANOX=yes'
2685 else
2686 ac_cv_use_nanox='wxUSE_NANOX=no'
2687 fi
2688
2689 else
2690
2691 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2692 if test "x$LINE" != x ; then
2693 eval "DEFAULT_$LINE"
2694 else
2695 no_cache=1
2696 fi
2697
2698 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2699
2700 fi;
2701
2702 eval "$ac_cv_use_nanox"
2703 if test "$no_cache" != 1; then
2704 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2705 fi
2706
2707 if test "$wxUSE_NANOX" = yes; then
2708 echo "$as_me:$LINENO: result: yes" >&5
2709 echo "${ECHO_T}yes" >&6
2710 else
2711 echo "$as_me:$LINENO: result: no" >&5
2712 echo "${ECHO_T}no" >&6
2713 fi
2714
2715
2716 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2717 if test "${enable_gtk2+set}" = set; then
2718 enableval="$enable_gtk2"
2719 wxUSE_GTK2="$enableval"
2720 fi;
2721
2722 enablestring=
2723 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2724 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2725 no_cache=0
2726 # Check whether --enable-gpe or --disable-gpe was given.
2727 if test "${enable_gpe+set}" = set; then
2728 enableval="$enable_gpe"
2729
2730 if test "$enableval" = yes; then
2731 ac_cv_use_gpe='wxUSE_GPE=yes'
2732 else
2733 ac_cv_use_gpe='wxUSE_GPE=no'
2734 fi
2735
2736 else
2737
2738 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2739 if test "x$LINE" != x ; then
2740 eval "DEFAULT_$LINE"
2741 else
2742 no_cache=1
2743 fi
2744
2745 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2746
2747 fi;
2748
2749 eval "$ac_cv_use_gpe"
2750 if test "$no_cache" != 1; then
2751 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2752 fi
2753
2754 if test "$wxUSE_GPE" = yes; then
2755 echo "$as_me:$LINENO: result: yes" >&5
2756 echo "${ECHO_T}yes" >&6
2757 else
2758 echo "$as_me:$LINENO: result: no" >&5
2759 echo "${ECHO_T}no" >&6
2760 fi
2761
2762
2763
2764 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2765 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2766 no_cache=0
2767
2768 # Check whether --with-libpng or --without-libpng was given.
2769 if test "${with_libpng+set}" = set; then
2770 withval="$with_libpng"
2771
2772 if test "$withval" = yes; then
2773 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2774 elif test "$withval" = no; then
2775 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2776 elif test "$withval" = sys; then
2777 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2778 elif test "$withval" = builtin; then
2779 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2780 else
2781 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2782 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2783 { (exit 1); exit 1; }; }
2784 fi
2785
2786 else
2787
2788 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2789 if test "x$LINE" != x ; then
2790 eval "DEFAULT_$LINE"
2791 else
2792 no_cache=1
2793 fi
2794
2795 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2796
2797 fi;
2798
2799 eval "$ac_cv_use_libpng"
2800 if test "$no_cache" != 1; then
2801 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2802 fi
2803
2804 if test "$wxUSE_LIBPNG" = yes; then
2805 echo "$as_me:$LINENO: result: yes" >&5
2806 echo "${ECHO_T}yes" >&6
2807 elif test "$wxUSE_LIBPNG" = no; then
2808 echo "$as_me:$LINENO: result: no" >&5
2809 echo "${ECHO_T}no" >&6
2810 elif test "$wxUSE_LIBPNG" = sys; then
2811 echo "$as_me:$LINENO: result: system version" >&5
2812 echo "${ECHO_T}system version" >&6
2813 elif test "$wxUSE_LIBPNG" = builtin; then
2814 echo "$as_me:$LINENO: result: builtin version" >&5
2815 echo "${ECHO_T}builtin version" >&6
2816 else
2817 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2818 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2819 { (exit 1); exit 1; }; }
2820 fi
2821
2822
2823 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2824 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2825 no_cache=0
2826
2827 # Check whether --with-libjpeg or --without-libjpeg was given.
2828 if test "${with_libjpeg+set}" = set; then
2829 withval="$with_libjpeg"
2830
2831 if test "$withval" = yes; then
2832 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2833 elif test "$withval" = no; then
2834 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2835 elif test "$withval" = sys; then
2836 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2837 elif test "$withval" = builtin; then
2838 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2839 else
2840 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2841 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2842 { (exit 1); exit 1; }; }
2843 fi
2844
2845 else
2846
2847 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2848 if test "x$LINE" != x ; then
2849 eval "DEFAULT_$LINE"
2850 else
2851 no_cache=1
2852 fi
2853
2854 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2855
2856 fi;
2857
2858 eval "$ac_cv_use_libjpeg"
2859 if test "$no_cache" != 1; then
2860 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2861 fi
2862
2863 if test "$wxUSE_LIBJPEG" = yes; then
2864 echo "$as_me:$LINENO: result: yes" >&5
2865 echo "${ECHO_T}yes" >&6
2866 elif test "$wxUSE_LIBJPEG" = no; then
2867 echo "$as_me:$LINENO: result: no" >&5
2868 echo "${ECHO_T}no" >&6
2869 elif test "$wxUSE_LIBJPEG" = sys; then
2870 echo "$as_me:$LINENO: result: system version" >&5
2871 echo "${ECHO_T}system version" >&6
2872 elif test "$wxUSE_LIBJPEG" = builtin; then
2873 echo "$as_me:$LINENO: result: builtin version" >&5
2874 echo "${ECHO_T}builtin version" >&6
2875 else
2876 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2877 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2878 { (exit 1); exit 1; }; }
2879 fi
2880
2881
2882 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2883 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2884 no_cache=0
2885
2886 # Check whether --with-libtiff or --without-libtiff was given.
2887 if test "${with_libtiff+set}" = set; then
2888 withval="$with_libtiff"
2889
2890 if test "$withval" = yes; then
2891 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2892 elif test "$withval" = no; then
2893 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2894 elif test "$withval" = sys; then
2895 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2896 elif test "$withval" = builtin; then
2897 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2898 else
2899 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2900 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2901 { (exit 1); exit 1; }; }
2902 fi
2903
2904 else
2905
2906 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2907 if test "x$LINE" != x ; then
2908 eval "DEFAULT_$LINE"
2909 else
2910 no_cache=1
2911 fi
2912
2913 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2914
2915 fi;
2916
2917 eval "$ac_cv_use_libtiff"
2918 if test "$no_cache" != 1; then
2919 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2920 fi
2921
2922 if test "$wxUSE_LIBTIFF" = yes; then
2923 echo "$as_me:$LINENO: result: yes" >&5
2924 echo "${ECHO_T}yes" >&6
2925 elif test "$wxUSE_LIBTIFF" = no; then
2926 echo "$as_me:$LINENO: result: no" >&5
2927 echo "${ECHO_T}no" >&6
2928 elif test "$wxUSE_LIBTIFF" = sys; then
2929 echo "$as_me:$LINENO: result: system version" >&5
2930 echo "${ECHO_T}system version" >&6
2931 elif test "$wxUSE_LIBTIFF" = builtin; then
2932 echo "$as_me:$LINENO: result: builtin version" >&5
2933 echo "${ECHO_T}builtin version" >&6
2934 else
2935 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2936 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2937 { (exit 1); exit 1; }; }
2938 fi
2939
2940
2941 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2942 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2943 no_cache=0
2944
2945 # Check whether --with-libxpm or --without-libxpm was given.
2946 if test "${with_libxpm+set}" = set; then
2947 withval="$with_libxpm"
2948
2949 if test "$withval" = yes; then
2950 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
2951 elif test "$withval" = no; then
2952 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
2953 elif test "$withval" = sys; then
2954 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
2955 elif test "$withval" = builtin; then
2956 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
2957 else
2958 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2959 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2960 { (exit 1); exit 1; }; }
2961 fi
2962
2963 else
2964
2965 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2966 if test "x$LINE" != x ; then
2967 eval "DEFAULT_$LINE"
2968 else
2969 no_cache=1
2970 fi
2971
2972 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2973
2974 fi;
2975
2976 eval "$ac_cv_use_libxpm"
2977 if test "$no_cache" != 1; then
2978 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2979 fi
2980
2981 if test "$wxUSE_LIBXPM" = yes; then
2982 echo "$as_me:$LINENO: result: yes" >&5
2983 echo "${ECHO_T}yes" >&6
2984 elif test "$wxUSE_LIBXPM" = no; then
2985 echo "$as_me:$LINENO: result: no" >&5
2986 echo "${ECHO_T}no" >&6
2987 elif test "$wxUSE_LIBXPM" = sys; then
2988 echo "$as_me:$LINENO: result: system version" >&5
2989 echo "${ECHO_T}system version" >&6
2990 elif test "$wxUSE_LIBXPM" = builtin; then
2991 echo "$as_me:$LINENO: result: builtin version" >&5
2992 echo "${ECHO_T}builtin version" >&6
2993 else
2994 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2995 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2996 { (exit 1); exit 1; }; }
2997 fi
2998
2999
3000 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
3001 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
3002 no_cache=0
3003
3004 # Check whether --with-libmspack or --without-libmspack was given.
3005 if test "${with_libmspack+set}" = set; then
3006 withval="$with_libmspack"
3007
3008 if test "$withval" = yes; then
3009 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3010 else
3011 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3012 fi
3013
3014 else
3015
3016 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3017 if test "x$LINE" != x ; then
3018 eval "DEFAULT_$LINE"
3019 else
3020 no_cache=1
3021 fi
3022
3023 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3024
3025 fi;
3026
3027 eval "$ac_cv_use_libmspack"
3028 if test "$no_cache" != 1; then
3029 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3030 fi
3031
3032 if test "$wxUSE_LIBMSPACK" = yes; then
3033 echo "$as_me:$LINENO: result: yes" >&5
3034 echo "${ECHO_T}yes" >&6
3035 else
3036 echo "$as_me:$LINENO: result: no" >&5
3037 echo "${ECHO_T}no" >&6
3038 fi
3039
3040
3041 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3042 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3043 no_cache=0
3044
3045 # Check whether --with-sdl or --without-sdl was given.
3046 if test "${with_sdl+set}" = set; then
3047 withval="$with_sdl"
3048
3049 if test "$withval" = yes; then
3050 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3051 else
3052 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3053 fi
3054
3055 else
3056
3057 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3058 if test "x$LINE" != x ; then
3059 eval "DEFAULT_$LINE"
3060 else
3061 no_cache=1
3062 fi
3063
3064 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3065
3066 fi;
3067
3068 eval "$ac_cv_use_sdl"
3069 if test "$no_cache" != 1; then
3070 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3071 fi
3072
3073 if test "$wxUSE_LIBSDL" = yes; then
3074 echo "$as_me:$LINENO: result: yes" >&5
3075 echo "${ECHO_T}yes" >&6
3076 else
3077 echo "$as_me:$LINENO: result: no" >&5
3078 echo "${ECHO_T}no" >&6
3079 fi
3080
3081
3082 echo "$as_me:$LINENO: checking for --with-gnomeprint" >&5
3083 echo $ECHO_N "checking for --with-gnomeprint... $ECHO_C" >&6
3084 no_cache=0
3085
3086 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3087 if test "${with_gnomeprint+set}" = set; then
3088 withval="$with_gnomeprint"
3089
3090 if test "$withval" = yes; then
3091 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3092 else
3093 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3094 fi
3095
3096 else
3097
3098 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3099 if test "x$LINE" != x ; then
3100 eval "DEFAULT_$LINE"
3101 else
3102 no_cache=1
3103 fi
3104
3105 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3106
3107 fi;
3108
3109 eval "$ac_cv_use_gnomeprint"
3110 if test "$no_cache" != 1; then
3111 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3112 fi
3113
3114 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3115 echo "$as_me:$LINENO: result: yes" >&5
3116 echo "${ECHO_T}yes" >&6
3117 else
3118 echo "$as_me:$LINENO: result: no" >&5
3119 echo "${ECHO_T}no" >&6
3120 fi
3121
3122
3123 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3124 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3125 no_cache=0
3126
3127 # Check whether --with-opengl or --without-opengl was given.
3128 if test "${with_opengl+set}" = set; then
3129 withval="$with_opengl"
3130
3131 if test "$withval" = yes; then
3132 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3133 else
3134 ac_cv_use_opengl='wxUSE_OPENGL=no'
3135 fi
3136
3137 else
3138
3139 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3140 if test "x$LINE" != x ; then
3141 eval "DEFAULT_$LINE"
3142 else
3143 no_cache=1
3144 fi
3145
3146 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3147
3148 fi;
3149
3150 eval "$ac_cv_use_opengl"
3151 if test "$no_cache" != 1; then
3152 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3153 fi
3154
3155 if test "$wxUSE_OPENGL" = yes; then
3156 echo "$as_me:$LINENO: result: yes" >&5
3157 echo "${ECHO_T}yes" >&6
3158 else
3159 echo "$as_me:$LINENO: result: no" >&5
3160 echo "${ECHO_T}no" >&6
3161 fi
3162
3163
3164 fi
3165
3166
3167 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3168 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3169 no_cache=0
3170
3171 # Check whether --with-dmalloc or --without-dmalloc was given.
3172 if test "${with_dmalloc+set}" = set; then
3173 withval="$with_dmalloc"
3174
3175 if test "$withval" = yes; then
3176 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3177 else
3178 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3179 fi
3180
3181 else
3182
3183 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3184 if test "x$LINE" != x ; then
3185 eval "DEFAULT_$LINE"
3186 else
3187 no_cache=1
3188 fi
3189
3190 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3191
3192 fi;
3193
3194 eval "$ac_cv_use_dmalloc"
3195 if test "$no_cache" != 1; then
3196 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3197 fi
3198
3199 if test "$wxUSE_DMALLOC" = yes; then
3200 echo "$as_me:$LINENO: result: yes" >&5
3201 echo "${ECHO_T}yes" >&6
3202 else
3203 echo "$as_me:$LINENO: result: no" >&5
3204 echo "${ECHO_T}no" >&6
3205 fi
3206
3207
3208 echo "$as_me:$LINENO: checking for --with-regex" >&5
3209 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3210 no_cache=0
3211
3212 # Check whether --with-regex or --without-regex was given.
3213 if test "${with_regex+set}" = set; then
3214 withval="$with_regex"
3215
3216 if test "$withval" = yes; then
3217 ac_cv_use_regex='wxUSE_REGEX=yes'
3218 elif test "$withval" = no; then
3219 ac_cv_use_regex='wxUSE_REGEX=no'
3220 elif test "$withval" = sys; then
3221 ac_cv_use_regex='wxUSE_REGEX=sys'
3222 elif test "$withval" = builtin; then
3223 ac_cv_use_regex='wxUSE_REGEX=builtin'
3224 else
3225 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3226 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3227 { (exit 1); exit 1; }; }
3228 fi
3229
3230 else
3231
3232 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3233 if test "x$LINE" != x ; then
3234 eval "DEFAULT_$LINE"
3235 else
3236 no_cache=1
3237 fi
3238
3239 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3240
3241 fi;
3242
3243 eval "$ac_cv_use_regex"
3244 if test "$no_cache" != 1; then
3245 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3246 fi
3247
3248 if test "$wxUSE_REGEX" = yes; then
3249 echo "$as_me:$LINENO: result: yes" >&5
3250 echo "${ECHO_T}yes" >&6
3251 elif test "$wxUSE_REGEX" = no; then
3252 echo "$as_me:$LINENO: result: no" >&5
3253 echo "${ECHO_T}no" >&6
3254 elif test "$wxUSE_REGEX" = sys; then
3255 echo "$as_me:$LINENO: result: system version" >&5
3256 echo "${ECHO_T}system version" >&6
3257 elif test "$wxUSE_REGEX" = builtin; then
3258 echo "$as_me:$LINENO: result: builtin version" >&5
3259 echo "${ECHO_T}builtin version" >&6
3260 else
3261 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3262 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3263 { (exit 1); exit 1; }; }
3264 fi
3265
3266
3267 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3268 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3269 no_cache=0
3270
3271 # Check whether --with-zlib or --without-zlib was given.
3272 if test "${with_zlib+set}" = set; then
3273 withval="$with_zlib"
3274
3275 if test "$withval" = yes; then
3276 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3277 elif test "$withval" = no; then
3278 ac_cv_use_zlib='wxUSE_ZLIB=no'
3279 elif test "$withval" = sys; then
3280 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3281 elif test "$withval" = builtin; then
3282 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3283 else
3284 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3285 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3286 { (exit 1); exit 1; }; }
3287 fi
3288
3289 else
3290
3291 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3292 if test "x$LINE" != x ; then
3293 eval "DEFAULT_$LINE"
3294 else
3295 no_cache=1
3296 fi
3297
3298 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3299
3300 fi;
3301
3302 eval "$ac_cv_use_zlib"
3303 if test "$no_cache" != 1; then
3304 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3305 fi
3306
3307 if test "$wxUSE_ZLIB" = yes; then
3308 echo "$as_me:$LINENO: result: yes" >&5
3309 echo "${ECHO_T}yes" >&6
3310 elif test "$wxUSE_ZLIB" = no; then
3311 echo "$as_me:$LINENO: result: no" >&5
3312 echo "${ECHO_T}no" >&6
3313 elif test "$wxUSE_ZLIB" = sys; then
3314 echo "$as_me:$LINENO: result: system version" >&5
3315 echo "${ECHO_T}system version" >&6
3316 elif test "$wxUSE_ZLIB" = builtin; then
3317 echo "$as_me:$LINENO: result: builtin version" >&5
3318 echo "${ECHO_T}builtin version" >&6
3319 else
3320 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3321 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3322 { (exit 1); exit 1; }; }
3323 fi
3324
3325
3326 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3327 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3328 no_cache=0
3329
3330 # Check whether --with-odbc or --without-odbc was given.
3331 if test "${with_odbc+set}" = set; then
3332 withval="$with_odbc"
3333
3334 if test "$withval" = yes; then
3335 ac_cv_use_odbc='wxUSE_ODBC=yes'
3336 elif test "$withval" = no; then
3337 ac_cv_use_odbc='wxUSE_ODBC=no'
3338 elif test "$withval" = sys; then
3339 ac_cv_use_odbc='wxUSE_ODBC=sys'
3340 elif test "$withval" = builtin; then
3341 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3342 else
3343 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3344 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3345 { (exit 1); exit 1; }; }
3346 fi
3347
3348 else
3349
3350 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3351 if test "x$LINE" != x ; then
3352 eval "DEFAULT_$LINE"
3353 else
3354 no_cache=1
3355 fi
3356
3357 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3358
3359 fi;
3360
3361 eval "$ac_cv_use_odbc"
3362 if test "$no_cache" != 1; then
3363 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3364 fi
3365
3366 if test "$wxUSE_ODBC" = yes; then
3367 echo "$as_me:$LINENO: result: yes" >&5
3368 echo "${ECHO_T}yes" >&6
3369 elif test "$wxUSE_ODBC" = no; then
3370 echo "$as_me:$LINENO: result: no" >&5
3371 echo "${ECHO_T}no" >&6
3372 elif test "$wxUSE_ODBC" = sys; then
3373 echo "$as_me:$LINENO: result: system version" >&5
3374 echo "${ECHO_T}system version" >&6
3375 elif test "$wxUSE_ODBC" = builtin; then
3376 echo "$as_me:$LINENO: result: builtin version" >&5
3377 echo "${ECHO_T}builtin version" >&6
3378 else
3379 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3380 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3381 { (exit 1); exit 1; }; }
3382 fi
3383
3384
3385 echo "$as_me:$LINENO: checking for --with-expat" >&5
3386 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3387 no_cache=0
3388
3389 # Check whether --with-expat or --without-expat was given.
3390 if test "${with_expat+set}" = set; then
3391 withval="$with_expat"
3392
3393 if test "$withval" = yes; then
3394 ac_cv_use_expat='wxUSE_EXPAT=yes'
3395 elif test "$withval" = no; then
3396 ac_cv_use_expat='wxUSE_EXPAT=no'
3397 elif test "$withval" = sys; then
3398 ac_cv_use_expat='wxUSE_EXPAT=sys'
3399 elif test "$withval" = builtin; then
3400 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3401 else
3402 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3403 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3404 { (exit 1); exit 1; }; }
3405 fi
3406
3407 else
3408
3409 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3410 if test "x$LINE" != x ; then
3411 eval "DEFAULT_$LINE"
3412 else
3413 no_cache=1
3414 fi
3415
3416 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3417
3418 fi;
3419
3420 eval "$ac_cv_use_expat"
3421 if test "$no_cache" != 1; then
3422 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3423 fi
3424
3425 if test "$wxUSE_EXPAT" = yes; then
3426 echo "$as_me:$LINENO: result: yes" >&5
3427 echo "${ECHO_T}yes" >&6
3428 elif test "$wxUSE_EXPAT" = no; then
3429 echo "$as_me:$LINENO: result: no" >&5
3430 echo "${ECHO_T}no" >&6
3431 elif test "$wxUSE_EXPAT" = sys; then
3432 echo "$as_me:$LINENO: result: system version" >&5
3433 echo "${ECHO_T}system version" >&6
3434 elif test "$wxUSE_EXPAT" = builtin; then
3435 echo "$as_me:$LINENO: result: builtin version" >&5
3436 echo "${ECHO_T}builtin version" >&6
3437 else
3438 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3439 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3440 { (exit 1); exit 1; }; }
3441 fi
3442
3443
3444
3445
3446 enablestring=
3447 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3448 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3449 no_cache=0
3450 # Check whether --enable-shared or --disable-shared was given.
3451 if test "${enable_shared+set}" = set; then
3452 enableval="$enable_shared"
3453
3454 if test "$enableval" = yes; then
3455 ac_cv_use_shared='wxUSE_SHARED=yes'
3456 else
3457 ac_cv_use_shared='wxUSE_SHARED=no'
3458 fi
3459
3460 else
3461
3462 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3463 if test "x$LINE" != x ; then
3464 eval "DEFAULT_$LINE"
3465 else
3466 no_cache=1
3467 fi
3468
3469 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3470
3471 fi;
3472
3473 eval "$ac_cv_use_shared"
3474 if test "$no_cache" != 1; then
3475 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3476 fi
3477
3478 if test "$wxUSE_SHARED" = yes; then
3479 echo "$as_me:$LINENO: result: yes" >&5
3480 echo "${ECHO_T}yes" >&6
3481 else
3482 echo "$as_me:$LINENO: result: no" >&5
3483 echo "${ECHO_T}no" >&6
3484 fi
3485
3486
3487 enablestring=
3488 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3489 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3490 no_cache=0
3491 # Check whether --enable-optimise or --disable-optimise was given.
3492 if test "${enable_optimise+set}" = set; then
3493 enableval="$enable_optimise"
3494
3495 if test "$enableval" = yes; then
3496 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3497 else
3498 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3499 fi
3500
3501 else
3502
3503 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3504 if test "x$LINE" != x ; then
3505 eval "DEFAULT_$LINE"
3506 else
3507 no_cache=1
3508 fi
3509
3510 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3511
3512 fi;
3513
3514 eval "$ac_cv_use_optimise"
3515 if test "$no_cache" != 1; then
3516 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3517 fi
3518
3519 if test "$wxUSE_OPTIMISE" = yes; then
3520 echo "$as_me:$LINENO: result: yes" >&5
3521 echo "${ECHO_T}yes" >&6
3522 else
3523 echo "$as_me:$LINENO: result: no" >&5
3524 echo "${ECHO_T}no" >&6
3525 fi
3526
3527
3528 enablestring=
3529 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3530 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3531 no_cache=0
3532 # Check whether --enable-debug or --disable-debug was given.
3533 if test "${enable_debug+set}" = set; then
3534 enableval="$enable_debug"
3535
3536 if test "$enableval" = yes; then
3537 ac_cv_use_debug='wxUSE_DEBUG=yes'
3538 else
3539 ac_cv_use_debug='wxUSE_DEBUG=no'
3540 fi
3541
3542 else
3543
3544 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3545 if test "x$LINE" != x ; then
3546 eval "DEFAULT_$LINE"
3547 else
3548 no_cache=1
3549 fi
3550
3551 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3552
3553 fi;
3554
3555 eval "$ac_cv_use_debug"
3556 if test "$no_cache" != 1; then
3557 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3558 fi
3559
3560 if test "$wxUSE_DEBUG" = yes; then
3561 echo "$as_me:$LINENO: result: yes" >&5
3562 echo "${ECHO_T}yes" >&6
3563 else
3564 echo "$as_me:$LINENO: result: no" >&5
3565 echo "${ECHO_T}no" >&6
3566 fi
3567
3568
3569 enablestring=
3570 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3571 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3572 no_cache=0
3573 # Check whether --enable-stl or --disable-stl was given.
3574 if test "${enable_stl+set}" = set; then
3575 enableval="$enable_stl"
3576
3577 if test "$enableval" = yes; then
3578 ac_cv_use_stl='wxUSE_STL=yes'
3579 else
3580 ac_cv_use_stl='wxUSE_STL=no'
3581 fi
3582
3583 else
3584
3585 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3586 if test "x$LINE" != x ; then
3587 eval "DEFAULT_$LINE"
3588 else
3589 no_cache=1
3590 fi
3591
3592 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3593
3594 fi;
3595
3596 eval "$ac_cv_use_stl"
3597 if test "$no_cache" != 1; then
3598 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3599 fi
3600
3601 if test "$wxUSE_STL" = yes; then
3602 echo "$as_me:$LINENO: result: yes" >&5
3603 echo "${ECHO_T}yes" >&6
3604 else
3605 echo "$as_me:$LINENO: result: no" >&5
3606 echo "${ECHO_T}no" >&6
3607 fi
3608
3609 if test "$USE_OS2" = "1"; then
3610 DEFAULT_wxUSE_OMF=no
3611
3612 enablestring=
3613 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3614 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3615 no_cache=0
3616 # Check whether --enable-omf or --disable-omf was given.
3617 if test "${enable_omf+set}" = set; then
3618 enableval="$enable_omf"
3619
3620 if test "$enableval" = yes; then
3621 ac_cv_use_omf='wxUSE_OMF=yes'
3622 else
3623 ac_cv_use_omf='wxUSE_OMF=no'
3624 fi
3625
3626 else
3627
3628 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3629 if test "x$LINE" != x ; then
3630 eval "DEFAULT_$LINE"
3631 else
3632 no_cache=1
3633 fi
3634
3635 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3636
3637 fi;
3638
3639 eval "$ac_cv_use_omf"
3640 if test "$no_cache" != 1; then
3641 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3642 fi
3643
3644 if test "$wxUSE_OMF" = yes; then
3645 echo "$as_me:$LINENO: result: yes" >&5
3646 echo "${ECHO_T}yes" >&6
3647 else
3648 echo "$as_me:$LINENO: result: no" >&5
3649 echo "${ECHO_T}no" >&6
3650 fi
3651
3652 fi
3653
3654 if test "$wxUSE_DEBUG" = "yes"; then
3655 DEFAULT_wxUSE_DEBUG_FLAG=yes
3656 DEFAULT_wxUSE_DEBUG_INFO=yes
3657 BUILD=debug
3658 elif test "$wxUSE_DEBUG" = "no"; then
3659 DEFAULT_wxUSE_DEBUG_FLAG=no
3660 DEFAULT_wxUSE_DEBUG_INFO=no
3661 BUILD=release
3662 fi
3663
3664
3665 enablestring=
3666 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3667 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3668 no_cache=0
3669 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3670 if test "${enable_debug_flag+set}" = set; then
3671 enableval="$enable_debug_flag"
3672
3673 if test "$enableval" = yes; then
3674 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3675 else
3676 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3677 fi
3678
3679 else
3680
3681 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3682 if test "x$LINE" != x ; then
3683 eval "DEFAULT_$LINE"
3684 else
3685 no_cache=1
3686 fi
3687
3688 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3689
3690 fi;
3691
3692 eval "$ac_cv_use_debug_flag"
3693 if test "$no_cache" != 1; then
3694 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3695 fi
3696
3697 if test "$wxUSE_DEBUG_FLAG" = yes; then
3698 echo "$as_me:$LINENO: result: yes" >&5
3699 echo "${ECHO_T}yes" >&6
3700 else
3701 echo "$as_me:$LINENO: result: no" >&5
3702 echo "${ECHO_T}no" >&6
3703 fi
3704
3705
3706 enablestring=
3707 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3708 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3709 no_cache=0
3710 # Check whether --enable-debug_info or --disable-debug_info was given.
3711 if test "${enable_debug_info+set}" = set; then
3712 enableval="$enable_debug_info"
3713
3714 if test "$enableval" = yes; then
3715 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3716 else
3717 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3718 fi
3719
3720 else
3721
3722 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3723 if test "x$LINE" != x ; then
3724 eval "DEFAULT_$LINE"
3725 else
3726 no_cache=1
3727 fi
3728
3729 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3730
3731 fi;
3732
3733 eval "$ac_cv_use_debug_info"
3734 if test "$no_cache" != 1; then
3735 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3736 fi
3737
3738 if test "$wxUSE_DEBUG_INFO" = yes; then
3739 echo "$as_me:$LINENO: result: yes" >&5
3740 echo "${ECHO_T}yes" >&6
3741 else
3742 echo "$as_me:$LINENO: result: no" >&5
3743 echo "${ECHO_T}no" >&6
3744 fi
3745
3746
3747 enablestring=
3748 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3749 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3750 no_cache=0
3751 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3752 if test "${enable_debug_gdb+set}" = set; then
3753 enableval="$enable_debug_gdb"
3754
3755 if test "$enableval" = yes; then
3756 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3757 else
3758 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3759 fi
3760
3761 else
3762
3763 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3764 if test "x$LINE" != x ; then
3765 eval "DEFAULT_$LINE"
3766 else
3767 no_cache=1
3768 fi
3769
3770 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3771
3772 fi;
3773
3774 eval "$ac_cv_use_debug_gdb"
3775 if test "$no_cache" != 1; then
3776 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3777 fi
3778
3779 if test "$wxUSE_DEBUG_GDB" = yes; then
3780 echo "$as_me:$LINENO: result: yes" >&5
3781 echo "${ECHO_T}yes" >&6
3782 else
3783 echo "$as_me:$LINENO: result: no" >&5
3784 echo "${ECHO_T}no" >&6
3785 fi
3786
3787
3788 enablestring=
3789 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3790 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3791 no_cache=0
3792 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3793 if test "${enable_debug_cntxt+set}" = set; then
3794 enableval="$enable_debug_cntxt"
3795
3796 if test "$enableval" = yes; then
3797 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3798 else
3799 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3800 fi
3801
3802 else
3803
3804 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3805 if test "x$LINE" != x ; then
3806 eval "DEFAULT_$LINE"
3807 else
3808 no_cache=1
3809 fi
3810
3811 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3812
3813 fi;
3814
3815 eval "$ac_cv_use_debug_cntxt"
3816 if test "$no_cache" != 1; then
3817 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3818 fi
3819
3820 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3821 echo "$as_me:$LINENO: result: yes" >&5
3822 echo "${ECHO_T}yes" >&6
3823 else
3824 echo "$as_me:$LINENO: result: no" >&5
3825 echo "${ECHO_T}no" >&6
3826 fi
3827
3828
3829 enablestring=
3830 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3831 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3832 no_cache=0
3833 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3834 if test "${enable_mem_tracing+set}" = set; then
3835 enableval="$enable_mem_tracing"
3836
3837 if test "$enableval" = yes; then
3838 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3839 else
3840 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3841 fi
3842
3843 else
3844
3845 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3846 if test "x$LINE" != x ; then
3847 eval "DEFAULT_$LINE"
3848 else
3849 no_cache=1
3850 fi
3851
3852 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3853
3854 fi;
3855
3856 eval "$ac_cv_use_mem_tracing"
3857 if test "$no_cache" != 1; then
3858 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3859 fi
3860
3861 if test "$wxUSE_MEM_TRACING" = yes; then
3862 echo "$as_me:$LINENO: result: yes" >&5
3863 echo "${ECHO_T}yes" >&6
3864 else
3865 echo "$as_me:$LINENO: result: no" >&5
3866 echo "${ECHO_T}no" >&6
3867 fi
3868
3869
3870 enablestring=
3871 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3872 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3873 no_cache=0
3874 # Check whether --enable-profile or --disable-profile was given.
3875 if test "${enable_profile+set}" = set; then
3876 enableval="$enable_profile"
3877
3878 if test "$enableval" = yes; then
3879 ac_cv_use_profile='wxUSE_PROFILE=yes'
3880 else
3881 ac_cv_use_profile='wxUSE_PROFILE=no'
3882 fi
3883
3884 else
3885
3886 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3887 if test "x$LINE" != x ; then
3888 eval "DEFAULT_$LINE"
3889 else
3890 no_cache=1
3891 fi
3892
3893 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3894
3895 fi;
3896
3897 eval "$ac_cv_use_profile"
3898 if test "$no_cache" != 1; then
3899 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3900 fi
3901
3902 if test "$wxUSE_PROFILE" = yes; then
3903 echo "$as_me:$LINENO: result: yes" >&5
3904 echo "${ECHO_T}yes" >&6
3905 else
3906 echo "$as_me:$LINENO: result: no" >&5
3907 echo "${ECHO_T}no" >&6
3908 fi
3909
3910
3911 enablestring=
3912 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3913 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3914 no_cache=0
3915 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3916 if test "${enable_no_rtti+set}" = set; then
3917 enableval="$enable_no_rtti"
3918
3919 if test "$enableval" = yes; then
3920 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3921 else
3922 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3923 fi
3924
3925 else
3926
3927 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3928 if test "x$LINE" != x ; then
3929 eval "DEFAULT_$LINE"
3930 else
3931 no_cache=1
3932 fi
3933
3934 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3935
3936 fi;
3937
3938 eval "$ac_cv_use_no_rtti"
3939 if test "$no_cache" != 1; then
3940 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3941 fi
3942
3943 if test "$wxUSE_NO_RTTI" = yes; then
3944 echo "$as_me:$LINENO: result: yes" >&5
3945 echo "${ECHO_T}yes" >&6
3946 else
3947 echo "$as_me:$LINENO: result: no" >&5
3948 echo "${ECHO_T}no" >&6
3949 fi
3950
3951
3952 enablestring=
3953 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3954 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3955 no_cache=0
3956 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3957 if test "${enable_no_exceptions+set}" = set; then
3958 enableval="$enable_no_exceptions"
3959
3960 if test "$enableval" = yes; then
3961 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3962 else
3963 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3964 fi
3965
3966 else
3967
3968 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3969 if test "x$LINE" != x ; then
3970 eval "DEFAULT_$LINE"
3971 else
3972 no_cache=1
3973 fi
3974
3975 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3976
3977 fi;
3978
3979 eval "$ac_cv_use_no_exceptions"
3980 if test "$no_cache" != 1; then
3981 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3982 fi
3983
3984 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3985 echo "$as_me:$LINENO: result: yes" >&5
3986 echo "${ECHO_T}yes" >&6
3987 else
3988 echo "$as_me:$LINENO: result: no" >&5
3989 echo "${ECHO_T}no" >&6
3990 fi
3991
3992
3993 enablestring=
3994 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3995 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3996 no_cache=0
3997 # Check whether --enable-permissive or --disable-permissive was given.
3998 if test "${enable_permissive+set}" = set; then
3999 enableval="$enable_permissive"
4000
4001 if test "$enableval" = yes; then
4002 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4003 else
4004 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4005 fi
4006
4007 else
4008
4009 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4010 if test "x$LINE" != x ; then
4011 eval "DEFAULT_$LINE"
4012 else
4013 no_cache=1
4014 fi
4015
4016 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4017
4018 fi;
4019
4020 eval "$ac_cv_use_permissive"
4021 if test "$no_cache" != 1; then
4022 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4023 fi
4024
4025 if test "$wxUSE_PERMISSIVE" = yes; then
4026 echo "$as_me:$LINENO: result: yes" >&5
4027 echo "${ECHO_T}yes" >&6
4028 else
4029 echo "$as_me:$LINENO: result: no" >&5
4030 echo "${ECHO_T}no" >&6
4031 fi
4032
4033
4034 enablestring=
4035 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4036 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4037 no_cache=0
4038 # Check whether --enable-no_deps or --disable-no_deps was given.
4039 if test "${enable_no_deps+set}" = set; then
4040 enableval="$enable_no_deps"
4041
4042 if test "$enableval" = yes; then
4043 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4044 else
4045 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4046 fi
4047
4048 else
4049
4050 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4051 if test "x$LINE" != x ; then
4052 eval "DEFAULT_$LINE"
4053 else
4054 no_cache=1
4055 fi
4056
4057 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4058
4059 fi;
4060
4061 eval "$ac_cv_use_no_deps"
4062 if test "$no_cache" != 1; then
4063 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4064 fi
4065
4066 if test "$wxUSE_NO_DEPS" = yes; then
4067 echo "$as_me:$LINENO: result: yes" >&5
4068 echo "${ECHO_T}yes" >&6
4069 else
4070 echo "$as_me:$LINENO: result: no" >&5
4071 echo "${ECHO_T}no" >&6
4072 fi
4073
4074
4075
4076 enablestring=
4077 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4078 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4079 no_cache=0
4080 # Check whether --enable-compat22 or --disable-compat22 was given.
4081 if test "${enable_compat22+set}" = set; then
4082 enableval="$enable_compat22"
4083
4084 if test "$enableval" = yes; then
4085 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
4086 else
4087 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
4088 fi
4089
4090 else
4091
4092 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4093 if test "x$LINE" != x ; then
4094 eval "DEFAULT_$LINE"
4095 else
4096 no_cache=1
4097 fi
4098
4099 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4100
4101 fi;
4102
4103 eval "$ac_cv_use_compat22"
4104 if test "$no_cache" != 1; then
4105 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4106 fi
4107
4108 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4109 echo "$as_me:$LINENO: result: yes" >&5
4110 echo "${ECHO_T}yes" >&6
4111 else
4112 echo "$as_me:$LINENO: result: no" >&5
4113 echo "${ECHO_T}no" >&6
4114 fi
4115
4116
4117 enablestring=disable
4118 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4119 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4120 no_cache=0
4121 # Check whether --enable-compat24 or --disable-compat24 was given.
4122 if test "${enable_compat24+set}" = set; then
4123 enableval="$enable_compat24"
4124
4125 if test "$enableval" = yes; then
4126 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4127 else
4128 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4129 fi
4130
4131 else
4132
4133 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4134 if test "x$LINE" != x ; then
4135 eval "DEFAULT_$LINE"
4136 else
4137 no_cache=1
4138 fi
4139
4140 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4141
4142 fi;
4143
4144 eval "$ac_cv_use_compat24"
4145 if test "$no_cache" != 1; then
4146 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4147 fi
4148
4149 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4150 echo "$as_me:$LINENO: result: yes" >&5
4151 echo "${ECHO_T}yes" >&6
4152 else
4153 echo "$as_me:$LINENO: result: no" >&5
4154 echo "${ECHO_T}no" >&6
4155 fi
4156
4157
4158
4159 enablestring=
4160 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4161 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4162 no_cache=0
4163 # Check whether --enable-rpath or --disable-rpath was given.
4164 if test "${enable_rpath+set}" = set; then
4165 enableval="$enable_rpath"
4166
4167 if test "$enableval" = yes; then
4168 ac_cv_use_rpath='wxUSE_RPATH=yes'
4169 else
4170 ac_cv_use_rpath='wxUSE_RPATH=no'
4171 fi
4172
4173 else
4174
4175 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4176 if test "x$LINE" != x ; then
4177 eval "DEFAULT_$LINE"
4178 else
4179 no_cache=1
4180 fi
4181
4182 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4183
4184 fi;
4185
4186 eval "$ac_cv_use_rpath"
4187 if test "$no_cache" != 1; then
4188 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4189 fi
4190
4191 if test "$wxUSE_RPATH" = yes; then
4192 echo "$as_me:$LINENO: result: yes" >&5
4193 echo "${ECHO_T}yes" >&6
4194 else
4195 echo "$as_me:$LINENO: result: no" >&5
4196 echo "${ECHO_T}no" >&6
4197 fi
4198
4199
4200
4201
4202
4203 enablestring=
4204 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4205 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4206 no_cache=0
4207 # Check whether --enable-intl or --disable-intl was given.
4208 if test "${enable_intl+set}" = set; then
4209 enableval="$enable_intl"
4210
4211 if test "$enableval" = yes; then
4212 ac_cv_use_intl='wxUSE_INTL=yes'
4213 else
4214 ac_cv_use_intl='wxUSE_INTL=no'
4215 fi
4216
4217 else
4218
4219 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4220 if test "x$LINE" != x ; then
4221 eval "DEFAULT_$LINE"
4222 else
4223 no_cache=1
4224 fi
4225
4226 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4227
4228 fi;
4229
4230 eval "$ac_cv_use_intl"
4231 if test "$no_cache" != 1; then
4232 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4233 fi
4234
4235 if test "$wxUSE_INTL" = yes; then
4236 echo "$as_me:$LINENO: result: yes" >&5
4237 echo "${ECHO_T}yes" >&6
4238 else
4239 echo "$as_me:$LINENO: result: no" >&5
4240 echo "${ECHO_T}no" >&6
4241 fi
4242
4243
4244 enablestring=
4245 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4246 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4247 no_cache=0
4248 # Check whether --enable-config or --disable-config was given.
4249 if test "${enable_config+set}" = set; then
4250 enableval="$enable_config"
4251
4252 if test "$enableval" = yes; then
4253 ac_cv_use_config='wxUSE_CONFIG=yes'
4254 else
4255 ac_cv_use_config='wxUSE_CONFIG=no'
4256 fi
4257
4258 else
4259
4260 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4261 if test "x$LINE" != x ; then
4262 eval "DEFAULT_$LINE"
4263 else
4264 no_cache=1
4265 fi
4266
4267 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4268
4269 fi;
4270
4271 eval "$ac_cv_use_config"
4272 if test "$no_cache" != 1; then
4273 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4274 fi
4275
4276 if test "$wxUSE_CONFIG" = yes; then
4277 echo "$as_me:$LINENO: result: yes" >&5
4278 echo "${ECHO_T}yes" >&6
4279 else
4280 echo "$as_me:$LINENO: result: no" >&5
4281 echo "${ECHO_T}no" >&6
4282 fi
4283
4284
4285
4286 enablestring=
4287 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4288 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4289 no_cache=0
4290 # Check whether --enable-protocols or --disable-protocols was given.
4291 if test "${enable_protocols+set}" = set; then
4292 enableval="$enable_protocols"
4293
4294 if test "$enableval" = yes; then
4295 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4296 else
4297 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4298 fi
4299
4300 else
4301
4302 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4303 if test "x$LINE" != x ; then
4304 eval "DEFAULT_$LINE"
4305 else
4306 no_cache=1
4307 fi
4308
4309 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4310
4311 fi;
4312
4313 eval "$ac_cv_use_protocols"
4314 if test "$no_cache" != 1; then
4315 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4316 fi
4317
4318 if test "$wxUSE_PROTOCOL" = yes; then
4319 echo "$as_me:$LINENO: result: yes" >&5
4320 echo "${ECHO_T}yes" >&6
4321 else
4322 echo "$as_me:$LINENO: result: no" >&5
4323 echo "${ECHO_T}no" >&6
4324 fi
4325
4326
4327 enablestring=
4328 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4329 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4330 no_cache=0
4331 # Check whether --enable-ftp or --disable-ftp was given.
4332 if test "${enable_ftp+set}" = set; then
4333 enableval="$enable_ftp"
4334
4335 if test "$enableval" = yes; then
4336 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4337 else
4338 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4339 fi
4340
4341 else
4342
4343 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4344 if test "x$LINE" != x ; then
4345 eval "DEFAULT_$LINE"
4346 else
4347 no_cache=1
4348 fi
4349
4350 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4351
4352 fi;
4353
4354 eval "$ac_cv_use_ftp"
4355 if test "$no_cache" != 1; then
4356 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4357 fi
4358
4359 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4360 echo "$as_me:$LINENO: result: yes" >&5
4361 echo "${ECHO_T}yes" >&6
4362 else
4363 echo "$as_me:$LINENO: result: no" >&5
4364 echo "${ECHO_T}no" >&6
4365 fi
4366
4367
4368 enablestring=
4369 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4370 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4371 no_cache=0
4372 # Check whether --enable-http or --disable-http was given.
4373 if test "${enable_http+set}" = set; then
4374 enableval="$enable_http"
4375
4376 if test "$enableval" = yes; then
4377 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4378 else
4379 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4380 fi
4381
4382 else
4383
4384 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4385 if test "x$LINE" != x ; then
4386 eval "DEFAULT_$LINE"
4387 else
4388 no_cache=1
4389 fi
4390
4391 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4392
4393 fi;
4394
4395 eval "$ac_cv_use_http"
4396 if test "$no_cache" != 1; then
4397 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4398 fi
4399
4400 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4401 echo "$as_me:$LINENO: result: yes" >&5
4402 echo "${ECHO_T}yes" >&6
4403 else
4404 echo "$as_me:$LINENO: result: no" >&5
4405 echo "${ECHO_T}no" >&6
4406 fi
4407
4408
4409 enablestring=
4410 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4411 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4412 no_cache=0
4413 # Check whether --enable-fileproto or --disable-fileproto was given.
4414 if test "${enable_fileproto+set}" = set; then
4415 enableval="$enable_fileproto"
4416
4417 if test "$enableval" = yes; then
4418 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4419 else
4420 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4421 fi
4422
4423 else
4424
4425 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4426 if test "x$LINE" != x ; then
4427 eval "DEFAULT_$LINE"
4428 else
4429 no_cache=1
4430 fi
4431
4432 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4433
4434 fi;
4435
4436 eval "$ac_cv_use_fileproto"
4437 if test "$no_cache" != 1; then
4438 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4439 fi
4440
4441 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4442 echo "$as_me:$LINENO: result: yes" >&5
4443 echo "${ECHO_T}yes" >&6
4444 else
4445 echo "$as_me:$LINENO: result: no" >&5
4446 echo "${ECHO_T}no" >&6
4447 fi
4448
4449
4450 enablestring=
4451 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4452 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4453 no_cache=0
4454 # Check whether --enable-sockets or --disable-sockets was given.
4455 if test "${enable_sockets+set}" = set; then
4456 enableval="$enable_sockets"
4457
4458 if test "$enableval" = yes; then
4459 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4460 else
4461 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4462 fi
4463
4464 else
4465
4466 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4467 if test "x$LINE" != x ; then
4468 eval "DEFAULT_$LINE"
4469 else
4470 no_cache=1
4471 fi
4472
4473 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4474
4475 fi;
4476
4477 eval "$ac_cv_use_sockets"
4478 if test "$no_cache" != 1; then
4479 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4480 fi
4481
4482 if test "$wxUSE_SOCKETS" = yes; then
4483 echo "$as_me:$LINENO: result: yes" >&5
4484 echo "${ECHO_T}yes" >&6
4485 else
4486 echo "$as_me:$LINENO: result: no" >&5
4487 echo "${ECHO_T}no" >&6
4488 fi
4489
4490
4491 enablestring=
4492 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4493 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4494 no_cache=0
4495 # Check whether --enable-ole or --disable-ole was given.
4496 if test "${enable_ole+set}" = set; then
4497 enableval="$enable_ole"
4498
4499 if test "$enableval" = yes; then
4500 ac_cv_use_ole='wxUSE_OLE=yes'
4501 else
4502 ac_cv_use_ole='wxUSE_OLE=no'
4503 fi
4504
4505 else
4506
4507 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4508 if test "x$LINE" != x ; then
4509 eval "DEFAULT_$LINE"
4510 else
4511 no_cache=1
4512 fi
4513
4514 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4515
4516 fi;
4517
4518 eval "$ac_cv_use_ole"
4519 if test "$no_cache" != 1; then
4520 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4521 fi
4522
4523 if test "$wxUSE_OLE" = yes; then
4524 echo "$as_me:$LINENO: result: yes" >&5
4525 echo "${ECHO_T}yes" >&6
4526 else
4527 echo "$as_me:$LINENO: result: no" >&5
4528 echo "${ECHO_T}no" >&6
4529 fi
4530
4531
4532 enablestring=
4533 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4534 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4535 no_cache=0
4536 # Check whether --enable-dataobj or --disable-dataobj was given.
4537 if test "${enable_dataobj+set}" = set; then
4538 enableval="$enable_dataobj"
4539
4540 if test "$enableval" = yes; then
4541 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4542 else
4543 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4544 fi
4545
4546 else
4547
4548 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4549 if test "x$LINE" != x ; then
4550 eval "DEFAULT_$LINE"
4551 else
4552 no_cache=1
4553 fi
4554
4555 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4556
4557 fi;
4558
4559 eval "$ac_cv_use_dataobj"
4560 if test "$no_cache" != 1; then
4561 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4562 fi
4563
4564 if test "$wxUSE_DATAOBJ" = yes; then
4565 echo "$as_me:$LINENO: result: yes" >&5
4566 echo "${ECHO_T}yes" >&6
4567 else
4568 echo "$as_me:$LINENO: result: no" >&5
4569 echo "${ECHO_T}no" >&6
4570 fi
4571
4572
4573
4574 enablestring=
4575 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4576 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4577 no_cache=0
4578 # Check whether --enable-ipc or --disable-ipc was given.
4579 if test "${enable_ipc+set}" = set; then
4580 enableval="$enable_ipc"
4581
4582 if test "$enableval" = yes; then
4583 ac_cv_use_ipc='wxUSE_IPC=yes'
4584 else
4585 ac_cv_use_ipc='wxUSE_IPC=no'
4586 fi
4587
4588 else
4589
4590 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4591 if test "x$LINE" != x ; then
4592 eval "DEFAULT_$LINE"
4593 else
4594 no_cache=1
4595 fi
4596
4597 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4598
4599 fi;
4600
4601 eval "$ac_cv_use_ipc"
4602 if test "$no_cache" != 1; then
4603 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4604 fi
4605
4606 if test "$wxUSE_IPC" = yes; then
4607 echo "$as_me:$LINENO: result: yes" >&5
4608 echo "${ECHO_T}yes" >&6
4609 else
4610 echo "$as_me:$LINENO: result: no" >&5
4611 echo "${ECHO_T}no" >&6
4612 fi
4613
4614
4615
4616 enablestring=
4617 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4618 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4619 no_cache=0
4620 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4621 if test "${enable_apple_ieee+set}" = set; then
4622 enableval="$enable_apple_ieee"
4623
4624 if test "$enableval" = yes; then
4625 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4626 else
4627 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4628 fi
4629
4630 else
4631
4632 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4633 if test "x$LINE" != x ; then
4634 eval "DEFAULT_$LINE"
4635 else
4636 no_cache=1
4637 fi
4638
4639 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4640
4641 fi;
4642
4643 eval "$ac_cv_use_apple_ieee"
4644 if test "$no_cache" != 1; then
4645 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4646 fi
4647
4648 if test "$wxUSE_APPLE_IEEE" = yes; then
4649 echo "$as_me:$LINENO: result: yes" >&5
4650 echo "${ECHO_T}yes" >&6
4651 else
4652 echo "$as_me:$LINENO: result: no" >&5
4653 echo "${ECHO_T}no" >&6
4654 fi
4655
4656
4657 enablestring=
4658 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4659 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4660 no_cache=0
4661 # Check whether --enable-arcstream or --disable-arcstream was given.
4662 if test "${enable_arcstream+set}" = set; then
4663 enableval="$enable_arcstream"
4664
4665 if test "$enableval" = yes; then
4666 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
4667 else
4668 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
4669 fi
4670
4671 else
4672
4673 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4674 if test "x$LINE" != x ; then
4675 eval "DEFAULT_$LINE"
4676 else
4677 no_cache=1
4678 fi
4679
4680 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4681
4682 fi;
4683
4684 eval "$ac_cv_use_arcstream"
4685 if test "$no_cache" != 1; then
4686 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4687 fi
4688
4689 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4690 echo "$as_me:$LINENO: result: yes" >&5
4691 echo "${ECHO_T}yes" >&6
4692 else
4693 echo "$as_me:$LINENO: result: no" >&5
4694 echo "${ECHO_T}no" >&6
4695 fi
4696
4697
4698 enablestring=
4699 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4700 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4701 no_cache=0
4702 # Check whether --enable-backtrace or --disable-backtrace was given.
4703 if test "${enable_backtrace+set}" = set; then
4704 enableval="$enable_backtrace"
4705
4706 if test "$enableval" = yes; then
4707 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
4708 else
4709 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
4710 fi
4711
4712 else
4713
4714 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4715 if test "x$LINE" != x ; then
4716 eval "DEFAULT_$LINE"
4717 else
4718 no_cache=1
4719 fi
4720
4721 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4722
4723 fi;
4724
4725 eval "$ac_cv_use_backtrace"
4726 if test "$no_cache" != 1; then
4727 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4728 fi
4729
4730 if test "$wxUSE_STACKWALKER" = yes; then
4731 echo "$as_me:$LINENO: result: yes" >&5
4732 echo "${ECHO_T}yes" >&6
4733 else
4734 echo "$as_me:$LINENO: result: no" >&5
4735 echo "${ECHO_T}no" >&6
4736 fi
4737
4738
4739 enablestring=
4740 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4741 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4742 no_cache=0
4743 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4744 if test "${enable_catch_segvs+set}" = set; then
4745 enableval="$enable_catch_segvs"
4746
4747 if test "$enableval" = yes; then
4748 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4749 else
4750 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4751 fi
4752
4753 else
4754
4755 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4756 if test "x$LINE" != x ; then
4757 eval "DEFAULT_$LINE"
4758 else
4759 no_cache=1
4760 fi
4761
4762 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4763
4764 fi;
4765
4766 eval "$ac_cv_use_catch_segvs"
4767 if test "$no_cache" != 1; then
4768 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4769 fi
4770
4771 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4772 echo "$as_me:$LINENO: result: yes" >&5
4773 echo "${ECHO_T}yes" >&6
4774 else
4775 echo "$as_me:$LINENO: result: no" >&5
4776 echo "${ECHO_T}no" >&6
4777 fi
4778
4779
4780 enablestring=
4781 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4782 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4783 no_cache=0
4784 # Check whether --enable-cmdline or --disable-cmdline was given.
4785 if test "${enable_cmdline+set}" = set; then
4786 enableval="$enable_cmdline"
4787
4788 if test "$enableval" = yes; then
4789 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4790 else
4791 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4792 fi
4793
4794 else
4795
4796 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4797 if test "x$LINE" != x ; then
4798 eval "DEFAULT_$LINE"
4799 else
4800 no_cache=1
4801 fi
4802
4803 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4804
4805 fi;
4806
4807 eval "$ac_cv_use_cmdline"
4808 if test "$no_cache" != 1; then
4809 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4810 fi
4811
4812 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4813 echo "$as_me:$LINENO: result: yes" >&5
4814 echo "${ECHO_T}yes" >&6
4815 else
4816 echo "$as_me:$LINENO: result: no" >&5
4817 echo "${ECHO_T}no" >&6
4818 fi
4819
4820
4821 enablestring=
4822 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4823 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4824 no_cache=0
4825 # Check whether --enable-datetime or --disable-datetime was given.
4826 if test "${enable_datetime+set}" = set; then
4827 enableval="$enable_datetime"
4828
4829 if test "$enableval" = yes; then
4830 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4831 else
4832 ac_cv_use_datetime='wxUSE_DATETIME=no'
4833 fi
4834
4835 else
4836
4837 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4838 if test "x$LINE" != x ; then
4839 eval "DEFAULT_$LINE"
4840 else
4841 no_cache=1
4842 fi
4843
4844 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4845
4846 fi;
4847
4848 eval "$ac_cv_use_datetime"
4849 if test "$no_cache" != 1; then
4850 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4851 fi
4852
4853 if test "$wxUSE_DATETIME" = yes; then
4854 echo "$as_me:$LINENO: result: yes" >&5
4855 echo "${ECHO_T}yes" >&6
4856 else
4857 echo "$as_me:$LINENO: result: no" >&5
4858 echo "${ECHO_T}no" >&6
4859 fi
4860
4861
4862 enablestring=
4863 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
4864 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
4865 no_cache=0
4866 # Check whether --enable-debugreport or --disable-debugreport was given.
4867 if test "${enable_debugreport+set}" = set; then
4868 enableval="$enable_debugreport"
4869
4870 if test "$enableval" = yes; then
4871 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
4872 else
4873 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
4874 fi
4875
4876 else
4877
4878 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
4879 if test "x$LINE" != x ; then
4880 eval "DEFAULT_$LINE"
4881 else
4882 no_cache=1
4883 fi
4884
4885 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
4886
4887 fi;
4888
4889 eval "$ac_cv_use_debugreport"
4890 if test "$no_cache" != 1; then
4891 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
4892 fi
4893
4894 if test "$wxUSE_DEBUGREPORT" = yes; then
4895 echo "$as_me:$LINENO: result: yes" >&5
4896 echo "${ECHO_T}yes" >&6
4897 else
4898 echo "$as_me:$LINENO: result: no" >&5
4899 echo "${ECHO_T}no" >&6
4900 fi
4901
4902
4903 enablestring=
4904 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4905 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4906 no_cache=0
4907 # Check whether --enable-dialupman or --disable-dialupman was given.
4908 if test "${enable_dialupman+set}" = set; then
4909 enableval="$enable_dialupman"
4910
4911 if test "$enableval" = yes; then
4912 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4913 else
4914 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4915 fi
4916
4917 else
4918
4919 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4920 if test "x$LINE" != x ; then
4921 eval "DEFAULT_$LINE"
4922 else
4923 no_cache=1
4924 fi
4925
4926 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4927
4928 fi;
4929
4930 eval "$ac_cv_use_dialupman"
4931 if test "$no_cache" != 1; then
4932 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4933 fi
4934
4935 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4936 echo "$as_me:$LINENO: result: yes" >&5
4937 echo "${ECHO_T}yes" >&6
4938 else
4939 echo "$as_me:$LINENO: result: no" >&5
4940 echo "${ECHO_T}no" >&6
4941 fi
4942
4943
4944 enablestring=
4945 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4946 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4947 no_cache=0
4948 # Check whether --enable-dynlib or --disable-dynlib was given.
4949 if test "${enable_dynlib+set}" = set; then
4950 enableval="$enable_dynlib"
4951
4952 if test "$enableval" = yes; then
4953 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4954 else
4955 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4956 fi
4957
4958 else
4959
4960 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4961 if test "x$LINE" != x ; then
4962 eval "DEFAULT_$LINE"
4963 else
4964 no_cache=1
4965 fi
4966
4967 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4968
4969 fi;
4970
4971 eval "$ac_cv_use_dynlib"
4972 if test "$no_cache" != 1; then
4973 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4974 fi
4975
4976 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4977 echo "$as_me:$LINENO: result: yes" >&5
4978 echo "${ECHO_T}yes" >&6
4979 else
4980 echo "$as_me:$LINENO: result: no" >&5
4981 echo "${ECHO_T}no" >&6
4982 fi
4983
4984
4985 enablestring=
4986 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4987 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4988 no_cache=0
4989 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4990 if test "${enable_dynamicloader+set}" = set; then
4991 enableval="$enable_dynamicloader"
4992
4993 if test "$enableval" = yes; then
4994 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4995 else
4996 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4997 fi
4998
4999 else
5000
5001 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5002 if test "x$LINE" != x ; then
5003 eval "DEFAULT_$LINE"
5004 else
5005 no_cache=1
5006 fi
5007
5008 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5009
5010 fi;
5011
5012 eval "$ac_cv_use_dynamicloader"
5013 if test "$no_cache" != 1; then
5014 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5015 fi
5016
5017 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5018 echo "$as_me:$LINENO: result: yes" >&5
5019 echo "${ECHO_T}yes" >&6
5020 else
5021 echo "$as_me:$LINENO: result: no" >&5
5022 echo "${ECHO_T}no" >&6
5023 fi
5024
5025
5026 enablestring=
5027 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5028 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5029 no_cache=0
5030 # Check whether --enable-exceptions or --disable-exceptions was given.
5031 if test "${enable_exceptions+set}" = set; then
5032 enableval="$enable_exceptions"
5033
5034 if test "$enableval" = yes; then
5035 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
5036 else
5037 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
5038 fi
5039
5040 else
5041
5042 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5043 if test "x$LINE" != x ; then
5044 eval "DEFAULT_$LINE"
5045 else
5046 no_cache=1
5047 fi
5048
5049 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5050
5051 fi;
5052
5053 eval "$ac_cv_use_exceptions"
5054 if test "$no_cache" != 1; then
5055 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5056 fi
5057
5058 if test "$wxUSE_EXCEPTIONS" = yes; then
5059 echo "$as_me:$LINENO: result: yes" >&5
5060 echo "${ECHO_T}yes" >&6
5061 else
5062 echo "$as_me:$LINENO: result: no" >&5
5063 echo "${ECHO_T}no" >&6
5064 fi
5065
5066
5067 enablestring=
5068 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5069 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5070 no_cache=0
5071 # Check whether --enable-ffile or --disable-ffile was given.
5072 if test "${enable_ffile+set}" = set; then
5073 enableval="$enable_ffile"
5074
5075 if test "$enableval" = yes; then
5076 ac_cv_use_ffile='wxUSE_FFILE=yes'
5077 else
5078 ac_cv_use_ffile='wxUSE_FFILE=no'
5079 fi
5080
5081 else
5082
5083 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5084 if test "x$LINE" != x ; then
5085 eval "DEFAULT_$LINE"
5086 else
5087 no_cache=1
5088 fi
5089
5090 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5091
5092 fi;
5093
5094 eval "$ac_cv_use_ffile"
5095 if test "$no_cache" != 1; then
5096 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5097 fi
5098
5099 if test "$wxUSE_FFILE" = yes; then
5100 echo "$as_me:$LINENO: result: yes" >&5
5101 echo "${ECHO_T}yes" >&6
5102 else
5103 echo "$as_me:$LINENO: result: no" >&5
5104 echo "${ECHO_T}no" >&6
5105 fi
5106
5107
5108 enablestring=
5109 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5110 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5111 no_cache=0
5112 # Check whether --enable-file or --disable-file was given.
5113 if test "${enable_file+set}" = set; then
5114 enableval="$enable_file"
5115
5116 if test "$enableval" = yes; then
5117 ac_cv_use_file='wxUSE_FILE=yes'
5118 else
5119 ac_cv_use_file='wxUSE_FILE=no'
5120 fi
5121
5122 else
5123
5124 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5125 if test "x$LINE" != x ; then
5126 eval "DEFAULT_$LINE"
5127 else
5128 no_cache=1
5129 fi
5130
5131 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5132
5133 fi;
5134
5135 eval "$ac_cv_use_file"
5136 if test "$no_cache" != 1; then
5137 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5138 fi
5139
5140 if test "$wxUSE_FILE" = yes; then
5141 echo "$as_me:$LINENO: result: yes" >&5
5142 echo "${ECHO_T}yes" >&6
5143 else
5144 echo "$as_me:$LINENO: result: no" >&5
5145 echo "${ECHO_T}no" >&6
5146 fi
5147
5148
5149 enablestring=
5150 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5151 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5152 no_cache=0
5153 # Check whether --enable-filesystem or --disable-filesystem was given.
5154 if test "${enable_filesystem+set}" = set; then
5155 enableval="$enable_filesystem"
5156
5157 if test "$enableval" = yes; then
5158 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5159 else
5160 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5161 fi
5162
5163 else
5164
5165 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5166 if test "x$LINE" != x ; then
5167 eval "DEFAULT_$LINE"
5168 else
5169 no_cache=1
5170 fi
5171
5172 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5173
5174 fi;
5175
5176 eval "$ac_cv_use_filesystem"
5177 if test "$no_cache" != 1; then
5178 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5179 fi
5180
5181 if test "$wxUSE_FILESYSTEM" = yes; then
5182 echo "$as_me:$LINENO: result: yes" >&5
5183 echo "${ECHO_T}yes" >&6
5184 else
5185 echo "$as_me:$LINENO: result: no" >&5
5186 echo "${ECHO_T}no" >&6
5187 fi
5188
5189
5190 enablestring=
5191 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5192 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5193 no_cache=0
5194 # Check whether --enable-fontmap or --disable-fontmap was given.
5195 if test "${enable_fontmap+set}" = set; then
5196 enableval="$enable_fontmap"
5197
5198 if test "$enableval" = yes; then
5199 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5200 else
5201 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5202 fi
5203
5204 else
5205
5206 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5207 if test "x$LINE" != x ; then
5208 eval "DEFAULT_$LINE"
5209 else
5210 no_cache=1
5211 fi
5212
5213 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5214
5215 fi;
5216
5217 eval "$ac_cv_use_fontmap"
5218 if test "$no_cache" != 1; then
5219 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5220 fi
5221
5222 if test "$wxUSE_FONTMAP" = yes; then
5223 echo "$as_me:$LINENO: result: yes" >&5
5224 echo "${ECHO_T}yes" >&6
5225 else
5226 echo "$as_me:$LINENO: result: no" >&5
5227 echo "${ECHO_T}no" >&6
5228 fi
5229
5230
5231 enablestring=
5232 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5233 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5234 no_cache=0
5235 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5236 if test "${enable_fs_inet+set}" = set; then
5237 enableval="$enable_fs_inet"
5238
5239 if test "$enableval" = yes; then
5240 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5241 else
5242 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5243 fi
5244
5245 else
5246
5247 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5248 if test "x$LINE" != x ; then
5249 eval "DEFAULT_$LINE"
5250 else
5251 no_cache=1
5252 fi
5253
5254 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5255
5256 fi;
5257
5258 eval "$ac_cv_use_fs_inet"
5259 if test "$no_cache" != 1; then
5260 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5261 fi
5262
5263 if test "$wxUSE_FS_INET" = yes; then
5264 echo "$as_me:$LINENO: result: yes" >&5
5265 echo "${ECHO_T}yes" >&6
5266 else
5267 echo "$as_me:$LINENO: result: no" >&5
5268 echo "${ECHO_T}no" >&6
5269 fi
5270
5271
5272 enablestring=
5273 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5274 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5275 no_cache=0
5276 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5277 if test "${enable_fs_zip+set}" = set; then
5278 enableval="$enable_fs_zip"
5279
5280 if test "$enableval" = yes; then
5281 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5282 else
5283 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5284 fi
5285
5286 else
5287
5288 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5289 if test "x$LINE" != x ; then
5290 eval "DEFAULT_$LINE"
5291 else
5292 no_cache=1
5293 fi
5294
5295 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5296
5297 fi;
5298
5299 eval "$ac_cv_use_fs_zip"
5300 if test "$no_cache" != 1; then
5301 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5302 fi
5303
5304 if test "$wxUSE_FS_ZIP" = yes; then
5305 echo "$as_me:$LINENO: result: yes" >&5
5306 echo "${ECHO_T}yes" >&6
5307 else
5308 echo "$as_me:$LINENO: result: no" >&5
5309 echo "${ECHO_T}no" >&6
5310 fi
5311
5312
5313 enablestring=
5314 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5315 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5316 no_cache=0
5317 # Check whether --enable-geometry or --disable-geometry was given.
5318 if test "${enable_geometry+set}" = set; then
5319 enableval="$enable_geometry"
5320
5321 if test "$enableval" = yes; then
5322 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5323 else
5324 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5325 fi
5326
5327 else
5328
5329 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5330 if test "x$LINE" != x ; then
5331 eval "DEFAULT_$LINE"
5332 else
5333 no_cache=1
5334 fi
5335
5336 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5337
5338 fi;
5339
5340 eval "$ac_cv_use_geometry"
5341 if test "$no_cache" != 1; then
5342 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5343 fi
5344
5345 if test "$wxUSE_GEOMETRY" = yes; then
5346 echo "$as_me:$LINENO: result: yes" >&5
5347 echo "${ECHO_T}yes" >&6
5348 else
5349 echo "$as_me:$LINENO: result: no" >&5
5350 echo "${ECHO_T}no" >&6
5351 fi
5352
5353
5354 enablestring=
5355 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5356 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5357 no_cache=0
5358 # Check whether --enable-log or --disable-log was given.
5359 if test "${enable_log+set}" = set; then
5360 enableval="$enable_log"
5361
5362 if test "$enableval" = yes; then
5363 ac_cv_use_log='wxUSE_LOG=yes'
5364 else
5365 ac_cv_use_log='wxUSE_LOG=no'
5366 fi
5367
5368 else
5369
5370 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5371 if test "x$LINE" != x ; then
5372 eval "DEFAULT_$LINE"
5373 else
5374 no_cache=1
5375 fi
5376
5377 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5378
5379 fi;
5380
5381 eval "$ac_cv_use_log"
5382 if test "$no_cache" != 1; then
5383 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5384 fi
5385
5386 if test "$wxUSE_LOG" = yes; then
5387 echo "$as_me:$LINENO: result: yes" >&5
5388 echo "${ECHO_T}yes" >&6
5389 else
5390 echo "$as_me:$LINENO: result: no" >&5
5391 echo "${ECHO_T}no" >&6
5392 fi
5393
5394
5395 enablestring=
5396 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5397 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5398 no_cache=0
5399 # Check whether --enable-longlong or --disable-longlong was given.
5400 if test "${enable_longlong+set}" = set; then
5401 enableval="$enable_longlong"
5402
5403 if test "$enableval" = yes; then
5404 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5405 else
5406 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5407 fi
5408
5409 else
5410
5411 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5412 if test "x$LINE" != x ; then
5413 eval "DEFAULT_$LINE"
5414 else
5415 no_cache=1
5416 fi
5417
5418 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5419
5420 fi;
5421
5422 eval "$ac_cv_use_longlong"
5423 if test "$no_cache" != 1; then
5424 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5425 fi
5426
5427 if test "$wxUSE_LONGLONG" = yes; then
5428 echo "$as_me:$LINENO: result: yes" >&5
5429 echo "${ECHO_T}yes" >&6
5430 else
5431 echo "$as_me:$LINENO: result: no" >&5
5432 echo "${ECHO_T}no" >&6
5433 fi
5434
5435
5436 enablestring=
5437 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5438 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5439 no_cache=0
5440 # Check whether --enable-mimetype or --disable-mimetype was given.
5441 if test "${enable_mimetype+set}" = set; then
5442 enableval="$enable_mimetype"
5443
5444 if test "$enableval" = yes; then
5445 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5446 else
5447 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5448 fi
5449
5450 else
5451
5452 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5453 if test "x$LINE" != x ; then
5454 eval "DEFAULT_$LINE"
5455 else
5456 no_cache=1
5457 fi
5458
5459 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5460
5461 fi;
5462
5463 eval "$ac_cv_use_mimetype"
5464 if test "$no_cache" != 1; then
5465 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5466 fi
5467
5468 if test "$wxUSE_MIMETYPE" = yes; then
5469 echo "$as_me:$LINENO: result: yes" >&5
5470 echo "${ECHO_T}yes" >&6
5471 else
5472 echo "$as_me:$LINENO: result: no" >&5
5473 echo "${ECHO_T}no" >&6
5474 fi
5475
5476
5477 enablestring=
5478 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5479 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5480 no_cache=0
5481 # Check whether --enable-mslu or --disable-mslu was given.
5482 if test "${enable_mslu+set}" = set; then
5483 enableval="$enable_mslu"
5484
5485 if test "$enableval" = yes; then
5486 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5487 else
5488 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5489 fi
5490
5491 else
5492
5493 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5494 if test "x$LINE" != x ; then
5495 eval "DEFAULT_$LINE"
5496 else
5497 no_cache=1
5498 fi
5499
5500 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5501
5502 fi;
5503
5504 eval "$ac_cv_use_mslu"
5505 if test "$no_cache" != 1; then
5506 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5507 fi
5508
5509 if test "$wxUSE_UNICODE_MSLU" = yes; then
5510 echo "$as_me:$LINENO: result: yes" >&5
5511 echo "${ECHO_T}yes" >&6
5512 else
5513 echo "$as_me:$LINENO: result: no" >&5
5514 echo "${ECHO_T}no" >&6
5515 fi
5516
5517
5518 enablestring=
5519 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5520 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5521 no_cache=0
5522 # Check whether --enable-snglinst or --disable-snglinst was given.
5523 if test "${enable_snglinst+set}" = set; then
5524 enableval="$enable_snglinst"
5525
5526 if test "$enableval" = yes; then
5527 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5528 else
5529 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5530 fi
5531
5532 else
5533
5534 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5535 if test "x$LINE" != x ; then
5536 eval "DEFAULT_$LINE"
5537 else
5538 no_cache=1
5539 fi
5540
5541 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5542
5543 fi;
5544
5545 eval "$ac_cv_use_snglinst"
5546 if test "$no_cache" != 1; then
5547 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5548 fi
5549
5550 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5551 echo "$as_me:$LINENO: result: yes" >&5
5552 echo "${ECHO_T}yes" >&6
5553 else
5554 echo "$as_me:$LINENO: result: no" >&5
5555 echo "${ECHO_T}no" >&6
5556 fi
5557
5558
5559 enablestring=
5560 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5561 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5562 no_cache=0
5563 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5564 if test "${enable_std_iostreams+set}" = set; then
5565 enableval="$enable_std_iostreams"
5566
5567 if test "$enableval" = yes; then
5568 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5569 else
5570 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5571 fi
5572
5573 else
5574
5575 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5576 if test "x$LINE" != x ; then
5577 eval "DEFAULT_$LINE"
5578 else
5579 no_cache=1
5580 fi
5581
5582 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5583
5584 fi;
5585
5586 eval "$ac_cv_use_std_iostreams"
5587 if test "$no_cache" != 1; then
5588 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5589 fi
5590
5591 if test "$wxUSE_STD_IOSTREAM" = yes; then
5592 echo "$as_me:$LINENO: result: yes" >&5
5593 echo "${ECHO_T}yes" >&6
5594 else
5595 echo "$as_me:$LINENO: result: no" >&5
5596 echo "${ECHO_T}no" >&6
5597 fi
5598
5599
5600 enablestring=
5601 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5602 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5603 no_cache=0
5604 # Check whether --enable-std_string or --disable-std_string was given.
5605 if test "${enable_std_string+set}" = set; then
5606 enableval="$enable_std_string"
5607
5608 if test "$enableval" = yes; then
5609 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
5610 else
5611 ac_cv_use_std_string='wxUSE_STD_STRING=no'
5612 fi
5613
5614 else
5615
5616 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5617 if test "x$LINE" != x ; then
5618 eval "DEFAULT_$LINE"
5619 else
5620 no_cache=1
5621 fi
5622
5623 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5624
5625 fi;
5626
5627 eval "$ac_cv_use_std_string"
5628 if test "$no_cache" != 1; then
5629 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5630 fi
5631
5632 if test "$wxUSE_STD_STRING" = yes; then
5633 echo "$as_me:$LINENO: result: yes" >&5
5634 echo "${ECHO_T}yes" >&6
5635 else
5636 echo "$as_me:$LINENO: result: no" >&5
5637 echo "${ECHO_T}no" >&6
5638 fi
5639
5640
5641 enablestring=
5642 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5643 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5644 no_cache=0
5645 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5646 if test "${enable_stdpaths+set}" = set; then
5647 enableval="$enable_stdpaths"
5648
5649 if test "$enableval" = yes; then
5650 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
5651 else
5652 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
5653 fi
5654
5655 else
5656
5657 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5658 if test "x$LINE" != x ; then
5659 eval "DEFAULT_$LINE"
5660 else
5661 no_cache=1
5662 fi
5663
5664 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5665
5666 fi;
5667
5668 eval "$ac_cv_use_stdpaths"
5669 if test "$no_cache" != 1; then
5670 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5671 fi
5672
5673 if test "$wxUSE_STDPATHS" = yes; then
5674 echo "$as_me:$LINENO: result: yes" >&5
5675 echo "${ECHO_T}yes" >&6
5676 else
5677 echo "$as_me:$LINENO: result: no" >&5
5678 echo "${ECHO_T}no" >&6
5679 fi
5680
5681
5682 enablestring=
5683 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5684 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5685 no_cache=0
5686 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5687 if test "${enable_stopwatch+set}" = set; then
5688 enableval="$enable_stopwatch"
5689
5690 if test "$enableval" = yes; then
5691 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5692 else
5693 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5694 fi
5695
5696 else
5697
5698 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5699 if test "x$LINE" != x ; then
5700 eval "DEFAULT_$LINE"
5701 else
5702 no_cache=1
5703 fi
5704
5705 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5706
5707 fi;
5708
5709 eval "$ac_cv_use_stopwatch"
5710 if test "$no_cache" != 1; then
5711 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5712 fi
5713
5714 if test "$wxUSE_STOPWATCH" = yes; then
5715 echo "$as_me:$LINENO: result: yes" >&5
5716 echo "${ECHO_T}yes" >&6
5717 else
5718 echo "$as_me:$LINENO: result: no" >&5
5719 echo "${ECHO_T}no" >&6
5720 fi
5721
5722
5723 enablestring=
5724 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5725 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5726 no_cache=0
5727 # Check whether --enable-streams or --disable-streams was given.
5728 if test "${enable_streams+set}" = set; then
5729 enableval="$enable_streams"
5730
5731 if test "$enableval" = yes; then
5732 ac_cv_use_streams='wxUSE_STREAMS=yes'
5733 else
5734 ac_cv_use_streams='wxUSE_STREAMS=no'
5735 fi
5736
5737 else
5738
5739 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5740 if test "x$LINE" != x ; then
5741 eval "DEFAULT_$LINE"
5742 else
5743 no_cache=1
5744 fi
5745
5746 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5747
5748 fi;
5749
5750 eval "$ac_cv_use_streams"
5751 if test "$no_cache" != 1; then
5752 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5753 fi
5754
5755 if test "$wxUSE_STREAMS" = yes; then
5756 echo "$as_me:$LINENO: result: yes" >&5
5757 echo "${ECHO_T}yes" >&6
5758 else
5759 echo "$as_me:$LINENO: result: no" >&5
5760 echo "${ECHO_T}no" >&6
5761 fi
5762
5763
5764 enablestring=
5765 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5766 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5767 no_cache=0
5768 # Check whether --enable-system_options or --disable-system_options was given.
5769 if test "${enable_system_options+set}" = set; then
5770 enableval="$enable_system_options"
5771
5772 if test "$enableval" = yes; then
5773 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5774 else
5775 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5776 fi
5777
5778 else
5779
5780 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5781 if test "x$LINE" != x ; then
5782 eval "DEFAULT_$LINE"
5783 else
5784 no_cache=1
5785 fi
5786
5787 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5788
5789 fi;
5790
5791 eval "$ac_cv_use_system_options"
5792 if test "$no_cache" != 1; then
5793 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5794 fi
5795
5796 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5797 echo "$as_me:$LINENO: result: yes" >&5
5798 echo "${ECHO_T}yes" >&6
5799 else
5800 echo "$as_me:$LINENO: result: no" >&5
5801 echo "${ECHO_T}no" >&6
5802 fi
5803
5804
5805 enablestring=
5806 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5807 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5808 no_cache=0
5809 # Check whether --enable-textbuf or --disable-textbuf was given.
5810 if test "${enable_textbuf+set}" = set; then
5811 enableval="$enable_textbuf"
5812
5813 if test "$enableval" = yes; then
5814 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
5815 else
5816 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
5817 fi
5818
5819 else
5820
5821 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5822 if test "x$LINE" != x ; then
5823 eval "DEFAULT_$LINE"
5824 else
5825 no_cache=1
5826 fi
5827
5828 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5829
5830 fi;
5831
5832 eval "$ac_cv_use_textbuf"
5833 if test "$no_cache" != 1; then
5834 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5835 fi
5836
5837 if test "$wxUSE_TEXTBUFFER" = yes; then
5838 echo "$as_me:$LINENO: result: yes" >&5
5839 echo "${ECHO_T}yes" >&6
5840 else
5841 echo "$as_me:$LINENO: result: no" >&5
5842 echo "${ECHO_T}no" >&6
5843 fi
5844
5845
5846 enablestring=
5847 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5848 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5849 no_cache=0
5850 # Check whether --enable-textfile or --disable-textfile was given.
5851 if test "${enable_textfile+set}" = set; then
5852 enableval="$enable_textfile"
5853
5854 if test "$enableval" = yes; then
5855 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
5856 else
5857 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
5858 fi
5859
5860 else
5861
5862 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5863 if test "x$LINE" != x ; then
5864 eval "DEFAULT_$LINE"
5865 else
5866 no_cache=1
5867 fi
5868
5869 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5870
5871 fi;
5872
5873 eval "$ac_cv_use_textfile"
5874 if test "$no_cache" != 1; then
5875 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5876 fi
5877
5878 if test "$wxUSE_TEXTFILE" = yes; then
5879 echo "$as_me:$LINENO: result: yes" >&5
5880 echo "${ECHO_T}yes" >&6
5881 else
5882 echo "$as_me:$LINENO: result: no" >&5
5883 echo "${ECHO_T}no" >&6
5884 fi
5885
5886
5887 enablestring=
5888 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5889 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5890 no_cache=0
5891 # Check whether --enable-timer or --disable-timer was given.
5892 if test "${enable_timer+set}" = set; then
5893 enableval="$enable_timer"
5894
5895 if test "$enableval" = yes; then
5896 ac_cv_use_timer='wxUSE_TIMER=yes'
5897 else
5898 ac_cv_use_timer='wxUSE_TIMER=no'
5899 fi
5900
5901 else
5902
5903 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5904 if test "x$LINE" != x ; then
5905 eval "DEFAULT_$LINE"
5906 else
5907 no_cache=1
5908 fi
5909
5910 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5911
5912 fi;
5913
5914 eval "$ac_cv_use_timer"
5915 if test "$no_cache" != 1; then
5916 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5917 fi
5918
5919 if test "$wxUSE_TIMER" = yes; then
5920 echo "$as_me:$LINENO: result: yes" >&5
5921 echo "${ECHO_T}yes" >&6
5922 else
5923 echo "$as_me:$LINENO: result: no" >&5
5924 echo "${ECHO_T}no" >&6
5925 fi
5926
5927
5928 enablestring=
5929 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5930 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5931 no_cache=0
5932 # Check whether --enable-unicode or --disable-unicode was given.
5933 if test "${enable_unicode+set}" = set; then
5934 enableval="$enable_unicode"
5935
5936 if test "$enableval" = yes; then
5937 ac_cv_use_unicode='wxUSE_UNICODE=yes'
5938 else
5939 ac_cv_use_unicode='wxUSE_UNICODE=no'
5940 fi
5941
5942 else
5943
5944 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5945 if test "x$LINE" != x ; then
5946 eval "DEFAULT_$LINE"
5947 else
5948 no_cache=1
5949 fi
5950
5951 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5952
5953 fi;
5954
5955 eval "$ac_cv_use_unicode"
5956 if test "$no_cache" != 1; then
5957 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5958 fi
5959
5960 if test "$wxUSE_UNICODE" = yes; then
5961 echo "$as_me:$LINENO: result: yes" >&5
5962 echo "${ECHO_T}yes" >&6
5963 else
5964 echo "$as_me:$LINENO: result: no" >&5
5965 echo "${ECHO_T}no" >&6
5966 fi
5967
5968
5969 enablestring=
5970 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5971 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5972 no_cache=0
5973 # Check whether --enable-sound or --disable-sound was given.
5974 if test "${enable_sound+set}" = set; then
5975 enableval="$enable_sound"
5976
5977 if test "$enableval" = yes; then
5978 ac_cv_use_sound='wxUSE_SOUND=yes'
5979 else
5980 ac_cv_use_sound='wxUSE_SOUND=no'
5981 fi
5982
5983 else
5984
5985 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5986 if test "x$LINE" != x ; then
5987 eval "DEFAULT_$LINE"
5988 else
5989 no_cache=1
5990 fi
5991
5992 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5993
5994 fi;
5995
5996 eval "$ac_cv_use_sound"
5997 if test "$no_cache" != 1; then
5998 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5999 fi
6000
6001 if test "$wxUSE_SOUND" = yes; then
6002 echo "$as_me:$LINENO: result: yes" >&5
6003 echo "${ECHO_T}yes" >&6
6004 else
6005 echo "$as_me:$LINENO: result: no" >&5
6006 echo "${ECHO_T}no" >&6
6007 fi
6008
6009
6010 enablestring=
6011 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6012 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6013 no_cache=0
6014 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6015 if test "${enable_mediactrl+set}" = set; then
6016 enableval="$enable_mediactrl"
6017
6018 if test "$enableval" = yes; then
6019 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
6020 else
6021 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
6022 fi
6023
6024 else
6025
6026 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6027 if test "x$LINE" != x ; then
6028 eval "DEFAULT_$LINE"
6029 else
6030 no_cache=1
6031 fi
6032
6033 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6034
6035 fi;
6036
6037 eval "$ac_cv_use_mediactrl"
6038 if test "$no_cache" != 1; then
6039 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6040 fi
6041
6042 if test "$wxUSE_MEDIACTRL" = yes; then
6043 echo "$as_me:$LINENO: result: yes" >&5
6044 echo "${ECHO_T}yes" >&6
6045 else
6046 echo "$as_me:$LINENO: result: no" >&5
6047 echo "${ECHO_T}no" >&6
6048 fi
6049
6050
6051 enablestring=
6052 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
6053 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
6054 no_cache=0
6055 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
6056 if test "${enable_wxprintfv+set}" = set; then
6057 enableval="$enable_wxprintfv"
6058
6059 if test "$enableval" = yes; then
6060 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
6061 else
6062 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
6063 fi
6064
6065 else
6066
6067 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
6068 if test "x$LINE" != x ; then
6069 eval "DEFAULT_$LINE"
6070 else
6071 no_cache=1
6072 fi
6073
6074 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
6075
6076 fi;
6077
6078 eval "$ac_cv_use_wxprintfv"
6079 if test "$no_cache" != 1; then
6080 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
6081 fi
6082
6083 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
6084 echo "$as_me:$LINENO: result: yes" >&5
6085 echo "${ECHO_T}yes" >&6
6086 else
6087 echo "$as_me:$LINENO: result: no" >&5
6088 echo "${ECHO_T}no" >&6
6089 fi
6090
6091
6092 enablestring=
6093 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6094 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6095 no_cache=0
6096 # Check whether --enable-zipstream or --disable-zipstream was given.
6097 if test "${enable_zipstream+set}" = set; then
6098 enableval="$enable_zipstream"
6099
6100 if test "$enableval" = yes; then
6101 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
6102 else
6103 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
6104 fi
6105
6106 else
6107
6108 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6109 if test "x$LINE" != x ; then
6110 eval "DEFAULT_$LINE"
6111 else
6112 no_cache=1
6113 fi
6114
6115 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6116
6117 fi;
6118
6119 eval "$ac_cv_use_zipstream"
6120 if test "$no_cache" != 1; then
6121 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6122 fi
6123
6124 if test "$wxUSE_ZIPSTREAM" = yes; then
6125 echo "$as_me:$LINENO: result: yes" >&5
6126 echo "${ECHO_T}yes" >&6
6127 else
6128 echo "$as_me:$LINENO: result: no" >&5
6129 echo "${ECHO_T}no" >&6
6130 fi
6131
6132
6133
6134 enablestring=
6135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6136 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6137 no_cache=0
6138 # Check whether --enable-url or --disable-url was given.
6139 if test "${enable_url+set}" = set; then
6140 enableval="$enable_url"
6141
6142 if test "$enableval" = yes; then
6143 ac_cv_use_url='wxUSE_URL=yes'
6144 else
6145 ac_cv_use_url='wxUSE_URL=no'
6146 fi
6147
6148 else
6149
6150 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6151 if test "x$LINE" != x ; then
6152 eval "DEFAULT_$LINE"
6153 else
6154 no_cache=1
6155 fi
6156
6157 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6158
6159 fi;
6160
6161 eval "$ac_cv_use_url"
6162 if test "$no_cache" != 1; then
6163 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6164 fi
6165
6166 if test "$wxUSE_URL" = yes; then
6167 echo "$as_me:$LINENO: result: yes" >&5
6168 echo "${ECHO_T}yes" >&6
6169 else
6170 echo "$as_me:$LINENO: result: no" >&5
6171 echo "${ECHO_T}no" >&6
6172 fi
6173
6174
6175 enablestring=
6176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6177 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6178 no_cache=0
6179 # Check whether --enable-protocol or --disable-protocol was given.
6180 if test "${enable_protocol+set}" = set; then
6181 enableval="$enable_protocol"
6182
6183 if test "$enableval" = yes; then
6184 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6185 else
6186 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6187 fi
6188
6189 else
6190
6191 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6192 if test "x$LINE" != x ; then
6193 eval "DEFAULT_$LINE"
6194 else
6195 no_cache=1
6196 fi
6197
6198 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6199
6200 fi;
6201
6202 eval "$ac_cv_use_protocol"
6203 if test "$no_cache" != 1; then
6204 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6205 fi
6206
6207 if test "$wxUSE_PROTOCOL" = yes; then
6208 echo "$as_me:$LINENO: result: yes" >&5
6209 echo "${ECHO_T}yes" >&6
6210 else
6211 echo "$as_me:$LINENO: result: no" >&5
6212 echo "${ECHO_T}no" >&6
6213 fi
6214
6215
6216 enablestring=
6217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6218 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6219 no_cache=0
6220 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6221 if test "${enable_protocol_http+set}" = set; then
6222 enableval="$enable_protocol_http"
6223
6224 if test "$enableval" = yes; then
6225 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6226 else
6227 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6228 fi
6229
6230 else
6231
6232 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6233 if test "x$LINE" != x ; then
6234 eval "DEFAULT_$LINE"
6235 else
6236 no_cache=1
6237 fi
6238
6239 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6240
6241 fi;
6242
6243 eval "$ac_cv_use_protocol_http"
6244 if test "$no_cache" != 1; then
6245 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6246 fi
6247
6248 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6249 echo "$as_me:$LINENO: result: yes" >&5
6250 echo "${ECHO_T}yes" >&6
6251 else
6252 echo "$as_me:$LINENO: result: no" >&5
6253 echo "${ECHO_T}no" >&6
6254 fi
6255
6256
6257 enablestring=
6258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6259 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6260 no_cache=0
6261 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6262 if test "${enable_protocol_ftp+set}" = set; then
6263 enableval="$enable_protocol_ftp"
6264
6265 if test "$enableval" = yes; then
6266 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6267 else
6268 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6269 fi
6270
6271 else
6272
6273 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6274 if test "x$LINE" != x ; then
6275 eval "DEFAULT_$LINE"
6276 else
6277 no_cache=1
6278 fi
6279
6280 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6281
6282 fi;
6283
6284 eval "$ac_cv_use_protocol_ftp"
6285 if test "$no_cache" != 1; then
6286 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6287 fi
6288
6289 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6290 echo "$as_me:$LINENO: result: yes" >&5
6291 echo "${ECHO_T}yes" >&6
6292 else
6293 echo "$as_me:$LINENO: result: no" >&5
6294 echo "${ECHO_T}no" >&6
6295 fi
6296
6297
6298 enablestring=
6299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6300 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6301 no_cache=0
6302 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6303 if test "${enable_protocol_file+set}" = set; then
6304 enableval="$enable_protocol_file"
6305
6306 if test "$enableval" = yes; then
6307 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6308 else
6309 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6310 fi
6311
6312 else
6313
6314 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6315 if test "x$LINE" != x ; then
6316 eval "DEFAULT_$LINE"
6317 else
6318 no_cache=1
6319 fi
6320
6321 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6322
6323 fi;
6324
6325 eval "$ac_cv_use_protocol_file"
6326 if test "$no_cache" != 1; then
6327 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6328 fi
6329
6330 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6331 echo "$as_me:$LINENO: result: yes" >&5
6332 echo "${ECHO_T}yes" >&6
6333 else
6334 echo "$as_me:$LINENO: result: no" >&5
6335 echo "${ECHO_T}no" >&6
6336 fi
6337
6338
6339
6340
6341
6342 enablestring=
6343 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6344 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6345 no_cache=0
6346 # Check whether --enable-threads or --disable-threads was given.
6347 if test "${enable_threads+set}" = set; then
6348 enableval="$enable_threads"
6349
6350 if test "$enableval" = yes; then
6351 ac_cv_use_threads='wxUSE_THREADS=yes'
6352 else
6353 ac_cv_use_threads='wxUSE_THREADS=no'
6354 fi
6355
6356 else
6357
6358 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6359 if test "x$LINE" != x ; then
6360 eval "DEFAULT_$LINE"
6361 else
6362 no_cache=1
6363 fi
6364
6365 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6366
6367 fi;
6368
6369 eval "$ac_cv_use_threads"
6370 if test "$no_cache" != 1; then
6371 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6372 fi
6373
6374 if test "$wxUSE_THREADS" = yes; then
6375 echo "$as_me:$LINENO: result: yes" >&5
6376 echo "${ECHO_T}yes" >&6
6377 else
6378 echo "$as_me:$LINENO: result: no" >&5
6379 echo "${ECHO_T}no" >&6
6380 fi
6381
6382
6383 if test "$wxUSE_GUI" = "yes"; then
6384
6385
6386
6387 enablestring=
6388 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6389 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6390 no_cache=0
6391 # Check whether --enable-docview or --disable-docview was given.
6392 if test "${enable_docview+set}" = set; then
6393 enableval="$enable_docview"
6394
6395 if test "$enableval" = yes; then
6396 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6397 else
6398 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6399 fi
6400
6401 else
6402
6403 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6404 if test "x$LINE" != x ; then
6405 eval "DEFAULT_$LINE"
6406 else
6407 no_cache=1
6408 fi
6409
6410 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6411
6412 fi;
6413
6414 eval "$ac_cv_use_docview"
6415 if test "$no_cache" != 1; then
6416 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6417 fi
6418
6419 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6420 echo "$as_me:$LINENO: result: yes" >&5
6421 echo "${ECHO_T}yes" >&6
6422 else
6423 echo "$as_me:$LINENO: result: no" >&5
6424 echo "${ECHO_T}no" >&6
6425 fi
6426
6427
6428 enablestring=
6429 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6430 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6431 no_cache=0
6432 # Check whether --enable-help or --disable-help was given.
6433 if test "${enable_help+set}" = set; then
6434 enableval="$enable_help"
6435
6436 if test "$enableval" = yes; then
6437 ac_cv_use_help='wxUSE_HELP=yes'
6438 else
6439 ac_cv_use_help='wxUSE_HELP=no'
6440 fi
6441
6442 else
6443
6444 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6445 if test "x$LINE" != x ; then
6446 eval "DEFAULT_$LINE"
6447 else
6448 no_cache=1
6449 fi
6450
6451 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6452
6453 fi;
6454
6455 eval "$ac_cv_use_help"
6456 if test "$no_cache" != 1; then
6457 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6458 fi
6459
6460 if test "$wxUSE_HELP" = yes; then
6461 echo "$as_me:$LINENO: result: yes" >&5
6462 echo "${ECHO_T}yes" >&6
6463 else
6464 echo "$as_me:$LINENO: result: no" >&5
6465 echo "${ECHO_T}no" >&6
6466 fi
6467
6468
6469 enablestring=
6470 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6471 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6472 no_cache=0
6473 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6474 if test "${enable_mshtmlhelp+set}" = set; then
6475 enableval="$enable_mshtmlhelp"
6476
6477 if test "$enableval" = yes; then
6478 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6479 else
6480 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6481 fi
6482
6483 else
6484
6485 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6486 if test "x$LINE" != x ; then
6487 eval "DEFAULT_$LINE"
6488 else
6489 no_cache=1
6490 fi
6491
6492 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6493
6494 fi;
6495
6496 eval "$ac_cv_use_mshtmlhelp"
6497 if test "$no_cache" != 1; then
6498 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6499 fi
6500
6501 if test "$wxUSE_MS_HTML_HELP" = yes; then
6502 echo "$as_me:$LINENO: result: yes" >&5
6503 echo "${ECHO_T}yes" >&6
6504 else
6505 echo "$as_me:$LINENO: result: no" >&5
6506 echo "${ECHO_T}no" >&6
6507 fi
6508
6509
6510 enablestring=
6511 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6512 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6513 no_cache=0
6514 # Check whether --enable-html or --disable-html was given.
6515 if test "${enable_html+set}" = set; then
6516 enableval="$enable_html"
6517
6518 if test "$enableval" = yes; then
6519 ac_cv_use_html='wxUSE_HTML=yes'
6520 else
6521 ac_cv_use_html='wxUSE_HTML=no'
6522 fi
6523
6524 else
6525
6526 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6527 if test "x$LINE" != x ; then
6528 eval "DEFAULT_$LINE"
6529 else
6530 no_cache=1
6531 fi
6532
6533 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6534
6535 fi;
6536
6537 eval "$ac_cv_use_html"
6538 if test "$no_cache" != 1; then
6539 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6540 fi
6541
6542 if test "$wxUSE_HTML" = yes; then
6543 echo "$as_me:$LINENO: result: yes" >&5
6544 echo "${ECHO_T}yes" >&6
6545 else
6546 echo "$as_me:$LINENO: result: no" >&5
6547 echo "${ECHO_T}no" >&6
6548 fi
6549
6550
6551 enablestring=
6552 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6553 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6554 no_cache=0
6555 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6556 if test "${enable_htmlhelp+set}" = set; then
6557 enableval="$enable_htmlhelp"
6558
6559 if test "$enableval" = yes; then
6560 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6561 else
6562 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6563 fi
6564
6565 else
6566
6567 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6568 if test "x$LINE" != x ; then
6569 eval "DEFAULT_$LINE"
6570 else
6571 no_cache=1
6572 fi
6573
6574 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6575
6576 fi;
6577
6578 eval "$ac_cv_use_htmlhelp"
6579 if test "$no_cache" != 1; then
6580 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6581 fi
6582
6583 if test "$wxUSE_WXHTML_HELP" = yes; then
6584 echo "$as_me:$LINENO: result: yes" >&5
6585 echo "${ECHO_T}yes" >&6
6586 else
6587 echo "$as_me:$LINENO: result: no" >&5
6588 echo "${ECHO_T}no" >&6
6589 fi
6590
6591
6592 enablestring=
6593 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6594 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6595 no_cache=0
6596 # Check whether --enable-xrc or --disable-xrc was given.
6597 if test "${enable_xrc+set}" = set; then
6598 enableval="$enable_xrc"
6599
6600 if test "$enableval" = yes; then
6601 ac_cv_use_xrc='wxUSE_XRC=yes'
6602 else
6603 ac_cv_use_xrc='wxUSE_XRC=no'
6604 fi
6605
6606 else
6607
6608 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6609 if test "x$LINE" != x ; then
6610 eval "DEFAULT_$LINE"
6611 else
6612 no_cache=1
6613 fi
6614
6615 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6616
6617 fi;
6618
6619 eval "$ac_cv_use_xrc"
6620 if test "$no_cache" != 1; then
6621 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6622 fi
6623
6624 if test "$wxUSE_XRC" = yes; then
6625 echo "$as_me:$LINENO: result: yes" >&5
6626 echo "${ECHO_T}yes" >&6
6627 else
6628 echo "$as_me:$LINENO: result: no" >&5
6629 echo "${ECHO_T}no" >&6
6630 fi
6631
6632
6633 enablestring=
6634 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6635 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6636 no_cache=0
6637 # Check whether --enable-constraints or --disable-constraints was given.
6638 if test "${enable_constraints+set}" = set; then
6639 enableval="$enable_constraints"
6640
6641 if test "$enableval" = yes; then
6642 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
6643 else
6644 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
6645 fi
6646
6647 else
6648
6649 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6650 if test "x$LINE" != x ; then
6651 eval "DEFAULT_$LINE"
6652 else
6653 no_cache=1
6654 fi
6655
6656 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6657
6658 fi;
6659
6660 eval "$ac_cv_use_constraints"
6661 if test "$no_cache" != 1; then
6662 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6663 fi
6664
6665 if test "$wxUSE_CONSTRAINTS" = yes; then
6666 echo "$as_me:$LINENO: result: yes" >&5
6667 echo "${ECHO_T}yes" >&6
6668 else
6669 echo "$as_me:$LINENO: result: no" >&5
6670 echo "${ECHO_T}no" >&6
6671 fi
6672
6673
6674 enablestring=
6675 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6676 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6677 no_cache=0
6678 # Check whether --enable-printarch or --disable-printarch was given.
6679 if test "${enable_printarch+set}" = set; then
6680 enableval="$enable_printarch"
6681
6682 if test "$enableval" = yes; then
6683 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6684 else
6685 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6686 fi
6687
6688 else
6689
6690 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6691 if test "x$LINE" != x ; then
6692 eval "DEFAULT_$LINE"
6693 else
6694 no_cache=1
6695 fi
6696
6697 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6698
6699 fi;
6700
6701 eval "$ac_cv_use_printarch"
6702 if test "$no_cache" != 1; then
6703 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6704 fi
6705
6706 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6707 echo "$as_me:$LINENO: result: yes" >&5
6708 echo "${ECHO_T}yes" >&6
6709 else
6710 echo "$as_me:$LINENO: result: no" >&5
6711 echo "${ECHO_T}no" >&6
6712 fi
6713
6714
6715 enablestring=
6716 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6717 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6718 no_cache=0
6719 # Check whether --enable-mdi or --disable-mdi was given.
6720 if test "${enable_mdi+set}" = set; then
6721 enableval="$enable_mdi"
6722
6723 if test "$enableval" = yes; then
6724 ac_cv_use_mdi='wxUSE_MDI=yes'
6725 else
6726 ac_cv_use_mdi='wxUSE_MDI=no'
6727 fi
6728
6729 else
6730
6731 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6732 if test "x$LINE" != x ; then
6733 eval "DEFAULT_$LINE"
6734 else
6735 no_cache=1
6736 fi
6737
6738 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6739
6740 fi;
6741
6742 eval "$ac_cv_use_mdi"
6743 if test "$no_cache" != 1; then
6744 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6745 fi
6746
6747 if test "$wxUSE_MDI" = yes; then
6748 echo "$as_me:$LINENO: result: yes" >&5
6749 echo "${ECHO_T}yes" >&6
6750 else
6751 echo "$as_me:$LINENO: result: no" >&5
6752 echo "${ECHO_T}no" >&6
6753 fi
6754
6755
6756 enablestring=
6757 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6758 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6759 no_cache=0
6760 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6761 if test "${enable_mdidoc+set}" = set; then
6762 enableval="$enable_mdidoc"
6763
6764 if test "$enableval" = yes; then
6765 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
6766 else
6767 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
6768 fi
6769
6770 else
6771
6772 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6773 if test "x$LINE" != x ; then
6774 eval "DEFAULT_$LINE"
6775 else
6776 no_cache=1
6777 fi
6778
6779 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6780
6781 fi;
6782
6783 eval "$ac_cv_use_mdidoc"
6784 if test "$no_cache" != 1; then
6785 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6786 fi
6787
6788 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6789 echo "$as_me:$LINENO: result: yes" >&5
6790 echo "${ECHO_T}yes" >&6
6791 else
6792 echo "$as_me:$LINENO: result: no" >&5
6793 echo "${ECHO_T}no" >&6
6794 fi
6795
6796
6797 enablestring=
6798 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6799 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6800 no_cache=0
6801 # Check whether --enable-loggui or --disable-loggui was given.
6802 if test "${enable_loggui+set}" = set; then
6803 enableval="$enable_loggui"
6804
6805 if test "$enableval" = yes; then
6806 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6807 else
6808 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6809 fi
6810
6811 else
6812
6813 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6814 if test "x$LINE" != x ; then
6815 eval "DEFAULT_$LINE"
6816 else
6817 no_cache=1
6818 fi
6819
6820 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6821
6822 fi;
6823
6824 eval "$ac_cv_use_loggui"
6825 if test "$no_cache" != 1; then
6826 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6827 fi
6828
6829 if test "$wxUSE_LOGGUI" = yes; then
6830 echo "$as_me:$LINENO: result: yes" >&5
6831 echo "${ECHO_T}yes" >&6
6832 else
6833 echo "$as_me:$LINENO: result: no" >&5
6834 echo "${ECHO_T}no" >&6
6835 fi
6836
6837
6838 enablestring=
6839 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6840 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6841 no_cache=0
6842 # Check whether --enable-logwin or --disable-logwin was given.
6843 if test "${enable_logwin+set}" = set; then
6844 enableval="$enable_logwin"
6845
6846 if test "$enableval" = yes; then
6847 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6848 else
6849 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6850 fi
6851
6852 else
6853
6854 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6855 if test "x$LINE" != x ; then
6856 eval "DEFAULT_$LINE"
6857 else
6858 no_cache=1
6859 fi
6860
6861 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6862
6863 fi;
6864
6865 eval "$ac_cv_use_logwin"
6866 if test "$no_cache" != 1; then
6867 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6868 fi
6869
6870 if test "$wxUSE_LOGWINDOW" = yes; then
6871 echo "$as_me:$LINENO: result: yes" >&5
6872 echo "${ECHO_T}yes" >&6
6873 else
6874 echo "$as_me:$LINENO: result: no" >&5
6875 echo "${ECHO_T}no" >&6
6876 fi
6877
6878
6879 enablestring=
6880 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6881 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6882 no_cache=0
6883 # Check whether --enable-logdialog or --disable-logdialog was given.
6884 if test "${enable_logdialog+set}" = set; then
6885 enableval="$enable_logdialog"
6886
6887 if test "$enableval" = yes; then
6888 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6889 else
6890 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6891 fi
6892
6893 else
6894
6895 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6896 if test "x$LINE" != x ; then
6897 eval "DEFAULT_$LINE"
6898 else
6899 no_cache=1
6900 fi
6901
6902 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6903
6904 fi;
6905
6906 eval "$ac_cv_use_logdialog"
6907 if test "$no_cache" != 1; then
6908 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6909 fi
6910
6911 if test "$wxUSE_LOGDIALOG" = yes; then
6912 echo "$as_me:$LINENO: result: yes" >&5
6913 echo "${ECHO_T}yes" >&6
6914 else
6915 echo "$as_me:$LINENO: result: no" >&5
6916 echo "${ECHO_T}no" >&6
6917 fi
6918
6919
6920 enablestring=
6921 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6922 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6923 no_cache=0
6924 # Check whether --enable-webkit or --disable-webkit was given.
6925 if test "${enable_webkit+set}" = set; then
6926 enableval="$enable_webkit"
6927
6928 if test "$enableval" = yes; then
6929 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
6930 else
6931 ac_cv_use_webkit='wxUSE_WEBKIT=no'
6932 fi
6933
6934 else
6935
6936 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6937 if test "x$LINE" != x ; then
6938 eval "DEFAULT_$LINE"
6939 else
6940 no_cache=1
6941 fi
6942
6943 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6944
6945 fi;
6946
6947 eval "$ac_cv_use_webkit"
6948 if test "$no_cache" != 1; then
6949 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6950 fi
6951
6952 if test "$wxUSE_WEBKIT" = yes; then
6953 echo "$as_me:$LINENO: result: yes" >&5
6954 echo "${ECHO_T}yes" >&6
6955 else
6956 echo "$as_me:$LINENO: result: no" >&5
6957 echo "${ECHO_T}no" >&6
6958 fi
6959
6960
6961
6962 enablestring=
6963 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6964 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6965 no_cache=0
6966 # Check whether --enable-postscript or --disable-postscript was given.
6967 if test "${enable_postscript+set}" = set; then
6968 enableval="$enable_postscript"
6969
6970 if test "$enableval" = yes; then
6971 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6972 else
6973 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6974 fi
6975
6976 else
6977
6978 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6979 if test "x$LINE" != x ; then
6980 eval "DEFAULT_$LINE"
6981 else
6982 no_cache=1
6983 fi
6984
6985 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6986
6987 fi;
6988
6989 eval "$ac_cv_use_postscript"
6990 if test "$no_cache" != 1; then
6991 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6992 fi
6993
6994 if test "$wxUSE_POSTSCRIPT" = yes; then
6995 echo "$as_me:$LINENO: result: yes" >&5
6996 echo "${ECHO_T}yes" >&6
6997 else
6998 echo "$as_me:$LINENO: result: no" >&5
6999 echo "${ECHO_T}no" >&6
7000 fi
7001
7002
7003
7004
7005
7006 enablestring=
7007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7008 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7009 no_cache=0
7010 # Check whether --enable-prologio or --disable-prologio was given.
7011 if test "${enable_prologio+set}" = set; then
7012 enableval="$enable_prologio"
7013
7014 if test "$enableval" = yes; then
7015 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
7016 else
7017 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
7018 fi
7019
7020 else
7021
7022 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7023 if test "x$LINE" != x ; then
7024 eval "DEFAULT_$LINE"
7025 else
7026 no_cache=1
7027 fi
7028
7029 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7030
7031 fi;
7032
7033 eval "$ac_cv_use_prologio"
7034 if test "$no_cache" != 1; then
7035 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7036 fi
7037
7038 if test "$wxUSE_PROLOGIO" = yes; then
7039 echo "$as_me:$LINENO: result: yes" >&5
7040 echo "${ECHO_T}yes" >&6
7041 else
7042 echo "$as_me:$LINENO: result: no" >&5
7043 echo "${ECHO_T}no" >&6
7044 fi
7045
7046
7047 enablestring=
7048 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7049 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7050 no_cache=0
7051 # Check whether --enable-resources or --disable-resources was given.
7052 if test "${enable_resources+set}" = set; then
7053 enableval="$enable_resources"
7054
7055 if test "$enableval" = yes; then
7056 ac_cv_use_resources='wxUSE_RESOURCES=yes'
7057 else
7058 ac_cv_use_resources='wxUSE_RESOURCES=no'
7059 fi
7060
7061 else
7062
7063 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7064 if test "x$LINE" != x ; then
7065 eval "DEFAULT_$LINE"
7066 else
7067 no_cache=1
7068 fi
7069
7070 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7071
7072 fi;
7073
7074 eval "$ac_cv_use_resources"
7075 if test "$no_cache" != 1; then
7076 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7077 fi
7078
7079 if test "$wxUSE_RESOURCES" = yes; then
7080 echo "$as_me:$LINENO: result: yes" >&5
7081 echo "${ECHO_T}yes" >&6
7082 else
7083 echo "$as_me:$LINENO: result: no" >&5
7084 echo "${ECHO_T}no" >&6
7085 fi
7086
7087
7088
7089
7090 enablestring=
7091 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7092 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7093 no_cache=0
7094 # Check whether --enable-clipboard or --disable-clipboard was given.
7095 if test "${enable_clipboard+set}" = set; then
7096 enableval="$enable_clipboard"
7097
7098 if test "$enableval" = yes; then
7099 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
7100 else
7101 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
7102 fi
7103
7104 else
7105
7106 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7107 if test "x$LINE" != x ; then
7108 eval "DEFAULT_$LINE"
7109 else
7110 no_cache=1
7111 fi
7112
7113 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7114
7115 fi;
7116
7117 eval "$ac_cv_use_clipboard"
7118 if test "$no_cache" != 1; then
7119 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7120 fi
7121
7122 if test "$wxUSE_CLIPBOARD" = yes; then
7123 echo "$as_me:$LINENO: result: yes" >&5
7124 echo "${ECHO_T}yes" >&6
7125 else
7126 echo "$as_me:$LINENO: result: no" >&5
7127 echo "${ECHO_T}no" >&6
7128 fi
7129
7130
7131 enablestring=
7132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7133 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7134 no_cache=0
7135 # Check whether --enable-dnd or --disable-dnd was given.
7136 if test "${enable_dnd+set}" = set; then
7137 enableval="$enable_dnd"
7138
7139 if test "$enableval" = yes; then
7140 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
7141 else
7142 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
7143 fi
7144
7145 else
7146
7147 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7148 if test "x$LINE" != x ; then
7149 eval "DEFAULT_$LINE"
7150 else
7151 no_cache=1
7152 fi
7153
7154 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7155
7156 fi;
7157
7158 eval "$ac_cv_use_dnd"
7159 if test "$no_cache" != 1; then
7160 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7161 fi
7162
7163 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7164 echo "$as_me:$LINENO: result: yes" >&5
7165 echo "${ECHO_T}yes" >&6
7166 else
7167 echo "$as_me:$LINENO: result: no" >&5
7168 echo "${ECHO_T}no" >&6
7169 fi
7170
7171
7172 enablestring=
7173 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7174 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7175 no_cache=0
7176 # Check whether --enable-metafile or --disable-metafile was given.
7177 if test "${enable_metafile+set}" = set; then
7178 enableval="$enable_metafile"
7179
7180 if test "$enableval" = yes; then
7181 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7182 else
7183 ac_cv_use_metafile='wxUSE_METAFILE=no'
7184 fi
7185
7186 else
7187
7188 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7189 if test "x$LINE" != x ; then
7190 eval "DEFAULT_$LINE"
7191 else
7192 no_cache=1
7193 fi
7194
7195 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7196
7197 fi;
7198
7199 eval "$ac_cv_use_metafile"
7200 if test "$no_cache" != 1; then
7201 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7202 fi
7203
7204 if test "$wxUSE_METAFILE" = yes; then
7205 echo "$as_me:$LINENO: result: yes" >&5
7206 echo "${ECHO_T}yes" >&6
7207 else
7208 echo "$as_me:$LINENO: result: no" >&5
7209 echo "${ECHO_T}no" >&6
7210 fi
7211
7212
7213
7214
7215
7216 enablestring=
7217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7218 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7219 no_cache=0
7220 # Check whether --enable-controls or --disable-controls was given.
7221 if test "${enable_controls+set}" = set; then
7222 enableval="$enable_controls"
7223
7224 if test "$enableval" = yes; then
7225 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7226 else
7227 ac_cv_use_controls='wxUSE_CONTROLS=no'
7228 fi
7229
7230 else
7231
7232 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7233 if test "x$LINE" != x ; then
7234 eval "DEFAULT_$LINE"
7235 else
7236 no_cache=1
7237 fi
7238
7239 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7240
7241 fi;
7242
7243 eval "$ac_cv_use_controls"
7244 if test "$no_cache" != 1; then
7245 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7246 fi
7247
7248 if test "$wxUSE_CONTROLS" = yes; then
7249 echo "$as_me:$LINENO: result: yes" >&5
7250 echo "${ECHO_T}yes" >&6
7251 else
7252 echo "$as_me:$LINENO: result: no" >&5
7253 echo "${ECHO_T}no" >&6
7254 fi
7255
7256
7257 if test "$wxUSE_CONTROLS" = "yes"; then
7258 DEFAULT_wxUSE_ACCEL=yes
7259 DEFAULT_wxUSE_BMPBUTTON=yes
7260 DEFAULT_wxUSE_BUTTON=yes
7261 DEFAULT_wxUSE_CALCTRL=yes
7262 DEFAULT_wxUSE_CARET=yes
7263 DEFAULT_wxUSE_COMBOBOX=yes
7264 DEFAULT_wxUSE_CHECKBOX=yes
7265 DEFAULT_wxUSE_CHECKLISTBOX=yes
7266 DEFAULT_wxUSE_CHOICE=yes
7267 DEFAULT_wxUSE_CHOICEBOOK=yes
7268 DEFAULT_wxUSE_DATEPICKCTRL=yes
7269 DEFAULT_wxUSE_GAUGE=yes
7270 DEFAULT_wxUSE_GRID=yes
7271 DEFAULT_wxUSE_IMAGLIST=yes
7272 DEFAULT_wxUSE_LISTBOOK=yes
7273 DEFAULT_wxUSE_LISTBOX=yes
7274 DEFAULT_wxUSE_LISTCTRL=yes
7275 DEFAULT_wxUSE_NOTEBOOK=yes
7276 DEFAULT_wxUSE_RADIOBOX=yes
7277 DEFAULT_wxUSE_RADIOBTN=yes
7278 DEFAULT_wxUSE_SASH=yes
7279 DEFAULT_wxUSE_SCROLLBAR=yes
7280 DEFAULT_wxUSE_SLIDER=yes
7281 DEFAULT_wxUSE_SPINBTN=yes
7282 DEFAULT_wxUSE_SPINCTRL=yes
7283 DEFAULT_wxUSE_SPLITTER=yes
7284 DEFAULT_wxUSE_STATBMP=yes
7285 DEFAULT_wxUSE_STATBOX=yes
7286 DEFAULT_wxUSE_STATLINE=yes
7287 DEFAULT_wxUSE_STATUSBAR=yes
7288 DEFAULT_wxUSE_TAB_DIALOG=yes
7289 DEFAULT_wxUSE_TOGGLEBTN=yes
7290 DEFAULT_wxUSE_TOOLBAR=yes
7291 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7292 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
7293 DEFAULT_wxUSE_TOOLTIPS=yes
7294 DEFAULT_wxUSE_TREECTRL=yes
7295 DEFAULT_wxUSE_POPUPWIN=yes
7296 DEFAULT_wxUSE_TIPWINDOW=yes
7297 elif test "$wxUSE_CONTROLS" = "no"; then
7298 DEFAULT_wxUSE_ACCEL=no
7299 DEFAULT_wxUSE_BMPBUTTON=no
7300 DEFAULT_wxUSE_BUTTON=no
7301 DEFAULT_wxUSE_CALCTRL=no
7302 DEFAULT_wxUSE_CARET=no
7303 DEFAULT_wxUSE_COMBOBOX=no
7304 DEFAULT_wxUSE_CHECKBOX=no
7305 DEFAULT_wxUSE_CHECKLISTBOX=no
7306 DEFAULT_wxUSE_CHOICE=no
7307 DEFAULT_wxUSE_CHOICEBOOK=no
7308 DEFAULT_wxUSE_DATEPICKCTRL=no
7309 DEFAULT_wxUSE_GAUGE=no
7310 DEFAULT_wxUSE_GRID=no
7311 DEFAULT_wxUSE_IMAGLIST=no
7312 DEFAULT_wxUSE_LISTBOOK=no
7313 DEFAULT_wxUSE_LISTBOX=no
7314 DEFAULT_wxUSE_LISTCTRL=no
7315 DEFAULT_wxUSE_NOTEBOOK=no
7316 DEFAULT_wxUSE_RADIOBOX=no
7317 DEFAULT_wxUSE_RADIOBTN=no
7318 DEFAULT_wxUSE_SASH=no
7319 DEFAULT_wxUSE_SCROLLBAR=no
7320 DEFAULT_wxUSE_SLIDER=no
7321 DEFAULT_wxUSE_SPINBTN=no
7322 DEFAULT_wxUSE_SPINCTRL=no
7323 DEFAULT_wxUSE_SPLITTER=no
7324 DEFAULT_wxUSE_STATBMP=no
7325 DEFAULT_wxUSE_STATBOX=no
7326 DEFAULT_wxUSE_STATLINE=no
7327 DEFAULT_wxUSE_STATUSBAR=no
7328 DEFAULT_wxUSE_TAB_DIALOG=no
7329 DEFAULT_wxUSE_TOGGLEBTN=no
7330 DEFAULT_wxUSE_TOOLBAR=no
7331 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7332 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
7333 DEFAULT_wxUSE_TOOLTIPS=no
7334 DEFAULT_wxUSE_TREECTRL=no
7335 DEFAULT_wxUSE_POPUPWIN=no
7336 DEFAULT_wxUSE_TIPWINDOW=no
7337 fi
7338
7339
7340 enablestring=
7341 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7342 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7343 no_cache=0
7344 # Check whether --enable-accel or --disable-accel was given.
7345 if test "${enable_accel+set}" = set; then
7346 enableval="$enable_accel"
7347
7348 if test "$enableval" = yes; then
7349 ac_cv_use_accel='wxUSE_ACCEL=yes'
7350 else
7351 ac_cv_use_accel='wxUSE_ACCEL=no'
7352 fi
7353
7354 else
7355
7356 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7357 if test "x$LINE" != x ; then
7358 eval "DEFAULT_$LINE"
7359 else
7360 no_cache=1
7361 fi
7362
7363 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7364
7365 fi;
7366
7367 eval "$ac_cv_use_accel"
7368 if test "$no_cache" != 1; then
7369 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7370 fi
7371
7372 if test "$wxUSE_ACCEL" = yes; then
7373 echo "$as_me:$LINENO: result: yes" >&5
7374 echo "${ECHO_T}yes" >&6
7375 else
7376 echo "$as_me:$LINENO: result: no" >&5
7377 echo "${ECHO_T}no" >&6
7378 fi
7379
7380
7381 enablestring=
7382 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7383 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7384 no_cache=0
7385 # Check whether --enable-button or --disable-button was given.
7386 if test "${enable_button+set}" = set; then
7387 enableval="$enable_button"
7388
7389 if test "$enableval" = yes; then
7390 ac_cv_use_button='wxUSE_BUTTON=yes'
7391 else
7392 ac_cv_use_button='wxUSE_BUTTON=no'
7393 fi
7394
7395 else
7396
7397 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7398 if test "x$LINE" != x ; then
7399 eval "DEFAULT_$LINE"
7400 else
7401 no_cache=1
7402 fi
7403
7404 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7405
7406 fi;
7407
7408 eval "$ac_cv_use_button"
7409 if test "$no_cache" != 1; then
7410 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7411 fi
7412
7413 if test "$wxUSE_BUTTON" = yes; then
7414 echo "$as_me:$LINENO: result: yes" >&5
7415 echo "${ECHO_T}yes" >&6
7416 else
7417 echo "$as_me:$LINENO: result: no" >&5
7418 echo "${ECHO_T}no" >&6
7419 fi
7420
7421
7422 enablestring=
7423 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7424 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7425 no_cache=0
7426 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7427 if test "${enable_bmpbutton+set}" = set; then
7428 enableval="$enable_bmpbutton"
7429
7430 if test "$enableval" = yes; then
7431 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
7432 else
7433 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
7434 fi
7435
7436 else
7437
7438 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7439 if test "x$LINE" != x ; then
7440 eval "DEFAULT_$LINE"
7441 else
7442 no_cache=1
7443 fi
7444
7445 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7446
7447 fi;
7448
7449 eval "$ac_cv_use_bmpbutton"
7450 if test "$no_cache" != 1; then
7451 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7452 fi
7453
7454 if test "$wxUSE_BMPBUTTON" = yes; then
7455 echo "$as_me:$LINENO: result: yes" >&5
7456 echo "${ECHO_T}yes" >&6
7457 else
7458 echo "$as_me:$LINENO: result: no" >&5
7459 echo "${ECHO_T}no" >&6
7460 fi
7461
7462
7463 enablestring=
7464 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7465 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7466 no_cache=0
7467 # Check whether --enable-calendar or --disable-calendar was given.
7468 if test "${enable_calendar+set}" = set; then
7469 enableval="$enable_calendar"
7470
7471 if test "$enableval" = yes; then
7472 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
7473 else
7474 ac_cv_use_calendar='wxUSE_CALCTRL=no'
7475 fi
7476
7477 else
7478
7479 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7480 if test "x$LINE" != x ; then
7481 eval "DEFAULT_$LINE"
7482 else
7483 no_cache=1
7484 fi
7485
7486 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7487
7488 fi;
7489
7490 eval "$ac_cv_use_calendar"
7491 if test "$no_cache" != 1; then
7492 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7493 fi
7494
7495 if test "$wxUSE_CALCTRL" = yes; then
7496 echo "$as_me:$LINENO: result: yes" >&5
7497 echo "${ECHO_T}yes" >&6
7498 else
7499 echo "$as_me:$LINENO: result: no" >&5
7500 echo "${ECHO_T}no" >&6
7501 fi
7502
7503
7504 enablestring=
7505 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7506 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7507 no_cache=0
7508 # Check whether --enable-caret or --disable-caret was given.
7509 if test "${enable_caret+set}" = set; then
7510 enableval="$enable_caret"
7511
7512 if test "$enableval" = yes; then
7513 ac_cv_use_caret='wxUSE_CARET=yes'
7514 else
7515 ac_cv_use_caret='wxUSE_CARET=no'
7516 fi
7517
7518 else
7519
7520 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7521 if test "x$LINE" != x ; then
7522 eval "DEFAULT_$LINE"
7523 else
7524 no_cache=1
7525 fi
7526
7527 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7528
7529 fi;
7530
7531 eval "$ac_cv_use_caret"
7532 if test "$no_cache" != 1; then
7533 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7534 fi
7535
7536 if test "$wxUSE_CARET" = yes; then
7537 echo "$as_me:$LINENO: result: yes" >&5
7538 echo "${ECHO_T}yes" >&6
7539 else
7540 echo "$as_me:$LINENO: result: no" >&5
7541 echo "${ECHO_T}no" >&6
7542 fi
7543
7544
7545 enablestring=
7546 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7547 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7548 no_cache=0
7549 # Check whether --enable-checkbox or --disable-checkbox was given.
7550 if test "${enable_checkbox+set}" = set; then
7551 enableval="$enable_checkbox"
7552
7553 if test "$enableval" = yes; then
7554 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
7555 else
7556 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
7557 fi
7558
7559 else
7560
7561 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7562 if test "x$LINE" != x ; then
7563 eval "DEFAULT_$LINE"
7564 else
7565 no_cache=1
7566 fi
7567
7568 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7569
7570 fi;
7571
7572 eval "$ac_cv_use_checkbox"
7573 if test "$no_cache" != 1; then
7574 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7575 fi
7576
7577 if test "$wxUSE_CHECKBOX" = yes; then
7578 echo "$as_me:$LINENO: result: yes" >&5
7579 echo "${ECHO_T}yes" >&6
7580 else
7581 echo "$as_me:$LINENO: result: no" >&5
7582 echo "${ECHO_T}no" >&6
7583 fi
7584
7585
7586 enablestring=
7587 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7588 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7589 no_cache=0
7590 # Check whether --enable-checklst or --disable-checklst was given.
7591 if test "${enable_checklst+set}" = set; then
7592 enableval="$enable_checklst"
7593
7594 if test "$enableval" = yes; then
7595 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
7596 else
7597 ac_cv_use_checklst='wxUSE_CHECKLST=no'
7598 fi
7599
7600 else
7601
7602 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7603 if test "x$LINE" != x ; then
7604 eval "DEFAULT_$LINE"
7605 else
7606 no_cache=1
7607 fi
7608
7609 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7610
7611 fi;
7612
7613 eval "$ac_cv_use_checklst"
7614 if test "$no_cache" != 1; then
7615 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7616 fi
7617
7618 if test "$wxUSE_CHECKLST" = yes; then
7619 echo "$as_me:$LINENO: result: yes" >&5
7620 echo "${ECHO_T}yes" >&6
7621 else
7622 echo "$as_me:$LINENO: result: no" >&5
7623 echo "${ECHO_T}no" >&6
7624 fi
7625
7626
7627 enablestring=
7628 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7629 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7630 no_cache=0
7631 # Check whether --enable-choice or --disable-choice was given.
7632 if test "${enable_choice+set}" = set; then
7633 enableval="$enable_choice"
7634
7635 if test "$enableval" = yes; then
7636 ac_cv_use_choice='wxUSE_CHOICE=yes'
7637 else
7638 ac_cv_use_choice='wxUSE_CHOICE=no'
7639 fi
7640
7641 else
7642
7643 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7644 if test "x$LINE" != x ; then
7645 eval "DEFAULT_$LINE"
7646 else
7647 no_cache=1
7648 fi
7649
7650 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7651
7652 fi;
7653
7654 eval "$ac_cv_use_choice"
7655 if test "$no_cache" != 1; then
7656 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7657 fi
7658
7659 if test "$wxUSE_CHOICE" = yes; then
7660 echo "$as_me:$LINENO: result: yes" >&5
7661 echo "${ECHO_T}yes" >&6
7662 else
7663 echo "$as_me:$LINENO: result: no" >&5
7664 echo "${ECHO_T}no" >&6
7665 fi
7666
7667
7668 enablestring=
7669 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7670 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7671 no_cache=0
7672 # Check whether --enable-choicebook or --disable-choicebook was given.
7673 if test "${enable_choicebook+set}" = set; then
7674 enableval="$enable_choicebook"
7675
7676 if test "$enableval" = yes; then
7677 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
7678 else
7679 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
7680 fi
7681
7682 else
7683
7684 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7685 if test "x$LINE" != x ; then
7686 eval "DEFAULT_$LINE"
7687 else
7688 no_cache=1
7689 fi
7690
7691 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7692
7693 fi;
7694
7695 eval "$ac_cv_use_choicebook"
7696 if test "$no_cache" != 1; then
7697 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7698 fi
7699
7700 if test "$wxUSE_CHOICEBOOK" = yes; then
7701 echo "$as_me:$LINENO: result: yes" >&5
7702 echo "${ECHO_T}yes" >&6
7703 else
7704 echo "$as_me:$LINENO: result: no" >&5
7705 echo "${ECHO_T}no" >&6
7706 fi
7707
7708
7709 enablestring=
7710 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7711 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7712 no_cache=0
7713 # Check whether --enable-combobox or --disable-combobox was given.
7714 if test "${enable_combobox+set}" = set; then
7715 enableval="$enable_combobox"
7716
7717 if test "$enableval" = yes; then
7718 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
7719 else
7720 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
7721 fi
7722
7723 else
7724
7725 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7726 if test "x$LINE" != x ; then
7727 eval "DEFAULT_$LINE"
7728 else
7729 no_cache=1
7730 fi
7731
7732 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7733
7734 fi;
7735
7736 eval "$ac_cv_use_combobox"
7737 if test "$no_cache" != 1; then
7738 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7739 fi
7740
7741 if test "$wxUSE_COMBOBOX" = yes; then
7742 echo "$as_me:$LINENO: result: yes" >&5
7743 echo "${ECHO_T}yes" >&6
7744 else
7745 echo "$as_me:$LINENO: result: no" >&5
7746 echo "${ECHO_T}no" >&6
7747 fi
7748
7749
7750 enablestring=
7751 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
7752 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
7753 no_cache=0
7754 # Check whether --enable-datepick or --disable-datepick was given.
7755 if test "${enable_datepick+set}" = set; then
7756 enableval="$enable_datepick"
7757
7758 if test "$enableval" = yes; then
7759 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
7760 else
7761 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
7762 fi
7763
7764 else
7765
7766 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
7767 if test "x$LINE" != x ; then
7768 eval "DEFAULT_$LINE"
7769 else
7770 no_cache=1
7771 fi
7772
7773 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
7774
7775 fi;
7776
7777 eval "$ac_cv_use_datepick"
7778 if test "$no_cache" != 1; then
7779 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
7780 fi
7781
7782 if test "$wxUSE_DATEPICKCTRL" = yes; then
7783 echo "$as_me:$LINENO: result: yes" >&5
7784 echo "${ECHO_T}yes" >&6
7785 else
7786 echo "$as_me:$LINENO: result: no" >&5
7787 echo "${ECHO_T}no" >&6
7788 fi
7789
7790
7791 enablestring=
7792 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7793 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7794 no_cache=0
7795 # Check whether --enable-display or --disable-display was given.
7796 if test "${enable_display+set}" = set; then
7797 enableval="$enable_display"
7798
7799 if test "$enableval" = yes; then
7800 ac_cv_use_display='wxUSE_DISPLAY=yes'
7801 else
7802 ac_cv_use_display='wxUSE_DISPLAY=no'
7803 fi
7804
7805 else
7806
7807 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7808 if test "x$LINE" != x ; then
7809 eval "DEFAULT_$LINE"
7810 else
7811 no_cache=1
7812 fi
7813
7814 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7815
7816 fi;
7817
7818 eval "$ac_cv_use_display"
7819 if test "$no_cache" != 1; then
7820 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7821 fi
7822
7823 if test "$wxUSE_DISPLAY" = yes; then
7824 echo "$as_me:$LINENO: result: yes" >&5
7825 echo "${ECHO_T}yes" >&6
7826 else
7827 echo "$as_me:$LINENO: result: no" >&5
7828 echo "${ECHO_T}no" >&6
7829 fi
7830
7831
7832 enablestring=
7833 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7834 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7835 no_cache=0
7836 # Check whether --enable-gauge or --disable-gauge was given.
7837 if test "${enable_gauge+set}" = set; then
7838 enableval="$enable_gauge"
7839
7840 if test "$enableval" = yes; then
7841 ac_cv_use_gauge='wxUSE_GAUGE=yes'
7842 else
7843 ac_cv_use_gauge='wxUSE_GAUGE=no'
7844 fi
7845
7846 else
7847
7848 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7849 if test "x$LINE" != x ; then
7850 eval "DEFAULT_$LINE"
7851 else
7852 no_cache=1
7853 fi
7854
7855 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7856
7857 fi;
7858
7859 eval "$ac_cv_use_gauge"
7860 if test "$no_cache" != 1; then
7861 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7862 fi
7863
7864 if test "$wxUSE_GAUGE" = yes; then
7865 echo "$as_me:$LINENO: result: yes" >&5
7866 echo "${ECHO_T}yes" >&6
7867 else
7868 echo "$as_me:$LINENO: result: no" >&5
7869 echo "${ECHO_T}no" >&6
7870 fi
7871
7872
7873 enablestring=
7874 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7875 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7876 no_cache=0
7877 # Check whether --enable-grid or --disable-grid was given.
7878 if test "${enable_grid+set}" = set; then
7879 enableval="$enable_grid"
7880
7881 if test "$enableval" = yes; then
7882 ac_cv_use_grid='wxUSE_GRID=yes'
7883 else
7884 ac_cv_use_grid='wxUSE_GRID=no'
7885 fi
7886
7887 else
7888
7889 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7890 if test "x$LINE" != x ; then
7891 eval "DEFAULT_$LINE"
7892 else
7893 no_cache=1
7894 fi
7895
7896 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7897
7898 fi;
7899
7900 eval "$ac_cv_use_grid"
7901 if test "$no_cache" != 1; then
7902 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7903 fi
7904
7905 if test "$wxUSE_GRID" = yes; then
7906 echo "$as_me:$LINENO: result: yes" >&5
7907 echo "${ECHO_T}yes" >&6
7908 else
7909 echo "$as_me:$LINENO: result: no" >&5
7910 echo "${ECHO_T}no" >&6
7911 fi
7912
7913
7914 enablestring=
7915 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7916 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7917 no_cache=0
7918 # Check whether --enable-imaglist or --disable-imaglist was given.
7919 if test "${enable_imaglist+set}" = set; then
7920 enableval="$enable_imaglist"
7921
7922 if test "$enableval" = yes; then
7923 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7924 else
7925 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7926 fi
7927
7928 else
7929
7930 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7931 if test "x$LINE" != x ; then
7932 eval "DEFAULT_$LINE"
7933 else
7934 no_cache=1
7935 fi
7936
7937 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7938
7939 fi;
7940
7941 eval "$ac_cv_use_imaglist"
7942 if test "$no_cache" != 1; then
7943 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7944 fi
7945
7946 if test "$wxUSE_IMAGLIST" = yes; then
7947 echo "$as_me:$LINENO: result: yes" >&5
7948 echo "${ECHO_T}yes" >&6
7949 else
7950 echo "$as_me:$LINENO: result: no" >&5
7951 echo "${ECHO_T}no" >&6
7952 fi
7953
7954
7955 enablestring=
7956 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7957 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7958 no_cache=0
7959 # Check whether --enable-listbook or --disable-listbook was given.
7960 if test "${enable_listbook+set}" = set; then
7961 enableval="$enable_listbook"
7962
7963 if test "$enableval" = yes; then
7964 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
7965 else
7966 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
7967 fi
7968
7969 else
7970
7971 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7972 if test "x$LINE" != x ; then
7973 eval "DEFAULT_$LINE"
7974 else
7975 no_cache=1
7976 fi
7977
7978 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7979
7980 fi;
7981
7982 eval "$ac_cv_use_listbook"
7983 if test "$no_cache" != 1; then
7984 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7985 fi
7986
7987 if test "$wxUSE_LISTBOOK" = yes; then
7988 echo "$as_me:$LINENO: result: yes" >&5
7989 echo "${ECHO_T}yes" >&6
7990 else
7991 echo "$as_me:$LINENO: result: no" >&5
7992 echo "${ECHO_T}no" >&6
7993 fi
7994
7995
7996 enablestring=
7997 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7998 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7999 no_cache=0
8000 # Check whether --enable-listbox or --disable-listbox was given.
8001 if test "${enable_listbox+set}" = set; then
8002 enableval="$enable_listbox"
8003
8004 if test "$enableval" = yes; then
8005 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
8006 else
8007 ac_cv_use_listbox='wxUSE_LISTBOX=no'
8008 fi
8009
8010 else
8011
8012 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8013 if test "x$LINE" != x ; then
8014 eval "DEFAULT_$LINE"
8015 else
8016 no_cache=1
8017 fi
8018
8019 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8020
8021 fi;
8022
8023 eval "$ac_cv_use_listbox"
8024 if test "$no_cache" != 1; then
8025 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8026 fi
8027
8028 if test "$wxUSE_LISTBOX" = yes; then
8029 echo "$as_me:$LINENO: result: yes" >&5
8030 echo "${ECHO_T}yes" >&6
8031 else
8032 echo "$as_me:$LINENO: result: no" >&5
8033 echo "${ECHO_T}no" >&6
8034 fi
8035
8036
8037 enablestring=
8038 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8039 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8040 no_cache=0
8041 # Check whether --enable-listctrl or --disable-listctrl was given.
8042 if test "${enable_listctrl+set}" = set; then
8043 enableval="$enable_listctrl"
8044
8045 if test "$enableval" = yes; then
8046 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
8047 else
8048 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
8049 fi
8050
8051 else
8052
8053 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8054 if test "x$LINE" != x ; then
8055 eval "DEFAULT_$LINE"
8056 else
8057 no_cache=1
8058 fi
8059
8060 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8061
8062 fi;
8063
8064 eval "$ac_cv_use_listctrl"
8065 if test "$no_cache" != 1; then
8066 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8067 fi
8068
8069 if test "$wxUSE_LISTCTRL" = yes; then
8070 echo "$as_me:$LINENO: result: yes" >&5
8071 echo "${ECHO_T}yes" >&6
8072 else
8073 echo "$as_me:$LINENO: result: no" >&5
8074 echo "${ECHO_T}no" >&6
8075 fi
8076
8077
8078 enablestring=
8079 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8080 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8081 no_cache=0
8082 # Check whether --enable-notebook or --disable-notebook was given.
8083 if test "${enable_notebook+set}" = set; then
8084 enableval="$enable_notebook"
8085
8086 if test "$enableval" = yes; then
8087 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
8088 else
8089 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
8090 fi
8091
8092 else
8093
8094 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8095 if test "x$LINE" != x ; then
8096 eval "DEFAULT_$LINE"
8097 else
8098 no_cache=1
8099 fi
8100
8101 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8102
8103 fi;
8104
8105 eval "$ac_cv_use_notebook"
8106 if test "$no_cache" != 1; then
8107 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8108 fi
8109
8110 if test "$wxUSE_NOTEBOOK" = yes; then
8111 echo "$as_me:$LINENO: result: yes" >&5
8112 echo "${ECHO_T}yes" >&6
8113 else
8114 echo "$as_me:$LINENO: result: no" >&5
8115 echo "${ECHO_T}no" >&6
8116 fi
8117
8118
8119 enablestring=
8120 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8121 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8122 no_cache=0
8123 # Check whether --enable-radiobox or --disable-radiobox was given.
8124 if test "${enable_radiobox+set}" = set; then
8125 enableval="$enable_radiobox"
8126
8127 if test "$enableval" = yes; then
8128 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
8129 else
8130 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
8131 fi
8132
8133 else
8134
8135 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8136 if test "x$LINE" != x ; then
8137 eval "DEFAULT_$LINE"
8138 else
8139 no_cache=1
8140 fi
8141
8142 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8143
8144 fi;
8145
8146 eval "$ac_cv_use_radiobox"
8147 if test "$no_cache" != 1; then
8148 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8149 fi
8150
8151 if test "$wxUSE_RADIOBOX" = yes; then
8152 echo "$as_me:$LINENO: result: yes" >&5
8153 echo "${ECHO_T}yes" >&6
8154 else
8155 echo "$as_me:$LINENO: result: no" >&5
8156 echo "${ECHO_T}no" >&6
8157 fi
8158
8159
8160 enablestring=
8161 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8162 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8163 no_cache=0
8164 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8165 if test "${enable_radiobtn+set}" = set; then
8166 enableval="$enable_radiobtn"
8167
8168 if test "$enableval" = yes; then
8169 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
8170 else
8171 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
8172 fi
8173
8174 else
8175
8176 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8177 if test "x$LINE" != x ; then
8178 eval "DEFAULT_$LINE"
8179 else
8180 no_cache=1
8181 fi
8182
8183 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8184
8185 fi;
8186
8187 eval "$ac_cv_use_radiobtn"
8188 if test "$no_cache" != 1; then
8189 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8190 fi
8191
8192 if test "$wxUSE_RADIOBTN" = yes; then
8193 echo "$as_me:$LINENO: result: yes" >&5
8194 echo "${ECHO_T}yes" >&6
8195 else
8196 echo "$as_me:$LINENO: result: no" >&5
8197 echo "${ECHO_T}no" >&6
8198 fi
8199
8200
8201 enablestring=
8202 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8203 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8204 no_cache=0
8205 # Check whether --enable-sash or --disable-sash was given.
8206 if test "${enable_sash+set}" = set; then
8207 enableval="$enable_sash"
8208
8209 if test "$enableval" = yes; then
8210 ac_cv_use_sash='wxUSE_SASH=yes'
8211 else
8212 ac_cv_use_sash='wxUSE_SASH=no'
8213 fi
8214
8215 else
8216
8217 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8218 if test "x$LINE" != x ; then
8219 eval "DEFAULT_$LINE"
8220 else
8221 no_cache=1
8222 fi
8223
8224 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8225
8226 fi;
8227
8228 eval "$ac_cv_use_sash"
8229 if test "$no_cache" != 1; then
8230 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8231 fi
8232
8233 if test "$wxUSE_SASH" = yes; then
8234 echo "$as_me:$LINENO: result: yes" >&5
8235 echo "${ECHO_T}yes" >&6
8236 else
8237 echo "$as_me:$LINENO: result: no" >&5
8238 echo "${ECHO_T}no" >&6
8239 fi
8240
8241
8242 enablestring=
8243 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8244 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8245 no_cache=0
8246 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8247 if test "${enable_scrollbar+set}" = set; then
8248 enableval="$enable_scrollbar"
8249
8250 if test "$enableval" = yes; then
8251 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
8252 else
8253 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
8254 fi
8255
8256 else
8257
8258 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8259 if test "x$LINE" != x ; then
8260 eval "DEFAULT_$LINE"
8261 else
8262 no_cache=1
8263 fi
8264
8265 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8266
8267 fi;
8268
8269 eval "$ac_cv_use_scrollbar"
8270 if test "$no_cache" != 1; then
8271 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8272 fi
8273
8274 if test "$wxUSE_SCROLLBAR" = yes; then
8275 echo "$as_me:$LINENO: result: yes" >&5
8276 echo "${ECHO_T}yes" >&6
8277 else
8278 echo "$as_me:$LINENO: result: no" >&5
8279 echo "${ECHO_T}no" >&6
8280 fi
8281
8282
8283 enablestring=
8284 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8285 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8286 no_cache=0
8287 # Check whether --enable-slider or --disable-slider was given.
8288 if test "${enable_slider+set}" = set; then
8289 enableval="$enable_slider"
8290
8291 if test "$enableval" = yes; then
8292 ac_cv_use_slider='wxUSE_SLIDER=yes'
8293 else
8294 ac_cv_use_slider='wxUSE_SLIDER=no'
8295 fi
8296
8297 else
8298
8299 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8300 if test "x$LINE" != x ; then
8301 eval "DEFAULT_$LINE"
8302 else
8303 no_cache=1
8304 fi
8305
8306 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8307
8308 fi;
8309
8310 eval "$ac_cv_use_slider"
8311 if test "$no_cache" != 1; then
8312 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8313 fi
8314
8315 if test "$wxUSE_SLIDER" = yes; then
8316 echo "$as_me:$LINENO: result: yes" >&5
8317 echo "${ECHO_T}yes" >&6
8318 else
8319 echo "$as_me:$LINENO: result: no" >&5
8320 echo "${ECHO_T}no" >&6
8321 fi
8322
8323
8324 enablestring=
8325 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8326 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8327 no_cache=0
8328 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8329 if test "${enable_spinbtn+set}" = set; then
8330 enableval="$enable_spinbtn"
8331
8332 if test "$enableval" = yes; then
8333 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
8334 else
8335 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
8336 fi
8337
8338 else
8339
8340 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8341 if test "x$LINE" != x ; then
8342 eval "DEFAULT_$LINE"
8343 else
8344 no_cache=1
8345 fi
8346
8347 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8348
8349 fi;
8350
8351 eval "$ac_cv_use_spinbtn"
8352 if test "$no_cache" != 1; then
8353 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8354 fi
8355
8356 if test "$wxUSE_SPINBTN" = yes; then
8357 echo "$as_me:$LINENO: result: yes" >&5
8358 echo "${ECHO_T}yes" >&6
8359 else
8360 echo "$as_me:$LINENO: result: no" >&5
8361 echo "${ECHO_T}no" >&6
8362 fi
8363
8364
8365 enablestring=
8366 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8367 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8368 no_cache=0
8369 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8370 if test "${enable_spinctrl+set}" = set; then
8371 enableval="$enable_spinctrl"
8372
8373 if test "$enableval" = yes; then
8374 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
8375 else
8376 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
8377 fi
8378
8379 else
8380
8381 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8382 if test "x$LINE" != x ; then
8383 eval "DEFAULT_$LINE"
8384 else
8385 no_cache=1
8386 fi
8387
8388 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8389
8390 fi;
8391
8392 eval "$ac_cv_use_spinctrl"
8393 if test "$no_cache" != 1; then
8394 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8395 fi
8396
8397 if test "$wxUSE_SPINCTRL" = yes; then
8398 echo "$as_me:$LINENO: result: yes" >&5
8399 echo "${ECHO_T}yes" >&6
8400 else
8401 echo "$as_me:$LINENO: result: no" >&5
8402 echo "${ECHO_T}no" >&6
8403 fi
8404
8405
8406 enablestring=
8407 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8408 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8409 no_cache=0
8410 # Check whether --enable-splitter or --disable-splitter was given.
8411 if test "${enable_splitter+set}" = set; then
8412 enableval="$enable_splitter"
8413
8414 if test "$enableval" = yes; then
8415 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
8416 else
8417 ac_cv_use_splitter='wxUSE_SPLITTER=no'
8418 fi
8419
8420 else
8421
8422 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8423 if test "x$LINE" != x ; then
8424 eval "DEFAULT_$LINE"
8425 else
8426 no_cache=1
8427 fi
8428
8429 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8430
8431 fi;
8432
8433 eval "$ac_cv_use_splitter"
8434 if test "$no_cache" != 1; then
8435 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8436 fi
8437
8438 if test "$wxUSE_SPLITTER" = yes; then
8439 echo "$as_me:$LINENO: result: yes" >&5
8440 echo "${ECHO_T}yes" >&6
8441 else
8442 echo "$as_me:$LINENO: result: no" >&5
8443 echo "${ECHO_T}no" >&6
8444 fi
8445
8446
8447 enablestring=
8448 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8449 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8450 no_cache=0
8451 # Check whether --enable-statbmp or --disable-statbmp was given.
8452 if test "${enable_statbmp+set}" = set; then
8453 enableval="$enable_statbmp"
8454
8455 if test "$enableval" = yes; then
8456 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
8457 else
8458 ac_cv_use_statbmp='wxUSE_STATBMP=no'
8459 fi
8460
8461 else
8462
8463 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8464 if test "x$LINE" != x ; then
8465 eval "DEFAULT_$LINE"
8466 else
8467 no_cache=1
8468 fi
8469
8470 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8471
8472 fi;
8473
8474 eval "$ac_cv_use_statbmp"
8475 if test "$no_cache" != 1; then
8476 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8477 fi
8478
8479 if test "$wxUSE_STATBMP" = yes; then
8480 echo "$as_me:$LINENO: result: yes" >&5
8481 echo "${ECHO_T}yes" >&6
8482 else
8483 echo "$as_me:$LINENO: result: no" >&5
8484 echo "${ECHO_T}no" >&6
8485 fi
8486
8487
8488 enablestring=
8489 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8490 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8491 no_cache=0
8492 # Check whether --enable-statbox or --disable-statbox was given.
8493 if test "${enable_statbox+set}" = set; then
8494 enableval="$enable_statbox"
8495
8496 if test "$enableval" = yes; then
8497 ac_cv_use_statbox='wxUSE_STATBOX=yes'
8498 else
8499 ac_cv_use_statbox='wxUSE_STATBOX=no'
8500 fi
8501
8502 else
8503
8504 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8505 if test "x$LINE" != x ; then
8506 eval "DEFAULT_$LINE"
8507 else
8508 no_cache=1
8509 fi
8510
8511 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8512
8513 fi;
8514
8515 eval "$ac_cv_use_statbox"
8516 if test "$no_cache" != 1; then
8517 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8518 fi
8519
8520 if test "$wxUSE_STATBOX" = yes; then
8521 echo "$as_me:$LINENO: result: yes" >&5
8522 echo "${ECHO_T}yes" >&6
8523 else
8524 echo "$as_me:$LINENO: result: no" >&5
8525 echo "${ECHO_T}no" >&6
8526 fi
8527
8528
8529 enablestring=
8530 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8531 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8532 no_cache=0
8533 # Check whether --enable-statline or --disable-statline was given.
8534 if test "${enable_statline+set}" = set; then
8535 enableval="$enable_statline"
8536
8537 if test "$enableval" = yes; then
8538 ac_cv_use_statline='wxUSE_STATLINE=yes'
8539 else
8540 ac_cv_use_statline='wxUSE_STATLINE=no'
8541 fi
8542
8543 else
8544
8545 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8546 if test "x$LINE" != x ; then
8547 eval "DEFAULT_$LINE"
8548 else
8549 no_cache=1
8550 fi
8551
8552 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8553
8554 fi;
8555
8556 eval "$ac_cv_use_statline"
8557 if test "$no_cache" != 1; then
8558 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8559 fi
8560
8561 if test "$wxUSE_STATLINE" = yes; then
8562 echo "$as_me:$LINENO: result: yes" >&5
8563 echo "${ECHO_T}yes" >&6
8564 else
8565 echo "$as_me:$LINENO: result: no" >&5
8566 echo "${ECHO_T}no" >&6
8567 fi
8568
8569
8570 enablestring=
8571 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8572 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8573 no_cache=0
8574 # Check whether --enable-stattext or --disable-stattext was given.
8575 if test "${enable_stattext+set}" = set; then
8576 enableval="$enable_stattext"
8577
8578 if test "$enableval" = yes; then
8579 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
8580 else
8581 ac_cv_use_stattext='wxUSE_STATTEXT=no'
8582 fi
8583
8584 else
8585
8586 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8587 if test "x$LINE" != x ; then
8588 eval "DEFAULT_$LINE"
8589 else
8590 no_cache=1
8591 fi
8592
8593 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8594
8595 fi;
8596
8597 eval "$ac_cv_use_stattext"
8598 if test "$no_cache" != 1; then
8599 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8600 fi
8601
8602 if test "$wxUSE_STATTEXT" = yes; then
8603 echo "$as_me:$LINENO: result: yes" >&5
8604 echo "${ECHO_T}yes" >&6
8605 else
8606 echo "$as_me:$LINENO: result: no" >&5
8607 echo "${ECHO_T}no" >&6
8608 fi
8609
8610
8611 enablestring=
8612 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8613 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8614 no_cache=0
8615 # Check whether --enable-statusbar or --disable-statusbar was given.
8616 if test "${enable_statusbar+set}" = set; then
8617 enableval="$enable_statusbar"
8618
8619 if test "$enableval" = yes; then
8620 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
8621 else
8622 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
8623 fi
8624
8625 else
8626
8627 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8628 if test "x$LINE" != x ; then
8629 eval "DEFAULT_$LINE"
8630 else
8631 no_cache=1
8632 fi
8633
8634 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8635
8636 fi;
8637
8638 eval "$ac_cv_use_statusbar"
8639 if test "$no_cache" != 1; then
8640 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8641 fi
8642
8643 if test "$wxUSE_STATUSBAR" = yes; then
8644 echo "$as_me:$LINENO: result: yes" >&5
8645 echo "${ECHO_T}yes" >&6
8646 else
8647 echo "$as_me:$LINENO: result: no" >&5
8648 echo "${ECHO_T}no" >&6
8649 fi
8650
8651
8652 enablestring=
8653 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8654 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8655 no_cache=0
8656 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8657 if test "${enable_tabdialog+set}" = set; then
8658 enableval="$enable_tabdialog"
8659
8660 if test "$enableval" = yes; then
8661 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
8662 else
8663 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
8664 fi
8665
8666 else
8667
8668 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8669 if test "x$LINE" != x ; then
8670 eval "DEFAULT_$LINE"
8671 else
8672 no_cache=1
8673 fi
8674
8675 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8676
8677 fi;
8678
8679 eval "$ac_cv_use_tabdialog"
8680 if test "$no_cache" != 1; then
8681 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8682 fi
8683
8684 if test "$wxUSE_TABDIALOG" = yes; then
8685 echo "$as_me:$LINENO: result: yes" >&5
8686 echo "${ECHO_T}yes" >&6
8687 else
8688 echo "$as_me:$LINENO: result: no" >&5
8689 echo "${ECHO_T}no" >&6
8690 fi
8691
8692
8693 enablestring=
8694 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8695 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8696 no_cache=0
8697 # Check whether --enable-textctrl or --disable-textctrl was given.
8698 if test "${enable_textctrl+set}" = set; then
8699 enableval="$enable_textctrl"
8700
8701 if test "$enableval" = yes; then
8702 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
8703 else
8704 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
8705 fi
8706
8707 else
8708
8709 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8710 if test "x$LINE" != x ; then
8711 eval "DEFAULT_$LINE"
8712 else
8713 no_cache=1
8714 fi
8715
8716 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8717
8718 fi;
8719
8720 eval "$ac_cv_use_textctrl"
8721 if test "$no_cache" != 1; then
8722 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8723 fi
8724
8725 if test "$wxUSE_TEXTCTRL" = yes; then
8726 echo "$as_me:$LINENO: result: yes" >&5
8727 echo "${ECHO_T}yes" >&6
8728 else
8729 echo "$as_me:$LINENO: result: no" >&5
8730 echo "${ECHO_T}no" >&6
8731 fi
8732
8733
8734 enablestring=
8735 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8736 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8737 no_cache=0
8738 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8739 if test "${enable_togglebtn+set}" = set; then
8740 enableval="$enable_togglebtn"
8741
8742 if test "$enableval" = yes; then
8743 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
8744 else
8745 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
8746 fi
8747
8748 else
8749
8750 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8751 if test "x$LINE" != x ; then
8752 eval "DEFAULT_$LINE"
8753 else
8754 no_cache=1
8755 fi
8756
8757 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8758
8759 fi;
8760
8761 eval "$ac_cv_use_togglebtn"
8762 if test "$no_cache" != 1; then
8763 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8764 fi
8765
8766 if test "$wxUSE_TOGGLEBTN" = yes; then
8767 echo "$as_me:$LINENO: result: yes" >&5
8768 echo "${ECHO_T}yes" >&6
8769 else
8770 echo "$as_me:$LINENO: result: no" >&5
8771 echo "${ECHO_T}no" >&6
8772 fi
8773
8774
8775 enablestring=
8776 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8777 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8778 no_cache=0
8779 # Check whether --enable-toolbar or --disable-toolbar was given.
8780 if test "${enable_toolbar+set}" = set; then
8781 enableval="$enable_toolbar"
8782
8783 if test "$enableval" = yes; then
8784 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
8785 else
8786 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
8787 fi
8788
8789 else
8790
8791 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8792 if test "x$LINE" != x ; then
8793 eval "DEFAULT_$LINE"
8794 else
8795 no_cache=1
8796 fi
8797
8798 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8799
8800 fi;
8801
8802 eval "$ac_cv_use_toolbar"
8803 if test "$no_cache" != 1; then
8804 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8805 fi
8806
8807 if test "$wxUSE_TOOLBAR" = yes; then
8808 echo "$as_me:$LINENO: result: yes" >&5
8809 echo "${ECHO_T}yes" >&6
8810 else
8811 echo "$as_me:$LINENO: result: no" >&5
8812 echo "${ECHO_T}no" >&6
8813 fi
8814
8815
8816 enablestring=
8817 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8818 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8819 no_cache=0
8820 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8821 if test "${enable_tbarnative+set}" = set; then
8822 enableval="$enable_tbarnative"
8823
8824 if test "$enableval" = yes; then
8825 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
8826 else
8827 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
8828 fi
8829
8830 else
8831
8832 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8833 if test "x$LINE" != x ; then
8834 eval "DEFAULT_$LINE"
8835 else
8836 no_cache=1
8837 fi
8838
8839 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8840
8841 fi;
8842
8843 eval "$ac_cv_use_tbarnative"
8844 if test "$no_cache" != 1; then
8845 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8846 fi
8847
8848 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8849 echo "$as_me:$LINENO: result: yes" >&5
8850 echo "${ECHO_T}yes" >&6
8851 else
8852 echo "$as_me:$LINENO: result: no" >&5
8853 echo "${ECHO_T}no" >&6
8854 fi
8855
8856
8857 enablestring=
8858 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8859 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8860 no_cache=0
8861 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8862 if test "${enable_tbarsmpl+set}" = set; then
8863 enableval="$enable_tbarsmpl"
8864
8865 if test "$enableval" = yes; then
8866 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
8867 else
8868 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
8869 fi
8870
8871 else
8872
8873 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8874 if test "x$LINE" != x ; then
8875 eval "DEFAULT_$LINE"
8876 else
8877 no_cache=1
8878 fi
8879
8880 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8881
8882 fi;
8883
8884 eval "$ac_cv_use_tbarsmpl"
8885 if test "$no_cache" != 1; then
8886 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8887 fi
8888
8889 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8890 echo "$as_me:$LINENO: result: yes" >&5
8891 echo "${ECHO_T}yes" >&6
8892 else
8893 echo "$as_me:$LINENO: result: no" >&5
8894 echo "${ECHO_T}no" >&6
8895 fi
8896
8897
8898 enablestring=
8899 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8900 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8901 no_cache=0
8902 # Check whether --enable-treectrl or --disable-treectrl was given.
8903 if test "${enable_treectrl+set}" = set; then
8904 enableval="$enable_treectrl"
8905
8906 if test "$enableval" = yes; then
8907 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8908 else
8909 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8910 fi
8911
8912 else
8913
8914 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8915 if test "x$LINE" != x ; then
8916 eval "DEFAULT_$LINE"
8917 else
8918 no_cache=1
8919 fi
8920
8921 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8922
8923 fi;
8924
8925 eval "$ac_cv_use_treectrl"
8926 if test "$no_cache" != 1; then
8927 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8928 fi
8929
8930 if test "$wxUSE_TREECTRL" = yes; then
8931 echo "$as_me:$LINENO: result: yes" >&5
8932 echo "${ECHO_T}yes" >&6
8933 else
8934 echo "$as_me:$LINENO: result: no" >&5
8935 echo "${ECHO_T}no" >&6
8936 fi
8937
8938
8939 enablestring=
8940 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8941 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8942 no_cache=0
8943 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8944 if test "${enable_tipwindow+set}" = set; then
8945 enableval="$enable_tipwindow"
8946
8947 if test "$enableval" = yes; then
8948 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8949 else
8950 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8951 fi
8952
8953 else
8954
8955 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8956 if test "x$LINE" != x ; then
8957 eval "DEFAULT_$LINE"
8958 else
8959 no_cache=1
8960 fi
8961
8962 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8963
8964 fi;
8965
8966 eval "$ac_cv_use_tipwindow"
8967 if test "$no_cache" != 1; then
8968 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8969 fi
8970
8971 if test "$wxUSE_TIPWINDOW" = yes; then
8972 echo "$as_me:$LINENO: result: yes" >&5
8973 echo "${ECHO_T}yes" >&6
8974 else
8975 echo "$as_me:$LINENO: result: no" >&5
8976 echo "${ECHO_T}no" >&6
8977 fi
8978
8979
8980 enablestring=
8981 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8982 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8983 no_cache=0
8984 # Check whether --enable-popupwin or --disable-popupwin was given.
8985 if test "${enable_popupwin+set}" = set; then
8986 enableval="$enable_popupwin"
8987
8988 if test "$enableval" = yes; then
8989 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8990 else
8991 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8992 fi
8993
8994 else
8995
8996 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8997 if test "x$LINE" != x ; then
8998 eval "DEFAULT_$LINE"
8999 else
9000 no_cache=1
9001 fi
9002
9003 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
9004
9005 fi;
9006
9007 eval "$ac_cv_use_popupwin"
9008 if test "$no_cache" != 1; then
9009 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9010 fi
9011
9012 if test "$wxUSE_POPUPWIN" = yes; then
9013 echo "$as_me:$LINENO: result: yes" >&5
9014 echo "${ECHO_T}yes" >&6
9015 else
9016 echo "$as_me:$LINENO: result: no" >&5
9017 echo "${ECHO_T}no" >&6
9018 fi
9019
9020
9021
9022
9023 enablestring=
9024 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9025 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9026 no_cache=0
9027 # Check whether --enable-commondlg or --disable-commondlg was given.
9028 if test "${enable_commondlg+set}" = set; then
9029 enableval="$enable_commondlg"
9030
9031 if test "$enableval" = yes; then
9032 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
9033 else
9034 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
9035 fi
9036
9037 else
9038
9039 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9040 if test "x$LINE" != x ; then
9041 eval "DEFAULT_$LINE"
9042 else
9043 no_cache=1
9044 fi
9045
9046 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9047
9048 fi;
9049
9050 eval "$ac_cv_use_commondlg"
9051 if test "$no_cache" != 1; then
9052 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9053 fi
9054
9055 if test "$wxUSE_COMMONDLGS" = yes; then
9056 echo "$as_me:$LINENO: result: yes" >&5
9057 echo "${ECHO_T}yes" >&6
9058 else
9059 echo "$as_me:$LINENO: result: no" >&5
9060 echo "${ECHO_T}no" >&6
9061 fi
9062
9063
9064 enablestring=
9065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9066 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9067 no_cache=0
9068 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9069 if test "${enable_choicedlg+set}" = set; then
9070 enableval="$enable_choicedlg"
9071
9072 if test "$enableval" = yes; then
9073 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
9074 else
9075 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
9076 fi
9077
9078 else
9079
9080 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9081 if test "x$LINE" != x ; then
9082 eval "DEFAULT_$LINE"
9083 else
9084 no_cache=1
9085 fi
9086
9087 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9088
9089 fi;
9090
9091 eval "$ac_cv_use_choicedlg"
9092 if test "$no_cache" != 1; then
9093 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9094 fi
9095
9096 if test "$wxUSE_CHOICEDLG" = yes; then
9097 echo "$as_me:$LINENO: result: yes" >&5
9098 echo "${ECHO_T}yes" >&6
9099 else
9100 echo "$as_me:$LINENO: result: no" >&5
9101 echo "${ECHO_T}no" >&6
9102 fi
9103
9104
9105 enablestring=
9106 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9107 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9108 no_cache=0
9109 # Check whether --enable-coldlg or --disable-coldlg was given.
9110 if test "${enable_coldlg+set}" = set; then
9111 enableval="$enable_coldlg"
9112
9113 if test "$enableval" = yes; then
9114 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
9115 else
9116 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
9117 fi
9118
9119 else
9120
9121 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9122 if test "x$LINE" != x ; then
9123 eval "DEFAULT_$LINE"
9124 else
9125 no_cache=1
9126 fi
9127
9128 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9129
9130 fi;
9131
9132 eval "$ac_cv_use_coldlg"
9133 if test "$no_cache" != 1; then
9134 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9135 fi
9136
9137 if test "$wxUSE_COLOURDLG" = yes; then
9138 echo "$as_me:$LINENO: result: yes" >&5
9139 echo "${ECHO_T}yes" >&6
9140 else
9141 echo "$as_me:$LINENO: result: no" >&5
9142 echo "${ECHO_T}no" >&6
9143 fi
9144
9145
9146 enablestring=
9147 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9148 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9149 no_cache=0
9150 # Check whether --enable-filedlg or --disable-filedlg was given.
9151 if test "${enable_filedlg+set}" = set; then
9152 enableval="$enable_filedlg"
9153
9154 if test "$enableval" = yes; then
9155 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
9156 else
9157 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
9158 fi
9159
9160 else
9161
9162 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9163 if test "x$LINE" != x ; then
9164 eval "DEFAULT_$LINE"
9165 else
9166 no_cache=1
9167 fi
9168
9169 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9170
9171 fi;
9172
9173 eval "$ac_cv_use_filedlg"
9174 if test "$no_cache" != 1; then
9175 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9176 fi
9177
9178 if test "$wxUSE_FILEDLG" = yes; then
9179 echo "$as_me:$LINENO: result: yes" >&5
9180 echo "${ECHO_T}yes" >&6
9181 else
9182 echo "$as_me:$LINENO: result: no" >&5
9183 echo "${ECHO_T}no" >&6
9184 fi
9185
9186
9187 enablestring=
9188 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9189 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9190 no_cache=0
9191 # Check whether --enable-finddlg or --disable-finddlg was given.
9192 if test "${enable_finddlg+set}" = set; then
9193 enableval="$enable_finddlg"
9194
9195 if test "$enableval" = yes; then
9196 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
9197 else
9198 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
9199 fi
9200
9201 else
9202
9203 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9204 if test "x$LINE" != x ; then
9205 eval "DEFAULT_$LINE"
9206 else
9207 no_cache=1
9208 fi
9209
9210 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9211
9212 fi;
9213
9214 eval "$ac_cv_use_finddlg"
9215 if test "$no_cache" != 1; then
9216 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9217 fi
9218
9219 if test "$wxUSE_FINDREPLDLG" = yes; then
9220 echo "$as_me:$LINENO: result: yes" >&5
9221 echo "${ECHO_T}yes" >&6
9222 else
9223 echo "$as_me:$LINENO: result: no" >&5
9224 echo "${ECHO_T}no" >&6
9225 fi
9226
9227
9228 enablestring=
9229 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9230 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9231 no_cache=0
9232 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9233 if test "${enable_fontdlg+set}" = set; then
9234 enableval="$enable_fontdlg"
9235
9236 if test "$enableval" = yes; then
9237 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
9238 else
9239 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
9240 fi
9241
9242 else
9243
9244 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9245 if test "x$LINE" != x ; then
9246 eval "DEFAULT_$LINE"
9247 else
9248 no_cache=1
9249 fi
9250
9251 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9252
9253 fi;
9254
9255 eval "$ac_cv_use_fontdlg"
9256 if test "$no_cache" != 1; then
9257 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9258 fi
9259
9260 if test "$wxUSE_FONTDLG" = yes; then
9261 echo "$as_me:$LINENO: result: yes" >&5
9262 echo "${ECHO_T}yes" >&6
9263 else
9264 echo "$as_me:$LINENO: result: no" >&5
9265 echo "${ECHO_T}no" >&6
9266 fi
9267
9268
9269 enablestring=
9270 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9271 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9272 no_cache=0
9273 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9274 if test "${enable_dirdlg+set}" = set; then
9275 enableval="$enable_dirdlg"
9276
9277 if test "$enableval" = yes; then
9278 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
9279 else
9280 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
9281 fi
9282
9283 else
9284
9285 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9286 if test "x$LINE" != x ; then
9287 eval "DEFAULT_$LINE"
9288 else
9289 no_cache=1
9290 fi
9291
9292 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9293
9294 fi;
9295
9296 eval "$ac_cv_use_dirdlg"
9297 if test "$no_cache" != 1; then
9298 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9299 fi
9300
9301 if test "$wxUSE_DIRDLG" = yes; then
9302 echo "$as_me:$LINENO: result: yes" >&5
9303 echo "${ECHO_T}yes" >&6
9304 else
9305 echo "$as_me:$LINENO: result: no" >&5
9306 echo "${ECHO_T}no" >&6
9307 fi
9308
9309
9310 enablestring=
9311 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9312 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9313 no_cache=0
9314 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9315 if test "${enable_msgdlg+set}" = set; then
9316 enableval="$enable_msgdlg"
9317
9318 if test "$enableval" = yes; then
9319 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
9320 else
9321 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
9322 fi
9323
9324 else
9325
9326 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9327 if test "x$LINE" != x ; then
9328 eval "DEFAULT_$LINE"
9329 else
9330 no_cache=1
9331 fi
9332
9333 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9334
9335 fi;
9336
9337 eval "$ac_cv_use_msgdlg"
9338 if test "$no_cache" != 1; then
9339 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9340 fi
9341
9342 if test "$wxUSE_MSGDLG" = yes; then
9343 echo "$as_me:$LINENO: result: yes" >&5
9344 echo "${ECHO_T}yes" >&6
9345 else
9346 echo "$as_me:$LINENO: result: no" >&5
9347 echo "${ECHO_T}no" >&6
9348 fi
9349
9350
9351 enablestring=
9352 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9353 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9354 no_cache=0
9355 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9356 if test "${enable_numberdlg+set}" = set; then
9357 enableval="$enable_numberdlg"
9358
9359 if test "$enableval" = yes; then
9360 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
9361 else
9362 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
9363 fi
9364
9365 else
9366
9367 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9368 if test "x$LINE" != x ; then
9369 eval "DEFAULT_$LINE"
9370 else
9371 no_cache=1
9372 fi
9373
9374 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9375
9376 fi;
9377
9378 eval "$ac_cv_use_numberdlg"
9379 if test "$no_cache" != 1; then
9380 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9381 fi
9382
9383 if test "$wxUSE_NUMBERDLG" = yes; then
9384 echo "$as_me:$LINENO: result: yes" >&5
9385 echo "${ECHO_T}yes" >&6
9386 else
9387 echo "$as_me:$LINENO: result: no" >&5
9388 echo "${ECHO_T}no" >&6
9389 fi
9390
9391
9392 enablestring=
9393 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9394 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9395 no_cache=0
9396 # Check whether --enable-splash or --disable-splash was given.
9397 if test "${enable_splash+set}" = set; then
9398 enableval="$enable_splash"
9399
9400 if test "$enableval" = yes; then
9401 ac_cv_use_splash='wxUSE_SPLASH=yes'
9402 else
9403 ac_cv_use_splash='wxUSE_SPLASH=no'
9404 fi
9405
9406 else
9407
9408 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9409 if test "x$LINE" != x ; then
9410 eval "DEFAULT_$LINE"
9411 else
9412 no_cache=1
9413 fi
9414
9415 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9416
9417 fi;
9418
9419 eval "$ac_cv_use_splash"
9420 if test "$no_cache" != 1; then
9421 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9422 fi
9423
9424 if test "$wxUSE_SPLASH" = yes; then
9425 echo "$as_me:$LINENO: result: yes" >&5
9426 echo "${ECHO_T}yes" >&6
9427 else
9428 echo "$as_me:$LINENO: result: no" >&5
9429 echo "${ECHO_T}no" >&6
9430 fi
9431
9432
9433 enablestring=
9434 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9435 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9436 no_cache=0
9437 # Check whether --enable-textdlg or --disable-textdlg was given.
9438 if test "${enable_textdlg+set}" = set; then
9439 enableval="$enable_textdlg"
9440
9441 if test "$enableval" = yes; then
9442 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
9443 else
9444 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
9445 fi
9446
9447 else
9448
9449 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9450 if test "x$LINE" != x ; then
9451 eval "DEFAULT_$LINE"
9452 else
9453 no_cache=1
9454 fi
9455
9456 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9457
9458 fi;
9459
9460 eval "$ac_cv_use_textdlg"
9461 if test "$no_cache" != 1; then
9462 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9463 fi
9464
9465 if test "$wxUSE_TEXTDLG" = yes; then
9466 echo "$as_me:$LINENO: result: yes" >&5
9467 echo "${ECHO_T}yes" >&6
9468 else
9469 echo "$as_me:$LINENO: result: no" >&5
9470 echo "${ECHO_T}no" >&6
9471 fi
9472
9473
9474 enablestring=
9475 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9476 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9477 no_cache=0
9478 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9479 if test "${enable_tipdlg+set}" = set; then
9480 enableval="$enable_tipdlg"
9481
9482 if test "$enableval" = yes; then
9483 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
9484 else
9485 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
9486 fi
9487
9488 else
9489
9490 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9491 if test "x$LINE" != x ; then
9492 eval "DEFAULT_$LINE"
9493 else
9494 no_cache=1
9495 fi
9496
9497 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9498
9499 fi;
9500
9501 eval "$ac_cv_use_tipdlg"
9502 if test "$no_cache" != 1; then
9503 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9504 fi
9505
9506 if test "$wxUSE_STARTUP_TIPS" = yes; then
9507 echo "$as_me:$LINENO: result: yes" >&5
9508 echo "${ECHO_T}yes" >&6
9509 else
9510 echo "$as_me:$LINENO: result: no" >&5
9511 echo "${ECHO_T}no" >&6
9512 fi
9513
9514
9515 enablestring=
9516 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9517 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9518 no_cache=0
9519 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9520 if test "${enable_progressdlg+set}" = set; then
9521 enableval="$enable_progressdlg"
9522
9523 if test "$enableval" = yes; then
9524 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
9525 else
9526 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
9527 fi
9528
9529 else
9530
9531 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9532 if test "x$LINE" != x ; then
9533 eval "DEFAULT_$LINE"
9534 else
9535 no_cache=1
9536 fi
9537
9538 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9539
9540 fi;
9541
9542 eval "$ac_cv_use_progressdlg"
9543 if test "$no_cache" != 1; then
9544 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9545 fi
9546
9547 if test "$wxUSE_PROGRESSDLG" = yes; then
9548 echo "$as_me:$LINENO: result: yes" >&5
9549 echo "${ECHO_T}yes" >&6
9550 else
9551 echo "$as_me:$LINENO: result: no" >&5
9552 echo "${ECHO_T}no" >&6
9553 fi
9554
9555
9556 enablestring=
9557 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9558 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9559 no_cache=0
9560 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9561 if test "${enable_wizarddlg+set}" = set; then
9562 enableval="$enable_wizarddlg"
9563
9564 if test "$enableval" = yes; then
9565 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
9566 else
9567 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
9568 fi
9569
9570 else
9571
9572 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9573 if test "x$LINE" != x ; then
9574 eval "DEFAULT_$LINE"
9575 else
9576 no_cache=1
9577 fi
9578
9579 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9580
9581 fi;
9582
9583 eval "$ac_cv_use_wizarddlg"
9584 if test "$no_cache" != 1; then
9585 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9586 fi
9587
9588 if test "$wxUSE_WIZARDDLG" = yes; then
9589 echo "$as_me:$LINENO: result: yes" >&5
9590 echo "${ECHO_T}yes" >&6
9591 else
9592 echo "$as_me:$LINENO: result: no" >&5
9593 echo "${ECHO_T}no" >&6
9594 fi
9595
9596
9597
9598
9599 enablestring=
9600 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9601 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9602 no_cache=0
9603 # Check whether --enable-menus or --disable-menus was given.
9604 if test "${enable_menus+set}" = set; then
9605 enableval="$enable_menus"
9606
9607 if test "$enableval" = yes; then
9608 ac_cv_use_menus='wxUSE_MENUS=yes'
9609 else
9610 ac_cv_use_menus='wxUSE_MENUS=no'
9611 fi
9612
9613 else
9614
9615 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9616 if test "x$LINE" != x ; then
9617 eval "DEFAULT_$LINE"
9618 else
9619 no_cache=1
9620 fi
9621
9622 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9623
9624 fi;
9625
9626 eval "$ac_cv_use_menus"
9627 if test "$no_cache" != 1; then
9628 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9629 fi
9630
9631 if test "$wxUSE_MENUS" = yes; then
9632 echo "$as_me:$LINENO: result: yes" >&5
9633 echo "${ECHO_T}yes" >&6
9634 else
9635 echo "$as_me:$LINENO: result: no" >&5
9636 echo "${ECHO_T}no" >&6
9637 fi
9638
9639
9640 enablestring=
9641 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9642 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9643 no_cache=0
9644 # Check whether --enable-miniframe or --disable-miniframe was given.
9645 if test "${enable_miniframe+set}" = set; then
9646 enableval="$enable_miniframe"
9647
9648 if test "$enableval" = yes; then
9649 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
9650 else
9651 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
9652 fi
9653
9654 else
9655
9656 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9657 if test "x$LINE" != x ; then
9658 eval "DEFAULT_$LINE"
9659 else
9660 no_cache=1
9661 fi
9662
9663 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9664
9665 fi;
9666
9667 eval "$ac_cv_use_miniframe"
9668 if test "$no_cache" != 1; then
9669 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9670 fi
9671
9672 if test "$wxUSE_MINIFRAME" = yes; then
9673 echo "$as_me:$LINENO: result: yes" >&5
9674 echo "${ECHO_T}yes" >&6
9675 else
9676 echo "$as_me:$LINENO: result: no" >&5
9677 echo "${ECHO_T}no" >&6
9678 fi
9679
9680
9681 enablestring=
9682 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9683 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9684 no_cache=0
9685 # Check whether --enable-tooltips or --disable-tooltips was given.
9686 if test "${enable_tooltips+set}" = set; then
9687 enableval="$enable_tooltips"
9688
9689 if test "$enableval" = yes; then
9690 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
9691 else
9692 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
9693 fi
9694
9695 else
9696
9697 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9698 if test "x$LINE" != x ; then
9699 eval "DEFAULT_$LINE"
9700 else
9701 no_cache=1
9702 fi
9703
9704 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9705
9706 fi;
9707
9708 eval "$ac_cv_use_tooltips"
9709 if test "$no_cache" != 1; then
9710 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9711 fi
9712
9713 if test "$wxUSE_TOOLTIPS" = yes; then
9714 echo "$as_me:$LINENO: result: yes" >&5
9715 echo "${ECHO_T}yes" >&6
9716 else
9717 echo "$as_me:$LINENO: result: no" >&5
9718 echo "${ECHO_T}no" >&6
9719 fi
9720
9721
9722 enablestring=
9723 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9724 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9725 no_cache=0
9726 # Check whether --enable-splines or --disable-splines was given.
9727 if test "${enable_splines+set}" = set; then
9728 enableval="$enable_splines"
9729
9730 if test "$enableval" = yes; then
9731 ac_cv_use_splines='wxUSE_SPLINES=yes'
9732 else
9733 ac_cv_use_splines='wxUSE_SPLINES=no'
9734 fi
9735
9736 else
9737
9738 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9739 if test "x$LINE" != x ; then
9740 eval "DEFAULT_$LINE"
9741 else
9742 no_cache=1
9743 fi
9744
9745 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9746
9747 fi;
9748
9749 eval "$ac_cv_use_splines"
9750 if test "$no_cache" != 1; then
9751 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9752 fi
9753
9754 if test "$wxUSE_SPLINES" = yes; then
9755 echo "$as_me:$LINENO: result: yes" >&5
9756 echo "${ECHO_T}yes" >&6
9757 else
9758 echo "$as_me:$LINENO: result: no" >&5
9759 echo "${ECHO_T}no" >&6
9760 fi
9761
9762
9763 enablestring=
9764 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
9765 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
9766 no_cache=0
9767 # Check whether --enable-mousewheel or --disable-mousewheel was given.
9768 if test "${enable_mousewheel+set}" = set; then
9769 enableval="$enable_mousewheel"
9770
9771 if test "$enableval" = yes; then
9772 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
9773 else
9774 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
9775 fi
9776
9777 else
9778
9779 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
9780 if test "x$LINE" != x ; then
9781 eval "DEFAULT_$LINE"
9782 else
9783 no_cache=1
9784 fi
9785
9786 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
9787
9788 fi;
9789
9790 eval "$ac_cv_use_mousewheel"
9791 if test "$no_cache" != 1; then
9792 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
9793 fi
9794
9795 if test "$wxUSE_MOUSEWHEEL" = yes; then
9796 echo "$as_me:$LINENO: result: yes" >&5
9797 echo "${ECHO_T}yes" >&6
9798 else
9799 echo "$as_me:$LINENO: result: no" >&5
9800 echo "${ECHO_T}no" >&6
9801 fi
9802
9803
9804 enablestring=
9805 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9806 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9807 no_cache=0
9808 # Check whether --enable-validators or --disable-validators was given.
9809 if test "${enable_validators+set}" = set; then
9810 enableval="$enable_validators"
9811
9812 if test "$enableval" = yes; then
9813 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
9814 else
9815 ac_cv_use_validators='wxUSE_VALIDATORS=no'
9816 fi
9817
9818 else
9819
9820 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9821 if test "x$LINE" != x ; then
9822 eval "DEFAULT_$LINE"
9823 else
9824 no_cache=1
9825 fi
9826
9827 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9828
9829 fi;
9830
9831 eval "$ac_cv_use_validators"
9832 if test "$no_cache" != 1; then
9833 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9834 fi
9835
9836 if test "$wxUSE_VALIDATORS" = yes; then
9837 echo "$as_me:$LINENO: result: yes" >&5
9838 echo "${ECHO_T}yes" >&6
9839 else
9840 echo "$as_me:$LINENO: result: no" >&5
9841 echo "${ECHO_T}no" >&6
9842 fi
9843
9844
9845 enablestring=
9846 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9847 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9848 no_cache=0
9849 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9850 if test "${enable_busyinfo+set}" = set; then
9851 enableval="$enable_busyinfo"
9852
9853 if test "$enableval" = yes; then
9854 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
9855 else
9856 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
9857 fi
9858
9859 else
9860
9861 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9862 if test "x$LINE" != x ; then
9863 eval "DEFAULT_$LINE"
9864 else
9865 no_cache=1
9866 fi
9867
9868 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9869
9870 fi;
9871
9872 eval "$ac_cv_use_busyinfo"
9873 if test "$no_cache" != 1; then
9874 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9875 fi
9876
9877 if test "$wxUSE_BUSYINFO" = yes; then
9878 echo "$as_me:$LINENO: result: yes" >&5
9879 echo "${ECHO_T}yes" >&6
9880 else
9881 echo "$as_me:$LINENO: result: no" >&5
9882 echo "${ECHO_T}no" >&6
9883 fi
9884
9885
9886 enablestring=
9887 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9888 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9889 no_cache=0
9890 # Check whether --enable-joystick or --disable-joystick was given.
9891 if test "${enable_joystick+set}" = set; then
9892 enableval="$enable_joystick"
9893
9894 if test "$enableval" = yes; then
9895 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
9896 else
9897 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
9898 fi
9899
9900 else
9901
9902 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9903 if test "x$LINE" != x ; then
9904 eval "DEFAULT_$LINE"
9905 else
9906 no_cache=1
9907 fi
9908
9909 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9910
9911 fi;
9912
9913 eval "$ac_cv_use_joystick"
9914 if test "$no_cache" != 1; then
9915 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9916 fi
9917
9918 if test "$wxUSE_JOYSTICK" = yes; then
9919 echo "$as_me:$LINENO: result: yes" >&5
9920 echo "${ECHO_T}yes" >&6
9921 else
9922 echo "$as_me:$LINENO: result: no" >&5
9923 echo "${ECHO_T}no" >&6
9924 fi
9925
9926
9927 enablestring=
9928 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9929 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9930 no_cache=0
9931 # Check whether --enable-metafile or --disable-metafile was given.
9932 if test "${enable_metafile+set}" = set; then
9933 enableval="$enable_metafile"
9934
9935 if test "$enableval" = yes; then
9936 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9937 else
9938 ac_cv_use_metafile='wxUSE_METAFILE=no'
9939 fi
9940
9941 else
9942
9943 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9944 if test "x$LINE" != x ; then
9945 eval "DEFAULT_$LINE"
9946 else
9947 no_cache=1
9948 fi
9949
9950 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9951
9952 fi;
9953
9954 eval "$ac_cv_use_metafile"
9955 if test "$no_cache" != 1; then
9956 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9957 fi
9958
9959 if test "$wxUSE_METAFILE" = yes; then
9960 echo "$as_me:$LINENO: result: yes" >&5
9961 echo "${ECHO_T}yes" >&6
9962 else
9963 echo "$as_me:$LINENO: result: no" >&5
9964 echo "${ECHO_T}no" >&6
9965 fi
9966
9967
9968 enablestring=
9969 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9970 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9971 no_cache=0
9972 # Check whether --enable-dragimage or --disable-dragimage was given.
9973 if test "${enable_dragimage+set}" = set; then
9974 enableval="$enable_dragimage"
9975
9976 if test "$enableval" = yes; then
9977 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9978 else
9979 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9980 fi
9981
9982 else
9983
9984 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9985 if test "x$LINE" != x ; then
9986 eval "DEFAULT_$LINE"
9987 else
9988 no_cache=1
9989 fi
9990
9991 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9992
9993 fi;
9994
9995 eval "$ac_cv_use_dragimage"
9996 if test "$no_cache" != 1; then
9997 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9998 fi
9999
10000 if test "$wxUSE_DRAGIMAGE" = yes; then
10001 echo "$as_me:$LINENO: result: yes" >&5
10002 echo "${ECHO_T}yes" >&6
10003 else
10004 echo "$as_me:$LINENO: result: no" >&5
10005 echo "${ECHO_T}no" >&6
10006 fi
10007
10008
10009 enablestring=
10010 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10011 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10012 no_cache=0
10013 # Check whether --enable-accessibility or --disable-accessibility was given.
10014 if test "${enable_accessibility+set}" = set; then
10015 enableval="$enable_accessibility"
10016
10017 if test "$enableval" = yes; then
10018 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
10019 else
10020 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
10021 fi
10022
10023 else
10024
10025 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10026 if test "x$LINE" != x ; then
10027 eval "DEFAULT_$LINE"
10028 else
10029 no_cache=1
10030 fi
10031
10032 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
10033
10034 fi;
10035
10036 eval "$ac_cv_use_accessibility"
10037 if test "$no_cache" != 1; then
10038 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10039 fi
10040
10041 if test "$wxUSE_ACCESSIBILITY" = yes; then
10042 echo "$as_me:$LINENO: result: yes" >&5
10043 echo "${ECHO_T}yes" >&6
10044 else
10045 echo "$as_me:$LINENO: result: no" >&5
10046 echo "${ECHO_T}no" >&6
10047 fi
10048
10049
10050
10051
10052 enablestring=
10053 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10054 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10055 no_cache=0
10056 # Check whether --enable-palette or --disable-palette was given.
10057 if test "${enable_palette+set}" = set; then
10058 enableval="$enable_palette"
10059
10060 if test "$enableval" = yes; then
10061 ac_cv_use_palette='wxUSE_PALETTE=yes'
10062 else
10063 ac_cv_use_palette='wxUSE_PALETTE=no'
10064 fi
10065
10066 else
10067
10068 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10069 if test "x$LINE" != x ; then
10070 eval "DEFAULT_$LINE"
10071 else
10072 no_cache=1
10073 fi
10074
10075 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
10076
10077 fi;
10078
10079 eval "$ac_cv_use_palette"
10080 if test "$no_cache" != 1; then
10081 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10082 fi
10083
10084 if test "$wxUSE_PALETTE" = yes; then
10085 echo "$as_me:$LINENO: result: yes" >&5
10086 echo "${ECHO_T}yes" >&6
10087 else
10088 echo "$as_me:$LINENO: result: no" >&5
10089 echo "${ECHO_T}no" >&6
10090 fi
10091
10092
10093 enablestring=
10094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10095 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10096 no_cache=0
10097 # Check whether --enable-image or --disable-image was given.
10098 if test "${enable_image+set}" = set; then
10099 enableval="$enable_image"
10100
10101 if test "$enableval" = yes; then
10102 ac_cv_use_image='wxUSE_IMAGE=yes'
10103 else
10104 ac_cv_use_image='wxUSE_IMAGE=no'
10105 fi
10106
10107 else
10108
10109 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10110 if test "x$LINE" != x ; then
10111 eval "DEFAULT_$LINE"
10112 else
10113 no_cache=1
10114 fi
10115
10116 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
10117
10118 fi;
10119
10120 eval "$ac_cv_use_image"
10121 if test "$no_cache" != 1; then
10122 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10123 fi
10124
10125 if test "$wxUSE_IMAGE" = yes; then
10126 echo "$as_me:$LINENO: result: yes" >&5
10127 echo "${ECHO_T}yes" >&6
10128 else
10129 echo "$as_me:$LINENO: result: no" >&5
10130 echo "${ECHO_T}no" >&6
10131 fi
10132
10133
10134 enablestring=
10135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10136 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10137 no_cache=0
10138 # Check whether --enable-gif or --disable-gif was given.
10139 if test "${enable_gif+set}" = set; then
10140 enableval="$enable_gif"
10141
10142 if test "$enableval" = yes; then
10143 ac_cv_use_gif='wxUSE_GIF=yes'
10144 else
10145 ac_cv_use_gif='wxUSE_GIF=no'
10146 fi
10147
10148 else
10149
10150 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10151 if test "x$LINE" != x ; then
10152 eval "DEFAULT_$LINE"
10153 else
10154 no_cache=1
10155 fi
10156
10157 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
10158
10159 fi;
10160
10161 eval "$ac_cv_use_gif"
10162 if test "$no_cache" != 1; then
10163 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10164 fi
10165
10166 if test "$wxUSE_GIF" = yes; then
10167 echo "$as_me:$LINENO: result: yes" >&5
10168 echo "${ECHO_T}yes" >&6
10169 else
10170 echo "$as_me:$LINENO: result: no" >&5
10171 echo "${ECHO_T}no" >&6
10172 fi
10173
10174
10175 enablestring=
10176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10177 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10178 no_cache=0
10179 # Check whether --enable-pcx or --disable-pcx was given.
10180 if test "${enable_pcx+set}" = set; then
10181 enableval="$enable_pcx"
10182
10183 if test "$enableval" = yes; then
10184 ac_cv_use_pcx='wxUSE_PCX=yes'
10185 else
10186 ac_cv_use_pcx='wxUSE_PCX=no'
10187 fi
10188
10189 else
10190
10191 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10192 if test "x$LINE" != x ; then
10193 eval "DEFAULT_$LINE"
10194 else
10195 no_cache=1
10196 fi
10197
10198 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
10199
10200 fi;
10201
10202 eval "$ac_cv_use_pcx"
10203 if test "$no_cache" != 1; then
10204 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10205 fi
10206
10207 if test "$wxUSE_PCX" = yes; then
10208 echo "$as_me:$LINENO: result: yes" >&5
10209 echo "${ECHO_T}yes" >&6
10210 else
10211 echo "$as_me:$LINENO: result: no" >&5
10212 echo "${ECHO_T}no" >&6
10213 fi
10214
10215
10216 enablestring=
10217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10218 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10219 no_cache=0
10220 # Check whether --enable-iff or --disable-iff was given.
10221 if test "${enable_iff+set}" = set; then
10222 enableval="$enable_iff"
10223
10224 if test "$enableval" = yes; then
10225 ac_cv_use_iff='wxUSE_IFF=yes'
10226 else
10227 ac_cv_use_iff='wxUSE_IFF=no'
10228 fi
10229
10230 else
10231
10232 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10233 if test "x$LINE" != x ; then
10234 eval "DEFAULT_$LINE"
10235 else
10236 no_cache=1
10237 fi
10238
10239 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
10240
10241 fi;
10242
10243 eval "$ac_cv_use_iff"
10244 if test "$no_cache" != 1; then
10245 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10246 fi
10247
10248 if test "$wxUSE_IFF" = yes; then
10249 echo "$as_me:$LINENO: result: yes" >&5
10250 echo "${ECHO_T}yes" >&6
10251 else
10252 echo "$as_me:$LINENO: result: no" >&5
10253 echo "${ECHO_T}no" >&6
10254 fi
10255
10256
10257 enablestring=
10258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10259 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10260 no_cache=0
10261 # Check whether --enable-pnm or --disable-pnm was given.
10262 if test "${enable_pnm+set}" = set; then
10263 enableval="$enable_pnm"
10264
10265 if test "$enableval" = yes; then
10266 ac_cv_use_pnm='wxUSE_PNM=yes'
10267 else
10268 ac_cv_use_pnm='wxUSE_PNM=no'
10269 fi
10270
10271 else
10272
10273 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10274 if test "x$LINE" != x ; then
10275 eval "DEFAULT_$LINE"
10276 else
10277 no_cache=1
10278 fi
10279
10280 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10281
10282 fi;
10283
10284 eval "$ac_cv_use_pnm"
10285 if test "$no_cache" != 1; then
10286 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10287 fi
10288
10289 if test "$wxUSE_PNM" = yes; then
10290 echo "$as_me:$LINENO: result: yes" >&5
10291 echo "${ECHO_T}yes" >&6
10292 else
10293 echo "$as_me:$LINENO: result: no" >&5
10294 echo "${ECHO_T}no" >&6
10295 fi
10296
10297
10298 enablestring=
10299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10300 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10301 no_cache=0
10302 # Check whether --enable-xpm or --disable-xpm was given.
10303 if test "${enable_xpm+set}" = set; then
10304 enableval="$enable_xpm"
10305
10306 if test "$enableval" = yes; then
10307 ac_cv_use_xpm='wxUSE_XPM=yes'
10308 else
10309 ac_cv_use_xpm='wxUSE_XPM=no'
10310 fi
10311
10312 else
10313
10314 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10315 if test "x$LINE" != x ; then
10316 eval "DEFAULT_$LINE"
10317 else
10318 no_cache=1
10319 fi
10320
10321 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10322
10323 fi;
10324
10325 eval "$ac_cv_use_xpm"
10326 if test "$no_cache" != 1; then
10327 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10328 fi
10329
10330 if test "$wxUSE_XPM" = yes; then
10331 echo "$as_me:$LINENO: result: yes" >&5
10332 echo "${ECHO_T}yes" >&6
10333 else
10334 echo "$as_me:$LINENO: result: no" >&5
10335 echo "${ECHO_T}no" >&6
10336 fi
10337
10338
10339 enablestring=
10340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10341 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10342 no_cache=0
10343 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10344 if test "${enable_ico_cur+set}" = set; then
10345 enableval="$enable_ico_cur"
10346
10347 if test "$enableval" = yes; then
10348 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
10349 else
10350 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
10351 fi
10352
10353 else
10354
10355 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10356 if test "x$LINE" != x ; then
10357 eval "DEFAULT_$LINE"
10358 else
10359 no_cache=1
10360 fi
10361
10362 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10363
10364 fi;
10365
10366 eval "$ac_cv_use_ico_cur"
10367 if test "$no_cache" != 1; then
10368 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10369 fi
10370
10371 if test "$wxUSE_ICO_CUR" = yes; then
10372 echo "$as_me:$LINENO: result: yes" >&5
10373 echo "${ECHO_T}yes" >&6
10374 else
10375 echo "$as_me:$LINENO: result: no" >&5
10376 echo "${ECHO_T}no" >&6
10377 fi
10378
10379
10380 fi
10381
10382
10383
10384 # Check whether --with-flavour or --without-flavour was given.
10385 if test "${with_flavour+set}" = set; then
10386 withval="$with_flavour"
10387 WX_FLAVOUR="$withval"
10388 fi;
10389
10390
10391
10392 enablestring=
10393 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10394 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10395 no_cache=0
10396 # Check whether --enable-official_build or --disable-official_build was given.
10397 if test "${enable_official_build+set}" = set; then
10398 enableval="$enable_official_build"
10399
10400 if test "$enableval" = yes; then
10401 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
10402 else
10403 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
10404 fi
10405
10406 else
10407
10408 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10409 if test "x$LINE" != x ; then
10410 eval "DEFAULT_$LINE"
10411 else
10412 no_cache=1
10413 fi
10414
10415 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10416
10417 fi;
10418
10419 eval "$ac_cv_use_official_build"
10420 if test "$no_cache" != 1; then
10421 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10422 fi
10423
10424 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10425 echo "$as_me:$LINENO: result: yes" >&5
10426 echo "${ECHO_T}yes" >&6
10427 else
10428 echo "$as_me:$LINENO: result: no" >&5
10429 echo "${ECHO_T}no" >&6
10430 fi
10431
10432 # Check whether --enable-vendor or --disable-vendor was given.
10433 if test "${enable_vendor+set}" = set; then
10434 enableval="$enable_vendor"
10435 VENDOR="$enableval"
10436 fi;
10437 if test "x$VENDOR" = "x"; then
10438 VENDOR="custom"
10439 fi
10440
10441
10442
10443
10444 echo "saving argument cache $wx_arg_cache_file"
10445 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
10446
10447
10448
10449 echo "$as_me:$LINENO: checking for toolkit" >&5
10450 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10451
10452 # In Wine, we need to default to MSW, not GTK or MOTIF
10453 if test "$wxUSE_WINE" = "yes"; then
10454 DEFAULT_DEFAULT_wxUSE_GTK=0
10455 DEFAULT_DEFAULT_wxUSE_MOTIF=0
10456 DEFAULT_DEFAULT_wxUSE_MSW=1
10457 wxUSE_SHARED=no
10458 fi
10459
10460
10461 if test "$wxUSE_GUI" = "yes"; then
10462
10463 if test "$USE_BEOS" = 1; then
10464 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10465 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10466 { (exit 1); exit 1; }; }
10467 fi
10468
10469 if test "$TOOLKIT_GIVEN" = 1; then
10470 for toolkit in `echo $ALL_TOOLKITS`; do
10471 var=wxUSE_$toolkit
10472 eval "value=\$${var}"
10473 if test "x$value" = "xno"; then
10474 eval "$var=0"
10475 elif test "x$value" != "x"; then
10476 eval "$var=1"
10477 fi
10478
10479 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
10480 eval "wx${toolkit}_VERSION=$value"
10481 fi
10482 done
10483 else
10484 for toolkit in `echo $ALL_TOOLKITS`; do
10485 if test "$has_toolkit_in_cache" != 1; then
10486 var=DEFAULT_DEFAULT_wxUSE_$toolkit
10487 else
10488 var=DEFAULT_wxUSE_$toolkit
10489
10490 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
10491 if test "x$version" != "x"; then
10492 eval "wx${toolkit}_VERSION=$version"
10493 fi
10494 fi
10495 eval "wxUSE_$toolkit=\$${var}"
10496 done
10497 fi
10498
10499 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10500 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10501 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10502
10503 case "${host}" in
10504 *-pc-os2_emx | *-pc-os2-emx )
10505 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10506 esac
10507
10508 case "$NUM_TOOLKITS" in
10509 1)
10510 ;;
10511 0)
10512 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10513 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10514 { (exit 1); exit 1; }; }
10515 ;;
10516 *)
10517 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10518 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10519 { (exit 1); exit 1; }; }
10520 esac
10521
10522 # to be removed when --disable-gtk2 isn't needed
10523 if test "x$wxUSE_GTK2" = "xyes"; then
10524 wxGTK_VERSION=2
10525 elif test "x$wxUSE_GTK2" = "xno"; then
10526 wxGTK_VERSION=1
10527 fi
10528
10529 for toolkit in `echo $ALL_TOOLKITS`; do
10530 var=wxUSE_$toolkit
10531 eval "value=\$${var}"
10532 if test "x$value" != x; then
10533 cache_var=CACHE_$toolkit
10534 eval "cache=\$${cache_var}"
10535 if test "$cache" = 1; then
10536 echo "$var=$value" >> ${wx_arg_cache_file}
10537 eval "version=\$wx${toolkit}_VERSION"
10538 if test "x$version" != "x"; then
10539 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
10540 fi
10541 fi
10542 if test "$value" = 1; then
10543 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10544 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10545 echo "${ECHO_T}$toolkit_echo" >&6
10546 fi
10547 fi
10548 done
10549 else
10550 if test "x$host_alias" != "x"; then
10551 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10552 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10553 else
10554 echo "$as_me:$LINENO: result: base only" >&5
10555 echo "${ECHO_T}base only" >&6
10556 fi
10557 fi
10558
10559 wants_win32=0
10560 doesnt_want_win32=0
10561 case "${host}" in
10562 *-*-cygwin*)
10563 if test "$wxUSE_MSW" = 1 ; then
10564 wants_win32=1
10565 BAKEFILE_FORCE_PLATFORM=win32
10566 else
10567 doesnt_want_win32=1
10568 fi
10569 ;;
10570 *-*-mingw*)
10571 wants_win32=1
10572 ;;
10573 esac
10574
10575 if test "$wxUSE_WINE" = "yes"; then
10576 wants_win32=1
10577 CC=winegcc
10578 CXX=wineg++
10579 RESCOMP=wrc
10580 LDFLAGS_GUI="-mwindows"
10581 fi
10582
10583 if test "$wants_win32" = 1 ; then
10584 USE_UNIX=0
10585 USE_WIN32=1
10586 cat >>confdefs.h <<\_ACEOF
10587 #define __WIN32__ 1
10588 _ACEOF
10589
10590 cat >>confdefs.h <<\_ACEOF
10591 #define __WIN95__ 1
10592 _ACEOF
10593
10594 cat >>confdefs.h <<\_ACEOF
10595 #define __WINDOWS__ 1
10596 _ACEOF
10597
10598 cat >>confdefs.h <<\_ACEOF
10599 #define __GNUWIN32__ 1
10600 _ACEOF
10601
10602 cat >>confdefs.h <<\_ACEOF
10603 #define STRICT 1
10604 _ACEOF
10605
10606 cat >>confdefs.h <<\_ACEOF
10607 #define WINVER 0x0400
10608 _ACEOF
10609
10610 fi
10611 if test "$doesnt_want_win32" = 1 ; then
10612 USE_UNIX=1
10613 USE_WIN32=0
10614 fi
10615
10616 if test "$USE_UNIX" = 1 ; then
10617 wxUSE_UNIX=yes
10618 cat >>confdefs.h <<\_ACEOF
10619 #define __UNIX__ 1
10620 _ACEOF
10621
10622 fi
10623
10624
10625 cat >confcache <<\_ACEOF
10626 # This file is a shell script that caches the results of configure
10627 # tests run on this system so they can be shared between configure
10628 # scripts and configure runs, see configure's option --config-cache.
10629 # It is not useful on other systems. If it contains results you don't
10630 # want to keep, you may remove or edit it.
10631 #
10632 # config.status only pays attention to the cache file if you give it
10633 # the --recheck option to rerun configure.
10634 #
10635 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10636 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10637 # following values.
10638
10639 _ACEOF
10640
10641 # The following way of writing the cache mishandles newlines in values,
10642 # but we know of no workaround that is simple, portable, and efficient.
10643 # So, don't put newlines in cache variables' values.
10644 # Ultrix sh set writes to stderr and can't be redirected directly,
10645 # and sets the high bit in the cache file unless we assign to the vars.
10646 {
10647 (set) 2>&1 |
10648 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10649 *ac_space=\ *)
10650 # `set' does not quote correctly, so add quotes (double-quote
10651 # substitution turns \\\\ into \\, and sed turns \\ into \).
10652 sed -n \
10653 "s/'/'\\\\''/g;
10654 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10655 ;;
10656 *)
10657 # `set' quotes correctly as required by POSIX, so do not add quotes.
10658 sed -n \
10659 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10660 ;;
10661 esac;
10662 } |
10663 sed '
10664 t clear
10665 : clear
10666 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10667 t end
10668 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10669 : end' >>confcache
10670 if diff $cache_file confcache >/dev/null 2>&1; then :; else
10671 if test -w $cache_file; then
10672 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10673 cat confcache >$cache_file
10674 else
10675 echo "not updating unwritable cache $cache_file"
10676 fi
10677 fi
10678 rm -f confcache
10679
10680 if test "$build" != "$host" ; then
10681 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX" = 1; then
10682 CC=$host_alias-gcc
10683 CXX=$host_alias-c++
10684 AR=$host_alias-ar
10685 RANLIB=$host_alias-ranlib
10686 DLLTOOL=$host_alias-dlltool
10687 RESCOMP=$host_alias-windres
10688 STRIP=$host_alias-strip
10689 elif test "x$CC" '!=' "x"; then
10690 echo "You set CC, I assume you know what you are doing."
10691 else
10692 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10693 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10694 { (exit 1); exit 1; }; }
10695 fi
10696 fi
10697
10698 CFLAGS=${CFLAGS:=}
10699
10700
10701 ac_ext=c
10702 ac_cpp='$CPP $CPPFLAGS'
10703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10706 if test -n "$ac_tool_prefix"; then
10707 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10708 set dummy ${ac_tool_prefix}gcc; ac_word=$2
10709 echo "$as_me:$LINENO: checking for $ac_word" >&5
10710 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10711 if test "${ac_cv_prog_CC+set}" = set; then
10712 echo $ECHO_N "(cached) $ECHO_C" >&6
10713 else
10714 if test -n "$CC"; then
10715 ac_cv_prog_CC="$CC" # Let the user override the test.
10716 else
10717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10718 for as_dir in $PATH
10719 do
10720 IFS=$as_save_IFS
10721 test -z "$as_dir" && as_dir=.
10722 for ac_exec_ext in '' $ac_executable_extensions; do
10723 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10724 ac_cv_prog_CC="${ac_tool_prefix}gcc"
10725 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10726 break 2
10727 fi
10728 done
10729 done
10730
10731 fi
10732 fi
10733 CC=$ac_cv_prog_CC
10734 if test -n "$CC"; then
10735 echo "$as_me:$LINENO: result: $CC" >&5
10736 echo "${ECHO_T}$CC" >&6
10737 else
10738 echo "$as_me:$LINENO: result: no" >&5
10739 echo "${ECHO_T}no" >&6
10740 fi
10741
10742 fi
10743 if test -z "$ac_cv_prog_CC"; then
10744 ac_ct_CC=$CC
10745 # Extract the first word of "gcc", so it can be a program name with args.
10746 set dummy gcc; ac_word=$2
10747 echo "$as_me:$LINENO: checking for $ac_word" >&5
10748 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10749 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10750 echo $ECHO_N "(cached) $ECHO_C" >&6
10751 else
10752 if test -n "$ac_ct_CC"; then
10753 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10754 else
10755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10756 for as_dir in $PATH
10757 do
10758 IFS=$as_save_IFS
10759 test -z "$as_dir" && as_dir=.
10760 for ac_exec_ext in '' $ac_executable_extensions; do
10761 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10762 ac_cv_prog_ac_ct_CC="gcc"
10763 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10764 break 2
10765 fi
10766 done
10767 done
10768
10769 fi
10770 fi
10771 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10772 if test -n "$ac_ct_CC"; then
10773 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10774 echo "${ECHO_T}$ac_ct_CC" >&6
10775 else
10776 echo "$as_me:$LINENO: result: no" >&5
10777 echo "${ECHO_T}no" >&6
10778 fi
10779
10780 CC=$ac_ct_CC
10781 else
10782 CC="$ac_cv_prog_CC"
10783 fi
10784
10785 if test -z "$CC"; then
10786 if test -n "$ac_tool_prefix"; then
10787 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10788 set dummy ${ac_tool_prefix}cc; ac_word=$2
10789 echo "$as_me:$LINENO: checking for $ac_word" >&5
10790 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10791 if test "${ac_cv_prog_CC+set}" = set; then
10792 echo $ECHO_N "(cached) $ECHO_C" >&6
10793 else
10794 if test -n "$CC"; then
10795 ac_cv_prog_CC="$CC" # Let the user override the test.
10796 else
10797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10798 for as_dir in $PATH
10799 do
10800 IFS=$as_save_IFS
10801 test -z "$as_dir" && as_dir=.
10802 for ac_exec_ext in '' $ac_executable_extensions; do
10803 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10804 ac_cv_prog_CC="${ac_tool_prefix}cc"
10805 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10806 break 2
10807 fi
10808 done
10809 done
10810
10811 fi
10812 fi
10813 CC=$ac_cv_prog_CC
10814 if test -n "$CC"; then
10815 echo "$as_me:$LINENO: result: $CC" >&5
10816 echo "${ECHO_T}$CC" >&6
10817 else
10818 echo "$as_me:$LINENO: result: no" >&5
10819 echo "${ECHO_T}no" >&6
10820 fi
10821
10822 fi
10823 if test -z "$ac_cv_prog_CC"; then
10824 ac_ct_CC=$CC
10825 # Extract the first word of "cc", so it can be a program name with args.
10826 set dummy cc; ac_word=$2
10827 echo "$as_me:$LINENO: checking for $ac_word" >&5
10828 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10829 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10830 echo $ECHO_N "(cached) $ECHO_C" >&6
10831 else
10832 if test -n "$ac_ct_CC"; then
10833 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10834 else
10835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10836 for as_dir in $PATH
10837 do
10838 IFS=$as_save_IFS
10839 test -z "$as_dir" && as_dir=.
10840 for ac_exec_ext in '' $ac_executable_extensions; do
10841 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10842 ac_cv_prog_ac_ct_CC="cc"
10843 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10844 break 2
10845 fi
10846 done
10847 done
10848
10849 fi
10850 fi
10851 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10852 if test -n "$ac_ct_CC"; then
10853 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10854 echo "${ECHO_T}$ac_ct_CC" >&6
10855 else
10856 echo "$as_me:$LINENO: result: no" >&5
10857 echo "${ECHO_T}no" >&6
10858 fi
10859
10860 CC=$ac_ct_CC
10861 else
10862 CC="$ac_cv_prog_CC"
10863 fi
10864
10865 fi
10866 if test -z "$CC"; then
10867 # Extract the first word of "cc", so it can be a program name with args.
10868 set dummy cc; ac_word=$2
10869 echo "$as_me:$LINENO: checking for $ac_word" >&5
10870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10871 if test "${ac_cv_prog_CC+set}" = set; then
10872 echo $ECHO_N "(cached) $ECHO_C" >&6
10873 else
10874 if test -n "$CC"; then
10875 ac_cv_prog_CC="$CC" # Let the user override the test.
10876 else
10877 ac_prog_rejected=no
10878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10879 for as_dir in $PATH
10880 do
10881 IFS=$as_save_IFS
10882 test -z "$as_dir" && as_dir=.
10883 for ac_exec_ext in '' $ac_executable_extensions; do
10884 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10885 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10886 ac_prog_rejected=yes
10887 continue
10888 fi
10889 ac_cv_prog_CC="cc"
10890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10891 break 2
10892 fi
10893 done
10894 done
10895
10896 if test $ac_prog_rejected = yes; then
10897 # We found a bogon in the path, so make sure we never use it.
10898 set dummy $ac_cv_prog_CC
10899 shift
10900 if test $# != 0; then
10901 # We chose a different compiler from the bogus one.
10902 # However, it has the same basename, so the bogon will be chosen
10903 # first if we set CC to just the basename; use the full file name.
10904 shift
10905 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10906 fi
10907 fi
10908 fi
10909 fi
10910 CC=$ac_cv_prog_CC
10911 if test -n "$CC"; then
10912 echo "$as_me:$LINENO: result: $CC" >&5
10913 echo "${ECHO_T}$CC" >&6
10914 else
10915 echo "$as_me:$LINENO: result: no" >&5
10916 echo "${ECHO_T}no" >&6
10917 fi
10918
10919 fi
10920 if test -z "$CC"; then
10921 if test -n "$ac_tool_prefix"; then
10922 for ac_prog in cl
10923 do
10924 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10925 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10926 echo "$as_me:$LINENO: checking for $ac_word" >&5
10927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10928 if test "${ac_cv_prog_CC+set}" = set; then
10929 echo $ECHO_N "(cached) $ECHO_C" >&6
10930 else
10931 if test -n "$CC"; then
10932 ac_cv_prog_CC="$CC" # Let the user override the test.
10933 else
10934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10935 for as_dir in $PATH
10936 do
10937 IFS=$as_save_IFS
10938 test -z "$as_dir" && as_dir=.
10939 for ac_exec_ext in '' $ac_executable_extensions; do
10940 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10941 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10943 break 2
10944 fi
10945 done
10946 done
10947
10948 fi
10949 fi
10950 CC=$ac_cv_prog_CC
10951 if test -n "$CC"; then
10952 echo "$as_me:$LINENO: result: $CC" >&5
10953 echo "${ECHO_T}$CC" >&6
10954 else
10955 echo "$as_me:$LINENO: result: no" >&5
10956 echo "${ECHO_T}no" >&6
10957 fi
10958
10959 test -n "$CC" && break
10960 done
10961 fi
10962 if test -z "$CC"; then
10963 ac_ct_CC=$CC
10964 for ac_prog in cl
10965 do
10966 # Extract the first word of "$ac_prog", so it can be a program name with args.
10967 set dummy $ac_prog; ac_word=$2
10968 echo "$as_me:$LINENO: checking for $ac_word" >&5
10969 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10970 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10971 echo $ECHO_N "(cached) $ECHO_C" >&6
10972 else
10973 if test -n "$ac_ct_CC"; then
10974 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10975 else
10976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10977 for as_dir in $PATH
10978 do
10979 IFS=$as_save_IFS
10980 test -z "$as_dir" && as_dir=.
10981 for ac_exec_ext in '' $ac_executable_extensions; do
10982 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10983 ac_cv_prog_ac_ct_CC="$ac_prog"
10984 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10985 break 2
10986 fi
10987 done
10988 done
10989
10990 fi
10991 fi
10992 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10993 if test -n "$ac_ct_CC"; then
10994 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10995 echo "${ECHO_T}$ac_ct_CC" >&6
10996 else
10997 echo "$as_me:$LINENO: result: no" >&5
10998 echo "${ECHO_T}no" >&6
10999 fi
11000
11001 test -n "$ac_ct_CC" && break
11002 done
11003
11004 CC=$ac_ct_CC
11005 fi
11006
11007 fi
11008
11009
11010 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11011 See \`config.log' for more details." >&5
11012 echo "$as_me: error: no acceptable C compiler found in \$PATH
11013 See \`config.log' for more details." >&2;}
11014 { (exit 1); exit 1; }; }
11015
11016 # Provide some information about the compiler.
11017 echo "$as_me:$LINENO:" \
11018 "checking for C compiler version" >&5
11019 ac_compiler=`set X $ac_compile; echo $2`
11020 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11021 (eval $ac_compiler --version </dev/null >&5) 2>&5
11022 ac_status=$?
11023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11024 (exit $ac_status); }
11025 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11026 (eval $ac_compiler -v </dev/null >&5) 2>&5
11027 ac_status=$?
11028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11029 (exit $ac_status); }
11030 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11031 (eval $ac_compiler -V </dev/null >&5) 2>&5
11032 ac_status=$?
11033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11034 (exit $ac_status); }
11035
11036 cat >conftest.$ac_ext <<_ACEOF
11037 /* confdefs.h. */
11038 _ACEOF
11039 cat confdefs.h >>conftest.$ac_ext
11040 cat >>conftest.$ac_ext <<_ACEOF
11041 /* end confdefs.h. */
11042
11043 int
11044 main ()
11045 {
11046
11047 ;
11048 return 0;
11049 }
11050 _ACEOF
11051 ac_clean_files_save=$ac_clean_files
11052 ac_clean_files="$ac_clean_files a.out a.exe b.out"
11053 # Try to create an executable without -o first, disregard a.out.
11054 # It will help us diagnose broken compilers, and finding out an intuition
11055 # of exeext.
11056 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11057 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11058 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11059 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11060 (eval $ac_link_default) 2>&5
11061 ac_status=$?
11062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11063 (exit $ac_status); }; then
11064 # Find the output, starting from the most likely. This scheme is
11065 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11066 # resort.
11067
11068 # Be careful to initialize this variable, since it used to be cached.
11069 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11070 ac_cv_exeext=
11071 # b.out is created by i960 compilers.
11072 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
11073 do
11074 test -f "$ac_file" || continue
11075 case $ac_file in
11076 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
11077 ;;
11078 conftest.$ac_ext )
11079 # This is the source file.
11080 ;;
11081 [ab].out )
11082 # We found the default executable, but exeext='' is most
11083 # certainly right.
11084 break;;
11085 *.* )
11086 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
11087 # FIXME: I believe we export ac_cv_exeext for Libtool,
11088 # but it would be cool to find out if it's true. Does anybody
11089 # maintain Libtool? --akim.
11090 export ac_cv_exeext
11091 break;;
11092 * )
11093 break;;
11094 esac
11095 done
11096 else
11097 echo "$as_me: failed program was:" >&5
11098 sed 's/^/| /' conftest.$ac_ext >&5
11099
11100 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11101 See \`config.log' for more details." >&5
11102 echo "$as_me: error: C compiler cannot create executables
11103 See \`config.log' for more details." >&2;}
11104 { (exit 77); exit 77; }; }
11105 fi
11106
11107 ac_exeext=$ac_cv_exeext
11108 echo "$as_me:$LINENO: result: $ac_file" >&5
11109 echo "${ECHO_T}$ac_file" >&6
11110
11111 # Check the compiler produces executables we can run. If not, either
11112 # the compiler is broken, or we cross compile.
11113 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11114 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11115 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11116 # If not cross compiling, check that we can run a simple program.
11117 if test "$cross_compiling" != yes; then
11118 if { ac_try='./$ac_file'
11119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11120 (eval $ac_try) 2>&5
11121 ac_status=$?
11122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11123 (exit $ac_status); }; }; then
11124 cross_compiling=no
11125 else
11126 if test "$cross_compiling" = maybe; then
11127 cross_compiling=yes
11128 else
11129 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11130 If you meant to cross compile, use \`--host'.
11131 See \`config.log' for more details." >&5
11132 echo "$as_me: error: cannot run C compiled programs.
11133 If you meant to cross compile, use \`--host'.
11134 See \`config.log' for more details." >&2;}
11135 { (exit 1); exit 1; }; }
11136 fi
11137 fi
11138 fi
11139 echo "$as_me:$LINENO: result: yes" >&5
11140 echo "${ECHO_T}yes" >&6
11141
11142 rm -f a.out a.exe conftest$ac_cv_exeext b.out
11143 ac_clean_files=$ac_clean_files_save
11144 # Check the compiler produces executables we can run. If not, either
11145 # the compiler is broken, or we cross compile.
11146 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11147 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11148 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11149 echo "${ECHO_T}$cross_compiling" >&6
11150
11151 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11152 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11154 (eval $ac_link) 2>&5
11155 ac_status=$?
11156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11157 (exit $ac_status); }; then
11158 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11159 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11160 # work properly (i.e., refer to `conftest.exe'), while it won't with
11161 # `rm'.
11162 for ac_file in conftest.exe conftest conftest.*; do
11163 test -f "$ac_file" || continue
11164 case $ac_file in
11165 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
11166 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
11167 export ac_cv_exeext
11168 break;;
11169 * ) break;;
11170 esac
11171 done
11172 else
11173 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11174 See \`config.log' for more details." >&5
11175 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11176 See \`config.log' for more details." >&2;}
11177 { (exit 1); exit 1; }; }
11178 fi
11179
11180 rm -f conftest$ac_cv_exeext
11181 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11182 echo "${ECHO_T}$ac_cv_exeext" >&6
11183
11184 rm -f conftest.$ac_ext
11185 EXEEXT=$ac_cv_exeext
11186 ac_exeext=$EXEEXT
11187 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11188 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11189 if test "${ac_cv_objext+set}" = set; then
11190 echo $ECHO_N "(cached) $ECHO_C" >&6
11191 else
11192 cat >conftest.$ac_ext <<_ACEOF
11193 /* confdefs.h. */
11194 _ACEOF
11195 cat confdefs.h >>conftest.$ac_ext
11196 cat >>conftest.$ac_ext <<_ACEOF
11197 /* end confdefs.h. */
11198
11199 int
11200 main ()
11201 {
11202
11203 ;
11204 return 0;
11205 }
11206 _ACEOF
11207 rm -f conftest.o conftest.obj
11208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11209 (eval $ac_compile) 2>&5
11210 ac_status=$?
11211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11212 (exit $ac_status); }; then
11213 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11214 case $ac_file in
11215 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
11216 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
11217 break;;
11218 esac
11219 done
11220 else
11221 echo "$as_me: failed program was:" >&5
11222 sed 's/^/| /' conftest.$ac_ext >&5
11223
11224 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11225 See \`config.log' for more details." >&5
11226 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11227 See \`config.log' for more details." >&2;}
11228 { (exit 1); exit 1; }; }
11229 fi
11230
11231 rm -f conftest.$ac_cv_objext conftest.$ac_ext
11232 fi
11233 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11234 echo "${ECHO_T}$ac_cv_objext" >&6
11235 OBJEXT=$ac_cv_objext
11236 ac_objext=$OBJEXT
11237 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11238 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11239 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11240 echo $ECHO_N "(cached) $ECHO_C" >&6
11241 else
11242 cat >conftest.$ac_ext <<_ACEOF
11243 /* confdefs.h. */
11244 _ACEOF
11245 cat confdefs.h >>conftest.$ac_ext
11246 cat >>conftest.$ac_ext <<_ACEOF
11247 /* end confdefs.h. */
11248
11249 int
11250 main ()
11251 {
11252 #ifndef __GNUC__
11253 choke me
11254 #endif
11255
11256 ;
11257 return 0;
11258 }
11259 _ACEOF
11260 rm -f conftest.$ac_objext
11261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11262 (eval $ac_compile) 2>conftest.er1
11263 ac_status=$?
11264 grep -v '^ *+' conftest.er1 >conftest.err
11265 rm -f conftest.er1
11266 cat conftest.err >&5
11267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11268 (exit $ac_status); } &&
11269 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11271 (eval $ac_try) 2>&5
11272 ac_status=$?
11273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11274 (exit $ac_status); }; } &&
11275 { ac_try='test -s conftest.$ac_objext'
11276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11277 (eval $ac_try) 2>&5
11278 ac_status=$?
11279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11280 (exit $ac_status); }; }; then
11281 ac_compiler_gnu=yes
11282 else
11283 echo "$as_me: failed program was:" >&5
11284 sed 's/^/| /' conftest.$ac_ext >&5
11285
11286 ac_compiler_gnu=no
11287 fi
11288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11289 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11290
11291 fi
11292 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11293 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11294 GCC=`test $ac_compiler_gnu = yes && echo yes`
11295 ac_test_CFLAGS=${CFLAGS+set}
11296 ac_save_CFLAGS=$CFLAGS
11297 CFLAGS="-g"
11298 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11299 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11300 if test "${ac_cv_prog_cc_g+set}" = set; then
11301 echo $ECHO_N "(cached) $ECHO_C" >&6
11302 else
11303 cat >conftest.$ac_ext <<_ACEOF
11304 /* confdefs.h. */
11305 _ACEOF
11306 cat confdefs.h >>conftest.$ac_ext
11307 cat >>conftest.$ac_ext <<_ACEOF
11308 /* end confdefs.h. */
11309
11310 int
11311 main ()
11312 {
11313
11314 ;
11315 return 0;
11316 }
11317 _ACEOF
11318 rm -f conftest.$ac_objext
11319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11320 (eval $ac_compile) 2>conftest.er1
11321 ac_status=$?
11322 grep -v '^ *+' conftest.er1 >conftest.err
11323 rm -f conftest.er1
11324 cat conftest.err >&5
11325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11326 (exit $ac_status); } &&
11327 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11329 (eval $ac_try) 2>&5
11330 ac_status=$?
11331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11332 (exit $ac_status); }; } &&
11333 { ac_try='test -s conftest.$ac_objext'
11334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11335 (eval $ac_try) 2>&5
11336 ac_status=$?
11337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11338 (exit $ac_status); }; }; then
11339 ac_cv_prog_cc_g=yes
11340 else
11341 echo "$as_me: failed program was:" >&5
11342 sed 's/^/| /' conftest.$ac_ext >&5
11343
11344 ac_cv_prog_cc_g=no
11345 fi
11346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11347 fi
11348 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11349 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11350 if test "$ac_test_CFLAGS" = set; then
11351 CFLAGS=$ac_save_CFLAGS
11352 elif test $ac_cv_prog_cc_g = yes; then
11353 if test "$GCC" = yes; then
11354 CFLAGS="-g -O2"
11355 else
11356 CFLAGS="-g"
11357 fi
11358 else
11359 if test "$GCC" = yes; then
11360 CFLAGS="-O2"
11361 else
11362 CFLAGS=
11363 fi
11364 fi
11365 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11366 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11367 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11368 echo $ECHO_N "(cached) $ECHO_C" >&6
11369 else
11370 ac_cv_prog_cc_stdc=no
11371 ac_save_CC=$CC
11372 cat >conftest.$ac_ext <<_ACEOF
11373 /* confdefs.h. */
11374 _ACEOF
11375 cat confdefs.h >>conftest.$ac_ext
11376 cat >>conftest.$ac_ext <<_ACEOF
11377 /* end confdefs.h. */
11378 #include <stdarg.h>
11379 #include <stdio.h>
11380 #include <sys/types.h>
11381 #include <sys/stat.h>
11382 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11383 struct buf { int x; };
11384 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11385 static char *e (p, i)
11386 char **p;
11387 int i;
11388 {
11389 return p[i];
11390 }
11391 static char *f (char * (*g) (char **, int), char **p, ...)
11392 {
11393 char *s;
11394 va_list v;
11395 va_start (v,p);
11396 s = g (p, va_arg (v,int));
11397 va_end (v);
11398 return s;
11399 }
11400
11401 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11402 function prototypes and stuff, but not '\xHH' hex character constants.
11403 These don't provoke an error unfortunately, instead are silently treated
11404 as 'x'. The following induces an error, until -std1 is added to get
11405 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11406 array size at least. It's necessary to write '\x00'==0 to get something
11407 that's true only with -std1. */
11408 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11409
11410 int test (int i, double x);
11411 struct s1 {int (*f) (int a);};
11412 struct s2 {int (*f) (double a);};
11413 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11414 int argc;
11415 char **argv;
11416 int
11417 main ()
11418 {
11419 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11420 ;
11421 return 0;
11422 }
11423 _ACEOF
11424 # Don't try gcc -ansi; that turns off useful extensions and
11425 # breaks some systems' header files.
11426 # AIX -qlanglvl=ansi
11427 # Ultrix and OSF/1 -std1
11428 # HP-UX 10.20 and later -Ae
11429 # HP-UX older versions -Aa -D_HPUX_SOURCE
11430 # SVR4 -Xc -D__EXTENSIONS__
11431 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11432 do
11433 CC="$ac_save_CC $ac_arg"
11434 rm -f conftest.$ac_objext
11435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11436 (eval $ac_compile) 2>conftest.er1
11437 ac_status=$?
11438 grep -v '^ *+' conftest.er1 >conftest.err
11439 rm -f conftest.er1
11440 cat conftest.err >&5
11441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11442 (exit $ac_status); } &&
11443 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11445 (eval $ac_try) 2>&5
11446 ac_status=$?
11447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11448 (exit $ac_status); }; } &&
11449 { ac_try='test -s conftest.$ac_objext'
11450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11451 (eval $ac_try) 2>&5
11452 ac_status=$?
11453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11454 (exit $ac_status); }; }; then
11455 ac_cv_prog_cc_stdc=$ac_arg
11456 break
11457 else
11458 echo "$as_me: failed program was:" >&5
11459 sed 's/^/| /' conftest.$ac_ext >&5
11460
11461 fi
11462 rm -f conftest.err conftest.$ac_objext
11463 done
11464 rm -f conftest.$ac_ext conftest.$ac_objext
11465 CC=$ac_save_CC
11466
11467 fi
11468
11469 case "x$ac_cv_prog_cc_stdc" in
11470 x|xno)
11471 echo "$as_me:$LINENO: result: none needed" >&5
11472 echo "${ECHO_T}none needed" >&6 ;;
11473 *)
11474 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11475 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11476 CC="$CC $ac_cv_prog_cc_stdc" ;;
11477 esac
11478
11479 # Some people use a C++ compiler to compile C. Since we use `exit',
11480 # in C++ we need to declare it. In case someone uses the same compiler
11481 # for both compiling C and C++ we need to have the C++ compiler decide
11482 # the declaration of exit, since it's the most demanding environment.
11483 cat >conftest.$ac_ext <<_ACEOF
11484 #ifndef __cplusplus
11485 choke me
11486 #endif
11487 _ACEOF
11488 rm -f conftest.$ac_objext
11489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11490 (eval $ac_compile) 2>conftest.er1
11491 ac_status=$?
11492 grep -v '^ *+' conftest.er1 >conftest.err
11493 rm -f conftest.er1
11494 cat conftest.err >&5
11495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11496 (exit $ac_status); } &&
11497 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11499 (eval $ac_try) 2>&5
11500 ac_status=$?
11501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11502 (exit $ac_status); }; } &&
11503 { ac_try='test -s conftest.$ac_objext'
11504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11505 (eval $ac_try) 2>&5
11506 ac_status=$?
11507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11508 (exit $ac_status); }; }; then
11509 for ac_declaration in \
11510 '' \
11511 'extern "C" void std::exit (int) throw (); using std::exit;' \
11512 'extern "C" void std::exit (int); using std::exit;' \
11513 'extern "C" void exit (int) throw ();' \
11514 'extern "C" void exit (int);' \
11515 'void exit (int);'
11516 do
11517 cat >conftest.$ac_ext <<_ACEOF
11518 /* confdefs.h. */
11519 _ACEOF
11520 cat confdefs.h >>conftest.$ac_ext
11521 cat >>conftest.$ac_ext <<_ACEOF
11522 /* end confdefs.h. */
11523 $ac_declaration
11524 #include <stdlib.h>
11525 int
11526 main ()
11527 {
11528 exit (42);
11529 ;
11530 return 0;
11531 }
11532 _ACEOF
11533 rm -f conftest.$ac_objext
11534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11535 (eval $ac_compile) 2>conftest.er1
11536 ac_status=$?
11537 grep -v '^ *+' conftest.er1 >conftest.err
11538 rm -f conftest.er1
11539 cat conftest.err >&5
11540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11541 (exit $ac_status); } &&
11542 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11544 (eval $ac_try) 2>&5
11545 ac_status=$?
11546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11547 (exit $ac_status); }; } &&
11548 { ac_try='test -s conftest.$ac_objext'
11549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11550 (eval $ac_try) 2>&5
11551 ac_status=$?
11552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11553 (exit $ac_status); }; }; then
11554 :
11555 else
11556 echo "$as_me: failed program was:" >&5
11557 sed 's/^/| /' conftest.$ac_ext >&5
11558
11559 continue
11560 fi
11561 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11562 cat >conftest.$ac_ext <<_ACEOF
11563 /* confdefs.h. */
11564 _ACEOF
11565 cat confdefs.h >>conftest.$ac_ext
11566 cat >>conftest.$ac_ext <<_ACEOF
11567 /* end confdefs.h. */
11568 $ac_declaration
11569 int
11570 main ()
11571 {
11572 exit (42);
11573 ;
11574 return 0;
11575 }
11576 _ACEOF
11577 rm -f conftest.$ac_objext
11578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11579 (eval $ac_compile) 2>conftest.er1
11580 ac_status=$?
11581 grep -v '^ *+' conftest.er1 >conftest.err
11582 rm -f conftest.er1
11583 cat conftest.err >&5
11584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11585 (exit $ac_status); } &&
11586 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11588 (eval $ac_try) 2>&5
11589 ac_status=$?
11590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11591 (exit $ac_status); }; } &&
11592 { ac_try='test -s conftest.$ac_objext'
11593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11594 (eval $ac_try) 2>&5
11595 ac_status=$?
11596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11597 (exit $ac_status); }; }; then
11598 break
11599 else
11600 echo "$as_me: failed program was:" >&5
11601 sed 's/^/| /' conftest.$ac_ext >&5
11602
11603 fi
11604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11605 done
11606 rm -f conftest*
11607 if test -n "$ac_declaration"; then
11608 echo '#ifdef __cplusplus' >>confdefs.h
11609 echo $ac_declaration >>confdefs.h
11610 echo '#endif' >>confdefs.h
11611 fi
11612
11613 else
11614 echo "$as_me: failed program was:" >&5
11615 sed 's/^/| /' conftest.$ac_ext >&5
11616
11617 fi
11618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11619 ac_ext=c
11620 ac_cpp='$CPP $CPPFLAGS'
11621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11624
11625 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
11626 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
11627 if test "${wx_cv_c_exto+set}" = set; then
11628 echo $ECHO_N "(cached) $ECHO_C" >&6
11629 else
11630 cat >conftest.$ac_ext <<_ACEOF
11631 /* confdefs.h. */
11632 _ACEOF
11633 cat confdefs.h >>conftest.$ac_ext
11634 cat >>conftest.$ac_ext <<_ACEOF
11635 /* end confdefs.h. */
11636
11637 int
11638 main ()
11639 {
11640
11641 ;
11642 return 0;
11643 }
11644 _ACEOF
11645 rm -f conftest.$ac_objext conftest.$ac_ext.o
11646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11647 (eval $ac_compile) 2>&5
11648 ac_status=$?
11649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11650 (exit $ac_status); }; then
11651 for ac_file in `(ls conftest.* 2>/dev/null)`; do
11652 case $ac_file in
11653 conftest.$ac_ext.o)
11654 wx_cv_c_exto="-ext o"
11655 ;;
11656 *)
11657 ;;
11658 esac
11659 done
11660 else
11661 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
11662 See \`config.log' for more details." >&5
11663 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
11664 See \`config.log' for more details." >&2;}
11665 { (exit 1); exit 1; }; }
11666
11667 fi
11668
11669 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
11670
11671 fi
11672 echo "$as_me:$LINENO: result: $wx_cv_c_exto" >&5
11673 echo "${ECHO_T}$wx_cv_c_exto" >&6
11674 if test "x$wx_cv_c_exto" '!=' "x"; then
11675 if test "c" = "c"; then
11676 CFLAGS="$wx_cv_c_exto $CFLAGS"
11677 fi
11678 if test "c" = "cxx"; then
11679 CXXFLAGS="$wx_cv_c_exto $CXXFLAGS"
11680 fi
11681 fi
11682
11683 if test "x$wx_cv_c_exto" '!=' "x"; then
11684 unset ac_cv_prog_cc_g
11685 ac_test_CFLAGS=${CFLAGS+set}
11686 ac_save_CFLAGS=$CFLAGS
11687 CFLAGS="-g"
11688 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11689 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11690 if test "${ac_cv_prog_cc_g+set}" = set; then
11691 echo $ECHO_N "(cached) $ECHO_C" >&6
11692 else
11693 cat >conftest.$ac_ext <<_ACEOF
11694 /* confdefs.h. */
11695 _ACEOF
11696 cat confdefs.h >>conftest.$ac_ext
11697 cat >>conftest.$ac_ext <<_ACEOF
11698 /* end confdefs.h. */
11699
11700 int
11701 main ()
11702 {
11703
11704 ;
11705 return 0;
11706 }
11707 _ACEOF
11708 rm -f conftest.$ac_objext
11709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11710 (eval $ac_compile) 2>conftest.er1
11711 ac_status=$?
11712 grep -v '^ *+' conftest.er1 >conftest.err
11713 rm -f conftest.er1
11714 cat conftest.err >&5
11715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11716 (exit $ac_status); } &&
11717 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11719 (eval $ac_try) 2>&5
11720 ac_status=$?
11721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11722 (exit $ac_status); }; } &&
11723 { ac_try='test -s conftest.$ac_objext'
11724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11725 (eval $ac_try) 2>&5
11726 ac_status=$?
11727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11728 (exit $ac_status); }; }; then
11729 ac_cv_prog_cc_g=yes
11730 else
11731 echo "$as_me: failed program was:" >&5
11732 sed 's/^/| /' conftest.$ac_ext >&5
11733
11734 ac_cv_prog_cc_g=no
11735 fi
11736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11737 fi
11738 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11739 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11740 if test "$ac_test_CFLAGS" = set; then
11741 CFLAGS=$ac_save_CFLAGS
11742 elif test $ac_cv_prog_cc_g = yes; then
11743 if test "$GCC" = yes; then
11744 CFLAGS="-g -O2"
11745 else
11746 CFLAGS="-g"
11747 fi
11748 else
11749 if test "$GCC" = yes; then
11750 CFLAGS="-O2"
11751 else
11752 CFLAGS=
11753 fi
11754 fi
11755 fi
11756 ac_ext=c
11757 ac_cpp='$CPP $CPPFLAGS'
11758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11761
11762 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
11763 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
11764 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
11765 echo $ECHO_N "(cached) $ECHO_C" >&6
11766 else
11767 cat >conftest.$ac_ext <<_ACEOF
11768 /* confdefs.h. */
11769 _ACEOF
11770 cat confdefs.h >>conftest.$ac_ext
11771 cat >>conftest.$ac_ext <<_ACEOF
11772 /* end confdefs.h. */
11773
11774 int
11775 main ()
11776 {
11777 #ifndef __MWERKS__
11778 choke me
11779 #endif
11780
11781 ;
11782 return 0;
11783 }
11784 _ACEOF
11785 rm -f conftest.$ac_objext
11786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11787 (eval $ac_compile) 2>conftest.er1
11788 ac_status=$?
11789 grep -v '^ *+' conftest.er1 >conftest.err
11790 rm -f conftest.er1
11791 cat conftest.err >&5
11792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11793 (exit $ac_status); } &&
11794 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11796 (eval $ac_try) 2>&5
11797 ac_status=$?
11798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11799 (exit $ac_status); }; } &&
11800 { ac_try='test -s conftest.$ac_objext'
11801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11802 (eval $ac_try) 2>&5
11803 ac_status=$?
11804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11805 (exit $ac_status); }; }; then
11806 bakefile_compiler_mwerks=yes
11807 else
11808 echo "$as_me: failed program was:" >&5
11809 sed 's/^/| /' conftest.$ac_ext >&5
11810
11811 bakefile_compiler_mwerks=no
11812 fi
11813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11814 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
11815
11816 fi
11817 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
11818 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
11819
11820 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
11821 ac_ext=c
11822 ac_cpp='$CPP $CPPFLAGS'
11823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11826
11827
11828 ac_ext=c
11829 ac_cpp='$CPP $CPPFLAGS'
11830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11833
11834 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
11835 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
11836 if test "${wx_cv_c_compiler_xlc+set}" = set; then
11837 echo $ECHO_N "(cached) $ECHO_C" >&6
11838 else
11839 cat >conftest.$ac_ext <<_ACEOF
11840 /* confdefs.h. */
11841 _ACEOF
11842 cat confdefs.h >>conftest.$ac_ext
11843 cat >>conftest.$ac_ext <<_ACEOF
11844 /* end confdefs.h. */
11845
11846 int
11847 main ()
11848 {
11849 #ifndef __xlC__
11850 choke me
11851 #endif
11852
11853 ;
11854 return 0;
11855 }
11856 _ACEOF
11857 rm -f conftest.$ac_objext
11858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11859 (eval $ac_compile) 2>conftest.er1
11860 ac_status=$?
11861 grep -v '^ *+' conftest.er1 >conftest.err
11862 rm -f conftest.er1
11863 cat conftest.err >&5
11864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11865 (exit $ac_status); } &&
11866 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11868 (eval $ac_try) 2>&5
11869 ac_status=$?
11870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11871 (exit $ac_status); }; } &&
11872 { ac_try='test -s conftest.$ac_objext'
11873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11874 (eval $ac_try) 2>&5
11875 ac_status=$?
11876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11877 (exit $ac_status); }; }; then
11878 wx_compiler_xlc=yes
11879 else
11880 echo "$as_me: failed program was:" >&5
11881 sed 's/^/| /' conftest.$ac_ext >&5
11882
11883 wx_compiler_xlc=no
11884 fi
11885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11886 wx_cv_c_compiler_xlc=$wx_compiler_xlc
11887
11888 fi
11889 echo "$as_me:$LINENO: result: $wx_cv_c_compiler_xlc" >&5
11890 echo "${ECHO_T}$wx_cv_c_compiler_xlc" >&6
11891
11892 XLCC=`test $wx_cv_c_compiler_xlc = yes && echo yes`
11893 ac_ext=c
11894 ac_cpp='$CPP $CPPFLAGS'
11895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11898
11899
11900
11901
11902 ac_ext=c
11903 ac_cpp='$CPP $CPPFLAGS'
11904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11907
11908 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
11909 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
11910 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
11911 echo $ECHO_N "(cached) $ECHO_C" >&6
11912 else
11913 cat >conftest.$ac_ext <<_ACEOF
11914 /* confdefs.h. */
11915 _ACEOF
11916 cat confdefs.h >>conftest.$ac_ext
11917 cat >>conftest.$ac_ext <<_ACEOF
11918 /* end confdefs.h. */
11919
11920 int
11921 main ()
11922 {
11923
11924 #ifndef __SUNPRO_C
11925 choke me
11926 #endif
11927
11928 ;
11929 return 0;
11930 }
11931 _ACEOF
11932 rm -f conftest.$ac_objext
11933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11934 (eval $ac_compile) 2>conftest.er1
11935 ac_status=$?
11936 grep -v '^ *+' conftest.er1 >conftest.err
11937 rm -f conftest.er1
11938 cat conftest.err >&5
11939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11940 (exit $ac_status); } &&
11941 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11943 (eval $ac_try) 2>&5
11944 ac_status=$?
11945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11946 (exit $ac_status); }; } &&
11947 { ac_try='test -s conftest.$ac_objext'
11948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11949 (eval $ac_try) 2>&5
11950 ac_status=$?
11951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11952 (exit $ac_status); }; }; then
11953 bakefile_cv_c_compiler___SUNPRO_C=yes
11954 else
11955 echo "$as_me: failed program was:" >&5
11956 sed 's/^/| /' conftest.$ac_ext >&5
11957
11958 bakefile_cv_c_compiler___SUNPRO_C=no
11959
11960 fi
11961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11962
11963
11964 fi
11965 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
11966 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
11967 ac_ext=c
11968 ac_cpp='$CPP $CPPFLAGS'
11969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11972
11973 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
11974 :; SUNCC=yes
11975 else
11976 :;
11977 fi
11978
11979
11980
11981
11982 ac_ext=c
11983 ac_cpp='$CPP $CPPFLAGS'
11984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11987 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11988 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11989 # On Suns, sometimes $CPP names a directory.
11990 if test -n "$CPP" && test -d "$CPP"; then
11991 CPP=
11992 fi
11993 if test -z "$CPP"; then
11994 if test "${ac_cv_prog_CPP+set}" = set; then
11995 echo $ECHO_N "(cached) $ECHO_C" >&6
11996 else
11997 # Double quotes because CPP needs to be expanded
11998 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11999 do
12000 ac_preproc_ok=false
12001 for ac_c_preproc_warn_flag in '' yes
12002 do
12003 # Use a header file that comes with gcc, so configuring glibc
12004 # with a fresh cross-compiler works.
12005 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12006 # <limits.h> exists even on freestanding compilers.
12007 # On the NeXT, cc -E runs the code through the compiler's parser,
12008 # not just through cpp. "Syntax error" is here to catch this case.
12009 cat >conftest.$ac_ext <<_ACEOF
12010 /* confdefs.h. */
12011 _ACEOF
12012 cat confdefs.h >>conftest.$ac_ext
12013 cat >>conftest.$ac_ext <<_ACEOF
12014 /* end confdefs.h. */
12015 #ifdef __STDC__
12016 # include <limits.h>
12017 #else
12018 # include <assert.h>
12019 #endif
12020 Syntax error
12021 _ACEOF
12022 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12023 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12024 ac_status=$?
12025 grep -v '^ *+' conftest.er1 >conftest.err
12026 rm -f conftest.er1
12027 cat conftest.err >&5
12028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12029 (exit $ac_status); } >/dev/null; then
12030 if test -s conftest.err; then
12031 ac_cpp_err=$ac_c_preproc_warn_flag
12032 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12033 else
12034 ac_cpp_err=
12035 fi
12036 else
12037 ac_cpp_err=yes
12038 fi
12039 if test -z "$ac_cpp_err"; then
12040 :
12041 else
12042 echo "$as_me: failed program was:" >&5
12043 sed 's/^/| /' conftest.$ac_ext >&5
12044
12045 # Broken: fails on valid input.
12046 continue
12047 fi
12048 rm -f conftest.err conftest.$ac_ext
12049
12050 # OK, works on sane cases. Now check whether non-existent headers
12051 # can be detected and how.
12052 cat >conftest.$ac_ext <<_ACEOF
12053 /* confdefs.h. */
12054 _ACEOF
12055 cat confdefs.h >>conftest.$ac_ext
12056 cat >>conftest.$ac_ext <<_ACEOF
12057 /* end confdefs.h. */
12058 #include <ac_nonexistent.h>
12059 _ACEOF
12060 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12061 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12062 ac_status=$?
12063 grep -v '^ *+' conftest.er1 >conftest.err
12064 rm -f conftest.er1
12065 cat conftest.err >&5
12066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12067 (exit $ac_status); } >/dev/null; then
12068 if test -s conftest.err; then
12069 ac_cpp_err=$ac_c_preproc_warn_flag
12070 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12071 else
12072 ac_cpp_err=
12073 fi
12074 else
12075 ac_cpp_err=yes
12076 fi
12077 if test -z "$ac_cpp_err"; then
12078 # Broken: success on invalid input.
12079 continue
12080 else
12081 echo "$as_me: failed program was:" >&5
12082 sed 's/^/| /' conftest.$ac_ext >&5
12083
12084 # Passes both tests.
12085 ac_preproc_ok=:
12086 break
12087 fi
12088 rm -f conftest.err conftest.$ac_ext
12089
12090 done
12091 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12092 rm -f conftest.err conftest.$ac_ext
12093 if $ac_preproc_ok; then
12094 break
12095 fi
12096
12097 done
12098 ac_cv_prog_CPP=$CPP
12099
12100 fi
12101 CPP=$ac_cv_prog_CPP
12102 else
12103 ac_cv_prog_CPP=$CPP
12104 fi
12105 echo "$as_me:$LINENO: result: $CPP" >&5
12106 echo "${ECHO_T}$CPP" >&6
12107 ac_preproc_ok=false
12108 for ac_c_preproc_warn_flag in '' yes
12109 do
12110 # Use a header file that comes with gcc, so configuring glibc
12111 # with a fresh cross-compiler works.
12112 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12113 # <limits.h> exists even on freestanding compilers.
12114 # On the NeXT, cc -E runs the code through the compiler's parser,
12115 # not just through cpp. "Syntax error" is here to catch this case.
12116 cat >conftest.$ac_ext <<_ACEOF
12117 /* confdefs.h. */
12118 _ACEOF
12119 cat confdefs.h >>conftest.$ac_ext
12120 cat >>conftest.$ac_ext <<_ACEOF
12121 /* end confdefs.h. */
12122 #ifdef __STDC__
12123 # include <limits.h>
12124 #else
12125 # include <assert.h>
12126 #endif
12127 Syntax error
12128 _ACEOF
12129 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12130 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12131 ac_status=$?
12132 grep -v '^ *+' conftest.er1 >conftest.err
12133 rm -f conftest.er1
12134 cat conftest.err >&5
12135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12136 (exit $ac_status); } >/dev/null; then
12137 if test -s conftest.err; then
12138 ac_cpp_err=$ac_c_preproc_warn_flag
12139 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12140 else
12141 ac_cpp_err=
12142 fi
12143 else
12144 ac_cpp_err=yes
12145 fi
12146 if test -z "$ac_cpp_err"; then
12147 :
12148 else
12149 echo "$as_me: failed program was:" >&5
12150 sed 's/^/| /' conftest.$ac_ext >&5
12151
12152 # Broken: fails on valid input.
12153 continue
12154 fi
12155 rm -f conftest.err conftest.$ac_ext
12156
12157 # OK, works on sane cases. Now check whether non-existent headers
12158 # can be detected and how.
12159 cat >conftest.$ac_ext <<_ACEOF
12160 /* confdefs.h. */
12161 _ACEOF
12162 cat confdefs.h >>conftest.$ac_ext
12163 cat >>conftest.$ac_ext <<_ACEOF
12164 /* end confdefs.h. */
12165 #include <ac_nonexistent.h>
12166 _ACEOF
12167 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12168 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12169 ac_status=$?
12170 grep -v '^ *+' conftest.er1 >conftest.err
12171 rm -f conftest.er1
12172 cat conftest.err >&5
12173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12174 (exit $ac_status); } >/dev/null; then
12175 if test -s conftest.err; then
12176 ac_cpp_err=$ac_c_preproc_warn_flag
12177 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12178 else
12179 ac_cpp_err=
12180 fi
12181 else
12182 ac_cpp_err=yes
12183 fi
12184 if test -z "$ac_cpp_err"; then
12185 # Broken: success on invalid input.
12186 continue
12187 else
12188 echo "$as_me: failed program was:" >&5
12189 sed 's/^/| /' conftest.$ac_ext >&5
12190
12191 # Passes both tests.
12192 ac_preproc_ok=:
12193 break
12194 fi
12195 rm -f conftest.err conftest.$ac_ext
12196
12197 done
12198 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12199 rm -f conftest.err conftest.$ac_ext
12200 if $ac_preproc_ok; then
12201 :
12202 else
12203 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
12204 See \`config.log' for more details." >&5
12205 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
12206 See \`config.log' for more details." >&2;}
12207 { (exit 1); exit 1; }; }
12208 fi
12209
12210 ac_ext=c
12211 ac_cpp='$CPP $CPPFLAGS'
12212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12215
12216
12217 echo "$as_me:$LINENO: checking for egrep" >&5
12218 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
12219 if test "${ac_cv_prog_egrep+set}" = set; then
12220 echo $ECHO_N "(cached) $ECHO_C" >&6
12221 else
12222 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
12223 then ac_cv_prog_egrep='grep -E'
12224 else ac_cv_prog_egrep='egrep'
12225 fi
12226 fi
12227 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
12228 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
12229 EGREP=$ac_cv_prog_egrep
12230
12231
12232 if test $ac_cv_c_compiler_gnu = yes; then
12233 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
12234 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
12235 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
12236 echo $ECHO_N "(cached) $ECHO_C" >&6
12237 else
12238 ac_pattern="Autoconf.*'x'"
12239 cat >conftest.$ac_ext <<_ACEOF
12240 /* confdefs.h. */
12241 _ACEOF
12242 cat confdefs.h >>conftest.$ac_ext
12243 cat >>conftest.$ac_ext <<_ACEOF
12244 /* end confdefs.h. */
12245 #include <sgtty.h>
12246 Autoconf TIOCGETP
12247 _ACEOF
12248 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12249 $EGREP "$ac_pattern" >/dev/null 2>&1; then
12250 ac_cv_prog_gcc_traditional=yes
12251 else
12252 ac_cv_prog_gcc_traditional=no
12253 fi
12254 rm -f conftest*
12255
12256
12257 if test $ac_cv_prog_gcc_traditional = no; then
12258 cat >conftest.$ac_ext <<_ACEOF
12259 /* confdefs.h. */
12260 _ACEOF
12261 cat confdefs.h >>conftest.$ac_ext
12262 cat >>conftest.$ac_ext <<_ACEOF
12263 /* end confdefs.h. */
12264 #include <termio.h>
12265 Autoconf TCGETA
12266 _ACEOF
12267 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12268 $EGREP "$ac_pattern" >/dev/null 2>&1; then
12269 ac_cv_prog_gcc_traditional=yes
12270 fi
12271 rm -f conftest*
12272
12273 fi
12274 fi
12275 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
12276 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
12277 if test $ac_cv_prog_gcc_traditional = yes; then
12278 CC="$CC -traditional"
12279 fi
12280 fi
12281
12282
12283
12284
12285 ac_ext=cc
12286 ac_cpp='$CXXCPP $CPPFLAGS'
12287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12290
12291
12292 CXXFLAGS=${CXXFLAGS:=}
12293
12294
12295 ac_ext=cc
12296 ac_cpp='$CXXCPP $CPPFLAGS'
12297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12300 if test -n "$ac_tool_prefix"; then
12301 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
12302 do
12303 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12304 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12305 echo "$as_me:$LINENO: checking for $ac_word" >&5
12306 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12307 if test "${ac_cv_prog_CXX+set}" = set; then
12308 echo $ECHO_N "(cached) $ECHO_C" >&6
12309 else
12310 if test -n "$CXX"; then
12311 ac_cv_prog_CXX="$CXX" # Let the user override the test.
12312 else
12313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12314 for as_dir in $PATH
12315 do
12316 IFS=$as_save_IFS
12317 test -z "$as_dir" && as_dir=.
12318 for ac_exec_ext in '' $ac_executable_extensions; do
12319 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12320 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
12321 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12322 break 2
12323 fi
12324 done
12325 done
12326
12327 fi
12328 fi
12329 CXX=$ac_cv_prog_CXX
12330 if test -n "$CXX"; then
12331 echo "$as_me:$LINENO: result: $CXX" >&5
12332 echo "${ECHO_T}$CXX" >&6
12333 else
12334 echo "$as_me:$LINENO: result: no" >&5
12335 echo "${ECHO_T}no" >&6
12336 fi
12337
12338 test -n "$CXX" && break
12339 done
12340 fi
12341 if test -z "$CXX"; then
12342 ac_ct_CXX=$CXX
12343 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
12344 do
12345 # Extract the first word of "$ac_prog", so it can be a program name with args.
12346 set dummy $ac_prog; ac_word=$2
12347 echo "$as_me:$LINENO: checking for $ac_word" >&5
12348 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12349 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12350 echo $ECHO_N "(cached) $ECHO_C" >&6
12351 else
12352 if test -n "$ac_ct_CXX"; then
12353 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
12354 else
12355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12356 for as_dir in $PATH
12357 do
12358 IFS=$as_save_IFS
12359 test -z "$as_dir" && as_dir=.
12360 for ac_exec_ext in '' $ac_executable_extensions; do
12361 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12362 ac_cv_prog_ac_ct_CXX="$ac_prog"
12363 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12364 break 2
12365 fi
12366 done
12367 done
12368
12369 fi
12370 fi
12371 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
12372 if test -n "$ac_ct_CXX"; then
12373 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12374 echo "${ECHO_T}$ac_ct_CXX" >&6
12375 else
12376 echo "$as_me:$LINENO: result: no" >&5
12377 echo "${ECHO_T}no" >&6
12378 fi
12379
12380 test -n "$ac_ct_CXX" && break
12381 done
12382 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
12383
12384 CXX=$ac_ct_CXX
12385 fi
12386
12387
12388 # Provide some information about the compiler.
12389 echo "$as_me:$LINENO:" \
12390 "checking for C++ compiler version" >&5
12391 ac_compiler=`set X $ac_compile; echo $2`
12392 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12393 (eval $ac_compiler --version </dev/null >&5) 2>&5
12394 ac_status=$?
12395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12396 (exit $ac_status); }
12397 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12398 (eval $ac_compiler -v </dev/null >&5) 2>&5
12399 ac_status=$?
12400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12401 (exit $ac_status); }
12402 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12403 (eval $ac_compiler -V </dev/null >&5) 2>&5
12404 ac_status=$?
12405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12406 (exit $ac_status); }
12407
12408 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
12409 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
12410 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
12411 echo $ECHO_N "(cached) $ECHO_C" >&6
12412 else
12413 cat >conftest.$ac_ext <<_ACEOF
12414 /* confdefs.h. */
12415 _ACEOF
12416 cat confdefs.h >>conftest.$ac_ext
12417 cat >>conftest.$ac_ext <<_ACEOF
12418 /* end confdefs.h. */
12419
12420 int
12421 main ()
12422 {
12423 #ifndef __GNUC__
12424 choke me
12425 #endif
12426
12427 ;
12428 return 0;
12429 }
12430 _ACEOF
12431 rm -f conftest.$ac_objext
12432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12433 (eval $ac_compile) 2>conftest.er1
12434 ac_status=$?
12435 grep -v '^ *+' conftest.er1 >conftest.err
12436 rm -f conftest.er1
12437 cat conftest.err >&5
12438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12439 (exit $ac_status); } &&
12440 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12442 (eval $ac_try) 2>&5
12443 ac_status=$?
12444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12445 (exit $ac_status); }; } &&
12446 { ac_try='test -s conftest.$ac_objext'
12447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12448 (eval $ac_try) 2>&5
12449 ac_status=$?
12450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12451 (exit $ac_status); }; }; then
12452 ac_compiler_gnu=yes
12453 else
12454 echo "$as_me: failed program was:" >&5
12455 sed 's/^/| /' conftest.$ac_ext >&5
12456
12457 ac_compiler_gnu=no
12458 fi
12459 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12460 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
12461
12462 fi
12463 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12464 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
12465 GXX=`test $ac_compiler_gnu = yes && echo yes`
12466 ac_test_CXXFLAGS=${CXXFLAGS+set}
12467 ac_save_CXXFLAGS=$CXXFLAGS
12468 CXXFLAGS="-g"
12469 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12470 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12471 if test "${ac_cv_prog_cxx_g+set}" = set; then
12472 echo $ECHO_N "(cached) $ECHO_C" >&6
12473 else
12474 cat >conftest.$ac_ext <<_ACEOF
12475 /* confdefs.h. */
12476 _ACEOF
12477 cat confdefs.h >>conftest.$ac_ext
12478 cat >>conftest.$ac_ext <<_ACEOF
12479 /* end confdefs.h. */
12480
12481 int
12482 main ()
12483 {
12484
12485 ;
12486 return 0;
12487 }
12488 _ACEOF
12489 rm -f conftest.$ac_objext
12490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12491 (eval $ac_compile) 2>conftest.er1
12492 ac_status=$?
12493 grep -v '^ *+' conftest.er1 >conftest.err
12494 rm -f conftest.er1
12495 cat conftest.err >&5
12496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12497 (exit $ac_status); } &&
12498 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12500 (eval $ac_try) 2>&5
12501 ac_status=$?
12502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12503 (exit $ac_status); }; } &&
12504 { ac_try='test -s conftest.$ac_objext'
12505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12506 (eval $ac_try) 2>&5
12507 ac_status=$?
12508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12509 (exit $ac_status); }; }; then
12510 ac_cv_prog_cxx_g=yes
12511 else
12512 echo "$as_me: failed program was:" >&5
12513 sed 's/^/| /' conftest.$ac_ext >&5
12514
12515 ac_cv_prog_cxx_g=no
12516 fi
12517 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12518 fi
12519 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12520 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12521 if test "$ac_test_CXXFLAGS" = set; then
12522 CXXFLAGS=$ac_save_CXXFLAGS
12523 elif test $ac_cv_prog_cxx_g = yes; then
12524 if test "$GXX" = yes; then
12525 CXXFLAGS="-g -O2"
12526 else
12527 CXXFLAGS="-g"
12528 fi
12529 else
12530 if test "$GXX" = yes; then
12531 CXXFLAGS="-O2"
12532 else
12533 CXXFLAGS=
12534 fi
12535 fi
12536 for ac_declaration in \
12537 '' \
12538 'extern "C" void std::exit (int) throw (); using std::exit;' \
12539 'extern "C" void std::exit (int); using std::exit;' \
12540 'extern "C" void exit (int) throw ();' \
12541 'extern "C" void exit (int);' \
12542 'void exit (int);'
12543 do
12544 cat >conftest.$ac_ext <<_ACEOF
12545 /* confdefs.h. */
12546 _ACEOF
12547 cat confdefs.h >>conftest.$ac_ext
12548 cat >>conftest.$ac_ext <<_ACEOF
12549 /* end confdefs.h. */
12550 $ac_declaration
12551 #include <stdlib.h>
12552 int
12553 main ()
12554 {
12555 exit (42);
12556 ;
12557 return 0;
12558 }
12559 _ACEOF
12560 rm -f conftest.$ac_objext
12561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12562 (eval $ac_compile) 2>conftest.er1
12563 ac_status=$?
12564 grep -v '^ *+' conftest.er1 >conftest.err
12565 rm -f conftest.er1
12566 cat conftest.err >&5
12567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12568 (exit $ac_status); } &&
12569 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12571 (eval $ac_try) 2>&5
12572 ac_status=$?
12573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12574 (exit $ac_status); }; } &&
12575 { ac_try='test -s conftest.$ac_objext'
12576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12577 (eval $ac_try) 2>&5
12578 ac_status=$?
12579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12580 (exit $ac_status); }; }; then
12581 :
12582 else
12583 echo "$as_me: failed program was:" >&5
12584 sed 's/^/| /' conftest.$ac_ext >&5
12585
12586 continue
12587 fi
12588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12589 cat >conftest.$ac_ext <<_ACEOF
12590 /* confdefs.h. */
12591 _ACEOF
12592 cat confdefs.h >>conftest.$ac_ext
12593 cat >>conftest.$ac_ext <<_ACEOF
12594 /* end confdefs.h. */
12595 $ac_declaration
12596 int
12597 main ()
12598 {
12599 exit (42);
12600 ;
12601 return 0;
12602 }
12603 _ACEOF
12604 rm -f conftest.$ac_objext
12605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12606 (eval $ac_compile) 2>conftest.er1
12607 ac_status=$?
12608 grep -v '^ *+' conftest.er1 >conftest.err
12609 rm -f conftest.er1
12610 cat conftest.err >&5
12611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12612 (exit $ac_status); } &&
12613 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12615 (eval $ac_try) 2>&5
12616 ac_status=$?
12617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12618 (exit $ac_status); }; } &&
12619 { ac_try='test -s conftest.$ac_objext'
12620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12621 (eval $ac_try) 2>&5
12622 ac_status=$?
12623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12624 (exit $ac_status); }; }; then
12625 break
12626 else
12627 echo "$as_me: failed program was:" >&5
12628 sed 's/^/| /' conftest.$ac_ext >&5
12629
12630 fi
12631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12632 done
12633 rm -f conftest*
12634 if test -n "$ac_declaration"; then
12635 echo '#ifdef __cplusplus' >>confdefs.h
12636 echo $ac_declaration >>confdefs.h
12637 echo '#endif' >>confdefs.h
12638 fi
12639
12640 ac_ext=cc
12641 ac_cpp='$CXXCPP $CPPFLAGS'
12642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12645
12646 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
12647 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
12648 if test "${wx_cv_cxx_exto+set}" = set; then
12649 echo $ECHO_N "(cached) $ECHO_C" >&6
12650 else
12651 cat >conftest.$ac_ext <<_ACEOF
12652 /* confdefs.h. */
12653 _ACEOF
12654 cat confdefs.h >>conftest.$ac_ext
12655 cat >>conftest.$ac_ext <<_ACEOF
12656 /* end confdefs.h. */
12657
12658 int
12659 main ()
12660 {
12661
12662 ;
12663 return 0;
12664 }
12665 _ACEOF
12666 rm -f conftest.$ac_objext conftest.$ac_ext.o
12667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12668 (eval $ac_compile) 2>&5
12669 ac_status=$?
12670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12671 (exit $ac_status); }; then
12672 for ac_file in `(ls conftest.* 2>/dev/null)`; do
12673 case $ac_file in
12674 conftest.$ac_ext.o)
12675 wx_cv_cxx_exto="-ext o"
12676 ;;
12677 *)
12678 ;;
12679 esac
12680 done
12681 else
12682 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12683 See \`config.log' for more details." >&5
12684 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12685 See \`config.log' for more details." >&2;}
12686 { (exit 1); exit 1; }; }
12687
12688 fi
12689
12690 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
12691
12692 fi
12693 echo "$as_me:$LINENO: result: $wx_cv_cxx_exto" >&5
12694 echo "${ECHO_T}$wx_cv_cxx_exto" >&6
12695 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12696 if test "cxx" = "c"; then
12697 CFLAGS="$wx_cv_cxx_exto $CFLAGS"
12698 fi
12699 if test "cxx" = "cxx"; then
12700 CXXFLAGS="$wx_cv_cxx_exto $CXXFLAGS"
12701 fi
12702 fi
12703
12704 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12705 unset ac_cv_prog_cxx_g
12706 ac_test_CXXFLAGS=${CXXFLAGS+set}
12707 ac_save_CXXFLAGS=$CXXFLAGS
12708 CXXFLAGS="-g"
12709 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12710 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12711 if test "${ac_cv_prog_cxx_g+set}" = set; then
12712 echo $ECHO_N "(cached) $ECHO_C" >&6
12713 else
12714 cat >conftest.$ac_ext <<_ACEOF
12715 /* confdefs.h. */
12716 _ACEOF
12717 cat confdefs.h >>conftest.$ac_ext
12718 cat >>conftest.$ac_ext <<_ACEOF
12719 /* end confdefs.h. */
12720
12721 int
12722 main ()
12723 {
12724
12725 ;
12726 return 0;
12727 }
12728 _ACEOF
12729 rm -f conftest.$ac_objext
12730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12731 (eval $ac_compile) 2>conftest.er1
12732 ac_status=$?
12733 grep -v '^ *+' conftest.er1 >conftest.err
12734 rm -f conftest.er1
12735 cat conftest.err >&5
12736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12737 (exit $ac_status); } &&
12738 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12740 (eval $ac_try) 2>&5
12741 ac_status=$?
12742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12743 (exit $ac_status); }; } &&
12744 { ac_try='test -s conftest.$ac_objext'
12745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12746 (eval $ac_try) 2>&5
12747 ac_status=$?
12748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12749 (exit $ac_status); }; }; then
12750 ac_cv_prog_cxx_g=yes
12751 else
12752 echo "$as_me: failed program was:" >&5
12753 sed 's/^/| /' conftest.$ac_ext >&5
12754
12755 ac_cv_prog_cxx_g=no
12756 fi
12757 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12758 fi
12759 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12760 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12761 if test "$ac_test_CXXFLAGS" = set; then
12762 CXXFLAGS=$ac_save_CXXFLAGS
12763 elif test $ac_cv_prog_cxx_g = yes; then
12764 if test "$GXX" = yes; then
12765 CXXFLAGS="-g -O2"
12766 else
12767 CXXFLAGS="-g"
12768 fi
12769 else
12770 if test "$GXX" = yes; then
12771 CXXFLAGS="-O2"
12772 else
12773 CXXFLAGS=
12774 fi
12775 fi
12776 fi
12777 ac_ext=cc
12778 ac_cpp='$CXXCPP $CPPFLAGS'
12779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12782
12783 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
12784 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
12785 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
12786 echo $ECHO_N "(cached) $ECHO_C" >&6
12787 else
12788 cat >conftest.$ac_ext <<_ACEOF
12789 /* confdefs.h. */
12790 _ACEOF
12791 cat confdefs.h >>conftest.$ac_ext
12792 cat >>conftest.$ac_ext <<_ACEOF
12793 /* end confdefs.h. */
12794
12795 int
12796 main ()
12797 {
12798 #ifndef __MWERKS__
12799 choke me
12800 #endif
12801
12802 ;
12803 return 0;
12804 }
12805 _ACEOF
12806 rm -f conftest.$ac_objext
12807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12808 (eval $ac_compile) 2>conftest.er1
12809 ac_status=$?
12810 grep -v '^ *+' conftest.er1 >conftest.err
12811 rm -f conftest.er1
12812 cat conftest.err >&5
12813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12814 (exit $ac_status); } &&
12815 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12817 (eval $ac_try) 2>&5
12818 ac_status=$?
12819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12820 (exit $ac_status); }; } &&
12821 { ac_try='test -s conftest.$ac_objext'
12822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12823 (eval $ac_try) 2>&5
12824 ac_status=$?
12825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12826 (exit $ac_status); }; }; then
12827 bakefile_compiler_mwerks=yes
12828 else
12829 echo "$as_me: failed program was:" >&5
12830 sed 's/^/| /' conftest.$ac_ext >&5
12831
12832 bakefile_compiler_mwerks=no
12833 fi
12834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12835 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
12836
12837 fi
12838 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
12839 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
12840
12841 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
12842 ac_ext=cc
12843 ac_cpp='$CXXCPP $CPPFLAGS'
12844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12847
12848
12849 ac_ext=cc
12850 ac_cpp='$CXXCPP $CPPFLAGS'
12851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12854
12855 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
12856 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
12857 if test "${wx_cv_cxx_compiler_xlc+set}" = set; then
12858 echo $ECHO_N "(cached) $ECHO_C" >&6
12859 else
12860 cat >conftest.$ac_ext <<_ACEOF
12861 /* confdefs.h. */
12862 _ACEOF
12863 cat confdefs.h >>conftest.$ac_ext
12864 cat >>conftest.$ac_ext <<_ACEOF
12865 /* end confdefs.h. */
12866
12867 int
12868 main ()
12869 {
12870 #ifndef __xlC__
12871 choke me
12872 #endif
12873
12874 ;
12875 return 0;
12876 }
12877 _ACEOF
12878 rm -f conftest.$ac_objext
12879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12880 (eval $ac_compile) 2>conftest.er1
12881 ac_status=$?
12882 grep -v '^ *+' conftest.er1 >conftest.err
12883 rm -f conftest.er1
12884 cat conftest.err >&5
12885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12886 (exit $ac_status); } &&
12887 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12889 (eval $ac_try) 2>&5
12890 ac_status=$?
12891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12892 (exit $ac_status); }; } &&
12893 { ac_try='test -s conftest.$ac_objext'
12894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12895 (eval $ac_try) 2>&5
12896 ac_status=$?
12897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12898 (exit $ac_status); }; }; then
12899 wx_compiler_xlc=yes
12900 else
12901 echo "$as_me: failed program was:" >&5
12902 sed 's/^/| /' conftest.$ac_ext >&5
12903
12904 wx_compiler_xlc=no
12905 fi
12906 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12907 wx_cv_cxx_compiler_xlc=$wx_compiler_xlc
12908
12909 fi
12910 echo "$as_me:$LINENO: result: $wx_cv_cxx_compiler_xlc" >&5
12911 echo "${ECHO_T}$wx_cv_cxx_compiler_xlc" >&6
12912
12913 XLCXX=`test $wx_cv_cxx_compiler_xlc = yes && echo yes`
12914 ac_ext=cc
12915 ac_cpp='$CXXCPP $CPPFLAGS'
12916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12919
12920
12921
12922
12923 ac_ext=cc
12924 ac_cpp='$CXXCPP $CPPFLAGS'
12925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12928
12929 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
12930 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
12931 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
12932 echo $ECHO_N "(cached) $ECHO_C" >&6
12933 else
12934 cat >conftest.$ac_ext <<_ACEOF
12935 /* confdefs.h. */
12936 _ACEOF
12937 cat confdefs.h >>conftest.$ac_ext
12938 cat >>conftest.$ac_ext <<_ACEOF
12939 /* end confdefs.h. */
12940
12941 int
12942 main ()
12943 {
12944
12945 #ifndef __SUNPRO_CC
12946 choke me
12947 #endif
12948
12949 ;
12950 return 0;
12951 }
12952 _ACEOF
12953 rm -f conftest.$ac_objext
12954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12955 (eval $ac_compile) 2>conftest.er1
12956 ac_status=$?
12957 grep -v '^ *+' conftest.er1 >conftest.err
12958 rm -f conftest.er1
12959 cat conftest.err >&5
12960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12961 (exit $ac_status); } &&
12962 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12964 (eval $ac_try) 2>&5
12965 ac_status=$?
12966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12967 (exit $ac_status); }; } &&
12968 { ac_try='test -s conftest.$ac_objext'
12969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12970 (eval $ac_try) 2>&5
12971 ac_status=$?
12972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12973 (exit $ac_status); }; }; then
12974 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
12975 else
12976 echo "$as_me: failed program was:" >&5
12977 sed 's/^/| /' conftest.$ac_ext >&5
12978
12979 bakefile_cv_cxx_compiler___SUNPRO_CC=no
12980
12981 fi
12982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12983
12984
12985 fi
12986 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
12987 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
12988 ac_ext=cc
12989 ac_cpp='$CXXCPP $CPPFLAGS'
12990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12993
12994 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
12995 :; SUNCXX=yes
12996 else
12997 :;
12998 fi
12999
13000
13001
13002
13003 ac_ext=c
13004 ac_cpp='$CPP $CPPFLAGS'
13005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13008
13009
13010 if test -n "$ac_tool_prefix"; then
13011 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
13012 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
13013 echo "$as_me:$LINENO: checking for $ac_word" >&5
13014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13015 if test "${ac_cv_prog_RANLIB+set}" = set; then
13016 echo $ECHO_N "(cached) $ECHO_C" >&6
13017 else
13018 if test -n "$RANLIB"; then
13019 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
13020 else
13021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13022 for as_dir in $PATH
13023 do
13024 IFS=$as_save_IFS
13025 test -z "$as_dir" && as_dir=.
13026 for ac_exec_ext in '' $ac_executable_extensions; do
13027 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13028 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
13029 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13030 break 2
13031 fi
13032 done
13033 done
13034
13035 fi
13036 fi
13037 RANLIB=$ac_cv_prog_RANLIB
13038 if test -n "$RANLIB"; then
13039 echo "$as_me:$LINENO: result: $RANLIB" >&5
13040 echo "${ECHO_T}$RANLIB" >&6
13041 else
13042 echo "$as_me:$LINENO: result: no" >&5
13043 echo "${ECHO_T}no" >&6
13044 fi
13045
13046 fi
13047 if test -z "$ac_cv_prog_RANLIB"; then
13048 ac_ct_RANLIB=$RANLIB
13049 # Extract the first word of "ranlib", so it can be a program name with args.
13050 set dummy ranlib; ac_word=$2
13051 echo "$as_me:$LINENO: checking for $ac_word" >&5
13052 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13053 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
13054 echo $ECHO_N "(cached) $ECHO_C" >&6
13055 else
13056 if test -n "$ac_ct_RANLIB"; then
13057 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
13058 else
13059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13060 for as_dir in $PATH
13061 do
13062 IFS=$as_save_IFS
13063 test -z "$as_dir" && as_dir=.
13064 for ac_exec_ext in '' $ac_executable_extensions; do
13065 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13066 ac_cv_prog_ac_ct_RANLIB="ranlib"
13067 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13068 break 2
13069 fi
13070 done
13071 done
13072
13073 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
13074 fi
13075 fi
13076 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
13077 if test -n "$ac_ct_RANLIB"; then
13078 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
13079 echo "${ECHO_T}$ac_ct_RANLIB" >&6
13080 else
13081 echo "$as_me:$LINENO: result: no" >&5
13082 echo "${ECHO_T}no" >&6
13083 fi
13084
13085 RANLIB=$ac_ct_RANLIB
13086 else
13087 RANLIB="$ac_cv_prog_RANLIB"
13088 fi
13089
13090
13091 # Extract the first word of "ar", so it can be a program name with args.
13092 set dummy ar; ac_word=$2
13093 echo "$as_me:$LINENO: checking for $ac_word" >&5
13094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13095 if test "${ac_cv_prog_AR+set}" = set; then
13096 echo $ECHO_N "(cached) $ECHO_C" >&6
13097 else
13098 if test -n "$AR"; then
13099 ac_cv_prog_AR="$AR" # Let the user override the test.
13100 else
13101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13102 for as_dir in $PATH
13103 do
13104 IFS=$as_save_IFS
13105 test -z "$as_dir" && as_dir=.
13106 for ac_exec_ext in '' $ac_executable_extensions; do
13107 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13108 ac_cv_prog_AR="ar"
13109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13110 break 2
13111 fi
13112 done
13113 done
13114
13115 fi
13116 fi
13117 AR=$ac_cv_prog_AR
13118 if test -n "$AR"; then
13119 echo "$as_me:$LINENO: result: $AR" >&5
13120 echo "${ECHO_T}$AR" >&6
13121 else
13122 echo "$as_me:$LINENO: result: no" >&5
13123 echo "${ECHO_T}no" >&6
13124 fi
13125
13126 if test "x$AR" = "x" ; then
13127 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
13128 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
13129 { (exit 1); exit 1; }; }
13130 fi
13131
13132 # Find a good install program. We prefer a C program (faster),
13133 # so one script is as good as another. But avoid the broken or
13134 # incompatible versions:
13135 # SysV /etc/install, /usr/sbin/install
13136 # SunOS /usr/etc/install
13137 # IRIX /sbin/install
13138 # AIX /bin/install
13139 # AmigaOS /C/install, which installs bootblocks on floppy discs
13140 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
13141 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
13142 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
13143 # OS/2's system install, which has a completely different semantic
13144 # ./install, which can be erroneously created by make from ./install.sh.
13145 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
13146 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
13147 if test -z "$INSTALL"; then
13148 if test "${ac_cv_path_install+set}" = set; then
13149 echo $ECHO_N "(cached) $ECHO_C" >&6
13150 else
13151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13152 for as_dir in $PATH
13153 do
13154 IFS=$as_save_IFS
13155 test -z "$as_dir" && as_dir=.
13156 # Account for people who put trailing slashes in PATH elements.
13157 case $as_dir/ in
13158 ./ | .// | /cC/* | \
13159 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
13160 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
13161 /usr/ucb/* ) ;;
13162 *)
13163 # OSF1 and SCO ODT 3.0 have their own names for install.
13164 # Don't use installbsd from OSF since it installs stuff as root
13165 # by default.
13166 for ac_prog in ginstall scoinst install; do
13167 for ac_exec_ext in '' $ac_executable_extensions; do
13168 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
13169 if test $ac_prog = install &&
13170 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
13171 # AIX install. It has an incompatible calling convention.
13172 :
13173 elif test $ac_prog = install &&
13174 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
13175 # program-specific install script used by HP pwplus--don't use.
13176 :
13177 else
13178 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
13179 break 3
13180 fi
13181 fi
13182 done
13183 done
13184 ;;
13185 esac
13186 done
13187
13188
13189 fi
13190 if test "${ac_cv_path_install+set}" = set; then
13191 INSTALL=$ac_cv_path_install
13192 else
13193 # As a last resort, use the slow shell script. We don't cache a
13194 # path for INSTALL within a source directory, because that will
13195 # break other packages using the cache if that directory is
13196 # removed, or if the path is relative.
13197 INSTALL=$ac_install_sh
13198 fi
13199 fi
13200 echo "$as_me:$LINENO: result: $INSTALL" >&5
13201 echo "${ECHO_T}$INSTALL" >&6
13202
13203 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
13204 # It thinks the first close brace ends the variable substitution.
13205 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
13206
13207 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
13208
13209 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
13210
13211
13212 case ${INSTALL} in
13213 /* ) # Absolute
13214 ;;
13215 ?:* ) # Drive letter, considered as absolute.
13216 ;;
13217 *)
13218 INSTALL=`pwd`/${INSTALL} ;;
13219 esac
13220
13221
13222 case "${host}" in
13223
13224 powerpc-*-darwin* )
13225 INSTALL_PROGRAM="cp -fp"
13226 INSTALL_DATA="cp -fp"
13227 ;;
13228 *)
13229 ;;
13230 esac
13231
13232 # Extract the first word of "strip", so it can be a program name with args.
13233 set dummy strip; ac_word=$2
13234 echo "$as_me:$LINENO: checking for $ac_word" >&5
13235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13236 if test "${ac_cv_prog_STRIP+set}" = set; then
13237 echo $ECHO_N "(cached) $ECHO_C" >&6
13238 else
13239 if test -n "$STRIP"; then
13240 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
13241 else
13242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13243 for as_dir in $PATH
13244 do
13245 IFS=$as_save_IFS
13246 test -z "$as_dir" && as_dir=.
13247 for ac_exec_ext in '' $ac_executable_extensions; do
13248 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13249 ac_cv_prog_STRIP="strip"
13250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13251 break 2
13252 fi
13253 done
13254 done
13255
13256 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
13257 fi
13258 fi
13259 STRIP=$ac_cv_prog_STRIP
13260 if test -n "$STRIP"; then
13261 echo "$as_me:$LINENO: result: $STRIP" >&5
13262 echo "${ECHO_T}$STRIP" >&6
13263 else
13264 echo "$as_me:$LINENO: result: no" >&5
13265 echo "${ECHO_T}no" >&6
13266 fi
13267
13268
13269 echo "$as_me:$LINENO: checking if make is GNU make" >&5
13270 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
13271 if test "${wx_cv_prog_makeisgnu+set}" = set; then
13272 echo $ECHO_N "(cached) $ECHO_C" >&6
13273 else
13274
13275 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
13276 egrep -s GNU > /dev/null); then
13277 wx_cv_prog_makeisgnu="yes"
13278 else
13279 wx_cv_prog_makeisgnu="no"
13280 fi
13281
13282 fi
13283 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
13284 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
13285
13286 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
13287 IF_GNU_MAKE=""
13288 else
13289 IF_GNU_MAKE="#"
13290 fi
13291
13292
13293
13294 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
13295 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
13296 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
13297 if test "${wx_cv_prog_makevpath+set}" = set; then
13298 echo $ECHO_N "(cached) $ECHO_C" >&6
13299 else
13300
13301 cat - << EOF > confMake
13302 check : file
13303 cp \$? \$@
13304 cp \$? final_file
13305 EOF
13306
13307 if test ! -d sub ; then
13308 mkdir sub
13309 fi
13310 echo dummy > sub/file
13311 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
13312 RESULT=$?
13313 rm -f sub/file check final_file confMake
13314 rmdir sub
13315 if test "$RESULT" = 0; then
13316 wx_cv_prog_makevpath="yes"
13317 else
13318 wx_cv_prog_makevpath="no"
13319 fi
13320
13321 fi
13322 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
13323 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
13324
13325 if test "x$wx_cv_prog_makevpath" != "xyes"; then
13326 { { echo "$as_me:$LINENO: error:
13327 You need a make-utility that is able to use the variable
13328 VPATH correctly.
13329 If your version of make does not support VPATH correctly,
13330 please install GNU-make (possibly as gmake), and start
13331 configure with the following command:
13332 export MAKE=gmake; ./configure for sh-type shells
13333 setenv MAKE gmake; ./configure for csh-type shells
13334 Also please do remember to use gmake in this case every time
13335 you are trying to compile.
13336 " >&5
13337 echo "$as_me: error:
13338 You need a make-utility that is able to use the variable
13339 VPATH correctly.
13340 If your version of make does not support VPATH correctly,
13341 please install GNU-make (possibly as gmake), and start
13342 configure with the following command:
13343 export MAKE=gmake; ./configure for sh-type shells
13344 setenv MAKE gmake; ./configure for csh-type shells
13345 Also please do remember to use gmake in this case every time
13346 you are trying to compile.
13347 " >&2;}
13348 { (exit 1); exit 1; }; }
13349 fi fi
13350 echo "$as_me:$LINENO: checking whether ln -s works" >&5
13351 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
13352 LN_S=$as_ln_s
13353 if test "$LN_S" = "ln -s"; then
13354 echo "$as_me:$LINENO: result: yes" >&5
13355 echo "${ECHO_T}yes" >&6
13356 else
13357 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
13358 echo "${ECHO_T}no, using $LN_S" >&6
13359 fi
13360
13361
13362
13363 if test "x$XLCXX" = "xyes"; then
13364 CXXFLAGS="$CXXFLAGS -qunique"
13365 fi
13366
13367
13368 case "${host}" in
13369 powerpc-*-darwin* )
13370 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
13371 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
13372 cat >conftest.$ac_ext <<_ACEOF
13373 /* confdefs.h. */
13374 _ACEOF
13375 cat confdefs.h >>conftest.$ac_ext
13376 cat >>conftest.$ac_ext <<_ACEOF
13377 /* end confdefs.h. */
13378
13379 int
13380 main ()
13381 {
13382 #ifndef __POWERPC__
13383 choke me for lack of PowerPC
13384 #endif
13385
13386 ;
13387 return 0;
13388 }
13389 _ACEOF
13390 rm -f conftest.$ac_objext
13391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13392 (eval $ac_compile) 2>conftest.er1
13393 ac_status=$?
13394 grep -v '^ *+' conftest.er1 >conftest.err
13395 rm -f conftest.er1
13396 cat conftest.err >&5
13397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13398 (exit $ac_status); } &&
13399 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13401 (eval $ac_try) 2>&5
13402 ac_status=$?
13403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13404 (exit $ac_status); }; } &&
13405 { ac_try='test -s conftest.$ac_objext'
13406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13407 (eval $ac_try) 2>&5
13408 ac_status=$?
13409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13410 (exit $ac_status); }; }; then
13411 echo "$as_me:$LINENO: result: yes" >&5
13412 echo "${ECHO_T}yes" >&6
13413 else
13414 echo "$as_me: failed program was:" >&5
13415 sed 's/^/| /' conftest.$ac_ext >&5
13416
13417 echo "$as_me:$LINENO: result: no" >&5
13418 echo "${ECHO_T}no" >&6
13419 cat >>confdefs.h <<\_ACEOF
13420 #define __POWERPC__ 1
13421 _ACEOF
13422
13423
13424 fi
13425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13426 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
13427 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
13428 cat >conftest.$ac_ext <<_ACEOF
13429 /* confdefs.h. */
13430 _ACEOF
13431 cat confdefs.h >>conftest.$ac_ext
13432 cat >>conftest.$ac_ext <<_ACEOF
13433 /* end confdefs.h. */
13434 #include <CoreFoundation/CFBase.h>
13435
13436 int
13437 main ()
13438 {
13439
13440 ;
13441 return 0;
13442 }
13443 _ACEOF
13444 rm -f conftest.$ac_objext
13445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13446 (eval $ac_compile) 2>conftest.er1
13447 ac_status=$?
13448 grep -v '^ *+' conftest.er1 >conftest.err
13449 rm -f conftest.er1
13450 cat conftest.err >&5
13451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13452 (exit $ac_status); } &&
13453 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13455 (eval $ac_try) 2>&5
13456 ac_status=$?
13457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13458 (exit $ac_status); }; } &&
13459 { ac_try='test -s conftest.$ac_objext'
13460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13461 (eval $ac_try) 2>&5
13462 ac_status=$?
13463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13464 (exit $ac_status); }; }; then
13465 echo "$as_me:$LINENO: result: yes" >&5
13466 echo "${ECHO_T}yes" >&6
13467 else
13468 echo "$as_me: failed program was:" >&5
13469 sed 's/^/| /' conftest.$ac_ext >&5
13470
13471 echo "$as_me:$LINENO: result: no" >&5
13472 echo "${ECHO_T}no" >&6
13473 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
13474 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
13475 cat >conftest.$ac_ext <<_ACEOF
13476 /* confdefs.h. */
13477 _ACEOF
13478 cat confdefs.h >>conftest.$ac_ext
13479 cat >>conftest.$ac_ext <<_ACEOF
13480 /* end confdefs.h. */
13481 #define __CF_USE_FRAMEWORK_INCLUDES__
13482 #include <CoreFoundation/CFBase.h>
13483
13484 int
13485 main ()
13486 {
13487
13488 ;
13489 return 0;
13490 }
13491 _ACEOF
13492 rm -f conftest.$ac_objext
13493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13494 (eval $ac_compile) 2>conftest.er1
13495 ac_status=$?
13496 grep -v '^ *+' conftest.er1 >conftest.err
13497 rm -f conftest.er1
13498 cat conftest.err >&5
13499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13500 (exit $ac_status); } &&
13501 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13503 (eval $ac_try) 2>&5
13504 ac_status=$?
13505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13506 (exit $ac_status); }; } &&
13507 { ac_try='test -s conftest.$ac_objext'
13508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13509 (eval $ac_try) 2>&5
13510 ac_status=$?
13511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13512 (exit $ac_status); }; }; then
13513 echo "$as_me:$LINENO: result: yes" >&5
13514 echo "${ECHO_T}yes" >&6
13515 CPPFLAGS="$CPPFLAGS -D__CF_USE_FRAMEWORK_INCLUDES__"
13516 else
13517 echo "$as_me: failed program was:" >&5
13518 sed 's/^/| /' conftest.$ac_ext >&5
13519
13520 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
13521 See \`config.log' for more details." >&5
13522 echo "$as_me: error: no. CoreFoundation not available.
13523 See \`config.log' for more details." >&2;}
13524 { (exit 1); exit 1; }; }
13525
13526 fi
13527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13528
13529
13530 fi
13531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13532 ;;
13533 esac
13534
13535 case "${host}" in
13536 *-pc-os2_emx | *-pc-os2-emx )
13537 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
13538 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
13539 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
13540 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
13541 echo $ECHO_N "(cached) $ECHO_C" >&6
13542 else
13543 ac_check_lib_save_LIBS=$LIBS
13544 LIBS="-lcExt $LIBS"
13545 cat >conftest.$ac_ext <<_ACEOF
13546 /* confdefs.h. */
13547 _ACEOF
13548 cat confdefs.h >>conftest.$ac_ext
13549 cat >>conftest.$ac_ext <<_ACEOF
13550 /* end confdefs.h. */
13551
13552 /* Override any gcc2 internal prototype to avoid an error. */
13553 #ifdef __cplusplus
13554 extern "C"
13555 #endif
13556 /* We use char because int might match the return type of a gcc2
13557 builtin and then its argument prototype would still apply. */
13558 char drand48 ();
13559 int
13560 main ()
13561 {
13562 drand48 ();
13563 ;
13564 return 0;
13565 }
13566 _ACEOF
13567 rm -f conftest.$ac_objext conftest$ac_exeext
13568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13569 (eval $ac_link) 2>conftest.er1
13570 ac_status=$?
13571 grep -v '^ *+' conftest.er1 >conftest.err
13572 rm -f conftest.er1
13573 cat conftest.err >&5
13574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13575 (exit $ac_status); } &&
13576 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13578 (eval $ac_try) 2>&5
13579 ac_status=$?
13580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13581 (exit $ac_status); }; } &&
13582 { ac_try='test -s conftest$ac_exeext'
13583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13584 (eval $ac_try) 2>&5
13585 ac_status=$?
13586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13587 (exit $ac_status); }; }; then
13588 ac_cv_lib_cExt_drand48=yes
13589 else
13590 echo "$as_me: failed program was:" >&5
13591 sed 's/^/| /' conftest.$ac_ext >&5
13592
13593 ac_cv_lib_cExt_drand48=no
13594 fi
13595 rm -f conftest.err conftest.$ac_objext \
13596 conftest$ac_exeext conftest.$ac_ext
13597 LIBS=$ac_check_lib_save_LIBS
13598 fi
13599 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
13600 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
13601 if test $ac_cv_lib_cExt_drand48 = yes; then
13602 LIBS="$LIBS -lcExt"
13603 fi
13604
13605 else
13606 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
13607 fi
13608 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
13609 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
13610 if test "${wx_cv_gccversion+set}" = set; then
13611 echo $ECHO_N "(cached) $ECHO_C" >&6
13612 else
13613
13614 if test "$cross_compiling" = yes; then
13615 wx_cv_gccversion="EMX2"
13616
13617 else
13618 cat >conftest.$ac_ext <<_ACEOF
13619 /* confdefs.h. */
13620 _ACEOF
13621 cat confdefs.h >>conftest.$ac_ext
13622 cat >>conftest.$ac_ext <<_ACEOF
13623 /* end confdefs.h. */
13624
13625 #include <stdio.h>
13626
13627 int main()
13628 {
13629 FILE *f=fopen("conftestval", "w");
13630 if (!f) exit(1);
13631 fprintf(f,
13632 #if (__GNUC__ < 3)
13633 "EMX2"
13634 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
13635 "EMX3"
13636 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
13637 "Innotek5"
13638 #else
13639 "Innotek6"
13640 #endif
13641 );
13642 exit(0);
13643 }
13644
13645 _ACEOF
13646 rm -f conftest$ac_exeext
13647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13648 (eval $ac_link) 2>&5
13649 ac_status=$?
13650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13651 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13653 (eval $ac_try) 2>&5
13654 ac_status=$?
13655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13656 (exit $ac_status); }; }; then
13657 wx_cv_gccversion=`cat conftestval`
13658 else
13659 echo "$as_me: program exited with status $ac_status" >&5
13660 echo "$as_me: failed program was:" >&5
13661 sed 's/^/| /' conftest.$ac_ext >&5
13662
13663 ( exit $ac_status )
13664 wx_cv_gccversion="EMX2"
13665 fi
13666 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13667 fi
13668
13669 fi
13670 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
13671 echo "${ECHO_T}$wx_cv_gccversion" >&6
13672 if test "$wx_cv_gccversion" = "EMX2"; then
13673 LIBS="$LIBS -lstdcpp"
13674 LDFLAGS="$LDFLAGS -Zsysv-signals"
13675 else
13676 if test "$wx_cv_gccversion" = "EMX3"; then
13677 LIBS="$LIBS -lstdcxx"
13678 LDFLAGS="$LDFLAGS -Zsysv-signals"
13679 else
13680 LIBS="$LIBS -lstdc++"
13681 fi
13682 fi
13683 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
13684 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
13685 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
13686 wxUSE_OMF=yes
13687 enable_omf=yes
13688 fi
13689 ;;
13690 *)
13691
13692
13693
13694 ac_ext=cc
13695 ac_cpp='$CXXCPP $CPPFLAGS'
13696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13699
13700
13701 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
13702 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
13703 if test "${ac_cv_string_strcasecmp+set}" = set; then
13704 echo $ECHO_N "(cached) $ECHO_C" >&6
13705 else
13706
13707 cat >conftest.$ac_ext <<_ACEOF
13708 /* confdefs.h. */
13709 _ACEOF
13710 cat confdefs.h >>conftest.$ac_ext
13711 cat >>conftest.$ac_ext <<_ACEOF
13712 /* end confdefs.h. */
13713
13714 #include <string.h>
13715
13716 int
13717 main ()
13718 {
13719
13720 strcasecmp("foo", "bar");
13721
13722 ;
13723 return 0;
13724 }
13725 _ACEOF
13726 rm -f conftest.$ac_objext conftest$ac_exeext
13727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13728 (eval $ac_link) 2>conftest.er1
13729 ac_status=$?
13730 grep -v '^ *+' conftest.er1 >conftest.err
13731 rm -f conftest.er1
13732 cat conftest.err >&5
13733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13734 (exit $ac_status); } &&
13735 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13737 (eval $ac_try) 2>&5
13738 ac_status=$?
13739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13740 (exit $ac_status); }; } &&
13741 { ac_try='test -s conftest$ac_exeext'
13742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13743 (eval $ac_try) 2>&5
13744 ac_status=$?
13745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13746 (exit $ac_status); }; }; then
13747 ac_cv_string_strcasecmp=yes
13748 else
13749 echo "$as_me: failed program was:" >&5
13750 sed 's/^/| /' conftest.$ac_ext >&5
13751
13752 ac_cv_string_strcasecmp=no
13753
13754 fi
13755 rm -f conftest.err conftest.$ac_objext \
13756 conftest$ac_exeext conftest.$ac_ext
13757
13758 fi
13759 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
13760 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
13761
13762 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
13763 cat >>confdefs.h <<\_ACEOF
13764 #define HAVE_STRCASECMP_IN_STRING_H 1
13765 _ACEOF
13766
13767 else
13768 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
13769 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
13770 if test "${ac_cv_strings_strcasecmp+set}" = set; then
13771 echo $ECHO_N "(cached) $ECHO_C" >&6
13772 else
13773
13774 cat >conftest.$ac_ext <<_ACEOF
13775 /* confdefs.h. */
13776 _ACEOF
13777 cat confdefs.h >>conftest.$ac_ext
13778 cat >>conftest.$ac_ext <<_ACEOF
13779 /* end confdefs.h. */
13780
13781 #include <strings.h>
13782
13783 int
13784 main ()
13785 {
13786
13787 strcasecmp("foo", "bar");
13788
13789 ;
13790 return 0;
13791 }
13792 _ACEOF
13793 rm -f conftest.$ac_objext conftest$ac_exeext
13794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13795 (eval $ac_link) 2>conftest.er1
13796 ac_status=$?
13797 grep -v '^ *+' conftest.er1 >conftest.err
13798 rm -f conftest.er1
13799 cat conftest.err >&5
13800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13801 (exit $ac_status); } &&
13802 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13804 (eval $ac_try) 2>&5
13805 ac_status=$?
13806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13807 (exit $ac_status); }; } &&
13808 { ac_try='test -s conftest$ac_exeext'
13809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13810 (eval $ac_try) 2>&5
13811 ac_status=$?
13812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13813 (exit $ac_status); }; }; then
13814 ac_cv_strings_strcasecmp=yes
13815 else
13816 echo "$as_me: failed program was:" >&5
13817 sed 's/^/| /' conftest.$ac_ext >&5
13818
13819 ac_cv_strings_strcasecmp=no
13820
13821 fi
13822 rm -f conftest.err conftest.$ac_objext \
13823 conftest$ac_exeext conftest.$ac_ext
13824
13825 fi
13826 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
13827 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
13828
13829 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
13830 cat >>confdefs.h <<\_ACEOF
13831 #define HAVE_STRCASECMP_IN_STRINGS_H 1
13832 _ACEOF
13833
13834 else
13835 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
13836 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
13837 { (exit 1); exit 1; }; }
13838 fi
13839 fi
13840
13841 ac_ext=c
13842 ac_cpp='$CPP $CPPFLAGS'
13843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13846
13847 ;;
13848 esac
13849
13850
13851 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
13852 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
13853 if test "${ac_cv_header_stdc+set}" = set; then
13854 echo $ECHO_N "(cached) $ECHO_C" >&6
13855 else
13856 cat >conftest.$ac_ext <<_ACEOF
13857 /* confdefs.h. */
13858 _ACEOF
13859 cat confdefs.h >>conftest.$ac_ext
13860 cat >>conftest.$ac_ext <<_ACEOF
13861 /* end confdefs.h. */
13862 #include <stdlib.h>
13863 #include <stdarg.h>
13864 #include <string.h>
13865 #include <float.h>
13866
13867 int
13868 main ()
13869 {
13870
13871 ;
13872 return 0;
13873 }
13874 _ACEOF
13875 rm -f conftest.$ac_objext
13876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13877 (eval $ac_compile) 2>conftest.er1
13878 ac_status=$?
13879 grep -v '^ *+' conftest.er1 >conftest.err
13880 rm -f conftest.er1
13881 cat conftest.err >&5
13882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13883 (exit $ac_status); } &&
13884 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13886 (eval $ac_try) 2>&5
13887 ac_status=$?
13888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13889 (exit $ac_status); }; } &&
13890 { ac_try='test -s conftest.$ac_objext'
13891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13892 (eval $ac_try) 2>&5
13893 ac_status=$?
13894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13895 (exit $ac_status); }; }; then
13896 ac_cv_header_stdc=yes
13897 else
13898 echo "$as_me: failed program was:" >&5
13899 sed 's/^/| /' conftest.$ac_ext >&5
13900
13901 ac_cv_header_stdc=no
13902 fi
13903 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13904
13905 if test $ac_cv_header_stdc = yes; then
13906 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13907 cat >conftest.$ac_ext <<_ACEOF
13908 /* confdefs.h. */
13909 _ACEOF
13910 cat confdefs.h >>conftest.$ac_ext
13911 cat >>conftest.$ac_ext <<_ACEOF
13912 /* end confdefs.h. */
13913 #include <string.h>
13914
13915 _ACEOF
13916 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13917 $EGREP "memchr" >/dev/null 2>&1; then
13918 :
13919 else
13920 ac_cv_header_stdc=no
13921 fi
13922 rm -f conftest*
13923
13924 fi
13925
13926 if test $ac_cv_header_stdc = yes; then
13927 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13928 cat >conftest.$ac_ext <<_ACEOF
13929 /* confdefs.h. */
13930 _ACEOF
13931 cat confdefs.h >>conftest.$ac_ext
13932 cat >>conftest.$ac_ext <<_ACEOF
13933 /* end confdefs.h. */
13934 #include <stdlib.h>
13935
13936 _ACEOF
13937 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13938 $EGREP "free" >/dev/null 2>&1; then
13939 :
13940 else
13941 ac_cv_header_stdc=no
13942 fi
13943 rm -f conftest*
13944
13945 fi
13946
13947 if test $ac_cv_header_stdc = yes; then
13948 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13949 if test "$cross_compiling" = yes; then
13950 :
13951 else
13952 cat >conftest.$ac_ext <<_ACEOF
13953 /* confdefs.h. */
13954 _ACEOF
13955 cat confdefs.h >>conftest.$ac_ext
13956 cat >>conftest.$ac_ext <<_ACEOF
13957 /* end confdefs.h. */
13958 #include <ctype.h>
13959 #if ((' ' & 0x0FF) == 0x020)
13960 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13961 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13962 #else
13963 # define ISLOWER(c) \
13964 (('a' <= (c) && (c) <= 'i') \
13965 || ('j' <= (c) && (c) <= 'r') \
13966 || ('s' <= (c) && (c) <= 'z'))
13967 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13968 #endif
13969
13970 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13971 int
13972 main ()
13973 {
13974 int i;
13975 for (i = 0; i < 256; i++)
13976 if (XOR (islower (i), ISLOWER (i))
13977 || toupper (i) != TOUPPER (i))
13978 exit(2);
13979 exit (0);
13980 }
13981 _ACEOF
13982 rm -f conftest$ac_exeext
13983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13984 (eval $ac_link) 2>&5
13985 ac_status=$?
13986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13987 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13989 (eval $ac_try) 2>&5
13990 ac_status=$?
13991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13992 (exit $ac_status); }; }; then
13993 :
13994 else
13995 echo "$as_me: program exited with status $ac_status" >&5
13996 echo "$as_me: failed program was:" >&5
13997 sed 's/^/| /' conftest.$ac_ext >&5
13998
13999 ( exit $ac_status )
14000 ac_cv_header_stdc=no
14001 fi
14002 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14003 fi
14004 fi
14005 fi
14006 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
14007 echo "${ECHO_T}$ac_cv_header_stdc" >&6
14008 if test $ac_cv_header_stdc = yes; then
14009
14010 cat >>confdefs.h <<\_ACEOF
14011 #define STDC_HEADERS 1
14012 _ACEOF
14013
14014 fi
14015
14016 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
14017
14018
14019
14020
14021
14022
14023
14024
14025
14026 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
14027 inttypes.h stdint.h unistd.h
14028 do
14029 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14030 echo "$as_me:$LINENO: checking for $ac_header" >&5
14031 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14032 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14033 echo $ECHO_N "(cached) $ECHO_C" >&6
14034 else
14035 cat >conftest.$ac_ext <<_ACEOF
14036 /* confdefs.h. */
14037 _ACEOF
14038 cat confdefs.h >>conftest.$ac_ext
14039 cat >>conftest.$ac_ext <<_ACEOF
14040 /* end confdefs.h. */
14041 $ac_includes_default
14042
14043 #include <$ac_header>
14044 _ACEOF
14045 rm -f conftest.$ac_objext
14046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14047 (eval $ac_compile) 2>conftest.er1
14048 ac_status=$?
14049 grep -v '^ *+' conftest.er1 >conftest.err
14050 rm -f conftest.er1
14051 cat conftest.err >&5
14052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14053 (exit $ac_status); } &&
14054 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14056 (eval $ac_try) 2>&5
14057 ac_status=$?
14058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14059 (exit $ac_status); }; } &&
14060 { ac_try='test -s conftest.$ac_objext'
14061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14062 (eval $ac_try) 2>&5
14063 ac_status=$?
14064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14065 (exit $ac_status); }; }; then
14066 eval "$as_ac_Header=yes"
14067 else
14068 echo "$as_me: failed program was:" >&5
14069 sed 's/^/| /' conftest.$ac_ext >&5
14070
14071 eval "$as_ac_Header=no"
14072 fi
14073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14074 fi
14075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14076 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14077 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14078 cat >>confdefs.h <<_ACEOF
14079 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14080 _ACEOF
14081
14082 fi
14083
14084 done
14085
14086
14087
14088 for ac_header in stdlib.h
14089 do
14090 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14091 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14092 echo "$as_me:$LINENO: checking for $ac_header" >&5
14093 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14094 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14095 echo $ECHO_N "(cached) $ECHO_C" >&6
14096 fi
14097 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14098 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14099 else
14100 # Is the header compilable?
14101 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14102 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14103 cat >conftest.$ac_ext <<_ACEOF
14104 /* confdefs.h. */
14105 _ACEOF
14106 cat confdefs.h >>conftest.$ac_ext
14107 cat >>conftest.$ac_ext <<_ACEOF
14108 /* end confdefs.h. */
14109 $ac_includes_default
14110 #include <$ac_header>
14111 _ACEOF
14112 rm -f conftest.$ac_objext
14113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14114 (eval $ac_compile) 2>conftest.er1
14115 ac_status=$?
14116 grep -v '^ *+' conftest.er1 >conftest.err
14117 rm -f conftest.er1
14118 cat conftest.err >&5
14119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14120 (exit $ac_status); } &&
14121 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14123 (eval $ac_try) 2>&5
14124 ac_status=$?
14125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14126 (exit $ac_status); }; } &&
14127 { ac_try='test -s conftest.$ac_objext'
14128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14129 (eval $ac_try) 2>&5
14130 ac_status=$?
14131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14132 (exit $ac_status); }; }; then
14133 ac_header_compiler=yes
14134 else
14135 echo "$as_me: failed program was:" >&5
14136 sed 's/^/| /' conftest.$ac_ext >&5
14137
14138 ac_header_compiler=no
14139 fi
14140 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14141 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14142 echo "${ECHO_T}$ac_header_compiler" >&6
14143
14144 # Is the header present?
14145 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14146 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14147 cat >conftest.$ac_ext <<_ACEOF
14148 /* confdefs.h. */
14149 _ACEOF
14150 cat confdefs.h >>conftest.$ac_ext
14151 cat >>conftest.$ac_ext <<_ACEOF
14152 /* end confdefs.h. */
14153 #include <$ac_header>
14154 _ACEOF
14155 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14156 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14157 ac_status=$?
14158 grep -v '^ *+' conftest.er1 >conftest.err
14159 rm -f conftest.er1
14160 cat conftest.err >&5
14161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14162 (exit $ac_status); } >/dev/null; then
14163 if test -s conftest.err; then
14164 ac_cpp_err=$ac_c_preproc_warn_flag
14165 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14166 else
14167 ac_cpp_err=
14168 fi
14169 else
14170 ac_cpp_err=yes
14171 fi
14172 if test -z "$ac_cpp_err"; then
14173 ac_header_preproc=yes
14174 else
14175 echo "$as_me: failed program was:" >&5
14176 sed 's/^/| /' conftest.$ac_ext >&5
14177
14178 ac_header_preproc=no
14179 fi
14180 rm -f conftest.err conftest.$ac_ext
14181 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14182 echo "${ECHO_T}$ac_header_preproc" >&6
14183
14184 # So? What about this header?
14185 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14186 yes:no: )
14187 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14188 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14189 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14190 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14191 ac_header_preproc=yes
14192 ;;
14193 no:yes:* )
14194 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14195 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14196 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14197 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14198 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14199 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14200 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14201 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14202 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14203 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14204 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14205 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14206 (
14207 cat <<\_ASBOX
14208 ## ----------------------------------------- ##
14209 ## Report this to wx-dev@lists.wxwidgets.org ##
14210 ## ----------------------------------------- ##
14211 _ASBOX
14212 ) |
14213 sed "s/^/$as_me: WARNING: /" >&2
14214 ;;
14215 esac
14216 echo "$as_me:$LINENO: checking for $ac_header" >&5
14217 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14218 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14219 echo $ECHO_N "(cached) $ECHO_C" >&6
14220 else
14221 eval "$as_ac_Header=\$ac_header_preproc"
14222 fi
14223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14224 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14225
14226 fi
14227 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14228 cat >>confdefs.h <<_ACEOF
14229 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14230 _ACEOF
14231
14232 fi
14233
14234 done
14235
14236
14237 for ac_header in malloc.h
14238 do
14239 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14240 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14241 echo "$as_me:$LINENO: checking for $ac_header" >&5
14242 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14243 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14244 echo $ECHO_N "(cached) $ECHO_C" >&6
14245 fi
14246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14247 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14248 else
14249 # Is the header compilable?
14250 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14251 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14252 cat >conftest.$ac_ext <<_ACEOF
14253 /* confdefs.h. */
14254 _ACEOF
14255 cat confdefs.h >>conftest.$ac_ext
14256 cat >>conftest.$ac_ext <<_ACEOF
14257 /* end confdefs.h. */
14258 $ac_includes_default
14259 #include <$ac_header>
14260 _ACEOF
14261 rm -f conftest.$ac_objext
14262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14263 (eval $ac_compile) 2>conftest.er1
14264 ac_status=$?
14265 grep -v '^ *+' conftest.er1 >conftest.err
14266 rm -f conftest.er1
14267 cat conftest.err >&5
14268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14269 (exit $ac_status); } &&
14270 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14272 (eval $ac_try) 2>&5
14273 ac_status=$?
14274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14275 (exit $ac_status); }; } &&
14276 { ac_try='test -s conftest.$ac_objext'
14277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14278 (eval $ac_try) 2>&5
14279 ac_status=$?
14280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14281 (exit $ac_status); }; }; then
14282 ac_header_compiler=yes
14283 else
14284 echo "$as_me: failed program was:" >&5
14285 sed 's/^/| /' conftest.$ac_ext >&5
14286
14287 ac_header_compiler=no
14288 fi
14289 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14290 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14291 echo "${ECHO_T}$ac_header_compiler" >&6
14292
14293 # Is the header present?
14294 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14295 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14296 cat >conftest.$ac_ext <<_ACEOF
14297 /* confdefs.h. */
14298 _ACEOF
14299 cat confdefs.h >>conftest.$ac_ext
14300 cat >>conftest.$ac_ext <<_ACEOF
14301 /* end confdefs.h. */
14302 #include <$ac_header>
14303 _ACEOF
14304 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14305 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14306 ac_status=$?
14307 grep -v '^ *+' conftest.er1 >conftest.err
14308 rm -f conftest.er1
14309 cat conftest.err >&5
14310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14311 (exit $ac_status); } >/dev/null; then
14312 if test -s conftest.err; then
14313 ac_cpp_err=$ac_c_preproc_warn_flag
14314 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14315 else
14316 ac_cpp_err=
14317 fi
14318 else
14319 ac_cpp_err=yes
14320 fi
14321 if test -z "$ac_cpp_err"; then
14322 ac_header_preproc=yes
14323 else
14324 echo "$as_me: failed program was:" >&5
14325 sed 's/^/| /' conftest.$ac_ext >&5
14326
14327 ac_header_preproc=no
14328 fi
14329 rm -f conftest.err conftest.$ac_ext
14330 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14331 echo "${ECHO_T}$ac_header_preproc" >&6
14332
14333 # So? What about this header?
14334 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14335 yes:no: )
14336 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14337 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14338 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14339 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14340 ac_header_preproc=yes
14341 ;;
14342 no:yes:* )
14343 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14344 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14345 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14346 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14347 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14348 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14349 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14350 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14351 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14352 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14353 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14354 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14355 (
14356 cat <<\_ASBOX
14357 ## ----------------------------------------- ##
14358 ## Report this to wx-dev@lists.wxwidgets.org ##
14359 ## ----------------------------------------- ##
14360 _ASBOX
14361 ) |
14362 sed "s/^/$as_me: WARNING: /" >&2
14363 ;;
14364 esac
14365 echo "$as_me:$LINENO: checking for $ac_header" >&5
14366 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14367 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14368 echo $ECHO_N "(cached) $ECHO_C" >&6
14369 else
14370 eval "$as_ac_Header=\$ac_header_preproc"
14371 fi
14372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14373 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14374
14375 fi
14376 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14377 cat >>confdefs.h <<_ACEOF
14378 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14379 _ACEOF
14380
14381 fi
14382
14383 done
14384
14385
14386 for ac_header in unistd.h
14387 do
14388 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14389 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14390 echo "$as_me:$LINENO: checking for $ac_header" >&5
14391 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14392 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14393 echo $ECHO_N "(cached) $ECHO_C" >&6
14394 fi
14395 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14396 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14397 else
14398 # Is the header compilable?
14399 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14400 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14401 cat >conftest.$ac_ext <<_ACEOF
14402 /* confdefs.h. */
14403 _ACEOF
14404 cat confdefs.h >>conftest.$ac_ext
14405 cat >>conftest.$ac_ext <<_ACEOF
14406 /* end confdefs.h. */
14407 $ac_includes_default
14408 #include <$ac_header>
14409 _ACEOF
14410 rm -f conftest.$ac_objext
14411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14412 (eval $ac_compile) 2>conftest.er1
14413 ac_status=$?
14414 grep -v '^ *+' conftest.er1 >conftest.err
14415 rm -f conftest.er1
14416 cat conftest.err >&5
14417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14418 (exit $ac_status); } &&
14419 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14421 (eval $ac_try) 2>&5
14422 ac_status=$?
14423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14424 (exit $ac_status); }; } &&
14425 { ac_try='test -s conftest.$ac_objext'
14426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14427 (eval $ac_try) 2>&5
14428 ac_status=$?
14429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14430 (exit $ac_status); }; }; then
14431 ac_header_compiler=yes
14432 else
14433 echo "$as_me: failed program was:" >&5
14434 sed 's/^/| /' conftest.$ac_ext >&5
14435
14436 ac_header_compiler=no
14437 fi
14438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14439 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14440 echo "${ECHO_T}$ac_header_compiler" >&6
14441
14442 # Is the header present?
14443 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14444 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14445 cat >conftest.$ac_ext <<_ACEOF
14446 /* confdefs.h. */
14447 _ACEOF
14448 cat confdefs.h >>conftest.$ac_ext
14449 cat >>conftest.$ac_ext <<_ACEOF
14450 /* end confdefs.h. */
14451 #include <$ac_header>
14452 _ACEOF
14453 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14454 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14455 ac_status=$?
14456 grep -v '^ *+' conftest.er1 >conftest.err
14457 rm -f conftest.er1
14458 cat conftest.err >&5
14459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14460 (exit $ac_status); } >/dev/null; then
14461 if test -s conftest.err; then
14462 ac_cpp_err=$ac_c_preproc_warn_flag
14463 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14464 else
14465 ac_cpp_err=
14466 fi
14467 else
14468 ac_cpp_err=yes
14469 fi
14470 if test -z "$ac_cpp_err"; then
14471 ac_header_preproc=yes
14472 else
14473 echo "$as_me: failed program was:" >&5
14474 sed 's/^/| /' conftest.$ac_ext >&5
14475
14476 ac_header_preproc=no
14477 fi
14478 rm -f conftest.err conftest.$ac_ext
14479 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14480 echo "${ECHO_T}$ac_header_preproc" >&6
14481
14482 # So? What about this header?
14483 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14484 yes:no: )
14485 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14486 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14487 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14488 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14489 ac_header_preproc=yes
14490 ;;
14491 no:yes:* )
14492 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14493 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14494 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14495 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14496 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14497 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14498 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14499 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14500 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14501 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14502 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14503 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14504 (
14505 cat <<\_ASBOX
14506 ## ----------------------------------------- ##
14507 ## Report this to wx-dev@lists.wxwidgets.org ##
14508 ## ----------------------------------------- ##
14509 _ASBOX
14510 ) |
14511 sed "s/^/$as_me: WARNING: /" >&2
14512 ;;
14513 esac
14514 echo "$as_me:$LINENO: checking for $ac_header" >&5
14515 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14516 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14517 echo $ECHO_N "(cached) $ECHO_C" >&6
14518 else
14519 eval "$as_ac_Header=\$ac_header_preproc"
14520 fi
14521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14522 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14523
14524 fi
14525 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14526 cat >>confdefs.h <<_ACEOF
14527 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14528 _ACEOF
14529
14530 fi
14531
14532 done
14533
14534
14535 for ac_header in wchar.h
14536 do
14537 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14538 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14539 echo "$as_me:$LINENO: checking for $ac_header" >&5
14540 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14541 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14542 echo $ECHO_N "(cached) $ECHO_C" >&6
14543 fi
14544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14545 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14546 else
14547 # Is the header compilable?
14548 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14549 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14550 cat >conftest.$ac_ext <<_ACEOF
14551 /* confdefs.h. */
14552 _ACEOF
14553 cat confdefs.h >>conftest.$ac_ext
14554 cat >>conftest.$ac_ext <<_ACEOF
14555 /* end confdefs.h. */
14556 $ac_includes_default
14557 #include <$ac_header>
14558 _ACEOF
14559 rm -f conftest.$ac_objext
14560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14561 (eval $ac_compile) 2>conftest.er1
14562 ac_status=$?
14563 grep -v '^ *+' conftest.er1 >conftest.err
14564 rm -f conftest.er1
14565 cat conftest.err >&5
14566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14567 (exit $ac_status); } &&
14568 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14570 (eval $ac_try) 2>&5
14571 ac_status=$?
14572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14573 (exit $ac_status); }; } &&
14574 { ac_try='test -s conftest.$ac_objext'
14575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14576 (eval $ac_try) 2>&5
14577 ac_status=$?
14578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14579 (exit $ac_status); }; }; then
14580 ac_header_compiler=yes
14581 else
14582 echo "$as_me: failed program was:" >&5
14583 sed 's/^/| /' conftest.$ac_ext >&5
14584
14585 ac_header_compiler=no
14586 fi
14587 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14588 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14589 echo "${ECHO_T}$ac_header_compiler" >&6
14590
14591 # Is the header present?
14592 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14593 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14594 cat >conftest.$ac_ext <<_ACEOF
14595 /* confdefs.h. */
14596 _ACEOF
14597 cat confdefs.h >>conftest.$ac_ext
14598 cat >>conftest.$ac_ext <<_ACEOF
14599 /* end confdefs.h. */
14600 #include <$ac_header>
14601 _ACEOF
14602 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14603 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14604 ac_status=$?
14605 grep -v '^ *+' conftest.er1 >conftest.err
14606 rm -f conftest.er1
14607 cat conftest.err >&5
14608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14609 (exit $ac_status); } >/dev/null; then
14610 if test -s conftest.err; then
14611 ac_cpp_err=$ac_c_preproc_warn_flag
14612 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14613 else
14614 ac_cpp_err=
14615 fi
14616 else
14617 ac_cpp_err=yes
14618 fi
14619 if test -z "$ac_cpp_err"; then
14620 ac_header_preproc=yes
14621 else
14622 echo "$as_me: failed program was:" >&5
14623 sed 's/^/| /' conftest.$ac_ext >&5
14624
14625 ac_header_preproc=no
14626 fi
14627 rm -f conftest.err conftest.$ac_ext
14628 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14629 echo "${ECHO_T}$ac_header_preproc" >&6
14630
14631 # So? What about this header?
14632 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14633 yes:no: )
14634 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14635 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14636 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14637 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14638 ac_header_preproc=yes
14639 ;;
14640 no:yes:* )
14641 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14642 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14643 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14644 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14645 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14646 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14647 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14648 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14649 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14650 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14651 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14652 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14653 (
14654 cat <<\_ASBOX
14655 ## ----------------------------------------- ##
14656 ## Report this to wx-dev@lists.wxwidgets.org ##
14657 ## ----------------------------------------- ##
14658 _ASBOX
14659 ) |
14660 sed "s/^/$as_me: WARNING: /" >&2
14661 ;;
14662 esac
14663 echo "$as_me:$LINENO: checking for $ac_header" >&5
14664 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14665 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14666 echo $ECHO_N "(cached) $ECHO_C" >&6
14667 else
14668 eval "$as_ac_Header=\$ac_header_preproc"
14669 fi
14670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14671 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14672
14673 fi
14674 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14675 cat >>confdefs.h <<_ACEOF
14676 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14677 _ACEOF
14678
14679 fi
14680
14681 done
14682
14683
14684 if test "$ac_cv_header_wchar_h" != "yes"; then
14685
14686 for ac_header in wcstr.h
14687 do
14688 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14689 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14690 echo "$as_me:$LINENO: checking for $ac_header" >&5
14691 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14692 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14693 echo $ECHO_N "(cached) $ECHO_C" >&6
14694 fi
14695 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14696 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14697 else
14698 # Is the header compilable?
14699 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14700 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14701 cat >conftest.$ac_ext <<_ACEOF
14702 /* confdefs.h. */
14703 _ACEOF
14704 cat confdefs.h >>conftest.$ac_ext
14705 cat >>conftest.$ac_ext <<_ACEOF
14706 /* end confdefs.h. */
14707 $ac_includes_default
14708 #include <$ac_header>
14709 _ACEOF
14710 rm -f conftest.$ac_objext
14711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14712 (eval $ac_compile) 2>conftest.er1
14713 ac_status=$?
14714 grep -v '^ *+' conftest.er1 >conftest.err
14715 rm -f conftest.er1
14716 cat conftest.err >&5
14717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14718 (exit $ac_status); } &&
14719 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14721 (eval $ac_try) 2>&5
14722 ac_status=$?
14723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14724 (exit $ac_status); }; } &&
14725 { ac_try='test -s conftest.$ac_objext'
14726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14727 (eval $ac_try) 2>&5
14728 ac_status=$?
14729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14730 (exit $ac_status); }; }; then
14731 ac_header_compiler=yes
14732 else
14733 echo "$as_me: failed program was:" >&5
14734 sed 's/^/| /' conftest.$ac_ext >&5
14735
14736 ac_header_compiler=no
14737 fi
14738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14739 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14740 echo "${ECHO_T}$ac_header_compiler" >&6
14741
14742 # Is the header present?
14743 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14744 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14745 cat >conftest.$ac_ext <<_ACEOF
14746 /* confdefs.h. */
14747 _ACEOF
14748 cat confdefs.h >>conftest.$ac_ext
14749 cat >>conftest.$ac_ext <<_ACEOF
14750 /* end confdefs.h. */
14751 #include <$ac_header>
14752 _ACEOF
14753 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14754 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14755 ac_status=$?
14756 grep -v '^ *+' conftest.er1 >conftest.err
14757 rm -f conftest.er1
14758 cat conftest.err >&5
14759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14760 (exit $ac_status); } >/dev/null; then
14761 if test -s conftest.err; then
14762 ac_cpp_err=$ac_c_preproc_warn_flag
14763 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14764 else
14765 ac_cpp_err=
14766 fi
14767 else
14768 ac_cpp_err=yes
14769 fi
14770 if test -z "$ac_cpp_err"; then
14771 ac_header_preproc=yes
14772 else
14773 echo "$as_me: failed program was:" >&5
14774 sed 's/^/| /' conftest.$ac_ext >&5
14775
14776 ac_header_preproc=no
14777 fi
14778 rm -f conftest.err conftest.$ac_ext
14779 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14780 echo "${ECHO_T}$ac_header_preproc" >&6
14781
14782 # So? What about this header?
14783 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14784 yes:no: )
14785 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14786 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14787 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14788 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14789 ac_header_preproc=yes
14790 ;;
14791 no:yes:* )
14792 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14793 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14794 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14795 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14796 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14797 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14798 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14799 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14800 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14801 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14802 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14803 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14804 (
14805 cat <<\_ASBOX
14806 ## ----------------------------------------- ##
14807 ## Report this to wx-dev@lists.wxwidgets.org ##
14808 ## ----------------------------------------- ##
14809 _ASBOX
14810 ) |
14811 sed "s/^/$as_me: WARNING: /" >&2
14812 ;;
14813 esac
14814 echo "$as_me:$LINENO: checking for $ac_header" >&5
14815 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14816 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14817 echo $ECHO_N "(cached) $ECHO_C" >&6
14818 else
14819 eval "$as_ac_Header=\$ac_header_preproc"
14820 fi
14821 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14822 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14823
14824 fi
14825 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14826 cat >>confdefs.h <<_ACEOF
14827 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14828 _ACEOF
14829
14830 fi
14831
14832 done
14833
14834 fi
14835
14836
14837 for ac_header in fnmatch.h
14838 do
14839 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14840 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14841 echo "$as_me:$LINENO: checking for $ac_header" >&5
14842 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14843 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14844 echo $ECHO_N "(cached) $ECHO_C" >&6
14845 fi
14846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14847 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14848 else
14849 # Is the header compilable?
14850 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14851 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14852 cat >conftest.$ac_ext <<_ACEOF
14853 /* confdefs.h. */
14854 _ACEOF
14855 cat confdefs.h >>conftest.$ac_ext
14856 cat >>conftest.$ac_ext <<_ACEOF
14857 /* end confdefs.h. */
14858 $ac_includes_default
14859 #include <$ac_header>
14860 _ACEOF
14861 rm -f conftest.$ac_objext
14862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14863 (eval $ac_compile) 2>conftest.er1
14864 ac_status=$?
14865 grep -v '^ *+' conftest.er1 >conftest.err
14866 rm -f conftest.er1
14867 cat conftest.err >&5
14868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14869 (exit $ac_status); } &&
14870 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14872 (eval $ac_try) 2>&5
14873 ac_status=$?
14874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14875 (exit $ac_status); }; } &&
14876 { ac_try='test -s conftest.$ac_objext'
14877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14878 (eval $ac_try) 2>&5
14879 ac_status=$?
14880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14881 (exit $ac_status); }; }; then
14882 ac_header_compiler=yes
14883 else
14884 echo "$as_me: failed program was:" >&5
14885 sed 's/^/| /' conftest.$ac_ext >&5
14886
14887 ac_header_compiler=no
14888 fi
14889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14890 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14891 echo "${ECHO_T}$ac_header_compiler" >&6
14892
14893 # Is the header present?
14894 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14895 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14896 cat >conftest.$ac_ext <<_ACEOF
14897 /* confdefs.h. */
14898 _ACEOF
14899 cat confdefs.h >>conftest.$ac_ext
14900 cat >>conftest.$ac_ext <<_ACEOF
14901 /* end confdefs.h. */
14902 #include <$ac_header>
14903 _ACEOF
14904 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14905 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14906 ac_status=$?
14907 grep -v '^ *+' conftest.er1 >conftest.err
14908 rm -f conftest.er1
14909 cat conftest.err >&5
14910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14911 (exit $ac_status); } >/dev/null; then
14912 if test -s conftest.err; then
14913 ac_cpp_err=$ac_c_preproc_warn_flag
14914 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14915 else
14916 ac_cpp_err=
14917 fi
14918 else
14919 ac_cpp_err=yes
14920 fi
14921 if test -z "$ac_cpp_err"; then
14922 ac_header_preproc=yes
14923 else
14924 echo "$as_me: failed program was:" >&5
14925 sed 's/^/| /' conftest.$ac_ext >&5
14926
14927 ac_header_preproc=no
14928 fi
14929 rm -f conftest.err conftest.$ac_ext
14930 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14931 echo "${ECHO_T}$ac_header_preproc" >&6
14932
14933 # So? What about this header?
14934 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14935 yes:no: )
14936 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14937 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14938 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14939 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14940 ac_header_preproc=yes
14941 ;;
14942 no:yes:* )
14943 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14944 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14945 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14946 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14947 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14948 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14949 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14950 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14951 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14952 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14953 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14954 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14955 (
14956 cat <<\_ASBOX
14957 ## ----------------------------------------- ##
14958 ## Report this to wx-dev@lists.wxwidgets.org ##
14959 ## ----------------------------------------- ##
14960 _ASBOX
14961 ) |
14962 sed "s/^/$as_me: WARNING: /" >&2
14963 ;;
14964 esac
14965 echo "$as_me:$LINENO: checking for $ac_header" >&5
14966 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14967 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14968 echo $ECHO_N "(cached) $ECHO_C" >&6
14969 else
14970 eval "$as_ac_Header=\$ac_header_preproc"
14971 fi
14972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14973 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14974
14975 fi
14976 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14977 cat >>confdefs.h <<_ACEOF
14978 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14979 _ACEOF
14980
14981 fi
14982
14983 done
14984
14985
14986 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
14987
14988 for ac_func in fnmatch
14989 do
14990 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14991 echo "$as_me:$LINENO: checking for $ac_func" >&5
14992 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14993 if eval "test \"\${$as_ac_var+set}\" = set"; then
14994 echo $ECHO_N "(cached) $ECHO_C" >&6
14995 else
14996 cat >conftest.$ac_ext <<_ACEOF
14997 /* confdefs.h. */
14998 _ACEOF
14999 cat confdefs.h >>conftest.$ac_ext
15000 cat >>conftest.$ac_ext <<_ACEOF
15001 /* end confdefs.h. */
15002 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15003 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15004 #define $ac_func innocuous_$ac_func
15005
15006 /* System header to define __stub macros and hopefully few prototypes,
15007 which can conflict with char $ac_func (); below.
15008 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15009 <limits.h> exists even on freestanding compilers. */
15010
15011 #ifdef __STDC__
15012 # include <limits.h>
15013 #else
15014 # include <assert.h>
15015 #endif
15016
15017 #undef $ac_func
15018
15019 /* Override any gcc2 internal prototype to avoid an error. */
15020 #ifdef __cplusplus
15021 extern "C"
15022 {
15023 #endif
15024 /* We use char because int might match the return type of a gcc2
15025 builtin and then its argument prototype would still apply. */
15026 char $ac_func ();
15027 /* The GNU C library defines this for functions which it implements
15028 to always fail with ENOSYS. Some functions are actually named
15029 something starting with __ and the normal name is an alias. */
15030 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15031 choke me
15032 #else
15033 char (*f) () = $ac_func;
15034 #endif
15035 #ifdef __cplusplus
15036 }
15037 #endif
15038
15039 int
15040 main ()
15041 {
15042 return f != $ac_func;
15043 ;
15044 return 0;
15045 }
15046 _ACEOF
15047 rm -f conftest.$ac_objext conftest$ac_exeext
15048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15049 (eval $ac_link) 2>conftest.er1
15050 ac_status=$?
15051 grep -v '^ *+' conftest.er1 >conftest.err
15052 rm -f conftest.er1
15053 cat conftest.err >&5
15054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15055 (exit $ac_status); } &&
15056 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15058 (eval $ac_try) 2>&5
15059 ac_status=$?
15060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15061 (exit $ac_status); }; } &&
15062 { ac_try='test -s conftest$ac_exeext'
15063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15064 (eval $ac_try) 2>&5
15065 ac_status=$?
15066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15067 (exit $ac_status); }; }; then
15068 eval "$as_ac_var=yes"
15069 else
15070 echo "$as_me: failed program was:" >&5
15071 sed 's/^/| /' conftest.$ac_ext >&5
15072
15073 eval "$as_ac_var=no"
15074 fi
15075 rm -f conftest.err conftest.$ac_objext \
15076 conftest$ac_exeext conftest.$ac_ext
15077 fi
15078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15079 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15080 if test `eval echo '${'$as_ac_var'}'` = yes; then
15081 cat >>confdefs.h <<_ACEOF
15082 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15083 _ACEOF
15084
15085 fi
15086 done
15087
15088 fi
15089
15090
15091 for ac_header in langinfo.h
15092 do
15093 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15094 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15095 echo "$as_me:$LINENO: checking for $ac_header" >&5
15096 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15097 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15098 echo $ECHO_N "(cached) $ECHO_C" >&6
15099 fi
15100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15101 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15102 else
15103 # Is the header compilable?
15104 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15105 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15106 cat >conftest.$ac_ext <<_ACEOF
15107 /* confdefs.h. */
15108 _ACEOF
15109 cat confdefs.h >>conftest.$ac_ext
15110 cat >>conftest.$ac_ext <<_ACEOF
15111 /* end confdefs.h. */
15112 $ac_includes_default
15113 #include <$ac_header>
15114 _ACEOF
15115 rm -f conftest.$ac_objext
15116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15117 (eval $ac_compile) 2>conftest.er1
15118 ac_status=$?
15119 grep -v '^ *+' conftest.er1 >conftest.err
15120 rm -f conftest.er1
15121 cat conftest.err >&5
15122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15123 (exit $ac_status); } &&
15124 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15126 (eval $ac_try) 2>&5
15127 ac_status=$?
15128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15129 (exit $ac_status); }; } &&
15130 { ac_try='test -s conftest.$ac_objext'
15131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15132 (eval $ac_try) 2>&5
15133 ac_status=$?
15134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15135 (exit $ac_status); }; }; then
15136 ac_header_compiler=yes
15137 else
15138 echo "$as_me: failed program was:" >&5
15139 sed 's/^/| /' conftest.$ac_ext >&5
15140
15141 ac_header_compiler=no
15142 fi
15143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15144 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15145 echo "${ECHO_T}$ac_header_compiler" >&6
15146
15147 # Is the header present?
15148 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15149 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15150 cat >conftest.$ac_ext <<_ACEOF
15151 /* confdefs.h. */
15152 _ACEOF
15153 cat confdefs.h >>conftest.$ac_ext
15154 cat >>conftest.$ac_ext <<_ACEOF
15155 /* end confdefs.h. */
15156 #include <$ac_header>
15157 _ACEOF
15158 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15159 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15160 ac_status=$?
15161 grep -v '^ *+' conftest.er1 >conftest.err
15162 rm -f conftest.er1
15163 cat conftest.err >&5
15164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15165 (exit $ac_status); } >/dev/null; then
15166 if test -s conftest.err; then
15167 ac_cpp_err=$ac_c_preproc_warn_flag
15168 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15169 else
15170 ac_cpp_err=
15171 fi
15172 else
15173 ac_cpp_err=yes
15174 fi
15175 if test -z "$ac_cpp_err"; then
15176 ac_header_preproc=yes
15177 else
15178 echo "$as_me: failed program was:" >&5
15179 sed 's/^/| /' conftest.$ac_ext >&5
15180
15181 ac_header_preproc=no
15182 fi
15183 rm -f conftest.err conftest.$ac_ext
15184 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15185 echo "${ECHO_T}$ac_header_preproc" >&6
15186
15187 # So? What about this header?
15188 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15189 yes:no: )
15190 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15191 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15192 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15193 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15194 ac_header_preproc=yes
15195 ;;
15196 no:yes:* )
15197 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15198 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15199 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15200 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15201 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15202 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15203 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15204 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15205 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15206 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15207 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15208 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15209 (
15210 cat <<\_ASBOX
15211 ## ----------------------------------------- ##
15212 ## Report this to wx-dev@lists.wxwidgets.org ##
15213 ## ----------------------------------------- ##
15214 _ASBOX
15215 ) |
15216 sed "s/^/$as_me: WARNING: /" >&2
15217 ;;
15218 esac
15219 echo "$as_me:$LINENO: checking for $ac_header" >&5
15220 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15221 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15222 echo $ECHO_N "(cached) $ECHO_C" >&6
15223 else
15224 eval "$as_ac_Header=\$ac_header_preproc"
15225 fi
15226 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15227 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15228
15229 fi
15230 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15231 cat >>confdefs.h <<_ACEOF
15232 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15233 _ACEOF
15234
15235 fi
15236
15237 done
15238
15239
15240 case "${host}" in
15241 *-pc-os2_emx | *-pc-os2-emx )
15242 if test $ac_cv_header_langinfo_h = "yes" \
15243 -a \( "$wx_cv_gccversion" = "EMX2" \
15244 -o "$wx_cv_gccversion" = "EMX3" \
15245 -o "$wx_cv_gccversion" = "Innotek5" \); then
15246 LIBS="$LIBS -lintl"
15247 fi
15248 ;;
15249 esac
15250
15251 if test "$wxUSE_GUI" = "yes"; then
15252 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
15253
15254 for ac_header in X11/Xlib.h
15255 do
15256 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15257 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15258 echo "$as_me:$LINENO: checking for $ac_header" >&5
15259 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15260 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15261 echo $ECHO_N "(cached) $ECHO_C" >&6
15262 fi
15263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15264 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15265 else
15266 # Is the header compilable?
15267 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15268 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15269 cat >conftest.$ac_ext <<_ACEOF
15270 /* confdefs.h. */
15271 _ACEOF
15272 cat confdefs.h >>conftest.$ac_ext
15273 cat >>conftest.$ac_ext <<_ACEOF
15274 /* end confdefs.h. */
15275 $ac_includes_default
15276 #include <$ac_header>
15277 _ACEOF
15278 rm -f conftest.$ac_objext
15279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15280 (eval $ac_compile) 2>conftest.er1
15281 ac_status=$?
15282 grep -v '^ *+' conftest.er1 >conftest.err
15283 rm -f conftest.er1
15284 cat conftest.err >&5
15285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15286 (exit $ac_status); } &&
15287 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15289 (eval $ac_try) 2>&5
15290 ac_status=$?
15291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15292 (exit $ac_status); }; } &&
15293 { ac_try='test -s conftest.$ac_objext'
15294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15295 (eval $ac_try) 2>&5
15296 ac_status=$?
15297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15298 (exit $ac_status); }; }; then
15299 ac_header_compiler=yes
15300 else
15301 echo "$as_me: failed program was:" >&5
15302 sed 's/^/| /' conftest.$ac_ext >&5
15303
15304 ac_header_compiler=no
15305 fi
15306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15307 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15308 echo "${ECHO_T}$ac_header_compiler" >&6
15309
15310 # Is the header present?
15311 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15312 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15313 cat >conftest.$ac_ext <<_ACEOF
15314 /* confdefs.h. */
15315 _ACEOF
15316 cat confdefs.h >>conftest.$ac_ext
15317 cat >>conftest.$ac_ext <<_ACEOF
15318 /* end confdefs.h. */
15319 #include <$ac_header>
15320 _ACEOF
15321 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15322 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15323 ac_status=$?
15324 grep -v '^ *+' conftest.er1 >conftest.err
15325 rm -f conftest.er1
15326 cat conftest.err >&5
15327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15328 (exit $ac_status); } >/dev/null; then
15329 if test -s conftest.err; then
15330 ac_cpp_err=$ac_c_preproc_warn_flag
15331 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15332 else
15333 ac_cpp_err=
15334 fi
15335 else
15336 ac_cpp_err=yes
15337 fi
15338 if test -z "$ac_cpp_err"; then
15339 ac_header_preproc=yes
15340 else
15341 echo "$as_me: failed program was:" >&5
15342 sed 's/^/| /' conftest.$ac_ext >&5
15343
15344 ac_header_preproc=no
15345 fi
15346 rm -f conftest.err conftest.$ac_ext
15347 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15348 echo "${ECHO_T}$ac_header_preproc" >&6
15349
15350 # So? What about this header?
15351 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15352 yes:no: )
15353 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15354 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15355 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15356 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15357 ac_header_preproc=yes
15358 ;;
15359 no:yes:* )
15360 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15361 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15362 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15363 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15364 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15365 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15366 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15367 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15368 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15369 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15370 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15371 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15372 (
15373 cat <<\_ASBOX
15374 ## ----------------------------------------- ##
15375 ## Report this to wx-dev@lists.wxwidgets.org ##
15376 ## ----------------------------------------- ##
15377 _ASBOX
15378 ) |
15379 sed "s/^/$as_me: WARNING: /" >&2
15380 ;;
15381 esac
15382 echo "$as_me:$LINENO: checking for $ac_header" >&5
15383 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15384 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15385 echo $ECHO_N "(cached) $ECHO_C" >&6
15386 else
15387 eval "$as_ac_Header=\$ac_header_preproc"
15388 fi
15389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15390 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15391
15392 fi
15393 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15394 cat >>confdefs.h <<_ACEOF
15395 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15396 _ACEOF
15397
15398 fi
15399
15400 done
15401
15402
15403 for ac_header in X11/XKBlib.h
15404 do
15405 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15406 echo "$as_me:$LINENO: checking for $ac_header" >&5
15407 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15408 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15409 echo $ECHO_N "(cached) $ECHO_C" >&6
15410 else
15411 cat >conftest.$ac_ext <<_ACEOF
15412 /* confdefs.h. */
15413 _ACEOF
15414 cat confdefs.h >>conftest.$ac_ext
15415 cat >>conftest.$ac_ext <<_ACEOF
15416 /* end confdefs.h. */
15417
15418 #if HAVE_X11_XLIB_H
15419 #include <X11/Xlib.h>
15420 #endif
15421
15422
15423 #include <$ac_header>
15424 _ACEOF
15425 rm -f conftest.$ac_objext
15426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15427 (eval $ac_compile) 2>conftest.er1
15428 ac_status=$?
15429 grep -v '^ *+' conftest.er1 >conftest.err
15430 rm -f conftest.er1
15431 cat conftest.err >&5
15432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15433 (exit $ac_status); } &&
15434 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15436 (eval $ac_try) 2>&5
15437 ac_status=$?
15438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15439 (exit $ac_status); }; } &&
15440 { ac_try='test -s conftest.$ac_objext'
15441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15442 (eval $ac_try) 2>&5
15443 ac_status=$?
15444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15445 (exit $ac_status); }; }; then
15446 eval "$as_ac_Header=yes"
15447 else
15448 echo "$as_me: failed program was:" >&5
15449 sed 's/^/| /' conftest.$ac_ext >&5
15450
15451 eval "$as_ac_Header=no"
15452 fi
15453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15454 fi
15455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15456 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15457 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15458 cat >>confdefs.h <<_ACEOF
15459 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15460 _ACEOF
15461
15462 fi
15463
15464 done
15465
15466 fi
15467 fi
15468
15469
15470 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
15471 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
15472 if test "${ac_cv_c_const+set}" = set; then
15473 echo $ECHO_N "(cached) $ECHO_C" >&6
15474 else
15475 cat >conftest.$ac_ext <<_ACEOF
15476 /* confdefs.h. */
15477 _ACEOF
15478 cat confdefs.h >>conftest.$ac_ext
15479 cat >>conftest.$ac_ext <<_ACEOF
15480 /* end confdefs.h. */
15481
15482 int
15483 main ()
15484 {
15485 /* FIXME: Include the comments suggested by Paul. */
15486 #ifndef __cplusplus
15487 /* Ultrix mips cc rejects this. */
15488 typedef int charset[2];
15489 const charset x;
15490 /* SunOS 4.1.1 cc rejects this. */
15491 char const *const *ccp;
15492 char **p;
15493 /* NEC SVR4.0.2 mips cc rejects this. */
15494 struct point {int x, y;};
15495 static struct point const zero = {0,0};
15496 /* AIX XL C 1.02.0.0 rejects this.
15497 It does not let you subtract one const X* pointer from another in
15498 an arm of an if-expression whose if-part is not a constant
15499 expression */
15500 const char *g = "string";
15501 ccp = &g + (g ? g-g : 0);
15502 /* HPUX 7.0 cc rejects these. */
15503 ++ccp;
15504 p = (char**) ccp;
15505 ccp = (char const *const *) p;
15506 { /* SCO 3.2v4 cc rejects this. */
15507 char *t;
15508 char const *s = 0 ? (char *) 0 : (char const *) 0;
15509
15510 *t++ = 0;
15511 }
15512 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15513 int x[] = {25, 17};
15514 const int *foo = &x[0];
15515 ++foo;
15516 }
15517 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15518 typedef const int *iptr;
15519 iptr p = 0;
15520 ++p;
15521 }
15522 { /* AIX XL C 1.02.0.0 rejects this saying
15523 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15524 struct s { int j; const int *ap[3]; };
15525 struct s *b; b->j = 5;
15526 }
15527 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15528 const int foo = 10;
15529 }
15530 #endif
15531
15532 ;
15533 return 0;
15534 }
15535 _ACEOF
15536 rm -f conftest.$ac_objext
15537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15538 (eval $ac_compile) 2>conftest.er1
15539 ac_status=$?
15540 grep -v '^ *+' conftest.er1 >conftest.err
15541 rm -f conftest.er1
15542 cat conftest.err >&5
15543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15544 (exit $ac_status); } &&
15545 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15547 (eval $ac_try) 2>&5
15548 ac_status=$?
15549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15550 (exit $ac_status); }; } &&
15551 { ac_try='test -s conftest.$ac_objext'
15552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15553 (eval $ac_try) 2>&5
15554 ac_status=$?
15555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15556 (exit $ac_status); }; }; then
15557 ac_cv_c_const=yes
15558 else
15559 echo "$as_me: failed program was:" >&5
15560 sed 's/^/| /' conftest.$ac_ext >&5
15561
15562 ac_cv_c_const=no
15563 fi
15564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15565 fi
15566 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
15567 echo "${ECHO_T}$ac_cv_c_const" >&6
15568 if test $ac_cv_c_const = no; then
15569
15570 cat >>confdefs.h <<\_ACEOF
15571 #define const
15572 _ACEOF
15573
15574 fi
15575
15576 echo "$as_me:$LINENO: checking for inline" >&5
15577 echo $ECHO_N "checking for inline... $ECHO_C" >&6
15578 if test "${ac_cv_c_inline+set}" = set; then
15579 echo $ECHO_N "(cached) $ECHO_C" >&6
15580 else
15581 ac_cv_c_inline=no
15582 for ac_kw in inline __inline__ __inline; do
15583 cat >conftest.$ac_ext <<_ACEOF
15584 /* confdefs.h. */
15585 _ACEOF
15586 cat confdefs.h >>conftest.$ac_ext
15587 cat >>conftest.$ac_ext <<_ACEOF
15588 /* end confdefs.h. */
15589 #ifndef __cplusplus
15590 typedef int foo_t;
15591 static $ac_kw foo_t static_foo () {return 0; }
15592 $ac_kw foo_t foo () {return 0; }
15593 #endif
15594
15595 _ACEOF
15596 rm -f conftest.$ac_objext
15597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15598 (eval $ac_compile) 2>conftest.er1
15599 ac_status=$?
15600 grep -v '^ *+' conftest.er1 >conftest.err
15601 rm -f conftest.er1
15602 cat conftest.err >&5
15603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15604 (exit $ac_status); } &&
15605 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15607 (eval $ac_try) 2>&5
15608 ac_status=$?
15609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15610 (exit $ac_status); }; } &&
15611 { ac_try='test -s conftest.$ac_objext'
15612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15613 (eval $ac_try) 2>&5
15614 ac_status=$?
15615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15616 (exit $ac_status); }; }; then
15617 ac_cv_c_inline=$ac_kw; break
15618 else
15619 echo "$as_me: failed program was:" >&5
15620 sed 's/^/| /' conftest.$ac_ext >&5
15621
15622 fi
15623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15624 done
15625
15626 fi
15627 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
15628 echo "${ECHO_T}$ac_cv_c_inline" >&6
15629
15630
15631 case $ac_cv_c_inline in
15632 inline | yes) ;;
15633 *)
15634 case $ac_cv_c_inline in
15635 no) ac_val=;;
15636 *) ac_val=$ac_cv_c_inline;;
15637 esac
15638 cat >>confdefs.h <<_ACEOF
15639 #ifndef __cplusplus
15640 #define inline $ac_val
15641 #endif
15642 _ACEOF
15643 ;;
15644 esac
15645
15646
15647 echo "$as_me:$LINENO: checking for char" >&5
15648 echo $ECHO_N "checking for char... $ECHO_C" >&6
15649 if test "${ac_cv_type_char+set}" = set; then
15650 echo $ECHO_N "(cached) $ECHO_C" >&6
15651 else
15652 cat >conftest.$ac_ext <<_ACEOF
15653 /* confdefs.h. */
15654 _ACEOF
15655 cat confdefs.h >>conftest.$ac_ext
15656 cat >>conftest.$ac_ext <<_ACEOF
15657 /* end confdefs.h. */
15658 $ac_includes_default
15659 int
15660 main ()
15661 {
15662 if ((char *) 0)
15663 return 0;
15664 if (sizeof (char))
15665 return 0;
15666 ;
15667 return 0;
15668 }
15669 _ACEOF
15670 rm -f conftest.$ac_objext
15671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15672 (eval $ac_compile) 2>conftest.er1
15673 ac_status=$?
15674 grep -v '^ *+' conftest.er1 >conftest.err
15675 rm -f conftest.er1
15676 cat conftest.err >&5
15677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15678 (exit $ac_status); } &&
15679 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15681 (eval $ac_try) 2>&5
15682 ac_status=$?
15683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15684 (exit $ac_status); }; } &&
15685 { ac_try='test -s conftest.$ac_objext'
15686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15687 (eval $ac_try) 2>&5
15688 ac_status=$?
15689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15690 (exit $ac_status); }; }; then
15691 ac_cv_type_char=yes
15692 else
15693 echo "$as_me: failed program was:" >&5
15694 sed 's/^/| /' conftest.$ac_ext >&5
15695
15696 ac_cv_type_char=no
15697 fi
15698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15699 fi
15700 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
15701 echo "${ECHO_T}$ac_cv_type_char" >&6
15702
15703 echo "$as_me:$LINENO: checking size of char" >&5
15704 echo $ECHO_N "checking size of char... $ECHO_C" >&6
15705 if test "${ac_cv_sizeof_char+set}" = set; then
15706 echo $ECHO_N "(cached) $ECHO_C" >&6
15707 else
15708 if test "$ac_cv_type_char" = yes; then
15709 # The cast to unsigned long works around a bug in the HP C Compiler
15710 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15711 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15712 # This bug is HP SR number 8606223364.
15713 if test "$cross_compiling" = yes; then
15714 # Depending upon the size, compute the lo and hi bounds.
15715 cat >conftest.$ac_ext <<_ACEOF
15716 /* confdefs.h. */
15717 _ACEOF
15718 cat confdefs.h >>conftest.$ac_ext
15719 cat >>conftest.$ac_ext <<_ACEOF
15720 /* end confdefs.h. */
15721 $ac_includes_default
15722 int
15723 main ()
15724 {
15725 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
15726 test_array [0] = 0
15727
15728 ;
15729 return 0;
15730 }
15731 _ACEOF
15732 rm -f conftest.$ac_objext
15733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15734 (eval $ac_compile) 2>conftest.er1
15735 ac_status=$?
15736 grep -v '^ *+' conftest.er1 >conftest.err
15737 rm -f conftest.er1
15738 cat conftest.err >&5
15739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15740 (exit $ac_status); } &&
15741 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15743 (eval $ac_try) 2>&5
15744 ac_status=$?
15745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15746 (exit $ac_status); }; } &&
15747 { ac_try='test -s conftest.$ac_objext'
15748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15749 (eval $ac_try) 2>&5
15750 ac_status=$?
15751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15752 (exit $ac_status); }; }; then
15753 ac_lo=0 ac_mid=0
15754 while :; do
15755 cat >conftest.$ac_ext <<_ACEOF
15756 /* confdefs.h. */
15757 _ACEOF
15758 cat confdefs.h >>conftest.$ac_ext
15759 cat >>conftest.$ac_ext <<_ACEOF
15760 /* end confdefs.h. */
15761 $ac_includes_default
15762 int
15763 main ()
15764 {
15765 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15766 test_array [0] = 0
15767
15768 ;
15769 return 0;
15770 }
15771 _ACEOF
15772 rm -f conftest.$ac_objext
15773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15774 (eval $ac_compile) 2>conftest.er1
15775 ac_status=$?
15776 grep -v '^ *+' conftest.er1 >conftest.err
15777 rm -f conftest.er1
15778 cat conftest.err >&5
15779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15780 (exit $ac_status); } &&
15781 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15783 (eval $ac_try) 2>&5
15784 ac_status=$?
15785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15786 (exit $ac_status); }; } &&
15787 { ac_try='test -s conftest.$ac_objext'
15788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15789 (eval $ac_try) 2>&5
15790 ac_status=$?
15791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15792 (exit $ac_status); }; }; then
15793 ac_hi=$ac_mid; break
15794 else
15795 echo "$as_me: failed program was:" >&5
15796 sed 's/^/| /' conftest.$ac_ext >&5
15797
15798 ac_lo=`expr $ac_mid + 1`
15799 if test $ac_lo -le $ac_mid; then
15800 ac_lo= ac_hi=
15801 break
15802 fi
15803 ac_mid=`expr 2 '*' $ac_mid + 1`
15804 fi
15805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15806 done
15807 else
15808 echo "$as_me: failed program was:" >&5
15809 sed 's/^/| /' conftest.$ac_ext >&5
15810
15811 cat >conftest.$ac_ext <<_ACEOF
15812 /* confdefs.h. */
15813 _ACEOF
15814 cat confdefs.h >>conftest.$ac_ext
15815 cat >>conftest.$ac_ext <<_ACEOF
15816 /* end confdefs.h. */
15817 $ac_includes_default
15818 int
15819 main ()
15820 {
15821 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
15822 test_array [0] = 0
15823
15824 ;
15825 return 0;
15826 }
15827 _ACEOF
15828 rm -f conftest.$ac_objext
15829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15830 (eval $ac_compile) 2>conftest.er1
15831 ac_status=$?
15832 grep -v '^ *+' conftest.er1 >conftest.err
15833 rm -f conftest.er1
15834 cat conftest.err >&5
15835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15836 (exit $ac_status); } &&
15837 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15839 (eval $ac_try) 2>&5
15840 ac_status=$?
15841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15842 (exit $ac_status); }; } &&
15843 { ac_try='test -s conftest.$ac_objext'
15844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15845 (eval $ac_try) 2>&5
15846 ac_status=$?
15847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15848 (exit $ac_status); }; }; then
15849 ac_hi=-1 ac_mid=-1
15850 while :; do
15851 cat >conftest.$ac_ext <<_ACEOF
15852 /* confdefs.h. */
15853 _ACEOF
15854 cat confdefs.h >>conftest.$ac_ext
15855 cat >>conftest.$ac_ext <<_ACEOF
15856 /* end confdefs.h. */
15857 $ac_includes_default
15858 int
15859 main ()
15860 {
15861 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
15862 test_array [0] = 0
15863
15864 ;
15865 return 0;
15866 }
15867 _ACEOF
15868 rm -f conftest.$ac_objext
15869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15870 (eval $ac_compile) 2>conftest.er1
15871 ac_status=$?
15872 grep -v '^ *+' conftest.er1 >conftest.err
15873 rm -f conftest.er1
15874 cat conftest.err >&5
15875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15876 (exit $ac_status); } &&
15877 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15879 (eval $ac_try) 2>&5
15880 ac_status=$?
15881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15882 (exit $ac_status); }; } &&
15883 { ac_try='test -s conftest.$ac_objext'
15884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15885 (eval $ac_try) 2>&5
15886 ac_status=$?
15887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15888 (exit $ac_status); }; }; then
15889 ac_lo=$ac_mid; break
15890 else
15891 echo "$as_me: failed program was:" >&5
15892 sed 's/^/| /' conftest.$ac_ext >&5
15893
15894 ac_hi=`expr '(' $ac_mid ')' - 1`
15895 if test $ac_mid -le $ac_hi; then
15896 ac_lo= ac_hi=
15897 break
15898 fi
15899 ac_mid=`expr 2 '*' $ac_mid`
15900 fi
15901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15902 done
15903 else
15904 echo "$as_me: failed program was:" >&5
15905 sed 's/^/| /' conftest.$ac_ext >&5
15906
15907 ac_lo= ac_hi=
15908 fi
15909 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15910 fi
15911 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15912 # Binary search between lo and hi bounds.
15913 while test "x$ac_lo" != "x$ac_hi"; do
15914 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15915 cat >conftest.$ac_ext <<_ACEOF
15916 /* confdefs.h. */
15917 _ACEOF
15918 cat confdefs.h >>conftest.$ac_ext
15919 cat >>conftest.$ac_ext <<_ACEOF
15920 /* end confdefs.h. */
15921 $ac_includes_default
15922 int
15923 main ()
15924 {
15925 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15926 test_array [0] = 0
15927
15928 ;
15929 return 0;
15930 }
15931 _ACEOF
15932 rm -f conftest.$ac_objext
15933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15934 (eval $ac_compile) 2>conftest.er1
15935 ac_status=$?
15936 grep -v '^ *+' conftest.er1 >conftest.err
15937 rm -f conftest.er1
15938 cat conftest.err >&5
15939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15940 (exit $ac_status); } &&
15941 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15943 (eval $ac_try) 2>&5
15944 ac_status=$?
15945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15946 (exit $ac_status); }; } &&
15947 { ac_try='test -s conftest.$ac_objext'
15948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15949 (eval $ac_try) 2>&5
15950 ac_status=$?
15951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15952 (exit $ac_status); }; }; then
15953 ac_hi=$ac_mid
15954 else
15955 echo "$as_me: failed program was:" >&5
15956 sed 's/^/| /' conftest.$ac_ext >&5
15957
15958 ac_lo=`expr '(' $ac_mid ')' + 1`
15959 fi
15960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15961 done
15962 case $ac_lo in
15963 ?*) ac_cv_sizeof_char=$ac_lo;;
15964 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15965 See \`config.log' for more details." >&5
15966 echo "$as_me: error: cannot compute sizeof (char), 77
15967 See \`config.log' for more details." >&2;}
15968 { (exit 1); exit 1; }; } ;;
15969 esac
15970 else
15971 if test "$cross_compiling" = yes; then
15972 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15973 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15974 { (exit 1); exit 1; }; }
15975 else
15976 cat >conftest.$ac_ext <<_ACEOF
15977 /* confdefs.h. */
15978 _ACEOF
15979 cat confdefs.h >>conftest.$ac_ext
15980 cat >>conftest.$ac_ext <<_ACEOF
15981 /* end confdefs.h. */
15982 $ac_includes_default
15983 long longval () { return (long) (sizeof (char)); }
15984 unsigned long ulongval () { return (long) (sizeof (char)); }
15985 #include <stdio.h>
15986 #include <stdlib.h>
15987 int
15988 main ()
15989 {
15990
15991 FILE *f = fopen ("conftest.val", "w");
15992 if (! f)
15993 exit (1);
15994 if (((long) (sizeof (char))) < 0)
15995 {
15996 long i = longval ();
15997 if (i != ((long) (sizeof (char))))
15998 exit (1);
15999 fprintf (f, "%ld\n", i);
16000 }
16001 else
16002 {
16003 unsigned long i = ulongval ();
16004 if (i != ((long) (sizeof (char))))
16005 exit (1);
16006 fprintf (f, "%lu\n", i);
16007 }
16008 exit (ferror (f) || fclose (f) != 0);
16009
16010 ;
16011 return 0;
16012 }
16013 _ACEOF
16014 rm -f conftest$ac_exeext
16015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16016 (eval $ac_link) 2>&5
16017 ac_status=$?
16018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16019 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16021 (eval $ac_try) 2>&5
16022 ac_status=$?
16023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16024 (exit $ac_status); }; }; then
16025 ac_cv_sizeof_char=`cat conftest.val`
16026 else
16027 echo "$as_me: program exited with status $ac_status" >&5
16028 echo "$as_me: failed program was:" >&5
16029 sed 's/^/| /' conftest.$ac_ext >&5
16030
16031 ( exit $ac_status )
16032 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
16033 See \`config.log' for more details." >&5
16034 echo "$as_me: error: cannot compute sizeof (char), 77
16035 See \`config.log' for more details." >&2;}
16036 { (exit 1); exit 1; }; }
16037 fi
16038 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16039 fi
16040 fi
16041 rm -f conftest.val
16042 else
16043 ac_cv_sizeof_char=0
16044 fi
16045 fi
16046 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
16047 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
16048 cat >>confdefs.h <<_ACEOF
16049 #define SIZEOF_CHAR $ac_cv_sizeof_char
16050 _ACEOF
16051
16052
16053 echo "$as_me:$LINENO: checking for short" >&5
16054 echo $ECHO_N "checking for short... $ECHO_C" >&6
16055 if test "${ac_cv_type_short+set}" = set; then
16056 echo $ECHO_N "(cached) $ECHO_C" >&6
16057 else
16058 cat >conftest.$ac_ext <<_ACEOF
16059 /* confdefs.h. */
16060 _ACEOF
16061 cat confdefs.h >>conftest.$ac_ext
16062 cat >>conftest.$ac_ext <<_ACEOF
16063 /* end confdefs.h. */
16064 $ac_includes_default
16065 int
16066 main ()
16067 {
16068 if ((short *) 0)
16069 return 0;
16070 if (sizeof (short))
16071 return 0;
16072 ;
16073 return 0;
16074 }
16075 _ACEOF
16076 rm -f conftest.$ac_objext
16077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16078 (eval $ac_compile) 2>conftest.er1
16079 ac_status=$?
16080 grep -v '^ *+' conftest.er1 >conftest.err
16081 rm -f conftest.er1
16082 cat conftest.err >&5
16083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16084 (exit $ac_status); } &&
16085 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16087 (eval $ac_try) 2>&5
16088 ac_status=$?
16089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16090 (exit $ac_status); }; } &&
16091 { ac_try='test -s conftest.$ac_objext'
16092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16093 (eval $ac_try) 2>&5
16094 ac_status=$?
16095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16096 (exit $ac_status); }; }; then
16097 ac_cv_type_short=yes
16098 else
16099 echo "$as_me: failed program was:" >&5
16100 sed 's/^/| /' conftest.$ac_ext >&5
16101
16102 ac_cv_type_short=no
16103 fi
16104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16105 fi
16106 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
16107 echo "${ECHO_T}$ac_cv_type_short" >&6
16108
16109 echo "$as_me:$LINENO: checking size of short" >&5
16110 echo $ECHO_N "checking size of short... $ECHO_C" >&6
16111 if test "${ac_cv_sizeof_short+set}" = set; then
16112 echo $ECHO_N "(cached) $ECHO_C" >&6
16113 else
16114 if test "$ac_cv_type_short" = yes; then
16115 # The cast to unsigned long works around a bug in the HP C Compiler
16116 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16117 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16118 # This bug is HP SR number 8606223364.
16119 if test "$cross_compiling" = yes; then
16120 # Depending upon the size, compute the lo and hi bounds.
16121 cat >conftest.$ac_ext <<_ACEOF
16122 /* confdefs.h. */
16123 _ACEOF
16124 cat confdefs.h >>conftest.$ac_ext
16125 cat >>conftest.$ac_ext <<_ACEOF
16126 /* end confdefs.h. */
16127 $ac_includes_default
16128 int
16129 main ()
16130 {
16131 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
16132 test_array [0] = 0
16133
16134 ;
16135 return 0;
16136 }
16137 _ACEOF
16138 rm -f conftest.$ac_objext
16139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16140 (eval $ac_compile) 2>conftest.er1
16141 ac_status=$?
16142 grep -v '^ *+' conftest.er1 >conftest.err
16143 rm -f conftest.er1
16144 cat conftest.err >&5
16145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16146 (exit $ac_status); } &&
16147 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16149 (eval $ac_try) 2>&5
16150 ac_status=$?
16151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16152 (exit $ac_status); }; } &&
16153 { ac_try='test -s conftest.$ac_objext'
16154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16155 (eval $ac_try) 2>&5
16156 ac_status=$?
16157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16158 (exit $ac_status); }; }; then
16159 ac_lo=0 ac_mid=0
16160 while :; do
16161 cat >conftest.$ac_ext <<_ACEOF
16162 /* confdefs.h. */
16163 _ACEOF
16164 cat confdefs.h >>conftest.$ac_ext
16165 cat >>conftest.$ac_ext <<_ACEOF
16166 /* end confdefs.h. */
16167 $ac_includes_default
16168 int
16169 main ()
16170 {
16171 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16172 test_array [0] = 0
16173
16174 ;
16175 return 0;
16176 }
16177 _ACEOF
16178 rm -f conftest.$ac_objext
16179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16180 (eval $ac_compile) 2>conftest.er1
16181 ac_status=$?
16182 grep -v '^ *+' conftest.er1 >conftest.err
16183 rm -f conftest.er1
16184 cat conftest.err >&5
16185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16186 (exit $ac_status); } &&
16187 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16189 (eval $ac_try) 2>&5
16190 ac_status=$?
16191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16192 (exit $ac_status); }; } &&
16193 { ac_try='test -s conftest.$ac_objext'
16194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16195 (eval $ac_try) 2>&5
16196 ac_status=$?
16197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16198 (exit $ac_status); }; }; then
16199 ac_hi=$ac_mid; break
16200 else
16201 echo "$as_me: failed program was:" >&5
16202 sed 's/^/| /' conftest.$ac_ext >&5
16203
16204 ac_lo=`expr $ac_mid + 1`
16205 if test $ac_lo -le $ac_mid; then
16206 ac_lo= ac_hi=
16207 break
16208 fi
16209 ac_mid=`expr 2 '*' $ac_mid + 1`
16210 fi
16211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16212 done
16213 else
16214 echo "$as_me: failed program was:" >&5
16215 sed 's/^/| /' conftest.$ac_ext >&5
16216
16217 cat >conftest.$ac_ext <<_ACEOF
16218 /* confdefs.h. */
16219 _ACEOF
16220 cat confdefs.h >>conftest.$ac_ext
16221 cat >>conftest.$ac_ext <<_ACEOF
16222 /* end confdefs.h. */
16223 $ac_includes_default
16224 int
16225 main ()
16226 {
16227 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
16228 test_array [0] = 0
16229
16230 ;
16231 return 0;
16232 }
16233 _ACEOF
16234 rm -f conftest.$ac_objext
16235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16236 (eval $ac_compile) 2>conftest.er1
16237 ac_status=$?
16238 grep -v '^ *+' conftest.er1 >conftest.err
16239 rm -f conftest.er1
16240 cat conftest.err >&5
16241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16242 (exit $ac_status); } &&
16243 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16245 (eval $ac_try) 2>&5
16246 ac_status=$?
16247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16248 (exit $ac_status); }; } &&
16249 { ac_try='test -s conftest.$ac_objext'
16250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16251 (eval $ac_try) 2>&5
16252 ac_status=$?
16253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16254 (exit $ac_status); }; }; then
16255 ac_hi=-1 ac_mid=-1
16256 while :; do
16257 cat >conftest.$ac_ext <<_ACEOF
16258 /* confdefs.h. */
16259 _ACEOF
16260 cat confdefs.h >>conftest.$ac_ext
16261 cat >>conftest.$ac_ext <<_ACEOF
16262 /* end confdefs.h. */
16263 $ac_includes_default
16264 int
16265 main ()
16266 {
16267 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
16268 test_array [0] = 0
16269
16270 ;
16271 return 0;
16272 }
16273 _ACEOF
16274 rm -f conftest.$ac_objext
16275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16276 (eval $ac_compile) 2>conftest.er1
16277 ac_status=$?
16278 grep -v '^ *+' conftest.er1 >conftest.err
16279 rm -f conftest.er1
16280 cat conftest.err >&5
16281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16282 (exit $ac_status); } &&
16283 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16285 (eval $ac_try) 2>&5
16286 ac_status=$?
16287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16288 (exit $ac_status); }; } &&
16289 { ac_try='test -s conftest.$ac_objext'
16290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16291 (eval $ac_try) 2>&5
16292 ac_status=$?
16293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16294 (exit $ac_status); }; }; then
16295 ac_lo=$ac_mid; break
16296 else
16297 echo "$as_me: failed program was:" >&5
16298 sed 's/^/| /' conftest.$ac_ext >&5
16299
16300 ac_hi=`expr '(' $ac_mid ')' - 1`
16301 if test $ac_mid -le $ac_hi; then
16302 ac_lo= ac_hi=
16303 break
16304 fi
16305 ac_mid=`expr 2 '*' $ac_mid`
16306 fi
16307 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16308 done
16309 else
16310 echo "$as_me: failed program was:" >&5
16311 sed 's/^/| /' conftest.$ac_ext >&5
16312
16313 ac_lo= ac_hi=
16314 fi
16315 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16316 fi
16317 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16318 # Binary search between lo and hi bounds.
16319 while test "x$ac_lo" != "x$ac_hi"; do
16320 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16321 cat >conftest.$ac_ext <<_ACEOF
16322 /* confdefs.h. */
16323 _ACEOF
16324 cat confdefs.h >>conftest.$ac_ext
16325 cat >>conftest.$ac_ext <<_ACEOF
16326 /* end confdefs.h. */
16327 $ac_includes_default
16328 int
16329 main ()
16330 {
16331 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16332 test_array [0] = 0
16333
16334 ;
16335 return 0;
16336 }
16337 _ACEOF
16338 rm -f conftest.$ac_objext
16339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16340 (eval $ac_compile) 2>conftest.er1
16341 ac_status=$?
16342 grep -v '^ *+' conftest.er1 >conftest.err
16343 rm -f conftest.er1
16344 cat conftest.err >&5
16345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16346 (exit $ac_status); } &&
16347 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16349 (eval $ac_try) 2>&5
16350 ac_status=$?
16351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16352 (exit $ac_status); }; } &&
16353 { ac_try='test -s conftest.$ac_objext'
16354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16355 (eval $ac_try) 2>&5
16356 ac_status=$?
16357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16358 (exit $ac_status); }; }; then
16359 ac_hi=$ac_mid
16360 else
16361 echo "$as_me: failed program was:" >&5
16362 sed 's/^/| /' conftest.$ac_ext >&5
16363
16364 ac_lo=`expr '(' $ac_mid ')' + 1`
16365 fi
16366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16367 done
16368 case $ac_lo in
16369 ?*) ac_cv_sizeof_short=$ac_lo;;
16370 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16371 See \`config.log' for more details." >&5
16372 echo "$as_me: error: cannot compute sizeof (short), 77
16373 See \`config.log' for more details." >&2;}
16374 { (exit 1); exit 1; }; } ;;
16375 esac
16376 else
16377 if test "$cross_compiling" = yes; then
16378 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16379 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16380 { (exit 1); exit 1; }; }
16381 else
16382 cat >conftest.$ac_ext <<_ACEOF
16383 /* confdefs.h. */
16384 _ACEOF
16385 cat confdefs.h >>conftest.$ac_ext
16386 cat >>conftest.$ac_ext <<_ACEOF
16387 /* end confdefs.h. */
16388 $ac_includes_default
16389 long longval () { return (long) (sizeof (short)); }
16390 unsigned long ulongval () { return (long) (sizeof (short)); }
16391 #include <stdio.h>
16392 #include <stdlib.h>
16393 int
16394 main ()
16395 {
16396
16397 FILE *f = fopen ("conftest.val", "w");
16398 if (! f)
16399 exit (1);
16400 if (((long) (sizeof (short))) < 0)
16401 {
16402 long i = longval ();
16403 if (i != ((long) (sizeof (short))))
16404 exit (1);
16405 fprintf (f, "%ld\n", i);
16406 }
16407 else
16408 {
16409 unsigned long i = ulongval ();
16410 if (i != ((long) (sizeof (short))))
16411 exit (1);
16412 fprintf (f, "%lu\n", i);
16413 }
16414 exit (ferror (f) || fclose (f) != 0);
16415
16416 ;
16417 return 0;
16418 }
16419 _ACEOF
16420 rm -f conftest$ac_exeext
16421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16422 (eval $ac_link) 2>&5
16423 ac_status=$?
16424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16425 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16427 (eval $ac_try) 2>&5
16428 ac_status=$?
16429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16430 (exit $ac_status); }; }; then
16431 ac_cv_sizeof_short=`cat conftest.val`
16432 else
16433 echo "$as_me: program exited with status $ac_status" >&5
16434 echo "$as_me: failed program was:" >&5
16435 sed 's/^/| /' conftest.$ac_ext >&5
16436
16437 ( exit $ac_status )
16438 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16439 See \`config.log' for more details." >&5
16440 echo "$as_me: error: cannot compute sizeof (short), 77
16441 See \`config.log' for more details." >&2;}
16442 { (exit 1); exit 1; }; }
16443 fi
16444 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16445 fi
16446 fi
16447 rm -f conftest.val
16448 else
16449 ac_cv_sizeof_short=0
16450 fi
16451 fi
16452 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
16453 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
16454 cat >>confdefs.h <<_ACEOF
16455 #define SIZEOF_SHORT $ac_cv_sizeof_short
16456 _ACEOF
16457
16458
16459 echo "$as_me:$LINENO: checking for void *" >&5
16460 echo $ECHO_N "checking for void *... $ECHO_C" >&6
16461 if test "${ac_cv_type_void_p+set}" = set; then
16462 echo $ECHO_N "(cached) $ECHO_C" >&6
16463 else
16464 cat >conftest.$ac_ext <<_ACEOF
16465 /* confdefs.h. */
16466 _ACEOF
16467 cat confdefs.h >>conftest.$ac_ext
16468 cat >>conftest.$ac_ext <<_ACEOF
16469 /* end confdefs.h. */
16470 $ac_includes_default
16471 int
16472 main ()
16473 {
16474 if ((void * *) 0)
16475 return 0;
16476 if (sizeof (void *))
16477 return 0;
16478 ;
16479 return 0;
16480 }
16481 _ACEOF
16482 rm -f conftest.$ac_objext
16483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16484 (eval $ac_compile) 2>conftest.er1
16485 ac_status=$?
16486 grep -v '^ *+' conftest.er1 >conftest.err
16487 rm -f conftest.er1
16488 cat conftest.err >&5
16489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16490 (exit $ac_status); } &&
16491 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16493 (eval $ac_try) 2>&5
16494 ac_status=$?
16495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16496 (exit $ac_status); }; } &&
16497 { ac_try='test -s conftest.$ac_objext'
16498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16499 (eval $ac_try) 2>&5
16500 ac_status=$?
16501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16502 (exit $ac_status); }; }; then
16503 ac_cv_type_void_p=yes
16504 else
16505 echo "$as_me: failed program was:" >&5
16506 sed 's/^/| /' conftest.$ac_ext >&5
16507
16508 ac_cv_type_void_p=no
16509 fi
16510 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16511 fi
16512 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
16513 echo "${ECHO_T}$ac_cv_type_void_p" >&6
16514
16515 echo "$as_me:$LINENO: checking size of void *" >&5
16516 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
16517 if test "${ac_cv_sizeof_void_p+set}" = set; then
16518 echo $ECHO_N "(cached) $ECHO_C" >&6
16519 else
16520 if test "$ac_cv_type_void_p" = yes; then
16521 # The cast to unsigned long works around a bug in the HP C Compiler
16522 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16523 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16524 # This bug is HP SR number 8606223364.
16525 if test "$cross_compiling" = yes; then
16526 # Depending upon the size, compute the lo and hi bounds.
16527 cat >conftest.$ac_ext <<_ACEOF
16528 /* confdefs.h. */
16529 _ACEOF
16530 cat confdefs.h >>conftest.$ac_ext
16531 cat >>conftest.$ac_ext <<_ACEOF
16532 /* end confdefs.h. */
16533 $ac_includes_default
16534 int
16535 main ()
16536 {
16537 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
16538 test_array [0] = 0
16539
16540 ;
16541 return 0;
16542 }
16543 _ACEOF
16544 rm -f conftest.$ac_objext
16545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16546 (eval $ac_compile) 2>conftest.er1
16547 ac_status=$?
16548 grep -v '^ *+' conftest.er1 >conftest.err
16549 rm -f conftest.er1
16550 cat conftest.err >&5
16551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16552 (exit $ac_status); } &&
16553 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16555 (eval $ac_try) 2>&5
16556 ac_status=$?
16557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16558 (exit $ac_status); }; } &&
16559 { ac_try='test -s conftest.$ac_objext'
16560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16561 (eval $ac_try) 2>&5
16562 ac_status=$?
16563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16564 (exit $ac_status); }; }; then
16565 ac_lo=0 ac_mid=0
16566 while :; do
16567 cat >conftest.$ac_ext <<_ACEOF
16568 /* confdefs.h. */
16569 _ACEOF
16570 cat confdefs.h >>conftest.$ac_ext
16571 cat >>conftest.$ac_ext <<_ACEOF
16572 /* end confdefs.h. */
16573 $ac_includes_default
16574 int
16575 main ()
16576 {
16577 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16578 test_array [0] = 0
16579
16580 ;
16581 return 0;
16582 }
16583 _ACEOF
16584 rm -f conftest.$ac_objext
16585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16586 (eval $ac_compile) 2>conftest.er1
16587 ac_status=$?
16588 grep -v '^ *+' conftest.er1 >conftest.err
16589 rm -f conftest.er1
16590 cat conftest.err >&5
16591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16592 (exit $ac_status); } &&
16593 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16595 (eval $ac_try) 2>&5
16596 ac_status=$?
16597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16598 (exit $ac_status); }; } &&
16599 { ac_try='test -s conftest.$ac_objext'
16600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16601 (eval $ac_try) 2>&5
16602 ac_status=$?
16603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16604 (exit $ac_status); }; }; then
16605 ac_hi=$ac_mid; break
16606 else
16607 echo "$as_me: failed program was:" >&5
16608 sed 's/^/| /' conftest.$ac_ext >&5
16609
16610 ac_lo=`expr $ac_mid + 1`
16611 if test $ac_lo -le $ac_mid; then
16612 ac_lo= ac_hi=
16613 break
16614 fi
16615 ac_mid=`expr 2 '*' $ac_mid + 1`
16616 fi
16617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16618 done
16619 else
16620 echo "$as_me: failed program was:" >&5
16621 sed 's/^/| /' conftest.$ac_ext >&5
16622
16623 cat >conftest.$ac_ext <<_ACEOF
16624 /* confdefs.h. */
16625 _ACEOF
16626 cat confdefs.h >>conftest.$ac_ext
16627 cat >>conftest.$ac_ext <<_ACEOF
16628 /* end confdefs.h. */
16629 $ac_includes_default
16630 int
16631 main ()
16632 {
16633 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
16634 test_array [0] = 0
16635
16636 ;
16637 return 0;
16638 }
16639 _ACEOF
16640 rm -f conftest.$ac_objext
16641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16642 (eval $ac_compile) 2>conftest.er1
16643 ac_status=$?
16644 grep -v '^ *+' conftest.er1 >conftest.err
16645 rm -f conftest.er1
16646 cat conftest.err >&5
16647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16648 (exit $ac_status); } &&
16649 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16651 (eval $ac_try) 2>&5
16652 ac_status=$?
16653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16654 (exit $ac_status); }; } &&
16655 { ac_try='test -s conftest.$ac_objext'
16656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16657 (eval $ac_try) 2>&5
16658 ac_status=$?
16659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16660 (exit $ac_status); }; }; then
16661 ac_hi=-1 ac_mid=-1
16662 while :; do
16663 cat >conftest.$ac_ext <<_ACEOF
16664 /* confdefs.h. */
16665 _ACEOF
16666 cat confdefs.h >>conftest.$ac_ext
16667 cat >>conftest.$ac_ext <<_ACEOF
16668 /* end confdefs.h. */
16669 $ac_includes_default
16670 int
16671 main ()
16672 {
16673 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
16674 test_array [0] = 0
16675
16676 ;
16677 return 0;
16678 }
16679 _ACEOF
16680 rm -f conftest.$ac_objext
16681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16682 (eval $ac_compile) 2>conftest.er1
16683 ac_status=$?
16684 grep -v '^ *+' conftest.er1 >conftest.err
16685 rm -f conftest.er1
16686 cat conftest.err >&5
16687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16688 (exit $ac_status); } &&
16689 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16691 (eval $ac_try) 2>&5
16692 ac_status=$?
16693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16694 (exit $ac_status); }; } &&
16695 { ac_try='test -s conftest.$ac_objext'
16696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16697 (eval $ac_try) 2>&5
16698 ac_status=$?
16699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16700 (exit $ac_status); }; }; then
16701 ac_lo=$ac_mid; break
16702 else
16703 echo "$as_me: failed program was:" >&5
16704 sed 's/^/| /' conftest.$ac_ext >&5
16705
16706 ac_hi=`expr '(' $ac_mid ')' - 1`
16707 if test $ac_mid -le $ac_hi; then
16708 ac_lo= ac_hi=
16709 break
16710 fi
16711 ac_mid=`expr 2 '*' $ac_mid`
16712 fi
16713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16714 done
16715 else
16716 echo "$as_me: failed program was:" >&5
16717 sed 's/^/| /' conftest.$ac_ext >&5
16718
16719 ac_lo= ac_hi=
16720 fi
16721 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16722 fi
16723 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16724 # Binary search between lo and hi bounds.
16725 while test "x$ac_lo" != "x$ac_hi"; do
16726 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16727 cat >conftest.$ac_ext <<_ACEOF
16728 /* confdefs.h. */
16729 _ACEOF
16730 cat confdefs.h >>conftest.$ac_ext
16731 cat >>conftest.$ac_ext <<_ACEOF
16732 /* end confdefs.h. */
16733 $ac_includes_default
16734 int
16735 main ()
16736 {
16737 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16738 test_array [0] = 0
16739
16740 ;
16741 return 0;
16742 }
16743 _ACEOF
16744 rm -f conftest.$ac_objext
16745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16746 (eval $ac_compile) 2>conftest.er1
16747 ac_status=$?
16748 grep -v '^ *+' conftest.er1 >conftest.err
16749 rm -f conftest.er1
16750 cat conftest.err >&5
16751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16752 (exit $ac_status); } &&
16753 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16755 (eval $ac_try) 2>&5
16756 ac_status=$?
16757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16758 (exit $ac_status); }; } &&
16759 { ac_try='test -s conftest.$ac_objext'
16760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16761 (eval $ac_try) 2>&5
16762 ac_status=$?
16763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16764 (exit $ac_status); }; }; then
16765 ac_hi=$ac_mid
16766 else
16767 echo "$as_me: failed program was:" >&5
16768 sed 's/^/| /' conftest.$ac_ext >&5
16769
16770 ac_lo=`expr '(' $ac_mid ')' + 1`
16771 fi
16772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16773 done
16774 case $ac_lo in
16775 ?*) ac_cv_sizeof_void_p=$ac_lo;;
16776 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16777 See \`config.log' for more details." >&5
16778 echo "$as_me: error: cannot compute sizeof (void *), 77
16779 See \`config.log' for more details." >&2;}
16780 { (exit 1); exit 1; }; } ;;
16781 esac
16782 else
16783 if test "$cross_compiling" = yes; then
16784 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16785 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16786 { (exit 1); exit 1; }; }
16787 else
16788 cat >conftest.$ac_ext <<_ACEOF
16789 /* confdefs.h. */
16790 _ACEOF
16791 cat confdefs.h >>conftest.$ac_ext
16792 cat >>conftest.$ac_ext <<_ACEOF
16793 /* end confdefs.h. */
16794 $ac_includes_default
16795 long longval () { return (long) (sizeof (void *)); }
16796 unsigned long ulongval () { return (long) (sizeof (void *)); }
16797 #include <stdio.h>
16798 #include <stdlib.h>
16799 int
16800 main ()
16801 {
16802
16803 FILE *f = fopen ("conftest.val", "w");
16804 if (! f)
16805 exit (1);
16806 if (((long) (sizeof (void *))) < 0)
16807 {
16808 long i = longval ();
16809 if (i != ((long) (sizeof (void *))))
16810 exit (1);
16811 fprintf (f, "%ld\n", i);
16812 }
16813 else
16814 {
16815 unsigned long i = ulongval ();
16816 if (i != ((long) (sizeof (void *))))
16817 exit (1);
16818 fprintf (f, "%lu\n", i);
16819 }
16820 exit (ferror (f) || fclose (f) != 0);
16821
16822 ;
16823 return 0;
16824 }
16825 _ACEOF
16826 rm -f conftest$ac_exeext
16827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16828 (eval $ac_link) 2>&5
16829 ac_status=$?
16830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16831 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16833 (eval $ac_try) 2>&5
16834 ac_status=$?
16835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16836 (exit $ac_status); }; }; then
16837 ac_cv_sizeof_void_p=`cat conftest.val`
16838 else
16839 echo "$as_me: program exited with status $ac_status" >&5
16840 echo "$as_me: failed program was:" >&5
16841 sed 's/^/| /' conftest.$ac_ext >&5
16842
16843 ( exit $ac_status )
16844 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16845 See \`config.log' for more details." >&5
16846 echo "$as_me: error: cannot compute sizeof (void *), 77
16847 See \`config.log' for more details." >&2;}
16848 { (exit 1); exit 1; }; }
16849 fi
16850 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16851 fi
16852 fi
16853 rm -f conftest.val
16854 else
16855 ac_cv_sizeof_void_p=0
16856 fi
16857 fi
16858 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
16859 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
16860 cat >>confdefs.h <<_ACEOF
16861 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16862 _ACEOF
16863
16864
16865 echo "$as_me:$LINENO: checking for int" >&5
16866 echo $ECHO_N "checking for int... $ECHO_C" >&6
16867 if test "${ac_cv_type_int+set}" = set; then
16868 echo $ECHO_N "(cached) $ECHO_C" >&6
16869 else
16870 cat >conftest.$ac_ext <<_ACEOF
16871 /* confdefs.h. */
16872 _ACEOF
16873 cat confdefs.h >>conftest.$ac_ext
16874 cat >>conftest.$ac_ext <<_ACEOF
16875 /* end confdefs.h. */
16876 $ac_includes_default
16877 int
16878 main ()
16879 {
16880 if ((int *) 0)
16881 return 0;
16882 if (sizeof (int))
16883 return 0;
16884 ;
16885 return 0;
16886 }
16887 _ACEOF
16888 rm -f conftest.$ac_objext
16889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16890 (eval $ac_compile) 2>conftest.er1
16891 ac_status=$?
16892 grep -v '^ *+' conftest.er1 >conftest.err
16893 rm -f conftest.er1
16894 cat conftest.err >&5
16895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16896 (exit $ac_status); } &&
16897 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16899 (eval $ac_try) 2>&5
16900 ac_status=$?
16901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16902 (exit $ac_status); }; } &&
16903 { ac_try='test -s conftest.$ac_objext'
16904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16905 (eval $ac_try) 2>&5
16906 ac_status=$?
16907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16908 (exit $ac_status); }; }; then
16909 ac_cv_type_int=yes
16910 else
16911 echo "$as_me: failed program was:" >&5
16912 sed 's/^/| /' conftest.$ac_ext >&5
16913
16914 ac_cv_type_int=no
16915 fi
16916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16917 fi
16918 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
16919 echo "${ECHO_T}$ac_cv_type_int" >&6
16920
16921 echo "$as_me:$LINENO: checking size of int" >&5
16922 echo $ECHO_N "checking size of int... $ECHO_C" >&6
16923 if test "${ac_cv_sizeof_int+set}" = set; then
16924 echo $ECHO_N "(cached) $ECHO_C" >&6
16925 else
16926 if test "$ac_cv_type_int" = yes; then
16927 # The cast to unsigned long works around a bug in the HP C Compiler
16928 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16929 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16930 # This bug is HP SR number 8606223364.
16931 if test "$cross_compiling" = yes; then
16932 # Depending upon the size, compute the lo and hi bounds.
16933 cat >conftest.$ac_ext <<_ACEOF
16934 /* confdefs.h. */
16935 _ACEOF
16936 cat confdefs.h >>conftest.$ac_ext
16937 cat >>conftest.$ac_ext <<_ACEOF
16938 /* end confdefs.h. */
16939 $ac_includes_default
16940 int
16941 main ()
16942 {
16943 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
16944 test_array [0] = 0
16945
16946 ;
16947 return 0;
16948 }
16949 _ACEOF
16950 rm -f conftest.$ac_objext
16951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16952 (eval $ac_compile) 2>conftest.er1
16953 ac_status=$?
16954 grep -v '^ *+' conftest.er1 >conftest.err
16955 rm -f conftest.er1
16956 cat conftest.err >&5
16957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16958 (exit $ac_status); } &&
16959 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16961 (eval $ac_try) 2>&5
16962 ac_status=$?
16963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16964 (exit $ac_status); }; } &&
16965 { ac_try='test -s conftest.$ac_objext'
16966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16967 (eval $ac_try) 2>&5
16968 ac_status=$?
16969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16970 (exit $ac_status); }; }; then
16971 ac_lo=0 ac_mid=0
16972 while :; do
16973 cat >conftest.$ac_ext <<_ACEOF
16974 /* confdefs.h. */
16975 _ACEOF
16976 cat confdefs.h >>conftest.$ac_ext
16977 cat >>conftest.$ac_ext <<_ACEOF
16978 /* end confdefs.h. */
16979 $ac_includes_default
16980 int
16981 main ()
16982 {
16983 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16984 test_array [0] = 0
16985
16986 ;
16987 return 0;
16988 }
16989 _ACEOF
16990 rm -f conftest.$ac_objext
16991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16992 (eval $ac_compile) 2>conftest.er1
16993 ac_status=$?
16994 grep -v '^ *+' conftest.er1 >conftest.err
16995 rm -f conftest.er1
16996 cat conftest.err >&5
16997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16998 (exit $ac_status); } &&
16999 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17001 (eval $ac_try) 2>&5
17002 ac_status=$?
17003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17004 (exit $ac_status); }; } &&
17005 { ac_try='test -s conftest.$ac_objext'
17006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17007 (eval $ac_try) 2>&5
17008 ac_status=$?
17009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17010 (exit $ac_status); }; }; then
17011 ac_hi=$ac_mid; break
17012 else
17013 echo "$as_me: failed program was:" >&5
17014 sed 's/^/| /' conftest.$ac_ext >&5
17015
17016 ac_lo=`expr $ac_mid + 1`
17017 if test $ac_lo -le $ac_mid; then
17018 ac_lo= ac_hi=
17019 break
17020 fi
17021 ac_mid=`expr 2 '*' $ac_mid + 1`
17022 fi
17023 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17024 done
17025 else
17026 echo "$as_me: failed program was:" >&5
17027 sed 's/^/| /' conftest.$ac_ext >&5
17028
17029 cat >conftest.$ac_ext <<_ACEOF
17030 /* confdefs.h. */
17031 _ACEOF
17032 cat confdefs.h >>conftest.$ac_ext
17033 cat >>conftest.$ac_ext <<_ACEOF
17034 /* end confdefs.h. */
17035 $ac_includes_default
17036 int
17037 main ()
17038 {
17039 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
17040 test_array [0] = 0
17041
17042 ;
17043 return 0;
17044 }
17045 _ACEOF
17046 rm -f conftest.$ac_objext
17047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17048 (eval $ac_compile) 2>conftest.er1
17049 ac_status=$?
17050 grep -v '^ *+' conftest.er1 >conftest.err
17051 rm -f conftest.er1
17052 cat conftest.err >&5
17053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17054 (exit $ac_status); } &&
17055 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17057 (eval $ac_try) 2>&5
17058 ac_status=$?
17059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17060 (exit $ac_status); }; } &&
17061 { ac_try='test -s conftest.$ac_objext'
17062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17063 (eval $ac_try) 2>&5
17064 ac_status=$?
17065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17066 (exit $ac_status); }; }; then
17067 ac_hi=-1 ac_mid=-1
17068 while :; do
17069 cat >conftest.$ac_ext <<_ACEOF
17070 /* confdefs.h. */
17071 _ACEOF
17072 cat confdefs.h >>conftest.$ac_ext
17073 cat >>conftest.$ac_ext <<_ACEOF
17074 /* end confdefs.h. */
17075 $ac_includes_default
17076 int
17077 main ()
17078 {
17079 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
17080 test_array [0] = 0
17081
17082 ;
17083 return 0;
17084 }
17085 _ACEOF
17086 rm -f conftest.$ac_objext
17087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17088 (eval $ac_compile) 2>conftest.er1
17089 ac_status=$?
17090 grep -v '^ *+' conftest.er1 >conftest.err
17091 rm -f conftest.er1
17092 cat conftest.err >&5
17093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17094 (exit $ac_status); } &&
17095 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17097 (eval $ac_try) 2>&5
17098 ac_status=$?
17099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17100 (exit $ac_status); }; } &&
17101 { ac_try='test -s conftest.$ac_objext'
17102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17103 (eval $ac_try) 2>&5
17104 ac_status=$?
17105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17106 (exit $ac_status); }; }; then
17107 ac_lo=$ac_mid; break
17108 else
17109 echo "$as_me: failed program was:" >&5
17110 sed 's/^/| /' conftest.$ac_ext >&5
17111
17112 ac_hi=`expr '(' $ac_mid ')' - 1`
17113 if test $ac_mid -le $ac_hi; then
17114 ac_lo= ac_hi=
17115 break
17116 fi
17117 ac_mid=`expr 2 '*' $ac_mid`
17118 fi
17119 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17120 done
17121 else
17122 echo "$as_me: failed program was:" >&5
17123 sed 's/^/| /' conftest.$ac_ext >&5
17124
17125 ac_lo= ac_hi=
17126 fi
17127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17128 fi
17129 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17130 # Binary search between lo and hi bounds.
17131 while test "x$ac_lo" != "x$ac_hi"; do
17132 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17133 cat >conftest.$ac_ext <<_ACEOF
17134 /* confdefs.h. */
17135 _ACEOF
17136 cat confdefs.h >>conftest.$ac_ext
17137 cat >>conftest.$ac_ext <<_ACEOF
17138 /* end confdefs.h. */
17139 $ac_includes_default
17140 int
17141 main ()
17142 {
17143 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
17144 test_array [0] = 0
17145
17146 ;
17147 return 0;
17148 }
17149 _ACEOF
17150 rm -f conftest.$ac_objext
17151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17152 (eval $ac_compile) 2>conftest.er1
17153 ac_status=$?
17154 grep -v '^ *+' conftest.er1 >conftest.err
17155 rm -f conftest.er1
17156 cat conftest.err >&5
17157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17158 (exit $ac_status); } &&
17159 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17161 (eval $ac_try) 2>&5
17162 ac_status=$?
17163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17164 (exit $ac_status); }; } &&
17165 { ac_try='test -s conftest.$ac_objext'
17166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17167 (eval $ac_try) 2>&5
17168 ac_status=$?
17169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17170 (exit $ac_status); }; }; then
17171 ac_hi=$ac_mid
17172 else
17173 echo "$as_me: failed program was:" >&5
17174 sed 's/^/| /' conftest.$ac_ext >&5
17175
17176 ac_lo=`expr '(' $ac_mid ')' + 1`
17177 fi
17178 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17179 done
17180 case $ac_lo in
17181 ?*) ac_cv_sizeof_int=$ac_lo;;
17182 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17183 See \`config.log' for more details." >&5
17184 echo "$as_me: error: cannot compute sizeof (int), 77
17185 See \`config.log' for more details." >&2;}
17186 { (exit 1); exit 1; }; } ;;
17187 esac
17188 else
17189 if test "$cross_compiling" = yes; then
17190 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17191 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17192 { (exit 1); exit 1; }; }
17193 else
17194 cat >conftest.$ac_ext <<_ACEOF
17195 /* confdefs.h. */
17196 _ACEOF
17197 cat confdefs.h >>conftest.$ac_ext
17198 cat >>conftest.$ac_ext <<_ACEOF
17199 /* end confdefs.h. */
17200 $ac_includes_default
17201 long longval () { return (long) (sizeof (int)); }
17202 unsigned long ulongval () { return (long) (sizeof (int)); }
17203 #include <stdio.h>
17204 #include <stdlib.h>
17205 int
17206 main ()
17207 {
17208
17209 FILE *f = fopen ("conftest.val", "w");
17210 if (! f)
17211 exit (1);
17212 if (((long) (sizeof (int))) < 0)
17213 {
17214 long i = longval ();
17215 if (i != ((long) (sizeof (int))))
17216 exit (1);
17217 fprintf (f, "%ld\n", i);
17218 }
17219 else
17220 {
17221 unsigned long i = ulongval ();
17222 if (i != ((long) (sizeof (int))))
17223 exit (1);
17224 fprintf (f, "%lu\n", i);
17225 }
17226 exit (ferror (f) || fclose (f) != 0);
17227
17228 ;
17229 return 0;
17230 }
17231 _ACEOF
17232 rm -f conftest$ac_exeext
17233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17234 (eval $ac_link) 2>&5
17235 ac_status=$?
17236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17237 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17239 (eval $ac_try) 2>&5
17240 ac_status=$?
17241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17242 (exit $ac_status); }; }; then
17243 ac_cv_sizeof_int=`cat conftest.val`
17244 else
17245 echo "$as_me: program exited with status $ac_status" >&5
17246 echo "$as_me: failed program was:" >&5
17247 sed 's/^/| /' conftest.$ac_ext >&5
17248
17249 ( exit $ac_status )
17250 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17251 See \`config.log' for more details." >&5
17252 echo "$as_me: error: cannot compute sizeof (int), 77
17253 See \`config.log' for more details." >&2;}
17254 { (exit 1); exit 1; }; }
17255 fi
17256 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17257 fi
17258 fi
17259 rm -f conftest.val
17260 else
17261 ac_cv_sizeof_int=0
17262 fi
17263 fi
17264 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
17265 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
17266 cat >>confdefs.h <<_ACEOF
17267 #define SIZEOF_INT $ac_cv_sizeof_int
17268 _ACEOF
17269
17270
17271 echo "$as_me:$LINENO: checking for long" >&5
17272 echo $ECHO_N "checking for long... $ECHO_C" >&6
17273 if test "${ac_cv_type_long+set}" = set; then
17274 echo $ECHO_N "(cached) $ECHO_C" >&6
17275 else
17276 cat >conftest.$ac_ext <<_ACEOF
17277 /* confdefs.h. */
17278 _ACEOF
17279 cat confdefs.h >>conftest.$ac_ext
17280 cat >>conftest.$ac_ext <<_ACEOF
17281 /* end confdefs.h. */
17282 $ac_includes_default
17283 int
17284 main ()
17285 {
17286 if ((long *) 0)
17287 return 0;
17288 if (sizeof (long))
17289 return 0;
17290 ;
17291 return 0;
17292 }
17293 _ACEOF
17294 rm -f conftest.$ac_objext
17295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17296 (eval $ac_compile) 2>conftest.er1
17297 ac_status=$?
17298 grep -v '^ *+' conftest.er1 >conftest.err
17299 rm -f conftest.er1
17300 cat conftest.err >&5
17301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17302 (exit $ac_status); } &&
17303 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17305 (eval $ac_try) 2>&5
17306 ac_status=$?
17307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17308 (exit $ac_status); }; } &&
17309 { ac_try='test -s conftest.$ac_objext'
17310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17311 (eval $ac_try) 2>&5
17312 ac_status=$?
17313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17314 (exit $ac_status); }; }; then
17315 ac_cv_type_long=yes
17316 else
17317 echo "$as_me: failed program was:" >&5
17318 sed 's/^/| /' conftest.$ac_ext >&5
17319
17320 ac_cv_type_long=no
17321 fi
17322 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17323 fi
17324 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
17325 echo "${ECHO_T}$ac_cv_type_long" >&6
17326
17327 echo "$as_me:$LINENO: checking size of long" >&5
17328 echo $ECHO_N "checking size of long... $ECHO_C" >&6
17329 if test "${ac_cv_sizeof_long+set}" = set; then
17330 echo $ECHO_N "(cached) $ECHO_C" >&6
17331 else
17332 if test "$ac_cv_type_long" = yes; then
17333 # The cast to unsigned long works around a bug in the HP C Compiler
17334 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17335 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17336 # This bug is HP SR number 8606223364.
17337 if test "$cross_compiling" = yes; then
17338 # Depending upon the size, compute the lo and hi bounds.
17339 cat >conftest.$ac_ext <<_ACEOF
17340 /* confdefs.h. */
17341 _ACEOF
17342 cat confdefs.h >>conftest.$ac_ext
17343 cat >>conftest.$ac_ext <<_ACEOF
17344 /* end confdefs.h. */
17345 $ac_includes_default
17346 int
17347 main ()
17348 {
17349 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
17350 test_array [0] = 0
17351
17352 ;
17353 return 0;
17354 }
17355 _ACEOF
17356 rm -f conftest.$ac_objext
17357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17358 (eval $ac_compile) 2>conftest.er1
17359 ac_status=$?
17360 grep -v '^ *+' conftest.er1 >conftest.err
17361 rm -f conftest.er1
17362 cat conftest.err >&5
17363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17364 (exit $ac_status); } &&
17365 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17367 (eval $ac_try) 2>&5
17368 ac_status=$?
17369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17370 (exit $ac_status); }; } &&
17371 { ac_try='test -s conftest.$ac_objext'
17372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17373 (eval $ac_try) 2>&5
17374 ac_status=$?
17375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17376 (exit $ac_status); }; }; then
17377 ac_lo=0 ac_mid=0
17378 while :; do
17379 cat >conftest.$ac_ext <<_ACEOF
17380 /* confdefs.h. */
17381 _ACEOF
17382 cat confdefs.h >>conftest.$ac_ext
17383 cat >>conftest.$ac_ext <<_ACEOF
17384 /* end confdefs.h. */
17385 $ac_includes_default
17386 int
17387 main ()
17388 {
17389 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17390 test_array [0] = 0
17391
17392 ;
17393 return 0;
17394 }
17395 _ACEOF
17396 rm -f conftest.$ac_objext
17397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17398 (eval $ac_compile) 2>conftest.er1
17399 ac_status=$?
17400 grep -v '^ *+' conftest.er1 >conftest.err
17401 rm -f conftest.er1
17402 cat conftest.err >&5
17403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17404 (exit $ac_status); } &&
17405 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17407 (eval $ac_try) 2>&5
17408 ac_status=$?
17409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17410 (exit $ac_status); }; } &&
17411 { ac_try='test -s conftest.$ac_objext'
17412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17413 (eval $ac_try) 2>&5
17414 ac_status=$?
17415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17416 (exit $ac_status); }; }; then
17417 ac_hi=$ac_mid; break
17418 else
17419 echo "$as_me: failed program was:" >&5
17420 sed 's/^/| /' conftest.$ac_ext >&5
17421
17422 ac_lo=`expr $ac_mid + 1`
17423 if test $ac_lo -le $ac_mid; then
17424 ac_lo= ac_hi=
17425 break
17426 fi
17427 ac_mid=`expr 2 '*' $ac_mid + 1`
17428 fi
17429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17430 done
17431 else
17432 echo "$as_me: failed program was:" >&5
17433 sed 's/^/| /' conftest.$ac_ext >&5
17434
17435 cat >conftest.$ac_ext <<_ACEOF
17436 /* confdefs.h. */
17437 _ACEOF
17438 cat confdefs.h >>conftest.$ac_ext
17439 cat >>conftest.$ac_ext <<_ACEOF
17440 /* end confdefs.h. */
17441 $ac_includes_default
17442 int
17443 main ()
17444 {
17445 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
17446 test_array [0] = 0
17447
17448 ;
17449 return 0;
17450 }
17451 _ACEOF
17452 rm -f conftest.$ac_objext
17453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17454 (eval $ac_compile) 2>conftest.er1
17455 ac_status=$?
17456 grep -v '^ *+' conftest.er1 >conftest.err
17457 rm -f conftest.er1
17458 cat conftest.err >&5
17459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17460 (exit $ac_status); } &&
17461 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17463 (eval $ac_try) 2>&5
17464 ac_status=$?
17465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17466 (exit $ac_status); }; } &&
17467 { ac_try='test -s conftest.$ac_objext'
17468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17469 (eval $ac_try) 2>&5
17470 ac_status=$?
17471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17472 (exit $ac_status); }; }; then
17473 ac_hi=-1 ac_mid=-1
17474 while :; do
17475 cat >conftest.$ac_ext <<_ACEOF
17476 /* confdefs.h. */
17477 _ACEOF
17478 cat confdefs.h >>conftest.$ac_ext
17479 cat >>conftest.$ac_ext <<_ACEOF
17480 /* end confdefs.h. */
17481 $ac_includes_default
17482 int
17483 main ()
17484 {
17485 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
17486 test_array [0] = 0
17487
17488 ;
17489 return 0;
17490 }
17491 _ACEOF
17492 rm -f conftest.$ac_objext
17493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17494 (eval $ac_compile) 2>conftest.er1
17495 ac_status=$?
17496 grep -v '^ *+' conftest.er1 >conftest.err
17497 rm -f conftest.er1
17498 cat conftest.err >&5
17499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17500 (exit $ac_status); } &&
17501 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17503 (eval $ac_try) 2>&5
17504 ac_status=$?
17505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17506 (exit $ac_status); }; } &&
17507 { ac_try='test -s conftest.$ac_objext'
17508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17509 (eval $ac_try) 2>&5
17510 ac_status=$?
17511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17512 (exit $ac_status); }; }; then
17513 ac_lo=$ac_mid; break
17514 else
17515 echo "$as_me: failed program was:" >&5
17516 sed 's/^/| /' conftest.$ac_ext >&5
17517
17518 ac_hi=`expr '(' $ac_mid ')' - 1`
17519 if test $ac_mid -le $ac_hi; then
17520 ac_lo= ac_hi=
17521 break
17522 fi
17523 ac_mid=`expr 2 '*' $ac_mid`
17524 fi
17525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17526 done
17527 else
17528 echo "$as_me: failed program was:" >&5
17529 sed 's/^/| /' conftest.$ac_ext >&5
17530
17531 ac_lo= ac_hi=
17532 fi
17533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17534 fi
17535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17536 # Binary search between lo and hi bounds.
17537 while test "x$ac_lo" != "x$ac_hi"; do
17538 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17539 cat >conftest.$ac_ext <<_ACEOF
17540 /* confdefs.h. */
17541 _ACEOF
17542 cat confdefs.h >>conftest.$ac_ext
17543 cat >>conftest.$ac_ext <<_ACEOF
17544 /* end confdefs.h. */
17545 $ac_includes_default
17546 int
17547 main ()
17548 {
17549 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17550 test_array [0] = 0
17551
17552 ;
17553 return 0;
17554 }
17555 _ACEOF
17556 rm -f conftest.$ac_objext
17557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17558 (eval $ac_compile) 2>conftest.er1
17559 ac_status=$?
17560 grep -v '^ *+' conftest.er1 >conftest.err
17561 rm -f conftest.er1
17562 cat conftest.err >&5
17563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17564 (exit $ac_status); } &&
17565 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17567 (eval $ac_try) 2>&5
17568 ac_status=$?
17569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17570 (exit $ac_status); }; } &&
17571 { ac_try='test -s conftest.$ac_objext'
17572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17573 (eval $ac_try) 2>&5
17574 ac_status=$?
17575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17576 (exit $ac_status); }; }; then
17577 ac_hi=$ac_mid
17578 else
17579 echo "$as_me: failed program was:" >&5
17580 sed 's/^/| /' conftest.$ac_ext >&5
17581
17582 ac_lo=`expr '(' $ac_mid ')' + 1`
17583 fi
17584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17585 done
17586 case $ac_lo in
17587 ?*) ac_cv_sizeof_long=$ac_lo;;
17588 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17589 See \`config.log' for more details." >&5
17590 echo "$as_me: error: cannot compute sizeof (long), 77
17591 See \`config.log' for more details." >&2;}
17592 { (exit 1); exit 1; }; } ;;
17593 esac
17594 else
17595 if test "$cross_compiling" = yes; then
17596 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17597 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17598 { (exit 1); exit 1; }; }
17599 else
17600 cat >conftest.$ac_ext <<_ACEOF
17601 /* confdefs.h. */
17602 _ACEOF
17603 cat confdefs.h >>conftest.$ac_ext
17604 cat >>conftest.$ac_ext <<_ACEOF
17605 /* end confdefs.h. */
17606 $ac_includes_default
17607 long longval () { return (long) (sizeof (long)); }
17608 unsigned long ulongval () { return (long) (sizeof (long)); }
17609 #include <stdio.h>
17610 #include <stdlib.h>
17611 int
17612 main ()
17613 {
17614
17615 FILE *f = fopen ("conftest.val", "w");
17616 if (! f)
17617 exit (1);
17618 if (((long) (sizeof (long))) < 0)
17619 {
17620 long i = longval ();
17621 if (i != ((long) (sizeof (long))))
17622 exit (1);
17623 fprintf (f, "%ld\n", i);
17624 }
17625 else
17626 {
17627 unsigned long i = ulongval ();
17628 if (i != ((long) (sizeof (long))))
17629 exit (1);
17630 fprintf (f, "%lu\n", i);
17631 }
17632 exit (ferror (f) || fclose (f) != 0);
17633
17634 ;
17635 return 0;
17636 }
17637 _ACEOF
17638 rm -f conftest$ac_exeext
17639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17640 (eval $ac_link) 2>&5
17641 ac_status=$?
17642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17643 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17645 (eval $ac_try) 2>&5
17646 ac_status=$?
17647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17648 (exit $ac_status); }; }; then
17649 ac_cv_sizeof_long=`cat conftest.val`
17650 else
17651 echo "$as_me: program exited with status $ac_status" >&5
17652 echo "$as_me: failed program was:" >&5
17653 sed 's/^/| /' conftest.$ac_ext >&5
17654
17655 ( exit $ac_status )
17656 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17657 See \`config.log' for more details." >&5
17658 echo "$as_me: error: cannot compute sizeof (long), 77
17659 See \`config.log' for more details." >&2;}
17660 { (exit 1); exit 1; }; }
17661 fi
17662 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17663 fi
17664 fi
17665 rm -f conftest.val
17666 else
17667 ac_cv_sizeof_long=0
17668 fi
17669 fi
17670 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
17671 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
17672 cat >>confdefs.h <<_ACEOF
17673 #define SIZEOF_LONG $ac_cv_sizeof_long
17674 _ACEOF
17675
17676
17677 echo "$as_me:$LINENO: checking for size_t" >&5
17678 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
17679 if test "${ac_cv_type_size_t+set}" = set; then
17680 echo $ECHO_N "(cached) $ECHO_C" >&6
17681 else
17682 cat >conftest.$ac_ext <<_ACEOF
17683 /* confdefs.h. */
17684 _ACEOF
17685 cat confdefs.h >>conftest.$ac_ext
17686 cat >>conftest.$ac_ext <<_ACEOF
17687 /* end confdefs.h. */
17688 $ac_includes_default
17689 int
17690 main ()
17691 {
17692 if ((size_t *) 0)
17693 return 0;
17694 if (sizeof (size_t))
17695 return 0;
17696 ;
17697 return 0;
17698 }
17699 _ACEOF
17700 rm -f conftest.$ac_objext
17701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17702 (eval $ac_compile) 2>conftest.er1
17703 ac_status=$?
17704 grep -v '^ *+' conftest.er1 >conftest.err
17705 rm -f conftest.er1
17706 cat conftest.err >&5
17707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17708 (exit $ac_status); } &&
17709 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17711 (eval $ac_try) 2>&5
17712 ac_status=$?
17713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17714 (exit $ac_status); }; } &&
17715 { ac_try='test -s conftest.$ac_objext'
17716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17717 (eval $ac_try) 2>&5
17718 ac_status=$?
17719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17720 (exit $ac_status); }; }; then
17721 ac_cv_type_size_t=yes
17722 else
17723 echo "$as_me: failed program was:" >&5
17724 sed 's/^/| /' conftest.$ac_ext >&5
17725
17726 ac_cv_type_size_t=no
17727 fi
17728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17729 fi
17730 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17731 echo "${ECHO_T}$ac_cv_type_size_t" >&6
17732
17733 echo "$as_me:$LINENO: checking size of size_t" >&5
17734 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
17735 if test "${ac_cv_sizeof_size_t+set}" = set; then
17736 echo $ECHO_N "(cached) $ECHO_C" >&6
17737 else
17738 if test "$ac_cv_type_size_t" = yes; then
17739 # The cast to unsigned long works around a bug in the HP C Compiler
17740 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17741 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17742 # This bug is HP SR number 8606223364.
17743 if test "$cross_compiling" = yes; then
17744 # Depending upon the size, compute the lo and hi bounds.
17745 cat >conftest.$ac_ext <<_ACEOF
17746 /* confdefs.h. */
17747 _ACEOF
17748 cat confdefs.h >>conftest.$ac_ext
17749 cat >>conftest.$ac_ext <<_ACEOF
17750 /* end confdefs.h. */
17751 $ac_includes_default
17752 int
17753 main ()
17754 {
17755 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
17756 test_array [0] = 0
17757
17758 ;
17759 return 0;
17760 }
17761 _ACEOF
17762 rm -f conftest.$ac_objext
17763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17764 (eval $ac_compile) 2>conftest.er1
17765 ac_status=$?
17766 grep -v '^ *+' conftest.er1 >conftest.err
17767 rm -f conftest.er1
17768 cat conftest.err >&5
17769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17770 (exit $ac_status); } &&
17771 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17773 (eval $ac_try) 2>&5
17774 ac_status=$?
17775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17776 (exit $ac_status); }; } &&
17777 { ac_try='test -s conftest.$ac_objext'
17778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17779 (eval $ac_try) 2>&5
17780 ac_status=$?
17781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17782 (exit $ac_status); }; }; then
17783 ac_lo=0 ac_mid=0
17784 while :; do
17785 cat >conftest.$ac_ext <<_ACEOF
17786 /* confdefs.h. */
17787 _ACEOF
17788 cat confdefs.h >>conftest.$ac_ext
17789 cat >>conftest.$ac_ext <<_ACEOF
17790 /* end confdefs.h. */
17791 $ac_includes_default
17792 int
17793 main ()
17794 {
17795 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17796 test_array [0] = 0
17797
17798 ;
17799 return 0;
17800 }
17801 _ACEOF
17802 rm -f conftest.$ac_objext
17803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17804 (eval $ac_compile) 2>conftest.er1
17805 ac_status=$?
17806 grep -v '^ *+' conftest.er1 >conftest.err
17807 rm -f conftest.er1
17808 cat conftest.err >&5
17809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17810 (exit $ac_status); } &&
17811 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17813 (eval $ac_try) 2>&5
17814 ac_status=$?
17815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17816 (exit $ac_status); }; } &&
17817 { ac_try='test -s conftest.$ac_objext'
17818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17819 (eval $ac_try) 2>&5
17820 ac_status=$?
17821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17822 (exit $ac_status); }; }; then
17823 ac_hi=$ac_mid; break
17824 else
17825 echo "$as_me: failed program was:" >&5
17826 sed 's/^/| /' conftest.$ac_ext >&5
17827
17828 ac_lo=`expr $ac_mid + 1`
17829 if test $ac_lo -le $ac_mid; then
17830 ac_lo= ac_hi=
17831 break
17832 fi
17833 ac_mid=`expr 2 '*' $ac_mid + 1`
17834 fi
17835 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17836 done
17837 else
17838 echo "$as_me: failed program was:" >&5
17839 sed 's/^/| /' conftest.$ac_ext >&5
17840
17841 cat >conftest.$ac_ext <<_ACEOF
17842 /* confdefs.h. */
17843 _ACEOF
17844 cat confdefs.h >>conftest.$ac_ext
17845 cat >>conftest.$ac_ext <<_ACEOF
17846 /* end confdefs.h. */
17847 $ac_includes_default
17848 int
17849 main ()
17850 {
17851 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
17852 test_array [0] = 0
17853
17854 ;
17855 return 0;
17856 }
17857 _ACEOF
17858 rm -f conftest.$ac_objext
17859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17860 (eval $ac_compile) 2>conftest.er1
17861 ac_status=$?
17862 grep -v '^ *+' conftest.er1 >conftest.err
17863 rm -f conftest.er1
17864 cat conftest.err >&5
17865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17866 (exit $ac_status); } &&
17867 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17869 (eval $ac_try) 2>&5
17870 ac_status=$?
17871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17872 (exit $ac_status); }; } &&
17873 { ac_try='test -s conftest.$ac_objext'
17874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17875 (eval $ac_try) 2>&5
17876 ac_status=$?
17877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17878 (exit $ac_status); }; }; then
17879 ac_hi=-1 ac_mid=-1
17880 while :; do
17881 cat >conftest.$ac_ext <<_ACEOF
17882 /* confdefs.h. */
17883 _ACEOF
17884 cat confdefs.h >>conftest.$ac_ext
17885 cat >>conftest.$ac_ext <<_ACEOF
17886 /* end confdefs.h. */
17887 $ac_includes_default
17888 int
17889 main ()
17890 {
17891 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
17892 test_array [0] = 0
17893
17894 ;
17895 return 0;
17896 }
17897 _ACEOF
17898 rm -f conftest.$ac_objext
17899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17900 (eval $ac_compile) 2>conftest.er1
17901 ac_status=$?
17902 grep -v '^ *+' conftest.er1 >conftest.err
17903 rm -f conftest.er1
17904 cat conftest.err >&5
17905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17906 (exit $ac_status); } &&
17907 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17909 (eval $ac_try) 2>&5
17910 ac_status=$?
17911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17912 (exit $ac_status); }; } &&
17913 { ac_try='test -s conftest.$ac_objext'
17914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17915 (eval $ac_try) 2>&5
17916 ac_status=$?
17917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17918 (exit $ac_status); }; }; then
17919 ac_lo=$ac_mid; break
17920 else
17921 echo "$as_me: failed program was:" >&5
17922 sed 's/^/| /' conftest.$ac_ext >&5
17923
17924 ac_hi=`expr '(' $ac_mid ')' - 1`
17925 if test $ac_mid -le $ac_hi; then
17926 ac_lo= ac_hi=
17927 break
17928 fi
17929 ac_mid=`expr 2 '*' $ac_mid`
17930 fi
17931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17932 done
17933 else
17934 echo "$as_me: failed program was:" >&5
17935 sed 's/^/| /' conftest.$ac_ext >&5
17936
17937 ac_lo= ac_hi=
17938 fi
17939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17940 fi
17941 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17942 # Binary search between lo and hi bounds.
17943 while test "x$ac_lo" != "x$ac_hi"; do
17944 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17945 cat >conftest.$ac_ext <<_ACEOF
17946 /* confdefs.h. */
17947 _ACEOF
17948 cat confdefs.h >>conftest.$ac_ext
17949 cat >>conftest.$ac_ext <<_ACEOF
17950 /* end confdefs.h. */
17951 $ac_includes_default
17952 int
17953 main ()
17954 {
17955 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17956 test_array [0] = 0
17957
17958 ;
17959 return 0;
17960 }
17961 _ACEOF
17962 rm -f conftest.$ac_objext
17963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17964 (eval $ac_compile) 2>conftest.er1
17965 ac_status=$?
17966 grep -v '^ *+' conftest.er1 >conftest.err
17967 rm -f conftest.er1
17968 cat conftest.err >&5
17969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17970 (exit $ac_status); } &&
17971 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17973 (eval $ac_try) 2>&5
17974 ac_status=$?
17975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17976 (exit $ac_status); }; } &&
17977 { ac_try='test -s conftest.$ac_objext'
17978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17979 (eval $ac_try) 2>&5
17980 ac_status=$?
17981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17982 (exit $ac_status); }; }; then
17983 ac_hi=$ac_mid
17984 else
17985 echo "$as_me: failed program was:" >&5
17986 sed 's/^/| /' conftest.$ac_ext >&5
17987
17988 ac_lo=`expr '(' $ac_mid ')' + 1`
17989 fi
17990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17991 done
17992 case $ac_lo in
17993 ?*) ac_cv_sizeof_size_t=$ac_lo;;
17994 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17995 See \`config.log' for more details." >&5
17996 echo "$as_me: error: cannot compute sizeof (size_t), 77
17997 See \`config.log' for more details." >&2;}
17998 { (exit 1); exit 1; }; } ;;
17999 esac
18000 else
18001 if test "$cross_compiling" = yes; then
18002 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18003 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18004 { (exit 1); exit 1; }; }
18005 else
18006 cat >conftest.$ac_ext <<_ACEOF
18007 /* confdefs.h. */
18008 _ACEOF
18009 cat confdefs.h >>conftest.$ac_ext
18010 cat >>conftest.$ac_ext <<_ACEOF
18011 /* end confdefs.h. */
18012 $ac_includes_default
18013 long longval () { return (long) (sizeof (size_t)); }
18014 unsigned long ulongval () { return (long) (sizeof (size_t)); }
18015 #include <stdio.h>
18016 #include <stdlib.h>
18017 int
18018 main ()
18019 {
18020
18021 FILE *f = fopen ("conftest.val", "w");
18022 if (! f)
18023 exit (1);
18024 if (((long) (sizeof (size_t))) < 0)
18025 {
18026 long i = longval ();
18027 if (i != ((long) (sizeof (size_t))))
18028 exit (1);
18029 fprintf (f, "%ld\n", i);
18030 }
18031 else
18032 {
18033 unsigned long i = ulongval ();
18034 if (i != ((long) (sizeof (size_t))))
18035 exit (1);
18036 fprintf (f, "%lu\n", i);
18037 }
18038 exit (ferror (f) || fclose (f) != 0);
18039
18040 ;
18041 return 0;
18042 }
18043 _ACEOF
18044 rm -f conftest$ac_exeext
18045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18046 (eval $ac_link) 2>&5
18047 ac_status=$?
18048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18049 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18051 (eval $ac_try) 2>&5
18052 ac_status=$?
18053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18054 (exit $ac_status); }; }; then
18055 ac_cv_sizeof_size_t=`cat conftest.val`
18056 else
18057 echo "$as_me: program exited with status $ac_status" >&5
18058 echo "$as_me: failed program was:" >&5
18059 sed 's/^/| /' conftest.$ac_ext >&5
18060
18061 ( exit $ac_status )
18062 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
18063 See \`config.log' for more details." >&5
18064 echo "$as_me: error: cannot compute sizeof (size_t), 77
18065 See \`config.log' for more details." >&2;}
18066 { (exit 1); exit 1; }; }
18067 fi
18068 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18069 fi
18070 fi
18071 rm -f conftest.val
18072 else
18073 ac_cv_sizeof_size_t=0
18074 fi
18075 fi
18076 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
18077 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
18078 cat >>confdefs.h <<_ACEOF
18079 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
18080 _ACEOF
18081
18082
18083
18084 case "${host}" in
18085 arm-*-linux* )
18086 echo "$as_me:$LINENO: checking for long long" >&5
18087 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18088 if test "${ac_cv_type_long_long+set}" = set; then
18089 echo $ECHO_N "(cached) $ECHO_C" >&6
18090 else
18091 cat >conftest.$ac_ext <<_ACEOF
18092 /* confdefs.h. */
18093 _ACEOF
18094 cat confdefs.h >>conftest.$ac_ext
18095 cat >>conftest.$ac_ext <<_ACEOF
18096 /* end confdefs.h. */
18097 $ac_includes_default
18098 int
18099 main ()
18100 {
18101 if ((long long *) 0)
18102 return 0;
18103 if (sizeof (long long))
18104 return 0;
18105 ;
18106 return 0;
18107 }
18108 _ACEOF
18109 rm -f conftest.$ac_objext
18110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18111 (eval $ac_compile) 2>conftest.er1
18112 ac_status=$?
18113 grep -v '^ *+' conftest.er1 >conftest.err
18114 rm -f conftest.er1
18115 cat conftest.err >&5
18116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18117 (exit $ac_status); } &&
18118 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18120 (eval $ac_try) 2>&5
18121 ac_status=$?
18122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18123 (exit $ac_status); }; } &&
18124 { ac_try='test -s conftest.$ac_objext'
18125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18126 (eval $ac_try) 2>&5
18127 ac_status=$?
18128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18129 (exit $ac_status); }; }; then
18130 ac_cv_type_long_long=yes
18131 else
18132 echo "$as_me: failed program was:" >&5
18133 sed 's/^/| /' conftest.$ac_ext >&5
18134
18135 ac_cv_type_long_long=no
18136 fi
18137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18138 fi
18139 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18140 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18141
18142 echo "$as_me:$LINENO: checking size of long long" >&5
18143 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18144 if test "${ac_cv_sizeof_long_long+set}" = set; then
18145 echo $ECHO_N "(cached) $ECHO_C" >&6
18146 else
18147 if test "$ac_cv_type_long_long" = yes; then
18148 # The cast to unsigned long works around a bug in the HP C Compiler
18149 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18150 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18151 # This bug is HP SR number 8606223364.
18152 if test "$cross_compiling" = yes; then
18153 # Depending upon the size, compute the lo and hi bounds.
18154 cat >conftest.$ac_ext <<_ACEOF
18155 /* confdefs.h. */
18156 _ACEOF
18157 cat confdefs.h >>conftest.$ac_ext
18158 cat >>conftest.$ac_ext <<_ACEOF
18159 /* end confdefs.h. */
18160 $ac_includes_default
18161 int
18162 main ()
18163 {
18164 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18165 test_array [0] = 0
18166
18167 ;
18168 return 0;
18169 }
18170 _ACEOF
18171 rm -f conftest.$ac_objext
18172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18173 (eval $ac_compile) 2>conftest.er1
18174 ac_status=$?
18175 grep -v '^ *+' conftest.er1 >conftest.err
18176 rm -f conftest.er1
18177 cat conftest.err >&5
18178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18179 (exit $ac_status); } &&
18180 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18182 (eval $ac_try) 2>&5
18183 ac_status=$?
18184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18185 (exit $ac_status); }; } &&
18186 { ac_try='test -s conftest.$ac_objext'
18187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18188 (eval $ac_try) 2>&5
18189 ac_status=$?
18190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18191 (exit $ac_status); }; }; then
18192 ac_lo=0 ac_mid=0
18193 while :; do
18194 cat >conftest.$ac_ext <<_ACEOF
18195 /* confdefs.h. */
18196 _ACEOF
18197 cat confdefs.h >>conftest.$ac_ext
18198 cat >>conftest.$ac_ext <<_ACEOF
18199 /* end confdefs.h. */
18200 $ac_includes_default
18201 int
18202 main ()
18203 {
18204 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18205 test_array [0] = 0
18206
18207 ;
18208 return 0;
18209 }
18210 _ACEOF
18211 rm -f conftest.$ac_objext
18212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18213 (eval $ac_compile) 2>conftest.er1
18214 ac_status=$?
18215 grep -v '^ *+' conftest.er1 >conftest.err
18216 rm -f conftest.er1
18217 cat conftest.err >&5
18218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18219 (exit $ac_status); } &&
18220 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18222 (eval $ac_try) 2>&5
18223 ac_status=$?
18224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18225 (exit $ac_status); }; } &&
18226 { ac_try='test -s conftest.$ac_objext'
18227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18228 (eval $ac_try) 2>&5
18229 ac_status=$?
18230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18231 (exit $ac_status); }; }; then
18232 ac_hi=$ac_mid; break
18233 else
18234 echo "$as_me: failed program was:" >&5
18235 sed 's/^/| /' conftest.$ac_ext >&5
18236
18237 ac_lo=`expr $ac_mid + 1`
18238 if test $ac_lo -le $ac_mid; then
18239 ac_lo= ac_hi=
18240 break
18241 fi
18242 ac_mid=`expr 2 '*' $ac_mid + 1`
18243 fi
18244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18245 done
18246 else
18247 echo "$as_me: failed program was:" >&5
18248 sed 's/^/| /' conftest.$ac_ext >&5
18249
18250 cat >conftest.$ac_ext <<_ACEOF
18251 /* confdefs.h. */
18252 _ACEOF
18253 cat confdefs.h >>conftest.$ac_ext
18254 cat >>conftest.$ac_ext <<_ACEOF
18255 /* end confdefs.h. */
18256 $ac_includes_default
18257 int
18258 main ()
18259 {
18260 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18261 test_array [0] = 0
18262
18263 ;
18264 return 0;
18265 }
18266 _ACEOF
18267 rm -f conftest.$ac_objext
18268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18269 (eval $ac_compile) 2>conftest.er1
18270 ac_status=$?
18271 grep -v '^ *+' conftest.er1 >conftest.err
18272 rm -f conftest.er1
18273 cat conftest.err >&5
18274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18275 (exit $ac_status); } &&
18276 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18278 (eval $ac_try) 2>&5
18279 ac_status=$?
18280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18281 (exit $ac_status); }; } &&
18282 { ac_try='test -s conftest.$ac_objext'
18283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18284 (eval $ac_try) 2>&5
18285 ac_status=$?
18286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18287 (exit $ac_status); }; }; then
18288 ac_hi=-1 ac_mid=-1
18289 while :; do
18290 cat >conftest.$ac_ext <<_ACEOF
18291 /* confdefs.h. */
18292 _ACEOF
18293 cat confdefs.h >>conftest.$ac_ext
18294 cat >>conftest.$ac_ext <<_ACEOF
18295 /* end confdefs.h. */
18296 $ac_includes_default
18297 int
18298 main ()
18299 {
18300 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18301 test_array [0] = 0
18302
18303 ;
18304 return 0;
18305 }
18306 _ACEOF
18307 rm -f conftest.$ac_objext
18308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18309 (eval $ac_compile) 2>conftest.er1
18310 ac_status=$?
18311 grep -v '^ *+' conftest.er1 >conftest.err
18312 rm -f conftest.er1
18313 cat conftest.err >&5
18314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18315 (exit $ac_status); } &&
18316 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18318 (eval $ac_try) 2>&5
18319 ac_status=$?
18320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18321 (exit $ac_status); }; } &&
18322 { ac_try='test -s conftest.$ac_objext'
18323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18324 (eval $ac_try) 2>&5
18325 ac_status=$?
18326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18327 (exit $ac_status); }; }; then
18328 ac_lo=$ac_mid; break
18329 else
18330 echo "$as_me: failed program was:" >&5
18331 sed 's/^/| /' conftest.$ac_ext >&5
18332
18333 ac_hi=`expr '(' $ac_mid ')' - 1`
18334 if test $ac_mid -le $ac_hi; then
18335 ac_lo= ac_hi=
18336 break
18337 fi
18338 ac_mid=`expr 2 '*' $ac_mid`
18339 fi
18340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18341 done
18342 else
18343 echo "$as_me: failed program was:" >&5
18344 sed 's/^/| /' conftest.$ac_ext >&5
18345
18346 ac_lo= ac_hi=
18347 fi
18348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18349 fi
18350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18351 # Binary search between lo and hi bounds.
18352 while test "x$ac_lo" != "x$ac_hi"; do
18353 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18354 cat >conftest.$ac_ext <<_ACEOF
18355 /* confdefs.h. */
18356 _ACEOF
18357 cat confdefs.h >>conftest.$ac_ext
18358 cat >>conftest.$ac_ext <<_ACEOF
18359 /* end confdefs.h. */
18360 $ac_includes_default
18361 int
18362 main ()
18363 {
18364 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18365 test_array [0] = 0
18366
18367 ;
18368 return 0;
18369 }
18370 _ACEOF
18371 rm -f conftest.$ac_objext
18372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18373 (eval $ac_compile) 2>conftest.er1
18374 ac_status=$?
18375 grep -v '^ *+' conftest.er1 >conftest.err
18376 rm -f conftest.er1
18377 cat conftest.err >&5
18378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18379 (exit $ac_status); } &&
18380 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18382 (eval $ac_try) 2>&5
18383 ac_status=$?
18384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18385 (exit $ac_status); }; } &&
18386 { ac_try='test -s conftest.$ac_objext'
18387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18388 (eval $ac_try) 2>&5
18389 ac_status=$?
18390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18391 (exit $ac_status); }; }; then
18392 ac_hi=$ac_mid
18393 else
18394 echo "$as_me: failed program was:" >&5
18395 sed 's/^/| /' conftest.$ac_ext >&5
18396
18397 ac_lo=`expr '(' $ac_mid ')' + 1`
18398 fi
18399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18400 done
18401 case $ac_lo in
18402 ?*) ac_cv_sizeof_long_long=$ac_lo;;
18403 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18404 See \`config.log' for more details." >&5
18405 echo "$as_me: error: cannot compute sizeof (long long), 77
18406 See \`config.log' for more details." >&2;}
18407 { (exit 1); exit 1; }; } ;;
18408 esac
18409 else
18410 if test "$cross_compiling" = yes; then
18411 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18412 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18413 { (exit 1); exit 1; }; }
18414 else
18415 cat >conftest.$ac_ext <<_ACEOF
18416 /* confdefs.h. */
18417 _ACEOF
18418 cat confdefs.h >>conftest.$ac_ext
18419 cat >>conftest.$ac_ext <<_ACEOF
18420 /* end confdefs.h. */
18421 $ac_includes_default
18422 long longval () { return (long) (sizeof (long long)); }
18423 unsigned long ulongval () { return (long) (sizeof (long long)); }
18424 #include <stdio.h>
18425 #include <stdlib.h>
18426 int
18427 main ()
18428 {
18429
18430 FILE *f = fopen ("conftest.val", "w");
18431 if (! f)
18432 exit (1);
18433 if (((long) (sizeof (long long))) < 0)
18434 {
18435 long i = longval ();
18436 if (i != ((long) (sizeof (long long))))
18437 exit (1);
18438 fprintf (f, "%ld\n", i);
18439 }
18440 else
18441 {
18442 unsigned long i = ulongval ();
18443 if (i != ((long) (sizeof (long long))))
18444 exit (1);
18445 fprintf (f, "%lu\n", i);
18446 }
18447 exit (ferror (f) || fclose (f) != 0);
18448
18449 ;
18450 return 0;
18451 }
18452 _ACEOF
18453 rm -f conftest$ac_exeext
18454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18455 (eval $ac_link) 2>&5
18456 ac_status=$?
18457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18458 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18460 (eval $ac_try) 2>&5
18461 ac_status=$?
18462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18463 (exit $ac_status); }; }; then
18464 ac_cv_sizeof_long_long=`cat conftest.val`
18465 else
18466 echo "$as_me: program exited with status $ac_status" >&5
18467 echo "$as_me: failed program was:" >&5
18468 sed 's/^/| /' conftest.$ac_ext >&5
18469
18470 ( exit $ac_status )
18471 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18472 See \`config.log' for more details." >&5
18473 echo "$as_me: error: cannot compute sizeof (long long), 77
18474 See \`config.log' for more details." >&2;}
18475 { (exit 1); exit 1; }; }
18476 fi
18477 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18478 fi
18479 fi
18480 rm -f conftest.val
18481 else
18482 ac_cv_sizeof_long_long=0
18483 fi
18484 fi
18485 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18486 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18487 cat >>confdefs.h <<_ACEOF
18488 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18489 _ACEOF
18490
18491
18492 ;;
18493 *-hp-hpux* )
18494 echo "$as_me:$LINENO: checking for long long" >&5
18495 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18496 if test "${ac_cv_type_long_long+set}" = set; then
18497 echo $ECHO_N "(cached) $ECHO_C" >&6
18498 else
18499 cat >conftest.$ac_ext <<_ACEOF
18500 /* confdefs.h. */
18501 _ACEOF
18502 cat confdefs.h >>conftest.$ac_ext
18503 cat >>conftest.$ac_ext <<_ACEOF
18504 /* end confdefs.h. */
18505 $ac_includes_default
18506 int
18507 main ()
18508 {
18509 if ((long long *) 0)
18510 return 0;
18511 if (sizeof (long long))
18512 return 0;
18513 ;
18514 return 0;
18515 }
18516 _ACEOF
18517 rm -f conftest.$ac_objext
18518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18519 (eval $ac_compile) 2>conftest.er1
18520 ac_status=$?
18521 grep -v '^ *+' conftest.er1 >conftest.err
18522 rm -f conftest.er1
18523 cat conftest.err >&5
18524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18525 (exit $ac_status); } &&
18526 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18528 (eval $ac_try) 2>&5
18529 ac_status=$?
18530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18531 (exit $ac_status); }; } &&
18532 { ac_try='test -s conftest.$ac_objext'
18533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18534 (eval $ac_try) 2>&5
18535 ac_status=$?
18536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18537 (exit $ac_status); }; }; then
18538 ac_cv_type_long_long=yes
18539 else
18540 echo "$as_me: failed program was:" >&5
18541 sed 's/^/| /' conftest.$ac_ext >&5
18542
18543 ac_cv_type_long_long=no
18544 fi
18545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18546 fi
18547 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18548 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18549
18550 echo "$as_me:$LINENO: checking size of long long" >&5
18551 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18552 if test "${ac_cv_sizeof_long_long+set}" = set; then
18553 echo $ECHO_N "(cached) $ECHO_C" >&6
18554 else
18555 if test "$ac_cv_type_long_long" = yes; then
18556 # The cast to unsigned long works around a bug in the HP C Compiler
18557 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18558 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18559 # This bug is HP SR number 8606223364.
18560 if test "$cross_compiling" = yes; then
18561 # Depending upon the size, compute the lo and hi bounds.
18562 cat >conftest.$ac_ext <<_ACEOF
18563 /* confdefs.h. */
18564 _ACEOF
18565 cat confdefs.h >>conftest.$ac_ext
18566 cat >>conftest.$ac_ext <<_ACEOF
18567 /* end confdefs.h. */
18568 $ac_includes_default
18569 int
18570 main ()
18571 {
18572 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18573 test_array [0] = 0
18574
18575 ;
18576 return 0;
18577 }
18578 _ACEOF
18579 rm -f conftest.$ac_objext
18580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18581 (eval $ac_compile) 2>conftest.er1
18582 ac_status=$?
18583 grep -v '^ *+' conftest.er1 >conftest.err
18584 rm -f conftest.er1
18585 cat conftest.err >&5
18586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18587 (exit $ac_status); } &&
18588 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18590 (eval $ac_try) 2>&5
18591 ac_status=$?
18592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18593 (exit $ac_status); }; } &&
18594 { ac_try='test -s conftest.$ac_objext'
18595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18596 (eval $ac_try) 2>&5
18597 ac_status=$?
18598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18599 (exit $ac_status); }; }; then
18600 ac_lo=0 ac_mid=0
18601 while :; do
18602 cat >conftest.$ac_ext <<_ACEOF
18603 /* confdefs.h. */
18604 _ACEOF
18605 cat confdefs.h >>conftest.$ac_ext
18606 cat >>conftest.$ac_ext <<_ACEOF
18607 /* end confdefs.h. */
18608 $ac_includes_default
18609 int
18610 main ()
18611 {
18612 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18613 test_array [0] = 0
18614
18615 ;
18616 return 0;
18617 }
18618 _ACEOF
18619 rm -f conftest.$ac_objext
18620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18621 (eval $ac_compile) 2>conftest.er1
18622 ac_status=$?
18623 grep -v '^ *+' conftest.er1 >conftest.err
18624 rm -f conftest.er1
18625 cat conftest.err >&5
18626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18627 (exit $ac_status); } &&
18628 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18630 (eval $ac_try) 2>&5
18631 ac_status=$?
18632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18633 (exit $ac_status); }; } &&
18634 { ac_try='test -s conftest.$ac_objext'
18635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18636 (eval $ac_try) 2>&5
18637 ac_status=$?
18638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18639 (exit $ac_status); }; }; then
18640 ac_hi=$ac_mid; break
18641 else
18642 echo "$as_me: failed program was:" >&5
18643 sed 's/^/| /' conftest.$ac_ext >&5
18644
18645 ac_lo=`expr $ac_mid + 1`
18646 if test $ac_lo -le $ac_mid; then
18647 ac_lo= ac_hi=
18648 break
18649 fi
18650 ac_mid=`expr 2 '*' $ac_mid + 1`
18651 fi
18652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18653 done
18654 else
18655 echo "$as_me: failed program was:" >&5
18656 sed 's/^/| /' conftest.$ac_ext >&5
18657
18658 cat >conftest.$ac_ext <<_ACEOF
18659 /* confdefs.h. */
18660 _ACEOF
18661 cat confdefs.h >>conftest.$ac_ext
18662 cat >>conftest.$ac_ext <<_ACEOF
18663 /* end confdefs.h. */
18664 $ac_includes_default
18665 int
18666 main ()
18667 {
18668 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18669 test_array [0] = 0
18670
18671 ;
18672 return 0;
18673 }
18674 _ACEOF
18675 rm -f conftest.$ac_objext
18676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18677 (eval $ac_compile) 2>conftest.er1
18678 ac_status=$?
18679 grep -v '^ *+' conftest.er1 >conftest.err
18680 rm -f conftest.er1
18681 cat conftest.err >&5
18682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18683 (exit $ac_status); } &&
18684 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18686 (eval $ac_try) 2>&5
18687 ac_status=$?
18688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18689 (exit $ac_status); }; } &&
18690 { ac_try='test -s conftest.$ac_objext'
18691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18692 (eval $ac_try) 2>&5
18693 ac_status=$?
18694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18695 (exit $ac_status); }; }; then
18696 ac_hi=-1 ac_mid=-1
18697 while :; do
18698 cat >conftest.$ac_ext <<_ACEOF
18699 /* confdefs.h. */
18700 _ACEOF
18701 cat confdefs.h >>conftest.$ac_ext
18702 cat >>conftest.$ac_ext <<_ACEOF
18703 /* end confdefs.h. */
18704 $ac_includes_default
18705 int
18706 main ()
18707 {
18708 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18709 test_array [0] = 0
18710
18711 ;
18712 return 0;
18713 }
18714 _ACEOF
18715 rm -f conftest.$ac_objext
18716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18717 (eval $ac_compile) 2>conftest.er1
18718 ac_status=$?
18719 grep -v '^ *+' conftest.er1 >conftest.err
18720 rm -f conftest.er1
18721 cat conftest.err >&5
18722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18723 (exit $ac_status); } &&
18724 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18726 (eval $ac_try) 2>&5
18727 ac_status=$?
18728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18729 (exit $ac_status); }; } &&
18730 { ac_try='test -s conftest.$ac_objext'
18731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18732 (eval $ac_try) 2>&5
18733 ac_status=$?
18734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18735 (exit $ac_status); }; }; then
18736 ac_lo=$ac_mid; break
18737 else
18738 echo "$as_me: failed program was:" >&5
18739 sed 's/^/| /' conftest.$ac_ext >&5
18740
18741 ac_hi=`expr '(' $ac_mid ')' - 1`
18742 if test $ac_mid -le $ac_hi; then
18743 ac_lo= ac_hi=
18744 break
18745 fi
18746 ac_mid=`expr 2 '*' $ac_mid`
18747 fi
18748 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18749 done
18750 else
18751 echo "$as_me: failed program was:" >&5
18752 sed 's/^/| /' conftest.$ac_ext >&5
18753
18754 ac_lo= ac_hi=
18755 fi
18756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18757 fi
18758 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18759 # Binary search between lo and hi bounds.
18760 while test "x$ac_lo" != "x$ac_hi"; do
18761 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18762 cat >conftest.$ac_ext <<_ACEOF
18763 /* confdefs.h. */
18764 _ACEOF
18765 cat confdefs.h >>conftest.$ac_ext
18766 cat >>conftest.$ac_ext <<_ACEOF
18767 /* end confdefs.h. */
18768 $ac_includes_default
18769 int
18770 main ()
18771 {
18772 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18773 test_array [0] = 0
18774
18775 ;
18776 return 0;
18777 }
18778 _ACEOF
18779 rm -f conftest.$ac_objext
18780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18781 (eval $ac_compile) 2>conftest.er1
18782 ac_status=$?
18783 grep -v '^ *+' conftest.er1 >conftest.err
18784 rm -f conftest.er1
18785 cat conftest.err >&5
18786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18787 (exit $ac_status); } &&
18788 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18790 (eval $ac_try) 2>&5
18791 ac_status=$?
18792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18793 (exit $ac_status); }; } &&
18794 { ac_try='test -s conftest.$ac_objext'
18795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18796 (eval $ac_try) 2>&5
18797 ac_status=$?
18798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18799 (exit $ac_status); }; }; then
18800 ac_hi=$ac_mid
18801 else
18802 echo "$as_me: failed program was:" >&5
18803 sed 's/^/| /' conftest.$ac_ext >&5
18804
18805 ac_lo=`expr '(' $ac_mid ')' + 1`
18806 fi
18807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18808 done
18809 case $ac_lo in
18810 ?*) ac_cv_sizeof_long_long=$ac_lo;;
18811 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18812 See \`config.log' for more details." >&5
18813 echo "$as_me: error: cannot compute sizeof (long long), 77
18814 See \`config.log' for more details." >&2;}
18815 { (exit 1); exit 1; }; } ;;
18816 esac
18817 else
18818 if test "$cross_compiling" = yes; then
18819 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18820 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18821 { (exit 1); exit 1; }; }
18822 else
18823 cat >conftest.$ac_ext <<_ACEOF
18824 /* confdefs.h. */
18825 _ACEOF
18826 cat confdefs.h >>conftest.$ac_ext
18827 cat >>conftest.$ac_ext <<_ACEOF
18828 /* end confdefs.h. */
18829 $ac_includes_default
18830 long longval () { return (long) (sizeof (long long)); }
18831 unsigned long ulongval () { return (long) (sizeof (long long)); }
18832 #include <stdio.h>
18833 #include <stdlib.h>
18834 int
18835 main ()
18836 {
18837
18838 FILE *f = fopen ("conftest.val", "w");
18839 if (! f)
18840 exit (1);
18841 if (((long) (sizeof (long long))) < 0)
18842 {
18843 long i = longval ();
18844 if (i != ((long) (sizeof (long long))))
18845 exit (1);
18846 fprintf (f, "%ld\n", i);
18847 }
18848 else
18849 {
18850 unsigned long i = ulongval ();
18851 if (i != ((long) (sizeof (long long))))
18852 exit (1);
18853 fprintf (f, "%lu\n", i);
18854 }
18855 exit (ferror (f) || fclose (f) != 0);
18856
18857 ;
18858 return 0;
18859 }
18860 _ACEOF
18861 rm -f conftest$ac_exeext
18862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18863 (eval $ac_link) 2>&5
18864 ac_status=$?
18865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18866 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18868 (eval $ac_try) 2>&5
18869 ac_status=$?
18870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18871 (exit $ac_status); }; }; then
18872 ac_cv_sizeof_long_long=`cat conftest.val`
18873 else
18874 echo "$as_me: program exited with status $ac_status" >&5
18875 echo "$as_me: failed program was:" >&5
18876 sed 's/^/| /' conftest.$ac_ext >&5
18877
18878 ( exit $ac_status )
18879 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18880 See \`config.log' for more details." >&5
18881 echo "$as_me: error: cannot compute sizeof (long long), 77
18882 See \`config.log' for more details." >&2;}
18883 { (exit 1); exit 1; }; }
18884 fi
18885 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18886 fi
18887 fi
18888 rm -f conftest.val
18889 else
18890 ac_cv_sizeof_long_long=0
18891 fi
18892 fi
18893 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18894 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18895 cat >>confdefs.h <<_ACEOF
18896 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18897 _ACEOF
18898
18899
18900 if test "$ac_cv_sizeof_long_long" != "0"; then
18901 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
18902 fi
18903 ;;
18904 * )
18905 echo "$as_me:$LINENO: checking for long long" >&5
18906 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18907 if test "${ac_cv_type_long_long+set}" = set; then
18908 echo $ECHO_N "(cached) $ECHO_C" >&6
18909 else
18910 cat >conftest.$ac_ext <<_ACEOF
18911 /* confdefs.h. */
18912 _ACEOF
18913 cat confdefs.h >>conftest.$ac_ext
18914 cat >>conftest.$ac_ext <<_ACEOF
18915 /* end confdefs.h. */
18916 $ac_includes_default
18917 int
18918 main ()
18919 {
18920 if ((long long *) 0)
18921 return 0;
18922 if (sizeof (long long))
18923 return 0;
18924 ;
18925 return 0;
18926 }
18927 _ACEOF
18928 rm -f conftest.$ac_objext
18929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18930 (eval $ac_compile) 2>conftest.er1
18931 ac_status=$?
18932 grep -v '^ *+' conftest.er1 >conftest.err
18933 rm -f conftest.er1
18934 cat conftest.err >&5
18935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18936 (exit $ac_status); } &&
18937 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18939 (eval $ac_try) 2>&5
18940 ac_status=$?
18941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18942 (exit $ac_status); }; } &&
18943 { ac_try='test -s conftest.$ac_objext'
18944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18945 (eval $ac_try) 2>&5
18946 ac_status=$?
18947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18948 (exit $ac_status); }; }; then
18949 ac_cv_type_long_long=yes
18950 else
18951 echo "$as_me: failed program was:" >&5
18952 sed 's/^/| /' conftest.$ac_ext >&5
18953
18954 ac_cv_type_long_long=no
18955 fi
18956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18957 fi
18958 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18959 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18960
18961 echo "$as_me:$LINENO: checking size of long long" >&5
18962 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18963 if test "${ac_cv_sizeof_long_long+set}" = set; then
18964 echo $ECHO_N "(cached) $ECHO_C" >&6
18965 else
18966 if test "$ac_cv_type_long_long" = yes; then
18967 # The cast to unsigned long works around a bug in the HP C Compiler
18968 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18969 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18970 # This bug is HP SR number 8606223364.
18971 if test "$cross_compiling" = yes; then
18972 # Depending upon the size, compute the lo and hi bounds.
18973 cat >conftest.$ac_ext <<_ACEOF
18974 /* confdefs.h. */
18975 _ACEOF
18976 cat confdefs.h >>conftest.$ac_ext
18977 cat >>conftest.$ac_ext <<_ACEOF
18978 /* end confdefs.h. */
18979 $ac_includes_default
18980 int
18981 main ()
18982 {
18983 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18984 test_array [0] = 0
18985
18986 ;
18987 return 0;
18988 }
18989 _ACEOF
18990 rm -f conftest.$ac_objext
18991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18992 (eval $ac_compile) 2>conftest.er1
18993 ac_status=$?
18994 grep -v '^ *+' conftest.er1 >conftest.err
18995 rm -f conftest.er1
18996 cat conftest.err >&5
18997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18998 (exit $ac_status); } &&
18999 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19001 (eval $ac_try) 2>&5
19002 ac_status=$?
19003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19004 (exit $ac_status); }; } &&
19005 { ac_try='test -s conftest.$ac_objext'
19006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19007 (eval $ac_try) 2>&5
19008 ac_status=$?
19009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19010 (exit $ac_status); }; }; then
19011 ac_lo=0 ac_mid=0
19012 while :; do
19013 cat >conftest.$ac_ext <<_ACEOF
19014 /* confdefs.h. */
19015 _ACEOF
19016 cat confdefs.h >>conftest.$ac_ext
19017 cat >>conftest.$ac_ext <<_ACEOF
19018 /* end confdefs.h. */
19019 $ac_includes_default
19020 int
19021 main ()
19022 {
19023 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19024 test_array [0] = 0
19025
19026 ;
19027 return 0;
19028 }
19029 _ACEOF
19030 rm -f conftest.$ac_objext
19031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19032 (eval $ac_compile) 2>conftest.er1
19033 ac_status=$?
19034 grep -v '^ *+' conftest.er1 >conftest.err
19035 rm -f conftest.er1
19036 cat conftest.err >&5
19037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19038 (exit $ac_status); } &&
19039 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19041 (eval $ac_try) 2>&5
19042 ac_status=$?
19043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19044 (exit $ac_status); }; } &&
19045 { ac_try='test -s conftest.$ac_objext'
19046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19047 (eval $ac_try) 2>&5
19048 ac_status=$?
19049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19050 (exit $ac_status); }; }; then
19051 ac_hi=$ac_mid; break
19052 else
19053 echo "$as_me: failed program was:" >&5
19054 sed 's/^/| /' conftest.$ac_ext >&5
19055
19056 ac_lo=`expr $ac_mid + 1`
19057 if test $ac_lo -le $ac_mid; then
19058 ac_lo= ac_hi=
19059 break
19060 fi
19061 ac_mid=`expr 2 '*' $ac_mid + 1`
19062 fi
19063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19064 done
19065 else
19066 echo "$as_me: failed program was:" >&5
19067 sed 's/^/| /' conftest.$ac_ext >&5
19068
19069 cat >conftest.$ac_ext <<_ACEOF
19070 /* confdefs.h. */
19071 _ACEOF
19072 cat confdefs.h >>conftest.$ac_ext
19073 cat >>conftest.$ac_ext <<_ACEOF
19074 /* end confdefs.h. */
19075 $ac_includes_default
19076 int
19077 main ()
19078 {
19079 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19080 test_array [0] = 0
19081
19082 ;
19083 return 0;
19084 }
19085 _ACEOF
19086 rm -f conftest.$ac_objext
19087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19088 (eval $ac_compile) 2>conftest.er1
19089 ac_status=$?
19090 grep -v '^ *+' conftest.er1 >conftest.err
19091 rm -f conftest.er1
19092 cat conftest.err >&5
19093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19094 (exit $ac_status); } &&
19095 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19097 (eval $ac_try) 2>&5
19098 ac_status=$?
19099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19100 (exit $ac_status); }; } &&
19101 { ac_try='test -s conftest.$ac_objext'
19102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19103 (eval $ac_try) 2>&5
19104 ac_status=$?
19105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19106 (exit $ac_status); }; }; then
19107 ac_hi=-1 ac_mid=-1
19108 while :; do
19109 cat >conftest.$ac_ext <<_ACEOF
19110 /* confdefs.h. */
19111 _ACEOF
19112 cat confdefs.h >>conftest.$ac_ext
19113 cat >>conftest.$ac_ext <<_ACEOF
19114 /* end confdefs.h. */
19115 $ac_includes_default
19116 int
19117 main ()
19118 {
19119 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19120 test_array [0] = 0
19121
19122 ;
19123 return 0;
19124 }
19125 _ACEOF
19126 rm -f conftest.$ac_objext
19127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19128 (eval $ac_compile) 2>conftest.er1
19129 ac_status=$?
19130 grep -v '^ *+' conftest.er1 >conftest.err
19131 rm -f conftest.er1
19132 cat conftest.err >&5
19133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19134 (exit $ac_status); } &&
19135 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19137 (eval $ac_try) 2>&5
19138 ac_status=$?
19139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19140 (exit $ac_status); }; } &&
19141 { ac_try='test -s conftest.$ac_objext'
19142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19143 (eval $ac_try) 2>&5
19144 ac_status=$?
19145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19146 (exit $ac_status); }; }; then
19147 ac_lo=$ac_mid; break
19148 else
19149 echo "$as_me: failed program was:" >&5
19150 sed 's/^/| /' conftest.$ac_ext >&5
19151
19152 ac_hi=`expr '(' $ac_mid ')' - 1`
19153 if test $ac_mid -le $ac_hi; then
19154 ac_lo= ac_hi=
19155 break
19156 fi
19157 ac_mid=`expr 2 '*' $ac_mid`
19158 fi
19159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19160 done
19161 else
19162 echo "$as_me: failed program was:" >&5
19163 sed 's/^/| /' conftest.$ac_ext >&5
19164
19165 ac_lo= ac_hi=
19166 fi
19167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19168 fi
19169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19170 # Binary search between lo and hi bounds.
19171 while test "x$ac_lo" != "x$ac_hi"; do
19172 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19173 cat >conftest.$ac_ext <<_ACEOF
19174 /* confdefs.h. */
19175 _ACEOF
19176 cat confdefs.h >>conftest.$ac_ext
19177 cat >>conftest.$ac_ext <<_ACEOF
19178 /* end confdefs.h. */
19179 $ac_includes_default
19180 int
19181 main ()
19182 {
19183 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19184 test_array [0] = 0
19185
19186 ;
19187 return 0;
19188 }
19189 _ACEOF
19190 rm -f conftest.$ac_objext
19191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19192 (eval $ac_compile) 2>conftest.er1
19193 ac_status=$?
19194 grep -v '^ *+' conftest.er1 >conftest.err
19195 rm -f conftest.er1
19196 cat conftest.err >&5
19197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19198 (exit $ac_status); } &&
19199 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19201 (eval $ac_try) 2>&5
19202 ac_status=$?
19203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19204 (exit $ac_status); }; } &&
19205 { ac_try='test -s conftest.$ac_objext'
19206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19207 (eval $ac_try) 2>&5
19208 ac_status=$?
19209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19210 (exit $ac_status); }; }; then
19211 ac_hi=$ac_mid
19212 else
19213 echo "$as_me: failed program was:" >&5
19214 sed 's/^/| /' conftest.$ac_ext >&5
19215
19216 ac_lo=`expr '(' $ac_mid ')' + 1`
19217 fi
19218 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19219 done
19220 case $ac_lo in
19221 ?*) ac_cv_sizeof_long_long=$ac_lo;;
19222 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19223 See \`config.log' for more details." >&5
19224 echo "$as_me: error: cannot compute sizeof (long long), 77
19225 See \`config.log' for more details." >&2;}
19226 { (exit 1); exit 1; }; } ;;
19227 esac
19228 else
19229 if test "$cross_compiling" = yes; then
19230 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19231 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19232 { (exit 1); exit 1; }; }
19233 else
19234 cat >conftest.$ac_ext <<_ACEOF
19235 /* confdefs.h. */
19236 _ACEOF
19237 cat confdefs.h >>conftest.$ac_ext
19238 cat >>conftest.$ac_ext <<_ACEOF
19239 /* end confdefs.h. */
19240 $ac_includes_default
19241 long longval () { return (long) (sizeof (long long)); }
19242 unsigned long ulongval () { return (long) (sizeof (long long)); }
19243 #include <stdio.h>
19244 #include <stdlib.h>
19245 int
19246 main ()
19247 {
19248
19249 FILE *f = fopen ("conftest.val", "w");
19250 if (! f)
19251 exit (1);
19252 if (((long) (sizeof (long long))) < 0)
19253 {
19254 long i = longval ();
19255 if (i != ((long) (sizeof (long long))))
19256 exit (1);
19257 fprintf (f, "%ld\n", i);
19258 }
19259 else
19260 {
19261 unsigned long i = ulongval ();
19262 if (i != ((long) (sizeof (long long))))
19263 exit (1);
19264 fprintf (f, "%lu\n", i);
19265 }
19266 exit (ferror (f) || fclose (f) != 0);
19267
19268 ;
19269 return 0;
19270 }
19271 _ACEOF
19272 rm -f conftest$ac_exeext
19273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19274 (eval $ac_link) 2>&5
19275 ac_status=$?
19276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19277 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19279 (eval $ac_try) 2>&5
19280 ac_status=$?
19281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19282 (exit $ac_status); }; }; then
19283 ac_cv_sizeof_long_long=`cat conftest.val`
19284 else
19285 echo "$as_me: program exited with status $ac_status" >&5
19286 echo "$as_me: failed program was:" >&5
19287 sed 's/^/| /' conftest.$ac_ext >&5
19288
19289 ( exit $ac_status )
19290 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19291 See \`config.log' for more details." >&5
19292 echo "$as_me: error: cannot compute sizeof (long long), 77
19293 See \`config.log' for more details." >&2;}
19294 { (exit 1); exit 1; }; }
19295 fi
19296 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19297 fi
19298 fi
19299 rm -f conftest.val
19300 else
19301 ac_cv_sizeof_long_long=0
19302 fi
19303 fi
19304 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19305 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19306 cat >>confdefs.h <<_ACEOF
19307 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19308 _ACEOF
19309
19310
19311 esac
19312
19313 echo "$as_me:$LINENO: checking for wchar_t" >&5
19314 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
19315 if test "${ac_cv_type_wchar_t+set}" = set; then
19316 echo $ECHO_N "(cached) $ECHO_C" >&6
19317 else
19318 cat >conftest.$ac_ext <<_ACEOF
19319 /* confdefs.h. */
19320 _ACEOF
19321 cat confdefs.h >>conftest.$ac_ext
19322 cat >>conftest.$ac_ext <<_ACEOF
19323 /* end confdefs.h. */
19324
19325 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19326 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19327 # error "fake wchar_t"
19328 #endif
19329 #ifdef HAVE_WCHAR_H
19330 # ifdef __CYGWIN__
19331 # include <stddef.h>
19332 # endif
19333 # include <wchar.h>
19334 #endif
19335 #ifdef HAVE_STDLIB_H
19336 # include <stdlib.h>
19337 #endif
19338 #include <stdio.h>
19339
19340
19341
19342 int
19343 main ()
19344 {
19345 if ((wchar_t *) 0)
19346 return 0;
19347 if (sizeof (wchar_t))
19348 return 0;
19349 ;
19350 return 0;
19351 }
19352 _ACEOF
19353 rm -f conftest.$ac_objext
19354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19355 (eval $ac_compile) 2>conftest.er1
19356 ac_status=$?
19357 grep -v '^ *+' conftest.er1 >conftest.err
19358 rm -f conftest.er1
19359 cat conftest.err >&5
19360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19361 (exit $ac_status); } &&
19362 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19364 (eval $ac_try) 2>&5
19365 ac_status=$?
19366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19367 (exit $ac_status); }; } &&
19368 { ac_try='test -s conftest.$ac_objext'
19369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19370 (eval $ac_try) 2>&5
19371 ac_status=$?
19372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19373 (exit $ac_status); }; }; then
19374 ac_cv_type_wchar_t=yes
19375 else
19376 echo "$as_me: failed program was:" >&5
19377 sed 's/^/| /' conftest.$ac_ext >&5
19378
19379 ac_cv_type_wchar_t=no
19380 fi
19381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19382 fi
19383 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
19384 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
19385
19386 echo "$as_me:$LINENO: checking size of wchar_t" >&5
19387 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
19388 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
19389 echo $ECHO_N "(cached) $ECHO_C" >&6
19390 else
19391 if test "$ac_cv_type_wchar_t" = yes; then
19392 # The cast to unsigned long works around a bug in the HP C Compiler
19393 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19394 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19395 # This bug is HP SR number 8606223364.
19396 if test "$cross_compiling" = yes; then
19397 # Depending upon the size, compute the lo and hi bounds.
19398 cat >conftest.$ac_ext <<_ACEOF
19399 /* confdefs.h. */
19400 _ACEOF
19401 cat confdefs.h >>conftest.$ac_ext
19402 cat >>conftest.$ac_ext <<_ACEOF
19403 /* end confdefs.h. */
19404
19405 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19406 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19407 # error "fake wchar_t"
19408 #endif
19409 #ifdef HAVE_WCHAR_H
19410 # ifdef __CYGWIN__
19411 # include <stddef.h>
19412 # endif
19413 # include <wchar.h>
19414 #endif
19415 #ifdef HAVE_STDLIB_H
19416 # include <stdlib.h>
19417 #endif
19418 #include <stdio.h>
19419
19420
19421
19422 int
19423 main ()
19424 {
19425 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
19426 test_array [0] = 0
19427
19428 ;
19429 return 0;
19430 }
19431 _ACEOF
19432 rm -f conftest.$ac_objext
19433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19434 (eval $ac_compile) 2>conftest.er1
19435 ac_status=$?
19436 grep -v '^ *+' conftest.er1 >conftest.err
19437 rm -f conftest.er1
19438 cat conftest.err >&5
19439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19440 (exit $ac_status); } &&
19441 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19443 (eval $ac_try) 2>&5
19444 ac_status=$?
19445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19446 (exit $ac_status); }; } &&
19447 { ac_try='test -s conftest.$ac_objext'
19448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19449 (eval $ac_try) 2>&5
19450 ac_status=$?
19451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19452 (exit $ac_status); }; }; then
19453 ac_lo=0 ac_mid=0
19454 while :; do
19455 cat >conftest.$ac_ext <<_ACEOF
19456 /* confdefs.h. */
19457 _ACEOF
19458 cat confdefs.h >>conftest.$ac_ext
19459 cat >>conftest.$ac_ext <<_ACEOF
19460 /* end confdefs.h. */
19461
19462 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19463 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19464 # error "fake wchar_t"
19465 #endif
19466 #ifdef HAVE_WCHAR_H
19467 # ifdef __CYGWIN__
19468 # include <stddef.h>
19469 # endif
19470 # include <wchar.h>
19471 #endif
19472 #ifdef HAVE_STDLIB_H
19473 # include <stdlib.h>
19474 #endif
19475 #include <stdio.h>
19476
19477
19478
19479 int
19480 main ()
19481 {
19482 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19483 test_array [0] = 0
19484
19485 ;
19486 return 0;
19487 }
19488 _ACEOF
19489 rm -f conftest.$ac_objext
19490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19491 (eval $ac_compile) 2>conftest.er1
19492 ac_status=$?
19493 grep -v '^ *+' conftest.er1 >conftest.err
19494 rm -f conftest.er1
19495 cat conftest.err >&5
19496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19497 (exit $ac_status); } &&
19498 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19500 (eval $ac_try) 2>&5
19501 ac_status=$?
19502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19503 (exit $ac_status); }; } &&
19504 { ac_try='test -s conftest.$ac_objext'
19505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19506 (eval $ac_try) 2>&5
19507 ac_status=$?
19508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19509 (exit $ac_status); }; }; then
19510 ac_hi=$ac_mid; break
19511 else
19512 echo "$as_me: failed program was:" >&5
19513 sed 's/^/| /' conftest.$ac_ext >&5
19514
19515 ac_lo=`expr $ac_mid + 1`
19516 if test $ac_lo -le $ac_mid; then
19517 ac_lo= ac_hi=
19518 break
19519 fi
19520 ac_mid=`expr 2 '*' $ac_mid + 1`
19521 fi
19522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19523 done
19524 else
19525 echo "$as_me: failed program was:" >&5
19526 sed 's/^/| /' conftest.$ac_ext >&5
19527
19528 cat >conftest.$ac_ext <<_ACEOF
19529 /* confdefs.h. */
19530 _ACEOF
19531 cat confdefs.h >>conftest.$ac_ext
19532 cat >>conftest.$ac_ext <<_ACEOF
19533 /* end confdefs.h. */
19534
19535 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19536 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19537 # error "fake wchar_t"
19538 #endif
19539 #ifdef HAVE_WCHAR_H
19540 # ifdef __CYGWIN__
19541 # include <stddef.h>
19542 # endif
19543 # include <wchar.h>
19544 #endif
19545 #ifdef HAVE_STDLIB_H
19546 # include <stdlib.h>
19547 #endif
19548 #include <stdio.h>
19549
19550
19551
19552 int
19553 main ()
19554 {
19555 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
19556 test_array [0] = 0
19557
19558 ;
19559 return 0;
19560 }
19561 _ACEOF
19562 rm -f conftest.$ac_objext
19563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19564 (eval $ac_compile) 2>conftest.er1
19565 ac_status=$?
19566 grep -v '^ *+' conftest.er1 >conftest.err
19567 rm -f conftest.er1
19568 cat conftest.err >&5
19569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19570 (exit $ac_status); } &&
19571 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19573 (eval $ac_try) 2>&5
19574 ac_status=$?
19575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19576 (exit $ac_status); }; } &&
19577 { ac_try='test -s conftest.$ac_objext'
19578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19579 (eval $ac_try) 2>&5
19580 ac_status=$?
19581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19582 (exit $ac_status); }; }; then
19583 ac_hi=-1 ac_mid=-1
19584 while :; do
19585 cat >conftest.$ac_ext <<_ACEOF
19586 /* confdefs.h. */
19587 _ACEOF
19588 cat confdefs.h >>conftest.$ac_ext
19589 cat >>conftest.$ac_ext <<_ACEOF
19590 /* end confdefs.h. */
19591
19592 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19593 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19594 # error "fake wchar_t"
19595 #endif
19596 #ifdef HAVE_WCHAR_H
19597 # ifdef __CYGWIN__
19598 # include <stddef.h>
19599 # endif
19600 # include <wchar.h>
19601 #endif
19602 #ifdef HAVE_STDLIB_H
19603 # include <stdlib.h>
19604 #endif
19605 #include <stdio.h>
19606
19607
19608
19609 int
19610 main ()
19611 {
19612 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
19613 test_array [0] = 0
19614
19615 ;
19616 return 0;
19617 }
19618 _ACEOF
19619 rm -f conftest.$ac_objext
19620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19621 (eval $ac_compile) 2>conftest.er1
19622 ac_status=$?
19623 grep -v '^ *+' conftest.er1 >conftest.err
19624 rm -f conftest.er1
19625 cat conftest.err >&5
19626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19627 (exit $ac_status); } &&
19628 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19630 (eval $ac_try) 2>&5
19631 ac_status=$?
19632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19633 (exit $ac_status); }; } &&
19634 { ac_try='test -s conftest.$ac_objext'
19635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19636 (eval $ac_try) 2>&5
19637 ac_status=$?
19638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19639 (exit $ac_status); }; }; then
19640 ac_lo=$ac_mid; break
19641 else
19642 echo "$as_me: failed program was:" >&5
19643 sed 's/^/| /' conftest.$ac_ext >&5
19644
19645 ac_hi=`expr '(' $ac_mid ')' - 1`
19646 if test $ac_mid -le $ac_hi; then
19647 ac_lo= ac_hi=
19648 break
19649 fi
19650 ac_mid=`expr 2 '*' $ac_mid`
19651 fi
19652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19653 done
19654 else
19655 echo "$as_me: failed program was:" >&5
19656 sed 's/^/| /' conftest.$ac_ext >&5
19657
19658 ac_lo= ac_hi=
19659 fi
19660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19661 fi
19662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19663 # Binary search between lo and hi bounds.
19664 while test "x$ac_lo" != "x$ac_hi"; do
19665 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19666 cat >conftest.$ac_ext <<_ACEOF
19667 /* confdefs.h. */
19668 _ACEOF
19669 cat confdefs.h >>conftest.$ac_ext
19670 cat >>conftest.$ac_ext <<_ACEOF
19671 /* end confdefs.h. */
19672
19673 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19674 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19675 # error "fake wchar_t"
19676 #endif
19677 #ifdef HAVE_WCHAR_H
19678 # ifdef __CYGWIN__
19679 # include <stddef.h>
19680 # endif
19681 # include <wchar.h>
19682 #endif
19683 #ifdef HAVE_STDLIB_H
19684 # include <stdlib.h>
19685 #endif
19686 #include <stdio.h>
19687
19688
19689
19690 int
19691 main ()
19692 {
19693 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19694 test_array [0] = 0
19695
19696 ;
19697 return 0;
19698 }
19699 _ACEOF
19700 rm -f conftest.$ac_objext
19701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19702 (eval $ac_compile) 2>conftest.er1
19703 ac_status=$?
19704 grep -v '^ *+' conftest.er1 >conftest.err
19705 rm -f conftest.er1
19706 cat conftest.err >&5
19707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19708 (exit $ac_status); } &&
19709 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19711 (eval $ac_try) 2>&5
19712 ac_status=$?
19713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19714 (exit $ac_status); }; } &&
19715 { ac_try='test -s conftest.$ac_objext'
19716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19717 (eval $ac_try) 2>&5
19718 ac_status=$?
19719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19720 (exit $ac_status); }; }; then
19721 ac_hi=$ac_mid
19722 else
19723 echo "$as_me: failed program was:" >&5
19724 sed 's/^/| /' conftest.$ac_ext >&5
19725
19726 ac_lo=`expr '(' $ac_mid ')' + 1`
19727 fi
19728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19729 done
19730 case $ac_lo in
19731 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
19732 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19733 See \`config.log' for more details." >&5
19734 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19735 See \`config.log' for more details." >&2;}
19736 { (exit 1); exit 1; }; } ;;
19737 esac
19738 else
19739 if test "$cross_compiling" = yes; then
19740 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19741 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19742 { (exit 1); exit 1; }; }
19743 else
19744 cat >conftest.$ac_ext <<_ACEOF
19745 /* confdefs.h. */
19746 _ACEOF
19747 cat confdefs.h >>conftest.$ac_ext
19748 cat >>conftest.$ac_ext <<_ACEOF
19749 /* end confdefs.h. */
19750
19751 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19752 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19753 # error "fake wchar_t"
19754 #endif
19755 #ifdef HAVE_WCHAR_H
19756 # ifdef __CYGWIN__
19757 # include <stddef.h>
19758 # endif
19759 # include <wchar.h>
19760 #endif
19761 #ifdef HAVE_STDLIB_H
19762 # include <stdlib.h>
19763 #endif
19764 #include <stdio.h>
19765
19766
19767
19768 long longval () { return (long) (sizeof (wchar_t)); }
19769 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
19770 #include <stdio.h>
19771 #include <stdlib.h>
19772 int
19773 main ()
19774 {
19775
19776 FILE *f = fopen ("conftest.val", "w");
19777 if (! f)
19778 exit (1);
19779 if (((long) (sizeof (wchar_t))) < 0)
19780 {
19781 long i = longval ();
19782 if (i != ((long) (sizeof (wchar_t))))
19783 exit (1);
19784 fprintf (f, "%ld\n", i);
19785 }
19786 else
19787 {
19788 unsigned long i = ulongval ();
19789 if (i != ((long) (sizeof (wchar_t))))
19790 exit (1);
19791 fprintf (f, "%lu\n", i);
19792 }
19793 exit (ferror (f) || fclose (f) != 0);
19794
19795 ;
19796 return 0;
19797 }
19798 _ACEOF
19799 rm -f conftest$ac_exeext
19800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19801 (eval $ac_link) 2>&5
19802 ac_status=$?
19803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19804 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19806 (eval $ac_try) 2>&5
19807 ac_status=$?
19808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19809 (exit $ac_status); }; }; then
19810 ac_cv_sizeof_wchar_t=`cat conftest.val`
19811 else
19812 echo "$as_me: program exited with status $ac_status" >&5
19813 echo "$as_me: failed program was:" >&5
19814 sed 's/^/| /' conftest.$ac_ext >&5
19815
19816 ( exit $ac_status )
19817 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19818 See \`config.log' for more details." >&5
19819 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19820 See \`config.log' for more details." >&2;}
19821 { (exit 1); exit 1; }; }
19822 fi
19823 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19824 fi
19825 fi
19826 rm -f conftest.val
19827 else
19828 ac_cv_sizeof_wchar_t=0
19829 fi
19830 fi
19831 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
19832 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
19833 cat >>confdefs.h <<_ACEOF
19834 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
19835 _ACEOF
19836
19837
19838 if test "$ac_cv_sizeof_wchar_t" != "0"; then
19839 wxUSE_WCHAR_T=yes
19840 else
19841 wxUSE_WCHAR_T=no
19842 fi
19843
19844 echo "$as_me:$LINENO: checking for va_copy" >&5
19845 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
19846 if test "${wx_cv_func_va_copy+set}" = set; then
19847 echo $ECHO_N "(cached) $ECHO_C" >&6
19848 else
19849
19850 cat >conftest.$ac_ext <<_ACEOF
19851
19852 #include <stdarg.h>
19853 void foo(char *f, ...)
19854 {
19855 va_list ap1, ap2;
19856 va_start(ap1, f);
19857 va_copy(ap2, ap1);
19858 va_end(ap2);
19859 va_end(ap1);
19860 }
19861 int main()
19862 {
19863 foo("hi", 17);
19864 return 0;
19865 }
19866 _ACEOF
19867 rm -f conftest.$ac_objext conftest$ac_exeext
19868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19869 (eval $ac_link) 2>conftest.er1
19870 ac_status=$?
19871 grep -v '^ *+' conftest.er1 >conftest.err
19872 rm -f conftest.er1
19873 cat conftest.err >&5
19874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19875 (exit $ac_status); } &&
19876 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19878 (eval $ac_try) 2>&5
19879 ac_status=$?
19880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19881 (exit $ac_status); }; } &&
19882 { ac_try='test -s conftest$ac_exeext'
19883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19884 (eval $ac_try) 2>&5
19885 ac_status=$?
19886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19887 (exit $ac_status); }; }; then
19888 wx_cv_func_va_copy=yes
19889 else
19890 echo "$as_me: failed program was:" >&5
19891 sed 's/^/| /' conftest.$ac_ext >&5
19892
19893 wx_cv_func_va_copy=no
19894
19895 fi
19896 rm -f conftest.err conftest.$ac_objext \
19897 conftest$ac_exeext conftest.$ac_ext
19898
19899
19900 fi
19901 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
19902 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
19903
19904 if test $wx_cv_func_va_copy = "yes"; then
19905 cat >>confdefs.h <<\_ACEOF
19906 #define HAVE_VA_COPY 1
19907 _ACEOF
19908
19909 else
19910 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
19911 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
19912 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
19913 echo $ECHO_N "(cached) $ECHO_C" >&6
19914 else
19915
19916 if test "$cross_compiling" = yes; then
19917 wx_cv_type_va_list_lvalue=yes
19918
19919 else
19920 cat >conftest.$ac_ext <<_ACEOF
19921
19922 #include <stdarg.h>
19923 int foo(char *f, ...)
19924 {
19925 va_list ap1, ap2;
19926 va_start(ap1, f);
19927 ap2 = ap1;
19928 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
19929 return 1;
19930 va_end(ap2);
19931 va_end(ap1);
19932 return 0;
19933 }
19934 int main()
19935 {
19936 return foo("hi", 17);
19937 }
19938 _ACEOF
19939 rm -f conftest$ac_exeext
19940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19941 (eval $ac_link) 2>&5
19942 ac_status=$?
19943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19944 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19946 (eval $ac_try) 2>&5
19947 ac_status=$?
19948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19949 (exit $ac_status); }; }; then
19950 wx_cv_type_va_list_lvalue=yes
19951 else
19952 echo "$as_me: program exited with status $ac_status" >&5
19953 echo "$as_me: failed program was:" >&5
19954 sed 's/^/| /' conftest.$ac_ext >&5
19955
19956 ( exit $ac_status )
19957 wx_cv_type_va_list_lvalue=no
19958 fi
19959 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19960 fi
19961
19962
19963 fi
19964 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
19965 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
19966
19967 if test $wx_cv_type_va_list_lvalue != "yes"; then
19968 cat >>confdefs.h <<\_ACEOF
19969 #define VA_LIST_IS_ARRAY 1
19970 _ACEOF
19971
19972 fi
19973 fi
19974
19975 # Check whether --enable-largefile or --disable-largefile was given.
19976 if test "${enable_largefile+set}" = set; then
19977 enableval="$enable_largefile"
19978
19979 fi;
19980 if test "$enable_largefile" != no; then
19981 wx_largefile=no
19982
19983 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
19984 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
19985 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
19986 echo $ECHO_N "(cached) $ECHO_C" >&6
19987 else
19988
19989 cat >conftest.$ac_ext <<_ACEOF
19990 /* confdefs.h. */
19991 _ACEOF
19992 cat confdefs.h >>conftest.$ac_ext
19993 cat >>conftest.$ac_ext <<_ACEOF
19994 /* end confdefs.h. */
19995 #define _FILE_OFFSET_BITS 64
19996 #include <sys/types.h>
19997 int
19998 main ()
19999 {
20000 typedef struct {
20001 unsigned int field: sizeof(off_t) == 8;
20002 } wxlf;
20003
20004 ;
20005 return 0;
20006 }
20007 _ACEOF
20008 rm -f conftest.$ac_objext
20009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20010 (eval $ac_compile) 2>conftest.er1
20011 ac_status=$?
20012 grep -v '^ *+' conftest.er1 >conftest.err
20013 rm -f conftest.er1
20014 cat conftest.err >&5
20015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20016 (exit $ac_status); } &&
20017 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20019 (eval $ac_try) 2>&5
20020 ac_status=$?
20021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20022 (exit $ac_status); }; } &&
20023 { ac_try='test -s conftest.$ac_objext'
20024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20025 (eval $ac_try) 2>&5
20026 ac_status=$?
20027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20028 (exit $ac_status); }; }; then
20029 ac_cv_sys_file_offset_bits=64
20030 else
20031 echo "$as_me: failed program was:" >&5
20032 sed 's/^/| /' conftest.$ac_ext >&5
20033
20034 ac_cv_sys_file_offset_bits=no
20035 fi
20036 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20037
20038
20039 fi
20040 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
20041 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
20042
20043 if test "$ac_cv_sys_file_offset_bits" != no; then
20044 wx_largefile=yes
20045 cat >>confdefs.h <<_ACEOF
20046 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
20047 _ACEOF
20048
20049 fi
20050
20051 if test "x$wx_largefile" != "xyes"; then
20052
20053 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
20054 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
20055 if test "${ac_cv_sys_large_files+set}" = set; then
20056 echo $ECHO_N "(cached) $ECHO_C" >&6
20057 else
20058
20059 cat >conftest.$ac_ext <<_ACEOF
20060 /* confdefs.h. */
20061 _ACEOF
20062 cat confdefs.h >>conftest.$ac_ext
20063 cat >>conftest.$ac_ext <<_ACEOF
20064 /* end confdefs.h. */
20065 #define _LARGE_FILES 1
20066 #include <sys/types.h>
20067 int
20068 main ()
20069 {
20070 typedef struct {
20071 unsigned int field: sizeof(off_t) == 8;
20072 } wxlf;
20073
20074 ;
20075 return 0;
20076 }
20077 _ACEOF
20078 rm -f conftest.$ac_objext
20079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20080 (eval $ac_compile) 2>conftest.er1
20081 ac_status=$?
20082 grep -v '^ *+' conftest.er1 >conftest.err
20083 rm -f conftest.er1
20084 cat conftest.err >&5
20085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20086 (exit $ac_status); } &&
20087 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20089 (eval $ac_try) 2>&5
20090 ac_status=$?
20091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20092 (exit $ac_status); }; } &&
20093 { ac_try='test -s conftest.$ac_objext'
20094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20095 (eval $ac_try) 2>&5
20096 ac_status=$?
20097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20098 (exit $ac_status); }; }; then
20099 ac_cv_sys_large_files=1
20100 else
20101 echo "$as_me: failed program was:" >&5
20102 sed 's/^/| /' conftest.$ac_ext >&5
20103
20104 ac_cv_sys_large_files=no
20105 fi
20106 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20107
20108
20109 fi
20110 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
20111 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
20112
20113 if test "$ac_cv_sys_large_files" != no; then
20114 wx_largefile=yes
20115 cat >>confdefs.h <<_ACEOF
20116 #define _LARGE_FILES $ac_cv_sys_large_files
20117 _ACEOF
20118
20119 fi
20120
20121 fi
20122
20123 echo "$as_me:$LINENO: checking if large file support is available" >&5
20124 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
20125 if test "x$wx_largefile" = "xyes"; then
20126 cat >>confdefs.h <<\_ACEOF
20127 #define HAVE_LARGEFILE_SUPPORT 1
20128 _ACEOF
20129
20130 fi
20131 echo "$as_me:$LINENO: result: $wx_largefile" >&5
20132 echo "${ECHO_T}$wx_largefile" >&6
20133 fi
20134
20135
20136 if test "x$wx_largefile" = "xyes"; then
20137 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
20138 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
20139 else
20140 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
20141 fi
20142 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20143 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
20144 if test "${ac_cv_sys_largefile_source+set}" = set; then
20145 echo $ECHO_N "(cached) $ECHO_C" >&6
20146 else
20147 while :; do
20148 ac_cv_sys_largefile_source=no
20149 cat >conftest.$ac_ext <<_ACEOF
20150 /* confdefs.h. */
20151 _ACEOF
20152 cat confdefs.h >>conftest.$ac_ext
20153 cat >>conftest.$ac_ext <<_ACEOF
20154 /* end confdefs.h. */
20155 #include <stdio.h>
20156 int
20157 main ()
20158 {
20159 return !fseeko;
20160 ;
20161 return 0;
20162 }
20163 _ACEOF
20164 rm -f conftest.$ac_objext
20165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20166 (eval $ac_compile) 2>conftest.er1
20167 ac_status=$?
20168 grep -v '^ *+' conftest.er1 >conftest.err
20169 rm -f conftest.er1
20170 cat conftest.err >&5
20171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20172 (exit $ac_status); } &&
20173 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20175 (eval $ac_try) 2>&5
20176 ac_status=$?
20177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20178 (exit $ac_status); }; } &&
20179 { ac_try='test -s conftest.$ac_objext'
20180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20181 (eval $ac_try) 2>&5
20182 ac_status=$?
20183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20184 (exit $ac_status); }; }; then
20185 break
20186 else
20187 echo "$as_me: failed program was:" >&5
20188 sed 's/^/| /' conftest.$ac_ext >&5
20189
20190 fi
20191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20192 cat >conftest.$ac_ext <<_ACEOF
20193 /* confdefs.h. */
20194 _ACEOF
20195 cat confdefs.h >>conftest.$ac_ext
20196 cat >>conftest.$ac_ext <<_ACEOF
20197 /* end confdefs.h. */
20198 #define _LARGEFILE_SOURCE 1
20199 #include <stdio.h>
20200 int
20201 main ()
20202 {
20203 return !fseeko;
20204 ;
20205 return 0;
20206 }
20207 _ACEOF
20208 rm -f conftest.$ac_objext
20209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20210 (eval $ac_compile) 2>conftest.er1
20211 ac_status=$?
20212 grep -v '^ *+' conftest.er1 >conftest.err
20213 rm -f conftest.er1
20214 cat conftest.err >&5
20215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20216 (exit $ac_status); } &&
20217 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20219 (eval $ac_try) 2>&5
20220 ac_status=$?
20221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20222 (exit $ac_status); }; } &&
20223 { ac_try='test -s conftest.$ac_objext'
20224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20225 (eval $ac_try) 2>&5
20226 ac_status=$?
20227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20228 (exit $ac_status); }; }; then
20229 ac_cv_sys_largefile_source=1; break
20230 else
20231 echo "$as_me: failed program was:" >&5
20232 sed 's/^/| /' conftest.$ac_ext >&5
20233
20234 fi
20235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20236 break
20237 done
20238 fi
20239 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
20240 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
20241 if test "$ac_cv_sys_largefile_source" != no; then
20242
20243 cat >>confdefs.h <<_ACEOF
20244 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
20245 _ACEOF
20246
20247 fi
20248 rm -f conftest*
20249
20250 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
20251 # in glibc 2.1.3, but that breaks too many other things.
20252 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
20253 echo "$as_me:$LINENO: checking for fseeko" >&5
20254 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
20255 if test "${ac_cv_func_fseeko+set}" = set; then
20256 echo $ECHO_N "(cached) $ECHO_C" >&6
20257 else
20258 cat >conftest.$ac_ext <<_ACEOF
20259 /* confdefs.h. */
20260 _ACEOF
20261 cat confdefs.h >>conftest.$ac_ext
20262 cat >>conftest.$ac_ext <<_ACEOF
20263 /* end confdefs.h. */
20264 #include <stdio.h>
20265 int
20266 main ()
20267 {
20268 return fseeko && fseeko (stdin, 0, 0);
20269 ;
20270 return 0;
20271 }
20272 _ACEOF
20273 rm -f conftest.$ac_objext conftest$ac_exeext
20274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20275 (eval $ac_link) 2>conftest.er1
20276 ac_status=$?
20277 grep -v '^ *+' conftest.er1 >conftest.err
20278 rm -f conftest.er1
20279 cat conftest.err >&5
20280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20281 (exit $ac_status); } &&
20282 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20284 (eval $ac_try) 2>&5
20285 ac_status=$?
20286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20287 (exit $ac_status); }; } &&
20288 { ac_try='test -s conftest$ac_exeext'
20289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20290 (eval $ac_try) 2>&5
20291 ac_status=$?
20292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20293 (exit $ac_status); }; }; then
20294 ac_cv_func_fseeko=yes
20295 else
20296 echo "$as_me: failed program was:" >&5
20297 sed 's/^/| /' conftest.$ac_ext >&5
20298
20299 ac_cv_func_fseeko=no
20300 fi
20301 rm -f conftest.err conftest.$ac_objext \
20302 conftest$ac_exeext conftest.$ac_ext
20303 fi
20304 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
20305 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
20306 if test $ac_cv_func_fseeko = yes; then
20307
20308 cat >>confdefs.h <<\_ACEOF
20309 #define HAVE_FSEEKO 1
20310 _ACEOF
20311
20312 fi
20313
20314 if test "$ac_cv_sys_largefile_source" != no; then
20315 WX_LARGEFILE_FLAGS="$WX_LARGEFILE_FLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
20316 fi
20317 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
20318 fi
20319
20320 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20321 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20322 if test "${ac_cv_c_bigendian+set}" = set; then
20323 echo $ECHO_N "(cached) $ECHO_C" >&6
20324 else
20325 ac_cv_c_bigendian=unknown
20326 # See if sys/param.h defines the BYTE_ORDER macro.
20327 cat >conftest.$ac_ext <<_ACEOF
20328 /* confdefs.h. */
20329 _ACEOF
20330 cat confdefs.h >>conftest.$ac_ext
20331 cat >>conftest.$ac_ext <<_ACEOF
20332 /* end confdefs.h. */
20333 #include <sys/types.h>
20334 #include <sys/param.h>
20335 int
20336 main ()
20337 {
20338
20339 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20340 bogus endian macros
20341 #endif
20342 ;
20343 return 0;
20344 }
20345 _ACEOF
20346 rm -f conftest.$ac_objext
20347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20348 (eval $ac_compile) 2>conftest.er1
20349 ac_status=$?
20350 grep -v '^ *+' conftest.er1 >conftest.err
20351 rm -f conftest.er1
20352 cat conftest.err >&5
20353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20354 (exit $ac_status); } &&
20355 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20357 (eval $ac_try) 2>&5
20358 ac_status=$?
20359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20360 (exit $ac_status); }; } &&
20361 { ac_try='test -s conftest.$ac_objext'
20362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20363 (eval $ac_try) 2>&5
20364 ac_status=$?
20365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20366 (exit $ac_status); }; }; then
20367 # It does; now see whether it defined to BIG_ENDIAN or not.
20368 cat >conftest.$ac_ext <<_ACEOF
20369 /* confdefs.h. */
20370 _ACEOF
20371 cat confdefs.h >>conftest.$ac_ext
20372 cat >>conftest.$ac_ext <<_ACEOF
20373 /* end confdefs.h. */
20374 #include <sys/types.h>
20375 #include <sys/param.h>
20376 int
20377 main ()
20378 {
20379
20380 #if BYTE_ORDER != BIG_ENDIAN
20381 not big endian
20382 #endif
20383 ;
20384 return 0;
20385 }
20386 _ACEOF
20387 rm -f conftest.$ac_objext
20388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20389 (eval $ac_compile) 2>conftest.er1
20390 ac_status=$?
20391 grep -v '^ *+' conftest.er1 >conftest.err
20392 rm -f conftest.er1
20393 cat conftest.err >&5
20394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20395 (exit $ac_status); } &&
20396 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20398 (eval $ac_try) 2>&5
20399 ac_status=$?
20400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20401 (exit $ac_status); }; } &&
20402 { ac_try='test -s conftest.$ac_objext'
20403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20404 (eval $ac_try) 2>&5
20405 ac_status=$?
20406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20407 (exit $ac_status); }; }; then
20408 ac_cv_c_bigendian=yes
20409 else
20410 echo "$as_me: failed program was:" >&5
20411 sed 's/^/| /' conftest.$ac_ext >&5
20412
20413 ac_cv_c_bigendian=no
20414 fi
20415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20416 else
20417 echo "$as_me: failed program was:" >&5
20418 sed 's/^/| /' conftest.$ac_ext >&5
20419
20420 fi
20421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20422 if test $ac_cv_c_bigendian = unknown; then
20423 if test "$cross_compiling" = yes; then
20424 ac_cv_c_bigendian=unknown
20425 else
20426 cat >conftest.$ac_ext <<_ACEOF
20427 /* confdefs.h. */
20428 _ACEOF
20429 cat confdefs.h >>conftest.$ac_ext
20430 cat >>conftest.$ac_ext <<_ACEOF
20431 /* end confdefs.h. */
20432 main () {
20433 /* Are we little or big endian? From Harbison&Steele. */
20434 union
20435 {
20436 long l;
20437 char c[sizeof (long)];
20438 } u;
20439 u.l = 1;
20440 exit (u.c[sizeof (long) - 1] == 1);
20441 }
20442 _ACEOF
20443 rm -f conftest$ac_exeext
20444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20445 (eval $ac_link) 2>&5
20446 ac_status=$?
20447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20448 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20450 (eval $ac_try) 2>&5
20451 ac_status=$?
20452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20453 (exit $ac_status); }; }; then
20454 ac_cv_c_bigendian=no
20455 else
20456 echo "$as_me: program exited with status $ac_status" >&5
20457 echo "$as_me: failed program was:" >&5
20458 sed 's/^/| /' conftest.$ac_ext >&5
20459
20460 ( exit $ac_status )
20461 ac_cv_c_bigendian=yes
20462 fi
20463 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20464 fi
20465 fi
20466 fi
20467 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20468 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20469 if test $ac_cv_c_bigendian = unknown; then
20470 { 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
20471 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;}
20472 fi
20473 if test $ac_cv_c_bigendian = yes; then
20474 cat >>confdefs.h <<\_ACEOF
20475 #define WORDS_BIGENDIAN 1
20476 _ACEOF
20477
20478 fi
20479
20480
20481 ac_ext=cc
20482 ac_cpp='$CXXCPP $CPPFLAGS'
20483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20486 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
20487 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
20488 if test -z "$CXXCPP"; then
20489 if test "${ac_cv_prog_CXXCPP+set}" = set; then
20490 echo $ECHO_N "(cached) $ECHO_C" >&6
20491 else
20492 # Double quotes because CXXCPP needs to be expanded
20493 for CXXCPP in "$CXX -E" "/lib/cpp"
20494 do
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 break
20590 fi
20591
20592 done
20593 ac_cv_prog_CXXCPP=$CXXCPP
20594
20595 fi
20596 CXXCPP=$ac_cv_prog_CXXCPP
20597 else
20598 ac_cv_prog_CXXCPP=$CXXCPP
20599 fi
20600 echo "$as_me:$LINENO: result: $CXXCPP" >&5
20601 echo "${ECHO_T}$CXXCPP" >&6
20602 ac_preproc_ok=false
20603 for ac_cxx_preproc_warn_flag in '' yes
20604 do
20605 # Use a header file that comes with gcc, so configuring glibc
20606 # with a fresh cross-compiler works.
20607 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20608 # <limits.h> exists even on freestanding compilers.
20609 # On the NeXT, cc -E runs the code through the compiler's parser,
20610 # not just through cpp. "Syntax error" is here to catch this case.
20611 cat >conftest.$ac_ext <<_ACEOF
20612 /* confdefs.h. */
20613 _ACEOF
20614 cat confdefs.h >>conftest.$ac_ext
20615 cat >>conftest.$ac_ext <<_ACEOF
20616 /* end confdefs.h. */
20617 #ifdef __STDC__
20618 # include <limits.h>
20619 #else
20620 # include <assert.h>
20621 #endif
20622 Syntax error
20623 _ACEOF
20624 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20625 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20626 ac_status=$?
20627 grep -v '^ *+' conftest.er1 >conftest.err
20628 rm -f conftest.er1
20629 cat conftest.err >&5
20630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20631 (exit $ac_status); } >/dev/null; then
20632 if test -s conftest.err; then
20633 ac_cpp_err=$ac_cxx_preproc_warn_flag
20634 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20635 else
20636 ac_cpp_err=
20637 fi
20638 else
20639 ac_cpp_err=yes
20640 fi
20641 if test -z "$ac_cpp_err"; then
20642 :
20643 else
20644 echo "$as_me: failed program was:" >&5
20645 sed 's/^/| /' conftest.$ac_ext >&5
20646
20647 # Broken: fails on valid input.
20648 continue
20649 fi
20650 rm -f conftest.err conftest.$ac_ext
20651
20652 # OK, works on sane cases. Now check whether non-existent headers
20653 # can be detected and how.
20654 cat >conftest.$ac_ext <<_ACEOF
20655 /* confdefs.h. */
20656 _ACEOF
20657 cat confdefs.h >>conftest.$ac_ext
20658 cat >>conftest.$ac_ext <<_ACEOF
20659 /* end confdefs.h. */
20660 #include <ac_nonexistent.h>
20661 _ACEOF
20662 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20663 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20664 ac_status=$?
20665 grep -v '^ *+' conftest.er1 >conftest.err
20666 rm -f conftest.er1
20667 cat conftest.err >&5
20668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20669 (exit $ac_status); } >/dev/null; then
20670 if test -s conftest.err; then
20671 ac_cpp_err=$ac_cxx_preproc_warn_flag
20672 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20673 else
20674 ac_cpp_err=
20675 fi
20676 else
20677 ac_cpp_err=yes
20678 fi
20679 if test -z "$ac_cpp_err"; then
20680 # Broken: success on invalid input.
20681 continue
20682 else
20683 echo "$as_me: failed program was:" >&5
20684 sed 's/^/| /' conftest.$ac_ext >&5
20685
20686 # Passes both tests.
20687 ac_preproc_ok=:
20688 break
20689 fi
20690 rm -f conftest.err conftest.$ac_ext
20691
20692 done
20693 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20694 rm -f conftest.err conftest.$ac_ext
20695 if $ac_preproc_ok; then
20696 :
20697 else
20698 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20699 See \`config.log' for more details." >&5
20700 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20701 See \`config.log' for more details." >&2;}
20702 { (exit 1); exit 1; }; }
20703 fi
20704
20705 ac_ext=cc
20706 ac_cpp='$CXXCPP $CPPFLAGS'
20707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20710
20711
20712
20713
20714
20715 ac_ext=cc
20716 ac_cpp='$CXXCPP $CPPFLAGS'
20717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20720
20721
20722
20723 for ac_header in iostream
20724 do
20725 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20726 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20727 echo "$as_me:$LINENO: checking for $ac_header" >&5
20728 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20729 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20730 echo $ECHO_N "(cached) $ECHO_C" >&6
20731 fi
20732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20733 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20734 else
20735 # Is the header compilable?
20736 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20737 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20738 cat >conftest.$ac_ext <<_ACEOF
20739 /* confdefs.h. */
20740 _ACEOF
20741 cat confdefs.h >>conftest.$ac_ext
20742 cat >>conftest.$ac_ext <<_ACEOF
20743 /* end confdefs.h. */
20744 $ac_includes_default
20745 #include <$ac_header>
20746 _ACEOF
20747 rm -f conftest.$ac_objext
20748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20749 (eval $ac_compile) 2>conftest.er1
20750 ac_status=$?
20751 grep -v '^ *+' conftest.er1 >conftest.err
20752 rm -f conftest.er1
20753 cat conftest.err >&5
20754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20755 (exit $ac_status); } &&
20756 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20758 (eval $ac_try) 2>&5
20759 ac_status=$?
20760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20761 (exit $ac_status); }; } &&
20762 { ac_try='test -s conftest.$ac_objext'
20763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20764 (eval $ac_try) 2>&5
20765 ac_status=$?
20766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20767 (exit $ac_status); }; }; then
20768 ac_header_compiler=yes
20769 else
20770 echo "$as_me: failed program was:" >&5
20771 sed 's/^/| /' conftest.$ac_ext >&5
20772
20773 ac_header_compiler=no
20774 fi
20775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20776 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20777 echo "${ECHO_T}$ac_header_compiler" >&6
20778
20779 # Is the header present?
20780 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20781 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20782 cat >conftest.$ac_ext <<_ACEOF
20783 /* confdefs.h. */
20784 _ACEOF
20785 cat confdefs.h >>conftest.$ac_ext
20786 cat >>conftest.$ac_ext <<_ACEOF
20787 /* end confdefs.h. */
20788 #include <$ac_header>
20789 _ACEOF
20790 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20791 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20792 ac_status=$?
20793 grep -v '^ *+' conftest.er1 >conftest.err
20794 rm -f conftest.er1
20795 cat conftest.err >&5
20796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20797 (exit $ac_status); } >/dev/null; then
20798 if test -s conftest.err; then
20799 ac_cpp_err=$ac_cxx_preproc_warn_flag
20800 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20801 else
20802 ac_cpp_err=
20803 fi
20804 else
20805 ac_cpp_err=yes
20806 fi
20807 if test -z "$ac_cpp_err"; then
20808 ac_header_preproc=yes
20809 else
20810 echo "$as_me: failed program was:" >&5
20811 sed 's/^/| /' conftest.$ac_ext >&5
20812
20813 ac_header_preproc=no
20814 fi
20815 rm -f conftest.err conftest.$ac_ext
20816 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20817 echo "${ECHO_T}$ac_header_preproc" >&6
20818
20819 # So? What about this header?
20820 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20821 yes:no: )
20822 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20823 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20824 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20825 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20826 ac_header_preproc=yes
20827 ;;
20828 no:yes:* )
20829 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20830 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20831 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20832 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20833 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20834 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20835 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20836 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20837 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20838 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20839 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20840 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20841 (
20842 cat <<\_ASBOX
20843 ## ----------------------------------------- ##
20844 ## Report this to wx-dev@lists.wxwidgets.org ##
20845 ## ----------------------------------------- ##
20846 _ASBOX
20847 ) |
20848 sed "s/^/$as_me: WARNING: /" >&2
20849 ;;
20850 esac
20851 echo "$as_me:$LINENO: checking for $ac_header" >&5
20852 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20853 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20854 echo $ECHO_N "(cached) $ECHO_C" >&6
20855 else
20856 eval "$as_ac_Header=\$ac_header_preproc"
20857 fi
20858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20859 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20860
20861 fi
20862 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20863 cat >>confdefs.h <<_ACEOF
20864 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20865 _ACEOF
20866
20867 fi
20868
20869 done
20870
20871
20872 if test "$ac_cv_header_iostream" = "yes" ; then
20873 :
20874 else
20875 cat >>confdefs.h <<\_ACEOF
20876 #define wxUSE_IOSTREAMH 1
20877 _ACEOF
20878
20879 fi
20880
20881 ac_ext=c
20882 ac_cpp='$CPP $CPPFLAGS'
20883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20886
20887
20888
20889
20890 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
20891 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
20892 if test "${wx_cv_cpp_bool+set}" = set; then
20893 echo $ECHO_N "(cached) $ECHO_C" >&6
20894 else
20895
20896
20897
20898 ac_ext=cc
20899 ac_cpp='$CXXCPP $CPPFLAGS'
20900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20903
20904
20905 cat >conftest.$ac_ext <<_ACEOF
20906 /* confdefs.h. */
20907 _ACEOF
20908 cat confdefs.h >>conftest.$ac_ext
20909 cat >>conftest.$ac_ext <<_ACEOF
20910 /* end confdefs.h. */
20911
20912
20913 int
20914 main ()
20915 {
20916
20917 bool b = true;
20918
20919 return 0;
20920
20921 ;
20922 return 0;
20923 }
20924 _ACEOF
20925 rm -f conftest.$ac_objext
20926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20927 (eval $ac_compile) 2>conftest.er1
20928 ac_status=$?
20929 grep -v '^ *+' conftest.er1 >conftest.err
20930 rm -f conftest.er1
20931 cat conftest.err >&5
20932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20933 (exit $ac_status); } &&
20934 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20936 (eval $ac_try) 2>&5
20937 ac_status=$?
20938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20939 (exit $ac_status); }; } &&
20940 { ac_try='test -s conftest.$ac_objext'
20941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20942 (eval $ac_try) 2>&5
20943 ac_status=$?
20944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20945 (exit $ac_status); }; }; then
20946
20947 wx_cv_cpp_bool=yes
20948
20949 else
20950 echo "$as_me: failed program was:" >&5
20951 sed 's/^/| /' conftest.$ac_ext >&5
20952
20953
20954 wx_cv_cpp_bool=no
20955
20956
20957 fi
20958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20959
20960 ac_ext=c
20961 ac_cpp='$CPP $CPPFLAGS'
20962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20965
20966
20967 fi
20968 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
20969 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
20970
20971 if test "$wx_cv_cpp_bool" = "yes"; then
20972 cat >>confdefs.h <<\_ACEOF
20973 #define HAVE_BOOL 1
20974 _ACEOF
20975
20976 fi
20977
20978
20979
20980 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
20981 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
20982 if test "${wx_cv_explicit+set}" = set; then
20983 echo $ECHO_N "(cached) $ECHO_C" >&6
20984 else
20985
20986
20987
20988 ac_ext=cc
20989 ac_cpp='$CXXCPP $CPPFLAGS'
20990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20993
20994
20995 cat >conftest.$ac_ext <<_ACEOF
20996 /* confdefs.h. */
20997 _ACEOF
20998 cat confdefs.h >>conftest.$ac_ext
20999 cat >>conftest.$ac_ext <<_ACEOF
21000 /* end confdefs.h. */
21001
21002 class Foo { public: explicit Foo(int) {} };
21003
21004 int
21005 main ()
21006 {
21007
21008 return 0;
21009
21010 ;
21011 return 0;
21012 }
21013 _ACEOF
21014 rm -f conftest.$ac_objext
21015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21016 (eval $ac_compile) 2>conftest.er1
21017 ac_status=$?
21018 grep -v '^ *+' conftest.er1 >conftest.err
21019 rm -f conftest.er1
21020 cat conftest.err >&5
21021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21022 (exit $ac_status); } &&
21023 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21025 (eval $ac_try) 2>&5
21026 ac_status=$?
21027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21028 (exit $ac_status); }; } &&
21029 { ac_try='test -s conftest.$ac_objext'
21030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21031 (eval $ac_try) 2>&5
21032 ac_status=$?
21033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21034 (exit $ac_status); }; }; then
21035
21036 cat >conftest.$ac_ext <<_ACEOF
21037 /* confdefs.h. */
21038 _ACEOF
21039 cat confdefs.h >>conftest.$ac_ext
21040 cat >>conftest.$ac_ext <<_ACEOF
21041 /* end confdefs.h. */
21042
21043 class Foo { public: explicit Foo(int) {} };
21044 static void TakeFoo(const Foo& foo) { }
21045
21046 int
21047 main ()
21048 {
21049
21050 TakeFoo(17);
21051 return 0;
21052
21053 ;
21054 return 0;
21055 }
21056 _ACEOF
21057 rm -f conftest.$ac_objext
21058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21059 (eval $ac_compile) 2>conftest.er1
21060 ac_status=$?
21061 grep -v '^ *+' conftest.er1 >conftest.err
21062 rm -f conftest.er1
21063 cat conftest.err >&5
21064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21065 (exit $ac_status); } &&
21066 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21068 (eval $ac_try) 2>&5
21069 ac_status=$?
21070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21071 (exit $ac_status); }; } &&
21072 { ac_try='test -s conftest.$ac_objext'
21073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21074 (eval $ac_try) 2>&5
21075 ac_status=$?
21076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21077 (exit $ac_status); }; }; then
21078 wx_cv_explicit=no
21079 else
21080 echo "$as_me: failed program was:" >&5
21081 sed 's/^/| /' conftest.$ac_ext >&5
21082
21083 wx_cv_explicit=yes
21084
21085 fi
21086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21087
21088 else
21089 echo "$as_me: failed program was:" >&5
21090 sed 's/^/| /' conftest.$ac_ext >&5
21091
21092 wx_cv_explicit=no
21093
21094 fi
21095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21096
21097 ac_ext=c
21098 ac_cpp='$CPP $CPPFLAGS'
21099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21102
21103
21104 fi
21105 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
21106 echo "${ECHO_T}$wx_cv_explicit" >&6
21107
21108 if test "$wx_cv_explicit" = "yes"; then
21109 cat >>confdefs.h <<\_ACEOF
21110 #define HAVE_EXPLICIT 1
21111 _ACEOF
21112
21113 fi
21114
21115
21116 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
21117 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
21118 if test "${ac_cv_cxx_const_cast+set}" = set; then
21119 echo $ECHO_N "(cached) $ECHO_C" >&6
21120 else
21121
21122
21123 ac_ext=cc
21124 ac_cpp='$CXXCPP $CPPFLAGS'
21125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21128
21129 cat >conftest.$ac_ext <<_ACEOF
21130 /* confdefs.h. */
21131 _ACEOF
21132 cat confdefs.h >>conftest.$ac_ext
21133 cat >>conftest.$ac_ext <<_ACEOF
21134 /* end confdefs.h. */
21135
21136 int
21137 main ()
21138 {
21139 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
21140 ;
21141 return 0;
21142 }
21143 _ACEOF
21144 rm -f conftest.$ac_objext
21145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21146 (eval $ac_compile) 2>conftest.er1
21147 ac_status=$?
21148 grep -v '^ *+' conftest.er1 >conftest.err
21149 rm -f conftest.er1
21150 cat conftest.err >&5
21151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21152 (exit $ac_status); } &&
21153 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21155 (eval $ac_try) 2>&5
21156 ac_status=$?
21157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21158 (exit $ac_status); }; } &&
21159 { ac_try='test -s conftest.$ac_objext'
21160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21161 (eval $ac_try) 2>&5
21162 ac_status=$?
21163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21164 (exit $ac_status); }; }; then
21165 ac_cv_cxx_const_cast=yes
21166 else
21167 echo "$as_me: failed program was:" >&5
21168 sed 's/^/| /' conftest.$ac_ext >&5
21169
21170 ac_cv_cxx_const_cast=no
21171 fi
21172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21173 ac_ext=c
21174 ac_cpp='$CPP $CPPFLAGS'
21175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21178
21179
21180 fi
21181 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
21182 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
21183 if test "$ac_cv_cxx_const_cast" = yes; then
21184
21185 cat >>confdefs.h <<\_ACEOF
21186 #define HAVE_CONST_CAST
21187 _ACEOF
21188
21189 fi
21190
21191 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
21192 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
21193 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
21194 echo $ECHO_N "(cached) $ECHO_C" >&6
21195 else
21196
21197
21198 ac_ext=cc
21199 ac_cpp='$CXXCPP $CPPFLAGS'
21200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21203
21204 cat >conftest.$ac_ext <<_ACEOF
21205 /* confdefs.h. */
21206 _ACEOF
21207 cat confdefs.h >>conftest.$ac_ext
21208 cat >>conftest.$ac_ext <<_ACEOF
21209 /* end confdefs.h. */
21210 #include <typeinfo>
21211 class Base { public : Base () {} virtual void f () = 0;};
21212 class Derived : public Base { public : Derived () {} virtual void f () {} };
21213 class Unrelated { public : Unrelated () {} };
21214 int g (Unrelated&) { return 0; }
21215 int
21216 main ()
21217 {
21218
21219 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
21220 ;
21221 return 0;
21222 }
21223 _ACEOF
21224 rm -f conftest.$ac_objext
21225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21226 (eval $ac_compile) 2>conftest.er1
21227 ac_status=$?
21228 grep -v '^ *+' conftest.er1 >conftest.err
21229 rm -f conftest.er1
21230 cat conftest.err >&5
21231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21232 (exit $ac_status); } &&
21233 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21235 (eval $ac_try) 2>&5
21236 ac_status=$?
21237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21238 (exit $ac_status); }; } &&
21239 { ac_try='test -s conftest.$ac_objext'
21240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21241 (eval $ac_try) 2>&5
21242 ac_status=$?
21243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21244 (exit $ac_status); }; }; then
21245 ac_cv_cxx_reinterpret_cast=yes
21246 else
21247 echo "$as_me: failed program was:" >&5
21248 sed 's/^/| /' conftest.$ac_ext >&5
21249
21250 ac_cv_cxx_reinterpret_cast=no
21251 fi
21252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21253 ac_ext=c
21254 ac_cpp='$CPP $CPPFLAGS'
21255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21258
21259
21260 fi
21261 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
21262 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
21263 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
21264
21265 cat >>confdefs.h <<\_ACEOF
21266 #define HAVE_REINTERPRET_CAST
21267 _ACEOF
21268
21269 fi
21270
21271 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
21272 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
21273 if test "${ac_cv_cxx_static_cast+set}" = set; then
21274 echo $ECHO_N "(cached) $ECHO_C" >&6
21275 else
21276
21277
21278 ac_ext=cc
21279 ac_cpp='$CXXCPP $CPPFLAGS'
21280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21283
21284 cat >conftest.$ac_ext <<_ACEOF
21285 /* confdefs.h. */
21286 _ACEOF
21287 cat confdefs.h >>conftest.$ac_ext
21288 cat >>conftest.$ac_ext <<_ACEOF
21289 /* end confdefs.h. */
21290 #include <typeinfo>
21291 class Base { public : Base () {} virtual void f () = 0; };
21292 class Derived : public Base { public : Derived () {} virtual void f () {} };
21293 int g (Derived&) { return 0; }
21294 int
21295 main ()
21296 {
21297
21298 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
21299 ;
21300 return 0;
21301 }
21302 _ACEOF
21303 rm -f conftest.$ac_objext
21304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21305 (eval $ac_compile) 2>conftest.er1
21306 ac_status=$?
21307 grep -v '^ *+' conftest.er1 >conftest.err
21308 rm -f conftest.er1
21309 cat conftest.err >&5
21310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21311 (exit $ac_status); } &&
21312 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21314 (eval $ac_try) 2>&5
21315 ac_status=$?
21316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21317 (exit $ac_status); }; } &&
21318 { ac_try='test -s conftest.$ac_objext'
21319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21320 (eval $ac_try) 2>&5
21321 ac_status=$?
21322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21323 (exit $ac_status); }; }; then
21324 ac_cv_cxx_static_cast=yes
21325 else
21326 echo "$as_me: failed program was:" >&5
21327 sed 's/^/| /' conftest.$ac_ext >&5
21328
21329 ac_cv_cxx_static_cast=no
21330 fi
21331 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21332 ac_ext=c
21333 ac_cpp='$CPP $CPPFLAGS'
21334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21337
21338
21339 fi
21340 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
21341 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
21342 if test "$ac_cv_cxx_static_cast" = yes; then
21343
21344 cat >>confdefs.h <<\_ACEOF
21345 #define HAVE_STATIC_CAST
21346 _ACEOF
21347
21348 fi
21349
21350
21351 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
21352 ac_ext=cc
21353 ac_cpp='$CXXCPP $CPPFLAGS'
21354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21357
21358
21359 if test "$wxUSE_UNICODE" = "yes"; then
21360 std_string="std::wstring"
21361 char_type="wchar_t"
21362 else
21363 std_string="std::string"
21364 char_type="char"
21365 fi
21366
21367 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
21368 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
21369 cat >conftest.$ac_ext <<_ACEOF
21370 /* confdefs.h. */
21371 _ACEOF
21372 cat confdefs.h >>conftest.$ac_ext
21373 cat >>conftest.$ac_ext <<_ACEOF
21374 /* end confdefs.h. */
21375 #include <string>
21376 int
21377 main ()
21378 {
21379 $std_string foo;
21380 ;
21381 return 0;
21382 }
21383 _ACEOF
21384 rm -f conftest.$ac_objext
21385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21386 (eval $ac_compile) 2>conftest.er1
21387 ac_status=$?
21388 grep -v '^ *+' conftest.er1 >conftest.err
21389 rm -f conftest.er1
21390 cat conftest.err >&5
21391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21392 (exit $ac_status); } &&
21393 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21395 (eval $ac_try) 2>&5
21396 ac_status=$?
21397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21398 (exit $ac_status); }; } &&
21399 { ac_try='test -s conftest.$ac_objext'
21400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21401 (eval $ac_try) 2>&5
21402 ac_status=$?
21403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21404 (exit $ac_status); }; }; then
21405 echo "$as_me:$LINENO: result: yes" >&5
21406 echo "${ECHO_T}yes" >&6
21407 cat >>confdefs.h <<\_ACEOF
21408 #define HAVE_STD_WSTRING 1
21409 _ACEOF
21410
21411 else
21412 echo "$as_me: failed program was:" >&5
21413 sed 's/^/| /' conftest.$ac_ext >&5
21414
21415 echo "$as_me:$LINENO: result: no" >&5
21416 echo "${ECHO_T}no" >&6
21417 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
21418 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
21419 cat >conftest.$ac_ext <<_ACEOF
21420 /* confdefs.h. */
21421 _ACEOF
21422 cat confdefs.h >>conftest.$ac_ext
21423 cat >>conftest.$ac_ext <<_ACEOF
21424 /* end confdefs.h. */
21425
21426 #ifdef HAVE_WCHAR_H
21427 # ifdef __CYGWIN__
21428 # include <stddef.h>
21429 # endif
21430 # include <wchar.h>
21431 #endif
21432 #ifdef HAVE_STDLIB_H
21433 # include <stdlib.h>
21434 #endif
21435 #include <stdio.h>
21436 #include <string>
21437
21438 int
21439 main ()
21440 {
21441 std::basic_string<$char_type> foo;
21442 const $char_type* dummy = foo.c_str();
21443 ;
21444 return 0;
21445 }
21446 _ACEOF
21447 rm -f conftest.$ac_objext
21448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21449 (eval $ac_compile) 2>conftest.er1
21450 ac_status=$?
21451 grep -v '^ *+' conftest.er1 >conftest.err
21452 rm -f conftest.er1
21453 cat conftest.err >&5
21454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21455 (exit $ac_status); } &&
21456 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21458 (eval $ac_try) 2>&5
21459 ac_status=$?
21460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21461 (exit $ac_status); }; } &&
21462 { ac_try='test -s conftest.$ac_objext'
21463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21464 (eval $ac_try) 2>&5
21465 ac_status=$?
21466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21467 (exit $ac_status); }; }; then
21468 echo "$as_me:$LINENO: result: yes" >&5
21469 echo "${ECHO_T}yes" >&6
21470 else
21471 echo "$as_me: failed program was:" >&5
21472 sed 's/^/| /' conftest.$ac_ext >&5
21473
21474 echo "$as_me:$LINENO: result: no" >&5
21475 echo "${ECHO_T}no" >&6
21476 if test "$wxUSE_STL" = "yes"; then
21477 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
21478 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
21479 { (exit 1); exit 1; }; }
21480 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
21481 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
21482 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
21483 { (exit 1); exit 1; }; }
21484 else
21485 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
21486 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
21487 wxUSE_STD_STRING=no
21488 fi
21489
21490
21491 fi
21492 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21493
21494 fi
21495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21496
21497 ac_ext=c
21498 ac_cpp='$CPP $CPPFLAGS'
21499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21502
21503 fi
21504
21505 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21506 ac_ext=cc
21507 ac_cpp='$CXXCPP $CPPFLAGS'
21508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21511
21512
21513 echo "$as_me:$LINENO: checking for std::istream" >&5
21514 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
21515 if test "${ac_cv_type_std__istream+set}" = set; then
21516 echo $ECHO_N "(cached) $ECHO_C" >&6
21517 else
21518 cat >conftest.$ac_ext <<_ACEOF
21519 /* confdefs.h. */
21520 _ACEOF
21521 cat confdefs.h >>conftest.$ac_ext
21522 cat >>conftest.$ac_ext <<_ACEOF
21523 /* end confdefs.h. */
21524 #include <iostream>
21525
21526 int
21527 main ()
21528 {
21529 if ((std::istream *) 0)
21530 return 0;
21531 if (sizeof (std::istream))
21532 return 0;
21533 ;
21534 return 0;
21535 }
21536 _ACEOF
21537 rm -f conftest.$ac_objext
21538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21539 (eval $ac_compile) 2>conftest.er1
21540 ac_status=$?
21541 grep -v '^ *+' conftest.er1 >conftest.err
21542 rm -f conftest.er1
21543 cat conftest.err >&5
21544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21545 (exit $ac_status); } &&
21546 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21548 (eval $ac_try) 2>&5
21549 ac_status=$?
21550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21551 (exit $ac_status); }; } &&
21552 { ac_try='test -s conftest.$ac_objext'
21553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21554 (eval $ac_try) 2>&5
21555 ac_status=$?
21556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21557 (exit $ac_status); }; }; then
21558 ac_cv_type_std__istream=yes
21559 else
21560 echo "$as_me: failed program was:" >&5
21561 sed 's/^/| /' conftest.$ac_ext >&5
21562
21563 ac_cv_type_std__istream=no
21564 fi
21565 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21566 fi
21567 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
21568 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
21569 if test $ac_cv_type_std__istream = yes; then
21570
21571 cat >>confdefs.h <<_ACEOF
21572 #define HAVE_STD__ISTREAM 1
21573 _ACEOF
21574
21575
21576 else
21577 wxUSE_STD_IOSTREAM=no
21578 fi
21579 echo "$as_me:$LINENO: checking for std::ostream" >&5
21580 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
21581 if test "${ac_cv_type_std__ostream+set}" = set; then
21582 echo $ECHO_N "(cached) $ECHO_C" >&6
21583 else
21584 cat >conftest.$ac_ext <<_ACEOF
21585 /* confdefs.h. */
21586 _ACEOF
21587 cat confdefs.h >>conftest.$ac_ext
21588 cat >>conftest.$ac_ext <<_ACEOF
21589 /* end confdefs.h. */
21590 #include <iostream>
21591
21592 int
21593 main ()
21594 {
21595 if ((std::ostream *) 0)
21596 return 0;
21597 if (sizeof (std::ostream))
21598 return 0;
21599 ;
21600 return 0;
21601 }
21602 _ACEOF
21603 rm -f conftest.$ac_objext
21604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21605 (eval $ac_compile) 2>conftest.er1
21606 ac_status=$?
21607 grep -v '^ *+' conftest.er1 >conftest.err
21608 rm -f conftest.er1
21609 cat conftest.err >&5
21610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21611 (exit $ac_status); } &&
21612 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21614 (eval $ac_try) 2>&5
21615 ac_status=$?
21616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21617 (exit $ac_status); }; } &&
21618 { ac_try='test -s conftest.$ac_objext'
21619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21620 (eval $ac_try) 2>&5
21621 ac_status=$?
21622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21623 (exit $ac_status); }; }; then
21624 ac_cv_type_std__ostream=yes
21625 else
21626 echo "$as_me: failed program was:" >&5
21627 sed 's/^/| /' conftest.$ac_ext >&5
21628
21629 ac_cv_type_std__ostream=no
21630 fi
21631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21632 fi
21633 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
21634 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
21635 if test $ac_cv_type_std__ostream = yes; then
21636
21637 cat >>confdefs.h <<_ACEOF
21638 #define HAVE_STD__OSTREAM 1
21639 _ACEOF
21640
21641
21642 else
21643 wxUSE_STD_IOSTREAM=no
21644 fi
21645
21646
21647 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
21648 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
21649 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
21650 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
21651 { (exit 1); exit 1; }; }
21652 else
21653 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
21654 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
21655 fi
21656 fi
21657
21658 ac_ext=c
21659 ac_cpp='$CPP $CPPFLAGS'
21660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21663
21664 fi
21665
21666 if test "$wxUSE_STL" = "yes"; then
21667 ac_ext=cc
21668 ac_cpp='$CXXCPP $CPPFLAGS'
21669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21672
21673
21674 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
21675 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
21676 cat >conftest.$ac_ext <<_ACEOF
21677 /* confdefs.h. */
21678 _ACEOF
21679 cat confdefs.h >>conftest.$ac_ext
21680 cat >>conftest.$ac_ext <<_ACEOF
21681 /* end confdefs.h. */
21682 #include <string>
21683 #include <functional>
21684 #include <algorithm>
21685 #include <vector>
21686 #include <list>
21687 int
21688 main ()
21689 {
21690 std::vector<int> moo;
21691 std::list<int> foo;
21692 std::vector<int>::iterator it =
21693 std::find_if(moo.begin(), moo.end(),
21694 std::bind2nd(std::less<int>(), 3));
21695 ;
21696 return 0;
21697 }
21698 _ACEOF
21699 rm -f conftest.$ac_objext
21700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21701 (eval $ac_compile) 2>conftest.er1
21702 ac_status=$?
21703 grep -v '^ *+' conftest.er1 >conftest.err
21704 rm -f conftest.er1
21705 cat conftest.err >&5
21706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21707 (exit $ac_status); } &&
21708 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21710 (eval $ac_try) 2>&5
21711 ac_status=$?
21712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21713 (exit $ac_status); }; } &&
21714 { ac_try='test -s conftest.$ac_objext'
21715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21716 (eval $ac_try) 2>&5
21717 ac_status=$?
21718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21719 (exit $ac_status); }; }; then
21720 echo "$as_me:$LINENO: result: yes" >&5
21721 echo "${ECHO_T}yes" >&6
21722 else
21723 echo "$as_me: failed program was:" >&5
21724 sed 's/^/| /' conftest.$ac_ext >&5
21725
21726 echo "$as_me:$LINENO: result: no" >&5
21727 echo "${ECHO_T}no" >&6
21728 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
21729 echo "$as_me: error: Basic STL functionality missing" >&2;}
21730 { (exit 1); exit 1; }; }
21731 fi
21732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21733
21734 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
21735 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
21736 cat >conftest.$ac_ext <<_ACEOF
21737 /* confdefs.h. */
21738 _ACEOF
21739 cat confdefs.h >>conftest.$ac_ext
21740 cat >>conftest.$ac_ext <<_ACEOF
21741 /* end confdefs.h. */
21742 #include <string>
21743 int
21744 main ()
21745 {
21746 std::string foo, bar;
21747 foo.compare(bar);
21748 foo.compare(1, 1, bar);
21749 foo.compare(1, 1, bar, 1, 1);
21750 foo.compare("");
21751 foo.compare(1, 1, "");
21752 foo.compare(1, 1, "", 2);
21753 ;
21754 return 0;
21755 }
21756 _ACEOF
21757 rm -f conftest.$ac_objext
21758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21759 (eval $ac_compile) 2>conftest.er1
21760 ac_status=$?
21761 grep -v '^ *+' conftest.er1 >conftest.err
21762 rm -f conftest.er1
21763 cat conftest.err >&5
21764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21765 (exit $ac_status); } &&
21766 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21768 (eval $ac_try) 2>&5
21769 ac_status=$?
21770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21771 (exit $ac_status); }; } &&
21772 { ac_try='test -s conftest.$ac_objext'
21773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21774 (eval $ac_try) 2>&5
21775 ac_status=$?
21776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21777 (exit $ac_status); }; }; then
21778 echo "$as_me:$LINENO: result: yes" >&5
21779 echo "${ECHO_T}yes" >&6
21780 cat >>confdefs.h <<\_ACEOF
21781 #define HAVE_STD_STRING_COMPARE 1
21782 _ACEOF
21783
21784 else
21785 echo "$as_me: failed program was:" >&5
21786 sed 's/^/| /' conftest.$ac_ext >&5
21787
21788 echo "$as_me:$LINENO: result: no" >&5
21789 echo "${ECHO_T}no" >&6
21790 fi
21791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21792
21793 if test "${ac_cv_header_hash_map+set}" = set; then
21794 echo "$as_me:$LINENO: checking for hash_map" >&5
21795 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
21796 if test "${ac_cv_header_hash_map+set}" = set; then
21797 echo $ECHO_N "(cached) $ECHO_C" >&6
21798 fi
21799 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
21800 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
21801 else
21802 # Is the header compilable?
21803 echo "$as_me:$LINENO: checking hash_map usability" >&5
21804 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
21805 cat >conftest.$ac_ext <<_ACEOF
21806 /* confdefs.h. */
21807 _ACEOF
21808 cat confdefs.h >>conftest.$ac_ext
21809 cat >>conftest.$ac_ext <<_ACEOF
21810 /* end confdefs.h. */
21811 $ac_includes_default
21812 #include <hash_map>
21813 _ACEOF
21814 rm -f conftest.$ac_objext
21815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21816 (eval $ac_compile) 2>conftest.er1
21817 ac_status=$?
21818 grep -v '^ *+' conftest.er1 >conftest.err
21819 rm -f conftest.er1
21820 cat conftest.err >&5
21821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21822 (exit $ac_status); } &&
21823 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21825 (eval $ac_try) 2>&5
21826 ac_status=$?
21827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21828 (exit $ac_status); }; } &&
21829 { ac_try='test -s conftest.$ac_objext'
21830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21831 (eval $ac_try) 2>&5
21832 ac_status=$?
21833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21834 (exit $ac_status); }; }; then
21835 ac_header_compiler=yes
21836 else
21837 echo "$as_me: failed program was:" >&5
21838 sed 's/^/| /' conftest.$ac_ext >&5
21839
21840 ac_header_compiler=no
21841 fi
21842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21843 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21844 echo "${ECHO_T}$ac_header_compiler" >&6
21845
21846 # Is the header present?
21847 echo "$as_me:$LINENO: checking hash_map presence" >&5
21848 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
21849 cat >conftest.$ac_ext <<_ACEOF
21850 /* confdefs.h. */
21851 _ACEOF
21852 cat confdefs.h >>conftest.$ac_ext
21853 cat >>conftest.$ac_ext <<_ACEOF
21854 /* end confdefs.h. */
21855 #include <hash_map>
21856 _ACEOF
21857 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21858 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21859 ac_status=$?
21860 grep -v '^ *+' conftest.er1 >conftest.err
21861 rm -f conftest.er1
21862 cat conftest.err >&5
21863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21864 (exit $ac_status); } >/dev/null; then
21865 if test -s conftest.err; then
21866 ac_cpp_err=$ac_cxx_preproc_warn_flag
21867 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21868 else
21869 ac_cpp_err=
21870 fi
21871 else
21872 ac_cpp_err=yes
21873 fi
21874 if test -z "$ac_cpp_err"; then
21875 ac_header_preproc=yes
21876 else
21877 echo "$as_me: failed program was:" >&5
21878 sed 's/^/| /' conftest.$ac_ext >&5
21879
21880 ac_header_preproc=no
21881 fi
21882 rm -f conftest.err conftest.$ac_ext
21883 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21884 echo "${ECHO_T}$ac_header_preproc" >&6
21885
21886 # So? What about this header?
21887 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21888 yes:no: )
21889 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
21890 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
21891 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
21892 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
21893 ac_header_preproc=yes
21894 ;;
21895 no:yes:* )
21896 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
21897 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
21898 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
21899 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
21900 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
21901 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
21902 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
21903 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
21904 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
21905 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
21906 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
21907 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
21908 (
21909 cat <<\_ASBOX
21910 ## ----------------------------------------- ##
21911 ## Report this to wx-dev@lists.wxwidgets.org ##
21912 ## ----------------------------------------- ##
21913 _ASBOX
21914 ) |
21915 sed "s/^/$as_me: WARNING: /" >&2
21916 ;;
21917 esac
21918 echo "$as_me:$LINENO: checking for hash_map" >&5
21919 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
21920 if test "${ac_cv_header_hash_map+set}" = set; then
21921 echo $ECHO_N "(cached) $ECHO_C" >&6
21922 else
21923 ac_cv_header_hash_map=$ac_header_preproc
21924 fi
21925 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
21926 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
21927
21928 fi
21929 if test $ac_cv_header_hash_map = yes; then
21930 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
21931 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
21932 cat >conftest.$ac_ext <<_ACEOF
21933 /* confdefs.h. */
21934 _ACEOF
21935 cat confdefs.h >>conftest.$ac_ext
21936 cat >>conftest.$ac_ext <<_ACEOF
21937 /* end confdefs.h. */
21938 #include <hash_map>
21939 #include <hash_set>
21940 int
21941 main ()
21942 {
21943 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21944 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21945 ;
21946 return 0;
21947 }
21948 _ACEOF
21949 rm -f conftest.$ac_objext
21950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21951 (eval $ac_compile) 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); } &&
21958 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21960 (eval $ac_try) 2>&5
21961 ac_status=$?
21962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21963 (exit $ac_status); }; } &&
21964 { ac_try='test -s conftest.$ac_objext'
21965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21966 (eval $ac_try) 2>&5
21967 ac_status=$?
21968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21969 (exit $ac_status); }; }; then
21970 echo "$as_me:$LINENO: result: yes" >&5
21971 echo "${ECHO_T}yes" >&6
21972 cat >>confdefs.h <<\_ACEOF
21973 #define HAVE_HASH_MAP 1
21974 _ACEOF
21975
21976 cat >>confdefs.h <<\_ACEOF
21977 #define HAVE_STD_HASH_MAP 1
21978 _ACEOF
21979
21980 else
21981 echo "$as_me: failed program was:" >&5
21982 sed 's/^/| /' conftest.$ac_ext >&5
21983
21984 echo "$as_me:$LINENO: result: no" >&5
21985 echo "${ECHO_T}no" >&6
21986 fi
21987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21988
21989 fi
21990
21991
21992
21993 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21994 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
21995 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
21996 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21997 echo $ECHO_N "(cached) $ECHO_C" >&6
21998 fi
21999 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
22000 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
22001 else
22002 # Is the header compilable?
22003 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
22004 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
22005 cat >conftest.$ac_ext <<_ACEOF
22006 /* confdefs.h. */
22007 _ACEOF
22008 cat confdefs.h >>conftest.$ac_ext
22009 cat >>conftest.$ac_ext <<_ACEOF
22010 /* end confdefs.h. */
22011 $ac_includes_default
22012 #include <ext/hash_map>
22013 _ACEOF
22014 rm -f conftest.$ac_objext
22015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22016 (eval $ac_compile) 2>conftest.er1
22017 ac_status=$?
22018 grep -v '^ *+' conftest.er1 >conftest.err
22019 rm -f conftest.er1
22020 cat conftest.err >&5
22021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22022 (exit $ac_status); } &&
22023 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22025 (eval $ac_try) 2>&5
22026 ac_status=$?
22027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22028 (exit $ac_status); }; } &&
22029 { ac_try='test -s conftest.$ac_objext'
22030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22031 (eval $ac_try) 2>&5
22032 ac_status=$?
22033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22034 (exit $ac_status); }; }; then
22035 ac_header_compiler=yes
22036 else
22037 echo "$as_me: failed program was:" >&5
22038 sed 's/^/| /' conftest.$ac_ext >&5
22039
22040 ac_header_compiler=no
22041 fi
22042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22043 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22044 echo "${ECHO_T}$ac_header_compiler" >&6
22045
22046 # Is the header present?
22047 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
22048 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
22049 cat >conftest.$ac_ext <<_ACEOF
22050 /* confdefs.h. */
22051 _ACEOF
22052 cat confdefs.h >>conftest.$ac_ext
22053 cat >>conftest.$ac_ext <<_ACEOF
22054 /* end confdefs.h. */
22055 #include <ext/hash_map>
22056 _ACEOF
22057 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22058 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22059 ac_status=$?
22060 grep -v '^ *+' conftest.er1 >conftest.err
22061 rm -f conftest.er1
22062 cat conftest.err >&5
22063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22064 (exit $ac_status); } >/dev/null; then
22065 if test -s conftest.err; then
22066 ac_cpp_err=$ac_cxx_preproc_warn_flag
22067 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22068 else
22069 ac_cpp_err=
22070 fi
22071 else
22072 ac_cpp_err=yes
22073 fi
22074 if test -z "$ac_cpp_err"; then
22075 ac_header_preproc=yes
22076 else
22077 echo "$as_me: failed program was:" >&5
22078 sed 's/^/| /' conftest.$ac_ext >&5
22079
22080 ac_header_preproc=no
22081 fi
22082 rm -f conftest.err conftest.$ac_ext
22083 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22084 echo "${ECHO_T}$ac_header_preproc" >&6
22085
22086 # So? What about this header?
22087 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22088 yes:no: )
22089 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
22090 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
22091 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
22092 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
22093 ac_header_preproc=yes
22094 ;;
22095 no:yes:* )
22096 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
22097 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
22098 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
22099 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
22100 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
22101 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
22102 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
22103 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
22104 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
22105 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
22106 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
22107 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
22108 (
22109 cat <<\_ASBOX
22110 ## ----------------------------------------- ##
22111 ## Report this to wx-dev@lists.wxwidgets.org ##
22112 ## ----------------------------------------- ##
22113 _ASBOX
22114 ) |
22115 sed "s/^/$as_me: WARNING: /" >&2
22116 ;;
22117 esac
22118 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
22119 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
22120 if test "${ac_cv_header_ext_hash_map+set}" = set; then
22121 echo $ECHO_N "(cached) $ECHO_C" >&6
22122 else
22123 ac_cv_header_ext_hash_map=$ac_header_preproc
22124 fi
22125 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
22126 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
22127
22128 fi
22129 if test $ac_cv_header_ext_hash_map = yes; then
22130 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
22131 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
22132 cat >conftest.$ac_ext <<_ACEOF
22133 /* confdefs.h. */
22134 _ACEOF
22135 cat confdefs.h >>conftest.$ac_ext
22136 cat >>conftest.$ac_ext <<_ACEOF
22137 /* end confdefs.h. */
22138 #include <ext/hash_map>
22139 #include <ext/hash_set>
22140 int
22141 main ()
22142 {
22143 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
22144 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
22145 ;
22146 return 0;
22147 }
22148 _ACEOF
22149 rm -f conftest.$ac_objext
22150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22151 (eval $ac_compile) 2>conftest.er1
22152 ac_status=$?
22153 grep -v '^ *+' conftest.er1 >conftest.err
22154 rm -f conftest.er1
22155 cat conftest.err >&5
22156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22157 (exit $ac_status); } &&
22158 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22160 (eval $ac_try) 2>&5
22161 ac_status=$?
22162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22163 (exit $ac_status); }; } &&
22164 { ac_try='test -s conftest.$ac_objext'
22165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22166 (eval $ac_try) 2>&5
22167 ac_status=$?
22168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22169 (exit $ac_status); }; }; then
22170 echo "$as_me:$LINENO: result: yes" >&5
22171 echo "${ECHO_T}yes" >&6
22172 cat >>confdefs.h <<\_ACEOF
22173 #define HAVE_EXT_HASH_MAP 1
22174 _ACEOF
22175
22176 cat >>confdefs.h <<\_ACEOF
22177 #define HAVE_GNU_CXX_HASH_MAP 1
22178 _ACEOF
22179
22180 else
22181 echo "$as_me: failed program was:" >&5
22182 sed 's/^/| /' conftest.$ac_ext >&5
22183
22184 echo "$as_me:$LINENO: result: no" >&5
22185 echo "${ECHO_T}no" >&6
22186 fi
22187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22188
22189 fi
22190
22191
22192
22193 ac_ext=c
22194 ac_cpp='$CPP $CPPFLAGS'
22195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22198
22199 fi
22200
22201
22202 SEARCH_INCLUDE="\
22203 /usr/local/include \
22204 \
22205 /usr/Motif-2.1/include \
22206 /usr/Motif-1.2/include \
22207 /usr/include/Motif1.2 \
22208 /opt/xpm/include/X11 \
22209 /opt/GBxpm/include/ \
22210 /opt/GBxpm/X11/include/ \
22211 \
22212 /usr/dt/include \
22213 /usr/openwin/include \
22214 \
22215 /usr/include/Xm \
22216 \
22217 /usr/X11R6/include \
22218 /usr/X11R6.4/include \
22219 /usr/X11R5/include \
22220 /usr/X11R4/include \
22221 \
22222 /usr/include/X11R6 \
22223 /usr/include/X11R5 \
22224 /usr/include/X11R4 \
22225 \
22226 /usr/local/X11R6/include \
22227 /usr/local/X11R5/include \
22228 /usr/local/X11R4/include \
22229 \
22230 /usr/local/include/X11R6 \
22231 /usr/local/include/X11R5 \
22232 /usr/local/include/X11R4 \
22233 \
22234 /usr/X11/include \
22235 /usr/include/X11 \
22236 /usr/local/X11/include \
22237 /usr/local/include/X11 \
22238 \
22239 /usr/X386/include \
22240 /usr/x386/include \
22241 /usr/XFree86/include/X11 \
22242 \
22243 X:/XFree86/include \
22244 X:/XFree86/include/X11 \
22245 \
22246 /usr/include/gtk \
22247 /usr/local/include/gtk \
22248 /usr/include/glib \
22249 /usr/local/include/glib \
22250 \
22251 /usr/include/qt \
22252 /usr/local/include/qt \
22253 \
22254 /usr/local/arm/3.3.2/include \
22255 \
22256 /usr/include/windows \
22257 /usr/include/wine \
22258 /usr/local/include/wine \
22259 \
22260 /usr/unsupported/include \
22261 /usr/athena/include \
22262 /usr/local/x11r5/include \
22263 /usr/lpp/Xamples/include \
22264 \
22265 /usr/openwin/share/include"
22266
22267 SEARCH_LIB="/usr/lib /usr/lib32 /usr/lib64 /usr/X11R6/lib64 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g`"
22268
22269
22270 cat >confcache <<\_ACEOF
22271 # This file is a shell script that caches the results of configure
22272 # tests run on this system so they can be shared between configure
22273 # scripts and configure runs, see configure's option --config-cache.
22274 # It is not useful on other systems. If it contains results you don't
22275 # want to keep, you may remove or edit it.
22276 #
22277 # config.status only pays attention to the cache file if you give it
22278 # the --recheck option to rerun configure.
22279 #
22280 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22281 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22282 # following values.
22283
22284 _ACEOF
22285
22286 # The following way of writing the cache mishandles newlines in values,
22287 # but we know of no workaround that is simple, portable, and efficient.
22288 # So, don't put newlines in cache variables' values.
22289 # Ultrix sh set writes to stderr and can't be redirected directly,
22290 # and sets the high bit in the cache file unless we assign to the vars.
22291 {
22292 (set) 2>&1 |
22293 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22294 *ac_space=\ *)
22295 # `set' does not quote correctly, so add quotes (double-quote
22296 # substitution turns \\\\ into \\, and sed turns \\ into \).
22297 sed -n \
22298 "s/'/'\\\\''/g;
22299 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22300 ;;
22301 *)
22302 # `set' quotes correctly as required by POSIX, so do not add quotes.
22303 sed -n \
22304 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22305 ;;
22306 esac;
22307 } |
22308 sed '
22309 t clear
22310 : clear
22311 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22312 t end
22313 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22314 : end' >>confcache
22315 if diff $cache_file confcache >/dev/null 2>&1; then :; else
22316 if test -w $cache_file; then
22317 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22318 cat confcache >$cache_file
22319 else
22320 echo "not updating unwritable cache $cache_file"
22321 fi
22322 fi
22323 rm -f confcache
22324
22325 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
22326 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
22327 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
22328 if test "${wx_cv_lib_glibc21+set}" = set; then
22329 echo $ECHO_N "(cached) $ECHO_C" >&6
22330 else
22331
22332 cat >conftest.$ac_ext <<_ACEOF
22333 /* confdefs.h. */
22334 _ACEOF
22335 cat confdefs.h >>conftest.$ac_ext
22336 cat >>conftest.$ac_ext <<_ACEOF
22337 /* end confdefs.h. */
22338 #include <features.h>
22339 int
22340 main ()
22341 {
22342
22343 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
22344 #error not glibc2.1
22345 #endif
22346
22347 ;
22348 return 0;
22349 }
22350 _ACEOF
22351 rm -f conftest.$ac_objext
22352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22353 (eval $ac_compile) 2>conftest.er1
22354 ac_status=$?
22355 grep -v '^ *+' conftest.er1 >conftest.err
22356 rm -f conftest.er1
22357 cat conftest.err >&5
22358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22359 (exit $ac_status); } &&
22360 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22362 (eval $ac_try) 2>&5
22363 ac_status=$?
22364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22365 (exit $ac_status); }; } &&
22366 { ac_try='test -s conftest.$ac_objext'
22367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22368 (eval $ac_try) 2>&5
22369 ac_status=$?
22370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22371 (exit $ac_status); }; }; then
22372
22373 wx_cv_lib_glibc21=yes
22374
22375 else
22376 echo "$as_me: failed program was:" >&5
22377 sed 's/^/| /' conftest.$ac_ext >&5
22378
22379
22380 wx_cv_lib_glibc21=no
22381
22382
22383 fi
22384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22385
22386 fi
22387 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
22388 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
22389 if test "$wx_cv_lib_glibc21" = "yes"; then
22390 cat >>confdefs.h <<\_ACEOF
22391 #define wxHAVE_GLIBC2 1
22392 _ACEOF
22393
22394 fi
22395 fi
22396
22397 if test "x$wx_cv_lib_glibc21" = "xyes"; then
22398 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
22399 cat >>confdefs.h <<\_ACEOF
22400 #define _GNU_SOURCE 1
22401 _ACEOF
22402
22403 fi
22404 fi
22405
22406
22407
22408 if test "$wxUSE_REGEX" != "no"; then
22409 cat >>confdefs.h <<\_ACEOF
22410 #define wxUSE_REGEX 1
22411 _ACEOF
22412
22413
22414 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22415 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
22416 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
22417 wxUSE_REGEX=builtin
22418 fi
22419
22420 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22421 if test "${ac_cv_header_regex_h+set}" = set; then
22422 echo "$as_me:$LINENO: checking for regex.h" >&5
22423 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
22424 if test "${ac_cv_header_regex_h+set}" = set; then
22425 echo $ECHO_N "(cached) $ECHO_C" >&6
22426 fi
22427 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
22428 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
22429 else
22430 # Is the header compilable?
22431 echo "$as_me:$LINENO: checking regex.h usability" >&5
22432 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
22433 cat >conftest.$ac_ext <<_ACEOF
22434 /* confdefs.h. */
22435 _ACEOF
22436 cat confdefs.h >>conftest.$ac_ext
22437 cat >>conftest.$ac_ext <<_ACEOF
22438 /* end confdefs.h. */
22439 $ac_includes_default
22440 #include <regex.h>
22441 _ACEOF
22442 rm -f conftest.$ac_objext
22443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22444 (eval $ac_compile) 2>conftest.er1
22445 ac_status=$?
22446 grep -v '^ *+' conftest.er1 >conftest.err
22447 rm -f conftest.er1
22448 cat conftest.err >&5
22449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22450 (exit $ac_status); } &&
22451 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22453 (eval $ac_try) 2>&5
22454 ac_status=$?
22455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22456 (exit $ac_status); }; } &&
22457 { ac_try='test -s conftest.$ac_objext'
22458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22459 (eval $ac_try) 2>&5
22460 ac_status=$?
22461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22462 (exit $ac_status); }; }; then
22463 ac_header_compiler=yes
22464 else
22465 echo "$as_me: failed program was:" >&5
22466 sed 's/^/| /' conftest.$ac_ext >&5
22467
22468 ac_header_compiler=no
22469 fi
22470 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22471 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22472 echo "${ECHO_T}$ac_header_compiler" >&6
22473
22474 # Is the header present?
22475 echo "$as_me:$LINENO: checking regex.h presence" >&5
22476 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
22477 cat >conftest.$ac_ext <<_ACEOF
22478 /* confdefs.h. */
22479 _ACEOF
22480 cat confdefs.h >>conftest.$ac_ext
22481 cat >>conftest.$ac_ext <<_ACEOF
22482 /* end confdefs.h. */
22483 #include <regex.h>
22484 _ACEOF
22485 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22486 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22487 ac_status=$?
22488 grep -v '^ *+' conftest.er1 >conftest.err
22489 rm -f conftest.er1
22490 cat conftest.err >&5
22491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22492 (exit $ac_status); } >/dev/null; then
22493 if test -s conftest.err; then
22494 ac_cpp_err=$ac_c_preproc_warn_flag
22495 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22496 else
22497 ac_cpp_err=
22498 fi
22499 else
22500 ac_cpp_err=yes
22501 fi
22502 if test -z "$ac_cpp_err"; then
22503 ac_header_preproc=yes
22504 else
22505 echo "$as_me: failed program was:" >&5
22506 sed 's/^/| /' conftest.$ac_ext >&5
22507
22508 ac_header_preproc=no
22509 fi
22510 rm -f conftest.err conftest.$ac_ext
22511 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22512 echo "${ECHO_T}$ac_header_preproc" >&6
22513
22514 # So? What about this header?
22515 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22516 yes:no: )
22517 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
22518 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22519 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
22520 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
22521 ac_header_preproc=yes
22522 ;;
22523 no:yes:* )
22524 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
22525 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
22526 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
22527 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
22528 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
22529 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
22530 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
22531 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
22532 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
22533 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
22534 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
22535 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
22536 (
22537 cat <<\_ASBOX
22538 ## ----------------------------------------- ##
22539 ## Report this to wx-dev@lists.wxwidgets.org ##
22540 ## ----------------------------------------- ##
22541 _ASBOX
22542 ) |
22543 sed "s/^/$as_me: WARNING: /" >&2
22544 ;;
22545 esac
22546 echo "$as_me:$LINENO: checking for regex.h" >&5
22547 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
22548 if test "${ac_cv_header_regex_h+set}" = set; then
22549 echo $ECHO_N "(cached) $ECHO_C" >&6
22550 else
22551 ac_cv_header_regex_h=$ac_header_preproc
22552 fi
22553 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
22554 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
22555
22556 fi
22557 if test $ac_cv_header_regex_h = yes; then
22558
22559 for ac_func in regcomp
22560 do
22561 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22562 echo "$as_me:$LINENO: checking for $ac_func" >&5
22563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22564 if eval "test \"\${$as_ac_var+set}\" = set"; then
22565 echo $ECHO_N "(cached) $ECHO_C" >&6
22566 else
22567 cat >conftest.$ac_ext <<_ACEOF
22568 /* confdefs.h. */
22569 _ACEOF
22570 cat confdefs.h >>conftest.$ac_ext
22571 cat >>conftest.$ac_ext <<_ACEOF
22572 /* end confdefs.h. */
22573 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22574 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22575 #define $ac_func innocuous_$ac_func
22576
22577 /* System header to define __stub macros and hopefully few prototypes,
22578 which can conflict with char $ac_func (); below.
22579 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22580 <limits.h> exists even on freestanding compilers. */
22581
22582 #ifdef __STDC__
22583 # include <limits.h>
22584 #else
22585 # include <assert.h>
22586 #endif
22587
22588 #undef $ac_func
22589
22590 /* Override any gcc2 internal prototype to avoid an error. */
22591 #ifdef __cplusplus
22592 extern "C"
22593 {
22594 #endif
22595 /* We use char because int might match the return type of a gcc2
22596 builtin and then its argument prototype would still apply. */
22597 char $ac_func ();
22598 /* The GNU C library defines this for functions which it implements
22599 to always fail with ENOSYS. Some functions are actually named
22600 something starting with __ and the normal name is an alias. */
22601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22602 choke me
22603 #else
22604 char (*f) () = $ac_func;
22605 #endif
22606 #ifdef __cplusplus
22607 }
22608 #endif
22609
22610 int
22611 main ()
22612 {
22613 return f != $ac_func;
22614 ;
22615 return 0;
22616 }
22617 _ACEOF
22618 rm -f conftest.$ac_objext conftest$ac_exeext
22619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22620 (eval $ac_link) 2>conftest.er1
22621 ac_status=$?
22622 grep -v '^ *+' conftest.er1 >conftest.err
22623 rm -f conftest.er1
22624 cat conftest.err >&5
22625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22626 (exit $ac_status); } &&
22627 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22629 (eval $ac_try) 2>&5
22630 ac_status=$?
22631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22632 (exit $ac_status); }; } &&
22633 { ac_try='test -s conftest$ac_exeext'
22634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22635 (eval $ac_try) 2>&5
22636 ac_status=$?
22637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22638 (exit $ac_status); }; }; then
22639 eval "$as_ac_var=yes"
22640 else
22641 echo "$as_me: failed program was:" >&5
22642 sed 's/^/| /' conftest.$ac_ext >&5
22643
22644 eval "$as_ac_var=no"
22645 fi
22646 rm -f conftest.err conftest.$ac_objext \
22647 conftest$ac_exeext conftest.$ac_ext
22648 fi
22649 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22650 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22651 if test `eval echo '${'$as_ac_var'}'` = yes; then
22652 cat >>confdefs.h <<_ACEOF
22653 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22654 _ACEOF
22655
22656 fi
22657 done
22658
22659 fi
22660
22661
22662
22663 if test "x$ac_cv_func_regcomp" != "xyes"; then
22664 if test "$wxUSE_REGEX" = "sys" ; then
22665 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
22666 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
22667 { (exit 1); exit 1; }; }
22668 else
22669 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
22670 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22671 wxUSE_REGEX=builtin
22672 fi
22673 else
22674 wxUSE_REGEX=sys
22675 cat >>confdefs.h <<\_ACEOF
22676 #define WX_NO_REGEX_ADVANCED 1
22677 _ACEOF
22678
22679 fi
22680 fi
22681 fi
22682
22683
22684 ZLIB_LINK=
22685 if test "$wxUSE_ZLIB" != "no" ; then
22686 cat >>confdefs.h <<\_ACEOF
22687 #define wxUSE_ZLIB 1
22688 _ACEOF
22689
22690
22691 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22692 if test "$USE_DARWIN" = 1; then
22693 system_zlib_h_ok="yes"
22694 else
22695 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
22696 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
22697 if test "${ac_cv_header_zlib_h+set}" = set; then
22698 echo $ECHO_N "(cached) $ECHO_C" >&6
22699 else
22700 if test "$cross_compiling" = yes; then
22701 unset ac_cv_header_zlib_h
22702
22703 else
22704 cat >conftest.$ac_ext <<_ACEOF
22705 /* confdefs.h. */
22706 _ACEOF
22707 cat confdefs.h >>conftest.$ac_ext
22708 cat >>conftest.$ac_ext <<_ACEOF
22709 /* end confdefs.h. */
22710
22711 #include <zlib.h>
22712 #include <stdio.h>
22713
22714 int main()
22715 {
22716 FILE *f=fopen("conftestval", "w");
22717 if (!f) exit(1);
22718 fprintf(f, "%s",
22719 ZLIB_VERSION[0] == '1' &&
22720 (ZLIB_VERSION[2] > '1' ||
22721 (ZLIB_VERSION[2] == '1' &&
22722 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22723 exit(0);
22724 }
22725
22726 _ACEOF
22727 rm -f conftest$ac_exeext
22728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22729 (eval $ac_link) 2>&5
22730 ac_status=$?
22731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22732 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22734 (eval $ac_try) 2>&5
22735 ac_status=$?
22736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22737 (exit $ac_status); }; }; then
22738 ac_cv_header_zlib_h=`cat conftestval`
22739 else
22740 echo "$as_me: program exited with status $ac_status" >&5
22741 echo "$as_me: failed program was:" >&5
22742 sed 's/^/| /' conftest.$ac_ext >&5
22743
22744 ( exit $ac_status )
22745 ac_cv_header_zlib_h=no
22746 fi
22747 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22748 fi
22749
22750 fi
22751 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22752 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22753 if test "${ac_cv_header_zlib_h+set}" = set; then
22754 echo "$as_me:$LINENO: checking for zlib.h" >&5
22755 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22756 if test "${ac_cv_header_zlib_h+set}" = set; then
22757 echo $ECHO_N "(cached) $ECHO_C" >&6
22758 fi
22759 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22760 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22761 else
22762 # Is the header compilable?
22763 echo "$as_me:$LINENO: checking zlib.h usability" >&5
22764 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
22765 cat >conftest.$ac_ext <<_ACEOF
22766 /* confdefs.h. */
22767 _ACEOF
22768 cat confdefs.h >>conftest.$ac_ext
22769 cat >>conftest.$ac_ext <<_ACEOF
22770 /* end confdefs.h. */
22771 $ac_includes_default
22772 #include <zlib.h>
22773 _ACEOF
22774 rm -f conftest.$ac_objext
22775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22776 (eval $ac_compile) 2>conftest.er1
22777 ac_status=$?
22778 grep -v '^ *+' conftest.er1 >conftest.err
22779 rm -f conftest.er1
22780 cat conftest.err >&5
22781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22782 (exit $ac_status); } &&
22783 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22785 (eval $ac_try) 2>&5
22786 ac_status=$?
22787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22788 (exit $ac_status); }; } &&
22789 { ac_try='test -s conftest.$ac_objext'
22790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22791 (eval $ac_try) 2>&5
22792 ac_status=$?
22793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22794 (exit $ac_status); }; }; then
22795 ac_header_compiler=yes
22796 else
22797 echo "$as_me: failed program was:" >&5
22798 sed 's/^/| /' conftest.$ac_ext >&5
22799
22800 ac_header_compiler=no
22801 fi
22802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22803 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22804 echo "${ECHO_T}$ac_header_compiler" >&6
22805
22806 # Is the header present?
22807 echo "$as_me:$LINENO: checking zlib.h presence" >&5
22808 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
22809 cat >conftest.$ac_ext <<_ACEOF
22810 /* confdefs.h. */
22811 _ACEOF
22812 cat confdefs.h >>conftest.$ac_ext
22813 cat >>conftest.$ac_ext <<_ACEOF
22814 /* end confdefs.h. */
22815 #include <zlib.h>
22816 _ACEOF
22817 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22818 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22819 ac_status=$?
22820 grep -v '^ *+' conftest.er1 >conftest.err
22821 rm -f conftest.er1
22822 cat conftest.err >&5
22823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22824 (exit $ac_status); } >/dev/null; then
22825 if test -s conftest.err; then
22826 ac_cpp_err=$ac_c_preproc_warn_flag
22827 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22828 else
22829 ac_cpp_err=
22830 fi
22831 else
22832 ac_cpp_err=yes
22833 fi
22834 if test -z "$ac_cpp_err"; then
22835 ac_header_preproc=yes
22836 else
22837 echo "$as_me: failed program was:" >&5
22838 sed 's/^/| /' conftest.$ac_ext >&5
22839
22840 ac_header_preproc=no
22841 fi
22842 rm -f conftest.err conftest.$ac_ext
22843 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22844 echo "${ECHO_T}$ac_header_preproc" >&6
22845
22846 # So? What about this header?
22847 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22848 yes:no: )
22849 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
22850 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22851 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
22852 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
22853 ac_header_preproc=yes
22854 ;;
22855 no:yes:* )
22856 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
22857 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
22858 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
22859 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
22860 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
22861 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
22862 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
22863 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
22864 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
22865 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
22866 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
22867 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
22868 (
22869 cat <<\_ASBOX
22870 ## ----------------------------------------- ##
22871 ## Report this to wx-dev@lists.wxwidgets.org ##
22872 ## ----------------------------------------- ##
22873 _ASBOX
22874 ) |
22875 sed "s/^/$as_me: WARNING: /" >&2
22876 ;;
22877 esac
22878 echo "$as_me:$LINENO: checking for zlib.h" >&5
22879 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22880 if test "${ac_cv_header_zlib_h+set}" = set; then
22881 echo $ECHO_N "(cached) $ECHO_C" >&6
22882 else
22883 ac_cv_header_zlib_h=$ac_header_preproc
22884 fi
22885 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22886 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22887
22888 fi
22889
22890
22891
22892 system_zlib_h_ok=$ac_cv_header_zlib_h
22893 fi
22894
22895 if test "$system_zlib_h_ok" = "yes"; then
22896 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
22897 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
22898 if test "${ac_cv_lib_z_deflate+set}" = set; then
22899 echo $ECHO_N "(cached) $ECHO_C" >&6
22900 else
22901 ac_check_lib_save_LIBS=$LIBS
22902 LIBS="-lz $LIBS"
22903 cat >conftest.$ac_ext <<_ACEOF
22904 /* confdefs.h. */
22905 _ACEOF
22906 cat confdefs.h >>conftest.$ac_ext
22907 cat >>conftest.$ac_ext <<_ACEOF
22908 /* end confdefs.h. */
22909
22910 /* Override any gcc2 internal prototype to avoid an error. */
22911 #ifdef __cplusplus
22912 extern "C"
22913 #endif
22914 /* We use char because int might match the return type of a gcc2
22915 builtin and then its argument prototype would still apply. */
22916 char deflate ();
22917 int
22918 main ()
22919 {
22920 deflate ();
22921 ;
22922 return 0;
22923 }
22924 _ACEOF
22925 rm -f conftest.$ac_objext conftest$ac_exeext
22926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22927 (eval $ac_link) 2>conftest.er1
22928 ac_status=$?
22929 grep -v '^ *+' conftest.er1 >conftest.err
22930 rm -f conftest.er1
22931 cat conftest.err >&5
22932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22933 (exit $ac_status); } &&
22934 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22936 (eval $ac_try) 2>&5
22937 ac_status=$?
22938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22939 (exit $ac_status); }; } &&
22940 { ac_try='test -s conftest$ac_exeext'
22941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22942 (eval $ac_try) 2>&5
22943 ac_status=$?
22944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22945 (exit $ac_status); }; }; then
22946 ac_cv_lib_z_deflate=yes
22947 else
22948 echo "$as_me: failed program was:" >&5
22949 sed 's/^/| /' conftest.$ac_ext >&5
22950
22951 ac_cv_lib_z_deflate=no
22952 fi
22953 rm -f conftest.err conftest.$ac_objext \
22954 conftest$ac_exeext conftest.$ac_ext
22955 LIBS=$ac_check_lib_save_LIBS
22956 fi
22957 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
22958 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
22959 if test $ac_cv_lib_z_deflate = yes; then
22960 ZLIB_LINK=" -lz"
22961 fi
22962
22963 fi
22964
22965 if test "x$ZLIB_LINK" = "x" ; then
22966 if test "$wxUSE_ZLIB" = "sys" ; then
22967 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
22968 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
22969 { (exit 1); exit 1; }; }
22970 else
22971 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
22972 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22973 wxUSE_ZLIB=builtin
22974 fi
22975 else
22976 wxUSE_ZLIB=sys
22977 fi
22978 fi
22979 fi
22980
22981
22982 PNG_LINK=
22983 if test "$wxUSE_LIBPNG" != "no" ; then
22984 cat >>confdefs.h <<\_ACEOF
22985 #define wxUSE_LIBPNG 1
22986 _ACEOF
22987
22988
22989 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
22990 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
22991 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
22992 wxUSE_LIBPNG=sys
22993 fi
22994
22995 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22996 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22997 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22998 wxUSE_LIBPNG=builtin
22999 fi
23000
23001 if test "$wxUSE_MGL" != 1 ; then
23002 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
23003 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
23004 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
23005 if test "${ac_cv_header_png_h+set}" = set; then
23006 echo $ECHO_N "(cached) $ECHO_C" >&6
23007 else
23008 if test "$cross_compiling" = yes; then
23009 unset ac_cv_header_png_h
23010
23011 else
23012 cat >conftest.$ac_ext <<_ACEOF
23013 /* confdefs.h. */
23014 _ACEOF
23015 cat confdefs.h >>conftest.$ac_ext
23016 cat >>conftest.$ac_ext <<_ACEOF
23017 /* end confdefs.h. */
23018
23019 #include <png.h>
23020 #include <stdio.h>
23021
23022 int main()
23023 {
23024 FILE *f=fopen("conftestval", "w");
23025 if (!f) exit(1);
23026 fprintf(f, "%s",
23027 PNG_LIBPNG_VER > 90 ? "yes" : "no");
23028 exit(0);
23029 }
23030
23031 _ACEOF
23032 rm -f conftest$ac_exeext
23033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23034 (eval $ac_link) 2>&5
23035 ac_status=$?
23036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23037 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23039 (eval $ac_try) 2>&5
23040 ac_status=$?
23041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23042 (exit $ac_status); }; }; then
23043 ac_cv_header_png_h=`cat conftestval`
23044 else
23045 echo "$as_me: program exited with status $ac_status" >&5
23046 echo "$as_me: failed program was:" >&5
23047 sed 's/^/| /' conftest.$ac_ext >&5
23048
23049 ( exit $ac_status )
23050 ac_cv_header_png_h=no
23051 fi
23052 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23053 fi
23054
23055 fi
23056 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
23057 echo "${ECHO_T}$ac_cv_header_png_h" >&6
23058 if test "${ac_cv_header_png_h+set}" = set; then
23059 echo "$as_me:$LINENO: checking for png.h" >&5
23060 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
23061 if test "${ac_cv_header_png_h+set}" = set; then
23062 echo $ECHO_N "(cached) $ECHO_C" >&6
23063 fi
23064 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
23065 echo "${ECHO_T}$ac_cv_header_png_h" >&6
23066 else
23067 # Is the header compilable?
23068 echo "$as_me:$LINENO: checking png.h usability" >&5
23069 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
23070 cat >conftest.$ac_ext <<_ACEOF
23071 /* confdefs.h. */
23072 _ACEOF
23073 cat confdefs.h >>conftest.$ac_ext
23074 cat >>conftest.$ac_ext <<_ACEOF
23075 /* end confdefs.h. */
23076 $ac_includes_default
23077 #include <png.h>
23078 _ACEOF
23079 rm -f conftest.$ac_objext
23080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23081 (eval $ac_compile) 2>conftest.er1
23082 ac_status=$?
23083 grep -v '^ *+' conftest.er1 >conftest.err
23084 rm -f conftest.er1
23085 cat conftest.err >&5
23086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23087 (exit $ac_status); } &&
23088 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23090 (eval $ac_try) 2>&5
23091 ac_status=$?
23092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23093 (exit $ac_status); }; } &&
23094 { ac_try='test -s conftest.$ac_objext'
23095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23096 (eval $ac_try) 2>&5
23097 ac_status=$?
23098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23099 (exit $ac_status); }; }; then
23100 ac_header_compiler=yes
23101 else
23102 echo "$as_me: failed program was:" >&5
23103 sed 's/^/| /' conftest.$ac_ext >&5
23104
23105 ac_header_compiler=no
23106 fi
23107 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23108 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23109 echo "${ECHO_T}$ac_header_compiler" >&6
23110
23111 # Is the header present?
23112 echo "$as_me:$LINENO: checking png.h presence" >&5
23113 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
23114 cat >conftest.$ac_ext <<_ACEOF
23115 /* confdefs.h. */
23116 _ACEOF
23117 cat confdefs.h >>conftest.$ac_ext
23118 cat >>conftest.$ac_ext <<_ACEOF
23119 /* end confdefs.h. */
23120 #include <png.h>
23121 _ACEOF
23122 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23123 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23124 ac_status=$?
23125 grep -v '^ *+' conftest.er1 >conftest.err
23126 rm -f conftest.er1
23127 cat conftest.err >&5
23128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23129 (exit $ac_status); } >/dev/null; then
23130 if test -s conftest.err; then
23131 ac_cpp_err=$ac_c_preproc_warn_flag
23132 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23133 else
23134 ac_cpp_err=
23135 fi
23136 else
23137 ac_cpp_err=yes
23138 fi
23139 if test -z "$ac_cpp_err"; then
23140 ac_header_preproc=yes
23141 else
23142 echo "$as_me: failed program was:" >&5
23143 sed 's/^/| /' conftest.$ac_ext >&5
23144
23145 ac_header_preproc=no
23146 fi
23147 rm -f conftest.err conftest.$ac_ext
23148 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23149 echo "${ECHO_T}$ac_header_preproc" >&6
23150
23151 # So? What about this header?
23152 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23153 yes:no: )
23154 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
23155 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23156 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
23157 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
23158 ac_header_preproc=yes
23159 ;;
23160 no:yes:* )
23161 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
23162 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
23163 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
23164 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
23165 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
23166 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
23167 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
23168 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
23169 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
23170 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
23171 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
23172 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
23173 (
23174 cat <<\_ASBOX
23175 ## ----------------------------------------- ##
23176 ## Report this to wx-dev@lists.wxwidgets.org ##
23177 ## ----------------------------------------- ##
23178 _ASBOX
23179 ) |
23180 sed "s/^/$as_me: WARNING: /" >&2
23181 ;;
23182 esac
23183 echo "$as_me:$LINENO: checking for png.h" >&5
23184 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
23185 if test "${ac_cv_header_png_h+set}" = set; then
23186 echo $ECHO_N "(cached) $ECHO_C" >&6
23187 else
23188 ac_cv_header_png_h=$ac_header_preproc
23189 fi
23190 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
23191 echo "${ECHO_T}$ac_cv_header_png_h" >&6
23192
23193 fi
23194
23195
23196
23197 if test "$ac_cv_header_png_h" = "yes"; then
23198 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
23199 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
23200 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
23201 echo $ECHO_N "(cached) $ECHO_C" >&6
23202 else
23203 ac_check_lib_save_LIBS=$LIBS
23204 LIBS="-lpng -lz -lm $LIBS"
23205 cat >conftest.$ac_ext <<_ACEOF
23206 /* confdefs.h. */
23207 _ACEOF
23208 cat confdefs.h >>conftest.$ac_ext
23209 cat >>conftest.$ac_ext <<_ACEOF
23210 /* end confdefs.h. */
23211
23212 /* Override any gcc2 internal prototype to avoid an error. */
23213 #ifdef __cplusplus
23214 extern "C"
23215 #endif
23216 /* We use char because int might match the return type of a gcc2
23217 builtin and then its argument prototype would still apply. */
23218 char png_check_sig ();
23219 int
23220 main ()
23221 {
23222 png_check_sig ();
23223 ;
23224 return 0;
23225 }
23226 _ACEOF
23227 rm -f conftest.$ac_objext conftest$ac_exeext
23228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23229 (eval $ac_link) 2>conftest.er1
23230 ac_status=$?
23231 grep -v '^ *+' conftest.er1 >conftest.err
23232 rm -f conftest.er1
23233 cat conftest.err >&5
23234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23235 (exit $ac_status); } &&
23236 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23238 (eval $ac_try) 2>&5
23239 ac_status=$?
23240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23241 (exit $ac_status); }; } &&
23242 { ac_try='test -s conftest$ac_exeext'
23243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23244 (eval $ac_try) 2>&5
23245 ac_status=$?
23246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23247 (exit $ac_status); }; }; then
23248 ac_cv_lib_png_png_check_sig=yes
23249 else
23250 echo "$as_me: failed program was:" >&5
23251 sed 's/^/| /' conftest.$ac_ext >&5
23252
23253 ac_cv_lib_png_png_check_sig=no
23254 fi
23255 rm -f conftest.err conftest.$ac_objext \
23256 conftest$ac_exeext conftest.$ac_ext
23257 LIBS=$ac_check_lib_save_LIBS
23258 fi
23259 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
23260 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
23261 if test $ac_cv_lib_png_png_check_sig = yes; then
23262 PNG_LINK=" -lpng -lz"
23263 fi
23264
23265 fi
23266
23267 if test "x$PNG_LINK" = "x" ; then
23268 if test "$wxUSE_LIBPNG" = "sys" ; then
23269 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
23270 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
23271 { (exit 1); exit 1; }; }
23272 else
23273 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
23274 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
23275 wxUSE_LIBPNG=builtin
23276 fi
23277 else
23278 wxUSE_LIBPNG=sys
23279 fi
23280 fi
23281 fi
23282
23283 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
23284 fi
23285
23286
23287 JPEG_LINK=
23288 if test "$wxUSE_LIBJPEG" != "no" ; then
23289 cat >>confdefs.h <<\_ACEOF
23290 #define wxUSE_LIBJPEG 1
23291 _ACEOF
23292
23293
23294 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
23295 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
23296 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
23297 wxUSE_LIBJPEG=sys
23298 fi
23299
23300 if test "$wxUSE_MGL" != 1 ; then
23301 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
23302 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
23303 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
23304 if test "${ac_cv_header_jpeglib_h+set}" = set; then
23305 echo $ECHO_N "(cached) $ECHO_C" >&6
23306 else
23307 cat >conftest.$ac_ext <<_ACEOF
23308 /* confdefs.h. */
23309 _ACEOF
23310 cat confdefs.h >>conftest.$ac_ext
23311 cat >>conftest.$ac_ext <<_ACEOF
23312 /* end confdefs.h. */
23313
23314 #undef HAVE_STDLIB_H
23315 #include <stdio.h>
23316 #include <jpeglib.h>
23317
23318 int
23319 main ()
23320 {
23321
23322
23323 ;
23324 return 0;
23325 }
23326 _ACEOF
23327 rm -f conftest.$ac_objext
23328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23329 (eval $ac_compile) 2>conftest.er1
23330 ac_status=$?
23331 grep -v '^ *+' conftest.er1 >conftest.err
23332 rm -f conftest.er1
23333 cat conftest.err >&5
23334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23335 (exit $ac_status); } &&
23336 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23338 (eval $ac_try) 2>&5
23339 ac_status=$?
23340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23341 (exit $ac_status); }; } &&
23342 { ac_try='test -s conftest.$ac_objext'
23343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23344 (eval $ac_try) 2>&5
23345 ac_status=$?
23346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23347 (exit $ac_status); }; }; then
23348 ac_cv_header_jpeglib_h=yes
23349 else
23350 echo "$as_me: failed program was:" >&5
23351 sed 's/^/| /' conftest.$ac_ext >&5
23352
23353 ac_cv_header_jpeglib_h=no
23354
23355 fi
23356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23357
23358 fi
23359
23360 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
23361 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
23362
23363 if test "$ac_cv_header_jpeglib_h" = "yes"; then
23364 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
23365 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
23366 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
23367 echo $ECHO_N "(cached) $ECHO_C" >&6
23368 else
23369 ac_check_lib_save_LIBS=$LIBS
23370 LIBS="-ljpeg $LIBS"
23371 cat >conftest.$ac_ext <<_ACEOF
23372 /* confdefs.h. */
23373 _ACEOF
23374 cat confdefs.h >>conftest.$ac_ext
23375 cat >>conftest.$ac_ext <<_ACEOF
23376 /* end confdefs.h. */
23377
23378 /* Override any gcc2 internal prototype to avoid an error. */
23379 #ifdef __cplusplus
23380 extern "C"
23381 #endif
23382 /* We use char because int might match the return type of a gcc2
23383 builtin and then its argument prototype would still apply. */
23384 char jpeg_read_header ();
23385 int
23386 main ()
23387 {
23388 jpeg_read_header ();
23389 ;
23390 return 0;
23391 }
23392 _ACEOF
23393 rm -f conftest.$ac_objext conftest$ac_exeext
23394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23395 (eval $ac_link) 2>conftest.er1
23396 ac_status=$?
23397 grep -v '^ *+' conftest.er1 >conftest.err
23398 rm -f conftest.er1
23399 cat conftest.err >&5
23400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23401 (exit $ac_status); } &&
23402 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23404 (eval $ac_try) 2>&5
23405 ac_status=$?
23406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23407 (exit $ac_status); }; } &&
23408 { ac_try='test -s conftest$ac_exeext'
23409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23410 (eval $ac_try) 2>&5
23411 ac_status=$?
23412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23413 (exit $ac_status); }; }; then
23414 ac_cv_lib_jpeg_jpeg_read_header=yes
23415 else
23416 echo "$as_me: failed program was:" >&5
23417 sed 's/^/| /' conftest.$ac_ext >&5
23418
23419 ac_cv_lib_jpeg_jpeg_read_header=no
23420 fi
23421 rm -f conftest.err conftest.$ac_objext \
23422 conftest$ac_exeext conftest.$ac_ext
23423 LIBS=$ac_check_lib_save_LIBS
23424 fi
23425 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
23426 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
23427 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
23428 JPEG_LINK=" -ljpeg"
23429 fi
23430
23431 fi
23432
23433 if test "x$JPEG_LINK" = "x" ; then
23434 if test "$wxUSE_LIBJPEG" = "sys" ; then
23435 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
23436 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
23437 { (exit 1); exit 1; }; }
23438 else
23439 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
23440 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
23441 wxUSE_LIBJPEG=builtin
23442 fi
23443 else
23444 wxUSE_LIBJPEG=sys
23445 fi
23446 fi
23447 fi
23448 fi
23449
23450
23451 TIFF_LINK=
23452 TIFF_PREREQ_LINKS=-lm
23453 if test "$wxUSE_LIBTIFF" != "no" ; then
23454 cat >>confdefs.h <<\_ACEOF
23455 #define wxUSE_LIBTIFF 1
23456 _ACEOF
23457
23458
23459 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
23460 if test "$wxUSE_LIBJPEG" = "sys"; then
23461 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
23462 fi
23463 if test "$wxUSE_ZLIB" = "sys"; then
23464 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
23465 fi
23466 if test "${ac_cv_header_tiffio_h+set}" = set; then
23467 echo "$as_me:$LINENO: checking for tiffio.h" >&5
23468 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
23469 if test "${ac_cv_header_tiffio_h+set}" = set; then
23470 echo $ECHO_N "(cached) $ECHO_C" >&6
23471 fi
23472 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
23473 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
23474 else
23475 # Is the header compilable?
23476 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
23477 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
23478 cat >conftest.$ac_ext <<_ACEOF
23479 /* confdefs.h. */
23480 _ACEOF
23481 cat confdefs.h >>conftest.$ac_ext
23482 cat >>conftest.$ac_ext <<_ACEOF
23483 /* end confdefs.h. */
23484 $ac_includes_default
23485 #include <tiffio.h>
23486 _ACEOF
23487 rm -f conftest.$ac_objext
23488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23489 (eval $ac_compile) 2>conftest.er1
23490 ac_status=$?
23491 grep -v '^ *+' conftest.er1 >conftest.err
23492 rm -f conftest.er1
23493 cat conftest.err >&5
23494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23495 (exit $ac_status); } &&
23496 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23498 (eval $ac_try) 2>&5
23499 ac_status=$?
23500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23501 (exit $ac_status); }; } &&
23502 { ac_try='test -s conftest.$ac_objext'
23503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23504 (eval $ac_try) 2>&5
23505 ac_status=$?
23506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23507 (exit $ac_status); }; }; then
23508 ac_header_compiler=yes
23509 else
23510 echo "$as_me: failed program was:" >&5
23511 sed 's/^/| /' conftest.$ac_ext >&5
23512
23513 ac_header_compiler=no
23514 fi
23515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23516 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23517 echo "${ECHO_T}$ac_header_compiler" >&6
23518
23519 # Is the header present?
23520 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
23521 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
23522 cat >conftest.$ac_ext <<_ACEOF
23523 /* confdefs.h. */
23524 _ACEOF
23525 cat confdefs.h >>conftest.$ac_ext
23526 cat >>conftest.$ac_ext <<_ACEOF
23527 /* end confdefs.h. */
23528 #include <tiffio.h>
23529 _ACEOF
23530 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23531 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23532 ac_status=$?
23533 grep -v '^ *+' conftest.er1 >conftest.err
23534 rm -f conftest.er1
23535 cat conftest.err >&5
23536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23537 (exit $ac_status); } >/dev/null; then
23538 if test -s conftest.err; then
23539 ac_cpp_err=$ac_c_preproc_warn_flag
23540 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23541 else
23542 ac_cpp_err=
23543 fi
23544 else
23545 ac_cpp_err=yes
23546 fi
23547 if test -z "$ac_cpp_err"; then
23548 ac_header_preproc=yes
23549 else
23550 echo "$as_me: failed program was:" >&5
23551 sed 's/^/| /' conftest.$ac_ext >&5
23552
23553 ac_header_preproc=no
23554 fi
23555 rm -f conftest.err conftest.$ac_ext
23556 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23557 echo "${ECHO_T}$ac_header_preproc" >&6
23558
23559 # So? What about this header?
23560 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23561 yes:no: )
23562 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
23563 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23564 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
23565 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
23566 ac_header_preproc=yes
23567 ;;
23568 no:yes:* )
23569 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
23570 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
23571 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
23572 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
23573 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
23574 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
23575 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
23576 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
23577 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
23578 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
23579 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
23580 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
23581 (
23582 cat <<\_ASBOX
23583 ## ----------------------------------------- ##
23584 ## Report this to wx-dev@lists.wxwidgets.org ##
23585 ## ----------------------------------------- ##
23586 _ASBOX
23587 ) |
23588 sed "s/^/$as_me: WARNING: /" >&2
23589 ;;
23590 esac
23591 echo "$as_me:$LINENO: checking for tiffio.h" >&5
23592 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
23593 if test "${ac_cv_header_tiffio_h+set}" = set; then
23594 echo $ECHO_N "(cached) $ECHO_C" >&6
23595 else
23596 ac_cv_header_tiffio_h=$ac_header_preproc
23597 fi
23598 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
23599 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
23600
23601 fi
23602 if test $ac_cv_header_tiffio_h = yes; then
23603
23604 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
23605 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
23606 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
23607 echo $ECHO_N "(cached) $ECHO_C" >&6
23608 else
23609 ac_check_lib_save_LIBS=$LIBS
23610 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
23611 cat >conftest.$ac_ext <<_ACEOF
23612 /* confdefs.h. */
23613 _ACEOF
23614 cat confdefs.h >>conftest.$ac_ext
23615 cat >>conftest.$ac_ext <<_ACEOF
23616 /* end confdefs.h. */
23617
23618 /* Override any gcc2 internal prototype to avoid an error. */
23619 #ifdef __cplusplus
23620 extern "C"
23621 #endif
23622 /* We use char because int might match the return type of a gcc2
23623 builtin and then its argument prototype would still apply. */
23624 char TIFFError ();
23625 int
23626 main ()
23627 {
23628 TIFFError ();
23629 ;
23630 return 0;
23631 }
23632 _ACEOF
23633 rm -f conftest.$ac_objext conftest$ac_exeext
23634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23635 (eval $ac_link) 2>conftest.er1
23636 ac_status=$?
23637 grep -v '^ *+' conftest.er1 >conftest.err
23638 rm -f conftest.er1
23639 cat conftest.err >&5
23640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23641 (exit $ac_status); } &&
23642 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23644 (eval $ac_try) 2>&5
23645 ac_status=$?
23646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23647 (exit $ac_status); }; } &&
23648 { ac_try='test -s conftest$ac_exeext'
23649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23650 (eval $ac_try) 2>&5
23651 ac_status=$?
23652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23653 (exit $ac_status); }; }; then
23654 ac_cv_lib_tiff_TIFFError=yes
23655 else
23656 echo "$as_me: failed program was:" >&5
23657 sed 's/^/| /' conftest.$ac_ext >&5
23658
23659 ac_cv_lib_tiff_TIFFError=no
23660 fi
23661 rm -f conftest.err conftest.$ac_objext \
23662 conftest$ac_exeext conftest.$ac_ext
23663 LIBS=$ac_check_lib_save_LIBS
23664 fi
23665 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
23666 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
23667 if test $ac_cv_lib_tiff_TIFFError = yes; then
23668 TIFF_LINK=" -ltiff"
23669 fi
23670
23671
23672
23673 fi
23674
23675
23676
23677 if test "x$TIFF_LINK" = "x" ; then
23678 if test "$wxUSE_LIBTIFF" = "sys" ; then
23679 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
23680 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
23681 { (exit 1); exit 1; }; }
23682 else
23683 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
23684 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
23685 wxUSE_LIBTIFF=builtin
23686 fi
23687 else
23688 wxUSE_LIBTIFF=sys
23689 fi
23690 fi
23691 fi
23692
23693
23694 if test "$wxUSE_WCHAR_T" != "yes"; then
23695 if test "$wxUSE_EXPAT" != "no"; then
23696 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
23697 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
23698 wxUSE_EXPAT=no
23699 fi
23700 if test "$wxUSE_XML" != "no"; then
23701 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
23702 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
23703 wxUSE_XML=no
23704 fi
23705 fi
23706
23707 if test "$wxUSE_EXPAT" != "no"; then
23708 wxUSE_XML=yes
23709 cat >>confdefs.h <<\_ACEOF
23710 #define wxUSE_EXPAT 1
23711 _ACEOF
23712
23713 cat >>confdefs.h <<\_ACEOF
23714 #define wxUSE_XML 1
23715 _ACEOF
23716
23717
23718 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
23719 if test "${ac_cv_header_expat_h+set}" = set; then
23720 echo "$as_me:$LINENO: checking for expat.h" >&5
23721 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
23722 if test "${ac_cv_header_expat_h+set}" = set; then
23723 echo $ECHO_N "(cached) $ECHO_C" >&6
23724 fi
23725 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
23726 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
23727 else
23728 # Is the header compilable?
23729 echo "$as_me:$LINENO: checking expat.h usability" >&5
23730 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
23731 cat >conftest.$ac_ext <<_ACEOF
23732 /* confdefs.h. */
23733 _ACEOF
23734 cat confdefs.h >>conftest.$ac_ext
23735 cat >>conftest.$ac_ext <<_ACEOF
23736 /* end confdefs.h. */
23737 $ac_includes_default
23738 #include <expat.h>
23739 _ACEOF
23740 rm -f conftest.$ac_objext
23741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23742 (eval $ac_compile) 2>conftest.er1
23743 ac_status=$?
23744 grep -v '^ *+' conftest.er1 >conftest.err
23745 rm -f conftest.er1
23746 cat conftest.err >&5
23747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23748 (exit $ac_status); } &&
23749 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23751 (eval $ac_try) 2>&5
23752 ac_status=$?
23753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23754 (exit $ac_status); }; } &&
23755 { ac_try='test -s conftest.$ac_objext'
23756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23757 (eval $ac_try) 2>&5
23758 ac_status=$?
23759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23760 (exit $ac_status); }; }; then
23761 ac_header_compiler=yes
23762 else
23763 echo "$as_me: failed program was:" >&5
23764 sed 's/^/| /' conftest.$ac_ext >&5
23765
23766 ac_header_compiler=no
23767 fi
23768 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23769 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23770 echo "${ECHO_T}$ac_header_compiler" >&6
23771
23772 # Is the header present?
23773 echo "$as_me:$LINENO: checking expat.h presence" >&5
23774 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
23775 cat >conftest.$ac_ext <<_ACEOF
23776 /* confdefs.h. */
23777 _ACEOF
23778 cat confdefs.h >>conftest.$ac_ext
23779 cat >>conftest.$ac_ext <<_ACEOF
23780 /* end confdefs.h. */
23781 #include <expat.h>
23782 _ACEOF
23783 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23784 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23785 ac_status=$?
23786 grep -v '^ *+' conftest.er1 >conftest.err
23787 rm -f conftest.er1
23788 cat conftest.err >&5
23789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23790 (exit $ac_status); } >/dev/null; then
23791 if test -s conftest.err; then
23792 ac_cpp_err=$ac_c_preproc_warn_flag
23793 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23794 else
23795 ac_cpp_err=
23796 fi
23797 else
23798 ac_cpp_err=yes
23799 fi
23800 if test -z "$ac_cpp_err"; then
23801 ac_header_preproc=yes
23802 else
23803 echo "$as_me: failed program was:" >&5
23804 sed 's/^/| /' conftest.$ac_ext >&5
23805
23806 ac_header_preproc=no
23807 fi
23808 rm -f conftest.err conftest.$ac_ext
23809 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23810 echo "${ECHO_T}$ac_header_preproc" >&6
23811
23812 # So? What about this header?
23813 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23814 yes:no: )
23815 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
23816 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23817 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
23818 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
23819 ac_header_preproc=yes
23820 ;;
23821 no:yes:* )
23822 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
23823 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
23824 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
23825 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
23826 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
23827 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
23828 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
23829 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
23830 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
23831 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
23832 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
23833 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
23834 (
23835 cat <<\_ASBOX
23836 ## ----------------------------------------- ##
23837 ## Report this to wx-dev@lists.wxwidgets.org ##
23838 ## ----------------------------------------- ##
23839 _ASBOX
23840 ) |
23841 sed "s/^/$as_me: WARNING: /" >&2
23842 ;;
23843 esac
23844 echo "$as_me:$LINENO: checking for expat.h" >&5
23845 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
23846 if test "${ac_cv_header_expat_h+set}" = set; then
23847 echo $ECHO_N "(cached) $ECHO_C" >&6
23848 else
23849 ac_cv_header_expat_h=$ac_header_preproc
23850 fi
23851 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
23852 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
23853
23854 fi
23855 if test $ac_cv_header_expat_h = yes; then
23856 found_expat_h=1
23857 fi
23858
23859
23860 if test "x$found_expat_h" = "x1"; then
23861 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
23862 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
23863 if test "${wx_cv_expat_is_not_broken+set}" = set; then
23864 echo $ECHO_N "(cached) $ECHO_C" >&6
23865 else
23866
23867
23868
23869 ac_ext=cc
23870 ac_cpp='$CXXCPP $CPPFLAGS'
23871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23874
23875 cat >conftest.$ac_ext <<_ACEOF
23876 /* confdefs.h. */
23877 _ACEOF
23878 cat confdefs.h >>conftest.$ac_ext
23879 cat >>conftest.$ac_ext <<_ACEOF
23880 /* end confdefs.h. */
23881 #include <expat.h>
23882 int
23883 main ()
23884 {
23885
23886 ;
23887 return 0;
23888 }
23889 _ACEOF
23890 rm -f conftest.$ac_objext
23891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23892 (eval $ac_compile) 2>conftest.er1
23893 ac_status=$?
23894 grep -v '^ *+' conftest.er1 >conftest.err
23895 rm -f conftest.er1
23896 cat conftest.err >&5
23897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23898 (exit $ac_status); } &&
23899 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23901 (eval $ac_try) 2>&5
23902 ac_status=$?
23903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23904 (exit $ac_status); }; } &&
23905 { ac_try='test -s conftest.$ac_objext'
23906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23907 (eval $ac_try) 2>&5
23908 ac_status=$?
23909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23910 (exit $ac_status); }; }; then
23911 wx_cv_expat_is_not_broken=yes
23912 else
23913 echo "$as_me: failed program was:" >&5
23914 sed 's/^/| /' conftest.$ac_ext >&5
23915
23916 wx_cv_expat_is_not_broken=no
23917
23918 fi
23919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23920 ac_ext=c
23921 ac_cpp='$CPP $CPPFLAGS'
23922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23925
23926
23927
23928 fi
23929 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
23930 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
23931 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
23932 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
23933 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
23934 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
23935 echo $ECHO_N "(cached) $ECHO_C" >&6
23936 else
23937 ac_check_lib_save_LIBS=$LIBS
23938 LIBS="-lexpat $LIBS"
23939 cat >conftest.$ac_ext <<_ACEOF
23940 /* confdefs.h. */
23941 _ACEOF
23942 cat confdefs.h >>conftest.$ac_ext
23943 cat >>conftest.$ac_ext <<_ACEOF
23944 /* end confdefs.h. */
23945
23946 /* Override any gcc2 internal prototype to avoid an error. */
23947 #ifdef __cplusplus
23948 extern "C"
23949 #endif
23950 /* We use char because int might match the return type of a gcc2
23951 builtin and then its argument prototype would still apply. */
23952 char XML_ParserCreate ();
23953 int
23954 main ()
23955 {
23956 XML_ParserCreate ();
23957 ;
23958 return 0;
23959 }
23960 _ACEOF
23961 rm -f conftest.$ac_objext conftest$ac_exeext
23962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23963 (eval $ac_link) 2>conftest.er1
23964 ac_status=$?
23965 grep -v '^ *+' conftest.er1 >conftest.err
23966 rm -f conftest.er1
23967 cat conftest.err >&5
23968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23969 (exit $ac_status); } &&
23970 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23972 (eval $ac_try) 2>&5
23973 ac_status=$?
23974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23975 (exit $ac_status); }; } &&
23976 { ac_try='test -s conftest$ac_exeext'
23977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23978 (eval $ac_try) 2>&5
23979 ac_status=$?
23980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23981 (exit $ac_status); }; }; then
23982 ac_cv_lib_expat_XML_ParserCreate=yes
23983 else
23984 echo "$as_me: failed program was:" >&5
23985 sed 's/^/| /' conftest.$ac_ext >&5
23986
23987 ac_cv_lib_expat_XML_ParserCreate=no
23988 fi
23989 rm -f conftest.err conftest.$ac_objext \
23990 conftest$ac_exeext conftest.$ac_ext
23991 LIBS=$ac_check_lib_save_LIBS
23992 fi
23993 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
23994 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
23995 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
23996 EXPAT_LINK=" -lexpat"
23997 fi
23998
23999 fi
24000 fi
24001 if test "x$EXPAT_LINK" = "x" ; then
24002 if test "$wxUSE_EXPAT" = "sys" ; then
24003 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
24004 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
24005 { (exit 1); exit 1; }; }
24006 else
24007 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
24008 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
24009 wxUSE_EXPAT=builtin
24010 fi
24011 else
24012 wxUSE_EXPAT=sys
24013 fi
24014 fi
24015 if test "$wxUSE_EXPAT" = "builtin" ; then
24016
24017
24018 subdirs="$subdirs src/expat"
24019
24020 fi
24021 fi
24022
24023
24024
24025 if test "$wxUSE_LIBMSPACK" != "no"; then
24026 if test "${ac_cv_header_mspack_h+set}" = set; then
24027 echo "$as_me:$LINENO: checking for mspack.h" >&5
24028 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
24029 if test "${ac_cv_header_mspack_h+set}" = set; then
24030 echo $ECHO_N "(cached) $ECHO_C" >&6
24031 fi
24032 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
24033 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
24034 else
24035 # Is the header compilable?
24036 echo "$as_me:$LINENO: checking mspack.h usability" >&5
24037 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
24038 cat >conftest.$ac_ext <<_ACEOF
24039 /* confdefs.h. */
24040 _ACEOF
24041 cat confdefs.h >>conftest.$ac_ext
24042 cat >>conftest.$ac_ext <<_ACEOF
24043 /* end confdefs.h. */
24044 $ac_includes_default
24045 #include <mspack.h>
24046 _ACEOF
24047 rm -f conftest.$ac_objext
24048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24049 (eval $ac_compile) 2>conftest.er1
24050 ac_status=$?
24051 grep -v '^ *+' conftest.er1 >conftest.err
24052 rm -f conftest.er1
24053 cat conftest.err >&5
24054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24055 (exit $ac_status); } &&
24056 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24058 (eval $ac_try) 2>&5
24059 ac_status=$?
24060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24061 (exit $ac_status); }; } &&
24062 { ac_try='test -s conftest.$ac_objext'
24063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24064 (eval $ac_try) 2>&5
24065 ac_status=$?
24066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24067 (exit $ac_status); }; }; then
24068 ac_header_compiler=yes
24069 else
24070 echo "$as_me: failed program was:" >&5
24071 sed 's/^/| /' conftest.$ac_ext >&5
24072
24073 ac_header_compiler=no
24074 fi
24075 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24076 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24077 echo "${ECHO_T}$ac_header_compiler" >&6
24078
24079 # Is the header present?
24080 echo "$as_me:$LINENO: checking mspack.h presence" >&5
24081 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
24082 cat >conftest.$ac_ext <<_ACEOF
24083 /* confdefs.h. */
24084 _ACEOF
24085 cat confdefs.h >>conftest.$ac_ext
24086 cat >>conftest.$ac_ext <<_ACEOF
24087 /* end confdefs.h. */
24088 #include <mspack.h>
24089 _ACEOF
24090 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24091 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24092 ac_status=$?
24093 grep -v '^ *+' conftest.er1 >conftest.err
24094 rm -f conftest.er1
24095 cat conftest.err >&5
24096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24097 (exit $ac_status); } >/dev/null; then
24098 if test -s conftest.err; then
24099 ac_cpp_err=$ac_c_preproc_warn_flag
24100 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24101 else
24102 ac_cpp_err=
24103 fi
24104 else
24105 ac_cpp_err=yes
24106 fi
24107 if test -z "$ac_cpp_err"; then
24108 ac_header_preproc=yes
24109 else
24110 echo "$as_me: failed program was:" >&5
24111 sed 's/^/| /' conftest.$ac_ext >&5
24112
24113 ac_header_preproc=no
24114 fi
24115 rm -f conftest.err conftest.$ac_ext
24116 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24117 echo "${ECHO_T}$ac_header_preproc" >&6
24118
24119 # So? What about this header?
24120 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24121 yes:no: )
24122 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
24123 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24124 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
24125 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
24126 ac_header_preproc=yes
24127 ;;
24128 no:yes:* )
24129 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
24130 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
24131 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
24132 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
24133 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
24134 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
24135 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
24136 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
24137 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
24138 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
24139 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
24140 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
24141 (
24142 cat <<\_ASBOX
24143 ## ----------------------------------------- ##
24144 ## Report this to wx-dev@lists.wxwidgets.org ##
24145 ## ----------------------------------------- ##
24146 _ASBOX
24147 ) |
24148 sed "s/^/$as_me: WARNING: /" >&2
24149 ;;
24150 esac
24151 echo "$as_me:$LINENO: checking for mspack.h" >&5
24152 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
24153 if test "${ac_cv_header_mspack_h+set}" = set; then
24154 echo $ECHO_N "(cached) $ECHO_C" >&6
24155 else
24156 ac_cv_header_mspack_h=$ac_header_preproc
24157 fi
24158 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
24159 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
24160
24161 fi
24162 if test $ac_cv_header_mspack_h = yes; then
24163 found_mspack_h=1
24164 fi
24165
24166
24167 if test "x$found_mspack_h" = "x1"; then
24168 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
24169 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
24170 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
24171 echo $ECHO_N "(cached) $ECHO_C" >&6
24172 else
24173 ac_check_lib_save_LIBS=$LIBS
24174 LIBS="-lmspack $LIBS"
24175 cat >conftest.$ac_ext <<_ACEOF
24176 /* confdefs.h. */
24177 _ACEOF
24178 cat confdefs.h >>conftest.$ac_ext
24179 cat >>conftest.$ac_ext <<_ACEOF
24180 /* end confdefs.h. */
24181
24182 /* Override any gcc2 internal prototype to avoid an error. */
24183 #ifdef __cplusplus
24184 extern "C"
24185 #endif
24186 /* We use char because int might match the return type of a gcc2
24187 builtin and then its argument prototype would still apply. */
24188 char mspack_create_chm_decompressor ();
24189 int
24190 main ()
24191 {
24192 mspack_create_chm_decompressor ();
24193 ;
24194 return 0;
24195 }
24196 _ACEOF
24197 rm -f conftest.$ac_objext conftest$ac_exeext
24198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24199 (eval $ac_link) 2>conftest.er1
24200 ac_status=$?
24201 grep -v '^ *+' conftest.er1 >conftest.err
24202 rm -f conftest.er1
24203 cat conftest.err >&5
24204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24205 (exit $ac_status); } &&
24206 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24208 (eval $ac_try) 2>&5
24209 ac_status=$?
24210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24211 (exit $ac_status); }; } &&
24212 { ac_try='test -s conftest$ac_exeext'
24213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24214 (eval $ac_try) 2>&5
24215 ac_status=$?
24216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24217 (exit $ac_status); }; }; then
24218 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
24219 else
24220 echo "$as_me: failed program was:" >&5
24221 sed 's/^/| /' conftest.$ac_ext >&5
24222
24223 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
24224 fi
24225 rm -f conftest.err conftest.$ac_objext \
24226 conftest$ac_exeext conftest.$ac_ext
24227 LIBS=$ac_check_lib_save_LIBS
24228 fi
24229 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
24230 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
24231 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
24232 MSPACK_LINK=" -lmspack"
24233 fi
24234
24235 fi
24236 if test "x$MSPACK_LINK" = "x" ; then
24237 wxUSE_LIBMSPACK=no
24238 fi
24239 fi
24240
24241 if test "$wxUSE_LIBMSPACK" != "no"; then
24242 cat >>confdefs.h <<\_ACEOF
24243 #define wxUSE_LIBMSPACK 1
24244 _ACEOF
24245
24246 fi
24247
24248
24249
24250 AFMINSTALL=
24251 WIN32INSTALL=
24252
24253 TOOLKIT=
24254 TOOLKIT_INCLUDE=
24255 WIDGET_SET=
24256
24257 if test "$USE_WIN32" = 1 ; then
24258
24259 for ac_header in w32api.h
24260 do
24261 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24262 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24263 echo "$as_me:$LINENO: checking for $ac_header" >&5
24264 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24265 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24266 echo $ECHO_N "(cached) $ECHO_C" >&6
24267 fi
24268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24269 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24270 else
24271 # Is the header compilable?
24272 echo "$as_me:$LINENO: checking $ac_header usability" >&5
24273 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
24274 cat >conftest.$ac_ext <<_ACEOF
24275 /* confdefs.h. */
24276 _ACEOF
24277 cat confdefs.h >>conftest.$ac_ext
24278 cat >>conftest.$ac_ext <<_ACEOF
24279 /* end confdefs.h. */
24280 $ac_includes_default
24281 #include <$ac_header>
24282 _ACEOF
24283 rm -f conftest.$ac_objext
24284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24285 (eval $ac_compile) 2>conftest.er1
24286 ac_status=$?
24287 grep -v '^ *+' conftest.er1 >conftest.err
24288 rm -f conftest.er1
24289 cat conftest.err >&5
24290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24291 (exit $ac_status); } &&
24292 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24294 (eval $ac_try) 2>&5
24295 ac_status=$?
24296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24297 (exit $ac_status); }; } &&
24298 { ac_try='test -s conftest.$ac_objext'
24299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24300 (eval $ac_try) 2>&5
24301 ac_status=$?
24302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24303 (exit $ac_status); }; }; then
24304 ac_header_compiler=yes
24305 else
24306 echo "$as_me: failed program was:" >&5
24307 sed 's/^/| /' conftest.$ac_ext >&5
24308
24309 ac_header_compiler=no
24310 fi
24311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24312 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24313 echo "${ECHO_T}$ac_header_compiler" >&6
24314
24315 # Is the header present?
24316 echo "$as_me:$LINENO: checking $ac_header presence" >&5
24317 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
24318 cat >conftest.$ac_ext <<_ACEOF
24319 /* confdefs.h. */
24320 _ACEOF
24321 cat confdefs.h >>conftest.$ac_ext
24322 cat >>conftest.$ac_ext <<_ACEOF
24323 /* end confdefs.h. */
24324 #include <$ac_header>
24325 _ACEOF
24326 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24327 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24328 ac_status=$?
24329 grep -v '^ *+' conftest.er1 >conftest.err
24330 rm -f conftest.er1
24331 cat conftest.err >&5
24332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24333 (exit $ac_status); } >/dev/null; then
24334 if test -s conftest.err; then
24335 ac_cpp_err=$ac_c_preproc_warn_flag
24336 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24337 else
24338 ac_cpp_err=
24339 fi
24340 else
24341 ac_cpp_err=yes
24342 fi
24343 if test -z "$ac_cpp_err"; then
24344 ac_header_preproc=yes
24345 else
24346 echo "$as_me: failed program was:" >&5
24347 sed 's/^/| /' conftest.$ac_ext >&5
24348
24349 ac_header_preproc=no
24350 fi
24351 rm -f conftest.err conftest.$ac_ext
24352 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24353 echo "${ECHO_T}$ac_header_preproc" >&6
24354
24355 # So? What about this header?
24356 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24357 yes:no: )
24358 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24359 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24360 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24361 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24362 ac_header_preproc=yes
24363 ;;
24364 no:yes:* )
24365 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24366 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24367 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24368 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24369 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24370 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24371 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24372 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24373 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24374 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24375 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24376 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24377 (
24378 cat <<\_ASBOX
24379 ## ----------------------------------------- ##
24380 ## Report this to wx-dev@lists.wxwidgets.org ##
24381 ## ----------------------------------------- ##
24382 _ASBOX
24383 ) |
24384 sed "s/^/$as_me: WARNING: /" >&2
24385 ;;
24386 esac
24387 echo "$as_me:$LINENO: checking for $ac_header" >&5
24388 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24389 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24390 echo $ECHO_N "(cached) $ECHO_C" >&6
24391 else
24392 eval "$as_ac_Header=\$ac_header_preproc"
24393 fi
24394 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24395 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24396
24397 fi
24398 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24399 cat >>confdefs.h <<_ACEOF
24400 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24401 _ACEOF
24402
24403 fi
24404
24405 done
24406
24407 if test "${ac_cv_header_windows_h+set}" = set; then
24408 echo "$as_me:$LINENO: checking for windows.h" >&5
24409 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
24410 if test "${ac_cv_header_windows_h+set}" = set; then
24411 echo $ECHO_N "(cached) $ECHO_C" >&6
24412 fi
24413 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
24414 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
24415 else
24416 # Is the header compilable?
24417 echo "$as_me:$LINENO: checking windows.h usability" >&5
24418 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
24419 cat >conftest.$ac_ext <<_ACEOF
24420 /* confdefs.h. */
24421 _ACEOF
24422 cat confdefs.h >>conftest.$ac_ext
24423 cat >>conftest.$ac_ext <<_ACEOF
24424 /* end confdefs.h. */
24425 $ac_includes_default
24426 #include <windows.h>
24427 _ACEOF
24428 rm -f conftest.$ac_objext
24429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24430 (eval $ac_compile) 2>conftest.er1
24431 ac_status=$?
24432 grep -v '^ *+' conftest.er1 >conftest.err
24433 rm -f conftest.er1
24434 cat conftest.err >&5
24435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24436 (exit $ac_status); } &&
24437 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24439 (eval $ac_try) 2>&5
24440 ac_status=$?
24441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24442 (exit $ac_status); }; } &&
24443 { ac_try='test -s conftest.$ac_objext'
24444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24445 (eval $ac_try) 2>&5
24446 ac_status=$?
24447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24448 (exit $ac_status); }; }; then
24449 ac_header_compiler=yes
24450 else
24451 echo "$as_me: failed program was:" >&5
24452 sed 's/^/| /' conftest.$ac_ext >&5
24453
24454 ac_header_compiler=no
24455 fi
24456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24457 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24458 echo "${ECHO_T}$ac_header_compiler" >&6
24459
24460 # Is the header present?
24461 echo "$as_me:$LINENO: checking windows.h presence" >&5
24462 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
24463 cat >conftest.$ac_ext <<_ACEOF
24464 /* confdefs.h. */
24465 _ACEOF
24466 cat confdefs.h >>conftest.$ac_ext
24467 cat >>conftest.$ac_ext <<_ACEOF
24468 /* end confdefs.h. */
24469 #include <windows.h>
24470 _ACEOF
24471 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24472 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24473 ac_status=$?
24474 grep -v '^ *+' conftest.er1 >conftest.err
24475 rm -f conftest.er1
24476 cat conftest.err >&5
24477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24478 (exit $ac_status); } >/dev/null; then
24479 if test -s conftest.err; then
24480 ac_cpp_err=$ac_c_preproc_warn_flag
24481 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24482 else
24483 ac_cpp_err=
24484 fi
24485 else
24486 ac_cpp_err=yes
24487 fi
24488 if test -z "$ac_cpp_err"; then
24489 ac_header_preproc=yes
24490 else
24491 echo "$as_me: failed program was:" >&5
24492 sed 's/^/| /' conftest.$ac_ext >&5
24493
24494 ac_header_preproc=no
24495 fi
24496 rm -f conftest.err conftest.$ac_ext
24497 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24498 echo "${ECHO_T}$ac_header_preproc" >&6
24499
24500 # So? What about this header?
24501 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24502 yes:no: )
24503 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
24504 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24505 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
24506 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
24507 ac_header_preproc=yes
24508 ;;
24509 no:yes:* )
24510 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
24511 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
24512 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
24513 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
24514 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
24515 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
24516 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
24517 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
24518 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
24519 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
24520 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
24521 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
24522 (
24523 cat <<\_ASBOX
24524 ## ----------------------------------------- ##
24525 ## Report this to wx-dev@lists.wxwidgets.org ##
24526 ## ----------------------------------------- ##
24527 _ASBOX
24528 ) |
24529 sed "s/^/$as_me: WARNING: /" >&2
24530 ;;
24531 esac
24532 echo "$as_me:$LINENO: checking for windows.h" >&5
24533 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
24534 if test "${ac_cv_header_windows_h+set}" = set; then
24535 echo $ECHO_N "(cached) $ECHO_C" >&6
24536 else
24537 ac_cv_header_windows_h=$ac_header_preproc
24538 fi
24539 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
24540 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
24541
24542 fi
24543 if test $ac_cv_header_windows_h = yes; then
24544 :
24545 else
24546
24547 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
24548 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
24549 { (exit 1); exit 1; }; }
24550
24551 fi
24552
24553
24554
24555 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
24556
24557 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
24558 LIBS="$LIBS -loleacc"
24559 fi
24560
24561 case "${host}" in
24562 *-*-cygwin* )
24563 LIBS="$LIBS -lkernel32 -luser32"
24564 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
24565 esac
24566
24567 if test "$wxUSE_ODBC" = "sys" ; then
24568 wxUSE_ODBC = "yes"
24569 fi
24570 if test "$wxUSE_ODBC" = "yes" ; then
24571 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
24572 cat >>confdefs.h <<\_ACEOF
24573 #define wxUSE_ODBC 1
24574 _ACEOF
24575
24576 fi
24577
24578 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
24579 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
24580
24581 WIN32INSTALL=win32install
24582 fi
24583
24584 if test "$wxUSE_GUI" = "yes"; then
24585 USE_GUI=1
24586
24587 GUI_TK_LIBRARY=
24588
24589 WXGTK12=
24590 WXGTK127=
24591 WXGTK20=
24592 WXGPE=
24593
24594 if test "$wxUSE_COCOA" = 1 ; then
24595 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
24596 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
24597 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
24598 wxUSE_PRINTING_ARCHITECTURE=no
24599 fi
24600 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
24601 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
24602 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
24603 wxUSE_DRAG_AND_DROP=no
24604 fi
24605 if test "$wxUSE_DRAGIMAGE" = "yes"; then
24606 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
24607 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
24608 wxUSE_DRAGIMAGE=no
24609 fi
24610 fi
24611
24612 if test "$wxUSE_MSW" = 1 ; then
24613 TOOLKIT=MSW
24614 GUIDIST=MSW_DIST
24615
24616 case "${host}" in
24617 *-*-mingw32* )
24618 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
24619 esac
24620 fi
24621
24622 if test "$wxUSE_GTK" = 1; then
24623 echo "$as_me:$LINENO: checking for GTK+ version" >&5
24624 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
24625
24626 gtk_version_cached=1
24627 if test "${wx_cv_lib_gtk+set}" = set; then
24628 echo $ECHO_N "(cached) $ECHO_C" >&6
24629 else
24630
24631 gtk_version_cached=0
24632 echo "$as_me:$LINENO: result: " >&5
24633 echo "${ECHO_T}" >&6
24634
24635 GTK_MODULES=
24636 if test "$wxUSE_THREADS" = "yes"; then
24637 GTK_MODULES=gthread
24638 fi
24639
24640 wx_cv_lib_gtk=
24641 if test "x$wxGTK_VERSION" != "x1"; then
24642 # Check whether --enable-gtktest or --disable-gtktest was given.
24643 if test "${enable_gtktest+set}" = set; then
24644 enableval="$enable_gtktest"
24645
24646 else
24647 enable_gtktest=yes
24648 fi;
24649
24650 pkg_config_args=gtk+-2.0
24651 for module in . $GTK_MODULES
24652 do
24653 case "$module" in
24654 gthread)
24655 pkg_config_args="$pkg_config_args gthread-2.0"
24656 ;;
24657 esac
24658 done
24659
24660 no_gtk=""
24661
24662 # Extract the first word of "pkg-config", so it can be a program name with args.
24663 set dummy pkg-config; ac_word=$2
24664 echo "$as_me:$LINENO: checking for $ac_word" >&5
24665 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24666 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24667 echo $ECHO_N "(cached) $ECHO_C" >&6
24668 else
24669 case $PKG_CONFIG in
24670 [\\/]* | ?:[\\/]*)
24671 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24672 ;;
24673 *)
24674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24675 for as_dir in $PATH
24676 do
24677 IFS=$as_save_IFS
24678 test -z "$as_dir" && as_dir=.
24679 for ac_exec_ext in '' $ac_executable_extensions; do
24680 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24681 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24682 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24683 break 2
24684 fi
24685 done
24686 done
24687
24688 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
24689 ;;
24690 esac
24691 fi
24692 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24693
24694 if test -n "$PKG_CONFIG"; then
24695 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24696 echo "${ECHO_T}$PKG_CONFIG" >&6
24697 else
24698 echo "$as_me:$LINENO: result: no" >&5
24699 echo "${ECHO_T}no" >&6
24700 fi
24701
24702
24703 if test x$PKG_CONFIG != xno ; then
24704 if pkg-config --atleast-pkgconfig-version 0.7 ; then
24705 :
24706 else
24707 echo "*** pkg-config too old; version 0.7 or better required."
24708 no_gtk=yes
24709 PKG_CONFIG=no
24710 fi
24711 else
24712 no_gtk=yes
24713 fi
24714
24715 min_gtk_version=2.0.0
24716 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
24717 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
24718
24719 if test x$PKG_CONFIG != xno ; then
24720 ## don't try to run the test against uninstalled libtool libs
24721 if $PKG_CONFIG --uninstalled $pkg_config_args; then
24722 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
24723 enable_gtktest=no
24724 fi
24725
24726 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
24727 :
24728 else
24729 no_gtk=yes
24730 fi
24731 fi
24732
24733 if test x"$no_gtk" = x ; then
24734 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
24735 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
24736 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
24737 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24738 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
24739 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24740 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
24741 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24742 if test "x$enable_gtktest" = "xyes" ; then
24743 ac_save_CFLAGS="$CFLAGS"
24744 ac_save_LIBS="$LIBS"
24745 CFLAGS="$CFLAGS $GTK_CFLAGS"
24746 LIBS="$GTK_LIBS $LIBS"
24747 rm -f conf.gtktest
24748 if test "$cross_compiling" = yes; then
24749 echo $ac_n "cross compiling; assumed OK... $ac_c"
24750 else
24751 cat >conftest.$ac_ext <<_ACEOF
24752 /* confdefs.h. */
24753 _ACEOF
24754 cat confdefs.h >>conftest.$ac_ext
24755 cat >>conftest.$ac_ext <<_ACEOF
24756 /* end confdefs.h. */
24757
24758 #include <gtk/gtk.h>
24759 #include <stdio.h>
24760 #include <stdlib.h>
24761
24762 int
24763 main ()
24764 {
24765 int major, minor, micro;
24766 char *tmp_version;
24767
24768 system ("touch conf.gtktest");
24769
24770 /* HP/UX 9 (%@#!) writes to sscanf strings */
24771 tmp_version = g_strdup("$min_gtk_version");
24772 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
24773 printf("%s, bad version string\n", "$min_gtk_version");
24774 exit(1);
24775 }
24776
24777 if ((gtk_major_version != $gtk_config_major_version) ||
24778 (gtk_minor_version != $gtk_config_minor_version) ||
24779 (gtk_micro_version != $gtk_config_micro_version))
24780 {
24781 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24782 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24783 gtk_major_version, gtk_minor_version, gtk_micro_version);
24784 printf ("*** was found! If pkg-config was correct, then it is best\n");
24785 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24786 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24787 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24788 printf("*** required on your system.\n");
24789 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
24790 printf("*** to point to the correct configuration files\n");
24791 }
24792 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24793 (gtk_minor_version != GTK_MINOR_VERSION) ||
24794 (gtk_micro_version != GTK_MICRO_VERSION))
24795 {
24796 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24797 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24798 printf("*** library (version %d.%d.%d)\n",
24799 gtk_major_version, gtk_minor_version, gtk_micro_version);
24800 }
24801 else
24802 {
24803 if ((gtk_major_version > major) ||
24804 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24805 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24806 {
24807 return 0;
24808 }
24809 else
24810 {
24811 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24812 gtk_major_version, gtk_minor_version, gtk_micro_version);
24813 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24814 major, minor, micro);
24815 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24816 printf("***\n");
24817 printf("*** If you have already installed a sufficiently new version, this error\n");
24818 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
24819 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24820 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
24821 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
24822 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24823 printf("*** so that the correct libraries are found at run-time))\n");
24824 }
24825 }
24826 return 1;
24827 }
24828
24829 _ACEOF
24830 rm -f conftest$ac_exeext
24831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24832 (eval $ac_link) 2>&5
24833 ac_status=$?
24834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24835 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24837 (eval $ac_try) 2>&5
24838 ac_status=$?
24839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24840 (exit $ac_status); }; }; then
24841 :
24842 else
24843 echo "$as_me: program exited with status $ac_status" >&5
24844 echo "$as_me: failed program was:" >&5
24845 sed 's/^/| /' conftest.$ac_ext >&5
24846
24847 ( exit $ac_status )
24848 no_gtk=yes
24849 fi
24850 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24851 fi
24852 CFLAGS="$ac_save_CFLAGS"
24853 LIBS="$ac_save_LIBS"
24854 fi
24855 fi
24856 if test "x$no_gtk" = x ; then
24857 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
24858 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
24859 wx_cv_lib_gtk=2.0
24860 else
24861 echo "$as_me:$LINENO: result: no" >&5
24862 echo "${ECHO_T}no" >&6
24863 if test "$PKG_CONFIG" = "no" ; then
24864 echo "*** A new enough version of pkg-config was not found."
24865 echo "*** See http://pkgconfig.sourceforge.net"
24866 else
24867 if test -f conf.gtktest ; then
24868 :
24869 else
24870 echo "*** Could not run GTK+ test program, checking why..."
24871 ac_save_CFLAGS="$CFLAGS"
24872 ac_save_LIBS="$LIBS"
24873 CFLAGS="$CFLAGS $GTK_CFLAGS"
24874 LIBS="$LIBS $GTK_LIBS"
24875 cat >conftest.$ac_ext <<_ACEOF
24876 /* confdefs.h. */
24877 _ACEOF
24878 cat confdefs.h >>conftest.$ac_ext
24879 cat >>conftest.$ac_ext <<_ACEOF
24880 /* end confdefs.h. */
24881
24882 #include <gtk/gtk.h>
24883 #include <stdio.h>
24884
24885 int
24886 main ()
24887 {
24888 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24889 ;
24890 return 0;
24891 }
24892 _ACEOF
24893 rm -f conftest.$ac_objext conftest$ac_exeext
24894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24895 (eval $ac_link) 2>conftest.er1
24896 ac_status=$?
24897 grep -v '^ *+' conftest.er1 >conftest.err
24898 rm -f conftest.er1
24899 cat conftest.err >&5
24900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24901 (exit $ac_status); } &&
24902 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24904 (eval $ac_try) 2>&5
24905 ac_status=$?
24906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24907 (exit $ac_status); }; } &&
24908 { ac_try='test -s conftest$ac_exeext'
24909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24910 (eval $ac_try) 2>&5
24911 ac_status=$?
24912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24913 (exit $ac_status); }; }; then
24914 echo "*** The test program compiled, but did not run. This usually means"
24915 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
24916 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
24917 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24918 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24919 echo "*** is required on your system"
24920 echo "***"
24921 echo "*** If you have an old version installed, it is best to remove it, although"
24922 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24923 else
24924 echo "$as_me: failed program was:" >&5
24925 sed 's/^/| /' conftest.$ac_ext >&5
24926
24927 echo "*** The test program failed to compile or link. See the file config.log for the"
24928 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
24929 fi
24930 rm -f conftest.err conftest.$ac_objext \
24931 conftest$ac_exeext conftest.$ac_ext
24932 CFLAGS="$ac_save_CFLAGS"
24933 LIBS="$ac_save_LIBS"
24934 fi
24935 fi
24936 GTK_CFLAGS=""
24937 GTK_LIBS=""
24938 :
24939 fi
24940
24941
24942 rm -f conf.gtktest
24943
24944 fi
24945
24946 if test -z "$wx_cv_lib_gtk"; then
24947 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
24948
24949 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
24950 if test "${with_gtk_prefix+set}" = set; then
24951 withval="$with_gtk_prefix"
24952 gtk_config_prefix="$withval"
24953 else
24954 gtk_config_prefix=""
24955 fi;
24956
24957 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
24958 if test "${with_gtk_exec_prefix+set}" = set; then
24959 withval="$with_gtk_exec_prefix"
24960 gtk_config_exec_prefix="$withval"
24961 else
24962 gtk_config_exec_prefix=""
24963 fi;
24964 # Check whether --enable-gtktest or --disable-gtktest was given.
24965 if test "${enable_gtktest+set}" = set; then
24966 enableval="$enable_gtktest"
24967
24968 else
24969 enable_gtktest=yes
24970 fi;
24971
24972 for module in . $GTK_MODULES
24973 do
24974 case "$module" in
24975 gthread)
24976 gtk_config_args="$gtk_config_args gthread"
24977 ;;
24978 esac
24979 done
24980
24981 if test x$gtk_config_exec_prefix != x ; then
24982 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24983 if test x${GTK_CONFIG+set} != xset ; then
24984 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
24985 fi
24986 fi
24987 if test x$gtk_config_prefix != x ; then
24988 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
24989 if test x${GTK_CONFIG+set} != xset ; then
24990 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
24991 fi
24992 fi
24993
24994 # Extract the first word of "gtk-config", so it can be a program name with args.
24995 set dummy gtk-config; ac_word=$2
24996 echo "$as_me:$LINENO: checking for $ac_word" >&5
24997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24998 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
24999 echo $ECHO_N "(cached) $ECHO_C" >&6
25000 else
25001 case $GTK_CONFIG in
25002 [\\/]* | ?:[\\/]*)
25003 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
25004 ;;
25005 *)
25006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25007 for as_dir in $PATH
25008 do
25009 IFS=$as_save_IFS
25010 test -z "$as_dir" && as_dir=.
25011 for ac_exec_ext in '' $ac_executable_extensions; do
25012 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25013 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25015 break 2
25016 fi
25017 done
25018 done
25019
25020 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
25021 ;;
25022 esac
25023 fi
25024 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
25025
25026 if test -n "$GTK_CONFIG"; then
25027 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
25028 echo "${ECHO_T}$GTK_CONFIG" >&6
25029 else
25030 echo "$as_me:$LINENO: result: no" >&5
25031 echo "${ECHO_T}no" >&6
25032 fi
25033
25034 min_gtk_version=1.2.7
25035 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
25036 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
25037 no_gtk=""
25038 if test "$GTK_CONFIG" = "no" ; then
25039 no_gtk=yes
25040 else
25041 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
25042 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
25043 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
25044 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
25045 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
25046 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
25047 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
25048 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
25049 if test "x$enable_gtktest" = "xyes" ; then
25050 ac_save_CFLAGS="$CFLAGS"
25051 ac_save_LIBS="$LIBS"
25052 CFLAGS="$CFLAGS $GTK_CFLAGS"
25053 LIBS="$GTK_LIBS $LIBS"
25054 rm -f conf.gtktest
25055 if test "$cross_compiling" = yes; then
25056 echo $ac_n "cross compiling; assumed OK... $ac_c"
25057 else
25058 cat >conftest.$ac_ext <<_ACEOF
25059 /* confdefs.h. */
25060 _ACEOF
25061 cat confdefs.h >>conftest.$ac_ext
25062 cat >>conftest.$ac_ext <<_ACEOF
25063 /* end confdefs.h. */
25064
25065 #include <gtk/gtk.h>
25066 #include <stdio.h>
25067 #include <stdlib.h>
25068
25069 int
25070 main ()
25071 {
25072 int major, minor, micro;
25073 char *tmp_version;
25074
25075 system ("touch conf.gtktest");
25076
25077 /* HP/UX 9 (%@#!) writes to sscanf strings */
25078 tmp_version = g_strdup("$min_gtk_version");
25079 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
25080 printf("%s, bad version string\n", "$min_gtk_version");
25081 exit(1);
25082 }
25083
25084 if ((gtk_major_version != $gtk_config_major_version) ||
25085 (gtk_minor_version != $gtk_config_minor_version) ||
25086 (gtk_micro_version != $gtk_config_micro_version))
25087 {
25088 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
25089 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
25090 gtk_major_version, gtk_minor_version, gtk_micro_version);
25091 printf ("*** was found! If gtk-config was correct, then it is best\n");
25092 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
25093 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
25094 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
25095 printf("*** required on your system.\n");
25096 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
25097 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
25098 printf("*** before re-running configure\n");
25099 }
25100 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
25101 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
25102 (gtk_minor_version != GTK_MINOR_VERSION) ||
25103 (gtk_micro_version != GTK_MICRO_VERSION))
25104 {
25105 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
25106 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
25107 printf("*** library (version %d.%d.%d)\n",
25108 gtk_major_version, gtk_minor_version, gtk_micro_version);
25109 }
25110 #endif /* defined (GTK_MAJOR_VERSION) ... */
25111 else
25112 {
25113 if ((gtk_major_version > major) ||
25114 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
25115 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
25116 {
25117 return 0;
25118 }
25119 else
25120 {
25121 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
25122 gtk_major_version, gtk_minor_version, gtk_micro_version);
25123 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
25124 major, minor, micro);
25125 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
25126 printf("***\n");
25127 printf("*** If you have already installed a sufficiently new version, this error\n");
25128 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
25129 printf("*** being found. The easiest way to fix this is to remove the old version\n");
25130 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
25131 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
25132 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
25133 printf("*** so that the correct libraries are found at run-time))\n");
25134 }
25135 }
25136 return 1;
25137 }
25138
25139 _ACEOF
25140 rm -f conftest$ac_exeext
25141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25142 (eval $ac_link) 2>&5
25143 ac_status=$?
25144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25145 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25147 (eval $ac_try) 2>&5
25148 ac_status=$?
25149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25150 (exit $ac_status); }; }; then
25151 :
25152 else
25153 echo "$as_me: program exited with status $ac_status" >&5
25154 echo "$as_me: failed program was:" >&5
25155 sed 's/^/| /' conftest.$ac_ext >&5
25156
25157 ( exit $ac_status )
25158 no_gtk=yes
25159 fi
25160 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25161 fi
25162 CFLAGS="$ac_save_CFLAGS"
25163 LIBS="$ac_save_LIBS"
25164 fi
25165 fi
25166 if test "x$no_gtk" = x ; then
25167 echo "$as_me:$LINENO: result: yes" >&5
25168 echo "${ECHO_T}yes" >&6
25169 wx_cv_lib_gtk=1.2.7
25170 else
25171 echo "$as_me:$LINENO: result: no" >&5
25172 echo "${ECHO_T}no" >&6
25173 if test "$GTK_CONFIG" = "no" ; then
25174 echo "*** The gtk-config script installed by GTK could not be found"
25175 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
25176 echo "*** your path, or set the GTK_CONFIG environment variable to the"
25177 echo "*** full path to gtk-config."
25178 else
25179 if test -f conf.gtktest ; then
25180 :
25181 else
25182 echo "*** Could not run GTK test program, checking why..."
25183 CFLAGS="$CFLAGS $GTK_CFLAGS"
25184 LIBS="$LIBS $GTK_LIBS"
25185 cat >conftest.$ac_ext <<_ACEOF
25186 /* confdefs.h. */
25187 _ACEOF
25188 cat confdefs.h >>conftest.$ac_ext
25189 cat >>conftest.$ac_ext <<_ACEOF
25190 /* end confdefs.h. */
25191
25192 #include <gtk/gtk.h>
25193 #include <stdio.h>
25194
25195 int
25196 main ()
25197 {
25198 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
25199 ;
25200 return 0;
25201 }
25202 _ACEOF
25203 rm -f conftest.$ac_objext conftest$ac_exeext
25204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25205 (eval $ac_link) 2>conftest.er1
25206 ac_status=$?
25207 grep -v '^ *+' conftest.er1 >conftest.err
25208 rm -f conftest.er1
25209 cat conftest.err >&5
25210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25211 (exit $ac_status); } &&
25212 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25214 (eval $ac_try) 2>&5
25215 ac_status=$?
25216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25217 (exit $ac_status); }; } &&
25218 { ac_try='test -s conftest$ac_exeext'
25219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25220 (eval $ac_try) 2>&5
25221 ac_status=$?
25222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25223 (exit $ac_status); }; }; then
25224 echo "*** The test program compiled, but did not run. This usually means"
25225 echo "*** that the run-time linker is not finding GTK or finding the wrong"
25226 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
25227 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25228 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25229 echo "*** is required on your system"
25230 echo "***"
25231 echo "*** If you have an old version installed, it is best to remove it, although"
25232 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25233 echo "***"
25234 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
25235 echo "*** came with the system with the command"
25236 echo "***"
25237 echo "*** rpm --erase --nodeps gtk gtk-devel"
25238 else
25239 echo "$as_me: failed program was:" >&5
25240 sed 's/^/| /' conftest.$ac_ext >&5
25241
25242 echo "*** The test program failed to compile or link. See the file config.log for the"
25243 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
25244 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
25245 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
25246 fi
25247 rm -f conftest.err conftest.$ac_objext \
25248 conftest$ac_exeext conftest.$ac_ext
25249 CFLAGS="$ac_save_CFLAGS"
25250 LIBS="$ac_save_LIBS"
25251 fi
25252 fi
25253 GTK_CFLAGS=""
25254 GTK_LIBS=""
25255 :
25256 fi
25257
25258
25259 rm -f conf.gtktest
25260
25261
25262 if test -z "$wx_cv_lib_gtk"; then
25263
25264 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
25265 if test "${with_gtk_prefix+set}" = set; then
25266 withval="$with_gtk_prefix"
25267 gtk_config_prefix="$withval"
25268 else
25269 gtk_config_prefix=""
25270 fi;
25271
25272 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
25273 if test "${with_gtk_exec_prefix+set}" = set; then
25274 withval="$with_gtk_exec_prefix"
25275 gtk_config_exec_prefix="$withval"
25276 else
25277 gtk_config_exec_prefix=""
25278 fi;
25279 # Check whether --enable-gtktest or --disable-gtktest was given.
25280 if test "${enable_gtktest+set}" = set; then
25281 enableval="$enable_gtktest"
25282
25283 else
25284 enable_gtktest=yes
25285 fi;
25286
25287 for module in . $GTK_MODULES
25288 do
25289 case "$module" in
25290 gthread)
25291 gtk_config_args="$gtk_config_args gthread"
25292 ;;
25293 esac
25294 done
25295
25296 if test x$gtk_config_exec_prefix != x ; then
25297 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
25298 if test x${GTK_CONFIG+set} != xset ; then
25299 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
25300 fi
25301 fi
25302 if test x$gtk_config_prefix != x ; then
25303 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
25304 if test x${GTK_CONFIG+set} != xset ; then
25305 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
25306 fi
25307 fi
25308
25309 # Extract the first word of "gtk-config", so it can be a program name with args.
25310 set dummy gtk-config; ac_word=$2
25311 echo "$as_me:$LINENO: checking for $ac_word" >&5
25312 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25313 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
25314 echo $ECHO_N "(cached) $ECHO_C" >&6
25315 else
25316 case $GTK_CONFIG in
25317 [\\/]* | ?:[\\/]*)
25318 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
25319 ;;
25320 *)
25321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25322 for as_dir in $PATH
25323 do
25324 IFS=$as_save_IFS
25325 test -z "$as_dir" && as_dir=.
25326 for ac_exec_ext in '' $ac_executable_extensions; do
25327 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25328 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25330 break 2
25331 fi
25332 done
25333 done
25334
25335 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
25336 ;;
25337 esac
25338 fi
25339 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
25340
25341 if test -n "$GTK_CONFIG"; then
25342 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
25343 echo "${ECHO_T}$GTK_CONFIG" >&6
25344 else
25345 echo "$as_me:$LINENO: result: no" >&5
25346 echo "${ECHO_T}no" >&6
25347 fi
25348
25349 min_gtk_version=1.2.3
25350 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
25351 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
25352 no_gtk=""
25353 if test "$GTK_CONFIG" = "no" ; then
25354 no_gtk=yes
25355 else
25356 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
25357 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
25358 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
25359 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
25360 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
25361 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
25362 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
25363 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
25364 if test "x$enable_gtktest" = "xyes" ; then
25365 ac_save_CFLAGS="$CFLAGS"
25366 ac_save_LIBS="$LIBS"
25367 CFLAGS="$CFLAGS $GTK_CFLAGS"
25368 LIBS="$GTK_LIBS $LIBS"
25369 rm -f conf.gtktest
25370 if test "$cross_compiling" = yes; then
25371 echo $ac_n "cross compiling; assumed OK... $ac_c"
25372 else
25373 cat >conftest.$ac_ext <<_ACEOF
25374 /* confdefs.h. */
25375 _ACEOF
25376 cat confdefs.h >>conftest.$ac_ext
25377 cat >>conftest.$ac_ext <<_ACEOF
25378 /* end confdefs.h. */
25379
25380 #include <gtk/gtk.h>
25381 #include <stdio.h>
25382 #include <stdlib.h>
25383
25384 int
25385 main ()
25386 {
25387 int major, minor, micro;
25388 char *tmp_version;
25389
25390 system ("touch conf.gtktest");
25391
25392 /* HP/UX 9 (%@#!) writes to sscanf strings */
25393 tmp_version = g_strdup("$min_gtk_version");
25394 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
25395 printf("%s, bad version string\n", "$min_gtk_version");
25396 exit(1);
25397 }
25398
25399 if ((gtk_major_version != $gtk_config_major_version) ||
25400 (gtk_minor_version != $gtk_config_minor_version) ||
25401 (gtk_micro_version != $gtk_config_micro_version))
25402 {
25403 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
25404 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
25405 gtk_major_version, gtk_minor_version, gtk_micro_version);
25406 printf ("*** was found! If gtk-config was correct, then it is best\n");
25407 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
25408 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
25409 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
25410 printf("*** required on your system.\n");
25411 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
25412 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
25413 printf("*** before re-running configure\n");
25414 }
25415 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
25416 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
25417 (gtk_minor_version != GTK_MINOR_VERSION) ||
25418 (gtk_micro_version != GTK_MICRO_VERSION))
25419 {
25420 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
25421 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
25422 printf("*** library (version %d.%d.%d)\n",
25423 gtk_major_version, gtk_minor_version, gtk_micro_version);
25424 }
25425 #endif /* defined (GTK_MAJOR_VERSION) ... */
25426 else
25427 {
25428 if ((gtk_major_version > major) ||
25429 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
25430 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
25431 {
25432 return 0;
25433 }
25434 else
25435 {
25436 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
25437 gtk_major_version, gtk_minor_version, gtk_micro_version);
25438 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
25439 major, minor, micro);
25440 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
25441 printf("***\n");
25442 printf("*** If you have already installed a sufficiently new version, this error\n");
25443 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
25444 printf("*** being found. The easiest way to fix this is to remove the old version\n");
25445 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
25446 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
25447 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
25448 printf("*** so that the correct libraries are found at run-time))\n");
25449 }
25450 }
25451 return 1;
25452 }
25453
25454 _ACEOF
25455 rm -f conftest$ac_exeext
25456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25457 (eval $ac_link) 2>&5
25458 ac_status=$?
25459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25460 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25462 (eval $ac_try) 2>&5
25463 ac_status=$?
25464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25465 (exit $ac_status); }; }; then
25466 :
25467 else
25468 echo "$as_me: program exited with status $ac_status" >&5
25469 echo "$as_me: failed program was:" >&5
25470 sed 's/^/| /' conftest.$ac_ext >&5
25471
25472 ( exit $ac_status )
25473 no_gtk=yes
25474 fi
25475 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25476 fi
25477 CFLAGS="$ac_save_CFLAGS"
25478 LIBS="$ac_save_LIBS"
25479 fi
25480 fi
25481 if test "x$no_gtk" = x ; then
25482 echo "$as_me:$LINENO: result: yes" >&5
25483 echo "${ECHO_T}yes" >&6
25484 wx_cv_lib_gtk=1.2.3
25485 else
25486 echo "$as_me:$LINENO: result: no" >&5
25487 echo "${ECHO_T}no" >&6
25488 if test "$GTK_CONFIG" = "no" ; then
25489 echo "*** The gtk-config script installed by GTK could not be found"
25490 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
25491 echo "*** your path, or set the GTK_CONFIG environment variable to the"
25492 echo "*** full path to gtk-config."
25493 else
25494 if test -f conf.gtktest ; then
25495 :
25496 else
25497 echo "*** Could not run GTK test program, checking why..."
25498 CFLAGS="$CFLAGS $GTK_CFLAGS"
25499 LIBS="$LIBS $GTK_LIBS"
25500 cat >conftest.$ac_ext <<_ACEOF
25501 /* confdefs.h. */
25502 _ACEOF
25503 cat confdefs.h >>conftest.$ac_ext
25504 cat >>conftest.$ac_ext <<_ACEOF
25505 /* end confdefs.h. */
25506
25507 #include <gtk/gtk.h>
25508 #include <stdio.h>
25509
25510 int
25511 main ()
25512 {
25513 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
25514 ;
25515 return 0;
25516 }
25517 _ACEOF
25518 rm -f conftest.$ac_objext conftest$ac_exeext
25519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25520 (eval $ac_link) 2>conftest.er1
25521 ac_status=$?
25522 grep -v '^ *+' conftest.er1 >conftest.err
25523 rm -f conftest.er1
25524 cat conftest.err >&5
25525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25526 (exit $ac_status); } &&
25527 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25529 (eval $ac_try) 2>&5
25530 ac_status=$?
25531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25532 (exit $ac_status); }; } &&
25533 { ac_try='test -s conftest$ac_exeext'
25534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25535 (eval $ac_try) 2>&5
25536 ac_status=$?
25537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25538 (exit $ac_status); }; }; then
25539 echo "*** The test program compiled, but did not run. This usually means"
25540 echo "*** that the run-time linker is not finding GTK or finding the wrong"
25541 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
25542 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25543 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25544 echo "*** is required on your system"
25545 echo "***"
25546 echo "*** If you have an old version installed, it is best to remove it, although"
25547 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25548 echo "***"
25549 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
25550 echo "*** came with the system with the command"
25551 echo "***"
25552 echo "*** rpm --erase --nodeps gtk gtk-devel"
25553 else
25554 echo "$as_me: failed program was:" >&5
25555 sed 's/^/| /' conftest.$ac_ext >&5
25556
25557 echo "*** The test program failed to compile or link. See the file config.log for the"
25558 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
25559 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
25560 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
25561 fi
25562 rm -f conftest.err conftest.$ac_objext \
25563 conftest$ac_exeext conftest.$ac_ext
25564 CFLAGS="$ac_save_CFLAGS"
25565 LIBS="$ac_save_LIBS"
25566 fi
25567 fi
25568 GTK_CFLAGS=""
25569 GTK_LIBS=""
25570 :
25571 fi
25572
25573
25574 rm -f conf.gtktest
25575
25576 fi
25577 fi
25578 fi
25579
25580 if test -z "$wx_cv_lib_gtk"; then
25581 wx_cv_lib_gtk=none
25582 else
25583 wx_cv_cflags_gtk=$GTK_CFLAGS
25584 wx_cv_libs_gtk=$GTK_LIBS
25585 fi
25586
25587
25588 fi
25589
25590
25591 if test "$gtk_version_cached" = 1; then
25592 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
25593 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
25594 fi
25595
25596 case "$wx_cv_lib_gtk" in
25597 2.0) WXGTK20=1
25598 TOOLKIT_VERSION=2
25599 ;;
25600 1.2.7) WXGTK127=1
25601 WXGTK12=1
25602 ;;
25603 1.2.3) WXGTK12=1
25604 ;;
25605 *) { { echo "$as_me:$LINENO: error:
25606 The development files for GTK+ were not found. For GTK+ 2, please
25607 ensure that pkg-config is in the path and that gtk+-2.0.pc is
25608 installed. For GTK+ 1.2 please check that gtk-config is in the path,
25609 and that the version is 1.2.3 or above. Also check that the
25610 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
25611 --libs' are in the LD_LIBRARY_PATH or equivalent.
25612 " >&5
25613 echo "$as_me: error:
25614 The development files for GTK+ were not found. For GTK+ 2, please
25615 ensure that pkg-config is in the path and that gtk+-2.0.pc is
25616 installed. For GTK+ 1.2 please check that gtk-config is in the path,
25617 and that the version is 1.2.3 or above. Also check that the
25618 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
25619 --libs' are in the LD_LIBRARY_PATH or equivalent.
25620 " >&2;}
25621 { (exit 1); exit 1; }; }
25622 ;;
25623 esac
25624
25625 if test "$WXGTK20" = 1; then
25626 save_CFLAGS="$CFLAGS"
25627 save_LIBS="$LIBS"
25628 CFLAGS="$CFLAGS $wx_cv_cflags_gtk"
25629 LIBS="$LIBS $wx_cv_libs_gtk"
25630
25631
25632 for ac_func in pango_font_family_is_monospace
25633 do
25634 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25635 echo "$as_me:$LINENO: checking for $ac_func" >&5
25636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25637 if eval "test \"\${$as_ac_var+set}\" = set"; then
25638 echo $ECHO_N "(cached) $ECHO_C" >&6
25639 else
25640 cat >conftest.$ac_ext <<_ACEOF
25641 /* confdefs.h. */
25642 _ACEOF
25643 cat confdefs.h >>conftest.$ac_ext
25644 cat >>conftest.$ac_ext <<_ACEOF
25645 /* end confdefs.h. */
25646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25647 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25648 #define $ac_func innocuous_$ac_func
25649
25650 /* System header to define __stub macros and hopefully few prototypes,
25651 which can conflict with char $ac_func (); below.
25652 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25653 <limits.h> exists even on freestanding compilers. */
25654
25655 #ifdef __STDC__
25656 # include <limits.h>
25657 #else
25658 # include <assert.h>
25659 #endif
25660
25661 #undef $ac_func
25662
25663 /* Override any gcc2 internal prototype to avoid an error. */
25664 #ifdef __cplusplus
25665 extern "C"
25666 {
25667 #endif
25668 /* We use char because int might match the return type of a gcc2
25669 builtin and then its argument prototype would still apply. */
25670 char $ac_func ();
25671 /* The GNU C library defines this for functions which it implements
25672 to always fail with ENOSYS. Some functions are actually named
25673 something starting with __ and the normal name is an alias. */
25674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25675 choke me
25676 #else
25677 char (*f) () = $ac_func;
25678 #endif
25679 #ifdef __cplusplus
25680 }
25681 #endif
25682
25683 int
25684 main ()
25685 {
25686 return f != $ac_func;
25687 ;
25688 return 0;
25689 }
25690 _ACEOF
25691 rm -f conftest.$ac_objext conftest$ac_exeext
25692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25693 (eval $ac_link) 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_exeext'
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 eval "$as_ac_var=yes"
25713 else
25714 echo "$as_me: failed program was:" >&5
25715 sed 's/^/| /' conftest.$ac_ext >&5
25716
25717 eval "$as_ac_var=no"
25718 fi
25719 rm -f conftest.err conftest.$ac_objext \
25720 conftest$ac_exeext conftest.$ac_ext
25721 fi
25722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25723 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25724 if test `eval echo '${'$as_ac_var'}'` = yes; then
25725 cat >>confdefs.h <<_ACEOF
25726 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25727 _ACEOF
25728
25729 fi
25730 done
25731
25732
25733 echo "$as_me:$LINENO: checking if gtk_icon_size_lookup is missing" >&5
25734 echo $ECHO_N "checking if gtk_icon_size_lookup is missing... $ECHO_C" >&6
25735 cat >conftest.$ac_ext <<_ACEOF
25736 /* confdefs.h. */
25737 _ACEOF
25738 cat confdefs.h >>conftest.$ac_ext
25739 cat >>conftest.$ac_ext <<_ACEOF
25740 /* end confdefs.h. */
25741
25742 #include <gtk/gtk.h>
25743
25744 int
25745 main ()
25746 {
25747
25748 void *f = gtk_icon_size_lookup;
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 echo "$as_me:$LINENO: result: no" >&5
25777 echo "${ECHO_T}no" >&6
25778
25779 else
25780 echo "$as_me: failed program was:" >&5
25781 sed 's/^/| /' conftest.$ac_ext >&5
25782
25783
25784 cat >>confdefs.h <<\_ACEOF
25785 #define NEED_GTK_ICON_SIZE_LOOKUP 1
25786 _ACEOF
25787
25788 echo "$as_me:$LINENO: result: yes" >&5
25789 echo "${ECHO_T}yes" >&6
25790
25791 fi
25792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25793
25794 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
25795 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
25796 cat >conftest.$ac_ext <<_ACEOF
25797 /* confdefs.h. */
25798 _ACEOF
25799 cat confdefs.h >>conftest.$ac_ext
25800 cat >>conftest.$ac_ext <<_ACEOF
25801 /* end confdefs.h. */
25802
25803 #include <gtk/gtk.h>
25804
25805 int
25806 main ()
25807 {
25808
25809 #if !GTK_CHECK_VERSION(2,4,0)
25810 #error "Not GTK+ 2.4"
25811 #endif
25812
25813 ;
25814 return 0;
25815 }
25816 _ACEOF
25817 rm -f conftest.$ac_objext
25818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25819 (eval $ac_compile) 2>conftest.er1
25820 ac_status=$?
25821 grep -v '^ *+' conftest.er1 >conftest.err
25822 rm -f conftest.er1
25823 cat conftest.err >&5
25824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25825 (exit $ac_status); } &&
25826 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25828 (eval $ac_try) 2>&5
25829 ac_status=$?
25830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25831 (exit $ac_status); }; } &&
25832 { ac_try='test -s conftest.$ac_objext'
25833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25834 (eval $ac_try) 2>&5
25835 ac_status=$?
25836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25837 (exit $ac_status); }; }; then
25838
25839 cat >>confdefs.h <<\_ACEOF
25840 #define __WXGTK24__ 1
25841 _ACEOF
25842
25843 echo "$as_me:$LINENO: result: yes" >&5
25844 echo "${ECHO_T}yes" >&6
25845
25846 else
25847 echo "$as_me: failed program was:" >&5
25848 sed 's/^/| /' conftest.$ac_ext >&5
25849
25850
25851 echo "$as_me:$LINENO: result: no" >&5
25852 echo "${ECHO_T}no" >&6
25853
25854 fi
25855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25856
25857 CFLAGS="$save_CFLAGS"
25858 LIBS="$save_LIBS"
25859 else
25860 if test "$wxUSE_UNICODE" = "yes"; then
25861 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
25862 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
25863 wxUSE_UNICODE=no
25864 fi
25865 fi
25866
25867 if test "$USE_DARWIN" != 1; then
25868
25869 for ac_func in poll
25870 do
25871 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25872 echo "$as_me:$LINENO: checking for $ac_func" >&5
25873 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25874 if eval "test \"\${$as_ac_var+set}\" = set"; then
25875 echo $ECHO_N "(cached) $ECHO_C" >&6
25876 else
25877 cat >conftest.$ac_ext <<_ACEOF
25878 /* confdefs.h. */
25879 _ACEOF
25880 cat confdefs.h >>conftest.$ac_ext
25881 cat >>conftest.$ac_ext <<_ACEOF
25882 /* end confdefs.h. */
25883 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25884 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25885 #define $ac_func innocuous_$ac_func
25886
25887 /* System header to define __stub macros and hopefully few prototypes,
25888 which can conflict with char $ac_func (); below.
25889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25890 <limits.h> exists even on freestanding compilers. */
25891
25892 #ifdef __STDC__
25893 # include <limits.h>
25894 #else
25895 # include <assert.h>
25896 #endif
25897
25898 #undef $ac_func
25899
25900 /* Override any gcc2 internal prototype to avoid an error. */
25901 #ifdef __cplusplus
25902 extern "C"
25903 {
25904 #endif
25905 /* We use char because int might match the return type of a gcc2
25906 builtin and then its argument prototype would still apply. */
25907 char $ac_func ();
25908 /* The GNU C library defines this for functions which it implements
25909 to always fail with ENOSYS. Some functions are actually named
25910 something starting with __ and the normal name is an alias. */
25911 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25912 choke me
25913 #else
25914 char (*f) () = $ac_func;
25915 #endif
25916 #ifdef __cplusplus
25917 }
25918 #endif
25919
25920 int
25921 main ()
25922 {
25923 return f != $ac_func;
25924 ;
25925 return 0;
25926 }
25927 _ACEOF
25928 rm -f conftest.$ac_objext conftest$ac_exeext
25929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25930 (eval $ac_link) 2>conftest.er1
25931 ac_status=$?
25932 grep -v '^ *+' conftest.er1 >conftest.err
25933 rm -f conftest.er1
25934 cat conftest.err >&5
25935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25936 (exit $ac_status); } &&
25937 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25939 (eval $ac_try) 2>&5
25940 ac_status=$?
25941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25942 (exit $ac_status); }; } &&
25943 { ac_try='test -s conftest$ac_exeext'
25944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25945 (eval $ac_try) 2>&5
25946 ac_status=$?
25947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25948 (exit $ac_status); }; }; then
25949 eval "$as_ac_var=yes"
25950 else
25951 echo "$as_me: failed program was:" >&5
25952 sed 's/^/| /' conftest.$ac_ext >&5
25953
25954 eval "$as_ac_var=no"
25955 fi
25956 rm -f conftest.err conftest.$ac_objext \
25957 conftest$ac_exeext conftest.$ac_ext
25958 fi
25959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25960 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25961 if test `eval echo '${'$as_ac_var'}'` = yes; then
25962 cat >>confdefs.h <<_ACEOF
25963 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25964 _ACEOF
25965
25966 fi
25967 done
25968
25969 fi
25970
25971 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
25972 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
25973
25974 AFMINSTALL=afminstall
25975 TOOLKIT=GTK
25976 GUIDIST=GTK_DIST
25977
25978 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
25979 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
25980 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
25981 echo $ECHO_N "(cached) $ECHO_C" >&6
25982 else
25983 ac_check_lib_save_LIBS=$LIBS
25984 LIBS="-lgdk $LIBS"
25985 cat >conftest.$ac_ext <<_ACEOF
25986 /* confdefs.h. */
25987 _ACEOF
25988 cat confdefs.h >>conftest.$ac_ext
25989 cat >>conftest.$ac_ext <<_ACEOF
25990 /* end confdefs.h. */
25991
25992 /* Override any gcc2 internal prototype to avoid an error. */
25993 #ifdef __cplusplus
25994 extern "C"
25995 #endif
25996 /* We use char because int might match the return type of a gcc2
25997 builtin and then its argument prototype would still apply. */
25998 char gdk_im_open ();
25999 int
26000 main ()
26001 {
26002 gdk_im_open ();
26003 ;
26004 return 0;
26005 }
26006 _ACEOF
26007 rm -f conftest.$ac_objext conftest$ac_exeext
26008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26009 (eval $ac_link) 2>conftest.er1
26010 ac_status=$?
26011 grep -v '^ *+' conftest.er1 >conftest.err
26012 rm -f conftest.er1
26013 cat conftest.err >&5
26014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26015 (exit $ac_status); } &&
26016 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26018 (eval $ac_try) 2>&5
26019 ac_status=$?
26020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26021 (exit $ac_status); }; } &&
26022 { ac_try='test -s conftest$ac_exeext'
26023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26024 (eval $ac_try) 2>&5
26025 ac_status=$?
26026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26027 (exit $ac_status); }; }; then
26028 ac_cv_lib_gdk_gdk_im_open=yes
26029 else
26030 echo "$as_me: failed program was:" >&5
26031 sed 's/^/| /' conftest.$ac_ext >&5
26032
26033 ac_cv_lib_gdk_gdk_im_open=no
26034 fi
26035 rm -f conftest.err conftest.$ac_objext \
26036 conftest$ac_exeext conftest.$ac_ext
26037 LIBS=$ac_check_lib_save_LIBS
26038 fi
26039 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
26040 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
26041 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
26042 cat >>confdefs.h <<\_ACEOF
26043 #define HAVE_XIM 1
26044 _ACEOF
26045
26046 fi
26047
26048
26049
26050 if test "$wxUSE_GPE" = "yes"; then
26051 echo "$as_me:$LINENO: checking for gpewidget library" >&5
26052 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
26053
26054 ac_find_libraries=
26055 for ac_dir in $SEARCH_LIB /usr/lib;
26056 do
26057 for ac_extension in a so sl dylib; do
26058 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
26059 ac_find_libraries=$ac_dir
26060 break 2
26061 fi
26062 done
26063 done
26064
26065 if test "$ac_find_libraries" != "" ; then
26066
26067 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26068 result=$?
26069 if test $result = 0; then
26070 ac_path_to_link=""
26071 else
26072 ac_path_to_link=" -L$ac_find_libraries"
26073 fi
26074
26075 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
26076 WXGPE=1
26077 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26078 echo "${ECHO_T}found at $ac_find_libraries" >&6
26079 else
26080 echo "$as_me:$LINENO: result: not found" >&5
26081 echo "${ECHO_T}not found" >&6
26082 fi
26083
26084 fi
26085 fi
26086
26087 if test "$wxUSE_MGL" = 1; then
26088 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
26089 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
26090 if test "x$MGL_ROOT" = x ; then
26091 echo "$as_me:$LINENO: result: not found" >&5
26092 echo "${ECHO_T}not found" >&6
26093 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
26094 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
26095 { (exit 1); exit 1; }; }
26096 else
26097 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
26098 echo "${ECHO_T}$MGL_ROOT" >&6
26099 fi
26100
26101 echo "$as_me:$LINENO: checking for libmgl location" >&5
26102 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
26103 case "${host}" in
26104 *-*-linux* )
26105 if test "x$wxUSE_SHARED" = xyes ; then
26106 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
26107 else
26108 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
26109 fi
26110 ;;
26111 *-pc-msdosdjgpp )
26112 mgl_os_candidates="dos32/dj2"
26113 ;;
26114 *)
26115 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
26116 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
26117 { (exit 1); exit 1; }; }
26118 esac
26119
26120 mgl_lib_type=""
26121 mgl_os=""
26122
26123 for mgl_os_i in $mgl_os_candidates ; do
26124 if test "x$mgl_os" = x ; then
26125 if test "$wxUSE_DEBUG_FLAG" = yes ; then
26126 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
26127 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
26128 mgl_lib_type=debug
26129 mgl_os=$mgl_os_i
26130 fi
26131 fi
26132 if test "x$mgl_lib_type" = x ; then
26133 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
26134 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
26135 mgl_lib_type=release
26136 mgl_os=$mgl_os_i
26137 fi
26138 fi
26139 fi
26140 done
26141
26142 if test "x$mgl_os" = x ; then
26143 echo "$as_me:$LINENO: result: not found" >&5
26144 echo "${ECHO_T}not found" >&6
26145 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
26146 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
26147 { (exit 1); exit 1; }; }
26148 fi
26149 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
26150 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
26151
26152 wxUSE_UNIVERSAL="yes"
26153
26154 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
26155 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
26156
26157 AFMINSTALL=afminstall
26158 TOOLKIT=MGL
26159 GUIDIST=MGL_DIST
26160 fi
26161
26162 if test "$wxUSE_MICROWIN" = 1; then
26163 echo "$as_me:$LINENO: checking for MicroWindows" >&5
26164 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
26165 if test "x$MICROWINDOWS" = x ; then
26166 echo "$as_me:$LINENO: result: not found" >&5
26167 echo "${ECHO_T}not found" >&6
26168 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
26169 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
26170 { (exit 1); exit 1; }; }
26171 else
26172 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
26173 echo "${ECHO_T}$MICROWINDOWS" >&6
26174 fi
26175
26176 if test -f $MICROWINDOWS/lib/libmwin.a; then
26177 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
26178 echo "${ECHO_T}MicroWindows' libraries found." >&6
26179 else
26180 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
26181 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
26182 { (exit 1); exit 1; }; }
26183 fi
26184
26185 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
26186 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
26187
26188 wxUSE_UNIVERSAL="yes"
26189
26190 AFMINSTALL=afminstall
26191 TOOLKIT=MICROWIN
26192 GUIDIST=MICROWIN_DIST
26193
26194 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
26195 fi
26196
26197 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26198
26199 if test "x$ac_path_x_has_been_run" != xyes; then
26200 echo "$as_me:$LINENO: checking for X" >&5
26201 echo $ECHO_N "checking for X... $ECHO_C" >&6
26202
26203 ac_path_x_has_been_run=yes
26204
26205 # Check whether --with-x or --without-x was given.
26206 if test "${with_x+set}" = set; then
26207 withval="$with_x"
26208
26209 fi;
26210 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
26211 if test "x$with_x" = xno; then
26212 # The user explicitly disabled X.
26213 have_x=disabled
26214 else
26215 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
26216 # Both variables are already set.
26217 have_x=yes
26218 else
26219 if test "${ac_cv_have_x+set}" = set; then
26220 echo $ECHO_N "(cached) $ECHO_C" >&6
26221 else
26222 # One or both of the vars are not set, and there is no cached value.
26223 ac_x_includes=no ac_x_libraries=no
26224 rm -fr conftest.dir
26225 if mkdir conftest.dir; then
26226 cd conftest.dir
26227 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
26228 cat >Imakefile <<'_ACEOF'
26229 acfindx:
26230 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
26231 _ACEOF
26232 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
26233 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
26234 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
26235 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
26236 for ac_extension in a so sl; do
26237 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
26238 test -f $ac_im_libdir/libX11.$ac_extension; then
26239 ac_im_usrlibdir=$ac_im_libdir; break
26240 fi
26241 done
26242 # Screen out bogus values from the imake configuration. They are
26243 # bogus both because they are the default anyway, and because
26244 # using them would break gcc on systems where it needs fixed includes.
26245 case $ac_im_incroot in
26246 /usr/include) ;;
26247 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
26248 esac
26249 case $ac_im_usrlibdir in
26250 /usr/lib | /lib) ;;
26251 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
26252 esac
26253 fi
26254 cd ..
26255 rm -fr conftest.dir
26256 fi
26257
26258 # Standard set of common directories for X headers.
26259 # Check X11 before X11Rn because it is often a symlink to the current release.
26260 ac_x_header_dirs='
26261 /usr/X11/include
26262 /usr/X11R6/include
26263 /usr/X11R5/include
26264 /usr/X11R4/include
26265
26266 /usr/include/X11
26267 /usr/include/X11R6
26268 /usr/include/X11R5
26269 /usr/include/X11R4
26270
26271 /usr/local/X11/include
26272 /usr/local/X11R6/include
26273 /usr/local/X11R5/include
26274 /usr/local/X11R4/include
26275
26276 /usr/local/include/X11
26277 /usr/local/include/X11R6
26278 /usr/local/include/X11R5
26279 /usr/local/include/X11R4
26280
26281 /usr/X386/include
26282 /usr/x386/include
26283 /usr/XFree86/include/X11
26284
26285 /usr/include
26286 /usr/local/include
26287 /usr/unsupported/include
26288 /usr/athena/include
26289 /usr/local/x11r5/include
26290 /usr/lpp/Xamples/include
26291
26292 /usr/openwin/include
26293 /usr/openwin/share/include'
26294
26295 if test "$ac_x_includes" = no; then
26296 # Guess where to find include files, by looking for a specified header file.
26297 # First, try using that file with no special directory specified.
26298 cat >conftest.$ac_ext <<_ACEOF
26299 /* confdefs.h. */
26300 _ACEOF
26301 cat confdefs.h >>conftest.$ac_ext
26302 cat >>conftest.$ac_ext <<_ACEOF
26303 /* end confdefs.h. */
26304 #include <X11/Intrinsic.h>
26305 _ACEOF
26306 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26307 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26308 ac_status=$?
26309 grep -v '^ *+' conftest.er1 >conftest.err
26310 rm -f conftest.er1
26311 cat conftest.err >&5
26312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26313 (exit $ac_status); } >/dev/null; then
26314 if test -s conftest.err; then
26315 ac_cpp_err=$ac_c_preproc_warn_flag
26316 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26317 else
26318 ac_cpp_err=
26319 fi
26320 else
26321 ac_cpp_err=yes
26322 fi
26323 if test -z "$ac_cpp_err"; then
26324 # We can compile using X headers with no special include directory.
26325 ac_x_includes=
26326 else
26327 echo "$as_me: failed program was:" >&5
26328 sed 's/^/| /' conftest.$ac_ext >&5
26329
26330 for ac_dir in $ac_x_header_dirs; do
26331 if test -r "$ac_dir/X11/Intrinsic.h"; then
26332 ac_x_includes=$ac_dir
26333 break
26334 fi
26335 done
26336 fi
26337 rm -f conftest.err conftest.$ac_ext
26338 fi # $ac_x_includes = no
26339
26340 if test "$ac_x_libraries" = no; then
26341 # Check for the libraries.
26342 # See if we find them without any special options.
26343 # Don't add to $LIBS permanently.
26344 ac_save_LIBS=$LIBS
26345 LIBS="-lXt $LIBS"
26346 cat >conftest.$ac_ext <<_ACEOF
26347 /* confdefs.h. */
26348 _ACEOF
26349 cat confdefs.h >>conftest.$ac_ext
26350 cat >>conftest.$ac_ext <<_ACEOF
26351 /* end confdefs.h. */
26352 #include <X11/Intrinsic.h>
26353 int
26354 main ()
26355 {
26356 XtMalloc (0)
26357 ;
26358 return 0;
26359 }
26360 _ACEOF
26361 rm -f conftest.$ac_objext conftest$ac_exeext
26362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26363 (eval $ac_link) 2>conftest.er1
26364 ac_status=$?
26365 grep -v '^ *+' conftest.er1 >conftest.err
26366 rm -f conftest.er1
26367 cat conftest.err >&5
26368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26369 (exit $ac_status); } &&
26370 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26372 (eval $ac_try) 2>&5
26373 ac_status=$?
26374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26375 (exit $ac_status); }; } &&
26376 { ac_try='test -s conftest$ac_exeext'
26377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26378 (eval $ac_try) 2>&5
26379 ac_status=$?
26380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26381 (exit $ac_status); }; }; then
26382 LIBS=$ac_save_LIBS
26383 # We can link X programs with no special library path.
26384 ac_x_libraries=
26385 else
26386 echo "$as_me: failed program was:" >&5
26387 sed 's/^/| /' conftest.$ac_ext >&5
26388
26389 LIBS=$ac_save_LIBS
26390 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
26391 do
26392 # Don't even attempt the hair of trying to link an X program!
26393 for ac_extension in a so sl; do
26394 if test -r $ac_dir/libXt.$ac_extension; then
26395 ac_x_libraries=$ac_dir
26396 break 2
26397 fi
26398 done
26399 done
26400 fi
26401 rm -f conftest.err conftest.$ac_objext \
26402 conftest$ac_exeext conftest.$ac_ext
26403 fi # $ac_x_libraries = no
26404
26405 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
26406 # Didn't find X anywhere. Cache the known absence of X.
26407 ac_cv_have_x="have_x=no"
26408 else
26409 # Record where we found X for the cache.
26410 ac_cv_have_x="have_x=yes \
26411 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
26412 fi
26413 fi
26414
26415 fi
26416 eval "$ac_cv_have_x"
26417 fi # $with_x != no
26418
26419 if test "$have_x" != yes; then
26420 echo "$as_me:$LINENO: result: $have_x" >&5
26421 echo "${ECHO_T}$have_x" >&6
26422 no_x=yes
26423 else
26424 # If each of the values was on the command line, it overrides each guess.
26425 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
26426 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
26427 # Update the cache value to reflect the command line values.
26428 ac_cv_have_x="have_x=yes \
26429 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
26430 # It might be that x_includes is empty (headers are found in the
26431 # standard search path. Then output the corresponding message
26432 ac_out_x_includes=$x_includes
26433 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
26434 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
26435 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
26436 fi
26437
26438 fi
26439 if test "$no_x" = yes; then
26440 # Not all programs may use this symbol, but it does not hurt to define it.
26441
26442 cat >>confdefs.h <<\_ACEOF
26443 #define X_DISPLAY_MISSING 1
26444 _ACEOF
26445
26446 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
26447 else
26448 if test -n "$x_includes"; then
26449 X_CFLAGS="$X_CFLAGS -I$x_includes"
26450 fi
26451
26452 # It would also be nice to do this for all -L options, not just this one.
26453 if test -n "$x_libraries"; then
26454 X_LIBS="$X_LIBS -L$x_libraries"
26455 # For Solaris; some versions of Sun CC require a space after -R and
26456 # others require no space. Words are not sufficient . . . .
26457 case `(uname -sr) 2>/dev/null` in
26458 "SunOS 5"*)
26459 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
26460 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
26461 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
26462 cat >conftest.$ac_ext <<_ACEOF
26463 /* confdefs.h. */
26464 _ACEOF
26465 cat confdefs.h >>conftest.$ac_ext
26466 cat >>conftest.$ac_ext <<_ACEOF
26467 /* end confdefs.h. */
26468
26469 int
26470 main ()
26471 {
26472
26473 ;
26474 return 0;
26475 }
26476 _ACEOF
26477 rm -f conftest.$ac_objext conftest$ac_exeext
26478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26479 (eval $ac_link) 2>conftest.er1
26480 ac_status=$?
26481 grep -v '^ *+' conftest.er1 >conftest.err
26482 rm -f conftest.er1
26483 cat conftest.err >&5
26484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26485 (exit $ac_status); } &&
26486 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26488 (eval $ac_try) 2>&5
26489 ac_status=$?
26490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26491 (exit $ac_status); }; } &&
26492 { ac_try='test -s conftest$ac_exeext'
26493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26494 (eval $ac_try) 2>&5
26495 ac_status=$?
26496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26497 (exit $ac_status); }; }; then
26498 ac_R_nospace=yes
26499 else
26500 echo "$as_me: failed program was:" >&5
26501 sed 's/^/| /' conftest.$ac_ext >&5
26502
26503 ac_R_nospace=no
26504 fi
26505 rm -f conftest.err conftest.$ac_objext \
26506 conftest$ac_exeext conftest.$ac_ext
26507 if test $ac_R_nospace = yes; then
26508 echo "$as_me:$LINENO: result: no" >&5
26509 echo "${ECHO_T}no" >&6
26510 X_LIBS="$X_LIBS -R$x_libraries"
26511 else
26512 LIBS="$ac_xsave_LIBS -R $x_libraries"
26513 cat >conftest.$ac_ext <<_ACEOF
26514 /* confdefs.h. */
26515 _ACEOF
26516 cat confdefs.h >>conftest.$ac_ext
26517 cat >>conftest.$ac_ext <<_ACEOF
26518 /* end confdefs.h. */
26519
26520 int
26521 main ()
26522 {
26523
26524 ;
26525 return 0;
26526 }
26527 _ACEOF
26528 rm -f conftest.$ac_objext conftest$ac_exeext
26529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26530 (eval $ac_link) 2>conftest.er1
26531 ac_status=$?
26532 grep -v '^ *+' conftest.er1 >conftest.err
26533 rm -f conftest.er1
26534 cat conftest.err >&5
26535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26536 (exit $ac_status); } &&
26537 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26539 (eval $ac_try) 2>&5
26540 ac_status=$?
26541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26542 (exit $ac_status); }; } &&
26543 { ac_try='test -s conftest$ac_exeext'
26544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26545 (eval $ac_try) 2>&5
26546 ac_status=$?
26547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26548 (exit $ac_status); }; }; then
26549 ac_R_space=yes
26550 else
26551 echo "$as_me: failed program was:" >&5
26552 sed 's/^/| /' conftest.$ac_ext >&5
26553
26554 ac_R_space=no
26555 fi
26556 rm -f conftest.err conftest.$ac_objext \
26557 conftest$ac_exeext conftest.$ac_ext
26558 if test $ac_R_space = yes; then
26559 echo "$as_me:$LINENO: result: yes" >&5
26560 echo "${ECHO_T}yes" >&6
26561 X_LIBS="$X_LIBS -R $x_libraries"
26562 else
26563 echo "$as_me:$LINENO: result: neither works" >&5
26564 echo "${ECHO_T}neither works" >&6
26565 fi
26566 fi
26567 LIBS=$ac_xsave_LIBS
26568 esac
26569 fi
26570
26571 # Check for system-dependent libraries X programs must link with.
26572 # Do this before checking for the system-independent R6 libraries
26573 # (-lICE), since we may need -lsocket or whatever for X linking.
26574
26575 if test "$ISC" = yes; then
26576 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
26577 else
26578 # Martyn Johnson says this is needed for Ultrix, if the X
26579 # libraries were built with DECnet support. And Karl Berry says
26580 # the Alpha needs dnet_stub (dnet does not exist).
26581 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
26582 cat >conftest.$ac_ext <<_ACEOF
26583 /* confdefs.h. */
26584 _ACEOF
26585 cat confdefs.h >>conftest.$ac_ext
26586 cat >>conftest.$ac_ext <<_ACEOF
26587 /* end confdefs.h. */
26588
26589 /* Override any gcc2 internal prototype to avoid an error. */
26590 #ifdef __cplusplus
26591 extern "C"
26592 #endif
26593 /* We use char because int might match the return type of a gcc2
26594 builtin and then its argument prototype would still apply. */
26595 char XOpenDisplay ();
26596 int
26597 main ()
26598 {
26599 XOpenDisplay ();
26600 ;
26601 return 0;
26602 }
26603 _ACEOF
26604 rm -f conftest.$ac_objext conftest$ac_exeext
26605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26606 (eval $ac_link) 2>conftest.er1
26607 ac_status=$?
26608 grep -v '^ *+' conftest.er1 >conftest.err
26609 rm -f conftest.er1
26610 cat conftest.err >&5
26611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26612 (exit $ac_status); } &&
26613 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26615 (eval $ac_try) 2>&5
26616 ac_status=$?
26617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26618 (exit $ac_status); }; } &&
26619 { ac_try='test -s conftest$ac_exeext'
26620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26621 (eval $ac_try) 2>&5
26622 ac_status=$?
26623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26624 (exit $ac_status); }; }; then
26625 :
26626 else
26627 echo "$as_me: failed program was:" >&5
26628 sed 's/^/| /' conftest.$ac_ext >&5
26629
26630 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
26631 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
26632 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
26633 echo $ECHO_N "(cached) $ECHO_C" >&6
26634 else
26635 ac_check_lib_save_LIBS=$LIBS
26636 LIBS="-ldnet $LIBS"
26637 cat >conftest.$ac_ext <<_ACEOF
26638 /* confdefs.h. */
26639 _ACEOF
26640 cat confdefs.h >>conftest.$ac_ext
26641 cat >>conftest.$ac_ext <<_ACEOF
26642 /* end confdefs.h. */
26643
26644 /* Override any gcc2 internal prototype to avoid an error. */
26645 #ifdef __cplusplus
26646 extern "C"
26647 #endif
26648 /* We use char because int might match the return type of a gcc2
26649 builtin and then its argument prototype would still apply. */
26650 char dnet_ntoa ();
26651 int
26652 main ()
26653 {
26654 dnet_ntoa ();
26655 ;
26656 return 0;
26657 }
26658 _ACEOF
26659 rm -f conftest.$ac_objext conftest$ac_exeext
26660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26661 (eval $ac_link) 2>conftest.er1
26662 ac_status=$?
26663 grep -v '^ *+' conftest.er1 >conftest.err
26664 rm -f conftest.er1
26665 cat conftest.err >&5
26666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26667 (exit $ac_status); } &&
26668 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26670 (eval $ac_try) 2>&5
26671 ac_status=$?
26672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26673 (exit $ac_status); }; } &&
26674 { ac_try='test -s conftest$ac_exeext'
26675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26676 (eval $ac_try) 2>&5
26677 ac_status=$?
26678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26679 (exit $ac_status); }; }; then
26680 ac_cv_lib_dnet_dnet_ntoa=yes
26681 else
26682 echo "$as_me: failed program was:" >&5
26683 sed 's/^/| /' conftest.$ac_ext >&5
26684
26685 ac_cv_lib_dnet_dnet_ntoa=no
26686 fi
26687 rm -f conftest.err conftest.$ac_objext \
26688 conftest$ac_exeext conftest.$ac_ext
26689 LIBS=$ac_check_lib_save_LIBS
26690 fi
26691 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
26692 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
26693 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
26694 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
26695 fi
26696
26697 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
26698 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
26699 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
26700 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
26701 echo $ECHO_N "(cached) $ECHO_C" >&6
26702 else
26703 ac_check_lib_save_LIBS=$LIBS
26704 LIBS="-ldnet_stub $LIBS"
26705 cat >conftest.$ac_ext <<_ACEOF
26706 /* confdefs.h. */
26707 _ACEOF
26708 cat confdefs.h >>conftest.$ac_ext
26709 cat >>conftest.$ac_ext <<_ACEOF
26710 /* end confdefs.h. */
26711
26712 /* Override any gcc2 internal prototype to avoid an error. */
26713 #ifdef __cplusplus
26714 extern "C"
26715 #endif
26716 /* We use char because int might match the return type of a gcc2
26717 builtin and then its argument prototype would still apply. */
26718 char dnet_ntoa ();
26719 int
26720 main ()
26721 {
26722 dnet_ntoa ();
26723 ;
26724 return 0;
26725 }
26726 _ACEOF
26727 rm -f conftest.$ac_objext conftest$ac_exeext
26728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26729 (eval $ac_link) 2>conftest.er1
26730 ac_status=$?
26731 grep -v '^ *+' conftest.er1 >conftest.err
26732 rm -f conftest.er1
26733 cat conftest.err >&5
26734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26735 (exit $ac_status); } &&
26736 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26738 (eval $ac_try) 2>&5
26739 ac_status=$?
26740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26741 (exit $ac_status); }; } &&
26742 { ac_try='test -s conftest$ac_exeext'
26743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26744 (eval $ac_try) 2>&5
26745 ac_status=$?
26746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26747 (exit $ac_status); }; }; then
26748 ac_cv_lib_dnet_stub_dnet_ntoa=yes
26749 else
26750 echo "$as_me: failed program was:" >&5
26751 sed 's/^/| /' conftest.$ac_ext >&5
26752
26753 ac_cv_lib_dnet_stub_dnet_ntoa=no
26754 fi
26755 rm -f conftest.err conftest.$ac_objext \
26756 conftest$ac_exeext conftest.$ac_ext
26757 LIBS=$ac_check_lib_save_LIBS
26758 fi
26759 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
26760 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
26761 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
26762 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
26763 fi
26764
26765 fi
26766 fi
26767 rm -f conftest.err conftest.$ac_objext \
26768 conftest$ac_exeext conftest.$ac_ext
26769 LIBS="$ac_xsave_LIBS"
26770
26771 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
26772 # to get the SysV transport functions.
26773 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
26774 # needs -lnsl.
26775 # The nsl library prevents programs from opening the X display
26776 # on Irix 5.2, according to T.E. Dickey.
26777 # The functions gethostbyname, getservbyname, and inet_addr are
26778 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
26779 echo "$as_me:$LINENO: checking for gethostbyname" >&5
26780 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
26781 if test "${ac_cv_func_gethostbyname+set}" = set; then
26782 echo $ECHO_N "(cached) $ECHO_C" >&6
26783 else
26784 cat >conftest.$ac_ext <<_ACEOF
26785 /* confdefs.h. */
26786 _ACEOF
26787 cat confdefs.h >>conftest.$ac_ext
26788 cat >>conftest.$ac_ext <<_ACEOF
26789 /* end confdefs.h. */
26790 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
26791 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26792 #define gethostbyname innocuous_gethostbyname
26793
26794 /* System header to define __stub macros and hopefully few prototypes,
26795 which can conflict with char gethostbyname (); below.
26796 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26797 <limits.h> exists even on freestanding compilers. */
26798
26799 #ifdef __STDC__
26800 # include <limits.h>
26801 #else
26802 # include <assert.h>
26803 #endif
26804
26805 #undef gethostbyname
26806
26807 /* Override any gcc2 internal prototype to avoid an error. */
26808 #ifdef __cplusplus
26809 extern "C"
26810 {
26811 #endif
26812 /* We use char because int might match the return type of a gcc2
26813 builtin and then its argument prototype would still apply. */
26814 char gethostbyname ();
26815 /* The GNU C library defines this for functions which it implements
26816 to always fail with ENOSYS. Some functions are actually named
26817 something starting with __ and the normal name is an alias. */
26818 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
26819 choke me
26820 #else
26821 char (*f) () = gethostbyname;
26822 #endif
26823 #ifdef __cplusplus
26824 }
26825 #endif
26826
26827 int
26828 main ()
26829 {
26830 return f != gethostbyname;
26831 ;
26832 return 0;
26833 }
26834 _ACEOF
26835 rm -f conftest.$ac_objext conftest$ac_exeext
26836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26837 (eval $ac_link) 2>conftest.er1
26838 ac_status=$?
26839 grep -v '^ *+' conftest.er1 >conftest.err
26840 rm -f conftest.er1
26841 cat conftest.err >&5
26842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26843 (exit $ac_status); } &&
26844 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26846 (eval $ac_try) 2>&5
26847 ac_status=$?
26848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26849 (exit $ac_status); }; } &&
26850 { ac_try='test -s conftest$ac_exeext'
26851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26852 (eval $ac_try) 2>&5
26853 ac_status=$?
26854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26855 (exit $ac_status); }; }; then
26856 ac_cv_func_gethostbyname=yes
26857 else
26858 echo "$as_me: failed program was:" >&5
26859 sed 's/^/| /' conftest.$ac_ext >&5
26860
26861 ac_cv_func_gethostbyname=no
26862 fi
26863 rm -f conftest.err conftest.$ac_objext \
26864 conftest$ac_exeext conftest.$ac_ext
26865 fi
26866 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
26867 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
26868
26869 if test $ac_cv_func_gethostbyname = no; then
26870 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
26871 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
26872 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
26873 echo $ECHO_N "(cached) $ECHO_C" >&6
26874 else
26875 ac_check_lib_save_LIBS=$LIBS
26876 LIBS="-lnsl $LIBS"
26877 cat >conftest.$ac_ext <<_ACEOF
26878 /* confdefs.h. */
26879 _ACEOF
26880 cat confdefs.h >>conftest.$ac_ext
26881 cat >>conftest.$ac_ext <<_ACEOF
26882 /* end confdefs.h. */
26883
26884 /* Override any gcc2 internal prototype to avoid an error. */
26885 #ifdef __cplusplus
26886 extern "C"
26887 #endif
26888 /* We use char because int might match the return type of a gcc2
26889 builtin and then its argument prototype would still apply. */
26890 char gethostbyname ();
26891 int
26892 main ()
26893 {
26894 gethostbyname ();
26895 ;
26896 return 0;
26897 }
26898 _ACEOF
26899 rm -f conftest.$ac_objext conftest$ac_exeext
26900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26901 (eval $ac_link) 2>conftest.er1
26902 ac_status=$?
26903 grep -v '^ *+' conftest.er1 >conftest.err
26904 rm -f conftest.er1
26905 cat conftest.err >&5
26906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26907 (exit $ac_status); } &&
26908 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26910 (eval $ac_try) 2>&5
26911 ac_status=$?
26912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26913 (exit $ac_status); }; } &&
26914 { ac_try='test -s conftest$ac_exeext'
26915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26916 (eval $ac_try) 2>&5
26917 ac_status=$?
26918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26919 (exit $ac_status); }; }; then
26920 ac_cv_lib_nsl_gethostbyname=yes
26921 else
26922 echo "$as_me: failed program was:" >&5
26923 sed 's/^/| /' conftest.$ac_ext >&5
26924
26925 ac_cv_lib_nsl_gethostbyname=no
26926 fi
26927 rm -f conftest.err conftest.$ac_objext \
26928 conftest$ac_exeext conftest.$ac_ext
26929 LIBS=$ac_check_lib_save_LIBS
26930 fi
26931 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
26932 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
26933 if test $ac_cv_lib_nsl_gethostbyname = yes; then
26934 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
26935 fi
26936
26937 if test $ac_cv_lib_nsl_gethostbyname = no; then
26938 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
26939 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
26940 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
26941 echo $ECHO_N "(cached) $ECHO_C" >&6
26942 else
26943 ac_check_lib_save_LIBS=$LIBS
26944 LIBS="-lbsd $LIBS"
26945 cat >conftest.$ac_ext <<_ACEOF
26946 /* confdefs.h. */
26947 _ACEOF
26948 cat confdefs.h >>conftest.$ac_ext
26949 cat >>conftest.$ac_ext <<_ACEOF
26950 /* end confdefs.h. */
26951
26952 /* Override any gcc2 internal prototype to avoid an error. */
26953 #ifdef __cplusplus
26954 extern "C"
26955 #endif
26956 /* We use char because int might match the return type of a gcc2
26957 builtin and then its argument prototype would still apply. */
26958 char gethostbyname ();
26959 int
26960 main ()
26961 {
26962 gethostbyname ();
26963 ;
26964 return 0;
26965 }
26966 _ACEOF
26967 rm -f conftest.$ac_objext conftest$ac_exeext
26968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26969 (eval $ac_link) 2>conftest.er1
26970 ac_status=$?
26971 grep -v '^ *+' conftest.er1 >conftest.err
26972 rm -f conftest.er1
26973 cat conftest.err >&5
26974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26975 (exit $ac_status); } &&
26976 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26978 (eval $ac_try) 2>&5
26979 ac_status=$?
26980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26981 (exit $ac_status); }; } &&
26982 { ac_try='test -s conftest$ac_exeext'
26983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26984 (eval $ac_try) 2>&5
26985 ac_status=$?
26986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26987 (exit $ac_status); }; }; then
26988 ac_cv_lib_bsd_gethostbyname=yes
26989 else
26990 echo "$as_me: failed program was:" >&5
26991 sed 's/^/| /' conftest.$ac_ext >&5
26992
26993 ac_cv_lib_bsd_gethostbyname=no
26994 fi
26995 rm -f conftest.err conftest.$ac_objext \
26996 conftest$ac_exeext conftest.$ac_ext
26997 LIBS=$ac_check_lib_save_LIBS
26998 fi
26999 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
27000 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
27001 if test $ac_cv_lib_bsd_gethostbyname = yes; then
27002 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
27003 fi
27004
27005 fi
27006 fi
27007
27008 # lieder@skyler.mavd.honeywell.com says without -lsocket,
27009 # socket/setsockopt and other routines are undefined under SCO ODT
27010 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
27011 # on later versions), says Simon Leinen: it contains gethostby*
27012 # variants that don't use the name server (or something). -lsocket
27013 # must be given before -lnsl if both are needed. We assume that
27014 # if connect needs -lnsl, so does gethostbyname.
27015 echo "$as_me:$LINENO: checking for connect" >&5
27016 echo $ECHO_N "checking for connect... $ECHO_C" >&6
27017 if test "${ac_cv_func_connect+set}" = set; then
27018 echo $ECHO_N "(cached) $ECHO_C" >&6
27019 else
27020 cat >conftest.$ac_ext <<_ACEOF
27021 /* confdefs.h. */
27022 _ACEOF
27023 cat confdefs.h >>conftest.$ac_ext
27024 cat >>conftest.$ac_ext <<_ACEOF
27025 /* end confdefs.h. */
27026 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
27027 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27028 #define connect innocuous_connect
27029
27030 /* System header to define __stub macros and hopefully few prototypes,
27031 which can conflict with char connect (); below.
27032 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27033 <limits.h> exists even on freestanding compilers. */
27034
27035 #ifdef __STDC__
27036 # include <limits.h>
27037 #else
27038 # include <assert.h>
27039 #endif
27040
27041 #undef connect
27042
27043 /* Override any gcc2 internal prototype to avoid an error. */
27044 #ifdef __cplusplus
27045 extern "C"
27046 {
27047 #endif
27048 /* We use char because int might match the return type of a gcc2
27049 builtin and then its argument prototype would still apply. */
27050 char connect ();
27051 /* The GNU C library defines this for functions which it implements
27052 to always fail with ENOSYS. Some functions are actually named
27053 something starting with __ and the normal name is an alias. */
27054 #if defined (__stub_connect) || defined (__stub___connect)
27055 choke me
27056 #else
27057 char (*f) () = connect;
27058 #endif
27059 #ifdef __cplusplus
27060 }
27061 #endif
27062
27063 int
27064 main ()
27065 {
27066 return f != connect;
27067 ;
27068 return 0;
27069 }
27070 _ACEOF
27071 rm -f conftest.$ac_objext conftest$ac_exeext
27072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27073 (eval $ac_link) 2>conftest.er1
27074 ac_status=$?
27075 grep -v '^ *+' conftest.er1 >conftest.err
27076 rm -f conftest.er1
27077 cat conftest.err >&5
27078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27079 (exit $ac_status); } &&
27080 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27082 (eval $ac_try) 2>&5
27083 ac_status=$?
27084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27085 (exit $ac_status); }; } &&
27086 { ac_try='test -s conftest$ac_exeext'
27087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27088 (eval $ac_try) 2>&5
27089 ac_status=$?
27090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27091 (exit $ac_status); }; }; then
27092 ac_cv_func_connect=yes
27093 else
27094 echo "$as_me: failed program was:" >&5
27095 sed 's/^/| /' conftest.$ac_ext >&5
27096
27097 ac_cv_func_connect=no
27098 fi
27099 rm -f conftest.err conftest.$ac_objext \
27100 conftest$ac_exeext conftest.$ac_ext
27101 fi
27102 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
27103 echo "${ECHO_T}$ac_cv_func_connect" >&6
27104
27105 if test $ac_cv_func_connect = no; then
27106 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
27107 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
27108 if test "${ac_cv_lib_socket_connect+set}" = set; then
27109 echo $ECHO_N "(cached) $ECHO_C" >&6
27110 else
27111 ac_check_lib_save_LIBS=$LIBS
27112 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
27113 cat >conftest.$ac_ext <<_ACEOF
27114 /* confdefs.h. */
27115 _ACEOF
27116 cat confdefs.h >>conftest.$ac_ext
27117 cat >>conftest.$ac_ext <<_ACEOF
27118 /* end confdefs.h. */
27119
27120 /* Override any gcc2 internal prototype to avoid an error. */
27121 #ifdef __cplusplus
27122 extern "C"
27123 #endif
27124 /* We use char because int might match the return type of a gcc2
27125 builtin and then its argument prototype would still apply. */
27126 char connect ();
27127 int
27128 main ()
27129 {
27130 connect ();
27131 ;
27132 return 0;
27133 }
27134 _ACEOF
27135 rm -f conftest.$ac_objext conftest$ac_exeext
27136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27137 (eval $ac_link) 2>conftest.er1
27138 ac_status=$?
27139 grep -v '^ *+' conftest.er1 >conftest.err
27140 rm -f conftest.er1
27141 cat conftest.err >&5
27142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27143 (exit $ac_status); } &&
27144 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27146 (eval $ac_try) 2>&5
27147 ac_status=$?
27148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27149 (exit $ac_status); }; } &&
27150 { ac_try='test -s conftest$ac_exeext'
27151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27152 (eval $ac_try) 2>&5
27153 ac_status=$?
27154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27155 (exit $ac_status); }; }; then
27156 ac_cv_lib_socket_connect=yes
27157 else
27158 echo "$as_me: failed program was:" >&5
27159 sed 's/^/| /' conftest.$ac_ext >&5
27160
27161 ac_cv_lib_socket_connect=no
27162 fi
27163 rm -f conftest.err conftest.$ac_objext \
27164 conftest$ac_exeext conftest.$ac_ext
27165 LIBS=$ac_check_lib_save_LIBS
27166 fi
27167 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
27168 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
27169 if test $ac_cv_lib_socket_connect = yes; then
27170 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
27171 fi
27172
27173 fi
27174
27175 # Guillermo Gomez says -lposix is necessary on A/UX.
27176 echo "$as_me:$LINENO: checking for remove" >&5
27177 echo $ECHO_N "checking for remove... $ECHO_C" >&6
27178 if test "${ac_cv_func_remove+set}" = set; then
27179 echo $ECHO_N "(cached) $ECHO_C" >&6
27180 else
27181 cat >conftest.$ac_ext <<_ACEOF
27182 /* confdefs.h. */
27183 _ACEOF
27184 cat confdefs.h >>conftest.$ac_ext
27185 cat >>conftest.$ac_ext <<_ACEOF
27186 /* end confdefs.h. */
27187 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
27188 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27189 #define remove innocuous_remove
27190
27191 /* System header to define __stub macros and hopefully few prototypes,
27192 which can conflict with char remove (); below.
27193 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27194 <limits.h> exists even on freestanding compilers. */
27195
27196 #ifdef __STDC__
27197 # include <limits.h>
27198 #else
27199 # include <assert.h>
27200 #endif
27201
27202 #undef remove
27203
27204 /* Override any gcc2 internal prototype to avoid an error. */
27205 #ifdef __cplusplus
27206 extern "C"
27207 {
27208 #endif
27209 /* We use char because int might match the return type of a gcc2
27210 builtin and then its argument prototype would still apply. */
27211 char remove ();
27212 /* The GNU C library defines this for functions which it implements
27213 to always fail with ENOSYS. Some functions are actually named
27214 something starting with __ and the normal name is an alias. */
27215 #if defined (__stub_remove) || defined (__stub___remove)
27216 choke me
27217 #else
27218 char (*f) () = remove;
27219 #endif
27220 #ifdef __cplusplus
27221 }
27222 #endif
27223
27224 int
27225 main ()
27226 {
27227 return f != remove;
27228 ;
27229 return 0;
27230 }
27231 _ACEOF
27232 rm -f conftest.$ac_objext conftest$ac_exeext
27233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27234 (eval $ac_link) 2>conftest.er1
27235 ac_status=$?
27236 grep -v '^ *+' conftest.er1 >conftest.err
27237 rm -f conftest.er1
27238 cat conftest.err >&5
27239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27240 (exit $ac_status); } &&
27241 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27243 (eval $ac_try) 2>&5
27244 ac_status=$?
27245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27246 (exit $ac_status); }; } &&
27247 { ac_try='test -s conftest$ac_exeext'
27248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27249 (eval $ac_try) 2>&5
27250 ac_status=$?
27251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27252 (exit $ac_status); }; }; then
27253 ac_cv_func_remove=yes
27254 else
27255 echo "$as_me: failed program was:" >&5
27256 sed 's/^/| /' conftest.$ac_ext >&5
27257
27258 ac_cv_func_remove=no
27259 fi
27260 rm -f conftest.err conftest.$ac_objext \
27261 conftest$ac_exeext conftest.$ac_ext
27262 fi
27263 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
27264 echo "${ECHO_T}$ac_cv_func_remove" >&6
27265
27266 if test $ac_cv_func_remove = no; then
27267 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
27268 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
27269 if test "${ac_cv_lib_posix_remove+set}" = set; then
27270 echo $ECHO_N "(cached) $ECHO_C" >&6
27271 else
27272 ac_check_lib_save_LIBS=$LIBS
27273 LIBS="-lposix $LIBS"
27274 cat >conftest.$ac_ext <<_ACEOF
27275 /* confdefs.h. */
27276 _ACEOF
27277 cat confdefs.h >>conftest.$ac_ext
27278 cat >>conftest.$ac_ext <<_ACEOF
27279 /* end confdefs.h. */
27280
27281 /* Override any gcc2 internal prototype to avoid an error. */
27282 #ifdef __cplusplus
27283 extern "C"
27284 #endif
27285 /* We use char because int might match the return type of a gcc2
27286 builtin and then its argument prototype would still apply. */
27287 char remove ();
27288 int
27289 main ()
27290 {
27291 remove ();
27292 ;
27293 return 0;
27294 }
27295 _ACEOF
27296 rm -f conftest.$ac_objext conftest$ac_exeext
27297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27298 (eval $ac_link) 2>conftest.er1
27299 ac_status=$?
27300 grep -v '^ *+' conftest.er1 >conftest.err
27301 rm -f conftest.er1
27302 cat conftest.err >&5
27303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27304 (exit $ac_status); } &&
27305 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27307 (eval $ac_try) 2>&5
27308 ac_status=$?
27309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27310 (exit $ac_status); }; } &&
27311 { ac_try='test -s conftest$ac_exeext'
27312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27313 (eval $ac_try) 2>&5
27314 ac_status=$?
27315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27316 (exit $ac_status); }; }; then
27317 ac_cv_lib_posix_remove=yes
27318 else
27319 echo "$as_me: failed program was:" >&5
27320 sed 's/^/| /' conftest.$ac_ext >&5
27321
27322 ac_cv_lib_posix_remove=no
27323 fi
27324 rm -f conftest.err conftest.$ac_objext \
27325 conftest$ac_exeext conftest.$ac_ext
27326 LIBS=$ac_check_lib_save_LIBS
27327 fi
27328 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
27329 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
27330 if test $ac_cv_lib_posix_remove = yes; then
27331 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
27332 fi
27333
27334 fi
27335
27336 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
27337 echo "$as_me:$LINENO: checking for shmat" >&5
27338 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
27339 if test "${ac_cv_func_shmat+set}" = set; then
27340 echo $ECHO_N "(cached) $ECHO_C" >&6
27341 else
27342 cat >conftest.$ac_ext <<_ACEOF
27343 /* confdefs.h. */
27344 _ACEOF
27345 cat confdefs.h >>conftest.$ac_ext
27346 cat >>conftest.$ac_ext <<_ACEOF
27347 /* end confdefs.h. */
27348 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
27349 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27350 #define shmat innocuous_shmat
27351
27352 /* System header to define __stub macros and hopefully few prototypes,
27353 which can conflict with char shmat (); below.
27354 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27355 <limits.h> exists even on freestanding compilers. */
27356
27357 #ifdef __STDC__
27358 # include <limits.h>
27359 #else
27360 # include <assert.h>
27361 #endif
27362
27363 #undef shmat
27364
27365 /* Override any gcc2 internal prototype to avoid an error. */
27366 #ifdef __cplusplus
27367 extern "C"
27368 {
27369 #endif
27370 /* We use char because int might match the return type of a gcc2
27371 builtin and then its argument prototype would still apply. */
27372 char shmat ();
27373 /* The GNU C library defines this for functions which it implements
27374 to always fail with ENOSYS. Some functions are actually named
27375 something starting with __ and the normal name is an alias. */
27376 #if defined (__stub_shmat) || defined (__stub___shmat)
27377 choke me
27378 #else
27379 char (*f) () = shmat;
27380 #endif
27381 #ifdef __cplusplus
27382 }
27383 #endif
27384
27385 int
27386 main ()
27387 {
27388 return f != shmat;
27389 ;
27390 return 0;
27391 }
27392 _ACEOF
27393 rm -f conftest.$ac_objext conftest$ac_exeext
27394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27395 (eval $ac_link) 2>conftest.er1
27396 ac_status=$?
27397 grep -v '^ *+' conftest.er1 >conftest.err
27398 rm -f conftest.er1
27399 cat conftest.err >&5
27400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27401 (exit $ac_status); } &&
27402 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27404 (eval $ac_try) 2>&5
27405 ac_status=$?
27406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27407 (exit $ac_status); }; } &&
27408 { ac_try='test -s conftest$ac_exeext'
27409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27410 (eval $ac_try) 2>&5
27411 ac_status=$?
27412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27413 (exit $ac_status); }; }; then
27414 ac_cv_func_shmat=yes
27415 else
27416 echo "$as_me: failed program was:" >&5
27417 sed 's/^/| /' conftest.$ac_ext >&5
27418
27419 ac_cv_func_shmat=no
27420 fi
27421 rm -f conftest.err conftest.$ac_objext \
27422 conftest$ac_exeext conftest.$ac_ext
27423 fi
27424 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
27425 echo "${ECHO_T}$ac_cv_func_shmat" >&6
27426
27427 if test $ac_cv_func_shmat = no; then
27428 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
27429 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
27430 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
27431 echo $ECHO_N "(cached) $ECHO_C" >&6
27432 else
27433 ac_check_lib_save_LIBS=$LIBS
27434 LIBS="-lipc $LIBS"
27435 cat >conftest.$ac_ext <<_ACEOF
27436 /* confdefs.h. */
27437 _ACEOF
27438 cat confdefs.h >>conftest.$ac_ext
27439 cat >>conftest.$ac_ext <<_ACEOF
27440 /* end confdefs.h. */
27441
27442 /* Override any gcc2 internal prototype to avoid an error. */
27443 #ifdef __cplusplus
27444 extern "C"
27445 #endif
27446 /* We use char because int might match the return type of a gcc2
27447 builtin and then its argument prototype would still apply. */
27448 char shmat ();
27449 int
27450 main ()
27451 {
27452 shmat ();
27453 ;
27454 return 0;
27455 }
27456 _ACEOF
27457 rm -f conftest.$ac_objext conftest$ac_exeext
27458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27459 (eval $ac_link) 2>conftest.er1
27460 ac_status=$?
27461 grep -v '^ *+' conftest.er1 >conftest.err
27462 rm -f conftest.er1
27463 cat conftest.err >&5
27464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27465 (exit $ac_status); } &&
27466 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27468 (eval $ac_try) 2>&5
27469 ac_status=$?
27470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27471 (exit $ac_status); }; } &&
27472 { ac_try='test -s conftest$ac_exeext'
27473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27474 (eval $ac_try) 2>&5
27475 ac_status=$?
27476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27477 (exit $ac_status); }; }; then
27478 ac_cv_lib_ipc_shmat=yes
27479 else
27480 echo "$as_me: failed program was:" >&5
27481 sed 's/^/| /' conftest.$ac_ext >&5
27482
27483 ac_cv_lib_ipc_shmat=no
27484 fi
27485 rm -f conftest.err conftest.$ac_objext \
27486 conftest$ac_exeext conftest.$ac_ext
27487 LIBS=$ac_check_lib_save_LIBS
27488 fi
27489 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
27490 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
27491 if test $ac_cv_lib_ipc_shmat = yes; then
27492 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
27493 fi
27494
27495 fi
27496 fi
27497
27498 # Check for libraries that X11R6 Xt/Xaw programs need.
27499 ac_save_LDFLAGS=$LDFLAGS
27500 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
27501 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
27502 # check for ICE first), but we must link in the order -lSM -lICE or
27503 # we get undefined symbols. So assume we have SM if we have ICE.
27504 # These have to be linked with before -lX11, unlike the other
27505 # libraries we check for below, so use a different variable.
27506 # John Interrante, Karl Berry
27507 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
27508 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
27509 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
27510 echo $ECHO_N "(cached) $ECHO_C" >&6
27511 else
27512 ac_check_lib_save_LIBS=$LIBS
27513 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
27514 cat >conftest.$ac_ext <<_ACEOF
27515 /* confdefs.h. */
27516 _ACEOF
27517 cat confdefs.h >>conftest.$ac_ext
27518 cat >>conftest.$ac_ext <<_ACEOF
27519 /* end confdefs.h. */
27520
27521 /* Override any gcc2 internal prototype to avoid an error. */
27522 #ifdef __cplusplus
27523 extern "C"
27524 #endif
27525 /* We use char because int might match the return type of a gcc2
27526 builtin and then its argument prototype would still apply. */
27527 char IceConnectionNumber ();
27528 int
27529 main ()
27530 {
27531 IceConnectionNumber ();
27532 ;
27533 return 0;
27534 }
27535 _ACEOF
27536 rm -f conftest.$ac_objext conftest$ac_exeext
27537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27538 (eval $ac_link) 2>conftest.er1
27539 ac_status=$?
27540 grep -v '^ *+' conftest.er1 >conftest.err
27541 rm -f conftest.er1
27542 cat conftest.err >&5
27543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27544 (exit $ac_status); } &&
27545 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27547 (eval $ac_try) 2>&5
27548 ac_status=$?
27549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27550 (exit $ac_status); }; } &&
27551 { ac_try='test -s conftest$ac_exeext'
27552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27553 (eval $ac_try) 2>&5
27554 ac_status=$?
27555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27556 (exit $ac_status); }; }; then
27557 ac_cv_lib_ICE_IceConnectionNumber=yes
27558 else
27559 echo "$as_me: failed program was:" >&5
27560 sed 's/^/| /' conftest.$ac_ext >&5
27561
27562 ac_cv_lib_ICE_IceConnectionNumber=no
27563 fi
27564 rm -f conftest.err conftest.$ac_objext \
27565 conftest$ac_exeext conftest.$ac_ext
27566 LIBS=$ac_check_lib_save_LIBS
27567 fi
27568 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
27569 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
27570 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
27571 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
27572 fi
27573
27574 LDFLAGS=$ac_save_LDFLAGS
27575
27576 fi
27577
27578
27579 if test "$no_x" = "yes"; then
27580 { { echo "$as_me:$LINENO: error: X11 not found" >&5
27581 echo "$as_me: error: X11 not found" >&2;}
27582 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
27583 fi
27584
27585 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
27586 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
27587 AFMINSTALL=afminstall
27588 COMPILED_X_PROGRAM=0
27589
27590 fi
27591
27592 if test "$wxUSE_X11" = 1; then
27593 if test "$wxUSE_NANOX" = "yes"; then
27594 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
27595 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
27596 if test "x$MICROWIN" = x ; then
27597 echo "$as_me:$LINENO: result: not found" >&5
27598 echo "${ECHO_T}not found" >&6
27599 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
27600 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
27601 { (exit 1); exit 1; }; }
27602 else
27603 echo "$as_me:$LINENO: result: $MICROWIN" >&5
27604 echo "${ECHO_T}$MICROWIN" >&6
27605 cat >>confdefs.h <<\_ACEOF
27606 #define wxUSE_NANOX 1
27607 _ACEOF
27608
27609 fi
27610 fi
27611
27612 if test "$wxUSE_UNICODE" = "yes"; then
27613
27614 succeeded=no
27615
27616 if test -z "$PKG_CONFIG"; then
27617 # Extract the first word of "pkg-config", so it can be a program name with args.
27618 set dummy pkg-config; ac_word=$2
27619 echo "$as_me:$LINENO: checking for $ac_word" >&5
27620 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27621 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27622 echo $ECHO_N "(cached) $ECHO_C" >&6
27623 else
27624 case $PKG_CONFIG in
27625 [\\/]* | ?:[\\/]*)
27626 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27627 ;;
27628 *)
27629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27630 for as_dir in $PATH
27631 do
27632 IFS=$as_save_IFS
27633 test -z "$as_dir" && as_dir=.
27634 for ac_exec_ext in '' $ac_executable_extensions; do
27635 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27636 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27638 break 2
27639 fi
27640 done
27641 done
27642
27643 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27644 ;;
27645 esac
27646 fi
27647 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27648
27649 if test -n "$PKG_CONFIG"; then
27650 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27651 echo "${ECHO_T}$PKG_CONFIG" >&6
27652 else
27653 echo "$as_me:$LINENO: result: no" >&5
27654 echo "${ECHO_T}no" >&6
27655 fi
27656
27657 fi
27658
27659 if test "$PKG_CONFIG" = "no" ; then
27660 echo "*** The pkg-config script could not be found. Make sure it is"
27661 echo "*** in your path, or set the PKG_CONFIG environment variable"
27662 echo "*** to the full path to pkg-config."
27663 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27664 else
27665 PKG_CONFIG_MIN_VERSION=0.9.0
27666 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27667 echo "$as_me:$LINENO: checking for pangox" >&5
27668 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
27669
27670 if $PKG_CONFIG --exists "pangox" ; then
27671 echo "$as_me:$LINENO: result: yes" >&5
27672 echo "${ECHO_T}yes" >&6
27673 succeeded=yes
27674
27675 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
27676 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
27677 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
27678 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
27679 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
27680
27681 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
27682 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
27683 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
27684 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
27685 echo "${ECHO_T}$PANGOX_LIBS" >&6
27686 else
27687 PANGOX_CFLAGS=""
27688 PANGOX_LIBS=""
27689 ## If we have a custom action on failure, don't print errors, but
27690 ## do set a variable so people can do so.
27691 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
27692
27693 fi
27694
27695
27696
27697 else
27698 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27699 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27700 fi
27701 fi
27702
27703 if test $succeeded = yes; then
27704
27705 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
27706 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
27707
27708 else
27709
27710 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
27711 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
27712 { (exit 1); exit 1; }; }
27713
27714
27715 fi
27716
27717
27718 succeeded=no
27719
27720 if test -z "$PKG_CONFIG"; then
27721 # Extract the first word of "pkg-config", so it can be a program name with args.
27722 set dummy pkg-config; ac_word=$2
27723 echo "$as_me:$LINENO: checking for $ac_word" >&5
27724 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27725 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27726 echo $ECHO_N "(cached) $ECHO_C" >&6
27727 else
27728 case $PKG_CONFIG in
27729 [\\/]* | ?:[\\/]*)
27730 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27731 ;;
27732 *)
27733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27734 for as_dir in $PATH
27735 do
27736 IFS=$as_save_IFS
27737 test -z "$as_dir" && as_dir=.
27738 for ac_exec_ext in '' $ac_executable_extensions; do
27739 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27740 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27742 break 2
27743 fi
27744 done
27745 done
27746
27747 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27748 ;;
27749 esac
27750 fi
27751 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27752
27753 if test -n "$PKG_CONFIG"; then
27754 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27755 echo "${ECHO_T}$PKG_CONFIG" >&6
27756 else
27757 echo "$as_me:$LINENO: result: no" >&5
27758 echo "${ECHO_T}no" >&6
27759 fi
27760
27761 fi
27762
27763 if test "$PKG_CONFIG" = "no" ; then
27764 echo "*** The pkg-config script could not be found. Make sure it is"
27765 echo "*** in your path, or set the PKG_CONFIG environment variable"
27766 echo "*** to the full path to pkg-config."
27767 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27768 else
27769 PKG_CONFIG_MIN_VERSION=0.9.0
27770 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27771 echo "$as_me:$LINENO: checking for pangoft2" >&5
27772 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
27773
27774 if $PKG_CONFIG --exists "pangoft2" ; then
27775 echo "$as_me:$LINENO: result: yes" >&5
27776 echo "${ECHO_T}yes" >&6
27777 succeeded=yes
27778
27779 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
27780 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
27781 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
27782 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
27783 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
27784
27785 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
27786 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
27787 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
27788 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
27789 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
27790 else
27791 PANGOFT2_CFLAGS=""
27792 PANGOFT2_LIBS=""
27793 ## If we have a custom action on failure, don't print errors, but
27794 ## do set a variable so people can do so.
27795 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
27796
27797 fi
27798
27799
27800
27801 else
27802 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27803 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27804 fi
27805 fi
27806
27807 if test $succeeded = yes; then
27808
27809 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
27810 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
27811
27812 else
27813
27814 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
27815 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
27816 wxUSE_PRINTING_ARCHITECTURE="no"
27817
27818
27819 fi
27820
27821
27822 succeeded=no
27823
27824 if test -z "$PKG_CONFIG"; then
27825 # Extract the first word of "pkg-config", so it can be a program name with args.
27826 set dummy pkg-config; ac_word=$2
27827 echo "$as_me:$LINENO: checking for $ac_word" >&5
27828 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27829 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27830 echo $ECHO_N "(cached) $ECHO_C" >&6
27831 else
27832 case $PKG_CONFIG in
27833 [\\/]* | ?:[\\/]*)
27834 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27835 ;;
27836 *)
27837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27838 for as_dir in $PATH
27839 do
27840 IFS=$as_save_IFS
27841 test -z "$as_dir" && as_dir=.
27842 for ac_exec_ext in '' $ac_executable_extensions; do
27843 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27844 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27845 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27846 break 2
27847 fi
27848 done
27849 done
27850
27851 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27852 ;;
27853 esac
27854 fi
27855 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27856
27857 if test -n "$PKG_CONFIG"; then
27858 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27859 echo "${ECHO_T}$PKG_CONFIG" >&6
27860 else
27861 echo "$as_me:$LINENO: result: no" >&5
27862 echo "${ECHO_T}no" >&6
27863 fi
27864
27865 fi
27866
27867 if test "$PKG_CONFIG" = "no" ; then
27868 echo "*** The pkg-config script could not be found. Make sure it is"
27869 echo "*** in your path, or set the PKG_CONFIG environment variable"
27870 echo "*** to the full path to pkg-config."
27871 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27872 else
27873 PKG_CONFIG_MIN_VERSION=0.9.0
27874 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27875 echo "$as_me:$LINENO: checking for pangoxft" >&5
27876 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
27877
27878 if $PKG_CONFIG --exists "pangoxft" ; then
27879 echo "$as_me:$LINENO: result: yes" >&5
27880 echo "${ECHO_T}yes" >&6
27881 succeeded=yes
27882
27883 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
27884 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
27885 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
27886 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
27887 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
27888
27889 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
27890 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
27891 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
27892 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
27893 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
27894 else
27895 PANGOXFT_CFLAGS=""
27896 PANGOXFT_LIBS=""
27897 ## If we have a custom action on failure, don't print errors, but
27898 ## do set a variable so people can do so.
27899 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
27900
27901 fi
27902
27903
27904
27905 else
27906 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27907 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27908 fi
27909 fi
27910
27911 if test $succeeded = yes; then
27912
27913 cat >>confdefs.h <<\_ACEOF
27914 #define HAVE_PANGO_XFT 1
27915 _ACEOF
27916
27917 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
27918 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
27919
27920 else
27921
27922 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
27923 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
27924
27925
27926 fi
27927
27928 save_CFLAGS="$CFLAGS"
27929 save_LIBS="$LIBS"
27930 CFLAGS="$CFLAGS $PANGOX_CFLAGS"
27931 LIBS="$LIBS $PANGOX_LIBS"
27932
27933 for ac_func in pango_font_family_is_monospace
27934 do
27935 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27936 echo "$as_me:$LINENO: checking for $ac_func" >&5
27937 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27938 if eval "test \"\${$as_ac_var+set}\" = set"; then
27939 echo $ECHO_N "(cached) $ECHO_C" >&6
27940 else
27941 cat >conftest.$ac_ext <<_ACEOF
27942 /* confdefs.h. */
27943 _ACEOF
27944 cat confdefs.h >>conftest.$ac_ext
27945 cat >>conftest.$ac_ext <<_ACEOF
27946 /* end confdefs.h. */
27947 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27948 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27949 #define $ac_func innocuous_$ac_func
27950
27951 /* System header to define __stub macros and hopefully few prototypes,
27952 which can conflict with char $ac_func (); below.
27953 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27954 <limits.h> exists even on freestanding compilers. */
27955
27956 #ifdef __STDC__
27957 # include <limits.h>
27958 #else
27959 # include <assert.h>
27960 #endif
27961
27962 #undef $ac_func
27963
27964 /* Override any gcc2 internal prototype to avoid an error. */
27965 #ifdef __cplusplus
27966 extern "C"
27967 {
27968 #endif
27969 /* We use char because int might match the return type of a gcc2
27970 builtin and then its argument prototype would still apply. */
27971 char $ac_func ();
27972 /* The GNU C library defines this for functions which it implements
27973 to always fail with ENOSYS. Some functions are actually named
27974 something starting with __ and the normal name is an alias. */
27975 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27976 choke me
27977 #else
27978 char (*f) () = $ac_func;
27979 #endif
27980 #ifdef __cplusplus
27981 }
27982 #endif
27983
27984 int
27985 main ()
27986 {
27987 return f != $ac_func;
27988 ;
27989 return 0;
27990 }
27991 _ACEOF
27992 rm -f conftest.$ac_objext conftest$ac_exeext
27993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27994 (eval $ac_link) 2>conftest.er1
27995 ac_status=$?
27996 grep -v '^ *+' conftest.er1 >conftest.err
27997 rm -f conftest.er1
27998 cat conftest.err >&5
27999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28000 (exit $ac_status); } &&
28001 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28003 (eval $ac_try) 2>&5
28004 ac_status=$?
28005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28006 (exit $ac_status); }; } &&
28007 { ac_try='test -s conftest$ac_exeext'
28008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28009 (eval $ac_try) 2>&5
28010 ac_status=$?
28011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28012 (exit $ac_status); }; }; then
28013 eval "$as_ac_var=yes"
28014 else
28015 echo "$as_me: failed program was:" >&5
28016 sed 's/^/| /' conftest.$ac_ext >&5
28017
28018 eval "$as_ac_var=no"
28019 fi
28020 rm -f conftest.err conftest.$ac_objext \
28021 conftest$ac_exeext conftest.$ac_ext
28022 fi
28023 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28024 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28025 if test `eval echo '${'$as_ac_var'}'` = yes; then
28026 cat >>confdefs.h <<_ACEOF
28027 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28028 _ACEOF
28029
28030 fi
28031 done
28032
28033 CFLAGS="$save_CFLAGS"
28034 LIBS="$save_LIBS"
28035 fi
28036
28037 wxUSE_UNIVERSAL="yes"
28038
28039 if test "$wxUSE_NANOX" = "yes"; then
28040 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
28041 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"
28042 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
28043 else
28044 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
28045 fi
28046
28047 TOOLKIT=X11
28048 GUIDIST=X11_DIST
28049 fi
28050
28051 if test "$wxUSE_MOTIF" = 1; then
28052 if test "$wxUSE_UNICODE" = "yes"; then
28053 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
28054 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
28055 { (exit 1); exit 1; }; }
28056 fi
28057
28058 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
28059 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
28060
28061 ac_find_includes=
28062 for ac_dir in $SEARCH_INCLUDE /usr/include;
28063 do
28064 if test -f "$ac_dir/Xm/Xm.h"; then
28065 ac_find_includes=$ac_dir
28066 break
28067 fi
28068 done
28069
28070 if test "$ac_find_includes" != "" ; then
28071 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
28072 echo "${ECHO_T}found in $ac_find_includes" >&6
28073
28074 if test "x$ac_find_includes" = "x/usr/include"; then
28075 ac_path_to_include=""
28076 else
28077 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
28078 result=$?
28079 if test $result = 0; then
28080 ac_path_to_include=""
28081 else
28082 ac_path_to_include=" -I$ac_find_includes"
28083 fi
28084 fi
28085
28086 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
28087 else
28088 cat >conftest.$ac_ext <<_ACEOF
28089 /* confdefs.h. */
28090 _ACEOF
28091 cat confdefs.h >>conftest.$ac_ext
28092 cat >>conftest.$ac_ext <<_ACEOF
28093 /* end confdefs.h. */
28094
28095 #include <Xm/Xm.h>
28096
28097 int
28098 main ()
28099 {
28100
28101 int version;
28102 version = xmUseVersion;
28103
28104 ;
28105 return 0;
28106 }
28107 _ACEOF
28108 rm -f conftest.$ac_objext
28109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28110 (eval $ac_compile) 2>conftest.er1
28111 ac_status=$?
28112 grep -v '^ *+' conftest.er1 >conftest.err
28113 rm -f conftest.er1
28114 cat conftest.err >&5
28115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28116 (exit $ac_status); } &&
28117 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28119 (eval $ac_try) 2>&5
28120 ac_status=$?
28121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28122 (exit $ac_status); }; } &&
28123 { ac_try='test -s conftest.$ac_objext'
28124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28125 (eval $ac_try) 2>&5
28126 ac_status=$?
28127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28128 (exit $ac_status); }; }; then
28129
28130 echo "$as_me:$LINENO: result: found in default search path" >&5
28131 echo "${ECHO_T}found in default search path" >&6
28132 COMPILED_X_PROGRAM=1
28133
28134 else
28135 echo "$as_me: failed program was:" >&5
28136 sed 's/^/| /' conftest.$ac_ext >&5
28137
28138
28139 echo "$as_me:$LINENO: result: no" >&5
28140 echo "${ECHO_T}no" >&6
28141 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
28142 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
28143 { (exit 1); exit 1; }; }
28144
28145
28146 fi
28147 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28148 fi
28149
28150 if test "$COMPILED_X_PROGRAM" = 0; then
28151 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
28152 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
28153
28154 ac_find_libraries=
28155 for ac_dir in $SEARCH_LIB /usr/lib;
28156 do
28157 for ac_extension in a so sl dylib; do
28158 if test -f "$ac_dir/libXm.$ac_extension"; then
28159 ac_find_libraries=$ac_dir
28160 break 2
28161 fi
28162 done
28163 done
28164
28165 if test "$ac_find_libraries" != "" ; then
28166 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
28167 echo "${ECHO_T}found at $ac_find_libraries" >&6
28168
28169
28170 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
28171 result=$?
28172 if test $result = 0; then
28173 ac_path_to_link=""
28174 else
28175 ac_path_to_link=" -L$ac_find_libraries"
28176 fi
28177
28178 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
28179 else
28180 save_CFLAGS=$CFLAGS
28181 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
28182
28183 cat >conftest.$ac_ext <<_ACEOF
28184 /* confdefs.h. */
28185 _ACEOF
28186 cat confdefs.h >>conftest.$ac_ext
28187 cat >>conftest.$ac_ext <<_ACEOF
28188 /* end confdefs.h. */
28189
28190 #include <Xm/Xm.h>
28191
28192 int
28193 main ()
28194 {
28195
28196 int version;
28197 version = xmUseVersion;
28198
28199 ;
28200 return 0;
28201 }
28202 _ACEOF
28203 rm -f conftest.$ac_objext
28204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28205 (eval $ac_compile) 2>conftest.er1
28206 ac_status=$?
28207 grep -v '^ *+' conftest.er1 >conftest.err
28208 rm -f conftest.er1
28209 cat conftest.err >&5
28210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28211 (exit $ac_status); } &&
28212 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28214 (eval $ac_try) 2>&5
28215 ac_status=$?
28216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28217 (exit $ac_status); }; } &&
28218 { ac_try='test -s conftest.$ac_objext'
28219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28220 (eval $ac_try) 2>&5
28221 ac_status=$?
28222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28223 (exit $ac_status); }; }; then
28224
28225 echo "$as_me:$LINENO: result: found in default search path" >&5
28226 echo "${ECHO_T}found in default search path" >&6
28227 COMPILED_X_PROGRAM=1
28228
28229 else
28230 echo "$as_me: failed program was:" >&5
28231 sed 's/^/| /' conftest.$ac_ext >&5
28232
28233
28234 echo "$as_me:$LINENO: result: no" >&5
28235 echo "${ECHO_T}no" >&6
28236 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
28237 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
28238 { (exit 1); exit 1; }; }
28239
28240
28241 fi
28242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28243
28244 CFLAGS=$save_CFLAGS
28245 fi
28246 fi
28247
28248 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
28249 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
28250 libp_link=""
28251 libsm_ice_link=""
28252 libs_found=0
28253 for libp in "" " -lXp"; do
28254 if test "$libs_found" = "0"; then
28255 for libsm_ice in "" " -lSM -lICE"; do
28256 if test "$libs_found" = "0"; then
28257 save_LIBS="$LIBS"
28258 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
28259 save_CFLAGS=$CFLAGS
28260 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
28261
28262 cat >conftest.$ac_ext <<_ACEOF
28263 /* confdefs.h. */
28264 _ACEOF
28265 cat confdefs.h >>conftest.$ac_ext
28266 cat >>conftest.$ac_ext <<_ACEOF
28267 /* end confdefs.h. */
28268
28269 #include <Xm/Xm.h>
28270 #include <Xm/List.h>
28271
28272 int
28273 main ()
28274 {
28275
28276 XmString string = NULL;
28277 Widget w = NULL;
28278 int position = 0;
28279 XmListAddItem(w, string, position);
28280
28281 ;
28282 return 0;
28283 }
28284 _ACEOF
28285 rm -f conftest.$ac_objext conftest$ac_exeext
28286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28287 (eval $ac_link) 2>conftest.er1
28288 ac_status=$?
28289 grep -v '^ *+' conftest.er1 >conftest.err
28290 rm -f conftest.er1
28291 cat conftest.err >&5
28292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28293 (exit $ac_status); } &&
28294 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28296 (eval $ac_try) 2>&5
28297 ac_status=$?
28298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28299 (exit $ac_status); }; } &&
28300 { ac_try='test -s conftest$ac_exeext'
28301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28302 (eval $ac_try) 2>&5
28303 ac_status=$?
28304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28305 (exit $ac_status); }; }; then
28306
28307 libp_link="$libp"
28308 libsm_ice_link="$libsm_ice"
28309 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
28310 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
28311 libs_found=1
28312
28313 else
28314 echo "$as_me: failed program was:" >&5
28315 sed 's/^/| /' conftest.$ac_ext >&5
28316
28317
28318
28319 fi
28320 rm -f conftest.err conftest.$ac_objext \
28321 conftest$ac_exeext conftest.$ac_ext
28322
28323 LIBS="$save_LIBS"
28324 CFLAGS=$save_CFLAGS
28325 fi
28326 done
28327 fi
28328 done
28329
28330 if test "$libs_found" = "0"; then
28331 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
28332 echo "${ECHO_T}can't find the right libraries" >&6
28333 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
28334 echo "$as_me: error: can't link a simple motif program" >&2;}
28335 { (exit 1); exit 1; }; }
28336 fi
28337
28338 save_CFLAGS=$CFLAGS
28339 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
28340 echo "$as_me:$LINENO: checking for Motif 2" >&5
28341 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
28342 cat >conftest.$ac_ext <<_ACEOF
28343 /* confdefs.h. */
28344 _ACEOF
28345 cat confdefs.h >>conftest.$ac_ext
28346 cat >>conftest.$ac_ext <<_ACEOF
28347 /* end confdefs.h. */
28348
28349 #include <Xm/Xm.h>
28350
28351 int
28352 main ()
28353 {
28354
28355 #if XmVersion < 2000
28356 #error "Not Motif 2"
28357 #endif
28358
28359 ;
28360 return 0;
28361 }
28362 _ACEOF
28363 rm -f conftest.$ac_objext
28364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28365 (eval $ac_compile) 2>conftest.er1
28366 ac_status=$?
28367 grep -v '^ *+' conftest.er1 >conftest.err
28368 rm -f conftest.er1
28369 cat conftest.err >&5
28370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28371 (exit $ac_status); } &&
28372 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28374 (eval $ac_try) 2>&5
28375 ac_status=$?
28376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28377 (exit $ac_status); }; } &&
28378 { ac_try='test -s conftest.$ac_objext'
28379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28380 (eval $ac_try) 2>&5
28381 ac_status=$?
28382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28383 (exit $ac_status); }; }; then
28384
28385 cat >>confdefs.h <<\_ACEOF
28386 #define __WXMOTIF20__ 1
28387 _ACEOF
28388
28389 echo "$as_me:$LINENO: result: found" >&5
28390 echo "${ECHO_T}found" >&6
28391
28392 else
28393 echo "$as_me: failed program was:" >&5
28394 sed 's/^/| /' conftest.$ac_ext >&5
28395
28396
28397 cat >>confdefs.h <<\_ACEOF
28398 #define __WXMOTIF20__ 0
28399 _ACEOF
28400
28401 echo "$as_me:$LINENO: result: not found" >&5
28402 echo "${ECHO_T}not found" >&6
28403
28404 fi
28405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28406 CFLAGS=$save_CFLAGS
28407
28408 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
28409 TOOLKIT=MOTIF
28410 GUIDIST=MOTIF_DIST
28411 fi
28412
28413 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
28414 if test "$wxUSE_LIBXPM" = "sys"; then
28415 echo "$as_me:$LINENO: checking for Xpm library" >&5
28416 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
28417
28418 ac_find_libraries=
28419 for ac_dir in $SEARCH_LIB /usr/lib;
28420 do
28421 for ac_extension in a so sl dylib; do
28422 if test -f "$ac_dir/libXpm.$ac_extension"; then
28423 ac_find_libraries=$ac_dir
28424 break 2
28425 fi
28426 done
28427 done
28428
28429 if test "$ac_find_libraries" != "" ; then
28430
28431 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
28432 result=$?
28433 if test $result = 0; then
28434 ac_path_to_link=""
28435 else
28436 ac_path_to_link=" -L$ac_find_libraries"
28437 fi
28438
28439 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
28440 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
28441 echo "${ECHO_T}found at $ac_find_libraries" >&6
28442
28443 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
28444 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
28445 if test "${wx_cv_x11_xpm_h+set}" = set; then
28446 echo $ECHO_N "(cached) $ECHO_C" >&6
28447 else
28448
28449 save_CFLAGS=$CFLAGS
28450 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
28451
28452 cat >conftest.$ac_ext <<_ACEOF
28453 /* confdefs.h. */
28454 _ACEOF
28455 cat confdefs.h >>conftest.$ac_ext
28456 cat >>conftest.$ac_ext <<_ACEOF
28457 /* end confdefs.h. */
28458
28459 #include <X11/xpm.h>
28460
28461 int
28462 main ()
28463 {
28464
28465 int version;
28466 version = XpmLibraryVersion();
28467
28468 ;
28469 return 0;
28470 }
28471 _ACEOF
28472 rm -f conftest.$ac_objext
28473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28474 (eval $ac_compile) 2>conftest.er1
28475 ac_status=$?
28476 grep -v '^ *+' conftest.er1 >conftest.err
28477 rm -f conftest.er1
28478 cat conftest.err >&5
28479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28480 (exit $ac_status); } &&
28481 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28483 (eval $ac_try) 2>&5
28484 ac_status=$?
28485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28486 (exit $ac_status); }; } &&
28487 { ac_try='test -s conftest.$ac_objext'
28488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28489 (eval $ac_try) 2>&5
28490 ac_status=$?
28491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28492 (exit $ac_status); }; }; then
28493 wx_cv_x11_xpm_h=yes
28494 else
28495 echo "$as_me: failed program was:" >&5
28496 sed 's/^/| /' conftest.$ac_ext >&5
28497
28498 wx_cv_x11_xpm_h=no
28499
28500 fi
28501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28502
28503 CFLAGS=$save_CFLAGS
28504
28505
28506 fi
28507 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
28508 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
28509
28510 if test $wx_cv_x11_xpm_h = "yes"; then
28511 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
28512 cat >>confdefs.h <<\_ACEOF
28513 #define wxHAVE_LIB_XPM 1
28514 _ACEOF
28515
28516 else
28517 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
28518 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
28519 fi
28520 fi
28521
28522 fi
28523
28524 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
28525 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
28526 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
28527 echo $ECHO_N "(cached) $ECHO_C" >&6
28528 else
28529 ac_check_lib_save_LIBS=$LIBS
28530 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
28531 cat >conftest.$ac_ext <<_ACEOF
28532 /* confdefs.h. */
28533 _ACEOF
28534 cat confdefs.h >>conftest.$ac_ext
28535 cat >>conftest.$ac_ext <<_ACEOF
28536 /* end confdefs.h. */
28537
28538 /* Override any gcc2 internal prototype to avoid an error. */
28539 #ifdef __cplusplus
28540 extern "C"
28541 #endif
28542 /* We use char because int might match the return type of a gcc2
28543 builtin and then its argument prototype would still apply. */
28544 char XShapeQueryExtension ();
28545 int
28546 main ()
28547 {
28548 XShapeQueryExtension ();
28549 ;
28550 return 0;
28551 }
28552 _ACEOF
28553 rm -f conftest.$ac_objext conftest$ac_exeext
28554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28555 (eval $ac_link) 2>conftest.er1
28556 ac_status=$?
28557 grep -v '^ *+' conftest.er1 >conftest.err
28558 rm -f conftest.er1
28559 cat conftest.err >&5
28560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28561 (exit $ac_status); } &&
28562 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28564 (eval $ac_try) 2>&5
28565 ac_status=$?
28566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28567 (exit $ac_status); }; } &&
28568 { ac_try='test -s conftest$ac_exeext'
28569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28570 (eval $ac_try) 2>&5
28571 ac_status=$?
28572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28573 (exit $ac_status); }; }; then
28574 ac_cv_lib_Xext_XShapeQueryExtension=yes
28575 else
28576 echo "$as_me: failed program was:" >&5
28577 sed 's/^/| /' conftest.$ac_ext >&5
28578
28579 ac_cv_lib_Xext_XShapeQueryExtension=no
28580 fi
28581 rm -f conftest.err conftest.$ac_objext \
28582 conftest$ac_exeext conftest.$ac_ext
28583 LIBS=$ac_check_lib_save_LIBS
28584 fi
28585 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
28586 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
28587 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
28588
28589 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
28590 wxHAVE_XEXT_LIB=1
28591
28592 fi
28593
28594
28595 if test "$wxHAVE_XEXT_LIB" = 1; then
28596 save_CFLAGS="$CFLAGS"
28597 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
28598
28599 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
28600 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
28601 cat >conftest.$ac_ext <<_ACEOF
28602 /* confdefs.h. */
28603 _ACEOF
28604 cat confdefs.h >>conftest.$ac_ext
28605 cat >>conftest.$ac_ext <<_ACEOF
28606 /* end confdefs.h. */
28607
28608 #include <X11/Xlib.h>
28609 #include <X11/extensions/shape.h>
28610
28611 int
28612 main ()
28613 {
28614
28615 int dummy1, dummy2;
28616 XShapeQueryExtension((Display*)NULL,
28617 (int*)NULL, (int*)NULL);
28618
28619 ;
28620 return 0;
28621 }
28622 _ACEOF
28623 rm -f conftest.$ac_objext
28624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28625 (eval $ac_compile) 2>conftest.er1
28626 ac_status=$?
28627 grep -v '^ *+' conftest.er1 >conftest.err
28628 rm -f conftest.er1
28629 cat conftest.err >&5
28630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28631 (exit $ac_status); } &&
28632 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28634 (eval $ac_try) 2>&5
28635 ac_status=$?
28636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28637 (exit $ac_status); }; } &&
28638 { ac_try='test -s conftest.$ac_objext'
28639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28640 (eval $ac_try) 2>&5
28641 ac_status=$?
28642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28643 (exit $ac_status); }; }; then
28644
28645 cat >>confdefs.h <<\_ACEOF
28646 #define HAVE_XSHAPE 1
28647 _ACEOF
28648
28649 echo "$as_me:$LINENO: result: found" >&5
28650 echo "${ECHO_T}found" >&6
28651
28652 else
28653 echo "$as_me: failed program was:" >&5
28654 sed 's/^/| /' conftest.$ac_ext >&5
28655
28656
28657 echo "$as_me:$LINENO: result: not found" >&5
28658 echo "${ECHO_T}not found" >&6
28659
28660 fi
28661 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28662 CFLAGS="$save_CFLAGS"
28663
28664 fi
28665 fi
28666
28667 if test "$wxUSE_MAC" = 1; then
28668 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
28669 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
28670 if test "$GCC" = yes; then
28671 echo "$as_me:$LINENO: result: gcc" >&5
28672 echo "${ECHO_T}gcc" >&6
28673 CPPFLAGS_PASCAL="-fpascal-strings"
28674 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
28675 echo "$as_me:$LINENO: result: xlc" >&5
28676 echo "${ECHO_T}xlc" >&6
28677 CPPFLAGS_PASCAL="-qmacpstr"
28678 else
28679 echo "$as_me:$LINENO: result: none" >&5
28680 echo "${ECHO_T}none" >&6
28681 fi
28682
28683 if test "x$wxUSE_UNIX" = "xyes"; then
28684 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
28685 else
28686 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
28687 fi
28688
28689 TOOLKIT=MAC
28690 GUIDIST=MACX_DIST
28691 WXBASEPORT="_carbon"
28692 fi
28693
28694 if test "$wxUSE_COCOA" = 1; then
28695 TOOLKIT=COCOA
28696 GUIDIST=COCOA_DIST
28697 fi
28698
28699 if test "$wxUSE_PM" = 1; then
28700 TOOLKIT=PM
28701 GUIDIST=PM_DIST
28702 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
28703 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
28704 if test "${wx_cv_spbcdata+set}" = set; then
28705 echo $ECHO_N "(cached) $ECHO_C" >&6
28706 else
28707
28708 cat >conftest.$ac_ext <<_ACEOF
28709 /* confdefs.h. */
28710 _ACEOF
28711 cat confdefs.h >>conftest.$ac_ext
28712 cat >>conftest.$ac_ext <<_ACEOF
28713 /* end confdefs.h. */
28714
28715 #define INCL_PM
28716 #include <os2.h>
28717
28718 int
28719 main ()
28720 {
28721
28722 SPBCDATA test;
28723
28724 ;
28725 return 0;
28726 }
28727 _ACEOF
28728 rm -f conftest.$ac_objext
28729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28730 (eval $ac_compile) 2>conftest.er1
28731 ac_status=$?
28732 grep -v '^ *+' conftest.er1 >conftest.err
28733 rm -f conftest.er1
28734 cat conftest.err >&5
28735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28736 (exit $ac_status); } &&
28737 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28739 (eval $ac_try) 2>&5
28740 ac_status=$?
28741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28742 (exit $ac_status); }; } &&
28743 { ac_try='test -s conftest.$ac_objext'
28744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28745 (eval $ac_try) 2>&5
28746 ac_status=$?
28747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28748 (exit $ac_status); }; }; then
28749 wx_cv_spbcdata=yes
28750 else
28751 echo "$as_me: failed program was:" >&5
28752 sed 's/^/| /' conftest.$ac_ext >&5
28753
28754 wx_cv_spbcdata=no
28755
28756 fi
28757 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28758
28759
28760 fi
28761 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
28762 echo "${ECHO_T}$wx_cv_spbcdata" >&6
28763
28764 if test $wx_cv_spbcdata = "yes"; then
28765 cat >>confdefs.h <<\_ACEOF
28766 #define HAVE_SPBCDATA 1
28767 _ACEOF
28768
28769 fi
28770 fi
28771
28772 if test "$TOOLKIT" = "PM" ; then
28773 TOOLKIT_DIR="os2"
28774 else
28775 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
28776 fi
28777
28778 if test "$wxUSE_UNIVERSAL" = "yes"; then
28779 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
28780 WIDGET_SET=univ
28781 fi
28782
28783 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
28784 DISTDIR="wx\$(TOOLKIT)"
28785 else
28786 USE_GUI=0
28787
28788 TOOLKIT_DIR="base"
28789
28790 if test "$USE_WIN32" = 1 ; then
28791 TOOLKIT="MSW"
28792 fi
28793
28794 GUIDIST="BASE_DIST"
28795 DISTDIR="wxBase"
28796 fi
28797
28798
28799
28800
28801 IODBC_C_SRC=""
28802
28803
28804 if test "$TOOLKIT" != "MSW" ; then
28805
28806 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
28807
28808 if test "${ac_cv_header_sql_h+set}" = set; then
28809 echo "$as_me:$LINENO: checking for sql.h" >&5
28810 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
28811 if test "${ac_cv_header_sql_h+set}" = set; then
28812 echo $ECHO_N "(cached) $ECHO_C" >&6
28813 fi
28814 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
28815 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
28816 else
28817 # Is the header compilable?
28818 echo "$as_me:$LINENO: checking sql.h usability" >&5
28819 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
28820 cat >conftest.$ac_ext <<_ACEOF
28821 /* confdefs.h. */
28822 _ACEOF
28823 cat confdefs.h >>conftest.$ac_ext
28824 cat >>conftest.$ac_ext <<_ACEOF
28825 /* end confdefs.h. */
28826 $ac_includes_default
28827 #include <sql.h>
28828 _ACEOF
28829 rm -f conftest.$ac_objext
28830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28831 (eval $ac_compile) 2>conftest.er1
28832 ac_status=$?
28833 grep -v '^ *+' conftest.er1 >conftest.err
28834 rm -f conftest.er1
28835 cat conftest.err >&5
28836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28837 (exit $ac_status); } &&
28838 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28840 (eval $ac_try) 2>&5
28841 ac_status=$?
28842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28843 (exit $ac_status); }; } &&
28844 { ac_try='test -s conftest.$ac_objext'
28845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28846 (eval $ac_try) 2>&5
28847 ac_status=$?
28848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28849 (exit $ac_status); }; }; then
28850 ac_header_compiler=yes
28851 else
28852 echo "$as_me: failed program was:" >&5
28853 sed 's/^/| /' conftest.$ac_ext >&5
28854
28855 ac_header_compiler=no
28856 fi
28857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28858 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28859 echo "${ECHO_T}$ac_header_compiler" >&6
28860
28861 # Is the header present?
28862 echo "$as_me:$LINENO: checking sql.h presence" >&5
28863 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
28864 cat >conftest.$ac_ext <<_ACEOF
28865 /* confdefs.h. */
28866 _ACEOF
28867 cat confdefs.h >>conftest.$ac_ext
28868 cat >>conftest.$ac_ext <<_ACEOF
28869 /* end confdefs.h. */
28870 #include <sql.h>
28871 _ACEOF
28872 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28873 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28874 ac_status=$?
28875 grep -v '^ *+' conftest.er1 >conftest.err
28876 rm -f conftest.er1
28877 cat conftest.err >&5
28878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28879 (exit $ac_status); } >/dev/null; then
28880 if test -s conftest.err; then
28881 ac_cpp_err=$ac_c_preproc_warn_flag
28882 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28883 else
28884 ac_cpp_err=
28885 fi
28886 else
28887 ac_cpp_err=yes
28888 fi
28889 if test -z "$ac_cpp_err"; then
28890 ac_header_preproc=yes
28891 else
28892 echo "$as_me: failed program was:" >&5
28893 sed 's/^/| /' conftest.$ac_ext >&5
28894
28895 ac_header_preproc=no
28896 fi
28897 rm -f conftest.err conftest.$ac_ext
28898 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28899 echo "${ECHO_T}$ac_header_preproc" >&6
28900
28901 # So? What about this header?
28902 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28903 yes:no: )
28904 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
28905 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28906 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
28907 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
28908 ac_header_preproc=yes
28909 ;;
28910 no:yes:* )
28911 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
28912 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
28913 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
28914 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
28915 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
28916 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
28917 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
28918 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
28919 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
28920 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
28921 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
28922 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
28923 (
28924 cat <<\_ASBOX
28925 ## ----------------------------------------- ##
28926 ## Report this to wx-dev@lists.wxwidgets.org ##
28927 ## ----------------------------------------- ##
28928 _ASBOX
28929 ) |
28930 sed "s/^/$as_me: WARNING: /" >&2
28931 ;;
28932 esac
28933 echo "$as_me:$LINENO: checking for sql.h" >&5
28934 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
28935 if test "${ac_cv_header_sql_h+set}" = set; then
28936 echo $ECHO_N "(cached) $ECHO_C" >&6
28937 else
28938 ac_cv_header_sql_h=$ac_header_preproc
28939 fi
28940 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
28941 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
28942
28943 fi
28944 if test $ac_cv_header_sql_h = yes; then
28945 found_sql_h=1
28946 fi
28947
28948
28949 if test "x$found_sql_h" = "x1" ; then
28950 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
28951 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
28952 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
28953 echo $ECHO_N "(cached) $ECHO_C" >&6
28954 else
28955 ac_check_lib_save_LIBS=$LIBS
28956 LIBS="-liodbc $LIBS"
28957 cat >conftest.$ac_ext <<_ACEOF
28958 /* confdefs.h. */
28959 _ACEOF
28960 cat confdefs.h >>conftest.$ac_ext
28961 cat >>conftest.$ac_ext <<_ACEOF
28962 /* end confdefs.h. */
28963
28964 /* Override any gcc2 internal prototype to avoid an error. */
28965 #ifdef __cplusplus
28966 extern "C"
28967 #endif
28968 /* We use char because int might match the return type of a gcc2
28969 builtin and then its argument prototype would still apply. */
28970 char SQLAllocEnv ();
28971 int
28972 main ()
28973 {
28974 SQLAllocEnv ();
28975 ;
28976 return 0;
28977 }
28978 _ACEOF
28979 rm -f conftest.$ac_objext conftest$ac_exeext
28980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28981 (eval $ac_link) 2>conftest.er1
28982 ac_status=$?
28983 grep -v '^ *+' conftest.er1 >conftest.err
28984 rm -f conftest.er1
28985 cat conftest.err >&5
28986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28987 (exit $ac_status); } &&
28988 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28990 (eval $ac_try) 2>&5
28991 ac_status=$?
28992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28993 (exit $ac_status); }; } &&
28994 { ac_try='test -s conftest$ac_exeext'
28995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28996 (eval $ac_try) 2>&5
28997 ac_status=$?
28998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28999 (exit $ac_status); }; }; then
29000 ac_cv_lib_iodbc_SQLAllocEnv=yes
29001 else
29002 echo "$as_me: failed program was:" >&5
29003 sed 's/^/| /' conftest.$ac_ext >&5
29004
29005 ac_cv_lib_iodbc_SQLAllocEnv=no
29006 fi
29007 rm -f conftest.err conftest.$ac_objext \
29008 conftest$ac_exeext conftest.$ac_ext
29009 LIBS=$ac_check_lib_save_LIBS
29010 fi
29011 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
29012 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
29013 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
29014 ODBC_LINK=" -liodbc"
29015 else
29016
29017 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
29018 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
29019 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
29020 echo $ECHO_N "(cached) $ECHO_C" >&6
29021 else
29022 ac_check_lib_save_LIBS=$LIBS
29023 LIBS="-lunixodbc $LIBS"
29024 cat >conftest.$ac_ext <<_ACEOF
29025 /* confdefs.h. */
29026 _ACEOF
29027 cat confdefs.h >>conftest.$ac_ext
29028 cat >>conftest.$ac_ext <<_ACEOF
29029 /* end confdefs.h. */
29030
29031 /* Override any gcc2 internal prototype to avoid an error. */
29032 #ifdef __cplusplus
29033 extern "C"
29034 #endif
29035 /* We use char because int might match the return type of a gcc2
29036 builtin and then its argument prototype would still apply. */
29037 char SQLAllocEnv ();
29038 int
29039 main ()
29040 {
29041 SQLAllocEnv ();
29042 ;
29043 return 0;
29044 }
29045 _ACEOF
29046 rm -f conftest.$ac_objext conftest$ac_exeext
29047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29048 (eval $ac_link) 2>conftest.er1
29049 ac_status=$?
29050 grep -v '^ *+' conftest.er1 >conftest.err
29051 rm -f conftest.er1
29052 cat conftest.err >&5
29053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29054 (exit $ac_status); } &&
29055 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29057 (eval $ac_try) 2>&5
29058 ac_status=$?
29059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29060 (exit $ac_status); }; } &&
29061 { ac_try='test -s conftest$ac_exeext'
29062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29063 (eval $ac_try) 2>&5
29064 ac_status=$?
29065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29066 (exit $ac_status); }; }; then
29067 ac_cv_lib_unixodbc_SQLAllocEnv=yes
29068 else
29069 echo "$as_me: failed program was:" >&5
29070 sed 's/^/| /' conftest.$ac_ext >&5
29071
29072 ac_cv_lib_unixodbc_SQLAllocEnv=no
29073 fi
29074 rm -f conftest.err conftest.$ac_objext \
29075 conftest$ac_exeext conftest.$ac_ext
29076 LIBS=$ac_check_lib_save_LIBS
29077 fi
29078 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
29079 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
29080 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
29081 ODBC_LINK=" -lunixodbc"
29082 else
29083
29084 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
29085 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
29086 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
29087 echo $ECHO_N "(cached) $ECHO_C" >&6
29088 else
29089 ac_check_lib_save_LIBS=$LIBS
29090 LIBS="-lodbc $LIBS"
29091 cat >conftest.$ac_ext <<_ACEOF
29092 /* confdefs.h. */
29093 _ACEOF
29094 cat confdefs.h >>conftest.$ac_ext
29095 cat >>conftest.$ac_ext <<_ACEOF
29096 /* end confdefs.h. */
29097
29098 /* Override any gcc2 internal prototype to avoid an error. */
29099 #ifdef __cplusplus
29100 extern "C"
29101 #endif
29102 /* We use char because int might match the return type of a gcc2
29103 builtin and then its argument prototype would still apply. */
29104 char SQLAllocEnv ();
29105 int
29106 main ()
29107 {
29108 SQLAllocEnv ();
29109 ;
29110 return 0;
29111 }
29112 _ACEOF
29113 rm -f conftest.$ac_objext conftest$ac_exeext
29114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29115 (eval $ac_link) 2>conftest.er1
29116 ac_status=$?
29117 grep -v '^ *+' conftest.er1 >conftest.err
29118 rm -f conftest.er1
29119 cat conftest.err >&5
29120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29121 (exit $ac_status); } &&
29122 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29124 (eval $ac_try) 2>&5
29125 ac_status=$?
29126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29127 (exit $ac_status); }; } &&
29128 { ac_try='test -s conftest$ac_exeext'
29129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29130 (eval $ac_try) 2>&5
29131 ac_status=$?
29132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29133 (exit $ac_status); }; }; then
29134 ac_cv_lib_odbc_SQLAllocEnv=yes
29135 else
29136 echo "$as_me: failed program was:" >&5
29137 sed 's/^/| /' conftest.$ac_ext >&5
29138
29139 ac_cv_lib_odbc_SQLAllocEnv=no
29140 fi
29141 rm -f conftest.err conftest.$ac_objext \
29142 conftest$ac_exeext conftest.$ac_ext
29143 LIBS=$ac_check_lib_save_LIBS
29144 fi
29145 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
29146 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
29147 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
29148 ODBC_LINK=" -lodbc"
29149 fi
29150
29151
29152 fi
29153
29154
29155 fi
29156
29157 fi
29158 if test "x$ODBC_LINK" = "x" ; then
29159 if test "$wxUSE_ODBC" = "sys" ; then
29160 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
29161 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
29162 { (exit 1); exit 1; }; }
29163 else
29164 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
29165 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
29166 wxUSE_ODBC=builtin
29167 fi
29168 else
29169 wxUSE_ODBC=sys
29170 fi
29171 fi
29172
29173 if test "$wxUSE_ODBC" = "builtin" ; then
29174 cat >>confdefs.h <<\_ACEOF
29175 #define wxUSE_BUILTIN_IODBC 1
29176 _ACEOF
29177
29178 fi
29179 fi
29180
29181 if test "$wxUSE_ODBC" != "no" ; then
29182 cat >>confdefs.h <<\_ACEOF
29183 #define wxUSE_ODBC 1
29184 _ACEOF
29185
29186 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
29187
29188 WXODBCFLAG="-D_IODBC_"
29189 fi
29190
29191
29192 if test "$wxUSE_DISPLAY" = "yes"; then
29193 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
29194 echo "$as_me:$LINENO: checking for Xinerama" >&5
29195 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
29196
29197 ac_find_libraries=
29198 for ac_dir in $SEARCH_LIB /usr/lib;
29199 do
29200 for ac_extension in a so sl dylib; do
29201 if test -f "$ac_dir/libXinerama.$ac_extension"; then
29202 ac_find_libraries=$ac_dir
29203 break 2
29204 fi
29205 done
29206 done
29207
29208 if test "$ac_find_libraries" != "" ; then
29209
29210 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
29211 result=$?
29212 if test $result = 0; then
29213 ac_path_to_link=""
29214 else
29215 ac_path_to_link=" -L$ac_find_libraries"
29216 fi
29217
29218 if test "$ac_path_to_link" != " -L/usr/lib" ; then
29219 LDFLAGS="$LDFLAGS $ac_path_to_link"
29220 fi
29221 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
29222 echo "$as_me:$LINENO: result: yes" >&5
29223 echo "${ECHO_T}yes" >&6
29224
29225 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
29226 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
29227
29228 ac_find_libraries=
29229 for ac_dir in $SEARCH_LIB /usr/lib;
29230 do
29231 for ac_extension in a so sl dylib; do
29232 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
29233 ac_find_libraries=$ac_dir
29234 break 2
29235 fi
29236 done
29237 done
29238
29239 if test "$ac_find_libraries" != "" ; then
29240 echo "$as_me:$LINENO: result: yes" >&5
29241 echo "${ECHO_T}yes" >&6
29242
29243 for ac_header in X11/extensions/xf86vmode.h
29244 do
29245 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29246 echo "$as_me:$LINENO: checking for $ac_header" >&5
29247 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29248 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29249 echo $ECHO_N "(cached) $ECHO_C" >&6
29250 else
29251 cat >conftest.$ac_ext <<_ACEOF
29252 /* confdefs.h. */
29253 _ACEOF
29254 cat confdefs.h >>conftest.$ac_ext
29255 cat >>conftest.$ac_ext <<_ACEOF
29256 /* end confdefs.h. */
29257
29258 #if HAVE_X11_XLIB_H
29259 #include <X11/Xlib.h>
29260 #endif
29261
29262
29263 #include <$ac_header>
29264 _ACEOF
29265 rm -f conftest.$ac_objext
29266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29267 (eval $ac_compile) 2>conftest.er1
29268 ac_status=$?
29269 grep -v '^ *+' conftest.er1 >conftest.err
29270 rm -f conftest.er1
29271 cat conftest.err >&5
29272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29273 (exit $ac_status); } &&
29274 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29276 (eval $ac_try) 2>&5
29277 ac_status=$?
29278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29279 (exit $ac_status); }; } &&
29280 { ac_try='test -s conftest.$ac_objext'
29281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29282 (eval $ac_try) 2>&5
29283 ac_status=$?
29284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29285 (exit $ac_status); }; }; then
29286 eval "$as_ac_Header=yes"
29287 else
29288 echo "$as_me: failed program was:" >&5
29289 sed 's/^/| /' conftest.$ac_ext >&5
29290
29291 eval "$as_ac_Header=no"
29292 fi
29293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29294 fi
29295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29296 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29297 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29298 cat >>confdefs.h <<_ACEOF
29299 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29300 _ACEOF
29301
29302 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
29303
29304 fi
29305
29306 done
29307
29308 else
29309 echo "$as_me:$LINENO: result: no" >&5
29310 echo "${ECHO_T}no" >&6
29311 fi
29312
29313 else
29314 echo "$as_me:$LINENO: result: no" >&5
29315 echo "${ECHO_T}no" >&6
29316 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
29317 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
29318 wxUSE_DISPLAY="no"
29319 fi
29320 elif test "$wxUSE_MSW" = 1; then
29321
29322
29323 for ac_header in multimon.h ddraw.h
29324 do
29325 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29326 echo "$as_me:$LINENO: checking for $ac_header" >&5
29327 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29328 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29329 echo $ECHO_N "(cached) $ECHO_C" >&6
29330 else
29331 cat >conftest.$ac_ext <<_ACEOF
29332 /* confdefs.h. */
29333 _ACEOF
29334 cat confdefs.h >>conftest.$ac_ext
29335 cat >>conftest.$ac_ext <<_ACEOF
29336 /* end confdefs.h. */
29337 #include <windows.h>
29338
29339 #include <$ac_header>
29340 _ACEOF
29341 rm -f conftest.$ac_objext
29342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29343 (eval $ac_compile) 2>conftest.er1
29344 ac_status=$?
29345 grep -v '^ *+' conftest.er1 >conftest.err
29346 rm -f conftest.er1
29347 cat conftest.err >&5
29348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29349 (exit $ac_status); } &&
29350 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29352 (eval $ac_try) 2>&5
29353 ac_status=$?
29354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29355 (exit $ac_status); }; } &&
29356 { ac_try='test -s conftest.$ac_objext'
29357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29358 (eval $ac_try) 2>&5
29359 ac_status=$?
29360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29361 (exit $ac_status); }; }; then
29362 eval "$as_ac_Header=yes"
29363 else
29364 echo "$as_me: failed program was:" >&5
29365 sed 's/^/| /' conftest.$ac_ext >&5
29366
29367 eval "$as_ac_Header=no"
29368 fi
29369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29370 fi
29371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29372 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29373 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29374 cat >>confdefs.h <<_ACEOF
29375 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29376 _ACEOF
29377
29378 else
29379
29380 wxUSE_DISPLAY="no"
29381 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
29382 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
29383
29384 fi
29385
29386 done
29387
29388 fi
29389 fi
29390
29391
29392 USE_OPENGL=0
29393 if test "$wxUSE_OPENGL" = "yes"; then
29394 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
29395 OPENGL_LIBS="-framework OpenGL -framework AGL"
29396 elif test "$wxUSE_MSW" = 1; then
29397 OPENGL_LIBS="-lopengl32 -lglu32"
29398 else
29399
29400
29401 ac_find_includes=
29402 for ac_dir in $SEARCH_INCLUDE /usr/include;
29403 do
29404 if test -f "$ac_dir/GL/gl.h"; then
29405 ac_find_includes=$ac_dir
29406 break
29407 fi
29408 done
29409
29410 if test "$ac_find_includes" != "" ; then
29411 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
29412 echo "${ECHO_T}found in $ac_find_includes" >&6
29413
29414 if test "x$ac_find_includes" = "x/usr/include"; then
29415 ac_path_to_include=""
29416 else
29417 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
29418 result=$?
29419 if test $result = 0; then
29420 ac_path_to_include=""
29421 else
29422 ac_path_to_include=" -I$ac_find_includes"
29423 fi
29424 fi
29425
29426 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
29427 fi
29428
29429 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29430 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
29431 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
29432 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29433 echo $ECHO_N "(cached) $ECHO_C" >&6
29434 fi
29435 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
29436 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
29437 else
29438 # Is the header compilable?
29439 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
29440 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
29441 cat >conftest.$ac_ext <<_ACEOF
29442 /* confdefs.h. */
29443 _ACEOF
29444 cat confdefs.h >>conftest.$ac_ext
29445 cat >>conftest.$ac_ext <<_ACEOF
29446 /* end confdefs.h. */
29447 $ac_includes_default
29448 #include <GL/gl.h>
29449 _ACEOF
29450 rm -f conftest.$ac_objext
29451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29452 (eval $ac_compile) 2>conftest.er1
29453 ac_status=$?
29454 grep -v '^ *+' conftest.er1 >conftest.err
29455 rm -f conftest.er1
29456 cat conftest.err >&5
29457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29458 (exit $ac_status); } &&
29459 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29461 (eval $ac_try) 2>&5
29462 ac_status=$?
29463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29464 (exit $ac_status); }; } &&
29465 { ac_try='test -s conftest.$ac_objext'
29466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29467 (eval $ac_try) 2>&5
29468 ac_status=$?
29469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29470 (exit $ac_status); }; }; then
29471 ac_header_compiler=yes
29472 else
29473 echo "$as_me: failed program was:" >&5
29474 sed 's/^/| /' conftest.$ac_ext >&5
29475
29476 ac_header_compiler=no
29477 fi
29478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29479 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29480 echo "${ECHO_T}$ac_header_compiler" >&6
29481
29482 # Is the header present?
29483 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
29484 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
29485 cat >conftest.$ac_ext <<_ACEOF
29486 /* confdefs.h. */
29487 _ACEOF
29488 cat confdefs.h >>conftest.$ac_ext
29489 cat >>conftest.$ac_ext <<_ACEOF
29490 /* end confdefs.h. */
29491 #include <GL/gl.h>
29492 _ACEOF
29493 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29494 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29495 ac_status=$?
29496 grep -v '^ *+' conftest.er1 >conftest.err
29497 rm -f conftest.er1
29498 cat conftest.err >&5
29499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29500 (exit $ac_status); } >/dev/null; then
29501 if test -s conftest.err; then
29502 ac_cpp_err=$ac_c_preproc_warn_flag
29503 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29504 else
29505 ac_cpp_err=
29506 fi
29507 else
29508 ac_cpp_err=yes
29509 fi
29510 if test -z "$ac_cpp_err"; then
29511 ac_header_preproc=yes
29512 else
29513 echo "$as_me: failed program was:" >&5
29514 sed 's/^/| /' conftest.$ac_ext >&5
29515
29516 ac_header_preproc=no
29517 fi
29518 rm -f conftest.err conftest.$ac_ext
29519 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29520 echo "${ECHO_T}$ac_header_preproc" >&6
29521
29522 # So? What about this header?
29523 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29524 yes:no: )
29525 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
29526 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29527 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
29528 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
29529 ac_header_preproc=yes
29530 ;;
29531 no:yes:* )
29532 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
29533 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
29534 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
29535 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
29536 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
29537 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
29538 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
29539 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
29540 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
29541 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
29542 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
29543 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
29544 (
29545 cat <<\_ASBOX
29546 ## ----------------------------------------- ##
29547 ## Report this to wx-dev@lists.wxwidgets.org ##
29548 ## ----------------------------------------- ##
29549 _ASBOX
29550 ) |
29551 sed "s/^/$as_me: WARNING: /" >&2
29552 ;;
29553 esac
29554 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
29555 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
29556 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29557 echo $ECHO_N "(cached) $ECHO_C" >&6
29558 else
29559 ac_cv_header_GL_gl_h=$ac_header_preproc
29560 fi
29561 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
29562 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
29563
29564 fi
29565 if test $ac_cv_header_GL_gl_h = yes; then
29566
29567 found_gl=0
29568
29569 echo "$as_me:$LINENO: checking for -lGL" >&5
29570 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
29571
29572 ac_find_libraries=
29573 for ac_dir in $SEARCH_LIB /usr/lib;
29574 do
29575 for ac_extension in a so sl dylib; do
29576 if test -f "$ac_dir/libGL.$ac_extension"; then
29577 ac_find_libraries=$ac_dir
29578 break 2
29579 fi
29580 done
29581 done
29582
29583 if test "$ac_find_libraries" != "" ; then
29584 echo "$as_me:$LINENO: result: yes" >&5
29585 echo "${ECHO_T}yes" >&6
29586
29587
29588 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
29589 result=$?
29590 if test $result = 0; then
29591 ac_path_to_link=""
29592 else
29593 ac_path_to_link=" -L$ac_find_libraries"
29594 fi
29595
29596 if test "$ac_path_to_link" != " -L/usr/lib" ; then
29597 LDFLAGS_GL="$ac_path_to_link"
29598 fi
29599
29600 echo "$as_me:$LINENO: checking for -lGLU" >&5
29601 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
29602
29603 ac_find_libraries=
29604 for ac_dir in $SEARCH_LIB /usr/lib;
29605 do
29606 for ac_extension in a so sl dylib; do
29607 if test -f "$ac_dir/libGLU.$ac_extension"; then
29608 ac_find_libraries=$ac_dir
29609 break 2
29610 fi
29611 done
29612 done
29613
29614 if test "$ac_find_libraries" != "" ; then
29615
29616 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
29617 result=$?
29618 if test $result = 0; then
29619 ac_path_to_link=""
29620 else
29621 ac_path_to_link=" -L$ac_find_libraries"
29622 fi
29623
29624 if test "$ac_path_to_link" != " -L/usr/lib" -a \
29625 "$ac_path_to_link" != "$LDFLAGS_GL"; then
29626 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
29627 fi
29628
29629 found_gl=1
29630 OPENGL_LIBS="-lGL -lGLU"
29631 echo "$as_me:$LINENO: result: yes" >&5
29632 echo "${ECHO_T}yes" >&6
29633 else
29634 echo "$as_me:$LINENO: result: no" >&5
29635 echo "${ECHO_T}no" >&6
29636 fi
29637 else
29638 echo "$as_me:$LINENO: result: no" >&5
29639 echo "${ECHO_T}no" >&6
29640 fi
29641
29642 if test "$found_gl" != 1; then
29643 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
29644 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
29645
29646 ac_find_libraries=
29647 for ac_dir in $SEARCH_LIB /usr/lib;
29648 do
29649 for ac_extension in a so sl dylib; do
29650 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
29651 ac_find_libraries=$ac_dir
29652 break 2
29653 fi
29654 done
29655 done
29656
29657 if test "$ac_find_libraries" != "" ; then
29658
29659 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
29660 result=$?
29661 if test $result = 0; then
29662 ac_path_to_link=""
29663 else
29664 ac_path_to_link=" -L$ac_find_libraries"
29665 fi
29666
29667 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
29668 OPENGL_LIBS="-lMesaGL -lMesaGLU"
29669 echo "$as_me:$LINENO: result: yes" >&5
29670 echo "${ECHO_T}yes" >&6
29671 else
29672 echo "$as_me:$LINENO: result: no" >&5
29673 echo "${ECHO_T}no" >&6
29674 fi
29675 fi
29676
29677 fi
29678
29679
29680
29681 if test "x$OPENGL_LIBS" = "x"; then
29682 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
29683 echo "$as_me: error: OpenGL libraries not available" >&2;}
29684 { (exit 1); exit 1; }; }
29685 fi
29686 fi
29687
29688 if test "$wxUSE_OPENGL" = "yes"; then
29689 USE_OPENGL=1
29690 cat >>confdefs.h <<\_ACEOF
29691 #define wxUSE_OPENGL 1
29692 _ACEOF
29693
29694 cat >>confdefs.h <<\_ACEOF
29695 #define wxUSE_GLCANVAS 1
29696 _ACEOF
29697
29698 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
29699 fi
29700 fi
29701
29702
29703 if test -n "$TOOLKIT" ; then
29704 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
29705 fi
29706
29707
29708
29709 if test "$wxUSE_SHARED" = "yes"; then
29710 case "${host}" in
29711 *-pc-msdosdjgpp )
29712 wxUSE_SHARED=no
29713 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
29714 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
29715 ;;
29716 esac
29717 fi
29718
29719 if test "$wxUSE_SHARED" = "yes"; then
29720
29721
29722 found_versioning=no
29723
29724
29725 if test $found_versioning = no ; then
29726 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
29727 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
29728 if test "${wx_cv_version_script+set}" = set; then
29729 echo $ECHO_N "(cached) $ECHO_C" >&6
29730 else
29731
29732 echo "VER_1 { *; };" >conftest.sym
29733 echo "int main() { return 0; }" >conftest.cpp
29734
29735 if { ac_try='
29736 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29737 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
29738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29739 (eval $ac_try) 2>&5
29740 ac_status=$?
29741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29742 (exit $ac_status); }; } ; then
29743 if test -s conftest.stderr ; then
29744 wx_cv_version_script=no
29745 else
29746 wx_cv_version_script=yes
29747 fi
29748 else
29749 wx_cv_version_script=no
29750 fi
29751
29752 if test $wx_cv_version_script = yes
29753 then
29754 echo "struct B { virtual ~B() { } }; \
29755 struct D : public B { }; \
29756 void F() { D d; }" > conftest.cpp
29757
29758 if { ac_try='
29759 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29760 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
29761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29762 (eval $ac_try) 2>&5
29763 ac_status=$?
29764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29765 (exit $ac_status); }; } &&
29766 { ac_try='
29767 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29768 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
29769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29770 (eval $ac_try) 2>&5
29771 ac_status=$?
29772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29773 (exit $ac_status); }; }
29774 then
29775 if { ac_try='
29776 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29777 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
29778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29779 (eval $ac_try) 2>&5
29780 ac_status=$?
29781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29782 (exit $ac_status); }; }
29783 then
29784 wx_cv_version_script=yes
29785 else
29786 wx_cv_version_script=no
29787 fi
29788 fi
29789 fi
29790
29791 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
29792 rm -f conftest1.output conftest2.output conftest3.output
29793
29794 fi
29795 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
29796 echo "${ECHO_T}$wx_cv_version_script" >&6
29797 if test $wx_cv_version_script = yes ; then
29798 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
29799 fi
29800 fi
29801
29802
29803 case "${host}" in
29804 *-*-linux* | *-*-gnu* )
29805 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
29806 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29807 ;;
29808
29809 *-*-solaris2* )
29810 if test "$GCC" = yes ; then
29811 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
29812
29813 saveLdflags="$LDFLAGS"
29814 LDFLAGS="$saveLdflags -Wl,-rpath,/"
29815 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
29816 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
29817 cat >conftest.$ac_ext <<_ACEOF
29818 /* confdefs.h. */
29819 _ACEOF
29820 cat confdefs.h >>conftest.$ac_ext
29821 cat >>conftest.$ac_ext <<_ACEOF
29822 /* end confdefs.h. */
29823
29824 int
29825 main ()
29826 {
29827
29828 ;
29829 return 0;
29830 }
29831 _ACEOF
29832 rm -f conftest.$ac_objext conftest$ac_exeext
29833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29834 (eval $ac_link) 2>conftest.er1
29835 ac_status=$?
29836 grep -v '^ *+' conftest.er1 >conftest.err
29837 rm -f conftest.er1
29838 cat conftest.err >&5
29839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29840 (exit $ac_status); } &&
29841 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29843 (eval $ac_try) 2>&5
29844 ac_status=$?
29845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29846 (exit $ac_status); }; } &&
29847 { ac_try='test -s conftest$ac_exeext'
29848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29849 (eval $ac_try) 2>&5
29850 ac_status=$?
29851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29852 (exit $ac_status); }; }; then
29853
29854 echo "$as_me:$LINENO: result: yes" >&5
29855 echo "${ECHO_T}yes" >&6
29856 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
29857 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29858
29859 else
29860 echo "$as_me: failed program was:" >&5
29861 sed 's/^/| /' conftest.$ac_ext >&5
29862
29863
29864 echo "$as_me:$LINENO: result: no" >&5
29865 echo "${ECHO_T}no" >&6
29866 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
29867 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
29868 LDFLAGS="$saveLdflags -Wl,-R,/"
29869 cat >conftest.$ac_ext <<_ACEOF
29870 /* confdefs.h. */
29871 _ACEOF
29872 cat confdefs.h >>conftest.$ac_ext
29873 cat >>conftest.$ac_ext <<_ACEOF
29874 /* end confdefs.h. */
29875
29876 int
29877 main ()
29878 {
29879
29880 ;
29881 return 0;
29882 }
29883 _ACEOF
29884 rm -f conftest.$ac_objext conftest$ac_exeext
29885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29886 (eval $ac_link) 2>conftest.er1
29887 ac_status=$?
29888 grep -v '^ *+' conftest.er1 >conftest.err
29889 rm -f conftest.er1
29890 cat conftest.err >&5
29891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29892 (exit $ac_status); } &&
29893 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29895 (eval $ac_try) 2>&5
29896 ac_status=$?
29897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29898 (exit $ac_status); }; } &&
29899 { ac_try='test -s conftest$ac_exeext'
29900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29901 (eval $ac_try) 2>&5
29902 ac_status=$?
29903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29904 (exit $ac_status); }; }; then
29905
29906 echo "$as_me:$LINENO: result: yes" >&5
29907 echo "${ECHO_T}yes" >&6
29908 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
29909 WXCONFIG_RPATH="-Wl,-R,\$libdir"
29910
29911 else
29912 echo "$as_me: failed program was:" >&5
29913 sed 's/^/| /' conftest.$ac_ext >&5
29914
29915
29916 echo "$as_me:$LINENO: result: no" >&5
29917 echo "${ECHO_T}no" >&6
29918
29919 fi
29920 rm -f conftest.err conftest.$ac_objext \
29921 conftest$ac_exeext conftest.$ac_ext
29922
29923 fi
29924 rm -f conftest.err conftest.$ac_objext \
29925 conftest$ac_exeext conftest.$ac_ext
29926 LDFLAGS="$saveLdflags"
29927 else
29928 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
29929 WXCONFIG_RPATH="-R\$libdir"
29930 fi
29931 ;;
29932
29933 powerpc-*-darwin* )
29934 install_name_tool=`which install_name_tool`
29935 if test "$install_name_tool" -a -x "$install_name_tool"; then
29936 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
29937 cat <<EOF >change-install-names
29938 #!/bin/sh
29939 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
29940 inst_cmd="install_name_tool "
29941 for i in \${libnames} ; do
29942 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
29943 done
29944 \${inst_cmd} \${3}
29945 EOF
29946 chmod +x change-install-names
29947 fi
29948 ;;
29949
29950 *-*-cygwin* | *-*-mingw32* )
29951 TOOLCHAIN_DLL_DEFS="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
29952 ;;
29953
29954 *-*-hpux* )
29955 SAMPLES_RPATH_FLAG="-Wl,+b,\$(top_builddir)lib"
29956 WXCONFIG_RPATH="-Wl,+b,\$libdir"
29957 ;;
29958
29959 esac
29960
29961 if test $wxUSE_RPATH = "no"; then
29962 SAMPLES_RPATH_FLAG=''
29963 SAMPLES_RPATH_POSTLINK=''
29964 WXCONFIG_RPATH=''
29965 fi
29966
29967 SHARED=1
29968
29969 else
29970
29971 config_linkage_component="-static"
29972 SHARED=0
29973
29974 fi
29975
29976
29977 UNICODE=0
29978 lib_unicode_suffix=
29979 WX_CHARTYPE="ansi"
29980 if test "$wxUSE_UNICODE" = "yes"; then
29981 lib_unicode_suffix=u
29982 WX_CHARTYPE="unicode"
29983 UNICODE=1
29984 fi
29985
29986 lib_debug_suffix=
29987 WX_DEBUGTYPE="release"
29988 DEBUG_FLAG=0
29989 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
29990 lib_debug_suffix=d
29991 WX_DEBUGTYPE="debug"
29992 DEBUG_FLAG=1
29993 fi
29994
29995 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
29996 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
29997
29998 DEBUG_INFO=0
29999 if test "$wxUSE_DEBUG_INFO" = "yes"; then
30000 DEBUG_INFO=1
30001 fi
30002
30003 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
30004
30005 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
30006
30007 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
30008
30009 if test "$cross_compiling" = "yes"; then
30010 HOST_SUFFIX="-$host_alias"
30011 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
30012 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
30013 fi
30014
30015 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
30016 if test "${TOOLKIT_DIR}" = "os2"; then
30017 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
30018 else
30019 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
30020 fi
30021
30022
30023
30024 if test "$wxUSE_COCOA" = 1; then
30025
30026
30027 ac_ext=c
30028 ac_cpp='$CPP $CPPFLAGS'
30029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30032
30033 ac_ext=m
30034
30035 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
30036 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
30037 cat >conftest.$ac_ext <<_ACEOF
30038 /* confdefs.h. */
30039 _ACEOF
30040 cat confdefs.h >>conftest.$ac_ext
30041 cat >>conftest.$ac_ext <<_ACEOF
30042 /* end confdefs.h. */
30043 #include <AppKit/NSEvent.h>
30044 #include <CoreFoundation/CoreFoundation.h>
30045
30046 int
30047 main ()
30048 {
30049
30050 ;
30051 return 0;
30052 }
30053 _ACEOF
30054 rm -f conftest.$ac_objext
30055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30056 (eval $ac_compile) 2>conftest.er1
30057 ac_status=$?
30058 grep -v '^ *+' conftest.er1 >conftest.err
30059 rm -f conftest.er1
30060 cat conftest.err >&5
30061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30062 (exit $ac_status); } &&
30063 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30065 (eval $ac_try) 2>&5
30066 ac_status=$?
30067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30068 (exit $ac_status); }; } &&
30069 { ac_try='test -s conftest.$ac_objext'
30070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30071 (eval $ac_try) 2>&5
30072 ac_status=$?
30073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30074 (exit $ac_status); }; }; then
30075 echo "$as_me:$LINENO: result: no" >&5
30076 echo "${ECHO_T}no" >&6
30077 else
30078 echo "$as_me: failed program was:" >&5
30079 sed 's/^/| /' conftest.$ac_ext >&5
30080
30081 echo "$as_me:$LINENO: result: yes" >&5
30082 echo "${ECHO_T}yes" >&6
30083 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
30084 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
30085 cat >conftest.$ac_ext <<_ACEOF
30086 /* confdefs.h. */
30087 _ACEOF
30088 cat confdefs.h >>conftest.$ac_ext
30089 cat >>conftest.$ac_ext <<_ACEOF
30090 /* end confdefs.h. */
30091 #define __Point__ 1
30092 #include <AppKit/NSEvent.h>
30093 #include <CoreFoundation/CoreFoundation.h>
30094
30095 int
30096 main ()
30097 {
30098
30099 ;
30100 return 0;
30101 }
30102 _ACEOF
30103 rm -f conftest.$ac_objext
30104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30105 (eval $ac_compile) 2>conftest.er1
30106 ac_status=$?
30107 grep -v '^ *+' conftest.er1 >conftest.err
30108 rm -f conftest.er1
30109 cat conftest.err >&5
30110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30111 (exit $ac_status); } &&
30112 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30114 (eval $ac_try) 2>&5
30115 ac_status=$?
30116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30117 (exit $ac_status); }; } &&
30118 { ac_try='test -s conftest.$ac_objext'
30119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30120 (eval $ac_try) 2>&5
30121 ac_status=$?
30122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30123 (exit $ac_status); }; }; then
30124 echo "$as_me:$LINENO: result: yes" >&5
30125 echo "${ECHO_T}yes" >&6
30126 cat >>confdefs.h <<\_ACEOF
30127 #define __Point__ 1
30128 _ACEOF
30129
30130
30131 else
30132 echo "$as_me: failed program was:" >&5
30133 sed 's/^/| /' conftest.$ac_ext >&5
30134
30135 { { echo "$as_me:$LINENO: error: no
30136 See \`config.log' for more details." >&5
30137 echo "$as_me: error: no
30138 See \`config.log' for more details." >&2;}
30139 { (exit 1); exit 1; }; }
30140
30141 fi
30142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30143
30144 fi
30145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30146 ac_ext=c
30147 ac_cpp='$CPP $CPPFLAGS'
30148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30151
30152 fi
30153
30154 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
30155 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
30156 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
30157
30158 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
30159
30160 # Extract the first word of "Rez", so it can be a program name with args.
30161 set dummy Rez; ac_word=$2
30162 echo "$as_me:$LINENO: checking for $ac_word" >&5
30163 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30164 if test "${ac_cv_prog_RESCOMP+set}" = set; then
30165 echo $ECHO_N "(cached) $ECHO_C" >&6
30166 else
30167 if test -n "$RESCOMP"; then
30168 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
30169 else
30170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30171 for as_dir in $PATH
30172 do
30173 IFS=$as_save_IFS
30174 test -z "$as_dir" && as_dir=.
30175 for ac_exec_ext in '' $ac_executable_extensions; do
30176 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30177 ac_cv_prog_RESCOMP="Rez"
30178 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30179 break 2
30180 fi
30181 done
30182 done
30183
30184 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
30185 fi
30186 fi
30187 RESCOMP=$ac_cv_prog_RESCOMP
30188 if test -n "$RESCOMP"; then
30189 echo "$as_me:$LINENO: result: $RESCOMP" >&5
30190 echo "${ECHO_T}$RESCOMP" >&6
30191 else
30192 echo "$as_me:$LINENO: result: no" >&5
30193 echo "${ECHO_T}no" >&6
30194 fi
30195
30196 # Extract the first word of "DeRez", so it can be a program name with args.
30197 set dummy DeRez; ac_word=$2
30198 echo "$as_me:$LINENO: checking for $ac_word" >&5
30199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30200 if test "${ac_cv_prog_DEREZ+set}" = set; then
30201 echo $ECHO_N "(cached) $ECHO_C" >&6
30202 else
30203 if test -n "$DEREZ"; then
30204 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
30205 else
30206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30207 for as_dir in $PATH
30208 do
30209 IFS=$as_save_IFS
30210 test -z "$as_dir" && as_dir=.
30211 for ac_exec_ext in '' $ac_executable_extensions; do
30212 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30213 ac_cv_prog_DEREZ="DeRez"
30214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30215 break 2
30216 fi
30217 done
30218 done
30219
30220 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
30221 fi
30222 fi
30223 DEREZ=$ac_cv_prog_DEREZ
30224 if test -n "$DEREZ"; then
30225 echo "$as_me:$LINENO: result: $DEREZ" >&5
30226 echo "${ECHO_T}$DEREZ" >&6
30227 else
30228 echo "$as_me:$LINENO: result: no" >&5
30229 echo "${ECHO_T}no" >&6
30230 fi
30231
30232 # Extract the first word of "SetFile", so it can be a program name with args.
30233 set dummy SetFile; ac_word=$2
30234 echo "$as_me:$LINENO: checking for $ac_word" >&5
30235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30236 if test "${ac_cv_prog_SETFILE+set}" = set; then
30237 echo $ECHO_N "(cached) $ECHO_C" >&6
30238 else
30239 if test -n "$SETFILE"; then
30240 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
30241 else
30242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30243 for as_dir in $PATH
30244 do
30245 IFS=$as_save_IFS
30246 test -z "$as_dir" && as_dir=.
30247 for ac_exec_ext in '' $ac_executable_extensions; do
30248 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30249 ac_cv_prog_SETFILE="SetFile"
30250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30251 break 2
30252 fi
30253 done
30254 done
30255
30256 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
30257 fi
30258 fi
30259 SETFILE=$ac_cv_prog_SETFILE
30260 if test -n "$SETFILE"; then
30261 echo "$as_me:$LINENO: result: $SETFILE" >&5
30262 echo "${ECHO_T}$SETFILE" >&6
30263 else
30264 echo "$as_me:$LINENO: result: no" >&5
30265 echo "${ECHO_T}no" >&6
30266 fi
30267
30268
30269 MACSETFILE="\$(SETFILE)"
30270
30271 if test "$wxUSE_MAC" = 1; then
30272 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r -o"
30273
30274 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r -o"
30275 else
30276 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
30277 MACRESWXCONFIG="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
30278 fi
30279 else
30280 MACSETFILE="@true"
30281 MACRESWXCONFIG="@true"
30282
30283 if test "$wxUSE_PM" = 1; then
30284 MACRESCOMP="emxbind -ep"
30285 else
30286 MACRESCOMP="@true"
30287 fi
30288 fi
30289
30290
30291
30292 echo "$as_me:$LINENO: checking for mode_t" >&5
30293 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
30294 if test "${ac_cv_type_mode_t+set}" = set; then
30295 echo $ECHO_N "(cached) $ECHO_C" >&6
30296 else
30297 cat >conftest.$ac_ext <<_ACEOF
30298 /* confdefs.h. */
30299 _ACEOF
30300 cat confdefs.h >>conftest.$ac_ext
30301 cat >>conftest.$ac_ext <<_ACEOF
30302 /* end confdefs.h. */
30303 $ac_includes_default
30304 int
30305 main ()
30306 {
30307 if ((mode_t *) 0)
30308 return 0;
30309 if (sizeof (mode_t))
30310 return 0;
30311 ;
30312 return 0;
30313 }
30314 _ACEOF
30315 rm -f conftest.$ac_objext
30316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30317 (eval $ac_compile) 2>conftest.er1
30318 ac_status=$?
30319 grep -v '^ *+' conftest.er1 >conftest.err
30320 rm -f conftest.er1
30321 cat conftest.err >&5
30322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30323 (exit $ac_status); } &&
30324 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30326 (eval $ac_try) 2>&5
30327 ac_status=$?
30328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30329 (exit $ac_status); }; } &&
30330 { ac_try='test -s conftest.$ac_objext'
30331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30332 (eval $ac_try) 2>&5
30333 ac_status=$?
30334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30335 (exit $ac_status); }; }; then
30336 ac_cv_type_mode_t=yes
30337 else
30338 echo "$as_me: failed program was:" >&5
30339 sed 's/^/| /' conftest.$ac_ext >&5
30340
30341 ac_cv_type_mode_t=no
30342 fi
30343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30344 fi
30345 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
30346 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
30347 if test $ac_cv_type_mode_t = yes; then
30348 :
30349 else
30350
30351 cat >>confdefs.h <<_ACEOF
30352 #define mode_t int
30353 _ACEOF
30354
30355 fi
30356
30357 echo "$as_me:$LINENO: checking for off_t" >&5
30358 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
30359 if test "${ac_cv_type_off_t+set}" = set; then
30360 echo $ECHO_N "(cached) $ECHO_C" >&6
30361 else
30362 cat >conftest.$ac_ext <<_ACEOF
30363 /* confdefs.h. */
30364 _ACEOF
30365 cat confdefs.h >>conftest.$ac_ext
30366 cat >>conftest.$ac_ext <<_ACEOF
30367 /* end confdefs.h. */
30368 $ac_includes_default
30369 int
30370 main ()
30371 {
30372 if ((off_t *) 0)
30373 return 0;
30374 if (sizeof (off_t))
30375 return 0;
30376 ;
30377 return 0;
30378 }
30379 _ACEOF
30380 rm -f conftest.$ac_objext
30381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30382 (eval $ac_compile) 2>conftest.er1
30383 ac_status=$?
30384 grep -v '^ *+' conftest.er1 >conftest.err
30385 rm -f conftest.er1
30386 cat conftest.err >&5
30387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30388 (exit $ac_status); } &&
30389 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30391 (eval $ac_try) 2>&5
30392 ac_status=$?
30393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30394 (exit $ac_status); }; } &&
30395 { ac_try='test -s conftest.$ac_objext'
30396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30397 (eval $ac_try) 2>&5
30398 ac_status=$?
30399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30400 (exit $ac_status); }; }; then
30401 ac_cv_type_off_t=yes
30402 else
30403 echo "$as_me: failed program was:" >&5
30404 sed 's/^/| /' conftest.$ac_ext >&5
30405
30406 ac_cv_type_off_t=no
30407 fi
30408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30409 fi
30410 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
30411 echo "${ECHO_T}$ac_cv_type_off_t" >&6
30412 if test $ac_cv_type_off_t = yes; then
30413 :
30414 else
30415
30416 cat >>confdefs.h <<_ACEOF
30417 #define off_t long
30418 _ACEOF
30419
30420 fi
30421
30422 echo "$as_me:$LINENO: checking for pid_t" >&5
30423 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
30424 if test "${ac_cv_type_pid_t+set}" = set; then
30425 echo $ECHO_N "(cached) $ECHO_C" >&6
30426 else
30427 cat >conftest.$ac_ext <<_ACEOF
30428 /* confdefs.h. */
30429 _ACEOF
30430 cat confdefs.h >>conftest.$ac_ext
30431 cat >>conftest.$ac_ext <<_ACEOF
30432 /* end confdefs.h. */
30433 $ac_includes_default
30434 int
30435 main ()
30436 {
30437 if ((pid_t *) 0)
30438 return 0;
30439 if (sizeof (pid_t))
30440 return 0;
30441 ;
30442 return 0;
30443 }
30444 _ACEOF
30445 rm -f conftest.$ac_objext
30446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30447 (eval $ac_compile) 2>conftest.er1
30448 ac_status=$?
30449 grep -v '^ *+' conftest.er1 >conftest.err
30450 rm -f conftest.er1
30451 cat conftest.err >&5
30452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30453 (exit $ac_status); } &&
30454 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30456 (eval $ac_try) 2>&5
30457 ac_status=$?
30458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30459 (exit $ac_status); }; } &&
30460 { ac_try='test -s conftest.$ac_objext'
30461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30462 (eval $ac_try) 2>&5
30463 ac_status=$?
30464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30465 (exit $ac_status); }; }; then
30466 ac_cv_type_pid_t=yes
30467 else
30468 echo "$as_me: failed program was:" >&5
30469 sed 's/^/| /' conftest.$ac_ext >&5
30470
30471 ac_cv_type_pid_t=no
30472 fi
30473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30474 fi
30475 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
30476 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
30477 if test $ac_cv_type_pid_t = yes; then
30478 :
30479 else
30480
30481 cat >>confdefs.h <<_ACEOF
30482 #define pid_t int
30483 _ACEOF
30484
30485 fi
30486
30487 echo "$as_me:$LINENO: checking for size_t" >&5
30488 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
30489 if test "${ac_cv_type_size_t+set}" = set; then
30490 echo $ECHO_N "(cached) $ECHO_C" >&6
30491 else
30492 cat >conftest.$ac_ext <<_ACEOF
30493 /* confdefs.h. */
30494 _ACEOF
30495 cat confdefs.h >>conftest.$ac_ext
30496 cat >>conftest.$ac_ext <<_ACEOF
30497 /* end confdefs.h. */
30498 $ac_includes_default
30499 int
30500 main ()
30501 {
30502 if ((size_t *) 0)
30503 return 0;
30504 if (sizeof (size_t))
30505 return 0;
30506 ;
30507 return 0;
30508 }
30509 _ACEOF
30510 rm -f conftest.$ac_objext
30511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30512 (eval $ac_compile) 2>conftest.er1
30513 ac_status=$?
30514 grep -v '^ *+' conftest.er1 >conftest.err
30515 rm -f conftest.er1
30516 cat conftest.err >&5
30517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30518 (exit $ac_status); } &&
30519 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30521 (eval $ac_try) 2>&5
30522 ac_status=$?
30523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30524 (exit $ac_status); }; } &&
30525 { ac_try='test -s conftest.$ac_objext'
30526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30527 (eval $ac_try) 2>&5
30528 ac_status=$?
30529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30530 (exit $ac_status); }; }; then
30531 ac_cv_type_size_t=yes
30532 else
30533 echo "$as_me: failed program was:" >&5
30534 sed 's/^/| /' conftest.$ac_ext >&5
30535
30536 ac_cv_type_size_t=no
30537 fi
30538 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30539 fi
30540 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
30541 echo "${ECHO_T}$ac_cv_type_size_t" >&6
30542 if test $ac_cv_type_size_t = yes; then
30543 :
30544 else
30545
30546 cat >>confdefs.h <<_ACEOF
30547 #define size_t unsigned
30548 _ACEOF
30549
30550 fi
30551
30552 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
30553 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
30554 if test "${ac_cv_type_uid_t+set}" = set; then
30555 echo $ECHO_N "(cached) $ECHO_C" >&6
30556 else
30557 cat >conftest.$ac_ext <<_ACEOF
30558 /* confdefs.h. */
30559 _ACEOF
30560 cat confdefs.h >>conftest.$ac_ext
30561 cat >>conftest.$ac_ext <<_ACEOF
30562 /* end confdefs.h. */
30563 #include <sys/types.h>
30564
30565 _ACEOF
30566 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
30567 $EGREP "uid_t" >/dev/null 2>&1; then
30568 ac_cv_type_uid_t=yes
30569 else
30570 ac_cv_type_uid_t=no
30571 fi
30572 rm -f conftest*
30573
30574 fi
30575 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
30576 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
30577 if test $ac_cv_type_uid_t = no; then
30578
30579 cat >>confdefs.h <<\_ACEOF
30580 #define uid_t int
30581 _ACEOF
30582
30583
30584 cat >>confdefs.h <<\_ACEOF
30585 #define gid_t int
30586 _ACEOF
30587
30588 fi
30589
30590
30591 echo "$as_me:$LINENO: checking for ssize_t" >&5
30592 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
30593 if test "${ac_cv_type_ssize_t+set}" = set; then
30594 echo $ECHO_N "(cached) $ECHO_C" >&6
30595 else
30596 cat >conftest.$ac_ext <<_ACEOF
30597 /* confdefs.h. */
30598 _ACEOF
30599 cat confdefs.h >>conftest.$ac_ext
30600 cat >>conftest.$ac_ext <<_ACEOF
30601 /* end confdefs.h. */
30602 $ac_includes_default
30603 int
30604 main ()
30605 {
30606 if ((ssize_t *) 0)
30607 return 0;
30608 if (sizeof (ssize_t))
30609 return 0;
30610 ;
30611 return 0;
30612 }
30613 _ACEOF
30614 rm -f conftest.$ac_objext
30615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30616 (eval $ac_compile) 2>conftest.er1
30617 ac_status=$?
30618 grep -v '^ *+' conftest.er1 >conftest.err
30619 rm -f conftest.er1
30620 cat conftest.err >&5
30621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30622 (exit $ac_status); } &&
30623 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30625 (eval $ac_try) 2>&5
30626 ac_status=$?
30627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30628 (exit $ac_status); }; } &&
30629 { ac_try='test -s conftest.$ac_objext'
30630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30631 (eval $ac_try) 2>&5
30632 ac_status=$?
30633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30634 (exit $ac_status); }; }; then
30635 ac_cv_type_ssize_t=yes
30636 else
30637 echo "$as_me: failed program was:" >&5
30638 sed 's/^/| /' conftest.$ac_ext >&5
30639
30640 ac_cv_type_ssize_t=no
30641 fi
30642 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30643 fi
30644 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
30645 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
30646 if test $ac_cv_type_ssize_t = yes; then
30647
30648 cat >>confdefs.h <<_ACEOF
30649 #define HAVE_SSIZE_T 1
30650 _ACEOF
30651
30652
30653 fi
30654
30655
30656
30657
30658 ac_ext=cc
30659 ac_cpp='$CXXCPP $CPPFLAGS'
30660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30663
30664 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
30665 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
30666 if test "${wx_cv_size_t_is_uint+set}" = set; then
30667 echo $ECHO_N "(cached) $ECHO_C" >&6
30668 else
30669
30670 cat >conftest.$ac_ext <<_ACEOF
30671 /* confdefs.h. */
30672 _ACEOF
30673 cat confdefs.h >>conftest.$ac_ext
30674 cat >>conftest.$ac_ext <<_ACEOF
30675 /* end confdefs.h. */
30676 #include <stddef.h>
30677 int
30678 main ()
30679 {
30680
30681 return 0; }
30682
30683 struct Foo { void foo(size_t); void foo(unsigned int); };
30684
30685 int bar() {
30686
30687 ;
30688 return 0;
30689 }
30690 _ACEOF
30691 rm -f conftest.$ac_objext
30692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30693 (eval $ac_compile) 2>conftest.er1
30694 ac_status=$?
30695 grep -v '^ *+' conftest.er1 >conftest.err
30696 rm -f conftest.er1
30697 cat conftest.err >&5
30698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30699 (exit $ac_status); } &&
30700 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30702 (eval $ac_try) 2>&5
30703 ac_status=$?
30704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30705 (exit $ac_status); }; } &&
30706 { ac_try='test -s conftest.$ac_objext'
30707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30708 (eval $ac_try) 2>&5
30709 ac_status=$?
30710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30711 (exit $ac_status); }; }; then
30712 wx_cv_size_t_is_uint=no
30713 else
30714 echo "$as_me: failed program was:" >&5
30715 sed 's/^/| /' conftest.$ac_ext >&5
30716
30717 wx_cv_size_t_is_uint=yes
30718
30719 fi
30720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30721
30722
30723 fi
30724 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
30725 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
30726
30727 if test "$wx_cv_size_t_is_uint" = "yes"; then
30728 cat >>confdefs.h <<\_ACEOF
30729 #define wxSIZE_T_IS_UINT 1
30730 _ACEOF
30731
30732 else
30733 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
30734 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
30735 if test "${wx_cv_size_t_is_ulong+set}" = set; then
30736 echo $ECHO_N "(cached) $ECHO_C" >&6
30737 else
30738 cat >conftest.$ac_ext <<_ACEOF
30739 /* confdefs.h. */
30740 _ACEOF
30741 cat confdefs.h >>conftest.$ac_ext
30742 cat >>conftest.$ac_ext <<_ACEOF
30743 /* end confdefs.h. */
30744 #include <stddef.h>
30745 int
30746 main ()
30747 {
30748
30749 return 0; }
30750
30751 struct Foo { void foo(size_t); void foo(unsigned long); };
30752
30753 int bar() {
30754
30755 ;
30756 return 0;
30757 }
30758 _ACEOF
30759 rm -f conftest.$ac_objext
30760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30761 (eval $ac_compile) 2>conftest.er1
30762 ac_status=$?
30763 grep -v '^ *+' conftest.er1 >conftest.err
30764 rm -f conftest.er1
30765 cat conftest.err >&5
30766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30767 (exit $ac_status); } &&
30768 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30770 (eval $ac_try) 2>&5
30771 ac_status=$?
30772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30773 (exit $ac_status); }; } &&
30774 { ac_try='test -s conftest.$ac_objext'
30775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30776 (eval $ac_try) 2>&5
30777 ac_status=$?
30778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30779 (exit $ac_status); }; }; then
30780 wx_cv_size_t_is_ulong=no
30781 else
30782 echo "$as_me: failed program was:" >&5
30783 sed 's/^/| /' conftest.$ac_ext >&5
30784
30785 wx_cv_size_t_is_ulong=yes
30786
30787 fi
30788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30789
30790 fi
30791 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
30792 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
30793
30794 if test "$wx_cv_size_t_is_ulong" = "yes"; then
30795 cat >>confdefs.h <<\_ACEOF
30796 #define wxSIZE_T_IS_ULONG 1
30797 _ACEOF
30798
30799 fi
30800 fi
30801
30802 ac_ext=c
30803 ac_cpp='$CPP $CPPFLAGS'
30804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30807
30808
30809
30810 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
30811 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
30812 if test "${wx_cv_struct_pw_gecos+set}" = set; then
30813 echo $ECHO_N "(cached) $ECHO_C" >&6
30814 else
30815
30816 cat >conftest.$ac_ext <<_ACEOF
30817 /* confdefs.h. */
30818 _ACEOF
30819 cat confdefs.h >>conftest.$ac_ext
30820 cat >>conftest.$ac_ext <<_ACEOF
30821 /* end confdefs.h. */
30822 #include <pwd.h>
30823 int
30824 main ()
30825 {
30826
30827 char *p;
30828 struct passwd *pw;
30829 p = pw->pw_gecos;
30830
30831 ;
30832 return 0;
30833 }
30834 _ACEOF
30835 rm -f conftest.$ac_objext
30836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30837 (eval $ac_compile) 2>conftest.er1
30838 ac_status=$?
30839 grep -v '^ *+' conftest.er1 >conftest.err
30840 rm -f conftest.er1
30841 cat conftest.err >&5
30842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30843 (exit $ac_status); } &&
30844 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30846 (eval $ac_try) 2>&5
30847 ac_status=$?
30848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30849 (exit $ac_status); }; } &&
30850 { ac_try='test -s conftest.$ac_objext'
30851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30852 (eval $ac_try) 2>&5
30853 ac_status=$?
30854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30855 (exit $ac_status); }; }; then
30856
30857 wx_cv_struct_pw_gecos=yes
30858
30859 else
30860 echo "$as_me: failed program was:" >&5
30861 sed 's/^/| /' conftest.$ac_ext >&5
30862
30863
30864 wx_cv_struct_pw_gecos=no
30865
30866
30867 fi
30868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30869
30870
30871 fi
30872 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
30873 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
30874
30875 if test "$wx_cv_struct_pw_gecos" = "yes"; then
30876 cat >>confdefs.h <<\_ACEOF
30877 #define HAVE_PW_GECOS 1
30878 _ACEOF
30879
30880 fi
30881
30882
30883 if test "$wxUSE_WCHAR_T" = "yes"; then
30884 cat >>confdefs.h <<\_ACEOF
30885 #define wxUSE_WCHAR_T 1
30886 _ACEOF
30887
30888
30889 WCSLEN_FOUND=0
30890 WCHAR_LINK=
30891
30892 for ac_func in wcslen
30893 do
30894 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30895 echo "$as_me:$LINENO: checking for $ac_func" >&5
30896 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30897 if eval "test \"\${$as_ac_var+set}\" = set"; then
30898 echo $ECHO_N "(cached) $ECHO_C" >&6
30899 else
30900 cat >conftest.$ac_ext <<_ACEOF
30901 /* confdefs.h. */
30902 _ACEOF
30903 cat confdefs.h >>conftest.$ac_ext
30904 cat >>conftest.$ac_ext <<_ACEOF
30905 /* end confdefs.h. */
30906 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30907 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30908 #define $ac_func innocuous_$ac_func
30909
30910 /* System header to define __stub macros and hopefully few prototypes,
30911 which can conflict with char $ac_func (); below.
30912 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30913 <limits.h> exists even on freestanding compilers. */
30914
30915 #ifdef __STDC__
30916 # include <limits.h>
30917 #else
30918 # include <assert.h>
30919 #endif
30920
30921 #undef $ac_func
30922
30923 /* Override any gcc2 internal prototype to avoid an error. */
30924 #ifdef __cplusplus
30925 extern "C"
30926 {
30927 #endif
30928 /* We use char because int might match the return type of a gcc2
30929 builtin and then its argument prototype would still apply. */
30930 char $ac_func ();
30931 /* The GNU C library defines this for functions which it implements
30932 to always fail with ENOSYS. Some functions are actually named
30933 something starting with __ and the normal name is an alias. */
30934 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30935 choke me
30936 #else
30937 char (*f) () = $ac_func;
30938 #endif
30939 #ifdef __cplusplus
30940 }
30941 #endif
30942
30943 int
30944 main ()
30945 {
30946 return f != $ac_func;
30947 ;
30948 return 0;
30949 }
30950 _ACEOF
30951 rm -f conftest.$ac_objext conftest$ac_exeext
30952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30953 (eval $ac_link) 2>conftest.er1
30954 ac_status=$?
30955 grep -v '^ *+' conftest.er1 >conftest.err
30956 rm -f conftest.er1
30957 cat conftest.err >&5
30958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30959 (exit $ac_status); } &&
30960 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30962 (eval $ac_try) 2>&5
30963 ac_status=$?
30964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30965 (exit $ac_status); }; } &&
30966 { ac_try='test -s conftest$ac_exeext'
30967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30968 (eval $ac_try) 2>&5
30969 ac_status=$?
30970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30971 (exit $ac_status); }; }; then
30972 eval "$as_ac_var=yes"
30973 else
30974 echo "$as_me: failed program was:" >&5
30975 sed 's/^/| /' conftest.$ac_ext >&5
30976
30977 eval "$as_ac_var=no"
30978 fi
30979 rm -f conftest.err conftest.$ac_objext \
30980 conftest$ac_exeext conftest.$ac_ext
30981 fi
30982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30983 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30984 if test `eval echo '${'$as_ac_var'}'` = yes; then
30985 cat >>confdefs.h <<_ACEOF
30986 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30987 _ACEOF
30988 WCSLEN_FOUND=1
30989 fi
30990 done
30991
30992
30993 if test "$WCSLEN_FOUND" = 0; then
30994 if test "$TOOLKIT" = "MSW"; then
30995 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
30996 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
30997 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
30998 echo $ECHO_N "(cached) $ECHO_C" >&6
30999 else
31000 ac_check_lib_save_LIBS=$LIBS
31001 LIBS="-lmsvcrt $LIBS"
31002 cat >conftest.$ac_ext <<_ACEOF
31003 /* confdefs.h. */
31004 _ACEOF
31005 cat confdefs.h >>conftest.$ac_ext
31006 cat >>conftest.$ac_ext <<_ACEOF
31007 /* end confdefs.h. */
31008
31009 /* Override any gcc2 internal prototype to avoid an error. */
31010 #ifdef __cplusplus
31011 extern "C"
31012 #endif
31013 /* We use char because int might match the return type of a gcc2
31014 builtin and then its argument prototype would still apply. */
31015 char wcslen ();
31016 int
31017 main ()
31018 {
31019 wcslen ();
31020 ;
31021 return 0;
31022 }
31023 _ACEOF
31024 rm -f conftest.$ac_objext conftest$ac_exeext
31025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31026 (eval $ac_link) 2>conftest.er1
31027 ac_status=$?
31028 grep -v '^ *+' conftest.er1 >conftest.err
31029 rm -f conftest.er1
31030 cat conftest.err >&5
31031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31032 (exit $ac_status); } &&
31033 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31035 (eval $ac_try) 2>&5
31036 ac_status=$?
31037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31038 (exit $ac_status); }; } &&
31039 { ac_try='test -s conftest$ac_exeext'
31040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31041 (eval $ac_try) 2>&5
31042 ac_status=$?
31043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31044 (exit $ac_status); }; }; then
31045 ac_cv_lib_msvcrt_wcslen=yes
31046 else
31047 echo "$as_me: failed program was:" >&5
31048 sed 's/^/| /' conftest.$ac_ext >&5
31049
31050 ac_cv_lib_msvcrt_wcslen=no
31051 fi
31052 rm -f conftest.err conftest.$ac_objext \
31053 conftest$ac_exeext conftest.$ac_ext
31054 LIBS=$ac_check_lib_save_LIBS
31055 fi
31056 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
31057 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
31058 if test $ac_cv_lib_msvcrt_wcslen = yes; then
31059 WCHAR_OK=1
31060 fi
31061
31062 else
31063 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
31064 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
31065 if test "${ac_cv_lib_w_wcslen+set}" = set; then
31066 echo $ECHO_N "(cached) $ECHO_C" >&6
31067 else
31068 ac_check_lib_save_LIBS=$LIBS
31069 LIBS="-lw $LIBS"
31070 cat >conftest.$ac_ext <<_ACEOF
31071 /* confdefs.h. */
31072 _ACEOF
31073 cat confdefs.h >>conftest.$ac_ext
31074 cat >>conftest.$ac_ext <<_ACEOF
31075 /* end confdefs.h. */
31076
31077 /* Override any gcc2 internal prototype to avoid an error. */
31078 #ifdef __cplusplus
31079 extern "C"
31080 #endif
31081 /* We use char because int might match the return type of a gcc2
31082 builtin and then its argument prototype would still apply. */
31083 char wcslen ();
31084 int
31085 main ()
31086 {
31087 wcslen ();
31088 ;
31089 return 0;
31090 }
31091 _ACEOF
31092 rm -f conftest.$ac_objext conftest$ac_exeext
31093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31094 (eval $ac_link) 2>conftest.er1
31095 ac_status=$?
31096 grep -v '^ *+' conftest.er1 >conftest.err
31097 rm -f conftest.er1
31098 cat conftest.err >&5
31099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31100 (exit $ac_status); } &&
31101 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31103 (eval $ac_try) 2>&5
31104 ac_status=$?
31105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31106 (exit $ac_status); }; } &&
31107 { ac_try='test -s conftest$ac_exeext'
31108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31109 (eval $ac_try) 2>&5
31110 ac_status=$?
31111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31112 (exit $ac_status); }; }; then
31113 ac_cv_lib_w_wcslen=yes
31114 else
31115 echo "$as_me: failed program was:" >&5
31116 sed 's/^/| /' conftest.$ac_ext >&5
31117
31118 ac_cv_lib_w_wcslen=no
31119 fi
31120 rm -f conftest.err conftest.$ac_objext \
31121 conftest$ac_exeext conftest.$ac_ext
31122 LIBS=$ac_check_lib_save_LIBS
31123 fi
31124 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
31125 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
31126 if test $ac_cv_lib_w_wcslen = yes; then
31127
31128 WCHAR_LINK=" -lw"
31129 WCSLEN_FOUND=1
31130
31131 fi
31132
31133 fi
31134 fi
31135
31136 if test "$WCSLEN_FOUND" = 1; then
31137 cat >>confdefs.h <<\_ACEOF
31138 #define HAVE_WCSLEN 1
31139 _ACEOF
31140
31141 fi
31142
31143 if test "$USE_HPUX" = 1; then
31144 CPPFLAGS="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
31145 fi
31146
31147
31148 for ac_func in wcsrtombs
31149 do
31150 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31151 echo "$as_me:$LINENO: checking for $ac_func" >&5
31152 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31153 if eval "test \"\${$as_ac_var+set}\" = set"; then
31154 echo $ECHO_N "(cached) $ECHO_C" >&6
31155 else
31156 cat >conftest.$ac_ext <<_ACEOF
31157 /* confdefs.h. */
31158 _ACEOF
31159 cat confdefs.h >>conftest.$ac_ext
31160 cat >>conftest.$ac_ext <<_ACEOF
31161 /* end confdefs.h. */
31162 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31163 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31164 #define $ac_func innocuous_$ac_func
31165
31166 /* System header to define __stub macros and hopefully few prototypes,
31167 which can conflict with char $ac_func (); below.
31168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31169 <limits.h> exists even on freestanding compilers. */
31170
31171 #ifdef __STDC__
31172 # include <limits.h>
31173 #else
31174 # include <assert.h>
31175 #endif
31176
31177 #undef $ac_func
31178
31179 /* Override any gcc2 internal prototype to avoid an error. */
31180 #ifdef __cplusplus
31181 extern "C"
31182 {
31183 #endif
31184 /* We use char because int might match the return type of a gcc2
31185 builtin and then its argument prototype would still apply. */
31186 char $ac_func ();
31187 /* The GNU C library defines this for functions which it implements
31188 to always fail with ENOSYS. Some functions are actually named
31189 something starting with __ and the normal name is an alias. */
31190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31191 choke me
31192 #else
31193 char (*f) () = $ac_func;
31194 #endif
31195 #ifdef __cplusplus
31196 }
31197 #endif
31198
31199 int
31200 main ()
31201 {
31202 return f != $ac_func;
31203 ;
31204 return 0;
31205 }
31206 _ACEOF
31207 rm -f conftest.$ac_objext conftest$ac_exeext
31208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31209 (eval $ac_link) 2>conftest.er1
31210 ac_status=$?
31211 grep -v '^ *+' conftest.er1 >conftest.err
31212 rm -f conftest.er1
31213 cat conftest.err >&5
31214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31215 (exit $ac_status); } &&
31216 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31218 (eval $ac_try) 2>&5
31219 ac_status=$?
31220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31221 (exit $ac_status); }; } &&
31222 { ac_try='test -s conftest$ac_exeext'
31223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31224 (eval $ac_try) 2>&5
31225 ac_status=$?
31226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31227 (exit $ac_status); }; }; then
31228 eval "$as_ac_var=yes"
31229 else
31230 echo "$as_me: failed program was:" >&5
31231 sed 's/^/| /' conftest.$ac_ext >&5
31232
31233 eval "$as_ac_var=no"
31234 fi
31235 rm -f conftest.err conftest.$ac_objext \
31236 conftest$ac_exeext conftest.$ac_ext
31237 fi
31238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31240 if test `eval echo '${'$as_ac_var'}'` = yes; then
31241 cat >>confdefs.h <<_ACEOF
31242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31243 _ACEOF
31244
31245 fi
31246 done
31247
31248 else
31249 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
31250 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
31251 fi
31252
31253
31254
31255 ac_ext=cc
31256 ac_cpp='$CXXCPP $CPPFLAGS'
31257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31260
31261
31262
31263 for ac_func in vsnprintf
31264 do
31265 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31266 echo "$as_me:$LINENO: checking for $ac_func" >&5
31267 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31268 if eval "test \"\${$as_ac_var+set}\" = set"; then
31269 echo $ECHO_N "(cached) $ECHO_C" >&6
31270 else
31271 cat >conftest.$ac_ext <<_ACEOF
31272 /* confdefs.h. */
31273 _ACEOF
31274 cat confdefs.h >>conftest.$ac_ext
31275 cat >>conftest.$ac_ext <<_ACEOF
31276 /* end confdefs.h. */
31277 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31278 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31279 #define $ac_func innocuous_$ac_func
31280
31281 /* System header to define __stub macros and hopefully few prototypes,
31282 which can conflict with char $ac_func (); below.
31283 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31284 <limits.h> exists even on freestanding compilers. */
31285
31286 #ifdef __STDC__
31287 # include <limits.h>
31288 #else
31289 # include <assert.h>
31290 #endif
31291
31292 #undef $ac_func
31293
31294 /* Override any gcc2 internal prototype to avoid an error. */
31295 #ifdef __cplusplus
31296 extern "C"
31297 {
31298 #endif
31299 /* We use char because int might match the return type of a gcc2
31300 builtin and then its argument prototype would still apply. */
31301 char $ac_func ();
31302 /* The GNU C library defines this for functions which it implements
31303 to always fail with ENOSYS. Some functions are actually named
31304 something starting with __ and the normal name is an alias. */
31305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31306 choke me
31307 #else
31308 char (*f) () = $ac_func;
31309 #endif
31310 #ifdef __cplusplus
31311 }
31312 #endif
31313
31314 int
31315 main ()
31316 {
31317 return f != $ac_func;
31318 ;
31319 return 0;
31320 }
31321 _ACEOF
31322 rm -f conftest.$ac_objext conftest$ac_exeext
31323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31324 (eval $ac_link) 2>conftest.er1
31325 ac_status=$?
31326 grep -v '^ *+' conftest.er1 >conftest.err
31327 rm -f conftest.er1
31328 cat conftest.err >&5
31329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31330 (exit $ac_status); } &&
31331 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31333 (eval $ac_try) 2>&5
31334 ac_status=$?
31335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31336 (exit $ac_status); }; } &&
31337 { ac_try='test -s conftest$ac_exeext'
31338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31339 (eval $ac_try) 2>&5
31340 ac_status=$?
31341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31342 (exit $ac_status); }; }; then
31343 eval "$as_ac_var=yes"
31344 else
31345 echo "$as_me: failed program was:" >&5
31346 sed 's/^/| /' conftest.$ac_ext >&5
31347
31348 eval "$as_ac_var=no"
31349 fi
31350 rm -f conftest.err conftest.$ac_objext \
31351 conftest$ac_exeext conftest.$ac_ext
31352 fi
31353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31354 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31355 if test `eval echo '${'$as_ac_var'}'` = yes; then
31356 cat >>confdefs.h <<_ACEOF
31357 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31358 _ACEOF
31359
31360 fi
31361 done
31362
31363
31364 if test "$ac_cv_func_vsnprintf" = "yes"; then
31365 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
31366 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
31367 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
31368 echo $ECHO_N "(cached) $ECHO_C" >&6
31369 else
31370
31371 cat >conftest.$ac_ext <<_ACEOF
31372 /* confdefs.h. */
31373 _ACEOF
31374 cat confdefs.h >>conftest.$ac_ext
31375 cat >>conftest.$ac_ext <<_ACEOF
31376 /* end confdefs.h. */
31377
31378 #include <stdio.h>
31379 #include <stdarg.h>
31380
31381 int
31382 main ()
31383 {
31384
31385 char *buf;
31386 va_list ap;
31387 vsnprintf(buf, 10u, "%s", ap);
31388
31389 ;
31390 return 0;
31391 }
31392 _ACEOF
31393 rm -f conftest.$ac_objext
31394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31395 (eval $ac_compile) 2>conftest.er1
31396 ac_status=$?
31397 grep -v '^ *+' conftest.er1 >conftest.err
31398 rm -f conftest.er1
31399 cat conftest.err >&5
31400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31401 (exit $ac_status); } &&
31402 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31404 (eval $ac_try) 2>&5
31405 ac_status=$?
31406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31407 (exit $ac_status); }; } &&
31408 { ac_try='test -s conftest.$ac_objext'
31409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31410 (eval $ac_try) 2>&5
31411 ac_status=$?
31412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31413 (exit $ac_status); }; }; then
31414 wx_cv_func_vsnprintf_decl=yes
31415 else
31416 echo "$as_me: failed program was:" >&5
31417 sed 's/^/| /' conftest.$ac_ext >&5
31418
31419
31420 cat >conftest.$ac_ext <<_ACEOF
31421 /* confdefs.h. */
31422 _ACEOF
31423 cat confdefs.h >>conftest.$ac_ext
31424 cat >>conftest.$ac_ext <<_ACEOF
31425 /* end confdefs.h. */
31426
31427 #include <stdio.h>
31428 #include <stdarg.h>
31429 using namespace std;
31430
31431 int
31432 main ()
31433 {
31434
31435 char *buf;
31436 va_list ap;
31437 vsnprintf(buf, 10u, "%s", ap);
31438
31439 ;
31440 return 0;
31441 }
31442 _ACEOF
31443 rm -f conftest.$ac_objext
31444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31445 (eval $ac_compile) 2>conftest.er1
31446 ac_status=$?
31447 grep -v '^ *+' conftest.er1 >conftest.err
31448 rm -f conftest.er1
31449 cat conftest.err >&5
31450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31451 (exit $ac_status); } &&
31452 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31454 (eval $ac_try) 2>&5
31455 ac_status=$?
31456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31457 (exit $ac_status); }; } &&
31458 { ac_try='test -s conftest.$ac_objext'
31459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31460 (eval $ac_try) 2>&5
31461 ac_status=$?
31462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31463 (exit $ac_status); }; }; then
31464 wx_cv_func_vsnprintf_decl=yes
31465 else
31466 echo "$as_me: failed program was:" >&5
31467 sed 's/^/| /' conftest.$ac_ext >&5
31468
31469 wx_cv_func_vsnprintf_decl=no
31470
31471 fi
31472 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31473
31474
31475 fi
31476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31477
31478
31479 fi
31480 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
31481 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
31482
31483 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
31484 cat >>confdefs.h <<\_ACEOF
31485 #define HAVE_VSNPRINTF_DECL 1
31486 _ACEOF
31487
31488 fi
31489 fi
31490
31491 if test "$wxUSE_UNICODE" = yes; then
31492
31493
31494
31495
31496
31497
31498 for ac_func in wputc wputchar putws fputws wprintf vswprintf
31499 do
31500 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31501 echo "$as_me:$LINENO: checking for $ac_func" >&5
31502 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31503 if eval "test \"\${$as_ac_var+set}\" = set"; then
31504 echo $ECHO_N "(cached) $ECHO_C" >&6
31505 else
31506 cat >conftest.$ac_ext <<_ACEOF
31507 /* confdefs.h. */
31508 _ACEOF
31509 cat confdefs.h >>conftest.$ac_ext
31510 cat >>conftest.$ac_ext <<_ACEOF
31511 /* end confdefs.h. */
31512 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31513 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31514 #define $ac_func innocuous_$ac_func
31515
31516 /* System header to define __stub macros and hopefully few prototypes,
31517 which can conflict with char $ac_func (); below.
31518 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31519 <limits.h> exists even on freestanding compilers. */
31520
31521 #ifdef __STDC__
31522 # include <limits.h>
31523 #else
31524 # include <assert.h>
31525 #endif
31526
31527 #undef $ac_func
31528
31529 /* Override any gcc2 internal prototype to avoid an error. */
31530 #ifdef __cplusplus
31531 extern "C"
31532 {
31533 #endif
31534 /* We use char because int might match the return type of a gcc2
31535 builtin and then its argument prototype would still apply. */
31536 char $ac_func ();
31537 /* The GNU C library defines this for functions which it implements
31538 to always fail with ENOSYS. Some functions are actually named
31539 something starting with __ and the normal name is an alias. */
31540 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31541 choke me
31542 #else
31543 char (*f) () = $ac_func;
31544 #endif
31545 #ifdef __cplusplus
31546 }
31547 #endif
31548
31549 int
31550 main ()
31551 {
31552 return f != $ac_func;
31553 ;
31554 return 0;
31555 }
31556 _ACEOF
31557 rm -f conftest.$ac_objext conftest$ac_exeext
31558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31559 (eval $ac_link) 2>conftest.er1
31560 ac_status=$?
31561 grep -v '^ *+' conftest.er1 >conftest.err
31562 rm -f conftest.er1
31563 cat conftest.err >&5
31564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31565 (exit $ac_status); } &&
31566 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31568 (eval $ac_try) 2>&5
31569 ac_status=$?
31570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31571 (exit $ac_status); }; } &&
31572 { ac_try='test -s conftest$ac_exeext'
31573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31574 (eval $ac_try) 2>&5
31575 ac_status=$?
31576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31577 (exit $ac_status); }; }; then
31578 eval "$as_ac_var=yes"
31579 else
31580 echo "$as_me: failed program was:" >&5
31581 sed 's/^/| /' conftest.$ac_ext >&5
31582
31583 eval "$as_ac_var=no"
31584 fi
31585 rm -f conftest.err conftest.$ac_objext \
31586 conftest$ac_exeext conftest.$ac_ext
31587 fi
31588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31589 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31590 if test `eval echo '${'$as_ac_var'}'` = yes; then
31591 cat >>confdefs.h <<_ACEOF
31592 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31593 _ACEOF
31594
31595 fi
31596 done
31597
31598
31599 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
31600 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
31601 cat >conftest.$ac_ext <<_ACEOF
31602 /* confdefs.h. */
31603 _ACEOF
31604 cat confdefs.h >>conftest.$ac_ext
31605 cat >>conftest.$ac_ext <<_ACEOF
31606 /* end confdefs.h. */
31607 #include <wchar.h>
31608 int
31609 main ()
31610 {
31611 &_vsnwprintf;
31612 ;
31613 return 0;
31614 }
31615 _ACEOF
31616 rm -f conftest.$ac_objext
31617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31618 (eval $ac_compile) 2>conftest.er1
31619 ac_status=$?
31620 grep -v '^ *+' conftest.er1 >conftest.err
31621 rm -f conftest.er1
31622 cat conftest.err >&5
31623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31624 (exit $ac_status); } &&
31625 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31627 (eval $ac_try) 2>&5
31628 ac_status=$?
31629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31630 (exit $ac_status); }; } &&
31631 { ac_try='test -s conftest.$ac_objext'
31632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31633 (eval $ac_try) 2>&5
31634 ac_status=$?
31635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31636 (exit $ac_status); }; }; then
31637 echo "$as_me:$LINENO: result: yes" >&5
31638 echo "${ECHO_T}yes" >&6
31639 cat >>confdefs.h <<\_ACEOF
31640 #define HAVE__VSNWPRINTF 1
31641 _ACEOF
31642
31643 else
31644 echo "$as_me: failed program was:" >&5
31645 sed 's/^/| /' conftest.$ac_ext >&5
31646
31647 echo "$as_me:$LINENO: result: no" >&5
31648 echo "${ECHO_T}no" >&6
31649 fi
31650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
31651 fi
31652
31653 ac_ext=c
31654 ac_cpp='$CPP $CPPFLAGS'
31655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31658
31659
31660
31661
31662 if test "$TOOLKIT" != "MSW"; then
31663
31664
31665
31666
31667 ac_ext=cc
31668 ac_cpp='$CXXCPP $CPPFLAGS'
31669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31672
31673
31674
31675
31676 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
31677 if test "${with_libiconv_prefix+set}" = set; then
31678 withval="$with_libiconv_prefix"
31679
31680 for dir in `echo "$withval" | tr : ' '`; do
31681 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
31682 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
31683 done
31684
31685 fi;
31686
31687 echo "$as_me:$LINENO: checking for iconv" >&5
31688 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
31689 if test "${am_cv_func_iconv+set}" = set; then
31690 echo $ECHO_N "(cached) $ECHO_C" >&6
31691 else
31692
31693 am_cv_func_iconv="no, consider installing GNU libiconv"
31694 am_cv_lib_iconv=no
31695 cat >conftest.$ac_ext <<_ACEOF
31696 /* confdefs.h. */
31697 _ACEOF
31698 cat confdefs.h >>conftest.$ac_ext
31699 cat >>conftest.$ac_ext <<_ACEOF
31700 /* end confdefs.h. */
31701 #include <stdlib.h>
31702 #include <iconv.h>
31703 int
31704 main ()
31705 {
31706 iconv_t cd = iconv_open("","");
31707 iconv(cd,NULL,NULL,NULL,NULL);
31708 iconv_close(cd);
31709 ;
31710 return 0;
31711 }
31712 _ACEOF
31713 rm -f conftest.$ac_objext conftest$ac_exeext
31714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31715 (eval $ac_link) 2>conftest.er1
31716 ac_status=$?
31717 grep -v '^ *+' conftest.er1 >conftest.err
31718 rm -f conftest.er1
31719 cat conftest.err >&5
31720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31721 (exit $ac_status); } &&
31722 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31724 (eval $ac_try) 2>&5
31725 ac_status=$?
31726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31727 (exit $ac_status); }; } &&
31728 { ac_try='test -s conftest$ac_exeext'
31729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31730 (eval $ac_try) 2>&5
31731 ac_status=$?
31732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31733 (exit $ac_status); }; }; then
31734 am_cv_func_iconv=yes
31735 else
31736 echo "$as_me: failed program was:" >&5
31737 sed 's/^/| /' conftest.$ac_ext >&5
31738
31739 fi
31740 rm -f conftest.err conftest.$ac_objext \
31741 conftest$ac_exeext conftest.$ac_ext
31742 if test "$am_cv_func_iconv" != yes; then
31743 am_save_LIBS="$LIBS"
31744 LIBS="$LIBS -liconv"
31745 cat >conftest.$ac_ext <<_ACEOF
31746 /* confdefs.h. */
31747 _ACEOF
31748 cat confdefs.h >>conftest.$ac_ext
31749 cat >>conftest.$ac_ext <<_ACEOF
31750 /* end confdefs.h. */
31751 #include <stdlib.h>
31752 #include <iconv.h>
31753 int
31754 main ()
31755 {
31756 iconv_t cd = iconv_open("","");
31757 iconv(cd,NULL,NULL,NULL,NULL);
31758 iconv_close(cd);
31759 ;
31760 return 0;
31761 }
31762 _ACEOF
31763 rm -f conftest.$ac_objext conftest$ac_exeext
31764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31765 (eval $ac_link) 2>conftest.er1
31766 ac_status=$?
31767 grep -v '^ *+' conftest.er1 >conftest.err
31768 rm -f conftest.er1
31769 cat conftest.err >&5
31770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31771 (exit $ac_status); } &&
31772 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31774 (eval $ac_try) 2>&5
31775 ac_status=$?
31776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31777 (exit $ac_status); }; } &&
31778 { ac_try='test -s conftest$ac_exeext'
31779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31780 (eval $ac_try) 2>&5
31781 ac_status=$?
31782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31783 (exit $ac_status); }; }; then
31784 am_cv_lib_iconv=yes
31785 am_cv_func_iconv=yes
31786 else
31787 echo "$as_me: failed program was:" >&5
31788 sed 's/^/| /' conftest.$ac_ext >&5
31789
31790 fi
31791 rm -f conftest.err conftest.$ac_objext \
31792 conftest$ac_exeext conftest.$ac_ext
31793 LIBS="$am_save_LIBS"
31794 fi
31795
31796 fi
31797 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
31798 echo "${ECHO_T}$am_cv_func_iconv" >&6
31799 if test "$am_cv_func_iconv" = yes; then
31800
31801 cat >>confdefs.h <<\_ACEOF
31802 #define HAVE_ICONV 1
31803 _ACEOF
31804
31805 echo "$as_me:$LINENO: checking if iconv needs const" >&5
31806 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
31807 if test "${wx_cv_func_iconv_const+set}" = set; then
31808 echo $ECHO_N "(cached) $ECHO_C" >&6
31809 else
31810 cat >conftest.$ac_ext <<_ACEOF
31811 /* confdefs.h. */
31812 _ACEOF
31813 cat confdefs.h >>conftest.$ac_ext
31814 cat >>conftest.$ac_ext <<_ACEOF
31815 /* end confdefs.h. */
31816
31817 #include <stdlib.h>
31818 #include <iconv.h>
31819 extern
31820 #ifdef __cplusplus
31821 "C"
31822 #endif
31823 #if defined(__STDC__) || defined(__cplusplus)
31824 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
31825 #else
31826 size_t iconv();
31827 #endif
31828
31829 int
31830 main ()
31831 {
31832
31833 ;
31834 return 0;
31835 }
31836 _ACEOF
31837 rm -f conftest.$ac_objext
31838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31839 (eval $ac_compile) 2>conftest.er1
31840 ac_status=$?
31841 grep -v '^ *+' conftest.er1 >conftest.err
31842 rm -f conftest.er1
31843 cat conftest.err >&5
31844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31845 (exit $ac_status); } &&
31846 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31848 (eval $ac_try) 2>&5
31849 ac_status=$?
31850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31851 (exit $ac_status); }; } &&
31852 { ac_try='test -s conftest.$ac_objext'
31853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31854 (eval $ac_try) 2>&5
31855 ac_status=$?
31856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31857 (exit $ac_status); }; }; then
31858 wx_cv_func_iconv_const="no"
31859 else
31860 echo "$as_me: failed program was:" >&5
31861 sed 's/^/| /' conftest.$ac_ext >&5
31862
31863 wx_cv_func_iconv_const="yes"
31864
31865 fi
31866 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31867
31868 fi
31869 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
31870 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
31871
31872 iconv_const=
31873 if test "x$wx_cv_func_iconv_const" = "xyes"; then
31874 iconv_const="const"
31875 fi
31876
31877
31878 cat >>confdefs.h <<_ACEOF
31879 #define ICONV_CONST $iconv_const
31880 _ACEOF
31881
31882 fi
31883 LIBICONV=
31884 if test "$am_cv_lib_iconv" = yes; then
31885 LIBICONV="-liconv"
31886 fi
31887
31888
31889 LIBS="$LIBICONV $LIBS"
31890 ac_ext=c
31891 ac_cpp='$CPP $CPPFLAGS'
31892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31895
31896
31897 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
31898
31899 for ac_func in sigaction
31900 do
31901 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31902 echo "$as_me:$LINENO: checking for $ac_func" >&5
31903 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31904 if eval "test \"\${$as_ac_var+set}\" = set"; then
31905 echo $ECHO_N "(cached) $ECHO_C" >&6
31906 else
31907 cat >conftest.$ac_ext <<_ACEOF
31908 /* confdefs.h. */
31909 _ACEOF
31910 cat confdefs.h >>conftest.$ac_ext
31911 cat >>conftest.$ac_ext <<_ACEOF
31912 /* end confdefs.h. */
31913 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31914 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31915 #define $ac_func innocuous_$ac_func
31916
31917 /* System header to define __stub macros and hopefully few prototypes,
31918 which can conflict with char $ac_func (); below.
31919 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31920 <limits.h> exists even on freestanding compilers. */
31921
31922 #ifdef __STDC__
31923 # include <limits.h>
31924 #else
31925 # include <assert.h>
31926 #endif
31927
31928 #undef $ac_func
31929
31930 /* Override any gcc2 internal prototype to avoid an error. */
31931 #ifdef __cplusplus
31932 extern "C"
31933 {
31934 #endif
31935 /* We use char because int might match the return type of a gcc2
31936 builtin and then its argument prototype would still apply. */
31937 char $ac_func ();
31938 /* The GNU C library defines this for functions which it implements
31939 to always fail with ENOSYS. Some functions are actually named
31940 something starting with __ and the normal name is an alias. */
31941 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31942 choke me
31943 #else
31944 char (*f) () = $ac_func;
31945 #endif
31946 #ifdef __cplusplus
31947 }
31948 #endif
31949
31950 int
31951 main ()
31952 {
31953 return f != $ac_func;
31954 ;
31955 return 0;
31956 }
31957 _ACEOF
31958 rm -f conftest.$ac_objext conftest$ac_exeext
31959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31960 (eval $ac_link) 2>conftest.er1
31961 ac_status=$?
31962 grep -v '^ *+' conftest.er1 >conftest.err
31963 rm -f conftest.er1
31964 cat conftest.err >&5
31965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31966 (exit $ac_status); } &&
31967 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31969 (eval $ac_try) 2>&5
31970 ac_status=$?
31971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31972 (exit $ac_status); }; } &&
31973 { ac_try='test -s conftest$ac_exeext'
31974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31975 (eval $ac_try) 2>&5
31976 ac_status=$?
31977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31978 (exit $ac_status); }; }; then
31979 eval "$as_ac_var=yes"
31980 else
31981 echo "$as_me: failed program was:" >&5
31982 sed 's/^/| /' conftest.$ac_ext >&5
31983
31984 eval "$as_ac_var=no"
31985 fi
31986 rm -f conftest.err conftest.$ac_objext \
31987 conftest$ac_exeext conftest.$ac_ext
31988 fi
31989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31990 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31991 if test `eval echo '${'$as_ac_var'}'` = yes; then
31992 cat >>confdefs.h <<_ACEOF
31993 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31994 _ACEOF
31995
31996 fi
31997 done
31998
31999
32000 if test "$ac_cv_func_sigaction" = "no"; then
32001 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
32002 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
32003 wxUSE_ON_FATAL_EXCEPTION=no
32004 fi
32005
32006 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
32007
32008
32009 ac_ext=cc
32010 ac_cpp='$CXXCPP $CPPFLAGS'
32011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32014
32015
32016 echo "$as_me:$LINENO: checking for sa_handler type" >&5
32017 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
32018 if test "${wx_cv_type_sa_handler+set}" = set; then
32019 echo $ECHO_N "(cached) $ECHO_C" >&6
32020 else
32021
32022 cat >conftest.$ac_ext <<_ACEOF
32023 /* confdefs.h. */
32024 _ACEOF
32025 cat confdefs.h >>conftest.$ac_ext
32026 cat >>conftest.$ac_ext <<_ACEOF
32027 /* end confdefs.h. */
32028 #include <signal.h>
32029 int
32030 main ()
32031 {
32032
32033 extern void testSigHandler(int);
32034
32035 struct sigaction sa;
32036 sa.sa_handler = testSigHandler;
32037
32038 ;
32039 return 0;
32040 }
32041 _ACEOF
32042 rm -f conftest.$ac_objext
32043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32044 (eval $ac_compile) 2>conftest.er1
32045 ac_status=$?
32046 grep -v '^ *+' conftest.er1 >conftest.err
32047 rm -f conftest.er1
32048 cat conftest.err >&5
32049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32050 (exit $ac_status); } &&
32051 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32053 (eval $ac_try) 2>&5
32054 ac_status=$?
32055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32056 (exit $ac_status); }; } &&
32057 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
32063
32064 wx_cv_type_sa_handler=int
32065
32066 else
32067 echo "$as_me: failed program was:" >&5
32068 sed 's/^/| /' conftest.$ac_ext >&5
32069
32070
32071 wx_cv_type_sa_handler=void
32072
32073 fi
32074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32075
32076 fi
32077 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
32078 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
32079
32080 ac_ext=c
32081 ac_cpp='$CPP $CPPFLAGS'
32082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32085
32086
32087 cat >>confdefs.h <<_ACEOF
32088 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
32089 _ACEOF
32090
32091 fi
32092 fi
32093
32094 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
32095
32096
32097 ac_ext=cc
32098 ac_cpp='$CXXCPP $CPPFLAGS'
32099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32102
32103
32104 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
32105 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
32106 if test "${wx_cv_func_backtrace+set}" = set; then
32107 echo $ECHO_N "(cached) $ECHO_C" >&6
32108 else
32109
32110 cat >conftest.$ac_ext <<_ACEOF
32111 /* confdefs.h. */
32112 _ACEOF
32113 cat confdefs.h >>conftest.$ac_ext
32114 cat >>conftest.$ac_ext <<_ACEOF
32115 /* end confdefs.h. */
32116 #include <execinfo.h>
32117 int
32118 main ()
32119 {
32120
32121 void *trace[1];
32122 char **messages;
32123
32124 backtrace(trace, 1);
32125 messages = backtrace_symbols(trace, 1);
32126
32127 ;
32128 return 0;
32129 }
32130 _ACEOF
32131 rm -f conftest.$ac_objext
32132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32133 (eval $ac_compile) 2>conftest.er1
32134 ac_status=$?
32135 grep -v '^ *+' conftest.er1 >conftest.err
32136 rm -f conftest.er1
32137 cat conftest.err >&5
32138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32139 (exit $ac_status); } &&
32140 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32142 (eval $ac_try) 2>&5
32143 ac_status=$?
32144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32145 (exit $ac_status); }; } &&
32146 { ac_try='test -s conftest.$ac_objext'
32147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32148 (eval $ac_try) 2>&5
32149 ac_status=$?
32150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32151 (exit $ac_status); }; }; then
32152 wx_cv_func_backtrace=yes
32153 else
32154 echo "$as_me: failed program was:" >&5
32155 sed 's/^/| /' conftest.$ac_ext >&5
32156
32157 wx_cv_func_backtrace=no
32158
32159 fi
32160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32161
32162
32163 fi
32164 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
32165 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
32166
32167
32168 if test "$wx_cv_func_backtrace" = "no"; then
32169 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
32170 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
32171 wxUSE_STACKWALKER=no
32172 else
32173 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
32174 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
32175 if test "${wx_cv_func_cxa_demangle+set}" = set; then
32176 echo $ECHO_N "(cached) $ECHO_C" >&6
32177 else
32178
32179 cat >conftest.$ac_ext <<_ACEOF
32180 /* confdefs.h. */
32181 _ACEOF
32182 cat confdefs.h >>conftest.$ac_ext
32183 cat >>conftest.$ac_ext <<_ACEOF
32184 /* end confdefs.h. */
32185 #include <cxxabi.h>
32186 int
32187 main ()
32188 {
32189
32190 int rc;
32191 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
32192
32193 ;
32194 return 0;
32195 }
32196 _ACEOF
32197 rm -f conftest.$ac_objext conftest$ac_exeext
32198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32199 (eval $ac_link) 2>conftest.er1
32200 ac_status=$?
32201 grep -v '^ *+' conftest.er1 >conftest.err
32202 rm -f conftest.er1
32203 cat conftest.err >&5
32204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32205 (exit $ac_status); } &&
32206 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32208 (eval $ac_try) 2>&5
32209 ac_status=$?
32210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32211 (exit $ac_status); }; } &&
32212 { ac_try='test -s conftest$ac_exeext'
32213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32214 (eval $ac_try) 2>&5
32215 ac_status=$?
32216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32217 (exit $ac_status); }; }; then
32218 wx_cv_func_cxa_demangle=yes
32219 else
32220 echo "$as_me: failed program was:" >&5
32221 sed 's/^/| /' conftest.$ac_ext >&5
32222
32223 wx_cv_func_cxa_demangle=no
32224
32225 fi
32226 rm -f conftest.err conftest.$ac_objext \
32227 conftest$ac_exeext conftest.$ac_ext
32228
32229
32230 fi
32231 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
32232 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
32233
32234 if test "$wx_cv_func_cxa_demangle" = "yes"; then
32235 cat >>confdefs.h <<\_ACEOF
32236 #define HAVE_CXA_DEMANGLE 1
32237 _ACEOF
32238
32239 fi
32240 fi
32241
32242 ac_ext=c
32243 ac_cpp='$CPP $CPPFLAGS'
32244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32247
32248 fi
32249
32250 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
32251 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
32252 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
32253 wxUSE_STACKWALKER=no
32254 fi
32255
32256
32257
32258
32259 for ac_func in mkstemp mktemp
32260 do
32261 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32262 echo "$as_me:$LINENO: checking for $ac_func" >&5
32263 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32264 if eval "test \"\${$as_ac_var+set}\" = set"; then
32265 echo $ECHO_N "(cached) $ECHO_C" >&6
32266 else
32267 cat >conftest.$ac_ext <<_ACEOF
32268 /* confdefs.h. */
32269 _ACEOF
32270 cat confdefs.h >>conftest.$ac_ext
32271 cat >>conftest.$ac_ext <<_ACEOF
32272 /* end confdefs.h. */
32273 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32274 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32275 #define $ac_func innocuous_$ac_func
32276
32277 /* System header to define __stub macros and hopefully few prototypes,
32278 which can conflict with char $ac_func (); below.
32279 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32280 <limits.h> exists even on freestanding compilers. */
32281
32282 #ifdef __STDC__
32283 # include <limits.h>
32284 #else
32285 # include <assert.h>
32286 #endif
32287
32288 #undef $ac_func
32289
32290 /* Override any gcc2 internal prototype to avoid an error. */
32291 #ifdef __cplusplus
32292 extern "C"
32293 {
32294 #endif
32295 /* We use char because int might match the return type of a gcc2
32296 builtin and then its argument prototype would still apply. */
32297 char $ac_func ();
32298 /* The GNU C library defines this for functions which it implements
32299 to always fail with ENOSYS. Some functions are actually named
32300 something starting with __ and the normal name is an alias. */
32301 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32302 choke me
32303 #else
32304 char (*f) () = $ac_func;
32305 #endif
32306 #ifdef __cplusplus
32307 }
32308 #endif
32309
32310 int
32311 main ()
32312 {
32313 return f != $ac_func;
32314 ;
32315 return 0;
32316 }
32317 _ACEOF
32318 rm -f conftest.$ac_objext conftest$ac_exeext
32319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32320 (eval $ac_link) 2>conftest.er1
32321 ac_status=$?
32322 grep -v '^ *+' conftest.er1 >conftest.err
32323 rm -f conftest.er1
32324 cat conftest.err >&5
32325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32326 (exit $ac_status); } &&
32327 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32329 (eval $ac_try) 2>&5
32330 ac_status=$?
32331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32332 (exit $ac_status); }; } &&
32333 { ac_try='test -s conftest$ac_exeext'
32334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32335 (eval $ac_try) 2>&5
32336 ac_status=$?
32337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32338 (exit $ac_status); }; }; then
32339 eval "$as_ac_var=yes"
32340 else
32341 echo "$as_me: failed program was:" >&5
32342 sed 's/^/| /' conftest.$ac_ext >&5
32343
32344 eval "$as_ac_var=no"
32345 fi
32346 rm -f conftest.err conftest.$ac_objext \
32347 conftest$ac_exeext conftest.$ac_ext
32348 fi
32349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32350 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32351 if test `eval echo '${'$as_ac_var'}'` = yes; then
32352 cat >>confdefs.h <<_ACEOF
32353 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32354 _ACEOF
32355 break
32356 fi
32357 done
32358
32359
32360 echo "$as_me:$LINENO: checking for statfs" >&5
32361 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
32362 if test "${wx_cv_func_statfs+set}" = set; then
32363 echo $ECHO_N "(cached) $ECHO_C" >&6
32364 else
32365 cat >conftest.$ac_ext <<_ACEOF
32366 /* confdefs.h. */
32367 _ACEOF
32368 cat confdefs.h >>conftest.$ac_ext
32369 cat >>conftest.$ac_ext <<_ACEOF
32370 /* end confdefs.h. */
32371
32372 #if defined(__BSD__)
32373 #include <sys/param.h>
32374 #include <sys/mount.h>
32375 #else
32376 #include <sys/vfs.h>
32377 #endif
32378
32379 int
32380 main ()
32381 {
32382
32383 long l;
32384 struct statfs fs;
32385 statfs("/", &fs);
32386 l = fs.f_bsize;
32387 l += fs.f_blocks;
32388 l += fs.f_bavail;
32389
32390 ;
32391 return 0;
32392 }
32393 _ACEOF
32394 rm -f conftest.$ac_objext
32395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32396 (eval $ac_compile) 2>conftest.er1
32397 ac_status=$?
32398 grep -v '^ *+' conftest.er1 >conftest.err
32399 rm -f conftest.er1
32400 cat conftest.err >&5
32401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32402 (exit $ac_status); } &&
32403 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32405 (eval $ac_try) 2>&5
32406 ac_status=$?
32407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32408 (exit $ac_status); }; } &&
32409 { ac_try='test -s conftest.$ac_objext'
32410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32411 (eval $ac_try) 2>&5
32412 ac_status=$?
32413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32414 (exit $ac_status); }; }; then
32415
32416 wx_cv_func_statfs=yes
32417
32418 else
32419 echo "$as_me: failed program was:" >&5
32420 sed 's/^/| /' conftest.$ac_ext >&5
32421
32422
32423 wx_cv_func_statfs=no
32424
32425
32426 fi
32427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32428
32429 fi
32430 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
32431 echo "${ECHO_T}$wx_cv_func_statfs" >&6
32432
32433 if test "$wx_cv_func_statfs" = "yes"; then
32434 wx_cv_type_statvfs_t="struct statfs"
32435 cat >>confdefs.h <<\_ACEOF
32436 #define HAVE_STATFS 1
32437 _ACEOF
32438
32439 else
32440 echo "$as_me:$LINENO: checking for statvfs" >&5
32441 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
32442 if test "${wx_cv_func_statvfs+set}" = set; then
32443 echo $ECHO_N "(cached) $ECHO_C" >&6
32444 else
32445 cat >conftest.$ac_ext <<_ACEOF
32446 /* confdefs.h. */
32447 _ACEOF
32448 cat confdefs.h >>conftest.$ac_ext
32449 cat >>conftest.$ac_ext <<_ACEOF
32450 /* end confdefs.h. */
32451
32452 #include <stddef.h>
32453 #include <sys/statvfs.h>
32454
32455 int
32456 main ()
32457 {
32458
32459 statvfs("/", NULL);
32460
32461 ;
32462 return 0;
32463 }
32464 _ACEOF
32465 rm -f conftest.$ac_objext
32466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32467 (eval $ac_compile) 2>conftest.er1
32468 ac_status=$?
32469 grep -v '^ *+' conftest.er1 >conftest.err
32470 rm -f conftest.er1
32471 cat conftest.err >&5
32472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32473 (exit $ac_status); } &&
32474 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32476 (eval $ac_try) 2>&5
32477 ac_status=$?
32478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32479 (exit $ac_status); }; } &&
32480 { ac_try='test -s conftest.$ac_objext'
32481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32482 (eval $ac_try) 2>&5
32483 ac_status=$?
32484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32485 (exit $ac_status); }; }; then
32486 wx_cv_func_statvfs=yes
32487 else
32488 echo "$as_me: failed program was:" >&5
32489 sed 's/^/| /' conftest.$ac_ext >&5
32490
32491 wx_cv_func_statvfs=no
32492
32493 fi
32494 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32495
32496 fi
32497 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
32498 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
32499
32500 if test "$wx_cv_func_statvfs" = "yes"; then
32501
32502
32503 ac_ext=cc
32504 ac_cpp='$CXXCPP $CPPFLAGS'
32505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32508
32509
32510 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
32511 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
32512 if test "${wx_cv_type_statvfs_t+set}" = set; then
32513 echo $ECHO_N "(cached) $ECHO_C" >&6
32514 else
32515 cat >conftest.$ac_ext <<_ACEOF
32516 /* confdefs.h. */
32517 _ACEOF
32518 cat confdefs.h >>conftest.$ac_ext
32519 cat >>conftest.$ac_ext <<_ACEOF
32520 /* end confdefs.h. */
32521
32522 #include <sys/statvfs.h>
32523
32524 int
32525 main ()
32526 {
32527
32528 long l;
32529 statvfs_t fs;
32530 statvfs("/", &fs);
32531 l = fs.f_bsize;
32532 l += fs.f_blocks;
32533 l += fs.f_bavail;
32534
32535 ;
32536 return 0;
32537 }
32538 _ACEOF
32539 rm -f conftest.$ac_objext
32540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32541 (eval $ac_compile) 2>conftest.er1
32542 ac_status=$?
32543 grep -v '^ *+' conftest.er1 >conftest.err
32544 rm -f conftest.er1
32545 cat conftest.err >&5
32546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32547 (exit $ac_status); } &&
32548 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32550 (eval $ac_try) 2>&5
32551 ac_status=$?
32552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32553 (exit $ac_status); }; } &&
32554 { ac_try='test -s conftest.$ac_objext'
32555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32556 (eval $ac_try) 2>&5
32557 ac_status=$?
32558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32559 (exit $ac_status); }; }; then
32560 wx_cv_type_statvfs_t=statvfs_t
32561 else
32562 echo "$as_me: failed program was:" >&5
32563 sed 's/^/| /' conftest.$ac_ext >&5
32564
32565
32566 cat >conftest.$ac_ext <<_ACEOF
32567 /* confdefs.h. */
32568 _ACEOF
32569 cat confdefs.h >>conftest.$ac_ext
32570 cat >>conftest.$ac_ext <<_ACEOF
32571 /* end confdefs.h. */
32572
32573 #include <sys/statvfs.h>
32574
32575 int
32576 main ()
32577 {
32578
32579 long l;
32580 struct statvfs fs;
32581 statvfs("/", &fs);
32582 l = fs.f_bsize;
32583 l += fs.f_blocks;
32584 l += fs.f_bavail;
32585
32586 ;
32587 return 0;
32588 }
32589 _ACEOF
32590 rm -f conftest.$ac_objext
32591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32592 (eval $ac_compile) 2>conftest.er1
32593 ac_status=$?
32594 grep -v '^ *+' conftest.er1 >conftest.err
32595 rm -f conftest.er1
32596 cat conftest.err >&5
32597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32598 (exit $ac_status); } &&
32599 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32601 (eval $ac_try) 2>&5
32602 ac_status=$?
32603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32604 (exit $ac_status); }; } &&
32605 { ac_try='test -s conftest.$ac_objext'
32606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32607 (eval $ac_try) 2>&5
32608 ac_status=$?
32609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32610 (exit $ac_status); }; }; then
32611 wx_cv_type_statvfs_t="struct statvfs"
32612 else
32613 echo "$as_me: failed program was:" >&5
32614 sed 's/^/| /' conftest.$ac_ext >&5
32615
32616 wx_cv_type_statvfs_t="unknown"
32617
32618 fi
32619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32620
32621
32622 fi
32623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32624
32625 fi
32626 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
32627 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
32628
32629 ac_ext=c
32630 ac_cpp='$CPP $CPPFLAGS'
32631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32634
32635
32636 if test "$wx_cv_type_statvfs_t" != "unknown"; then
32637 cat >>confdefs.h <<\_ACEOF
32638 #define HAVE_STATVFS 1
32639 _ACEOF
32640
32641 fi
32642 else
32643 wx_cv_type_statvfs_t="unknown"
32644 fi
32645 fi
32646
32647 if test "$wx_cv_type_statvfs_t" != "unknown"; then
32648 cat >>confdefs.h <<_ACEOF
32649 #define WX_STATFS_T $wx_cv_type_statvfs_t
32650 _ACEOF
32651
32652 else
32653 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
32654 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
32655 fi
32656
32657 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
32658
32659
32660 for ac_func in fcntl flock
32661 do
32662 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32663 echo "$as_me:$LINENO: checking for $ac_func" >&5
32664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32665 if eval "test \"\${$as_ac_var+set}\" = set"; then
32666 echo $ECHO_N "(cached) $ECHO_C" >&6
32667 else
32668 cat >conftest.$ac_ext <<_ACEOF
32669 /* confdefs.h. */
32670 _ACEOF
32671 cat confdefs.h >>conftest.$ac_ext
32672 cat >>conftest.$ac_ext <<_ACEOF
32673 /* end confdefs.h. */
32674 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32675 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32676 #define $ac_func innocuous_$ac_func
32677
32678 /* System header to define __stub macros and hopefully few prototypes,
32679 which can conflict with char $ac_func (); below.
32680 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32681 <limits.h> exists even on freestanding compilers. */
32682
32683 #ifdef __STDC__
32684 # include <limits.h>
32685 #else
32686 # include <assert.h>
32687 #endif
32688
32689 #undef $ac_func
32690
32691 /* Override any gcc2 internal prototype to avoid an error. */
32692 #ifdef __cplusplus
32693 extern "C"
32694 {
32695 #endif
32696 /* We use char because int might match the return type of a gcc2
32697 builtin and then its argument prototype would still apply. */
32698 char $ac_func ();
32699 /* The GNU C library defines this for functions which it implements
32700 to always fail with ENOSYS. Some functions are actually named
32701 something starting with __ and the normal name is an alias. */
32702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32703 choke me
32704 #else
32705 char (*f) () = $ac_func;
32706 #endif
32707 #ifdef __cplusplus
32708 }
32709 #endif
32710
32711 int
32712 main ()
32713 {
32714 return f != $ac_func;
32715 ;
32716 return 0;
32717 }
32718 _ACEOF
32719 rm -f conftest.$ac_objext conftest$ac_exeext
32720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32721 (eval $ac_link) 2>conftest.er1
32722 ac_status=$?
32723 grep -v '^ *+' conftest.er1 >conftest.err
32724 rm -f conftest.er1
32725 cat conftest.err >&5
32726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32727 (exit $ac_status); } &&
32728 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32730 (eval $ac_try) 2>&5
32731 ac_status=$?
32732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32733 (exit $ac_status); }; } &&
32734 { ac_try='test -s conftest$ac_exeext'
32735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32736 (eval $ac_try) 2>&5
32737 ac_status=$?
32738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32739 (exit $ac_status); }; }; then
32740 eval "$as_ac_var=yes"
32741 else
32742 echo "$as_me: failed program was:" >&5
32743 sed 's/^/| /' conftest.$ac_ext >&5
32744
32745 eval "$as_ac_var=no"
32746 fi
32747 rm -f conftest.err conftest.$ac_objext \
32748 conftest$ac_exeext conftest.$ac_ext
32749 fi
32750 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32751 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32752 if test `eval echo '${'$as_ac_var'}'` = yes; then
32753 cat >>confdefs.h <<_ACEOF
32754 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32755 _ACEOF
32756 break
32757 fi
32758 done
32759
32760
32761 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
32762 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
32763 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
32764 wxUSE_SNGLINST_CHECKER=no
32765 fi
32766 fi
32767
32768
32769 for ac_func in timegm
32770 do
32771 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32772 echo "$as_me:$LINENO: checking for $ac_func" >&5
32773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32774 if eval "test \"\${$as_ac_var+set}\" = set"; then
32775 echo $ECHO_N "(cached) $ECHO_C" >&6
32776 else
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32784 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32785 #define $ac_func innocuous_$ac_func
32786
32787 /* System header to define __stub macros and hopefully few prototypes,
32788 which can conflict with char $ac_func (); below.
32789 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32790 <limits.h> exists even on freestanding compilers. */
32791
32792 #ifdef __STDC__
32793 # include <limits.h>
32794 #else
32795 # include <assert.h>
32796 #endif
32797
32798 #undef $ac_func
32799
32800 /* Override any gcc2 internal prototype to avoid an error. */
32801 #ifdef __cplusplus
32802 extern "C"
32803 {
32804 #endif
32805 /* We use char because int might match the return type of a gcc2
32806 builtin and then its argument prototype would still apply. */
32807 char $ac_func ();
32808 /* The GNU C library defines this for functions which it implements
32809 to always fail with ENOSYS. Some functions are actually named
32810 something starting with __ and the normal name is an alias. */
32811 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32812 choke me
32813 #else
32814 char (*f) () = $ac_func;
32815 #endif
32816 #ifdef __cplusplus
32817 }
32818 #endif
32819
32820 int
32821 main ()
32822 {
32823 return f != $ac_func;
32824 ;
32825 return 0;
32826 }
32827 _ACEOF
32828 rm -f conftest.$ac_objext conftest$ac_exeext
32829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32830 (eval $ac_link) 2>conftest.er1
32831 ac_status=$?
32832 grep -v '^ *+' conftest.er1 >conftest.err
32833 rm -f conftest.er1
32834 cat conftest.err >&5
32835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32836 (exit $ac_status); } &&
32837 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32839 (eval $ac_try) 2>&5
32840 ac_status=$?
32841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32842 (exit $ac_status); }; } &&
32843 { ac_try='test -s conftest$ac_exeext'
32844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32845 (eval $ac_try) 2>&5
32846 ac_status=$?
32847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32848 (exit $ac_status); }; }; then
32849 eval "$as_ac_var=yes"
32850 else
32851 echo "$as_me: failed program was:" >&5
32852 sed 's/^/| /' conftest.$ac_ext >&5
32853
32854 eval "$as_ac_var=no"
32855 fi
32856 rm -f conftest.err conftest.$ac_objext \
32857 conftest$ac_exeext conftest.$ac_ext
32858 fi
32859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32860 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32861 if test `eval echo '${'$as_ac_var'}'` = yes; then
32862 cat >>confdefs.h <<_ACEOF
32863 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32864 _ACEOF
32865
32866 fi
32867 done
32868
32869
32870
32871
32872 for ac_func in putenv setenv
32873 do
32874 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32875 echo "$as_me:$LINENO: checking for $ac_func" >&5
32876 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32877 if eval "test \"\${$as_ac_var+set}\" = set"; then
32878 echo $ECHO_N "(cached) $ECHO_C" >&6
32879 else
32880 cat >conftest.$ac_ext <<_ACEOF
32881 /* confdefs.h. */
32882 _ACEOF
32883 cat confdefs.h >>conftest.$ac_ext
32884 cat >>conftest.$ac_ext <<_ACEOF
32885 /* end confdefs.h. */
32886 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32887 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32888 #define $ac_func innocuous_$ac_func
32889
32890 /* System header to define __stub macros and hopefully few prototypes,
32891 which can conflict with char $ac_func (); below.
32892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32893 <limits.h> exists even on freestanding compilers. */
32894
32895 #ifdef __STDC__
32896 # include <limits.h>
32897 #else
32898 # include <assert.h>
32899 #endif
32900
32901 #undef $ac_func
32902
32903 /* Override any gcc2 internal prototype to avoid an error. */
32904 #ifdef __cplusplus
32905 extern "C"
32906 {
32907 #endif
32908 /* We use char because int might match the return type of a gcc2
32909 builtin and then its argument prototype would still apply. */
32910 char $ac_func ();
32911 /* The GNU C library defines this for functions which it implements
32912 to always fail with ENOSYS. Some functions are actually named
32913 something starting with __ and the normal name is an alias. */
32914 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32915 choke me
32916 #else
32917 char (*f) () = $ac_func;
32918 #endif
32919 #ifdef __cplusplus
32920 }
32921 #endif
32922
32923 int
32924 main ()
32925 {
32926 return f != $ac_func;
32927 ;
32928 return 0;
32929 }
32930 _ACEOF
32931 rm -f conftest.$ac_objext conftest$ac_exeext
32932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32933 (eval $ac_link) 2>conftest.er1
32934 ac_status=$?
32935 grep -v '^ *+' conftest.er1 >conftest.err
32936 rm -f conftest.er1
32937 cat conftest.err >&5
32938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32939 (exit $ac_status); } &&
32940 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32942 (eval $ac_try) 2>&5
32943 ac_status=$?
32944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32945 (exit $ac_status); }; } &&
32946 { ac_try='test -s conftest$ac_exeext'
32947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32948 (eval $ac_try) 2>&5
32949 ac_status=$?
32950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32951 (exit $ac_status); }; }; then
32952 eval "$as_ac_var=yes"
32953 else
32954 echo "$as_me: failed program was:" >&5
32955 sed 's/^/| /' conftest.$ac_ext >&5
32956
32957 eval "$as_ac_var=no"
32958 fi
32959 rm -f conftest.err conftest.$ac_objext \
32960 conftest$ac_exeext conftest.$ac_ext
32961 fi
32962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32964 if test `eval echo '${'$as_ac_var'}'` = yes; then
32965 cat >>confdefs.h <<_ACEOF
32966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32967 _ACEOF
32968 break
32969 fi
32970 done
32971
32972
32973 HAVE_SOME_SLEEP_FUNC=0
32974 if test "$USE_BEOS" = 1; then
32975 cat >>confdefs.h <<\_ACEOF
32976 #define HAVE_SLEEP 1
32977 _ACEOF
32978
32979 HAVE_SOME_SLEEP_FUNC=1
32980 fi
32981
32982 if test "$USE_DARWIN" = 1; then
32983 cat >>confdefs.h <<\_ACEOF
32984 #define HAVE_USLEEP 1
32985 _ACEOF
32986
32987 HAVE_SOME_SLEEP_FUNC=1
32988 fi
32989
32990 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
32991 POSIX4_LINK=
32992
32993 for ac_func in nanosleep
32994 do
32995 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32996 echo "$as_me:$LINENO: checking for $ac_func" >&5
32997 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32998 if eval "test \"\${$as_ac_var+set}\" = set"; then
32999 echo $ECHO_N "(cached) $ECHO_C" >&6
33000 else
33001 cat >conftest.$ac_ext <<_ACEOF
33002 /* confdefs.h. */
33003 _ACEOF
33004 cat confdefs.h >>conftest.$ac_ext
33005 cat >>conftest.$ac_ext <<_ACEOF
33006 /* end confdefs.h. */
33007 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33008 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33009 #define $ac_func innocuous_$ac_func
33010
33011 /* System header to define __stub macros and hopefully few prototypes,
33012 which can conflict with char $ac_func (); below.
33013 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33014 <limits.h> exists even on freestanding compilers. */
33015
33016 #ifdef __STDC__
33017 # include <limits.h>
33018 #else
33019 # include <assert.h>
33020 #endif
33021
33022 #undef $ac_func
33023
33024 /* Override any gcc2 internal prototype to avoid an error. */
33025 #ifdef __cplusplus
33026 extern "C"
33027 {
33028 #endif
33029 /* We use char because int might match the return type of a gcc2
33030 builtin and then its argument prototype would still apply. */
33031 char $ac_func ();
33032 /* The GNU C library defines this for functions which it implements
33033 to always fail with ENOSYS. Some functions are actually named
33034 something starting with __ and the normal name is an alias. */
33035 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33036 choke me
33037 #else
33038 char (*f) () = $ac_func;
33039 #endif
33040 #ifdef __cplusplus
33041 }
33042 #endif
33043
33044 int
33045 main ()
33046 {
33047 return f != $ac_func;
33048 ;
33049 return 0;
33050 }
33051 _ACEOF
33052 rm -f conftest.$ac_objext conftest$ac_exeext
33053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33054 (eval $ac_link) 2>conftest.er1
33055 ac_status=$?
33056 grep -v '^ *+' conftest.er1 >conftest.err
33057 rm -f conftest.er1
33058 cat conftest.err >&5
33059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33060 (exit $ac_status); } &&
33061 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33063 (eval $ac_try) 2>&5
33064 ac_status=$?
33065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33066 (exit $ac_status); }; } &&
33067 { ac_try='test -s conftest$ac_exeext'
33068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33069 (eval $ac_try) 2>&5
33070 ac_status=$?
33071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33072 (exit $ac_status); }; }; then
33073 eval "$as_ac_var=yes"
33074 else
33075 echo "$as_me: failed program was:" >&5
33076 sed 's/^/| /' conftest.$ac_ext >&5
33077
33078 eval "$as_ac_var=no"
33079 fi
33080 rm -f conftest.err conftest.$ac_objext \
33081 conftest$ac_exeext conftest.$ac_ext
33082 fi
33083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33084 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33085 if test `eval echo '${'$as_ac_var'}'` = yes; then
33086 cat >>confdefs.h <<_ACEOF
33087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33088 _ACEOF
33089 cat >>confdefs.h <<\_ACEOF
33090 #define HAVE_NANOSLEEP 1
33091 _ACEOF
33092
33093 else
33094
33095 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
33096 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
33097 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
33098 echo $ECHO_N "(cached) $ECHO_C" >&6
33099 else
33100 ac_check_lib_save_LIBS=$LIBS
33101 LIBS="-lposix4 $LIBS"
33102 cat >conftest.$ac_ext <<_ACEOF
33103 /* confdefs.h. */
33104 _ACEOF
33105 cat confdefs.h >>conftest.$ac_ext
33106 cat >>conftest.$ac_ext <<_ACEOF
33107 /* end confdefs.h. */
33108
33109 /* Override any gcc2 internal prototype to avoid an error. */
33110 #ifdef __cplusplus
33111 extern "C"
33112 #endif
33113 /* We use char because int might match the return type of a gcc2
33114 builtin and then its argument prototype would still apply. */
33115 char nanosleep ();
33116 int
33117 main ()
33118 {
33119 nanosleep ();
33120 ;
33121 return 0;
33122 }
33123 _ACEOF
33124 rm -f conftest.$ac_objext conftest$ac_exeext
33125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33126 (eval $ac_link) 2>conftest.er1
33127 ac_status=$?
33128 grep -v '^ *+' conftest.er1 >conftest.err
33129 rm -f conftest.er1
33130 cat conftest.err >&5
33131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33132 (exit $ac_status); } &&
33133 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33135 (eval $ac_try) 2>&5
33136 ac_status=$?
33137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33138 (exit $ac_status); }; } &&
33139 { ac_try='test -s conftest$ac_exeext'
33140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33141 (eval $ac_try) 2>&5
33142 ac_status=$?
33143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33144 (exit $ac_status); }; }; then
33145 ac_cv_lib_posix4_nanosleep=yes
33146 else
33147 echo "$as_me: failed program was:" >&5
33148 sed 's/^/| /' conftest.$ac_ext >&5
33149
33150 ac_cv_lib_posix4_nanosleep=no
33151 fi
33152 rm -f conftest.err conftest.$ac_objext \
33153 conftest$ac_exeext conftest.$ac_ext
33154 LIBS=$ac_check_lib_save_LIBS
33155 fi
33156 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
33157 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
33158 if test $ac_cv_lib_posix4_nanosleep = yes; then
33159
33160 cat >>confdefs.h <<\_ACEOF
33161 #define HAVE_NANOSLEEP 1
33162 _ACEOF
33163
33164 POSIX4_LINK=" -lposix4"
33165
33166 else
33167
33168
33169 for ac_func in usleep
33170 do
33171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33172 echo "$as_me:$LINENO: checking for $ac_func" >&5
33173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33174 if eval "test \"\${$as_ac_var+set}\" = set"; then
33175 echo $ECHO_N "(cached) $ECHO_C" >&6
33176 else
33177 cat >conftest.$ac_ext <<_ACEOF
33178 /* confdefs.h. */
33179 _ACEOF
33180 cat confdefs.h >>conftest.$ac_ext
33181 cat >>conftest.$ac_ext <<_ACEOF
33182 /* end confdefs.h. */
33183 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33184 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33185 #define $ac_func innocuous_$ac_func
33186
33187 /* System header to define __stub macros and hopefully few prototypes,
33188 which can conflict with char $ac_func (); below.
33189 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33190 <limits.h> exists even on freestanding compilers. */
33191
33192 #ifdef __STDC__
33193 # include <limits.h>
33194 #else
33195 # include <assert.h>
33196 #endif
33197
33198 #undef $ac_func
33199
33200 /* Override any gcc2 internal prototype to avoid an error. */
33201 #ifdef __cplusplus
33202 extern "C"
33203 {
33204 #endif
33205 /* We use char because int might match the return type of a gcc2
33206 builtin and then its argument prototype would still apply. */
33207 char $ac_func ();
33208 /* The GNU C library defines this for functions which it implements
33209 to always fail with ENOSYS. Some functions are actually named
33210 something starting with __ and the normal name is an alias. */
33211 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33212 choke me
33213 #else
33214 char (*f) () = $ac_func;
33215 #endif
33216 #ifdef __cplusplus
33217 }
33218 #endif
33219
33220 int
33221 main ()
33222 {
33223 return f != $ac_func;
33224 ;
33225 return 0;
33226 }
33227 _ACEOF
33228 rm -f conftest.$ac_objext conftest$ac_exeext
33229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33230 (eval $ac_link) 2>conftest.er1
33231 ac_status=$?
33232 grep -v '^ *+' conftest.er1 >conftest.err
33233 rm -f conftest.er1
33234 cat conftest.err >&5
33235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33236 (exit $ac_status); } &&
33237 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33239 (eval $ac_try) 2>&5
33240 ac_status=$?
33241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33242 (exit $ac_status); }; } &&
33243 { ac_try='test -s conftest$ac_exeext'
33244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33245 (eval $ac_try) 2>&5
33246 ac_status=$?
33247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33248 (exit $ac_status); }; }; then
33249 eval "$as_ac_var=yes"
33250 else
33251 echo "$as_me: failed program was:" >&5
33252 sed 's/^/| /' conftest.$ac_ext >&5
33253
33254 eval "$as_ac_var=no"
33255 fi
33256 rm -f conftest.err conftest.$ac_objext \
33257 conftest$ac_exeext conftest.$ac_ext
33258 fi
33259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33260 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33261 if test `eval echo '${'$as_ac_var'}'` = yes; then
33262 cat >>confdefs.h <<_ACEOF
33263 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33264 _ACEOF
33265 cat >>confdefs.h <<\_ACEOF
33266 #define HAVE_USLEEP 1
33267 _ACEOF
33268
33269 else
33270 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
33271 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
33272
33273 fi
33274 done
33275
33276
33277
33278 fi
33279
33280
33281
33282 fi
33283 done
33284
33285 fi
33286
33287
33288
33289 for ac_func in uname gethostname
33290 do
33291 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33292 echo "$as_me:$LINENO: checking for $ac_func" >&5
33293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33294 if eval "test \"\${$as_ac_var+set}\" = set"; then
33295 echo $ECHO_N "(cached) $ECHO_C" >&6
33296 else
33297 cat >conftest.$ac_ext <<_ACEOF
33298 /* confdefs.h. */
33299 _ACEOF
33300 cat confdefs.h >>conftest.$ac_ext
33301 cat >>conftest.$ac_ext <<_ACEOF
33302 /* end confdefs.h. */
33303 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33304 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33305 #define $ac_func innocuous_$ac_func
33306
33307 /* System header to define __stub macros and hopefully few prototypes,
33308 which can conflict with char $ac_func (); below.
33309 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33310 <limits.h> exists even on freestanding compilers. */
33311
33312 #ifdef __STDC__
33313 # include <limits.h>
33314 #else
33315 # include <assert.h>
33316 #endif
33317
33318 #undef $ac_func
33319
33320 /* Override any gcc2 internal prototype to avoid an error. */
33321 #ifdef __cplusplus
33322 extern "C"
33323 {
33324 #endif
33325 /* We use char because int might match the return type of a gcc2
33326 builtin and then its argument prototype would still apply. */
33327 char $ac_func ();
33328 /* The GNU C library defines this for functions which it implements
33329 to always fail with ENOSYS. Some functions are actually named
33330 something starting with __ and the normal name is an alias. */
33331 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33332 choke me
33333 #else
33334 char (*f) () = $ac_func;
33335 #endif
33336 #ifdef __cplusplus
33337 }
33338 #endif
33339
33340 int
33341 main ()
33342 {
33343 return f != $ac_func;
33344 ;
33345 return 0;
33346 }
33347 _ACEOF
33348 rm -f conftest.$ac_objext conftest$ac_exeext
33349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33350 (eval $ac_link) 2>conftest.er1
33351 ac_status=$?
33352 grep -v '^ *+' conftest.er1 >conftest.err
33353 rm -f conftest.er1
33354 cat conftest.err >&5
33355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33356 (exit $ac_status); } &&
33357 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33359 (eval $ac_try) 2>&5
33360 ac_status=$?
33361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33362 (exit $ac_status); }; } &&
33363 { ac_try='test -s conftest$ac_exeext'
33364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33365 (eval $ac_try) 2>&5
33366 ac_status=$?
33367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33368 (exit $ac_status); }; }; then
33369 eval "$as_ac_var=yes"
33370 else
33371 echo "$as_me: failed program was:" >&5
33372 sed 's/^/| /' conftest.$ac_ext >&5
33373
33374 eval "$as_ac_var=no"
33375 fi
33376 rm -f conftest.err conftest.$ac_objext \
33377 conftest$ac_exeext conftest.$ac_ext
33378 fi
33379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33380 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33381 if test `eval echo '${'$as_ac_var'}'` = yes; then
33382 cat >>confdefs.h <<_ACEOF
33383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33384 _ACEOF
33385 break
33386 fi
33387 done
33388
33389
33390
33391
33392 ac_ext=cc
33393 ac_cpp='$CXXCPP $CPPFLAGS'
33394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33397
33398
33399
33400 for ac_func in strtok_r
33401 do
33402 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33403 echo "$as_me:$LINENO: checking for $ac_func" >&5
33404 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33405 if eval "test \"\${$as_ac_var+set}\" = set"; then
33406 echo $ECHO_N "(cached) $ECHO_C" >&6
33407 else
33408 cat >conftest.$ac_ext <<_ACEOF
33409 /* confdefs.h. */
33410 _ACEOF
33411 cat confdefs.h >>conftest.$ac_ext
33412 cat >>conftest.$ac_ext <<_ACEOF
33413 /* end confdefs.h. */
33414 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33415 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33416 #define $ac_func innocuous_$ac_func
33417
33418 /* System header to define __stub macros and hopefully few prototypes,
33419 which can conflict with char $ac_func (); below.
33420 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33421 <limits.h> exists even on freestanding compilers. */
33422
33423 #ifdef __STDC__
33424 # include <limits.h>
33425 #else
33426 # include <assert.h>
33427 #endif
33428
33429 #undef $ac_func
33430
33431 /* Override any gcc2 internal prototype to avoid an error. */
33432 #ifdef __cplusplus
33433 extern "C"
33434 {
33435 #endif
33436 /* We use char because int might match the return type of a gcc2
33437 builtin and then its argument prototype would still apply. */
33438 char $ac_func ();
33439 /* The GNU C library defines this for functions which it implements
33440 to always fail with ENOSYS. Some functions are actually named
33441 something starting with __ and the normal name is an alias. */
33442 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33443 choke me
33444 #else
33445 char (*f) () = $ac_func;
33446 #endif
33447 #ifdef __cplusplus
33448 }
33449 #endif
33450
33451 int
33452 main ()
33453 {
33454 return f != $ac_func;
33455 ;
33456 return 0;
33457 }
33458 _ACEOF
33459 rm -f conftest.$ac_objext conftest$ac_exeext
33460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33461 (eval $ac_link) 2>conftest.er1
33462 ac_status=$?
33463 grep -v '^ *+' conftest.er1 >conftest.err
33464 rm -f conftest.er1
33465 cat conftest.err >&5
33466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33467 (exit $ac_status); } &&
33468 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33470 (eval $ac_try) 2>&5
33471 ac_status=$?
33472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33473 (exit $ac_status); }; } &&
33474 { ac_try='test -s conftest$ac_exeext'
33475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33476 (eval $ac_try) 2>&5
33477 ac_status=$?
33478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33479 (exit $ac_status); }; }; then
33480 eval "$as_ac_var=yes"
33481 else
33482 echo "$as_me: failed program was:" >&5
33483 sed 's/^/| /' conftest.$ac_ext >&5
33484
33485 eval "$as_ac_var=no"
33486 fi
33487 rm -f conftest.err conftest.$ac_objext \
33488 conftest$ac_exeext conftest.$ac_ext
33489 fi
33490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33491 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33492 if test `eval echo '${'$as_ac_var'}'` = yes; then
33493 cat >>confdefs.h <<_ACEOF
33494 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33495 _ACEOF
33496
33497 fi
33498 done
33499
33500
33501 ac_ext=c
33502 ac_cpp='$CPP $CPPFLAGS'
33503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33506
33507
33508 INET_LINK=
33509
33510 for ac_func in inet_addr
33511 do
33512 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33513 echo "$as_me:$LINENO: checking for $ac_func" >&5
33514 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33515 if eval "test \"\${$as_ac_var+set}\" = set"; then
33516 echo $ECHO_N "(cached) $ECHO_C" >&6
33517 else
33518 cat >conftest.$ac_ext <<_ACEOF
33519 /* confdefs.h. */
33520 _ACEOF
33521 cat confdefs.h >>conftest.$ac_ext
33522 cat >>conftest.$ac_ext <<_ACEOF
33523 /* end confdefs.h. */
33524 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33525 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33526 #define $ac_func innocuous_$ac_func
33527
33528 /* System header to define __stub macros and hopefully few prototypes,
33529 which can conflict with char $ac_func (); below.
33530 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33531 <limits.h> exists even on freestanding compilers. */
33532
33533 #ifdef __STDC__
33534 # include <limits.h>
33535 #else
33536 # include <assert.h>
33537 #endif
33538
33539 #undef $ac_func
33540
33541 /* Override any gcc2 internal prototype to avoid an error. */
33542 #ifdef __cplusplus
33543 extern "C"
33544 {
33545 #endif
33546 /* We use char because int might match the return type of a gcc2
33547 builtin and then its argument prototype would still apply. */
33548 char $ac_func ();
33549 /* The GNU C library defines this for functions which it implements
33550 to always fail with ENOSYS. Some functions are actually named
33551 something starting with __ and the normal name is an alias. */
33552 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33553 choke me
33554 #else
33555 char (*f) () = $ac_func;
33556 #endif
33557 #ifdef __cplusplus
33558 }
33559 #endif
33560
33561 int
33562 main ()
33563 {
33564 return f != $ac_func;
33565 ;
33566 return 0;
33567 }
33568 _ACEOF
33569 rm -f conftest.$ac_objext conftest$ac_exeext
33570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33571 (eval $ac_link) 2>conftest.er1
33572 ac_status=$?
33573 grep -v '^ *+' conftest.er1 >conftest.err
33574 rm -f conftest.er1
33575 cat conftest.err >&5
33576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33577 (exit $ac_status); } &&
33578 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33580 (eval $ac_try) 2>&5
33581 ac_status=$?
33582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33583 (exit $ac_status); }; } &&
33584 { ac_try='test -s conftest$ac_exeext'
33585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33586 (eval $ac_try) 2>&5
33587 ac_status=$?
33588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33589 (exit $ac_status); }; }; then
33590 eval "$as_ac_var=yes"
33591 else
33592 echo "$as_me: failed program was:" >&5
33593 sed 's/^/| /' conftest.$ac_ext >&5
33594
33595 eval "$as_ac_var=no"
33596 fi
33597 rm -f conftest.err conftest.$ac_objext \
33598 conftest$ac_exeext conftest.$ac_ext
33599 fi
33600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33602 if test `eval echo '${'$as_ac_var'}'` = yes; then
33603 cat >>confdefs.h <<_ACEOF
33604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33605 _ACEOF
33606 cat >>confdefs.h <<\_ACEOF
33607 #define HAVE_INET_ADDR 1
33608 _ACEOF
33609
33610 else
33611
33612 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
33613 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
33614 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
33615 echo $ECHO_N "(cached) $ECHO_C" >&6
33616 else
33617 ac_check_lib_save_LIBS=$LIBS
33618 LIBS="-lnsl $LIBS"
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
33626 /* Override any gcc2 internal prototype to avoid an error. */
33627 #ifdef __cplusplus
33628 extern "C"
33629 #endif
33630 /* We use char because int might match the return type of a gcc2
33631 builtin and then its argument prototype would still apply. */
33632 char inet_addr ();
33633 int
33634 main ()
33635 {
33636 inet_addr ();
33637 ;
33638 return 0;
33639 }
33640 _ACEOF
33641 rm -f conftest.$ac_objext conftest$ac_exeext
33642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33643 (eval $ac_link) 2>conftest.er1
33644 ac_status=$?
33645 grep -v '^ *+' conftest.er1 >conftest.err
33646 rm -f conftest.er1
33647 cat conftest.err >&5
33648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33649 (exit $ac_status); } &&
33650 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33652 (eval $ac_try) 2>&5
33653 ac_status=$?
33654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33655 (exit $ac_status); }; } &&
33656 { ac_try='test -s conftest$ac_exeext'
33657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33658 (eval $ac_try) 2>&5
33659 ac_status=$?
33660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33661 (exit $ac_status); }; }; then
33662 ac_cv_lib_nsl_inet_addr=yes
33663 else
33664 echo "$as_me: failed program was:" >&5
33665 sed 's/^/| /' conftest.$ac_ext >&5
33666
33667 ac_cv_lib_nsl_inet_addr=no
33668 fi
33669 rm -f conftest.err conftest.$ac_objext \
33670 conftest$ac_exeext conftest.$ac_ext
33671 LIBS=$ac_check_lib_save_LIBS
33672 fi
33673 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
33674 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
33675 if test $ac_cv_lib_nsl_inet_addr = yes; then
33676 INET_LINK="nsl"
33677 else
33678
33679 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
33680 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
33681 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
33682 echo $ECHO_N "(cached) $ECHO_C" >&6
33683 else
33684 ac_check_lib_save_LIBS=$LIBS
33685 LIBS="-lresolv $LIBS"
33686 cat >conftest.$ac_ext <<_ACEOF
33687 /* confdefs.h. */
33688 _ACEOF
33689 cat confdefs.h >>conftest.$ac_ext
33690 cat >>conftest.$ac_ext <<_ACEOF
33691 /* end confdefs.h. */
33692
33693 /* Override any gcc2 internal prototype to avoid an error. */
33694 #ifdef __cplusplus
33695 extern "C"
33696 #endif
33697 /* We use char because int might match the return type of a gcc2
33698 builtin and then its argument prototype would still apply. */
33699 char inet_addr ();
33700 int
33701 main ()
33702 {
33703 inet_addr ();
33704 ;
33705 return 0;
33706 }
33707 _ACEOF
33708 rm -f conftest.$ac_objext conftest$ac_exeext
33709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33710 (eval $ac_link) 2>conftest.er1
33711 ac_status=$?
33712 grep -v '^ *+' conftest.er1 >conftest.err
33713 rm -f conftest.er1
33714 cat conftest.err >&5
33715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33716 (exit $ac_status); } &&
33717 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33719 (eval $ac_try) 2>&5
33720 ac_status=$?
33721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33722 (exit $ac_status); }; } &&
33723 { ac_try='test -s conftest$ac_exeext'
33724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33725 (eval $ac_try) 2>&5
33726 ac_status=$?
33727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33728 (exit $ac_status); }; }; then
33729 ac_cv_lib_resolv_inet_addr=yes
33730 else
33731 echo "$as_me: failed program was:" >&5
33732 sed 's/^/| /' conftest.$ac_ext >&5
33733
33734 ac_cv_lib_resolv_inet_addr=no
33735 fi
33736 rm -f conftest.err conftest.$ac_objext \
33737 conftest$ac_exeext conftest.$ac_ext
33738 LIBS=$ac_check_lib_save_LIBS
33739 fi
33740 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
33741 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
33742 if test $ac_cv_lib_resolv_inet_addr = yes; then
33743 INET_LINK="resolv"
33744 else
33745
33746 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
33747 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
33748 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
33749 echo $ECHO_N "(cached) $ECHO_C" >&6
33750 else
33751 ac_check_lib_save_LIBS=$LIBS
33752 LIBS="-lsocket $LIBS"
33753 cat >conftest.$ac_ext <<_ACEOF
33754 /* confdefs.h. */
33755 _ACEOF
33756 cat confdefs.h >>conftest.$ac_ext
33757 cat >>conftest.$ac_ext <<_ACEOF
33758 /* end confdefs.h. */
33759
33760 /* Override any gcc2 internal prototype to avoid an error. */
33761 #ifdef __cplusplus
33762 extern "C"
33763 #endif
33764 /* We use char because int might match the return type of a gcc2
33765 builtin and then its argument prototype would still apply. */
33766 char inet_addr ();
33767 int
33768 main ()
33769 {
33770 inet_addr ();
33771 ;
33772 return 0;
33773 }
33774 _ACEOF
33775 rm -f conftest.$ac_objext conftest$ac_exeext
33776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33777 (eval $ac_link) 2>conftest.er1
33778 ac_status=$?
33779 grep -v '^ *+' conftest.er1 >conftest.err
33780 rm -f conftest.er1
33781 cat conftest.err >&5
33782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33783 (exit $ac_status); } &&
33784 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33786 (eval $ac_try) 2>&5
33787 ac_status=$?
33788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33789 (exit $ac_status); }; } &&
33790 { ac_try='test -s conftest$ac_exeext'
33791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33792 (eval $ac_try) 2>&5
33793 ac_status=$?
33794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33795 (exit $ac_status); }; }; then
33796 ac_cv_lib_socket_inet_addr=yes
33797 else
33798 echo "$as_me: failed program was:" >&5
33799 sed 's/^/| /' conftest.$ac_ext >&5
33800
33801 ac_cv_lib_socket_inet_addr=no
33802 fi
33803 rm -f conftest.err conftest.$ac_objext \
33804 conftest$ac_exeext conftest.$ac_ext
33805 LIBS=$ac_check_lib_save_LIBS
33806 fi
33807 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
33808 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
33809 if test $ac_cv_lib_socket_inet_addr = yes; then
33810 INET_LINK="socket"
33811
33812 fi
33813
33814
33815
33816 fi
33817
33818
33819
33820 fi
33821
33822
33823
33824 fi
33825 done
33826
33827
33828
33829 for ac_func in inet_aton
33830 do
33831 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33832 echo "$as_me:$LINENO: checking for $ac_func" >&5
33833 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33834 if eval "test \"\${$as_ac_var+set}\" = set"; then
33835 echo $ECHO_N "(cached) $ECHO_C" >&6
33836 else
33837 cat >conftest.$ac_ext <<_ACEOF
33838 /* confdefs.h. */
33839 _ACEOF
33840 cat confdefs.h >>conftest.$ac_ext
33841 cat >>conftest.$ac_ext <<_ACEOF
33842 /* end confdefs.h. */
33843 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33844 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33845 #define $ac_func innocuous_$ac_func
33846
33847 /* System header to define __stub macros and hopefully few prototypes,
33848 which can conflict with char $ac_func (); below.
33849 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33850 <limits.h> exists even on freestanding compilers. */
33851
33852 #ifdef __STDC__
33853 # include <limits.h>
33854 #else
33855 # include <assert.h>
33856 #endif
33857
33858 #undef $ac_func
33859
33860 /* Override any gcc2 internal prototype to avoid an error. */
33861 #ifdef __cplusplus
33862 extern "C"
33863 {
33864 #endif
33865 /* We use char because int might match the return type of a gcc2
33866 builtin and then its argument prototype would still apply. */
33867 char $ac_func ();
33868 /* The GNU C library defines this for functions which it implements
33869 to always fail with ENOSYS. Some functions are actually named
33870 something starting with __ and the normal name is an alias. */
33871 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33872 choke me
33873 #else
33874 char (*f) () = $ac_func;
33875 #endif
33876 #ifdef __cplusplus
33877 }
33878 #endif
33879
33880 int
33881 main ()
33882 {
33883 return f != $ac_func;
33884 ;
33885 return 0;
33886 }
33887 _ACEOF
33888 rm -f conftest.$ac_objext conftest$ac_exeext
33889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33890 (eval $ac_link) 2>conftest.er1
33891 ac_status=$?
33892 grep -v '^ *+' conftest.er1 >conftest.err
33893 rm -f conftest.er1
33894 cat conftest.err >&5
33895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33896 (exit $ac_status); } &&
33897 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33899 (eval $ac_try) 2>&5
33900 ac_status=$?
33901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33902 (exit $ac_status); }; } &&
33903 { ac_try='test -s conftest$ac_exeext'
33904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33905 (eval $ac_try) 2>&5
33906 ac_status=$?
33907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33908 (exit $ac_status); }; }; then
33909 eval "$as_ac_var=yes"
33910 else
33911 echo "$as_me: failed program was:" >&5
33912 sed 's/^/| /' conftest.$ac_ext >&5
33913
33914 eval "$as_ac_var=no"
33915 fi
33916 rm -f conftest.err conftest.$ac_objext \
33917 conftest$ac_exeext conftest.$ac_ext
33918 fi
33919 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33920 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33921 if test `eval echo '${'$as_ac_var'}'` = yes; then
33922 cat >>confdefs.h <<_ACEOF
33923 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33924 _ACEOF
33925 cat >>confdefs.h <<\_ACEOF
33926 #define HAVE_INET_ATON 1
33927 _ACEOF
33928
33929 else
33930
33931 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
33932 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
33933 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
33934 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
33935 echo $ECHO_N "(cached) $ECHO_C" >&6
33936 else
33937 ac_check_lib_save_LIBS=$LIBS
33938 LIBS="-l$INET_LINK $LIBS"
33939 cat >conftest.$ac_ext <<_ACEOF
33940 /* confdefs.h. */
33941 _ACEOF
33942 cat confdefs.h >>conftest.$ac_ext
33943 cat >>conftest.$ac_ext <<_ACEOF
33944 /* end confdefs.h. */
33945
33946 /* Override any gcc2 internal prototype to avoid an error. */
33947 #ifdef __cplusplus
33948 extern "C"
33949 #endif
33950 /* We use char because int might match the return type of a gcc2
33951 builtin and then its argument prototype would still apply. */
33952 char inet_aton ();
33953 int
33954 main ()
33955 {
33956 inet_aton ();
33957 ;
33958 return 0;
33959 }
33960 _ACEOF
33961 rm -f conftest.$ac_objext conftest$ac_exeext
33962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33963 (eval $ac_link) 2>conftest.er1
33964 ac_status=$?
33965 grep -v '^ *+' conftest.er1 >conftest.err
33966 rm -f conftest.er1
33967 cat conftest.err >&5
33968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33969 (exit $ac_status); } &&
33970 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33972 (eval $ac_try) 2>&5
33973 ac_status=$?
33974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33975 (exit $ac_status); }; } &&
33976 { ac_try='test -s conftest$ac_exeext'
33977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33978 (eval $ac_try) 2>&5
33979 ac_status=$?
33980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33981 (exit $ac_status); }; }; then
33982 eval "$as_ac_Lib=yes"
33983 else
33984 echo "$as_me: failed program was:" >&5
33985 sed 's/^/| /' conftest.$ac_ext >&5
33986
33987 eval "$as_ac_Lib=no"
33988 fi
33989 rm -f conftest.err conftest.$ac_objext \
33990 conftest$ac_exeext conftest.$ac_ext
33991 LIBS=$ac_check_lib_save_LIBS
33992 fi
33993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
33994 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
33995 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
33996 cat >>confdefs.h <<\_ACEOF
33997 #define HAVE_INET_ATON 1
33998 _ACEOF
33999
34000 fi
34001
34002
34003 fi
34004 done
34005
34006
34007 if test "x$INET_LINK" != "x"; then
34008 cat >>confdefs.h <<\_ACEOF
34009 #define HAVE_INET_ADDR 1
34010 _ACEOF
34011
34012 INET_LINK=" -l$INET_LINK"
34013 fi
34014
34015 fi
34016
34017
34018
34019 EXTRALIBS_ESD=
34020 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
34021 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
34022 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
34023 echo $ECHO_N "(cached) $ECHO_C" >&6
34024 else
34025 ac_check_lib_save_LIBS=$LIBS
34026 LIBS="-lesd $LIBS"
34027 cat >conftest.$ac_ext <<_ACEOF
34028 /* confdefs.h. */
34029 _ACEOF
34030 cat confdefs.h >>conftest.$ac_ext
34031 cat >>conftest.$ac_ext <<_ACEOF
34032 /* end confdefs.h. */
34033
34034 /* Override any gcc2 internal prototype to avoid an error. */
34035 #ifdef __cplusplus
34036 extern "C"
34037 #endif
34038 /* We use char because int might match the return type of a gcc2
34039 builtin and then its argument prototype would still apply. */
34040 char esd_close ();
34041 int
34042 main ()
34043 {
34044 esd_close ();
34045 ;
34046 return 0;
34047 }
34048 _ACEOF
34049 rm -f conftest.$ac_objext conftest$ac_exeext
34050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34051 (eval $ac_link) 2>conftest.er1
34052 ac_status=$?
34053 grep -v '^ *+' conftest.er1 >conftest.err
34054 rm -f conftest.er1
34055 cat conftest.err >&5
34056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34057 (exit $ac_status); } &&
34058 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34060 (eval $ac_try) 2>&5
34061 ac_status=$?
34062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34063 (exit $ac_status); }; } &&
34064 { ac_try='test -s conftest$ac_exeext'
34065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34066 (eval $ac_try) 2>&5
34067 ac_status=$?
34068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34069 (exit $ac_status); }; }; then
34070 ac_cv_lib_esd_esd_close=yes
34071 else
34072 echo "$as_me: failed program was:" >&5
34073 sed 's/^/| /' conftest.$ac_ext >&5
34074
34075 ac_cv_lib_esd_esd_close=no
34076 fi
34077 rm -f conftest.err conftest.$ac_objext \
34078 conftest$ac_exeext conftest.$ac_ext
34079 LIBS=$ac_check_lib_save_LIBS
34080 fi
34081 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
34082 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
34083 if test $ac_cv_lib_esd_esd_close = yes; then
34084
34085
34086 for ac_header in esd.h
34087 do
34088 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34089 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34090 echo "$as_me:$LINENO: checking for $ac_header" >&5
34091 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34092 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34093 echo $ECHO_N "(cached) $ECHO_C" >&6
34094 fi
34095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34096 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34097 else
34098 # Is the header compilable?
34099 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34100 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34101 cat >conftest.$ac_ext <<_ACEOF
34102 /* confdefs.h. */
34103 _ACEOF
34104 cat confdefs.h >>conftest.$ac_ext
34105 cat >>conftest.$ac_ext <<_ACEOF
34106 /* end confdefs.h. */
34107 $ac_includes_default
34108 #include <$ac_header>
34109 _ACEOF
34110 rm -f conftest.$ac_objext
34111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34112 (eval $ac_compile) 2>conftest.er1
34113 ac_status=$?
34114 grep -v '^ *+' conftest.er1 >conftest.err
34115 rm -f conftest.er1
34116 cat conftest.err >&5
34117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34118 (exit $ac_status); } &&
34119 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34121 (eval $ac_try) 2>&5
34122 ac_status=$?
34123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34124 (exit $ac_status); }; } &&
34125 { ac_try='test -s conftest.$ac_objext'
34126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34127 (eval $ac_try) 2>&5
34128 ac_status=$?
34129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34130 (exit $ac_status); }; }; then
34131 ac_header_compiler=yes
34132 else
34133 echo "$as_me: failed program was:" >&5
34134 sed 's/^/| /' conftest.$ac_ext >&5
34135
34136 ac_header_compiler=no
34137 fi
34138 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34139 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34140 echo "${ECHO_T}$ac_header_compiler" >&6
34141
34142 # Is the header present?
34143 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34144 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34145 cat >conftest.$ac_ext <<_ACEOF
34146 /* confdefs.h. */
34147 _ACEOF
34148 cat confdefs.h >>conftest.$ac_ext
34149 cat >>conftest.$ac_ext <<_ACEOF
34150 /* end confdefs.h. */
34151 #include <$ac_header>
34152 _ACEOF
34153 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34154 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
34155 ac_status=$?
34156 grep -v '^ *+' conftest.er1 >conftest.err
34157 rm -f conftest.er1
34158 cat conftest.err >&5
34159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34160 (exit $ac_status); } >/dev/null; then
34161 if test -s conftest.err; then
34162 ac_cpp_err=$ac_c_preproc_warn_flag
34163 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
34164 else
34165 ac_cpp_err=
34166 fi
34167 else
34168 ac_cpp_err=yes
34169 fi
34170 if test -z "$ac_cpp_err"; then
34171 ac_header_preproc=yes
34172 else
34173 echo "$as_me: failed program was:" >&5
34174 sed 's/^/| /' conftest.$ac_ext >&5
34175
34176 ac_header_preproc=no
34177 fi
34178 rm -f conftest.err conftest.$ac_ext
34179 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34180 echo "${ECHO_T}$ac_header_preproc" >&6
34181
34182 # So? What about this header?
34183 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34184 yes:no: )
34185 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34186 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34187 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34188 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34189 ac_header_preproc=yes
34190 ;;
34191 no:yes:* )
34192 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34193 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34194 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34195 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34196 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34197 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34198 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34199 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34200 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34201 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34202 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34203 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34204 (
34205 cat <<\_ASBOX
34206 ## ----------------------------------------- ##
34207 ## Report this to wx-dev@lists.wxwidgets.org ##
34208 ## ----------------------------------------- ##
34209 _ASBOX
34210 ) |
34211 sed "s/^/$as_me: WARNING: /" >&2
34212 ;;
34213 esac
34214 echo "$as_me:$LINENO: checking for $ac_header" >&5
34215 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34216 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34217 echo $ECHO_N "(cached) $ECHO_C" >&6
34218 else
34219 eval "$as_ac_Header=\$ac_header_preproc"
34220 fi
34221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34222 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34223
34224 fi
34225 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34226 cat >>confdefs.h <<_ACEOF
34227 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34228 _ACEOF
34229
34230 EXTRALIBS_ESD="-lesd"
34231
34232 fi
34233
34234 done
34235
34236
34237 fi
34238
34239
34240
34241 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
34242 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
34243 cat >conftest.$ac_ext <<_ACEOF
34244 /* confdefs.h. */
34245 _ACEOF
34246 cat confdefs.h >>conftest.$ac_ext
34247 cat >>conftest.$ac_ext <<_ACEOF
34248 /* end confdefs.h. */
34249 #ifdef __linux__
34250 #include <linux/cdrom.h>
34251 #else
34252 /* For Solaris */
34253 #include <sys/cdio.h>
34254 #endif
34255
34256 int
34257 main ()
34258 {
34259 struct cdrom_tocentry entry, old_entry;
34260 ;
34261 return 0;
34262 }
34263 _ACEOF
34264 rm -f conftest.$ac_objext
34265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34266 (eval $ac_compile) 2>conftest.er1
34267 ac_status=$?
34268 grep -v '^ *+' conftest.er1 >conftest.err
34269 rm -f conftest.er1
34270 cat conftest.err >&5
34271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34272 (exit $ac_status); } &&
34273 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34275 (eval $ac_try) 2>&5
34276 ac_status=$?
34277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34278 (exit $ac_status); }; } &&
34279 { ac_try='test -s conftest.$ac_objext'
34280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34281 (eval $ac_try) 2>&5
34282 ac_status=$?
34283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34284 (exit $ac_status); }; }; then
34285 echo "$as_me:$LINENO: result: yes" >&5
34286 echo "${ECHO_T}yes" >&6
34287 cat >>confdefs.h <<\_ACEOF
34288 #define HAVE_KNOWN_CDROM_INTERFACE 1
34289 _ACEOF
34290
34291 else
34292 echo "$as_me: failed program was:" >&5
34293 sed 's/^/| /' conftest.$ac_ext >&5
34294
34295 echo "$as_me:$LINENO: result: no" >&5
34296 echo "${ECHO_T}no" >&6
34297 fi
34298 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34299
34300
34301 cat >confcache <<\_ACEOF
34302 # This file is a shell script that caches the results of configure
34303 # tests run on this system so they can be shared between configure
34304 # scripts and configure runs, see configure's option --config-cache.
34305 # It is not useful on other systems. If it contains results you don't
34306 # want to keep, you may remove or edit it.
34307 #
34308 # config.status only pays attention to the cache file if you give it
34309 # the --recheck option to rerun configure.
34310 #
34311 # `ac_cv_env_foo' variables (set or unset) will be overridden when
34312 # loading this file, other *unset* `ac_cv_foo' will be assigned the
34313 # following values.
34314
34315 _ACEOF
34316
34317 # The following way of writing the cache mishandles newlines in values,
34318 # but we know of no workaround that is simple, portable, and efficient.
34319 # So, don't put newlines in cache variables' values.
34320 # Ultrix sh set writes to stderr and can't be redirected directly,
34321 # and sets the high bit in the cache file unless we assign to the vars.
34322 {
34323 (set) 2>&1 |
34324 case `(ac_space=' '; set | grep ac_space) 2>&1` in
34325 *ac_space=\ *)
34326 # `set' does not quote correctly, so add quotes (double-quote
34327 # substitution turns \\\\ into \\, and sed turns \\ into \).
34328 sed -n \
34329 "s/'/'\\\\''/g;
34330 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
34331 ;;
34332 *)
34333 # `set' quotes correctly as required by POSIX, so do not add quotes.
34334 sed -n \
34335 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
34336 ;;
34337 esac;
34338 } |
34339 sed '
34340 t clear
34341 : clear
34342 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
34343 t end
34344 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
34345 : end' >>confcache
34346 if diff $cache_file confcache >/dev/null 2>&1; then :; else
34347 if test -w $cache_file; then
34348 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
34349 cat confcache >$cache_file
34350 else
34351 echo "not updating unwritable cache $cache_file"
34352 fi
34353 fi
34354 rm -f confcache
34355
34356
34357 CPP_MT_FLAG=
34358 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
34359
34360
34361 THREADS_LINK=
34362 THREADS_CFLAGS=
34363
34364 if test "$wxUSE_THREADS" = "yes" ; then
34365 if test "$USE_BEOS" = 1; then
34366 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
34367 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
34368 wxUSE_THREADS="no"
34369 fi
34370 fi
34371
34372 if test "$wxUSE_THREADS" = "yes" ; then
34373
34374
34375 THREAD_OPTS="-pthread"
34376 case "${host}" in
34377 *-*-solaris2* | *-*-sunos4* )
34378 if test "x$GCC" = "xyes"; then
34379 THREAD_OPTS="-pthreads $THREAD_OPTS"
34380 else
34381 THREAD_OPTS="-mt $THREAD_OPTS"
34382 fi
34383 ;;
34384 *-*-freebsd*)
34385 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
34386 ;;
34387 *-*-darwin* | *-*-cygwin* )
34388 THREAD_OPTS=""
34389 ;;
34390 *-*-aix*)
34391 THREAD_OPTS="pthreads"
34392 ;;
34393 *-hp-hpux* )
34394 if test "x$GCC" != "xyes"; then
34395 THREAD_OPTS=""
34396 fi
34397 ;;
34398
34399 *-*-irix* )
34400 if test "x$GCC" = "xyes"; then
34401 THREAD_OPTS=""
34402 fi
34403 ;;
34404
34405 *-*-*UnixWare*)
34406 if test "x$GCC" != "xyes"; then
34407 THREAD_OPTS="-Ethread"
34408 fi
34409 ;;
34410 esac
34411
34412 THREAD_OPTS="$THREAD_OPTS pthread none"
34413
34414 THREADS_OK=no
34415 for flag in $THREAD_OPTS; do
34416 case $flag in
34417 none)
34418 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
34419 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
34420 ;;
34421
34422 -*)
34423 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
34424 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
34425 THREADS_CFLAGS="$flag"
34426 ;;
34427
34428 *)
34429 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
34430 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
34431 THREADS_LINK="-l$flag"
34432 ;;
34433 esac
34434
34435 save_LIBS="$LIBS"
34436 save_CFLAGS="$CFLAGS"
34437 LIBS="$THREADS_LINK $LIBS"
34438 CFLAGS="$THREADS_CFLAGS $CFLAGS"
34439
34440 cat >conftest.$ac_ext <<_ACEOF
34441 /* confdefs.h. */
34442 _ACEOF
34443 cat confdefs.h >>conftest.$ac_ext
34444 cat >>conftest.$ac_ext <<_ACEOF
34445 /* end confdefs.h. */
34446 #include <pthread.h>
34447 int
34448 main ()
34449 {
34450 pthread_create(0,0,0,0);
34451 ;
34452 return 0;
34453 }
34454 _ACEOF
34455 rm -f conftest.$ac_objext conftest$ac_exeext
34456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34457 (eval $ac_link) 2>conftest.er1
34458 ac_status=$?
34459 grep -v '^ *+' conftest.er1 >conftest.err
34460 rm -f conftest.er1
34461 cat conftest.err >&5
34462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34463 (exit $ac_status); } &&
34464 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34466 (eval $ac_try) 2>&5
34467 ac_status=$?
34468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34469 (exit $ac_status); }; } &&
34470 { ac_try='test -s conftest$ac_exeext'
34471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34472 (eval $ac_try) 2>&5
34473 ac_status=$?
34474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34475 (exit $ac_status); }; }; then
34476 THREADS_OK=yes
34477 else
34478 echo "$as_me: failed program was:" >&5
34479 sed 's/^/| /' conftest.$ac_ext >&5
34480
34481 fi
34482 rm -f conftest.err conftest.$ac_objext \
34483 conftest$ac_exeext conftest.$ac_ext
34484
34485 LIBS="$save_LIBS"
34486 CFLAGS="$save_CFLAGS"
34487
34488 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
34489 echo "${ECHO_T}$THREADS_OK" >&6
34490 if test "x$THREADS_OK" = "xyes"; then
34491 break;
34492 fi
34493
34494 THREADS_LINK=""
34495 THREADS_CFLAGS=""
34496 done
34497
34498 if test "x$THREADS_OK" != "xyes"; then
34499 wxUSE_THREADS=no
34500 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
34501 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
34502 else
34503 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
34504 LIBS="$THREADS_LINK $LIBS"
34505
34506 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
34507 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
34508 flag=no
34509 case "${host}" in
34510 *-aix*)
34511 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
34512 flag="-D_THREAD_SAFE"
34513 ;;
34514 *-freebsd*)
34515 flag="-D_THREAD_SAFE"
34516 ;;
34517 *-hp-hpux* )
34518 flag="-D_REENTRANT"
34519 if test "x$GCC" != "xyes"; then
34520 flag="$flag -D_RWSTD_MULTI_THREAD"
34521 fi
34522 ;;
34523 *solaris* | alpha*-osf*)
34524 flag="-D_REENTRANT"
34525 ;;
34526 esac
34527 echo "$as_me:$LINENO: result: ${flag}" >&5
34528 echo "${ECHO_T}${flag}" >&6
34529 if test "x$flag" != xno; then
34530 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
34531 fi
34532
34533 if test "x$THREADS_CFLAGS" != "x"; then
34534 CFLAGS="$CFLAGS $THREADS_CFLAGS"
34535 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
34536 fi
34537 fi
34538 fi
34539
34540 if test "$wxUSE_THREADS" = "yes" ; then
34541
34542 for ac_func in thr_setconcurrency
34543 do
34544 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34545 echo "$as_me:$LINENO: checking for $ac_func" >&5
34546 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34547 if eval "test \"\${$as_ac_var+set}\" = set"; then
34548 echo $ECHO_N "(cached) $ECHO_C" >&6
34549 else
34550 cat >conftest.$ac_ext <<_ACEOF
34551 /* confdefs.h. */
34552 _ACEOF
34553 cat confdefs.h >>conftest.$ac_ext
34554 cat >>conftest.$ac_ext <<_ACEOF
34555 /* end confdefs.h. */
34556 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34557 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34558 #define $ac_func innocuous_$ac_func
34559
34560 /* System header to define __stub macros and hopefully few prototypes,
34561 which can conflict with char $ac_func (); below.
34562 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34563 <limits.h> exists even on freestanding compilers. */
34564
34565 #ifdef __STDC__
34566 # include <limits.h>
34567 #else
34568 # include <assert.h>
34569 #endif
34570
34571 #undef $ac_func
34572
34573 /* Override any gcc2 internal prototype to avoid an error. */
34574 #ifdef __cplusplus
34575 extern "C"
34576 {
34577 #endif
34578 /* We use char because int might match the return type of a gcc2
34579 builtin and then its argument prototype would still apply. */
34580 char $ac_func ();
34581 /* The GNU C library defines this for functions which it implements
34582 to always fail with ENOSYS. Some functions are actually named
34583 something starting with __ and the normal name is an alias. */
34584 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34585 choke me
34586 #else
34587 char (*f) () = $ac_func;
34588 #endif
34589 #ifdef __cplusplus
34590 }
34591 #endif
34592
34593 int
34594 main ()
34595 {
34596 return f != $ac_func;
34597 ;
34598 return 0;
34599 }
34600 _ACEOF
34601 rm -f conftest.$ac_objext conftest$ac_exeext
34602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34603 (eval $ac_link) 2>conftest.er1
34604 ac_status=$?
34605 grep -v '^ *+' conftest.er1 >conftest.err
34606 rm -f conftest.er1
34607 cat conftest.err >&5
34608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34609 (exit $ac_status); } &&
34610 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34612 (eval $ac_try) 2>&5
34613 ac_status=$?
34614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34615 (exit $ac_status); }; } &&
34616 { ac_try='test -s conftest$ac_exeext'
34617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34618 (eval $ac_try) 2>&5
34619 ac_status=$?
34620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34621 (exit $ac_status); }; }; then
34622 eval "$as_ac_var=yes"
34623 else
34624 echo "$as_me: failed program was:" >&5
34625 sed 's/^/| /' conftest.$ac_ext >&5
34626
34627 eval "$as_ac_var=no"
34628 fi
34629 rm -f conftest.err conftest.$ac_objext \
34630 conftest$ac_exeext conftest.$ac_ext
34631 fi
34632 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34633 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34634 if test `eval echo '${'$as_ac_var'}'` = yes; then
34635 cat >>confdefs.h <<_ACEOF
34636 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34637 _ACEOF
34638
34639 fi
34640 done
34641
34642
34643
34644 for ac_header in sched.h
34645 do
34646 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34647 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34648 echo "$as_me:$LINENO: checking for $ac_header" >&5
34649 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34650 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34651 echo $ECHO_N "(cached) $ECHO_C" >&6
34652 fi
34653 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34654 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34655 else
34656 # Is the header compilable?
34657 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34658 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34659 cat >conftest.$ac_ext <<_ACEOF
34660 /* confdefs.h. */
34661 _ACEOF
34662 cat confdefs.h >>conftest.$ac_ext
34663 cat >>conftest.$ac_ext <<_ACEOF
34664 /* end confdefs.h. */
34665 $ac_includes_default
34666 #include <$ac_header>
34667 _ACEOF
34668 rm -f conftest.$ac_objext
34669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34670 (eval $ac_compile) 2>conftest.er1
34671 ac_status=$?
34672 grep -v '^ *+' conftest.er1 >conftest.err
34673 rm -f conftest.er1
34674 cat conftest.err >&5
34675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34676 (exit $ac_status); } &&
34677 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34679 (eval $ac_try) 2>&5
34680 ac_status=$?
34681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34682 (exit $ac_status); }; } &&
34683 { ac_try='test -s conftest.$ac_objext'
34684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34685 (eval $ac_try) 2>&5
34686 ac_status=$?
34687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34688 (exit $ac_status); }; }; then
34689 ac_header_compiler=yes
34690 else
34691 echo "$as_me: failed program was:" >&5
34692 sed 's/^/| /' conftest.$ac_ext >&5
34693
34694 ac_header_compiler=no
34695 fi
34696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34697 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34698 echo "${ECHO_T}$ac_header_compiler" >&6
34699
34700 # Is the header present?
34701 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34702 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34703 cat >conftest.$ac_ext <<_ACEOF
34704 /* confdefs.h. */
34705 _ACEOF
34706 cat confdefs.h >>conftest.$ac_ext
34707 cat >>conftest.$ac_ext <<_ACEOF
34708 /* end confdefs.h. */
34709 #include <$ac_header>
34710 _ACEOF
34711 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34712 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
34713 ac_status=$?
34714 grep -v '^ *+' conftest.er1 >conftest.err
34715 rm -f conftest.er1
34716 cat conftest.err >&5
34717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34718 (exit $ac_status); } >/dev/null; then
34719 if test -s conftest.err; then
34720 ac_cpp_err=$ac_c_preproc_warn_flag
34721 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
34722 else
34723 ac_cpp_err=
34724 fi
34725 else
34726 ac_cpp_err=yes
34727 fi
34728 if test -z "$ac_cpp_err"; then
34729 ac_header_preproc=yes
34730 else
34731 echo "$as_me: failed program was:" >&5
34732 sed 's/^/| /' conftest.$ac_ext >&5
34733
34734 ac_header_preproc=no
34735 fi
34736 rm -f conftest.err conftest.$ac_ext
34737 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34738 echo "${ECHO_T}$ac_header_preproc" >&6
34739
34740 # So? What about this header?
34741 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34742 yes:no: )
34743 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34744 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34745 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34746 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34747 ac_header_preproc=yes
34748 ;;
34749 no:yes:* )
34750 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34751 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34752 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34753 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34754 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34755 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34756 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34757 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34758 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34759 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34760 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34761 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34762 (
34763 cat <<\_ASBOX
34764 ## ----------------------------------------- ##
34765 ## Report this to wx-dev@lists.wxwidgets.org ##
34766 ## ----------------------------------------- ##
34767 _ASBOX
34768 ) |
34769 sed "s/^/$as_me: WARNING: /" >&2
34770 ;;
34771 esac
34772 echo "$as_me:$LINENO: checking for $ac_header" >&5
34773 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34774 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34775 echo $ECHO_N "(cached) $ECHO_C" >&6
34776 else
34777 eval "$as_ac_Header=\$ac_header_preproc"
34778 fi
34779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34780 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34781
34782 fi
34783 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34784 cat >>confdefs.h <<_ACEOF
34785 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34786 _ACEOF
34787
34788 fi
34789
34790 done
34791
34792 if test "$ac_cv_header_sched_h" = "yes"; then
34793 echo "$as_me:$LINENO: checking for sched_yield" >&5
34794 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
34795 if test "${ac_cv_func_sched_yield+set}" = set; then
34796 echo $ECHO_N "(cached) $ECHO_C" >&6
34797 else
34798 cat >conftest.$ac_ext <<_ACEOF
34799 /* confdefs.h. */
34800 _ACEOF
34801 cat confdefs.h >>conftest.$ac_ext
34802 cat >>conftest.$ac_ext <<_ACEOF
34803 /* end confdefs.h. */
34804 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
34805 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34806 #define sched_yield innocuous_sched_yield
34807
34808 /* System header to define __stub macros and hopefully few prototypes,
34809 which can conflict with char sched_yield (); below.
34810 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34811 <limits.h> exists even on freestanding compilers. */
34812
34813 #ifdef __STDC__
34814 # include <limits.h>
34815 #else
34816 # include <assert.h>
34817 #endif
34818
34819 #undef sched_yield
34820
34821 /* Override any gcc2 internal prototype to avoid an error. */
34822 #ifdef __cplusplus
34823 extern "C"
34824 {
34825 #endif
34826 /* We use char because int might match the return type of a gcc2
34827 builtin and then its argument prototype would still apply. */
34828 char sched_yield ();
34829 /* The GNU C library defines this for functions which it implements
34830 to always fail with ENOSYS. Some functions are actually named
34831 something starting with __ and the normal name is an alias. */
34832 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
34833 choke me
34834 #else
34835 char (*f) () = sched_yield;
34836 #endif
34837 #ifdef __cplusplus
34838 }
34839 #endif
34840
34841 int
34842 main ()
34843 {
34844 return f != sched_yield;
34845 ;
34846 return 0;
34847 }
34848 _ACEOF
34849 rm -f conftest.$ac_objext conftest$ac_exeext
34850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34851 (eval $ac_link) 2>conftest.er1
34852 ac_status=$?
34853 grep -v '^ *+' conftest.er1 >conftest.err
34854 rm -f conftest.er1
34855 cat conftest.err >&5
34856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34857 (exit $ac_status); } &&
34858 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34860 (eval $ac_try) 2>&5
34861 ac_status=$?
34862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34863 (exit $ac_status); }; } &&
34864 { ac_try='test -s conftest$ac_exeext'
34865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34866 (eval $ac_try) 2>&5
34867 ac_status=$?
34868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34869 (exit $ac_status); }; }; then
34870 ac_cv_func_sched_yield=yes
34871 else
34872 echo "$as_me: failed program was:" >&5
34873 sed 's/^/| /' conftest.$ac_ext >&5
34874
34875 ac_cv_func_sched_yield=no
34876 fi
34877 rm -f conftest.err conftest.$ac_objext \
34878 conftest$ac_exeext conftest.$ac_ext
34879 fi
34880 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
34881 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
34882 if test $ac_cv_func_sched_yield = yes; then
34883 cat >>confdefs.h <<\_ACEOF
34884 #define HAVE_SCHED_YIELD 1
34885 _ACEOF
34886
34887 else
34888
34889 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
34890 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
34891 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
34892 echo $ECHO_N "(cached) $ECHO_C" >&6
34893 else
34894 ac_check_lib_save_LIBS=$LIBS
34895 LIBS="-lposix4 $LIBS"
34896 cat >conftest.$ac_ext <<_ACEOF
34897 /* confdefs.h. */
34898 _ACEOF
34899 cat confdefs.h >>conftest.$ac_ext
34900 cat >>conftest.$ac_ext <<_ACEOF
34901 /* end confdefs.h. */
34902
34903 /* Override any gcc2 internal prototype to avoid an error. */
34904 #ifdef __cplusplus
34905 extern "C"
34906 #endif
34907 /* We use char because int might match the return type of a gcc2
34908 builtin and then its argument prototype would still apply. */
34909 char sched_yield ();
34910 int
34911 main ()
34912 {
34913 sched_yield ();
34914 ;
34915 return 0;
34916 }
34917 _ACEOF
34918 rm -f conftest.$ac_objext conftest$ac_exeext
34919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34920 (eval $ac_link) 2>conftest.er1
34921 ac_status=$?
34922 grep -v '^ *+' conftest.er1 >conftest.err
34923 rm -f conftest.er1
34924 cat conftest.err >&5
34925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34926 (exit $ac_status); } &&
34927 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34929 (eval $ac_try) 2>&5
34930 ac_status=$?
34931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34932 (exit $ac_status); }; } &&
34933 { ac_try='test -s conftest$ac_exeext'
34934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34935 (eval $ac_try) 2>&5
34936 ac_status=$?
34937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34938 (exit $ac_status); }; }; then
34939 ac_cv_lib_posix4_sched_yield=yes
34940 else
34941 echo "$as_me: failed program was:" >&5
34942 sed 's/^/| /' conftest.$ac_ext >&5
34943
34944 ac_cv_lib_posix4_sched_yield=no
34945 fi
34946 rm -f conftest.err conftest.$ac_objext \
34947 conftest$ac_exeext conftest.$ac_ext
34948 LIBS=$ac_check_lib_save_LIBS
34949 fi
34950 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
34951 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
34952 if test $ac_cv_lib_posix4_sched_yield = yes; then
34953 cat >>confdefs.h <<\_ACEOF
34954 #define HAVE_SCHED_YIELD 1
34955 _ACEOF
34956 POSIX4_LINK=" -lposix4"
34957 else
34958 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
34959 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
34960
34961 fi
34962
34963
34964
34965 fi
34966
34967 fi
34968
34969 HAVE_PRIOR_FUNCS=0
34970 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
34971 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
34972 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
34973 echo $ECHO_N "(cached) $ECHO_C" >&6
34974 else
34975 cat >conftest.$ac_ext <<_ACEOF
34976 /* confdefs.h. */
34977 _ACEOF
34978 cat confdefs.h >>conftest.$ac_ext
34979 cat >>conftest.$ac_ext <<_ACEOF
34980 /* end confdefs.h. */
34981 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
34982 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34983 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
34984
34985 /* System header to define __stub macros and hopefully few prototypes,
34986 which can conflict with char pthread_attr_getschedpolicy (); below.
34987 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34988 <limits.h> exists even on freestanding compilers. */
34989
34990 #ifdef __STDC__
34991 # include <limits.h>
34992 #else
34993 # include <assert.h>
34994 #endif
34995
34996 #undef pthread_attr_getschedpolicy
34997
34998 /* Override any gcc2 internal prototype to avoid an error. */
34999 #ifdef __cplusplus
35000 extern "C"
35001 {
35002 #endif
35003 /* We use char because int might match the return type of a gcc2
35004 builtin and then its argument prototype would still apply. */
35005 char pthread_attr_getschedpolicy ();
35006 /* The GNU C library defines this for functions which it implements
35007 to always fail with ENOSYS. Some functions are actually named
35008 something starting with __ and the normal name is an alias. */
35009 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
35010 choke me
35011 #else
35012 char (*f) () = pthread_attr_getschedpolicy;
35013 #endif
35014 #ifdef __cplusplus
35015 }
35016 #endif
35017
35018 int
35019 main ()
35020 {
35021 return f != pthread_attr_getschedpolicy;
35022 ;
35023 return 0;
35024 }
35025 _ACEOF
35026 rm -f conftest.$ac_objext conftest$ac_exeext
35027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35028 (eval $ac_link) 2>conftest.er1
35029 ac_status=$?
35030 grep -v '^ *+' conftest.er1 >conftest.err
35031 rm -f conftest.er1
35032 cat conftest.err >&5
35033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35034 (exit $ac_status); } &&
35035 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35037 (eval $ac_try) 2>&5
35038 ac_status=$?
35039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35040 (exit $ac_status); }; } &&
35041 { ac_try='test -s conftest$ac_exeext'
35042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35043 (eval $ac_try) 2>&5
35044 ac_status=$?
35045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35046 (exit $ac_status); }; }; then
35047 ac_cv_func_pthread_attr_getschedpolicy=yes
35048 else
35049 echo "$as_me: failed program was:" >&5
35050 sed 's/^/| /' conftest.$ac_ext >&5
35051
35052 ac_cv_func_pthread_attr_getschedpolicy=no
35053 fi
35054 rm -f conftest.err conftest.$ac_objext \
35055 conftest$ac_exeext conftest.$ac_ext
35056 fi
35057 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
35058 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
35059 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
35060 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
35061 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
35062 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
35063 echo $ECHO_N "(cached) $ECHO_C" >&6
35064 else
35065 cat >conftest.$ac_ext <<_ACEOF
35066 /* confdefs.h. */
35067 _ACEOF
35068 cat confdefs.h >>conftest.$ac_ext
35069 cat >>conftest.$ac_ext <<_ACEOF
35070 /* end confdefs.h. */
35071 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
35072 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35073 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
35074
35075 /* System header to define __stub macros and hopefully few prototypes,
35076 which can conflict with char pthread_attr_setschedparam (); below.
35077 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35078 <limits.h> exists even on freestanding compilers. */
35079
35080 #ifdef __STDC__
35081 # include <limits.h>
35082 #else
35083 # include <assert.h>
35084 #endif
35085
35086 #undef pthread_attr_setschedparam
35087
35088 /* Override any gcc2 internal prototype to avoid an error. */
35089 #ifdef __cplusplus
35090 extern "C"
35091 {
35092 #endif
35093 /* We use char because int might match the return type of a gcc2
35094 builtin and then its argument prototype would still apply. */
35095 char pthread_attr_setschedparam ();
35096 /* The GNU C library defines this for functions which it implements
35097 to always fail with ENOSYS. Some functions are actually named
35098 something starting with __ and the normal name is an alias. */
35099 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
35100 choke me
35101 #else
35102 char (*f) () = pthread_attr_setschedparam;
35103 #endif
35104 #ifdef __cplusplus
35105 }
35106 #endif
35107
35108 int
35109 main ()
35110 {
35111 return f != pthread_attr_setschedparam;
35112 ;
35113 return 0;
35114 }
35115 _ACEOF
35116 rm -f conftest.$ac_objext conftest$ac_exeext
35117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35118 (eval $ac_link) 2>conftest.er1
35119 ac_status=$?
35120 grep -v '^ *+' conftest.er1 >conftest.err
35121 rm -f conftest.er1
35122 cat conftest.err >&5
35123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35124 (exit $ac_status); } &&
35125 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35127 (eval $ac_try) 2>&5
35128 ac_status=$?
35129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35130 (exit $ac_status); }; } &&
35131 { ac_try='test -s conftest$ac_exeext'
35132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35133 (eval $ac_try) 2>&5
35134 ac_status=$?
35135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35136 (exit $ac_status); }; }; then
35137 ac_cv_func_pthread_attr_setschedparam=yes
35138 else
35139 echo "$as_me: failed program was:" >&5
35140 sed 's/^/| /' conftest.$ac_ext >&5
35141
35142 ac_cv_func_pthread_attr_setschedparam=no
35143 fi
35144 rm -f conftest.err conftest.$ac_objext \
35145 conftest$ac_exeext conftest.$ac_ext
35146 fi
35147 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
35148 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
35149 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
35150 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
35151 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
35152 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
35153 echo $ECHO_N "(cached) $ECHO_C" >&6
35154 else
35155 cat >conftest.$ac_ext <<_ACEOF
35156 /* confdefs.h. */
35157 _ACEOF
35158 cat confdefs.h >>conftest.$ac_ext
35159 cat >>conftest.$ac_ext <<_ACEOF
35160 /* end confdefs.h. */
35161 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
35162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35163 #define sched_get_priority_max innocuous_sched_get_priority_max
35164
35165 /* System header to define __stub macros and hopefully few prototypes,
35166 which can conflict with char sched_get_priority_max (); below.
35167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35168 <limits.h> exists even on freestanding compilers. */
35169
35170 #ifdef __STDC__
35171 # include <limits.h>
35172 #else
35173 # include <assert.h>
35174 #endif
35175
35176 #undef sched_get_priority_max
35177
35178 /* Override any gcc2 internal prototype to avoid an error. */
35179 #ifdef __cplusplus
35180 extern "C"
35181 {
35182 #endif
35183 /* We use char because int might match the return type of a gcc2
35184 builtin and then its argument prototype would still apply. */
35185 char sched_get_priority_max ();
35186 /* The GNU C library defines this for functions which it implements
35187 to always fail with ENOSYS. Some functions are actually named
35188 something starting with __ and the normal name is an alias. */
35189 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
35190 choke me
35191 #else
35192 char (*f) () = sched_get_priority_max;
35193 #endif
35194 #ifdef __cplusplus
35195 }
35196 #endif
35197
35198 int
35199 main ()
35200 {
35201 return f != sched_get_priority_max;
35202 ;
35203 return 0;
35204 }
35205 _ACEOF
35206 rm -f conftest.$ac_objext conftest$ac_exeext
35207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35208 (eval $ac_link) 2>conftest.er1
35209 ac_status=$?
35210 grep -v '^ *+' conftest.er1 >conftest.err
35211 rm -f conftest.er1
35212 cat conftest.err >&5
35213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35214 (exit $ac_status); } &&
35215 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35217 (eval $ac_try) 2>&5
35218 ac_status=$?
35219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35220 (exit $ac_status); }; } &&
35221 { ac_try='test -s conftest$ac_exeext'
35222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35223 (eval $ac_try) 2>&5
35224 ac_status=$?
35225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35226 (exit $ac_status); }; }; then
35227 ac_cv_func_sched_get_priority_max=yes
35228 else
35229 echo "$as_me: failed program was:" >&5
35230 sed 's/^/| /' conftest.$ac_ext >&5
35231
35232 ac_cv_func_sched_get_priority_max=no
35233 fi
35234 rm -f conftest.err conftest.$ac_objext \
35235 conftest$ac_exeext conftest.$ac_ext
35236 fi
35237 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
35238 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
35239 if test $ac_cv_func_sched_get_priority_max = yes; then
35240 HAVE_PRIOR_FUNCS=1
35241 else
35242 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
35243 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
35244 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
35245 echo $ECHO_N "(cached) $ECHO_C" >&6
35246 else
35247 ac_check_lib_save_LIBS=$LIBS
35248 LIBS="-lposix4 $LIBS"
35249 cat >conftest.$ac_ext <<_ACEOF
35250 /* confdefs.h. */
35251 _ACEOF
35252 cat confdefs.h >>conftest.$ac_ext
35253 cat >>conftest.$ac_ext <<_ACEOF
35254 /* end confdefs.h. */
35255
35256 /* Override any gcc2 internal prototype to avoid an error. */
35257 #ifdef __cplusplus
35258 extern "C"
35259 #endif
35260 /* We use char because int might match the return type of a gcc2
35261 builtin and then its argument prototype would still apply. */
35262 char sched_get_priority_max ();
35263 int
35264 main ()
35265 {
35266 sched_get_priority_max ();
35267 ;
35268 return 0;
35269 }
35270 _ACEOF
35271 rm -f conftest.$ac_objext conftest$ac_exeext
35272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35273 (eval $ac_link) 2>conftest.er1
35274 ac_status=$?
35275 grep -v '^ *+' conftest.er1 >conftest.err
35276 rm -f conftest.er1
35277 cat conftest.err >&5
35278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35279 (exit $ac_status); } &&
35280 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35282 (eval $ac_try) 2>&5
35283 ac_status=$?
35284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35285 (exit $ac_status); }; } &&
35286 { ac_try='test -s conftest$ac_exeext'
35287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35288 (eval $ac_try) 2>&5
35289 ac_status=$?
35290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35291 (exit $ac_status); }; }; then
35292 ac_cv_lib_posix4_sched_get_priority_max=yes
35293 else
35294 echo "$as_me: failed program was:" >&5
35295 sed 's/^/| /' conftest.$ac_ext >&5
35296
35297 ac_cv_lib_posix4_sched_get_priority_max=no
35298 fi
35299 rm -f conftest.err conftest.$ac_objext \
35300 conftest$ac_exeext conftest.$ac_ext
35301 LIBS=$ac_check_lib_save_LIBS
35302 fi
35303 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
35304 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
35305 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
35306
35307 HAVE_PRIOR_FUNCS=1
35308 POSIX4_LINK=" -lposix4"
35309
35310 fi
35311
35312
35313 fi
35314
35315
35316 fi
35317
35318
35319 fi
35320
35321
35322 if test "$HAVE_PRIOR_FUNCS" = 1; then
35323 cat >>confdefs.h <<\_ACEOF
35324 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
35325 _ACEOF
35326
35327 else
35328 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
35329 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
35330 fi
35331
35332 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
35333 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
35334 if test "${ac_cv_func_pthread_cancel+set}" = set; then
35335 echo $ECHO_N "(cached) $ECHO_C" >&6
35336 else
35337 cat >conftest.$ac_ext <<_ACEOF
35338 /* confdefs.h. */
35339 _ACEOF
35340 cat confdefs.h >>conftest.$ac_ext
35341 cat >>conftest.$ac_ext <<_ACEOF
35342 /* end confdefs.h. */
35343 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
35344 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35345 #define pthread_cancel innocuous_pthread_cancel
35346
35347 /* System header to define __stub macros and hopefully few prototypes,
35348 which can conflict with char pthread_cancel (); below.
35349 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35350 <limits.h> exists even on freestanding compilers. */
35351
35352 #ifdef __STDC__
35353 # include <limits.h>
35354 #else
35355 # include <assert.h>
35356 #endif
35357
35358 #undef pthread_cancel
35359
35360 /* Override any gcc2 internal prototype to avoid an error. */
35361 #ifdef __cplusplus
35362 extern "C"
35363 {
35364 #endif
35365 /* We use char because int might match the return type of a gcc2
35366 builtin and then its argument prototype would still apply. */
35367 char pthread_cancel ();
35368 /* The GNU C library defines this for functions which it implements
35369 to always fail with ENOSYS. Some functions are actually named
35370 something starting with __ and the normal name is an alias. */
35371 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
35372 choke me
35373 #else
35374 char (*f) () = pthread_cancel;
35375 #endif
35376 #ifdef __cplusplus
35377 }
35378 #endif
35379
35380 int
35381 main ()
35382 {
35383 return f != pthread_cancel;
35384 ;
35385 return 0;
35386 }
35387 _ACEOF
35388 rm -f conftest.$ac_objext conftest$ac_exeext
35389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35390 (eval $ac_link) 2>conftest.er1
35391 ac_status=$?
35392 grep -v '^ *+' conftest.er1 >conftest.err
35393 rm -f conftest.er1
35394 cat conftest.err >&5
35395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35396 (exit $ac_status); } &&
35397 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35399 (eval $ac_try) 2>&5
35400 ac_status=$?
35401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35402 (exit $ac_status); }; } &&
35403 { ac_try='test -s conftest$ac_exeext'
35404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35405 (eval $ac_try) 2>&5
35406 ac_status=$?
35407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35408 (exit $ac_status); }; }; then
35409 ac_cv_func_pthread_cancel=yes
35410 else
35411 echo "$as_me: failed program was:" >&5
35412 sed 's/^/| /' conftest.$ac_ext >&5
35413
35414 ac_cv_func_pthread_cancel=no
35415 fi
35416 rm -f conftest.err conftest.$ac_objext \
35417 conftest$ac_exeext conftest.$ac_ext
35418 fi
35419 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
35420 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
35421 if test $ac_cv_func_pthread_cancel = yes; then
35422 cat >>confdefs.h <<\_ACEOF
35423 #define HAVE_PTHREAD_CANCEL 1
35424 _ACEOF
35425
35426 else
35427 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
35428 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
35429 fi
35430
35431
35432 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
35433 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
35434 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
35435 echo $ECHO_N "(cached) $ECHO_C" >&6
35436 else
35437 cat >conftest.$ac_ext <<_ACEOF
35438 /* confdefs.h. */
35439 _ACEOF
35440 cat confdefs.h >>conftest.$ac_ext
35441 cat >>conftest.$ac_ext <<_ACEOF
35442 /* end confdefs.h. */
35443 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
35444 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35445 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
35446
35447 /* System header to define __stub macros and hopefully few prototypes,
35448 which can conflict with char pthread_attr_setstacksize (); below.
35449 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35450 <limits.h> exists even on freestanding compilers. */
35451
35452 #ifdef __STDC__
35453 # include <limits.h>
35454 #else
35455 # include <assert.h>
35456 #endif
35457
35458 #undef pthread_attr_setstacksize
35459
35460 /* Override any gcc2 internal prototype to avoid an error. */
35461 #ifdef __cplusplus
35462 extern "C"
35463 {
35464 #endif
35465 /* We use char because int might match the return type of a gcc2
35466 builtin and then its argument prototype would still apply. */
35467 char pthread_attr_setstacksize ();
35468 /* The GNU C library defines this for functions which it implements
35469 to always fail with ENOSYS. Some functions are actually named
35470 something starting with __ and the normal name is an alias. */
35471 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
35472 choke me
35473 #else
35474 char (*f) () = pthread_attr_setstacksize;
35475 #endif
35476 #ifdef __cplusplus
35477 }
35478 #endif
35479
35480 int
35481 main ()
35482 {
35483 return f != pthread_attr_setstacksize;
35484 ;
35485 return 0;
35486 }
35487 _ACEOF
35488 rm -f conftest.$ac_objext conftest$ac_exeext
35489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35490 (eval $ac_link) 2>conftest.er1
35491 ac_status=$?
35492 grep -v '^ *+' conftest.er1 >conftest.err
35493 rm -f conftest.er1
35494 cat conftest.err >&5
35495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35496 (exit $ac_status); } &&
35497 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35499 (eval $ac_try) 2>&5
35500 ac_status=$?
35501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35502 (exit $ac_status); }; } &&
35503 { ac_try='test -s conftest$ac_exeext'
35504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35505 (eval $ac_try) 2>&5
35506 ac_status=$?
35507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35508 (exit $ac_status); }; }; then
35509 ac_cv_func_pthread_attr_setstacksize=yes
35510 else
35511 echo "$as_me: failed program was:" >&5
35512 sed 's/^/| /' conftest.$ac_ext >&5
35513
35514 ac_cv_func_pthread_attr_setstacksize=no
35515 fi
35516 rm -f conftest.err conftest.$ac_objext \
35517 conftest$ac_exeext conftest.$ac_ext
35518 fi
35519 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
35520 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
35521 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
35522 cat >>confdefs.h <<\_ACEOF
35523 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
35524 _ACEOF
35525
35526 fi
35527
35528
35529
35530 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
35531 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
35532 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
35533 echo $ECHO_N "(cached) $ECHO_C" >&6
35534 else
35535
35536 cat >conftest.$ac_ext <<_ACEOF
35537 /* confdefs.h. */
35538 _ACEOF
35539 cat confdefs.h >>conftest.$ac_ext
35540 cat >>conftest.$ac_ext <<_ACEOF
35541 /* end confdefs.h. */
35542 #include <pthread.h>
35543 int
35544 main ()
35545 {
35546
35547 pthread_mutexattr_t attr;
35548 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
35549
35550 ;
35551 return 0;
35552 }
35553 _ACEOF
35554 rm -f conftest.$ac_objext
35555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35556 (eval $ac_compile) 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_objext'
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
35576 wx_cv_type_pthread_mutexattr_t=yes
35577
35578 else
35579 echo "$as_me: failed program was:" >&5
35580 sed 's/^/| /' conftest.$ac_ext >&5
35581
35582
35583 wx_cv_type_pthread_mutexattr_t=no
35584
35585
35586 fi
35587 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35588
35589 fi
35590 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
35591 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
35592
35593 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
35594 cat >>confdefs.h <<\_ACEOF
35595 #define HAVE_PTHREAD_MUTEXATTR_T 1
35596 _ACEOF
35597
35598 else
35599 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
35600 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
35601 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
35602 echo $ECHO_N "(cached) $ECHO_C" >&6
35603 else
35604
35605 cat >conftest.$ac_ext <<_ACEOF
35606 /* confdefs.h. */
35607 _ACEOF
35608 cat confdefs.h >>conftest.$ac_ext
35609 cat >>conftest.$ac_ext <<_ACEOF
35610 /* end confdefs.h. */
35611 #include <pthread.h>
35612 int
35613 main ()
35614 {
35615
35616 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
35617
35618 ;
35619 return 0;
35620 }
35621 _ACEOF
35622 rm -f conftest.$ac_objext
35623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35624 (eval $ac_compile) 2>conftest.er1
35625 ac_status=$?
35626 grep -v '^ *+' conftest.er1 >conftest.err
35627 rm -f conftest.er1
35628 cat conftest.err >&5
35629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35630 (exit $ac_status); } &&
35631 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35633 (eval $ac_try) 2>&5
35634 ac_status=$?
35635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35636 (exit $ac_status); }; } &&
35637 { ac_try='test -s conftest.$ac_objext'
35638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35639 (eval $ac_try) 2>&5
35640 ac_status=$?
35641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35642 (exit $ac_status); }; }; then
35643
35644 wx_cv_type_pthread_rec_mutex_init=yes
35645
35646 else
35647 echo "$as_me: failed program was:" >&5
35648 sed 's/^/| /' conftest.$ac_ext >&5
35649
35650
35651 wx_cv_type_pthread_rec_mutex_init=no
35652
35653
35654 fi
35655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35656
35657 fi
35658 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
35659 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
35660 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
35661 cat >>confdefs.h <<\_ACEOF
35662 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
35663 _ACEOF
35664
35665 else
35666 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
35667 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
35668 fi
35669 fi
35670 fi
35671
35672 else
35673 if test "$wxUSE_THREADS" = "yes" ; then
35674 case "${host}" in
35675 *-*-mingw32* )
35676 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
35677 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
35678 if test "${wx_cv_cflags_mthread+set}" = set; then
35679 echo $ECHO_N "(cached) $ECHO_C" >&6
35680 else
35681
35682 CFLAGS_OLD="$CFLAGS"
35683 CFLAGS="$CFLAGS -mthreads"
35684 cat >conftest.$ac_ext <<_ACEOF
35685 /* confdefs.h. */
35686 _ACEOF
35687 cat confdefs.h >>conftest.$ac_ext
35688 cat >>conftest.$ac_ext <<_ACEOF
35689 /* end confdefs.h. */
35690
35691 int
35692 main ()
35693 {
35694
35695 ;
35696 return 0;
35697 }
35698 _ACEOF
35699 rm -f conftest.$ac_objext
35700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35701 (eval $ac_compile) 2>conftest.er1
35702 ac_status=$?
35703 grep -v '^ *+' conftest.er1 >conftest.err
35704 rm -f conftest.er1
35705 cat conftest.err >&5
35706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35707 (exit $ac_status); } &&
35708 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35710 (eval $ac_try) 2>&5
35711 ac_status=$?
35712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35713 (exit $ac_status); }; } &&
35714 { ac_try='test -s conftest.$ac_objext'
35715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35716 (eval $ac_try) 2>&5
35717 ac_status=$?
35718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35719 (exit $ac_status); }; }; then
35720 wx_cv_cflags_mthread=yes
35721 else
35722 echo "$as_me: failed program was:" >&5
35723 sed 's/^/| /' conftest.$ac_ext >&5
35724
35725 wx_cv_cflags_mthread=no
35726
35727 fi
35728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35729
35730
35731 fi
35732 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
35733 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
35734
35735 if test "$wx_cv_cflags_mthread" = "yes"; then
35736 CXXFLAGS="$CXXFLAGS -mthreads"
35737 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
35738 LDFLAGS="$LDFLAGS -mthreads"
35739 else
35740 CFLAGS="$CFLAGS_OLD"
35741 fi
35742 ;;
35743 *-pc-os2*emx )
35744 CFLAGS="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
35745 CXXFLAGS="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
35746 LDFLAGS="$LDFLAGS -Zmt"
35747 ;;
35748 esac
35749 fi
35750 fi
35751
35752 if test "$wxUSE_THREADS" = "yes"; then
35753 cat >>confdefs.h <<\_ACEOF
35754 #define wxUSE_THREADS 1
35755 _ACEOF
35756
35757
35758 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
35759 else
35760 if test "$ac_cv_func_strtok_r" = "yes"; then
35761 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
35762 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
35763 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
35764 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
35765 echo "$as_me:$LINENO: result: yes" >&5
35766 echo "${ECHO_T}yes" >&6
35767 else
35768 echo "$as_me:$LINENO: result: no" >&5
35769 echo "${ECHO_T}no" >&6
35770 fi
35771 fi
35772 fi
35773
35774 if test "$WXGTK20" = 1 ; then
35775 cat >>confdefs.h <<_ACEOF
35776 #define __WXGTK20__ $WXGTK20
35777 _ACEOF
35778
35779 WXGTK12=1
35780 fi
35781
35782 if test "$WXGTK12" = 1 ; then
35783 cat >>confdefs.h <<_ACEOF
35784 #define __WXGTK12__ $WXGTK12
35785 _ACEOF
35786
35787 fi
35788
35789 if test "$WXGTK127" = 1 ; then
35790 cat >>confdefs.h <<_ACEOF
35791 #define __WXGTK127__ $WXGTK127
35792 _ACEOF
35793
35794 fi
35795
35796 if test "$WXGPE" = 1 ; then
35797 cat >>confdefs.h <<_ACEOF
35798 #define __WXGPE__ $WXGPE
35799 _ACEOF
35800
35801 fi
35802
35803 WXDEBUG=
35804
35805 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
35806 WXDEBUG="-g"
35807 wxUSE_OPTIMISE=no
35808 fi
35809
35810 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
35811 wxUSE_DEBUG_INFO=yes
35812 if test "$GCC" = yes; then
35813 WXDEBUG="-ggdb"
35814 fi
35815 fi
35816
35817 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
35818 cat >>confdefs.h <<\_ACEOF
35819 #define WXDEBUG 1
35820 _ACEOF
35821
35822 WXDEBUG_DEFINE="-D__WXDEBUG__"
35823 else
35824 if test "$wxUSE_GTK" = 1 ; then
35825 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
35826 fi
35827 fi
35828
35829 if test "$wxUSE_MEM_TRACING" = "yes" ; then
35830 cat >>confdefs.h <<\_ACEOF
35831 #define wxUSE_MEMORY_TRACING 1
35832 _ACEOF
35833
35834 cat >>confdefs.h <<\_ACEOF
35835 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
35836 _ACEOF
35837
35838 cat >>confdefs.h <<\_ACEOF
35839 #define wxUSE_DEBUG_NEW_ALWAYS 1
35840 _ACEOF
35841
35842 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
35843 fi
35844
35845 if test "$wxUSE_DMALLOC" = "yes" ; then
35846 DMALLOC_LIBS="-ldmallocthcxx"
35847 fi
35848
35849 PROFILE=
35850 if test "$wxUSE_PROFILE" = "yes" ; then
35851 PROFILE=" -pg"
35852 fi
35853
35854 CODE_GEN_FLAGS=
35855 CODE_GEN_FLAGS_CXX=
35856 if test "$GCC" = "yes" ; then
35857 if test "$wxUSE_NO_RTTI" = "yes" ; then
35858 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
35859 fi
35860 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
35861 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
35862 fi
35863 if test "$wxUSE_PERMISSIVE" = "yes" ; then
35864 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
35865 fi
35866
35867 case "${host}" in
35868 powerpc*-*-aix* )
35869 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
35870 ;;
35871 *-hppa* )
35872 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
35873 ;;
35874 esac
35875 fi
35876
35877 OPTIMISE=
35878 if test "$wxUSE_OPTIMISE" = "no" ; then
35879 if test "$GCC" = yes ; then
35880 OPTIMISE="-O0"
35881 fi
35882 else
35883 if test "$GCC" = yes ; then
35884 OPTIMISE="-O2"
35885
35886 case "${host}" in
35887 i586-*-*|i686-*-* )
35888 OPTIMISE="${OPTIMISE} "
35889 ;;
35890 esac
35891 else
35892 OPTIMISE="-O"
35893 fi
35894 fi
35895
35896
35897 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
35898 cat >>confdefs.h <<\_ACEOF
35899 #define WXWIN_COMPATIBILITY_2_2 1
35900 _ACEOF
35901
35902
35903 WXWIN_COMPATIBILITY_2_4="yes"
35904 fi
35905
35906 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
35907 cat >>confdefs.h <<\_ACEOF
35908 #define WXWIN_COMPATIBILITY_2_4 1
35909 _ACEOF
35910
35911 fi
35912
35913
35914 if test "$wxUSE_GUI" = "yes"; then
35915 cat >>confdefs.h <<\_ACEOF
35916 #define wxUSE_GUI 1
35917 _ACEOF
35918
35919
35920 fi
35921
35922
35923 if test "$wxUSE_UNIX" = "yes"; then
35924 cat >>confdefs.h <<\_ACEOF
35925 #define wxUSE_UNIX 1
35926 _ACEOF
35927
35928 fi
35929
35930
35931 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
35932
35933 HAVE_DL_FUNCS=0
35934 HAVE_SHL_FUNCS=0
35935 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
35936 if test "$USE_DARWIN" = 1; then
35937 HAVE_DL_FUNCS=1
35938 elif test "$USE_DOS" = 1; then
35939 HAVE_DL_FUNCS=0
35940 else
35941
35942 for ac_func in dlopen
35943 do
35944 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35945 echo "$as_me:$LINENO: checking for $ac_func" >&5
35946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35947 if eval "test \"\${$as_ac_var+set}\" = set"; then
35948 echo $ECHO_N "(cached) $ECHO_C" >&6
35949 else
35950 cat >conftest.$ac_ext <<_ACEOF
35951 /* confdefs.h. */
35952 _ACEOF
35953 cat confdefs.h >>conftest.$ac_ext
35954 cat >>conftest.$ac_ext <<_ACEOF
35955 /* end confdefs.h. */
35956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35958 #define $ac_func innocuous_$ac_func
35959
35960 /* System header to define __stub macros and hopefully few prototypes,
35961 which can conflict with char $ac_func (); below.
35962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35963 <limits.h> exists even on freestanding compilers. */
35964
35965 #ifdef __STDC__
35966 # include <limits.h>
35967 #else
35968 # include <assert.h>
35969 #endif
35970
35971 #undef $ac_func
35972
35973 /* Override any gcc2 internal prototype to avoid an error. */
35974 #ifdef __cplusplus
35975 extern "C"
35976 {
35977 #endif
35978 /* We use char because int might match the return type of a gcc2
35979 builtin and then its argument prototype would still apply. */
35980 char $ac_func ();
35981 /* The GNU C library defines this for functions which it implements
35982 to always fail with ENOSYS. Some functions are actually named
35983 something starting with __ and the normal name is an alias. */
35984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35985 choke me
35986 #else
35987 char (*f) () = $ac_func;
35988 #endif
35989 #ifdef __cplusplus
35990 }
35991 #endif
35992
35993 int
35994 main ()
35995 {
35996 return f != $ac_func;
35997 ;
35998 return 0;
35999 }
36000 _ACEOF
36001 rm -f conftest.$ac_objext conftest$ac_exeext
36002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36003 (eval $ac_link) 2>conftest.er1
36004 ac_status=$?
36005 grep -v '^ *+' conftest.er1 >conftest.err
36006 rm -f conftest.er1
36007 cat conftest.err >&5
36008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36009 (exit $ac_status); } &&
36010 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36012 (eval $ac_try) 2>&5
36013 ac_status=$?
36014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36015 (exit $ac_status); }; } &&
36016 { ac_try='test -s conftest$ac_exeext'
36017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36018 (eval $ac_try) 2>&5
36019 ac_status=$?
36020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36021 (exit $ac_status); }; }; then
36022 eval "$as_ac_var=yes"
36023 else
36024 echo "$as_me: failed program was:" >&5
36025 sed 's/^/| /' conftest.$ac_ext >&5
36026
36027 eval "$as_ac_var=no"
36028 fi
36029 rm -f conftest.err conftest.$ac_objext \
36030 conftest$ac_exeext conftest.$ac_ext
36031 fi
36032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36033 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36034 if test `eval echo '${'$as_ac_var'}'` = yes; then
36035 cat >>confdefs.h <<_ACEOF
36036 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36037 _ACEOF
36038
36039 cat >>confdefs.h <<\_ACEOF
36040 #define HAVE_DLOPEN 1
36041 _ACEOF
36042
36043 HAVE_DL_FUNCS=1
36044
36045 else
36046
36047 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
36048 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
36049 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
36050 echo $ECHO_N "(cached) $ECHO_C" >&6
36051 else
36052 ac_check_lib_save_LIBS=$LIBS
36053 LIBS="-ldl $LIBS"
36054 cat >conftest.$ac_ext <<_ACEOF
36055 /* confdefs.h. */
36056 _ACEOF
36057 cat confdefs.h >>conftest.$ac_ext
36058 cat >>conftest.$ac_ext <<_ACEOF
36059 /* end confdefs.h. */
36060
36061 /* Override any gcc2 internal prototype to avoid an error. */
36062 #ifdef __cplusplus
36063 extern "C"
36064 #endif
36065 /* We use char because int might match the return type of a gcc2
36066 builtin and then its argument prototype would still apply. */
36067 char dlopen ();
36068 int
36069 main ()
36070 {
36071 dlopen ();
36072 ;
36073 return 0;
36074 }
36075 _ACEOF
36076 rm -f conftest.$ac_objext conftest$ac_exeext
36077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36078 (eval $ac_link) 2>conftest.er1
36079 ac_status=$?
36080 grep -v '^ *+' conftest.er1 >conftest.err
36081 rm -f conftest.er1
36082 cat conftest.err >&5
36083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36084 (exit $ac_status); } &&
36085 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36087 (eval $ac_try) 2>&5
36088 ac_status=$?
36089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36090 (exit $ac_status); }; } &&
36091 { ac_try='test -s conftest$ac_exeext'
36092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36093 (eval $ac_try) 2>&5
36094 ac_status=$?
36095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36096 (exit $ac_status); }; }; then
36097 ac_cv_lib_dl_dlopen=yes
36098 else
36099 echo "$as_me: failed program was:" >&5
36100 sed 's/^/| /' conftest.$ac_ext >&5
36101
36102 ac_cv_lib_dl_dlopen=no
36103 fi
36104 rm -f conftest.err conftest.$ac_objext \
36105 conftest$ac_exeext conftest.$ac_ext
36106 LIBS=$ac_check_lib_save_LIBS
36107 fi
36108 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
36109 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
36110 if test $ac_cv_lib_dl_dlopen = yes; then
36111
36112 cat >>confdefs.h <<\_ACEOF
36113 #define HAVE_DLOPEN 1
36114 _ACEOF
36115
36116 HAVE_DL_FUNCS=1
36117 DL_LINK=" -ldl$DL_LINK"
36118
36119 else
36120
36121
36122 for ac_func in shl_load
36123 do
36124 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36125 echo "$as_me:$LINENO: checking for $ac_func" >&5
36126 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36127 if eval "test \"\${$as_ac_var+set}\" = set"; then
36128 echo $ECHO_N "(cached) $ECHO_C" >&6
36129 else
36130 cat >conftest.$ac_ext <<_ACEOF
36131 /* confdefs.h. */
36132 _ACEOF
36133 cat confdefs.h >>conftest.$ac_ext
36134 cat >>conftest.$ac_ext <<_ACEOF
36135 /* end confdefs.h. */
36136 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36137 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36138 #define $ac_func innocuous_$ac_func
36139
36140 /* System header to define __stub macros and hopefully few prototypes,
36141 which can conflict with char $ac_func (); below.
36142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36143 <limits.h> exists even on freestanding compilers. */
36144
36145 #ifdef __STDC__
36146 # include <limits.h>
36147 #else
36148 # include <assert.h>
36149 #endif
36150
36151 #undef $ac_func
36152
36153 /* Override any gcc2 internal prototype to avoid an error. */
36154 #ifdef __cplusplus
36155 extern "C"
36156 {
36157 #endif
36158 /* We use char because int might match the return type of a gcc2
36159 builtin and then its argument prototype would still apply. */
36160 char $ac_func ();
36161 /* The GNU C library defines this for functions which it implements
36162 to always fail with ENOSYS. Some functions are actually named
36163 something starting with __ and the normal name is an alias. */
36164 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36165 choke me
36166 #else
36167 char (*f) () = $ac_func;
36168 #endif
36169 #ifdef __cplusplus
36170 }
36171 #endif
36172
36173 int
36174 main ()
36175 {
36176 return f != $ac_func;
36177 ;
36178 return 0;
36179 }
36180 _ACEOF
36181 rm -f conftest.$ac_objext conftest$ac_exeext
36182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36183 (eval $ac_link) 2>conftest.er1
36184 ac_status=$?
36185 grep -v '^ *+' conftest.er1 >conftest.err
36186 rm -f conftest.er1
36187 cat conftest.err >&5
36188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36189 (exit $ac_status); } &&
36190 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36192 (eval $ac_try) 2>&5
36193 ac_status=$?
36194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36195 (exit $ac_status); }; } &&
36196 { ac_try='test -s conftest$ac_exeext'
36197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36198 (eval $ac_try) 2>&5
36199 ac_status=$?
36200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36201 (exit $ac_status); }; }; then
36202 eval "$as_ac_var=yes"
36203 else
36204 echo "$as_me: failed program was:" >&5
36205 sed 's/^/| /' conftest.$ac_ext >&5
36206
36207 eval "$as_ac_var=no"
36208 fi
36209 rm -f conftest.err conftest.$ac_objext \
36210 conftest$ac_exeext conftest.$ac_ext
36211 fi
36212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36213 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36214 if test `eval echo '${'$as_ac_var'}'` = yes; then
36215 cat >>confdefs.h <<_ACEOF
36216 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36217 _ACEOF
36218
36219 cat >>confdefs.h <<\_ACEOF
36220 #define HAVE_SHL_LOAD 1
36221 _ACEOF
36222
36223 HAVE_SHL_FUNCS=1
36224
36225 else
36226
36227 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
36228 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
36229 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
36230 echo $ECHO_N "(cached) $ECHO_C" >&6
36231 else
36232 ac_check_lib_save_LIBS=$LIBS
36233 LIBS="-lshl_load $LIBS"
36234 cat >conftest.$ac_ext <<_ACEOF
36235 /* confdefs.h. */
36236 _ACEOF
36237 cat confdefs.h >>conftest.$ac_ext
36238 cat >>conftest.$ac_ext <<_ACEOF
36239 /* end confdefs.h. */
36240
36241 /* Override any gcc2 internal prototype to avoid an error. */
36242 #ifdef __cplusplus
36243 extern "C"
36244 #endif
36245 /* We use char because int might match the return type of a gcc2
36246 builtin and then its argument prototype would still apply. */
36247 char dld ();
36248 int
36249 main ()
36250 {
36251 dld ();
36252 ;
36253 return 0;
36254 }
36255 _ACEOF
36256 rm -f conftest.$ac_objext conftest$ac_exeext
36257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36258 (eval $ac_link) 2>conftest.er1
36259 ac_status=$?
36260 grep -v '^ *+' conftest.er1 >conftest.err
36261 rm -f conftest.er1
36262 cat conftest.err >&5
36263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36264 (exit $ac_status); } &&
36265 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36267 (eval $ac_try) 2>&5
36268 ac_status=$?
36269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36270 (exit $ac_status); }; } &&
36271 { ac_try='test -s conftest$ac_exeext'
36272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36273 (eval $ac_try) 2>&5
36274 ac_status=$?
36275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36276 (exit $ac_status); }; }; then
36277 ac_cv_lib_shl_load_dld=yes
36278 else
36279 echo "$as_me: failed program was:" >&5
36280 sed 's/^/| /' conftest.$ac_ext >&5
36281
36282 ac_cv_lib_shl_load_dld=no
36283 fi
36284 rm -f conftest.err conftest.$ac_objext \
36285 conftest$ac_exeext conftest.$ac_ext
36286 LIBS=$ac_check_lib_save_LIBS
36287 fi
36288 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
36289 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
36290 if test $ac_cv_lib_shl_load_dld = yes; then
36291
36292 HAVE_SHL_FUNCS=1
36293 DL_LINK=" -ldld$DL_LINK"
36294
36295 fi
36296
36297
36298 fi
36299 done
36300
36301
36302 fi
36303
36304
36305 fi
36306 done
36307
36308
36309 if test "$HAVE_DL_FUNCS" = 1; then
36310
36311 for ac_func in dlerror
36312 do
36313 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36314 echo "$as_me:$LINENO: checking for $ac_func" >&5
36315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36316 if eval "test \"\${$as_ac_var+set}\" = set"; then
36317 echo $ECHO_N "(cached) $ECHO_C" >&6
36318 else
36319 cat >conftest.$ac_ext <<_ACEOF
36320 /* confdefs.h. */
36321 _ACEOF
36322 cat confdefs.h >>conftest.$ac_ext
36323 cat >>conftest.$ac_ext <<_ACEOF
36324 /* end confdefs.h. */
36325 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36326 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36327 #define $ac_func innocuous_$ac_func
36328
36329 /* System header to define __stub macros and hopefully few prototypes,
36330 which can conflict with char $ac_func (); below.
36331 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36332 <limits.h> exists even on freestanding compilers. */
36333
36334 #ifdef __STDC__
36335 # include <limits.h>
36336 #else
36337 # include <assert.h>
36338 #endif
36339
36340 #undef $ac_func
36341
36342 /* Override any gcc2 internal prototype to avoid an error. */
36343 #ifdef __cplusplus
36344 extern "C"
36345 {
36346 #endif
36347 /* We use char because int might match the return type of a gcc2
36348 builtin and then its argument prototype would still apply. */
36349 char $ac_func ();
36350 /* The GNU C library defines this for functions which it implements
36351 to always fail with ENOSYS. Some functions are actually named
36352 something starting with __ and the normal name is an alias. */
36353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36354 choke me
36355 #else
36356 char (*f) () = $ac_func;
36357 #endif
36358 #ifdef __cplusplus
36359 }
36360 #endif
36361
36362 int
36363 main ()
36364 {
36365 return f != $ac_func;
36366 ;
36367 return 0;
36368 }
36369 _ACEOF
36370 rm -f conftest.$ac_objext conftest$ac_exeext
36371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36372 (eval $ac_link) 2>conftest.er1
36373 ac_status=$?
36374 grep -v '^ *+' conftest.er1 >conftest.err
36375 rm -f conftest.er1
36376 cat conftest.err >&5
36377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36378 (exit $ac_status); } &&
36379 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36381 (eval $ac_try) 2>&5
36382 ac_status=$?
36383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36384 (exit $ac_status); }; } &&
36385 { ac_try='test -s conftest$ac_exeext'
36386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36387 (eval $ac_try) 2>&5
36388 ac_status=$?
36389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36390 (exit $ac_status); }; }; then
36391 eval "$as_ac_var=yes"
36392 else
36393 echo "$as_me: failed program was:" >&5
36394 sed 's/^/| /' conftest.$ac_ext >&5
36395
36396 eval "$as_ac_var=no"
36397 fi
36398 rm -f conftest.err conftest.$ac_objext \
36399 conftest$ac_exeext conftest.$ac_ext
36400 fi
36401 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36402 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36403 if test `eval echo '${'$as_ac_var'}'` = yes; then
36404 cat >>confdefs.h <<_ACEOF
36405 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36406 _ACEOF
36407 cat >>confdefs.h <<\_ACEOF
36408 #define HAVE_DLERROR 1
36409 _ACEOF
36410
36411 else
36412
36413 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
36414 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
36415 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
36416 echo $ECHO_N "(cached) $ECHO_C" >&6
36417 else
36418 ac_check_lib_save_LIBS=$LIBS
36419 LIBS="-ldl $LIBS"
36420 cat >conftest.$ac_ext <<_ACEOF
36421 /* confdefs.h. */
36422 _ACEOF
36423 cat confdefs.h >>conftest.$ac_ext
36424 cat >>conftest.$ac_ext <<_ACEOF
36425 /* end confdefs.h. */
36426
36427 /* Override any gcc2 internal prototype to avoid an error. */
36428 #ifdef __cplusplus
36429 extern "C"
36430 #endif
36431 /* We use char because int might match the return type of a gcc2
36432 builtin and then its argument prototype would still apply. */
36433 char dlerror ();
36434 int
36435 main ()
36436 {
36437 dlerror ();
36438 ;
36439 return 0;
36440 }
36441 _ACEOF
36442 rm -f conftest.$ac_objext conftest$ac_exeext
36443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36444 (eval $ac_link) 2>conftest.er1
36445 ac_status=$?
36446 grep -v '^ *+' conftest.er1 >conftest.err
36447 rm -f conftest.er1
36448 cat conftest.err >&5
36449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36450 (exit $ac_status); } &&
36451 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36453 (eval $ac_try) 2>&5
36454 ac_status=$?
36455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36456 (exit $ac_status); }; } &&
36457 { ac_try='test -s conftest$ac_exeext'
36458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36459 (eval $ac_try) 2>&5
36460 ac_status=$?
36461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36462 (exit $ac_status); }; }; then
36463 ac_cv_lib_dl_dlerror=yes
36464 else
36465 echo "$as_me: failed program was:" >&5
36466 sed 's/^/| /' conftest.$ac_ext >&5
36467
36468 ac_cv_lib_dl_dlerror=no
36469 fi
36470 rm -f conftest.err conftest.$ac_objext \
36471 conftest$ac_exeext conftest.$ac_ext
36472 LIBS=$ac_check_lib_save_LIBS
36473 fi
36474 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
36475 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
36476 if test $ac_cv_lib_dl_dlerror = yes; then
36477 cat >>confdefs.h <<\_ACEOF
36478 #define HAVE_DLERROR 1
36479 _ACEOF
36480
36481 fi
36482
36483
36484
36485 fi
36486 done
36487
36488 fi
36489 fi
36490
36491 if test "$HAVE_DL_FUNCS" = 0; then
36492 if test "$HAVE_SHL_FUNCS" = 0; then
36493 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
36494 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
36495 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
36496 wxUSE_DYNAMIC_LOADER=no
36497 wxUSE_DYNLIB_CLASS=no
36498 else
36499 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
36500 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
36501 fi
36502 fi
36503 fi
36504 fi
36505 fi
36506
36507 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
36508 cat >>confdefs.h <<\_ACEOF
36509 #define wxUSE_DYNAMIC_LOADER 1
36510 _ACEOF
36511
36512 fi
36513 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
36514 cat >>confdefs.h <<\_ACEOF
36515 #define wxUSE_DYNLIB_CLASS 1
36516 _ACEOF
36517
36518 fi
36519
36520
36521
36522 if test "$wxUSE_PLUGINS" = "yes" ; then
36523 if test "$wxUSE_SHARED" = "no" ; then
36524 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
36525 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
36526 wxUSE_PLUGINS=no
36527 fi
36528 if test "$wxUSE_MONOLITHIC" = "yes" ; then
36529 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
36530 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
36531 wxUSE_PLUGINS=no
36532 fi
36533 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
36534 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
36535 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
36536 wxUSE_PLUGINS=no
36537 fi
36538 if test "$wxUSE_PLUGINS" = "yes" ; then
36539 cat >>confdefs.h <<\_ACEOF
36540 #define wxUSE_PLUGINS 1
36541 _ACEOF
36542
36543 fi
36544 fi
36545
36546
36547 if test "$wxUSE_STL" = "yes"; then
36548 cat >>confdefs.h <<\_ACEOF
36549 #define wxUSE_STL 1
36550 _ACEOF
36551
36552 fi
36553
36554 if test "$wxUSE_APPLE_IEEE" = "yes"; then
36555 cat >>confdefs.h <<\_ACEOF
36556 #define wxUSE_APPLE_IEEE 1
36557 _ACEOF
36558
36559 fi
36560
36561 if test "$wxUSE_TIMER" = "yes"; then
36562 cat >>confdefs.h <<\_ACEOF
36563 #define wxUSE_TIMER 1
36564 _ACEOF
36565
36566 fi
36567
36568 if test "$USE_UNIX" = "1" ; then
36569
36570 for ac_header in sys/soundcard.h
36571 do
36572 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36573 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36574 echo "$as_me:$LINENO: checking for $ac_header" >&5
36575 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36576 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36577 echo $ECHO_N "(cached) $ECHO_C" >&6
36578 fi
36579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36580 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36581 else
36582 # Is the header compilable?
36583 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36584 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36585 cat >conftest.$ac_ext <<_ACEOF
36586 /* confdefs.h. */
36587 _ACEOF
36588 cat confdefs.h >>conftest.$ac_ext
36589 cat >>conftest.$ac_ext <<_ACEOF
36590 /* end confdefs.h. */
36591 $ac_includes_default
36592 #include <$ac_header>
36593 _ACEOF
36594 rm -f conftest.$ac_objext
36595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36596 (eval $ac_compile) 2>conftest.er1
36597 ac_status=$?
36598 grep -v '^ *+' conftest.er1 >conftest.err
36599 rm -f conftest.er1
36600 cat conftest.err >&5
36601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36602 (exit $ac_status); } &&
36603 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36605 (eval $ac_try) 2>&5
36606 ac_status=$?
36607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36608 (exit $ac_status); }; } &&
36609 { ac_try='test -s conftest.$ac_objext'
36610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36611 (eval $ac_try) 2>&5
36612 ac_status=$?
36613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36614 (exit $ac_status); }; }; then
36615 ac_header_compiler=yes
36616 else
36617 echo "$as_me: failed program was:" >&5
36618 sed 's/^/| /' conftest.$ac_ext >&5
36619
36620 ac_header_compiler=no
36621 fi
36622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36623 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36624 echo "${ECHO_T}$ac_header_compiler" >&6
36625
36626 # Is the header present?
36627 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36628 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36629 cat >conftest.$ac_ext <<_ACEOF
36630 /* confdefs.h. */
36631 _ACEOF
36632 cat confdefs.h >>conftest.$ac_ext
36633 cat >>conftest.$ac_ext <<_ACEOF
36634 /* end confdefs.h. */
36635 #include <$ac_header>
36636 _ACEOF
36637 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36638 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
36639 ac_status=$?
36640 grep -v '^ *+' conftest.er1 >conftest.err
36641 rm -f conftest.er1
36642 cat conftest.err >&5
36643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36644 (exit $ac_status); } >/dev/null; then
36645 if test -s conftest.err; then
36646 ac_cpp_err=$ac_c_preproc_warn_flag
36647 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
36648 else
36649 ac_cpp_err=
36650 fi
36651 else
36652 ac_cpp_err=yes
36653 fi
36654 if test -z "$ac_cpp_err"; then
36655 ac_header_preproc=yes
36656 else
36657 echo "$as_me: failed program was:" >&5
36658 sed 's/^/| /' conftest.$ac_ext >&5
36659
36660 ac_header_preproc=no
36661 fi
36662 rm -f conftest.err conftest.$ac_ext
36663 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36664 echo "${ECHO_T}$ac_header_preproc" >&6
36665
36666 # So? What about this header?
36667 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36668 yes:no: )
36669 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36670 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36671 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36672 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36673 ac_header_preproc=yes
36674 ;;
36675 no:yes:* )
36676 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36677 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36678 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36679 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36680 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36681 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36682 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36683 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36684 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36685 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36686 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36687 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36688 (
36689 cat <<\_ASBOX
36690 ## ----------------------------------------- ##
36691 ## Report this to wx-dev@lists.wxwidgets.org ##
36692 ## ----------------------------------------- ##
36693 _ASBOX
36694 ) |
36695 sed "s/^/$as_me: WARNING: /" >&2
36696 ;;
36697 esac
36698 echo "$as_me:$LINENO: checking for $ac_header" >&5
36699 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36700 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36701 echo $ECHO_N "(cached) $ECHO_C" >&6
36702 else
36703 eval "$as_ac_Header=\$ac_header_preproc"
36704 fi
36705 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36706 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36707
36708 fi
36709 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36710 cat >>confdefs.h <<_ACEOF
36711 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36712 _ACEOF
36713
36714 else
36715 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
36716 fi
36717
36718 done
36719
36720 fi
36721 WITH_PLUGIN_SDL=0
36722 if test "$wxUSE_SOUND" = "yes"; then
36723 if test "$USE_UNIX" = "1" ; then
36724 if test "$wxUSE_LIBSDL" != "no"; then
36725
36726 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
36727 if test "${with_sdl_prefix+set}" = set; then
36728 withval="$with_sdl_prefix"
36729 sdl_prefix="$withval"
36730 else
36731 sdl_prefix=""
36732 fi;
36733
36734 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
36735 if test "${with_sdl_exec_prefix+set}" = set; then
36736 withval="$with_sdl_exec_prefix"
36737 sdl_exec_prefix="$withval"
36738 else
36739 sdl_exec_prefix=""
36740 fi;
36741 # Check whether --enable-sdltest or --disable-sdltest was given.
36742 if test "${enable_sdltest+set}" = set; then
36743 enableval="$enable_sdltest"
36744
36745 else
36746 enable_sdltest=yes
36747 fi;
36748
36749 if test x$sdl_exec_prefix != x ; then
36750 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
36751 if test x${SDL_CONFIG+set} != xset ; then
36752 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
36753 fi
36754 fi
36755 if test x$sdl_prefix != x ; then
36756 sdl_args="$sdl_args --prefix=$sdl_prefix"
36757 if test x${SDL_CONFIG+set} != xset ; then
36758 SDL_CONFIG=$sdl_prefix/bin/sdl-config
36759 fi
36760 fi
36761
36762
36763 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
36764 # Extract the first word of "sdl-config", so it can be a program name with args.
36765 set dummy sdl-config; ac_word=$2
36766 echo "$as_me:$LINENO: checking for $ac_word" >&5
36767 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36768 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
36769 echo $ECHO_N "(cached) $ECHO_C" >&6
36770 else
36771 case $SDL_CONFIG in
36772 [\\/]* | ?:[\\/]*)
36773 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
36774 ;;
36775 *)
36776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36777 for as_dir in $PATH
36778 do
36779 IFS=$as_save_IFS
36780 test -z "$as_dir" && as_dir=.
36781 for ac_exec_ext in '' $ac_executable_extensions; do
36782 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36783 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
36784 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36785 break 2
36786 fi
36787 done
36788 done
36789
36790 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
36791 ;;
36792 esac
36793 fi
36794 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
36795
36796 if test -n "$SDL_CONFIG"; then
36797 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
36798 echo "${ECHO_T}$SDL_CONFIG" >&6
36799 else
36800 echo "$as_me:$LINENO: result: no" >&5
36801 echo "${ECHO_T}no" >&6
36802 fi
36803
36804 min_sdl_version=1.2.0
36805 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
36806 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
36807 no_sdl=""
36808 if test "$SDL_CONFIG" = "no" ; then
36809 no_sdl=yes
36810 else
36811 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
36812 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
36813
36814 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
36815 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
36816 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
36817 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
36818 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
36819 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
36820 if test "x$enable_sdltest" = "xyes" ; then
36821 ac_save_CFLAGS="$CFLAGS"
36822 ac_save_CXXFLAGS="$CXXFLAGS"
36823 ac_save_LIBS="$LIBS"
36824 CFLAGS="$CFLAGS $SDL_CFLAGS"
36825 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
36826 LIBS="$LIBS $SDL_LIBS"
36827 rm -f conf.sdltest
36828 if test "$cross_compiling" = yes; then
36829 echo $ac_n "cross compiling; assumed OK... $ac_c"
36830 else
36831 cat >conftest.$ac_ext <<_ACEOF
36832 /* confdefs.h. */
36833 _ACEOF
36834 cat confdefs.h >>conftest.$ac_ext
36835 cat >>conftest.$ac_ext <<_ACEOF
36836 /* end confdefs.h. */
36837
36838 #include <stdio.h>
36839 #include <stdlib.h>
36840 #include <string.h>
36841 #include "SDL.h"
36842
36843 char*
36844 my_strdup (char *str)
36845 {
36846 char *new_str;
36847
36848 if (str)
36849 {
36850 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
36851 strcpy (new_str, str);
36852 }
36853 else
36854 new_str = NULL;
36855
36856 return new_str;
36857 }
36858
36859 int main (int argc, char *argv[])
36860 {
36861 int major, minor, micro;
36862 char *tmp_version;
36863
36864 /* This hangs on some systems (?)
36865 system ("touch conf.sdltest");
36866 */
36867 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
36868
36869 /* HP/UX 9 (%@#!) writes to sscanf strings */
36870 tmp_version = my_strdup("$min_sdl_version");
36871 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
36872 printf("%s, bad version string\n", "$min_sdl_version");
36873 exit(1);
36874 }
36875
36876 if (($sdl_major_version > major) ||
36877 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
36878 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
36879 {
36880 return 0;
36881 }
36882 else
36883 {
36884 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
36885 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
36886 printf("*** best to upgrade to the required version.\n");
36887 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
36888 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
36889 printf("*** config.cache before re-running configure\n");
36890 return 1;
36891 }
36892 }
36893
36894
36895 _ACEOF
36896 rm -f conftest$ac_exeext
36897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36898 (eval $ac_link) 2>&5
36899 ac_status=$?
36900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36901 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
36902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36903 (eval $ac_try) 2>&5
36904 ac_status=$?
36905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36906 (exit $ac_status); }; }; then
36907 :
36908 else
36909 echo "$as_me: program exited with status $ac_status" >&5
36910 echo "$as_me: failed program was:" >&5
36911 sed 's/^/| /' conftest.$ac_ext >&5
36912
36913 ( exit $ac_status )
36914 no_sdl=yes
36915 fi
36916 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
36917 fi
36918 CFLAGS="$ac_save_CFLAGS"
36919 CXXFLAGS="$ac_save_CXXFLAGS"
36920 LIBS="$ac_save_LIBS"
36921 fi
36922 fi
36923 if test "x$no_sdl" = x ; then
36924 echo "$as_me:$LINENO: result: yes" >&5
36925 echo "${ECHO_T}yes" >&6
36926
36927 EXTRALIBS_SDL="$SDL_LIBS"
36928 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
36929 cat >>confdefs.h <<\_ACEOF
36930 #define wxUSE_LIBSDL 1
36931 _ACEOF
36932
36933
36934 else
36935 echo "$as_me:$LINENO: result: no" >&5
36936 echo "${ECHO_T}no" >&6
36937 if test "$SDL_CONFIG" = "no" ; then
36938 echo "*** The sdl-config script installed by SDL could not be found"
36939 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
36940 echo "*** your path, or set the SDL_CONFIG environment variable to the"
36941 echo "*** full path to sdl-config."
36942 else
36943 if test -f conf.sdltest ; then
36944 :
36945 else
36946 echo "*** Could not run SDL test program, checking why..."
36947 CFLAGS="$CFLAGS $SDL_CFLAGS"
36948 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
36949 LIBS="$LIBS $SDL_LIBS"
36950 cat >conftest.$ac_ext <<_ACEOF
36951 /* confdefs.h. */
36952 _ACEOF
36953 cat confdefs.h >>conftest.$ac_ext
36954 cat >>conftest.$ac_ext <<_ACEOF
36955 /* end confdefs.h. */
36956
36957 #include <stdio.h>
36958 #include "SDL.h"
36959
36960 int main(int argc, char *argv[])
36961 { return 0; }
36962 #undef main
36963 #define main K_and_R_C_main
36964
36965 int
36966 main ()
36967 {
36968 return 0;
36969 ;
36970 return 0;
36971 }
36972 _ACEOF
36973 rm -f conftest.$ac_objext conftest$ac_exeext
36974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36975 (eval $ac_link) 2>conftest.er1
36976 ac_status=$?
36977 grep -v '^ *+' conftest.er1 >conftest.err
36978 rm -f conftest.er1
36979 cat conftest.err >&5
36980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36981 (exit $ac_status); } &&
36982 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36984 (eval $ac_try) 2>&5
36985 ac_status=$?
36986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36987 (exit $ac_status); }; } &&
36988 { ac_try='test -s conftest$ac_exeext'
36989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36990 (eval $ac_try) 2>&5
36991 ac_status=$?
36992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36993 (exit $ac_status); }; }; then
36994 echo "*** The test program compiled, but did not run. This usually means"
36995 echo "*** that the run-time linker is not finding SDL or finding the wrong"
36996 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
36997 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
36998 echo "*** to the installed location Also, make sure you have run ldconfig if that"
36999 echo "*** is required on your system"
37000 echo "***"
37001 echo "*** If you have an old version installed, it is best to remove it, although"
37002 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
37003 else
37004 echo "$as_me: failed program was:" >&5
37005 sed 's/^/| /' conftest.$ac_ext >&5
37006
37007 echo "*** The test program failed to compile or link. See the file config.log for the"
37008 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
37009 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
37010 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
37011 fi
37012 rm -f conftest.err conftest.$ac_objext \
37013 conftest$ac_exeext conftest.$ac_ext
37014 CFLAGS="$ac_save_CFLAGS"
37015 CXXFLAGS="$ac_save_CXXFLAGS"
37016 LIBS="$ac_save_LIBS"
37017 fi
37018 fi
37019 SDL_CFLAGS=""
37020 SDL_LIBS=""
37021 wxUSE_LIBSDL="no"
37022 fi
37023
37024
37025 rm -f conf.sdltest
37026
37027 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
37028 WITH_PLUGIN_SDL=1
37029 fi
37030 fi
37031 fi
37032
37033 cat >>confdefs.h <<\_ACEOF
37034 #define wxUSE_SOUND 1
37035 _ACEOF
37036
37037 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
37038 fi
37039
37040 if test "$WXGTK20" = 1; then
37041 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
37042 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
37043
37044
37045 succeeded=no
37046
37047 if test -z "$PKG_CONFIG"; then
37048 # Extract the first word of "pkg-config", so it can be a program name with args.
37049 set dummy pkg-config; ac_word=$2
37050 echo "$as_me:$LINENO: checking for $ac_word" >&5
37051 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37052 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
37053 echo $ECHO_N "(cached) $ECHO_C" >&6
37054 else
37055 case $PKG_CONFIG in
37056 [\\/]* | ?:[\\/]*)
37057 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
37058 ;;
37059 *)
37060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37061 for as_dir in $PATH
37062 do
37063 IFS=$as_save_IFS
37064 test -z "$as_dir" && as_dir=.
37065 for ac_exec_ext in '' $ac_executable_extensions; do
37066 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37067 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
37068 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37069 break 2
37070 fi
37071 done
37072 done
37073
37074 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
37075 ;;
37076 esac
37077 fi
37078 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
37079
37080 if test -n "$PKG_CONFIG"; then
37081 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
37082 echo "${ECHO_T}$PKG_CONFIG" >&6
37083 else
37084 echo "$as_me:$LINENO: result: no" >&5
37085 echo "${ECHO_T}no" >&6
37086 fi
37087
37088 fi
37089
37090 if test "$PKG_CONFIG" = "no" ; then
37091 echo "*** The pkg-config script could not be found. Make sure it is"
37092 echo "*** in your path, or set the PKG_CONFIG environment variable"
37093 echo "*** to the full path to pkg-config."
37094 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
37095 else
37096 PKG_CONFIG_MIN_VERSION=0.9.0
37097 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
37098 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
37099 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
37100
37101 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
37102 echo "$as_me:$LINENO: result: yes" >&5
37103 echo "${ECHO_T}yes" >&6
37104 succeeded=yes
37105
37106 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
37107 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
37108 LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
37109 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
37110 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
37111
37112 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
37113 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
37114 LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
37115 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
37116 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
37117 else
37118 LIBGNOMEPRINTUI_CFLAGS=""
37119 LIBGNOMEPRINTUI_LIBS=""
37120 ## If we have a custom action on failure, don't print errors, but
37121 ## do set a variable so people can do so.
37122 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
37123
37124 fi
37125
37126
37127
37128 else
37129 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
37130 echo "*** See http://www.freedesktop.org/software/pkgconfig"
37131 fi
37132 fi
37133
37134 if test $succeeded = yes; then
37135
37136 CXXFLAGS="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
37137 cat >>confdefs.h <<\_ACEOF
37138 #define wxUSE_LIBGNOMEPRINT 1
37139 _ACEOF
37140
37141
37142 else
37143
37144 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
37145 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
37146 wxUSE_LIBGNOMEPRINT="no"
37147
37148
37149 fi
37150
37151 fi
37152 fi
37153 fi
37154
37155
37156 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
37157 cat >>confdefs.h <<\_ACEOF
37158 #define wxUSE_CMDLINE_PARSER 1
37159 _ACEOF
37160
37161 fi
37162
37163 if test "$wxUSE_STOPWATCH" = "yes"; then
37164 cat >>confdefs.h <<\_ACEOF
37165 #define wxUSE_STOPWATCH 1
37166 _ACEOF
37167
37168 fi
37169
37170 if test "$wxUSE_DATETIME" = "yes"; then
37171 cat >>confdefs.h <<\_ACEOF
37172 #define wxUSE_DATETIME 1
37173 _ACEOF
37174
37175 fi
37176
37177 if test "$wxUSE_FILE" = "yes"; then
37178 cat >>confdefs.h <<\_ACEOF
37179 #define wxUSE_FILE 1
37180 _ACEOF
37181
37182 fi
37183
37184 if test "$wxUSE_FFILE" = "yes"; then
37185 cat >>confdefs.h <<\_ACEOF
37186 #define wxUSE_FFILE 1
37187 _ACEOF
37188
37189 fi
37190
37191 if test "$wxUSE_FILESYSTEM" = "yes"; then
37192 cat >>confdefs.h <<\_ACEOF
37193 #define wxUSE_FILESYSTEM 1
37194 _ACEOF
37195
37196 fi
37197
37198 if test "$wxUSE_FS_ZIP" = "yes"; then
37199 cat >>confdefs.h <<\_ACEOF
37200 #define wxUSE_FS_ZIP 1
37201 _ACEOF
37202
37203 fi
37204
37205 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
37206 cat >>confdefs.h <<\_ACEOF
37207 #define wxUSE_ARCHIVE_STREAMS 1
37208 _ACEOF
37209
37210 fi
37211
37212 if test "$wxUSE_ZIPSTREAM" = "yes"; then
37213 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
37214 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
37215 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
37216 elif test "$wxUSE_ZLIB" = "no"; then
37217 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
37218 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
37219 else
37220 cat >>confdefs.h <<\_ACEOF
37221 #define wxUSE_ZIPSTREAM 1
37222 _ACEOF
37223
37224 fi
37225 fi
37226
37227 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37228 if test "$USE_UNIX" != 1; then
37229 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
37230 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
37231 wxUSE_ON_FATAL_EXCEPTION=no
37232 else
37233 cat >>confdefs.h <<\_ACEOF
37234 #define wxUSE_ON_FATAL_EXCEPTION 1
37235 _ACEOF
37236
37237 fi
37238 fi
37239
37240 if test "$wxUSE_STACKWALKER" = "yes"; then
37241 cat >>confdefs.h <<\_ACEOF
37242 #define wxUSE_STACKWALKER 1
37243 _ACEOF
37244
37245 fi
37246
37247 if test "$wxUSE_DEBUGREPORT" = "yes"; then
37248 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
37249 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
37250 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
37251 wxUSE_DEBUGREPORT=no
37252 else
37253 cat >>confdefs.h <<\_ACEOF
37254 #define wxUSE_DEBUGREPORT 1
37255 _ACEOF
37256
37257 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37258 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
37259 fi
37260 fi
37261 fi
37262
37263 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37264 cat >>confdefs.h <<\_ACEOF
37265 #define wxUSE_SNGLINST_CHECKER 1
37266 _ACEOF
37267
37268 fi
37269
37270 if test "$wxUSE_BUSYINFO" = "yes"; then
37271 cat >>confdefs.h <<\_ACEOF
37272 #define wxUSE_BUSYINFO 1
37273 _ACEOF
37274
37275 fi
37276
37277 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
37278 cat >>confdefs.h <<\_ACEOF
37279 #define wxUSE_STD_IOSTREAM 1
37280 _ACEOF
37281
37282 fi
37283
37284 if test "$wxUSE_STD_STRING" = "yes"; then
37285 cat >>confdefs.h <<\_ACEOF
37286 #define wxUSE_STD_STRING 1
37287 _ACEOF
37288
37289 fi
37290
37291 if test "$wxUSE_STDPATHS" = "yes"; then
37292 cat >>confdefs.h <<\_ACEOF
37293 #define wxUSE_STDPATHS 1
37294 _ACEOF
37295
37296 fi
37297
37298 if test "$wxUSE_TEXTBUFFER" = "yes"; then
37299 cat >>confdefs.h <<\_ACEOF
37300 #define wxUSE_TEXTBUFFER 1
37301 _ACEOF
37302
37303 fi
37304
37305 if test "$wxUSE_TEXTFILE" = "yes"; then
37306 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
37307 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
37308 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
37309 else
37310 cat >>confdefs.h <<\_ACEOF
37311 #define wxUSE_TEXTFILE 1
37312 _ACEOF
37313
37314 fi
37315 fi
37316
37317 if test "$wxUSE_CONFIG" = "yes" ; then
37318 if test "$wxUSE_TEXTFILE" != "yes"; then
37319 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
37320 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
37321 else
37322 cat >>confdefs.h <<\_ACEOF
37323 #define wxUSE_CONFIG 1
37324 _ACEOF
37325
37326 cat >>confdefs.h <<\_ACEOF
37327 #define wxUSE_CONFIG_NATIVE 1
37328 _ACEOF
37329
37330 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
37331 fi
37332 fi
37333
37334 if test "$wxUSE_INTL" = "yes" ; then
37335 if test "$wxUSE_FILE" != "yes"; then
37336 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
37337 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
37338 else
37339 cat >>confdefs.h <<\_ACEOF
37340 #define wxUSE_INTL 1
37341 _ACEOF
37342
37343 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
37344 GUIDIST="$GUIDIST INTL_DIST"
37345 fi
37346 fi
37347
37348 if test "$wxUSE_LOG" = "yes"; then
37349 cat >>confdefs.h <<\_ACEOF
37350 #define wxUSE_LOG 1
37351 _ACEOF
37352
37353
37354 if test "$wxUSE_LOGGUI" = "yes"; then
37355 cat >>confdefs.h <<\_ACEOF
37356 #define wxUSE_LOGGUI 1
37357 _ACEOF
37358
37359 fi
37360
37361 if test "$wxUSE_LOGWINDOW" = "yes"; then
37362 cat >>confdefs.h <<\_ACEOF
37363 #define wxUSE_LOGWINDOW 1
37364 _ACEOF
37365
37366 fi
37367
37368 if test "$wxUSE_LOGDIALOG" = "yes"; then
37369 cat >>confdefs.h <<\_ACEOF
37370 #define wxUSE_LOG_DIALOG 1
37371 _ACEOF
37372
37373 fi
37374
37375 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
37376 fi
37377
37378 if test "$wxUSE_LONGLONG" = "yes"; then
37379 cat >>confdefs.h <<\_ACEOF
37380 #define wxUSE_LONGLONG 1
37381 _ACEOF
37382
37383 fi
37384
37385 if test "$wxUSE_GEOMETRY" = "yes"; then
37386 cat >>confdefs.h <<\_ACEOF
37387 #define wxUSE_GEOMETRY 1
37388 _ACEOF
37389
37390 fi
37391
37392 if test "$wxUSE_STREAMS" = "yes" ; then
37393 cat >>confdefs.h <<\_ACEOF
37394 #define wxUSE_STREAMS 1
37395 _ACEOF
37396
37397 fi
37398
37399
37400 if test "$wxUSE_DATETIME" = "yes"; then
37401
37402 for ac_func in strptime
37403 do
37404 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37405 echo "$as_me:$LINENO: checking for $ac_func" >&5
37406 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37407 if eval "test \"\${$as_ac_var+set}\" = set"; then
37408 echo $ECHO_N "(cached) $ECHO_C" >&6
37409 else
37410 cat >conftest.$ac_ext <<_ACEOF
37411 /* confdefs.h. */
37412 _ACEOF
37413 cat confdefs.h >>conftest.$ac_ext
37414 cat >>conftest.$ac_ext <<_ACEOF
37415 /* end confdefs.h. */
37416 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37417 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37418 #define $ac_func innocuous_$ac_func
37419
37420 /* System header to define __stub macros and hopefully few prototypes,
37421 which can conflict with char $ac_func (); below.
37422 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37423 <limits.h> exists even on freestanding compilers. */
37424
37425 #ifdef __STDC__
37426 # include <limits.h>
37427 #else
37428 # include <assert.h>
37429 #endif
37430
37431 #undef $ac_func
37432
37433 /* Override any gcc2 internal prototype to avoid an error. */
37434 #ifdef __cplusplus
37435 extern "C"
37436 {
37437 #endif
37438 /* We use char because int might match the return type of a gcc2
37439 builtin and then its argument prototype would still apply. */
37440 char $ac_func ();
37441 /* The GNU C library defines this for functions which it implements
37442 to always fail with ENOSYS. Some functions are actually named
37443 something starting with __ and the normal name is an alias. */
37444 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37445 choke me
37446 #else
37447 char (*f) () = $ac_func;
37448 #endif
37449 #ifdef __cplusplus
37450 }
37451 #endif
37452
37453 int
37454 main ()
37455 {
37456 return f != $ac_func;
37457 ;
37458 return 0;
37459 }
37460 _ACEOF
37461 rm -f conftest.$ac_objext conftest$ac_exeext
37462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37463 (eval $ac_link) 2>conftest.er1
37464 ac_status=$?
37465 grep -v '^ *+' conftest.er1 >conftest.err
37466 rm -f conftest.er1
37467 cat conftest.err >&5
37468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37469 (exit $ac_status); } &&
37470 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37472 (eval $ac_try) 2>&5
37473 ac_status=$?
37474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37475 (exit $ac_status); }; } &&
37476 { ac_try='test -s conftest$ac_exeext'
37477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37478 (eval $ac_try) 2>&5
37479 ac_status=$?
37480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37481 (exit $ac_status); }; }; then
37482 eval "$as_ac_var=yes"
37483 else
37484 echo "$as_me: failed program was:" >&5
37485 sed 's/^/| /' conftest.$ac_ext >&5
37486
37487 eval "$as_ac_var=no"
37488 fi
37489 rm -f conftest.err conftest.$ac_objext \
37490 conftest$ac_exeext conftest.$ac_ext
37491 fi
37492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37493 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37494 if test `eval echo '${'$as_ac_var'}'` = yes; then
37495 cat >>confdefs.h <<_ACEOF
37496 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37497 _ACEOF
37498
37499 fi
37500 done
37501
37502
37503 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
37504 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
37505 if test "${wx_cv_var_timezone+set}" = set; then
37506 echo $ECHO_N "(cached) $ECHO_C" >&6
37507 else
37508
37509 cat >conftest.$ac_ext <<_ACEOF
37510 /* confdefs.h. */
37511 _ACEOF
37512 cat confdefs.h >>conftest.$ac_ext
37513 cat >>conftest.$ac_ext <<_ACEOF
37514 /* end confdefs.h. */
37515
37516 #include <time.h>
37517
37518 int
37519 main ()
37520 {
37521
37522 int tz;
37523 tz = timezone;
37524
37525 ;
37526 return 0;
37527 }
37528 _ACEOF
37529 rm -f conftest.$ac_objext
37530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37531 (eval $ac_compile) 2>conftest.er1
37532 ac_status=$?
37533 grep -v '^ *+' conftest.er1 >conftest.err
37534 rm -f conftest.er1
37535 cat conftest.err >&5
37536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37537 (exit $ac_status); } &&
37538 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37540 (eval $ac_try) 2>&5
37541 ac_status=$?
37542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37543 (exit $ac_status); }; } &&
37544 { ac_try='test -s conftest.$ac_objext'
37545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37546 (eval $ac_try) 2>&5
37547 ac_status=$?
37548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37549 (exit $ac_status); }; }; then
37550
37551 wx_cv_var_timezone=timezone
37552
37553 else
37554 echo "$as_me: failed program was:" >&5
37555 sed 's/^/| /' conftest.$ac_ext >&5
37556
37557
37558 cat >conftest.$ac_ext <<_ACEOF
37559 /* confdefs.h. */
37560 _ACEOF
37561 cat confdefs.h >>conftest.$ac_ext
37562 cat >>conftest.$ac_ext <<_ACEOF
37563 /* end confdefs.h. */
37564
37565 #include <time.h>
37566
37567 int
37568 main ()
37569 {
37570
37571 int tz;
37572 tz = _timezone;
37573
37574 ;
37575 return 0;
37576 }
37577 _ACEOF
37578 rm -f conftest.$ac_objext
37579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37580 (eval $ac_compile) 2>conftest.er1
37581 ac_status=$?
37582 grep -v '^ *+' conftest.er1 >conftest.err
37583 rm -f conftest.er1
37584 cat conftest.err >&5
37585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37586 (exit $ac_status); } &&
37587 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37589 (eval $ac_try) 2>&5
37590 ac_status=$?
37591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37592 (exit $ac_status); }; } &&
37593 { ac_try='test -s conftest.$ac_objext'
37594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37595 (eval $ac_try) 2>&5
37596 ac_status=$?
37597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37598 (exit $ac_status); }; }; then
37599
37600 wx_cv_var_timezone=_timezone
37601
37602 else
37603 echo "$as_me: failed program was:" >&5
37604 sed 's/^/| /' conftest.$ac_ext >&5
37605
37606
37607 cat >conftest.$ac_ext <<_ACEOF
37608 /* confdefs.h. */
37609 _ACEOF
37610 cat confdefs.h >>conftest.$ac_ext
37611 cat >>conftest.$ac_ext <<_ACEOF
37612 /* end confdefs.h. */
37613
37614 #include <time.h>
37615
37616 int
37617 main ()
37618 {
37619
37620 int tz;
37621 tz = __timezone;
37622
37623 ;
37624 return 0;
37625 }
37626 _ACEOF
37627 rm -f conftest.$ac_objext
37628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37629 (eval $ac_compile) 2>conftest.er1
37630 ac_status=$?
37631 grep -v '^ *+' conftest.er1 >conftest.err
37632 rm -f conftest.er1
37633 cat conftest.err >&5
37634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37635 (exit $ac_status); } &&
37636 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37638 (eval $ac_try) 2>&5
37639 ac_status=$?
37640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37641 (exit $ac_status); }; } &&
37642 { ac_try='test -s conftest.$ac_objext'
37643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37644 (eval $ac_try) 2>&5
37645 ac_status=$?
37646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37647 (exit $ac_status); }; }; then
37648
37649 wx_cv_var_timezone=__timezone
37650
37651 else
37652 echo "$as_me: failed program was:" >&5
37653 sed 's/^/| /' conftest.$ac_ext >&5
37654
37655
37656 if test "$USE_DOS" = 0 ; then
37657 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
37658 echo "$as_me: WARNING: no timezone variable" >&2;}
37659 fi
37660
37661
37662 fi
37663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37664
37665
37666 fi
37667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37668
37669
37670 fi
37671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37672
37673
37674 fi
37675 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
37676 echo "${ECHO_T}$wx_cv_var_timezone" >&6
37677
37678 if test "x$wx_cv_var_timezone" != x ; then
37679 cat >>confdefs.h <<_ACEOF
37680 #define WX_TIMEZONE $wx_cv_var_timezone
37681 _ACEOF
37682
37683 fi
37684
37685
37686 for ac_func in localtime
37687 do
37688 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37689 echo "$as_me:$LINENO: checking for $ac_func" >&5
37690 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37691 if eval "test \"\${$as_ac_var+set}\" = set"; then
37692 echo $ECHO_N "(cached) $ECHO_C" >&6
37693 else
37694 cat >conftest.$ac_ext <<_ACEOF
37695 /* confdefs.h. */
37696 _ACEOF
37697 cat confdefs.h >>conftest.$ac_ext
37698 cat >>conftest.$ac_ext <<_ACEOF
37699 /* end confdefs.h. */
37700 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37701 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37702 #define $ac_func innocuous_$ac_func
37703
37704 /* System header to define __stub macros and hopefully few prototypes,
37705 which can conflict with char $ac_func (); below.
37706 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37707 <limits.h> exists even on freestanding compilers. */
37708
37709 #ifdef __STDC__
37710 # include <limits.h>
37711 #else
37712 # include <assert.h>
37713 #endif
37714
37715 #undef $ac_func
37716
37717 /* Override any gcc2 internal prototype to avoid an error. */
37718 #ifdef __cplusplus
37719 extern "C"
37720 {
37721 #endif
37722 /* We use char because int might match the return type of a gcc2
37723 builtin and then its argument prototype would still apply. */
37724 char $ac_func ();
37725 /* The GNU C library defines this for functions which it implements
37726 to always fail with ENOSYS. Some functions are actually named
37727 something starting with __ and the normal name is an alias. */
37728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37729 choke me
37730 #else
37731 char (*f) () = $ac_func;
37732 #endif
37733 #ifdef __cplusplus
37734 }
37735 #endif
37736
37737 int
37738 main ()
37739 {
37740 return f != $ac_func;
37741 ;
37742 return 0;
37743 }
37744 _ACEOF
37745 rm -f conftest.$ac_objext conftest$ac_exeext
37746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37747 (eval $ac_link) 2>conftest.er1
37748 ac_status=$?
37749 grep -v '^ *+' conftest.er1 >conftest.err
37750 rm -f conftest.er1
37751 cat conftest.err >&5
37752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37753 (exit $ac_status); } &&
37754 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37756 (eval $ac_try) 2>&5
37757 ac_status=$?
37758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37759 (exit $ac_status); }; } &&
37760 { ac_try='test -s conftest$ac_exeext'
37761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37762 (eval $ac_try) 2>&5
37763 ac_status=$?
37764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37765 (exit $ac_status); }; }; then
37766 eval "$as_ac_var=yes"
37767 else
37768 echo "$as_me: failed program was:" >&5
37769 sed 's/^/| /' conftest.$ac_ext >&5
37770
37771 eval "$as_ac_var=no"
37772 fi
37773 rm -f conftest.err conftest.$ac_objext \
37774 conftest$ac_exeext conftest.$ac_ext
37775 fi
37776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37777 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37778 if test `eval echo '${'$as_ac_var'}'` = yes; then
37779 cat >>confdefs.h <<_ACEOF
37780 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37781 _ACEOF
37782
37783 fi
37784 done
37785
37786
37787 if test "$ac_cv_func_localtime" = "yes"; then
37788 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
37789 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
37790 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
37791 echo $ECHO_N "(cached) $ECHO_C" >&6
37792 else
37793
37794 cat >conftest.$ac_ext <<_ACEOF
37795 /* confdefs.h. */
37796 _ACEOF
37797 cat confdefs.h >>conftest.$ac_ext
37798 cat >>conftest.$ac_ext <<_ACEOF
37799 /* end confdefs.h. */
37800
37801 #include <time.h>
37802
37803 int
37804 main ()
37805 {
37806
37807 struct tm tm;
37808 tm.tm_gmtoff++;
37809
37810 ;
37811 return 0;
37812 }
37813 _ACEOF
37814 rm -f conftest.$ac_objext
37815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37816 (eval $ac_compile) 2>conftest.er1
37817 ac_status=$?
37818 grep -v '^ *+' conftest.er1 >conftest.err
37819 rm -f conftest.er1
37820 cat conftest.err >&5
37821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37822 (exit $ac_status); } &&
37823 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37825 (eval $ac_try) 2>&5
37826 ac_status=$?
37827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37828 (exit $ac_status); }; } &&
37829 { ac_try='test -s conftest.$ac_objext'
37830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37831 (eval $ac_try) 2>&5
37832 ac_status=$?
37833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37834 (exit $ac_status); }; }; then
37835
37836 wx_cv_struct_tm_has_gmtoff=yes
37837
37838 else
37839 echo "$as_me: failed program was:" >&5
37840 sed 's/^/| /' conftest.$ac_ext >&5
37841
37842 wx_cv_struct_tm_has_gmtoff=no
37843
37844 fi
37845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37846
37847 fi
37848 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
37849 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
37850 fi
37851
37852 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
37853 cat >>confdefs.h <<\_ACEOF
37854 #define WX_GMTOFF_IN_TM 1
37855 _ACEOF
37856
37857 fi
37858
37859
37860
37861 for ac_func in gettimeofday ftime
37862 do
37863 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37864 echo "$as_me:$LINENO: checking for $ac_func" >&5
37865 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37866 if eval "test \"\${$as_ac_var+set}\" = set"; then
37867 echo $ECHO_N "(cached) $ECHO_C" >&6
37868 else
37869 cat >conftest.$ac_ext <<_ACEOF
37870 /* confdefs.h. */
37871 _ACEOF
37872 cat confdefs.h >>conftest.$ac_ext
37873 cat >>conftest.$ac_ext <<_ACEOF
37874 /* end confdefs.h. */
37875 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37876 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37877 #define $ac_func innocuous_$ac_func
37878
37879 /* System header to define __stub macros and hopefully few prototypes,
37880 which can conflict with char $ac_func (); below.
37881 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37882 <limits.h> exists even on freestanding compilers. */
37883
37884 #ifdef __STDC__
37885 # include <limits.h>
37886 #else
37887 # include <assert.h>
37888 #endif
37889
37890 #undef $ac_func
37891
37892 /* Override any gcc2 internal prototype to avoid an error. */
37893 #ifdef __cplusplus
37894 extern "C"
37895 {
37896 #endif
37897 /* We use char because int might match the return type of a gcc2
37898 builtin and then its argument prototype would still apply. */
37899 char $ac_func ();
37900 /* The GNU C library defines this for functions which it implements
37901 to always fail with ENOSYS. Some functions are actually named
37902 something starting with __ and the normal name is an alias. */
37903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37904 choke me
37905 #else
37906 char (*f) () = $ac_func;
37907 #endif
37908 #ifdef __cplusplus
37909 }
37910 #endif
37911
37912 int
37913 main ()
37914 {
37915 return f != $ac_func;
37916 ;
37917 return 0;
37918 }
37919 _ACEOF
37920 rm -f conftest.$ac_objext conftest$ac_exeext
37921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37922 (eval $ac_link) 2>conftest.er1
37923 ac_status=$?
37924 grep -v '^ *+' conftest.er1 >conftest.err
37925 rm -f conftest.er1
37926 cat conftest.err >&5
37927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37928 (exit $ac_status); } &&
37929 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37931 (eval $ac_try) 2>&5
37932 ac_status=$?
37933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37934 (exit $ac_status); }; } &&
37935 { ac_try='test -s conftest$ac_exeext'
37936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37937 (eval $ac_try) 2>&5
37938 ac_status=$?
37939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37940 (exit $ac_status); }; }; then
37941 eval "$as_ac_var=yes"
37942 else
37943 echo "$as_me: failed program was:" >&5
37944 sed 's/^/| /' conftest.$ac_ext >&5
37945
37946 eval "$as_ac_var=no"
37947 fi
37948 rm -f conftest.err conftest.$ac_objext \
37949 conftest$ac_exeext conftest.$ac_ext
37950 fi
37951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37952 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37953 if test `eval echo '${'$as_ac_var'}'` = yes; then
37954 cat >>confdefs.h <<_ACEOF
37955 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37956 _ACEOF
37957 break
37958 fi
37959 done
37960
37961
37962 if test "$ac_cv_func_gettimeofday" = "yes"; then
37963 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
37964 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
37965 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
37966 echo $ECHO_N "(cached) $ECHO_C" >&6
37967 else
37968
37969
37970
37971 ac_ext=cc
37972 ac_cpp='$CXXCPP $CPPFLAGS'
37973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37976
37977
37978 cat >conftest.$ac_ext <<_ACEOF
37979 /* confdefs.h. */
37980 _ACEOF
37981 cat confdefs.h >>conftest.$ac_ext
37982 cat >>conftest.$ac_ext <<_ACEOF
37983 /* end confdefs.h. */
37984
37985 #include <sys/time.h>
37986 #include <unistd.h>
37987
37988 int
37989 main ()
37990 {
37991
37992 struct timeval tv;
37993 gettimeofday(&tv, NULL);
37994
37995 ;
37996 return 0;
37997 }
37998 _ACEOF
37999 rm -f conftest.$ac_objext
38000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38001 (eval $ac_compile) 2>conftest.er1
38002 ac_status=$?
38003 grep -v '^ *+' conftest.er1 >conftest.err
38004 rm -f conftest.er1
38005 cat conftest.err >&5
38006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38007 (exit $ac_status); } &&
38008 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38010 (eval $ac_try) 2>&5
38011 ac_status=$?
38012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38013 (exit $ac_status); }; } &&
38014 { ac_try='test -s conftest.$ac_objext'
38015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38016 (eval $ac_try) 2>&5
38017 ac_status=$?
38018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38019 (exit $ac_status); }; }; then
38020 wx_cv_func_gettimeofday_has_2_args=yes
38021 else
38022 echo "$as_me: failed program was:" >&5
38023 sed 's/^/| /' conftest.$ac_ext >&5
38024
38025 cat >conftest.$ac_ext <<_ACEOF
38026 /* confdefs.h. */
38027 _ACEOF
38028 cat confdefs.h >>conftest.$ac_ext
38029 cat >>conftest.$ac_ext <<_ACEOF
38030 /* end confdefs.h. */
38031
38032 #include <sys/time.h>
38033 #include <unistd.h>
38034
38035 int
38036 main ()
38037 {
38038
38039 struct timeval tv;
38040 gettimeofday(&tv);
38041
38042 ;
38043 return 0;
38044 }
38045 _ACEOF
38046 rm -f conftest.$ac_objext
38047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38048 (eval $ac_compile) 2>conftest.er1
38049 ac_status=$?
38050 grep -v '^ *+' conftest.er1 >conftest.err
38051 rm -f conftest.er1
38052 cat conftest.err >&5
38053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38054 (exit $ac_status); } &&
38055 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38057 (eval $ac_try) 2>&5
38058 ac_status=$?
38059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38060 (exit $ac_status); }; } &&
38061 { ac_try='test -s conftest.$ac_objext'
38062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38063 (eval $ac_try) 2>&5
38064 ac_status=$?
38065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38066 (exit $ac_status); }; }; then
38067 wx_cv_func_gettimeofday_has_2_args=no
38068 else
38069 echo "$as_me: failed program was:" >&5
38070 sed 's/^/| /' conftest.$ac_ext >&5
38071
38072
38073 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
38074 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
38075 wx_cv_func_gettimeofday_has_2_args=unknown
38076
38077
38078 fi
38079 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38080
38081 fi
38082 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38083 ac_ext=c
38084 ac_cpp='$CPP $CPPFLAGS'
38085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38088
38089
38090 fi
38091 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
38092 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
38093
38094 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
38095 cat >>confdefs.h <<\_ACEOF
38096 #define WX_GETTIMEOFDAY_NO_TZ 1
38097 _ACEOF
38098
38099 fi
38100 fi
38101
38102 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
38103 fi
38104
38105
38106 if test "$wxUSE_SOCKETS" = "yes"; then
38107 if test "$wxUSE_MGL" = "1"; then
38108 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
38109 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
38110 wxUSE_SOCKETS="no"
38111 fi
38112 fi
38113
38114 if test "$wxUSE_SOCKETS" = "yes"; then
38115 if test "$TOOLKIT" != "MSW"; then
38116 echo "$as_me:$LINENO: checking for socket" >&5
38117 echo $ECHO_N "checking for socket... $ECHO_C" >&6
38118 if test "${ac_cv_func_socket+set}" = set; then
38119 echo $ECHO_N "(cached) $ECHO_C" >&6
38120 else
38121 cat >conftest.$ac_ext <<_ACEOF
38122 /* confdefs.h. */
38123 _ACEOF
38124 cat confdefs.h >>conftest.$ac_ext
38125 cat >>conftest.$ac_ext <<_ACEOF
38126 /* end confdefs.h. */
38127 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
38128 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38129 #define socket innocuous_socket
38130
38131 /* System header to define __stub macros and hopefully few prototypes,
38132 which can conflict with char socket (); below.
38133 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38134 <limits.h> exists even on freestanding compilers. */
38135
38136 #ifdef __STDC__
38137 # include <limits.h>
38138 #else
38139 # include <assert.h>
38140 #endif
38141
38142 #undef socket
38143
38144 /* Override any gcc2 internal prototype to avoid an error. */
38145 #ifdef __cplusplus
38146 extern "C"
38147 {
38148 #endif
38149 /* We use char because int might match the return type of a gcc2
38150 builtin and then its argument prototype would still apply. */
38151 char socket ();
38152 /* The GNU C library defines this for functions which it implements
38153 to always fail with ENOSYS. Some functions are actually named
38154 something starting with __ and the normal name is an alias. */
38155 #if defined (__stub_socket) || defined (__stub___socket)
38156 choke me
38157 #else
38158 char (*f) () = socket;
38159 #endif
38160 #ifdef __cplusplus
38161 }
38162 #endif
38163
38164 int
38165 main ()
38166 {
38167 return f != socket;
38168 ;
38169 return 0;
38170 }
38171 _ACEOF
38172 rm -f conftest.$ac_objext conftest$ac_exeext
38173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38174 (eval $ac_link) 2>conftest.er1
38175 ac_status=$?
38176 grep -v '^ *+' conftest.er1 >conftest.err
38177 rm -f conftest.er1
38178 cat conftest.err >&5
38179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38180 (exit $ac_status); } &&
38181 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38183 (eval $ac_try) 2>&5
38184 ac_status=$?
38185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38186 (exit $ac_status); }; } &&
38187 { ac_try='test -s conftest$ac_exeext'
38188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38189 (eval $ac_try) 2>&5
38190 ac_status=$?
38191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38192 (exit $ac_status); }; }; then
38193 ac_cv_func_socket=yes
38194 else
38195 echo "$as_me: failed program was:" >&5
38196 sed 's/^/| /' conftest.$ac_ext >&5
38197
38198 ac_cv_func_socket=no
38199 fi
38200 rm -f conftest.err conftest.$ac_objext \
38201 conftest$ac_exeext conftest.$ac_ext
38202 fi
38203 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
38204 echo "${ECHO_T}$ac_cv_func_socket" >&6
38205 if test $ac_cv_func_socket = yes; then
38206 :
38207 else
38208
38209 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
38210 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
38211 if test "${ac_cv_lib_socket_socket+set}" = set; then
38212 echo $ECHO_N "(cached) $ECHO_C" >&6
38213 else
38214 ac_check_lib_save_LIBS=$LIBS
38215 LIBS="-lsocket $LIBS"
38216 cat >conftest.$ac_ext <<_ACEOF
38217 /* confdefs.h. */
38218 _ACEOF
38219 cat confdefs.h >>conftest.$ac_ext
38220 cat >>conftest.$ac_ext <<_ACEOF
38221 /* end confdefs.h. */
38222
38223 /* Override any gcc2 internal prototype to avoid an error. */
38224 #ifdef __cplusplus
38225 extern "C"
38226 #endif
38227 /* We use char because int might match the return type of a gcc2
38228 builtin and then its argument prototype would still apply. */
38229 char socket ();
38230 int
38231 main ()
38232 {
38233 socket ();
38234 ;
38235 return 0;
38236 }
38237 _ACEOF
38238 rm -f conftest.$ac_objext conftest$ac_exeext
38239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38240 (eval $ac_link) 2>conftest.er1
38241 ac_status=$?
38242 grep -v '^ *+' conftest.er1 >conftest.err
38243 rm -f conftest.er1
38244 cat conftest.err >&5
38245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38246 (exit $ac_status); } &&
38247 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38249 (eval $ac_try) 2>&5
38250 ac_status=$?
38251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38252 (exit $ac_status); }; } &&
38253 { ac_try='test -s conftest$ac_exeext'
38254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38255 (eval $ac_try) 2>&5
38256 ac_status=$?
38257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38258 (exit $ac_status); }; }; then
38259 ac_cv_lib_socket_socket=yes
38260 else
38261 echo "$as_me: failed program was:" >&5
38262 sed 's/^/| /' conftest.$ac_ext >&5
38263
38264 ac_cv_lib_socket_socket=no
38265 fi
38266 rm -f conftest.err conftest.$ac_objext \
38267 conftest$ac_exeext conftest.$ac_ext
38268 LIBS=$ac_check_lib_save_LIBS
38269 fi
38270 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
38271 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
38272 if test $ac_cv_lib_socket_socket = yes; then
38273 if test "$INET_LINK" != " -lsocket"; then
38274 INET_LINK="$INET_LINK -lsocket"
38275 fi
38276 else
38277
38278 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
38279 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
38280 wxUSE_SOCKETS=no
38281
38282
38283 fi
38284
38285
38286
38287 fi
38288
38289 fi
38290 fi
38291
38292 if test "$wxUSE_SOCKETS" = "yes" ; then
38293 if test "$TOOLKIT" != "MSW"; then
38294 ac_ext=cc
38295 ac_cpp='$CXXCPP $CPPFLAGS'
38296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38299
38300 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
38301 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
38302 if test "${wx_cv_type_getsockname3+set}" = set; then
38303 echo $ECHO_N "(cached) $ECHO_C" >&6
38304 else
38305
38306 cat >conftest.$ac_ext <<_ACEOF
38307 /* confdefs.h. */
38308 _ACEOF
38309 cat confdefs.h >>conftest.$ac_ext
38310 cat >>conftest.$ac_ext <<_ACEOF
38311 /* end confdefs.h. */
38312
38313 #include <sys/types.h>
38314 #include <sys/socket.h>
38315
38316 int
38317 main ()
38318 {
38319
38320 socklen_t len;
38321 getsockname(0, 0, &len);
38322
38323 ;
38324 return 0;
38325 }
38326 _ACEOF
38327 rm -f conftest.$ac_objext
38328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38329 (eval $ac_compile) 2>conftest.er1
38330 ac_status=$?
38331 grep -v '^ *+' conftest.er1 >conftest.err
38332 rm -f conftest.er1
38333 cat conftest.err >&5
38334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38335 (exit $ac_status); } &&
38336 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38338 (eval $ac_try) 2>&5
38339 ac_status=$?
38340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38341 (exit $ac_status); }; } &&
38342 { ac_try='test -s conftest.$ac_objext'
38343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38344 (eval $ac_try) 2>&5
38345 ac_status=$?
38346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38347 (exit $ac_status); }; }; then
38348 wx_cv_type_getsockname3=socklen_t
38349 else
38350 echo "$as_me: failed program was:" >&5
38351 sed 's/^/| /' conftest.$ac_ext >&5
38352
38353
38354 CFLAGS_OLD="$CFLAGS"
38355 if test "$GCC" = yes ; then
38356 CFLAGS="$CFLAGS -Werror"
38357 fi
38358
38359 cat >conftest.$ac_ext <<_ACEOF
38360 /* confdefs.h. */
38361 _ACEOF
38362 cat confdefs.h >>conftest.$ac_ext
38363 cat >>conftest.$ac_ext <<_ACEOF
38364 /* end confdefs.h. */
38365
38366 #include <sys/types.h>
38367 #include <sys/socket.h>
38368
38369 int
38370 main ()
38371 {
38372
38373 size_t len;
38374 getsockname(0, 0, &len);
38375
38376 ;
38377 return 0;
38378 }
38379 _ACEOF
38380 rm -f conftest.$ac_objext
38381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38382 (eval $ac_compile) 2>conftest.er1
38383 ac_status=$?
38384 grep -v '^ *+' conftest.er1 >conftest.err
38385 rm -f conftest.er1
38386 cat conftest.err >&5
38387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38388 (exit $ac_status); } &&
38389 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38391 (eval $ac_try) 2>&5
38392 ac_status=$?
38393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38394 (exit $ac_status); }; } &&
38395 { ac_try='test -s conftest.$ac_objext'
38396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38397 (eval $ac_try) 2>&5
38398 ac_status=$?
38399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38400 (exit $ac_status); }; }; then
38401 wx_cv_type_getsockname3=size_t
38402 else
38403 echo "$as_me: failed program was:" >&5
38404 sed 's/^/| /' conftest.$ac_ext >&5
38405
38406 cat >conftest.$ac_ext <<_ACEOF
38407 /* confdefs.h. */
38408 _ACEOF
38409 cat confdefs.h >>conftest.$ac_ext
38410 cat >>conftest.$ac_ext <<_ACEOF
38411 /* end confdefs.h. */
38412
38413 #include <sys/types.h>
38414 #include <sys/socket.h>
38415
38416 int
38417 main ()
38418 {
38419
38420 int len;
38421 getsockname(0, 0, &len);
38422
38423 ;
38424 return 0;
38425 }
38426 _ACEOF
38427 rm -f conftest.$ac_objext
38428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38429 (eval $ac_compile) 2>conftest.er1
38430 ac_status=$?
38431 grep -v '^ *+' conftest.er1 >conftest.err
38432 rm -f conftest.er1
38433 cat conftest.err >&5
38434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38435 (exit $ac_status); } &&
38436 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38438 (eval $ac_try) 2>&5
38439 ac_status=$?
38440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38441 (exit $ac_status); }; } &&
38442 { ac_try='test -s conftest.$ac_objext'
38443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38444 (eval $ac_try) 2>&5
38445 ac_status=$?
38446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38447 (exit $ac_status); }; }; then
38448 wx_cv_type_getsockname3=int
38449 else
38450 echo "$as_me: failed program was:" >&5
38451 sed 's/^/| /' conftest.$ac_ext >&5
38452
38453 wx_cv_type_getsockname3=unknown
38454
38455 fi
38456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38457
38458 fi
38459 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38460
38461 CFLAGS="$CFLAGS_OLD"
38462
38463
38464 fi
38465 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38466
38467 fi
38468 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
38469 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
38470
38471 if test "$wx_cv_type_getsockname3" = "unknown"; then
38472 wxUSE_SOCKETS=no
38473 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
38474 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
38475 else
38476 cat >>confdefs.h <<_ACEOF
38477 #define SOCKLEN_T $wx_cv_type_getsockname3
38478 _ACEOF
38479
38480 fi
38481 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
38482 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
38483 if test "${wx_cv_type_getsockopt5+set}" = set; then
38484 echo $ECHO_N "(cached) $ECHO_C" >&6
38485 else
38486
38487 cat >conftest.$ac_ext <<_ACEOF
38488 /* confdefs.h. */
38489 _ACEOF
38490 cat confdefs.h >>conftest.$ac_ext
38491 cat >>conftest.$ac_ext <<_ACEOF
38492 /* end confdefs.h. */
38493
38494 #include <sys/types.h>
38495 #include <sys/socket.h>
38496
38497 int
38498 main ()
38499 {
38500
38501 socklen_t len;
38502 getsockopt(0, 0, 0, 0, &len);
38503
38504 ;
38505 return 0;
38506 }
38507 _ACEOF
38508 rm -f conftest.$ac_objext
38509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38510 (eval $ac_compile) 2>conftest.er1
38511 ac_status=$?
38512 grep -v '^ *+' conftest.er1 >conftest.err
38513 rm -f conftest.er1
38514 cat conftest.err >&5
38515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38516 (exit $ac_status); } &&
38517 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38519 (eval $ac_try) 2>&5
38520 ac_status=$?
38521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38522 (exit $ac_status); }; } &&
38523 { ac_try='test -s conftest.$ac_objext'
38524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38525 (eval $ac_try) 2>&5
38526 ac_status=$?
38527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38528 (exit $ac_status); }; }; then
38529 wx_cv_type_getsockopt5=socklen_t
38530 else
38531 echo "$as_me: failed program was:" >&5
38532 sed 's/^/| /' conftest.$ac_ext >&5
38533
38534
38535 CFLAGS_OLD="$CFLAGS"
38536 if test "$GCC" = yes ; then
38537 CFLAGS="$CFLAGS -Werror"
38538 fi
38539
38540 cat >conftest.$ac_ext <<_ACEOF
38541 /* confdefs.h. */
38542 _ACEOF
38543 cat confdefs.h >>conftest.$ac_ext
38544 cat >>conftest.$ac_ext <<_ACEOF
38545 /* end confdefs.h. */
38546
38547 #include <sys/types.h>
38548 #include <sys/socket.h>
38549
38550 int
38551 main ()
38552 {
38553
38554 size_t len;
38555 getsockopt(0, 0, 0, 0, &len);
38556
38557 ;
38558 return 0;
38559 }
38560 _ACEOF
38561 rm -f conftest.$ac_objext
38562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38563 (eval $ac_compile) 2>conftest.er1
38564 ac_status=$?
38565 grep -v '^ *+' conftest.er1 >conftest.err
38566 rm -f conftest.er1
38567 cat conftest.err >&5
38568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38569 (exit $ac_status); } &&
38570 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38572 (eval $ac_try) 2>&5
38573 ac_status=$?
38574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38575 (exit $ac_status); }; } &&
38576 { ac_try='test -s conftest.$ac_objext'
38577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38578 (eval $ac_try) 2>&5
38579 ac_status=$?
38580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38581 (exit $ac_status); }; }; then
38582 wx_cv_type_getsockopt5=size_t
38583 else
38584 echo "$as_me: failed program was:" >&5
38585 sed 's/^/| /' conftest.$ac_ext >&5
38586
38587 cat >conftest.$ac_ext <<_ACEOF
38588 /* confdefs.h. */
38589 _ACEOF
38590 cat confdefs.h >>conftest.$ac_ext
38591 cat >>conftest.$ac_ext <<_ACEOF
38592 /* end confdefs.h. */
38593
38594 #include <sys/types.h>
38595 #include <sys/socket.h>
38596
38597 int
38598 main ()
38599 {
38600
38601 int len;
38602 getsockopt(0, 0, 0, 0, &len);
38603
38604 ;
38605 return 0;
38606 }
38607 _ACEOF
38608 rm -f conftest.$ac_objext
38609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38610 (eval $ac_compile) 2>conftest.er1
38611 ac_status=$?
38612 grep -v '^ *+' conftest.er1 >conftest.err
38613 rm -f conftest.er1
38614 cat conftest.err >&5
38615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38616 (exit $ac_status); } &&
38617 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38619 (eval $ac_try) 2>&5
38620 ac_status=$?
38621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38622 (exit $ac_status); }; } &&
38623 { ac_try='test -s conftest.$ac_objext'
38624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38625 (eval $ac_try) 2>&5
38626 ac_status=$?
38627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38628 (exit $ac_status); }; }; then
38629 wx_cv_type_getsockopt5=int
38630 else
38631 echo "$as_me: failed program was:" >&5
38632 sed 's/^/| /' conftest.$ac_ext >&5
38633
38634 wx_cv_type_getsockopt5=unknown
38635
38636 fi
38637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38638
38639 fi
38640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38641
38642 CFLAGS="$CFLAGS_OLD"
38643
38644
38645 fi
38646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38647
38648 fi
38649 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
38650 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
38651
38652 if test "$wx_cv_type_getsockopt5" = "unknown"; then
38653 wxUSE_SOCKETS=no
38654 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
38655 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
38656 else
38657 cat >>confdefs.h <<_ACEOF
38658 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
38659 _ACEOF
38660
38661 fi
38662 ac_ext=c
38663 ac_cpp='$CPP $CPPFLAGS'
38664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38667
38668 fi
38669 fi
38670
38671 if test "$wxUSE_SOCKETS" = "yes" ; then
38672 cat >>confdefs.h <<\_ACEOF
38673 #define wxUSE_SOCKETS 1
38674 _ACEOF
38675
38676 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
38677 fi
38678
38679 if test "$wxUSE_PROTOCOL" = "yes"; then
38680 if test "$wxUSE_SOCKETS" != "yes"; then
38681 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
38682 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
38683 wxUSE_PROTOCOL=no
38684 fi
38685 fi
38686
38687 if test "$wxUSE_PROTOCOL" = "yes"; then
38688 cat >>confdefs.h <<\_ACEOF
38689 #define wxUSE_PROTOCOL 1
38690 _ACEOF
38691
38692
38693 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
38694 cat >>confdefs.h <<\_ACEOF
38695 #define wxUSE_PROTOCOL_HTTP 1
38696 _ACEOF
38697
38698 fi
38699 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
38700 cat >>confdefs.h <<\_ACEOF
38701 #define wxUSE_PROTOCOL_FTP 1
38702 _ACEOF
38703
38704 fi
38705 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
38706 cat >>confdefs.h <<\_ACEOF
38707 #define wxUSE_PROTOCOL_FILE 1
38708 _ACEOF
38709
38710 fi
38711 else
38712 if test "$wxUSE_FS_INET" = "yes"; then
38713 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
38714 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
38715 wxUSE_FS_INET="no"
38716 fi
38717 fi
38718
38719 if test "$wxUSE_URL" = "yes"; then
38720 if test "$wxUSE_PROTOCOL" != "yes"; then
38721 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
38722 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
38723 wxUSE_URL=no
38724 fi
38725 if test "$wxUSE_URL" = "yes"; then
38726 cat >>confdefs.h <<\_ACEOF
38727 #define wxUSE_URL 1
38728 _ACEOF
38729
38730 fi
38731 fi
38732
38733 if test "$wxUSE_FS_INET" = "yes"; then
38734 cat >>confdefs.h <<\_ACEOF
38735 #define wxUSE_FS_INET 1
38736 _ACEOF
38737
38738 fi
38739
38740
38741 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
38742 wxUSE_JOYSTICK=no
38743
38744 if test "$TOOLKIT" = "MSW"; then
38745 wxUSE_JOYSTICK=yes
38746
38747 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
38748 if test "$USE_DARWIN" = 1; then
38749 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
38750 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
38751 ac_ext=cc
38752 ac_cpp='$CXXCPP $CPPFLAGS'
38753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38756
38757 cat >conftest.$ac_ext <<_ACEOF
38758 /* confdefs.h. */
38759 _ACEOF
38760 cat confdefs.h >>conftest.$ac_ext
38761 cat >>conftest.$ac_ext <<_ACEOF
38762 /* end confdefs.h. */
38763 #include <IOKit/hid/IOHIDLib.h>
38764 int
38765 main ()
38766 {
38767 IOHIDQueueInterface *qi = NULL;
38768 IOHIDCallbackFunction cb = NULL;
38769 qi->setEventCallout(NULL, cb, NULL, NULL);
38770 ;
38771 return 0;
38772 }
38773 _ACEOF
38774 rm -f conftest.$ac_objext
38775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38776 (eval $ac_compile) 2>conftest.er1
38777 ac_status=$?
38778 grep -v '^ *+' conftest.er1 >conftest.err
38779 rm -f conftest.er1
38780 cat conftest.err >&5
38781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38782 (exit $ac_status); } &&
38783 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38785 (eval $ac_try) 2>&5
38786 ac_status=$?
38787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38788 (exit $ac_status); }; } &&
38789 { ac_try='test -s conftest.$ac_objext'
38790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38791 (eval $ac_try) 2>&5
38792 ac_status=$?
38793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38794 (exit $ac_status); }; }; then
38795 wxUSE_JOYSTICK=yes
38796
38797 else
38798 echo "$as_me: failed program was:" >&5
38799 sed 's/^/| /' conftest.$ac_ext >&5
38800
38801 fi
38802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38803 ac_ext=c
38804 ac_cpp='$CPP $CPPFLAGS'
38805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38808
38809 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
38810 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
38811 fi
38812
38813 else
38814
38815 for ac_header in linux/joystick.h
38816 do
38817 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38818 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38819 echo "$as_me:$LINENO: checking for $ac_header" >&5
38820 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38821 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38822 echo $ECHO_N "(cached) $ECHO_C" >&6
38823 fi
38824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38825 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38826 else
38827 # Is the header compilable?
38828 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38829 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38830 cat >conftest.$ac_ext <<_ACEOF
38831 /* confdefs.h. */
38832 _ACEOF
38833 cat confdefs.h >>conftest.$ac_ext
38834 cat >>conftest.$ac_ext <<_ACEOF
38835 /* end confdefs.h. */
38836 $ac_includes_default
38837 #include <$ac_header>
38838 _ACEOF
38839 rm -f conftest.$ac_objext
38840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38841 (eval $ac_compile) 2>conftest.er1
38842 ac_status=$?
38843 grep -v '^ *+' conftest.er1 >conftest.err
38844 rm -f conftest.er1
38845 cat conftest.err >&5
38846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38847 (exit $ac_status); } &&
38848 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38850 (eval $ac_try) 2>&5
38851 ac_status=$?
38852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38853 (exit $ac_status); }; } &&
38854 { ac_try='test -s conftest.$ac_objext'
38855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38856 (eval $ac_try) 2>&5
38857 ac_status=$?
38858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38859 (exit $ac_status); }; }; then
38860 ac_header_compiler=yes
38861 else
38862 echo "$as_me: failed program was:" >&5
38863 sed 's/^/| /' conftest.$ac_ext >&5
38864
38865 ac_header_compiler=no
38866 fi
38867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38868 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38869 echo "${ECHO_T}$ac_header_compiler" >&6
38870
38871 # Is the header present?
38872 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38873 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38874 cat >conftest.$ac_ext <<_ACEOF
38875 /* confdefs.h. */
38876 _ACEOF
38877 cat confdefs.h >>conftest.$ac_ext
38878 cat >>conftest.$ac_ext <<_ACEOF
38879 /* end confdefs.h. */
38880 #include <$ac_header>
38881 _ACEOF
38882 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38883 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38884 ac_status=$?
38885 grep -v '^ *+' conftest.er1 >conftest.err
38886 rm -f conftest.er1
38887 cat conftest.err >&5
38888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38889 (exit $ac_status); } >/dev/null; then
38890 if test -s conftest.err; then
38891 ac_cpp_err=$ac_c_preproc_warn_flag
38892 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
38893 else
38894 ac_cpp_err=
38895 fi
38896 else
38897 ac_cpp_err=yes
38898 fi
38899 if test -z "$ac_cpp_err"; then
38900 ac_header_preproc=yes
38901 else
38902 echo "$as_me: failed program was:" >&5
38903 sed 's/^/| /' conftest.$ac_ext >&5
38904
38905 ac_header_preproc=no
38906 fi
38907 rm -f conftest.err conftest.$ac_ext
38908 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38909 echo "${ECHO_T}$ac_header_preproc" >&6
38910
38911 # So? What about this header?
38912 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38913 yes:no: )
38914 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38915 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38916 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38917 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38918 ac_header_preproc=yes
38919 ;;
38920 no:yes:* )
38921 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38922 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38923 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38924 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38925 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38926 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38927 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38928 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38929 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38930 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38931 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38932 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38933 (
38934 cat <<\_ASBOX
38935 ## ----------------------------------------- ##
38936 ## Report this to wx-dev@lists.wxwidgets.org ##
38937 ## ----------------------------------------- ##
38938 _ASBOX
38939 ) |
38940 sed "s/^/$as_me: WARNING: /" >&2
38941 ;;
38942 esac
38943 echo "$as_me:$LINENO: checking for $ac_header" >&5
38944 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38945 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38946 echo $ECHO_N "(cached) $ECHO_C" >&6
38947 else
38948 eval "$as_ac_Header=\$ac_header_preproc"
38949 fi
38950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38951 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38952
38953 fi
38954 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38955 cat >>confdefs.h <<_ACEOF
38956 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38957 _ACEOF
38958 wxUSE_JOYSTICK=yes
38959 fi
38960
38961 done
38962
38963 fi
38964
38965 if test "$wxUSE_JOYSTICK" = "yes"; then
38966 cat >>confdefs.h <<\_ACEOF
38967 #define wxUSE_JOYSTICK 1
38968 _ACEOF
38969
38970 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
38971 else
38972 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
38973 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
38974 fi
38975 fi
38976
38977
38978
38979 if test "$wxUSE_FONTMAP" = "yes" ; then
38980 cat >>confdefs.h <<\_ACEOF
38981 #define wxUSE_FONTMAP 1
38982 _ACEOF
38983
38984 fi
38985
38986 if test "$wxUSE_UNICODE" = "yes" ; then
38987 cat >>confdefs.h <<\_ACEOF
38988 #define wxUSE_UNICODE 1
38989 _ACEOF
38990
38991
38992 if test "$USE_WIN32" != 1; then
38993 wxUSE_UNICODE_MSLU=no
38994 fi
38995
38996 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
38997 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
38998 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
38999 if test "${ac_cv_lib_unicows_main+set}" = set; then
39000 echo $ECHO_N "(cached) $ECHO_C" >&6
39001 else
39002 ac_check_lib_save_LIBS=$LIBS
39003 LIBS="-lunicows $LIBS"
39004 cat >conftest.$ac_ext <<_ACEOF
39005 /* confdefs.h. */
39006 _ACEOF
39007 cat confdefs.h >>conftest.$ac_ext
39008 cat >>conftest.$ac_ext <<_ACEOF
39009 /* end confdefs.h. */
39010
39011
39012 int
39013 main ()
39014 {
39015 main ();
39016 ;
39017 return 0;
39018 }
39019 _ACEOF
39020 rm -f conftest.$ac_objext conftest$ac_exeext
39021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39022 (eval $ac_link) 2>conftest.er1
39023 ac_status=$?
39024 grep -v '^ *+' conftest.er1 >conftest.err
39025 rm -f conftest.er1
39026 cat conftest.err >&5
39027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39028 (exit $ac_status); } &&
39029 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39031 (eval $ac_try) 2>&5
39032 ac_status=$?
39033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39034 (exit $ac_status); }; } &&
39035 { ac_try='test -s conftest$ac_exeext'
39036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39037 (eval $ac_try) 2>&5
39038 ac_status=$?
39039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39040 (exit $ac_status); }; }; then
39041 ac_cv_lib_unicows_main=yes
39042 else
39043 echo "$as_me: failed program was:" >&5
39044 sed 's/^/| /' conftest.$ac_ext >&5
39045
39046 ac_cv_lib_unicows_main=no
39047 fi
39048 rm -f conftest.err conftest.$ac_objext \
39049 conftest$ac_exeext conftest.$ac_ext
39050 LIBS=$ac_check_lib_save_LIBS
39051 fi
39052 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
39053 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
39054 if test $ac_cv_lib_unicows_main = yes; then
39055
39056 cat >>confdefs.h <<\_ACEOF
39057 #define wxUSE_UNICODE_MSLU 1
39058 _ACEOF
39059
39060
39061 else
39062
39063 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
39064 Applications will only run on Windows NT/2000/XP!" >&5
39065 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
39066 Applications will only run on Windows NT/2000/XP!" >&2;}
39067 wxUSE_UNICODE_MSLU=no
39068
39069 fi
39070
39071 fi
39072 fi
39073
39074 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
39075 cat >>confdefs.h <<\_ACEOF
39076 #define wxUSE_EXPERIMENTAL_PRINTF 1
39077 _ACEOF
39078
39079 fi
39080
39081
39082 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
39083 cat >>confdefs.h <<\_ACEOF
39084 #define wxUSE_POSTSCRIPT 1
39085 _ACEOF
39086
39087 fi
39088
39089 cat >>confdefs.h <<\_ACEOF
39090 #define wxUSE_AFM_FOR_POSTSCRIPT 1
39091 _ACEOF
39092
39093
39094 cat >>confdefs.h <<\_ACEOF
39095 #define wxUSE_NORMALIZED_PS_FONTS 1
39096 _ACEOF
39097
39098
39099
39100 if test "$wxUSE_CONSTRAINTS" = "yes"; then
39101 cat >>confdefs.h <<\_ACEOF
39102 #define wxUSE_CONSTRAINTS 1
39103 _ACEOF
39104
39105 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
39106 fi
39107
39108 if test "$wxUSE_MDI" = "yes"; then
39109 cat >>confdefs.h <<\_ACEOF
39110 #define wxUSE_MDI 1
39111 _ACEOF
39112
39113
39114 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
39115 cat >>confdefs.h <<\_ACEOF
39116 #define wxUSE_MDI_ARCHITECTURE 1
39117 _ACEOF
39118
39119 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
39120 fi
39121 fi
39122
39123 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
39124 cat >>confdefs.h <<\_ACEOF
39125 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
39126 _ACEOF
39127
39128 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
39129 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
39130 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
39131 fi
39132 fi
39133
39134 if test "$wxUSE_HELP" = "yes"; then
39135 cat >>confdefs.h <<\_ACEOF
39136 #define wxUSE_HELP 1
39137 _ACEOF
39138
39139 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
39140
39141 if test "$wxUSE_MSW" = 1; then
39142 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
39143 cat >>confdefs.h <<\_ACEOF
39144 #define wxUSE_MS_HTML_HELP 1
39145 _ACEOF
39146
39147 fi
39148 fi
39149
39150 if test "$wxUSE_WXHTML_HELP" = "yes"; then
39151 if test "$wxUSE_HTML" = "yes"; then
39152 cat >>confdefs.h <<\_ACEOF
39153 #define wxUSE_WXHTML_HELP 1
39154 _ACEOF
39155
39156 else
39157 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
39158 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
39159 wxUSE_WXHTML_HELP=no
39160 fi
39161 fi
39162 fi
39163
39164 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
39165 if test "$wxUSE_CONSTRAINTS" != "yes"; then
39166 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
39167 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
39168 else
39169 cat >>confdefs.h <<\_ACEOF
39170 #define wxUSE_PRINTING_ARCHITECTURE 1
39171 _ACEOF
39172
39173 fi
39174 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
39175 fi
39176
39177 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
39178 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
39179 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
39180 { (exit 1); exit 1; }; }
39181 fi
39182
39183
39184 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
39185 -o "$wxUSE_CLIPBOARD" = "yes" \
39186 -o "$wxUSE_OLE" = "yes" \
39187 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
39188
39189 for ac_header in ole2.h
39190 do
39191 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39192 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39193 echo "$as_me:$LINENO: checking for $ac_header" >&5
39194 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39195 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39196 echo $ECHO_N "(cached) $ECHO_C" >&6
39197 fi
39198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39199 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39200 else
39201 # Is the header compilable?
39202 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39203 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39204 cat >conftest.$ac_ext <<_ACEOF
39205 /* confdefs.h. */
39206 _ACEOF
39207 cat confdefs.h >>conftest.$ac_ext
39208 cat >>conftest.$ac_ext <<_ACEOF
39209 /* end confdefs.h. */
39210 $ac_includes_default
39211 #include <$ac_header>
39212 _ACEOF
39213 rm -f conftest.$ac_objext
39214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39215 (eval $ac_compile) 2>conftest.er1
39216 ac_status=$?
39217 grep -v '^ *+' conftest.er1 >conftest.err
39218 rm -f conftest.er1
39219 cat conftest.err >&5
39220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39221 (exit $ac_status); } &&
39222 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39224 (eval $ac_try) 2>&5
39225 ac_status=$?
39226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39227 (exit $ac_status); }; } &&
39228 { ac_try='test -s conftest.$ac_objext'
39229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39230 (eval $ac_try) 2>&5
39231 ac_status=$?
39232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39233 (exit $ac_status); }; }; then
39234 ac_header_compiler=yes
39235 else
39236 echo "$as_me: failed program was:" >&5
39237 sed 's/^/| /' conftest.$ac_ext >&5
39238
39239 ac_header_compiler=no
39240 fi
39241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39242 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39243 echo "${ECHO_T}$ac_header_compiler" >&6
39244
39245 # Is the header present?
39246 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39247 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39248 cat >conftest.$ac_ext <<_ACEOF
39249 /* confdefs.h. */
39250 _ACEOF
39251 cat confdefs.h >>conftest.$ac_ext
39252 cat >>conftest.$ac_ext <<_ACEOF
39253 /* end confdefs.h. */
39254 #include <$ac_header>
39255 _ACEOF
39256 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39257 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39258 ac_status=$?
39259 grep -v '^ *+' conftest.er1 >conftest.err
39260 rm -f conftest.er1
39261 cat conftest.err >&5
39262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39263 (exit $ac_status); } >/dev/null; then
39264 if test -s conftest.err; then
39265 ac_cpp_err=$ac_c_preproc_warn_flag
39266 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
39267 else
39268 ac_cpp_err=
39269 fi
39270 else
39271 ac_cpp_err=yes
39272 fi
39273 if test -z "$ac_cpp_err"; then
39274 ac_header_preproc=yes
39275 else
39276 echo "$as_me: failed program was:" >&5
39277 sed 's/^/| /' conftest.$ac_ext >&5
39278
39279 ac_header_preproc=no
39280 fi
39281 rm -f conftest.err conftest.$ac_ext
39282 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39283 echo "${ECHO_T}$ac_header_preproc" >&6
39284
39285 # So? What about this header?
39286 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39287 yes:no: )
39288 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39289 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39290 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39291 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39292 ac_header_preproc=yes
39293 ;;
39294 no:yes:* )
39295 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39296 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39297 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39298 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39299 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39300 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39301 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39302 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39303 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39304 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39305 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39306 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39307 (
39308 cat <<\_ASBOX
39309 ## ----------------------------------------- ##
39310 ## Report this to wx-dev@lists.wxwidgets.org ##
39311 ## ----------------------------------------- ##
39312 _ASBOX
39313 ) |
39314 sed "s/^/$as_me: WARNING: /" >&2
39315 ;;
39316 esac
39317 echo "$as_me:$LINENO: checking for $ac_header" >&5
39318 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39319 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39320 echo $ECHO_N "(cached) $ECHO_C" >&6
39321 else
39322 eval "$as_ac_Header=\$ac_header_preproc"
39323 fi
39324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39325 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39326
39327 fi
39328 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39329 cat >>confdefs.h <<_ACEOF
39330 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39331 _ACEOF
39332
39333 fi
39334
39335 done
39336
39337
39338 if test "$ac_cv_header_ole2_h" = "yes" ; then
39339 if test "$GCC" = yes ; then
39340
39341
39342 ac_ext=cc
39343 ac_cpp='$CXXCPP $CPPFLAGS'
39344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39347
39348
39349 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
39350 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
39351 cat >conftest.$ac_ext <<_ACEOF
39352 /* confdefs.h. */
39353 _ACEOF
39354 cat confdefs.h >>conftest.$ac_ext
39355 cat >>conftest.$ac_ext <<_ACEOF
39356 /* end confdefs.h. */
39357 #include <windows.h>
39358 #include <ole2.h>
39359 int
39360 main ()
39361 {
39362
39363 ;
39364 return 0;
39365 }
39366 _ACEOF
39367 rm -f conftest.$ac_objext
39368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39369 (eval $ac_compile) 2>conftest.er1
39370 ac_status=$?
39371 grep -v '^ *+' conftest.er1 >conftest.err
39372 rm -f conftest.er1
39373 cat conftest.err >&5
39374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39375 (exit $ac_status); } &&
39376 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39378 (eval $ac_try) 2>&5
39379 ac_status=$?
39380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39381 (exit $ac_status); }; } &&
39382 { ac_try='test -s conftest.$ac_objext'
39383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39384 (eval $ac_try) 2>&5
39385 ac_status=$?
39386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39387 (exit $ac_status); }; }; then
39388 echo "$as_me:$LINENO: result: no" >&5
39389 echo "${ECHO_T}no" >&6
39390 else
39391 echo "$as_me: failed program was:" >&5
39392 sed 's/^/| /' conftest.$ac_ext >&5
39393
39394 echo "$as_me:$LINENO: result: yes" >&5
39395 echo "${ECHO_T}yes" >&6
39396 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
39397 fi
39398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39399 ac_ext=c
39400 ac_cpp='$CPP $CPPFLAGS'
39401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39404
39405 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
39406 if test "$wxUSE_OLE" = "yes" ; then
39407 cat >>confdefs.h <<\_ACEOF
39408 #define wxUSE_OLE 1
39409 _ACEOF
39410
39411 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
39412 fi
39413 fi
39414
39415 if test "$wxUSE_DATAOBJ" = "yes" ; then
39416 cat >>confdefs.h <<\_ACEOF
39417 #define wxUSE_DATAOBJ 1
39418 _ACEOF
39419
39420 fi
39421 else
39422 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
39423 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
39424
39425 wxUSE_CLIPBOARD=no
39426 wxUSE_DRAG_AND_DROP=no
39427 wxUSE_DATAOBJ=no
39428 wxUSE_OLE=no
39429 fi
39430
39431 if test "$wxUSE_METAFILE" = "yes"; then
39432 cat >>confdefs.h <<\_ACEOF
39433 #define wxUSE_METAFILE 1
39434 _ACEOF
39435
39436
39437 cat >>confdefs.h <<\_ACEOF
39438 #define wxUSE_ENH_METAFILE 1
39439 _ACEOF
39440
39441 fi
39442 fi
39443
39444 if test "$wxUSE_IPC" = "yes"; then
39445 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
39446 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
39447 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
39448 wxUSE_IPC=no
39449 fi
39450
39451 if test "$wxUSE_IPC" = "yes"; then
39452 cat >>confdefs.h <<\_ACEOF
39453 #define wxUSE_IPC 1
39454 _ACEOF
39455
39456 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
39457 fi
39458 fi
39459
39460 if test "$wxUSE_CLIPBOARD" = "yes"; then
39461 if test "$wxUSE_MGL" = 1; then
39462 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
39463 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
39464 wxUSE_CLIPBOARD=no
39465 fi
39466
39467 if test "$wxUSE_CLIPBOARD" = "yes"; then
39468 cat >>confdefs.h <<\_ACEOF
39469 #define wxUSE_CLIPBOARD 1
39470 _ACEOF
39471
39472
39473 cat >>confdefs.h <<\_ACEOF
39474 #define wxUSE_DATAOBJ 1
39475 _ACEOF
39476
39477 fi
39478 fi
39479
39480 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
39481 if test "$wxUSE_GTK" = 1; then
39482 if test "$WXGTK12" != 1; then
39483 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
39484 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
39485 wxUSE_DRAG_AND_DROP=no
39486 fi
39487 fi
39488
39489 if test "$wxUSE_MOTIF" = 1; then
39490 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
39491 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
39492 wxUSE_DRAG_AND_DROP=no
39493 fi
39494
39495 if test "$wxUSE_X11" = 1; then
39496 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
39497 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
39498 wxUSE_DRAG_AND_DROP=no
39499 fi
39500
39501 if test "$wxUSE_MGL" = 1; then
39502 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
39503 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
39504 wxUSE_DRAG_AND_DROP=no
39505 fi
39506
39507 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
39508 cat >>confdefs.h <<\_ACEOF
39509 #define wxUSE_DRAG_AND_DROP 1
39510 _ACEOF
39511
39512 fi
39513
39514 fi
39515
39516 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
39517 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
39518 fi
39519
39520 if test "$wxUSE_SPLINES" = "yes" ; then
39521 cat >>confdefs.h <<\_ACEOF
39522 #define wxUSE_SPLINES 1
39523 _ACEOF
39524
39525 fi
39526
39527 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
39528 cat >>confdefs.h <<\_ACEOF
39529 #define wxUSE_MOUSEWHEEL 1
39530 _ACEOF
39531
39532 fi
39533
39534
39535 USES_CONTROLS=0
39536 if test "$wxUSE_CONTROLS" = "yes"; then
39537 USES_CONTROLS=1
39538 fi
39539
39540 if test "$wxUSE_ACCEL" = "yes"; then
39541 cat >>confdefs.h <<\_ACEOF
39542 #define wxUSE_ACCEL 1
39543 _ACEOF
39544
39545 USES_CONTROLS=1
39546 fi
39547
39548 if test "$wxUSE_BUTTON" = "yes"; then
39549 cat >>confdefs.h <<\_ACEOF
39550 #define wxUSE_BUTTON 1
39551 _ACEOF
39552
39553 USES_CONTROLS=1
39554 fi
39555
39556 if test "$wxUSE_BMPBUTTON" = "yes"; then
39557 cat >>confdefs.h <<\_ACEOF
39558 #define wxUSE_BMPBUTTON 1
39559 _ACEOF
39560
39561 USES_CONTROLS=1
39562 fi
39563
39564 if test "$wxUSE_CALCTRL" = "yes"; then
39565 cat >>confdefs.h <<\_ACEOF
39566 #define wxUSE_CALENDARCTRL 1
39567 _ACEOF
39568
39569 USES_CONTROLS=1
39570 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
39571 fi
39572
39573 if test "$wxUSE_CARET" = "yes"; then
39574 cat >>confdefs.h <<\_ACEOF
39575 #define wxUSE_CARET 1
39576 _ACEOF
39577
39578 USES_CONTROLS=1
39579 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
39580 fi
39581
39582 if test "$wxUSE_COMBOBOX" = "yes"; then
39583 cat >>confdefs.h <<\_ACEOF
39584 #define wxUSE_COMBOBOX 1
39585 _ACEOF
39586
39587 USES_CONTROLS=1
39588 fi
39589
39590 if test "$wxUSE_CHOICE" = "yes"; then
39591 cat >>confdefs.h <<\_ACEOF
39592 #define wxUSE_CHOICE 1
39593 _ACEOF
39594
39595 USES_CONTROLS=1
39596 fi
39597
39598 if test "$wxUSE_CHOICEBOOK" = "yes"; then
39599 cat >>confdefs.h <<\_ACEOF
39600 #define wxUSE_CHOICEBOOK 1
39601 _ACEOF
39602
39603 USES_CONTROLS=1
39604 fi
39605
39606 if test "$wxUSE_CHECKBOX" = "yes"; then
39607 cat >>confdefs.h <<\_ACEOF
39608 #define wxUSE_CHECKBOX 1
39609 _ACEOF
39610
39611 USES_CONTROLS=1
39612 fi
39613
39614 if test "$wxUSE_CHECKLST" = "yes"; then
39615 cat >>confdefs.h <<\_ACEOF
39616 #define wxUSE_CHECKLISTBOX 1
39617 _ACEOF
39618
39619 USES_CONTROLS=1
39620 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
39621 fi
39622
39623 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
39624 cat >>confdefs.h <<\_ACEOF
39625 #define wxUSE_DATEPICKCTRL 1
39626 _ACEOF
39627
39628 USES_CONTROLS=1
39629 fi
39630
39631 if test "$wxUSE_DISPLAY" = "yes"; then
39632 cat >>confdefs.h <<\_ACEOF
39633 #define wxUSE_DISPLAY 1
39634 _ACEOF
39635
39636 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
39637 fi
39638
39639 if test "$wxUSE_GAUGE" = "yes"; then
39640 cat >>confdefs.h <<\_ACEOF
39641 #define wxUSE_GAUGE 1
39642 _ACEOF
39643
39644 USES_CONTROLS=1
39645 fi
39646
39647 if test "$wxUSE_GRID" = "yes"; then
39648 cat >>confdefs.h <<\_ACEOF
39649 #define wxUSE_GRID 1
39650 _ACEOF
39651
39652 USES_CONTROLS=1
39653 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
39654 fi
39655
39656 if test "$wxUSE_IMAGLIST" = "yes"; then
39657 cat >>confdefs.h <<\_ACEOF
39658 #define wxUSE_IMAGLIST 1
39659 _ACEOF
39660
39661 fi
39662
39663 if test "$wxUSE_LISTBOOK" = "yes"; then
39664 cat >>confdefs.h <<\_ACEOF
39665 #define wxUSE_LISTBOOK 1
39666 _ACEOF
39667
39668 USES_CONTROLS=1
39669 fi
39670
39671 if test "$wxUSE_LISTBOX" = "yes"; then
39672 cat >>confdefs.h <<\_ACEOF
39673 #define wxUSE_LISTBOX 1
39674 _ACEOF
39675
39676 USES_CONTROLS=1
39677 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
39678 fi
39679
39680 if test "$wxUSE_LISTCTRL" = "yes"; then
39681 if test "$wxUSE_IMAGLIST" = "yes"; then
39682 cat >>confdefs.h <<\_ACEOF
39683 #define wxUSE_LISTCTRL 1
39684 _ACEOF
39685
39686 USES_CONTROLS=1
39687 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
39688 else
39689 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
39690 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
39691 fi
39692 fi
39693
39694 if test "$wxUSE_NOTEBOOK" = "yes"; then
39695 cat >>confdefs.h <<\_ACEOF
39696 #define wxUSE_NOTEBOOK 1
39697 _ACEOF
39698
39699 USES_CONTROLS=1
39700 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
39701 fi
39702
39703
39704 if test "$wxUSE_RADIOBOX" = "yes"; then
39705 cat >>confdefs.h <<\_ACEOF
39706 #define wxUSE_RADIOBOX 1
39707 _ACEOF
39708
39709 USES_CONTROLS=1
39710 fi
39711
39712 if test "$wxUSE_RADIOBTN" = "yes"; then
39713 cat >>confdefs.h <<\_ACEOF
39714 #define wxUSE_RADIOBTN 1
39715 _ACEOF
39716
39717 USES_CONTROLS=1
39718 fi
39719
39720 if test "$wxUSE_SASH" = "yes"; then
39721 cat >>confdefs.h <<\_ACEOF
39722 #define wxUSE_SASH 1
39723 _ACEOF
39724
39725 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
39726 fi
39727
39728 if test "$wxUSE_SCROLLBAR" = "yes"; then
39729 cat >>confdefs.h <<\_ACEOF
39730 #define wxUSE_SCROLLBAR 1
39731 _ACEOF
39732
39733 USES_CONTROLS=1
39734 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
39735 fi
39736
39737 if test "$wxUSE_SLIDER" = "yes"; then
39738 cat >>confdefs.h <<\_ACEOF
39739 #define wxUSE_SLIDER 1
39740 _ACEOF
39741
39742 USES_CONTROLS=1
39743 fi
39744
39745 if test "$wxUSE_SPINBTN" = "yes"; then
39746 cat >>confdefs.h <<\_ACEOF
39747 #define wxUSE_SPINBTN 1
39748 _ACEOF
39749
39750 USES_CONTROLS=1
39751 fi
39752
39753 if test "$wxUSE_SPINCTRL" = "yes"; then
39754 cat >>confdefs.h <<\_ACEOF
39755 #define wxUSE_SPINCTRL 1
39756 _ACEOF
39757
39758 USES_CONTROLS=1
39759 fi
39760
39761 if test "$wxUSE_SPLITTER" = "yes"; then
39762 cat >>confdefs.h <<\_ACEOF
39763 #define wxUSE_SPLITTER 1
39764 _ACEOF
39765
39766 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
39767 fi
39768
39769 if test "$wxUSE_STATBMP" = "yes"; then
39770 cat >>confdefs.h <<\_ACEOF
39771 #define wxUSE_STATBMP 1
39772 _ACEOF
39773
39774 USES_CONTROLS=1
39775 fi
39776
39777 if test "$wxUSE_STATBOX" = "yes"; then
39778 cat >>confdefs.h <<\_ACEOF
39779 #define wxUSE_STATBOX 1
39780 _ACEOF
39781
39782 USES_CONTROLS=1
39783 fi
39784
39785 if test "$wxUSE_STATTEXT" = "yes"; then
39786 cat >>confdefs.h <<\_ACEOF
39787 #define wxUSE_STATTEXT 1
39788 _ACEOF
39789
39790 USES_CONTROLS=1
39791 fi
39792
39793 if test "$wxUSE_STATLINE" = "yes"; then
39794 cat >>confdefs.h <<\_ACEOF
39795 #define wxUSE_STATLINE 1
39796 _ACEOF
39797
39798 USES_CONTROLS=1
39799 fi
39800
39801 if test "$wxUSE_STATUSBAR" = "yes"; then
39802 cat >>confdefs.h <<\_ACEOF
39803 #define wxUSE_NATIVE_STATUSBAR 1
39804 _ACEOF
39805
39806 cat >>confdefs.h <<\_ACEOF
39807 #define wxUSE_STATUSBAR 1
39808 _ACEOF
39809
39810 USES_CONTROLS=1
39811
39812 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
39813 fi
39814
39815 if test "$wxUSE_TABDIALOG" = "yes"; then
39816 cat >>confdefs.h <<\_ACEOF
39817 #define wxUSE_TAB_DIALOG 1
39818 _ACEOF
39819
39820 fi
39821
39822 if test "$wxUSE_TEXTCTRL" = "yes"; then
39823 cat >>confdefs.h <<\_ACEOF
39824 #define wxUSE_TEXTCTRL 1
39825 _ACEOF
39826
39827 USES_CONTROLS=1
39828 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
39829 fi
39830
39831 if test "$wxUSE_TOGGLEBTN" = "yes"; then
39832 if test "$wxUSE_COCOA" = 1 ; then
39833 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
39834 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
39835 wxUSE_TOGGLEBTN=no
39836 fi
39837 if test "$wxUSE_UNIVERSAL" = "yes"; then
39838 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
39839 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
39840 wxUSE_TOGGLEBTN=no
39841 fi
39842
39843 if test "$wxUSE_TOGGLEBTN" = "yes"; then
39844 cat >>confdefs.h <<\_ACEOF
39845 #define wxUSE_TOGGLEBTN 1
39846 _ACEOF
39847
39848 USES_CONTROLS=1
39849 fi
39850 fi
39851
39852 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
39853 cat >>confdefs.h <<\_ACEOF
39854 #define wxUSE_TOOLBAR_SIMPLE 1
39855 _ACEOF
39856
39857 wxUSE_TOOLBAR="yes"
39858 USES_CONTROLS=1
39859 fi
39860
39861 if test "$wxUSE_TOOLBAR" = "yes"; then
39862 cat >>confdefs.h <<\_ACEOF
39863 #define wxUSE_TOOLBAR 1
39864 _ACEOF
39865
39866 USES_CONTROLS=1
39867
39868 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
39869 wxUSE_TOOLBAR_NATIVE="yes"
39870 fi
39871
39872 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
39873 cat >>confdefs.h <<\_ACEOF
39874 #define wxUSE_TOOLBAR_NATIVE 1
39875 _ACEOF
39876
39877 USES_CONTROLS=1
39878 fi
39879
39880 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
39881 fi
39882
39883 if test "$wxUSE_TOOLTIPS" = "yes"; then
39884 if test "$wxUSE_MOTIF" = 1; then
39885 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
39886 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
39887 else
39888 if test "$wxUSE_UNIVERSAL" = "yes"; then
39889 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
39890 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
39891 else
39892 cat >>confdefs.h <<\_ACEOF
39893 #define wxUSE_TOOLTIPS 1
39894 _ACEOF
39895
39896 fi
39897 fi
39898 fi
39899
39900 if test "$wxUSE_TREECTRL" = "yes"; then
39901 if test "$wxUSE_IMAGLIST" = "yes"; then
39902 cat >>confdefs.h <<\_ACEOF
39903 #define wxUSE_TREECTRL 1
39904 _ACEOF
39905
39906 USES_CONTROLS=1
39907 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
39908 else
39909 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
39910 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
39911 fi
39912 fi
39913
39914 if test "$wxUSE_POPUPWIN" = "yes"; then
39915 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
39916 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
39917 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
39918 else
39919 if test "$wxUSE_PM" = 1; then
39920 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
39921 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
39922 else
39923 cat >>confdefs.h <<\_ACEOF
39924 #define wxUSE_POPUPWIN 1
39925 _ACEOF
39926
39927 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
39928
39929 USES_CONTROLS=1
39930 fi
39931 fi
39932 fi
39933
39934 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
39935 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
39936 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
39937 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
39938 else
39939 cat >>confdefs.h <<\_ACEOF
39940 #define wxUSE_DIALUP_MANAGER 1
39941 _ACEOF
39942
39943 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
39944 fi
39945 fi
39946
39947 if test "$wxUSE_TIPWINDOW" = "yes"; then
39948 if test "$wxUSE_PM" = 1; then
39949 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
39950 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
39951 else
39952 cat >>confdefs.h <<\_ACEOF
39953 #define wxUSE_TIPWINDOW 1
39954 _ACEOF
39955
39956 fi
39957 fi
39958
39959 if test "$USES_CONTROLS" = 1; then
39960 cat >>confdefs.h <<\_ACEOF
39961 #define wxUSE_CONTROLS 1
39962 _ACEOF
39963
39964 fi
39965
39966
39967 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
39968 cat >>confdefs.h <<\_ACEOF
39969 #define wxUSE_ACCESSIBILITY 1
39970 _ACEOF
39971
39972 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
39973 fi
39974
39975 if test "$wxUSE_DRAGIMAGE" = "yes"; then
39976 cat >>confdefs.h <<\_ACEOF
39977 #define wxUSE_DRAGIMAGE 1
39978 _ACEOF
39979
39980 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
39981 fi
39982
39983 if test "$wxUSE_EXCEPTIONS" = "yes"; then
39984 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
39985 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
39986 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
39987 else
39988 cat >>confdefs.h <<\_ACEOF
39989 #define wxUSE_EXCEPTIONS 1
39990 _ACEOF
39991
39992 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
39993 fi
39994 fi
39995
39996 USE_HTML=0
39997 if test "$wxUSE_HTML" = "yes"; then
39998 cat >>confdefs.h <<\_ACEOF
39999 #define wxUSE_HTML 1
40000 _ACEOF
40001
40002 USE_HTML=1
40003 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
40004 if test "$wxUSE_MAC" = 1; then
40005 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
40006 fi
40007 fi
40008 if test "$wxUSE_WEBKIT" = "yes"; then
40009 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
40010 old_CPPFLAGS="$CPPFLAGS"
40011 CPPFLAGS="$CPPFLAGS -x objective-c++"
40012 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
40013 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
40014 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
40015 echo $ECHO_N "(cached) $ECHO_C" >&6
40016 else
40017 cat >conftest.$ac_ext <<_ACEOF
40018 /* confdefs.h. */
40019 _ACEOF
40020 cat confdefs.h >>conftest.$ac_ext
40021 cat >>conftest.$ac_ext <<_ACEOF
40022 /* end confdefs.h. */
40023 #include <Carbon/Carbon.h>
40024
40025 #include <WebKit/HIWebView.h>
40026 _ACEOF
40027 rm -f conftest.$ac_objext
40028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40029 (eval $ac_compile) 2>conftest.er1
40030 ac_status=$?
40031 grep -v '^ *+' conftest.er1 >conftest.err
40032 rm -f conftest.er1
40033 cat conftest.err >&5
40034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40035 (exit $ac_status); } &&
40036 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40038 (eval $ac_try) 2>&5
40039 ac_status=$?
40040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40041 (exit $ac_status); }; } &&
40042 { ac_try='test -s conftest.$ac_objext'
40043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40044 (eval $ac_try) 2>&5
40045 ac_status=$?
40046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40047 (exit $ac_status); }; }; then
40048 ac_cv_header_WebKit_HIWebView_h=yes
40049 else
40050 echo "$as_me: failed program was:" >&5
40051 sed 's/^/| /' conftest.$ac_ext >&5
40052
40053 ac_cv_header_WebKit_HIWebView_h=no
40054 fi
40055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40056 fi
40057 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
40058 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
40059 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
40060
40061 cat >>confdefs.h <<\_ACEOF
40062 #define wxUSE_WEBKIT 1
40063 _ACEOF
40064
40065 WEBKIT_LINK="-framework WebKit"
40066
40067 else
40068
40069 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
40070 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
40071 wxUSE_WEBKIT=no
40072
40073 fi
40074
40075
40076 CPPFLAGS="$old_CPPFLAGS"
40077 elif test "$wxUSE_COCOA" = 1; then
40078 cat >>confdefs.h <<\_ACEOF
40079 #define wxUSE_WEBKIT 1
40080 _ACEOF
40081
40082 else
40083 wxUSE_WEBKIT=no
40084 fi
40085 fi
40086
40087 USE_XRC=0
40088 if test "$wxUSE_XRC" = "yes"; then
40089 if test "$wxUSE_XML" != "yes"; then
40090 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
40091 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
40092 wxUSE_XRC=no
40093 else
40094 cat >>confdefs.h <<\_ACEOF
40095 #define wxUSE_XRC 1
40096 _ACEOF
40097
40098 USE_XRC=1
40099 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
40100 fi
40101 fi
40102
40103 if test "$wxUSE_MENUS" = "yes"; then
40104 cat >>confdefs.h <<\_ACEOF
40105 #define wxUSE_MENUS 1
40106 _ACEOF
40107
40108 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
40109 fi
40110
40111 if test "$wxUSE_METAFILE" = "yes"; then
40112 cat >>confdefs.h <<\_ACEOF
40113 #define wxUSE_METAFILE 1
40114 _ACEOF
40115
40116 fi
40117
40118 if test "$wxUSE_MIMETYPE" = "yes"; then
40119 cat >>confdefs.h <<\_ACEOF
40120 #define wxUSE_MIMETYPE 1
40121 _ACEOF
40122
40123 fi
40124
40125 if test "$wxUSE_MINIFRAME" = "yes"; then
40126 cat >>confdefs.h <<\_ACEOF
40127 #define wxUSE_MINIFRAME 1
40128 _ACEOF
40129
40130 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
40131 fi
40132
40133 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
40134 cat >>confdefs.h <<\_ACEOF
40135 #define wxUSE_SYSTEM_OPTIONS 1
40136 _ACEOF
40137
40138 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
40139 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
40140 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
40141 fi
40142 fi
40143
40144
40145 if test "$wxUSE_VALIDATORS" = "yes"; then
40146 cat >>confdefs.h <<\_ACEOF
40147 #define wxUSE_VALIDATORS 1
40148 _ACEOF
40149
40150 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
40151 fi
40152
40153 if test "$wxUSE_PALETTE" = "yes" ; then
40154 cat >>confdefs.h <<\_ACEOF
40155 #define wxUSE_PALETTE 1
40156 _ACEOF
40157
40158 fi
40159
40160 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
40161 LIBS=" -lunicows $LIBS"
40162 fi
40163
40164
40165 if test "$wxUSE_IMAGE" = "yes" ; then
40166 cat >>confdefs.h <<\_ACEOF
40167 #define wxUSE_IMAGE 1
40168 _ACEOF
40169
40170
40171 if test "$wxUSE_GIF" = "yes" ; then
40172 cat >>confdefs.h <<\_ACEOF
40173 #define wxUSE_GIF 1
40174 _ACEOF
40175
40176 fi
40177
40178 if test "$wxUSE_PCX" = "yes" ; then
40179 cat >>confdefs.h <<\_ACEOF
40180 #define wxUSE_PCX 1
40181 _ACEOF
40182
40183 fi
40184
40185 if test "$wxUSE_IFF" = "yes" ; then
40186 cat >>confdefs.h <<\_ACEOF
40187 #define wxUSE_IFF 1
40188 _ACEOF
40189
40190 fi
40191
40192 if test "$wxUSE_PNM" = "yes" ; then
40193 cat >>confdefs.h <<\_ACEOF
40194 #define wxUSE_PNM 1
40195 _ACEOF
40196
40197 fi
40198
40199 if test "$wxUSE_XPM" = "yes" ; then
40200 cat >>confdefs.h <<\_ACEOF
40201 #define wxUSE_XPM 1
40202 _ACEOF
40203
40204 fi
40205
40206 if test "$wxUSE_ICO_CUR" = "yes" ; then
40207 cat >>confdefs.h <<\_ACEOF
40208 #define wxUSE_ICO_CUR 1
40209 _ACEOF
40210
40211 fi
40212 fi
40213
40214
40215 if test "$wxUSE_CHOICEDLG" = "yes"; then
40216 cat >>confdefs.h <<\_ACEOF
40217 #define wxUSE_CHOICEDLG 1
40218 _ACEOF
40219
40220 fi
40221
40222 if test "$wxUSE_COLOURDLG" = "yes"; then
40223 cat >>confdefs.h <<\_ACEOF
40224 #define wxUSE_COLOURDLG 1
40225 _ACEOF
40226
40227 fi
40228
40229 if test "$wxUSE_FILEDLG" = "yes"; then
40230 cat >>confdefs.h <<\_ACEOF
40231 #define wxUSE_FILEDLG 1
40232 _ACEOF
40233
40234 fi
40235
40236 if test "$wxUSE_FINDREPLDLG" = "yes"; then
40237 cat >>confdefs.h <<\_ACEOF
40238 #define wxUSE_FINDREPLDLG 1
40239 _ACEOF
40240
40241 fi
40242
40243 if test "$wxUSE_FONTDLG" = "yes"; then
40244 cat >>confdefs.h <<\_ACEOF
40245 #define wxUSE_FONTDLG 1
40246 _ACEOF
40247
40248 fi
40249
40250 if test "$wxUSE_DIRDLG" = "yes"; then
40251 if test "$wxUSE_TREECTRL" != "yes"; then
40252 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
40253 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
40254 else
40255 cat >>confdefs.h <<\_ACEOF
40256 #define wxUSE_DIRDLG 1
40257 _ACEOF
40258
40259 fi
40260 fi
40261
40262 if test "$wxUSE_MSGDLG" = "yes"; then
40263 cat >>confdefs.h <<\_ACEOF
40264 #define wxUSE_MSGDLG 1
40265 _ACEOF
40266
40267 fi
40268
40269 if test "$wxUSE_NUMBERDLG" = "yes"; then
40270 cat >>confdefs.h <<\_ACEOF
40271 #define wxUSE_NUMBERDLG 1
40272 _ACEOF
40273
40274 fi
40275
40276 if test "$wxUSE_PROGRESSDLG" = "yes"; then
40277 if test "$wxUSE_CONSTRAINTS" != "yes"; then
40278 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
40279 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
40280 else
40281 cat >>confdefs.h <<\_ACEOF
40282 #define wxUSE_PROGRESSDLG 1
40283 _ACEOF
40284
40285 fi
40286 fi
40287
40288 if test "$wxUSE_SPLASH" = "yes"; then
40289 cat >>confdefs.h <<\_ACEOF
40290 #define wxUSE_SPLASH 1
40291 _ACEOF
40292
40293 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
40294 fi
40295
40296 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
40297 if test "$wxUSE_CONSTRAINTS" != "yes"; then
40298 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
40299 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
40300 else
40301 cat >>confdefs.h <<\_ACEOF
40302 #define wxUSE_STARTUP_TIPS 1
40303 _ACEOF
40304
40305 fi
40306 fi
40307
40308 if test "$wxUSE_TEXTDLG" = "yes"; then
40309 cat >>confdefs.h <<\_ACEOF
40310 #define wxUSE_TEXTDLG 1
40311 _ACEOF
40312
40313 fi
40314
40315 if test "$wxUSE_WIZARDDLG" = "yes"; then
40316 cat >>confdefs.h <<\_ACEOF
40317 #define wxUSE_WIZARDDLG 1
40318 _ACEOF
40319
40320 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
40321 fi
40322
40323
40324 if test "$wxUSE_MEDIACTRL" = "yes"; then
40325 if test "$wxUSE_GTK" = 1; then
40326 wxUSE_GSTREAMER="yes"
40327
40328
40329 succeeded=no
40330
40331 if test -z "$PKG_CONFIG"; then
40332 # Extract the first word of "pkg-config", so it can be a program name with args.
40333 set dummy pkg-config; ac_word=$2
40334 echo "$as_me:$LINENO: checking for $ac_word" >&5
40335 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40336 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
40337 echo $ECHO_N "(cached) $ECHO_C" >&6
40338 else
40339 case $PKG_CONFIG in
40340 [\\/]* | ?:[\\/]*)
40341 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
40342 ;;
40343 *)
40344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40345 for as_dir in $PATH
40346 do
40347 IFS=$as_save_IFS
40348 test -z "$as_dir" && as_dir=.
40349 for ac_exec_ext in '' $ac_executable_extensions; do
40350 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40351 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
40352 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40353 break 2
40354 fi
40355 done
40356 done
40357
40358 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
40359 ;;
40360 esac
40361 fi
40362 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
40363
40364 if test -n "$PKG_CONFIG"; then
40365 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
40366 echo "${ECHO_T}$PKG_CONFIG" >&6
40367 else
40368 echo "$as_me:$LINENO: result: no" >&5
40369 echo "${ECHO_T}no" >&6
40370 fi
40371
40372 fi
40373
40374 if test "$PKG_CONFIG" = "no" ; then
40375 echo "*** The pkg-config script could not be found. Make sure it is"
40376 echo "*** in your path, or set the PKG_CONFIG environment variable"
40377 echo "*** to the full path to pkg-config."
40378 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
40379 else
40380 PKG_CONFIG_MIN_VERSION=0.9.0
40381 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
40382 echo "$as_me:$LINENO: checking for gstreamer-0.8" >&5
40383 echo $ECHO_N "checking for gstreamer-0.8... $ECHO_C" >&6
40384
40385 if $PKG_CONFIG --exists "gstreamer-0.8" ; then
40386 echo "$as_me:$LINENO: result: yes" >&5
40387 echo "${ECHO_T}yes" >&6
40388 succeeded=yes
40389
40390 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
40391 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
40392 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-0.8"`
40393 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
40394 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
40395
40396 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
40397 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
40398 GSTREAMER_LIBS=`$PKG_CONFIG --libs "gstreamer-0.8"`
40399 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
40400 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
40401 else
40402 GSTREAMER_CFLAGS=""
40403 GSTREAMER_LIBS=""
40404 ## If we have a custom action on failure, don't print errors, but
40405 ## do set a variable so people can do so.
40406 GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.8"`
40407
40408 fi
40409
40410
40411
40412 else
40413 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
40414 echo "*** See http://www.freedesktop.org/software/pkgconfig"
40415 fi
40416 fi
40417
40418 if test $succeeded = yes; then
40419
40420 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
40421 LIBS="$LIBS $GSTREAMER_LIBS -lgstplay-0.8"
40422
40423 else
40424
40425 { echo "$as_me:$LINENO: WARNING: GStreamer installation not found" >&5
40426 echo "$as_me: WARNING: GStreamer installation not found" >&2;}
40427 wxUSE_GSTREAMER="no"
40428
40429 fi
40430
40431
40432
40433
40434
40435 if test "x$GST_INSPECT" == "x"; then
40436 # Extract the first word of "gst-inspect", so it can be a program name with args.
40437 set dummy gst-inspect; ac_word=$2
40438 echo "$as_me:$LINENO: checking for $ac_word" >&5
40439 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40440 if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
40441 echo $ECHO_N "(cached) $ECHO_C" >&6
40442 else
40443 if test -n "$GST_INSPECT"; then
40444 ac_cv_prog_GST_INSPECT="$GST_INSPECT" # Let the user override the test.
40445 else
40446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40447 for as_dir in $PATH
40448 do
40449 IFS=$as_save_IFS
40450 test -z "$as_dir" && as_dir=.
40451 for ac_exec_ext in '' $ac_executable_extensions; do
40452 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40453 ac_cv_prog_GST_INSPECT="gst-inspect"
40454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40455 break 2
40456 fi
40457 done
40458 done
40459
40460 fi
40461 fi
40462 GST_INSPECT=$ac_cv_prog_GST_INSPECT
40463 if test -n "$GST_INSPECT"; then
40464 echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
40465 echo "${ECHO_T}$GST_INSPECT" >&6
40466 else
40467 echo "$as_me:$LINENO: result: no" >&5
40468 echo "${ECHO_T}no" >&6
40469 fi
40470
40471 fi
40472
40473 if test "x$GST_INSPECT" != "x"; then
40474 echo "$as_me:$LINENO: checking GStreamer element xvimagesink" >&5
40475 echo $ECHO_N "checking GStreamer element xvimagesink... $ECHO_C" >&6
40476 if $GST_INSPECT xvimagesink > /dev/null 2> /dev/null ; then
40477 echo "$as_me:$LINENO: result: found." >&5
40478 echo "${ECHO_T}found." >&6
40479
40480 else
40481 echo "$as_me:$LINENO: result: not found." >&5
40482 echo "${ECHO_T}not found." >&6
40483
40484 wxUSE_GSTREAMER="no"
40485 { echo "$as_me:$LINENO: WARNING: x video sink not found - cannot use GStreamer" >&5
40486 echo "$as_me: WARNING: x video sink not found - cannot use GStreamer" >&2;}
40487
40488 fi
40489 fi
40490
40491
40492 echo "$as_me:$LINENO: checking for gst/xoverlay/xoverlay.h" >&5
40493 echo $ECHO_N "checking for gst/xoverlay/xoverlay.h... $ECHO_C" >&6
40494 if test "${ac_cv_header_gst_xoverlay_xoverlay_h+set}" = set; then
40495 echo $ECHO_N "(cached) $ECHO_C" >&6
40496 else
40497 cat >conftest.$ac_ext <<_ACEOF
40498 /* confdefs.h. */
40499 _ACEOF
40500 cat confdefs.h >>conftest.$ac_ext
40501 cat >>conftest.$ac_ext <<_ACEOF
40502 /* end confdefs.h. */
40503 #include <gst/gst.h>
40504
40505 #include <gst/xoverlay/xoverlay.h>
40506 _ACEOF
40507 rm -f conftest.$ac_objext
40508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40509 (eval $ac_compile) 2>conftest.er1
40510 ac_status=$?
40511 grep -v '^ *+' conftest.er1 >conftest.err
40512 rm -f conftest.er1
40513 cat conftest.err >&5
40514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40515 (exit $ac_status); } &&
40516 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40518 (eval $ac_try) 2>&5
40519 ac_status=$?
40520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40521 (exit $ac_status); }; } &&
40522 { ac_try='test -s conftest.$ac_objext'
40523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40524 (eval $ac_try) 2>&5
40525 ac_status=$?
40526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40527 (exit $ac_status); }; }; then
40528 ac_cv_header_gst_xoverlay_xoverlay_h=yes
40529 else
40530 echo "$as_me: failed program was:" >&5
40531 sed 's/^/| /' conftest.$ac_ext >&5
40532
40533 ac_cv_header_gst_xoverlay_xoverlay_h=no
40534 fi
40535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40536 fi
40537 echo "$as_me:$LINENO: result: $ac_cv_header_gst_xoverlay_xoverlay_h" >&5
40538 echo "${ECHO_T}$ac_cv_header_gst_xoverlay_xoverlay_h" >&6
40539 if test $ac_cv_header_gst_xoverlay_xoverlay_h = yes; then
40540 :
40541 else
40542
40543 wxUSE_GSTREAMER="no"
40544 { echo "$as_me:$LINENO: WARNING: xoverlay header not found, cannot use GStreamer" >&5
40545 echo "$as_me: WARNING: xoverlay header not found, cannot use GStreamer" >&2;}
40546
40547 fi
40548
40549
40550
40551 echo "$as_me:$LINENO: checking for gstplay 0.8" >&5
40552 echo $ECHO_N "checking for gstplay 0.8... $ECHO_C" >&6
40553
40554 ac_find_libraries=
40555 for ac_dir in $SEARCH_LIB /usr/lib;
40556 do
40557 for ac_extension in a so sl dylib; do
40558 if test -f "$ac_dir/libgstplay-0.8.$ac_extension"; then
40559 ac_find_libraries=$ac_dir
40560 break 2
40561 fi
40562 done
40563 done
40564
40565
40566 if test "$ac_find_libraries" = "" ; then
40567 echo "$as_me:$LINENO: result: no" >&5
40568 echo "${ECHO_T}no" >&6
40569 wxUSE_GSTREAMER="no"
40570 else
40571 echo "$as_me:$LINENO: result: yes" >&5
40572 echo "${ECHO_T}yes" >&6
40573 fi
40574
40575 if test "$wxUSE_GSTREAMER" = "yes"; then
40576 cat >>confdefs.h <<\_ACEOF
40577 #define wxUSE_GSTREAMER 1
40578 _ACEOF
40579
40580 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
40581 echo "${ECHO_T}GStreamer detection successful" >&6
40582 fi
40583 fi
40584 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
40585 cat >>confdefs.h <<\_ACEOF
40586 #define wxUSE_MEDIACTRL 1
40587 _ACEOF
40588
40589 fi
40590
40591
40592 if test "$cross_compiling" = "yes"; then
40593 OSINFO="\"$host\""
40594 else
40595 OSINFO=`uname -s -r -m`
40596 OSINFO="\"$OSINFO\""
40597 fi
40598
40599 cat >>confdefs.h <<_ACEOF
40600 #define WXWIN_OS_DESCRIPTION $OSINFO
40601 _ACEOF
40602
40603
40604
40605 if test "x$prefix" != "xNONE"; then
40606 wxPREFIX=$prefix
40607 else
40608 wxPREFIX=$ac_default_prefix
40609 fi
40610
40611 cat >>confdefs.h <<_ACEOF
40612 #define wxINSTALL_PREFIX "$wxPREFIX"
40613 _ACEOF
40614
40615
40616
40617
40618 CORE_BASE_LIBS="net base"
40619 CORE_GUI_LIBS="adv core"
40620
40621 if test "$wxUSE_XML" = "yes" ; then
40622 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
40623 fi
40624 if test "$wxUSE_ODBC" != "no" ; then
40625 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
40626 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
40627 fi
40628 if test "$wxUSE_HTML" = "yes" ; then
40629 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
40630 fi
40631 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
40632 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
40633 fi
40634 if test "$wxUSE_XRC" = "yes" ; then
40635 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
40636 fi
40637
40638 if test "$wxUSE_GUI" != "yes"; then
40639 CORE_GUI_LIBS=""
40640 fi
40641
40642
40643
40644
40645
40646
40647
40648
40649 if test "$wxUSE_MAC" = 1 ; then
40650 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
40651 if test "$USE_DARWIN" = 1; then
40652 LDFLAGS="$LDFLAGS -framework QuickTime"
40653 else
40654 LDFLAGS="$LDFLAGS -lQuickTimeLib"
40655 fi
40656 fi
40657 if test "$USE_DARWIN" = 1; then
40658 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
40659 else
40660 LDFLAGS="$LDFLAGS -lCarbonLib"
40661 fi
40662 fi
40663 if test "$wxUSE_COCOA" = 1 ; then
40664 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
40665 if test "$wxUSE_MEDIACTRL" = "yes"; then
40666 LDFLAGS="$LDFLAGS -framework QuickTime"
40667 fi
40668 fi
40669 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
40670 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
40671 fi
40672
40673
40674 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
40675
40676 have_cos=0
40677 have_floor=0
40678
40679 for ac_func in cos
40680 do
40681 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40682 echo "$as_me:$LINENO: checking for $ac_func" >&5
40683 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40684 if eval "test \"\${$as_ac_var+set}\" = set"; then
40685 echo $ECHO_N "(cached) $ECHO_C" >&6
40686 else
40687 cat >conftest.$ac_ext <<_ACEOF
40688 /* confdefs.h. */
40689 _ACEOF
40690 cat confdefs.h >>conftest.$ac_ext
40691 cat >>conftest.$ac_ext <<_ACEOF
40692 /* end confdefs.h. */
40693 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40694 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40695 #define $ac_func innocuous_$ac_func
40696
40697 /* System header to define __stub macros and hopefully few prototypes,
40698 which can conflict with char $ac_func (); below.
40699 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40700 <limits.h> exists even on freestanding compilers. */
40701
40702 #ifdef __STDC__
40703 # include <limits.h>
40704 #else
40705 # include <assert.h>
40706 #endif
40707
40708 #undef $ac_func
40709
40710 /* Override any gcc2 internal prototype to avoid an error. */
40711 #ifdef __cplusplus
40712 extern "C"
40713 {
40714 #endif
40715 /* We use char because int might match the return type of a gcc2
40716 builtin and then its argument prototype would still apply. */
40717 char $ac_func ();
40718 /* The GNU C library defines this for functions which it implements
40719 to always fail with ENOSYS. Some functions are actually named
40720 something starting with __ and the normal name is an alias. */
40721 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40722 choke me
40723 #else
40724 char (*f) () = $ac_func;
40725 #endif
40726 #ifdef __cplusplus
40727 }
40728 #endif
40729
40730 int
40731 main ()
40732 {
40733 return f != $ac_func;
40734 ;
40735 return 0;
40736 }
40737 _ACEOF
40738 rm -f conftest.$ac_objext conftest$ac_exeext
40739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40740 (eval $ac_link) 2>conftest.er1
40741 ac_status=$?
40742 grep -v '^ *+' conftest.er1 >conftest.err
40743 rm -f conftest.er1
40744 cat conftest.err >&5
40745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40746 (exit $ac_status); } &&
40747 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40749 (eval $ac_try) 2>&5
40750 ac_status=$?
40751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40752 (exit $ac_status); }; } &&
40753 { ac_try='test -s conftest$ac_exeext'
40754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40755 (eval $ac_try) 2>&5
40756 ac_status=$?
40757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40758 (exit $ac_status); }; }; then
40759 eval "$as_ac_var=yes"
40760 else
40761 echo "$as_me: failed program was:" >&5
40762 sed 's/^/| /' conftest.$ac_ext >&5
40763
40764 eval "$as_ac_var=no"
40765 fi
40766 rm -f conftest.err conftest.$ac_objext \
40767 conftest$ac_exeext conftest.$ac_ext
40768 fi
40769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40771 if test `eval echo '${'$as_ac_var'}'` = yes; then
40772 cat >>confdefs.h <<_ACEOF
40773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40774 _ACEOF
40775 have_cos=1
40776 fi
40777 done
40778
40779
40780 for ac_func in floor
40781 do
40782 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40783 echo "$as_me:$LINENO: checking for $ac_func" >&5
40784 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40785 if eval "test \"\${$as_ac_var+set}\" = set"; then
40786 echo $ECHO_N "(cached) $ECHO_C" >&6
40787 else
40788 cat >conftest.$ac_ext <<_ACEOF
40789 /* confdefs.h. */
40790 _ACEOF
40791 cat confdefs.h >>conftest.$ac_ext
40792 cat >>conftest.$ac_ext <<_ACEOF
40793 /* end confdefs.h. */
40794 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40796 #define $ac_func innocuous_$ac_func
40797
40798 /* System header to define __stub macros and hopefully few prototypes,
40799 which can conflict with char $ac_func (); below.
40800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40801 <limits.h> exists even on freestanding compilers. */
40802
40803 #ifdef __STDC__
40804 # include <limits.h>
40805 #else
40806 # include <assert.h>
40807 #endif
40808
40809 #undef $ac_func
40810
40811 /* Override any gcc2 internal prototype to avoid an error. */
40812 #ifdef __cplusplus
40813 extern "C"
40814 {
40815 #endif
40816 /* We use char because int might match the return type of a gcc2
40817 builtin and then its argument prototype would still apply. */
40818 char $ac_func ();
40819 /* The GNU C library defines this for functions which it implements
40820 to always fail with ENOSYS. Some functions are actually named
40821 something starting with __ and the normal name is an alias. */
40822 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40823 choke me
40824 #else
40825 char (*f) () = $ac_func;
40826 #endif
40827 #ifdef __cplusplus
40828 }
40829 #endif
40830
40831 int
40832 main ()
40833 {
40834 return f != $ac_func;
40835 ;
40836 return 0;
40837 }
40838 _ACEOF
40839 rm -f conftest.$ac_objext conftest$ac_exeext
40840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40841 (eval $ac_link) 2>conftest.er1
40842 ac_status=$?
40843 grep -v '^ *+' conftest.er1 >conftest.err
40844 rm -f conftest.er1
40845 cat conftest.err >&5
40846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40847 (exit $ac_status); } &&
40848 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40850 (eval $ac_try) 2>&5
40851 ac_status=$?
40852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40853 (exit $ac_status); }; } &&
40854 { ac_try='test -s conftest$ac_exeext'
40855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40856 (eval $ac_try) 2>&5
40857 ac_status=$?
40858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40859 (exit $ac_status); }; }; then
40860 eval "$as_ac_var=yes"
40861 else
40862 echo "$as_me: failed program was:" >&5
40863 sed 's/^/| /' conftest.$ac_ext >&5
40864
40865 eval "$as_ac_var=no"
40866 fi
40867 rm -f conftest.err conftest.$ac_objext \
40868 conftest$ac_exeext conftest.$ac_ext
40869 fi
40870 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40871 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40872 if test `eval echo '${'$as_ac_var'}'` = yes; then
40873 cat >>confdefs.h <<_ACEOF
40874 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40875 _ACEOF
40876 have_floor=1
40877 fi
40878 done
40879
40880 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
40881 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
40882 if test "$have_cos" = 1 -a "$have_floor" = 1; then
40883 echo "$as_me:$LINENO: result: yes" >&5
40884 echo "${ECHO_T}yes" >&6
40885 else
40886 echo "$as_me:$LINENO: result: no" >&5
40887 echo "${ECHO_T}no" >&6
40888 LIBS="$LIBS -lm"
40889 # use different functions to avoid configure caching
40890 have_sin=0
40891 have_ceil=0
40892
40893 for ac_func in sin
40894 do
40895 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40896 echo "$as_me:$LINENO: checking for $ac_func" >&5
40897 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40898 if eval "test \"\${$as_ac_var+set}\" = set"; then
40899 echo $ECHO_N "(cached) $ECHO_C" >&6
40900 else
40901 cat >conftest.$ac_ext <<_ACEOF
40902 /* confdefs.h. */
40903 _ACEOF
40904 cat confdefs.h >>conftest.$ac_ext
40905 cat >>conftest.$ac_ext <<_ACEOF
40906 /* end confdefs.h. */
40907 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40908 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40909 #define $ac_func innocuous_$ac_func
40910
40911 /* System header to define __stub macros and hopefully few prototypes,
40912 which can conflict with char $ac_func (); below.
40913 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40914 <limits.h> exists even on freestanding compilers. */
40915
40916 #ifdef __STDC__
40917 # include <limits.h>
40918 #else
40919 # include <assert.h>
40920 #endif
40921
40922 #undef $ac_func
40923
40924 /* Override any gcc2 internal prototype to avoid an error. */
40925 #ifdef __cplusplus
40926 extern "C"
40927 {
40928 #endif
40929 /* We use char because int might match the return type of a gcc2
40930 builtin and then its argument prototype would still apply. */
40931 char $ac_func ();
40932 /* The GNU C library defines this for functions which it implements
40933 to always fail with ENOSYS. Some functions are actually named
40934 something starting with __ and the normal name is an alias. */
40935 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40936 choke me
40937 #else
40938 char (*f) () = $ac_func;
40939 #endif
40940 #ifdef __cplusplus
40941 }
40942 #endif
40943
40944 int
40945 main ()
40946 {
40947 return f != $ac_func;
40948 ;
40949 return 0;
40950 }
40951 _ACEOF
40952 rm -f conftest.$ac_objext conftest$ac_exeext
40953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40954 (eval $ac_link) 2>conftest.er1
40955 ac_status=$?
40956 grep -v '^ *+' conftest.er1 >conftest.err
40957 rm -f conftest.er1
40958 cat conftest.err >&5
40959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40960 (exit $ac_status); } &&
40961 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40963 (eval $ac_try) 2>&5
40964 ac_status=$?
40965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40966 (exit $ac_status); }; } &&
40967 { ac_try='test -s conftest$ac_exeext'
40968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40969 (eval $ac_try) 2>&5
40970 ac_status=$?
40971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40972 (exit $ac_status); }; }; then
40973 eval "$as_ac_var=yes"
40974 else
40975 echo "$as_me: failed program was:" >&5
40976 sed 's/^/| /' conftest.$ac_ext >&5
40977
40978 eval "$as_ac_var=no"
40979 fi
40980 rm -f conftest.err conftest.$ac_objext \
40981 conftest$ac_exeext conftest.$ac_ext
40982 fi
40983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40984 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40985 if test `eval echo '${'$as_ac_var'}'` = yes; then
40986 cat >>confdefs.h <<_ACEOF
40987 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40988 _ACEOF
40989 have_sin=1
40990 fi
40991 done
40992
40993
40994 for ac_func in ceil
40995 do
40996 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40997 echo "$as_me:$LINENO: checking for $ac_func" >&5
40998 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40999 if eval "test \"\${$as_ac_var+set}\" = set"; then
41000 echo $ECHO_N "(cached) $ECHO_C" >&6
41001 else
41002 cat >conftest.$ac_ext <<_ACEOF
41003 /* confdefs.h. */
41004 _ACEOF
41005 cat confdefs.h >>conftest.$ac_ext
41006 cat >>conftest.$ac_ext <<_ACEOF
41007 /* end confdefs.h. */
41008 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41009 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41010 #define $ac_func innocuous_$ac_func
41011
41012 /* System header to define __stub macros and hopefully few prototypes,
41013 which can conflict with char $ac_func (); below.
41014 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41015 <limits.h> exists even on freestanding compilers. */
41016
41017 #ifdef __STDC__
41018 # include <limits.h>
41019 #else
41020 # include <assert.h>
41021 #endif
41022
41023 #undef $ac_func
41024
41025 /* Override any gcc2 internal prototype to avoid an error. */
41026 #ifdef __cplusplus
41027 extern "C"
41028 {
41029 #endif
41030 /* We use char because int might match the return type of a gcc2
41031 builtin and then its argument prototype would still apply. */
41032 char $ac_func ();
41033 /* The GNU C library defines this for functions which it implements
41034 to always fail with ENOSYS. Some functions are actually named
41035 something starting with __ and the normal name is an alias. */
41036 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41037 choke me
41038 #else
41039 char (*f) () = $ac_func;
41040 #endif
41041 #ifdef __cplusplus
41042 }
41043 #endif
41044
41045 int
41046 main ()
41047 {
41048 return f != $ac_func;
41049 ;
41050 return 0;
41051 }
41052 _ACEOF
41053 rm -f conftest.$ac_objext conftest$ac_exeext
41054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41055 (eval $ac_link) 2>conftest.er1
41056 ac_status=$?
41057 grep -v '^ *+' conftest.er1 >conftest.err
41058 rm -f conftest.er1
41059 cat conftest.err >&5
41060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41061 (exit $ac_status); } &&
41062 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41064 (eval $ac_try) 2>&5
41065 ac_status=$?
41066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41067 (exit $ac_status); }; } &&
41068 { ac_try='test -s conftest$ac_exeext'
41069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41070 (eval $ac_try) 2>&5
41071 ac_status=$?
41072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41073 (exit $ac_status); }; }; then
41074 eval "$as_ac_var=yes"
41075 else
41076 echo "$as_me: failed program was:" >&5
41077 sed 's/^/| /' conftest.$ac_ext >&5
41078
41079 eval "$as_ac_var=no"
41080 fi
41081 rm -f conftest.err conftest.$ac_objext \
41082 conftest$ac_exeext conftest.$ac_ext
41083 fi
41084 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41085 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41086 if test `eval echo '${'$as_ac_var'}'` = yes; then
41087 cat >>confdefs.h <<_ACEOF
41088 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41089 _ACEOF
41090 have_ceil=1
41091 fi
41092 done
41093
41094 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
41095 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
41096 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
41097 echo "$as_me:$LINENO: result: yes" >&5
41098 echo "${ECHO_T}yes" >&6
41099 else
41100 echo "$as_me:$LINENO: result: no" >&5
41101 echo "${ECHO_T}no" >&6
41102 # not sure we should warn the user, crash, etc.
41103 fi
41104 fi
41105
41106 if test "$wxUSE_GUI" = "yes"; then
41107
41108
41109 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
41110 dynamic erase event exec font image minimal mobile \
41111 mobile/wxedit mobile/styles propsize render \
41112 richedit rotate shaped vscroll widgets"
41113
41114 if test "$wxUSE_MONOLITHIC" != "yes"; then
41115 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
41116 fi
41117 if test "$TOOLKIT" = "MSW"; then
41118 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
41119 if test "$wxUSE_UNIVERSAL" != "yes"; then
41120 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
41121 fi
41122 fi
41123 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
41124 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
41125 fi
41126 else
41127 SAMPLES_SUBDIRS="console"
41128 fi
41129
41130
41131 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
41132 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
41133
41134 if test "$GXX" = yes ; then
41135 CWARNINGS="-Wall"
41136 CXXWARNINGS="$CWARNINGS -Wno-ctor-dtor-privacy"
41137 fi
41138
41139 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
41140
41141 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
41142 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CWARNINGS`
41143 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
41144
41145 if test "x$MWCC" = "xyes"; then
41146
41147 CC="$CC -cwd source -I-"
41148 CXX="$CXX -cwd source -I-"
41149 fi
41150
41151
41152 LIBS=`echo $LIBS`
41153 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
41154 EXTRALIBS_XML="$EXPAT_LINK"
41155 EXTRALIBS_HTML="$MSPACK_LINK"
41156 EXTRALIBS_ODBC="$ODBC_LINK"
41157 if test "$wxUSE_GUI" = "yes"; then
41158 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_GNOMEPRINT`
41159 fi
41160 if test "$wxUSE_OPENGL" = "yes"; then
41161 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
41162 fi
41163
41164 LDFLAGS="$LDFLAGS $PROFILE"
41165
41166 if test "$wxUSE_GTK" = 1; then
41167 WXCONFIG_INCLUDE=
41168 else
41169 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
41170 fi
41171
41172 WXCONFIG_EXTRALIBS="$LIBS"
41173
41174 if test "$wxUSE_REGEX" = "builtin" ; then
41175 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
41176 fi
41177 if test "$wxUSE_EXPAT" = "builtin" ; then
41178 wxconfig_3rdparty="expat $wxconfig_3rdparty"
41179 fi
41180 if test "$wxUSE_ODBC" = "builtin" ; then
41181 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
41182 fi
41183 if test "$wxUSE_LIBTIFF" = "builtin" ; then
41184 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
41185 fi
41186 if test "$wxUSE_LIBJPEG" = "builtin" ; then
41187 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
41188 fi
41189 if test "$wxUSE_LIBPNG" = "builtin" ; then
41190 wxconfig_3rdparty="png $wxconfig_3rdparty"
41191 fi
41192 if test "$wxUSE_ZLIB" = "builtin" ; then
41193 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
41194 fi
41195
41196 for i in $wxconfig_3rdparty ; do
41197 WXCONFIG_EXTRALIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_EXTRALIBS"
41198 done
41199
41200
41201 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
41202 WXUNIV=1
41203 else
41204 WXUNIV=0
41205 fi
41206
41207
41208
41209
41210
41211
41212
41213
41214
41215 if test $wxUSE_MONOLITHIC = "yes" ; then
41216 MONOLITHIC=1
41217 else
41218 MONOLITHIC=0
41219 fi
41220
41221 if test $wxUSE_PLUGINS = "yes" ; then
41222 USE_PLUGINS=1
41223 else
41224 USE_PLUGINS=0
41225 fi
41226
41227 if test $wxUSE_ODBC != "no" ; then
41228 USE_ODBC=1
41229 else
41230 USE_ODBC=0
41231 fi
41232
41233 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
41234 USE_QA=1
41235 else
41236 USE_QA=0
41237 fi
41238
41239 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
41240 OFFICIAL_BUILD=1
41241 else
41242 OFFICIAL_BUILD=0
41243 fi
41244
41245
41246
41247
41248
41249
41250
41251
41252
41253
41254
41255
41256
41257
41258
41259
41260
41261
41262
41263
41264
41265
41266
41267 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
41268
41269
41270
41271
41272
41273
41274
41275
41276 case "$TOOLKIT" in
41277 GTK)
41278 TOOLKIT_USER="GTK+"
41279 if test "$WXGTK20" = 1; then
41280 TOOLKIT_USER="$TOOLKIT_USER 2"
41281 fi
41282 ;;
41283
41284 *)
41285 TOOLKIT_USER=$TOOLKIT_LOWERCASE
41286 ;;
41287 esac
41288
41289 if test "$wxUSE_WINE" = "yes"; then
41290 BAKEFILE_FORCE_PLATFORM=win32
41291 fi
41292
41293
41294
41295
41296 if test "x$BAKEFILE_HOST" = "x"; then
41297 BAKEFILE_HOST="${host}"
41298 fi
41299
41300 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
41301
41302 if test -n "$ac_tool_prefix"; then
41303 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
41304 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
41305 echo "$as_me:$LINENO: checking for $ac_word" >&5
41306 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41307 if test "${ac_cv_prog_RANLIB+set}" = set; then
41308 echo $ECHO_N "(cached) $ECHO_C" >&6
41309 else
41310 if test -n "$RANLIB"; then
41311 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
41312 else
41313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41314 for as_dir in $PATH
41315 do
41316 IFS=$as_save_IFS
41317 test -z "$as_dir" && as_dir=.
41318 for ac_exec_ext in '' $ac_executable_extensions; do
41319 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41320 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
41321 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41322 break 2
41323 fi
41324 done
41325 done
41326
41327 fi
41328 fi
41329 RANLIB=$ac_cv_prog_RANLIB
41330 if test -n "$RANLIB"; then
41331 echo "$as_me:$LINENO: result: $RANLIB" >&5
41332 echo "${ECHO_T}$RANLIB" >&6
41333 else
41334 echo "$as_me:$LINENO: result: no" >&5
41335 echo "${ECHO_T}no" >&6
41336 fi
41337
41338 fi
41339 if test -z "$ac_cv_prog_RANLIB"; then
41340 ac_ct_RANLIB=$RANLIB
41341 # Extract the first word of "ranlib", so it can be a program name with args.
41342 set dummy ranlib; ac_word=$2
41343 echo "$as_me:$LINENO: checking for $ac_word" >&5
41344 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41345 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
41346 echo $ECHO_N "(cached) $ECHO_C" >&6
41347 else
41348 if test -n "$ac_ct_RANLIB"; then
41349 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
41350 else
41351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41352 for as_dir in $PATH
41353 do
41354 IFS=$as_save_IFS
41355 test -z "$as_dir" && as_dir=.
41356 for ac_exec_ext in '' $ac_executable_extensions; do
41357 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41358 ac_cv_prog_ac_ct_RANLIB="ranlib"
41359 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41360 break 2
41361 fi
41362 done
41363 done
41364
41365 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
41366 fi
41367 fi
41368 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
41369 if test -n "$ac_ct_RANLIB"; then
41370 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
41371 echo "${ECHO_T}$ac_ct_RANLIB" >&6
41372 else
41373 echo "$as_me:$LINENO: result: no" >&5
41374 echo "${ECHO_T}no" >&6
41375 fi
41376
41377 RANLIB=$ac_ct_RANLIB
41378 else
41379 RANLIB="$ac_cv_prog_RANLIB"
41380 fi
41381
41382 # Find a good install program. We prefer a C program (faster),
41383 # so one script is as good as another. But avoid the broken or
41384 # incompatible versions:
41385 # SysV /etc/install, /usr/sbin/install
41386 # SunOS /usr/etc/install
41387 # IRIX /sbin/install
41388 # AIX /bin/install
41389 # AmigaOS /C/install, which installs bootblocks on floppy discs
41390 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
41391 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
41392 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
41393 # OS/2's system install, which has a completely different semantic
41394 # ./install, which can be erroneously created by make from ./install.sh.
41395 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
41396 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
41397 if test -z "$INSTALL"; then
41398 if test "${ac_cv_path_install+set}" = set; then
41399 echo $ECHO_N "(cached) $ECHO_C" >&6
41400 else
41401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41402 for as_dir in $PATH
41403 do
41404 IFS=$as_save_IFS
41405 test -z "$as_dir" && as_dir=.
41406 # Account for people who put trailing slashes in PATH elements.
41407 case $as_dir/ in
41408 ./ | .// | /cC/* | \
41409 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
41410 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
41411 /usr/ucb/* ) ;;
41412 *)
41413 # OSF1 and SCO ODT 3.0 have their own names for install.
41414 # Don't use installbsd from OSF since it installs stuff as root
41415 # by default.
41416 for ac_prog in ginstall scoinst install; do
41417 for ac_exec_ext in '' $ac_executable_extensions; do
41418 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
41419 if test $ac_prog = install &&
41420 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
41421 # AIX install. It has an incompatible calling convention.
41422 :
41423 elif test $ac_prog = install &&
41424 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
41425 # program-specific install script used by HP pwplus--don't use.
41426 :
41427 else
41428 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
41429 break 3
41430 fi
41431 fi
41432 done
41433 done
41434 ;;
41435 esac
41436 done
41437
41438
41439 fi
41440 if test "${ac_cv_path_install+set}" = set; then
41441 INSTALL=$ac_cv_path_install
41442 else
41443 # As a last resort, use the slow shell script. We don't cache a
41444 # path for INSTALL within a source directory, because that will
41445 # break other packages using the cache if that directory is
41446 # removed, or if the path is relative.
41447 INSTALL=$ac_install_sh
41448 fi
41449 fi
41450 echo "$as_me:$LINENO: result: $INSTALL" >&5
41451 echo "${ECHO_T}$INSTALL" >&6
41452
41453 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
41454 # It thinks the first close brace ends the variable substitution.
41455 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
41456
41457 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
41458
41459 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
41460
41461 echo "$as_me:$LINENO: checking whether ln -s works" >&5
41462 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
41463 LN_S=$as_ln_s
41464 if test "$LN_S" = "ln -s"; then
41465 echo "$as_me:$LINENO: result: yes" >&5
41466 echo "${ECHO_T}yes" >&6
41467 else
41468 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
41469 echo "${ECHO_T}no, using $LN_S" >&6
41470 fi
41471
41472
41473 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41474 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
41475 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
41476 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
41477 echo $ECHO_N "(cached) $ECHO_C" >&6
41478 else
41479 cat >conftest.make <<\_ACEOF
41480 all:
41481 @echo 'ac_maketemp="$(MAKE)"'
41482 _ACEOF
41483 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
41484 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
41485 if test -n "$ac_maketemp"; then
41486 eval ac_cv_prog_make_${ac_make}_set=yes
41487 else
41488 eval ac_cv_prog_make_${ac_make}_set=no
41489 fi
41490 rm -f conftest.make
41491 fi
41492 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
41493 echo "$as_me:$LINENO: result: yes" >&5
41494 echo "${ECHO_T}yes" >&6
41495 SET_MAKE=
41496 else
41497 echo "$as_me:$LINENO: result: no" >&5
41498 echo "${ECHO_T}no" >&6
41499 SET_MAKE="MAKE=${MAKE-make}"
41500 fi
41501
41502
41503
41504 if test -n "$ac_tool_prefix"; then
41505 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
41506 set dummy ${ac_tool_prefix}ar; ac_word=$2
41507 echo "$as_me:$LINENO: checking for $ac_word" >&5
41508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41509 if test "${ac_cv_prog_AR+set}" = set; then
41510 echo $ECHO_N "(cached) $ECHO_C" >&6
41511 else
41512 if test -n "$AR"; then
41513 ac_cv_prog_AR="$AR" # Let the user override the test.
41514 else
41515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41516 for as_dir in $PATH
41517 do
41518 IFS=$as_save_IFS
41519 test -z "$as_dir" && as_dir=.
41520 for ac_exec_ext in '' $ac_executable_extensions; do
41521 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41522 ac_cv_prog_AR="${ac_tool_prefix}ar"
41523 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41524 break 2
41525 fi
41526 done
41527 done
41528
41529 fi
41530 fi
41531 AR=$ac_cv_prog_AR
41532 if test -n "$AR"; then
41533 echo "$as_me:$LINENO: result: $AR" >&5
41534 echo "${ECHO_T}$AR" >&6
41535 else
41536 echo "$as_me:$LINENO: result: no" >&5
41537 echo "${ECHO_T}no" >&6
41538 fi
41539
41540 fi
41541 if test -z "$ac_cv_prog_AR"; then
41542 ac_ct_AR=$AR
41543 # Extract the first word of "ar", so it can be a program name with args.
41544 set dummy ar; ac_word=$2
41545 echo "$as_me:$LINENO: checking for $ac_word" >&5
41546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41547 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
41548 echo $ECHO_N "(cached) $ECHO_C" >&6
41549 else
41550 if test -n "$ac_ct_AR"; then
41551 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
41552 else
41553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41554 for as_dir in $PATH
41555 do
41556 IFS=$as_save_IFS
41557 test -z "$as_dir" && as_dir=.
41558 for ac_exec_ext in '' $ac_executable_extensions; do
41559 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41560 ac_cv_prog_ac_ct_AR="ar"
41561 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41562 break 2
41563 fi
41564 done
41565 done
41566
41567 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
41568 fi
41569 fi
41570 ac_ct_AR=$ac_cv_prog_ac_ct_AR
41571 if test -n "$ac_ct_AR"; then
41572 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
41573 echo "${ECHO_T}$ac_ct_AR" >&6
41574 else
41575 echo "$as_me:$LINENO: result: no" >&5
41576 echo "${ECHO_T}no" >&6
41577 fi
41578
41579 AR=$ac_ct_AR
41580 else
41581 AR="$ac_cv_prog_AR"
41582 fi
41583
41584 if test -n "$ac_tool_prefix"; then
41585 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
41586 set dummy ${ac_tool_prefix}strip; ac_word=$2
41587 echo "$as_me:$LINENO: checking for $ac_word" >&5
41588 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41589 if test "${ac_cv_prog_STRIP+set}" = set; then
41590 echo $ECHO_N "(cached) $ECHO_C" >&6
41591 else
41592 if test -n "$STRIP"; then
41593 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
41594 else
41595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41596 for as_dir in $PATH
41597 do
41598 IFS=$as_save_IFS
41599 test -z "$as_dir" && as_dir=.
41600 for ac_exec_ext in '' $ac_executable_extensions; do
41601 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41602 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
41603 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41604 break 2
41605 fi
41606 done
41607 done
41608
41609 fi
41610 fi
41611 STRIP=$ac_cv_prog_STRIP
41612 if test -n "$STRIP"; then
41613 echo "$as_me:$LINENO: result: $STRIP" >&5
41614 echo "${ECHO_T}$STRIP" >&6
41615 else
41616 echo "$as_me:$LINENO: result: no" >&5
41617 echo "${ECHO_T}no" >&6
41618 fi
41619
41620 fi
41621 if test -z "$ac_cv_prog_STRIP"; then
41622 ac_ct_STRIP=$STRIP
41623 # Extract the first word of "strip", so it can be a program name with args.
41624 set dummy strip; ac_word=$2
41625 echo "$as_me:$LINENO: checking for $ac_word" >&5
41626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41627 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
41628 echo $ECHO_N "(cached) $ECHO_C" >&6
41629 else
41630 if test -n "$ac_ct_STRIP"; then
41631 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
41632 else
41633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41634 for as_dir in $PATH
41635 do
41636 IFS=$as_save_IFS
41637 test -z "$as_dir" && as_dir=.
41638 for ac_exec_ext in '' $ac_executable_extensions; do
41639 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41640 ac_cv_prog_ac_ct_STRIP="strip"
41641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41642 break 2
41643 fi
41644 done
41645 done
41646
41647 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
41648 fi
41649 fi
41650 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
41651 if test -n "$ac_ct_STRIP"; then
41652 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
41653 echo "${ECHO_T}$ac_ct_STRIP" >&6
41654 else
41655 echo "$as_me:$LINENO: result: no" >&5
41656 echo "${ECHO_T}no" >&6
41657 fi
41658
41659 STRIP=$ac_ct_STRIP
41660 else
41661 STRIP="$ac_cv_prog_STRIP"
41662 fi
41663
41664 if test -n "$ac_tool_prefix"; then
41665 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
41666 set dummy ${ac_tool_prefix}nm; ac_word=$2
41667 echo "$as_me:$LINENO: checking for $ac_word" >&5
41668 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41669 if test "${ac_cv_prog_NM+set}" = set; then
41670 echo $ECHO_N "(cached) $ECHO_C" >&6
41671 else
41672 if test -n "$NM"; then
41673 ac_cv_prog_NM="$NM" # Let the user override the test.
41674 else
41675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41676 for as_dir in $PATH
41677 do
41678 IFS=$as_save_IFS
41679 test -z "$as_dir" && as_dir=.
41680 for ac_exec_ext in '' $ac_executable_extensions; do
41681 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41682 ac_cv_prog_NM="${ac_tool_prefix}nm"
41683 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41684 break 2
41685 fi
41686 done
41687 done
41688
41689 fi
41690 fi
41691 NM=$ac_cv_prog_NM
41692 if test -n "$NM"; then
41693 echo "$as_me:$LINENO: result: $NM" >&5
41694 echo "${ECHO_T}$NM" >&6
41695 else
41696 echo "$as_me:$LINENO: result: no" >&5
41697 echo "${ECHO_T}no" >&6
41698 fi
41699
41700 fi
41701 if test -z "$ac_cv_prog_NM"; then
41702 ac_ct_NM=$NM
41703 # Extract the first word of "nm", so it can be a program name with args.
41704 set dummy nm; ac_word=$2
41705 echo "$as_me:$LINENO: checking for $ac_word" >&5
41706 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41707 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
41708 echo $ECHO_N "(cached) $ECHO_C" >&6
41709 else
41710 if test -n "$ac_ct_NM"; then
41711 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
41712 else
41713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41714 for as_dir in $PATH
41715 do
41716 IFS=$as_save_IFS
41717 test -z "$as_dir" && as_dir=.
41718 for ac_exec_ext in '' $ac_executable_extensions; do
41719 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41720 ac_cv_prog_ac_ct_NM="nm"
41721 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41722 break 2
41723 fi
41724 done
41725 done
41726
41727 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
41728 fi
41729 fi
41730 ac_ct_NM=$ac_cv_prog_ac_ct_NM
41731 if test -n "$ac_ct_NM"; then
41732 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
41733 echo "${ECHO_T}$ac_ct_NM" >&6
41734 else
41735 echo "$as_me:$LINENO: result: no" >&5
41736 echo "${ECHO_T}no" >&6
41737 fi
41738
41739 NM=$ac_ct_NM
41740 else
41741 NM="$ac_cv_prog_NM"
41742 fi
41743
41744
41745 case ${BAKEFILE_HOST} in
41746 *-hp-hpux* )
41747 INSTALL_DIR="mkdir -p"
41748 ;;
41749 *) INSTALL_DIR="$INSTALL -d"
41750 ;;
41751 esac
41752
41753
41754 LDFLAGS_GUI=
41755 case ${BAKEFILE_HOST} in
41756 *-*-cygwin* | *-*-mingw32* )
41757 LDFLAGS_GUI="-mwindows"
41758 esac
41759
41760
41761 fi
41762
41763 echo "$as_me:$LINENO: checking if make is GNU make" >&5
41764 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
41765 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
41766 echo $ECHO_N "(cached) $ECHO_C" >&6
41767 else
41768
41769 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
41770 egrep -s GNU > /dev/null); then
41771 bakefile_cv_prog_makeisgnu="yes"
41772 else
41773 bakefile_cv_prog_makeisgnu="no"
41774 fi
41775
41776 fi
41777 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
41778 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
41779
41780 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
41781 IF_GNU_MAKE=""
41782 else
41783 IF_GNU_MAKE="#"
41784 fi
41785
41786
41787
41788 PLATFORM_UNIX=0
41789 PLATFORM_WIN32=0
41790 PLATFORM_MSDOS=0
41791 PLATFORM_MAC=0
41792 PLATFORM_MACOS=0
41793 PLATFORM_MACOSX=0
41794 PLATFORM_OS2=0
41795 PLATFORM_BEOS=0
41796
41797 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
41798 case "${BAKEFILE_HOST}" in
41799 *-*-cygwin* | *-*-mingw32* )
41800 PLATFORM_WIN32=1
41801 ;;
41802 *-pc-msdosdjgpp )
41803 PLATFORM_MSDOS=1
41804 ;;
41805 *-pc-os2_emx | *-pc-os2-emx )
41806 PLATFORM_OS2=1
41807 ;;
41808 powerpc-*-darwin* )
41809 PLATFORM_MAC=1
41810 PLATFORM_MACOSX=1
41811 ;;
41812 *-*-beos* )
41813 PLATFORM_BEOS=1
41814 ;;
41815 powerpc-apple-macos* )
41816 PLATFORM_MAC=1
41817 PLATFORM_MACOS=1
41818 ;;
41819 * )
41820 PLATFORM_UNIX=1
41821 ;;
41822 esac
41823 else
41824 case "$BAKEFILE_FORCE_PLATFORM" in
41825 win32 )
41826 PLATFORM_WIN32=1
41827 ;;
41828 msdos )
41829 PLATFORM_MSDOS=1
41830 ;;
41831 os2 )
41832 PLATFORM_OS2=1
41833 ;;
41834 darwin )
41835 PLATFORM_MAC=1
41836 PLATFORM_MACOSX=1
41837 ;;
41838 unix )
41839 PLATFORM_UNIX=1
41840 ;;
41841 beos )
41842 PLATFORM_BEOS=1
41843 ;;
41844 * )
41845 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
41846 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
41847 { (exit 1); exit 1; }; }
41848 ;;
41849 esac
41850 fi
41851
41852
41853
41854
41855
41856
41857
41858
41859
41860
41861
41862 # Check whether --enable-omf or --disable-omf was given.
41863 if test "${enable_omf+set}" = set; then
41864 enableval="$enable_omf"
41865 bk_os2_use_omf="$enableval"
41866 fi;
41867
41868 case "${BAKEFILE_HOST}" in
41869 *-*-darwin* )
41870 CFLAGS="$CFLAGS -fno-common"
41871 CXXFLAGS="$CXXFLAGS -fno-common"
41872 ;;
41873
41874 *-pc-os2_emx | *-pc-os2-emx )
41875 if test "x$bk_os2_use_omf" = "xyes" ; then
41876 AR=emxomfar
41877 RANLIB=:
41878 LDFLAGS="-Zomf $LDFLAGS"
41879 CFLAGS="-Zomf $CFLAGS"
41880 CXXFLAGS="-Zomf $CXXFLAGS"
41881 OS2_LIBEXT="lib"
41882 else
41883 OS2_LIBEXT="a"
41884 fi
41885 ;;
41886
41887 i*86-*-beos* )
41888 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
41889 ;;
41890 esac
41891
41892
41893 SO_SUFFIX="so"
41894 SO_SUFFIX_MODULE="so"
41895 EXEEXT=""
41896 LIBPREFIX="lib"
41897 LIBEXT=".a"
41898 DLLPREFIX="lib"
41899 DLLPREFIX_MODULE=""
41900 DLLIMP_SUFFIX=""
41901
41902 case "${BAKEFILE_HOST}" in
41903 *-hp-hpux* )
41904 SO_SUFFIX="sl"
41905 SO_SUFFIX_MODULE="sl"
41906 ;;
41907 *-*-aix* )
41908 SO_SUFFIX="a"
41909 SO_SUFFIX_MODULE="a"
41910 ;;
41911 *-*-cygwin* | *-*-mingw32* )
41912 SO_SUFFIX="dll"
41913 SO_SUFFIX_MODULE="dll"
41914 DLLIMP_SUFFIX="dll.a"
41915 EXEEXT=".exe"
41916 DLLPREFIX=""
41917 ;;
41918 *-pc-msdosdjgpp )
41919 EXEEXT=".exe"
41920 DLLPREFIX=""
41921 ;;
41922 *-pc-os2_emx | *-pc-os2-emx )
41923 SO_SUFFIX="dll"
41924 SO_SUFFIX_MODULE="dll"
41925 DLLIMP_SUFFIX=$OS2_LIBEXT
41926 EXEEXT=".exe"
41927 DLLPREFIX=""
41928 LIBPREFIX=""
41929 LIBEXT=".$OS2_LIBEXT"
41930 ;;
41931 powerpc-*-darwin* )
41932 SO_SUFFIX="dylib"
41933 SO_SUFFIX_MODULE="bundle"
41934 ;;
41935 esac
41936
41937 if test "x$DLLIMP_SUFFIX" = "x" ; then
41938 DLLIMP_SUFFIX="$SO_SUFFIX"
41939 fi
41940
41941
41942
41943
41944
41945
41946
41947
41948
41949
41950
41951 PIC_FLAG=""
41952 if test "x$GCC" = "xyes"; then
41953 PIC_FLAG="-fPIC"
41954 fi
41955
41956 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
41957 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
41958
41959 case "${BAKEFILE_HOST}" in
41960 *-hp-hpux* )
41961 if test "x$GCC" != "xyes"; then
41962 LDFLAGS="$LDFLAGS -L/usr/lib"
41963
41964 SHARED_LD_CC="${CC} -b -o"
41965 SHARED_LD_CXX="${CXX} -b -o"
41966 PIC_FLAG="+Z"
41967 fi
41968 ;;
41969
41970 *-*-linux* )
41971 if test "x$GCC" != "xyes"; then
41972 echo "$as_me:$LINENO: checking for Intel compiler" >&5
41973 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
41974 if test "${bakefile_cv_prog_icc+set}" = set; then
41975 echo $ECHO_N "(cached) $ECHO_C" >&6
41976 else
41977
41978 cat >conftest.$ac_ext <<_ACEOF
41979 /* confdefs.h. */
41980 _ACEOF
41981 cat confdefs.h >>conftest.$ac_ext
41982 cat >>conftest.$ac_ext <<_ACEOF
41983 /* end confdefs.h. */
41984
41985 int
41986 main ()
41987 {
41988
41989 #ifndef __INTEL_COMPILER
41990 #error Not icc
41991 #endif
41992
41993 ;
41994 return 0;
41995 }
41996 _ACEOF
41997 rm -f conftest.$ac_objext
41998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41999 (eval $ac_compile) 2>conftest.er1
42000 ac_status=$?
42001 grep -v '^ *+' conftest.er1 >conftest.err
42002 rm -f conftest.er1
42003 cat conftest.err >&5
42004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42005 (exit $ac_status); } &&
42006 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42008 (eval $ac_try) 2>&5
42009 ac_status=$?
42010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42011 (exit $ac_status); }; } &&
42012 { ac_try='test -s conftest.$ac_objext'
42013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42014 (eval $ac_try) 2>&5
42015 ac_status=$?
42016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42017 (exit $ac_status); }; }; then
42018 bakefile_cv_prog_icc=yes
42019 else
42020 echo "$as_me: failed program was:" >&5
42021 sed 's/^/| /' conftest.$ac_ext >&5
42022
42023 bakefile_cv_prog_icc=no
42024
42025 fi
42026 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42027
42028 fi
42029 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
42030 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
42031 if test "$bakefile_cv_prog_icc" = "yes"; then
42032 PIC_FLAG="-KPIC"
42033 fi
42034 fi
42035 ;;
42036
42037 *-*-solaris2* )
42038 if test "x$GCC" != xyes ; then
42039 SHARED_LD_CC="${CC} -G -o"
42040 SHARED_LD_CXX="${CXX} -G -o"
42041 PIC_FLAG="-KPIC"
42042 fi
42043 ;;
42044
42045 *-*-darwin* )
42046
42047 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
42048 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
42049 if test "${wx_cv_gcc31+set}" = set; then
42050 echo $ECHO_N "(cached) $ECHO_C" >&6
42051 else
42052
42053 cat >conftest.$ac_ext <<_ACEOF
42054 /* confdefs.h. */
42055 _ACEOF
42056 cat confdefs.h >>conftest.$ac_ext
42057 cat >>conftest.$ac_ext <<_ACEOF
42058 /* end confdefs.h. */
42059
42060 int
42061 main ()
42062 {
42063
42064 #if (__GNUC__ < 3) || \
42065 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
42066 #error old gcc
42067 #endif
42068
42069 ;
42070 return 0;
42071 }
42072 _ACEOF
42073 rm -f conftest.$ac_objext
42074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42075 (eval $ac_compile) 2>conftest.er1
42076 ac_status=$?
42077 grep -v '^ *+' conftest.er1 >conftest.err
42078 rm -f conftest.er1
42079 cat conftest.err >&5
42080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42081 (exit $ac_status); } &&
42082 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42084 (eval $ac_try) 2>&5
42085 ac_status=$?
42086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42087 (exit $ac_status); }; } &&
42088 { ac_try='test -s conftest.$ac_objext'
42089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42090 (eval $ac_try) 2>&5
42091 ac_status=$?
42092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42093 (exit $ac_status); }; }; then
42094
42095 wx_cv_gcc31=yes
42096
42097 else
42098 echo "$as_me: failed program was:" >&5
42099 sed 's/^/| /' conftest.$ac_ext >&5
42100
42101
42102 wx_cv_gcc31=no
42103
42104
42105 fi
42106 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42107
42108 fi
42109 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
42110 echo "${ECHO_T}$wx_cv_gcc31" >&6
42111 if test "$wx_cv_gcc31" = "no"; then
42112
42113 D='$'
42114 cat <<EOF >shared-ld-sh
42115 #!/bin/sh
42116 #-----------------------------------------------------------------------------
42117 #-- Name: distrib/mac/shared-ld-sh
42118 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
42119 #-- Author: Gilles Depeyrot
42120 #-- Copyright: (c) 2002 Gilles Depeyrot
42121 #-- Licence: any use permitted
42122 #-----------------------------------------------------------------------------
42123
42124 verbose=0
42125 args=""
42126 objects=""
42127 linking_flag="-dynamiclib"
42128
42129 while test ${D}# -gt 0; do
42130 case ${D}1 in
42131
42132 -v)
42133 verbose=1
42134 ;;
42135
42136 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
42137 # collect these options and values
42138 args="${D}{args} ${D}1 ${D}2"
42139 shift
42140 ;;
42141
42142 -l*|-L*|-Wl,*|-flat_namespace|-headerpad_max_install_names)
42143 # collect these options
42144 args="${D}{args} ${D}1"
42145 ;;
42146
42147 -dynamiclib|-bundle)
42148 linking_flag="${D}1"
42149 ;;
42150
42151 -*)
42152 echo "shared-ld: unhandled option '${D}1'"
42153 exit 1
42154 ;;
42155
42156 *.o | *.a | *.dylib)
42157 # collect object files
42158 objects="${D}{objects} ${D}1"
42159 ;;
42160
42161 *)
42162 echo "shared-ld: unhandled argument '${D}1'"
42163 exit 1
42164 ;;
42165
42166 esac
42167 shift
42168 done
42169
42170 #
42171 # Link one module containing all the others
42172 #
42173 if test ${D}{verbose} = 1; then
42174 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
42175 fi
42176 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
42177 status=${D}?
42178 if test ${D}{status} != 0; then
42179 exit ${D}{status}
42180 fi
42181
42182 #
42183 # Link the shared library from the single module created
42184 #
42185 if test ${D}{verbose} = 1; then
42186 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
42187 fi
42188 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
42189 status=${D}?
42190 if test ${D}{status} != 0; then
42191 exit ${D}{status}
42192 fi
42193
42194 #
42195 # Remove intermediate module
42196 #
42197 rm -f master.${D}${D}.o
42198
42199 exit 0
42200 EOF
42201
42202 chmod +x shared-ld-sh
42203
42204 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
42205 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
42206 SHARED_LD_CXX="$SHARED_LD_CC"
42207 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
42208 else
42209 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
42210 SHARED_LD_MODULE_CC="\${CC} -bundle -single_module -headerpad_max_install_names -o"
42211 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
42212 SHARED_LD_MODULE_CXX="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
42213 fi
42214
42215 PIC_FLAG="-dynamic -fPIC"
42216 ;;
42217
42218 *-*-aix* )
42219 if test "x$GCC" != "xyes"; then
42220 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
42221 set dummy makeC++SharedLib; ac_word=$2
42222 echo "$as_me:$LINENO: checking for $ac_word" >&5
42223 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42224 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
42225 echo $ECHO_N "(cached) $ECHO_C" >&6
42226 else
42227 if test -n "$AIX_CXX_LD"; then
42228 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
42229 else
42230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42231 for as_dir in $PATH
42232 do
42233 IFS=$as_save_IFS
42234 test -z "$as_dir" && as_dir=.
42235 for ac_exec_ext in '' $ac_executable_extensions; do
42236 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42237 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
42238 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42239 break 2
42240 fi
42241 done
42242 done
42243
42244 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
42245 fi
42246 fi
42247 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
42248 if test -n "$AIX_CXX_LD"; then
42249 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
42250 echo "${ECHO_T}$AIX_CXX_LD" >&6
42251 else
42252 echo "$as_me:$LINENO: result: no" >&5
42253 echo "${ECHO_T}no" >&6
42254 fi
42255
42256 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
42257 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
42258 fi
42259 ;;
42260
42261 *-*-beos* )
42262 SHARED_LD_CC="${LD} -nostart -o"
42263 SHARED_LD_CXX="${LD} -nostart -o"
42264 ;;
42265
42266 *-*-irix* )
42267 if test "x$GCC" != "xyes"; then
42268 PIC_FLAG="-KPIC"
42269 fi
42270 ;;
42271
42272 *-*-cygwin* | *-*-mingw32* )
42273 PIC_FLAG=""
42274 SHARED_LD_CC="\$(CC) -shared -o"
42275 SHARED_LD_CXX="\$(CXX) -shared -o"
42276 ;;
42277
42278 *-pc-os2_emx | *-pc-os2-emx )
42279 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
42280 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
42281 PIC_FLAG=""
42282
42283 D='$'
42284 cat <<EOF >dllar.sh
42285 #!/bin/sh
42286 #
42287 # dllar - a tool to build both a .dll and an .a file
42288 # from a set of object (.o) files for EMX/OS2.
42289 #
42290 # Written by Andrew Zabolotny, bit@freya.etu.ru
42291 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
42292 #
42293 # This script will accept a set of files on the command line.
42294 # All the public symbols from the .o files will be exported into
42295 # a .DEF file, then linker will be run (through gcc) against them to
42296 # build a shared library consisting of all given .o files. All libraries
42297 # (.a) will be first decompressed into component .o files then act as
42298 # described above. You can optionally give a description (-d "description")
42299 # which will be put into .DLL. To see the list of accepted options (as well
42300 # as command-line format) simply run this program without options. The .DLL
42301 # is built to be imported by name (there is no guarantee that new versions
42302 # of the library you build will have same ordinals for same symbols).
42303 #
42304 # dllar is free software; you can redistribute it and/or modify
42305 # it under the terms of the GNU General Public License as published by
42306 # the Free Software Foundation; either version 2, or (at your option)
42307 # any later version.
42308 #
42309 # dllar is distributed in the hope that it will be useful,
42310 # but WITHOUT ANY WARRANTY; without even the implied warranty of
42311 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
42312 # GNU General Public License for more details.
42313 #
42314 # You should have received a copy of the GNU General Public License
42315 # along with dllar; see the file COPYING. If not, write to the Free
42316 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
42317 # 02111-1307, USA.
42318
42319 # To successfuly run this program you will need:
42320 # - Current drive should have LFN support (HPFS, ext2, network, etc)
42321 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
42322 # - gcc
42323 # (used to build the .dll)
42324 # - emxexp
42325 # (used to create .def file from .o files)
42326 # - emximp
42327 # (used to create .a file from .def file)
42328 # - GNU text utilites (cat, sort, uniq)
42329 # used to process emxexp output
42330 # - GNU file utilities (mv, rm)
42331 # - GNU sed
42332 # - lxlite (optional, see flag below)
42333 # (used for general .dll cleanup)
42334 #
42335
42336 flag_USE_LXLITE=1;
42337
42338 #
42339 # helper functions
42340 # basnam, variant of basename, which does _not_ remove the path, _iff_
42341 # second argument (suffix to remove) is given
42342 basnam(){
42343 case ${D}# in
42344 1)
42345 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
42346 ;;
42347 2)
42348 echo ${D}1 | sed 's/'${D}2'${D}//'
42349 ;;
42350 *)
42351 echo "error in basnam ${D}*"
42352 exit 8
42353 ;;
42354 esac
42355 }
42356
42357 # Cleanup temporary files and output
42358 CleanUp() {
42359 cd ${D}curDir
42360 for i in ${D}inputFiles ; do
42361 case ${D}i in
42362 *!)
42363 rm -rf \`basnam ${D}i !\`
42364 ;;
42365 *)
42366 ;;
42367 esac
42368 done
42369
42370 # Kill result in case of failure as there is just to many stupid make/nmake
42371 # things out there which doesn't do this.
42372 if [ ${D}# -eq 0 ]; then
42373 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
42374 fi
42375 }
42376
42377 # Print usage and exit script with rc=1.
42378 PrintHelp() {
42379 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
42380 echo ' [-name-mangler-script script.sh]'
42381 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
42382 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
42383 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
42384 echo ' [*.o] [*.a]'
42385 echo '*> "output_file" should have no extension.'
42386 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
42387 echo ' The import library name is derived from this and is set to "name".a,'
42388 echo ' unless overridden by -import'
42389 echo '*> "importlib_name" should have no extension.'
42390 echo ' If it has the .o, or .a extension, it is automatically removed.'
42391 echo ' This name is used as the import library name and may be longer and'
42392 echo ' more descriptive than the DLL name which has to follow the old '
42393 echo ' 8.3 convention of FAT.'
42394 echo '*> "script.sh may be given to override the output_file name by a'
42395 echo ' different name. It is mainly useful if the regular make process'
42396 echo ' of some package does not take into account OS/2 restriction of'
42397 echo ' DLL name lengths. It takes the importlib name as input and is'
42398 echo ' supposed to procude a shorter name as output. The script should'
42399 echo ' expect to get importlib_name without extension and should produce'
42400 echo ' a (max.) 8 letter name without extension.'
42401 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
42402 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
42403 echo ' These flags will be put at the start of GCC command line.'
42404 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
42405 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
42406 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
42407 echo ' If the last character of a symbol is "*", all symbols beginning'
42408 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
42409 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
42410 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
42411 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
42412 echo ' C runtime DLLs.'
42413 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
42414 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
42415 echo ' unchanged to GCC at the end of command line.'
42416 echo '*> If you create a DLL from a library and you do not specify -o,'
42417 echo ' the basename for DLL and import library will be set to library name,'
42418 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
42419 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
42420 echo ' library will be renamed into gcc_s.a.'
42421 echo '--------'
42422 echo 'Example:'
42423 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
42424 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
42425 CleanUp
42426 exit 1
42427 }
42428
42429 # Execute a command.
42430 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
42431 # @Uses Whatever CleanUp() uses.
42432 doCommand() {
42433 echo "${D}*"
42434 eval ${D}*
42435 rcCmd=${D}?
42436
42437 if [ ${D}rcCmd -ne 0 ]; then
42438 echo "command failed, exit code="${D}rcCmd
42439 CleanUp
42440 exit ${D}rcCmd
42441 fi
42442 }
42443
42444 # main routine
42445 # setup globals
42446 cmdLine=${D}*
42447 outFile=""
42448 outimpFile=""
42449 inputFiles=""
42450 renameScript=""
42451 description=""
42452 CC=gcc.exe
42453 CFLAGS="-s -Zcrtdll"
42454 EXTRA_CFLAGS=""
42455 EXPORT_BY_ORDINALS=0
42456 exclude_symbols=""
42457 library_flags=""
42458 curDir=\`pwd\`
42459 curDirS=curDir
42460 case ${D}curDirS in
42461 */)
42462 ;;
42463 *)
42464 curDirS=${D}{curDirS}"/"
42465 ;;
42466 esac
42467 # Parse commandline
42468 libsToLink=0
42469 omfLinking=0
42470 while [ ${D}1 ]; do
42471 case ${D}1 in
42472 -ord*)
42473 EXPORT_BY_ORDINALS=1;
42474 ;;
42475 -o*)
42476 shift
42477 outFile=${D}1
42478 ;;
42479 -i*)
42480 shift
42481 outimpFile=${D}1
42482 ;;
42483 -name-mangler-script)
42484 shift
42485 renameScript=${D}1
42486 ;;
42487 -d*)
42488 shift
42489 description=${D}1
42490 ;;
42491 -f*)
42492 shift
42493 CFLAGS=${D}1
42494 ;;
42495 -c*)
42496 shift
42497 CC=${D}1
42498 ;;
42499 -h*)
42500 PrintHelp
42501 ;;
42502 -ex*)
42503 shift
42504 exclude_symbols=${D}{exclude_symbols}${D}1" "
42505 ;;
42506 -libf*)
42507 shift
42508 library_flags=${D}{library_flags}${D}1" "
42509 ;;
42510 -nocrt*)
42511 CFLAGS="-s"
42512 ;;
42513 -nolxl*)
42514 flag_USE_LXLITE=0
42515 ;;
42516 -* | /*)
42517 case ${D}1 in
42518 -L* | -l*)
42519 libsToLink=1
42520 ;;
42521 -Zomf)
42522 omfLinking=1
42523 ;;
42524 *)
42525 ;;
42526 esac
42527 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
42528 ;;
42529 *.dll)
42530 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
42531 if [ ${D}omfLinking -eq 1 ]; then
42532 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
42533 else
42534 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
42535 fi
42536 ;;
42537 *)
42538 found=0;
42539 if [ ${D}libsToLink -ne 0 ]; then
42540 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
42541 else
42542 for file in ${D}1 ; do
42543 if [ -f ${D}file ]; then
42544 inputFiles="${D}{inputFiles} ${D}file"
42545 found=1
42546 fi
42547 done
42548 if [ ${D}found -eq 0 ]; then
42549 echo "ERROR: No file(s) found: "${D}1
42550 exit 8
42551 fi
42552 fi
42553 ;;
42554 esac
42555 shift
42556 done # iterate cmdline words
42557
42558 #
42559 if [ -z "${D}inputFiles" ]; then
42560 echo "dllar: no input files"
42561 PrintHelp
42562 fi
42563
42564 # Now extract all .o files from .a files
42565 newInputFiles=""
42566 for file in ${D}inputFiles ; do
42567 case ${D}file in
42568 *.a | *.lib)
42569 case ${D}file in
42570 *.a)
42571 suffix=".a"
42572 AR="ar"
42573 ;;
42574 *.lib)
42575 suffix=".lib"
42576 AR="emxomfar"
42577 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
42578 ;;
42579 *)
42580 ;;
42581 esac
42582 dirname=\`basnam ${D}file ${D}suffix\`"_%"
42583 mkdir ${D}dirname
42584 if [ ${D}? -ne 0 ]; then
42585 echo "Failed to create subdirectory ./${D}dirname"
42586 CleanUp
42587 exit 8;
42588 fi
42589 # Append '!' to indicate archive
42590 newInputFiles="${D}newInputFiles ${D}{dirname}!"
42591 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
42592 cd ${D}curDir
42593 found=0;
42594 for subfile in ${D}dirname/*.o* ; do
42595 if [ -f ${D}subfile ]; then
42596 found=1
42597 if [ -s ${D}subfile ]; then
42598 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
42599 newInputFiles="${D}newInputFiles ${D}subfile"
42600 fi
42601 fi
42602 done
42603 if [ ${D}found -eq 0 ]; then
42604 echo "WARNING: there are no files in archive \\'${D}file\\'"
42605 fi
42606 ;;
42607 *)
42608 newInputFiles="${D}{newInputFiles} ${D}file"
42609 ;;
42610 esac
42611 done
42612 inputFiles="${D}newInputFiles"
42613
42614 # Output filename(s).
42615 do_backup=0;
42616 if [ -z ${D}outFile ]; then
42617 do_backup=1;
42618 set outFile ${D}inputFiles; outFile=${D}2
42619 fi
42620
42621 # If it is an archive, remove the '!' and the '_%' suffixes
42622 case ${D}outFile in
42623 *_%!)
42624 outFile=\`basnam ${D}outFile _%!\`
42625 ;;
42626 *)
42627 ;;
42628 esac
42629 case ${D}outFile in
42630 *.dll)
42631 outFile=\`basnam ${D}outFile .dll\`
42632 ;;
42633 *.DLL)
42634 outFile=\`basnam ${D}outFile .DLL\`
42635 ;;
42636 *.o)
42637 outFile=\`basnam ${D}outFile .o\`
42638 ;;
42639 *.obj)
42640 outFile=\`basnam ${D}outFile .obj\`
42641 ;;
42642 *.a)
42643 outFile=\`basnam ${D}outFile .a\`
42644 ;;
42645 *.lib)
42646 outFile=\`basnam ${D}outFile .lib\`
42647 ;;
42648 *)
42649 ;;
42650 esac
42651 case ${D}outimpFile in
42652 *.a)
42653 outimpFile=\`basnam ${D}outimpFile .a\`
42654 ;;
42655 *.lib)
42656 outimpFile=\`basnam ${D}outimpFile .lib\`
42657 ;;
42658 *)
42659 ;;
42660 esac
42661 if [ -z ${D}outimpFile ]; then
42662 outimpFile=${D}outFile
42663 fi
42664 defFile="${D}{outFile}.def"
42665 arcFile="${D}{outimpFile}.a"
42666 arcFile2="${D}{outimpFile}.lib"
42667
42668 #create ${D}dllFile as something matching 8.3 restrictions,
42669 if [ -z ${D}renameScript ] ; then
42670 dllFile="${D}outFile"
42671 else
42672 dllFile=\`${D}renameScript ${D}outimpFile\`
42673 fi
42674
42675 if [ ${D}do_backup -ne 0 ] ; then
42676 if [ -f ${D}arcFile ] ; then
42677 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
42678 fi
42679 if [ -f ${D}arcFile2 ] ; then
42680 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
42681 fi
42682 fi
42683
42684 # Extract public symbols from all the object files.
42685 tmpdefFile=${D}{defFile}_%
42686 rm -f ${D}tmpdefFile
42687 for file in ${D}inputFiles ; do
42688 case ${D}file in
42689 *!)
42690 ;;
42691 *)
42692 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
42693 ;;
42694 esac
42695 done
42696
42697 # Create the def file.
42698 rm -f ${D}defFile
42699 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
42700 dllFile="${D}{dllFile}.dll"
42701 if [ ! -z ${D}description ]; then
42702 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
42703 fi
42704 echo "EXPORTS" >> ${D}defFile
42705
42706 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
42707 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
42708
42709 # Checks if the export is ok or not.
42710 for word in ${D}exclude_symbols; do
42711 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
42712 mv ${D}{tmpdefFile}% ${D}tmpdefFile
42713 done
42714
42715
42716 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
42717 sed "=" < ${D}tmpdefFile | \\
42718 sed '
42719 N
42720 : loop
42721 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
42722 t loop
42723 ' > ${D}{tmpdefFile}%
42724 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
42725 else
42726 rm -f ${D}{tmpdefFile}%
42727 fi
42728 cat ${D}tmpdefFile >> ${D}defFile
42729 rm -f ${D}tmpdefFile
42730
42731 # Do linking, create implib, and apply lxlite.
42732 gccCmdl="";
42733 for file in ${D}inputFiles ; do
42734 case ${D}file in
42735 *!)
42736 ;;
42737 *)
42738 gccCmdl="${D}gccCmdl ${D}file"
42739 ;;
42740 esac
42741 done
42742 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
42743 touch "${D}{outFile}.dll"
42744
42745 doCommand "emximp -o ${D}arcFile ${D}defFile"
42746 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
42747 add_flags="";
42748 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
42749 add_flags="-ynd"
42750 fi
42751 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
42752 fi
42753 doCommand "emxomf -s -l ${D}arcFile"
42754
42755 # Successful exit.
42756 CleanUp 1
42757 exit 0
42758 EOF
42759
42760 chmod +x dllar.sh
42761 ;;
42762
42763 powerpc-apple-macos* | \
42764 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
42765 *-*-sunos4* | \
42766 *-*-osf* | \
42767 *-*-dgux5* | \
42768 *-*-sysv5* | \
42769 *-pc-msdosdjgpp )
42770 ;;
42771
42772 *)
42773 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
42774 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
42775 { (exit 1); exit 1; }; }
42776 esac
42777
42778 if test "x$PIC_FLAG" != "x" ; then
42779 PIC_FLAG="$PIC_FLAG -DPIC"
42780 fi
42781
42782 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
42783 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
42784 fi
42785 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
42786 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
42787 fi
42788
42789
42790
42791
42792
42793
42794
42795
42796 USE_SOVERSION=0
42797 USE_SOVERLINUX=0
42798 USE_SOVERSOLARIS=0
42799 USE_SOSYMLINKS=0
42800 USE_MACVERSION=0
42801 SONAME_FLAG=
42802
42803 case "${BAKEFILE_HOST}" in
42804 *-*-linux* | *-*-freebsd* )
42805 SONAME_FLAG="-Wl,-soname,"
42806 USE_SOVERSION=1
42807 USE_SOVERLINUX=1
42808 USE_SOSYMLINKS=1
42809 ;;
42810
42811 *-*-solaris2* )
42812 SONAME_FLAG="-h "
42813 USE_SOVERSION=1
42814 USE_SOVERSOLARIS=1
42815 USE_SOSYMLINKS=1
42816 ;;
42817
42818 *-*-darwin* )
42819 USE_MACVERSION=1
42820 USE_SOVERSION=1
42821 USE_SOSYMLINKS=1
42822 ;;
42823 esac
42824
42825
42826
42827
42828
42829
42830
42831
42832
42833 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
42834 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
42835 DEPS_TRACKING=0
42836
42837 if test "x$GCC" = "xyes"; then
42838 DEPSMODE=gcc
42839 DEPS_TRACKING=1
42840 case "${BAKEFILE_HOST}" in
42841 powerpc-*-darwin* )
42842 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
42843 ;;
42844 * )
42845 DEPSFLAG_GCC="-MMD"
42846 ;;
42847 esac
42848 echo "$as_me:$LINENO: result: gcc" >&5
42849 echo "${ECHO_T}gcc" >&6
42850 elif test "x$MWCC" = "xyes"; then
42851 DEPSMODE=mwcc
42852 DEPS_TRACKING=1
42853 DEPSFLAG_MWCC="-MM"
42854 echo "$as_me:$LINENO: result: mwcc" >&5
42855 echo "${ECHO_T}mwcc" >&6
42856 elif test "x$SUNCC" = "xyes"; then
42857 DEPSMODE=suncc
42858 DEPS_TRACKING=1
42859 DEPSFLAG_SUNCC="-xM1"
42860 echo "$as_me:$LINENO: result: suncc" >&5
42861 echo "${ECHO_T}suncc" >&6
42862 else
42863 echo "$as_me:$LINENO: result: none" >&5
42864 echo "${ECHO_T}none" >&6
42865 fi
42866
42867 if test $DEPS_TRACKING = 1 ; then
42868
42869 D='$'
42870 cat <<EOF >bk-deps
42871 #!/bin/sh
42872
42873 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
42874 # script. It is used to track C/C++ files dependencies in portable way.
42875 #
42876 # Permission is given to use this file in any way.
42877
42878 DEPSMODE=${DEPSMODE}
42879 DEPSDIR=.deps
42880 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
42881 DEPSFLAG_MWCC="${DEPSFLAG_MWCC}"
42882 DEPSFLAG_SUNCC="${DEPSFLAG_SUNCC}"
42883
42884 mkdir -p ${D}DEPSDIR
42885
42886 if test ${D}DEPSMODE = gcc ; then
42887 ${D}* ${D}{DEPSFLAG_GCC}
42888 status=${D}?
42889 if test ${D}{status} != 0 ; then
42890 exit ${D}{status}
42891 fi
42892 # move created file to the location we want it in:
42893 while test ${D}# -gt 0; do
42894 case "${D}1" in
42895 -o )
42896 shift
42897 objfile=${D}1
42898 ;;
42899 -* )
42900 ;;
42901 * )
42902 srcfile=${D}1
42903 ;;
42904 esac
42905 shift
42906 done
42907 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
42908 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
42909 if test -f ${D}depfile ; then
42910 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
42911 rm -f ${D}depfile
42912 else
42913 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
42914 if test -f ${D}depfile ; then
42915 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
42916 rm -f ${D}depfile
42917 fi
42918 fi
42919 exit 0
42920 elif test ${D}DEPSMODE = mwcc ; then
42921 ${D}*
42922 status=${D}?
42923 if test ${D}{status} != 0 ; then
42924 exit ${D}{status}
42925 fi
42926 # Run mwcc again with -MM and redirect into the dep file we want
42927 # NOTE: We can't use shift here because we need ${D}* to be valid
42928 prevarg=
42929 for arg in ${D}* ; do
42930 if test "${D}prevarg" = "-o"; then
42931 objfile=${D}arg
42932 else
42933 case "${D}arg" in
42934 -* )
42935 ;;
42936 * )
42937 srcfile=${D}arg
42938 ;;
42939 esac
42940 fi
42941 prevarg="${D}arg"
42942 done
42943 ${D}* ${D}DEPSFLAG_MWCC >${D}{DEPSDIR}/${D}{objfile}.d
42944 exit 0
42945 elif test ${D}DEPSMODE = suncc; then
42946 ${D}* || exit
42947 # Run compiler again with deps flag and redirect into the dep file.
42948 # It doesn't work if the '-o FILE' option is used, but without it the
42949 # dependency file will contain the wrong name for the object. So it is
42950 # removed from the command line, and the dep file is fixed with sed.
42951 cmd=""
42952 while test ${D}# -gt 0; do
42953 case "${D}1" in
42954 -o )
42955 shift
42956 objfile=${D}1
42957 ;;
42958 * )
42959 eval arg${D}#=\\${D}1
42960 cmd="${D}cmd \\${D}arg${D}#"
42961 ;;
42962 esac
42963 shift
42964 done
42965 eval "${D}cmd ${D}DEPSFLAG_SUNCC" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
42966 exit 0
42967 else
42968 ${D}*
42969 exit ${D}?
42970 fi
42971 EOF
42972
42973 chmod +x bk-deps
42974 fi
42975
42976
42977
42978
42979 RESCOMP=
42980 SETFILE=
42981
42982 case ${BAKEFILE_HOST} in
42983 *-*-cygwin* | *-*-mingw32* )
42984 if test "$build" != "$host" ; then
42985 RESCOMP=$host_alias-windres
42986 else
42987 # Extract the first word of "windres", so it can be a program name with args.
42988 set dummy windres; ac_word=$2
42989 echo "$as_me:$LINENO: checking for $ac_word" >&5
42990 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42991 if test "${ac_cv_prog_RESCOMP+set}" = set; then
42992 echo $ECHO_N "(cached) $ECHO_C" >&6
42993 else
42994 if test -n "$RESCOMP"; then
42995 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
42996 else
42997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42998 for as_dir in $PATH
42999 do
43000 IFS=$as_save_IFS
43001 test -z "$as_dir" && as_dir=.
43002 for ac_exec_ext in '' $ac_executable_extensions; do
43003 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43004 ac_cv_prog_RESCOMP="windres"
43005 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43006 break 2
43007 fi
43008 done
43009 done
43010
43011 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
43012 fi
43013 fi
43014 RESCOMP=$ac_cv_prog_RESCOMP
43015 if test -n "$RESCOMP"; then
43016 echo "$as_me:$LINENO: result: $RESCOMP" >&5
43017 echo "${ECHO_T}$RESCOMP" >&6
43018 else
43019 echo "$as_me:$LINENO: result: no" >&5
43020 echo "${ECHO_T}no" >&6
43021 fi
43022
43023 fi
43024 ;;
43025
43026 *-*-darwin* | powerpc-apple-macos* )
43027 # Extract the first word of "Rez", so it can be a program name with args.
43028 set dummy Rez; ac_word=$2
43029 echo "$as_me:$LINENO: checking for $ac_word" >&5
43030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43031 if test "${ac_cv_prog_RESCOMP+set}" = set; then
43032 echo $ECHO_N "(cached) $ECHO_C" >&6
43033 else
43034 if test -n "$RESCOMP"; then
43035 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
43036 else
43037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43038 for as_dir in $PATH
43039 do
43040 IFS=$as_save_IFS
43041 test -z "$as_dir" && as_dir=.
43042 for ac_exec_ext in '' $ac_executable_extensions; do
43043 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43044 ac_cv_prog_RESCOMP="Rez"
43045 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43046 break 2
43047 fi
43048 done
43049 done
43050
43051 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
43052 fi
43053 fi
43054 RESCOMP=$ac_cv_prog_RESCOMP
43055 if test -n "$RESCOMP"; then
43056 echo "$as_me:$LINENO: result: $RESCOMP" >&5
43057 echo "${ECHO_T}$RESCOMP" >&6
43058 else
43059 echo "$as_me:$LINENO: result: no" >&5
43060 echo "${ECHO_T}no" >&6
43061 fi
43062
43063 # Extract the first word of "SetFile", so it can be a program name with args.
43064 set dummy SetFile; ac_word=$2
43065 echo "$as_me:$LINENO: checking for $ac_word" >&5
43066 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43067 if test "${ac_cv_prog_SETFILE+set}" = set; then
43068 echo $ECHO_N "(cached) $ECHO_C" >&6
43069 else
43070 if test -n "$SETFILE"; then
43071 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
43072 else
43073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43074 for as_dir in $PATH
43075 do
43076 IFS=$as_save_IFS
43077 test -z "$as_dir" && as_dir=.
43078 for ac_exec_ext in '' $ac_executable_extensions; do
43079 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43080 ac_cv_prog_SETFILE="SetFile"
43081 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43082 break 2
43083 fi
43084 done
43085 done
43086
43087 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
43088 fi
43089 fi
43090 SETFILE=$ac_cv_prog_SETFILE
43091 if test -n "$SETFILE"; then
43092 echo "$as_me:$LINENO: result: $SETFILE" >&5
43093 echo "${ECHO_T}$SETFILE" >&6
43094 else
43095 echo "$as_me:$LINENO: result: no" >&5
43096 echo "${ECHO_T}no" >&6
43097 fi
43098
43099 ;;
43100 esac
43101
43102
43103
43104
43105
43106 BAKEFILE_BAKEFILE_M4_VERSION="0.1.8"
43107
43108
43109 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.1.8"
43110
43111
43112
43113 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
43114 if test "${enable_precomp_headers+set}" = set; then
43115 enableval="$enable_precomp_headers"
43116 bk_use_pch="$enableval"
43117 fi;
43118
43119 GCC_PCH=0
43120
43121 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
43122 if test "x$GCC" = "xyes"; then
43123 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
43124 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
43125 cat >conftest.$ac_ext <<_ACEOF
43126 /* confdefs.h. */
43127 _ACEOF
43128 cat confdefs.h >>conftest.$ac_ext
43129 cat >>conftest.$ac_ext <<_ACEOF
43130 /* end confdefs.h. */
43131
43132 int
43133 main ()
43134 {
43135
43136 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
43137 #error "no pch support"
43138 #endif
43139 #if (__GNUC__ < 3)
43140 #error "no pch support"
43141 #endif
43142 #if (__GNUC__ == 3) && \
43143 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
43144 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
43145 #error "no pch support"
43146 #endif
43147
43148 ;
43149 return 0;
43150 }
43151 _ACEOF
43152 rm -f conftest.$ac_objext
43153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43154 (eval $ac_compile) 2>conftest.er1
43155 ac_status=$?
43156 grep -v '^ *+' conftest.er1 >conftest.err
43157 rm -f conftest.er1
43158 cat conftest.err >&5
43159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43160 (exit $ac_status); } &&
43161 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43163 (eval $ac_try) 2>&5
43164 ac_status=$?
43165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43166 (exit $ac_status); }; } &&
43167 { ac_try='test -s conftest.$ac_objext'
43168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43169 (eval $ac_try) 2>&5
43170 ac_status=$?
43171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43172 (exit $ac_status); }; }; then
43173
43174 echo "$as_me:$LINENO: result: yes" >&5
43175 echo "${ECHO_T}yes" >&6
43176 GCC_PCH=1
43177
43178 else
43179 echo "$as_me: failed program was:" >&5
43180 sed 's/^/| /' conftest.$ac_ext >&5
43181
43182
43183 echo "$as_me:$LINENO: result: no" >&5
43184 echo "${ECHO_T}no" >&6
43185
43186 fi
43187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43188 if test $GCC_PCH = 1 ; then
43189
43190 D='$'
43191 cat <<EOF >bk-make-pch
43192 #!/bin/sh
43193
43194 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
43195 # script. It is used to generated precompiled headers.
43196 #
43197 # Permission is given to use this file in any way.
43198
43199 outfile="${D}{1}"
43200 header="${D}{2}"
43201 shift
43202 shift
43203
43204 compiler=
43205 headerfile=
43206 while test ${D}{#} -gt 0; do
43207 case "${D}{1}" in
43208 -I* )
43209 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
43210 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
43211 headerfile="${D}{incdir}/${D}{header}"
43212 fi
43213 ;;
43214 esac
43215 compiler="${D}{compiler} ${D}{1}"
43216 shift
43217 done
43218
43219 if test "x${D}{headerfile}" = "x" ; then
43220 echo "error: can't find header ${D}{header} in include paths" >2
43221 else
43222 if test -f ${D}{outfile} ; then
43223 rm -f ${D}{outfile}
43224 else
43225 mkdir -p \`dirname ${D}{outfile}\`
43226 fi
43227 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
43228 mkdir -p .deps
43229 # can do this because gcc is >= 3.4:
43230 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
43231 exit ${D}{?}
43232 fi
43233 EOF
43234
43235 chmod +x bk-make-pch
43236 fi
43237 fi
43238 fi
43239
43240
43241
43242 COND_BUILD_DEBUG="#"
43243 if test "x$BUILD" = "xdebug" ; then
43244 COND_BUILD_DEBUG=""
43245 fi
43246
43247 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
43248 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
43249 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
43250 fi
43251
43252 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
43253 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
43254 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
43255 fi
43256
43257 COND_BUILD_DEBUG_UNICODE_0="#"
43258 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
43259 COND_BUILD_DEBUG_UNICODE_0=""
43260 fi
43261
43262 COND_BUILD_DEBUG_UNICODE_1="#"
43263 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
43264 COND_BUILD_DEBUG_UNICODE_1=""
43265 fi
43266
43267 COND_BUILD_RELEASE="#"
43268 if test "x$BUILD" = "xrelease" ; then
43269 COND_BUILD_RELEASE=""
43270 fi
43271
43272 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
43273 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
43274 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
43275 fi
43276
43277 COND_BUILD_RELEASE_UNICODE_0="#"
43278 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
43279 COND_BUILD_RELEASE_UNICODE_0=""
43280 fi
43281
43282 COND_BUILD_RELEASE_UNICODE_1="#"
43283 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
43284 COND_BUILD_RELEASE_UNICODE_1=""
43285 fi
43286
43287 COND_DEBUG_FLAG_1="#"
43288 if test "x$DEBUG_FLAG" = "x1" ; then
43289 COND_DEBUG_FLAG_1=""
43290 fi
43291
43292 COND_DEBUG_INFO_0="#"
43293 if test "x$DEBUG_INFO" = "x0" ; then
43294 COND_DEBUG_INFO_0=""
43295 fi
43296
43297 COND_DEBUG_INFO_1="#"
43298 if test "x$DEBUG_INFO" = "x1" ; then
43299 COND_DEBUG_INFO_1=""
43300 fi
43301
43302 COND_DEPS_TRACKING_0="#"
43303 if test "x$DEPS_TRACKING" = "x0" ; then
43304 COND_DEPS_TRACKING_0=""
43305 fi
43306
43307 COND_DEPS_TRACKING_1="#"
43308 if test "x$DEPS_TRACKING" = "x1" ; then
43309 COND_DEPS_TRACKING_1=""
43310 fi
43311
43312 COND_GCC_PCH_1="#"
43313 if test "x$GCC_PCH" = "x1" ; then
43314 COND_GCC_PCH_1=""
43315 fi
43316
43317 COND_MONOLITHIC_0="#"
43318 if test "x$MONOLITHIC" = "x0" ; then
43319 COND_MONOLITHIC_0=""
43320 fi
43321
43322 COND_MONOLITHIC_0_SHARED_0="#"
43323 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
43324 COND_MONOLITHIC_0_SHARED_0=""
43325 fi
43326
43327 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
43328 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
43329 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
43330 fi
43331
43332 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
43333 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
43334 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
43335 fi
43336
43337 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
43338 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
43339 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
43340 fi
43341
43342 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
43343 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
43344 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
43345 fi
43346
43347 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
43348 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
43349 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
43350 fi
43351
43352 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
43353 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
43354 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
43355 fi
43356
43357 COND_MONOLITHIC_0_SHARED_1="#"
43358 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
43359 COND_MONOLITHIC_0_SHARED_1=""
43360 fi
43361
43362 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
43363 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
43364 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
43365 fi
43366
43367 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
43368 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
43369 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
43370 fi
43371
43372 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
43373 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
43374 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
43375 fi
43376
43377 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
43378 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
43379 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
43380 fi
43381
43382 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
43383 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
43384 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
43385 fi
43386
43387 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
43388 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
43389 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
43390 fi
43391
43392 COND_MONOLITHIC_0_USE_ODBC_1="#"
43393 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
43394 COND_MONOLITHIC_0_USE_ODBC_1=""
43395 fi
43396
43397 COND_MONOLITHIC_1="#"
43398 if test "x$MONOLITHIC" = "x1" ; then
43399 COND_MONOLITHIC_1=""
43400 fi
43401
43402 COND_MONOLITHIC_1_SHARED_0="#"
43403 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
43404 COND_MONOLITHIC_1_SHARED_0=""
43405 fi
43406
43407 COND_MONOLITHIC_1_SHARED_1="#"
43408 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
43409 COND_MONOLITHIC_1_SHARED_1=""
43410 fi
43411
43412 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
43413 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
43414 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
43415 fi
43416
43417 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
43418 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
43419 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
43420 fi
43421
43422 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
43423 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
43424 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
43425 fi
43426
43427 COND_PLATFORM_MACOSX_1="#"
43428 if test "x$PLATFORM_MACOSX" = "x1" ; then
43429 COND_PLATFORM_MACOSX_1=""
43430 fi
43431
43432 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
43433 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
43434 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
43435 fi
43436
43437 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
43438 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
43439 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
43440 fi
43441
43442 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
43443 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
43444 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
43445 fi
43446
43447 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
43448 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
43449 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
43450 fi
43451
43452 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
43453 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
43454 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
43455 fi
43456
43457 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
43458 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43459 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
43460 fi
43461
43462 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
43463 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
43464 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
43465 fi
43466
43467 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
43468 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
43469 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
43470 fi
43471
43472 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
43473 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
43474 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
43475 fi
43476
43477 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
43478 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
43479 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
43480 fi
43481
43482 COND_PLATFORM_MACOS_1="#"
43483 if test "x$PLATFORM_MACOS" = "x1" ; then
43484 COND_PLATFORM_MACOS_1=""
43485 fi
43486
43487 COND_PLATFORM_MAC_1="#"
43488 if test "x$PLATFORM_MAC" = "x1" ; then
43489 COND_PLATFORM_MAC_1=""
43490 fi
43491
43492 COND_PLATFORM_MSDOS_1="#"
43493 if test "x$PLATFORM_MSDOS" = "x1" ; then
43494 COND_PLATFORM_MSDOS_1=""
43495 fi
43496
43497 COND_PLATFORM_OS2_1="#"
43498 if test "x$PLATFORM_OS2" = "x1" ; then
43499 COND_PLATFORM_OS2_1=""
43500 fi
43501
43502 COND_PLATFORM_UNIX_0="#"
43503 if test "x$PLATFORM_UNIX" = "x0" ; then
43504 COND_PLATFORM_UNIX_0=""
43505 fi
43506
43507 COND_PLATFORM_UNIX_1="#"
43508 if test "x$PLATFORM_UNIX" = "x1" ; then
43509 COND_PLATFORM_UNIX_1=""
43510 fi
43511
43512 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
43513 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
43514 COND_PLATFORM_UNIX_1_USE_GUI_1=""
43515 fi
43516
43517 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
43518 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
43519 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
43520 fi
43521
43522 COND_PLATFORM_WIN32_0="#"
43523 if test "x$PLATFORM_WIN32" = "x0" ; then
43524 COND_PLATFORM_WIN32_0=""
43525 fi
43526
43527 COND_PLATFORM_WIN32_1="#"
43528 if test "x$PLATFORM_WIN32" = "x1" ; then
43529 COND_PLATFORM_WIN32_1=""
43530 fi
43531
43532 COND_SHARED_0="#"
43533 if test "x$SHARED" = "x0" ; then
43534 COND_SHARED_0=""
43535 fi
43536
43537 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
43538 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
43539 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
43540 fi
43541
43542 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
43543 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
43544 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
43545 fi
43546
43547 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
43548 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
43549 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
43550 fi
43551
43552 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
43553 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
43554 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
43555 fi
43556
43557 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
43558 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
43559 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
43560 fi
43561
43562 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
43563 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
43564 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
43565 fi
43566
43567 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
43568 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
43569 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
43570 fi
43571
43572 COND_SHARED_0_USE_XRC_1="#"
43573 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
43574 COND_SHARED_0_USE_XRC_1=""
43575 fi
43576
43577 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
43578 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
43579 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
43580 fi
43581
43582 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
43583 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
43584 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
43585 fi
43586
43587 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
43588 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
43589 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
43590 fi
43591
43592 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
43593 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
43594 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
43595 fi
43596
43597 COND_SHARED_1="#"
43598 if test "x$SHARED" = "x1" ; then
43599 COND_SHARED_1=""
43600 fi
43601
43602 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
43603 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
43604 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
43605 fi
43606
43607 COND_SHARED_1_USE_XRC_1="#"
43608 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
43609 COND_SHARED_1_USE_XRC_1=""
43610 fi
43611
43612 COND_TOOLKIT_="#"
43613 if test "x$TOOLKIT" = "x" ; then
43614 COND_TOOLKIT_=""
43615 fi
43616
43617 COND_TOOLKIT_COCOA="#"
43618 if test "x$TOOLKIT" = "xCOCOA" ; then
43619 COND_TOOLKIT_COCOA=""
43620 fi
43621
43622 COND_TOOLKIT_COCOA_USE_GUI_1="#"
43623 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
43624 COND_TOOLKIT_COCOA_USE_GUI_1=""
43625 fi
43626
43627 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
43628 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43629 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
43630 fi
43631
43632 COND_TOOLKIT_GTK="#"
43633 if test "x$TOOLKIT" = "xGTK" ; then
43634 COND_TOOLKIT_GTK=""
43635 fi
43636
43637 COND_TOOLKIT_GTK_USE_GUI_1="#"
43638 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
43639 COND_TOOLKIT_GTK_USE_GUI_1=""
43640 fi
43641
43642 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
43643 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43644 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
43645 fi
43646
43647 COND_TOOLKIT_MAC="#"
43648 if test "x$TOOLKIT" = "xMAC" ; then
43649 COND_TOOLKIT_MAC=""
43650 fi
43651
43652 COND_TOOLKIT_MAC_USE_GUI_1="#"
43653 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
43654 COND_TOOLKIT_MAC_USE_GUI_1=""
43655 fi
43656
43657 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
43658 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43659 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
43660 fi
43661
43662 COND_TOOLKIT_MGL="#"
43663 if test "x$TOOLKIT" = "xMGL" ; then
43664 COND_TOOLKIT_MGL=""
43665 fi
43666
43667 COND_TOOLKIT_MGL_USE_GUI_1="#"
43668 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
43669 COND_TOOLKIT_MGL_USE_GUI_1=""
43670 fi
43671
43672 COND_TOOLKIT_MOTIF="#"
43673 if test "x$TOOLKIT" = "xMOTIF" ; then
43674 COND_TOOLKIT_MOTIF=""
43675 fi
43676
43677 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
43678 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
43679 COND_TOOLKIT_MOTIF_USE_GUI_1=""
43680 fi
43681
43682 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
43683 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43684 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
43685 fi
43686
43687 COND_TOOLKIT_MSW="#"
43688 if test "x$TOOLKIT" = "xMSW" ; then
43689 COND_TOOLKIT_MSW=""
43690 fi
43691
43692 COND_TOOLKIT_MSW_USE_GUI_1="#"
43693 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
43694 COND_TOOLKIT_MSW_USE_GUI_1=""
43695 fi
43696
43697 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
43698 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43699 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
43700 fi
43701
43702 COND_TOOLKIT_PM="#"
43703 if test "x$TOOLKIT" = "xPM" ; then
43704 COND_TOOLKIT_PM=""
43705 fi
43706
43707 COND_TOOLKIT_PM_USE_GUI_1="#"
43708 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
43709 COND_TOOLKIT_PM_USE_GUI_1=""
43710 fi
43711
43712 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
43713 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43714 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
43715 fi
43716
43717 COND_TOOLKIT_WINCE="#"
43718 if test "x$TOOLKIT" = "xWINCE" ; then
43719 COND_TOOLKIT_WINCE=""
43720 fi
43721
43722 COND_TOOLKIT_WINCE_USE_GUI_1="#"
43723 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
43724 COND_TOOLKIT_WINCE_USE_GUI_1=""
43725 fi
43726
43727 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
43728 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43729 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
43730 fi
43731
43732 COND_TOOLKIT_X11="#"
43733 if test "x$TOOLKIT" = "xX11" ; then
43734 COND_TOOLKIT_X11=""
43735 fi
43736
43737 COND_TOOLKIT_X11_USE_GUI_1="#"
43738 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
43739 COND_TOOLKIT_X11_USE_GUI_1=""
43740 fi
43741
43742 COND_UNICODE_1="#"
43743 if test "x$UNICODE" = "x1" ; then
43744 COND_UNICODE_1=""
43745 fi
43746
43747 COND_USE_EXCEPTIONS_0="#"
43748 if test "x$USE_EXCEPTIONS" = "x0" ; then
43749 COND_USE_EXCEPTIONS_0=""
43750 fi
43751
43752 COND_USE_EXCEPTIONS_1="#"
43753 if test "x$USE_EXCEPTIONS" = "x1" ; then
43754 COND_USE_EXCEPTIONS_1=""
43755 fi
43756
43757 COND_USE_GUI_0="#"
43758 if test "x$USE_GUI" = "x0" ; then
43759 COND_USE_GUI_0=""
43760 fi
43761
43762 COND_USE_GUI_1="#"
43763 if test "x$USE_GUI" = "x1" ; then
43764 COND_USE_GUI_1=""
43765 fi
43766
43767 COND_USE_GUI_1_WXUNIV_0="#"
43768 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43769 COND_USE_GUI_1_WXUNIV_0=""
43770 fi
43771
43772 COND_USE_GUI_1_WXUNIV_1="#"
43773 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
43774 COND_USE_GUI_1_WXUNIV_1=""
43775 fi
43776
43777 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
43778 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
43779 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
43780 fi
43781
43782 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
43783 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
43784 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
43785 fi
43786
43787 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
43788 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
43789 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
43790 fi
43791
43792 COND_USE_ODBC_1="#"
43793 if test "x$USE_ODBC" = "x1" ; then
43794 COND_USE_ODBC_1=""
43795 fi
43796
43797 COND_USE_OPENGL_1="#"
43798 if test "x$USE_OPENGL" = "x1" ; then
43799 COND_USE_OPENGL_1=""
43800 fi
43801
43802 COND_USE_PLUGINS_0="#"
43803 if test "x$USE_PLUGINS" = "x0" ; then
43804 COND_USE_PLUGINS_0=""
43805 fi
43806
43807 COND_USE_RTTI_0="#"
43808 if test "x$USE_RTTI" = "x0" ; then
43809 COND_USE_RTTI_0=""
43810 fi
43811
43812 COND_USE_RTTI_1="#"
43813 if test "x$USE_RTTI" = "x1" ; then
43814 COND_USE_RTTI_1=""
43815 fi
43816
43817 COND_USE_SOSYMLINKS_1="#"
43818 if test "x$USE_SOSYMLINKS" = "x1" ; then
43819 COND_USE_SOSYMLINKS_1=""
43820 fi
43821
43822 COND_USE_SOVERLINUX_1="#"
43823 if test "x$USE_SOVERLINUX" = "x1" ; then
43824 COND_USE_SOVERLINUX_1=""
43825 fi
43826
43827 COND_USE_SOVERSION_0="#"
43828 if test "x$USE_SOVERSION" = "x0" ; then
43829 COND_USE_SOVERSION_0=""
43830 fi
43831
43832 COND_USE_SOVERSOLARIS_1="#"
43833 if test "x$USE_SOVERSOLARIS" = "x1" ; then
43834 COND_USE_SOVERSOLARIS_1=""
43835 fi
43836
43837 COND_USE_THREADS_0="#"
43838 if test "x$USE_THREADS" = "x0" ; then
43839 COND_USE_THREADS_0=""
43840 fi
43841
43842 COND_USE_THREADS_1="#"
43843 if test "x$USE_THREADS" = "x1" ; then
43844 COND_USE_THREADS_1=""
43845 fi
43846
43847 COND_USE_XRC_1="#"
43848 if test "x$USE_XRC" = "x1" ; then
43849 COND_USE_XRC_1=""
43850 fi
43851
43852 COND_WITH_PLUGIN_SDL_1="#"
43853 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
43854 COND_WITH_PLUGIN_SDL_1=""
43855 fi
43856
43857 COND_WXUNIV_0="#"
43858 if test "x$WXUNIV" = "x0" ; then
43859 COND_WXUNIV_0=""
43860 fi
43861
43862 COND_WXUNIV_1="#"
43863 if test "x$WXUNIV" = "x1" ; then
43864 COND_WXUNIV_1=""
43865 fi
43866
43867 COND_WXUSE_EXPAT_BUILTIN="#"
43868 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
43869 COND_WXUSE_EXPAT_BUILTIN=""
43870 fi
43871
43872 COND_WXUSE_LIBJPEG_BUILTIN="#"
43873 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
43874 COND_WXUSE_LIBJPEG_BUILTIN=""
43875 fi
43876
43877 COND_WXUSE_LIBPNG_BUILTIN="#"
43878 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
43879 COND_WXUSE_LIBPNG_BUILTIN=""
43880 fi
43881
43882 COND_WXUSE_LIBTIFF_BUILTIN="#"
43883 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
43884 COND_WXUSE_LIBTIFF_BUILTIN=""
43885 fi
43886
43887 COND_WXUSE_ODBC_BUILTIN="#"
43888 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
43889 COND_WXUSE_ODBC_BUILTIN=""
43890 fi
43891
43892 COND_WXUSE_REGEX_BUILTIN="#"
43893 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
43894 COND_WXUSE_REGEX_BUILTIN=""
43895 fi
43896
43897 COND_WXUSE_ZLIB_BUILTIN="#"
43898 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
43899 COND_WXUSE_ZLIB_BUILTIN=""
43900 fi
43901
43902
43903
43904 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
43905 { { 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
43906 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;}
43907 { (exit 1); exit 1; }; }
43908 fi
43909
43910
43911 if test "$wxUSE_WINE" = "yes"; then
43912 RESCOMP=wrc
43913 fi
43914
43915 if test "$wxUSE_SHARED" = "yes"; then
43916
43917 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
43918 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
43919
43920 case "${host}" in
43921 *-pc-os2_emx | *-pc-os2-emx )
43922 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
43923 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
43924 cp -p ${srcdir}/src/os2/dllnames.sh .
43925 cp -p ${srcdir}/src/os2/dllar.sh .
43926 ;;
43927 esac
43928 else
43929
43930 EXE_LINKER="$CXX -o"
43931
43932 fi
43933 if test "$wxUSE_OMF" = "yes"; then
43934 case "${host}" in
43935 *-pc-os2_emx | *-pc-os2-emx )
43936 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
43937 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
43938 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
43939 ;;
43940 esac
43941 fi
43942
43943 if test $GCC_PCH = 1 ; then
43944 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
43945 fi
43946
43947 CPPFLAGS="-DNO_GCC_PRAGMA $CPPFLAGS"
43948
43949
43950 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
43951
43952
43953
43954
43955
43956
43957
43958
43959
43960
43961
43962
43963
43964
43965
43966
43967
43968
43969
43970
43971
43972
43973
43974
43975
43976
43977
43978
43979
43980
43981
43982
43983
43984
43985
43986
43987
43988
43989
43990
43991
43992
43993
43994
43995
43996
43997
43998
43999
44000
44001
44002
44003
44004
44005
44006
44007
44008
44009
44010
44011
44012
44013 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
44014 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
44015 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
44016 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
44017 echo $ECHO_N "(cached) $ECHO_C" >&6
44018 else
44019 cat >conftest.make <<\_ACEOF
44020 all:
44021 @echo 'ac_maketemp="$(MAKE)"'
44022 _ACEOF
44023 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
44024 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
44025 if test -n "$ac_maketemp"; then
44026 eval ac_cv_prog_make_${ac_make}_set=yes
44027 else
44028 eval ac_cv_prog_make_${ac_make}_set=no
44029 fi
44030 rm -f conftest.make
44031 fi
44032 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
44033 echo "$as_me:$LINENO: result: yes" >&5
44034 echo "${ECHO_T}yes" >&6
44035 SET_MAKE=
44036 else
44037 echo "$as_me:$LINENO: result: no" >&5
44038 echo "${ECHO_T}no" >&6
44039 SET_MAKE="MAKE=${MAKE-make}"
44040 fi
44041
44042
44043
44044 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
44045
44046
44047 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
44048
44049
44050 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
44051
44052
44053 ac_config_files="$ac_config_files version-script Makefile"
44054
44055
44056 ac_config_commands="$ac_config_commands wx-config
44057 "
44058
44059
44060
44061
44062 if test "$wxUSE_GUI" = "yes"; then
44063 SUBDIRS="samples demos utils contrib"
44064 else SUBDIRS="samples utils"
44065 fi
44066
44067
44068
44069 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
44070 if test "${with_cppunit_prefix+set}" = set; then
44071 withval="$with_cppunit_prefix"
44072 cppunit_config_prefix="$withval"
44073 else
44074 cppunit_config_prefix=""
44075 fi;
44076
44077 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
44078 if test "${with_cppunit_exec_prefix+set}" = set; then
44079 withval="$with_cppunit_exec_prefix"
44080 cppunit_config_exec_prefix="$withval"
44081 else
44082 cppunit_config_exec_prefix=""
44083 fi;
44084
44085 if test x$cppunit_config_exec_prefix != x ; then
44086 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
44087 if test x${CPPUNIT_CONFIG+set} != xset ; then
44088 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
44089 fi
44090 fi
44091 if test x$cppunit_config_prefix != x ; then
44092 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
44093 if test x${CPPUNIT_CONFIG+set} != xset ; then
44094 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
44095 fi
44096 fi
44097
44098 # Extract the first word of "cppunit-config", so it can be a program name with args.
44099 set dummy cppunit-config; ac_word=$2
44100 echo "$as_me:$LINENO: checking for $ac_word" >&5
44101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44102 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
44103 echo $ECHO_N "(cached) $ECHO_C" >&6
44104 else
44105 case $CPPUNIT_CONFIG in
44106 [\\/]* | ?:[\\/]*)
44107 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
44108 ;;
44109 *)
44110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44111 for as_dir in $PATH
44112 do
44113 IFS=$as_save_IFS
44114 test -z "$as_dir" && as_dir=.
44115 for ac_exec_ext in '' $ac_executable_extensions; do
44116 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44117 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44118 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44119 break 2
44120 fi
44121 done
44122 done
44123
44124 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
44125 ;;
44126 esac
44127 fi
44128 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
44129
44130 if test -n "$CPPUNIT_CONFIG"; then
44131 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
44132 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
44133 else
44134 echo "$as_me:$LINENO: result: no" >&5
44135 echo "${ECHO_T}no" >&6
44136 fi
44137
44138 cppunit_version_min=1.8.0
44139
44140 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
44141 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
44142 no_cppunit=""
44143 if test "$CPPUNIT_CONFIG" = "no" ; then
44144 no_cppunit=yes
44145 else
44146 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
44147 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
44148 cppunit_version=`$CPPUNIT_CONFIG --version`
44149
44150 cppunit_major_version=`echo $cppunit_version | \
44151 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44152 cppunit_minor_version=`echo $cppunit_version | \
44153 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44154 cppunit_micro_version=`echo $cppunit_version | \
44155 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44156
44157 cppunit_major_min=`echo $cppunit_version_min | \
44158 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44159 cppunit_minor_min=`echo $cppunit_version_min | \
44160 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44161 cppunit_micro_min=`echo $cppunit_version_min | \
44162 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44163
44164 cppunit_version_proper=`expr \
44165 $cppunit_major_version \> $cppunit_major_min \| \
44166 $cppunit_major_version \= $cppunit_major_min \& \
44167 $cppunit_minor_version \> $cppunit_minor_min \| \
44168 $cppunit_major_version \= $cppunit_major_min \& \
44169 $cppunit_minor_version \= $cppunit_minor_min \& \
44170 $cppunit_micro_version \>= $cppunit_micro_min `
44171
44172 if test "$cppunit_version_proper" = "1" ; then
44173 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
44174 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
44175 else
44176 echo "$as_me:$LINENO: result: no" >&5
44177 echo "${ECHO_T}no" >&6
44178 no_cppunit=yes
44179 fi
44180 fi
44181
44182 if test "x$no_cppunit" = x ; then
44183 SUBDIRS="$SUBDIRS tests"
44184 else
44185 CPPUNIT_CFLAGS=""
44186 CPPUNIT_LIBS=""
44187 :
44188 fi
44189
44190
44191
44192
44193
44194 for subdir in `echo $SUBDIRS`; do
44195 if test -d ${srcdir}/${subdir} ; then
44196 if test "$wxUSE_GUI" = "yes"; then
44197 if test ${subdir} = "samples"; then
44198 makefiles="samples/Makefile.in $makefiles"
44199 for sample in `echo $SAMPLES_SUBDIRS`; do
44200 if test -d $srcdir/samples/$sample; then
44201 makefiles="samples/$sample/Makefile.in $makefiles"
44202 fi
44203 done
44204 else
44205 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
44206 eval "disabled=\$$disabled_var"
44207 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
44208 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
44209 fi
44210 else if test ${subdir} = "samples"; then
44211 makefiles="samples/Makefile.in samples/console/Makefile.in"
44212 elif test ${subdir} = "utils"; then
44213 makefiles=""
44214 for util in HelpGen tex2rtf ; do
44215 if test -d $srcdir/utils/$util ; then
44216 makefiles="utils/$util/Makefile.in \
44217 utils/$util/src/Makefile.in \
44218 $makefiles"
44219 fi
44220 done
44221 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
44222 fi
44223 fi
44224
44225 for mkin in $makefiles ; do
44226 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
44227 ac_config_files="$ac_config_files $mk"
44228
44229 done
44230 fi
44231 done
44232
44233
44234 cat >confcache <<\_ACEOF
44235 # This file is a shell script that caches the results of configure
44236 # tests run on this system so they can be shared between configure
44237 # scripts and configure runs, see configure's option --config-cache.
44238 # It is not useful on other systems. If it contains results you don't
44239 # want to keep, you may remove or edit it.
44240 #
44241 # config.status only pays attention to the cache file if you give it
44242 # the --recheck option to rerun configure.
44243 #
44244 # `ac_cv_env_foo' variables (set or unset) will be overridden when
44245 # loading this file, other *unset* `ac_cv_foo' will be assigned the
44246 # following values.
44247
44248 _ACEOF
44249
44250 # The following way of writing the cache mishandles newlines in values,
44251 # but we know of no workaround that is simple, portable, and efficient.
44252 # So, don't put newlines in cache variables' values.
44253 # Ultrix sh set writes to stderr and can't be redirected directly,
44254 # and sets the high bit in the cache file unless we assign to the vars.
44255 {
44256 (set) 2>&1 |
44257 case `(ac_space=' '; set | grep ac_space) 2>&1` in
44258 *ac_space=\ *)
44259 # `set' does not quote correctly, so add quotes (double-quote
44260 # substitution turns \\\\ into \\, and sed turns \\ into \).
44261 sed -n \
44262 "s/'/'\\\\''/g;
44263 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
44264 ;;
44265 *)
44266 # `set' quotes correctly as required by POSIX, so do not add quotes.
44267 sed -n \
44268 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
44269 ;;
44270 esac;
44271 } |
44272 sed '
44273 t clear
44274 : clear
44275 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
44276 t end
44277 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
44278 : end' >>confcache
44279 if diff $cache_file confcache >/dev/null 2>&1; then :; else
44280 if test -w $cache_file; then
44281 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
44282 cat confcache >$cache_file
44283 else
44284 echo "not updating unwritable cache $cache_file"
44285 fi
44286 fi
44287 rm -f confcache
44288
44289 test "x$prefix" = xNONE && prefix=$ac_default_prefix
44290 # Let make expand exec_prefix.
44291 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
44292
44293 # VPATH may cause trouble with some makes, so we remove $(srcdir),
44294 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
44295 # trailing colons and then remove the whole line if VPATH becomes empty
44296 # (actually we leave an empty line to preserve line numbers).
44297 if test "x$srcdir" = x.; then
44298 ac_vpsub='/^[ ]*VPATH[ ]*=/{
44299 s/:*\$(srcdir):*/:/;
44300 s/:*\${srcdir}:*/:/;
44301 s/:*@srcdir@:*/:/;
44302 s/^\([^=]*=[ ]*\):*/\1/;
44303 s/:*$//;
44304 s/^[^=]*=[ ]*$//;
44305 }'
44306 fi
44307
44308 DEFS=-DHAVE_CONFIG_H
44309
44310 ac_libobjs=
44311 ac_ltlibobjs=
44312 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
44313 # 1. Remove the extension, and $U if already installed.
44314 ac_i=`echo "$ac_i" |
44315 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
44316 # 2. Add them.
44317 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
44318 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
44319 done
44320 LIBOBJS=$ac_libobjs
44321
44322 LTLIBOBJS=$ac_ltlibobjs
44323
44324
44325
44326 : ${CONFIG_STATUS=./config.status}
44327 ac_clean_files_save=$ac_clean_files
44328 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
44329 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
44330 echo "$as_me: creating $CONFIG_STATUS" >&6;}
44331 cat >$CONFIG_STATUS <<_ACEOF
44332 #! $SHELL
44333 # Generated by $as_me.
44334 # Run this file to recreate the current configuration.
44335 # Compiler output produced by configure, useful for debugging
44336 # configure, is in config.log if it exists.
44337
44338 debug=false
44339 ac_cs_recheck=false
44340 ac_cs_silent=false
44341 SHELL=\${CONFIG_SHELL-$SHELL}
44342 _ACEOF
44343
44344 cat >>$CONFIG_STATUS <<\_ACEOF
44345 ## --------------------- ##
44346 ## M4sh Initialization. ##
44347 ## --------------------- ##
44348
44349 # Be Bourne compatible
44350 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
44351 emulate sh
44352 NULLCMD=:
44353 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
44354 # is contrary to our usage. Disable this feature.
44355 alias -g '${1+"$@"}'='"$@"'
44356 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
44357 set -o posix
44358 fi
44359 DUALCASE=1; export DUALCASE # for MKS sh
44360
44361 # Support unset when possible.
44362 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
44363 as_unset=unset
44364 else
44365 as_unset=false
44366 fi
44367
44368
44369 # Work around bugs in pre-3.0 UWIN ksh.
44370 $as_unset ENV MAIL MAILPATH
44371 PS1='$ '
44372 PS2='> '
44373 PS4='+ '
44374
44375 # NLS nuisances.
44376 for as_var in \
44377 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44378 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44379 LC_TELEPHONE LC_TIME
44380 do
44381 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
44382 eval $as_var=C; export $as_var
44383 else
44384 $as_unset $as_var
44385 fi
44386 done
44387
44388 # Required to use basename.
44389 if expr a : '\(a\)' >/dev/null 2>&1; then
44390 as_expr=expr
44391 else
44392 as_expr=false
44393 fi
44394
44395 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
44396 as_basename=basename
44397 else
44398 as_basename=false
44399 fi
44400
44401
44402 # Name of the executable.
44403 as_me=`$as_basename "$0" ||
44404 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
44405 X"$0" : 'X\(//\)$' \| \
44406 X"$0" : 'X\(/\)$' \| \
44407 . : '\(.\)' 2>/dev/null ||
44408 echo X/"$0" |
44409 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
44410 /^X\/\(\/\/\)$/{ s//\1/; q; }
44411 /^X\/\(\/\).*/{ s//\1/; q; }
44412 s/.*/./; q'`
44413
44414
44415 # PATH needs CR, and LINENO needs CR and PATH.
44416 # Avoid depending upon Character Ranges.
44417 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
44418 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
44419 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
44420 as_cr_digits='0123456789'
44421 as_cr_alnum=$as_cr_Letters$as_cr_digits
44422
44423 # The user is always right.
44424 if test "${PATH_SEPARATOR+set}" != set; then
44425 echo "#! /bin/sh" >conf$$.sh
44426 echo "exit 0" >>conf$$.sh
44427 chmod +x conf$$.sh
44428 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
44429 PATH_SEPARATOR=';'
44430 else
44431 PATH_SEPARATOR=:
44432 fi
44433 rm -f conf$$.sh
44434 fi
44435
44436
44437 as_lineno_1=$LINENO
44438 as_lineno_2=$LINENO
44439 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
44440 test "x$as_lineno_1" != "x$as_lineno_2" &&
44441 test "x$as_lineno_3" = "x$as_lineno_2" || {
44442 # Find who we are. Look in the path if we contain no path at all
44443 # relative or not.
44444 case $0 in
44445 *[\\/]* ) as_myself=$0 ;;
44446 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44447 for as_dir in $PATH
44448 do
44449 IFS=$as_save_IFS
44450 test -z "$as_dir" && as_dir=.
44451 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
44452 done
44453
44454 ;;
44455 esac
44456 # We did not find ourselves, most probably we were run as `sh COMMAND'
44457 # in which case we are not to be found in the path.
44458 if test "x$as_myself" = x; then
44459 as_myself=$0
44460 fi
44461 if test ! -f "$as_myself"; then
44462 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
44463 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
44464 { (exit 1); exit 1; }; }
44465 fi
44466 case $CONFIG_SHELL in
44467 '')
44468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44469 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
44470 do
44471 IFS=$as_save_IFS
44472 test -z "$as_dir" && as_dir=.
44473 for as_base in sh bash ksh sh5; do
44474 case $as_dir in
44475 /*)
44476 if ("$as_dir/$as_base" -c '
44477 as_lineno_1=$LINENO
44478 as_lineno_2=$LINENO
44479 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
44480 test "x$as_lineno_1" != "x$as_lineno_2" &&
44481 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
44482 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
44483 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
44484 CONFIG_SHELL=$as_dir/$as_base
44485 export CONFIG_SHELL
44486 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
44487 fi;;
44488 esac
44489 done
44490 done
44491 ;;
44492 esac
44493
44494 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
44495 # uniformly replaced by the line number. The first 'sed' inserts a
44496 # line-number line before each line; the second 'sed' does the real
44497 # work. The second script uses 'N' to pair each line-number line
44498 # with the numbered line, and appends trailing '-' during
44499 # substitution so that $LINENO is not a special case at line end.
44500 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
44501 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
44502 sed '=' <$as_myself |
44503 sed '
44504 N
44505 s,$,-,
44506 : loop
44507 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
44508 t loop
44509 s,-$,,
44510 s,^['$as_cr_digits']*\n,,
44511 ' >$as_me.lineno &&
44512 chmod +x $as_me.lineno ||
44513 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
44514 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
44515 { (exit 1); exit 1; }; }
44516
44517 # Don't try to exec as it changes $[0], causing all sort of problems
44518 # (the dirname of $[0] is not the place where we might find the
44519 # original and so on. Autoconf is especially sensible to this).
44520 . ./$as_me.lineno
44521 # Exit status is that of the last command.
44522 exit
44523 }
44524
44525
44526 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
44527 *c*,-n*) ECHO_N= ECHO_C='
44528 ' ECHO_T=' ' ;;
44529 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
44530 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
44531 esac
44532
44533 if expr a : '\(a\)' >/dev/null 2>&1; then
44534 as_expr=expr
44535 else
44536 as_expr=false
44537 fi
44538
44539 rm -f conf$$ conf$$.exe conf$$.file
44540 echo >conf$$.file
44541 if ln -s conf$$.file conf$$ 2>/dev/null; then
44542 # We could just check for DJGPP; but this test a) works b) is more generic
44543 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
44544 if test -f conf$$.exe; then
44545 # Don't use ln at all; we don't have any links
44546 as_ln_s='cp -p'
44547 else
44548 as_ln_s='ln -s'
44549 fi
44550 elif ln conf$$.file conf$$ 2>/dev/null; then
44551 as_ln_s=ln
44552 else
44553 as_ln_s='cp -p'
44554 fi
44555 rm -f conf$$ conf$$.exe conf$$.file
44556
44557 if mkdir -p . 2>/dev/null; then
44558 as_mkdir_p=:
44559 else
44560 test -d ./-p && rmdir ./-p
44561 as_mkdir_p=false
44562 fi
44563
44564 as_executable_p="test -f"
44565
44566 # Sed expression to map a string onto a valid CPP name.
44567 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
44568
44569 # Sed expression to map a string onto a valid variable name.
44570 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
44571
44572
44573 # IFS
44574 # We need space, tab and new line, in precisely that order.
44575 as_nl='
44576 '
44577 IFS=" $as_nl"
44578
44579 # CDPATH.
44580 $as_unset CDPATH
44581
44582 exec 6>&1
44583
44584 # Open the log real soon, to keep \$[0] and so on meaningful, and to
44585 # report actual input values of CONFIG_FILES etc. instead of their
44586 # values after options handling. Logging --version etc. is OK.
44587 exec 5>>config.log
44588 {
44589 echo
44590 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
44591 ## Running $as_me. ##
44592 _ASBOX
44593 } >&5
44594 cat >&5 <<_CSEOF
44595
44596 This file was extended by wxWidgets $as_me 2.6.1, which was
44597 generated by GNU Autoconf 2.59. Invocation command line was
44598
44599 CONFIG_FILES = $CONFIG_FILES
44600 CONFIG_HEADERS = $CONFIG_HEADERS
44601 CONFIG_LINKS = $CONFIG_LINKS
44602 CONFIG_COMMANDS = $CONFIG_COMMANDS
44603 $ $0 $@
44604
44605 _CSEOF
44606 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
44607 echo >&5
44608 _ACEOF
44609
44610 # Files that config.status was made for.
44611 if test -n "$ac_config_files"; then
44612 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
44613 fi
44614
44615 if test -n "$ac_config_headers"; then
44616 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
44617 fi
44618
44619 if test -n "$ac_config_links"; then
44620 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
44621 fi
44622
44623 if test -n "$ac_config_commands"; then
44624 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
44625 fi
44626
44627 cat >>$CONFIG_STATUS <<\_ACEOF
44628
44629 ac_cs_usage="\
44630 \`$as_me' instantiates files from templates according to the
44631 current configuration.
44632
44633 Usage: $0 [OPTIONS] [FILE]...
44634
44635 -h, --help print this help, then exit
44636 -V, --version print version number, then exit
44637 -q, --quiet do not print progress messages
44638 -d, --debug don't remove temporary files
44639 --recheck update $as_me by reconfiguring in the same conditions
44640 --file=FILE[:TEMPLATE]
44641 instantiate the configuration file FILE
44642 --header=FILE[:TEMPLATE]
44643 instantiate the configuration header FILE
44644
44645 Configuration files:
44646 $config_files
44647
44648 Configuration headers:
44649 $config_headers
44650
44651 Configuration commands:
44652 $config_commands
44653
44654 Report bugs to <bug-autoconf@gnu.org>."
44655 _ACEOF
44656
44657 cat >>$CONFIG_STATUS <<_ACEOF
44658 ac_cs_version="\\
44659 wxWidgets config.status 2.6.1
44660 configured by $0, generated by GNU Autoconf 2.59,
44661 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
44662
44663 Copyright (C) 2003 Free Software Foundation, Inc.
44664 This config.status script is free software; the Free Software Foundation
44665 gives unlimited permission to copy, distribute and modify it."
44666 srcdir=$srcdir
44667 INSTALL="$INSTALL"
44668 _ACEOF
44669
44670 cat >>$CONFIG_STATUS <<\_ACEOF
44671 # If no file are specified by the user, then we need to provide default
44672 # value. By we need to know if files were specified by the user.
44673 ac_need_defaults=:
44674 while test $# != 0
44675 do
44676 case $1 in
44677 --*=*)
44678 ac_option=`expr "x$1" : 'x\([^=]*\)='`
44679 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
44680 ac_shift=:
44681 ;;
44682 -*)
44683 ac_option=$1
44684 ac_optarg=$2
44685 ac_shift=shift
44686 ;;
44687 *) # This is not an option, so the user has probably given explicit
44688 # arguments.
44689 ac_option=$1
44690 ac_need_defaults=false;;
44691 esac
44692
44693 case $ac_option in
44694 # Handling of the options.
44695 _ACEOF
44696 cat >>$CONFIG_STATUS <<\_ACEOF
44697 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
44698 ac_cs_recheck=: ;;
44699 --version | --vers* | -V )
44700 echo "$ac_cs_version"; exit 0 ;;
44701 --he | --h)
44702 # Conflict between --help and --header
44703 { { echo "$as_me:$LINENO: error: ambiguous option: $1
44704 Try \`$0 --help' for more information." >&5
44705 echo "$as_me: error: ambiguous option: $1
44706 Try \`$0 --help' for more information." >&2;}
44707 { (exit 1); exit 1; }; };;
44708 --help | --hel | -h )
44709 echo "$ac_cs_usage"; exit 0 ;;
44710 --debug | --d* | -d )
44711 debug=: ;;
44712 --file | --fil | --fi | --f )
44713 $ac_shift
44714 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
44715 ac_need_defaults=false;;
44716 --header | --heade | --head | --hea )
44717 $ac_shift
44718 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
44719 ac_need_defaults=false;;
44720 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
44721 | -silent | --silent | --silen | --sile | --sil | --si | --s)
44722 ac_cs_silent=: ;;
44723
44724 # This is an error.
44725 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
44726 Try \`$0 --help' for more information." >&5
44727 echo "$as_me: error: unrecognized option: $1
44728 Try \`$0 --help' for more information." >&2;}
44729 { (exit 1); exit 1; }; } ;;
44730
44731 *) ac_config_targets="$ac_config_targets $1" ;;
44732
44733 esac
44734 shift
44735 done
44736
44737 ac_configure_extra_args=
44738
44739 if $ac_cs_silent; then
44740 exec 6>/dev/null
44741 ac_configure_extra_args="$ac_configure_extra_args --silent"
44742 fi
44743
44744 _ACEOF
44745 cat >>$CONFIG_STATUS <<_ACEOF
44746 if \$ac_cs_recheck; then
44747 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
44748 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
44749 fi
44750
44751 _ACEOF
44752
44753 cat >>$CONFIG_STATUS <<_ACEOF
44754 #
44755 # INIT-COMMANDS section.
44756 #
44757
44758 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
44759 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
44760 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
44761 LN_S="${LN_S}"
44762
44763
44764 _ACEOF
44765
44766
44767
44768 cat >>$CONFIG_STATUS <<\_ACEOF
44769 for ac_config_target in $ac_config_targets
44770 do
44771 case "$ac_config_target" in
44772 # Handling of arguments.
44773 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
44774 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
44775 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
44776 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
44777 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
44778 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
44779 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
44780 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
44781 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
44782 { (exit 1); exit 1; }; };;
44783 esac
44784 done
44785
44786 # If the user did not use the arguments to specify the items to instantiate,
44787 # then the envvar interface is used. Set only those that are not.
44788 # We use the long form for the default assignment because of an extremely
44789 # bizarre bug on SunOS 4.1.3.
44790 if $ac_need_defaults; then
44791 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
44792 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
44793 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
44794 fi
44795
44796 # Have a temporary directory for convenience. Make it in the build tree
44797 # simply because there is no reason to put it here, and in addition,
44798 # creating and moving files from /tmp can sometimes cause problems.
44799 # Create a temporary directory, and hook for its removal unless debugging.
44800 $debug ||
44801 {
44802 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
44803 trap '{ (exit 1); exit 1; }' 1 2 13 15
44804 }
44805
44806 # Create a (secure) tmp directory for tmp files.
44807
44808 {
44809 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
44810 test -n "$tmp" && test -d "$tmp"
44811 } ||
44812 {
44813 tmp=./confstat$$-$RANDOM
44814 (umask 077 && mkdir $tmp)
44815 } ||
44816 {
44817 echo "$me: cannot create a temporary directory in ." >&2
44818 { (exit 1); exit 1; }
44819 }
44820
44821 _ACEOF
44822
44823 cat >>$CONFIG_STATUS <<_ACEOF
44824
44825 #
44826 # CONFIG_FILES section.
44827 #
44828
44829 # No need to generate the scripts if there are no CONFIG_FILES.
44830 # This happens for instance when ./config.status config.h
44831 if test -n "\$CONFIG_FILES"; then
44832 # Protect against being on the right side of a sed subst in config.status.
44833 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
44834 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
44835 s,@SHELL@,$SHELL,;t t
44836 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
44837 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
44838 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
44839 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
44840 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
44841 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
44842 s,@exec_prefix@,$exec_prefix,;t t
44843 s,@prefix@,$prefix,;t t
44844 s,@program_transform_name@,$program_transform_name,;t t
44845 s,@bindir@,$bindir,;t t
44846 s,@sbindir@,$sbindir,;t t
44847 s,@libexecdir@,$libexecdir,;t t
44848 s,@datadir@,$datadir,;t t
44849 s,@sysconfdir@,$sysconfdir,;t t
44850 s,@sharedstatedir@,$sharedstatedir,;t t
44851 s,@localstatedir@,$localstatedir,;t t
44852 s,@libdir@,$libdir,;t t
44853 s,@includedir@,$includedir,;t t
44854 s,@oldincludedir@,$oldincludedir,;t t
44855 s,@infodir@,$infodir,;t t
44856 s,@mandir@,$mandir,;t t
44857 s,@build_alias@,$build_alias,;t t
44858 s,@host_alias@,$host_alias,;t t
44859 s,@target_alias@,$target_alias,;t t
44860 s,@DEFS@,$DEFS,;t t
44861 s,@ECHO_C@,$ECHO_C,;t t
44862 s,@ECHO_N@,$ECHO_N,;t t
44863 s,@ECHO_T@,$ECHO_T,;t t
44864 s,@LIBS@,$LIBS,;t t
44865 s,@build@,$build,;t t
44866 s,@build_cpu@,$build_cpu,;t t
44867 s,@build_vendor@,$build_vendor,;t t
44868 s,@build_os@,$build_os,;t t
44869 s,@host@,$host,;t t
44870 s,@host_cpu@,$host_cpu,;t t
44871 s,@host_vendor@,$host_vendor,;t t
44872 s,@host_os@,$host_os,;t t
44873 s,@target@,$target,;t t
44874 s,@target_cpu@,$target_cpu,;t t
44875 s,@target_vendor@,$target_vendor,;t t
44876 s,@target_os@,$target_os,;t t
44877 s,@CC@,$CC,;t t
44878 s,@CFLAGS@,$CFLAGS,;t t
44879 s,@LDFLAGS@,$LDFLAGS,;t t
44880 s,@CPPFLAGS@,$CPPFLAGS,;t t
44881 s,@ac_ct_CC@,$ac_ct_CC,;t t
44882 s,@EXEEXT@,$EXEEXT,;t t
44883 s,@OBJEXT@,$OBJEXT,;t t
44884 s,@CPP@,$CPP,;t t
44885 s,@EGREP@,$EGREP,;t t
44886 s,@CXX@,$CXX,;t t
44887 s,@CXXFLAGS@,$CXXFLAGS,;t t
44888 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
44889 s,@RANLIB@,$RANLIB,;t t
44890 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
44891 s,@AR@,$AR,;t t
44892 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
44893 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
44894 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
44895 s,@STRIP@,$STRIP,;t t
44896 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
44897 s,@LN_S@,$LN_S,;t t
44898 s,@CXXCPP@,$CXXCPP,;t t
44899 s,@subdirs@,$subdirs,;t t
44900 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
44901 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
44902 s,@GTK_LIBS@,$GTK_LIBS,;t t
44903 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
44904 s,@X_CFLAGS@,$X_CFLAGS,;t t
44905 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
44906 s,@X_LIBS@,$X_LIBS,;t t
44907 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
44908 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
44909 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
44910 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
44911 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
44912 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
44913 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
44914 s,@RESCOMP@,$RESCOMP,;t t
44915 s,@DEREZ@,$DEREZ,;t t
44916 s,@SETFILE@,$SETFILE,;t t
44917 s,@LIBICONV@,$LIBICONV,;t t
44918 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
44919 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
44920 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
44921 s,@SDL_LIBS@,$SDL_LIBS,;t t
44922 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
44923 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
44924 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
44925 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
44926 s,@GST_INSPECT@,$GST_INSPECT,;t t
44927 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
44928 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
44929 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
44930 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
44931 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
44932 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
44933 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
44934 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
44935 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
44936 s,@VENDOR@,$VENDOR,;t t
44937 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
44938 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
44939 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
44940 s,@WXUNIV@,$WXUNIV,;t t
44941 s,@MONOLITHIC@,$MONOLITHIC,;t t
44942 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
44943 s,@EXTRALIBS@,$EXTRALIBS,;t t
44944 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
44945 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
44946 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
44947 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
44948 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
44949 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
44950 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
44951 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
44952 s,@UNICODE@,$UNICODE,;t t
44953 s,@BUILD@,$BUILD,;t t
44954 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
44955 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
44956 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
44957 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
44958 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
44959 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
44960 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
44961 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
44962 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
44963 s,@SET_MAKE@,$SET_MAKE,;t t
44964 s,@MAKE_SET@,$MAKE_SET,;t t
44965 s,@ac_ct_AR@,$ac_ct_AR,;t t
44966 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
44967 s,@NM@,$NM,;t t
44968 s,@ac_ct_NM@,$ac_ct_NM,;t t
44969 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
44970 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
44971 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
44972 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
44973 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
44974 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
44975 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
44976 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
44977 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
44978 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
44979 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
44980 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
44981 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
44982 s,@LIBPREFIX@,$LIBPREFIX,;t t
44983 s,@LIBEXT@,$LIBEXT,;t t
44984 s,@DLLPREFIX@,$DLLPREFIX,;t t
44985 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
44986 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
44987 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
44988 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
44989 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
44990 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
44991 s,@PIC_FLAG@,$PIC_FLAG,;t t
44992 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
44993 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
44994 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
44995 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
44996 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
44997 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
44998 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
44999 s,@GCC_PCH@,$GCC_PCH,;t t
45000 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
45001 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
45002 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
45003 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
45004 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
45005 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
45006 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
45007 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
45008 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
45009 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
45010 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
45011 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
45012 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
45013 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
45014 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
45015 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
45016 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
45017 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
45018 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
45019 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
45020 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
45021 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
45022 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
45023 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
45024 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
45025 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
45026 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
45027 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
45028 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
45029 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
45030 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
45031 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
45032 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
45033 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
45034 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
45035 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
45036 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
45037 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
45038 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
45039 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
45040 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
45041 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
45042 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
45043 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
45044 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
45045 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
45046 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
45047 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
45048 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
45049 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
45050 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
45051 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
45052 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
45053 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
45054 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
45055 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
45056 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
45057 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
45058 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
45059 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
45060 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
45061 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
45062 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
45063 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
45064 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
45065 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
45066 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
45067 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
45068 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
45069 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
45070 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
45071 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
45072 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
45073 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
45074 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
45075 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
45076 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
45077 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
45078 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
45079 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
45080 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
45081 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
45082 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
45083 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
45084 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
45085 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
45086 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
45087 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
45088 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
45089 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
45090 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
45091 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
45092 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
45093 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
45094 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
45095 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
45096 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
45097 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
45098 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
45099 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
45100 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
45101 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
45102 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
45103 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
45104 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
45105 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
45106 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
45107 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
45108 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
45109 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
45110 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
45111 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
45112 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
45113 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
45114 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
45115 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
45116 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
45117 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
45118 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
45119 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
45120 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
45121 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
45122 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
45123 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
45124 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
45125 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
45126 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
45127 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
45128 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
45129 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
45130 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
45131 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
45132 s,@SHARED@,$SHARED,;t t
45133 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
45134 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
45135 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
45136 s,@USE_GUI@,$USE_GUI,;t t
45137 s,@AFMINSTALL@,$AFMINSTALL,;t t
45138 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
45139 s,@TOOLKIT@,$TOOLKIT,;t t
45140 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
45141 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
45142 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
45143 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
45144 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
45145 s,@cross_compiling@,$cross_compiling,;t t
45146 s,@WIDGET_SET@,$WIDGET_SET,;t t
45147 s,@WX_RELEASE@,$WX_RELEASE,;t t
45148 s,@WX_VERSION@,$WX_VERSION,;t t
45149 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
45150 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
45151 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
45152 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
45153 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
45154 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
45155 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
45156 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
45157 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
45158 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
45159 s,@EXE_LINKER@,$EXE_LINKER,;t t
45160 s,@GUIDIST@,$GUIDIST,;t t
45161 s,@DISTDIR@,$DISTDIR,;t t
45162 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
45163 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
45164 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
45165 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
45166 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
45167 s,@RESFLAGS@,$RESFLAGS,;t t
45168 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
45169 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
45170 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
45171 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
45172 s,@MACRESCOMP@,$MACRESCOMP,;t t
45173 s,@MACSETFILE@,$MACSETFILE,;t t
45174 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
45175 s,@GCC@,$GCC,;t t
45176 s,@DLLTOOL@,$DLLTOOL,;t t
45177 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
45178 s,@LIBOBJS@,$LIBOBJS,;t t
45179 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
45180 CEOF
45181
45182 _ACEOF
45183
45184 cat >>$CONFIG_STATUS <<\_ACEOF
45185 # Split the substitutions into bite-sized pieces for seds with
45186 # small command number limits, like on Digital OSF/1 and HP-UX.
45187 ac_max_sed_lines=48
45188 ac_sed_frag=1 # Number of current file.
45189 ac_beg=1 # First line for current file.
45190 ac_end=$ac_max_sed_lines # Line after last line for current file.
45191 ac_more_lines=:
45192 ac_sed_cmds=
45193 while $ac_more_lines; do
45194 if test $ac_beg -gt 1; then
45195 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
45196 else
45197 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
45198 fi
45199 if test ! -s $tmp/subs.frag; then
45200 ac_more_lines=false
45201 else
45202 # The purpose of the label and of the branching condition is to
45203 # speed up the sed processing (if there are no `@' at all, there
45204 # is no need to browse any of the substitutions).
45205 # These are the two extra sed commands mentioned above.
45206 (echo ':t
45207 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
45208 if test -z "$ac_sed_cmds"; then
45209 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
45210 else
45211 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
45212 fi
45213 ac_sed_frag=`expr $ac_sed_frag + 1`
45214 ac_beg=$ac_end
45215 ac_end=`expr $ac_end + $ac_max_sed_lines`
45216 fi
45217 done
45218 if test -z "$ac_sed_cmds"; then
45219 ac_sed_cmds=cat
45220 fi
45221 fi # test -n "$CONFIG_FILES"
45222
45223 _ACEOF
45224 cat >>$CONFIG_STATUS <<\_ACEOF
45225 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
45226 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
45227 case $ac_file in
45228 - | *:- | *:-:* ) # input from stdin
45229 cat >$tmp/stdin
45230 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
45231 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
45232 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
45233 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
45234 * ) ac_file_in=$ac_file.in ;;
45235 esac
45236
45237 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
45238 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
45239 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45240 X"$ac_file" : 'X\(//\)[^/]' \| \
45241 X"$ac_file" : 'X\(//\)$' \| \
45242 X"$ac_file" : 'X\(/\)' \| \
45243 . : '\(.\)' 2>/dev/null ||
45244 echo X"$ac_file" |
45245 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45246 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45247 /^X\(\/\/\)$/{ s//\1/; q; }
45248 /^X\(\/\).*/{ s//\1/; q; }
45249 s/.*/./; q'`
45250 { if $as_mkdir_p; then
45251 mkdir -p "$ac_dir"
45252 else
45253 as_dir="$ac_dir"
45254 as_dirs=
45255 while test ! -d "$as_dir"; do
45256 as_dirs="$as_dir $as_dirs"
45257 as_dir=`(dirname "$as_dir") 2>/dev/null ||
45258 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45259 X"$as_dir" : 'X\(//\)[^/]' \| \
45260 X"$as_dir" : 'X\(//\)$' \| \
45261 X"$as_dir" : 'X\(/\)' \| \
45262 . : '\(.\)' 2>/dev/null ||
45263 echo X"$as_dir" |
45264 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45265 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45266 /^X\(\/\/\)$/{ s//\1/; q; }
45267 /^X\(\/\).*/{ s//\1/; q; }
45268 s/.*/./; q'`
45269 done
45270 test ! -n "$as_dirs" || mkdir $as_dirs
45271 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45272 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45273 { (exit 1); exit 1; }; }; }
45274
45275 ac_builddir=.
45276
45277 if test "$ac_dir" != .; then
45278 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
45279 # A "../" for each directory in $ac_dir_suffix.
45280 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
45281 else
45282 ac_dir_suffix= ac_top_builddir=
45283 fi
45284
45285 case $srcdir in
45286 .) # No --srcdir option. We are building in place.
45287 ac_srcdir=.
45288 if test -z "$ac_top_builddir"; then
45289 ac_top_srcdir=.
45290 else
45291 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
45292 fi ;;
45293 [\\/]* | ?:[\\/]* ) # Absolute path.
45294 ac_srcdir=$srcdir$ac_dir_suffix;
45295 ac_top_srcdir=$srcdir ;;
45296 *) # Relative path.
45297 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
45298 ac_top_srcdir=$ac_top_builddir$srcdir ;;
45299 esac
45300
45301 # Do not use `cd foo && pwd` to compute absolute paths, because
45302 # the directories may not exist.
45303 case `pwd` in
45304 .) ac_abs_builddir="$ac_dir";;
45305 *)
45306 case "$ac_dir" in
45307 .) ac_abs_builddir=`pwd`;;
45308 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
45309 *) ac_abs_builddir=`pwd`/"$ac_dir";;
45310 esac;;
45311 esac
45312 case $ac_abs_builddir in
45313 .) ac_abs_top_builddir=${ac_top_builddir}.;;
45314 *)
45315 case ${ac_top_builddir}. in
45316 .) ac_abs_top_builddir=$ac_abs_builddir;;
45317 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
45318 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
45319 esac;;
45320 esac
45321 case $ac_abs_builddir in
45322 .) ac_abs_srcdir=$ac_srcdir;;
45323 *)
45324 case $ac_srcdir in
45325 .) ac_abs_srcdir=$ac_abs_builddir;;
45326 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
45327 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
45328 esac;;
45329 esac
45330 case $ac_abs_builddir in
45331 .) ac_abs_top_srcdir=$ac_top_srcdir;;
45332 *)
45333 case $ac_top_srcdir in
45334 .) ac_abs_top_srcdir=$ac_abs_builddir;;
45335 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
45336 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
45337 esac;;
45338 esac
45339
45340
45341 case $INSTALL in
45342 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
45343 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
45344 esac
45345
45346 # Let's still pretend it is `configure' which instantiates (i.e., don't
45347 # use $as_me), people would be surprised to read:
45348 # /* config.h. Generated by config.status. */
45349 if test x"$ac_file" = x-; then
45350 configure_input=
45351 else
45352 configure_input="$ac_file. "
45353 fi
45354 configure_input=$configure_input"Generated from `echo $ac_file_in |
45355 sed 's,.*/,,'` by configure."
45356
45357 # First look for the input files in the build tree, otherwise in the
45358 # src tree.
45359 ac_file_inputs=`IFS=:
45360 for f in $ac_file_in; do
45361 case $f in
45362 -) echo $tmp/stdin ;;
45363 [\\/$]*)
45364 # Absolute (can't be DOS-style, as IFS=:)
45365 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
45366 echo "$as_me: error: cannot find input file: $f" >&2;}
45367 { (exit 1); exit 1; }; }
45368 echo "$f";;
45369 *) # Relative
45370 if test -f "$f"; then
45371 # Build tree
45372 echo "$f"
45373 elif test -f "$srcdir/$f"; then
45374 # Source tree
45375 echo "$srcdir/$f"
45376 else
45377 # /dev/null tree
45378 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
45379 echo "$as_me: error: cannot find input file: $f" >&2;}
45380 { (exit 1); exit 1; }; }
45381 fi;;
45382 esac
45383 done` || { (exit 1); exit 1; }
45384
45385 if test x"$ac_file" != x-; then
45386 { echo "$as_me:$LINENO: creating $ac_file" >&5
45387 echo "$as_me: creating $ac_file" >&6;}
45388 rm -f "$ac_file"
45389 fi
45390 _ACEOF
45391 cat >>$CONFIG_STATUS <<_ACEOF
45392 sed "$ac_vpsub
45393 $extrasub
45394 _ACEOF
45395 cat >>$CONFIG_STATUS <<\_ACEOF
45396 :t
45397 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
45398 s,@configure_input@,$configure_input,;t t
45399 s,@srcdir@,$ac_srcdir,;t t
45400 s,@abs_srcdir@,$ac_abs_srcdir,;t t
45401 s,@top_srcdir@,$ac_top_srcdir,;t t
45402 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
45403 s,@builddir@,$ac_builddir,;t t
45404 s,@abs_builddir@,$ac_abs_builddir,;t t
45405 s,@top_builddir@,$ac_top_builddir,;t t
45406 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
45407 s,@INSTALL@,$ac_INSTALL,;t t
45408 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
45409 rm -f $tmp/stdin
45410 if test x"$ac_file" != x-; then
45411 mv $tmp/out $ac_file
45412 else
45413 cat $tmp/out
45414 rm -f $tmp/out
45415 fi
45416
45417 # Run the commands associated with the file.
45418 case $ac_file in
45419 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
45420 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
45421 esac
45422 done
45423 _ACEOF
45424 cat >>$CONFIG_STATUS <<\_ACEOF
45425
45426 #
45427 # CONFIG_HEADER section.
45428 #
45429
45430 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
45431 # NAME is the cpp macro being defined and VALUE is the value it is being given.
45432 #
45433 # ac_d sets the value in "#define NAME VALUE" lines.
45434 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
45435 ac_dB='[ ].*$,\1#\2'
45436 ac_dC=' '
45437 ac_dD=',;t'
45438 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
45439 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
45440 ac_uB='$,\1#\2define\3'
45441 ac_uC=' '
45442 ac_uD=',;t'
45443
45444 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
45445 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
45446 case $ac_file in
45447 - | *:- | *:-:* ) # input from stdin
45448 cat >$tmp/stdin
45449 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
45450 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
45451 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
45452 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
45453 * ) ac_file_in=$ac_file.in ;;
45454 esac
45455
45456 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
45457 echo "$as_me: creating $ac_file" >&6;}
45458
45459 # First look for the input files in the build tree, otherwise in the
45460 # src tree.
45461 ac_file_inputs=`IFS=:
45462 for f in $ac_file_in; do
45463 case $f in
45464 -) echo $tmp/stdin ;;
45465 [\\/$]*)
45466 # Absolute (can't be DOS-style, as IFS=:)
45467 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
45468 echo "$as_me: error: cannot find input file: $f" >&2;}
45469 { (exit 1); exit 1; }; }
45470 # Do quote $f, to prevent DOS paths from being IFS'd.
45471 echo "$f";;
45472 *) # Relative
45473 if test -f "$f"; then
45474 # Build tree
45475 echo "$f"
45476 elif test -f "$srcdir/$f"; then
45477 # Source tree
45478 echo "$srcdir/$f"
45479 else
45480 # /dev/null tree
45481 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
45482 echo "$as_me: error: cannot find input file: $f" >&2;}
45483 { (exit 1); exit 1; }; }
45484 fi;;
45485 esac
45486 done` || { (exit 1); exit 1; }
45487 # Remove the trailing spaces.
45488 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
45489
45490 _ACEOF
45491
45492 # Transform confdefs.h into two sed scripts, `conftest.defines' and
45493 # `conftest.undefs', that substitutes the proper values into
45494 # config.h.in to produce config.h. The first handles `#define'
45495 # templates, and the second `#undef' templates.
45496 # And first: Protect against being on the right side of a sed subst in
45497 # config.status. Protect against being in an unquoted here document
45498 # in config.status.
45499 rm -f conftest.defines conftest.undefs
45500 # Using a here document instead of a string reduces the quoting nightmare.
45501 # Putting comments in sed scripts is not portable.
45502 #
45503 # `end' is used to avoid that the second main sed command (meant for
45504 # 0-ary CPP macros) applies to n-ary macro definitions.
45505 # See the Autoconf documentation for `clear'.
45506 cat >confdef2sed.sed <<\_ACEOF
45507 s/[\\&,]/\\&/g
45508 s,[\\$`],\\&,g
45509 t clear
45510 : clear
45511 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
45512 t end
45513 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
45514 : end
45515 _ACEOF
45516 # If some macros were called several times there might be several times
45517 # the same #defines, which is useless. Nevertheless, we may not want to
45518 # sort them, since we want the *last* AC-DEFINE to be honored.
45519 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
45520 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
45521 rm -f confdef2sed.sed
45522
45523 # This sed command replaces #undef with comments. This is necessary, for
45524 # example, in the case of _POSIX_SOURCE, which is predefined and required
45525 # on some systems where configure will not decide to define it.
45526 cat >>conftest.undefs <<\_ACEOF
45527 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
45528 _ACEOF
45529
45530 # Break up conftest.defines because some shells have a limit on the size
45531 # of here documents, and old seds have small limits too (100 cmds).
45532 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
45533 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
45534 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
45535 echo ' :' >>$CONFIG_STATUS
45536 rm -f conftest.tail
45537 while grep . conftest.defines >/dev/null
45538 do
45539 # Write a limited-size here document to $tmp/defines.sed.
45540 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
45541 # Speed up: don't consider the non `#define' lines.
45542 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
45543 # Work around the forget-to-reset-the-flag bug.
45544 echo 't clr' >>$CONFIG_STATUS
45545 echo ': clr' >>$CONFIG_STATUS
45546 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
45547 echo 'CEOF
45548 sed -f $tmp/defines.sed $tmp/in >$tmp/out
45549 rm -f $tmp/in
45550 mv $tmp/out $tmp/in
45551 ' >>$CONFIG_STATUS
45552 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
45553 rm -f conftest.defines
45554 mv conftest.tail conftest.defines
45555 done
45556 rm -f conftest.defines
45557 echo ' fi # grep' >>$CONFIG_STATUS
45558 echo >>$CONFIG_STATUS
45559
45560 # Break up conftest.undefs because some shells have a limit on the size
45561 # of here documents, and old seds have small limits too (100 cmds).
45562 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
45563 rm -f conftest.tail
45564 while grep . conftest.undefs >/dev/null
45565 do
45566 # Write a limited-size here document to $tmp/undefs.sed.
45567 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
45568 # Speed up: don't consider the non `#undef'
45569 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
45570 # Work around the forget-to-reset-the-flag bug.
45571 echo 't clr' >>$CONFIG_STATUS
45572 echo ': clr' >>$CONFIG_STATUS
45573 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
45574 echo 'CEOF
45575 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
45576 rm -f $tmp/in
45577 mv $tmp/out $tmp/in
45578 ' >>$CONFIG_STATUS
45579 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
45580 rm -f conftest.undefs
45581 mv conftest.tail conftest.undefs
45582 done
45583 rm -f conftest.undefs
45584
45585 cat >>$CONFIG_STATUS <<\_ACEOF
45586 # Let's still pretend it is `configure' which instantiates (i.e., don't
45587 # use $as_me), people would be surprised to read:
45588 # /* config.h. Generated by config.status. */
45589 if test x"$ac_file" = x-; then
45590 echo "/* Generated by configure. */" >$tmp/config.h
45591 else
45592 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
45593 fi
45594 cat $tmp/in >>$tmp/config.h
45595 rm -f $tmp/in
45596 if test x"$ac_file" != x-; then
45597 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
45598 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
45599 echo "$as_me: $ac_file is unchanged" >&6;}
45600 else
45601 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
45602 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45603 X"$ac_file" : 'X\(//\)[^/]' \| \
45604 X"$ac_file" : 'X\(//\)$' \| \
45605 X"$ac_file" : 'X\(/\)' \| \
45606 . : '\(.\)' 2>/dev/null ||
45607 echo X"$ac_file" |
45608 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45609 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45610 /^X\(\/\/\)$/{ s//\1/; q; }
45611 /^X\(\/\).*/{ s//\1/; q; }
45612 s/.*/./; q'`
45613 { if $as_mkdir_p; then
45614 mkdir -p "$ac_dir"
45615 else
45616 as_dir="$ac_dir"
45617 as_dirs=
45618 while test ! -d "$as_dir"; do
45619 as_dirs="$as_dir $as_dirs"
45620 as_dir=`(dirname "$as_dir") 2>/dev/null ||
45621 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45622 X"$as_dir" : 'X\(//\)[^/]' \| \
45623 X"$as_dir" : 'X\(//\)$' \| \
45624 X"$as_dir" : 'X\(/\)' \| \
45625 . : '\(.\)' 2>/dev/null ||
45626 echo X"$as_dir" |
45627 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45628 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45629 /^X\(\/\/\)$/{ s//\1/; q; }
45630 /^X\(\/\).*/{ s//\1/; q; }
45631 s/.*/./; q'`
45632 done
45633 test ! -n "$as_dirs" || mkdir $as_dirs
45634 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45635 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45636 { (exit 1); exit 1; }; }; }
45637
45638 rm -f $ac_file
45639 mv $tmp/config.h $ac_file
45640 fi
45641 else
45642 cat $tmp/config.h
45643 rm -f $tmp/config.h
45644 fi
45645 done
45646 _ACEOF
45647 cat >>$CONFIG_STATUS <<\_ACEOF
45648
45649 #
45650 # CONFIG_COMMANDS section.
45651 #
45652 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
45653 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
45654 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
45655 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
45656 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45657 X"$ac_dest" : 'X\(//\)[^/]' \| \
45658 X"$ac_dest" : 'X\(//\)$' \| \
45659 X"$ac_dest" : 'X\(/\)' \| \
45660 . : '\(.\)' 2>/dev/null ||
45661 echo X"$ac_dest" |
45662 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45663 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45664 /^X\(\/\/\)$/{ s//\1/; q; }
45665 /^X\(\/\).*/{ s//\1/; q; }
45666 s/.*/./; q'`
45667 { if $as_mkdir_p; then
45668 mkdir -p "$ac_dir"
45669 else
45670 as_dir="$ac_dir"
45671 as_dirs=
45672 while test ! -d "$as_dir"; do
45673 as_dirs="$as_dir $as_dirs"
45674 as_dir=`(dirname "$as_dir") 2>/dev/null ||
45675 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45676 X"$as_dir" : 'X\(//\)[^/]' \| \
45677 X"$as_dir" : 'X\(//\)$' \| \
45678 X"$as_dir" : 'X\(/\)' \| \
45679 . : '\(.\)' 2>/dev/null ||
45680 echo X"$as_dir" |
45681 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45682 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45683 /^X\(\/\/\)$/{ s//\1/; q; }
45684 /^X\(\/\).*/{ s//\1/; q; }
45685 s/.*/./; q'`
45686 done
45687 test ! -n "$as_dirs" || mkdir $as_dirs
45688 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45689 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45690 { (exit 1); exit 1; }; }; }
45691
45692 ac_builddir=.
45693
45694 if test "$ac_dir" != .; then
45695 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
45696 # A "../" for each directory in $ac_dir_suffix.
45697 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
45698 else
45699 ac_dir_suffix= ac_top_builddir=
45700 fi
45701
45702 case $srcdir in
45703 .) # No --srcdir option. We are building in place.
45704 ac_srcdir=.
45705 if test -z "$ac_top_builddir"; then
45706 ac_top_srcdir=.
45707 else
45708 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
45709 fi ;;
45710 [\\/]* | ?:[\\/]* ) # Absolute path.
45711 ac_srcdir=$srcdir$ac_dir_suffix;
45712 ac_top_srcdir=$srcdir ;;
45713 *) # Relative path.
45714 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
45715 ac_top_srcdir=$ac_top_builddir$srcdir ;;
45716 esac
45717
45718 # Do not use `cd foo && pwd` to compute absolute paths, because
45719 # the directories may not exist.
45720 case `pwd` in
45721 .) ac_abs_builddir="$ac_dir";;
45722 *)
45723 case "$ac_dir" in
45724 .) ac_abs_builddir=`pwd`;;
45725 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
45726 *) ac_abs_builddir=`pwd`/"$ac_dir";;
45727 esac;;
45728 esac
45729 case $ac_abs_builddir in
45730 .) ac_abs_top_builddir=${ac_top_builddir}.;;
45731 *)
45732 case ${ac_top_builddir}. in
45733 .) ac_abs_top_builddir=$ac_abs_builddir;;
45734 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
45735 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
45736 esac;;
45737 esac
45738 case $ac_abs_builddir in
45739 .) ac_abs_srcdir=$ac_srcdir;;
45740 *)
45741 case $ac_srcdir in
45742 .) ac_abs_srcdir=$ac_abs_builddir;;
45743 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
45744 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
45745 esac;;
45746 esac
45747 case $ac_abs_builddir in
45748 .) ac_abs_top_srcdir=$ac_top_srcdir;;
45749 *)
45750 case $ac_top_srcdir in
45751 .) ac_abs_top_srcdir=$ac_abs_builddir;;
45752 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
45753 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
45754 esac;;
45755 esac
45756
45757
45758 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
45759 echo "$as_me: executing $ac_dest commands" >&6;}
45760 case $ac_dest in
45761 wx-config ) rm -f wx-config
45762 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
45763 ;;
45764 esac
45765 done
45766 _ACEOF
45767
45768 cat >>$CONFIG_STATUS <<\_ACEOF
45769
45770 { (exit 0); exit 0; }
45771 _ACEOF
45772 chmod +x $CONFIG_STATUS
45773 ac_clean_files=$ac_clean_files_save
45774
45775
45776 # configure is writing to config.log, and then calls config.status.
45777 # config.status does its own redirection, appending to config.log.
45778 # Unfortunately, on DOS this fails, as config.log is still kept open
45779 # by configure, so config.status won't be able to write to it; its
45780 # output is simply discarded. So we exec the FD to /dev/null,
45781 # effectively closing config.log, so it can be properly (re)opened and
45782 # appended to by config.status. When coming back to configure, we
45783 # need to make the FD available again.
45784 if test "$no_create" != yes; then
45785 ac_cs_success=:
45786 ac_config_status_args=
45787 test "$silent" = yes &&
45788 ac_config_status_args="$ac_config_status_args --quiet"
45789 exec 5>/dev/null
45790 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
45791 exec 5>>config.log
45792 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
45793 # would make configure fail if this is the last instruction.
45794 $ac_cs_success || { (exit 1); exit 1; }
45795 fi
45796
45797 #
45798 # CONFIG_SUBDIRS section.
45799 #
45800 if test "$no_recursion" != yes; then
45801
45802 # Remove --cache-file and --srcdir arguments so they do not pile up.
45803 ac_sub_configure_args=
45804 ac_prev=
45805 for ac_arg in $ac_configure_args; do
45806 if test -n "$ac_prev"; then
45807 ac_prev=
45808 continue
45809 fi
45810 case $ac_arg in
45811 -cache-file | --cache-file | --cache-fil | --cache-fi \
45812 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
45813 ac_prev=cache_file ;;
45814 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
45815 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
45816 | --c=*)
45817 ;;
45818 --config-cache | -C)
45819 ;;
45820 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
45821 ac_prev=srcdir ;;
45822 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
45823 ;;
45824 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
45825 ac_prev=prefix ;;
45826 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
45827 ;;
45828 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
45829 esac
45830 done
45831
45832 # Always prepend --prefix to ensure using the same prefix
45833 # in subdir configurations.
45834 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
45835
45836 ac_popdir=`pwd`
45837 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
45838
45839 # Do not complain, so a configure script can configure whichever
45840 # parts of a large source tree are present.
45841 test -d $srcdir/$ac_dir || continue
45842
45843 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
45844 echo "$as_me: configuring in $ac_dir" >&6;}
45845 { if $as_mkdir_p; then
45846 mkdir -p "$ac_dir"
45847 else
45848 as_dir="$ac_dir"
45849 as_dirs=
45850 while test ! -d "$as_dir"; do
45851 as_dirs="$as_dir $as_dirs"
45852 as_dir=`(dirname "$as_dir") 2>/dev/null ||
45853 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45854 X"$as_dir" : 'X\(//\)[^/]' \| \
45855 X"$as_dir" : 'X\(//\)$' \| \
45856 X"$as_dir" : 'X\(/\)' \| \
45857 . : '\(.\)' 2>/dev/null ||
45858 echo X"$as_dir" |
45859 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45860 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45861 /^X\(\/\/\)$/{ s//\1/; q; }
45862 /^X\(\/\).*/{ s//\1/; q; }
45863 s/.*/./; q'`
45864 done
45865 test ! -n "$as_dirs" || mkdir $as_dirs
45866 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45867 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45868 { (exit 1); exit 1; }; }; }
45869
45870 ac_builddir=.
45871
45872 if test "$ac_dir" != .; then
45873 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
45874 # A "../" for each directory in $ac_dir_suffix.
45875 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
45876 else
45877 ac_dir_suffix= ac_top_builddir=
45878 fi
45879
45880 case $srcdir in
45881 .) # No --srcdir option. We are building in place.
45882 ac_srcdir=.
45883 if test -z "$ac_top_builddir"; then
45884 ac_top_srcdir=.
45885 else
45886 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
45887 fi ;;
45888 [\\/]* | ?:[\\/]* ) # Absolute path.
45889 ac_srcdir=$srcdir$ac_dir_suffix;
45890 ac_top_srcdir=$srcdir ;;
45891 *) # Relative path.
45892 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
45893 ac_top_srcdir=$ac_top_builddir$srcdir ;;
45894 esac
45895
45896 # Do not use `cd foo && pwd` to compute absolute paths, because
45897 # the directories may not exist.
45898 case `pwd` in
45899 .) ac_abs_builddir="$ac_dir";;
45900 *)
45901 case "$ac_dir" in
45902 .) ac_abs_builddir=`pwd`;;
45903 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
45904 *) ac_abs_builddir=`pwd`/"$ac_dir";;
45905 esac;;
45906 esac
45907 case $ac_abs_builddir in
45908 .) ac_abs_top_builddir=${ac_top_builddir}.;;
45909 *)
45910 case ${ac_top_builddir}. in
45911 .) ac_abs_top_builddir=$ac_abs_builddir;;
45912 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
45913 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
45914 esac;;
45915 esac
45916 case $ac_abs_builddir in
45917 .) ac_abs_srcdir=$ac_srcdir;;
45918 *)
45919 case $ac_srcdir in
45920 .) ac_abs_srcdir=$ac_abs_builddir;;
45921 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
45922 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
45923 esac;;
45924 esac
45925 case $ac_abs_builddir in
45926 .) ac_abs_top_srcdir=$ac_top_srcdir;;
45927 *)
45928 case $ac_top_srcdir in
45929 .) ac_abs_top_srcdir=$ac_abs_builddir;;
45930 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
45931 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
45932 esac;;
45933 esac
45934
45935
45936 cd $ac_dir
45937
45938 # Check for guested configure; otherwise get Cygnus style configure.
45939 if test -f $ac_srcdir/configure.gnu; then
45940 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
45941 elif test -f $ac_srcdir/configure; then
45942 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
45943 elif test -f $ac_srcdir/configure.in; then
45944 ac_sub_configure=$ac_configure
45945 else
45946 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
45947 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
45948 ac_sub_configure=
45949 fi
45950
45951 # The recursion is here.
45952 if test -n "$ac_sub_configure"; then
45953 # Make the cache file name correct relative to the subdirectory.
45954 case $cache_file in
45955 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
45956 *) # Relative path.
45957 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
45958 esac
45959
45960 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
45961 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
45962 # The eval makes quoting arguments work.
45963 eval $ac_sub_configure $ac_sub_configure_args \
45964 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
45965 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
45966 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
45967 { (exit 1); exit 1; }; }
45968 fi
45969
45970 cd "$ac_popdir"
45971 done
45972 fi
45973
45974
45975 echo
45976 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
45977 echo ""
45978 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
45979 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
45980
45981 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
45982 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
45983 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
45984
45985 echo " What level of wxWidgets compatibility should be enabled?"
45986 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
45987 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
45988
45989 echo " Which libraries should wxWidgets use?"
45990 echo " jpeg ${wxUSE_LIBJPEG-none}"
45991 echo " png ${wxUSE_LIBPNG-none}"
45992 echo " regex ${wxUSE_REGEX}"
45993 echo " tiff ${wxUSE_LIBTIFF-none}"
45994 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
45995 echo " xpm ${wxUSE_LIBXPM-none}"
45996 fi
45997 echo " zlib ${wxUSE_ZLIB}"
45998 echo " odbc ${wxUSE_ODBC}"
45999 echo " expat ${wxUSE_EXPAT}"
46000 echo " libmspack ${wxUSE_LIBMSPACK}"
46001 echo " sdl ${wxUSE_LIBSDL}"
46002 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"
46003
46004 echo ""
46005